@angular/compiler-cli 20.0.0-next.1 → 20.0.0-next.3

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 (74) hide show
  1. package/bundles/{chunk-YSSSYIZJ.js → chunk-22GWKJOS.js} +5 -5
  2. package/bundles/{chunk-PLKJMRGZ.js → chunk-2AJMO7DE.js} +7685 -7172
  3. package/bundles/chunk-2AJMO7DE.js.map +6 -0
  4. package/bundles/{chunk-77D5CI2U.js → chunk-5UDS2TPQ.js} +7 -7
  5. package/bundles/{chunk-UAA7BTBW.js → chunk-ACYTOLUT.js} +31 -31
  6. package/bundles/{chunk-O2OVHMWL.js → chunk-BTNMUYEF.js} +213 -149
  7. package/bundles/chunk-BTNMUYEF.js.map +6 -0
  8. package/bundles/{chunk-FKXFEX7K.js → chunk-GBKXY6BH.js} +3 -3
  9. package/bundles/{chunk-Q2WE7ECN.js → chunk-I6R3GL3L.js} +5 -5
  10. package/bundles/{chunk-SNXU6YPZ.js → chunk-PQSJQCH7.js} +3 -3
  11. package/bundles/{chunk-QYORKQDN.js → chunk-SOZYYFP3.js} +46 -43
  12. package/bundles/chunk-SOZYYFP3.js.map +6 -0
  13. package/bundles/{chunk-37JMVF7H.js → chunk-STORTTKY.js} +8 -8
  14. package/bundles/{chunk-SEPXPBD2.js → chunk-V53QJA3R.js} +12 -12
  15. package/bundles/index.js +12 -12
  16. package/bundles/linker/babel/index.js +12 -12
  17. package/bundles/linker/index.js +4 -4
  18. package/bundles/private/bazel.js +1 -1
  19. package/bundles/private/localize.js +3 -3
  20. package/bundles/private/migrations.js +6 -6
  21. package/bundles/private/tooling.js +6 -6
  22. package/bundles/src/bin/ng_xi18n.js +10 -10
  23. package/bundles/src/bin/ngc.js +8 -8
  24. package/bundles_metadata.json +1 -1
  25. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  26. package/package.json +3 -3
  27. package/private/migrations.d.ts +1 -1
  28. package/src/ngtsc/annotations/common/src/evaluation.d.ts +1 -1
  29. package/src/ngtsc/annotations/common/src/util.d.ts +19 -2
  30. package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
  31. package/src/ngtsc/annotations/component/src/metadata.d.ts +5 -2
  32. package/src/ngtsc/annotations/component/src/resources.d.ts +3 -2
  33. package/src/ngtsc/annotations/directive/src/handler.d.ts +12 -3
  34. package/src/ngtsc/annotations/directive/src/shared.d.ts +10 -4
  35. package/src/ngtsc/annotations/index.d.ts +1 -1
  36. package/src/ngtsc/core/api/src/options.d.ts +10 -2
  37. package/src/ngtsc/core/api/src/public_options.d.ts +4 -2
  38. package/src/ngtsc/core/src/compiler.d.ts +3 -3
  39. package/src/ngtsc/diagnostics/src/error_code.d.ts +4 -0
  40. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
  41. package/src/ngtsc/docs/src/function_extractor.d.ts +1 -1
  42. package/src/ngtsc/hmr/src/update_declaration.d.ts +3 -2
  43. package/src/ngtsc/metadata/index.d.ts +1 -1
  44. package/src/ngtsc/metadata/src/resource_registry.d.ts +13 -9
  45. package/src/ngtsc/typecheck/api/api.d.ts +22 -24
  46. package/src/ngtsc/typecheck/api/checker.d.ts +8 -4
  47. package/src/ngtsc/typecheck/api/context.d.ts +36 -18
  48. package/src/ngtsc/typecheck/diagnostics/src/diagnostic.d.ts +2 -2
  49. package/src/ngtsc/typecheck/diagnostics/src/id.d.ts +2 -2
  50. package/src/ngtsc/typecheck/extended/checks/unparenthesized_nullish_coalescing/index.d.ts +10 -0
  51. package/src/ngtsc/typecheck/index.d.ts +1 -0
  52. package/src/ngtsc/typecheck/src/checker.d.ts +8 -7
  53. package/src/ngtsc/typecheck/src/completion.d.ts +2 -2
  54. package/src/ngtsc/typecheck/src/context.d.ts +28 -26
  55. package/src/ngtsc/typecheck/src/diagnostics.d.ts +5 -5
  56. package/src/ngtsc/typecheck/src/dom.d.ts +19 -8
  57. package/src/ngtsc/typecheck/src/host_bindings.d.ts +31 -0
  58. package/src/ngtsc/typecheck/src/oob.d.ts +41 -45
  59. package/src/ngtsc/typecheck/src/source.d.ts +14 -22
  60. package/src/ngtsc/typecheck/src/tcb_util.d.ts +23 -15
  61. package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +3 -3
  62. package/src/ngtsc/typecheck/src/ts_util.d.ts +1 -1
  63. package/src/ngtsc/typecheck/src/type_check_block.d.ts +10 -6
  64. package/bundles/chunk-O2OVHMWL.js.map +0 -6
  65. package/bundles/chunk-PLKJMRGZ.js.map +0 -6
  66. package/bundles/chunk-QYORKQDN.js.map +0 -6
  67. /package/bundles/{chunk-YSSSYIZJ.js.map → chunk-22GWKJOS.js.map} +0 -0
  68. /package/bundles/{chunk-77D5CI2U.js.map → chunk-5UDS2TPQ.js.map} +0 -0
  69. /package/bundles/{chunk-UAA7BTBW.js.map → chunk-ACYTOLUT.js.map} +0 -0
  70. /package/bundles/{chunk-FKXFEX7K.js.map → chunk-GBKXY6BH.js.map} +0 -0
  71. /package/bundles/{chunk-Q2WE7ECN.js.map → chunk-I6R3GL3L.js.map} +0 -0
  72. /package/bundles/{chunk-SNXU6YPZ.js.map → chunk-PQSJQCH7.js.map} +0 -0
  73. /package/bundles/{chunk-37JMVF7H.js.map → chunk-STORTTKY.js.map} +0 -0
  74. /package/bundles/{chunk-SEPXPBD2.js.map → chunk-V53QJA3R.js.map} +0 -0
@@ -4,7 +4,7 @@
4
4
 
5
5
  import {
6
6
  angularJitApplicationTransform
7
- } from "./chunk-SEPXPBD2.js";
7
+ } from "./chunk-V53QJA3R.js";
8
8
  import {
9
9
  CompilationMode,
10
10
  ComponentDecoratorHandler,
@@ -51,7 +51,7 @@ import {
51
51
  retagAllTsFiles,
52
52
  tryParseInitializerApi,
53
53
  untagAllTsFiles
54
- } from "./chunk-PLKJMRGZ.js";
54
+ } from "./chunk-2AJMO7DE.js";
55
55
  import {
56
56
  AbsoluteModuleStrategy,
57
57
  AliasStrategy,
@@ -87,14 +87,14 @@ import {
87
87
  relativePathBetween,
88
88
  replaceTsWithNgInErrors,
89
89
  toUnredirectedSourceFile
90
- } from "./chunk-QYORKQDN.js";
90
+ } from "./chunk-SOZYYFP3.js";
91
91
  import {
92
92
  ActivePerfRecorder,
93
93
  DelegatingPerfRecorder,
94
94
  PerfCheckpoint,
95
95
  PerfEvent,
96
96
  PerfPhase
97
- } from "./chunk-Q2WE7ECN.js";
97
+ } from "./chunk-I6R3GL3L.js";
98
98
  import {
99
99
  LogicalFileSystem,
100
100
  absoluteFrom,
@@ -104,9 +104,9 @@ import {
104
104
  getFileSystem,
105
105
  join,
106
106
  resolve
107
- } from "./chunk-37JMVF7H.js";
107
+ } from "./chunk-STORTTKY.js";
108
108
 
109
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
109
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
110
110
  var DEFAULT_ERROR_CODE = 100;
111
111
  var UNKNOWN_ERROR_CODE = 500;
112
112
  var SOURCE = "angular";
@@ -124,7 +124,7 @@ var EmitFlags;
124
124
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
125
125
  })(EmitFlags || (EmitFlags = {}));
126
126
 
127
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
127
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
128
128
  import ts from "typescript";
129
129
  var wrapHostForTest = null;
130
130
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -134,7 +134,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
134
134
  return tsHost;
135
135
  }
136
136
 
137
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
137
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
138
138
  var EntryType;
139
139
  (function(EntryType2) {
140
140
  EntryType2["Block"] = "block";
@@ -181,23 +181,23 @@ function isDocEntryWithSourceInfo(entry) {
181
181
  return "source" in entry;
182
182
  }
183
183
 
184
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
184
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
185
185
  import ts12 from "typescript";
186
186
 
187
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
187
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
188
188
  import ts6 from "typescript";
189
189
 
190
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
190
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
191
191
  function isAngularPrivateName(name) {
192
192
  var _a;
193
193
  const firstChar = (_a = name[0]) != null ? _a : "";
194
194
  return firstChar === "\u0275" || firstChar === "_";
195
195
  }
196
196
 
197
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
197
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
198
198
  import ts4 from "typescript";
199
199
 
200
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
200
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
201
201
  function extractGenerics(declaration) {
202
202
  var _a, _b;
203
203
  return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
@@ -210,7 +210,7 @@ function extractGenerics(declaration) {
210
210
  })) != null ? _b : [];
211
211
  }
212
212
 
213
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
213
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
214
214
  import ts2 from "typescript";
215
215
  var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
216
216
  function extractJsDocTags(node) {
@@ -254,13 +254,13 @@ function unescapeAngularDecorators(comment) {
254
254
  return comment.replace(/_NG_AT_/g, "@");
255
255
  }
256
256
 
257
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
257
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
258
258
  import ts3 from "typescript";
259
259
  function extractResolvedTypeString(node, checker) {
260
260
  return checker.typeToString(checker.getTypeAtLocation(node), void 0, ts3.TypeFormatFlags.NoTruncation);
261
261
  }
262
262
 
263
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
263
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
264
264
  var FunctionExtractor = class {
265
265
  name;
266
266
  exportDeclaration;
@@ -280,7 +280,7 @@ var FunctionExtractor = class {
280
280
  ) : "unknown";
281
281
  const implementation = (_a = findImplementationOfFunction(this.exportDeclaration, this.typeChecker)) != null ? _a : this.exportDeclaration;
282
282
  const type = this.typeChecker.getTypeAtLocation(this.exportDeclaration);
283
- const overloads = extractCallSignatures(this.name, this.typeChecker, type);
283
+ const overloads = ts4.isConstructorDeclaration(this.exportDeclaration) ? constructorOverloads(this.exportDeclaration, this.typeChecker) : extractCallSignatures(this.name, this.typeChecker, type);
284
284
  const jsdocsTags = extractJsDocTags(implementation);
285
285
  const description = extractJsDocDescription(implementation);
286
286
  return {
@@ -305,6 +305,26 @@ var FunctionExtractor = class {
305
305
  };
306
306
  }
307
307
  };
308
+ function constructorOverloads(constructorDeclaration, typeChecker) {
309
+ const classDeclaration = constructorDeclaration.parent;
310
+ const constructorNode = classDeclaration.members.filter((member) => {
311
+ return ts4.isConstructorDeclaration(member) && !member.body;
312
+ });
313
+ return constructorNode.map((n) => {
314
+ var _a;
315
+ return {
316
+ name: "constructor",
317
+ params: extractAllParams(n.parameters, typeChecker),
318
+ returnType: (_a = typeChecker.getTypeAtLocation(classDeclaration)) == null ? void 0 : _a.symbol.name,
319
+ description: extractJsDocDescription(n),
320
+ entryType: EntryType.Function,
321
+ jsdocTags: extractJsDocTags(n),
322
+ rawComment: extractRawJsDoc(n),
323
+ generics: extractGenerics(n),
324
+ isNewType: false
325
+ };
326
+ });
327
+ }
308
328
  function extractAllParams(params, typeChecker) {
309
329
  return params.map((param) => ({
310
330
  name: param.name.getText(),
@@ -318,7 +338,7 @@ function filterSignatureDeclarations(signatures) {
318
338
  const result = [];
319
339
  for (const signature of signatures) {
320
340
  const decl = signature.getDeclaration();
321
- if (ts4.isFunctionDeclaration(decl) || ts4.isCallSignatureDeclaration(decl) || ts4.isMethodDeclaration(decl)) {
341
+ if (ts4.isFunctionDeclaration(decl) || ts4.isCallSignatureDeclaration(decl) || ts4.isMethodDeclaration(decl) || ts4.isConstructSignatureDeclaration(decl)) {
322
342
  result.push({ signature, decl });
323
343
  }
324
344
  }
@@ -351,7 +371,7 @@ function findImplementationOfFunction(node, typeChecker) {
351
371
  return implementation;
352
372
  }
353
373
 
354
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
374
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
355
375
  import ts5 from "typescript";
356
376
  function isInternal(member) {
357
377
  return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
@@ -370,7 +390,7 @@ function hasLeadingInternalComment(member) {
370
390
  )) != null ? _a : false;
371
391
  }
372
392
 
373
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
393
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
374
394
  var ClassExtractor = class {
375
395
  declaration;
376
396
  typeChecker;
@@ -411,6 +431,8 @@ var ClassExtractor = class {
411
431
  return this.extractClassProperty(memberDeclaration);
412
432
  } else if (ts6.isAccessor(memberDeclaration)) {
413
433
  return this.extractGetterSetter(memberDeclaration);
434
+ } else if (ts6.isConstructorDeclaration(memberDeclaration)) {
435
+ return this.extractConstructor(memberDeclaration);
414
436
  }
415
437
  return void 0;
416
438
  }
@@ -449,6 +471,14 @@ var ClassExtractor = class {
449
471
  memberType: ts6.isGetAccessor(accessor) ? MemberType.Getter : MemberType.Setter
450
472
  };
451
473
  }
474
+ extractConstructor(constructorDeclaration) {
475
+ const functionExtractor = new FunctionExtractor("constructor", constructorDeclaration, this.typeChecker);
476
+ return {
477
+ ...functionExtractor.extract(),
478
+ memberType: MemberType.Method,
479
+ memberTags: this.getMemberTags(constructorDeclaration)
480
+ };
481
+ }
452
482
  extractInheritance(declaration) {
453
483
  if (!declaration.heritageClauses) {
454
484
  return void 0;
@@ -493,14 +523,15 @@ var ClassExtractor = class {
493
523
  return result;
494
524
  }
495
525
  getMemberDeclarations() {
496
- var _a;
526
+ var _a, _b, _c;
497
527
  const type = this.typeChecker.getTypeAtLocation(this.declaration);
498
528
  const members = type.getProperties();
529
+ const constructor = (_b = (_a = type.getSymbol()) == null ? void 0 : _a.members) == null ? void 0 : _b.get(ts6.InternalSymbolName.Constructor);
499
530
  const typeOfConstructor = this.typeChecker.getTypeOfSymbol(type.symbol);
500
531
  const staticMembers = typeOfConstructor.getProperties();
501
532
  const result = [];
502
- for (const member of [...members, ...staticMembers]) {
503
- const memberDeclarations = this.filterMethodOverloads((_a = member.getDeclarations()) != null ? _a : []);
533
+ for (const member of [...constructor ? [constructor] : [], ...members, ...staticMembers]) {
534
+ const memberDeclarations = this.filterMethodOverloads((_c = member.getDeclarations()) != null ? _c : []);
504
535
  for (const memberDeclaration of memberDeclarations) {
505
536
  if (this.isDocumentableMember(memberDeclaration)) {
506
537
  result.push(memberDeclaration);
@@ -512,10 +543,10 @@ var ClassExtractor = class {
512
543
  filterMethodOverloads(declarations) {
513
544
  return declarations.filter((declaration, index) => {
514
545
  var _a;
515
- if (ts6.isFunctionDeclaration(declaration) || ts6.isMethodDeclaration(declaration)) {
546
+ if (ts6.isFunctionDeclaration(declaration) || ts6.isMethodDeclaration(declaration) || ts6.isConstructorDeclaration(declaration)) {
516
547
  const nextDeclaration = declarations[index + 1];
517
- const isNextAbstractMethodWithSameName = nextDeclaration && ts6.isMethodDeclaration(nextDeclaration) && nextDeclaration.name.getText() === ((_a = declaration.name) == null ? void 0 : _a.getText());
518
- return !isNextAbstractMethodWithSameName;
548
+ const isNextMethodWithSameName = nextDeclaration && (ts6.isMethodDeclaration(nextDeclaration) && nextDeclaration.name.getText() === ((_a = declaration.name) == null ? void 0 : _a.getText()) || ts6.isConstructorDeclaration(nextDeclaration) && ts6.isConstructorDeclaration(declaration));
549
+ return !isNextMethodWithSameName;
519
550
  }
520
551
  return true;
521
552
  });
@@ -545,10 +576,13 @@ var ClassExtractor = class {
545
576
  }
546
577
  isMemberExcluded(member) {
547
578
  var _a;
579
+ if (ts6.isConstructorDeclaration(member)) {
580
+ return false;
581
+ }
548
582
  return !member.name || !this.isDocumentableMember(member) || !ts6.isCallSignatureDeclaration(member) && ((_a = member.modifiers) == null ? void 0 : _a.some((mod) => mod.kind === ts6.SyntaxKind.PrivateKeyword)) || member.name.getText() === "prototype" || isAngularPrivateName(member.name.getText()) || isInternal(member);
549
583
  }
550
584
  isDocumentableMember(member) {
551
- return this.isMethod(member) || this.isProperty(member) || ts6.isAccessor(member) || ts6.isCallSignatureDeclaration(member);
585
+ return this.isMethod(member) || this.isProperty(member) || ts6.isAccessor(member) || ts6.isConstructorDeclaration(member) || ts6.isCallSignatureDeclaration(member);
552
586
  }
553
587
  isPublicConstructorParameterProperty(node) {
554
588
  if (ts6.isParameterPropertyDeclaration(node, node.parent) && node.modifiers) {
@@ -672,7 +706,7 @@ function extractInterface(declaration, typeChecker) {
672
706
  return extractor.extract();
673
707
  }
674
708
 
675
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
709
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
676
710
  import ts7 from "typescript";
677
711
  var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
678
712
  function extractConstant(declaration, typeChecker) {
@@ -730,7 +764,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
730
764
  });
731
765
  }
732
766
 
733
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
767
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
734
768
  import ts8 from "typescript";
735
769
  function extractorDecorator(declaration, typeChecker) {
736
770
  const documentedNode = getDecoratorJsDocNode(declaration);
@@ -803,7 +837,7 @@ function getDecoratorJsDocNode(declaration) {
803
837
  return callSignature;
804
838
  }
805
839
 
806
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
840
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
807
841
  import ts9 from "typescript";
808
842
  function extractEnum(declaration, typeChecker) {
809
843
  return {
@@ -834,7 +868,7 @@ function getEnumMemberValue(memberNode) {
834
868
  return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
835
869
  }
836
870
 
837
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
871
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
838
872
  import ts10 from "typescript";
839
873
  var initializerApiTag = "initializerApiFunction";
840
874
  function isInitializerApiFunction(node, typeChecker) {
@@ -943,7 +977,7 @@ function extractFunctionWithOverloads(name, type, typeChecker) {
943
977
  };
944
978
  }
945
979
 
946
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
980
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
947
981
  function extractTypeAlias(declaration) {
948
982
  return {
949
983
  name: declaration.name.getText(),
@@ -956,7 +990,7 @@ function extractTypeAlias(declaration) {
956
990
  };
957
991
  }
958
992
 
959
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
993
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
960
994
  import ts11 from "typescript";
961
995
  function getImportedSymbols(sourceFile) {
962
996
  const importSpecifiers = /* @__PURE__ */ new Map();
@@ -981,7 +1015,7 @@ function getImportedSymbols(sourceFile) {
981
1015
  return importSpecifiers;
982
1016
  }
983
1017
 
984
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
1018
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
985
1019
  var DocsExtractor = class {
986
1020
  typeChecker;
987
1021
  metadataReader;
@@ -1069,11 +1103,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
1069
1103
  return relativePath;
1070
1104
  }
1071
1105
 
1072
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
1106
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
1073
1107
  import { HtmlParser, MessageBundle } from "@angular/compiler";
1074
1108
  import ts27 from "typescript";
1075
1109
 
1076
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
1110
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
1077
1111
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
1078
1112
  import * as path from "path";
1079
1113
  function i18nGetExtension(formatName) {
@@ -1124,10 +1158,10 @@ function getPathNormalizer(basePath) {
1124
1158
  };
1125
1159
  }
1126
1160
 
1127
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1161
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1128
1162
  import ts13 from "typescript";
1129
1163
 
1130
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
1164
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
1131
1165
  function toNumbers(value) {
1132
1166
  const suffixIndex = value.lastIndexOf("-");
1133
1167
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -1162,7 +1196,7 @@ function compareVersions(v1, v2) {
1162
1196
  return compareNumbers(toNumbers(v1), toNumbers(v2));
1163
1197
  }
1164
1198
 
1165
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1199
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1166
1200
  var MIN_TS_VERSION = "5.8.0";
1167
1201
  var MAX_TS_VERSION = "5.9.0";
1168
1202
  var tsVersion = ts13.version;
@@ -1175,11 +1209,11 @@ function verifySupportedTypeScriptVersion() {
1175
1209
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
1176
1210
  }
1177
1211
 
1178
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
1212
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
1179
1213
  import { R3Identifiers } from "@angular/compiler";
1180
1214
  import ts25 from "typescript";
1181
1215
 
1182
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
1216
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
1183
1217
  var CycleAnalyzer = class {
1184
1218
  importGraph;
1185
1219
  cachedResults = null;
@@ -1256,7 +1290,7 @@ var Cycle = class {
1256
1290
  }
1257
1291
  };
1258
1292
 
1259
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
1293
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
1260
1294
  import ts14 from "typescript";
1261
1295
  var ImportGraph = class {
1262
1296
  checker;
@@ -1352,7 +1386,7 @@ var Found = class {
1352
1386
  }
1353
1387
  };
1354
1388
 
1355
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
1389
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
1356
1390
  import ts15 from "typescript";
1357
1391
  var FlatIndexGenerator = class {
1358
1392
  entryPoint;
@@ -1380,7 +1414,7 @@ export * from '${relativeEntryPoint}';
1380
1414
  }
1381
1415
  };
1382
1416
 
1383
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
1417
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
1384
1418
  function findFlatIndexEntryPoint(rootFiles) {
1385
1419
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
1386
1420
  let resolvedEntryPoint = null;
@@ -1396,7 +1430,7 @@ function findFlatIndexEntryPoint(rootFiles) {
1396
1430
  return resolvedEntryPoint;
1397
1431
  }
1398
1432
 
1399
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
1433
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
1400
1434
  import ts16 from "typescript";
1401
1435
  function checkForPrivateExports(entryPoint, checker, refGraph) {
1402
1436
  const diagnostics = [];
@@ -1476,7 +1510,7 @@ function getDescriptorOfDeclaration(decl) {
1476
1510
  }
1477
1511
  }
1478
1512
 
1479
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
1513
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
1480
1514
  var ReferenceGraph = class {
1481
1515
  references = /* @__PURE__ */ new Map();
1482
1516
  add(from, to) {
@@ -1528,7 +1562,7 @@ var ReferenceGraph = class {
1528
1562
  }
1529
1563
  };
1530
1564
 
1531
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1565
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1532
1566
  var FileDependencyGraph = class {
1533
1567
  nodes = /* @__PURE__ */ new Map();
1534
1568
  addDependency(from, on) {
@@ -1593,7 +1627,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1593
1627
  return false;
1594
1628
  }
1595
1629
 
1596
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1630
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1597
1631
  var IncrementalStateKind;
1598
1632
  (function(IncrementalStateKind2) {
1599
1633
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1601,7 +1635,7 @@ var IncrementalStateKind;
1601
1635
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1602
1636
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1603
1637
 
1604
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1638
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1605
1639
  var PhaseKind;
1606
1640
  (function(PhaseKind2) {
1607
1641
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1807,7 +1841,7 @@ function toOriginalSourceFile(sf) {
1807
1841
  }
1808
1842
  }
1809
1843
 
1810
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1844
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1811
1845
  var TrackedIncrementalBuildStrategy = class {
1812
1846
  state = null;
1813
1847
  isSet = false;
@@ -1841,7 +1875,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1841
1875
  };
1842
1876
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1843
1877
 
1844
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1878
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1845
1879
  var IdentifierKind;
1846
1880
  (function(IdentifierKind2) {
1847
1881
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1862,7 +1896,7 @@ var AbsoluteSourceSpan = class {
1862
1896
  }
1863
1897
  };
1864
1898
 
1865
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1899
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1866
1900
  var IndexingContext = class {
1867
1901
  components = /* @__PURE__ */ new Set();
1868
1902
  addComponent(info) {
@@ -1870,10 +1904,10 @@ var IndexingContext = class {
1870
1904
  }
1871
1905
  };
1872
1906
 
1873
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1907
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1874
1908
  import { ParseSourceFile } from "@angular/compiler";
1875
1909
 
1876
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1910
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1877
1911
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
1878
1912
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1879
1913
  expressionStr;
@@ -2173,7 +2207,7 @@ function getTemplateIdentifiers(boundTemplate) {
2173
2207
  return { identifiers: visitor.identifiers, errors: visitor.errors };
2174
2208
  }
2175
2209
 
2176
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
2210
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
2177
2211
  function generateAnalysis(context) {
2178
2212
  const analysis = /* @__PURE__ */ new Map();
2179
2213
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -2209,7 +2243,7 @@ function generateAnalysis(context) {
2209
2243
  return analysis;
2210
2244
  }
2211
2245
 
2212
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
2246
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
2213
2247
  var NgModuleIndexImpl = class {
2214
2248
  metaReader;
2215
2249
  localReader;
@@ -2300,7 +2334,7 @@ var NgModuleIndexImpl = class {
2300
2334
  }
2301
2335
  };
2302
2336
 
2303
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
2337
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
2304
2338
  import ts17 from "typescript";
2305
2339
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
2306
2340
  var RESOURCE_MARKER = ".$ngresource$";
@@ -2458,7 +2492,7 @@ function createLookupResolutionHost(adapter) {
2458
2492
  };
2459
2493
  }
2460
2494
 
2461
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
2495
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
2462
2496
  var StandaloneComponentScopeReader = class {
2463
2497
  metaReader;
2464
2498
  localModuleReader;
@@ -2557,10 +2591,10 @@ var StandaloneComponentScopeReader = class {
2557
2591
  }
2558
2592
  };
2559
2593
 
2560
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2594
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2561
2595
  import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
2562
2596
 
2563
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
2597
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
2564
2598
  import ts18 from "typescript";
2565
2599
  var SIGNAL_FNS = /* @__PURE__ */ new Set([
2566
2600
  "WritableSignal",
@@ -2580,7 +2614,7 @@ function isSignalSymbol(symbol) {
2580
2614
  });
2581
2615
  }
2582
2616
 
2583
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
2617
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
2584
2618
  import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
2585
2619
  var TemplateCheckWithVisitor = class {
2586
2620
  canVisitStructuralAttributes = true;
@@ -2717,7 +2751,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
2717
2751
  }
2718
2752
  };
2719
2753
 
2720
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2754
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2721
2755
  var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
2722
2756
  var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
2723
2757
  var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
@@ -2746,14 +2780,14 @@ function isSignalInstanceProperty(name) {
2746
2780
  function buildDiagnosticForSignal(ctx, node, component) {
2747
2781
  const symbol = ctx.templateTypeChecker.getSymbolOfNode(node, component);
2748
2782
  if (symbol !== null && symbol.kind === SymbolKind.Expression && isSignalReference(symbol)) {
2749
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
2783
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbol.tcbLocation);
2750
2784
  const errorString = `${node.name} is a function and should be invoked: ${node.name}()`;
2751
2785
  const diagnostic = ctx.makeTemplateDiagnostic(templateMapping.span, errorString);
2752
2786
  return [diagnostic];
2753
2787
  }
2754
2788
  const symbolOfReceiver = ctx.templateTypeChecker.getSymbolOfNode(node.receiver, component);
2755
2789
  if ((isFunctionInstanceProperty(node.name) || isSignalInstanceProperty(node.name)) && symbolOfReceiver !== null && symbolOfReceiver.kind === SymbolKind.Expression && isSignalReference(symbolOfReceiver)) {
2756
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbolOfReceiver.tcbLocation);
2790
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbolOfReceiver.tcbLocation);
2757
2791
  const errorString = `${node.receiver.name} is a function and should be invoked: ${node.receiver.name}()`;
2758
2792
  const diagnostic = ctx.makeTemplateDiagnostic(templateMapping.span, errorString);
2759
2793
  return [diagnostic];
@@ -2766,7 +2800,7 @@ var factory = {
2766
2800
  create: () => new InterpolatedSignalCheck()
2767
2801
  };
2768
2802
 
2769
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
2803
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
2770
2804
  import { TmplAstBoundEvent } from "@angular/compiler";
2771
2805
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
2772
2806
  code = ErrorCode.INVALID_BANANA_IN_BOX;
@@ -2789,7 +2823,7 @@ var factory2 = {
2789
2823
  create: () => new InvalidBananaInBoxCheck()
2790
2824
  };
2791
2825
 
2792
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
2826
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
2793
2827
  import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
2794
2828
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
2795
2829
  ["ngIf", { directive: "NgIf", builtIn: "@if" }],
@@ -2831,7 +2865,7 @@ var factory3 = {
2831
2865
  }
2832
2866
  };
2833
2867
 
2834
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
2868
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
2835
2869
  import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
2836
2870
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
2837
2871
  code = ErrorCode.MISSING_NGFOROF_LET;
@@ -2861,7 +2895,7 @@ var factory4 = {
2861
2895
  create: () => new MissingNgForOfLetCheck()
2862
2896
  };
2863
2897
 
2864
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
2898
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
2865
2899
  import { Binary } from "@angular/compiler";
2866
2900
  import ts19 from "typescript";
2867
2901
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -2884,7 +2918,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
2884
2918
  if (symbol.kind !== SymbolKind.Expression) {
2885
2919
  return [];
2886
2920
  }
2887
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
2921
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbol.tcbLocation);
2888
2922
  if (templateMapping === null) {
2889
2923
  return [];
2890
2924
  }
@@ -2904,7 +2938,7 @@ var factory5 = {
2904
2938
  }
2905
2939
  };
2906
2940
 
2907
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
2941
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
2908
2942
  import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
2909
2943
  import ts20 from "typescript";
2910
2944
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -2927,7 +2961,7 @@ var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
2927
2961
  if (symbol.kind !== SymbolKind.Expression) {
2928
2962
  return [];
2929
2963
  }
2930
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
2964
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbol.tcbLocation);
2931
2965
  if (templateMapping === null) {
2932
2966
  return [];
2933
2967
  }
@@ -2948,13 +2982,39 @@ var factory6 = {
2948
2982
  }
2949
2983
  };
2950
2984
 
2951
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
2952
- import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
2985
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
2986
+ import { TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstTextAttribute } from "@angular/compiler";
2987
+ var NG_SKIP_HYDRATION_ATTR_NAME = "ngSkipHydration";
2988
+ var NgSkipHydrationSpec = class extends TemplateCheckWithVisitor {
2989
+ code = ErrorCode.SKIP_HYDRATION_NOT_STATIC;
2990
+ visitNode(ctx, component, node) {
2991
+ if (node instanceof TmplAstBoundAttribute2 && node.name === NG_SKIP_HYDRATION_ATTR_NAME) {
2992
+ const errorString = `ngSkipHydration should not be used as a binding.`;
2993
+ const diagnostic = ctx.makeTemplateDiagnostic(node.sourceSpan, errorString);
2994
+ return [diagnostic];
2995
+ }
2996
+ const acceptedValues = ["true", ""];
2997
+ if (node instanceof TmplAstTextAttribute && node.name === NG_SKIP_HYDRATION_ATTR_NAME && !acceptedValues.includes(node.value) && node.value !== void 0) {
2998
+ const errorString = `ngSkipHydration only accepts "true" or "" as value or no value at all. For example 'ngSkipHydration="true"' or 'ngSkipHydration'`;
2999
+ const diagnostic = ctx.makeTemplateDiagnostic(node.sourceSpan, errorString);
3000
+ return [diagnostic];
3001
+ }
3002
+ return [];
3003
+ }
3004
+ };
3005
+ var factory7 = {
3006
+ code: ErrorCode.SKIP_HYDRATION_NOT_STATIC,
3007
+ name: ExtendedTemplateDiagnosticName.SKIP_HYDRATION_NOT_STATIC,
3008
+ create: () => new NgSkipHydrationSpec()
3009
+ };
3010
+
3011
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
3012
+ import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
2953
3013
  var STYLE_SUFFIXES = ["px", "%", "em"];
2954
3014
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
2955
3015
  code = ErrorCode.SUFFIX_NOT_SUPPORTED;
2956
3016
  visitNode(ctx, component, node) {
2957
- if (!(node instanceof TmplAstBoundAttribute2))
3017
+ if (!(node instanceof TmplAstBoundAttribute3))
2958
3018
  return [];
2959
3019
  if (!node.keySpan.toString().startsWith("attr.") || !STYLE_SUFFIXES.some((suffix) => node.name.endsWith(`.${suffix}`))) {
2960
3020
  return [];
@@ -2963,18 +3023,18 @@ var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
2963
3023
  return [diagnostic];
2964
3024
  }
2965
3025
  };
2966
- var factory7 = {
3026
+ var factory8 = {
2967
3027
  code: ErrorCode.SUFFIX_NOT_SUPPORTED,
2968
3028
  name: ExtendedTemplateDiagnosticName.SUFFIX_NOT_SUPPORTED,
2969
3029
  create: () => new SuffixNotSupportedCheck()
2970
3030
  };
2971
3031
 
2972
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
2973
- import { TmplAstTextAttribute } from "@angular/compiler";
3032
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
3033
+ import { TmplAstTextAttribute as TmplAstTextAttribute2 } from "@angular/compiler";
2974
3034
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
2975
3035
  code = ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING;
2976
3036
  visitNode(ctx, component, node) {
2977
- if (!(node instanceof TmplAstTextAttribute))
3037
+ if (!(node instanceof TmplAstTextAttribute2))
2978
3038
  return [];
2979
3039
  const name = node.name;
2980
3040
  if (!name.startsWith("attr.") && !name.startsWith("style.") && !name.startsWith("class.")) {
@@ -2999,13 +3059,13 @@ var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
2999
3059
  return [diagnostic];
3000
3060
  }
3001
3061
  };
3002
- var factory8 = {
3062
+ var factory9 = {
3003
3063
  code: ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING,
3004
3064
  name: ExtendedTemplateDiagnosticName.TEXT_ATTRIBUTE_NOT_BINDING,
3005
3065
  create: () => new TextAttributeNotBindingSpec()
3006
3066
  };
3007
3067
 
3008
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
3068
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
3009
3069
  import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
3010
3070
  var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
3011
3071
  code = ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING;
@@ -3048,13 +3108,43 @@ function assertExpressionInvoked(expression, component, node, expressionText, ct
3048
3108
  function generateStringFromExpression(expression, source) {
3049
3109
  return source.substring(expression.span.start, expression.span.end);
3050
3110
  }
3051
- var factory9 = {
3111
+ var factory10 = {
3052
3112
  code: ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING,
3053
3113
  name: ExtendedTemplateDiagnosticName.UNINVOKED_FUNCTION_IN_EVENT_BINDING,
3054
3114
  create: () => new UninvokedFunctionInEventBindingSpec()
3055
3115
  };
3056
3116
 
3057
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
3117
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unparenthesized_nullish_coalescing/index.mjs
3118
+ import { Binary as Binary2 } from "@angular/compiler";
3119
+ var UnparenthesizedNullishCoalescing = class extends TemplateCheckWithVisitor {
3120
+ code = ErrorCode.UNPARENTHESIZED_NULLISH_COALESCING;
3121
+ visitNode(ctx, component, node) {
3122
+ if (node instanceof Binary2) {
3123
+ if (node.operation === "&&" || node.operation === "||") {
3124
+ if (node.left instanceof Binary2 && node.left.operation === "??" || node.right instanceof Binary2 && node.right.operation === "??") {
3125
+ const symbol = ctx.templateTypeChecker.getSymbolOfNode(node, component);
3126
+ if ((symbol == null ? void 0 : symbol.kind) !== SymbolKind.Expression) {
3127
+ return [];
3128
+ }
3129
+ const sourceMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbol.tcbLocation);
3130
+ if (sourceMapping === null) {
3131
+ return [];
3132
+ }
3133
+ const diagnostic = ctx.makeTemplateDiagnostic(sourceMapping.span, `Parentheses are required to disambiguate precedence when mixing '??' with '&&' and '||'.`);
3134
+ return [diagnostic];
3135
+ }
3136
+ }
3137
+ }
3138
+ return [];
3139
+ }
3140
+ };
3141
+ var factory11 = {
3142
+ code: ErrorCode.UNPARENTHESIZED_NULLISH_COALESCING,
3143
+ name: ExtendedTemplateDiagnosticName.UNPARENTHESIZED_NULLISH_COALESCING,
3144
+ create: () => new UnparenthesizedNullishCoalescing()
3145
+ };
3146
+
3147
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
3058
3148
  import { AST, ASTWithSource as ASTWithSource5, TmplAstLetDeclaration } from "@angular/compiler";
3059
3149
  var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
3060
3150
  code = ErrorCode.UNUSED_LET_DECLARATION;
@@ -3090,42 +3180,16 @@ var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
3090
3180
  return this.analysis.get(node);
3091
3181
  }
3092
3182
  };
3093
- var factory10 = {
3183
+ var factory12 = {
3094
3184
  code: ErrorCode.UNUSED_LET_DECLARATION,
3095
3185
  name: ExtendedTemplateDiagnosticName.UNUSED_LET_DECLARATION,
3096
3186
  create: () => new UnusedLetDeclarationCheck()
3097
3187
  };
3098
3188
 
3099
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
3100
- import { TmplAstBoundAttribute as TmplAstBoundAttribute3, TmplAstTextAttribute as TmplAstTextAttribute2 } from "@angular/compiler";
3101
- var NG_SKIP_HYDRATION_ATTR_NAME = "ngSkipHydration";
3102
- var NgSkipHydrationSpec = class extends TemplateCheckWithVisitor {
3103
- code = ErrorCode.SKIP_HYDRATION_NOT_STATIC;
3104
- visitNode(ctx, component, node) {
3105
- if (node instanceof TmplAstBoundAttribute3 && node.name === NG_SKIP_HYDRATION_ATTR_NAME) {
3106
- const errorString = `ngSkipHydration should not be used as a binding.`;
3107
- const diagnostic = ctx.makeTemplateDiagnostic(node.sourceSpan, errorString);
3108
- return [diagnostic];
3109
- }
3110
- const acceptedValues = ["true", ""];
3111
- if (node instanceof TmplAstTextAttribute2 && node.name === NG_SKIP_HYDRATION_ATTR_NAME && !acceptedValues.includes(node.value) && node.value !== void 0) {
3112
- const errorString = `ngSkipHydration only accepts "true" or "" as value or no value at all. For example 'ngSkipHydration="true"' or 'ngSkipHydration'`;
3113
- const diagnostic = ctx.makeTemplateDiagnostic(node.sourceSpan, errorString);
3114
- return [diagnostic];
3115
- }
3116
- return [];
3117
- }
3118
- };
3119
- var factory11 = {
3120
- code: ErrorCode.SKIP_HYDRATION_NOT_STATIC,
3121
- name: ExtendedTemplateDiagnosticName.SKIP_HYDRATION_NOT_STATIC,
3122
- create: () => new NgSkipHydrationSpec()
3123
- };
3124
-
3125
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3189
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3126
3190
  import ts21 from "typescript";
3127
3191
 
3128
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
3192
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
3129
3193
  var DiagnosticCategoryLabel;
3130
3194
  (function(DiagnosticCategoryLabel2) {
3131
3195
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -3133,7 +3197,7 @@ var DiagnosticCategoryLabel;
3133
3197
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
3134
3198
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
3135
3199
 
3136
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3200
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3137
3201
  var ExtendedTemplateCheckerImpl = class {
3138
3202
  partialCtx;
3139
3203
  templateChecks;
@@ -3141,12 +3205,12 @@ var ExtendedTemplateCheckerImpl = class {
3141
3205
  var _a, _b, _c, _d, _e;
3142
3206
  this.partialCtx = { templateTypeChecker, typeChecker };
3143
3207
  this.templateChecks = /* @__PURE__ */ new Map();
3144
- for (const factory12 of templateCheckFactories) {
3145
- const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a.checks) == null ? void 0 : _b[factory12.name]) != null ? _d : (_c = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _c.defaultCategory) != null ? _e : DiagnosticCategoryLabel.Warning);
3208
+ for (const factory13 of templateCheckFactories) {
3209
+ const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a.checks) == null ? void 0 : _b[factory13.name]) != null ? _d : (_c = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _c.defaultCategory) != null ? _e : DiagnosticCategoryLabel.Warning);
3146
3210
  if (category === null) {
3147
3211
  continue;
3148
3212
  }
3149
- const check = factory12.create(options);
3213
+ const check = factory13.create(options);
3150
3214
  if (check === null) {
3151
3215
  continue;
3152
3216
  }
@@ -3188,27 +3252,28 @@ function assertNever(value) {
3188
3252
  ${value}`);
3189
3253
  }
3190
3254
 
3191
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
3255
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
3192
3256
  var ALL_DIAGNOSTIC_FACTORIES = [
3193
3257
  factory2,
3194
3258
  factory5,
3195
3259
  factory6,
3196
3260
  factory3,
3197
- factory8,
3261
+ factory9,
3198
3262
  factory4,
3199
- factory7,
3263
+ factory8,
3200
3264
  factory,
3201
- factory9,
3202
3265
  factory10,
3266
+ factory12,
3267
+ factory7,
3203
3268
  factory11
3204
3269
  ];
3205
3270
  var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
3206
3271
  ExtendedTemplateDiagnosticName.CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION,
3207
3272
  ExtendedTemplateDiagnosticName.UNUSED_STANDALONE_IMPORTS,
3208
- ...ALL_DIAGNOSTIC_FACTORIES.map((factory12) => factory12.name)
3273
+ ...ALL_DIAGNOSTIC_FACTORIES.map((factory13) => factory13.name)
3209
3274
  ]);
3210
3275
 
3211
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
3276
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
3212
3277
  import { ASTWithSource as ASTWithSource6, ImplicitReceiver as ImplicitReceiver2, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
3213
3278
  import ts22 from "typescript";
3214
3279
  var TemplateSemanticsCheckerImpl = class {
@@ -3304,7 +3369,7 @@ function unwrapAstWithSource(ast) {
3304
3369
  return ast instanceof ASTWithSource6 ? ast.ast : ast;
3305
3370
  }
3306
3371
 
3307
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
3372
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
3308
3373
  import ts23 from "typescript";
3309
3374
  var APIS_TO_CHECK = [
3310
3375
  INPUT_INITIALIZER_FN,
@@ -3357,7 +3422,7 @@ var InitializerApiUsageRule = class {
3357
3422
  }
3358
3423
  };
3359
3424
 
3360
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
3425
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
3361
3426
  import ts24 from "typescript";
3362
3427
  var UnusedStandaloneImportsRule = class {
3363
3428
  templateTypeChecker;
@@ -3449,10 +3514,10 @@ function closestNode(start, predicate) {
3449
3514
  return null;
3450
3515
  }
3451
3516
 
3452
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
3517
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
3453
3518
  var UNUSED_STANDALONE_IMPORTS_RULE_ENABLED = true;
3454
3519
 
3455
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
3520
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
3456
3521
  var SourceFileValidator = class {
3457
3522
  rules;
3458
3523
  constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
@@ -3494,7 +3559,7 @@ var SourceFileValidator = class {
3494
3559
  }
3495
3560
  };
3496
3561
 
3497
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
3562
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
3498
3563
  function coreHasSymbol(program, symbol) {
3499
3564
  const checker = program.getTypeChecker();
3500
3565
  for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
@@ -3513,7 +3578,7 @@ function isMaybeCore(sf) {
3513
3578
  return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
3514
3579
  }
3515
3580
 
3516
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
3581
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
3517
3582
  import semver from "semver";
3518
3583
  function coreVersionSupportsFeature(coreVersion, minVersion) {
3519
3584
  if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
@@ -3522,7 +3587,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
3522
3587
  return semver.satisfies(coreVersion, minVersion, { includePrerelease: true });
3523
3588
  }
3524
3589
 
3525
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
3590
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
3526
3591
  var CompilationTicketKind;
3527
3592
  (function(CompilationTicketKind2) {
3528
3593
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -3774,17 +3839,15 @@ var NgCompiler = class {
3774
3839
  const { resourceRegistry } = this.ensureAnalyzed();
3775
3840
  return resourceRegistry.getComponentsWithStyle(resolve(styleFilePath));
3776
3841
  }
3777
- getComponentResources(classDecl) {
3842
+ getDirectiveResources(classDecl) {
3778
3843
  if (!isNamedClassDeclaration(classDecl)) {
3779
3844
  return null;
3780
3845
  }
3781
3846
  const { resourceRegistry } = this.ensureAnalyzed();
3782
3847
  const styles = resourceRegistry.getStyles(classDecl);
3783
3848
  const template = resourceRegistry.getTemplate(classDecl);
3784
- if (template === null) {
3785
- return null;
3786
- }
3787
- return { styles, template };
3849
+ const hostBindings = resourceRegistry.getHostBindings(classDecl);
3850
+ return { styles, template, hostBindings };
3788
3851
  }
3789
3852
  getMeta(classDecl) {
3790
3853
  var _a;
@@ -4104,8 +4167,8 @@ var NgCompiler = class {
4104
4167
  return diagnostics;
4105
4168
  }
4106
4169
  makeCompilation() {
4107
- var _a, _b, _c, _d, _e, _f;
4108
- const isCore = isAngularCorePackage(this.inputProgram);
4170
+ var _a, _b, _c, _d, _e, _f, _g, _h;
4171
+ const isCore = (_a = this.options._isAngularCoreCompilation) != null ? _a : isAngularCorePackage(this.inputProgram);
4109
4172
  let compilationMode = CompilationMode.FULL;
4110
4173
  if (!isCore) {
4111
4174
  switch (this.options.compilationMode) {
@@ -4179,16 +4242,17 @@ var NgCompiler = class {
4179
4242
  }
4180
4243
  const dtsTransforms = new DtsTransformRegistry();
4181
4244
  const resourceRegistry = new ResourceRegistry();
4182
- const deferredSymbolsTracker = new DeferredSymbolTracker(this.inputProgram.getTypeChecker(), (_a = this.options.onlyExplicitDeferDependencyImports) != null ? _a : false);
4245
+ const deferredSymbolsTracker = new DeferredSymbolTracker(this.inputProgram.getTypeChecker(), (_b = this.options.onlyExplicitDeferDependencyImports) != null ? _b : false);
4183
4246
  let localCompilationExtraImportsTracker = null;
4184
4247
  if (compilationMode === CompilationMode.LOCAL && this.options.generateExtraImportsInLocalMode) {
4185
4248
  localCompilationExtraImportsTracker = new LocalCompilationExtraImportsTracker(checker);
4186
4249
  }
4187
4250
  const cycleHandlingStrategy = compilationMode === CompilationMode.PARTIAL ? 1 : 0;
4188
4251
  const strictCtorDeps = this.options.strictInjectionParameters || false;
4189
- const supportJitMode = (_b = this.options["supportJitMode"]) != null ? _b : true;
4190
- const supportTestBed = (_c = this.options["supportTestBed"]) != null ? _c : true;
4191
- const externalRuntimeStyles = (_d = this.options["externalRuntimeStyles"]) != null ? _d : false;
4252
+ const supportJitMode = (_c = this.options["supportJitMode"]) != null ? _c : true;
4253
+ const supportTestBed = (_d = this.options["supportTestBed"]) != null ? _d : true;
4254
+ const externalRuntimeStyles = (_e = this.options["externalRuntimeStyles"]) != null ? _e : false;
4255
+ const typeCheckHostBindings = (_f = this.options.typeCheckHostBindings) != null ? _f : false;
4192
4256
  if (supportTestBed === false && compilationMode === CompilationMode.PARTIAL) {
4193
4257
  throw new Error('TestBed support ("supportTestBed" option) cannot be disabled in partial compilation mode.');
4194
4258
  }
@@ -4200,11 +4264,11 @@ var NgCompiler = class {
4200
4264
  }
4201
4265
  const jitDeclarationRegistry = new JitDeclarationRegistry();
4202
4266
  const handlers = [
4203
- new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, this.adapter, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, externalRuntimeStyles, localCompilationExtraImportsTracker, jitDeclarationRegistry, (_e = this.options.i18nPreserveWhitespaceForLegacyExtraction) != null ? _e : true, !!this.options.strictStandalone, this.enableHmr, this.implicitStandaloneValue),
4204
- new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, importTracker, supportTestBed, compilationMode, jitDeclarationRegistry, !!this.options.strictStandalone, this.implicitStandaloneValue),
4267
+ new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, this.adapter, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, externalRuntimeStyles, localCompilationExtraImportsTracker, jitDeclarationRegistry, (_g = this.options.i18nPreserveWhitespaceForLegacyExtraction) != null ? _g : true, !!this.options.strictStandalone, this.enableHmr, this.implicitStandaloneValue, typeCheckHostBindings),
4268
+ new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, importTracker, supportTestBed, typeCheckScopeRegistry, compilationMode, jitDeclarationRegistry, resourceRegistry, !!this.options.strictStandalone, this.implicitStandaloneValue, this.usePoisonedData, typeCheckHostBindings),
4205
4269
  new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed, compilationMode, !!this.options.generateExtraImportsInLocalMode, !!this.options.strictStandalone, this.implicitStandaloneValue),
4206
4270
  new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, compilationMode),
4207
- new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_f = this.options.onlyPublishPublicTypingsForNgModules) != null ? _f : false, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, supportJitMode, compilationMode, localCompilationExtraImportsTracker, jitDeclarationRegistry)
4271
+ new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_h = this.options.onlyPublishPublicTypingsForNgModules) != null ? _h : false, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, supportJitMode, compilationMode, localCompilationExtraImportsTracker, jitDeclarationRegistry)
4208
4272
  ];
4209
4273
  const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater, this.adapter);
4210
4274
  const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
@@ -4402,7 +4466,7 @@ function versionMapFromProgram(program, driver) {
4402
4466
  return versions;
4403
4467
  }
4404
4468
 
4405
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
4469
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
4406
4470
  import ts26 from "typescript";
4407
4471
  var DelegatingCompilerHost = class {
4408
4472
  delegate;
@@ -4576,7 +4640,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
4576
4640
  }
4577
4641
  };
4578
4642
 
4579
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
4643
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
4580
4644
  var NgtscProgram = class {
4581
4645
  options;
4582
4646
  compiler;
@@ -4807,15 +4871,15 @@ function mergeEmitResults(emitResults) {
4807
4871
  return { diagnostics, emitSkipped, emittedFiles };
4808
4872
  }
4809
4873
 
4810
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
4874
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
4811
4875
  function createProgram({ rootNames, options, host, oldProgram }) {
4812
4876
  return new NgtscProgram(rootNames, options, host, oldProgram);
4813
4877
  }
4814
4878
 
4815
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4879
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4816
4880
  import ts29 from "typescript";
4817
4881
 
4818
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
4882
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
4819
4883
  import ts28 from "typescript";
4820
4884
  function createMessageDiagnostic(messageText) {
4821
4885
  return {
@@ -4829,7 +4893,7 @@ function createMessageDiagnostic(messageText) {
4829
4893
  };
4830
4894
  }
4831
4895
 
4832
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4896
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4833
4897
  var defaultFormatHost = {
4834
4898
  getCurrentDirectory: () => ts29.sys.getCurrentDirectory(),
4835
4899
  getCanonicalFileName: (fileName) => fileName,
@@ -5062,4 +5126,4 @@ export {
5062
5126
  * Use of this source code is governed by an MIT-style license that can be
5063
5127
  * found in the LICENSE file at https://angular.dev/license
5064
5128
  */
5065
- //# sourceMappingURL=chunk-O2OVHMWL.js.map
5129
+ //# sourceMappingURL=chunk-BTNMUYEF.js.map