@angular/platform-browser 21.1.0-next.3 → 21.1.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"animations.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/platform-browser/animations/src/providers.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/packages/platform-browser/animations/src/module.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 AnimationDriver,\n NoopAnimationDriver,\n ɵAnimationEngine as AnimationEngine,\n ɵAnimationRendererFactory as AnimationRendererFactory,\n ɵAnimationStyleNormalizer as AnimationStyleNormalizer,\n ɵWebAnimationsDriver as WebAnimationsDriver,\n ɵWebAnimationsStyleNormalizer as WebAnimationsStyleNormalizer,\n} from '@angular/animations/browser';\nimport {DOCUMENT} from '@angular/common';\nimport {\n ANIMATION_MODULE_TYPE,\n inject,\n Inject,\n Injectable,\n NgZone,\n OnDestroy,\n Provider,\n RendererFactory2,\n} from '@angular/core';\nimport {ɵDomRendererFactory2 as DomRendererFactory2} from '../../index';\n\n@Injectable()\nexport class InjectableAnimationEngine extends AnimationEngine implements OnDestroy {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(\n @Inject(DOCUMENT) doc: Document,\n driver: AnimationDriver,\n normalizer: AnimationStyleNormalizer,\n ) {\n super(doc, driver, normalizer);\n }\n\n ngOnDestroy(): void {\n this.flush();\n }\n}\n\nexport function instantiateDefaultStyleNormalizer() {\n return new WebAnimationsStyleNormalizer();\n}\n\nexport function instantiateRendererFactory() {\n return new AnimationRendererFactory(\n inject(DomRendererFactory2),\n inject(AnimationEngine),\n inject(NgZone),\n );\n}\n\nconst SHARED_ANIMATION_PROVIDERS: Provider[] = [\n {provide: AnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer},\n {provide: AnimationEngine, useClass: InjectableAnimationEngine},\n {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n },\n];\n\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nexport const BROWSER_NOOP_ANIMATIONS_PROVIDERS: Provider[] = [\n {provide: AnimationDriver, useClass: NoopAnimationDriver},\n {provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations'},\n ...SHARED_ANIMATION_PROVIDERS,\n];\n\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nexport const BROWSER_ANIMATIONS_PROVIDERS: Provider[] = [\n // Note: the `ngServerMode` happen inside factories to give the variable time to initialize.\n {\n provide: AnimationDriver,\n useFactory: () =>\n typeof ngServerMode !== 'undefined' && ngServerMode\n ? new NoopAnimationDriver()\n : new WebAnimationsDriver(),\n },\n {\n provide: ANIMATION_MODULE_TYPE,\n useFactory: () =>\n typeof ngServerMode !== 'undefined' && ngServerMode ? 'NoopAnimations' : 'BrowserAnimations',\n },\n ...SHARED_ANIMATION_PROVIDERS,\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 */\nimport {\n ModuleWithProviders,\n NgModule,\n Provider,\n ɵperformanceMarkFeature as performanceMarkFeature,\n} from '@angular/core';\nimport {BrowserModule} from '../../index';\n\nimport {BROWSER_ANIMATIONS_PROVIDERS, BROWSER_NOOP_ANIMATIONS_PROVIDERS} from './providers';\n\n/**\n * Object used to configure the behavior of {@link BrowserAnimationsModule}\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\nexport interface BrowserAnimationsModuleConfig {\n /**\n * Whether animations should be disabled. Passing this is identical to providing the\n * `NoopAnimationsModule`, but it can be controlled based on a runtime value.\n */\n disableAnimations?: boolean;\n}\n\n/**\n * Exports `BrowserModule` with additional dependency-injection providers\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\n@NgModule({\n exports: [BrowserModule],\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n})\nexport class BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see {@link BrowserAnimationsModuleConfig}\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```ts\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(\n config: BrowserAnimationsModuleConfig,\n ): ModuleWithProviders<BrowserAnimationsModule> {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations\n ? BROWSER_NOOP_ANIMATIONS_PROVIDERS\n : BROWSER_ANIMATIONS_PROVIDERS,\n };\n }\n}\n\n/**\n * Returns the set of dependency-injection providers\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```ts\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n *\n */\nexport function provideAnimations(): Provider[] {\n performanceMarkFeature('NgEagerAnimations');\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\n@NgModule({\n exports: [BrowserModule],\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n})\nexport class NoopAnimationsModule {}\n\n/**\n * Returns the set of dependency-injection providers\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```ts\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\nexport function provideNoopAnimations(): Provider[] {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n"],"names":["InjectableAnimationEngine","AnimationEngine","constructor","doc","driver","normalizer","ngOnDestroy","flush","ɵfac","i0","ɵɵngDeclareFactory","minVersion","version","ngImport","type","DOCUMENT","token","i1","AnimationDriver","ɵAnimationStyleNormalizer","target","ɵɵFactoryTarget","Injectable","decorators","Inject","instantiateDefaultStyleNormalizer","WebAnimationsStyleNormalizer","instantiateRendererFactory","AnimationRendererFactory","inject","DomRendererFactory2","NgZone","SHARED_ANIMATION_PROVIDERS","provide","AnimationStyleNormalizer","useFactory","useClass","RendererFactory2","BROWSER_NOOP_ANIMATIONS_PROVIDERS","NoopAnimationDriver","ANIMATION_MODULE_TYPE","useValue","BROWSER_ANIMATIONS_PROVIDERS","ngServerMode","WebAnimationsDriver","BrowserAnimationsModule","withConfig","config","ngModule","providers","disableAnimations","deps","NgModule","ɵmod","ɵɵngDeclareNgModule","BrowserModule","imports","args","exports","provideAnimations","performanceMarkFeature","NoopAnimationsModule","provideNoopAnimations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/platform-browser/animations/src/providers.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/platform-browser/animations/src/module.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 AnimationDriver,\n NoopAnimationDriver,\n ɵAnimationEngine as AnimationEngine,\n ɵAnimationRendererFactory as AnimationRendererFactory,\n ɵAnimationStyleNormalizer as AnimationStyleNormalizer,\n ɵWebAnimationsDriver as WebAnimationsDriver,\n ɵWebAnimationsStyleNormalizer as WebAnimationsStyleNormalizer,\n} from '@angular/animations/browser';\nimport {DOCUMENT} from '@angular/common';\nimport {\n ANIMATION_MODULE_TYPE,\n inject,\n Inject,\n Injectable,\n NgZone,\n OnDestroy,\n Provider,\n RendererFactory2,\n} from '@angular/core';\nimport {ɵDomRendererFactory2 as DomRendererFactory2} from '../../index';\n\n@Injectable()\nexport class InjectableAnimationEngine extends AnimationEngine implements OnDestroy {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(\n @Inject(DOCUMENT) doc: Document,\n driver: AnimationDriver,\n normalizer: AnimationStyleNormalizer,\n ) {\n super(doc, driver, normalizer);\n }\n\n ngOnDestroy(): void {\n this.flush();\n }\n}\n\nexport function instantiateDefaultStyleNormalizer() {\n return new WebAnimationsStyleNormalizer();\n}\n\nexport function instantiateRendererFactory() {\n return new AnimationRendererFactory(\n inject(DomRendererFactory2),\n inject(AnimationEngine),\n inject(NgZone),\n );\n}\n\nconst SHARED_ANIMATION_PROVIDERS: Provider[] = [\n {provide: AnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer},\n {provide: AnimationEngine, useClass: InjectableAnimationEngine},\n {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n },\n];\n\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nexport const BROWSER_NOOP_ANIMATIONS_PROVIDERS: Provider[] = [\n {provide: AnimationDriver, useClass: NoopAnimationDriver},\n {provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations'},\n ...SHARED_ANIMATION_PROVIDERS,\n];\n\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nexport const BROWSER_ANIMATIONS_PROVIDERS: Provider[] = [\n // Note: the `ngServerMode` happen inside factories to give the variable time to initialize.\n {\n provide: AnimationDriver,\n useFactory: () =>\n typeof ngServerMode !== 'undefined' && ngServerMode\n ? new NoopAnimationDriver()\n : new WebAnimationsDriver(),\n },\n {\n provide: ANIMATION_MODULE_TYPE,\n useFactory: () =>\n typeof ngServerMode !== 'undefined' && ngServerMode ? 'NoopAnimations' : 'BrowserAnimations',\n },\n ...SHARED_ANIMATION_PROVIDERS,\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 */\nimport {\n ModuleWithProviders,\n NgModule,\n Provider,\n ɵperformanceMarkFeature as performanceMarkFeature,\n} from '@angular/core';\nimport {BrowserModule} from '../../index';\n\nimport {BROWSER_ANIMATIONS_PROVIDERS, BROWSER_NOOP_ANIMATIONS_PROVIDERS} from './providers';\n\n/**\n * Object used to configure the behavior of {@link BrowserAnimationsModule}\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\nexport interface BrowserAnimationsModuleConfig {\n /**\n * Whether animations should be disabled. Passing this is identical to providing the\n * `NoopAnimationsModule`, but it can be controlled based on a runtime value.\n */\n disableAnimations?: boolean;\n}\n\n/**\n * Exports `BrowserModule` with additional dependency-injection providers\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\n@NgModule({\n exports: [BrowserModule],\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n})\nexport class BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see {@link BrowserAnimationsModuleConfig}\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```ts\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(\n config: BrowserAnimationsModuleConfig,\n ): ModuleWithProviders<BrowserAnimationsModule> {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations\n ? BROWSER_NOOP_ANIMATIONS_PROVIDERS\n : BROWSER_ANIMATIONS_PROVIDERS,\n };\n }\n}\n\n/**\n * Returns the set of dependency-injection providers\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```ts\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n *\n */\nexport function provideAnimations(): Provider[] {\n performanceMarkFeature('NgEagerAnimations');\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\n@NgModule({\n exports: [BrowserModule],\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n})\nexport class NoopAnimationsModule {}\n\n/**\n * Returns the set of dependency-injection providers\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```ts\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n *\n * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23\n */\nexport function provideNoopAnimations(): Provider[] {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n"],"names":["InjectableAnimationEngine","AnimationEngine","constructor","doc","driver","normalizer","ngOnDestroy","flush","ɵfac","i0","ɵɵngDeclareFactory","minVersion","version","ngImport","type","DOCUMENT","token","i1","AnimationDriver","ɵAnimationStyleNormalizer","target","ɵɵFactoryTarget","Injectable","decorators","Inject","instantiateDefaultStyleNormalizer","WebAnimationsStyleNormalizer","instantiateRendererFactory","AnimationRendererFactory","inject","DomRendererFactory2","NgZone","SHARED_ANIMATION_PROVIDERS","provide","AnimationStyleNormalizer","useFactory","useClass","RendererFactory2","BROWSER_NOOP_ANIMATIONS_PROVIDERS","NoopAnimationDriver","ANIMATION_MODULE_TYPE","useValue","BROWSER_ANIMATIONS_PROVIDERS","ngServerMode","WebAnimationsDriver","BrowserAnimationsModule","withConfig","config","ngModule","providers","disableAnimations","deps","NgModule","ɵmod","ɵɵngDeclareNgModule","BrowserModule","imports","args","exports","provideAnimations","performanceMarkFeature","NoopAnimationsModule","provideNoopAnimations"],"mappings":";;;;;;;;;;;;;;;AA+BM,MAAOA,yBAA0B,SAAQC,gBAAe,CAAA;AAI5DC,EAAAA,WAAAA,CACoBC,GAAa,EAC/BC,MAAuB,EACvBC,UAAoC,EAAA;AAEpC,IAAA,KAAK,CAACF,GAAG,EAAEC,MAAM,EAAEC,UAAU,CAAC;AAChC;AAEA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,EAAA,CAAA;MACRC,OAAO,EAAE,CAACH,aAAa,CAAC;AACxBN,MAAAA,SAAS,EAAEP;KACZ;;;SAuDeiB,iBAAiBA,GAAA;EAC/BC,uBAAsB,CAAC,mBAAmB,CAAC;EAG3C,OAAO,CAAC,GAAGlB,4BAA4B,CAAC;AAC1C;MAYamB,oBAAoB,CAAA;;;;;UAApBA,oBAAoB;AAAAV,IAAAA,IAAA,EAAA,EAAA;AAAA/B,IAAAA,MAAA,EAAAX,EAAA,CAAAY,eAAA,CAAA+B;AAAA,GAAA,CAAA;AAApB,EAAA,OAAAC,IAAA,GAAA5C,EAAA,CAAA6C,mBAAA,CAAA;AAAA3C,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,mBAAA;AAAAC,IAAAA,QAAA,EAAAJ,EAAA;AAAAK,IAAAA,IAAA,EAAA+C,oBAAoB;cAHrBN,aAAa;AAAA,GAAA,CAAA;;;;;UAGZM,oBAAoB;AAAAZ,IAAAA,SAAA,EAFpBX,iCAAiC;IAAAkB,OAAA,EAAA,CADlCD,aAAa;AAAA,GAAA,CAAA;;;;;;QAGZM,oBAAoB;AAAAtC,EAAAA,UAAA,EAAA,CAAA;UAJhC6B,QAAQ;AAACK,IAAAA,IAAA,EAAA,CAAA;MACRC,OAAO,EAAE,CAACH,aAAa,CAAC;AACxBN,MAAAA,SAAS,EAAEX;KACZ;;;SA0BewB,qBAAqBA,GAAA;EAGnC,OAAO,CAAC,GAAGxB,iCAAiC,CAAC;AAC/C;;;;"}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Angular v21.1.0-next.3
3
- * (c) 2010-2025 Google LLC. https://angular.dev/
2
+ * @license Angular v21.1.0-rc.0
3
+ * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
@@ -8,7 +8,7 @@ export { BrowserModule, bootstrapApplication, createApplication, platformBrowser
8
8
  import { ɵgetDOM as _getDOM, DOCUMENT } from '@angular/common';
9
9
  export { ɵgetDOM } from '@angular/common';
10
10
  import * as i0 from '@angular/core';
11
- import { Injectable, Inject, ɵglobal as _global, ApplicationRef, InjectionToken, ɵConsole as _Console, Optional, Injector, NgModule, forwardRef, ɵRuntimeError as _RuntimeError, ɵXSS_SECURITY_URL as _XSS_SECURITY_URL, SecurityContext, ɵallowSanitizationBypassAndThrow as _allowSanitizationBypassAndThrow, ɵunwrapSafeValue as _unwrapSafeValue, ɵ_sanitizeUrl as __sanitizeUrl, ɵ_sanitizeHtml as __sanitizeHtml, ɵbypassSanitizationTrustHtml as _bypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle as _bypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript as _bypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl as _bypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl as _bypassSanitizationTrustResourceUrl, ɵwithI18nSupport as _withI18nSupport, ɵwithEventReplay as _withEventReplay, ɵwithIncrementalHydration as _withIncrementalHydration, makeEnvironmentProviders, ɵwithDomHydration as _withDomHydration, ENVIRONMENT_INITIALIZER, inject, ɵIS_ENABLED_BLOCKING_INITIAL_NAVIGATION as _IS_ENABLED_BLOCKING_INITIAL_NAVIGATION, ɵformatRuntimeError as _formatRuntimeError, Version } from '@angular/core';
11
+ import { Injectable, Inject, ɵglobal as _global, ApplicationRef, InjectionToken, ɵConsole as _Console, Optional, Injector, NgModule, forwardRef, ɵRuntimeError as _RuntimeError, ɵXSS_SECURITY_URL as _XSS_SECURITY_URL, SecurityContext, ɵallowSanitizationBypassAndThrow as _allowSanitizationBypassAndThrow, ɵunwrapSafeValue as _unwrapSafeValue, ɵ_sanitizeUrl as __sanitizeUrl, ɵ_sanitizeHtml as __sanitizeHtml, ɵbypassSanitizationTrustHtml as _bypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle as _bypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript as _bypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl as _bypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl as _bypassSanitizationTrustResourceUrl, ɵwithI18nSupport as _withI18nSupport, ɵwithEventReplay as _withEventReplay, ɵwithIncrementalHydration as _withIncrementalHydration, makeEnvironmentProviders, provideStabilityDebugging, ɵwithDomHydration as _withDomHydration, ENVIRONMENT_INITIALIZER, inject, ɵIS_ENABLED_BLOCKING_INITIAL_NAVIGATION as _IS_ENABLED_BLOCKING_INITIAL_NAVIGATION, ɵformatRuntimeError as _formatRuntimeError, Version } from '@angular/core';
12
12
  import { EventManagerPlugin, EVENT_MANAGER_PLUGINS } from './_dom_renderer-chunk.mjs';
13
13
  export { EventManager, REMOVE_STYLES_ON_COMPONENT_DESTROY, DomEventsPlugin as ɵDomEventsPlugin, DomRendererFactory2 as ɵDomRendererFactory2, SharedStylesHost as ɵSharedStylesHost } from './_dom_renderer-chunk.mjs';
14
14
  import { ɵwithHttpTransferCache as _withHttpTransferCache } from '@angular/common/http';
@@ -87,7 +87,7 @@ class Meta {
87
87
  }
88
88
  static ɵfac = i0.ɵɵngDeclareFactory({
89
89
  minVersion: "12.0.0",
90
- version: "21.1.0-next.3",
90
+ version: "21.1.0-rc.0",
91
91
  ngImport: i0,
92
92
  type: Meta,
93
93
  deps: [{
@@ -97,7 +97,7 @@ class Meta {
97
97
  });
98
98
  static ɵprov = i0.ɵɵngDeclareInjectable({
99
99
  minVersion: "12.0.0",
100
- version: "21.1.0-next.3",
100
+ version: "21.1.0-rc.0",
101
101
  ngImport: i0,
102
102
  type: Meta,
103
103
  providedIn: 'root'
@@ -105,7 +105,7 @@ class Meta {
105
105
  }
106
106
  i0.ɵɵngDeclareClassMetadata({
107
107
  minVersion: "12.0.0",
108
- version: "21.1.0-next.3",
108
+ version: "21.1.0-rc.0",
109
109
  ngImport: i0,
110
110
  type: Meta,
111
111
  decorators: [{
@@ -139,7 +139,7 @@ class Title {
139
139
  }
140
140
  static ɵfac = i0.ɵɵngDeclareFactory({
141
141
  minVersion: "12.0.0",
142
- version: "21.1.0-next.3",
142
+ version: "21.1.0-rc.0",
143
143
  ngImport: i0,
144
144
  type: Title,
145
145
  deps: [{
@@ -149,7 +149,7 @@ class Title {
149
149
  });
150
150
  static ɵprov = i0.ɵɵngDeclareInjectable({
151
151
  minVersion: "12.0.0",
152
- version: "21.1.0-next.3",
152
+ version: "21.1.0-rc.0",
153
153
  ngImport: i0,
154
154
  type: Title,
155
155
  providedIn: 'root'
@@ -157,7 +157,7 @@ class Title {
157
157
  }
158
158
  i0.ɵɵngDeclareClassMetadata({
159
159
  minVersion: "12.0.0",
160
- version: "21.1.0-next.3",
160
+ version: "21.1.0-rc.0",
161
161
  ngImport: i0,
162
162
  type: Title,
163
163
  decorators: [{
@@ -300,7 +300,7 @@ class HammerGestureConfig {
300
300
  }
301
301
  static ɵfac = i0.ɵɵngDeclareFactory({
302
302
  minVersion: "12.0.0",
303
- version: "21.1.0-next.3",
303
+ version: "21.1.0-rc.0",
304
304
  ngImport: i0,
305
305
  type: HammerGestureConfig,
306
306
  deps: [],
@@ -308,14 +308,14 @@ class HammerGestureConfig {
308
308
  });
309
309
  static ɵprov = i0.ɵɵngDeclareInjectable({
310
310
  minVersion: "12.0.0",
311
- version: "21.1.0-next.3",
311
+ version: "21.1.0-rc.0",
312
312
  ngImport: i0,
313
313
  type: HammerGestureConfig
314
314
  });
315
315
  }
316
316
  i0.ɵɵngDeclareClassMetadata({
317
317
  minVersion: "12.0.0",
318
- version: "21.1.0-next.3",
318
+ version: "21.1.0-rc.0",
319
319
  ngImport: i0,
320
320
  type: HammerGestureConfig,
321
321
  decorators: [{
@@ -399,7 +399,7 @@ class HammerGesturesPlugin extends EventManagerPlugin {
399
399
  }
400
400
  static ɵfac = i0.ɵɵngDeclareFactory({
401
401
  minVersion: "12.0.0",
402
- version: "21.1.0-next.3",
402
+ version: "21.1.0-rc.0",
403
403
  ngImport: i0,
404
404
  type: HammerGesturesPlugin,
405
405
  deps: [{
@@ -416,14 +416,14 @@ class HammerGesturesPlugin extends EventManagerPlugin {
416
416
  });
417
417
  static ɵprov = i0.ɵɵngDeclareInjectable({
418
418
  minVersion: "12.0.0",
419
- version: "21.1.0-next.3",
419
+ version: "21.1.0-rc.0",
420
420
  ngImport: i0,
421
421
  type: HammerGesturesPlugin
422
422
  });
423
423
  }
424
424
  i0.ɵɵngDeclareClassMetadata({
425
425
  minVersion: "12.0.0",
426
- version: "21.1.0-next.3",
426
+ version: "21.1.0-rc.0",
427
427
  ngImport: i0,
428
428
  type: HammerGesturesPlugin,
429
429
  decorators: [{
@@ -456,7 +456,7 @@ i0.ɵɵngDeclareClassMetadata({
456
456
  class HammerModule {
457
457
  static ɵfac = i0.ɵɵngDeclareFactory({
458
458
  minVersion: "12.0.0",
459
- version: "21.1.0-next.3",
459
+ version: "21.1.0-rc.0",
460
460
  ngImport: i0,
461
461
  type: HammerModule,
462
462
  deps: [],
@@ -464,13 +464,13 @@ class HammerModule {
464
464
  });
465
465
  static ɵmod = i0.ɵɵngDeclareNgModule({
466
466
  minVersion: "14.0.0",
467
- version: "21.1.0-next.3",
467
+ version: "21.1.0-rc.0",
468
468
  ngImport: i0,
469
469
  type: HammerModule
470
470
  });
471
471
  static ɵinj = i0.ɵɵngDeclareInjector({
472
472
  minVersion: "12.0.0",
473
- version: "21.1.0-next.3",
473
+ version: "21.1.0-rc.0",
474
474
  ngImport: i0,
475
475
  type: HammerModule,
476
476
  providers: [{
@@ -486,7 +486,7 @@ class HammerModule {
486
486
  }
487
487
  i0.ɵɵngDeclareClassMetadata({
488
488
  minVersion: "12.0.0",
489
- version: "21.1.0-next.3",
489
+ version: "21.1.0-rc.0",
490
490
  ngImport: i0,
491
491
  type: HammerModule,
492
492
  decorators: [{
@@ -508,7 +508,7 @@ i0.ɵɵngDeclareClassMetadata({
508
508
  class DomSanitizer {
509
509
  static ɵfac = i0.ɵɵngDeclareFactory({
510
510
  minVersion: "12.0.0",
511
- version: "21.1.0-next.3",
511
+ version: "21.1.0-rc.0",
512
512
  ngImport: i0,
513
513
  type: DomSanitizer,
514
514
  deps: [],
@@ -516,7 +516,7 @@ class DomSanitizer {
516
516
  });
517
517
  static ɵprov = i0.ɵɵngDeclareInjectable({
518
518
  minVersion: "12.0.0",
519
- version: "21.1.0-next.3",
519
+ version: "21.1.0-rc.0",
520
520
  ngImport: i0,
521
521
  type: DomSanitizer,
522
522
  providedIn: 'root',
@@ -525,7 +525,7 @@ class DomSanitizer {
525
525
  }
526
526
  i0.ɵɵngDeclareClassMetadata({
527
527
  minVersion: "12.0.0",
528
- version: "21.1.0-next.3",
528
+ version: "21.1.0-rc.0",
529
529
  ngImport: i0,
530
530
  type: DomSanitizer,
531
531
  decorators: [{
@@ -593,7 +593,7 @@ class DomSanitizerImpl extends DomSanitizer {
593
593
  }
594
594
  static ɵfac = i0.ɵɵngDeclareFactory({
595
595
  minVersion: "12.0.0",
596
- version: "21.1.0-next.3",
596
+ version: "21.1.0-rc.0",
597
597
  ngImport: i0,
598
598
  type: DomSanitizerImpl,
599
599
  deps: [{
@@ -603,7 +603,7 @@ class DomSanitizerImpl extends DomSanitizer {
603
603
  });
604
604
  static ɵprov = i0.ɵɵngDeclareInjectable({
605
605
  minVersion: "12.0.0",
606
- version: "21.1.0-next.3",
606
+ version: "21.1.0-rc.0",
607
607
  ngImport: i0,
608
608
  type: DomSanitizerImpl,
609
609
  providedIn: 'root'
@@ -611,7 +611,7 @@ class DomSanitizerImpl extends DomSanitizer {
611
611
  }
612
612
  i0.ɵɵngDeclareClassMetadata({
613
613
  minVersion: "12.0.0",
614
- version: "21.1.0-next.3",
614
+ version: "21.1.0-rc.0",
615
615
  ngImport: i0,
616
616
  type: DomSanitizerImpl,
617
617
  decorators: [{
@@ -690,10 +690,10 @@ function provideClientHydration(...features) {
690
690
  if (typeof ngDevMode !== 'undefined' && ngDevMode && featuresKind.has(HydrationFeatureKind.NoHttpTransferCache) && hasHttpTransferCacheOptions) {
691
691
  throw new _RuntimeError(5001, 'Configuration error: found both withHttpTransferCacheOptions() and withNoHttpTransferCache() in the same call to provideClientHydration(), which is a contradiction.');
692
692
  }
693
- return makeEnvironmentProviders([typeof ngDevMode !== 'undefined' && ngDevMode ? provideEnabledBlockingInitialNavigationDetector() : [], _withDomHydration(), featuresKind.has(HydrationFeatureKind.NoHttpTransferCache) || hasHttpTransferCacheOptions ? [] : _withHttpTransferCache({}), providers]);
693
+ return makeEnvironmentProviders([typeof ngDevMode !== 'undefined' && ngDevMode ? provideEnabledBlockingInitialNavigationDetector() : [], typeof ngDevMode !== 'undefined' && ngDevMode ? provideStabilityDebugging() : [], _withDomHydration(), featuresKind.has(HydrationFeatureKind.NoHttpTransferCache) || hasHttpTransferCacheOptions ? [] : _withHttpTransferCache({}), providers]);
694
694
  }
695
695
 
696
- const VERSION = /* @__PURE__ */new Version('21.1.0-next.3');
696
+ const VERSION = /* @__PURE__ */new Version('21.1.0-rc.0');
697
697
 
698
698
  export { By, DomSanitizer, EVENT_MANAGER_PLUGINS, EventManagerPlugin, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, HammerModule, HydrationFeatureKind, Meta, Title, VERSION, disableDebugTools, enableDebugTools, provideClientHydration, withEventReplay, withHttpTransferCacheOptions, withI18nSupport, withIncrementalHydration, withNoHttpTransferCache, DomSanitizerImpl as ɵDomSanitizerImpl, HammerGesturesPlugin as ɵHammerGesturesPlugin };
699
699
  //# sourceMappingURL=platform-browser.mjs.map