@angular/compiler-cli 14.2.0 → 14.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/bundles/{chunk-DGTSPJIN.js → chunk-2HAEAY5C.js} +40 -40
  2. package/bundles/{chunk-DGTSPJIN.js.map → chunk-2HAEAY5C.js.map} +0 -0
  3. package/bundles/{chunk-RCXOJZDO.js → chunk-2HPI44CB.js} +5 -5
  4. package/bundles/{chunk-RCXOJZDO.js.map → chunk-2HPI44CB.js.map} +0 -0
  5. package/bundles/{chunk-J6AVV3MN.js → chunk-2VBPNPMZ.js} +80 -82
  6. package/bundles/chunk-2VBPNPMZ.js.map +6 -0
  7. package/bundles/{chunk-I4BG3CAN.js → chunk-3ATQVS47.js} +71 -71
  8. package/bundles/{chunk-I4BG3CAN.js.map → chunk-3ATQVS47.js.map} +0 -0
  9. package/bundles/{chunk-TTIGAMYZ.js → chunk-3RBYZF6O.js} +5 -5
  10. package/bundles/{chunk-TTIGAMYZ.js.map → chunk-3RBYZF6O.js.map} +0 -0
  11. package/bundles/{chunk-CLRZAXXE.js → chunk-7YHMCUJT.js} +10 -3
  12. package/bundles/chunk-7YHMCUJT.js.map +6 -0
  13. package/bundles/{chunk-56O2PTWU.js → chunk-CYVTLM4Z.js} +7 -7
  14. package/bundles/{chunk-56O2PTWU.js.map → chunk-CYVTLM4Z.js.map} +0 -0
  15. package/bundles/{chunk-5FZBUSFV.js → chunk-E7NQQTT7.js} +3 -3
  16. package/bundles/{chunk-5FZBUSFV.js.map → chunk-E7NQQTT7.js.map} +0 -0
  17. package/bundles/{chunk-ICPLY7FO.js → chunk-FM6NPN5V.js} +4 -4
  18. package/bundles/{chunk-ICPLY7FO.js.map → chunk-FM6NPN5V.js.map} +0 -0
  19. package/bundles/{chunk-NDIOQ2EH.js → chunk-GG7BM2LH.js} +128 -105
  20. package/bundles/chunk-GG7BM2LH.js.map +6 -0
  21. package/bundles/{chunk-DEPZI7L5.js → chunk-L2QFSPXM.js} +31 -31
  22. package/bundles/{chunk-DEPZI7L5.js.map → chunk-L2QFSPXM.js.map} +0 -0
  23. package/bundles/{chunk-HMWNYAAE.js → chunk-R3C7RFJ4.js} +2 -2
  24. package/bundles/{chunk-HMWNYAAE.js.map → chunk-R3C7RFJ4.js.map} +0 -0
  25. package/bundles/{chunk-4NRCP3Y6.js → chunk-TOKOIIBI.js} +7 -7
  26. package/bundles/{chunk-4NRCP3Y6.js.map → chunk-TOKOIIBI.js.map} +0 -0
  27. package/bundles/{chunk-3GWIAJ6N.js → chunk-UZLFREET.js} +31 -21
  28. package/bundles/chunk-UZLFREET.js.map +6 -0
  29. package/bundles/{chunk-XR6BVLNN.js → chunk-WAZH2LJQ.js} +26 -26
  30. package/bundles/{chunk-XR6BVLNN.js.map → chunk-WAZH2LJQ.js.map} +1 -1
  31. package/bundles/{chunk-NJ2FQOJT.js → chunk-XDX5RDY5.js} +10 -8
  32. package/bundles/chunk-XDX5RDY5.js.map +6 -0
  33. package/bundles/index.js +13 -13
  34. package/bundles/linker/babel/index.js +13 -13
  35. package/bundles/linker/index.js +5 -5
  36. package/bundles/ngcc/index.js +13 -13
  37. package/bundles/ngcc/main-ngcc.js +14 -14
  38. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
  39. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  40. package/bundles/private/bazel.js +1 -1
  41. package/bundles/private/localize.js +3 -3
  42. package/bundles/private/migrations.js +6 -6
  43. package/bundles/private/tooling.js +3 -3
  44. package/bundles/src/bin/ng_xi18n.js +11 -11
  45. package/bundles/src/bin/ngc.js +9 -9
  46. package/bundles_metadata.json +1 -1
  47. package/ngcc/src/packages/build_marker.d.ts +1 -1
  48. package/package.json +2 -2
  49. package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +36 -2
  50. package/src/ngtsc/typecheck/src/type_check_block.d.ts +1 -1
  51. package/bundles/chunk-3GWIAJ6N.js.map +0 -6
  52. package/bundles/chunk-CLRZAXXE.js.map +0 -6
  53. package/bundles/chunk-J6AVV3MN.js.map +0 -6
  54. package/bundles/chunk-NDIOQ2EH.js.map +0 -6
  55. package/bundles/chunk-NJ2FQOJT.js.map +0 -6
@@ -30,11 +30,11 @@ import {
30
30
  aliasTransformFactory,
31
31
  declarationTransformFactory,
32
32
  ivyTransformFactory
33
- } from "./chunk-J6AVV3MN.js";
33
+ } from "./chunk-2VBPNPMZ.js";
34
34
  import {
35
35
  TypeScriptReflectionHost,
36
36
  isNamedClassDeclaration
37
- } from "./chunk-NJ2FQOJT.js";
37
+ } from "./chunk-XDX5RDY5.js";
38
38
  import {
39
39
  AbsoluteModuleStrategy,
40
40
  AliasStrategy,
@@ -73,13 +73,13 @@ import {
73
73
  toUnredirectedSourceFile,
74
74
  translateExpression,
75
75
  translateType
76
- } from "./chunk-XR6BVLNN.js";
76
+ } from "./chunk-WAZH2LJQ.js";
77
77
  import {
78
78
  getDecorators,
79
79
  getModifiers,
80
80
  updateImportDeclaration,
81
81
  updateTypeParameterDeclaration
82
- } from "./chunk-CLRZAXXE.js";
82
+ } from "./chunk-7YHMCUJT.js";
83
83
  import {
84
84
  LogicalFileSystem,
85
85
  absoluteFrom,
@@ -90,16 +90,16 @@ import {
90
90
  getSourceFileOrError,
91
91
  join,
92
92
  resolve
93
- } from "./chunk-4NRCP3Y6.js";
93
+ } from "./chunk-TOKOIIBI.js";
94
94
  import {
95
95
  ActivePerfRecorder,
96
96
  DelegatingPerfRecorder,
97
97
  PerfCheckpoint,
98
98
  PerfEvent,
99
99
  PerfPhase
100
- } from "./chunk-RCXOJZDO.js";
100
+ } from "./chunk-2HPI44CB.js";
101
101
 
102
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
102
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
103
103
  var DEFAULT_ERROR_CODE = 100;
104
104
  var UNKNOWN_ERROR_CODE = 500;
105
105
  var SOURCE = "angular";
@@ -117,7 +117,7 @@ var EmitFlags;
117
117
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
118
118
  })(EmitFlags || (EmitFlags = {}));
119
119
 
120
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
120
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
121
121
  import ts from "typescript";
122
122
  var wrapHostForTest = null;
123
123
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -127,21 +127,21 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
127
127
  return tsHost;
128
128
  }
129
129
 
130
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
130
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
131
131
  var OptimizeFor;
132
132
  (function(OptimizeFor2) {
133
133
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
134
134
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
135
135
  })(OptimizeFor || (OptimizeFor = {}));
136
136
 
137
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
137
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
138
138
  var CompletionKind;
139
139
  (function(CompletionKind2) {
140
140
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
141
141
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
142
142
  })(CompletionKind || (CompletionKind = {}));
143
143
 
144
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
144
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
145
145
  var SymbolKind;
146
146
  (function(SymbolKind2) {
147
147
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -157,11 +157,11 @@ var SymbolKind;
157
157
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
158
158
  })(SymbolKind || (SymbolKind = {}));
159
159
 
160
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
160
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
161
161
  import { HtmlParser, MessageBundle } from "@angular/compiler";
162
162
  import ts34 from "typescript";
163
163
 
164
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
164
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
165
165
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
166
166
  import * as path from "path";
167
167
  function i18nGetExtension(formatName) {
@@ -212,10 +212,10 @@ function getPathNormalizer(basePath) {
212
212
  };
213
213
  }
214
214
 
215
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
215
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
216
216
  import ts2 from "typescript";
217
217
 
218
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
218
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
219
219
  function toNumbers(value) {
220
220
  const suffixIndex = value.lastIndexOf("-");
221
221
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -250,7 +250,7 @@ function compareVersions(v1, v2) {
250
250
  return compareNumbers(toNumbers(v1), toNumbers(v2));
251
251
  }
252
252
 
253
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
253
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
254
254
  var MIN_TS_VERSION = "4.6.2";
255
255
  var MAX_TS_VERSION = "4.9.0";
256
256
  var tsVersion = ts2.version;
@@ -263,10 +263,10 @@ function verifySupportedTypeScriptVersion() {
263
263
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
264
264
  }
265
265
 
266
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
266
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
267
267
  import ts32 from "typescript";
268
268
 
269
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
269
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
270
270
  var CycleAnalyzer = class {
271
271
  constructor(importGraph) {
272
272
  this.importGraph = importGraph;
@@ -337,7 +337,7 @@ var Cycle = class {
337
337
  }
338
338
  };
339
339
 
340
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
340
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
341
341
  import ts3 from "typescript";
342
342
  var ImportGraph = class {
343
343
  constructor(checker, perf) {
@@ -429,7 +429,7 @@ var Found = class {
429
429
  }
430
430
  };
431
431
 
432
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
432
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
433
433
  import ts4 from "typescript";
434
434
  var FlatIndexGenerator = class {
435
435
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -454,7 +454,7 @@ export * from '${relativeEntryPoint}';
454
454
  }
455
455
  };
456
456
 
457
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
457
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
458
458
  function findFlatIndexEntryPoint(rootFiles) {
459
459
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
460
460
  let resolvedEntryPoint = null;
@@ -470,7 +470,7 @@ function findFlatIndexEntryPoint(rootFiles) {
470
470
  return resolvedEntryPoint;
471
471
  }
472
472
 
473
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
473
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
474
474
  import ts5 from "typescript";
475
475
  function checkForPrivateExports(entryPoint, checker, refGraph) {
476
476
  const diagnostics = [];
@@ -550,7 +550,7 @@ function getDescriptorOfDeclaration(decl) {
550
550
  }
551
551
  }
552
552
 
553
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
553
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
554
554
  var ReferenceGraph = class {
555
555
  constructor() {
556
556
  this.references = /* @__PURE__ */ new Map();
@@ -604,7 +604,7 @@ var ReferenceGraph = class {
604
604
  }
605
605
  };
606
606
 
607
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
607
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
608
608
  var NgOriginalFile = Symbol("NgOriginalFile");
609
609
  var UpdateMode;
610
610
  (function(UpdateMode2) {
@@ -612,13 +612,13 @@ var UpdateMode;
612
612
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
613
613
  })(UpdateMode || (UpdateMode = {}));
614
614
 
615
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
615
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
616
616
  import ts9 from "typescript";
617
617
 
618
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
618
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
619
619
  import ts6 from "typescript";
620
620
 
621
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
621
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
622
622
  var NgExtension = Symbol("NgExtension");
623
623
  function isExtended(sf) {
624
624
  return sf[NgExtension] !== void 0;
@@ -678,7 +678,7 @@ function retagTsFile(sf) {
678
678
  }
679
679
  }
680
680
 
681
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
681
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
682
682
  var TS_EXTENSIONS = /\.tsx?$/i;
683
683
  function makeShimFileName(fileName, suffix) {
684
684
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
@@ -693,7 +693,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
693
693
  return moduleName;
694
694
  }
695
695
 
696
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
696
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
697
697
  var ShimAdapter = class {
698
698
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
699
699
  this.delegate = delegate;
@@ -790,7 +790,7 @@ var ShimAdapter = class {
790
790
  }
791
791
  };
792
792
 
793
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
793
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
794
794
  import ts7 from "typescript";
795
795
  var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
796
796
  var STRIP_NG_FACTORY = /(.*)NgFactory$/;
@@ -938,7 +938,7 @@ function updateInitializers(stmt, update) {
938
938
  return ts7.factory.updateVariableStatement(stmt, getModifiers(stmt), ts7.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.factory.updateVariableDeclaration(decl, decl.name, decl.exclamationToken, decl.type, update(decl.initializer)))));
939
939
  }
940
940
 
941
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
941
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
942
942
  var ShimReferenceTagger = class {
943
943
  constructor(shimExtensions) {
944
944
  this.tagged = /* @__PURE__ */ new Set();
@@ -972,7 +972,7 @@ var ShimReferenceTagger = class {
972
972
  }
973
973
  };
974
974
 
975
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
975
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
976
976
  import ts8 from "typescript";
977
977
  var SummaryGenerator = class {
978
978
  constructor() {
@@ -1013,7 +1013,7 @@ function isExported2(decl) {
1013
1013
  return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
1014
1014
  }
1015
1015
 
1016
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1016
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1017
1017
  var DelegatingCompilerHost = class {
1018
1018
  constructor(delegate) {
1019
1019
  this.delegate = delegate;
@@ -1123,7 +1123,7 @@ var TsCreateProgramDriver = class {
1123
1123
  }
1124
1124
  };
1125
1125
 
1126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1126
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1127
1127
  var FileDependencyGraph = class {
1128
1128
  constructor() {
1129
1129
  this.nodes = /* @__PURE__ */ new Map();
@@ -1190,7 +1190,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1190
1190
  return false;
1191
1191
  }
1192
1192
 
1193
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1193
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1194
1194
  var IncrementalStateKind;
1195
1195
  (function(IncrementalStateKind2) {
1196
1196
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1198,7 +1198,7 @@ var IncrementalStateKind;
1198
1198
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1199
1199
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1200
1200
 
1201
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1201
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1202
1202
  var PhaseKind;
1203
1203
  (function(PhaseKind2) {
1204
1204
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1399,7 +1399,7 @@ function toOriginalSourceFile(sf) {
1399
1399
  }
1400
1400
  }
1401
1401
 
1402
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1402
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1403
1403
  var TrackedIncrementalBuildStrategy = class {
1404
1404
  constructor() {
1405
1405
  this.state = null;
@@ -1435,7 +1435,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1435
1435
  };
1436
1436
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1437
1437
 
1438
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1438
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1439
1439
  var IdentifierKind;
1440
1440
  (function(IdentifierKind2) {
1441
1441
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1453,7 +1453,7 @@ var AbsoluteSourceSpan = class {
1453
1453
  }
1454
1454
  };
1455
1455
 
1456
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1456
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1457
1457
  var IndexingContext = class {
1458
1458
  constructor() {
1459
1459
  this.components = /* @__PURE__ */ new Set();
@@ -1463,10 +1463,10 @@ var IndexingContext = class {
1463
1463
  }
1464
1464
  };
1465
1465
 
1466
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1466
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1467
1467
  import { ParseSourceFile } from "@angular/compiler";
1468
1468
 
1469
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1469
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1470
1470
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
1471
1471
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1472
1472
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
@@ -1703,7 +1703,7 @@ function getTemplateIdentifiers(boundTemplate) {
1703
1703
  return { identifiers: visitor.identifiers, errors: visitor.errors };
1704
1704
  }
1705
1705
 
1706
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1706
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1707
1707
  function generateAnalysis(context) {
1708
1708
  const analysis = /* @__PURE__ */ new Map();
1709
1709
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -1739,7 +1739,7 @@ function generateAnalysis(context) {
1739
1739
  return analysis;
1740
1740
  }
1741
1741
 
1742
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1742
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1743
1743
  import ts10 from "typescript";
1744
1744
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
1745
1745
  var RESOURCE_MARKER = ".$ngresource$";
@@ -1885,7 +1885,7 @@ function createLookupResolutionHost(adapter) {
1885
1885
  };
1886
1886
  }
1887
1887
 
1888
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1888
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1889
1889
  var StandaloneComponentScopeReader = class {
1890
1890
  constructor(metaReader, localModuleReader, dtsModuleReader) {
1891
1891
  this.metaReader = metaReader;
@@ -1963,10 +1963,10 @@ var StandaloneComponentScopeReader = class {
1963
1963
  }
1964
1964
  };
1965
1965
 
1966
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1966
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1967
1967
  import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
1968
1968
 
1969
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1969
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1970
1970
  import ts11 from "typescript";
1971
1971
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
1972
1972
  if (mapping.type === "direct") {
@@ -2039,7 +2039,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
2039
2039
  }
2040
2040
  }
2041
2041
 
2042
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2042
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2043
2043
  var TEMPLATE_ID = Symbol("ngTemplateId");
2044
2044
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
2045
2045
  function getTemplateId(clazz) {
@@ -2056,11 +2056,11 @@ function allocateTemplateId(sf) {
2056
2056
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
2057
2057
  }
2058
2058
 
2059
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2059
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2060
2060
  import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
2061
2061
  import ts13 from "typescript";
2062
2062
 
2063
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2063
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2064
2064
  import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
2065
2065
  import ts12 from "typescript";
2066
2066
  var parseSpanComment = /^(\d+),(\d+)$/;
@@ -2180,7 +2180,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
2180
2180
  }) || false;
2181
2181
  }
2182
2182
 
2183
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2183
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2184
2184
  var CompletionEngine = class {
2185
2185
  constructor(tcb, data, tcbPath, tcbIsShim) {
2186
2186
  this.tcb = tcb;
@@ -2337,10 +2337,10 @@ var CompletionEngine = class {
2337
2337
  }
2338
2338
  };
2339
2339
 
2340
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2340
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2341
2341
  import ts27 from "typescript";
2342
2342
 
2343
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2343
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2344
2344
  import { DomElementSchemaRegistry } from "@angular/compiler";
2345
2345
  import ts14 from "typescript";
2346
2346
  var REGISTRY = new DomElementSchemaRegistry();
@@ -2393,11 +2393,11 @@ var RegistryDomSchemaChecker = class {
2393
2393
  }
2394
2394
  };
2395
2395
 
2396
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2396
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2397
2397
  import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
2398
2398
  import ts20 from "typescript";
2399
2399
 
2400
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2400
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2401
2401
  import ts15 from "typescript";
2402
2402
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
2403
2403
  ts15.SyntaxKind.ParenthesizedExpression,
@@ -2444,16 +2444,16 @@ function isAccessExpression(node) {
2444
2444
  return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
2445
2445
  }
2446
2446
 
2447
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2447
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2448
2448
  import ts19 from "typescript";
2449
2449
 
2450
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2450
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2451
2451
  import ts18 from "typescript";
2452
2452
 
2453
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2453
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2454
2454
  import ts17 from "typescript";
2455
2455
 
2456
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2456
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2457
2457
  import ts16 from "typescript";
2458
2458
  var INELIGIBLE = {};
2459
2459
  function canEmitType(type, canEmit) {
@@ -2491,7 +2491,20 @@ var TypeEmitter = class {
2491
2491
  if (ts16.isTypeReferenceNode(node)) {
2492
2492
  return this.emitTypeReference(node);
2493
2493
  } else if (ts16.isLiteralExpression(node)) {
2494
- const clone = ts16.getMutableClone(node);
2494
+ let clone;
2495
+ if (ts16.isStringLiteral(node)) {
2496
+ clone = ts16.factory.createStringLiteral(node.text);
2497
+ } else if (ts16.isNumericLiteral(node)) {
2498
+ clone = ts16.factory.createNumericLiteral(node.text);
2499
+ } else if (ts16.isBigIntLiteral(node)) {
2500
+ clone = ts16.factory.createBigIntLiteral(node.text);
2501
+ } else if (ts16.isNoSubstitutionTemplateLiteral(node)) {
2502
+ clone = ts16.factory.createNoSubstitutionTemplateLiteral(node.text, node.rawText);
2503
+ } else if (ts16.isRegularExpressionLiteral(node)) {
2504
+ clone = ts16.factory.createRegularExpressionLiteral(node.text);
2505
+ } else {
2506
+ throw new Error(`Unsupported literal kind ${ts16.SyntaxKind[node.kind]}`);
2507
+ }
2495
2508
  ts16.setTextRange(clone, { pos: -1, end: -1 });
2496
2509
  return clone;
2497
2510
  } else {
@@ -2515,7 +2528,7 @@ var TypeEmitter = class {
2515
2528
  }
2516
2529
  };
2517
2530
 
2518
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2531
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2519
2532
  var TypeParameterEmitter = class {
2520
2533
  constructor(typeParameters, reflector) {
2521
2534
  this.typeParameters = typeParameters;
@@ -2592,7 +2605,7 @@ var TypeParameterEmitter = class {
2592
2605
  }
2593
2606
  };
2594
2607
 
2595
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2608
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2596
2609
  var TcbInliningRequirement;
2597
2610
  (function(TcbInliningRequirement2) {
2598
2611
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -2672,7 +2685,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
2672
2685
  return emitter.canEmit((ref) => env.canReferenceType(ref));
2673
2686
  }
2674
2687
 
2675
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2688
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2676
2689
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
2677
2690
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
2678
2691
  const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -2743,7 +2756,7 @@ function typeParametersWithDefaultTypes(params) {
2743
2756
  });
2744
2757
  }
2745
2758
 
2746
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2759
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2747
2760
  var Environment = class {
2748
2761
  constructor(config, importManager, refEmitter, reflector, contextFile) {
2749
2762
  this.config = config;
@@ -2835,7 +2848,7 @@ var Environment = class {
2835
2848
  }
2836
2849
  };
2837
2850
 
2838
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2851
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2839
2852
  import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
2840
2853
  import ts21 from "typescript";
2841
2854
  var OutOfBandDiagnosticRecorderImpl = class {
@@ -2968,7 +2981,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
2968
2981
  };
2969
2982
  }
2970
2983
 
2971
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
2984
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
2972
2985
  import ts22 from "typescript";
2973
2986
  var TypeCheckShimGenerator = class {
2974
2987
  constructor() {
@@ -2986,11 +2999,11 @@ var TypeCheckShimGenerator = class {
2986
2999
  }
2987
3000
  };
2988
3001
 
2989
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3002
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
2990
3003
  import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
2991
3004
  import ts25 from "typescript";
2992
3005
 
2993
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
3006
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
2994
3007
  import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
2995
3008
  import ts23 from "typescript";
2996
3009
  function wrapForDiagnostics(expr) {
@@ -3036,7 +3049,7 @@ function translateDiagnostic(diagnostic, resolver) {
3036
3049
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
3037
3050
  }
3038
3051
 
3039
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3052
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3040
3053
  import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
3041
3054
  import ts24 from "typescript";
3042
3055
  var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
@@ -3366,7 +3379,7 @@ var VeSafeLhsInferenceBugDetector = class {
3366
3379
  };
3367
3380
  VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
3368
3381
 
3369
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3382
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3370
3383
  import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
3371
3384
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3372
3385
  constructor(templateId, boundTarget, oob) {
@@ -3390,7 +3403,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3390
3403
  }
3391
3404
  };
3392
3405
 
3393
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3406
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3394
3407
  var TcbGenericContextBehavior;
3395
3408
  (function(TcbGenericContextBehavior2) {
3396
3409
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -3809,6 +3822,7 @@ var TcbDomSchemaCheckerOp = class extends TcbOp {
3809
3822
  return false;
3810
3823
  }
3811
3824
  execute() {
3825
+ var _a;
3812
3826
  if (this.checkElement) {
3813
3827
  this.tcb.domSchemaChecker.checkElement(this.tcb.id, this.element, this.tcb.schemas, this.tcb.hostIsStandalone);
3814
3828
  }
@@ -3818,7 +3832,7 @@ var TcbDomSchemaCheckerOp = class extends TcbOp {
3818
3832
  }
3819
3833
  if (binding.type === 0) {
3820
3834
  if (binding.name !== "style" && binding.name !== "class") {
3821
- const propertyName = ATTR_TO_PROP[binding.name] || binding.name;
3835
+ const propertyName = (_a = ATTR_TO_PROP.get(binding.name)) != null ? _a : binding.name;
3822
3836
  this.tcb.domSchemaChecker.checkProperty(this.tcb.id, this.element, propertyName, binding.sourceSpan, this.tcb.schemas, this.tcb.hostIsStandalone);
3823
3837
  }
3824
3838
  }
@@ -3826,14 +3840,14 @@ var TcbDomSchemaCheckerOp = class extends TcbOp {
3826
3840
  return null;
3827
3841
  }
3828
3842
  };
3829
- var ATTR_TO_PROP = {
3843
+ var ATTR_TO_PROP = new Map(Object.entries({
3830
3844
  "class": "className",
3831
3845
  "for": "htmlFor",
3832
3846
  "formaction": "formAction",
3833
3847
  "innerHtml": "innerHTML",
3834
3848
  "readonly": "readOnly",
3835
3849
  "tabindex": "tabIndex"
3836
- };
3850
+ }));
3837
3851
  var TcbUnclaimedInputsOp = class extends TcbOp {
3838
3852
  constructor(tcb, scope, element, claimedInputs) {
3839
3853
  super();
@@ -3846,6 +3860,7 @@ var TcbUnclaimedInputsOp = class extends TcbOp {
3846
3860
  return false;
3847
3861
  }
3848
3862
  execute() {
3863
+ var _a;
3849
3864
  let elId = null;
3850
3865
  for (const binding of this.element.inputs) {
3851
3866
  if (binding.type === 0 && this.claimedInputs.has(binding.name)) {
@@ -3857,7 +3872,7 @@ var TcbUnclaimedInputsOp = class extends TcbOp {
3857
3872
  if (elId === null) {
3858
3873
  elId = this.scope.resolve(this.element);
3859
3874
  }
3860
- const propertyName = ATTR_TO_PROP[binding.name] || binding.name;
3875
+ const propertyName = (_a = ATTR_TO_PROP.get(binding.name)) != null ? _a : binding.name;
3861
3876
  const prop = ts25.factory.createElementAccessExpression(elId, ts25.factory.createStringLiteral(propertyName));
3862
3877
  const stmt = ts25.factory.createBinaryExpression(prop, ts25.SyntaxKind.EqualsToken, wrapForDiagnostics(expr));
3863
3878
  addParseSpanInfo(stmt, binding.sourceSpan);
@@ -4043,9 +4058,17 @@ var Scope = class {
4043
4058
  resolve(node, directive) {
4044
4059
  const res = this.resolveLocal(node, directive);
4045
4060
  if (res !== null) {
4046
- const clone = ts25.getMutableClone(res);
4047
- ts25.setSyntheticTrailingComments(clone, []);
4048
- return clone;
4061
+ let clone;
4062
+ if (ts25.isIdentifier(res)) {
4063
+ clone = ts25.factory.createIdentifier(res.text);
4064
+ } else if (ts25.isNonNullExpression(res)) {
4065
+ clone = ts25.factory.createNonNullExpression(res.expression);
4066
+ } else {
4067
+ throw new Error(`Could not resolve ${node} to an Identifier or a NonNullExpression`);
4068
+ }
4069
+ ts25.setOriginalNode(clone, res);
4070
+ clone.parent = clone.parent;
4071
+ return ts25.setSyntheticTrailingComments(clone, []);
4049
4072
  } else if (this.parent !== null) {
4050
4073
  return this.parent.resolve(node, directive);
4051
4074
  } else {
@@ -4441,7 +4464,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
4441
4464
  }
4442
4465
  };
4443
4466
 
4444
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4467
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4445
4468
  import ts26 from "typescript";
4446
4469
  var TypeCheckFile = class extends Environment {
4447
4470
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -4477,7 +4500,7 @@ var TypeCheckFile = class extends Environment {
4477
4500
  }
4478
4501
  };
4479
4502
 
4480
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4503
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4481
4504
  var InliningMode;
4482
4505
  (function(InliningMode2) {
4483
4506
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -4715,10 +4738,10 @@ function splitStringAtPoints(str, points) {
4715
4738
  return splits;
4716
4739
  }
4717
4740
 
4718
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4741
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4719
4742
  import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
4720
4743
 
4721
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4744
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4722
4745
  var LF_CHAR = 10;
4723
4746
  var CR_CHAR = 13;
4724
4747
  var LINE_SEP_CHAR = 8232;
@@ -4759,7 +4782,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
4759
4782
  return low - 1;
4760
4783
  }
4761
4784
 
4762
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4785
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4763
4786
  var TemplateSource = class {
4764
4787
  constructor(mapping, file) {
4765
4788
  this.mapping = mapping;
@@ -4810,7 +4833,7 @@ var TemplateSourceManager = class {
4810
4833
  }
4811
4834
  };
4812
4835
 
4813
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
4836
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
4814
4837
  import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
4815
4838
  import ts28 from "typescript";
4816
4839
  var SymbolBuilder = class {
@@ -5255,7 +5278,7 @@ function sourceSpanEqual(a, b) {
5255
5278
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
5256
5279
  }
5257
5280
 
5258
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5281
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5259
5282
  var REGISTRY2 = new DomElementSchemaRegistry2();
5260
5283
  var TemplateTypeCheckerImpl = class {
5261
5284
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -5827,10 +5850,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
5827
5850
  }
5828
5851
  };
5829
5852
 
5830
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5853
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5831
5854
  import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
5832
5855
 
5833
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
5856
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
5834
5857
  import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
5835
5858
  var TemplateCheckWithVisitor = class {
5836
5859
  run(ctx, component, template) {
@@ -5907,7 +5930,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
5907
5930
  }
5908
5931
  };
5909
5932
 
5910
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5933
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5911
5934
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
5912
5935
  constructor() {
5913
5936
  super(...arguments);
@@ -5932,7 +5955,7 @@ var factory = {
5932
5955
  create: () => new InvalidBananaInBoxCheck()
5933
5956
  };
5934
5957
 
5935
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
5958
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
5936
5959
  import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
5937
5960
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
5938
5961
  ["ngIf", "NgIf"],
@@ -5977,7 +6000,7 @@ var factory2 = {
5977
6000
  }
5978
6001
  };
5979
6002
 
5980
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
6003
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
5981
6004
  import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
5982
6005
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
5983
6006
  constructor() {
@@ -6010,7 +6033,7 @@ var factory3 = {
6010
6033
  create: () => new MissingNgForOfLetCheck()
6011
6034
  };
6012
6035
 
6013
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
6036
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
6014
6037
  import { Binary } from "@angular/compiler";
6015
6038
  import ts29 from "typescript";
6016
6039
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6055,7 +6078,7 @@ var factory4 = {
6055
6078
  }
6056
6079
  };
6057
6080
 
6058
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
6081
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
6059
6082
  import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
6060
6083
  import ts30 from "typescript";
6061
6084
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6101,7 +6124,7 @@ var factory5 = {
6101
6124
  }
6102
6125
  };
6103
6126
 
6104
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
6127
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
6105
6128
  import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
6106
6129
  var STYLE_SUFFIXES = ["px", "%", "em"];
6107
6130
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
@@ -6125,7 +6148,7 @@ var factory6 = {
6125
6148
  create: () => new SuffixNotSupportedCheck()
6126
6149
  };
6127
6150
 
6128
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
6151
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
6129
6152
  import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
6130
6153
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
6131
6154
  constructor() {
@@ -6164,10 +6187,10 @@ var factory7 = {
6164
6187
  create: () => new TextAttributeNotBindingSpec()
6165
6188
  };
6166
6189
 
6167
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6190
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6168
6191
  import ts31 from "typescript";
6169
6192
 
6170
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
6193
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
6171
6194
  var DiagnosticCategoryLabel;
6172
6195
  (function(DiagnosticCategoryLabel2) {
6173
6196
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -6175,7 +6198,7 @@ var DiagnosticCategoryLabel;
6175
6198
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
6176
6199
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
6177
6200
 
6178
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6201
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6179
6202
  var ExtendedTemplateCheckerImpl = class {
6180
6203
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
6181
6204
  var _a, _b, _c, _d, _e;
@@ -6228,7 +6251,7 @@ function assertNever(value) {
6228
6251
  ${value}`);
6229
6252
  }
6230
6253
 
6231
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6254
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6232
6255
  var ALL_DIAGNOSTIC_FACTORIES = [
6233
6256
  factory,
6234
6257
  factory4,
@@ -6239,7 +6262,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
6239
6262
  factory6
6240
6263
  ];
6241
6264
 
6242
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6265
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6243
6266
  var CompilationTicketKind;
6244
6267
  (function(CompilationTicketKind2) {
6245
6268
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -6939,7 +6962,7 @@ function versionMapFromProgram(program, driver) {
6939
6962
  return versions;
6940
6963
  }
6941
6964
 
6942
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
6965
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
6943
6966
  import ts33 from "typescript";
6944
6967
  var DelegatingCompilerHost2 = class {
6945
6968
  constructor(delegate) {
@@ -7083,7 +7106,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
7083
7106
  }
7084
7107
  };
7085
7108
 
7086
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
7109
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
7087
7110
  var NgtscProgram = class {
7088
7111
  constructor(rootNames, options, delegateHost, oldProgram) {
7089
7112
  this.options = options;
@@ -7292,15 +7315,15 @@ function mergeEmitResults(emitResults) {
7292
7315
  return { diagnostics, emitSkipped, emittedFiles };
7293
7316
  }
7294
7317
 
7295
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7318
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7296
7319
  function createProgram({ rootNames, options, host, oldProgram }) {
7297
7320
  return new NgtscProgram(rootNames, options, host, oldProgram);
7298
7321
  }
7299
7322
 
7300
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7323
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7301
7324
  import ts36 from "typescript";
7302
7325
 
7303
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7326
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7304
7327
  import ts35 from "typescript";
7305
7328
  var GENERATED_FILES = /(.*?)\.(ngfactory|shim\.ngstyle|ngstyle|ngsummary)\.(js|d\.ts|ts)$/;
7306
7329
  function createMessageDiagnostic(messageText) {
@@ -7315,7 +7338,7 @@ function createMessageDiagnostic(messageText) {
7315
7338
  };
7316
7339
  }
7317
7340
 
7318
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7341
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7319
7342
  var defaultFormatHost = {
7320
7343
  getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
7321
7344
  getCanonicalFileName: (fileName) => fileName,
@@ -7530,4 +7553,4 @@ export {
7530
7553
  * found in the LICENSE file at https://angular.io/license
7531
7554
  */
7532
7555
  // Closure Compiler ignores @suppress and similar if the comment contains @license.
7533
- //# sourceMappingURL=chunk-NDIOQ2EH.js.map
7556
+ //# sourceMappingURL=chunk-GG7BM2LH.js.map