@angular/compiler-cli 20.0.0-next.0 → 20.0.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 (67) hide show
  1. package/bundles/{chunk-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
  2. package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
  3. package/bundles/{chunk-5B64KRP2.js → chunk-7HRFJETP.js} +49 -42
  4. package/bundles/{chunk-5B64KRP2.js.map → chunk-7HRFJETP.js.map} +1 -1
  5. package/bundles/{chunk-NSLVDBJJ.js → chunk-B73DMM7T.js} +5 -5
  6. package/bundles/{chunk-2MJ6YSB2.js → chunk-CD575TJ6.js} +406 -333
  7. package/bundles/chunk-CD575TJ6.js.map +6 -0
  8. package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
  9. package/bundles/{chunk-HXSKCJMP.js → chunk-FVYXSSAL.js} +3 -3
  10. package/bundles/{chunk-KDHDNSXW.js → chunk-PAYJFU4V.js} +12 -12
  11. package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
  12. package/bundles/{chunk-UCG5K4BI.js → chunk-RFDMMGNB.js} +289 -257
  13. package/bundles/chunk-RFDMMGNB.js.map +6 -0
  14. package/bundles/{chunk-SXMUFI7N.js → chunk-SWJRL4N4.js} +33 -33
  15. package/bundles/index.js +15 -15
  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 -4
  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/metadata.d.ts +2 -2
  31. package/src/ngtsc/annotations/component/src/resources.d.ts +3 -2
  32. package/src/ngtsc/annotations/index.d.ts +1 -1
  33. package/src/ngtsc/core/api/src/options.d.ts +8 -0
  34. package/src/ngtsc/core/src/compiler.d.ts +3 -3
  35. package/src/ngtsc/docs/src/function_extractor.d.ts +1 -1
  36. package/src/ngtsc/hmr/src/update_declaration.d.ts +3 -2
  37. package/src/ngtsc/metadata/index.d.ts +1 -1
  38. package/src/ngtsc/metadata/src/resource_registry.d.ts +9 -8
  39. package/src/ngtsc/translator/src/translator.d.ts +1 -0
  40. package/src/ngtsc/typecheck/api/api.d.ts +22 -24
  41. package/src/ngtsc/typecheck/api/checker.d.ts +3 -3
  42. package/src/ngtsc/typecheck/api/context.d.ts +26 -17
  43. package/src/ngtsc/typecheck/diagnostics/src/diagnostic.d.ts +2 -2
  44. package/src/ngtsc/typecheck/diagnostics/src/id.d.ts +2 -2
  45. package/src/ngtsc/typecheck/src/checker.d.ts +6 -6
  46. package/src/ngtsc/typecheck/src/completion.d.ts +2 -2
  47. package/src/ngtsc/typecheck/src/context.d.ts +24 -26
  48. package/src/ngtsc/typecheck/src/diagnostics.d.ts +5 -5
  49. package/src/ngtsc/typecheck/src/dom.d.ts +5 -5
  50. package/src/ngtsc/typecheck/src/oob.d.ts +41 -45
  51. package/src/ngtsc/typecheck/src/source.d.ts +11 -11
  52. package/src/ngtsc/typecheck/src/tcb_util.d.ts +15 -15
  53. package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +3 -3
  54. package/src/ngtsc/typecheck/src/type_check_block.d.ts +3 -3
  55. package/bundles/chunk-2MJ6YSB2.js.map +0 -6
  56. package/bundles/chunk-UCG5K4BI.js.map +0 -6
  57. package/bundles/ngcc/index.js +0 -52
  58. package/bundles/ngcc/index.js.map +0 -6
  59. package/ngcc/index.d.ts +0 -11
  60. /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
  61. /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
  62. /package/bundles/{chunk-NSLVDBJJ.js.map → chunk-B73DMM7T.js.map} +0 -0
  63. /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
  64. /package/bundles/{chunk-HXSKCJMP.js.map → chunk-FVYXSSAL.js.map} +0 -0
  65. /package/bundles/{chunk-KDHDNSXW.js.map → chunk-PAYJFU4V.js.map} +0 -0
  66. /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
  67. /package/bundles/{chunk-SXMUFI7N.js.map → chunk-SWJRL4N4.js.map} +0 -0
@@ -4,7 +4,7 @@
4
4
 
5
5
  import {
6
6
  angularJitApplicationTransform
7
- } from "./chunk-KDHDNSXW.js";
7
+ } from "./chunk-PAYJFU4V.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-2MJ6YSB2.js";
54
+ } from "./chunk-CD575TJ6.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-5B64KRP2.js";
90
+ } from "./chunk-7HRFJETP.js";
91
91
  import {
92
92
  ActivePerfRecorder,
93
93
  DelegatingPerfRecorder,
94
94
  PerfCheckpoint,
95
95
  PerfEvent,
96
96
  PerfPhase
97
- } from "./chunk-I6R3GL3L.js";
97
+ } from "./chunk-Q2WE7ECN.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-STORTTKY.js";
107
+ } from "./chunk-37JMVF7H.js";
108
108
 
109
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
109
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
127
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
137
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
185
- import ts11 from "typescript";
184
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
185
+ import ts12 from "typescript";
186
186
 
187
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
188
- import ts5 from "typescript";
187
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
188
+ import ts6 from "typescript";
189
189
 
190
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
190
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
198
- import ts3 from "typescript";
197
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
198
+ import ts4 from "typescript";
199
199
 
200
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
200
+ // bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
213
+ // bazel-out/k8-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,12 +254,13 @@ function unescapeAngularDecorators(comment) {
254
254
  return comment.replace(/_NG_AT_/g, "@");
255
255
  }
256
256
 
257
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
257
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
258
+ import ts3 from "typescript";
258
259
  function extractResolvedTypeString(node, checker) {
259
- return checker.typeToString(checker.getTypeAtLocation(node));
260
+ return checker.typeToString(checker.getTypeAtLocation(node), void 0, ts3.TypeFormatFlags.NoTruncation);
260
261
  }
261
262
 
262
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
263
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
263
264
  var FunctionExtractor = class {
264
265
  name;
265
266
  exportDeclaration;
@@ -275,11 +276,11 @@ var FunctionExtractor = class {
275
276
  const returnType = signature ? this.typeChecker.typeToString(
276
277
  this.typeChecker.getReturnTypeOfSignature(signature),
277
278
  void 0,
278
- ts3.TypeFormatFlags.NoTypeReduction | ts3.TypeFormatFlags.NoTruncation
279
+ ts4.TypeFormatFlags.NoTypeReduction | ts4.TypeFormatFlags.NoTruncation
279
280
  ) : "unknown";
280
281
  const implementation = (_a = findImplementationOfFunction(this.exportDeclaration, this.typeChecker)) != null ? _a : this.exportDeclaration;
281
282
  const type = this.typeChecker.getTypeAtLocation(this.exportDeclaration);
282
- 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);
283
284
  const jsdocsTags = extractJsDocTags(implementation);
284
285
  const description = extractJsDocDescription(implementation);
285
286
  return {
@@ -287,7 +288,7 @@ var FunctionExtractor = class {
287
288
  signatures: overloads,
288
289
  implementation: {
289
290
  params: extractAllParams(implementation.parameters, this.typeChecker),
290
- isNewType: ts3.isConstructSignatureDeclaration(implementation),
291
+ isNewType: ts4.isConstructSignatureDeclaration(implementation),
291
292
  returnType,
292
293
  returnDescription: (_b = jsdocsTags.find((tag) => tag.name === "returns")) == null ? void 0 : _b.comment,
293
294
  generics: extractGenerics(implementation),
@@ -304,6 +305,26 @@ var FunctionExtractor = class {
304
305
  };
305
306
  }
306
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
+ }
307
328
  function extractAllParams(params, typeChecker) {
308
329
  return params.map((param) => ({
309
330
  name: param.name.getText(),
@@ -317,7 +338,7 @@ function filterSignatureDeclarations(signatures) {
317
338
  const result = [];
318
339
  for (const signature of signatures) {
319
340
  const decl = signature.getDeclaration();
320
- if (ts3.isFunctionDeclaration(decl) || ts3.isCallSignatureDeclaration(decl) || ts3.isMethodDeclaration(decl)) {
341
+ if (ts4.isFunctionDeclaration(decl) || ts4.isCallSignatureDeclaration(decl) || ts4.isMethodDeclaration(decl) || ts4.isConstructSignatureDeclaration(decl)) {
321
342
  result.push({ signature, decl });
322
343
  }
323
344
  }
@@ -336,7 +357,7 @@ function extractCallSignatures(name, typeChecker, type) {
336
357
  returnType: typeChecker.typeToString(
337
358
  typeChecker.getReturnTypeOfSignature(signature),
338
359
  void 0,
339
- ts3.TypeFormatFlags.NoTypeReduction | ts3.TypeFormatFlags.NoTruncation
360
+ ts4.TypeFormatFlags.NoTypeReduction | ts4.TypeFormatFlags.NoTruncation
340
361
  )
341
362
  }));
342
363
  }
@@ -346,19 +367,19 @@ function findImplementationOfFunction(node, typeChecker) {
346
367
  return node;
347
368
  }
348
369
  const symbol = typeChecker.getSymbolAtLocation(node.name);
349
- const implementation = (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts3.isFunctionDeclaration(s) && s.body !== void 0);
370
+ const implementation = (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts4.isFunctionDeclaration(s) && s.body !== void 0);
350
371
  return implementation;
351
372
  }
352
373
 
353
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
354
- import ts4 from "typescript";
374
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
375
+ import ts5 from "typescript";
355
376
  function isInternal(member) {
356
377
  return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
357
378
  }
358
379
  function hasLeadingInternalComment(member) {
359
380
  var _a;
360
381
  const memberText = member.getSourceFile().text;
361
- return (_a = ts4.reduceEachLeadingCommentRange(
382
+ return (_a = ts5.reduceEachLeadingCommentRange(
362
383
  memberText,
363
384
  member.getFullStart(),
364
385
  (pos, end, kind, hasTrailingNewLine, containsInternal) => {
@@ -369,7 +390,7 @@ function hasLeadingInternalComment(member) {
369
390
  )) != null ? _a : false;
370
391
  }
371
392
 
372
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
393
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
373
394
  var ClassExtractor = class {
374
395
  declaration;
375
396
  typeChecker;
@@ -381,7 +402,7 @@ var ClassExtractor = class {
381
402
  return {
382
403
  name: this.declaration.name.text,
383
404
  isAbstract: this.isAbstract(),
384
- entryType: ts5.isInterfaceDeclaration(this.declaration) ? EntryType.Interface : EntryType.UndecoratedClass,
405
+ entryType: ts6.isInterfaceDeclaration(this.declaration) ? EntryType.Interface : EntryType.UndecoratedClass,
385
406
  members: this.extractSignatures().concat(this.extractAllClassMembers()),
386
407
  generics: extractGenerics(this.declaration),
387
408
  description: extractJsDocDescription(this.declaration),
@@ -408,8 +429,10 @@ var ClassExtractor = class {
408
429
  return this.extractMethod(memberDeclaration);
409
430
  } else if (this.isProperty(memberDeclaration) && !this.hasPrivateComputedProperty(memberDeclaration)) {
410
431
  return this.extractClassProperty(memberDeclaration);
411
- } else if (ts5.isAccessor(memberDeclaration)) {
432
+ } else if (ts6.isAccessor(memberDeclaration)) {
412
433
  return this.extractGetterSetter(memberDeclaration);
434
+ } else if (ts6.isConstructorDeclaration(memberDeclaration)) {
435
+ return this.extractConstructor(memberDeclaration);
413
436
  }
414
437
  return void 0;
415
438
  }
@@ -425,7 +448,7 @@ var ClassExtractor = class {
425
448
  };
426
449
  }
427
450
  extractSignature(signature) {
428
- const functionExtractor = new FunctionExtractor(ts5.isConstructSignatureDeclaration(signature) ? "new" : "", signature, this.typeChecker);
451
+ const functionExtractor = new FunctionExtractor(ts6.isConstructSignatureDeclaration(signature) ? "new" : "", signature, this.typeChecker);
429
452
  return {
430
453
  ...functionExtractor.extract(),
431
454
  memberType: MemberType.Method,
@@ -445,7 +468,15 @@ var ClassExtractor = class {
445
468
  extractGetterSetter(accessor) {
446
469
  return {
447
470
  ...this.extractClassProperty(accessor),
448
- memberType: ts5.isGetAccessor(accessor) ? MemberType.Getter : MemberType.Setter
471
+ memberType: ts6.isGetAccessor(accessor) ? MemberType.Getter : MemberType.Setter
472
+ };
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)
449
480
  };
450
481
  }
451
482
  extractInheritance(declaration) {
@@ -453,7 +484,7 @@ var ClassExtractor = class {
453
484
  return void 0;
454
485
  }
455
486
  for (const clause of declaration.heritageClauses) {
456
- if (clause.token === ts5.SyntaxKind.ExtendsKeyword) {
487
+ if (clause.token === ts6.SyntaxKind.ExtendsKeyword) {
457
488
  const types = clause.types;
458
489
  if (types.length > 0) {
459
490
  const baseClass = types[0];
@@ -465,7 +496,7 @@ var ClassExtractor = class {
465
496
  }
466
497
  extractInterfaceConformance(declaration) {
467
498
  var _a, _b;
468
- const implementClause = (_a = declaration.heritageClauses) == null ? void 0 : _a.find((clause) => clause.token === ts5.SyntaxKind.ImplementsKeyword);
499
+ const implementClause = (_a = declaration.heritageClauses) == null ? void 0 : _a.find((clause) => clause.token === ts6.SyntaxKind.ImplementsKeyword);
469
500
  return (_b = implementClause == null ? void 0 : implementClause.types.map((m) => m.getText())) != null ? _b : [];
470
501
  }
471
502
  getMemberTags(member) {
@@ -492,14 +523,15 @@ var ClassExtractor = class {
492
523
  return result;
493
524
  }
494
525
  getMemberDeclarations() {
495
- var _a;
526
+ var _a, _b, _c;
496
527
  const type = this.typeChecker.getTypeAtLocation(this.declaration);
497
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);
498
530
  const typeOfConstructor = this.typeChecker.getTypeOfSymbol(type.symbol);
499
531
  const staticMembers = typeOfConstructor.getProperties();
500
532
  const result = [];
501
- for (const member of [...members, ...staticMembers]) {
502
- 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 : []);
503
535
  for (const memberDeclaration of memberDeclarations) {
504
536
  if (this.isDocumentableMember(memberDeclaration)) {
505
537
  result.push(memberDeclaration);
@@ -511,10 +543,10 @@ var ClassExtractor = class {
511
543
  filterMethodOverloads(declarations) {
512
544
  return declarations.filter((declaration, index) => {
513
545
  var _a;
514
- if (ts5.isFunctionDeclaration(declaration) || ts5.isMethodDeclaration(declaration)) {
546
+ if (ts6.isFunctionDeclaration(declaration) || ts6.isMethodDeclaration(declaration) || ts6.isConstructorDeclaration(declaration)) {
515
547
  const nextDeclaration = declarations[index + 1];
516
- const isNextAbstractMethodWithSameName = nextDeclaration && ts5.isMethodDeclaration(nextDeclaration) && nextDeclaration.name.getText() === ((_a = declaration.name) == null ? void 0 : _a.getText());
517
- 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;
518
550
  }
519
551
  return true;
520
552
  });
@@ -530,13 +562,13 @@ var ClassExtractor = class {
530
562
  }
531
563
  getTagForMemberModifier(mod) {
532
564
  switch (mod.kind) {
533
- case ts5.SyntaxKind.StaticKeyword:
565
+ case ts6.SyntaxKind.StaticKeyword:
534
566
  return MemberTags.Static;
535
- case ts5.SyntaxKind.ReadonlyKeyword:
567
+ case ts6.SyntaxKind.ReadonlyKeyword:
536
568
  return MemberTags.Readonly;
537
- case ts5.SyntaxKind.ProtectedKeyword:
569
+ case ts6.SyntaxKind.ProtectedKeyword:
538
570
  return MemberTags.Protected;
539
- case ts5.SyntaxKind.AbstractKeyword:
571
+ case ts6.SyntaxKind.AbstractKeyword:
540
572
  return MemberTags.Abstract;
541
573
  default:
542
574
  return void 0;
@@ -544,33 +576,36 @@ var ClassExtractor = class {
544
576
  }
545
577
  isMemberExcluded(member) {
546
578
  var _a;
547
- return !member.name || !this.isDocumentableMember(member) || !ts5.isCallSignatureDeclaration(member) && ((_a = member.modifiers) == null ? void 0 : _a.some((mod) => mod.kind === ts5.SyntaxKind.PrivateKeyword)) || member.name.getText() === "prototype" || isAngularPrivateName(member.name.getText()) || isInternal(member);
579
+ if (ts6.isConstructorDeclaration(member)) {
580
+ return false;
581
+ }
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);
548
583
  }
549
584
  isDocumentableMember(member) {
550
- return this.isMethod(member) || this.isProperty(member) || ts5.isAccessor(member) || ts5.isCallSignatureDeclaration(member);
585
+ return this.isMethod(member) || this.isProperty(member) || ts6.isAccessor(member) || ts6.isConstructorDeclaration(member) || ts6.isCallSignatureDeclaration(member);
551
586
  }
552
587
  isPublicConstructorParameterProperty(node) {
553
- if (ts5.isParameterPropertyDeclaration(node, node.parent) && node.modifiers) {
554
- return node.modifiers.some((modifier) => modifier.kind === ts5.SyntaxKind.PublicKeyword);
588
+ if (ts6.isParameterPropertyDeclaration(node, node.parent) && node.modifiers) {
589
+ return node.modifiers.some((modifier) => modifier.kind === ts6.SyntaxKind.PublicKeyword);
555
590
  }
556
591
  return false;
557
592
  }
558
593
  isProperty(member) {
559
- return ts5.isPropertyDeclaration(member) || ts5.isPropertySignature(member) || this.isPublicConstructorParameterProperty(member);
594
+ return ts6.isPropertyDeclaration(member) || ts6.isPropertySignature(member) || this.isPublicConstructorParameterProperty(member);
560
595
  }
561
596
  isMethod(member) {
562
- return ts5.isMethodDeclaration(member) || ts5.isMethodSignature(member);
597
+ return ts6.isMethodDeclaration(member) || ts6.isMethodSignature(member);
563
598
  }
564
599
  isDocumentableSignature(signature) {
565
- return ts5.isConstructSignatureDeclaration(signature) || ts5.isCallSignatureDeclaration(signature);
600
+ return ts6.isConstructSignatureDeclaration(signature) || ts6.isCallSignatureDeclaration(signature);
566
601
  }
567
602
  isAbstract() {
568
603
  var _a;
569
604
  const modifiers = (_a = this.declaration.modifiers) != null ? _a : [];
570
- return modifiers.some((mod) => mod.kind === ts5.SyntaxKind.AbstractKeyword);
605
+ return modifiers.some((mod) => mod.kind === ts6.SyntaxKind.AbstractKeyword);
571
606
  }
572
607
  hasPrivateComputedProperty(property) {
573
- return ts5.isComputedPropertyName(property.name) && property.name.expression.getText().startsWith("\u0275");
608
+ return ts6.isComputedPropertyName(property.name) && property.name.expression.getText().startsWith("\u0275");
574
609
  }
575
610
  };
576
611
  var DirectiveExtractor = class extends ClassExtractor {
@@ -671,8 +706,8 @@ function extractInterface(declaration, typeChecker) {
671
706
  return extractor.extract();
672
707
  }
673
708
 
674
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
675
- import ts6 from "typescript";
709
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
710
+ import ts7 from "typescript";
676
711
  var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
677
712
  function extractConstant(declaration, typeChecker) {
678
713
  const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
@@ -704,17 +739,17 @@ function isSyntheticAngularConstant(declaration) {
704
739
  }
705
740
  function extractLiteralPropertiesAsEnumMembers(declaration) {
706
741
  let initializer = declaration.initializer;
707
- while (initializer && (ts6.isAsExpression(initializer) || ts6.isParenthesizedExpression(initializer))) {
742
+ while (initializer && (ts7.isAsExpression(initializer) || ts7.isParenthesizedExpression(initializer))) {
708
743
  initializer = initializer.expression;
709
744
  }
710
- if (initializer === void 0 || !ts6.isObjectLiteralExpression(initializer)) {
711
- throw new Error(`Declaration tagged with "${LITERAL_AS_ENUM_TAG}" must be initialized to an object literal, but received ${initializer ? ts6.SyntaxKind[initializer.kind] : "undefined"}`);
745
+ if (initializer === void 0 || !ts7.isObjectLiteralExpression(initializer)) {
746
+ throw new Error(`Declaration tagged with "${LITERAL_AS_ENUM_TAG}" must be initialized to an object literal, but received ${initializer ? ts7.SyntaxKind[initializer.kind] : "undefined"}`);
712
747
  }
713
748
  return initializer.properties.map((prop) => {
714
- if (!ts6.isPropertyAssignment(prop) || !ts6.isIdentifier(prop.name)) {
749
+ if (!ts7.isPropertyAssignment(prop) || !ts7.isIdentifier(prop.name)) {
715
750
  throw new Error(`Property in declaration tagged with "${LITERAL_AS_ENUM_TAG}" must be a property assignment with a static name`);
716
751
  }
717
- if (!ts6.isNumericLiteral(prop.initializer) && !ts6.isStringLiteralLike(prop.initializer)) {
752
+ if (!ts7.isNumericLiteral(prop.initializer) && !ts7.isStringLiteralLike(prop.initializer)) {
718
753
  throw new Error(`Property in declaration tagged with "${LITERAL_AS_ENUM_TAG}" must be initialized to a number or string literal`);
719
754
  }
720
755
  return {
@@ -729,8 +764,8 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
729
764
  });
730
765
  }
731
766
 
732
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
733
- import ts7 from "typescript";
767
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
768
+ import ts8 from "typescript";
734
769
  function extractorDecorator(declaration, typeChecker) {
735
770
  const documentedNode = getDecoratorJsDocNode(declaration);
736
771
  const decoratorType = getDecoratorType(declaration);
@@ -751,7 +786,7 @@ function isDecoratorDeclaration(declaration) {
751
786
  return !!getDecoratorType(declaration);
752
787
  }
753
788
  function isDecoratorOptionsInterface(declaration) {
754
- return declaration.getSourceFile().statements.some((s) => ts7.isVariableStatement(s) && s.declarationList.declarations.some((d) => isDecoratorDeclaration(d) && d.name.getText() === declaration.name.getText()));
789
+ return declaration.getSourceFile().statements.some((s) => ts8.isVariableStatement(s) && s.declarationList.declarations.some((d) => isDecoratorDeclaration(d) && d.name.getText() === declaration.name.getText()));
755
790
  }
756
791
  function getDecoratorType(declaration) {
757
792
  var _a, _b;
@@ -768,19 +803,19 @@ function getDecoratorOptions(declaration, typeChecker) {
768
803
  var _a, _b;
769
804
  const name = declaration.name.getText();
770
805
  const optionsDeclaration = declaration.getSourceFile().statements.find((node) => {
771
- return (ts7.isInterfaceDeclaration(node) || ts7.isTypeAliasDeclaration(node)) && node.name.getText() === name;
806
+ return (ts8.isInterfaceDeclaration(node) || ts8.isTypeAliasDeclaration(node)) && node.name.getText() === name;
772
807
  });
773
808
  if (!optionsDeclaration) {
774
809
  throw new Error(`Decorator "${name}" has no corresponding options interface.`);
775
810
  }
776
811
  let optionsInterface;
777
- if (ts7.isTypeAliasDeclaration(optionsDeclaration)) {
812
+ if (ts8.isTypeAliasDeclaration(optionsDeclaration)) {
778
813
  const aliasedType = typeChecker.getTypeAtLocation(optionsDeclaration.type);
779
- optionsInterface = ((_b = (_a = aliasedType.getSymbol()) == null ? void 0 : _a.getDeclarations()) != null ? _b : []).find((d) => ts7.isInterfaceDeclaration(d));
814
+ optionsInterface = ((_b = (_a = aliasedType.getSymbol()) == null ? void 0 : _a.getDeclarations()) != null ? _b : []).find((d) => ts8.isInterfaceDeclaration(d));
780
815
  } else {
781
816
  optionsInterface = optionsDeclaration;
782
817
  }
783
- if (!optionsInterface || !ts7.isInterfaceDeclaration(optionsInterface)) {
818
+ if (!optionsInterface || !ts8.isInterfaceDeclaration(optionsInterface)) {
784
819
  throw new Error(`Options for decorator "${name}" is not an interface.`);
785
820
  }
786
821
  return extractInterface(optionsInterface, typeChecker).members;
@@ -788,22 +823,22 @@ function getDecoratorOptions(declaration, typeChecker) {
788
823
  function getDecoratorJsDocNode(declaration) {
789
824
  const name = declaration.name.getText();
790
825
  const decoratorInterface = declaration.getSourceFile().statements.find((s) => {
791
- return ts7.isInterfaceDeclaration(s) && s.name.getText() === `${name}Decorator`;
826
+ return ts8.isInterfaceDeclaration(s) && s.name.getText() === `${name}Decorator`;
792
827
  });
793
- if (!decoratorInterface || !ts7.isInterfaceDeclaration(decoratorInterface)) {
828
+ if (!decoratorInterface || !ts8.isInterfaceDeclaration(decoratorInterface)) {
794
829
  throw new Error(`No interface "${name}Decorator" found.`);
795
830
  }
796
831
  const callSignature = decoratorInterface.members.find((node) => {
797
- return ts7.isCallSignatureDeclaration(node) && extractRawJsDoc(node);
832
+ return ts8.isCallSignatureDeclaration(node) && extractRawJsDoc(node);
798
833
  });
799
- if (!callSignature || !ts7.isCallSignatureDeclaration(callSignature)) {
834
+ if (!callSignature || !ts8.isCallSignatureDeclaration(callSignature)) {
800
835
  throw new Error(`No call signature with JsDoc on "${name}Decorator"`);
801
836
  }
802
837
  return callSignature;
803
838
  }
804
839
 
805
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
806
- import ts8 from "typescript";
840
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
841
+ import ts9 from "typescript";
807
842
  function extractEnum(declaration, typeChecker) {
808
843
  return {
809
844
  name: declaration.name.getText(),
@@ -828,37 +863,37 @@ function extractEnumMembers(declaration, checker) {
828
863
  function getEnumMemberValue(memberNode) {
829
864
  var _a;
830
865
  const literal = memberNode.getChildren().find((n) => {
831
- return ts8.isNumericLiteral(n) || ts8.isStringLiteral(n) || ts8.isPrefixUnaryExpression(n) && n.operator === ts8.SyntaxKind.MinusToken && ts8.isNumericLiteral(n.operand);
866
+ return ts9.isNumericLiteral(n) || ts9.isStringLiteral(n) || ts9.isPrefixUnaryExpression(n) && n.operator === ts9.SyntaxKind.MinusToken && ts9.isNumericLiteral(n.operand);
832
867
  });
833
868
  return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
834
869
  }
835
870
 
836
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
837
- import ts9 from "typescript";
871
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
872
+ import ts10 from "typescript";
838
873
  var initializerApiTag = "initializerApiFunction";
839
874
  function isInitializerApiFunction(node, typeChecker) {
840
- if (ts9.isFunctionDeclaration(node) && node.name !== void 0 && node.body === void 0) {
875
+ if (ts10.isFunctionDeclaration(node) && node.name !== void 0 && node.body === void 0) {
841
876
  const implementation = findImplementationOfFunction(node, typeChecker);
842
877
  if (implementation !== void 0) {
843
878
  node = implementation;
844
879
  }
845
880
  }
846
- if (!ts9.isFunctionDeclaration(node) && !ts9.isVariableDeclaration(node)) {
881
+ if (!ts10.isFunctionDeclaration(node) && !ts10.isVariableDeclaration(node)) {
847
882
  return false;
848
883
  }
849
- let tagContainer = ts9.isFunctionDeclaration(node) ? node : getContainerVariableStatement(node);
884
+ let tagContainer = ts10.isFunctionDeclaration(node) ? node : getContainerVariableStatement(node);
850
885
  if (tagContainer === null) {
851
886
  return false;
852
887
  }
853
- const tags = ts9.getJSDocTags(tagContainer);
888
+ const tags = ts10.getJSDocTags(tagContainer);
854
889
  return tags.some((t) => t.tagName.text === initializerApiTag);
855
890
  }
856
891
  function extractInitializerApiFunction(node, typeChecker) {
857
892
  var _a;
858
- if (node.name === void 0 || !ts9.isIdentifier(node.name)) {
893
+ if (node.name === void 0 || !ts10.isIdentifier(node.name)) {
859
894
  throw new Error(`Initializer API: Expected literal variable name.`);
860
895
  }
861
- const container = ts9.isFunctionDeclaration(node) ? node : getContainerVariableStatement(node);
896
+ const container = ts10.isFunctionDeclaration(node) ? node : getContainerVariableStatement(node);
862
897
  if (container === null) {
863
898
  throw new Error("Initializer API: Could not find container AST node of variable.");
864
899
  }
@@ -869,7 +904,7 @@ function extractInitializerApiFunction(node, typeChecker) {
869
904
  for (const property of type.getProperties()) {
870
905
  const subName = property.getName();
871
906
  const subDecl = (_a = property.getDeclarations()) == null ? void 0 : _a[0];
872
- if (subDecl === void 0 || !ts9.isPropertySignature(subDecl)) {
907
+ if (subDecl === void 0 || !ts10.isPropertySignature(subDecl)) {
873
908
  throw new Error(`Initializer API: Could not resolve declaration of sub-property: ${name}.${subName}`);
874
909
  }
875
910
  const subType = typeChecker.getTypeAtLocation(subDecl);
@@ -878,7 +913,7 @@ function extractInitializerApiFunction(node, typeChecker) {
878
913
  let jsdocTags;
879
914
  let description;
880
915
  let rawComment;
881
- if (ts9.isFunctionDeclaration(node)) {
916
+ if (ts10.isFunctionDeclaration(node)) {
882
917
  const implementation = findImplementationOfFunction(node, typeChecker);
883
918
  if (implementation === void 0) {
884
919
  throw new Error(`Initializer API: Could not find implementation of function: ${name}`);
@@ -926,10 +961,10 @@ function extractInitializerApiFunction(node, typeChecker) {
926
961
  };
927
962
  }
928
963
  function getContainerVariableStatement(node) {
929
- if (!ts9.isVariableDeclarationList(node.parent)) {
964
+ if (!ts10.isVariableDeclarationList(node.parent)) {
930
965
  return null;
931
966
  }
932
- if (!ts9.isVariableStatement(node.parent.parent)) {
967
+ if (!ts10.isVariableStatement(node.parent.parent)) {
933
968
  return null;
934
969
  }
935
970
  return node.parent.parent;
@@ -942,7 +977,7 @@ function extractFunctionWithOverloads(name, type, typeChecker) {
942
977
  };
943
978
  }
944
979
 
945
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
980
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
946
981
  function extractTypeAlias(declaration) {
947
982
  return {
948
983
  name: declaration.name.getText(),
@@ -955,17 +990,17 @@ function extractTypeAlias(declaration) {
955
990
  };
956
991
  }
957
992
 
958
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
959
- import ts10 from "typescript";
993
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
994
+ import ts11 from "typescript";
960
995
  function getImportedSymbols(sourceFile) {
961
996
  const importSpecifiers = /* @__PURE__ */ new Map();
962
997
  function visit(node) {
963
998
  var _a;
964
- if (ts10.isImportDeclaration(node)) {
999
+ if (ts11.isImportDeclaration(node)) {
965
1000
  let moduleSpecifier = node.moduleSpecifier.getText(sourceFile).replace(/['"]/g, "");
966
1001
  if (moduleSpecifier.startsWith("@angular/")) {
967
1002
  const namedBindings = (_a = node.importClause) == null ? void 0 : _a.namedBindings;
968
- if (namedBindings && ts10.isNamedImports(namedBindings)) {
1003
+ if (namedBindings && ts11.isNamedImports(namedBindings)) {
969
1004
  namedBindings.elements.forEach((importSpecifier) => {
970
1005
  const importName = importSpecifier.name.text;
971
1006
  const importAlias = importSpecifier.propertyName ? importSpecifier.propertyName.text : void 0;
@@ -974,13 +1009,13 @@ function getImportedSymbols(sourceFile) {
974
1009
  }
975
1010
  }
976
1011
  }
977
- ts10.forEachChild(node, visit);
1012
+ ts11.forEachChild(node, visit);
978
1013
  }
979
1014
  visit(sourceFile);
980
1015
  return importSpecifiers;
981
1016
  }
982
1017
 
983
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
1018
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
984
1019
  var DocsExtractor = class {
985
1020
  typeChecker;
986
1021
  metadataReader;
@@ -1011,8 +1046,8 @@ var DocsExtractor = class {
1011
1046
  });
1012
1047
  entry.source = {
1013
1048
  filePath: getRelativeFilePath(realSourceFile, rootDir),
1014
- startLine: ts11.getLineAndCharacterOfPosition(realSourceFile, node.getStart()).line + 1,
1015
- endLine: ts11.getLineAndCharacterOfPosition(realSourceFile, node.getEnd()).line + 1
1049
+ startLine: ts12.getLineAndCharacterOfPosition(realSourceFile, node.getStart()).line + 1,
1050
+ endLine: ts12.getLineAndCharacterOfPosition(realSourceFile, node.getEnd()).line + 1
1016
1051
  };
1017
1052
  entries.push({ ...entry, name: exportName });
1018
1053
  }
@@ -1026,20 +1061,20 @@ var DocsExtractor = class {
1026
1061
  if (isInitializerApiFunction(node, this.typeChecker)) {
1027
1062
  return extractInitializerApiFunction(node, this.typeChecker);
1028
1063
  }
1029
- if (ts11.isInterfaceDeclaration(node) && !isIgnoredInterface(node)) {
1064
+ if (ts12.isInterfaceDeclaration(node) && !isIgnoredInterface(node)) {
1030
1065
  return extractInterface(node, this.typeChecker);
1031
1066
  }
1032
- if (ts11.isFunctionDeclaration(node)) {
1067
+ if (ts12.isFunctionDeclaration(node)) {
1033
1068
  const functionExtractor = new FunctionExtractor(node.name.getText(), node, this.typeChecker);
1034
1069
  return functionExtractor.extract();
1035
1070
  }
1036
- if (ts11.isVariableDeclaration(node) && !isSyntheticAngularConstant(node)) {
1071
+ if (ts12.isVariableDeclaration(node) && !isSyntheticAngularConstant(node)) {
1037
1072
  return isDecoratorDeclaration(node) ? extractorDecorator(node, this.typeChecker) : extractConstant(node, this.typeChecker);
1038
1073
  }
1039
- if (ts11.isTypeAliasDeclaration(node)) {
1074
+ if (ts12.isTypeAliasDeclaration(node)) {
1040
1075
  return extractTypeAlias(node);
1041
1076
  }
1042
- if (ts11.isEnumDeclaration(node)) {
1077
+ if (ts12.isEnumDeclaration(node)) {
1043
1078
  return extractEnum(node, this.typeChecker);
1044
1079
  }
1045
1080
  return null;
@@ -1068,11 +1103,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
1068
1103
  return relativePath;
1069
1104
  }
1070
1105
 
1071
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
1106
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
1072
1107
  import { HtmlParser, MessageBundle } from "@angular/compiler";
1073
- import ts26 from "typescript";
1108
+ import ts27 from "typescript";
1074
1109
 
1075
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
1110
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
1076
1111
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
1077
1112
  import * as path from "path";
1078
1113
  function i18nGetExtension(formatName) {
@@ -1123,10 +1158,10 @@ function getPathNormalizer(basePath) {
1123
1158
  };
1124
1159
  }
1125
1160
 
1126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1127
- import ts12 from "typescript";
1161
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1162
+ import ts13 from "typescript";
1128
1163
 
1129
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
1164
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
1130
1165
  function toNumbers(value) {
1131
1166
  const suffixIndex = value.lastIndexOf("-");
1132
1167
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -1161,10 +1196,10 @@ function compareVersions(v1, v2) {
1161
1196
  return compareNumbers(toNumbers(v1), toNumbers(v2));
1162
1197
  }
1163
1198
 
1164
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1165
- var MIN_TS_VERSION = "5.5.0";
1199
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1200
+ var MIN_TS_VERSION = "5.8.0";
1166
1201
  var MAX_TS_VERSION = "5.9.0";
1167
- var tsVersion = ts12.version;
1202
+ var tsVersion = ts13.version;
1168
1203
  function checkVersion(version, minVersion, maxVersion) {
1169
1204
  if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
1170
1205
  throw new Error(`The Angular Compiler requires TypeScript >=${minVersion} and <${maxVersion} but ${version} was found instead.`);
@@ -1174,11 +1209,11 @@ function verifySupportedTypeScriptVersion() {
1174
1209
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
1175
1210
  }
1176
1211
 
1177
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
1212
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
1178
1213
  import { R3Identifiers } from "@angular/compiler";
1179
- import ts24 from "typescript";
1214
+ import ts25 from "typescript";
1180
1215
 
1181
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
1216
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
1182
1217
  var CycleAnalyzer = class {
1183
1218
  importGraph;
1184
1219
  cachedResults = null;
@@ -1255,8 +1290,8 @@ var Cycle = class {
1255
1290
  }
1256
1291
  };
1257
1292
 
1258
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
1259
- import ts13 from "typescript";
1293
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
1294
+ import ts14 from "typescript";
1260
1295
  var ImportGraph = class {
1261
1296
  checker;
1262
1297
  perf;
@@ -1302,10 +1337,10 @@ var ImportGraph = class {
1302
1337
  return this.perf.inPhase(PerfPhase.CycleDetection, () => {
1303
1338
  const imports = /* @__PURE__ */ new Set();
1304
1339
  for (const stmt of sf.statements) {
1305
- if (!ts13.isImportDeclaration(stmt) && !ts13.isExportDeclaration(stmt) || stmt.moduleSpecifier === void 0) {
1340
+ if (!ts14.isImportDeclaration(stmt) && !ts14.isExportDeclaration(stmt) || stmt.moduleSpecifier === void 0) {
1306
1341
  continue;
1307
1342
  }
1308
- if (ts13.isImportDeclaration(stmt) && stmt.importClause !== void 0 && isTypeOnlyImportClause(stmt.importClause)) {
1343
+ if (ts14.isImportDeclaration(stmt) && stmt.importClause !== void 0 && isTypeOnlyImportClause(stmt.importClause)) {
1309
1344
  continue;
1310
1345
  }
1311
1346
  const symbol = this.checker.getSymbolAtLocation(stmt.moduleSpecifier);
@@ -1313,7 +1348,7 @@ var ImportGraph = class {
1313
1348
  continue;
1314
1349
  }
1315
1350
  const moduleFile = symbol.valueDeclaration;
1316
- if (ts13.isSourceFile(moduleFile) && isLocalFile(moduleFile)) {
1351
+ if (ts14.isSourceFile(moduleFile) && isLocalFile(moduleFile)) {
1317
1352
  imports.add(moduleFile);
1318
1353
  }
1319
1354
  }
@@ -1328,7 +1363,7 @@ function isTypeOnlyImportClause(node) {
1328
1363
  if (node.isTypeOnly) {
1329
1364
  return true;
1330
1365
  }
1331
- if (node.namedBindings !== void 0 && ts13.isNamedImports(node.namedBindings) && node.namedBindings.elements.every((specifier) => specifier.isTypeOnly)) {
1366
+ if (node.namedBindings !== void 0 && ts14.isNamedImports(node.namedBindings) && node.namedBindings.elements.every((specifier) => specifier.isTypeOnly)) {
1332
1367
  return true;
1333
1368
  }
1334
1369
  return false;
@@ -1351,8 +1386,8 @@ var Found = class {
1351
1386
  }
1352
1387
  };
1353
1388
 
1354
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
1355
- import ts14 from "typescript";
1389
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
1390
+ import ts15 from "typescript";
1356
1391
  var FlatIndexGenerator = class {
1357
1392
  entryPoint;
1358
1393
  moduleName;
@@ -1371,7 +1406,7 @@ var FlatIndexGenerator = class {
1371
1406
 
1372
1407
  export * from '${relativeEntryPoint}';
1373
1408
  `;
1374
- const genFile = ts14.createSourceFile(this.flatIndexPath, contents, ts14.ScriptTarget.ES2015, true, ts14.ScriptKind.TS);
1409
+ const genFile = ts15.createSourceFile(this.flatIndexPath, contents, ts15.ScriptTarget.ES2015, true, ts15.ScriptKind.TS);
1375
1410
  if (this.moduleName !== null) {
1376
1411
  genFile.moduleName = this.moduleName;
1377
1412
  }
@@ -1379,7 +1414,7 @@ export * from '${relativeEntryPoint}';
1379
1414
  }
1380
1415
  };
1381
1416
 
1382
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
1417
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
1383
1418
  function findFlatIndexEntryPoint(rootFiles) {
1384
1419
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
1385
1420
  let resolvedEntryPoint = null;
@@ -1395,8 +1430,8 @@ function findFlatIndexEntryPoint(rootFiles) {
1395
1430
  return resolvedEntryPoint;
1396
1431
  }
1397
1432
 
1398
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
1399
- import ts15 from "typescript";
1433
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
1434
+ import ts16 from "typescript";
1400
1435
  function checkForPrivateExports(entryPoint, checker, refGraph) {
1401
1436
  const diagnostics = [];
1402
1437
  const topLevelExports = /* @__PURE__ */ new Set();
@@ -1406,7 +1441,7 @@ function checkForPrivateExports(entryPoint, checker, refGraph) {
1406
1441
  }
1407
1442
  const exportedSymbols = checker.getExportsOfModule(moduleSymbol);
1408
1443
  exportedSymbols.forEach((symbol) => {
1409
- if (symbol.flags & ts15.SymbolFlags.Alias) {
1444
+ if (symbol.flags & ts16.SymbolFlags.Alias) {
1410
1445
  symbol = checker.getAliasedSymbol(symbol);
1411
1446
  }
1412
1447
  const decl = symbol.valueDeclaration;
@@ -1430,7 +1465,7 @@ function checkForPrivateExports(entryPoint, checker, refGraph) {
1430
1465
  visibleVia = transitivePath.map((seg) => getNameOfDeclaration(seg)).join(" -> ");
1431
1466
  }
1432
1467
  const diagnostic = {
1433
- category: ts15.DiagnosticCategory.Error,
1468
+ category: ts16.DiagnosticCategory.Error,
1434
1469
  code: ngErrorCode(ErrorCode.SYMBOL_NOT_EXPORTED),
1435
1470
  file: transitiveReference.getSourceFile(),
1436
1471
  ...getPosOfDeclaration(transitiveReference),
@@ -1450,7 +1485,7 @@ function getPosOfDeclaration(decl) {
1450
1485
  };
1451
1486
  }
1452
1487
  function getIdentifierOfDeclaration(decl) {
1453
- if ((ts15.isClassDeclaration(decl) || ts15.isVariableDeclaration(decl) || ts15.isFunctionDeclaration(decl)) && decl.name !== void 0 && ts15.isIdentifier(decl.name)) {
1488
+ if ((ts16.isClassDeclaration(decl) || ts16.isVariableDeclaration(decl) || ts16.isFunctionDeclaration(decl)) && decl.name !== void 0 && ts16.isIdentifier(decl.name)) {
1454
1489
  return decl.name;
1455
1490
  } else {
1456
1491
  return null;
@@ -1462,20 +1497,20 @@ function getNameOfDeclaration(decl) {
1462
1497
  }
1463
1498
  function getDescriptorOfDeclaration(decl) {
1464
1499
  switch (decl.kind) {
1465
- case ts15.SyntaxKind.ClassDeclaration:
1500
+ case ts16.SyntaxKind.ClassDeclaration:
1466
1501
  return "class";
1467
- case ts15.SyntaxKind.FunctionDeclaration:
1502
+ case ts16.SyntaxKind.FunctionDeclaration:
1468
1503
  return "function";
1469
- case ts15.SyntaxKind.VariableDeclaration:
1504
+ case ts16.SyntaxKind.VariableDeclaration:
1470
1505
  return "variable";
1471
- case ts15.SyntaxKind.EnumDeclaration:
1506
+ case ts16.SyntaxKind.EnumDeclaration:
1472
1507
  return "enum";
1473
1508
  default:
1474
1509
  return "declaration";
1475
1510
  }
1476
1511
  }
1477
1512
 
1478
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
1513
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
1479
1514
  var ReferenceGraph = class {
1480
1515
  references = /* @__PURE__ */ new Map();
1481
1516
  add(from, to) {
@@ -1527,7 +1562,7 @@ var ReferenceGraph = class {
1527
1562
  }
1528
1563
  };
1529
1564
 
1530
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1565
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1531
1566
  var FileDependencyGraph = class {
1532
1567
  nodes = /* @__PURE__ */ new Map();
1533
1568
  addDependency(from, on) {
@@ -1592,7 +1627,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1592
1627
  return false;
1593
1628
  }
1594
1629
 
1595
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1630
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1596
1631
  var IncrementalStateKind;
1597
1632
  (function(IncrementalStateKind2) {
1598
1633
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1600,7 +1635,7 @@ var IncrementalStateKind;
1600
1635
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1601
1636
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1602
1637
 
1603
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1638
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1604
1639
  var PhaseKind;
1605
1640
  (function(PhaseKind2) {
1606
1641
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1806,7 +1841,7 @@ function toOriginalSourceFile(sf) {
1806
1841
  }
1807
1842
  }
1808
1843
 
1809
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1844
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1810
1845
  var TrackedIncrementalBuildStrategy = class {
1811
1846
  state = null;
1812
1847
  isSet = false;
@@ -1840,7 +1875,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1840
1875
  };
1841
1876
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1842
1877
 
1843
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1878
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1844
1879
  var IdentifierKind;
1845
1880
  (function(IdentifierKind2) {
1846
1881
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1861,7 +1896,7 @@ var AbsoluteSourceSpan = class {
1861
1896
  }
1862
1897
  };
1863
1898
 
1864
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1899
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1865
1900
  var IndexingContext = class {
1866
1901
  components = /* @__PURE__ */ new Set();
1867
1902
  addComponent(info) {
@@ -1869,10 +1904,10 @@ var IndexingContext = class {
1869
1904
  }
1870
1905
  };
1871
1906
 
1872
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1907
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1873
1908
  import { ParseSourceFile } from "@angular/compiler";
1874
1909
 
1875
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1910
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1876
1911
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
1877
1912
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1878
1913
  expressionStr;
@@ -2172,7 +2207,7 @@ function getTemplateIdentifiers(boundTemplate) {
2172
2207
  return { identifiers: visitor.identifiers, errors: visitor.errors };
2173
2208
  }
2174
2209
 
2175
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
2210
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
2176
2211
  function generateAnalysis(context) {
2177
2212
  const analysis = /* @__PURE__ */ new Map();
2178
2213
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -2208,7 +2243,7 @@ function generateAnalysis(context) {
2208
2243
  return analysis;
2209
2244
  }
2210
2245
 
2211
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
2246
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
2212
2247
  var NgModuleIndexImpl = class {
2213
2248
  metaReader;
2214
2249
  localReader;
@@ -2299,8 +2334,8 @@ var NgModuleIndexImpl = class {
2299
2334
  }
2300
2335
  };
2301
2336
 
2302
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
2303
- import ts16 from "typescript";
2337
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
2338
+ import ts17 from "typescript";
2304
2339
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
2305
2340
  var RESOURCE_MARKER = ".$ngresource$";
2306
2341
  var RESOURCE_MARKER_TS = RESOURCE_MARKER + ".ts";
@@ -2422,7 +2457,7 @@ var AdapterResourceLoader = class {
2422
2457
  return this.adapter.rootDirs.map((rootDir) => join(rootDir, segment));
2423
2458
  }
2424
2459
  getResolvedCandidateLocations(url, fromFile) {
2425
- const failedLookup = ts16.resolveModuleName(url + RESOURCE_MARKER, fromFile, this.options, this.lookupResolutionHost);
2460
+ const failedLookup = ts17.resolveModuleName(url + RESOURCE_MARKER, fromFile, this.options, this.lookupResolutionHost);
2426
2461
  if (failedLookup.failedLookupLocations === void 0) {
2427
2462
  throw new Error(`Internal error: expected to find failedLookupLocations during resolution of resource '${url}' in context of ${fromFile}`);
2428
2463
  }
@@ -2457,7 +2492,7 @@ function createLookupResolutionHost(adapter) {
2457
2492
  };
2458
2493
  }
2459
2494
 
2460
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
2495
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
2461
2496
  var StandaloneComponentScopeReader = class {
2462
2497
  metaReader;
2463
2498
  localModuleReader;
@@ -2556,11 +2591,11 @@ var StandaloneComponentScopeReader = class {
2556
2591
  }
2557
2592
  };
2558
2593
 
2559
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2594
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2560
2595
  import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
2561
2596
 
2562
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
2563
- import ts17 from "typescript";
2597
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
2598
+ import ts18 from "typescript";
2564
2599
  var SIGNAL_FNS = /* @__PURE__ */ new Set([
2565
2600
  "WritableSignal",
2566
2601
  "Signal",
@@ -2575,11 +2610,11 @@ function isSignalSymbol(symbol) {
2575
2610
  const declarations = symbol.getDeclarations();
2576
2611
  return declarations !== void 0 && declarations.some((decl) => {
2577
2612
  const fileName = decl.getSourceFile().fileName;
2578
- return (ts17.isInterfaceDeclaration(decl) || ts17.isTypeAliasDeclaration(decl)) && SIGNAL_FNS.has(decl.name.text) && (fileName.includes("@angular/core") || fileName.includes("angular2/rc/packages/core"));
2613
+ return (ts18.isInterfaceDeclaration(decl) || ts18.isTypeAliasDeclaration(decl)) && SIGNAL_FNS.has(decl.name.text) && (fileName.includes("@angular/core") || fileName.includes("angular2/rc/packages/core"));
2579
2614
  });
2580
2615
  }
2581
2616
 
2582
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
2617
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
2583
2618
  import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
2584
2619
  var TemplateCheckWithVisitor = class {
2585
2620
  canVisitStructuralAttributes = true;
@@ -2716,7 +2751,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
2716
2751
  }
2717
2752
  };
2718
2753
 
2719
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2754
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
2720
2755
  var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
2721
2756
  var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
2722
2757
  var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
@@ -2745,14 +2780,14 @@ function isSignalInstanceProperty(name) {
2745
2780
  function buildDiagnosticForSignal(ctx, node, component) {
2746
2781
  const symbol = ctx.templateTypeChecker.getSymbolOfNode(node, component);
2747
2782
  if (symbol !== null && symbol.kind === SymbolKind.Expression && isSignalReference(symbol)) {
2748
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
2783
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbol.tcbLocation);
2749
2784
  const errorString = `${node.name} is a function and should be invoked: ${node.name}()`;
2750
2785
  const diagnostic = ctx.makeTemplateDiagnostic(templateMapping.span, errorString);
2751
2786
  return [diagnostic];
2752
2787
  }
2753
2788
  const symbolOfReceiver = ctx.templateTypeChecker.getSymbolOfNode(node.receiver, component);
2754
2789
  if ((isFunctionInstanceProperty(node.name) || isSignalInstanceProperty(node.name)) && symbolOfReceiver !== null && symbolOfReceiver.kind === SymbolKind.Expression && isSignalReference(symbolOfReceiver)) {
2755
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbolOfReceiver.tcbLocation);
2790
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbolOfReceiver.tcbLocation);
2756
2791
  const errorString = `${node.receiver.name} is a function and should be invoked: ${node.receiver.name}()`;
2757
2792
  const diagnostic = ctx.makeTemplateDiagnostic(templateMapping.span, errorString);
2758
2793
  return [diagnostic];
@@ -2765,7 +2800,7 @@ var factory = {
2765
2800
  create: () => new InterpolatedSignalCheck()
2766
2801
  };
2767
2802
 
2768
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
2803
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
2769
2804
  import { TmplAstBoundEvent } from "@angular/compiler";
2770
2805
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
2771
2806
  code = ErrorCode.INVALID_BANANA_IN_BOX;
@@ -2788,7 +2823,7 @@ var factory2 = {
2788
2823
  create: () => new InvalidBananaInBoxCheck()
2789
2824
  };
2790
2825
 
2791
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
2826
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
2792
2827
  import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
2793
2828
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
2794
2829
  ["ngIf", { directive: "NgIf", builtIn: "@if" }],
@@ -2830,7 +2865,7 @@ var factory3 = {
2830
2865
  }
2831
2866
  };
2832
2867
 
2833
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
2868
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
2834
2869
  import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
2835
2870
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
2836
2871
  code = ErrorCode.MISSING_NGFOROF_LET;
@@ -2860,9 +2895,9 @@ var factory4 = {
2860
2895
  create: () => new MissingNgForOfLetCheck()
2861
2896
  };
2862
2897
 
2863
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
2898
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
2864
2899
  import { Binary } from "@angular/compiler";
2865
- import ts18 from "typescript";
2900
+ import ts19 from "typescript";
2866
2901
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
2867
2902
  canVisitStructuralAttributes = false;
2868
2903
  code = ErrorCode.NULLISH_COALESCING_NOT_NULLABLE;
@@ -2874,7 +2909,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
2874
2909
  return [];
2875
2910
  }
2876
2911
  const typeLeft = symbolLeft.tsType;
2877
- if (typeLeft.flags & (ts18.TypeFlags.Any | ts18.TypeFlags.Unknown)) {
2912
+ if (typeLeft.flags & (ts19.TypeFlags.Any | ts19.TypeFlags.Unknown)) {
2878
2913
  return [];
2879
2914
  }
2880
2915
  if (typeLeft.getNonNullableType() !== typeLeft)
@@ -2883,7 +2918,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
2883
2918
  if (symbol.kind !== SymbolKind.Expression) {
2884
2919
  return [];
2885
2920
  }
2886
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
2921
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbol.tcbLocation);
2887
2922
  if (templateMapping === null) {
2888
2923
  return [];
2889
2924
  }
@@ -2903,9 +2938,9 @@ var factory5 = {
2903
2938
  }
2904
2939
  };
2905
2940
 
2906
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
2941
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
2907
2942
  import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
2908
- import ts19 from "typescript";
2943
+ import ts20 from "typescript";
2909
2944
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
2910
2945
  canVisitStructuralAttributes = false;
2911
2946
  code = ErrorCode.OPTIONAL_CHAIN_NOT_NULLABLE;
@@ -2917,7 +2952,7 @@ var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
2917
2952
  return [];
2918
2953
  }
2919
2954
  const typeLeft = symbolLeft.tsType;
2920
- if (typeLeft.flags & (ts19.TypeFlags.Any | ts19.TypeFlags.Unknown)) {
2955
+ if (typeLeft.flags & (ts20.TypeFlags.Any | ts20.TypeFlags.Unknown)) {
2921
2956
  return [];
2922
2957
  }
2923
2958
  if (typeLeft.getNonNullableType() !== typeLeft)
@@ -2926,7 +2961,7 @@ var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
2926
2961
  if (symbol.kind !== SymbolKind.Expression) {
2927
2962
  return [];
2928
2963
  }
2929
- const templateMapping = ctx.templateTypeChecker.getTemplateMappingAtTcbLocation(symbol.tcbLocation);
2964
+ const templateMapping = ctx.templateTypeChecker.getSourceMappingAtTcbLocation(symbol.tcbLocation);
2930
2965
  if (templateMapping === null) {
2931
2966
  return [];
2932
2967
  }
@@ -2947,7 +2982,7 @@ var factory6 = {
2947
2982
  }
2948
2983
  };
2949
2984
 
2950
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
2985
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
2951
2986
  import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
2952
2987
  var STYLE_SUFFIXES = ["px", "%", "em"];
2953
2988
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
@@ -2968,7 +3003,7 @@ var factory7 = {
2968
3003
  create: () => new SuffixNotSupportedCheck()
2969
3004
  };
2970
3005
 
2971
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
3006
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
2972
3007
  import { TmplAstTextAttribute } from "@angular/compiler";
2973
3008
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
2974
3009
  code = ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING;
@@ -3004,7 +3039,7 @@ var factory8 = {
3004
3039
  create: () => new TextAttributeNotBindingSpec()
3005
3040
  };
3006
3041
 
3007
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
3042
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
3008
3043
  import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
3009
3044
  var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
3010
3045
  code = ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING;
@@ -3053,7 +3088,7 @@ var factory9 = {
3053
3088
  create: () => new UninvokedFunctionInEventBindingSpec()
3054
3089
  };
3055
3090
 
3056
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
3091
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
3057
3092
  import { AST, ASTWithSource as ASTWithSource5, TmplAstLetDeclaration } from "@angular/compiler";
3058
3093
  var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
3059
3094
  code = ErrorCode.UNUSED_LET_DECLARATION;
@@ -3095,7 +3130,7 @@ var factory10 = {
3095
3130
  create: () => new UnusedLetDeclarationCheck()
3096
3131
  };
3097
3132
 
3098
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
3133
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
3099
3134
  import { TmplAstBoundAttribute as TmplAstBoundAttribute3, TmplAstTextAttribute as TmplAstTextAttribute2 } from "@angular/compiler";
3100
3135
  var NG_SKIP_HYDRATION_ATTR_NAME = "ngSkipHydration";
3101
3136
  var NgSkipHydrationSpec = class extends TemplateCheckWithVisitor {
@@ -3121,10 +3156,10 @@ var factory11 = {
3121
3156
  create: () => new NgSkipHydrationSpec()
3122
3157
  };
3123
3158
 
3124
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3125
- import ts20 from "typescript";
3159
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3160
+ import ts21 from "typescript";
3126
3161
 
3127
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
3162
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
3128
3163
  var DiagnosticCategoryLabel;
3129
3164
  (function(DiagnosticCategoryLabel2) {
3130
3165
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -3132,7 +3167,7 @@ var DiagnosticCategoryLabel;
3132
3167
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
3133
3168
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
3134
3169
 
3135
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3170
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
3136
3171
  var ExtendedTemplateCheckerImpl = class {
3137
3172
  partialCtx;
3138
3173
  templateChecks;
@@ -3173,9 +3208,9 @@ var ExtendedTemplateCheckerImpl = class {
3173
3208
  function diagnosticLabelToCategory(label) {
3174
3209
  switch (label) {
3175
3210
  case DiagnosticCategoryLabel.Warning:
3176
- return ts20.DiagnosticCategory.Warning;
3211
+ return ts21.DiagnosticCategory.Warning;
3177
3212
  case DiagnosticCategoryLabel.Error:
3178
- return ts20.DiagnosticCategory.Error;
3213
+ return ts21.DiagnosticCategory.Error;
3179
3214
  case DiagnosticCategoryLabel.Suppress:
3180
3215
  return null;
3181
3216
  default:
@@ -3187,7 +3222,7 @@ function assertNever(value) {
3187
3222
  ${value}`);
3188
3223
  }
3189
3224
 
3190
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
3225
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
3191
3226
  var ALL_DIAGNOSTIC_FACTORIES = [
3192
3227
  factory2,
3193
3228
  factory5,
@@ -3207,9 +3242,9 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
3207
3242
  ...ALL_DIAGNOSTIC_FACTORIES.map((factory12) => factory12.name)
3208
3243
  ]);
3209
3244
 
3210
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
3245
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
3211
3246
  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";
3212
- import ts21 from "typescript";
3247
+ import ts22 from "typescript";
3213
3248
  var TemplateSemanticsCheckerImpl = class {
3214
3249
  templateTypeChecker;
3215
3250
  constructor(templateTypeChecker) {
@@ -3289,7 +3324,7 @@ var ExpressionsSemanticsVisitor = class extends RecursiveAstVisitor3 {
3289
3324
  }
3290
3325
  makeIllegalTemplateVarDiagnostic(target, expressionNode, errorMessage) {
3291
3326
  const span = target instanceof TmplAstVariable2 ? target.valueSpan || target.sourceSpan : target.sourceSpan;
3292
- return this.templateTypeChecker.makeTemplateDiagnostic(this.component, expressionNode.handlerSpan, ts21.DiagnosticCategory.Error, ngErrorCode(ErrorCode.WRITE_TO_READ_ONLY_VARIABLE), errorMessage, [
3327
+ return this.templateTypeChecker.makeTemplateDiagnostic(this.component, expressionNode.handlerSpan, ts22.DiagnosticCategory.Error, ngErrorCode(ErrorCode.WRITE_TO_READ_ONLY_VARIABLE), errorMessage, [
3293
3328
  {
3294
3329
  text: `'${target.name}' is declared here.`,
3295
3330
  start: span.start.offset,
@@ -3303,8 +3338,8 @@ function unwrapAstWithSource(ast) {
3303
3338
  return ast instanceof ASTWithSource6 ? ast.ast : ast;
3304
3339
  }
3305
3340
 
3306
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
3307
- import ts22 from "typescript";
3341
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
3342
+ import ts23 from "typescript";
3308
3343
  var APIS_TO_CHECK = [
3309
3344
  INPUT_INITIALIZER_FN,
3310
3345
  MODEL_INITIALIZER_FN,
@@ -3324,13 +3359,13 @@ var InitializerApiUsageRule = class {
3324
3359
  });
3325
3360
  }
3326
3361
  checkNode(node) {
3327
- if (!ts22.isCallExpression(node)) {
3362
+ if (!ts23.isCallExpression(node)) {
3328
3363
  return null;
3329
3364
  }
3330
- while (node.parent && (ts22.isParenthesizedExpression(node.parent) || ts22.isAsExpression(node.parent))) {
3365
+ while (node.parent && (ts23.isParenthesizedExpression(node.parent) || ts23.isAsExpression(node.parent))) {
3331
3366
  node = node.parent;
3332
3367
  }
3333
- if (!node.parent || !ts22.isCallExpression(node)) {
3368
+ if (!node.parent || !ts23.isCallExpression(node)) {
3334
3369
  return null;
3335
3370
  }
3336
3371
  const identifiedInitializer = tryParseInitializerApi(APIS_TO_CHECK, node, this.reflector, this.importedSymbolsTracker);
@@ -3338,12 +3373,12 @@ var InitializerApiUsageRule = class {
3338
3373
  return null;
3339
3374
  }
3340
3375
  const functionName = identifiedInitializer.api.functionName + (identifiedInitializer.isRequired ? ".required" : "");
3341
- if (ts22.isPropertyDeclaration(node.parent) && node.parent.initializer === node) {
3376
+ if (ts23.isPropertyDeclaration(node.parent) && node.parent.initializer === node) {
3342
3377
  let closestClass = node.parent;
3343
- while (closestClass && !ts22.isClassDeclaration(closestClass)) {
3378
+ while (closestClass && !ts23.isClassDeclaration(closestClass)) {
3344
3379
  closestClass = closestClass.parent;
3345
3380
  }
3346
- if (closestClass && ts22.isClassDeclaration(closestClass)) {
3381
+ if (closestClass && ts23.isClassDeclaration(closestClass)) {
3347
3382
  const decorators = this.reflector.getDecoratorsOfDeclaration(closestClass);
3348
3383
  const isComponentOrDirective = decorators !== null && decorators.some((decorator) => {
3349
3384
  var _a;
@@ -3356,8 +3391,8 @@ var InitializerApiUsageRule = class {
3356
3391
  }
3357
3392
  };
3358
3393
 
3359
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
3360
- import ts23 from "typescript";
3394
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
3395
+ import ts24 from "typescript";
3361
3396
  var UnusedStandaloneImportsRule = class {
3362
3397
  templateTypeChecker;
3363
3398
  typeCheckingConfig;
@@ -3371,7 +3406,7 @@ var UnusedStandaloneImportsRule = class {
3371
3406
  return this.typeCheckingConfig.unusedStandaloneImports !== "suppress" && (this.importedSymbolsTracker.hasNamedImport(sourceFile, "Component", "@angular/core") || this.importedSymbolsTracker.hasNamespaceImport(sourceFile, "@angular/core"));
3372
3407
  }
3373
3408
  checkNode(node) {
3374
- if (!ts23.isClassDeclaration(node)) {
3409
+ if (!ts24.isClassDeclaration(node)) {
3375
3410
  return null;
3376
3411
  }
3377
3412
  const metadata = this.templateTypeChecker.getDirectiveMetadata(node);
@@ -3387,8 +3422,8 @@ var UnusedStandaloneImportsRule = class {
3387
3422
  if (unused === null) {
3388
3423
  return null;
3389
3424
  }
3390
- const propertyAssignment = closestNode(metadata.rawImports, ts23.isPropertyAssignment);
3391
- const category = this.typeCheckingConfig.unusedStandaloneImports === "error" ? ts23.DiagnosticCategory.Error : ts23.DiagnosticCategory.Warning;
3425
+ const propertyAssignment = closestNode(metadata.rawImports, ts24.isPropertyAssignment);
3426
+ const category = this.typeCheckingConfig.unusedStandaloneImports === "error" ? ts24.DiagnosticCategory.Error : ts24.DiagnosticCategory.Warning;
3392
3427
  if (unused.length === metadata.imports.length && propertyAssignment !== null) {
3393
3428
  return makeDiagnostic(ErrorCode.UNUSED_STANDALONE_IMPORTS, propertyAssignment.name, "All imports are unused", void 0, category);
3394
3429
  }
@@ -3428,8 +3463,8 @@ var UnusedStandaloneImportsRule = class {
3428
3463
  }
3429
3464
  let current = reference.getIdentityIn(rawImports.getSourceFile());
3430
3465
  while (current !== null) {
3431
- if (ts23.isVariableStatement(current)) {
3432
- return !!((_a = current.modifiers) == null ? void 0 : _a.some((m) => m.kind === ts23.SyntaxKind.ExportKeyword));
3466
+ if (ts24.isVariableStatement(current)) {
3467
+ return !!((_a = current.modifiers) == null ? void 0 : _a.some((m) => m.kind === ts24.SyntaxKind.ExportKeyword));
3433
3468
  }
3434
3469
  current = (_b = current.parent) != null ? _b : null;
3435
3470
  }
@@ -3448,10 +3483,10 @@ function closestNode(start, predicate) {
3448
3483
  return null;
3449
3484
  }
3450
3485
 
3451
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
3486
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
3452
3487
  var UNUSED_STANDALONE_IMPORTS_RULE_ENABLED = true;
3453
3488
 
3454
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
3489
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
3455
3490
  var SourceFileValidator = class {
3456
3491
  rules;
3457
3492
  constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
@@ -3493,7 +3528,7 @@ var SourceFileValidator = class {
3493
3528
  }
3494
3529
  };
3495
3530
 
3496
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
3531
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
3497
3532
  function coreHasSymbol(program, symbol) {
3498
3533
  const checker = program.getTypeChecker();
3499
3534
  for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
@@ -3512,7 +3547,7 @@ function isMaybeCore(sf) {
3512
3547
  return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
3513
3548
  }
3514
3549
 
3515
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
3550
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
3516
3551
  import semver from "semver";
3517
3552
  function coreVersionSupportsFeature(coreVersion, minVersion) {
3518
3553
  if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
@@ -3521,7 +3556,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
3521
3556
  return semver.satisfies(coreVersion, minVersion, { includePrerelease: true });
3522
3557
  }
3523
3558
 
3524
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
3559
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
3525
3560
  var CompilationTicketKind;
3526
3561
  (function(CompilationTicketKind2) {
3527
3562
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -3640,7 +3675,7 @@ var NgCompiler = class {
3640
3675
  this.currentProgram = inputProgram;
3641
3676
  this.closureCompilerEnabled = !!this.options.annotateForClosureCompiler;
3642
3677
  this.entryPoint = adapter.entryPoint !== null ? getSourceFileOrNull(inputProgram, adapter.entryPoint) : null;
3643
- const moduleResolutionCache = ts24.createModuleResolutionCache(
3678
+ const moduleResolutionCache = ts25.createModuleResolutionCache(
3644
3679
  this.adapter.getCurrentDirectory(),
3645
3680
  this.adapter.getCanonicalFileName.bind(this.adapter)
3646
3681
  );
@@ -3684,7 +3719,7 @@ var NgCompiler = class {
3684
3719
  }
3685
3720
  for (const clazz of classesToUpdate) {
3686
3721
  this.compilation.traitCompiler.updateResources(clazz);
3687
- if (!ts24.isClassDeclaration(clazz)) {
3722
+ if (!ts25.isClassDeclaration(clazz)) {
3688
3723
  continue;
3689
3724
  }
3690
3725
  this.compilation.templateTypeChecker.invalidateClass(clazz);
@@ -3773,16 +3808,13 @@ var NgCompiler = class {
3773
3808
  const { resourceRegistry } = this.ensureAnalyzed();
3774
3809
  return resourceRegistry.getComponentsWithStyle(resolve(styleFilePath));
3775
3810
  }
3776
- getComponentResources(classDecl) {
3811
+ getDirectiveResources(classDecl) {
3777
3812
  if (!isNamedClassDeclaration(classDecl)) {
3778
3813
  return null;
3779
3814
  }
3780
3815
  const { resourceRegistry } = this.ensureAnalyzed();
3781
3816
  const styles = resourceRegistry.getStyles(classDecl);
3782
3817
  const template = resourceRegistry.getTemplate(classDecl);
3783
- if (template === null) {
3784
- return null;
3785
- }
3786
3818
  return { styles, template };
3787
3819
  }
3788
3820
  getMeta(classDecl) {
@@ -3838,12 +3870,12 @@ var NgCompiler = class {
3838
3870
  if (compilation.supportJitMode && compilation.jitDeclarationRegistry.jitDeclarations.size > 0) {
3839
3871
  const { jitDeclarations } = compilation.jitDeclarationRegistry;
3840
3872
  const jitDeclarationsArray = Array.from(jitDeclarations);
3841
- const jitDeclarationOriginalNodes = new Set(jitDeclarationsArray.map((d) => ts24.getOriginalNode(d)));
3873
+ const jitDeclarationOriginalNodes = new Set(jitDeclarationsArray.map((d) => ts25.getOriginalNode(d)));
3842
3874
  const sourceFilesWithJit = new Set(jitDeclarationsArray.map((d) => d.getSourceFile().fileName));
3843
3875
  before.push((ctx) => {
3844
3876
  const reflectionHost = new TypeScriptReflectionHost(this.inputProgram.getTypeChecker());
3845
3877
  const jitTransform = angularJitApplicationTransform(this.inputProgram, compilation.isCore, (node) => {
3846
- node = ts24.getOriginalNode(node, ts24.isClassDeclaration);
3878
+ node = ts25.getOriginalNode(node, ts25.isClassDeclaration);
3847
3879
  return reflectionHost.isClass(node) && jitDeclarationOriginalNodes.has(node);
3848
3880
  })(ctx);
3849
3881
  return (sourceFile) => {
@@ -3896,9 +3928,9 @@ var NgCompiler = class {
3896
3928
  return null;
3897
3929
  }
3898
3930
  const sourceFile = node.getSourceFile();
3899
- const printer = ts24.createPrinter();
3900
- const nodeText = printer.printNode(ts24.EmitHint.Unspecified, callback, sourceFile);
3901
- return ts24.transpileModule(nodeText, {
3931
+ const printer = ts25.createPrinter();
3932
+ const nodeText = printer.printNode(ts25.EmitHint.Unspecified, callback, sourceFile);
3933
+ return ts25.transpileModule(nodeText, {
3902
3934
  compilerOptions: this.options,
3903
3935
  fileName: sourceFile.fileName,
3904
3936
  reportDiagnostics: false
@@ -4103,8 +4135,8 @@ var NgCompiler = class {
4103
4135
  return diagnostics;
4104
4136
  }
4105
4137
  makeCompilation() {
4106
- var _a, _b, _c, _d, _e, _f;
4107
- const isCore = isAngularCorePackage(this.inputProgram);
4138
+ var _a, _b, _c, _d, _e, _f, _g;
4139
+ const isCore = (_a = this.options._isAngularCoreCompilation) != null ? _a : isAngularCorePackage(this.inputProgram);
4108
4140
  let compilationMode = CompilationMode.FULL;
4109
4141
  if (!isCore) {
4110
4142
  switch (this.options.compilationMode) {
@@ -4178,16 +4210,16 @@ var NgCompiler = class {
4178
4210
  }
4179
4211
  const dtsTransforms = new DtsTransformRegistry();
4180
4212
  const resourceRegistry = new ResourceRegistry();
4181
- const deferredSymbolsTracker = new DeferredSymbolTracker(this.inputProgram.getTypeChecker(), (_a = this.options.onlyExplicitDeferDependencyImports) != null ? _a : false);
4213
+ const deferredSymbolsTracker = new DeferredSymbolTracker(this.inputProgram.getTypeChecker(), (_b = this.options.onlyExplicitDeferDependencyImports) != null ? _b : false);
4182
4214
  let localCompilationExtraImportsTracker = null;
4183
4215
  if (compilationMode === CompilationMode.LOCAL && this.options.generateExtraImportsInLocalMode) {
4184
4216
  localCompilationExtraImportsTracker = new LocalCompilationExtraImportsTracker(checker);
4185
4217
  }
4186
4218
  const cycleHandlingStrategy = compilationMode === CompilationMode.PARTIAL ? 1 : 0;
4187
4219
  const strictCtorDeps = this.options.strictInjectionParameters || false;
4188
- const supportJitMode = (_b = this.options["supportJitMode"]) != null ? _b : true;
4189
- const supportTestBed = (_c = this.options["supportTestBed"]) != null ? _c : true;
4190
- const externalRuntimeStyles = (_d = this.options["externalRuntimeStyles"]) != null ? _d : false;
4220
+ const supportJitMode = (_c = this.options["supportJitMode"]) != null ? _c : true;
4221
+ const supportTestBed = (_d = this.options["supportTestBed"]) != null ? _d : true;
4222
+ const externalRuntimeStyles = (_e = this.options["externalRuntimeStyles"]) != null ? _e : false;
4191
4223
  if (supportTestBed === false && compilationMode === CompilationMode.PARTIAL) {
4192
4224
  throw new Error('TestBed support ("supportTestBed" option) cannot be disabled in partial compilation mode.');
4193
4225
  }
@@ -4199,11 +4231,11 @@ var NgCompiler = class {
4199
4231
  }
4200
4232
  const jitDeclarationRegistry = new JitDeclarationRegistry();
4201
4233
  const handlers = [
4202
- 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),
4234
+ 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, (_f = this.options.i18nPreserveWhitespaceForLegacyExtraction) != null ? _f : true, !!this.options.strictStandalone, this.enableHmr, this.implicitStandaloneValue),
4203
4235
  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),
4204
4236
  new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed, compilationMode, !!this.options.generateExtraImportsInLocalMode, !!this.options.strictStandalone, this.implicitStandaloneValue),
4205
4237
  new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, compilationMode),
4206
- 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)
4238
+ new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_g = this.options.onlyPublishPublicTypingsForNgModules) != null ? _g : false, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, supportJitMode, compilationMode, localCompilationExtraImportsTracker, jitDeclarationRegistry)
4207
4239
  ];
4208
4240
  const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater, this.adapter);
4209
4241
  const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
@@ -4243,18 +4275,18 @@ function isAngularCorePackage(program) {
4243
4275
  return false;
4244
4276
  }
4245
4277
  return r3Symbols.statements.some((stmt) => {
4246
- if (!ts24.isVariableStatement(stmt)) {
4278
+ if (!ts25.isVariableStatement(stmt)) {
4247
4279
  return false;
4248
4280
  }
4249
- const modifiers = ts24.getModifiers(stmt);
4250
- if (modifiers === void 0 || !modifiers.some((mod) => mod.kind === ts24.SyntaxKind.ExportKeyword)) {
4281
+ const modifiers = ts25.getModifiers(stmt);
4282
+ if (modifiers === void 0 || !modifiers.some((mod) => mod.kind === ts25.SyntaxKind.ExportKeyword)) {
4251
4283
  return false;
4252
4284
  }
4253
4285
  return stmt.declarationList.declarations.some((decl) => {
4254
- if (!ts24.isIdentifier(decl.name) || decl.name.text !== "ITS_JUST_ANGULAR") {
4286
+ if (!ts25.isIdentifier(decl.name) || decl.name.text !== "ITS_JUST_ANGULAR") {
4255
4287
  return false;
4256
4288
  }
4257
- if (decl.initializer === void 0 || decl.initializer.kind !== ts24.SyntaxKind.TrueKeyword) {
4289
+ if (decl.initializer === void 0 || decl.initializer.kind !== ts25.SyntaxKind.TrueKeyword) {
4258
4290
  return false;
4259
4291
  }
4260
4292
  return true;
@@ -4268,7 +4300,7 @@ function* verifyCompatibleTypeCheckOptions(options) {
4268
4300
  var _a, _b, _c;
4269
4301
  if (options.fullTemplateTypeCheck === false && options.strictTemplates === true) {
4270
4302
  yield makeConfigDiagnostic({
4271
- category: ts24.DiagnosticCategory.Error,
4303
+ category: ts25.DiagnosticCategory.Error,
4272
4304
  code: ErrorCode.CONFIG_STRICT_TEMPLATES_IMPLIES_FULL_TEMPLATE_TYPECHECK,
4273
4305
  messageText: `
4274
4306
  Angular compiler option "strictTemplates" is enabled, however "fullTemplateTypeCheck" is disabled.
@@ -4287,7 +4319,7 @@ https://angular.dev/tools/cli/template-typecheck
4287
4319
  }
4288
4320
  if (options.extendedDiagnostics && options.strictTemplates === false) {
4289
4321
  yield makeConfigDiagnostic({
4290
- category: ts24.DiagnosticCategory.Error,
4322
+ category: ts25.DiagnosticCategory.Error,
4291
4323
  code: ErrorCode.CONFIG_EXTENDED_DIAGNOSTICS_IMPLIES_STRICT_TEMPLATES,
4292
4324
  messageText: `
4293
4325
  Angular compiler option "extendedDiagnostics" is configured, however "strictTemplates" is disabled.
@@ -4304,7 +4336,7 @@ One of the following actions is required:
4304
4336
  const defaultCategory = (_a = options.extendedDiagnostics) == null ? void 0 : _a.defaultCategory;
4305
4337
  if (defaultCategory && !allowedCategoryLabels.includes(defaultCategory)) {
4306
4338
  yield makeConfigDiagnostic({
4307
- category: ts24.DiagnosticCategory.Error,
4339
+ category: ts25.DiagnosticCategory.Error,
4308
4340
  code: ErrorCode.CONFIG_EXTENDED_DIAGNOSTICS_UNKNOWN_CATEGORY_LABEL,
4309
4341
  messageText: `
4310
4342
  Angular compiler option "extendedDiagnostics.defaultCategory" has an unknown diagnostic category: "${defaultCategory}".
@@ -4317,7 +4349,7 @@ ${allowedCategoryLabels.join("\n")}
4317
4349
  for (const [checkName, category] of Object.entries((_c = (_b = options.extendedDiagnostics) == null ? void 0 : _b.checks) != null ? _c : {})) {
4318
4350
  if (!SUPPORTED_DIAGNOSTIC_NAMES.has(checkName)) {
4319
4351
  yield makeConfigDiagnostic({
4320
- category: ts24.DiagnosticCategory.Error,
4352
+ category: ts25.DiagnosticCategory.Error,
4321
4353
  code: ErrorCode.CONFIG_EXTENDED_DIAGNOSTICS_UNKNOWN_CHECK,
4322
4354
  messageText: `
4323
4355
  Angular compiler option "extendedDiagnostics.checks" has an unknown check: "${checkName}".
@@ -4329,7 +4361,7 @@ ${Array.from(SUPPORTED_DIAGNOSTIC_NAMES).join("\n")}
4329
4361
  }
4330
4362
  if (!allowedCategoryLabels.includes(category)) {
4331
4363
  yield makeConfigDiagnostic({
4332
- category: ts24.DiagnosticCategory.Error,
4364
+ category: ts25.DiagnosticCategory.Error,
4333
4365
  code: ErrorCode.CONFIG_EXTENDED_DIAGNOSTICS_UNKNOWN_CATEGORY_LABEL,
4334
4366
  messageText: `
4335
4367
  Angular compiler option "extendedDiagnostics.checks['${checkName}']" has an unknown diagnostic category: "${category}".
@@ -4360,7 +4392,7 @@ var ReferenceGraphAdapter = class {
4360
4392
  for (const { node } of references) {
4361
4393
  let sourceFile = node.getSourceFile();
4362
4394
  if (sourceFile === void 0) {
4363
- sourceFile = ts24.getOriginalNode(node).getSourceFile();
4395
+ sourceFile = ts25.getOriginalNode(node).getSourceFile();
4364
4396
  }
4365
4397
  if (sourceFile === void 0 || !isDtsPath(sourceFile.fileName)) {
4366
4398
  this.graph.add(source, node);
@@ -4401,8 +4433,8 @@ function versionMapFromProgram(program, driver) {
4401
4433
  return versions;
4402
4434
  }
4403
4435
 
4404
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
4405
- import ts25 from "typescript";
4436
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
4437
+ import ts26 from "typescript";
4406
4438
  var DelegatingCompilerHost = class {
4407
4439
  delegate;
4408
4440
  createHash;
@@ -4522,7 +4554,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
4522
4554
  entryPoint = findFlatIndexEntryPoint(normalizedTsInputFiles);
4523
4555
  if (entryPoint === null) {
4524
4556
  diagnostics.push({
4525
- category: ts25.DiagnosticCategory.Error,
4557
+ category: ts26.DiagnosticCategory.Error,
4526
4558
  code: ngErrorCode(ErrorCode.CONFIG_FLAT_MODULE_NO_INDEX),
4527
4559
  file: void 0,
4528
4560
  start: void 0,
@@ -4565,17 +4597,17 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
4565
4597
  return this.fileNameToModuleName !== void 0 ? this : null;
4566
4598
  }
4567
4599
  createCachedResolveModuleNamesFunction() {
4568
- const moduleResolutionCache = ts25.createModuleResolutionCache(this.getCurrentDirectory(), this.getCanonicalFileName.bind(this));
4600
+ const moduleResolutionCache = ts26.createModuleResolutionCache(this.getCurrentDirectory(), this.getCanonicalFileName.bind(this));
4569
4601
  return (moduleNames, containingFile, reusedNames, redirectedReference, options) => {
4570
4602
  return moduleNames.map((moduleName) => {
4571
- const module = ts25.resolveModuleName(moduleName, containingFile, options, this, moduleResolutionCache, redirectedReference);
4603
+ const module = ts26.resolveModuleName(moduleName, containingFile, options, this, moduleResolutionCache, redirectedReference);
4572
4604
  return module.resolvedModule;
4573
4605
  });
4574
4606
  };
4575
4607
  }
4576
4608
  };
4577
4609
 
4578
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
4610
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
4579
4611
  var NgtscProgram = class {
4580
4612
  options;
4581
4613
  compiler;
@@ -4597,7 +4629,7 @@ var NgtscProgram = class {
4597
4629
  if (reuseProgram !== void 0) {
4598
4630
  retagAllTsFiles(reuseProgram);
4599
4631
  }
4600
- this.tsProgram = perfRecorder.inPhase(PerfPhase.TypeScriptProgramCreate, () => ts26.createProgram(this.host.inputFiles, options, this.host, reuseProgram));
4632
+ this.tsProgram = perfRecorder.inPhase(PerfPhase.TypeScriptProgramCreate, () => ts27.createProgram(this.host.inputFiles, options, this.host, reuseProgram));
4601
4633
  perfRecorder.phase(PerfPhase.Unaccounted);
4602
4634
  perfRecorder.memory(PerfCheckpoint.TypeScriptProgramCreate);
4603
4635
  this.host.postProgramCreationCleanup();
@@ -4806,37 +4838,37 @@ function mergeEmitResults(emitResults) {
4806
4838
  return { diagnostics, emitSkipped, emittedFiles };
4807
4839
  }
4808
4840
 
4809
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
4841
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
4810
4842
  function createProgram({ rootNames, options, host, oldProgram }) {
4811
4843
  return new NgtscProgram(rootNames, options, host, oldProgram);
4812
4844
  }
4813
4845
 
4814
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4815
- import ts28 from "typescript";
4846
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4847
+ import ts29 from "typescript";
4816
4848
 
4817
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
4818
- import ts27 from "typescript";
4849
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
4850
+ import ts28 from "typescript";
4819
4851
  function createMessageDiagnostic(messageText) {
4820
4852
  return {
4821
4853
  file: void 0,
4822
4854
  start: void 0,
4823
4855
  length: void 0,
4824
- category: ts27.DiagnosticCategory.Message,
4856
+ category: ts28.DiagnosticCategory.Message,
4825
4857
  messageText,
4826
4858
  code: DEFAULT_ERROR_CODE,
4827
4859
  source: SOURCE
4828
4860
  };
4829
4861
  }
4830
4862
 
4831
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4863
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
4832
4864
  var defaultFormatHost = {
4833
- getCurrentDirectory: () => ts28.sys.getCurrentDirectory(),
4865
+ getCurrentDirectory: () => ts29.sys.getCurrentDirectory(),
4834
4866
  getCanonicalFileName: (fileName) => fileName,
4835
- getNewLine: () => ts28.sys.newLine
4867
+ getNewLine: () => ts29.sys.newLine
4836
4868
  };
4837
4869
  function formatDiagnostics(diags, host = defaultFormatHost) {
4838
4870
  if (diags && diags.length) {
4839
- return diags.map((diagnostic) => replaceTsWithNgInErrors(ts28.formatDiagnosticsWithColorAndContext([diagnostic], host))).join("");
4871
+ return diags.map((diagnostic) => replaceTsWithNgInErrors(ts29.formatDiagnosticsWithColorAndContext([diagnostic], host))).join("");
4840
4872
  } else {
4841
4873
  return "";
4842
4874
  }
@@ -4853,7 +4885,7 @@ function readConfiguration(project, existingOptions, host = getFileSystem()) {
4853
4885
  var _a;
4854
4886
  try {
4855
4887
  const fs = getFileSystem();
4856
- const readConfigFile = (configFile) => ts28.readConfigFile(configFile, (file) => host.readFile(host.resolve(file)));
4888
+ const readConfigFile = (configFile) => ts29.readConfigFile(configFile, (file) => host.readFile(host.resolve(file)));
4857
4889
  const readAngularCompilerOptions = (configFile, parentOptions = {}) => {
4858
4890
  var _a2, _b;
4859
4891
  const { config: config2, error: error2 } = readConfigFile(configFile);
@@ -4890,7 +4922,7 @@ function readConfiguration(project, existingOptions, host = getFileSystem()) {
4890
4922
  ...existingOptions
4891
4923
  };
4892
4924
  const parseConfigHost = createParseConfigHost(host, fs);
4893
- const { options, errors, fileNames: rootNames, projectReferences } = ts28.parseJsonConfigFileContent(config, parseConfigHost, basePath, existingCompilerOptions, configFileName);
4925
+ const { options, errors, fileNames: rootNames, projectReferences } = ts29.parseJsonConfigFileContent(config, parseConfigHost, basePath, existingCompilerOptions, configFileName);
4894
4926
  let emitFlags = EmitFlags.Default;
4895
4927
  if (!(options["skipMetadataEmit"] || options["flatModuleOutFile"])) {
4896
4928
  emitFlags |= EmitFlags.Metadata;
@@ -4902,7 +4934,7 @@ function readConfiguration(project, existingOptions, host = getFileSystem()) {
4902
4934
  } catch (e) {
4903
4935
  const errors = [
4904
4936
  {
4905
- category: ts28.DiagnosticCategory.Error,
4937
+ category: ts29.DiagnosticCategory.Error,
4906
4938
  messageText: (_a = e.stack) != null ? _a : e.message,
4907
4939
  file: void 0,
4908
4940
  start: void 0,
@@ -4937,7 +4969,7 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs) {
4937
4969
  }
4938
4970
  } else {
4939
4971
  const parseConfigHost = createParseConfigHost(host, fs);
4940
- const { resolvedModule } = ts28.nodeModuleNameResolver(extendsValue, configFile, { moduleResolution: ts28.ModuleResolutionKind.Node10, resolveJsonModule: true }, parseConfigHost);
4972
+ const { resolvedModule } = ts29.nodeModuleNameResolver(extendsValue, configFile, { moduleResolution: ts29.ModuleResolutionKind.Node10, resolveJsonModule: true }, parseConfigHost);
4941
4973
  if (resolvedModule) {
4942
4974
  return absoluteFrom(resolvedModule.resolvedFileName);
4943
4975
  }
@@ -4947,7 +4979,7 @@ function getExtendedConfigPathWorker(configFile, extendsValue, host, fs) {
4947
4979
  function exitCodeFromResult(diags) {
4948
4980
  if (!diags)
4949
4981
  return 0;
4950
- if (diags.every((diag) => diag.category !== ts28.DiagnosticCategory.Error)) {
4982
+ if (diags.every((diag) => diag.category !== ts29.DiagnosticCategory.Error)) {
4951
4983
  return 0;
4952
4984
  }
4953
4985
  return diags.some((d) => d.source === "angular" && d.code === UNKNOWN_ERROR_CODE) ? 2 : 1;
@@ -4986,7 +5018,7 @@ function performCompilation({ rootNames, options, host, oldProgram, emitCallback
4986
5018
  } catch (e) {
4987
5019
  program = void 0;
4988
5020
  allDiagnostics.push({
4989
- category: ts28.DiagnosticCategory.Error,
5021
+ category: ts29.DiagnosticCategory.Error,
4990
5022
  messageText: (_a = e.stack) != null ? _a : e.message,
4991
5023
  code: UNKNOWN_ERROR_CODE,
4992
5024
  file: void 0,
@@ -5016,7 +5048,7 @@ function defaultGatherDiagnostics(program) {
5016
5048
  return allDiagnostics;
5017
5049
  }
5018
5050
  function hasErrors(diags) {
5019
- return diags.some((d) => d.category === ts28.DiagnosticCategory.Error);
5051
+ return diags.some((d) => d.category === ts29.DiagnosticCategory.Error);
5020
5052
  }
5021
5053
 
5022
5054
  export {
@@ -5061,4 +5093,4 @@ export {
5061
5093
  * Use of this source code is governed by an MIT-style license that can be
5062
5094
  * found in the LICENSE file at https://angular.dev/license
5063
5095
  */
5064
- //# sourceMappingURL=chunk-UCG5K4BI.js.map
5096
+ //# sourceMappingURL=chunk-RFDMMGNB.js.map