@angular/platform-browser 7.2.9 → 7.2.13

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 (34) hide show
  1. package/animations.d.ts +1 -1
  2. package/bundles/platform-browser-animations.umd.js +1 -1
  3. package/bundles/platform-browser-animations.umd.min.js +1 -1
  4. package/bundles/platform-browser-animations.umd.min.js.map +1 -1
  5. package/bundles/platform-browser-testing.umd.js +1 -1
  6. package/bundles/platform-browser-testing.umd.js.map +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 +12 -11
  10. package/bundles/platform-browser.umd.js.map +1 -1
  11. package/bundles/platform-browser.umd.min.js +5 -5
  12. package/bundles/platform-browser.umd.min.js.map +1 -1
  13. package/esm2015/src/browser.js +2 -2
  14. package/esm2015/src/dom/dom_renderer.js +18 -10
  15. package/esm2015/src/version.js +1 -1
  16. package/esm2015/testing/src/browser_util.js +3 -3
  17. package/esm5/src/browser.js +2 -2
  18. package/esm5/src/dom/dom_renderer.js +11 -10
  19. package/esm5/src/version.js +1 -1
  20. package/esm5/testing/src/browser_util.js +3 -3
  21. package/fesm2015/animations.js +1 -1
  22. package/fesm2015/platform-browser.js +15 -12
  23. package/fesm2015/platform-browser.js.map +1 -1
  24. package/fesm2015/testing.js +1 -1
  25. package/fesm2015/testing.js.map +1 -1
  26. package/fesm5/animations.js +1 -1
  27. package/fesm5/platform-browser.js +13 -12
  28. package/fesm5/platform-browser.js.map +1 -1
  29. package/fesm5/testing.js +1 -1
  30. package/fesm5/testing.js.map +1 -1
  31. package/package.json +3 -3
  32. package/platform-browser.metadata.json +1 -1
  33. package/src/dom/dom_renderer.d.ts +2 -1
  34. package/testing.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v7.2.9
2
+ * @license Angular v7.2.13
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -69,21 +69,21 @@ function R(t,e){"undefined"!=typeof COMPILED&&COMPILED||((n.ɵglobal.ng=n.ɵglob
69
69
  *
70
70
  * Use of this source code is governed by an MIT-style license that can be
71
71
  * found in the LICENSE file at https://angular.io/license
72
- */var O={ApplicationRef:n.ApplicationRef,NgZone:n.NgZone},L="probe",P="coreTokens";function D(t){return n.getDebugNode(t)}function M(t){return R(L,D),R(P,i({},O,function e(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}(t||[]))),function(){return D}}var k=[{provide:n.APP_INITIALIZER,useFactory:M,deps:[[n.NgProbeToken,new n.Optional]],multi:!0}],j=new n.InjectionToken("EventManagerPlugins"),x=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,o=0;o<n.length;o++){var r=n[o];if(r.supports(t))return this._eventNameToPlugin.set(t,r),r}throw new Error("No event manager plugin found for event "+t)},a([n.Injectable(),u(0,n.Inject(j)),s("design:paramtypes",[Array,n.NgZone])],t)}(),H=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var o=l().getGlobalEventTarget(this._doc,t);if(!o)throw new Error("Unsupported event target "+o+" for event "+e);return this.addEventListener(o,e,n)},t}(),B=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},a([n.Injectable()],t)}(),z=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return r(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var o=n._doc.createElement("style");o.textContent=t,n._styleNodes.add(e.appendChild(o))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return l().remove(t)})},a([n.Injectable(),u(0,n.Inject(E)),s("design:paramtypes",[Object])],e)}(B),V={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},F=/%COMP%/g,U="_nghost-%COMP%",Z="_ngcontent-%COMP%";
72
+ */var O={ApplicationRef:n.ApplicationRef,NgZone:n.NgZone},P="probe",L="coreTokens";function D(t){return n.getDebugNode(t)}function M(t){return R(P,D),R(L,i({},O,function e(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}(t||[]))),function(){return D}}var k=[{provide:n.APP_INITIALIZER,useFactory:M,deps:[[n.NgProbeToken,new n.Optional]],multi:!0}],j=new n.InjectionToken("EventManagerPlugins"),x=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,o=0;o<n.length;o++){var r=n[o];if(r.supports(t))return this._eventNameToPlugin.set(t,r),r}throw new Error("No event manager plugin found for event "+t)},a([n.Injectable(),u(0,n.Inject(j)),s("design:paramtypes",[Array,n.NgZone])],t)}(),H=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var o=l().getGlobalEventTarget(this._doc,t);if(!o)throw new Error("Unsupported event target "+o+" for event "+e);return this.addEventListener(o,e,n)},t}(),B=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},a([n.Injectable()],t)}(),z=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return r(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var o=n._doc.createElement("style");o.textContent=t,n._styleNodes.add(e.appendChild(o))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return l().remove(t)})},a([n.Injectable(),u(0,n.Inject(E)),s("design:paramtypes",[Object])],e)}(B),V={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},F=/%COMP%/g,U="_nghost-%COMP%",Z="_ngcontent-%COMP%";
73
73
  /**
74
74
  * @license
75
75
  * Copyright Google Inc. All Rights Reserved.
76
76
  *
77
77
  * Use of this source code is governed by an MIT-style license that can be
78
78
  * found in the LICENSE file at https://angular.io/license
79
- */function G(t){return Z.replace(F,t)}function K(t){return U.replace(F,t)}function q(t,e,n){for(var o=0;o<e.length;o++){var r=e[o];Array.isArray(r)?q(t,r,n):(r=r.replace(F,t),n.push(r))}return n}function W(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var J=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new X(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case n.ViewEncapsulation.Emulated:var o=this.rendererByCompId.get(e.id);return o||(o=new tt(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,o)),o.applyToHost(t),o;case n.ViewEncapsulation.Native:case n.ViewEncapsulation.ShadowDom:return new et(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=q(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},a([n.Injectable(),s("design:paramtypes",[x,z])],t)}(),X=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(V[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,o){if(o){e=o+":"+e;var r=V[o];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var o=V[n];o?t.removeAttributeNS(o,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,o,r){r&n.RendererStyleFlags2.DashCase?t.style.setProperty(e,o,r&n.RendererStyleFlags2.Important?"important":""):t.style[e]=o},t.prototype.removeStyle=function(t,e,o){o&n.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Q(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Q(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,W(n)):this.eventManager.addEventListener(t,e,W(n))},t}(),Y="@".charCodeAt(0);function Q(t,e){if(t.charCodeAt(0)===Y)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var $,tt=function(t){function e(e,n,o){var r=t.call(this,e)||this;r.component=o;var i=q(o.id,o.styles,[]);return n.addStyles(i),r.contentAttr=G(o.id),r.hostAttr=K(o.id),r}return r(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var o=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,o,this.contentAttr,""),o},e}(X),et=function(t){function e(e,o,r,i){var a=t.call(this,e)||this;a.sharedStylesHost=o,a.hostEl=r,a.component=i,a.shadowRoot=i.encapsulation===n.ViewEncapsulation.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var u=q(i.id,i.styles,[]),s=0;s<u.length;s++){var c=document.createElement("style");c.textContent=u[s],a.shadowRoot.appendChild(c)}return a}return r(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,o){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,o)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(X),nt="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},ot=nt("addEventListener"),rt=nt("removeEventListener"),it={},at="__zone_symbol__propagationStopped",ut="undefined"!=typeof Zone&&Zone[nt("BLACK_LISTED_EVENTS")];ut&&($={},ut.forEach(function(t){$[t]=t}));var st,ct=function(t){return!!$&&$.hasOwnProperty(t)},pt=function(t){var e=it[t.type];if(e){var n=this[e];if(n){var o=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,o):a.handler.apply(this,o);for(var r=n.slice(),i=0;i<r.length&&!0!==t[at];i++){var a;(a=r[i]).zone!==Zone.current?a.zone.run(a.handler,this,o):a.handler.apply(this,o)}}}},lt=function(t){function o(n,o,r){var i=t.call(this,n)||this;return i.ngZone=o,r&&e.isPlatformServer(r)||i.patchEvent(),i}return r(o,t),o.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[at]=!0),t&&t.apply(this,arguments)}}},o.prototype.supports=function(t){return!0},o.prototype.addEventListener=function(t,e,o){var r=this,i=o;if(!t[ot]||n.NgZone.isInAngularZone()&&!ct(e))t.addEventListener(e,i,!1);else{var a=it[e];a||(a=it[e]=nt("ANGULAR"+e+"FALSE"));var u=t[a],s=u&&u.length>0;u||(u=t[a]=[]);var c=ct(e)?Zone.root:Zone.current;if(0===u.length)u.push({zone:c,handler:i});else{for(var p=!1,l=0;l<u.length;l++)if(u[l].handler===i){p=!0;break}p||u.push({zone:c,handler:i})}s||t[ot](e,pt,!1)}return function(){return r.removeEventListener(t,e,i)}},o.prototype.removeEventListener=function(t,e,n){var o=t[rt];if(!o)return t.removeEventListener.apply(t,[e,n,!1]);var r=it[e],i=r&&t[r];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&o.apply(t,[e,pt,!1]):t.removeEventListener.apply(t,[e,n,!1])},a([n.Injectable(),u(0,n.Inject(E)),u(2,n.Optional()),u(2,n.Inject(n.PLATFORM_ID)),s("design:paramtypes",[Object,n.NgZone,Object])],o)}(H),ft={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},dt=new n.InjectionToken("HammerGestureConfig"),yt=new n.InjectionToken("HammerLoader"),ht=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},a([n.Injectable()],t)}(),mt=function(t){function e(e,n,o,r){var i=t.call(this,e)||this;return i._config=n,i.console=o,i.loader=r,i}return r(e,t),e.prototype.supports=function(t){return!(!ft.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var o=this,r=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return o.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=o.addEventListener(t,e,n))}).catch(function(){o.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return r.runOutsideAngular(function(){var i=o._config.buildHammer(t),a=function(t){r.runGuarded(function(){n(t)})};return i.on(e,a),function(){i.off(e,a),"function"==typeof i.destroy&&i.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},a([n.Injectable(),u(0,n.Inject(E)),u(1,n.Inject(dt)),u(3,n.Optional()),u(3,n.Inject(yt)),s("design:paramtypes",[Object,ht,n.ɵConsole,Object])],e)}(H),gt=["alt","control","meta","shift"],vt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},wt=function(t){function e(e){return t.call(this,e)||this}var o;return r(e,t),o=e,e.prototype.supports=function(t){return null!=o.parseEventName(t)},e.prototype.addEventListener=function(t,e,n){var r=o.parseEventName(e),i=o.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return l().onAndCancel(t,r.domEventName,i)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;var r=o._normalizeKey(e.pop()),i="";if(gt.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=r,0!=e.length||0===r.length)return null;var a={};return a.domEventName=n,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=l().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),gt.forEach(function(o){o!=n&&(0,vt[o])(t)&&(e+=o+".")}),e+=n},e.eventCallback=function(t,e,n){return function(r){o.getEventFullKey(r)===t&&n.runGuarded(function(){return e(r)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},o=a([n.Injectable(),u(0,n.Inject(E)),s("design:paramtypes",[Object])],e)}(H),bt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return r(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case n.SecurityContext.NONE:return e;case n.SecurityContext.HTML:return e instanceof Et?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),n.ɵ_sanitizeHtml(this._doc,String(e)));case n.SecurityContext.STYLE:return e instanceof St?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),n.ɵ_sanitizeStyle(e));case n.SecurityContext.SCRIPT:if(e instanceof Tt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case n.SecurityContext.URL:return e instanceof Nt||e instanceof At?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),n.ɵ_sanitizeUrl(String(e)));case n.SecurityContext.RESOURCE_URL:if(e instanceof Nt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof _t)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new Et(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new St(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Tt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new At(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Nt(t)},a([n.Injectable(),u(0,n.Inject(E)),s("design:paramtypes",[Object])],e)}(st=function st(){}),_t=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(_t),St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"Style"},e}(_t),Tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"Script"},e}(_t),At=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"URL"},e}(_t),Nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(_t),Ct=[{provide:n.PLATFORM_ID,useValue:e.ɵPLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:Ot,multi:!0},{provide:e.PlatformLocation,useClass:T,deps:[E]},{provide:E,useFactory:Pt,deps:[]}],It=[{provide:n.Sanitizer,useExisting:st},{provide:st,useClass:bt,deps:[E]}],Rt=n.createPlatformFactory(n.platformCore,"browser",Ct);function Ot(){b.makeCurrent(),I.init()}function Lt(){return new n.ErrorHandler}function Pt(){return document}var Dt=[It,{provide:n.ɵAPP_ROOT,useValue:!0},{provide:n.ErrorHandler,useFactory:Lt,deps:[]},{provide:j,useClass:lt,multi:!0,deps:[E,n.NgZone,n.PLATFORM_ID]},{provide:j,useClass:wt,multi:!0,deps:[E]},{provide:j,useClass:mt,multi:!0,deps:[E,dt,n.ɵConsole,[new n.Optional,yt]]},{provide:dt,useClass:ht,deps:[]},{provide:J,useClass:J,deps:[x,z]},{provide:n.RendererFactory2,useExisting:J},{provide:B,useExisting:z},{provide:z,useClass:z,deps:[E]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone]},{provide:x,useClass:x,deps:[j,n.NgZone]},k],Mt=function(){function t(t){if(t)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.")}var o;return o=t,t.withServerTransition=function(t){return{ngModule:o,providers:[{provide:n.APP_ID,useValue:t.appId},{provide:A,useExisting:n.APP_ID},C]}},o=a([n.NgModule({providers:Dt,exports:[e.CommonModule,n.ApplicationModule]}),u(0,n.Optional()),u(0,n.SkipSelf()),u(0,n.Inject(o)),s("design:paramtypes",[Object])],t)}();function kt(){return new jt(n.inject(E))}var jt=function(){function t(t){this._doc=t,this._dom=l()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var n=this;return void 0===e&&(e=!1),t?t.reduce(function(t,o){return o&&t.push(n._getOrCreateElement(o,e)),t},[]):[]},t.prototype.getTag=function(t){return t&&this._dom.querySelector(this._doc,"meta["+t+"]")||null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),o=this.getTag(n);if(o&&this._containsAttributes(t,o))return o}var r=this._dom.createElement("meta");this._setMetaElementAttributes(t,r);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,r),r},t.prototype._setMetaElementAttributes=function(t,e){var n=this;return Object.keys(t).forEach(function(o){return n._dom.setAttribute(e,o,t[o])}),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){var n=this;return Object.keys(t).every(function(o){return n._dom.getAttribute(e,o)===t[o]})},t.ngInjectableDef=n.defineInjectable({factory:kt,token:t,providedIn:"root"}),a([n.Injectable({providedIn:"root",useFactory:kt,deps:[]}),u(0,n.Inject(E)),s("design:paramtypes",[Object])],t)}();function xt(){return new Ht(n.inject(E))}var Ht=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return l().getTitle(this._doc)},t.prototype.setTitle=function(t){l().setTitle(this._doc,t)},t.ngInjectableDef=n.defineInjectable({factory:xt,token:t,providedIn:"root"}),a([n.Injectable({providedIn:"root",useFactory:xt,deps:[]}),u(0,n.Inject(E)),s("design:paramtypes",[Object])],t)}(),Bt="undefined"!=typeof window&&window||{},zt=function zt(t,e){this.msPerTick=t,this.numTicks=e},Vt=function(){function t(t){this.appRef=t.injector.get(n.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=Bt.console.profile;e&&n&&Bt.console.profile("Change Detection");for(var o=l().performanceNow(),r=0;r<5||l().performanceNow()-o<500;)this.appRef.tick(),r++;var i=l().performanceNow();e&&n&&Bt.console.profileEnd("Change Detection");var a=(i-o)/r;return Bt.console.log("ran "+r+" change detection cycles"),Bt.console.log(a.toFixed(2)+" ms per check"),new zt(a,r)},t}(),Ft=function(){function t(){this.store={},this.onSerializeCallbacks={}}var e;return e=t,t.init=function(t){var n=new e;return n.store=t,n},t.prototype.get=function(t,e){return void 0!==this.store[t]?this.store[t]:e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},e=a([n.Injectable()],t)}();
79
+ */function G(t){return Z.replace(F,t)}function K(t){return U.replace(F,t)}function q(t,e,n){for(var o=0;o<e.length;o++){var r=e[o];Array.isArray(r)?q(t,r,n):(r=r.replace(F,t),n.push(r))}return n}function W(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var J=function(){function t(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new X(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case n.ViewEncapsulation.Emulated:var o=this.rendererByCompId.get(e.id);return o||(o=new tt(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,o)),o.applyToHost(t),o;case n.ViewEncapsulation.Native:case n.ViewEncapsulation.ShadowDom:return new et(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=q(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},a([n.Injectable(),u(2,n.Inject(n.APP_ID)),s("design:paramtypes",[x,z,String])],t)}(),X=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(V[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,o){if(o){e=o+":"+e;var r=V[o];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var o=V[n];o?t.removeAttributeNS(o,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,o,r){r&n.RendererStyleFlags2.DashCase?t.style.setProperty(e,o,r&n.RendererStyleFlags2.Important?"important":""):t.style[e]=o},t.prototype.removeStyle=function(t,e,o){o&n.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Q(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Q(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,W(n)):this.eventManager.addEventListener(t,e,W(n))},t}(),Y="@".charCodeAt(0);function Q(t,e){if(t.charCodeAt(0)===Y)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var $,tt=function(t){function e(e,n,o,r){var i=t.call(this,e)||this;i.component=o;var a=q(r+"-"+o.id,o.styles,[]);return n.addStyles(a),i.contentAttr=G(r+"-"+o.id),i.hostAttr=K(r+"-"+o.id),i}return r(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var o=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,o,this.contentAttr,""),o},e}(X),et=function(t){function e(e,o,r,i){var a=t.call(this,e)||this;a.sharedStylesHost=o,a.hostEl=r,a.component=i,a.shadowRoot=i.encapsulation===n.ViewEncapsulation.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var u=q(i.id,i.styles,[]),s=0;s<u.length;s++){var c=document.createElement("style");c.textContent=u[s],a.shadowRoot.appendChild(c)}return a}return r(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,o){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,o)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(X),nt="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},ot=nt("addEventListener"),rt=nt("removeEventListener"),it={},at="__zone_symbol__propagationStopped",ut="undefined"!=typeof Zone&&Zone[nt("BLACK_LISTED_EVENTS")];ut&&($={},ut.forEach(function(t){$[t]=t}));var st,ct=function(t){return!!$&&$.hasOwnProperty(t)},pt=function(t){var e=it[t.type];if(e){var n=this[e];if(n){var o=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,o):a.handler.apply(this,o);for(var r=n.slice(),i=0;i<r.length&&!0!==t[at];i++){var a;(a=r[i]).zone!==Zone.current?a.zone.run(a.handler,this,o):a.handler.apply(this,o)}}}},lt=function(t){function o(n,o,r){var i=t.call(this,n)||this;return i.ngZone=o,r&&e.isPlatformServer(r)||i.patchEvent(),i}return r(o,t),o.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[at]=!0),t&&t.apply(this,arguments)}}},o.prototype.supports=function(t){return!0},o.prototype.addEventListener=function(t,e,o){var r=this,i=o;if(!t[ot]||n.NgZone.isInAngularZone()&&!ct(e))t.addEventListener(e,i,!1);else{var a=it[e];a||(a=it[e]=nt("ANGULAR"+e+"FALSE"));var u=t[a],s=u&&u.length>0;u||(u=t[a]=[]);var c=ct(e)?Zone.root:Zone.current;if(0===u.length)u.push({zone:c,handler:i});else{for(var p=!1,l=0;l<u.length;l++)if(u[l].handler===i){p=!0;break}p||u.push({zone:c,handler:i})}s||t[ot](e,pt,!1)}return function(){return r.removeEventListener(t,e,i)}},o.prototype.removeEventListener=function(t,e,n){var o=t[rt];if(!o)return t.removeEventListener.apply(t,[e,n,!1]);var r=it[e],i=r&&t[r];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&o.apply(t,[e,pt,!1]):t.removeEventListener.apply(t,[e,n,!1])},a([n.Injectable(),u(0,n.Inject(E)),u(2,n.Optional()),u(2,n.Inject(n.PLATFORM_ID)),s("design:paramtypes",[Object,n.NgZone,Object])],o)}(H),ft={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},dt=new n.InjectionToken("HammerGestureConfig"),yt=new n.InjectionToken("HammerLoader"),ht=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},a([n.Injectable()],t)}(),mt=function(t){function e(e,n,o,r){var i=t.call(this,e)||this;return i._config=n,i.console=o,i.loader=r,i}return r(e,t),e.prototype.supports=function(t){return!(!ft.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var o=this,r=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return o.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=o.addEventListener(t,e,n))}).catch(function(){o.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return r.runOutsideAngular(function(){var i=o._config.buildHammer(t),a=function(t){r.runGuarded(function(){n(t)})};return i.on(e,a),function(){i.off(e,a),"function"==typeof i.destroy&&i.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},a([n.Injectable(),u(0,n.Inject(E)),u(1,n.Inject(dt)),u(3,n.Optional()),u(3,n.Inject(yt)),s("design:paramtypes",[Object,ht,n.ɵConsole,Object])],e)}(H),gt=["alt","control","meta","shift"],vt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},wt=function(t){function e(e){return t.call(this,e)||this}var o;return r(e,t),o=e,e.prototype.supports=function(t){return null!=o.parseEventName(t)},e.prototype.addEventListener=function(t,e,n){var r=o.parseEventName(e),i=o.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return l().onAndCancel(t,r.domEventName,i)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;var r=o._normalizeKey(e.pop()),i="";if(gt.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=r,0!=e.length||0===r.length)return null;var a={};return a.domEventName=n,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=l().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),gt.forEach(function(o){o!=n&&(0,vt[o])(t)&&(e+=o+".")}),e+=n},e.eventCallback=function(t,e,n){return function(r){o.getEventFullKey(r)===t&&n.runGuarded(function(){return e(r)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},o=a([n.Injectable(),u(0,n.Inject(E)),s("design:paramtypes",[Object])],e)}(H),bt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return r(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case n.SecurityContext.NONE:return e;case n.SecurityContext.HTML:return e instanceof Et?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),n.ɵ_sanitizeHtml(this._doc,String(e)));case n.SecurityContext.STYLE:return e instanceof St?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),n.ɵ_sanitizeStyle(e));case n.SecurityContext.SCRIPT:if(e instanceof Tt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case n.SecurityContext.URL:return e instanceof Nt||e instanceof At?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),n.ɵ_sanitizeUrl(String(e)));case n.SecurityContext.RESOURCE_URL:if(e instanceof Nt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof _t)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new Et(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new St(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Tt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new At(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Nt(t)},a([n.Injectable(),u(0,n.Inject(E)),s("design:paramtypes",[Object])],e)}(st=function st(){}),_t=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(_t),St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"Style"},e}(_t),Tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"Script"},e}(_t),At=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"URL"},e}(_t),Nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(_t),Ct=[{provide:n.PLATFORM_ID,useValue:e.ɵPLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:Ot,multi:!0},{provide:e.PlatformLocation,useClass:T,deps:[E]},{provide:E,useFactory:Lt,deps:[]}],It=[{provide:n.Sanitizer,useExisting:st},{provide:st,useClass:bt,deps:[E]}],Rt=n.createPlatformFactory(n.platformCore,"browser",Ct);function Ot(){b.makeCurrent(),I.init()}function Pt(){return new n.ErrorHandler}function Lt(){return document}var Dt=[It,{provide:n.ɵAPP_ROOT,useValue:!0},{provide:n.ErrorHandler,useFactory:Pt,deps:[]},{provide:j,useClass:lt,multi:!0,deps:[E,n.NgZone,n.PLATFORM_ID]},{provide:j,useClass:wt,multi:!0,deps:[E]},{provide:j,useClass:mt,multi:!0,deps:[E,dt,n.ɵConsole,[new n.Optional,yt]]},{provide:dt,useClass:ht,deps:[]},{provide:J,useClass:J,deps:[x,z,n.APP_ID]},{provide:n.RendererFactory2,useExisting:J},{provide:B,useExisting:z},{provide:z,useClass:z,deps:[E]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone]},{provide:x,useClass:x,deps:[j,n.NgZone]},k],Mt=function(){function t(t){if(t)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.")}var o;return o=t,t.withServerTransition=function(t){return{ngModule:o,providers:[{provide:n.APP_ID,useValue:t.appId},{provide:A,useExisting:n.APP_ID},C]}},o=a([n.NgModule({providers:Dt,exports:[e.CommonModule,n.ApplicationModule]}),u(0,n.Optional()),u(0,n.SkipSelf()),u(0,n.Inject(o)),s("design:paramtypes",[Object])],t)}();function kt(){return new jt(n.inject(E))}var jt=function(){function t(t){this._doc=t,this._dom=l()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var n=this;return void 0===e&&(e=!1),t?t.reduce(function(t,o){return o&&t.push(n._getOrCreateElement(o,e)),t},[]):[]},t.prototype.getTag=function(t){return t&&this._dom.querySelector(this._doc,"meta["+t+"]")||null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),o=this.getTag(n);if(o&&this._containsAttributes(t,o))return o}var r=this._dom.createElement("meta");this._setMetaElementAttributes(t,r);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,r),r},t.prototype._setMetaElementAttributes=function(t,e){var n=this;return Object.keys(t).forEach(function(o){return n._dom.setAttribute(e,o,t[o])}),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){var n=this;return Object.keys(t).every(function(o){return n._dom.getAttribute(e,o)===t[o]})},t.ngInjectableDef=n.defineInjectable({factory:kt,token:t,providedIn:"root"}),a([n.Injectable({providedIn:"root",useFactory:kt,deps:[]}),u(0,n.Inject(E)),s("design:paramtypes",[Object])],t)}();function xt(){return new Ht(n.inject(E))}var Ht=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return l().getTitle(this._doc)},t.prototype.setTitle=function(t){l().setTitle(this._doc,t)},t.ngInjectableDef=n.defineInjectable({factory:xt,token:t,providedIn:"root"}),a([n.Injectable({providedIn:"root",useFactory:xt,deps:[]}),u(0,n.Inject(E)),s("design:paramtypes",[Object])],t)}(),Bt="undefined"!=typeof window&&window||{},zt=function zt(t,e){this.msPerTick=t,this.numTicks=e},Vt=function(){function t(t){this.appRef=t.injector.get(n.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=Bt.console.profile;e&&n&&Bt.console.profile("Change Detection");for(var o=l().performanceNow(),r=0;r<5||l().performanceNow()-o<500;)this.appRef.tick(),r++;var i=l().performanceNow();e&&n&&Bt.console.profileEnd("Change Detection");var a=(i-o)/r;return Bt.console.log("ran "+r+" change detection cycles"),Bt.console.log(a.toFixed(2)+" ms per check"),new zt(a,r)},t}(),Ft=function(){function t(){this.store={},this.onSerializeCallbacks={}}var e;return e=t,t.init=function(t){var n=new e;return n.store=t,n},t.prototype.get=function(t,e){return void 0!==this.store[t]?this.store[t]:e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},e=a([n.Injectable()],t)}();
80
80
  /**
81
81
  * @license
82
82
  * Copyright Google Inc. All Rights Reserved.
83
83
  *
84
84
  * Use of this source code is governed by an MIT-style license that can be
85
85
  * found in the LICENSE file at https://angular.io/license
86
- */function Ut(t,e){var n=t.getElementById(e+"-state"),o={};if(n&&n.textContent)try{o=JSON.parse(function r(t){var e={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return t.replace(/&[^;]+;/g,function(t){return e[t]})}(n.textContent))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return Ft.init(o)}var Zt=function(){return a([n.NgModule({providers:[{provide:Ft,useFactory:Ut,deps:[E,n.APP_ID]}]})],function t(){})}(),Gt=function(){function t(){}return t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&l().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),Kt=new n.Version("7.2.9");
86
+ */function Ut(t,e){var n=t.getElementById(e+"-state"),o={};if(n&&n.textContent)try{o=JSON.parse(function r(t){var e={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return t.replace(/&[^;]+;/g,function(t){return e[t]})}(n.textContent))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return Ft.init(o)}var Zt=function(){return a([n.NgModule({providers:[{provide:Ft,useFactory:Ut,deps:[E,n.APP_ID]}]})],function t(){})}(),Gt=function(){function t(){}return t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&l().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),Kt=new n.Version("7.2.13");
87
87
  /**
88
88
  * @license
89
89
  * Copyright Google Inc. All Rights Reserved.
@@ -112,7 +112,7 @@ function R(t,e){"undefined"!=typeof COMPILED&&COMPILED||((n.ɵglobal.ng=n.ɵglob
112
112
  * Use of this source code is governed by an MIT-style license that can be
113
113
  * found in the LICENSE file at https://angular.io/license
114
114
  */
115
- t.ɵangular_packages_platform_browser_platform_browser_c=Dt,t.ɵangular_packages_platform_browser_platform_browser_b=Pt,t.ɵangular_packages_platform_browser_platform_browser_a=Lt,t.ɵangular_packages_platform_browser_platform_browser_k=h,t.ɵangular_packages_platform_browser_platform_browser_d=kt,t.ɵangular_packages_platform_browser_platform_browser_i=C,t.ɵangular_packages_platform_browser_platform_browser_h=N,t.ɵangular_packages_platform_browser_platform_browser_e=xt,t.ɵangular_packages_platform_browser_platform_browser_f=Ut,t.ɵangular_packages_platform_browser_platform_browser_j=M,t.ɵangular_packages_platform_browser_platform_browser_g=H,t.BrowserModule=Mt,t.platformBrowser=Rt,t.Meta=jt,t.Title=Ht,t.disableDebugTools=function qt(){R("profiler",null)}
115
+ t.ɵangular_packages_platform_browser_platform_browser_c=Dt,t.ɵangular_packages_platform_browser_platform_browser_b=Lt,t.ɵangular_packages_platform_browser_platform_browser_a=Pt,t.ɵangular_packages_platform_browser_platform_browser_k=h,t.ɵangular_packages_platform_browser_platform_browser_d=kt,t.ɵangular_packages_platform_browser_platform_browser_i=C,t.ɵangular_packages_platform_browser_platform_browser_h=N,t.ɵangular_packages_platform_browser_platform_browser_e=xt,t.ɵangular_packages_platform_browser_platform_browser_f=Ut,t.ɵangular_packages_platform_browser_platform_browser_j=M,t.ɵangular_packages_platform_browser_platform_browser_g=H,t.BrowserModule=Mt,t.platformBrowser=Rt,t.Meta=jt,t.Title=Ht,t.disableDebugTools=function qt(){R("profiler",null)}
116
116
  /**
117
117
  * @license
118
118
  * Copyright Google Inc. All Rights Reserved.