@angular/core 17.1.1 → 17.1.2

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 (48) hide show
  1. package/esm2022/src/application/application_init.mjs +2 -2
  2. package/esm2022/src/application/application_ref.mjs +2 -2
  3. package/esm2022/src/application/application_tokens.mjs +9 -9
  4. package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +51 -18
  5. package/esm2022/src/core_private_export.mjs +2 -2
  6. package/esm2022/src/defer/instructions.mjs +4 -2
  7. package/esm2022/src/di/forward_ref.mjs +1 -1
  8. package/esm2022/src/di/initializer_token.mjs +2 -2
  9. package/esm2022/src/di/injector.mjs +4 -4
  10. package/esm2022/src/di/injector_token.mjs +2 -2
  11. package/esm2022/src/di/internal_tokens.mjs +2 -2
  12. package/esm2022/src/di/scope.mjs +2 -2
  13. package/esm2022/src/hydration/error_handling.mjs +17 -6
  14. package/esm2022/src/hydration/utils.mjs +54 -8
  15. package/esm2022/src/i18n/tokens.mjs +5 -5
  16. package/esm2022/src/linker/compiler.mjs +2 -2
  17. package/esm2022/src/metadata/di.mjs +1 -1
  18. package/esm2022/src/platform/platform.mjs +2 -2
  19. package/esm2022/src/platform/platform_ref.mjs +2 -2
  20. package/esm2022/src/render3/component_ref.mjs +1 -1
  21. package/esm2022/src/render3/instructions/element.mjs +3 -3
  22. package/esm2022/src/util/ng_dev_mode.mjs +11 -3
  23. package/esm2022/src/version.mjs +1 -1
  24. package/esm2022/testing/src/component_fixture.mjs +128 -93
  25. package/esm2022/testing/src/logger.mjs +3 -3
  26. package/esm2022/testing/src/test_bed.mjs +11 -6
  27. package/esm2022/testing/src/test_bed_common.mjs +9 -2
  28. package/esm2022/testing/src/test_bed_compiler.mjs +5 -4
  29. package/esm2022/testing/src/testing.mjs +2 -2
  30. package/fesm2022/core.mjs +156 -59
  31. package/fesm2022/core.mjs.map +1 -1
  32. package/fesm2022/primitives/signals.mjs +1 -1
  33. package/fesm2022/rxjs-interop.mjs +1 -1
  34. package/fesm2022/testing.mjs +143 -96
  35. package/fesm2022/testing.mjs.map +1 -1
  36. package/index.d.ts +37 -7
  37. package/package.json +1 -1
  38. package/primitives/signals/index.d.ts +1 -1
  39. package/rxjs-interop/index.d.ts +1 -1
  40. package/schematics/migrations/block-template-entities/bundle.js +229 -200
  41. package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
  42. package/schematics/migrations/compiler-options/bundle.js +13 -13
  43. package/schematics/migrations/transfer-state/bundle.js +13 -13
  44. package/schematics/ng-generate/control-flow-migration/bundle.js +239 -210
  45. package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
  46. package/schematics/ng-generate/standalone-migration/bundle.js +535 -492
  47. package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
  48. 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/control-flow-migration/index.mjs
66
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
67
67
  var control_flow_migration_exports = {};
68
68
  __export(control_flow_migration_exports, {
69
69
  default: () => control_flow_migration_default
@@ -72,22 +72,22 @@ module.exports = __toCommonJS(control_flow_migration_exports);
72
72
  var import_schematics = require("@angular-devkit/schematics");
73
73
  var import_path3 = require("path");
74
74
 
75
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
75
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
76
76
  var import_typescript2 = __toESM(require("typescript"), 1);
77
77
 
78
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
78
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
79
79
  var import_typescript = __toESM(require("typescript"), 1);
80
80
 
81
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
81
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
82
82
  function normalizePath(path2) {
83
83
  return path2.replace(/\\/g, "/");
84
84
  }
85
85
 
86
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
86
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
87
87
  var import_path = require("path");
88
88
  var import_typescript4 = __toESM(require("typescript"), 1);
89
89
 
90
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
90
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
91
91
  var path = __toESM(require("path"), 1);
92
92
  var import_typescript3 = __toESM(require("typescript"), 1);
93
93
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -104,7 +104,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
104
104
  return import_typescript3.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
105
105
  }
106
106
 
107
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
107
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
108
108
  function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
109
109
  const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
110
110
  return import_typescript4.default.createProgram(rootNames, options, host);
@@ -137,7 +137,7 @@ function canMigrateFile(basePath, sourceFile, program) {
137
137
  return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
138
138
  }
139
139
 
140
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
140
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
141
141
  var _SELECTOR_REGEXP = new RegExp(
142
142
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
143
143
  "g"
@@ -445,7 +445,7 @@ var SelectorContext = class {
445
445
  }
446
446
  };
447
447
 
448
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
448
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
449
449
  var ViewEncapsulation;
450
450
  (function(ViewEncapsulation2) {
451
451
  ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
@@ -513,7 +513,7 @@ function parseSelectorToR3Selector(selector) {
513
513
  return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
514
514
  }
515
515
 
516
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
516
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
517
517
  var textEncoder;
518
518
  function computeDigest(message) {
519
519
  return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
@@ -753,7 +753,7 @@ function wordAt(bytes, index, endian) {
753
753
  return word;
754
754
  }
755
755
 
756
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
756
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
757
757
  var TypeModifier;
758
758
  (function(TypeModifier2) {
759
759
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -1712,7 +1712,7 @@ function serializeTags(tags) {
1712
1712
  return out;
1713
1713
  }
1714
1714
 
1715
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
1715
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
1716
1716
  var CONSTANT_PREFIX = "_c";
1717
1717
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
1718
1718
  var KEY_CONTEXT = {};
@@ -1895,7 +1895,7 @@ function isLongStringLiteral(expr) {
1895
1895
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
1896
1896
  }
1897
1897
 
1898
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
1898
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
1899
1899
  var CORE = "@angular/core";
1900
1900
  var _Identifiers = class {
1901
1901
  };
@@ -2540,7 +2540,7 @@ var Identifiers = _Identifiers;
2540
2540
  _Identifiers.UnwrapDirectiveSignalInputs = { name: "\u0275UnwrapDirectiveSignalInputs", moduleName: CORE };
2541
2541
  })();
2542
2542
 
2543
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
2543
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
2544
2544
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
2545
2545
  function dashCaseToCamelCase(input) {
2546
2546
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -2628,7 +2628,7 @@ function partitionArray(arr, conditionFn) {
2628
2628
  return [truthy, falsy];
2629
2629
  }
2630
2630
 
2631
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2631
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2632
2632
  var VERSION = 3;
2633
2633
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
2634
2634
  var SourceMapGenerator = class {
@@ -2757,7 +2757,7 @@ function toBase64Digit(value) {
2757
2757
  return B64_DIGITS[value];
2758
2758
  }
2759
2759
 
2760
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
2760
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
2761
2761
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
2762
2762
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
2763
2763
  var _INDENT_WITH = " ";
@@ -3245,7 +3245,7 @@ function _createIndent(count) {
3245
3245
  return res;
3246
3246
  }
3247
3247
 
3248
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
3248
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
3249
3249
  function typeWithParameters(type, numParams) {
3250
3250
  if (numParams === 0) {
3251
3251
  return expressionType(type);
@@ -3310,7 +3310,7 @@ function generateForwardRef(expr) {
3310
3310
  return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
3311
3311
  }
3312
3312
 
3313
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3313
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3314
3314
  var R3FactoryDelegateType;
3315
3315
  (function(R3FactoryDelegateType2) {
3316
3316
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -3455,7 +3455,7 @@ function getInjectFn(target) {
3455
3455
  }
3456
3456
  }
3457
3457
 
3458
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
3458
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
3459
3459
  var TagContentType;
3460
3460
  (function(TagContentType2) {
3461
3461
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -3492,7 +3492,7 @@ function mergeNsAndName(prefix, localName) {
3492
3492
  return prefix ? `:${prefix}:${localName}` : localName;
3493
3493
  }
3494
3494
 
3495
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3495
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3496
3496
  var Comment = class {
3497
3497
  constructor(value, sourceSpan) {
3498
3498
  this.value = value;
@@ -3873,7 +3873,7 @@ function visitAll(visitor, nodes) {
3873
3873
  return result;
3874
3874
  }
3875
3875
 
3876
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
3876
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
3877
3877
  var Message = class {
3878
3878
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
3879
3879
  this.nodes = nodes;
@@ -4011,7 +4011,7 @@ var LocalizeMessageStringVisitor = class {
4011
4011
  }
4012
4012
  };
4013
4013
 
4014
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4014
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4015
4015
  var _Visitor = class {
4016
4016
  visitTag(tag) {
4017
4017
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4039,12 +4039,12 @@ ${doctype.dtd}
4039
4039
  };
4040
4040
  var _visitor = new _Visitor();
4041
4041
 
4042
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4042
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4043
4043
  function toPublicName(internalName) {
4044
4044
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
4045
4045
  }
4046
4046
 
4047
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4047
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4048
4048
  var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
4049
4049
  var TRANSLATION_VAR_PREFIX = "i18n_";
4050
4050
  var I18N_ATTR = "i18n";
@@ -4146,7 +4146,7 @@ function declareI18nVariable(variable2) {
4146
4146
  return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
4147
4147
  }
4148
4148
 
4149
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4149
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4150
4150
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
4151
4151
  var TEMPORARY_NAME = "_t";
4152
4152
  var CONTEXT_NAME = "ctx";
@@ -4363,7 +4363,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
4363
4363
  }
4364
4364
  });
4365
4365
  elOrTpl.inputs.forEach((i) => {
4366
- if (i.type === 0) {
4366
+ if (i.type === 0 || i.type === 5) {
4367
4367
  attributesMap[i.name] = "";
4368
4368
  }
4369
4369
  });
@@ -4408,7 +4408,7 @@ function getInstructionStatements(instructions) {
4408
4408
  return statements;
4409
4409
  }
4410
4410
 
4411
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4411
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4412
4412
  function compileInjectable(meta, resolveForwardRefs) {
4413
4413
  let result = null;
4414
4414
  const factoryMeta = {
@@ -4493,7 +4493,7 @@ function createFactoryFunction(type) {
4493
4493
  return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
4494
4494
  }
4495
4495
 
4496
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
4496
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
4497
4497
  var UNUSABLE_INTERPOLATION_REGEXPS = [
4498
4498
  /^\s*$/,
4499
4499
  /[<>]/,
@@ -4515,7 +4515,7 @@ function assertInterpolationSymbols(identifier, value) {
4515
4515
  }
4516
4516
  }
4517
4517
 
4518
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
4518
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
4519
4519
  var InterpolationConfig = class {
4520
4520
  static fromArray(markers) {
4521
4521
  if (!markers) {
@@ -4532,7 +4532,7 @@ var InterpolationConfig = class {
4532
4532
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
4533
4533
  var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
4534
4534
 
4535
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
4535
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
4536
4536
  var $EOF = 0;
4537
4537
  var $BSPACE = 8;
4538
4538
  var $TAB = 9;
@@ -4614,7 +4614,7 @@ function isQuote(code) {
4614
4614
  return code === $SQ || code === $DQ || code === $BT;
4615
4615
  }
4616
4616
 
4617
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
4617
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
4618
4618
  var ParseLocation = class {
4619
4619
  constructor(file, offset, line, col) {
4620
4620
  this.file = file;
@@ -4761,7 +4761,7 @@ function sanitizeIdentifier(name) {
4761
4761
  return name.replace(/\W/g, "_");
4762
4762
  }
4763
4763
 
4764
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
4764
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
4765
4765
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
4766
4766
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
4767
4767
  constructor() {
@@ -4854,7 +4854,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
4854
4854
  }
4855
4855
  };
4856
4856
 
4857
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
4857
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
4858
4858
  var policy;
4859
4859
  function getPolicy() {
4860
4860
  if (policy === void 0) {
@@ -4892,7 +4892,7 @@ function newTrustedFunctionForJIT(...args) {
4892
4892
  return fn2.bind(_global);
4893
4893
  }
4894
4894
 
4895
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
4895
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
4896
4896
  var JitEvaluator = class {
4897
4897
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
4898
4898
  const converter = new JitEmitterVisitor(refResolver);
@@ -4983,7 +4983,7 @@ function isUseStrictStatement(statement) {
4983
4983
  return statement.isEquivalent(literal("use strict").toStmt());
4984
4984
  }
4985
4985
 
4986
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
4986
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
4987
4987
  function compileInjector(meta) {
4988
4988
  const definitionMap = new DefinitionMap();
4989
4989
  if (meta.providers !== null) {
@@ -5000,7 +5000,7 @@ function createInjectorType(meta) {
5000
5000
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
5001
5001
  }
5002
5002
 
5003
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5003
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5004
5004
  var R3JitReflector = class {
5005
5005
  constructor(context) {
5006
5006
  this.context = context;
@@ -5016,7 +5016,7 @@ var R3JitReflector = class {
5016
5016
  }
5017
5017
  };
5018
5018
 
5019
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5019
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5020
5020
  var R3SelectorScopeMode;
5021
5021
  (function(R3SelectorScopeMode2) {
5022
5022
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -5157,7 +5157,7 @@ function tupleOfTypes(types) {
5157
5157
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
5158
5158
  }
5159
5159
 
5160
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5160
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5161
5161
  function compilePipeFromMetadata(metadata) {
5162
5162
  const definitionMapValues = [];
5163
5163
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -5178,7 +5178,7 @@ function createPipeType(metadata) {
5178
5178
  ]));
5179
5179
  }
5180
5180
 
5181
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5181
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5182
5182
  var R3TemplateDependencyKind;
5183
5183
  (function(R3TemplateDependencyKind2) {
5184
5184
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -5186,7 +5186,7 @@ var R3TemplateDependencyKind;
5186
5186
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
5187
5187
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
5188
5188
 
5189
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5189
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5190
5190
  var ParserError = class {
5191
5191
  constructor(message, input, errLocation, ctxLocation) {
5192
5192
  this.input = input;
@@ -5818,6 +5818,7 @@ var ParsedPropertyType;
5818
5818
  ParsedPropertyType2[ParsedPropertyType2["DEFAULT"] = 0] = "DEFAULT";
5819
5819
  ParsedPropertyType2[ParsedPropertyType2["LITERAL_ATTR"] = 1] = "LITERAL_ATTR";
5820
5820
  ParsedPropertyType2[ParsedPropertyType2["ANIMATION"] = 2] = "ANIMATION";
5821
+ ParsedPropertyType2[ParsedPropertyType2["TWO_WAY"] = 3] = "TWO_WAY";
5821
5822
  })(ParsedPropertyType || (ParsedPropertyType = {}));
5822
5823
  var ParsedEvent = class {
5823
5824
  constructor(name, targetOrPhase, type, handler, sourceSpan, handlerSpan, keySpan) {
@@ -5852,7 +5853,7 @@ var BoundElementProperty = class {
5852
5853
  }
5853
5854
  };
5854
5855
 
5855
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
5856
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
5856
5857
  var _EventHandlerVars = class {
5857
5858
  };
5858
5859
  var EventHandlerVars = _EventHandlerVars;
@@ -6493,7 +6494,7 @@ var BuiltinFunctionCall = class extends Call {
6493
6494
  }
6494
6495
  };
6495
6496
 
6496
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6497
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6497
6498
  var _SECURITY_SCHEMA;
6498
6499
  function SECURITY_SCHEMA() {
6499
6500
  if (!_SECURITY_SCHEMA) {
@@ -6551,7 +6552,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
6551
6552
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
6552
6553
  }
6553
6554
 
6554
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
6555
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
6555
6556
  var animationKeywords = /* @__PURE__ */ new Set([
6556
6557
  "inherit",
6557
6558
  "initial",
@@ -7022,7 +7023,7 @@ function repeatGroups(groups, multiples) {
7022
7023
  }
7023
7024
  }
7024
7025
 
7025
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7026
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7026
7027
  var OpKind;
7027
7028
  (function(OpKind2) {
7028
7029
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -7181,7 +7182,7 @@ var TemplateKind;
7181
7182
  TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
7182
7183
  })(TemplateKind || (TemplateKind = {}));
7183
7184
 
7184
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7185
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7185
7186
  var ConsumesSlot = Symbol("ConsumesSlot");
7186
7187
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
7187
7188
  var ConsumesVarsTrait = Symbol("ConsumesVars");
@@ -7213,7 +7214,7 @@ function hasUsesVarOffsetTrait(expr) {
7213
7214
  return expr[UsesVarOffset] === true;
7214
7215
  }
7215
7216
 
7216
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7217
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7217
7218
  function createStatementOp(statement) {
7218
7219
  return __spreadValues({
7219
7220
  kind: OpKind.Statement,
@@ -7235,7 +7236,7 @@ var NEW_OP = {
7235
7236
  next: null
7236
7237
  };
7237
7238
 
7238
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
7239
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
7239
7240
  function createInterpolateTextOp(xref, interpolation, sourceSpan) {
7240
7241
  return __spreadValues(__spreadValues(__spreadValues({
7241
7242
  kind: OpKind.InterpolateText,
@@ -7401,7 +7402,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
7401
7402
  }, NEW_OP);
7402
7403
  }
7403
7404
 
7404
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7405
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7405
7406
  var _a;
7406
7407
  var _b;
7407
7408
  var _c;
@@ -8233,7 +8234,7 @@ function isStringLiteral(expr) {
8233
8234
  return expr instanceof LiteralExpr && typeof expr.value === "string";
8234
8235
  }
8235
8236
 
8236
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
8237
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
8237
8238
  var _OpList = class {
8238
8239
  constructor() {
8239
8240
  this.debugListId = _OpList.nextListId++;
@@ -8424,14 +8425,14 @@ var OpList = _OpList;
8424
8425
  _OpList.nextListId = 0;
8425
8426
  })();
8426
8427
 
8427
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
8428
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
8428
8429
  var SlotHandle = class {
8429
8430
  constructor() {
8430
8431
  this.slot = null;
8431
8432
  }
8432
8433
  };
8433
8434
 
8434
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8435
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8435
8436
  var elementContainerOpKinds = /* @__PURE__ */ new Set([
8436
8437
  OpKind.Element,
8437
8438
  OpKind.ElementStart,
@@ -8600,7 +8601,7 @@ function createExtractedAttributeOp(target, bindingKind, namespace, name, expres
8600
8601
  trustedValueFn: null
8601
8602
  }, NEW_OP);
8602
8603
  }
8603
- function createDeferOp(xref, main, mainSlot, metadata, sourceSpan) {
8604
+ function createDeferOp(xref, main, mainSlot, metadata, resolverFn, sourceSpan) {
8604
8605
  return __spreadProps(__spreadValues(__spreadValues({
8605
8606
  kind: OpKind.Defer,
8606
8607
  xref,
@@ -8619,7 +8620,7 @@ function createDeferOp(xref, main, mainSlot, metadata, sourceSpan) {
8619
8620
  errorView: null,
8620
8621
  errorSlot: null,
8621
8622
  metadata,
8622
- resolverFn: null,
8623
+ resolverFn,
8623
8624
  sourceSpan
8624
8625
  }, NEW_OP), TRAIT_CONSUMES_SLOT), {
8625
8626
  numSlotsUsed: 2
@@ -8718,7 +8719,7 @@ function createI18nAttributesOp(xref, handle, target) {
8718
8719
  }, NEW_OP), TRAIT_CONSUMES_SLOT);
8719
8720
  }
8720
8721
 
8721
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
8722
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
8722
8723
  function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
8723
8724
  return __spreadValues(__spreadValues({
8724
8725
  kind: OpKind.HostProperty,
@@ -8732,10 +8733,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
8732
8733
  }, TRAIT_CONSUMES_VARS), NEW_OP);
8733
8734
  }
8734
8735
 
8735
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
8736
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
8736
8737
  var CTX_REF = "CTX_REF_MARKER";
8737
8738
 
8738
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
8739
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
8739
8740
  var CompilationJobKind;
8740
8741
  (function(CompilationJobKind2) {
8741
8742
  CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
@@ -8755,11 +8756,12 @@ var CompilationJob = class {
8755
8756
  }
8756
8757
  };
8757
8758
  var ComponentCompilationJob = class extends CompilationJob {
8758
- constructor(componentName, pool, compatibility, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
8759
+ constructor(componentName, pool, compatibility, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn) {
8759
8760
  super(componentName, pool, compatibility);
8760
8761
  this.relativeContextFilePath = relativeContextFilePath;
8761
8762
  this.i18nUseExternalIds = i18nUseExternalIds;
8762
8763
  this.deferBlocksMeta = deferBlocksMeta;
8764
+ this.allDeferrableDepsFn = allDeferrableDepsFn;
8763
8765
  this.kind = CompilationJobKind.Tmpl;
8764
8766
  this.fnSuffix = "Template";
8765
8767
  this.views = /* @__PURE__ */ new Map();
@@ -8842,7 +8844,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
8842
8844
  }
8843
8845
  };
8844
8846
 
8845
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
8847
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
8846
8848
  function deleteAnyCasts(job) {
8847
8849
  for (const unit of job.units) {
8848
8850
  for (const op of unit.ops()) {
@@ -8860,7 +8862,7 @@ function removeAnys(e) {
8860
8862
  return e;
8861
8863
  }
8862
8864
 
8863
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
8865
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
8864
8866
  function applyI18nExpressions(job) {
8865
8867
  const i18nContexts = /* @__PURE__ */ new Map();
8866
8868
  for (const unit of job.units) {
@@ -8903,7 +8905,7 @@ function needsApplication(i18nContexts, op) {
8903
8905
  return false;
8904
8906
  }
8905
8907
 
8906
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
8908
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
8907
8909
  function assignI18nSlotDependencies(job) {
8908
8910
  for (const unit of job.units) {
8909
8911
  let updateOp = unit.update.head;
@@ -8948,7 +8950,7 @@ function assignI18nSlotDependencies(job) {
8948
8950
  }
8949
8951
  }
8950
8952
 
8951
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
8953
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
8952
8954
  function createOpXrefMap(unit) {
8953
8955
  const map = /* @__PURE__ */ new Map();
8954
8956
  for (const op of unit.create) {
@@ -8963,7 +8965,7 @@ function createOpXrefMap(unit) {
8963
8965
  return map;
8964
8966
  }
8965
8967
 
8966
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
8968
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
8967
8969
  function extractAttributes(job) {
8968
8970
  for (const unit of job.units) {
8969
8971
  const elements = createOpXrefMap(unit);
@@ -9065,7 +9067,7 @@ function extractAttributeOp(unit, op, elements) {
9065
9067
  }
9066
9068
  }
9067
9069
 
9068
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
9070
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
9069
9071
  function lookupElement2(elements, xref) {
9070
9072
  const el = elements.get(xref);
9071
9073
  if (el === void 0) {
@@ -9116,7 +9118,7 @@ function specializeBindings(job) {
9116
9118
  }
9117
9119
  }
9118
9120
 
9119
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9121
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9120
9122
  var CHAINABLE = /* @__PURE__ */ new Set([
9121
9123
  Identifiers.attribute,
9122
9124
  Identifiers.classProp,
@@ -9182,7 +9184,7 @@ function chainOperationsInList(opList) {
9182
9184
  }
9183
9185
  }
9184
9186
 
9185
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
9187
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
9186
9188
  function collapseSingletonInterpolations(job) {
9187
9189
  for (const unit of job.units) {
9188
9190
  for (const op of unit.update) {
@@ -9194,7 +9196,7 @@ function collapseSingletonInterpolations(job) {
9194
9196
  }
9195
9197
  }
9196
9198
 
9197
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
9199
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
9198
9200
  function generateConditionalExpressions(job) {
9199
9201
  for (const unit of job.units) {
9200
9202
  for (const op of unit.ops()) {
@@ -9231,7 +9233,7 @@ function generateConditionalExpressions(job) {
9231
9233
  }
9232
9234
  }
9233
9235
 
9234
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9236
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9235
9237
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
9236
9238
  ["&&", BinaryOperator.And],
9237
9239
  [">", BinaryOperator.Bigger],
@@ -9282,7 +9284,7 @@ function literalOrArrayLiteral(value) {
9282
9284
  return literal(value);
9283
9285
  }
9284
9286
 
9285
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
9287
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
9286
9288
  function collectElementConsts(job) {
9287
9289
  const allElementAttributes = /* @__PURE__ */ new Map();
9288
9290
  for (const unit of job.units) {
@@ -9444,7 +9446,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
9444
9446
  return literalArr(attrArray);
9445
9447
  }
9446
9448
 
9447
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
9449
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
9448
9450
  function convertI18nBindings(job) {
9449
9451
  const i18nAttributesByElem = /* @__PURE__ */ new Map();
9450
9452
  for (const unit of job.units) {
@@ -9485,14 +9487,18 @@ function convertI18nBindings(job) {
9485
9487
  }
9486
9488
  }
9487
9489
 
9488
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
9490
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
9489
9491
  function createDeferDepsFns(job) {
9492
+ var _a2;
9490
9493
  for (const unit of job.units) {
9491
9494
  for (const op of unit.create) {
9492
9495
  if (op.kind === OpKind.Defer) {
9493
9496
  if (op.metadata.deps.length === 0) {
9494
9497
  continue;
9495
9498
  }
9499
+ if (op.resolverFn !== null) {
9500
+ continue;
9501
+ }
9496
9502
  const dependencies = [];
9497
9503
  for (const dep of op.metadata.deps) {
9498
9504
  if (dep.isDeferrable) {
@@ -9507,9 +9513,10 @@ function createDeferDepsFns(job) {
9507
9513
  if (op.handle.slot === null) {
9508
9514
  throw new Error("AssertionError: slot must be assigned bfore extracting defer deps functions");
9509
9515
  }
9516
+ const fullPathName = (_a2 = unit.fnName) == null ? void 0 : _a2.replace(`_Template`, ``);
9510
9517
  op.resolverFn = job.pool.getSharedFunctionReference(
9511
9518
  depsFnExpr,
9512
- `${job.componentName}_Defer_${op.handle.slot}_DepsFn`,
9519
+ `${fullPathName}_Defer_${op.handle.slot}_DepsFn`,
9513
9520
  false
9514
9521
  );
9515
9522
  }
@@ -9517,7 +9524,7 @@ function createDeferDepsFns(job) {
9517
9524
  }
9518
9525
  }
9519
9526
 
9520
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
9527
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
9521
9528
  function createI18nContexts(job) {
9522
9529
  const attrContextByMessage = /* @__PURE__ */ new Map();
9523
9530
  for (const unit of job.units) {
@@ -9595,7 +9602,7 @@ function createI18nContexts(job) {
9595
9602
  }
9596
9603
  }
9597
9604
 
9598
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
9605
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
9599
9606
  function deduplicateTextBindings(job) {
9600
9607
  const seen = /* @__PURE__ */ new Map();
9601
9608
  for (const unit of job.units) {
@@ -9617,7 +9624,7 @@ function deduplicateTextBindings(job) {
9617
9624
  }
9618
9625
  }
9619
9626
 
9620
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
9627
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
9621
9628
  function configureDeferInstructions(job) {
9622
9629
  for (const unit of job.units) {
9623
9630
  for (const op of unit.create) {
@@ -9634,7 +9641,7 @@ function configureDeferInstructions(job) {
9634
9641
  }
9635
9642
  }
9636
9643
 
9637
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
9644
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
9638
9645
  function resolveDeferTargetNames(job) {
9639
9646
  const scopes = /* @__PURE__ */ new Map();
9640
9647
  function getScopeForView2(view) {
@@ -9728,7 +9735,7 @@ var Scope = class {
9728
9735
  }
9729
9736
  };
9730
9737
 
9731
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
9738
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
9732
9739
  var REPLACEMENTS = /* @__PURE__ */ new Map([
9733
9740
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
9734
9741
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
@@ -9755,7 +9762,7 @@ function collapseEmptyInstructions(job) {
9755
9762
  }
9756
9763
  }
9757
9764
 
9758
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
9765
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
9759
9766
  function expandSafeReads(job) {
9760
9767
  for (const unit of job.units) {
9761
9768
  for (const op of unit.ops()) {
@@ -9891,7 +9898,7 @@ function ternaryTransform(e) {
9891
9898
  return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
9892
9899
  }
9893
9900
 
9894
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
9901
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
9895
9902
  var ESCAPE = "\uFFFD";
9896
9903
  var ELEMENT_MARKER = "#";
9897
9904
  var TEMPLATE_MARKER = "*";
@@ -10027,7 +10034,7 @@ function formatValue(value) {
10027
10034
  return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
10028
10035
  }
10029
10036
 
10030
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
10037
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
10031
10038
  function generateAdvance(job) {
10032
10039
  for (const unit of job.units) {
10033
10040
  const slotMap = /* @__PURE__ */ new Map();
@@ -10059,7 +10066,7 @@ function generateAdvance(job) {
10059
10066
  }
10060
10067
  }
10061
10068
 
10062
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
10069
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
10063
10070
  function generateProjectionDefs(job) {
10064
10071
  const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
10065
10072
  const selectors = [];
@@ -10083,7 +10090,7 @@ function generateProjectionDefs(job) {
10083
10090
  }
10084
10091
  }
10085
10092
 
10086
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
10093
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
10087
10094
  function generateVariables(job) {
10088
10095
  recursivelyProcessView(job.root, null);
10089
10096
  }
@@ -10176,7 +10183,7 @@ function generateVariablesInScopeForView(view, scope) {
10176
10183
  return newOps;
10177
10184
  }
10178
10185
 
10179
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
10186
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
10180
10187
  function collectConstExpressions(job) {
10181
10188
  for (const unit of job.units) {
10182
10189
  for (const op of unit.ops()) {
@@ -10190,7 +10197,7 @@ function collectConstExpressions(job) {
10190
10197
  }
10191
10198
  }
10192
10199
 
10193
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
10200
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
10194
10201
  var STYLE_DOT = "style.";
10195
10202
  var CLASS_DOT = "class.";
10196
10203
  var STYLE_BANG = "style!";
@@ -10248,7 +10255,7 @@ function parseProperty(name) {
10248
10255
  return { property: property2, suffix };
10249
10256
  }
10250
10257
 
10251
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
10258
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
10252
10259
  function mapLiteral(obj, quoted = false) {
10253
10260
  return literalMap(Object.keys(obj).map((key) => ({
10254
10261
  key,
@@ -10257,7 +10264,7 @@ function mapLiteral(obj, quoted = false) {
10257
10264
  })));
10258
10265
  }
10259
10266
 
10260
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
10267
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
10261
10268
  var IcuSerializerVisitor = class {
10262
10269
  visitText(text2) {
10263
10270
  return text2.value;
@@ -10291,7 +10298,7 @@ function serializeIcuNode(icu) {
10291
10298
  return icu.visit(serializer);
10292
10299
  }
10293
10300
 
10294
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
10301
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
10295
10302
  var TokenType;
10296
10303
  (function(TokenType2) {
10297
10304
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -10652,7 +10659,7 @@ function parseIntAutoRadix(text2) {
10652
10659
  return result;
10653
10660
  }
10654
10661
 
10655
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
10662
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
10656
10663
  var SplitInterpolation = class {
10657
10664
  constructor(strings, expressions, offsets) {
10658
10665
  this.strings = strings;
@@ -11546,7 +11553,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
11546
11553
  return offsetMap;
11547
11554
  }
11548
11555
 
11549
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
11556
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
11550
11557
  var NodeWithI18n = class {
11551
11558
  constructor(sourceSpan, i18n2) {
11552
11559
  this.sourceSpan = sourceSpan;
@@ -11698,11 +11705,11 @@ var RecursiveVisitor = class {
11698
11705
  }
11699
11706
  };
11700
11707
 
11701
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
11708
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
11702
11709
  var ElementSchemaRegistry = class {
11703
11710
  };
11704
11711
 
11705
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
11712
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
11706
11713
  var BOOLEAN = "boolean";
11707
11714
  var NUMBER = "number";
11708
11715
  var STRING = "string";
@@ -12055,7 +12062,7 @@ function _isPixelDimensionStyle(prop) {
12055
12062
  }
12056
12063
  }
12057
12064
 
12058
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12065
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12059
12066
  var HtmlTagDefinition = class {
12060
12067
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
12061
12068
  this.closedByChildren = {};
@@ -12173,7 +12180,7 @@ function getHtmlTagDefinition(tagName) {
12173
12180
  return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
12174
12181
  }
12175
12182
 
12176
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
12183
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
12177
12184
  var TAG_TO_PLACEHOLDER_NAMES = {
12178
12185
  "A": "LINK",
12179
12186
  "B": "BOLD_TEXT",
@@ -12295,7 +12302,7 @@ var PlaceholderRegistry = class {
12295
12302
  }
12296
12303
  };
12297
12304
 
12298
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
12305
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
12299
12306
  var _expParser = new Parser(new Lexer());
12300
12307
  function createI18nMessageFactory(interpolationConfig, containerBlocks) {
12301
12308
  const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
@@ -12474,14 +12481,14 @@ function extractPlaceholderName(input) {
12474
12481
  return input.split(_CUSTOM_PH_EXP)[2];
12475
12482
  }
12476
12483
 
12477
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
12484
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
12478
12485
  var I18nError = class extends ParseError {
12479
12486
  constructor(span, msg) {
12480
12487
  super(span, msg);
12481
12488
  }
12482
12489
  };
12483
12490
 
12484
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
12491
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
12485
12492
  var NAMED_ENTITIES = {
12486
12493
  "AElig": "\xC6",
12487
12494
  "AMP": "&",
@@ -14612,7 +14619,7 @@ var NAMED_ENTITIES = {
14612
14619
  var NGSP_UNICODE = "\uE500";
14613
14620
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
14614
14621
 
14615
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
14622
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
14616
14623
  var TokenError = class extends ParseError {
14617
14624
  constructor(errorMsg, tokenType, span) {
14618
14625
  super(span, errorMsg);
@@ -15533,7 +15540,7 @@ var CursorError = class {
15533
15540
  }
15534
15541
  };
15535
15542
 
15536
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
15543
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
15537
15544
  var TreeError = class extends ParseError {
15538
15545
  static create(elementName, span, msg) {
15539
15546
  return new TreeError(elementName, span, msg);
@@ -15917,7 +15924,7 @@ function decodeEntity(match, entity) {
15917
15924
  return match;
15918
15925
  }
15919
15926
 
15920
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15927
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15921
15928
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
15922
15929
  "iframe|srcdoc",
15923
15930
  "*|innerhtml",
@@ -15932,7 +15939,7 @@ function isTrustedTypesSink(tagName, propName) {
15932
15939
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
15933
15940
  }
15934
15941
 
15935
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
15942
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
15936
15943
  var setI18nRefs = (htmlNode, i18nNode) => {
15937
15944
  if (htmlNode instanceof NodeWithI18n) {
15938
15945
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -16089,7 +16096,7 @@ function i18nMetaToJSDoc(meta) {
16089
16096
  return jsDocComment(tags);
16090
16097
  }
16091
16098
 
16092
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16099
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16093
16100
  var GOOG_GET_MSG = "goog.getMsg";
16094
16101
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
16095
16102
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -16140,7 +16147,7 @@ function serializeI18nMessageForGetMsg(message) {
16140
16147
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
16141
16148
  }
16142
16149
 
16143
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16150
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16144
16151
  function createLocalizeStatements(variable2, message, params) {
16145
16152
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
16146
16153
  const sourceSpan = getSourceSpan(message);
@@ -16229,7 +16236,7 @@ function createEmptyMessagePart(location) {
16229
16236
  return new LiteralPiece("", new ParseSourceSpan(location, location));
16230
16237
  }
16231
16238
 
16232
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
16239
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
16233
16240
  var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
16234
16241
  var TRANSLATION_VAR_PREFIX2 = "i18n_";
16235
16242
  var I18N_ICU_MAPPING_PREFIX2 = "I18N_EXP_";
@@ -16390,7 +16397,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
16390
16397
  return variable(name);
16391
16398
  }
16392
16399
 
16393
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
16400
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
16394
16401
  function convertI18nText(job) {
16395
16402
  var _a2, _b2, _c2;
16396
16403
  for (const unit of job.units) {
@@ -16460,7 +16467,7 @@ function convertI18nText(job) {
16460
16467
  }
16461
16468
  }
16462
16469
 
16463
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
16470
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
16464
16471
  function liftLocalRefs(job) {
16465
16472
  for (const unit of job.units) {
16466
16473
  for (const op of unit.create) {
@@ -16490,7 +16497,7 @@ function serializeLocalRefs(refs) {
16490
16497
  return literalArr(constRefs);
16491
16498
  }
16492
16499
 
16493
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
16500
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
16494
16501
  function emitNamespaceChanges(job) {
16495
16502
  for (const unit of job.units) {
16496
16503
  let activeNamespace = Namespace.HTML;
@@ -16506,7 +16513,7 @@ function emitNamespaceChanges(job) {
16506
16513
  }
16507
16514
  }
16508
16515
 
16509
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
16516
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
16510
16517
  function parse(value) {
16511
16518
  const styles = [];
16512
16519
  let i = 0;
@@ -16567,7 +16574,7 @@ function hyphenate2(value) {
16567
16574
  }).toLowerCase();
16568
16575
  }
16569
16576
 
16570
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
16577
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
16571
16578
  function nameFunctionsAndVariables(job) {
16572
16579
  addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
16573
16580
  }
@@ -16687,7 +16694,7 @@ function stripImportant(name) {
16687
16694
  return name;
16688
16695
  }
16689
16696
 
16690
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
16697
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
16691
16698
  function mergeNextContextExpressions(job) {
16692
16699
  for (const unit of job.units) {
16693
16700
  for (const op of unit.create) {
@@ -16733,7 +16740,7 @@ function mergeNextContextsInOps(ops) {
16733
16740
  }
16734
16741
  }
16735
16742
 
16736
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
16743
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
16737
16744
  var CONTAINER_TAG = "ng-container";
16738
16745
  function generateNgContainerOps(job) {
16739
16746
  for (const unit of job.units) {
@@ -16750,7 +16757,7 @@ function generateNgContainerOps(job) {
16750
16757
  }
16751
16758
  }
16752
16759
 
16753
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
16760
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
16754
16761
  function lookupElement3(elements, xref) {
16755
16762
  const el = elements.get(xref);
16756
16763
  if (el === void 0) {
@@ -16780,7 +16787,7 @@ function disableBindings(job) {
16780
16787
  }
16781
16788
  }
16782
16789
 
16783
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
16790
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
16784
16791
  function generateNullishCoalesceExpressions(job) {
16785
16792
  for (const unit of job.units) {
16786
16793
  for (const op of unit.ops()) {
@@ -16796,7 +16803,7 @@ function generateNullishCoalesceExpressions(job) {
16796
16803
  }
16797
16804
  }
16798
16805
 
16799
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
16806
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
16800
16807
  function kindTest(kind) {
16801
16808
  return (op) => op.kind === kind;
16802
16809
  }
@@ -16878,7 +16885,7 @@ function keepLast(ops) {
16878
16885
  return ops.slice(ops.length - 1);
16879
16886
  }
16880
16887
 
16881
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
16888
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
16882
16889
  function parseExtractedStyles(job) {
16883
16890
  const elements = /* @__PURE__ */ new Map();
16884
16891
  for (const unit of job.units) {
@@ -16913,7 +16920,7 @@ function parseExtractedStyles(job) {
16913
16920
  }
16914
16921
  }
16915
16922
 
16916
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
16923
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
16917
16924
  function removeContentSelectors(job) {
16918
16925
  for (const unit of job.units) {
16919
16926
  const elements = createOpXrefMap(unit);
@@ -16940,7 +16947,7 @@ function lookupInXrefMap(map, xref) {
16940
16947
  return el;
16941
16948
  }
16942
16949
 
16943
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
16950
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
16944
16951
  function createPipes(job) {
16945
16952
  for (const unit of job.units) {
16946
16953
  processPipeBindingsInView(unit);
@@ -16988,7 +16995,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
16988
16995
  throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
16989
16996
  }
16990
16997
 
16991
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
16998
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
16992
16999
  function createVariadicPipes(job) {
16993
17000
  for (const unit of job.units) {
16994
17001
  for (const op of unit.update) {
@@ -17005,7 +17012,7 @@ function createVariadicPipes(job) {
17005
17012
  }
17006
17013
  }
17007
17014
 
17008
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
17015
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
17009
17016
  function propagateI18nBlocks(job) {
17010
17017
  propagateI18nBlocksToTemplates(job.root, 0);
17011
17018
  }
@@ -17059,7 +17066,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
17059
17066
  }
17060
17067
  }
17061
17068
 
17062
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
17069
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
17063
17070
  function extractPureFunctions(job) {
17064
17071
  for (const view of job.units) {
17065
17072
  for (const op of view.ops()) {
@@ -17101,7 +17108,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
17101
17108
  }
17102
17109
  };
17103
17110
 
17104
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
17111
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
17105
17112
  function generatePureLiteralStructures(job) {
17106
17113
  for (const unit of job.units) {
17107
17114
  for (const op of unit.update) {
@@ -17148,7 +17155,7 @@ function transformLiteralMap(expr) {
17148
17155
  return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
17149
17156
  }
17150
17157
 
17151
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
17158
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
17152
17159
  function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
17153
17160
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
17154
17161
  }
@@ -17670,7 +17677,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
17670
17677
  return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
17671
17678
  }
17672
17679
 
17673
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
17680
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
17674
17681
  var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
17675
17682
  ["window", Identifiers.resolveWindow],
17676
17683
  ["document", Identifiers.resolveDocument],
@@ -18003,7 +18010,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
18003
18010
  return fn(params, handlerStmts, void 0, void 0, name);
18004
18011
  }
18005
18012
 
18006
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
18013
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
18007
18014
  function removeEmptyBindings(job) {
18008
18015
  for (const unit of job.units) {
18009
18016
  for (const op of unit.update) {
@@ -18024,7 +18031,7 @@ function removeEmptyBindings(job) {
18024
18031
  }
18025
18032
  }
18026
18033
 
18027
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
18034
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
18028
18035
  function removeI18nContexts(job) {
18029
18036
  for (const unit of job.units) {
18030
18037
  for (const op of unit.create) {
@@ -18040,7 +18047,7 @@ function removeI18nContexts(job) {
18040
18047
  }
18041
18048
  }
18042
18049
 
18043
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
18050
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
18044
18051
  function removeUnusedI18nAttributesOps(job) {
18045
18052
  for (const unit of job.units) {
18046
18053
  const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
@@ -18062,7 +18069,7 @@ function removeUnusedI18nAttributesOps(job) {
18062
18069
  }
18063
18070
  }
18064
18071
 
18065
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
18072
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
18066
18073
  function resolveContexts(job) {
18067
18074
  for (const unit of job.units) {
18068
18075
  processLexicalScope(unit, unit.create);
@@ -18103,7 +18110,7 @@ function processLexicalScope(view, ops) {
18103
18110
  }
18104
18111
  }
18105
18112
 
18106
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
18113
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
18107
18114
  function resolveDollarEvent(job) {
18108
18115
  for (const unit of job.units) {
18109
18116
  transformDollarEvent(unit, unit.create);
@@ -18124,7 +18131,7 @@ function transformDollarEvent(unit, ops) {
18124
18131
  }
18125
18132
  }
18126
18133
 
18127
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
18134
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
18128
18135
  function resolveI18nElementPlaceholders(job) {
18129
18136
  const i18nContexts = /* @__PURE__ */ new Map();
18130
18137
  const elements = /* @__PURE__ */ new Map();
@@ -18303,7 +18310,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
18303
18310
  params.set(placeholder, values);
18304
18311
  }
18305
18312
 
18306
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
18313
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
18307
18314
  function resolveI18nExpressionPlaceholders(job) {
18308
18315
  var _a2;
18309
18316
  const subTemplateIndicies = /* @__PURE__ */ new Map();
@@ -18356,7 +18363,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
18356
18363
  }
18357
18364
  }
18358
18365
 
18359
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
18366
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
18360
18367
  function resolveNames(job) {
18361
18368
  for (const unit of job.units) {
18362
18369
  processLexicalScope2(unit, unit.create, null);
@@ -18420,7 +18427,7 @@ function processLexicalScope2(unit, ops, savedView) {
18420
18427
  }
18421
18428
  }
18422
18429
 
18423
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
18430
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
18424
18431
  var sanitizerFns = /* @__PURE__ */ new Map([
18425
18432
  [SecurityContext.HTML, Identifiers.sanitizeHtml],
18426
18433
  [SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
@@ -18490,7 +18497,7 @@ function getOnlySecurityContext(securityContext) {
18490
18497
  return securityContext;
18491
18498
  }
18492
18499
 
18493
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
18500
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
18494
18501
  function saveAndRestoreView(job) {
18495
18502
  for (const unit of job.units) {
18496
18503
  unit.create.prepend([
@@ -18535,7 +18542,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
18535
18542
  }
18536
18543
  }
18537
18544
 
18538
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
18545
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
18539
18546
  function allocateSlots(job) {
18540
18547
  const slotMap = /* @__PURE__ */ new Map();
18541
18548
  for (const unit of job.units) {
@@ -18560,7 +18567,7 @@ function allocateSlots(job) {
18560
18567
  }
18561
18568
  }
18562
18569
 
18563
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
18570
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
18564
18571
  function specializeStyleBindings(job) {
18565
18572
  for (const unit of job.units) {
18566
18573
  for (const op of unit.update) {
@@ -18590,7 +18597,7 @@ function specializeStyleBindings(job) {
18590
18597
  }
18591
18598
  }
18592
18599
 
18593
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
18600
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
18594
18601
  function generateTemporaryVariables(job) {
18595
18602
  for (const unit of job.units) {
18596
18603
  unit.create.prepend(generateTemporaries(unit.create));
@@ -18648,7 +18655,7 @@ function assignName(names, expr) {
18648
18655
  expr.name = name;
18649
18656
  }
18650
18657
 
18651
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
18658
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
18652
18659
  function generateTrackFns(job) {
18653
18660
  for (const unit of job.units) {
18654
18661
  for (const op of unit.create) {
@@ -18681,7 +18688,7 @@ function generateTrackFns(job) {
18681
18688
  }
18682
18689
  }
18683
18690
 
18684
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
18691
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
18685
18692
  function optimizeTrackFns(job) {
18686
18693
  for (const unit of job.units) {
18687
18694
  for (const op of unit.create) {
@@ -18728,7 +18735,7 @@ function isTrackByFunctionCall(rootView, expr) {
18728
18735
  return true;
18729
18736
  }
18730
18737
 
18731
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
18738
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
18732
18739
  function generateTrackVariables(job) {
18733
18740
  for (const unit of job.units) {
18734
18741
  for (const op of unit.create) {
@@ -18749,7 +18756,7 @@ function generateTrackVariables(job) {
18749
18756
  }
18750
18757
  }
18751
18758
 
18752
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
18759
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
18753
18760
  function countVariables(job) {
18754
18761
  for (const unit of job.units) {
18755
18762
  let varCount = 0;
@@ -18857,7 +18864,7 @@ function isSingletonInterpolation(expr) {
18857
18864
  return true;
18858
18865
  }
18859
18866
 
18860
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
18867
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
18861
18868
  function optimizeVariables(job) {
18862
18869
  for (const unit of job.units) {
18863
18870
  inlineAlwaysInlineVariables(unit.create);
@@ -19107,7 +19114,7 @@ function allowConservativeInlining(decl, target) {
19107
19114
  }
19108
19115
  }
19109
19116
 
19110
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
19117
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
19111
19118
  function wrapI18nIcus(job) {
19112
19119
  for (const unit of job.units) {
19113
19120
  let currentI18nOp = null;
@@ -19137,7 +19144,7 @@ function wrapI18nIcus(job) {
19137
19144
  }
19138
19145
  }
19139
19146
 
19140
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
19147
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
19141
19148
  var phases = [
19142
19149
  { kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
19143
19150
  { kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
@@ -19179,7 +19186,6 @@ var phases = [
19179
19186
  { kind: CompilationJobKind.Both, fn: expandSafeReads },
19180
19187
  { kind: CompilationJobKind.Both, fn: generateTemporaryVariables },
19181
19188
  { kind: CompilationJobKind.Tmpl, fn: allocateSlots },
19182
- { kind: CompilationJobKind.Tmpl, fn: createDeferDepsFns },
19183
19189
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
19184
19190
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
19185
19191
  { kind: CompilationJobKind.Tmpl, fn: extractI18nMessages },
@@ -19192,6 +19198,7 @@ var phases = [
19192
19198
  { kind: CompilationJobKind.Tmpl, fn: generateAdvance },
19193
19199
  { kind: CompilationJobKind.Both, fn: optimizeVariables },
19194
19200
  { kind: CompilationJobKind.Both, fn: nameFunctionsAndVariables },
19201
+ { kind: CompilationJobKind.Tmpl, fn: createDeferDepsFns },
19195
19202
  { kind: CompilationJobKind.Tmpl, fn: mergeNextContextExpressions },
19196
19203
  { kind: CompilationJobKind.Tmpl, fn: generateNgContainerOps },
19197
19204
  { kind: CompilationJobKind.Tmpl, fn: collapseEmptyInstructions },
@@ -19302,12 +19309,12 @@ function emitHostBindingFunction(job) {
19302
19309
  );
19303
19310
  }
19304
19311
 
19305
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
19312
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
19306
19313
  var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
19307
19314
  var domSchema = new DomElementSchemaRegistry();
19308
19315
  var NG_TEMPLATE_TAG_NAME = "ng-template";
19309
- function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
19310
- const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta);
19316
+ function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn) {
19317
+ const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn);
19311
19318
  ingestNodes(job.root, template2);
19312
19319
  return job;
19313
19320
  }
@@ -19362,7 +19369,7 @@ function ingestHostAttribute(job, name, value, securityContexts) {
19362
19369
  job.root.update.push(attrBinding);
19363
19370
  }
19364
19371
  function ingestHostEvent(job, event) {
19365
- const [phase, target] = event.type === 0 ? [null, event.targetOrPhase] : [event.targetOrPhase, null];
19372
+ const [phase, target] = event.type !== 1 ? [null, event.targetOrPhase] : [event.targetOrPhase, null];
19366
19373
  const eventBinding = createListenerOp(job.root.xref, new SlotHandle(), event.name, null, makeListenerHandlerOps(job.root, event.handler, event.handlerSpan), phase, target, true, event.sourceSpan);
19367
19374
  job.root.create.push(eventBinding);
19368
19375
  }
@@ -19571,7 +19578,7 @@ function ingestDeferBlock(unit, deferBlock) {
19571
19578
  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);
19572
19579
  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);
19573
19580
  const deferXref = unit.job.allocateXrefId();
19574
- const deferOp = createDeferOp(deferXref, main.xref, main.handle, blockMeta, deferBlock.sourceSpan);
19581
+ const deferOp = createDeferOp(deferXref, main.xref, main.handle, blockMeta, unit.job.allDeferrableDepsFn, deferBlock.sourceSpan);
19575
19582
  deferOp.placeholderView = (_j = placeholder == null ? void 0 : placeholder.xref) != null ? _j : null;
19576
19583
  deferOp.placeholderSlot = (_k = placeholder == null ? void 0 : placeholder.handle) != null ? _k : null;
19577
19584
  deferOp.loadingSlot = (_l = loading == null ? void 0 : loading.handle) != null ? _l : null;
@@ -19829,6 +19836,7 @@ function convertAstWithInterpolation(job, value, i18nMeta, sourceSpan) {
19829
19836
  }
19830
19837
  var BINDING_KINDS = /* @__PURE__ */ new Map([
19831
19838
  [0, BindingKind.Property],
19839
+ [5, BindingKind.Property],
19832
19840
  [1, BindingKind.Attribute],
19833
19841
  [2, BindingKind.ClassName],
19834
19842
  [3, BindingKind.StyleProperty],
@@ -19907,7 +19915,7 @@ function ingestTemplateBindings(unit, op, template2, templateKind) {
19907
19915
  function createTemplateBinding(view, xref, type, name, value, unit, securityContext, isStructuralTemplateAttribute, templateKind, i18nMessage, sourceSpan) {
19908
19916
  const isTextBinding = typeof value === "string";
19909
19917
  if (templateKind === TemplateKind.Structural) {
19910
- if (!isStructuralTemplateAttribute && (type === 0 || type === 2 || type === 3)) {
19918
+ if (!isStructuralTemplateAttribute && (type === 0 || type === 5 || type === 2 || type === 3)) {
19911
19919
  return createExtractedAttributeOp(xref, BindingKind.Property, null, name, null, null, i18nMessage, securityContext);
19912
19920
  }
19913
19921
  if (!isTextBinding && (type === 1 || type === 4)) {
@@ -19985,10 +19993,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
19985
19993
  return null;
19986
19994
  }
19987
19995
 
19988
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
19996
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
19989
19997
  var USE_TEMPLATE_PIPELINE = false;
19990
19998
 
19991
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
19999
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
19992
20000
  var IMPORTANT_FLAG = "!important";
19993
20001
  var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
19994
20002
  var StylingBuilder = class {
@@ -20321,7 +20329,7 @@ function isEmptyExpression(ast) {
20321
20329
  return ast instanceof EmptyExpr;
20322
20330
  }
20323
20331
 
20324
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
20332
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
20325
20333
  var HtmlParser = class extends Parser2 {
20326
20334
  constructor() {
20327
20335
  super(getHtmlTagDefinition);
@@ -20331,7 +20339,7 @@ var HtmlParser = class extends Parser2 {
20331
20339
  }
20332
20340
  };
20333
20341
 
20334
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
20342
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
20335
20343
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
20336
20344
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
20337
20345
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -20397,7 +20405,7 @@ function visitAllWithSiblings(visitor, nodes) {
20397
20405
  return result;
20398
20406
  }
20399
20407
 
20400
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
20408
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
20401
20409
  var PROPERTY_PARTS_SEPARATOR = ".";
20402
20410
  var ATTRIBUTE_PREFIX = "attr";
20403
20411
  var CLASS_PREFIX = "class";
@@ -20423,6 +20431,7 @@ var BindingParser = class {
20423
20431
  propName,
20424
20432
  expression,
20425
20433
  true,
20434
+ false,
20426
20435
  sourceSpan,
20427
20436
  sourceSpan.start.offset,
20428
20437
  void 0,
@@ -20488,7 +20497,7 @@ var BindingParser = class {
20488
20497
  } else if (binding.value) {
20489
20498
  const srcSpan = isIvyAst ? bindingSpan : sourceSpan;
20490
20499
  const valueSpan = moveParseSourceSpan(sourceSpan, binding.value.ast.sourceSpan);
20491
- this._parsePropertyAst(key, binding.value, srcSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20500
+ this._parsePropertyAst(key, binding.value, false, srcSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20492
20501
  } else {
20493
20502
  targetMatchableAttrs.push([key, ""]);
20494
20503
  this.parseLiteralAttr(key, null, keySpan, absoluteValueOffset, void 0, targetMatchableAttrs, targetProps, keySpan);
@@ -20523,7 +20532,7 @@ var BindingParser = class {
20523
20532
  targetProps.push(new ParsedProperty(name, this._exprParser.wrapLiteralPrimitive(value, "", absoluteOffset), ParsedPropertyType.LITERAL_ATTR, sourceSpan, keySpan, valueSpan));
20524
20533
  }
20525
20534
  }
20526
- parsePropertyBinding(name, expression, isHost, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
20535
+ parsePropertyBinding(name, expression, isHost, isPartOfAssignmentBinding, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
20527
20536
  if (name.length === 0) {
20528
20537
  this._reportError(`Property name is missing in binding`, sourceSpan);
20529
20538
  }
@@ -20544,20 +20553,20 @@ var BindingParser = class {
20544
20553
  if (isAnimationProp) {
20545
20554
  this._parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20546
20555
  } else {
20547
- this._parsePropertyAst(name, this.parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20556
+ this._parsePropertyAst(name, this.parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), isPartOfAssignmentBinding, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20548
20557
  }
20549
20558
  }
20550
20559
  parsePropertyInterpolation(name, value, sourceSpan, valueSpan, targetMatchableAttrs, targetProps, keySpan, interpolatedTokens) {
20551
20560
  const expr = this.parseInterpolation(value, valueSpan || sourceSpan, interpolatedTokens);
20552
20561
  if (expr) {
20553
- this._parsePropertyAst(name, expr, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20562
+ this._parsePropertyAst(name, expr, false, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20554
20563
  return true;
20555
20564
  }
20556
20565
  return false;
20557
20566
  }
20558
- _parsePropertyAst(name, ast, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
20567
+ _parsePropertyAst(name, ast, isPartOfAssignmentBinding, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
20559
20568
  targetMatchableAttrs.push([name, ast.source]);
20560
- targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan));
20569
+ targetProps.push(new ParsedProperty(name, ast, isPartOfAssignmentBinding ? ParsedPropertyType.TWO_WAY : ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan));
20561
20570
  }
20562
20571
  _parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
20563
20572
  if (name.length === 0) {
@@ -20617,7 +20626,7 @@ var BindingParser = class {
20617
20626
  const mappedPropName = this._schemaRegistry.getMappedPropName(boundProp.name);
20618
20627
  boundPropertyName = mapPropertyName ? mappedPropName : boundProp.name;
20619
20628
  securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, mappedPropName, false);
20620
- bindingType = 0;
20629
+ bindingType = boundProp.type === ParsedPropertyType.TWO_WAY ? 5 : 0;
20621
20630
  if (!skipValidation) {
20622
20631
  this._validatePropertyOrAttributeName(mappedPropName, boundProp.sourceSpan, false);
20623
20632
  }
@@ -20663,7 +20672,7 @@ var BindingParser = class {
20663
20672
  const [target, eventName] = splitAtColon(name, [null, name]);
20664
20673
  const ast = this._parseAction(expression, isAssignmentEvent, handlerSpan);
20665
20674
  targetMatchableAttrs.push([name, ast.source]);
20666
- targetEvents.push(new ParsedEvent(eventName, target, 0, ast, sourceSpan, handlerSpan, keySpan));
20675
+ targetEvents.push(new ParsedEvent(eventName, target, isAssignmentEvent ? 2 : 0, ast, sourceSpan, handlerSpan, keySpan));
20667
20676
  }
20668
20677
  _parseAction(value, isAssignmentEvent, sourceSpan) {
20669
20678
  const sourceInfo = (sourceSpan && sourceSpan.start || "(unknown").toString();
@@ -20717,7 +20726,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
20717
20726
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
20718
20727
  }
20719
20728
 
20720
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
20729
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
20721
20730
  function isStyleUrlResolvable(url) {
20722
20731
  if (url == null || url.length === 0 || url[0] == "/")
20723
20732
  return false;
@@ -20726,7 +20735,7 @@ function isStyleUrlResolvable(url) {
20726
20735
  }
20727
20736
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
20728
20737
 
20729
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
20738
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
20730
20739
  var NG_CONTENT_SELECT_ATTR = "select";
20731
20740
  var LINK_ELEMENT = "link";
20732
20741
  var LINK_STYLE_REL_ATTR = "rel";
@@ -20796,12 +20805,13 @@ function normalizeNgContentSelect(selectAttr) {
20796
20805
  return selectAttr;
20797
20806
  }
20798
20807
 
20799
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
20808
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
20800
20809
  var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
20801
20810
  var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
20802
- var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
20811
+ var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
20803
20812
  var ELSE_IF_PATTERN = /^else[^\S\r\n]+if/;
20804
20813
  var FOR_LOOP_LET_PATTERN = /^let\s+([\S\s]*)/;
20814
+ var CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN = /(\s*)(\S+)(\s*)/;
20805
20815
  var ALLOWED_FOR_LOOP_LET_VARIABLES = /* @__PURE__ */ new Set(["$index", "$first", "$last", "$even", "$odd", "$count"]);
20806
20816
  function isConnectedForLoopBlock(name) {
20807
20817
  return name === "empty";
@@ -20913,8 +20923,10 @@ function parseForLoopParameters(block, errors, bindingParser) {
20913
20923
  return null;
20914
20924
  }
20915
20925
  const [, itemName, rawExpression] = match;
20926
+ const variableName = expressionParam.expression.split(" ")[0];
20927
+ const variableSpan = new ParseSourceSpan(expressionParam.sourceSpan.start, expressionParam.sourceSpan.start.moveBy(variableName.length));
20916
20928
  const result = {
20917
- itemName: new Variable(itemName, "$implicit", expressionParam.sourceSpan, expressionParam.sourceSpan),
20929
+ itemName: new Variable(itemName, "$implicit", variableSpan, variableSpan),
20918
20930
  trackBy: null,
20919
20931
  expression: parseBlockParameterToBinding(expressionParam, bindingParser, rawExpression),
20920
20932
  context: {}
@@ -20922,7 +20934,8 @@ function parseForLoopParameters(block, errors, bindingParser) {
20922
20934
  for (const param of secondaryParams) {
20923
20935
  const letMatch = param.expression.match(FOR_LOOP_LET_PATTERN);
20924
20936
  if (letMatch !== null) {
20925
- parseLetParameter(param.sourceSpan, letMatch[1], param.sourceSpan, result.context, errors);
20937
+ const variablesSpan = new ParseSourceSpan(param.sourceSpan.start.moveBy(letMatch[0].length - letMatch[1].length), param.sourceSpan.end);
20938
+ parseLetParameter(param.sourceSpan, letMatch[1], variablesSpan, result.context, errors);
20926
20939
  continue;
20927
20940
  }
20928
20941
  const trackMatch = param.expression.match(FOR_LOOP_TRACK_PATTERN);
@@ -20938,16 +20951,18 @@ function parseForLoopParameters(block, errors, bindingParser) {
20938
20951
  }
20939
20952
  errors.push(new ParseError(param.sourceSpan, `Unrecognized @for loop paramater "${param.expression}"`));
20940
20953
  }
20941
- for (const variableName of ALLOWED_FOR_LOOP_LET_VARIABLES) {
20942
- if (!result.context.hasOwnProperty(variableName)) {
20954
+ for (const variableName2 of ALLOWED_FOR_LOOP_LET_VARIABLES) {
20955
+ if (!result.context.hasOwnProperty(variableName2)) {
20943
20956
  const emptySpanAfterForBlockStart = new ParseSourceSpan(block.startSourceSpan.end, block.startSourceSpan.end);
20944
- result.context[variableName] = new Variable(variableName, variableName, emptySpanAfterForBlockStart, emptySpanAfterForBlockStart);
20957
+ result.context[variableName2] = new Variable(variableName2, variableName2, emptySpanAfterForBlockStart, emptySpanAfterForBlockStart);
20945
20958
  }
20946
20959
  }
20947
20960
  return result;
20948
20961
  }
20949
20962
  function parseLetParameter(sourceSpan, expression, span, context, errors) {
20963
+ var _a2, _b2, _c2;
20950
20964
  const parts = expression.split(",");
20965
+ let startSpan = span.start;
20951
20966
  for (const part of parts) {
20952
20967
  const expressionParts = part.split("=");
20953
20968
  const name = expressionParts.length === 2 ? expressionParts[0].trim() : "";
@@ -20959,8 +20974,20 @@ function parseLetParameter(sourceSpan, expression, span, context, errors) {
20959
20974
  } else if (context.hasOwnProperty(variableName)) {
20960
20975
  errors.push(new ParseError(sourceSpan, `Duplicate "let" parameter variable "${variableName}"`));
20961
20976
  } else {
20962
- context[variableName] = new Variable(name, variableName, span, span);
20977
+ const [, keyLeadingWhitespace, keyName] = (_a2 = expressionParts[0].match(CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN)) != null ? _a2 : [];
20978
+ const keySpan = keyLeadingWhitespace !== void 0 && expressionParts.length === 2 ? new ParseSourceSpan(
20979
+ startSpan.moveBy(keyLeadingWhitespace.length),
20980
+ startSpan.moveBy(keyLeadingWhitespace.length + keyName.length)
20981
+ ) : span;
20982
+ let valueSpan = void 0;
20983
+ if (expressionParts.length === 2) {
20984
+ const [, valueLeadingWhitespace, implicit] = (_b2 = expressionParts[1].match(CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN)) != null ? _b2 : [];
20985
+ 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;
20986
+ }
20987
+ const sourceSpan2 = new ParseSourceSpan(keySpan.start, (_c2 = valueSpan == null ? void 0 : valueSpan.end) != null ? _c2 : keySpan.end);
20988
+ context[variableName] = new Variable(name, variableName, sourceSpan2, keySpan, valueSpan);
20963
20989
  }
20990
+ startSpan = startSpan.moveBy(part.length + 1);
20964
20991
  }
20965
20992
  }
20966
20993
  function validateIfConnectedBlocks(connectedBlocks) {
@@ -21040,8 +21067,10 @@ function parseConditionalBlockParameters(block, errors, bindingParser) {
21040
21067
  } else if (expressionAlias !== null) {
21041
21068
  errors.push(new ParseError(param.sourceSpan, 'Conditional can only have one "as" expression'));
21042
21069
  } else {
21043
- const name = aliasMatch[1].trim();
21044
- expressionAlias = new Variable(name, name, param.sourceSpan, param.sourceSpan);
21070
+ const name = aliasMatch[2].trim();
21071
+ const variableStart = param.sourceSpan.start.moveBy(aliasMatch[1].length);
21072
+ const variableSpan = new ParseSourceSpan(variableStart, variableStart.moveBy(name.length));
21073
+ expressionAlias = new Variable(name, name, variableSpan, variableSpan);
21045
21074
  }
21046
21075
  }
21047
21076
  return { expression, expressionAlias };
@@ -21087,7 +21116,7 @@ function stripOptionalParentheses(param, errors) {
21087
21116
  return expression.slice(start, end);
21088
21117
  }
21089
21118
 
21090
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
21119
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
21091
21120
  var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
21092
21121
  var SEPARATOR_PATTERN = /^\s$/;
21093
21122
  var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
@@ -21351,7 +21380,7 @@ function parseDeferredTime(value) {
21351
21380
  return parseFloat(time) * (units === "s" ? 1e3 : 1);
21352
21381
  }
21353
21382
 
21354
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
21383
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
21355
21384
  var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
21356
21385
  var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
21357
21386
  var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
@@ -21486,7 +21515,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
21486
21515
  return { triggers, prefetchTriggers };
21487
21516
  }
21488
21517
 
21489
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
21518
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
21490
21519
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
21491
21520
  var KW_BIND_IDX = 1;
21492
21521
  var KW_LET_IDX = 2;
@@ -21759,7 +21788,7 @@ var HtmlAstToIvyAst = class {
21759
21788
  if (bindParts[KW_BIND_IDX] != null) {
21760
21789
  const identifier = bindParts[IDENT_KW_IDX];
21761
21790
  const keySpan2 = createKeySpan(srcSpan, bindParts[KW_BIND_IDX], identifier);
21762
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21791
+ this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21763
21792
  } else if (bindParts[KW_LET_IDX]) {
21764
21793
  if (isTemplateElement) {
21765
21794
  const identifier = bindParts[IDENT_KW_IDX];
@@ -21781,7 +21810,7 @@ var HtmlAstToIvyAst = class {
21781
21810
  } else if (bindParts[KW_BINDON_IDX]) {
21782
21811
  const identifier = bindParts[IDENT_KW_IDX];
21783
21812
  const keySpan2 = createKeySpan(srcSpan, bindParts[KW_BINDON_IDX], identifier);
21784
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21813
+ this.bindingParser.parsePropertyBinding(identifier, value, false, true, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21785
21814
  this.parseAssignmentEvent(identifier, value, srcSpan, attribute2.valueSpan, matchableAttributes, boundEvents, keySpan2);
21786
21815
  } else if (bindParts[KW_AT_IDX]) {
21787
21816
  const keySpan2 = createKeySpan(srcSpan, "", name);
@@ -21801,10 +21830,10 @@ var HtmlAstToIvyAst = class {
21801
21830
  const identifier = name.substring(delims.start.length, name.length - delims.end.length);
21802
21831
  const keySpan2 = createKeySpan(srcSpan, delims.start, identifier);
21803
21832
  if (delims.start === BINDING_DELIMS.BANANA_BOX.start) {
21804
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21833
+ this.bindingParser.parsePropertyBinding(identifier, value, false, true, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21805
21834
  this.parseAssignmentEvent(identifier, value, srcSpan, attribute2.valueSpan, matchableAttributes, boundEvents, keySpan2);
21806
21835
  } else if (delims.start === BINDING_DELIMS.PROPERTY.start) {
21807
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21836
+ this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21808
21837
  } else {
21809
21838
  const events = [];
21810
21839
  this.bindingParser.parseEvent(identifier, value, false, srcSpan, attribute2.valueSpan || srcSpan, matchableAttributes, events, keySpan2);
@@ -21917,7 +21946,7 @@ function textContents(node) {
21917
21946
  }
21918
21947
  }
21919
21948
 
21920
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
21949
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
21921
21950
  var TagType;
21922
21951
  (function(TagType2) {
21923
21952
  TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
@@ -22062,7 +22091,7 @@ function serializePlaceholderValue(value) {
22062
22091
  }
22063
22092
  }
22064
22093
 
22065
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
22094
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
22066
22095
  var NG_CONTENT_SELECT_ATTR2 = "select";
22067
22096
  var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
22068
22097
  var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
@@ -22473,7 +22502,7 @@ var TemplateDefinitionBuilder = class {
22473
22502
  element2.inputs.forEach((input) => {
22474
22503
  const stylingInputWasSet = stylingBuilder.registerBoundInput(input);
22475
22504
  if (!stylingInputWasSet) {
22476
- if (input.type === 0 && input.i18n) {
22505
+ if ((input.type === 0 || input.type === 5) && input.i18n) {
22477
22506
  boundI18nAttrs.push(input);
22478
22507
  } else {
22479
22508
  allOtherInputs.push(input);
@@ -22559,7 +22588,7 @@ var TemplateDefinitionBuilder = class {
22559
22588
  }
22560
22589
  }
22561
22590
  this.allocateBindingSlots(value);
22562
- if (inputType === 0) {
22591
+ if (inputType === 0 || inputType === 5) {
22563
22592
  if (value instanceof Interpolation) {
22564
22593
  this.interpolatedUpdateInstruction(getPropertyInterpolationExpression(value), elementIndex, attrName, input, value, params);
22565
22594
  } else {
@@ -23749,7 +23778,7 @@ function createClosureModeGuard2() {
23749
23778
  return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
23750
23779
  }
23751
23780
 
23752
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
23781
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
23753
23782
  var ATTR_REGEX = /attr\.([^\]]+)/;
23754
23783
  var COMPONENT_VARIABLE = "%COMP%";
23755
23784
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
@@ -23853,12 +23882,12 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
23853
23882
  }
23854
23883
  const templateTypeName = meta.name;
23855
23884
  const templateName = templateTypeName ? `${templateTypeName}_Template` : null;
23885
+ let allDeferrableDepsFn = null;
23886
+ if (meta.deferBlocks.size > 0 && meta.deferrableTypes.size > 0 && meta.deferBlockDepsEmitMode === 1) {
23887
+ const fnName = `${templateTypeName}_DeferFn`;
23888
+ allDeferrableDepsFn = createDeferredDepsFunction(constantPool, fnName, meta.deferrableTypes);
23889
+ }
23856
23890
  if (!USE_TEMPLATE_PIPELINE) {
23857
- let allDeferrableDepsFn = null;
23858
- if (meta.deferBlocks.size > 0 && meta.deferrableTypes.size > 0 && meta.deferBlockDepsEmitMode === 1) {
23859
- const fnName = `${templateTypeName}_DeferFn`;
23860
- allDeferrableDepsFn = createDeferredDepsFunction(constantPool, fnName, meta.deferrableTypes);
23861
- }
23862
23891
  const template2 = meta.template;
23863
23892
  const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.createRootScope(), 0, templateTypeName, null, null, templateName, Identifiers.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, /* @__PURE__ */ new Map(), allDeferrableDepsFn);
23864
23893
  const templateFunctionExpression = templateBuilder.buildTemplateFunction(template2.nodes, []);
@@ -23878,7 +23907,7 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
23878
23907
  }
23879
23908
  definitionMap.set("template", templateFunctionExpression);
23880
23909
  } else {
23881
- const tpl = ingestComponent(meta.name, meta.template.nodes, constantPool, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks);
23910
+ const tpl = ingestComponent(meta.name, meta.template.nodes, constantPool, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, allDeferrableDepsFn);
23882
23911
  transform(tpl, CompilationJobKind.Tmpl);
23883
23912
  const templateFn = emitTemplateFn(tpl, constantPool);
23884
23913
  if (tpl.contentSelectors !== null) {
@@ -24380,7 +24409,7 @@ function createHostDirectivesMappingArray(mapping) {
24380
24409
  return elements.length > 0 ? literalArr(elements) : null;
24381
24410
  }
24382
24411
 
24383
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
24412
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
24384
24413
  var R3TargetBinder = class {
24385
24414
  constructor(directiveMatcher) {
24386
24415
  this.directiveMatcher = directiveMatcher;
@@ -24997,11 +25026,11 @@ function extractScopedNodeEntities(rootScope) {
24997
25026
  return templateEntities;
24998
25027
  }
24999
25028
 
25000
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25029
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25001
25030
  var ResourceLoader = class {
25002
25031
  };
25003
25032
 
25004
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25033
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25005
25034
  var CompilerFacadeImpl = class {
25006
25035
  constructor(jitEvaluator = new JitEvaluator()) {
25007
25036
  this.jitEvaluator = jitEvaluator;
@@ -25574,17 +25603,17 @@ function publishFacade(global) {
25574
25603
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
25575
25604
  }
25576
25605
 
25577
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
25578
- var VERSION2 = new Version("17.1.1");
25606
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
25607
+ var VERSION2 = new Version("17.1.2");
25579
25608
 
25580
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
25609
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
25581
25610
  var _VisitorMode;
25582
25611
  (function(_VisitorMode2) {
25583
25612
  _VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
25584
25613
  _VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
25585
25614
  })(_VisitorMode || (_VisitorMode = {}));
25586
25615
 
25587
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
25616
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
25588
25617
  var XmlTagDefinition = class {
25589
25618
  constructor() {
25590
25619
  this.closedByParent = false;
@@ -25606,7 +25635,7 @@ var XmlTagDefinition = class {
25606
25635
  };
25607
25636
  var _TAG_DEFINITION = new XmlTagDefinition();
25608
25637
 
25609
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
25638
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
25610
25639
  var FactoryTarget2;
25611
25640
  (function(FactoryTarget3) {
25612
25641
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -25616,10 +25645,10 @@ var FactoryTarget2;
25616
25645
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
25617
25646
  })(FactoryTarget2 || (FactoryTarget2 = {}));
25618
25647
 
25619
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
25648
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
25620
25649
  publishFacade(_global);
25621
25650
 
25622
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
25651
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
25623
25652
  var import_typescript5 = __toESM(require("typescript"), 1);
25624
25653
  function lookupIdentifiersInSourceFile(sourceFile, names) {
25625
25654
  const results = /* @__PURE__ */ new Set();
@@ -25633,7 +25662,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
25633
25662
  return results;
25634
25663
  }
25635
25664
 
25636
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
25665
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
25637
25666
  var ngtemplate = "ng-template";
25638
25667
  var boundngifelse = "[ngIfElse]";
25639
25668
  var boundngifthenelse = "[ngIfThenElse]";
@@ -25966,7 +25995,7 @@ var TemplateCollector = class extends RecursiveVisitor {
25966
25995
  }
25967
25996
  };
25968
25997
 
25969
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
25998
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
25970
25999
  var import_path2 = require("path");
25971
26000
  var import_typescript6 = __toESM(require("typescript"), 1);
25972
26001
  var startMarkerRegex = new RegExp(startMarker, "gm");
@@ -26466,7 +26495,7 @@ function forEachClass(sourceFile, callback) {
26466
26495
  });
26467
26496
  }
26468
26497
 
26469
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
26498
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
26470
26499
  var boundcase = "[ngSwitchCase]";
26471
26500
  var switchcase = "*ngSwitchCase";
26472
26501
  var nakedcase = "ngSwitchCase";
@@ -26544,7 +26573,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
26544
26573
  return { tmpl: updatedTmpl, offsets: { pre, post } };
26545
26574
  }
26546
26575
 
26547
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
26576
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
26548
26577
  var ngfor = "*ngFor";
26549
26578
  var nakedngfor2 = "ngFor";
26550
26579
  var fors = [
@@ -26718,7 +26747,7 @@ function getNgForParts(expression) {
26718
26747
  return parts;
26719
26748
  }
26720
26749
 
26721
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
26750
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
26722
26751
  var ngif = "*ngIf";
26723
26752
  var boundngif = "[ngIf]";
26724
26753
  var nakedngif = "ngIf";
@@ -26871,7 +26900,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
26871
26900
  return { tmpl: updatedTmpl, offsets: { pre, post } };
26872
26901
  }
26873
26902
 
26874
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
26903
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
26875
26904
  var ngswitch = "[ngSwitch]";
26876
26905
  var switches = [
26877
26906
  ngswitch
@@ -26939,7 +26968,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
26939
26968
  return { tmpl: updatedTmpl, offsets: { pre, post } };
26940
26969
  }
26941
26970
 
26942
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
26971
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
26943
26972
  function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
26944
26973
  let errors = [];
26945
26974
  let migrated = template2;
@@ -26990,7 +27019,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
26990
27019
  return { migrated, errors };
26991
27020
  }
26992
27021
 
26993
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
27022
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
26994
27023
  function control_flow_migration_default(options) {
26995
27024
  return (tree, context) => __async(this, null, function* () {
26996
27025
  const basePath = process.cwd();
@@ -27009,7 +27038,7 @@ function control_flow_migration_default(options) {
27009
27038
  errors = [...errors, ...migrateErrors];
27010
27039
  }
27011
27040
  if (errors.length > 0) {
27012
- context.logger.warn(`WARNING: ${errors.length} errors occured during your migration:
27041
+ context.logger.warn(`WARNING: ${errors.length} errors occurred during your migration:
27013
27042
  `);
27014
27043
  errors.forEach((err) => {
27015
27044
  context.logger.warn(err);