@angular/platform-browser 14.1.0 → 14.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 v14.1.0
2
+ * @license Angular v14.2.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7,7 +7,7 @@
7
7
  import { ɵDomAdapter, ɵsetRootDomAdapter, ɵparseCookieValue, ɵgetDOM, DOCUMENT, ɵPLATFORM_BROWSER_ID, XhrFactory, CommonModule } from '@angular/common';
8
8
  export { ɵgetDOM } from '@angular/common';
9
9
  import * as i0 from '@angular/core';
10
- import { InjectionToken, ApplicationInitStatus, APP_INITIALIZER, Injector, ɵglobal, Injectable, Inject, ViewEncapsulation, APP_ID, RendererStyleFlags2, ɵinternalBootstrapApplication, ErrorHandler, ɵsetDocument, PLATFORM_ID, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵTESTABILITY_GETTER, ɵTESTABILITY, Testability, NgZone, TestabilityRegistry, ɵINJECTOR_SCOPE, RendererFactory2, ApplicationModule, NgModule, Optional, SkipSelf, ɵɵinject, ApplicationRef, ɵConsole, forwardRef, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, Version } from '@angular/core';
10
+ import { InjectionToken, ApplicationInitStatus, APP_INITIALIZER, Injector, ɵglobal, Injectable, Inject, ViewEncapsulation, APP_ID, RendererStyleFlags2, ɵinternalCreateApplication, ErrorHandler, ɵsetDocument, PLATFORM_ID, PLATFORM_INITIALIZER, createPlatformFactory, platformCore, ɵTESTABILITY_GETTER, ɵTESTABILITY, Testability, NgZone, TestabilityRegistry, ɵINJECTOR_SCOPE, RendererFactory2, ApplicationModule, NgModule, Optional, SkipSelf, ɵɵinject, ApplicationRef, inject, ɵConsole, forwardRef, SecurityContext, ɵallowSanitizationBypassAndThrow, ɵunwrapSafeValue, ɵ_sanitizeUrl, ɵ_sanitizeHtml, ɵbypassSanitizationTrustHtml, ɵbypassSanitizationTrustStyle, ɵbypassSanitizationTrustScript, ɵbypassSanitizationTrustUrl, ɵbypassSanitizationTrustResourceUrl, Version } from '@angular/core';
11
11
 
12
12
  /**
13
13
  * @license
@@ -218,9 +218,9 @@ class BrowserXhr {
218
218
  return new XMLHttpRequest();
219
219
  }
220
220
  }
221
- BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
222
- BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: BrowserXhr });
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: BrowserXhr, decorators: [{
221
+ BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
222
+ BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserXhr });
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserXhr, decorators: [{
224
224
  type: Injectable
225
225
  }] });
226
226
 
@@ -303,9 +303,9 @@ class EventManager {
303
303
  throw new Error(`No event manager plugin found for event ${eventName}`);
304
304
  }
305
305
  }
306
- EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
307
- EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: EventManager });
308
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: EventManager, decorators: [{
306
+ EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
307
+ EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: EventManager });
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: EventManager, decorators: [{
309
309
  type: Injectable
310
310
  }], ctorParameters: function () {
311
311
  return [{ type: undefined, decorators: [{
@@ -353,9 +353,9 @@ class SharedStylesHost {
353
353
  return Array.from(this._stylesSet);
354
354
  }
355
355
  }
356
- SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
357
- SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: SharedStylesHost });
358
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: SharedStylesHost, decorators: [{
356
+ SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
357
+ SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: SharedStylesHost });
358
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: SharedStylesHost, decorators: [{
359
359
  type: Injectable
360
360
  }] });
361
361
  class DomSharedStylesHost extends SharedStylesHost {
@@ -394,9 +394,9 @@ class DomSharedStylesHost extends SharedStylesHost {
394
394
  this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
395
395
  }
396
396
  }
397
- DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
398
- DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomSharedStylesHost });
399
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomSharedStylesHost, decorators: [{
397
+ DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
398
+ DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomSharedStylesHost });
399
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomSharedStylesHost, decorators: [{
400
400
  type: Injectable
401
401
  }], ctorParameters: function () {
402
402
  return [{ type: undefined, decorators: [{
@@ -519,9 +519,9 @@ class DomRendererFactory2 {
519
519
  begin() { }
520
520
  end() { }
521
521
  }
522
- DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
523
- DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomRendererFactory2 });
524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomRendererFactory2, decorators: [{
522
+ DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
523
+ DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomRendererFactory2 });
524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomRendererFactory2, decorators: [{
525
525
  type: Injectable
526
526
  }], ctorParameters: function () {
527
527
  return [{ type: EventManager }, { type: DomSharedStylesHost }, { type: undefined, decorators: [{
@@ -744,9 +744,9 @@ class DomEventsPlugin extends EventManagerPlugin {
744
744
  return target.removeEventListener(eventName, callback);
745
745
  }
746
746
  }
747
- DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
748
- DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomEventsPlugin });
749
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomEventsPlugin, decorators: [{
747
+ DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
748
+ DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomEventsPlugin });
749
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomEventsPlugin, decorators: [{
750
750
  type: Injectable
751
751
  }], ctorParameters: function () {
752
752
  return [{ type: undefined, decorators: [{
@@ -766,11 +766,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImpor
766
766
  * Defines supported modifiers for key events.
767
767
  */
768
768
  const MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];
769
- const DOM_KEY_LOCATION_NUMPAD = 3;
770
- // Map to convert some key or keyIdentifier values to what will be returned by getEventKey
769
+ // The following values are here for cross-browser compatibility and to match the W3C standard
770
+ // cf https://www.w3.org/TR/DOM-Level-3-Events-key/
771
771
  const _keyMap = {
772
- // The following values are here for cross-browser compatibility and to match the W3C standard
773
- // cf https://www.w3.org/TR/DOM-Level-3-Events-key/
774
772
  '\b': 'Backspace',
775
773
  '\t': 'Tab',
776
774
  '\x7F': 'Delete',
@@ -785,27 +783,6 @@ const _keyMap = {
785
783
  'Scroll': 'ScrollLock',
786
784
  'Win': 'OS'
787
785
  };
788
- // There is a bug in Chrome for numeric keypad keys:
789
- // https://code.google.com/p/chromium/issues/detail?id=155654
790
- // 1, 2, 3 ... are reported as A, B, C ...
791
- const _chromeNumKeyPadMap = {
792
- 'A': '1',
793
- 'B': '2',
794
- 'C': '3',
795
- 'D': '4',
796
- 'E': '5',
797
- 'F': '6',
798
- 'G': '7',
799
- 'H': '8',
800
- 'I': '9',
801
- 'J': '*',
802
- 'K': '+',
803
- 'M': '-',
804
- 'N': '.',
805
- 'O': '/',
806
- '\x60': '0',
807
- '\x90': 'NumLock'
808
- };
809
786
  /**
810
787
  * Retrieves modifiers from key-event objects.
811
788
  */
@@ -850,6 +827,15 @@ class KeyEventsPlugin extends EventManagerPlugin {
850
827
  return ɵgetDOM().onAndCancel(element, parsedEvent['domEventName'], outsideHandler);
851
828
  });
852
829
  }
830
+ /**
831
+ * Parses the user provided full keyboard event definition and normalizes it for
832
+ * later internal use. It ensures the string is all lowercase, converts special
833
+ * characters to a standard spelling, and orders all the values consistently.
834
+ *
835
+ * @param eventName The name of the key event to listen for.
836
+ * @returns an object with the full, normalized string, and the dom event name
837
+ * or null in the case when the event doesn't match a keyboard event.
838
+ */
853
839
  static parseEventName(eventName) {
854
840
  const parts = eventName.toLowerCase().split('.');
855
841
  const domEventName = parts.shift();
@@ -858,6 +844,11 @@ class KeyEventsPlugin extends EventManagerPlugin {
858
844
  }
859
845
  const key = KeyEventsPlugin._normalizeKey(parts.pop());
860
846
  let fullKey = '';
847
+ let codeIX = parts.indexOf('code');
848
+ if (codeIX > -1) {
849
+ parts.splice(codeIX, 1);
850
+ fullKey = 'code.';
851
+ }
861
852
  MODIFIER_KEYS.forEach(modifierName => {
862
853
  const index = parts.indexOf(modifierName);
863
854
  if (index > -1) {
@@ -878,26 +869,43 @@ class KeyEventsPlugin extends EventManagerPlugin {
878
869
  result['fullKey'] = fullKey;
879
870
  return result;
880
871
  }
881
- static getEventFullKey(event) {
882
- let fullKey = '';
883
- let key = getEventKey(event);
884
- key = key.toLowerCase();
885
- if (key === ' ') {
886
- key = 'space'; // for readability
872
+ /**
873
+ * Determines whether the actual keys pressed match the configured key code string.
874
+ * The `fullKeyCode` event is normalized in the `parseEventName` method when the
875
+ * event is attached to the DOM during the `addEventListener` call. This is unseen
876
+ * by the end user and is normalized for internal consistency and parsing.
877
+ *
878
+ * @param event The keyboard event.
879
+ * @param fullKeyCode The normalized user defined expected key event string
880
+ * @returns boolean.
881
+ */
882
+ static matchEventFullKeyCode(event, fullKeyCode) {
883
+ let keycode = _keyMap[event.key] || event.key;
884
+ let key = '';
885
+ if (fullKeyCode.indexOf('code.') > -1) {
886
+ keycode = event.code;
887
+ key = 'code.';
887
888
  }
888
- else if (key === '.') {
889
- key = 'dot'; // because '.' is used as a separator in event names
889
+ // the keycode could be unidentified so we have to check here
890
+ if (keycode == null || !keycode)
891
+ return false;
892
+ keycode = keycode.toLowerCase();
893
+ if (keycode === ' ') {
894
+ keycode = 'space'; // for readability
895
+ }
896
+ else if (keycode === '.') {
897
+ keycode = 'dot'; // because '.' is used as a separator in event names
890
898
  }
891
899
  MODIFIER_KEYS.forEach(modifierName => {
892
- if (modifierName != key) {
900
+ if (modifierName !== keycode) {
893
901
  const modifierGetter = MODIFIER_KEY_GETTERS[modifierName];
894
902
  if (modifierGetter(event)) {
895
- fullKey += modifierName + '.';
903
+ key += modifierName + '.';
896
904
  }
897
905
  }
898
906
  });
899
- fullKey += key;
900
- return fullKey;
907
+ key += keycode;
908
+ return key === fullKeyCode;
901
909
  }
902
910
  /**
903
911
  * Configures a handler callback for a key event.
@@ -907,8 +915,8 @@ class KeyEventsPlugin extends EventManagerPlugin {
907
915
  * @returns A callback function.
908
916
  */
909
917
  static eventCallback(fullKey, handler, zone) {
910
- return (event /** TODO #9100 */) => {
911
- if (KeyEventsPlugin.getEventFullKey(event) === fullKey) {
918
+ return (event) => {
919
+ if (KeyEventsPlugin.matchEventFullKeyCode(event, fullKey)) {
912
920
  zone.runGuarded(() => handler(event));
913
921
  }
914
922
  };
@@ -924,9 +932,9 @@ class KeyEventsPlugin extends EventManagerPlugin {
924
932
  }
925
933
  }
926
934
  }
927
- KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
928
- KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: KeyEventsPlugin });
929
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: KeyEventsPlugin, decorators: [{
935
+ KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
936
+ KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: KeyEventsPlugin });
937
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: KeyEventsPlugin, decorators: [{
930
938
  type: Injectable
931
939
  }], ctorParameters: function () {
932
940
  return [{ type: undefined, decorators: [{
@@ -934,28 +942,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImpor
934
942
  args: [DOCUMENT]
935
943
  }] }];
936
944
  } });
937
- function getEventKey(event) {
938
- let key = event.key;
939
- if (key == null) {
940
- key = event.keyIdentifier;
941
- // keyIdentifier is defined in the old draft of DOM Level 3 Events implemented by Chrome and
942
- // Safari cf
943
- // https://www.w3.org/TR/2007/WD-DOM-Level-3-Events-20071221/events.html#Events-KeyboardEvents-Interfaces
944
- if (key == null) {
945
- return 'Unidentified';
946
- }
947
- if (key.startsWith('U+')) {
948
- key = String.fromCharCode(parseInt(key.substring(2), 16));
949
- if (event.location === DOM_KEY_LOCATION_NUMPAD && _chromeNumKeyPadMap.hasOwnProperty(key)) {
950
- // There is a bug in Chrome for numeric keypad keys:
951
- // https://code.google.com/p/chromium/issues/detail?id=155654
952
- // 1, 2, 3 ... are reported as A, B, C ...
953
- key = _chromeNumKeyPadMap[key];
954
- }
955
- }
956
- }
957
- return _keyMap[key] || key;
958
- }
959
945
 
960
946
  /**
961
947
  * @license
@@ -1026,15 +1012,33 @@ const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
1026
1012
  * @developerPreview
1027
1013
  */
1028
1014
  function bootstrapApplication(rootComponent, options) {
1015
+ return ɵinternalCreateApplication(Object.assign({ rootComponent }, createProvidersConfig(options)));
1016
+ }
1017
+ /**
1018
+ * Create an instance of an Angular application without bootstrapping any components. This is useful
1019
+ * for the situation where one wants to decouple application environment creation (a platform and
1020
+ * associated injectors) from rendering components on a screen. Components can be subsequently
1021
+ * bootstrapped on the returned `ApplicationRef`.
1022
+ *
1023
+ * @param options Extra configuration for the application environment, see `ApplicationConfig` for
1024
+ * additional info.
1025
+ * @returns A promise that returns an `ApplicationRef` instance once resolved.
1026
+ *
1027
+ * @publicApi
1028
+ * @developerPreview
1029
+ */
1030
+ function createApplication(options) {
1031
+ return ɵinternalCreateApplication(createProvidersConfig(options));
1032
+ }
1033
+ function createProvidersConfig(options) {
1029
1034
  var _a;
1030
- return ɵinternalBootstrapApplication({
1031
- rootComponent,
1035
+ return {
1032
1036
  appProviders: [
1033
1037
  ...BROWSER_MODULE_PROVIDERS,
1034
1038
  ...((_a = options === null || options === void 0 ? void 0 : options.providers) !== null && _a !== void 0 ? _a : []),
1035
1039
  ],
1036
- platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS,
1037
- });
1040
+ platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS
1041
+ };
1038
1042
  }
1039
1043
  /**
1040
1044
  * Returns a set of providers required to setup [Testability](api/core/Testability) for an
@@ -1155,13 +1159,13 @@ class BrowserModule {
1155
1159
  };
1156
1160
  }
1157
1161
  }
1158
- BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1159
- BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1160
- BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: BrowserModule, providers: [
1162
+ BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1163
+ BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1164
+ BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserModule, providers: [
1161
1165
  ...BROWSER_MODULE_PROVIDERS,
1162
1166
  ...TESTABILITY_PROVIDERS
1163
1167
  ], imports: [CommonModule, ApplicationModule] });
1164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: BrowserModule, decorators: [{
1168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserModule, decorators: [{
1165
1169
  type: NgModule,
1166
1170
  args: [{
1167
1171
  providers: [
@@ -1344,9 +1348,9 @@ class Meta {
1344
1348
  return META_KEYS_MAP[prop] || prop;
1345
1349
  }
1346
1350
  }
1347
- Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1348
- Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
1349
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: Meta, decorators: [{
1351
+ Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1352
+ Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
1353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: Meta, decorators: [{
1350
1354
  type: Injectable,
1351
1355
  args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
1352
1356
  }], ctorParameters: function () {
@@ -1403,9 +1407,9 @@ class Title {
1403
1407
  this._doc.title = newTitle || '';
1404
1408
  }
1405
1409
  }
1406
- Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1407
- Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
1408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: Title, decorators: [{
1410
+ Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1411
+ Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
1412
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: Title, decorators: [{
1409
1413
  type: Injectable,
1410
1414
  args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
1411
1415
  }], ctorParameters: function () {
@@ -1606,8 +1610,10 @@ function makeStateKey(key) {
1606
1610
  * A key value store that is transferred from the application on the server side to the application
1607
1611
  * on the client side.
1608
1612
  *
1609
- * `TransferState` will be available as an injectable token. To use it import
1610
- * `ServerTransferStateModule` on the server and `BrowserTransferStateModule` on the client.
1613
+ * The `TransferState` is available as an injectable token.
1614
+ * On the client, just inject this token using DI and use it, it will be lazily initialized.
1615
+ * On the server it's already included if `renderApplication` function is used. Otherwise, import
1616
+ * the `ServerTransferStateModule` module to make the `TransferState` available.
1611
1617
  *
1612
1618
  * The values in the store are serialized/deserialized using JSON.stringify/JSON.parse. So only
1613
1619
  * boolean, number, string, null and non-class objects will be serialized and deserialized in a
@@ -1620,12 +1626,6 @@ class TransferState {
1620
1626
  this.store = {};
1621
1627
  this.onSerializeCallbacks = {};
1622
1628
  }
1623
- /** @internal */
1624
- static init(initState) {
1625
- const transferState = new TransferState();
1626
- transferState.store = initState;
1627
- return transferState;
1628
- }
1629
1629
  /**
1630
1630
  * Get the value corresponding to a key. Return `defaultValue` if key is not found.
1631
1631
  */
@@ -1650,6 +1650,12 @@ class TransferState {
1650
1650
  hasKey(key) {
1651
1651
  return this.store.hasOwnProperty(key);
1652
1652
  }
1653
+ /**
1654
+ * Indicates whether the state is empty.
1655
+ */
1656
+ get isEmpty() {
1657
+ return Object.keys(this.store).length === 0;
1658
+ }
1653
1659
  /**
1654
1660
  * Register a callback to provide the value for a key when `toJson` is called.
1655
1661
  */
@@ -1674,12 +1680,28 @@ class TransferState {
1674
1680
  return JSON.stringify(this.store);
1675
1681
  }
1676
1682
  }
1677
- TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1678
- TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: TransferState });
1679
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: TransferState, decorators: [{
1680
- type: Injectable
1683
+ TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1684
+ TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: TransferState, providedIn: 'root', useFactory: () => {
1685
+ const doc = inject(DOCUMENT);
1686
+ const appId = inject(APP_ID);
1687
+ const state = new TransferState();
1688
+ state.store = retrieveTransferredState(doc, appId);
1689
+ return state;
1690
+ } });
1691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: TransferState, decorators: [{
1692
+ type: Injectable,
1693
+ args: [{
1694
+ providedIn: 'root',
1695
+ useFactory: () => {
1696
+ const doc = inject(DOCUMENT);
1697
+ const appId = inject(APP_ID);
1698
+ const state = new TransferState();
1699
+ state.store = retrieveTransferredState(doc, appId);
1700
+ return state;
1701
+ }
1702
+ }]
1681
1703
  }] });
1682
- function initTransferState(doc, appId) {
1704
+ function retrieveTransferredState(doc, appId) {
1683
1705
  // Locate the script tag with the JSON data transferred from the server.
1684
1706
  // The id of the script tag is set to the Angular appId + 'state'.
1685
1707
  const script = doc.getElementById(appId + '-state');
@@ -1693,24 +1715,24 @@ function initTransferState(doc, appId) {
1693
1715
  console.warn('Exception while restoring TransferState for app ' + appId, e);
1694
1716
  }
1695
1717
  }
1696
- return TransferState.init(initialState);
1718
+ return initialState;
1697
1719
  }
1698
1720
  /**
1699
1721
  * NgModule to install on the client side while using the `TransferState` to transfer state from
1700
1722
  * server to client.
1701
1723
  *
1702
1724
  * @publicApi
1725
+ * @deprecated no longer needed, you can inject the `TransferState` in an app without providing
1726
+ * this module.
1703
1727
  */
1704
1728
  class BrowserTransferStateModule {
1705
1729
  }
1706
- BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1707
- BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0", ngImport: i0, type: BrowserTransferStateModule });
1708
- BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
1709
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
1730
+ BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1731
+ BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserTransferStateModule });
1732
+ BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserTransferStateModule });
1733
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
1710
1734
  type: NgModule,
1711
- args: [{
1712
- providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }],
1713
- }]
1735
+ args: [{}]
1714
1736
  }] });
1715
1737
 
1716
1738
  /**
@@ -1882,9 +1904,9 @@ class HammerGestureConfig {
1882
1904
  return mc;
1883
1905
  }
1884
1906
  }
1885
- HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1886
- HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: HammerGestureConfig });
1887
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: HammerGestureConfig, decorators: [{
1907
+ HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1908
+ HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: HammerGestureConfig });
1909
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: HammerGestureConfig, decorators: [{
1888
1910
  type: Injectable
1889
1911
  }] });
1890
1912
  /**
@@ -1980,9 +2002,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1980
2002
  return this._config.events.indexOf(eventName) > -1;
1981
2003
  }
1982
2004
  }
1983
- HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1984
- HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: HammerGesturesPlugin });
1985
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
2005
+ HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2006
+ HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: HammerGesturesPlugin });
2007
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1986
2008
  type: Injectable
1987
2009
  }], ctorParameters: function () {
1988
2010
  return [{ type: undefined, decorators: [{
@@ -2011,9 +2033,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImpor
2011
2033
  */
2012
2034
  class HammerModule {
2013
2035
  }
2014
- HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2015
- HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0", ngImport: i0, type: HammerModule });
2016
- HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: HammerModule, providers: [
2036
+ HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2037
+ HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0-next.1", ngImport: i0, type: HammerModule });
2038
+ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: HammerModule, providers: [
2017
2039
  {
2018
2040
  provide: EVENT_MANAGER_PLUGINS,
2019
2041
  useClass: HammerGesturesPlugin,
@@ -2022,7 +2044,7 @@ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
2022
2044
  },
2023
2045
  { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
2024
2046
  ] });
2025
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: HammerModule, decorators: [{
2047
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: HammerModule, decorators: [{
2026
2048
  type: NgModule,
2027
2049
  args: [{
2028
2050
  providers: [
@@ -2077,9 +2099,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImpor
2077
2099
  */
2078
2100
  class DomSanitizer {
2079
2101
  }
2080
- DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2081
- DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
2082
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomSanitizer, decorators: [{
2102
+ DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2103
+ DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
2104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomSanitizer, decorators: [{
2083
2105
  type: Injectable,
2084
2106
  args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
2085
2107
  }] });
@@ -2142,9 +2164,9 @@ class DomSanitizerImpl extends DomSanitizer {
2142
2164
  return ɵbypassSanitizationTrustResourceUrl(value);
2143
2165
  }
2144
2166
  }
2145
- DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2146
- DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
2147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2167
+ DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2168
+ DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
2169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0-next.1", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2148
2170
  type: Injectable,
2149
2171
  args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
2150
2172
  }], ctorParameters: function () {
@@ -2172,7 +2194,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImpor
2172
2194
  /**
2173
2195
  * @publicApi
2174
2196
  */
2175
- const VERSION = new Version('14.1.0');
2197
+ const VERSION = new Version('14.2.0-next.1');
2176
2198
 
2177
2199
  /**
2178
2200
  * @license
@@ -2203,5 +2225,5 @@ const VERSION = new Version('14.1.0');
2203
2225
  * Generated bundle index. Do not edit.
2204
2226
  */
2205
2227
 
2206
- export { BrowserModule, BrowserTransferStateModule, By, DomSanitizer, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, HammerModule, Meta, Title, TransferState, VERSION, bootstrapApplication, disableDebugTools, enableDebugTools, makeStateKey, platformBrowser, provideProtractorTestingSupport, BrowserDomAdapter as ɵBrowserDomAdapter, BrowserGetTestability as ɵBrowserGetTestability, DomEventsPlugin as ɵDomEventsPlugin, DomRendererFactory2 as ɵDomRendererFactory2, DomSanitizerImpl as ɵDomSanitizerImpl, DomSharedStylesHost as ɵDomSharedStylesHost, HammerGesturesPlugin as ɵHammerGesturesPlugin, INTERNAL_BROWSER_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS, KeyEventsPlugin as ɵKeyEventsPlugin, NAMESPACE_URIS as ɵNAMESPACE_URIS, SharedStylesHost as ɵSharedStylesHost, TRANSITION_ID as ɵTRANSITION_ID, escapeHtml as ɵescapeHtml, flattenStyles as ɵflattenStyles, initDomAdapter as ɵinitDomAdapter, shimContentAttribute as ɵshimContentAttribute, shimHostAttribute as ɵshimHostAttribute };
2228
+ export { BrowserModule, BrowserTransferStateModule, By, DomSanitizer, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HAMMER_LOADER, HammerGestureConfig, HammerModule, Meta, Title, TransferState, VERSION, bootstrapApplication, createApplication, disableDebugTools, enableDebugTools, makeStateKey, platformBrowser, provideProtractorTestingSupport, BrowserDomAdapter as ɵBrowserDomAdapter, BrowserGetTestability as ɵBrowserGetTestability, DomEventsPlugin as ɵDomEventsPlugin, DomRendererFactory2 as ɵDomRendererFactory2, DomSanitizerImpl as ɵDomSanitizerImpl, DomSharedStylesHost as ɵDomSharedStylesHost, HammerGesturesPlugin as ɵHammerGesturesPlugin, INTERNAL_BROWSER_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS, KeyEventsPlugin as ɵKeyEventsPlugin, NAMESPACE_URIS as ɵNAMESPACE_URIS, SharedStylesHost as ɵSharedStylesHost, TRANSITION_ID as ɵTRANSITION_ID, escapeHtml as ɵescapeHtml, flattenStyles as ɵflattenStyles, initDomAdapter as ɵinitDomAdapter, shimContentAttribute as ɵshimContentAttribute, shimHostAttribute as ɵshimHostAttribute };
2207
2229
  //# sourceMappingURL=platform-browser.mjs.map