@angular/core 17.1.1 → 17.1.3

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 (61) hide show
  1. package/esm2022/src/application/application_init.mjs +2 -2
  2. package/esm2022/src/application/application_ref.mjs +55 -17
  3. package/esm2022/src/application/application_tokens.mjs +9 -9
  4. package/esm2022/src/authoring/input.mjs +1 -1
  5. package/esm2022/src/authoring/input_signal.mjs +1 -1
  6. package/esm2022/src/authoring/input_type_checking.mjs +1 -1
  7. package/esm2022/src/authoring.mjs +1 -1
  8. package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +51 -18
  9. package/esm2022/src/core_private_export.mjs +2 -2
  10. package/esm2022/src/defer/instructions.mjs +16 -7
  11. package/esm2022/src/di/forward_ref.mjs +1 -1
  12. package/esm2022/src/di/initializer_token.mjs +2 -2
  13. package/esm2022/src/di/injector.mjs +4 -4
  14. package/esm2022/src/di/injector_token.mjs +2 -2
  15. package/esm2022/src/di/internal_tokens.mjs +2 -2
  16. package/esm2022/src/di/scope.mjs +2 -2
  17. package/esm2022/src/hydration/error_handling.mjs +17 -6
  18. package/esm2022/src/hydration/utils.mjs +54 -8
  19. package/esm2022/src/i18n/tokens.mjs +5 -5
  20. package/esm2022/src/linker/compiler.mjs +2 -2
  21. package/esm2022/src/metadata/di.mjs +1 -1
  22. package/esm2022/src/platform/platform.mjs +2 -2
  23. package/esm2022/src/platform/platform_ref.mjs +2 -2
  24. package/esm2022/src/render3/after_render_hooks.mjs +2 -6
  25. package/esm2022/src/render3/component_ref.mjs +1 -1
  26. package/esm2022/src/render3/definition.mjs +1 -1
  27. package/esm2022/src/render3/errors_di.mjs +2 -2
  28. package/esm2022/src/render3/i18n/i18n_locale_id.mjs +2 -2
  29. package/esm2022/src/render3/instructions/change_detection.mjs +6 -6
  30. package/esm2022/src/render3/instructions/element.mjs +3 -3
  31. package/esm2022/src/render3/instructions/write_to_directive_input.mjs +1 -1
  32. package/esm2022/src/render3/util/view_utils.mjs +3 -3
  33. package/esm2022/src/render3/view_ref.mjs +1 -1
  34. package/esm2022/src/util/ng_dev_mode.mjs +11 -3
  35. package/esm2022/src/util/stringify.mjs +2 -2
  36. package/esm2022/src/version.mjs +1 -1
  37. package/esm2022/testing/src/component_fixture.mjs +127 -92
  38. package/esm2022/testing/src/logger.mjs +3 -3
  39. package/esm2022/testing/src/test_bed.mjs +11 -6
  40. package/esm2022/testing/src/test_bed_common.mjs +9 -2
  41. package/esm2022/testing/src/test_bed_compiler.mjs +5 -4
  42. package/esm2022/testing/src/testing.mjs +2 -2
  43. package/fesm2022/core.mjs +510 -376
  44. package/fesm2022/core.mjs.map +1 -1
  45. package/fesm2022/primitives/signals.mjs +1 -1
  46. package/fesm2022/rxjs-interop.mjs +1 -1
  47. package/fesm2022/testing.mjs +142 -95
  48. package/fesm2022/testing.mjs.map +1 -1
  49. package/index.d.ts +85 -23
  50. package/package.json +1 -1
  51. package/primitives/signals/index.d.ts +1 -1
  52. package/rxjs-interop/index.d.ts +1 -1
  53. package/schematics/migrations/block-template-entities/bundle.js +255 -208
  54. package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
  55. package/schematics/migrations/compiler-options/bundle.js +13 -13
  56. package/schematics/migrations/transfer-state/bundle.js +13 -13
  57. package/schematics/ng-generate/control-flow-migration/bundle.js +265 -218
  58. package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
  59. package/schematics/ng-generate/standalone-migration/bundle.js +702 -560
  60. package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
  61. package/testing/index.d.ts +6 -17
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
63
63
  });
64
64
  };
65
65
 
66
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
66
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
67
67
  var standalone_migration_exports = {};
68
68
  __export(standalone_migration_exports, {
69
69
  default: () => standalone_migration_default
@@ -71,10 +71,10 @@ __export(standalone_migration_exports, {
71
71
  module.exports = __toCommonJS(standalone_migration_exports);
72
72
  var import_schematics = require("@angular-devkit/schematics");
73
73
 
74
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
74
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
75
75
  var import_typescript = __toESM(require("typescript"), 1);
76
76
 
77
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
77
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
78
78
  var InvalidFileSystem = class {
79
79
  exists(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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
165
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
166
166
  var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
167
167
  function stripExtension(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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
178
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
179
179
  var fs = new InvalidFileSystem();
180
180
  function getFileSystem() {
181
181
  return fs;
@@ -219,7 +219,7 @@ function toRelativeImport(relativePath) {
219
219
  return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
220
220
  }
221
221
 
222
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
222
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
223
223
  var LogicalProjectPath = {
224
224
  relativePathBetween: function(from, to) {
225
225
  const relativePath = relative(dirname(resolve(from)), resolve(to));
@@ -265,9 +265,9 @@ function isWithinBasePath(base, path4) {
265
265
  return isLocalRelativePath(relative(base, path4));
266
266
  }
267
267
 
268
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
268
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
269
269
  var import_fs = __toESM(require("fs"), 1);
270
- var import_module = __toESM(require("module"), 1);
270
+ var import_module = require("module");
271
271
  var p = __toESM(require("path"), 1);
272
272
  var import_url = require("url");
273
273
  var import_meta = {};
@@ -342,7 +342,7 @@ var NodeJSReadonlyFileSystem = class extends NodeJSPathManipulation {
342
342
  return this.resolve(import_fs.default.realpathSync(path4));
343
343
  }
344
344
  getDefaultLibLocation() {
345
- const requireFn = isCommonJS ? require : import_module.default.createRequire(currentFileUrl);
345
+ const requireFn = isCommonJS ? require : (0, import_module.createRequire)(currentFileUrl);
346
346
  return this.resolve(requireFn.resolve("typescript"), "..");
347
347
  }
348
348
  };
@@ -373,7 +373,7 @@ function toggleCase(str) {
373
373
  return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
374
374
  }
375
375
 
376
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
376
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
377
377
  var _SELECTOR_REGEXP = new RegExp(
378
378
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
379
379
  "g"
@@ -681,7 +681,7 @@ var SelectorContext = class {
681
681
  }
682
682
  };
683
683
 
684
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
684
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
685
685
  var emitDistinctChangesOnlyDefaultValue = true;
686
686
  var ViewEncapsulation;
687
687
  (function(ViewEncapsulation2) {
@@ -750,7 +750,7 @@ function parseSelectorToR3Selector(selector) {
750
750
  return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
751
751
  }
752
752
 
753
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
753
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
754
754
  var output_ast_exports = {};
755
755
  __export(output_ast_exports, {
756
756
  ArrayType: () => ArrayType,
@@ -838,7 +838,7 @@ __export(output_ast_exports, {
838
838
  variable: () => variable
839
839
  });
840
840
 
841
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
841
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
842
842
  var textEncoder;
843
843
  function digest(message) {
844
844
  return message.id || computeDigest(message);
@@ -1081,7 +1081,7 @@ function wordAt(bytes, index, endian) {
1081
1081
  return word;
1082
1082
  }
1083
1083
 
1084
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1084
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1085
1085
  var TypeModifier;
1086
1086
  (function(TypeModifier2) {
1087
1087
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -2276,7 +2276,7 @@ function serializeTags(tags) {
2276
2276
  return out;
2277
2277
  }
2278
2278
 
2279
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2279
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2280
2280
  var CONSTANT_PREFIX = "_c";
2281
2281
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
2282
2282
  var KEY_CONTEXT = {};
@@ -2316,6 +2316,7 @@ var ConstantPool = class {
2316
2316
  this.literals = /* @__PURE__ */ new Map();
2317
2317
  this.literalFactories = /* @__PURE__ */ new Map();
2318
2318
  this.sharedConstants = /* @__PURE__ */ new Map();
2319
+ this._claimedNames = /* @__PURE__ */ new Map();
2319
2320
  this.nextNameIndex = 0;
2320
2321
  }
2321
2322
  getConstLiteral(literal3, forceShared) {
@@ -2408,8 +2409,12 @@ var ConstantPool = class {
2408
2409
  }
2409
2410
  return { literalFactory, literalFactoryArguments };
2410
2411
  }
2411
- uniqueName(prefix) {
2412
- return `${prefix}${this.nextNameIndex++}`;
2412
+ uniqueName(name, alwaysIncludeSuffix = true) {
2413
+ var _a2;
2414
+ const count = (_a2 = this._claimedNames.get(name)) != null ? _a2 : 0;
2415
+ const result = count === 0 && !alwaysIncludeSuffix ? `${name}` : `${name}${count}`;
2416
+ this._claimedNames.set(name, count + 1);
2417
+ return result;
2413
2418
  }
2414
2419
  freshName() {
2415
2420
  return this.uniqueName(CONSTANT_PREFIX);
@@ -2459,7 +2464,7 @@ function isLongStringLiteral(expr) {
2459
2464
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
2460
2465
  }
2461
2466
 
2462
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2467
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2463
2468
  var CORE = "@angular/core";
2464
2469
  var _Identifiers = class {
2465
2470
  };
@@ -3104,7 +3109,7 @@ var Identifiers = _Identifiers;
3104
3109
  _Identifiers.UnwrapDirectiveSignalInputs = { name: "\u0275UnwrapDirectiveSignalInputs", moduleName: CORE };
3105
3110
  })();
3106
3111
 
3107
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
3112
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
3108
3113
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
3109
3114
  function dashCaseToCamelCase(input) {
3110
3115
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -3192,7 +3197,7 @@ function partitionArray(arr, conditionFn) {
3192
3197
  return [truthy, falsy];
3193
3198
  }
3194
3199
 
3195
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3200
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3196
3201
  var VERSION = 3;
3197
3202
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
3198
3203
  var SourceMapGenerator = class {
@@ -3321,7 +3326,7 @@ function toBase64Digit(value) {
3321
3326
  return B64_DIGITS[value];
3322
3327
  }
3323
3328
 
3324
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3329
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3325
3330
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
3326
3331
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
3327
3332
  var _INDENT_WITH = " ";
@@ -3809,7 +3814,7 @@ function _createIndent(count) {
3809
3814
  return res;
3810
3815
  }
3811
3816
 
3812
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
3817
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
3813
3818
  function typeWithParameters(type, numParams) {
3814
3819
  if (numParams === 0) {
3815
3820
  return expressionType(type);
@@ -3877,7 +3882,7 @@ function generateForwardRef(expr) {
3877
3882
  return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
3878
3883
  }
3879
3884
 
3880
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3885
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3881
3886
  var R3FactoryDelegateType;
3882
3887
  (function(R3FactoryDelegateType2) {
3883
3888
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -4022,7 +4027,7 @@ function getInjectFn(target) {
4022
4027
  }
4023
4028
  }
4024
4029
 
4025
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
4030
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
4026
4031
  var TagContentType;
4027
4032
  (function(TagContentType2) {
4028
4033
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -4059,7 +4064,7 @@ function mergeNsAndName(prefix, localName) {
4059
4064
  return prefix ? `:${prefix}:${localName}` : localName;
4060
4065
  }
4061
4066
 
4062
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
4067
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
4063
4068
  var Comment = class {
4064
4069
  constructor(value, sourceSpan) {
4065
4070
  this.value = value;
@@ -4513,7 +4518,7 @@ function visitAll(visitor, nodes) {
4513
4518
  return result;
4514
4519
  }
4515
4520
 
4516
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4521
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4517
4522
  var Message = class {
4518
4523
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
4519
4524
  this.nodes = nodes;
@@ -4702,7 +4707,7 @@ var LocalizeMessageStringVisitor = class {
4702
4707
  }
4703
4708
  };
4704
4709
 
4705
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4710
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4706
4711
  var Serializer = class {
4707
4712
  createNameMapper(message) {
4708
4713
  return null;
@@ -4759,7 +4764,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
4759
4764
  }
4760
4765
  };
4761
4766
 
4762
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4767
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4763
4768
  var _Visitor = class {
4764
4769
  visitTag(tag) {
4765
4770
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4847,7 +4852,7 @@ function escapeXml(text2) {
4847
4852
  return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
4848
4853
  }
4849
4854
 
4850
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4855
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4851
4856
  var _MESSAGES_TAG = "messagebundle";
4852
4857
  var _MESSAGE_TAG = "msg";
4853
4858
  var _PLACEHOLDER_TAG = "ph";
@@ -4999,7 +5004,7 @@ function toPublicName(internalName) {
4999
5004
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
5000
5005
  }
5001
5006
 
5002
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
5007
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
5003
5008
  var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
5004
5009
  var TRANSLATION_VAR_PREFIX = "i18n_";
5005
5010
  var I18N_ATTR = "i18n";
@@ -5101,7 +5106,7 @@ function declareI18nVariable(variable2) {
5101
5106
  return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
5102
5107
  }
5103
5108
 
5104
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
5109
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
5105
5110
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
5106
5111
  var TEMPORARY_NAME = "_t";
5107
5112
  var CONTEXT_NAME = "ctx";
@@ -5318,7 +5323,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
5318
5323
  }
5319
5324
  });
5320
5325
  elOrTpl.inputs.forEach((i) => {
5321
- if (i.type === 0) {
5326
+ if (i.type === 0 || i.type === 5) {
5322
5327
  attributesMap[i.name] = "";
5323
5328
  }
5324
5329
  });
@@ -5363,7 +5368,7 @@ function getInstructionStatements(instructions) {
5363
5368
  return statements;
5364
5369
  }
5365
5370
 
5366
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
5371
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
5367
5372
  function compileInjectable(meta, resolveForwardRefs) {
5368
5373
  let result = null;
5369
5374
  const factoryMeta = {
@@ -5448,7 +5453,7 @@ function createFactoryFunction(type) {
5448
5453
  return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
5449
5454
  }
5450
5455
 
5451
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
5456
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
5452
5457
  var UNUSABLE_INTERPOLATION_REGEXPS = [
5453
5458
  /^\s*$/,
5454
5459
  /[<>]/,
@@ -5470,7 +5475,7 @@ function assertInterpolationSymbols(identifier, value) {
5470
5475
  }
5471
5476
  }
5472
5477
 
5473
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
5478
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
5474
5479
  var InterpolationConfig = class {
5475
5480
  static fromArray(markers) {
5476
5481
  if (!markers) {
@@ -5487,7 +5492,7 @@ var InterpolationConfig = class {
5487
5492
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
5488
5493
  var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
5489
5494
 
5490
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
5495
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
5491
5496
  var $EOF = 0;
5492
5497
  var $BSPACE = 8;
5493
5498
  var $TAB = 9;
@@ -5569,7 +5574,7 @@ function isQuote(code) {
5569
5574
  return code === $SQ || code === $DQ || code === $BT;
5570
5575
  }
5571
5576
 
5572
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
5577
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
5573
5578
  var ParseLocation = class {
5574
5579
  constructor(file, offset, line, col) {
5575
5580
  this.file = file;
@@ -5716,7 +5721,7 @@ function sanitizeIdentifier(name) {
5716
5721
  return name.replace(/\W/g, "_");
5717
5722
  }
5718
5723
 
5719
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5724
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5720
5725
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
5721
5726
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5722
5727
  constructor() {
@@ -5809,7 +5814,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5809
5814
  }
5810
5815
  };
5811
5816
 
5812
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5817
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5813
5818
  var policy;
5814
5819
  function getPolicy() {
5815
5820
  if (policy === void 0) {
@@ -5847,7 +5852,7 @@ function newTrustedFunctionForJIT(...args) {
5847
5852
  return fn2.bind(_global);
5848
5853
  }
5849
5854
 
5850
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5855
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5851
5856
  var JitEvaluator = class {
5852
5857
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
5853
5858
  const converter = new JitEmitterVisitor(refResolver);
@@ -5938,7 +5943,7 @@ function isUseStrictStatement(statement) {
5938
5943
  return statement.isEquivalent(literal("use strict").toStmt());
5939
5944
  }
5940
5945
 
5941
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5946
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5942
5947
  function compileInjector(meta) {
5943
5948
  const definitionMap = new DefinitionMap();
5944
5949
  if (meta.providers !== null) {
@@ -5955,7 +5960,7 @@ function createInjectorType(meta) {
5955
5960
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
5956
5961
  }
5957
5962
 
5958
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5963
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5959
5964
  var R3JitReflector = class {
5960
5965
  constructor(context) {
5961
5966
  this.context = context;
@@ -5971,7 +5976,7 @@ var R3JitReflector = class {
5971
5976
  }
5972
5977
  };
5973
5978
 
5974
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5979
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5975
5980
  var R3SelectorScopeMode;
5976
5981
  (function(R3SelectorScopeMode2) {
5977
5982
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -6112,7 +6117,7 @@ function tupleOfTypes(types) {
6112
6117
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
6113
6118
  }
6114
6119
 
6115
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
6120
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
6116
6121
  function compilePipeFromMetadata(metadata) {
6117
6122
  const definitionMapValues = [];
6118
6123
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -6133,7 +6138,7 @@ function createPipeType(metadata) {
6133
6138
  ]));
6134
6139
  }
6135
6140
 
6136
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
6141
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
6137
6142
  var R3TemplateDependencyKind;
6138
6143
  (function(R3TemplateDependencyKind2) {
6139
6144
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -6141,7 +6146,7 @@ var R3TemplateDependencyKind;
6141
6146
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
6142
6147
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
6143
6148
 
6144
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
6149
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
6145
6150
  var ParserError = class {
6146
6151
  constructor(message, input, errLocation, ctxLocation) {
6147
6152
  this.input = input;
@@ -6773,6 +6778,7 @@ var ParsedPropertyType;
6773
6778
  ParsedPropertyType2[ParsedPropertyType2["DEFAULT"] = 0] = "DEFAULT";
6774
6779
  ParsedPropertyType2[ParsedPropertyType2["LITERAL_ATTR"] = 1] = "LITERAL_ATTR";
6775
6780
  ParsedPropertyType2[ParsedPropertyType2["ANIMATION"] = 2] = "ANIMATION";
6781
+ ParsedPropertyType2[ParsedPropertyType2["TWO_WAY"] = 3] = "TWO_WAY";
6776
6782
  })(ParsedPropertyType || (ParsedPropertyType = {}));
6777
6783
  var ParsedEvent = class {
6778
6784
  constructor(name, targetOrPhase, type, handler, sourceSpan, handlerSpan, keySpan) {
@@ -6807,7 +6813,7 @@ var BoundElementProperty = class {
6807
6813
  }
6808
6814
  };
6809
6815
 
6810
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6816
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6811
6817
  var _EventHandlerVars = class {
6812
6818
  };
6813
6819
  var EventHandlerVars = _EventHandlerVars;
@@ -7448,7 +7454,7 @@ var BuiltinFunctionCall = class extends Call {
7448
7454
  }
7449
7455
  };
7450
7456
 
7451
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
7457
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
7452
7458
  var _SECURITY_SCHEMA;
7453
7459
  function SECURITY_SCHEMA() {
7454
7460
  if (!_SECURITY_SCHEMA) {
@@ -7506,7 +7512,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
7506
7512
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
7507
7513
  }
7508
7514
 
7509
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
7515
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
7510
7516
  var animationKeywords = /* @__PURE__ */ new Set([
7511
7517
  "inherit",
7512
7518
  "initial",
@@ -7977,7 +7983,7 @@ function repeatGroups(groups, multiples) {
7977
7983
  }
7978
7984
  }
7979
7985
 
7980
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7986
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7981
7987
  var OpKind;
7982
7988
  (function(OpKind2) {
7983
7989
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -8136,7 +8142,7 @@ var TemplateKind;
8136
8142
  TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
8137
8143
  })(TemplateKind || (TemplateKind = {}));
8138
8144
 
8139
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
8145
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
8140
8146
  var ConsumesSlot = Symbol("ConsumesSlot");
8141
8147
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
8142
8148
  var ConsumesVarsTrait = Symbol("ConsumesVars");
@@ -8168,7 +8174,7 @@ function hasUsesVarOffsetTrait(expr) {
8168
8174
  return expr[UsesVarOffset] === true;
8169
8175
  }
8170
8176
 
8171
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
8177
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
8172
8178
  function createStatementOp(statement) {
8173
8179
  return __spreadValues({
8174
8180
  kind: OpKind.Statement,
@@ -8190,7 +8196,7 @@ var NEW_OP = {
8190
8196
  next: null
8191
8197
  };
8192
8198
 
8193
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
8199
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
8194
8200
  function createInterpolateTextOp(xref, interpolation, sourceSpan) {
8195
8201
  return __spreadValues(__spreadValues(__spreadValues({
8196
8202
  kind: OpKind.InterpolateText,
@@ -8356,7 +8362,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
8356
8362
  }, NEW_OP);
8357
8363
  }
8358
8364
 
8359
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
8365
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
8360
8366
  var _a;
8361
8367
  var _b;
8362
8368
  var _c;
@@ -9188,7 +9194,7 @@ function isStringLiteral(expr) {
9188
9194
  return expr instanceof LiteralExpr && typeof expr.value === "string";
9189
9195
  }
9190
9196
 
9191
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
9197
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
9192
9198
  var _OpList = class {
9193
9199
  constructor() {
9194
9200
  this.debugListId = _OpList.nextListId++;
@@ -9379,14 +9385,14 @@ var OpList = _OpList;
9379
9385
  _OpList.nextListId = 0;
9380
9386
  })();
9381
9387
 
9382
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
9388
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
9383
9389
  var SlotHandle = class {
9384
9390
  constructor() {
9385
9391
  this.slot = null;
9386
9392
  }
9387
9393
  };
9388
9394
 
9389
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
9395
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
9390
9396
  var elementContainerOpKinds = /* @__PURE__ */ new Set([
9391
9397
  OpKind.Element,
9392
9398
  OpKind.ElementStart,
@@ -9555,7 +9561,7 @@ function createExtractedAttributeOp(target, bindingKind, namespace, name, expres
9555
9561
  trustedValueFn: null
9556
9562
  }, NEW_OP);
9557
9563
  }
9558
- function createDeferOp(xref, main, mainSlot, metadata, sourceSpan) {
9564
+ function createDeferOp(xref, main, mainSlot, metadata, resolverFn, sourceSpan) {
9559
9565
  return __spreadProps(__spreadValues(__spreadValues({
9560
9566
  kind: OpKind.Defer,
9561
9567
  xref,
@@ -9574,7 +9580,7 @@ function createDeferOp(xref, main, mainSlot, metadata, sourceSpan) {
9574
9580
  errorView: null,
9575
9581
  errorSlot: null,
9576
9582
  metadata,
9577
- resolverFn: null,
9583
+ resolverFn,
9578
9584
  sourceSpan
9579
9585
  }, NEW_OP), TRAIT_CONSUMES_SLOT), {
9580
9586
  numSlotsUsed: 2
@@ -9673,7 +9679,7 @@ function createI18nAttributesOp(xref, handle, target) {
9673
9679
  }, NEW_OP), TRAIT_CONSUMES_SLOT);
9674
9680
  }
9675
9681
 
9676
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
9682
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
9677
9683
  function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
9678
9684
  return __spreadValues(__spreadValues({
9679
9685
  kind: OpKind.HostProperty,
@@ -9687,10 +9693,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
9687
9693
  }, TRAIT_CONSUMES_VARS), NEW_OP);
9688
9694
  }
9689
9695
 
9690
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
9696
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
9691
9697
  var CTX_REF = "CTX_REF_MARKER";
9692
9698
 
9693
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
9699
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
9694
9700
  var CompilationJobKind;
9695
9701
  (function(CompilationJobKind2) {
9696
9702
  CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
@@ -9710,11 +9716,12 @@ var CompilationJob = class {
9710
9716
  }
9711
9717
  };
9712
9718
  var ComponentCompilationJob = class extends CompilationJob {
9713
- constructor(componentName, pool, compatibility, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
9719
+ constructor(componentName, pool, compatibility, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn) {
9714
9720
  super(componentName, pool, compatibility);
9715
9721
  this.relativeContextFilePath = relativeContextFilePath;
9716
9722
  this.i18nUseExternalIds = i18nUseExternalIds;
9717
9723
  this.deferBlocksMeta = deferBlocksMeta;
9724
+ this.allDeferrableDepsFn = allDeferrableDepsFn;
9718
9725
  this.kind = CompilationJobKind.Tmpl;
9719
9726
  this.fnSuffix = "Template";
9720
9727
  this.views = /* @__PURE__ */ new Map();
@@ -9797,7 +9804,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
9797
9804
  }
9798
9805
  };
9799
9806
 
9800
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
9807
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
9801
9808
  function deleteAnyCasts(job) {
9802
9809
  for (const unit of job.units) {
9803
9810
  for (const op of unit.ops()) {
@@ -9815,7 +9822,7 @@ function removeAnys(e) {
9815
9822
  return e;
9816
9823
  }
9817
9824
 
9818
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
9825
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
9819
9826
  function applyI18nExpressions(job) {
9820
9827
  const i18nContexts = /* @__PURE__ */ new Map();
9821
9828
  for (const unit of job.units) {
@@ -9858,7 +9865,7 @@ function needsApplication(i18nContexts, op) {
9858
9865
  return false;
9859
9866
  }
9860
9867
 
9861
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
9868
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
9862
9869
  function assignI18nSlotDependencies(job) {
9863
9870
  for (const unit of job.units) {
9864
9871
  let updateOp = unit.update.head;
@@ -9903,7 +9910,7 @@ function assignI18nSlotDependencies(job) {
9903
9910
  }
9904
9911
  }
9905
9912
 
9906
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
9913
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
9907
9914
  function createOpXrefMap(unit) {
9908
9915
  const map = /* @__PURE__ */ new Map();
9909
9916
  for (const op of unit.create) {
@@ -9918,7 +9925,7 @@ function createOpXrefMap(unit) {
9918
9925
  return map;
9919
9926
  }
9920
9927
 
9921
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
9928
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
9922
9929
  function extractAttributes(job) {
9923
9930
  for (const unit of job.units) {
9924
9931
  const elements = createOpXrefMap(unit);
@@ -10020,7 +10027,7 @@ function extractAttributeOp(unit, op, elements) {
10020
10027
  }
10021
10028
  }
10022
10029
 
10023
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
10030
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
10024
10031
  function lookupElement2(elements, xref) {
10025
10032
  const el = elements.get(xref);
10026
10033
  if (el === void 0) {
@@ -10071,7 +10078,7 @@ function specializeBindings(job) {
10071
10078
  }
10072
10079
  }
10073
10080
 
10074
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
10081
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
10075
10082
  var CHAINABLE = /* @__PURE__ */ new Set([
10076
10083
  Identifiers.attribute,
10077
10084
  Identifiers.classProp,
@@ -10137,7 +10144,7 @@ function chainOperationsInList(opList) {
10137
10144
  }
10138
10145
  }
10139
10146
 
10140
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
10147
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
10141
10148
  function collapseSingletonInterpolations(job) {
10142
10149
  for (const unit of job.units) {
10143
10150
  for (const op of unit.update) {
@@ -10149,7 +10156,7 @@ function collapseSingletonInterpolations(job) {
10149
10156
  }
10150
10157
  }
10151
10158
 
10152
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
10159
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
10153
10160
  function generateConditionalExpressions(job) {
10154
10161
  for (const unit of job.units) {
10155
10162
  for (const op of unit.ops()) {
@@ -10186,7 +10193,7 @@ function generateConditionalExpressions(job) {
10186
10193
  }
10187
10194
  }
10188
10195
 
10189
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
10196
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
10190
10197
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
10191
10198
  ["&&", BinaryOperator.And],
10192
10199
  [">", BinaryOperator.Bigger],
@@ -10237,7 +10244,7 @@ function literalOrArrayLiteral(value) {
10237
10244
  return literal(value);
10238
10245
  }
10239
10246
 
10240
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
10247
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
10241
10248
  function collectElementConsts(job) {
10242
10249
  const allElementAttributes = /* @__PURE__ */ new Map();
10243
10250
  for (const unit of job.units) {
@@ -10399,7 +10406,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
10399
10406
  return literalArr(attrArray);
10400
10407
  }
10401
10408
 
10402
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
10409
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
10403
10410
  function convertI18nBindings(job) {
10404
10411
  const i18nAttributesByElem = /* @__PURE__ */ new Map();
10405
10412
  for (const unit of job.units) {
@@ -10440,18 +10447,25 @@ function convertI18nBindings(job) {
10440
10447
  }
10441
10448
  }
10442
10449
 
10443
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
10450
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
10444
10451
  function createDeferDepsFns(job) {
10452
+ var _a2;
10445
10453
  for (const unit of job.units) {
10446
10454
  for (const op of unit.create) {
10447
10455
  if (op.kind === OpKind.Defer) {
10448
10456
  if (op.metadata.deps.length === 0) {
10449
10457
  continue;
10450
10458
  }
10459
+ if (op.resolverFn !== null) {
10460
+ continue;
10461
+ }
10451
10462
  const dependencies = [];
10452
10463
  for (const dep of op.metadata.deps) {
10453
10464
  if (dep.isDeferrable) {
10454
- const innerFn = arrowFn([new FnParam("m", DYNAMIC_TYPE)], variable("m").prop(dep.symbolName));
10465
+ const innerFn = arrowFn(
10466
+ [new FnParam("m", DYNAMIC_TYPE)],
10467
+ variable("m").prop(dep.isDefaultImport ? "default" : dep.symbolName)
10468
+ );
10455
10469
  const importExpr2 = new DynamicImportExpr(dep.importPath).prop("then").callFn([innerFn]);
10456
10470
  dependencies.push(importExpr2);
10457
10471
  } else {
@@ -10462,9 +10476,10 @@ function createDeferDepsFns(job) {
10462
10476
  if (op.handle.slot === null) {
10463
10477
  throw new Error("AssertionError: slot must be assigned bfore extracting defer deps functions");
10464
10478
  }
10479
+ const fullPathName = (_a2 = unit.fnName) == null ? void 0 : _a2.replace(`_Template`, ``);
10465
10480
  op.resolverFn = job.pool.getSharedFunctionReference(
10466
10481
  depsFnExpr,
10467
- `${job.componentName}_Defer_${op.handle.slot}_DepsFn`,
10482
+ `${fullPathName}_Defer_${op.handle.slot}_DepsFn`,
10468
10483
  false
10469
10484
  );
10470
10485
  }
@@ -10472,7 +10487,7 @@ function createDeferDepsFns(job) {
10472
10487
  }
10473
10488
  }
10474
10489
 
10475
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
10490
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
10476
10491
  function createI18nContexts(job) {
10477
10492
  const attrContextByMessage = /* @__PURE__ */ new Map();
10478
10493
  for (const unit of job.units) {
@@ -10550,7 +10565,7 @@ function createI18nContexts(job) {
10550
10565
  }
10551
10566
  }
10552
10567
 
10553
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
10568
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
10554
10569
  function deduplicateTextBindings(job) {
10555
10570
  const seen = /* @__PURE__ */ new Map();
10556
10571
  for (const unit of job.units) {
@@ -10572,7 +10587,7 @@ function deduplicateTextBindings(job) {
10572
10587
  }
10573
10588
  }
10574
10589
 
10575
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
10590
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
10576
10591
  function configureDeferInstructions(job) {
10577
10592
  for (const unit of job.units) {
10578
10593
  for (const op of unit.create) {
@@ -10589,7 +10604,7 @@ function configureDeferInstructions(job) {
10589
10604
  }
10590
10605
  }
10591
10606
 
10592
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
10607
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
10593
10608
  function resolveDeferTargetNames(job) {
10594
10609
  const scopes = /* @__PURE__ */ new Map();
10595
10610
  function getScopeForView2(view) {
@@ -10683,7 +10698,7 @@ var Scope = class {
10683
10698
  }
10684
10699
  };
10685
10700
 
10686
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
10701
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
10687
10702
  var REPLACEMENTS = /* @__PURE__ */ new Map([
10688
10703
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
10689
10704
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
@@ -10710,7 +10725,7 @@ function collapseEmptyInstructions(job) {
10710
10725
  }
10711
10726
  }
10712
10727
 
10713
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
10728
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
10714
10729
  function expandSafeReads(job) {
10715
10730
  for (const unit of job.units) {
10716
10731
  for (const op of unit.ops()) {
@@ -10846,7 +10861,7 @@ function ternaryTransform(e) {
10846
10861
  return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
10847
10862
  }
10848
10863
 
10849
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
10864
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
10850
10865
  var ESCAPE = "\uFFFD";
10851
10866
  var ELEMENT_MARKER = "#";
10852
10867
  var TEMPLATE_MARKER = "*";
@@ -10982,7 +10997,7 @@ function formatValue(value) {
10982
10997
  return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
10983
10998
  }
10984
10999
 
10985
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
11000
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
10986
11001
  function generateAdvance(job) {
10987
11002
  for (const unit of job.units) {
10988
11003
  const slotMap = /* @__PURE__ */ new Map();
@@ -11014,7 +11029,7 @@ function generateAdvance(job) {
11014
11029
  }
11015
11030
  }
11016
11031
 
11017
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
11032
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
11018
11033
  function generateProjectionDefs(job) {
11019
11034
  const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
11020
11035
  const selectors = [];
@@ -11038,7 +11053,7 @@ function generateProjectionDefs(job) {
11038
11053
  }
11039
11054
  }
11040
11055
 
11041
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
11056
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
11042
11057
  function generateVariables(job) {
11043
11058
  recursivelyProcessView(job.root, null);
11044
11059
  }
@@ -11131,7 +11146,7 @@ function generateVariablesInScopeForView(view, scope) {
11131
11146
  return newOps;
11132
11147
  }
11133
11148
 
11134
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
11149
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
11135
11150
  function collectConstExpressions(job) {
11136
11151
  for (const unit of job.units) {
11137
11152
  for (const op of unit.ops()) {
@@ -11145,7 +11160,7 @@ function collectConstExpressions(job) {
11145
11160
  }
11146
11161
  }
11147
11162
 
11148
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
11163
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
11149
11164
  var STYLE_DOT = "style.";
11150
11165
  var CLASS_DOT = "class.";
11151
11166
  var STYLE_BANG = "style!";
@@ -11203,7 +11218,7 @@ function parseProperty(name) {
11203
11218
  return { property: property2, suffix };
11204
11219
  }
11205
11220
 
11206
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
11221
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
11207
11222
  function mapLiteral(obj, quoted = false) {
11208
11223
  return literalMap(Object.keys(obj).map((key) => ({
11209
11224
  key,
@@ -11212,7 +11227,7 @@ function mapLiteral(obj, quoted = false) {
11212
11227
  })));
11213
11228
  }
11214
11229
 
11215
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
11230
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
11216
11231
  var IcuSerializerVisitor = class {
11217
11232
  visitText(text2) {
11218
11233
  return text2.value;
@@ -11246,7 +11261,7 @@ function serializeIcuNode(icu) {
11246
11261
  return icu.visit(serializer);
11247
11262
  }
11248
11263
 
11249
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
11264
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
11250
11265
  var TokenType;
11251
11266
  (function(TokenType2) {
11252
11267
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -11607,7 +11622,7 @@ function parseIntAutoRadix(text2) {
11607
11622
  return result;
11608
11623
  }
11609
11624
 
11610
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
11625
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
11611
11626
  var SplitInterpolation = class {
11612
11627
  constructor(strings, expressions, offsets) {
11613
11628
  this.strings = strings;
@@ -12501,7 +12516,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
12501
12516
  return offsetMap;
12502
12517
  }
12503
12518
 
12504
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
12519
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
12505
12520
  var NodeWithI18n = class {
12506
12521
  constructor(sourceSpan, i18n2) {
12507
12522
  this.sourceSpan = sourceSpan;
@@ -12612,11 +12627,11 @@ function visitAll2(visitor, nodes, context = null) {
12612
12627
  return result;
12613
12628
  }
12614
12629
 
12615
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
12630
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
12616
12631
  var ElementSchemaRegistry = class {
12617
12632
  };
12618
12633
 
12619
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
12634
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
12620
12635
  var BOOLEAN = "boolean";
12621
12636
  var NUMBER = "number";
12622
12637
  var STRING = "string";
@@ -12969,7 +12984,7 @@ function _isPixelDimensionStyle(prop) {
12969
12984
  }
12970
12985
  }
12971
12986
 
12972
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12987
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12973
12988
  var HtmlTagDefinition = class {
12974
12989
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
12975
12990
  this.closedByChildren = {};
@@ -13087,7 +13102,7 @@ function getHtmlTagDefinition(tagName) {
13087
13102
  return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
13088
13103
  }
13089
13104
 
13090
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
13105
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
13091
13106
  var TAG_TO_PLACEHOLDER_NAMES = {
13092
13107
  "A": "LINK",
13093
13108
  "B": "BOLD_TEXT",
@@ -13209,7 +13224,7 @@ var PlaceholderRegistry = class {
13209
13224
  }
13210
13225
  };
13211
13226
 
13212
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
13227
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
13213
13228
  var _expParser = new Parser(new Lexer());
13214
13229
  function createI18nMessageFactory(interpolationConfig, containerBlocks) {
13215
13230
  const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
@@ -13388,14 +13403,14 @@ function extractPlaceholderName(input) {
13388
13403
  return input.split(_CUSTOM_PH_EXP)[2];
13389
13404
  }
13390
13405
 
13391
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
13406
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
13392
13407
  var I18nError = class extends ParseError {
13393
13408
  constructor(span, msg) {
13394
13409
  super(span, msg);
13395
13410
  }
13396
13411
  };
13397
13412
 
13398
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
13413
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
13399
13414
  var NAMED_ENTITIES = {
13400
13415
  "AElig": "\xC6",
13401
13416
  "AMP": "&",
@@ -15526,7 +15541,7 @@ var NAMED_ENTITIES = {
15526
15541
  var NGSP_UNICODE = "\uE500";
15527
15542
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
15528
15543
 
15529
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
15544
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
15530
15545
  var TokenError = class extends ParseError {
15531
15546
  constructor(errorMsg, tokenType, span) {
15532
15547
  super(span, errorMsg);
@@ -16447,7 +16462,7 @@ var CursorError = class {
16447
16462
  }
16448
16463
  };
16449
16464
 
16450
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
16465
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
16451
16466
  var TreeError = class extends ParseError {
16452
16467
  static create(elementName, span, msg) {
16453
16468
  return new TreeError(elementName, span, msg);
@@ -16831,7 +16846,7 @@ function decodeEntity(match, entity) {
16831
16846
  return match;
16832
16847
  }
16833
16848
 
16834
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
16849
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
16835
16850
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
16836
16851
  "iframe|srcdoc",
16837
16852
  "*|innerhtml",
@@ -16846,7 +16861,7 @@ function isTrustedTypesSink(tagName, propName) {
16846
16861
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
16847
16862
  }
16848
16863
 
16849
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
16864
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
16850
16865
  var setI18nRefs = (htmlNode, i18nNode) => {
16851
16866
  if (htmlNode instanceof NodeWithI18n) {
16852
16867
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -17003,7 +17018,7 @@ function i18nMetaToJSDoc(meta) {
17003
17018
  return jsDocComment(tags);
17004
17019
  }
17005
17020
 
17006
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
17021
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
17007
17022
  var GOOG_GET_MSG = "goog.getMsg";
17008
17023
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
17009
17024
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -17054,7 +17069,7 @@ function serializeI18nMessageForGetMsg(message) {
17054
17069
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
17055
17070
  }
17056
17071
 
17057
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
17072
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
17058
17073
  function createLocalizeStatements(variable2, message, params) {
17059
17074
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
17060
17075
  const sourceSpan = getSourceSpan(message);
@@ -17143,7 +17158,7 @@ function createEmptyMessagePart(location) {
17143
17158
  return new LiteralPiece("", new ParseSourceSpan(location, location));
17144
17159
  }
17145
17160
 
17146
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
17161
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
17147
17162
  var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
17148
17163
  var TRANSLATION_VAR_PREFIX2 = "i18n_";
17149
17164
  var I18N_ICU_MAPPING_PREFIX2 = "I18N_EXP_";
@@ -17304,7 +17319,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
17304
17319
  return variable(name);
17305
17320
  }
17306
17321
 
17307
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
17322
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
17308
17323
  function convertI18nText(job) {
17309
17324
  var _a2, _b2, _c2;
17310
17325
  for (const unit of job.units) {
@@ -17374,7 +17389,7 @@ function convertI18nText(job) {
17374
17389
  }
17375
17390
  }
17376
17391
 
17377
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
17392
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
17378
17393
  function liftLocalRefs(job) {
17379
17394
  for (const unit of job.units) {
17380
17395
  for (const op of unit.create) {
@@ -17404,7 +17419,7 @@ function serializeLocalRefs(refs) {
17404
17419
  return literalArr(constRefs);
17405
17420
  }
17406
17421
 
17407
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
17422
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
17408
17423
  function emitNamespaceChanges(job) {
17409
17424
  for (const unit of job.units) {
17410
17425
  let activeNamespace = Namespace.HTML;
@@ -17420,7 +17435,7 @@ function emitNamespaceChanges(job) {
17420
17435
  }
17421
17436
  }
17422
17437
 
17423
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
17438
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
17424
17439
  function parse(value) {
17425
17440
  const styles = [];
17426
17441
  let i = 0;
@@ -17481,13 +17496,13 @@ function hyphenate2(value) {
17481
17496
  }).toLowerCase();
17482
17497
  }
17483
17498
 
17484
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
17499
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
17485
17500
  function nameFunctionsAndVariables(job) {
17486
17501
  addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
17487
17502
  }
17488
17503
  function addNamesToView(unit, baseName, state, compatibility) {
17489
17504
  if (unit.fnName === null) {
17490
- unit.fnName = sanitizeIdentifier(`${baseName}_${unit.job.fnSuffix}`);
17505
+ unit.fnName = unit.job.pool.uniqueName(sanitizeIdentifier(`${baseName}_${unit.job.fnSuffix}`), false);
17491
17506
  }
17492
17507
  const varNames = /* @__PURE__ */ new Map();
17493
17508
  for (const op of unit.ops()) {
@@ -17601,7 +17616,7 @@ function stripImportant(name) {
17601
17616
  return name;
17602
17617
  }
17603
17618
 
17604
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
17619
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
17605
17620
  function mergeNextContextExpressions(job) {
17606
17621
  for (const unit of job.units) {
17607
17622
  for (const op of unit.create) {
@@ -17647,7 +17662,7 @@ function mergeNextContextsInOps(ops) {
17647
17662
  }
17648
17663
  }
17649
17664
 
17650
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
17665
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
17651
17666
  var CONTAINER_TAG = "ng-container";
17652
17667
  function generateNgContainerOps(job) {
17653
17668
  for (const unit of job.units) {
@@ -17664,7 +17679,7 @@ function generateNgContainerOps(job) {
17664
17679
  }
17665
17680
  }
17666
17681
 
17667
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
17682
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
17668
17683
  function lookupElement3(elements, xref) {
17669
17684
  const el = elements.get(xref);
17670
17685
  if (el === void 0) {
@@ -17694,7 +17709,7 @@ function disableBindings(job) {
17694
17709
  }
17695
17710
  }
17696
17711
 
17697
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
17712
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
17698
17713
  function generateNullishCoalesceExpressions(job) {
17699
17714
  for (const unit of job.units) {
17700
17715
  for (const op of unit.ops()) {
@@ -17710,7 +17725,7 @@ function generateNullishCoalesceExpressions(job) {
17710
17725
  }
17711
17726
  }
17712
17727
 
17713
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
17728
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
17714
17729
  function kindTest(kind) {
17715
17730
  return (op) => op.kind === kind;
17716
17731
  }
@@ -17792,7 +17807,7 @@ function keepLast(ops) {
17792
17807
  return ops.slice(ops.length - 1);
17793
17808
  }
17794
17809
 
17795
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
17810
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
17796
17811
  function parseExtractedStyles(job) {
17797
17812
  const elements = /* @__PURE__ */ new Map();
17798
17813
  for (const unit of job.units) {
@@ -17827,7 +17842,7 @@ function parseExtractedStyles(job) {
17827
17842
  }
17828
17843
  }
17829
17844
 
17830
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
17845
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
17831
17846
  function removeContentSelectors(job) {
17832
17847
  for (const unit of job.units) {
17833
17848
  const elements = createOpXrefMap(unit);
@@ -17854,7 +17869,7 @@ function lookupInXrefMap(map, xref) {
17854
17869
  return el;
17855
17870
  }
17856
17871
 
17857
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
17872
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
17858
17873
  function createPipes(job) {
17859
17874
  for (const unit of job.units) {
17860
17875
  processPipeBindingsInView(unit);
@@ -17902,7 +17917,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
17902
17917
  throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
17903
17918
  }
17904
17919
 
17905
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
17920
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
17906
17921
  function createVariadicPipes(job) {
17907
17922
  for (const unit of job.units) {
17908
17923
  for (const op of unit.update) {
@@ -17919,7 +17934,7 @@ function createVariadicPipes(job) {
17919
17934
  }
17920
17935
  }
17921
17936
 
17922
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
17937
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
17923
17938
  function propagateI18nBlocks(job) {
17924
17939
  propagateI18nBlocksToTemplates(job.root, 0);
17925
17940
  }
@@ -17973,7 +17988,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
17973
17988
  }
17974
17989
  }
17975
17990
 
17976
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
17991
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
17977
17992
  function extractPureFunctions(job) {
17978
17993
  for (const view of job.units) {
17979
17994
  for (const op of view.ops()) {
@@ -18015,7 +18030,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
18015
18030
  }
18016
18031
  };
18017
18032
 
18018
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
18033
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
18019
18034
  function generatePureLiteralStructures(job) {
18020
18035
  for (const unit of job.units) {
18021
18036
  for (const op of unit.update) {
@@ -18062,7 +18077,7 @@ function transformLiteralMap(expr) {
18062
18077
  return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
18063
18078
  }
18064
18079
 
18065
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
18080
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
18066
18081
  function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
18067
18082
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
18068
18083
  }
@@ -18584,7 +18599,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
18584
18599
  return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
18585
18600
  }
18586
18601
 
18587
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
18602
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
18588
18603
  var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
18589
18604
  ["window", Identifiers.resolveWindow],
18590
18605
  ["document", Identifiers.resolveDocument],
@@ -18917,7 +18932,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
18917
18932
  return fn(params, handlerStmts, void 0, void 0, name);
18918
18933
  }
18919
18934
 
18920
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
18935
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
18921
18936
  function removeEmptyBindings(job) {
18922
18937
  for (const unit of job.units) {
18923
18938
  for (const op of unit.update) {
@@ -18938,7 +18953,7 @@ function removeEmptyBindings(job) {
18938
18953
  }
18939
18954
  }
18940
18955
 
18941
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
18956
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
18942
18957
  function removeI18nContexts(job) {
18943
18958
  for (const unit of job.units) {
18944
18959
  for (const op of unit.create) {
@@ -18954,7 +18969,7 @@ function removeI18nContexts(job) {
18954
18969
  }
18955
18970
  }
18956
18971
 
18957
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
18972
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
18958
18973
  function removeUnusedI18nAttributesOps(job) {
18959
18974
  for (const unit of job.units) {
18960
18975
  const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
@@ -18976,7 +18991,7 @@ function removeUnusedI18nAttributesOps(job) {
18976
18991
  }
18977
18992
  }
18978
18993
 
18979
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
18994
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
18980
18995
  function resolveContexts(job) {
18981
18996
  for (const unit of job.units) {
18982
18997
  processLexicalScope(unit, unit.create);
@@ -19017,7 +19032,7 @@ function processLexicalScope(view, ops) {
19017
19032
  }
19018
19033
  }
19019
19034
 
19020
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
19035
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
19021
19036
  function resolveDollarEvent(job) {
19022
19037
  for (const unit of job.units) {
19023
19038
  transformDollarEvent(unit, unit.create);
@@ -19038,7 +19053,7 @@ function transformDollarEvent(unit, ops) {
19038
19053
  }
19039
19054
  }
19040
19055
 
19041
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
19056
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
19042
19057
  function resolveI18nElementPlaceholders(job) {
19043
19058
  const i18nContexts = /* @__PURE__ */ new Map();
19044
19059
  const elements = /* @__PURE__ */ new Map();
@@ -19217,7 +19232,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
19217
19232
  params.set(placeholder, values);
19218
19233
  }
19219
19234
 
19220
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
19235
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
19221
19236
  function resolveI18nExpressionPlaceholders(job) {
19222
19237
  var _a2;
19223
19238
  const subTemplateIndicies = /* @__PURE__ */ new Map();
@@ -19270,7 +19285,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
19270
19285
  }
19271
19286
  }
19272
19287
 
19273
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
19288
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
19274
19289
  function resolveNames(job) {
19275
19290
  for (const unit of job.units) {
19276
19291
  processLexicalScope2(unit, unit.create, null);
@@ -19334,7 +19349,7 @@ function processLexicalScope2(unit, ops, savedView) {
19334
19349
  }
19335
19350
  }
19336
19351
 
19337
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
19352
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
19338
19353
  var sanitizerFns = /* @__PURE__ */ new Map([
19339
19354
  [SecurityContext.HTML, Identifiers.sanitizeHtml],
19340
19355
  [SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
@@ -19404,7 +19419,7 @@ function getOnlySecurityContext(securityContext) {
19404
19419
  return securityContext;
19405
19420
  }
19406
19421
 
19407
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
19422
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
19408
19423
  function saveAndRestoreView(job) {
19409
19424
  for (const unit of job.units) {
19410
19425
  unit.create.prepend([
@@ -19449,7 +19464,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
19449
19464
  }
19450
19465
  }
19451
19466
 
19452
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
19467
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
19453
19468
  function allocateSlots(job) {
19454
19469
  const slotMap = /* @__PURE__ */ new Map();
19455
19470
  for (const unit of job.units) {
@@ -19474,7 +19489,7 @@ function allocateSlots(job) {
19474
19489
  }
19475
19490
  }
19476
19491
 
19477
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
19492
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
19478
19493
  function specializeStyleBindings(job) {
19479
19494
  for (const unit of job.units) {
19480
19495
  for (const op of unit.update) {
@@ -19504,7 +19519,7 @@ function specializeStyleBindings(job) {
19504
19519
  }
19505
19520
  }
19506
19521
 
19507
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
19522
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
19508
19523
  function generateTemporaryVariables(job) {
19509
19524
  for (const unit of job.units) {
19510
19525
  unit.create.prepend(generateTemporaries(unit.create));
@@ -19562,7 +19577,7 @@ function assignName(names, expr) {
19562
19577
  expr.name = name;
19563
19578
  }
19564
19579
 
19565
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
19580
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
19566
19581
  function generateTrackFns(job) {
19567
19582
  for (const unit of job.units) {
19568
19583
  for (const op of unit.create) {
@@ -19595,7 +19610,7 @@ function generateTrackFns(job) {
19595
19610
  }
19596
19611
  }
19597
19612
 
19598
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
19613
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
19599
19614
  function optimizeTrackFns(job) {
19600
19615
  for (const unit of job.units) {
19601
19616
  for (const op of unit.create) {
@@ -19642,7 +19657,7 @@ function isTrackByFunctionCall(rootView, expr) {
19642
19657
  return true;
19643
19658
  }
19644
19659
 
19645
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
19660
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
19646
19661
  function generateTrackVariables(job) {
19647
19662
  for (const unit of job.units) {
19648
19663
  for (const op of unit.create) {
@@ -19663,7 +19678,7 @@ function generateTrackVariables(job) {
19663
19678
  }
19664
19679
  }
19665
19680
 
19666
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
19681
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
19667
19682
  function countVariables(job) {
19668
19683
  for (const unit of job.units) {
19669
19684
  let varCount = 0;
@@ -19771,7 +19786,7 @@ function isSingletonInterpolation(expr) {
19771
19786
  return true;
19772
19787
  }
19773
19788
 
19774
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
19789
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
19775
19790
  function optimizeVariables(job) {
19776
19791
  for (const unit of job.units) {
19777
19792
  inlineAlwaysInlineVariables(unit.create);
@@ -20021,7 +20036,7 @@ function allowConservativeInlining(decl, target) {
20021
20036
  }
20022
20037
  }
20023
20038
 
20024
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
20039
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
20025
20040
  function wrapI18nIcus(job) {
20026
20041
  for (const unit of job.units) {
20027
20042
  let currentI18nOp = null;
@@ -20051,7 +20066,7 @@ function wrapI18nIcus(job) {
20051
20066
  }
20052
20067
  }
20053
20068
 
20054
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
20069
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
20055
20070
  var phases = [
20056
20071
  { kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
20057
20072
  { kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
@@ -20093,7 +20108,6 @@ var phases = [
20093
20108
  { kind: CompilationJobKind.Both, fn: expandSafeReads },
20094
20109
  { kind: CompilationJobKind.Both, fn: generateTemporaryVariables },
20095
20110
  { kind: CompilationJobKind.Tmpl, fn: allocateSlots },
20096
- { kind: CompilationJobKind.Tmpl, fn: createDeferDepsFns },
20097
20111
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
20098
20112
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
20099
20113
  { kind: CompilationJobKind.Tmpl, fn: extractI18nMessages },
@@ -20106,6 +20120,7 @@ var phases = [
20106
20120
  { kind: CompilationJobKind.Tmpl, fn: generateAdvance },
20107
20121
  { kind: CompilationJobKind.Both, fn: optimizeVariables },
20108
20122
  { kind: CompilationJobKind.Both, fn: nameFunctionsAndVariables },
20123
+ { kind: CompilationJobKind.Tmpl, fn: createDeferDepsFns },
20109
20124
  { kind: CompilationJobKind.Tmpl, fn: mergeNextContextExpressions },
20110
20125
  { kind: CompilationJobKind.Tmpl, fn: generateNgContainerOps },
20111
20126
  { kind: CompilationJobKind.Tmpl, fn: collapseEmptyInstructions },
@@ -20216,12 +20231,12 @@ function emitHostBindingFunction(job) {
20216
20231
  );
20217
20232
  }
20218
20233
 
20219
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
20234
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
20220
20235
  var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
20221
20236
  var domSchema = new DomElementSchemaRegistry();
20222
20237
  var NG_TEMPLATE_TAG_NAME = "ng-template";
20223
- function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
20224
- const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta);
20238
+ function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn) {
20239
+ const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn);
20225
20240
  ingestNodes(job.root, template2);
20226
20241
  return job;
20227
20242
  }
@@ -20276,7 +20291,7 @@ function ingestHostAttribute(job, name, value, securityContexts) {
20276
20291
  job.root.update.push(attrBinding);
20277
20292
  }
20278
20293
  function ingestHostEvent(job, event) {
20279
- const [phase, target] = event.type === 0 ? [null, event.targetOrPhase] : [event.targetOrPhase, null];
20294
+ const [phase, target] = event.type !== 1 ? [null, event.targetOrPhase] : [event.targetOrPhase, null];
20280
20295
  const eventBinding = createListenerOp(job.root.xref, new SlotHandle(), event.name, null, makeListenerHandlerOps(job.root, event.handler, event.handlerSpan), phase, target, true, event.sourceSpan);
20281
20296
  job.root.create.push(eventBinding);
20282
20297
  }
@@ -20485,7 +20500,7 @@ function ingestDeferBlock(unit, deferBlock) {
20485
20500
  const placeholder = ingestDeferView(unit, "Placeholder", (_d2 = deferBlock.placeholder) == null ? void 0 : _d2.i18n, (_e2 = deferBlock.placeholder) == null ? void 0 : _e2.children, (_f2 = deferBlock.placeholder) == null ? void 0 : _f2.sourceSpan);
20486
20501
  const error2 = ingestDeferView(unit, "Error", (_g = deferBlock.error) == null ? void 0 : _g.i18n, (_h = deferBlock.error) == null ? void 0 : _h.children, (_i = deferBlock.error) == null ? void 0 : _i.sourceSpan);
20487
20502
  const deferXref = unit.job.allocateXrefId();
20488
- const deferOp = createDeferOp(deferXref, main.xref, main.handle, blockMeta, deferBlock.sourceSpan);
20503
+ const deferOp = createDeferOp(deferXref, main.xref, main.handle, blockMeta, unit.job.allDeferrableDepsFn, deferBlock.sourceSpan);
20489
20504
  deferOp.placeholderView = (_j = placeholder == null ? void 0 : placeholder.xref) != null ? _j : null;
20490
20505
  deferOp.placeholderSlot = (_k = placeholder == null ? void 0 : placeholder.handle) != null ? _k : null;
20491
20506
  deferOp.loadingSlot = (_l = loading == null ? void 0 : loading.handle) != null ? _l : null;
@@ -20743,6 +20758,7 @@ function convertAstWithInterpolation(job, value, i18nMeta, sourceSpan) {
20743
20758
  }
20744
20759
  var BINDING_KINDS = /* @__PURE__ */ new Map([
20745
20760
  [0, BindingKind.Property],
20761
+ [5, BindingKind.Property],
20746
20762
  [1, BindingKind.Attribute],
20747
20763
  [2, BindingKind.ClassName],
20748
20764
  [3, BindingKind.StyleProperty],
@@ -20764,11 +20780,18 @@ function asMessage(i18nMeta) {
20764
20780
  function ingestElementBindings(unit, op, element2) {
20765
20781
  var _a2;
20766
20782
  let bindings = new Array();
20783
+ let i18nAttributeBindingNames = /* @__PURE__ */ new Set();
20767
20784
  for (const attr of element2.attributes) {
20768
20785
  const securityContext = domSchema.securityContext(element2.name, attr.name, true);
20769
20786
  bindings.push(createBindingOp(op.xref, BindingKind.Attribute, attr.name, convertAstWithInterpolation(unit.job, attr.value, attr.i18n), null, securityContext, true, false, null, asMessage(attr.i18n), attr.sourceSpan));
20787
+ if (attr.i18n) {
20788
+ i18nAttributeBindingNames.add(attr.name);
20789
+ }
20770
20790
  }
20771
20791
  for (const input of element2.inputs) {
20792
+ if (i18nAttributeBindingNames.has(input.name)) {
20793
+ console.error(`On component ${unit.job.componentName}, the binding ${input.name} is both an i18n attribute and a property. You may want to remove the property binding. This will become a compilation error in future versions of Angular.`);
20794
+ }
20772
20795
  bindings.push(createBindingOp(op.xref, BINDING_KINDS.get(input.type), input.name, convertAstWithInterpolation(unit.job, astOf(input.value), input.i18n), input.unit, input.securityContext, false, false, null, (_a2 = asMessage(input.i18n)) != null ? _a2 : null, input.sourceSpan));
20773
20796
  }
20774
20797
  unit.create.push(bindings.filter((b) => (b == null ? void 0 : b.kind) === OpKind.ExtractedAttribute));
@@ -20821,7 +20844,7 @@ function ingestTemplateBindings(unit, op, template2, templateKind) {
20821
20844
  function createTemplateBinding(view, xref, type, name, value, unit, securityContext, isStructuralTemplateAttribute, templateKind, i18nMessage, sourceSpan) {
20822
20845
  const isTextBinding = typeof value === "string";
20823
20846
  if (templateKind === TemplateKind.Structural) {
20824
- if (!isStructuralTemplateAttribute && (type === 0 || type === 2 || type === 3)) {
20847
+ if (!isStructuralTemplateAttribute && (type === 0 || type === 5 || type === 2 || type === 3)) {
20825
20848
  return createExtractedAttributeOp(xref, BindingKind.Property, null, name, null, null, i18nMessage, securityContext);
20826
20849
  }
20827
20850
  if (!isTextBinding && (type === 1 || type === 4)) {
@@ -20899,10 +20922,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
20899
20922
  return null;
20900
20923
  }
20901
20924
 
20902
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
20925
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
20903
20926
  var USE_TEMPLATE_PIPELINE = false;
20904
20927
 
20905
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
20928
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
20906
20929
  var IMPORTANT_FLAG = "!important";
20907
20930
  var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
20908
20931
  var StylingBuilder = class {
@@ -21235,7 +21258,7 @@ function isEmptyExpression(ast) {
21235
21258
  return ast instanceof EmptyExpr;
21236
21259
  }
21237
21260
 
21238
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
21261
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
21239
21262
  var HtmlParser = class extends Parser2 {
21240
21263
  constructor() {
21241
21264
  super(getHtmlTagDefinition);
@@ -21245,7 +21268,7 @@ var HtmlParser = class extends Parser2 {
21245
21268
  }
21246
21269
  };
21247
21270
 
21248
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
21271
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
21249
21272
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
21250
21273
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
21251
21274
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -21311,7 +21334,7 @@ function visitAllWithSiblings(visitor, nodes) {
21311
21334
  return result;
21312
21335
  }
21313
21336
 
21314
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
21337
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
21315
21338
  var PROPERTY_PARTS_SEPARATOR = ".";
21316
21339
  var ATTRIBUTE_PREFIX = "attr";
21317
21340
  var CLASS_PREFIX = "class";
@@ -21337,6 +21360,7 @@ var BindingParser = class {
21337
21360
  propName,
21338
21361
  expression,
21339
21362
  true,
21363
+ false,
21340
21364
  sourceSpan,
21341
21365
  sourceSpan.start.offset,
21342
21366
  void 0,
@@ -21402,7 +21426,7 @@ var BindingParser = class {
21402
21426
  } else if (binding.value) {
21403
21427
  const srcSpan = isIvyAst ? bindingSpan : sourceSpan;
21404
21428
  const valueSpan = moveParseSourceSpan(sourceSpan, binding.value.ast.sourceSpan);
21405
- this._parsePropertyAst(key, binding.value, srcSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
21429
+ this._parsePropertyAst(key, binding.value, false, srcSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
21406
21430
  } else {
21407
21431
  targetMatchableAttrs.push([key, ""]);
21408
21432
  this.parseLiteralAttr(key, null, keySpan, absoluteValueOffset, void 0, targetMatchableAttrs, targetProps, keySpan);
@@ -21437,7 +21461,7 @@ var BindingParser = class {
21437
21461
  targetProps.push(new ParsedProperty(name, this._exprParser.wrapLiteralPrimitive(value, "", absoluteOffset), ParsedPropertyType.LITERAL_ATTR, sourceSpan, keySpan, valueSpan));
21438
21462
  }
21439
21463
  }
21440
- parsePropertyBinding(name, expression, isHost, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
21464
+ parsePropertyBinding(name, expression, isHost, isPartOfAssignmentBinding, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
21441
21465
  if (name.length === 0) {
21442
21466
  this._reportError(`Property name is missing in binding`, sourceSpan);
21443
21467
  }
@@ -21458,20 +21482,20 @@ var BindingParser = class {
21458
21482
  if (isAnimationProp) {
21459
21483
  this._parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps);
21460
21484
  } else {
21461
- this._parsePropertyAst(name, this.parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
21485
+ this._parsePropertyAst(name, this.parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), isPartOfAssignmentBinding, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
21462
21486
  }
21463
21487
  }
21464
21488
  parsePropertyInterpolation(name, value, sourceSpan, valueSpan, targetMatchableAttrs, targetProps, keySpan, interpolatedTokens) {
21465
21489
  const expr = this.parseInterpolation(value, valueSpan || sourceSpan, interpolatedTokens);
21466
21490
  if (expr) {
21467
- this._parsePropertyAst(name, expr, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
21491
+ this._parsePropertyAst(name, expr, false, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
21468
21492
  return true;
21469
21493
  }
21470
21494
  return false;
21471
21495
  }
21472
- _parsePropertyAst(name, ast, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
21496
+ _parsePropertyAst(name, ast, isPartOfAssignmentBinding, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
21473
21497
  targetMatchableAttrs.push([name, ast.source]);
21474
- targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan));
21498
+ targetProps.push(new ParsedProperty(name, ast, isPartOfAssignmentBinding ? ParsedPropertyType.TWO_WAY : ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan));
21475
21499
  }
21476
21500
  _parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
21477
21501
  if (name.length === 0) {
@@ -21531,7 +21555,7 @@ var BindingParser = class {
21531
21555
  const mappedPropName = this._schemaRegistry.getMappedPropName(boundProp.name);
21532
21556
  boundPropertyName = mapPropertyName ? mappedPropName : boundProp.name;
21533
21557
  securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, mappedPropName, false);
21534
- bindingType = 0;
21558
+ bindingType = boundProp.type === ParsedPropertyType.TWO_WAY ? 5 : 0;
21535
21559
  if (!skipValidation) {
21536
21560
  this._validatePropertyOrAttributeName(mappedPropName, boundProp.sourceSpan, false);
21537
21561
  }
@@ -21577,7 +21601,7 @@ var BindingParser = class {
21577
21601
  const [target, eventName] = splitAtColon(name, [null, name]);
21578
21602
  const ast = this._parseAction(expression, isAssignmentEvent, handlerSpan);
21579
21603
  targetMatchableAttrs.push([name, ast.source]);
21580
- targetEvents.push(new ParsedEvent(eventName, target, 0, ast, sourceSpan, handlerSpan, keySpan));
21604
+ targetEvents.push(new ParsedEvent(eventName, target, isAssignmentEvent ? 2 : 0, ast, sourceSpan, handlerSpan, keySpan));
21581
21605
  }
21582
21606
  _parseAction(value, isAssignmentEvent, sourceSpan) {
21583
21607
  const sourceInfo = (sourceSpan && sourceSpan.start || "(unknown").toString();
@@ -21631,7 +21655,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
21631
21655
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
21632
21656
  }
21633
21657
 
21634
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
21658
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
21635
21659
  function isStyleUrlResolvable(url) {
21636
21660
  if (url == null || url.length === 0 || url[0] == "/")
21637
21661
  return false;
@@ -21640,7 +21664,7 @@ function isStyleUrlResolvable(url) {
21640
21664
  }
21641
21665
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
21642
21666
 
21643
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
21667
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
21644
21668
  var NG_CONTENT_SELECT_ATTR = "select";
21645
21669
  var LINK_ELEMENT = "link";
21646
21670
  var LINK_STYLE_REL_ATTR = "rel";
@@ -21710,12 +21734,13 @@ function normalizeNgContentSelect(selectAttr) {
21710
21734
  return selectAttr;
21711
21735
  }
21712
21736
 
21713
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
21737
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
21714
21738
  var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
21715
21739
  var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
21716
- var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
21740
+ var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
21717
21741
  var ELSE_IF_PATTERN = /^else[^\S\r\n]+if/;
21718
21742
  var FOR_LOOP_LET_PATTERN = /^let\s+([\S\s]*)/;
21743
+ var CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN = /(\s*)(\S+)(\s*)/;
21719
21744
  var ALLOWED_FOR_LOOP_LET_VARIABLES = /* @__PURE__ */ new Set(["$index", "$first", "$last", "$even", "$odd", "$count"]);
21720
21745
  function isConnectedForLoopBlock(name) {
21721
21746
  return name === "empty";
@@ -21827,8 +21852,10 @@ function parseForLoopParameters(block, errors, bindingParser) {
21827
21852
  return null;
21828
21853
  }
21829
21854
  const [, itemName, rawExpression] = match;
21855
+ const variableName = expressionParam.expression.split(" ")[0];
21856
+ const variableSpan = new ParseSourceSpan(expressionParam.sourceSpan.start, expressionParam.sourceSpan.start.moveBy(variableName.length));
21830
21857
  const result = {
21831
- itemName: new Variable(itemName, "$implicit", expressionParam.sourceSpan, expressionParam.sourceSpan),
21858
+ itemName: new Variable(itemName, "$implicit", variableSpan, variableSpan),
21832
21859
  trackBy: null,
21833
21860
  expression: parseBlockParameterToBinding(expressionParam, bindingParser, rawExpression),
21834
21861
  context: {}
@@ -21836,7 +21863,8 @@ function parseForLoopParameters(block, errors, bindingParser) {
21836
21863
  for (const param of secondaryParams) {
21837
21864
  const letMatch = param.expression.match(FOR_LOOP_LET_PATTERN);
21838
21865
  if (letMatch !== null) {
21839
- parseLetParameter(param.sourceSpan, letMatch[1], param.sourceSpan, result.context, errors);
21866
+ const variablesSpan = new ParseSourceSpan(param.sourceSpan.start.moveBy(letMatch[0].length - letMatch[1].length), param.sourceSpan.end);
21867
+ parseLetParameter(param.sourceSpan, letMatch[1], variablesSpan, result.context, errors);
21840
21868
  continue;
21841
21869
  }
21842
21870
  const trackMatch = param.expression.match(FOR_LOOP_TRACK_PATTERN);
@@ -21852,16 +21880,18 @@ function parseForLoopParameters(block, errors, bindingParser) {
21852
21880
  }
21853
21881
  errors.push(new ParseError(param.sourceSpan, `Unrecognized @for loop paramater "${param.expression}"`));
21854
21882
  }
21855
- for (const variableName of ALLOWED_FOR_LOOP_LET_VARIABLES) {
21856
- if (!result.context.hasOwnProperty(variableName)) {
21883
+ for (const variableName2 of ALLOWED_FOR_LOOP_LET_VARIABLES) {
21884
+ if (!result.context.hasOwnProperty(variableName2)) {
21857
21885
  const emptySpanAfterForBlockStart = new ParseSourceSpan(block.startSourceSpan.end, block.startSourceSpan.end);
21858
- result.context[variableName] = new Variable(variableName, variableName, emptySpanAfterForBlockStart, emptySpanAfterForBlockStart);
21886
+ result.context[variableName2] = new Variable(variableName2, variableName2, emptySpanAfterForBlockStart, emptySpanAfterForBlockStart);
21859
21887
  }
21860
21888
  }
21861
21889
  return result;
21862
21890
  }
21863
21891
  function parseLetParameter(sourceSpan, expression, span, context, errors) {
21892
+ var _a2, _b2, _c2;
21864
21893
  const parts = expression.split(",");
21894
+ let startSpan = span.start;
21865
21895
  for (const part of parts) {
21866
21896
  const expressionParts = part.split("=");
21867
21897
  const name = expressionParts.length === 2 ? expressionParts[0].trim() : "";
@@ -21873,8 +21903,20 @@ function parseLetParameter(sourceSpan, expression, span, context, errors) {
21873
21903
  } else if (context.hasOwnProperty(variableName)) {
21874
21904
  errors.push(new ParseError(sourceSpan, `Duplicate "let" parameter variable "${variableName}"`));
21875
21905
  } else {
21876
- context[variableName] = new Variable(name, variableName, span, span);
21906
+ const [, keyLeadingWhitespace, keyName] = (_a2 = expressionParts[0].match(CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN)) != null ? _a2 : [];
21907
+ const keySpan = keyLeadingWhitespace !== void 0 && expressionParts.length === 2 ? new ParseSourceSpan(
21908
+ startSpan.moveBy(keyLeadingWhitespace.length),
21909
+ startSpan.moveBy(keyLeadingWhitespace.length + keyName.length)
21910
+ ) : span;
21911
+ let valueSpan = void 0;
21912
+ if (expressionParts.length === 2) {
21913
+ const [, valueLeadingWhitespace, implicit] = (_b2 = expressionParts[1].match(CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN)) != null ? _b2 : [];
21914
+ valueSpan = valueLeadingWhitespace !== void 0 ? new ParseSourceSpan(startSpan.moveBy(expressionParts[0].length + 1 + valueLeadingWhitespace.length), startSpan.moveBy(expressionParts[0].length + 1 + valueLeadingWhitespace.length + implicit.length)) : void 0;
21915
+ }
21916
+ const sourceSpan2 = new ParseSourceSpan(keySpan.start, (_c2 = valueSpan == null ? void 0 : valueSpan.end) != null ? _c2 : keySpan.end);
21917
+ context[variableName] = new Variable(name, variableName, sourceSpan2, keySpan, valueSpan);
21877
21918
  }
21919
+ startSpan = startSpan.moveBy(part.length + 1);
21878
21920
  }
21879
21921
  }
21880
21922
  function validateIfConnectedBlocks(connectedBlocks) {
@@ -21954,8 +21996,10 @@ function parseConditionalBlockParameters(block, errors, bindingParser) {
21954
21996
  } else if (expressionAlias !== null) {
21955
21997
  errors.push(new ParseError(param.sourceSpan, 'Conditional can only have one "as" expression'));
21956
21998
  } else {
21957
- const name = aliasMatch[1].trim();
21958
- expressionAlias = new Variable(name, name, param.sourceSpan, param.sourceSpan);
21999
+ const name = aliasMatch[2].trim();
22000
+ const variableStart = param.sourceSpan.start.moveBy(aliasMatch[1].length);
22001
+ const variableSpan = new ParseSourceSpan(variableStart, variableStart.moveBy(name.length));
22002
+ expressionAlias = new Variable(name, name, variableSpan, variableSpan);
21959
22003
  }
21960
22004
  }
21961
22005
  return { expression, expressionAlias };
@@ -22001,7 +22045,7 @@ function stripOptionalParentheses(param, errors) {
22001
22045
  return expression.slice(start, end);
22002
22046
  }
22003
22047
 
22004
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
22048
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
22005
22049
  var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
22006
22050
  var SEPARATOR_PATTERN = /^\s$/;
22007
22051
  var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
@@ -22265,7 +22309,7 @@ function parseDeferredTime(value) {
22265
22309
  return parseFloat(time) * (units === "s" ? 1e3 : 1);
22266
22310
  }
22267
22311
 
22268
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
22312
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
22269
22313
  var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
22270
22314
  var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
22271
22315
  var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
@@ -22400,7 +22444,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
22400
22444
  return { triggers, prefetchTriggers };
22401
22445
  }
22402
22446
 
22403
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
22447
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
22404
22448
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
22405
22449
  var KW_BIND_IDX = 1;
22406
22450
  var KW_LET_IDX = 2;
@@ -22673,7 +22717,7 @@ var HtmlAstToIvyAst = class {
22673
22717
  if (bindParts[KW_BIND_IDX] != null) {
22674
22718
  const identifier = bindParts[IDENT_KW_IDX];
22675
22719
  const keySpan2 = createKeySpan(srcSpan, bindParts[KW_BIND_IDX], identifier);
22676
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
22720
+ this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
22677
22721
  } else if (bindParts[KW_LET_IDX]) {
22678
22722
  if (isTemplateElement) {
22679
22723
  const identifier = bindParts[IDENT_KW_IDX];
@@ -22695,7 +22739,7 @@ var HtmlAstToIvyAst = class {
22695
22739
  } else if (bindParts[KW_BINDON_IDX]) {
22696
22740
  const identifier = bindParts[IDENT_KW_IDX];
22697
22741
  const keySpan2 = createKeySpan(srcSpan, bindParts[KW_BINDON_IDX], identifier);
22698
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
22742
+ this.bindingParser.parsePropertyBinding(identifier, value, false, true, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
22699
22743
  this.parseAssignmentEvent(identifier, value, srcSpan, attribute2.valueSpan, matchableAttributes, boundEvents, keySpan2);
22700
22744
  } else if (bindParts[KW_AT_IDX]) {
22701
22745
  const keySpan2 = createKeySpan(srcSpan, "", name);
@@ -22715,10 +22759,10 @@ var HtmlAstToIvyAst = class {
22715
22759
  const identifier = name.substring(delims.start.length, name.length - delims.end.length);
22716
22760
  const keySpan2 = createKeySpan(srcSpan, delims.start, identifier);
22717
22761
  if (delims.start === BINDING_DELIMS.BANANA_BOX.start) {
22718
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
22762
+ this.bindingParser.parsePropertyBinding(identifier, value, false, true, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
22719
22763
  this.parseAssignmentEvent(identifier, value, srcSpan, attribute2.valueSpan, matchableAttributes, boundEvents, keySpan2);
22720
22764
  } else if (delims.start === BINDING_DELIMS.PROPERTY.start) {
22721
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
22765
+ this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
22722
22766
  } else {
22723
22767
  const events = [];
22724
22768
  this.bindingParser.parseEvent(identifier, value, false, srcSpan, attribute2.valueSpan || srcSpan, matchableAttributes, events, keySpan2);
@@ -22831,7 +22875,7 @@ function textContents(node) {
22831
22875
  }
22832
22876
  }
22833
22877
 
22834
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
22878
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
22835
22879
  var TagType;
22836
22880
  (function(TagType2) {
22837
22881
  TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
@@ -22976,7 +23020,7 @@ function serializePlaceholderValue(value) {
22976
23020
  }
22977
23021
  }
22978
23022
 
22979
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
23023
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
22980
23024
  var NG_CONTENT_SELECT_ATTR2 = "select";
22981
23025
  var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
22982
23026
  var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
@@ -23387,7 +23431,7 @@ var TemplateDefinitionBuilder = class {
23387
23431
  element2.inputs.forEach((input) => {
23388
23432
  const stylingInputWasSet = stylingBuilder.registerBoundInput(input);
23389
23433
  if (!stylingInputWasSet) {
23390
- if (input.type === 0 && input.i18n) {
23434
+ if ((input.type === 0 || input.type === 5) && input.i18n) {
23391
23435
  boundI18nAttrs.push(input);
23392
23436
  } else {
23393
23437
  allOtherInputs.push(input);
@@ -23473,7 +23517,7 @@ var TemplateDefinitionBuilder = class {
23473
23517
  }
23474
23518
  }
23475
23519
  this.allocateBindingSlots(value);
23476
- if (inputType === 0) {
23520
+ if (inputType === 0 || inputType === 5) {
23477
23521
  if (value instanceof Interpolation) {
23478
23522
  this.interpolatedUpdateInstruction(getPropertyInterpolationExpression(value), elementIndex, attrName, input, value, params);
23479
23523
  } else {
@@ -23536,7 +23580,7 @@ var TemplateDefinitionBuilder = class {
23536
23580
  }
23537
23581
  }
23538
23582
  const contextName = `${this.contextName}${contextNameSuffix}_${index}`;
23539
- const name = `${contextName}_Template`;
23583
+ const name = this.constantPool.uniqueName(`${contextName}_Template`, false);
23540
23584
  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.allDeferrableDepsFn, this._constants);
23541
23585
  this._nestedTemplateFns.push(() => {
23542
23586
  const templateFunctionExpr = visitor.buildTemplateFunction(children, variables, this._ngContentReservedSlots.length + this._ngContentSelectorsOffset, i18nMeta, variableAliases);
@@ -23745,7 +23789,10 @@ var TemplateDefinitionBuilder = class {
23745
23789
  const dependencyExp = [];
23746
23790
  for (const deferredDep of metadata.deps) {
23747
23791
  if (deferredDep.isDeferrable) {
23748
- const innerFn = arrowFn([new FnParam("m", DYNAMIC_TYPE)], variable("m").prop(deferredDep.symbolName));
23792
+ const innerFn = arrowFn(
23793
+ [new FnParam("m", DYNAMIC_TYPE)],
23794
+ variable("m").prop(deferredDep.isDefaultImport ? "default" : deferredDep.symbolName)
23795
+ );
23749
23796
  const importExpr2 = new DynamicImportExpr(deferredDep.importPath).prop("then").callFn([innerFn]);
23750
23797
  dependencyExp.push(importExpr2);
23751
23798
  } else {
@@ -24663,7 +24710,7 @@ function createClosureModeGuard2() {
24663
24710
  return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
24664
24711
  }
24665
24712
 
24666
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
24713
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
24667
24714
  var ATTR_REGEX = /attr\.([^\]]+)/;
24668
24715
  var COMPONENT_VARIABLE = "%COMP%";
24669
24716
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
@@ -24742,8 +24789,8 @@ function compileDirectiveFromMetadata(meta, constantPool, bindingParser) {
24742
24789
  }
24743
24790
  function createDeferredDepsFunction(constantPool, name, deps) {
24744
24791
  const dependencyExp = [];
24745
- for (const [symbolName, importPath] of deps) {
24746
- const innerFn = arrowFn([new FnParam("m", DYNAMIC_TYPE)], variable("m").prop(symbolName));
24792
+ for (const [symbolName, { importPath, isDefaultImport: isDefaultImport2 }] of deps) {
24793
+ const innerFn = arrowFn([new FnParam("m", DYNAMIC_TYPE)], variable("m").prop(isDefaultImport2 ? "default" : symbolName));
24747
24794
  const importExpr2 = new DynamicImportExpr(importPath).prop("then").callFn([innerFn]);
24748
24795
  dependencyExp.push(importExpr2);
24749
24796
  }
@@ -24767,12 +24814,12 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
24767
24814
  }
24768
24815
  const templateTypeName = meta.name;
24769
24816
  const templateName = templateTypeName ? `${templateTypeName}_Template` : null;
24817
+ let allDeferrableDepsFn = null;
24818
+ if (meta.deferBlocks.size > 0 && meta.deferrableTypes.size > 0 && meta.deferBlockDepsEmitMode === 1) {
24819
+ const fnName = `${templateTypeName}_DeferFn`;
24820
+ allDeferrableDepsFn = createDeferredDepsFunction(constantPool, fnName, meta.deferrableTypes);
24821
+ }
24770
24822
  if (!USE_TEMPLATE_PIPELINE) {
24771
- let allDeferrableDepsFn = null;
24772
- if (meta.deferBlocks.size > 0 && meta.deferrableTypes.size > 0 && meta.deferBlockDepsEmitMode === 1) {
24773
- const fnName = `${templateTypeName}_DeferFn`;
24774
- allDeferrableDepsFn = createDeferredDepsFunction(constantPool, fnName, meta.deferrableTypes);
24775
- }
24776
24823
  const template2 = meta.template;
24777
24824
  const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.createRootScope(), 0, templateTypeName, null, null, templateName, Identifiers.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, /* @__PURE__ */ new Map(), allDeferrableDepsFn);
24778
24825
  const templateFunctionExpression = templateBuilder.buildTemplateFunction(template2.nodes, []);
@@ -24792,7 +24839,7 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
24792
24839
  }
24793
24840
  definitionMap.set("template", templateFunctionExpression);
24794
24841
  } else {
24795
- const tpl = ingestComponent(meta.name, meta.template.nodes, constantPool, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks);
24842
+ const tpl = ingestComponent(meta.name, meta.template.nodes, constantPool, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, allDeferrableDepsFn);
24796
24843
  transform(tpl, CompilationJobKind.Tmpl);
24797
24844
  const templateFn = emitTemplateFn(tpl, constantPool);
24798
24845
  if (tpl.contentSelectors !== null) {
@@ -25294,7 +25341,7 @@ function createHostDirectivesMappingArray(mapping) {
25294
25341
  return elements.length > 0 ? literalArr(elements) : null;
25295
25342
  }
25296
25343
 
25297
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
25344
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
25298
25345
  var R3TargetBinder = class {
25299
25346
  constructor(directiveMatcher) {
25300
25347
  this.directiveMatcher = directiveMatcher;
@@ -25911,11 +25958,11 @@ function extractScopedNodeEntities(rootScope) {
25911
25958
  return templateEntities;
25912
25959
  }
25913
25960
 
25914
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25961
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25915
25962
  var ResourceLoader = class {
25916
25963
  };
25917
25964
 
25918
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25965
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25919
25966
  var CompilerFacadeImpl = class {
25920
25967
  constructor(jitEvaluator = new JitEvaluator()) {
25921
25968
  this.jitEvaluator = jitEvaluator;
@@ -26488,10 +26535,10 @@ function publishFacade(global) {
26488
26535
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
26489
26536
  }
26490
26537
 
26491
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
26492
- var VERSION2 = new Version("17.1.1");
26538
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
26539
+ var VERSION2 = new Version("17.1.3");
26493
26540
 
26494
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
26541
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
26495
26542
  var _I18N_ATTR = "i18n";
26496
26543
  var _I18N_ATTR_PREFIX = "i18n-";
26497
26544
  var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
@@ -26800,7 +26847,7 @@ function _parseMessageMeta(i18n2) {
26800
26847
  return { meaning, description, id: id.trim() };
26801
26848
  }
26802
26849
 
26803
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
26850
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
26804
26851
  var XmlTagDefinition = class {
26805
26852
  constructor() {
26806
26853
  this.closedByParent = false;
@@ -26825,7 +26872,7 @@ function getXmlTagDefinition(tagName) {
26825
26872
  return _TAG_DEFINITION;
26826
26873
  }
26827
26874
 
26828
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
26875
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
26829
26876
  var XmlParser = class extends Parser2 {
26830
26877
  constructor() {
26831
26878
  super(getXmlTagDefinition);
@@ -26835,7 +26882,7 @@ var XmlParser = class extends Parser2 {
26835
26882
  }
26836
26883
  };
26837
26884
 
26838
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
26885
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
26839
26886
  var _VERSION = "1.2";
26840
26887
  var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
26841
26888
  var _DEFAULT_SOURCE_LANG = "en";
@@ -27089,7 +27136,7 @@ function getCtypeForTag(tag) {
27089
27136
  }
27090
27137
  }
27091
27138
 
27092
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
27139
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
27093
27140
  var _VERSION2 = "2.0";
27094
27141
  var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
27095
27142
  var _DEFAULT_SOURCE_LANG2 = "en";
@@ -27405,7 +27452,7 @@ function getTypeForTag(tag) {
27405
27452
  }
27406
27453
  }
27407
27454
 
27408
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
27455
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
27409
27456
  var MessageBundle = class {
27410
27457
  constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
27411
27458
  this._htmlParser = _htmlParser;
@@ -27478,7 +27525,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
27478
27525
  }
27479
27526
  };
27480
27527
 
27481
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
27528
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
27482
27529
  var FactoryTarget2;
27483
27530
  (function(FactoryTarget3) {
27484
27531
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -27488,7 +27535,7 @@ var FactoryTarget2;
27488
27535
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
27489
27536
  })(FactoryTarget2 || (FactoryTarget2 = {}));
27490
27537
 
27491
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
27538
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
27492
27539
  function compileClassMetadata(metadata) {
27493
27540
  var _a2, _b2;
27494
27541
  const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
@@ -27507,8 +27554,8 @@ function compileComponentClassMetadata(metadata, deferrableTypes) {
27507
27554
  }
27508
27555
  const dynamicImports = [];
27509
27556
  const importedSymbols = [];
27510
- for (const [symbolName, importPath] of deferrableTypes) {
27511
- const innerFn = arrowFn([new FnParam("m", DYNAMIC_TYPE)], variable("m").prop(symbolName));
27557
+ for (const [symbolName, { importPath, isDefaultImport: isDefaultImport2 }] of deferrableTypes) {
27558
+ const innerFn = arrowFn([new FnParam("m", DYNAMIC_TYPE)], variable("m").prop(isDefaultImport2 ? "default" : symbolName));
27512
27559
  const importExpr2 = new DynamicImportExpr(importPath).prop("then").callFn([innerFn]);
27513
27560
  dynamicImports.push(importExpr2);
27514
27561
  importedSymbols.push(new FnParam(symbolName, DYNAMIC_TYPE));
@@ -27530,7 +27577,7 @@ function compileComponentClassMetadata(metadata, deferrableTypes) {
27530
27577
  return iife.callFn([]);
27531
27578
  }
27532
27579
 
27533
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
27580
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
27534
27581
  function compileClassDebugInfo(debugInfo) {
27535
27582
  const debugInfoObject = {
27536
27583
  className: debugInfo.className
@@ -27550,12 +27597,12 @@ function compileClassDebugInfo(debugInfo) {
27550
27597
  return iife.callFn([]);
27551
27598
  }
27552
27599
 
27553
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
27600
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
27554
27601
  var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
27555
27602
  function compileDeclareClassMetadata(metadata) {
27556
27603
  const definitionMap = new DefinitionMap();
27557
27604
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
27558
- definitionMap.set("version", literal("17.1.1"));
27605
+ definitionMap.set("version", literal("17.1.3"));
27559
27606
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27560
27607
  definitionMap.set("type", metadata.type);
27561
27608
  definitionMap.set("decorators", metadata.decorators);
@@ -27564,7 +27611,7 @@ function compileDeclareClassMetadata(metadata) {
27564
27611
  return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
27565
27612
  }
27566
27613
 
27567
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
27614
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
27568
27615
  function toOptionalLiteralArray(values, mapper) {
27569
27616
  if (values === null || values.length === 0) {
27570
27617
  return null;
@@ -27612,7 +27659,7 @@ function compileDependency(dep) {
27612
27659
  return depMeta.toLiteralMap();
27613
27660
  }
27614
27661
 
27615
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
27662
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
27616
27663
  function compileDeclareDirectiveFromMetadata(meta) {
27617
27664
  const definitionMap = createDirectiveDefinitionMap(meta);
27618
27665
  const expression = importExpr(Identifiers.declareDirective).callFn([definitionMap.toLiteralMap()]);
@@ -27624,7 +27671,7 @@ function createDirectiveDefinitionMap(meta) {
27624
27671
  const definitionMap = new DefinitionMap();
27625
27672
  const minVersion = getMinimumVersionForPartialOutput(meta);
27626
27673
  definitionMap.set("minVersion", literal(minVersion));
27627
- definitionMap.set("version", literal("17.1.1"));
27674
+ definitionMap.set("version", literal("17.1.3"));
27628
27675
  definitionMap.set("type", meta.type.value);
27629
27676
  if (meta.isStandalone) {
27630
27677
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -27778,7 +27825,7 @@ function legacyInputsPartialMetadata(inputs) {
27778
27825
  }));
27779
27826
  }
27780
27827
 
27781
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
27828
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
27782
27829
  function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
27783
27830
  const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
27784
27831
  const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
@@ -27912,12 +27959,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
27912
27959
  }
27913
27960
  };
27914
27961
 
27915
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
27962
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
27916
27963
  var MINIMUM_PARTIAL_LINKER_VERSION2 = "12.0.0";
27917
27964
  function compileDeclareFactoryFunction(meta) {
27918
27965
  const definitionMap = new DefinitionMap();
27919
27966
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
27920
- definitionMap.set("version", literal("17.1.1"));
27967
+ definitionMap.set("version", literal("17.1.3"));
27921
27968
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27922
27969
  definitionMap.set("type", meta.type.value);
27923
27970
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -27929,7 +27976,7 @@ function compileDeclareFactoryFunction(meta) {
27929
27976
  };
27930
27977
  }
27931
27978
 
27932
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
27979
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
27933
27980
  var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
27934
27981
  function compileDeclareInjectableFromMetadata(meta) {
27935
27982
  const definitionMap = createInjectableDefinitionMap(meta);
@@ -27940,7 +27987,7 @@ function compileDeclareInjectableFromMetadata(meta) {
27940
27987
  function createInjectableDefinitionMap(meta) {
27941
27988
  const definitionMap = new DefinitionMap();
27942
27989
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
27943
- definitionMap.set("version", literal("17.1.1"));
27990
+ definitionMap.set("version", literal("17.1.3"));
27944
27991
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27945
27992
  definitionMap.set("type", meta.type.value);
27946
27993
  if (meta.providedIn !== void 0) {
@@ -27967,7 +28014,7 @@ function createInjectableDefinitionMap(meta) {
27967
28014
  return definitionMap;
27968
28015
  }
27969
28016
 
27970
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
28017
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
27971
28018
  var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
27972
28019
  function compileDeclareInjectorFromMetadata(meta) {
27973
28020
  const definitionMap = createInjectorDefinitionMap(meta);
@@ -27978,7 +28025,7 @@ function compileDeclareInjectorFromMetadata(meta) {
27978
28025
  function createInjectorDefinitionMap(meta) {
27979
28026
  const definitionMap = new DefinitionMap();
27980
28027
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
27981
- definitionMap.set("version", literal("17.1.1"));
28028
+ definitionMap.set("version", literal("17.1.3"));
27982
28029
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27983
28030
  definitionMap.set("type", meta.type.value);
27984
28031
  definitionMap.set("providers", meta.providers);
@@ -27988,7 +28035,7 @@ function createInjectorDefinitionMap(meta) {
27988
28035
  return definitionMap;
27989
28036
  }
27990
28037
 
27991
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
28038
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
27992
28039
  var MINIMUM_PARTIAL_LINKER_VERSION5 = "14.0.0";
27993
28040
  function compileDeclareNgModuleFromMetadata(meta) {
27994
28041
  const definitionMap = createNgModuleDefinitionMap(meta);
@@ -28002,7 +28049,7 @@ function createNgModuleDefinitionMap(meta) {
28002
28049
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
28003
28050
  }
28004
28051
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
28005
- definitionMap.set("version", literal("17.1.1"));
28052
+ definitionMap.set("version", literal("17.1.3"));
28006
28053
  definitionMap.set("ngImport", importExpr(Identifiers.core));
28007
28054
  definitionMap.set("type", meta.type.value);
28008
28055
  if (meta.bootstrap.length > 0) {
@@ -28026,7 +28073,7 @@ function createNgModuleDefinitionMap(meta) {
28026
28073
  return definitionMap;
28027
28074
  }
28028
28075
 
28029
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
28076
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
28030
28077
  var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
28031
28078
  function compileDeclarePipeFromMetadata(meta) {
28032
28079
  const definitionMap = createPipeDefinitionMap(meta);
@@ -28037,7 +28084,7 @@ function compileDeclarePipeFromMetadata(meta) {
28037
28084
  function createPipeDefinitionMap(meta) {
28038
28085
  const definitionMap = new DefinitionMap();
28039
28086
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
28040
- definitionMap.set("version", literal("17.1.1"));
28087
+ definitionMap.set("version", literal("17.1.3"));
28041
28088
  definitionMap.set("ngImport", importExpr(Identifiers.core));
28042
28089
  definitionMap.set("type", meta.type.value);
28043
28090
  if (meta.isStandalone) {
@@ -28050,13 +28097,13 @@ function createPipeDefinitionMap(meta) {
28050
28097
  return definitionMap;
28051
28098
  }
28052
28099
 
28053
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
28100
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
28054
28101
  publishFacade(_global);
28055
28102
 
28056
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
28057
- var VERSION3 = new Version("17.1.1");
28103
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
28104
+ var VERSION3 = new Version("17.1.3");
28058
28105
 
28059
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
28106
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
28060
28107
  var EmitFlags;
28061
28108
  (function(EmitFlags2) {
28062
28109
  EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
@@ -28068,13 +28115,13 @@ var EmitFlags;
28068
28115
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
28069
28116
  })(EmitFlags || (EmitFlags = {}));
28070
28117
 
28071
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
28118
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
28072
28119
  var import_typescript2 = __toESM(require("typescript"), 1);
28073
28120
 
28074
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
28121
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
28075
28122
  var import_typescript104 = __toESM(require("typescript"), 1);
28076
28123
 
28077
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
28124
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
28078
28125
  var path = __toESM(require("path"), 1);
28079
28126
  function i18nGetExtension(formatName) {
28080
28127
  const format = formatName.toLowerCase();
@@ -28124,10 +28171,10 @@ function getPathNormalizer(basePath) {
28124
28171
  };
28125
28172
  }
28126
28173
 
28127
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
28174
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
28128
28175
  var import_typescript3 = __toESM(require("typescript"), 1);
28129
28176
 
28130
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
28177
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
28131
28178
  function toNumbers(value) {
28132
28179
  const suffixIndex = value.lastIndexOf("-");
28133
28180
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -28162,7 +28209,7 @@ function compareVersions(v1, v2) {
28162
28209
  return compareNumbers(toNumbers(v1), toNumbers(v2));
28163
28210
  }
28164
28211
 
28165
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
28212
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
28166
28213
  var MIN_TS_VERSION = "5.2.0";
28167
28214
  var MAX_TS_VERSION = "5.4.0";
28168
28215
  var tsVersion = import_typescript3.default.version;
@@ -28175,13 +28222,13 @@ function verifySupportedTypeScriptVersion() {
28175
28222
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
28176
28223
  }
28177
28224
 
28178
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
28225
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
28179
28226
  var import_typescript100 = __toESM(require("typescript"), 1);
28180
28227
 
28181
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
28228
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
28182
28229
  var import_typescript21 = __toESM(require("typescript"), 1);
28183
28230
 
28184
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
28231
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
28185
28232
  var ErrorCode;
28186
28233
  (function(ErrorCode2) {
28187
28234
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -28268,7 +28315,7 @@ var ErrorCode;
28268
28315
  ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
28269
28316
  })(ErrorCode || (ErrorCode = {}));
28270
28317
 
28271
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
28318
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
28272
28319
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
28273
28320
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
28274
28321
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -28280,25 +28327,28 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
28280
28327
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
28281
28328
  ]);
28282
28329
 
28283
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
28330
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
28284
28331
  var import_typescript4 = __toESM(require("typescript"), 1);
28285
28332
 
28286
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
28333
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
28287
28334
  function ngErrorCode(code) {
28288
28335
  return parseInt("-99" + code);
28289
28336
  }
28290
28337
 
28291
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
28292
- var FatalDiagnosticError = class {
28293
- constructor(code, node, message, relatedInformation) {
28338
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
28339
+ var FatalDiagnosticError = class extends Error {
28340
+ constructor(code, node, diagnosticMessage, relatedInformation) {
28341
+ super(`FatalDiagnosticError #${code}: ${diagnosticMessage}`);
28294
28342
  this.code = code;
28295
28343
  this.node = node;
28296
- this.message = message;
28344
+ this.diagnosticMessage = diagnosticMessage;
28297
28345
  this.relatedInformation = relatedInformation;
28346
+ this.message = null;
28298
28347
  this._isFatalDiagnosticError = true;
28348
+ Object.setPrototypeOf(this, new.target.prototype);
28299
28349
  }
28300
28350
  toDiagnostic() {
28301
- return makeDiagnostic(this.code, this.node, this.message, this.relatedInformation);
28351
+ return makeDiagnostic(this.code, this.node, this.diagnosticMessage, this.relatedInformation);
28302
28352
  }
28303
28353
  };
28304
28354
  function makeDiagnostic(code, node, messageText, relatedInformation) {
@@ -28343,11 +28393,14 @@ function addDiagnosticChain(messageText, add) {
28343
28393
  }
28344
28394
  return messageText;
28345
28395
  }
28396
+ function isFatalDiagnosticError(err) {
28397
+ return err._isFatalDiagnosticError === true;
28398
+ }
28346
28399
 
28347
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
28400
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
28348
28401
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
28349
28402
 
28350
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
28403
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
28351
28404
  var ExtendedTemplateDiagnosticName;
28352
28405
  (function(ExtendedTemplateDiagnosticName2) {
28353
28406
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -28362,13 +28415,13 @@ var ExtendedTemplateDiagnosticName;
28362
28415
  ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
28363
28416
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
28364
28417
 
28365
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
28418
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
28366
28419
  var import_typescript20 = __toESM(require("typescript"), 1);
28367
28420
 
28368
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
28421
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
28369
28422
  var import_typescript7 = __toESM(require("typescript"), 1);
28370
28423
 
28371
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
28424
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
28372
28425
  var import_typescript5 = __toESM(require("typescript"), 1);
28373
28426
  var TS = /\.tsx?$/i;
28374
28427
  var D_TS = /\.d\.ts$/i;
@@ -28469,7 +28522,7 @@ function toUnredirectedSourceFile(sf) {
28469
28522
  return redirectInfo.unredirected;
28470
28523
  }
28471
28524
 
28472
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
28525
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
28473
28526
  function findExportedNameOfNode(target, file, reflector) {
28474
28527
  const exports = reflector.getExportsOfModule(file);
28475
28528
  if (exports === null) {
@@ -28489,7 +28542,7 @@ function findExportedNameOfNode(target, file, reflector) {
28489
28542
  return foundExportName;
28490
28543
  }
28491
28544
 
28492
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
28545
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
28493
28546
  var ImportFlags;
28494
28547
  (function(ImportFlags2) {
28495
28548
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -28718,7 +28771,7 @@ var UnifiedModulesStrategy = class {
28718
28771
  }
28719
28772
  };
28720
28773
 
28721
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
28774
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
28722
28775
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
28723
28776
  var UnifiedModulesAliasingHost = class {
28724
28777
  constructor(unifiedModulesHost) {
@@ -28785,7 +28838,7 @@ var AliasStrategy = class {
28785
28838
  }
28786
28839
  };
28787
28840
 
28788
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
28841
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
28789
28842
  function relativePathBetween(from, to) {
28790
28843
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
28791
28844
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -28794,7 +28847,7 @@ function normalizeSeparators2(path4) {
28794
28847
  return path4.replace(/\\/g, "/");
28795
28848
  }
28796
28849
 
28797
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
28850
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
28798
28851
  var NoopImportRewriter = class {
28799
28852
  shouldImportSymbol(symbol, specifier) {
28800
28853
  return true;
@@ -28853,7 +28906,7 @@ function validateAndRewriteCoreSymbol(name) {
28853
28906
  return CORE_SUPPORTED_SYMBOLS.get(name);
28854
28907
  }
28855
28908
 
28856
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
28909
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
28857
28910
  var import_typescript9 = __toESM(require("typescript"), 1);
28858
28911
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
28859
28912
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -28888,7 +28941,7 @@ function throwIncompatibleTransformationContextError() {
28888
28941
  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.");
28889
28942
  }
28890
28943
 
28891
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
28944
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
28892
28945
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
28893
28946
  function attachDefaultImportDeclaration(expr, importDecl) {
28894
28947
  expr[DefaultImportDeclaration] = importDecl;
@@ -28929,13 +28982,13 @@ var DefaultImportTracker = class {
28929
28982
  }
28930
28983
  };
28931
28984
 
28932
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
28985
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
28933
28986
  var import_typescript15 = __toESM(require("typescript"), 1);
28934
28987
 
28935
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
28988
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
28936
28989
  var import_typescript14 = __toESM(require("typescript"), 1);
28937
28990
 
28938
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
28991
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
28939
28992
  var import_typescript11 = __toESM(require("typescript"), 1);
28940
28993
  function isDecoratorIdentifier(exp) {
28941
28994
  return import_typescript11.default.isIdentifier(exp) || import_typescript11.default.isPropertyAccessExpression(exp) && import_typescript11.default.isIdentifier(exp.expression) && import_typescript11.default.isIdentifier(exp.name);
@@ -28950,7 +29003,7 @@ var ClassMemberKind;
28950
29003
  })(ClassMemberKind || (ClassMemberKind = {}));
28951
29004
  var AmbientImport = {};
28952
29005
 
28953
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
29006
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
28954
29007
  var import_typescript12 = __toESM(require("typescript"), 1);
28955
29008
  function typeToValue(typeNode, checker, isLocalCompilation) {
28956
29009
  var _a2, _b2;
@@ -29123,7 +29176,7 @@ function extractModuleName(node) {
29123
29176
  return node.moduleSpecifier.text;
29124
29177
  }
29125
29178
 
29126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
29179
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
29127
29180
  var import_typescript13 = __toESM(require("typescript"), 1);
29128
29181
  function isNamedClassDeclaration(node) {
29129
29182
  return import_typescript13.default.isClassDeclaration(node) && isIdentifier(node.name);
@@ -29132,7 +29185,7 @@ function isIdentifier(node) {
29132
29185
  return node !== void 0 && import_typescript13.default.isIdentifier(node);
29133
29186
  }
29134
29187
 
29135
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
29188
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
29136
29189
  var TypeScriptReflectionHost = class {
29137
29190
  constructor(checker, isLocalCompilation = false) {
29138
29191
  this.checker = checker;
@@ -29497,16 +29550,16 @@ function reflectTypeEntityToDeclaration(type, checker) {
29497
29550
  return { node, from: null };
29498
29551
  }
29499
29552
  }
29500
- function filterToMembersWithDecorator(members, name, module3) {
29553
+ function filterToMembersWithDecorator(members, name, module2) {
29501
29554
  return members.filter((member) => !member.isStatic).map((member) => {
29502
29555
  if (member.decorators === null) {
29503
29556
  return null;
29504
29557
  }
29505
29558
  const decorators = member.decorators.filter((dec) => {
29506
29559
  if (dec.import !== null) {
29507
- return dec.import.name === name && (module3 === void 0 || dec.import.from === module3);
29560
+ return dec.import.name === name && (module2 === void 0 || dec.import.from === module2);
29508
29561
  } else {
29509
- return dec.name === name && module3 === void 0;
29562
+ return dec.name === name && module2 === void 0;
29510
29563
  }
29511
29564
  });
29512
29565
  if (decorators.length === 0) {
@@ -29565,14 +29618,21 @@ function getFarLeftIdentifier(propertyAccess) {
29565
29618
  return import_typescript14.default.isIdentifier(propertyAccess.expression) ? propertyAccess.expression : null;
29566
29619
  }
29567
29620
  function getContainingImportDeclaration(node) {
29568
- return import_typescript14.default.isImportSpecifier(node) ? node.parent.parent.parent : import_typescript14.default.isNamespaceImport(node) ? node.parent.parent : null;
29621
+ let parent = node.parent;
29622
+ while (parent && !import_typescript14.default.isSourceFile(parent)) {
29623
+ if (import_typescript14.default.isImportDeclaration(parent)) {
29624
+ return parent;
29625
+ }
29626
+ parent = parent.parent;
29627
+ }
29628
+ return null;
29569
29629
  }
29570
29630
  function getExportedName(decl, originalId) {
29571
29631
  return import_typescript14.default.isImportSpecifier(decl) ? (decl.propertyName !== void 0 ? decl.propertyName : decl.name).text : originalId.text;
29572
29632
  }
29573
29633
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
29574
29634
 
29575
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
29635
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
29576
29636
  var AssumeEager = "AssumeEager";
29577
29637
  var DeferredSymbolTracker = class {
29578
29638
  constructor(typeChecker, onlyExplicitDeferDependencyImports) {
@@ -29692,7 +29752,7 @@ var DeferredSymbolTracker = class {
29692
29752
  }
29693
29753
  };
29694
29754
 
29695
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
29755
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
29696
29756
  var Reference2 = class {
29697
29757
  constructor(node, bestGuessOwningModule = null) {
29698
29758
  this.node = node;
@@ -29761,7 +29821,7 @@ var Reference2 = class {
29761
29821
  }
29762
29822
  };
29763
29823
 
29764
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
29824
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
29765
29825
  var ModuleResolver = class {
29766
29826
  constructor(program, compilerOptions, host, moduleResolutionCache) {
29767
29827
  this.program = program;
@@ -29778,7 +29838,7 @@ var ModuleResolver = class {
29778
29838
  }
29779
29839
  };
29780
29840
 
29781
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
29841
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
29782
29842
  function valueReferenceToExpression(valueRef) {
29783
29843
  if (valueRef.kind === 2) {
29784
29844
  return null;
@@ -30021,7 +30081,7 @@ function isAbstractClassDeclaration(clazz) {
30021
30081
  return import_typescript20.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript20.default.SyntaxKind.AbstractKeyword) : false;
30022
30082
  }
30023
30083
 
30024
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
30084
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
30025
30085
  function getConstructorDependencies(clazz, reflector, isCore) {
30026
30086
  const deps = [];
30027
30087
  const errors = [];
@@ -30163,10 +30223,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
30163
30223
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
30164
30224
  }
30165
30225
 
30166
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
30226
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
30167
30227
  var import_typescript29 = __toESM(require("typescript"), 1);
30168
30228
 
30169
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
30229
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
30170
30230
  var MetaKind;
30171
30231
  (function(MetaKind2) {
30172
30232
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -30179,10 +30239,10 @@ var MatchSource;
30179
30239
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
30180
30240
  })(MatchSource || (MatchSource = {}));
30181
30241
 
30182
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
30242
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
30183
30243
  var import_typescript24 = __toESM(require("typescript"), 1);
30184
30244
 
30185
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
30245
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
30186
30246
  var ClassPropertyMapping = class {
30187
30247
  constructor(forwardMap) {
30188
30248
  this.forwardMap = forwardMap;
@@ -30262,7 +30322,7 @@ function reverseMapFromForwardMap(forwardMap) {
30262
30322
  return reverseMap;
30263
30323
  }
30264
30324
 
30265
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
30325
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
30266
30326
  var import_typescript22 = __toESM(require("typescript"), 1);
30267
30327
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
30268
30328
  if (!import_typescript22.default.isTupleTypeNode(def)) {
@@ -30452,7 +30512,7 @@ function hasInjectableFields(clazz, host) {
30452
30512
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
30453
30513
  }
30454
30514
 
30455
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
30515
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
30456
30516
  var DtsMetadataReader = class {
30457
30517
  constructor(checker, reflector) {
30458
30518
  this.checker = checker;
@@ -30635,7 +30695,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
30635
30695
  return result.length > 0 ? result : null;
30636
30696
  }
30637
30697
 
30638
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
30698
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
30639
30699
  function flattenInheritedDirectiveMetadata(reader, dir) {
30640
30700
  const topMeta = reader.getDirectiveMetadata(dir);
30641
30701
  if (topMeta === null) {
@@ -30698,7 +30758,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
30698
30758
  });
30699
30759
  }
30700
30760
 
30701
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
30761
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
30702
30762
  var LocalMetadataRegistry = class {
30703
30763
  constructor() {
30704
30764
  this.directives = /* @__PURE__ */ new Map();
@@ -30755,7 +30815,7 @@ var CompoundMetadataRegistry = class {
30755
30815
  }
30756
30816
  };
30757
30817
 
30758
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
30818
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
30759
30819
  var ResourceRegistry = class {
30760
30820
  constructor() {
30761
30821
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -30820,7 +30880,7 @@ var ResourceRegistry = class {
30820
30880
  }
30821
30881
  };
30822
30882
 
30823
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
30883
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
30824
30884
  var ExportedProviderStatusResolver = class {
30825
30885
  constructor(metaReader) {
30826
30886
  this.metaReader = metaReader;
@@ -30864,7 +30924,7 @@ var ExportedProviderStatusResolver = class {
30864
30924
  }
30865
30925
  };
30866
30926
 
30867
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
30927
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
30868
30928
  var EMPTY_ARRAY = [];
30869
30929
  var HostDirectivesResolver = class {
30870
30930
  constructor(metaReader) {
@@ -30926,10 +30986,10 @@ function resolveOutput(bindingName) {
30926
30986
  return bindingName;
30927
30987
  }
30928
30988
 
30929
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
30989
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
30930
30990
  var import_typescript26 = __toESM(require("typescript"), 1);
30931
30991
 
30932
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
30992
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
30933
30993
  var DynamicValue = class {
30934
30994
  constructor(node, reason, code) {
30935
30995
  this.node = node;
@@ -31019,7 +31079,7 @@ var DynamicValue = class {
31019
31079
  }
31020
31080
  };
31021
31081
 
31022
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
31082
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
31023
31083
  var ResolvedModule = class {
31024
31084
  constructor(exports, evaluate) {
31025
31085
  this.exports = exports;
@@ -31049,7 +31109,7 @@ var EnumValue = class {
31049
31109
  var KnownFn = class {
31050
31110
  };
31051
31111
 
31052
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
31112
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
31053
31113
  function describeResolvedType(value, maxDepth = 1) {
31054
31114
  var _a2, _b2;
31055
31115
  if (value === null) {
@@ -31178,10 +31238,10 @@ function getContainerNode(node) {
31178
31238
  return node.getSourceFile();
31179
31239
  }
31180
31240
 
31181
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
31241
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
31182
31242
  var import_typescript27 = __toESM(require("typescript"), 1);
31183
31243
 
31184
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
31244
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
31185
31245
  var ArraySliceBuiltinFn = class extends KnownFn {
31186
31246
  constructor(lhs) {
31187
31247
  super();
@@ -31233,14 +31293,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
31233
31293
  }
31234
31294
  };
31235
31295
 
31236
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
31296
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
31237
31297
  var SyntheticValue = class {
31238
31298
  constructor(value) {
31239
31299
  this.value = value;
31240
31300
  }
31241
31301
  };
31242
31302
 
31243
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
31303
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
31244
31304
  function literalBinaryOp(op) {
31245
31305
  return { op, literal: true };
31246
31306
  }
@@ -31526,16 +31586,16 @@ var StaticInterpreter = class {
31526
31586
  } else if (lhs instanceof Reference2) {
31527
31587
  const ref = lhs.node;
31528
31588
  if (this.host.isClass(ref)) {
31529
- const module3 = owningModule(context, lhs.bestGuessOwningModule);
31589
+ const module2 = owningModule(context, lhs.bestGuessOwningModule);
31530
31590
  let value = void 0;
31531
31591
  const member = this.host.getMembersOfClass(ref).find((member2) => member2.isStatic && member2.name === strIndex);
31532
31592
  if (member !== void 0) {
31533
31593
  if (member.value !== null) {
31534
31594
  value = this.visitExpression(member.value, context);
31535
31595
  } else if (member.implementation !== null) {
31536
- value = new Reference2(member.implementation, module3);
31596
+ value = new Reference2(member.implementation, module2);
31537
31597
  } else if (member.node) {
31538
- value = new Reference2(member.node, module3);
31598
+ value = new Reference2(member.node, module2);
31539
31599
  }
31540
31600
  }
31541
31601
  return value;
@@ -31815,7 +31875,7 @@ function owningModule(context, override = null) {
31815
31875
  }
31816
31876
  }
31817
31877
 
31818
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
31878
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
31819
31879
  var PartialEvaluator = class {
31820
31880
  constructor(host, checker, dependencyTracker) {
31821
31881
  this.host = host;
@@ -31835,7 +31895,7 @@ var PartialEvaluator = class {
31835
31895
  }
31836
31896
  };
31837
31897
 
31838
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
31898
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
31839
31899
  function makeDuplicateDeclarationError(node, data, kind) {
31840
31900
  const context = [];
31841
31901
  for (const decl of data) {
@@ -32031,7 +32091,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
32031
32091
  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}.`);
32032
32092
  }
32033
32093
 
32034
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
32094
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
32035
32095
  var import_typescript31 = __toESM(require("typescript"), 1);
32036
32096
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
32037
32097
  let resolved = null;
@@ -32081,7 +32141,7 @@ function resolveLiteral(decorator, literalCache) {
32081
32141
  return meta;
32082
32142
  }
32083
32143
 
32084
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
32144
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
32085
32145
  function compileNgFactoryDefField(metadata) {
32086
32146
  const res = compileFactoryFunction(metadata);
32087
32147
  return {
@@ -32103,7 +32163,7 @@ function compileDeclareFactory(metadata) {
32103
32163
  };
32104
32164
  }
32105
32165
 
32106
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
32166
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
32107
32167
  var InjectableClassRegistry = class {
32108
32168
  constructor(host, isCore) {
32109
32169
  this.host = host;
@@ -32129,7 +32189,7 @@ var InjectableClassRegistry = class {
32129
32189
  }
32130
32190
  };
32131
32191
 
32132
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
32192
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
32133
32193
  var import_typescript32 = __toESM(require("typescript"), 1);
32134
32194
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
32135
32195
  if (!reflection.isClass(clazz)) {
@@ -32213,7 +32273,7 @@ function removeIdentifierReferences(node, names) {
32213
32273
  return result.transformed[0];
32214
32274
  }
32215
32275
 
32216
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
32276
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
32217
32277
  var path2 = __toESM(require("path"), 1);
32218
32278
  function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
32219
32279
  if (!reflection.isClass(clazz)) {
@@ -32239,13 +32299,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
32239
32299
  return null;
32240
32300
  }
32241
32301
 
32242
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
32302
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
32243
32303
  var NoopReferencesRegistry = class {
32244
32304
  add(source, ...references) {
32245
32305
  }
32246
32306
  };
32247
32307
 
32248
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
32308
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
32249
32309
  function extractSchemas(rawExpr, evaluator, context) {
32250
32310
  const schemas = [];
32251
32311
  const result = evaluator.evaluate(rawExpr);
@@ -32274,7 +32334,7 @@ function extractSchemas(rawExpr, evaluator, context) {
32274
32334
  return schemas;
32275
32335
  }
32276
32336
 
32277
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
32337
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
32278
32338
  function compileInputTransformFields(inputs) {
32279
32339
  const extraFields = [];
32280
32340
  for (const input of inputs) {
@@ -32291,10 +32351,10 @@ function compileInputTransformFields(inputs) {
32291
32351
  return extraFields;
32292
32352
  }
32293
32353
 
32294
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
32354
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
32295
32355
  var import_typescript56 = __toESM(require("typescript"), 1);
32296
32356
 
32297
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
32357
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
32298
32358
  var import_typescript33 = __toESM(require("typescript"), 1);
32299
32359
  var SemanticSymbol = class {
32300
32360
  constructor(decl) {
@@ -32310,7 +32370,7 @@ function getSymbolIdentifier(decl) {
32310
32370
  return decl.name.text;
32311
32371
  }
32312
32372
 
32313
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
32373
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
32314
32374
  var OpaqueSymbol = class extends SemanticSymbol {
32315
32375
  isPublicApiAffected() {
32316
32376
  return false;
@@ -32452,10 +32512,10 @@ function getImportPath(expr) {
32452
32512
  }
32453
32513
  }
32454
32514
 
32455
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
32515
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
32456
32516
  var import_typescript34 = __toESM(require("typescript"), 1);
32457
32517
 
32458
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
32518
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
32459
32519
  function isSymbolEqual(a, b) {
32460
32520
  if (a.decl === b.decl) {
32461
32521
  return true;
@@ -32505,7 +32565,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
32505
32565
  return true;
32506
32566
  }
32507
32567
 
32508
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
32568
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
32509
32569
  function extractSemanticTypeParameters(node) {
32510
32570
  if (!import_typescript34.default.isClassDeclaration(node) || node.typeParameters === void 0) {
32511
32571
  return null;
@@ -32525,7 +32585,7 @@ function isTypeParameterEqual(a, b) {
32525
32585
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
32526
32586
  }
32527
32587
 
32528
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
32588
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
32529
32589
  var PerfPhase;
32530
32590
  (function(PerfPhase2) {
32531
32591
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -32593,7 +32653,7 @@ var PerfCheckpoint;
32593
32653
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
32594
32654
  })(PerfCheckpoint || (PerfCheckpoint = {}));
32595
32655
 
32596
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
32656
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
32597
32657
  var NoopPerfRecorder = class {
32598
32658
  eventCount() {
32599
32659
  }
@@ -32610,7 +32670,7 @@ var NoopPerfRecorder = class {
32610
32670
  };
32611
32671
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
32612
32672
 
32613
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
32673
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
32614
32674
  function mark() {
32615
32675
  return process.hrtime();
32616
32676
  }
@@ -32619,7 +32679,7 @@ function timeSinceInMicros(mark2) {
32619
32679
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
32620
32680
  }
32621
32681
 
32622
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
32682
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
32623
32683
  var ActivePerfRecorder = class {
32624
32684
  static zeroedToNow() {
32625
32685
  return new ActivePerfRecorder(mark());
@@ -32713,14 +32773,14 @@ var DelegatingPerfRecorder = class {
32713
32773
  }
32714
32774
  };
32715
32775
 
32716
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
32776
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
32717
32777
  var ComponentScopeKind;
32718
32778
  (function(ComponentScopeKind2) {
32719
32779
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
32720
32780
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
32721
32781
  })(ComponentScopeKind || (ComponentScopeKind = {}));
32722
32782
 
32723
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
32783
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
32724
32784
  var CompoundComponentScopeReader = class {
32725
32785
  constructor(readers) {
32726
32786
  this.readers = readers;
@@ -32745,7 +32805,7 @@ var CompoundComponentScopeReader = class {
32745
32805
  }
32746
32806
  };
32747
32807
 
32748
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
32808
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
32749
32809
  var MetadataDtsModuleScopeResolver = class {
32750
32810
  constructor(dtsMetaReader, aliasingHost) {
32751
32811
  this.dtsMetaReader = dtsMetaReader;
@@ -32820,10 +32880,10 @@ var MetadataDtsModuleScopeResolver = class {
32820
32880
  }
32821
32881
  };
32822
32882
 
32823
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
32883
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
32824
32884
  var import_typescript35 = __toESM(require("typescript"), 1);
32825
32885
 
32826
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
32886
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
32827
32887
  function getDiagnosticNode(ref, rawExpr) {
32828
32888
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
32829
32889
  }
@@ -32849,7 +32909,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
32849
32909
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
32850
32910
  }
32851
32911
 
32852
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
32912
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
32853
32913
  var LocalModuleScopeRegistry = class {
32854
32914
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
32855
32915
  this.localReader = localReader;
@@ -33174,10 +33234,10 @@ function invalidReexport(decl, rawExpr, isStandalone) {
33174
33234
  }
33175
33235
  return makeDiagnostic(ErrorCode.NGMODULE_INVALID_REEXPORT, getDiagnosticNode(decl, rawExpr), message);
33176
33236
  }
33177
- function reexportCollision(module3, refA, refB) {
33178
- const childMessageText = `This directive/pipe is part of the exports of '${module3.name.text}' and shares the same name as another exported directive/pipe.`;
33179
- return makeDiagnostic(ErrorCode.NGMODULE_REEXPORT_NAME_COLLISION, module3.name, `
33180
- There was a name collision between two classes named '${refA.node.name.text}', which are both part of the exports of '${module3.name.text}'.
33237
+ function reexportCollision(module2, refA, refB) {
33238
+ const childMessageText = `This directive/pipe is part of the exports of '${module2.name.text}' and shares the same name as another exported directive/pipe.`;
33239
+ return makeDiagnostic(ErrorCode.NGMODULE_REEXPORT_NAME_COLLISION, module2.name, `
33240
+ There was a name collision between two classes named '${refA.node.name.text}', which are both part of the exports of '${module2.name.text}'.
33181
33241
 
33182
33242
  Angular generates re-exports of an NgModule's exported directives/pipes from the module's source file in certain cases, using the declared name of the class. If two classes of the same name are exported, this automatic naming does not work.
33183
33243
 
@@ -33188,7 +33248,7 @@ function reexportCollision(module3, refA, refB) {
33188
33248
  ]);
33189
33249
  }
33190
33250
 
33191
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
33251
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
33192
33252
  var import_typescript37 = __toESM(require("typescript"), 1);
33193
33253
  var TypeCheckScopeRegistry = class {
33194
33254
  constructor(scopeReader, metaReader, hostDirectivesResolver) {
@@ -33265,7 +33325,7 @@ var TypeCheckScopeRegistry = class {
33265
33325
  }
33266
33326
  };
33267
33327
 
33268
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
33328
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
33269
33329
  var CompilationMode;
33270
33330
  (function(CompilationMode2) {
33271
33331
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -33279,7 +33339,7 @@ var HandlerPrecedence;
33279
33339
  HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
33280
33340
  })(HandlerPrecedence || (HandlerPrecedence = {}));
33281
33341
 
33282
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
33342
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
33283
33343
  var import_typescript38 = __toESM(require("typescript"), 1);
33284
33344
  function aliasTransformFactory(exportStatements) {
33285
33345
  return () => {
@@ -33302,10 +33362,10 @@ function aliasTransformFactory(exportStatements) {
33302
33362
  };
33303
33363
  }
33304
33364
 
33305
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
33365
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
33306
33366
  var import_typescript39 = __toESM(require("typescript"), 1);
33307
33367
 
33308
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
33368
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
33309
33369
  var TraitState;
33310
33370
  (function(TraitState2) {
33311
33371
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -33362,7 +33422,7 @@ var TraitImpl = class {
33362
33422
  }
33363
33423
  };
33364
33424
 
33365
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
33425
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
33366
33426
  var TraitCompiler = class {
33367
33427
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
33368
33428
  this.handlers = handlers;
@@ -33804,10 +33864,10 @@ function containsErrors(diagnostics) {
33804
33864
  return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript39.default.DiagnosticCategory.Error);
33805
33865
  }
33806
33866
 
33807
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
33867
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
33808
33868
  var import_typescript47 = __toESM(require("typescript"), 1);
33809
33869
 
33810
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
33870
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
33811
33871
  var Context = class {
33812
33872
  constructor(isStatement) {
33813
33873
  this.isStatement = isStatement;
@@ -33820,7 +33880,7 @@ var Context = class {
33820
33880
  }
33821
33881
  };
33822
33882
 
33823
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
33883
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
33824
33884
  var import_typescript41 = __toESM(require("typescript"), 1);
33825
33885
  var ImportManager = class {
33826
33886
  constructor(rewriter = new NoopImportRewriter(), prefix = "i", factory9 = import_typescript41.default.factory) {
@@ -33857,7 +33917,7 @@ var ImportManager = class {
33857
33917
  }
33858
33918
  };
33859
33919
 
33860
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
33920
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
33861
33921
  var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
33862
33922
  [UnaryOperator.Minus, "-"],
33863
33923
  [UnaryOperator.Plus, "+"]
@@ -34095,7 +34155,7 @@ function createRange(span) {
34095
34155
  };
34096
34156
  }
34097
34157
 
34098
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
34158
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
34099
34159
  var import_typescript42 = __toESM(require("typescript"), 1);
34100
34160
  var INELIGIBLE = {};
34101
34161
  function canEmitType(type, canEmit) {
@@ -34170,10 +34230,10 @@ var TypeEmitter = class {
34170
34230
  }
34171
34231
  };
34172
34232
 
34173
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
34233
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
34174
34234
  var import_typescript44 = __toESM(require("typescript"), 1);
34175
34235
 
34176
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
34236
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
34177
34237
  var import_typescript43 = __toESM(require("typescript"), 1);
34178
34238
  function tsNumericExpression(value) {
34179
34239
  if (value < 0) {
@@ -34183,7 +34243,7 @@ function tsNumericExpression(value) {
34183
34243
  return import_typescript43.default.factory.createNumericLiteral(value);
34184
34244
  }
34185
34245
 
34186
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
34246
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
34187
34247
  function translateType(type, contextFile, reflector, refEmitter, imports) {
34188
34248
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
34189
34249
  }
@@ -34397,7 +34457,7 @@ var TypeTranslatorVisitor = class {
34397
34457
  }
34398
34458
  };
34399
34459
 
34400
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
34460
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
34401
34461
  var import_typescript45 = __toESM(require("typescript"), 1);
34402
34462
  var PureAnnotation;
34403
34463
  (function(PureAnnotation2) {
@@ -34594,7 +34654,7 @@ function attachComments(statement, leadingComments) {
34594
34654
  }
34595
34655
  }
34596
34656
 
34597
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
34657
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
34598
34658
  function translateExpression(expression, imports, options = {}) {
34599
34659
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
34600
34660
  }
@@ -34602,7 +34662,7 @@ function translateStatement(statement, imports, options = {}) {
34602
34662
  return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
34603
34663
  }
34604
34664
 
34605
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
34665
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
34606
34666
  var import_typescript46 = __toESM(require("typescript"), 1);
34607
34667
  function addImports(factory9 = import_typescript46.default.factory, importManager, sf, extraStatements = []) {
34608
34668
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -34638,7 +34698,7 @@ function isImportStatement(stmt) {
34638
34698
  return import_typescript46.default.isImportDeclaration(stmt) || import_typescript46.default.isImportEqualsDeclaration(stmt) || import_typescript46.default.isNamespaceImport(stmt);
34639
34699
  }
34640
34700
 
34641
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
34701
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
34642
34702
  var DtsTransformRegistry = class {
34643
34703
  constructor() {
34644
34704
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -34785,10 +34845,10 @@ function markForEmitAsSingleLine(node) {
34785
34845
  import_typescript47.default.forEachChild(node, markForEmitAsSingleLine);
34786
34846
  }
34787
34847
 
34788
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
34848
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
34789
34849
  var import_typescript49 = __toESM(require("typescript"), 1);
34790
34850
 
34791
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
34851
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
34792
34852
  var import_typescript48 = __toESM(require("typescript"), 1);
34793
34853
  function visit(node, visitor, context) {
34794
34854
  return visitor._visit(node, context);
@@ -34849,7 +34909,7 @@ var Visitor = class {
34849
34909
  }
34850
34910
  };
34851
34911
 
34852
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
34912
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
34853
34913
  var NO_DECORATORS = /* @__PURE__ */ new Set();
34854
34914
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
34855
34915
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -35073,10 +35133,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
35073
35133
  return array;
35074
35134
  }
35075
35135
 
35076
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
35136
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
35077
35137
  var import_typescript51 = __toESM(require("typescript"), 1);
35078
35138
 
35079
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
35139
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
35080
35140
  var import_typescript50 = __toESM(require("typescript"), 1);
35081
35141
  function tryParseInputInitializerAndOptions(member, reflector, coreModule) {
35082
35142
  if (member.value === null || !import_typescript50.default.isCallExpression(member.value)) {
@@ -35160,7 +35220,7 @@ function tryParseSignalInputMapping(member, reflector, coreModule) {
35160
35220
  };
35161
35221
  }
35162
35222
 
35163
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
35223
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
35164
35224
  var EMPTY_OBJECT = {};
35165
35225
  var QUERY_TYPES = /* @__PURE__ */ new Set([
35166
35226
  "ContentChild",
@@ -35815,7 +35875,7 @@ function toR3InputMetadata(mapping) {
35815
35875
  };
35816
35876
  }
35817
35877
 
35818
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
35878
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
35819
35879
  var DirectiveSymbol = class extends SemanticSymbol {
35820
35880
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
35821
35881
  super(decl);
@@ -35895,7 +35955,7 @@ function isBaseClassEqual(current, previous) {
35895
35955
  return isSymbolEqual(current, previous);
35896
35956
  }
35897
35957
 
35898
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
35958
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
35899
35959
  var FIELD_DECORATORS = [
35900
35960
  "Input",
35901
35961
  "Output",
@@ -36077,10 +36137,10 @@ var DirectiveDecoratorHandler = class {
36077
36137
  }
36078
36138
  };
36079
36139
 
36080
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
36140
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
36081
36141
  var import_typescript53 = __toESM(require("typescript"), 1);
36082
36142
 
36083
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
36143
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
36084
36144
  var import_typescript52 = __toESM(require("typescript"), 1);
36085
36145
  function createModuleWithProvidersResolver(reflector, isCore) {
36086
36146
  function _reflectModuleFromTypeParam(type, node) {
@@ -36147,7 +36207,7 @@ function isResolvedModuleWithProviders(sv) {
36147
36207
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
36148
36208
  }
36149
36209
 
36150
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
36210
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
36151
36211
  var NgModuleSymbol = class extends SemanticSymbol {
36152
36212
  constructor(decl, hasProviders) {
36153
36213
  super(decl);
@@ -36718,7 +36778,7 @@ function isSyntheticReference(ref) {
36718
36778
  return ref.synthetic;
36719
36779
  }
36720
36780
 
36721
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
36781
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
36722
36782
  function makeCyclicImportInfo(ref, type, cycle) {
36723
36783
  const name = ref.debugName || "(unknown)";
36724
36784
  const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -36741,7 +36801,7 @@ function checkCustomElementSelectorForErrors(selector) {
36741
36801
  return null;
36742
36802
  }
36743
36803
 
36744
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
36804
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
36745
36805
  var import_typescript55 = __toESM(require("typescript"), 1);
36746
36806
  function getTemplateDeclarationNodeForError(declaration) {
36747
36807
  return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
@@ -37096,7 +37156,7 @@ function _extractTemplateStyleUrls(template2) {
37096
37156
  return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
37097
37157
  }
37098
37158
 
37099
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
37159
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
37100
37160
  var ComponentSymbol = class extends DirectiveSymbol {
37101
37161
  constructor() {
37102
37162
  super(...arguments);
@@ -37131,7 +37191,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
37131
37191
  }
37132
37192
  };
37133
37193
 
37134
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
37194
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
37135
37195
  function collectAnimationNames(value, animationTriggerNames) {
37136
37196
  if (value instanceof Map) {
37137
37197
  const name = value.get("name");
@@ -37208,7 +37268,7 @@ function isLikelyModuleWithProviders(value) {
37208
37268
  return false;
37209
37269
  }
37210
37270
 
37211
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
37271
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
37212
37272
  var EMPTY_ARRAY2 = [];
37213
37273
  var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
37214
37274
  var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
@@ -37495,7 +37555,10 @@ var ComponentDecoratorHandler = class {
37495
37555
  const deferredTypes = this.collectExplicitlyDeferredSymbols(rawDeferredImports);
37496
37556
  for (const [deferredType, importDetails] of deferredTypes) {
37497
37557
  explicitlyDeferredTypes != null ? explicitlyDeferredTypes : explicitlyDeferredTypes = /* @__PURE__ */ new Map();
37498
- explicitlyDeferredTypes.set(importDetails.name, importDetails.from);
37558
+ explicitlyDeferredTypes.set(importDetails.name, {
37559
+ importPath: importDetails.from,
37560
+ isDefaultImport: isDefaultImport(importDetails.node)
37561
+ });
37499
37562
  this.deferredSymbolTracker.markAsDeferrableCandidate(deferredType, importDetails.node, node, true);
37500
37563
  }
37501
37564
  }
@@ -37970,7 +38033,10 @@ var ComponentDecoratorHandler = class {
37970
38033
  if (importDecl !== null && this.deferredSymbolTracker.canDefer(importDecl)) {
37971
38034
  deferBlockDep.isDeferrable = true;
37972
38035
  deferBlockDep.importPath = importDecl.moduleSpecifier.text;
37973
- deferrableTypes.set(deferBlockDep.symbolName, deferBlockDep.importPath);
38036
+ deferrableTypes.set(deferBlockDep.symbolName, {
38037
+ importPath: deferBlockDep.importPath,
38038
+ isDefaultImport: isDefaultImport(importDecl)
38039
+ });
37974
38040
  }
37975
38041
  }
37976
38042
  }
@@ -38029,6 +38095,7 @@ var ComponentDecoratorHandler = class {
38029
38095
  symbolName: decl.ref.node.name.escapedText,
38030
38096
  isDeferrable: false,
38031
38097
  importPath: null,
38098
+ isDefaultImport: false,
38032
38099
  classDeclaration: decl.ref.node
38033
38100
  });
38034
38101
  allDeferredDecls.add(decl.ref.node);
@@ -38163,8 +38230,11 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
38163
38230
  }
38164
38231
  return diagnostics;
38165
38232
  }
38233
+ function isDefaultImport(node) {
38234
+ return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
38235
+ }
38166
38236
 
38167
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
38237
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
38168
38238
  var import_typescript58 = __toESM(require("typescript"), 1);
38169
38239
  var InjectableDecoratorHandler = class {
38170
38240
  constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
@@ -38395,7 +38465,7 @@ function getDep(dep, reflector) {
38395
38465
  return meta;
38396
38466
  }
38397
38467
 
38398
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
38468
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
38399
38469
  var import_typescript59 = __toESM(require("typescript"), 1);
38400
38470
  var PipeSymbol = class extends SemanticSymbol {
38401
38471
  constructor(decl, name) {
@@ -38553,7 +38623,7 @@ var PipeDecoratorHandler = class {
38553
38623
  }
38554
38624
  };
38555
38625
 
38556
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
38626
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
38557
38627
  var CycleAnalyzer = class {
38558
38628
  constructor(importGraph) {
38559
38629
  this.importGraph = importGraph;
@@ -38624,7 +38694,7 @@ var Cycle = class {
38624
38694
  }
38625
38695
  };
38626
38696
 
38627
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
38697
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
38628
38698
  var import_typescript60 = __toESM(require("typescript"), 1);
38629
38699
  var ImportGraph = class {
38630
38700
  constructor(checker, perf) {
@@ -38716,13 +38786,13 @@ var Found = class {
38716
38786
  }
38717
38787
  };
38718
38788
 
38719
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
38789
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
38720
38790
  var import_typescript66 = __toESM(require("typescript"), 1);
38721
38791
 
38722
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
38792
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
38723
38793
  var import_typescript63 = __toESM(require("typescript"), 1);
38724
38794
 
38725
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
38795
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
38726
38796
  var EntryType;
38727
38797
  (function(EntryType2) {
38728
38798
  EntryType2["Block"] = "block";
@@ -38765,17 +38835,17 @@ var MemberTags;
38765
38835
  MemberTags2["Inherited"] = "override";
38766
38836
  })(MemberTags || (MemberTags = {}));
38767
38837
 
38768
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
38838
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
38769
38839
  function isAngularPrivateName(name) {
38770
38840
  var _a2;
38771
38841
  const firstChar = (_a2 = name[0]) != null ? _a2 : "";
38772
38842
  return firstChar === "\u0275" || firstChar === "_";
38773
38843
  }
38774
38844
 
38775
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
38845
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
38776
38846
  var import_typescript62 = __toESM(require("typescript"), 1);
38777
38847
 
38778
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
38848
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
38779
38849
  function extractGenerics(declaration) {
38780
38850
  var _a2, _b2;
38781
38851
  return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
@@ -38788,7 +38858,7 @@ function extractGenerics(declaration) {
38788
38858
  })) != null ? _b2 : [];
38789
38859
  }
38790
38860
 
38791
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
38861
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
38792
38862
  var import_typescript61 = __toESM(require("typescript"), 1);
38793
38863
  var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
38794
38864
  function extractJsDocTags(node) {
@@ -38832,14 +38902,15 @@ function unescapeAngularDecorators(comment) {
38832
38902
  return comment.replace(/_NG_AT_/g, "@");
38833
38903
  }
38834
38904
 
38835
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
38905
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
38836
38906
  function extractResolvedTypeString(node, checker) {
38837
38907
  return checker.typeToString(checker.getTypeAtLocation(node));
38838
38908
  }
38839
38909
 
38840
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
38910
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
38841
38911
  var FunctionExtractor = class {
38842
- constructor(declaration, typeChecker) {
38912
+ constructor(name, declaration, typeChecker) {
38913
+ this.name = name;
38843
38914
  this.declaration = declaration;
38844
38915
  this.typeChecker = typeChecker;
38845
38916
  }
@@ -38848,7 +38919,8 @@ var FunctionExtractor = class {
38848
38919
  const returnType = signature ? this.typeChecker.typeToString(this.typeChecker.getReturnTypeOfSignature(signature)) : "unknown";
38849
38920
  return {
38850
38921
  params: this.extractAllParams(this.declaration.parameters),
38851
- name: this.declaration.name.getText(),
38922
+ name: this.name,
38923
+ isNewType: import_typescript62.default.isConstructSignatureDeclaration(this.declaration),
38852
38924
  returnType,
38853
38925
  entryType: EntryType.Function,
38854
38926
  generics: extractGenerics(this.declaration),
@@ -38891,7 +38963,7 @@ var FunctionExtractor = class {
38891
38963
  }
38892
38964
  };
38893
38965
 
38894
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
38966
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
38895
38967
  var ClassExtractor = class {
38896
38968
  constructor(declaration, typeChecker) {
38897
38969
  this.declaration = declaration;
@@ -38902,7 +38974,7 @@ var ClassExtractor = class {
38902
38974
  name: this.declaration.name.text,
38903
38975
  isAbstract: this.isAbstract(),
38904
38976
  entryType: import_typescript63.default.isInterfaceDeclaration(this.declaration) ? EntryType.Interface : EntryType.UndecoratedClass,
38905
- members: this.extractAllClassMembers(),
38977
+ members: this.extractSignatures().concat(this.extractAllClassMembers()),
38906
38978
  generics: extractGenerics(this.declaration),
38907
38979
  description: extractJsDocDescription(this.declaration),
38908
38980
  jsdocTags: extractJsDocTags(this.declaration),
@@ -38931,13 +39003,23 @@ var ClassExtractor = class {
38931
39003
  }
38932
39004
  return void 0;
38933
39005
  }
39006
+ extractSignatures() {
39007
+ return this.computeAllSignatureDeclarations().map((s) => this.extractSignature(s));
39008
+ }
38934
39009
  extractMethod(methodDeclaration) {
38935
- const functionExtractor = new FunctionExtractor(methodDeclaration, this.typeChecker);
39010
+ const functionExtractor = new FunctionExtractor(methodDeclaration.name.getText(), methodDeclaration, this.typeChecker);
38936
39011
  return __spreadProps(__spreadValues({}, functionExtractor.extract()), {
38937
39012
  memberType: MemberType.Method,
38938
39013
  memberTags: this.getMemberTags(methodDeclaration)
38939
39014
  });
38940
39015
  }
39016
+ extractSignature(signature) {
39017
+ const functionExtractor = new FunctionExtractor(import_typescript63.default.isConstructSignatureDeclaration(signature) ? "new" : "", signature, this.typeChecker);
39018
+ return __spreadProps(__spreadValues({}, functionExtractor.extract()), {
39019
+ memberType: MemberType.Method,
39020
+ memberTags: []
39021
+ });
39022
+ }
38941
39023
  extractClassProperty(propertyDeclaration) {
38942
39024
  return {
38943
39025
  name: propertyDeclaration.name.getText(),
@@ -38964,6 +39046,21 @@ var ClassExtractor = class {
38964
39046
  }
38965
39047
  return tags;
38966
39048
  }
39049
+ computeAllSignatureDeclarations() {
39050
+ const type = this.typeChecker.getTypeAtLocation(this.declaration);
39051
+ const signatures = [
39052
+ ...type.getCallSignatures(),
39053
+ ...type.getConstructSignatures()
39054
+ ];
39055
+ const result = [];
39056
+ for (const signature of signatures) {
39057
+ const decl = signature.getDeclaration();
39058
+ if (this.isDocumentableSignature(decl) && this.isDocumentableMember(decl)) {
39059
+ result.push(decl);
39060
+ }
39061
+ }
39062
+ return result;
39063
+ }
38967
39064
  getMemberDeclarations() {
38968
39065
  var _a2;
38969
39066
  const type = this.typeChecker.getTypeAtLocation(this.declaration);
@@ -39017,6 +39114,9 @@ var ClassExtractor = class {
39017
39114
  isMethod(member) {
39018
39115
  return import_typescript63.default.isMethodDeclaration(member) || import_typescript63.default.isMethodSignature(member);
39019
39116
  }
39117
+ isDocumentableSignature(signature) {
39118
+ return import_typescript63.default.isConstructSignatureDeclaration(signature) || import_typescript63.default.isCallSignatureDeclaration(signature);
39119
+ }
39020
39120
  isAbstract() {
39021
39121
  var _a2;
39022
39122
  const modifiers = (_a2 = this.declaration.modifiers) != null ? _a2 : [];
@@ -39118,7 +39218,7 @@ function extractInterface(declaration, typeChecker) {
39118
39218
  return extractor.extract();
39119
39219
  }
39120
39220
 
39121
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
39221
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
39122
39222
  function extractConstant(declaration, typeChecker) {
39123
39223
  const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
39124
39224
  const variableStatement = declaration.parent.parent;
@@ -39136,7 +39236,7 @@ function isSyntheticAngularConstant(declaration) {
39136
39236
  return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
39137
39237
  }
39138
39238
 
39139
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
39239
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
39140
39240
  var import_typescript64 = __toESM(require("typescript"), 1);
39141
39241
  function extractorDecorator(declaration, typeChecker) {
39142
39242
  const documentedNode = getDecoratorJsDocNode(declaration);
@@ -39209,7 +39309,7 @@ function getDecoratorJsDocNode(declaration) {
39209
39309
  return callSignature;
39210
39310
  }
39211
39311
 
39212
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
39312
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
39213
39313
  var import_typescript65 = __toESM(require("typescript"), 1);
39214
39314
  function extractEnum(declaration, typeChecker) {
39215
39315
  return {
@@ -39240,7 +39340,7 @@ function getEnumMemberValue(memberNode) {
39240
39340
  return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
39241
39341
  }
39242
39342
 
39243
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
39343
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
39244
39344
  function extractTypeAlias(declaration) {
39245
39345
  return {
39246
39346
  name: declaration.name.getText(),
@@ -39252,7 +39352,7 @@ function extractTypeAlias(declaration) {
39252
39352
  };
39253
39353
  }
39254
39354
 
39255
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
39355
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
39256
39356
  var DocsExtractor = class {
39257
39357
  constructor(typeChecker, metadataReader) {
39258
39358
  this.typeChecker = typeChecker;
@@ -39279,7 +39379,7 @@ var DocsExtractor = class {
39279
39379
  return extractInterface(node, this.typeChecker);
39280
39380
  }
39281
39381
  if (import_typescript66.default.isFunctionDeclaration(node)) {
39282
- const functionExtractor = new FunctionExtractor(node, this.typeChecker);
39382
+ const functionExtractor = new FunctionExtractor(node.name.getText(), node, this.typeChecker);
39283
39383
  return functionExtractor.extract();
39284
39384
  }
39285
39385
  if (import_typescript66.default.isVariableDeclaration(node) && !isSyntheticAngularConstant(node)) {
@@ -39302,7 +39402,7 @@ var DocsExtractor = class {
39302
39402
  for (let i = 0; i < declarationCount; i++) {
39303
39403
  const [exportName, declaration] = exportedDeclarations[i];
39304
39404
  if (import_typescript66.default.isFunctionDeclaration(declaration)) {
39305
- const extractor = new FunctionExtractor(declaration, this.typeChecker);
39405
+ const extractor = new FunctionExtractor(exportName, declaration, this.typeChecker);
39306
39406
  const overloads = extractor.getOverloads().map((overload) => [exportName, overload]);
39307
39407
  exportedDeclarations.push(...overloads);
39308
39408
  }
@@ -39314,7 +39414,7 @@ function isIgnoredInterface(node) {
39314
39414
  return node.name.getText().endsWith("Decorator") || isDecoratorOptionsInterface(node);
39315
39415
  }
39316
39416
 
39317
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
39417
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
39318
39418
  var import_typescript67 = __toESM(require("typescript"), 1);
39319
39419
  var FlatIndexGenerator = class {
39320
39420
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -39339,7 +39439,7 @@ export * from '${relativeEntryPoint}';
39339
39439
  }
39340
39440
  };
39341
39441
 
39342
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
39442
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
39343
39443
  function findFlatIndexEntryPoint(rootFiles) {
39344
39444
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
39345
39445
  let resolvedEntryPoint = null;
@@ -39355,7 +39455,7 @@ function findFlatIndexEntryPoint(rootFiles) {
39355
39455
  return resolvedEntryPoint;
39356
39456
  }
39357
39457
 
39358
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
39458
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
39359
39459
  var import_typescript69 = __toESM(require("typescript"), 1);
39360
39460
  function checkForPrivateExports(entryPoint, checker, refGraph) {
39361
39461
  const diagnostics = [];
@@ -39435,7 +39535,7 @@ function getDescriptorOfDeclaration(decl) {
39435
39535
  }
39436
39536
  }
39437
39537
 
39438
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
39538
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
39439
39539
  var ReferenceGraph = class {
39440
39540
  constructor() {
39441
39541
  this.references = /* @__PURE__ */ new Map();
@@ -39489,7 +39589,7 @@ var ReferenceGraph = class {
39489
39589
  }
39490
39590
  };
39491
39591
 
39492
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
39592
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
39493
39593
  var NgOriginalFile = Symbol("NgOriginalFile");
39494
39594
  var UpdateMode;
39495
39595
  (function(UpdateMode2) {
@@ -39497,13 +39597,13 @@ var UpdateMode;
39497
39597
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
39498
39598
  })(UpdateMode || (UpdateMode = {}));
39499
39599
 
39500
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
39600
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
39501
39601
  var import_typescript73 = __toESM(require("typescript"), 1);
39502
39602
 
39503
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
39603
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
39504
39604
  var import_typescript70 = __toESM(require("typescript"), 1);
39505
39605
 
39506
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
39606
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
39507
39607
  var NgExtension = Symbol("NgExtension");
39508
39608
  function isExtended(sf) {
39509
39609
  return sf[NgExtension] !== void 0;
@@ -39563,13 +39663,13 @@ function retagTsFile(sf) {
39563
39663
  }
39564
39664
  }
39565
39665
 
39566
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
39666
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
39567
39667
  var TS_EXTENSIONS = /\.tsx?$/i;
39568
39668
  function makeShimFileName(fileName, suffix) {
39569
39669
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
39570
39670
  }
39571
39671
 
39572
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
39672
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
39573
39673
  var ShimAdapter = class {
39574
39674
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
39575
39675
  this.delegate = delegate;
@@ -39664,7 +39764,7 @@ var ShimAdapter = class {
39664
39764
  }
39665
39765
  };
39666
39766
 
39667
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
39767
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
39668
39768
  var ShimReferenceTagger = class {
39669
39769
  constructor(shimExtensions) {
39670
39770
  this.tagged = /* @__PURE__ */ new Set();
@@ -39698,7 +39798,7 @@ var ShimReferenceTagger = class {
39698
39798
  }
39699
39799
  };
39700
39800
 
39701
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
39801
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
39702
39802
  var DelegatingCompilerHost = class {
39703
39803
  get jsDocParsingMode() {
39704
39804
  return this.delegate.jsDocParsingMode;
@@ -39817,7 +39917,7 @@ var TsCreateProgramDriver = class {
39817
39917
  }
39818
39918
  };
39819
39919
 
39820
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
39920
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
39821
39921
  var FileDependencyGraph = class {
39822
39922
  constructor() {
39823
39923
  this.nodes = /* @__PURE__ */ new Map();
@@ -39884,7 +39984,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
39884
39984
  return false;
39885
39985
  }
39886
39986
 
39887
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
39987
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
39888
39988
  var IncrementalStateKind;
39889
39989
  (function(IncrementalStateKind2) {
39890
39990
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -39892,7 +39992,7 @@ var IncrementalStateKind;
39892
39992
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
39893
39993
  })(IncrementalStateKind || (IncrementalStateKind = {}));
39894
39994
 
39895
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
39995
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
39896
39996
  var PhaseKind;
39897
39997
  (function(PhaseKind2) {
39898
39998
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -40093,7 +40193,7 @@ function toOriginalSourceFile(sf) {
40093
40193
  }
40094
40194
  }
40095
40195
 
40096
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
40196
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
40097
40197
  var TrackedIncrementalBuildStrategy = class {
40098
40198
  constructor() {
40099
40199
  this.state = null;
@@ -40114,7 +40214,7 @@ var TrackedIncrementalBuildStrategy = class {
40114
40214
  };
40115
40215
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
40116
40216
 
40117
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
40217
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
40118
40218
  var IdentifierKind;
40119
40219
  (function(IdentifierKind2) {
40120
40220
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -40132,7 +40232,7 @@ var AbsoluteSourceSpan2 = class {
40132
40232
  }
40133
40233
  };
40134
40234
 
40135
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
40235
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
40136
40236
  var IndexingContext = class {
40137
40237
  constructor() {
40138
40238
  this.components = /* @__PURE__ */ new Set();
@@ -40142,7 +40242,7 @@ var IndexingContext = class {
40142
40242
  }
40143
40243
  };
40144
40244
 
40145
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
40245
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
40146
40246
  var ExpressionVisitor = class extends RecursiveAstVisitor2 {
40147
40247
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
40148
40248
  super();
@@ -40423,7 +40523,7 @@ function getTemplateIdentifiers(boundTemplate) {
40423
40523
  return { identifiers: visitor.identifiers, errors: visitor.errors };
40424
40524
  }
40425
40525
 
40426
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
40526
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
40427
40527
  function generateAnalysis(context) {
40428
40528
  const analysis = /* @__PURE__ */ new Map();
40429
40529
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -40459,7 +40559,7 @@ function generateAnalysis(context) {
40459
40559
  return analysis;
40460
40560
  }
40461
40561
 
40462
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
40562
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
40463
40563
  var NgModuleIndexImpl = class {
40464
40564
  constructor(metaReader, localReader) {
40465
40565
  this.metaReader = metaReader;
@@ -40548,7 +40648,7 @@ var NgModuleIndexImpl = class {
40548
40648
  }
40549
40649
  };
40550
40650
 
40551
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
40651
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
40552
40652
  var import_typescript76 = __toESM(require("typescript"), 1);
40553
40653
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
40554
40654
  var RESOURCE_MARKER = ".$ngresource$";
@@ -40696,7 +40796,7 @@ function createLookupResolutionHost(adapter) {
40696
40796
  };
40697
40797
  }
40698
40798
 
40699
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
40799
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
40700
40800
  var StandaloneComponentScopeReader = class {
40701
40801
  constructor(metaReader, localModuleReader, dtsModuleReader) {
40702
40802
  this.metaReader = metaReader;
@@ -40792,21 +40892,21 @@ var StandaloneComponentScopeReader = class {
40792
40892
  }
40793
40893
  };
40794
40894
 
40795
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
40895
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
40796
40896
  var OptimizeFor;
40797
40897
  (function(OptimizeFor2) {
40798
40898
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
40799
40899
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
40800
40900
  })(OptimizeFor || (OptimizeFor = {}));
40801
40901
 
40802
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
40902
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
40803
40903
  var CompletionKind;
40804
40904
  (function(CompletionKind2) {
40805
40905
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
40806
40906
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
40807
40907
  })(CompletionKind || (CompletionKind = {}));
40808
40908
 
40809
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
40909
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
40810
40910
  var PotentialImportKind;
40811
40911
  (function(PotentialImportKind2) {
40812
40912
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -40818,7 +40918,7 @@ var PotentialImportMode;
40818
40918
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
40819
40919
  })(PotentialImportMode || (PotentialImportMode = {}));
40820
40920
 
40821
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
40921
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
40822
40922
  var SymbolKind;
40823
40923
  (function(SymbolKind2) {
40824
40924
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -40834,7 +40934,7 @@ var SymbolKind;
40834
40934
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
40835
40935
  })(SymbolKind || (SymbolKind = {}));
40836
40936
 
40837
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
40937
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
40838
40938
  var import_typescript77 = __toESM(require("typescript"), 1);
40839
40939
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
40840
40940
  var _a2;
@@ -40941,7 +41041,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
40941
41041
  return import_typescript77.default.createSourceFile(fileName, template2, import_typescript77.default.ScriptTarget.Latest, false, import_typescript77.default.ScriptKind.JSX);
40942
41042
  }
40943
41043
 
40944
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
41044
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
40945
41045
  var TEMPLATE_ID = Symbol("ngTemplateId");
40946
41046
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
40947
41047
  function getTemplateId(clazz) {
@@ -40958,10 +41058,10 @@ function allocateTemplateId(sf) {
40958
41058
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
40959
41059
  }
40960
41060
 
40961
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
41061
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
40962
41062
  var import_typescript79 = __toESM(require("typescript"), 1);
40963
41063
 
40964
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
41064
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
40965
41065
  var import_typescript78 = __toESM(require("typescript"), 1);
40966
41066
  var parseSpanComment = /^(\d+),(\d+)$/;
40967
41067
  function readSpanComment(node, sourceFile = node.getSourceFile()) {
@@ -40987,6 +41087,7 @@ var ExpressionIdentifier;
40987
41087
  ExpressionIdentifier2["DIRECTIVE"] = "DIR";
40988
41088
  ExpressionIdentifier2["COMPONENT_COMPLETION"] = "COMPCOMP";
40989
41089
  ExpressionIdentifier2["EVENT_PARAMETER"] = "EP";
41090
+ ExpressionIdentifier2["VARIABLE_AS_EXPRESSION"] = "VAE";
40990
41091
  })(ExpressionIdentifier || (ExpressionIdentifier = {}));
40991
41092
  function addExpressionIdentifier(node, identifier) {
40992
41093
  import_typescript78.default.addSyntheticTrailingComment(
@@ -41090,7 +41191,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
41090
41191
  }) || false;
41091
41192
  }
41092
41193
 
41093
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
41194
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
41094
41195
  var CompletionEngine = class {
41095
41196
  constructor(tcb, data, tcbPath, tcbIsShim) {
41096
41197
  this.tcb = tcb;
@@ -41247,10 +41348,10 @@ var CompletionEngine = class {
41247
41348
  }
41248
41349
  };
41249
41350
 
41250
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
41351
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
41251
41352
  var import_typescript93 = __toESM(require("typescript"), 1);
41252
41353
 
41253
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
41354
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
41254
41355
  var import_typescript80 = __toESM(require("typescript"), 1);
41255
41356
  var REGISTRY = new DomElementSchemaRegistry();
41256
41357
  var REMOVE_XHTML_REGEX = /^:xhtml:/;
@@ -41302,10 +41403,10 @@ var RegistryDomSchemaChecker = class {
41302
41403
  }
41303
41404
  };
41304
41405
 
41305
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
41406
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
41306
41407
  var import_typescript86 = __toESM(require("typescript"), 1);
41307
41408
 
41308
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
41409
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
41309
41410
  var ReferenceEmitEnvironment = class {
41310
41411
  constructor(importManager, refEmitter, reflector, contextFile) {
41311
41412
  this.importManager = importManager;
@@ -41335,7 +41436,7 @@ var ReferenceEmitEnvironment = class {
41335
41436
  }
41336
41437
  };
41337
41438
 
41338
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
41439
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
41339
41440
  var import_typescript81 = __toESM(require("typescript"), 1);
41340
41441
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
41341
41442
  import_typescript81.default.SyntaxKind.ParenthesizedExpression,
@@ -41371,14 +41472,12 @@ function tsCreateElement(tagName) {
41371
41472
  );
41372
41473
  }
41373
41474
  function tsDeclareVariable(id, type) {
41374
- let initializer = import_typescript81.default.factory.createNonNullExpression(import_typescript81.default.factory.createNull());
41375
- if (type.kind === import_typescript81.default.SyntaxKind.BooleanKeyword) {
41376
- initializer = import_typescript81.default.factory.createAsExpression(initializer, import_typescript81.default.factory.createKeywordTypeNode(import_typescript81.default.SyntaxKind.BooleanKeyword));
41377
- }
41475
+ addExpressionIdentifier(type, ExpressionIdentifier.VARIABLE_AS_EXPRESSION);
41476
+ const initializer = import_typescript81.default.factory.createAsExpression(import_typescript81.default.factory.createNonNullExpression(import_typescript81.default.factory.createNull()), type);
41378
41477
  const decl = import_typescript81.default.factory.createVariableDeclaration(
41379
41478
  id,
41380
41479
  void 0,
41381
- type,
41480
+ void 0,
41382
41481
  initializer
41383
41482
  );
41384
41483
  return import_typescript81.default.factory.createVariableStatement(
@@ -41420,13 +41519,13 @@ function tsNumericExpression2(value) {
41420
41519
  return import_typescript81.default.factory.createNumericLiteral(value);
41421
41520
  }
41422
41521
 
41423
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
41522
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
41424
41523
  var import_typescript85 = __toESM(require("typescript"), 1);
41425
41524
 
41426
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
41525
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
41427
41526
  var import_typescript83 = __toESM(require("typescript"), 1);
41428
41527
 
41429
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
41528
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
41430
41529
  var import_typescript82 = __toESM(require("typescript"), 1);
41431
41530
  var TypeParameterEmitter = class {
41432
41531
  constructor(typeParameters, reflector) {
@@ -41504,7 +41603,7 @@ var TypeParameterEmitter = class {
41504
41603
  }
41505
41604
  };
41506
41605
 
41507
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
41606
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
41508
41607
  var TCB_FILE_IMPORT_GRAPH_PREPARE_MODULES = [
41509
41608
  Identifiers.InputSignalBrandWriteType.moduleName
41510
41609
  ];
@@ -41592,7 +41691,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
41592
41691
  return emitter.canEmit((ref) => env.canReferenceType(ref));
41593
41692
  }
41594
41693
 
41595
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
41694
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
41596
41695
  function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
41597
41696
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
41598
41697
  const rawType = import_typescript85.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -41715,7 +41814,7 @@ function typeParametersWithDefaultTypes(params) {
41715
41814
  });
41716
41815
  }
41717
41816
 
41718
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
41817
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
41719
41818
  var Environment = class extends ReferenceEmitEnvironment {
41720
41819
  constructor(config, importManager, refEmitter, reflector, contextFile) {
41721
41820
  super(importManager, refEmitter, reflector, contextFile);
@@ -41790,7 +41889,7 @@ var Environment = class extends ReferenceEmitEnvironment {
41790
41889
  }
41791
41890
  };
41792
41891
 
41793
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
41892
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
41794
41893
  var import_typescript87 = __toESM(require("typescript"), 1);
41795
41894
  var OutOfBandDiagnosticRecorderImpl = class {
41796
41895
  constructor(resolver) {
@@ -41990,7 +42089,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
41990
42089
  });
41991
42090
  }
41992
42091
 
41993
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
42092
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
41994
42093
  var import_typescript88 = __toESM(require("typescript"), 1);
41995
42094
  var TypeCheckShimGenerator = class {
41996
42095
  constructor() {
@@ -42008,10 +42107,10 @@ var TypeCheckShimGenerator = class {
42008
42107
  }
42009
42108
  };
42010
42109
 
42011
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
42110
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
42012
42111
  var import_typescript91 = __toESM(require("typescript"), 1);
42013
42112
 
42014
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
42113
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
42015
42114
  var import_typescript89 = __toESM(require("typescript"), 1);
42016
42115
  function wrapForDiagnostics(expr) {
42017
42116
  return import_typescript89.default.factory.createParenthesizedExpression(expr);
@@ -42056,7 +42155,7 @@ function translateDiagnostic(diagnostic, resolver) {
42056
42155
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
42057
42156
  }
42058
42157
 
42059
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
42158
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
42060
42159
  var import_typescript90 = __toESM(require("typescript"), 1);
42061
42160
  var NULL_AS_ANY = import_typescript90.default.factory.createAsExpression(import_typescript90.default.factory.createNull(), import_typescript90.default.factory.createKeywordTypeNode(import_typescript90.default.SyntaxKind.AnyKeyword));
42062
42161
  var UNDEFINED = import_typescript90.default.factory.createIdentifier("undefined");
@@ -42388,7 +42487,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
42388
42487
  _VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
42389
42488
  })();
42390
42489
 
42391
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
42490
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
42392
42491
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
42393
42492
  constructor(templateId, boundTarget, oob) {
42394
42493
  super();
@@ -42411,7 +42510,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
42411
42510
  }
42412
42511
  };
42413
42512
 
42414
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
42513
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
42415
42514
  var TcbGenericContextBehavior;
42416
42515
  (function(TcbGenericContextBehavior2) {
42417
42516
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -42636,8 +42735,8 @@ var TcbDirectiveTypeOpBase = class extends TcbOp {
42636
42735
  type = import_typescript91.default.factory.createTypeReferenceNode(rawType.typeName, typeArguments);
42637
42736
  }
42638
42737
  const id = this.tcb.allocateId();
42639
- addExpressionIdentifier(type, ExpressionIdentifier.DIRECTIVE);
42640
- addParseSpanInfo(type, this.node.startSourceSpan || this.node.sourceSpan);
42738
+ addExpressionIdentifier(id, ExpressionIdentifier.DIRECTIVE);
42739
+ addParseSpanInfo(id, this.node.startSourceSpan || this.node.sourceSpan);
42641
42740
  this.scope.addStatement(tsDeclareVariable(id, type));
42642
42741
  return id;
42643
42742
  }
@@ -42874,14 +42973,13 @@ var TcbDomSchemaCheckerOp = class extends TcbOp {
42874
42973
  this.tcb.domSchemaChecker.checkElement(this.tcb.id, this.element, this.tcb.schemas, this.tcb.hostIsStandalone);
42875
42974
  }
42876
42975
  for (const binding of this.element.inputs) {
42877
- if (binding.type === 0 && this.claimedInputs.has(binding.name)) {
42976
+ const isPropertyBinding = binding.type === 0 || binding.type === 5;
42977
+ if (isPropertyBinding && this.claimedInputs.has(binding.name)) {
42878
42978
  continue;
42879
42979
  }
42880
- if (binding.type === 0) {
42881
- if (binding.name !== "style" && binding.name !== "class") {
42882
- const propertyName = (_a2 = ATTR_TO_PROP.get(binding.name)) != null ? _a2 : binding.name;
42883
- this.tcb.domSchemaChecker.checkProperty(this.tcb.id, this.element, propertyName, binding.sourceSpan, this.tcb.schemas, this.tcb.hostIsStandalone);
42884
- }
42980
+ if (isPropertyBinding && binding.name !== "style" && binding.name !== "class") {
42981
+ const propertyName = (_a2 = ATTR_TO_PROP.get(binding.name)) != null ? _a2 : binding.name;
42982
+ this.tcb.domSchemaChecker.checkProperty(this.tcb.id, this.element, propertyName, binding.sourceSpan, this.tcb.schemas, this.tcb.hostIsStandalone);
42885
42983
  }
42886
42984
  }
42887
42985
  return null;
@@ -42983,11 +43081,12 @@ var TcbUnclaimedInputsOp = class extends TcbOp {
42983
43081
  var _a2;
42984
43082
  let elId = null;
42985
43083
  for (const binding of this.element.inputs) {
42986
- if (binding.type === 0 && this.claimedInputs.has(binding.name)) {
43084
+ const isPropertyBinding = binding.type === 0 || binding.type === 5;
43085
+ if (isPropertyBinding && this.claimedInputs.has(binding.name)) {
42987
43086
  continue;
42988
43087
  }
42989
43088
  const expr = widenBinding(tcbExpression(binding.value, this.tcb, this.scope), this.tcb);
42990
- if (this.tcb.env.config.checkTypeOfDomBindings && binding.type === 0) {
43089
+ if (this.tcb.env.config.checkTypeOfDomBindings && isPropertyBinding) {
42991
43090
  if (binding.name !== "style" && binding.name !== "class") {
42992
43091
  if (elId === null) {
42993
43092
  elId = this.scope.resolve(this.element);
@@ -43022,7 +43121,7 @@ var TcbDirectiveOutputsOp = class extends TcbOp {
43022
43121
  let dirId = null;
43023
43122
  const outputs = this.dir.outputs;
43024
43123
  for (const output of this.node.outputs) {
43025
- if (output.type !== 0 || !outputs.hasBindingPropertyName(output.name)) {
43124
+ if (output.type === 1 || !outputs.hasBindingPropertyName(output.name)) {
43026
43125
  continue;
43027
43126
  }
43028
43127
  if (this.tcb.env.config.checkTypeOfOutputEvents && output.name.endsWith("Change")) {
@@ -43130,7 +43229,9 @@ var TcbBlockVariableOp = class extends TcbOp {
43130
43229
  execute() {
43131
43230
  const id = this.tcb.allocateId();
43132
43231
  addParseSpanInfo(id, this.variable.keySpan);
43133
- this.scope.addStatement(tsCreateVariable(id, this.initializer));
43232
+ const variable2 = tsCreateVariable(id, wrapForTypeChecker(this.initializer));
43233
+ addParseSpanInfo(variable2.declarationList.declarations[0], this.variable.sourceSpan);
43234
+ this.scope.addStatement(variable2);
43134
43235
  return id;
43135
43236
  }
43136
43237
  };
@@ -43146,7 +43247,9 @@ var TcbBlockImplicitVariableOp = class extends TcbOp {
43146
43247
  execute() {
43147
43248
  const id = this.tcb.allocateId();
43148
43249
  addParseSpanInfo(id, this.variable.keySpan);
43149
- this.scope.addStatement(tsDeclareVariable(id, this.type));
43250
+ const variable2 = tsDeclareVariable(id, this.type);
43251
+ addParseSpanInfo(variable2.declarationList.declarations[0], this.variable.sourceSpan);
43252
+ this.scope.addStatement(variable2);
43150
43253
  return id;
43151
43254
  }
43152
43255
  };
@@ -43282,6 +43385,7 @@ var TcbForOfOp = class extends TcbOp {
43282
43385
  throw new Error(`Could not resolve for loop variable ${this.block.item.name} to an identifier`);
43283
43386
  }
43284
43387
  const initializer = import_typescript91.default.factory.createVariableDeclarationList([import_typescript91.default.factory.createVariableDeclaration(initializerId)], import_typescript91.default.NodeFlags.Const);
43388
+ addParseSpanInfo(initializer, this.block.item.keySpan);
43285
43389
  const expression = import_typescript91.default.factory.createNonNullExpression(tcbExpression(this.block.expression, this.tcb, loopScope));
43286
43390
  const trackTranslator = new TcbForLoopTrackTranslator(this.tcb, loopScope, this.block);
43287
43391
  const trackExpression = trackTranslator.translate(this.block.trackBy);
@@ -43784,7 +43888,7 @@ function tcbCallTypeCtor(dir, tcb, inputs) {
43784
43888
  function getBoundAttributes(directive, node) {
43785
43889
  const boundInputs = [];
43786
43890
  const processAttribute = (attr) => {
43787
- if (attr instanceof BoundAttribute && attr.type !== 0) {
43891
+ if (attr instanceof BoundAttribute && attr.type !== 0 && attr.type !== 5) {
43788
43892
  return;
43789
43893
  }
43790
43894
  const inputs = directive.inputs.getByBindingPropertyName(attr.name);
@@ -43912,7 +44016,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
43912
44016
  }
43913
44017
  };
43914
44018
 
43915
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
44019
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
43916
44020
  var import_typescript92 = __toESM(require("typescript"), 1);
43917
44021
  var TypeCheckFile = class extends Environment {
43918
44022
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -43949,7 +44053,7 @@ var TypeCheckFile = class extends Environment {
43949
44053
  }
43950
44054
  };
43951
44055
 
43952
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
44056
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
43953
44057
  var InliningMode;
43954
44058
  (function(InliningMode2) {
43955
44059
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -44189,7 +44293,7 @@ function splitStringAtPoints(str, points) {
44189
44293
  return splits;
44190
44294
  }
44191
44295
 
44192
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
44296
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
44193
44297
  var LF_CHAR = 10;
44194
44298
  var CR_CHAR = 13;
44195
44299
  var LINE_SEP_CHAR = 8232;
@@ -44230,7 +44334,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
44230
44334
  return low - 1;
44231
44335
  }
44232
44336
 
44233
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
44337
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
44234
44338
  var TemplateSource = class {
44235
44339
  constructor(mapping, file) {
44236
44340
  this.mapping = mapping;
@@ -44281,7 +44385,7 @@ var TemplateSourceManager = class {
44281
44385
  }
44282
44386
  };
44283
44387
 
44284
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
44388
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
44285
44389
  var import_typescript94 = __toESM(require("typescript"), 1);
44286
44390
  var SymbolBuilder = class {
44287
44391
  constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
@@ -44514,6 +44618,7 @@ var SymbolBuilder = class {
44514
44618
  return { kind: SymbolKind.Output, bindings };
44515
44619
  }
44516
44620
  getSymbolOfInputBinding(binding) {
44621
+ var _a2;
44517
44622
  const consumer = this.templateData.boundTarget.getConsumerOfBinding(binding);
44518
44623
  if (consumer === null) {
44519
44624
  return null;
@@ -44528,11 +44633,23 @@ var SymbolBuilder = class {
44528
44633
  if (!isAccessExpression2(node.left)) {
44529
44634
  continue;
44530
44635
  }
44531
- const symbolInfo = this.getSymbolOfTsNode(node.left);
44636
+ const signalInputAssignment = unwrapSignalInputWriteTAccessor(node.left);
44637
+ let symbolInfo = null;
44638
+ if (signalInputAssignment !== null) {
44639
+ const fieldSymbol = this.getSymbolOfTsNode(signalInputAssignment.fieldExpr);
44640
+ const typeSymbol = this.getSymbolOfTsNode(signalInputAssignment.typeExpr);
44641
+ symbolInfo = fieldSymbol === null || typeSymbol === null ? null : {
44642
+ tcbLocation: fieldSymbol.tcbLocation,
44643
+ tsSymbol: fieldSymbol.tsSymbol,
44644
+ tsType: typeSymbol.tsType
44645
+ };
44646
+ } else {
44647
+ symbolInfo = this.getSymbolOfTsNode(node.left);
44648
+ }
44532
44649
  if (symbolInfo === null || symbolInfo.tsSymbol === null) {
44533
44650
  continue;
44534
44651
  }
44535
- const target = this.getDirectiveSymbolForAccessExpression(node.left, consumer);
44652
+ const target = this.getDirectiveSymbolForAccessExpression((_a2 = signalInputAssignment == null ? void 0 : signalInputAssignment.fieldExpr) != null ? _a2 : node.left, consumer);
44536
44653
  if (target === null) {
44537
44654
  continue;
44538
44655
  }
@@ -44547,9 +44664,9 @@ var SymbolBuilder = class {
44547
44664
  }
44548
44665
  return { kind: SymbolKind.Input, bindings };
44549
44666
  }
44550
- getDirectiveSymbolForAccessExpression(node, { isComponent, selector, isStructural }) {
44667
+ getDirectiveSymbolForAccessExpression(fieldAccessExpr, { isComponent, selector, isStructural }) {
44551
44668
  var _a2;
44552
- const tsSymbol = this.getTypeChecker().getSymbolAtLocation(node.expression);
44669
+ const tsSymbol = this.getTypeChecker().getSymbolAtLocation(fieldAccessExpr.expression);
44553
44670
  if ((tsSymbol == null ? void 0 : tsSymbol.declarations) === void 0 || tsSymbol.declarations.length === 0 || selector === null) {
44554
44671
  return null;
44555
44672
  }
@@ -44583,17 +44700,22 @@ var SymbolBuilder = class {
44583
44700
  }
44584
44701
  getSymbolOfVariable(variable2) {
44585
44702
  const node = findFirstMatchingNode(this.typeCheckBlock, { withSpan: variable2.sourceSpan, filter: import_typescript94.default.isVariableDeclaration });
44586
- if (node === null || node.initializer === void 0) {
44703
+ if (node === null) {
44587
44704
  return null;
44588
44705
  }
44589
- const expressionSymbol = this.getSymbolOfTsNode(node.initializer);
44590
- if (expressionSymbol === null) {
44706
+ let nodeValueSymbol = null;
44707
+ if (import_typescript94.default.isForOfStatement(node.parent.parent)) {
44708
+ nodeValueSymbol = this.getSymbolOfTsNode(node);
44709
+ } else if (node.initializer !== void 0) {
44710
+ nodeValueSymbol = this.getSymbolOfTsNode(node.initializer);
44711
+ }
44712
+ if (nodeValueSymbol === null) {
44591
44713
  return null;
44592
44714
  }
44593
44715
  return {
44594
- tsType: expressionSymbol.tsType,
44595
- tsSymbol: expressionSymbol.tsSymbol,
44596
- initializerLocation: expressionSymbol.tcbLocation,
44716
+ tsType: nodeValueSymbol.tsType,
44717
+ tsSymbol: nodeValueSymbol.tsSymbol,
44718
+ initializerLocation: nodeValueSymbol.tcbLocation,
44597
44719
  kind: SymbolKind.Variable,
44598
44720
  declaration: variable2,
44599
44721
  localVarLocation: {
@@ -44720,8 +44842,6 @@ var SymbolBuilder = class {
44720
44842
  let tsSymbol;
44721
44843
  if (import_typescript94.default.isPropertyAccessExpression(node)) {
44722
44844
  tsSymbol = this.getTypeChecker().getSymbolAtLocation(node.name);
44723
- } else if (import_typescript94.default.isElementAccessExpression(node)) {
44724
- tsSymbol = this.getTypeChecker().getSymbolAtLocation(node.argumentExpression);
44725
44845
  } else {
44726
44846
  tsSymbol = this.getTypeChecker().getSymbolAtLocation(node);
44727
44847
  }
@@ -44757,8 +44877,23 @@ function anyNodeFilter(n) {
44757
44877
  function sourceSpanEqual(a, b) {
44758
44878
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
44759
44879
  }
44880
+ function unwrapSignalInputWriteTAccessor(expr) {
44881
+ if (!import_typescript94.default.isElementAccessExpression(expr) || !import_typescript94.default.isPropertyAccessExpression(expr.argumentExpression)) {
44882
+ return null;
44883
+ }
44884
+ if (!import_typescript94.default.isIdentifier(expr.argumentExpression.name) || expr.argumentExpression.name.text !== Identifiers.InputSignalBrandWriteType.name) {
44885
+ return null;
44886
+ }
44887
+ if (!import_typescript94.default.isPropertyAccessExpression(expr.expression) && !import_typescript94.default.isElementAccessExpression(expr.expression)) {
44888
+ throw new Error("Unexpected expression for signal input write type.");
44889
+ }
44890
+ return {
44891
+ fieldExpr: expr.expression,
44892
+ typeExpr: expr
44893
+ };
44894
+ }
44760
44895
 
44761
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
44896
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
44762
44897
  var REGISTRY2 = new DomElementSchemaRegistry();
44763
44898
  var TemplateTypeCheckerImpl = class {
44764
44899
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -45166,11 +45301,11 @@ var TemplateTypeCheckerImpl = class {
45166
45301
  }
45167
45302
  return this.typeCheckScopeRegistry.getTypeCheckDirectiveMetadata(new Reference2(dir));
45168
45303
  }
45169
- getNgModuleMetadata(module3) {
45170
- if (!isNamedClassDeclaration(module3)) {
45304
+ getNgModuleMetadata(module2) {
45305
+ if (!isNamedClassDeclaration(module2)) {
45171
45306
  return null;
45172
45307
  }
45173
- return this.metaReader.getNgModuleMetadata(new Reference2(module3));
45308
+ return this.metaReader.getNgModuleMetadata(new Reference2(module2));
45174
45309
  }
45175
45310
  getPipeMetadata(pipe2) {
45176
45311
  if (!isNamedClassDeclaration(pipe2)) {
@@ -45454,7 +45589,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
45454
45589
  }
45455
45590
  };
45456
45591
 
45457
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
45592
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
45458
45593
  var TemplateCheckWithVisitor = class {
45459
45594
  run(ctx, component, template2) {
45460
45595
  const visitor = new TemplateVisitor2(ctx, component, this);
@@ -45577,7 +45712,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
45577
45712
  }
45578
45713
  };
45579
45714
 
45580
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
45715
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
45581
45716
  var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
45582
45717
  constructor() {
45583
45718
  super(...arguments);
@@ -45596,7 +45731,7 @@ var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
45596
45731
  }
45597
45732
  };
45598
45733
  function isSignal(symbol) {
45599
- return ((symbol == null ? void 0 : symbol.escapedName) === "WritableSignal" || (symbol == null ? void 0 : symbol.escapedName) === "Signal" || (symbol == null ? void 0 : symbol.escapedName) === "InputSignal") && symbol.parent.escapedName.includes("@angular/core");
45734
+ return ((symbol == null ? void 0 : symbol.escapedName) === "WritableSignal" || (symbol == null ? void 0 : symbol.escapedName) === "Signal" || (symbol == null ? void 0 : symbol.escapedName) === "InputSignal" || (symbol == null ? void 0 : symbol.escapedName) === "InputSignalWithTransform") && symbol.parent.escapedName.includes("@angular/core");
45600
45735
  }
45601
45736
  function buildDiagnosticForSignal(ctx, node, component) {
45602
45737
  const symbol = ctx.templateTypeChecker.getSymbolOfNode(node, component);
@@ -45614,7 +45749,7 @@ var factory = {
45614
45749
  create: () => new InterpolatedSignalCheck()
45615
45750
  };
45616
45751
 
45617
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
45752
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
45618
45753
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
45619
45754
  constructor() {
45620
45755
  super(...arguments);
@@ -45639,7 +45774,7 @@ var factory2 = {
45639
45774
  create: () => new InvalidBananaInBoxCheck()
45640
45775
  };
45641
45776
 
45642
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
45777
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
45643
45778
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
45644
45779
  ["ngIf", { directive: "NgIf", builtIn: "@if" }],
45645
45780
  ["ngFor", { directive: "NgFor", builtIn: "@for" }],
@@ -45683,7 +45818,7 @@ var factory3 = {
45683
45818
  }
45684
45819
  };
45685
45820
 
45686
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
45821
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
45687
45822
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
45688
45823
  constructor() {
45689
45824
  super(...arguments);
@@ -45715,7 +45850,7 @@ var factory4 = {
45715
45850
  create: () => new MissingNgForOfLetCheck()
45716
45851
  };
45717
45852
 
45718
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
45853
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
45719
45854
  var import_typescript97 = __toESM(require("typescript"), 1);
45720
45855
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
45721
45856
  constructor() {
@@ -45759,7 +45894,7 @@ var factory5 = {
45759
45894
  }
45760
45895
  };
45761
45896
 
45762
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
45897
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
45763
45898
  var import_typescript98 = __toESM(require("typescript"), 1);
45764
45899
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
45765
45900
  constructor() {
@@ -45804,7 +45939,7 @@ var factory6 = {
45804
45939
  }
45805
45940
  };
45806
45941
 
45807
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
45942
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
45808
45943
  var STYLE_SUFFIXES = ["px", "%", "em"];
45809
45944
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
45810
45945
  constructor() {
@@ -45827,7 +45962,7 @@ var factory7 = {
45827
45962
  create: () => new SuffixNotSupportedCheck()
45828
45963
  };
45829
45964
 
45830
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
45965
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
45831
45966
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
45832
45967
  constructor() {
45833
45968
  super(...arguments);
@@ -45865,10 +46000,10 @@ var factory8 = {
45865
46000
  create: () => new TextAttributeNotBindingSpec()
45866
46001
  };
45867
46002
 
45868
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
46003
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
45869
46004
  var import_typescript99 = __toESM(require("typescript"), 1);
45870
46005
 
45871
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
46006
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
45872
46007
  var DiagnosticCategoryLabel;
45873
46008
  (function(DiagnosticCategoryLabel2) {
45874
46009
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -45876,7 +46011,7 @@ var DiagnosticCategoryLabel;
45876
46011
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
45877
46012
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
45878
46013
 
45879
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
46014
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
45880
46015
  var ExtendedTemplateCheckerImpl = class {
45881
46016
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
45882
46017
  var _a2, _b2, _c2, _d2, _e2;
@@ -45928,7 +46063,7 @@ function assertNever(value) {
45928
46063
  ${value}`);
45929
46064
  }
45930
46065
 
45931
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
46066
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
45932
46067
  var ALL_DIAGNOSTIC_FACTORIES = [
45933
46068
  factory2,
45934
46069
  factory5,
@@ -45944,7 +46079,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
45944
46079
  ...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
45945
46080
  ]);
45946
46081
 
45947
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
46082
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
45948
46083
  var CompilationTicketKind;
45949
46084
  (function(CompilationTicketKind2) {
45950
46085
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -46074,10 +46209,19 @@ var NgCompiler = class {
46074
46209
  return this.incrementalCompilation.depGraph.getResourceDependencies(file);
46075
46210
  }
46076
46211
  getDiagnostics() {
46077
- const diagnostics = [];
46078
- diagnostics.push(...this.getNonTemplateDiagnostics(), ...this.getTemplateDiagnostics());
46079
- if (this.options.strictTemplates) {
46080
- diagnostics.push(...this.getExtendedTemplateDiagnostics());
46212
+ const diagnostics = [
46213
+ ...this.getNonTemplateDiagnostics()
46214
+ ];
46215
+ try {
46216
+ diagnostics.push(...this.getTemplateDiagnostics());
46217
+ if (this.options.strictTemplates) {
46218
+ diagnostics.push(...this.getExtendedTemplateDiagnostics());
46219
+ }
46220
+ } catch (err) {
46221
+ if (!isFatalDiagnosticError(err)) {
46222
+ throw err;
46223
+ }
46224
+ diagnostics.push(err.toDiagnostic());
46081
46225
  }
46082
46226
  return this.addMessageTextDetails(diagnostics);
46083
46227
  }
@@ -46088,11 +46232,11 @@ var NgCompiler = class {
46088
46232
  if (this.options.strictTemplates) {
46089
46233
  diagnostics.push(...this.getExtendedTemplateDiagnostics(file));
46090
46234
  }
46091
- } catch (e) {
46092
- if (e instanceof FatalDiagnosticError) {
46093
- diagnostics.push(e.toDiagnostic());
46235
+ } catch (err) {
46236
+ if (!isFatalDiagnosticError(err)) {
46237
+ throw err;
46094
46238
  }
46095
- throw e;
46239
+ diagnostics.push(err.toDiagnostic());
46096
46240
  }
46097
46241
  return this.addMessageTextDetails(diagnostics);
46098
46242
  }
@@ -46107,7 +46251,7 @@ var NgCompiler = class {
46107
46251
  diagnostics.push(...extendedTemplateChecker.getDiagnosticsForComponent(component));
46108
46252
  }
46109
46253
  } catch (err) {
46110
- if (!(err instanceof FatalDiagnosticError)) {
46254
+ if (!isFatalDiagnosticError(err)) {
46111
46255
  throw err;
46112
46256
  }
46113
46257
  diagnostics.push(err.toDiagnostic());
@@ -46368,14 +46512,7 @@ var NgCompiler = class {
46368
46512
  if (sf.isDeclarationFile || this.adapter.isShim(sf)) {
46369
46513
  continue;
46370
46514
  }
46371
- try {
46372
- diagnostics.push(...compilation.templateTypeChecker.getDiagnosticsForFile(sf, OptimizeFor.WholeProgram));
46373
- } catch (err) {
46374
- if (!(err instanceof FatalDiagnosticError)) {
46375
- throw err;
46376
- }
46377
- diagnostics.push(err.toDiagnostic());
46378
- }
46515
+ diagnostics.push(...compilation.templateTypeChecker.getDiagnosticsForFile(sf, OptimizeFor.WholeProgram));
46379
46516
  }
46380
46517
  const program = this.programDriver.getProgram();
46381
46518
  this.incrementalStrategy.setIncrementalState(this.incrementalCompilation.state, program);
@@ -46693,7 +46830,7 @@ function versionMapFromProgram(program, driver) {
46693
46830
  return versions;
46694
46831
  }
46695
46832
 
46696
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
46833
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
46697
46834
  var import_typescript102 = __toESM(require("typescript"), 1);
46698
46835
  var DelegatingCompilerHost2 = class {
46699
46836
  get jsDocParsingMode() {
@@ -46825,14 +46962,14 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
46825
46962
  const moduleResolutionCache = import_typescript102.default.createModuleResolutionCache(this.getCurrentDirectory(), this.getCanonicalFileName.bind(this));
46826
46963
  return (moduleNames, containingFile, reusedNames, redirectedReference, options) => {
46827
46964
  return moduleNames.map((moduleName) => {
46828
- const module3 = import_typescript102.default.resolveModuleName(moduleName, containingFile, options, this, moduleResolutionCache, redirectedReference);
46829
- return module3.resolvedModule;
46965
+ const module2 = import_typescript102.default.resolveModuleName(moduleName, containingFile, options, this, moduleResolutionCache, redirectedReference);
46966
+ return module2.resolvedModule;
46830
46967
  });
46831
46968
  };
46832
46969
  }
46833
46970
  };
46834
46971
 
46835
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
46972
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
46836
46973
  var NgtscProgram = class {
46837
46974
  constructor(rootNames, options, delegateHost, oldProgram) {
46838
46975
  this.options = options;
@@ -47059,24 +47196,24 @@ function mergeEmitResults(emitResults) {
47059
47196
  return { diagnostics, emitSkipped, emittedFiles };
47060
47197
  }
47061
47198
 
47062
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
47199
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
47063
47200
  function createProgram({ rootNames, options, host, oldProgram }) {
47064
47201
  return new NgtscProgram(rootNames, options, host, oldProgram);
47065
47202
  }
47066
47203
 
47067
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
47204
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
47068
47205
  var import_typescript106 = __toESM(require("typescript"), 1);
47069
47206
 
47070
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
47207
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
47071
47208
  var import_typescript105 = __toESM(require("typescript"), 1);
47072
47209
 
47073
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
47210
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
47074
47211
  var import_typescript107 = __toESM(require("typescript"), 1);
47075
47212
 
47076
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/signal_inputs_metadata_transform.mjs
47213
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/signal_inputs_metadata_transform.mjs
47077
47214
  var import_typescript108 = __toESM(require("typescript"), 1);
47078
47215
 
47079
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
47216
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
47080
47217
  var GLOBAL_DEFS_FOR_TERSER = {
47081
47218
  ngDevMode: false,
47082
47219
  ngI18nClosureMode: false
@@ -47085,7 +47222,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
47085
47222
  ngJitMode: false
47086
47223
  });
47087
47224
 
47088
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
47225
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
47089
47226
  var LogLevel;
47090
47227
  (function(LogLevel2) {
47091
47228
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -47094,7 +47231,7 @@ var LogLevel;
47094
47231
  LogLevel2[LogLevel2["error"] = 3] = "error";
47095
47232
  })(LogLevel || (LogLevel = {}));
47096
47233
 
47097
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
47234
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
47098
47235
  var RESET = "\x1B[0m";
47099
47236
  var RED = "\x1B[31m";
47100
47237
  var YELLOW = "\x1B[33m";
@@ -47103,18 +47240,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
47103
47240
  var WARN = `${YELLOW}Warning:${RESET}`;
47104
47241
  var ERROR = `${RED}Error:${RESET}`;
47105
47242
 
47106
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
47243
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
47107
47244
  setFileSystem(new NodeJSFileSystem());
47108
47245
 
47109
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
47246
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
47110
47247
  var import_fs2 = require("fs");
47111
47248
  var import_path8 = require("path");
47112
47249
  var import_typescript121 = __toESM(require("typescript"), 1);
47113
47250
 
47114
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
47251
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
47115
47252
  var import_typescript110 = __toESM(require("typescript"), 1);
47116
47253
 
47117
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
47254
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
47118
47255
  var import_path4 = require("path");
47119
47256
  var import_typescript109 = __toESM(require("typescript"), 1);
47120
47257
  var ImportManager2 = class {
@@ -47298,7 +47435,7 @@ ${text2}`;
47298
47435
  }
47299
47436
  };
47300
47437
 
47301
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
47438
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
47302
47439
  var ChangeTracker = class {
47303
47440
  constructor(_printer, _importRemapper) {
47304
47441
  __publicField(this, "_printer");
@@ -47357,7 +47494,7 @@ function normalizePath(path4) {
47357
47494
  return path4.replace(/\\/g, "/");
47358
47495
  }
47359
47496
 
47360
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
47497
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
47361
47498
  var import_core19 = require("@angular-devkit/core");
47362
47499
  function getProjectTsConfigPaths(tree) {
47363
47500
  return __async(this, null, function* () {
@@ -47437,11 +47574,11 @@ function getWorkspace(tree) {
47437
47574
  });
47438
47575
  }
47439
47576
 
47440
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
47577
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
47441
47578
  var import_path5 = require("path");
47442
47579
  var import_typescript112 = __toESM(require("typescript"), 1);
47443
47580
 
47444
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
47581
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
47445
47582
  var path3 = __toESM(require("path"), 1);
47446
47583
  var import_typescript111 = __toESM(require("typescript"), 1);
47447
47584
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -47458,7 +47595,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
47458
47595
  return import_typescript111.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
47459
47596
  }
47460
47597
 
47461
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
47598
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
47462
47599
  function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
47463
47600
  tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
47464
47601
  const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
@@ -47487,13 +47624,13 @@ function canMigrateFile(basePath, sourceFile, program) {
47487
47624
  return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
47488
47625
  }
47489
47626
 
47490
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
47627
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
47491
47628
  var import_typescript117 = __toESM(require("typescript"), 1);
47492
47629
 
47493
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
47630
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
47494
47631
  var import_typescript114 = __toESM(require("typescript"), 1);
47495
47632
 
47496
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
47633
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
47497
47634
  var import_typescript113 = __toESM(require("typescript"), 1);
47498
47635
  function getImportOfIdentifier(typeChecker, node) {
47499
47636
  const symbol = typeChecker.getSymbolAtLocation(node);
@@ -47544,7 +47681,7 @@ function findImportSpecifier(nodes, specifierName) {
47544
47681
  });
47545
47682
  }
47546
47683
 
47547
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
47684
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
47548
47685
  function getCallDecoratorImport(typeChecker, decorator) {
47549
47686
  if (!import_typescript114.default.isCallExpression(decorator.expression) || !import_typescript114.default.isIdentifier(decorator.expression.expression)) {
47550
47687
  return null;
@@ -47553,7 +47690,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
47553
47690
  return getImportOfIdentifier(typeChecker, identifier);
47554
47691
  }
47555
47692
 
47556
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
47693
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
47557
47694
  function getAngularDecorators(typeChecker, decorators) {
47558
47695
  return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
47559
47696
  node,
@@ -47563,7 +47700,7 @@ function getAngularDecorators(typeChecker, decorators) {
47563
47700
  }));
47564
47701
  }
47565
47702
 
47566
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
47703
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
47567
47704
  var import_typescript115 = __toESM(require("typescript"), 1);
47568
47705
  function closestNode(node, predicate) {
47569
47706
  let current = node.parent;
@@ -47576,7 +47713,7 @@ function closestNode(node, predicate) {
47576
47713
  return null;
47577
47714
  }
47578
47715
 
47579
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
47716
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
47580
47717
  var import_path6 = require("path");
47581
47718
  var import_typescript116 = __toESM(require("typescript"), 1);
47582
47719
  var UniqueItemTracker = class {
@@ -47752,7 +47889,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
47752
47889
  }));
47753
47890
  }
47754
47891
 
47755
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
47892
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
47756
47893
  function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
47757
47894
  const filesToRemove = /* @__PURE__ */ new Set();
47758
47895
  const tracker = new ChangeTracker(printer, importRemapper);
@@ -47951,14 +48088,14 @@ function findNgModuleDecorator(node, typeChecker) {
47951
48088
  return decorators.find((decorator) => decorator.name === "NgModule") || null;
47952
48089
  }
47953
48090
 
47954
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
48091
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
47955
48092
  var import_path7 = require("path");
47956
48093
  var import_typescript120 = __toESM(require("typescript"), 1);
47957
48094
 
47958
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
48095
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
47959
48096
  var import_typescript119 = __toESM(require("typescript"), 1);
47960
48097
 
47961
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
48098
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
47962
48099
  var import_typescript118 = __toESM(require("typescript"), 1);
47963
48100
  function isReferenceToImport(typeChecker, node, importSpecifier) {
47964
48101
  var _a2, _b2;
@@ -47967,7 +48104,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
47967
48104
  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];
47968
48105
  }
47969
48106
 
47970
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
48107
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
47971
48108
  function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
47972
48109
  const templateTypeChecker = program.compiler.getTemplateTypeChecker();
47973
48110
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -47978,11 +48115,11 @@ function toStandalone(sourceFiles, program, printer, fileImportRemapper, compone
47978
48115
  for (const sourceFile of sourceFiles) {
47979
48116
  const modules = findNgModuleClassesToMigrate(sourceFile, typeChecker);
47980
48117
  const testObjects = findTestObjectsToMigrate(sourceFile, typeChecker);
47981
- for (const module3 of modules) {
47982
- const allModuleDeclarations = extractDeclarationsFromModule(module3, templateTypeChecker);
47983
- const unbootstrappedDeclarations = filterNonBootstrappedDeclarations(allModuleDeclarations, module3, templateTypeChecker, typeChecker);
48118
+ for (const module2 of modules) {
48119
+ const allModuleDeclarations = extractDeclarationsFromModule(module2, templateTypeChecker);
48120
+ const unbootstrappedDeclarations = filterNonBootstrappedDeclarations(allModuleDeclarations, module2, templateTypeChecker, typeChecker);
47984
48121
  if (unbootstrappedDeclarations.length > 0) {
47985
- modulesToMigrate.add(module3);
48122
+ modulesToMigrate.add(module2);
47986
48123
  unbootstrappedDeclarations.forEach((decl) => declarations.add(decl));
47987
48124
  }
47988
48125
  }
@@ -48186,9 +48323,14 @@ function findTestObjectsToMigrate(sourceFile, typeChecker) {
48186
48323
  const catalystImport = getImportSpecifier(sourceFile, /testing\/catalyst$/, "setupModule");
48187
48324
  if (testBedImport || catalystImport) {
48188
48325
  sourceFile.forEachChild(function walk(node) {
48189
- if (import_typescript119.default.isCallExpression(node) && node.arguments.length > 0 && import_typescript119.default.isObjectLiteralExpression(node.arguments[0])) {
48190
- if (testBedImport && import_typescript119.default.isPropertyAccessExpression(node.expression) && node.expression.name.text === "configureTestingModule" && isReferenceToImport(typeChecker, node.expression.expression, testBedImport) || catalystImport && import_typescript119.default.isIdentifier(node.expression) && isReferenceToImport(typeChecker, node.expression, catalystImport)) {
48191
- testObjects.push(node.arguments[0]);
48326
+ const isObjectLiteralCall = import_typescript119.default.isCallExpression(node) && node.arguments.length > 0 && import_typescript119.default.isObjectLiteralExpression(node.arguments[0]);
48327
+ const config = isObjectLiteralCall ? node.arguments[0] : null;
48328
+ const isTestBedCall = isObjectLiteralCall && (testBedImport && import_typescript119.default.isPropertyAccessExpression(node.expression) && node.expression.name.text === "configureTestingModule" && isReferenceToImport(typeChecker, node.expression.expression, testBedImport));
48329
+ const isCatalystCall = isObjectLiteralCall && (catalystImport && import_typescript119.default.isIdentifier(node.expression) && isReferenceToImport(typeChecker, node.expression, catalystImport));
48330
+ if ((isTestBedCall || isCatalystCall) && config) {
48331
+ const declarations = findLiteralProperty(config, "declarations");
48332
+ if (declarations && import_typescript119.default.isPropertyAssignment(declarations) && import_typescript119.default.isArrayLiteralExpression(declarations.initializer) && declarations.initializer.elements.length > 0) {
48333
+ testObjects.push(config);
48192
48334
  }
48193
48335
  }
48194
48336
  node.forEachChild(walk);
@@ -48330,7 +48472,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
48330
48472
  return metadata != null && metadata.isStandalone;
48331
48473
  }
48332
48474
 
48333
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
48475
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
48334
48476
  function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
48335
48477
  const tracker = new ChangeTracker(printer, importRemapper);
48336
48478
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -48707,7 +48849,7 @@ function hasImport(program, rootFileNames, moduleName) {
48707
48849
  return false;
48708
48850
  }
48709
48851
 
48710
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
48852
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
48711
48853
  var MigrationMode;
48712
48854
  (function(MigrationMode2) {
48713
48855
  MigrationMode2["toStandalone"] = "convert-to-standalone";