@angular/platform-browser 14.0.0-next.15 → 14.0.0-next.16

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.0.0-next.15
2
+ * @license Angular v14.0.0-next.16
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -235,13 +235,13 @@ const platformBrowserTesting = createPlatformFactory(platformCore, 'browserTesti
235
235
  */
236
236
  class BrowserTestingModule {
237
237
  }
238
- BrowserTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
239
- BrowserTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
240
- BrowserTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserTestingModule, providers: [
238
+ BrowserTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
239
+ BrowserTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTestingModule, exports: [BrowserModule] });
240
+ BrowserTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTestingModule, providers: [
241
241
  { provide: APP_ID, useValue: 'a' },
242
242
  { provide: NgZone, useFactory: createNgZone },
243
243
  ], imports: [BrowserModule] });
244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserTestingModule, decorators: [{
244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTestingModule, decorators: [{
245
245
  type: NgModule,
246
246
  args: [{
247
247
  exports: [BrowserModule],
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0-next.15
2
+ * @license Angular v14.0.0-next.16
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -35,9 +35,9 @@ class BrowserAnimationBuilder extends AnimationBuilder {
35
35
  return new BrowserAnimationFactory(id, this._renderer);
36
36
  }
37
37
  }
38
- BrowserAnimationBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
39
- BrowserAnimationBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserAnimationBuilder });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
38
+ BrowserAnimationBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationBuilder, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
39
+ BrowserAnimationBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationBuilder });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationBuilder, decorators: [{
41
41
  type: Injectable
42
42
  }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: undefined, decorators: [{
43
43
  type: Inject,
@@ -218,9 +218,9 @@ class AnimationRendererFactory {
218
218
  return this.engine.whenRenderingDone();
219
219
  }
220
220
  }
221
- AnimationRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: AnimationRendererFactory, deps: [{ token: i0.RendererFactory2 }, { token: i1.ɵAnimationEngine }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
222
- AnimationRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: AnimationRendererFactory });
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: AnimationRendererFactory, decorators: [{
221
+ AnimationRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: AnimationRendererFactory, deps: [{ token: i0.RendererFactory2 }, { token: i1.ɵAnimationEngine }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
222
+ AnimationRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: AnimationRendererFactory });
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: AnimationRendererFactory, decorators: [{
224
224
  type: Injectable
225
225
  }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1.ɵAnimationEngine }, { type: i0.NgZone }]; } });
226
226
  class BaseAnimationRenderer {
@@ -375,9 +375,9 @@ class InjectableAnimationEngine extends ɵAnimationEngine {
375
375
  this.flush();
376
376
  }
377
377
  }
378
- InjectableAnimationEngine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }], target: i0.ɵɵFactoryTarget.Injectable });
379
- InjectableAnimationEngine.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: InjectableAnimationEngine });
380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: InjectableAnimationEngine, decorators: [{
378
+ InjectableAnimationEngine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1.AnimationDriver }, { token: i1.ɵAnimationStyleNormalizer }], target: i0.ɵɵFactoryTarget.Injectable });
379
+ InjectableAnimationEngine.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: InjectableAnimationEngine });
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: InjectableAnimationEngine, decorators: [{
381
381
  type: Injectable
382
382
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
383
383
  type: Inject,
@@ -452,10 +452,10 @@ class BrowserAnimationsModule {
452
452
  };
453
453
  }
454
454
  }
455
- BrowserAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
456
- BrowserAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] });
457
- BrowserAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
458
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserAnimationsModule, decorators: [{
455
+ BrowserAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
456
+ BrowserAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationsModule, exports: [BrowserModule] });
457
+ BrowserAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationsModule, providers: BROWSER_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserAnimationsModule, decorators: [{
459
459
  type: NgModule,
460
460
  args: [{
461
461
  exports: [BrowserModule],
@@ -468,10 +468,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15",
468
468
  */
469
469
  class NoopAnimationsModule {
470
470
  }
471
- NoopAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
472
- NoopAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] });
473
- NoopAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: NoopAnimationsModule, decorators: [{
471
+ NoopAnimationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: NoopAnimationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
472
+ NoopAnimationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: NoopAnimationsModule, exports: [BrowserModule] });
473
+ NoopAnimationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: NoopAnimationsModule, providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, imports: [BrowserModule] });
474
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: NoopAnimationsModule, decorators: [{
475
475
  type: NgModule,
476
476
  args: [{
477
477
  exports: [BrowserModule],
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0-next.15
2
+ * @license Angular v14.0.0-next.16
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -221,9 +221,9 @@ class BrowserXhr {
221
221
  return new XMLHttpRequest();
222
222
  }
223
223
  }
224
- BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
225
- BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserXhr });
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserXhr, decorators: [{
224
+ BrowserXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
225
+ BrowserXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserXhr });
226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserXhr, decorators: [{
227
227
  type: Injectable
228
228
  }] });
229
229
 
@@ -306,9 +306,9 @@ class EventManager {
306
306
  throw new Error(`No event manager plugin found for event ${eventName}`);
307
307
  }
308
308
  }
309
- EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
310
- EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: EventManager });
311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: EventManager, decorators: [{
309
+ EventManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: EventManager, deps: [{ token: EVENT_MANAGER_PLUGINS }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
310
+ EventManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: EventManager });
311
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: EventManager, decorators: [{
312
312
  type: Injectable
313
313
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
314
314
  type: Inject,
@@ -354,9 +354,9 @@ class SharedStylesHost {
354
354
  return Array.from(this._stylesSet);
355
355
  }
356
356
  }
357
- SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
358
- SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: SharedStylesHost });
359
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: SharedStylesHost, decorators: [{
357
+ SharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: SharedStylesHost, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
358
+ SharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: SharedStylesHost });
359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: SharedStylesHost, decorators: [{
360
360
  type: Injectable
361
361
  }] });
362
362
  class DomSharedStylesHost extends SharedStylesHost {
@@ -395,9 +395,9 @@ class DomSharedStylesHost extends SharedStylesHost {
395
395
  this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
396
396
  }
397
397
  }
398
- DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
399
- DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomSharedStylesHost });
400
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomSharedStylesHost, decorators: [{
398
+ DomSharedStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSharedStylesHost, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
399
+ DomSharedStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSharedStylesHost });
400
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSharedStylesHost, decorators: [{
401
401
  type: Injectable
402
402
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
403
403
  type: Inject,
@@ -423,7 +423,7 @@ const NAMESPACE_URIS = {
423
423
  'math': 'http://www.w3.org/1998/MathML/',
424
424
  };
425
425
  const COMPONENT_REGEX = /%COMP%/g;
426
- const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
426
+ const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;
427
427
  const COMPONENT_VARIABLE = '%COMP%';
428
428
  const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
429
429
  const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
@@ -518,9 +518,9 @@ class DomRendererFactory2 {
518
518
  begin() { }
519
519
  end() { }
520
520
  }
521
- DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
522
- DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomRendererFactory2 });
523
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomRendererFactory2, decorators: [{
521
+ DomRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomRendererFactory2, deps: [{ token: EventManager }, { token: DomSharedStylesHost }, { token: APP_ID }], target: i0.ɵɵFactoryTarget.Injectable });
522
+ DomRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomRendererFactory2 });
523
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomRendererFactory2, decorators: [{
524
524
  type: Injectable
525
525
  }], ctorParameters: function () { return [{ type: EventManager }, { type: DomSharedStylesHost }, { type: undefined, decorators: [{
526
526
  type: Inject,
@@ -640,14 +640,14 @@ class DefaultDomRenderer2 {
640
640
  }
641
641
  }
642
642
  setProperty(el, name, value) {
643
- NG_DEV_MODE && checkNoSyntheticProp(name, 'property');
643
+ NG_DEV_MODE$1 && checkNoSyntheticProp(name, 'property');
644
644
  el[name] = value;
645
645
  }
646
646
  setValue(node, value) {
647
647
  node.nodeValue = value;
648
648
  }
649
649
  listen(target, event, callback) {
650
- NG_DEV_MODE && checkNoSyntheticProp(event, 'listener');
650
+ NG_DEV_MODE$1 && checkNoSyntheticProp(event, 'listener');
651
651
  if (typeof target === 'string') {
652
652
  return this.eventManager.addGlobalEventListener(target, event, decoratePreventDefault(callback));
653
653
  }
@@ -741,9 +741,9 @@ class DomEventsPlugin extends EventManagerPlugin {
741
741
  return target.removeEventListener(eventName, callback);
742
742
  }
743
743
  }
744
- DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
745
- DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomEventsPlugin });
746
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomEventsPlugin, decorators: [{
744
+ DomEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
745
+ DomEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomEventsPlugin });
746
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomEventsPlugin, decorators: [{
747
747
  type: Injectable
748
748
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
749
749
  type: Inject,
@@ -919,9 +919,9 @@ class KeyEventsPlugin extends EventManagerPlugin {
919
919
  }
920
920
  }
921
921
  }
922
- KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
923
- KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: KeyEventsPlugin });
924
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: KeyEventsPlugin, decorators: [{
922
+ KeyEventsPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: KeyEventsPlugin, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
923
+ KeyEventsPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: KeyEventsPlugin });
924
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: KeyEventsPlugin, decorators: [{
925
925
  type: Injectable
926
926
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
927
927
  type: Inject,
@@ -957,6 +957,7 @@ function getEventKey(event) {
957
957
  * Use of this source code is governed by an MIT-style license that can be
958
958
  * found in the LICENSE file at https://angular.io/license
959
959
  */
960
+ const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
960
961
  /**
961
962
  * Bootstraps an instance of an Angular application and renders a root component.
962
963
  *
@@ -1014,17 +1015,22 @@ const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [
1014
1015
  * @publicApi
1015
1016
  */
1016
1017
  const platformBrowser = createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
1018
+ /**
1019
+ * Internal marker to signal whether providers from the `BrowserModule` are already present in DI.
1020
+ * This is needed to avoid loading `BrowserModule` providers twice. We can't rely on the
1021
+ * `BrowserModule` presence itself, since the standalone-based bootstrap just imports
1022
+ * `BrowserModule` providers without referencing the module itself.
1023
+ */
1024
+ const BROWSER_MODULE_PROVIDERS_MARKER = new InjectionToken(NG_DEV_MODE ? 'BrowserModule Providers Marker' : '');
1017
1025
  const BROWSER_MODULE_PROVIDERS = [
1018
1026
  { provide: ɵINJECTOR_SCOPE, useValue: 'root' },
1019
- { provide: ErrorHandler, useFactory: errorHandler, deps: [] },
1020
- {
1027
+ { provide: ErrorHandler, useFactory: errorHandler, deps: [] }, {
1021
1028
  provide: EVENT_MANAGER_PLUGINS,
1022
1029
  useClass: DomEventsPlugin,
1023
1030
  multi: true,
1024
1031
  deps: [DOCUMENT, NgZone, PLATFORM_ID]
1025
1032
  },
1026
- { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] },
1027
- {
1033
+ { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [DOCUMENT] }, {
1028
1034
  provide: DomRendererFactory2,
1029
1035
  useClass: DomRendererFactory2,
1030
1036
  deps: [EventManager, DomSharedStylesHost, APP_ID]
@@ -1035,6 +1041,7 @@ const BROWSER_MODULE_PROVIDERS = [
1035
1041
  { provide: Testability, useClass: Testability, deps: [NgZone] },
1036
1042
  { provide: EventManager, useClass: EventManager, deps: [EVENT_MANAGER_PLUGINS, NgZone] },
1037
1043
  { provide: XhrFactory, useClass: BrowserXhr, deps: [] },
1044
+ NG_DEV_MODE ? { provide: BROWSER_MODULE_PROVIDERS_MARKER, useValue: true } : []
1038
1045
  ];
1039
1046
  /**
1040
1047
  * Exports required infrastructure for all Angular apps.
@@ -1046,9 +1053,10 @@ const BROWSER_MODULE_PROVIDERS = [
1046
1053
  * @publicApi
1047
1054
  */
1048
1055
  class BrowserModule {
1049
- constructor(parentModule) {
1050
- if (parentModule) {
1051
- throw new Error(`BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.`);
1056
+ constructor(providersAlreadyPresent) {
1057
+ if (NG_DEV_MODE && providersAlreadyPresent) {
1058
+ throw new Error(`Providers from the \`BrowserModule\` have already been loaded. If you need access ` +
1059
+ `to common directives such as NgIf and NgFor, import the \`CommonModule\` instead.`);
1052
1060
  }
1053
1061
  }
1054
1062
  /**
@@ -1070,19 +1078,22 @@ class BrowserModule {
1070
1078
  };
1071
1079
  }
1072
1080
  }
1073
- BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserModule, deps: [{ token: BrowserModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1074
- BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1075
- BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserModule, providers: BROWSER_MODULE_PROVIDERS, imports: [CommonModule, ApplicationModule] });
1076
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserModule, decorators: [{
1081
+ BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, deps: [{ token: BROWSER_MODULE_PROVIDERS_MARKER, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
1082
+ BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, exports: [CommonModule, ApplicationModule] });
1083
+ BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, providers: BROWSER_MODULE_PROVIDERS, imports: [CommonModule, ApplicationModule] });
1084
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserModule, decorators: [{
1077
1085
  type: NgModule,
1078
- args: [{ providers: BROWSER_MODULE_PROVIDERS, exports: [CommonModule, ApplicationModule] }]
1079
- }], ctorParameters: function () { return [{ type: BrowserModule, decorators: [{
1086
+ args: [{
1087
+ providers: BROWSER_MODULE_PROVIDERS,
1088
+ exports: [CommonModule, ApplicationModule],
1089
+ }]
1090
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1080
1091
  type: Optional
1081
1092
  }, {
1082
1093
  type: SkipSelf
1083
1094
  }, {
1084
1095
  type: Inject,
1085
- args: [BrowserModule]
1096
+ args: [BROWSER_MODULE_PROVIDERS_MARKER]
1086
1097
  }] }]; } });
1087
1098
 
1088
1099
  /**
@@ -1248,9 +1259,9 @@ class Meta {
1248
1259
  return META_KEYS_MAP[prop] || prop;
1249
1260
  }
1250
1261
  }
1251
- Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1252
- Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
1253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: Meta, decorators: [{
1262
+ Meta.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Meta, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1263
+ Meta.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Meta, providedIn: 'root', useFactory: createMeta, deps: [] });
1264
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Meta, decorators: [{
1254
1265
  type: Injectable,
1255
1266
  args: [{ providedIn: 'root', useFactory: createMeta, deps: [] }]
1256
1267
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1305,9 +1316,9 @@ class Title {
1305
1316
  this._doc.title = newTitle || '';
1306
1317
  }
1307
1318
  }
1308
- Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1309
- Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
1310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: Title, decorators: [{
1319
+ Title.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Title, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1320
+ Title.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Title, providedIn: 'root', useFactory: createTitle, deps: [] });
1321
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: Title, decorators: [{
1311
1322
  type: Injectable,
1312
1323
  args: [{ providedIn: 'root', useFactory: createTitle, deps: [] }]
1313
1324
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1574,9 +1585,9 @@ class TransferState {
1574
1585
  return JSON.stringify(this.store);
1575
1586
  }
1576
1587
  }
1577
- TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1578
- TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: TransferState });
1579
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: TransferState, decorators: [{
1588
+ TransferState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: TransferState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1589
+ TransferState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: TransferState });
1590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: TransferState, decorators: [{
1580
1591
  type: Injectable
1581
1592
  }] });
1582
1593
  function initTransferState(doc, appId) {
@@ -1603,10 +1614,10 @@ function initTransferState(doc, appId) {
1603
1614
  */
1604
1615
  class BrowserTransferStateModule {
1605
1616
  }
1606
- BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1607
- BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserTransferStateModule });
1608
- BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
1609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
1617
+ BrowserTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1618
+ BrowserTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule });
1619
+ BrowserTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule, providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }] });
1620
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: BrowserTransferStateModule, decorators: [{
1610
1621
  type: NgModule,
1611
1622
  args: [{
1612
1623
  providers: [{ provide: TransferState, useFactory: initTransferState, deps: [DOCUMENT, APP_ID] }],
@@ -1782,9 +1793,9 @@ class HammerGestureConfig {
1782
1793
  return mc;
1783
1794
  }
1784
1795
  }
1785
- HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1786
- HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: HammerGestureConfig });
1787
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: HammerGestureConfig, decorators: [{
1796
+ HammerGestureConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGestureConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1797
+ HammerGestureConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGestureConfig });
1798
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGestureConfig, decorators: [{
1788
1799
  type: Injectable
1789
1800
  }] });
1790
1801
  /**
@@ -1880,9 +1891,9 @@ class HammerGesturesPlugin extends EventManagerPlugin {
1880
1891
  return this._config.events.indexOf(eventName) > -1;
1881
1892
  }
1882
1893
  }
1883
- HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1884
- HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: HammerGesturesPlugin });
1885
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1894
+ HammerGesturesPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGesturesPlugin, deps: [{ token: DOCUMENT }, { token: HAMMER_GESTURE_CONFIG }, { token: i0.ɵConsole }, { token: HAMMER_LOADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1895
+ HammerGesturesPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGesturesPlugin });
1896
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerGesturesPlugin, decorators: [{
1886
1897
  type: Injectable
1887
1898
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1888
1899
  type: Inject,
@@ -1909,9 +1920,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15",
1909
1920
  */
1910
1921
  class HammerModule {
1911
1922
  }
1912
- HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1913
- HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: HammerModule });
1914
- HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: HammerModule, providers: [
1923
+ HammerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1924
+ HammerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule });
1925
+ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule, providers: [
1915
1926
  {
1916
1927
  provide: EVENT_MANAGER_PLUGINS,
1917
1928
  useClass: HammerGesturesPlugin,
@@ -1920,7 +1931,7 @@ HammerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
1920
1931
  },
1921
1932
  { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
1922
1933
  ] });
1923
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: HammerModule, decorators: [{
1934
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: HammerModule, decorators: [{
1924
1935
  type: NgModule,
1925
1936
  args: [{
1926
1937
  providers: [
@@ -1975,9 +1986,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15",
1975
1986
  */
1976
1987
  class DomSanitizer {
1977
1988
  }
1978
- DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1979
- DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
1980
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomSanitizer, decorators: [{
1989
+ DomSanitizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1990
+ DomSanitizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizer, providedIn: 'root', useExisting: i0.forwardRef(function () { return DomSanitizerImpl; }) });
1991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizer, decorators: [{
1981
1992
  type: Injectable,
1982
1993
  args: [{ providedIn: 'root', useExisting: forwardRef(() => DomSanitizerImpl) }]
1983
1994
  }] });
@@ -1996,28 +2007,28 @@ class DomSanitizerImpl extends DomSanitizer {
1996
2007
  case SecurityContext.NONE:
1997
2008
  return value;
1998
2009
  case SecurityContext.HTML:
1999
- if (ɵallowSanitizationBypassAndThrow(value, "HTML" /* Html */)) {
2010
+ if (ɵallowSanitizationBypassAndThrow(value, "HTML" /* BypassType.Html */)) {
2000
2011
  return ɵunwrapSafeValue(value);
2001
2012
  }
2002
2013
  return ɵ_sanitizeHtml(this._doc, String(value)).toString();
2003
2014
  case SecurityContext.STYLE:
2004
- if (ɵallowSanitizationBypassAndThrow(value, "Style" /* Style */)) {
2015
+ if (ɵallowSanitizationBypassAndThrow(value, "Style" /* BypassType.Style */)) {
2005
2016
  return ɵunwrapSafeValue(value);
2006
2017
  }
2007
2018
  return value;
2008
2019
  case SecurityContext.SCRIPT:
2009
- if (ɵallowSanitizationBypassAndThrow(value, "Script" /* Script */)) {
2020
+ if (ɵallowSanitizationBypassAndThrow(value, "Script" /* BypassType.Script */)) {
2010
2021
  return ɵunwrapSafeValue(value);
2011
2022
  }
2012
2023
  throw new Error('unsafe value used in a script context');
2013
2024
  case SecurityContext.URL:
2014
2025
  const type = ɵgetSanitizationBypassType(value);
2015
- if (ɵallowSanitizationBypassAndThrow(value, "URL" /* Url */)) {
2026
+ if (ɵallowSanitizationBypassAndThrow(value, "URL" /* BypassType.Url */)) {
2016
2027
  return ɵunwrapSafeValue(value);
2017
2028
  }
2018
2029
  return ɵ_sanitizeUrl(String(value));
2019
2030
  case SecurityContext.RESOURCE_URL:
2020
- if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* ResourceUrl */)) {
2031
+ if (ɵallowSanitizationBypassAndThrow(value, "ResourceURL" /* BypassType.ResourceUrl */)) {
2021
2032
  return ɵunwrapSafeValue(value);
2022
2033
  }
2023
2034
  throw new Error('unsafe value used in a resource URL context (see https://g.co/ng/security#xss)');
@@ -2041,9 +2052,9 @@ class DomSanitizerImpl extends DomSanitizer {
2041
2052
  return ɵbypassSanitizationTrustResourceUrl(value);
2042
2053
  }
2043
2054
  }
2044
- DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2045
- DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
2046
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2055
+ DomSanitizerImpl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizerImpl, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2056
+ DomSanitizerImpl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizerImpl, providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [{ token: Injector }] });
2057
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: DomSanitizerImpl, decorators: [{
2047
2058
  type: Injectable,
2048
2059
  args: [{ providedIn: 'root', useFactory: domSanitizerImplFactory, deps: [Injector] }]
2049
2060
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -2069,7 +2080,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15",
2069
2080
  /**
2070
2081
  * @publicApi
2071
2082
  */
2072
- const VERSION = new Version('14.0.0-next.15');
2083
+ const VERSION = new Version('14.0.0-next.16');
2073
2084
 
2074
2085
  /**
2075
2086
  * @license