@angular/core 17.0.3 → 17.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/esm2022/src/application_init.mjs +2 -2
  2. package/esm2022/src/defer/instructions.mjs +3 -2
  3. package/esm2022/src/defer/utils.mjs +2 -2
  4. package/esm2022/src/image_performance_warning.mjs +14 -3
  5. package/esm2022/src/render3/features/host_directives_feature.mjs +20 -13
  6. package/esm2022/src/render3/instructions/change_detection.mjs +4 -5
  7. package/esm2022/src/render3/instructions/control_flow.mjs +9 -11
  8. package/esm2022/src/render3/util/view_utils.mjs +11 -12
  9. package/esm2022/src/version.mjs +1 -1
  10. package/esm2022/testing/src/logger.mjs +3 -3
  11. package/esm2022/testing/src/test_bed.mjs +3 -3
  12. package/esm2022/testing/src/test_bed_compiler.mjs +19 -10
  13. package/fesm2022/core.mjs +56 -41
  14. package/fesm2022/core.mjs.map +1 -1
  15. package/fesm2022/primitives/signals.mjs +1 -1
  16. package/fesm2022/rxjs-interop.mjs +1 -1
  17. package/fesm2022/testing.mjs +21 -12
  18. package/fesm2022/testing.mjs.map +1 -1
  19. package/index.d.ts +4 -7
  20. package/package.json +1 -1
  21. package/primitives/signals/index.d.ts +1 -1
  22. package/rxjs-interop/index.d.ts +1 -1
  23. package/schematics/migrations/block-template-entities/bundle.js +506 -364
  24. package/schematics/migrations/block-template-entities/bundle.js.map +4 -4
  25. package/schematics/migrations/compiler-options/bundle.js +13 -13
  26. package/schematics/migrations/transfer-state/bundle.js +13 -13
  27. package/schematics/ng-generate/control-flow-migration/bundle.js +855 -517
  28. package/schematics/ng-generate/control-flow-migration/bundle.js.map +4 -4
  29. package/schematics/ng-generate/control-flow-migration/schema.json +6 -0
  30. package/schematics/ng-generate/standalone-migration/bundle.js +818 -623
  31. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  32. package/testing/index.d.ts +1 -1
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
63
63
  });
64
64
  };
65
65
 
66
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
66
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
74
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
77
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
78
78
  var InvalidFileSystem = class {
79
79
  exists(path4) {
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
165
+ // bazel-out/darwin_arm64-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(path4) {
168
168
  return path4.replace(TS_DTS_JS_EXTENSION, "");
@@ -175,7 +175,7 @@ function getSourceFileOrError(program, fileName) {
175
175
  return sf;
176
176
  }
177
177
 
178
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
178
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
222
+ // bazel-out/darwin_arm64-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, path4) {
265
265
  return isLocalRelativePath(relative(base, path4));
266
266
  }
267
267
 
268
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
268
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler/src/selector.mjs
376
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler/src/core.mjs
684
+ // bazel-out/darwin_arm64-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/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
747
+ // bazel-out/darwin_arm64-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,
@@ -832,7 +832,7 @@ __export(output_ast_exports, {
832
832
  variable: () => variable
833
833
  });
834
834
 
835
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
835
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
836
836
  var textEncoder;
837
837
  function digest(message) {
838
838
  return message.id || computeDigest(message);
@@ -868,6 +868,9 @@ var _SerializerVisitor = class {
868
868
  visitIcuPlaceholder(ph, context) {
869
869
  return `<ph icu name="${ph.name}">${ph.value.visit(this)}</ph>`;
870
870
  }
871
+ visitBlockPlaceholder(ph, context) {
872
+ return `<ph block name="${ph.startName}">${ph.children.map((child) => child.visit(this)).join(", ")}</ph name="${ph.closeName}">`;
873
+ }
871
874
  };
872
875
  var serializerVisitor = new _SerializerVisitor();
873
876
  function serializeNodes(nodes) {
@@ -1072,7 +1075,7 @@ function wordAt(bytes, index, endian) {
1072
1075
  return word;
1073
1076
  }
1074
1077
 
1075
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1078
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1076
1079
  var TypeModifier;
1077
1080
  (function(TypeModifier2) {
1078
1081
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -2263,7 +2266,7 @@ function serializeTags(tags) {
2263
2266
  return out;
2264
2267
  }
2265
2268
 
2266
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2269
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2267
2270
  var CONSTANT_PREFIX = "_c";
2268
2271
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
2269
2272
  var KEY_CONTEXT = {};
@@ -2446,7 +2449,7 @@ function isLongStringLiteral(expr) {
2446
2449
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
2447
2450
  }
2448
2451
 
2449
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2452
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2450
2453
  var CORE = "@angular/core";
2451
2454
  var _Identifiers = class {
2452
2455
  };
@@ -3079,7 +3082,7 @@ var Identifiers = _Identifiers;
3079
3082
  _Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
3080
3083
  })();
3081
3084
 
3082
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
3085
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
3083
3086
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
3084
3087
  function dashCaseToCamelCase(input) {
3085
3088
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -3167,7 +3170,7 @@ function partitionArray(arr, conditionFn) {
3167
3170
  return [truthy, falsy];
3168
3171
  }
3169
3172
 
3170
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3173
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3171
3174
  var VERSION = 3;
3172
3175
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
3173
3176
  var SourceMapGenerator = class {
@@ -3296,7 +3299,7 @@ function toBase64Digit(value) {
3296
3299
  return B64_DIGITS[value];
3297
3300
  }
3298
3301
 
3299
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3302
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3300
3303
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
3301
3304
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
3302
3305
  var _INDENT_WITH = " ";
@@ -3781,7 +3784,7 @@ function _createIndent(count) {
3781
3784
  return res;
3782
3785
  }
3783
3786
 
3784
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
3787
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
3785
3788
  function typeWithParameters(type, numParams) {
3786
3789
  if (numParams === 0) {
3787
3790
  return expressionType(type);
@@ -3849,7 +3852,7 @@ function generateForwardRef(expr) {
3849
3852
  return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
3850
3853
  }
3851
3854
 
3852
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3855
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3853
3856
  var R3FactoryDelegateType;
3854
3857
  (function(R3FactoryDelegateType2) {
3855
3858
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -3994,7 +3997,7 @@ function getInjectFn(target) {
3994
3997
  }
3995
3998
  }
3996
3999
 
3997
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
4000
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3998
4001
  var Comment = class {
3999
4002
  constructor(value, sourceSpan) {
4000
4003
  this.value = value;
@@ -4152,43 +4155,47 @@ var BlockNode = class {
4152
4155
  }
4153
4156
  };
4154
4157
  var DeferredBlockPlaceholder = class extends BlockNode {
4155
- constructor(children, minimumTime, nameSpan, sourceSpan, startSourceSpan, endSourceSpan) {
4158
+ constructor(children, minimumTime, nameSpan, sourceSpan, startSourceSpan, endSourceSpan, i18n2) {
4156
4159
  super(nameSpan, sourceSpan, startSourceSpan, endSourceSpan);
4157
4160
  this.children = children;
4158
4161
  this.minimumTime = minimumTime;
4162
+ this.i18n = i18n2;
4159
4163
  }
4160
4164
  visit(visitor) {
4161
4165
  return visitor.visitDeferredBlockPlaceholder(this);
4162
4166
  }
4163
4167
  };
4164
4168
  var DeferredBlockLoading = class extends BlockNode {
4165
- constructor(children, afterTime, minimumTime, nameSpan, sourceSpan, startSourceSpan, endSourceSpan) {
4169
+ constructor(children, afterTime, minimumTime, nameSpan, sourceSpan, startSourceSpan, endSourceSpan, i18n2) {
4166
4170
  super(nameSpan, sourceSpan, startSourceSpan, endSourceSpan);
4167
4171
  this.children = children;
4168
4172
  this.afterTime = afterTime;
4169
4173
  this.minimumTime = minimumTime;
4174
+ this.i18n = i18n2;
4170
4175
  }
4171
4176
  visit(visitor) {
4172
4177
  return visitor.visitDeferredBlockLoading(this);
4173
4178
  }
4174
4179
  };
4175
4180
  var DeferredBlockError = class extends BlockNode {
4176
- constructor(children, nameSpan, sourceSpan, startSourceSpan, endSourceSpan) {
4181
+ constructor(children, nameSpan, sourceSpan, startSourceSpan, endSourceSpan, i18n2) {
4177
4182
  super(nameSpan, sourceSpan, startSourceSpan, endSourceSpan);
4178
4183
  this.children = children;
4184
+ this.i18n = i18n2;
4179
4185
  }
4180
4186
  visit(visitor) {
4181
4187
  return visitor.visitDeferredBlockError(this);
4182
4188
  }
4183
4189
  };
4184
4190
  var DeferredBlock = class extends BlockNode {
4185
- constructor(children, triggers, prefetchTriggers, placeholder, loading, error2, nameSpan, sourceSpan, mainBlockSpan, startSourceSpan, endSourceSpan) {
4191
+ constructor(children, triggers, prefetchTriggers, placeholder, loading, error2, nameSpan, sourceSpan, mainBlockSpan, startSourceSpan, endSourceSpan, i18n2) {
4186
4192
  super(nameSpan, sourceSpan, startSourceSpan, endSourceSpan);
4187
4193
  this.children = children;
4188
4194
  this.placeholder = placeholder;
4189
4195
  this.loading = loading;
4190
4196
  this.error = error2;
4191
4197
  this.mainBlockSpan = mainBlockSpan;
4198
+ this.i18n = i18n2;
4192
4199
  this.triggers = triggers;
4193
4200
  this.prefetchTriggers = prefetchTriggers;
4194
4201
  this.definedTriggers = Object.keys(triggers);
@@ -4220,17 +4227,18 @@ var SwitchBlock = class extends BlockNode {
4220
4227
  }
4221
4228
  };
4222
4229
  var SwitchBlockCase = class extends BlockNode {
4223
- constructor(expression, children, sourceSpan, startSourceSpan, endSourceSpan, nameSpan) {
4230
+ constructor(expression, children, sourceSpan, startSourceSpan, endSourceSpan, nameSpan, i18n2) {
4224
4231
  super(nameSpan, sourceSpan, startSourceSpan, endSourceSpan);
4225
4232
  this.expression = expression;
4226
4233
  this.children = children;
4234
+ this.i18n = i18n2;
4227
4235
  }
4228
4236
  visit(visitor) {
4229
4237
  return visitor.visitSwitchBlockCase(this);
4230
4238
  }
4231
4239
  };
4232
4240
  var ForLoopBlock = class extends BlockNode {
4233
- constructor(item, expression, trackBy, trackKeywordSpan, contextVariables, children, empty, sourceSpan, mainBlockSpan, startSourceSpan, endSourceSpan, nameSpan) {
4241
+ constructor(item, expression, trackBy, trackKeywordSpan, contextVariables, children, empty, sourceSpan, mainBlockSpan, startSourceSpan, endSourceSpan, nameSpan, i18n2) {
4234
4242
  super(nameSpan, sourceSpan, startSourceSpan, endSourceSpan);
4235
4243
  this.item = item;
4236
4244
  this.expression = expression;
@@ -4240,15 +4248,17 @@ var ForLoopBlock = class extends BlockNode {
4240
4248
  this.children = children;
4241
4249
  this.empty = empty;
4242
4250
  this.mainBlockSpan = mainBlockSpan;
4251
+ this.i18n = i18n2;
4243
4252
  }
4244
4253
  visit(visitor) {
4245
4254
  return visitor.visitForLoopBlock(this);
4246
4255
  }
4247
4256
  };
4248
4257
  var ForLoopBlockEmpty = class extends BlockNode {
4249
- constructor(children, sourceSpan, startSourceSpan, endSourceSpan, nameSpan) {
4258
+ constructor(children, sourceSpan, startSourceSpan, endSourceSpan, nameSpan, i18n2) {
4250
4259
  super(nameSpan, sourceSpan, startSourceSpan, endSourceSpan);
4251
4260
  this.children = children;
4261
+ this.i18n = i18n2;
4252
4262
  }
4253
4263
  visit(visitor) {
4254
4264
  return visitor.visitForLoopBlockEmpty(this);
@@ -4264,11 +4274,12 @@ var IfBlock = class extends BlockNode {
4264
4274
  }
4265
4275
  };
4266
4276
  var IfBlockBranch = class extends BlockNode {
4267
- constructor(expression, children, expressionAlias, sourceSpan, startSourceSpan, endSourceSpan, nameSpan) {
4277
+ constructor(expression, children, expressionAlias, sourceSpan, startSourceSpan, endSourceSpan, nameSpan, i18n2) {
4268
4278
  super(nameSpan, sourceSpan, startSourceSpan, endSourceSpan);
4269
4279
  this.expression = expression;
4270
4280
  this.children = children;
4271
4281
  this.expressionAlias = expressionAlias;
4282
+ this.i18n = i18n2;
4272
4283
  }
4273
4284
  visit(visitor) {
4274
4285
  return visitor.visitIfBlockBranch(this);
@@ -4440,7 +4451,7 @@ function visitAll(visitor, nodes) {
4440
4451
  return result;
4441
4452
  }
4442
4453
 
4443
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4454
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4444
4455
  var Message = class {
4445
4456
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
4446
4457
  this.nodes = nodes;
@@ -4531,6 +4542,21 @@ var IcuPlaceholder = class {
4531
4542
  return visitor.visitIcuPlaceholder(this, context);
4532
4543
  }
4533
4544
  };
4545
+ var BlockPlaceholder = class {
4546
+ constructor(name, parameters, startName, closeName, children, sourceSpan, startSourceSpan, endSourceSpan) {
4547
+ this.name = name;
4548
+ this.parameters = parameters;
4549
+ this.startName = startName;
4550
+ this.closeName = closeName;
4551
+ this.children = children;
4552
+ this.sourceSpan = sourceSpan;
4553
+ this.startSourceSpan = startSourceSpan;
4554
+ this.endSourceSpan = endSourceSpan;
4555
+ }
4556
+ visit(visitor, context) {
4557
+ return visitor.visitBlockPlaceholder(this, context);
4558
+ }
4559
+ };
4534
4560
  var CloneVisitor = class {
4535
4561
  visitText(text2, context) {
4536
4562
  return new Text2(text2.value, text2.sourceSpan);
@@ -4555,6 +4581,10 @@ var CloneVisitor = class {
4555
4581
  visitIcuPlaceholder(ph, context) {
4556
4582
  return new IcuPlaceholder(ph.value, ph.name, ph.sourceSpan);
4557
4583
  }
4584
+ visitBlockPlaceholder(ph, context) {
4585
+ const children = ph.children.map((n) => n.visit(this, context));
4586
+ return new BlockPlaceholder(ph.name, ph.parameters, ph.startName, ph.closeName, children, ph.sourceSpan, ph.startSourceSpan, ph.endSourceSpan);
4587
+ }
4558
4588
  };
4559
4589
  var RecurseVisitor = class {
4560
4590
  visitText(text2, context) {
@@ -4574,6 +4604,9 @@ var RecurseVisitor = class {
4574
4604
  }
4575
4605
  visitIcuPlaceholder(ph, context) {
4576
4606
  }
4607
+ visitBlockPlaceholder(ph, context) {
4608
+ ph.children.forEach((child) => child.visit(this));
4609
+ }
4577
4610
  };
4578
4611
  function serializeMessage(messageNodes) {
4579
4612
  const visitor = new LocalizeMessageStringVisitor();
@@ -4601,9 +4634,13 @@ var LocalizeMessageStringVisitor = class {
4601
4634
  visitIcuPlaceholder(ph) {
4602
4635
  return `{$${ph.name}}`;
4603
4636
  }
4637
+ visitBlockPlaceholder(ph) {
4638
+ const children = ph.children.map((child) => child.visit(this)).join("");
4639
+ return `{$${ph.startName}}${children}{$${ph.closeName}}`;
4640
+ }
4604
4641
  };
4605
4642
 
4606
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4643
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4607
4644
  var Serializer = class {
4608
4645
  createNameMapper(message) {
4609
4646
  return null;
@@ -4635,6 +4672,11 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
4635
4672
  visitPlaceholder(ph, context) {
4636
4673
  this.visitPlaceholderName(ph.name);
4637
4674
  }
4675
+ visitBlockPlaceholder(ph, context) {
4676
+ this.visitPlaceholderName(ph.startName);
4677
+ super.visitBlockPlaceholder(ph, context);
4678
+ this.visitPlaceholderName(ph.closeName);
4679
+ }
4638
4680
  visitIcuPlaceholder(ph, context) {
4639
4681
  this.visitPlaceholderName(ph.name);
4640
4682
  }
@@ -4655,7 +4697,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
4655
4697
  }
4656
4698
  };
4657
4699
 
4658
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4700
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4659
4701
  var _Visitor = class {
4660
4702
  visitTag(tag) {
4661
4703
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4743,7 +4785,7 @@ function escapeXml(text2) {
4743
4785
  return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
4744
4786
  }
4745
4787
 
4746
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4788
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4747
4789
  var _MESSAGES_TAG = "messagebundle";
4748
4790
  var _MESSAGE_TAG = "msg";
4749
4791
  var _PLACEHOLDER_TAG = "ph";
@@ -4843,6 +4885,15 @@ var _Visitor2 = class {
4843
4885
  new Tag(_PLACEHOLDER_TAG, { name: ph.name }, [exTag, interpolationAsText])
4844
4886
  ];
4845
4887
  }
4888
+ visitBlockPlaceholder(ph, context) {
4889
+ const startAsText = new Text3(`@${ph.name}`);
4890
+ const startEx = new Tag(_EXAMPLE_TAG, {}, [startAsText]);
4891
+ const startTagPh = new Tag(_PLACEHOLDER_TAG, { name: ph.startName }, [startEx, startAsText]);
4892
+ const closeAsText = new Text3(`}`);
4893
+ const closeEx = new Tag(_EXAMPLE_TAG, {}, [closeAsText]);
4894
+ const closeTagPh = new Tag(_PLACEHOLDER_TAG, { name: ph.closeName }, [closeEx, closeAsText]);
4895
+ return [startTagPh, ...this.serialize(ph.children), closeTagPh];
4896
+ }
4846
4897
  visitIcuPlaceholder(ph, context) {
4847
4898
  const icuExpression = ph.value.expression;
4848
4899
  const icuType = ph.value.type;
@@ -4886,7 +4937,7 @@ function toPublicName(internalName) {
4886
4937
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
4887
4938
  }
4888
4939
 
4889
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4940
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4890
4941
  var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
4891
4942
  var TRANSLATION_VAR_PREFIX = "i18n_";
4892
4943
  var I18N_ATTR = "i18n";
@@ -4988,7 +5039,7 @@ function declareI18nVariable(variable2) {
4988
5039
  return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
4989
5040
  }
4990
5041
 
4991
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
5042
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4992
5043
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
4993
5044
  var TEMPORARY_NAME = "_t";
4994
5045
  var CONTEXT_NAME = "ctx";
@@ -5211,7 +5262,7 @@ function getInstructionStatements(instructions) {
5211
5262
  return statements;
5212
5263
  }
5213
5264
 
5214
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
5265
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
5215
5266
  function compileInjectable(meta, resolveForwardRefs) {
5216
5267
  let result = null;
5217
5268
  const factoryMeta = {
@@ -5296,7 +5347,7 @@ function createFactoryFunction(type) {
5296
5347
  return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
5297
5348
  }
5298
5349
 
5299
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
5350
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
5300
5351
  var UNUSABLE_INTERPOLATION_REGEXPS = [
5301
5352
  /^\s*$/,
5302
5353
  /[<>]/,
@@ -5318,7 +5369,7 @@ function assertInterpolationSymbols(identifier, value) {
5318
5369
  }
5319
5370
  }
5320
5371
 
5321
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
5372
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
5322
5373
  var InterpolationConfig = class {
5323
5374
  static fromArray(markers) {
5324
5375
  if (!markers) {
@@ -5333,8 +5384,9 @@ var InterpolationConfig = class {
5333
5384
  }
5334
5385
  };
5335
5386
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
5387
+ var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
5336
5388
 
5337
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
5389
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
5338
5390
  var $EOF = 0;
5339
5391
  var $BSPACE = 8;
5340
5392
  var $TAB = 9;
@@ -5416,7 +5468,7 @@ function isQuote(code) {
5416
5468
  return code === $SQ || code === $DQ || code === $BT;
5417
5469
  }
5418
5470
 
5419
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
5471
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
5420
5472
  var ParseLocation = class {
5421
5473
  constructor(file, offset, line, col) {
5422
5474
  this.file = file;
@@ -5563,7 +5615,7 @@ function sanitizeIdentifier(name) {
5563
5615
  return name.replace(/\W/g, "_");
5564
5616
  }
5565
5617
 
5566
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5618
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5567
5619
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
5568
5620
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5569
5621
  constructor() {
@@ -5656,7 +5708,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5656
5708
  }
5657
5709
  };
5658
5710
 
5659
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5711
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5660
5712
  var policy;
5661
5713
  function getPolicy() {
5662
5714
  if (policy === void 0) {
@@ -5694,7 +5746,7 @@ function newTrustedFunctionForJIT(...args) {
5694
5746
  return fn2.bind(_global);
5695
5747
  }
5696
5748
 
5697
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5749
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5698
5750
  var JitEvaluator = class {
5699
5751
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
5700
5752
  const converter = new JitEmitterVisitor(refResolver);
@@ -5785,7 +5837,7 @@ function isUseStrictStatement(statement) {
5785
5837
  return statement.isEquivalent(literal("use strict").toStmt());
5786
5838
  }
5787
5839
 
5788
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5840
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5789
5841
  function compileInjector(meta) {
5790
5842
  const definitionMap = new DefinitionMap();
5791
5843
  if (meta.providers !== null) {
@@ -5802,7 +5854,7 @@ function createInjectorType(meta) {
5802
5854
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
5803
5855
  }
5804
5856
 
5805
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5857
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5806
5858
  var R3JitReflector = class {
5807
5859
  constructor(context) {
5808
5860
  this.context = context;
@@ -5818,7 +5870,7 @@ var R3JitReflector = class {
5818
5870
  }
5819
5871
  };
5820
5872
 
5821
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5873
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5822
5874
  var R3SelectorScopeMode;
5823
5875
  (function(R3SelectorScopeMode2) {
5824
5876
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -5959,7 +6011,7 @@ function tupleOfTypes(types) {
5959
6011
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
5960
6012
  }
5961
6013
 
5962
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
6014
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5963
6015
  function compilePipeFromMetadata(metadata) {
5964
6016
  const definitionMapValues = [];
5965
6017
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -5980,7 +6032,7 @@ function createPipeType(metadata) {
5980
6032
  ]));
5981
6033
  }
5982
6034
 
5983
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
6035
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5984
6036
  var R3TemplateDependencyKind;
5985
6037
  (function(R3TemplateDependencyKind2) {
5986
6038
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -5988,7 +6040,7 @@ var R3TemplateDependencyKind;
5988
6040
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
5989
6041
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
5990
6042
 
5991
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
6043
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5992
6044
  var ParserError = class {
5993
6045
  constructor(message, input, errLocation, ctxLocation) {
5994
6046
  this.input = input;
@@ -6654,7 +6706,7 @@ var BoundElementProperty = class {
6654
6706
  }
6655
6707
  };
6656
6708
 
6657
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6709
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6658
6710
  var _EventHandlerVars = class {
6659
6711
  };
6660
6712
  var EventHandlerVars = _EventHandlerVars;
@@ -7295,7 +7347,7 @@ var BuiltinFunctionCall = class extends Call {
7295
7347
  }
7296
7348
  };
7297
7349
 
7298
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
7350
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
7299
7351
  var _SECURITY_SCHEMA;
7300
7352
  function SECURITY_SCHEMA() {
7301
7353
  if (!_SECURITY_SCHEMA) {
@@ -7353,7 +7405,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
7353
7405
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
7354
7406
  }
7355
7407
 
7356
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
7408
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
7357
7409
  var animationKeywords = /* @__PURE__ */ new Set([
7358
7410
  "inherit",
7359
7411
  "initial",
@@ -7824,7 +7876,7 @@ function repeatGroups(groups, multiples) {
7824
7876
  }
7825
7877
  }
7826
7878
 
7827
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7879
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7828
7880
  var OpKind;
7829
7881
  (function(OpKind2) {
7830
7882
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -7978,8 +8030,13 @@ var DerivedRepeaterVarIdentity;
7978
8030
  DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Even"] = 2] = "Even";
7979
8031
  DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Odd"] = 3] = "Odd";
7980
8032
  })(DerivedRepeaterVarIdentity || (DerivedRepeaterVarIdentity = {}));
8033
+ var I18nContextKind;
8034
+ (function(I18nContextKind2) {
8035
+ I18nContextKind2[I18nContextKind2["RootI18n"] = 0] = "RootI18n";
8036
+ I18nContextKind2[I18nContextKind2["Icu"] = 1] = "Icu";
8037
+ })(I18nContextKind || (I18nContextKind = {}));
7981
8038
 
7982
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
8039
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7983
8040
  var ConsumesSlot = Symbol("ConsumesSlot");
7984
8041
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
7985
8042
  var ConsumesVarsTrait = Symbol("ConsumesVars");
@@ -8011,7 +8068,7 @@ function hasUsesVarOffsetTrait(expr) {
8011
8068
  return expr[UsesVarOffset] === true;
8012
8069
  }
8013
8070
 
8014
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
8071
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
8015
8072
  function createStatementOp(statement) {
8016
8073
  return __spreadValues({
8017
8074
  kind: OpKind.Statement,
@@ -8033,7 +8090,7 @@ var NEW_OP = {
8033
8090
  next: null
8034
8091
  };
8035
8092
 
8036
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
8093
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
8037
8094
  function createInterpolateTextOp(xref, interpolation, i18nPlaceholders, sourceSpan) {
8038
8095
  return __spreadValues(__spreadValues(__spreadValues({
8039
8096
  kind: OpKind.InterpolateText,
@@ -8144,13 +8201,13 @@ function createConditionalOp(target, targetSlot, test, conditions, sourceSpan) {
8144
8201
  }, NEW_OP), TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS);
8145
8202
  }
8146
8203
  function createRepeaterOp(repeaterCreate2, targetSlot, collection, sourceSpan) {
8147
- return __spreadValues({
8204
+ return __spreadValues(__spreadValues({
8148
8205
  kind: OpKind.Repeater,
8149
8206
  target: repeaterCreate2,
8150
8207
  targetSlot,
8151
8208
  collection,
8152
8209
  sourceSpan
8153
- }, NEW_OP);
8210
+ }, NEW_OP), TRAIT_DEPENDS_ON_SLOT_CONTEXT);
8154
8211
  }
8155
8212
  function createDeferWhenOp(target, expr, prefetch, sourceSpan) {
8156
8213
  return __spreadValues(__spreadValues({
@@ -8182,7 +8239,7 @@ function createI18nApplyOp(target, handle, sourceSpan) {
8182
8239
  }, NEW_OP);
8183
8240
  }
8184
8241
 
8185
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
8242
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
8186
8243
  var _a;
8187
8244
  var _b;
8188
8245
  var _c;
@@ -9033,7 +9090,7 @@ function isStringLiteral(expr) {
9033
9090
  return expr instanceof LiteralExpr && typeof expr.value === "string";
9034
9091
  }
9035
9092
 
9036
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
9093
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
9037
9094
  var _OpList = class {
9038
9095
  constructor() {
9039
9096
  this.debugListId = _OpList.nextListId++;
@@ -9224,14 +9281,14 @@ var OpList = _OpList;
9224
9281
  _OpList.nextListId = 0;
9225
9282
  })();
9226
9283
 
9227
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
9284
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
9228
9285
  var SlotHandle = class {
9229
9286
  constructor() {
9230
9287
  this.slot = null;
9231
9288
  }
9232
9289
  };
9233
9290
 
9234
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
9291
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
9235
9292
  var elementContainerOpKinds = /* @__PURE__ */ new Set([
9236
9293
  OpKind.Element,
9237
9294
  OpKind.ElementStart,
@@ -9463,9 +9520,10 @@ function createIcuEndOp(xref) {
9463
9520
  xref
9464
9521
  }, NEW_OP);
9465
9522
  }
9466
- function createI18nContextOp(xref, i18nBlock, message, sourceSpan) {
9523
+ function createI18nContextOp(contextKind, xref, i18nBlock, message, sourceSpan) {
9467
9524
  return __spreadValues({
9468
9525
  kind: OpKind.I18nContext,
9526
+ contextKind,
9469
9527
  xref,
9470
9528
  i18nBlock,
9471
9529
  message,
@@ -9475,7 +9533,7 @@ function createI18nContextOp(xref, i18nBlock, message, sourceSpan) {
9475
9533
  }, NEW_OP);
9476
9534
  }
9477
9535
 
9478
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
9536
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
9479
9537
  function createHostPropertyOp(name, expression, isAnimationTrigger, sourceSpan) {
9480
9538
  return __spreadValues(__spreadValues({
9481
9539
  kind: OpKind.HostProperty,
@@ -9486,10 +9544,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, sourceSpan)
9486
9544
  }, TRAIT_CONSUMES_VARS), NEW_OP);
9487
9545
  }
9488
9546
 
9489
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
9547
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
9490
9548
  var CTX_REF = "CTX_REF_MARKER";
9491
9549
 
9492
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
9550
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
9493
9551
  var CompilationJobKind;
9494
9552
  (function(CompilationJobKind2) {
9495
9553
  CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
@@ -9596,7 +9654,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
9596
9654
  }
9597
9655
  };
9598
9656
 
9599
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
9657
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
9600
9658
  function deleteAnyCasts(job) {
9601
9659
  for (const unit of job.units) {
9602
9660
  for (const op of unit.ops()) {
@@ -9614,7 +9672,7 @@ function removeAnys(e) {
9614
9672
  return e;
9615
9673
  }
9616
9674
 
9617
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
9675
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
9618
9676
  function applyI18nExpressions(job) {
9619
9677
  const i18nContexts = /* @__PURE__ */ new Map();
9620
9678
  for (const unit of job.units) {
@@ -9645,10 +9703,9 @@ function needsApplication(i18nContexts, op) {
9645
9703
  return false;
9646
9704
  }
9647
9705
 
9648
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
9706
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
9649
9707
  function assignI18nSlotDependencies(job) {
9650
9708
  const i18nLastSlotConsumers = /* @__PURE__ */ new Map();
9651
- const i18nContexts = /* @__PURE__ */ new Map();
9652
9709
  let lastSlotConsumer = null;
9653
9710
  let currentI18nOp = null;
9654
9711
  for (const unit of job.units) {
@@ -9664,21 +9721,17 @@ function assignI18nSlotDependencies(job) {
9664
9721
  i18nLastSlotConsumers.set(currentI18nOp.xref, lastSlotConsumer);
9665
9722
  currentI18nOp = null;
9666
9723
  break;
9667
- case OpKind.I18nContext:
9668
- i18nContexts.set(op.xref, op);
9669
- break;
9670
9724
  }
9671
9725
  }
9672
9726
  for (const op of unit.update) {
9673
9727
  if (op.kind === OpKind.I18nExpression) {
9674
- const i18nContext = i18nContexts.get(op.context);
9675
- op.target = i18nLastSlotConsumers.get(i18nContext.i18nBlock);
9728
+ op.target = i18nLastSlotConsumers.get(op.target);
9676
9729
  }
9677
9730
  }
9678
9731
  }
9679
9732
  }
9680
9733
 
9681
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
9734
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
9682
9735
  function createOpXrefMap(unit) {
9683
9736
  const map = /* @__PURE__ */ new Map();
9684
9737
  for (const op of unit.create) {
@@ -9690,7 +9743,7 @@ function createOpXrefMap(unit) {
9690
9743
  return map;
9691
9744
  }
9692
9745
 
9693
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
9746
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
9694
9747
  function extractAttributes(job) {
9695
9748
  for (const unit of job.units) {
9696
9749
  const elements = createOpXrefMap(unit);
@@ -9757,7 +9810,7 @@ function extractAttributeOp(unit, op, elements) {
9757
9810
  }
9758
9811
  }
9759
9812
 
9760
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
9813
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
9761
9814
  function lookupElement2(elements, xref) {
9762
9815
  const el = elements.get(xref);
9763
9816
  if (el === void 0) {
@@ -9807,7 +9860,7 @@ function specializeBindings(job) {
9807
9860
  }
9808
9861
  }
9809
9862
 
9810
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9863
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9811
9864
  var CHAINABLE = /* @__PURE__ */ new Set([
9812
9865
  Identifiers.attribute,
9813
9866
  Identifiers.classProp,
@@ -9873,7 +9926,7 @@ function chainOperationsInList(opList) {
9873
9926
  }
9874
9927
  }
9875
9928
 
9876
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
9929
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
9877
9930
  function collapseSingletonInterpolations(job) {
9878
9931
  for (const unit of job.units) {
9879
9932
  for (const op of unit.update) {
@@ -9885,7 +9938,7 @@ function collapseSingletonInterpolations(job) {
9885
9938
  }
9886
9939
  }
9887
9940
 
9888
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
9941
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
9889
9942
  function generateConditionalExpressions(job) {
9890
9943
  for (const unit of job.units) {
9891
9944
  for (const op of unit.ops()) {
@@ -9922,7 +9975,7 @@ function generateConditionalExpressions(job) {
9922
9975
  }
9923
9976
  }
9924
9977
 
9925
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
9978
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
9926
9979
  var TagContentType;
9927
9980
  (function(TagContentType2) {
9928
9981
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -9955,7 +10008,7 @@ function mergeNsAndName(prefix, localName) {
9955
10008
  return prefix ? `:${prefix}:${localName}` : localName;
9956
10009
  }
9957
10010
 
9958
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
10011
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9959
10012
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
9960
10013
  ["&&", BinaryOperator.And],
9961
10014
  [">", BinaryOperator.Bigger],
@@ -10005,7 +10058,7 @@ function literalOrArrayLiteral(value) {
10005
10058
  return literal(value);
10006
10059
  }
10007
10060
 
10008
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
10061
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
10009
10062
  function collectElementConsts(job) {
10010
10063
  const allElementAttributes = /* @__PURE__ */ new Map();
10011
10064
  for (const unit of job.units) {
@@ -10139,7 +10192,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
10139
10192
  return literalArr(attrArray);
10140
10193
  }
10141
10194
 
10142
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
10195
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
10143
10196
  function createDeferDepsFns(job) {
10144
10197
  for (const unit of job.units) {
10145
10198
  for (const op of unit.create) {
@@ -10167,18 +10220,22 @@ function createDeferDepsFns(job) {
10167
10220
  }
10168
10221
  }
10169
10222
 
10170
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
10223
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
10171
10224
  function createI18nContexts(job) {
10225
+ const rootContexts = /* @__PURE__ */ new Map();
10172
10226
  let currentI18nOp = null;
10173
10227
  let xref;
10174
10228
  for (const unit of job.units) {
10175
10229
  for (const op of unit.create) {
10176
10230
  switch (op.kind) {
10177
10231
  case OpKind.I18nStart:
10178
- xref = job.allocateXrefId();
10179
- unit.create.push(createI18nContextOp(xref, op.xref, op.message, null));
10180
- op.context = xref;
10181
10232
  currentI18nOp = op;
10233
+ if (op.xref === op.root) {
10234
+ xref = job.allocateXrefId();
10235
+ unit.create.push(createI18nContextOp(I18nContextKind.RootI18n, xref, op.xref, op.message, null));
10236
+ op.context = xref;
10237
+ rootContexts.set(op.xref, xref);
10238
+ }
10182
10239
  break;
10183
10240
  case OpKind.I18nEnd:
10184
10241
  currentI18nOp = null;
@@ -10189,7 +10246,7 @@ function createI18nContexts(job) {
10189
10246
  }
10190
10247
  if (op.message.id !== currentI18nOp.message.id) {
10191
10248
  xref = job.allocateXrefId();
10192
- unit.create.push(createI18nContextOp(xref, currentI18nOp.xref, op.message, null));
10249
+ unit.create.push(createI18nContextOp(I18nContextKind.Icu, xref, currentI18nOp.xref, op.message, null));
10193
10250
  op.context = xref;
10194
10251
  } else {
10195
10252
  op.context = currentI18nOp.context;
@@ -10198,9 +10255,16 @@ function createI18nContexts(job) {
10198
10255
  }
10199
10256
  }
10200
10257
  }
10258
+ for (const unit of job.units) {
10259
+ for (const op of unit.create) {
10260
+ if (op.kind === OpKind.I18nStart && op.xref !== op.root) {
10261
+ op.context = rootContexts.get(op.root);
10262
+ }
10263
+ }
10264
+ }
10201
10265
  }
10202
10266
 
10203
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
10267
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
10204
10268
  function configureDeferInstructions(job) {
10205
10269
  for (const unit of job.units) {
10206
10270
  for (const op of unit.create) {
@@ -10217,7 +10281,7 @@ function configureDeferInstructions(job) {
10217
10281
  }
10218
10282
  }
10219
10283
 
10220
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
10284
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
10221
10285
  function resolveDeferTargetNames(job) {
10222
10286
  const scopes = /* @__PURE__ */ new Map();
10223
10287
  function getScopeForView2(view) {
@@ -10311,7 +10375,7 @@ var Scope = class {
10311
10375
  }
10312
10376
  };
10313
10377
 
10314
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
10378
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
10315
10379
  var REPLACEMENTS = /* @__PURE__ */ new Map([
10316
10380
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
10317
10381
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
@@ -10338,7 +10402,7 @@ function collapseEmptyInstructions(job) {
10338
10402
  }
10339
10403
  }
10340
10404
 
10341
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
10405
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
10342
10406
  function expandSafeReads(job) {
10343
10407
  for (const unit of job.units) {
10344
10408
  for (const op of unit.ops()) {
@@ -10474,7 +10538,7 @@ function ternaryTransform(e) {
10474
10538
  return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
10475
10539
  }
10476
10540
 
10477
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
10541
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
10478
10542
  var ESCAPE = "\uFFFD";
10479
10543
  var ELEMENT_MARKER = "#";
10480
10544
  var TEMPLATE_MARKER = "*";
@@ -10485,7 +10549,7 @@ var LIST_END_MARKER = "]";
10485
10549
  var LIST_DELIMITER = "|";
10486
10550
  function extractI18nMessages(job) {
10487
10551
  const i18nContexts = /* @__PURE__ */ new Map();
10488
- const i18nBlockContexts = /* @__PURE__ */ new Set();
10552
+ const i18nBlocks = /* @__PURE__ */ new Map();
10489
10553
  for (const unit of job.units) {
10490
10554
  for (const op of unit.create) {
10491
10555
  switch (op.kind) {
@@ -10493,7 +10557,7 @@ function extractI18nMessages(job) {
10493
10557
  i18nContexts.set(op.xref, op);
10494
10558
  break;
10495
10559
  case OpKind.I18nStart:
10496
- i18nBlockContexts.add(op.context);
10560
+ i18nBlocks.set(op.xref, op);
10497
10561
  break;
10498
10562
  }
10499
10563
  }
@@ -10518,11 +10582,12 @@ function extractI18nMessages(job) {
10518
10582
  if (!op.context) {
10519
10583
  throw Error("ICU op should have its context set.");
10520
10584
  }
10521
- if (!i18nBlockContexts.has(op.context)) {
10522
- const i18nContext = i18nContexts.get(op.context);
10585
+ const i18nContext = i18nContexts.get(op.context);
10586
+ if (i18nContext.contextKind === I18nContextKind.Icu) {
10523
10587
  const subMessage = createI18nMessage(job, i18nContext, op.messagePlaceholder);
10524
10588
  unit.create.push(subMessage);
10525
- const parentMessage = i18nBlockMessages.get(i18nContext.i18nBlock);
10589
+ const rootI18nId = i18nBlocks.get(i18nContext.i18nBlock).root;
10590
+ const parentMessage = i18nBlockMessages.get(rootI18nId);
10526
10591
  parentMessage == null ? void 0 : parentMessage.subMessages.push(subMessage.xref);
10527
10592
  }
10528
10593
  OpList.remove(op);
@@ -10535,30 +10600,67 @@ function extractI18nMessages(job) {
10535
10600
  }
10536
10601
  }
10537
10602
  function createI18nMessage(job, context, messagePlaceholder) {
10538
- let needsPostprocessing = context.postprocessingParams.size > 0;
10539
- for (const values of context.params.values()) {
10540
- if (values.length > 1) {
10541
- needsPostprocessing = true;
10542
- }
10543
- }
10544
- return createI18nMessageOp(job.allocateXrefId(), context.i18nBlock, context.message, messagePlaceholder != null ? messagePlaceholder : null, formatParams(context.params), formatParams(context.postprocessingParams), needsPostprocessing);
10603
+ let [formattedParams, needsPostprocessing] = formatParams(context.params);
10604
+ const [formattedPostprocessingParams] = formatParams(context.postprocessingParams);
10605
+ needsPostprocessing || (needsPostprocessing = formattedPostprocessingParams.size > 0);
10606
+ return createI18nMessageOp(job.allocateXrefId(), context.i18nBlock, context.message, messagePlaceholder != null ? messagePlaceholder : null, formattedParams, formattedPostprocessingParams, needsPostprocessing);
10545
10607
  }
10546
10608
  function formatParams(params) {
10547
- const result = /* @__PURE__ */ new Map();
10609
+ const formattedParams = /* @__PURE__ */ new Map();
10610
+ let needsPostprocessing = false;
10548
10611
  for (const [placeholder, placeholderValues] of params) {
10549
- const serializedValues = formatParamValues(placeholderValues);
10612
+ const [serializedValues, paramNeedsPostprocessing] = formatParamValues(placeholderValues);
10613
+ needsPostprocessing || (needsPostprocessing = paramNeedsPostprocessing);
10550
10614
  if (serializedValues !== null) {
10551
- result.set(placeholder, literal(formatParamValues(placeholderValues)));
10615
+ formattedParams.set(placeholder, literal(serializedValues));
10552
10616
  }
10553
10617
  }
10554
- return result;
10618
+ return [formattedParams, needsPostprocessing];
10555
10619
  }
10556
10620
  function formatParamValues(values) {
10557
10621
  if (values.length === 0) {
10558
- return null;
10622
+ return [null, false];
10559
10623
  }
10624
+ collapseElementTemplatePairs(values);
10560
10625
  const serializedValues = values.map((value) => formatValue(value));
10561
- return serializedValues.length === 1 ? serializedValues[0] : `${LIST_START_MARKER}${serializedValues.join(LIST_DELIMITER)}${LIST_END_MARKER}`;
10626
+ return serializedValues.length === 1 ? [serializedValues[0], false] : [`${LIST_START_MARKER}${serializedValues.join(LIST_DELIMITER)}${LIST_END_MARKER}`, true];
10627
+ }
10628
+ function collapseElementTemplatePairs(values) {
10629
+ var _a2;
10630
+ const valueIndiciesBySubTemplateIndex = /* @__PURE__ */ new Map();
10631
+ for (let i = 0; i < values.length; i++) {
10632
+ const value = values[i];
10633
+ if (value.subTemplateIndex !== null && value.flags & (I18nParamValueFlags.ElementTag | I18nParamValueFlags.TemplateTag)) {
10634
+ const valueIndicies = (_a2 = valueIndiciesBySubTemplateIndex.get(value.subTemplateIndex)) != null ? _a2 : [];
10635
+ valueIndicies.push(i);
10636
+ valueIndiciesBySubTemplateIndex.set(value.subTemplateIndex, valueIndicies);
10637
+ }
10638
+ }
10639
+ for (const [subTemplateIndex, valueIndicies] of valueIndiciesBySubTemplateIndex) {
10640
+ if (valueIndicies.length > 1) {
10641
+ const elementIndex = valueIndicies.find((index) => values[index].flags & I18nParamValueFlags.ElementTag);
10642
+ const templateIndex = valueIndicies.find((index) => values[index].flags & I18nParamValueFlags.TemplateTag);
10643
+ if (elementIndex !== void 0 && templateIndex !== void 0) {
10644
+ const elementValue = values[elementIndex];
10645
+ const templateValue = values[templateIndex];
10646
+ let compundValue;
10647
+ if (elementValue.flags & I18nParamValueFlags.OpenTag && elementValue.flags & I18nParamValueFlags.CloseTag) {
10648
+ compundValue = `${formatValue(templateValue)}${formatValue(elementValue)}${formatValue(templateValue)}`;
10649
+ } else if (elementValue.flags & I18nParamValueFlags.OpenTag) {
10650
+ compundValue = `${formatValue(templateValue)}${formatValue(elementValue)}`;
10651
+ } else {
10652
+ compundValue = `${formatValue(elementValue)}${formatValue(templateValue)}`;
10653
+ }
10654
+ values.splice(elementIndex, 1, { value: compundValue, subTemplateIndex, flags: I18nParamValueFlags.None });
10655
+ values.splice(templateIndex, 1, null);
10656
+ }
10657
+ }
10658
+ }
10659
+ for (let i = values.length - 1; i >= 0; i--) {
10660
+ if (values[i] === null) {
10661
+ values.splice(i, 1);
10662
+ }
10663
+ }
10562
10664
  }
10563
10665
  function formatValue(value) {
10564
10666
  if (value.flags === I18nParamValueFlags.None) {
@@ -10581,7 +10683,7 @@ function formatValue(value) {
10581
10683
  return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
10582
10684
  }
10583
10685
 
10584
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
10686
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
10585
10687
  function generateAdvance(job) {
10586
10688
  for (const unit of job.units) {
10587
10689
  const slotMap = /* @__PURE__ */ new Map();
@@ -10613,7 +10715,7 @@ function generateAdvance(job) {
10613
10715
  }
10614
10716
  }
10615
10717
 
10616
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
10718
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
10617
10719
  function generateProjectionDefs(job) {
10618
10720
  const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
10619
10721
  const selectors = [];
@@ -10637,7 +10739,7 @@ function generateProjectionDefs(job) {
10637
10739
  }
10638
10740
  }
10639
10741
 
10640
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
10742
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
10641
10743
  function generateVariables(job) {
10642
10744
  recursivelyProcessView(job.root, null);
10643
10745
  }
@@ -10725,7 +10827,7 @@ function generateVariablesInScopeForView(view, scope) {
10725
10827
  return newOps;
10726
10828
  }
10727
10829
 
10728
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
10830
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
10729
10831
  function collectConstExpressions(job) {
10730
10832
  for (const unit of job.units) {
10731
10833
  for (const op of unit.ops()) {
@@ -10739,7 +10841,7 @@ function collectConstExpressions(job) {
10739
10841
  }
10740
10842
  }
10741
10843
 
10742
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
10844
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
10743
10845
  var STYLE_DOT = "style.";
10744
10846
  var CLASS_DOT = "class.";
10745
10847
  var STYLE_BANG = "style!";
@@ -10797,7 +10899,7 @@ function parseProperty(name) {
10797
10899
  return { property: property2, suffix };
10798
10900
  }
10799
10901
 
10800
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
10902
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
10801
10903
  function mapLiteral(obj, quoted = false) {
10802
10904
  return literalMap(Object.keys(obj).map((key) => ({
10803
10905
  key,
@@ -10806,7 +10908,7 @@ function mapLiteral(obj, quoted = false) {
10806
10908
  })));
10807
10909
  }
10808
10910
 
10809
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
10911
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
10810
10912
  var IcuSerializerVisitor = class {
10811
10913
  visitText(text2) {
10812
10914
  return text2.value;
@@ -10825,6 +10927,9 @@ var IcuSerializerVisitor = class {
10825
10927
  visitPlaceholder(ph) {
10826
10928
  return this.formatPh(ph.name);
10827
10929
  }
10930
+ visitBlockPlaceholder(ph) {
10931
+ return `${this.formatPh(ph.startName)}${ph.children.map((child) => child.visit(this)).join("")}${this.formatPh(ph.closeName)}`;
10932
+ }
10828
10933
  visitIcuPlaceholder(ph, context) {
10829
10934
  return this.formatPh(ph.name);
10830
10935
  }
@@ -10837,7 +10942,7 @@ function serializeIcuNode(icu) {
10837
10942
  return icu.visit(serializer);
10838
10943
  }
10839
10944
 
10840
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
10945
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
10841
10946
  var TokenType;
10842
10947
  (function(TokenType2) {
10843
10948
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -11198,7 +11303,7 @@ function parseIntAutoRadix(text2) {
11198
11303
  return result;
11199
11304
  }
11200
11305
 
11201
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
11306
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
11202
11307
  var SplitInterpolation = class {
11203
11308
  constructor(strings, expressions, offsets) {
11204
11309
  this.strings = strings;
@@ -12092,7 +12197,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
12092
12197
  return offsetMap;
12093
12198
  }
12094
12199
 
12095
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
12200
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
12096
12201
  var NodeWithI18n = class {
12097
12202
  constructor(sourceSpan, i18n2) {
12098
12203
  this.sourceSpan = sourceSpan;
@@ -12168,12 +12273,12 @@ var Comment2 = class {
12168
12273
  return visitor.visitComment(this, context);
12169
12274
  }
12170
12275
  };
12171
- var Block = class {
12172
- constructor(name, parameters, children, sourceSpan, nameSpan, startSourceSpan, endSourceSpan = null) {
12276
+ var Block = class extends NodeWithI18n {
12277
+ constructor(name, parameters, children, sourceSpan, nameSpan, startSourceSpan, endSourceSpan = null, i18n2) {
12278
+ super(sourceSpan, i18n2);
12173
12279
  this.name = name;
12174
12280
  this.parameters = parameters;
12175
12281
  this.children = children;
12176
- this.sourceSpan = sourceSpan;
12177
12282
  this.nameSpan = nameSpan;
12178
12283
  this.startSourceSpan = startSourceSpan;
12179
12284
  this.endSourceSpan = endSourceSpan;
@@ -12203,11 +12308,11 @@ function visitAll2(visitor, nodes, context = null) {
12203
12308
  return result;
12204
12309
  }
12205
12310
 
12206
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
12311
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
12207
12312
  var ElementSchemaRegistry = class {
12208
12313
  };
12209
12314
 
12210
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
12315
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
12211
12316
  var BOOLEAN = "boolean";
12212
12317
  var NUMBER = "number";
12213
12318
  var STRING = "string";
@@ -12560,7 +12665,7 @@ function _isPixelDimensionStyle(prop) {
12560
12665
  }
12561
12666
  }
12562
12667
 
12563
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12668
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12564
12669
  var HtmlTagDefinition = class {
12565
12670
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
12566
12671
  this.closedByChildren = {};
@@ -12678,7 +12783,7 @@ function getHtmlTagDefinition(tagName) {
12678
12783
  return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
12679
12784
  }
12680
12785
 
12681
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
12786
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
12682
12787
  var TAG_TO_PLACEHOLDER_NAMES = {
12683
12788
  "A": "LINK",
12684
12789
  "B": "BOLD_TEXT",
@@ -12751,6 +12856,24 @@ var PlaceholderRegistry = class {
12751
12856
  getUniquePlaceholder(name) {
12752
12857
  return this._generateUniqueName(name.toUpperCase());
12753
12858
  }
12859
+ getStartBlockPlaceholderName(name, parameters) {
12860
+ const signature = this._hashBlock(name, parameters);
12861
+ if (this._signatureToName[signature]) {
12862
+ return this._signatureToName[signature];
12863
+ }
12864
+ const placeholder = this._generateUniqueName(`START_BLOCK_${this._toSnakeCase(name)}`);
12865
+ this._signatureToName[signature] = placeholder;
12866
+ return placeholder;
12867
+ }
12868
+ getCloseBlockPlaceholderName(name) {
12869
+ const signature = this._hashClosingBlock(name);
12870
+ if (this._signatureToName[signature]) {
12871
+ return this._signatureToName[signature];
12872
+ }
12873
+ const placeholder = this._generateUniqueName(`CLOSE_BLOCK_${this._toSnakeCase(name)}`);
12874
+ this._signatureToName[signature] = placeholder;
12875
+ return placeholder;
12876
+ }
12754
12877
  _hashTag(tag, attrs, isVoid) {
12755
12878
  const start = `<${tag}`;
12756
12879
  const strAttrs = Object.keys(attrs).sort().map((name) => ` ${name}=${attrs[name]}`).join("");
@@ -12760,6 +12883,16 @@ var PlaceholderRegistry = class {
12760
12883
  _hashClosingTag(tag) {
12761
12884
  return this._hashTag(`/${tag}`, {}, false);
12762
12885
  }
12886
+ _hashBlock(name, parameters) {
12887
+ const params = parameters.length === 0 ? "" : ` (${parameters.sort().join("; ")})`;
12888
+ return `@${name}${params} {}`;
12889
+ }
12890
+ _hashClosingBlock(name) {
12891
+ return this._hashBlock(`close_${name}`, []);
12892
+ }
12893
+ _toSnakeCase(name) {
12894
+ return name.toUpperCase().replace(/[^A-Z0-9]/g, "_");
12895
+ }
12763
12896
  _generateUniqueName(base) {
12764
12897
  const seen = this._placeHolderNameCounts.hasOwnProperty(base);
12765
12898
  if (!seen) {
@@ -12772,19 +12905,20 @@ var PlaceholderRegistry = class {
12772
12905
  }
12773
12906
  };
12774
12907
 
12775
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
12908
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
12776
12909
  var _expParser = new Parser(new Lexer());
12777
- function createI18nMessageFactory(interpolationConfig) {
12778
- const visitor = new _I18nVisitor(_expParser, interpolationConfig);
12910
+ function createI18nMessageFactory(interpolationConfig, containerBlocks) {
12911
+ const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
12779
12912
  return (nodes, meaning, description, customId, visitNodeFn) => visitor.toI18nMessage(nodes, meaning, description, customId, visitNodeFn);
12780
12913
  }
12781
12914
  function noopVisitNodeFn(_html, i18n2) {
12782
12915
  return i18n2;
12783
12916
  }
12784
12917
  var _I18nVisitor = class {
12785
- constructor(_expressionParser, _interpolationConfig) {
12918
+ constructor(_expressionParser, _interpolationConfig, _containerBlocks) {
12786
12919
  this._expressionParser = _expressionParser;
12787
12920
  this._interpolationConfig = _interpolationConfig;
12921
+ this._containerBlocks = _containerBlocks;
12788
12922
  }
12789
12923
  toI18nMessage(nodes, meaning = "", description = "", customId = "", visitNodeFn) {
12790
12924
  const context = {
@@ -12859,11 +12993,27 @@ var _I18nVisitor = class {
12859
12993
  throw new Error("Unreachable code");
12860
12994
  }
12861
12995
  visitBlock(block, context) {
12996
+ var _a2;
12862
12997
  const children = visitAll2(this, block.children, context);
12863
- const node = new Container(children, block.sourceSpan);
12998
+ if (this._containerBlocks.has(block.name)) {
12999
+ return new Container(children, block.sourceSpan);
13000
+ }
13001
+ const parameters = block.parameters.map((param) => param.expression);
13002
+ const startPhName = context.placeholderRegistry.getStartBlockPlaceholderName(block.name, parameters);
13003
+ const closePhName = context.placeholderRegistry.getCloseBlockPlaceholderName(block.name);
13004
+ context.placeholderToContent[startPhName] = {
13005
+ text: block.startSourceSpan.toString(),
13006
+ sourceSpan: block.startSourceSpan
13007
+ };
13008
+ context.placeholderToContent[closePhName] = {
13009
+ text: block.endSourceSpan ? block.endSourceSpan.toString() : "}",
13010
+ sourceSpan: (_a2 = block.endSourceSpan) != null ? _a2 : block.sourceSpan
13011
+ };
13012
+ const node = new BlockPlaceholder(block.name, parameters, startPhName, closePhName, children, block.sourceSpan, block.startSourceSpan, block.endSourceSpan);
12864
13013
  return context.visitNodeFn(block, node);
12865
13014
  }
12866
13015
  visitBlockParameter(_parameter, _context) {
13016
+ throw new Error("Unreachable code");
12867
13017
  }
12868
13018
  _visitTextWithInterpolation(tokens, sourceSpan, context, previousI18n) {
12869
13019
  const nodes = [];
@@ -12934,14 +13084,14 @@ function extractPlaceholderName(input) {
12934
13084
  return input.split(_CUSTOM_PH_EXP)[2];
12935
13085
  }
12936
13086
 
12937
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
13087
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
12938
13088
  var I18nError = class extends ParseError {
12939
13089
  constructor(span, msg) {
12940
13090
  super(span, msg);
12941
13091
  }
12942
13092
  };
12943
13093
 
12944
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
13094
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
12945
13095
  var NAMED_ENTITIES = {
12946
13096
  "AElig": "\xC6",
12947
13097
  "AMP": "&",
@@ -15072,7 +15222,7 @@ var NAMED_ENTITIES = {
15072
15222
  var NGSP_UNICODE = "\uE500";
15073
15223
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
15074
15224
 
15075
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
15225
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
15076
15226
  var TokenError = class extends ParseError {
15077
15227
  constructor(errorMsg, tokenType, span) {
15078
15228
  super(span, errorMsg);
@@ -15993,7 +16143,7 @@ var CursorError = class {
15993
16143
  }
15994
16144
  };
15995
16145
 
15996
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
16146
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
15997
16147
  var TreeError = class extends ParseError {
15998
16148
  static create(elementName, span, msg) {
15999
16149
  return new TreeError(elementName, span, msg);
@@ -16377,7 +16527,7 @@ function decodeEntity(match, entity) {
16377
16527
  return match;
16378
16528
  }
16379
16529
 
16380
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
16530
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
16381
16531
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
16382
16532
  "iframe|srcdoc",
16383
16533
  "*|innerhtml",
@@ -16392,7 +16542,7 @@ function isTrustedTypesSink(tagName, propName) {
16392
16542
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
16393
16543
  }
16394
16544
 
16395
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
16545
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
16396
16546
  var setI18nRefs = (htmlNode, i18nNode) => {
16397
16547
  if (htmlNode instanceof NodeWithI18n) {
16398
16548
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -16403,16 +16553,17 @@ var setI18nRefs = (htmlNode, i18nNode) => {
16403
16553
  return i18nNode;
16404
16554
  };
16405
16555
  var I18nMetaVisitor = class {
16406
- constructor(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, keepI18nAttrs = false, enableI18nLegacyMessageIdFormat = false) {
16556
+ constructor(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, keepI18nAttrs = false, enableI18nLegacyMessageIdFormat = false, containerBlocks = DEFAULT_CONTAINER_BLOCKS) {
16407
16557
  this.interpolationConfig = interpolationConfig;
16408
16558
  this.keepI18nAttrs = keepI18nAttrs;
16409
16559
  this.enableI18nLegacyMessageIdFormat = enableI18nLegacyMessageIdFormat;
16560
+ this.containerBlocks = containerBlocks;
16410
16561
  this.hasI18nMeta = false;
16411
16562
  this._errors = [];
16412
16563
  }
16413
16564
  _generateI18nMessage(nodes, meta = "", visitNodeFn) {
16414
16565
  const { meaning, description, customId } = this._parseMetadata(meta);
16415
- const createI18nMessage2 = createI18nMessageFactory(this.interpolationConfig);
16566
+ const createI18nMessage2 = createI18nMessageFactory(this.interpolationConfig, this.containerBlocks);
16416
16567
  const message = createI18nMessage2(nodes, meaning, description, customId, visitNodeFn);
16417
16568
  this._setMessageId(message, meta);
16418
16569
  this._setLegacyIds(message, meta);
@@ -16548,7 +16699,7 @@ function i18nMetaToJSDoc(meta) {
16548
16699
  return jsDocComment(tags);
16549
16700
  }
16550
16701
 
16551
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16702
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16552
16703
  var GOOG_GET_MSG = "goog.getMsg";
16553
16704
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
16554
16705
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -16587,6 +16738,9 @@ var GetMsgSerializerVisitor = class {
16587
16738
  visitPlaceholder(ph) {
16588
16739
  return this.formatPh(ph.name);
16589
16740
  }
16741
+ visitBlockPlaceholder(ph) {
16742
+ return `${this.formatPh(ph.startName)}${ph.children.map((child) => child.visit(this)).join("")}${this.formatPh(ph.closeName)}`;
16743
+ }
16590
16744
  visitIcuPlaceholder(ph, context) {
16591
16745
  return this.formatPh(ph.name);
16592
16746
  }
@@ -16596,7 +16750,7 @@ function serializeI18nMessageForGetMsg(message) {
16596
16750
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
16597
16751
  }
16598
16752
 
16599
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16753
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16600
16754
  function createLocalizeStatements(variable2, message, params) {
16601
16755
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
16602
16756
  const sourceSpan = getSourceSpan(message);
@@ -16635,6 +16789,12 @@ var LocalizeSerializerVisitor = class {
16635
16789
  visitPlaceholder(ph) {
16636
16790
  this.pieces.push(this.createPlaceholderPiece(ph.name, ph.sourceSpan));
16637
16791
  }
16792
+ visitBlockPlaceholder(ph) {
16793
+ var _a2, _b2;
16794
+ this.pieces.push(this.createPlaceholderPiece(ph.startName, (_a2 = ph.startSourceSpan) != null ? _a2 : ph.sourceSpan));
16795
+ ph.children.forEach((child) => child.visit(this));
16796
+ this.pieces.push(this.createPlaceholderPiece(ph.closeName, (_b2 = ph.endSourceSpan) != null ? _b2 : ph.sourceSpan));
16797
+ }
16638
16798
  visitIcuPlaceholder(ph) {
16639
16799
  this.pieces.push(this.createPlaceholderPiece(ph.name, ph.sourceSpan, this.placeholderToMessage[ph.name]));
16640
16800
  }
@@ -16679,7 +16839,7 @@ function createEmptyMessagePart(location) {
16679
16839
  return new LiteralPiece("", new ParseSourceSpan(location, location));
16680
16840
  }
16681
16841
 
16682
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
16842
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
16683
16843
  var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
16684
16844
  var TRANSLATION_VAR_PREFIX2 = "i18n_";
16685
16845
  function collectI18nConsts(job) {
@@ -16774,7 +16934,7 @@ function assertAllParamsResolved(op) {
16774
16934
  }
16775
16935
  }
16776
16936
 
16777
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
16937
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
16778
16938
  function extractI18nText(job) {
16779
16939
  var _a2;
16780
16940
  for (const unit of job.units) {
@@ -16833,7 +16993,7 @@ function extractI18nText(job) {
16833
16993
  }
16834
16994
  }
16835
16995
 
16836
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
16996
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
16837
16997
  function liftLocalRefs(job) {
16838
16998
  for (const unit of job.units) {
16839
16999
  for (const op of unit.create) {
@@ -16863,48 +17023,7 @@ function serializeLocalRefs(refs) {
16863
17023
  return literalArr(constRefs);
16864
17024
  }
16865
17025
 
16866
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/merge_i18n_contexts.mjs
16867
- function mergeI18nContexts(job) {
16868
- const i18nOps = /* @__PURE__ */ new Map();
16869
- const i18nContexts = /* @__PURE__ */ new Map();
16870
- for (const unit of job.units) {
16871
- for (const op of unit.create) {
16872
- switch (op.kind) {
16873
- case OpKind.I18nStart:
16874
- if (!op.context) {
16875
- throw Error("I18n op should have its context set.");
16876
- }
16877
- i18nOps.set(op.xref, op);
16878
- break;
16879
- case OpKind.I18nContext:
16880
- i18nContexts.set(op.xref, op);
16881
- break;
16882
- }
16883
- }
16884
- }
16885
- for (const childI18nOp of i18nOps.values()) {
16886
- if (childI18nOp.xref !== childI18nOp.root) {
16887
- const childContext = i18nContexts.get(childI18nOp.context);
16888
- const rootI18nOp = i18nOps.get(childI18nOp.root);
16889
- const rootContext = i18nContexts.get(rootI18nOp.context);
16890
- mergeParams(rootContext.params, childContext.params);
16891
- mergeParams(rootContext.postprocessingParams, childContext.postprocessingParams);
16892
- }
16893
- }
16894
- }
16895
- function mergeParams(to, from) {
16896
- for (const [placeholder, fromValues] of from) {
16897
- const toValues = to.get(placeholder) || [];
16898
- const flags = fromValues[0].flags;
16899
- if (flags & I18nParamValueFlags.CloseTag && !(flags & I18nParamValueFlags.OpenTag)) {
16900
- to.set(placeholder, [...fromValues, ...toValues]);
16901
- } else {
16902
- to.set(placeholder, [...toValues, ...fromValues]);
16903
- }
16904
- }
16905
- }
16906
-
16907
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
17026
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
16908
17027
  function emitNamespaceChanges(job) {
16909
17028
  for (const unit of job.units) {
16910
17029
  let activeNamespace = Namespace.HTML;
@@ -16920,7 +17039,7 @@ function emitNamespaceChanges(job) {
16920
17039
  }
16921
17040
  }
16922
17041
 
16923
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
17042
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
16924
17043
  function parse(value) {
16925
17044
  const styles = [];
16926
17045
  let i = 0;
@@ -16981,7 +17100,7 @@ function hyphenate2(value) {
16981
17100
  }).toLowerCase();
16982
17101
  }
16983
17102
 
16984
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
17103
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
16985
17104
  function nameFunctionsAndVariables(job) {
16986
17105
  addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
16987
17106
  }
@@ -17096,7 +17215,7 @@ function stripImportant(name) {
17096
17215
  return name;
17097
17216
  }
17098
17217
 
17099
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
17218
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
17100
17219
  function mergeNextContextExpressions(job) {
17101
17220
  for (const unit of job.units) {
17102
17221
  for (const op of unit.create) {
@@ -17142,7 +17261,7 @@ function mergeNextContextsInOps(ops) {
17142
17261
  }
17143
17262
  }
17144
17263
 
17145
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
17264
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
17146
17265
  var CONTAINER_TAG = "ng-container";
17147
17266
  function generateNgContainerOps(job) {
17148
17267
  for (const unit of job.units) {
@@ -17159,7 +17278,7 @@ function generateNgContainerOps(job) {
17159
17278
  }
17160
17279
  }
17161
17280
 
17162
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
17281
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
17163
17282
  function lookupElement3(elements, xref) {
17164
17283
  const el = elements.get(xref);
17165
17284
  if (el === void 0) {
@@ -17189,7 +17308,7 @@ function disableBindings(job) {
17189
17308
  }
17190
17309
  }
17191
17310
 
17192
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
17311
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
17193
17312
  function generateNullishCoalesceExpressions(job) {
17194
17313
  for (const unit of job.units) {
17195
17314
  for (const op of unit.ops()) {
@@ -17205,7 +17324,7 @@ function generateNullishCoalesceExpressions(job) {
17205
17324
  }
17206
17325
  }
17207
17326
 
17208
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
17327
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
17209
17328
  function kindTest(kind) {
17210
17329
  return (op) => op.kind === kind;
17211
17330
  }
@@ -17279,7 +17398,7 @@ function keepLast(ops) {
17279
17398
  return ops.slice(ops.length - 1);
17280
17399
  }
17281
17400
 
17282
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
17401
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
17283
17402
  function parseExtractedStyles(job) {
17284
17403
  for (const unit of job.units) {
17285
17404
  for (const op of unit.create) {
@@ -17302,7 +17421,7 @@ function parseExtractedStyles(job) {
17302
17421
  }
17303
17422
  }
17304
17423
 
17305
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
17424
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
17306
17425
  function removeContentSelectors(job) {
17307
17426
  for (const unit of job.units) {
17308
17427
  const elements = createOpXrefMap(unit);
@@ -17326,7 +17445,7 @@ function lookupInXrefMap(map, xref) {
17326
17445
  return el;
17327
17446
  }
17328
17447
 
17329
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
17448
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
17330
17449
  function createPipes(job) {
17331
17450
  for (const unit of job.units) {
17332
17451
  processPipeBindingsInView(unit);
@@ -17374,7 +17493,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
17374
17493
  throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
17375
17494
  }
17376
17495
 
17377
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
17496
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
17378
17497
  function createVariadicPipes(job) {
17379
17498
  for (const unit of job.units) {
17380
17499
  for (const op of unit.update) {
@@ -17391,7 +17510,7 @@ function createVariadicPipes(job) {
17391
17510
  }
17392
17511
  }
17393
17512
 
17394
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
17513
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
17395
17514
  function propagateI18nBlocks(job) {
17396
17515
  propagateI18nBlocksToTemplates(job.root, 0);
17397
17516
  }
@@ -17415,9 +17534,10 @@ function propagateI18nBlocksToTemplates(unit, subTemplateIndex) {
17415
17534
  subTemplateIndex++;
17416
17535
  wrapTemplateWithI18n(templateView, i18nBlock);
17417
17536
  }
17418
- propagateI18nBlocksToTemplates(templateView, subTemplateIndex);
17537
+ subTemplateIndex = propagateI18nBlocksToTemplates(templateView, subTemplateIndex);
17419
17538
  }
17420
17539
  }
17540
+ return subTemplateIndex;
17421
17541
  }
17422
17542
  function wrapTemplateWithI18n(unit, parentI18n) {
17423
17543
  var _a2;
@@ -17428,7 +17548,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
17428
17548
  }
17429
17549
  }
17430
17550
 
17431
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
17551
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
17432
17552
  function extractPureFunctions(job) {
17433
17553
  for (const view of job.units) {
17434
17554
  for (const op of view.ops()) {
@@ -17470,7 +17590,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
17470
17590
  }
17471
17591
  };
17472
17592
 
17473
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
17593
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
17474
17594
  function generatePureLiteralStructures(job) {
17475
17595
  for (const unit of job.units) {
17476
17596
  for (const op of unit.update) {
@@ -17517,7 +17637,7 @@ function transformLiteralMap(expr) {
17517
17637
  return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
17518
17638
  }
17519
17639
 
17520
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
17640
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
17521
17641
  function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
17522
17642
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
17523
17643
  }
@@ -17716,8 +17836,8 @@ function repeaterCreate(slot, viewFnName, decls, vars, tag, constIndex, trackByF
17716
17836
  }
17717
17837
  return call(Identifiers.repeaterCreate, args, sourceSpan);
17718
17838
  }
17719
- function repeater(metadataSlot, collection, sourceSpan) {
17720
- return call(Identifiers.repeater, [literal(metadataSlot), collection], sourceSpan);
17839
+ function repeater(collection, sourceSpan) {
17840
+ return call(Identifiers.repeater, [collection], sourceSpan);
17721
17841
  }
17722
17842
  function deferWhen(prefetch, expr, sourceSpan) {
17723
17843
  return call(prefetch ? Identifiers.deferPrefetchWhen : Identifiers.deferWhen, [expr], sourceSpan);
@@ -18028,7 +18148,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
18028
18148
  return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
18029
18149
  }
18030
18150
 
18031
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
18151
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
18032
18152
  var sanitizerIdentifierMap = /* @__PURE__ */ new Map([
18033
18153
  [SanitizerFn.Html, Identifiers.sanitizeHtml],
18034
18154
  [SanitizerFn.IframeAttribute, Identifiers.validateIframeAttribute],
@@ -18275,7 +18395,7 @@ function reifyUpdateOperations(_unit, ops) {
18275
18395
  OpList.replace(op, conditional(op.targetSlot.slot, op.processed, op.contextValue, op.sourceSpan));
18276
18396
  break;
18277
18397
  case OpKind.Repeater:
18278
- OpList.replace(op, repeater(op.targetSlot.slot, op.collection, op.sourceSpan));
18398
+ OpList.replace(op, repeater(op.collection, op.sourceSpan));
18279
18399
  break;
18280
18400
  case OpKind.DeferWhen:
18281
18401
  OpList.replace(op, deferWhen(op.prefetch, op.expr, op.sourceSpan));
@@ -18357,7 +18477,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
18357
18477
  return fn(params, handlerStmts, void 0, void 0, name);
18358
18478
  }
18359
18479
 
18360
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
18480
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
18361
18481
  function removeEmptyBindings(job) {
18362
18482
  for (const unit of job.units) {
18363
18483
  for (const op of unit.update) {
@@ -18378,7 +18498,7 @@ function removeEmptyBindings(job) {
18378
18498
  }
18379
18499
  }
18380
18500
 
18381
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
18501
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
18382
18502
  function removeI18nContexts(job) {
18383
18503
  for (const unit of job.units) {
18384
18504
  for (const op of unit.create) {
@@ -18394,7 +18514,7 @@ function removeI18nContexts(job) {
18394
18514
  }
18395
18515
  }
18396
18516
 
18397
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/repeater_derived_vars.mjs
18517
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/repeater_derived_vars.mjs
18398
18518
  function generateRepeaterDerivedVars(job) {
18399
18519
  const repeaters = /* @__PURE__ */ new Map();
18400
18520
  for (const unit of job.units) {
@@ -18426,7 +18546,7 @@ function generateRepeaterDerivedVars(job) {
18426
18546
  }
18427
18547
  }
18428
18548
 
18429
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
18549
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
18430
18550
  function resolveContexts(job) {
18431
18551
  for (const unit of job.units) {
18432
18552
  processLexicalScope(unit, unit.create);
@@ -18467,7 +18587,7 @@ function processLexicalScope(view, ops) {
18467
18587
  }
18468
18588
  }
18469
18589
 
18470
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
18590
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
18471
18591
  function resolveDollarEvent(job) {
18472
18592
  for (const unit of job.units) {
18473
18593
  transformDollarEvent(unit, unit.create);
@@ -18488,7 +18608,7 @@ function transformDollarEvent(unit, ops) {
18488
18608
  }
18489
18609
  }
18490
18610
 
18491
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
18611
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
18492
18612
  function resolveI18nElementPlaceholders(job) {
18493
18613
  const i18nContexts = /* @__PURE__ */ new Map();
18494
18614
  const elements = /* @__PURE__ */ new Map();
@@ -18504,55 +18624,67 @@ function resolveI18nElementPlaceholders(job) {
18504
18624
  }
18505
18625
  }
18506
18626
  }
18507
- for (const unit of job.units) {
18508
- let currentOps = null;
18509
- for (const op of unit.create) {
18510
- switch (op.kind) {
18511
- case OpKind.I18nStart:
18512
- if (!op.context) {
18513
- throw Error("Could not find i18n context for i18n op");
18627
+ resolvePlaceholdersForView(job, job.root, i18nContexts, elements);
18628
+ }
18629
+ function resolvePlaceholdersForView(job, unit, i18nContexts, elements) {
18630
+ let currentOps = null;
18631
+ for (const op of unit.create) {
18632
+ switch (op.kind) {
18633
+ case OpKind.I18nStart:
18634
+ if (!op.context) {
18635
+ throw Error("Could not find i18n context for i18n op");
18636
+ }
18637
+ currentOps = { i18nBlock: op, i18nContext: i18nContexts.get(op.context) };
18638
+ break;
18639
+ case OpKind.I18nEnd:
18640
+ currentOps = null;
18641
+ break;
18642
+ case OpKind.ElementStart:
18643
+ if (op.i18nPlaceholder !== void 0) {
18644
+ if (currentOps === null) {
18645
+ throw Error("i18n tag placeholder should only occur inside an i18n block");
18514
18646
  }
18515
- currentOps = { i18nBlock: op, i18nContext: i18nContexts.get(op.context) };
18516
- break;
18517
- case OpKind.I18nEnd:
18518
- currentOps = null;
18519
- break;
18520
- case OpKind.ElementStart:
18521
- if (op.i18nPlaceholder !== void 0) {
18522
- if (currentOps === null) {
18523
- throw Error("i18n tag placeholder should only occur inside an i18n block");
18524
- }
18525
- const { startName, closeName } = op.i18nPlaceholder;
18526
- let flags = I18nParamValueFlags.ElementTag | I18nParamValueFlags.OpenTag;
18527
- if (closeName === "") {
18528
- flags |= I18nParamValueFlags.CloseTag;
18529
- }
18530
- addParam(currentOps.i18nContext.params, startName, op.handle.slot, currentOps.i18nBlock.subTemplateIndex, flags);
18647
+ const { startName, closeName } = op.i18nPlaceholder;
18648
+ let flags = I18nParamValueFlags.ElementTag | I18nParamValueFlags.OpenTag;
18649
+ if (closeName === "") {
18650
+ flags |= I18nParamValueFlags.CloseTag;
18531
18651
  }
18532
- break;
18533
- case OpKind.ElementEnd:
18534
- const startOp = elements.get(op.xref);
18535
- if (startOp && startOp.i18nPlaceholder !== void 0) {
18536
- if (currentOps === null) {
18537
- throw Error("i18n tag placeholder should only occur inside an i18n block");
18538
- }
18539
- const { closeName } = startOp.i18nPlaceholder;
18540
- if (closeName !== "") {
18541
- addParam(currentOps.i18nContext.params, closeName, startOp.handle.slot, currentOps.i18nBlock.subTemplateIndex, I18nParamValueFlags.ElementTag | I18nParamValueFlags.CloseTag);
18542
- }
18652
+ addParam(currentOps.i18nContext.params, startName, op.handle.slot, currentOps.i18nBlock.subTemplateIndex, flags);
18653
+ }
18654
+ break;
18655
+ case OpKind.ElementEnd:
18656
+ const startOp = elements.get(op.xref);
18657
+ if (startOp && startOp.i18nPlaceholder !== void 0) {
18658
+ if (currentOps === null) {
18659
+ throw Error("i18n tag placeholder should only occur inside an i18n block");
18543
18660
  }
18544
- break;
18545
- case OpKind.Template:
18546
- if (op.i18nPlaceholder !== void 0) {
18547
- if (currentOps === null) {
18548
- throw Error("i18n tag placeholder should only occur inside an i18n block");
18549
- }
18550
- const subTemplateIndex = getSubTemplateIndexForTemplateTag(job, currentOps.i18nBlock, op);
18551
- addParam(currentOps.i18nContext.params, op.i18nPlaceholder.startName, op.handle.slot, subTemplateIndex, I18nParamValueFlags.TemplateTag);
18552
- addParam(currentOps.i18nContext.params, op.i18nPlaceholder.closeName, op.handle.slot, subTemplateIndex, I18nParamValueFlags.TemplateTag | I18nParamValueFlags.CloseTag);
18661
+ const { closeName } = startOp.i18nPlaceholder;
18662
+ if (closeName !== "") {
18663
+ addParam(currentOps.i18nContext.params, closeName, startOp.handle.slot, currentOps.i18nBlock.subTemplateIndex, I18nParamValueFlags.ElementTag | I18nParamValueFlags.CloseTag);
18553
18664
  }
18554
- break;
18555
- }
18665
+ }
18666
+ break;
18667
+ case OpKind.Template:
18668
+ if (op.i18nPlaceholder !== void 0) {
18669
+ if (currentOps === null) {
18670
+ throw Error("i18n tag placeholder should only occur inside an i18n block");
18671
+ }
18672
+ let startFlags = I18nParamValueFlags.TemplateTag | I18nParamValueFlags.OpenTag;
18673
+ const subTemplateIndex = getSubTemplateIndexForTemplateTag(job, currentOps.i18nBlock, op);
18674
+ const { startName, closeName } = op.i18nPlaceholder;
18675
+ const isSelfClosing = closeName === "";
18676
+ if (isSelfClosing) {
18677
+ startFlags |= I18nParamValueFlags.CloseTag;
18678
+ }
18679
+ addParam(currentOps.i18nContext.params, startName, op.handle.slot, subTemplateIndex, startFlags);
18680
+ resolvePlaceholdersForView(job, job.views.get(op.xref), i18nContexts, elements);
18681
+ if (!isSelfClosing) {
18682
+ addParam(currentOps.i18nContext.params, closeName, op.handle.slot, subTemplateIndex, I18nParamValueFlags.TemplateTag | I18nParamValueFlags.CloseTag);
18683
+ }
18684
+ } else {
18685
+ resolvePlaceholdersForView(job, job.views.get(op.xref), i18nContexts, elements);
18686
+ }
18687
+ break;
18556
18688
  }
18557
18689
  }
18558
18690
  }
@@ -18571,7 +18703,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
18571
18703
  params.set(placeholder, values);
18572
18704
  }
18573
18705
 
18574
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
18706
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
18575
18707
  function resolveI18nExpressionPlaceholders(job) {
18576
18708
  const subTemplateIndicies = /* @__PURE__ */ new Map();
18577
18709
  const i18nContexts = /* @__PURE__ */ new Map();
@@ -18592,8 +18724,8 @@ function resolveI18nExpressionPlaceholders(job) {
18592
18724
  for (const op of unit.update) {
18593
18725
  if (op.kind === OpKind.I18nExpression) {
18594
18726
  const i18nContext = i18nContexts.get(op.context);
18595
- const index = expressionIndices.get(i18nContext.i18nBlock) || 0;
18596
- const subTemplateIndex = subTemplateIndicies.get(i18nContext.i18nBlock);
18727
+ const index = expressionIndices.get(op.target) || 0;
18728
+ const subTemplateIndex = subTemplateIndicies.get(op.target);
18597
18729
  const params = op.resolutionTime === I18nParamResolutionTime.Creation ? i18nContext.params : i18nContext.postprocessingParams;
18598
18730
  const values = params.get(op.i18nPlaceholder) || [];
18599
18731
  values.push({
@@ -18602,36 +18734,20 @@ function resolveI18nExpressionPlaceholders(job) {
18602
18734
  flags: I18nParamValueFlags.ExpressionIndex
18603
18735
  });
18604
18736
  params.set(op.i18nPlaceholder, values);
18605
- expressionIndices.set(i18nContext.i18nBlock, index + 1);
18737
+ expressionIndices.set(op.target, index + 1);
18606
18738
  }
18607
18739
  }
18608
18740
  }
18609
18741
  }
18610
18742
 
18611
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_icu_placeholders.mjs
18743
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_icu_placeholders.mjs
18612
18744
  function resolveI18nIcuPlaceholders(job) {
18613
- const contextOps = /* @__PURE__ */ new Map();
18614
18745
  for (const unit of job.units) {
18615
18746
  for (const op of unit.create) {
18616
- switch (op.kind) {
18617
- case OpKind.I18nContext:
18618
- contextOps.set(op.xref, op);
18619
- break;
18620
- }
18621
- }
18622
- }
18623
- for (const unit of job.units) {
18624
- for (const op of unit.create) {
18625
- switch (op.kind) {
18626
- case OpKind.IcuStart:
18627
- if (op.context === null) {
18628
- throw Error("Icu should have its i18n context set.");
18629
- }
18630
- const i18nContext = contextOps.get(op.context);
18631
- for (const node of op.message.nodes) {
18632
- node.visit(new ResolveIcuPlaceholdersVisitor(i18nContext.postprocessingParams));
18633
- }
18634
- break;
18747
+ if (op.kind === OpKind.I18nContext && op.contextKind === I18nContextKind.Icu) {
18748
+ for (const node of op.message.nodes) {
18749
+ node.visit(new ResolveIcuPlaceholdersVisitor(op.postprocessingParams));
18750
+ }
18635
18751
  }
18636
18752
  }
18637
18753
  }
@@ -18641,9 +18757,8 @@ var ResolveIcuPlaceholdersVisitor = class extends RecurseVisitor {
18641
18757
  super();
18642
18758
  this.params = params;
18643
18759
  }
18644
- visitTagPlaceholder(placeholder) {
18760
+ visitContainerPlaceholder(placeholder) {
18645
18761
  var _a2, _b2;
18646
- super.visitTagPlaceholder(placeholder);
18647
18762
  if (placeholder.startName && placeholder.startSourceSpan && !this.params.has(placeholder.startName)) {
18648
18763
  this.params.set(placeholder.startName, [{
18649
18764
  value: (_a2 = placeholder.startSourceSpan) == null ? void 0 : _a2.toString(),
@@ -18659,9 +18774,17 @@ var ResolveIcuPlaceholdersVisitor = class extends RecurseVisitor {
18659
18774
  }]);
18660
18775
  }
18661
18776
  }
18777
+ visitTagPlaceholder(placeholder) {
18778
+ super.visitTagPlaceholder(placeholder);
18779
+ this.visitContainerPlaceholder(placeholder);
18780
+ }
18781
+ visitBlockPlaceholder(placeholder) {
18782
+ super.visitBlockPlaceholder(placeholder);
18783
+ this.visitContainerPlaceholder(placeholder);
18784
+ }
18662
18785
  };
18663
18786
 
18664
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
18787
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
18665
18788
  function resolveNames(job) {
18666
18789
  for (const unit of job.units) {
18667
18790
  processLexicalScope2(unit, unit.create, null);
@@ -18725,7 +18848,7 @@ function processLexicalScope2(unit, ops, savedView) {
18725
18848
  }
18726
18849
  }
18727
18850
 
18728
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
18851
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
18729
18852
  var sanitizers = /* @__PURE__ */ new Map([
18730
18853
  [SecurityContext.HTML, SanitizerFn.Html],
18731
18854
  [SecurityContext.SCRIPT, SanitizerFn.Script],
@@ -18762,7 +18885,7 @@ function isIframeElement(op) {
18762
18885
  return op.kind === OpKind.ElementStart && ((_a2 = op.tag) == null ? void 0 : _a2.toLowerCase()) === "iframe";
18763
18886
  }
18764
18887
 
18765
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
18888
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
18766
18889
  function saveAndRestoreView(job) {
18767
18890
  for (const unit of job.units) {
18768
18891
  unit.create.prepend([
@@ -18807,7 +18930,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
18807
18930
  }
18808
18931
  }
18809
18932
 
18810
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
18933
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
18811
18934
  function allocateSlots(job) {
18812
18935
  const slotMap = /* @__PURE__ */ new Map();
18813
18936
  for (const unit of job.units) {
@@ -18832,7 +18955,7 @@ function allocateSlots(job) {
18832
18955
  }
18833
18956
  }
18834
18957
 
18835
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
18958
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
18836
18959
  function specializeStyleBindings(job) {
18837
18960
  for (const unit of job.units) {
18838
18961
  for (const op of unit.update) {
@@ -18862,7 +18985,7 @@ function specializeStyleBindings(job) {
18862
18985
  }
18863
18986
  }
18864
18987
 
18865
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
18988
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
18866
18989
  function generateTemporaryVariables(job) {
18867
18990
  for (const unit of job.units) {
18868
18991
  unit.create.prepend(generateTemporaries(unit.create));
@@ -18920,7 +19043,7 @@ function assignName(names, expr) {
18920
19043
  expr.name = name;
18921
19044
  }
18922
19045
 
18923
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
19046
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
18924
19047
  function generateTrackFns(job) {
18925
19048
  for (const unit of job.units) {
18926
19049
  for (const op of unit.create) {
@@ -18950,7 +19073,7 @@ function generateTrackFns(job) {
18950
19073
  }
18951
19074
  }
18952
19075
 
18953
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
19076
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
18954
19077
  function optimizeTrackFns(job) {
18955
19078
  for (const unit of job.units) {
18956
19079
  for (const op of unit.create) {
@@ -18997,7 +19120,7 @@ function isTrackByFunctionCall(rootView, expr) {
18997
19120
  return true;
18998
19121
  }
18999
19122
 
19000
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
19123
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
19001
19124
  function generateTrackVariables(job) {
19002
19125
  for (const unit of job.units) {
19003
19126
  for (const op of unit.create) {
@@ -19018,7 +19141,7 @@ function generateTrackVariables(job) {
19018
19141
  }
19019
19142
  }
19020
19143
 
19021
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
19144
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
19022
19145
  function countVariables(job) {
19023
19146
  for (const unit of job.units) {
19024
19147
  let varCount = 0;
@@ -19123,7 +19246,7 @@ function isSingletonInterpolation(expr) {
19123
19246
  return true;
19124
19247
  }
19125
19248
 
19126
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
19249
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
19127
19250
  function optimizeVariables(job) {
19128
19251
  for (const unit of job.units) {
19129
19252
  inlineAlwaysInlineVariables(unit.create);
@@ -19373,7 +19496,7 @@ function allowConservativeInlining(decl, target) {
19373
19496
  }
19374
19497
  }
19375
19498
 
19376
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
19499
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
19377
19500
  function wrapI18nIcus(job) {
19378
19501
  for (const unit of job.units) {
19379
19502
  let currentI18nOp = null;
@@ -19403,7 +19526,7 @@ function wrapI18nIcus(job) {
19403
19526
  }
19404
19527
  }
19405
19528
 
19406
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
19529
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
19407
19530
  var phases = [
19408
19531
  { kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
19409
19532
  { kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
@@ -19446,7 +19569,6 @@ var phases = [
19446
19569
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
19447
19570
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
19448
19571
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nIcuPlaceholders },
19449
- { kind: CompilationJobKind.Tmpl, fn: mergeI18nContexts },
19450
19572
  { kind: CompilationJobKind.Tmpl, fn: extractI18nMessages },
19451
19573
  { kind: CompilationJobKind.Tmpl, fn: generateTrackFns },
19452
19574
  { kind: CompilationJobKind.Tmpl, fn: collectI18nConsts },
@@ -19568,7 +19690,7 @@ function emitHostBindingFunction(job) {
19568
19690
  );
19569
19691
  }
19570
19692
 
19571
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
19693
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
19572
19694
  var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
19573
19695
  function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
19574
19696
  const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta);
@@ -20149,10 +20271,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
20149
20271
  return null;
20150
20272
  }
20151
20273
 
20152
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
20274
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
20153
20275
  var USE_TEMPLATE_PIPELINE = false;
20154
20276
 
20155
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
20277
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
20156
20278
  var IMPORTANT_FLAG = "!important";
20157
20279
  var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
20158
20280
  var StylingBuilder = class {
@@ -20485,7 +20607,7 @@ function isEmptyExpression(ast) {
20485
20607
  return ast instanceof EmptyExpr;
20486
20608
  }
20487
20609
 
20488
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
20610
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
20489
20611
  var HtmlParser = class extends Parser2 {
20490
20612
  constructor() {
20491
20613
  super(getHtmlTagDefinition);
@@ -20495,7 +20617,7 @@ var HtmlParser = class extends Parser2 {
20495
20617
  }
20496
20618
  };
20497
20619
 
20498
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
20620
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
20499
20621
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
20500
20622
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
20501
20623
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -20561,7 +20683,7 @@ function visitAllWithSiblings(visitor, nodes) {
20561
20683
  return result;
20562
20684
  }
20563
20685
 
20564
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
20686
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
20565
20687
  var PROPERTY_PARTS_SEPARATOR = ".";
20566
20688
  var ATTRIBUTE_PREFIX = "attr";
20567
20689
  var CLASS_PREFIX = "class";
@@ -20881,7 +21003,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
20881
21003
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
20882
21004
  }
20883
21005
 
20884
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
21006
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
20885
21007
  function isStyleUrlResolvable(url) {
20886
21008
  if (url == null || url.length === 0 || url[0] == "/")
20887
21009
  return false;
@@ -20890,7 +21012,7 @@ function isStyleUrlResolvable(url) {
20890
21012
  }
20891
21013
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
20892
21014
 
20893
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
21015
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
20894
21016
  var NG_CONTENT_SELECT_ATTR = "select";
20895
21017
  var LINK_ELEMENT = "link";
20896
21018
  var LINK_STYLE_REL_ATTR = "rel";
@@ -20960,7 +21082,7 @@ function normalizeNgContentSelect(selectAttr) {
20960
21082
  return selectAttr;
20961
21083
  }
20962
21084
 
20963
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
21085
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
20964
21086
  var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
20965
21087
  var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
20966
21088
  var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
@@ -20978,18 +21100,18 @@ function createIfBlock(ast, connectedBlocks, visitor, bindingParser) {
20978
21100
  const branches = [];
20979
21101
  const mainBlockParams = parseConditionalBlockParameters(ast, errors, bindingParser);
20980
21102
  if (mainBlockParams !== null) {
20981
- branches.push(new IfBlockBranch(mainBlockParams.expression, visitAll2(visitor, ast.children, ast.children), mainBlockParams.expressionAlias, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan, ast.nameSpan));
21103
+ branches.push(new IfBlockBranch(mainBlockParams.expression, visitAll2(visitor, ast.children, ast.children), mainBlockParams.expressionAlias, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan, ast.nameSpan, ast.i18n));
20982
21104
  }
20983
21105
  for (const block of connectedBlocks) {
20984
21106
  if (ELSE_IF_PATTERN.test(block.name)) {
20985
21107
  const params = parseConditionalBlockParameters(block, errors, bindingParser);
20986
21108
  if (params !== null) {
20987
21109
  const children = visitAll2(visitor, block.children, block.children);
20988
- branches.push(new IfBlockBranch(params.expression, children, params.expressionAlias, block.sourceSpan, block.startSourceSpan, block.endSourceSpan, block.nameSpan));
21110
+ branches.push(new IfBlockBranch(params.expression, children, params.expressionAlias, block.sourceSpan, block.startSourceSpan, block.endSourceSpan, block.nameSpan, block.i18n));
20989
21111
  }
20990
21112
  } else if (block.name === "else") {
20991
21113
  const children = visitAll2(visitor, block.children, block.children);
20992
- branches.push(new IfBlockBranch(null, children, null, block.sourceSpan, block.startSourceSpan, block.endSourceSpan, block.nameSpan));
21114
+ branches.push(new IfBlockBranch(null, children, null, block.sourceSpan, block.startSourceSpan, block.endSourceSpan, block.nameSpan, block.i18n));
20993
21115
  }
20994
21116
  }
20995
21117
  const ifBlockStartSourceSpan = branches.length > 0 ? branches[0].startSourceSpan : ast.startSourceSpan;
@@ -21017,7 +21139,7 @@ function createForLoop(ast, connectedBlocks, visitor, bindingParser) {
21017
21139
  } else if (block.parameters.length > 0) {
21018
21140
  errors.push(new ParseError(block.sourceSpan, "@empty block cannot have parameters"));
21019
21141
  } else {
21020
- empty = new ForLoopBlockEmpty(visitAll2(visitor, block.children, block.children), block.sourceSpan, block.startSourceSpan, block.endSourceSpan, block.nameSpan);
21142
+ empty = new ForLoopBlockEmpty(visitAll2(visitor, block.children, block.children), block.sourceSpan, block.startSourceSpan, block.endSourceSpan, block.nameSpan, block.i18n);
21021
21143
  }
21022
21144
  } else {
21023
21145
  errors.push(new ParseError(block.sourceSpan, `Unrecognized @for loop block "${block.name}"`));
@@ -21029,7 +21151,7 @@ function createForLoop(ast, connectedBlocks, visitor, bindingParser) {
21029
21151
  } else {
21030
21152
  const endSpan = (_a2 = empty == null ? void 0 : empty.endSourceSpan) != null ? _a2 : ast.endSourceSpan;
21031
21153
  const sourceSpan = new ParseSourceSpan(ast.sourceSpan.start, (_b2 = endSpan == null ? void 0 : endSpan.end) != null ? _b2 : ast.sourceSpan.end);
21032
- node = new ForLoopBlock(params.itemName, params.expression, params.trackBy.expression, params.trackBy.keywordSpan, params.context, visitAll2(visitor, ast.children, ast.children), empty, sourceSpan, ast.sourceSpan, ast.startSourceSpan, endSpan, ast.nameSpan);
21154
+ node = new ForLoopBlock(params.itemName, params.expression, params.trackBy.expression, params.trackBy.keywordSpan, params.context, visitAll2(visitor, ast.children, ast.children), empty, sourceSpan, ast.sourceSpan, ast.startSourceSpan, endSpan, ast.nameSpan, ast.i18n);
21033
21155
  }
21034
21156
  }
21035
21157
  return { node, errors };
@@ -21049,7 +21171,7 @@ function createSwitchBlock(ast, visitor, bindingParser) {
21049
21171
  continue;
21050
21172
  }
21051
21173
  const expression = node.name === "case" ? parseBlockParameterToBinding(node.parameters[0], bindingParser) : null;
21052
- const ast2 = new SwitchBlockCase(expression, visitAll2(visitor, node.children, node.children), node.sourceSpan, node.startSourceSpan, node.endSourceSpan, node.nameSpan);
21174
+ const ast2 = new SwitchBlockCase(expression, visitAll2(visitor, node.children, node.children), node.sourceSpan, node.startSourceSpan, node.endSourceSpan, node.nameSpan, node.i18n);
21053
21175
  if (expression === null) {
21054
21176
  defaultCase = ast2;
21055
21177
  } else {
@@ -21251,7 +21373,7 @@ function stripOptionalParentheses(param, errors) {
21251
21373
  return expression.slice(start, end);
21252
21374
  }
21253
21375
 
21254
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
21376
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
21255
21377
  var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
21256
21378
  var SEPARATOR_PATTERN = /^\s$/;
21257
21379
  var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
@@ -21515,7 +21637,7 @@ function parseDeferredTime(value) {
21515
21637
  return parseFloat(time) * (units === "s" ? 1e3 : 1);
21516
21638
  }
21517
21639
 
21518
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
21640
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
21519
21641
  var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
21520
21642
  var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
21521
21643
  var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
@@ -21537,7 +21659,7 @@ function createDeferredBlock(ast, connectedBlocks, visitor, bindingParser) {
21537
21659
  endOfLastSourceSpan = lastConnectedBlock.sourceSpan.end;
21538
21660
  }
21539
21661
  const sourceSpanWithConnectedBlocks = new ParseSourceSpan(ast.sourceSpan.start, endOfLastSourceSpan);
21540
- const node = new DeferredBlock(visitAll2(visitor, ast.children, ast.children), triggers, prefetchTriggers, placeholder, loading, error2, ast.nameSpan, sourceSpanWithConnectedBlocks, ast.sourceSpan, ast.startSourceSpan, lastEndSourceSpan);
21662
+ const node = new DeferredBlock(visitAll2(visitor, ast.children, ast.children), triggers, prefetchTriggers, placeholder, loading, error2, ast.nameSpan, sourceSpanWithConnectedBlocks, ast.sourceSpan, ast.startSourceSpan, lastEndSourceSpan, ast.i18n);
21541
21663
  return { node, errors };
21542
21664
  }
21543
21665
  function parseConnectedBlocks(connectedBlocks, errors, visitor) {
@@ -21595,7 +21717,7 @@ function parsePlaceholderBlock(ast, visitor) {
21595
21717
  throw new Error(`Unrecognized parameter in @placeholder block: "${param.expression}"`);
21596
21718
  }
21597
21719
  }
21598
- return new DeferredBlockPlaceholder(visitAll2(visitor, ast.children, ast.children), minimumTime, ast.nameSpan, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);
21720
+ return new DeferredBlockPlaceholder(visitAll2(visitor, ast.children, ast.children), minimumTime, ast.nameSpan, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan, ast.i18n);
21599
21721
  }
21600
21722
  function parseLoadingBlock(ast, visitor) {
21601
21723
  let afterTime = null;
@@ -21623,13 +21745,13 @@ function parseLoadingBlock(ast, visitor) {
21623
21745
  throw new Error(`Unrecognized parameter in @loading block: "${param.expression}"`);
21624
21746
  }
21625
21747
  }
21626
- return new DeferredBlockLoading(visitAll2(visitor, ast.children, ast.children), afterTime, minimumTime, ast.nameSpan, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);
21748
+ return new DeferredBlockLoading(visitAll2(visitor, ast.children, ast.children), afterTime, minimumTime, ast.nameSpan, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan, ast.i18n);
21627
21749
  }
21628
21750
  function parseErrorBlock(ast, visitor) {
21629
21751
  if (ast.parameters.length > 0) {
21630
21752
  throw new Error(`@error block cannot have parameters`);
21631
21753
  }
21632
- return new DeferredBlockError(visitAll2(visitor, ast.children, ast.children), ast.nameSpan, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);
21754
+ return new DeferredBlockError(visitAll2(visitor, ast.children, ast.children), ast.nameSpan, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan, ast.i18n);
21633
21755
  }
21634
21756
  function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
21635
21757
  const triggers = {};
@@ -21650,7 +21772,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
21650
21772
  return { triggers, prefetchTriggers };
21651
21773
  }
21652
21774
 
21653
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
21775
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
21654
21776
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
21655
21777
  var KW_BIND_IDX = 1;
21656
21778
  var KW_LET_IDX = 2;
@@ -22081,7 +22203,7 @@ function textContents(node) {
22081
22203
  }
22082
22204
  }
22083
22205
 
22084
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
22206
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
22085
22207
  var TagType;
22086
22208
  (function(TagType2) {
22087
22209
  TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
@@ -22113,6 +22235,11 @@ var I18nContext = class {
22113
22235
  const content = { type, index, ctx: this.id, isVoid: node.isVoid, closed };
22114
22236
  updatePlaceholderMap(this.placeholders, ph, content);
22115
22237
  }
22238
+ appendBlockPart(node, index, closed) {
22239
+ const ph = closed ? node.closeName : node.startName;
22240
+ const content = { type: TagType.TEMPLATE, index, ctx: this.id, closed };
22241
+ updatePlaceholderMap(this.placeholders, ph, content);
22242
+ }
22116
22243
  get icus() {
22117
22244
  return this._registry.icus;
22118
22245
  }
@@ -22142,6 +22269,11 @@ var I18nContext = class {
22142
22269
  this.appendTag(TagType.TEMPLATE, node, index, true);
22143
22270
  this._unresolvedCtxCount++;
22144
22271
  }
22272
+ appendBlock(node, index) {
22273
+ this.appendBlockPart(node, index, false);
22274
+ this.appendBlockPart(node, index, true);
22275
+ this._unresolvedCtxCount++;
22276
+ }
22145
22277
  appendElement(node, index, closed) {
22146
22278
  this.appendTag(TagType.ELEMENT, node, index, closed);
22147
22279
  }
@@ -22216,7 +22348,7 @@ function serializePlaceholderValue(value) {
22216
22348
  }
22217
22349
  }
22218
22350
 
22219
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
22351
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
22220
22352
  var NG_CONTENT_SELECT_ATTR2 = "select";
22221
22353
  var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
22222
22354
  var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
@@ -22337,12 +22469,18 @@ var TemplateDefinitionBuilder = class {
22337
22469
  this.creationInstruction(null, Identifiers.pipe, [literal(slot), literal(name)]);
22338
22470
  });
22339
22471
  }
22340
- buildTemplateFunction(nodes, variables, ngContentSelectorsOffset = 0, i18n2) {
22472
+ buildTemplateFunction(nodes, variables, ngContentSelectorsOffset = 0, i18n2, variableAliases) {
22341
22473
  this._ngContentSelectorsOffset = ngContentSelectorsOffset;
22342
22474
  if (this._namespace !== Identifiers.namespaceHTML) {
22343
22475
  this.creationInstruction(null, this._namespace);
22344
22476
  }
22345
- variables.forEach((v) => this.registerContextVariables(v));
22477
+ variables.forEach((v) => {
22478
+ const alias = variableAliases == null ? void 0 : variableAliases[v.name];
22479
+ this.registerContextVariables(v.name, v.value);
22480
+ if (alias) {
22481
+ this.registerContextVariables(alias, v.value);
22482
+ }
22483
+ });
22346
22484
  const initI18nContext = this.i18nContext || isI18nRootNode(i18n2) && !isSingleI18nIcu(i18n2) && !(isSingleElementTemplate(nodes) && nodes[0].i18n === i18n2);
22347
22485
  const selfClosingI18nInstruction = hasTextChildrenOnly(nodes);
22348
22486
  if (initI18nContext) {
@@ -22397,12 +22535,12 @@ var TemplateDefinitionBuilder = class {
22397
22535
  this._constants.prepareStatements.push(...statements);
22398
22536
  return _ref;
22399
22537
  }
22400
- registerContextVariables(variable2) {
22538
+ registerContextVariables(name, value) {
22401
22539
  const scopedName = this._bindingScope.freshReferenceName();
22402
22540
  const retrievalLevel = this.level;
22403
- const isDirect = variable2.value === DIRECT_CONTEXT_REFERENCE;
22404
- const lhs = variable(variable2.name + scopedName);
22405
- this._bindingScope.set(retrievalLevel, variable2.name, (scope) => {
22541
+ const isDirect = value === DIRECT_CONTEXT_REFERENCE;
22542
+ const lhs = variable(name + scopedName);
22543
+ this._bindingScope.set(retrievalLevel, name, (scope) => {
22406
22544
  return isDirect && scope.bindingLevel === retrievalLevel && !scope.isListenerScope() ? variable(CONTEXT_NAME) : lhs;
22407
22545
  }, 1, (scope, relativeLevel) => {
22408
22546
  let rhs;
@@ -22420,7 +22558,7 @@ var TemplateDefinitionBuilder = class {
22420
22558
  rhs = sharedCtxVar ? sharedCtxVar : generateNextContextExpr(relativeLevel);
22421
22559
  }
22422
22560
  return [
22423
- lhs.set(isDirect ? rhs : rhs.prop(variable2.value || IMPLICIT_REFERENCE)).toConstDecl()
22561
+ lhs.set(isDirect ? rhs : rhs.prop(value || IMPLICIT_REFERENCE)).toConstDecl()
22424
22562
  ];
22425
22563
  });
22426
22564
  }
@@ -22759,16 +22897,20 @@ var TemplateDefinitionBuilder = class {
22759
22897
  this.creationInstruction(span, isNgContainer2 ? Identifiers.elementContainerEnd : Identifiers.elementEnd);
22760
22898
  }
22761
22899
  }
22762
- prepareEmbeddedTemplateFn(children, contextNameSuffix, variables = [], i18n2) {
22900
+ prepareEmbeddedTemplateFn(children, contextNameSuffix, variables = [], i18nMeta, variableAliases) {
22763
22901
  const index = this.allocateDataSlot();
22764
- if (this.i18n && i18n2) {
22765
- this.i18n.appendTemplate(i18n2, index);
22902
+ if (this.i18n && i18nMeta) {
22903
+ if (i18nMeta instanceof BlockPlaceholder) {
22904
+ this.i18n.appendBlock(i18nMeta, index);
22905
+ } else {
22906
+ this.i18n.appendTemplate(i18nMeta, index);
22907
+ }
22766
22908
  }
22767
22909
  const contextName = `${this.contextName}${contextNameSuffix}_${index}`;
22768
22910
  const name = `${contextName}_Template`;
22769
22911
  const visitor = new TemplateDefinitionBuilder(this.constantPool, this._bindingScope, this.level + 1, contextName, this.i18n, index, name, this._namespace, this.fileBasedI18nSuffix, this.i18nUseExternalIds, this.deferBlocks, this.elementLocations, this._constants);
22770
22912
  this._nestedTemplateFns.push(() => {
22771
- const templateFunctionExpr = visitor.buildTemplateFunction(children, variables, this._ngContentReservedSlots.length + this._ngContentSelectorsOffset, i18n2);
22913
+ const templateFunctionExpr = visitor.buildTemplateFunction(children, variables, this._ngContentReservedSlots.length + this._ngContentSelectorsOffset, i18nMeta, variableAliases);
22772
22914
  this.constantPool.statements.push(templateFunctionExpr.toDeclStmt(name));
22773
22915
  if (visitor._ngContentReservedSlots.length) {
22774
22916
  this._ngContentReservedSlots.push(...visitor._ngContentReservedSlots);
@@ -22878,7 +23020,7 @@ var TemplateDefinitionBuilder = class {
22878
23020
  tagName = inferredData.tagName;
22879
23021
  attrsExprs = inferredData.attrsExprs;
22880
23022
  }
22881
- const templateIndex = this.createEmbeddedTemplateFn(tagName, children, "_Conditional", sourceSpan, variables, attrsExprs);
23023
+ const templateIndex = this.createEmbeddedTemplateFn(tagName, children, "_Conditional", sourceSpan, variables, attrsExprs, void 0, branch.i18n);
22882
23024
  const processedExpression = expression === null ? null : expression.visit(this._valueConverter);
22883
23025
  return { index: templateIndex, expression: processedExpression, alias: expressionAlias };
22884
23026
  });
@@ -22912,7 +23054,7 @@ var TemplateDefinitionBuilder = class {
22912
23054
  }
22913
23055
  visitSwitchBlock(block) {
22914
23056
  const caseData = block.cases.map((currentCase) => {
22915
- const index = this.createEmbeddedTemplateFn(null, currentCase.children, "_Case", currentCase.sourceSpan);
23057
+ const index = this.createEmbeddedTemplateFn(null, currentCase.children, "_Case", currentCase.sourceSpan, void 0, void 0, void 0, currentCase.i18n);
22916
23058
  const expression = currentCase.expression === null ? null : currentCase.expression.visit(this._valueConverter);
22917
23059
  return { index, expression };
22918
23060
  });
@@ -22940,12 +23082,12 @@ var TemplateDefinitionBuilder = class {
22940
23082
  if (!metadata) {
22941
23083
  throw new Error("Could not resolve `defer` block metadata. Block may need to be analyzed.");
22942
23084
  }
22943
- const primaryTemplateIndex = this.createEmbeddedTemplateFn(null, deferred.children, "_Defer", deferred.sourceSpan);
22944
- const loadingIndex = loading ? this.createEmbeddedTemplateFn(null, loading.children, "_DeferLoading", loading.sourceSpan) : null;
23085
+ const primaryTemplateIndex = this.createEmbeddedTemplateFn(null, deferred.children, "_Defer", deferred.sourceSpan, void 0, void 0, void 0, deferred.i18n);
23086
+ const loadingIndex = loading ? this.createEmbeddedTemplateFn(null, loading.children, "_DeferLoading", loading.sourceSpan, void 0, void 0, void 0, loading.i18n) : null;
22945
23087
  const loadingConsts = loading ? trimTrailingNulls([literal(loading.minimumTime), literal(loading.afterTime)]) : null;
22946
- const placeholderIndex = placeholder ? this.createEmbeddedTemplateFn(null, placeholder.children, "_DeferPlaceholder", placeholder.sourceSpan) : null;
23088
+ const placeholderIndex = placeholder ? this.createEmbeddedTemplateFn(null, placeholder.children, "_DeferPlaceholder", placeholder.sourceSpan, void 0, void 0, void 0, placeholder.i18n) : null;
22947
23089
  const placeholderConsts = placeholder && placeholder.minimumTime !== null ? literalArr([literal(placeholder.minimumTime)]) : null;
22948
- const errorIndex = error2 ? this.createEmbeddedTemplateFn(null, error2.children, "_DeferError", error2.sourceSpan) : null;
23090
+ const errorIndex = error2 ? this.createEmbeddedTemplateFn(null, error2.children, "_DeferError", error2.sourceSpan, void 0, void 0, void 0, error2.i18n) : null;
22949
23091
  const deferredIndex = this.allocateDataSlot();
22950
23092
  const depsFnName = `${this.contextName}_Defer_${deferredIndex}_DepsFn`;
22951
23093
  this.creationInstruction(deferred.sourceSpan, Identifiers.defer, trimTrailingNulls([
@@ -23054,11 +23196,14 @@ var TemplateDefinitionBuilder = class {
23054
23196
  visitForLoopBlock(block) {
23055
23197
  const blockIndex = this.allocateDataSlot();
23056
23198
  const { tagName, attrsExprs } = this.inferProjectionDataFromInsertionPoint(block);
23057
- const primaryData = this.prepareEmbeddedTemplateFn(block.children, "_For", [block.item, block.contextVariables.$index, block.contextVariables.$count]);
23199
+ const primaryData = this.prepareEmbeddedTemplateFn(block.children, "_For", [block.item, block.contextVariables.$index, block.contextVariables.$count], block.i18n, {
23200
+ [block.contextVariables.$index.name]: this.getLevelSpecificVariableName("$index", this.level + 1),
23201
+ [block.contextVariables.$count.name]: this.getLevelSpecificVariableName("$count", this.level + 1)
23202
+ });
23058
23203
  const { expression: trackByExpression, usesComponentInstance: trackByUsesComponentInstance } = this.createTrackByFunction(block);
23059
23204
  let emptyData = null;
23060
23205
  if (block.empty !== null) {
23061
- emptyData = this.prepareEmbeddedTemplateFn(block.empty.children, "_ForEmpty");
23206
+ emptyData = this.prepareEmbeddedTemplateFn(block.empty.children, "_ForEmpty", void 0, block.empty.i18n);
23062
23207
  this.allocateBindingSlots(null);
23063
23208
  }
23064
23209
  this.registerComputedLoopVariables(block, primaryData.scope);
@@ -23080,16 +23225,31 @@ var TemplateDefinitionBuilder = class {
23080
23225
  return params;
23081
23226
  });
23082
23227
  const value = block.expression.visit(this._valueConverter);
23083
- this.updateInstruction(block.sourceSpan, Identifiers.repeater, () => [literal(blockIndex), this.convertPropertyBinding(value)]);
23228
+ this.updateInstructionWithAdvance(blockIndex, block.sourceSpan, Identifiers.repeater, () => [this.convertPropertyBinding(value)]);
23084
23229
  }
23085
23230
  registerComputedLoopVariables(block, bindingScope) {
23086
- const indexLocalName = block.contextVariables.$index.name;
23087
- const countLocalName = block.contextVariables.$count.name;
23088
23231
  const level = bindingScope.bindingLevel;
23089
- bindingScope.set(level, block.contextVariables.$odd.name, (scope) => scope.get(indexLocalName).modulo(literal(2)).notIdentical(literal(0)));
23090
- bindingScope.set(level, block.contextVariables.$even.name, (scope) => scope.get(indexLocalName).modulo(literal(2)).identical(literal(0)));
23091
- bindingScope.set(level, block.contextVariables.$first.name, (scope) => scope.get(indexLocalName).identical(literal(0)));
23092
- bindingScope.set(level, block.contextVariables.$last.name, (scope) => scope.get(indexLocalName).identical(scope.get(countLocalName).minus(literal(1))));
23232
+ bindingScope.set(level, block.contextVariables.$odd.name, (scope, retrievalLevel) => {
23233
+ return this.getLevelSpecificForLoopVariable(block, scope, retrievalLevel, "$index").modulo(literal(2)).notIdentical(literal(0));
23234
+ });
23235
+ bindingScope.set(level, block.contextVariables.$even.name, (scope, retrievalLevel) => {
23236
+ return this.getLevelSpecificForLoopVariable(block, scope, retrievalLevel, "$index").modulo(literal(2)).identical(literal(0));
23237
+ });
23238
+ bindingScope.set(level, block.contextVariables.$first.name, (scope, retrievalLevel) => {
23239
+ return this.getLevelSpecificForLoopVariable(block, scope, retrievalLevel, "$index").identical(literal(0));
23240
+ });
23241
+ bindingScope.set(level, block.contextVariables.$last.name, (scope, retrievalLevel) => {
23242
+ const index = this.getLevelSpecificForLoopVariable(block, scope, retrievalLevel, "$index");
23243
+ const count = this.getLevelSpecificForLoopVariable(block, scope, retrievalLevel, "$count");
23244
+ return index.identical(count.minus(literal(1)));
23245
+ });
23246
+ }
23247
+ getLevelSpecificVariableName(name, level) {
23248
+ return `\u0275${name}_${level}`;
23249
+ }
23250
+ getLevelSpecificForLoopVariable(block, scope, retrievalLevel, name) {
23251
+ const scopeName = scope.bindingLevel === retrievalLevel ? block.contextVariables[name].name : this.getLevelSpecificVariableName(name, retrievalLevel);
23252
+ return scope.get(scopeName);
23093
23253
  }
23094
23254
  optimizeTrackByFunction(block) {
23095
23255
  const indexLocalName = block.contextVariables.$index.name;
@@ -23499,7 +23659,7 @@ var BindingScope = class {
23499
23659
  if (value.declareLocalCallback && !value.declare) {
23500
23660
  value.declare = true;
23501
23661
  }
23502
- return typeof value.lhs === "function" ? value.lhs(this) : value.lhs;
23662
+ return typeof value.lhs === "function" ? value.lhs(this, value.retrievalLevel) : value.lhs;
23503
23663
  }
23504
23664
  current = current.parent;
23505
23665
  }
@@ -23575,7 +23735,7 @@ var BindingScope = class {
23575
23735
  const componentValue = this.map.get(SHARED_CONTEXT_KEY + 0);
23576
23736
  componentValue.declare = true;
23577
23737
  this.maybeRestoreView();
23578
- const lhs = typeof componentValue.lhs === "function" ? componentValue.lhs(this) : componentValue.lhs;
23738
+ const lhs = typeof componentValue.lhs === "function" ? componentValue.lhs(this, componentValue.retrievalLevel) : componentValue.lhs;
23579
23739
  return name === DIRECT_CONTEXT_REFERENCE ? lhs : lhs.prop(name);
23580
23740
  }
23581
23741
  maybeRestoreView() {
@@ -23880,7 +24040,7 @@ function createClosureModeGuard2() {
23880
24040
  return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
23881
24041
  }
23882
24042
 
23883
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
24043
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
23884
24044
  var ATTR_REGEX = /attr\.([^\]]+)/;
23885
24045
  var COMPONENT_VARIABLE = "%COMP%";
23886
24046
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
@@ -23931,6 +24091,9 @@ function addFeatures(definitionMap, meta) {
23931
24091
  break;
23932
24092
  }
23933
24093
  }
24094
+ if ((_a2 = meta.hostDirectives) == null ? void 0 : _a2.length) {
24095
+ features.push(importExpr(Identifiers.HostDirectivesFeature).callFn([createHostDirectivesFeatureArg(meta.hostDirectives)]));
24096
+ }
23934
24097
  if (meta.usesInheritance) {
23935
24098
  features.push(importExpr(Identifiers.InheritDefinitionFeature));
23936
24099
  }
@@ -23943,9 +24106,6 @@ function addFeatures(definitionMap, meta) {
23943
24106
  if (meta.hasOwnProperty("template") && meta.isStandalone) {
23944
24107
  features.push(importExpr(Identifiers.StandaloneFeature));
23945
24108
  }
23946
- if ((_a2 = meta.hostDirectives) == null ? void 0 : _a2.length) {
23947
- features.push(importExpr(Identifiers.HostDirectivesFeature).callFn([createHostDirectivesFeatureArg(meta.hostDirectives)]));
23948
- }
23949
24109
  if (features.length) {
23950
24110
  definitionMap.set("features", literalArr(features));
23951
24111
  }
@@ -24482,7 +24642,7 @@ function createHostDirectivesMappingArray(mapping) {
24482
24642
  return elements.length > 0 ? literalArr(elements) : null;
24483
24643
  }
24484
24644
 
24485
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
24645
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
24486
24646
  var R3TargetBinder = class {
24487
24647
  constructor(directiveMatcher) {
24488
24648
  this.directiveMatcher = directiveMatcher;
@@ -25087,11 +25247,11 @@ function extractScopedNodeEntities(rootScope) {
25087
25247
  return templateEntities;
25088
25248
  }
25089
25249
 
25090
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25250
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25091
25251
  var ResourceLoader = class {
25092
25252
  };
25093
25253
 
25094
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25254
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25095
25255
  var CompilerFacadeImpl = class {
25096
25256
  constructor(jitEvaluator = new JitEvaluator()) {
25097
25257
  this.jitEvaluator = jitEvaluator;
@@ -25643,10 +25803,10 @@ function publishFacade(global) {
25643
25803
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
25644
25804
  }
25645
25805
 
25646
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
25647
- var VERSION2 = new Version("17.0.3");
25806
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
25807
+ var VERSION2 = new Version("17.0.5");
25648
25808
 
25649
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
25809
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
25650
25810
  var _I18N_ATTR = "i18n";
25651
25811
  var _I18N_ATTR_PREFIX = "i18n-";
25652
25812
  var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
@@ -25831,7 +25991,7 @@ var _Visitor3 = class {
25831
25991
  this._errors = [];
25832
25992
  this._messages = [];
25833
25993
  this._inImplicitNode = false;
25834
- this._createI18nMessage = createI18nMessageFactory(interpolationConfig);
25994
+ this._createI18nMessage = createI18nMessageFactory(interpolationConfig, DEFAULT_CONTAINER_BLOCKS);
25835
25995
  }
25836
25996
  _visitAttributesOf(el) {
25837
25997
  const explicitAttrNameToValue = {};
@@ -25955,7 +26115,7 @@ function _parseMessageMeta(i18n2) {
25955
26115
  return { meaning, description, id: id.trim() };
25956
26116
  }
25957
26117
 
25958
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
26118
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
25959
26119
  var XmlTagDefinition = class {
25960
26120
  constructor() {
25961
26121
  this.closedByParent = false;
@@ -25980,7 +26140,7 @@ function getXmlTagDefinition(tagName) {
25980
26140
  return _TAG_DEFINITION;
25981
26141
  }
25982
26142
 
25983
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
26143
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
25984
26144
  var XmlParser = class extends Parser2 {
25985
26145
  constructor() {
25986
26146
  super(getXmlTagDefinition);
@@ -25990,7 +26150,7 @@ var XmlParser = class extends Parser2 {
25990
26150
  }
25991
26151
  };
25992
26152
 
25993
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
26153
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
25994
26154
  var _VERSION = "1.2";
25995
26155
  var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
25996
26156
  var _DEFAULT_SOURCE_LANG = "en";
@@ -26089,6 +26249,12 @@ var _WriteVisitor = class {
26089
26249
  visitPlaceholder(ph, context) {
26090
26250
  return [new Tag(_PLACEHOLDER_TAG2, { id: ph.name, "equiv-text": `{{${ph.value}}}` })];
26091
26251
  }
26252
+ visitBlockPlaceholder(ph, context) {
26253
+ const ctype = `x-${ph.name.toLowerCase().replace(/[^a-z0-9]/g, "-")}`;
26254
+ const startTagPh = new Tag(_PLACEHOLDER_TAG2, { id: ph.startName, ctype, "equiv-text": `@${ph.name}` });
26255
+ const closeTagPh = new Tag(_PLACEHOLDER_TAG2, { id: ph.closeName, ctype, "equiv-text": `}` });
26256
+ return [startTagPh, ...this.serialize(ph.children), closeTagPh];
26257
+ }
26092
26258
  visitIcuPlaceholder(ph, context) {
26093
26259
  const equivText = `{${ph.value.expression}, ${ph.value.type}, ${Object.keys(ph.value.cases).map((value) => value + " {...}").join(" ")}}`;
26094
26260
  return [new Tag(_PLACEHOLDER_TAG2, { id: ph.name, "equiv-text": equivText })];
@@ -26238,7 +26404,7 @@ function getCtypeForTag(tag) {
26238
26404
  }
26239
26405
  }
26240
26406
 
26241
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
26407
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
26242
26408
  var _VERSION2 = "2.0";
26243
26409
  var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
26244
26410
  var _DEFAULT_SOURCE_LANG2 = "en";
@@ -26360,6 +26526,23 @@ var _WriteVisitor2 = class {
26360
26526
  disp: `{{${ph.value}}}`
26361
26527
  })];
26362
26528
  }
26529
+ visitBlockPlaceholder(ph, context) {
26530
+ const tagPc = new Tag(_PLACEHOLDER_SPANNING_TAG, {
26531
+ id: (this._nextPlaceholderId++).toString(),
26532
+ equivStart: ph.startName,
26533
+ equivEnd: ph.closeName,
26534
+ type: "other",
26535
+ dispStart: `@${ph.name}`,
26536
+ dispEnd: `}`
26537
+ });
26538
+ const nodes = [].concat(...ph.children.map((node) => node.visit(this)));
26539
+ if (nodes.length) {
26540
+ nodes.forEach((node) => tagPc.children.push(node));
26541
+ } else {
26542
+ tagPc.children.push(new Text3(""));
26543
+ }
26544
+ return [tagPc];
26545
+ }
26363
26546
  visitIcuPlaceholder(ph, context) {
26364
26547
  const cases = Object.keys(ph.value.cases).map((value) => value + " {...}").join(" ");
26365
26548
  const idStr = (this._nextPlaceholderId++).toString();
@@ -26537,7 +26720,7 @@ function getTypeForTag(tag) {
26537
26720
  }
26538
26721
  }
26539
26722
 
26540
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
26723
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
26541
26724
  var MessageBundle = class {
26542
26725
  constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
26543
26726
  this._htmlParser = _htmlParser;
@@ -26596,6 +26779,12 @@ var MapPlaceholderNames = class extends CloneVisitor {
26596
26779
  const children = ph.children.map((n) => n.visit(this, mapper));
26597
26780
  return new TagPlaceholder(ph.tag, ph.attrs, startName, closeName, children, ph.isVoid, ph.sourceSpan, ph.startSourceSpan, ph.endSourceSpan);
26598
26781
  }
26782
+ visitBlockPlaceholder(ph, mapper) {
26783
+ const startName = mapper.toPublicName(ph.startName);
26784
+ const closeName = ph.closeName ? mapper.toPublicName(ph.closeName) : ph.closeName;
26785
+ const children = ph.children.map((n) => n.visit(this, mapper));
26786
+ return new BlockPlaceholder(ph.name, ph.parameters, startName, closeName, children, ph.sourceSpan, ph.startSourceSpan, ph.endSourceSpan);
26787
+ }
26599
26788
  visitPlaceholder(ph, mapper) {
26600
26789
  return new Placeholder(ph.value, mapper.toPublicName(ph.name), ph.sourceSpan);
26601
26790
  }
@@ -26604,7 +26793,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
26604
26793
  }
26605
26794
  };
26606
26795
 
26607
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
26796
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
26608
26797
  var FactoryTarget2;
26609
26798
  (function(FactoryTarget3) {
26610
26799
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -26614,7 +26803,7 @@ var FactoryTarget2;
26614
26803
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
26615
26804
  })(FactoryTarget2 || (FactoryTarget2 = {}));
26616
26805
 
26617
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
26806
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
26618
26807
  function compileClassMetadata(metadata) {
26619
26808
  var _a2, _b2;
26620
26809
  const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
@@ -26656,7 +26845,7 @@ function compileComponentClassMetadata(metadata, deferrableTypes) {
26656
26845
  return iife.callFn([]);
26657
26846
  }
26658
26847
 
26659
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
26848
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
26660
26849
  function compileClassDebugInfo(debugInfo) {
26661
26850
  const debugInfoObject = {
26662
26851
  className: debugInfo.className
@@ -26676,12 +26865,12 @@ function compileClassDebugInfo(debugInfo) {
26676
26865
  return iife.callFn([]);
26677
26866
  }
26678
26867
 
26679
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
26868
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
26680
26869
  var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
26681
26870
  function compileDeclareClassMetadata(metadata) {
26682
26871
  const definitionMap = new DefinitionMap();
26683
26872
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
26684
- definitionMap.set("version", literal("17.0.3"));
26873
+ definitionMap.set("version", literal("17.0.5"));
26685
26874
  definitionMap.set("ngImport", importExpr(Identifiers.core));
26686
26875
  definitionMap.set("type", metadata.type);
26687
26876
  definitionMap.set("decorators", metadata.decorators);
@@ -26690,7 +26879,7 @@ function compileDeclareClassMetadata(metadata) {
26690
26879
  return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
26691
26880
  }
26692
26881
 
26693
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
26882
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
26694
26883
  function toOptionalLiteralArray(values, mapper) {
26695
26884
  if (values === null || values.length === 0) {
26696
26885
  return null;
@@ -26738,7 +26927,7 @@ function compileDependency(dep) {
26738
26927
  return depMeta.toLiteralMap();
26739
26928
  }
26740
26929
 
26741
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
26930
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
26742
26931
  var MINIMUM_PARTIAL_LINKER_VERSION2 = "16.1.0";
26743
26932
  function compileDeclareDirectiveFromMetadata(meta) {
26744
26933
  const definitionMap = createDirectiveDefinitionMap(meta);
@@ -26752,7 +26941,7 @@ function createDirectiveDefinitionMap(meta) {
26752
26941
  const hasTransformFunctions = Object.values(meta.inputs).some((input) => input.transformFunction !== null);
26753
26942
  const minVersion = hasTransformFunctions ? MINIMUM_PARTIAL_LINKER_VERSION2 : "14.0.0";
26754
26943
  definitionMap.set("minVersion", literal(minVersion));
26755
- definitionMap.set("version", literal("17.0.3"));
26944
+ definitionMap.set("version", literal("17.0.5"));
26756
26945
  definitionMap.set("type", meta.type.value);
26757
26946
  if (meta.isStandalone) {
26758
26947
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -26845,7 +27034,7 @@ function createHostDirectives(hostDirectives) {
26845
27034
  return literalArr(expressions);
26846
27035
  }
26847
27036
 
26848
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
27037
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
26849
27038
  function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
26850
27039
  const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
26851
27040
  const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
@@ -26979,12 +27168,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
26979
27168
  }
26980
27169
  };
26981
27170
 
26982
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
27171
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
26983
27172
  var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
26984
27173
  function compileDeclareFactoryFunction(meta) {
26985
27174
  const definitionMap = new DefinitionMap();
26986
27175
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
26987
- definitionMap.set("version", literal("17.0.3"));
27176
+ definitionMap.set("version", literal("17.0.5"));
26988
27177
  definitionMap.set("ngImport", importExpr(Identifiers.core));
26989
27178
  definitionMap.set("type", meta.type.value);
26990
27179
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -26996,7 +27185,7 @@ function compileDeclareFactoryFunction(meta) {
26996
27185
  };
26997
27186
  }
26998
27187
 
26999
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
27188
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
27000
27189
  var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
27001
27190
  function compileDeclareInjectableFromMetadata(meta) {
27002
27191
  const definitionMap = createInjectableDefinitionMap(meta);
@@ -27007,7 +27196,7 @@ function compileDeclareInjectableFromMetadata(meta) {
27007
27196
  function createInjectableDefinitionMap(meta) {
27008
27197
  const definitionMap = new DefinitionMap();
27009
27198
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
27010
- definitionMap.set("version", literal("17.0.3"));
27199
+ definitionMap.set("version", literal("17.0.5"));
27011
27200
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27012
27201
  definitionMap.set("type", meta.type.value);
27013
27202
  if (meta.providedIn !== void 0) {
@@ -27034,7 +27223,7 @@ function createInjectableDefinitionMap(meta) {
27034
27223
  return definitionMap;
27035
27224
  }
27036
27225
 
27037
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
27226
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
27038
27227
  var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
27039
27228
  function compileDeclareInjectorFromMetadata(meta) {
27040
27229
  const definitionMap = createInjectorDefinitionMap(meta);
@@ -27045,7 +27234,7 @@ function compileDeclareInjectorFromMetadata(meta) {
27045
27234
  function createInjectorDefinitionMap(meta) {
27046
27235
  const definitionMap = new DefinitionMap();
27047
27236
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
27048
- definitionMap.set("version", literal("17.0.3"));
27237
+ definitionMap.set("version", literal("17.0.5"));
27049
27238
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27050
27239
  definitionMap.set("type", meta.type.value);
27051
27240
  definitionMap.set("providers", meta.providers);
@@ -27055,7 +27244,7 @@ function createInjectorDefinitionMap(meta) {
27055
27244
  return definitionMap;
27056
27245
  }
27057
27246
 
27058
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
27247
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
27059
27248
  var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
27060
27249
  function compileDeclareNgModuleFromMetadata(meta) {
27061
27250
  const definitionMap = createNgModuleDefinitionMap(meta);
@@ -27069,7 +27258,7 @@ function createNgModuleDefinitionMap(meta) {
27069
27258
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
27070
27259
  }
27071
27260
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
27072
- definitionMap.set("version", literal("17.0.3"));
27261
+ definitionMap.set("version", literal("17.0.5"));
27073
27262
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27074
27263
  definitionMap.set("type", meta.type.value);
27075
27264
  if (meta.bootstrap.length > 0) {
@@ -27093,7 +27282,7 @@ function createNgModuleDefinitionMap(meta) {
27093
27282
  return definitionMap;
27094
27283
  }
27095
27284
 
27096
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
27285
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
27097
27286
  var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
27098
27287
  function compileDeclarePipeFromMetadata(meta) {
27099
27288
  const definitionMap = createPipeDefinitionMap(meta);
@@ -27104,7 +27293,7 @@ function compileDeclarePipeFromMetadata(meta) {
27104
27293
  function createPipeDefinitionMap(meta) {
27105
27294
  const definitionMap = new DefinitionMap();
27106
27295
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
27107
- definitionMap.set("version", literal("17.0.3"));
27296
+ definitionMap.set("version", literal("17.0.5"));
27108
27297
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27109
27298
  definitionMap.set("type", meta.type.value);
27110
27299
  if (meta.isStandalone) {
@@ -27117,13 +27306,13 @@ function createPipeDefinitionMap(meta) {
27117
27306
  return definitionMap;
27118
27307
  }
27119
27308
 
27120
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
27309
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
27121
27310
  publishFacade(_global);
27122
27311
 
27123
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
27124
- var VERSION3 = new Version("17.0.3");
27312
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
27313
+ var VERSION3 = new Version("17.0.5");
27125
27314
 
27126
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
27315
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
27127
27316
  var EmitFlags;
27128
27317
  (function(EmitFlags2) {
27129
27318
  EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
@@ -27135,13 +27324,13 @@ var EmitFlags;
27135
27324
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
27136
27325
  })(EmitFlags || (EmitFlags = {}));
27137
27326
 
27138
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
27327
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
27139
27328
  var import_typescript2 = __toESM(require("typescript"), 1);
27140
27329
 
27141
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
27330
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
27142
27331
  var import_typescript102 = __toESM(require("typescript"), 1);
27143
27332
 
27144
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
27333
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
27145
27334
  var path = __toESM(require("path"), 1);
27146
27335
  function i18nGetExtension(formatName) {
27147
27336
  const format = formatName.toLowerCase();
@@ -27191,10 +27380,10 @@ function getPathNormalizer(basePath) {
27191
27380
  };
27192
27381
  }
27193
27382
 
27194
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
27383
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
27195
27384
  var import_typescript3 = __toESM(require("typescript"), 1);
27196
27385
 
27197
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
27386
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
27198
27387
  function toNumbers(value) {
27199
27388
  const suffixIndex = value.lastIndexOf("-");
27200
27389
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -27229,7 +27418,7 @@ function compareVersions(v1, v2) {
27229
27418
  return compareNumbers(toNumbers(v1), toNumbers(v2));
27230
27419
  }
27231
27420
 
27232
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
27421
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
27233
27422
  var MIN_TS_VERSION = "5.2.0";
27234
27423
  var MAX_TS_VERSION = "5.3.0";
27235
27424
  var tsVersion = import_typescript3.default.version;
@@ -27242,13 +27431,13 @@ function verifySupportedTypeScriptVersion() {
27242
27431
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
27243
27432
  }
27244
27433
 
27245
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
27434
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
27246
27435
  var import_typescript98 = __toESM(require("typescript"), 1);
27247
27436
 
27248
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
27437
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
27249
27438
  var import_typescript32 = __toESM(require("typescript"), 1);
27250
27439
 
27251
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
27440
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
27252
27441
  var ErrorCode;
27253
27442
  (function(ErrorCode2) {
27254
27443
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -27327,7 +27516,7 @@ var ErrorCode;
27327
27516
  ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
27328
27517
  })(ErrorCode || (ErrorCode = {}));
27329
27518
 
27330
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
27519
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
27331
27520
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
27332
27521
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
27333
27522
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -27339,15 +27528,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
27339
27528
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
27340
27529
  ]);
27341
27530
 
27342
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
27531
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
27343
27532
  var import_typescript4 = __toESM(require("typescript"), 1);
27344
27533
 
27345
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
27534
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
27346
27535
  function ngErrorCode(code) {
27347
27536
  return parseInt("-99" + code);
27348
27537
  }
27349
27538
 
27350
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
27539
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
27351
27540
  var FatalDiagnosticError = class {
27352
27541
  constructor(code, node, message, relatedInformation) {
27353
27542
  this.code = code;
@@ -27403,10 +27592,10 @@ function addDiagnosticChain(messageText, add) {
27403
27592
  return messageText;
27404
27593
  }
27405
27594
 
27406
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
27595
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
27407
27596
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
27408
27597
 
27409
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
27598
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
27410
27599
  var ExtendedTemplateDiagnosticName;
27411
27600
  (function(ExtendedTemplateDiagnosticName2) {
27412
27601
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -27420,7 +27609,7 @@ var ExtendedTemplateDiagnosticName;
27420
27609
  ExtendedTemplateDiagnosticName2["INTERPOLATED_SIGNAL_NOT_INVOKED"] = "interpolatedSignalNotInvoked";
27421
27610
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
27422
27611
 
27423
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
27612
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
27424
27613
  var CompilationMode;
27425
27614
  (function(CompilationMode2) {
27426
27615
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -27434,7 +27623,7 @@ var HandlerPrecedence;
27434
27623
  HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
27435
27624
  })(HandlerPrecedence || (HandlerPrecedence = {}));
27436
27625
 
27437
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
27626
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
27438
27627
  var import_typescript5 = __toESM(require("typescript"), 1);
27439
27628
  function aliasTransformFactory(exportStatements) {
27440
27629
  return () => {
@@ -27457,10 +27646,10 @@ function aliasTransformFactory(exportStatements) {
27457
27646
  };
27458
27647
  }
27459
27648
 
27460
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
27649
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
27461
27650
  var import_typescript12 = __toESM(require("typescript"), 1);
27462
27651
 
27463
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
27652
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
27464
27653
  var PerfPhase;
27465
27654
  (function(PerfPhase2) {
27466
27655
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -27528,7 +27717,7 @@ var PerfCheckpoint;
27528
27717
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
27529
27718
  })(PerfCheckpoint || (PerfCheckpoint = {}));
27530
27719
 
27531
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
27720
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
27532
27721
  var NoopPerfRecorder = class {
27533
27722
  eventCount() {
27534
27723
  }
@@ -27545,7 +27734,7 @@ var NoopPerfRecorder = class {
27545
27734
  };
27546
27735
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
27547
27736
 
27548
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
27737
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
27549
27738
  function mark() {
27550
27739
  return process.hrtime();
27551
27740
  }
@@ -27554,7 +27743,7 @@ function timeSinceInMicros(mark2) {
27554
27743
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
27555
27744
  }
27556
27745
 
27557
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
27746
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
27558
27747
  var ActivePerfRecorder = class {
27559
27748
  static zeroedToNow() {
27560
27749
  return new ActivePerfRecorder(mark());
@@ -27648,7 +27837,7 @@ var DelegatingPerfRecorder = class {
27648
27837
  }
27649
27838
  };
27650
27839
 
27651
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
27840
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
27652
27841
  var import_typescript6 = __toESM(require("typescript"), 1);
27653
27842
  function isDecoratorIdentifier(exp) {
27654
27843
  return import_typescript6.default.isIdentifier(exp) || import_typescript6.default.isPropertyAccessExpression(exp) && import_typescript6.default.isIdentifier(exp.expression) && import_typescript6.default.isIdentifier(exp.name);
@@ -27662,7 +27851,7 @@ var ClassMemberKind;
27662
27851
  ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
27663
27852
  })(ClassMemberKind || (ClassMemberKind = {}));
27664
27853
 
27665
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
27854
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
27666
27855
  var import_typescript7 = __toESM(require("typescript"), 1);
27667
27856
  function typeToValue(typeNode, checker) {
27668
27857
  if (typeNode === null) {
@@ -27828,10 +28017,10 @@ function extractModuleName(node) {
27828
28017
  return node.moduleSpecifier.text;
27829
28018
  }
27830
28019
 
27831
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
28020
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
27832
28021
  var import_typescript9 = __toESM(require("typescript"), 1);
27833
28022
 
27834
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
28023
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
27835
28024
  var import_typescript8 = __toESM(require("typescript"), 1);
27836
28025
  function isNamedClassDeclaration(node) {
27837
28026
  return import_typescript8.default.isClassDeclaration(node) && isIdentifier(node.name);
@@ -27840,7 +28029,7 @@ function isIdentifier(node) {
27840
28029
  return node !== void 0 && import_typescript8.default.isIdentifier(node);
27841
28030
  }
27842
28031
 
27843
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
28032
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
27844
28033
  var TypeScriptReflectionHost = class {
27845
28034
  constructor(checker) {
27846
28035
  this.checker = checker;
@@ -28274,7 +28463,7 @@ function getExportedName(decl, originalId) {
28274
28463
  }
28275
28464
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
28276
28465
 
28277
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
28466
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
28278
28467
  var import_typescript11 = __toESM(require("typescript"), 1);
28279
28468
  var TS = /\.tsx?$/i;
28280
28469
  var D_TS = /\.d\.ts$/i;
@@ -28375,7 +28564,7 @@ function toUnredirectedSourceFile(sf) {
28375
28564
  return redirectInfo.unredirected;
28376
28565
  }
28377
28566
 
28378
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
28567
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
28379
28568
  var TraitState;
28380
28569
  (function(TraitState2) {
28381
28570
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -28432,7 +28621,7 @@ var TraitImpl = class {
28432
28621
  }
28433
28622
  };
28434
28623
 
28435
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
28624
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
28436
28625
  var TraitCompiler = class {
28437
28626
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
28438
28627
  this.handlers = handlers;
@@ -28880,10 +29069,10 @@ function containsErrors(diagnostics) {
28880
29069
  return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript12.default.DiagnosticCategory.Error);
28881
29070
  }
28882
29071
 
28883
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
29072
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
28884
29073
  var import_typescript28 = __toESM(require("typescript"), 1);
28885
29074
 
28886
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
29075
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
28887
29076
  var Context = class {
28888
29077
  constructor(isStatement) {
28889
29078
  this.isStatement = isStatement;
@@ -28896,13 +29085,13 @@ var Context = class {
28896
29085
  }
28897
29086
  };
28898
29087
 
28899
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
29088
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
28900
29089
  var import_typescript23 = __toESM(require("typescript"), 1);
28901
29090
 
28902
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
29091
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
28903
29092
  var import_typescript15 = __toESM(require("typescript"), 1);
28904
29093
 
28905
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
29094
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
28906
29095
  function findExportedNameOfNode(target, file, reflector) {
28907
29096
  const exports = reflector.getExportsOfModule(file);
28908
29097
  if (exports === null) {
@@ -28922,7 +29111,7 @@ function findExportedNameOfNode(target, file, reflector) {
28922
29111
  return foundExportName;
28923
29112
  }
28924
29113
 
28925
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
29114
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
28926
29115
  var ImportFlags;
28927
29116
  (function(ImportFlags2) {
28928
29117
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -29138,7 +29327,7 @@ var UnifiedModulesStrategy = class {
29138
29327
  }
29139
29328
  };
29140
29329
 
29141
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
29330
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
29142
29331
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
29143
29332
  var UnifiedModulesAliasingHost = class {
29144
29333
  constructor(unifiedModulesHost) {
@@ -29205,7 +29394,7 @@ var AliasStrategy = class {
29205
29394
  }
29206
29395
  };
29207
29396
 
29208
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
29397
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
29209
29398
  function relativePathBetween(from, to) {
29210
29399
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
29211
29400
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -29214,7 +29403,7 @@ function normalizeSeparators2(path4) {
29214
29403
  return path4.replace(/\\/g, "/");
29215
29404
  }
29216
29405
 
29217
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
29406
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
29218
29407
  var NoopImportRewriter = class {
29219
29408
  shouldImportSymbol(symbol, specifier) {
29220
29409
  return true;
@@ -29273,7 +29462,7 @@ function validateAndRewriteCoreSymbol(name) {
29273
29462
  return CORE_SUPPORTED_SYMBOLS.get(name);
29274
29463
  }
29275
29464
 
29276
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
29465
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
29277
29466
  var import_typescript17 = __toESM(require("typescript"), 1);
29278
29467
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
29279
29468
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -29308,7 +29497,7 @@ function throwIncompatibleTransformationContextError() {
29308
29497
  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.");
29309
29498
  }
29310
29499
 
29311
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
29500
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
29312
29501
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
29313
29502
  function attachDefaultImportDeclaration(expr, importDecl) {
29314
29503
  expr[DefaultImportDeclaration] = importDecl;
@@ -29349,7 +29538,7 @@ var DefaultImportTracker = class {
29349
29538
  }
29350
29539
  };
29351
29540
 
29352
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
29541
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
29353
29542
  var import_typescript19 = __toESM(require("typescript"), 1);
29354
29543
  var AssumeEager = "AssumeEager";
29355
29544
  var DeferredSymbolTracker = class {
@@ -29447,7 +29636,7 @@ var DeferredSymbolTracker = class {
29447
29636
  }
29448
29637
  };
29449
29638
 
29450
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
29639
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
29451
29640
  var Reference2 = class {
29452
29641
  constructor(node, bestGuessOwningModule = null) {
29453
29642
  this.node = node;
@@ -29510,7 +29699,7 @@ var Reference2 = class {
29510
29699
  }
29511
29700
  };
29512
29701
 
29513
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
29702
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
29514
29703
  var ModuleResolver = class {
29515
29704
  constructor(program, compilerOptions, host, moduleResolutionCache) {
29516
29705
  this.program = program;
@@ -29527,7 +29716,7 @@ var ModuleResolver = class {
29527
29716
  }
29528
29717
  };
29529
29718
 
29530
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
29719
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
29531
29720
  var ImportManager = class {
29532
29721
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
29533
29722
  this.rewriter = rewriter;
@@ -29562,7 +29751,7 @@ var ImportManager = class {
29562
29751
  }
29563
29752
  };
29564
29753
 
29565
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
29754
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
29566
29755
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
29567
29756
  [UnaryOperator.Minus, "-"],
29568
29757
  [UnaryOperator.Plus, "+"]
@@ -29799,7 +29988,7 @@ function createRange(span) {
29799
29988
  };
29800
29989
  }
29801
29990
 
29802
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
29991
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
29803
29992
  var import_typescript24 = __toESM(require("typescript"), 1);
29804
29993
  var INELIGIBLE = {};
29805
29994
  function canEmitType(type, canEmit) {
@@ -29874,7 +30063,7 @@ var TypeEmitter = class {
29874
30063
  }
29875
30064
  };
29876
30065
 
29877
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
30066
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
29878
30067
  var import_typescript25 = __toESM(require("typescript"), 1);
29879
30068
  function translateType(type, contextFile, reflector, refEmitter, imports) {
29880
30069
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
@@ -30089,7 +30278,7 @@ var TypeTranslatorVisitor = class {
30089
30278
  }
30090
30279
  };
30091
30280
 
30092
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
30281
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
30093
30282
  var import_typescript26 = __toESM(require("typescript"), 1);
30094
30283
  var PureAnnotation;
30095
30284
  (function(PureAnnotation2) {
@@ -30285,7 +30474,7 @@ function attachComments(statement, leadingComments) {
30285
30474
  }
30286
30475
  }
30287
30476
 
30288
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
30477
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
30289
30478
  function translateExpression(expression, imports, options = {}) {
30290
30479
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
30291
30480
  }
@@ -30293,7 +30482,7 @@ function translateStatement(statement, imports, options = {}) {
30293
30482
  return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
30294
30483
  }
30295
30484
 
30296
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
30485
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
30297
30486
  var import_typescript27 = __toESM(require("typescript"), 1);
30298
30487
  function addImports(importManager, sf, extraStatements = []) {
30299
30488
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -30329,7 +30518,7 @@ function isImportStatement(stmt) {
30329
30518
  return import_typescript27.default.isImportDeclaration(stmt) || import_typescript27.default.isImportEqualsDeclaration(stmt) || import_typescript27.default.isNamespaceImport(stmt);
30330
30519
  }
30331
30520
 
30332
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
30521
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
30333
30522
  var DtsTransformRegistry = class {
30334
30523
  constructor() {
30335
30524
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -30476,10 +30665,10 @@ function markForEmitAsSingleLine(node) {
30476
30665
  import_typescript28.default.forEachChild(node, markForEmitAsSingleLine);
30477
30666
  }
30478
30667
 
30479
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
30668
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
30480
30669
  var import_typescript30 = __toESM(require("typescript"), 1);
30481
30670
 
30482
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
30671
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
30483
30672
  var import_typescript29 = __toESM(require("typescript"), 1);
30484
30673
  function visit(node, visitor, context) {
30485
30674
  return visitor._visit(node, context);
@@ -30540,7 +30729,7 @@ var Visitor = class {
30540
30729
  }
30541
30730
  };
30542
30731
 
30543
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
30732
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
30544
30733
  var NO_DECORATORS = /* @__PURE__ */ new Set();
30545
30734
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
30546
30735
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -30764,7 +30953,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
30764
30953
  return array;
30765
30954
  }
30766
30955
 
30767
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
30956
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
30768
30957
  var import_typescript31 = __toESM(require("typescript"), 1);
30769
30958
  function valueReferenceToExpression(valueRef) {
30770
30959
  if (valueRef.kind === 2) {
@@ -31008,7 +31197,7 @@ function isAbstractClassDeclaration(clazz) {
31008
31197
  return import_typescript31.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript31.default.SyntaxKind.AbstractKeyword) : false;
31009
31198
  }
31010
31199
 
31011
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
31200
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
31012
31201
  function getConstructorDependencies(clazz, reflector, isCore, compilationMode) {
31013
31202
  const deps = [];
31014
31203
  const errors = [];
@@ -31164,10 +31353,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
31164
31353
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
31165
31354
  }
31166
31355
 
31167
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
31356
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
31168
31357
  var import_typescript40 = __toESM(require("typescript"), 1);
31169
31358
 
31170
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
31359
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
31171
31360
  var MetaKind;
31172
31361
  (function(MetaKind2) {
31173
31362
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -31180,10 +31369,10 @@ var MatchSource;
31180
31369
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
31181
31370
  })(MatchSource || (MatchSource = {}));
31182
31371
 
31183
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
31372
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
31184
31373
  var import_typescript35 = __toESM(require("typescript"), 1);
31185
31374
 
31186
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
31375
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
31187
31376
  var ClassPropertyMapping = class {
31188
31377
  constructor(forwardMap) {
31189
31378
  this.forwardMap = forwardMap;
@@ -31261,7 +31450,7 @@ function reverseMapFromForwardMap(forwardMap) {
31261
31450
  return reverseMap;
31262
31451
  }
31263
31452
 
31264
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
31453
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
31265
31454
  var import_typescript33 = __toESM(require("typescript"), 1);
31266
31455
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
31267
31456
  if (!import_typescript33.default.isTupleTypeNode(def)) {
@@ -31445,7 +31634,7 @@ function hasInjectableFields(clazz, host) {
31445
31634
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
31446
31635
  }
31447
31636
 
31448
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
31637
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
31449
31638
  var DtsMetadataReader = class {
31450
31639
  constructor(checker, reflector) {
31451
31640
  this.checker = checker;
@@ -31620,7 +31809,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
31620
31809
  return result.length > 0 ? result : null;
31621
31810
  }
31622
31811
 
31623
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
31812
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
31624
31813
  function flattenInheritedDirectiveMetadata(reader, dir) {
31625
31814
  const topMeta = reader.getDirectiveMetadata(dir);
31626
31815
  if (topMeta === null) {
@@ -31633,6 +31822,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
31633
31822
  const undeclaredInputFields = /* @__PURE__ */ new Set();
31634
31823
  const restrictedInputFields = /* @__PURE__ */ new Set();
31635
31824
  const stringLiteralInputFields = /* @__PURE__ */ new Set();
31825
+ let hostDirectives = null;
31636
31826
  let isDynamic = false;
31637
31827
  let inputs = ClassPropertyMapping.empty();
31638
31828
  let outputs = ClassPropertyMapping.empty();
@@ -31663,6 +31853,10 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
31663
31853
  for (const field of meta.stringLiteralInputFields) {
31664
31854
  stringLiteralInputFields.add(field);
31665
31855
  }
31856
+ if (meta.hostDirectives !== null && meta.hostDirectives.length > 0) {
31857
+ hostDirectives != null ? hostDirectives : hostDirectives = [];
31858
+ hostDirectives.push(...meta.hostDirectives);
31859
+ }
31666
31860
  };
31667
31861
  addMetadata(topMeta);
31668
31862
  return __spreadProps(__spreadValues({}, topMeta), {
@@ -31673,11 +31867,12 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
31673
31867
  restrictedInputFields,
31674
31868
  stringLiteralInputFields,
31675
31869
  baseClass: isDynamic ? "dynamic" : null,
31676
- isStructural
31870
+ isStructural,
31871
+ hostDirectives
31677
31872
  });
31678
31873
  }
31679
31874
 
31680
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
31875
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
31681
31876
  var LocalMetadataRegistry = class {
31682
31877
  constructor() {
31683
31878
  this.directives = /* @__PURE__ */ new Map();
@@ -31734,7 +31929,7 @@ var CompoundMetadataRegistry = class {
31734
31929
  }
31735
31930
  };
31736
31931
 
31737
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
31932
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
31738
31933
  var ResourceRegistry = class {
31739
31934
  constructor() {
31740
31935
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -31799,7 +31994,7 @@ var ResourceRegistry = class {
31799
31994
  }
31800
31995
  };
31801
31996
 
31802
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
31997
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
31803
31998
  var ExportedProviderStatusResolver = class {
31804
31999
  constructor(metaReader) {
31805
32000
  this.metaReader = metaReader;
@@ -31843,7 +32038,7 @@ var ExportedProviderStatusResolver = class {
31843
32038
  }
31844
32039
  };
31845
32040
 
31846
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
32041
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
31847
32042
  var EMPTY_ARRAY = [];
31848
32043
  var HostDirectivesResolver = class {
31849
32044
  constructor(metaReader) {
@@ -31904,10 +32099,10 @@ function resolveOutput(bindingName) {
31904
32099
  return bindingName;
31905
32100
  }
31906
32101
 
31907
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
32102
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
31908
32103
  var import_typescript37 = __toESM(require("typescript"), 1);
31909
32104
 
31910
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
32105
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
31911
32106
  var DynamicValue = class {
31912
32107
  constructor(node, reason, code) {
31913
32108
  this.node = node;
@@ -31997,7 +32192,7 @@ var DynamicValue = class {
31997
32192
  }
31998
32193
  };
31999
32194
 
32000
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
32195
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
32001
32196
  var ResolvedModule = class {
32002
32197
  constructor(exports, evaluate) {
32003
32198
  this.exports = exports;
@@ -32027,7 +32222,7 @@ var EnumValue = class {
32027
32222
  var KnownFn = class {
32028
32223
  };
32029
32224
 
32030
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
32225
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
32031
32226
  function describeResolvedType(value, maxDepth = 1) {
32032
32227
  var _a2, _b2;
32033
32228
  if (value === null) {
@@ -32156,10 +32351,10 @@ function getContainerNode(node) {
32156
32351
  return node.getSourceFile();
32157
32352
  }
32158
32353
 
32159
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
32354
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
32160
32355
  var import_typescript38 = __toESM(require("typescript"), 1);
32161
32356
 
32162
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
32357
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
32163
32358
  var ArraySliceBuiltinFn = class extends KnownFn {
32164
32359
  constructor(lhs) {
32165
32360
  super();
@@ -32211,14 +32406,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
32211
32406
  }
32212
32407
  };
32213
32408
 
32214
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
32409
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
32215
32410
  var SyntheticValue = class {
32216
32411
  constructor(value) {
32217
32412
  this.value = value;
32218
32413
  }
32219
32414
  };
32220
32415
 
32221
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
32416
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
32222
32417
  function literalBinaryOp(op) {
32223
32418
  return { op, literal: true };
32224
32419
  }
@@ -32793,7 +32988,7 @@ function owningModule(context, override = null) {
32793
32988
  }
32794
32989
  }
32795
32990
 
32796
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
32991
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
32797
32992
  var PartialEvaluator = class {
32798
32993
  constructor(host, checker, dependencyTracker) {
32799
32994
  this.host = host;
@@ -32813,7 +33008,7 @@ var PartialEvaluator = class {
32813
33008
  }
32814
33009
  };
32815
33010
 
32816
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
33011
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
32817
33012
  function makeDuplicateDeclarationError(node, data, kind) {
32818
33013
  const context = [];
32819
33014
  for (const decl of data) {
@@ -33009,7 +33204,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
33009
33204
  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}.`);
33010
33205
  }
33011
33206
 
33012
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
33207
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
33013
33208
  var import_typescript42 = __toESM(require("typescript"), 1);
33014
33209
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
33015
33210
  let resolved = null;
@@ -33059,7 +33254,7 @@ function resolveLiteral(decorator, literalCache) {
33059
33254
  return meta;
33060
33255
  }
33061
33256
 
33062
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
33257
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
33063
33258
  function compileNgFactoryDefField(metadata) {
33064
33259
  const res = compileFactoryFunction(metadata);
33065
33260
  return {
@@ -33081,7 +33276,7 @@ function compileDeclareFactory(metadata) {
33081
33276
  };
33082
33277
  }
33083
33278
 
33084
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
33279
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
33085
33280
  var InjectableClassRegistry = class {
33086
33281
  constructor(host, isCore) {
33087
33282
  this.host = host;
@@ -33107,7 +33302,7 @@ var InjectableClassRegistry = class {
33107
33302
  }
33108
33303
  };
33109
33304
 
33110
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
33305
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
33111
33306
  var import_typescript43 = __toESM(require("typescript"), 1);
33112
33307
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
33113
33308
  if (!reflection.isClass(clazz)) {
@@ -33191,7 +33386,7 @@ function removeIdentifierReferences(node, names) {
33191
33386
  return result.transformed[0];
33192
33387
  }
33193
33388
 
33194
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
33389
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
33195
33390
  var path2 = __toESM(require("path"), 1);
33196
33391
  function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
33197
33392
  if (!reflection.isClass(clazz)) {
@@ -33217,13 +33412,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
33217
33412
  return null;
33218
33413
  }
33219
33414
 
33220
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
33415
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
33221
33416
  var NoopReferencesRegistry = class {
33222
33417
  add(source, ...references) {
33223
33418
  }
33224
33419
  };
33225
33420
 
33226
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
33421
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
33227
33422
  function extractSchemas(rawExpr, evaluator, context) {
33228
33423
  const schemas = [];
33229
33424
  const result = evaluator.evaluate(rawExpr);
@@ -33252,7 +33447,7 @@ function extractSchemas(rawExpr, evaluator, context) {
33252
33447
  return schemas;
33253
33448
  }
33254
33449
 
33255
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
33450
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
33256
33451
  function compileInputTransformFields(inputs) {
33257
33452
  const extraFields = [];
33258
33453
  for (const input of inputs) {
@@ -33269,10 +33464,10 @@ function compileInputTransformFields(inputs) {
33269
33464
  return extraFields;
33270
33465
  }
33271
33466
 
33272
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
33467
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
33273
33468
  var import_typescript54 = __toESM(require("typescript"), 1);
33274
33469
 
33275
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
33470
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
33276
33471
  var import_typescript44 = __toESM(require("typescript"), 1);
33277
33472
  var SemanticSymbol = class {
33278
33473
  constructor(decl) {
@@ -33288,7 +33483,7 @@ function getSymbolIdentifier(decl) {
33288
33483
  return decl.name.text;
33289
33484
  }
33290
33485
 
33291
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
33486
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
33292
33487
  var OpaqueSymbol = class extends SemanticSymbol {
33293
33488
  isPublicApiAffected() {
33294
33489
  return false;
@@ -33430,10 +33625,10 @@ function getImportPath(expr) {
33430
33625
  }
33431
33626
  }
33432
33627
 
33433
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
33628
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
33434
33629
  var import_typescript45 = __toESM(require("typescript"), 1);
33435
33630
 
33436
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
33631
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
33437
33632
  function isSymbolEqual(a, b) {
33438
33633
  if (a.decl === b.decl) {
33439
33634
  return true;
@@ -33483,7 +33678,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
33483
33678
  return true;
33484
33679
  }
33485
33680
 
33486
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
33681
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
33487
33682
  function extractSemanticTypeParameters(node) {
33488
33683
  if (!import_typescript45.default.isClassDeclaration(node) || node.typeParameters === void 0) {
33489
33684
  return null;
@@ -33503,14 +33698,14 @@ function isTypeParameterEqual(a, b) {
33503
33698
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
33504
33699
  }
33505
33700
 
33506
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
33701
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
33507
33702
  var ComponentScopeKind;
33508
33703
  (function(ComponentScopeKind2) {
33509
33704
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
33510
33705
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
33511
33706
  })(ComponentScopeKind || (ComponentScopeKind = {}));
33512
33707
 
33513
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
33708
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
33514
33709
  var CompoundComponentScopeReader = class {
33515
33710
  constructor(readers) {
33516
33711
  this.readers = readers;
@@ -33535,7 +33730,7 @@ var CompoundComponentScopeReader = class {
33535
33730
  }
33536
33731
  };
33537
33732
 
33538
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
33733
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
33539
33734
  var MetadataDtsModuleScopeResolver = class {
33540
33735
  constructor(dtsMetaReader, aliasingHost) {
33541
33736
  this.dtsMetaReader = dtsMetaReader;
@@ -33610,10 +33805,10 @@ var MetadataDtsModuleScopeResolver = class {
33610
33805
  }
33611
33806
  };
33612
33807
 
33613
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
33808
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
33614
33809
  var import_typescript46 = __toESM(require("typescript"), 1);
33615
33810
 
33616
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
33811
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
33617
33812
  function getDiagnosticNode(ref, rawExpr) {
33618
33813
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
33619
33814
  }
@@ -33636,7 +33831,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
33636
33831
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
33637
33832
  }
33638
33833
 
33639
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
33834
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
33640
33835
  var LocalModuleScopeRegistry = class {
33641
33836
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
33642
33837
  this.localReader = localReader;
@@ -33975,7 +34170,7 @@ function reexportCollision(module3, refA, refB) {
33975
34170
  ]);
33976
34171
  }
33977
34172
 
33978
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
34173
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
33979
34174
  var import_typescript48 = __toESM(require("typescript"), 1);
33980
34175
  var TypeCheckScopeRegistry = class {
33981
34176
  constructor(scopeReader, metaReader, hostDirectivesResolver) {
@@ -34043,7 +34238,7 @@ var TypeCheckScopeRegistry = class {
34043
34238
  }
34044
34239
  };
34045
34240
 
34046
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
34241
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
34047
34242
  var import_typescript49 = __toESM(require("typescript"), 1);
34048
34243
  var EMPTY_OBJECT = {};
34049
34244
  var QUERY_TYPES = /* @__PURE__ */ new Set([
@@ -34635,7 +34830,7 @@ function toR3InputMetadata(mapping) {
34635
34830
  };
34636
34831
  }
34637
34832
 
34638
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
34833
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
34639
34834
  var DirectiveSymbol = class extends SemanticSymbol {
34640
34835
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
34641
34836
  super(decl);
@@ -34715,7 +34910,7 @@ function isBaseClassEqual(current, previous) {
34715
34910
  return isSymbolEqual(current, previous);
34716
34911
  }
34717
34912
 
34718
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
34913
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
34719
34914
  var FIELD_DECORATORS = [
34720
34915
  "Input",
34721
34916
  "Output",
@@ -34887,10 +35082,10 @@ var DirectiveDecoratorHandler = class {
34887
35082
  }
34888
35083
  };
34889
35084
 
34890
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
35085
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
34891
35086
  var import_typescript51 = __toESM(require("typescript"), 1);
34892
35087
 
34893
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
35088
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
34894
35089
  var import_typescript50 = __toESM(require("typescript"), 1);
34895
35090
  function createModuleWithProvidersResolver(reflector, isCore) {
34896
35091
  function _reflectModuleFromTypeParam(type, node) {
@@ -34957,7 +35152,7 @@ function isResolvedModuleWithProviders(sv) {
34957
35152
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
34958
35153
  }
34959
35154
 
34960
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
35155
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
34961
35156
  var NgModuleSymbol = class extends SemanticSymbol {
34962
35157
  constructor(decl, hasProviders) {
34963
35158
  super(decl);
@@ -35522,7 +35717,7 @@ function isSyntheticReference(ref) {
35522
35717
  return ref.synthetic;
35523
35718
  }
35524
35719
 
35525
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
35720
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
35526
35721
  function makeCyclicImportInfo(ref, type, cycle) {
35527
35722
  const name = ref.debugName || "(unknown)";
35528
35723
  const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -35545,7 +35740,7 @@ function checkCustomElementSelectorForErrors(selector) {
35545
35740
  return null;
35546
35741
  }
35547
35742
 
35548
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
35743
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
35549
35744
  var import_typescript53 = __toESM(require("typescript"), 1);
35550
35745
  function getTemplateDeclarationNodeForError(declaration) {
35551
35746
  return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
@@ -35900,7 +36095,7 @@ function _extractTemplateStyleUrls(template2) {
35900
36095
  return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
35901
36096
  }
35902
36097
 
35903
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
36098
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
35904
36099
  var ComponentSymbol = class extends DirectiveSymbol {
35905
36100
  constructor() {
35906
36101
  super(...arguments);
@@ -35935,7 +36130,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
35935
36130
  }
35936
36131
  };
35937
36132
 
35938
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
36133
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
35939
36134
  function collectAnimationNames(value, animationTriggerNames) {
35940
36135
  if (value instanceof Map) {
35941
36136
  const name = value.get("name");
@@ -36011,7 +36206,7 @@ function isLikelyModuleWithProviders(value) {
36011
36206
  return false;
36012
36207
  }
36013
36208
 
36014
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
36209
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
36015
36210
  var EMPTY_ARRAY2 = [];
36016
36211
  var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
36017
36212
  var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
@@ -36821,7 +37016,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
36821
37016
  return diagnostics;
36822
37017
  }
36823
37018
 
36824
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
37019
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
36825
37020
  var import_typescript56 = __toESM(require("typescript"), 1);
36826
37021
  var InjectableDecoratorHandler = class {
36827
37022
  constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
@@ -37046,7 +37241,7 @@ function getDep(dep, reflector) {
37046
37241
  return meta;
37047
37242
  }
37048
37243
 
37049
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
37244
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
37050
37245
  var import_typescript57 = __toESM(require("typescript"), 1);
37051
37246
  var PipeSymbol = class extends SemanticSymbol {
37052
37247
  constructor(decl, name) {
@@ -37197,7 +37392,7 @@ var PipeDecoratorHandler = class {
37197
37392
  }
37198
37393
  };
37199
37394
 
37200
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
37395
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
37201
37396
  var CycleAnalyzer = class {
37202
37397
  constructor(importGraph) {
37203
37398
  this.importGraph = importGraph;
@@ -37268,7 +37463,7 @@ var Cycle = class {
37268
37463
  }
37269
37464
  };
37270
37465
 
37271
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
37466
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
37272
37467
  var import_typescript58 = __toESM(require("typescript"), 1);
37273
37468
  var ImportGraph = class {
37274
37469
  constructor(checker, perf) {
@@ -37360,13 +37555,13 @@ var Found = class {
37360
37555
  }
37361
37556
  };
37362
37557
 
37363
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
37558
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
37364
37559
  var import_typescript64 = __toESM(require("typescript"), 1);
37365
37560
 
37366
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
37561
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
37367
37562
  var import_typescript61 = __toESM(require("typescript"), 1);
37368
37563
 
37369
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
37564
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
37370
37565
  var EntryType;
37371
37566
  (function(EntryType2) {
37372
37567
  EntryType2["Block"] = "block";
@@ -37409,17 +37604,17 @@ var MemberTags;
37409
37604
  MemberTags2["Inherited"] = "override";
37410
37605
  })(MemberTags || (MemberTags = {}));
37411
37606
 
37412
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
37607
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
37413
37608
  function isAngularPrivateName(name) {
37414
37609
  var _a2;
37415
37610
  const firstChar = (_a2 = name[0]) != null ? _a2 : "";
37416
37611
  return firstChar === "\u0275" || firstChar === "_";
37417
37612
  }
37418
37613
 
37419
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
37614
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
37420
37615
  var import_typescript60 = __toESM(require("typescript"), 1);
37421
37616
 
37422
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
37617
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
37423
37618
  function extractGenerics(declaration) {
37424
37619
  var _a2, _b2;
37425
37620
  return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
@@ -37432,7 +37627,7 @@ function extractGenerics(declaration) {
37432
37627
  })) != null ? _b2 : [];
37433
37628
  }
37434
37629
 
37435
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
37630
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
37436
37631
  var import_typescript59 = __toESM(require("typescript"), 1);
37437
37632
  var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
37438
37633
  function extractJsDocTags(node) {
@@ -37476,12 +37671,12 @@ function unescapeAngularDecorators(comment) {
37476
37671
  return comment.replace(/_NG_AT_/g, "@");
37477
37672
  }
37478
37673
 
37479
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
37674
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
37480
37675
  function extractResolvedTypeString(node, checker) {
37481
37676
  return checker.typeToString(checker.getTypeAtLocation(node));
37482
37677
  }
37483
37678
 
37484
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
37679
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
37485
37680
  var FunctionExtractor = class {
37486
37681
  constructor(declaration, typeChecker) {
37487
37682
  this.declaration = declaration;
@@ -37535,7 +37730,7 @@ var FunctionExtractor = class {
37535
37730
  }
37536
37731
  };
37537
37732
 
37538
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
37733
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
37539
37734
  var ClassExtractor = class {
37540
37735
  constructor(declaration, typeChecker) {
37541
37736
  this.declaration = declaration;
@@ -37762,7 +37957,7 @@ function extractInterface(declaration, typeChecker) {
37762
37957
  return extractor.extract();
37763
37958
  }
37764
37959
 
37765
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
37960
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
37766
37961
  function extractConstant(declaration, typeChecker) {
37767
37962
  const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
37768
37963
  const variableStatement = declaration.parent.parent;
@@ -37780,7 +37975,7 @@ function isSyntheticAngularConstant(declaration) {
37780
37975
  return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
37781
37976
  }
37782
37977
 
37783
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
37978
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
37784
37979
  var import_typescript62 = __toESM(require("typescript"), 1);
37785
37980
  function extractorDecorator(declaration, typeChecker) {
37786
37981
  const documentedNode = getDecoratorJsDocNode(declaration);
@@ -37853,7 +38048,7 @@ function getDecoratorJsDocNode(declaration) {
37853
38048
  return callSignature;
37854
38049
  }
37855
38050
 
37856
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
38051
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
37857
38052
  var import_typescript63 = __toESM(require("typescript"), 1);
37858
38053
  function extractEnum(declaration, typeChecker) {
37859
38054
  return {
@@ -37882,7 +38077,7 @@ function getEnumMemberValue(memberNode) {
37882
38077
  return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
37883
38078
  }
37884
38079
 
37885
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
38080
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
37886
38081
  function extractTypeAlias(declaration) {
37887
38082
  return {
37888
38083
  name: declaration.name.getText(),
@@ -37894,7 +38089,7 @@ function extractTypeAlias(declaration) {
37894
38089
  };
37895
38090
  }
37896
38091
 
37897
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
38092
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
37898
38093
  var DocsExtractor = class {
37899
38094
  constructor(typeChecker, metadataReader) {
37900
38095
  this.typeChecker = typeChecker;
@@ -37956,7 +38151,7 @@ function isIgnoredInterface(node) {
37956
38151
  return node.name.getText().endsWith("Decorator") || isDecoratorOptionsInterface(node);
37957
38152
  }
37958
38153
 
37959
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
38154
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
37960
38155
  var import_typescript65 = __toESM(require("typescript"), 1);
37961
38156
  var FlatIndexGenerator = class {
37962
38157
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -37981,7 +38176,7 @@ export * from '${relativeEntryPoint}';
37981
38176
  }
37982
38177
  };
37983
38178
 
37984
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
38179
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
37985
38180
  function findFlatIndexEntryPoint(rootFiles) {
37986
38181
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
37987
38182
  let resolvedEntryPoint = null;
@@ -37997,7 +38192,7 @@ function findFlatIndexEntryPoint(rootFiles) {
37997
38192
  return resolvedEntryPoint;
37998
38193
  }
37999
38194
 
38000
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
38195
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
38001
38196
  var import_typescript67 = __toESM(require("typescript"), 1);
38002
38197
  function checkForPrivateExports(entryPoint, checker, refGraph) {
38003
38198
  const diagnostics = [];
@@ -38077,7 +38272,7 @@ function getDescriptorOfDeclaration(decl) {
38077
38272
  }
38078
38273
  }
38079
38274
 
38080
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
38275
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
38081
38276
  var ReferenceGraph = class {
38082
38277
  constructor() {
38083
38278
  this.references = /* @__PURE__ */ new Map();
@@ -38131,7 +38326,7 @@ var ReferenceGraph = class {
38131
38326
  }
38132
38327
  };
38133
38328
 
38134
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
38329
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
38135
38330
  var NgOriginalFile = Symbol("NgOriginalFile");
38136
38331
  var UpdateMode;
38137
38332
  (function(UpdateMode2) {
@@ -38139,13 +38334,13 @@ var UpdateMode;
38139
38334
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
38140
38335
  })(UpdateMode || (UpdateMode = {}));
38141
38336
 
38142
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
38337
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
38143
38338
  var import_typescript71 = __toESM(require("typescript"), 1);
38144
38339
 
38145
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
38340
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
38146
38341
  var import_typescript68 = __toESM(require("typescript"), 1);
38147
38342
 
38148
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
38343
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
38149
38344
  var NgExtension = Symbol("NgExtension");
38150
38345
  function isExtended(sf) {
38151
38346
  return sf[NgExtension] !== void 0;
@@ -38205,13 +38400,13 @@ function retagTsFile(sf) {
38205
38400
  }
38206
38401
  }
38207
38402
 
38208
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
38403
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
38209
38404
  var TS_EXTENSIONS = /\.tsx?$/i;
38210
38405
  function makeShimFileName(fileName, suffix) {
38211
38406
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
38212
38407
  }
38213
38408
 
38214
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
38409
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
38215
38410
  var ShimAdapter = class {
38216
38411
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
38217
38412
  this.delegate = delegate;
@@ -38306,7 +38501,7 @@ var ShimAdapter = class {
38306
38501
  }
38307
38502
  };
38308
38503
 
38309
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
38504
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
38310
38505
  var ShimReferenceTagger = class {
38311
38506
  constructor(shimExtensions) {
38312
38507
  this.tagged = /* @__PURE__ */ new Set();
@@ -38340,7 +38535,7 @@ var ShimReferenceTagger = class {
38340
38535
  }
38341
38536
  };
38342
38537
 
38343
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
38538
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
38344
38539
  var DelegatingCompilerHost = class {
38345
38540
  constructor(delegate) {
38346
38541
  this.delegate = delegate;
@@ -38453,7 +38648,7 @@ var TsCreateProgramDriver = class {
38453
38648
  }
38454
38649
  };
38455
38650
 
38456
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
38651
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
38457
38652
  var FileDependencyGraph = class {
38458
38653
  constructor() {
38459
38654
  this.nodes = /* @__PURE__ */ new Map();
@@ -38520,7 +38715,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
38520
38715
  return false;
38521
38716
  }
38522
38717
 
38523
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
38718
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
38524
38719
  var IncrementalStateKind;
38525
38720
  (function(IncrementalStateKind2) {
38526
38721
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -38528,7 +38723,7 @@ var IncrementalStateKind;
38528
38723
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
38529
38724
  })(IncrementalStateKind || (IncrementalStateKind = {}));
38530
38725
 
38531
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
38726
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
38532
38727
  var PhaseKind;
38533
38728
  (function(PhaseKind2) {
38534
38729
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -38729,7 +38924,7 @@ function toOriginalSourceFile(sf) {
38729
38924
  }
38730
38925
  }
38731
38926
 
38732
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
38927
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
38733
38928
  var TrackedIncrementalBuildStrategy = class {
38734
38929
  constructor() {
38735
38930
  this.state = null;
@@ -38750,7 +38945,7 @@ var TrackedIncrementalBuildStrategy = class {
38750
38945
  };
38751
38946
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
38752
38947
 
38753
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
38948
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
38754
38949
  var IdentifierKind;
38755
38950
  (function(IdentifierKind2) {
38756
38951
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -38768,7 +38963,7 @@ var AbsoluteSourceSpan2 = class {
38768
38963
  }
38769
38964
  };
38770
38965
 
38771
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
38966
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
38772
38967
  var IndexingContext = class {
38773
38968
  constructor() {
38774
38969
  this.components = /* @__PURE__ */ new Set();
@@ -38778,7 +38973,7 @@ var IndexingContext = class {
38778
38973
  }
38779
38974
  };
38780
38975
 
38781
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
38976
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
38782
38977
  var ExpressionVisitor = class extends RecursiveAstVisitor2 {
38783
38978
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
38784
38979
  super();
@@ -39059,7 +39254,7 @@ function getTemplateIdentifiers(boundTemplate) {
39059
39254
  return { identifiers: visitor.identifiers, errors: visitor.errors };
39060
39255
  }
39061
39256
 
39062
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
39257
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
39063
39258
  function generateAnalysis(context) {
39064
39259
  const analysis = /* @__PURE__ */ new Map();
39065
39260
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -39095,7 +39290,7 @@ function generateAnalysis(context) {
39095
39290
  return analysis;
39096
39291
  }
39097
39292
 
39098
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
39293
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
39099
39294
  var NgModuleIndexImpl = class {
39100
39295
  constructor(metaReader, localReader) {
39101
39296
  this.metaReader = metaReader;
@@ -39184,7 +39379,7 @@ var NgModuleIndexImpl = class {
39184
39379
  }
39185
39380
  };
39186
39381
 
39187
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
39382
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
39188
39383
  var import_typescript74 = __toESM(require("typescript"), 1);
39189
39384
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
39190
39385
  var RESOURCE_MARKER = ".$ngresource$";
@@ -39332,7 +39527,7 @@ function createLookupResolutionHost(adapter) {
39332
39527
  };
39333
39528
  }
39334
39529
 
39335
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
39530
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
39336
39531
  var StandaloneComponentScopeReader = class {
39337
39532
  constructor(metaReader, localModuleReader, dtsModuleReader) {
39338
39533
  this.metaReader = metaReader;
@@ -39410,21 +39605,21 @@ var StandaloneComponentScopeReader = class {
39410
39605
  }
39411
39606
  };
39412
39607
 
39413
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
39608
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
39414
39609
  var OptimizeFor;
39415
39610
  (function(OptimizeFor2) {
39416
39611
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
39417
39612
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
39418
39613
  })(OptimizeFor || (OptimizeFor = {}));
39419
39614
 
39420
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
39615
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
39421
39616
  var CompletionKind;
39422
39617
  (function(CompletionKind2) {
39423
39618
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
39424
39619
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
39425
39620
  })(CompletionKind || (CompletionKind = {}));
39426
39621
 
39427
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
39622
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
39428
39623
  var PotentialImportKind;
39429
39624
  (function(PotentialImportKind2) {
39430
39625
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -39436,7 +39631,7 @@ var PotentialImportMode;
39436
39631
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
39437
39632
  })(PotentialImportMode || (PotentialImportMode = {}));
39438
39633
 
39439
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
39634
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
39440
39635
  var SymbolKind;
39441
39636
  (function(SymbolKind2) {
39442
39637
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -39452,7 +39647,7 @@ var SymbolKind;
39452
39647
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
39453
39648
  })(SymbolKind || (SymbolKind = {}));
39454
39649
 
39455
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
39650
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
39456
39651
  var import_typescript75 = __toESM(require("typescript"), 1);
39457
39652
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
39458
39653
  var _a2;
@@ -39559,7 +39754,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
39559
39754
  return import_typescript75.default.createSourceFile(fileName, template2, import_typescript75.default.ScriptTarget.Latest, false, import_typescript75.default.ScriptKind.JSX);
39560
39755
  }
39561
39756
 
39562
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
39757
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
39563
39758
  var TEMPLATE_ID = Symbol("ngTemplateId");
39564
39759
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
39565
39760
  function getTemplateId(clazz) {
@@ -39576,10 +39771,10 @@ function allocateTemplateId(sf) {
39576
39771
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
39577
39772
  }
39578
39773
 
39579
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
39774
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
39580
39775
  var import_typescript77 = __toESM(require("typescript"), 1);
39581
39776
 
39582
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
39777
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
39583
39778
  var import_typescript76 = __toESM(require("typescript"), 1);
39584
39779
  var parseSpanComment = /^(\d+),(\d+)$/;
39585
39780
  function readSpanComment(node, sourceFile = node.getSourceFile()) {
@@ -39708,7 +39903,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
39708
39903
  }) || false;
39709
39904
  }
39710
39905
 
39711
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
39906
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
39712
39907
  var CompletionEngine = class {
39713
39908
  constructor(tcb, data, tcbPath, tcbIsShim) {
39714
39909
  this.tcb = tcb;
@@ -39865,10 +40060,10 @@ var CompletionEngine = class {
39865
40060
  }
39866
40061
  };
39867
40062
 
39868
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
40063
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
39869
40064
  var import_typescript91 = __toESM(require("typescript"), 1);
39870
40065
 
39871
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
40066
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
39872
40067
  var import_typescript78 = __toESM(require("typescript"), 1);
39873
40068
  var REGISTRY = new DomElementSchemaRegistry();
39874
40069
  var REMOVE_XHTML_REGEX = /^:xhtml:/;
@@ -39920,10 +40115,10 @@ var RegistryDomSchemaChecker = class {
39920
40115
  }
39921
40116
  };
39922
40117
 
39923
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
40118
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
39924
40119
  var import_typescript84 = __toESM(require("typescript"), 1);
39925
40120
 
39926
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
40121
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
39927
40122
  var import_typescript79 = __toESM(require("typescript"), 1);
39928
40123
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
39929
40124
  import_typescript79.default.SyntaxKind.ParenthesizedExpression,
@@ -40001,13 +40196,13 @@ function isAccessExpression2(node) {
40001
40196
  return import_typescript79.default.isPropertyAccessExpression(node) || import_typescript79.default.isElementAccessExpression(node);
40002
40197
  }
40003
40198
 
40004
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
40199
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
40005
40200
  var import_typescript83 = __toESM(require("typescript"), 1);
40006
40201
 
40007
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
40202
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
40008
40203
  var import_typescript81 = __toESM(require("typescript"), 1);
40009
40204
 
40010
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
40205
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
40011
40206
  var import_typescript80 = __toESM(require("typescript"), 1);
40012
40207
  var TypeParameterEmitter = class {
40013
40208
  constructor(typeParameters, reflector) {
@@ -40085,7 +40280,7 @@ var TypeParameterEmitter = class {
40085
40280
  }
40086
40281
  };
40087
40282
 
40088
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
40283
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
40089
40284
  var TcbInliningRequirement;
40090
40285
  (function(TcbInliningRequirement2) {
40091
40286
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -40165,7 +40360,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
40165
40360
  return emitter.canEmit((ref) => env.canReferenceType(ref));
40166
40361
  }
40167
40362
 
40168
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
40363
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
40169
40364
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
40170
40365
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
40171
40366
  const rawType = import_typescript83.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -40276,7 +40471,7 @@ function typeParametersWithDefaultTypes(params) {
40276
40471
  });
40277
40472
  }
40278
40473
 
40279
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
40474
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
40280
40475
  var Environment = class {
40281
40476
  constructor(config, importManager, refEmitter, reflector, contextFile) {
40282
40477
  this.config = config;
@@ -40370,7 +40565,7 @@ var Environment = class {
40370
40565
  }
40371
40566
  };
40372
40567
 
40373
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
40568
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
40374
40569
  var import_typescript85 = __toESM(require("typescript"), 1);
40375
40570
  var OutOfBandDiagnosticRecorderImpl = class {
40376
40571
  constructor(resolver) {
@@ -40524,7 +40719,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
40524
40719
  });
40525
40720
  }
40526
40721
 
40527
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
40722
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
40528
40723
  var import_typescript86 = __toESM(require("typescript"), 1);
40529
40724
  var TypeCheckShimGenerator = class {
40530
40725
  constructor() {
@@ -40542,10 +40737,10 @@ var TypeCheckShimGenerator = class {
40542
40737
  }
40543
40738
  };
40544
40739
 
40545
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
40740
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
40546
40741
  var import_typescript89 = __toESM(require("typescript"), 1);
40547
40742
 
40548
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
40743
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
40549
40744
  var import_typescript87 = __toESM(require("typescript"), 1);
40550
40745
  function wrapForDiagnostics(expr) {
40551
40746
  return import_typescript87.default.factory.createParenthesizedExpression(expr);
@@ -40590,7 +40785,7 @@ function translateDiagnostic(diagnostic, resolver) {
40590
40785
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
40591
40786
  }
40592
40787
 
40593
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
40788
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
40594
40789
  var import_typescript88 = __toESM(require("typescript"), 1);
40595
40790
  var NULL_AS_ANY = import_typescript88.default.factory.createAsExpression(import_typescript88.default.factory.createNull(), import_typescript88.default.factory.createKeywordTypeNode(import_typescript88.default.SyntaxKind.AnyKeyword));
40596
40791
  var UNDEFINED = import_typescript88.default.factory.createIdentifier("undefined");
@@ -40922,7 +41117,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
40922
41117
  _VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
40923
41118
  })();
40924
41119
 
40925
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
41120
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
40926
41121
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
40927
41122
  constructor(templateId, boundTarget, oob) {
40928
41123
  super();
@@ -40945,7 +41140,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
40945
41140
  }
40946
41141
  };
40947
41142
 
40948
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
41143
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
40949
41144
  var TcbGenericContextBehavior;
40950
41145
  (function(TcbGenericContextBehavior2) {
40951
41146
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -42331,7 +42526,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
42331
42526
  }
42332
42527
  };
42333
42528
 
42334
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
42529
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
42335
42530
  var import_typescript90 = __toESM(require("typescript"), 1);
42336
42531
  var TypeCheckFile = class extends Environment {
42337
42532
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -42367,7 +42562,7 @@ var TypeCheckFile = class extends Environment {
42367
42562
  }
42368
42563
  };
42369
42564
 
42370
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
42565
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
42371
42566
  var InliningMode;
42372
42567
  (function(InliningMode2) {
42373
42568
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -42604,7 +42799,7 @@ function splitStringAtPoints(str, points) {
42604
42799
  return splits;
42605
42800
  }
42606
42801
 
42607
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
42802
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
42608
42803
  var LF_CHAR = 10;
42609
42804
  var CR_CHAR = 13;
42610
42805
  var LINE_SEP_CHAR = 8232;
@@ -42645,7 +42840,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
42645
42840
  return low - 1;
42646
42841
  }
42647
42842
 
42648
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
42843
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
42649
42844
  var TemplateSource = class {
42650
42845
  constructor(mapping, file) {
42651
42846
  this.mapping = mapping;
@@ -42696,7 +42891,7 @@ var TemplateSourceManager = class {
42696
42891
  }
42697
42892
  };
42698
42893
 
42699
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
42894
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
42700
42895
  var import_typescript92 = __toESM(require("typescript"), 1);
42701
42896
  var SymbolBuilder = class {
42702
42897
  constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
@@ -43173,7 +43368,7 @@ function sourceSpanEqual(a, b) {
43173
43368
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
43174
43369
  }
43175
43370
 
43176
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
43371
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
43177
43372
  var REGISTRY2 = new DomElementSchemaRegistry();
43178
43373
  var TemplateTypeCheckerImpl = class {
43179
43374
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -43869,7 +44064,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
43869
44064
  }
43870
44065
  };
43871
44066
 
43872
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
44067
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
43873
44068
  var TemplateCheckWithVisitor = class {
43874
44069
  run(ctx, component, template2) {
43875
44070
  const visitor = new TemplateVisitor2(ctx, component, this);
@@ -43992,7 +44187,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
43992
44187
  }
43993
44188
  };
43994
44189
 
43995
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
44190
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
43996
44191
  var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
43997
44192
  constructor() {
43998
44193
  super(...arguments);
@@ -44027,7 +44222,7 @@ var factory = {
44027
44222
  create: () => new InterpolatedSignalCheck()
44028
44223
  };
44029
44224
 
44030
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
44225
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
44031
44226
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
44032
44227
  constructor() {
44033
44228
  super(...arguments);
@@ -44052,7 +44247,7 @@ var factory2 = {
44052
44247
  create: () => new InvalidBananaInBoxCheck()
44053
44248
  };
44054
44249
 
44055
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
44250
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
44056
44251
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
44057
44252
  ["ngIf", { directive: "NgIf", builtIn: "@if" }],
44058
44253
  ["ngFor", { directive: "NgFor", builtIn: "@for" }],
@@ -44096,7 +44291,7 @@ var factory3 = {
44096
44291
  }
44097
44292
  };
44098
44293
 
44099
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
44294
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
44100
44295
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
44101
44296
  constructor() {
44102
44297
  super(...arguments);
@@ -44128,7 +44323,7 @@ var factory4 = {
44128
44323
  create: () => new MissingNgForOfLetCheck()
44129
44324
  };
44130
44325
 
44131
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
44326
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
44132
44327
  var import_typescript95 = __toESM(require("typescript"), 1);
44133
44328
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
44134
44329
  constructor() {
@@ -44172,7 +44367,7 @@ var factory5 = {
44172
44367
  }
44173
44368
  };
44174
44369
 
44175
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
44370
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
44176
44371
  var import_typescript96 = __toESM(require("typescript"), 1);
44177
44372
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
44178
44373
  constructor() {
@@ -44217,7 +44412,7 @@ var factory6 = {
44217
44412
  }
44218
44413
  };
44219
44414
 
44220
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
44415
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
44221
44416
  var STYLE_SUFFIXES = ["px", "%", "em"];
44222
44417
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
44223
44418
  constructor() {
@@ -44240,7 +44435,7 @@ var factory7 = {
44240
44435
  create: () => new SuffixNotSupportedCheck()
44241
44436
  };
44242
44437
 
44243
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
44438
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
44244
44439
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
44245
44440
  constructor() {
44246
44441
  super(...arguments);
@@ -44278,10 +44473,10 @@ var factory8 = {
44278
44473
  create: () => new TextAttributeNotBindingSpec()
44279
44474
  };
44280
44475
 
44281
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
44476
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
44282
44477
  var import_typescript97 = __toESM(require("typescript"), 1);
44283
44478
 
44284
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
44479
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
44285
44480
  var DiagnosticCategoryLabel;
44286
44481
  (function(DiagnosticCategoryLabel2) {
44287
44482
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -44289,7 +44484,7 @@ var DiagnosticCategoryLabel;
44289
44484
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
44290
44485
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
44291
44486
 
44292
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
44487
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
44293
44488
  var ExtendedTemplateCheckerImpl = class {
44294
44489
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
44295
44490
  var _a2, _b2, _c2, _d2, _e2;
@@ -44341,7 +44536,7 @@ function assertNever(value) {
44341
44536
  ${value}`);
44342
44537
  }
44343
44538
 
44344
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
44539
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
44345
44540
  var ALL_DIAGNOSTIC_FACTORIES = [
44346
44541
  factory2,
44347
44542
  factory5,
@@ -44353,7 +44548,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
44353
44548
  factory
44354
44549
  ];
44355
44550
 
44356
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
44551
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
44357
44552
  var CompilationTicketKind;
44358
44553
  (function(CompilationTicketKind2) {
44359
44554
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -45097,7 +45292,7 @@ function versionMapFromProgram(program, driver) {
45097
45292
  return versions;
45098
45293
  }
45099
45294
 
45100
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
45295
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
45101
45296
  var import_typescript100 = __toESM(require("typescript"), 1);
45102
45297
  var DelegatingCompilerHost2 = class {
45103
45298
  constructor(delegate) {
@@ -45230,7 +45425,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
45230
45425
  }
45231
45426
  };
45232
45427
 
45233
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
45428
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
45234
45429
  var NgtscProgram = class {
45235
45430
  constructor(rootNames, options, delegateHost, oldProgram) {
45236
45431
  this.options = options;
@@ -45457,21 +45652,21 @@ function mergeEmitResults(emitResults) {
45457
45652
  return { diagnostics, emitSkipped, emittedFiles };
45458
45653
  }
45459
45654
 
45460
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
45655
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
45461
45656
  function createProgram({ rootNames, options, host, oldProgram }) {
45462
45657
  return new NgtscProgram(rootNames, options, host, oldProgram);
45463
45658
  }
45464
45659
 
45465
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
45660
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
45466
45661
  var import_typescript104 = __toESM(require("typescript"), 1);
45467
45662
 
45468
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
45663
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
45469
45664
  var import_typescript103 = __toESM(require("typescript"), 1);
45470
45665
 
45471
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
45666
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
45472
45667
  var import_typescript105 = __toESM(require("typescript"), 1);
45473
45668
 
45474
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
45669
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
45475
45670
  var GLOBAL_DEFS_FOR_TERSER = {
45476
45671
  ngDevMode: false,
45477
45672
  ngI18nClosureMode: false
@@ -45480,7 +45675,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
45480
45675
  ngJitMode: false
45481
45676
  });
45482
45677
 
45483
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
45678
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
45484
45679
  var LogLevel;
45485
45680
  (function(LogLevel2) {
45486
45681
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -45489,7 +45684,7 @@ var LogLevel;
45489
45684
  LogLevel2[LogLevel2["error"] = 3] = "error";
45490
45685
  })(LogLevel || (LogLevel = {}));
45491
45686
 
45492
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
45687
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
45493
45688
  var RESET = "\x1B[0m";
45494
45689
  var RED = "\x1B[31m";
45495
45690
  var YELLOW = "\x1B[33m";
@@ -45498,18 +45693,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
45498
45693
  var WARN = `${YELLOW}Warning:${RESET}`;
45499
45694
  var ERROR = `${RED}Error:${RESET}`;
45500
45695
 
45501
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
45696
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
45502
45697
  setFileSystem(new NodeJSFileSystem());
45503
45698
 
45504
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
45699
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
45505
45700
  var import_fs2 = require("fs");
45506
45701
  var import_path8 = require("path");
45507
45702
  var import_typescript118 = __toESM(require("typescript"), 1);
45508
45703
 
45509
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
45704
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
45510
45705
  var import_typescript107 = __toESM(require("typescript"), 1);
45511
45706
 
45512
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
45707
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
45513
45708
  var import_path4 = require("path");
45514
45709
  var import_typescript106 = __toESM(require("typescript"), 1);
45515
45710
  var ImportManager2 = class {
@@ -45693,7 +45888,7 @@ ${text2}`;
45693
45888
  }
45694
45889
  };
45695
45890
 
45696
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
45891
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
45697
45892
  var ChangeTracker = class {
45698
45893
  constructor(_printer, _importRemapper) {
45699
45894
  __publicField(this, "_printer");
@@ -45752,7 +45947,7 @@ function normalizePath(path4) {
45752
45947
  return path4.replace(/\\/g, "/");
45753
45948
  }
45754
45949
 
45755
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
45950
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
45756
45951
  var import_core16 = require("@angular-devkit/core");
45757
45952
  function getProjectTsConfigPaths(tree) {
45758
45953
  return __async(this, null, function* () {
@@ -45832,11 +46027,11 @@ function getWorkspace(tree) {
45832
46027
  });
45833
46028
  }
45834
46029
 
45835
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
46030
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
45836
46031
  var import_path5 = require("path");
45837
46032
  var import_typescript109 = __toESM(require("typescript"), 1);
45838
46033
 
45839
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
46034
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
45840
46035
  var path3 = __toESM(require("path"), 1);
45841
46036
  var import_typescript108 = __toESM(require("typescript"), 1);
45842
46037
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -45853,7 +46048,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
45853
46048
  return import_typescript108.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
45854
46049
  }
45855
46050
 
45856
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
46051
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
45857
46052
  function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
45858
46053
  tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
45859
46054
  const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
@@ -45882,13 +46077,13 @@ function canMigrateFile(basePath, sourceFile, program) {
45882
46077
  return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
45883
46078
  }
45884
46079
 
45885
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
46080
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
45886
46081
  var import_typescript114 = __toESM(require("typescript"), 1);
45887
46082
 
45888
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
46083
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
45889
46084
  var import_typescript111 = __toESM(require("typescript"), 1);
45890
46085
 
45891
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
46086
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
45892
46087
  var import_typescript110 = __toESM(require("typescript"), 1);
45893
46088
  function getImportOfIdentifier(typeChecker, node) {
45894
46089
  const symbol = typeChecker.getSymbolAtLocation(node);
@@ -45939,7 +46134,7 @@ function findImportSpecifier(nodes, specifierName) {
45939
46134
  });
45940
46135
  }
45941
46136
 
45942
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
46137
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
45943
46138
  function getCallDecoratorImport(typeChecker, decorator) {
45944
46139
  if (!import_typescript111.default.isCallExpression(decorator.expression) || !import_typescript111.default.isIdentifier(decorator.expression.expression)) {
45945
46140
  return null;
@@ -45948,7 +46143,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
45948
46143
  return getImportOfIdentifier(typeChecker, identifier);
45949
46144
  }
45950
46145
 
45951
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
46146
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
45952
46147
  function getAngularDecorators(typeChecker, decorators) {
45953
46148
  return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
45954
46149
  node,
@@ -45958,7 +46153,7 @@ function getAngularDecorators(typeChecker, decorators) {
45958
46153
  }));
45959
46154
  }
45960
46155
 
45961
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
46156
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
45962
46157
  var import_typescript112 = __toESM(require("typescript"), 1);
45963
46158
  function closestNode(node, predicate) {
45964
46159
  let current = node.parent;
@@ -45971,7 +46166,7 @@ function closestNode(node, predicate) {
45971
46166
  return null;
45972
46167
  }
45973
46168
 
45974
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
46169
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
45975
46170
  var import_path6 = require("path");
45976
46171
  var import_typescript113 = __toESM(require("typescript"), 1);
45977
46172
  var UniqueItemTracker = class {
@@ -46147,7 +46342,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
46147
46342
  }));
46148
46343
  }
46149
46344
 
46150
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
46345
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
46151
46346
  function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
46152
46347
  const filesToRemove = /* @__PURE__ */ new Set();
46153
46348
  const tracker = new ChangeTracker(printer, importRemapper);
@@ -46346,14 +46541,14 @@ function findNgModuleDecorator(node, typeChecker) {
46346
46541
  return decorators.find((decorator) => decorator.name === "NgModule") || null;
46347
46542
  }
46348
46543
 
46349
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
46544
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
46350
46545
  var import_path7 = require("path");
46351
46546
  var import_typescript117 = __toESM(require("typescript"), 1);
46352
46547
 
46353
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
46548
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
46354
46549
  var import_typescript116 = __toESM(require("typescript"), 1);
46355
46550
 
46356
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
46551
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
46357
46552
  var import_typescript115 = __toESM(require("typescript"), 1);
46358
46553
  function isReferenceToImport(typeChecker, node, importSpecifier) {
46359
46554
  var _a2, _b2;
@@ -46362,7 +46557,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
46362
46557
  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];
46363
46558
  }
46364
46559
 
46365
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
46560
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
46366
46561
  function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
46367
46562
  const templateTypeChecker = program.compiler.getTemplateTypeChecker();
46368
46563
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -46725,7 +46920,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
46725
46920
  return metadata != null && metadata.isStandalone;
46726
46921
  }
46727
46922
 
46728
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
46923
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
46729
46924
  function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
46730
46925
  const tracker = new ChangeTracker(printer, importRemapper);
46731
46926
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -47102,7 +47297,7 @@ function hasImport(program, rootFileNames, moduleName) {
47102
47297
  return false;
47103
47298
  }
47104
47299
 
47105
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
47300
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
47106
47301
  var MigrationMode;
47107
47302
  (function(MigrationMode2) {
47108
47303
  MigrationMode2["toStandalone"] = "convert-to-standalone";