@angular/core 18.0.0-next.3 → 18.0.0-next.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/esm2022/rxjs-interop/src/take_until_destroyed.mjs +2 -2
  2. package/esm2022/rxjs-interop/src/to_observable.mjs +1 -1
  3. package/esm2022/rxjs-interop/src/to_signal.mjs +2 -2
  4. package/esm2022/src/application/application_ref.mjs +4 -2
  5. package/esm2022/src/application/application_tokens.mjs +1 -1
  6. package/esm2022/src/change_detection/change_detector_ref.mjs +3 -3
  7. package/esm2022/src/change_detection/scheduling/flags.mjs +10 -0
  8. package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +28 -33
  9. package/esm2022/src/change_detection/scheduling/zoneless_scheduling.mjs +1 -1
  10. package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +57 -9
  11. package/esm2022/src/core.mjs +2 -1
  12. package/esm2022/src/core_private_export.mjs +1 -3
  13. package/esm2022/src/core_render3_private_export.mjs +1 -2
  14. package/esm2022/src/debug/debug_node.mjs +5 -5
  15. package/esm2022/src/di/contextual.mjs +3 -3
  16. package/esm2022/src/di/injectable.mjs +1 -1
  17. package/esm2022/src/di/injector.mjs +4 -4
  18. package/esm2022/src/di/injector_compatibility.mjs +3 -3
  19. package/esm2022/src/di/interface/provider.mjs +1 -1
  20. package/esm2022/src/di/metadata.mjs +1 -1
  21. package/esm2022/src/di/provider_collection.mjs +2 -2
  22. package/esm2022/src/event_emitter.mjs +1 -1
  23. package/esm2022/src/hydration/api.mjs +2 -3
  24. package/esm2022/src/i18n/locale_data_api.mjs +4 -4
  25. package/esm2022/src/i18n/tokens.mjs +6 -6
  26. package/esm2022/src/interface/lifecycle_hooks.mjs +1 -1
  27. package/esm2022/src/linker/compiler.mjs +1 -7
  28. package/esm2022/src/linker/ng_module_factory.mjs +2 -3
  29. package/esm2022/src/linker/template_ref.mjs +1 -2
  30. package/esm2022/src/metadata/directives.mjs +1 -62
  31. package/esm2022/src/metadata/do_bootstrap.mjs +1 -1
  32. package/esm2022/src/metadata/ng_module.mjs +1 -1
  33. package/esm2022/src/platform/platform_ref.mjs +3 -3
  34. package/esm2022/src/render3/component.mjs +3 -4
  35. package/esm2022/src/render3/component_ref.mjs +1 -1
  36. package/esm2022/src/render3/definition.mjs +2 -2
  37. package/esm2022/src/render3/instructions/change_detection.mjs +3 -6
  38. package/esm2022/src/render3/instructions/control_flow.mjs +6 -6
  39. package/esm2022/src/render3/jit/environment.mjs +1 -3
  40. package/esm2022/src/render3/ng_module_ref.mjs +1 -4
  41. package/esm2022/src/render3/node_manipulation.mjs +19 -15
  42. package/esm2022/src/render3/reactivity/effect.mjs +1 -1
  43. package/esm2022/src/render3/view_ref.mjs +14 -4
  44. package/esm2022/src/testability/testability.mjs +2 -30
  45. package/esm2022/src/util/callback_scheduler.mjs +3 -3
  46. package/esm2022/src/version.mjs +1 -1
  47. package/esm2022/testing/src/component_fixture.mjs +7 -12
  48. package/esm2022/testing/src/logger.mjs +3 -3
  49. package/esm2022/testing/src/test_bed_common.mjs +1 -6
  50. package/esm2022/testing/src/testing.mjs +1 -2
  51. package/event-dispatch-contract.min.js +1 -0
  52. package/fesm2022/core.mjs +155 -201
  53. package/fesm2022/core.mjs.map +1 -1
  54. package/fesm2022/primitives/signals.mjs +2 -2
  55. package/fesm2022/rxjs-interop.mjs +4 -4
  56. package/fesm2022/rxjs-interop.mjs.map +1 -1
  57. package/fesm2022/testing.mjs +35 -45
  58. package/fesm2022/testing.mjs.map +1 -1
  59. package/index.d.ts +215 -206
  60. package/package.json +4 -1
  61. package/primitives/signals/index.d.ts +2 -2
  62. package/rxjs-interop/index.d.ts +5 -5
  63. package/schematics/migrations/block-template-entities/bundle.js +188 -249
  64. package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
  65. package/schematics/migrations/compiler-options/bundle.js +13 -13
  66. package/schematics/migrations/compiler-options/bundle.js.map +1 -1
  67. package/schematics/migrations/invalid-two-way-bindings/bundle.js +194 -255
  68. package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +3 -3
  69. package/schematics/migrations/transfer-state/bundle.js +13 -13
  70. package/schematics/migrations/transfer-state/bundle.js.map +1 -1
  71. package/schematics/ng-generate/control-flow-migration/bundle.js +197 -259
  72. package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
  73. package/schematics/ng-generate/standalone-migration/bundle.js +517 -556
  74. package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
  75. package/testing/index.d.ts +2 -8
  76. package/esm2022/testing/src/private_export.mjs +0 -9
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
63
63
  });
64
64
  };
65
65
 
66
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
66
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
67
67
  var control_flow_migration_exports = {};
68
68
  __export(control_flow_migration_exports, {
69
69
  default: () => control_flow_migration_default
@@ -72,22 +72,22 @@ module.exports = __toCommonJS(control_flow_migration_exports);
72
72
  var import_schematics = require("@angular-devkit/schematics");
73
73
  var import_path3 = require("path");
74
74
 
75
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
75
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
76
76
  var import_typescript2 = __toESM(require("typescript"), 1);
77
77
 
78
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
78
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
79
79
  var import_typescript = __toESM(require("typescript"), 1);
80
80
 
81
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
81
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
82
82
  function normalizePath(path2) {
83
83
  return path2.replace(/\\/g, "/");
84
84
  }
85
85
 
86
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
86
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
87
87
  var import_path = require("path");
88
88
  var import_typescript4 = __toESM(require("typescript"), 1);
89
89
 
90
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
90
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
91
91
  var path = __toESM(require("path"), 1);
92
92
  var import_typescript3 = __toESM(require("typescript"), 1);
93
93
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -104,7 +104,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
104
104
  return import_typescript3.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
105
105
  }
106
106
 
107
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
107
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
108
108
  function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
109
109
  const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
110
110
  return import_typescript4.default.createProgram(rootNames, options, host);
@@ -137,7 +137,7 @@ function canMigrateFile(basePath, sourceFile, program) {
137
137
  return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
138
138
  }
139
139
 
140
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
140
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
141
141
  var _SELECTOR_REGEXP = new RegExp(
142
142
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
143
143
  "g"
@@ -445,7 +445,7 @@ var SelectorContext = class {
445
445
  }
446
446
  };
447
447
 
448
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
448
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
449
449
  var ViewEncapsulation;
450
450
  (function(ViewEncapsulation2) {
451
451
  ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
@@ -513,7 +513,7 @@ function parseSelectorToR3Selector(selector) {
513
513
  return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
514
514
  }
515
515
 
516
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
516
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
517
517
  var textEncoder;
518
518
  function computeDigest(message) {
519
519
  return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
@@ -753,7 +753,7 @@ function wordAt(bytes, index, endian) {
753
753
  return word;
754
754
  }
755
755
 
756
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
756
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
757
757
  var TypeModifier;
758
758
  (function(TypeModifier2) {
759
759
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -1691,7 +1691,7 @@ function serializeTags(tags) {
1691
1691
  return out;
1692
1692
  }
1693
1693
 
1694
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
1694
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
1695
1695
  var CONSTANT_PREFIX = "_c";
1696
1696
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
1697
1697
  var KEY_CONTEXT = {};
@@ -1879,7 +1879,7 @@ function isLongStringLiteral(expr) {
1879
1879
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
1880
1880
  }
1881
1881
 
1882
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
1882
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
1883
1883
  var CORE = "@angular/core";
1884
1884
  var _Identifiers = class {
1885
1885
  };
@@ -2505,12 +2505,6 @@ var Identifiers = _Identifiers;
2505
2505
  moduleName: CORE
2506
2506
  };
2507
2507
  })();
2508
- (() => {
2509
- _Identifiers.InputFlags = {
2510
- name: "\u0275\u0275InputFlags",
2511
- moduleName: CORE
2512
- };
2513
- })();
2514
2508
  (() => {
2515
2509
  _Identifiers.sanitizeHtml = { name: "\u0275\u0275sanitizeHtml", moduleName: CORE };
2516
2510
  })();
@@ -2548,7 +2542,7 @@ var Identifiers = _Identifiers;
2548
2542
  _Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
2549
2543
  })();
2550
2544
 
2551
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
2545
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
2552
2546
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
2553
2547
  function dashCaseToCamelCase(input) {
2554
2548
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -2625,7 +2619,7 @@ var Version = class {
2625
2619
  };
2626
2620
  var _global = globalThis;
2627
2621
 
2628
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2622
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2629
2623
  var VERSION = 3;
2630
2624
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
2631
2625
  var SourceMapGenerator = class {
@@ -2754,7 +2748,7 @@ function toBase64Digit(value) {
2754
2748
  return B64_DIGITS[value];
2755
2749
  }
2756
2750
 
2757
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
2751
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
2758
2752
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
2759
2753
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
2760
2754
  var _INDENT_WITH = " ";
@@ -3242,7 +3236,7 @@ function _createIndent(count) {
3242
3236
  return res;
3243
3237
  }
3244
3238
 
3245
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
3239
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
3246
3240
  function typeWithParameters(type, numParams) {
3247
3241
  if (numParams === 0) {
3248
3242
  return expressionType(type);
@@ -3297,7 +3291,7 @@ function generateForwardRef(expr) {
3297
3291
  return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
3298
3292
  }
3299
3293
 
3300
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3294
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3301
3295
  var R3FactoryDelegateType;
3302
3296
  (function(R3FactoryDelegateType2) {
3303
3297
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -3442,7 +3436,7 @@ function getInjectFn(target) {
3442
3436
  }
3443
3437
  }
3444
3438
 
3445
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
3439
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
3446
3440
  var ParserError = class {
3447
3441
  constructor(message, input, errLocation, ctxLocation) {
3448
3442
  this.input = input;
@@ -3880,7 +3874,7 @@ var BoundElementProperty = class {
3880
3874
  }
3881
3875
  };
3882
3876
 
3883
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
3877
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
3884
3878
  var TagContentType;
3885
3879
  (function(TagContentType2) {
3886
3880
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -3917,7 +3911,7 @@ function mergeNsAndName(prefix, localName) {
3917
3911
  return prefix ? `:${prefix}:${localName}` : localName;
3918
3912
  }
3919
3913
 
3920
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3914
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3921
3915
  var Comment = class {
3922
3916
  constructor(value, sourceSpan) {
3923
3917
  this.value = value;
@@ -4299,7 +4293,7 @@ function visitAll(visitor, nodes) {
4299
4293
  return result;
4300
4294
  }
4301
4295
 
4302
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4296
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4303
4297
  var Message = class {
4304
4298
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
4305
4299
  this.nodes = nodes;
@@ -4437,7 +4431,7 @@ var LocalizeMessageStringVisitor = class {
4437
4431
  }
4438
4432
  };
4439
4433
 
4440
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4434
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4441
4435
  var _Visitor = class {
4442
4436
  visitTag(tag) {
4443
4437
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4465,12 +4459,12 @@ ${doctype.dtd}
4465
4459
  };
4466
4460
  var _visitor = new _Visitor();
4467
4461
 
4468
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4462
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4469
4463
  function toPublicName(internalName) {
4470
4464
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
4471
4465
  }
4472
4466
 
4473
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4467
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4474
4468
  var I18N_ATTR = "i18n";
4475
4469
  var I18N_ATTR_PREFIX = "i18n-";
4476
4470
  var I18N_ICU_VAR_PREFIX = "VAR_";
@@ -4510,7 +4504,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
4510
4504
  return postfix ? `${raw}_${postfix}` : raw;
4511
4505
  }
4512
4506
 
4513
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4507
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4514
4508
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
4515
4509
  var TEMPORARY_NAME = "_t";
4516
4510
  var CONTEXT_NAME = "ctx";
@@ -4553,16 +4547,15 @@ function conditionallyCreateDirectiveBindingLiteral(map, forInputs) {
4553
4547
  publicName = value.bindingPropertyName;
4554
4548
  const differentDeclaringName = publicName !== declaredName;
4555
4549
  const hasDecoratorInputTransform = value.transformFunction !== null;
4556
- let flags = null;
4550
+ let flags = InputFlags.None;
4557
4551
  if (value.isSignal) {
4558
- flags = bitwiseOrInputFlagsExpr(InputFlags.SignalBased, flags);
4552
+ flags |= InputFlags.SignalBased;
4559
4553
  }
4560
4554
  if (hasDecoratorInputTransform) {
4561
- flags = bitwiseOrInputFlagsExpr(InputFlags.HasDecoratorInputTransform, flags);
4555
+ flags |= InputFlags.HasDecoratorInputTransform;
4562
4556
  }
4563
- if (forInputs && (differentDeclaringName || hasDecoratorInputTransform || flags !== null)) {
4564
- const flagsExpr = flags != null ? flags : importExpr(Identifiers.InputFlags).prop(InputFlags[InputFlags.None]);
4565
- const result = [flagsExpr, asLiteral(publicName)];
4557
+ if (forInputs && (differentDeclaringName || hasDecoratorInputTransform || flags !== InputFlags.None)) {
4558
+ const result = [literal(flags), asLiteral(publicName)];
4566
4559
  if (differentDeclaringName || hasDecoratorInputTransform) {
4567
4560
  result.push(asLiteral(declaredName));
4568
4561
  if (hasDecoratorInputTransform) {
@@ -4581,15 +4574,6 @@ function conditionallyCreateDirectiveBindingLiteral(map, forInputs) {
4581
4574
  };
4582
4575
  }));
4583
4576
  }
4584
- function getInputFlagExpr(flag) {
4585
- return importExpr(Identifiers.InputFlags).prop(InputFlags[flag]);
4586
- }
4587
- function bitwiseOrInputFlagsExpr(flag, expr) {
4588
- if (expr === null) {
4589
- return getInputFlagExpr(flag);
4590
- }
4591
- return getInputFlagExpr(flag).bitwiseOr(expr);
4592
- }
4593
4577
  var DefinitionMap = class {
4594
4578
  constructor() {
4595
4579
  this.values = [];
@@ -4647,7 +4631,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
4647
4631
  return attributesMap;
4648
4632
  }
4649
4633
 
4650
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4634
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4651
4635
  function compileInjectable(meta, resolveForwardRefs) {
4652
4636
  let result = null;
4653
4637
  const factoryMeta = {
@@ -4732,7 +4716,7 @@ function createFactoryFunction(type) {
4732
4716
  return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
4733
4717
  }
4734
4718
 
4735
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
4719
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
4736
4720
  var UNUSABLE_INTERPOLATION_REGEXPS = [
4737
4721
  /^\s*$/,
4738
4722
  /[<>]/,
@@ -4754,7 +4738,7 @@ function assertInterpolationSymbols(identifier, value) {
4754
4738
  }
4755
4739
  }
4756
4740
 
4757
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
4741
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
4758
4742
  var InterpolationConfig = class {
4759
4743
  static fromArray(markers) {
4760
4744
  if (!markers) {
@@ -4771,7 +4755,7 @@ var InterpolationConfig = class {
4771
4755
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
4772
4756
  var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
4773
4757
 
4774
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
4758
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
4775
4759
  var $EOF = 0;
4776
4760
  var $BSPACE = 8;
4777
4761
  var $TAB = 9;
@@ -4853,7 +4837,7 @@ function isQuote(code) {
4853
4837
  return code === $SQ || code === $DQ || code === $BT;
4854
4838
  }
4855
4839
 
4856
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
4840
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
4857
4841
  var ParseLocation = class {
4858
4842
  constructor(file, offset, line, col) {
4859
4843
  this.file = file;
@@ -5000,7 +4984,7 @@ function sanitizeIdentifier(name) {
5000
4984
  return name.replace(/\W/g, "_");
5001
4985
  }
5002
4986
 
5003
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
4987
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5004
4988
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
5005
4989
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5006
4990
  constructor() {
@@ -5093,7 +5077,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5093
5077
  }
5094
5078
  };
5095
5079
 
5096
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5080
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5097
5081
  var policy;
5098
5082
  function getPolicy() {
5099
5083
  if (policy === void 0) {
@@ -5131,7 +5115,7 @@ function newTrustedFunctionForJIT(...args) {
5131
5115
  return fn2.bind(_global);
5132
5116
  }
5133
5117
 
5134
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5118
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5135
5119
  var JitEvaluator = class {
5136
5120
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
5137
5121
  const converter = new JitEmitterVisitor(refResolver);
@@ -5222,7 +5206,7 @@ function isUseStrictStatement(statement) {
5222
5206
  return statement.isEquivalent(literal("use strict").toStmt());
5223
5207
  }
5224
5208
 
5225
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5209
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5226
5210
  function compileInjector(meta) {
5227
5211
  const definitionMap = new DefinitionMap();
5228
5212
  if (meta.providers !== null) {
@@ -5239,7 +5223,7 @@ function createInjectorType(meta) {
5239
5223
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
5240
5224
  }
5241
5225
 
5242
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5226
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5243
5227
  var R3JitReflector = class {
5244
5228
  constructor(context) {
5245
5229
  this.context = context;
@@ -5255,7 +5239,7 @@ var R3JitReflector = class {
5255
5239
  }
5256
5240
  };
5257
5241
 
5258
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5242
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5259
5243
  var R3SelectorScopeMode;
5260
5244
  (function(R3SelectorScopeMode2) {
5261
5245
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -5396,7 +5380,7 @@ function tupleOfTypes(types) {
5396
5380
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
5397
5381
  }
5398
5382
 
5399
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5383
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5400
5384
  function compilePipeFromMetadata(metadata) {
5401
5385
  const definitionMapValues = [];
5402
5386
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -5417,7 +5401,7 @@ function createPipeType(metadata) {
5417
5401
  ]));
5418
5402
  }
5419
5403
 
5420
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5404
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5421
5405
  var R3TemplateDependencyKind;
5422
5406
  (function(R3TemplateDependencyKind2) {
5423
5407
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -5425,7 +5409,7 @@ var R3TemplateDependencyKind;
5425
5409
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
5426
5410
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
5427
5411
 
5428
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
5412
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
5429
5413
  var animationKeywords = /* @__PURE__ */ new Set([
5430
5414
  "inherit",
5431
5415
  "initial",
@@ -5897,7 +5881,7 @@ function repeatGroups(groups, multiples) {
5897
5881
  }
5898
5882
  }
5899
5883
 
5900
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
5884
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
5901
5885
  var OpKind;
5902
5886
  (function(OpKind2) {
5903
5887
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -6051,7 +6035,7 @@ var TemplateKind;
6051
6035
  TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
6052
6036
  })(TemplateKind || (TemplateKind = {}));
6053
6037
 
6054
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
6038
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
6055
6039
  var ConsumesSlot = Symbol("ConsumesSlot");
6056
6040
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
6057
6041
  var ConsumesVarsTrait = Symbol("ConsumesVars");
@@ -6079,7 +6063,7 @@ function hasUsesVarOffsetTrait(expr) {
6079
6063
  return expr[UsesVarOffset] === true;
6080
6064
  }
6081
6065
 
6082
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
6066
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
6083
6067
  function createStatementOp(statement) {
6084
6068
  return __spreadValues({
6085
6069
  kind: OpKind.Statement,
@@ -6101,7 +6085,7 @@ var NEW_OP = {
6101
6085
  next: null
6102
6086
  };
6103
6087
 
6104
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
6088
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
6105
6089
  function createInterpolateTextOp(xref, interpolation, sourceSpan) {
6106
6090
  return __spreadValues(__spreadValues(__spreadValues({
6107
6091
  kind: OpKind.InterpolateText,
@@ -6227,11 +6211,10 @@ function createAdvanceOp(delta, sourceSpan) {
6227
6211
  sourceSpan
6228
6212
  }, NEW_OP);
6229
6213
  }
6230
- function createConditionalOp(target, targetSlot, test, conditions, sourceSpan) {
6214
+ function createConditionalOp(target, test, conditions, sourceSpan) {
6231
6215
  return __spreadValues(__spreadValues(__spreadValues({
6232
6216
  kind: OpKind.Conditional,
6233
6217
  target,
6234
- targetSlot,
6235
6218
  test,
6236
6219
  conditions,
6237
6220
  processed: null,
@@ -6282,7 +6265,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
6282
6265
  }, NEW_OP);
6283
6266
  }
6284
6267
 
6285
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
6268
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
6286
6269
  var _a;
6287
6270
  var _b;
6288
6271
  var _c;
@@ -7144,7 +7127,7 @@ function isStringLiteral(expr) {
7144
7127
  return expr instanceof LiteralExpr && typeof expr.value === "string";
7145
7128
  }
7146
7129
 
7147
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
7130
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
7148
7131
  var _OpList = class {
7149
7132
  constructor() {
7150
7133
  this.debugListId = _OpList.nextListId++;
@@ -7335,14 +7318,14 @@ var OpList = _OpList;
7335
7318
  _OpList.nextListId = 0;
7336
7319
  })();
7337
7320
 
7338
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
7321
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
7339
7322
  var SlotHandle = class {
7340
7323
  constructor() {
7341
7324
  this.slot = null;
7342
7325
  }
7343
7326
  };
7344
7327
 
7345
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
7328
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
7346
7329
  var elementContainerOpKinds = /* @__PURE__ */ new Set([
7347
7330
  OpKind.Element,
7348
7331
  OpKind.ElementStart,
@@ -7646,7 +7629,7 @@ function createI18nAttributesOp(xref, handle, target) {
7646
7629
  }, NEW_OP), TRAIT_CONSUMES_SLOT);
7647
7630
  }
7648
7631
 
7649
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
7632
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
7650
7633
  function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
7651
7634
  return __spreadValues(__spreadValues({
7652
7635
  kind: OpKind.HostProperty,
@@ -7660,10 +7643,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
7660
7643
  }, TRAIT_CONSUMES_VARS), NEW_OP);
7661
7644
  }
7662
7645
 
7663
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
7646
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
7664
7647
  var CTX_REF = "CTX_REF_MARKER";
7665
7648
 
7666
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
7649
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
7667
7650
  var CompilationJobKind;
7668
7651
  (function(CompilationJobKind2) {
7669
7652
  CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
@@ -7771,7 +7754,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
7771
7754
  }
7772
7755
  };
7773
7756
 
7774
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
7757
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
7775
7758
  function deleteAnyCasts(job) {
7776
7759
  for (const unit of job.units) {
7777
7760
  for (const op of unit.ops()) {
@@ -7789,7 +7772,7 @@ function removeAnys(e) {
7789
7772
  return e;
7790
7773
  }
7791
7774
 
7792
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
7775
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
7793
7776
  function applyI18nExpressions(job) {
7794
7777
  const i18nContexts = /* @__PURE__ */ new Map();
7795
7778
  for (const unit of job.units) {
@@ -7832,7 +7815,7 @@ function needsApplication(i18nContexts, op) {
7832
7815
  return false;
7833
7816
  }
7834
7817
 
7835
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
7818
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
7836
7819
  function assignI18nSlotDependencies(job) {
7837
7820
  for (const unit of job.units) {
7838
7821
  let updateOp = unit.update.head;
@@ -7877,7 +7860,7 @@ function assignI18nSlotDependencies(job) {
7877
7860
  }
7878
7861
  }
7879
7862
 
7880
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
7863
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
7881
7864
  function createOpXrefMap(unit) {
7882
7865
  const map = /* @__PURE__ */ new Map();
7883
7866
  for (const op of unit.create) {
@@ -7892,7 +7875,7 @@ function createOpXrefMap(unit) {
7892
7875
  return map;
7893
7876
  }
7894
7877
 
7895
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
7878
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
7896
7879
  function extractAttributes(job) {
7897
7880
  for (const unit of job.units) {
7898
7881
  const elements = createOpXrefMap(unit);
@@ -8021,7 +8004,7 @@ function extractAttributeOp(unit, op, elements) {
8021
8004
  }
8022
8005
  }
8023
8006
 
8024
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
8007
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
8025
8008
  function lookupElement2(elements, xref) {
8026
8009
  const el = elements.get(xref);
8027
8010
  if (el === void 0) {
@@ -8078,7 +8061,7 @@ function specializeBindings(job) {
8078
8061
  }
8079
8062
  }
8080
8063
 
8081
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
8064
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
8082
8065
  var CHAINABLE = /* @__PURE__ */ new Set([
8083
8066
  Identifiers.attribute,
8084
8067
  Identifiers.classProp,
@@ -8146,7 +8129,7 @@ function chainOperationsInList(opList) {
8146
8129
  }
8147
8130
  }
8148
8131
 
8149
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
8132
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
8150
8133
  function collapseSingletonInterpolations(job) {
8151
8134
  for (const unit of job.units) {
8152
8135
  for (const op of unit.update) {
@@ -8158,7 +8141,7 @@ function collapseSingletonInterpolations(job) {
8158
8141
  }
8159
8142
  }
8160
8143
 
8161
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
8144
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
8162
8145
  function generateConditionalExpressions(job) {
8163
8146
  for (const unit of job.units) {
8164
8147
  for (const op of unit.ops()) {
@@ -8195,7 +8178,7 @@ function generateConditionalExpressions(job) {
8195
8178
  }
8196
8179
  }
8197
8180
 
8198
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
8181
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
8199
8182
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
8200
8183
  ["&&", BinaryOperator.And],
8201
8184
  [">", BinaryOperator.Bigger],
@@ -8246,7 +8229,7 @@ function literalOrArrayLiteral(value) {
8246
8229
  return literal(value);
8247
8230
  }
8248
8231
 
8249
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
8232
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
8250
8233
  function collectElementConsts(job) {
8251
8234
  const allElementAttributes = /* @__PURE__ */ new Map();
8252
8235
  for (const unit of job.units) {
@@ -8415,7 +8398,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
8415
8398
  return literalArr(attrArray);
8416
8399
  }
8417
8400
 
8418
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
8401
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
8419
8402
  function convertI18nBindings(job) {
8420
8403
  const i18nAttributesByElem = /* @__PURE__ */ new Map();
8421
8404
  for (const unit of job.units) {
@@ -8456,7 +8439,7 @@ function convertI18nBindings(job) {
8456
8439
  }
8457
8440
  }
8458
8441
 
8459
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
8442
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
8460
8443
  function resolveDeferDepsFns(job) {
8461
8444
  var _a2;
8462
8445
  for (const unit of job.units) {
@@ -8481,7 +8464,7 @@ function resolveDeferDepsFns(job) {
8481
8464
  }
8482
8465
  }
8483
8466
 
8484
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
8467
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
8485
8468
  function createI18nContexts(job) {
8486
8469
  const attrContextByMessage = /* @__PURE__ */ new Map();
8487
8470
  for (const unit of job.units) {
@@ -8559,7 +8542,7 @@ function createI18nContexts(job) {
8559
8542
  }
8560
8543
  }
8561
8544
 
8562
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
8545
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
8563
8546
  function deduplicateTextBindings(job) {
8564
8547
  const seen = /* @__PURE__ */ new Map();
8565
8548
  for (const unit of job.units) {
@@ -8581,7 +8564,7 @@ function deduplicateTextBindings(job) {
8581
8564
  }
8582
8565
  }
8583
8566
 
8584
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
8567
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
8585
8568
  function configureDeferInstructions(job) {
8586
8569
  for (const unit of job.units) {
8587
8570
  for (const op of unit.create) {
@@ -8598,7 +8581,7 @@ function configureDeferInstructions(job) {
8598
8581
  }
8599
8582
  }
8600
8583
 
8601
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
8584
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
8602
8585
  function resolveDeferTargetNames(job) {
8603
8586
  const scopes = /* @__PURE__ */ new Map();
8604
8587
  function getScopeForView2(view) {
@@ -8692,7 +8675,7 @@ var Scope = class {
8692
8675
  }
8693
8676
  };
8694
8677
 
8695
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
8678
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
8696
8679
  var REPLACEMENTS = /* @__PURE__ */ new Map([
8697
8680
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
8698
8681
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
@@ -8719,7 +8702,7 @@ function collapseEmptyInstructions(job) {
8719
8702
  }
8720
8703
  }
8721
8704
 
8722
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
8705
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
8723
8706
  function expandSafeReads(job) {
8724
8707
  for (const unit of job.units) {
8725
8708
  for (const op of unit.ops()) {
@@ -8855,7 +8838,7 @@ function ternaryTransform(e) {
8855
8838
  return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
8856
8839
  }
8857
8840
 
8858
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
8841
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
8859
8842
  var ESCAPE = "\uFFFD";
8860
8843
  var ELEMENT_MARKER = "#";
8861
8844
  var TEMPLATE_MARKER = "*";
@@ -8991,7 +8974,7 @@ function formatValue(value) {
8991
8974
  return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
8992
8975
  }
8993
8976
 
8994
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
8977
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
8995
8978
  function generateAdvance(job) {
8996
8979
  for (const unit of job.units) {
8997
8980
  const slotMap = /* @__PURE__ */ new Map();
@@ -9023,7 +9006,7 @@ function generateAdvance(job) {
9023
9006
  }
9024
9007
  }
9025
9008
 
9026
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
9009
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
9027
9010
  function generateProjectionDefs(job) {
9028
9011
  const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
9029
9012
  const selectors = [];
@@ -9047,7 +9030,7 @@ function generateProjectionDefs(job) {
9047
9030
  }
9048
9031
  }
9049
9032
 
9050
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
9033
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
9051
9034
  function generateVariables(job) {
9052
9035
  recursivelyProcessView(job.root, null);
9053
9036
  }
@@ -9146,7 +9129,7 @@ function generateVariablesInScopeForView(view, scope) {
9146
9129
  return newOps;
9147
9130
  }
9148
9131
 
9149
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
9132
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
9150
9133
  function collectConstExpressions(job) {
9151
9134
  for (const unit of job.units) {
9152
9135
  for (const op of unit.ops()) {
@@ -9160,7 +9143,7 @@ function collectConstExpressions(job) {
9160
9143
  }
9161
9144
  }
9162
9145
 
9163
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
9146
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
9164
9147
  var STYLE_DOT = "style.";
9165
9148
  var CLASS_DOT = "class.";
9166
9149
  var STYLE_BANG = "style!";
@@ -9218,7 +9201,7 @@ function parseProperty(name) {
9218
9201
  return { property: property2, suffix };
9219
9202
  }
9220
9203
 
9221
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
9204
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
9222
9205
  function mapLiteral(obj, quoted = false) {
9223
9206
  return literalMap(Object.keys(obj).map((key) => ({
9224
9207
  key,
@@ -9227,7 +9210,7 @@ function mapLiteral(obj, quoted = false) {
9227
9210
  })));
9228
9211
  }
9229
9212
 
9230
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
9213
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
9231
9214
  var IcuSerializerVisitor = class {
9232
9215
  visitText(text2) {
9233
9216
  return text2.value;
@@ -9261,7 +9244,7 @@ function serializeIcuNode(icu) {
9261
9244
  return icu.visit(serializer);
9262
9245
  }
9263
9246
 
9264
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
9247
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
9265
9248
  var TokenType;
9266
9249
  (function(TokenType2) {
9267
9250
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -9622,7 +9605,7 @@ function parseIntAutoRadix(text2) {
9622
9605
  return result;
9623
9606
  }
9624
9607
 
9625
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
9608
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
9626
9609
  var SplitInterpolation = class {
9627
9610
  constructor(strings, expressions, offsets) {
9628
9611
  this.strings = strings;
@@ -10504,7 +10487,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
10504
10487
  return offsetMap;
10505
10488
  }
10506
10489
 
10507
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
10490
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
10508
10491
  var NodeWithI18n = class {
10509
10492
  constructor(sourceSpan, i18n2) {
10510
10493
  this.sourceSpan = sourceSpan;
@@ -10656,7 +10639,7 @@ var RecursiveVisitor = class {
10656
10639
  }
10657
10640
  };
10658
10641
 
10659
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
10642
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
10660
10643
  var _SECURITY_SCHEMA;
10661
10644
  function SECURITY_SCHEMA() {
10662
10645
  if (!_SECURITY_SCHEMA) {
@@ -10714,11 +10697,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
10714
10697
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
10715
10698
  }
10716
10699
 
10717
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
10700
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
10718
10701
  var ElementSchemaRegistry = class {
10719
10702
  };
10720
10703
 
10721
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
10704
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
10722
10705
  var BOOLEAN = "boolean";
10723
10706
  var NUMBER = "number";
10724
10707
  var STRING = "string";
@@ -11071,7 +11054,7 @@ function _isPixelDimensionStyle(prop) {
11071
11054
  }
11072
11055
  }
11073
11056
 
11074
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
11057
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
11075
11058
  var HtmlTagDefinition = class {
11076
11059
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
11077
11060
  this.closedByChildren = {};
@@ -11189,7 +11172,7 @@ function getHtmlTagDefinition(tagName) {
11189
11172
  return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
11190
11173
  }
11191
11174
 
11192
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
11175
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
11193
11176
  var TAG_TO_PLACEHOLDER_NAMES = {
11194
11177
  "A": "LINK",
11195
11178
  "B": "BOLD_TEXT",
@@ -11311,7 +11294,7 @@ var PlaceholderRegistry = class {
11311
11294
  }
11312
11295
  };
11313
11296
 
11314
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
11297
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
11315
11298
  var _expParser = new Parser(new Lexer());
11316
11299
  function createI18nMessageFactory(interpolationConfig, containerBlocks) {
11317
11300
  const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
@@ -11490,14 +11473,14 @@ function extractPlaceholderName(input) {
11490
11473
  return input.split(_CUSTOM_PH_EXP)[2];
11491
11474
  }
11492
11475
 
11493
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
11476
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
11494
11477
  var I18nError = class extends ParseError {
11495
11478
  constructor(span, msg) {
11496
11479
  super(span, msg);
11497
11480
  }
11498
11481
  };
11499
11482
 
11500
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
11483
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
11501
11484
  var NAMED_ENTITIES = {
11502
11485
  "AElig": "\xC6",
11503
11486
  "AMP": "&",
@@ -13628,7 +13611,7 @@ var NAMED_ENTITIES = {
13628
13611
  var NGSP_UNICODE = "\uE500";
13629
13612
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
13630
13613
 
13631
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
13614
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
13632
13615
  var TokenError = class extends ParseError {
13633
13616
  constructor(errorMsg, tokenType, span) {
13634
13617
  super(span, errorMsg);
@@ -14549,7 +14532,7 @@ var CursorError = class {
14549
14532
  }
14550
14533
  };
14551
14534
 
14552
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
14535
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
14553
14536
  var TreeError = class extends ParseError {
14554
14537
  static create(elementName, span, msg) {
14555
14538
  return new TreeError(elementName, span, msg);
@@ -14933,7 +14916,7 @@ function decodeEntity(match, entity) {
14933
14916
  return match;
14934
14917
  }
14935
14918
 
14936
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
14919
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
14937
14920
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
14938
14921
  "iframe|srcdoc",
14939
14922
  "*|innerhtml",
@@ -14948,7 +14931,7 @@ function isTrustedTypesSink(tagName, propName) {
14948
14931
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
14949
14932
  }
14950
14933
 
14951
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
14934
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
14952
14935
  var setI18nRefs = (htmlNode, i18nNode) => {
14953
14936
  if (htmlNode instanceof NodeWithI18n) {
14954
14937
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -15105,7 +15088,7 @@ function i18nMetaToJSDoc(meta) {
15105
15088
  return jsDocComment(tags);
15106
15089
  }
15107
15090
 
15108
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
15091
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
15109
15092
  var GOOG_GET_MSG = "goog.getMsg";
15110
15093
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
15111
15094
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -15156,7 +15139,7 @@ function serializeI18nMessageForGetMsg(message) {
15156
15139
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
15157
15140
  }
15158
15141
 
15159
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
15142
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
15160
15143
  function createLocalizeStatements(variable2, message, params) {
15161
15144
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
15162
15145
  const sourceSpan = getSourceSpan(message);
@@ -15245,7 +15228,7 @@ function createEmptyMessagePart(location) {
15245
15228
  return new LiteralPiece("", new ParseSourceSpan(location, location));
15246
15229
  }
15247
15230
 
15248
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
15231
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
15249
15232
  var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
15250
15233
  var TRANSLATION_VAR_PREFIX = "i18n_";
15251
15234
  var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
@@ -15413,7 +15396,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
15413
15396
  return variable(name);
15414
15397
  }
15415
15398
 
15416
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
15399
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
15417
15400
  function convertI18nText(job) {
15418
15401
  var _a2, _b2, _c2;
15419
15402
  for (const unit of job.units) {
@@ -15483,7 +15466,7 @@ function convertI18nText(job) {
15483
15466
  }
15484
15467
  }
15485
15468
 
15486
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
15469
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
15487
15470
  function liftLocalRefs(job) {
15488
15471
  for (const unit of job.units) {
15489
15472
  for (const op of unit.create) {
@@ -15513,7 +15496,7 @@ function serializeLocalRefs(refs) {
15513
15496
  return literalArr(constRefs);
15514
15497
  }
15515
15498
 
15516
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
15499
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
15517
15500
  function emitNamespaceChanges(job) {
15518
15501
  for (const unit of job.units) {
15519
15502
  let activeNamespace = Namespace.HTML;
@@ -15529,7 +15512,7 @@ function emitNamespaceChanges(job) {
15529
15512
  }
15530
15513
  }
15531
15514
 
15532
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
15515
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
15533
15516
  function parse(value) {
15534
15517
  const styles = [];
15535
15518
  let i = 0;
@@ -15623,7 +15606,7 @@ function parseExtractedStyles(job) {
15623
15606
  }
15624
15607
  }
15625
15608
 
15626
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
15609
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
15627
15610
  function nameFunctionsAndVariables(job) {
15628
15611
  addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
15629
15612
  }
@@ -15764,7 +15747,7 @@ function stripImportant(name) {
15764
15747
  return name;
15765
15748
  }
15766
15749
 
15767
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
15750
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
15768
15751
  function mergeNextContextExpressions(job) {
15769
15752
  for (const unit of job.units) {
15770
15753
  for (const op of unit.create) {
@@ -15810,7 +15793,7 @@ function mergeNextContextsInOps(ops) {
15810
15793
  }
15811
15794
  }
15812
15795
 
15813
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
15796
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
15814
15797
  var CONTAINER_TAG = "ng-container";
15815
15798
  function generateNgContainerOps(job) {
15816
15799
  for (const unit of job.units) {
@@ -15827,7 +15810,7 @@ function generateNgContainerOps(job) {
15827
15810
  }
15828
15811
  }
15829
15812
 
15830
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
15813
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
15831
15814
  function lookupElement3(elements, xref) {
15832
15815
  const el = elements.get(xref);
15833
15816
  if (el === void 0) {
@@ -15857,7 +15840,7 @@ function disableBindings(job) {
15857
15840
  }
15858
15841
  }
15859
15842
 
15860
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
15843
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
15861
15844
  function generateNullishCoalesceExpressions(job) {
15862
15845
  for (const unit of job.units) {
15863
15846
  for (const op of unit.ops()) {
@@ -15873,7 +15856,7 @@ function generateNullishCoalesceExpressions(job) {
15873
15856
  }
15874
15857
  }
15875
15858
 
15876
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
15859
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
15877
15860
  function kindTest(kind) {
15878
15861
  return (op) => op.kind === kind;
15879
15862
  }
@@ -15963,7 +15946,7 @@ function keepLast(ops) {
15963
15946
  return ops.slice(ops.length - 1);
15964
15947
  }
15965
15948
 
15966
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
15949
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
15967
15950
  function removeContentSelectors(job) {
15968
15951
  for (const unit of job.units) {
15969
15952
  const elements = createOpXrefMap(unit);
@@ -15990,7 +15973,7 @@ function lookupInXrefMap(map, xref) {
15990
15973
  return el;
15991
15974
  }
15992
15975
 
15993
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
15976
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
15994
15977
  function createPipes(job) {
15995
15978
  for (const unit of job.units) {
15996
15979
  processPipeBindingsInView(unit);
@@ -16038,7 +16021,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
16038
16021
  throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
16039
16022
  }
16040
16023
 
16041
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
16024
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
16042
16025
  function createVariadicPipes(job) {
16043
16026
  for (const unit of job.units) {
16044
16027
  for (const op of unit.update) {
@@ -16055,7 +16038,7 @@ function createVariadicPipes(job) {
16055
16038
  }
16056
16039
  }
16057
16040
 
16058
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
16041
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
16059
16042
  function propagateI18nBlocks(job) {
16060
16043
  propagateI18nBlocksToTemplates(job.root, 0);
16061
16044
  }
@@ -16109,7 +16092,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
16109
16092
  }
16110
16093
  }
16111
16094
 
16112
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
16095
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
16113
16096
  function extractPureFunctions(job) {
16114
16097
  for (const view of job.units) {
16115
16098
  for (const op of view.ops()) {
@@ -16151,7 +16134,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
16151
16134
  }
16152
16135
  };
16153
16136
 
16154
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
16137
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
16155
16138
  function generatePureLiteralStructures(job) {
16156
16139
  for (const unit of job.units) {
16157
16140
  for (const op of unit.update) {
@@ -16198,7 +16181,7 @@ function transformLiteralMap(expr) {
16198
16181
  return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
16199
16182
  }
16200
16183
 
16201
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
16184
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
16202
16185
  function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
16203
16186
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
16204
16187
  }
@@ -16494,19 +16477,7 @@ function pipeBindV(slot, varOffset, args) {
16494
16477
  ]);
16495
16478
  }
16496
16479
  function textInterpolate(strings, expressions, sourceSpan) {
16497
- if (strings.length < 1 || expressions.length !== strings.length - 1) {
16498
- throw new Error(`AssertionError: expected specific shape of args for strings/expressions in interpolation`);
16499
- }
16500
- const interpolationArgs = [];
16501
- if (expressions.length === 1 && strings[0] === "" && strings[1] === "") {
16502
- interpolationArgs.push(expressions[0]);
16503
- } else {
16504
- let idx;
16505
- for (idx = 0; idx < expressions.length; idx++) {
16506
- interpolationArgs.push(literal(strings[idx]), expressions[idx]);
16507
- }
16508
- interpolationArgs.push(literal(strings[idx]));
16509
- }
16480
+ const interpolationArgs = collateInterpolationArgs(strings, expressions);
16510
16481
  return callVariadicInstruction(TEXT_INTERPOLATE_CONFIG, [], interpolationArgs, [], sourceSpan);
16511
16482
  }
16512
16483
  function i18nExp(expr, sourceSpan) {
@@ -16583,8 +16554,8 @@ function call(instruction, args, sourceSpan) {
16583
16554
  const expr = importExpr(instruction).callFn(args, sourceSpan);
16584
16555
  return createStatementOp(new ExpressionStatement(expr, sourceSpan));
16585
16556
  }
16586
- function conditional(slot, condition, contextValue, sourceSpan) {
16587
- const args = [literal(slot), condition];
16557
+ function conditional(condition, contextValue, sourceSpan) {
16558
+ const args = [condition];
16588
16559
  if (contextValue !== null) {
16589
16560
  args.push(contextValue);
16590
16561
  }
@@ -16739,7 +16710,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
16739
16710
  return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
16740
16711
  }
16741
16712
 
16742
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
16713
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
16743
16714
  var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
16744
16715
  ["window", Identifiers.resolveWindow],
16745
16716
  ["document", Identifiers.resolveDocument],
@@ -17010,10 +16981,7 @@ function reifyUpdateOperations(_unit, ops) {
17010
16981
  if (op.processed === null) {
17011
16982
  throw new Error(`Conditional test was not set.`);
17012
16983
  }
17013
- if (op.targetSlot.slot === null) {
17014
- throw new Error(`Conditional slot was not set.`);
17015
- }
17016
- OpList.replace(op, conditional(op.targetSlot.slot, op.processed, op.contextValue, op.sourceSpan));
16984
+ OpList.replace(op, conditional(op.processed, op.contextValue, op.sourceSpan));
17017
16985
  break;
17018
16986
  case OpKind.Repeater:
17019
16987
  OpList.replace(op, repeater(op.collection, op.sourceSpan));
@@ -17098,7 +17066,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
17098
17066
  return fn(params, handlerStmts, void 0, void 0, name);
17099
17067
  }
17100
17068
 
17101
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
17069
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
17102
17070
  function removeEmptyBindings(job) {
17103
17071
  for (const unit of job.units) {
17104
17072
  for (const op of unit.update) {
@@ -17119,7 +17087,7 @@ function removeEmptyBindings(job) {
17119
17087
  }
17120
17088
  }
17121
17089
 
17122
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
17090
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
17123
17091
  function removeI18nContexts(job) {
17124
17092
  for (const unit of job.units) {
17125
17093
  for (const op of unit.create) {
@@ -17135,7 +17103,7 @@ function removeI18nContexts(job) {
17135
17103
  }
17136
17104
  }
17137
17105
 
17138
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
17106
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
17139
17107
  function removeUnusedI18nAttributesOps(job) {
17140
17108
  for (const unit of job.units) {
17141
17109
  const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
@@ -17157,7 +17125,7 @@ function removeUnusedI18nAttributesOps(job) {
17157
17125
  }
17158
17126
  }
17159
17127
 
17160
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
17128
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
17161
17129
  function resolveContexts(job) {
17162
17130
  for (const unit of job.units) {
17163
17131
  processLexicalScope(unit, unit.create);
@@ -17199,7 +17167,7 @@ function processLexicalScope(view, ops) {
17199
17167
  }
17200
17168
  }
17201
17169
 
17202
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
17170
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
17203
17171
  function resolveDollarEvent(job) {
17204
17172
  for (const unit of job.units) {
17205
17173
  transformDollarEvent(unit.create);
@@ -17222,7 +17190,7 @@ function transformDollarEvent(ops) {
17222
17190
  }
17223
17191
  }
17224
17192
 
17225
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
17193
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
17226
17194
  function resolveI18nElementPlaceholders(job) {
17227
17195
  const i18nContexts = /* @__PURE__ */ new Map();
17228
17196
  const elements = /* @__PURE__ */ new Map();
@@ -17401,7 +17369,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
17401
17369
  params.set(placeholder, values);
17402
17370
  }
17403
17371
 
17404
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
17372
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
17405
17373
  function resolveI18nExpressionPlaceholders(job) {
17406
17374
  var _a2;
17407
17375
  const subTemplateIndices = /* @__PURE__ */ new Map();
@@ -17454,7 +17422,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
17454
17422
  }
17455
17423
  }
17456
17424
 
17457
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
17425
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
17458
17426
  function resolveNames(job) {
17459
17427
  for (const unit of job.units) {
17460
17428
  processLexicalScope2(unit, unit.create, null);
@@ -17519,7 +17487,7 @@ function processLexicalScope2(unit, ops, savedView) {
17519
17487
  }
17520
17488
  }
17521
17489
 
17522
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
17490
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
17523
17491
  var sanitizerFns = /* @__PURE__ */ new Map([
17524
17492
  [SecurityContext.HTML, Identifiers.sanitizeHtml],
17525
17493
  [SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
@@ -17589,57 +17557,30 @@ function getOnlySecurityContext(securityContext) {
17589
17557
  return securityContext;
17590
17558
  }
17591
17559
 
17592
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
17560
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
17593
17561
  function transformTwoWayBindingSet(job) {
17594
17562
  for (const unit of job.units) {
17595
17563
  for (const op of unit.create) {
17596
17564
  if (op.kind === OpKind.TwoWayListener) {
17597
17565
  transformExpressionsInOp(op, (expr) => {
17598
- if (expr instanceof TwoWayBindingSetExpr) {
17599
- return wrapAction(expr.target, expr.value);
17566
+ if (!(expr instanceof TwoWayBindingSetExpr)) {
17567
+ return expr;
17600
17568
  }
17601
- return expr;
17569
+ const { target, value } = expr;
17570
+ if (target instanceof ReadPropExpr || target instanceof ReadKeyExpr) {
17571
+ return twoWayBindingSet(target, value).or(target.set(value));
17572
+ }
17573
+ if (target instanceof ReadVariableExpr) {
17574
+ return twoWayBindingSet(target, value);
17575
+ }
17576
+ throw new Error(`Unsupported expression in two-way action binding.`);
17602
17577
  }, VisitorContextFlag.InChildOperation);
17603
17578
  }
17604
17579
  }
17605
17580
  }
17606
17581
  }
17607
- function wrapSetOperation(target, value) {
17608
- if (target instanceof ReadVariableExpr) {
17609
- return twoWayBindingSet(target, value);
17610
- }
17611
- return twoWayBindingSet(target, value).or(target.set(value));
17612
- }
17613
- function isReadExpression(value) {
17614
- return value instanceof ReadPropExpr || value instanceof ReadKeyExpr || value instanceof ReadVariableExpr;
17615
- }
17616
- function wrapAction(target, value) {
17617
- if (isReadExpression(target)) {
17618
- return wrapSetOperation(target, value);
17619
- }
17620
- if (target instanceof BinaryOperatorExpr && isReadExpression(target.rhs)) {
17621
- return new BinaryOperatorExpr(target.operator, target.lhs, wrapSetOperation(target.rhs, value));
17622
- }
17623
- if (target instanceof ConditionalExpr && isReadExpression(target.falseCase)) {
17624
- return new ConditionalExpr(target.condition, target.trueCase, wrapSetOperation(target.falseCase, value));
17625
- }
17626
- if (target instanceof NotExpr) {
17627
- let expr = target.condition;
17628
- while (true) {
17629
- if (expr instanceof NotExpr) {
17630
- expr = expr.condition;
17631
- } else {
17632
- if (isReadExpression(expr)) {
17633
- return wrapSetOperation(expr, value);
17634
- }
17635
- break;
17636
- }
17637
- }
17638
- }
17639
- throw new Error(`Unsupported expression in two-way action binding.`);
17640
- }
17641
17582
 
17642
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
17583
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
17643
17584
  function saveAndRestoreView(job) {
17644
17585
  for (const unit of job.units) {
17645
17586
  unit.create.prepend([
@@ -17684,7 +17625,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
17684
17625
  }
17685
17626
  }
17686
17627
 
17687
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
17628
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
17688
17629
  function allocateSlots(job) {
17689
17630
  const slotMap = /* @__PURE__ */ new Map();
17690
17631
  for (const unit of job.units) {
@@ -17709,7 +17650,7 @@ function allocateSlots(job) {
17709
17650
  }
17710
17651
  }
17711
17652
 
17712
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
17653
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
17713
17654
  function specializeStyleBindings(job) {
17714
17655
  for (const unit of job.units) {
17715
17656
  for (const op of unit.update) {
@@ -17739,7 +17680,7 @@ function specializeStyleBindings(job) {
17739
17680
  }
17740
17681
  }
17741
17682
 
17742
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
17683
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
17743
17684
  function generateTemporaryVariables(job) {
17744
17685
  for (const unit of job.units) {
17745
17686
  unit.create.prepend(generateTemporaries(unit.create));
@@ -17797,7 +17738,7 @@ function assignName(names, expr) {
17797
17738
  expr.name = name;
17798
17739
  }
17799
17740
 
17800
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
17741
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
17801
17742
  function generateTrackFns(job) {
17802
17743
  for (const unit of job.units) {
17803
17744
  for (const op of unit.create) {
@@ -17830,7 +17771,7 @@ function generateTrackFns(job) {
17830
17771
  }
17831
17772
  }
17832
17773
 
17833
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
17774
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
17834
17775
  function optimizeTrackFns(job) {
17835
17776
  for (const unit of job.units) {
17836
17777
  for (const op of unit.create) {
@@ -17878,7 +17819,7 @@ function isTrackByFunctionCall(rootView, expr) {
17878
17819
  return true;
17879
17820
  }
17880
17821
 
17881
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
17822
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
17882
17823
  function generateTrackVariables(job) {
17883
17824
  for (const unit of job.units) {
17884
17825
  for (const op of unit.create) {
@@ -17899,7 +17840,7 @@ function generateTrackVariables(job) {
17899
17840
  }
17900
17841
  }
17901
17842
 
17902
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
17843
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
17903
17844
  function countVariables(job) {
17904
17845
  for (const unit of job.units) {
17905
17846
  let varCount = 0;
@@ -18009,7 +17950,7 @@ function isSingletonInterpolation(expr) {
18009
17950
  return true;
18010
17951
  }
18011
17952
 
18012
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
17953
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
18013
17954
  function optimizeVariables(job) {
18014
17955
  for (const unit of job.units) {
18015
17956
  inlineAlwaysInlineVariables(unit.create);
@@ -18258,7 +18199,7 @@ function allowConservativeInlining(decl, target) {
18258
18199
  }
18259
18200
  }
18260
18201
 
18261
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
18202
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
18262
18203
  function wrapI18nIcus(job) {
18263
18204
  for (const unit of job.units) {
18264
18205
  let currentI18nOp = null;
@@ -18288,7 +18229,7 @@ function wrapI18nIcus(job) {
18288
18229
  }
18289
18230
  }
18290
18231
 
18291
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
18232
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
18292
18233
  var phases = [
18293
18234
  { kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
18294
18235
  { kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
@@ -18454,7 +18395,7 @@ function emitHostBindingFunction(job) {
18454
18395
  );
18455
18396
  }
18456
18397
 
18457
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
18398
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
18458
18399
  var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
18459
18400
  var domSchema = new DomElementSchemaRegistry();
18460
18401
  var NG_TEMPLATE_TAG_NAME = "ng-template";
@@ -18648,7 +18589,6 @@ function ingestBoundText(unit, text2, icuPlaceholder) {
18648
18589
  function ingestIfBlock(unit, ifBlock) {
18649
18590
  var _a2;
18650
18591
  let firstXref = null;
18651
- let firstSlotHandle = null;
18652
18592
  let conditions = [];
18653
18593
  for (let i = 0; i < ifBlock.branches.length; i++) {
18654
18594
  const ifCase = ifBlock.branches[i];
@@ -18668,15 +18608,13 @@ function ingestIfBlock(unit, ifBlock) {
18668
18608
  unit.create.push(templateOp);
18669
18609
  if (firstXref === null) {
18670
18610
  firstXref = cView.xref;
18671
- firstSlotHandle = templateOp.handle;
18672
18611
  }
18673
18612
  const caseExpr = ifCase.expression ? convertAst(ifCase.expression, unit.job, null) : null;
18674
18613
  const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle, ifCase.expressionAlias);
18675
18614
  conditions.push(conditionalCaseExpr);
18676
18615
  ingestNodes(cView, ifCase.children);
18677
18616
  }
18678
- const conditional2 = createConditionalOp(firstXref, firstSlotHandle, null, conditions, ifBlock.sourceSpan);
18679
- unit.update.push(conditional2);
18617
+ unit.update.push(createConditionalOp(firstXref, null, conditions, ifBlock.sourceSpan));
18680
18618
  }
18681
18619
  function ingestSwitchBlock(unit, switchBlock) {
18682
18620
  var _a2;
@@ -18684,7 +18622,6 @@ function ingestSwitchBlock(unit, switchBlock) {
18684
18622
  return;
18685
18623
  }
18686
18624
  let firstXref = null;
18687
- let firstSlotHandle = null;
18688
18625
  let conditions = [];
18689
18626
  for (const switchCase of switchBlock.cases) {
18690
18627
  const cView = unit.job.allocateView(unit.xref);
@@ -18700,15 +18637,13 @@ function ingestSwitchBlock(unit, switchBlock) {
18700
18637
  unit.create.push(templateOp);
18701
18638
  if (firstXref === null) {
18702
18639
  firstXref = cView.xref;
18703
- firstSlotHandle = templateOp.handle;
18704
18640
  }
18705
18641
  const caseExpr = switchCase.expression ? convertAst(switchCase.expression, unit.job, switchBlock.startSourceSpan) : null;
18706
18642
  const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle);
18707
18643
  conditions.push(conditionalCaseExpr);
18708
18644
  ingestNodes(cView, switchCase.children);
18709
18645
  }
18710
- const conditional2 = createConditionalOp(firstXref, firstSlotHandle, convertAst(switchBlock.expression, unit.job, null), conditions, switchBlock.sourceSpan);
18711
- unit.update.push(conditional2);
18646
+ unit.update.push(createConditionalOp(firstXref, convertAst(switchBlock.expression, unit.job, null), conditions, switchBlock.sourceSpan));
18712
18647
  }
18713
18648
  function ingestDeferView(unit, suffix, i18nMeta, children, sourceSpan) {
18714
18649
  if (i18nMeta !== void 0 && !(i18nMeta instanceof BlockPlaceholder)) {
@@ -19199,7 +19134,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
19199
19134
  return null;
19200
19135
  }
19201
19136
 
19202
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
19137
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
19203
19138
  function renderFlagCheckIfStmt(flags, statements) {
19204
19139
  return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
19205
19140
  }
@@ -19319,7 +19254,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
19319
19254
  ], INFERRED_TYPE, null, contentQueriesFnName);
19320
19255
  }
19321
19256
 
19322
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
19257
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
19323
19258
  var HtmlParser = class extends Parser2 {
19324
19259
  constructor() {
19325
19260
  super(getHtmlTagDefinition);
@@ -19329,7 +19264,7 @@ var HtmlParser = class extends Parser2 {
19329
19264
  }
19330
19265
  };
19331
19266
 
19332
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
19267
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
19333
19268
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
19334
19269
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
19335
19270
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -19395,7 +19330,7 @@ function visitAllWithSiblings(visitor, nodes) {
19395
19330
  return result;
19396
19331
  }
19397
19332
 
19398
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
19333
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
19399
19334
  var PROPERTY_PARTS_SEPARATOR = ".";
19400
19335
  var ATTRIBUTE_PREFIX = "attr";
19401
19336
  var CLASS_PREFIX = "class";
@@ -19403,11 +19338,12 @@ var STYLE_PREFIX = "style";
19403
19338
  var TEMPLATE_ATTR_PREFIX = "*";
19404
19339
  var ANIMATE_PROP_PREFIX = "animate-";
19405
19340
  var BindingParser = class {
19406
- constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors) {
19341
+ constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors, _allowInvalidAssignmentEvents = false) {
19407
19342
  this._exprParser = _exprParser;
19408
19343
  this._interpolationConfig = _interpolationConfig;
19409
19344
  this._schemaRegistry = _schemaRegistry;
19410
19345
  this.errors = errors;
19346
+ this._allowInvalidAssignmentEvents = _allowInvalidAssignmentEvents;
19411
19347
  }
19412
19348
  get interpolationConfig() {
19413
19349
  return this._interpolationConfig;
@@ -19711,6 +19647,9 @@ var BindingParser = class {
19711
19647
  if (ast instanceof PropertyRead || ast instanceof KeyedRead) {
19712
19648
  return true;
19713
19649
  }
19650
+ if (!this._allowInvalidAssignmentEvents) {
19651
+ return false;
19652
+ }
19714
19653
  if (ast instanceof Binary) {
19715
19654
  return (ast.operation === "&&" || ast.operation === "||" || ast.operation === "??") && (ast.right instanceof PropertyRead || ast.right instanceof KeyedRead);
19716
19655
  }
@@ -19736,7 +19675,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
19736
19675
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
19737
19676
  }
19738
19677
 
19739
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
19678
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
19740
19679
  function isStyleUrlResolvable(url) {
19741
19680
  if (url == null || url.length === 0 || url[0] == "/")
19742
19681
  return false;
@@ -19745,7 +19684,7 @@ function isStyleUrlResolvable(url) {
19745
19684
  }
19746
19685
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
19747
19686
 
19748
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
19687
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
19749
19688
  var NG_CONTENT_SELECT_ATTR = "select";
19750
19689
  var LINK_ELEMENT = "link";
19751
19690
  var LINK_STYLE_REL_ATTR = "rel";
@@ -19815,7 +19754,7 @@ function normalizeNgContentSelect(selectAttr) {
19815
19754
  return selectAttr;
19816
19755
  }
19817
19756
 
19818
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
19757
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
19819
19758
  var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
19820
19759
  var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
19821
19760
  var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
@@ -20131,7 +20070,7 @@ function stripOptionalParentheses(param, errors) {
20131
20070
  return expression.slice(start, end);
20132
20071
  }
20133
20072
 
20134
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
20073
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
20135
20074
  var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
20136
20075
  var SEPARATOR_PATTERN = /^\s$/;
20137
20076
  var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
@@ -20395,7 +20334,7 @@ function parseDeferredTime(value) {
20395
20334
  return parseFloat(time) * (units === "s" ? 1e3 : 1);
20396
20335
  }
20397
20336
 
20398
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
20337
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
20399
20338
  var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
20400
20339
  var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
20401
20340
  var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
@@ -20530,7 +20469,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
20530
20469
  return { triggers, prefetchTriggers };
20531
20470
  }
20532
20471
 
20533
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
20472
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
20534
20473
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
20535
20474
  var KW_BIND_IDX = 1;
20536
20475
  var KW_LET_IDX = 2;
@@ -20952,12 +20891,12 @@ function textContents(node) {
20952
20891
  }
20953
20892
  }
20954
20893
 
20955
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
20894
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
20956
20895
  var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
20957
20896
  function parseTemplate(template2, templateUrl, options = {}) {
20958
20897
  var _a2;
20959
- const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat } = options;
20960
- const bindingParser = makeBindingParser(interpolationConfig);
20898
+ const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat, allowInvalidAssignmentEvents } = options;
20899
+ const bindingParser = makeBindingParser(interpolationConfig, allowInvalidAssignmentEvents);
20961
20900
  const htmlParser = new HtmlParser();
20962
20901
  const parseResult = htmlParser.parse(template2, templateUrl, __spreadProps(__spreadValues({
20963
20902
  leadingTriviaChars: LEADING_TRIVIA_CHARS
@@ -21022,11 +20961,11 @@ function parseTemplate(template2, templateUrl, options = {}) {
21022
20961
  return parsedTemplate;
21023
20962
  }
21024
20963
  var elementRegistry = new DomElementSchemaRegistry();
21025
- function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
21026
- return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, []);
20964
+ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, allowInvalidAssignmentEvents = false) {
20965
+ return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
21027
20966
  }
21028
20967
 
21029
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
20968
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
21030
20969
  var COMPONENT_VARIABLE = "%COMP%";
21031
20970
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
21032
20971
  var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
@@ -21388,7 +21327,7 @@ function createHostDirectivesMappingArray(mapping) {
21388
21327
  return elements.length > 0 ? literalArr(elements) : null;
21389
21328
  }
21390
21329
 
21391
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
21330
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
21392
21331
  var R3TargetBinder = class {
21393
21332
  constructor(directiveMatcher) {
21394
21333
  this.directiveMatcher = directiveMatcher;
@@ -22021,11 +21960,11 @@ function extractScopedNodeEntities(rootScope) {
22021
21960
  return templateEntities;
22022
21961
  }
22023
21962
 
22024
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
21963
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
22025
21964
  var ResourceLoader = class {
22026
21965
  };
22027
21966
 
22028
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
21967
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
22029
21968
  var CompilerFacadeImpl = class {
22030
21969
  constructor(jitEvaluator = new JitEvaluator()) {
22031
21970
  this.jitEvaluator = jitEvaluator;
@@ -22586,17 +22525,17 @@ function publishFacade(global) {
22586
22525
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
22587
22526
  }
22588
22527
 
22589
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
22590
- var VERSION2 = new Version("18.0.0-next.3");
22528
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
22529
+ var VERSION2 = new Version("18.0.0-next.5");
22591
22530
 
22592
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
22531
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
22593
22532
  var _VisitorMode;
22594
22533
  (function(_VisitorMode2) {
22595
22534
  _VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
22596
22535
  _VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
22597
22536
  })(_VisitorMode || (_VisitorMode = {}));
22598
22537
 
22599
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
22538
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
22600
22539
  var XmlTagDefinition = class {
22601
22540
  constructor() {
22602
22541
  this.closedByParent = false;
@@ -22618,7 +22557,7 @@ var XmlTagDefinition = class {
22618
22557
  };
22619
22558
  var _TAG_DEFINITION = new XmlTagDefinition();
22620
22559
 
22621
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
22560
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
22622
22561
  var FactoryTarget2;
22623
22562
  (function(FactoryTarget3) {
22624
22563
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -22628,10 +22567,10 @@ var FactoryTarget2;
22628
22567
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
22629
22568
  })(FactoryTarget2 || (FactoryTarget2 = {}));
22630
22569
 
22631
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
22570
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
22632
22571
  publishFacade(_global);
22633
22572
 
22634
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
22573
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
22635
22574
  var import_typescript5 = __toESM(require("typescript"), 1);
22636
22575
  function lookupIdentifiersInSourceFile(sourceFile, names) {
22637
22576
  const results = /* @__PURE__ */ new Set();
@@ -22645,7 +22584,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
22645
22584
  return results;
22646
22585
  }
22647
22586
 
22648
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
22587
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
22649
22588
  var ngtemplate = "ng-template";
22650
22589
  var boundngifelse = "[ngIfElse]";
22651
22590
  var boundngifthenelse = "[ngIfThenElse]";
@@ -22978,7 +22917,7 @@ var TemplateCollector = class extends RecursiveVisitor {
22978
22917
  }
22979
22918
  };
22980
22919
 
22981
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
22920
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
22982
22921
  var import_path2 = require("path");
22983
22922
  var import_typescript6 = __toESM(require("typescript"), 1);
22984
22923
  var startMarkerRegex = new RegExp(startMarker, "gm");
@@ -23493,7 +23432,7 @@ function forEachClass(sourceFile, callback) {
23493
23432
  });
23494
23433
  }
23495
23434
 
23496
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
23435
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
23497
23436
  var boundcase = "[ngSwitchCase]";
23498
23437
  var switchcase = "*ngSwitchCase";
23499
23438
  var nakedcase = "ngSwitchCase";
@@ -23571,7 +23510,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
23571
23510
  return { tmpl: updatedTmpl, offsets: { pre, post } };
23572
23511
  }
23573
23512
 
23574
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
23513
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
23575
23514
  var ngfor = "*ngFor";
23576
23515
  var nakedngfor2 = "ngFor";
23577
23516
  var fors = [
@@ -23745,7 +23684,7 @@ function getNgForParts(expression) {
23745
23684
  return parts;
23746
23685
  }
23747
23686
 
23748
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
23687
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
23749
23688
  var ngif = "*ngIf";
23750
23689
  var boundngif = "[ngIf]";
23751
23690
  var nakedngif = "ngIf";
@@ -23898,7 +23837,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
23898
23837
  return { tmpl: updatedTmpl, offsets: { pre, post } };
23899
23838
  }
23900
23839
 
23901
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
23840
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
23902
23841
  var ngswitch = "[ngSwitch]";
23903
23842
  var switches = [
23904
23843
  ngswitch
@@ -23966,7 +23905,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
23966
23905
  return { tmpl: updatedTmpl, offsets: { pre, post } };
23967
23906
  }
23968
23907
 
23969
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
23908
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
23970
23909
  function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
23971
23910
  let errors = [];
23972
23911
  let migrated = template2;
@@ -24017,7 +23956,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
24017
23956
  return { migrated, errors };
24018
23957
  }
24019
23958
 
24020
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
23959
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
24021
23960
  function control_flow_migration_default(options) {
24022
23961
  return (tree, context) => __async(this, null, function* () {
24023
23962
  const basePath = process.cwd();
@@ -24029,7 +23968,6 @@ function control_flow_migration_default(options) {
24029
23968
  if (!allPaths.length) {
24030
23969
  throw new import_schematics.SchematicsException("Could not find any tsconfig file. Cannot run the control flow migration.");
24031
23970
  }
24032
- context.logger.warn("IMPORTANT! This migration is in developer preview. Use with caution.");
24033
23971
  let errors = [];
24034
23972
  for (const tsconfigPath of allPaths) {
24035
23973
  const migrateErrors = runControlFlowMigration(tree, tsconfigPath, basePath, pathToMigrate, options);