@angular/compiler-cli 15.2.0-next.0 → 15.2.0-next.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 (57) hide show
  1. package/bundles/{chunk-6ZJFIQBG.js → chunk-2NLFVEGY.js} +7 -7
  2. package/bundles/{chunk-6ZJFIQBG.js.map → chunk-2NLFVEGY.js.map} +0 -0
  3. package/bundles/{chunk-ZPQIVD3E.js → chunk-72YORMPM.js} +248 -157
  4. package/bundles/chunk-72YORMPM.js.map +6 -0
  5. package/bundles/{chunk-7DUI3BSX.js → chunk-B57SP4JB.js} +2 -2
  6. package/bundles/{chunk-7DUI3BSX.js.map → chunk-B57SP4JB.js.map} +0 -0
  7. package/bundles/{chunk-LHX5X4GY.js → chunk-G7ORMRHP.js} +70 -70
  8. package/bundles/{chunk-LHX5X4GY.js.map → chunk-G7ORMRHP.js.map} +0 -0
  9. package/bundles/{chunk-47D45K5K.js → chunk-JIV4G52G.js} +40 -40
  10. package/bundles/{chunk-47D45K5K.js.map → chunk-JIV4G52G.js.map} +0 -0
  11. package/bundles/{chunk-YRDMG3GM.js → chunk-K7P4IHT5.js} +4 -4
  12. package/bundles/{chunk-YRDMG3GM.js.map → chunk-K7P4IHT5.js.map} +0 -0
  13. package/bundles/{chunk-HRV5BIYU.js → chunk-KSFQT5FO.js} +5 -5
  14. package/bundles/{chunk-HRV5BIYU.js.map → chunk-KSFQT5FO.js.map} +0 -0
  15. package/bundles/{chunk-Q6W3UCXI.js → chunk-LPXFO4TY.js} +6 -6
  16. package/bundles/{chunk-Q6W3UCXI.js.map → chunk-LPXFO4TY.js.map} +0 -0
  17. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  18. package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  19. package/bundles/{chunk-64X67E3N.js → chunk-NEQOZOZQ.js} +31 -31
  20. package/bundles/{chunk-64X67E3N.js.map → chunk-NEQOZOZQ.js.map} +0 -0
  21. package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
  22. package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
  23. package/bundles/{chunk-DCKTQM63.js → chunk-TNUB43C4.js} +123 -76
  24. package/bundles/chunk-TNUB43C4.js.map +6 -0
  25. package/bundles/{chunk-NJMZRTB6.js → chunk-YZWN2KWE.js} +5 -5
  26. package/bundles/{chunk-NJMZRTB6.js.map → chunk-YZWN2KWE.js.map} +0 -0
  27. package/bundles/{chunk-O4JLZZWJ.js → chunk-ZF3IVDQ2.js} +6 -6
  28. package/bundles/{chunk-O4JLZZWJ.js.map → chunk-ZF3IVDQ2.js.map} +0 -0
  29. package/bundles/{chunk-Z534TW2O.js → chunk-ZOI6L3RR.js} +28 -28
  30. package/bundles/{chunk-Z534TW2O.js.map → chunk-ZOI6L3RR.js.map} +0 -0
  31. package/bundles/index.js +14 -13
  32. package/bundles/index.js.map +1 -1
  33. package/bundles/linker/babel/index.js +12 -12
  34. package/bundles/linker/index.js +4 -4
  35. package/bundles/ngcc/index.js +12 -12
  36. package/bundles/ngcc/main-ngcc.js +13 -13
  37. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
  38. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  39. package/bundles/private/bazel.js +1 -1
  40. package/bundles/private/localize.js +3 -3
  41. package/bundles/private/migrations.js +9 -5
  42. package/bundles/private/tooling.js +2 -2
  43. package/bundles/src/bin/ng_xi18n.js +10 -10
  44. package/bundles/src/bin/ngc.js +8 -8
  45. package/bundles_metadata.json +1 -1
  46. package/ngcc/src/packages/build_marker.d.ts +1 -1
  47. package/package.json +2 -2
  48. package/private/migrations.d.ts +1 -0
  49. package/src/ngtsc/metadata/src/api.d.ts +8 -2
  50. package/src/ngtsc/metadata/src/ng_module_index.d.ts +25 -0
  51. package/src/ngtsc/metadata/src/registry.d.ts +1 -1
  52. package/src/ngtsc/typecheck/api/api.d.ts +1 -0
  53. package/src/ngtsc/typecheck/api/checker.d.ts +21 -2
  54. package/src/ngtsc/typecheck/api/scope.d.ts +13 -0
  55. package/src/ngtsc/typecheck/src/checker.d.ts +12 -6
  56. package/bundles/chunk-DCKTQM63.js.map +0 -6
  57. package/bundles/chunk-ZPQIVD3E.js.map +0 -6
@@ -4,6 +4,7 @@
4
4
 
5
5
  import {
6
6
  CompilationMode,
7
+ CompletionKind,
7
8
  ComponentDecoratorHandler,
8
9
  ComponentScopeKind,
9
10
  CompoundComponentScopeReader,
@@ -21,20 +22,24 @@ import {
21
22
  MetadataDtsModuleScopeResolver,
22
23
  NgModuleDecoratorHandler,
23
24
  NoopReferencesRegistry,
25
+ OptimizeFor,
24
26
  PartialEvaluator,
25
27
  PipeDecoratorHandler,
28
+ PotentialImportKind,
29
+ PotentialImportMode,
26
30
  ResourceRegistry,
27
31
  SemanticDepGraphUpdater,
32
+ SymbolKind,
28
33
  TraitCompiler,
29
34
  TypeCheckScopeRegistry,
30
35
  aliasTransformFactory,
31
36
  declarationTransformFactory,
32
37
  ivyTransformFactory
33
- } from "./chunk-DCKTQM63.js";
38
+ } from "./chunk-TNUB43C4.js";
34
39
  import {
35
40
  TypeScriptReflectionHost,
36
41
  isNamedClassDeclaration
37
- } from "./chunk-O4JLZZWJ.js";
42
+ } from "./chunk-ZF3IVDQ2.js";
38
43
  import {
39
44
  AbsoluteModuleStrategy,
40
45
  AliasStrategy,
@@ -77,7 +82,7 @@ import {
77
82
  toUnredirectedSourceFile,
78
83
  translateExpression,
79
84
  translateType
80
- } from "./chunk-Z534TW2O.js";
85
+ } from "./chunk-ZOI6L3RR.js";
81
86
  import {
82
87
  LogicalFileSystem,
83
88
  absoluteFrom,
@@ -88,16 +93,16 @@ import {
88
93
  getSourceFileOrError,
89
94
  join,
90
95
  resolve
91
- } from "./chunk-EC5K6QPP.js";
96
+ } from "./chunk-TBUSSXUA.js";
92
97
  import {
93
98
  ActivePerfRecorder,
94
99
  DelegatingPerfRecorder,
95
100
  PerfCheckpoint,
96
101
  PerfEvent,
97
102
  PerfPhase
98
- } from "./chunk-NJMZRTB6.js";
103
+ } from "./chunk-YZWN2KWE.js";
99
104
 
100
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
105
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
101
106
  var DEFAULT_ERROR_CODE = 100;
102
107
  var UNKNOWN_ERROR_CODE = 500;
103
108
  var SOURCE = "angular";
@@ -115,7 +120,7 @@ var EmitFlags;
115
120
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
116
121
  })(EmitFlags || (EmitFlags = {}));
117
122
 
118
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
123
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
119
124
  import ts from "typescript";
120
125
  var wrapHostForTest = null;
121
126
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -125,48 +130,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
125
130
  return tsHost;
126
131
  }
127
132
 
128
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
129
- var OptimizeFor;
130
- (function(OptimizeFor2) {
131
- OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
132
- OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
133
- })(OptimizeFor || (OptimizeFor = {}));
134
-
135
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
136
- var CompletionKind;
137
- (function(CompletionKind2) {
138
- CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
139
- CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
140
- })(CompletionKind || (CompletionKind = {}));
141
-
142
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
143
- var PotentialImportKind;
144
- (function(PotentialImportKind2) {
145
- PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
146
- PotentialImportKind2[PotentialImportKind2["Standalone"] = 1] = "Standalone";
147
- })(PotentialImportKind || (PotentialImportKind = {}));
148
-
149
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
150
- var SymbolKind;
151
- (function(SymbolKind2) {
152
- SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
153
- SymbolKind2[SymbolKind2["Output"] = 1] = "Output";
154
- SymbolKind2[SymbolKind2["Binding"] = 2] = "Binding";
155
- SymbolKind2[SymbolKind2["Reference"] = 3] = "Reference";
156
- SymbolKind2[SymbolKind2["Variable"] = 4] = "Variable";
157
- SymbolKind2[SymbolKind2["Directive"] = 5] = "Directive";
158
- SymbolKind2[SymbolKind2["Element"] = 6] = "Element";
159
- SymbolKind2[SymbolKind2["Template"] = 7] = "Template";
160
- SymbolKind2[SymbolKind2["Expression"] = 8] = "Expression";
161
- SymbolKind2[SymbolKind2["DomBinding"] = 9] = "DomBinding";
162
- SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
163
- })(SymbolKind || (SymbolKind = {}));
164
-
165
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
133
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
166
134
  import { HtmlParser, MessageBundle } from "@angular/compiler";
167
135
  import ts34 from "typescript";
168
136
 
169
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
137
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
170
138
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
171
139
  import * as path from "path";
172
140
  function i18nGetExtension(formatName) {
@@ -217,10 +185,10 @@ function getPathNormalizer(basePath) {
217
185
  };
218
186
  }
219
187
 
220
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
188
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
221
189
  import ts2 from "typescript";
222
190
 
223
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
191
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
224
192
  function toNumbers(value) {
225
193
  const suffixIndex = value.lastIndexOf("-");
226
194
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -255,7 +223,7 @@ function compareVersions(v1, v2) {
255
223
  return compareNumbers(toNumbers(v1), toNumbers(v2));
256
224
  }
257
225
 
258
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
226
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
259
227
  var MIN_TS_VERSION = "4.8.2";
260
228
  var MAX_TS_VERSION = "5.0.0";
261
229
  var tsVersion = ts2.version;
@@ -268,10 +236,10 @@ function verifySupportedTypeScriptVersion() {
268
236
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
269
237
  }
270
238
 
271
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
239
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
272
240
  import ts32 from "typescript";
273
241
 
274
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
242
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
275
243
  var CycleAnalyzer = class {
276
244
  constructor(importGraph) {
277
245
  this.importGraph = importGraph;
@@ -342,7 +310,7 @@ var Cycle = class {
342
310
  }
343
311
  };
344
312
 
345
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
313
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
346
314
  import ts3 from "typescript";
347
315
  var ImportGraph = class {
348
316
  constructor(checker, perf) {
@@ -434,7 +402,7 @@ var Found = class {
434
402
  }
435
403
  };
436
404
 
437
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
405
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
438
406
  import ts4 from "typescript";
439
407
  var FlatIndexGenerator = class {
440
408
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -459,7 +427,7 @@ export * from '${relativeEntryPoint}';
459
427
  }
460
428
  };
461
429
 
462
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
430
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
463
431
  function findFlatIndexEntryPoint(rootFiles) {
464
432
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
465
433
  let resolvedEntryPoint = null;
@@ -475,7 +443,7 @@ function findFlatIndexEntryPoint(rootFiles) {
475
443
  return resolvedEntryPoint;
476
444
  }
477
445
 
478
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
446
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
479
447
  import ts5 from "typescript";
480
448
  function checkForPrivateExports(entryPoint, checker, refGraph) {
481
449
  const diagnostics = [];
@@ -555,7 +523,7 @@ function getDescriptorOfDeclaration(decl) {
555
523
  }
556
524
  }
557
525
 
558
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
526
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
559
527
  var ReferenceGraph = class {
560
528
  constructor() {
561
529
  this.references = /* @__PURE__ */ new Map();
@@ -609,7 +577,7 @@ var ReferenceGraph = class {
609
577
  }
610
578
  };
611
579
 
612
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
580
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
613
581
  var NgOriginalFile = Symbol("NgOriginalFile");
614
582
  var UpdateMode;
615
583
  (function(UpdateMode2) {
@@ -617,13 +585,13 @@ var UpdateMode;
617
585
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
618
586
  })(UpdateMode || (UpdateMode = {}));
619
587
 
620
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
588
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
621
589
  import ts9 from "typescript";
622
590
 
623
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
591
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
624
592
  import ts6 from "typescript";
625
593
 
626
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
594
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
627
595
  var NgExtension = Symbol("NgExtension");
628
596
  function isExtended(sf) {
629
597
  return sf[NgExtension] !== void 0;
@@ -683,7 +651,7 @@ function retagTsFile(sf) {
683
651
  }
684
652
  }
685
653
 
686
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
654
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
687
655
  var TS_EXTENSIONS = /\.tsx?$/i;
688
656
  function makeShimFileName(fileName, suffix) {
689
657
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
@@ -698,7 +666,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
698
666
  return moduleName;
699
667
  }
700
668
 
701
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
669
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
702
670
  var ShimAdapter = class {
703
671
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
704
672
  this.delegate = delegate;
@@ -793,7 +761,7 @@ var ShimAdapter = class {
793
761
  }
794
762
  };
795
763
 
796
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
764
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
797
765
  import ts7 from "typescript";
798
766
  var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
799
767
  var STRIP_NG_FACTORY = /(.*)NgFactory$/;
@@ -953,7 +921,7 @@ function updateInitializers(stmt, update) {
953
921
  return ts7.factory.updateVariableStatement(stmt, ts7.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)))));
954
922
  }
955
923
 
956
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
924
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
957
925
  var ShimReferenceTagger = class {
958
926
  constructor(shimExtensions) {
959
927
  this.tagged = /* @__PURE__ */ new Set();
@@ -987,7 +955,7 @@ var ShimReferenceTagger = class {
987
955
  }
988
956
  };
989
957
 
990
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
958
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
991
959
  import ts8 from "typescript";
992
960
  var SummaryGenerator = class {
993
961
  constructor() {
@@ -1028,7 +996,7 @@ function isExported2(decl) {
1028
996
  return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
1029
997
  }
1030
998
 
1031
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
999
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1032
1000
  var DelegatingCompilerHost = class {
1033
1001
  constructor(delegate) {
1034
1002
  this.delegate = delegate;
@@ -1139,7 +1107,7 @@ var TsCreateProgramDriver = class {
1139
1107
  }
1140
1108
  };
1141
1109
 
1142
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1110
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1143
1111
  var FileDependencyGraph = class {
1144
1112
  constructor() {
1145
1113
  this.nodes = /* @__PURE__ */ new Map();
@@ -1206,7 +1174,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1206
1174
  return false;
1207
1175
  }
1208
1176
 
1209
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1177
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1210
1178
  var IncrementalStateKind;
1211
1179
  (function(IncrementalStateKind2) {
1212
1180
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1214,7 +1182,7 @@ var IncrementalStateKind;
1214
1182
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1215
1183
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1216
1184
 
1217
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1185
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1218
1186
  var PhaseKind;
1219
1187
  (function(PhaseKind2) {
1220
1188
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1415,7 +1383,7 @@ function toOriginalSourceFile(sf) {
1415
1383
  }
1416
1384
  }
1417
1385
 
1418
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1386
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1419
1387
  var TrackedIncrementalBuildStrategy = class {
1420
1388
  constructor() {
1421
1389
  this.state = null;
@@ -1451,7 +1419,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1451
1419
  };
1452
1420
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1453
1421
 
1454
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1422
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1455
1423
  var IdentifierKind;
1456
1424
  (function(IdentifierKind2) {
1457
1425
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1469,7 +1437,7 @@ var AbsoluteSourceSpan = class {
1469
1437
  }
1470
1438
  };
1471
1439
 
1472
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1440
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1473
1441
  var IndexingContext = class {
1474
1442
  constructor() {
1475
1443
  this.components = /* @__PURE__ */ new Set();
@@ -1479,10 +1447,10 @@ var IndexingContext = class {
1479
1447
  }
1480
1448
  };
1481
1449
 
1482
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1450
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1483
1451
  import { ParseSourceFile } from "@angular/compiler";
1484
1452
 
1485
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1453
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1486
1454
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
1487
1455
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1488
1456
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
@@ -1719,7 +1687,7 @@ function getTemplateIdentifiers(boundTemplate) {
1719
1687
  return { identifiers: visitor.identifiers, errors: visitor.errors };
1720
1688
  }
1721
1689
 
1722
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1690
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1723
1691
  function generateAnalysis(context) {
1724
1692
  const analysis = /* @__PURE__ */ new Map();
1725
1693
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -1755,7 +1723,96 @@ function generateAnalysis(context) {
1755
1723
  return analysis;
1756
1724
  }
1757
1725
 
1758
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1726
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
1727
+ var NgModuleIndexImpl = class {
1728
+ constructor(metaReader, localReader) {
1729
+ this.metaReader = metaReader;
1730
+ this.localReader = localReader;
1731
+ this.ngModuleAuthoritativeReference = /* @__PURE__ */ new Map();
1732
+ this.typeToExportingModules = /* @__PURE__ */ new Map();
1733
+ this.indexed = false;
1734
+ }
1735
+ updateWith(cache, key, elem) {
1736
+ if (cache.has(key)) {
1737
+ cache.get(key).add(elem);
1738
+ } else {
1739
+ const set = /* @__PURE__ */ new Set();
1740
+ set.add(elem);
1741
+ cache.set(key, set);
1742
+ }
1743
+ }
1744
+ index() {
1745
+ const seenTypesWithReexports = /* @__PURE__ */ new Map();
1746
+ const locallyDeclaredDirsAndNgModules = [
1747
+ ...this.localReader.getKnown(MetaKind.NgModule),
1748
+ ...this.localReader.getKnown(MetaKind.Directive)
1749
+ ];
1750
+ for (const decl of locallyDeclaredDirsAndNgModules) {
1751
+ this.indexTrait(new Reference(decl), seenTypesWithReexports);
1752
+ }
1753
+ this.indexed = true;
1754
+ }
1755
+ indexTrait(ref, seenTypesWithReexports) {
1756
+ var _a, _b, _c;
1757
+ if (seenTypesWithReexports.has(ref.node)) {
1758
+ return;
1759
+ }
1760
+ seenTypesWithReexports.set(ref.node, /* @__PURE__ */ new Set());
1761
+ const meta = (_a = this.metaReader.getDirectiveMetadata(ref)) != null ? _a : this.metaReader.getNgModuleMetadata(ref);
1762
+ if (meta === null) {
1763
+ return;
1764
+ }
1765
+ if (meta.imports !== null) {
1766
+ for (const childRef of meta.imports) {
1767
+ this.indexTrait(childRef, seenTypesWithReexports);
1768
+ }
1769
+ }
1770
+ if (meta.kind === MetaKind.NgModule) {
1771
+ if (!this.ngModuleAuthoritativeReference.has(ref.node)) {
1772
+ this.ngModuleAuthoritativeReference.set(ref.node, ref);
1773
+ }
1774
+ for (const childRef of meta.exports) {
1775
+ this.indexTrait(childRef, seenTypesWithReexports);
1776
+ const childMeta = (_c = (_b = this.metaReader.getDirectiveMetadata(childRef)) != null ? _b : this.metaReader.getPipeMetadata(childRef)) != null ? _c : this.metaReader.getNgModuleMetadata(childRef);
1777
+ if (childMeta === null) {
1778
+ continue;
1779
+ }
1780
+ switch (childMeta.kind) {
1781
+ case MetaKind.Directive:
1782
+ case MetaKind.Pipe:
1783
+ this.updateWith(this.typeToExportingModules, childRef.node, ref.node);
1784
+ this.updateWith(seenTypesWithReexports, ref.node, childRef.node);
1785
+ break;
1786
+ case MetaKind.NgModule:
1787
+ if (seenTypesWithReexports.has(childRef.node)) {
1788
+ for (const reexported of seenTypesWithReexports.get(childRef.node)) {
1789
+ this.updateWith(this.typeToExportingModules, reexported, ref.node);
1790
+ this.updateWith(seenTypesWithReexports, ref.node, reexported);
1791
+ }
1792
+ }
1793
+ break;
1794
+ }
1795
+ }
1796
+ }
1797
+ }
1798
+ getNgModulesExporting(directiveOrPipe) {
1799
+ if (!this.indexed) {
1800
+ this.index();
1801
+ }
1802
+ if (!this.typeToExportingModules.has(directiveOrPipe)) {
1803
+ return [];
1804
+ }
1805
+ const refs = [];
1806
+ for (const ngModule of this.typeToExportingModules.get(directiveOrPipe)) {
1807
+ if (this.ngModuleAuthoritativeReference.has(ngModule)) {
1808
+ refs.push(this.ngModuleAuthoritativeReference.get(ngModule));
1809
+ }
1810
+ }
1811
+ return refs;
1812
+ }
1813
+ };
1814
+
1815
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1759
1816
  import ts10 from "typescript";
1760
1817
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
1761
1818
  var RESOURCE_MARKER = ".$ngresource$";
@@ -1901,7 +1958,7 @@ function createLookupResolutionHost(adapter) {
1901
1958
  };
1902
1959
  }
1903
1960
 
1904
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1961
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1905
1962
  var StandaloneComponentScopeReader = class {
1906
1963
  constructor(metaReader, localModuleReader, dtsModuleReader) {
1907
1964
  this.metaReader = metaReader;
@@ -1979,10 +2036,10 @@ var StandaloneComponentScopeReader = class {
1979
2036
  }
1980
2037
  };
1981
2038
 
1982
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
2039
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1983
2040
  import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
1984
2041
 
1985
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
2042
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1986
2043
  import ts11 from "typescript";
1987
2044
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
1988
2045
  var _a;
@@ -2089,7 +2146,7 @@ function parseTemplateAsSourceFile(fileName, template) {
2089
2146
  return ts11.createSourceFile(fileName, template, ts11.ScriptTarget.Latest, false, ts11.ScriptKind.JSX);
2090
2147
  }
2091
2148
 
2092
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2149
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2093
2150
  var TEMPLATE_ID = Symbol("ngTemplateId");
2094
2151
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
2095
2152
  function getTemplateId(clazz) {
@@ -2106,11 +2163,11 @@ function allocateTemplateId(sf) {
2106
2163
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
2107
2164
  }
2108
2165
 
2109
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2166
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2110
2167
  import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
2111
2168
  import ts13 from "typescript";
2112
2169
 
2113
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2170
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2114
2171
  import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
2115
2172
  import ts12 from "typescript";
2116
2173
  var parseSpanComment = /^(\d+),(\d+)$/;
@@ -2240,7 +2297,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
2240
2297
  }) || false;
2241
2298
  }
2242
2299
 
2243
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2300
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2244
2301
  var CompletionEngine = class {
2245
2302
  constructor(tcb, data, tcbPath, tcbIsShim) {
2246
2303
  this.tcb = tcb;
@@ -2397,10 +2454,10 @@ var CompletionEngine = class {
2397
2454
  }
2398
2455
  };
2399
2456
 
2400
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2457
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2401
2458
  import ts27 from "typescript";
2402
2459
 
2403
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2460
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2404
2461
  import { DomElementSchemaRegistry } from "@angular/compiler";
2405
2462
  import ts14 from "typescript";
2406
2463
  var REGISTRY = new DomElementSchemaRegistry();
@@ -2453,11 +2510,11 @@ var RegistryDomSchemaChecker = class {
2453
2510
  }
2454
2511
  };
2455
2512
 
2456
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2513
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2457
2514
  import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
2458
2515
  import ts20 from "typescript";
2459
2516
 
2460
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2517
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2461
2518
  import ts15 from "typescript";
2462
2519
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
2463
2520
  ts15.SyntaxKind.ParenthesizedExpression,
@@ -2531,16 +2588,16 @@ function isAccessExpression(node) {
2531
2588
  return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
2532
2589
  }
2533
2590
 
2534
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2591
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2535
2592
  import ts19 from "typescript";
2536
2593
 
2537
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2594
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2538
2595
  import ts18 from "typescript";
2539
2596
 
2540
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2597
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2541
2598
  import ts17 from "typescript";
2542
2599
 
2543
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2600
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2544
2601
  import ts16 from "typescript";
2545
2602
  var INELIGIBLE = {};
2546
2603
  function canEmitType(type, canEmit) {
@@ -2615,7 +2672,7 @@ var TypeEmitter = class {
2615
2672
  }
2616
2673
  };
2617
2674
 
2618
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2675
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2619
2676
  var TypeParameterEmitter = class {
2620
2677
  constructor(typeParameters, reflector) {
2621
2678
  this.typeParameters = typeParameters;
@@ -2692,7 +2749,7 @@ var TypeParameterEmitter = class {
2692
2749
  }
2693
2750
  };
2694
2751
 
2695
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2752
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2696
2753
  var TcbInliningRequirement;
2697
2754
  (function(TcbInliningRequirement2) {
2698
2755
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -2772,7 +2829,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
2772
2829
  return emitter.canEmit((ref) => env.canReferenceType(ref));
2773
2830
  }
2774
2831
 
2775
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2832
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2776
2833
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
2777
2834
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
2778
2835
  const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -2818,7 +2875,6 @@ function generateInlineTypeCtor(node, meta) {
2818
2875
  ]);
2819
2876
  }
2820
2877
  return ts19.factory.createMethodDeclaration(
2821
- void 0,
2822
2878
  [ts19.factory.createModifier(ts19.SyntaxKind.StaticKeyword)],
2823
2879
  void 0,
2824
2880
  meta.fnName,
@@ -2885,7 +2941,7 @@ function typeParametersWithDefaultTypes(params) {
2885
2941
  });
2886
2942
  }
2887
2943
 
2888
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2944
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2889
2945
  var Environment = class {
2890
2946
  constructor(config, importManager, refEmitter, reflector, contextFile) {
2891
2947
  this.config = config;
@@ -2977,7 +3033,7 @@ var Environment = class {
2977
3033
  }
2978
3034
  };
2979
3035
 
2980
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
3036
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2981
3037
  import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
2982
3038
  import ts21 from "typescript";
2983
3039
  var OutOfBandDiagnosticRecorderImpl = class {
@@ -3110,7 +3166,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
3110
3166
  };
3111
3167
  }
3112
3168
 
3113
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
3169
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
3114
3170
  import ts22 from "typescript";
3115
3171
  var TypeCheckShimGenerator = class {
3116
3172
  constructor() {
@@ -3128,11 +3184,11 @@ var TypeCheckShimGenerator = class {
3128
3184
  }
3129
3185
  };
3130
3186
 
3131
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3187
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3132
3188
  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";
3133
3189
  import ts25 from "typescript";
3134
3190
 
3135
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
3191
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
3136
3192
  import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
3137
3193
  import ts23 from "typescript";
3138
3194
  function wrapForDiagnostics(expr) {
@@ -3178,7 +3234,7 @@ function translateDiagnostic(diagnostic, resolver) {
3178
3234
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
3179
3235
  }
3180
3236
 
3181
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3237
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3182
3238
  import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
3183
3239
  import ts24 from "typescript";
3184
3240
  var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
@@ -3508,7 +3564,7 @@ var VeSafeLhsInferenceBugDetector = class {
3508
3564
  };
3509
3565
  VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
3510
3566
 
3511
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3567
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3512
3568
  import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
3513
3569
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3514
3570
  constructor(templateId, boundTarget, oob) {
@@ -3532,7 +3588,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3532
3588
  }
3533
3589
  };
3534
3590
 
3535
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3591
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3536
3592
  var TcbGenericContextBehavior;
3537
3593
  (function(TcbGenericContextBehavior2) {
3538
3594
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -4635,7 +4691,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
4635
4691
  }
4636
4692
  };
4637
4693
 
4638
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4694
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4639
4695
  import ts26 from "typescript";
4640
4696
  var TypeCheckFile = class extends Environment {
4641
4697
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -4671,7 +4727,7 @@ var TypeCheckFile = class extends Environment {
4671
4727
  }
4672
4728
  };
4673
4729
 
4674
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4730
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4675
4731
  var InliningMode;
4676
4732
  (function(InliningMode2) {
4677
4733
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -4909,10 +4965,10 @@ function splitStringAtPoints(str, points) {
4909
4965
  return splits;
4910
4966
  }
4911
4967
 
4912
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4968
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4913
4969
  import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
4914
4970
 
4915
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4971
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4916
4972
  var LF_CHAR = 10;
4917
4973
  var CR_CHAR = 13;
4918
4974
  var LINE_SEP_CHAR = 8232;
@@ -4953,7 +5009,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
4953
5009
  return low - 1;
4954
5010
  }
4955
5011
 
4956
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
5012
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4957
5013
  var TemplateSource = class {
4958
5014
  constructor(mapping, file) {
4959
5015
  this.mapping = mapping;
@@ -5004,7 +5060,7 @@ var TemplateSourceManager = class {
5004
5060
  }
5005
5061
  };
5006
5062
 
5007
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
5063
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
5008
5064
  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";
5009
5065
  import ts28 from "typescript";
5010
5066
  var SymbolBuilder = class {
@@ -5488,10 +5544,10 @@ function sourceSpanEqual(a, b) {
5488
5544
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
5489
5545
  }
5490
5546
 
5491
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5547
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5492
5548
  var REGISTRY2 = new DomElementSchemaRegistry2();
5493
5549
  var TemplateTypeCheckerImpl = class {
5494
- constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, componentScopeReader, typeCheckScopeRegistry, perf) {
5550
+ constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
5495
5551
  this.originalProgram = originalProgram;
5496
5552
  this.programDriver = programDriver;
5497
5553
  this.typeCheckAdapter = typeCheckAdapter;
@@ -5502,6 +5558,7 @@ var TemplateTypeCheckerImpl = class {
5502
5558
  this.priorBuild = priorBuild;
5503
5559
  this.metaReader = metaReader;
5504
5560
  this.localMetaReader = localMetaReader;
5561
+ this.ngModuleIndex = ngModuleIndex;
5505
5562
  this.componentScopeReader = componentScopeReader;
5506
5563
  this.typeCheckScopeRegistry = typeCheckScopeRegistry;
5507
5564
  this.perf = perf;
@@ -5519,6 +5576,14 @@ var TemplateTypeCheckerImpl = class {
5519
5576
  }
5520
5577
  return data.template;
5521
5578
  }
5579
+ getUsedDirectives(component) {
5580
+ var _a;
5581
+ return ((_a = this.getLatestComponentState(component).data) == null ? void 0 : _a.boundTarget.getUsedDirectives()) || null;
5582
+ }
5583
+ getUsedPipes(component) {
5584
+ var _a;
5585
+ return ((_a = this.getLatestComponentState(component).data) == null ? void 0 : _a.boundTarget.getUsedPipes()) || null;
5586
+ }
5522
5587
  getLatestComponentState(component) {
5523
5588
  this.ensureShimForComponent(component);
5524
5589
  const sf = component.getSourceFile();
@@ -5888,6 +5953,18 @@ var TemplateTypeCheckerImpl = class {
5888
5953
  }
5889
5954
  return this.typeCheckScopeRegistry.getTypeCheckDirectiveMetadata(new Reference(dir));
5890
5955
  }
5956
+ getNgModuleMetadata(module) {
5957
+ if (!isNamedClassDeclaration(module)) {
5958
+ return null;
5959
+ }
5960
+ return this.metaReader.getNgModuleMetadata(new Reference(module));
5961
+ }
5962
+ getPipeMetadata(pipe) {
5963
+ if (!isNamedClassDeclaration(pipe)) {
5964
+ return null;
5965
+ }
5966
+ return this.metaReader.getPipeMetadata(new Reference(pipe));
5967
+ }
5891
5968
  getPotentialElementTags(component) {
5892
5969
  if (this.elementTagCache.has(component)) {
5893
5970
  return this.elementTagCache.get(component);
@@ -5957,32 +6034,46 @@ var TemplateTypeCheckerImpl = class {
5957
6034
  }
5958
6035
  return scope.ngModule;
5959
6036
  }
5960
- getPotentialImportsFor(toImport, inContext) {
6037
+ emit(kind, refTo, inContext) {
6038
+ const emittedRef = this.refEmitter.emit(refTo, inContext.getSourceFile());
6039
+ if (emittedRef.kind === 1) {
6040
+ return null;
6041
+ }
6042
+ const emitted = emittedRef.expression;
6043
+ if (emitted instanceof WrappedNodeExpr) {
6044
+ return { kind, symbolName: emitted.node.text };
6045
+ } else if (emitted instanceof ExternalExpr2 && emitted.value.moduleName !== null && emitted.value.name !== null) {
6046
+ return {
6047
+ kind,
6048
+ moduleSpecifier: emitted.value.moduleName,
6049
+ symbolName: emitted.value.name
6050
+ };
6051
+ }
6052
+ return null;
6053
+ }
6054
+ getPotentialImportsFor(toImport, inContext, importMode) {
5961
6055
  var _a;
5962
- let ngModuleRef;
5963
- if (toImport.ngModule !== null) {
5964
- ngModuleRef = (_a = this.metaReader.getNgModuleMetadata(new Reference(toImport.ngModule))) == null ? void 0 : _a.ref;
5965
- }
5966
- const kind = ngModuleRef ? PotentialImportKind.NgModule : PotentialImportKind.Standalone;
5967
- const importTarget = ngModuleRef != null ? ngModuleRef : toImport.ref;
5968
- const emittedRef = this.refEmitter.emit(importTarget, inContext.getSourceFile());
5969
- if (emittedRef.kind === 1)
5970
- return [];
5971
- const emittedExpression = emittedRef.expression;
5972
- if (emittedExpression instanceof WrappedNodeExpr) {
5973
- return [{ kind, symbolName: emittedExpression.node.getText() }];
6056
+ const imports = [];
6057
+ const meta = (_a = this.metaReader.getDirectiveMetadata(toImport)) != null ? _a : this.metaReader.getPipeMetadata(toImport);
6058
+ if (meta === null) {
6059
+ return imports;
5974
6060
  }
5975
- if (!(emittedExpression instanceof ExternalExpr2)) {
5976
- return [];
6061
+ if (meta.isStandalone || importMode === PotentialImportMode.ForceDirect) {
6062
+ const emitted = this.emit(PotentialImportKind.Standalone, toImport, inContext);
6063
+ if (emitted !== null) {
6064
+ imports.push(emitted);
6065
+ }
5977
6066
  }
5978
- if (emittedExpression.value.moduleName === null || emittedExpression.value.name === null)
5979
- return [];
5980
- const preferredImport = {
5981
- kind: ngModuleRef ? PotentialImportKind.NgModule : PotentialImportKind.Standalone,
5982
- moduleSpecifier: emittedExpression.value.moduleName,
5983
- symbolName: emittedExpression.value.name
5984
- };
5985
- return [preferredImport];
6067
+ const exportingNgModules = this.ngModuleIndex.getNgModulesExporting(meta.ref.node);
6068
+ if (exportingNgModules !== null) {
6069
+ for (const exporter of exportingNgModules) {
6070
+ const emittedRef = this.emit(PotentialImportKind.NgModule, exporter, inContext);
6071
+ if (emittedRef !== null) {
6072
+ imports.push(emittedRef);
6073
+ }
6074
+ }
6075
+ }
6076
+ return imports;
5986
6077
  }
5987
6078
  getScopeData(component) {
5988
6079
  if (this.scopeCache.has(component)) {
@@ -6138,10 +6229,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
6138
6229
  }
6139
6230
  };
6140
6231
 
6141
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6232
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6142
6233
  import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
6143
6234
 
6144
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
6235
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
6145
6236
  import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
6146
6237
  var TemplateCheckWithVisitor = class {
6147
6238
  run(ctx, component, template) {
@@ -6218,7 +6309,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
6218
6309
  }
6219
6310
  };
6220
6311
 
6221
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6312
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6222
6313
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
6223
6314
  constructor() {
6224
6315
  super(...arguments);
@@ -6243,7 +6334,7 @@ var factory = {
6243
6334
  create: () => new InvalidBananaInBoxCheck()
6244
6335
  };
6245
6336
 
6246
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
6337
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
6247
6338
  import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
6248
6339
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
6249
6340
  ["ngIf", "NgIf"],
@@ -6288,7 +6379,7 @@ var factory2 = {
6288
6379
  }
6289
6380
  };
6290
6381
 
6291
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
6382
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
6292
6383
  import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
6293
6384
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
6294
6385
  constructor() {
@@ -6321,7 +6412,7 @@ var factory3 = {
6321
6412
  create: () => new MissingNgForOfLetCheck()
6322
6413
  };
6323
6414
 
6324
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
6415
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
6325
6416
  import { Binary } from "@angular/compiler";
6326
6417
  import ts29 from "typescript";
6327
6418
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6366,7 +6457,7 @@ var factory4 = {
6366
6457
  }
6367
6458
  };
6368
6459
 
6369
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
6460
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
6370
6461
  import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
6371
6462
  import ts30 from "typescript";
6372
6463
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6412,7 +6503,7 @@ var factory5 = {
6412
6503
  }
6413
6504
  };
6414
6505
 
6415
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
6506
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
6416
6507
  import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
6417
6508
  var STYLE_SUFFIXES = ["px", "%", "em"];
6418
6509
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
@@ -6436,7 +6527,7 @@ var factory6 = {
6436
6527
  create: () => new SuffixNotSupportedCheck()
6437
6528
  };
6438
6529
 
6439
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
6530
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
6440
6531
  import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
6441
6532
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
6442
6533
  constructor() {
@@ -6475,10 +6566,10 @@ var factory7 = {
6475
6566
  create: () => new TextAttributeNotBindingSpec()
6476
6567
  };
6477
6568
 
6478
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6569
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6479
6570
  import ts31 from "typescript";
6480
6571
 
6481
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
6572
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
6482
6573
  var DiagnosticCategoryLabel;
6483
6574
  (function(DiagnosticCategoryLabel2) {
6484
6575
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -6486,7 +6577,7 @@ var DiagnosticCategoryLabel;
6486
6577
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
6487
6578
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
6488
6579
 
6489
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6580
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6490
6581
  var ExtendedTemplateCheckerImpl = class {
6491
6582
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
6492
6583
  var _a, _b, _c, _d, _e;
@@ -6539,7 +6630,7 @@ function assertNever(value) {
6539
6630
  ${value}`);
6540
6631
  }
6541
6632
 
6542
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6633
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6543
6634
  var ALL_DIAGNOSTIC_FACTORIES = [
6544
6635
  factory,
6545
6636
  factory4,
@@ -6550,7 +6641,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
6550
6641
  factory6
6551
6642
  ];
6552
6643
 
6553
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6644
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6554
6645
  var CompilationTicketKind;
6555
6646
  (function(CompilationTicketKind2) {
6556
6647
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -7042,6 +7133,7 @@ var NgCompiler = class {
7042
7133
  const localMetaReader = localMetaRegistry;
7043
7134
  const depScopeReader = new MetadataDtsModuleScopeResolver(dtsReader, aliasingHost);
7044
7135
  const metaReader = new CompoundMetadataReader([localMetaReader, dtsReader]);
7136
+ const ngModuleIndex = new NgModuleIndexImpl(metaReader, localMetaReader);
7045
7137
  const ngModuleScopeRegistry = new LocalModuleScopeRegistry(localMetaReader, metaReader, depScopeReader, refEmitter, aliasingHost);
7046
7138
  const standaloneScopeReader = new StandaloneComponentScopeReader(metaReader, ngModuleScopeRegistry, depScopeReader);
7047
7139
  const scopeReader = new CompoundComponentScopeReader([ngModuleScopeRegistry, standaloneScopeReader]);
@@ -7075,7 +7167,7 @@ var NgCompiler = class {
7075
7167
  this.incrementalStrategy.setIncrementalState(this.incrementalCompilation.state, program);
7076
7168
  this.currentProgram = program;
7077
7169
  });
7078
- const templateTypeChecker = new TemplateTypeCheckerImpl(this.inputProgram, notifyingDriver, traitCompiler, this.getTypeCheckingConfig(), refEmitter, reflector, this.adapter, this.incrementalCompilation, metaReader, localMetaReader, scopeReader, typeCheckScopeRegistry, this.delegatingPerfRecorder);
7170
+ const templateTypeChecker = new TemplateTypeCheckerImpl(this.inputProgram, notifyingDriver, traitCompiler, this.getTypeCheckingConfig(), refEmitter, reflector, this.adapter, this.incrementalCompilation, metaReader, localMetaReader, ngModuleIndex, scopeReader, typeCheckScopeRegistry, this.delegatingPerfRecorder);
7079
7171
  const extendedTemplateChecker = this.constructionDiagnostics.length === 0 ? new ExtendedTemplateCheckerImpl(templateTypeChecker, checker, ALL_DIAGNOSTIC_FACTORIES, this.options) : null;
7080
7172
  return {
7081
7173
  isCore,
@@ -7255,7 +7347,7 @@ function versionMapFromProgram(program, driver) {
7255
7347
  return versions;
7256
7348
  }
7257
7349
 
7258
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
7350
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
7259
7351
  import ts33 from "typescript";
7260
7352
  var DelegatingCompilerHost2 = class {
7261
7353
  constructor(delegate) {
@@ -7400,7 +7492,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
7400
7492
  }
7401
7493
  };
7402
7494
 
7403
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
7495
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
7404
7496
  var NgtscProgram = class {
7405
7497
  constructor(rootNames, options, delegateHost, oldProgram) {
7406
7498
  this.options = options;
@@ -7618,15 +7710,15 @@ function mergeEmitResults(emitResults) {
7618
7710
  return { diagnostics, emitSkipped, emittedFiles };
7619
7711
  }
7620
7712
 
7621
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7713
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7622
7714
  function createProgram({ rootNames, options, host, oldProgram }) {
7623
7715
  return new NgtscProgram(rootNames, options, host, oldProgram);
7624
7716
  }
7625
7717
 
7626
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7718
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7627
7719
  import ts36 from "typescript";
7628
7720
 
7629
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7721
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7630
7722
  import ts35 from "typescript";
7631
7723
  function createMessageDiagnostic(messageText) {
7632
7724
  return {
@@ -7640,7 +7732,7 @@ function createMessageDiagnostic(messageText) {
7640
7732
  };
7641
7733
  }
7642
7734
 
7643
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7735
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7644
7736
  var defaultFormatHost = {
7645
7737
  getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
7646
7738
  getCanonicalFileName: (fileName) => fileName,
@@ -7830,7 +7922,6 @@ export {
7830
7922
  untagAllTsFiles,
7831
7923
  TsCreateProgramDriver,
7832
7924
  PatchedProgramIncrementalBuildStrategy,
7833
- OptimizeFor,
7834
7925
  freshCompilationTicket,
7835
7926
  incrementalFromStateTicket,
7836
7927
  NgCompiler,
@@ -7853,4 +7944,4 @@ export {
7853
7944
  * found in the LICENSE file at https://angular.io/license
7854
7945
  */
7855
7946
  // Closure Compiler ignores @suppress and similar if the comment contains @license.
7856
- //# sourceMappingURL=chunk-ZPQIVD3E.js.map
7947
+ //# sourceMappingURL=chunk-72YORMPM.js.map