@angular/core 18.0.1 → 18.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/esm2022/primitives/event-dispatch/index.mjs +2 -1
  2. package/esm2022/primitives/event-dispatch/src/dispatcher.mjs +4 -3
  3. package/esm2022/primitives/event-dispatch/src/event_dispatcher.mjs +4 -6
  4. package/esm2022/primitives/event-dispatch/src/event_type.mjs +2 -2
  5. package/esm2022/primitives/signals/src/graph.mjs +6 -5
  6. package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +2 -4
  7. package/esm2022/src/core_private_export.mjs +2 -2
  8. package/esm2022/src/event_delegation_utils.mjs +68 -0
  9. package/esm2022/src/hydration/annotate.mjs +18 -7
  10. package/esm2022/src/hydration/api.mjs +2 -2
  11. package/esm2022/src/hydration/event_replay.mjs +46 -69
  12. package/esm2022/src/hydration/tokens.mjs +6 -1
  13. package/esm2022/src/render3/component_ref.mjs +1 -1
  14. package/esm2022/src/render3/instructions/listener.mjs +5 -5
  15. package/esm2022/src/render3/instructions/shared.mjs +3 -3
  16. package/esm2022/src/version.mjs +1 -1
  17. package/esm2022/testing/src/logger.mjs +3 -3
  18. package/fesm2022/core.mjs +133 -86
  19. package/fesm2022/core.mjs.map +1 -1
  20. package/fesm2022/primitives/event-dispatch.mjs +9 -10
  21. package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
  22. package/fesm2022/primitives/signals.mjs +6 -5
  23. package/fesm2022/primitives/signals.mjs.map +1 -1
  24. package/fesm2022/rxjs-interop.mjs +1 -1
  25. package/fesm2022/testing.mjs +1 -1
  26. package/index.d.ts +7 -1
  27. package/package.json +2 -2
  28. package/primitives/event-dispatch/index.d.ts +66 -1
  29. package/primitives/signals/index.d.ts +1 -1
  30. package/rxjs-interop/index.d.ts +1 -1
  31. package/schematics/migrations/http-providers/bundle.js +25 -17
  32. package/schematics/migrations/http-providers/bundle.js.map +2 -2
  33. package/schematics/migrations/invalid-two-way-bindings/bundle.js +334 -165
  34. package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +3 -3
  35. package/schematics/ng-generate/control-flow-migration/bundle.js +357 -181
  36. package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
  37. package/schematics/ng-generate/standalone-migration/bundle.js +807 -494
  38. package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
  39. package/testing/index.d.ts +1 -1
@@ -2501,7 +2501,7 @@ var require_semver2 = __commonJS({
2501
2501
  }
2502
2502
  });
2503
2503
 
2504
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
2504
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
2505
2505
  var standalone_migration_exports = {};
2506
2506
  __export(standalone_migration_exports, {
2507
2507
  default: () => standalone_migration_default
@@ -2509,10 +2509,10 @@ __export(standalone_migration_exports, {
2509
2509
  module.exports = __toCommonJS(standalone_migration_exports);
2510
2510
  var import_schematics = require("@angular-devkit/schematics");
2511
2511
 
2512
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
2512
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
2513
2513
  var import_typescript = __toESM(require("typescript"), 1);
2514
2514
 
2515
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
2515
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
2516
2516
  var InvalidFileSystem = class {
2517
2517
  exists(path4) {
2518
2518
  throw makeError();
@@ -2600,7 +2600,7 @@ function makeError() {
2600
2600
  return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
2601
2601
  }
2602
2602
 
2603
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
2603
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
2604
2604
  var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
2605
2605
  function stripExtension(path4) {
2606
2606
  return path4.replace(TS_DTS_JS_EXTENSION, "");
@@ -2613,7 +2613,7 @@ function getSourceFileOrError(program, fileName) {
2613
2613
  return sf;
2614
2614
  }
2615
2615
 
2616
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
2616
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
2617
2617
  var fs = new InvalidFileSystem();
2618
2618
  function getFileSystem() {
2619
2619
  return fs;
@@ -2657,7 +2657,7 @@ function toRelativeImport(relativePath) {
2657
2657
  return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
2658
2658
  }
2659
2659
 
2660
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
2660
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
2661
2661
  var LogicalProjectPath = {
2662
2662
  relativePathBetween: function(from, to) {
2663
2663
  const relativePath = relative(dirname(resolve(from)), resolve(to));
@@ -2703,7 +2703,7 @@ function isWithinBasePath(base, path4) {
2703
2703
  return isLocalRelativePath(relative(base, path4));
2704
2704
  }
2705
2705
 
2706
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
2706
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
2707
2707
  var import_fs = __toESM(require("fs"), 1);
2708
2708
  var import_module = require("module");
2709
2709
  var p = __toESM(require("path"), 1);
@@ -2811,7 +2811,7 @@ function toggleCase(str) {
2811
2811
  return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
2812
2812
  }
2813
2813
 
2814
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
2814
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
2815
2815
  var _SELECTOR_REGEXP = new RegExp(
2816
2816
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
2817
2817
  "g"
@@ -3119,7 +3119,7 @@ var SelectorContext = class {
3119
3119
  }
3120
3120
  };
3121
3121
 
3122
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
3122
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
3123
3123
  var emitDistinctChangesOnlyDefaultValue = true;
3124
3124
  var ViewEncapsulation;
3125
3125
  (function(ViewEncapsulation2) {
@@ -3188,7 +3188,7 @@ function parseSelectorToR3Selector(selector) {
3188
3188
  return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
3189
3189
  }
3190
3190
 
3191
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
3191
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
3192
3192
  var output_ast_exports = {};
3193
3193
  __export(output_ast_exports, {
3194
3194
  ArrayType: () => ArrayType,
@@ -3276,7 +3276,7 @@ __export(output_ast_exports, {
3276
3276
  variable: () => variable
3277
3277
  });
3278
3278
 
3279
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
3279
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
3280
3280
  var textEncoder;
3281
3281
  function digest(message) {
3282
3282
  return message.id || computeDigest(message);
@@ -3519,7 +3519,7 @@ function wordAt(bytes, index, endian) {
3519
3519
  return word;
3520
3520
  }
3521
3521
 
3522
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
3522
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
3523
3523
  var TypeModifier;
3524
3524
  (function(TypeModifier2) {
3525
3525
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -4714,7 +4714,7 @@ function serializeTags(tags) {
4714
4714
  return out;
4715
4715
  }
4716
4716
 
4717
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
4717
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
4718
4718
  var CONSTANT_PREFIX = "_c";
4719
4719
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
4720
4720
  var KEY_CONTEXT = {};
@@ -4902,7 +4902,7 @@ function isLongStringLiteral(expr) {
4902
4902
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
4903
4903
  }
4904
4904
 
4905
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
4905
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
4906
4906
  var CORE = "@angular/core";
4907
4907
  var _Identifiers = class {
4908
4908
  };
@@ -5790,7 +5790,7 @@ var Identifiers = _Identifiers;
5790
5790
  _Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
5791
5791
  })();
5792
5792
 
5793
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
5793
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
5794
5794
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
5795
5795
  function dashCaseToCamelCase(input) {
5796
5796
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -5867,7 +5867,7 @@ var Version = class {
5867
5867
  };
5868
5868
  var _global = globalThis;
5869
5869
 
5870
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
5870
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
5871
5871
  var VERSION = 3;
5872
5872
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
5873
5873
  var SourceMapGenerator = class {
@@ -5996,7 +5996,7 @@ function toBase64Digit(value) {
5996
5996
  return B64_DIGITS[value];
5997
5997
  }
5998
5998
 
5999
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
5999
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
6000
6000
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
6001
6001
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
6002
6002
  var _INDENT_WITH = " ";
@@ -6484,7 +6484,7 @@ function _createIndent(count) {
6484
6484
  return res;
6485
6485
  }
6486
6486
 
6487
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
6487
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
6488
6488
  function typeWithParameters(type, numParams) {
6489
6489
  if (numParams === 0) {
6490
6490
  return expressionType(type);
@@ -6542,7 +6542,7 @@ function generateForwardRef(expr) {
6542
6542
  return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
6543
6543
  }
6544
6544
 
6545
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
6545
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
6546
6546
  var R3FactoryDelegateType;
6547
6547
  (function(R3FactoryDelegateType2) {
6548
6548
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -6687,7 +6687,7 @@ function getInjectFn(target) {
6687
6687
  }
6688
6688
  }
6689
6689
 
6690
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
6690
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
6691
6691
  var ParserError = class {
6692
6692
  constructor(message, input, errLocation, ctxLocation) {
6693
6693
  this.input = input;
@@ -7125,7 +7125,7 @@ var BoundElementProperty = class {
7125
7125
  }
7126
7126
  };
7127
7127
 
7128
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
7128
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
7129
7129
  var TagContentType;
7130
7130
  (function(TagContentType2) {
7131
7131
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -7162,7 +7162,7 @@ function mergeNsAndName(prefix, localName) {
7162
7162
  return prefix ? `:${prefix}:${localName}` : localName;
7163
7163
  }
7164
7164
 
7165
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
7165
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
7166
7166
  var Comment = class {
7167
7167
  constructor(value, sourceSpan) {
7168
7168
  this.value = value;
@@ -7460,6 +7460,18 @@ var UnknownBlock = class {
7460
7460
  return visitor.visitUnknownBlock(this);
7461
7461
  }
7462
7462
  };
7463
+ var LetDeclaration = class {
7464
+ constructor(name, value, sourceSpan, nameSpan, valueSpan) {
7465
+ this.name = name;
7466
+ this.value = value;
7467
+ this.sourceSpan = sourceSpan;
7468
+ this.nameSpan = nameSpan;
7469
+ this.valueSpan = valueSpan;
7470
+ }
7471
+ visit(visitor) {
7472
+ return visitor.visitLetDeclaration(this);
7473
+ }
7474
+ };
7463
7475
  var Template = class {
7464
7476
  constructor(tagName, attributes, inputs, outputs, templateAttrs, children, references, variables, sourceSpan, startSourceSpan, endSourceSpan, i18n2) {
7465
7477
  this.tagName = tagName;
@@ -7600,6 +7612,8 @@ var RecursiveVisitor = class {
7600
7612
  }
7601
7613
  visitUnknownBlock(block) {
7602
7614
  }
7615
+ visitLetDeclaration(decl) {
7616
+ }
7603
7617
  };
7604
7618
  function visitAll(visitor, nodes) {
7605
7619
  const result = [];
@@ -7618,7 +7632,7 @@ function visitAll(visitor, nodes) {
7618
7632
  return result;
7619
7633
  }
7620
7634
 
7621
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
7635
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
7622
7636
  var Message = class {
7623
7637
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
7624
7638
  this.nodes = nodes;
@@ -7809,7 +7823,7 @@ var LocalizeMessageStringVisitor = class {
7809
7823
  }
7810
7824
  };
7811
7825
 
7812
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
7826
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
7813
7827
  var Serializer = class {
7814
7828
  createNameMapper(message) {
7815
7829
  return null;
@@ -7866,7 +7880,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
7866
7880
  }
7867
7881
  };
7868
7882
 
7869
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
7883
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
7870
7884
  var _Visitor = class {
7871
7885
  visitTag(tag) {
7872
7886
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -7954,7 +7968,7 @@ function escapeXml(text2) {
7954
7968
  return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
7955
7969
  }
7956
7970
 
7957
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
7971
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
7958
7972
  var _XMB_HANDLER = "angular";
7959
7973
  var _MESSAGES_TAG = "messagebundle";
7960
7974
  var _MESSAGE_TAG = "msg";
@@ -8116,7 +8130,7 @@ function toPublicName(internalName) {
8116
8130
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
8117
8131
  }
8118
8132
 
8119
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
8133
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
8120
8134
  var I18N_ATTR = "i18n";
8121
8135
  var I18N_ATTR_PREFIX = "i18n-";
8122
8136
  var I18N_ICU_VAR_PREFIX = "VAR_";
@@ -8156,7 +8170,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
8156
8170
  return postfix ? `${raw}_${postfix}` : raw;
8157
8171
  }
8158
8172
 
8159
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
8173
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
8160
8174
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
8161
8175
  var TEMPORARY_NAME = "_t";
8162
8176
  var CONTEXT_NAME = "ctx";
@@ -8283,7 +8297,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
8283
8297
  return attributesMap;
8284
8298
  }
8285
8299
 
8286
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
8300
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
8287
8301
  function compileInjectable(meta, resolveForwardRefs) {
8288
8302
  let result = null;
8289
8303
  const factoryMeta = {
@@ -8370,7 +8384,7 @@ function createFactoryFunction(type) {
8370
8384
  return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
8371
8385
  }
8372
8386
 
8373
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
8387
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
8374
8388
  var UNUSABLE_INTERPOLATION_REGEXPS = [
8375
8389
  /@/,
8376
8390
  /^\s*$/,
@@ -8393,7 +8407,7 @@ function assertInterpolationSymbols(identifier, value) {
8393
8407
  }
8394
8408
  }
8395
8409
 
8396
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
8410
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
8397
8411
  var InterpolationConfig = class {
8398
8412
  static fromArray(markers) {
8399
8413
  if (!markers) {
@@ -8410,7 +8424,7 @@ var InterpolationConfig = class {
8410
8424
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
8411
8425
  var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
8412
8426
 
8413
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
8427
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
8414
8428
  var $EOF = 0;
8415
8429
  var $BSPACE = 8;
8416
8430
  var $TAB = 9;
@@ -8492,7 +8506,7 @@ function isQuote(code) {
8492
8506
  return code === $SQ || code === $DQ || code === $BT;
8493
8507
  }
8494
8508
 
8495
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
8509
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
8496
8510
  var ParseLocation = class {
8497
8511
  constructor(file, offset, line, col) {
8498
8512
  this.file = file;
@@ -8639,7 +8653,7 @@ function sanitizeIdentifier(name) {
8639
8653
  return name.replace(/\W/g, "_");
8640
8654
  }
8641
8655
 
8642
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
8656
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
8643
8657
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
8644
8658
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
8645
8659
  constructor() {
@@ -8732,7 +8746,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
8732
8746
  }
8733
8747
  };
8734
8748
 
8735
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
8749
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
8736
8750
  var policy;
8737
8751
  function getPolicy() {
8738
8752
  if (policy === void 0) {
@@ -8770,7 +8784,7 @@ function newTrustedFunctionForJIT(...args) {
8770
8784
  return fn2.bind(_global);
8771
8785
  }
8772
8786
 
8773
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
8787
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
8774
8788
  var JitEvaluator = class {
8775
8789
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
8776
8790
  const converter = new JitEmitterVisitor(refResolver);
@@ -8858,7 +8872,7 @@ function isUseStrictStatement(statement) {
8858
8872
  return statement.isEquivalent(literal("use strict").toStmt());
8859
8873
  }
8860
8874
 
8861
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
8875
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
8862
8876
  function compileInjector(meta) {
8863
8877
  const definitionMap = new DefinitionMap();
8864
8878
  if (meta.providers !== null) {
@@ -8875,7 +8889,7 @@ function createInjectorType(meta) {
8875
8889
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
8876
8890
  }
8877
8891
 
8878
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
8892
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
8879
8893
  var R3JitReflector = class {
8880
8894
  constructor(context) {
8881
8895
  this.context = context;
@@ -8891,7 +8905,7 @@ var R3JitReflector = class {
8891
8905
  }
8892
8906
  };
8893
8907
 
8894
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
8908
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
8895
8909
  var R3SelectorScopeMode;
8896
8910
  (function(R3SelectorScopeMode2) {
8897
8911
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -9026,7 +9040,7 @@ function tupleOfTypes(types) {
9026
9040
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
9027
9041
  }
9028
9042
 
9029
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
9043
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
9030
9044
  function compilePipeFromMetadata(metadata) {
9031
9045
  const definitionMapValues = [];
9032
9046
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -9047,7 +9061,7 @@ function createPipeType(metadata) {
9047
9061
  ]));
9048
9062
  }
9049
9063
 
9050
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
9064
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
9051
9065
  var R3TemplateDependencyKind;
9052
9066
  (function(R3TemplateDependencyKind2) {
9053
9067
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -9055,7 +9069,7 @@ var R3TemplateDependencyKind;
9055
9069
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
9056
9070
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
9057
9071
 
9058
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
9072
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
9059
9073
  var animationKeywords = /* @__PURE__ */ new Set([
9060
9074
  "inherit",
9061
9075
  "initial",
@@ -9535,7 +9549,7 @@ function repeatGroups(groups, multiples) {
9535
9549
  }
9536
9550
  }
9537
9551
 
9538
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
9552
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
9539
9553
  var OpKind;
9540
9554
  (function(OpKind2) {
9541
9555
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -9689,7 +9703,7 @@ var TemplateKind;
9689
9703
  TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
9690
9704
  })(TemplateKind || (TemplateKind = {}));
9691
9705
 
9692
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
9706
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
9693
9707
  var ConsumesSlot = Symbol("ConsumesSlot");
9694
9708
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
9695
9709
  var ConsumesVarsTrait = Symbol("ConsumesVars");
@@ -9717,7 +9731,7 @@ function hasUsesVarOffsetTrait(expr) {
9717
9731
  return expr[UsesVarOffset] === true;
9718
9732
  }
9719
9733
 
9720
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
9734
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
9721
9735
  function createStatementOp(statement) {
9722
9736
  return __spreadValues({
9723
9737
  kind: OpKind.Statement,
@@ -9739,7 +9753,7 @@ var NEW_OP = {
9739
9753
  next: null
9740
9754
  };
9741
9755
 
9742
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
9756
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
9743
9757
  function createInterpolateTextOp(xref, interpolation, sourceSpan) {
9744
9758
  return __spreadValues(__spreadValues(__spreadValues({
9745
9759
  kind: OpKind.InterpolateText,
@@ -9919,7 +9933,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
9919
9933
  }, NEW_OP);
9920
9934
  }
9921
9935
 
9922
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
9936
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
9923
9937
  var _a;
9924
9938
  var _b;
9925
9939
  var _c;
@@ -10781,7 +10795,7 @@ function isStringLiteral(expr) {
10781
10795
  return expr instanceof LiteralExpr && typeof expr.value === "string";
10782
10796
  }
10783
10797
 
10784
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
10798
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
10785
10799
  var _OpList = class {
10786
10800
  constructor() {
10787
10801
  this.debugListId = _OpList.nextListId++;
@@ -10972,14 +10986,14 @@ var OpList = _OpList;
10972
10986
  _OpList.nextListId = 0;
10973
10987
  })();
10974
10988
 
10975
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
10989
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
10976
10990
  var SlotHandle = class {
10977
10991
  constructor() {
10978
10992
  this.slot = null;
10979
10993
  }
10980
10994
  };
10981
10995
 
10982
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
10996
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
10983
10997
  var elementContainerOpKinds = /* @__PURE__ */ new Set([
10984
10998
  OpKind.Element,
10985
10999
  OpKind.ElementStart,
@@ -11283,7 +11297,7 @@ function createI18nAttributesOp(xref, handle, target) {
11283
11297
  }, NEW_OP), TRAIT_CONSUMES_SLOT);
11284
11298
  }
11285
11299
 
11286
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
11300
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
11287
11301
  function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
11288
11302
  return __spreadValues(__spreadValues({
11289
11303
  kind: OpKind.HostProperty,
@@ -11297,10 +11311,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
11297
11311
  }, TRAIT_CONSUMES_VARS), NEW_OP);
11298
11312
  }
11299
11313
 
11300
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
11314
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
11301
11315
  var CTX_REF = "CTX_REF_MARKER";
11302
11316
 
11303
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
11317
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
11304
11318
  var CompilationJobKind;
11305
11319
  (function(CompilationJobKind2) {
11306
11320
  CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
@@ -11408,7 +11422,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
11408
11422
  }
11409
11423
  };
11410
11424
 
11411
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
11425
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
11412
11426
  function deleteAnyCasts(job) {
11413
11427
  for (const unit of job.units) {
11414
11428
  for (const op of unit.ops()) {
@@ -11426,7 +11440,7 @@ function removeAnys(e) {
11426
11440
  return e;
11427
11441
  }
11428
11442
 
11429
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
11443
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
11430
11444
  function applyI18nExpressions(job) {
11431
11445
  const i18nContexts = /* @__PURE__ */ new Map();
11432
11446
  for (const unit of job.units) {
@@ -11469,7 +11483,7 @@ function needsApplication(i18nContexts, op) {
11469
11483
  return false;
11470
11484
  }
11471
11485
 
11472
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
11486
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
11473
11487
  function assignI18nSlotDependencies(job) {
11474
11488
  for (const unit of job.units) {
11475
11489
  let updateOp = unit.update.head;
@@ -11514,7 +11528,7 @@ function assignI18nSlotDependencies(job) {
11514
11528
  }
11515
11529
  }
11516
11530
 
11517
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
11531
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
11518
11532
  function createOpXrefMap(unit) {
11519
11533
  const map = /* @__PURE__ */ new Map();
11520
11534
  for (const op of unit.create) {
@@ -11529,7 +11543,7 @@ function createOpXrefMap(unit) {
11529
11543
  return map;
11530
11544
  }
11531
11545
 
11532
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
11546
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
11533
11547
  function extractAttributes(job) {
11534
11548
  for (const unit of job.units) {
11535
11549
  const elements = createOpXrefMap(unit);
@@ -11658,7 +11672,7 @@ function extractAttributeOp(unit, op, elements) {
11658
11672
  }
11659
11673
  }
11660
11674
 
11661
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
11675
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
11662
11676
  function lookupElement2(elements, xref) {
11663
11677
  const el = elements.get(xref);
11664
11678
  if (el === void 0) {
@@ -11715,7 +11729,7 @@ function specializeBindings(job) {
11715
11729
  }
11716
11730
  }
11717
11731
 
11718
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
11732
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
11719
11733
  var CHAINABLE = /* @__PURE__ */ new Set([
11720
11734
  Identifiers.attribute,
11721
11735
  Identifiers.classProp,
@@ -11783,7 +11797,7 @@ function chainOperationsInList(opList) {
11783
11797
  }
11784
11798
  }
11785
11799
 
11786
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
11800
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
11787
11801
  function collapseSingletonInterpolations(job) {
11788
11802
  for (const unit of job.units) {
11789
11803
  for (const op of unit.update) {
@@ -11795,7 +11809,7 @@ function collapseSingletonInterpolations(job) {
11795
11809
  }
11796
11810
  }
11797
11811
 
11798
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
11812
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
11799
11813
  function generateConditionalExpressions(job) {
11800
11814
  for (const unit of job.units) {
11801
11815
  for (const op of unit.ops()) {
@@ -11832,7 +11846,7 @@ function generateConditionalExpressions(job) {
11832
11846
  }
11833
11847
  }
11834
11848
 
11835
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
11849
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
11836
11850
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
11837
11851
  ["&&", BinaryOperator.And],
11838
11852
  [">", BinaryOperator.Bigger],
@@ -11889,7 +11903,7 @@ function literalOrArrayLiteral(value) {
11889
11903
  return literal(value);
11890
11904
  }
11891
11905
 
11892
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
11906
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
11893
11907
  function collectElementConsts(job) {
11894
11908
  const allElementAttributes = /* @__PURE__ */ new Map();
11895
11909
  for (const unit of job.units) {
@@ -12058,7 +12072,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
12058
12072
  return literalArr(attrArray);
12059
12073
  }
12060
12074
 
12061
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
12075
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
12062
12076
  function convertI18nBindings(job) {
12063
12077
  const i18nAttributesByElem = /* @__PURE__ */ new Map();
12064
12078
  for (const unit of job.units) {
@@ -12099,7 +12113,7 @@ function convertI18nBindings(job) {
12099
12113
  }
12100
12114
  }
12101
12115
 
12102
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
12116
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
12103
12117
  function resolveDeferDepsFns(job) {
12104
12118
  var _a2;
12105
12119
  for (const unit of job.units) {
@@ -12124,7 +12138,7 @@ function resolveDeferDepsFns(job) {
12124
12138
  }
12125
12139
  }
12126
12140
 
12127
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
12141
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
12128
12142
  function createI18nContexts(job) {
12129
12143
  const attrContextByMessage = /* @__PURE__ */ new Map();
12130
12144
  for (const unit of job.units) {
@@ -12202,7 +12216,7 @@ function createI18nContexts(job) {
12202
12216
  }
12203
12217
  }
12204
12218
 
12205
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
12219
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
12206
12220
  function deduplicateTextBindings(job) {
12207
12221
  const seen = /* @__PURE__ */ new Map();
12208
12222
  for (const unit of job.units) {
@@ -12224,7 +12238,7 @@ function deduplicateTextBindings(job) {
12224
12238
  }
12225
12239
  }
12226
12240
 
12227
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
12241
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
12228
12242
  function configureDeferInstructions(job) {
12229
12243
  for (const unit of job.units) {
12230
12244
  for (const op of unit.create) {
@@ -12241,7 +12255,7 @@ function configureDeferInstructions(job) {
12241
12255
  }
12242
12256
  }
12243
12257
 
12244
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
12258
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
12245
12259
  function resolveDeferTargetNames(job) {
12246
12260
  const scopes = /* @__PURE__ */ new Map();
12247
12261
  function getScopeForView2(view) {
@@ -12335,7 +12349,7 @@ var Scope = class {
12335
12349
  }
12336
12350
  };
12337
12351
 
12338
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
12352
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
12339
12353
  var REPLACEMENTS = /* @__PURE__ */ new Map([
12340
12354
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
12341
12355
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
@@ -12362,7 +12376,7 @@ function collapseEmptyInstructions(job) {
12362
12376
  }
12363
12377
  }
12364
12378
 
12365
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
12379
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
12366
12380
  function expandSafeReads(job) {
12367
12381
  for (const unit of job.units) {
12368
12382
  for (const op of unit.ops()) {
@@ -12498,7 +12512,7 @@ function ternaryTransform(e) {
12498
12512
  return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
12499
12513
  }
12500
12514
 
12501
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
12515
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
12502
12516
  var ESCAPE = "\uFFFD";
12503
12517
  var ELEMENT_MARKER = "#";
12504
12518
  var TEMPLATE_MARKER = "*";
@@ -12634,7 +12648,7 @@ function formatValue(value) {
12634
12648
  return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
12635
12649
  }
12636
12650
 
12637
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
12651
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
12638
12652
  function generateAdvance(job) {
12639
12653
  for (const unit of job.units) {
12640
12654
  const slotMap = /* @__PURE__ */ new Map();
@@ -12666,7 +12680,7 @@ function generateAdvance(job) {
12666
12680
  }
12667
12681
  }
12668
12682
 
12669
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
12683
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
12670
12684
  function generateProjectionDefs(job) {
12671
12685
  const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
12672
12686
  const selectors = [];
@@ -12690,7 +12704,7 @@ function generateProjectionDefs(job) {
12690
12704
  }
12691
12705
  }
12692
12706
 
12693
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
12707
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
12694
12708
  function generateVariables(job) {
12695
12709
  recursivelyProcessView(job.root, null);
12696
12710
  }
@@ -12789,7 +12803,7 @@ function generateVariablesInScopeForView(view, scope) {
12789
12803
  return newOps;
12790
12804
  }
12791
12805
 
12792
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
12806
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
12793
12807
  function collectConstExpressions(job) {
12794
12808
  for (const unit of job.units) {
12795
12809
  for (const op of unit.ops()) {
@@ -12803,7 +12817,7 @@ function collectConstExpressions(job) {
12803
12817
  }
12804
12818
  }
12805
12819
 
12806
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
12820
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
12807
12821
  var STYLE_DOT = "style.";
12808
12822
  var CLASS_DOT = "class.";
12809
12823
  var STYLE_BANG = "style!";
@@ -12861,7 +12875,7 @@ function parseProperty(name) {
12861
12875
  return { property: property2, suffix };
12862
12876
  }
12863
12877
 
12864
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
12878
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
12865
12879
  function mapLiteral(obj, quoted = false) {
12866
12880
  return literalMap(Object.keys(obj).map((key) => ({
12867
12881
  key,
@@ -12870,7 +12884,7 @@ function mapLiteral(obj, quoted = false) {
12870
12884
  })));
12871
12885
  }
12872
12886
 
12873
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
12887
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
12874
12888
  var IcuSerializerVisitor = class {
12875
12889
  visitText(text2) {
12876
12890
  return text2.value;
@@ -12904,7 +12918,7 @@ function serializeIcuNode(icu) {
12904
12918
  return icu.visit(serializer);
12905
12919
  }
12906
12920
 
12907
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
12921
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
12908
12922
  var TokenType;
12909
12923
  (function(TokenType2) {
12910
12924
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -13265,7 +13279,7 @@ function parseIntAutoRadix(text2) {
13265
13279
  return result;
13266
13280
  }
13267
13281
 
13268
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
13282
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
13269
13283
  var SplitInterpolation = class {
13270
13284
  constructor(strings, expressions, offsets) {
13271
13285
  this.strings = strings;
@@ -14147,7 +14161,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
14147
14161
  return offsetMap;
14148
14162
  }
14149
14163
 
14150
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
14164
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
14151
14165
  var NodeWithI18n = class {
14152
14166
  constructor(sourceSpan, i18n2) {
14153
14167
  this.sourceSpan = sourceSpan;
@@ -14246,6 +14260,18 @@ var BlockParameter = class {
14246
14260
  return visitor.visitBlockParameter(this, context);
14247
14261
  }
14248
14262
  };
14263
+ var LetDeclaration2 = class {
14264
+ constructor(name, value, sourceSpan, nameSpan, valueSpan) {
14265
+ this.name = name;
14266
+ this.value = value;
14267
+ this.sourceSpan = sourceSpan;
14268
+ this.nameSpan = nameSpan;
14269
+ this.valueSpan = valueSpan;
14270
+ }
14271
+ visit(visitor, context) {
14272
+ return visitor.visitLetDeclaration(this, context);
14273
+ }
14274
+ };
14249
14275
  function visitAll2(visitor, nodes, context = null) {
14250
14276
  const result = [];
14251
14277
  const visit2 = visitor.visit ? (ast) => visitor.visit(ast, context) || ast.visit(visitor, context) : (ast) => ast.visit(visitor, context);
@@ -14258,7 +14284,7 @@ function visitAll2(visitor, nodes, context = null) {
14258
14284
  return result;
14259
14285
  }
14260
14286
 
14261
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
14287
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
14262
14288
  var _SECURITY_SCHEMA;
14263
14289
  function SECURITY_SCHEMA() {
14264
14290
  if (!_SECURITY_SCHEMA) {
@@ -14319,11 +14345,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
14319
14345
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
14320
14346
  }
14321
14347
 
14322
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
14348
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
14323
14349
  var ElementSchemaRegistry = class {
14324
14350
  };
14325
14351
 
14326
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
14352
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
14327
14353
  var BOOLEAN = "boolean";
14328
14354
  var NUMBER = "number";
14329
14355
  var STRING = "string";
@@ -14706,7 +14732,7 @@ function _isPixelDimensionStyle(prop) {
14706
14732
  }
14707
14733
  }
14708
14734
 
14709
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
14735
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
14710
14736
  var HtmlTagDefinition = class {
14711
14737
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
14712
14738
  this.closedByChildren = {};
@@ -14842,7 +14868,7 @@ function getHtmlTagDefinition(tagName) {
14842
14868
  return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
14843
14869
  }
14844
14870
 
14845
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
14871
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
14846
14872
  var TAG_TO_PLACEHOLDER_NAMES = {
14847
14873
  "A": "LINK",
14848
14874
  "B": "BOLD_TEXT",
@@ -14964,7 +14990,7 @@ var PlaceholderRegistry = class {
14964
14990
  }
14965
14991
  };
14966
14992
 
14967
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
14993
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
14968
14994
  var _expParser = new Parser(new Lexer());
14969
14995
  function createI18nMessageFactory(interpolationConfig, containerBlocks) {
14970
14996
  const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
@@ -15074,6 +15100,9 @@ var _I18nVisitor = class {
15074
15100
  visitBlockParameter(_parameter, _context) {
15075
15101
  throw new Error("Unreachable code");
15076
15102
  }
15103
+ visitLetDeclaration(decl, context) {
15104
+ return null;
15105
+ }
15077
15106
  _visitTextWithInterpolation(tokens, sourceSpan, context, previousI18n) {
15078
15107
  const nodes = [];
15079
15108
  let hasInterpolation = false;
@@ -15143,14 +15172,14 @@ function extractPlaceholderName(input) {
15143
15172
  return input.split(_CUSTOM_PH_EXP)[2];
15144
15173
  }
15145
15174
 
15146
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
15175
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
15147
15176
  var I18nError = class extends ParseError {
15148
15177
  constructor(span, msg) {
15149
15178
  super(span, msg);
15150
15179
  }
15151
15180
  };
15152
15181
 
15153
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
15182
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
15154
15183
  var NAMED_ENTITIES = {
15155
15184
  "AElig": "\xC6",
15156
15185
  "AMP": "&",
@@ -17281,7 +17310,7 @@ var NAMED_ENTITIES = {
17281
17310
  var NGSP_UNICODE = "\uE500";
17282
17311
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
17283
17312
 
17284
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
17313
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
17285
17314
  var TokenError = class extends ParseError {
17286
17315
  constructor(errorMsg, tokenType, span) {
17287
17316
  super(span, errorMsg);
@@ -17345,6 +17374,7 @@ var _Tokenizer = class {
17345
17374
  this._preserveLineEndings = options.preserveLineEndings || false;
17346
17375
  this._i18nNormalizeLineEndingsInICUs = options.i18nNormalizeLineEndingsInICUs || false;
17347
17376
  this._tokenizeBlocks = (_a2 = options.tokenizeBlocks) != null ? _a2 : true;
17377
+ this._tokenizeLet = options.tokenizeLet || false;
17348
17378
  try {
17349
17379
  this._cursor.init();
17350
17380
  } catch (e) {
@@ -17375,6 +17405,8 @@ var _Tokenizer = class {
17375
17405
  } else {
17376
17406
  this._consumeTagOpen(start);
17377
17407
  }
17408
+ } else if (this._tokenizeLet && this._cursor.peek() === $AT && !this._inInterpolation && this._attemptStr("@let")) {
17409
+ this._consumeLetDeclaration(start);
17378
17410
  } else if (this._tokenizeBlocks && this._attemptCharCode($AT)) {
17379
17411
  this._consumeBlockStart(start);
17380
17412
  } else if (this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansionCase() && !this._isInExpansionForm() && this._attemptCharCode($RBRACE)) {
@@ -17386,7 +17418,7 @@ var _Tokenizer = class {
17386
17418
  this.handleError(e);
17387
17419
  }
17388
17420
  }
17389
- this._beginToken(29);
17421
+ this._beginToken(33);
17390
17422
  this._endToken([]);
17391
17423
  }
17392
17424
  _getBlockName() {
@@ -17459,6 +17491,67 @@ var _Tokenizer = class {
17459
17491
  this._attemptCharCodeUntilFn(isBlockParameterChar);
17460
17492
  }
17461
17493
  }
17494
+ _consumeLetDeclaration(start) {
17495
+ this._beginToken(29, start);
17496
+ if (isWhitespace(this._cursor.peek())) {
17497
+ this._attemptCharCodeUntilFn(isNotWhitespace);
17498
+ } else {
17499
+ const token = this._endToken([this._cursor.getChars(start)]);
17500
+ token.type = 32;
17501
+ return;
17502
+ }
17503
+ const startToken = this._endToken([this._getLetDeclarationName()]);
17504
+ this._attemptCharCodeUntilFn(isNotWhitespace);
17505
+ if (!this._attemptCharCode($EQ)) {
17506
+ startToken.type = 32;
17507
+ return;
17508
+ }
17509
+ this._attemptCharCodeUntilFn((code) => isNotWhitespace(code) && !isNewLine(code));
17510
+ this._consumeLetDeclarationValue();
17511
+ const endChar = this._cursor.peek();
17512
+ if (endChar === $SEMICOLON) {
17513
+ this._beginToken(31);
17514
+ this._endToken([]);
17515
+ this._cursor.advance();
17516
+ } else {
17517
+ startToken.type = 32;
17518
+ startToken.sourceSpan = this._cursor.getSpan(start);
17519
+ }
17520
+ }
17521
+ _getLetDeclarationName() {
17522
+ const nameCursor = this._cursor.clone();
17523
+ let allowDigit = false;
17524
+ this._attemptCharCodeUntilFn((code) => {
17525
+ if (isAsciiLetter(code) || code === $_ || allowDigit && isDigit(code)) {
17526
+ allowDigit = true;
17527
+ return false;
17528
+ }
17529
+ return true;
17530
+ });
17531
+ return this._cursor.getChars(nameCursor).trim();
17532
+ }
17533
+ _consumeLetDeclarationValue() {
17534
+ const start = this._cursor.clone();
17535
+ this._beginToken(30, start);
17536
+ while (this._cursor.peek() !== $EOF) {
17537
+ const char = this._cursor.peek();
17538
+ if (char === $SEMICOLON) {
17539
+ break;
17540
+ }
17541
+ if (isQuote(char)) {
17542
+ this._cursor.advance();
17543
+ this._attemptCharCodeUntilFn((inner) => {
17544
+ if (inner === $BACKSLASH) {
17545
+ this._cursor.advance();
17546
+ return false;
17547
+ }
17548
+ return inner === char;
17549
+ });
17550
+ }
17551
+ this._cursor.advance();
17552
+ }
17553
+ this._endToken([this._cursor.getChars(start)]);
17554
+ }
17462
17555
  _tokenizeExpansionForm() {
17463
17556
  if (this.isExpansionFormStart()) {
17464
17557
  this._consumeExpansionFormStart();
@@ -18207,7 +18300,7 @@ var CursorError = class {
18207
18300
  }
18208
18301
  };
18209
18302
 
18210
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
18303
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
18211
18304
  var TreeError = class extends ParseError {
18212
18305
  static create(elementName, span, msg) {
18213
18306
  return new TreeError(elementName, span, msg);
@@ -18245,7 +18338,7 @@ var _TreeBuilder = class {
18245
18338
  this._advance();
18246
18339
  }
18247
18340
  build() {
18248
- while (this._peek.type !== 29) {
18341
+ while (this._peek.type !== 33) {
18249
18342
  if (this._peek.type === 0 || this._peek.type === 4) {
18250
18343
  this._consumeStartTag(this._advance());
18251
18344
  } else if (this._peek.type === 3) {
@@ -18270,6 +18363,12 @@ var _TreeBuilder = class {
18270
18363
  } else if (this._peek.type === 28) {
18271
18364
  this._closeVoidElement();
18272
18365
  this._consumeIncompleteBlock(this._advance());
18366
+ } else if (this._peek.type === 29) {
18367
+ this._closeVoidElement();
18368
+ this._consumeLet(this._advance());
18369
+ } else if (this._peek.type === 32) {
18370
+ this._closeVoidElement();
18371
+ this._consumeIncompleteLet(this._advance());
18273
18372
  } else {
18274
18373
  this._advance();
18275
18374
  }
@@ -18334,7 +18433,7 @@ var _TreeBuilder = class {
18334
18433
  if (!exp)
18335
18434
  return null;
18336
18435
  const end = this._advance();
18337
- exp.push({ type: 29, parts: [], sourceSpan: end.sourceSpan });
18436
+ exp.push({ type: 33, parts: [], sourceSpan: end.sourceSpan });
18338
18437
  const expansionCaseParser = new _TreeBuilder(exp, this.getTagDefinition);
18339
18438
  expansionCaseParser.build();
18340
18439
  if (expansionCaseParser.errors.length > 0) {
@@ -18370,7 +18469,7 @@ var _TreeBuilder = class {
18370
18469
  return null;
18371
18470
  }
18372
18471
  }
18373
- if (this._peek.type === 29) {
18472
+ if (this._peek.type === 33) {
18374
18473
  this.errors.push(TreeError.create(null, start.sourceSpan, `Invalid ICU message. Missing '}'.`));
18375
18474
  return null;
18376
18475
  }
@@ -18542,6 +18641,44 @@ var _TreeBuilder = class {
18542
18641
  this._popContainer(null, Block, null);
18543
18642
  this.errors.push(TreeError.create(token.parts[0], span, `Incomplete block "${token.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`));
18544
18643
  }
18644
+ _consumeLet(startToken) {
18645
+ const name = startToken.parts[0];
18646
+ let valueToken;
18647
+ let endToken;
18648
+ if (this._peek.type !== 30) {
18649
+ this.errors.push(TreeError.create(startToken.parts[0], startToken.sourceSpan, `Invalid @let declaration "${name}". Declaration must have a value.`));
18650
+ return;
18651
+ } else {
18652
+ valueToken = this._advance();
18653
+ }
18654
+ if (this._peek.type !== 31) {
18655
+ this.errors.push(TreeError.create(startToken.parts[0], startToken.sourceSpan, `Unterminated @let declaration "${name}". Declaration must be terminated with a semicolon.`));
18656
+ return;
18657
+ } else {
18658
+ endToken = this._advance();
18659
+ }
18660
+ const end = endToken.sourceSpan.fullStart;
18661
+ const span = new ParseSourceSpan(startToken.sourceSpan.start, end, startToken.sourceSpan.fullStart);
18662
+ const startOffset = startToken.sourceSpan.toString().lastIndexOf(name);
18663
+ const nameStart = startToken.sourceSpan.start.moveBy(startOffset);
18664
+ const nameSpan = new ParseSourceSpan(nameStart, startToken.sourceSpan.end);
18665
+ const node = new LetDeclaration2(name, valueToken.parts[0], span, nameSpan, valueToken.sourceSpan);
18666
+ this._addToParent(node);
18667
+ }
18668
+ _consumeIncompleteLet(token) {
18669
+ var _a2;
18670
+ const name = (_a2 = token.parts[0]) != null ? _a2 : "";
18671
+ const nameString = name ? ` "${name}"` : "";
18672
+ if (name.length > 0) {
18673
+ const startOffset = token.sourceSpan.toString().lastIndexOf(name);
18674
+ const nameStart = token.sourceSpan.start.moveBy(startOffset);
18675
+ const nameSpan = new ParseSourceSpan(nameStart, token.sourceSpan.end);
18676
+ const valueSpan = new ParseSourceSpan(token.sourceSpan.start, token.sourceSpan.start.moveBy(0));
18677
+ const node = new LetDeclaration2(name, "", token.sourceSpan, nameSpan, valueSpan);
18678
+ this._addToParent(node);
18679
+ }
18680
+ this.errors.push(TreeError.create(token.parts[0], token.sourceSpan, `Incomplete @let declaration${nameString}. @let declarations must be written as \`@let <name> = <value>;\``));
18681
+ }
18545
18682
  _getContainer() {
18546
18683
  return this._containerStack.length > 0 ? this._containerStack[this._containerStack.length - 1] : null;
18547
18684
  }
@@ -18591,7 +18728,7 @@ function decodeEntity(match, entity) {
18591
18728
  return match;
18592
18729
  }
18593
18730
 
18594
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
18731
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
18595
18732
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
18596
18733
  "iframe|srcdoc",
18597
18734
  "*|innerhtml",
@@ -18606,7 +18743,7 @@ function isTrustedTypesSink(tagName, propName) {
18606
18743
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
18607
18744
  }
18608
18745
 
18609
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
18746
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
18610
18747
  var setI18nRefs = (htmlNode, i18nNode) => {
18611
18748
  if (htmlNode instanceof NodeWithI18n) {
18612
18749
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -18714,6 +18851,9 @@ var I18nMetaVisitor = class {
18714
18851
  visitBlockParameter(parameter, context) {
18715
18852
  return parameter;
18716
18853
  }
18854
+ visitLetDeclaration(decl, context) {
18855
+ return decl;
18856
+ }
18717
18857
  _parseMetadata(meta) {
18718
18858
  return typeof meta === "string" ? parseI18nMeta(meta) : meta instanceof Message ? meta : {};
18719
18859
  }
@@ -18763,7 +18903,7 @@ function i18nMetaToJSDoc(meta) {
18763
18903
  return jsDocComment(tags);
18764
18904
  }
18765
18905
 
18766
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
18906
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
18767
18907
  var GOOG_GET_MSG = "goog.getMsg";
18768
18908
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
18769
18909
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -18814,7 +18954,7 @@ function serializeI18nMessageForGetMsg(message) {
18814
18954
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
18815
18955
  }
18816
18956
 
18817
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
18957
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
18818
18958
  function createLocalizeStatements(variable2, message, params) {
18819
18959
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
18820
18960
  const sourceSpan = getSourceSpan(message);
@@ -18903,7 +19043,7 @@ function createEmptyMessagePart(location) {
18903
19043
  return new LiteralPiece("", new ParseSourceSpan(location, location));
18904
19044
  }
18905
19045
 
18906
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
19046
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
18907
19047
  var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
18908
19048
  var TRANSLATION_VAR_PREFIX = "i18n_";
18909
19049
  var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
@@ -19074,7 +19214,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
19074
19214
  return variable(name);
19075
19215
  }
19076
19216
 
19077
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
19217
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
19078
19218
  function convertI18nText(job) {
19079
19219
  var _a2, _b2, _c2;
19080
19220
  for (const unit of job.units) {
@@ -19144,7 +19284,7 @@ function convertI18nText(job) {
19144
19284
  }
19145
19285
  }
19146
19286
 
19147
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
19287
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
19148
19288
  function liftLocalRefs(job) {
19149
19289
  for (const unit of job.units) {
19150
19290
  for (const op of unit.create) {
@@ -19174,7 +19314,7 @@ function serializeLocalRefs(refs) {
19174
19314
  return literalArr(constRefs);
19175
19315
  }
19176
19316
 
19177
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
19317
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
19178
19318
  function emitNamespaceChanges(job) {
19179
19319
  for (const unit of job.units) {
19180
19320
  let activeNamespace = Namespace.HTML;
@@ -19190,7 +19330,7 @@ function emitNamespaceChanges(job) {
19190
19330
  }
19191
19331
  }
19192
19332
 
19193
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
19333
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
19194
19334
  function parse(value) {
19195
19335
  const styles = [];
19196
19336
  let i = 0;
@@ -19284,7 +19424,7 @@ function parseExtractedStyles(job) {
19284
19424
  }
19285
19425
  }
19286
19426
 
19287
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
19427
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
19288
19428
  function nameFunctionsAndVariables(job) {
19289
19429
  addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
19290
19430
  }
@@ -19428,7 +19568,7 @@ function stripImportant(name) {
19428
19568
  return name;
19429
19569
  }
19430
19570
 
19431
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
19571
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
19432
19572
  function mergeNextContextExpressions(job) {
19433
19573
  for (const unit of job.units) {
19434
19574
  for (const op of unit.create) {
@@ -19474,7 +19614,7 @@ function mergeNextContextsInOps(ops) {
19474
19614
  }
19475
19615
  }
19476
19616
 
19477
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
19617
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
19478
19618
  var CONTAINER_TAG = "ng-container";
19479
19619
  function generateNgContainerOps(job) {
19480
19620
  for (const unit of job.units) {
@@ -19491,7 +19631,7 @@ function generateNgContainerOps(job) {
19491
19631
  }
19492
19632
  }
19493
19633
 
19494
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
19634
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
19495
19635
  function lookupElement3(elements, xref) {
19496
19636
  const el = elements.get(xref);
19497
19637
  if (el === void 0) {
@@ -19521,7 +19661,7 @@ function disableBindings(job) {
19521
19661
  }
19522
19662
  }
19523
19663
 
19524
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
19664
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
19525
19665
  function generateNullishCoalesceExpressions(job) {
19526
19666
  for (const unit of job.units) {
19527
19667
  for (const op of unit.ops()) {
@@ -19537,7 +19677,7 @@ function generateNullishCoalesceExpressions(job) {
19537
19677
  }
19538
19678
  }
19539
19679
 
19540
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
19680
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
19541
19681
  function kindTest(kind) {
19542
19682
  return (op) => op.kind === kind;
19543
19683
  }
@@ -19627,7 +19767,7 @@ function keepLast(ops) {
19627
19767
  return ops.slice(ops.length - 1);
19628
19768
  }
19629
19769
 
19630
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
19770
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
19631
19771
  function removeContentSelectors(job) {
19632
19772
  for (const unit of job.units) {
19633
19773
  const elements = createOpXrefMap(unit);
@@ -19654,7 +19794,7 @@ function lookupInXrefMap(map, xref) {
19654
19794
  return el;
19655
19795
  }
19656
19796
 
19657
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
19797
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
19658
19798
  function createPipes(job) {
19659
19799
  for (const unit of job.units) {
19660
19800
  processPipeBindingsInView(unit);
@@ -19702,7 +19842,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
19702
19842
  throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
19703
19843
  }
19704
19844
 
19705
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
19845
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
19706
19846
  function createVariadicPipes(job) {
19707
19847
  for (const unit of job.units) {
19708
19848
  for (const op of unit.update) {
@@ -19719,7 +19859,7 @@ function createVariadicPipes(job) {
19719
19859
  }
19720
19860
  }
19721
19861
 
19722
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
19862
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
19723
19863
  function propagateI18nBlocks(job) {
19724
19864
  propagateI18nBlocksToTemplates(job.root, 0);
19725
19865
  }
@@ -19773,7 +19913,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
19773
19913
  }
19774
19914
  }
19775
19915
 
19776
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
19916
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
19777
19917
  function extractPureFunctions(job) {
19778
19918
  for (const view of job.units) {
19779
19919
  for (const op of view.ops()) {
@@ -19815,7 +19955,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
19815
19955
  }
19816
19956
  };
19817
19957
 
19818
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
19958
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
19819
19959
  function generatePureLiteralStructures(job) {
19820
19960
  for (const unit of job.units) {
19821
19961
  for (const op of unit.update) {
@@ -19862,7 +20002,7 @@ function transformLiteralMap(expr) {
19862
20002
  return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
19863
20003
  }
19864
20004
 
19865
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
20005
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
19866
20006
  function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
19867
20007
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
19868
20008
  }
@@ -20385,7 +20525,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
20385
20525
  return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
20386
20526
  }
20387
20527
 
20388
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
20528
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
20389
20529
  var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
20390
20530
  ["window", Identifiers.resolveWindow],
20391
20531
  ["document", Identifiers.resolveDocument],
@@ -20741,7 +20881,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
20741
20881
  return fn(params, handlerStmts, void 0, void 0, name);
20742
20882
  }
20743
20883
 
20744
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
20884
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
20745
20885
  function removeEmptyBindings(job) {
20746
20886
  for (const unit of job.units) {
20747
20887
  for (const op of unit.update) {
@@ -20762,7 +20902,7 @@ function removeEmptyBindings(job) {
20762
20902
  }
20763
20903
  }
20764
20904
 
20765
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
20905
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
20766
20906
  function removeI18nContexts(job) {
20767
20907
  for (const unit of job.units) {
20768
20908
  for (const op of unit.create) {
@@ -20778,7 +20918,7 @@ function removeI18nContexts(job) {
20778
20918
  }
20779
20919
  }
20780
20920
 
20781
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
20921
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
20782
20922
  function removeUnusedI18nAttributesOps(job) {
20783
20923
  for (const unit of job.units) {
20784
20924
  const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
@@ -20800,7 +20940,7 @@ function removeUnusedI18nAttributesOps(job) {
20800
20940
  }
20801
20941
  }
20802
20942
 
20803
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
20943
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
20804
20944
  function resolveContexts(job) {
20805
20945
  for (const unit of job.units) {
20806
20946
  processLexicalScope(unit, unit.create);
@@ -20842,7 +20982,7 @@ function processLexicalScope(view, ops) {
20842
20982
  }
20843
20983
  }
20844
20984
 
20845
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
20985
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
20846
20986
  function resolveDollarEvent(job) {
20847
20987
  for (const unit of job.units) {
20848
20988
  transformDollarEvent(unit.create);
@@ -20865,7 +21005,7 @@ function transformDollarEvent(ops) {
20865
21005
  }
20866
21006
  }
20867
21007
 
20868
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
21008
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
20869
21009
  function resolveI18nElementPlaceholders(job) {
20870
21010
  const i18nContexts = /* @__PURE__ */ new Map();
20871
21011
  const elements = /* @__PURE__ */ new Map();
@@ -21044,7 +21184,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
21044
21184
  params.set(placeholder, values);
21045
21185
  }
21046
21186
 
21047
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
21187
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
21048
21188
  function resolveI18nExpressionPlaceholders(job) {
21049
21189
  var _a2;
21050
21190
  const subTemplateIndices = /* @__PURE__ */ new Map();
@@ -21097,7 +21237,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
21097
21237
  }
21098
21238
  }
21099
21239
 
21100
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
21240
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
21101
21241
  function resolveNames(job) {
21102
21242
  for (const unit of job.units) {
21103
21243
  processLexicalScope2(unit, unit.create, null);
@@ -21162,7 +21302,7 @@ function processLexicalScope2(unit, ops, savedView) {
21162
21302
  }
21163
21303
  }
21164
21304
 
21165
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
21305
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
21166
21306
  var sanitizerFns = /* @__PURE__ */ new Map([
21167
21307
  [SecurityContext.HTML, Identifiers.sanitizeHtml],
21168
21308
  [SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
@@ -21232,7 +21372,7 @@ function getOnlySecurityContext(securityContext) {
21232
21372
  return securityContext;
21233
21373
  }
21234
21374
 
21235
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
21375
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
21236
21376
  function transformTwoWayBindingSet(job) {
21237
21377
  for (const unit of job.units) {
21238
21378
  for (const op of unit.create) {
@@ -21255,7 +21395,7 @@ function transformTwoWayBindingSet(job) {
21255
21395
  }
21256
21396
  }
21257
21397
 
21258
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
21398
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
21259
21399
  function saveAndRestoreView(job) {
21260
21400
  for (const unit of job.units) {
21261
21401
  unit.create.prepend([
@@ -21300,7 +21440,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
21300
21440
  }
21301
21441
  }
21302
21442
 
21303
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
21443
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
21304
21444
  function allocateSlots(job) {
21305
21445
  const slotMap = /* @__PURE__ */ new Map();
21306
21446
  for (const unit of job.units) {
@@ -21325,7 +21465,7 @@ function allocateSlots(job) {
21325
21465
  }
21326
21466
  }
21327
21467
 
21328
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
21468
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
21329
21469
  function specializeStyleBindings(job) {
21330
21470
  for (const unit of job.units) {
21331
21471
  for (const op of unit.update) {
@@ -21355,7 +21495,7 @@ function specializeStyleBindings(job) {
21355
21495
  }
21356
21496
  }
21357
21497
 
21358
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
21498
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
21359
21499
  function generateTemporaryVariables(job) {
21360
21500
  for (const unit of job.units) {
21361
21501
  unit.create.prepend(generateTemporaries(unit.create));
@@ -21413,7 +21553,7 @@ function assignName(names, expr) {
21413
21553
  expr.name = name;
21414
21554
  }
21415
21555
 
21416
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
21556
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
21417
21557
  function generateTrackFns(job) {
21418
21558
  for (const unit of job.units) {
21419
21559
  for (const op of unit.create) {
@@ -21446,7 +21586,7 @@ function generateTrackFns(job) {
21446
21586
  }
21447
21587
  }
21448
21588
 
21449
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
21589
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
21450
21590
  function optimizeTrackFns(job) {
21451
21591
  for (const unit of job.units) {
21452
21592
  for (const op of unit.create) {
@@ -21496,7 +21636,7 @@ function isTrackByFunctionCall(rootView, expr) {
21496
21636
  return true;
21497
21637
  }
21498
21638
 
21499
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
21639
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
21500
21640
  function generateTrackVariables(job) {
21501
21641
  for (const unit of job.units) {
21502
21642
  for (const op of unit.create) {
@@ -21517,7 +21657,7 @@ function generateTrackVariables(job) {
21517
21657
  }
21518
21658
  }
21519
21659
 
21520
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
21660
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
21521
21661
  function countVariables(job) {
21522
21662
  for (const unit of job.units) {
21523
21663
  let varCount = 0;
@@ -21627,7 +21767,7 @@ function isSingletonInterpolation(expr) {
21627
21767
  return true;
21628
21768
  }
21629
21769
 
21630
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
21770
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
21631
21771
  function optimizeVariables(job) {
21632
21772
  for (const unit of job.units) {
21633
21773
  inlineAlwaysInlineVariables(unit.create);
@@ -21876,7 +22016,7 @@ function allowConservativeInlining(decl, target) {
21876
22016
  }
21877
22017
  }
21878
22018
 
21879
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
22019
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
21880
22020
  function wrapI18nIcus(job) {
21881
22021
  for (const unit of job.units) {
21882
22022
  let currentI18nOp = null;
@@ -21906,7 +22046,7 @@ function wrapI18nIcus(job) {
21906
22046
  }
21907
22047
  }
21908
22048
 
21909
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
22049
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
21910
22050
  var phases = [
21911
22051
  { kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
21912
22052
  { kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
@@ -22060,7 +22200,7 @@ function emitHostBindingFunction(job) {
22060
22200
  );
22061
22201
  }
22062
22202
 
22063
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
22203
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
22064
22204
  var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
22065
22205
  var domSchema = new DomElementSchemaRegistry();
22066
22206
  var NG_TEMPLATE_TAG_NAME = "ng-template";
@@ -22164,6 +22304,7 @@ function ingestNodes(unit, template2) {
22164
22304
  ingestIcu(unit, node);
22165
22305
  } else if (node instanceof ForLoopBlock) {
22166
22306
  ingestForBlock(unit, node);
22307
+ } else if (node instanceof LetDeclaration) {
22167
22308
  } else {
22168
22309
  throw new Error(`Unsupported template node: ${node.constructor.name}`);
22169
22310
  }
@@ -22811,7 +22952,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
22811
22952
  return null;
22812
22953
  }
22813
22954
 
22814
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
22955
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
22815
22956
  function renderFlagCheckIfStmt(flags, statements) {
22816
22957
  return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
22817
22958
  }
@@ -22931,7 +23072,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
22931
23072
  ], INFERRED_TYPE, null, contentQueriesFnName);
22932
23073
  }
22933
23074
 
22934
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
23075
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
22935
23076
  var HtmlParser = class extends Parser2 {
22936
23077
  constructor() {
22937
23078
  super(getHtmlTagDefinition);
@@ -22941,7 +23082,7 @@ var HtmlParser = class extends Parser2 {
22941
23082
  }
22942
23083
  };
22943
23084
 
22944
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
23085
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
22945
23086
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
22946
23087
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
22947
23088
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -22988,6 +23129,9 @@ var WhitespaceVisitor = class {
22988
23129
  visitBlockParameter(parameter, context) {
22989
23130
  return parameter;
22990
23131
  }
23132
+ visitLetDeclaration(decl, context) {
23133
+ return decl;
23134
+ }
22991
23135
  };
22992
23136
  function createWhitespaceProcessedTextToken({ type, parts, sourceSpan }) {
22993
23137
  return { type, parts: [processWhitespace(parts[0])], sourceSpan };
@@ -23007,7 +23151,7 @@ function visitAllWithSiblings(visitor, nodes) {
23007
23151
  return result;
23008
23152
  }
23009
23153
 
23010
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
23154
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
23011
23155
  var PROPERTY_PARTS_SEPARATOR = ".";
23012
23156
  var ATTRIBUTE_PREFIX = "attr";
23013
23157
  var CLASS_PREFIX = "class";
@@ -23361,7 +23505,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
23361
23505
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
23362
23506
  }
23363
23507
 
23364
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
23508
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
23365
23509
  function isStyleUrlResolvable(url) {
23366
23510
  if (url == null || url.length === 0 || url[0] == "/")
23367
23511
  return false;
@@ -23370,7 +23514,7 @@ function isStyleUrlResolvable(url) {
23370
23514
  }
23371
23515
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
23372
23516
 
23373
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
23517
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
23374
23518
  var NG_CONTENT_SELECT_ATTR = "select";
23375
23519
  var LINK_ELEMENT = "link";
23376
23520
  var LINK_STYLE_REL_ATTR = "rel";
@@ -23440,7 +23584,7 @@ function normalizeNgContentSelect(selectAttr) {
23440
23584
  return selectAttr;
23441
23585
  }
23442
23586
 
23443
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
23587
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
23444
23588
  var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
23445
23589
  var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
23446
23590
  var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
@@ -23763,7 +23907,7 @@ function stripOptionalParentheses(param, errors) {
23763
23907
  return expression.slice(start, end);
23764
23908
  }
23765
23909
 
23766
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
23910
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
23767
23911
  var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
23768
23912
  var SEPARATOR_PATTERN = /^\s$/;
23769
23913
  var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
@@ -24027,7 +24171,7 @@ function parseDeferredTime(value) {
24027
24171
  return parseFloat(time) * (units === "s" ? 1e3 : 1);
24028
24172
  }
24029
24173
 
24030
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
24174
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
24031
24175
  var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
24032
24176
  var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
24033
24177
  var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
@@ -24162,7 +24306,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
24162
24306
  return { triggers, prefetchTriggers };
24163
24307
  }
24164
24308
 
24165
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
24309
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
24166
24310
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
24167
24311
  var KW_BIND_IDX = 1;
24168
24312
  var KW_LET_IDX = 2;
@@ -24337,6 +24481,13 @@ var HtmlAstToIvyAst = class {
24337
24481
  }
24338
24482
  return null;
24339
24483
  }
24484
+ visitLetDeclaration(decl, context) {
24485
+ const value = this.bindingParser.parseBinding(decl.value, false, decl.valueSpan, decl.valueSpan.start.offset);
24486
+ if (value.errors.length === 0 && value.ast instanceof EmptyExpr) {
24487
+ this.reportError("@let declaration value cannot be empty", decl.valueSpan);
24488
+ }
24489
+ return new LetDeclaration(decl.name, value, decl.sourceSpan, decl.nameSpan, decl.valueSpan);
24490
+ }
24340
24491
  visitBlockParameter() {
24341
24492
  return null;
24342
24493
  }
@@ -24603,6 +24754,9 @@ var NonBindableVisitor = class {
24603
24754
  visitBlockParameter(parameter, context) {
24604
24755
  return null;
24605
24756
  }
24757
+ visitLetDeclaration(decl, context) {
24758
+ return new Text(`@let ${decl.name} = ${decl.value};`, decl.sourceSpan);
24759
+ }
24606
24760
  };
24607
24761
  var NON_BINDABLE_VISITOR = new NonBindableVisitor();
24608
24762
  function normalizeAttributeName(attrName) {
@@ -24619,10 +24773,10 @@ function textContents(node) {
24619
24773
  }
24620
24774
  }
24621
24775
 
24622
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
24776
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
24623
24777
  var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
24624
24778
  function parseTemplate(template2, templateUrl, options = {}) {
24625
- var _a2;
24779
+ var _a2, _b2;
24626
24780
  const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat, allowInvalidAssignmentEvents } = options;
24627
24781
  const bindingParser = makeBindingParser(interpolationConfig, allowInvalidAssignmentEvents);
24628
24782
  const htmlParser = new HtmlParser();
@@ -24630,7 +24784,8 @@ function parseTemplate(template2, templateUrl, options = {}) {
24630
24784
  leadingTriviaChars: LEADING_TRIVIA_CHARS
24631
24785
  }, options), {
24632
24786
  tokenizeExpansionForms: true,
24633
- tokenizeBlocks: (_a2 = options.enableBlockSyntax) != null ? _a2 : true
24787
+ tokenizeBlocks: (_a2 = options.enableBlockSyntax) != null ? _a2 : true,
24788
+ tokenizeLet: (_b2 = options.enableLetSyntax) != null ? _b2 : false
24634
24789
  }));
24635
24790
  if (!options.alwaysAttemptHtmlToR3AstConversion && parseResult.errors && parseResult.errors.length > 0) {
24636
24791
  const parsedTemplate2 = {
@@ -24697,7 +24852,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
24697
24852
  return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
24698
24853
  }
24699
24854
 
24700
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
24855
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
24701
24856
  var COMPONENT_VARIABLE = "%COMP%";
24702
24857
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
24703
24858
  var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
@@ -25088,7 +25243,7 @@ function compileDeferResolverFunction(meta) {
25088
25243
  return arrowFn([], literalArr(depExpressions));
25089
25244
  }
25090
25245
 
25091
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
25246
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
25092
25247
  var R3TargetBinder = class {
25093
25248
  constructor(directiveMatcher) {
25094
25249
  this.directiveMatcher = directiveMatcher;
@@ -25194,6 +25349,9 @@ var Scope2 = class {
25194
25349
  visitContent(content) {
25195
25350
  this.ingestScopedNode(content);
25196
25351
  }
25352
+ visitLetDeclaration(decl) {
25353
+ this.maybeDeclare(decl);
25354
+ }
25197
25355
  visitBoundAttribute(attr) {
25198
25356
  }
25199
25357
  visitBoundEvent(event) {
@@ -25371,6 +25529,8 @@ var DirectiveBinder = class {
25371
25529
  }
25372
25530
  visitUnknownBlock(block) {
25373
25531
  }
25532
+ visitLetDeclaration(decl) {
25533
+ }
25374
25534
  };
25375
25535
  var TemplateBinder = class extends RecursiveAstVisitor2 {
25376
25536
  constructor(bindings, symbols, usedPipes, eagerPipes, deferBlocks, nestingLevel, scope, rootNode, level) {
@@ -25527,6 +25687,12 @@ var TemplateBinder = class extends RecursiveAstVisitor2 {
25527
25687
  visitBoundText(text2) {
25528
25688
  text2.value.visit(this);
25529
25689
  }
25690
+ visitLetDeclaration(decl) {
25691
+ decl.value.visit(this);
25692
+ if (this.rootNode !== null) {
25693
+ this.symbols.set(decl, this.rootNode);
25694
+ }
25695
+ }
25530
25696
  visitPipe(ast, context) {
25531
25697
  this.usedPipes.add(ast.name);
25532
25698
  if (!this.scope.isDeferred) {
@@ -25555,7 +25721,10 @@ var TemplateBinder = class extends RecursiveAstVisitor2 {
25555
25721
  if (!(ast.receiver instanceof ImplicitReceiver)) {
25556
25722
  return;
25557
25723
  }
25558
- let target = this.scope.lookup(name);
25724
+ const target = this.scope.lookup(name);
25725
+ if (target instanceof LetDeclaration && ast.receiver instanceof ThisReceiver) {
25726
+ return;
25727
+ }
25559
25728
  if (target !== null) {
25560
25729
  this.bindings.set(ast, target);
25561
25730
  }
@@ -25721,11 +25890,11 @@ function extractScopedNodeEntities(rootScope) {
25721
25890
  return templateEntities;
25722
25891
  }
25723
25892
 
25724
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25893
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25725
25894
  var ResourceLoader = class {
25726
25895
  };
25727
25896
 
25728
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25897
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25729
25898
  var CompilerFacadeImpl = class {
25730
25899
  constructor(jitEvaluator = new JitEvaluator()) {
25731
25900
  this.jitEvaluator = jitEvaluator;
@@ -26291,10 +26460,10 @@ function publishFacade(global) {
26291
26460
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
26292
26461
  }
26293
26462
 
26294
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
26295
- var VERSION2 = new Version("18.0.1");
26463
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
26464
+ var VERSION2 = new Version("18.0.2");
26296
26465
 
26297
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
26466
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
26298
26467
  var _I18N_ATTR = "i18n";
26299
26468
  var _I18N_ATTR_PREFIX = "i18n-";
26300
26469
  var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
@@ -26469,6 +26638,8 @@ var _Visitor3 = class {
26469
26638
  }
26470
26639
  visitBlockParameter(parameter, context) {
26471
26640
  }
26641
+ visitLetDeclaration(decl, context) {
26642
+ }
26472
26643
  _init(mode, interpolationConfig) {
26473
26644
  this._mode = mode;
26474
26645
  this._inI18nBlock = false;
@@ -26603,7 +26774,7 @@ function _parseMessageMeta(i18n2) {
26603
26774
  return { meaning, description, id: id.trim() };
26604
26775
  }
26605
26776
 
26606
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
26777
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
26607
26778
  var XmlTagDefinition = class {
26608
26779
  constructor() {
26609
26780
  this.closedByParent = false;
@@ -26628,17 +26799,17 @@ function getXmlTagDefinition(tagName) {
26628
26799
  return _TAG_DEFINITION;
26629
26800
  }
26630
26801
 
26631
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
26802
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
26632
26803
  var XmlParser = class extends Parser2 {
26633
26804
  constructor() {
26634
26805
  super(getXmlTagDefinition);
26635
26806
  }
26636
26807
  parse(source, url, options = {}) {
26637
- return super.parse(source, url, __spreadProps(__spreadValues({}, options), { tokenizeBlocks: false }));
26808
+ return super.parse(source, url, __spreadProps(__spreadValues({}, options), { tokenizeBlocks: false, tokenizeLet: false }));
26638
26809
  }
26639
26810
  };
26640
26811
 
26641
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
26812
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
26642
26813
  var _VERSION = "1.2";
26643
26814
  var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
26644
26815
  var _DEFAULT_SOURCE_LANG = "en";
@@ -26848,6 +27019,8 @@ var XliffParser = class {
26848
27019
  }
26849
27020
  visitBlockParameter(parameter, context) {
26850
27021
  }
27022
+ visitLetDeclaration(decl, context) {
27023
+ }
26851
27024
  _addError(node, message) {
26852
27025
  this._errors.push(new I18nError(node.sourceSpan, message));
26853
27026
  }
@@ -26901,6 +27074,8 @@ var XmlToI18n = class {
26901
27074
  }
26902
27075
  visitBlockParameter(parameter, context) {
26903
27076
  }
27077
+ visitLetDeclaration(decl, context) {
27078
+ }
26904
27079
  _addError(node, message) {
26905
27080
  this._errors.push(new I18nError(node.sourceSpan, message));
26906
27081
  }
@@ -26916,7 +27091,7 @@ function getCtypeForTag(tag) {
26916
27091
  }
26917
27092
  }
26918
27093
 
26919
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
27094
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
26920
27095
  var _VERSION2 = "2.0";
26921
27096
  var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
26922
27097
  var _DEFAULT_SOURCE_LANG2 = "en";
@@ -27155,6 +27330,8 @@ var Xliff2Parser = class {
27155
27330
  }
27156
27331
  visitBlockParameter(parameter, context) {
27157
27332
  }
27333
+ visitLetDeclaration(decl, context) {
27334
+ }
27158
27335
  _addError(node, message) {
27159
27336
  this._errors.push(new I18nError(node.sourceSpan, message));
27160
27337
  }
@@ -27223,6 +27400,8 @@ var XmlToI18n2 = class {
27223
27400
  }
27224
27401
  visitBlockParameter(parameter, context) {
27225
27402
  }
27403
+ visitLetDeclaration(decl, context) {
27404
+ }
27226
27405
  _addError(node, message) {
27227
27406
  this._errors.push(new I18nError(node.sourceSpan, message));
27228
27407
  }
@@ -27243,7 +27422,7 @@ function getTypeForTag(tag) {
27243
27422
  }
27244
27423
  }
27245
27424
 
27246
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
27425
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
27247
27426
  var MessageBundle = class {
27248
27427
  constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
27249
27428
  this._htmlParser = _htmlParser;
@@ -27319,7 +27498,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
27319
27498
  }
27320
27499
  };
27321
27500
 
27322
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
27501
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
27323
27502
  var FactoryTarget2;
27324
27503
  (function(FactoryTarget3) {
27325
27504
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -27329,7 +27508,7 @@ var FactoryTarget2;
27329
27508
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
27330
27509
  })(FactoryTarget2 || (FactoryTarget2 = {}));
27331
27510
 
27332
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
27511
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
27333
27512
  function compileClassMetadata(metadata) {
27334
27513
  const fnCall = internalCompileClassMetadata(metadata);
27335
27514
  return arrowFn([], [devOnlyGuardedExpression(fnCall).toStmt()]).callFn([]);
@@ -27363,7 +27542,7 @@ function compileComponentMetadataAsyncResolver(dependencies) {
27363
27542
  return arrowFn([], literalArr(dynamicImports));
27364
27543
  }
27365
27544
 
27366
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
27545
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
27367
27546
  function compileClassDebugInfo(debugInfo) {
27368
27547
  const debugInfoObject = {
27369
27548
  className: debugInfo.className
@@ -27380,13 +27559,13 @@ function compileClassDebugInfo(debugInfo) {
27380
27559
  return iife.callFn([]);
27381
27560
  }
27382
27561
 
27383
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
27562
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
27384
27563
  var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
27385
27564
  var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
27386
27565
  function compileDeclareClassMetadata(metadata) {
27387
27566
  const definitionMap = new DefinitionMap();
27388
27567
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
27389
- definitionMap.set("version", literal("18.0.1"));
27568
+ definitionMap.set("version", literal("18.0.2"));
27390
27569
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27391
27570
  definitionMap.set("type", metadata.type);
27392
27571
  definitionMap.set("decorators", metadata.decorators);
@@ -27405,7 +27584,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
27405
27584
  callbackReturnDefinitionMap.set("ctorParameters", (_a2 = metadata.ctorParameters) != null ? _a2 : literal(null));
27406
27585
  callbackReturnDefinitionMap.set("propDecorators", (_b2 = metadata.propDecorators) != null ? _b2 : literal(null));
27407
27586
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
27408
- definitionMap.set("version", literal("18.0.1"));
27587
+ definitionMap.set("version", literal("18.0.2"));
27409
27588
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27410
27589
  definitionMap.set("type", metadata.type);
27411
27590
  definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
@@ -27413,7 +27592,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
27413
27592
  return importExpr(Identifiers.declareClassMetadataAsync).callFn([definitionMap.toLiteralMap()]);
27414
27593
  }
27415
27594
 
27416
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
27595
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
27417
27596
  function toOptionalLiteralArray(values, mapper) {
27418
27597
  if (values === null || values.length === 0) {
27419
27598
  return null;
@@ -27461,7 +27640,7 @@ function compileDependency(dep) {
27461
27640
  return depMeta.toLiteralMap();
27462
27641
  }
27463
27642
 
27464
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
27643
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
27465
27644
  function compileDeclareDirectiveFromMetadata(meta) {
27466
27645
  const definitionMap = createDirectiveDefinitionMap(meta);
27467
27646
  const expression = importExpr(Identifiers.declareDirective).callFn([definitionMap.toLiteralMap()]);
@@ -27473,7 +27652,7 @@ function createDirectiveDefinitionMap(meta) {
27473
27652
  const definitionMap = new DefinitionMap();
27474
27653
  const minVersion = getMinimumVersionForPartialOutput(meta);
27475
27654
  definitionMap.set("minVersion", literal(minVersion));
27476
- definitionMap.set("version", literal("18.0.1"));
27655
+ definitionMap.set("version", literal("18.0.2"));
27477
27656
  definitionMap.set("type", meta.type.value);
27478
27657
  if (meta.isStandalone) {
27479
27658
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -27635,7 +27814,7 @@ function legacyInputsPartialMetadata(inputs) {
27635
27814
  }));
27636
27815
  }
27637
27816
 
27638
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
27817
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
27639
27818
  function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
27640
27819
  const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
27641
27820
  const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
@@ -27786,12 +27965,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
27786
27965
  }
27787
27966
  };
27788
27967
 
27789
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
27968
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
27790
27969
  var MINIMUM_PARTIAL_LINKER_VERSION2 = "12.0.0";
27791
27970
  function compileDeclareFactoryFunction(meta) {
27792
27971
  const definitionMap = new DefinitionMap();
27793
27972
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
27794
- definitionMap.set("version", literal("18.0.1"));
27973
+ definitionMap.set("version", literal("18.0.2"));
27795
27974
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27796
27975
  definitionMap.set("type", meta.type.value);
27797
27976
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -27803,7 +27982,7 @@ function compileDeclareFactoryFunction(meta) {
27803
27982
  };
27804
27983
  }
27805
27984
 
27806
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
27985
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
27807
27986
  var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
27808
27987
  function compileDeclareInjectableFromMetadata(meta) {
27809
27988
  const definitionMap = createInjectableDefinitionMap(meta);
@@ -27814,7 +27993,7 @@ function compileDeclareInjectableFromMetadata(meta) {
27814
27993
  function createInjectableDefinitionMap(meta) {
27815
27994
  const definitionMap = new DefinitionMap();
27816
27995
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
27817
- definitionMap.set("version", literal("18.0.1"));
27996
+ definitionMap.set("version", literal("18.0.2"));
27818
27997
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27819
27998
  definitionMap.set("type", meta.type.value);
27820
27999
  if (meta.providedIn !== void 0) {
@@ -27841,7 +28020,7 @@ function createInjectableDefinitionMap(meta) {
27841
28020
  return definitionMap;
27842
28021
  }
27843
28022
 
27844
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
28023
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
27845
28024
  var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
27846
28025
  function compileDeclareInjectorFromMetadata(meta) {
27847
28026
  const definitionMap = createInjectorDefinitionMap(meta);
@@ -27852,7 +28031,7 @@ function compileDeclareInjectorFromMetadata(meta) {
27852
28031
  function createInjectorDefinitionMap(meta) {
27853
28032
  const definitionMap = new DefinitionMap();
27854
28033
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
27855
- definitionMap.set("version", literal("18.0.1"));
28034
+ definitionMap.set("version", literal("18.0.2"));
27856
28035
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27857
28036
  definitionMap.set("type", meta.type.value);
27858
28037
  definitionMap.set("providers", meta.providers);
@@ -27862,7 +28041,7 @@ function createInjectorDefinitionMap(meta) {
27862
28041
  return definitionMap;
27863
28042
  }
27864
28043
 
27865
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
28044
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
27866
28045
  var MINIMUM_PARTIAL_LINKER_VERSION5 = "14.0.0";
27867
28046
  function compileDeclareNgModuleFromMetadata(meta) {
27868
28047
  const definitionMap = createNgModuleDefinitionMap(meta);
@@ -27876,7 +28055,7 @@ function createNgModuleDefinitionMap(meta) {
27876
28055
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
27877
28056
  }
27878
28057
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
27879
- definitionMap.set("version", literal("18.0.1"));
28058
+ definitionMap.set("version", literal("18.0.2"));
27880
28059
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27881
28060
  definitionMap.set("type", meta.type.value);
27882
28061
  if (meta.bootstrap.length > 0) {
@@ -27900,7 +28079,7 @@ function createNgModuleDefinitionMap(meta) {
27900
28079
  return definitionMap;
27901
28080
  }
27902
28081
 
27903
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
28082
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
27904
28083
  var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
27905
28084
  function compileDeclarePipeFromMetadata(meta) {
27906
28085
  const definitionMap = createPipeDefinitionMap(meta);
@@ -27911,7 +28090,7 @@ function compileDeclarePipeFromMetadata(meta) {
27911
28090
  function createPipeDefinitionMap(meta) {
27912
28091
  const definitionMap = new DefinitionMap();
27913
28092
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
27914
- definitionMap.set("version", literal("18.0.1"));
28093
+ definitionMap.set("version", literal("18.0.2"));
27915
28094
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27916
28095
  definitionMap.set("type", meta.type.value);
27917
28096
  if (meta.isStandalone) {
@@ -27924,16 +28103,16 @@ function createPipeDefinitionMap(meta) {
27924
28103
  return definitionMap;
27925
28104
  }
27926
28105
 
27927
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
28106
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
27928
28107
  publishFacade(_global);
27929
28108
 
27930
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
27931
- var VERSION3 = new Version("18.0.1");
28109
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
28110
+ var VERSION3 = new Version("18.0.2");
27932
28111
 
27933
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
28112
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
27934
28113
  var import_typescript5 = __toESM(require("typescript"), 1);
27935
28114
 
27936
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
28115
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
27937
28116
  var ErrorCode;
27938
28117
  (function(ErrorCode2) {
27939
28118
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -28004,6 +28183,9 @@ var ErrorCode;
28004
28183
  ErrorCode2[ErrorCode2["DEFERRED_PIPE_USED_EAGERLY"] = 8012] = "DEFERRED_PIPE_USED_EAGERLY";
28005
28184
  ErrorCode2[ErrorCode2["DEFERRED_DIRECTIVE_USED_EAGERLY"] = 8013] = "DEFERRED_DIRECTIVE_USED_EAGERLY";
28006
28185
  ErrorCode2[ErrorCode2["DEFERRED_DEPENDENCY_IMPORTED_EAGERLY"] = 8014] = "DEFERRED_DEPENDENCY_IMPORTED_EAGERLY";
28186
+ ErrorCode2[ErrorCode2["ILLEGAL_LET_WRITE"] = 8015] = "ILLEGAL_LET_WRITE";
28187
+ ErrorCode2[ErrorCode2["LET_USED_BEFORE_DEFINITION"] = 8016] = "LET_USED_BEFORE_DEFINITION";
28188
+ ErrorCode2[ErrorCode2["DUPLICATE_LET_DECLARATION"] = 8017] = "DUPLICATE_LET_DECLARATION";
28007
28189
  ErrorCode2[ErrorCode2["INVALID_BANANA_IN_BOX"] = 8101] = "INVALID_BANANA_IN_BOX";
28008
28190
  ErrorCode2[ErrorCode2["NULLISH_COALESCING_NOT_NULLABLE"] = 8102] = "NULLISH_COALESCING_NOT_NULLABLE";
28009
28191
  ErrorCode2[ErrorCode2["MISSING_CONTROL_FLOW_DIRECTIVE"] = 8103] = "MISSING_CONTROL_FLOW_DIRECTIVE";
@@ -28023,7 +28205,7 @@ var ErrorCode;
28023
28205
  ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
28024
28206
  })(ErrorCode || (ErrorCode = {}));
28025
28207
 
28026
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
28208
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
28027
28209
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
28028
28210
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
28029
28211
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -28035,15 +28217,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
28035
28217
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
28036
28218
  ]);
28037
28219
 
28038
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
28220
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
28039
28221
  var import_typescript2 = __toESM(require("typescript"), 1);
28040
28222
 
28041
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
28223
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
28042
28224
  function ngErrorCode(code) {
28043
28225
  return parseInt("-99" + code);
28044
28226
  }
28045
28227
 
28046
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
28228
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
28047
28229
  var FatalDiagnosticError = class extends Error {
28048
28230
  constructor(code, node, diagnosticMessage, relatedInformation) {
28049
28231
  super(`FatalDiagnosticError: Code: ${code}, Message: ${import_typescript2.default.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
@@ -28104,10 +28286,10 @@ function isFatalDiagnosticError(err) {
28104
28286
  return err._isFatalDiagnosticError === true;
28105
28287
  }
28106
28288
 
28107
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
28289
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
28108
28290
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
28109
28291
 
28110
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
28292
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
28111
28293
  var ExtendedTemplateDiagnosticName;
28112
28294
  (function(ExtendedTemplateDiagnosticName2) {
28113
28295
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -28122,7 +28304,7 @@ var ExtendedTemplateDiagnosticName;
28122
28304
  ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
28123
28305
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
28124
28306
 
28125
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
28307
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
28126
28308
  var import_typescript3 = __toESM(require("typescript"), 1);
28127
28309
  var TS = /\.tsx?$/i;
28128
28310
  var D_TS = /\.d\.ts$/i;
@@ -28223,7 +28405,7 @@ function toUnredirectedSourceFile(sf) {
28223
28405
  return redirectInfo.unredirected;
28224
28406
  }
28225
28407
 
28226
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
28408
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
28227
28409
  function findExportedNameOfNode(target, file, reflector) {
28228
28410
  const exports = reflector.getExportsOfModule(file);
28229
28411
  if (exports === null) {
@@ -28243,7 +28425,7 @@ function findExportedNameOfNode(target, file, reflector) {
28243
28425
  return foundExportName;
28244
28426
  }
28245
28427
 
28246
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
28428
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
28247
28429
  var ImportFlags;
28248
28430
  (function(ImportFlags2) {
28249
28431
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -28474,7 +28656,7 @@ var UnifiedModulesStrategy = class {
28474
28656
  }
28475
28657
  };
28476
28658
 
28477
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
28659
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
28478
28660
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
28479
28661
  var UnifiedModulesAliasingHost = class {
28480
28662
  constructor(unifiedModulesHost) {
@@ -28541,7 +28723,7 @@ var AliasStrategy = class {
28541
28723
  }
28542
28724
  };
28543
28725
 
28544
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
28726
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
28545
28727
  function relativePathBetween(from, to) {
28546
28728
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
28547
28729
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -28550,7 +28732,7 @@ function normalizeSeparators2(path4) {
28550
28732
  return path4.replace(/\\/g, "/");
28551
28733
  }
28552
28734
 
28553
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
28735
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
28554
28736
  var NoopImportRewriter = class {
28555
28737
  rewriteSymbol(symbol, specifier) {
28556
28738
  return symbol;
@@ -28603,7 +28785,7 @@ function validateAndRewriteCoreSymbol(name) {
28603
28785
  return CORE_SUPPORTED_SYMBOLS.get(name);
28604
28786
  }
28605
28787
 
28606
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
28788
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
28607
28789
  var import_typescript7 = __toESM(require("typescript"), 1);
28608
28790
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
28609
28791
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -28638,7 +28820,7 @@ function throwIncompatibleTransformationContextError() {
28638
28820
  throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
28639
28821
  }
28640
28822
 
28641
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
28823
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
28642
28824
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
28643
28825
  function attachDefaultImportDeclaration(expr, importDecl) {
28644
28826
  expr[DefaultImportDeclaration] = importDecl;
@@ -28679,13 +28861,13 @@ var DefaultImportTracker = class {
28679
28861
  }
28680
28862
  };
28681
28863
 
28682
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
28864
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
28683
28865
  var import_typescript13 = __toESM(require("typescript"), 1);
28684
28866
 
28685
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
28867
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
28686
28868
  var import_typescript12 = __toESM(require("typescript"), 1);
28687
28869
 
28688
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
28870
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
28689
28871
  var import_typescript9 = __toESM(require("typescript"), 1);
28690
28872
  function isDecoratorIdentifier(exp) {
28691
28873
  return import_typescript9.default.isIdentifier(exp) || import_typescript9.default.isPropertyAccessExpression(exp) && import_typescript9.default.isIdentifier(exp.expression) && import_typescript9.default.isIdentifier(exp.name);
@@ -28708,7 +28890,7 @@ var ClassMemberAccessLevel;
28708
28890
  })(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
28709
28891
  var AmbientImport = {};
28710
28892
 
28711
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
28893
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
28712
28894
  var import_typescript10 = __toESM(require("typescript"), 1);
28713
28895
  function typeToValue(typeNode, checker, isLocalCompilation) {
28714
28896
  var _a2, _b2;
@@ -28881,7 +29063,7 @@ function extractModuleName(node) {
28881
29063
  return node.moduleSpecifier.text;
28882
29064
  }
28883
29065
 
28884
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
29066
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
28885
29067
  var import_typescript11 = __toESM(require("typescript"), 1);
28886
29068
  function isNamedClassDeclaration(node) {
28887
29069
  return import_typescript11.default.isClassDeclaration(node) && isIdentifier(node.name);
@@ -28905,7 +29087,7 @@ function classMemberAccessLevelToString(level) {
28905
29087
  }
28906
29088
  }
28907
29089
 
28908
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
29090
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
28909
29091
  var TypeScriptReflectionHost = class {
28910
29092
  constructor(checker, isLocalCompilation = false) {
28911
29093
  this.checker = checker;
@@ -29392,7 +29574,7 @@ function getExportedName(decl, originalId) {
29392
29574
  }
29393
29575
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
29394
29576
 
29395
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
29577
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
29396
29578
  var AssumeEager = "AssumeEager";
29397
29579
  var DeferredSymbolTracker = class {
29398
29580
  constructor(typeChecker, onlyExplicitDeferDependencyImports) {
@@ -29512,7 +29694,7 @@ var DeferredSymbolTracker = class {
29512
29694
  }
29513
29695
  };
29514
29696
 
29515
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
29697
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
29516
29698
  var import_typescript15 = __toESM(require("typescript"), 1);
29517
29699
  var ImportedSymbolsTracker = class {
29518
29700
  constructor() {
@@ -29582,7 +29764,7 @@ var ImportedSymbolsTracker = class {
29582
29764
  }
29583
29765
  };
29584
29766
 
29585
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
29767
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
29586
29768
  var import_typescript16 = __toESM(require("typescript"), 1);
29587
29769
  var LocalCompilationExtraImportsTracker = class {
29588
29770
  constructor(typeChecker) {
@@ -29626,7 +29808,7 @@ function removeQuotations(s) {
29626
29808
  return s.substring(1, s.length - 1).trim();
29627
29809
  }
29628
29810
 
29629
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
29811
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
29630
29812
  var Reference2 = class {
29631
29813
  constructor(node, bestGuessOwningModule = null) {
29632
29814
  this.node = node;
@@ -29695,7 +29877,7 @@ var Reference2 = class {
29695
29877
  }
29696
29878
  };
29697
29879
 
29698
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
29880
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
29699
29881
  var ModuleResolver = class {
29700
29882
  constructor(program, compilerOptions, host, moduleResolutionCache) {
29701
29883
  this.program = program;
@@ -29712,16 +29894,16 @@ var ModuleResolver = class {
29712
29894
  }
29713
29895
  };
29714
29896
 
29715
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
29897
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
29716
29898
  var import_typescript21 = __toESM(require("typescript"), 1);
29717
29899
 
29718
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
29900
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
29719
29901
  var import_typescript70 = __toESM(require("typescript"), 1);
29720
29902
 
29721
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
29903
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
29722
29904
  var import_typescript23 = __toESM(require("typescript"), 1);
29723
29905
 
29724
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
29906
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
29725
29907
  var import_typescript22 = __toESM(require("typescript"), 1);
29726
29908
  var CORE_MODULE2 = "@angular/core";
29727
29909
  function valueReferenceToExpression(valueRef) {
@@ -29979,7 +30161,7 @@ function isAbstractClassDeclaration(clazz) {
29979
30161
  return import_typescript22.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript22.default.SyntaxKind.AbstractKeyword) : false;
29980
30162
  }
29981
30163
 
29982
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
30164
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
29983
30165
  function getConstructorDependencies(clazz, reflector, isCore) {
29984
30166
  const deps = [];
29985
30167
  const errors = [];
@@ -30123,10 +30305,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
30123
30305
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
30124
30306
  }
30125
30307
 
30126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
30308
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
30127
30309
  var import_typescript46 = __toESM(require("typescript"), 1);
30128
30310
 
30129
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
30311
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
30130
30312
  var MetaKind;
30131
30313
  (function(MetaKind2) {
30132
30314
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -30139,10 +30321,10 @@ var MatchSource;
30139
30321
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
30140
30322
  })(MatchSource || (MatchSource = {}));
30141
30323
 
30142
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
30324
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
30143
30325
  var import_typescript26 = __toESM(require("typescript"), 1);
30144
30326
 
30145
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
30327
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
30146
30328
  var ClassPropertyMapping = class {
30147
30329
  constructor(forwardMap) {
30148
30330
  this.forwardMap = forwardMap;
@@ -30222,7 +30404,7 @@ function reverseMapFromForwardMap(forwardMap) {
30222
30404
  return reverseMap;
30223
30405
  }
30224
30406
 
30225
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
30407
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
30226
30408
  var import_typescript24 = __toESM(require("typescript"), 1);
30227
30409
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
30228
30410
  if (!import_typescript24.default.isTupleTypeNode(def)) {
@@ -30418,7 +30600,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
30418
30600
  return hostDirectiveMeta.directive instanceof Reference2;
30419
30601
  }
30420
30602
 
30421
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
30603
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
30422
30604
  var DtsMetadataReader = class {
30423
30605
  constructor(checker, reflector) {
30424
30606
  this.checker = checker;
@@ -30601,7 +30783,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
30601
30783
  return result.length > 0 ? result : null;
30602
30784
  }
30603
30785
 
30604
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
30786
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
30605
30787
  function flattenInheritedDirectiveMetadata(reader, dir) {
30606
30788
  const topMeta = reader.getDirectiveMetadata(dir);
30607
30789
  if (topMeta === null) {
@@ -30664,7 +30846,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
30664
30846
  });
30665
30847
  }
30666
30848
 
30667
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
30849
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
30668
30850
  var LocalMetadataRegistry = class {
30669
30851
  constructor() {
30670
30852
  this.directives = /* @__PURE__ */ new Map();
@@ -30721,7 +30903,7 @@ var CompoundMetadataRegistry = class {
30721
30903
  }
30722
30904
  };
30723
30905
 
30724
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
30906
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
30725
30907
  var ResourceRegistry = class {
30726
30908
  constructor() {
30727
30909
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -30786,7 +30968,7 @@ var ResourceRegistry = class {
30786
30968
  }
30787
30969
  };
30788
30970
 
30789
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
30971
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
30790
30972
  var ExportedProviderStatusResolver = class {
30791
30973
  constructor(metaReader) {
30792
30974
  this.metaReader = metaReader;
@@ -30830,7 +31012,7 @@ var ExportedProviderStatusResolver = class {
30830
31012
  }
30831
31013
  };
30832
31014
 
30833
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
31015
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
30834
31016
  var EMPTY_ARRAY = [];
30835
31017
  var HostDirectivesResolver = class {
30836
31018
  constructor(metaReader) {
@@ -30895,10 +31077,10 @@ function resolveOutput(bindingName) {
30895
31077
  return bindingName;
30896
31078
  }
30897
31079
 
30898
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
31080
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
30899
31081
  var import_typescript28 = __toESM(require("typescript"), 1);
30900
31082
 
30901
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
31083
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
30902
31084
  var DynamicValue = class {
30903
31085
  constructor(node, reason, code) {
30904
31086
  this.node = node;
@@ -30988,7 +31170,7 @@ var DynamicValue = class {
30988
31170
  }
30989
31171
  };
30990
31172
 
30991
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
31173
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
30992
31174
  var ResolvedModule = class {
30993
31175
  constructor(exports, evaluate) {
30994
31176
  this.exports = exports;
@@ -31018,7 +31200,7 @@ var EnumValue = class {
31018
31200
  var KnownFn = class {
31019
31201
  };
31020
31202
 
31021
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
31203
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
31022
31204
  function describeResolvedType(value, maxDepth = 1) {
31023
31205
  var _a2, _b2;
31024
31206
  if (value === null) {
@@ -31151,10 +31333,10 @@ function getContainerNode(node) {
31151
31333
  return node.getSourceFile();
31152
31334
  }
31153
31335
 
31154
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
31336
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
31155
31337
  var import_typescript29 = __toESM(require("typescript"), 1);
31156
31338
 
31157
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
31339
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
31158
31340
  var ArraySliceBuiltinFn = class extends KnownFn {
31159
31341
  constructor(lhs) {
31160
31342
  super();
@@ -31206,14 +31388,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
31206
31388
  }
31207
31389
  };
31208
31390
 
31209
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
31391
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
31210
31392
  var SyntheticValue = class {
31211
31393
  constructor(value) {
31212
31394
  this.value = value;
31213
31395
  }
31214
31396
  };
31215
31397
 
31216
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
31398
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
31217
31399
  function literalBinaryOp(op) {
31218
31400
  return { op, literal: true };
31219
31401
  }
@@ -31788,7 +31970,7 @@ function owningModule(context, override = null) {
31788
31970
  }
31789
31971
  }
31790
31972
 
31791
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
31973
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
31792
31974
  var PartialEvaluator = class {
31793
31975
  constructor(host, checker, dependencyTracker) {
31794
31976
  this.host = host;
@@ -31808,7 +31990,7 @@ var PartialEvaluator = class {
31808
31990
  }
31809
31991
  };
31810
31992
 
31811
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
31993
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
31812
31994
  var CompilationMode;
31813
31995
  (function(CompilationMode2) {
31814
31996
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -31822,7 +32004,7 @@ var HandlerPrecedence;
31822
32004
  HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
31823
32005
  })(HandlerPrecedence || (HandlerPrecedence = {}));
31824
32006
 
31825
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
32007
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
31826
32008
  var import_typescript31 = __toESM(require("typescript"), 1);
31827
32009
  function aliasTransformFactory(exportStatements) {
31828
32010
  return () => {
@@ -31847,10 +32029,10 @@ function aliasTransformFactory(exportStatements) {
31847
32029
  };
31848
32030
  }
31849
32031
 
31850
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
32032
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
31851
32033
  var import_typescript32 = __toESM(require("typescript"), 1);
31852
32034
 
31853
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
32035
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
31854
32036
  var PerfPhase;
31855
32037
  (function(PerfPhase2) {
31856
32038
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -31918,7 +32100,7 @@ var PerfCheckpoint;
31918
32100
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
31919
32101
  })(PerfCheckpoint || (PerfCheckpoint = {}));
31920
32102
 
31921
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
32103
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
31922
32104
  var NoopPerfRecorder = class {
31923
32105
  eventCount() {
31924
32106
  }
@@ -31935,7 +32117,7 @@ var NoopPerfRecorder = class {
31935
32117
  };
31936
32118
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
31937
32119
 
31938
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
32120
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
31939
32121
  function mark() {
31940
32122
  return process.hrtime();
31941
32123
  }
@@ -31944,7 +32126,7 @@ function timeSinceInMicros(mark2) {
31944
32126
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
31945
32127
  }
31946
32128
 
31947
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
32129
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
31948
32130
  var ActivePerfRecorder = class {
31949
32131
  static zeroedToNow() {
31950
32132
  return new ActivePerfRecorder(mark());
@@ -32038,7 +32220,7 @@ var DelegatingPerfRecorder = class {
32038
32220
  }
32039
32221
  };
32040
32222
 
32041
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
32223
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
32042
32224
  var TraitState;
32043
32225
  (function(TraitState2) {
32044
32226
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -32095,7 +32277,7 @@ var TraitImpl = class {
32095
32277
  }
32096
32278
  };
32097
32279
 
32098
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
32280
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
32099
32281
  var TraitCompiler = class {
32100
32282
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
32101
32283
  this.handlers = handlers;
@@ -32554,10 +32736,10 @@ function containsErrors(diagnostics) {
32554
32736
  return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript32.default.DiagnosticCategory.Error);
32555
32737
  }
32556
32738
 
32557
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
32739
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
32558
32740
  var import_typescript43 = __toESM(require("typescript"), 1);
32559
32741
 
32560
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
32742
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
32561
32743
  var Context = class {
32562
32744
  constructor(isStatement) {
32563
32745
  this.isStatement = isStatement;
@@ -32570,10 +32752,10 @@ var Context = class {
32570
32752
  }
32571
32753
  };
32572
32754
 
32573
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
32755
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
32574
32756
  var import_typescript38 = __toESM(require("typescript"), 1);
32575
32757
 
32576
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
32758
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
32577
32759
  var import_typescript34 = __toESM(require("typescript"), 1);
32578
32760
  function createGenerateUniqueIdentifierHelper() {
32579
32761
  const generatedIdentifiers = /* @__PURE__ */ new Set();
@@ -32597,7 +32779,7 @@ function createGenerateUniqueIdentifierHelper() {
32597
32779
  };
32598
32780
  }
32599
32781
 
32600
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
32782
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
32601
32783
  var import_typescript35 = __toESM(require("typescript"), 1);
32602
32784
  function createTsTransformForImportManager(manager, extraStatementsForFiles) {
32603
32785
  return (ctx) => {
@@ -32658,7 +32840,7 @@ function isImportStatement(stmt) {
32658
32840
  return import_typescript35.default.isImportDeclaration(stmt) || import_typescript35.default.isImportEqualsDeclaration(stmt) || import_typescript35.default.isNamespaceImport(stmt);
32659
32841
  }
32660
32842
 
32661
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
32843
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
32662
32844
  var import_typescript36 = __toESM(require("typescript"), 1);
32663
32845
  function attemptToReuseGeneratedImports(tracker, request) {
32664
32846
  const requestHash = hashImportRequest(request);
@@ -32685,7 +32867,7 @@ function hashImportRequest(req) {
32685
32867
  return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
32686
32868
  }
32687
32869
 
32688
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
32870
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
32689
32871
  var import_typescript37 = __toESM(require("typescript"), 1);
32690
32872
  function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
32691
32873
  let candidateImportToBeUpdated = null;
@@ -32738,7 +32920,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
32738
32920
  return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
32739
32921
  }
32740
32922
 
32741
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
32923
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
32742
32924
  var presetImportManagerForceNamespaceImports = {
32743
32925
  disableOriginalSourceFileReuse: true,
32744
32926
  forceGenerateNamespacesForNewImports: true
@@ -32887,7 +33069,7 @@ function createImportReference(asTypeReference, ref) {
32887
33069
  }
32888
33070
  }
32889
33071
 
32890
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
33072
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
32891
33073
  var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
32892
33074
  [UnaryOperator.Minus, "-"],
32893
33075
  [UnaryOperator.Plus, "+"]
@@ -33132,7 +33314,7 @@ function createRange(span) {
33132
33314
  };
33133
33315
  }
33134
33316
 
33135
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
33317
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
33136
33318
  var import_typescript39 = __toESM(require("typescript"), 1);
33137
33319
  var INELIGIBLE = {};
33138
33320
  function canEmitType(type, canEmit) {
@@ -33207,10 +33389,10 @@ var TypeEmitter = class {
33207
33389
  }
33208
33390
  };
33209
33391
 
33210
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
33392
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
33211
33393
  var import_typescript41 = __toESM(require("typescript"), 1);
33212
33394
 
33213
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
33395
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
33214
33396
  var import_typescript40 = __toESM(require("typescript"), 1);
33215
33397
  function tsNumericExpression(value) {
33216
33398
  if (value < 0) {
@@ -33220,7 +33402,7 @@ function tsNumericExpression(value) {
33220
33402
  return import_typescript40.default.factory.createNumericLiteral(value);
33221
33403
  }
33222
33404
 
33223
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
33405
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
33224
33406
  function translateType(type, contextFile, reflector, refEmitter, imports) {
33225
33407
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
33226
33408
  }
@@ -33437,7 +33619,7 @@ var TypeTranslatorVisitor = class {
33437
33619
  }
33438
33620
  };
33439
33621
 
33440
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
33622
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
33441
33623
  var import_typescript42 = __toESM(require("typescript"), 1);
33442
33624
  var PureAnnotation;
33443
33625
  (function(PureAnnotation2) {
@@ -33640,7 +33822,7 @@ function attachComments(statement, leadingComments) {
33640
33822
  }
33641
33823
  }
33642
33824
 
33643
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
33825
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
33644
33826
  function translateExpression(contextFile, expression, imports, options = {}) {
33645
33827
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
33646
33828
  }
@@ -33648,7 +33830,7 @@ function translateStatement(contextFile, statement, imports, options = {}) {
33648
33830
  return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(true));
33649
33831
  }
33650
33832
 
33651
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
33833
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
33652
33834
  var DtsTransformRegistry = class {
33653
33835
  constructor() {
33654
33836
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -33796,10 +33978,10 @@ function markForEmitAsSingleLine(node) {
33796
33978
  import_typescript43.default.forEachChild(node, markForEmitAsSingleLine);
33797
33979
  }
33798
33980
 
33799
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
33981
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
33800
33982
  var import_typescript45 = __toESM(require("typescript"), 1);
33801
33983
 
33802
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
33984
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
33803
33985
  var import_typescript44 = __toESM(require("typescript"), 1);
33804
33986
  function visit(node, visitor, context) {
33805
33987
  return visitor._visit(node, context);
@@ -33860,7 +34042,7 @@ var Visitor = class {
33860
34042
  }
33861
34043
  };
33862
34044
 
33863
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
34045
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
33864
34046
  var NO_DECORATORS = /* @__PURE__ */ new Set();
33865
34047
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
33866
34048
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -34095,7 +34277,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
34095
34277
  return array;
34096
34278
  }
34097
34279
 
34098
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
34280
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
34099
34281
  function makeDuplicateDeclarationError(node, data, kind) {
34100
34282
  const context = [];
34101
34283
  for (const decl of data) {
@@ -34304,7 +34486,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
34304
34486
  }
34305
34487
  }
34306
34488
 
34307
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
34489
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
34308
34490
  var import_typescript48 = __toESM(require("typescript"), 1);
34309
34491
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
34310
34492
  let resolved = null;
@@ -34354,7 +34536,7 @@ function resolveLiteral(decorator, literalCache) {
34354
34536
  return meta;
34355
34537
  }
34356
34538
 
34357
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
34539
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
34358
34540
  function compileNgFactoryDefField(metadata) {
34359
34541
  const res = compileFactoryFunction(metadata);
34360
34542
  return {
@@ -34376,7 +34558,7 @@ function compileDeclareFactory(metadata) {
34376
34558
  };
34377
34559
  }
34378
34560
 
34379
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
34561
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
34380
34562
  var InjectableClassRegistry = class {
34381
34563
  constructor(host, isCore) {
34382
34564
  this.host = host;
@@ -34402,7 +34584,7 @@ var InjectableClassRegistry = class {
34402
34584
  }
34403
34585
  };
34404
34586
 
34405
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
34587
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
34406
34588
  var import_typescript49 = __toESM(require("typescript"), 1);
34407
34589
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
34408
34590
  if (!reflection.isClass(clazz)) {
@@ -34488,7 +34670,7 @@ function removeIdentifierReferences(node, names) {
34488
34670
  return result.transformed[0];
34489
34671
  }
34490
34672
 
34491
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
34673
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
34492
34674
  var path = __toESM(require("path"), 1);
34493
34675
  function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
34494
34676
  if (!reflection.isClass(clazz)) {
@@ -34514,13 +34696,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
34514
34696
  return null;
34515
34697
  }
34516
34698
 
34517
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
34699
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
34518
34700
  var NoopReferencesRegistry = class {
34519
34701
  add(source, ...references) {
34520
34702
  }
34521
34703
  };
34522
34704
 
34523
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
34705
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
34524
34706
  function extractSchemas(rawExpr, evaluator, context) {
34525
34707
  const schemas = [];
34526
34708
  const result = evaluator.evaluate(rawExpr);
@@ -34549,7 +34731,7 @@ function extractSchemas(rawExpr, evaluator, context) {
34549
34731
  return schemas;
34550
34732
  }
34551
34733
 
34552
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
34734
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
34553
34735
  function compileInputTransformFields(inputs) {
34554
34736
  const extraFields = [];
34555
34737
  for (const input of inputs) {
@@ -34566,10 +34748,10 @@ function compileInputTransformFields(inputs) {
34566
34748
  return extraFields;
34567
34749
  }
34568
34750
 
34569
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
34751
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
34570
34752
  var import_typescript63 = __toESM(require("typescript"), 1);
34571
34753
 
34572
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
34754
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
34573
34755
  var import_typescript50 = __toESM(require("typescript"), 1);
34574
34756
  var SemanticSymbol = class {
34575
34757
  constructor(decl) {
@@ -34585,7 +34767,7 @@ function getSymbolIdentifier(decl) {
34585
34767
  return decl.name.text;
34586
34768
  }
34587
34769
 
34588
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
34770
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
34589
34771
  var OpaqueSymbol = class extends SemanticSymbol {
34590
34772
  isPublicApiAffected() {
34591
34773
  return false;
@@ -34727,10 +34909,10 @@ function getImportPath(expr) {
34727
34909
  }
34728
34910
  }
34729
34911
 
34730
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
34912
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
34731
34913
  var import_typescript51 = __toESM(require("typescript"), 1);
34732
34914
 
34733
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
34915
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
34734
34916
  function isSymbolEqual(a, b) {
34735
34917
  if (a.decl === b.decl) {
34736
34918
  return true;
@@ -34780,7 +34962,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
34780
34962
  return true;
34781
34963
  }
34782
34964
 
34783
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
34965
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
34784
34966
  function extractSemanticTypeParameters(node) {
34785
34967
  if (!import_typescript51.default.isClassDeclaration(node) || node.typeParameters === void 0) {
34786
34968
  return null;
@@ -34802,14 +34984,14 @@ function isTypeParameterEqual(a, b) {
34802
34984
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
34803
34985
  }
34804
34986
 
34805
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
34987
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
34806
34988
  var ComponentScopeKind;
34807
34989
  (function(ComponentScopeKind2) {
34808
34990
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
34809
34991
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
34810
34992
  })(ComponentScopeKind || (ComponentScopeKind = {}));
34811
34993
 
34812
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
34994
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
34813
34995
  var CompoundComponentScopeReader = class {
34814
34996
  constructor(readers) {
34815
34997
  this.readers = readers;
@@ -34834,7 +35016,7 @@ var CompoundComponentScopeReader = class {
34834
35016
  }
34835
35017
  };
34836
35018
 
34837
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
35019
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
34838
35020
  var MetadataDtsModuleScopeResolver = class {
34839
35021
  constructor(dtsMetaReader, aliasingHost) {
34840
35022
  this.dtsMetaReader = dtsMetaReader;
@@ -34909,10 +35091,10 @@ var MetadataDtsModuleScopeResolver = class {
34909
35091
  }
34910
35092
  };
34911
35093
 
34912
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
35094
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
34913
35095
  var import_typescript52 = __toESM(require("typescript"), 1);
34914
35096
 
34915
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
35097
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
34916
35098
  function getDiagnosticNode(ref, rawExpr) {
34917
35099
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
34918
35100
  }
@@ -34938,7 +35120,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
34938
35120
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
34939
35121
  }
34940
35122
 
34941
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
35123
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
34942
35124
  var LocalModuleScopeRegistry = class {
34943
35125
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
34944
35126
  this.localReader = localReader;
@@ -35279,7 +35461,7 @@ function reexportCollision(module2, refA, refB) {
35279
35461
  ]);
35280
35462
  }
35281
35463
 
35282
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
35464
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
35283
35465
  var import_typescript54 = __toESM(require("typescript"), 1);
35284
35466
  var TypeCheckScopeRegistry = class {
35285
35467
  constructor(scopeReader, metaReader, hostDirectivesResolver) {
@@ -35359,10 +35541,10 @@ var TypeCheckScopeRegistry = class {
35359
35541
  }
35360
35542
  };
35361
35543
 
35362
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
35544
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
35363
35545
  var import_typescript58 = __toESM(require("typescript"), 1);
35364
35546
 
35365
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
35547
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
35366
35548
  function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
35367
35549
  if (!api.allowedAccessLevels.includes(member.accessLevel)) {
35368
35550
  throw new FatalDiagnosticError(ErrorCode.INITIALIZER_API_DISALLOWED_MEMBER_VISIBILITY, call2, makeDiagnosticChain(`Cannot use "${api.functionName}" on a class member that is declared as ${classMemberAccessLevelToString(member.accessLevel)}.`, [
@@ -35371,7 +35553,7 @@ function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
35371
35553
  }
35372
35554
  }
35373
35555
 
35374
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
35556
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
35375
35557
  var import_typescript55 = __toESM(require("typescript"), 1);
35376
35558
  function tryParseInitializerApi(functions, expression, reflector, importTracker) {
35377
35559
  if (!import_typescript55.default.isCallExpression(expression)) {
@@ -35440,7 +35622,7 @@ function parseTopLevelCallFromNamespace(call2, functions, importTracker) {
35440
35622
  return { api: matchingApi, apiReference, isRequired };
35441
35623
  }
35442
35624
 
35443
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
35625
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
35444
35626
  var import_typescript56 = __toESM(require("typescript"), 1);
35445
35627
  function parseAndValidateInputAndOutputOptions(optionsNode) {
35446
35628
  if (!import_typescript56.default.isObjectLiteralExpression(optionsNode)) {
@@ -35458,7 +35640,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
35458
35640
  return { alias };
35459
35641
  }
35460
35642
 
35461
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
35643
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
35462
35644
  var INPUT_INITIALIZER_FN = {
35463
35645
  functionName: "input",
35464
35646
  owningModule: "@angular/core",
@@ -35490,7 +35672,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
35490
35672
  };
35491
35673
  }
35492
35674
 
35493
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
35675
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
35494
35676
  var MODEL_INITIALIZER_FN = {
35495
35677
  functionName: "model",
35496
35678
  owningModule: "@angular/core",
@@ -35531,7 +35713,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
35531
35713
  };
35532
35714
  }
35533
35715
 
35534
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
35716
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
35535
35717
  var allowedAccessLevels = [
35536
35718
  ClassMemberAccessLevel.PublicWritable,
35537
35719
  ClassMemberAccessLevel.PublicReadonly,
@@ -35575,7 +35757,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
35575
35757
  };
35576
35758
  }
35577
35759
 
35578
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
35760
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
35579
35761
  var import_typescript57 = __toESM(require("typescript"), 1);
35580
35762
  var queryFunctionNames = [
35581
35763
  "viewChild",
@@ -35659,7 +35841,7 @@ function parseDescendantsOption(value) {
35659
35841
  throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
35660
35842
  }
35661
35843
 
35662
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
35844
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
35663
35845
  var EMPTY_OBJECT = {};
35664
35846
  var queryDecoratorNames = [
35665
35847
  "ViewChild",
@@ -36457,7 +36639,7 @@ function toR3InputMetadata(mapping) {
36457
36639
  };
36458
36640
  }
36459
36641
 
36460
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
36642
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
36461
36643
  var DirectiveSymbol = class extends SemanticSymbol {
36462
36644
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
36463
36645
  super(decl);
@@ -36537,7 +36719,7 @@ function isBaseClassEqual(current, previous) {
36537
36719
  return isSymbolEqual(current, previous);
36538
36720
  }
36539
36721
 
36540
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
36722
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
36541
36723
  var FIELD_DECORATORS = [
36542
36724
  "Input",
36543
36725
  "Output",
@@ -36730,10 +36912,10 @@ var DirectiveDecoratorHandler = class {
36730
36912
  }
36731
36913
  };
36732
36914
 
36733
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
36915
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
36734
36916
  var import_typescript60 = __toESM(require("typescript"), 1);
36735
36917
 
36736
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
36918
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
36737
36919
  var import_typescript59 = __toESM(require("typescript"), 1);
36738
36920
  function createModuleWithProvidersResolver(reflector, isCore) {
36739
36921
  function _reflectModuleFromTypeParam(type, node) {
@@ -36805,7 +36987,7 @@ function isResolvedModuleWithProviders(sv) {
36805
36987
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
36806
36988
  }
36807
36989
 
36808
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
36990
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
36809
36991
  var NgModuleSymbol = class extends SemanticSymbol {
36810
36992
  constructor(decl, hasProviders) {
36811
36993
  super(decl);
@@ -37418,7 +37600,7 @@ function isSyntheticReference(ref) {
37418
37600
  return ref.synthetic;
37419
37601
  }
37420
37602
 
37421
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
37603
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
37422
37604
  function makeCyclicImportInfo(ref, type, cycle) {
37423
37605
  const name = ref.debugName || "(unknown)";
37424
37606
  const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -37441,7 +37623,7 @@ function checkCustomElementSelectorForErrors(selector) {
37441
37623
  return null;
37442
37624
  }
37443
37625
 
37444
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
37626
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
37445
37627
  var import_typescript62 = __toESM(require("typescript"), 1);
37446
37628
  function getTemplateDeclarationNodeForError(declaration) {
37447
37629
  return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
@@ -37512,28 +37694,24 @@ function extractTemplate(node, template2, evaluator, depTracker, resourceLoader,
37512
37694
  }
37513
37695
  function parseExtractedTemplate(template2, sourceStr, sourceParseRange, escapedString, sourceMapUrl, options) {
37514
37696
  const i18nNormalizeLineEndingsInICUs = escapedString || options.i18nNormalizeLineEndingsInICUs;
37515
- const parsedTemplate = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", {
37516
- preserveWhitespaces: template2.preserveWhitespaces,
37697
+ const commonParseOptions = {
37517
37698
  interpolationConfig: template2.interpolationConfig,
37518
37699
  range: sourceParseRange != null ? sourceParseRange : void 0,
37519
- escapedString,
37520
37700
  enableI18nLegacyMessageIdFormat: options.enableI18nLegacyMessageIdFormat,
37521
37701
  i18nNormalizeLineEndingsInICUs,
37522
37702
  alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData,
37523
- enableBlockSyntax: options.enableBlockSyntax
37524
- });
37525
- const { nodes: diagNodes } = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", {
37703
+ escapedString,
37704
+ enableBlockSyntax: options.enableBlockSyntax,
37705
+ enableLetSyntax: options.enableLetSyntax
37706
+ };
37707
+ const parsedTemplate = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", __spreadProps(__spreadValues({}, commonParseOptions), {
37708
+ preserveWhitespaces: template2.preserveWhitespaces
37709
+ }));
37710
+ const { nodes: diagNodes } = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", __spreadProps(__spreadValues({}, commonParseOptions), {
37526
37711
  preserveWhitespaces: true,
37527
37712
  preserveLineEndings: true,
37528
- interpolationConfig: template2.interpolationConfig,
37529
- range: sourceParseRange != null ? sourceParseRange : void 0,
37530
- escapedString,
37531
- enableI18nLegacyMessageIdFormat: options.enableI18nLegacyMessageIdFormat,
37532
- i18nNormalizeLineEndingsInICUs,
37533
- leadingTriviaChars: [],
37534
- alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData,
37535
- enableBlockSyntax: options.enableBlockSyntax
37536
- });
37713
+ leadingTriviaChars: []
37714
+ }));
37537
37715
  return __spreadProps(__spreadValues({}, parsedTemplate), {
37538
37716
  diagNodes,
37539
37717
  file: new ParseSourceFile(sourceStr, sourceMapUrl != null ? sourceMapUrl : "")
@@ -37797,7 +37975,7 @@ function _extractTemplateStyleUrls(template2) {
37797
37975
  }));
37798
37976
  }
37799
37977
 
37800
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
37978
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
37801
37979
  var ComponentSymbol = class extends DirectiveSymbol {
37802
37980
  constructor() {
37803
37981
  super(...arguments);
@@ -37832,7 +38010,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
37832
38010
  }
37833
38011
  };
37834
38012
 
37835
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
38013
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
37836
38014
  function collectAnimationNames(value, animationTriggerNames) {
37837
38015
  if (value instanceof Map) {
37838
38016
  const name = value.get("name");
@@ -37909,12 +38087,12 @@ function isLikelyModuleWithProviders(value) {
37909
38087
  return false;
37910
38088
  }
37911
38089
 
37912
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
38090
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
37913
38091
  var EMPTY_ARRAY2 = [];
37914
38092
  var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
37915
38093
  var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
37916
38094
  var ComponentDecoratorHandler = class {
37917
- constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, importTracker, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering, enableBlockSyntax, localCompilationExtraImportsTracker) {
38095
+ constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, importTracker, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering, enableBlockSyntax, enableLetSyntax, localCompilationExtraImportsTracker) {
37918
38096
  this.reflector = reflector;
37919
38097
  this.evaluator = evaluator;
37920
38098
  this.metaRegistry = metaRegistry;
@@ -37950,6 +38128,7 @@ var ComponentDecoratorHandler = class {
37950
38128
  this.deferredSymbolTracker = deferredSymbolTracker;
37951
38129
  this.forbidOrphanRendering = forbidOrphanRendering;
37952
38130
  this.enableBlockSyntax = enableBlockSyntax;
38131
+ this.enableLetSyntax = enableLetSyntax;
37953
38132
  this.localCompilationExtraImportsTracker = localCompilationExtraImportsTracker;
37954
38133
  this.literalCache = /* @__PURE__ */ new Map();
37955
38134
  this.elementSchemaRegistry = new DomElementSchemaRegistry();
@@ -37961,7 +38140,8 @@ var ComponentDecoratorHandler = class {
37961
38140
  enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
37962
38141
  i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
37963
38142
  usePoisonedData: this.usePoisonedData,
37964
- enableBlockSyntax: this.enableBlockSyntax
38143
+ enableBlockSyntax: this.enableBlockSyntax,
38144
+ enableLetSyntax: this.enableLetSyntax
37965
38145
  };
37966
38146
  }
37967
38147
  detect(node, decorators) {
@@ -38132,7 +38312,8 @@ var ComponentDecoratorHandler = class {
38132
38312
  enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
38133
38313
  i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
38134
38314
  usePoisonedData: this.usePoisonedData,
38135
- enableBlockSyntax: this.enableBlockSyntax
38315
+ enableBlockSyntax: this.enableBlockSyntax,
38316
+ enableLetSyntax: this.enableLetSyntax
38136
38317
  }, this.compilationMode);
38137
38318
  }
38138
38319
  const templateResource = template2.declaration.isInline ? { path: null, expression: component.get("template") } : {
@@ -38915,7 +39096,7 @@ function isDefaultImport(node) {
38915
39096
  return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
38916
39097
  }
38917
39098
 
38918
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
39099
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
38919
39100
  var import_typescript65 = __toESM(require("typescript"), 1);
38920
39101
  var InjectableDecoratorHandler = class {
38921
39102
  constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
@@ -39146,7 +39327,7 @@ function getDep(dep, reflector) {
39146
39327
  return meta;
39147
39328
  }
39148
39329
 
39149
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
39330
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
39150
39331
  var import_typescript66 = __toESM(require("typescript"), 1);
39151
39332
  var PipeSymbol = class extends SemanticSymbol {
39152
39333
  constructor(decl, name) {
@@ -39302,13 +39483,13 @@ var PipeDecoratorHandler = class {
39302
39483
  }
39303
39484
  };
39304
39485
 
39305
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform_api.mjs
39486
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform_api.mjs
39306
39487
  var import_typescript67 = __toESM(require("typescript"), 1);
39307
39488
 
39308
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/model_function.mjs
39489
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/model_function.mjs
39309
39490
  var import_typescript68 = __toESM(require("typescript"), 1);
39310
39491
 
39311
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
39492
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
39312
39493
  var EmitFlags;
39313
39494
  (function(EmitFlags2) {
39314
39495
  EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
@@ -39320,13 +39501,13 @@ var EmitFlags;
39320
39501
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
39321
39502
  })(EmitFlags || (EmitFlags = {}));
39322
39503
 
39323
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
39504
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
39324
39505
  var import_typescript71 = __toESM(require("typescript"), 1);
39325
39506
 
39326
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
39507
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
39327
39508
  var import_typescript123 = __toESM(require("typescript"), 1);
39328
39509
 
39329
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
39510
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
39330
39511
  var path2 = __toESM(require("path"), 1);
39331
39512
  function i18nGetExtension(formatName) {
39332
39513
  const format = formatName.toLowerCase();
@@ -39376,10 +39557,10 @@ function getPathNormalizer(basePath) {
39376
39557
  };
39377
39558
  }
39378
39559
 
39379
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
39560
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
39380
39561
  var import_typescript72 = __toESM(require("typescript"), 1);
39381
39562
 
39382
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
39563
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
39383
39564
  function toNumbers(value) {
39384
39565
  const suffixIndex = value.lastIndexOf("-");
39385
39566
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -39414,7 +39595,7 @@ function compareVersions(v1, v2) {
39414
39595
  return compareNumbers(toNumbers(v1), toNumbers(v2));
39415
39596
  }
39416
39597
 
39417
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
39598
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
39418
39599
  var MIN_TS_VERSION = "5.4.0";
39419
39600
  var MAX_TS_VERSION = "5.5.0";
39420
39601
  var tsVersion = import_typescript72.default.version;
@@ -39427,10 +39608,10 @@ function verifySupportedTypeScriptVersion() {
39427
39608
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
39428
39609
  }
39429
39610
 
39430
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
39611
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
39431
39612
  var import_typescript119 = __toESM(require("typescript"), 1);
39432
39613
 
39433
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
39614
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
39434
39615
  var CycleAnalyzer = class {
39435
39616
  constructor(importGraph) {
39436
39617
  this.importGraph = importGraph;
@@ -39501,7 +39682,7 @@ var Cycle = class {
39501
39682
  }
39502
39683
  };
39503
39684
 
39504
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
39685
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
39505
39686
  var import_typescript73 = __toESM(require("typescript"), 1);
39506
39687
  var ImportGraph = class {
39507
39688
  constructor(checker, perf) {
@@ -39593,13 +39774,13 @@ var Found = class {
39593
39774
  }
39594
39775
  };
39595
39776
 
39596
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
39777
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
39597
39778
  var import_typescript82 = __toESM(require("typescript"), 1);
39598
39779
 
39599
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
39780
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
39600
39781
  var import_typescript77 = __toESM(require("typescript"), 1);
39601
39782
 
39602
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
39783
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
39603
39784
  var EntryType;
39604
39785
  (function(EntryType2) {
39605
39786
  EntryType2["Block"] = "block";
@@ -39643,17 +39824,17 @@ var MemberTags;
39643
39824
  MemberTags2["Inherited"] = "override";
39644
39825
  })(MemberTags || (MemberTags = {}));
39645
39826
 
39646
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
39827
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
39647
39828
  function isAngularPrivateName(name) {
39648
39829
  var _a2;
39649
39830
  const firstChar = (_a2 = name[0]) != null ? _a2 : "";
39650
39831
  return firstChar === "\u0275" || firstChar === "_";
39651
39832
  }
39652
39833
 
39653
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
39834
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
39654
39835
  var import_typescript75 = __toESM(require("typescript"), 1);
39655
39836
 
39656
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
39837
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
39657
39838
  function extractGenerics(declaration) {
39658
39839
  var _a2, _b2;
39659
39840
  return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
@@ -39666,7 +39847,7 @@ function extractGenerics(declaration) {
39666
39847
  })) != null ? _b2 : [];
39667
39848
  }
39668
39849
 
39669
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
39850
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
39670
39851
  var import_typescript74 = __toESM(require("typescript"), 1);
39671
39852
  var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
39672
39853
  function extractJsDocTags(node) {
@@ -39710,12 +39891,12 @@ function unescapeAngularDecorators(comment) {
39710
39891
  return comment.replace(/_NG_AT_/g, "@");
39711
39892
  }
39712
39893
 
39713
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
39894
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
39714
39895
  function extractResolvedTypeString(node, checker) {
39715
39896
  return checker.typeToString(checker.getTypeAtLocation(node));
39716
39897
  }
39717
39898
 
39718
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
39899
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
39719
39900
  var FunctionExtractor = class {
39720
39901
  constructor(name, declaration, typeChecker) {
39721
39902
  this.name = name;
@@ -39771,7 +39952,7 @@ function extractAllParams(params, typeChecker) {
39771
39952
  }));
39772
39953
  }
39773
39954
 
39774
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
39955
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
39775
39956
  var import_typescript76 = __toESM(require("typescript"), 1);
39776
39957
  function isInternal(member) {
39777
39958
  return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
@@ -39790,7 +39971,7 @@ function hasLeadingInternalComment(member) {
39790
39971
  )) != null ? _a2 : false;
39791
39972
  }
39792
39973
 
39793
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
39974
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
39794
39975
  var ClassExtractor = class {
39795
39976
  constructor(declaration, typeChecker) {
39796
39977
  this.declaration = declaration;
@@ -40042,7 +40223,7 @@ function extractInterface(declaration, typeChecker) {
40042
40223
  return extractor.extract();
40043
40224
  }
40044
40225
 
40045
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
40226
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
40046
40227
  var import_typescript78 = __toESM(require("typescript"), 1);
40047
40228
  var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
40048
40229
  function extractConstant(declaration, typeChecker) {
@@ -40100,7 +40281,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
40100
40281
  });
40101
40282
  }
40102
40283
 
40103
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
40284
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
40104
40285
  var import_typescript79 = __toESM(require("typescript"), 1);
40105
40286
  function extractorDecorator(declaration, typeChecker) {
40106
40287
  const documentedNode = getDecoratorJsDocNode(declaration);
@@ -40173,7 +40354,7 @@ function getDecoratorJsDocNode(declaration) {
40173
40354
  return callSignature;
40174
40355
  }
40175
40356
 
40176
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
40357
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
40177
40358
  var import_typescript80 = __toESM(require("typescript"), 1);
40178
40359
  function extractEnum(declaration, typeChecker) {
40179
40360
  return {
@@ -40204,7 +40385,7 @@ function getEnumMemberValue(memberNode) {
40204
40385
  return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
40205
40386
  }
40206
40387
 
40207
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
40388
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
40208
40389
  var import_typescript81 = __toESM(require("typescript"), 1);
40209
40390
  var initializerApiTag = "initializerApiFunction";
40210
40391
  function isInitializerApiFunction(node, typeChecker) {
@@ -40341,7 +40522,7 @@ function findImplementationOfFunction(node, typeChecker) {
40341
40522
  return (_a2 = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a2.find((s) => import_typescript81.default.isFunctionDeclaration(s) && s.body !== void 0);
40342
40523
  }
40343
40524
 
40344
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
40525
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
40345
40526
  function extractTypeAlias(declaration) {
40346
40527
  return {
40347
40528
  name: declaration.name.getText(),
@@ -40353,7 +40534,7 @@ function extractTypeAlias(declaration) {
40353
40534
  };
40354
40535
  }
40355
40536
 
40356
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
40537
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
40357
40538
  var DocsExtractor = class {
40358
40539
  constructor(typeChecker, metadataReader) {
40359
40540
  this.typeChecker = typeChecker;
@@ -40437,7 +40618,7 @@ function getRelativeFilePath(sourceFile, rootDir) {
40437
40618
  return relativePath;
40438
40619
  }
40439
40620
 
40440
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
40621
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
40441
40622
  var import_typescript83 = __toESM(require("typescript"), 1);
40442
40623
  var FlatIndexGenerator = class {
40443
40624
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -40462,7 +40643,7 @@ export * from '${relativeEntryPoint}';
40462
40643
  }
40463
40644
  };
40464
40645
 
40465
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
40646
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
40466
40647
  function findFlatIndexEntryPoint(rootFiles) {
40467
40648
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
40468
40649
  let resolvedEntryPoint = null;
@@ -40478,7 +40659,7 @@ function findFlatIndexEntryPoint(rootFiles) {
40478
40659
  return resolvedEntryPoint;
40479
40660
  }
40480
40661
 
40481
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
40662
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
40482
40663
  var import_typescript85 = __toESM(require("typescript"), 1);
40483
40664
  function checkForPrivateExports(entryPoint, checker, refGraph) {
40484
40665
  const diagnostics = [];
@@ -40558,7 +40739,7 @@ function getDescriptorOfDeclaration(decl) {
40558
40739
  }
40559
40740
  }
40560
40741
 
40561
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
40742
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
40562
40743
  var ReferenceGraph = class {
40563
40744
  constructor() {
40564
40745
  this.references = /* @__PURE__ */ new Map();
@@ -40612,7 +40793,7 @@ var ReferenceGraph = class {
40612
40793
  }
40613
40794
  };
40614
40795
 
40615
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
40796
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
40616
40797
  var NgOriginalFile = Symbol("NgOriginalFile");
40617
40798
  var UpdateMode;
40618
40799
  (function(UpdateMode2) {
@@ -40620,13 +40801,13 @@ var UpdateMode;
40620
40801
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
40621
40802
  })(UpdateMode || (UpdateMode = {}));
40622
40803
 
40623
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
40804
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
40624
40805
  var import_typescript89 = __toESM(require("typescript"), 1);
40625
40806
 
40626
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
40807
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
40627
40808
  var import_typescript86 = __toESM(require("typescript"), 1);
40628
40809
 
40629
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
40810
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
40630
40811
  var NgExtension = Symbol("NgExtension");
40631
40812
  function isExtended(sf) {
40632
40813
  return sf[NgExtension] !== void 0;
@@ -40686,13 +40867,13 @@ function retagTsFile(sf) {
40686
40867
  }
40687
40868
  }
40688
40869
 
40689
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
40870
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
40690
40871
  var TS_EXTENSIONS = /\.tsx?$/i;
40691
40872
  function makeShimFileName(fileName, suffix) {
40692
40873
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
40693
40874
  }
40694
40875
 
40695
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
40876
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
40696
40877
  var ShimAdapter = class {
40697
40878
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
40698
40879
  this.delegate = delegate;
@@ -40787,7 +40968,7 @@ var ShimAdapter = class {
40787
40968
  }
40788
40969
  };
40789
40970
 
40790
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
40971
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
40791
40972
  var ShimReferenceTagger = class {
40792
40973
  constructor(shimExtensions) {
40793
40974
  this.tagged = /* @__PURE__ */ new Set();
@@ -40821,7 +41002,7 @@ var ShimReferenceTagger = class {
40821
41002
  }
40822
41003
  };
40823
41004
 
40824
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
41005
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
40825
41006
  var DelegatingCompilerHost = class {
40826
41007
  get jsDocParsingMode() {
40827
41008
  return this.delegate.jsDocParsingMode;
@@ -40940,7 +41121,7 @@ var TsCreateProgramDriver = class {
40940
41121
  }
40941
41122
  };
40942
41123
 
40943
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
41124
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
40944
41125
  var FileDependencyGraph = class {
40945
41126
  constructor() {
40946
41127
  this.nodes = /* @__PURE__ */ new Map();
@@ -41007,7 +41188,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
41007
41188
  return false;
41008
41189
  }
41009
41190
 
41010
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
41191
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
41011
41192
  var IncrementalStateKind;
41012
41193
  (function(IncrementalStateKind2) {
41013
41194
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -41015,7 +41196,7 @@ var IncrementalStateKind;
41015
41196
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
41016
41197
  })(IncrementalStateKind || (IncrementalStateKind = {}));
41017
41198
 
41018
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
41199
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
41019
41200
  var PhaseKind;
41020
41201
  (function(PhaseKind2) {
41021
41202
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -41216,7 +41397,7 @@ function toOriginalSourceFile(sf) {
41216
41397
  }
41217
41398
  }
41218
41399
 
41219
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
41400
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
41220
41401
  var TrackedIncrementalBuildStrategy = class {
41221
41402
  constructor() {
41222
41403
  this.state = null;
@@ -41237,7 +41418,7 @@ var TrackedIncrementalBuildStrategy = class {
41237
41418
  };
41238
41419
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
41239
41420
 
41240
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
41421
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
41241
41422
  var IdentifierKind;
41242
41423
  (function(IdentifierKind2) {
41243
41424
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -41247,6 +41428,7 @@ var IdentifierKind;
41247
41428
  IdentifierKind2[IdentifierKind2["Attribute"] = 4] = "Attribute";
41248
41429
  IdentifierKind2[IdentifierKind2["Reference"] = 5] = "Reference";
41249
41430
  IdentifierKind2[IdentifierKind2["Variable"] = 6] = "Variable";
41431
+ IdentifierKind2[IdentifierKind2["LetDeclaration"] = 7] = "LetDeclaration";
41250
41432
  })(IdentifierKind || (IdentifierKind = {}));
41251
41433
  var AbsoluteSourceSpan2 = class {
41252
41434
  constructor(start, end) {
@@ -41255,7 +41437,7 @@ var AbsoluteSourceSpan2 = class {
41255
41437
  }
41256
41438
  };
41257
41439
 
41258
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
41440
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
41259
41441
  var IndexingContext = class {
41260
41442
  constructor() {
41261
41443
  this.components = /* @__PURE__ */ new Set();
@@ -41265,7 +41447,7 @@ var IndexingContext = class {
41265
41447
  }
41266
41448
  };
41267
41449
 
41268
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
41450
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
41269
41451
  var ExpressionVisitor = class extends RecursiveAstVisitor2 {
41270
41452
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
41271
41453
  super();
@@ -41427,6 +41609,13 @@ var TemplateVisitor = class extends RecursiveVisitor {
41427
41609
  (_a2 = block.expressionAlias) == null ? void 0 : _a2.visit(this);
41428
41610
  this.visitAll(block.children);
41429
41611
  }
41612
+ visitLetDeclaration(decl) {
41613
+ const identifier = this.targetToIdentifier(decl);
41614
+ if (identifier !== null) {
41615
+ this.identifiers.add(identifier);
41616
+ }
41617
+ this.visitExpression(decl.value);
41618
+ }
41430
41619
  elementOrTemplateToIdentifier(node) {
41431
41620
  var _a2;
41432
41621
  if (this.elementAndTemplateIdentifierCache.has(node)) {
@@ -41510,12 +41699,18 @@ var TemplateVisitor = class extends RecursiveVisitor {
41510
41699
  kind: IdentifierKind.Reference,
41511
41700
  target
41512
41701
  };
41513
- } else {
41702
+ } else if (node instanceof Variable) {
41514
41703
  identifier = {
41515
41704
  name,
41516
41705
  span,
41517
41706
  kind: IdentifierKind.Variable
41518
41707
  };
41708
+ } else {
41709
+ identifier = {
41710
+ name,
41711
+ span,
41712
+ kind: IdentifierKind.LetDeclaration
41713
+ };
41519
41714
  }
41520
41715
  this.targetIdentifierCache.set(node, identifier);
41521
41716
  return identifier;
@@ -41546,7 +41741,7 @@ function getTemplateIdentifiers(boundTemplate) {
41546
41741
  return { identifiers: visitor.identifiers, errors: visitor.errors };
41547
41742
  }
41548
41743
 
41549
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
41744
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
41550
41745
  function generateAnalysis(context) {
41551
41746
  const analysis = /* @__PURE__ */ new Map();
41552
41747
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -41582,7 +41777,7 @@ function generateAnalysis(context) {
41582
41777
  return analysis;
41583
41778
  }
41584
41779
 
41585
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
41780
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
41586
41781
  var NgModuleIndexImpl = class {
41587
41782
  constructor(metaReader, localReader) {
41588
41783
  this.metaReader = metaReader;
@@ -41671,7 +41866,7 @@ var NgModuleIndexImpl = class {
41671
41866
  }
41672
41867
  };
41673
41868
 
41674
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
41869
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
41675
41870
  var import_typescript92 = __toESM(require("typescript"), 1);
41676
41871
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
41677
41872
  var RESOURCE_MARKER = ".$ngresource$";
@@ -41823,7 +42018,7 @@ function createLookupResolutionHost(adapter) {
41823
42018
  };
41824
42019
  }
41825
42020
 
41826
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
42021
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
41827
42022
  var StandaloneComponentScopeReader = class {
41828
42023
  constructor(metaReader, localModuleReader, dtsModuleReader) {
41829
42024
  this.metaReader = metaReader;
@@ -41919,21 +42114,22 @@ var StandaloneComponentScopeReader = class {
41919
42114
  }
41920
42115
  };
41921
42116
 
41922
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
42117
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
41923
42118
  var OptimizeFor;
41924
42119
  (function(OptimizeFor2) {
41925
42120
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
41926
42121
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
41927
42122
  })(OptimizeFor || (OptimizeFor = {}));
41928
42123
 
41929
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
42124
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
41930
42125
  var CompletionKind;
41931
42126
  (function(CompletionKind2) {
41932
42127
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
41933
42128
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
42129
+ CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
41934
42130
  })(CompletionKind || (CompletionKind = {}));
41935
42131
 
41936
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
42132
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
41937
42133
  var PotentialImportKind;
41938
42134
  (function(PotentialImportKind2) {
41939
42135
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -41945,7 +42141,7 @@ var PotentialImportMode;
41945
42141
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
41946
42142
  })(PotentialImportMode || (PotentialImportMode = {}));
41947
42143
 
41948
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
42144
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
41949
42145
  var SymbolKind;
41950
42146
  (function(SymbolKind2) {
41951
42147
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -41959,9 +42155,10 @@ var SymbolKind;
41959
42155
  SymbolKind2[SymbolKind2["Expression"] = 8] = "Expression";
41960
42156
  SymbolKind2[SymbolKind2["DomBinding"] = 9] = "DomBinding";
41961
42157
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
42158
+ SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
41962
42159
  })(SymbolKind || (SymbolKind = {}));
41963
42160
 
41964
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
42161
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
41965
42162
  var import_typescript93 = __toESM(require("typescript"), 1);
41966
42163
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
41967
42164
  var _a2;
@@ -42072,7 +42269,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
42072
42269
  );
42073
42270
  }
42074
42271
 
42075
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
42272
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
42076
42273
  var TEMPLATE_ID = Symbol("ngTemplateId");
42077
42274
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
42078
42275
  function getTemplateId(clazz) {
@@ -42089,10 +42286,10 @@ function allocateTemplateId(sf) {
42089
42286
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
42090
42287
  }
42091
42288
 
42092
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
42289
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
42093
42290
  var import_typescript95 = __toESM(require("typescript"), 1);
42094
42291
 
42095
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
42292
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
42096
42293
  var import_typescript94 = __toESM(require("typescript"), 1);
42097
42294
  var parseSpanComment = /^(\d+),(\d+)$/;
42098
42295
  function readSpanComment(node, sourceFile = node.getSourceFile()) {
@@ -42222,7 +42419,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
42222
42419
  }) || false;
42223
42420
  }
42224
42421
 
42225
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
42422
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
42226
42423
  var CompletionEngine = class {
42227
42424
  constructor(tcb, data, tcbPath, tcbIsShim) {
42228
42425
  this.tcb = tcb;
@@ -42367,6 +42564,11 @@ var CompletionEngine = class {
42367
42564
  kind: CompletionKind.Reference,
42368
42565
  node
42369
42566
  });
42567
+ } else if (node instanceof LetDeclaration) {
42568
+ templateContext.set(node.name, {
42569
+ kind: CompletionKind.LetDeclaration,
42570
+ node
42571
+ });
42370
42572
  } else {
42371
42573
  templateContext.set(node.name, {
42372
42574
  kind: CompletionKind.Variable,
@@ -43480,10 +43682,10 @@ var MagicString = class {
43480
43682
  }
43481
43683
  };
43482
43684
 
43483
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
43685
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
43484
43686
  var import_typescript109 = __toESM(require("typescript"), 1);
43485
43687
 
43486
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
43688
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
43487
43689
  var import_typescript96 = __toESM(require("typescript"), 1);
43488
43690
  var REGISTRY = new DomElementSchemaRegistry();
43489
43691
  var REMOVE_XHTML_REGEX = /^:xhtml:/;
@@ -43535,10 +43737,10 @@ var RegistryDomSchemaChecker = class {
43535
43737
  }
43536
43738
  };
43537
43739
 
43538
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
43740
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
43539
43741
  var import_typescript102 = __toESM(require("typescript"), 1);
43540
43742
 
43541
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
43743
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
43542
43744
  var ReferenceEmitEnvironment = class {
43543
43745
  constructor(importManager, refEmitter, reflector, contextFile) {
43544
43746
  this.importManager = importManager;
@@ -43568,7 +43770,7 @@ var ReferenceEmitEnvironment = class {
43568
43770
  }
43569
43771
  };
43570
43772
 
43571
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
43773
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
43572
43774
  var import_typescript97 = __toESM(require("typescript"), 1);
43573
43775
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
43574
43776
  import_typescript97.default.SyntaxKind.ParenthesizedExpression,
@@ -43620,7 +43822,7 @@ function tsDeclareVariable(id, type) {
43620
43822
  function tsCreateTypeQueryForCoercedInput(typeName, coercedInputName) {
43621
43823
  return import_typescript97.default.factory.createTypeQueryNode(import_typescript97.default.factory.createQualifiedName(typeName, `ngAcceptInputType_${coercedInputName}`));
43622
43824
  }
43623
- function tsCreateVariable(id, initializer) {
43825
+ function tsCreateVariable(id, initializer, flags = null) {
43624
43826
  const decl = import_typescript97.default.factory.createVariableDeclaration(
43625
43827
  id,
43626
43828
  void 0,
@@ -43629,7 +43831,7 @@ function tsCreateVariable(id, initializer) {
43629
43831
  );
43630
43832
  return import_typescript97.default.factory.createVariableStatement(
43631
43833
  void 0,
43632
- [decl]
43834
+ flags === null ? [decl] : import_typescript97.default.factory.createVariableDeclarationList([decl], flags)
43633
43835
  );
43634
43836
  }
43635
43837
  function tsCallMethod(receiver, methodName, args = []) {
@@ -43651,13 +43853,13 @@ function tsNumericExpression2(value) {
43651
43853
  return import_typescript97.default.factory.createNumericLiteral(value);
43652
43854
  }
43653
43855
 
43654
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
43856
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
43655
43857
  var import_typescript101 = __toESM(require("typescript"), 1);
43656
43858
 
43657
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
43859
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
43658
43860
  var import_typescript99 = __toESM(require("typescript"), 1);
43659
43861
 
43660
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
43862
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
43661
43863
  var import_typescript98 = __toESM(require("typescript"), 1);
43662
43864
  var TypeParameterEmitter = class {
43663
43865
  constructor(typeParameters, reflector) {
@@ -43735,7 +43937,7 @@ var TypeParameterEmitter = class {
43735
43937
  }
43736
43938
  };
43737
43939
 
43738
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
43940
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
43739
43941
  var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
43740
43942
  Identifiers.InputSignalBrandWriteType
43741
43943
  ];
@@ -43827,7 +44029,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
43827
44029
  return emitter.canEmit((ref) => env.canReferenceType(ref));
43828
44030
  }
43829
44031
 
43830
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
44032
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
43831
44033
  function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
43832
44034
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
43833
44035
  const rawType = import_typescript101.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -43950,7 +44152,7 @@ function typeParametersWithDefaultTypes(params) {
43950
44152
  });
43951
44153
  }
43952
44154
 
43953
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
44155
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
43954
44156
  var Environment = class extends ReferenceEmitEnvironment {
43955
44157
  constructor(config, importManager, refEmitter, reflector, contextFile) {
43956
44158
  super(importManager, refEmitter, reflector, contextFile);
@@ -44022,7 +44224,7 @@ var Environment = class extends ReferenceEmitEnvironment {
44022
44224
  }
44023
44225
  };
44024
44226
 
44025
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
44227
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
44026
44228
  var import_typescript103 = __toESM(require("typescript"), 1);
44027
44229
  var OutOfBandDiagnosticRecorderImpl = class {
44028
44230
  constructor(resolver) {
@@ -44195,6 +44397,25 @@ Deferred blocks can only access triggers in same view, a parent embedded view or
44195
44397
  lines.push("", 'This check can be disabled using the `extendedDiagnostics.checks.controlFlowPreventingContentProjection = "suppress" compiler option.`');
44196
44398
  this._diagnostics.push(makeTemplateDiagnostic(templateId, this.resolver.getSourceMapping(templateId), projectionNode.startSourceSpan, category, ngErrorCode(ErrorCode.CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION), lines.join("\n")));
44197
44399
  }
44400
+ illegalWriteToLetDeclaration(templateId, node, target) {
44401
+ const sourceSpan = this.resolver.toParseSourceSpan(templateId, node.sourceSpan);
44402
+ if (sourceSpan === null) {
44403
+ throw new Error(`Assertion failure: no SourceLocation found for property write.`);
44404
+ }
44405
+ this._diagnostics.push(makeTemplateDiagnostic(templateId, this.resolver.getSourceMapping(templateId), sourceSpan, import_typescript103.default.DiagnosticCategory.Error, ngErrorCode(ErrorCode.ILLEGAL_LET_WRITE), `Cannot assign to @let declaration '${target.name}'.`));
44406
+ }
44407
+ letUsedBeforeDefinition(templateId, node, target) {
44408
+ const sourceSpan = this.resolver.toParseSourceSpan(templateId, node.sourceSpan);
44409
+ if (sourceSpan === null) {
44410
+ throw new Error(`Assertion failure: no SourceLocation found for property read.`);
44411
+ }
44412
+ this._diagnostics.push(makeTemplateDiagnostic(templateId, this.resolver.getSourceMapping(templateId), sourceSpan, import_typescript103.default.DiagnosticCategory.Error, ngErrorCode(ErrorCode.LET_USED_BEFORE_DEFINITION), `Cannot read @let declaration '${target.name}' before it has been defined.`));
44413
+ }
44414
+ duplicateLetDeclaration(templateId, current) {
44415
+ const mapping = this.resolver.getSourceMapping(templateId);
44416
+ const errorMsg = `Cannot declare @let called '${current.name}' as there is another @let declaration with the same name.`;
44417
+ this._diagnostics.push(makeTemplateDiagnostic(templateId, mapping, current.sourceSpan, import_typescript103.default.DiagnosticCategory.Error, ngErrorCode(ErrorCode.DUPLICATE_LET_DECLARATION), errorMsg));
44418
+ }
44198
44419
  };
44199
44420
  function makeInlineDiagnostic(templateId, code, node, messageText, relatedInformation) {
44200
44421
  return __spreadProps(__spreadValues({}, makeDiagnostic(code, node, messageText, relatedInformation)), {
@@ -44203,7 +44424,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
44203
44424
  });
44204
44425
  }
44205
44426
 
44206
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
44427
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
44207
44428
  var import_typescript104 = __toESM(require("typescript"), 1);
44208
44429
  var TypeCheckShimGenerator = class {
44209
44430
  constructor() {
@@ -44221,10 +44442,10 @@ var TypeCheckShimGenerator = class {
44221
44442
  }
44222
44443
  };
44223
44444
 
44224
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
44445
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
44225
44446
  var import_typescript107 = __toESM(require("typescript"), 1);
44226
44447
 
44227
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
44448
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
44228
44449
  var import_typescript105 = __toESM(require("typescript"), 1);
44229
44450
  function wrapForDiagnostics(expr) {
44230
44451
  return import_typescript105.default.factory.createParenthesizedExpression(expr);
@@ -44279,7 +44500,7 @@ function translateDiagnostic(diagnostic, resolver) {
44279
44500
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
44280
44501
  }
44281
44502
 
44282
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
44503
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
44283
44504
  var import_typescript106 = __toESM(require("typescript"), 1);
44284
44505
  var NULL_AS_ANY = import_typescript106.default.factory.createAsExpression(import_typescript106.default.factory.createNull(), import_typescript106.default.factory.createKeywordTypeNode(import_typescript106.default.SyntaxKind.AnyKeyword));
44285
44506
  var UNDEFINED = import_typescript106.default.factory.createIdentifier("undefined");
@@ -44611,7 +44832,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
44611
44832
  _VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
44612
44833
  })();
44613
44834
 
44614
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
44835
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
44615
44836
  var TcbGenericContextBehavior;
44616
44837
  (function(TcbGenericContextBehavior2) {
44617
44838
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -44731,6 +44952,24 @@ var TcbTemplateContextOp = class extends TcbOp {
44731
44952
  return ctx;
44732
44953
  }
44733
44954
  };
44955
+ var TcbLetDeclarationOp = class extends TcbOp {
44956
+ constructor(tcb, scope, node) {
44957
+ super();
44958
+ this.tcb = tcb;
44959
+ this.scope = scope;
44960
+ this.node = node;
44961
+ this.optional = false;
44962
+ }
44963
+ execute() {
44964
+ const id = this.tcb.allocateId();
44965
+ addParseSpanInfo(id, this.node.nameSpan);
44966
+ const value = tcbExpression(this.node.value, this.tcb, this.scope);
44967
+ const varStatement = tsCreateVariable(id, wrapForTypeChecker(value), import_typescript107.default.NodeFlags.Const);
44968
+ addParseSpanInfo(varStatement.declarationList.declarations[0], this.node.sourceSpan);
44969
+ this.scope.addStatement(varStatement);
44970
+ return id;
44971
+ }
44972
+ };
44734
44973
  var TcbTemplateBodyOp = class extends TcbOp {
44735
44974
  constructor(tcb, scope, template2) {
44736
44975
  super();
@@ -45534,6 +45773,7 @@ var _Scope = class {
45534
45773
  this.referenceOpMap = /* @__PURE__ */ new Map();
45535
45774
  this.templateCtxOpMap = /* @__PURE__ */ new Map();
45536
45775
  this.varMap = /* @__PURE__ */ new Map();
45776
+ this.letDeclOpMap = /* @__PURE__ */ new Map();
45537
45777
  this.statements = [];
45538
45778
  }
45539
45779
  static forNodes(tcb, parentScope, scopedNode, children, guard) {
@@ -45571,6 +45811,14 @@ var _Scope = class {
45571
45811
  }
45572
45812
  for (const node of children) {
45573
45813
  scope.appendNode(node);
45814
+ if (node instanceof LetDeclaration) {
45815
+ const opIndex = scope.opQueue.push(new TcbLetDeclarationOp(tcb, scope, node)) - 1;
45816
+ if (scope.letDeclOpMap.has(node.name)) {
45817
+ tcb.oobRecorder.duplicateLetDeclaration(tcb.id, node);
45818
+ } else {
45819
+ scope.letDeclOpMap.set(node.name, opIndex);
45820
+ }
45821
+ }
45574
45822
  }
45575
45823
  return scope;
45576
45824
  }
@@ -45621,9 +45869,20 @@ var _Scope = class {
45621
45869
  return import_typescript107.default.factory.createBinaryExpression(parentGuards, import_typescript107.default.SyntaxKind.AmpersandAmpersandToken, this.guard);
45622
45870
  }
45623
45871
  }
45872
+ isLocal(node) {
45873
+ if (node instanceof Variable) {
45874
+ return this.varMap.has(node);
45875
+ }
45876
+ if (node instanceof LetDeclaration) {
45877
+ return this.letDeclOpMap.has(node.name);
45878
+ }
45879
+ return this.referenceOpMap.has(node);
45880
+ }
45624
45881
  resolveLocal(ref, directive) {
45625
45882
  if (ref instanceof Reference && this.referenceOpMap.has(ref)) {
45626
45883
  return this.resolveOp(this.referenceOpMap.get(ref));
45884
+ } else if (ref instanceof LetDeclaration && this.letDeclOpMap.has(ref.name)) {
45885
+ return this.resolveOp(this.letDeclOpMap.get(ref.name));
45627
45886
  } else if (ref instanceof Variable && this.varMap.has(ref)) {
45628
45887
  const opIndexOrNode = this.varMap.get(ref);
45629
45888
  return typeof opIndexOrNode === "number" ? this.resolveOp(opIndexOrNode) : opIndexOrNode;
@@ -45900,15 +46159,24 @@ var TcbExpressionTranslator = class {
45900
46159
  }
45901
46160
  resolve(ast) {
45902
46161
  if (ast instanceof PropertyRead && ast.receiver instanceof ImplicitReceiver) {
45903
- return this.resolveTarget(ast);
46162
+ const target = this.tcb.boundTarget.getExpressionTarget(ast);
46163
+ if (target instanceof LetDeclaration) {
46164
+ this.validateLetDeclarationAccess(target, ast);
46165
+ }
46166
+ return target === null ? null : this.getTargetNodeExpression(target, ast);
45904
46167
  } else if (ast instanceof PropertyWrite && ast.receiver instanceof ImplicitReceiver) {
45905
- const target = this.resolveTarget(ast);
46168
+ const target = this.tcb.boundTarget.getExpressionTarget(ast);
45906
46169
  if (target === null) {
45907
46170
  return null;
45908
46171
  }
46172
+ const targetExpression = this.getTargetNodeExpression(target, ast);
45909
46173
  const expr = this.translate(ast.value);
45910
- const result = import_typescript107.default.factory.createParenthesizedExpression(import_typescript107.default.factory.createBinaryExpression(target, import_typescript107.default.SyntaxKind.EqualsToken, expr));
46174
+ const result = import_typescript107.default.factory.createParenthesizedExpression(import_typescript107.default.factory.createBinaryExpression(targetExpression, import_typescript107.default.SyntaxKind.EqualsToken, expr));
45911
46175
  addParseSpanInfo(result, ast.sourceSpan);
46176
+ if (target instanceof LetDeclaration) {
46177
+ markIgnoreDiagnostics(result);
46178
+ this.tcb.oobRecorder.illegalWriteToLetDeclaration(this.tcb.id, ast, target);
46179
+ }
45912
46180
  return result;
45913
46181
  } else if (ast instanceof ImplicitReceiver) {
45914
46182
  return import_typescript107.default.factory.createThis();
@@ -45946,10 +46214,11 @@ var TcbExpressionTranslator = class {
45946
46214
  addParseSpanInfo(result, ast.sourceSpan);
45947
46215
  return result;
45948
46216
  }
45949
- const receiver = this.resolveTarget(ast);
45950
- if (receiver === null) {
46217
+ const target = this.tcb.boundTarget.getExpressionTarget(ast);
46218
+ if (target === null) {
45951
46219
  return null;
45952
46220
  }
46221
+ const receiver = this.getTargetNodeExpression(target, ast);
45953
46222
  const method = wrapForDiagnostics(receiver);
45954
46223
  addParseSpanInfo(method, ast.receiver.nameSpan);
45955
46224
  const args = ast.args.map((arg) => this.translate(arg));
@@ -45960,15 +46229,19 @@ var TcbExpressionTranslator = class {
45960
46229
  return null;
45961
46230
  }
45962
46231
  }
45963
- resolveTarget(ast) {
45964
- const binding = this.tcb.boundTarget.getExpressionTarget(ast);
45965
- if (binding === null) {
45966
- return null;
45967
- }
45968
- const expr = this.scope.resolve(binding);
45969
- addParseSpanInfo(expr, ast.sourceSpan);
46232
+ getTargetNodeExpression(targetNode, expressionNode) {
46233
+ const expr = this.scope.resolve(targetNode);
46234
+ addParseSpanInfo(expr, expressionNode.sourceSpan);
45970
46235
  return expr;
45971
46236
  }
46237
+ validateLetDeclarationAccess(target, ast) {
46238
+ const targetStart = target.sourceSpan.start.offset;
46239
+ const targetEnd = target.sourceSpan.end.offset;
46240
+ const astStart = ast.sourceSpan.start;
46241
+ if ((targetStart > astStart || astStart >= targetStart && astStart <= targetEnd) && this.scope.isLocal(target)) {
46242
+ this.tcb.oobRecorder.letUsedBeforeDefinition(this.tcb.id, ast, target);
46243
+ }
46244
+ }
45972
46245
  };
45973
46246
  function tcbCallTypeCtor(dir, tcb, inputs) {
45974
46247
  const typeCtor = tcb.env.typeCtorFor(dir);
@@ -46111,6 +46384,8 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
46111
46384
  }
46112
46385
  return super.resolve(ast);
46113
46386
  }
46387
+ validateLetDeclarationAccess() {
46388
+ }
46114
46389
  };
46115
46390
  var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
46116
46391
  constructor(tcb, scope, block) {
@@ -46126,7 +46401,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
46126
46401
  resolve(ast) {
46127
46402
  if (ast instanceof PropertyRead && ast.receiver instanceof ImplicitReceiver) {
46128
46403
  const target = this.tcb.boundTarget.getExpressionTarget(ast);
46129
- if (target !== null && !this.allowedVariables.has(target)) {
46404
+ if (target !== null && (!(target instanceof Variable) || !this.allowedVariables.has(target))) {
46130
46405
  this.tcb.oobRecorder.illegalForLoopTrackAccess(this.tcb.id, this.block, ast);
46131
46406
  }
46132
46407
  }
@@ -46134,7 +46409,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
46134
46409
  }
46135
46410
  };
46136
46411
 
46137
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
46412
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
46138
46413
  var import_typescript108 = __toESM(require("typescript"), 1);
46139
46414
  var TypeCheckFile = class extends Environment {
46140
46415
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -46182,7 +46457,7 @@ var TypeCheckFile = class extends Environment {
46182
46457
  }
46183
46458
  };
46184
46459
 
46185
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
46460
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
46186
46461
  var InliningMode;
46187
46462
  (function(InliningMode2) {
46188
46463
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -46434,7 +46709,7 @@ var TypeCtorOp = class {
46434
46709
  }
46435
46710
  };
46436
46711
 
46437
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
46712
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
46438
46713
  var LF_CHAR = 10;
46439
46714
  var CR_CHAR = 13;
46440
46715
  var LINE_SEP_CHAR = 8232;
@@ -46475,7 +46750,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
46475
46750
  return low - 1;
46476
46751
  }
46477
46752
 
46478
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
46753
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
46479
46754
  var TemplateSource = class {
46480
46755
  constructor(mapping, file) {
46481
46756
  this.mapping = mapping;
@@ -46526,7 +46801,7 @@ var TemplateSourceManager = class {
46526
46801
  }
46527
46802
  };
46528
46803
 
46529
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
46804
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
46530
46805
  var import_typescript110 = __toESM(require("typescript"), 1);
46531
46806
  var SymbolBuilder = class {
46532
46807
  constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
@@ -46553,6 +46828,8 @@ var SymbolBuilder = class {
46553
46828
  symbol = this.getSymbolOfAstTemplate(node);
46554
46829
  } else if (node instanceof Variable) {
46555
46830
  symbol = this.getSymbolOfVariable(node);
46831
+ } else if (node instanceof LetDeclaration) {
46832
+ symbol = this.getSymbolOfLetDeclaration(node);
46556
46833
  } else if (node instanceof Reference) {
46557
46834
  symbol = this.getSymbolOfReference(node);
46558
46835
  } else if (node instanceof BindingPipe) {
@@ -46936,6 +47213,31 @@ var SymbolBuilder = class {
46936
47213
  };
46937
47214
  }
46938
47215
  }
47216
+ getSymbolOfLetDeclaration(decl) {
47217
+ const node = findFirstMatchingNode(this.typeCheckBlock, {
47218
+ withSpan: decl.sourceSpan,
47219
+ filter: import_typescript110.default.isVariableDeclaration
47220
+ });
47221
+ if (node === null) {
47222
+ return null;
47223
+ }
47224
+ const nodeValueSymbol = this.getSymbolOfTsNode(node.initializer);
47225
+ if (nodeValueSymbol === null) {
47226
+ return null;
47227
+ }
47228
+ return {
47229
+ tsType: nodeValueSymbol.tsType,
47230
+ tsSymbol: nodeValueSymbol.tsSymbol,
47231
+ initializerLocation: nodeValueSymbol.tcbLocation,
47232
+ kind: SymbolKind.LetDeclaration,
47233
+ declaration: decl,
47234
+ localVarLocation: {
47235
+ tcbPath: this.tcbPath,
47236
+ isShimFile: this.tcbIsShim,
47237
+ positionInFile: this.getTcbPositionForNode(node.name)
47238
+ }
47239
+ };
47240
+ }
46939
47241
  getSymbolOfPipe(expression) {
46940
47242
  const methodAccess = findFirstMatchingNode(this.typeCheckBlock, {
46941
47243
  withSpan: expression.nameSpan,
@@ -47066,7 +47368,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
47066
47368
  };
47067
47369
  }
47068
47370
 
47069
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
47371
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
47070
47372
  var REGISTRY2 = new DomElementSchemaRegistry();
47071
47373
  var TemplateTypeCheckerImpl = class {
47072
47374
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -47766,7 +48068,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
47766
48068
  }
47767
48069
  };
47768
48070
 
47769
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
48071
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
47770
48072
  var import_typescript113 = __toESM(require("typescript"), 1);
47771
48073
  var SIGNAL_FNS = /* @__PURE__ */ new Set([
47772
48074
  "WritableSignal",
@@ -47776,7 +48078,7 @@ var SIGNAL_FNS = /* @__PURE__ */ new Set([
47776
48078
  "ModelSignal"
47777
48079
  ]);
47778
48080
  function isSignalReference(symbol) {
47779
- return (symbol.kind === SymbolKind.Expression || symbol.kind === SymbolKind.Variable) && (symbol.tsType.symbol !== void 0 && isSignalSymbol(symbol.tsType.symbol) || symbol.tsType.aliasSymbol !== void 0 && isSignalSymbol(symbol.tsType.aliasSymbol));
48081
+ return (symbol.kind === SymbolKind.Expression || symbol.kind === SymbolKind.Variable || symbol.kind === SymbolKind.LetDeclaration) && (symbol.tsType.symbol !== void 0 && isSignalSymbol(symbol.tsType.symbol) || symbol.tsType.aliasSymbol !== void 0 && isSignalSymbol(symbol.tsType.aliasSymbol));
47780
48082
  }
47781
48083
  function isSignalSymbol(symbol) {
47782
48084
  const declarations = symbol.getDeclarations();
@@ -47786,7 +48088,7 @@ function isSignalSymbol(symbol) {
47786
48088
  });
47787
48089
  }
47788
48090
 
47789
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
48091
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
47790
48092
  var TemplateCheckWithVisitor = class {
47791
48093
  run(ctx, component, template2) {
47792
48094
  const visitor = new TemplateVisitor2(ctx, component, this);
@@ -47903,6 +48205,9 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
47903
48205
  (_a2 = block.expressionAlias) == null ? void 0 : _a2.visit(this);
47904
48206
  this.visitAllNodes(block.children);
47905
48207
  }
48208
+ visitLetDeclaration(decl) {
48209
+ this.visitAst(decl.value);
48210
+ }
47906
48211
  getDiagnostics(template2) {
47907
48212
  this.diagnostics = [];
47908
48213
  this.visitAllNodes(template2);
@@ -47910,7 +48215,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
47910
48215
  }
47911
48216
  };
47912
48217
 
47913
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
48218
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
47914
48219
  var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
47915
48220
  var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
47916
48221
  var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
@@ -47962,7 +48267,7 @@ var factory = {
47962
48267
  create: () => new InterpolatedSignalCheck()
47963
48268
  };
47964
48269
 
47965
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
48270
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
47966
48271
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
47967
48272
  constructor() {
47968
48273
  super(...arguments);
@@ -47987,7 +48292,7 @@ var factory2 = {
47987
48292
  create: () => new InvalidBananaInBoxCheck()
47988
48293
  };
47989
48294
 
47990
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
48295
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
47991
48296
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
47992
48297
  ["ngIf", { directive: "NgIf", builtIn: "@if" }],
47993
48298
  ["ngFor", { directive: "NgFor", builtIn: "@for" }],
@@ -48031,7 +48336,7 @@ var factory3 = {
48031
48336
  }
48032
48337
  };
48033
48338
 
48034
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
48339
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
48035
48340
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
48036
48341
  constructor() {
48037
48342
  super(...arguments);
@@ -48063,7 +48368,7 @@ var factory4 = {
48063
48368
  create: () => new MissingNgForOfLetCheck()
48064
48369
  };
48065
48370
 
48066
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
48371
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
48067
48372
  var import_typescript114 = __toESM(require("typescript"), 1);
48068
48373
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
48069
48374
  constructor() {
@@ -48107,7 +48412,7 @@ var factory5 = {
48107
48412
  }
48108
48413
  };
48109
48414
 
48110
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
48415
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
48111
48416
  var import_typescript115 = __toESM(require("typescript"), 1);
48112
48417
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
48113
48418
  constructor() {
@@ -48152,7 +48457,7 @@ var factory6 = {
48152
48457
  }
48153
48458
  };
48154
48459
 
48155
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
48460
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
48156
48461
  var STYLE_SUFFIXES = ["px", "%", "em"];
48157
48462
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
48158
48463
  constructor() {
@@ -48175,7 +48480,7 @@ var factory7 = {
48175
48480
  create: () => new SuffixNotSupportedCheck()
48176
48481
  };
48177
48482
 
48178
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
48483
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
48179
48484
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
48180
48485
  constructor() {
48181
48486
  super(...arguments);
@@ -48213,10 +48518,10 @@ var factory8 = {
48213
48518
  create: () => new TextAttributeNotBindingSpec()
48214
48519
  };
48215
48520
 
48216
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
48521
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
48217
48522
  var import_typescript116 = __toESM(require("typescript"), 1);
48218
48523
 
48219
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
48524
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
48220
48525
  var DiagnosticCategoryLabel;
48221
48526
  (function(DiagnosticCategoryLabel2) {
48222
48527
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -48224,7 +48529,7 @@ var DiagnosticCategoryLabel;
48224
48529
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
48225
48530
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
48226
48531
 
48227
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
48532
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
48228
48533
  var ExtendedTemplateCheckerImpl = class {
48229
48534
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
48230
48535
  var _a2, _b2, _c2, _d2, _e2;
@@ -48276,7 +48581,7 @@ function assertNever(value) {
48276
48581
  ${value}`);
48277
48582
  }
48278
48583
 
48279
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
48584
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
48280
48585
  var ALL_DIAGNOSTIC_FACTORIES = [
48281
48586
  factory2,
48282
48587
  factory5,
@@ -48292,7 +48597,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
48292
48597
  ...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
48293
48598
  ]);
48294
48599
 
48295
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
48600
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
48296
48601
  var import_typescript117 = __toESM(require("typescript"), 1);
48297
48602
  var TemplateSemanticsCheckerImpl = class {
48298
48603
  constructor(templateTypeChecker) {
@@ -48350,22 +48655,29 @@ var ExpressionsSemanticsVisitor = class extends RecursiveAstVisitor2 {
48350
48655
  return;
48351
48656
  }
48352
48657
  const target = this.templateTypeChecker.getExpressionTarget(ast, this.component);
48353
- if (!(target instanceof Variable)) {
48658
+ const isVariable2 = target instanceof Variable;
48659
+ const isLet = target instanceof LetDeclaration;
48660
+ if (!isVariable2 && !isLet) {
48354
48661
  return;
48355
48662
  }
48356
48663
  const symbol = this.templateTypeChecker.getSymbolOfNode(target, this.component);
48357
48664
  if (symbol !== null && !isSignalReference(symbol)) {
48358
- const errorMessage = `Cannot use a non-signal variable '${target.name}' in a two-way binding expression. Template variables are read-only.`;
48665
+ let errorMessage;
48666
+ if (isVariable2) {
48667
+ errorMessage = `Cannot use a non-signal variable '${target.name}' in a two-way binding expression. Template variables are read-only.`;
48668
+ } else {
48669
+ errorMessage = `Cannot use non-signal @let declaration '${target.name}' in a two-way binding expression. @let declarations are read-only.`;
48670
+ }
48359
48671
  this.diagnostics.push(this.makeIllegalTemplateVarDiagnostic(target, context, errorMessage));
48360
48672
  }
48361
48673
  }
48362
48674
  makeIllegalTemplateVarDiagnostic(target, expressionNode, errorMessage) {
48363
- var _a2, _b2;
48675
+ const span = target instanceof Variable ? target.valueSpan || target.sourceSpan : target.sourceSpan;
48364
48676
  return this.templateTypeChecker.makeTemplateDiagnostic(this.component, expressionNode.handlerSpan, import_typescript117.default.DiagnosticCategory.Error, ngErrorCode(ErrorCode.WRITE_TO_READ_ONLY_VARIABLE), errorMessage, [
48365
48677
  {
48366
- text: `The variable ${target.name} is declared here.`,
48367
- start: ((_a2 = target.valueSpan) == null ? void 0 : _a2.start.offset) || target.sourceSpan.start.offset,
48368
- end: ((_b2 = target.valueSpan) == null ? void 0 : _b2.end.offset) || target.sourceSpan.end.offset,
48678
+ text: `'${target.name}' is declared here.`,
48679
+ start: span.start.offset,
48680
+ end: span.end.offset,
48369
48681
  sourceFile: this.component.getSourceFile()
48370
48682
  }
48371
48683
  ]);
@@ -48375,7 +48687,7 @@ function unwrapAstWithSource(ast) {
48375
48687
  return ast instanceof ASTWithSource ? ast.ast : ast;
48376
48688
  }
48377
48689
 
48378
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
48690
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
48379
48691
  var import_typescript118 = __toESM(require("typescript"), 1);
48380
48692
  var APIS_TO_CHECK = [
48381
48693
  INPUT_INITIALIZER_FN,
@@ -48426,7 +48738,7 @@ var InitializerApiUsageRule = class {
48426
48738
  }
48427
48739
  };
48428
48740
 
48429
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
48741
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
48430
48742
  var SourceFileValidator = class {
48431
48743
  constructor(reflector, importedSymbolsTracker) {
48432
48744
  this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
@@ -48464,7 +48776,7 @@ var SourceFileValidator = class {
48464
48776
  }
48465
48777
  };
48466
48778
 
48467
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
48779
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
48468
48780
  function coreHasSymbol(program, symbol) {
48469
48781
  const checker = program.getTypeChecker();
48470
48782
  for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
@@ -48483,7 +48795,7 @@ function isMaybeCore(sf) {
48483
48795
  return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
48484
48796
  }
48485
48797
 
48486
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
48798
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
48487
48799
  var import_semver = __toESM(require_semver2(), 1);
48488
48800
  function coreVersionSupportsFeature(coreVersion, minVersion) {
48489
48801
  if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
@@ -48492,7 +48804,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
48492
48804
  return import_semver.default.satisfies(coreVersion, minVersion);
48493
48805
  }
48494
48806
 
48495
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
48807
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
48496
48808
  var CompilationTicketKind;
48497
48809
  (function(CompilationTicketKind2) {
48498
48810
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -48547,7 +48859,7 @@ var NgCompiler = class {
48547
48859
  }
48548
48860
  }
48549
48861
  constructor(adapter, options, inputProgram, programDriver, incrementalStrategy, incrementalCompilation, enableTemplateTypeChecker, usePoisonedData, livePerfRecorder) {
48550
- var _a2, _b2, _c2;
48862
+ var _a2, _b2, _c2, _d2;
48551
48863
  this.adapter = adapter;
48552
48864
  this.options = options;
48553
48865
  this.inputProgram = inputProgram;
@@ -48562,7 +48874,8 @@ var NgCompiler = class {
48562
48874
  this.delegatingPerfRecorder = new DelegatingPerfRecorder(this.perfRecorder);
48563
48875
  this.enableTemplateTypeChecker = enableTemplateTypeChecker || ((_a2 = options["_enableTemplateTypeChecker"]) != null ? _a2 : false);
48564
48876
  this.enableBlockSyntax = (_b2 = options["_enableBlockSyntax"]) != null ? _b2 : true;
48565
- this.angularCoreVersion = (_c2 = options["_angularCoreVersion"]) != null ? _c2 : null;
48877
+ this.enableLetSyntax = (_c2 = options["_enableLetSyntax"]) != null ? _c2 : false;
48878
+ this.angularCoreVersion = (_d2 = options["_angularCoreVersion"]) != null ? _d2 : null;
48566
48879
  this.constructionDiagnostics.push(...this.adapter.constructionDiagnostics, ...verifyCompatibleTypeCheckOptions(this.options));
48567
48880
  this.currentProgram = inputProgram;
48568
48881
  this.closureCompilerEnabled = !!this.options.annotateForClosureCompiler;
@@ -49079,7 +49392,7 @@ var NgCompiler = class {
49079
49392
  throw new Error('JIT mode support ("supportJitMode" option) cannot be disabled when forbidOrphanComponents is set to true');
49080
49393
  }
49081
49394
  const handlers = [
49082
- new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, localCompilationExtraImportsTracker),
49395
+ new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, localCompilationExtraImportsTracker),
49083
49396
  new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, importTracker, supportTestBed, compilationMode, !!this.options.generateExtraImportsInLocalMode),
49084
49397
  new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed, compilationMode, !!this.options.generateExtraImportsInLocalMode),
49085
49398
  new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, compilationMode),
@@ -49274,7 +49587,7 @@ function versionMapFromProgram(program, driver) {
49274
49587
  return versions;
49275
49588
  }
49276
49589
 
49277
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
49590
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
49278
49591
  var import_typescript121 = __toESM(require("typescript"), 1);
49279
49592
  var DelegatingCompilerHost2 = class {
49280
49593
  get jsDocParsingMode() {
@@ -49413,7 +49726,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
49413
49726
  }
49414
49727
  };
49415
49728
 
49416
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
49729
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
49417
49730
  var NgtscProgram = class {
49418
49731
  constructor(rootNames, options, delegateHost, oldProgram) {
49419
49732
  this.options = options;
@@ -49640,18 +49953,18 @@ function mergeEmitResults(emitResults) {
49640
49953
  return { diagnostics, emitSkipped, emittedFiles };
49641
49954
  }
49642
49955
 
49643
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
49956
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
49644
49957
  function createProgram({ rootNames, options, host, oldProgram }) {
49645
49958
  return new NgtscProgram(rootNames, options, host, oldProgram);
49646
49959
  }
49647
49960
 
49648
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
49961
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
49649
49962
  var import_typescript125 = __toESM(require("typescript"), 1);
49650
49963
 
49651
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
49964
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
49652
49965
  var import_typescript124 = __toESM(require("typescript"), 1);
49653
49966
 
49654
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
49967
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
49655
49968
  var GLOBAL_DEFS_FOR_TERSER = {
49656
49969
  ngDevMode: false,
49657
49970
  ngI18nClosureMode: false
@@ -49660,7 +49973,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
49660
49973
  ngJitMode: false
49661
49974
  });
49662
49975
 
49663
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
49976
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
49664
49977
  var LogLevel;
49665
49978
  (function(LogLevel2) {
49666
49979
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -49669,7 +49982,7 @@ var LogLevel;
49669
49982
  LogLevel2[LogLevel2["error"] = 3] = "error";
49670
49983
  })(LogLevel || (LogLevel = {}));
49671
49984
 
49672
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
49985
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
49673
49986
  var RESET = "\x1B[0m";
49674
49987
  var RED = "\x1B[31m";
49675
49988
  var YELLOW = "\x1B[33m";
@@ -49678,18 +49991,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
49678
49991
  var WARN = `${YELLOW}Warning:${RESET}`;
49679
49992
  var ERROR = `${RED}Error:${RESET}`;
49680
49993
 
49681
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
49994
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
49682
49995
  setFileSystem(new NodeJSFileSystem());
49683
49996
 
49684
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
49997
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
49685
49998
  var import_fs2 = require("fs");
49686
49999
  var import_path8 = require("path");
49687
50000
  var import_typescript138 = __toESM(require("typescript"), 1);
49688
50001
 
49689
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
50002
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
49690
50003
  var import_typescript127 = __toESM(require("typescript"), 1);
49691
50004
 
49692
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
50005
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
49693
50006
  var import_path4 = require("path");
49694
50007
  var import_typescript126 = __toESM(require("typescript"), 1);
49695
50008
  var ImportManager2 = class {
@@ -49873,7 +50186,7 @@ ${text2}`;
49873
50186
  }
49874
50187
  };
49875
50188
 
49876
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
50189
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
49877
50190
  var ChangeTracker = class {
49878
50191
  constructor(_printer, _importRemapper) {
49879
50192
  __publicField(this, "_printer");
@@ -49936,7 +50249,7 @@ function normalizePath(path4) {
49936
50249
  return path4.replace(/\\/g, "/");
49937
50250
  }
49938
50251
 
49939
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
50252
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
49940
50253
  var import_core19 = require("@angular-devkit/core");
49941
50254
  function getProjectTsConfigPaths(tree) {
49942
50255
  return __async(this, null, function* () {
@@ -50016,11 +50329,11 @@ function getWorkspace(tree) {
50016
50329
  });
50017
50330
  }
50018
50331
 
50019
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
50332
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
50020
50333
  var import_path5 = require("path");
50021
50334
  var import_typescript129 = __toESM(require("typescript"), 1);
50022
50335
 
50023
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
50336
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
50024
50337
  var path3 = __toESM(require("path"), 1);
50025
50338
  var import_typescript128 = __toESM(require("typescript"), 1);
50026
50339
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -50037,7 +50350,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
50037
50350
  return import_typescript128.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
50038
50351
  }
50039
50352
 
50040
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
50353
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
50041
50354
  function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
50042
50355
  tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
50043
50356
  const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
@@ -50066,13 +50379,13 @@ function canMigrateFile(basePath, sourceFile, program) {
50066
50379
  return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
50067
50380
  }
50068
50381
 
50069
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
50382
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
50070
50383
  var import_typescript134 = __toESM(require("typescript"), 1);
50071
50384
 
50072
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
50385
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
50073
50386
  var import_typescript131 = __toESM(require("typescript"), 1);
50074
50387
 
50075
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
50388
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
50076
50389
  var import_typescript130 = __toESM(require("typescript"), 1);
50077
50390
  function getImportOfIdentifier(typeChecker, node) {
50078
50391
  const symbol = typeChecker.getSymbolAtLocation(node);
@@ -50123,7 +50436,7 @@ function findImportSpecifier(nodes, specifierName) {
50123
50436
  });
50124
50437
  }
50125
50438
 
50126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
50439
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
50127
50440
  function getCallDecoratorImport(typeChecker, decorator) {
50128
50441
  if (!import_typescript131.default.isCallExpression(decorator.expression) || !import_typescript131.default.isIdentifier(decorator.expression.expression)) {
50129
50442
  return null;
@@ -50132,7 +50445,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
50132
50445
  return getImportOfIdentifier(typeChecker, identifier);
50133
50446
  }
50134
50447
 
50135
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
50448
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
50136
50449
  function getAngularDecorators2(typeChecker, decorators) {
50137
50450
  return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
50138
50451
  node,
@@ -50142,7 +50455,7 @@ function getAngularDecorators2(typeChecker, decorators) {
50142
50455
  }));
50143
50456
  }
50144
50457
 
50145
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
50458
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
50146
50459
  var import_typescript132 = __toESM(require("typescript"), 1);
50147
50460
  function closestNode(node, predicate) {
50148
50461
  let current = node.parent;
@@ -50155,7 +50468,7 @@ function closestNode(node, predicate) {
50155
50468
  return null;
50156
50469
  }
50157
50470
 
50158
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
50471
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
50159
50472
  var import_path6 = require("path");
50160
50473
  var import_typescript133 = __toESM(require("typescript"), 1);
50161
50474
  var UniqueItemTracker = class {
@@ -50333,7 +50646,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
50333
50646
  }));
50334
50647
  }
50335
50648
 
50336
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
50649
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
50337
50650
  function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
50338
50651
  const filesToRemove = /* @__PURE__ */ new Set();
50339
50652
  const tracker = new ChangeTracker(printer, importRemapper);
@@ -50532,14 +50845,14 @@ function findNgModuleDecorator(node, typeChecker) {
50532
50845
  return decorators.find((decorator) => decorator.name === "NgModule") || null;
50533
50846
  }
50534
50847
 
50535
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
50848
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
50536
50849
  var import_path7 = require("path");
50537
50850
  var import_typescript137 = __toESM(require("typescript"), 1);
50538
50851
 
50539
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
50852
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
50540
50853
  var import_typescript136 = __toESM(require("typescript"), 1);
50541
50854
 
50542
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
50855
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
50543
50856
  var import_typescript135 = __toESM(require("typescript"), 1);
50544
50857
  function isReferenceToImport(typeChecker, node, importSpecifier) {
50545
50858
  var _a2, _b2;
@@ -50548,7 +50861,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
50548
50861
  return !!(((_a2 = nodeSymbol == null ? void 0 : nodeSymbol.declarations) == null ? void 0 : _a2[0]) && ((_b2 = importSymbol == null ? void 0 : importSymbol.declarations) == null ? void 0 : _b2[0])) && nodeSymbol.declarations[0] === importSymbol.declarations[0];
50549
50862
  }
50550
50863
 
50551
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
50864
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
50552
50865
  function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
50553
50866
  const templateTypeChecker = program.compiler.getTemplateTypeChecker();
50554
50867
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -50918,7 +51231,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
50918
51231
  return metadata != null && metadata.isStandalone;
50919
51232
  }
50920
51233
 
50921
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
51234
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
50922
51235
  function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
50923
51236
  const tracker = new ChangeTracker(printer, importRemapper);
50924
51237
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -51295,7 +51608,7 @@ function hasImport(program, rootFileNames, moduleName) {
51295
51608
  return false;
51296
51609
  }
51297
51610
 
51298
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
51611
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
51299
51612
  var MigrationMode;
51300
51613
  (function(MigrationMode2) {
51301
51614
  MigrationMode2["toStandalone"] = "convert-to-standalone";