@angular/platform-browser 8.0.0-rc.3 → 8.0.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.
Files changed (35) hide show
  1. package/animations/animations.d.ts +1 -1
  2. package/animations.d.ts +1 -1
  3. package/bundles/platform-browser-animations.umd.js +1 -1
  4. package/bundles/platform-browser-animations.umd.min.js +1 -1
  5. package/bundles/platform-browser-animations.umd.min.js.map +1 -1
  6. package/bundles/platform-browser-testing.umd.js +1 -1
  7. package/bundles/platform-browser-testing.umd.min.js +1 -1
  8. package/bundles/platform-browser-testing.umd.min.js.map +1 -1
  9. package/bundles/platform-browser.umd.js +125 -117
  10. package/bundles/platform-browser.umd.js.map +1 -1
  11. package/bundles/platform-browser.umd.min.js +8 -8
  12. package/bundles/platform-browser.umd.min.js.map +1 -1
  13. package/esm2015/src/browser/browser_adapter.js +18 -11
  14. package/esm2015/src/dom/debug/ng_probe.js +14 -9
  15. package/esm2015/src/dom/dom_renderer.js +7 -2
  16. package/esm2015/src/dom/events/dom_events.js +30 -20
  17. package/esm2015/src/version.js +1 -1
  18. package/esm5/src/browser/browser_adapter.js +11 -7
  19. package/esm5/src/dom/debug/ng_probe.js +11 -9
  20. package/esm5/src/dom/dom_renderer.js +4 -2
  21. package/esm5/src/dom/events/dom_events.js +17 -14
  22. package/esm5/src/version.js +1 -1
  23. package/fesm2015/animations.js +1 -1
  24. package/fesm2015/platform-browser.js +63 -39
  25. package/fesm2015/platform-browser.js.map +1 -1
  26. package/fesm2015/testing.js +1 -1
  27. package/fesm5/animations.js +1 -1
  28. package/fesm5/platform-browser.js +34 -26
  29. package/fesm5/platform-browser.js.map +1 -1
  30. package/fesm5/testing.js +1 -1
  31. package/package.json +3 -3
  32. package/platform-browser.d.ts +6 -5
  33. package/platform-browser.metadata.json +1 -1
  34. package/testing/testing.d.ts +1 -1
  35. package/testing.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v8.0.0-rc.3
2
+ * @license Angular v8.0.1
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -8,7 +8,7 @@
8
8
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core')) :
9
9
  typeof define === 'function' && define.amd ? define('@angular/platform-browser', ['exports', '@angular/common', '@angular/core'], factory) :
10
10
  (global = global || self, factory((global.ng = global.ng || {}, global.ng.platformBrowser = {}), global.ng.common, global.ng.core));
11
- }(this, function (exports, common, core) { 'use strict';
11
+ }(this, function (exports, common, i0) { 'use strict';
12
12
 
13
13
  /*! *****************************************************************************
14
14
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -248,12 +248,15 @@
248
248
  '\x60': '0',
249
249
  '\x90': 'NumLock'
250
250
  };
251
- var nodeContains;
252
- if (core.ɵglobal['Node']) {
253
- nodeContains = core.ɵglobal['Node'].prototype.contains || function (node) {
254
- return !!(this.compareDocumentPosition(node) & 16);
255
- };
256
- }
251
+ var ɵ0 = function () {
252
+ if (i0.ɵglobal['Node']) {
253
+ return i0.ɵglobal['Node'].prototype.contains || function (node) {
254
+ return !!(this.compareDocumentPosition(node) & 16);
255
+ };
256
+ }
257
+ return undefined;
258
+ };
259
+ var nodeContains = (ɵ0)();
257
260
  /**
258
261
  * A `DomAdapter` powered by full browser DOM APIs.
259
262
  *
@@ -702,8 +705,8 @@
702
705
  BrowserPlatformLocation.prototype.back = function () { this._history.back(); };
703
706
  BrowserPlatformLocation.prototype.getState = function () { return this._history.state; };
704
707
  BrowserPlatformLocation = __decorate([
705
- core.Injectable(),
706
- __param(0, core.Inject(common.DOCUMENT)),
708
+ i0.Injectable(),
709
+ __param(0, i0.Inject(common.DOCUMENT)),
707
710
  __metadata("design:paramtypes", [Object])
708
711
  ], BrowserPlatformLocation);
709
712
  return BrowserPlatformLocation;
@@ -720,12 +723,12 @@
720
723
  * An id that identifies a particular application being bootstrapped, that should
721
724
  * match across the client/server boundary.
722
725
  */
723
- var TRANSITION_ID = new core.InjectionToken('TRANSITION_ID');
726
+ var TRANSITION_ID = new i0.InjectionToken('TRANSITION_ID');
724
727
  function appInitializerFactory(transitionId, document, injector) {
725
728
  return function () {
726
729
  // Wait for all application initializers to be completed before removing the styles set by
727
730
  // the server.
728
- injector.get(core.ApplicationInitStatus).donePromise.then(function () {
731
+ injector.get(i0.ApplicationInitStatus).donePromise.then(function () {
729
732
  var dom = getDOM();
730
733
  var styles = Array.prototype.slice.apply(dom.querySelectorAll(document, "style[ng-transition]"));
731
734
  styles.filter(function (el) { return dom.getAttribute(el, 'ng-transition') === transitionId; })
@@ -735,9 +738,9 @@
735
738
  }
736
739
  var SERVER_TRANSITION_PROVIDERS = [
737
740
  {
738
- provide: core.APP_INITIALIZER,
741
+ provide: i0.APP_INITIALIZER,
739
742
  useFactory: appInitializerFactory,
740
- deps: [TRANSITION_ID, common.DOCUMENT, core.Injector],
743
+ deps: [TRANSITION_ID, common.DOCUMENT, i0.Injector],
741
744
  multi: true
742
745
  },
743
746
  ];
@@ -752,9 +755,9 @@
752
755
  var BrowserGetTestability = /** @class */ (function () {
753
756
  function BrowserGetTestability() {
754
757
  }
755
- BrowserGetTestability.init = function () { core.setTestabilityGetter(new BrowserGetTestability()); };
758
+ BrowserGetTestability.init = function () { i0.setTestabilityGetter(new BrowserGetTestability()); };
756
759
  BrowserGetTestability.prototype.addToWindow = function (registry) {
757
- core.ɵglobal['getAngularTestability'] = function (elem, findInAncestors) {
760
+ i0.ɵglobal['getAngularTestability'] = function (elem, findInAncestors) {
758
761
  if (findInAncestors === void 0) { findInAncestors = true; }
759
762
  var testability = registry.findTestabilityInTree(elem, findInAncestors);
760
763
  if (testability == null) {
@@ -762,10 +765,10 @@
762
765
  }
763
766
  return testability;
764
767
  };
765
- core.ɵglobal['getAllAngularTestabilities'] = function () { return registry.getAllTestabilities(); };
766
- core.ɵglobal['getAllAngularRootElements'] = function () { return registry.getAllRootElements(); };
768
+ i0.ɵglobal['getAllAngularTestabilities'] = function () { return registry.getAllTestabilities(); };
769
+ i0.ɵglobal['getAllAngularRootElements'] = function () { return registry.getAllRootElements(); };
767
770
  var whenAllStable = function (callback /** TODO #9100 */) {
768
- var testabilities = core.ɵglobal['getAllAngularTestabilities']();
771
+ var testabilities = i0.ɵglobal['getAllAngularTestabilities']();
769
772
  var count = testabilities.length;
770
773
  var didWork = false;
771
774
  var decrement = function (didWork_ /** TODO #9100 */) {
@@ -779,10 +782,10 @@
779
782
  testability.whenStable(decrement);
780
783
  });
781
784
  };
782
- if (!core.ɵglobal['frameworkStabilizers']) {
783
- core.ɵglobal['frameworkStabilizers'] = [];
785
+ if (!i0.ɵglobal['frameworkStabilizers']) {
786
+ i0.ɵglobal['frameworkStabilizers'] = [];
784
787
  }
785
- core.ɵglobal['frameworkStabilizers'].push(whenAllStable);
788
+ i0.ɵglobal['frameworkStabilizers'].push(whenAllStable);
786
789
  };
787
790
  BrowserGetTestability.prototype.findTestabilityInTree = function (registry, elem, findInAncestors) {
788
791
  if (elem == null) {
@@ -823,7 +826,7 @@
823
826
  // - closure declares globals itself for minified names, which sometimes clobber our `ng` global
824
827
  // - we can't declare a closure extern as the namespace `ng` is already used within Google
825
828
  // for typings for angularJS (via `goog.provide('ng....')`).
826
- var ng = core.ɵglobal['ng'] = core.ɵglobal['ng'] || {};
829
+ var ng = i0.ɵglobal['ng'] = i0.ɵglobal['ng'] || {};
827
830
  ng[name] = value;
828
831
  }
829
832
  }
@@ -835,10 +838,11 @@
835
838
  * Use of this source code is governed by an MIT-style license that can be
836
839
  * found in the LICENSE file at https://angular.io/license
837
840
  */
838
- var CORE_TOKENS = {
839
- 'ApplicationRef': core.ApplicationRef,
840
- 'NgZone': core.NgZone,
841
- };
841
+ var ɵ0$1 = function () { return ({
842
+ 'ApplicationRef': i0.ApplicationRef,
843
+ 'NgZone': i0.NgZone,
844
+ }); };
845
+ var CORE_TOKENS = (ɵ0$1)();
842
846
  var INSPECT_GLOBAL_NAME = 'probe';
843
847
  var CORE_TOKENS_GLOBAL_NAME = 'coreTokens';
844
848
  /**
@@ -847,7 +851,7 @@
847
851
  * with it.
848
852
  */
849
853
  function inspectNativeElement(element) {
850
- return core.getDebugNode(element);
854
+ return i0.getDebugNode(element);
851
855
  }
852
856
  function _createNgProbe(coreTokens) {
853
857
  exportNgVar(INSPECT_GLOBAL_NAME, inspectNativeElement);
@@ -870,10 +874,10 @@
870
874
  */
871
875
  var ELEMENT_PROBE_PROVIDERS__PRE_R3__ = [
872
876
  {
873
- provide: core.APP_INITIALIZER,
877
+ provide: i0.APP_INITIALIZER,
874
878
  useFactory: _createNgProbe,
875
879
  deps: [
876
- [core.NgProbeToken, new core.Optional()],
880
+ [i0.NgProbeToken, new i0.Optional()],
877
881
  ],
878
882
  multi: true,
879
883
  },
@@ -892,7 +896,7 @@
892
896
  *
893
897
  * @publicApi
894
898
  */
895
- var EVENT_MANAGER_PLUGINS = new core.InjectionToken('EventManagerPlugins');
899
+ var EVENT_MANAGER_PLUGINS = new i0.InjectionToken('EventManagerPlugins');
896
900
  /**
897
901
  * An injectable service that provides event management for Angular
898
902
  * through a browser plug-in.
@@ -957,9 +961,9 @@
957
961
  throw new Error("No event manager plugin found for event " + eventName);
958
962
  };
959
963
  EventManager = __decorate([
960
- core.Injectable(),
961
- __param(0, core.Inject(EVENT_MANAGER_PLUGINS)),
962
- __metadata("design:paramtypes", [Array, core.NgZone])
964
+ i0.Injectable(),
965
+ __param(0, i0.Inject(EVENT_MANAGER_PLUGINS)),
966
+ __metadata("design:paramtypes", [Array, i0.NgZone])
963
967
  ], EventManager);
964
968
  return EventManager;
965
969
  }());
@@ -1003,7 +1007,7 @@
1003
1007
  SharedStylesHost.prototype.onStylesAdded = function (additions) { };
1004
1008
  SharedStylesHost.prototype.getAllStyles = function () { return Array.from(this._stylesSet); };
1005
1009
  SharedStylesHost = __decorate([
1006
- core.Injectable()
1010
+ i0.Injectable()
1007
1011
  ], SharedStylesHost);
1008
1012
  return SharedStylesHost;
1009
1013
  }());
@@ -1036,8 +1040,8 @@
1036
1040
  };
1037
1041
  DomSharedStylesHost.prototype.ngOnDestroy = function () { this._styleNodes.forEach(function (styleNode) { return getDOM().remove(styleNode); }); };
1038
1042
  DomSharedStylesHost = __decorate([
1039
- core.Injectable(),
1040
- __param(0, core.Inject(common.DOCUMENT)),
1043
+ i0.Injectable(),
1044
+ __param(0, i0.Inject(common.DOCUMENT)),
1041
1045
  __metadata("design:paramtypes", [Object])
1042
1046
  ], DomSharedStylesHost);
1043
1047
  return DomSharedStylesHost;
@@ -1103,7 +1107,7 @@
1103
1107
  return this.defaultRenderer;
1104
1108
  }
1105
1109
  switch (type.encapsulation) {
1106
- case core.ViewEncapsulation.Emulated: {
1110
+ case i0.ViewEncapsulation.Emulated: {
1107
1111
  var renderer = this.rendererByCompId.get(type.id);
1108
1112
  if (!renderer) {
1109
1113
  renderer = new EmulatedEncapsulationDomRenderer2(this.eventManager, this.sharedStylesHost, type, this.appId);
@@ -1112,8 +1116,8 @@
1112
1116
  renderer.applyToHost(element);
1113
1117
  return renderer;
1114
1118
  }
1115
- case core.ViewEncapsulation.Native:
1116
- case core.ViewEncapsulation.ShadowDom:
1119
+ case i0.ViewEncapsulation.Native:
1120
+ case i0.ViewEncapsulation.ShadowDom:
1117
1121
  return new ShadowDomRenderer(this.eventManager, this.sharedStylesHost, element, type);
1118
1122
  default: {
1119
1123
  if (!this.rendererByCompId.has(type.id)) {
@@ -1128,8 +1132,8 @@
1128
1132
  DomRendererFactory2.prototype.begin = function () { };
1129
1133
  DomRendererFactory2.prototype.end = function () { };
1130
1134
  DomRendererFactory2 = __decorate([
1131
- core.Injectable(),
1132
- __param(2, core.Inject(core.APP_ID)),
1135
+ i0.Injectable(),
1136
+ __param(2, i0.Inject(i0.APP_ID)),
1133
1137
  __metadata("design:paramtypes", [EventManager, DomSharedStylesHost, String])
1134
1138
  ], DomRendererFactory2);
1135
1139
  return DomRendererFactory2;
@@ -1213,15 +1217,15 @@
1213
1217
  DefaultDomRenderer2.prototype.addClass = function (el, name) { el.classList.add(name); };
1214
1218
  DefaultDomRenderer2.prototype.removeClass = function (el, name) { el.classList.remove(name); };
1215
1219
  DefaultDomRenderer2.prototype.setStyle = function (el, style, value, flags) {
1216
- if (flags & core.RendererStyleFlags2.DashCase) {
1217
- el.style.setProperty(style, value, !!(flags & core.RendererStyleFlags2.Important) ? 'important' : '');
1220
+ if (flags & i0.RendererStyleFlags2.DashCase) {
1221
+ el.style.setProperty(style, value, !!(flags & i0.RendererStyleFlags2.Important) ? 'important' : '');
1218
1222
  }
1219
1223
  else {
1220
1224
  el.style[style] = value;
1221
1225
  }
1222
1226
  };
1223
1227
  DefaultDomRenderer2.prototype.removeStyle = function (el, style, flags) {
1224
- if (flags & core.RendererStyleFlags2.DashCase) {
1228
+ if (flags & i0.RendererStyleFlags2.DashCase) {
1225
1229
  el.style.removeProperty(style);
1226
1230
  }
1227
1231
  else {
@@ -1244,7 +1248,8 @@
1244
1248
  };
1245
1249
  return DefaultDomRenderer2;
1246
1250
  }());
1247
- var AT_CHARCODE = '@'.charCodeAt(0);
1251
+ var ɵ0$2 = function () { return '@'.charCodeAt(0); };
1252
+ var AT_CHARCODE = (ɵ0$2)();
1248
1253
  function checkNoSyntheticProp(name, nameKind) {
1249
1254
  if (name.charCodeAt(0) === AT_CHARCODE) {
1250
1255
  throw new Error("Found the synthetic " + nameKind + " " + name + ". Please include either \"BrowserAnimationsModule\" or \"NoopAnimationsModule\" in your application.");
@@ -1276,7 +1281,7 @@
1276
1281
  _this.sharedStylesHost = sharedStylesHost;
1277
1282
  _this.hostEl = hostEl;
1278
1283
  _this.component = component;
1279
- if (component.encapsulation === core.ViewEncapsulation.ShadowDom) {
1284
+ if (component.encapsulation === i0.ViewEncapsulation.ShadowDom) {
1280
1285
  _this.shadowRoot = hostEl.attachShadow({ mode: 'open' });
1281
1286
  }
1282
1287
  else {
@@ -1315,16 +1320,15 @@
1315
1320
  * Use of this source code is governed by an MIT-style license that can be
1316
1321
  * found in the LICENSE file at https://angular.io/license
1317
1322
  */
1318
- var ɵ0 = function (v) {
1319
- return '__zone_symbol__' + v;
1320
- };
1323
+ var ɵ0$3 = function () { return (typeof Zone !== 'undefined') && Zone['__symbol__'] ||
1324
+ function (v) { return '__zone_symbol__' + v; }; };
1321
1325
  /**
1322
1326
  * Detect if Zone is present. If it is then use simple zone aware 'addEventListener'
1323
1327
  * since Angular can do much more
1324
1328
  * efficient bookkeeping than Zone can, because we have additional information. This speeds up
1325
1329
  * addEventListener by 3x.
1326
1330
  */
1327
- var __symbol__ = (typeof Zone !== 'undefined') && Zone['__symbol__'] || ɵ0;
1331
+ var __symbol__ = (ɵ0$3)();
1328
1332
  var ADD_EVENT_LISTENER = __symbol__('addEventListener');
1329
1333
  var REMOVE_EVENT_LISTENER = __symbol__('removeEventListener');
1330
1334
  var symbolNames = {};
@@ -1335,12 +1339,16 @@
1335
1339
  // use the same symbol string which is used in zone.js
1336
1340
  var stopSymbol = '__zone_symbol__propagationStopped';
1337
1341
  var stopMethodSymbol = '__zone_symbol__stopImmediatePropagation';
1338
- var blackListedEvents = (typeof Zone !== 'undefined') && Zone[__symbol__('BLACK_LISTED_EVENTS')];
1339
- var blackListedMap;
1340
- if (blackListedEvents) {
1341
- blackListedMap = {};
1342
- blackListedEvents.forEach(function (eventName) { blackListedMap[eventName] = eventName; });
1343
- }
1342
+ var ɵ1 = function () {
1343
+ var blackListedEvents = (typeof Zone !== 'undefined') && Zone[__symbol__('BLACK_LISTED_EVENTS')];
1344
+ if (blackListedEvents) {
1345
+ var res_1 = {};
1346
+ blackListedEvents.forEach(function (eventName) { res_1[eventName] = eventName; });
1347
+ return res_1;
1348
+ }
1349
+ return undefined;
1350
+ };
1351
+ var blackListedMap = (ɵ1)();
1344
1352
  var isBlackListedEvent = function (eventName) {
1345
1353
  if (!blackListedMap) {
1346
1354
  return false;
@@ -1430,7 +1438,7 @@
1430
1438
  var callback = handler;
1431
1439
  // if zonejs is loaded and current zone is not ngZone
1432
1440
  // we keep Zone.current on target for later restoration.
1433
- if (zoneJsLoaded && (!core.NgZone.isInAngularZone() || isBlackListedEvent(eventName))) {
1441
+ if (zoneJsLoaded && (!i0.NgZone.isInAngularZone() || isBlackListedEvent(eventName))) {
1434
1442
  var symbolName = symbolNames[eventName];
1435
1443
  if (!symbolName) {
1436
1444
  symbolName = symbolNames[eventName] = __symbol__(ANGULAR + eventName + FALSE);
@@ -1502,10 +1510,10 @@
1502
1510
  }
1503
1511
  };
1504
1512
  DomEventsPlugin = __decorate([
1505
- core.Injectable(),
1506
- __param(0, core.Inject(common.DOCUMENT)),
1507
- __param(2, core.Optional()), __param(2, core.Inject(core.PLATFORM_ID)),
1508
- __metadata("design:paramtypes", [Object, core.NgZone, Object])
1513
+ i0.Injectable(),
1514
+ __param(0, i0.Inject(common.DOCUMENT)),
1515
+ __param(2, i0.Optional()), __param(2, i0.Inject(i0.PLATFORM_ID)),
1516
+ __metadata("design:paramtypes", [Object, i0.NgZone, Object])
1509
1517
  ], DomEventsPlugin);
1510
1518
  return DomEventsPlugin;
1511
1519
  }(EventManagerPlugin));
@@ -1563,13 +1571,13 @@
1563
1571
  *
1564
1572
  * @publicApi
1565
1573
  */
1566
- var HAMMER_GESTURE_CONFIG = new core.InjectionToken('HammerGestureConfig');
1574
+ var HAMMER_GESTURE_CONFIG = new i0.InjectionToken('HammerGestureConfig');
1567
1575
  /**
1568
1576
  * Injection token used to provide a {@link HammerLoader} to Angular.
1569
1577
  *
1570
1578
  * @publicApi
1571
1579
  */
1572
- var HAMMER_LOADER = new core.InjectionToken('HammerLoader');
1580
+ var HAMMER_LOADER = new i0.InjectionToken('HammerLoader');
1573
1581
  /**
1574
1582
  * An injectable [HammerJS Manager](http://hammerjs.github.io/api/#hammer.manager)
1575
1583
  * for gesture recognition. Configures specific event recognition.
@@ -1617,7 +1625,7 @@
1617
1625
  return mc;
1618
1626
  };
1619
1627
  HammerGestureConfig = __decorate([
1620
- core.Injectable()
1628
+ i0.Injectable()
1621
1629
  ], HammerGestureConfig);
1622
1630
  return HammerGestureConfig;
1623
1631
  }());
@@ -1695,11 +1703,11 @@
1695
1703
  };
1696
1704
  HammerGesturesPlugin.prototype.isCustomEvent = function (eventName) { return this._config.events.indexOf(eventName) > -1; };
1697
1705
  HammerGesturesPlugin = __decorate([
1698
- core.Injectable(),
1699
- __param(0, core.Inject(common.DOCUMENT)),
1700
- __param(1, core.Inject(HAMMER_GESTURE_CONFIG)),
1701
- __param(3, core.Optional()), __param(3, core.Inject(HAMMER_LOADER)),
1702
- __metadata("design:paramtypes", [Object, HammerGestureConfig, core.ɵConsole, Object])
1706
+ i0.Injectable(),
1707
+ __param(0, i0.Inject(common.DOCUMENT)),
1708
+ __param(1, i0.Inject(HAMMER_GESTURE_CONFIG)),
1709
+ __param(3, i0.Optional()), __param(3, i0.Inject(HAMMER_LOADER)),
1710
+ __metadata("design:paramtypes", [Object, HammerGestureConfig, i0.ɵConsole, Object])
1703
1711
  ], HammerGesturesPlugin);
1704
1712
  return HammerGesturesPlugin;
1705
1713
  }(EventManagerPlugin));
@@ -1715,13 +1723,13 @@
1715
1723
  * Defines supported modifiers for key events.
1716
1724
  */
1717
1725
  var MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];
1718
- var ɵ0$1 = function (event) { return event.altKey; }, ɵ1 = function (event) { return event.ctrlKey; }, ɵ2 = function (event) { return event.metaKey; }, ɵ3 = function (event) { return event.shiftKey; };
1726
+ var ɵ0$4 = function (event) { return event.altKey; }, ɵ1$1 = function (event) { return event.ctrlKey; }, ɵ2 = function (event) { return event.metaKey; }, ɵ3 = function (event) { return event.shiftKey; };
1719
1727
  /**
1720
1728
  * Retrieves modifiers from key-event objects.
1721
1729
  */
1722
1730
  var MODIFIER_KEY_GETTERS = {
1723
- 'alt': ɵ0$1,
1724
- 'control': ɵ1,
1731
+ 'alt': ɵ0$4,
1732
+ 'control': ɵ1$1,
1725
1733
  'meta': ɵ2,
1726
1734
  'shift': ɵ3
1727
1735
  };
@@ -1832,8 +1840,8 @@
1832
1840
  };
1833
1841
  var KeyEventsPlugin_1;
1834
1842
  KeyEventsPlugin = KeyEventsPlugin_1 = __decorate([
1835
- core.Injectable(),
1836
- __param(0, core.Inject(common.DOCUMENT)),
1843
+ i0.Injectable(),
1844
+ __param(0, i0.Inject(common.DOCUMENT)),
1837
1845
  __metadata("design:paramtypes", [Object])
1838
1846
  ], KeyEventsPlugin);
1839
1847
  return KeyEventsPlugin;
@@ -1893,31 +1901,31 @@
1893
1901
  if (value == null)
1894
1902
  return null;
1895
1903
  switch (ctx) {
1896
- case core.SecurityContext.NONE:
1904
+ case i0.SecurityContext.NONE:
1897
1905
  return value;
1898
- case core.SecurityContext.HTML:
1906
+ case i0.SecurityContext.HTML:
1899
1907
  if (value instanceof SafeHtmlImpl)
1900
1908
  return value.changingThisBreaksApplicationSecurity;
1901
1909
  this.checkNotSafeValue(value, 'HTML');
1902
- return core.ɵ_sanitizeHtml(this._doc, String(value));
1903
- case core.SecurityContext.STYLE:
1910
+ return i0.ɵ_sanitizeHtml(this._doc, String(value));
1911
+ case i0.SecurityContext.STYLE:
1904
1912
  if (value instanceof SafeStyleImpl)
1905
1913
  return value.changingThisBreaksApplicationSecurity;
1906
1914
  this.checkNotSafeValue(value, 'Style');
1907
- return core.ɵ_sanitizeStyle(value);
1908
- case core.SecurityContext.SCRIPT:
1915
+ return i0.ɵ_sanitizeStyle(value);
1916
+ case i0.SecurityContext.SCRIPT:
1909
1917
  if (value instanceof SafeScriptImpl)
1910
1918
  return value.changingThisBreaksApplicationSecurity;
1911
1919
  this.checkNotSafeValue(value, 'Script');
1912
1920
  throw new Error('unsafe value used in a script context');
1913
- case core.SecurityContext.URL:
1921
+ case i0.SecurityContext.URL:
1914
1922
  if (value instanceof SafeResourceUrlImpl || value instanceof SafeUrlImpl) {
1915
1923
  // Allow resource URLs in URL contexts, they are strictly more trusted.
1916
1924
  return value.changingThisBreaksApplicationSecurity;
1917
1925
  }
1918
1926
  this.checkNotSafeValue(value, 'URL');
1919
- return core.ɵ_sanitizeUrl(String(value));
1920
- case core.SecurityContext.RESOURCE_URL:
1927
+ return i0.ɵ_sanitizeUrl(String(value));
1928
+ case i0.SecurityContext.RESOURCE_URL:
1921
1929
  if (value instanceof SafeResourceUrlImpl) {
1922
1930
  return value.changingThisBreaksApplicationSecurity;
1923
1931
  }
@@ -1941,8 +1949,8 @@
1941
1949
  return new SafeResourceUrlImpl(value);
1942
1950
  };
1943
1951
  DomSanitizerImpl = __decorate([
1944
- core.Injectable(),
1945
- __param(0, core.Inject(common.DOCUMENT)),
1952
+ i0.Injectable(),
1953
+ __param(0, i0.Inject(common.DOCUMENT)),
1946
1954
  __metadata("design:paramtypes", [Object])
1947
1955
  ], DomSanitizerImpl);
1948
1956
  return DomSanitizerImpl;
@@ -2006,10 +2014,10 @@
2006
2014
  * Use of this source code is governed by an MIT-style license that can be
2007
2015
  * found in the LICENSE file at https://angular.io/license
2008
2016
  */
2009
- var ɵ0$2 = common.ɵPLATFORM_BROWSER_ID;
2017
+ var ɵ0$5 = common.ɵPLATFORM_BROWSER_ID;
2010
2018
  var INTERNAL_BROWSER_PLATFORM_PROVIDERS = [
2011
- { provide: core.PLATFORM_ID, useValue: ɵ0$2 },
2012
- { provide: core.PLATFORM_INITIALIZER, useValue: initDomAdapter, multi: true },
2019
+ { provide: i0.PLATFORM_ID, useValue: ɵ0$5 },
2020
+ { provide: i0.PLATFORM_INITIALIZER, useValue: initDomAdapter, multi: true },
2013
2021
  { provide: common.PlatformLocation, useClass: BrowserPlatformLocation, deps: [common.DOCUMENT] },
2014
2022
  { provide: common.DOCUMENT, useFactory: _document, deps: [] },
2015
2023
  ];
@@ -2020,51 +2028,51 @@
2020
2028
  * @publicApi
2021
2029
  */
2022
2030
  var BROWSER_SANITIZATION_PROVIDERS = [
2023
- { provide: core.Sanitizer, useExisting: DomSanitizer },
2031
+ { provide: i0.Sanitizer, useExisting: DomSanitizer },
2024
2032
  { provide: DomSanitizer, useClass: DomSanitizerImpl, deps: [common.DOCUMENT] },
2025
2033
  ];
2026
2034
  /**
2027
2035
  * @publicApi
2028
2036
  */
2029
- var platformBrowser = core.createPlatformFactory(core.platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
2037
+ var platformBrowser = i0.createPlatformFactory(i0.platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
2030
2038
  function initDomAdapter() {
2031
2039
  BrowserDomAdapter.makeCurrent();
2032
2040
  BrowserGetTestability.init();
2033
2041
  }
2034
2042
  function errorHandler() {
2035
- return new core.ErrorHandler();
2043
+ return new i0.ErrorHandler();
2036
2044
  }
2037
2045
  function _document() {
2038
2046
  return document;
2039
2047
  }
2040
2048
  var BROWSER_MODULE_PROVIDERS = [
2041
2049
  BROWSER_SANITIZATION_PROVIDERS,
2042
- { provide: core.ɵAPP_ROOT, useValue: true },
2043
- { provide: core.ErrorHandler, useFactory: errorHandler, deps: [] },
2050
+ { provide: i0.ɵAPP_ROOT, useValue: true },
2051
+ { provide: i0.ErrorHandler, useFactory: errorHandler, deps: [] },
2044
2052
  {
2045
2053
  provide: EVENT_MANAGER_PLUGINS,
2046
2054
  useClass: DomEventsPlugin,
2047
2055
  multi: true,
2048
- deps: [common.DOCUMENT, core.NgZone, core.PLATFORM_ID]
2056
+ deps: [common.DOCUMENT, i0.NgZone, i0.PLATFORM_ID]
2049
2057
  },
2050
2058
  { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true, deps: [common.DOCUMENT] },
2051
2059
  {
2052
2060
  provide: EVENT_MANAGER_PLUGINS,
2053
2061
  useClass: HammerGesturesPlugin,
2054
2062
  multi: true,
2055
- deps: [common.DOCUMENT, HAMMER_GESTURE_CONFIG, core.ɵConsole, [new core.Optional(), HAMMER_LOADER]]
2063
+ deps: [common.DOCUMENT, HAMMER_GESTURE_CONFIG, i0.ɵConsole, [new i0.Optional(), HAMMER_LOADER]]
2056
2064
  },
2057
2065
  { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig, deps: [] },
2058
2066
  {
2059
2067
  provide: DomRendererFactory2,
2060
2068
  useClass: DomRendererFactory2,
2061
- deps: [EventManager, DomSharedStylesHost, core.APP_ID]
2069
+ deps: [EventManager, DomSharedStylesHost, i0.APP_ID]
2062
2070
  },
2063
- { provide: core.RendererFactory2, useExisting: DomRendererFactory2 },
2071
+ { provide: i0.RendererFactory2, useExisting: DomRendererFactory2 },
2064
2072
  { provide: SharedStylesHost, useExisting: DomSharedStylesHost },
2065
2073
  { provide: DomSharedStylesHost, useClass: DomSharedStylesHost, deps: [common.DOCUMENT] },
2066
- { provide: core.Testability, useClass: core.Testability, deps: [core.NgZone] },
2067
- { provide: EventManager, useClass: EventManager, deps: [EVENT_MANAGER_PLUGINS, core.NgZone] },
2074
+ { provide: i0.Testability, useClass: i0.Testability, deps: [i0.NgZone] },
2075
+ { provide: EventManager, useClass: EventManager, deps: [EVENT_MANAGER_PLUGINS, i0.NgZone] },
2068
2076
  ELEMENT_PROBE_PROVIDERS,
2069
2077
  ];
2070
2078
  /**
@@ -2095,16 +2103,16 @@
2095
2103
  return {
2096
2104
  ngModule: BrowserModule_1,
2097
2105
  providers: [
2098
- { provide: core.APP_ID, useValue: params.appId },
2099
- { provide: TRANSITION_ID, useExisting: core.APP_ID },
2106
+ { provide: i0.APP_ID, useValue: params.appId },
2107
+ { provide: TRANSITION_ID, useExisting: i0.APP_ID },
2100
2108
  SERVER_TRANSITION_PROVIDERS,
2101
2109
  ],
2102
2110
  };
2103
2111
  };
2104
2112
  var BrowserModule_1;
2105
2113
  BrowserModule = BrowserModule_1 = __decorate([
2106
- core.NgModule({ providers: BROWSER_MODULE_PROVIDERS, exports: [common.CommonModule, core.ApplicationModule] }),
2107
- __param(0, core.Optional()), __param(0, core.SkipSelf()), __param(0, core.Inject(BrowserModule_1)),
2114
+ i0.NgModule({ providers: BROWSER_MODULE_PROVIDERS, exports: [common.CommonModule, i0.ApplicationModule] }),
2115
+ __param(0, i0.Optional()), __param(0, i0.SkipSelf()), __param(0, i0.Inject(BrowserModule_1)),
2108
2116
  __metadata("design:paramtypes", [Object])
2109
2117
  ], BrowserModule);
2110
2118
  return BrowserModule;
@@ -2114,7 +2122,7 @@
2114
2122
  * Factory to create Meta service.
2115
2123
  */
2116
2124
  function createMeta() {
2117
- return new Meta(core.ɵɵinject(common.DOCUMENT));
2125
+ return new Meta(i0.ɵɵinject(common.DOCUMENT));
2118
2126
  }
2119
2127
  /**
2120
2128
  * A service that can be used to get and add meta tags.
@@ -2201,10 +2209,10 @@
2201
2209
  var _this = this;
2202
2210
  return Object.keys(tag).every(function (key) { return _this._dom.getAttribute(elem, key) === tag[key]; });
2203
2211
  };
2204
- Meta.ngInjectableDef = core.ɵɵdefineInjectable({ factory: createMeta, token: Meta, providedIn: "root" });
2212
+ Meta.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: createMeta, token: Meta, providedIn: "root" });
2205
2213
  Meta = __decorate([
2206
- core.Injectable({ providedIn: 'root', useFactory: createMeta, deps: [] }),
2207
- __param(0, core.Inject(common.DOCUMENT)),
2214
+ i0.Injectable({ providedIn: 'root', useFactory: createMeta, deps: [] }),
2215
+ __param(0, i0.Inject(common.DOCUMENT)),
2208
2216
  __metadata("design:paramtypes", [Object])
2209
2217
  ], Meta);
2210
2218
  return Meta;
@@ -2214,7 +2222,7 @@
2214
2222
  * Factory to create Title service.
2215
2223
  */
2216
2224
  function createTitle() {
2217
- return new Title(core.ɵɵinject(common.DOCUMENT));
2225
+ return new Title(i0.ɵɵinject(common.DOCUMENT));
2218
2226
  }
2219
2227
  /**
2220
2228
  * A service that can be used to get and set the title of a current HTML document.
@@ -2239,10 +2247,10 @@
2239
2247
  * @param newTitle
2240
2248
  */
2241
2249
  Title.prototype.setTitle = function (newTitle) { getDOM().setTitle(this._doc, newTitle); };
2242
- Title.ngInjectableDef = core.ɵɵdefineInjectable({ factory: createTitle, token: Title, providedIn: "root" });
2250
+ Title.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: createTitle, token: Title, providedIn: "root" });
2243
2251
  Title = __decorate([
2244
- core.Injectable({ providedIn: 'root', useFactory: createTitle, deps: [] }),
2245
- __param(0, core.Inject(common.DOCUMENT)),
2252
+ i0.Injectable({ providedIn: 'root', useFactory: createTitle, deps: [] }),
2253
+ __param(0, i0.Inject(common.DOCUMENT)),
2246
2254
  __metadata("design:paramtypes", [Object])
2247
2255
  ], Title);
2248
2256
  return Title;
@@ -2277,7 +2285,7 @@
2277
2285
  */
2278
2286
  var AngularProfiler = /** @class */ (function () {
2279
2287
  function AngularProfiler(ref) {
2280
- this.appRef = ref.injector.get(core.ApplicationRef);
2288
+ this.appRef = ref.injector.get(i0.ApplicationRef);
2281
2289
  }
2282
2290
  // tslint:disable:no-console
2283
2291
  /**
@@ -2468,7 +2476,7 @@
2468
2476
  };
2469
2477
  var TransferState_1;
2470
2478
  TransferState = TransferState_1 = __decorate([
2471
- core.Injectable()
2479
+ i0.Injectable()
2472
2480
  ], TransferState);
2473
2481
  return TransferState;
2474
2482
  }());
@@ -2497,8 +2505,8 @@
2497
2505
  function BrowserTransferStateModule() {
2498
2506
  }
2499
2507
  BrowserTransferStateModule = __decorate([
2500
- core.NgModule({
2501
- providers: [{ provide: TransferState, useFactory: initTransferState, deps: [common.DOCUMENT, core.APP_ID] }],
2508
+ i0.NgModule({
2509
+ providers: [{ provide: TransferState, useFactory: initTransferState, deps: [common.DOCUMENT, i0.APP_ID] }],
2502
2510
  })
2503
2511
  ], BrowserTransferStateModule);
2504
2512
  return BrowserTransferStateModule;
@@ -2575,7 +2583,7 @@
2575
2583
  /**
2576
2584
  * @publicApi
2577
2585
  */
2578
- var VERSION = new core.Version('8.0.0-rc.3');
2586
+ var VERSION = new i0.Version('8.0.1');
2579
2587
 
2580
2588
  /**
2581
2589
  * @license