@angular/common 19.2.0-next.0 → 19.2.0-next.1

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.0-next.0
2
+ * @license Angular v19.2.0-next.1
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -30,10 +30,10 @@ class DomAdapter {
30
30
  * implementations.
31
31
  */
32
32
  class PlatformNavigation {
33
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
34
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation });
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
34
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation });
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PlatformNavigation, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PlatformNavigation, decorators: [{
37
37
  type: Injectable,
38
38
  args: [{ providedIn: 'platform', useFactory: () => window.navigation }]
39
39
  }] });
@@ -73,10 +73,10 @@ class PlatformLocation {
73
73
  historyGo(relativePosition) {
74
74
  throw new Error(ngDevMode ? 'Not implemented' : '');
75
75
  }
76
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
77
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) });
76
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
77
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) });
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PlatformLocation, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PlatformLocation, decorators: [{
80
80
  type: Injectable,
81
81
  args: [{ providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }]
82
82
  }] });
@@ -158,10 +158,10 @@ class BrowserPlatformLocation extends PlatformLocation {
158
158
  getState() {
159
159
  return this._history.state;
160
160
  }
161
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
162
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() });
161
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
162
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() });
163
163
  }
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
165
165
  type: Injectable,
166
166
  args: [{
167
167
  providedIn: 'platform',
@@ -179,26 +179,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0",
179
179
  * @returns The joined URL string.
180
180
  */
181
181
  function joinWithSlash(start, end) {
182
- if (start.length == 0) {
182
+ // If `start` is an empty string, return `end` as the result.
183
+ if (!start)
183
184
  return end;
184
- }
185
- if (end.length == 0) {
185
+ // If `end` is an empty string, return `start` as the result.
186
+ if (!end)
186
187
  return start;
187
- }
188
- let slashes = 0;
188
+ // If `start` ends with a slash, remove the leading slash from `end`.
189
189
  if (start.endsWith('/')) {
190
- slashes++;
191
- }
192
- if (end.startsWith('/')) {
193
- slashes++;
194
- }
195
- if (slashes == 2) {
196
- return start + end.substring(1);
197
- }
198
- if (slashes == 1) {
199
- return start + end;
190
+ return end.startsWith('/') ? start + end.slice(1) : start + end;
200
191
  }
201
- return start + '/' + end;
192
+ // If `start` doesn't end with a slash, add one if `end` doesn't start with a slash.
193
+ return end.startsWith('/') ? start + end : `${start}/${end}`;
202
194
  }
203
195
  /**
204
196
  * Removes a trailing slash from a URL string if needed.
@@ -247,10 +239,10 @@ class LocationStrategy {
247
239
  historyGo(relativePosition) {
248
240
  throw new Error(ngDevMode ? 'Not implemented' : '');
249
241
  }
250
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
251
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
242
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
243
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
252
244
  }
253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: LocationStrategy, decorators: [{
245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: LocationStrategy, decorators: [{
254
246
  type: Injectable,
255
247
  args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
256
248
  }] });
@@ -362,10 +354,10 @@ class PathLocationStrategy extends LocationStrategy {
362
354
  historyGo(relativePosition = 0) {
363
355
  this._platformLocation.historyGo?.(relativePosition);
364
356
  }
365
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
366
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
357
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
358
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
367
359
  }
368
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PathLocationStrategy, decorators: [{
360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PathLocationStrategy, decorators: [{
369
361
  type: Injectable,
370
362
  args: [{ providedIn: 'root' }]
371
363
  }], ctorParameters: () => [{ type: PlatformLocation }, { type: undefined, decorators: [{
@@ -452,10 +444,10 @@ class HashLocationStrategy extends LocationStrategy {
452
444
  historyGo(relativePosition = 0) {
453
445
  this._platformLocation.historyGo?.(relativePosition);
454
446
  }
455
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
456
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HashLocationStrategy });
447
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
448
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: HashLocationStrategy });
457
449
  }
458
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: HashLocationStrategy, decorators: [{
450
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: HashLocationStrategy, decorators: [{
459
451
  type: Injectable
460
452
  }], ctorParameters: () => [{ type: PlatformLocation }, { type: undefined, decorators: [{
461
453
  type: Optional
@@ -709,10 +701,10 @@ class Location {
709
701
  * @returns The URL string, modified if needed.
710
702
  */
711
703
  static stripTrailingSlash = stripTrailingSlash;
712
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
713
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
704
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
705
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
714
706
  }
715
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: Location, decorators: [{
707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: Location, decorators: [{
716
708
  type: Injectable,
717
709
  args: [{
718
710
  providedIn: 'root',
@@ -2589,10 +2581,10 @@ function parseIntAutoRadix(text) {
2589
2581
  * @publicApi
2590
2582
  */
2591
2583
  class NgLocalization {
2592
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2593
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
2584
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2585
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
2594
2586
  }
2595
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgLocalization, decorators: [{
2587
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgLocalization, decorators: [{
2596
2588
  type: Injectable,
2597
2589
  args: [{
2598
2590
  providedIn: 'root',
@@ -2647,10 +2639,10 @@ class NgLocaleLocalization extends NgLocalization {
2647
2639
  return 'other';
2648
2640
  }
2649
2641
  }
2650
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2651
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgLocaleLocalization });
2642
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2643
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgLocaleLocalization });
2652
2644
  }
2653
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2645
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2654
2646
  type: Injectable
2655
2647
  }], ctorParameters: () => [{ type: undefined, decorators: [{
2656
2648
  type: Inject,
@@ -2831,10 +2823,10 @@ class NgClass {
2831
2823
  });
2832
2824
  }
2833
2825
  }
2834
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgClass, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2835
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2826
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgClass, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2827
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2836
2828
  }
2837
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgClass, decorators: [{
2829
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgClass, decorators: [{
2838
2830
  type: Directive,
2839
2831
  args: [{
2840
2832
  selector: '[ngClass]',
@@ -3021,10 +3013,10 @@ class NgComponentOutlet {
3021
3013
  }
3022
3014
  }
3023
3015
  }
3024
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
3025
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInputs: "ngComponentOutletInputs", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, exportAs: ["ngComponentOutlet"], usesOnChanges: true, ngImport: i0 });
3016
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
3017
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgComponentOutlet, isStandalone: true, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInputs: "ngComponentOutletInputs", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, exportAs: ["ngComponentOutlet"], usesOnChanges: true, ngImport: i0 });
3026
3018
  }
3027
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgComponentOutlet, decorators: [{
3019
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgComponentOutlet, decorators: [{
3028
3020
  type: Directive,
3029
3021
  args: [{
3030
3022
  selector: '[ngComponentOutlet]',
@@ -3331,10 +3323,10 @@ class NgForOf {
3331
3323
  static ngTemplateContextGuard(dir, ctx) {
3332
3324
  return true;
3333
3325
  }
3334
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
3335
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
3326
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
3327
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
3336
3328
  }
3337
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgForOf, decorators: [{
3329
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgForOf, decorators: [{
3338
3330
  type: Directive,
3339
3331
  args: [{
3340
3332
  selector: '[ngFor][ngForOf]',
@@ -3568,10 +3560,10 @@ class NgIf {
3568
3560
  static ngTemplateContextGuard(dir, ctx) {
3569
3561
  return true;
3570
3562
  }
3571
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3572
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
3563
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3564
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
3573
3565
  }
3574
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgIf, decorators: [{
3566
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgIf, decorators: [{
3575
3567
  type: Directive,
3576
3568
  args: [{
3577
3569
  selector: '[ngIf]',
@@ -3729,10 +3721,10 @@ class NgSwitch {
3729
3721
  }
3730
3722
  }
3731
3723
  }
3732
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3733
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3724
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3725
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3734
3726
  }
3735
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgSwitch, decorators: [{
3727
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgSwitch, decorators: [{
3736
3728
  type: Directive,
3737
3729
  args: [{
3738
3730
  selector: '[ngSwitch]',
@@ -3795,10 +3787,10 @@ class NgSwitchCase {
3795
3787
  ngDoCheck() {
3796
3788
  this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
3797
3789
  }
3798
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3799
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3790
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3791
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3800
3792
  }
3801
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgSwitchCase, decorators: [{
3793
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgSwitchCase, decorators: [{
3802
3794
  type: Directive,
3803
3795
  args: [{
3804
3796
  selector: '[ngSwitchCase]',
@@ -3831,10 +3823,10 @@ class NgSwitchDefault {
3831
3823
  }
3832
3824
  ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
3833
3825
  }
3834
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3835
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
3826
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3827
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
3836
3828
  }
3837
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgSwitchDefault, decorators: [{
3829
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgSwitchDefault, decorators: [{
3838
3830
  type: Directive,
3839
3831
  args: [{
3840
3832
  selector: '[ngSwitchDefault]',
@@ -3849,9 +3841,6 @@ function throwNgSwitchProviderNotFoundError(attrName, directiveName) {
3849
3841
  `(matching the "${directiveName}" directive) must be located inside an element with the "ngSwitch" attribute ` +
3850
3842
  `(matching "NgSwitch" directive)`);
3851
3843
  }
3852
- function stringifyValue(value) {
3853
- return typeof value === 'string' ? `'${value}'` : String(value);
3854
- }
3855
3844
 
3856
3845
  /**
3857
3846
  * @ngModule CommonModule
@@ -3913,10 +3902,10 @@ class NgPlural {
3913
3902
  this._activeView.create();
3914
3903
  }
3915
3904
  }
3916
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3917
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3905
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3906
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3918
3907
  }
3919
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgPlural, decorators: [{
3908
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgPlural, decorators: [{
3920
3909
  type: Directive,
3921
3910
  args: [{
3922
3911
  selector: '[ngPlural]',
@@ -3951,10 +3940,10 @@ class NgPluralCase {
3951
3940
  const isANumber = !isNaN(Number(value));
3952
3941
  ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
3953
3942
  }
3954
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
3955
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
3943
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
3944
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
3956
3945
  }
3957
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgPluralCase, decorators: [{
3946
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgPluralCase, decorators: [{
3958
3947
  type: Directive,
3959
3948
  args: [{
3960
3949
  selector: '[ngPluralCase]',
@@ -4047,10 +4036,10 @@ class NgStyle {
4047
4036
  changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));
4048
4037
  changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
4049
4038
  }
4050
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
4051
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
4039
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
4040
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
4052
4041
  }
4053
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgStyle, decorators: [{
4042
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgStyle, decorators: [{
4054
4043
  type: Directive,
4055
4044
  args: [{
4056
4045
  selector: '[ngStyle]',
@@ -4151,10 +4140,10 @@ class NgTemplateOutlet {
4151
4140
  },
4152
4141
  });
4153
4142
  }
4154
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4155
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.0", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
4143
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4144
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0-next.1", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
4156
4145
  }
4157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4158
4147
  type: Directive,
4159
4148
  args: [{
4160
4149
  selector: '[ngTemplateOutlet]',
@@ -4322,10 +4311,10 @@ class AsyncPipe {
4322
4311
  }
4323
4312
  }
4324
4313
  }
4325
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4326
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
4314
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4315
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
4327
4316
  }
4328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: AsyncPipe, decorators: [{
4317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: AsyncPipe, decorators: [{
4329
4318
  type: Pipe,
4330
4319
  args: [{
4331
4320
  name: 'async',
@@ -4357,10 +4346,10 @@ class LowerCasePipe {
4357
4346
  }
4358
4347
  return value.toLowerCase();
4359
4348
  }
4360
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4361
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
4349
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4350
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
4362
4351
  }
4363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: LowerCasePipe, decorators: [{
4352
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: LowerCasePipe, decorators: [{
4364
4353
  type: Pipe,
4365
4354
  args: [{
4366
4355
  name: 'lowercase',
@@ -4401,10 +4390,10 @@ class TitleCasePipe {
4401
4390
  }
4402
4391
  return value.replace(unicodeWordMatch, (txt) => txt[0].toUpperCase() + txt.slice(1).toLowerCase());
4403
4392
  }
4404
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4405
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
4393
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4394
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
4406
4395
  }
4407
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: TitleCasePipe, decorators: [{
4396
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: TitleCasePipe, decorators: [{
4408
4397
  type: Pipe,
4409
4398
  args: [{
4410
4399
  name: 'titlecase',
@@ -4427,10 +4416,10 @@ class UpperCasePipe {
4427
4416
  }
4428
4417
  return value.toUpperCase();
4429
4418
  }
4430
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4431
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
4419
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4420
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
4432
4421
  }
4433
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: UpperCasePipe, decorators: [{
4422
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: UpperCasePipe, decorators: [{
4434
4423
  type: Pipe,
4435
4424
  args: [{
4436
4425
  name: 'uppercase',
@@ -4661,10 +4650,10 @@ class DatePipe {
4661
4650
  throw invalidPipeArgumentError(DatePipe, error.message);
4662
4651
  }
4663
4652
  }
4664
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4665
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
4653
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4654
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
4666
4655
  }
4667
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DatePipe, decorators: [{
4656
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: DatePipe, decorators: [{
4668
4657
  type: Pipe,
4669
4658
  args: [{
4670
4659
  name: 'date',
@@ -4720,10 +4709,10 @@ class I18nPluralPipe {
4720
4709
  const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);
4721
4710
  return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
4722
4711
  }
4723
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4724
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
4712
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4713
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
4725
4714
  }
4726
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: I18nPluralPipe, decorators: [{
4715
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: I18nPluralPipe, decorators: [{
4727
4716
  type: Pipe,
4728
4717
  args: [{
4729
4718
  name: 'i18nPlural',
@@ -4767,10 +4756,10 @@ class I18nSelectPipe {
4767
4756
  }
4768
4757
  return '';
4769
4758
  }
4770
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4771
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
4759
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4760
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
4772
4761
  }
4773
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: I18nSelectPipe, decorators: [{
4762
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: I18nSelectPipe, decorators: [{
4774
4763
  type: Pipe,
4775
4764
  args: [{
4776
4765
  name: 'i18nSelect',
@@ -4799,10 +4788,10 @@ class JsonPipe {
4799
4788
  transform(value) {
4800
4789
  return JSON.stringify(value, null, 2);
4801
4790
  }
4802
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4803
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
4791
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4792
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
4804
4793
  }
4805
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: JsonPipe, decorators: [{
4794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: JsonPipe, decorators: [{
4806
4795
  type: Pipe,
4807
4796
  args: [{
4808
4797
  name: 'json',
@@ -4864,10 +4853,10 @@ class KeyValuePipe {
4864
4853
  }
4865
4854
  return this.keyValues;
4866
4855
  }
4867
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4868
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
4856
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4857
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
4869
4858
  }
4870
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: KeyValuePipe, decorators: [{
4859
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: KeyValuePipe, decorators: [{
4871
4860
  type: Pipe,
4872
4861
  args: [{
4873
4862
  name: 'keyvalue',
@@ -4877,31 +4866,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0",
4877
4866
  function defaultComparator(keyValueA, keyValueB) {
4878
4867
  const a = keyValueA.key;
4879
4868
  const b = keyValueB.key;
4880
- // if same exit with 0;
4869
+ // If both keys are the same, return 0 (no sorting needed).
4881
4870
  if (a === b)
4882
4871
  return 0;
4883
- // make sure that undefined are at the end of the sort.
4884
- if (a === undefined)
4885
- return 1;
4886
- if (b === undefined)
4887
- return -1;
4888
- // make sure that nulls are at the end of the sort.
4889
- if (a === null)
4890
- return 1;
4891
- if (b === null)
4892
- return -1;
4872
+ // If one of the keys is `null` or `undefined`, place it at the end of the sort.
4873
+ if (a == null)
4874
+ return 1; // `a` comes after `b`.
4875
+ if (b == null)
4876
+ return -1; // `b` comes after `a`.
4877
+ // If both keys are strings, compare them lexicographically.
4893
4878
  if (typeof a == 'string' && typeof b == 'string') {
4894
4879
  return a < b ? -1 : 1;
4895
4880
  }
4881
+ // If both keys are numbers, sort them numerically.
4896
4882
  if (typeof a == 'number' && typeof b == 'number') {
4897
4883
  return a - b;
4898
4884
  }
4885
+ // If both keys are booleans, sort `false` before `true`.
4899
4886
  if (typeof a == 'boolean' && typeof b == 'boolean') {
4900
4887
  return a < b ? -1 : 1;
4901
4888
  }
4902
- // `a` and `b` are of different types. Compare their string values.
4889
+ // Fallback case: if keys are of different types, compare their string representations.
4903
4890
  const aString = String(a);
4904
4891
  const bString = String(b);
4892
+ // Compare the string representations lexicographically.
4905
4893
  return aString == bString ? 0 : aString < bString ? -1 : 1;
4906
4894
  }
4907
4895
 
@@ -4985,10 +4973,10 @@ class DecimalPipe {
4985
4973
  throw invalidPipeArgumentError(DecimalPipe, error.message);
4986
4974
  }
4987
4975
  }
4988
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4989
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
4976
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4977
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
4990
4978
  }
4991
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: DecimalPipe, decorators: [{
4979
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: DecimalPipe, decorators: [{
4992
4980
  type: Pipe,
4993
4981
  args: [{
4994
4982
  name: 'number',
@@ -5050,10 +5038,10 @@ class PercentPipe {
5050
5038
  throw invalidPipeArgumentError(PercentPipe, error.message);
5051
5039
  }
5052
5040
  }
5053
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
5054
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
5041
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
5042
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
5055
5043
  }
5056
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PercentPipe, decorators: [{
5044
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PercentPipe, decorators: [{
5057
5045
  type: Pipe,
5058
5046
  args: [{
5059
5047
  name: 'percent',
@@ -5117,10 +5105,10 @@ class CurrencyPipe {
5117
5105
  throw invalidPipeArgumentError(CurrencyPipe, error.message);
5118
5106
  }
5119
5107
  }
5120
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
5121
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
5108
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
5109
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
5122
5110
  }
5123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: CurrencyPipe, decorators: [{
5111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: CurrencyPipe, decorators: [{
5124
5112
  type: Pipe,
5125
5113
  args: [{
5126
5114
  name: 'currency',
@@ -5196,10 +5184,10 @@ class SlicePipe {
5196
5184
  supports(obj) {
5197
5185
  return typeof obj === 'string' || Array.isArray(obj);
5198
5186
  }
5199
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5200
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
5187
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5188
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
5201
5189
  }
5202
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: SlicePipe, decorators: [{
5190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: SlicePipe, decorators: [{
5203
5191
  type: Pipe,
5204
5192
  args: [{
5205
5193
  name: 'slice',
@@ -5242,11 +5230,11 @@ const COMMON_PIPES = [
5242
5230
  * @publicApi
5243
5231
  */
5244
5232
  class CommonModule {
5245
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5246
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.0", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });
5247
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: CommonModule });
5233
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5234
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });
5235
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: CommonModule });
5248
5236
  }
5249
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: CommonModule, decorators: [{
5237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: CommonModule, decorators: [{
5250
5238
  type: NgModule,
5251
5239
  args: [{
5252
5240
  imports: [COMMON_DIRECTIVES, COMMON_PIPES],
@@ -5279,7 +5267,7 @@ function isPlatformServer(platformId) {
5279
5267
  /**
5280
5268
  * @publicApi
5281
5269
  */
5282
- const VERSION = new Version('19.2.0-next.0');
5270
+ const VERSION = new Version('19.2.0-next.1');
5283
5271
 
5284
5272
  /**
5285
5273
  * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
@@ -5897,10 +5885,10 @@ class LCPImageObserver {
5897
5885
  this.observer.disconnect();
5898
5886
  this.images.clear();
5899
5887
  }
5900
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5901
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
5888
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5889
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
5902
5890
  }
5903
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: LCPImageObserver, decorators: [{
5891
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: LCPImageObserver, decorators: [{
5904
5892
  type: Injectable,
5905
5893
  args: [{ providedIn: 'root' }]
5906
5894
  }], ctorParameters: () => [] });
@@ -5949,7 +5937,6 @@ const PRECONNECT_CHECK_BLOCKLIST = new InjectionToken(ngDevMode ? 'PRECONNECT_CH
5949
5937
  */
5950
5938
  class PreconnectLinkChecker {
5951
5939
  document = inject(DOCUMENT);
5952
- isServer = isPlatformServer(inject(PLATFORM_ID));
5953
5940
  /**
5954
5941
  * Set of <link rel="preconnect"> tags found on this page.
5955
5942
  * The `null` value indicates that there was no DOM query operation performed.
@@ -5959,14 +5946,10 @@ class PreconnectLinkChecker {
5959
5946
  * Keep track of all already seen origin URLs to avoid repeating the same check.
5960
5947
  */
5961
5948
  alreadySeen = new Set();
5962
- window = null;
5949
+ window = this.document.defaultView;
5963
5950
  blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);
5964
5951
  constructor() {
5965
5952
  assertDevMode('preconnect link checker');
5966
- const win = this.document.defaultView;
5967
- if (typeof win !== 'undefined') {
5968
- this.window = win;
5969
- }
5970
5953
  const blocklist = inject(PRECONNECT_CHECK_BLOCKLIST, { optional: true });
5971
5954
  if (blocklist) {
5972
5955
  this.populateBlocklist(blocklist);
@@ -5990,7 +5973,7 @@ class PreconnectLinkChecker {
5990
5973
  * @param originalNgSrc ngSrc value
5991
5974
  */
5992
5975
  assertPreconnect(rewrittenSrc, originalNgSrc) {
5993
- if (this.isServer)
5976
+ if (typeof ngServerMode !== 'undefined' && ngServerMode)
5994
5977
  return;
5995
5978
  const imgUrl = getUrl(rewrittenSrc, this.window);
5996
5979
  if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin))
@@ -6024,10 +6007,10 @@ class PreconnectLinkChecker {
6024
6007
  this.preconnectLinks?.clear();
6025
6008
  this.alreadySeen.clear();
6026
6009
  }
6027
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6028
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
6010
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6011
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
6029
6012
  }
6030
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
6013
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
6031
6014
  type: Injectable,
6032
6015
  args: [{ providedIn: 'root' }]
6033
6016
  }], ctorParameters: () => [] });
@@ -6114,10 +6097,10 @@ class PreloadLinkCreator {
6114
6097
  }
6115
6098
  renderer.appendChild(this.document.head, preload);
6116
6099
  }
6117
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6118
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
6100
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6101
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
6119
6102
  }
6120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: PreloadLinkCreator, decorators: [{
6103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: PreloadLinkCreator, decorators: [{
6121
6104
  type: Injectable,
6122
6105
  args: [{ providedIn: 'root' }]
6123
6106
  }] });
@@ -6321,8 +6304,6 @@ class NgOptimizedImage {
6321
6304
  renderer = inject(Renderer2);
6322
6305
  imgElement = inject(ElementRef).nativeElement;
6323
6306
  injector = inject(Injector);
6324
- isServer = isPlatformServer(inject(PLATFORM_ID));
6325
- preloadLinkCreator = inject(PreloadLinkCreator);
6326
6307
  // An LCP image observer should be injected only in development mode.
6327
6308
  // Do not assign it to `null` to avoid having a redundant property in the production bundle.
6328
6309
  lcpObserver;
@@ -6473,7 +6454,7 @@ class NgOptimizedImage {
6473
6454
  if (this.priority) {
6474
6455
  const checker = this.injector.get(PreconnectLinkChecker);
6475
6456
  checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc);
6476
- if (!this.isServer) {
6457
+ if (typeof ngServerMode !== 'undefined' && !ngServerMode) {
6477
6458
  const applicationRef = this.injector.get(ApplicationRef);
6478
6459
  assetPriorityCountBelowThreshold(applicationRef);
6479
6460
  }
@@ -6517,8 +6498,9 @@ class NgOptimizedImage {
6517
6498
  this.setHostAttribute('sizes', 'auto, 100vw');
6518
6499
  }
6519
6500
  }
6520
- if (this.isServer && this.priority) {
6521
- this.preloadLinkCreator.createPreloadLinkTag(this.renderer, this.getRewrittenSrc(), rewrittenSrcset, this.sizes);
6501
+ if (typeof ngServerMode !== 'undefined' && ngServerMode && this.priority) {
6502
+ const preloadLinkCreator = this.injector.get(PreloadLinkCreator);
6503
+ preloadLinkCreator.createPreloadLinkTag(this.renderer, this.getRewrittenSrc(), rewrittenSrcset, this.sizes);
6522
6504
  }
6523
6505
  }
6524
6506
  /** @nodoc */
@@ -6549,7 +6531,10 @@ class NgOptimizedImage {
6549
6531
  }
6550
6532
  }
6551
6533
  }
6552
- if (ngDevMode && changes['placeholder']?.currentValue && !this.isServer) {
6534
+ if (ngDevMode &&
6535
+ changes['placeholder']?.currentValue &&
6536
+ typeof ngServerMode !== 'undefined' &&
6537
+ !ngServerMode) {
6553
6538
  assertPlaceholderDimensions(this, this.imgElement);
6554
6539
  }
6555
6540
  }
@@ -6693,10 +6678,10 @@ class NgOptimizedImage {
6693
6678
  setHostAttribute(name, value) {
6694
6679
  this.renderer.setAttribute(this.imgElement, name, value);
6695
6680
  }
6696
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6697
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.0-next.0", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: ["ngSrc", "ngSrc", unwrapSafeUrl], ngSrcset: "ngSrcset", sizes: "sizes", width: ["width", "width", numberAttribute], height: ["height", "height", numberAttribute], loading: "loading", priority: ["priority", "priority", booleanAttribute], loaderParams: "loaderParams", disableOptimizedSrcset: ["disableOptimizedSrcset", "disableOptimizedSrcset", booleanAttribute], fill: ["fill", "fill", booleanAttribute], placeholder: ["placeholder", "placeholder", booleanOrUrlAttribute], placeholderConfig: "placeholderConfig", src: "src", srcset: "srcset" }, host: { properties: { "style.position": "fill ? \"absolute\" : null", "style.width": "fill ? \"100%\" : null", "style.height": "fill ? \"100%\" : null", "style.inset": "fill ? \"0\" : null", "style.background-size": "placeholder ? \"cover\" : null", "style.background-position": "placeholder ? \"50% 50%\" : null", "style.background-repeat": "placeholder ? \"no-repeat\" : null", "style.background-image": "placeholder ? generatePlaceholder(placeholder) : null", "style.filter": "placeholder && shouldBlurPlaceholder(placeholderConfig) ? \"blur(15px)\" : null" } }, usesOnChanges: true, ngImport: i0 });
6681
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6682
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.0-next.1", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: ["ngSrc", "ngSrc", unwrapSafeUrl], ngSrcset: "ngSrcset", sizes: "sizes", width: ["width", "width", numberAttribute], height: ["height", "height", numberAttribute], loading: "loading", priority: ["priority", "priority", booleanAttribute], loaderParams: "loaderParams", disableOptimizedSrcset: ["disableOptimizedSrcset", "disableOptimizedSrcset", booleanAttribute], fill: ["fill", "fill", booleanAttribute], placeholder: ["placeholder", "placeholder", booleanOrUrlAttribute], placeholderConfig: "placeholderConfig", src: "src", srcset: "srcset" }, host: { properties: { "style.position": "fill ? \"absolute\" : null", "style.width": "fill ? \"100%\" : null", "style.height": "fill ? \"100%\" : null", "style.inset": "fill ? \"0\" : null", "style.background-size": "placeholder ? \"cover\" : null", "style.background-position": "placeholder ? \"50% 50%\" : null", "style.background-repeat": "placeholder ? \"no-repeat\" : null", "style.background-image": "placeholder ? generatePlaceholder(placeholder) : null", "style.filter": "placeholder && shouldBlurPlaceholder(placeholderConfig) ? \"blur(15px)\" : null" } }, usesOnChanges: true, ngImport: i0 });
6698
6683
  }
6699
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.0", ngImport: i0, type: NgOptimizedImage, decorators: [{
6684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: NgOptimizedImage, decorators: [{
6700
6685
  type: Directive,
6701
6686
  args: [{
6702
6687
  selector: 'img[ngSrc]',