@angular/core 15.1.0-next.2 → 15.1.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/esm2020/src/application_init.mjs +2 -1
  2. package/esm2020/src/application_ref.mjs +10 -3
  3. package/esm2020/src/di/injector_compatibility.mjs +2 -2
  4. package/esm2020/src/di/r3_injector.mjs +2 -2
  5. package/esm2020/src/errors.mjs +1 -1
  6. package/esm2020/src/linker/view_ref.mjs +1 -1
  7. package/esm2020/src/render3/i18n/i18n_parse.mjs +17 -2
  8. package/esm2020/src/util/global.mjs +1 -1
  9. package/esm2020/src/version.mjs +1 -1
  10. package/esm2020/testing/src/component_fixture.mjs +1 -1
  11. package/esm2020/testing/src/logger.mjs +7 -7
  12. package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
  13. package/esm2020/testing/src/test_bed.mjs +1 -1
  14. package/fesm2015/core.mjs +111 -1560
  15. package/fesm2015/core.mjs.map +1 -1
  16. package/fesm2015/testing.mjs +79 -1334
  17. package/fesm2015/testing.mjs.map +1 -1
  18. package/fesm2020/core.mjs +113 -1584
  19. package/fesm2020/core.mjs.map +1 -1
  20. package/fesm2020/testing.mjs +81 -1358
  21. package/fesm2020/testing.mjs.map +1 -1
  22. package/index.d.ts +4 -4
  23. package/package.json +1 -1
  24. package/schematics/migrations/relative-link-resolution/bundle.js +265 -0
  25. package/schematics/migrations/relative-link-resolution/bundle.js.map +7 -0
  26. package/schematics/migrations/relative-link-resolution/bundle_metadata.json +1 -0
  27. package/schematics/migrations/router-link-with-href/bundle.js +350 -0
  28. package/schematics/migrations/router-link-with-href/bundle.js.map +7 -0
  29. package/schematics/migrations/router-link-with-href/bundle_metadata.json +1 -0
  30. package/schematics/migrations.json +5 -20
  31. package/testing/index.d.ts +4 -1
  32. package/esm2020/src/render3/util/debug_utils.mjs +0 -40
  33. package/esm2020/testing/src/lang_utils.mjs +0 -14
  34. package/schematics/migrations/entry-components/index.d.ts +0 -11
  35. package/schematics/migrations/entry-components/index.js +0 -71
  36. package/schematics/migrations/entry-components/util.d.ts +0 -16
  37. package/schematics/migrations/entry-components/util.js +0 -57
  38. package/schematics/migrations/path-match-type/index.d.ts +0 -11
  39. package/schematics/migrations/path-match-type/index.js +0 -95
  40. package/schematics/migrations/path-match-type/transform.d.ts +0 -19
  41. package/schematics/migrations/path-match-type/transform.js +0 -48
  42. package/schematics/migrations/path-match-type/update_recorder.d.ts +0 -18
  43. package/schematics/migrations/path-match-type/update_recorder.js +0 -20
  44. package/schematics/migrations/path-match-type/util.d.ts +0 -11
  45. package/schematics/migrations/path-match-type/util.js +0 -106
  46. package/schematics/migrations/relative-link-resolution/index.d.ts +0 -10
  47. package/schematics/migrations/relative-link-resolution/index.js +0 -68
  48. package/schematics/migrations/relative-link-resolution/util.d.ts +0 -20
  49. package/schematics/migrations/relative-link-resolution/util.js +0 -82
  50. package/schematics/migrations/router-link-with-href/index.d.ts +0 -10
  51. package/schematics/migrations/router-link-with-href/index.js +0 -70
  52. package/schematics/migrations/router-link-with-href/util.d.ts +0 -19
  53. package/schematics/migrations/router-link-with-href/util.js +0 -111
  54. package/schematics/migrations/typed-forms/index.d.ts +0 -10
  55. package/schematics/migrations/typed-forms/index.js +0 -68
  56. package/schematics/migrations/typed-forms/util.d.ts +0 -19
  57. package/schematics/migrations/typed-forms/util.js +0 -134
  58. package/schematics/utils/import_manager.d.ts +0 -57
  59. package/schematics/utils/import_manager.js +0 -234
  60. package/schematics/utils/line_mappings.d.ts +0 -18
  61. package/schematics/utils/line_mappings.js +0 -75
  62. package/schematics/utils/load_esm.d.ts +0 -32
  63. package/schematics/utils/load_esm.js +0 -79
  64. package/schematics/utils/ng_component_template.d.ts +0 -44
  65. package/schematics/utils/ng_component_template.js +0 -131
  66. package/schematics/utils/ng_decorators.d.ts +0 -23
  67. package/schematics/utils/ng_decorators.js +0 -37
  68. package/schematics/utils/parse_html.d.ts +0 -14
  69. package/schematics/utils/parse_html.js +0 -37
  70. package/schematics/utils/project_tsconfig_paths.d.ts +0 -17
  71. package/schematics/utils/project_tsconfig_paths.js +0 -122
  72. package/schematics/utils/template_ast_visitor.d.ts +0 -55
  73. package/schematics/utils/template_ast_visitor.js +0 -73
  74. package/schematics/utils/typescript/class_declaration.d.ts +0 -15
  75. package/schematics/utils/typescript/class_declaration.js +0 -52
  76. package/schematics/utils/typescript/compiler_host.d.ts +0 -34
  77. package/schematics/utils/typescript/compiler_host.js +0 -85
  78. package/schematics/utils/typescript/decorators.d.ts +0 -11
  79. package/schematics/utils/typescript/decorators.js +0 -37
  80. package/schematics/utils/typescript/find_base_classes.d.ts +0 -14
  81. package/schematics/utils/typescript/find_base_classes.js +0 -47
  82. package/schematics/utils/typescript/functions.d.ts +0 -17
  83. package/schematics/utils/typescript/functions.js +0 -46
  84. package/schematics/utils/typescript/imports.d.ts +0 -53
  85. package/schematics/utils/typescript/imports.js +0 -128
  86. package/schematics/utils/typescript/nodes.d.ts +0 -20
  87. package/schematics/utils/typescript/nodes.js +0 -77
  88. package/schematics/utils/typescript/parse_tsconfig.d.ts +0 -10
  89. package/schematics/utils/typescript/parse_tsconfig.js +0 -66
  90. package/schematics/utils/typescript/property_name.d.ts +0 -19
  91. package/schematics/utils/typescript/property_name.js +0 -41
  92. package/schematics/utils/typescript/symbol.d.ts +0 -19
  93. package/schematics/utils/typescript/symbol.js +0 -93
package/fesm2020/core.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.1.0-next.2
2
+ * @license Angular v15.1.0-rc.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7,13 +7,6 @@
7
7
  import { Subject, Subscription, Observable, merge as merge$1 } from 'rxjs';
8
8
  import { share } from 'rxjs/operators';
9
9
 
10
- /**
11
- * @license
12
- * Copyright Google LLC All Rights Reserved.
13
- *
14
- * Use of this source code is governed by an MIT-style license that can be
15
- * found in the LICENSE file at https://angular.io/license
16
- */
17
10
  function getClosureSafeProperty(objWithPropertyToExtract) {
18
11
  for (let key in objWithPropertyToExtract) {
19
12
  if (objWithPropertyToExtract[key] === getClosureSafeProperty) {
@@ -36,13 +29,6 @@ function fillProperties(target, source) {
36
29
  }
37
30
  }
38
31
 
39
- /**
40
- * @license
41
- * Copyright Google LLC All Rights Reserved.
42
- *
43
- * Use of this source code is governed by an MIT-style license that can be
44
- * found in the LICENSE file at https://angular.io/license
45
- */
46
32
  function stringify(token) {
47
33
  if (typeof token === 'string') {
48
34
  return token;
@@ -80,13 +66,6 @@ function concatStringsWithSpace(before, after) {
80
66
  ((after == null || after === '') ? before : before + ' ' + after);
81
67
  }
82
68
 
83
- /**
84
- * @license
85
- * Copyright Google LLC All Rights Reserved.
86
- *
87
- * Use of this source code is governed by an MIT-style license that can be
88
- * found in the LICENSE file at https://angular.io/license
89
- */
90
69
  const __forward_ref__ = getClosureSafeProperty({ __forward_ref__: getClosureSafeProperty });
91
70
  /**
92
71
  * Allows to refer to references which are not yet defined.
@@ -129,24 +108,10 @@ function isForwardRef(fn) {
129
108
  fn.__forward_ref__ === forwardRef;
130
109
  }
131
110
 
132
- /**
133
- * @license
134
- * Copyright Google LLC All Rights Reserved.
135
- *
136
- * Use of this source code is governed by an MIT-style license that can be
137
- * found in the LICENSE file at https://angular.io/license
138
- */
139
111
  function isEnvironmentProviders(value) {
140
112
  return value && !!value.ɵproviders;
141
113
  }
142
114
 
143
- /**
144
- * @license
145
- * Copyright Google LLC All Rights Reserved.
146
- *
147
- * Use of this source code is governed by an MIT-style license that can be
148
- * found in the LICENSE file at https://angular.io/license
149
- */
150
115
  /**
151
116
  * Base URL for the error details page.
152
117
  *
@@ -160,13 +125,6 @@ const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';
160
125
  */
161
126
  const XSS_SECURITY_URL = 'https://g.co/ng/security#xss';
162
127
 
163
- /**
164
- * @license
165
- * Copyright Google LLC All Rights Reserved.
166
- *
167
- * Use of this source code is governed by an MIT-style license that can be
168
- * found in the LICENSE file at https://angular.io/license
169
- */
170
128
  /**
171
129
  * Class that represents a runtime error.
172
130
  * Formats and outputs the error message in a consistent way.
@@ -207,13 +165,6 @@ function formatRuntimeError(code, message) {
207
165
  return errorMessage;
208
166
  }
209
167
 
210
- /**
211
- * @license
212
- * Copyright Google LLC All Rights Reserved.
213
- *
214
- * Use of this source code is governed by an MIT-style license that can be
215
- * found in the LICENSE file at https://angular.io/license
216
- */
217
168
  /**
218
169
  * Used for stringify render output in Ivy.
219
170
  * Important! This function is very performance-sensitive and we should
@@ -243,13 +194,6 @@ function stringifyForError(value) {
243
194
  return renderStringify(value);
244
195
  }
245
196
 
246
- /**
247
- * @license
248
- * Copyright Google LLC All Rights Reserved.
249
- *
250
- * Use of this source code is governed by an MIT-style license that can be
251
- * found in the LICENSE file at https://angular.io/license
252
- */
253
197
  /** Called when directives inject each other (creating a circular dependency) */
254
198
  function throwCyclicDependencyError(token, path) {
255
199
  const depPath = path ? `. Dependency path: ${path.join(' > ')} > ${token}` : '';
@@ -281,13 +225,7 @@ function throwProviderNotFoundError(token, injectorName) {
281
225
  throw new RuntimeError(-201 /* RuntimeErrorCode.PROVIDER_NOT_FOUND */, ngDevMode && `No provider for ${stringifyForError(token)} found${injectorDetails}`);
282
226
  }
283
227
 
284
- /**
285
- * @license
286
- * Copyright Google LLC All Rights Reserved.
287
- *
288
- * Use of this source code is governed by an MIT-style license that can be
289
- * found in the LICENSE file at https://angular.io/license
290
- */
228
+ // The functions in this file verify that the assumptions we are making
291
229
  function assertNumber(actual, msg) {
292
230
  if (!(typeof actual === 'number')) {
293
231
  throwError(msg, typeof actual, 'number', '===');
@@ -383,13 +321,6 @@ function assertOneOf(value, ...validValues) {
383
321
  throwError(`Expected value to be one of ${JSON.stringify(validValues)} but was ${JSON.stringify(value)}.`);
384
322
  }
385
323
 
386
- /**
387
- * @license
388
- * Copyright Google LLC All Rights Reserved.
389
- *
390
- * Use of this source code is governed by an MIT-style license that can be
391
- * found in the LICENSE file at https://angular.io/license
392
- */
393
324
  /**
394
325
  * Construct an injectable definition which defines how a token will be constructed by the DI
395
326
  * system, and in which injectors (if any) it will be available.
@@ -512,13 +443,6 @@ const NG_INJ_DEF = getClosureSafeProperty({ ɵinj: getClosureSafeProperty });
512
443
  const NG_INJECTABLE_DEF = getClosureSafeProperty({ ngInjectableDef: getClosureSafeProperty });
513
444
  const NG_INJECTOR_DEF = getClosureSafeProperty({ ngInjectorDef: getClosureSafeProperty });
514
445
 
515
- /**
516
- * @license
517
- * Copyright Google LLC All Rights Reserved.
518
- *
519
- * Use of this source code is governed by an MIT-style license that can be
520
- * found in the LICENSE file at https://angular.io/license
521
- */
522
446
  /**
523
447
  * Injection flags for DI.
524
448
  *
@@ -544,13 +468,6 @@ var InjectFlags;
544
468
  InjectFlags[InjectFlags["Optional"] = 8] = "Optional";
545
469
  })(InjectFlags || (InjectFlags = {}));
546
470
 
547
- /**
548
- * @license
549
- * Copyright Google LLC All Rights Reserved.
550
- *
551
- * Use of this source code is governed by an MIT-style license that can be
552
- * found in the LICENSE file at https://angular.io/license
553
- */
554
471
  /**
555
472
  * Current implementation of inject.
556
473
  *
@@ -603,13 +520,6 @@ function assertInjectImplementationNotEqual(fn) {
603
520
  assertNotEqual(_injectImplementation, fn, 'Calling ɵɵinject would cause infinite recursion');
604
521
  }
605
522
 
606
- /**
607
- * @license
608
- * Copyright Google LLC All Rights Reserved.
609
- *
610
- * Use of this source code is governed by an MIT-style license that can be
611
- * found in the LICENSE file at https://angular.io/license
612
- */
613
523
  // Always use __globalThis if available, which is the spec-defined global variable across all
614
524
  // environments, then fallback to __global first, because in Node tests both __global and
615
525
  // __window may be defined and _global should be __global in that case. Note: Typeof/Instanceof
@@ -620,13 +530,6 @@ const _global = ( /* @__PURE__ */(() => (typeof globalThis !== 'undefined' && gl
620
530
  (typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&
621
531
  self instanceof WorkerGlobalScope && self))());
622
532
 
623
- /**
624
- * @license
625
- * Copyright Google LLC All Rights Reserved.
626
- *
627
- * Use of this source code is governed by an MIT-style license that can be
628
- * found in the LICENSE file at https://angular.io/license
629
- */
630
533
  function ngDevModeResetPerfCounters() {
631
534
  const locationString = typeof location !== 'undefined' ? location.toString() : '';
632
535
  const newCounters = {
@@ -694,13 +597,6 @@ function initNgDevMode() {
694
597
  return false;
695
598
  }
696
599
 
697
- /**
698
- * @license
699
- * Copyright Google LLC All Rights Reserved.
700
- *
701
- * Use of this source code is governed by an MIT-style license that can be
702
- * found in the LICENSE file at https://angular.io/license
703
- */
704
600
  const _THROW_IF_NOT_FOUND = {};
705
601
  const THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;
706
602
  /*
@@ -770,7 +666,7 @@ Please check that 1) the type for the parameter at index ${index} is correct and
770
666
  * @param token A token that represents a dependency that should be injected.
771
667
  * @param flags Optional flags that control how injection is executed.
772
668
  * The flags correspond to injection strategies that can be specified with
773
- * parameter decorators `@Host`, `@Self`, `@SkipSef`, and `@Optional`.
669
+ * parameter decorators `@Host`, `@Self`, `@SkipSelf`, and `@Optional`.
774
670
  * @returns the injected value if operation is successful, `null` otherwise.
775
671
  * @throws if called outside of a supported context.
776
672
  *
@@ -924,13 +820,6 @@ function formatError(text, obj, injectorErrorName, source = null) {
924
820
  return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\n ')}`;
925
821
  }
926
822
 
927
- /**
928
- * @license
929
- * Copyright Google LLC All Rights Reserved.
930
- *
931
- * Use of this source code is governed by an MIT-style license that can be
932
- * found in the LICENSE file at https://angular.io/license
933
- */
934
823
  /**
935
824
  * Convince closure compiler that the wrapped function has no side-effects.
936
825
  *
@@ -944,13 +833,6 @@ function noSideEffects(fn) {
944
833
  return { toString: fn }.toString();
945
834
  }
946
835
 
947
- /**
948
- * @license
949
- * Copyright Google LLC All Rights Reserved.
950
- *
951
- * Use of this source code is governed by an MIT-style license that can be
952
- * found in the LICENSE file at https://angular.io/license
953
- */
954
836
  /**
955
837
  * The strategy that the default change detector uses to detect changes.
956
838
  * When set, takes effect the next time change detection is triggered.
@@ -1023,13 +905,6 @@ function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {
1023
905
  changeDetectionStrategy === ChangeDetectionStrategy.Default;
1024
906
  }
1025
907
 
1026
- /**
1027
- * @license
1028
- * Copyright Google LLC All Rights Reserved.
1029
- *
1030
- * Use of this source code is governed by an MIT-style license that can be
1031
- * found in the LICENSE file at https://angular.io/license
1032
- */
1033
908
  /**
1034
909
  * Defines the CSS styles encapsulation policies for the {@link Component} decorator's
1035
910
  * `encapsulation` option.
@@ -1070,13 +945,6 @@ var ViewEncapsulation$1;
1070
945
  ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
1071
946
  })(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
1072
947
 
1073
- /**
1074
- * @license
1075
- * Copyright Google LLC All Rights Reserved.
1076
- *
1077
- * Use of this source code is governed by an MIT-style license that can be
1078
- * found in the LICENSE file at https://angular.io/license
1079
- */
1080
948
  /**
1081
949
  * This file contains reuseable "empty" symbols that can be used as default return values
1082
950
  * in different parts of the rendering code. Because the same symbols are returned, this
@@ -1095,13 +963,6 @@ if ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {
1095
963
  Object.freeze(EMPTY_ARRAY);
1096
964
  }
1097
965
 
1098
- /**
1099
- * @license
1100
- * Copyright Google LLC All Rights Reserved.
1101
- *
1102
- * Use of this source code is governed by an MIT-style license that can be
1103
- * found in the LICENSE file at https://angular.io/license
1104
- */
1105
966
  const NG_COMP_DEF = getClosureSafeProperty({ ɵcmp: getClosureSafeProperty });
1106
967
  const NG_DIR_DEF = getClosureSafeProperty({ ɵdir: getClosureSafeProperty });
1107
968
  const NG_PIPE_DEF = getClosureSafeProperty({ ɵpipe: getClosureSafeProperty });
@@ -1115,13 +976,6 @@ const NG_FACTORY_DEF = getClosureSafeProperty({ ɵfac: getClosureSafeProperty })
1115
976
  // TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.
1116
977
  const NG_ELEMENT_ID = getClosureSafeProperty({ __NG_ELEMENT_ID__: getClosureSafeProperty });
1117
978
 
1118
- /**
1119
- * @license
1120
- * Copyright Google LLC All Rights Reserved.
1121
- *
1122
- * Use of this source code is governed by an MIT-style license that can be
1123
- * found in the LICENSE file at https://angular.io/license
1124
- */
1125
979
  /** Counter used to generate unique IDs for component definitions. */
1126
980
  let componentDefCount = 0;
1127
981
  /**
@@ -1411,13 +1265,6 @@ function getNgModuleDef(type, throwNotFound) {
1411
1265
  return ngModuleDef;
1412
1266
  }
1413
1267
 
1414
- /**
1415
- * @license
1416
- * Copyright Google LLC All Rights Reserved.
1417
- *
1418
- * Use of this source code is governed by an MIT-style license that can be
1419
- * found in the LICENSE file at https://angular.io/license
1420
- */
1421
1268
  // Below are constants for LView indices to help us look up LView members
1422
1269
  // without having to remember the specific indices.
1423
1270
  // Uglify will inline these when minifying so there shouldn't be a cost.
@@ -1456,13 +1303,6 @@ const HEADER_OFFSET = 22;
1456
1303
  // failure based on types.
1457
1304
  const unusedValueExportToPlacateAjd$4 = 1;
1458
1305
 
1459
- /**
1460
- * @license
1461
- * Copyright Google LLC All Rights Reserved.
1462
- *
1463
- * Use of this source code is governed by an MIT-style license that can be
1464
- * found in the LICENSE file at https://angular.io/license
1465
- */
1466
1306
  /**
1467
1307
  * Special location which allows easy identification of type. If we have an array which was
1468
1308
  * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is
@@ -1501,13 +1341,6 @@ const CONTAINER_HEADER_OFFSET = 10;
1501
1341
  // failure based on types.
1502
1342
  const unusedValueExportToPlacateAjd$3 = 1;
1503
1343
 
1504
- /**
1505
- * @license
1506
- * Copyright Google LLC All Rights Reserved.
1507
- *
1508
- * Use of this source code is governed by an MIT-style license that can be
1509
- * found in the LICENSE file at https://angular.io/license
1510
- */
1511
1344
  /**
1512
1345
  * True if `value` is `LView`.
1513
1346
  * @param value wrapped value of `RNode`, `LView`, `LContainer`
@@ -1538,13 +1371,6 @@ function isRootView(target) {
1538
1371
  return (target[FLAGS] & 256 /* LViewFlags.IsRoot */) !== 0;
1539
1372
  }
1540
1373
 
1541
- /**
1542
- * @license
1543
- * Copyright Google LLC All Rights Reserved.
1544
- *
1545
- * Use of this source code is governed by an MIT-style license that can be
1546
- * found in the LICENSE file at https://angular.io/license
1547
- */
1548
1374
  // [Assert functions do not constraint type when they are guarded by a truthy
1549
1375
  // expression.](https://github.com/microsoft/TypeScript/issues/37295)
1550
1376
  function assertTNodeForLView(tNode, lView) {
@@ -1652,13 +1478,6 @@ function assertNodeInjector(lView, injectorIndex) {
1652
1478
  assertNumber(lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */], 'injectorIndex should point to parent injector');
1653
1479
  }
1654
1480
 
1655
- /**
1656
- * @license
1657
- * Copyright Google LLC All Rights Reserved.
1658
- *
1659
- * Use of this source code is governed by an MIT-style license that can be
1660
- * found in the LICENSE file at https://angular.io/license
1661
- */
1662
1481
  function getFactoryDef(type, throwNotFound) {
1663
1482
  const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);
1664
1483
  if (!hasFactoryDef && throwNotFound === true && ngDevMode) {
@@ -1667,13 +1486,6 @@ function getFactoryDef(type, throwNotFound) {
1667
1486
  return hasFactoryDef ? type[NG_FACTORY_DEF] : null;
1668
1487
  }
1669
1488
 
1670
- /**
1671
- * @license
1672
- * Copyright Google LLC All Rights Reserved.
1673
- *
1674
- * Use of this source code is governed by an MIT-style license that can be
1675
- * found in the LICENSE file at https://angular.io/license
1676
- */
1677
1489
  /**
1678
1490
  * Represents a basic change from a previous to a new value for a single
1679
1491
  * property on a directive instance. Passed as a value in a
@@ -1697,13 +1509,6 @@ class SimpleChange {
1697
1509
  }
1698
1510
  }
1699
1511
 
1700
- /**
1701
- * @license
1702
- * Copyright Google LLC All Rights Reserved.
1703
- *
1704
- * Use of this source code is governed by an MIT-style license that can be
1705
- * found in the LICENSE file at https://angular.io/license
1706
- */
1707
1512
  /**
1708
1513
  * The NgOnChangesFeature decorates a component with support for the ngOnChanges
1709
1514
  * lifecycle hook, so it should be included in any component that implements
@@ -1788,13 +1593,6 @@ function setSimpleChangesStore(instance, store) {
1788
1593
  return instance[SIMPLE_CHANGES_STORE] = store;
1789
1594
  }
1790
1595
 
1791
- /**
1792
- * @license
1793
- * Copyright Google LLC All Rights Reserved.
1794
- *
1795
- * Use of this source code is governed by an MIT-style license that can be
1796
- * found in the LICENSE file at https://angular.io/license
1797
- */
1798
1596
  let profilerCallback = null;
1799
1597
  /**
1800
1598
  * Sets the callback function which will be invoked before and after performing certain actions at
@@ -1824,23 +1622,9 @@ const profiler = function (event, instance, hookOrListener) {
1824
1622
  }
1825
1623
  };
1826
1624
 
1827
- /**
1828
- * @license
1829
- * Copyright Google LLC All Rights Reserved.
1830
- *
1831
- * Use of this source code is governed by an MIT-style license that can be
1832
- * found in the LICENSE file at https://angular.io/license
1833
- */
1834
1625
  const SVG_NAMESPACE = 'svg';
1835
1626
  const MATH_ML_NAMESPACE = 'math';
1836
1627
 
1837
- /**
1838
- * @license
1839
- * Copyright Google LLC All Rights Reserved.
1840
- *
1841
- * Use of this source code is governed by an MIT-style license that can be
1842
- * found in the LICENSE file at https://angular.io/license
1843
- */
1844
1628
  /**
1845
1629
  * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)
1846
1630
  * in same location in `LView`. This is because we don't want to pre-allocate space for it
@@ -1991,13 +1775,6 @@ function updateTransplantedViewCount(lContainer, amount) {
1991
1775
  }
1992
1776
  }
1993
1777
 
1994
- /**
1995
- * @license
1996
- * Copyright Google LLC All Rights Reserved.
1997
- *
1998
- * Use of this source code is governed by an MIT-style license that can be
1999
- * found in the LICENSE file at https://angular.io/license
2000
- */
2001
1778
  const instructionState = {
2002
1779
  lFrame: createLFrame(null),
2003
1780
  bindingsEnabled: true,
@@ -2500,13 +2277,6 @@ function getNamespace$1() {
2500
2277
  return instructionState.lFrame.currentNamespace;
2501
2278
  }
2502
2279
 
2503
- /**
2504
- * @license
2505
- * Copyright Google LLC All Rights Reserved.
2506
- *
2507
- * Use of this source code is governed by an MIT-style license that can be
2508
- * found in the LICENSE file at https://angular.io/license
2509
- */
2510
2280
  /**
2511
2281
  * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.
2512
2282
  *
@@ -2733,13 +2503,6 @@ function callHook(currentView, initPhase, arr, i) {
2733
2503
  }
2734
2504
  }
2735
2505
 
2736
- /**
2737
- * @license
2738
- * Copyright Google LLC All Rights Reserved.
2739
- *
2740
- * Use of this source code is governed by an MIT-style license that can be
2741
- * found in the LICENSE file at https://angular.io/license
2742
- */
2743
2506
  const NO_PARENT_INJECTOR = -1;
2744
2507
  /**
2745
2508
  * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in
@@ -2931,13 +2694,6 @@ function hasStyleInput(tNode) {
2931
2694
  return (tNode.flags & 16 /* TNodeFlags.hasStyleInput */) !== 0;
2932
2695
  }
2933
2696
 
2934
- /**
2935
- * @license
2936
- * Copyright Google LLC All Rights Reserved.
2937
- *
2938
- * Use of this source code is governed by an MIT-style license that can be
2939
- * found in the LICENSE file at https://angular.io/license
2940
- */
2941
2697
  function assertTNodeType(tNode, expectedTypes, message) {
2942
2698
  assertDefined(tNode, 'should be called with a TNode');
2943
2699
  if ((tNode.type & expectedTypes) === 0) {
@@ -3157,13 +2913,6 @@ function mergeHostAttribute(dst, marker, key1, key2, value) {
3157
2913
  }
3158
2914
  }
3159
2915
 
3160
- /**
3161
- * @license
3162
- * Copyright Google LLC All Rights Reserved.
3163
- *
3164
- * Use of this source code is governed by an MIT-style license that can be
3165
- * found in the LICENSE file at https://angular.io/license
3166
- */
3167
2916
  /// Parent Injector Utils ///////////////////////////////////////////////////////////////
3168
2917
  function hasParentInjector(parentLocation) {
3169
2918
  return parentLocation !== NO_PARENT_INJECTOR;
@@ -3202,13 +2951,6 @@ function getParentInjectorView(location, startView) {
3202
2951
  return parentView;
3203
2952
  }
3204
2953
 
3205
- /**
3206
- * @license
3207
- * Copyright Google LLC All Rights Reserved.
3208
- *
3209
- * Use of this source code is governed by an MIT-style license that can be
3210
- * found in the LICENSE file at https://angular.io/license
3211
- */
3212
2954
  /**
3213
2955
  * Defines if the call to `inject` should include `viewProviders` in its resolution.
3214
2956
  *
@@ -3933,13 +3675,6 @@ function getTNodeFromLView(lView) {
3933
3675
  return null;
3934
3676
  }
3935
3677
 
3936
- /**
3937
- * @license
3938
- * Copyright Google LLC All Rights Reserved.
3939
- *
3940
- * Use of this source code is governed by an MIT-style license that can be
3941
- * found in the LICENSE file at https://angular.io/license
3942
- */
3943
3678
  /**
3944
3679
  * Facade for the attribute injection from DI.
3945
3680
  *
@@ -3949,13 +3684,6 @@ function ɵɵinjectAttribute(attrNameToInject) {
3949
3684
  return injectAttributeImpl(getCurrentTNode(), attrNameToInject);
3950
3685
  }
3951
3686
 
3952
- /**
3953
- * @license
3954
- * Copyright Google LLC All Rights Reserved.
3955
- *
3956
- * Use of this source code is governed by an MIT-style license that can be
3957
- * found in the LICENSE file at https://angular.io/license
3958
- */
3959
3687
  const ANNOTATIONS = '__annotations__';
3960
3688
  const PARAMETERS = '__parameters__';
3961
3689
  const PROP_METADATA = '__prop__metadata__';
@@ -4069,13 +3797,6 @@ function makePropDecorator(name, props, parentClass, additionalProcessing) {
4069
3797
  });
4070
3798
  }
4071
3799
 
4072
- /**
4073
- * @license
4074
- * Copyright Google LLC All Rights Reserved.
4075
- *
4076
- * Use of this source code is governed by an MIT-style license that can be
4077
- * found in the LICENSE file at https://angular.io/license
4078
- */
4079
3800
  /**
4080
3801
  * Attribute decorator and metadata.
4081
3802
  *
@@ -4084,13 +3805,6 @@ function makePropDecorator(name, props, parentClass, additionalProcessing) {
4084
3805
  */
4085
3806
  const Attribute = makeParamDecorator('Attribute', (attributeName) => ({ attributeName, __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName) }));
4086
3807
 
4087
- /**
4088
- * @license
4089
- * Copyright Google LLC All Rights Reserved.
4090
- *
4091
- * Use of this source code is governed by an MIT-style license that can be
4092
- * found in the LICENSE file at https://angular.io/license
4093
- */
4094
3808
  /**
4095
3809
  * Creates a token that can be used in a DI Provider.
4096
3810
  *
@@ -4173,13 +3887,6 @@ class InjectionToken {
4173
3887
  }
4174
3888
  }
4175
3889
 
4176
- /**
4177
- * @license
4178
- * Copyright Google LLC All Rights Reserved.
4179
- *
4180
- * Use of this source code is governed by an MIT-style license that can be
4181
- * found in the LICENSE file at https://angular.io/license
4182
- */
4183
3890
  /**
4184
3891
  * A DI token that you can use to create a virtual [provider](guide/glossary#provider)
4185
3892
  * that will populate the `entryComponents` field of components and NgModules
@@ -4279,13 +3986,6 @@ const ViewChildren = makePropDecorator('ViewChildren', (selector, data = {}) =>
4279
3986
  */
4280
3987
  const ViewChild = makePropDecorator('ViewChild', (selector, data) => ({ selector, first: true, isViewQuery: true, descendants: true, ...data }), Query);
4281
3988
 
4282
- /**
4283
- * @license
4284
- * Copyright Google LLC All Rights Reserved.
4285
- *
4286
- * Use of this source code is governed by an MIT-style license that can be
4287
- * found in the LICENSE file at https://angular.io/license
4288
- */
4289
3989
  var FactoryTarget;
4290
3990
  (function (FactoryTarget) {
4291
3991
  FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
@@ -4308,13 +4008,6 @@ var ViewEncapsulation;
4308
4008
  ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
4309
4009
  })(ViewEncapsulation || (ViewEncapsulation = {}));
4310
4010
 
4311
- /**
4312
- * @license
4313
- * Copyright Google LLC All Rights Reserved.
4314
- *
4315
- * Use of this source code is governed by an MIT-style license that can be
4316
- * found in the LICENSE file at https://angular.io/license
4317
- */
4318
4011
  function getCompilerFacade(request) {
4319
4012
  const globalNg = _global['ng'];
4320
4013
  if (globalNg && globalNg.ɵcompilerFacade) {
@@ -4349,13 +4042,6 @@ function getCompilerFacade(request) {
4349
4042
  }
4350
4043
  }
4351
4044
 
4352
- /**
4353
- * @license
4354
- * Copyright Google LLC All Rights Reserved.
4355
- *
4356
- * Use of this source code is governed by an MIT-style license that can be
4357
- * found in the LICENSE file at https://angular.io/license
4358
- */
4359
4045
  /**
4360
4046
  * @description
4361
4047
  *
@@ -4371,13 +4057,6 @@ function isType(v) {
4371
4057
  return typeof v === 'function';
4372
4058
  }
4373
4059
 
4374
- /**
4375
- * @license
4376
- * Copyright Google LLC All Rights Reserved.
4377
- *
4378
- * Use of this source code is governed by an MIT-style license that can be
4379
- * found in the LICENSE file at https://angular.io/license
4380
- */
4381
4060
  /**
4382
4061
  * Determines if the contents of two arrays is identical
4383
4062
  *
@@ -4635,13 +4314,6 @@ function _arrayIndexOfSorted(array, value, shift) {
4635
4314
  return ~(end << shift);
4636
4315
  }
4637
4316
 
4638
- /**
4639
- * @license
4640
- * Copyright Google LLC All Rights Reserved.
4641
- *
4642
- * Use of this source code is governed by an MIT-style license that can be
4643
- * found in the LICENSE file at https://angular.io/license
4644
- */
4645
4317
  /*
4646
4318
  * #########################
4647
4319
  * Attention: These Regular expressions have to hold even if the code is minified!
@@ -4893,13 +4565,6 @@ function getParentCtor(ctor) {
4893
4565
  return parentCtor || Object;
4894
4566
  }
4895
4567
 
4896
- /**
4897
- * @license
4898
- * Copyright Google LLC All Rights Reserved.
4899
- *
4900
- * Use of this source code is governed by an MIT-style license that can be
4901
- * found in the LICENSE file at https://angular.io/license
4902
- */
4903
4568
  /**
4904
4569
  * Inject decorator and metadata.
4905
4570
  *
@@ -4951,13 +4616,6 @@ const Host =
4951
4616
  // tslint:disable-next-line: no-toplevel-property-access
4952
4617
  attachInjectFlag(makeParamDecorator('Host'), 1 /* InternalInjectFlags.Host */);
4953
4618
 
4954
- /**
4955
- * @license
4956
- * Copyright Google LLC All Rights Reserved.
4957
- *
4958
- * Use of this source code is governed by an MIT-style license that can be
4959
- * found in the LICENSE file at https://angular.io/license
4960
- */
4961
4619
  let _reflect = null;
4962
4620
  function getReflect() {
4963
4621
  return (_reflect = _reflect || new ReflectionCapabilities());
@@ -5020,13 +4678,6 @@ function reflectDependency(dep) {
5020
4678
  return meta;
5021
4679
  }
5022
4680
 
5023
- /**
5024
- * @license
5025
- * Copyright Google LLC All Rights Reserved.
5026
- *
5027
- * Use of this source code is governed by an MIT-style license that can be
5028
- * found in the LICENSE file at https://angular.io/license
5029
- */
5030
4681
  /**
5031
4682
  * Used to resolve resource URLs on `@Component` when used with JIT compilation.
5032
4683
  *
@@ -5134,13 +4785,6 @@ function componentDefResolved(type) {
5134
4785
  componentDefPendingResolution.delete(type);
5135
4786
  }
5136
4787
 
5137
- /**
5138
- * @license
5139
- * Copyright Google LLC All Rights Reserved.
5140
- *
5141
- * Use of this source code is governed by an MIT-style license that can be
5142
- * found in the LICENSE file at https://angular.io/license
5143
- */
5144
4788
  /**
5145
4789
  * Map of module-id to the corresponding NgModule.
5146
4790
  */
@@ -5188,13 +4832,6 @@ function setAllowDuplicateNgModuleIdsForTest(allowDuplicates) {
5188
4832
  checkForDuplicateNgModules = !allowDuplicates;
5189
4833
  }
5190
4834
 
5191
- /**
5192
- * @license
5193
- * Copyright Google LLC All Rights Reserved.
5194
- *
5195
- * Use of this source code is governed by an MIT-style license that can be
5196
- * found in the LICENSE file at https://angular.io/license
5197
- */
5198
4835
  /**
5199
4836
  * Defines a schema that allows an NgModule to contain the following:
5200
4837
  * - Non-Angular elements named with dash case (`-`).
@@ -5219,13 +4856,6 @@ const NO_ERRORS_SCHEMA = {
5219
4856
  name: 'no-errors-schema'
5220
4857
  };
5221
4858
 
5222
- /**
5223
- * @license
5224
- * Copyright Google LLC All Rights Reserved.
5225
- *
5226
- * Use of this source code is governed by an MIT-style license that can be
5227
- * found in the LICENSE file at https://angular.io/license
5228
- */
5229
4859
  let shouldThrowErrorOnUnknownElement = false;
5230
4860
  /**
5231
4861
  * Sets a strict mode for JIT-compiled components to throw an error on unknown elements,
@@ -5484,13 +5114,6 @@ function matchingSchemas(schemas, tagName) {
5484
5114
  return false;
5485
5115
  }
5486
5116
 
5487
- /**
5488
- * @license
5489
- * Copyright Google LLC All Rights Reserved.
5490
- *
5491
- * Use of this source code is governed by an MIT-style license that can be
5492
- * found in the LICENSE file at https://angular.io/license
5493
- */
5494
5117
  /**
5495
5118
  * Flags for renderer-specific style modifiers.
5496
5119
  * @publicApi
@@ -5510,13 +5133,6 @@ var RendererStyleFlags2;
5510
5133
  RendererStyleFlags2[RendererStyleFlags2["DashCase"] = 2] = "DashCase";
5511
5134
  })(RendererStyleFlags2 || (RendererStyleFlags2 = {}));
5512
5135
 
5513
- /**
5514
- * @license
5515
- * Copyright Google LLC All Rights Reserved.
5516
- *
5517
- * Use of this source code is governed by an MIT-style license that can be
5518
- * found in the LICENSE file at https://angular.io/license
5519
- */
5520
5136
  /**
5521
5137
  * Disallowed strings in the comment.
5522
5138
  *
@@ -5559,13 +5175,6 @@ function escapeCommentText(value) {
5559
5175
  return value.replace(COMMENT_DISALLOWED, (text) => text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED));
5560
5176
  }
5561
5177
 
5562
- /**
5563
- * @license
5564
- * Copyright Google LLC All Rights Reserved.
5565
- *
5566
- * Use of this source code is governed by an MIT-style license that can be
5567
- * found in the LICENSE file at https://angular.io/license
5568
- */
5569
5178
  // Keeps track of the currently-active LViews.
5570
5179
  const TRACKED_LVIEWS = new Map();
5571
5180
  // Used for generating unique IDs for LViews.
@@ -5590,13 +5199,6 @@ function unregisterLView(lView) {
5590
5199
  TRACKED_LVIEWS.delete(lView[ID]);
5591
5200
  }
5592
5201
 
5593
- /**
5594
- * @license
5595
- * Copyright Google LLC All Rights Reserved.
5596
- *
5597
- * Use of this source code is governed by an MIT-style license that can be
5598
- * found in the LICENSE file at https://angular.io/license
5599
- */
5600
5202
  /**
5601
5203
  * The internal view context which is specific to a given DOM element, directive or
5602
5204
  * component instance. Each value in here (besides the LView and element node details)
@@ -5631,13 +5233,6 @@ class LContext {
5631
5233
  }
5632
5234
  }
5633
5235
 
5634
- /**
5635
- * @license
5636
- * Copyright Google LLC All Rights Reserved.
5637
- *
5638
- * Use of this source code is governed by an MIT-style license that can be
5639
- * found in the LICENSE file at https://angular.io/license
5640
- */
5641
5236
  /**
5642
5237
  * Returns the matching `LContext` data for a given DOM node, directive or component instance.
5643
5238
  *
@@ -5939,13 +5534,6 @@ function discoverLocalRefs(lView, nodeIndex) {
5939
5534
  return null;
5940
5535
  }
5941
5536
 
5942
- /**
5943
- * @license
5944
- * Copyright Google LLC All Rights Reserved.
5945
- *
5946
- * Use of this source code is governed by an MIT-style license that can be
5947
- * found in the LICENSE file at https://angular.io/license
5948
- */
5949
5537
  let _icuContainerIterate;
5950
5538
  /**
5951
5539
  * Iterator which provides ability to visit all of the `TIcuContainerNode` root `RNode`s.
@@ -5967,13 +5555,6 @@ function ensureIcuContainerVisitorLoaded(loader) {
5967
5555
  }
5968
5556
  }
5969
5557
 
5970
- /**
5971
- * @license
5972
- * Copyright Google LLC All Rights Reserved.
5973
- *
5974
- * Use of this source code is governed by an MIT-style license that can be
5975
- * found in the LICENSE file at https://angular.io/license
5976
- */
5977
5558
  /**
5978
5559
  * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of
5979
5560
  * that LContainer, which is an LView
@@ -6031,13 +5612,6 @@ function getNearestLContainer(viewOrContainer) {
6031
5612
  return viewOrContainer;
6032
5613
  }
6033
5614
 
6034
- /**
6035
- * @license
6036
- * Copyright Google LLC All Rights Reserved.
6037
- *
6038
- * Use of this source code is governed by an MIT-style license that can be
6039
- * found in the LICENSE file at https://angular.io/license
6040
- */
6041
5615
  /**
6042
5616
  * NOTE: for performance reasons, the possible actions are inlined within the function instead of
6043
5617
  * being passed as an argument.
@@ -6964,11 +6538,13 @@ function setupStaticAttributes(renderer, element, tNode) {
6964
6538
  }
6965
6539
 
6966
6540
  /**
6967
- * @license
6968
- * Copyright Google LLC All Rights Reserved.
6969
- *
6970
- * Use of this source code is governed by an MIT-style license that can be
6971
- * found in the LICENSE file at https://angular.io/license
6541
+ * @fileoverview
6542
+ * A module to facilitate use of a Trusted Types policy internally within
6543
+ * Angular. It lazily constructs the Trusted Types policy, providing helper
6544
+ * utilities for promoting strings to Trusted Types. When Trusted Types are not
6545
+ * available, strings are used as a fallback.
6546
+ * @security All use of this module is security-sensitive and should go through
6547
+ * security review.
6972
6548
  */
6973
6549
  /**
6974
6550
  * The Trusted Types policy, or null if Trusted Types are not
@@ -7083,13 +6659,6 @@ function newTrustedFunctionForDev(...args) {
7083
6659
  // return new Function(...args.map(a => trustedScriptFromString(a)));
7084
6660
  }
7085
6661
 
7086
- /**
7087
- * @license
7088
- * Copyright Google LLC All Rights Reserved.
7089
- *
7090
- * Use of this source code is governed by an MIT-style license that can be
7091
- * found in the LICENSE file at https://angular.io/license
7092
- */
7093
6662
  /**
7094
6663
  * Validation function invoked at runtime for each binding that might potentially
7095
6664
  * represent a security-sensitive attribute of an <iframe>.
@@ -7125,13 +6694,6 @@ function ɵɵvalidateIframeAttribute(attrValue, tagName, attrName) {
7125
6694
  return attrValue;
7126
6695
  }
7127
6696
 
7128
- /**
7129
- * @license
7130
- * Copyright Google LLC All Rights Reserved.
7131
- *
7132
- * Use of this source code is governed by an MIT-style license that can be
7133
- * found in the LICENSE file at https://angular.io/license
7134
- */
7135
6697
  /**
7136
6698
  * Most of the use of `document` in Angular is from within the DI system so it is possible to simply
7137
6699
  * inject the `DOCUMENT` token and are done.
@@ -7181,11 +6743,14 @@ function getDocument() {
7181
6743
  }
7182
6744
 
7183
6745
  /**
7184
- * @license
7185
- * Copyright Google LLC All Rights Reserved.
7186
- *
7187
- * Use of this source code is governed by an MIT-style license that can be
7188
- * found in the LICENSE file at https://angular.io/license
6746
+ * @fileoverview
6747
+ * A module to facilitate use of a Trusted Types policy internally within
6748
+ * Angular specifically for bypassSecurityTrust* and custom sanitizers. It
6749
+ * lazily constructs the Trusted Types policy, providing helper utilities for
6750
+ * promoting strings to Trusted Types. When Trusted Types are not available,
6751
+ * strings are used as a fallback.
6752
+ * @security All use of this module is security-sensitive and should go through
6753
+ * security review.
7189
6754
  */
7190
6755
  /**
7191
6756
  * The Trusted Types policy, or null if Trusted Types are not
@@ -7252,13 +6817,6 @@ function trustedScriptURLFromStringBypass(url) {
7252
6817
  return getPolicy()?.createScriptURL(url) || url;
7253
6818
  }
7254
6819
 
7255
- /**
7256
- * @license
7257
- * Copyright Google LLC All Rights Reserved.
7258
- *
7259
- * Use of this source code is governed by an MIT-style license that can be
7260
- * found in the LICENSE file at https://angular.io/license
7261
- */
7262
6820
  class SafeValueImpl {
7263
6821
  constructor(changingThisBreaksApplicationSecurity) {
7264
6822
  this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;
@@ -7371,13 +6929,6 @@ function bypassSanitizationTrustResourceUrl(trustedResourceUrl) {
7371
6929
  return new SafeResourceUrlImpl(trustedResourceUrl);
7372
6930
  }
7373
6931
 
7374
- /**
7375
- * @license
7376
- * Copyright Google LLC All Rights Reserved.
7377
- *
7378
- * Use of this source code is governed by an MIT-style license that can be
7379
- * found in the LICENSE file at https://angular.io/license
7380
- */
7381
6932
  /**
7382
6933
  * This helper is used to get hold of an inert tree of DOM elements containing dirty HTML
7383
6934
  * that needs sanitizing.
@@ -7504,13 +7055,6 @@ function isDOMParserAvailable() {
7504
7055
  }
7505
7056
  }
7506
7057
 
7507
- /**
7508
- * @license
7509
- * Copyright Google LLC All Rights Reserved.
7510
- *
7511
- * Use of this source code is governed by an MIT-style license that can be
7512
- * found in the LICENSE file at https://angular.io/license
7513
- */
7514
7058
  /**
7515
7059
  * A pattern that recognizes a commonly useful subset of URLs that are safe.
7516
7060
  *
@@ -7548,13 +7092,6 @@ function _sanitizeUrl(url) {
7548
7092
  return 'unsafe:' + url;
7549
7093
  }
7550
7094
 
7551
- /**
7552
- * @license
7553
- * Copyright Google LLC All Rights Reserved.
7554
- *
7555
- * Use of this source code is governed by an MIT-style license that can be
7556
- * found in the LICENSE file at https://angular.io/license
7557
- */
7558
7095
  function tagSet(tags) {
7559
7096
  const res = {};
7560
7097
  for (const t of tags.split(','))
@@ -7794,13 +7331,6 @@ function isTemplateElement(el) {
7794
7331
  return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';
7795
7332
  }
7796
7333
 
7797
- /**
7798
- * @license
7799
- * Copyright Google LLC All Rights Reserved.
7800
- *
7801
- * Use of this source code is governed by an MIT-style license that can be
7802
- * found in the LICENSE file at https://angular.io/license
7803
- */
7804
7334
  /**
7805
7335
  * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property
7806
7336
  * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly
@@ -7820,13 +7350,6 @@ var SecurityContext;
7820
7350
  SecurityContext[SecurityContext["RESOURCE_URL"] = 5] = "RESOURCE_URL";
7821
7351
  })(SecurityContext || (SecurityContext = {}));
7822
7352
 
7823
- /**
7824
- * @license
7825
- * Copyright Google LLC All Rights Reserved.
7826
- *
7827
- * Use of this source code is governed by an MIT-style license that can be
7828
- * found in the LICENSE file at https://angular.io/license
7829
- */
7830
7353
  /**
7831
7354
  * An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing
7832
7355
  * dangerous content.
@@ -8047,13 +7570,6 @@ function getSanitizer() {
8047
7570
  return lView && lView[SANITIZER];
8048
7571
  }
8049
7572
 
8050
- /**
8051
- * @license
8052
- * Copyright Google LLC All Rights Reserved.
8053
- *
8054
- * Use of this source code is governed by an MIT-style license that can be
8055
- * found in the LICENSE file at https://angular.io/license
8056
- */
8057
7573
  /**
8058
7574
  * A multi-provider token for initialization functions that will run upon construction of an
8059
7575
  * environment injector.
@@ -8062,13 +7578,6 @@ function getSanitizer() {
8062
7578
  */
8063
7579
  const ENVIRONMENT_INITIALIZER = new InjectionToken('ENVIRONMENT_INITIALIZER');
8064
7580
 
8065
- /**
8066
- * @license
8067
- * Copyright Google LLC All Rights Reserved.
8068
- *
8069
- * Use of this source code is governed by an MIT-style license that can be
8070
- * found in the LICENSE file at https://angular.io/license
8071
- */
8072
7581
  /**
8073
7582
  * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.
8074
7583
  *
@@ -8082,22 +7591,8 @@ const INJECTOR = new InjectionToken('INJECTOR',
8082
7591
  // tslint:disable-next-line: no-toplevel-property-access
8083
7592
  -1 /* InjectorMarkers.Injector */);
8084
7593
 
8085
- /**
8086
- * @license
8087
- * Copyright Google LLC All Rights Reserved.
8088
- *
8089
- * Use of this source code is governed by an MIT-style license that can be
8090
- * found in the LICENSE file at https://angular.io/license
8091
- */
8092
7594
  const INJECTOR_DEF_TYPES = new InjectionToken('INJECTOR_DEF_TYPES');
8093
7595
 
8094
- /**
8095
- * @license
8096
- * Copyright Google LLC All Rights Reserved.
8097
- *
8098
- * Use of this source code is governed by an MIT-style license that can be
8099
- * found in the LICENSE file at https://angular.io/license
8100
- */
8101
7596
  class NullInjector {
8102
7597
  get(token, notFoundValue = THROW_IF_NOT_FOUND) {
8103
7598
  if (notFoundValue === THROW_IF_NOT_FOUND) {
@@ -8109,21 +7604,6 @@ class NullInjector {
8109
7604
  }
8110
7605
  }
8111
7606
 
8112
- /**
8113
- * @license
8114
- * Copyright Google LLC All Rights Reserved.
8115
- *
8116
- * Use of this source code is governed by an MIT-style license that can be
8117
- * found in the LICENSE file at https://angular.io/license
8118
- */
8119
-
8120
- /**
8121
- * @license
8122
- * Copyright Google LLC All Rights Reserved.
8123
- *
8124
- * Use of this source code is governed by an MIT-style license that can be
8125
- * found in the LICENSE file at https://angular.io/license
8126
- */
8127
7607
  /**
8128
7608
  * Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally
8129
7609
  * referenced in `@Component in a component injector.
@@ -8381,13 +7861,6 @@ function isClassProvider(value) {
8381
7861
  return !!value.useClass;
8382
7862
  }
8383
7863
 
8384
- /**
8385
- * @license
8386
- * Copyright Google LLC All Rights Reserved.
8387
- *
8388
- * Use of this source code is governed by an MIT-style license that can be
8389
- * found in the LICENSE file at https://angular.io/license
8390
- */
8391
7864
  /**
8392
7865
  * An internal token whose presence in an injector indicates that the injector should treat itself
8393
7866
  * as a root scoped injector when processing requests for unknown tokens which may indicate
@@ -8395,13 +7868,6 @@ function isClassProvider(value) {
8395
7868
  */
8396
7869
  const INJECTOR_SCOPE = new InjectionToken('Set Injector scope.');
8397
7870
 
8398
- /**
8399
- * @license
8400
- * Copyright Google LLC All Rights Reserved.
8401
- *
8402
- * Use of this source code is governed by an MIT-style license that can be
8403
- * found in the LICENSE file at https://angular.io/license
8404
- */
8405
7871
  /**
8406
7872
  * Marker which indicates that a value has not yet been created from the factory function.
8407
7873
  */
@@ -8583,7 +8049,7 @@ class R3Injector extends EnvironmentInjector {
8583
8049
  try {
8584
8050
  const initializers = this.get(ENVIRONMENT_INITIALIZER.multi, EMPTY_ARRAY, InjectFlags.Self);
8585
8051
  if (ngDevMode && !Array.isArray(initializers)) {
8586
- throw new RuntimeError(209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' +
8052
+ throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' +
8587
8053
  `(expected an array, but got ${typeof initializers}). ` +
8588
8054
  'Please check that the `ENVIRONMENT_INITIALIZER` token is configured as a ' +
8589
8055
  '`multi: true` provider.');
@@ -8792,13 +8258,6 @@ function forEachSingleProvider(providers, fn) {
8792
8258
  }
8793
8259
  }
8794
8260
 
8795
- /**
8796
- * @license
8797
- * Copyright Google LLC All Rights Reserved.
8798
- *
8799
- * Use of this source code is governed by an MIT-style license that can be
8800
- * found in the LICENSE file at https://angular.io/license
8801
- */
8802
8261
  /**
8803
8262
  * Represents a component created by a `ComponentFactory`.
8804
8263
  * Provides access to the component instance and related objects,
@@ -8823,13 +8282,6 @@ class ComponentRef$1 {
8823
8282
  class ComponentFactory$1 {
8824
8283
  }
8825
8284
 
8826
- /**
8827
- * @license
8828
- * Copyright Google LLC All Rights Reserved.
8829
- *
8830
- * Use of this source code is governed by an MIT-style license that can be
8831
- * found in the LICENSE file at https://angular.io/license
8832
- */
8833
8285
  function noComponentFactoryError(component) {
8834
8286
  const error = Error(`No component factory found for ${stringify(component)}. Did you add it to @NgModule.entryComponents?`);
8835
8287
  error[ERROR_COMPONENT] = component;
@@ -8863,13 +8315,6 @@ class ComponentFactoryResolver$1 {
8863
8315
  }
8864
8316
  ComponentFactoryResolver$1.NULL = ( /* @__PURE__ */new _NullComponentFactoryResolver());
8865
8317
 
8866
- /**
8867
- * @license
8868
- * Copyright Google LLC All Rights Reserved.
8869
- *
8870
- * Use of this source code is governed by an MIT-style license that can be
8871
- * found in the LICENSE file at https://angular.io/license
8872
- */
8873
8318
  /**
8874
8319
  * Creates an ElementRef from the most recent node.
8875
8320
  *
@@ -8923,13 +8368,6 @@ function unwrapElementRef(value) {
8923
8368
  return value instanceof ElementRef ? value.nativeElement : value;
8924
8369
  }
8925
8370
 
8926
- /**
8927
- * @license
8928
- * Copyright Google LLC All Rights Reserved.
8929
- *
8930
- * Use of this source code is governed by an MIT-style license that can be
8931
- * found in the LICENSE file at https://angular.io/license
8932
- */
8933
8371
  /**
8934
8372
  * Creates and initializes a custom renderer that implements the `Renderer2` base class.
8935
8373
  *
@@ -8969,13 +8407,6 @@ function injectRenderer2() {
8969
8407
  return (isLView(nodeAtIndex) ? nodeAtIndex : lView)[RENDERER];
8970
8408
  }
8971
8409
 
8972
- /**
8973
- * @license
8974
- * Copyright Google LLC All Rights Reserved.
8975
- *
8976
- * Use of this source code is governed by an MIT-style license that can be
8977
- * found in the LICENSE file at https://angular.io/license
8978
- */
8979
8410
  /**
8980
8411
  * Sanitizer is used by the views to sanitize potentially dangerous values.
8981
8412
  *
@@ -8990,13 +8421,6 @@ Sanitizer.ɵprov = ɵɵdefineInjectable({
8990
8421
  factory: () => null,
8991
8422
  });
8992
8423
 
8993
- /**
8994
- * @license
8995
- * Copyright Google LLC All Rights Reserved.
8996
- *
8997
- * Use of this source code is governed by an MIT-style license that can be
8998
- * found in the LICENSE file at https://angular.io/license
8999
- */
9000
8424
  /**
9001
8425
  * @description Represents the version of Angular
9002
8426
  *
@@ -9013,15 +8437,8 @@ class Version {
9013
8437
  /**
9014
8438
  * @publicApi
9015
8439
  */
9016
- const VERSION = new Version('15.1.0-next.2');
8440
+ const VERSION = new Version('15.1.0-rc.0');
9017
8441
 
9018
- /**
9019
- * @license
9020
- * Copyright Google LLC All Rights Reserved.
9021
- *
9022
- * Use of this source code is governed by an MIT-style license that can be
9023
- * found in the LICENSE file at https://angular.io/license
9024
- */
9025
8442
  // This default value is when checking the hierarchy for a token.
9026
8443
  //
9027
8444
  // It means both:
@@ -9041,13 +8458,6 @@ const VERSION = new Version('15.1.0-next.2');
9041
8458
  // - mod2.injector.get(token, default)
9042
8459
  const NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};
9043
8460
 
9044
- /**
9045
- * @license
9046
- * Copyright Google LLC All Rights Reserved.
9047
- *
9048
- * Use of this source code is governed by an MIT-style license that can be
9049
- * found in the LICENSE file at https://angular.io/license
9050
- */
9051
8461
  const ERROR_ORIGINAL_ERROR = 'ngOriginalError';
9052
8462
  function wrappedError(message, originalError) {
9053
8463
  const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;
@@ -9059,13 +8469,6 @@ function getOriginalError(error) {
9059
8469
  return error[ERROR_ORIGINAL_ERROR];
9060
8470
  }
9061
8471
 
9062
- /**
9063
- * @license
9064
- * Copyright Google LLC All Rights Reserved.
9065
- *
9066
- * Use of this source code is governed by an MIT-style license that can be
9067
- * found in the LICENSE file at https://angular.io/license
9068
- */
9069
8472
  /**
9070
8473
  * Provides a hook for centralized exception handling.
9071
8474
  *
@@ -9115,13 +8518,6 @@ class ErrorHandler {
9115
8518
  }
9116
8519
  }
9117
8520
 
9118
- /**
9119
- * @license
9120
- * Copyright Google LLC All Rights Reserved.
9121
- *
9122
- * Use of this source code is governed by an MIT-style license that can be
9123
- * found in the LICENSE file at https://angular.io/license
9124
- */
9125
8521
  function normalizeDebugBindingName(name) {
9126
8522
  // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers
9127
8523
  name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));
@@ -9141,13 +8537,6 @@ function normalizeDebugBindingValue(value) {
9141
8537
  }
9142
8538
  }
9143
8539
 
9144
- /**
9145
- * @license
9146
- * Copyright Google LLC All Rights Reserved.
9147
- *
9148
- * Use of this source code is governed by an MIT-style license that can be
9149
- * found in the LICENSE file at https://angular.io/license
9150
- */
9151
8540
  /**
9152
8541
  *
9153
8542
  * @codeGenApi
@@ -9196,13 +8585,6 @@ function maybeUnwrapFn(value) {
9196
8585
  }
9197
8586
  }
9198
8587
 
9199
- /**
9200
- * @license
9201
- * Copyright Google LLC All Rights Reserved.
9202
- *
9203
- * Use of this source code is governed by an MIT-style license that can be
9204
- * found in the LICENSE file at https://angular.io/license
9205
- */
9206
8588
  /** Verifies that a given type is a Standalone Component. */
9207
8589
  function assertStandaloneComponentType(type) {
9208
8590
  assertComponentDef(type);
@@ -9289,13 +8671,6 @@ function getExpressionChangedErrorDetails(lView, bindingIndex, oldValue, newValu
9289
8671
  return { propName: undefined, oldValue, newValue };
9290
8672
  }
9291
8673
 
9292
- /**
9293
- * @license
9294
- * Copyright Google LLC All Rights Reserved.
9295
- *
9296
- * Use of this source code is governed by an MIT-style license that can be
9297
- * found in the LICENSE file at https://angular.io/license
9298
- */
9299
8674
  /**
9300
8675
  * Returns an index of `classToSearch` in `className` taking token boundaries into account.
9301
8676
  *
@@ -9327,13 +8702,6 @@ function classIndexOf(className, classToSearch, startingIndex) {
9327
8702
  }
9328
8703
  }
9329
8704
 
9330
- /**
9331
- * @license
9332
- * Copyright Google LLC All Rights Reserved.
9333
- *
9334
- * Use of this source code is governed by an MIT-style license that can be
9335
- * found in the LICENSE file at https://angular.io/license
9336
- */
9337
8705
  const NG_TEMPLATE_SELECTOR = 'ng-template';
9338
8706
  /**
9339
8707
  * Search the `TAttributes` to see if it contains `cssClassToMatch` (case insensitive)
@@ -9737,23 +9105,9 @@ function extractAttrsAndClassesFromSelector(selector) {
9737
9105
  return { attrs, classes };
9738
9106
  }
9739
9107
 
9740
- /**
9741
- * @license
9742
- * Copyright Google LLC All Rights Reserved.
9743
- *
9744
- * Use of this source code is governed by an MIT-style license that can be
9745
- * found in the LICENSE file at https://angular.io/license
9746
- */
9747
9108
  /** A special value which designates that a value has not changed. */
9748
9109
  const NO_CHANGE = (typeof ngDevMode === 'undefined' || ngDevMode) ? { __brand__: 'NO_CHANGE' } : {};
9749
9110
 
9750
- /**
9751
- * @license
9752
- * Copyright Google LLC All Rights Reserved.
9753
- *
9754
- * Use of this source code is governed by an MIT-style license that can be
9755
- * found in the LICENSE file at https://angular.io/license
9756
- */
9757
9111
  /**
9758
9112
  * Advances to an element for later binding instructions.
9759
9113
  *
@@ -9807,13 +9161,6 @@ function selectIndexInternal(tView, lView, index, checkNoChangesMode) {
9807
9161
  setSelectedIndex(index);
9808
9162
  }
9809
9163
 
9810
- /**
9811
- * @license
9812
- * Copyright Google LLC All Rights Reserved.
9813
- *
9814
- * Use of this source code is governed by an MIT-style license that can be
9815
- * found in the LICENSE file at https://angular.io/license
9816
- */
9817
9164
  /**
9818
9165
  * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
9819
9166
  *
@@ -9827,13 +9174,6 @@ const angularCoreDiEnv = {
9827
9174
  'resolveForwardRef': resolveForwardRef,
9828
9175
  };
9829
9176
 
9830
- /**
9831
- * @license
9832
- * Copyright Google LLC All Rights Reserved.
9833
- *
9834
- * Use of this source code is governed by an MIT-style license that can be
9835
- * found in the LICENSE file at https://angular.io/license
9836
- */
9837
9177
  /**
9838
9178
  * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting
9839
9179
  * injectable def (`ɵprov`) onto the injectable type.
@@ -9915,13 +9255,6 @@ function getInjectableMetadata(type, srcMeta) {
9915
9255
  return compilerMeta;
9916
9256
  }
9917
9257
 
9918
- /**
9919
- * @license
9920
- * Copyright Google LLC All Rights Reserved.
9921
- *
9922
- * Use of this source code is governed by an MIT-style license that can be
9923
- * found in the LICENSE file at https://angular.io/license
9924
- */
9925
9258
  /**
9926
9259
  * Injectable decorator and metadata.
9927
9260
  *
@@ -9930,13 +9263,6 @@ function getInjectableMetadata(type, srcMeta) {
9930
9263
  */
9931
9264
  const Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => compileInjectable(type, meta));
9932
9265
 
9933
- /**
9934
- * @license
9935
- * Copyright Google LLC All Rights Reserved.
9936
- *
9937
- * Use of this source code is governed by an MIT-style license that can be
9938
- * found in the LICENSE file at https://angular.io/license
9939
- */
9940
9266
  /**
9941
9267
  * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
9942
9268
  *
@@ -9961,13 +9287,6 @@ function createInjectorWithoutInjectorInstances(defType, parent = null, addition
9961
9287
  return new R3Injector(providers, parent || getNullInjector(), name || null, scopes);
9962
9288
  }
9963
9289
 
9964
- /**
9965
- * @license
9966
- * Copyright Google LLC All Rights Reserved.
9967
- *
9968
- * Use of this source code is governed by an MIT-style license that can be
9969
- * found in the LICENSE file at https://angular.io/license
9970
- */
9971
9290
  /**
9972
9291
  * Concrete injectors implement this interface. Injectors are configured
9973
9292
  * with [providers](guide/glossary#provider) that associate
@@ -10017,13 +9336,6 @@ Injector.ɵprov = ɵɵdefineInjectable({
10017
9336
  */
10018
9337
  Injector.__NG_ELEMENT_ID__ = -1 /* InjectorMarkers.Injector */;
10019
9338
 
10020
- /**
10021
- * @license
10022
- * Copyright Google LLC All Rights Reserved.
10023
- *
10024
- * Use of this source code is governed by an MIT-style license that can be
10025
- * found in the LICENSE file at https://angular.io/license
10026
- */
10027
9339
  function findFirstClosedCycle(keys) {
10028
9340
  const res = [];
10029
9341
  for (let i = 0; i < keys.length; ++i) {
@@ -10232,13 +9544,6 @@ function mixingMultiProvidersWithRegularProvidersError(provider1, provider2) {
10232
9544
  return Error(`Cannot mix multi providers and regular providers, got: ${provider1} ${provider2}`);
10233
9545
  }
10234
9546
 
10235
- /**
10236
- * @license
10237
- * Copyright Google LLC All Rights Reserved.
10238
- *
10239
- * Use of this source code is governed by an MIT-style license that can be
10240
- * found in the LICENSE file at https://angular.io/license
10241
- */
10242
9547
  /**
10243
9548
  * A unique object used for retrieving items from the {@link ReflectiveInjector}.
10244
9549
  *
@@ -10302,13 +9607,6 @@ class KeyRegistry {
10302
9607
  }
10303
9608
  const _globalKeyRegistry = new KeyRegistry();
10304
9609
 
10305
- /**
10306
- * @license
10307
- * Copyright Google LLC All Rights Reserved.
10308
- *
10309
- * Use of this source code is governed by an MIT-style license that can be
10310
- * found in the LICENSE file at https://angular.io/license
10311
- */
10312
9610
  /**
10313
9611
  * `Dependency` is used by the framework to extend DI.
10314
9612
  * This is internal to Angular and should not be used directly.
@@ -10504,13 +9802,6 @@ function _createDependency(token, optional, visibility) {
10504
9802
  return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility);
10505
9803
  }
10506
9804
 
10507
- /**
10508
- * @license
10509
- * Copyright Google LLC All Rights Reserved.
10510
- *
10511
- * Use of this source code is governed by an MIT-style license that can be
10512
- * found in the LICENSE file at https://angular.io/license
10513
- */
10514
9805
  // Threshold for the dynamic version
10515
9806
  const UNDEFINED = {};
10516
9807
  /**
@@ -10809,28 +10100,28 @@ function _mapProviders(injector, fn) {
10809
10100
  }
10810
10101
 
10811
10102
  /**
10812
- * @license
10813
- * Copyright Google LLC All Rights Reserved.
10814
- *
10815
- * Use of this source code is governed by an MIT-style license that can be
10816
- * found in the LICENSE file at https://angular.io/license
10103
+ * @module
10104
+ * @description
10105
+ * The `di` module provides dependency injection container services.
10817
10106
  */
10818
10107
 
10819
10108
  /**
10820
- * @license
10821
- * Copyright Google LLC All Rights Reserved.
10109
+ * This file should not be necessary because node resolution should just default to `./di/index`!
10822
10110
  *
10823
- * Use of this source code is governed by an MIT-style license that can be
10824
- * found in the LICENSE file at https://angular.io/license
10825
- */
10826
-
10827
- /**
10828
- * @license
10829
- * Copyright Google LLC All Rights Reserved.
10111
+ * However it does not seem to work and it breaks:
10112
+ * - //packages/animations/browser/test:test_web_chromium-local
10113
+ * - //packages/compiler-cli/test:extract_i18n
10114
+ * - //packages/compiler-cli/test:ngc
10115
+ * - //packages/compiler-cli/test:perform_watch
10116
+ * - //packages/compiler-cli/test/diagnostics:check_types
10117
+ * - //packages/compiler-cli/test/transformers:test
10118
+ * - //packages/compiler/test:test
10119
+ * - //tools/public_api_guard:core_api
10830
10120
  *
10831
- * Use of this source code is governed by an MIT-style license that can be
10832
- * found in the LICENSE file at https://angular.io/license
10121
+ * Remove this file once the above is solved or wait until `ngc` is deleted and then it should be
10122
+ * safe to delete this file.
10833
10123
  */
10124
+
10834
10125
  function ɵɵdirectiveInject(token, flags = InjectFlags.Default) {
10835
10126
  const lView = getLView();
10836
10127
  // Fall back to inject() if view hasn't been created. This situation can happen in tests
@@ -10860,13 +10151,6 @@ function ɵɵinvalidFactory() {
10860
10151
  throw new Error(msg);
10861
10152
  }
10862
10153
 
10863
- /**
10864
- * @license
10865
- * Copyright Google LLC All Rights Reserved.
10866
- *
10867
- * Use of this source code is governed by an MIT-style license that can be
10868
- * found in the LICENSE file at https://angular.io/license
10869
- */
10870
10154
  /**
10871
10155
  * Invoke `HostBindingsFunction`s for view.
10872
10156
  *
@@ -12470,13 +11754,6 @@ function textBindingInternal(lView, index, value) {
12470
11754
  updateTextNode(lView[RENDERER], element, value);
12471
11755
  }
12472
11756
 
12473
- /**
12474
- * @license
12475
- * Copyright Google LLC All Rights Reserved.
12476
- *
12477
- * Use of this source code is governed by an MIT-style license that can be
12478
- * found in the LICENSE file at https://angular.io/license
12479
- */
12480
11757
  /**
12481
11758
  * Compute the static styling (class/style) from `TAttributes`.
12482
11759
  *
@@ -12514,13 +11791,6 @@ function computeStaticStyling(tNode, attrs, writeToHost) {
12514
11791
  writeToHost ? tNode.classes = classes : tNode.classesWithoutHost = classes;
12515
11792
  }
12516
11793
 
12517
- /**
12518
- * @license
12519
- * Copyright Google LLC All Rights Reserved.
12520
- *
12521
- * Use of this source code is governed by an MIT-style license that can be
12522
- * found in the LICENSE file at https://angular.io/license
12523
- */
12524
11794
  function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
12525
11795
  while (tNode !== null) {
12526
11796
  ngDevMode &&
@@ -12568,13 +11838,6 @@ function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
12568
11838
  return result;
12569
11839
  }
12570
11840
 
12571
- /**
12572
- * @license
12573
- * Copyright Google LLC All Rights Reserved.
12574
- *
12575
- * Use of this source code is governed by an MIT-style license that can be
12576
- * found in the LICENSE file at https://angular.io/license
12577
- */
12578
11841
  class ViewRef$1 {
12579
11842
  get rootNodes() {
12580
11843
  const lView = this._lView;
@@ -12864,13 +12127,6 @@ class RootViewRef extends ViewRef$1 {
12864
12127
  }
12865
12128
  }
12866
12129
 
12867
- /**
12868
- * @license
12869
- * Copyright Google LLC All Rights Reserved.
12870
- *
12871
- * Use of this source code is governed by an MIT-style license that can be
12872
- * found in the LICENSE file at https://angular.io/license
12873
- */
12874
12130
  class ComponentFactoryResolver extends ComponentFactoryResolver$1 {
12875
12131
  /**
12876
12132
  * @param ngModule The NgModuleRef to which all resolved factories are bound.
@@ -13205,13 +12461,6 @@ function LifecycleHooksFeature() {
13205
12461
  registerPostOrderHooks(getLView()[TVIEW], tNode);
13206
12462
  }
13207
12463
 
13208
- /**
13209
- * @license
13210
- * Copyright Google LLC All Rights Reserved.
13211
- *
13212
- * Use of this source code is governed by an MIT-style license that can be
13213
- * found in the LICENSE file at https://angular.io/license
13214
- */
13215
12464
  function getSuperType(type) {
13216
12465
  return Object.getPrototypeOf(type.prototype).constructor;
13217
12466
  }
@@ -13362,13 +12611,6 @@ function inheritHostBindings(definition, superHostBindings) {
13362
12611
  }
13363
12612
  }
13364
12613
 
13365
- /**
13366
- * @license
13367
- * Copyright Google LLC All Rights Reserved.
13368
- *
13369
- * Use of this source code is governed by an MIT-style license that can be
13370
- * found in the LICENSE file at https://angular.io/license
13371
- */
13372
12614
  /**
13373
12615
  * Fields which exist on either directive or component definitions, and need to be copied from
13374
12616
  * parent to child classes by the `ɵɵCopyDefinitionFeature`.
@@ -13442,13 +12684,6 @@ function ɵɵCopyDefinitionFeature(definition) {
13442
12684
  }
13443
12685
  }
13444
12686
 
13445
- /**
13446
- * @license
13447
- * Copyright Google LLC All Rights Reserved.
13448
- *
13449
- * Use of this source code is governed by an MIT-style license that can be
13450
- * found in the LICENSE file at https://angular.io/license
13451
- */
13452
12687
  /**
13453
12688
  * This feature adds the host directives behavior to a directive definition by patching a
13454
12689
  * function onto it. The expectation is that the runtime will invoke the function during
@@ -13599,13 +12834,6 @@ function validateMappings(bindingType, def, hostDirectiveBindings) {
13599
12834
  }
13600
12835
  }
13601
12836
 
13602
- /**
13603
- * @license
13604
- * Copyright Google LLC All Rights Reserved.
13605
- *
13606
- * Use of this source code is governed by an MIT-style license that can be
13607
- * found in the LICENSE file at https://angular.io/license
13608
- */
13609
12837
  let _symbolIterator = null;
13610
12838
  function getSymbolIterator() {
13611
12839
  if (!_symbolIterator) {
@@ -13628,13 +12856,6 @@ function getSymbolIterator() {
13628
12856
  return _symbolIterator;
13629
12857
  }
13630
12858
 
13631
- /**
13632
- * @license
13633
- * Copyright Google LLC All Rights Reserved.
13634
- *
13635
- * Use of this source code is governed by an MIT-style license that can be
13636
- * found in the LICENSE file at https://angular.io/license
13637
- */
13638
12859
  function isIterable(obj) {
13639
12860
  return obj !== null && typeof obj === 'object' && obj[getSymbolIterator()] !== undefined;
13640
12861
  }
@@ -13677,13 +12898,6 @@ function isJsObject(o) {
13677
12898
  return o !== null && (typeof o === 'function' || typeof o === 'object');
13678
12899
  }
13679
12900
 
13680
- /**
13681
- * @license
13682
- * Copyright Google LLC All Rights Reserved.
13683
- *
13684
- * Use of this source code is governed by an MIT-style license that can be
13685
- * found in the LICENSE file at https://angular.io/license
13686
- */
13687
12901
  function devModeEqual(a, b) {
13688
12902
  const isListLikeIterableA = isListLikeIterable(a);
13689
12903
  const isListLikeIterableB = isListLikeIterable(b);
@@ -13702,13 +12916,6 @@ function devModeEqual(a, b) {
13702
12916
  }
13703
12917
  }
13704
12918
 
13705
- /**
13706
- * @license
13707
- * Copyright Google LLC All Rights Reserved.
13708
- *
13709
- * Use of this source code is governed by an MIT-style license that can be
13710
- * found in the LICENSE file at https://angular.io/license
13711
- */
13712
12919
  // TODO(misko): consider inlining
13713
12920
  /** Updates binding and returns the value. */
13714
12921
  function updateBinding(lView, bindingIndex, value) {
@@ -13777,13 +12984,6 @@ function bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) {
13777
12984
  return bindingUpdated2(lView, bindingIndex + 2, exp3, exp4) || different;
13778
12985
  }
13779
12986
 
13780
- /**
13781
- * @license
13782
- * Copyright Google LLC All Rights Reserved.
13783
- *
13784
- * Use of this source code is governed by an MIT-style license that can be
13785
- * found in the LICENSE file at https://angular.io/license
13786
- */
13787
12987
  /**
13788
12988
  * Updates the value of or removes a bound attribute on an Element.
13789
12989
  *
@@ -13809,13 +13009,6 @@ function ɵɵattribute(name, value, sanitizer, namespace) {
13809
13009
  return ɵɵattribute;
13810
13010
  }
13811
13011
 
13812
- /**
13813
- * @license
13814
- * Copyright Google LLC All Rights Reserved.
13815
- *
13816
- * Use of this source code is governed by an MIT-style license that can be
13817
- * found in the LICENSE file at https://angular.io/license
13818
- */
13819
13012
  /**
13820
13013
  * Create interpolation bindings with a variable number of expressions.
13821
13014
  *
@@ -14327,13 +13520,6 @@ function ɵɵattributeInterpolateV(attrName, values, sanitizer, namespace) {
14327
13520
  return ɵɵattributeInterpolateV;
14328
13521
  }
14329
13522
 
14330
- /**
14331
- * @license
14332
- * Copyright Google LLC All Rights Reserved.
14333
- *
14334
- * Use of this source code is governed by an MIT-style license that can be
14335
- * found in the LICENSE file at https://angular.io/license
14336
- */
14337
13523
  /**
14338
13524
  * Synchronously perform change detection on a component (and possibly its sub-components).
14339
13525
  *
@@ -14346,13 +13532,6 @@ function detectChanges(component) {
14346
13532
  detectChangesInternal(view[TVIEW], view, component);
14347
13533
  }
14348
13534
 
14349
- /**
14350
- * @license
14351
- * Copyright Google LLC All Rights Reserved.
14352
- *
14353
- * Use of this source code is governed by an MIT-style license that can be
14354
- * found in the LICENSE file at https://angular.io/license
14355
- */
14356
13535
  function templateFirstCreatePass(index, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) {
14357
13536
  ngDevMode && assertFirstCreatePass(tView);
14358
13537
  ngDevMode && ngDevMode.firstCreatePass++;
@@ -14406,13 +13585,6 @@ function ɵɵtemplate(index, templateFn, decls, vars, tagName, attrsIndex, local
14406
13585
  }
14407
13586
  }
14408
13587
 
14409
- /**
14410
- * @license
14411
- * Copyright Google LLC All Rights Reserved.
14412
- *
14413
- * Use of this source code is governed by an MIT-style license that can be
14414
- * found in the LICENSE file at https://angular.io/license
14415
- */
14416
13588
  /** Store a value in the `data` at a given `index`. */
14417
13589
  function store(tView, lView, index, value) {
14418
13590
  // We don't store any static data for local variables, so the first time
@@ -14438,13 +13610,6 @@ function ɵɵreference(index) {
14438
13610
  return load(contextLView, HEADER_OFFSET + index);
14439
13611
  }
14440
13612
 
14441
- /**
14442
- * @license
14443
- * Copyright Google LLC All Rights Reserved.
14444
- *
14445
- * Use of this source code is governed by an MIT-style license that can be
14446
- * found in the LICENSE file at https://angular.io/license
14447
- */
14448
13613
  /**
14449
13614
  * Update a property on a selected element.
14450
13615
  *
@@ -14485,13 +13650,6 @@ function setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isCla
14485
13650
  setInputsForProperty(tView, lView, inputs[property], property, value);
14486
13651
  }
14487
13652
 
14488
- /**
14489
- * @license
14490
- * Copyright Google LLC All Rights Reserved.
14491
- *
14492
- * Use of this source code is governed by an MIT-style license that can be
14493
- * found in the LICENSE file at https://angular.io/license
14494
- */
14495
13653
  function elementStartFirstCreatePass(index, tView, lView, native, name, attrsIndex, localRefsIndex) {
14496
13654
  ngDevMode && assertFirstCreatePass(tView);
14497
13655
  ngDevMode && ngDevMode.firstCreatePass++;
@@ -14615,13 +13773,6 @@ function ɵɵelement(index, name, attrsIndex, localRefsIndex) {
14615
13773
  return ɵɵelement;
14616
13774
  }
14617
13775
 
14618
- /**
14619
- * @license
14620
- * Copyright Google LLC All Rights Reserved.
14621
- *
14622
- * Use of this source code is governed by an MIT-style license that can be
14623
- * found in the LICENSE file at https://angular.io/license
14624
- */
14625
13776
  function elementContainerStartFirstCreatePass(index, tView, lView, attrsIndex, localRefsIndex) {
14626
13777
  ngDevMode && ngDevMode.firstCreatePass++;
14627
13778
  const tViewConsts = tView.consts;
@@ -14735,13 +13886,6 @@ function ɵɵgetCurrentView() {
14735
13886
  return getLView();
14736
13887
  }
14737
13888
 
14738
- /**
14739
- * @license
14740
- * Copyright Google LLC All Rights Reserved.
14741
- *
14742
- * Use of this source code is governed by an MIT-style license that can be
14743
- * found in the LICENSE file at https://angular.io/license
14744
- */
14745
13889
  /**
14746
13890
  * Determine if the argument is shaped like a Promise
14747
13891
  */
@@ -14767,13 +13911,6 @@ function isSubscribable(obj) {
14767
13911
  */
14768
13912
  const isObservable = isSubscribable;
14769
13913
 
14770
- /**
14771
- * @license
14772
- * Copyright Google LLC All Rights Reserved.
14773
- *
14774
- * Use of this source code is governed by an MIT-style license that can be
14775
- * found in the LICENSE file at https://angular.io/license
14776
- */
14777
13914
  /**
14778
13915
  * Adds an event listener to the current node.
14779
13916
  *
@@ -15001,21 +14138,6 @@ function wrapListener(tNode, lView, context, listenerFn, wrapWithPreventDefault)
15001
14138
  };
15002
14139
  }
15003
14140
 
15004
- /**
15005
- * @license
15006
- * Copyright Google LLC All Rights Reserved.
15007
- *
15008
- * Use of this source code is governed by an MIT-style license that can be
15009
- * found in the LICENSE file at https://angular.io/license
15010
- */
15011
-
15012
- /**
15013
- * @license
15014
- * Copyright Google LLC All Rights Reserved.
15015
- *
15016
- * Use of this source code is governed by an MIT-style license that can be
15017
- * found in the LICENSE file at https://angular.io/license
15018
- */
15019
14141
  /**
15020
14142
  * Retrieves a context at the level specified and saves it as the global, contextViewData.
15021
14143
  * Will get the next level up if level is not specified.
@@ -15032,13 +14154,6 @@ function ɵɵnextContext(level = 1) {
15032
14154
  return nextContextImpl(level);
15033
14155
  }
15034
14156
 
15035
- /**
15036
- * @license
15037
- * Copyright Google LLC All Rights Reserved.
15038
- *
15039
- * Use of this source code is governed by an MIT-style license that can be
15040
- * found in the LICENSE file at https://angular.io/license
15041
- */
15042
14157
  /**
15043
14158
  * Checks a given node against matching projection slots and returns the
15044
14159
  * determined slot index. Returns "null" if no slot matched the given node.
@@ -15607,13 +14722,6 @@ function ɵɵpropertyInterpolateV(propName, values, sanitizer) {
15607
14722
  return ɵɵpropertyInterpolateV;
15608
14723
  }
15609
14724
 
15610
- /**
15611
- * @license
15612
- * Copyright Google LLC All Rights Reserved.
15613
- *
15614
- * Use of this source code is governed by an MIT-style license that can be
15615
- * found in the LICENSE file at https://angular.io/license
15616
- */
15617
14725
  function toTStylingRange(prev, next) {
15618
14726
  ngDevMode && assertNumberInRange(prev, 0, 32767 /* StylingRange.UNSIGNED_MASK */);
15619
14727
  ngDevMode && assertNumberInRange(next, 0, 32767 /* StylingRange.UNSIGNED_MASK */);
@@ -15663,13 +14771,6 @@ function getTStylingRangeTail(tStylingRange) {
15663
14771
  return next === 0 ? getTStylingRangePrev(tStylingRange) : next;
15664
14772
  }
15665
14773
 
15666
- /**
15667
- * @license
15668
- * Copyright Google LLC All Rights Reserved.
15669
- *
15670
- * Use of this source code is governed by an MIT-style license that can be
15671
- * found in the LICENSE file at https://angular.io/license
15672
- */
15673
14774
  /**
15674
14775
  * NOTE: The word `styling` is used interchangeably as style or class styling.
15675
14776
  *
@@ -16070,13 +15171,6 @@ function isStylingMatch(tStylingKeyCursor, tStylingKey) {
16070
15171
  return false;
16071
15172
  }
16072
15173
 
16073
- /**
16074
- * @license
16075
- * Copyright Google LLC All Rights Reserved.
16076
- *
16077
- * Use of this source code is governed by an MIT-style license that can be
16078
- * found in the LICENSE file at https://angular.io/license
16079
- */
16080
15174
  // Global state of the parser. (This makes parser non-reentrant, but that is not an issue)
16081
15175
  const parserState = {
16082
15176
  textEnd: 0,
@@ -16335,13 +15429,6 @@ function malformedStyleError(text, expecting, index) {
16335
15429
  `'. Expecting '${expecting}'.`);
16336
15430
  }
16337
15431
 
16338
- /**
16339
- * @license
16340
- * Copyright Google LLC All Rights Reserved.
16341
- *
16342
- * Use of this source code is governed by an MIT-style license that can be
16343
- * found in the LICENSE file at https://angular.io/license
16344
- */
16345
15432
  /**
16346
15433
  * Update a style binding on an element with the provided value.
16347
15434
  *
@@ -17111,13 +16198,6 @@ function hasStylingInputShadow(tNode, isClassBased) {
17111
16198
  return (tNode.flags & (isClassBased ? 8 /* TNodeFlags.hasClassInput */ : 16 /* TNodeFlags.hasStyleInput */)) !== 0;
17112
16199
  }
17113
16200
 
17114
- /**
17115
- * @license
17116
- * Copyright Google LLC All Rights Reserved.
17117
- *
17118
- * Use of this source code is governed by an MIT-style license that can be
17119
- * found in the LICENSE file at https://angular.io/license
17120
- */
17121
16201
  /**
17122
16202
  * Create static text node
17123
16203
  *
@@ -17142,13 +16222,6 @@ function ɵɵtext(index, value = '') {
17142
16222
  setCurrentTNode(tNode, false);
17143
16223
  }
17144
16224
 
17145
- /**
17146
- * @license
17147
- * Copyright Google LLC All Rights Reserved.
17148
- *
17149
- * Use of this source code is governed by an MIT-style license that can be
17150
- * found in the LICENSE file at https://angular.io/license
17151
- */
17152
16225
  /**
17153
16226
  *
17154
16227
  * Update text content with a lone bound value
@@ -17430,13 +16503,6 @@ function ɵɵtextInterpolateV(values) {
17430
16503
  return ɵɵtextInterpolateV;
17431
16504
  }
17432
16505
 
17433
- /**
17434
- * @license
17435
- * Copyright Google LLC All Rights Reserved.
17436
- *
17437
- * Use of this source code is governed by an MIT-style license that can be
17438
- * found in the LICENSE file at https://angular.io/license
17439
- */
17440
16506
  /**
17441
16507
  *
17442
16508
  * Update an interpolated class on an element with single bound value surrounded by text.
@@ -17736,13 +16802,6 @@ function ɵɵclassMapInterpolateV(values) {
17736
16802
  checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
17737
16803
  }
17738
16804
 
17739
- /**
17740
- * @license
17741
- * Copyright Google LLC All Rights Reserved.
17742
- *
17743
- * Use of this source code is governed by an MIT-style license that can be
17744
- * found in the LICENSE file at https://angular.io/license
17745
- */
17746
16805
  /**
17747
16806
  *
17748
16807
  * Update an interpolated style on an element with single bound value surrounded by text.
@@ -18049,13 +17108,6 @@ function ɵɵstyleMapInterpolateV(values) {
18049
17108
  ɵɵstyleMap(interpolatedValue);
18050
17109
  }
18051
17110
 
18052
- /**
18053
- * @license
18054
- * Copyright Google LLC All Rights Reserved.
18055
- *
18056
- * Use of this source code is governed by an MIT-style license that can be
18057
- * found in the LICENSE file at https://angular.io/license
18058
- */
18059
17111
  /**
18060
17112
  *
18061
17113
  * Update an interpolated style property on an element with single bound value surrounded by text.
@@ -18407,13 +17459,6 @@ function ɵɵstylePropInterpolateV(prop, values, valueSuffix) {
18407
17459
  return ɵɵstylePropInterpolateV;
18408
17460
  }
18409
17461
 
18410
- /**
18411
- * @license
18412
- * Copyright Google LLC All Rights Reserved.
18413
- *
18414
- * Use of this source code is governed by an MIT-style license that can be
18415
- * found in the LICENSE file at https://angular.io/license
18416
- */
18417
17462
  /**
18418
17463
  * Update a property on a host element. Only applies to native node properties, not inputs.
18419
17464
  *
@@ -18474,13 +17519,6 @@ function ɵɵsyntheticHostProperty(propName, value, sanitizer) {
18474
17519
  return ɵɵsyntheticHostProperty;
18475
17520
  }
18476
17521
 
18477
- /**
18478
- * @license
18479
- * Copyright Google LLC All Rights Reserved.
18480
- *
18481
- * Use of this source code is governed by an MIT-style license that can be
18482
- * found in the LICENSE file at https://angular.io/license
18483
- */
18484
17522
  /**
18485
17523
  * NOTE: changes to the `ngI18nClosureMode` name must be synced with `compiler-cli/src/tooling.ts`.
18486
17524
  */
@@ -18498,13 +17536,6 @@ if (typeof ngI18nClosureMode === 'undefined') {
18498
17536
  })();
18499
17537
  }
18500
17538
 
18501
- /**
18502
- * @license
18503
- * Copyright Google LLC All Rights Reserved.
18504
- *
18505
- * Use of this source code is governed by an MIT-style license that can be
18506
- * found in the LICENSE file at https://angular.io/license
18507
- */
18508
17539
  // THIS CODE IS GENERATED - DO NOT MODIFY.
18509
17540
  const u = undefined;
18510
17541
  function plural(val) {
@@ -18515,13 +17546,6 @@ function plural(val) {
18515
17546
  }
18516
17547
  var localeEn = ["en", [["a", "p"], ["AM", "PM"], u], [["AM", "PM"], u, u], [["S", "M", "T", "W", "T", "F", "S"], ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]], u, [["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]], u, [["B", "A"], ["BC", "AD"], ["Before Christ", "Anno Domini"]], 0, [6, 0], ["M/d/yy", "MMM d, y", "MMMM d, y", "EEEE, MMMM d, y"], ["h:mm a", "h:mm:ss a", "h:mm:ss a z", "h:mm:ss a zzzz"], ["{1}, {0}", u, "{1} 'at' {0}", u], [".", ",", ";", "%", "+", "-", "E", "×", "‰", "∞", "NaN", ":"], ["#,##0.###", "#,##0%", "¤#,##0.00", "#E0"], "USD", "$", "US Dollar", {}, "ltr", plural];
18517
17548
 
18518
- /**
18519
- * @license
18520
- * Copyright Google LLC All Rights Reserved.
18521
- *
18522
- * Use of this source code is governed by an MIT-style license that can be
18523
- * found in the LICENSE file at https://angular.io/license
18524
- */
18525
17549
  /**
18526
17550
  * This const is used to store the locale data registered with `registerLocaleData`
18527
17551
  */
@@ -18645,13 +17669,6 @@ function normalizeLocale(locale) {
18645
17669
  return locale.toLowerCase().replace(/_/g, '-');
18646
17670
  }
18647
17671
 
18648
- /**
18649
- * @license
18650
- * Copyright Google LLC All Rights Reserved.
18651
- *
18652
- * Use of this source code is governed by an MIT-style license that can be
18653
- * found in the LICENSE file at https://angular.io/license
18654
- */
18655
17672
  const pluralMapping = ['zero', 'one', 'two', 'few', 'many'];
18656
17673
  /**
18657
17674
  * Returns the plural case based on the locale
@@ -18671,13 +17688,6 @@ const DEFAULT_LOCALE_ID = 'en-US';
18671
17688
  */
18672
17689
  const USD_CURRENCY_CODE = 'USD';
18673
17690
 
18674
- /**
18675
- * @license
18676
- * Copyright Google LLC All Rights Reserved.
18677
- *
18678
- * Use of this source code is governed by an MIT-style license that can be
18679
- * found in the LICENSE file at https://angular.io/license
18680
- */
18681
17691
  /**
18682
17692
  * Marks that the next string is an element name.
18683
17693
  *
@@ -18717,13 +17727,6 @@ var I18nCreateOpCode;
18717
17727
  // failure based on types.
18718
17728
  const unusedValueExportToPlacateAjd = 1;
18719
17729
 
18720
- /**
18721
- * @license
18722
- * Copyright Google LLC All Rights Reserved.
18723
- *
18724
- * Use of this source code is governed by an MIT-style license that can be
18725
- * found in the LICENSE file at https://angular.io/license
18726
- */
18727
17730
  /**
18728
17731
  * The locale id that the application is currently using (for translations and ICU expressions).
18729
17732
  * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
@@ -18752,13 +17755,6 @@ function getLocaleId() {
18752
17755
  return LOCALE_ID$1;
18753
17756
  }
18754
17757
 
18755
- /**
18756
- * @license
18757
- * Copyright Google LLC All Rights Reserved.
18758
- *
18759
- * Use of this source code is governed by an MIT-style license that can be
18760
- * found in the LICENSE file at https://angular.io/license
18761
- */
18762
17758
  /**
18763
17759
  * Find a node in front of which `currentTNode` should be inserted (takes i18n into account).
18764
17760
  *
@@ -18811,13 +17807,6 @@ function processI18nInsertBefore(renderer, childTNode, lView, childRNode, parent
18811
17807
  }
18812
17808
  }
18813
17809
 
18814
- /**
18815
- * @license
18816
- * Copyright Google LLC All Rights Reserved.
18817
- *
18818
- * Use of this source code is governed by an MIT-style license that can be
18819
- * found in the LICENSE file at https://angular.io/license
18820
- */
18821
17810
  /**
18822
17811
  * Add `tNode` to `previousTNodes` list and update relevant `TNode`s in `previousTNodes` list
18823
17812
  * `tNode.insertBeforeIndex`.
@@ -18891,13 +17880,6 @@ function setInsertBeforeIndex(tNode, value) {
18891
17880
  }
18892
17881
  }
18893
17882
 
18894
- /**
18895
- * @license
18896
- * Copyright Google LLC All Rights Reserved.
18897
- *
18898
- * Use of this source code is governed by an MIT-style license that can be
18899
- * found in the LICENSE file at https://angular.io/license
18900
- */
18901
17883
  /**
18902
17884
  * Retrieve `TIcu` at a given `index`.
18903
17885
  *
@@ -19009,13 +17991,6 @@ function icuCreateOpCode(opCode, parentIdx, refIdx) {
19009
17991
  return opCode | parentIdx << 17 /* IcuCreateOpCode.SHIFT_PARENT */ | refIdx << 1 /* IcuCreateOpCode.SHIFT_REF */;
19010
17992
  }
19011
17993
 
19012
- /**
19013
- * @license
19014
- * Copyright Google LLC All Rights Reserved.
19015
- *
19016
- * Use of this source code is governed by an MIT-style license that can be
19017
- * found in the LICENSE file at https://angular.io/license
19018
- */
19019
17994
  /**
19020
17995
  * Keep track of which input bindings in `ɵɵi18nExp` have changed.
19021
17996
  *
@@ -19402,15 +18377,8 @@ function getCaseIndex(icuExpression, bindingValue) {
19402
18377
  }
19403
18378
  }
19404
18379
  return index === -1 ? null : index;
19405
- }
19406
-
19407
- /**
19408
- * @license
19409
- * Copyright Google LLC All Rights Reserved.
19410
- *
19411
- * Use of this source code is governed by an MIT-style license that can be
19412
- * found in the LICENSE file at https://angular.io/license
19413
- */
18380
+ }
18381
+
19414
18382
  function loadIcuContainerVisitor() {
19415
18383
  const _stack = [];
19416
18384
  let _index = -1;
@@ -19484,53 +18452,6 @@ function loadIcuContainerVisitor() {
19484
18452
  return icuContainerIteratorStart;
19485
18453
  }
19486
18454
 
19487
- /**
19488
- * @license
19489
- * Copyright Google LLC All Rights Reserved.
19490
- *
19491
- * Use of this source code is governed by an MIT-style license that can be
19492
- * found in the LICENSE file at https://angular.io/license
19493
- */
19494
- /**
19495
- * Patch a `debug` property on top of the existing object.
19496
- *
19497
- * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
19498
- *
19499
- * @param obj Object to patch
19500
- * @param debug Value to patch
19501
- */
19502
- function attachDebugObject(obj, debug) {
19503
- if (ngDevMode) {
19504
- Object.defineProperty(obj, 'debug', { value: debug, enumerable: false });
19505
- }
19506
- else {
19507
- throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
19508
- }
19509
- }
19510
- /**
19511
- * Patch a `debug` property getter on top of the existing object.
19512
- *
19513
- * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
19514
- *
19515
- * @param obj Object to patch
19516
- * @param debugGetter Getter returning a value to patch
19517
- */
19518
- function attachDebugGetter(obj, debugGetter) {
19519
- if (ngDevMode) {
19520
- Object.defineProperty(obj, 'debug', { get: debugGetter, enumerable: false });
19521
- }
19522
- else {
19523
- throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
19524
- }
19525
- }
19526
-
19527
- /**
19528
- * @license
19529
- * Copyright Google LLC All Rights Reserved.
19530
- *
19531
- * Use of this source code is governed by an MIT-style license that can be
19532
- * found in the LICENSE file at https://angular.io/license
19533
- */
19534
18455
  /**
19535
18456
  * Converts `I18nCreateOpCodes` array into a human readable format.
19536
18457
  *
@@ -19737,13 +18658,6 @@ class OpCodeParser {
19737
18658
  }
19738
18659
  }
19739
18660
 
19740
- /**
19741
- * @license
19742
- * Copyright Google LLC All Rights Reserved.
19743
- *
19744
- * Use of this source code is governed by an MIT-style license that can be
19745
- * found in the LICENSE file at https://angular.io/license
19746
- */
19747
18661
  const BINDING_REGEXP = /�(\d+):?\d*�/gi;
19748
18662
  const ICU_REGEXP = /({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi;
19749
18663
  const NESTED_ICU = /�(\d+)�/;
@@ -19762,6 +18676,22 @@ const NGSP_UNICODE_REGEXP = /\uE500/g;
19762
18676
  function replaceNgsp(value) {
19763
18677
  return value.replace(NGSP_UNICODE_REGEXP, ' ');
19764
18678
  }
18679
+ /**
18680
+ * Patch a `debug` property getter on top of the existing object.
18681
+ *
18682
+ * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
18683
+ *
18684
+ * @param obj Object to patch
18685
+ * @param debugGetter Getter returning a value to patch
18686
+ */
18687
+ function attachDebugGetter(obj, debugGetter) {
18688
+ if (ngDevMode) {
18689
+ Object.defineProperty(obj, 'debug', { get: debugGetter, enumerable: false });
18690
+ }
18691
+ else {
18692
+ throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
18693
+ }
18694
+ }
19765
18695
  /**
19766
18696
  * Create dynamic nodes from i18n translation block.
19767
18697
  *
@@ -20346,13 +19276,6 @@ function addCreateAttribute(create, newIndex, attr) {
20346
19276
  create.push(newIndex << 1 /* IcuCreateOpCode.SHIFT_REF */ | 1 /* IcuCreateOpCode.Attr */, attr.name, attr.value);
20347
19277
  }
20348
19278
 
20349
- /**
20350
- * @license
20351
- * Copyright Google LLC All Rights Reserved.
20352
- *
20353
- * Use of this source code is governed by an MIT-style license that can be
20354
- * found in the LICENSE file at https://angular.io/license
20355
- */
20356
19279
  // i18nPostprocess consts
20357
19280
  const ROOT_TEMPLATE_ID = 0;
20358
19281
  const PP_MULTI_VALUE_PLACEHOLDERS_REGEXP = /\[(�.+?�?)\]/;
@@ -20467,13 +19390,6 @@ function i18nPostprocess(message, replacements = {}) {
20467
19390
  return result;
20468
19391
  }
20469
19392
 
20470
- /**
20471
- * @license
20472
- * Copyright Google LLC All Rights Reserved.
20473
- *
20474
- * Use of this source code is governed by an MIT-style license that can be
20475
- * found in the LICENSE file at https://angular.io/license
20476
- */
20477
19393
  /**
20478
19394
  * Marks a block of text as translatable.
20479
19395
  *
@@ -20623,21 +19539,26 @@ function ɵɵi18nPostprocess(message, replacements = {}) {
20623
19539
  return i18nPostprocess(message, replacements);
20624
19540
  }
20625
19541
 
20626
- /**
20627
- * @license
20628
- * Copyright Google LLC All Rights Reserved.
19542
+ /*
19543
+ * This file re-exports all symbols contained in this directory.
20629
19544
  *
20630
- * Use of this source code is governed by an MIT-style license that can be
20631
- * found in the LICENSE file at https://angular.io/license
20632
- */
20633
-
20634
- /**
20635
- * @license
20636
- * Copyright Google LLC All Rights Reserved.
19545
+ * Why is this file not `index.ts`?
19546
+ *
19547
+ * There seems to be an inconsistent path resolution of an `index.ts` file
19548
+ * when only the parent directory is referenced. This could be due to the
19549
+ * node module resolution configuration differing from rollup and/or typescript.
20637
19550
  *
20638
- * Use of this source code is governed by an MIT-style license that can be
20639
- * found in the LICENSE file at https://angular.io/license
19551
+ * With commit
19552
+ * https://github.com/angular/angular/commit/d5e3f2c64bd13ce83e7c70788b7fc514ca4a9918
19553
+ * the `instructions.ts` file was moved to `instructions/instructions.ts` and an
19554
+ * `index.ts` file was used to re-export everything. Having had file names that were
19555
+ * importing from `instructions' directly (not the from the sub file or the `index.ts`
19556
+ * file) caused strange CI issues. `index.ts` had to be renamed to `all.ts` for this
19557
+ * to work.
19558
+ *
19559
+ * Jira Issue = FW-1184
20640
19560
  */
19561
+
20641
19562
  /**
20642
19563
  * Resolves the providers which are defined in the DirectiveDef.
20643
19564
  *
@@ -20920,13 +19841,6 @@ function ɵɵProvidersFeature(providers, viewProviders = []) {
20920
19841
  };
20921
19842
  }
20922
19843
 
20923
- /**
20924
- * @license
20925
- * Copyright Google LLC All Rights Reserved.
20926
- *
20927
- * Use of this source code is governed by an MIT-style license that can be
20928
- * found in the LICENSE file at https://angular.io/license
20929
- */
20930
19844
  /**
20931
19845
  * Represents an instance of an `NgModule` created by an `NgModuleFactory`.
20932
19846
  * Provides access to the `NgModule` instance and related objects.
@@ -20949,13 +19863,6 @@ class NgModuleRef$1 {
20949
19863
  class NgModuleFactory$1 {
20950
19864
  }
20951
19865
 
20952
- /**
20953
- * @license
20954
- * Copyright Google LLC All Rights Reserved.
20955
- *
20956
- * Use of this source code is governed by an MIT-style license that can be
20957
- * found in the LICENSE file at https://angular.io/license
20958
- */
20959
19866
  /**
20960
19867
  * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
20961
19868
  *
@@ -21068,13 +19975,6 @@ function createEnvironmentInjector(providers, parent, debugName = null) {
21068
19975
  return adapter.injector;
21069
19976
  }
21070
19977
 
21071
- /**
21072
- * @license
21073
- * Copyright Google LLC All Rights Reserved.
21074
- *
21075
- * Use of this source code is governed by an MIT-style license that can be
21076
- * found in the LICENSE file at https://angular.io/license
21077
- */
21078
19978
  /**
21079
19979
  * A service used by the framework to create instances of standalone injectors. Those injectors are
21080
19980
  * created on demand in case of dynamic component instantiation and contain ambient providers
@@ -21133,13 +20033,6 @@ function ɵɵStandaloneFeature(definition) {
21133
20033
  };
21134
20034
  }
21135
20035
 
21136
- /**
21137
- * @license
21138
- * Copyright Google LLC All Rights Reserved.
21139
- *
21140
- * Use of this source code is governed by an MIT-style license that can be
21141
- * found in the LICENSE file at https://angular.io/license
21142
- */
21143
20036
  /**
21144
20037
  * Retrieves the component instance associated with a given DOM element.
21145
20038
  *
@@ -21517,13 +20410,6 @@ function assertDomElement(value) {
21517
20410
  }
21518
20411
  }
21519
20412
 
21520
- /**
21521
- * @license
21522
- * Copyright Google LLC All Rights Reserved.
21523
- *
21524
- * Use of this source code is governed by an MIT-style license that can be
21525
- * found in the LICENSE file at https://angular.io/license
21526
- */
21527
20413
  /**
21528
20414
  * Adds decorator, constructor, and property metadata to a given type via static metadata fields
21529
20415
  * on the type.
@@ -21565,13 +20451,6 @@ function setClassMetadata(type, decorators, ctorParameters, propDecorators) {
21565
20451
  });
21566
20452
  }
21567
20453
 
21568
- /**
21569
- * @license
21570
- * Copyright Google LLC All Rights Reserved.
21571
- *
21572
- * Use of this source code is governed by an MIT-style license that can be
21573
- * found in the LICENSE file at https://angular.io/license
21574
- */
21575
20454
  /**
21576
20455
  * Bindings for pure functions are stored after regular bindings.
21577
20456
  *
@@ -21913,13 +20792,6 @@ function pureFunctionVInternal(lView, bindingRoot, slotOffset, pureFn, exps, thi
21913
20792
  getPureFunctionReturnValue(lView, bindingIndex);
21914
20793
  }
21915
20794
 
21916
- /**
21917
- * @license
21918
- * Copyright Google LLC All Rights Reserved.
21919
- *
21920
- * Use of this source code is governed by an MIT-style license that can be
21921
- * found in the LICENSE file at https://angular.io/license
21922
- */
21923
20795
  /**
21924
20796
  * Create a pipe.
21925
20797
  *
@@ -22109,13 +20981,7 @@ function isPure(lView, index) {
22109
20981
  return lView[TVIEW].data[index].pure;
22110
20982
  }
22111
20983
 
22112
- /**
22113
- * @license
22114
- * Copyright Google LLC All Rights Reserved.
22115
- *
22116
- * Use of this source code is governed by an MIT-style license that can be
22117
- * found in the LICENSE file at https://angular.io/license
22118
- */
20984
+ /// <reference types="rxjs" />
22119
20985
  class EventEmitter_ extends Subject {
22120
20986
  constructor(isAsync = false) {
22121
20987
  super();
@@ -22160,13 +21026,6 @@ function _wrapInTimeout(fn) {
22160
21026
  */
22161
21027
  const EventEmitter = EventEmitter_;
22162
21028
 
22163
- /**
22164
- * @license
22165
- * Copyright Google LLC All Rights Reserved.
22166
- *
22167
- * Use of this source code is governed by an MIT-style license that can be
22168
- * found in the LICENSE file at https://angular.io/license
22169
- */
22170
21029
  function symbolIterator() {
22171
21030
  return this._results[getSymbolIterator()]();
22172
21031
  }
@@ -22327,13 +21186,6 @@ class QueryList {
22327
21186
  }
22328
21187
  Symbol.iterator;
22329
21188
 
22330
- /**
22331
- * @license
22332
- * Copyright Google LLC All Rights Reserved.
22333
- *
22334
- * Use of this source code is governed by an MIT-style license that can be
22335
- * found in the LICENSE file at https://angular.io/license
22336
- */
22337
21189
  /**
22338
21190
  * Represents an embedded template that can be used to instantiate embedded views.
22339
21191
  * To instantiate embedded views based on a template, use the `ViewContainerRef`
@@ -22406,13 +21258,6 @@ function createTemplateRef(hostTNode, hostLView) {
22406
21258
  return null;
22407
21259
  }
22408
21260
 
22409
- /**
22410
- * @license
22411
- * Copyright Google LLC All Rights Reserved.
22412
- *
22413
- * Use of this source code is governed by an MIT-style license that can be
22414
- * found in the LICENSE file at https://angular.io/license
22415
- */
22416
21261
  /**
22417
21262
  * Represents a container where one or more views can be attached to a component.
22418
21263
  *
@@ -22705,13 +21550,6 @@ function createContainerRef(hostTNode, hostLView) {
22705
21550
  return new R3ViewContainerRef(lContainer, hostTNode, hostLView);
22706
21551
  }
22707
21552
 
22708
- /**
22709
- * @license
22710
- * Copyright Google LLC All Rights Reserved.
22711
- *
22712
- * Use of this source code is governed by an MIT-style license that can be
22713
- * found in the LICENSE file at https://angular.io/license
22714
- */
22715
21553
  class LQuery_ {
22716
21554
  constructor(queryList) {
22717
21555
  this.queryList = queryList;
@@ -23169,13 +22007,6 @@ function getTQuery(tView, index) {
23169
22007
  return tView.queries.getByIndex(index);
23170
22008
  }
23171
22009
 
23172
- /**
23173
- * @license
23174
- * Copyright Google LLC All Rights Reserved.
23175
- *
23176
- * Use of this source code is governed by an MIT-style license that can be
23177
- * found in the LICENSE file at https://angular.io/license
23178
- */
23179
22010
  /**
23180
22011
  * Retrieves `TemplateRef` instance from `Injector` when a local reference is placed on the
23181
22012
  * `<ng-template>` element.
@@ -23186,21 +22017,6 @@ function ɵɵtemplateRefExtractor(tNode, lView) {
23186
22017
  return createTemplateRef(tNode, lView);
23187
22018
  }
23188
22019
 
23189
- /**
23190
- * @license
23191
- * Copyright Google LLC All Rights Reserved.
23192
- *
23193
- * Use of this source code is governed by an MIT-style license that can be
23194
- * found in the LICENSE file at https://angular.io/license
23195
- */
23196
-
23197
- /**
23198
- * @license
23199
- * Copyright Google LLC All Rights Reserved.
23200
- *
23201
- * Use of this source code is governed by an MIT-style license that can be
23202
- * found in the LICENSE file at https://angular.io/license
23203
- */
23204
22020
  /**
23205
22021
  * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
23206
22022
  *
@@ -23382,24 +22198,10 @@ function resetJitOptions() {
23382
22198
  jitOptions = null;
23383
22199
  }
23384
22200
 
23385
- /**
23386
- * @license
23387
- * Copyright Google LLC All Rights Reserved.
23388
- *
23389
- * Use of this source code is governed by an MIT-style license that can be
23390
- * found in the LICENSE file at https://angular.io/license
23391
- */
23392
22201
  function patchModuleCompilation() {
23393
22202
  // Does nothing, but exists as a target for patching.
23394
22203
  }
23395
22204
 
23396
- /**
23397
- * @license
23398
- * Copyright Google LLC All Rights Reserved.
23399
- *
23400
- * Use of this source code is governed by an MIT-style license that can be
23401
- * found in the LICENSE file at https://angular.io/license
23402
- */
23403
22205
  function isModuleWithProviders(value) {
23404
22206
  return value.ngModule !== undefined;
23405
22207
  }
@@ -23407,13 +22209,6 @@ function isNgModule(value) {
23407
22209
  return !!getNgModuleDef(value);
23408
22210
  }
23409
22211
 
23410
- /**
23411
- * @license
23412
- * Copyright Google LLC All Rights Reserved.
23413
- *
23414
- * Use of this source code is governed by an MIT-style license that can be
23415
- * found in the LICENSE file at https://angular.io/license
23416
- */
23417
22212
  const moduleQueue = [];
23418
22213
  /**
23419
22214
  * Enqueues moduleDef to be checked later to see if scope can be set on its
@@ -23935,13 +22730,6 @@ function expandModuleWithProviders(value) {
23935
22730
  return value;
23936
22731
  }
23937
22732
 
23938
- /**
23939
- * @license
23940
- * Copyright Google LLC All Rights Reserved.
23941
- *
23942
- * Use of this source code is governed by an MIT-style license that can be
23943
- * found in the LICENSE file at https://angular.io/license
23944
- */
23945
22733
  /**
23946
22734
  * Keep track of the compilation depth to avoid reentrancy issues during JIT compilation. This
23947
22735
  * matters in the following scenario:
@@ -24389,13 +23177,6 @@ function shouldAddAbstractDirective(type) {
24389
23177
  return false;
24390
23178
  }
24391
23179
 
24392
- /**
24393
- * @license
24394
- * Copyright Google LLC All Rights Reserved.
24395
- *
24396
- * Use of this source code is governed by an MIT-style license that can be
24397
- * found in the LICENSE file at https://angular.io/license
24398
- */
24399
23180
  function compilePipe(type, meta) {
24400
23181
  let ngPipeDef = null;
24401
23182
  let ngFactoryDef = null;
@@ -24441,13 +23222,6 @@ function getPipeMetadata(type, meta) {
24441
23222
  };
24442
23223
  }
24443
23224
 
24444
- /**
24445
- * @license
24446
- * Copyright Google LLC All Rights Reserved.
24447
- *
24448
- * Use of this source code is governed by an MIT-style license that can be
24449
- * found in the LICENSE file at https://angular.io/license
24450
- */
24451
23225
  /**
24452
23226
  * Type of the Directive metadata.
24453
23227
  *
@@ -24548,13 +23322,6 @@ const HostBinding = makePropDecorator('HostBinding', (hostPropertyName) => ({ ho
24548
23322
  */
24549
23323
  const HostListener = makePropDecorator('HostListener', (eventName, args) => ({ eventName, args }));
24550
23324
 
24551
- /**
24552
- * @license
24553
- * Copyright Google LLC All Rights Reserved.
24554
- *
24555
- * Use of this source code is governed by an MIT-style license that can be
24556
- * found in the LICENSE file at https://angular.io/license
24557
- */
24558
23325
  /**
24559
23326
  * @Annotation
24560
23327
  * @publicApi
@@ -24574,38 +23341,27 @@ const NgModule = makeDecorator('NgModule', (ngModule) => ngModule, undefined, un
24574
23341
  (type, meta) => compileNgModule(type, meta));
24575
23342
 
24576
23343
  /**
24577
- * @license
24578
- * Copyright Google LLC All Rights Reserved.
24579
- *
24580
- * Use of this source code is governed by an MIT-style license that can be
24581
- * found in the LICENSE file at https://angular.io/license
24582
- */
24583
-
24584
- /**
24585
- * @license
24586
- * Copyright Google LLC All Rights Reserved.
24587
- *
24588
- * Use of this source code is governed by an MIT-style license that can be
24589
- * found in the LICENSE file at https://angular.io/license
23344
+ * This indirection is needed to free up Component, etc symbols in the public API
23345
+ * to be used by the decorator versions of these annotations.
24590
23346
  */
24591
23347
 
24592
- /**
24593
- * @license
24594
- * Copyright Google LLC All Rights Reserved.
24595
- *
24596
- * Use of this source code is governed by an MIT-style license that can be
24597
- * found in the LICENSE file at https://angular.io/license
24598
- */
24599
23348
  function noop(...args) {
24600
23349
  // Do nothing.
24601
23350
  }
24602
23351
 
24603
- /**
24604
- * @license
24605
- * Copyright Google LLC All Rights Reserved.
23352
+ /*
23353
+ * This file exists to support compilation of @angular/core in Ivy mode.
23354
+ *
23355
+ * When the Angular compiler processes a compilation unit, it normally writes imports to
23356
+ * @angular/core. When compiling the core package itself this strategy isn't usable. Instead, the
23357
+ * compiler writes imports to this file.
24606
23358
  *
24607
- * Use of this source code is governed by an MIT-style license that can be
24608
- * found in the LICENSE file at https://angular.io/license
23359
+ * Only a subset of such imports are supported - core is not allowed to declare components or pipes.
23360
+ * A check in ngtsc's `R3SymbolsImportRewriter` validates this condition. The rewriter is only used
23361
+ * when compiling @angular/core and is responsible for translating an external name (prefixed with
23362
+ * ɵ) to the internal symbol name as exported below.
23363
+ *
23364
+ * The below symbols are used for @Injectable and @NgModule compilation.
24609
23365
  */
24610
23366
  /**
24611
23367
  * The existence of this constant (in this particular file) informs the Angular compiler that the
@@ -24696,6 +23452,7 @@ class ApplicationInitStatus {
24696
23452
  this.reject = noop;
24697
23453
  this.initialized = false;
24698
23454
  this.done = false;
23455
+ // TODO: Throw RuntimeErrorCode.INVALID_MULTI_PROVIDER if appInits is not an array
24699
23456
  this.donePromise = new Promise((res, rej) => {
24700
23457
  this.resolve = res;
24701
23458
  this.reject = rej;
@@ -24750,13 +23507,6 @@ ApplicationInitStatus.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Appli
24750
23507
  type: Optional
24751
23508
  }] }]; }, null); })();
24752
23509
 
24753
- /**
24754
- * @license
24755
- * Copyright Google LLC All Rights Reserved.
24756
- *
24757
- * Use of this source code is governed by an MIT-style license that can be
24758
- * found in the LICENSE file at https://angular.io/license
24759
- */
24760
23510
  /**
24761
23511
  * A [DI token](guide/glossary#di-token "DI token definition") representing a unique string ID, used
24762
23512
  * primarily for prefixing application attributes and CSS styles when
@@ -24827,13 +23577,6 @@ const PACKAGE_ROOT_URL = new InjectionToken('Application Packages Root URL');
24827
23577
  */
24828
23578
  const ANIMATION_MODULE_TYPE = new InjectionToken('AnimationModuleType');
24829
23579
 
24830
- /**
24831
- * @license
24832
- * Copyright Google LLC All Rights Reserved.
24833
- *
24834
- * Use of this source code is governed by an MIT-style license that can be
24835
- * found in the LICENSE file at https://angular.io/license
24836
- */
24837
23580
  class Console {
24838
23581
  log(message) {
24839
23582
  // tslint:disable-next-line:no-console
@@ -24852,13 +23595,6 @@ Console.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Console, factory: C
24852
23595
  args: [{ providedIn: 'platform' }]
24853
23596
  }], null, null); })();
24854
23597
 
24855
- /**
24856
- * @license
24857
- * Copyright Google LLC All Rights Reserved.
24858
- *
24859
- * Use of this source code is governed by an MIT-style license that can be
24860
- * found in the LICENSE file at https://angular.io/license
24861
- */
24862
23598
  /**
24863
23599
  * Work out the locale from the potential global properties.
24864
23600
  *
@@ -25031,13 +23767,6 @@ var MissingTranslationStrategy;
25031
23767
  MissingTranslationStrategy[MissingTranslationStrategy["Ignore"] = 2] = "Ignore";
25032
23768
  })(MissingTranslationStrategy || (MissingTranslationStrategy = {}));
25033
23769
 
25034
- /**
25035
- * @license
25036
- * Copyright Google LLC All Rights Reserved.
25037
- *
25038
- * Use of this source code is governed by an MIT-style license that can be
25039
- * found in the LICENSE file at https://angular.io/license
25040
- */
25041
23770
  /**
25042
23771
  * Combination of NgModuleFactory and ComponentFactories.
25043
23772
  *
@@ -25144,13 +23873,6 @@ const COMPILER_OPTIONS = new InjectionToken('compilerOptions');
25144
23873
  class CompilerFactory {
25145
23874
  }
25146
23875
 
25147
- /**
25148
- * @license
25149
- * Copyright Google LLC All Rights Reserved.
25150
- *
25151
- * Use of this source code is governed by an MIT-style license that can be
25152
- * found in the LICENSE file at https://angular.io/license
25153
- */
25154
23876
  /**
25155
23877
  * Marks a component for check (in case of OnPush components) and synchronously
25156
23878
  * performs change detection on the application this component belongs to.
@@ -25166,13 +23888,6 @@ function applyChanges(component) {
25166
23888
  getRootComponents(component).forEach(rootComponent => detectChanges(rootComponent));
25167
23889
  }
25168
23890
 
25169
- /**
25170
- * @license
25171
- * Copyright Google LLC All Rights Reserved.
25172
- *
25173
- * Use of this source code is governed by an MIT-style license that can be
25174
- * found in the LICENSE file at https://angular.io/license
25175
- */
25176
23891
  /**
25177
23892
  * This file introduces series of globally accessible debug tools
25178
23893
  * to allow for the Angular debugging story to function.
@@ -25238,13 +23953,6 @@ function publishGlobalUtil(name, fn) {
25238
23953
  }
25239
23954
  }
25240
23955
 
25241
- /**
25242
- * @license
25243
- * Copyright Google LLC All Rights Reserved.
25244
- *
25245
- * Use of this source code is governed by an MIT-style license that can be
25246
- * found in the LICENSE file at https://angular.io/license
25247
- */
25248
23956
  const promise = (() => Promise.resolve(0))();
25249
23957
  function scheduleMicroTask(fn) {
25250
23958
  if (typeof Zone === 'undefined') {
@@ -25258,13 +23966,6 @@ function scheduleMicroTask(fn) {
25258
23966
  }
25259
23967
  }
25260
23968
 
25261
- /**
25262
- * @license
25263
- * Copyright Google LLC All Rights Reserved.
25264
- *
25265
- * Use of this source code is governed by an MIT-style license that can be
25266
- * found in the LICENSE file at https://angular.io/license
25267
- */
25268
23969
  function getNativeRequestAnimationFrame() {
25269
23970
  let nativeRequestAnimationFrame = _global['requestAnimationFrame'];
25270
23971
  let nativeCancelAnimationFrame = _global['cancelAnimationFrame'];
@@ -25283,13 +23984,6 @@ function getNativeRequestAnimationFrame() {
25283
23984
  return { nativeRequestAnimationFrame, nativeCancelAnimationFrame };
25284
23985
  }
25285
23986
 
25286
- /**
25287
- * @license
25288
- * Copyright Google LLC All Rights Reserved.
25289
- *
25290
- * Use of this source code is governed by an MIT-style license that can be
25291
- * found in the LICENSE file at https://angular.io/license
25292
- */
25293
23987
  class AsyncStackTaggingZoneSpec {
25294
23988
  constructor(namePrefix, consoleAsyncStackTaggingImpl = console) {
25295
23989
  this.name = 'asyncStackTagging for ' + namePrefix;
@@ -25311,13 +24005,6 @@ class AsyncStackTaggingZoneSpec {
25311
24005
  }
25312
24006
  }
25313
24007
 
25314
- /**
25315
- * @license
25316
- * Copyright Google LLC All Rights Reserved.
25317
- *
25318
- * Use of this source code is governed by an MIT-style license that can be
25319
- * found in the LICENSE file at https://angular.io/license
25320
- */
25321
24008
  /**
25322
24009
  * An injectable service for executing work inside or outside of the Angular zone.
25323
24010
  *
@@ -25703,13 +24390,6 @@ class NoopNgZone {
25703
24390
  }
25704
24391
  }
25705
24392
 
25706
- /**
25707
- * @license
25708
- * Copyright Google LLC All Rights Reserved.
25709
- *
25710
- * Use of this source code is governed by an MIT-style license that can be
25711
- * found in the LICENSE file at https://angular.io/license
25712
- */
25713
24393
  /**
25714
24394
  * Internal injection token that can used to access an instance of a Testability class.
25715
24395
  *
@@ -26006,13 +24686,6 @@ function setTestabilityGetter(getter) {
26006
24686
  }
26007
24687
  let _testabilityGetter;
26008
24688
 
26009
- /**
26010
- * @license
26011
- * Copyright Google LLC All Rights Reserved.
26012
- *
26013
- * Use of this source code is governed by an MIT-style license that can be
26014
- * found in the LICENSE file at https://angular.io/license
26015
- */
26016
24689
  let _platformInjector = null;
26017
24690
  /**
26018
24691
  * Internal token to indicate whether having multiple bootstrapped platform should be allowed (only
@@ -26358,7 +25031,7 @@ class PlatformRef {
26358
25031
  moduleRef.instance.ngDoBootstrap(appRef);
26359
25032
  }
26360
25033
  else {
26361
- throw new RuntimeError(403 /* RuntimeErrorCode.BOOTSTRAP_COMPONENTS_NOT_FOUND */, ngDevMode &&
25034
+ throw new RuntimeError(-403 /* RuntimeErrorCode.BOOTSTRAP_COMPONENTS_NOT_FOUND */, ngDevMode &&
26362
25035
  `The module ${stringify(moduleRef.instance.constructor)} was bootstrapped, ` +
26363
25036
  `but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ` +
26364
25037
  `Please define one of these.`);
@@ -26767,7 +25440,14 @@ class ApplicationRef {
26767
25440
  this.tick();
26768
25441
  this.components.push(componentRef);
26769
25442
  // Get the listeners lazily to prevent DI cycles.
26770
- const listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []).concat(this._bootstrapListeners);
25443
+ const listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []);
25444
+ if (ngDevMode && !Array.isArray(listeners)) {
25445
+ throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `APP_BOOTSTRAP_LISTENER` token value ' +
25446
+ `(expected an array, but got ${typeof listeners}). ` +
25447
+ 'Please check that the `APP_BOOTSTRAP_LISTENER` token is configured as a ' +
25448
+ '`multi: true` provider.');
25449
+ }
25450
+ listeners.push(...this._bootstrapListeners);
26771
25451
  listeners.forEach((listener) => listener(componentRef));
26772
25452
  }
26773
25453
  /** @internal */
@@ -26858,13 +25538,6 @@ function _mergeArrays(parts) {
26858
25538
  return result;
26859
25539
  }
26860
25540
 
26861
- /**
26862
- * @license
26863
- * Copyright Google LLC All Rights Reserved.
26864
- *
26865
- * Use of this source code is governed by an MIT-style license that can be
26866
- * found in the LICENSE file at https://angular.io/license
26867
- */
26868
25541
  /**
26869
25542
  * Returns whether Angular is in development mode.
26870
25543
  *
@@ -26899,29 +25572,10 @@ function enableProdMode() {
26899
25572
  }
26900
25573
  }
26901
25574
 
26902
- /**
26903
- * @license
26904
- * Copyright Google LLC All Rights Reserved.
26905
- *
26906
- * Use of this source code is governed by an MIT-style license that can be
26907
- * found in the LICENSE file at https://angular.io/license
26908
- */
25575
+ // Public API for Zone
26909
25576
 
26910
- /**
26911
- * @license
26912
- * Copyright Google LLC All Rights Reserved.
26913
- *
26914
- * Use of this source code is governed by an MIT-style license that can be
26915
- * found in the LICENSE file at https://angular.io/license
26916
- */
25577
+ // Public API for render
26917
25578
 
26918
- /**
26919
- * @license
26920
- * Copyright Google LLC All Rights Reserved.
26921
- *
26922
- * Use of this source code is governed by an MIT-style license that can be
26923
- * found in the LICENSE file at https://angular.io/license
26924
- */
26925
25579
  /**
26926
25580
  * Returns the NgModuleFactory with the given id (specified using [@NgModule.id
26927
25581
  * field](api/core/NgModule#id)), if it exists and has been loaded. Factories for NgModules that do
@@ -26951,13 +25605,6 @@ function noModuleError(id) {
26951
25605
  return new Error(`No module with ID ${id} loaded`);
26952
25606
  }
26953
25607
 
26954
- /**
26955
- * @license
26956
- * Copyright Google LLC All Rights Reserved.
26957
- *
26958
- * Use of this source code is governed by an MIT-style license that can be
26959
- * found in the LICENSE file at https://angular.io/license
26960
- */
26961
25608
  /**
26962
25609
  * Base class that provides change detection functionality.
26963
25610
  * A change-detection tree collects all views that are to be checked for changes.
@@ -27038,13 +25685,6 @@ function createViewRef(tNode, lView, isPipe) {
27038
25685
  return null;
27039
25686
  }
27040
25687
 
27041
- /**
27042
- * @license
27043
- * Copyright Google LLC All Rights Reserved.
27044
- *
27045
- * Use of this source code is governed by an MIT-style license that can be
27046
- * found in the LICENSE file at https://angular.io/license
27047
- */
27048
25688
  /**
27049
25689
  * Represents an Angular [view](guide/glossary#view "Definition").
27050
25690
  *
@@ -27110,31 +25750,11 @@ class ViewRef extends ChangeDetectorRef {
27110
25750
  class EmbeddedViewRef extends ViewRef {
27111
25751
  }
27112
25752
 
27113
- /**
27114
- * @license
27115
- * Copyright Google LLC All Rights Reserved.
27116
- *
27117
- * Use of this source code is governed by an MIT-style license that can be
27118
- * found in the LICENSE file at https://angular.io/license
27119
- */
25753
+ // Public API for compiler
27120
25754
 
27121
- /**
27122
- * @license
27123
- * Copyright Google LLC All Rights Reserved.
27124
- *
27125
- * Use of this source code is governed by an MIT-style license that can be
27126
- * found in the LICENSE file at https://angular.io/license
27127
- */
27128
25755
  // This file exists for easily patching NgModuleFactoryLoader in g3
27129
25756
  var ng_module_factory_loader_impl = {};
27130
25757
 
27131
- /**
27132
- * @license
27133
- * Copyright Google LLC All Rights Reserved.
27134
- *
27135
- * Use of this source code is governed by an MIT-style license that can be
27136
- * found in the LICENSE file at https://angular.io/license
27137
- */
27138
25758
  /**
27139
25759
  * @publicApi
27140
25760
  */
@@ -27706,13 +26326,6 @@ function removeDebugNodeFromIndex(node) {
27706
26326
  _nativeNodeToDebugNode.delete(node.nativeNode);
27707
26327
  }
27708
26328
 
27709
- /**
27710
- * @license
27711
- * Copyright Google LLC All Rights Reserved.
27712
- *
27713
- * Use of this source code is governed by an MIT-style license that can be
27714
- * found in the LICENSE file at https://angular.io/license
27715
- */
27716
26329
  class DefaultIterableDifferFactory {
27717
26330
  constructor() { }
27718
26331
  supports(obj) {
@@ -28371,13 +26984,6 @@ function getPreviousIndex(item, addRemoveOffset, moveOffsets) {
28371
26984
  return previousIndex + addRemoveOffset + moveOffset;
28372
26985
  }
28373
26986
 
28374
- /**
28375
- * @license
28376
- * Copyright Google LLC All Rights Reserved.
28377
- *
28378
- * Use of this source code is governed by an MIT-style license that can be
28379
- * found in the LICENSE file at https://angular.io/license
28380
- */
28381
26987
  class DefaultKeyValueDifferFactory {
28382
26988
  constructor() { }
28383
26989
  supports(obj) {
@@ -28623,13 +27229,6 @@ class KeyValueChangeRecord_ {
28623
27229
  }
28624
27230
  }
28625
27231
 
28626
- /**
28627
- * @license
28628
- * Copyright Google LLC All Rights Reserved.
28629
- *
28630
- * Use of this source code is governed by an MIT-style license that can be
28631
- * found in the LICENSE file at https://angular.io/license
28632
- */
28633
27232
  function defaultIterableDiffersFactory() {
28634
27233
  return new IterableDiffers([new DefaultIterableDifferFactory()]);
28635
27234
  }
@@ -28699,13 +27298,6 @@ function getTypeNameForDebugging(type) {
28699
27298
  return type['name'] || typeof type;
28700
27299
  }
28701
27300
 
28702
- /**
28703
- * @license
28704
- * Copyright Google LLC All Rights Reserved.
28705
- *
28706
- * Use of this source code is governed by an MIT-style license that can be
28707
- * found in the LICENSE file at https://angular.io/license
28708
- */
28709
27301
  function defaultKeyValueDiffersFactory() {
28710
27302
  return new KeyValueDiffers([new DefaultKeyValueDifferFactory()]);
28711
27303
  }
@@ -28769,13 +27361,6 @@ class KeyValueDiffers {
28769
27361
  /** @nocollapse */
28770
27362
  KeyValueDiffers.ɵprov = ɵɵdefineInjectable({ token: KeyValueDiffers, providedIn: 'root', factory: defaultKeyValueDiffersFactory });
28771
27363
 
28772
- /**
28773
- * @license
28774
- * Copyright Google LLC All Rights Reserved.
28775
- *
28776
- * Use of this source code is governed by an MIT-style license that can be
28777
- * found in the LICENSE file at https://angular.io/license
28778
- */
28779
27364
  /**
28780
27365
  * Structural diffing for `Object`s and `Map`s.
28781
27366
  */
@@ -28788,20 +27373,11 @@ const defaultIterableDiffers = new IterableDiffers(iterableDiff);
28788
27373
  const defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);
28789
27374
 
28790
27375
  /**
28791
- * @license
28792
- * Copyright Google LLC All Rights Reserved.
28793
- *
28794
- * Use of this source code is governed by an MIT-style license that can be
28795
- * found in the LICENSE file at https://angular.io/license
27376
+ * @module
27377
+ * @description
27378
+ * Change detection enables data binding in Angular.
28796
27379
  */
28797
27380
 
28798
- /**
28799
- * @license
28800
- * Copyright Google LLC All Rights Reserved.
28801
- *
28802
- * Use of this source code is governed by an MIT-style license that can be
28803
- * found in the LICENSE file at https://angular.io/license
28804
- */
28805
27381
  /**
28806
27382
  * This platform has to be included in any other platform
28807
27383
  *
@@ -28809,13 +27385,6 @@ const defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);
28809
27385
  */
28810
27386
  const platformCore = createPlatformFactory(null, 'core', []);
28811
27387
 
28812
- /**
28813
- * @license
28814
- * Copyright Google LLC All Rights Reserved.
28815
- *
28816
- * Use of this source code is governed by an MIT-style license that can be
28817
- * found in the LICENSE file at https://angular.io/license
28818
- */
28819
27388
  /**
28820
27389
  * Re-exported by `BrowserModule`, which is included automatically in the root
28821
27390
  * `AppModule` when you create a new app with the CLI `new` command. Eagerly injects
@@ -28834,35 +27403,14 @@ ApplicationModule.ɵinj = /*@__PURE__*/ ɵɵdefineInjector({});
28834
27403
  type: NgModule
28835
27404
  }], function () { return [{ type: ApplicationRef }]; }, null); })();
28836
27405
 
28837
- /**
28838
- * @license
28839
- * Copyright Google LLC All Rights Reserved.
28840
- *
28841
- * Use of this source code is governed by an MIT-style license that can be
28842
- * found in the LICENSE file at https://angular.io/license
28843
- */
28844
27406
  /** Coerces a value (typically a string) to a boolean. */
28845
27407
  function coerceToBoolean(value) {
28846
27408
  return typeof value === 'boolean' ? value : (value != null && value !== 'false');
28847
27409
  }
28848
27410
 
28849
- /**
28850
- * @license
28851
- * Copyright Google LLC All Rights Reserved.
28852
- *
28853
- * Use of this source code is governed by an MIT-style license that can be
28854
- * found in the LICENSE file at https://angular.io/license
28855
- */
28856
27411
  // TODO(alxhub): allows tests to compile, can be removed when tests have been updated.
28857
27412
  const ɵivyEnabled = true;
28858
27413
 
28859
- /**
28860
- * @license
28861
- * Copyright Google LLC All Rights Reserved.
28862
- *
28863
- * Use of this source code is governed by an MIT-style license that can be
28864
- * found in the LICENSE file at https://angular.io/license
28865
- */
28866
27414
  /**
28867
27415
  * Compiles a partial directive declaration object into a full directive definition object.
28868
27416
  *
@@ -28953,22 +27501,9 @@ function ɵɵngDeclarePipe(decl) {
28953
27501
  return compiler.compilePipeDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵpipe.js`, decl);
28954
27502
  }
28955
27503
 
28956
- /**
28957
- * @license
28958
- * Copyright Google LLC All Rights Reserved.
28959
- *
28960
- * Use of this source code is governed by an MIT-style license that can be
28961
- * found in the LICENSE file at https://angular.io/license
28962
- */
27504
+ // clang-format off
28963
27505
  // clang-format on
28964
27506
 
28965
- /**
28966
- * @license
28967
- * Copyright Google LLC All Rights Reserved.
28968
- *
28969
- * Use of this source code is governed by an MIT-style license that can be
28970
- * found in the LICENSE file at https://angular.io/license
28971
- */
28972
27507
  /**
28973
27508
  * Creates a `ComponentRef` instance based on provided component type and a set of options.
28974
27509
  *
@@ -29102,11 +27637,9 @@ function reflectComponentType(component) {
29102
27637
  }
29103
27638
 
29104
27639
  /**
29105
- * @license
29106
- * Copyright Google LLC All Rights Reserved.
29107
- *
29108
- * Use of this source code is governed by an MIT-style license that can be
29109
- * found in the LICENSE file at https://angular.io/license
27640
+ * @module
27641
+ * @description
27642
+ * Entry point from which you should import all public core APIs.
29110
27643
  */
29111
27644
  if (typeof ngDevMode !== 'undefined' && ngDevMode) {
29112
27645
  // This helper is to give a reasonable error message to people upgrading to v9 that have not yet
@@ -29122,20 +27655,16 @@ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
29122
27655
  }
29123
27656
 
29124
27657
  /**
29125
- * @license
29126
- * Copyright Google LLC All Rights Reserved.
29127
- *
29128
- * Use of this source code is governed by an MIT-style license that can be
29129
- * found in the LICENSE file at https://angular.io/license
27658
+ * @module
27659
+ * @description
27660
+ * Entry point for all public APIs of this package.
29130
27661
  */
29131
27662
  // This file only reexports content of the `src` folder. Keep it that way.
29132
27663
 
29133
- /**
29134
- * @license
29135
- * Copyright Google LLC All Rights Reserved.
29136
- *
29137
- * Use of this source code is governed by an MIT-style license that can be
29138
- * found in the LICENSE file at https://angular.io/license
27664
+ /* This file is not used to build this module. It is only used during editing
27665
+ * by the TypeScript language service and during build for verification. `ngc`
27666
+ * replaces this file with production index.ts when it rewrites private symbol
27667
+ * names.
29139
27668
  */
29140
27669
 
29141
27670
  /**