@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/fesm2015/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
  /**
@@ -1449,13 +1303,6 @@ const CONTAINER_HEADER_OFFSET = 10;
1449
1303
  // failure based on types.
1450
1304
  const unusedValueExportToPlacateAjd$4 = 1;
1451
1305
 
1452
- /**
1453
- * @license
1454
- * Copyright Google LLC All Rights Reserved.
1455
- *
1456
- * Use of this source code is governed by an MIT-style license that can be
1457
- * found in the LICENSE file at https://angular.io/license
1458
- */
1459
1306
  // Below are constants for LView indices to help us look up LView members
1460
1307
  // without having to remember the specific indices.
1461
1308
  // Uglify will inline these when minifying so there shouldn't be a cost.
@@ -1494,13 +1341,6 @@ const HEADER_OFFSET = 22;
1494
1341
  // failure based on types.
1495
1342
  const unusedValueExportToPlacateAjd$3 = 1;
1496
1343
 
1497
- /**
1498
- * @license
1499
- * Copyright Google LLC All Rights Reserved.
1500
- *
1501
- * Use of this source code is governed by an MIT-style license that can be
1502
- * found in the LICENSE file at https://angular.io/license
1503
- */
1504
1344
  /**
1505
1345
  * True if `value` is `LView`.
1506
1346
  * @param value wrapped value of `RNode`, `LView`, `LContainer`
@@ -1531,13 +1371,6 @@ function isRootView(target) {
1531
1371
  return (target[FLAGS] & 256 /* LViewFlags.IsRoot */) !== 0;
1532
1372
  }
1533
1373
 
1534
- /**
1535
- * @license
1536
- * Copyright Google LLC All Rights Reserved.
1537
- *
1538
- * Use of this source code is governed by an MIT-style license that can be
1539
- * found in the LICENSE file at https://angular.io/license
1540
- */
1541
1374
  // [Assert functions do not constraint type when they are guarded by a truthy
1542
1375
  // expression.](https://github.com/microsoft/TypeScript/issues/37295)
1543
1376
  function assertTNodeForLView(tNode, lView) {
@@ -1645,13 +1478,6 @@ function assertNodeInjector(lView, injectorIndex) {
1645
1478
  assertNumber(lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */], 'injectorIndex should point to parent injector');
1646
1479
  }
1647
1480
 
1648
- /**
1649
- * @license
1650
- * Copyright Google LLC All Rights Reserved.
1651
- *
1652
- * Use of this source code is governed by an MIT-style license that can be
1653
- * found in the LICENSE file at https://angular.io/license
1654
- */
1655
1481
  function getFactoryDef(type, throwNotFound) {
1656
1482
  const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);
1657
1483
  if (!hasFactoryDef && throwNotFound === true && ngDevMode) {
@@ -1660,13 +1486,6 @@ function getFactoryDef(type, throwNotFound) {
1660
1486
  return hasFactoryDef ? type[NG_FACTORY_DEF] : null;
1661
1487
  }
1662
1488
 
1663
- /**
1664
- * @license
1665
- * Copyright Google LLC All Rights Reserved.
1666
- *
1667
- * Use of this source code is governed by an MIT-style license that can be
1668
- * found in the LICENSE file at https://angular.io/license
1669
- */
1670
1489
  /**
1671
1490
  * Represents a basic change from a previous to a new value for a single
1672
1491
  * property on a directive instance. Passed as a value in a
@@ -1690,13 +1509,6 @@ class SimpleChange {
1690
1509
  }
1691
1510
  }
1692
1511
 
1693
- /**
1694
- * @license
1695
- * Copyright Google LLC All Rights Reserved.
1696
- *
1697
- * Use of this source code is governed by an MIT-style license that can be
1698
- * found in the LICENSE file at https://angular.io/license
1699
- */
1700
1512
  /**
1701
1513
  * The NgOnChangesFeature decorates a component with support for the ngOnChanges
1702
1514
  * lifecycle hook, so it should be included in any component that implements
@@ -1781,13 +1593,6 @@ function setSimpleChangesStore(instance, store) {
1781
1593
  return instance[SIMPLE_CHANGES_STORE] = store;
1782
1594
  }
1783
1595
 
1784
- /**
1785
- * @license
1786
- * Copyright Google LLC All Rights Reserved.
1787
- *
1788
- * Use of this source code is governed by an MIT-style license that can be
1789
- * found in the LICENSE file at https://angular.io/license
1790
- */
1791
1596
  let profilerCallback = null;
1792
1597
  /**
1793
1598
  * Sets the callback function which will be invoked before and after performing certain actions at
@@ -1817,23 +1622,9 @@ const profiler = function (event, instance, hookOrListener) {
1817
1622
  }
1818
1623
  };
1819
1624
 
1820
- /**
1821
- * @license
1822
- * Copyright Google LLC All Rights Reserved.
1823
- *
1824
- * Use of this source code is governed by an MIT-style license that can be
1825
- * found in the LICENSE file at https://angular.io/license
1826
- */
1827
1625
  const SVG_NAMESPACE = 'svg';
1828
1626
  const MATH_ML_NAMESPACE = 'math';
1829
1627
 
1830
- /**
1831
- * @license
1832
- * Copyright Google LLC All Rights Reserved.
1833
- *
1834
- * Use of this source code is governed by an MIT-style license that can be
1835
- * found in the LICENSE file at https://angular.io/license
1836
- */
1837
1628
  /**
1838
1629
  * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)
1839
1630
  * in same location in `LView`. This is because we don't want to pre-allocate space for it
@@ -1984,13 +1775,6 @@ function updateTransplantedViewCount(lContainer, amount) {
1984
1775
  }
1985
1776
  }
1986
1777
 
1987
- /**
1988
- * @license
1989
- * Copyright Google LLC All Rights Reserved.
1990
- *
1991
- * Use of this source code is governed by an MIT-style license that can be
1992
- * found in the LICENSE file at https://angular.io/license
1993
- */
1994
1778
  const instructionState = {
1995
1779
  lFrame: createLFrame(null),
1996
1780
  bindingsEnabled: true,
@@ -2493,13 +2277,6 @@ function getNamespace$1() {
2493
2277
  return instructionState.lFrame.currentNamespace;
2494
2278
  }
2495
2279
 
2496
- /**
2497
- * @license
2498
- * Copyright Google LLC All Rights Reserved.
2499
- *
2500
- * Use of this source code is governed by an MIT-style license that can be
2501
- * found in the LICENSE file at https://angular.io/license
2502
- */
2503
2280
  /**
2504
2281
  * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.
2505
2282
  *
@@ -2726,13 +2503,6 @@ function callHook(currentView, initPhase, arr, i) {
2726
2503
  }
2727
2504
  }
2728
2505
 
2729
- /**
2730
- * @license
2731
- * Copyright Google LLC All Rights Reserved.
2732
- *
2733
- * Use of this source code is governed by an MIT-style license that can be
2734
- * found in the LICENSE file at https://angular.io/license
2735
- */
2736
2506
  const NO_PARENT_INJECTOR = -1;
2737
2507
  /**
2738
2508
  * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in
@@ -2924,13 +2694,6 @@ function hasStyleInput(tNode) {
2924
2694
  return (tNode.flags & 16 /* TNodeFlags.hasStyleInput */) !== 0;
2925
2695
  }
2926
2696
 
2927
- /**
2928
- * @license
2929
- * Copyright Google LLC All Rights Reserved.
2930
- *
2931
- * Use of this source code is governed by an MIT-style license that can be
2932
- * found in the LICENSE file at https://angular.io/license
2933
- */
2934
2697
  function assertTNodeType(tNode, expectedTypes, message) {
2935
2698
  assertDefined(tNode, 'should be called with a TNode');
2936
2699
  if ((tNode.type & expectedTypes) === 0) {
@@ -3150,13 +2913,6 @@ function mergeHostAttribute(dst, marker, key1, key2, value) {
3150
2913
  }
3151
2914
  }
3152
2915
 
3153
- /**
3154
- * @license
3155
- * Copyright Google LLC All Rights Reserved.
3156
- *
3157
- * Use of this source code is governed by an MIT-style license that can be
3158
- * found in the LICENSE file at https://angular.io/license
3159
- */
3160
2916
  /// Parent Injector Utils ///////////////////////////////////////////////////////////////
3161
2917
  function hasParentInjector(parentLocation) {
3162
2918
  return parentLocation !== NO_PARENT_INJECTOR;
@@ -3195,13 +2951,6 @@ function getParentInjectorView(location, startView) {
3195
2951
  return parentView;
3196
2952
  }
3197
2953
 
3198
- /**
3199
- * @license
3200
- * Copyright Google LLC All Rights Reserved.
3201
- *
3202
- * Use of this source code is governed by an MIT-style license that can be
3203
- * found in the LICENSE file at https://angular.io/license
3204
- */
3205
2954
  /**
3206
2955
  * Defines if the call to `inject` should include `viewProviders` in its resolution.
3207
2956
  *
@@ -3926,13 +3675,6 @@ function getTNodeFromLView(lView) {
3926
3675
  return null;
3927
3676
  }
3928
3677
 
3929
- /**
3930
- * @license
3931
- * Copyright Google LLC All Rights Reserved.
3932
- *
3933
- * Use of this source code is governed by an MIT-style license that can be
3934
- * found in the LICENSE file at https://angular.io/license
3935
- */
3936
3678
  /**
3937
3679
  * Facade for the attribute injection from DI.
3938
3680
  *
@@ -3942,13 +3684,6 @@ function ɵɵinjectAttribute(attrNameToInject) {
3942
3684
  return injectAttributeImpl(getCurrentTNode(), attrNameToInject);
3943
3685
  }
3944
3686
 
3945
- /**
3946
- * @license
3947
- * Copyright Google LLC All Rights Reserved.
3948
- *
3949
- * Use of this source code is governed by an MIT-style license that can be
3950
- * found in the LICENSE file at https://angular.io/license
3951
- */
3952
3687
  const ANNOTATIONS = '__annotations__';
3953
3688
  const PARAMETERS = '__parameters__';
3954
3689
  const PROP_METADATA = '__prop__metadata__';
@@ -4062,13 +3797,6 @@ function makePropDecorator(name, props, parentClass, additionalProcessing) {
4062
3797
  });
4063
3798
  }
4064
3799
 
4065
- /**
4066
- * @license
4067
- * Copyright Google LLC All Rights Reserved.
4068
- *
4069
- * Use of this source code is governed by an MIT-style license that can be
4070
- * found in the LICENSE file at https://angular.io/license
4071
- */
4072
3800
  /**
4073
3801
  * Attribute decorator and metadata.
4074
3802
  *
@@ -4077,13 +3805,6 @@ function makePropDecorator(name, props, parentClass, additionalProcessing) {
4077
3805
  */
4078
3806
  const Attribute = makeParamDecorator('Attribute', (attributeName) => ({ attributeName, __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName) }));
4079
3807
 
4080
- /**
4081
- * @license
4082
- * Copyright Google LLC All Rights Reserved.
4083
- *
4084
- * Use of this source code is governed by an MIT-style license that can be
4085
- * found in the LICENSE file at https://angular.io/license
4086
- */
4087
3808
  /**
4088
3809
  * Creates a token that can be used in a DI Provider.
4089
3810
  *
@@ -4166,13 +3887,6 @@ class InjectionToken {
4166
3887
  }
4167
3888
  }
4168
3889
 
4169
- /**
4170
- * @license
4171
- * Copyright Google LLC All Rights Reserved.
4172
- *
4173
- * Use of this source code is governed by an MIT-style license that can be
4174
- * found in the LICENSE file at https://angular.io/license
4175
- */
4176
3890
  /**
4177
3891
  * A DI token that you can use to create a virtual [provider](guide/glossary#provider)
4178
3892
  * that will populate the `entryComponents` field of components and NgModules
@@ -4258,13 +3972,6 @@ const ViewChildren = makePropDecorator('ViewChildren', (selector, data = {}) =>
4258
3972
  */
4259
3973
  const ViewChild = makePropDecorator('ViewChild', (selector, data) => (Object.assign({ selector, first: true, isViewQuery: true, descendants: true }, data)), Query);
4260
3974
 
4261
- /**
4262
- * @license
4263
- * Copyright Google LLC All Rights Reserved.
4264
- *
4265
- * Use of this source code is governed by an MIT-style license that can be
4266
- * found in the LICENSE file at https://angular.io/license
4267
- */
4268
3975
  var FactoryTarget;
4269
3976
  (function (FactoryTarget) {
4270
3977
  FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
@@ -4287,13 +3994,6 @@ var ViewEncapsulation;
4287
3994
  ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
4288
3995
  })(ViewEncapsulation || (ViewEncapsulation = {}));
4289
3996
 
4290
- /**
4291
- * @license
4292
- * Copyright Google LLC All Rights Reserved.
4293
- *
4294
- * Use of this source code is governed by an MIT-style license that can be
4295
- * found in the LICENSE file at https://angular.io/license
4296
- */
4297
3997
  function getCompilerFacade(request) {
4298
3998
  const globalNg = _global['ng'];
4299
3999
  if (globalNg && globalNg.ɵcompilerFacade) {
@@ -4328,13 +4028,6 @@ function getCompilerFacade(request) {
4328
4028
  }
4329
4029
  }
4330
4030
 
4331
- /**
4332
- * @license
4333
- * Copyright Google LLC All Rights Reserved.
4334
- *
4335
- * Use of this source code is governed by an MIT-style license that can be
4336
- * found in the LICENSE file at https://angular.io/license
4337
- */
4338
4031
  /**
4339
4032
  * @description
4340
4033
  *
@@ -4350,13 +4043,6 @@ function isType(v) {
4350
4043
  return typeof v === 'function';
4351
4044
  }
4352
4045
 
4353
- /**
4354
- * @license
4355
- * Copyright Google LLC All Rights Reserved.
4356
- *
4357
- * Use of this source code is governed by an MIT-style license that can be
4358
- * found in the LICENSE file at https://angular.io/license
4359
- */
4360
4046
  /**
4361
4047
  * Determines if the contents of two arrays is identical
4362
4048
  *
@@ -4614,13 +4300,6 @@ function _arrayIndexOfSorted(array, value, shift) {
4614
4300
  return ~(end << shift);
4615
4301
  }
4616
4302
 
4617
- /**
4618
- * @license
4619
- * Copyright Google LLC All Rights Reserved.
4620
- *
4621
- * Use of this source code is governed by an MIT-style license that can be
4622
- * found in the LICENSE file at https://angular.io/license
4623
- */
4624
4303
  /*
4625
4304
  * #########################
4626
4305
  * Attention: These Regular expressions have to hold even if the code is minified!
@@ -4872,13 +4551,6 @@ function getParentCtor(ctor) {
4872
4551
  return parentCtor || Object;
4873
4552
  }
4874
4553
 
4875
- /**
4876
- * @license
4877
- * Copyright Google LLC All Rights Reserved.
4878
- *
4879
- * Use of this source code is governed by an MIT-style license that can be
4880
- * found in the LICENSE file at https://angular.io/license
4881
- */
4882
4554
  /**
4883
4555
  * Inject decorator and metadata.
4884
4556
  *
@@ -4930,13 +4602,6 @@ const Host =
4930
4602
  // tslint:disable-next-line: no-toplevel-property-access
4931
4603
  attachInjectFlag(makeParamDecorator('Host'), 1 /* InternalInjectFlags.Host */);
4932
4604
 
4933
- /**
4934
- * @license
4935
- * Copyright Google LLC All Rights Reserved.
4936
- *
4937
- * Use of this source code is governed by an MIT-style license that can be
4938
- * found in the LICENSE file at https://angular.io/license
4939
- */
4940
4605
  let _reflect = null;
4941
4606
  function getReflect() {
4942
4607
  return (_reflect = _reflect || new ReflectionCapabilities());
@@ -4999,13 +4664,6 @@ function reflectDependency(dep) {
4999
4664
  return meta;
5000
4665
  }
5001
4666
 
5002
- /**
5003
- * @license
5004
- * Copyright Google LLC All Rights Reserved.
5005
- *
5006
- * Use of this source code is governed by an MIT-style license that can be
5007
- * found in the LICENSE file at https://angular.io/license
5008
- */
5009
4667
  /**
5010
4668
  * Used to resolve resource URLs on `@Component` when used with JIT compilation.
5011
4669
  *
@@ -5113,13 +4771,6 @@ function componentDefResolved(type) {
5113
4771
  componentDefPendingResolution.delete(type);
5114
4772
  }
5115
4773
 
5116
- /**
5117
- * @license
5118
- * Copyright Google LLC All Rights Reserved.
5119
- *
5120
- * Use of this source code is governed by an MIT-style license that can be
5121
- * found in the LICENSE file at https://angular.io/license
5122
- */
5123
4774
  /**
5124
4775
  * Map of module-id to the corresponding NgModule.
5125
4776
  */
@@ -5167,13 +4818,6 @@ function setAllowDuplicateNgModuleIdsForTest(allowDuplicates) {
5167
4818
  checkForDuplicateNgModules = !allowDuplicates;
5168
4819
  }
5169
4820
 
5170
- /**
5171
- * @license
5172
- * Copyright Google LLC All Rights Reserved.
5173
- *
5174
- * Use of this source code is governed by an MIT-style license that can be
5175
- * found in the LICENSE file at https://angular.io/license
5176
- */
5177
4821
  /**
5178
4822
  * Defines a schema that allows an NgModule to contain the following:
5179
4823
  * - Non-Angular elements named with dash case (`-`).
@@ -5198,13 +4842,6 @@ const NO_ERRORS_SCHEMA = {
5198
4842
  name: 'no-errors-schema'
5199
4843
  };
5200
4844
 
5201
- /**
5202
- * @license
5203
- * Copyright Google LLC All Rights Reserved.
5204
- *
5205
- * Use of this source code is governed by an MIT-style license that can be
5206
- * found in the LICENSE file at https://angular.io/license
5207
- */
5208
4845
  let shouldThrowErrorOnUnknownElement = false;
5209
4846
  /**
5210
4847
  * Sets a strict mode for JIT-compiled components to throw an error on unknown elements,
@@ -5464,13 +5101,6 @@ function matchingSchemas(schemas, tagName) {
5464
5101
  return false;
5465
5102
  }
5466
5103
 
5467
- /**
5468
- * @license
5469
- * Copyright Google LLC All Rights Reserved.
5470
- *
5471
- * Use of this source code is governed by an MIT-style license that can be
5472
- * found in the LICENSE file at https://angular.io/license
5473
- */
5474
5104
  /**
5475
5105
  * Flags for renderer-specific style modifiers.
5476
5106
  * @publicApi
@@ -5490,13 +5120,6 @@ var RendererStyleFlags2;
5490
5120
  RendererStyleFlags2[RendererStyleFlags2["DashCase"] = 2] = "DashCase";
5491
5121
  })(RendererStyleFlags2 || (RendererStyleFlags2 = {}));
5492
5122
 
5493
- /**
5494
- * @license
5495
- * Copyright Google LLC All Rights Reserved.
5496
- *
5497
- * Use of this source code is governed by an MIT-style license that can be
5498
- * found in the LICENSE file at https://angular.io/license
5499
- */
5500
5123
  /**
5501
5124
  * Disallowed strings in the comment.
5502
5125
  *
@@ -5539,13 +5162,6 @@ function escapeCommentText(value) {
5539
5162
  return value.replace(COMMENT_DISALLOWED, (text) => text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED));
5540
5163
  }
5541
5164
 
5542
- /**
5543
- * @license
5544
- * Copyright Google LLC All Rights Reserved.
5545
- *
5546
- * Use of this source code is governed by an MIT-style license that can be
5547
- * found in the LICENSE file at https://angular.io/license
5548
- */
5549
5165
  // Keeps track of the currently-active LViews.
5550
5166
  const TRACKED_LVIEWS = new Map();
5551
5167
  // Used for generating unique IDs for LViews.
@@ -5570,13 +5186,6 @@ function unregisterLView(lView) {
5570
5186
  TRACKED_LVIEWS.delete(lView[ID]);
5571
5187
  }
5572
5188
 
5573
- /**
5574
- * @license
5575
- * Copyright Google LLC All Rights Reserved.
5576
- *
5577
- * Use of this source code is governed by an MIT-style license that can be
5578
- * found in the LICENSE file at https://angular.io/license
5579
- */
5580
5189
  /**
5581
5190
  * The internal view context which is specific to a given DOM element, directive or
5582
5191
  * component instance. Each value in here (besides the LView and element node details)
@@ -5611,13 +5220,6 @@ class LContext {
5611
5220
  }
5612
5221
  }
5613
5222
 
5614
- /**
5615
- * @license
5616
- * Copyright Google LLC All Rights Reserved.
5617
- *
5618
- * Use of this source code is governed by an MIT-style license that can be
5619
- * found in the LICENSE file at https://angular.io/license
5620
- */
5621
5223
  /**
5622
5224
  * Returns the matching `LContext` data for a given DOM node, directive or component instance.
5623
5225
  *
@@ -5919,13 +5521,6 @@ function discoverLocalRefs(lView, nodeIndex) {
5919
5521
  return null;
5920
5522
  }
5921
5523
 
5922
- /**
5923
- * @license
5924
- * Copyright Google LLC All Rights Reserved.
5925
- *
5926
- * Use of this source code is governed by an MIT-style license that can be
5927
- * found in the LICENSE file at https://angular.io/license
5928
- */
5929
5524
  let _icuContainerIterate;
5930
5525
  /**
5931
5526
  * Iterator which provides ability to visit all of the `TIcuContainerNode` root `RNode`s.
@@ -5947,13 +5542,6 @@ function ensureIcuContainerVisitorLoaded(loader) {
5947
5542
  }
5948
5543
  }
5949
5544
 
5950
- /**
5951
- * @license
5952
- * Copyright Google LLC All Rights Reserved.
5953
- *
5954
- * Use of this source code is governed by an MIT-style license that can be
5955
- * found in the LICENSE file at https://angular.io/license
5956
- */
5957
5545
  /**
5958
5546
  * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of
5959
5547
  * that LContainer, which is an LView
@@ -6011,13 +5599,6 @@ function getNearestLContainer(viewOrContainer) {
6011
5599
  return viewOrContainer;
6012
5600
  }
6013
5601
 
6014
- /**
6015
- * @license
6016
- * Copyright Google LLC All Rights Reserved.
6017
- *
6018
- * Use of this source code is governed by an MIT-style license that can be
6019
- * found in the LICENSE file at https://angular.io/license
6020
- */
6021
5602
  /**
6022
5603
  * NOTE: for performance reasons, the possible actions are inlined within the function instead of
6023
5604
  * being passed as an argument.
@@ -6944,11 +6525,13 @@ function setupStaticAttributes(renderer, element, tNode) {
6944
6525
  }
6945
6526
 
6946
6527
  /**
6947
- * @license
6948
- * Copyright Google LLC All Rights Reserved.
6949
- *
6950
- * Use of this source code is governed by an MIT-style license that can be
6951
- * found in the LICENSE file at https://angular.io/license
6528
+ * @fileoverview
6529
+ * A module to facilitate use of a Trusted Types policy internally within
6530
+ * Angular. It lazily constructs the Trusted Types policy, providing helper
6531
+ * utilities for promoting strings to Trusted Types. When Trusted Types are not
6532
+ * available, strings are used as a fallback.
6533
+ * @security All use of this module is security-sensitive and should go through
6534
+ * security review.
6952
6535
  */
6953
6536
  /**
6954
6537
  * The Trusted Types policy, or null if Trusted Types are not
@@ -7066,13 +6649,6 @@ function newTrustedFunctionForDev(...args) {
7066
6649
  // return new Function(...args.map(a => trustedScriptFromString(a)));
7067
6650
  }
7068
6651
 
7069
- /**
7070
- * @license
7071
- * Copyright Google LLC All Rights Reserved.
7072
- *
7073
- * Use of this source code is governed by an MIT-style license that can be
7074
- * found in the LICENSE file at https://angular.io/license
7075
- */
7076
6652
  /**
7077
6653
  * Validation function invoked at runtime for each binding that might potentially
7078
6654
  * represent a security-sensitive attribute of an <iframe>.
@@ -7108,13 +6684,6 @@ function ɵɵvalidateIframeAttribute(attrValue, tagName, attrName) {
7108
6684
  return attrValue;
7109
6685
  }
7110
6686
 
7111
- /**
7112
- * @license
7113
- * Copyright Google LLC All Rights Reserved.
7114
- *
7115
- * Use of this source code is governed by an MIT-style license that can be
7116
- * found in the LICENSE file at https://angular.io/license
7117
- */
7118
6687
  /**
7119
6688
  * Most of the use of `document` in Angular is from within the DI system so it is possible to simply
7120
6689
  * inject the `DOCUMENT` token and are done.
@@ -7164,11 +6733,14 @@ function getDocument() {
7164
6733
  }
7165
6734
 
7166
6735
  /**
7167
- * @license
7168
- * Copyright Google LLC All Rights Reserved.
7169
- *
7170
- * Use of this source code is governed by an MIT-style license that can be
7171
- * found in the LICENSE file at https://angular.io/license
6736
+ * @fileoverview
6737
+ * A module to facilitate use of a Trusted Types policy internally within
6738
+ * Angular specifically for bypassSecurityTrust* and custom sanitizers. It
6739
+ * lazily constructs the Trusted Types policy, providing helper utilities for
6740
+ * promoting strings to Trusted Types. When Trusted Types are not available,
6741
+ * strings are used as a fallback.
6742
+ * @security All use of this module is security-sensitive and should go through
6743
+ * security review.
7172
6744
  */
7173
6745
  /**
7174
6746
  * The Trusted Types policy, or null if Trusted Types are not
@@ -7238,13 +6810,6 @@ function trustedScriptURLFromStringBypass(url) {
7238
6810
  return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScriptURL(url)) || url;
7239
6811
  }
7240
6812
 
7241
- /**
7242
- * @license
7243
- * Copyright Google LLC All Rights Reserved.
7244
- *
7245
- * Use of this source code is governed by an MIT-style license that can be
7246
- * found in the LICENSE file at https://angular.io/license
7247
- */
7248
6813
  class SafeValueImpl {
7249
6814
  constructor(changingThisBreaksApplicationSecurity) {
7250
6815
  this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;
@@ -7357,13 +6922,6 @@ function bypassSanitizationTrustResourceUrl(trustedResourceUrl) {
7357
6922
  return new SafeResourceUrlImpl(trustedResourceUrl);
7358
6923
  }
7359
6924
 
7360
- /**
7361
- * @license
7362
- * Copyright Google LLC All Rights Reserved.
7363
- *
7364
- * Use of this source code is governed by an MIT-style license that can be
7365
- * found in the LICENSE file at https://angular.io/license
7366
- */
7367
6925
  /**
7368
6926
  * This helper is used to get hold of an inert tree of DOM elements containing dirty HTML
7369
6927
  * that needs sanitizing.
@@ -7490,13 +7048,6 @@ function isDOMParserAvailable() {
7490
7048
  }
7491
7049
  }
7492
7050
 
7493
- /**
7494
- * @license
7495
- * Copyright Google LLC All Rights Reserved.
7496
- *
7497
- * Use of this source code is governed by an MIT-style license that can be
7498
- * found in the LICENSE file at https://angular.io/license
7499
- */
7500
7051
  /**
7501
7052
  * A pattern that recognizes a commonly useful subset of URLs that are safe.
7502
7053
  *
@@ -7534,13 +7085,6 @@ function _sanitizeUrl(url) {
7534
7085
  return 'unsafe:' + url;
7535
7086
  }
7536
7087
 
7537
- /**
7538
- * @license
7539
- * Copyright Google LLC All Rights Reserved.
7540
- *
7541
- * Use of this source code is governed by an MIT-style license that can be
7542
- * found in the LICENSE file at https://angular.io/license
7543
- */
7544
7088
  function tagSet(tags) {
7545
7089
  const res = {};
7546
7090
  for (const t of tags.split(','))
@@ -7780,13 +7324,6 @@ function isTemplateElement(el) {
7780
7324
  return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';
7781
7325
  }
7782
7326
 
7783
- /**
7784
- * @license
7785
- * Copyright Google LLC All Rights Reserved.
7786
- *
7787
- * Use of this source code is governed by an MIT-style license that can be
7788
- * found in the LICENSE file at https://angular.io/license
7789
- */
7790
7327
  /**
7791
7328
  * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property
7792
7329
  * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly
@@ -7806,13 +7343,6 @@ var SecurityContext;
7806
7343
  SecurityContext[SecurityContext["RESOURCE_URL"] = 5] = "RESOURCE_URL";
7807
7344
  })(SecurityContext || (SecurityContext = {}));
7808
7345
 
7809
- /**
7810
- * @license
7811
- * Copyright Google LLC All Rights Reserved.
7812
- *
7813
- * Use of this source code is governed by an MIT-style license that can be
7814
- * found in the LICENSE file at https://angular.io/license
7815
- */
7816
7346
  /**
7817
7347
  * An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing
7818
7348
  * dangerous content.
@@ -8033,13 +7563,6 @@ function getSanitizer() {
8033
7563
  return lView && lView[SANITIZER];
8034
7564
  }
8035
7565
 
8036
- /**
8037
- * @license
8038
- * Copyright Google LLC All Rights Reserved.
8039
- *
8040
- * Use of this source code is governed by an MIT-style license that can be
8041
- * found in the LICENSE file at https://angular.io/license
8042
- */
8043
7566
  /**
8044
7567
  * A multi-provider token for initialization functions that will run upon construction of an
8045
7568
  * environment injector.
@@ -8048,13 +7571,6 @@ function getSanitizer() {
8048
7571
  */
8049
7572
  const ENVIRONMENT_INITIALIZER = new InjectionToken('ENVIRONMENT_INITIALIZER');
8050
7573
 
8051
- /**
8052
- * @license
8053
- * Copyright Google LLC All Rights Reserved.
8054
- *
8055
- * Use of this source code is governed by an MIT-style license that can be
8056
- * found in the LICENSE file at https://angular.io/license
8057
- */
8058
7574
  /**
8059
7575
  * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.
8060
7576
  *
@@ -8068,22 +7584,8 @@ const INJECTOR = new InjectionToken('INJECTOR',
8068
7584
  // tslint:disable-next-line: no-toplevel-property-access
8069
7585
  -1 /* InjectorMarkers.Injector */);
8070
7586
 
8071
- /**
8072
- * @license
8073
- * Copyright Google LLC All Rights Reserved.
8074
- *
8075
- * Use of this source code is governed by an MIT-style license that can be
8076
- * found in the LICENSE file at https://angular.io/license
8077
- */
8078
7587
  const INJECTOR_DEF_TYPES = new InjectionToken('INJECTOR_DEF_TYPES');
8079
7588
 
8080
- /**
8081
- * @license
8082
- * Copyright Google LLC All Rights Reserved.
8083
- *
8084
- * Use of this source code is governed by an MIT-style license that can be
8085
- * found in the LICENSE file at https://angular.io/license
8086
- */
8087
7589
  class NullInjector {
8088
7590
  get(token, notFoundValue = THROW_IF_NOT_FOUND) {
8089
7591
  if (notFoundValue === THROW_IF_NOT_FOUND) {
@@ -8095,21 +7597,6 @@ class NullInjector {
8095
7597
  }
8096
7598
  }
8097
7599
 
8098
- /**
8099
- * @license
8100
- * Copyright Google LLC All Rights Reserved.
8101
- *
8102
- * Use of this source code is governed by an MIT-style license that can be
8103
- * found in the LICENSE file at https://angular.io/license
8104
- */
8105
-
8106
- /**
8107
- * @license
8108
- * Copyright Google LLC All Rights Reserved.
8109
- *
8110
- * Use of this source code is governed by an MIT-style license that can be
8111
- * found in the LICENSE file at https://angular.io/license
8112
- */
8113
7600
  /**
8114
7601
  * Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally
8115
7602
  * referenced in `@Component in a component injector.
@@ -8367,13 +7854,6 @@ function isClassProvider(value) {
8367
7854
  return !!value.useClass;
8368
7855
  }
8369
7856
 
8370
- /**
8371
- * @license
8372
- * Copyright Google LLC All Rights Reserved.
8373
- *
8374
- * Use of this source code is governed by an MIT-style license that can be
8375
- * found in the LICENSE file at https://angular.io/license
8376
- */
8377
7857
  /**
8378
7858
  * An internal token whose presence in an injector indicates that the injector should treat itself
8379
7859
  * as a root scoped injector when processing requests for unknown tokens which may indicate
@@ -8381,13 +7861,6 @@ function isClassProvider(value) {
8381
7861
  */
8382
7862
  const INJECTOR_SCOPE = new InjectionToken('Set Injector scope.');
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
  * Marker which indicates that a value has not yet been created from the factory function.
8393
7866
  */
@@ -8569,7 +8042,7 @@ class R3Injector extends EnvironmentInjector {
8569
8042
  try {
8570
8043
  const initializers = this.get(ENVIRONMENT_INITIALIZER.multi, EMPTY_ARRAY, InjectFlags.Self);
8571
8044
  if (ngDevMode && !Array.isArray(initializers)) {
8572
- throw new RuntimeError(209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' +
8045
+ throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' +
8573
8046
  `(expected an array, but got ${typeof initializers}). ` +
8574
8047
  'Please check that the `ENVIRONMENT_INITIALIZER` token is configured as a ' +
8575
8048
  '`multi: true` provider.');
@@ -8778,13 +8251,6 @@ function forEachSingleProvider(providers, fn) {
8778
8251
  }
8779
8252
  }
8780
8253
 
8781
- /**
8782
- * @license
8783
- * Copyright Google LLC All Rights Reserved.
8784
- *
8785
- * Use of this source code is governed by an MIT-style license that can be
8786
- * found in the LICENSE file at https://angular.io/license
8787
- */
8788
8254
  /**
8789
8255
  * Represents a component created by a `ComponentFactory`.
8790
8256
  * Provides access to the component instance and related objects,
@@ -8809,13 +8275,6 @@ class ComponentRef$1 {
8809
8275
  class ComponentFactory$1 {
8810
8276
  }
8811
8277
 
8812
- /**
8813
- * @license
8814
- * Copyright Google LLC All Rights Reserved.
8815
- *
8816
- * Use of this source code is governed by an MIT-style license that can be
8817
- * found in the LICENSE file at https://angular.io/license
8818
- */
8819
8278
  function noComponentFactoryError(component) {
8820
8279
  const error = Error(`No component factory found for ${stringify(component)}. Did you add it to @NgModule.entryComponents?`);
8821
8280
  error[ERROR_COMPONENT] = component;
@@ -8849,13 +8308,6 @@ class ComponentFactoryResolver$1 {
8849
8308
  }
8850
8309
  ComponentFactoryResolver$1.NULL = ( /* @__PURE__ */new _NullComponentFactoryResolver());
8851
8310
 
8852
- /**
8853
- * @license
8854
- * Copyright Google LLC All Rights Reserved.
8855
- *
8856
- * Use of this source code is governed by an MIT-style license that can be
8857
- * found in the LICENSE file at https://angular.io/license
8858
- */
8859
8311
  /**
8860
8312
  * Creates an ElementRef from the most recent node.
8861
8313
  *
@@ -8909,13 +8361,6 @@ function unwrapElementRef(value) {
8909
8361
  return value instanceof ElementRef ? value.nativeElement : value;
8910
8362
  }
8911
8363
 
8912
- /**
8913
- * @license
8914
- * Copyright Google LLC All Rights Reserved.
8915
- *
8916
- * Use of this source code is governed by an MIT-style license that can be
8917
- * found in the LICENSE file at https://angular.io/license
8918
- */
8919
8364
  /**
8920
8365
  * Creates and initializes a custom renderer that implements the `Renderer2` base class.
8921
8366
  *
@@ -8955,13 +8400,6 @@ function injectRenderer2() {
8955
8400
  return (isLView(nodeAtIndex) ? nodeAtIndex : lView)[RENDERER];
8956
8401
  }
8957
8402
 
8958
- /**
8959
- * @license
8960
- * Copyright Google LLC All Rights Reserved.
8961
- *
8962
- * Use of this source code is governed by an MIT-style license that can be
8963
- * found in the LICENSE file at https://angular.io/license
8964
- */
8965
8403
  /**
8966
8404
  * Sanitizer is used by the views to sanitize potentially dangerous values.
8967
8405
  *
@@ -8976,13 +8414,6 @@ Sanitizer.ɵprov = ɵɵdefineInjectable({
8976
8414
  factory: () => null,
8977
8415
  });
8978
8416
 
8979
- /**
8980
- * @license
8981
- * Copyright Google LLC All Rights Reserved.
8982
- *
8983
- * Use of this source code is governed by an MIT-style license that can be
8984
- * found in the LICENSE file at https://angular.io/license
8985
- */
8986
8417
  /**
8987
8418
  * @description Represents the version of Angular
8988
8419
  *
@@ -8999,15 +8430,8 @@ class Version {
8999
8430
  /**
9000
8431
  * @publicApi
9001
8432
  */
9002
- const VERSION = new Version('15.1.0-next.2');
8433
+ const VERSION = new Version('15.1.0-rc.0');
9003
8434
 
9004
- /**
9005
- * @license
9006
- * Copyright Google LLC All Rights Reserved.
9007
- *
9008
- * Use of this source code is governed by an MIT-style license that can be
9009
- * found in the LICENSE file at https://angular.io/license
9010
- */
9011
8435
  // This default value is when checking the hierarchy for a token.
9012
8436
  //
9013
8437
  // It means both:
@@ -9027,13 +8451,6 @@ const VERSION = new Version('15.1.0-next.2');
9027
8451
  // - mod2.injector.get(token, default)
9028
8452
  const NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};
9029
8453
 
9030
- /**
9031
- * @license
9032
- * Copyright Google LLC All Rights Reserved.
9033
- *
9034
- * Use of this source code is governed by an MIT-style license that can be
9035
- * found in the LICENSE file at https://angular.io/license
9036
- */
9037
8454
  const ERROR_ORIGINAL_ERROR = 'ngOriginalError';
9038
8455
  function wrappedError(message, originalError) {
9039
8456
  const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;
@@ -9045,13 +8462,6 @@ function getOriginalError(error) {
9045
8462
  return error[ERROR_ORIGINAL_ERROR];
9046
8463
  }
9047
8464
 
9048
- /**
9049
- * @license
9050
- * Copyright Google LLC All Rights Reserved.
9051
- *
9052
- * Use of this source code is governed by an MIT-style license that can be
9053
- * found in the LICENSE file at https://angular.io/license
9054
- */
9055
8465
  /**
9056
8466
  * Provides a hook for centralized exception handling.
9057
8467
  *
@@ -9101,13 +8511,6 @@ class ErrorHandler {
9101
8511
  }
9102
8512
  }
9103
8513
 
9104
- /**
9105
- * @license
9106
- * Copyright Google LLC All Rights Reserved.
9107
- *
9108
- * Use of this source code is governed by an MIT-style license that can be
9109
- * found in the LICENSE file at https://angular.io/license
9110
- */
9111
8514
  function normalizeDebugBindingName(name) {
9112
8515
  // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers
9113
8516
  name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));
@@ -9127,13 +8530,6 @@ function normalizeDebugBindingValue(value) {
9127
8530
  }
9128
8531
  }
9129
8532
 
9130
- /**
9131
- * @license
9132
- * Copyright Google LLC All Rights Reserved.
9133
- *
9134
- * Use of this source code is governed by an MIT-style license that can be
9135
- * found in the LICENSE file at https://angular.io/license
9136
- */
9137
8533
  /**
9138
8534
  *
9139
8535
  * @codeGenApi
@@ -9182,13 +8578,6 @@ function maybeUnwrapFn(value) {
9182
8578
  }
9183
8579
  }
9184
8580
 
9185
- /**
9186
- * @license
9187
- * Copyright Google LLC All Rights Reserved.
9188
- *
9189
- * Use of this source code is governed by an MIT-style license that can be
9190
- * found in the LICENSE file at https://angular.io/license
9191
- */
9192
8581
  /** Verifies that a given type is a Standalone Component. */
9193
8582
  function assertStandaloneComponentType(type) {
9194
8583
  assertComponentDef(type);
@@ -9275,13 +8664,6 @@ function getExpressionChangedErrorDetails(lView, bindingIndex, oldValue, newValu
9275
8664
  return { propName: undefined, oldValue, newValue };
9276
8665
  }
9277
8666
 
9278
- /**
9279
- * @license
9280
- * Copyright Google LLC All Rights Reserved.
9281
- *
9282
- * Use of this source code is governed by an MIT-style license that can be
9283
- * found in the LICENSE file at https://angular.io/license
9284
- */
9285
8667
  /**
9286
8668
  * Returns an index of `classToSearch` in `className` taking token boundaries into account.
9287
8669
  *
@@ -9313,13 +8695,6 @@ function classIndexOf(className, classToSearch, startingIndex) {
9313
8695
  }
9314
8696
  }
9315
8697
 
9316
- /**
9317
- * @license
9318
- * Copyright Google LLC All Rights Reserved.
9319
- *
9320
- * Use of this source code is governed by an MIT-style license that can be
9321
- * found in the LICENSE file at https://angular.io/license
9322
- */
9323
8698
  const NG_TEMPLATE_SELECTOR = 'ng-template';
9324
8699
  /**
9325
8700
  * Search the `TAttributes` to see if it contains `cssClassToMatch` (case insensitive)
@@ -9723,23 +9098,9 @@ function extractAttrsAndClassesFromSelector(selector) {
9723
9098
  return { attrs, classes };
9724
9099
  }
9725
9100
 
9726
- /**
9727
- * @license
9728
- * Copyright Google LLC All Rights Reserved.
9729
- *
9730
- * Use of this source code is governed by an MIT-style license that can be
9731
- * found in the LICENSE file at https://angular.io/license
9732
- */
9733
9101
  /** A special value which designates that a value has not changed. */
9734
9102
  const NO_CHANGE = (typeof ngDevMode === 'undefined' || ngDevMode) ? { __brand__: 'NO_CHANGE' } : {};
9735
9103
 
9736
- /**
9737
- * @license
9738
- * Copyright Google LLC All Rights Reserved.
9739
- *
9740
- * Use of this source code is governed by an MIT-style license that can be
9741
- * found in the LICENSE file at https://angular.io/license
9742
- */
9743
9104
  /**
9744
9105
  * Advances to an element for later binding instructions.
9745
9106
  *
@@ -9793,13 +9154,6 @@ function selectIndexInternal(tView, lView, index, checkNoChangesMode) {
9793
9154
  setSelectedIndex(index);
9794
9155
  }
9795
9156
 
9796
- /**
9797
- * @license
9798
- * Copyright Google LLC All Rights Reserved.
9799
- *
9800
- * Use of this source code is governed by an MIT-style license that can be
9801
- * found in the LICENSE file at https://angular.io/license
9802
- */
9803
9157
  /**
9804
9158
  * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
9805
9159
  *
@@ -9813,13 +9167,6 @@ const angularCoreDiEnv = {
9813
9167
  'resolveForwardRef': resolveForwardRef,
9814
9168
  };
9815
9169
 
9816
- /**
9817
- * @license
9818
- * Copyright Google LLC All Rights Reserved.
9819
- *
9820
- * Use of this source code is governed by an MIT-style license that can be
9821
- * found in the LICENSE file at https://angular.io/license
9822
- */
9823
9170
  /**
9824
9171
  * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting
9825
9172
  * injectable def (`ɵprov`) onto the injectable type.
@@ -9901,13 +9248,6 @@ function getInjectableMetadata(type, srcMeta) {
9901
9248
  return compilerMeta;
9902
9249
  }
9903
9250
 
9904
- /**
9905
- * @license
9906
- * Copyright Google LLC All Rights Reserved.
9907
- *
9908
- * Use of this source code is governed by an MIT-style license that can be
9909
- * found in the LICENSE file at https://angular.io/license
9910
- */
9911
9251
  /**
9912
9252
  * Injectable decorator and metadata.
9913
9253
  *
@@ -9916,13 +9256,6 @@ function getInjectableMetadata(type, srcMeta) {
9916
9256
  */
9917
9257
  const Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => compileInjectable(type, meta));
9918
9258
 
9919
- /**
9920
- * @license
9921
- * Copyright Google LLC All Rights Reserved.
9922
- *
9923
- * Use of this source code is governed by an MIT-style license that can be
9924
- * found in the LICENSE file at https://angular.io/license
9925
- */
9926
9259
  /**
9927
9260
  * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
9928
9261
  *
@@ -9947,13 +9280,6 @@ function createInjectorWithoutInjectorInstances(defType, parent = null, addition
9947
9280
  return new R3Injector(providers, parent || getNullInjector(), name || null, scopes);
9948
9281
  }
9949
9282
 
9950
- /**
9951
- * @license
9952
- * Copyright Google LLC All Rights Reserved.
9953
- *
9954
- * Use of this source code is governed by an MIT-style license that can be
9955
- * found in the LICENSE file at https://angular.io/license
9956
- */
9957
9283
  /**
9958
9284
  * Concrete injectors implement this interface. Injectors are configured
9959
9285
  * with [providers](guide/glossary#provider) that associate
@@ -10004,13 +9330,6 @@ Injector.ɵprov = ɵɵdefineInjectable({
10004
9330
  */
10005
9331
  Injector.__NG_ELEMENT_ID__ = -1 /* InjectorMarkers.Injector */;
10006
9332
 
10007
- /**
10008
- * @license
10009
- * Copyright Google LLC All Rights Reserved.
10010
- *
10011
- * Use of this source code is governed by an MIT-style license that can be
10012
- * found in the LICENSE file at https://angular.io/license
10013
- */
10014
9333
  function findFirstClosedCycle(keys) {
10015
9334
  const res = [];
10016
9335
  for (let i = 0; i < keys.length; ++i) {
@@ -10219,13 +9538,6 @@ function mixingMultiProvidersWithRegularProvidersError(provider1, provider2) {
10219
9538
  return Error(`Cannot mix multi providers and regular providers, got: ${provider1} ${provider2}`);
10220
9539
  }
10221
9540
 
10222
- /**
10223
- * @license
10224
- * Copyright Google LLC All Rights Reserved.
10225
- *
10226
- * Use of this source code is governed by an MIT-style license that can be
10227
- * found in the LICENSE file at https://angular.io/license
10228
- */
10229
9541
  /**
10230
9542
  * A unique object used for retrieving items from the {@link ReflectiveInjector}.
10231
9543
  *
@@ -10289,13 +9601,6 @@ class KeyRegistry {
10289
9601
  }
10290
9602
  const _globalKeyRegistry = new KeyRegistry();
10291
9603
 
10292
- /**
10293
- * @license
10294
- * Copyright Google LLC All Rights Reserved.
10295
- *
10296
- * Use of this source code is governed by an MIT-style license that can be
10297
- * found in the LICENSE file at https://angular.io/license
10298
- */
10299
9604
  /**
10300
9605
  * `Dependency` is used by the framework to extend DI.
10301
9606
  * This is internal to Angular and should not be used directly.
@@ -10491,13 +9796,6 @@ function _createDependency(token, optional, visibility) {
10491
9796
  return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility);
10492
9797
  }
10493
9798
 
10494
- /**
10495
- * @license
10496
- * Copyright Google LLC All Rights Reserved.
10497
- *
10498
- * Use of this source code is governed by an MIT-style license that can be
10499
- * found in the LICENSE file at https://angular.io/license
10500
- */
10501
9799
  // Threshold for the dynamic version
10502
9800
  const UNDEFINED = {};
10503
9801
  /**
@@ -10796,28 +10094,28 @@ function _mapProviders(injector, fn) {
10796
10094
  }
10797
10095
 
10798
10096
  /**
10799
- * @license
10800
- * Copyright Google LLC All Rights Reserved.
10801
- *
10802
- * Use of this source code is governed by an MIT-style license that can be
10803
- * found in the LICENSE file at https://angular.io/license
10097
+ * @module
10098
+ * @description
10099
+ * The `di` module provides dependency injection container services.
10804
10100
  */
10805
10101
 
10806
10102
  /**
10807
- * @license
10808
- * Copyright Google LLC All Rights Reserved.
10103
+ * This file should not be necessary because node resolution should just default to `./di/index`!
10809
10104
  *
10810
- * Use of this source code is governed by an MIT-style license that can be
10811
- * found in the LICENSE file at https://angular.io/license
10812
- */
10813
-
10814
- /**
10815
- * @license
10816
- * Copyright Google LLC All Rights Reserved.
10105
+ * However it does not seem to work and it breaks:
10106
+ * - //packages/animations/browser/test:test_web_chromium-local
10107
+ * - //packages/compiler-cli/test:extract_i18n
10108
+ * - //packages/compiler-cli/test:ngc
10109
+ * - //packages/compiler-cli/test:perform_watch
10110
+ * - //packages/compiler-cli/test/diagnostics:check_types
10111
+ * - //packages/compiler-cli/test/transformers:test
10112
+ * - //packages/compiler/test:test
10113
+ * - //tools/public_api_guard:core_api
10817
10114
  *
10818
- * Use of this source code is governed by an MIT-style license that can be
10819
- * found in the LICENSE file at https://angular.io/license
10115
+ * Remove this file once the above is solved or wait until `ngc` is deleted and then it should be
10116
+ * safe to delete this file.
10820
10117
  */
10118
+
10821
10119
  function ɵɵdirectiveInject(token, flags = InjectFlags.Default) {
10822
10120
  const lView = getLView();
10823
10121
  // Fall back to inject() if view hasn't been created. This situation can happen in tests
@@ -10847,13 +10145,6 @@ function ɵɵinvalidFactory() {
10847
10145
  throw new Error(msg);
10848
10146
  }
10849
10147
 
10850
- /**
10851
- * @license
10852
- * Copyright Google LLC All Rights Reserved.
10853
- *
10854
- * Use of this source code is governed by an MIT-style license that can be
10855
- * found in the LICENSE file at https://angular.io/license
10856
- */
10857
10148
  /**
10858
10149
  * Invoke `HostBindingsFunction`s for view.
10859
10150
  *
@@ -12458,13 +11749,6 @@ function textBindingInternal(lView, index, value) {
12458
11749
  updateTextNode(lView[RENDERER], element, value);
12459
11750
  }
12460
11751
 
12461
- /**
12462
- * @license
12463
- * Copyright Google LLC All Rights Reserved.
12464
- *
12465
- * Use of this source code is governed by an MIT-style license that can be
12466
- * found in the LICENSE file at https://angular.io/license
12467
- */
12468
11752
  /**
12469
11753
  * Compute the static styling (class/style) from `TAttributes`.
12470
11754
  *
@@ -12502,13 +11786,6 @@ function computeStaticStyling(tNode, attrs, writeToHost) {
12502
11786
  writeToHost ? tNode.classes = classes : tNode.classesWithoutHost = classes;
12503
11787
  }
12504
11788
 
12505
- /**
12506
- * @license
12507
- * Copyright Google LLC All Rights Reserved.
12508
- *
12509
- * Use of this source code is governed by an MIT-style license that can be
12510
- * found in the LICENSE file at https://angular.io/license
12511
- */
12512
11789
  function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
12513
11790
  while (tNode !== null) {
12514
11791
  ngDevMode &&
@@ -12556,13 +11833,6 @@ function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
12556
11833
  return result;
12557
11834
  }
12558
11835
 
12559
- /**
12560
- * @license
12561
- * Copyright Google LLC All Rights Reserved.
12562
- *
12563
- * Use of this source code is governed by an MIT-style license that can be
12564
- * found in the LICENSE file at https://angular.io/license
12565
- */
12566
11836
  class ViewRef$1 {
12567
11837
  get rootNodes() {
12568
11838
  const lView = this._lView;
@@ -12852,13 +12122,6 @@ class RootViewRef extends ViewRef$1 {
12852
12122
  }
12853
12123
  }
12854
12124
 
12855
- /**
12856
- * @license
12857
- * Copyright Google LLC All Rights Reserved.
12858
- *
12859
- * Use of this source code is governed by an MIT-style license that can be
12860
- * found in the LICENSE file at https://angular.io/license
12861
- */
12862
12125
  class ComponentFactoryResolver extends ComponentFactoryResolver$1 {
12863
12126
  /**
12864
12127
  * @param ngModule The NgModuleRef to which all resolved factories are bound.
@@ -13193,13 +12456,6 @@ function LifecycleHooksFeature() {
13193
12456
  registerPostOrderHooks(getLView()[TVIEW], tNode);
13194
12457
  }
13195
12458
 
13196
- /**
13197
- * @license
13198
- * Copyright Google LLC All Rights Reserved.
13199
- *
13200
- * Use of this source code is governed by an MIT-style license that can be
13201
- * found in the LICENSE file at https://angular.io/license
13202
- */
13203
12459
  function getSuperType(type) {
13204
12460
  return Object.getPrototypeOf(type.prototype).constructor;
13205
12461
  }
@@ -13350,13 +12606,6 @@ function inheritHostBindings(definition, superHostBindings) {
13350
12606
  }
13351
12607
  }
13352
12608
 
13353
- /**
13354
- * @license
13355
- * Copyright Google LLC All Rights Reserved.
13356
- *
13357
- * Use of this source code is governed by an MIT-style license that can be
13358
- * found in the LICENSE file at https://angular.io/license
13359
- */
13360
12609
  /**
13361
12610
  * Fields which exist on either directive or component definitions, and need to be copied from
13362
12611
  * parent to child classes by the `ɵɵCopyDefinitionFeature`.
@@ -13430,13 +12679,6 @@ function ɵɵCopyDefinitionFeature(definition) {
13430
12679
  }
13431
12680
  }
13432
12681
 
13433
- /**
13434
- * @license
13435
- * Copyright Google LLC All Rights Reserved.
13436
- *
13437
- * Use of this source code is governed by an MIT-style license that can be
13438
- * found in the LICENSE file at https://angular.io/license
13439
- */
13440
12682
  /**
13441
12683
  * This feature adds the host directives behavior to a directive definition by patching a
13442
12684
  * function onto it. The expectation is that the runtime will invoke the function during
@@ -13587,13 +12829,6 @@ function validateMappings(bindingType, def, hostDirectiveBindings) {
13587
12829
  }
13588
12830
  }
13589
12831
 
13590
- /**
13591
- * @license
13592
- * Copyright Google LLC All Rights Reserved.
13593
- *
13594
- * Use of this source code is governed by an MIT-style license that can be
13595
- * found in the LICENSE file at https://angular.io/license
13596
- */
13597
12832
  let _symbolIterator = null;
13598
12833
  function getSymbolIterator() {
13599
12834
  if (!_symbolIterator) {
@@ -13616,13 +12851,6 @@ function getSymbolIterator() {
13616
12851
  return _symbolIterator;
13617
12852
  }
13618
12853
 
13619
- /**
13620
- * @license
13621
- * Copyright Google LLC All Rights Reserved.
13622
- *
13623
- * Use of this source code is governed by an MIT-style license that can be
13624
- * found in the LICENSE file at https://angular.io/license
13625
- */
13626
12854
  function isIterable(obj) {
13627
12855
  return obj !== null && typeof obj === 'object' && obj[getSymbolIterator()] !== undefined;
13628
12856
  }
@@ -13665,13 +12893,6 @@ function isJsObject(o) {
13665
12893
  return o !== null && (typeof o === 'function' || typeof o === 'object');
13666
12894
  }
13667
12895
 
13668
- /**
13669
- * @license
13670
- * Copyright Google LLC All Rights Reserved.
13671
- *
13672
- * Use of this source code is governed by an MIT-style license that can be
13673
- * found in the LICENSE file at https://angular.io/license
13674
- */
13675
12896
  function devModeEqual(a, b) {
13676
12897
  const isListLikeIterableA = isListLikeIterable(a);
13677
12898
  const isListLikeIterableB = isListLikeIterable(b);
@@ -13690,13 +12911,6 @@ function devModeEqual(a, b) {
13690
12911
  }
13691
12912
  }
13692
12913
 
13693
- /**
13694
- * @license
13695
- * Copyright Google LLC All Rights Reserved.
13696
- *
13697
- * Use of this source code is governed by an MIT-style license that can be
13698
- * found in the LICENSE file at https://angular.io/license
13699
- */
13700
12914
  // TODO(misko): consider inlining
13701
12915
  /** Updates binding and returns the value. */
13702
12916
  function updateBinding(lView, bindingIndex, value) {
@@ -13765,13 +12979,6 @@ function bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) {
13765
12979
  return bindingUpdated2(lView, bindingIndex + 2, exp3, exp4) || different;
13766
12980
  }
13767
12981
 
13768
- /**
13769
- * @license
13770
- * Copyright Google LLC All Rights Reserved.
13771
- *
13772
- * Use of this source code is governed by an MIT-style license that can be
13773
- * found in the LICENSE file at https://angular.io/license
13774
- */
13775
12982
  /**
13776
12983
  * Updates the value of or removes a bound attribute on an Element.
13777
12984
  *
@@ -13797,13 +13004,6 @@ function ɵɵattribute(name, value, sanitizer, namespace) {
13797
13004
  return ɵɵattribute;
13798
13005
  }
13799
13006
 
13800
- /**
13801
- * @license
13802
- * Copyright Google LLC All Rights Reserved.
13803
- *
13804
- * Use of this source code is governed by an MIT-style license that can be
13805
- * found in the LICENSE file at https://angular.io/license
13806
- */
13807
13007
  /**
13808
13008
  * Create interpolation bindings with a variable number of expressions.
13809
13009
  *
@@ -14315,13 +13515,6 @@ function ɵɵattributeInterpolateV(attrName, values, sanitizer, namespace) {
14315
13515
  return ɵɵattributeInterpolateV;
14316
13516
  }
14317
13517
 
14318
- /**
14319
- * @license
14320
- * Copyright Google LLC All Rights Reserved.
14321
- *
14322
- * Use of this source code is governed by an MIT-style license that can be
14323
- * found in the LICENSE file at https://angular.io/license
14324
- */
14325
13518
  /**
14326
13519
  * Synchronously perform change detection on a component (and possibly its sub-components).
14327
13520
  *
@@ -14334,13 +13527,6 @@ function detectChanges(component) {
14334
13527
  detectChangesInternal(view[TVIEW], view, component);
14335
13528
  }
14336
13529
 
14337
- /**
14338
- * @license
14339
- * Copyright Google LLC All Rights Reserved.
14340
- *
14341
- * Use of this source code is governed by an MIT-style license that can be
14342
- * found in the LICENSE file at https://angular.io/license
14343
- */
14344
13530
  function templateFirstCreatePass(index, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) {
14345
13531
  ngDevMode && assertFirstCreatePass(tView);
14346
13532
  ngDevMode && ngDevMode.firstCreatePass++;
@@ -14394,13 +13580,6 @@ function ɵɵtemplate(index, templateFn, decls, vars, tagName, attrsIndex, local
14394
13580
  }
14395
13581
  }
14396
13582
 
14397
- /**
14398
- * @license
14399
- * Copyright Google LLC All Rights Reserved.
14400
- *
14401
- * Use of this source code is governed by an MIT-style license that can be
14402
- * found in the LICENSE file at https://angular.io/license
14403
- */
14404
13583
  /** Store a value in the `data` at a given `index`. */
14405
13584
  function store(tView, lView, index, value) {
14406
13585
  // We don't store any static data for local variables, so the first time
@@ -14426,13 +13605,6 @@ function ɵɵreference(index) {
14426
13605
  return load(contextLView, HEADER_OFFSET + index);
14427
13606
  }
14428
13607
 
14429
- /**
14430
- * @license
14431
- * Copyright Google LLC All Rights Reserved.
14432
- *
14433
- * Use of this source code is governed by an MIT-style license that can be
14434
- * found in the LICENSE file at https://angular.io/license
14435
- */
14436
13608
  /**
14437
13609
  * Update a property on a selected element.
14438
13610
  *
@@ -14473,13 +13645,6 @@ function setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isCla
14473
13645
  setInputsForProperty(tView, lView, inputs[property], property, value);
14474
13646
  }
14475
13647
 
14476
- /**
14477
- * @license
14478
- * Copyright Google LLC All Rights Reserved.
14479
- *
14480
- * Use of this source code is governed by an MIT-style license that can be
14481
- * found in the LICENSE file at https://angular.io/license
14482
- */
14483
13648
  function elementStartFirstCreatePass(index, tView, lView, native, name, attrsIndex, localRefsIndex) {
14484
13649
  ngDevMode && assertFirstCreatePass(tView);
14485
13650
  ngDevMode && ngDevMode.firstCreatePass++;
@@ -14603,13 +13768,6 @@ function ɵɵelement(index, name, attrsIndex, localRefsIndex) {
14603
13768
  return ɵɵelement;
14604
13769
  }
14605
13770
 
14606
- /**
14607
- * @license
14608
- * Copyright Google LLC All Rights Reserved.
14609
- *
14610
- * Use of this source code is governed by an MIT-style license that can be
14611
- * found in the LICENSE file at https://angular.io/license
14612
- */
14613
13771
  function elementContainerStartFirstCreatePass(index, tView, lView, attrsIndex, localRefsIndex) {
14614
13772
  ngDevMode && ngDevMode.firstCreatePass++;
14615
13773
  const tViewConsts = tView.consts;
@@ -14723,13 +13881,6 @@ function ɵɵgetCurrentView() {
14723
13881
  return getLView();
14724
13882
  }
14725
13883
 
14726
- /**
14727
- * @license
14728
- * Copyright Google LLC All Rights Reserved.
14729
- *
14730
- * Use of this source code is governed by an MIT-style license that can be
14731
- * found in the LICENSE file at https://angular.io/license
14732
- */
14733
13884
  /**
14734
13885
  * Determine if the argument is shaped like a Promise
14735
13886
  */
@@ -14755,13 +13906,6 @@ function isSubscribable(obj) {
14755
13906
  */
14756
13907
  const isObservable = isSubscribable;
14757
13908
 
14758
- /**
14759
- * @license
14760
- * Copyright Google LLC All Rights Reserved.
14761
- *
14762
- * Use of this source code is governed by an MIT-style license that can be
14763
- * found in the LICENSE file at https://angular.io/license
14764
- */
14765
13909
  /**
14766
13910
  * Adds an event listener to the current node.
14767
13911
  *
@@ -14989,21 +14133,6 @@ function wrapListener(tNode, lView, context, listenerFn, wrapWithPreventDefault)
14989
14133
  };
14990
14134
  }
14991
14135
 
14992
- /**
14993
- * @license
14994
- * Copyright Google LLC All Rights Reserved.
14995
- *
14996
- * Use of this source code is governed by an MIT-style license that can be
14997
- * found in the LICENSE file at https://angular.io/license
14998
- */
14999
-
15000
- /**
15001
- * @license
15002
- * Copyright Google LLC All Rights Reserved.
15003
- *
15004
- * Use of this source code is governed by an MIT-style license that can be
15005
- * found in the LICENSE file at https://angular.io/license
15006
- */
15007
14136
  /**
15008
14137
  * Retrieves a context at the level specified and saves it as the global, contextViewData.
15009
14138
  * Will get the next level up if level is not specified.
@@ -15020,13 +14149,6 @@ function ɵɵnextContext(level = 1) {
15020
14149
  return nextContextImpl(level);
15021
14150
  }
15022
14151
 
15023
- /**
15024
- * @license
15025
- * Copyright Google LLC All Rights Reserved.
15026
- *
15027
- * Use of this source code is governed by an MIT-style license that can be
15028
- * found in the LICENSE file at https://angular.io/license
15029
- */
15030
14152
  /**
15031
14153
  * Checks a given node against matching projection slots and returns the
15032
14154
  * determined slot index. Returns "null" if no slot matched the given node.
@@ -15595,13 +14717,6 @@ function ɵɵpropertyInterpolateV(propName, values, sanitizer) {
15595
14717
  return ɵɵpropertyInterpolateV;
15596
14718
  }
15597
14719
 
15598
- /**
15599
- * @license
15600
- * Copyright Google LLC All Rights Reserved.
15601
- *
15602
- * Use of this source code is governed by an MIT-style license that can be
15603
- * found in the LICENSE file at https://angular.io/license
15604
- */
15605
14720
  function toTStylingRange(prev, next) {
15606
14721
  ngDevMode && assertNumberInRange(prev, 0, 32767 /* StylingRange.UNSIGNED_MASK */);
15607
14722
  ngDevMode && assertNumberInRange(next, 0, 32767 /* StylingRange.UNSIGNED_MASK */);
@@ -15651,13 +14766,6 @@ function getTStylingRangeTail(tStylingRange) {
15651
14766
  return next === 0 ? getTStylingRangePrev(tStylingRange) : next;
15652
14767
  }
15653
14768
 
15654
- /**
15655
- * @license
15656
- * Copyright Google LLC All Rights Reserved.
15657
- *
15658
- * Use of this source code is governed by an MIT-style license that can be
15659
- * found in the LICENSE file at https://angular.io/license
15660
- */
15661
14769
  /**
15662
14770
  * NOTE: The word `styling` is used interchangeably as style or class styling.
15663
14771
  *
@@ -16058,13 +15166,6 @@ function isStylingMatch(tStylingKeyCursor, tStylingKey) {
16058
15166
  return false;
16059
15167
  }
16060
15168
 
16061
- /**
16062
- * @license
16063
- * Copyright Google LLC All Rights Reserved.
16064
- *
16065
- * Use of this source code is governed by an MIT-style license that can be
16066
- * found in the LICENSE file at https://angular.io/license
16067
- */
16068
15169
  // Global state of the parser. (This makes parser non-reentrant, but that is not an issue)
16069
15170
  const parserState = {
16070
15171
  textEnd: 0,
@@ -16323,13 +15424,6 @@ function malformedStyleError(text, expecting, index) {
16323
15424
  `'. Expecting '${expecting}'.`);
16324
15425
  }
16325
15426
 
16326
- /**
16327
- * @license
16328
- * Copyright Google LLC All Rights Reserved.
16329
- *
16330
- * Use of this source code is governed by an MIT-style license that can be
16331
- * found in the LICENSE file at https://angular.io/license
16332
- */
16333
15427
  /**
16334
15428
  * Update a style binding on an element with the provided value.
16335
15429
  *
@@ -17099,13 +16193,6 @@ function hasStylingInputShadow(tNode, isClassBased) {
17099
16193
  return (tNode.flags & (isClassBased ? 8 /* TNodeFlags.hasClassInput */ : 16 /* TNodeFlags.hasStyleInput */)) !== 0;
17100
16194
  }
17101
16195
 
17102
- /**
17103
- * @license
17104
- * Copyright Google LLC All Rights Reserved.
17105
- *
17106
- * Use of this source code is governed by an MIT-style license that can be
17107
- * found in the LICENSE file at https://angular.io/license
17108
- */
17109
16196
  /**
17110
16197
  * Create static text node
17111
16198
  *
@@ -17130,13 +16217,6 @@ function ɵɵtext(index, value = '') {
17130
16217
  setCurrentTNode(tNode, false);
17131
16218
  }
17132
16219
 
17133
- /**
17134
- * @license
17135
- * Copyright Google LLC All Rights Reserved.
17136
- *
17137
- * Use of this source code is governed by an MIT-style license that can be
17138
- * found in the LICENSE file at https://angular.io/license
17139
- */
17140
16220
  /**
17141
16221
  *
17142
16222
  * Update text content with a lone bound value
@@ -17418,13 +16498,6 @@ function ɵɵtextInterpolateV(values) {
17418
16498
  return ɵɵtextInterpolateV;
17419
16499
  }
17420
16500
 
17421
- /**
17422
- * @license
17423
- * Copyright Google LLC All Rights Reserved.
17424
- *
17425
- * Use of this source code is governed by an MIT-style license that can be
17426
- * found in the LICENSE file at https://angular.io/license
17427
- */
17428
16501
  /**
17429
16502
  *
17430
16503
  * Update an interpolated class on an element with single bound value surrounded by text.
@@ -17724,13 +16797,6 @@ function ɵɵclassMapInterpolateV(values) {
17724
16797
  checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
17725
16798
  }
17726
16799
 
17727
- /**
17728
- * @license
17729
- * Copyright Google LLC All Rights Reserved.
17730
- *
17731
- * Use of this source code is governed by an MIT-style license that can be
17732
- * found in the LICENSE file at https://angular.io/license
17733
- */
17734
16800
  /**
17735
16801
  *
17736
16802
  * Update an interpolated style on an element with single bound value surrounded by text.
@@ -18037,13 +17103,6 @@ function ɵɵstyleMapInterpolateV(values) {
18037
17103
  ɵɵstyleMap(interpolatedValue);
18038
17104
  }
18039
17105
 
18040
- /**
18041
- * @license
18042
- * Copyright Google LLC All Rights Reserved.
18043
- *
18044
- * Use of this source code is governed by an MIT-style license that can be
18045
- * found in the LICENSE file at https://angular.io/license
18046
- */
18047
17106
  /**
18048
17107
  *
18049
17108
  * Update an interpolated style property on an element with single bound value surrounded by text.
@@ -18395,13 +17454,6 @@ function ɵɵstylePropInterpolateV(prop, values, valueSuffix) {
18395
17454
  return ɵɵstylePropInterpolateV;
18396
17455
  }
18397
17456
 
18398
- /**
18399
- * @license
18400
- * Copyright Google LLC All Rights Reserved.
18401
- *
18402
- * Use of this source code is governed by an MIT-style license that can be
18403
- * found in the LICENSE file at https://angular.io/license
18404
- */
18405
17457
  /**
18406
17458
  * Update a property on a host element. Only applies to native node properties, not inputs.
18407
17459
  *
@@ -18462,13 +17514,6 @@ function ɵɵsyntheticHostProperty(propName, value, sanitizer) {
18462
17514
  return ɵɵsyntheticHostProperty;
18463
17515
  }
18464
17516
 
18465
- /**
18466
- * @license
18467
- * Copyright Google LLC All Rights Reserved.
18468
- *
18469
- * Use of this source code is governed by an MIT-style license that can be
18470
- * found in the LICENSE file at https://angular.io/license
18471
- */
18472
17517
  /**
18473
17518
  * NOTE: changes to the `ngI18nClosureMode` name must be synced with `compiler-cli/src/tooling.ts`.
18474
17519
  */
@@ -18486,13 +17531,6 @@ if (typeof ngI18nClosureMode === 'undefined') {
18486
17531
  })();
18487
17532
  }
18488
17533
 
18489
- /**
18490
- * @license
18491
- * Copyright Google LLC All Rights Reserved.
18492
- *
18493
- * Use of this source code is governed by an MIT-style license that can be
18494
- * found in the LICENSE file at https://angular.io/license
18495
- */
18496
17534
  // THIS CODE IS GENERATED - DO NOT MODIFY.
18497
17535
  const u = undefined;
18498
17536
  function plural(val) {
@@ -18503,13 +17541,6 @@ function plural(val) {
18503
17541
  }
18504
17542
  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];
18505
17543
 
18506
- /**
18507
- * @license
18508
- * Copyright Google LLC All Rights Reserved.
18509
- *
18510
- * Use of this source code is governed by an MIT-style license that can be
18511
- * found in the LICENSE file at https://angular.io/license
18512
- */
18513
17544
  /**
18514
17545
  * This const is used to store the locale data registered with `registerLocaleData`
18515
17546
  */
@@ -18633,13 +17664,6 @@ function normalizeLocale(locale) {
18633
17664
  return locale.toLowerCase().replace(/_/g, '-');
18634
17665
  }
18635
17666
 
18636
- /**
18637
- * @license
18638
- * Copyright Google LLC All Rights Reserved.
18639
- *
18640
- * Use of this source code is governed by an MIT-style license that can be
18641
- * found in the LICENSE file at https://angular.io/license
18642
- */
18643
17667
  const pluralMapping = ['zero', 'one', 'two', 'few', 'many'];
18644
17668
  /**
18645
17669
  * Returns the plural case based on the locale
@@ -18659,13 +17683,6 @@ const DEFAULT_LOCALE_ID = 'en-US';
18659
17683
  */
18660
17684
  const USD_CURRENCY_CODE = 'USD';
18661
17685
 
18662
- /**
18663
- * @license
18664
- * Copyright Google LLC All Rights Reserved.
18665
- *
18666
- * Use of this source code is governed by an MIT-style license that can be
18667
- * found in the LICENSE file at https://angular.io/license
18668
- */
18669
17686
  /**
18670
17687
  * Marks that the next string is an element name.
18671
17688
  *
@@ -18705,13 +17722,6 @@ var I18nCreateOpCode;
18705
17722
  // failure based on types.
18706
17723
  const unusedValueExportToPlacateAjd = 1;
18707
17724
 
18708
- /**
18709
- * @license
18710
- * Copyright Google LLC All Rights Reserved.
18711
- *
18712
- * Use of this source code is governed by an MIT-style license that can be
18713
- * found in the LICENSE file at https://angular.io/license
18714
- */
18715
17725
  /**
18716
17726
  * The locale id that the application is currently using (for translations and ICU expressions).
18717
17727
  * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
@@ -18740,13 +17750,6 @@ function getLocaleId() {
18740
17750
  return LOCALE_ID$1;
18741
17751
  }
18742
17752
 
18743
- /**
18744
- * @license
18745
- * Copyright Google LLC All Rights Reserved.
18746
- *
18747
- * Use of this source code is governed by an MIT-style license that can be
18748
- * found in the LICENSE file at https://angular.io/license
18749
- */
18750
17753
  /**
18751
17754
  * Find a node in front of which `currentTNode` should be inserted (takes i18n into account).
18752
17755
  *
@@ -18799,13 +17802,6 @@ function processI18nInsertBefore(renderer, childTNode, lView, childRNode, parent
18799
17802
  }
18800
17803
  }
18801
17804
 
18802
- /**
18803
- * @license
18804
- * Copyright Google LLC All Rights Reserved.
18805
- *
18806
- * Use of this source code is governed by an MIT-style license that can be
18807
- * found in the LICENSE file at https://angular.io/license
18808
- */
18809
17805
  /**
18810
17806
  * Add `tNode` to `previousTNodes` list and update relevant `TNode`s in `previousTNodes` list
18811
17807
  * `tNode.insertBeforeIndex`.
@@ -18879,13 +17875,6 @@ function setInsertBeforeIndex(tNode, value) {
18879
17875
  }
18880
17876
  }
18881
17877
 
18882
- /**
18883
- * @license
18884
- * Copyright Google LLC All Rights Reserved.
18885
- *
18886
- * Use of this source code is governed by an MIT-style license that can be
18887
- * found in the LICENSE file at https://angular.io/license
18888
- */
18889
17878
  /**
18890
17879
  * Retrieve `TIcu` at a given `index`.
18891
17880
  *
@@ -18997,13 +17986,6 @@ function icuCreateOpCode(opCode, parentIdx, refIdx) {
18997
17986
  return opCode | parentIdx << 17 /* IcuCreateOpCode.SHIFT_PARENT */ | refIdx << 1 /* IcuCreateOpCode.SHIFT_REF */;
18998
17987
  }
18999
17988
 
19000
- /**
19001
- * @license
19002
- * Copyright Google LLC All Rights Reserved.
19003
- *
19004
- * Use of this source code is governed by an MIT-style license that can be
19005
- * found in the LICENSE file at https://angular.io/license
19006
- */
19007
17989
  /**
19008
17990
  * Keep track of which input bindings in `ɵɵi18nExp` have changed.
19009
17991
  *
@@ -19392,13 +18374,6 @@ function getCaseIndex(icuExpression, bindingValue) {
19392
18374
  return index === -1 ? null : index;
19393
18375
  }
19394
18376
 
19395
- /**
19396
- * @license
19397
- * Copyright Google LLC All Rights Reserved.
19398
- *
19399
- * Use of this source code is governed by an MIT-style license that can be
19400
- * found in the LICENSE file at https://angular.io/license
19401
- */
19402
18377
  function loadIcuContainerVisitor() {
19403
18378
  const _stack = [];
19404
18379
  let _index = -1;
@@ -19472,53 +18447,6 @@ function loadIcuContainerVisitor() {
19472
18447
  return icuContainerIteratorStart;
19473
18448
  }
19474
18449
 
19475
- /**
19476
- * @license
19477
- * Copyright Google LLC All Rights Reserved.
19478
- *
19479
- * Use of this source code is governed by an MIT-style license that can be
19480
- * found in the LICENSE file at https://angular.io/license
19481
- */
19482
- /**
19483
- * Patch a `debug` property on top of the existing object.
19484
- *
19485
- * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
19486
- *
19487
- * @param obj Object to patch
19488
- * @param debug Value to patch
19489
- */
19490
- function attachDebugObject(obj, debug) {
19491
- if (ngDevMode) {
19492
- Object.defineProperty(obj, 'debug', { value: debug, enumerable: false });
19493
- }
19494
- else {
19495
- throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
19496
- }
19497
- }
19498
- /**
19499
- * Patch a `debug` property getter on top of the existing object.
19500
- *
19501
- * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
19502
- *
19503
- * @param obj Object to patch
19504
- * @param debugGetter Getter returning a value to patch
19505
- */
19506
- function attachDebugGetter(obj, debugGetter) {
19507
- if (ngDevMode) {
19508
- Object.defineProperty(obj, 'debug', { get: debugGetter, enumerable: false });
19509
- }
19510
- else {
19511
- throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
19512
- }
19513
- }
19514
-
19515
- /**
19516
- * @license
19517
- * Copyright Google LLC All Rights Reserved.
19518
- *
19519
- * Use of this source code is governed by an MIT-style license that can be
19520
- * found in the LICENSE file at https://angular.io/license
19521
- */
19522
18450
  /**
19523
18451
  * Converts `I18nCreateOpCodes` array into a human readable format.
19524
18452
  *
@@ -19725,13 +18653,6 @@ class OpCodeParser {
19725
18653
  }
19726
18654
  }
19727
18655
 
19728
- /**
19729
- * @license
19730
- * Copyright Google LLC All Rights Reserved.
19731
- *
19732
- * Use of this source code is governed by an MIT-style license that can be
19733
- * found in the LICENSE file at https://angular.io/license
19734
- */
19735
18656
  const BINDING_REGEXP = /�(\d+):?\d*�/gi;
19736
18657
  const ICU_REGEXP = /({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi;
19737
18658
  const NESTED_ICU = /�(\d+)�/;
@@ -19750,6 +18671,22 @@ const NGSP_UNICODE_REGEXP = /\uE500/g;
19750
18671
  function replaceNgsp(value) {
19751
18672
  return value.replace(NGSP_UNICODE_REGEXP, ' ');
19752
18673
  }
18674
+ /**
18675
+ * Patch a `debug` property getter on top of the existing object.
18676
+ *
18677
+ * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
18678
+ *
18679
+ * @param obj Object to patch
18680
+ * @param debugGetter Getter returning a value to patch
18681
+ */
18682
+ function attachDebugGetter(obj, debugGetter) {
18683
+ if (ngDevMode) {
18684
+ Object.defineProperty(obj, 'debug', { get: debugGetter, enumerable: false });
18685
+ }
18686
+ else {
18687
+ throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
18688
+ }
18689
+ }
19753
18690
  /**
19754
18691
  * Create dynamic nodes from i18n translation block.
19755
18692
  *
@@ -20334,13 +19271,6 @@ function addCreateAttribute(create, newIndex, attr) {
20334
19271
  create.push(newIndex << 1 /* IcuCreateOpCode.SHIFT_REF */ | 1 /* IcuCreateOpCode.Attr */, attr.name, attr.value);
20335
19272
  }
20336
19273
 
20337
- /**
20338
- * @license
20339
- * Copyright Google LLC All Rights Reserved.
20340
- *
20341
- * Use of this source code is governed by an MIT-style license that can be
20342
- * found in the LICENSE file at https://angular.io/license
20343
- */
20344
19274
  // i18nPostprocess consts
20345
19275
  const ROOT_TEMPLATE_ID = 0;
20346
19276
  const PP_MULTI_VALUE_PLACEHOLDERS_REGEXP = /\[(�.+?�?)\]/;
@@ -20455,13 +19385,6 @@ function i18nPostprocess(message, replacements = {}) {
20455
19385
  return result;
20456
19386
  }
20457
19387
 
20458
- /**
20459
- * @license
20460
- * Copyright Google LLC All Rights Reserved.
20461
- *
20462
- * Use of this source code is governed by an MIT-style license that can be
20463
- * found in the LICENSE file at https://angular.io/license
20464
- */
20465
19388
  /**
20466
19389
  * Marks a block of text as translatable.
20467
19390
  *
@@ -20611,21 +19534,26 @@ function ɵɵi18nPostprocess(message, replacements = {}) {
20611
19534
  return i18nPostprocess(message, replacements);
20612
19535
  }
20613
19536
 
20614
- /**
20615
- * @license
20616
- * Copyright Google LLC All Rights Reserved.
19537
+ /*
19538
+ * This file re-exports all symbols contained in this directory.
20617
19539
  *
20618
- * Use of this source code is governed by an MIT-style license that can be
20619
- * found in the LICENSE file at https://angular.io/license
20620
- */
20621
-
20622
- /**
20623
- * @license
20624
- * Copyright Google LLC All Rights Reserved.
19540
+ * Why is this file not `index.ts`?
19541
+ *
19542
+ * There seems to be an inconsistent path resolution of an `index.ts` file
19543
+ * when only the parent directory is referenced. This could be due to the
19544
+ * node module resolution configuration differing from rollup and/or typescript.
19545
+ *
19546
+ * With commit
19547
+ * https://github.com/angular/angular/commit/d5e3f2c64bd13ce83e7c70788b7fc514ca4a9918
19548
+ * the `instructions.ts` file was moved to `instructions/instructions.ts` and an
19549
+ * `index.ts` file was used to re-export everything. Having had file names that were
19550
+ * importing from `instructions' directly (not the from the sub file or the `index.ts`
19551
+ * file) caused strange CI issues. `index.ts` had to be renamed to `all.ts` for this
19552
+ * to work.
20625
19553
  *
20626
- * Use of this source code is governed by an MIT-style license that can be
20627
- * found in the LICENSE file at https://angular.io/license
19554
+ * Jira Issue = FW-1184
20628
19555
  */
19556
+
20629
19557
  /**
20630
19558
  * Resolves the providers which are defined in the DirectiveDef.
20631
19559
  *
@@ -20908,13 +19836,6 @@ function ɵɵProvidersFeature(providers, viewProviders = []) {
20908
19836
  };
20909
19837
  }
20910
19838
 
20911
- /**
20912
- * @license
20913
- * Copyright Google LLC All Rights Reserved.
20914
- *
20915
- * Use of this source code is governed by an MIT-style license that can be
20916
- * found in the LICENSE file at https://angular.io/license
20917
- */
20918
19839
  /**
20919
19840
  * Represents an instance of an `NgModule` created by an `NgModuleFactory`.
20920
19841
  * Provides access to the `NgModule` instance and related objects.
@@ -20937,13 +19858,6 @@ class NgModuleRef$1 {
20937
19858
  class NgModuleFactory$1 {
20938
19859
  }
20939
19860
 
20940
- /**
20941
- * @license
20942
- * Copyright Google LLC All Rights Reserved.
20943
- *
20944
- * Use of this source code is governed by an MIT-style license that can be
20945
- * found in the LICENSE file at https://angular.io/license
20946
- */
20947
19861
  /**
20948
19862
  * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
20949
19863
  *
@@ -21056,13 +19970,6 @@ function createEnvironmentInjector(providers, parent, debugName = null) {
21056
19970
  return adapter.injector;
21057
19971
  }
21058
19972
 
21059
- /**
21060
- * @license
21061
- * Copyright Google LLC All Rights Reserved.
21062
- *
21063
- * Use of this source code is governed by an MIT-style license that can be
21064
- * found in the LICENSE file at https://angular.io/license
21065
- */
21066
19973
  /**
21067
19974
  * A service used by the framework to create instances of standalone injectors. Those injectors are
21068
19975
  * created on demand in case of dynamic component instantiation and contain ambient providers
@@ -21121,13 +20028,6 @@ function ɵɵStandaloneFeature(definition) {
21121
20028
  };
21122
20029
  }
21123
20030
 
21124
- /**
21125
- * @license
21126
- * Copyright Google LLC All Rights Reserved.
21127
- *
21128
- * Use of this source code is governed by an MIT-style license that can be
21129
- * found in the LICENSE file at https://angular.io/license
21130
- */
21131
20031
  /**
21132
20032
  * Retrieves the component instance associated with a given DOM element.
21133
20033
  *
@@ -21505,13 +20405,6 @@ function assertDomElement(value) {
21505
20405
  }
21506
20406
  }
21507
20407
 
21508
- /**
21509
- * @license
21510
- * Copyright Google LLC All Rights Reserved.
21511
- *
21512
- * Use of this source code is governed by an MIT-style license that can be
21513
- * found in the LICENSE file at https://angular.io/license
21514
- */
21515
20408
  /**
21516
20409
  * Adds decorator, constructor, and property metadata to a given type via static metadata fields
21517
20410
  * on the type.
@@ -21553,13 +20446,6 @@ function setClassMetadata(type, decorators, ctorParameters, propDecorators) {
21553
20446
  });
21554
20447
  }
21555
20448
 
21556
- /**
21557
- * @license
21558
- * Copyright Google LLC All Rights Reserved.
21559
- *
21560
- * Use of this source code is governed by an MIT-style license that can be
21561
- * found in the LICENSE file at https://angular.io/license
21562
- */
21563
20449
  /**
21564
20450
  * Bindings for pure functions are stored after regular bindings.
21565
20451
  *
@@ -21901,13 +20787,6 @@ function pureFunctionVInternal(lView, bindingRoot, slotOffset, pureFn, exps, thi
21901
20787
  getPureFunctionReturnValue(lView, bindingIndex);
21902
20788
  }
21903
20789
 
21904
- /**
21905
- * @license
21906
- * Copyright Google LLC All Rights Reserved.
21907
- *
21908
- * Use of this source code is governed by an MIT-style license that can be
21909
- * found in the LICENSE file at https://angular.io/license
21910
- */
21911
20790
  /**
21912
20791
  * Create a pipe.
21913
20792
  *
@@ -22097,13 +20976,7 @@ function isPure(lView, index) {
22097
20976
  return lView[TVIEW].data[index].pure;
22098
20977
  }
22099
20978
 
22100
- /**
22101
- * @license
22102
- * Copyright Google LLC All Rights Reserved.
22103
- *
22104
- * Use of this source code is governed by an MIT-style license that can be
22105
- * found in the LICENSE file at https://angular.io/license
22106
- */
20979
+ /// <reference types="rxjs" />
22107
20980
  class EventEmitter_ extends Subject {
22108
20981
  constructor(isAsync = false) {
22109
20982
  super();
@@ -22149,13 +21022,6 @@ function _wrapInTimeout(fn) {
22149
21022
  */
22150
21023
  const EventEmitter = EventEmitter_;
22151
21024
 
22152
- /**
22153
- * @license
22154
- * Copyright Google LLC All Rights Reserved.
22155
- *
22156
- * Use of this source code is governed by an MIT-style license that can be
22157
- * found in the LICENSE file at https://angular.io/license
22158
- */
22159
21025
  function symbolIterator() {
22160
21026
  return this._results[getSymbolIterator()]();
22161
21027
  }
@@ -22316,13 +21182,6 @@ class QueryList {
22316
21182
  }
22317
21183
  Symbol.iterator;
22318
21184
 
22319
- /**
22320
- * @license
22321
- * Copyright Google LLC All Rights Reserved.
22322
- *
22323
- * Use of this source code is governed by an MIT-style license that can be
22324
- * found in the LICENSE file at https://angular.io/license
22325
- */
22326
21185
  /**
22327
21186
  * Represents an embedded template that can be used to instantiate embedded views.
22328
21187
  * To instantiate embedded views based on a template, use the `ViewContainerRef`
@@ -22395,13 +21254,6 @@ function createTemplateRef(hostTNode, hostLView) {
22395
21254
  return null;
22396
21255
  }
22397
21256
 
22398
- /**
22399
- * @license
22400
- * Copyright Google LLC All Rights Reserved.
22401
- *
22402
- * Use of this source code is governed by an MIT-style license that can be
22403
- * found in the LICENSE file at https://angular.io/license
22404
- */
22405
21257
  /**
22406
21258
  * Represents a container where one or more views can be attached to a component.
22407
21259
  *
@@ -22694,13 +21546,6 @@ function createContainerRef(hostTNode, hostLView) {
22694
21546
  return new R3ViewContainerRef(lContainer, hostTNode, hostLView);
22695
21547
  }
22696
21548
 
22697
- /**
22698
- * @license
22699
- * Copyright Google LLC All Rights Reserved.
22700
- *
22701
- * Use of this source code is governed by an MIT-style license that can be
22702
- * found in the LICENSE file at https://angular.io/license
22703
- */
22704
21549
  class LQuery_ {
22705
21550
  constructor(queryList) {
22706
21551
  this.queryList = queryList;
@@ -23158,13 +22003,6 @@ function getTQuery(tView, index) {
23158
22003
  return tView.queries.getByIndex(index);
23159
22004
  }
23160
22005
 
23161
- /**
23162
- * @license
23163
- * Copyright Google LLC All Rights Reserved.
23164
- *
23165
- * Use of this source code is governed by an MIT-style license that can be
23166
- * found in the LICENSE file at https://angular.io/license
23167
- */
23168
22006
  /**
23169
22007
  * Retrieves `TemplateRef` instance from `Injector` when a local reference is placed on the
23170
22008
  * `<ng-template>` element.
@@ -23175,21 +22013,6 @@ function ɵɵtemplateRefExtractor(tNode, lView) {
23175
22013
  return createTemplateRef(tNode, lView);
23176
22014
  }
23177
22015
 
23178
- /**
23179
- * @license
23180
- * Copyright Google LLC All Rights Reserved.
23181
- *
23182
- * Use of this source code is governed by an MIT-style license that can be
23183
- * found in the LICENSE file at https://angular.io/license
23184
- */
23185
-
23186
- /**
23187
- * @license
23188
- * Copyright Google LLC All Rights Reserved.
23189
- *
23190
- * Use of this source code is governed by an MIT-style license that can be
23191
- * found in the LICENSE file at https://angular.io/license
23192
- */
23193
22016
  /**
23194
22017
  * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
23195
22018
  *
@@ -23371,24 +22194,10 @@ function resetJitOptions() {
23371
22194
  jitOptions = null;
23372
22195
  }
23373
22196
 
23374
- /**
23375
- * @license
23376
- * Copyright Google LLC All Rights Reserved.
23377
- *
23378
- * Use of this source code is governed by an MIT-style license that can be
23379
- * found in the LICENSE file at https://angular.io/license
23380
- */
23381
22197
  function patchModuleCompilation() {
23382
22198
  // Does nothing, but exists as a target for patching.
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 isModuleWithProviders(value) {
23393
22202
  return value.ngModule !== undefined;
23394
22203
  }
@@ -23396,13 +22205,6 @@ function isNgModule(value) {
23396
22205
  return !!getNgModuleDef(value);
23397
22206
  }
23398
22207
 
23399
- /**
23400
- * @license
23401
- * Copyright Google LLC All Rights Reserved.
23402
- *
23403
- * Use of this source code is governed by an MIT-style license that can be
23404
- * found in the LICENSE file at https://angular.io/license
23405
- */
23406
22208
  const moduleQueue = [];
23407
22209
  /**
23408
22210
  * Enqueues moduleDef to be checked later to see if scope can be set on its
@@ -23924,13 +22726,6 @@ function expandModuleWithProviders(value) {
23924
22726
  return value;
23925
22727
  }
23926
22728
 
23927
- /**
23928
- * @license
23929
- * Copyright Google LLC All Rights Reserved.
23930
- *
23931
- * Use of this source code is governed by an MIT-style license that can be
23932
- * found in the LICENSE file at https://angular.io/license
23933
- */
23934
22729
  /**
23935
22730
  * Keep track of the compilation depth to avoid reentrancy issues during JIT compilation. This
23936
22731
  * matters in the following scenario:
@@ -24367,13 +23162,6 @@ function shouldAddAbstractDirective(type) {
24367
23162
  return false;
24368
23163
  }
24369
23164
 
24370
- /**
24371
- * @license
24372
- * Copyright Google LLC All Rights Reserved.
24373
- *
24374
- * Use of this source code is governed by an MIT-style license that can be
24375
- * found in the LICENSE file at https://angular.io/license
24376
- */
24377
23165
  function compilePipe(type, meta) {
24378
23166
  let ngPipeDef = null;
24379
23167
  let ngFactoryDef = null;
@@ -24419,13 +23207,6 @@ function getPipeMetadata(type, meta) {
24419
23207
  };
24420
23208
  }
24421
23209
 
24422
- /**
24423
- * @license
24424
- * Copyright Google LLC All Rights Reserved.
24425
- *
24426
- * Use of this source code is governed by an MIT-style license that can be
24427
- * found in the LICENSE file at https://angular.io/license
24428
- */
24429
23210
  /**
24430
23211
  * Type of the Directive metadata.
24431
23212
  *
@@ -24526,13 +23307,6 @@ const HostBinding = makePropDecorator('HostBinding', (hostPropertyName) => ({ ho
24526
23307
  */
24527
23308
  const HostListener = makePropDecorator('HostListener', (eventName, args) => ({ eventName, args }));
24528
23309
 
24529
- /**
24530
- * @license
24531
- * Copyright Google LLC All Rights Reserved.
24532
- *
24533
- * Use of this source code is governed by an MIT-style license that can be
24534
- * found in the LICENSE file at https://angular.io/license
24535
- */
24536
23310
  /**
24537
23311
  * @Annotation
24538
23312
  * @publicApi
@@ -24552,30 +23326,27 @@ const NgModule = makeDecorator('NgModule', (ngModule) => ngModule, undefined, un
24552
23326
  (type, meta) => compileNgModule(type, meta));
24553
23327
 
24554
23328
  /**
24555
- * @license
24556
- * Copyright Google LLC All Rights Reserved.
24557
- *
24558
- * Use of this source code is governed by an MIT-style license that can be
24559
- * found in the LICENSE file at https://angular.io/license
23329
+ * This indirection is needed to free up Component, etc symbols in the public API
23330
+ * to be used by the decorator versions of these annotations.
24560
23331
  */
24561
23332
 
24562
- /**
24563
- * @license
24564
- * Copyright Google LLC All Rights Reserved.
24565
- *
24566
- * Use of this source code is governed by an MIT-style license that can be
24567
- * found in the LICENSE file at https://angular.io/license
24568
- */
24569
23333
  function noop(...args) {
24570
23334
  // Do nothing.
24571
23335
  }
24572
23336
 
24573
- /**
24574
- * @license
24575
- * Copyright Google LLC All Rights Reserved.
23337
+ /*
23338
+ * This file exists to support compilation of @angular/core in Ivy mode.
23339
+ *
23340
+ * When the Angular compiler processes a compilation unit, it normally writes imports to
23341
+ * @angular/core. When compiling the core package itself this strategy isn't usable. Instead, the
23342
+ * compiler writes imports to this file.
23343
+ *
23344
+ * Only a subset of such imports are supported - core is not allowed to declare components or pipes.
23345
+ * A check in ngtsc's `R3SymbolsImportRewriter` validates this condition. The rewriter is only used
23346
+ * when compiling @angular/core and is responsible for translating an external name (prefixed with
23347
+ * ɵ) to the internal symbol name as exported below.
24576
23348
  *
24577
- * Use of this source code is governed by an MIT-style license that can be
24578
- * found in the LICENSE file at https://angular.io/license
23349
+ * The below symbols are used for @Injectable and @NgModule compilation.
24579
23350
  */
24580
23351
  /**
24581
23352
  * The existence of this constant (in this particular file) informs the Angular compiler that the
@@ -24666,6 +23437,7 @@ class ApplicationInitStatus {
24666
23437
  this.reject = noop;
24667
23438
  this.initialized = false;
24668
23439
  this.done = false;
23440
+ // TODO: Throw RuntimeErrorCode.INVALID_MULTI_PROVIDER if appInits is not an array
24669
23441
  this.donePromise = new Promise((res, rej) => {
24670
23442
  this.resolve = res;
24671
23443
  this.reject = rej;
@@ -24724,13 +23496,6 @@ ApplicationInitStatus.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Appli
24724
23496
  }, null);
24725
23497
  })();
24726
23498
 
24727
- /**
24728
- * @license
24729
- * Copyright Google LLC All Rights Reserved.
24730
- *
24731
- * Use of this source code is governed by an MIT-style license that can be
24732
- * found in the LICENSE file at https://angular.io/license
24733
- */
24734
23499
  /**
24735
23500
  * A [DI token](guide/glossary#di-token "DI token definition") representing a unique string ID, used
24736
23501
  * primarily for prefixing application attributes and CSS styles when
@@ -24801,13 +23566,6 @@ const PACKAGE_ROOT_URL = new InjectionToken('Application Packages Root URL');
24801
23566
  */
24802
23567
  const ANIMATION_MODULE_TYPE = new InjectionToken('AnimationModuleType');
24803
23568
 
24804
- /**
24805
- * @license
24806
- * Copyright Google LLC All Rights Reserved.
24807
- *
24808
- * Use of this source code is governed by an MIT-style license that can be
24809
- * found in the LICENSE file at https://angular.io/license
24810
- */
24811
23569
  class Console {
24812
23570
  log(message) {
24813
23571
  // tslint:disable-next-line:no-console
@@ -24828,13 +23586,6 @@ Console.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Console, factory: C
24828
23586
  }], null, null);
24829
23587
  })();
24830
23588
 
24831
- /**
24832
- * @license
24833
- * Copyright Google LLC All Rights Reserved.
24834
- *
24835
- * Use of this source code is governed by an MIT-style license that can be
24836
- * found in the LICENSE file at https://angular.io/license
24837
- */
24838
23589
  /**
24839
23590
  * Work out the locale from the potential global properties.
24840
23591
  *
@@ -25007,13 +23758,6 @@ var MissingTranslationStrategy;
25007
23758
  MissingTranslationStrategy[MissingTranslationStrategy["Ignore"] = 2] = "Ignore";
25008
23759
  })(MissingTranslationStrategy || (MissingTranslationStrategy = {}));
25009
23760
 
25010
- /**
25011
- * @license
25012
- * Copyright Google LLC All Rights Reserved.
25013
- *
25014
- * Use of this source code is governed by an MIT-style license that can be
25015
- * found in the LICENSE file at https://angular.io/license
25016
- */
25017
23761
  /**
25018
23762
  * Combination of NgModuleFactory and ComponentFactories.
25019
23763
  *
@@ -25122,13 +23866,6 @@ const COMPILER_OPTIONS = new InjectionToken('compilerOptions');
25122
23866
  class CompilerFactory {
25123
23867
  }
25124
23868
 
25125
- /**
25126
- * @license
25127
- * Copyright Google LLC All Rights Reserved.
25128
- *
25129
- * Use of this source code is governed by an MIT-style license that can be
25130
- * found in the LICENSE file at https://angular.io/license
25131
- */
25132
23869
  /**
25133
23870
  * Marks a component for check (in case of OnPush components) and synchronously
25134
23871
  * performs change detection on the application this component belongs to.
@@ -25144,13 +23881,6 @@ function applyChanges(component) {
25144
23881
  getRootComponents(component).forEach(rootComponent => detectChanges(rootComponent));
25145
23882
  }
25146
23883
 
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
23884
  /**
25155
23885
  * This file introduces series of globally accessible debug tools
25156
23886
  * to allow for the Angular debugging story to function.
@@ -25216,13 +23946,6 @@ function publishGlobalUtil(name, fn) {
25216
23946
  }
25217
23947
  }
25218
23948
 
25219
- /**
25220
- * @license
25221
- * Copyright Google LLC All Rights Reserved.
25222
- *
25223
- * Use of this source code is governed by an MIT-style license that can be
25224
- * found in the LICENSE file at https://angular.io/license
25225
- */
25226
23949
  const promise = (() => Promise.resolve(0))();
25227
23950
  function scheduleMicroTask(fn) {
25228
23951
  if (typeof Zone === 'undefined') {
@@ -25236,13 +23959,6 @@ function scheduleMicroTask(fn) {
25236
23959
  }
25237
23960
  }
25238
23961
 
25239
- /**
25240
- * @license
25241
- * Copyright Google LLC All Rights Reserved.
25242
- *
25243
- * Use of this source code is governed by an MIT-style license that can be
25244
- * found in the LICENSE file at https://angular.io/license
25245
- */
25246
23962
  function getNativeRequestAnimationFrame() {
25247
23963
  let nativeRequestAnimationFrame = _global['requestAnimationFrame'];
25248
23964
  let nativeCancelAnimationFrame = _global['cancelAnimationFrame'];
@@ -25261,13 +23977,6 @@ function getNativeRequestAnimationFrame() {
25261
23977
  return { nativeRequestAnimationFrame, nativeCancelAnimationFrame };
25262
23978
  }
25263
23979
 
25264
- /**
25265
- * @license
25266
- * Copyright Google LLC All Rights Reserved.
25267
- *
25268
- * Use of this source code is governed by an MIT-style license that can be
25269
- * found in the LICENSE file at https://angular.io/license
25270
- */
25271
23980
  class AsyncStackTaggingZoneSpec {
25272
23981
  constructor(namePrefix, consoleAsyncStackTaggingImpl = console) {
25273
23982
  var _a;
@@ -25290,13 +23999,6 @@ class AsyncStackTaggingZoneSpec {
25290
23999
  }
25291
24000
  }
25292
24001
 
25293
- /**
25294
- * @license
25295
- * Copyright Google LLC All Rights Reserved.
25296
- *
25297
- * Use of this source code is governed by an MIT-style license that can be
25298
- * found in the LICENSE file at https://angular.io/license
25299
- */
25300
24002
  /**
25301
24003
  * An injectable service for executing work inside or outside of the Angular zone.
25302
24004
  *
@@ -25682,13 +24384,6 @@ class NoopNgZone {
25682
24384
  }
25683
24385
  }
25684
24386
 
25685
- /**
25686
- * @license
25687
- * Copyright Google LLC All Rights Reserved.
25688
- *
25689
- * Use of this source code is governed by an MIT-style license that can be
25690
- * found in the LICENSE file at https://angular.io/license
25691
- */
25692
24387
  /**
25693
24388
  * Internal injection token that can used to access an instance of a Testability class.
25694
24389
  *
@@ -25992,13 +24687,6 @@ function setTestabilityGetter(getter) {
25992
24687
  }
25993
24688
  let _testabilityGetter;
25994
24689
 
25995
- /**
25996
- * @license
25997
- * Copyright Google LLC All Rights Reserved.
25998
- *
25999
- * Use of this source code is governed by an MIT-style license that can be
26000
- * found in the LICENSE file at https://angular.io/license
26001
- */
26002
24690
  let _platformInjector = null;
26003
24691
  /**
26004
24692
  * Internal token to indicate whether having multiple bootstrapped platform should be allowed (only
@@ -26346,7 +25034,7 @@ class PlatformRef {
26346
25034
  moduleRef.instance.ngDoBootstrap(appRef);
26347
25035
  }
26348
25036
  else {
26349
- throw new RuntimeError(403 /* RuntimeErrorCode.BOOTSTRAP_COMPONENTS_NOT_FOUND */, ngDevMode &&
25037
+ throw new RuntimeError(-403 /* RuntimeErrorCode.BOOTSTRAP_COMPONENTS_NOT_FOUND */, ngDevMode &&
26350
25038
  `The module ${stringify(moduleRef.instance.constructor)} was bootstrapped, ` +
26351
25039
  `but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ` +
26352
25040
  `Please define one of these.`);
@@ -26757,7 +25445,14 @@ class ApplicationRef {
26757
25445
  this.tick();
26758
25446
  this.components.push(componentRef);
26759
25447
  // Get the listeners lazily to prevent DI cycles.
26760
- const listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []).concat(this._bootstrapListeners);
25448
+ const listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []);
25449
+ if (ngDevMode && !Array.isArray(listeners)) {
25450
+ throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `APP_BOOTSTRAP_LISTENER` token value ' +
25451
+ `(expected an array, but got ${typeof listeners}). ` +
25452
+ 'Please check that the `APP_BOOTSTRAP_LISTENER` token is configured as a ' +
25453
+ '`multi: true` provider.');
25454
+ }
25455
+ listeners.push(...this._bootstrapListeners);
26761
25456
  listeners.forEach((listener) => listener(componentRef));
26762
25457
  }
26763
25458
  /** @internal */
@@ -26850,13 +25545,6 @@ function _mergeArrays(parts) {
26850
25545
  return result;
26851
25546
  }
26852
25547
 
26853
- /**
26854
- * @license
26855
- * Copyright Google LLC All Rights Reserved.
26856
- *
26857
- * Use of this source code is governed by an MIT-style license that can be
26858
- * found in the LICENSE file at https://angular.io/license
26859
- */
26860
25548
  /**
26861
25549
  * Returns whether Angular is in development mode.
26862
25550
  *
@@ -26891,29 +25579,10 @@ function enableProdMode() {
26891
25579
  }
26892
25580
  }
26893
25581
 
26894
- /**
26895
- * @license
26896
- * Copyright Google LLC All Rights Reserved.
26897
- *
26898
- * Use of this source code is governed by an MIT-style license that can be
26899
- * found in the LICENSE file at https://angular.io/license
26900
- */
25582
+ // Public API for Zone
26901
25583
 
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
- */
25584
+ // Public API for render
26909
25585
 
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
- */
26917
25586
  /**
26918
25587
  * Returns the NgModuleFactory with the given id (specified using [@NgModule.id
26919
25588
  * field](api/core/NgModule#id)), if it exists and has been loaded. Factories for NgModules that do
@@ -26943,13 +25612,6 @@ function noModuleError(id) {
26943
25612
  return new Error(`No module with ID ${id} loaded`);
26944
25613
  }
26945
25614
 
26946
- /**
26947
- * @license
26948
- * Copyright Google LLC All Rights Reserved.
26949
- *
26950
- * Use of this source code is governed by an MIT-style license that can be
26951
- * found in the LICENSE file at https://angular.io/license
26952
- */
26953
25615
  /**
26954
25616
  * Base class that provides change detection functionality.
26955
25617
  * A change-detection tree collects all views that are to be checked for changes.
@@ -27030,13 +25692,6 @@ function createViewRef(tNode, lView, isPipe) {
27030
25692
  return null;
27031
25693
  }
27032
25694
 
27033
- /**
27034
- * @license
27035
- * Copyright Google LLC All Rights Reserved.
27036
- *
27037
- * Use of this source code is governed by an MIT-style license that can be
27038
- * found in the LICENSE file at https://angular.io/license
27039
- */
27040
25695
  /**
27041
25696
  * Represents an Angular [view](guide/glossary#view "Definition").
27042
25697
  *
@@ -27102,31 +25757,11 @@ class ViewRef extends ChangeDetectorRef {
27102
25757
  class EmbeddedViewRef extends ViewRef {
27103
25758
  }
27104
25759
 
27105
- /**
27106
- * @license
27107
- * Copyright Google LLC All Rights Reserved.
27108
- *
27109
- * Use of this source code is governed by an MIT-style license that can be
27110
- * found in the LICENSE file at https://angular.io/license
27111
- */
25760
+ // Public API for compiler
27112
25761
 
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
- */
27120
25762
  // This file exists for easily patching NgModuleFactoryLoader in g3
27121
25763
  var ng_module_factory_loader_impl = {};
27122
25764
 
27123
- /**
27124
- * @license
27125
- * Copyright Google LLC All Rights Reserved.
27126
- *
27127
- * Use of this source code is governed by an MIT-style license that can be
27128
- * found in the LICENSE file at https://angular.io/license
27129
- */
27130
25765
  /**
27131
25766
  * @publicApi
27132
25767
  */
@@ -27698,13 +26333,6 @@ function removeDebugNodeFromIndex(node) {
27698
26333
  _nativeNodeToDebugNode.delete(node.nativeNode);
27699
26334
  }
27700
26335
 
27701
- /**
27702
- * @license
27703
- * Copyright Google LLC All Rights Reserved.
27704
- *
27705
- * Use of this source code is governed by an MIT-style license that can be
27706
- * found in the LICENSE file at https://angular.io/license
27707
- */
27708
26336
  class DefaultIterableDifferFactory {
27709
26337
  constructor() { }
27710
26338
  supports(obj) {
@@ -28363,13 +26991,6 @@ function getPreviousIndex(item, addRemoveOffset, moveOffsets) {
28363
26991
  return previousIndex + addRemoveOffset + moveOffset;
28364
26992
  }
28365
26993
 
28366
- /**
28367
- * @license
28368
- * Copyright Google LLC All Rights Reserved.
28369
- *
28370
- * Use of this source code is governed by an MIT-style license that can be
28371
- * found in the LICENSE file at https://angular.io/license
28372
- */
28373
26994
  class DefaultKeyValueDifferFactory {
28374
26995
  constructor() { }
28375
26996
  supports(obj) {
@@ -28615,13 +27236,6 @@ class KeyValueChangeRecord_ {
28615
27236
  }
28616
27237
  }
28617
27238
 
28618
- /**
28619
- * @license
28620
- * Copyright Google LLC All Rights Reserved.
28621
- *
28622
- * Use of this source code is governed by an MIT-style license that can be
28623
- * found in the LICENSE file at https://angular.io/license
28624
- */
28625
27239
  function defaultIterableDiffersFactory() {
28626
27240
  return new IterableDiffers([new DefaultIterableDifferFactory()]);
28627
27241
  }
@@ -28691,13 +27305,6 @@ function getTypeNameForDebugging(type) {
28691
27305
  return type['name'] || typeof type;
28692
27306
  }
28693
27307
 
28694
- /**
28695
- * @license
28696
- * Copyright Google LLC All Rights Reserved.
28697
- *
28698
- * Use of this source code is governed by an MIT-style license that can be
28699
- * found in the LICENSE file at https://angular.io/license
28700
- */
28701
27308
  function defaultKeyValueDiffersFactory() {
28702
27309
  return new KeyValueDiffers([new DefaultKeyValueDifferFactory()]);
28703
27310
  }
@@ -28761,13 +27368,6 @@ class KeyValueDiffers {
28761
27368
  /** @nocollapse */
28762
27369
  KeyValueDiffers.ɵprov = ɵɵdefineInjectable({ token: KeyValueDiffers, providedIn: 'root', factory: defaultKeyValueDiffersFactory });
28763
27370
 
28764
- /**
28765
- * @license
28766
- * Copyright Google LLC All Rights Reserved.
28767
- *
28768
- * Use of this source code is governed by an MIT-style license that can be
28769
- * found in the LICENSE file at https://angular.io/license
28770
- */
28771
27371
  /**
28772
27372
  * Structural diffing for `Object`s and `Map`s.
28773
27373
  */
@@ -28780,20 +27380,11 @@ const defaultIterableDiffers = new IterableDiffers(iterableDiff);
28780
27380
  const defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);
28781
27381
 
28782
27382
  /**
28783
- * @license
28784
- * Copyright Google LLC All Rights Reserved.
28785
- *
28786
- * Use of this source code is governed by an MIT-style license that can be
28787
- * found in the LICENSE file at https://angular.io/license
27383
+ * @module
27384
+ * @description
27385
+ * Change detection enables data binding in Angular.
28788
27386
  */
28789
27387
 
28790
- /**
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
28796
- */
28797
27388
  /**
28798
27389
  * This platform has to be included in any other platform
28799
27390
  *
@@ -28821,35 +27412,14 @@ ApplicationModule.ɵinj = /*@__PURE__*/ ɵɵdefineInjector({});
28821
27412
  }], function () { return [{ type: ApplicationRef }]; }, null);
28822
27413
  })();
28823
27414
 
28824
- /**
28825
- * @license
28826
- * Copyright Google LLC All Rights Reserved.
28827
- *
28828
- * Use of this source code is governed by an MIT-style license that can be
28829
- * found in the LICENSE file at https://angular.io/license
28830
- */
28831
27415
  /** Coerces a value (typically a string) to a boolean. */
28832
27416
  function coerceToBoolean(value) {
28833
27417
  return typeof value === 'boolean' ? value : (value != null && value !== 'false');
28834
27418
  }
28835
27419
 
28836
- /**
28837
- * @license
28838
- * Copyright Google LLC All Rights Reserved.
28839
- *
28840
- * Use of this source code is governed by an MIT-style license that can be
28841
- * found in the LICENSE file at https://angular.io/license
28842
- */
28843
27420
  // TODO(alxhub): allows tests to compile, can be removed when tests have been updated.
28844
27421
  const ɵivyEnabled = true;
28845
27422
 
28846
- /**
28847
- * @license
28848
- * Copyright Google LLC All Rights Reserved.
28849
- *
28850
- * Use of this source code is governed by an MIT-style license that can be
28851
- * found in the LICENSE file at https://angular.io/license
28852
- */
28853
27423
  /**
28854
27424
  * Compiles a partial directive declaration object into a full directive definition object.
28855
27425
  *
@@ -28941,22 +27511,9 @@ function ɵɵngDeclarePipe(decl) {
28941
27511
  return compiler.compilePipeDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵpipe.js`, decl);
28942
27512
  }
28943
27513
 
28944
- /**
28945
- * @license
28946
- * Copyright Google LLC All Rights Reserved.
28947
- *
28948
- * Use of this source code is governed by an MIT-style license that can be
28949
- * found in the LICENSE file at https://angular.io/license
28950
- */
27514
+ // clang-format off
28951
27515
  // clang-format on
28952
27516
 
28953
- /**
28954
- * @license
28955
- * Copyright Google LLC All Rights Reserved.
28956
- *
28957
- * Use of this source code is governed by an MIT-style license that can be
28958
- * found in the LICENSE file at https://angular.io/license
28959
- */
28960
27517
  /**
28961
27518
  * Creates a `ComponentRef` instance based on provided component type and a set of options.
28962
27519
  *
@@ -29090,11 +27647,9 @@ function reflectComponentType(component) {
29090
27647
  }
29091
27648
 
29092
27649
  /**
29093
- * @license
29094
- * Copyright Google LLC All Rights Reserved.
29095
- *
29096
- * Use of this source code is governed by an MIT-style license that can be
29097
- * found in the LICENSE file at https://angular.io/license
27650
+ * @module
27651
+ * @description
27652
+ * Entry point from which you should import all public core APIs.
29098
27653
  */
29099
27654
  if (typeof ngDevMode !== 'undefined' && ngDevMode) {
29100
27655
  // This helper is to give a reasonable error message to people upgrading to v9 that have not yet
@@ -29110,20 +27665,16 @@ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
29110
27665
  }
29111
27666
 
29112
27667
  /**
29113
- * @license
29114
- * Copyright Google LLC All Rights Reserved.
29115
- *
29116
- * Use of this source code is governed by an MIT-style license that can be
29117
- * found in the LICENSE file at https://angular.io/license
27668
+ * @module
27669
+ * @description
27670
+ * Entry point for all public APIs of this package.
29118
27671
  */
29119
27672
  // This file only reexports content of the `src` folder. Keep it that way.
29120
27673
 
29121
- /**
29122
- * @license
29123
- * Copyright Google LLC All Rights Reserved.
29124
- *
29125
- * Use of this source code is governed by an MIT-style license that can be
29126
- * found in the LICENSE file at https://angular.io/license
27674
+ /* This file is not used to build this module. It is only used during editing
27675
+ * by the TypeScript language service and during build for verification. `ngc`
27676
+ * replaces this file with production index.ts when it rewrites private symbol
27677
+ * names.
29127
27678
  */
29128
27679
 
29129
27680
  /**