@angular/common 21.2.0-rc.0 → 21.2.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 v21.2.0-rc.0
2
+ * @license Angular v21.2.1
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -22,7 +22,7 @@ class PlatformLocation {
22
22
  }
23
23
  static ɵfac = i0.ɵɵngDeclareFactory({
24
24
  minVersion: "12.0.0",
25
- version: "21.2.0-rc.0",
25
+ version: "21.2.1",
26
26
  ngImport: i0,
27
27
  type: PlatformLocation,
28
28
  deps: [],
@@ -30,7 +30,7 @@ class PlatformLocation {
30
30
  });
31
31
  static ɵprov = i0.ɵɵngDeclareInjectable({
32
32
  minVersion: "12.0.0",
33
- version: "21.2.0-rc.0",
33
+ version: "21.2.1",
34
34
  ngImport: i0,
35
35
  type: PlatformLocation,
36
36
  providedIn: 'platform',
@@ -39,7 +39,7 @@ class PlatformLocation {
39
39
  }
40
40
  i0.ɵɵngDeclareClassMetadata({
41
41
  minVersion: "12.0.0",
42
- version: "21.2.0-rc.0",
42
+ version: "21.2.1",
43
43
  ngImport: i0,
44
44
  type: PlatformLocation,
45
45
  decorators: [{
@@ -117,7 +117,7 @@ class BrowserPlatformLocation extends PlatformLocation {
117
117
  }
118
118
  static ɵfac = i0.ɵɵngDeclareFactory({
119
119
  minVersion: "12.0.0",
120
- version: "21.2.0-rc.0",
120
+ version: "21.2.1",
121
121
  ngImport: i0,
122
122
  type: BrowserPlatformLocation,
123
123
  deps: [],
@@ -125,7 +125,7 @@ class BrowserPlatformLocation extends PlatformLocation {
125
125
  });
126
126
  static ɵprov = i0.ɵɵngDeclareInjectable({
127
127
  minVersion: "12.0.0",
128
- version: "21.2.0-rc.0",
128
+ version: "21.2.1",
129
129
  ngImport: i0,
130
130
  type: BrowserPlatformLocation,
131
131
  providedIn: 'platform',
@@ -134,7 +134,7 @@ class BrowserPlatformLocation extends PlatformLocation {
134
134
  }
135
135
  i0.ɵɵngDeclareClassMetadata({
136
136
  minVersion: "12.0.0",
137
- version: "21.2.0-rc.0",
137
+ version: "21.2.1",
138
138
  ngImport: i0,
139
139
  type: BrowserPlatformLocation,
140
140
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"_platform_location-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/dom_adapter.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/location/platform_location.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nlet _DOM: DomAdapter = null!;\n\nexport function getDOM(): DomAdapter {\n return _DOM;\n}\n\nexport function setRootDomAdapter(adapter: DomAdapter) {\n _DOM ??= adapter;\n}\n\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\nexport abstract class DomAdapter {\n // Needs Domino-friendly test utility\n abstract dispatchEvent(el: any, evt: any): any;\n abstract readonly supportsDOMEvents: boolean;\n\n // Used by Meta\n abstract remove(el: any): void;\n abstract createElement(tagName: any, doc?: any): HTMLElement;\n abstract createHtmlDocument(): Document;\n abstract getDefaultDocument(): Document;\n\n // Used by By.css\n abstract isElementNode(node: any): boolean;\n\n // Used by Testability\n abstract isShadowRoot(node: any): boolean;\n\n // Used by KeyEventsPlugin\n abstract onAndCancel(el: any, evt: any, listener: any, options?: any): Function;\n\n // Used by PlatformLocation and ServerEventManagerPlugin\n abstract getGlobalEventTarget(doc: Document, target: string): any;\n\n // Used by PlatformLocation\n abstract getBaseHref(doc: Document): string | null;\n abstract resetBaseElement(): void;\n\n // TODO: remove dependency in DefaultValueAccessor\n abstract getUserAgent(): string;\n\n // Used in the legacy @angular/http package which has some usage in g3.\n abstract getCookie(name: string): string | null;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, Injectable, InjectionToken, DOCUMENT} from '@angular/core';\n\nimport {getDOM} from '../dom_adapter';\n\n/**\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * `PlatformLocation` encapsulates all calls to DOM APIs, which allows the Router to be\n * platform-agnostic.\n * This means that we can have different implementation of `PlatformLocation` for the different\n * platforms that Angular supports. For example, `@angular/platform-browser` provides an\n * implementation specific to the browser environment, while `@angular/platform-server` provides\n * one suitable for use with server-side rendering.\n *\n * The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}\n * when they need to interact with the DOM APIs like pushState, popState, etc.\n *\n * {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly\n * by the {@link /api/router/Router Router} in order to navigate between routes. Since all interactions between\n * {@link /api/router/Router Router} /\n * {@link Location} / {@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`\n * class, they are all platform-agnostic.\n *\n * @publicApi\n */\n@Injectable({providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation)})\nexport abstract class PlatformLocation {\n abstract getBaseHrefFromDOM(): string;\n abstract getState(): unknown;\n /**\n * Returns a function that, when executed, removes the `popstate` event handler.\n */\n abstract onPopState(fn: LocationChangeListener): VoidFunction;\n /**\n * Returns a function that, when executed, removes the `hashchange` event handler.\n */\n abstract onHashChange(fn: LocationChangeListener): VoidFunction;\n\n abstract get href(): string;\n abstract get protocol(): string;\n abstract get hostname(): string;\n abstract get port(): string;\n abstract get pathname(): string;\n abstract get search(): string;\n abstract get hash(): string;\n\n abstract replaceState(state: any, title: string, url: string): void;\n\n abstract pushState(state: any, title: string, url: string): void;\n\n abstract forward(): void;\n\n abstract back(): void;\n\n historyGo?(relativePosition: number): void {\n throw new Error(ngDevMode ? 'Not implemented' : '');\n }\n}\n\n/**\n * @description\n * Indicates when a location is initialized.\n *\n * @publicApi\n */\nexport const LOCATION_INITIALIZED = new InjectionToken<Promise<any>>(\n typeof ngDevMode !== 'undefined' && ngDevMode ? 'Location Initialized' : '',\n);\n\n/**\n * @description\n * A serializable version of the event from `onPopState` or `onHashChange`\n *\n * @publicApi\n */\nexport interface LocationChangeEvent {\n type: string;\n state: any;\n}\n\n/**\n * @publicApi\n */\nexport interface LocationChangeListener {\n (event: LocationChangeEvent): any;\n}\n\n/**\n * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * @publicApi\n */\n@Injectable({\n providedIn: 'platform',\n useFactory: () => new BrowserPlatformLocation(),\n})\nexport class BrowserPlatformLocation extends PlatformLocation {\n private _location: Location;\n private _history: History;\n private _doc = inject(DOCUMENT);\n\n constructor() {\n super();\n this._location = window.location;\n this._history = window.history;\n }\n\n override getBaseHrefFromDOM(): string {\n return getDOM().getBaseHref(this._doc)!;\n }\n\n override onPopState(fn: LocationChangeListener): VoidFunction {\n const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n window.addEventListener('popstate', fn, false);\n return () => window.removeEventListener('popstate', fn);\n }\n\n override onHashChange(fn: LocationChangeListener): VoidFunction {\n const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n window.addEventListener('hashchange', fn, false);\n return () => window.removeEventListener('hashchange', fn);\n }\n\n override get href(): string {\n return this._location.href;\n }\n override get protocol(): string {\n return this._location.protocol;\n }\n override get hostname(): string {\n return this._location.hostname;\n }\n override get port(): string {\n return this._location.port;\n }\n override get pathname(): string {\n return this._location.pathname;\n }\n override get search(): string {\n return this._location.search;\n }\n override get hash(): string {\n return this._location.hash;\n }\n override set pathname(newPath: string) {\n this._location.pathname = newPath;\n }\n\n override pushState(state: any, title: string, url: string): void {\n this._history.pushState(state, title, url);\n }\n\n override replaceState(state: any, title: string, url: string): void {\n this._history.replaceState(state, title, url);\n }\n\n override forward(): void {\n this._history.forward();\n }\n\n override back(): void {\n this._history.back();\n }\n\n override historyGo(relativePosition: number = 0): void {\n this._history.go(relativePosition);\n }\n\n override getState(): unknown {\n return this._history.state;\n }\n}\n"],"names":["_DOM","getDOM","setRootDomAdapter","adapter","DomAdapter","PlatformLocation","historyGo","relativePosition","Error","ngDevMode","deps","target","i0","ɵɵFactoryTarget","Injectable","providedIn","useFactory","inject","BrowserPlatformLocation","decorators","args","LOCATION_INITIALIZED","InjectionToken","_location","_history","_doc","DOCUMENT","constructor","window","location","history","getBaseHrefFromDOM","getBaseHref","onPopState","fn","getGlobalEventTarget","addEventListener","removeEventListener","onHashChange","href","protocol","hostname","port","pathname","search","hash","newPath","pushState","state","title","url","replaceState","forward","back","go","getState"],"mappings":";;;;;;;;;AAQA,IAAIA,IAAI,GAAe,IAAK;SAEZC,MAAMA,GAAA;AACpB,EAAA,OAAOD,IAAI;AACb;AAEM,SAAUE,iBAAiBA,CAACC,OAAmB,EAAA;AACnDH,EAAAA,IAAI,KAAKG,OAAO;AAClB;MAQsBC,UAAU,CAAA;;MCWVC,gBAAgB,CAAA;EA4BpCC,SAASA,CAAEC,gBAAwB,EAAA;IACjC,MAAM,IAAIC,KAAK,CAACC,SAAS,GAAG,iBAAiB,GAAG,EAAE,CAAC;AACrD;;;;;UA9BoBJ,gBAAgB;AAAAK,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAhBT,gBAAgB;AAAAU,IAAAA,UAAA,EADb,UAAU;AAAcC,IAAAA,UAAA,EAAAA,MAAMC,MAAM,CAACC,uBAAuB;AAAC,GAAA,CAAA;;;;;;QAChEb,gBAAgB;AAAAc,EAAAA,UAAA,EAAA,CAAA;UADrCL,UAAU;AAACM,IAAAA,IAAA,EAAA,CAAA;AAACL,MAAAA,UAAU,EAAE,UAAU;AAAEC,MAAAA,UAAU,EAAEA,MAAMC,MAAM,CAACC,uBAAuB;KAAE;;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AC5B;;;;;UA1EW9B,uBAAuB;AAAAR,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAvBI,uBAAuB;AAAAH,IAAAA,UAAA,EAHtB,UAAU;AACVC,IAAAA,UAAA,EAAAA,MAAM,IAAIE,uBAAuB;AAAE,GAAA,CAAA;;;;;;QAEpCA,uBAAuB;AAAAC,EAAAA,UAAA,EAAA,CAAA;UAJnCL,UAAU;AAACM,IAAAA,IAAA,EAAA,CAAA;AACVL,MAAAA,UAAU,EAAE,UAAU;AACtBC,MAAAA,UAAU,EAAEA,MAAM,IAA6BE,uBAAA;KAChD;;;;;;;"}
1
+ {"version":3,"file":"_platform_location-chunk.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/dom_adapter.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/location/platform_location.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nlet _DOM: DomAdapter = null!;\n\nexport function getDOM(): DomAdapter {\n return _DOM;\n}\n\nexport function setRootDomAdapter(adapter: DomAdapter) {\n _DOM ??= adapter;\n}\n\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\nexport abstract class DomAdapter {\n // Needs Domino-friendly test utility\n abstract dispatchEvent(el: any, evt: any): any;\n abstract readonly supportsDOMEvents: boolean;\n\n // Used by Meta\n abstract remove(el: any): void;\n abstract createElement(tagName: any, doc?: any): HTMLElement;\n abstract createHtmlDocument(): Document;\n abstract getDefaultDocument(): Document;\n\n // Used by By.css\n abstract isElementNode(node: any): boolean;\n\n // Used by Testability\n abstract isShadowRoot(node: any): boolean;\n\n // Used by KeyEventsPlugin\n abstract onAndCancel(el: any, evt: any, listener: any, options?: any): Function;\n\n // Used by PlatformLocation and ServerEventManagerPlugin\n abstract getGlobalEventTarget(doc: Document, target: string): any;\n\n // Used by PlatformLocation\n abstract getBaseHref(doc: Document): string | null;\n abstract resetBaseElement(): void;\n\n // TODO: remove dependency in DefaultValueAccessor\n abstract getUserAgent(): string;\n\n // Used in the legacy @angular/http package which has some usage in g3.\n abstract getCookie(name: string): string | null;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, Injectable, InjectionToken, DOCUMENT} from '@angular/core';\n\nimport {getDOM} from '../dom_adapter';\n\n/**\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * `PlatformLocation` encapsulates all calls to DOM APIs, which allows the Router to be\n * platform-agnostic.\n * This means that we can have different implementation of `PlatformLocation` for the different\n * platforms that Angular supports. For example, `@angular/platform-browser` provides an\n * implementation specific to the browser environment, while `@angular/platform-server` provides\n * one suitable for use with server-side rendering.\n *\n * The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}\n * when they need to interact with the DOM APIs like pushState, popState, etc.\n *\n * {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly\n * by the {@link /api/router/Router Router} in order to navigate between routes. Since all interactions between\n * {@link /api/router/Router Router} /\n * {@link Location} / {@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`\n * class, they are all platform-agnostic.\n *\n * @publicApi\n */\n@Injectable({providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation)})\nexport abstract class PlatformLocation {\n abstract getBaseHrefFromDOM(): string;\n abstract getState(): unknown;\n /**\n * Returns a function that, when executed, removes the `popstate` event handler.\n */\n abstract onPopState(fn: LocationChangeListener): VoidFunction;\n /**\n * Returns a function that, when executed, removes the `hashchange` event handler.\n */\n abstract onHashChange(fn: LocationChangeListener): VoidFunction;\n\n abstract get href(): string;\n abstract get protocol(): string;\n abstract get hostname(): string;\n abstract get port(): string;\n abstract get pathname(): string;\n abstract get search(): string;\n abstract get hash(): string;\n\n abstract replaceState(state: any, title: string, url: string): void;\n\n abstract pushState(state: any, title: string, url: string): void;\n\n abstract forward(): void;\n\n abstract back(): void;\n\n historyGo?(relativePosition: number): void {\n throw new Error(ngDevMode ? 'Not implemented' : '');\n }\n}\n\n/**\n * @description\n * Indicates when a location is initialized.\n *\n * @publicApi\n */\nexport const LOCATION_INITIALIZED = new InjectionToken<Promise<any>>(\n typeof ngDevMode !== 'undefined' && ngDevMode ? 'Location Initialized' : '',\n);\n\n/**\n * @description\n * A serializable version of the event from `onPopState` or `onHashChange`\n *\n * @publicApi\n */\nexport interface LocationChangeEvent {\n type: string;\n state: any;\n}\n\n/**\n * @publicApi\n */\nexport interface LocationChangeListener {\n (event: LocationChangeEvent): any;\n}\n\n/**\n * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * @publicApi\n */\n@Injectable({\n providedIn: 'platform',\n useFactory: () => new BrowserPlatformLocation(),\n})\nexport class BrowserPlatformLocation extends PlatformLocation {\n private _location: Location;\n private _history: History;\n private _doc = inject(DOCUMENT);\n\n constructor() {\n super();\n this._location = window.location;\n this._history = window.history;\n }\n\n override getBaseHrefFromDOM(): string {\n return getDOM().getBaseHref(this._doc)!;\n }\n\n override onPopState(fn: LocationChangeListener): VoidFunction {\n const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n window.addEventListener('popstate', fn, false);\n return () => window.removeEventListener('popstate', fn);\n }\n\n override onHashChange(fn: LocationChangeListener): VoidFunction {\n const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n window.addEventListener('hashchange', fn, false);\n return () => window.removeEventListener('hashchange', fn);\n }\n\n override get href(): string {\n return this._location.href;\n }\n override get protocol(): string {\n return this._location.protocol;\n }\n override get hostname(): string {\n return this._location.hostname;\n }\n override get port(): string {\n return this._location.port;\n }\n override get pathname(): string {\n return this._location.pathname;\n }\n override get search(): string {\n return this._location.search;\n }\n override get hash(): string {\n return this._location.hash;\n }\n override set pathname(newPath: string) {\n this._location.pathname = newPath;\n }\n\n override pushState(state: any, title: string, url: string): void {\n this._history.pushState(state, title, url);\n }\n\n override replaceState(state: any, title: string, url: string): void {\n this._history.replaceState(state, title, url);\n }\n\n override forward(): void {\n this._history.forward();\n }\n\n override back(): void {\n this._history.back();\n }\n\n override historyGo(relativePosition: number = 0): void {\n this._history.go(relativePosition);\n }\n\n override getState(): unknown {\n return this._history.state;\n }\n}\n"],"names":["_DOM","getDOM","setRootDomAdapter","adapter","DomAdapter","PlatformLocation","historyGo","relativePosition","Error","ngDevMode","deps","target","i0","ɵɵFactoryTarget","Injectable","providedIn","useFactory","inject","BrowserPlatformLocation","decorators","args","LOCATION_INITIALIZED","InjectionToken","_location","_history","_doc","DOCUMENT","constructor","window","location","history","getBaseHrefFromDOM","getBaseHref","onPopState","fn","getGlobalEventTarget","addEventListener","removeEventListener","onHashChange","href","protocol","hostname","port","pathname","search","hash","newPath","pushState","state","title","url","replaceState","forward","back","go","getState"],"mappings":";;;;;;;;;AAQA,IAAIA,IAAI,GAAe,IAAK;SAEZC,MAAMA,GAAA;AACpB,EAAA,OAAOD,IAAI;AACb;AAEM,SAAUE,iBAAiBA,CAACC,OAAmB,EAAA;AACnDH,EAAAA,IAAI,KAAKG,OAAO;AAClB;MAQsBC,UAAU,CAAA;;MCWVC,gBAAgB,CAAA;EA4BpCC,SAASA,CAAEC,gBAAwB,EAAA;IACjC,MAAM,IAAIC,KAAK,CAACC,SAAS,GAAG,iBAAiB,GAAG,EAAE,CAAC;AACrD;;;;;UA9BoBJ,gBAAgB;AAAAK,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAhBT,gBAAgB;AAAAU,IAAAA,UAAA,EADb,UAAU;AAAcC,IAAAA,UAAA,EAAAA,MAAMC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,CAAC6B,IAAI,EAAE;AACtB;AAES/C,EAAAA,SAASA,CAACC,mBAA2B,CAAC,EAAA;AAC7C,IAAA,IAAI,CAACiB,QAAQ,CAAC8B,EAAE,CAAC/C,gBAAgB,CAAC;AACpC;AAESgD,EAAAA,QAAQA,GAAA;AACf,IAAA,OAAO,IAAI,CAAC/B,QAAQ,CAACwB,KAAK;AAC5B;;;;;UA1EW9B,uBAAuB;AAAAR,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAvBI,uBAAuB;AAAAH,IAAAA,UAAA,EAHtB,UAAU;AACVC,IAAAA,UAAA,EAAAA,MAAM,IAAIE,uBAAuB;AAAE,GAAA,CAAA;;;;;;QAEpCA,uBAAuB;AAAAC,EAAAA,UAAA,EAAA,CAAA;UAJnCL,UAAU;AAACM,IAAAA,IAAA,EAAA,CAAA;AACVL,MAAAA,UAAU,EAAE,UAAU;AACtBC,MAAAA,UAAU,EAAEA,MAAM,IAA6BE,uBAAA;KAChD;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-rc.0
2
+ * @license Angular v21.2.1
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -15,7 +15,7 @@ const PRECOMMIT_HANDLER_SUPPORTED = new InjectionToken('', {
15
15
  class PlatformNavigation {
16
16
  static ɵfac = i0.ɵɵngDeclareFactory({
17
17
  minVersion: "12.0.0",
18
- version: "21.2.0-rc.0",
18
+ version: "21.2.1",
19
19
  ngImport: i0,
20
20
  type: PlatformNavigation,
21
21
  deps: [],
@@ -23,7 +23,7 @@ class PlatformNavigation {
23
23
  });
24
24
  static ɵprov = i0.ɵɵngDeclareInjectable({
25
25
  minVersion: "12.0.0",
26
- version: "21.2.0-rc.0",
26
+ version: "21.2.1",
27
27
  ngImport: i0,
28
28
  type: PlatformNavigation,
29
29
  providedIn: 'platform',
@@ -32,7 +32,7 @@ class PlatformNavigation {
32
32
  }
33
33
  i0.ɵɵngDeclareClassMetadata({
34
34
  minVersion: "12.0.0",
35
- version: "21.2.0-rc.0",
35
+ version: "21.2.1",
36
36
  ngImport: i0,
37
37
  type: PlatformNavigation,
38
38
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"_platform_navigation-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/navigation/platform_navigation.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n Injectable,\n InjectionToken,\n ɵNavigateEvent as NavigateEvent,\n ɵNavigation as Navigation,\n ɵNavigationCurrentEntryChangeEvent as NavigationCurrentEntryChangeEvent,\n ɵNavigationHistoryEntry as NavigationHistoryEntry,\n ɵNavigationNavigateOptions as NavigationNavigateOptions,\n ɵNavigationOptions as NavigationOptions,\n ɵNavigationReloadOptions as NavigationReloadOptions,\n ɵNavigationResult as NavigationResult,\n ɵNavigationTransition as NavigationTransition,\n ɵNavigationUpdateCurrentEntryOptions as NavigationUpdateCurrentEntryOptions,\n} from '@angular/core';\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/API/NavigationPrecommitController\n * @see https://developer.mozilla.org/en-US/docs/Web/API/NavigateEvent/intercept#precommithandler\n */\nexport const PRECOMMIT_HANDLER_SUPPORTED = new InjectionToken<boolean>('', {\n factory: () => {\n return (\n typeof window !== 'undefined' &&\n typeof (window as any).NavigationPrecommitController !== 'undefined'\n );\n },\n});\n\n/**\n * This class wraps the platform Navigation API which allows server-specific and test\n * implementations.\n *\n * Browser support is limited, so this API may not be available in all environments,\n * may contain bugs, and is experimental.\n *\n * @experimental 21.0.0\n */\n@Injectable({providedIn: 'platform', useFactory: () => (window as any).navigation})\nexport abstract class PlatformNavigation implements Navigation {\n abstract entries(): NavigationHistoryEntry[];\n abstract currentEntry: NavigationHistoryEntry | null;\n abstract updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;\n abstract transition: NavigationTransition | null;\n abstract canGoBack: boolean;\n abstract canGoForward: boolean;\n abstract navigate(url: string, options?: NavigationNavigateOptions | undefined): NavigationResult;\n abstract reload(options?: NavigationReloadOptions | undefined): NavigationResult;\n abstract traverseTo(key: string, options?: NavigationOptions | undefined): NavigationResult;\n abstract back(options?: NavigationOptions | undefined): NavigationResult;\n abstract forward(options?: NavigationOptions | undefined): NavigationResult;\n abstract onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;\n abstract onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;\n abstract onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;\n abstract oncurrententrychange:\n | ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any)\n | null;\n abstract addEventListener(type: unknown, listener: unknown, options?: unknown): void;\n abstract removeEventListener(type: unknown, listener: unknown, options?: unknown): void;\n abstract dispatchEvent(event: Event): boolean;\n}\n"],"names":["PRECOMMIT_HANDLER_SUPPORTED","InjectionToken","factory","window","NavigationPrecommitController","PlatformNavigation","deps","target","i0","ɵɵFactoryTarget","Injectable","providedIn","useFactory","navigation","decorators","args"],"mappings":";;;;;;;;;MA2BaA,2BAA2B,GAAG,IAAIC,cAAc,CAAU,EAAE,EAAE;EACzEC,OAAO,EAAEA,MAAK;IACZ,OACE,OAAOC,MAAM,KAAK,WAAW,IAC7B,OAAQA,MAAc,CAACC,6BAA6B,KAAK,WAAW;AAExE;AACD,CAAA;MAYqBC,kBAAkB,CAAA;;;;;UAAlBA,kBAAkB;AAAAC,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAlBL,kBAAkB;AAAAM,IAAAA,UAAA,EADf,UAAU;AAAcC,IAAAA,UAAA,EAAAA,MAAOT,MAAc,CAACU;AAAU,GAAA,CAAA;;;;;;QAC3DR,kBAAkB;AAAAS,EAAAA,UAAA,EAAA,CAAA;UADvCJ,UAAU;AAACK,IAAAA,IAAA,EAAA,CAAA;AAACJ,MAAAA,UAAU,EAAE,UAAU;AAAEC,MAAAA,UAAU,EAAEA,MAAOT,MAAc,CAACU;KAAW;;;;;;"}
1
+ {"version":3,"file":"_platform_navigation-chunk.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/navigation/platform_navigation.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n Injectable,\n InjectionToken,\n ɵNavigateEvent as NavigateEvent,\n ɵNavigation as Navigation,\n ɵNavigationCurrentEntryChangeEvent as NavigationCurrentEntryChangeEvent,\n ɵNavigationHistoryEntry as NavigationHistoryEntry,\n ɵNavigationNavigateOptions as NavigationNavigateOptions,\n ɵNavigationOptions as NavigationOptions,\n ɵNavigationReloadOptions as NavigationReloadOptions,\n ɵNavigationResult as NavigationResult,\n ɵNavigationTransition as NavigationTransition,\n ɵNavigationUpdateCurrentEntryOptions as NavigationUpdateCurrentEntryOptions,\n} from '@angular/core';\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/API/NavigationPrecommitController\n * @see https://developer.mozilla.org/en-US/docs/Web/API/NavigateEvent/intercept#precommithandler\n */\nexport const PRECOMMIT_HANDLER_SUPPORTED = new InjectionToken<boolean>('', {\n factory: () => {\n return (\n typeof window !== 'undefined' &&\n typeof (window as any).NavigationPrecommitController !== 'undefined'\n );\n },\n});\n\n/**\n * This class wraps the platform Navigation API which allows server-specific and test\n * implementations.\n *\n * Browser support is limited, so this API may not be available in all environments,\n * may contain bugs, and is experimental.\n *\n * @experimental 21.0.0\n */\n@Injectable({providedIn: 'platform', useFactory: () => (window as any).navigation})\nexport abstract class PlatformNavigation implements Navigation {\n abstract entries(): NavigationHistoryEntry[];\n abstract currentEntry: NavigationHistoryEntry | null;\n abstract updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;\n abstract transition: NavigationTransition | null;\n abstract canGoBack: boolean;\n abstract canGoForward: boolean;\n abstract navigate(url: string, options?: NavigationNavigateOptions | undefined): NavigationResult;\n abstract reload(options?: NavigationReloadOptions | undefined): NavigationResult;\n abstract traverseTo(key: string, options?: NavigationOptions | undefined): NavigationResult;\n abstract back(options?: NavigationOptions | undefined): NavigationResult;\n abstract forward(options?: NavigationOptions | undefined): NavigationResult;\n abstract onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;\n abstract onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;\n abstract onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;\n abstract oncurrententrychange:\n | ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any)\n | null;\n abstract addEventListener(type: unknown, listener: unknown, options?: unknown): void;\n abstract removeEventListener(type: unknown, listener: unknown, options?: unknown): void;\n abstract dispatchEvent(event: Event): boolean;\n}\n"],"names":["PRECOMMIT_HANDLER_SUPPORTED","InjectionToken","factory","window","NavigationPrecommitController","PlatformNavigation","deps","target","i0","ɵɵFactoryTarget","Injectable","providedIn","useFactory","navigation","decorators","args"],"mappings":";;;;;;;;;MA2BaA,2BAA2B,GAAG,IAAIC,cAAc,CAAU,EAAE,EAAE;EACzEC,OAAO,EAAEA,MAAK;IACZ,OACE,OAAOC,MAAM,KAAK,WAAW,IAC7B,OAAQA,MAAc,CAACC,6BAA6B,KAAK,WAAW;AAExE;AACD,CAAA;MAYqBC,kBAAkB,CAAA;;;;;UAAlBA,kBAAkB;AAAAC,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAlBL,kBAAkB;AAAAM,IAAAA,UAAA,EADf,UAAU;AAAcC,IAAAA,UAAA,EAAAA,MAAOT,MAAc,CAACU;AAAU,GAAA,CAAA;;;;;;QAC3DR,kBAAkB;AAAAS,EAAAA,UAAA,EAAA,CAAA;UADvCJ,UAAU;AAACK,IAAAA,IAAA,EAAA,CAAA;AAACJ,MAAAA,UAAU,EAAE,UAAU;AAAEC,MAAAA,UAAU,EAAEA,MAAOT,MAAc,CAACU;KAAW;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-rc.0
2
+ * @license Angular v21.2.1
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"_xhr-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/cookie.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/xhr.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport function parseCookieValue(cookieStr: string, name: string): string | null {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue]: string[] =\n eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n */\nexport abstract class XhrFactory {\n abstract build(): XMLHttpRequest;\n}\n"],"names":["parseCookieValue","cookieStr","name","encodeURIComponent","cookie","split","eqIndex","indexOf","cookieName","cookieValue","slice","trim","decodeURIComponent","XhrFactory"],"mappings":";;;;;;AAQgB,SAAAA,gBAAgBA,CAACC,SAAiB,EAAEC,IAAY,EAAA;AAC9DA,EAAAA,IAAI,GAAGC,kBAAkB,CAACD,IAAI,CAAC;EAC/B,KAAK,MAAME,MAAM,IAAIH,SAAS,CAACI,KAAK,CAAC,GAAG,CAAC,EAAE;AACzC,IAAA,MAAMC,OAAO,GAAGF,MAAM,CAACG,OAAO,CAAC,GAAG,CAAC;AACnC,IAAA,MAAM,CAACC,UAAU,EAAEC,WAAW,CAAC,GAC7BH,OAAO,IAAI,CAAC,CAAC,GAAG,CAACF,MAAM,EAAE,EAAE,CAAC,GAAG,CAACA,MAAM,CAACM,KAAK,CAAC,CAAC,EAAEJ,OAAO,CAAC,EAAEF,MAAM,CAACM,KAAK,CAACJ,OAAO,GAAG,CAAC,CAAC,CAAC;AACtF,IAAA,IAAIE,UAAU,CAACG,IAAI,EAAE,KAAKT,IAAI,EAAE;MAC9B,OAAOU,kBAAkB,CAACH,WAAW,CAAC;AACxC;AACF;AACA,EAAA,OAAO,IAAI;AACb;;MCNsBI,UAAU,CAAA;;;;"}
1
+ {"version":3,"file":"_xhr-chunk.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/cookie.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/common/src/xhr.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport function parseCookieValue(cookieStr: string, name: string): string | null {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue]: string[] =\n eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n */\nexport abstract class XhrFactory {\n abstract build(): XMLHttpRequest;\n}\n"],"names":["parseCookieValue","cookieStr","name","encodeURIComponent","cookie","split","eqIndex","indexOf","cookieName","cookieValue","slice","trim","decodeURIComponent","XhrFactory"],"mappings":";;;;;;AAQgB,SAAAA,gBAAgBA,CAACC,SAAiB,EAAEC,IAAY,EAAA;AAC9DA,EAAAA,IAAI,GAAGC,kBAAkB,CAACD,IAAI,CAAC;EAC/B,KAAK,MAAME,MAAM,IAAIH,SAAS,CAACI,KAAK,CAAC,GAAG,CAAC,EAAE;AACzC,IAAA,MAAMC,OAAO,GAAGF,MAAM,CAACG,OAAO,CAAC,GAAG,CAAC;AACnC,IAAA,MAAM,CAACC,UAAU,EAAEC,WAAW,CAAC,GAC7BH,OAAO,IAAI,CAAC,CAAC,GAAG,CAACF,MAAM,EAAE,EAAE,CAAC,GAAG,CAACA,MAAM,CAACM,KAAK,CAAC,CAAC,EAAEJ,OAAO,CAAC,EAAEF,MAAM,CAACM,KAAK,CAACJ,OAAO,GAAG,CAAC,CAAC,CAAC;AACtF,IAAA,IAAIE,UAAU,CAACG,IAAI,EAAE,KAAKT,IAAI,EAAE;MAC9B,OAAOU,kBAAkB,CAACH,WAAW,CAAC;AACxC;AACF;AACA,EAAA,OAAO,IAAI;AACb;;MCNsBI,UAAU,CAAA;;;;"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.2.0-rc.0
2
+ * @license Angular v21.2.1
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -64,7 +64,7 @@ class NavigationAdapterForLocation extends Location {
64
64
  }
65
65
  static ɵfac = i0.ɵɵngDeclareFactory({
66
66
  minVersion: "12.0.0",
67
- version: "21.2.0-rc.0",
67
+ version: "21.2.1",
68
68
  ngImport: i0,
69
69
  type: NavigationAdapterForLocation,
70
70
  deps: [],
@@ -72,14 +72,14 @@ class NavigationAdapterForLocation extends Location {
72
72
  });
73
73
  static ɵprov = i0.ɵɵngDeclareInjectable({
74
74
  minVersion: "12.0.0",
75
- version: "21.2.0-rc.0",
75
+ version: "21.2.1",
76
76
  ngImport: i0,
77
77
  type: NavigationAdapterForLocation
78
78
  });
79
79
  }
80
80
  i0.ɵɵngDeclareClassMetadata({
81
81
  minVersion: "12.0.0",
82
- version: "21.2.0-rc.0",
82
+ version: "21.2.1",
83
83
  ngImport: i0,
84
84
  type: NavigationAdapterForLocation,
85
85
  decorators: [{
@@ -101,7 +101,7 @@ function isPlatformServer(platformId) {
101
101
  return platformId === PLATFORM_SERVER_ID;
102
102
  }
103
103
 
104
- const VERSION = /* @__PURE__ */new Version('21.2.0-rc.0');
104
+ const VERSION = /* @__PURE__ */new Version('21.2.1');
105
105
 
106
106
  class ViewportScroller {
107
107
  static ɵprov =
@@ -476,27 +476,60 @@ class LCPImageObserver {
476
476
  }
477
477
  registerImage(rewrittenSrc, isPriority) {
478
478
  if (!this.observer) return;
479
- const newObservedImageState = {
480
- priority: isPriority,
481
- modified: false,
482
- alreadyWarnedModified: false,
483
- alreadyWarnedPriority: false
484
- };
485
- this.images.set(getUrl(rewrittenSrc, this.window).href, newObservedImageState);
479
+ const url = getUrl(rewrittenSrc, this.window).href;
480
+ const existingState = this.images.get(url);
481
+ if (existingState) {
482
+ existingState.priority = existingState.priority || isPriority;
483
+ existingState.count++;
484
+ } else {
485
+ const newObservedImageState = {
486
+ priority: isPriority,
487
+ modified: false,
488
+ alreadyWarnedModified: false,
489
+ alreadyWarnedPriority: false,
490
+ count: 1
491
+ };
492
+ this.images.set(url, newObservedImageState);
493
+ }
486
494
  }
487
495
  unregisterImage(rewrittenSrc) {
488
496
  if (!this.observer) return;
489
- this.images.delete(getUrl(rewrittenSrc, this.window).href);
497
+ const url = getUrl(rewrittenSrc, this.window).href;
498
+ const existingState = this.images.get(url);
499
+ if (existingState) {
500
+ existingState.count--;
501
+ if (existingState.count <= 0) {
502
+ this.images.delete(url);
503
+ }
504
+ }
490
505
  }
491
506
  updateImage(originalSrc, newSrc) {
492
507
  if (!this.observer) return;
493
508
  const originalUrl = getUrl(originalSrc, this.window).href;
494
- const img = this.images.get(originalUrl);
495
- if (img) {
496
- img.modified = true;
497
- this.images.set(getUrl(newSrc, this.window).href, img);
509
+ const newUrl = getUrl(newSrc, this.window).href;
510
+ if (originalUrl === newUrl) return;
511
+ const originalState = this.images.get(originalUrl);
512
+ if (!originalState) return;
513
+ originalState.count--;
514
+ if (originalState.count <= 0) {
498
515
  this.images.delete(originalUrl);
499
516
  }
517
+ const newState = this.images.get(newUrl);
518
+ if (newState) {
519
+ newState.priority = newState.priority || originalState.priority;
520
+ newState.modified = true;
521
+ newState.alreadyWarnedPriority = newState.alreadyWarnedPriority || originalState.alreadyWarnedPriority;
522
+ newState.alreadyWarnedModified = newState.alreadyWarnedModified || originalState.alreadyWarnedModified;
523
+ newState.count++;
524
+ } else {
525
+ this.images.set(newUrl, {
526
+ priority: originalState.priority,
527
+ modified: true,
528
+ alreadyWarnedModified: originalState.alreadyWarnedModified,
529
+ alreadyWarnedPriority: originalState.alreadyWarnedPriority,
530
+ count: 1
531
+ });
532
+ }
500
533
  }
501
534
  ngOnDestroy() {
502
535
  if (!this.observer) return;
@@ -505,7 +538,7 @@ class LCPImageObserver {
505
538
  }
506
539
  static ɵfac = i0.ɵɵngDeclareFactory({
507
540
  minVersion: "12.0.0",
508
- version: "21.2.0-rc.0",
541
+ version: "21.2.1",
509
542
  ngImport: i0,
510
543
  type: LCPImageObserver,
511
544
  deps: [],
@@ -513,7 +546,7 @@ class LCPImageObserver {
513
546
  });
514
547
  static ɵprov = i0.ɵɵngDeclareInjectable({
515
548
  minVersion: "12.0.0",
516
- version: "21.2.0-rc.0",
549
+ version: "21.2.1",
517
550
  ngImport: i0,
518
551
  type: LCPImageObserver,
519
552
  providedIn: 'root'
@@ -521,7 +554,7 @@ class LCPImageObserver {
521
554
  }
522
555
  i0.ɵɵngDeclareClassMetadata({
523
556
  minVersion: "12.0.0",
524
- version: "21.2.0-rc.0",
557
+ version: "21.2.1",
525
558
  ngImport: i0,
526
559
  type: LCPImageObserver,
527
560
  decorators: [{
@@ -592,7 +625,7 @@ class PreconnectLinkChecker {
592
625
  }
593
626
  static ɵfac = i0.ɵɵngDeclareFactory({
594
627
  minVersion: "12.0.0",
595
- version: "21.2.0-rc.0",
628
+ version: "21.2.1",
596
629
  ngImport: i0,
597
630
  type: PreconnectLinkChecker,
598
631
  deps: [],
@@ -600,7 +633,7 @@ class PreconnectLinkChecker {
600
633
  });
601
634
  static ɵprov = i0.ɵɵngDeclareInjectable({
602
635
  minVersion: "12.0.0",
603
- version: "21.2.0-rc.0",
636
+ version: "21.2.1",
604
637
  ngImport: i0,
605
638
  type: PreconnectLinkChecker,
606
639
  providedIn: 'root'
@@ -608,7 +641,7 @@ class PreconnectLinkChecker {
608
641
  }
609
642
  i0.ɵɵngDeclareClassMetadata({
610
643
  minVersion: "12.0.0",
611
- version: "21.2.0-rc.0",
644
+ version: "21.2.1",
612
645
  ngImport: i0,
613
646
  type: PreconnectLinkChecker,
614
647
  decorators: [{
@@ -658,7 +691,7 @@ class PreloadLinkCreator {
658
691
  }
659
692
  static ɵfac = i0.ɵɵngDeclareFactory({
660
693
  minVersion: "12.0.0",
661
- version: "21.2.0-rc.0",
694
+ version: "21.2.1",
662
695
  ngImport: i0,
663
696
  type: PreloadLinkCreator,
664
697
  deps: [],
@@ -666,7 +699,7 @@ class PreloadLinkCreator {
666
699
  });
667
700
  static ɵprov = i0.ɵɵngDeclareInjectable({
668
701
  minVersion: "12.0.0",
669
- version: "21.2.0-rc.0",
702
+ version: "21.2.1",
670
703
  ngImport: i0,
671
704
  type: PreloadLinkCreator,
672
705
  providedIn: 'root'
@@ -674,7 +707,7 @@ class PreloadLinkCreator {
674
707
  }
675
708
  i0.ɵɵngDeclareClassMetadata({
676
709
  minVersion: "12.0.0",
677
- version: "21.2.0-rc.0",
710
+ version: "21.2.1",
678
711
  ngImport: i0,
679
712
  type: PreloadLinkCreator,
680
713
  decorators: [{
@@ -983,7 +1016,7 @@ class NgOptimizedImage {
983
1016
  }
984
1017
  static ɵfac = i0.ɵɵngDeclareFactory({
985
1018
  minVersion: "12.0.0",
986
- version: "21.2.0-rc.0",
1019
+ version: "21.2.1",
987
1020
  ngImport: i0,
988
1021
  type: NgOptimizedImage,
989
1022
  deps: [],
@@ -991,7 +1024,7 @@ class NgOptimizedImage {
991
1024
  });
992
1025
  static ɵdir = i0.ɵɵngDeclareDirective({
993
1026
  minVersion: "16.1.0",
994
- version: "21.2.0-rc.0",
1027
+ version: "21.2.1",
995
1028
  type: NgOptimizedImage,
996
1029
  isStandalone: true,
997
1030
  selector: "img[ngSrc]",
@@ -1031,7 +1064,7 @@ class NgOptimizedImage {
1031
1064
  }
1032
1065
  i0.ɵɵngDeclareClassMetadata({
1033
1066
  minVersion: "12.0.0",
1034
- version: "21.2.0-rc.0",
1067
+ version: "21.2.1",
1035
1068
  ngImport: i0,
1036
1069
  type: NgOptimizedImage,
1037
1070
  decorators: [{