@angular/compiler-cli 15.0.0-next.6 → 15.0.0-rc.0

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 (52) hide show
  1. package/bundles/{chunk-E7NQQTT7.js → chunk-4SINIALN.js} +3 -3
  2. package/bundles/{chunk-E7NQQTT7.js.map → chunk-4SINIALN.js.map} +0 -0
  3. package/bundles/{chunk-JH56H6IJ.js → chunk-7YKDVBJ5.js} +31 -31
  4. package/bundles/{chunk-JH56H6IJ.js.map → chunk-7YKDVBJ5.js.map} +0 -0
  5. package/bundles/{chunk-2HPI44CB.js → chunk-CTEVZGOM.js} +5 -5
  6. package/bundles/{chunk-2HPI44CB.js.map → chunk-CTEVZGOM.js.map} +0 -0
  7. package/bundles/{chunk-XOVG7LXX.js → chunk-D55CQOCC.js} +5 -5
  8. package/bundles/{chunk-XOVG7LXX.js.map → chunk-D55CQOCC.js.map} +0 -0
  9. package/bundles/{chunk-MYEONJ6Z.js → chunk-DLWNNV6S.js} +40 -40
  10. package/bundles/{chunk-MYEONJ6Z.js.map → chunk-DLWNNV6S.js.map} +0 -0
  11. package/bundles/{chunk-FM6NPN5V.js → chunk-GGLQGQHV.js} +4 -4
  12. package/bundles/{chunk-FM6NPN5V.js.map → chunk-GGLQGQHV.js.map} +0 -0
  13. package/bundles/{chunk-OZI3NCRJ.js → chunk-GVQAA5D3.js} +71 -71
  14. package/bundles/{chunk-OZI3NCRJ.js.map → chunk-GVQAA5D3.js.map} +0 -0
  15. package/bundles/{chunk-EQ7NIVSK.js → chunk-JSLY52ZU.js} +28 -26
  16. package/bundles/chunk-JSLY52ZU.js.map +6 -0
  17. package/bundles/{chunk-R4GD76QD.js → chunk-KIQI22GZ.js} +313 -288
  18. package/bundles/chunk-KIQI22GZ.js.map +6 -0
  19. package/bundles/{chunk-F526PAOI.js → chunk-MEB4YHNS.js} +2 -2
  20. package/bundles/{chunk-F526PAOI.js.map → chunk-MEB4YHNS.js.map} +0 -0
  21. package/bundles/{chunk-TOKOIIBI.js → chunk-RC2GY3FU.js} +8 -24
  22. package/bundles/{chunk-TOKOIIBI.js.map → chunk-RC2GY3FU.js.map} +1 -1
  23. package/bundles/{chunk-2LFNJ4YC.js → chunk-RMZB2XBA.js} +98 -98
  24. package/bundles/{chunk-2LFNJ4YC.js.map → chunk-RMZB2XBA.js.map} +0 -0
  25. package/bundles/{chunk-R3C7RFJ4.js → chunk-SJL5HBUW.js} +2 -2
  26. package/bundles/{chunk-R3C7RFJ4.js.map → chunk-SJL5HBUW.js.map} +0 -0
  27. package/bundles/{chunk-ZXBCBXWY.js → chunk-VZ2Q36OK.js} +7 -7
  28. package/bundles/{chunk-ZXBCBXWY.js.map → chunk-VZ2Q36OK.js.map} +0 -0
  29. package/bundles/{chunk-GQT3DC2W.js → chunk-YGJACQGV.js} +7 -7
  30. package/bundles/{chunk-GQT3DC2W.js.map → chunk-YGJACQGV.js.map} +0 -0
  31. package/bundles/{chunk-CYVTLM4Z.js → chunk-Z57D3OKU.js} +7 -7
  32. package/bundles/{chunk-CYVTLM4Z.js.map → chunk-Z57D3OKU.js.map} +0 -0
  33. package/bundles/index.js +13 -13
  34. package/bundles/linker/babel/index.js +13 -13
  35. package/bundles/linker/index.js +5 -5
  36. package/bundles/ngcc/index.js +13 -13
  37. package/bundles/ngcc/main-ngcc.js +14 -14
  38. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
  39. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  40. package/bundles/private/bazel.js +1 -1
  41. package/bundles/private/localize.js +3 -3
  42. package/bundles/private/migrations.js +6 -6
  43. package/bundles/private/tooling.js +3 -3
  44. package/bundles/src/bin/ng_xi18n.js +11 -11
  45. package/bundles/src/bin/ngc.js +9 -9
  46. package/bundles_metadata.json +1 -1
  47. package/ngcc/src/packages/build_marker.d.ts +1 -1
  48. package/package.json +2 -2
  49. package/src/ngtsc/diagnostics/src/error_code.d.ts +7 -0
  50. package/src/ngtsc/file_system/src/node_js_file_system.d.ts +0 -1
  51. package/bundles/chunk-EQ7NIVSK.js.map +0 -6
  52. package/bundles/chunk-R4GD76QD.js.map +0 -6
@@ -13,7 +13,7 @@ import {
13
13
  reflectObjectLiteral,
14
14
  reflectTypeEntityToDeclaration,
15
15
  typeNodeToValueExpr
16
- } from "./chunk-ZXBCBXWY.js";
16
+ } from "./chunk-VZ2Q36OK.js";
17
17
  import {
18
18
  ErrorCode,
19
19
  FatalDiagnosticError,
@@ -33,7 +33,7 @@ import {
33
33
  translateExpression,
34
34
  translateStatement,
35
35
  translateType
36
- } from "./chunk-EQ7NIVSK.js";
36
+ } from "./chunk-JSLY52ZU.js";
37
37
  import {
38
38
  combineModifiers,
39
39
  createPropertyDeclaration,
@@ -46,18 +46,18 @@ import {
46
46
  updateParameterDeclaration,
47
47
  updatePropertyDeclaration,
48
48
  updateSetAccessorDeclaration
49
- } from "./chunk-F526PAOI.js";
49
+ } from "./chunk-MEB4YHNS.js";
50
50
  import {
51
51
  absoluteFrom,
52
52
  absoluteFromSourceFile,
53
53
  relative
54
- } from "./chunk-TOKOIIBI.js";
54
+ } from "./chunk-RC2GY3FU.js";
55
55
  import {
56
56
  PerfEvent,
57
57
  PerfPhase
58
- } from "./chunk-2HPI44CB.js";
58
+ } from "./chunk-CTEVZGOM.js";
59
59
 
60
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
60
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
61
61
  import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
62
62
  import ts from "typescript";
63
63
  function valueReferenceToExpression(valueRef) {
@@ -296,7 +296,7 @@ function isAbstractClassDeclaration(clazz) {
296
296
  return clazz.modifiers !== void 0 && clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword);
297
297
  }
298
298
 
299
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
299
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
300
300
  var DynamicValue = class {
301
301
  constructor(node, reason, code) {
302
302
  this.node = node;
@@ -386,10 +386,10 @@ var DynamicValue = class {
386
386
  }
387
387
  };
388
388
 
389
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
389
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
390
390
  import ts2 from "typescript";
391
391
 
392
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
392
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
393
393
  var ResolvedModule = class {
394
394
  constructor(exports, evaluate) {
395
395
  this.exports = exports;
@@ -419,7 +419,7 @@ var EnumValue = class {
419
419
  var KnownFn = class {
420
420
  };
421
421
 
422
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
422
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
423
423
  var ArraySliceBuiltinFn = class extends KnownFn {
424
424
  constructor(lhs) {
425
425
  super();
@@ -490,7 +490,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
490
490
  }
491
491
  };
492
492
 
493
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
493
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
494
494
  var AssignHelperFn = class extends ObjectAssignBuiltinFn {
495
495
  };
496
496
  var SpreadHelperFn = class extends KnownFn {
@@ -543,7 +543,7 @@ var ReadHelperFn = class extends KnownFn {
543
543
  }
544
544
  };
545
545
 
546
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
546
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
547
547
  var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
548
548
  var assignTsHelperFn = new AssignHelperFn();
549
549
  var spreadTsHelperFn = new SpreadHelperFn();
@@ -567,14 +567,14 @@ function resolveKnownDeclaration(decl) {
567
567
  }
568
568
  }
569
569
 
570
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
570
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
571
571
  var SyntheticValue = class {
572
572
  constructor(value) {
573
573
  this.value = value;
574
574
  }
575
575
  };
576
576
 
577
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
577
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
578
578
  function literalBinaryOp(op) {
579
579
  return { op, literal: true };
580
580
  }
@@ -1160,7 +1160,7 @@ function owningModule(context, override = null) {
1160
1160
  }
1161
1161
  }
1162
1162
 
1163
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1163
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1164
1164
  var PartialEvaluator = class {
1165
1165
  constructor(host, checker, dependencyTracker) {
1166
1166
  this.host = host;
@@ -1180,7 +1180,7 @@ var PartialEvaluator = class {
1180
1180
  }
1181
1181
  };
1182
1182
 
1183
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1183
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1184
1184
  import ts3 from "typescript";
1185
1185
  function describeResolvedType(value, maxDepth = 1) {
1186
1186
  var _a, _b;
@@ -1310,7 +1310,7 @@ function getContainerNode(node) {
1310
1310
  return node.getSourceFile();
1311
1311
  }
1312
1312
 
1313
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1313
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1314
1314
  import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
1315
1315
  import ts4 from "typescript";
1316
1316
  function getConstructorDependencies(clazz, reflector, isCore) {
@@ -1454,201 +1454,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
1454
1454
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
1455
1455
  }
1456
1456
 
1457
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1458
- import ts5 from "typescript";
1459
- function makeDuplicateDeclarationError(node, data, kind) {
1460
- const context = [];
1461
- for (const decl of data) {
1462
- if (decl.rawDeclarations === null) {
1463
- continue;
1464
- }
1465
- const contextNode = decl.ref.getOriginForDiagnostics(decl.rawDeclarations, decl.ngModule.name);
1466
- context.push(makeRelatedInformation(contextNode, `'${node.name.text}' is listed in the declarations of the NgModule '${decl.ngModule.name.text}'.`));
1467
- }
1468
- return makeDiagnostic(ErrorCode.NGMODULE_DECLARATION_NOT_UNIQUE, node.name, `The ${kind} '${node.name.text}' is declared by more than one NgModule.`, context);
1469
- }
1470
- function createValueHasWrongTypeError(node, value, messageText) {
1471
- var _a;
1472
- let chainedMessage;
1473
- let relatedInformation;
1474
- if (value instanceof DynamicValue) {
1475
- chainedMessage = "Value could not be determined statically.";
1476
- relatedInformation = traceDynamicValue(node, value);
1477
- } else if (value instanceof Reference) {
1478
- const target = value.debugName !== null ? `'${value.debugName}'` : "an anonymous declaration";
1479
- chainedMessage = `Value is a reference to ${target}.`;
1480
- const referenceNode = (_a = identifierOfNode(value.node)) != null ? _a : value.node;
1481
- relatedInformation = [makeRelatedInformation(referenceNode, "Reference is declared here.")];
1482
- } else {
1483
- chainedMessage = `Value is of type '${describeResolvedType(value)}'.`;
1484
- }
1485
- const chain = {
1486
- messageText,
1487
- category: ts5.DiagnosticCategory.Error,
1488
- code: 0,
1489
- next: [{
1490
- messageText: chainedMessage,
1491
- category: ts5.DiagnosticCategory.Message,
1492
- code: 0
1493
- }]
1494
- };
1495
- return new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, node, chain, relatedInformation);
1496
- }
1497
- function getProviderDiagnostics(providerClasses, providersDeclaration, registry) {
1498
- const diagnostics = [];
1499
- for (const provider of providerClasses) {
1500
- const injectableMeta = registry.getInjectableMeta(provider.node);
1501
- if (injectableMeta !== null) {
1502
- continue;
1503
- }
1504
- const contextNode = provider.getOriginForDiagnostics(providersDeclaration);
1505
- diagnostics.push(makeDiagnostic(ErrorCode.UNDECORATED_PROVIDER, contextNode, `The class '${provider.node.name.text}' cannot be created via dependency injection, as it does not have an Angular decorator. This will result in an error at runtime.
1506
-
1507
- Either add the @Injectable() decorator to '${provider.node.name.text}', or configure a different provider (such as a provider with 'useFactory').
1508
- `, [makeRelatedInformation(provider.node, `'${provider.node.name.text}' is declared here.`)]));
1509
- }
1510
- return diagnostics;
1511
- }
1512
- function getDirectiveDiagnostics(node, injectableRegistry, evaluator, reflector, scopeRegistry, strictInjectionParameters, kind) {
1513
- let diagnostics = [];
1514
- const addDiagnostics = (more) => {
1515
- if (more === null) {
1516
- return;
1517
- } else if (diagnostics === null) {
1518
- diagnostics = Array.isArray(more) ? more : [more];
1519
- } else if (Array.isArray(more)) {
1520
- diagnostics.push(...more);
1521
- } else {
1522
- diagnostics.push(more);
1523
- }
1524
- };
1525
- const duplicateDeclarations = scopeRegistry.getDuplicateDeclarations(node);
1526
- if (duplicateDeclarations !== null) {
1527
- addDiagnostics(makeDuplicateDeclarationError(node, duplicateDeclarations, kind));
1528
- }
1529
- addDiagnostics(checkInheritanceOfInjectable(node, injectableRegistry, reflector, evaluator, strictInjectionParameters, kind));
1530
- return diagnostics;
1531
- }
1532
- function validateHostDirectives(origin, hostDirectives, metaReader) {
1533
- const diagnostics = [];
1534
- for (const current of hostDirectives) {
1535
- const hostMeta = metaReader.getDirectiveMetadata(current.directive);
1536
- if (hostMeta === null) {
1537
- diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_INVALID, current.directive.getOriginForDiagnostics(origin), `${current.directive.debugName} must be a standalone directive to be used as a host directive`));
1538
- continue;
1539
- }
1540
- if (!hostMeta.isStandalone) {
1541
- diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_NOT_STANDALONE, current.directive.getOriginForDiagnostics(origin), `Host directive ${hostMeta.name} must be standalone`));
1542
- }
1543
- if (hostMeta.isComponent) {
1544
- diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_COMPONENT, current.directive.getOriginForDiagnostics(origin), `Host directive ${hostMeta.name} cannot be a component`));
1545
- }
1546
- }
1547
- return diagnostics;
1548
- }
1549
- function getUndecoratedClassWithAngularFeaturesDiagnostic(node) {
1550
- return makeDiagnostic(ErrorCode.UNDECORATED_CLASS_USING_ANGULAR_FEATURES, node.name, `Class is using Angular features but is not decorated. Please add an explicit Angular decorator.`);
1551
- }
1552
- function checkInheritanceOfInjectable(node, injectableRegistry, reflector, evaluator, strictInjectionParameters, kind) {
1553
- const classWithCtor = findInheritedCtor(node, injectableRegistry, reflector, evaluator);
1554
- if (classWithCtor === null || classWithCtor.isCtorValid) {
1555
- return null;
1556
- }
1557
- if (!classWithCtor.isDecorated) {
1558
- return getInheritedUndecoratedCtorDiagnostic(node, classWithCtor.ref, kind);
1559
- }
1560
- if (!strictInjectionParameters || isAbstractClassDeclaration(node)) {
1561
- return null;
1562
- }
1563
- return getInheritedInvalidCtorDiagnostic(node, classWithCtor.ref, kind);
1564
- }
1565
- function findInheritedCtor(node, injectableRegistry, reflector, evaluator) {
1566
- if (!reflector.isClass(node) || reflector.getConstructorParameters(node) !== null) {
1567
- return null;
1568
- }
1569
- let baseClass = readBaseClass(node, reflector, evaluator);
1570
- while (baseClass !== null) {
1571
- if (baseClass === "dynamic") {
1572
- return null;
1573
- }
1574
- const injectableMeta = injectableRegistry.getInjectableMeta(baseClass.node);
1575
- if (injectableMeta !== null) {
1576
- if (injectableMeta.ctorDeps !== null) {
1577
- return {
1578
- ref: baseClass,
1579
- isCtorValid: injectableMeta.ctorDeps !== "invalid",
1580
- isDecorated: true
1581
- };
1582
- }
1583
- } else {
1584
- const baseClassConstructorParams = reflector.getConstructorParameters(baseClass.node);
1585
- if (baseClassConstructorParams !== null) {
1586
- return {
1587
- ref: baseClass,
1588
- isCtorValid: baseClassConstructorParams.length === 0,
1589
- isDecorated: false
1590
- };
1591
- }
1592
- }
1593
- baseClass = readBaseClass(baseClass.node, reflector, evaluator);
1594
- }
1595
- return null;
1596
- }
1597
- function getInheritedInvalidCtorDiagnostic(node, baseClass, kind) {
1598
- const baseClassName = baseClass.debugName;
1599
- return makeDiagnostic(ErrorCode.INJECTABLE_INHERITS_INVALID_CONSTRUCTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter has a constructor parameter that is not compatible with dependency injection. Either add an explicit constructor to ${node.name.text} or change ${baseClassName}'s constructor to use parameters that are valid for DI.`);
1600
- }
1601
- function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
1602
- const baseClassName = baseClass.debugName;
1603
- const baseNeedsDecorator = kind === "Component" || kind === "Directive" ? "Directive" : "Injectable";
1604
- return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
1605
- }
1606
-
1607
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
1608
- import ts6 from "typescript";
1609
- function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
1610
- let resolved = null;
1611
- if (metadata.has(field)) {
1612
- const expr = metadata.get(field);
1613
- const value = evaluator.evaluate(expr);
1614
- if (value instanceof EnumValue && isAngularCoreReference(value.enumRef, enumSymbolName)) {
1615
- resolved = value.resolved;
1616
- } else {
1617
- throw createValueHasWrongTypeError(expr, value, `${field} must be a member of ${enumSymbolName} enum from @angular/core`);
1618
- }
1619
- }
1620
- return resolved;
1621
- }
1622
- function isStringArray(resolvedValue) {
1623
- return Array.isArray(resolvedValue) && resolvedValue.every((elem) => typeof elem === "string");
1624
- }
1625
- function resolveLiteral(decorator, literalCache) {
1626
- if (literalCache.has(decorator)) {
1627
- return literalCache.get(decorator);
1628
- }
1629
- if (decorator.args === null || decorator.args.length !== 1) {
1630
- throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARITY_WRONG, Decorator.nodeForError(decorator), `Incorrect number of arguments to @${decorator.name} decorator`);
1631
- }
1632
- const meta = unwrapExpression(decorator.args[0]);
1633
- if (!ts6.isObjectLiteralExpression(meta)) {
1634
- throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, meta, `Decorator argument must be literal.`);
1635
- }
1636
- literalCache.set(decorator, meta);
1637
- return meta;
1638
- }
1639
-
1640
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
1641
- import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
1642
- function compileNgFactoryDefField(metadata) {
1643
- const res = compileFactoryFunction(metadata);
1644
- return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
1645
- }
1646
- function compileDeclareFactory(metadata) {
1647
- const res = compileDeclareFactoryFunction(metadata);
1648
- return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
1649
- }
1457
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1458
+ import ts7 from "typescript";
1650
1459
 
1651
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1460
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1652
1461
  var MetaKind;
1653
1462
  (function(MetaKind2) {
1654
1463
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -1661,10 +1470,10 @@ var MatchSource;
1661
1470
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
1662
1471
  })(MatchSource || (MatchSource = {}));
1663
1472
 
1664
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1665
- import ts8 from "typescript";
1473
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1474
+ import ts6 from "typescript";
1666
1475
 
1667
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1476
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1668
1477
  var ClassPropertyMapping = class {
1669
1478
  constructor(forwardMap) {
1670
1479
  this.forwardMap = forwardMap;
@@ -1740,14 +1549,14 @@ function reverseMapFromForwardMap(forwardMap) {
1740
1549
  return reverseMap;
1741
1550
  }
1742
1551
 
1743
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1744
- import ts7 from "typescript";
1552
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1553
+ import ts5 from "typescript";
1745
1554
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
1746
- if (!ts7.isTupleTypeNode(def)) {
1555
+ if (!ts5.isTupleTypeNode(def)) {
1747
1556
  return [];
1748
1557
  }
1749
1558
  return def.elements.map((element) => {
1750
- if (!ts7.isTypeQueryNode(element)) {
1559
+ if (!ts5.isTypeQueryNode(element)) {
1751
1560
  throw new Error(`Expected TypeQueryNode: ${nodeDebugInfo(element)}`);
1752
1561
  }
1753
1562
  return extraReferenceFromTypeQuery(checker, element, def, bestGuessOwningModule);
@@ -1765,31 +1574,31 @@ function extraReferenceFromTypeQuery(checker, typeNode, origin, bestGuessOwningM
1765
1574
  return new Reference(node, bestGuessOwningModule);
1766
1575
  }
1767
1576
  function readBooleanType(type) {
1768
- if (!ts7.isLiteralTypeNode(type)) {
1577
+ if (!ts5.isLiteralTypeNode(type)) {
1769
1578
  return null;
1770
1579
  }
1771
1580
  switch (type.literal.kind) {
1772
- case ts7.SyntaxKind.TrueKeyword:
1581
+ case ts5.SyntaxKind.TrueKeyword:
1773
1582
  return true;
1774
- case ts7.SyntaxKind.FalseKeyword:
1583
+ case ts5.SyntaxKind.FalseKeyword:
1775
1584
  return false;
1776
1585
  default:
1777
1586
  return null;
1778
1587
  }
1779
1588
  }
1780
1589
  function readStringType(type) {
1781
- if (!ts7.isLiteralTypeNode(type) || !ts7.isStringLiteral(type.literal)) {
1590
+ if (!ts5.isLiteralTypeNode(type) || !ts5.isStringLiteral(type.literal)) {
1782
1591
  return null;
1783
1592
  }
1784
1593
  return type.literal.text;
1785
1594
  }
1786
1595
  function readMapType(type, valueTransform) {
1787
- if (!ts7.isTypeLiteralNode(type)) {
1596
+ if (!ts5.isTypeLiteralNode(type)) {
1788
1597
  return {};
1789
1598
  }
1790
1599
  const obj = {};
1791
1600
  type.members.forEach((member) => {
1792
- if (!ts7.isPropertySignature(member) || member.type === void 0 || member.name === void 0 || !ts7.isStringLiteral(member.name) && !ts7.isIdentifier(member.name)) {
1601
+ if (!ts5.isPropertySignature(member) || member.type === void 0 || member.name === void 0 || !ts5.isStringLiteral(member.name) && !ts5.isIdentifier(member.name)) {
1793
1602
  return;
1794
1603
  }
1795
1604
  const value = valueTransform(member.type);
@@ -1801,12 +1610,12 @@ function readMapType(type, valueTransform) {
1801
1610
  return obj;
1802
1611
  }
1803
1612
  function readStringArrayType(type) {
1804
- if (!ts7.isTupleTypeNode(type)) {
1613
+ if (!ts5.isTupleTypeNode(type)) {
1805
1614
  return [];
1806
1615
  }
1807
1616
  const res = [];
1808
1617
  type.elements.forEach((el) => {
1809
- if (!ts7.isLiteralTypeNode(el) || !ts7.isStringLiteral(el.literal)) {
1618
+ if (!ts5.isLiteralTypeNode(el) || !ts5.isStringLiteral(el.literal)) {
1810
1619
  return;
1811
1620
  }
1812
1621
  res.push(el.literal.text);
@@ -1831,7 +1640,7 @@ function extractDirectiveTypeCheckMeta(node, inputs, reflector) {
1831
1640
  if (isRestricted(field.node)) {
1832
1641
  restrictedInputFields.add(classPropertyName);
1833
1642
  }
1834
- if (field.nameNode !== null && ts7.isStringLiteral(field.nameNode)) {
1643
+ if (field.nameNode !== null && ts5.isStringLiteral(field.nameNode)) {
1835
1644
  stringLiteralInputFields.add(classPropertyName);
1836
1645
  }
1837
1646
  }
@@ -1849,7 +1658,7 @@ function extractDirectiveTypeCheckMeta(node, inputs, reflector) {
1849
1658
  function isRestricted(node) {
1850
1659
  const modifiers = getModifiers(node);
1851
1660
  return modifiers !== void 0 && modifiers.some(({ kind }) => {
1852
- return kind === ts7.SyntaxKind.PrivateKeyword || kind === ts7.SyntaxKind.ProtectedKeyword || kind === ts7.SyntaxKind.ReadonlyKeyword;
1661
+ return kind === ts5.SyntaxKind.PrivateKeyword || kind === ts5.SyntaxKind.ProtectedKeyword || kind === ts5.SyntaxKind.ReadonlyKeyword;
1853
1662
  });
1854
1663
  }
1855
1664
  function extractTemplateGuard(member) {
@@ -1859,7 +1668,7 @@ function extractTemplateGuard(member) {
1859
1668
  const inputName = afterUnderscore(member.name);
1860
1669
  if (member.kind === ClassMemberKind.Property) {
1861
1670
  let type = null;
1862
- if (member.type !== null && ts7.isLiteralTypeNode(member.type) && ts7.isStringLiteral(member.type.literal)) {
1671
+ if (member.type !== null && ts5.isLiteralTypeNode(member.type) && ts5.isStringLiteral(member.type.literal)) {
1863
1672
  type = member.type.literal.text;
1864
1673
  }
1865
1674
  if (type !== "binding") {
@@ -1922,7 +1731,7 @@ function hasInjectableFields(clazz, host) {
1922
1731
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
1923
1732
  }
1924
1733
 
1925
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1734
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1926
1735
  var DtsMetadataReader = class {
1927
1736
  constructor(checker, reflector) {
1928
1737
  this.checker = checker;
@@ -1933,7 +1742,7 @@ var DtsMetadataReader = class {
1933
1742
  const ngModuleDef = this.reflector.getMembersOfClass(clazz).find((member) => member.name === "\u0275mod" && member.isStatic);
1934
1743
  if (ngModuleDef === void 0) {
1935
1744
  return null;
1936
- } else if (ngModuleDef.type === null || !ts8.isTypeReferenceNode(ngModuleDef.type) || ngModuleDef.type.typeArguments === void 0 || ngModuleDef.type.typeArguments.length !== 4) {
1745
+ } else if (ngModuleDef.type === null || !ts6.isTypeReferenceNode(ngModuleDef.type) || ngModuleDef.type.typeArguments === void 0 || ngModuleDef.type.typeArguments.length !== 4) {
1937
1746
  return null;
1938
1747
  }
1939
1748
  const [_, declarationMetadata, importMetadata, exportMetadata] = ngModuleDef.type.typeArguments;
@@ -1956,7 +1765,7 @@ var DtsMetadataReader = class {
1956
1765
  const def = this.reflector.getMembersOfClass(clazz).find((field) => field.isStatic && (field.name === "\u0275cmp" || field.name === "\u0275dir"));
1957
1766
  if (def === void 0) {
1958
1767
  return null;
1959
- } else if (def.type === null || !ts8.isTypeReferenceNode(def.type) || def.type.typeArguments === void 0 || def.type.typeArguments.length < 2) {
1768
+ } else if (def.type === null || !ts6.isTypeReferenceNode(def.type) || def.type.typeArguments === void 0 || def.type.typeArguments.length < 2) {
1960
1769
  return null;
1961
1770
  }
1962
1771
  const isComponent = def.name === "\u0275cmp";
@@ -1996,11 +1805,11 @@ var DtsMetadataReader = class {
1996
1805
  const def = this.reflector.getMembersOfClass(ref.node).find((field) => field.isStatic && field.name === "\u0275pipe");
1997
1806
  if (def === void 0) {
1998
1807
  return null;
1999
- } else if (def.type === null || !ts8.isTypeReferenceNode(def.type) || def.type.typeArguments === void 0 || def.type.typeArguments.length < 2) {
1808
+ } else if (def.type === null || !ts6.isTypeReferenceNode(def.type) || def.type.typeArguments === void 0 || def.type.typeArguments.length < 2) {
2000
1809
  return null;
2001
1810
  }
2002
1811
  const type = def.type.typeArguments[1];
2003
- if (!ts8.isLiteralTypeNode(type) || !ts8.isStringLiteral(type.literal)) {
1812
+ if (!ts6.isLiteralTypeNode(type) || !ts6.isStringLiteral(type.literal)) {
2004
1813
  return null;
2005
1814
  }
2006
1815
  const name = type.literal.text;
@@ -2021,12 +1830,12 @@ function readBaseClass2(clazz, checker, reflector) {
2021
1830
  }
2022
1831
  if (clazz.heritageClauses !== void 0) {
2023
1832
  for (const clause of clazz.heritageClauses) {
2024
- if (clause.token === ts8.SyntaxKind.ExtendsKeyword) {
1833
+ if (clause.token === ts6.SyntaxKind.ExtendsKeyword) {
2025
1834
  const baseExpr = clause.types[0].expression;
2026
1835
  let symbol = checker.getSymbolAtLocation(baseExpr);
2027
1836
  if (symbol === void 0) {
2028
1837
  return "dynamic";
2029
- } else if (symbol.flags & ts8.SymbolFlags.Alias) {
1838
+ } else if (symbol.flags & ts6.SymbolFlags.Alias) {
2030
1839
  symbol = checker.getAliasedSymbol(symbol);
2031
1840
  }
2032
1841
  if (symbol.valueDeclaration !== void 0 && isNamedClassDeclaration(symbol.valueDeclaration)) {
@@ -2040,14 +1849,14 @@ function readBaseClass2(clazz, checker, reflector) {
2040
1849
  return null;
2041
1850
  }
2042
1851
  function readHostDirectivesType(checker, type, bestGuessOwningModule) {
2043
- if (!ts8.isTupleTypeNode(type) || type.elements.length === 0) {
1852
+ if (!ts6.isTupleTypeNode(type) || type.elements.length === 0) {
2044
1853
  return null;
2045
1854
  }
2046
1855
  const result = [];
2047
1856
  for (const hostDirectiveType of type.elements) {
2048
1857
  const { directive, inputs, outputs } = readMapType(hostDirectiveType, (type2) => type2);
2049
1858
  if (directive) {
2050
- if (!ts8.isTypeQueryNode(directive)) {
1859
+ if (!ts6.isTypeQueryNode(directive)) {
2051
1860
  throw new Error(`Expected TypeQueryNode: ${nodeDebugInfo(directive)}`);
2052
1861
  }
2053
1862
  result.push({
@@ -2061,7 +1870,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
2061
1870
  return result.length > 0 ? result : null;
2062
1871
  }
2063
1872
 
2064
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1873
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
2065
1874
  function flattenInheritedDirectiveMetadata(reader, dir) {
2066
1875
  const topMeta = reader.getDirectiveMetadata(dir);
2067
1876
  if (topMeta === null) {
@@ -2119,7 +1928,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
2119
1928
  };
2120
1929
  }
2121
1930
 
2122
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1931
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
2123
1932
  var LocalMetadataRegistry = class {
2124
1933
  constructor() {
2125
1934
  this.directives = /* @__PURE__ */ new Map();
@@ -2169,7 +1978,7 @@ var CompoundMetadataRegistry = class {
2169
1978
  }
2170
1979
  };
2171
1980
 
2172
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
1981
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
2173
1982
  var ResourceRegistry = class {
2174
1983
  constructor() {
2175
1984
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -2234,7 +2043,7 @@ var ResourceRegistry = class {
2234
2043
  }
2235
2044
  };
2236
2045
 
2237
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2046
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2238
2047
  var EMPTY_ARRAY = [];
2239
2048
  var HostDirectivesResolver = class {
2240
2049
  constructor(metaReader) {
@@ -2285,7 +2094,223 @@ var HostDirectivesResolver = class {
2285
2094
  }
2286
2095
  };
2287
2096
 
2288
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
2097
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2098
+ function makeDuplicateDeclarationError(node, data, kind) {
2099
+ const context = [];
2100
+ for (const decl of data) {
2101
+ if (decl.rawDeclarations === null) {
2102
+ continue;
2103
+ }
2104
+ const contextNode = decl.ref.getOriginForDiagnostics(decl.rawDeclarations, decl.ngModule.name);
2105
+ context.push(makeRelatedInformation(contextNode, `'${node.name.text}' is listed in the declarations of the NgModule '${decl.ngModule.name.text}'.`));
2106
+ }
2107
+ return makeDiagnostic(ErrorCode.NGMODULE_DECLARATION_NOT_UNIQUE, node.name, `The ${kind} '${node.name.text}' is declared by more than one NgModule.`, context);
2108
+ }
2109
+ function createValueHasWrongTypeError(node, value, messageText) {
2110
+ var _a;
2111
+ let chainedMessage;
2112
+ let relatedInformation;
2113
+ if (value instanceof DynamicValue) {
2114
+ chainedMessage = "Value could not be determined statically.";
2115
+ relatedInformation = traceDynamicValue(node, value);
2116
+ } else if (value instanceof Reference) {
2117
+ const target = value.debugName !== null ? `'${value.debugName}'` : "an anonymous declaration";
2118
+ chainedMessage = `Value is a reference to ${target}.`;
2119
+ const referenceNode = (_a = identifierOfNode(value.node)) != null ? _a : value.node;
2120
+ relatedInformation = [makeRelatedInformation(referenceNode, "Reference is declared here.")];
2121
+ } else {
2122
+ chainedMessage = `Value is of type '${describeResolvedType(value)}'.`;
2123
+ }
2124
+ const chain = {
2125
+ messageText,
2126
+ category: ts7.DiagnosticCategory.Error,
2127
+ code: 0,
2128
+ next: [{
2129
+ messageText: chainedMessage,
2130
+ category: ts7.DiagnosticCategory.Message,
2131
+ code: 0
2132
+ }]
2133
+ };
2134
+ return new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, node, chain, relatedInformation);
2135
+ }
2136
+ function getProviderDiagnostics(providerClasses, providersDeclaration, registry) {
2137
+ const diagnostics = [];
2138
+ for (const provider of providerClasses) {
2139
+ const injectableMeta = registry.getInjectableMeta(provider.node);
2140
+ if (injectableMeta !== null) {
2141
+ continue;
2142
+ }
2143
+ const contextNode = provider.getOriginForDiagnostics(providersDeclaration);
2144
+ diagnostics.push(makeDiagnostic(ErrorCode.UNDECORATED_PROVIDER, contextNode, `The class '${provider.node.name.text}' cannot be created via dependency injection, as it does not have an Angular decorator. This will result in an error at runtime.
2145
+
2146
+ Either add the @Injectable() decorator to '${provider.node.name.text}', or configure a different provider (such as a provider with 'useFactory').
2147
+ `, [makeRelatedInformation(provider.node, `'${provider.node.name.text}' is declared here.`)]));
2148
+ }
2149
+ return diagnostics;
2150
+ }
2151
+ function getDirectiveDiagnostics(node, injectableRegistry, evaluator, reflector, scopeRegistry, strictInjectionParameters, kind) {
2152
+ let diagnostics = [];
2153
+ const addDiagnostics = (more) => {
2154
+ if (more === null) {
2155
+ return;
2156
+ } else if (diagnostics === null) {
2157
+ diagnostics = Array.isArray(more) ? more : [more];
2158
+ } else if (Array.isArray(more)) {
2159
+ diagnostics.push(...more);
2160
+ } else {
2161
+ diagnostics.push(more);
2162
+ }
2163
+ };
2164
+ const duplicateDeclarations = scopeRegistry.getDuplicateDeclarations(node);
2165
+ if (duplicateDeclarations !== null) {
2166
+ addDiagnostics(makeDuplicateDeclarationError(node, duplicateDeclarations, kind));
2167
+ }
2168
+ addDiagnostics(checkInheritanceOfInjectable(node, injectableRegistry, reflector, evaluator, strictInjectionParameters, kind));
2169
+ return diagnostics;
2170
+ }
2171
+ function validateHostDirectives(origin, hostDirectives, metaReader) {
2172
+ const diagnostics = [];
2173
+ for (const current of hostDirectives) {
2174
+ const hostMeta = flattenInheritedDirectiveMetadata(metaReader, current.directive);
2175
+ if (hostMeta === null) {
2176
+ diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_INVALID, current.directive.getOriginForDiagnostics(origin), `${current.directive.debugName} must be a standalone directive to be used as a host directive`));
2177
+ continue;
2178
+ }
2179
+ if (!hostMeta.isStandalone) {
2180
+ diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_NOT_STANDALONE, current.directive.getOriginForDiagnostics(origin), `Host directive ${hostMeta.name} must be standalone`));
2181
+ }
2182
+ if (hostMeta.isComponent) {
2183
+ diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_COMPONENT, current.directive.getOriginForDiagnostics(origin), `Host directive ${hostMeta.name} cannot be a component`));
2184
+ }
2185
+ validateHostDirectiveMappings("input", current, hostMeta, origin, diagnostics);
2186
+ validateHostDirectiveMappings("output", current, hostMeta, origin, diagnostics);
2187
+ }
2188
+ return diagnostics;
2189
+ }
2190
+ function validateHostDirectiveMappings(bindingType, hostDirectiveMeta, meta, origin, diagnostics) {
2191
+ const className = meta.name;
2192
+ const hostDirectiveMappings = bindingType === "input" ? hostDirectiveMeta.inputs : hostDirectiveMeta.outputs;
2193
+ const existingBindings = bindingType === "input" ? meta.inputs : meta.outputs;
2194
+ for (const publicName in hostDirectiveMappings) {
2195
+ if (hostDirectiveMappings.hasOwnProperty(publicName)) {
2196
+ if (!existingBindings.hasBindingPropertyName(publicName)) {
2197
+ diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_UNDEFINED_BINDING, hostDirectiveMeta.directive.getOriginForDiagnostics(origin), `Directive ${className} does not have an ${bindingType} with a public name of ${publicName}.`));
2198
+ }
2199
+ const remappedPublicName = hostDirectiveMappings[publicName];
2200
+ const bindingsForPublicName = existingBindings.getByBindingPropertyName(remappedPublicName);
2201
+ if (bindingsForPublicName !== null) {
2202
+ for (const binding of bindingsForPublicName) {
2203
+ if (binding.bindingPropertyName !== publicName) {
2204
+ diagnostics.push(makeDiagnostic(ErrorCode.HOST_DIRECTIVE_CONFLICTING_ALIAS, hostDirectiveMeta.directive.getOriginForDiagnostics(origin), `Cannot alias ${bindingType} ${publicName} of host directive ${className} to ${remappedPublicName}, because it already has a different ${bindingType} with the same public name.`));
2205
+ }
2206
+ }
2207
+ }
2208
+ }
2209
+ }
2210
+ }
2211
+ function getUndecoratedClassWithAngularFeaturesDiagnostic(node) {
2212
+ return makeDiagnostic(ErrorCode.UNDECORATED_CLASS_USING_ANGULAR_FEATURES, node.name, `Class is using Angular features but is not decorated. Please add an explicit Angular decorator.`);
2213
+ }
2214
+ function checkInheritanceOfInjectable(node, injectableRegistry, reflector, evaluator, strictInjectionParameters, kind) {
2215
+ const classWithCtor = findInheritedCtor(node, injectableRegistry, reflector, evaluator);
2216
+ if (classWithCtor === null || classWithCtor.isCtorValid) {
2217
+ return null;
2218
+ }
2219
+ if (!classWithCtor.isDecorated) {
2220
+ return getInheritedUndecoratedCtorDiagnostic(node, classWithCtor.ref, kind);
2221
+ }
2222
+ if (!strictInjectionParameters || isAbstractClassDeclaration(node)) {
2223
+ return null;
2224
+ }
2225
+ return getInheritedInvalidCtorDiagnostic(node, classWithCtor.ref, kind);
2226
+ }
2227
+ function findInheritedCtor(node, injectableRegistry, reflector, evaluator) {
2228
+ if (!reflector.isClass(node) || reflector.getConstructorParameters(node) !== null) {
2229
+ return null;
2230
+ }
2231
+ let baseClass = readBaseClass(node, reflector, evaluator);
2232
+ while (baseClass !== null) {
2233
+ if (baseClass === "dynamic") {
2234
+ return null;
2235
+ }
2236
+ const injectableMeta = injectableRegistry.getInjectableMeta(baseClass.node);
2237
+ if (injectableMeta !== null) {
2238
+ if (injectableMeta.ctorDeps !== null) {
2239
+ return {
2240
+ ref: baseClass,
2241
+ isCtorValid: injectableMeta.ctorDeps !== "invalid",
2242
+ isDecorated: true
2243
+ };
2244
+ }
2245
+ } else {
2246
+ const baseClassConstructorParams = reflector.getConstructorParameters(baseClass.node);
2247
+ if (baseClassConstructorParams !== null) {
2248
+ return {
2249
+ ref: baseClass,
2250
+ isCtorValid: baseClassConstructorParams.length === 0,
2251
+ isDecorated: false
2252
+ };
2253
+ }
2254
+ }
2255
+ baseClass = readBaseClass(baseClass.node, reflector, evaluator);
2256
+ }
2257
+ return null;
2258
+ }
2259
+ function getInheritedInvalidCtorDiagnostic(node, baseClass, kind) {
2260
+ const baseClassName = baseClass.debugName;
2261
+ return makeDiagnostic(ErrorCode.INJECTABLE_INHERITS_INVALID_CONSTRUCTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter has a constructor parameter that is not compatible with dependency injection. Either add an explicit constructor to ${node.name.text} or change ${baseClassName}'s constructor to use parameters that are valid for DI.`);
2262
+ }
2263
+ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
2264
+ const baseClassName = baseClass.debugName;
2265
+ const baseNeedsDecorator = kind === "Component" || kind === "Directive" ? "Directive" : "Injectable";
2266
+ return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
2267
+ }
2268
+
2269
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
2270
+ import ts8 from "typescript";
2271
+ function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
2272
+ let resolved = null;
2273
+ if (metadata.has(field)) {
2274
+ const expr = metadata.get(field);
2275
+ const value = evaluator.evaluate(expr);
2276
+ if (value instanceof EnumValue && isAngularCoreReference(value.enumRef, enumSymbolName)) {
2277
+ resolved = value.resolved;
2278
+ } else {
2279
+ throw createValueHasWrongTypeError(expr, value, `${field} must be a member of ${enumSymbolName} enum from @angular/core`);
2280
+ }
2281
+ }
2282
+ return resolved;
2283
+ }
2284
+ function isStringArray(resolvedValue) {
2285
+ return Array.isArray(resolvedValue) && resolvedValue.every((elem) => typeof elem === "string");
2286
+ }
2287
+ function resolveLiteral(decorator, literalCache) {
2288
+ if (literalCache.has(decorator)) {
2289
+ return literalCache.get(decorator);
2290
+ }
2291
+ if (decorator.args === null || decorator.args.length !== 1) {
2292
+ throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARITY_WRONG, Decorator.nodeForError(decorator), `Incorrect number of arguments to @${decorator.name} decorator`);
2293
+ }
2294
+ const meta = unwrapExpression(decorator.args[0]);
2295
+ if (!ts8.isObjectLiteralExpression(meta)) {
2296
+ throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARG_NOT_LITERAL, meta, `Decorator argument must be literal.`);
2297
+ }
2298
+ literalCache.set(decorator, meta);
2299
+ return meta;
2300
+ }
2301
+
2302
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
2303
+ import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
2304
+ function compileNgFactoryDefField(metadata) {
2305
+ const res = compileFactoryFunction(metadata);
2306
+ return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
2307
+ }
2308
+ function compileDeclareFactory(metadata) {
2309
+ const res = compileDeclareFactoryFunction(metadata);
2310
+ return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
2311
+ }
2312
+
2313
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
2289
2314
  var InjectableClassRegistry = class {
2290
2315
  constructor(host, isCore) {
2291
2316
  this.host = host;
@@ -2311,7 +2336,7 @@ var InjectableClassRegistry = class {
2311
2336
  }
2312
2337
  };
2313
2338
 
2314
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
2339
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
2315
2340
  import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
2316
2341
  import ts9 from "typescript";
2317
2342
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
@@ -2398,13 +2423,13 @@ function removeIdentifierReferences(node, name) {
2398
2423
  return result.transformed[0];
2399
2424
  }
2400
2425
 
2401
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
2426
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
2402
2427
  var NoopReferencesRegistry = class {
2403
2428
  add(source, ...references) {
2404
2429
  }
2405
2430
  };
2406
2431
 
2407
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
2432
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
2408
2433
  import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
2409
2434
  function extractSchemas(rawExpr, evaluator, context) {
2410
2435
  const schemas = [];
@@ -2434,11 +2459,11 @@ function extractSchemas(rawExpr, evaluator, context) {
2434
2459
  return schemas;
2435
2460
  }
2436
2461
 
2437
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
2462
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
2438
2463
  import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector as CssSelector2, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher2, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
2439
2464
  import ts24 from "typescript";
2440
2465
 
2441
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
2466
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
2442
2467
  import ts10 from "typescript";
2443
2468
  var SemanticSymbol = class {
2444
2469
  constructor(decl) {
@@ -2454,7 +2479,7 @@ function getSymbolIdentifier(decl) {
2454
2479
  return decl.name.text;
2455
2480
  }
2456
2481
 
2457
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
2482
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
2458
2483
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
2459
2484
  var OpaqueSymbol = class extends SemanticSymbol {
2460
2485
  isPublicApiAffected() {
@@ -2597,10 +2622,10 @@ function getImportPath(expr) {
2597
2622
  }
2598
2623
  }
2599
2624
 
2600
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2625
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2601
2626
  import ts11 from "typescript";
2602
2627
 
2603
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
2628
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
2604
2629
  function isSymbolEqual(a, b) {
2605
2630
  if (a.decl === b.decl) {
2606
2631
  return true;
@@ -2650,7 +2675,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
2650
2675
  return true;
2651
2676
  }
2652
2677
 
2653
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2678
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2654
2679
  function extractSemanticTypeParameters(node) {
2655
2680
  if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
2656
2681
  return null;
@@ -2670,14 +2695,14 @@ function isTypeParameterEqual(a, b) {
2670
2695
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
2671
2696
  }
2672
2697
 
2673
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2698
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2674
2699
  var ComponentScopeKind;
2675
2700
  (function(ComponentScopeKind2) {
2676
2701
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
2677
2702
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
2678
2703
  })(ComponentScopeKind || (ComponentScopeKind = {}));
2679
2704
 
2680
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2705
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2681
2706
  var CompoundComponentScopeReader = class {
2682
2707
  constructor(readers) {
2683
2708
  this.readers = readers;
@@ -2702,7 +2727,7 @@ var CompoundComponentScopeReader = class {
2702
2727
  }
2703
2728
  };
2704
2729
 
2705
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2730
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2706
2731
  var MetadataDtsModuleScopeResolver = class {
2707
2732
  constructor(dtsMetaReader, aliasingHost) {
2708
2733
  this.dtsMetaReader = dtsMetaReader;
@@ -2778,11 +2803,11 @@ var MetadataDtsModuleScopeResolver = class {
2778
2803
  }
2779
2804
  };
2780
2805
 
2781
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2806
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2782
2807
  import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
2783
2808
  import ts12 from "typescript";
2784
2809
 
2785
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2810
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2786
2811
  function getDiagnosticNode(ref, rawExpr) {
2787
2812
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
2788
2813
  }
@@ -2805,7 +2830,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
2805
2830
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
2806
2831
  }
2807
2832
 
2808
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2833
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2809
2834
  var LocalModuleScopeRegistry = class {
2810
2835
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
2811
2836
  this.localReader = localReader;
@@ -3144,7 +3169,7 @@ function reexportCollision(module, refA, refB) {
3144
3169
  ]);
3145
3170
  }
3146
3171
 
3147
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
3172
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
3148
3173
  import { CssSelector, SelectorMatcher } from "@angular/compiler";
3149
3174
  import ts13 from "typescript";
3150
3175
  var TypeCheckScopeRegistry = class {
@@ -3207,7 +3232,7 @@ var TypeCheckScopeRegistry = class {
3207
3232
  }
3208
3233
  };
3209
3234
 
3210
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3235
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3211
3236
  var CompilationMode;
3212
3237
  (function(CompilationMode2) {
3213
3238
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -3225,7 +3250,7 @@ var HandlerFlags;
3225
3250
  HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
3226
3251
  })(HandlerFlags || (HandlerFlags = {}));
3227
3252
 
3228
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3253
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3229
3254
  import ts14 from "typescript";
3230
3255
  function aliasTransformFactory(exportStatements) {
3231
3256
  return (context) => {
@@ -3243,10 +3268,10 @@ function aliasTransformFactory(exportStatements) {
3243
3268
  };
3244
3269
  }
3245
3270
 
3246
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3271
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3247
3272
  import ts15 from "typescript";
3248
3273
 
3249
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3274
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3250
3275
  var TraitState;
3251
3276
  (function(TraitState2) {
3252
3277
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -3301,7 +3326,7 @@ var TraitImpl = class {
3301
3326
  }
3302
3327
  };
3303
3328
 
3304
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3329
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3305
3330
  var TraitCompiler = class {
3306
3331
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
3307
3332
  this.handlers = handlers;
@@ -3745,10 +3770,10 @@ function containsErrors(diagnostics) {
3745
3770
  return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
3746
3771
  }
3747
3772
 
3748
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3773
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3749
3774
  import ts17 from "typescript";
3750
3775
 
3751
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3776
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3752
3777
  import ts16 from "typescript";
3753
3778
  function addImports(importManager, sf, extraStatements = []) {
3754
3779
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -3776,7 +3801,7 @@ function isImportStatement(stmt) {
3776
3801
  return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
3777
3802
  }
3778
3803
 
3779
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3804
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3780
3805
  var DtsTransformRegistry = class {
3781
3806
  constructor() {
3782
3807
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -3901,11 +3926,11 @@ function markForEmitAsSingleLine(node) {
3901
3926
  ts17.forEachChild(node, markForEmitAsSingleLine);
3902
3927
  }
3903
3928
 
3904
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3929
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3905
3930
  import { ConstantPool } from "@angular/compiler";
3906
3931
  import ts19 from "typescript";
3907
3932
 
3908
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
3933
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
3909
3934
  import ts18 from "typescript";
3910
3935
  function visit(node, visitor, context) {
3911
3936
  return visitor._visit(node, context);
@@ -3966,7 +3991,7 @@ var Visitor = class {
3966
3991
  }
3967
3992
  };
3968
3993
 
3969
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3994
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3970
3995
  var NO_DECORATORS = /* @__PURE__ */ new Set();
3971
3996
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
3972
3997
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -4154,10 +4179,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
4154
4179
  return array;
4155
4180
  }
4156
4181
 
4157
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4182
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4158
4183
  import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4159
4184
 
4160
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4185
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4161
4186
  import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
4162
4187
  import ts20 from "typescript";
4163
4188
  var EMPTY_OBJECT = {};
@@ -4570,7 +4595,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
4570
4595
  };
4571
4596
  }
4572
4597
 
4573
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4598
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4574
4599
  var DirectiveSymbol = class extends SemanticSymbol {
4575
4600
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
4576
4601
  super(decl);
@@ -4647,7 +4672,7 @@ function isBaseClassEqual(current, previous) {
4647
4672
  return isSymbolEqual(current, previous);
4648
4673
  }
4649
4674
 
4650
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4675
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4651
4676
  var FIELD_DECORATORS = [
4652
4677
  "Input",
4653
4678
  "Output",
@@ -4806,11 +4831,11 @@ var DirectiveDecoratorHandler = class {
4806
4831
  }
4807
4832
  };
4808
4833
 
4809
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4834
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4810
4835
  import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr as FunctionExpr2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3SelectorScopeMode, ReturnStatement as ReturnStatement2, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
4811
4836
  import ts22 from "typescript";
4812
4837
 
4813
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
4838
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
4814
4839
  import ts21 from "typescript";
4815
4840
  function createModuleWithProvidersResolver(reflector, isCore) {
4816
4841
  function _reflectModuleFromTypeParam(type, node) {
@@ -4877,7 +4902,7 @@ function isResolvedModuleWithProviders(sv) {
4877
4902
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
4878
4903
  }
4879
4904
 
4880
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4905
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4881
4906
  var NgModuleSymbol = class extends SemanticSymbol {
4882
4907
  constructor() {
4883
4908
  super(...arguments);
@@ -5381,7 +5406,7 @@ function isSyntheticReference(ref) {
5381
5406
  return ref.synthetic;
5382
5407
  }
5383
5408
 
5384
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5409
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5385
5410
  function makeCyclicImportInfo(ref, type, cycle) {
5386
5411
  const name = ref.debugName || "(unknown)";
5387
5412
  const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -5404,7 +5429,7 @@ function checkCustomElementSelectorForErrors(selector) {
5404
5429
  return null;
5405
5430
  }
5406
5431
 
5407
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5432
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5408
5433
  import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
5409
5434
  import ts23 from "typescript";
5410
5435
  function getTemplateDeclarationNodeForError(declaration) {
@@ -5710,7 +5735,7 @@ function _extractTemplateStyleUrls(template) {
5710
5735
  return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
5711
5736
  }
5712
5737
 
5713
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
5738
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
5714
5739
  var ComponentSymbol = class extends DirectiveSymbol {
5715
5740
  constructor() {
5716
5741
  super(...arguments);
@@ -5745,7 +5770,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
5745
5770
  }
5746
5771
  };
5747
5772
 
5748
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
5773
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
5749
5774
  function collectAnimationNames(value, animationTriggerNames) {
5750
5775
  if (value instanceof Map) {
5751
5776
  const name = value.get("name");
@@ -5821,7 +5846,7 @@ function isLikelyModuleWithProviders(value) {
5821
5846
  return false;
5822
5847
  }
5823
5848
 
5824
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
5849
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
5825
5850
  var EMPTY_ARRAY2 = [];
5826
5851
  var ComponentDecoratorHandler = class {
5827
5852
  constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
@@ -6465,7 +6490,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
6465
6490
  return diagnostics;
6466
6491
  }
6467
6492
 
6468
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
6493
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
6469
6494
  import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
6470
6495
  import ts25 from "typescript";
6471
6496
  var InjectableDecoratorHandler = class {
@@ -6682,7 +6707,7 @@ function getDep(dep, reflector) {
6682
6707
  return meta;
6683
6708
  }
6684
6709
 
6685
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
6710
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
6686
6711
  import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
6687
6712
  import ts26 from "typescript";
6688
6713
  var PipeSymbol = class extends SemanticSymbol {
@@ -6831,9 +6856,6 @@ var PipeDecoratorHandler = class {
6831
6856
  export {
6832
6857
  forwardRefResolver,
6833
6858
  readBaseClass,
6834
- DynamicValue,
6835
- StaticInterpreter,
6836
- PartialEvaluator,
6837
6859
  MetaKind,
6838
6860
  CompoundMetadataReader,
6839
6861
  DtsMetadataReader,
@@ -6841,6 +6863,9 @@ export {
6841
6863
  CompoundMetadataRegistry,
6842
6864
  ResourceRegistry,
6843
6865
  HostDirectivesResolver,
6866
+ DynamicValue,
6867
+ StaticInterpreter,
6868
+ PartialEvaluator,
6844
6869
  InjectableClassRegistry,
6845
6870
  NoopReferencesRegistry,
6846
6871
  SemanticDepGraphUpdater,
@@ -6877,4 +6902,4 @@ export {
6877
6902
  * Use of this source code is governed by an MIT-style license that can be
6878
6903
  * found in the LICENSE file at https://angular.io/license
6879
6904
  */
6880
- //# sourceMappingURL=chunk-R4GD76QD.js.map
6905
+ //# sourceMappingURL=chunk-KIQI22GZ.js.map