@angular/core 16.1.0-next.1 → 16.1.0-next.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/esm2022/src/application_ref.mjs +7 -2
  2. package/esm2022/src/compiler/compiler_facade_interface.mjs +1 -1
  3. package/esm2022/src/core.mjs +2 -1
  4. package/esm2022/src/core_private_export.mjs +2 -2
  5. package/esm2022/src/core_render3_private_export.mjs +2 -2
  6. package/esm2022/src/di/forward_ref.mjs +29 -2
  7. package/esm2022/src/hydration/api.mjs +4 -7
  8. package/esm2022/src/initial_render_pending_tasks.mjs +12 -37
  9. package/esm2022/src/interface/lifecycle_hooks.mjs +1 -1
  10. package/esm2022/src/metadata/directives.mjs +1 -1
  11. package/esm2022/src/render3/definition.mjs +3 -1
  12. package/esm2022/src/render3/di.mjs +5 -2
  13. package/esm2022/src/render3/errors.mjs +20 -2
  14. package/esm2022/src/render3/features/host_directives_feature.mjs +2 -2
  15. package/esm2022/src/render3/features/inherit_definition_feature.mjs +8 -1
  16. package/esm2022/src/render3/features/input_transforms_feature.mjs +32 -0
  17. package/esm2022/src/render3/index.mjs +3 -2
  18. package/esm2022/src/render3/instructions/shared.mjs +5 -1
  19. package/esm2022/src/render3/interfaces/definition.mjs +1 -1
  20. package/esm2022/src/render3/jit/environment.mjs +2 -1
  21. package/esm2022/src/render3/jit/module.mjs +11 -11
  22. package/esm2022/src/signals/src/graph.mjs +1 -1
  23. package/esm2022/src/util/coercion.mjs +24 -3
  24. package/esm2022/src/util/property.mjs +1 -1
  25. package/esm2022/src/version.mjs +1 -1
  26. package/esm2022/testing/src/logger.mjs +3 -3
  27. package/fesm2022/core.mjs +174 -90
  28. package/fesm2022/core.mjs.map +1 -1
  29. package/fesm2022/rxjs-interop.mjs +1 -1
  30. package/fesm2022/rxjs-interop.mjs.map +1 -1
  31. package/fesm2022/testing.mjs +103 -16
  32. package/fesm2022/testing.mjs.map +1 -1
  33. package/index.d.ts +111 -19
  34. package/package.json +1 -1
  35. package/rxjs-interop/index.d.ts +1 -1
  36. package/schematics/migrations/guard-and-resolve-interfaces/bundle.js +13 -13
  37. package/schematics/migrations/remove-module-id/bundle.js +14 -14
  38. package/schematics/ng-generate/standalone-migration/bundle.js +710 -400
  39. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  40. package/testing/index.d.ts +1 -1
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
63
63
  });
64
64
  };
65
65
 
66
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
66
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
67
67
  var standalone_migration_exports = {};
68
68
  __export(standalone_migration_exports, {
69
69
  default: () => standalone_migration_default
@@ -71,10 +71,10 @@ __export(standalone_migration_exports, {
71
71
  module.exports = __toCommonJS(standalone_migration_exports);
72
72
  var import_schematics = require("@angular-devkit/schematics");
73
73
 
74
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
74
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
75
75
  var import_typescript = __toESM(require("typescript"), 1);
76
76
 
77
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
77
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
78
78
  var InvalidFileSystem = class {
79
79
  exists(path3) {
80
80
  throw makeError();
@@ -162,7 +162,7 @@ function makeError() {
162
162
  return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
163
163
  }
164
164
 
165
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
165
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
166
166
  var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
167
167
  function stripExtension(path3) {
168
168
  return path3.replace(TS_DTS_JS_EXTENSION, "");
@@ -175,7 +175,7 @@ function getSourceFileOrError(program, fileName) {
175
175
  return sf;
176
176
  }
177
177
 
178
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
178
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
179
179
  var fs = new InvalidFileSystem();
180
180
  function getFileSystem() {
181
181
  return fs;
@@ -219,7 +219,7 @@ function toRelativeImport(relativePath) {
219
219
  return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
220
220
  }
221
221
 
222
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
222
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
223
223
  var LogicalProjectPath = {
224
224
  relativePathBetween: function(from, to) {
225
225
  const relativePath = relative(dirname(resolve(from)), resolve(to));
@@ -265,7 +265,7 @@ function isWithinBasePath(base, path3) {
265
265
  return isLocalRelativePath(relative(base, path3));
266
266
  }
267
267
 
268
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
268
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
269
269
  var import_fs = __toESM(require("fs"), 1);
270
270
  var import_module = __toESM(require("module"), 1);
271
271
  var p = __toESM(require("path"), 1);
@@ -373,7 +373,7 @@ function toggleCase(str) {
373
373
  return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
374
374
  }
375
375
 
376
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
376
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/selector.mjs
377
377
  var _SELECTOR_REGEXP = new RegExp(
378
378
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
379
379
  "g"
@@ -681,7 +681,7 @@ var SelectorContext = class {
681
681
  }
682
682
  };
683
683
 
684
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
684
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/core.mjs
685
685
  var emitDistinctChangesOnlyDefaultValue = true;
686
686
  var ViewEncapsulation;
687
687
  (function(ViewEncapsulation2) {
@@ -744,7 +744,92 @@ function parseSelectorToR3Selector(selector) {
744
744
  return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
745
745
  }
746
746
 
747
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
747
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
748
+ var output_ast_exports = {};
749
+ __export(output_ast_exports, {
750
+ ArrayType: () => ArrayType,
751
+ BOOL_TYPE: () => BOOL_TYPE,
752
+ BinaryOperator: () => BinaryOperator,
753
+ BinaryOperatorExpr: () => BinaryOperatorExpr,
754
+ BuiltinType: () => BuiltinType,
755
+ BuiltinTypeName: () => BuiltinTypeName,
756
+ CommaExpr: () => CommaExpr,
757
+ ConditionalExpr: () => ConditionalExpr,
758
+ DYNAMIC_TYPE: () => DYNAMIC_TYPE,
759
+ DeclareFunctionStmt: () => DeclareFunctionStmt,
760
+ DeclareVarStmt: () => DeclareVarStmt,
761
+ Expression: () => Expression,
762
+ ExpressionStatement: () => ExpressionStatement,
763
+ ExpressionType: () => ExpressionType,
764
+ ExternalExpr: () => ExternalExpr,
765
+ ExternalReference: () => ExternalReference,
766
+ FUNCTION_TYPE: () => FUNCTION_TYPE,
767
+ FnParam: () => FnParam,
768
+ FunctionExpr: () => FunctionExpr,
769
+ INFERRED_TYPE: () => INFERRED_TYPE,
770
+ INT_TYPE: () => INT_TYPE,
771
+ IfStmt: () => IfStmt,
772
+ InstantiateExpr: () => InstantiateExpr,
773
+ InvokeFunctionExpr: () => InvokeFunctionExpr,
774
+ JSDocComment: () => JSDocComment,
775
+ LeadingComment: () => LeadingComment,
776
+ LiteralArrayExpr: () => LiteralArrayExpr,
777
+ LiteralExpr: () => LiteralExpr,
778
+ LiteralMapEntry: () => LiteralMapEntry,
779
+ LiteralMapExpr: () => LiteralMapExpr,
780
+ LiteralPiece: () => LiteralPiece,
781
+ LocalizedString: () => LocalizedString,
782
+ MapType: () => MapType,
783
+ NONE_TYPE: () => NONE_TYPE,
784
+ NULL_EXPR: () => NULL_EXPR,
785
+ NUMBER_TYPE: () => NUMBER_TYPE,
786
+ NotExpr: () => NotExpr,
787
+ PlaceholderPiece: () => PlaceholderPiece,
788
+ ReadKeyExpr: () => ReadKeyExpr,
789
+ ReadPropExpr: () => ReadPropExpr,
790
+ ReadVarExpr: () => ReadVarExpr,
791
+ RecursiveAstVisitor: () => RecursiveAstVisitor,
792
+ ReturnStatement: () => ReturnStatement,
793
+ STRING_TYPE: () => STRING_TYPE,
794
+ Statement: () => Statement,
795
+ StmtModifier: () => StmtModifier,
796
+ TYPED_NULL_EXPR: () => TYPED_NULL_EXPR,
797
+ TaggedTemplateExpr: () => TaggedTemplateExpr,
798
+ TemplateLiteral: () => TemplateLiteral,
799
+ TemplateLiteralElement: () => TemplateLiteralElement,
800
+ TransplantedType: () => TransplantedType,
801
+ Type: () => Type,
802
+ TypeModifier: () => TypeModifier,
803
+ TypeofExpr: () => TypeofExpr,
804
+ UnaryOperator: () => UnaryOperator,
805
+ UnaryOperatorExpr: () => UnaryOperatorExpr,
806
+ WrappedNodeExpr: () => WrappedNodeExpr,
807
+ WriteKeyExpr: () => WriteKeyExpr,
808
+ WritePropExpr: () => WritePropExpr,
809
+ WriteVarExpr: () => WriteVarExpr,
810
+ areAllEquivalent: () => areAllEquivalent,
811
+ expressionType: () => expressionType,
812
+ fn: () => fn,
813
+ ifStmt: () => ifStmt,
814
+ importExpr: () => importExpr,
815
+ importType: () => importType,
816
+ isNull: () => isNull,
817
+ jsDocComment: () => jsDocComment,
818
+ leadingComment: () => leadingComment,
819
+ literal: () => literal,
820
+ literalArr: () => literalArr,
821
+ literalMap: () => literalMap,
822
+ localizedString: () => localizedString,
823
+ not: () => not,
824
+ nullSafeIsEquivalent: () => nullSafeIsEquivalent,
825
+ taggedTemplate: () => taggedTemplate,
826
+ transplantedType: () => transplantedType,
827
+ typeofExpr: () => typeofExpr,
828
+ unary: () => unary,
829
+ variable: () => variable
830
+ });
831
+
832
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
748
833
  var BigInteger = class {
749
834
  static zero() {
750
835
  return new BigInteger([0]);
@@ -836,7 +921,7 @@ var BigIntExponentiation = class {
836
921
  }
837
922
  };
838
923
 
839
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
924
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
840
925
  var textEncoder;
841
926
  function digest(message) {
842
927
  return message.id || computeDigest(message);
@@ -1099,7 +1184,7 @@ function wordsToDecimalString(hi, lo) {
1099
1184
  return decimal.toString();
1100
1185
  }
1101
1186
 
1102
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1187
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1103
1188
  var TypeModifier;
1104
1189
  (function(TypeModifier2) {
1105
1190
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -1143,6 +1228,33 @@ var ExpressionType = class extends Type {
1143
1228
  return visitor.visitExpressionType(this, context);
1144
1229
  }
1145
1230
  };
1231
+ var ArrayType = class extends Type {
1232
+ constructor(of, modifiers) {
1233
+ super(modifiers);
1234
+ this.of = of;
1235
+ }
1236
+ visitType(visitor, context) {
1237
+ return visitor.visitArrayType(this, context);
1238
+ }
1239
+ };
1240
+ var MapType = class extends Type {
1241
+ constructor(valueType, modifiers) {
1242
+ super(modifiers);
1243
+ this.valueType = valueType || null;
1244
+ }
1245
+ visitType(visitor, context) {
1246
+ return visitor.visitMapType(this, context);
1247
+ }
1248
+ };
1249
+ var TransplantedType = class extends Type {
1250
+ constructor(type, modifiers) {
1251
+ super(modifiers);
1252
+ this.type = type;
1253
+ }
1254
+ visitType(visitor, context) {
1255
+ return visitor.visitTransplantedType(this, context);
1256
+ }
1257
+ };
1146
1258
  var DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);
1147
1259
  var INFERRED_TYPE = new BuiltinType(BuiltinTypeName.Inferred);
1148
1260
  var BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);
@@ -1744,6 +1856,21 @@ var LiteralMapExpr = class extends Expression {
1744
1856
  return visitor.visitLiteralMapExpr(this, context);
1745
1857
  }
1746
1858
  };
1859
+ var CommaExpr = class extends Expression {
1860
+ constructor(parts, sourceSpan) {
1861
+ super(parts[parts.length - 1].type, sourceSpan);
1862
+ this.parts = parts;
1863
+ }
1864
+ isEquivalent(e) {
1865
+ return e instanceof CommaExpr && areAllEquivalent(this.parts, e.parts);
1866
+ }
1867
+ isConstant() {
1868
+ return false;
1869
+ }
1870
+ visitExpression(visitor, context) {
1871
+ return visitor.visitCommaExpr(this, context);
1872
+ }
1873
+ };
1747
1874
  var NULL_EXPR = new LiteralExpr(null, null, null);
1748
1875
  var TYPED_NULL_EXPR = new LiteralExpr(null, INFERRED_TYPE, null);
1749
1876
  var StmtModifier;
@@ -2016,6 +2143,9 @@ var RecursiveAstVisitor = class {
2016
2143
  stmts.forEach((stmt) => stmt.visitStatement(this, context));
2017
2144
  }
2018
2145
  };
2146
+ function leadingComment(text2, multiline = false, trailingNewline = true) {
2147
+ return new LeadingComment(text2, multiline, trailingNewline);
2148
+ }
2019
2149
  function jsDocComment(tags = []) {
2020
2150
  return new JSDocComment(tags);
2021
2151
  }
@@ -2025,9 +2155,15 @@ function variable(name, type, sourceSpan) {
2025
2155
  function importExpr(id, typeParams = null, sourceSpan) {
2026
2156
  return new ExternalExpr(id, null, typeParams, sourceSpan);
2027
2157
  }
2158
+ function importType(id, typeParams, typeModifiers) {
2159
+ return id != null ? expressionType(importExpr(id, typeParams, null), typeModifiers) : null;
2160
+ }
2028
2161
  function expressionType(expr, typeModifiers, typeParams) {
2029
2162
  return new ExpressionType(expr, typeModifiers, typeParams);
2030
2163
  }
2164
+ function transplantedType(type, typeModifiers) {
2165
+ return new TransplantedType(type, typeModifiers);
2166
+ }
2031
2167
  function typeofExpr(expr) {
2032
2168
  return new TypeofExpr(expr);
2033
2169
  }
@@ -2037,6 +2173,9 @@ function literalArr(values, type, sourceSpan) {
2037
2173
  function literalMap(values, type = null) {
2038
2174
  return new LiteralMapExpr(values.map((e) => new LiteralMapEntry(e.key, e.value, e.quoted)), type, null);
2039
2175
  }
2176
+ function unary(operator, expr, type, sourceSpan) {
2177
+ return new UnaryOperatorExpr(operator, expr, type, sourceSpan);
2178
+ }
2040
2179
  function not(expr, sourceSpan) {
2041
2180
  return new NotExpr(expr, sourceSpan);
2042
2181
  }
@@ -2087,7 +2226,7 @@ function serializeTags(tags) {
2087
2226
  return out;
2088
2227
  }
2089
2228
 
2090
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2229
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2091
2230
  var CONSTANT_PREFIX = "_c";
2092
2231
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
2093
2232
  var KEY_CONTEXT = {};
@@ -2256,7 +2395,7 @@ function isLongStringLiteral(expr) {
2256
2395
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
2257
2396
  }
2258
2397
 
2259
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2398
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2260
2399
  var CORE = "@angular/core";
2261
2400
  var _Identifiers = class {
2262
2401
  };
@@ -2774,6 +2913,9 @@ var Identifiers = _Identifiers;
2774
2913
  (() => {
2775
2914
  _Identifiers.HostDirectivesFeature = { name: "\u0275\u0275HostDirectivesFeature", moduleName: CORE };
2776
2915
  })();
2916
+ (() => {
2917
+ _Identifiers.InputTransformsFeatureFeature = { name: "\u0275\u0275InputTransformsFeature", moduleName: CORE };
2918
+ })();
2777
2919
  (() => {
2778
2920
  _Identifiers.listener = { name: "\u0275\u0275listener", moduleName: CORE };
2779
2921
  })();
@@ -2811,7 +2953,7 @@ var Identifiers = _Identifiers;
2811
2953
  _Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
2812
2954
  })();
2813
2955
 
2814
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
2956
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/util.mjs
2815
2957
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
2816
2958
  function dashCaseToCamelCase(input) {
2817
2959
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -2899,7 +3041,7 @@ function partitionArray(arr, conditionFn) {
2899
3041
  return [truthy, falsy];
2900
3042
  }
2901
3043
 
2902
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3044
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2903
3045
  var VERSION = 3;
2904
3046
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
2905
3047
  var SourceMapGenerator = class {
@@ -3028,7 +3170,7 @@ function toBase64Digit(value) {
3028
3170
  return B64_DIGITS[value];
3029
3171
  }
3030
3172
 
3031
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3173
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3032
3174
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
3033
3175
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
3034
3176
  var _INDENT_WITH = " ";
@@ -3503,7 +3645,7 @@ function _createIndent(count) {
3503
3645
  return res;
3504
3646
  }
3505
3647
 
3506
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
3648
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/util.mjs
3507
3649
  function typeWithParameters(type, numParams) {
3508
3650
  if (numParams === 0) {
3509
3651
  return expressionType(type);
@@ -3571,7 +3713,7 @@ function generateForwardRef(expr) {
3571
3713
  return importExpr(Identifiers.forwardRef).callFn([fn([], [new ReturnStatement(expr)])]);
3572
3714
  }
3573
3715
 
3574
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3716
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3575
3717
  var R3FactoryDelegateType;
3576
3718
  (function(R3FactoryDelegateType2) {
3577
3719
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -3716,7 +3858,7 @@ function getInjectFn(target) {
3716
3858
  }
3717
3859
  }
3718
3860
 
3719
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3861
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3720
3862
  var Comment = class {
3721
3863
  constructor(value, sourceSpan) {
3722
3864
  this.value = value;
@@ -3938,7 +4080,7 @@ function visitAll(visitor, nodes) {
3938
4080
  return result;
3939
4081
  }
3940
4082
 
3941
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4083
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
3942
4084
  var Message = class {
3943
4085
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
3944
4086
  this.nodes = nodes;
@@ -4101,7 +4243,7 @@ var LocalizeMessageStringVisitor = class {
4101
4243
  }
4102
4244
  };
4103
4245
 
4104
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4246
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4105
4247
  var Serializer = class {
4106
4248
  createNameMapper(message) {
4107
4249
  return null;
@@ -4153,7 +4295,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
4153
4295
  }
4154
4296
  };
4155
4297
 
4156
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4298
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4157
4299
  var _Visitor = class {
4158
4300
  visitTag(tag) {
4159
4301
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4241,7 +4383,7 @@ function escapeXml(text2) {
4241
4383
  return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
4242
4384
  }
4243
4385
 
4244
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4386
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4245
4387
  var _MESSAGES_TAG = "messagebundle";
4246
4388
  var _MESSAGE_TAG = "msg";
4247
4389
  var _PLACEHOLDER_TAG = "ph";
@@ -4384,7 +4526,7 @@ function toPublicName(internalName) {
4384
4526
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
4385
4527
  }
4386
4528
 
4387
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4529
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4388
4530
  var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
4389
4531
  var TRANSLATION_VAR_PREFIX = "i18n_";
4390
4532
  var I18N_ATTR = "i18n";
@@ -4486,7 +4628,7 @@ function declareI18nVariable(variable2) {
4486
4628
  return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
4487
4629
  }
4488
4630
 
4489
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4631
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4490
4632
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
4491
4633
  var TEMPORARY_NAME = "_t";
4492
4634
  var CONTEXT_NAME = "ctx";
@@ -4582,22 +4724,30 @@ function conditionallyCreateDirectiveBindingLiteral(map, keepDeclared) {
4582
4724
  let declaredName;
4583
4725
  let publicName;
4584
4726
  let minifiedName;
4585
- let needsDeclaredName;
4727
+ let expressionValue;
4586
4728
  if (typeof value === "string") {
4587
4729
  declaredName = key;
4588
4730
  minifiedName = key;
4589
4731
  publicName = value;
4590
- needsDeclaredName = false;
4732
+ expressionValue = asLiteral(publicName);
4591
4733
  } else {
4592
4734
  minifiedName = key;
4593
4735
  declaredName = value.classPropertyName;
4594
4736
  publicName = value.bindingPropertyName;
4595
- needsDeclaredName = publicName !== declaredName;
4737
+ if (keepDeclared && (publicName !== declaredName || value.transformFunction != null)) {
4738
+ const expressionKeys = [asLiteral(publicName), asLiteral(declaredName)];
4739
+ if (value.transformFunction != null) {
4740
+ expressionKeys.push(value.transformFunction);
4741
+ }
4742
+ expressionValue = literalArr(expressionKeys);
4743
+ } else {
4744
+ expressionValue = asLiteral(publicName);
4745
+ }
4596
4746
  }
4597
4747
  return {
4598
4748
  key: minifiedName,
4599
4749
  quoted: UNSAFE_OBJECT_KEY_NAME_REGEXP.test(minifiedName),
4600
- value: keepDeclared && needsDeclaredName ? literalArr([asLiteral(publicName), asLiteral(declaredName)]) : asLiteral(publicName)
4750
+ value: expressionValue
4601
4751
  };
4602
4752
  }));
4603
4753
  }
@@ -4694,7 +4844,7 @@ function getInstructionStatements(instructions) {
4694
4844
  return statements;
4695
4845
  }
4696
4846
 
4697
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4847
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4698
4848
  function compileInjectable(meta, resolveForwardRefs) {
4699
4849
  let result = null;
4700
4850
  const factoryMeta = {
@@ -4782,7 +4932,7 @@ function createFactoryFunction(type) {
4782
4932
  return fn([new FnParam("t", DYNAMIC_TYPE)], [new ReturnStatement(type.prop("\u0275fac").callFn([variable("t")]))]);
4783
4933
  }
4784
4934
 
4785
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
4935
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/assertions.mjs
4786
4936
  var UNUSABLE_INTERPOLATION_REGEXPS = [
4787
4937
  /^\s*$/,
4788
4938
  /[<>]/,
@@ -4804,7 +4954,7 @@ function assertInterpolationSymbols(identifier, value) {
4804
4954
  }
4805
4955
  }
4806
4956
 
4807
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
4957
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
4808
4958
  var InterpolationConfig = class {
4809
4959
  static fromArray(markers) {
4810
4960
  if (!markers) {
@@ -4820,7 +4970,7 @@ var InterpolationConfig = class {
4820
4970
  };
4821
4971
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
4822
4972
 
4823
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
4973
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/chars.mjs
4824
4974
  var $EOF = 0;
4825
4975
  var $BSPACE = 8;
4826
4976
  var $TAB = 9;
@@ -4901,7 +5051,7 @@ function isQuote(code) {
4901
5051
  return code === $SQ || code === $DQ || code === $BT;
4902
5052
  }
4903
5053
 
4904
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
5054
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/parse_util.mjs
4905
5055
  var ParseLocation = class {
4906
5056
  constructor(file, offset, line, col) {
4907
5057
  this.file = file;
@@ -5048,7 +5198,7 @@ function sanitizeIdentifier(name) {
5048
5198
  return name.replace(/\W/g, "_");
5049
5199
  }
5050
5200
 
5051
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5201
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5052
5202
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
5053
5203
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5054
5204
  constructor() {
@@ -5119,7 +5269,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5119
5269
  }
5120
5270
  };
5121
5271
 
5122
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5272
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5123
5273
  var policy;
5124
5274
  function getPolicy() {
5125
5275
  if (policy === void 0) {
@@ -5156,7 +5306,7 @@ function newTrustedFunctionForJIT(...args) {
5156
5306
  return fn2.bind(_global);
5157
5307
  }
5158
5308
 
5159
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5309
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5160
5310
  var JitEvaluator = class {
5161
5311
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
5162
5312
  const converter = new JitEmitterVisitor(refResolver);
@@ -5247,7 +5397,7 @@ function isUseStrictStatement(statement) {
5247
5397
  return statement.isEquivalent(literal("use strict").toStmt());
5248
5398
  }
5249
5399
 
5250
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5400
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5251
5401
  function compileInjector(meta) {
5252
5402
  const definitionMap = new DefinitionMap();
5253
5403
  if (meta.providers !== null) {
@@ -5264,7 +5414,7 @@ function createInjectorType(meta) {
5264
5414
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
5265
5415
  }
5266
5416
 
5267
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5417
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5268
5418
  var R3JitReflector = class {
5269
5419
  constructor(context) {
5270
5420
  this.context = context;
@@ -5280,7 +5430,7 @@ var R3JitReflector = class {
5280
5430
  }
5281
5431
  };
5282
5432
 
5283
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5433
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5284
5434
  var R3SelectorScopeMode;
5285
5435
  (function(R3SelectorScopeMode2) {
5286
5436
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -5393,7 +5543,7 @@ function tupleOfTypes(types) {
5393
5543
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
5394
5544
  }
5395
5545
 
5396
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5546
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5397
5547
  function compilePipeFromMetadata(metadata) {
5398
5548
  const definitionMapValues = [];
5399
5549
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -5414,7 +5564,7 @@ function createPipeType(metadata) {
5414
5564
  ]));
5415
5565
  }
5416
5566
 
5417
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5567
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5418
5568
  var R3TemplateDependencyKind;
5419
5569
  (function(R3TemplateDependencyKind2) {
5420
5570
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -5422,7 +5572,7 @@ var R3TemplateDependencyKind;
5422
5572
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
5423
5573
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
5424
5574
 
5425
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5575
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5426
5576
  var ParserError = class {
5427
5577
  constructor(message, input, errLocation, ctxLocation) {
5428
5578
  this.input = input;
@@ -6088,7 +6238,7 @@ var BoundElementProperty = class {
6088
6238
  }
6089
6239
  };
6090
6240
 
6091
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6241
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6092
6242
  var _EventHandlerVars = class {
6093
6243
  };
6094
6244
  var EventHandlerVars = _EventHandlerVars;
@@ -6709,7 +6859,7 @@ var BuiltinFunctionCall = class extends Call {
6709
6859
  }
6710
6860
  };
6711
6861
 
6712
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6862
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6713
6863
  var _SECURITY_SCHEMA;
6714
6864
  function SECURITY_SCHEMA() {
6715
6865
  if (!_SECURITY_SCHEMA) {
@@ -6767,7 +6917,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
6767
6917
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
6768
6918
  }
6769
6919
 
6770
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
6920
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/shadow_css.mjs
6771
6921
  var animationKeywords = /* @__PURE__ */ new Set([
6772
6922
  "inherit",
6773
6923
  "initial",
@@ -7227,7 +7377,7 @@ function repeatGroups(groups, multiples) {
7227
7377
  }
7228
7378
  }
7229
7379
 
7230
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
7380
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
7231
7381
  var TagContentType;
7232
7382
  (function(TagContentType2) {
7233
7383
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -7260,7 +7410,7 @@ function mergeNsAndName(prefix, localName) {
7260
7410
  return prefix ? `:${prefix}:${localName}` : localName;
7261
7411
  }
7262
7412
 
7263
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/element.mjs
7413
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/element.mjs
7264
7414
  var ElementAttributeKind;
7265
7415
  (function(ElementAttributeKind2) {
7266
7416
  ElementAttributeKind2[ElementAttributeKind2["Attribute"] = 0] = "Attribute";
@@ -7337,7 +7487,7 @@ function assertIsElementAttributes(attrs) {
7337
7487
  }
7338
7488
  }
7339
7489
 
7340
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7490
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7341
7491
  var OpKind;
7342
7492
  (function(OpKind2) {
7343
7493
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -7374,7 +7524,7 @@ var SemanticVariableKind;
7374
7524
  SemanticVariableKind2[SemanticVariableKind2["SavedView"] = 2] = "SavedView";
7375
7525
  })(SemanticVariableKind || (SemanticVariableKind = {}));
7376
7526
 
7377
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7527
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7378
7528
  var ConsumesSlot = Symbol("ConsumesSlot");
7379
7529
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
7380
7530
  var UsesSlotIndex = Symbol("UsesSlotIndex");
@@ -7407,7 +7557,7 @@ function hasUsesSlotIndexTrait(value) {
7407
7557
  return value[UsesSlotIndex] === true;
7408
7558
  }
7409
7559
 
7410
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7560
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7411
7561
  var _a;
7412
7562
  var ExpressionBase = class extends Expression {
7413
7563
  constructor(sourceSpan = null) {
@@ -7651,7 +7801,7 @@ function transformExpressionsInStatement(stmt, transform, flags) {
7651
7801
  }
7652
7802
  }
7653
7803
 
7654
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
7804
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
7655
7805
  var _OpList = class {
7656
7806
  constructor() {
7657
7807
  this.debugListId = _OpList.nextListId++;
@@ -7815,7 +7965,7 @@ var OpList = _OpList;
7815
7965
  _OpList.nextListId = 0;
7816
7966
  })();
7817
7967
 
7818
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7968
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7819
7969
  function createStatementOp(statement) {
7820
7970
  return __spreadValues({
7821
7971
  kind: OpKind.Statement,
@@ -7836,7 +7986,7 @@ var NEW_OP = {
7836
7986
  next: null
7837
7987
  };
7838
7988
 
7839
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
7989
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
7840
7990
  function createElementStartOp(tag, xref) {
7841
7991
  return __spreadValues(__spreadValues({
7842
7992
  kind: OpKind.ElementStart,
@@ -7881,7 +8031,7 @@ function createListenerOp(target, name, tag) {
7881
8031
  }, NEW_OP), TRAIT_USES_SLOT_INDEX);
7882
8032
  }
7883
8033
 
7884
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
8034
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
7885
8035
  function createInterpolateTextOp(xref, strings, expressions) {
7886
8036
  return __spreadValues(__spreadValues(__spreadValues({
7887
8037
  kind: OpKind.InterpolateText,
@@ -7905,7 +8055,7 @@ function createAdvanceOp(delta) {
7905
8055
  }, NEW_OP);
7906
8056
  }
7907
8057
 
7908
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
8058
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
7909
8059
  function phaseConstCollection(cpl) {
7910
8060
  for (const [_, view] of cpl.views) {
7911
8061
  for (const op of view.create) {
@@ -7946,7 +8096,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n, projectAs, s
7946
8096
  return literalArr(attrArray);
7947
8097
  }
7948
8098
 
7949
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
8099
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
7950
8100
  var REPLACEMENTS = /* @__PURE__ */ new Map([
7951
8101
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
7952
8102
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]]
@@ -7967,7 +8117,7 @@ function phaseEmptyElements(cpl) {
7967
8117
  }
7968
8118
  }
7969
8119
 
7970
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
8120
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
7971
8121
  function phaseGenerateAdvance(cpl) {
7972
8122
  for (const [_, view] of cpl.views) {
7973
8123
  const slotMap = /* @__PURE__ */ new Map();
@@ -7999,7 +8149,7 @@ function phaseGenerateAdvance(cpl) {
7999
8149
  }
8000
8150
  }
8001
8151
 
8002
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
8152
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
8003
8153
  function element(slot, tag, constIndex, localRefIndex) {
8004
8154
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex);
8005
8155
  }
@@ -8133,7 +8283,7 @@ function callInterpolation(config, baseArgs, interpolationArgs) {
8133
8283
  }
8134
8284
  }
8135
8285
 
8136
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
8286
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
8137
8287
  function phaseReify(cpl) {
8138
8288
  for (const [_, view] of cpl.views) {
8139
8289
  reifyCreateOperations(view, view.create);
@@ -8267,7 +8417,7 @@ var LookForEventVisitor = class extends RecursiveAstVisitor {
8267
8417
  }
8268
8418
  };
8269
8419
 
8270
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
8420
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
8271
8421
  function phaseSlotAllocation(cpl) {
8272
8422
  const slotMap = /* @__PURE__ */ new Map();
8273
8423
  for (const [_, view] of cpl.views) {
@@ -8307,7 +8457,7 @@ function phaseSlotAllocation(cpl) {
8307
8457
  }
8308
8458
  }
8309
8459
 
8310
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
8460
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
8311
8461
  function phaseVarCounting(cpl) {
8312
8462
  for (const [_, view] of cpl.views) {
8313
8463
  let varCount = 0;
@@ -8347,7 +8497,7 @@ function varsUsedByIrExpression(expr) {
8347
8497
  return 0;
8348
8498
  }
8349
8499
 
8350
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
8500
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
8351
8501
  function phaseNaming(cpl) {
8352
8502
  addNamesToView(cpl.root, cpl.componentName, { index: 0 });
8353
8503
  }
@@ -8405,7 +8555,7 @@ function getVariableName(variable2, state) {
8405
8555
  return variable2.name;
8406
8556
  }
8407
8557
 
8408
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
8558
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
8409
8559
  function phaseLocalRefs(cpl) {
8410
8560
  for (const view of cpl.views.values()) {
8411
8561
  for (const op of view.create) {
@@ -8436,7 +8586,7 @@ function serializeLocalRefs(refs) {
8436
8586
  return literalArr(constRefs);
8437
8587
  }
8438
8588
 
8439
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
8589
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
8440
8590
  function phaseGenerateVariables(cpl) {
8441
8591
  recursivelyProcessView(cpl.root, null);
8442
8592
  }
@@ -8518,7 +8668,7 @@ function generateVariablesInScopeForView(view, scope) {
8518
8668
  return newOps;
8519
8669
  }
8520
8670
 
8521
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
8671
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
8522
8672
  function phaseResolveNames(cpl) {
8523
8673
  for (const [_, view] of cpl.views) {
8524
8674
  processLexicalScope(view, view.create, null);
@@ -8571,7 +8721,7 @@ function processLexicalScope(view, ops, savedView) {
8571
8721
  }
8572
8722
  }
8573
8723
 
8574
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
8724
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
8575
8725
  function phaseResolveContexts(cpl) {
8576
8726
  for (const view of cpl.views.values()) {
8577
8727
  processLexicalScope2(view, view.create);
@@ -8609,7 +8759,7 @@ function processLexicalScope2(view, ops) {
8609
8759
  }
8610
8760
  }
8611
8761
 
8612
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
8762
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
8613
8763
  function phaseVariableOptimization(cpl, options) {
8614
8764
  for (const [_, view] of cpl.views) {
8615
8765
  optimizeVariablesInOpList(view.create, options);
@@ -8807,7 +8957,7 @@ function allowConservativeInlining(decl, target) {
8807
8957
  }
8808
8958
  }
8809
8959
 
8810
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
8960
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
8811
8961
  var CHAINABLE = /* @__PURE__ */ new Set([
8812
8962
  Identifiers.elementStart,
8813
8963
  Identifiers.elementEnd,
@@ -8853,7 +9003,7 @@ function chainOperationsInList(opList) {
8853
9003
  }
8854
9004
  }
8855
9005
 
8856
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
9006
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
8857
9007
  function phaseMergeNextContext(cpl) {
8858
9008
  for (const view of cpl.views.values()) {
8859
9009
  for (const op of view.create) {
@@ -8895,7 +9045,7 @@ function mergeNextContextsInOps(ops) {
8895
9045
  }
8896
9046
  }
8897
9047
 
8898
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
9048
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
8899
9049
  var CONTAINER_TAG = "ng-container";
8900
9050
  function phaseNgContainer(cpl) {
8901
9051
  for (const [_, view] of cpl.views) {
@@ -8912,7 +9062,7 @@ function phaseNgContainer(cpl) {
8912
9062
  }
8913
9063
  }
8914
9064
 
8915
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
9065
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
8916
9066
  function phaseSaveRestoreView(cpl) {
8917
9067
  for (const view of cpl.views.values()) {
8918
9068
  if (view === cpl.root) {
@@ -8945,7 +9095,7 @@ function phaseSaveRestoreView(cpl) {
8945
9095
  }
8946
9096
  }
8947
9097
 
8948
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
9098
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
8949
9099
  function transformTemplate(cpl) {
8950
9100
  phaseGenerateVariables(cpl);
8951
9101
  phaseSaveRestoreView(cpl);
@@ -9022,7 +9172,7 @@ function maybeGenerateRfBlock(flag, statements) {
9022
9172
  ];
9023
9173
  }
9024
9174
 
9025
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
9175
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
9026
9176
  var ComponentCompilation = class {
9027
9177
  constructor(componentName) {
9028
9178
  this.componentName = componentName;
@@ -9079,7 +9229,7 @@ var ViewCompilation = class {
9079
9229
  }
9080
9230
  };
9081
9231
 
9082
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9232
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9083
9233
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
9084
9234
  ["&&", BinaryOperator.And],
9085
9235
  [">", BinaryOperator.Bigger],
@@ -9100,7 +9250,7 @@ var BINARY_OPERATORS = /* @__PURE__ */ new Map([
9100
9250
  ["+", BinaryOperator.Plus]
9101
9251
  ]);
9102
9252
 
9103
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
9253
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
9104
9254
  function ingest(componentName, template2) {
9105
9255
  const cpl = new ComponentCompilation(componentName);
9106
9256
  ingestNodes(cpl.root, template2);
@@ -9266,10 +9416,10 @@ function assertIsArray(value) {
9266
9416
  }
9267
9417
  }
9268
9418
 
9269
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
9419
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
9270
9420
  var USE_TEMPLATE_PIPELINE = false;
9271
9421
 
9272
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
9422
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
9273
9423
  function parse(value) {
9274
9424
  const styles = [];
9275
9425
  let i = 0;
@@ -9330,7 +9480,7 @@ function hyphenate(value) {
9330
9480
  }).toLowerCase();
9331
9481
  }
9332
9482
 
9333
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
9483
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
9334
9484
  var IMPORTANT_FLAG = "!important";
9335
9485
  var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
9336
9486
  var StylingBuilder = class {
@@ -9663,7 +9813,7 @@ function isEmptyExpression(ast) {
9663
9813
  return ast instanceof EmptyExpr;
9664
9814
  }
9665
9815
 
9666
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
9816
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
9667
9817
  var TokenType;
9668
9818
  (function(TokenType2) {
9669
9819
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -10024,7 +10174,7 @@ function parseIntAutoRadix(text2) {
10024
10174
  return result;
10025
10175
  }
10026
10176
 
10027
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
10177
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
10028
10178
  var SplitInterpolation = class {
10029
10179
  constructor(strings, expressions, offsets) {
10030
10180
  this.strings = strings;
@@ -10918,7 +11068,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
10918
11068
  return offsetMap;
10919
11069
  }
10920
11070
 
10921
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
11071
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
10922
11072
  var NodeWithI18n = class {
10923
11073
  constructor(sourceSpan, i18n) {
10924
11074
  this.sourceSpan = sourceSpan;
@@ -11006,11 +11156,11 @@ function visitAll2(visitor, nodes, context = null) {
11006
11156
  return result;
11007
11157
  }
11008
11158
 
11009
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
11159
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
11010
11160
  var ElementSchemaRegistry = class {
11011
11161
  };
11012
11162
 
11013
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
11163
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
11014
11164
  var BOOLEAN = "boolean";
11015
11165
  var NUMBER = "number";
11016
11166
  var STRING = "string";
@@ -11363,7 +11513,7 @@ function _isPixelDimensionStyle(prop) {
11363
11513
  }
11364
11514
  }
11365
11515
 
11366
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
11516
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
11367
11517
  var HtmlTagDefinition = class {
11368
11518
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
11369
11519
  this.closedByChildren = {};
@@ -11481,7 +11631,7 @@ function getHtmlTagDefinition(tagName) {
11481
11631
  return (_b = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b : DEFAULT_TAG_DEFINITION;
11482
11632
  }
11483
11633
 
11484
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
11634
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
11485
11635
  var NAMED_ENTITIES = {
11486
11636
  "AElig": "\xC6",
11487
11637
  "AMP": "&",
@@ -13612,7 +13762,7 @@ var NAMED_ENTITIES = {
13612
13762
  var NGSP_UNICODE = "\uE500";
13613
13763
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
13614
13764
 
13615
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
13765
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
13616
13766
  var TokenError = class extends ParseError {
13617
13767
  constructor(errorMsg, tokenType, span) {
13618
13768
  super(span, errorMsg);
@@ -14447,7 +14597,7 @@ var CursorError = class {
14447
14597
  }
14448
14598
  };
14449
14599
 
14450
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
14600
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
14451
14601
  var TreeError = class extends ParseError {
14452
14602
  static create(elementName, span, msg) {
14453
14603
  return new TreeError(elementName, span, msg);
@@ -14774,7 +14924,7 @@ function decodeEntity(match, entity) {
14774
14924
  return match;
14775
14925
  }
14776
14926
 
14777
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
14927
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
14778
14928
  var HtmlParser = class extends Parser2 {
14779
14929
  constructor() {
14780
14930
  super(getHtmlTagDefinition);
@@ -14784,7 +14934,7 @@ var HtmlParser = class extends Parser2 {
14784
14934
  }
14785
14935
  };
14786
14936
 
14787
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
14937
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
14788
14938
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
14789
14939
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
14790
14940
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -14844,7 +14994,7 @@ function visitAllWithSiblings(visitor, nodes) {
14844
14994
  return result;
14845
14995
  }
14846
14996
 
14847
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
14997
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/map_util.mjs
14848
14998
  function mapLiteral(obj, quoted = false) {
14849
14999
  return literalMap(Object.keys(obj).map((key) => ({
14850
15000
  key,
@@ -14853,7 +15003,7 @@ function mapLiteral(obj, quoted = false) {
14853
15003
  })));
14854
15004
  }
14855
15005
 
14856
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15006
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
14857
15007
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
14858
15008
  "iframe|srcdoc",
14859
15009
  "*|innerhtml",
@@ -14868,7 +15018,7 @@ function isTrustedTypesSink(tagName, propName) {
14868
15018
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
14869
15019
  }
14870
15020
 
14871
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
15021
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
14872
15022
  var PROPERTY_PARTS_SEPARATOR = ".";
14873
15023
  var ATTRIBUTE_PREFIX = "attr";
14874
15024
  var CLASS_PREFIX = "class";
@@ -15188,7 +15338,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
15188
15338
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
15189
15339
  }
15190
15340
 
15191
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
15341
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
15192
15342
  function isStyleUrlResolvable(url) {
15193
15343
  if (url == null || url.length === 0 || url[0] == "/")
15194
15344
  return false;
@@ -15197,7 +15347,7 @@ function isStyleUrlResolvable(url) {
15197
15347
  }
15198
15348
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
15199
15349
 
15200
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
15350
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
15201
15351
  var NG_CONTENT_SELECT_ATTR = "select";
15202
15352
  var LINK_ELEMENT = "link";
15203
15353
  var LINK_STYLE_REL_ATTR = "rel";
@@ -15267,7 +15417,7 @@ function normalizeNgContentSelect(selectAttr) {
15267
15417
  return selectAttr;
15268
15418
  }
15269
15419
 
15270
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
15420
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
15271
15421
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
15272
15422
  var KW_BIND_IDX = 1;
15273
15423
  var KW_LET_IDX = 2;
@@ -15615,7 +15765,7 @@ function textContents(node) {
15615
15765
  }
15616
15766
  }
15617
15767
 
15618
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
15768
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
15619
15769
  var TagType;
15620
15770
  (function(TagType2) {
15621
15771
  TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
@@ -15750,7 +15900,7 @@ function serializePlaceholderValue(value) {
15750
15900
  }
15751
15901
  }
15752
15902
 
15753
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
15903
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
15754
15904
  var IcuSerializerVisitor = class {
15755
15905
  visitText(text2) {
15756
15906
  return text2.value;
@@ -15781,7 +15931,7 @@ function serializeIcuNode(icu) {
15781
15931
  return icu.visit(serializer);
15782
15932
  }
15783
15933
 
15784
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
15934
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
15785
15935
  var TAG_TO_PLACEHOLDER_NAMES = {
15786
15936
  "A": "LINK",
15787
15937
  "B": "BOLD_TEXT",
@@ -15875,7 +16025,7 @@ var PlaceholderRegistry = class {
15875
16025
  }
15876
16026
  };
15877
16027
 
15878
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
16028
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
15879
16029
  var _expParser = new Parser(new Lexer());
15880
16030
  function createI18nMessageFactory(interpolationConfig) {
15881
16031
  const visitor = new _I18nVisitor(_expParser, interpolationConfig);
@@ -16030,14 +16180,14 @@ function extractPlaceholderName(input) {
16030
16180
  return input.split(_CUSTOM_PH_EXP)[2];
16031
16181
  }
16032
16182
 
16033
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
16183
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
16034
16184
  var I18nError = class extends ParseError {
16035
16185
  constructor(span, msg) {
16036
16186
  super(span, msg);
16037
16187
  }
16038
16188
  };
16039
16189
 
16040
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
16190
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
16041
16191
  var setI18nRefs = (htmlNode, i18nNode) => {
16042
16192
  if (htmlNode instanceof NodeWithI18n) {
16043
16193
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -16186,7 +16336,7 @@ function i18nMetaToJSDoc(meta) {
16186
16336
  return jsDocComment(tags);
16187
16337
  }
16188
16338
 
16189
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16339
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16190
16340
  var GOOG_GET_MSG = "goog.getMsg";
16191
16341
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
16192
16342
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -16234,7 +16384,7 @@ function serializeI18nMessageForGetMsg(message) {
16234
16384
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
16235
16385
  }
16236
16386
 
16237
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16387
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16238
16388
  function createLocalizeStatements(variable2, message, params) {
16239
16389
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
16240
16390
  const sourceSpan = getSourceSpan(message);
@@ -16317,7 +16467,7 @@ function createEmptyMessagePart(location) {
16317
16467
  return new LiteralPiece("", new ParseSourceSpan(location, location));
16318
16468
  }
16319
16469
 
16320
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
16470
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
16321
16471
  var NG_CONTENT_SELECT_ATTR2 = "select";
16322
16472
  var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
16323
16473
  var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
@@ -17619,7 +17769,7 @@ function createClosureModeGuard() {
17619
17769
  return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
17620
17770
  }
17621
17771
 
17622
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
17772
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
17623
17773
  var ATTR_REGEX = /attr\.([^\]]+)/;
17624
17774
  var COMPONENT_VARIABLE = "%COMP%";
17625
17775
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
@@ -17656,6 +17806,7 @@ function addFeatures(definitionMap, meta) {
17656
17806
  const features = [];
17657
17807
  const providers = meta.providers;
17658
17808
  const viewProviders = meta.viewProviders;
17809
+ const inputKeys = Object.keys(meta.inputs);
17659
17810
  if (providers || viewProviders) {
17660
17811
  const args = [providers || new LiteralArrayExpr([])];
17661
17812
  if (viewProviders) {
@@ -17663,6 +17814,12 @@ function addFeatures(definitionMap, meta) {
17663
17814
  }
17664
17815
  features.push(importExpr(Identifiers.ProvidersFeature).callFn(args));
17665
17816
  }
17817
+ for (const key of inputKeys) {
17818
+ if (meta.inputs[key].transformFunction !== null) {
17819
+ features.push(importExpr(Identifiers.InputTransformsFeatureFeature));
17820
+ break;
17821
+ }
17822
+ }
17666
17823
  if (meta.usesInheritance) {
17667
17824
  features.push(importExpr(Identifiers.InheritDefinitionFeature));
17668
17825
  }
@@ -18168,11 +18325,11 @@ function createHostDirectivesMappingArray(mapping) {
18168
18325
  return elements.length > 0 ? literalArr(elements) : null;
18169
18326
  }
18170
18327
 
18171
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
18328
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/resource_loader.mjs
18172
18329
  var ResourceLoader = class {
18173
18330
  };
18174
18331
 
18175
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
18332
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
18176
18333
  var CompilerFacadeImpl = class {
18177
18334
  constructor(jitEvaluator = new JitEvaluator()) {
18178
18335
  this.jitEvaluator = jitEvaluator;
@@ -18383,7 +18540,8 @@ function convertDirectiveFacadeToMetadata(facade) {
18383
18540
  inputsFromType[field] = {
18384
18541
  bindingPropertyName: ann.alias || field,
18385
18542
  classPropertyName: field,
18386
- required: ann.required || false
18543
+ required: ann.required || false,
18544
+ transformFunction: ann.transform != null ? new WrappedNodeExpr(ann.transform) : null
18387
18545
  };
18388
18546
  } else if (isOutput(ann)) {
18389
18547
  outputsFromType[field] = ann.alias || field;
@@ -18619,7 +18777,21 @@ function isOutput(value) {
18619
18777
  function inputsMappingToInputMetadata(inputs) {
18620
18778
  return Object.keys(inputs).reduce((result, key) => {
18621
18779
  const value = inputs[key];
18622
- result[key] = typeof value === "string" ? { bindingPropertyName: value, classPropertyName: value, required: false } : { bindingPropertyName: value[0], classPropertyName: value[1], required: false };
18780
+ if (typeof value === "string") {
18781
+ result[key] = {
18782
+ bindingPropertyName: value,
18783
+ classPropertyName: value,
18784
+ transformFunction: null,
18785
+ required: false
18786
+ };
18787
+ } else {
18788
+ result[key] = {
18789
+ bindingPropertyName: value[0],
18790
+ classPropertyName: value[1],
18791
+ transformFunction: value[2] || null,
18792
+ required: false
18793
+ };
18794
+ }
18623
18795
  return result;
18624
18796
  }, {});
18625
18797
  }
@@ -18627,12 +18799,18 @@ function parseInputsArray(values) {
18627
18799
  return values.reduce((results, value) => {
18628
18800
  if (typeof value === "string") {
18629
18801
  const [bindingPropertyName, classPropertyName] = parseMappingString(value);
18630
- results[classPropertyName] = { bindingPropertyName, classPropertyName, required: false };
18802
+ results[classPropertyName] = {
18803
+ bindingPropertyName,
18804
+ classPropertyName,
18805
+ required: false,
18806
+ transformFunction: null
18807
+ };
18631
18808
  } else {
18632
18809
  results[value.name] = {
18633
18810
  bindingPropertyName: value.alias || value.name,
18634
18811
  classPropertyName: value.name,
18635
- required: value.required || false
18812
+ required: value.required || false,
18813
+ transformFunction: value.transform != null ? new WrappedNodeExpr(value.transform) : null
18636
18814
  };
18637
18815
  }
18638
18816
  return results;
@@ -18674,10 +18852,10 @@ function publishFacade(global2) {
18674
18852
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
18675
18853
  }
18676
18854
 
18677
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
18678
- var VERSION2 = new Version("16.1.0-next.1");
18855
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/version.mjs
18856
+ var VERSION2 = new Version("16.1.0-next.3");
18679
18857
 
18680
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
18858
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
18681
18859
  var _I18N_ATTR = "i18n";
18682
18860
  var _I18N_ATTR_PREFIX = "i18n-";
18683
18861
  var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
@@ -18981,7 +19159,7 @@ function _parseMessageMeta(i18n) {
18981
19159
  return { meaning, description, id: id.trim() };
18982
19160
  }
18983
19161
 
18984
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
19162
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
18985
19163
  var XmlTagDefinition = class {
18986
19164
  constructor() {
18987
19165
  this.closedByParent = false;
@@ -19006,7 +19184,7 @@ function getXmlTagDefinition(tagName) {
19006
19184
  return _TAG_DEFINITION;
19007
19185
  }
19008
19186
 
19009
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
19187
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
19010
19188
  var XmlParser = class extends Parser2 {
19011
19189
  constructor() {
19012
19190
  super(getXmlTagDefinition);
@@ -19016,7 +19194,7 @@ var XmlParser = class extends Parser2 {
19016
19194
  }
19017
19195
  };
19018
19196
 
19019
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
19197
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
19020
19198
  var _VERSION = "1.2";
19021
19199
  var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
19022
19200
  var _DEFAULT_SOURCE_LANG = "en";
@@ -19256,7 +19434,7 @@ function getCtypeForTag(tag) {
19256
19434
  }
19257
19435
  }
19258
19436
 
19259
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
19437
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
19260
19438
  var _VERSION2 = "2.0";
19261
19439
  var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
19262
19440
  var _DEFAULT_SOURCE_LANG2 = "en";
@@ -19547,7 +19725,7 @@ function getTypeForTag(tag) {
19547
19725
  }
19548
19726
  }
19549
19727
 
19550
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
19728
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
19551
19729
  var MessageBundle = class {
19552
19730
  constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
19553
19731
  this._htmlParser = _htmlParser;
@@ -19614,7 +19792,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
19614
19792
  }
19615
19793
  };
19616
19794
 
19617
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
19795
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
19618
19796
  var FactoryTarget2;
19619
19797
  (function(FactoryTarget3) {
19620
19798
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -19624,7 +19802,7 @@ var FactoryTarget2;
19624
19802
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
19625
19803
  })(FactoryTarget2 || (FactoryTarget2 = {}));
19626
19804
 
19627
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
19805
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
19628
19806
  var R3TargetBinder = class {
19629
19807
  constructor(directiveMatcher) {
19630
19808
  this.directiveMatcher = directiveMatcher;
@@ -19976,7 +20154,7 @@ function extractTemplateEntities(rootScope) {
19976
20154
  return templateEntities;
19977
20155
  }
19978
20156
 
19979
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
20157
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
19980
20158
  function compileClassMetadata(metadata) {
19981
20159
  var _a2, _b;
19982
20160
  const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
@@ -19989,12 +20167,12 @@ function compileClassMetadata(metadata) {
19989
20167
  return iife.callFn([]);
19990
20168
  }
19991
20169
 
19992
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
20170
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
19993
20171
  var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
19994
20172
  function compileDeclareClassMetadata(metadata) {
19995
20173
  const definitionMap = new DefinitionMap();
19996
20174
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
19997
- definitionMap.set("version", literal("16.1.0-next.1"));
20175
+ definitionMap.set("version", literal("16.1.0-next.3"));
19998
20176
  definitionMap.set("ngImport", importExpr(Identifiers.core));
19999
20177
  definitionMap.set("type", metadata.type);
20000
20178
  definitionMap.set("decorators", metadata.decorators);
@@ -20003,7 +20181,7 @@ function compileDeclareClassMetadata(metadata) {
20003
20181
  return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
20004
20182
  }
20005
20183
 
20006
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
20184
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
20007
20185
  function toOptionalLiteralArray(values, mapper) {
20008
20186
  if (values === null || values.length === 0) {
20009
20187
  return null;
@@ -20051,7 +20229,7 @@ function compileDependency(dep) {
20051
20229
  return depMeta.toLiteralMap();
20052
20230
  }
20053
20231
 
20054
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
20232
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
20055
20233
  var MINIMUM_PARTIAL_LINKER_VERSION2 = "14.0.0";
20056
20234
  function compileDeclareDirectiveFromMetadata(meta) {
20057
20235
  const definitionMap = createDirectiveDefinitionMap(meta);
@@ -20063,7 +20241,7 @@ function createDirectiveDefinitionMap(meta) {
20063
20241
  var _a2;
20064
20242
  const definitionMap = new DefinitionMap();
20065
20243
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
20066
- definitionMap.set("version", literal("16.1.0-next.1"));
20244
+ definitionMap.set("version", literal("16.1.0-next.3"));
20067
20245
  definitionMap.set("type", meta.type.value);
20068
20246
  if (meta.isStandalone) {
20069
20247
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -20156,7 +20334,7 @@ function createHostDirectives(hostDirectives) {
20156
20334
  return literalArr(expressions);
20157
20335
  }
20158
20336
 
20159
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
20337
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
20160
20338
  function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
20161
20339
  const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
20162
20340
  const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
@@ -20243,12 +20421,12 @@ function compileUsedDependenciesMetadata(meta) {
20243
20421
  });
20244
20422
  }
20245
20423
 
20246
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
20424
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
20247
20425
  var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
20248
20426
  function compileDeclareFactoryFunction(meta) {
20249
20427
  const definitionMap = new DefinitionMap();
20250
20428
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
20251
- definitionMap.set("version", literal("16.1.0-next.1"));
20429
+ definitionMap.set("version", literal("16.1.0-next.3"));
20252
20430
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20253
20431
  definitionMap.set("type", meta.type.value);
20254
20432
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -20260,7 +20438,7 @@ function compileDeclareFactoryFunction(meta) {
20260
20438
  };
20261
20439
  }
20262
20440
 
20263
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
20441
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
20264
20442
  var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
20265
20443
  function compileDeclareInjectableFromMetadata(meta) {
20266
20444
  const definitionMap = createInjectableDefinitionMap(meta);
@@ -20271,7 +20449,7 @@ function compileDeclareInjectableFromMetadata(meta) {
20271
20449
  function createInjectableDefinitionMap(meta) {
20272
20450
  const definitionMap = new DefinitionMap();
20273
20451
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
20274
- definitionMap.set("version", literal("16.1.0-next.1"));
20452
+ definitionMap.set("version", literal("16.1.0-next.3"));
20275
20453
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20276
20454
  definitionMap.set("type", meta.type.value);
20277
20455
  if (meta.providedIn !== void 0) {
@@ -20298,7 +20476,7 @@ function createInjectableDefinitionMap(meta) {
20298
20476
  return definitionMap;
20299
20477
  }
20300
20478
 
20301
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
20479
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
20302
20480
  var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
20303
20481
  function compileDeclareInjectorFromMetadata(meta) {
20304
20482
  const definitionMap = createInjectorDefinitionMap(meta);
@@ -20309,7 +20487,7 @@ function compileDeclareInjectorFromMetadata(meta) {
20309
20487
  function createInjectorDefinitionMap(meta) {
20310
20488
  const definitionMap = new DefinitionMap();
20311
20489
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
20312
- definitionMap.set("version", literal("16.1.0-next.1"));
20490
+ definitionMap.set("version", literal("16.1.0-next.3"));
20313
20491
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20314
20492
  definitionMap.set("type", meta.type.value);
20315
20493
  definitionMap.set("providers", meta.providers);
@@ -20319,7 +20497,7 @@ function createInjectorDefinitionMap(meta) {
20319
20497
  return definitionMap;
20320
20498
  }
20321
20499
 
20322
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
20500
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
20323
20501
  var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
20324
20502
  function compileDeclareNgModuleFromMetadata(meta) {
20325
20503
  const definitionMap = createNgModuleDefinitionMap(meta);
@@ -20330,7 +20508,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
20330
20508
  function createNgModuleDefinitionMap(meta) {
20331
20509
  const definitionMap = new DefinitionMap();
20332
20510
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
20333
- definitionMap.set("version", literal("16.1.0-next.1"));
20511
+ definitionMap.set("version", literal("16.1.0-next.3"));
20334
20512
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20335
20513
  definitionMap.set("type", meta.type.value);
20336
20514
  if (meta.bootstrap.length > 0) {
@@ -20354,7 +20532,7 @@ function createNgModuleDefinitionMap(meta) {
20354
20532
  return definitionMap;
20355
20533
  }
20356
20534
 
20357
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
20535
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
20358
20536
  var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
20359
20537
  function compileDeclarePipeFromMetadata(meta) {
20360
20538
  const definitionMap = createPipeDefinitionMap(meta);
@@ -20365,7 +20543,7 @@ function compileDeclarePipeFromMetadata(meta) {
20365
20543
  function createPipeDefinitionMap(meta) {
20366
20544
  const definitionMap = new DefinitionMap();
20367
20545
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
20368
- definitionMap.set("version", literal("16.1.0-next.1"));
20546
+ definitionMap.set("version", literal("16.1.0-next.3"));
20369
20547
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20370
20548
  definitionMap.set("type", meta.type.value);
20371
20549
  if (meta.isStandalone) {
@@ -20378,13 +20556,13 @@ function createPipeDefinitionMap(meta) {
20378
20556
  return definitionMap;
20379
20557
  }
20380
20558
 
20381
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
20559
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler.mjs
20382
20560
  publishFacade(_global);
20383
20561
 
20384
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
20385
- var VERSION3 = new Version("16.1.0-next.1");
20562
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version.mjs
20563
+ var VERSION3 = new Version("16.1.0-next.3");
20386
20564
 
20387
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
20565
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
20388
20566
  var EmitFlags;
20389
20567
  (function(EmitFlags2) {
20390
20568
  EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
@@ -20396,13 +20574,13 @@ var EmitFlags;
20396
20574
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
20397
20575
  })(EmitFlags || (EmitFlags = {}));
20398
20576
 
20399
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
20577
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
20400
20578
  var import_typescript2 = __toESM(require("typescript"), 1);
20401
20579
 
20402
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
20580
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
20403
20581
  var import_typescript94 = __toESM(require("typescript"), 1);
20404
20582
 
20405
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
20583
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
20406
20584
  var path = __toESM(require("path"), 1);
20407
20585
  function i18nGetExtension(formatName) {
20408
20586
  const format = formatName.toLowerCase();
@@ -20452,10 +20630,10 @@ function getPathNormalizer(basePath) {
20452
20630
  };
20453
20631
  }
20454
20632
 
20455
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
20633
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
20456
20634
  var import_typescript3 = __toESM(require("typescript"), 1);
20457
20635
 
20458
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
20636
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
20459
20637
  function toNumbers(value) {
20460
20638
  const suffixIndex = value.lastIndexOf("-");
20461
20639
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -20490,7 +20668,7 @@ function compareVersions(v1, v2) {
20490
20668
  return compareNumbers(toNumbers(v1), toNumbers(v2));
20491
20669
  }
20492
20670
 
20493
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
20671
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
20494
20672
  var MIN_TS_VERSION = "4.9.3";
20495
20673
  var MAX_TS_VERSION = "5.2.0";
20496
20674
  var tsVersion = import_typescript3.default.version;
@@ -20503,13 +20681,13 @@ function verifySupportedTypeScriptVersion() {
20503
20681
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
20504
20682
  }
20505
20683
 
20506
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
20684
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
20507
20685
  var import_typescript90 = __toESM(require("typescript"), 1);
20508
20686
 
20509
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
20687
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
20510
20688
  var import_typescript14 = __toESM(require("typescript"), 1);
20511
20689
 
20512
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
20690
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
20513
20691
  var ErrorCode;
20514
20692
  (function(ErrorCode2) {
20515
20693
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -20538,6 +20716,7 @@ var ErrorCode;
20538
20716
  ErrorCode2[ErrorCode2["HOST_DIRECTIVE_UNDEFINED_BINDING"] = 2017] = "HOST_DIRECTIVE_UNDEFINED_BINDING";
20539
20717
  ErrorCode2[ErrorCode2["HOST_DIRECTIVE_CONFLICTING_ALIAS"] = 2018] = "HOST_DIRECTIVE_CONFLICTING_ALIAS";
20540
20718
  ErrorCode2[ErrorCode2["HOST_DIRECTIVE_MISSING_REQUIRED_BINDING"] = 2019] = "HOST_DIRECTIVE_MISSING_REQUIRED_BINDING";
20719
+ ErrorCode2[ErrorCode2["CONFLICTING_INPUT_TRANSFORM"] = 2020] = "CONFLICTING_INPUT_TRANSFORM";
20541
20720
  ErrorCode2[ErrorCode2["SYMBOL_NOT_EXPORTED"] = 3001] = "SYMBOL_NOT_EXPORTED";
20542
20721
  ErrorCode2[ErrorCode2["IMPORT_CYCLE_DETECTED"] = 3003] = "IMPORT_CYCLE_DETECTED";
20543
20722
  ErrorCode2[ErrorCode2["IMPORT_GENERATION_FAILURE"] = 3004] = "IMPORT_GENERATION_FAILURE";
@@ -20582,7 +20761,7 @@ var ErrorCode;
20582
20761
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
20583
20762
  })(ErrorCode || (ErrorCode = {}));
20584
20763
 
20585
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
20764
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
20586
20765
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
20587
20766
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
20588
20767
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -20594,15 +20773,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
20594
20773
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
20595
20774
  ]);
20596
20775
 
20597
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
20776
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
20598
20777
  var import_typescript4 = __toESM(require("typescript"), 1);
20599
20778
 
20600
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
20779
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
20601
20780
  function ngErrorCode(code) {
20602
20781
  return parseInt("-99" + code);
20603
20782
  }
20604
20783
 
20605
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
20784
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
20606
20785
  var FatalDiagnosticError = class {
20607
20786
  constructor(code, node, message, relatedInformation) {
20608
20787
  this.code = code;
@@ -20658,10 +20837,10 @@ function addDiagnosticChain(messageText, add) {
20658
20837
  return messageText;
20659
20838
  }
20660
20839
 
20661
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
20840
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
20662
20841
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
20663
20842
 
20664
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
20843
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
20665
20844
  var ExtendedTemplateDiagnosticName;
20666
20845
  (function(ExtendedTemplateDiagnosticName2) {
20667
20846
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -20674,13 +20853,13 @@ var ExtendedTemplateDiagnosticName;
20674
20853
  ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
20675
20854
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
20676
20855
 
20677
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
20856
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
20678
20857
  var import_typescript13 = __toESM(require("typescript"), 1);
20679
20858
 
20680
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
20859
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
20681
20860
  var import_typescript7 = __toESM(require("typescript"), 1);
20682
20861
 
20683
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
20862
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
20684
20863
  var import_typescript5 = __toESM(require("typescript"), 1);
20685
20864
  var TS = /\.tsx?$/i;
20686
20865
  var D_TS = /\.d\.ts$/i;
@@ -20781,7 +20960,7 @@ function toUnredirectedSourceFile(sf) {
20781
20960
  return redirectInfo.unredirected;
20782
20961
  }
20783
20962
 
20784
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
20963
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
20785
20964
  function findExportedNameOfNode(target, file, reflector) {
20786
20965
  const exports = reflector.getExportsOfModule(file);
20787
20966
  if (exports === null) {
@@ -20801,7 +20980,7 @@ function findExportedNameOfNode(target, file, reflector) {
20801
20980
  return foundExportName;
20802
20981
  }
20803
20982
 
20804
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
20983
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
20805
20984
  var ImportFlags;
20806
20985
  (function(ImportFlags2) {
20807
20986
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -21017,7 +21196,7 @@ var UnifiedModulesStrategy = class {
21017
21196
  }
21018
21197
  };
21019
21198
 
21020
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
21199
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
21021
21200
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
21022
21201
  var UnifiedModulesAliasingHost = class {
21023
21202
  constructor(unifiedModulesHost) {
@@ -21084,7 +21263,7 @@ var AliasStrategy = class {
21084
21263
  }
21085
21264
  };
21086
21265
 
21087
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
21266
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
21088
21267
  function relativePathBetween(from, to) {
21089
21268
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
21090
21269
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -21093,7 +21272,7 @@ function normalizeSeparators2(path3) {
21093
21272
  return path3.replace(/\\/g, "/");
21094
21273
  }
21095
21274
 
21096
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
21275
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
21097
21276
  var NoopImportRewriter = class {
21098
21277
  shouldImportSymbol(symbol, specifier) {
21099
21278
  return true;
@@ -21151,7 +21330,7 @@ function validateAndRewriteCoreSymbol(name) {
21151
21330
  return CORE_SUPPORTED_SYMBOLS.get(name);
21152
21331
  }
21153
21332
 
21154
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
21333
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
21155
21334
  var import_typescript9 = __toESM(require("typescript"), 1);
21156
21335
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
21157
21336
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -21186,7 +21365,7 @@ function throwIncompatibleTransformationContextError() {
21186
21365
  throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
21187
21366
  }
21188
21367
 
21189
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
21368
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
21190
21369
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
21191
21370
  function attachDefaultImportDeclaration(expr, importDecl) {
21192
21371
  expr[DefaultImportDeclaration] = importDecl;
@@ -21227,7 +21406,7 @@ var DefaultImportTracker = class {
21227
21406
  }
21228
21407
  };
21229
21408
 
21230
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
21409
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
21231
21410
  var Reference2 = class {
21232
21411
  constructor(node, bestGuessOwningModule = null) {
21233
21412
  this.node = node;
@@ -21290,7 +21469,7 @@ var Reference2 = class {
21290
21469
  }
21291
21470
  };
21292
21471
 
21293
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
21472
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
21294
21473
  var ModuleResolver = class {
21295
21474
  constructor(program, compilerOptions, host, moduleResolutionCache) {
21296
21475
  this.program = program;
@@ -21307,7 +21486,7 @@ var ModuleResolver = class {
21307
21486
  }
21308
21487
  };
21309
21488
 
21310
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
21489
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
21311
21490
  function valueReferenceToExpression(valueRef) {
21312
21491
  if (valueRef.kind === 2) {
21313
21492
  return null;
@@ -21496,12 +21675,12 @@ function createSourceSpan(node) {
21496
21675
  const parseSf = new ParseSourceFile(sf.getFullText(), sf.fileName);
21497
21676
  return new ParseSourceSpan(new ParseLocation(parseSf, startOffset, startLine + 1, startCol + 1), new ParseLocation(parseSf, endOffset, endLine + 1, endCol + 1));
21498
21677
  }
21499
- function compileResults(fac, def, metadataStmt, propName) {
21678
+ function compileResults(fac, def, metadataStmt, propName, additionalFields) {
21500
21679
  const statements = def.statements;
21501
21680
  if (metadataStmt !== null) {
21502
21681
  statements.push(metadataStmt);
21503
21682
  }
21504
- return [
21683
+ const results = [
21505
21684
  fac,
21506
21685
  {
21507
21686
  name: propName,
@@ -21510,6 +21689,10 @@ function compileResults(fac, def, metadataStmt, propName) {
21510
21689
  type: def.type
21511
21690
  }
21512
21691
  ];
21692
+ if (additionalFields !== null) {
21693
+ results.push(...additionalFields);
21694
+ }
21695
+ return results;
21513
21696
  }
21514
21697
  function toFactoryMetadata(meta, target) {
21515
21698
  return {
@@ -21542,7 +21725,7 @@ function isAbstractClassDeclaration(clazz) {
21542
21725
  return import_typescript13.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript13.default.SyntaxKind.AbstractKeyword) : false;
21543
21726
  }
21544
21727
 
21545
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
21728
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
21546
21729
  function getConstructorDependencies(clazz, reflector, isCore) {
21547
21730
  const deps = [];
21548
21731
  const errors = [];
@@ -21684,10 +21867,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
21684
21867
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
21685
21868
  }
21686
21869
 
21687
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
21870
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
21688
21871
  var import_typescript27 = __toESM(require("typescript"), 1);
21689
21872
 
21690
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
21873
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
21691
21874
  var MetaKind;
21692
21875
  (function(MetaKind2) {
21693
21876
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -21700,10 +21883,10 @@ var MatchSource;
21700
21883
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
21701
21884
  })(MatchSource || (MatchSource = {}));
21702
21885
 
21703
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
21886
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
21704
21887
  var import_typescript22 = __toESM(require("typescript"), 1);
21705
21888
 
21706
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
21889
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
21707
21890
  var import_typescript15 = __toESM(require("typescript"), 1);
21708
21891
  function isDecoratorIdentifier(exp) {
21709
21892
  return import_typescript15.default.isIdentifier(exp) || import_typescript15.default.isPropertyAccessExpression(exp) && import_typescript15.default.isIdentifier(exp.expression) && import_typescript15.default.isIdentifier(exp.name);
@@ -21717,7 +21900,7 @@ var ClassMemberKind;
21717
21900
  ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
21718
21901
  })(ClassMemberKind || (ClassMemberKind = {}));
21719
21902
 
21720
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
21903
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
21721
21904
  var import_typescript16 = __toESM(require("typescript"), 1);
21722
21905
  function typeToValue(typeNode, checker) {
21723
21906
  if (typeNode === null) {
@@ -21883,10 +22066,10 @@ function extractModuleName(node) {
21883
22066
  return node.moduleSpecifier.text;
21884
22067
  }
21885
22068
 
21886
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
22069
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
21887
22070
  var import_typescript18 = __toESM(require("typescript"), 1);
21888
22071
 
21889
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
22072
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
21890
22073
  var import_typescript17 = __toESM(require("typescript"), 1);
21891
22074
  function isNamedClassDeclaration(node) {
21892
22075
  return import_typescript17.default.isClassDeclaration(node) && isIdentifier(node.name);
@@ -21895,7 +22078,7 @@ function isIdentifier(node) {
21895
22078
  return node !== void 0 && import_typescript17.default.isIdentifier(node);
21896
22079
  }
21897
22080
 
21898
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
22081
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
21899
22082
  var TypeScriptReflectionHost = class {
21900
22083
  constructor(checker) {
21901
22084
  this.checker = checker;
@@ -22000,9 +22183,12 @@ var TypeScriptReflectionHost = class {
22000
22183
  if (node.body !== void 0) {
22001
22184
  body = import_typescript18.default.isBlock(node.body) ? Array.from(node.body.statements) : [import_typescript18.default.factory.createReturnStatement(node.body)];
22002
22185
  }
22186
+ const type = this.checker.getTypeAtLocation(node);
22187
+ const signatures = this.checker.getSignaturesOfType(type, import_typescript18.default.SignatureKind.Call);
22003
22188
  return {
22004
22189
  node,
22005
22190
  body,
22191
+ signatureCount: signatures.length,
22006
22192
  typeParameters: node.typeParameters === void 0 ? null : Array.from(node.typeParameters),
22007
22193
  parameters: node.parameters.map((param) => {
22008
22194
  const name = parameterName(param.name);
@@ -22321,7 +22507,7 @@ function getExportedName(decl, originalId) {
22321
22507
  }
22322
22508
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
22323
22509
 
22324
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
22510
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
22325
22511
  var ClassPropertyMapping = class {
22326
22512
  constructor(forwardMap) {
22327
22513
  this.forwardMap = forwardMap;
@@ -22375,10 +22561,10 @@ var ClassPropertyMapping = class {
22375
22561
  }
22376
22562
  return obj;
22377
22563
  }
22378
- toJointMappedObject() {
22564
+ toJointMappedObject(transform) {
22379
22565
  const obj = {};
22380
22566
  for (const [classPropertyName, inputOrOutput] of this.forwardMap) {
22381
- obj[classPropertyName] = inputOrOutput;
22567
+ obj[classPropertyName] = transform(inputOrOutput);
22382
22568
  }
22383
22569
  return obj;
22384
22570
  }
@@ -22399,7 +22585,7 @@ function reverseMapFromForwardMap(forwardMap) {
22399
22585
  return reverseMap;
22400
22586
  }
22401
22587
 
22402
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
22588
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
22403
22589
  var import_typescript20 = __toESM(require("typescript"), 1);
22404
22590
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
22405
22591
  if (!import_typescript20.default.isTupleTypeNode(def)) {
@@ -22481,7 +22667,7 @@ function extractDirectiveTypeCheckMeta(node, inputs, reflector) {
22481
22667
  const restrictedInputFields = /* @__PURE__ */ new Set();
22482
22668
  const stringLiteralInputFields = /* @__PURE__ */ new Set();
22483
22669
  const undeclaredInputFields = /* @__PURE__ */ new Set();
22484
- for (const classPropertyName of inputs.classPropertyNames) {
22670
+ for (const { classPropertyName, transform } of inputs) {
22485
22671
  const field = members.find((member) => member.name === classPropertyName);
22486
22672
  if (field === void 0 || field.node === null) {
22487
22673
  undeclaredInputFields.add(classPropertyName);
@@ -22493,6 +22679,9 @@ function extractDirectiveTypeCheckMeta(node, inputs, reflector) {
22493
22679
  if (field.nameNode !== null && import_typescript20.default.isStringLiteral(field.nameNode)) {
22494
22680
  stringLiteralInputFields.add(classPropertyName);
22495
22681
  }
22682
+ if (transform !== null) {
22683
+ coercedInputFields.add(classPropertyName);
22684
+ }
22496
22685
  }
22497
22686
  const arity = reflector.getGenericArityOfClass(node);
22498
22687
  return {
@@ -22581,7 +22770,7 @@ function hasInjectableFields(clazz, host) {
22581
22770
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
22582
22771
  }
22583
22772
 
22584
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
22773
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
22585
22774
  var DtsMetadataReader = class {
22586
22775
  constructor(checker, reflector) {
22587
22776
  this.checker = checker;
@@ -22686,21 +22875,24 @@ function readInputsType(type) {
22686
22875
  continue;
22687
22876
  }
22688
22877
  const stringValue = readStringType(member.type);
22878
+ const classPropertyName = member.name.text;
22689
22879
  if (stringValue != null) {
22690
- inputsMap[member.name.text] = {
22880
+ inputsMap[classPropertyName] = {
22691
22881
  bindingPropertyName: stringValue,
22692
- classPropertyName: member.name.text,
22693
- required: false
22882
+ classPropertyName,
22883
+ required: false,
22884
+ transform: null
22694
22885
  };
22695
22886
  } else {
22696
22887
  const config = readMapType(member.type, (innerValue) => {
22697
22888
  var _a2;
22698
22889
  return (_a2 = readStringType(innerValue)) != null ? _a2 : readBooleanType(innerValue);
22699
22890
  });
22700
- inputsMap[member.name.text] = {
22701
- classPropertyName: member.name.text,
22891
+ inputsMap[classPropertyName] = {
22892
+ classPropertyName,
22702
22893
  bindingPropertyName: config.alias,
22703
- required: config.required
22894
+ required: config.required,
22895
+ transform: null
22704
22896
  };
22705
22897
  }
22706
22898
  }
@@ -22753,7 +22945,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
22753
22945
  return result.length > 0 ? result : null;
22754
22946
  }
22755
22947
 
22756
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
22948
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
22757
22949
  function flattenInheritedDirectiveMetadata(reader, dir) {
22758
22950
  const topMeta = reader.getDirectiveMetadata(dir);
22759
22951
  if (topMeta === null) {
@@ -22810,7 +23002,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
22810
23002
  });
22811
23003
  }
22812
23004
 
22813
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
23005
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
22814
23006
  var LocalMetadataRegistry = class {
22815
23007
  constructor() {
22816
23008
  this.directives = /* @__PURE__ */ new Map();
@@ -22867,7 +23059,7 @@ var CompoundMetadataRegistry = class {
22867
23059
  }
22868
23060
  };
22869
23061
 
22870
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
23062
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
22871
23063
  var ResourceRegistry = class {
22872
23064
  constructor() {
22873
23065
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -22932,7 +23124,7 @@ var ResourceRegistry = class {
22932
23124
  }
22933
23125
  };
22934
23126
 
22935
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
23127
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
22936
23128
  var ExportedProviderStatusResolver = class {
22937
23129
  constructor(metaReader) {
22938
23130
  this.metaReader = metaReader;
@@ -22976,7 +23168,7 @@ var ExportedProviderStatusResolver = class {
22976
23168
  }
22977
23169
  };
22978
23170
 
22979
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
23171
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
22980
23172
  var EMPTY_ARRAY = [];
22981
23173
  var HostDirectivesResolver = class {
22982
23174
  constructor(metaReader) {
@@ -23029,17 +23221,18 @@ function resolveInput(bindingName, binding) {
23029
23221
  return {
23030
23222
  bindingPropertyName: bindingName,
23031
23223
  classPropertyName: binding.classPropertyName,
23032
- required: binding.required
23224
+ required: binding.required,
23225
+ transform: binding.transform
23033
23226
  };
23034
23227
  }
23035
23228
  function resolveOutput(bindingName) {
23036
23229
  return bindingName;
23037
23230
  }
23038
23231
 
23039
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
23232
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
23040
23233
  var import_typescript24 = __toESM(require("typescript"), 1);
23041
23234
 
23042
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
23235
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
23043
23236
  var DynamicValue = class {
23044
23237
  constructor(node, reason, code) {
23045
23238
  this.node = node;
@@ -23129,7 +23322,7 @@ var DynamicValue = class {
23129
23322
  }
23130
23323
  };
23131
23324
 
23132
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
23325
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
23133
23326
  var ResolvedModule = class {
23134
23327
  constructor(exports, evaluate) {
23135
23328
  this.exports = exports;
@@ -23159,7 +23352,7 @@ var EnumValue = class {
23159
23352
  var KnownFn = class {
23160
23353
  };
23161
23354
 
23162
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
23355
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
23163
23356
  function describeResolvedType(value, maxDepth = 1) {
23164
23357
  var _a2, _b;
23165
23358
  if (value === null) {
@@ -23288,10 +23481,10 @@ function getContainerNode(node) {
23288
23481
  return node.getSourceFile();
23289
23482
  }
23290
23483
 
23291
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
23484
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
23292
23485
  var import_typescript25 = __toESM(require("typescript"), 1);
23293
23486
 
23294
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
23487
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
23295
23488
  var ArraySliceBuiltinFn = class extends KnownFn {
23296
23489
  constructor(lhs) {
23297
23490
  super();
@@ -23343,14 +23536,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
23343
23536
  }
23344
23537
  };
23345
23538
 
23346
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
23539
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
23347
23540
  var SyntheticValue = class {
23348
23541
  constructor(value) {
23349
23542
  this.value = value;
23350
23543
  }
23351
23544
  };
23352
23545
 
23353
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
23546
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
23354
23547
  function literalBinaryOp(op) {
23355
23548
  return { op, literal: true };
23356
23549
  }
@@ -23507,7 +23700,7 @@ var StaticInterpreter = class {
23507
23700
  visitIdentifier(node, context) {
23508
23701
  const decl = this.host.getDeclarationOfIdentifier(node);
23509
23702
  if (decl === null) {
23510
- if (node.originalKeywordKind === import_typescript25.default.SyntaxKind.UndefinedKeyword) {
23703
+ if (getOriginalKeywordKind(node) === import_typescript25.default.SyntaxKind.UndefinedKeyword) {
23511
23704
  return void 0;
23512
23705
  } else {
23513
23706
  if (this.dependencyTracker !== null && this.host.getImportOfIdentifier(node) !== null) {
@@ -23924,8 +24117,11 @@ function owningModule(context, override = null) {
23924
24117
  return null;
23925
24118
  }
23926
24119
  }
24120
+ function getOriginalKeywordKind(identifier) {
24121
+ return typeof import_typescript25.default.identifierToKeywordKind === "function" ? import_typescript25.default.identifierToKeywordKind(identifier) : identifier.originalKeywordKind;
24122
+ }
23927
24123
 
23928
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
24124
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
23929
24125
  var PartialEvaluator = class {
23930
24126
  constructor(host, checker, dependencyTracker) {
23931
24127
  this.host = host;
@@ -23945,7 +24141,7 @@ var PartialEvaluator = class {
23945
24141
  }
23946
24142
  };
23947
24143
 
23948
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
24144
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
23949
24145
  function makeDuplicateDeclarationError(node, data, kind) {
23950
24146
  const context = [];
23951
24147
  for (const decl of data) {
@@ -24141,7 +24337,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
24141
24337
  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}.`);
24142
24338
  }
24143
24339
 
24144
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
24340
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
24145
24341
  var import_typescript29 = __toESM(require("typescript"), 1);
24146
24342
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
24147
24343
  let resolved = null;
@@ -24174,7 +24370,7 @@ function resolveLiteral(decorator, literalCache) {
24174
24370
  return meta;
24175
24371
  }
24176
24372
 
24177
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
24373
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
24178
24374
  function compileNgFactoryDefField(metadata) {
24179
24375
  const res = compileFactoryFunction(metadata);
24180
24376
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
@@ -24184,7 +24380,7 @@ function compileDeclareFactory(metadata) {
24184
24380
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
24185
24381
  }
24186
24382
 
24187
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
24383
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
24188
24384
  var InjectableClassRegistry = class {
24189
24385
  constructor(host, isCore) {
24190
24386
  this.host = host;
@@ -24210,7 +24406,7 @@ var InjectableClassRegistry = class {
24210
24406
  }
24211
24407
  };
24212
24408
 
24213
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
24409
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
24214
24410
  var import_typescript30 = __toESM(require("typescript"), 1);
24215
24411
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
24216
24412
  if (!reflection.isClass(clazz)) {
@@ -24296,13 +24492,13 @@ function removeIdentifierReferences(node, name) {
24296
24492
  return result.transformed[0];
24297
24493
  }
24298
24494
 
24299
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
24495
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
24300
24496
  var NoopReferencesRegistry = class {
24301
24497
  add(source, ...references) {
24302
24498
  }
24303
24499
  };
24304
24500
 
24305
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
24501
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
24306
24502
  function extractSchemas(rawExpr, evaluator, context) {
24307
24503
  const schemas = [];
24308
24504
  const result = evaluator.evaluate(rawExpr);
@@ -24331,10 +24527,26 @@ function extractSchemas(rawExpr, evaluator, context) {
24331
24527
  return schemas;
24332
24528
  }
24333
24529
 
24334
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
24530
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
24531
+ function compileInputTransformFields(inputs) {
24532
+ const extraFields = [];
24533
+ for (const input of inputs) {
24534
+ if (input.transform) {
24535
+ extraFields.push({
24536
+ name: `ngAcceptInputType_${input.classPropertyName}`,
24537
+ type: output_ast_exports.transplantedType(input.transform.type),
24538
+ statements: [],
24539
+ initializer: null
24540
+ });
24541
+ }
24542
+ }
24543
+ return extraFields;
24544
+ }
24545
+
24546
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
24335
24547
  var import_typescript51 = __toESM(require("typescript"), 1);
24336
24548
 
24337
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
24549
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
24338
24550
  var import_typescript31 = __toESM(require("typescript"), 1);
24339
24551
  var SemanticSymbol = class {
24340
24552
  constructor(decl) {
@@ -24350,7 +24562,7 @@ function getSymbolIdentifier(decl) {
24350
24562
  return decl.name.text;
24351
24563
  }
24352
24564
 
24353
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
24565
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
24354
24566
  var OpaqueSymbol = class extends SemanticSymbol {
24355
24567
  isPublicApiAffected() {
24356
24568
  return false;
@@ -24492,10 +24704,10 @@ function getImportPath(expr) {
24492
24704
  }
24493
24705
  }
24494
24706
 
24495
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
24707
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
24496
24708
  var import_typescript32 = __toESM(require("typescript"), 1);
24497
24709
 
24498
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
24710
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
24499
24711
  function isSymbolEqual(a, b) {
24500
24712
  if (a.decl === b.decl) {
24501
24713
  return true;
@@ -24545,7 +24757,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
24545
24757
  return true;
24546
24758
  }
24547
24759
 
24548
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
24760
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
24549
24761
  function extractSemanticTypeParameters(node) {
24550
24762
  if (!import_typescript32.default.isClassDeclaration(node) || node.typeParameters === void 0) {
24551
24763
  return null;
@@ -24565,7 +24777,7 @@ function isTypeParameterEqual(a, b) {
24565
24777
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
24566
24778
  }
24567
24779
 
24568
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
24780
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
24569
24781
  var PerfPhase;
24570
24782
  (function(PerfPhase2) {
24571
24783
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -24632,7 +24844,7 @@ var PerfCheckpoint;
24632
24844
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
24633
24845
  })(PerfCheckpoint || (PerfCheckpoint = {}));
24634
24846
 
24635
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
24847
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
24636
24848
  var NoopPerfRecorder = class {
24637
24849
  eventCount() {
24638
24850
  }
@@ -24649,7 +24861,7 @@ var NoopPerfRecorder = class {
24649
24861
  };
24650
24862
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
24651
24863
 
24652
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
24864
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
24653
24865
  function mark() {
24654
24866
  return process.hrtime();
24655
24867
  }
@@ -24658,7 +24870,7 @@ function timeSinceInMicros(mark2) {
24658
24870
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
24659
24871
  }
24660
24872
 
24661
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
24873
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
24662
24874
  var ActivePerfRecorder = class {
24663
24875
  static zeroedToNow() {
24664
24876
  return new ActivePerfRecorder(mark());
@@ -24752,14 +24964,14 @@ var DelegatingPerfRecorder = class {
24752
24964
  }
24753
24965
  };
24754
24966
 
24755
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
24967
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
24756
24968
  var ComponentScopeKind;
24757
24969
  (function(ComponentScopeKind2) {
24758
24970
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
24759
24971
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
24760
24972
  })(ComponentScopeKind || (ComponentScopeKind = {}));
24761
24973
 
24762
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
24974
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
24763
24975
  var CompoundComponentScopeReader = class {
24764
24976
  constructor(readers) {
24765
24977
  this.readers = readers;
@@ -24784,7 +24996,7 @@ var CompoundComponentScopeReader = class {
24784
24996
  }
24785
24997
  };
24786
24998
 
24787
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
24999
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
24788
25000
  var MetadataDtsModuleScopeResolver = class {
24789
25001
  constructor(dtsMetaReader, aliasingHost) {
24790
25002
  this.dtsMetaReader = dtsMetaReader;
@@ -24859,10 +25071,10 @@ var MetadataDtsModuleScopeResolver = class {
24859
25071
  }
24860
25072
  };
24861
25073
 
24862
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
25074
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
24863
25075
  var import_typescript33 = __toESM(require("typescript"), 1);
24864
25076
 
24865
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
25077
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
24866
25078
  function getDiagnosticNode(ref, rawExpr) {
24867
25079
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
24868
25080
  }
@@ -24885,7 +25097,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
24885
25097
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
24886
25098
  }
24887
25099
 
24888
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
25100
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
24889
25101
  var LocalModuleScopeRegistry = class {
24890
25102
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
24891
25103
  this.localReader = localReader;
@@ -25224,7 +25436,7 @@ function reexportCollision(module3, refA, refB) {
25224
25436
  ]);
25225
25437
  }
25226
25438
 
25227
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
25439
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
25228
25440
  var import_typescript35 = __toESM(require("typescript"), 1);
25229
25441
  var TypeCheckScopeRegistry = class {
25230
25442
  constructor(scopeReader, metaReader, hostDirectivesResolver) {
@@ -25292,7 +25504,7 @@ var TypeCheckScopeRegistry = class {
25292
25504
  }
25293
25505
  };
25294
25506
 
25295
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
25507
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
25296
25508
  var CompilationMode;
25297
25509
  (function(CompilationMode2) {
25298
25510
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -25311,7 +25523,7 @@ var HandlerFlags;
25311
25523
  HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
25312
25524
  })(HandlerFlags || (HandlerFlags = {}));
25313
25525
 
25314
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
25526
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
25315
25527
  var import_typescript36 = __toESM(require("typescript"), 1);
25316
25528
  function aliasTransformFactory(exportStatements) {
25317
25529
  return () => {
@@ -25334,10 +25546,10 @@ function aliasTransformFactory(exportStatements) {
25334
25546
  };
25335
25547
  }
25336
25548
 
25337
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
25549
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
25338
25550
  var import_typescript37 = __toESM(require("typescript"), 1);
25339
25551
 
25340
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
25552
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
25341
25553
  var TraitState;
25342
25554
  (function(TraitState2) {
25343
25555
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -25394,7 +25606,7 @@ var TraitImpl = class {
25394
25606
  }
25395
25607
  };
25396
25608
 
25397
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
25609
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
25398
25610
  var TraitCompiler = class {
25399
25611
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
25400
25612
  this.handlers = handlers;
@@ -25629,7 +25841,7 @@ var TraitCompiler = class {
25629
25841
  }
25630
25842
  resolve() {
25631
25843
  var _a2, _b;
25632
- const classes = Array.from(this.classes.keys());
25844
+ const classes = this.classes.keys();
25633
25845
  for (const clazz of classes) {
25634
25846
  const record = this.classes.get(clazz);
25635
25847
  for (let trait of record.traits) {
@@ -25829,10 +26041,10 @@ function containsErrors(diagnostics) {
25829
26041
  return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript37.default.DiagnosticCategory.Error);
25830
26042
  }
25831
26043
 
25832
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
26044
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
25833
26045
  var import_typescript43 = __toESM(require("typescript"), 1);
25834
26046
 
25835
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
26047
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
25836
26048
  var Context = class {
25837
26049
  constructor(isStatement) {
25838
26050
  this.isStatement = isStatement;
@@ -25845,7 +26057,7 @@ var Context = class {
25845
26057
  }
25846
26058
  };
25847
26059
 
25848
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
26060
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
25849
26061
  var import_typescript39 = __toESM(require("typescript"), 1);
25850
26062
  var ImportManager = class {
25851
26063
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
@@ -25881,7 +26093,7 @@ var ImportManager = class {
25881
26093
  }
25882
26094
  };
25883
26095
 
25884
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
26096
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
25885
26097
  var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
25886
26098
  [UnaryOperator.Minus, "-"],
25887
26099
  [UnaryOperator.Plus, "+"]
@@ -26112,7 +26324,7 @@ function createRange(span) {
26112
26324
  };
26113
26325
  }
26114
26326
 
26115
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
26327
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
26116
26328
  var import_typescript40 = __toESM(require("typescript"), 1);
26117
26329
  function translateType(type, contextFile, reflector, refEmitter, imports) {
26118
26330
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
@@ -26328,7 +26540,7 @@ var TypeTranslatorVisitor = class {
26328
26540
  }
26329
26541
  };
26330
26542
 
26331
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
26543
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
26332
26544
  var import_typescript41 = __toESM(require("typescript"), 1);
26333
26545
  var PureAnnotation;
26334
26546
  (function(PureAnnotation2) {
@@ -26511,7 +26723,7 @@ function attachComments(statement, leadingComments) {
26511
26723
  }
26512
26724
  }
26513
26725
 
26514
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
26726
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
26515
26727
  function translateExpression(expression, imports, options = {}) {
26516
26728
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
26517
26729
  }
@@ -26519,7 +26731,7 @@ function translateStatement(statement, imports, options = {}) {
26519
26731
  return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
26520
26732
  }
26521
26733
 
26522
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
26734
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
26523
26735
  var import_typescript42 = __toESM(require("typescript"), 1);
26524
26736
  function addImports(importManager, sf, extraStatements = []) {
26525
26737
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -26555,7 +26767,7 @@ function isImportStatement(stmt) {
26555
26767
  return import_typescript42.default.isImportDeclaration(stmt) || import_typescript42.default.isImportEqualsDeclaration(stmt) || import_typescript42.default.isNamespaceImport(stmt);
26556
26768
  }
26557
26769
 
26558
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
26770
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
26559
26771
  var DtsTransformRegistry = class {
26560
26772
  constructor() {
26561
26773
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -26702,10 +26914,10 @@ function markForEmitAsSingleLine(node) {
26702
26914
  import_typescript43.default.forEachChild(node, markForEmitAsSingleLine);
26703
26915
  }
26704
26916
 
26705
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
26917
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
26706
26918
  var import_typescript45 = __toESM(require("typescript"), 1);
26707
26919
 
26708
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
26920
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
26709
26921
  var import_typescript44 = __toESM(require("typescript"), 1);
26710
26922
  function visit(node, visitor, context) {
26711
26923
  return visitor._visit(node, context);
@@ -26766,7 +26978,7 @@ var Visitor = class {
26766
26978
  }
26767
26979
  };
26768
26980
 
26769
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
26981
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
26770
26982
  var NO_DECORATORS = /* @__PURE__ */ new Set();
26771
26983
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
26772
26984
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -26814,6 +27026,9 @@ var IvyTransformationVisitor = class extends Visitor {
26814
27026
  const statements = [];
26815
27027
  const members = [...node.members];
26816
27028
  for (const field of this.classCompilationMap.get(node)) {
27029
+ if (field.initializer === null) {
27030
+ continue;
27031
+ }
26817
27032
  const exprNode = translateExpression(field.initializer, this.importManager, translateOptions);
26818
27033
  const property2 = import_typescript45.default.factory.createPropertyDeclaration([import_typescript45.default.factory.createToken(import_typescript45.default.SyntaxKind.StaticKeyword)], field.name, void 0, void 0, exprNode);
26819
27034
  if (this.isClosureCompilerEnabled) {
@@ -26974,7 +27189,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
26974
27189
  return array;
26975
27190
  }
26976
27191
 
26977
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
27192
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
26978
27193
  var import_typescript46 = __toESM(require("typescript"), 1);
26979
27194
  var EMPTY_OBJECT = {};
26980
27195
  var QUERY_TYPES = /* @__PURE__ */ new Set([
@@ -27002,8 +27217,8 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmi
27002
27217
  const members = reflector.getMembersOfClass(clazz);
27003
27218
  const decoratedElements = members.filter((member) => !member.isStatic && member.decorators !== null);
27004
27219
  const coreModule = isCore ? void 0 : "@angular/core";
27005
- const inputsFromMeta = parseInputsArray2(directive, evaluator);
27006
- const inputsFromFields = parseInputFields(filterToMembersWithDecorator(decoratedElements, "Input", coreModule), evaluator);
27220
+ const inputsFromMeta = parseInputsArray2(clazz, directive, evaluator, reflector, refEmitter);
27221
+ const inputsFromFields = parseInputFields(clazz, filterToMembersWithDecorator(decoratedElements, "Input", coreModule), evaluator, reflector, refEmitter);
27007
27222
  const inputs = ClassPropertyMapping.fromMappedObject(__spreadValues(__spreadValues({}, inputsFromMeta), inputsFromFields));
27008
27223
  const outputsFromMeta = parseOutputsArray(directive, evaluator);
27009
27224
  const outputsFromFields = parseOutputFields(filterToMembersWithDecorator(decoratedElements, "Output", coreModule), evaluator);
@@ -27079,7 +27294,7 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmi
27079
27294
  lifecycle: {
27080
27295
  usesOnChanges
27081
27296
  },
27082
- inputs: inputs.toJointMappedObject(),
27297
+ inputs: inputs.toJointMappedObject(toR3InputMetadata),
27083
27298
  outputs: outputs.toDirectMappedObject(),
27084
27299
  queries,
27085
27300
  viewQueries,
@@ -27315,7 +27530,7 @@ function parseDecoratedFields(fields, evaluator, callback) {
27315
27530
  }
27316
27531
  }
27317
27532
  }
27318
- function parseInputsArray2(decoratorMetadata, evaluator) {
27533
+ function parseInputsArray2(clazz, decoratorMetadata, evaluator, reflector, refEmitter) {
27319
27534
  const inputsField = decoratorMetadata.get("inputs");
27320
27535
  if (inputsField === void 0) {
27321
27536
  return {};
@@ -27329,18 +27544,32 @@ function parseInputsArray2(decoratorMetadata, evaluator) {
27329
27544
  const value = inputsArray[i];
27330
27545
  if (typeof value === "string") {
27331
27546
  const [bindingPropertyName, classPropertyName] = parseMappingString2(value);
27332
- inputs[classPropertyName] = { bindingPropertyName, classPropertyName, required: false };
27547
+ inputs[classPropertyName] = {
27548
+ bindingPropertyName,
27549
+ classPropertyName,
27550
+ required: false,
27551
+ transform: null
27552
+ };
27333
27553
  } else if (value instanceof Map) {
27334
27554
  const name = value.get("name");
27335
27555
  const alias = value.get("alias");
27336
27556
  const required = value.get("required");
27557
+ let transform = null;
27337
27558
  if (typeof name !== "string") {
27338
27559
  throw createValueHasWrongTypeError(inputsField, name, `Value at position ${i} of @Directive.inputs array must have a "name" property`);
27339
27560
  }
27561
+ if (value.has("transform")) {
27562
+ const transformValue = value.get("transform");
27563
+ if (!(transformValue instanceof DynamicValue) && !(transformValue instanceof Reference2)) {
27564
+ throw createValueHasWrongTypeError(inputsField, transformValue, `Transform of value at position ${i} of @Directive.inputs array must be a function`);
27565
+ }
27566
+ transform = parseInputTransformFunction(clazz, name, transformValue, reflector, refEmitter);
27567
+ }
27340
27568
  inputs[name] = {
27341
27569
  classPropertyName: name,
27342
27570
  bindingPropertyName: typeof alias === "string" ? alias : name,
27343
- required: required === true
27571
+ required: required === true,
27572
+ transform
27344
27573
  };
27345
27574
  } else {
27346
27575
  throw createValueHasWrongTypeError(inputsField, value, `@Directive.inputs array can only contain strings or object literals`);
@@ -27348,11 +27577,12 @@ function parseInputsArray2(decoratorMetadata, evaluator) {
27348
27577
  }
27349
27578
  return inputs;
27350
27579
  }
27351
- function parseInputFields(inputMembers, evaluator) {
27580
+ function parseInputFields(clazz, inputMembers, evaluator, reflector, refEmitter) {
27352
27581
  const inputs = {};
27353
27582
  parseDecoratedFields(inputMembers, evaluator, (classPropertyName, options, decorator) => {
27354
27583
  let bindingPropertyName;
27355
27584
  let required = false;
27585
+ let transform = null;
27356
27586
  if (options === null) {
27357
27587
  bindingPropertyName = classPropertyName;
27358
27588
  } else if (typeof options === "string") {
@@ -27361,13 +27591,72 @@ function parseInputFields(inputMembers, evaluator) {
27361
27591
  const aliasInConfig = options.get("alias");
27362
27592
  bindingPropertyName = typeof aliasInConfig === "string" ? aliasInConfig : classPropertyName;
27363
27593
  required = options.get("required") === true;
27594
+ if (options.has("transform")) {
27595
+ const transformValue = options.get("transform");
27596
+ if (!(transformValue instanceof DynamicValue) && !(transformValue instanceof Reference2)) {
27597
+ throw createValueHasWrongTypeError(decorator.node, transformValue, `Input transform must be a function`);
27598
+ }
27599
+ transform = parseInputTransformFunction(clazz, classPropertyName, transformValue, reflector, refEmitter);
27600
+ }
27364
27601
  } else {
27365
27602
  throw createValueHasWrongTypeError(decorator.node, options, `@${decorator.name} decorator argument must resolve to a string or an object literal`);
27366
27603
  }
27367
- inputs[classPropertyName] = { bindingPropertyName, classPropertyName, required };
27604
+ inputs[classPropertyName] = { bindingPropertyName, classPropertyName, required, transform };
27368
27605
  });
27369
27606
  return inputs;
27370
27607
  }
27608
+ function parseInputTransformFunction(clazz, classPropertyName, value, reflector, refEmitter) {
27609
+ var _a2;
27610
+ const definition = reflector.getDefinitionOfFunction(value.node);
27611
+ if (definition === null) {
27612
+ throw createValueHasWrongTypeError(value.node, value, "Input transform must be a function");
27613
+ }
27614
+ if (definition.typeParameters !== null && definition.typeParameters.length > 0) {
27615
+ throw createValueHasWrongTypeError(value.node, value, "Input transform function cannot be generic");
27616
+ }
27617
+ if (definition.signatureCount > 1) {
27618
+ throw createValueHasWrongTypeError(value.node, value, "Input transform function cannot have multiple signatures");
27619
+ }
27620
+ const members = reflector.getMembersOfClass(clazz);
27621
+ for (const member of members) {
27622
+ const conflictingName = `ngAcceptInputType_${classPropertyName}`;
27623
+ if (member.name === conflictingName && member.isStatic) {
27624
+ throw new FatalDiagnosticError(ErrorCode.CONFLICTING_INPUT_TRANSFORM, value.node, `Class cannot have both a transform function on Input ${classPropertyName} and a static member called ${conflictingName}`);
27625
+ }
27626
+ }
27627
+ const node = value instanceof Reference2 ? value.getIdentityIn(clazz.getSourceFile()) : value.node;
27628
+ if (node === null) {
27629
+ throw createValueHasWrongTypeError(value.node, value, "Input transform function could not be referenced");
27630
+ }
27631
+ const firstParam = ((_a2 = definition.parameters[0]) == null ? void 0 : _a2.name) === "this" ? definition.parameters[1] : definition.parameters[0];
27632
+ if (!firstParam) {
27633
+ return { node, type: import_typescript46.default.factory.createKeywordTypeNode(import_typescript46.default.SyntaxKind.UnknownKeyword) };
27634
+ }
27635
+ if (!firstParam.type) {
27636
+ throw createValueHasWrongTypeError(value.node, value, "Input transform function first parameter must have a type");
27637
+ }
27638
+ if (firstParam.node.dotDotDotToken) {
27639
+ throw createValueHasWrongTypeError(value.node, value, "Input transform function first parameter cannot be a spread parameter");
27640
+ }
27641
+ assertEmittableInputType(firstParam.type, clazz.getSourceFile(), reflector, refEmitter);
27642
+ return { node, type: firstParam.type };
27643
+ }
27644
+ function assertEmittableInputType(type, contextFile, reflector, refEmitter) {
27645
+ (function walk(node) {
27646
+ if (import_typescript46.default.isTypeReferenceNode(node) && import_typescript46.default.isIdentifier(node.typeName)) {
27647
+ const declaration = reflector.getDeclarationOfIdentifier(node.typeName);
27648
+ if (declaration !== null) {
27649
+ if (declaration.node.getSourceFile() !== contextFile) {
27650
+ const emittedType = refEmitter.emit(new Reference2(declaration.node), contextFile, ImportFlags.NoAliasing | ImportFlags.AllowTypeImports | ImportFlags.AllowRelativeDtsImports);
27651
+ assertSuccessfulReferenceEmit(emittedType, node, "type");
27652
+ } else if (!reflector.isStaticallyExported(declaration.node)) {
27653
+ throw new FatalDiagnosticError(ErrorCode.SYMBOL_NOT_EXPORTED, type, `Symbol must be exported in order to be used as the type of an Input transform function`, [makeRelatedInformation(declaration.node, `The symbol is declared here.`)]);
27654
+ }
27655
+ }
27656
+ }
27657
+ node.forEachChild(walk);
27658
+ })(type);
27659
+ }
27371
27660
  function parseOutputsArray(directive, evaluator) {
27372
27661
  const metaValues = parseFieldStringArrayValue(directive, "outputs", evaluator);
27373
27662
  return metaValues ? parseMappingStringArray2(metaValues) : EMPTY_OBJECT;
@@ -27454,8 +27743,16 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
27454
27743
  outputs: hostDirective.outputs || null
27455
27744
  };
27456
27745
  }
27746
+ function toR3InputMetadata(mapping) {
27747
+ return {
27748
+ classPropertyName: mapping.classPropertyName,
27749
+ bindingPropertyName: mapping.bindingPropertyName,
27750
+ required: mapping.required,
27751
+ transformFunction: mapping.transform !== null ? new WrappedNodeExpr(mapping.transform.node) : null
27752
+ };
27753
+ }
27457
27754
 
27458
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
27755
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
27459
27756
  var DirectiveSymbol = class extends SemanticSymbol {
27460
27757
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
27461
27758
  super(decl);
@@ -27535,7 +27832,7 @@ function isBaseClassEqual(current, previous) {
27535
27832
  return isSymbolEqual(current, previous);
27536
27833
  }
27537
27834
 
27538
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
27835
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
27539
27836
  var FIELD_DECORATORS = [
27540
27837
  "Input",
27541
27838
  "Output",
@@ -27674,14 +27971,16 @@ var DirectiveDecoratorHandler = class {
27674
27971
  compileFull(node, analysis, resolution, pool) {
27675
27972
  const fac = compileNgFactoryDefField(toFactoryMetadata(analysis.meta, FactoryTarget.Directive));
27676
27973
  const def = compileDirectiveFromMetadata(analysis.meta, pool, makeBindingParser());
27974
+ const inputTransformFields = compileInputTransformFields(analysis.inputs);
27677
27975
  const classMetadata = analysis.classMetadata !== null ? compileClassMetadata(analysis.classMetadata).toStmt() : null;
27678
- return compileResults(fac, def, classMetadata, "\u0275dir");
27976
+ return compileResults(fac, def, classMetadata, "\u0275dir", inputTransformFields);
27679
27977
  }
27680
27978
  compilePartial(node, analysis, resolution) {
27681
27979
  const fac = compileDeclareFactory(toFactoryMetadata(analysis.meta, FactoryTarget.Directive));
27682
27980
  const def = compileDeclareDirectiveFromMetadata(analysis.meta);
27981
+ const inputTransformFields = compileInputTransformFields(analysis.inputs);
27683
27982
  const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata(analysis.classMetadata).toStmt() : null;
27684
- return compileResults(fac, def, classMetadata, "\u0275dir");
27983
+ return compileResults(fac, def, classMetadata, "\u0275dir", inputTransformFields);
27685
27984
  }
27686
27985
  findClassFieldWithAngularFeatures(node) {
27687
27986
  return this.reflector.getMembersOfClass(node).find((member) => {
@@ -27696,10 +27995,10 @@ var DirectiveDecoratorHandler = class {
27696
27995
  }
27697
27996
  };
27698
27997
 
27699
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
27998
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
27700
27999
  var import_typescript48 = __toESM(require("typescript"), 1);
27701
28000
 
27702
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
28001
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
27703
28002
  var import_typescript47 = __toESM(require("typescript"), 1);
27704
28003
  function createModuleWithProvidersResolver(reflector, isCore) {
27705
28004
  function _reflectModuleFromTypeParam(type, node) {
@@ -27766,7 +28065,7 @@ function isResolvedModuleWithProviders(sv) {
27766
28065
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
27767
28066
  }
27768
28067
 
27769
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
28068
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
27770
28069
  var NgModuleSymbol = class extends SemanticSymbol {
27771
28070
  constructor(decl, hasProviders) {
27772
28071
  super(decl);
@@ -28288,7 +28587,7 @@ function isSyntheticReference(ref) {
28288
28587
  return ref.synthetic;
28289
28588
  }
28290
28589
 
28291
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
28590
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
28292
28591
  function makeCyclicImportInfo(ref, type, cycle) {
28293
28592
  const name = ref.debugName || "(unknown)";
28294
28593
  const path3 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -28311,7 +28610,7 @@ function checkCustomElementSelectorForErrors(selector) {
28311
28610
  return null;
28312
28611
  }
28313
28612
 
28314
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
28613
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
28315
28614
  var import_typescript50 = __toESM(require("typescript"), 1);
28316
28615
  function getTemplateDeclarationNodeForError(declaration) {
28317
28616
  return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
@@ -28621,7 +28920,7 @@ function _extractTemplateStyleUrls(template2) {
28621
28920
  return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
28622
28921
  }
28623
28922
 
28624
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
28923
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
28625
28924
  var ComponentSymbol = class extends DirectiveSymbol {
28626
28925
  constructor() {
28627
28926
  super(...arguments);
@@ -28656,7 +28955,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
28656
28955
  }
28657
28956
  };
28658
28957
 
28659
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
28958
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
28660
28959
  function collectAnimationNames(value, animationTriggerNames) {
28661
28960
  if (value instanceof Map) {
28662
28961
  const name = value.get("name");
@@ -28732,7 +29031,7 @@ function isLikelyModuleWithProviders(value) {
28732
29031
  return false;
28733
29032
  }
28734
29033
 
28735
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
29034
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
28736
29035
  var EMPTY_ARRAY2 = [];
28737
29036
  var ComponentDecoratorHandler = class {
28738
29037
  constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
@@ -29321,8 +29620,9 @@ var ComponentDecoratorHandler = class {
29321
29620
  const meta = __spreadValues(__spreadValues({}, analysis.meta), resolution);
29322
29621
  const fac = compileNgFactoryDefField(toFactoryMetadata(meta, FactoryTarget.Component));
29323
29622
  const def = compileComponentFromMetadata(meta, pool, makeBindingParser());
29623
+ const inputTransformFields = compileInputTransformFields(analysis.inputs);
29324
29624
  const classMetadata = analysis.classMetadata !== null ? compileClassMetadata(analysis.classMetadata).toStmt() : null;
29325
- return compileResults(fac, def, classMetadata, "\u0275cmp");
29625
+ return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields);
29326
29626
  }
29327
29627
  compilePartial(node, analysis, resolution) {
29328
29628
  if (analysis.template.errors !== null && analysis.template.errors.length > 0) {
@@ -29336,9 +29636,10 @@ var ComponentDecoratorHandler = class {
29336
29636
  };
29337
29637
  const meta = __spreadValues(__spreadValues({}, analysis.meta), resolution);
29338
29638
  const fac = compileDeclareFactory(toFactoryMetadata(meta, FactoryTarget.Component));
29639
+ const inputTransformFields = compileInputTransformFields(analysis.inputs);
29339
29640
  const def = compileDeclareComponentFromMetadata(meta, analysis.template, templateInfo);
29340
29641
  const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata(analysis.classMetadata).toStmt() : null;
29341
- return compileResults(fac, def, classMetadata, "\u0275cmp");
29642
+ return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields);
29342
29643
  }
29343
29644
  _checkForCyclicImport(importedFile, expr, origin) {
29344
29645
  const imported = resolveImportedFile(this.moduleResolver, importedFile, expr, origin);
@@ -29381,7 +29682,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
29381
29682
  return diagnostics;
29382
29683
  }
29383
29684
 
29384
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
29685
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
29385
29686
  var import_typescript53 = __toESM(require("typescript"), 1);
29386
29687
  var InjectableDecoratorHandler = class {
29387
29688
  constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
@@ -29595,7 +29896,7 @@ function getDep(dep, reflector) {
29595
29896
  return meta;
29596
29897
  }
29597
29898
 
29598
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
29899
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
29599
29900
  var import_typescript54 = __toESM(require("typescript"), 1);
29600
29901
  var PipeSymbol = class extends SemanticSymbol {
29601
29902
  constructor(decl, name) {
@@ -29728,17 +30029,17 @@ var PipeDecoratorHandler = class {
29728
30029
  const fac = compileNgFactoryDefField(toFactoryMetadata(analysis.meta, FactoryTarget.Pipe));
29729
30030
  const def = compilePipeFromMetadata(analysis.meta);
29730
30031
  const classMetadata = analysis.classMetadata !== null ? compileClassMetadata(analysis.classMetadata).toStmt() : null;
29731
- return compileResults(fac, def, classMetadata, "\u0275pipe");
30032
+ return compileResults(fac, def, classMetadata, "\u0275pipe", null);
29732
30033
  }
29733
30034
  compilePartial(node, analysis) {
29734
30035
  const fac = compileDeclareFactory(toFactoryMetadata(analysis.meta, FactoryTarget.Pipe));
29735
30036
  const def = compileDeclarePipeFromMetadata(analysis.meta);
29736
30037
  const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata(analysis.classMetadata).toStmt() : null;
29737
- return compileResults(fac, def, classMetadata, "\u0275pipe");
30038
+ return compileResults(fac, def, classMetadata, "\u0275pipe", null);
29738
30039
  }
29739
30040
  };
29740
30041
 
29741
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
30042
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
29742
30043
  var CycleAnalyzer = class {
29743
30044
  constructor(importGraph) {
29744
30045
  this.importGraph = importGraph;
@@ -29809,7 +30110,7 @@ var Cycle = class {
29809
30110
  }
29810
30111
  };
29811
30112
 
29812
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
30113
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
29813
30114
  var import_typescript55 = __toESM(require("typescript"), 1);
29814
30115
  var ImportGraph = class {
29815
30116
  constructor(checker, perf) {
@@ -29901,7 +30202,7 @@ var Found = class {
29901
30202
  }
29902
30203
  };
29903
30204
 
29904
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
30205
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
29905
30206
  var import_typescript56 = __toESM(require("typescript"), 1);
29906
30207
  var FlatIndexGenerator = class {
29907
30208
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -29926,7 +30227,7 @@ export * from '${relativeEntryPoint}';
29926
30227
  }
29927
30228
  };
29928
30229
 
29929
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
30230
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
29930
30231
  function findFlatIndexEntryPoint(rootFiles) {
29931
30232
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
29932
30233
  let resolvedEntryPoint = null;
@@ -29942,7 +30243,7 @@ function findFlatIndexEntryPoint(rootFiles) {
29942
30243
  return resolvedEntryPoint;
29943
30244
  }
29944
30245
 
29945
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
30246
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
29946
30247
  var import_typescript58 = __toESM(require("typescript"), 1);
29947
30248
  function checkForPrivateExports(entryPoint, checker, refGraph) {
29948
30249
  const diagnostics = [];
@@ -30022,7 +30323,7 @@ function getDescriptorOfDeclaration(decl) {
30022
30323
  }
30023
30324
  }
30024
30325
 
30025
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
30326
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
30026
30327
  var ReferenceGraph = class {
30027
30328
  constructor() {
30028
30329
  this.references = /* @__PURE__ */ new Map();
@@ -30076,7 +30377,7 @@ var ReferenceGraph = class {
30076
30377
  }
30077
30378
  };
30078
30379
 
30079
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
30380
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
30080
30381
  var NgOriginalFile = Symbol("NgOriginalFile");
30081
30382
  var UpdateMode;
30082
30383
  (function(UpdateMode2) {
@@ -30084,13 +30385,13 @@ var UpdateMode;
30084
30385
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
30085
30386
  })(UpdateMode || (UpdateMode = {}));
30086
30387
 
30087
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
30388
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
30088
30389
  var import_typescript62 = __toESM(require("typescript"), 1);
30089
30390
 
30090
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
30391
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
30091
30392
  var import_typescript59 = __toESM(require("typescript"), 1);
30092
30393
 
30093
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
30394
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
30094
30395
  var NgExtension = Symbol("NgExtension");
30095
30396
  function isExtended(sf) {
30096
30397
  return sf[NgExtension] !== void 0;
@@ -30150,13 +30451,13 @@ function retagTsFile(sf) {
30150
30451
  }
30151
30452
  }
30152
30453
 
30153
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
30454
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
30154
30455
  var TS_EXTENSIONS = /\.tsx?$/i;
30155
30456
  function makeShimFileName(fileName, suffix) {
30156
30457
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
30157
30458
  }
30158
30459
 
30159
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
30460
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
30160
30461
  var ShimAdapter = class {
30161
30462
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
30162
30463
  this.delegate = delegate;
@@ -30251,7 +30552,7 @@ var ShimAdapter = class {
30251
30552
  }
30252
30553
  };
30253
30554
 
30254
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
30555
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
30255
30556
  var ShimReferenceTagger = class {
30256
30557
  constructor(shimExtensions) {
30257
30558
  this.tagged = /* @__PURE__ */ new Set();
@@ -30285,7 +30586,7 @@ var ShimReferenceTagger = class {
30285
30586
  }
30286
30587
  };
30287
30588
 
30288
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
30589
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
30289
30590
  var DelegatingCompilerHost = class {
30290
30591
  constructor(delegate) {
30291
30592
  this.delegate = delegate;
@@ -30398,7 +30699,7 @@ var TsCreateProgramDriver = class {
30398
30699
  }
30399
30700
  };
30400
30701
 
30401
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
30702
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
30402
30703
  var FileDependencyGraph = class {
30403
30704
  constructor() {
30404
30705
  this.nodes = /* @__PURE__ */ new Map();
@@ -30465,7 +30766,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
30465
30766
  return false;
30466
30767
  }
30467
30768
 
30468
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
30769
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
30469
30770
  var IncrementalStateKind;
30470
30771
  (function(IncrementalStateKind2) {
30471
30772
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -30473,7 +30774,7 @@ var IncrementalStateKind;
30473
30774
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
30474
30775
  })(IncrementalStateKind || (IncrementalStateKind = {}));
30475
30776
 
30476
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
30777
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
30477
30778
  var PhaseKind;
30478
30779
  (function(PhaseKind2) {
30479
30780
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -30674,7 +30975,7 @@ function toOriginalSourceFile(sf) {
30674
30975
  }
30675
30976
  }
30676
30977
 
30677
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
30978
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
30678
30979
  var TrackedIncrementalBuildStrategy = class {
30679
30980
  constructor() {
30680
30981
  this.state = null;
@@ -30695,7 +30996,7 @@ var TrackedIncrementalBuildStrategy = class {
30695
30996
  };
30696
30997
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
30697
30998
 
30698
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
30999
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
30699
31000
  var IdentifierKind;
30700
31001
  (function(IdentifierKind2) {
30701
31002
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -30713,7 +31014,7 @@ var AbsoluteSourceSpan2 = class {
30713
31014
  }
30714
31015
  };
30715
31016
 
30716
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
31017
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
30717
31018
  var IndexingContext = class {
30718
31019
  constructor() {
30719
31020
  this.components = /* @__PURE__ */ new Set();
@@ -30723,7 +31024,7 @@ var IndexingContext = class {
30723
31024
  }
30724
31025
  };
30725
31026
 
30726
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
31027
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
30727
31028
  var ExpressionVisitor = class extends RecursiveAstVisitor2 {
30728
31029
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
30729
31030
  super();
@@ -30959,7 +31260,7 @@ function getTemplateIdentifiers(boundTemplate) {
30959
31260
  return { identifiers: visitor.identifiers, errors: visitor.errors };
30960
31261
  }
30961
31262
 
30962
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
31263
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
30963
31264
  function generateAnalysis(context) {
30964
31265
  const analysis = /* @__PURE__ */ new Map();
30965
31266
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -30995,7 +31296,7 @@ function generateAnalysis(context) {
30995
31296
  return analysis;
30996
31297
  }
30997
31298
 
30998
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
31299
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
30999
31300
  var NgModuleIndexImpl = class {
31000
31301
  constructor(metaReader, localReader) {
31001
31302
  this.metaReader = metaReader;
@@ -31084,7 +31385,7 @@ var NgModuleIndexImpl = class {
31084
31385
  }
31085
31386
  };
31086
31387
 
31087
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
31388
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
31088
31389
  var import_typescript65 = __toESM(require("typescript"), 1);
31089
31390
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
31090
31391
  var RESOURCE_MARKER = ".$ngresource$";
@@ -31232,7 +31533,7 @@ function createLookupResolutionHost(adapter) {
31232
31533
  };
31233
31534
  }
31234
31535
 
31235
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
31536
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
31236
31537
  var StandaloneComponentScopeReader = class {
31237
31538
  constructor(metaReader, localModuleReader, dtsModuleReader) {
31238
31539
  this.metaReader = metaReader;
@@ -31310,21 +31611,21 @@ var StandaloneComponentScopeReader = class {
31310
31611
  }
31311
31612
  };
31312
31613
 
31313
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
31614
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
31314
31615
  var OptimizeFor;
31315
31616
  (function(OptimizeFor2) {
31316
31617
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
31317
31618
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
31318
31619
  })(OptimizeFor || (OptimizeFor = {}));
31319
31620
 
31320
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
31621
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
31321
31622
  var CompletionKind;
31322
31623
  (function(CompletionKind2) {
31323
31624
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
31324
31625
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
31325
31626
  })(CompletionKind || (CompletionKind = {}));
31326
31627
 
31327
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
31628
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
31328
31629
  var PotentialImportKind;
31329
31630
  (function(PotentialImportKind2) {
31330
31631
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -31336,7 +31637,7 @@ var PotentialImportMode;
31336
31637
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
31337
31638
  })(PotentialImportMode || (PotentialImportMode = {}));
31338
31639
 
31339
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
31640
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
31340
31641
  var SymbolKind;
31341
31642
  (function(SymbolKind2) {
31342
31643
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -31352,7 +31653,7 @@ var SymbolKind;
31352
31653
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
31353
31654
  })(SymbolKind || (SymbolKind = {}));
31354
31655
 
31355
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
31656
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
31356
31657
  var import_typescript66 = __toESM(require("typescript"), 1);
31357
31658
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
31358
31659
  var _a2;
@@ -31459,7 +31760,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
31459
31760
  return import_typescript66.default.createSourceFile(fileName, template2, import_typescript66.default.ScriptTarget.Latest, false, import_typescript66.default.ScriptKind.JSX);
31460
31761
  }
31461
31762
 
31462
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
31763
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
31463
31764
  var TEMPLATE_ID = Symbol("ngTemplateId");
31464
31765
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
31465
31766
  function getTemplateId(clazz) {
@@ -31476,10 +31777,10 @@ function allocateTemplateId(sf) {
31476
31777
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
31477
31778
  }
31478
31779
 
31479
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
31780
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
31480
31781
  var import_typescript68 = __toESM(require("typescript"), 1);
31481
31782
 
31482
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
31783
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
31483
31784
  var import_typescript67 = __toESM(require("typescript"), 1);
31484
31785
  var parseSpanComment = /^(\d+),(\d+)$/;
31485
31786
  function readSpanComment(node, sourceFile = node.getSourceFile()) {
@@ -31608,7 +31909,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
31608
31909
  }) || false;
31609
31910
  }
31610
31911
 
31611
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
31912
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
31612
31913
  var CompletionEngine = class {
31613
31914
  constructor(tcb, data, tcbPath, tcbIsShim) {
31614
31915
  this.tcb = tcb;
@@ -31765,10 +32066,10 @@ var CompletionEngine = class {
31765
32066
  }
31766
32067
  };
31767
32068
 
31768
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
32069
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
31769
32070
  var import_typescript83 = __toESM(require("typescript"), 1);
31770
32071
 
31771
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
32072
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
31772
32073
  var import_typescript69 = __toESM(require("typescript"), 1);
31773
32074
  var REGISTRY = new DomElementSchemaRegistry();
31774
32075
  var REMOVE_XHTML_REGEX = /^:xhtml:/;
@@ -31820,10 +32121,10 @@ var RegistryDomSchemaChecker = class {
31820
32121
  }
31821
32122
  };
31822
32123
 
31823
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
32124
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
31824
32125
  var import_typescript76 = __toESM(require("typescript"), 1);
31825
32126
 
31826
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
32127
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
31827
32128
  var import_typescript70 = __toESM(require("typescript"), 1);
31828
32129
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
31829
32130
  import_typescript70.default.SyntaxKind.ParenthesizedExpression,
@@ -31897,16 +32198,16 @@ function isAccessExpression(node) {
31897
32198
  return import_typescript70.default.isPropertyAccessExpression(node) || import_typescript70.default.isElementAccessExpression(node);
31898
32199
  }
31899
32200
 
31900
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
32201
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
31901
32202
  var import_typescript75 = __toESM(require("typescript"), 1);
31902
32203
 
31903
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
32204
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
31904
32205
  var import_typescript73 = __toESM(require("typescript"), 1);
31905
32206
 
31906
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
32207
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
31907
32208
  var import_typescript72 = __toESM(require("typescript"), 1);
31908
32209
 
31909
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
32210
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
31910
32211
  var import_typescript71 = __toESM(require("typescript"), 1);
31911
32212
  var INELIGIBLE = {};
31912
32213
  function canEmitType(type, canEmit) {
@@ -31981,7 +32282,7 @@ var TypeEmitter = class {
31981
32282
  }
31982
32283
  };
31983
32284
 
31984
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
32285
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
31985
32286
  var TypeParameterEmitter = class {
31986
32287
  constructor(typeParameters, reflector) {
31987
32288
  this.typeParameters = typeParameters;
@@ -32058,7 +32359,7 @@ var TypeParameterEmitter = class {
32058
32359
  }
32059
32360
  };
32060
32361
 
32061
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
32362
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
32062
32363
  var TcbInliningRequirement;
32063
32364
  (function(TcbInliningRequirement2) {
32064
32365
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -32138,7 +32439,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
32138
32439
  return emitter.canEmit((ref) => env.canReferenceType(ref));
32139
32440
  }
32140
32441
 
32141
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
32442
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
32142
32443
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
32143
32444
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
32144
32445
  const rawType = import_typescript75.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -32196,18 +32497,17 @@ function generateInlineTypeCtor(node, meta) {
32196
32497
  }
32197
32498
  function constructTypeCtorParameter(node, meta, rawType) {
32198
32499
  let initType = null;
32199
- const keys = meta.fields.inputs;
32200
32500
  const plainKeys = [];
32201
32501
  const coercedKeys = [];
32202
- for (const key of keys) {
32203
- if (!meta.coercedInputFields.has(key)) {
32204
- plainKeys.push(import_typescript75.default.factory.createLiteralTypeNode(import_typescript75.default.factory.createStringLiteral(key)));
32502
+ for (const { classPropertyName, transform } of meta.fields.inputs) {
32503
+ if (!meta.coercedInputFields.has(classPropertyName)) {
32504
+ plainKeys.push(import_typescript75.default.factory.createLiteralTypeNode(import_typescript75.default.factory.createStringLiteral(classPropertyName)));
32205
32505
  } else {
32206
32506
  coercedKeys.push(import_typescript75.default.factory.createPropertySignature(
32207
32507
  void 0,
32208
- key,
32508
+ classPropertyName,
32209
32509
  void 0,
32210
- tsCreateTypeQueryForCoercedInput(rawType.typeName, key)
32510
+ transform == null ? tsCreateTypeQueryForCoercedInput(rawType.typeName, classPropertyName) : transform.type
32211
32511
  ));
32212
32512
  }
32213
32513
  }
@@ -32250,7 +32550,7 @@ function typeParametersWithDefaultTypes(params) {
32250
32550
  });
32251
32551
  }
32252
32552
 
32253
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
32553
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
32254
32554
  var Environment = class {
32255
32555
  constructor(config, importManager, refEmitter, reflector, contextFile) {
32256
32556
  this.config = config;
@@ -32288,8 +32588,7 @@ var Environment = class {
32288
32588
  fnName,
32289
32589
  body: true,
32290
32590
  fields: {
32291
- inputs: dir.inputs.classPropertyNames,
32292
- outputs: dir.outputs.classPropertyNames,
32591
+ inputs: dir.inputs,
32293
32592
  queries: dir.queries
32294
32593
  },
32295
32594
  coercedInputFields: dir.coercedInputFields
@@ -32345,7 +32644,7 @@ var Environment = class {
32345
32644
  }
32346
32645
  };
32347
32646
 
32348
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
32647
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
32349
32648
  var import_typescript77 = __toESM(require("typescript"), 1);
32350
32649
  var OutOfBandDiagnosticRecorderImpl = class {
32351
32650
  constructor(resolver) {
@@ -32480,7 +32779,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
32480
32779
  });
32481
32780
  }
32482
32781
 
32483
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
32782
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
32484
32783
  var import_typescript78 = __toESM(require("typescript"), 1);
32485
32784
  var TypeCheckShimGenerator = class {
32486
32785
  constructor() {
@@ -32498,10 +32797,10 @@ var TypeCheckShimGenerator = class {
32498
32797
  }
32499
32798
  };
32500
32799
 
32501
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
32800
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
32502
32801
  var import_typescript81 = __toESM(require("typescript"), 1);
32503
32802
 
32504
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
32803
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
32505
32804
  var import_typescript79 = __toESM(require("typescript"), 1);
32506
32805
  function wrapForDiagnostics(expr) {
32507
32806
  return import_typescript79.default.factory.createParenthesizedExpression(expr);
@@ -32546,7 +32845,7 @@ function translateDiagnostic(diagnostic, resolver) {
32546
32845
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
32547
32846
  }
32548
32847
 
32549
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
32848
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
32550
32849
  var import_typescript80 = __toESM(require("typescript"), 1);
32551
32850
  var NULL_AS_ANY = import_typescript80.default.factory.createAsExpression(import_typescript80.default.factory.createNull(), import_typescript80.default.factory.createKeywordTypeNode(import_typescript80.default.SyntaxKind.AnyKeyword));
32552
32851
  var UNDEFINED = import_typescript80.default.factory.createIdentifier("undefined");
@@ -32878,7 +33177,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
32878
33177
  _VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
32879
33178
  })();
32880
33179
 
32881
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
33180
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
32882
33181
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
32883
33182
  constructor(templateId, boundTarget, oob) {
32884
33183
  super();
@@ -32901,7 +33200,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
32901
33200
  }
32902
33201
  };
32903
33202
 
32904
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
33203
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
32905
33204
  var TcbGenericContextBehavior;
32906
33205
  (function(TcbGenericContextBehavior2) {
32907
33206
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -33250,18 +33549,23 @@ var TcbDirectiveInputsOp = class extends TcbOp {
33250
33549
  for (const attr of boundAttrs) {
33251
33550
  const expr = widenBinding(translateInput(attr.attribute, this.tcb, this.scope), this.tcb);
33252
33551
  let assignment = wrapForDiagnostics(expr);
33253
- for (const { fieldName, required } of attr.inputs) {
33552
+ for (const { fieldName, required, transformType } of attr.inputs) {
33254
33553
  let target;
33255
33554
  if (required) {
33256
33555
  seenRequiredInputs.add(fieldName);
33257
33556
  }
33258
33557
  if (this.dir.coercedInputFields.has(fieldName)) {
33259
- const dirTypeRef = this.tcb.env.referenceType(this.dir.ref);
33260
- if (!import_typescript81.default.isTypeReferenceNode(dirTypeRef)) {
33261
- throw new Error(`Expected TypeReferenceNode from reference to ${this.dir.ref.debugName}`);
33558
+ let type;
33559
+ if (transformType) {
33560
+ type = this.tcb.env.referenceTransplantedType(new TransplantedType(transformType));
33561
+ } else {
33562
+ const dirTypeRef = this.tcb.env.referenceType(this.dir.ref);
33563
+ if (!import_typescript81.default.isTypeReferenceNode(dirTypeRef)) {
33564
+ throw new Error(`Expected TypeReferenceNode from reference to ${this.dir.ref.debugName}`);
33565
+ }
33566
+ type = tsCreateTypeQueryForCoercedInput(dirTypeRef.typeName, fieldName);
33262
33567
  }
33263
33568
  const id = this.tcb.allocateId();
33264
- const type = tsCreateTypeQueryForCoercedInput(dirTypeRef.typeName, fieldName);
33265
33569
  this.scope.addStatement(tsDeclareVariable(id, type));
33266
33570
  target = id;
33267
33571
  } else if (this.dir.undeclaredInputFields.has(fieldName)) {
@@ -33918,7 +34222,14 @@ function getBoundAttributes(directive, node) {
33918
34222
  if (inputs !== null) {
33919
34223
  boundInputs.push({
33920
34224
  attribute: attr,
33921
- inputs: inputs.map((input) => ({ fieldName: input.classPropertyName, required: input.required }))
34225
+ inputs: inputs.map((input) => {
34226
+ var _a2;
34227
+ return {
34228
+ fieldName: input.classPropertyName,
34229
+ required: input.required,
34230
+ transformType: ((_a2 = input.transform) == null ? void 0 : _a2.type) || null
34231
+ };
34232
+ })
33922
34233
  });
33923
34234
  }
33924
34235
  };
@@ -34016,7 +34327,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
34016
34327
  }
34017
34328
  };
34018
34329
 
34019
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
34330
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
34020
34331
  var import_typescript82 = __toESM(require("typescript"), 1);
34021
34332
  var TypeCheckFile = class extends Environment {
34022
34333
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -34052,7 +34363,7 @@ var TypeCheckFile = class extends Environment {
34052
34363
  }
34053
34364
  };
34054
34365
 
34055
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
34366
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
34056
34367
  var InliningMode;
34057
34368
  (function(InliningMode2) {
34058
34369
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -34097,8 +34408,7 @@ var TypeCheckContextImpl = class {
34097
34408
  fnName: "ngTypeCtor",
34098
34409
  body: !dirNode.getSourceFile().isDeclarationFile,
34099
34410
  fields: {
34100
- inputs: dir.inputs.classPropertyNames,
34101
- outputs: dir.outputs.classPropertyNames,
34411
+ inputs: dir.inputs,
34102
34412
  queries: dir.queries
34103
34413
  },
34104
34414
  coercedInputFields: dir.coercedInputFields
@@ -34290,7 +34600,7 @@ function splitStringAtPoints(str, points) {
34290
34600
  return splits;
34291
34601
  }
34292
34602
 
34293
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
34603
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
34294
34604
  var LF_CHAR = 10;
34295
34605
  var CR_CHAR = 13;
34296
34606
  var LINE_SEP_CHAR = 8232;
@@ -34331,7 +34641,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
34331
34641
  return low - 1;
34332
34642
  }
34333
34643
 
34334
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
34644
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
34335
34645
  var TemplateSource = class {
34336
34646
  constructor(mapping, file) {
34337
34647
  this.mapping = mapping;
@@ -34382,7 +34692,7 @@ var TemplateSourceManager = class {
34382
34692
  }
34383
34693
  };
34384
34694
 
34385
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
34695
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
34386
34696
  var import_typescript84 = __toESM(require("typescript"), 1);
34387
34697
  var SymbolBuilder = class {
34388
34698
  constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
@@ -34859,7 +35169,7 @@ function sourceSpanEqual(a, b) {
34859
35169
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
34860
35170
  }
34861
35171
 
34862
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
35172
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
34863
35173
  var REGISTRY2 = new DomElementSchemaRegistry();
34864
35174
  var TemplateTypeCheckerImpl = class {
34865
35175
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -35552,7 +35862,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
35552
35862
  }
35553
35863
  };
35554
35864
 
35555
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
35865
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
35556
35866
  var TemplateCheckWithVisitor = class {
35557
35867
  run(ctx, component, template2) {
35558
35868
  const visitor = new TemplateVisitor2(ctx, component, this);
@@ -35628,7 +35938,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
35628
35938
  }
35629
35939
  };
35630
35940
 
35631
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
35941
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
35632
35942
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
35633
35943
  constructor() {
35634
35944
  super(...arguments);
@@ -35653,7 +35963,7 @@ var factory = {
35653
35963
  create: () => new InvalidBananaInBoxCheck()
35654
35964
  };
35655
35965
 
35656
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
35966
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
35657
35967
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
35658
35968
  ["ngIf", "NgIf"],
35659
35969
  ["ngFor", "NgFor"],
@@ -35697,7 +36007,7 @@ var factory2 = {
35697
36007
  }
35698
36008
  };
35699
36009
 
35700
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
36010
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
35701
36011
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
35702
36012
  constructor() {
35703
36013
  super(...arguments);
@@ -35729,7 +36039,7 @@ var factory3 = {
35729
36039
  create: () => new MissingNgForOfLetCheck()
35730
36040
  };
35731
36041
 
35732
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
36042
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
35733
36043
  var import_typescript87 = __toESM(require("typescript"), 1);
35734
36044
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
35735
36045
  constructor() {
@@ -35773,7 +36083,7 @@ var factory4 = {
35773
36083
  }
35774
36084
  };
35775
36085
 
35776
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
36086
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
35777
36087
  var import_typescript88 = __toESM(require("typescript"), 1);
35778
36088
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
35779
36089
  constructor() {
@@ -35818,7 +36128,7 @@ var factory5 = {
35818
36128
  }
35819
36129
  };
35820
36130
 
35821
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
36131
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
35822
36132
  var STYLE_SUFFIXES = ["px", "%", "em"];
35823
36133
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
35824
36134
  constructor() {
@@ -35841,7 +36151,7 @@ var factory6 = {
35841
36151
  create: () => new SuffixNotSupportedCheck()
35842
36152
  };
35843
36153
 
35844
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
36154
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
35845
36155
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
35846
36156
  constructor() {
35847
36157
  super(...arguments);
@@ -35879,10 +36189,10 @@ var factory7 = {
35879
36189
  create: () => new TextAttributeNotBindingSpec()
35880
36190
  };
35881
36191
 
35882
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
36192
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
35883
36193
  var import_typescript89 = __toESM(require("typescript"), 1);
35884
36194
 
35885
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
36195
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
35886
36196
  var DiagnosticCategoryLabel;
35887
36197
  (function(DiagnosticCategoryLabel2) {
35888
36198
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -35890,7 +36200,7 @@ var DiagnosticCategoryLabel;
35890
36200
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
35891
36201
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
35892
36202
 
35893
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
36203
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
35894
36204
  var ExtendedTemplateCheckerImpl = class {
35895
36205
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
35896
36206
  var _a2, _b, _c, _d, _e;
@@ -35942,7 +36252,7 @@ function assertNever(value) {
35942
36252
  ${value}`);
35943
36253
  }
35944
36254
 
35945
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
36255
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
35946
36256
  var ALL_DIAGNOSTIC_FACTORIES = [
35947
36257
  factory,
35948
36258
  factory4,
@@ -35953,7 +36263,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
35953
36263
  factory6
35954
36264
  ];
35955
36265
 
35956
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
36266
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
35957
36267
  var CompilationTicketKind;
35958
36268
  (function(CompilationTicketKind2) {
35959
36269
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -36672,7 +36982,7 @@ function versionMapFromProgram(program, driver) {
36672
36982
  return versions;
36673
36983
  }
36674
36984
 
36675
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
36985
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
36676
36986
  var import_typescript92 = __toESM(require("typescript"), 1);
36677
36987
  var DelegatingCompilerHost2 = class {
36678
36988
  constructor(delegate) {
@@ -36805,7 +37115,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
36805
37115
  }
36806
37116
  };
36807
37117
 
36808
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
37118
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
36809
37119
  var NgtscProgram = class {
36810
37120
  constructor(rootNames, options, delegateHost, oldProgram) {
36811
37121
  this.options = options;
@@ -37023,21 +37333,21 @@ function mergeEmitResults(emitResults) {
37023
37333
  return { diagnostics, emitSkipped, emittedFiles };
37024
37334
  }
37025
37335
 
37026
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
37336
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
37027
37337
  function createProgram({ rootNames, options, host, oldProgram }) {
37028
37338
  return new NgtscProgram(rootNames, options, host, oldProgram);
37029
37339
  }
37030
37340
 
37031
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
37341
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
37032
37342
  var import_typescript96 = __toESM(require("typescript"), 1);
37033
37343
 
37034
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
37344
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
37035
37345
  var import_typescript95 = __toESM(require("typescript"), 1);
37036
37346
 
37037
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
37347
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
37038
37348
  var import_typescript97 = __toESM(require("typescript"), 1);
37039
37349
 
37040
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
37350
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
37041
37351
  var GLOBAL_DEFS_FOR_TERSER = {
37042
37352
  ngDevMode: false,
37043
37353
  ngI18nClosureMode: false
@@ -37046,7 +37356,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
37046
37356
  ngJitMode: false
37047
37357
  });
37048
37358
 
37049
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
37359
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
37050
37360
  var LogLevel;
37051
37361
  (function(LogLevel2) {
37052
37362
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -37055,7 +37365,7 @@ var LogLevel;
37055
37365
  LogLevel2[LogLevel2["error"] = 3] = "error";
37056
37366
  })(LogLevel || (LogLevel = {}));
37057
37367
 
37058
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
37368
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
37059
37369
  var RESET = "\x1B[0m";
37060
37370
  var RED = "\x1B[31m";
37061
37371
  var YELLOW = "\x1B[33m";
@@ -37064,18 +37374,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
37064
37374
  var WARN = `${YELLOW}Warning:${RESET}`;
37065
37375
  var ERROR = `${RED}Error:${RESET}`;
37066
37376
 
37067
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
37377
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/index.mjs
37068
37378
  setFileSystem(new NodeJSFileSystem());
37069
37379
 
37070
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
37380
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
37071
37381
  var import_fs2 = require("fs");
37072
37382
  var import_path8 = require("path");
37073
37383
  var import_typescript110 = __toESM(require("typescript"), 1);
37074
37384
 
37075
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
37385
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
37076
37386
  var import_typescript99 = __toESM(require("typescript"), 1);
37077
37387
 
37078
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
37388
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
37079
37389
  var import_path4 = require("path");
37080
37390
  var import_typescript98 = __toESM(require("typescript"), 1);
37081
37391
  var ImportManager2 = class {
@@ -37259,7 +37569,7 @@ ${text2}`;
37259
37569
  }
37260
37570
  };
37261
37571
 
37262
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
37572
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
37263
37573
  var ChangeTracker = class {
37264
37574
  constructor(_printer, _importRemapper) {
37265
37575
  __publicField(this, "_printer");
@@ -37315,7 +37625,7 @@ function normalizePath(path3) {
37315
37625
  return path3.replace(/\\/g, "/");
37316
37626
  }
37317
37627
 
37318
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
37628
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
37319
37629
  var import_core13 = require("@angular-devkit/core");
37320
37630
  function getProjectTsConfigPaths(tree) {
37321
37631
  return __async(this, null, function* () {
@@ -37395,11 +37705,11 @@ function getWorkspace(tree) {
37395
37705
  });
37396
37706
  }
37397
37707
 
37398
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
37708
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
37399
37709
  var import_path5 = require("path");
37400
37710
  var import_typescript101 = __toESM(require("typescript"), 1);
37401
37711
 
37402
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
37712
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
37403
37713
  var path2 = __toESM(require("path"), 1);
37404
37714
  var import_typescript100 = __toESM(require("typescript"), 1);
37405
37715
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -37416,7 +37726,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
37416
37726
  return import_typescript100.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
37417
37727
  }
37418
37728
 
37419
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
37729
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
37420
37730
  function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
37421
37731
  tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
37422
37732
  const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
@@ -37445,13 +37755,13 @@ function canMigrateFile(basePath, sourceFile, program) {
37445
37755
  return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
37446
37756
  }
37447
37757
 
37448
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
37758
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
37449
37759
  var import_typescript106 = __toESM(require("typescript"), 1);
37450
37760
 
37451
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
37761
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
37452
37762
  var import_typescript103 = __toESM(require("typescript"), 1);
37453
37763
 
37454
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
37764
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
37455
37765
  var import_typescript102 = __toESM(require("typescript"), 1);
37456
37766
  function getImportOfIdentifier(typeChecker, node) {
37457
37767
  const symbol = typeChecker.getSymbolAtLocation(node);
@@ -37502,7 +37812,7 @@ function findImportSpecifier(nodes, specifierName) {
37502
37812
  });
37503
37813
  }
37504
37814
 
37505
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
37815
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
37506
37816
  function getCallDecoratorImport(typeChecker, decorator) {
37507
37817
  if (!import_typescript103.default.isCallExpression(decorator.expression) || !import_typescript103.default.isIdentifier(decorator.expression.expression)) {
37508
37818
  return null;
@@ -37511,7 +37821,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
37511
37821
  return getImportOfIdentifier(typeChecker, identifier);
37512
37822
  }
37513
37823
 
37514
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
37824
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
37515
37825
  function getAngularDecorators(typeChecker, decorators) {
37516
37826
  return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
37517
37827
  node,
@@ -37521,7 +37831,7 @@ function getAngularDecorators(typeChecker, decorators) {
37521
37831
  }));
37522
37832
  }
37523
37833
 
37524
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
37834
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
37525
37835
  var import_typescript104 = __toESM(require("typescript"), 1);
37526
37836
  function closestNode(node, predicate) {
37527
37837
  let current = node.parent;
@@ -37534,7 +37844,7 @@ function closestNode(node, predicate) {
37534
37844
  return null;
37535
37845
  }
37536
37846
 
37537
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
37847
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
37538
37848
  var import_path6 = require("path");
37539
37849
  var import_typescript105 = __toESM(require("typescript"), 1);
37540
37850
  var UniqueItemTracker = class {
@@ -37710,7 +38020,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
37710
38020
  }));
37711
38021
  }
37712
38022
 
37713
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
38023
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
37714
38024
  function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
37715
38025
  const filesToRemove = /* @__PURE__ */ new Set();
37716
38026
  const tracker = new ChangeTracker(printer, importRemapper);
@@ -37909,14 +38219,14 @@ function findNgModuleDecorator(node, typeChecker) {
37909
38219
  return decorators.find((decorator) => decorator.name === "NgModule") || null;
37910
38220
  }
37911
38221
 
37912
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
38222
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
37913
38223
  var import_path7 = require("path");
37914
38224
  var import_typescript109 = __toESM(require("typescript"), 1);
37915
38225
 
37916
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
38226
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
37917
38227
  var import_typescript108 = __toESM(require("typescript"), 1);
37918
38228
 
37919
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
38229
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
37920
38230
  var import_typescript107 = __toESM(require("typescript"), 1);
37921
38231
  function isReferenceToImport(typeChecker, node, importSpecifier) {
37922
38232
  var _a2, _b;
@@ -37925,7 +38235,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
37925
38235
  return !!(((_a2 = nodeSymbol == null ? void 0 : nodeSymbol.declarations) == null ? void 0 : _a2[0]) && ((_b = importSymbol == null ? void 0 : importSymbol.declarations) == null ? void 0 : _b[0])) && nodeSymbol.declarations[0] === importSymbol.declarations[0];
37926
38236
  }
37927
38237
 
37928
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
38238
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
37929
38239
  function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
37930
38240
  const templateTypeChecker = program.compiler.getTemplateTypeChecker();
37931
38241
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -38288,7 +38598,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
38288
38598
  return metadata != null && metadata.isStandalone;
38289
38599
  }
38290
38600
 
38291
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
38601
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
38292
38602
  function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
38293
38603
  const tracker = new ChangeTracker(printer, importRemapper);
38294
38604
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -38665,7 +38975,7 @@ function hasImport(program, rootFileNames, moduleName) {
38665
38975
  return false;
38666
38976
  }
38667
38977
 
38668
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
38978
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
38669
38979
  var MigrationMode;
38670
38980
  (function(MigrationMode2) {
38671
38981
  MigrationMode2["toStandalone"] = "convert-to-standalone";