@angular/core 17.2.0-next.0 → 17.2.0-next.1

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 (63) hide show
  1. package/esm2022/primitives/signals/index.mjs +2 -2
  2. package/esm2022/src/application/application_init.mjs +2 -2
  3. package/esm2022/src/application/application_ref.mjs +2 -2
  4. package/esm2022/src/application/application_tokens.mjs +10 -9
  5. package/esm2022/src/authoring/input.mjs +1 -1
  6. package/esm2022/src/authoring/input_signal.mjs +4 -1
  7. package/esm2022/src/authoring/input_type_checking.mjs +1 -1
  8. package/esm2022/src/authoring/queries.mjs +8 -7
  9. package/esm2022/src/authoring.mjs +1 -1
  10. package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +51 -18
  11. package/esm2022/src/core_private_export.mjs +2 -2
  12. package/esm2022/src/defer/instructions.mjs +4 -2
  13. package/esm2022/src/di/forward_ref.mjs +1 -1
  14. package/esm2022/src/di/initializer_token.mjs +2 -2
  15. package/esm2022/src/di/injector.mjs +4 -4
  16. package/esm2022/src/di/injector_token.mjs +2 -2
  17. package/esm2022/src/di/internal_tokens.mjs +2 -2
  18. package/esm2022/src/di/scope.mjs +2 -2
  19. package/esm2022/src/hydration/error_handling.mjs +17 -6
  20. package/esm2022/src/hydration/utils.mjs +54 -8
  21. package/esm2022/src/i18n/tokens.mjs +5 -5
  22. package/esm2022/src/linker/compiler.mjs +2 -2
  23. package/esm2022/src/linker/query_list.mjs +7 -1
  24. package/esm2022/src/metadata/di.mjs +1 -1
  25. package/esm2022/src/platform/platform.mjs +2 -2
  26. package/esm2022/src/platform/platform_ref.mjs +2 -2
  27. package/esm2022/src/render3/component_ref.mjs +1 -1
  28. package/esm2022/src/render3/instructions/all.mjs +2 -1
  29. package/esm2022/src/render3/instructions/element.mjs +3 -3
  30. package/esm2022/src/render3/instructions/queries.mjs +6 -40
  31. package/esm2022/src/render3/instructions/queries_signals.mjs +55 -0
  32. package/esm2022/src/render3/instructions/write_to_directive_input.mjs +1 -1
  33. package/esm2022/src/render3/query.mjs +46 -7
  34. package/esm2022/src/render3/query_reactive.mjs +110 -0
  35. package/esm2022/src/render3/reactivity/computed.mjs +4 -1
  36. package/esm2022/src/render3/reactivity/signal.mjs +4 -1
  37. package/esm2022/src/util/ng_dev_mode.mjs +11 -3
  38. package/esm2022/src/version.mjs +1 -1
  39. package/esm2022/testing/src/component_fixture.mjs +128 -93
  40. package/esm2022/testing/src/logger.mjs +3 -3
  41. package/esm2022/testing/src/test_bed.mjs +11 -6
  42. package/esm2022/testing/src/test_bed_common.mjs +9 -2
  43. package/esm2022/testing/src/test_bed_compiler.mjs +5 -4
  44. package/esm2022/testing/src/testing.mjs +2 -2
  45. package/fesm2022/core.mjs +359 -100
  46. package/fesm2022/core.mjs.map +1 -1
  47. package/fesm2022/primitives/signals.mjs +2 -2
  48. package/fesm2022/rxjs-interop.mjs +1 -1
  49. package/fesm2022/testing.mjs +143 -96
  50. package/fesm2022/testing.mjs.map +1 -1
  51. package/index.d.ts +120 -21
  52. package/package.json +1 -1
  53. package/primitives/signals/index.d.ts +3 -1
  54. package/rxjs-interop/index.d.ts +1 -1
  55. package/schematics/migrations/block-template-entities/bundle.js +242 -207
  56. package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
  57. package/schematics/migrations/compiler-options/bundle.js +13 -13
  58. package/schematics/migrations/transfer-state/bundle.js +13 -13
  59. package/schematics/ng-generate/control-flow-migration/bundle.js +252 -217
  60. package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
  61. package/schematics/ng-generate/standalone-migration/bundle.js +1942 -1675
  62. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  63. 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/migrations/block-template-entities/index.mjs
66
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/index.mjs
67
67
  var block_template_entities_exports = {};
68
68
  __export(block_template_entities_exports, {
69
69
  default: () => block_template_entities_default
@@ -72,7 +72,7 @@ module.exports = __toCommonJS(block_template_entities_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/project_tsconfig_paths.mjs
75
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
76
76
  var import_core = require("@angular-devkit/core");
77
77
  function getProjectTsConfigPaths(tree) {
78
78
  return __async(this, null, function* () {
@@ -152,11 +152,11 @@ function getWorkspace(tree) {
152
152
  });
153
153
  }
154
154
 
155
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
155
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
156
156
  var import_path = require("path");
157
157
  var import_typescript2 = __toESM(require("typescript"), 1);
158
158
 
159
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
159
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
160
160
  var path = __toESM(require("path"), 1);
161
161
  var import_typescript = __toESM(require("typescript"), 1);
162
162
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -173,7 +173,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
173
173
  return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
174
174
  }
175
175
 
176
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
176
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
177
177
  function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
178
178
  const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
179
179
  return import_typescript2.default.createProgram(rootNames, options, host);
@@ -206,7 +206,7 @@ function canMigrateFile(basePath, sourceFile, program) {
206
206
  return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
207
207
  }
208
208
 
209
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
209
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
210
210
  var _SELECTOR_REGEXP = new RegExp(
211
211
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
212
212
  "g"
@@ -514,7 +514,7 @@ var SelectorContext = class {
514
514
  }
515
515
  };
516
516
 
517
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
517
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
518
518
  var ViewEncapsulation;
519
519
  (function(ViewEncapsulation2) {
520
520
  ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
@@ -582,7 +582,7 @@ function parseSelectorToR3Selector(selector) {
582
582
  return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
583
583
  }
584
584
 
585
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
585
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
586
586
  var textEncoder;
587
587
  function computeDigest(message) {
588
588
  return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
@@ -822,7 +822,7 @@ function wordAt(bytes, index, endian) {
822
822
  return word;
823
823
  }
824
824
 
825
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
825
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
826
826
  var TypeModifier;
827
827
  (function(TypeModifier2) {
828
828
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -1781,7 +1781,7 @@ function serializeTags(tags) {
1781
1781
  return out;
1782
1782
  }
1783
1783
 
1784
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
1784
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
1785
1785
  var CONSTANT_PREFIX = "_c";
1786
1786
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
1787
1787
  var KEY_CONTEXT = {};
@@ -1964,7 +1964,7 @@ function isLongStringLiteral(expr) {
1964
1964
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
1965
1965
  }
1966
1966
 
1967
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
1967
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
1968
1968
  var CORE = "@angular/core";
1969
1969
  var _Identifiers = class {
1970
1970
  };
@@ -2618,7 +2618,7 @@ var Identifiers = _Identifiers;
2618
2618
  _Identifiers.UnwrapDirectiveSignalInputs = { name: "\u0275UnwrapDirectiveSignalInputs", moduleName: CORE };
2619
2619
  })();
2620
2620
 
2621
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
2621
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
2622
2622
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
2623
2623
  function dashCaseToCamelCase(input) {
2624
2624
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -2706,7 +2706,7 @@ function partitionArray(arr, conditionFn) {
2706
2706
  return [truthy, falsy];
2707
2707
  }
2708
2708
 
2709
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2709
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2710
2710
  var VERSION = 3;
2711
2711
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
2712
2712
  var SourceMapGenerator = class {
@@ -2835,7 +2835,7 @@ function toBase64Digit(value) {
2835
2835
  return B64_DIGITS[value];
2836
2836
  }
2837
2837
 
2838
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
2838
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
2839
2839
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
2840
2840
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
2841
2841
  var _INDENT_WITH = " ";
@@ -3323,7 +3323,7 @@ function _createIndent(count) {
3323
3323
  return res;
3324
3324
  }
3325
3325
 
3326
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
3326
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
3327
3327
  function typeWithParameters(type, numParams) {
3328
3328
  if (numParams === 0) {
3329
3329
  return expressionType(type);
@@ -3388,7 +3388,7 @@ function generateForwardRef(expr) {
3388
3388
  return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
3389
3389
  }
3390
3390
 
3391
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3391
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3392
3392
  var R3FactoryDelegateType;
3393
3393
  (function(R3FactoryDelegateType2) {
3394
3394
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -3533,7 +3533,7 @@ function getInjectFn(target) {
3533
3533
  }
3534
3534
  }
3535
3535
 
3536
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
3536
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
3537
3537
  var TagContentType;
3538
3538
  (function(TagContentType2) {
3539
3539
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -3570,7 +3570,7 @@ function mergeNsAndName(prefix, localName) {
3570
3570
  return prefix ? `:${prefix}:${localName}` : localName;
3571
3571
  }
3572
3572
 
3573
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3573
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3574
3574
  var Comment = class {
3575
3575
  constructor(value, sourceSpan) {
3576
3576
  this.value = value;
@@ -3951,7 +3951,7 @@ function visitAll(visitor, nodes) {
3951
3951
  return result;
3952
3952
  }
3953
3953
 
3954
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
3954
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
3955
3955
  var Message = class {
3956
3956
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
3957
3957
  this.nodes = nodes;
@@ -4089,7 +4089,7 @@ var LocalizeMessageStringVisitor = class {
4089
4089
  }
4090
4090
  };
4091
4091
 
4092
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4092
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4093
4093
  var _Visitor = class {
4094
4094
  visitTag(tag) {
4095
4095
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4117,12 +4117,12 @@ ${doctype.dtd}
4117
4117
  };
4118
4118
  var _visitor = new _Visitor();
4119
4119
 
4120
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4120
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4121
4121
  function toPublicName(internalName) {
4122
4122
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
4123
4123
  }
4124
4124
 
4125
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4125
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4126
4126
  var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
4127
4127
  var TRANSLATION_VAR_PREFIX = "i18n_";
4128
4128
  var I18N_ATTR = "i18n";
@@ -4224,7 +4224,7 @@ function declareI18nVariable(variable2) {
4224
4224
  return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
4225
4225
  }
4226
4226
 
4227
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4227
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4228
4228
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
4229
4229
  var TEMPORARY_NAME = "_t";
4230
4230
  var CONTEXT_NAME = "ctx";
@@ -4423,7 +4423,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
4423
4423
  }
4424
4424
  });
4425
4425
  elOrTpl.inputs.forEach((i) => {
4426
- if (i.type === 0) {
4426
+ if (i.type === 0 || i.type === 5) {
4427
4427
  attributesMap[i.name] = "";
4428
4428
  }
4429
4429
  });
@@ -4468,7 +4468,7 @@ function getInstructionStatements(instructions) {
4468
4468
  return statements;
4469
4469
  }
4470
4470
 
4471
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4471
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4472
4472
  function compileInjectable(meta, resolveForwardRefs) {
4473
4473
  let result = null;
4474
4474
  const factoryMeta = {
@@ -4553,7 +4553,7 @@ function createFactoryFunction(type) {
4553
4553
  return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
4554
4554
  }
4555
4555
 
4556
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
4556
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
4557
4557
  var UNUSABLE_INTERPOLATION_REGEXPS = [
4558
4558
  /^\s*$/,
4559
4559
  /[<>]/,
@@ -4575,7 +4575,7 @@ function assertInterpolationSymbols(identifier, value) {
4575
4575
  }
4576
4576
  }
4577
4577
 
4578
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
4578
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
4579
4579
  var InterpolationConfig = class {
4580
4580
  static fromArray(markers) {
4581
4581
  if (!markers) {
@@ -4592,7 +4592,7 @@ var InterpolationConfig = class {
4592
4592
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
4593
4593
  var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
4594
4594
 
4595
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
4595
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
4596
4596
  var $EOF = 0;
4597
4597
  var $BSPACE = 8;
4598
4598
  var $TAB = 9;
@@ -4674,7 +4674,7 @@ function isQuote(code) {
4674
4674
  return code === $SQ || code === $DQ || code === $BT;
4675
4675
  }
4676
4676
 
4677
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
4677
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
4678
4678
  var ParseLocation = class {
4679
4679
  constructor(file, offset, line, col) {
4680
4680
  this.file = file;
@@ -4821,7 +4821,7 @@ function sanitizeIdentifier(name) {
4821
4821
  return name.replace(/\W/g, "_");
4822
4822
  }
4823
4823
 
4824
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
4824
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
4825
4825
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
4826
4826
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
4827
4827
  constructor() {
@@ -4914,7 +4914,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
4914
4914
  }
4915
4915
  };
4916
4916
 
4917
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
4917
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
4918
4918
  var policy;
4919
4919
  function getPolicy() {
4920
4920
  if (policy === void 0) {
@@ -4952,7 +4952,7 @@ function newTrustedFunctionForJIT(...args) {
4952
4952
  return fn2.bind(_global);
4953
4953
  }
4954
4954
 
4955
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
4955
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
4956
4956
  var JitEvaluator = class {
4957
4957
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
4958
4958
  const converter = new JitEmitterVisitor(refResolver);
@@ -5043,7 +5043,7 @@ function isUseStrictStatement(statement) {
5043
5043
  return statement.isEquivalent(literal("use strict").toStmt());
5044
5044
  }
5045
5045
 
5046
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5046
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5047
5047
  function compileInjector(meta) {
5048
5048
  const definitionMap = new DefinitionMap();
5049
5049
  if (meta.providers !== null) {
@@ -5060,7 +5060,7 @@ function createInjectorType(meta) {
5060
5060
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
5061
5061
  }
5062
5062
 
5063
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5063
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5064
5064
  var R3JitReflector = class {
5065
5065
  constructor(context) {
5066
5066
  this.context = context;
@@ -5076,7 +5076,7 @@ var R3JitReflector = class {
5076
5076
  }
5077
5077
  };
5078
5078
 
5079
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5079
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5080
5080
  var R3SelectorScopeMode;
5081
5081
  (function(R3SelectorScopeMode2) {
5082
5082
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -5217,7 +5217,7 @@ function tupleOfTypes(types) {
5217
5217
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
5218
5218
  }
5219
5219
 
5220
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5220
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5221
5221
  function compilePipeFromMetadata(metadata) {
5222
5222
  const definitionMapValues = [];
5223
5223
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -5238,7 +5238,7 @@ function createPipeType(metadata) {
5238
5238
  ]));
5239
5239
  }
5240
5240
 
5241
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5241
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5242
5242
  var R3TemplateDependencyKind;
5243
5243
  (function(R3TemplateDependencyKind2) {
5244
5244
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -5246,7 +5246,7 @@ var R3TemplateDependencyKind;
5246
5246
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
5247
5247
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
5248
5248
 
5249
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5249
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5250
5250
  var ParserError = class {
5251
5251
  constructor(message, input, errLocation, ctxLocation) {
5252
5252
  this.input = input;
@@ -5878,6 +5878,7 @@ var ParsedPropertyType;
5878
5878
  ParsedPropertyType2[ParsedPropertyType2["DEFAULT"] = 0] = "DEFAULT";
5879
5879
  ParsedPropertyType2[ParsedPropertyType2["LITERAL_ATTR"] = 1] = "LITERAL_ATTR";
5880
5880
  ParsedPropertyType2[ParsedPropertyType2["ANIMATION"] = 2] = "ANIMATION";
5881
+ ParsedPropertyType2[ParsedPropertyType2["TWO_WAY"] = 3] = "TWO_WAY";
5881
5882
  })(ParsedPropertyType || (ParsedPropertyType = {}));
5882
5883
  var ParsedEvent = class {
5883
5884
  constructor(name, targetOrPhase, type, handler, sourceSpan, handlerSpan, keySpan) {
@@ -5912,7 +5913,7 @@ var BoundElementProperty = class {
5912
5913
  }
5913
5914
  };
5914
5915
 
5915
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
5916
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
5916
5917
  var _EventHandlerVars = class {
5917
5918
  };
5918
5919
  var EventHandlerVars = _EventHandlerVars;
@@ -6553,7 +6554,7 @@ var BuiltinFunctionCall = class extends Call {
6553
6554
  }
6554
6555
  };
6555
6556
 
6556
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6557
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6557
6558
  var _SECURITY_SCHEMA;
6558
6559
  function SECURITY_SCHEMA() {
6559
6560
  if (!_SECURITY_SCHEMA) {
@@ -6611,7 +6612,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
6611
6612
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
6612
6613
  }
6613
6614
 
6614
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
6615
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
6615
6616
  var animationKeywords = /* @__PURE__ */ new Set([
6616
6617
  "inherit",
6617
6618
  "initial",
@@ -7083,7 +7084,7 @@ function repeatGroups(groups, multiples) {
7083
7084
  }
7084
7085
  }
7085
7086
 
7086
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7087
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7087
7088
  var OpKind;
7088
7089
  (function(OpKind2) {
7089
7090
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -7242,7 +7243,7 @@ var TemplateKind;
7242
7243
  TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
7243
7244
  })(TemplateKind || (TemplateKind = {}));
7244
7245
 
7245
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7246
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7246
7247
  var ConsumesSlot = Symbol("ConsumesSlot");
7247
7248
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
7248
7249
  var ConsumesVarsTrait = Symbol("ConsumesVars");
@@ -7274,7 +7275,7 @@ function hasUsesVarOffsetTrait(expr) {
7274
7275
  return expr[UsesVarOffset] === true;
7275
7276
  }
7276
7277
 
7277
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7278
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7278
7279
  function createStatementOp(statement) {
7279
7280
  return __spreadValues({
7280
7281
  kind: OpKind.Statement,
@@ -7296,7 +7297,7 @@ var NEW_OP = {
7296
7297
  next: null
7297
7298
  };
7298
7299
 
7299
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
7300
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
7300
7301
  function createInterpolateTextOp(xref, interpolation, sourceSpan) {
7301
7302
  return __spreadValues(__spreadValues(__spreadValues({
7302
7303
  kind: OpKind.InterpolateText,
@@ -7462,7 +7463,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
7462
7463
  }, NEW_OP);
7463
7464
  }
7464
7465
 
7465
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7466
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7466
7467
  var _a;
7467
7468
  var _b;
7468
7469
  var _c;
@@ -8294,7 +8295,7 @@ function isStringLiteral(expr) {
8294
8295
  return expr instanceof LiteralExpr && typeof expr.value === "string";
8295
8296
  }
8296
8297
 
8297
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
8298
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
8298
8299
  var _OpList = class {
8299
8300
  constructor() {
8300
8301
  this.debugListId = _OpList.nextListId++;
@@ -8485,14 +8486,14 @@ var OpList = _OpList;
8485
8486
  _OpList.nextListId = 0;
8486
8487
  })();
8487
8488
 
8488
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
8489
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
8489
8490
  var SlotHandle = class {
8490
8491
  constructor() {
8491
8492
  this.slot = null;
8492
8493
  }
8493
8494
  };
8494
8495
 
8495
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8496
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8496
8497
  var elementContainerOpKinds = /* @__PURE__ */ new Set([
8497
8498
  OpKind.Element,
8498
8499
  OpKind.ElementStart,
@@ -8661,7 +8662,7 @@ function createExtractedAttributeOp(target, bindingKind, namespace, name, expres
8661
8662
  trustedValueFn: null
8662
8663
  }, NEW_OP);
8663
8664
  }
8664
- function createDeferOp(xref, main, mainSlot, metadata, sourceSpan) {
8665
+ function createDeferOp(xref, main, mainSlot, metadata, resolverFn, sourceSpan) {
8665
8666
  return __spreadProps(__spreadValues(__spreadValues({
8666
8667
  kind: OpKind.Defer,
8667
8668
  xref,
@@ -8680,7 +8681,7 @@ function createDeferOp(xref, main, mainSlot, metadata, sourceSpan) {
8680
8681
  errorView: null,
8681
8682
  errorSlot: null,
8682
8683
  metadata,
8683
- resolverFn: null,
8684
+ resolverFn,
8684
8685
  sourceSpan
8685
8686
  }, NEW_OP), TRAIT_CONSUMES_SLOT), {
8686
8687
  numSlotsUsed: 2
@@ -8779,7 +8780,7 @@ function createI18nAttributesOp(xref, handle, target) {
8779
8780
  }, NEW_OP), TRAIT_CONSUMES_SLOT);
8780
8781
  }
8781
8782
 
8782
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
8783
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
8783
8784
  function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
8784
8785
  return __spreadValues(__spreadValues({
8785
8786
  kind: OpKind.HostProperty,
@@ -8793,10 +8794,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
8793
8794
  }, TRAIT_CONSUMES_VARS), NEW_OP);
8794
8795
  }
8795
8796
 
8796
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
8797
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
8797
8798
  var CTX_REF = "CTX_REF_MARKER";
8798
8799
 
8799
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
8800
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
8800
8801
  var CompilationJobKind;
8801
8802
  (function(CompilationJobKind2) {
8802
8803
  CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
@@ -8816,11 +8817,12 @@ var CompilationJob = class {
8816
8817
  }
8817
8818
  };
8818
8819
  var ComponentCompilationJob = class extends CompilationJob {
8819
- constructor(componentName, pool, compatibility, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
8820
+ constructor(componentName, pool, compatibility, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn) {
8820
8821
  super(componentName, pool, compatibility);
8821
8822
  this.relativeContextFilePath = relativeContextFilePath;
8822
8823
  this.i18nUseExternalIds = i18nUseExternalIds;
8823
8824
  this.deferBlocksMeta = deferBlocksMeta;
8825
+ this.allDeferrableDepsFn = allDeferrableDepsFn;
8824
8826
  this.kind = CompilationJobKind.Tmpl;
8825
8827
  this.fnSuffix = "Template";
8826
8828
  this.views = /* @__PURE__ */ new Map();
@@ -8903,7 +8905,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
8903
8905
  }
8904
8906
  };
8905
8907
 
8906
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
8908
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
8907
8909
  function deleteAnyCasts(job) {
8908
8910
  for (const unit of job.units) {
8909
8911
  for (const op of unit.ops()) {
@@ -8921,7 +8923,7 @@ function removeAnys(e) {
8921
8923
  return e;
8922
8924
  }
8923
8925
 
8924
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
8926
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
8925
8927
  function applyI18nExpressions(job) {
8926
8928
  const i18nContexts = /* @__PURE__ */ new Map();
8927
8929
  for (const unit of job.units) {
@@ -8964,7 +8966,7 @@ function needsApplication(i18nContexts, op) {
8964
8966
  return false;
8965
8967
  }
8966
8968
 
8967
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
8969
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
8968
8970
  function assignI18nSlotDependencies(job) {
8969
8971
  for (const unit of job.units) {
8970
8972
  let updateOp = unit.update.head;
@@ -9009,7 +9011,7 @@ function assignI18nSlotDependencies(job) {
9009
9011
  }
9010
9012
  }
9011
9013
 
9012
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
9014
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
9013
9015
  function createOpXrefMap(unit) {
9014
9016
  const map = /* @__PURE__ */ new Map();
9015
9017
  for (const op of unit.create) {
@@ -9024,7 +9026,7 @@ function createOpXrefMap(unit) {
9024
9026
  return map;
9025
9027
  }
9026
9028
 
9027
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
9029
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
9028
9030
  function extractAttributes(job) {
9029
9031
  for (const unit of job.units) {
9030
9032
  const elements = createOpXrefMap(unit);
@@ -9126,7 +9128,7 @@ function extractAttributeOp(unit, op, elements) {
9126
9128
  }
9127
9129
  }
9128
9130
 
9129
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
9131
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
9130
9132
  function lookupElement2(elements, xref) {
9131
9133
  const el = elements.get(xref);
9132
9134
  if (el === void 0) {
@@ -9177,7 +9179,7 @@ function specializeBindings(job) {
9177
9179
  }
9178
9180
  }
9179
9181
 
9180
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9182
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9181
9183
  var CHAINABLE = /* @__PURE__ */ new Set([
9182
9184
  Identifiers.attribute,
9183
9185
  Identifiers.classProp,
@@ -9243,7 +9245,7 @@ function chainOperationsInList(opList) {
9243
9245
  }
9244
9246
  }
9245
9247
 
9246
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
9248
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
9247
9249
  function collapseSingletonInterpolations(job) {
9248
9250
  for (const unit of job.units) {
9249
9251
  for (const op of unit.update) {
@@ -9255,7 +9257,7 @@ function collapseSingletonInterpolations(job) {
9255
9257
  }
9256
9258
  }
9257
9259
 
9258
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
9260
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
9259
9261
  function generateConditionalExpressions(job) {
9260
9262
  for (const unit of job.units) {
9261
9263
  for (const op of unit.ops()) {
@@ -9292,7 +9294,7 @@ function generateConditionalExpressions(job) {
9292
9294
  }
9293
9295
  }
9294
9296
 
9295
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9297
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9296
9298
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
9297
9299
  ["&&", BinaryOperator.And],
9298
9300
  [">", BinaryOperator.Bigger],
@@ -9343,7 +9345,7 @@ function literalOrArrayLiteral(value) {
9343
9345
  return literal(value);
9344
9346
  }
9345
9347
 
9346
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
9348
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
9347
9349
  function collectElementConsts(job) {
9348
9350
  const allElementAttributes = /* @__PURE__ */ new Map();
9349
9351
  for (const unit of job.units) {
@@ -9505,7 +9507,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
9505
9507
  return literalArr(attrArray);
9506
9508
  }
9507
9509
 
9508
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
9510
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
9509
9511
  function convertI18nBindings(job) {
9510
9512
  const i18nAttributesByElem = /* @__PURE__ */ new Map();
9511
9513
  for (const unit of job.units) {
@@ -9546,14 +9548,18 @@ function convertI18nBindings(job) {
9546
9548
  }
9547
9549
  }
9548
9550
 
9549
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
9551
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
9550
9552
  function createDeferDepsFns(job) {
9553
+ var _a2;
9551
9554
  for (const unit of job.units) {
9552
9555
  for (const op of unit.create) {
9553
9556
  if (op.kind === OpKind.Defer) {
9554
9557
  if (op.metadata.deps.length === 0) {
9555
9558
  continue;
9556
9559
  }
9560
+ if (op.resolverFn !== null) {
9561
+ continue;
9562
+ }
9557
9563
  const dependencies = [];
9558
9564
  for (const dep of op.metadata.deps) {
9559
9565
  if (dep.isDeferrable) {
@@ -9568,9 +9574,10 @@ function createDeferDepsFns(job) {
9568
9574
  if (op.handle.slot === null) {
9569
9575
  throw new Error("AssertionError: slot must be assigned bfore extracting defer deps functions");
9570
9576
  }
9577
+ const fullPathName = (_a2 = unit.fnName) == null ? void 0 : _a2.replace(`_Template`, ``);
9571
9578
  op.resolverFn = job.pool.getSharedFunctionReference(
9572
9579
  depsFnExpr,
9573
- `${job.componentName}_Defer_${op.handle.slot}_DepsFn`,
9580
+ `${fullPathName}_Defer_${op.handle.slot}_DepsFn`,
9574
9581
  false
9575
9582
  );
9576
9583
  }
@@ -9578,7 +9585,7 @@ function createDeferDepsFns(job) {
9578
9585
  }
9579
9586
  }
9580
9587
 
9581
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
9588
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
9582
9589
  function createI18nContexts(job) {
9583
9590
  const attrContextByMessage = /* @__PURE__ */ new Map();
9584
9591
  for (const unit of job.units) {
@@ -9656,7 +9663,7 @@ function createI18nContexts(job) {
9656
9663
  }
9657
9664
  }
9658
9665
 
9659
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
9666
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
9660
9667
  function deduplicateTextBindings(job) {
9661
9668
  const seen = /* @__PURE__ */ new Map();
9662
9669
  for (const unit of job.units) {
@@ -9678,7 +9685,7 @@ function deduplicateTextBindings(job) {
9678
9685
  }
9679
9686
  }
9680
9687
 
9681
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
9688
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
9682
9689
  function configureDeferInstructions(job) {
9683
9690
  for (const unit of job.units) {
9684
9691
  for (const op of unit.create) {
@@ -9695,7 +9702,7 @@ function configureDeferInstructions(job) {
9695
9702
  }
9696
9703
  }
9697
9704
 
9698
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
9705
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
9699
9706
  function resolveDeferTargetNames(job) {
9700
9707
  const scopes = /* @__PURE__ */ new Map();
9701
9708
  function getScopeForView2(view) {
@@ -9789,7 +9796,7 @@ var Scope = class {
9789
9796
  }
9790
9797
  };
9791
9798
 
9792
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
9799
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
9793
9800
  var REPLACEMENTS = /* @__PURE__ */ new Map([
9794
9801
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
9795
9802
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
@@ -9816,7 +9823,7 @@ function collapseEmptyInstructions(job) {
9816
9823
  }
9817
9824
  }
9818
9825
 
9819
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
9826
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
9820
9827
  function expandSafeReads(job) {
9821
9828
  for (const unit of job.units) {
9822
9829
  for (const op of unit.ops()) {
@@ -9952,7 +9959,7 @@ function ternaryTransform(e) {
9952
9959
  return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
9953
9960
  }
9954
9961
 
9955
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
9962
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
9956
9963
  var ESCAPE = "\uFFFD";
9957
9964
  var ELEMENT_MARKER = "#";
9958
9965
  var TEMPLATE_MARKER = "*";
@@ -10088,7 +10095,7 @@ function formatValue(value) {
10088
10095
  return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
10089
10096
  }
10090
10097
 
10091
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
10098
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
10092
10099
  function generateAdvance(job) {
10093
10100
  for (const unit of job.units) {
10094
10101
  const slotMap = /* @__PURE__ */ new Map();
@@ -10120,7 +10127,7 @@ function generateAdvance(job) {
10120
10127
  }
10121
10128
  }
10122
10129
 
10123
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
10130
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
10124
10131
  function generateProjectionDefs(job) {
10125
10132
  const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
10126
10133
  const selectors = [];
@@ -10144,7 +10151,7 @@ function generateProjectionDefs(job) {
10144
10151
  }
10145
10152
  }
10146
10153
 
10147
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
10154
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
10148
10155
  function generateVariables(job) {
10149
10156
  recursivelyProcessView(job.root, null);
10150
10157
  }
@@ -10237,7 +10244,7 @@ function generateVariablesInScopeForView(view, scope) {
10237
10244
  return newOps;
10238
10245
  }
10239
10246
 
10240
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
10247
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
10241
10248
  function collectConstExpressions(job) {
10242
10249
  for (const unit of job.units) {
10243
10250
  for (const op of unit.ops()) {
@@ -10251,7 +10258,7 @@ function collectConstExpressions(job) {
10251
10258
  }
10252
10259
  }
10253
10260
 
10254
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
10261
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
10255
10262
  var STYLE_DOT = "style.";
10256
10263
  var CLASS_DOT = "class.";
10257
10264
  var STYLE_BANG = "style!";
@@ -10309,7 +10316,7 @@ function parseProperty(name) {
10309
10316
  return { property: property2, suffix };
10310
10317
  }
10311
10318
 
10312
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
10319
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
10313
10320
  function mapLiteral(obj, quoted = false) {
10314
10321
  return literalMap(Object.keys(obj).map((key) => ({
10315
10322
  key,
@@ -10318,7 +10325,7 @@ function mapLiteral(obj, quoted = false) {
10318
10325
  })));
10319
10326
  }
10320
10327
 
10321
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
10328
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
10322
10329
  var IcuSerializerVisitor = class {
10323
10330
  visitText(text2) {
10324
10331
  return text2.value;
@@ -10352,7 +10359,7 @@ function serializeIcuNode(icu) {
10352
10359
  return icu.visit(serializer);
10353
10360
  }
10354
10361
 
10355
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
10362
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
10356
10363
  var TokenType;
10357
10364
  (function(TokenType2) {
10358
10365
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -10713,7 +10720,7 @@ function parseIntAutoRadix(text2) {
10713
10720
  return result;
10714
10721
  }
10715
10722
 
10716
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
10723
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
10717
10724
  var SplitInterpolation = class {
10718
10725
  constructor(strings, expressions, offsets) {
10719
10726
  this.strings = strings;
@@ -11607,7 +11614,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
11607
11614
  return offsetMap;
11608
11615
  }
11609
11616
 
11610
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
11617
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
11611
11618
  var NodeWithI18n = class {
11612
11619
  constructor(sourceSpan, i18n2) {
11613
11620
  this.sourceSpan = sourceSpan;
@@ -11759,11 +11766,11 @@ var RecursiveVisitor = class {
11759
11766
  }
11760
11767
  };
11761
11768
 
11762
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
11769
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
11763
11770
  var ElementSchemaRegistry = class {
11764
11771
  };
11765
11772
 
11766
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
11773
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
11767
11774
  var BOOLEAN = "boolean";
11768
11775
  var NUMBER = "number";
11769
11776
  var STRING = "string";
@@ -12116,7 +12123,7 @@ function _isPixelDimensionStyle(prop) {
12116
12123
  }
12117
12124
  }
12118
12125
 
12119
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12126
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12120
12127
  var HtmlTagDefinition = class {
12121
12128
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
12122
12129
  this.closedByChildren = {};
@@ -12234,7 +12241,7 @@ function getHtmlTagDefinition(tagName) {
12234
12241
  return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
12235
12242
  }
12236
12243
 
12237
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
12244
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
12238
12245
  var TAG_TO_PLACEHOLDER_NAMES = {
12239
12246
  "A": "LINK",
12240
12247
  "B": "BOLD_TEXT",
@@ -12356,7 +12363,7 @@ var PlaceholderRegistry = class {
12356
12363
  }
12357
12364
  };
12358
12365
 
12359
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
12366
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
12360
12367
  var _expParser = new Parser(new Lexer());
12361
12368
  function createI18nMessageFactory(interpolationConfig, containerBlocks) {
12362
12369
  const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
@@ -12535,14 +12542,14 @@ function extractPlaceholderName(input) {
12535
12542
  return input.split(_CUSTOM_PH_EXP)[2];
12536
12543
  }
12537
12544
 
12538
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
12545
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
12539
12546
  var I18nError = class extends ParseError {
12540
12547
  constructor(span, msg) {
12541
12548
  super(span, msg);
12542
12549
  }
12543
12550
  };
12544
12551
 
12545
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
12552
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
12546
12553
  var NAMED_ENTITIES = {
12547
12554
  "AElig": "\xC6",
12548
12555
  "AMP": "&",
@@ -14673,7 +14680,7 @@ var NAMED_ENTITIES = {
14673
14680
  var NGSP_UNICODE = "\uE500";
14674
14681
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
14675
14682
 
14676
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
14683
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
14677
14684
  var TokenError = class extends ParseError {
14678
14685
  constructor(errorMsg, tokenType, span) {
14679
14686
  super(span, errorMsg);
@@ -15594,7 +15601,7 @@ var CursorError = class {
15594
15601
  }
15595
15602
  };
15596
15603
 
15597
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
15604
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
15598
15605
  var TreeError = class extends ParseError {
15599
15606
  static create(elementName, span, msg) {
15600
15607
  return new TreeError(elementName, span, msg);
@@ -15978,7 +15985,7 @@ function decodeEntity(match, entity) {
15978
15985
  return match;
15979
15986
  }
15980
15987
 
15981
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15988
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15982
15989
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
15983
15990
  "iframe|srcdoc",
15984
15991
  "*|innerhtml",
@@ -15993,7 +16000,7 @@ function isTrustedTypesSink(tagName, propName) {
15993
16000
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
15994
16001
  }
15995
16002
 
15996
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
16003
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
15997
16004
  var setI18nRefs = (htmlNode, i18nNode) => {
15998
16005
  if (htmlNode instanceof NodeWithI18n) {
15999
16006
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -16150,7 +16157,7 @@ function i18nMetaToJSDoc(meta) {
16150
16157
  return jsDocComment(tags);
16151
16158
  }
16152
16159
 
16153
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16160
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16154
16161
  var GOOG_GET_MSG = "goog.getMsg";
16155
16162
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
16156
16163
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -16201,7 +16208,7 @@ function serializeI18nMessageForGetMsg(message) {
16201
16208
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
16202
16209
  }
16203
16210
 
16204
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16211
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16205
16212
  function createLocalizeStatements(variable2, message, params) {
16206
16213
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
16207
16214
  const sourceSpan = getSourceSpan(message);
@@ -16290,7 +16297,7 @@ function createEmptyMessagePart(location) {
16290
16297
  return new LiteralPiece("", new ParseSourceSpan(location, location));
16291
16298
  }
16292
16299
 
16293
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
16300
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
16294
16301
  var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
16295
16302
  var TRANSLATION_VAR_PREFIX2 = "i18n_";
16296
16303
  var I18N_ICU_MAPPING_PREFIX2 = "I18N_EXP_";
@@ -16451,7 +16458,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
16451
16458
  return variable(name);
16452
16459
  }
16453
16460
 
16454
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
16461
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
16455
16462
  function convertI18nText(job) {
16456
16463
  var _a2, _b2, _c2;
16457
16464
  for (const unit of job.units) {
@@ -16521,7 +16528,7 @@ function convertI18nText(job) {
16521
16528
  }
16522
16529
  }
16523
16530
 
16524
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
16531
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
16525
16532
  function liftLocalRefs(job) {
16526
16533
  for (const unit of job.units) {
16527
16534
  for (const op of unit.create) {
@@ -16551,7 +16558,7 @@ function serializeLocalRefs(refs) {
16551
16558
  return literalArr(constRefs);
16552
16559
  }
16553
16560
 
16554
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
16561
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
16555
16562
  function emitNamespaceChanges(job) {
16556
16563
  for (const unit of job.units) {
16557
16564
  let activeNamespace = Namespace.HTML;
@@ -16567,7 +16574,7 @@ function emitNamespaceChanges(job) {
16567
16574
  }
16568
16575
  }
16569
16576
 
16570
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
16577
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
16571
16578
  function parse(value) {
16572
16579
  const styles = [];
16573
16580
  let i = 0;
@@ -16628,7 +16635,7 @@ function hyphenate2(value) {
16628
16635
  }).toLowerCase();
16629
16636
  }
16630
16637
 
16631
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
16638
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
16632
16639
  function nameFunctionsAndVariables(job) {
16633
16640
  addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
16634
16641
  }
@@ -16748,7 +16755,7 @@ function stripImportant(name) {
16748
16755
  return name;
16749
16756
  }
16750
16757
 
16751
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
16758
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
16752
16759
  function mergeNextContextExpressions(job) {
16753
16760
  for (const unit of job.units) {
16754
16761
  for (const op of unit.create) {
@@ -16794,7 +16801,7 @@ function mergeNextContextsInOps(ops) {
16794
16801
  }
16795
16802
  }
16796
16803
 
16797
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
16804
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
16798
16805
  var CONTAINER_TAG = "ng-container";
16799
16806
  function generateNgContainerOps(job) {
16800
16807
  for (const unit of job.units) {
@@ -16811,7 +16818,7 @@ function generateNgContainerOps(job) {
16811
16818
  }
16812
16819
  }
16813
16820
 
16814
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
16821
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
16815
16822
  function lookupElement3(elements, xref) {
16816
16823
  const el = elements.get(xref);
16817
16824
  if (el === void 0) {
@@ -16841,7 +16848,7 @@ function disableBindings(job) {
16841
16848
  }
16842
16849
  }
16843
16850
 
16844
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
16851
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
16845
16852
  function generateNullishCoalesceExpressions(job) {
16846
16853
  for (const unit of job.units) {
16847
16854
  for (const op of unit.ops()) {
@@ -16857,7 +16864,7 @@ function generateNullishCoalesceExpressions(job) {
16857
16864
  }
16858
16865
  }
16859
16866
 
16860
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
16867
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
16861
16868
  function kindTest(kind) {
16862
16869
  return (op) => op.kind === kind;
16863
16870
  }
@@ -16939,7 +16946,7 @@ function keepLast(ops) {
16939
16946
  return ops.slice(ops.length - 1);
16940
16947
  }
16941
16948
 
16942
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
16949
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
16943
16950
  function parseExtractedStyles(job) {
16944
16951
  const elements = /* @__PURE__ */ new Map();
16945
16952
  for (const unit of job.units) {
@@ -16974,7 +16981,7 @@ function parseExtractedStyles(job) {
16974
16981
  }
16975
16982
  }
16976
16983
 
16977
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
16984
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
16978
16985
  function removeContentSelectors(job) {
16979
16986
  for (const unit of job.units) {
16980
16987
  const elements = createOpXrefMap(unit);
@@ -17001,7 +17008,7 @@ function lookupInXrefMap(map, xref) {
17001
17008
  return el;
17002
17009
  }
17003
17010
 
17004
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
17011
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
17005
17012
  function createPipes(job) {
17006
17013
  for (const unit of job.units) {
17007
17014
  processPipeBindingsInView(unit);
@@ -17049,7 +17056,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
17049
17056
  throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
17050
17057
  }
17051
17058
 
17052
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
17059
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
17053
17060
  function createVariadicPipes(job) {
17054
17061
  for (const unit of job.units) {
17055
17062
  for (const op of unit.update) {
@@ -17066,7 +17073,7 @@ function createVariadicPipes(job) {
17066
17073
  }
17067
17074
  }
17068
17075
 
17069
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
17076
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
17070
17077
  function propagateI18nBlocks(job) {
17071
17078
  propagateI18nBlocksToTemplates(job.root, 0);
17072
17079
  }
@@ -17120,7 +17127,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
17120
17127
  }
17121
17128
  }
17122
17129
 
17123
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
17130
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
17124
17131
  function extractPureFunctions(job) {
17125
17132
  for (const view of job.units) {
17126
17133
  for (const op of view.ops()) {
@@ -17162,7 +17169,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
17162
17169
  }
17163
17170
  };
17164
17171
 
17165
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
17172
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
17166
17173
  function generatePureLiteralStructures(job) {
17167
17174
  for (const unit of job.units) {
17168
17175
  for (const op of unit.update) {
@@ -17209,7 +17216,7 @@ function transformLiteralMap(expr) {
17209
17216
  return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
17210
17217
  }
17211
17218
 
17212
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
17219
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
17213
17220
  function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
17214
17221
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
17215
17222
  }
@@ -17731,7 +17738,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
17731
17738
  return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
17732
17739
  }
17733
17740
 
17734
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
17741
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
17735
17742
  var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
17736
17743
  ["window", Identifiers.resolveWindow],
17737
17744
  ["document", Identifiers.resolveDocument],
@@ -18064,7 +18071,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
18064
18071
  return fn(params, handlerStmts, void 0, void 0, name);
18065
18072
  }
18066
18073
 
18067
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
18074
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
18068
18075
  function removeEmptyBindings(job) {
18069
18076
  for (const unit of job.units) {
18070
18077
  for (const op of unit.update) {
@@ -18085,7 +18092,7 @@ function removeEmptyBindings(job) {
18085
18092
  }
18086
18093
  }
18087
18094
 
18088
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
18095
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
18089
18096
  function removeI18nContexts(job) {
18090
18097
  for (const unit of job.units) {
18091
18098
  for (const op of unit.create) {
@@ -18101,7 +18108,7 @@ function removeI18nContexts(job) {
18101
18108
  }
18102
18109
  }
18103
18110
 
18104
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
18111
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
18105
18112
  function removeUnusedI18nAttributesOps(job) {
18106
18113
  for (const unit of job.units) {
18107
18114
  const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
@@ -18123,7 +18130,7 @@ function removeUnusedI18nAttributesOps(job) {
18123
18130
  }
18124
18131
  }
18125
18132
 
18126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
18133
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
18127
18134
  function resolveContexts(job) {
18128
18135
  for (const unit of job.units) {
18129
18136
  processLexicalScope(unit, unit.create);
@@ -18164,7 +18171,7 @@ function processLexicalScope(view, ops) {
18164
18171
  }
18165
18172
  }
18166
18173
 
18167
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
18174
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
18168
18175
  function resolveDollarEvent(job) {
18169
18176
  for (const unit of job.units) {
18170
18177
  transformDollarEvent(unit, unit.create);
@@ -18185,7 +18192,7 @@ function transformDollarEvent(unit, ops) {
18185
18192
  }
18186
18193
  }
18187
18194
 
18188
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
18195
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
18189
18196
  function resolveI18nElementPlaceholders(job) {
18190
18197
  const i18nContexts = /* @__PURE__ */ new Map();
18191
18198
  const elements = /* @__PURE__ */ new Map();
@@ -18364,7 +18371,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
18364
18371
  params.set(placeholder, values);
18365
18372
  }
18366
18373
 
18367
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
18374
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
18368
18375
  function resolveI18nExpressionPlaceholders(job) {
18369
18376
  var _a2;
18370
18377
  const subTemplateIndicies = /* @__PURE__ */ new Map();
@@ -18417,7 +18424,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
18417
18424
  }
18418
18425
  }
18419
18426
 
18420
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
18427
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
18421
18428
  function resolveNames(job) {
18422
18429
  for (const unit of job.units) {
18423
18430
  processLexicalScope2(unit, unit.create, null);
@@ -18481,7 +18488,7 @@ function processLexicalScope2(unit, ops, savedView) {
18481
18488
  }
18482
18489
  }
18483
18490
 
18484
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
18491
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
18485
18492
  var sanitizerFns = /* @__PURE__ */ new Map([
18486
18493
  [SecurityContext.HTML, Identifiers.sanitizeHtml],
18487
18494
  [SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
@@ -18551,7 +18558,7 @@ function getOnlySecurityContext(securityContext) {
18551
18558
  return securityContext;
18552
18559
  }
18553
18560
 
18554
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
18561
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
18555
18562
  function saveAndRestoreView(job) {
18556
18563
  for (const unit of job.units) {
18557
18564
  unit.create.prepend([
@@ -18596,7 +18603,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
18596
18603
  }
18597
18604
  }
18598
18605
 
18599
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
18606
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
18600
18607
  function allocateSlots(job) {
18601
18608
  const slotMap = /* @__PURE__ */ new Map();
18602
18609
  for (const unit of job.units) {
@@ -18621,7 +18628,7 @@ function allocateSlots(job) {
18621
18628
  }
18622
18629
  }
18623
18630
 
18624
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
18631
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
18625
18632
  function specializeStyleBindings(job) {
18626
18633
  for (const unit of job.units) {
18627
18634
  for (const op of unit.update) {
@@ -18651,7 +18658,7 @@ function specializeStyleBindings(job) {
18651
18658
  }
18652
18659
  }
18653
18660
 
18654
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
18661
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
18655
18662
  function generateTemporaryVariables(job) {
18656
18663
  for (const unit of job.units) {
18657
18664
  unit.create.prepend(generateTemporaries(unit.create));
@@ -18709,7 +18716,7 @@ function assignName(names, expr) {
18709
18716
  expr.name = name;
18710
18717
  }
18711
18718
 
18712
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
18719
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
18713
18720
  function generateTrackFns(job) {
18714
18721
  for (const unit of job.units) {
18715
18722
  for (const op of unit.create) {
@@ -18742,7 +18749,7 @@ function generateTrackFns(job) {
18742
18749
  }
18743
18750
  }
18744
18751
 
18745
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
18752
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
18746
18753
  function optimizeTrackFns(job) {
18747
18754
  for (const unit of job.units) {
18748
18755
  for (const op of unit.create) {
@@ -18789,7 +18796,7 @@ function isTrackByFunctionCall(rootView, expr) {
18789
18796
  return true;
18790
18797
  }
18791
18798
 
18792
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
18799
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
18793
18800
  function generateTrackVariables(job) {
18794
18801
  for (const unit of job.units) {
18795
18802
  for (const op of unit.create) {
@@ -18810,7 +18817,7 @@ function generateTrackVariables(job) {
18810
18817
  }
18811
18818
  }
18812
18819
 
18813
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
18820
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
18814
18821
  function countVariables(job) {
18815
18822
  for (const unit of job.units) {
18816
18823
  let varCount = 0;
@@ -18918,7 +18925,7 @@ function isSingletonInterpolation(expr) {
18918
18925
  return true;
18919
18926
  }
18920
18927
 
18921
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
18928
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
18922
18929
  function optimizeVariables(job) {
18923
18930
  for (const unit of job.units) {
18924
18931
  inlineAlwaysInlineVariables(unit.create);
@@ -19168,7 +19175,7 @@ function allowConservativeInlining(decl, target) {
19168
19175
  }
19169
19176
  }
19170
19177
 
19171
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
19178
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
19172
19179
  function wrapI18nIcus(job) {
19173
19180
  for (const unit of job.units) {
19174
19181
  let currentI18nOp = null;
@@ -19198,7 +19205,7 @@ function wrapI18nIcus(job) {
19198
19205
  }
19199
19206
  }
19200
19207
 
19201
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
19208
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
19202
19209
  var phases = [
19203
19210
  { kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
19204
19211
  { kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
@@ -19240,7 +19247,6 @@ var phases = [
19240
19247
  { kind: CompilationJobKind.Both, fn: expandSafeReads },
19241
19248
  { kind: CompilationJobKind.Both, fn: generateTemporaryVariables },
19242
19249
  { kind: CompilationJobKind.Tmpl, fn: allocateSlots },
19243
- { kind: CompilationJobKind.Tmpl, fn: createDeferDepsFns },
19244
19250
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
19245
19251
  { kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
19246
19252
  { kind: CompilationJobKind.Tmpl, fn: extractI18nMessages },
@@ -19253,6 +19259,7 @@ var phases = [
19253
19259
  { kind: CompilationJobKind.Tmpl, fn: generateAdvance },
19254
19260
  { kind: CompilationJobKind.Both, fn: optimizeVariables },
19255
19261
  { kind: CompilationJobKind.Both, fn: nameFunctionsAndVariables },
19262
+ { kind: CompilationJobKind.Tmpl, fn: createDeferDepsFns },
19256
19263
  { kind: CompilationJobKind.Tmpl, fn: mergeNextContextExpressions },
19257
19264
  { kind: CompilationJobKind.Tmpl, fn: generateNgContainerOps },
19258
19265
  { kind: CompilationJobKind.Tmpl, fn: collapseEmptyInstructions },
@@ -19363,12 +19370,12 @@ function emitHostBindingFunction(job) {
19363
19370
  );
19364
19371
  }
19365
19372
 
19366
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
19373
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
19367
19374
  var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
19368
19375
  var domSchema = new DomElementSchemaRegistry();
19369
19376
  var NG_TEMPLATE_TAG_NAME = "ng-template";
19370
- function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
19371
- const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta);
19377
+ function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn) {
19378
+ const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn);
19372
19379
  ingestNodes(job.root, template2);
19373
19380
  return job;
19374
19381
  }
@@ -19423,7 +19430,7 @@ function ingestHostAttribute(job, name, value, securityContexts) {
19423
19430
  job.root.update.push(attrBinding);
19424
19431
  }
19425
19432
  function ingestHostEvent(job, event) {
19426
- const [phase, target] = event.type === 0 ? [null, event.targetOrPhase] : [event.targetOrPhase, null];
19433
+ const [phase, target] = event.type !== 1 ? [null, event.targetOrPhase] : [event.targetOrPhase, null];
19427
19434
  const eventBinding = createListenerOp(job.root.xref, new SlotHandle(), event.name, null, makeListenerHandlerOps(job.root, event.handler, event.handlerSpan), phase, target, true, event.sourceSpan);
19428
19435
  job.root.create.push(eventBinding);
19429
19436
  }
@@ -19632,7 +19639,7 @@ function ingestDeferBlock(unit, deferBlock) {
19632
19639
  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);
19633
19640
  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);
19634
19641
  const deferXref = unit.job.allocateXrefId();
19635
- const deferOp = createDeferOp(deferXref, main.xref, main.handle, blockMeta, deferBlock.sourceSpan);
19642
+ const deferOp = createDeferOp(deferXref, main.xref, main.handle, blockMeta, unit.job.allDeferrableDepsFn, deferBlock.sourceSpan);
19636
19643
  deferOp.placeholderView = (_j = placeholder == null ? void 0 : placeholder.xref) != null ? _j : null;
19637
19644
  deferOp.placeholderSlot = (_k = placeholder == null ? void 0 : placeholder.handle) != null ? _k : null;
19638
19645
  deferOp.loadingSlot = (_l = loading == null ? void 0 : loading.handle) != null ? _l : null;
@@ -19890,6 +19897,7 @@ function convertAstWithInterpolation(job, value, i18nMeta, sourceSpan) {
19890
19897
  }
19891
19898
  var BINDING_KINDS = /* @__PURE__ */ new Map([
19892
19899
  [0, BindingKind.Property],
19900
+ [5, BindingKind.Property],
19893
19901
  [1, BindingKind.Attribute],
19894
19902
  [2, BindingKind.ClassName],
19895
19903
  [3, BindingKind.StyleProperty],
@@ -19968,7 +19976,7 @@ function ingestTemplateBindings(unit, op, template2, templateKind) {
19968
19976
  function createTemplateBinding(view, xref, type, name, value, unit, securityContext, isStructuralTemplateAttribute, templateKind, i18nMessage, sourceSpan) {
19969
19977
  const isTextBinding = typeof value === "string";
19970
19978
  if (templateKind === TemplateKind.Structural) {
19971
- if (!isStructuralTemplateAttribute && (type === 0 || type === 2 || type === 3)) {
19979
+ if (!isStructuralTemplateAttribute && (type === 0 || type === 5 || type === 2 || type === 3)) {
19972
19980
  return createExtractedAttributeOp(xref, BindingKind.Property, null, name, null, null, i18nMessage, securityContext);
19973
19981
  }
19974
19982
  if (!isTextBinding && (type === 1 || type === 4)) {
@@ -20046,10 +20054,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
20046
20054
  return null;
20047
20055
  }
20048
20056
 
20049
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
20057
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
20050
20058
  var USE_TEMPLATE_PIPELINE = false;
20051
20059
 
20052
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
20060
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
20053
20061
  var HtmlParser = class extends Parser2 {
20054
20062
  constructor() {
20055
20063
  super(getHtmlTagDefinition);
@@ -20059,7 +20067,7 @@ var HtmlParser = class extends Parser2 {
20059
20067
  }
20060
20068
  };
20061
20069
 
20062
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
20070
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
20063
20071
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
20064
20072
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
20065
20073
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -20125,7 +20133,7 @@ function visitAllWithSiblings(visitor, nodes) {
20125
20133
  return result;
20126
20134
  }
20127
20135
 
20128
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
20136
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
20129
20137
  var PROPERTY_PARTS_SEPARATOR = ".";
20130
20138
  var ATTRIBUTE_PREFIX = "attr";
20131
20139
  var CLASS_PREFIX = "class";
@@ -20151,6 +20159,7 @@ var BindingParser = class {
20151
20159
  propName,
20152
20160
  expression,
20153
20161
  true,
20162
+ false,
20154
20163
  sourceSpan,
20155
20164
  sourceSpan.start.offset,
20156
20165
  void 0,
@@ -20216,7 +20225,7 @@ var BindingParser = class {
20216
20225
  } else if (binding.value) {
20217
20226
  const srcSpan = isIvyAst ? bindingSpan : sourceSpan;
20218
20227
  const valueSpan = moveParseSourceSpan(sourceSpan, binding.value.ast.sourceSpan);
20219
- this._parsePropertyAst(key, binding.value, srcSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20228
+ this._parsePropertyAst(key, binding.value, false, srcSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20220
20229
  } else {
20221
20230
  targetMatchableAttrs.push([key, ""]);
20222
20231
  this.parseLiteralAttr(key, null, keySpan, absoluteValueOffset, void 0, targetMatchableAttrs, targetProps, keySpan);
@@ -20251,7 +20260,7 @@ var BindingParser = class {
20251
20260
  targetProps.push(new ParsedProperty(name, this._exprParser.wrapLiteralPrimitive(value, "", absoluteOffset), ParsedPropertyType.LITERAL_ATTR, sourceSpan, keySpan, valueSpan));
20252
20261
  }
20253
20262
  }
20254
- parsePropertyBinding(name, expression, isHost, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
20263
+ parsePropertyBinding(name, expression, isHost, isPartOfAssignmentBinding, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
20255
20264
  if (name.length === 0) {
20256
20265
  this._reportError(`Property name is missing in binding`, sourceSpan);
20257
20266
  }
@@ -20272,20 +20281,20 @@ var BindingParser = class {
20272
20281
  if (isAnimationProp) {
20273
20282
  this._parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20274
20283
  } else {
20275
- this._parsePropertyAst(name, this.parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20284
+ this._parsePropertyAst(name, this.parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), isPartOfAssignmentBinding, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20276
20285
  }
20277
20286
  }
20278
20287
  parsePropertyInterpolation(name, value, sourceSpan, valueSpan, targetMatchableAttrs, targetProps, keySpan, interpolatedTokens) {
20279
20288
  const expr = this.parseInterpolation(value, valueSpan || sourceSpan, interpolatedTokens);
20280
20289
  if (expr) {
20281
- this._parsePropertyAst(name, expr, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20290
+ this._parsePropertyAst(name, expr, false, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
20282
20291
  return true;
20283
20292
  }
20284
20293
  return false;
20285
20294
  }
20286
- _parsePropertyAst(name, ast, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
20295
+ _parsePropertyAst(name, ast, isPartOfAssignmentBinding, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
20287
20296
  targetMatchableAttrs.push([name, ast.source]);
20288
- targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan));
20297
+ targetProps.push(new ParsedProperty(name, ast, isPartOfAssignmentBinding ? ParsedPropertyType.TWO_WAY : ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan));
20289
20298
  }
20290
20299
  _parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
20291
20300
  if (name.length === 0) {
@@ -20345,7 +20354,7 @@ var BindingParser = class {
20345
20354
  const mappedPropName = this._schemaRegistry.getMappedPropName(boundProp.name);
20346
20355
  boundPropertyName = mapPropertyName ? mappedPropName : boundProp.name;
20347
20356
  securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, mappedPropName, false);
20348
- bindingType = 0;
20357
+ bindingType = boundProp.type === ParsedPropertyType.TWO_WAY ? 5 : 0;
20349
20358
  if (!skipValidation) {
20350
20359
  this._validatePropertyOrAttributeName(mappedPropName, boundProp.sourceSpan, false);
20351
20360
  }
@@ -20391,7 +20400,7 @@ var BindingParser = class {
20391
20400
  const [target, eventName] = splitAtColon(name, [null, name]);
20392
20401
  const ast = this._parseAction(expression, isAssignmentEvent, handlerSpan);
20393
20402
  targetMatchableAttrs.push([name, ast.source]);
20394
- targetEvents.push(new ParsedEvent(eventName, target, 0, ast, sourceSpan, handlerSpan, keySpan));
20403
+ targetEvents.push(new ParsedEvent(eventName, target, isAssignmentEvent ? 2 : 0, ast, sourceSpan, handlerSpan, keySpan));
20395
20404
  }
20396
20405
  _parseAction(value, isAssignmentEvent, sourceSpan) {
20397
20406
  const sourceInfo = (sourceSpan && sourceSpan.start || "(unknown").toString();
@@ -20445,7 +20454,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
20445
20454
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
20446
20455
  }
20447
20456
 
20448
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
20457
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
20449
20458
  function isStyleUrlResolvable(url) {
20450
20459
  if (url == null || url.length === 0 || url[0] == "/")
20451
20460
  return false;
@@ -20454,7 +20463,7 @@ function isStyleUrlResolvable(url) {
20454
20463
  }
20455
20464
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
20456
20465
 
20457
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
20466
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
20458
20467
  var NG_CONTENT_SELECT_ATTR = "select";
20459
20468
  var LINK_ELEMENT = "link";
20460
20469
  var LINK_STYLE_REL_ATTR = "rel";
@@ -20524,12 +20533,13 @@ function normalizeNgContentSelect(selectAttr) {
20524
20533
  return selectAttr;
20525
20534
  }
20526
20535
 
20527
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
20536
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
20528
20537
  var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
20529
20538
  var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
20530
- var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
20539
+ var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
20531
20540
  var ELSE_IF_PATTERN = /^else[^\S\r\n]+if/;
20532
20541
  var FOR_LOOP_LET_PATTERN = /^let\s+([\S\s]*)/;
20542
+ var CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN = /(\s*)(\S+)(\s*)/;
20533
20543
  var ALLOWED_FOR_LOOP_LET_VARIABLES = /* @__PURE__ */ new Set(["$index", "$first", "$last", "$even", "$odd", "$count"]);
20534
20544
  function isConnectedForLoopBlock(name) {
20535
20545
  return name === "empty";
@@ -20641,8 +20651,10 @@ function parseForLoopParameters(block, errors, bindingParser) {
20641
20651
  return null;
20642
20652
  }
20643
20653
  const [, itemName, rawExpression] = match;
20654
+ const variableName = expressionParam.expression.split(" ")[0];
20655
+ const variableSpan = new ParseSourceSpan(expressionParam.sourceSpan.start, expressionParam.sourceSpan.start.moveBy(variableName.length));
20644
20656
  const result = {
20645
- itemName: new Variable(itemName, "$implicit", expressionParam.sourceSpan, expressionParam.sourceSpan),
20657
+ itemName: new Variable(itemName, "$implicit", variableSpan, variableSpan),
20646
20658
  trackBy: null,
20647
20659
  expression: parseBlockParameterToBinding(expressionParam, bindingParser, rawExpression),
20648
20660
  context: {}
@@ -20650,7 +20662,8 @@ function parseForLoopParameters(block, errors, bindingParser) {
20650
20662
  for (const param of secondaryParams) {
20651
20663
  const letMatch = param.expression.match(FOR_LOOP_LET_PATTERN);
20652
20664
  if (letMatch !== null) {
20653
- parseLetParameter(param.sourceSpan, letMatch[1], param.sourceSpan, result.context, errors);
20665
+ const variablesSpan = new ParseSourceSpan(param.sourceSpan.start.moveBy(letMatch[0].length - letMatch[1].length), param.sourceSpan.end);
20666
+ parseLetParameter(param.sourceSpan, letMatch[1], variablesSpan, result.context, errors);
20654
20667
  continue;
20655
20668
  }
20656
20669
  const trackMatch = param.expression.match(FOR_LOOP_TRACK_PATTERN);
@@ -20666,16 +20679,18 @@ function parseForLoopParameters(block, errors, bindingParser) {
20666
20679
  }
20667
20680
  errors.push(new ParseError(param.sourceSpan, `Unrecognized @for loop paramater "${param.expression}"`));
20668
20681
  }
20669
- for (const variableName of ALLOWED_FOR_LOOP_LET_VARIABLES) {
20670
- if (!result.context.hasOwnProperty(variableName)) {
20682
+ for (const variableName2 of ALLOWED_FOR_LOOP_LET_VARIABLES) {
20683
+ if (!result.context.hasOwnProperty(variableName2)) {
20671
20684
  const emptySpanAfterForBlockStart = new ParseSourceSpan(block.startSourceSpan.end, block.startSourceSpan.end);
20672
- result.context[variableName] = new Variable(variableName, variableName, emptySpanAfterForBlockStart, emptySpanAfterForBlockStart);
20685
+ result.context[variableName2] = new Variable(variableName2, variableName2, emptySpanAfterForBlockStart, emptySpanAfterForBlockStart);
20673
20686
  }
20674
20687
  }
20675
20688
  return result;
20676
20689
  }
20677
20690
  function parseLetParameter(sourceSpan, expression, span, context, errors) {
20691
+ var _a2, _b2, _c2;
20678
20692
  const parts = expression.split(",");
20693
+ let startSpan = span.start;
20679
20694
  for (const part of parts) {
20680
20695
  const expressionParts = part.split("=");
20681
20696
  const name = expressionParts.length === 2 ? expressionParts[0].trim() : "";
@@ -20687,8 +20702,20 @@ function parseLetParameter(sourceSpan, expression, span, context, errors) {
20687
20702
  } else if (context.hasOwnProperty(variableName)) {
20688
20703
  errors.push(new ParseError(sourceSpan, `Duplicate "let" parameter variable "${variableName}"`));
20689
20704
  } else {
20690
- context[variableName] = new Variable(name, variableName, span, span);
20705
+ const [, keyLeadingWhitespace, keyName] = (_a2 = expressionParts[0].match(CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN)) != null ? _a2 : [];
20706
+ const keySpan = keyLeadingWhitespace !== void 0 && expressionParts.length === 2 ? new ParseSourceSpan(
20707
+ startSpan.moveBy(keyLeadingWhitespace.length),
20708
+ startSpan.moveBy(keyLeadingWhitespace.length + keyName.length)
20709
+ ) : span;
20710
+ let valueSpan = void 0;
20711
+ if (expressionParts.length === 2) {
20712
+ const [, valueLeadingWhitespace, implicit] = (_b2 = expressionParts[1].match(CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN)) != null ? _b2 : [];
20713
+ 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;
20714
+ }
20715
+ const sourceSpan2 = new ParseSourceSpan(keySpan.start, (_c2 = valueSpan == null ? void 0 : valueSpan.end) != null ? _c2 : keySpan.end);
20716
+ context[variableName] = new Variable(name, variableName, sourceSpan2, keySpan, valueSpan);
20691
20717
  }
20718
+ startSpan = startSpan.moveBy(part.length + 1);
20692
20719
  }
20693
20720
  }
20694
20721
  function validateIfConnectedBlocks(connectedBlocks) {
@@ -20768,8 +20795,10 @@ function parseConditionalBlockParameters(block, errors, bindingParser) {
20768
20795
  } else if (expressionAlias !== null) {
20769
20796
  errors.push(new ParseError(param.sourceSpan, 'Conditional can only have one "as" expression'));
20770
20797
  } else {
20771
- const name = aliasMatch[1].trim();
20772
- expressionAlias = new Variable(name, name, param.sourceSpan, param.sourceSpan);
20798
+ const name = aliasMatch[2].trim();
20799
+ const variableStart = param.sourceSpan.start.moveBy(aliasMatch[1].length);
20800
+ const variableSpan = new ParseSourceSpan(variableStart, variableStart.moveBy(name.length));
20801
+ expressionAlias = new Variable(name, name, variableSpan, variableSpan);
20773
20802
  }
20774
20803
  }
20775
20804
  return { expression, expressionAlias };
@@ -20815,7 +20844,7 @@ function stripOptionalParentheses(param, errors) {
20815
20844
  return expression.slice(start, end);
20816
20845
  }
20817
20846
 
20818
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
20847
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
20819
20848
  var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
20820
20849
  var SEPARATOR_PATTERN = /^\s$/;
20821
20850
  var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
@@ -21079,7 +21108,7 @@ function parseDeferredTime(value) {
21079
21108
  return parseFloat(time) * (units === "s" ? 1e3 : 1);
21080
21109
  }
21081
21110
 
21082
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
21111
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
21083
21112
  var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
21084
21113
  var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
21085
21114
  var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
@@ -21214,7 +21243,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
21214
21243
  return { triggers, prefetchTriggers };
21215
21244
  }
21216
21245
 
21217
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
21246
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
21218
21247
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
21219
21248
  var KW_BIND_IDX = 1;
21220
21249
  var KW_LET_IDX = 2;
@@ -21487,7 +21516,7 @@ var HtmlAstToIvyAst = class {
21487
21516
  if (bindParts[KW_BIND_IDX] != null) {
21488
21517
  const identifier = bindParts[IDENT_KW_IDX];
21489
21518
  const keySpan2 = createKeySpan(srcSpan, bindParts[KW_BIND_IDX], identifier);
21490
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21519
+ this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21491
21520
  } else if (bindParts[KW_LET_IDX]) {
21492
21521
  if (isTemplateElement) {
21493
21522
  const identifier = bindParts[IDENT_KW_IDX];
@@ -21509,7 +21538,7 @@ var HtmlAstToIvyAst = class {
21509
21538
  } else if (bindParts[KW_BINDON_IDX]) {
21510
21539
  const identifier = bindParts[IDENT_KW_IDX];
21511
21540
  const keySpan2 = createKeySpan(srcSpan, bindParts[KW_BINDON_IDX], identifier);
21512
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21541
+ this.bindingParser.parsePropertyBinding(identifier, value, false, true, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21513
21542
  this.parseAssignmentEvent(identifier, value, srcSpan, attribute2.valueSpan, matchableAttributes, boundEvents, keySpan2);
21514
21543
  } else if (bindParts[KW_AT_IDX]) {
21515
21544
  const keySpan2 = createKeySpan(srcSpan, "", name);
@@ -21529,10 +21558,10 @@ var HtmlAstToIvyAst = class {
21529
21558
  const identifier = name.substring(delims.start.length, name.length - delims.end.length);
21530
21559
  const keySpan2 = createKeySpan(srcSpan, delims.start, identifier);
21531
21560
  if (delims.start === BINDING_DELIMS.BANANA_BOX.start) {
21532
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21561
+ this.bindingParser.parsePropertyBinding(identifier, value, false, true, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21533
21562
  this.parseAssignmentEvent(identifier, value, srcSpan, attribute2.valueSpan, matchableAttributes, boundEvents, keySpan2);
21534
21563
  } else if (delims.start === BINDING_DELIMS.PROPERTY.start) {
21535
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21564
+ this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
21536
21565
  } else {
21537
21566
  const events = [];
21538
21567
  this.bindingParser.parseEvent(identifier, value, false, srcSpan, attribute2.valueSpan || srcSpan, matchableAttributes, events, keySpan2);
@@ -21645,7 +21674,7 @@ function textContents(node) {
21645
21674
  }
21646
21675
  }
21647
21676
 
21648
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
21677
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
21649
21678
  var TagType;
21650
21679
  (function(TagType2) {
21651
21680
  TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
@@ -21790,7 +21819,7 @@ function serializePlaceholderValue(value) {
21790
21819
  }
21791
21820
  }
21792
21821
 
21793
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
21822
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
21794
21823
  var IMPORTANT_FLAG = "!important";
21795
21824
  var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
21796
21825
  var StylingBuilder = class {
@@ -22123,7 +22152,7 @@ function isEmptyExpression(ast) {
22123
22152
  return ast instanceof EmptyExpr;
22124
22153
  }
22125
22154
 
22126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
22155
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
22127
22156
  var NG_CONTENT_SELECT_ATTR2 = "select";
22128
22157
  var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
22129
22158
  var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
@@ -22534,7 +22563,7 @@ var TemplateDefinitionBuilder = class {
22534
22563
  element2.inputs.forEach((input) => {
22535
22564
  const stylingInputWasSet = stylingBuilder.registerBoundInput(input);
22536
22565
  if (!stylingInputWasSet) {
22537
- if (input.type === 0 && input.i18n) {
22566
+ if ((input.type === 0 || input.type === 5) && input.i18n) {
22538
22567
  boundI18nAttrs.push(input);
22539
22568
  } else {
22540
22569
  allOtherInputs.push(input);
@@ -22620,7 +22649,7 @@ var TemplateDefinitionBuilder = class {
22620
22649
  }
22621
22650
  }
22622
22651
  this.allocateBindingSlots(value);
22623
- if (inputType === 0) {
22652
+ if (inputType === 0 || inputType === 5) {
22624
22653
  if (value instanceof Interpolation) {
22625
22654
  this.interpolatedUpdateInstruction(getPropertyInterpolationExpression(value), elementIndex, attrName, input, value, params);
22626
22655
  } else {
@@ -23810,7 +23839,7 @@ function createClosureModeGuard2() {
23810
23839
  return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
23811
23840
  }
23812
23841
 
23813
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
23842
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
23814
23843
  function toQueryFlags(query) {
23815
23844
  return (query.descendants ? 1 : 0) | (query.static ? 2 : 0) | (query.emitDistinctChangesOnly ? 4 : 0);
23816
23845
  }
@@ -23927,7 +23956,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
23927
23956
  ], INFERRED_TYPE, null, contentQueriesFnName);
23928
23957
  }
23929
23958
 
23930
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
23959
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
23931
23960
  var ATTR_REGEX = /attr\.([^\]]+)/;
23932
23961
  var COMPONENT_VARIABLE = "%COMP%";
23933
23962
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
@@ -24031,12 +24060,12 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
24031
24060
  }
24032
24061
  const templateTypeName = meta.name;
24033
24062
  const templateName = templateTypeName ? `${templateTypeName}_Template` : null;
24034
- if (!USE_TEMPLATE_PIPELINE) {
24035
- let allDeferrableDepsFn = null;
24036
- if (meta.deferBlocks.size > 0 && meta.deferrableTypes.size > 0 && meta.deferBlockDepsEmitMode === 1) {
24037
- const fnName = `${templateTypeName}_DeferFn`;
24038
- allDeferrableDepsFn = createDeferredDepsFunction(constantPool, fnName, meta.deferrableTypes);
24039
- }
24063
+ let allDeferrableDepsFn = null;
24064
+ if (meta.deferBlocks.size > 0 && meta.deferrableTypes.size > 0 && meta.deferBlockDepsEmitMode === 1) {
24065
+ const fnName = `${templateTypeName}_DeferFn`;
24066
+ allDeferrableDepsFn = createDeferredDepsFunction(constantPool, fnName, meta.deferrableTypes);
24067
+ }
24068
+ if (!USE_TEMPLATE_PIPELINE && !meta.useTemplatePipeline) {
24040
24069
  const template2 = meta.template;
24041
24070
  const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.createRootScope(), 0, templateTypeName, null, null, templateName, Identifiers.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, /* @__PURE__ */ new Map(), allDeferrableDepsFn);
24042
24071
  const templateFunctionExpression = templateBuilder.buildTemplateFunction(template2.nodes, []);
@@ -24056,7 +24085,7 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
24056
24085
  }
24057
24086
  definitionMap.set("template", templateFunctionExpression);
24058
24087
  } else {
24059
- const tpl = ingestComponent(meta.name, meta.template.nodes, constantPool, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks);
24088
+ const tpl = ingestComponent(meta.name, meta.template.nodes, constantPool, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, allDeferrableDepsFn);
24060
24089
  transform(tpl, CompilationJobKind.Tmpl);
24061
24090
  const templateFn = emitTemplateFn(tpl, constantPool);
24062
24091
  if (tpl.contentSelectors !== null) {
@@ -24204,7 +24233,7 @@ function createDirectiveType(meta) {
24204
24233
  function createHostBindingsFunction(hostBindingsMetadata, typeSourceSpan, bindingParser, constantPool, selector, name, definitionMap) {
24205
24234
  const bindings = bindingParser.createBoundHostProperties(hostBindingsMetadata.properties, typeSourceSpan);
24206
24235
  const eventBindings = bindingParser.createDirectiveHostEventAsts(hostBindingsMetadata.listeners, typeSourceSpan);
24207
- if (USE_TEMPLATE_PIPELINE) {
24236
+ if (USE_TEMPLATE_PIPELINE || hostBindingsMetadata.useTemplatePipeline) {
24208
24237
  if (hostBindingsMetadata.specialAttributes.styleAttr) {
24209
24238
  hostBindingsMetadata.attributes["style"] = literal(hostBindingsMetadata.specialAttributes.styleAttr);
24210
24239
  }
@@ -24507,7 +24536,7 @@ function createHostDirectivesMappingArray(mapping) {
24507
24536
  return elements.length > 0 ? literalArr(elements) : null;
24508
24537
  }
24509
24538
 
24510
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
24539
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
24511
24540
  var R3TargetBinder = class {
24512
24541
  constructor(directiveMatcher) {
24513
24542
  this.directiveMatcher = directiveMatcher;
@@ -25124,11 +25153,12 @@ function extractScopedNodeEntities(rootScope) {
25124
25153
  return templateEntities;
25125
25154
  }
25126
25155
 
25127
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25156
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25128
25157
  var ResourceLoader = class {
25129
25158
  };
25130
25159
 
25131
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25160
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25161
+ var SHOULD_USE_TEMPLATE_PIPELINE_FOR_JIT = false;
25132
25162
  var CompilerFacadeImpl = class {
25133
25163
  constructor(jitEvaluator = new JitEvaluator()) {
25134
25164
  this.jitEvaluator = jitEvaluator;
@@ -25261,7 +25291,8 @@ var CompilerFacadeImpl = class {
25261
25291
  animations: facade.animations != null ? new WrappedNodeExpr(facade.animations) : null,
25262
25292
  viewProviders: facade.viewProviders != null ? new WrappedNodeExpr(facade.viewProviders) : null,
25263
25293
  relativeContextFilePath: "",
25264
- i18nUseExternalIds: true
25294
+ i18nUseExternalIds: true,
25295
+ useTemplatePipeline: SHOULD_USE_TEMPLATE_PIPELINE_FOR_JIT
25265
25296
  });
25266
25297
  const jitExpressionSourceMap = `ng:///${facade.name}.js`;
25267
25298
  return this.compileComponentFromMeta(angularCoreEnv, jitExpressionSourceMap, meta);
@@ -25362,7 +25393,9 @@ function convertDirectiveFacadeToMetadata(facade) {
25362
25393
  typeSourceSpan: facade.typeSourceSpan,
25363
25394
  type: wrapReference(facade.type),
25364
25395
  deps: null,
25365
- host: extractHostBindings(facade.propMetadata, facade.typeSourceSpan, facade.host),
25396
+ host: __spreadProps(__spreadValues({}, extractHostBindings(facade.propMetadata, facade.typeSourceSpan, facade.host)), {
25397
+ useTemplatePipeline: SHOULD_USE_TEMPLATE_PIPELINE_FOR_JIT
25398
+ }),
25366
25399
  inputs: __spreadValues(__spreadValues({}, inputsFromMetadata), inputsFromType),
25367
25400
  outputs: __spreadValues(__spreadValues({}, outputsFromMetadata), outputsFromType),
25368
25401
  queries: facade.queries.map(convertToR3QueryMetadata),
@@ -25405,7 +25438,8 @@ function convertHostDeclarationToMetadata(host = {}) {
25405
25438
  specialAttributes: {
25406
25439
  classAttr: host.classAttribute,
25407
25440
  styleAttr: host.styleAttribute
25408
- }
25441
+ },
25442
+ useTemplatePipeline: SHOULD_USE_TEMPLATE_PIPELINE_FOR_JIT
25409
25443
  };
25410
25444
  }
25411
25445
  function convertHostDirectivesToMetadata(metadata) {
@@ -25470,7 +25504,8 @@ function convertDeclareComponentFacadeToMetadata(decl, typeSourceSpan, sourceMap
25470
25504
  interpolation,
25471
25505
  declarationListEmitMode: 2,
25472
25506
  relativeContextFilePath: "",
25473
- i18nUseExternalIds: true
25507
+ i18nUseExternalIds: true,
25508
+ useTemplatePipeline: SHOULD_USE_TEMPLATE_PIPELINE_FOR_JIT
25474
25509
  });
25475
25510
  }
25476
25511
  function convertDeclarationFacadeToMetadata(declaration) {
@@ -25703,17 +25738,17 @@ function publishFacade(global) {
25703
25738
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
25704
25739
  }
25705
25740
 
25706
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
25707
- var VERSION2 = new Version("17.2.0-next.0");
25741
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
25742
+ var VERSION2 = new Version("17.2.0-next.1");
25708
25743
 
25709
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
25744
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
25710
25745
  var _VisitorMode;
25711
25746
  (function(_VisitorMode2) {
25712
25747
  _VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
25713
25748
  _VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
25714
25749
  })(_VisitorMode || (_VisitorMode = {}));
25715
25750
 
25716
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
25751
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
25717
25752
  var XmlTagDefinition = class {
25718
25753
  constructor() {
25719
25754
  this.closedByParent = false;
@@ -25735,7 +25770,7 @@ var XmlTagDefinition = class {
25735
25770
  };
25736
25771
  var _TAG_DEFINITION = new XmlTagDefinition();
25737
25772
 
25738
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
25773
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
25739
25774
  var FactoryTarget2;
25740
25775
  (function(FactoryTarget3) {
25741
25776
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -25745,10 +25780,10 @@ var FactoryTarget2;
25745
25780
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
25746
25781
  })(FactoryTarget2 || (FactoryTarget2 = {}));
25747
25782
 
25748
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
25783
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
25749
25784
  publishFacade(_global);
25750
25785
 
25751
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/util.mjs
25786
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/util.mjs
25752
25787
  var import_path2 = require("path");
25753
25788
  var import_typescript3 = __toESM(require("typescript"), 1);
25754
25789
  var REPLACEMENTS2 = {
@@ -25856,7 +25891,7 @@ function forEachClass(sourceFile, callback) {
25856
25891
  });
25857
25892
  }
25858
25893
 
25859
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/index.mjs
25894
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/index.mjs
25860
25895
  function block_template_entities_default() {
25861
25896
  return (tree) => __async(this, null, function* () {
25862
25897
  const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);