@angular/platform-browser 11.2.1 → 11.2.5

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,6 +1,6 @@
1
1
  /**
2
- * @license Angular v11.2.1
3
- * (c) 2010-2020 Google LLC. https://angular.io/
2
+ * @license Angular v11.2.5
3
+ * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
  !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core")):"function"==typeof define&&define.amd?define("@angular/platform-browser",["exports","@angular/common","@angular/core"],e):e(((t=t||self).ng=t.ng||{},t.ng.platformBrowser={}),t.ng.common,t.ng.core)}(this,(function(t,e,r){"use strict";
@@ -38,7 +38,7 @@
38
38
  *
39
39
  * Use of this source code is governed by an MIT-style license that can be
40
40
  * found in the LICENSE file at https://angular.io/license
41
- */var y={ApplicationRef:r.ApplicationRef,NgZone:r.NgZone};function h(t){return r.ɵgetDebugNodeR2(t)}function m(t){return f("probe",h),f("coreTokens",Object.assign(Object.assign({},y),function e(t){return t.reduce((function(t,e){return t[e.name]=e.token,t}),{})}(t||[]))),function(){return h}}var g=[{provide:r.APP_INITIALIZER,useFactory:m,deps:[[r.NgProbeToken,new r.Optional]],multi:!0}],v=g,w=new r.InjectionToken("EventManagerPlugins"),_=function(){function t(t,e){var r=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach((function(t){return t.manager=r})),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,r){return this._findPluginFor(e).addEventListener(t,e,r)},t.prototype.addGlobalEventListener=function(t,e,r){return this._findPluginFor(e).addGlobalEventListener(t,e,r)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var r=this._plugins,n=0;n<r.length;n++){var o=r[n];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}();_.decorators=[{type:r.Injectable}],_.ctorParameters=function(){return[{type:Array,decorators:[{type:r.Inject,args:[w]}]},{type:r.NgZone}]};var E=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,r,n){var o=e.ɵgetDOM().getGlobalEventTarget(this._doc,t);if(!o)throw new Error("Unsupported event target "+o+" for event "+r);return this.addEventListener(o,r,n)},t}(),b=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,r=new Set;t.forEach((function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),r.add(t))})),this.onStylesAdded(r)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}();b.decorators=[{type:r.Injectable}];var S=function(t){function r(e){var r=t.call(this)||this;return r._doc=e,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(e.head),r}return o(r,t),r.prototype._addStylesToHost=function(t,e){var r=this;t.forEach((function(t){var n=r._doc.createElement("style");n.textContent=t,r._styleNodes.add(e.appendChild(n))}))},r.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},r.prototype.removeHost=function(t){this._hostNodes.delete(t)},r.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach((function(r){return e._addStylesToHost(t,r)}))},r.prototype.ngOnDestroy=function(){this._styleNodes.forEach((function(t){return e.ɵgetDOM().remove(t)}))},r}(b);S.decorators=[{type:r.Injectable}],S.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};var T={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/"},C=/%COMP%/g;function I(t){return"_ngcontent-%COMP%".replace(C,t)}function O(t){return"_nghost-%COMP%".replace(C,t)}function A(t,e,r){for(var n=0;n<e.length;n++){var o=e[n];Array.isArray(o)?A(t,o,r):(o=o.replace(C,t),r.push(o))}return r}function M(t){return function(e){if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var N=function(){function t(t,e,r){this.eventManager=t,this.sharedStylesHost=e,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new R(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new D(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case 1:case r.ViewEncapsulation.ShadowDom:return new P(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var o=A(e.id,e.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}();N.decorators=[{type:r.Injectable}],N.ctorParameters=function(){return[{type:_},{type:S},{type:String,decorators:[{type:r.Inject,args:[r.APP_ID]}]}]};var R=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(T[e]||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,r){t&&t.insertBefore(e,r)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error('The selector "'+t+'" did not match any elements');return e||(r.textContent=""),r},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,r,n){if(n){e=n+":"+e;var o=T[n];o?t.setAttributeNS(o,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)},t.prototype.removeAttribute=function(t,e,r){if(r){var n=T[r];n?t.removeAttributeNS(n,e):t.removeAttribute(r+":"+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,n,o){o&(r.RendererStyleFlags2.DashCase|r.RendererStyleFlags2.Important)?t.style.setProperty(e,n,o&r.RendererStyleFlags2.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&r.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,r){t[e]=r},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,M(r)):this.eventManager.addEventListener(t,e,M(r))},t}();"@".charCodeAt(0);var D=function(t){function e(e,r,n,o){var i=t.call(this,e)||this;i.component=n;var a=A(o+"-"+n.id,n.styles,[]);return r.addStyles(a),i.contentAttr=I(o+"-"+n.id),i.hostAttr=O(o+"-"+n.id),i}return o(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,r){var n=t.prototype.createElement.call(this,e,r);return t.prototype.setAttribute.call(this,n,this.contentAttr,""),n},e}(R),P=function(t){function e(e,r,n,o){var i=t.call(this,e)||this;i.sharedStylesHost=r,i.hostEl=n,i.shadowRoot=n.attachShadow({mode:"open"}),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=A(o.id,o.styles,[]),s=0;s<a.length;s++){var u=document.createElement("style");u.textContent=a[s],i.shadowRoot.appendChild(u)}return i}return o(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,r){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),r)},e.prototype.insertBefore=function(e,r,n){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),r,n)},e.prototype.removeChild=function(e,r){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),r)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(R),k=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,r){var n=this;return t.addEventListener(e,r,!1),function(){return n.removeEventListener(t,e,r)}},e.prototype.removeEventListener=function(t,e,r){return t.removeEventListener(e,r)},e}(E);k.decorators=[{type:r.Injectable}],k.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};var L={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,doubletap:!0},j=new r.InjectionToken("HammerGestureConfig"),H=new r.InjectionToken("HammerLoader"),x=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var r in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(r).set(this.overrides[r]);return e},t}();x.decorators=[{type:r.Injectable}];var U=function(t){function e(e,r,n,o){var i=t.call(this,e)||this;return i._config=r,i.console=n,i.loader=o,i}return o(e,t),e.prototype.supports=function(t){return!(!L.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,r){var n=this,o=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 n.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=n.addEventListener(t,e,r))})).catch((function(){n.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}})),function(){a()}}return o.runOutsideAngular((function(){var i=n._config.buildHammer(t),a=function(t){o.runGuarded((function(){r(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},e}(E);U.decorators=[{type:r.Injectable}],U.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]},{type:x,decorators:[{type:r.Inject,args:[j]}]},{type:r.ɵConsole},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[H]}]}]};var B,z=[{provide:w,useClass:U,multi:!0,deps:[e.DOCUMENT,j,r.ɵConsole,[new r.Optional,H]]},{provide:j,useClass:x,deps:[]}],F=z;(B=function B(){}).decorators=[{type:r.NgModule,args:[{providers:z}]}];var V,G=["alt","control","meta","shift"],K={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Z={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},q={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},J=function(t){function r(e){return t.call(this,e)||this}return o(r,t),r.prototype.supports=function(t){return null!=r.parseEventName(t)},r.prototype.addEventListener=function(t,n,o){var i=r.parseEventName(n),a=r.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return e.ɵgetDOM().onAndCancel(t,i.domEventName,a)}))},r.parseEventName=function(t){var e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;var o=r._normalizeKey(e.pop()),i="";if(G.forEach((function(t){var r=e.indexOf(t);r>-1&&(e.splice(r,1),i+=t+".")})),i+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=n,a.fullKey=i,a},r.getEventFullKey=function(t){var e="",r=function n(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Z.hasOwnProperty(e)&&(e=Z[e]))}return K[e]||e}(t);return" "===(r=r.toLowerCase())?r="space":"."===r&&(r="dot"),G.forEach((function(n){n!=r&&(0,q[n])(t)&&(e+=n+".")})),e+=r},r.eventCallback=function(t,e,n){return function(o){r.getEventFullKey(o)===t&&n.runGuarded((function(){return e(o)}))}},r._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},r}(E);function W(t){return new X(t.get(e.DOCUMENT))}J.decorators=[{type:r.Injectable}],J.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]},(V=function V(){}).ɵprov=r.ɵɵdefineInjectable({factory:function t(){return r.ɵɵinject(X)},token:V,providedIn:"root"}),V.decorators=[{type:r.Injectable,args:[{providedIn:"root",useExisting:r.forwardRef((function(){return X}))}]}];var X=function(t){function e(e){var r=t.call(this)||this;return r._doc=e,r}return o(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case r.SecurityContext.NONE:return e;case r.SecurityContext.HTML:return r.ɵallowSanitizationBypassAndThrow(e,"HTML")?r.ɵunwrapSafeValue(e):r.ɵ_sanitizeHtml(this._doc,String(e)).toString();case r.SecurityContext.STYLE:return r.ɵallowSanitizationBypassAndThrow(e,"Style")?r.ɵunwrapSafeValue(e):e;case r.SecurityContext.SCRIPT:if(r.ɵallowSanitizationBypassAndThrow(e,"Script"))return r.ɵunwrapSafeValue(e);throw new Error("unsafe value used in a script context");case r.SecurityContext.URL:return r.ɵgetSanitizationBypassType(e),r.ɵallowSanitizationBypassAndThrow(e,"URL")?r.ɵunwrapSafeValue(e):r.ɵ_sanitizeUrl(String(e));case r.SecurityContext.RESOURCE_URL:if(r.ɵallowSanitizationBypassAndThrow(e,"ResourceURL"))return r.ɵunwrapSafeValue(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see https://g.co/ng/security#xss)")}},e.prototype.bypassSecurityTrustHtml=function(t){return r.ɵbypassSanitizationTrustHtml(t)},e.prototype.bypassSecurityTrustStyle=function(t){return r.ɵbypassSanitizationTrustStyle(t)},e.prototype.bypassSecurityTrustScript=function(t){return r.ɵbypassSanitizationTrustScript(t)},e.prototype.bypassSecurityTrustUrl=function(t){return r.ɵbypassSanitizationTrustUrl(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return r.ɵbypassSanitizationTrustResourceUrl(t)},e}(V);
41
+ */var y={ApplicationRef:r.ApplicationRef,NgZone:r.NgZone};function h(t){return r.ɵgetDebugNodeR2(t)}function g(t){return f("probe",h),f("coreTokens",Object.assign(Object.assign({},y),function e(t){return t.reduce((function(t,e){return t[e.name]=e.token,t}),{})}(t||[]))),function(){return h}}var m=[{provide:r.APP_INITIALIZER,useFactory:g,deps:[[r.NgProbeToken,new r.Optional]],multi:!0}],v=m,w=new r.InjectionToken("EventManagerPlugins"),_=function(){function t(t,e){var r=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach((function(t){return t.manager=r})),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,r){return this._findPluginFor(e).addEventListener(t,e,r)},t.prototype.addGlobalEventListener=function(t,e,r){return this._findPluginFor(e).addGlobalEventListener(t,e,r)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var r=this._plugins,n=0;n<r.length;n++){var o=r[n];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}();_.decorators=[{type:r.Injectable}],_.ctorParameters=function(){return[{type:Array,decorators:[{type:r.Inject,args:[w]}]},{type:r.NgZone}]};var E=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,r,n){var o=e.ɵgetDOM().getGlobalEventTarget(this._doc,t);if(!o)throw new Error("Unsupported event target "+o+" for event "+r);return this.addEventListener(o,r,n)},t}(),b=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,r=new Set;t.forEach((function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),r.add(t))})),this.onStylesAdded(r)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}();b.decorators=[{type:r.Injectable}];var S=function(t){function r(e){var r=t.call(this)||this;return r._doc=e,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(e.head),r}return o(r,t),r.prototype._addStylesToHost=function(t,e){var r=this;t.forEach((function(t){var n=r._doc.createElement("style");n.textContent=t,r._styleNodes.add(e.appendChild(n))}))},r.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},r.prototype.removeHost=function(t){this._hostNodes.delete(t)},r.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach((function(r){return e._addStylesToHost(t,r)}))},r.prototype.ngOnDestroy=function(){this._styleNodes.forEach((function(t){return e.ɵgetDOM().remove(t)}))},r}(b);S.decorators=[{type:r.Injectable}],S.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};var T={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/"},C=/%COMP%/g;function I(t){return"_ngcontent-%COMP%".replace(C,t)}function O(t){return"_nghost-%COMP%".replace(C,t)}function A(t,e,r){for(var n=0;n<e.length;n++){var o=e[n];Array.isArray(o)?A(t,o,r):(o=o.replace(C,t),r.push(o))}return r}function N(t){return function(e){if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var M=function(){function t(t,e,r){this.eventManager=t,this.sharedStylesHost=e,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new R(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new D(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case 1:case r.ViewEncapsulation.ShadowDom:return new P(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var o=A(e.id,e.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}();M.decorators=[{type:r.Injectable}],M.ctorParameters=function(){return[{type:_},{type:S},{type:String,decorators:[{type:r.Inject,args:[r.APP_ID]}]}]};var R=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(T[e]||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,r){t&&t.insertBefore(e,r)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error('The selector "'+t+'" did not match any elements');return e||(r.textContent=""),r},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,r,n){if(n){e=n+":"+e;var o=T[n];o?t.setAttributeNS(o,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)},t.prototype.removeAttribute=function(t,e,r){if(r){var n=T[r];n?t.removeAttributeNS(n,e):t.removeAttribute(r+":"+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,n,o){o&(r.RendererStyleFlags2.DashCase|r.RendererStyleFlags2.Important)?t.style.setProperty(e,n,o&r.RendererStyleFlags2.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&r.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,r){t[e]=r},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,N(r)):this.eventManager.addEventListener(t,e,N(r))},t}();"@".charCodeAt(0);var D=function(t){function e(e,r,n,o){var i=t.call(this,e)||this;i.component=n;var a=A(o+"-"+n.id,n.styles,[]);return r.addStyles(a),i.contentAttr=I(o+"-"+n.id),i.hostAttr=O(o+"-"+n.id),i}return o(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,r){var n=t.prototype.createElement.call(this,e,r);return t.prototype.setAttribute.call(this,n,this.contentAttr,""),n},e}(R),P=function(t){function e(e,r,n,o){var i=t.call(this,e)||this;i.sharedStylesHost=r,i.hostEl=n,i.shadowRoot=n.attachShadow({mode:"open"}),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=A(o.id,o.styles,[]),s=0;s<a.length;s++){var u=document.createElement("style");u.textContent=a[s],i.shadowRoot.appendChild(u)}return i}return o(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,r){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),r)},e.prototype.insertBefore=function(e,r,n){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),r,n)},e.prototype.removeChild=function(e,r){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),r)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(R),k=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,r){var n=this;return t.addEventListener(e,r,!1),function(){return n.removeEventListener(t,e,r)}},e.prototype.removeEventListener=function(t,e,r){return t.removeEventListener(e,r)},e}(E);k.decorators=[{type:r.Injectable}],k.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};var L={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,doubletap:!0},j=new r.InjectionToken("HammerGestureConfig"),H=new r.InjectionToken("HammerLoader"),x=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var r in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(r).set(this.overrides[r]);return e},t}();x.decorators=[{type:r.Injectable}];var U=function(t){function e(e,r,n,o){var i=t.call(this,e)||this;return i._config=r,i.console=n,i.loader=o,i._loaderPromise=null,i}return o(e,t),e.prototype.supports=function(t){return!(!L.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader)},e.prototype.addEventListener=function(t,e,r){var n=this,o=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();var i=!1,a=function(){i=!0};return this._loaderPromise.then((function(){window.Hammer?i||(a=n.addEventListener(t,e,r)):a=function(){}})).catch((function(){a=function(){}})),function(){a()}}return o.runOutsideAngular((function(){var i=n._config.buildHammer(t),a=function(t){o.runGuarded((function(){r(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},e}(E);U.decorators=[{type:r.Injectable}],U.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]},{type:x,decorators:[{type:r.Inject,args:[j]}]},{type:r.ɵConsole},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[H]}]}]};var B,z=[{provide:w,useClass:U,multi:!0,deps:[e.DOCUMENT,j,r.ɵConsole,[new r.Optional,H]]},{provide:j,useClass:x,deps:[]}],F=z;(B=function B(){}).decorators=[{type:r.NgModule,args:[{providers:z}]}];var V,G=["alt","control","meta","shift"],K={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Z={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},q={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},W=function(t){function r(e){return t.call(this,e)||this}return o(r,t),r.prototype.supports=function(t){return null!=r.parseEventName(t)},r.prototype.addEventListener=function(t,n,o){var i=r.parseEventName(n),a=r.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return e.ɵgetDOM().onAndCancel(t,i.domEventName,a)}))},r.parseEventName=function(t){var e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;var o=r._normalizeKey(e.pop()),i="";if(G.forEach((function(t){var r=e.indexOf(t);r>-1&&(e.splice(r,1),i+=t+".")})),i+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=n,a.fullKey=i,a},r.getEventFullKey=function(t){var e="",r=function n(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Z.hasOwnProperty(e)&&(e=Z[e]))}return K[e]||e}(t);return" "===(r=r.toLowerCase())?r="space":"."===r&&(r="dot"),G.forEach((function(n){n!=r&&(0,q[n])(t)&&(e+=n+".")})),e+=r},r.eventCallback=function(t,e,n){return function(o){r.getEventFullKey(o)===t&&n.runGuarded((function(){return e(o)}))}},r._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},r}(E);function J(t){return new X(t.get(e.DOCUMENT))}W.decorators=[{type:r.Injectable}],W.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]},(V=function V(){}).ɵprov=r.ɵɵdefineInjectable({factory:function t(){return r.ɵɵinject(X)},token:V,providedIn:"root"}),V.decorators=[{type:r.Injectable,args:[{providedIn:"root",useExisting:r.forwardRef((function(){return X}))}]}];var X=function(t){function e(e){var r=t.call(this)||this;return r._doc=e,r}return o(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case r.SecurityContext.NONE:return e;case r.SecurityContext.HTML:return r.ɵallowSanitizationBypassAndThrow(e,"HTML")?r.ɵunwrapSafeValue(e):r.ɵ_sanitizeHtml(this._doc,String(e)).toString();case r.SecurityContext.STYLE:return r.ɵallowSanitizationBypassAndThrow(e,"Style")?r.ɵunwrapSafeValue(e):e;case r.SecurityContext.SCRIPT:if(r.ɵallowSanitizationBypassAndThrow(e,"Script"))return r.ɵunwrapSafeValue(e);throw new Error("unsafe value used in a script context");case r.SecurityContext.URL:return r.ɵgetSanitizationBypassType(e),r.ɵallowSanitizationBypassAndThrow(e,"URL")?r.ɵunwrapSafeValue(e):r.ɵ_sanitizeUrl(String(e));case r.SecurityContext.RESOURCE_URL:if(r.ɵallowSanitizationBypassAndThrow(e,"ResourceURL"))return r.ɵunwrapSafeValue(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see https://g.co/ng/security#xss)")}},e.prototype.bypassSecurityTrustHtml=function(t){return r.ɵbypassSanitizationTrustHtml(t)},e.prototype.bypassSecurityTrustStyle=function(t){return r.ɵbypassSanitizationTrustStyle(t)},e.prototype.bypassSecurityTrustScript=function(t){return r.ɵbypassSanitizationTrustScript(t)},e.prototype.bypassSecurityTrustUrl=function(t){return r.ɵbypassSanitizationTrustUrl(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return r.ɵbypassSanitizationTrustResourceUrl(t)},e}(V);
42
42
  /**
43
43
  * @license
44
44
  * Copyright Google LLC All Rights Reserved.
@@ -46,7 +46,7 @@
46
46
  * Use of this source code is governed by an MIT-style license that can be
47
47
  * found in the LICENSE file at https://angular.io/license
48
48
  */
49
- function Y(){s.makeCurrent(),d.init()}function Q(){return new r.ErrorHandler}function $(){return r.ɵsetDocument(document),document}X.ɵprov=r.ɵɵdefineInjectable({factory:function t(){return W(r.ɵɵinject(r.INJECTOR))},token:X,providedIn:"root"}),X.decorators=[{type:r.Injectable,args:[{providedIn:"root",useFactory:W,deps:[r.Injector]}]}],X.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};var tt=[{provide:r.PLATFORM_ID,useValue:e.ɵPLATFORM_BROWSER_ID},{provide:r.PLATFORM_INITIALIZER,useValue:Y,multi:!0},{provide:e.DOCUMENT,useFactory:$,deps:[]}],et=[{provide:r.Sanitizer,useExisting:V},{provide:V,useClass:X,deps:[e.DOCUMENT]}],rt=r.createPlatformFactory(r.platformCore,"browser",tt),nt=[et,{provide:r.ɵINJECTOR_SCOPE,useValue:"root"},{provide:r.ErrorHandler,useFactory:Q,deps:[]},{provide:w,useClass:k,multi:!0,deps:[e.DOCUMENT,r.NgZone,r.PLATFORM_ID]},{provide:w,useClass:J,multi:!0,deps:[e.DOCUMENT]},F,{provide:N,useClass:N,deps:[_,S,r.APP_ID]},{provide:r.RendererFactory2,useExisting:N},{provide:b,useExisting:S},{provide:S,useClass:S,deps:[e.DOCUMENT]},{provide:r.Testability,useClass:r.Testability,deps:[r.NgZone]},{provide:_,useClass:_,deps:[w,r.NgZone]},v],ot=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.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:r.APP_ID,useValue:e.appId},{provide:c,useExisting:r.APP_ID},l]}},t}();
49
+ function Y(){s.makeCurrent(),d.init()}function Q(){return new r.ErrorHandler}function $(){return r.ɵsetDocument(document),document}X.ɵprov=r.ɵɵdefineInjectable({factory:function t(){return J(r.ɵɵinject(r.INJECTOR))},token:X,providedIn:"root"}),X.decorators=[{type:r.Injectable,args:[{providedIn:"root",useFactory:J,deps:[r.Injector]}]}],X.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};var tt=[{provide:r.PLATFORM_ID,useValue:e.ɵPLATFORM_BROWSER_ID},{provide:r.PLATFORM_INITIALIZER,useValue:Y,multi:!0},{provide:e.DOCUMENT,useFactory:$,deps:[]}],et=[{provide:r.Sanitizer,useExisting:V},{provide:V,useClass:X,deps:[e.DOCUMENT]}],rt=r.createPlatformFactory(r.platformCore,"browser",tt),nt=[et,{provide:r.ɵINJECTOR_SCOPE,useValue:"root"},{provide:r.ErrorHandler,useFactory:Q,deps:[]},{provide:w,useClass:k,multi:!0,deps:[e.DOCUMENT,r.NgZone,r.PLATFORM_ID]},{provide:w,useClass:W,multi:!0,deps:[e.DOCUMENT]},F,{provide:M,useClass:M,deps:[_,S,r.APP_ID]},{provide:r.RendererFactory2,useExisting:M},{provide:b,useExisting:S},{provide:S,useClass:S,deps:[e.DOCUMENT]},{provide:r.Testability,useClass:r.Testability,deps:[r.NgZone]},{provide:_,useClass:_,deps:[w,r.NgZone]},v],ot=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.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:r.APP_ID,useValue:e.appId},{provide:c,useExisting:r.APP_ID},l]}},t}();
50
50
  /**
51
51
  * @license
52
52
  * Copyright Google LLC All Rights Reserved.
@@ -84,7 +84,7 @@ var pt,lt="undefined"!=typeof window&&window||{},dt=function dt(t,e){this.msPerT
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
86
  */
87
- var mt=function(){function t(){}return t.all=function(){return function(){return!0}},t.css=function(t){return function(r){return null!=r.nativeElement&&function n(t,r){return!!e.ɵgetDOM().isElementNode(t)&&(t.matches&&t.matches(r)||t.msMatchesSelector&&t.msMatchesSelector(r)||t.webkitMatchesSelector&&t.webkitMatchesSelector(r))}
87
+ var gt=function(){function t(){}return t.all=function(){return function(){return!0}},t.css=function(t){return function(r){return null!=r.nativeElement&&function n(t,r){return!!e.ɵgetDOM().isElementNode(t)&&(t.matches&&t.matches(r)||t.msMatchesSelector&&t.msMatchesSelector(r)||t.webkitMatchesSelector&&t.webkitMatchesSelector(r))}
88
88
  /**
89
89
  * @license
90
90
  * Copyright Google LLC All Rights Reserved.
@@ -98,7 +98,7 @@ var mt=function(){function t(){}return t.all=function(){return function(){return
98
98
  *
99
99
  * Use of this source code is governed by an MIT-style license that can be
100
100
  * found in the LICENSE file at https://angular.io/license
101
- */(r.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),gt=new r.Version("11.2.1");
101
+ */(r.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),mt=new r.Version("11.2.5");
102
102
  /**
103
103
  * @license
104
104
  * Copyright Google LLC All Rights Reserved.
@@ -120,11 +120,11 @@ var mt=function(){function t(){}return t.all=function(){return function(){return
120
120
  * Use of this source code is governed by an MIT-style license that can be
121
121
  * found in the LICENSE file at https://angular.io/license
122
122
  */
123
- Object.defineProperty(t,"ɵgetDOM",{enumerable:!0,get:function(){return e.ɵgetDOM}}),t.BrowserModule=ot,t.BrowserTransferStateModule=pt,t.By=mt,t.DomSanitizer=V,t.EVENT_MANAGER_PLUGINS=w,t.EventManager=_,t.HAMMER_GESTURE_CONFIG=j,t.HAMMER_LOADER=H,t.HammerGestureConfig=x,t.HammerModule=B,t.Meta=at,t.Title=ct,t.TransferState=yt,t.VERSION=gt,t.disableDebugTools=function vt(){f("profiler",null)}
123
+ Object.defineProperty(t,"ɵgetDOM",{enumerable:!0,get:function(){return e.ɵgetDOM}}),t.BrowserModule=ot,t.BrowserTransferStateModule=pt,t.By=gt,t.DomSanitizer=V,t.EVENT_MANAGER_PLUGINS=w,t.EventManager=_,t.HAMMER_GESTURE_CONFIG=j,t.HAMMER_LOADER=H,t.HammerGestureConfig=x,t.HammerModule=B,t.Meta=at,t.Title=ct,t.TransferState=yt,t.VERSION=mt,t.disableDebugTools=function vt(){f("profiler",null)}
124
124
  /**
125
125
  * @license
126
126
  * Copyright Google LLC All Rights Reserved.
127
127
  *
128
128
  * Use of this source code is governed by an MIT-style license that can be
129
129
  * found in the LICENSE file at https://angular.io/license
130
- */,t.enableDebugTools=function wt(t){return f("profiler",new ft(t)),t},t.makeStateKey=function _t(t){return t},t.platformBrowser=rt,t.ɵBROWSER_SANITIZATION_PROVIDERS=et,t.ɵBROWSER_SANITIZATION_PROVIDERS__POST_R3__=[],t.ɵBrowserDomAdapter=s,t.ɵBrowserGetTestability=d,t.ɵDomEventsPlugin=k,t.ɵDomRendererFactory2=N,t.ɵDomSanitizerImpl=X,t.ɵDomSharedStylesHost=S,t.ɵELEMENT_PROBE_PROVIDERS=v,t.ɵELEMENT_PROBE_PROVIDERS__POST_R3__=[],t.ɵHAMMER_PROVIDERS__POST_R3__=[],t.ɵHammerGesturesPlugin=U,t.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS=tt,t.ɵKeyEventsPlugin=J,t.ɵNAMESPACE_URIS=T,t.ɵSharedStylesHost=b,t.ɵTRANSITION_ID=c,t.ɵangular_packages_platform_browser_platform_browser_a=Q,t.ɵangular_packages_platform_browser_platform_browser_b=$,t.ɵangular_packages_platform_browser_platform_browser_c=nt,t.ɵangular_packages_platform_browser_platform_browser_d=it,t.ɵangular_packages_platform_browser_platform_browser_e=ut,t.ɵangular_packages_platform_browser_platform_browser_f=ht,t.ɵangular_packages_platform_browser_platform_browser_g=E,t.ɵangular_packages_platform_browser_platform_browser_h=z,t.ɵangular_packages_platform_browser_platform_browser_i=F,t.ɵangular_packages_platform_browser_platform_browser_j=W,t.ɵangular_packages_platform_browser_platform_browser_k=p,t.ɵangular_packages_platform_browser_platform_browser_l=l,t.ɵangular_packages_platform_browser_platform_browser_m=m,t.ɵangular_packages_platform_browser_platform_browser_n=g,t.ɵangular_packages_platform_browser_platform_browser_o=a,t.ɵescapeHtml=function Et(t){var e={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return t.replace(/[&"'<>]/g,(function(t){return e[t]}))},t.ɵflattenStyles=A,t.ɵinitDomAdapter=Y,t.ɵshimContentAttribute=I,t.ɵshimHostAttribute=O,Object.defineProperty(t,"__esModule",{value:!0})}));
130
+ */,t.enableDebugTools=function wt(t){return f("profiler",new ft(t)),t},t.makeStateKey=function _t(t){return t},t.platformBrowser=rt,t.ɵBROWSER_SANITIZATION_PROVIDERS=et,t.ɵBROWSER_SANITIZATION_PROVIDERS__POST_R3__=[],t.ɵBrowserDomAdapter=s,t.ɵBrowserGetTestability=d,t.ɵDomEventsPlugin=k,t.ɵDomRendererFactory2=M,t.ɵDomSanitizerImpl=X,t.ɵDomSharedStylesHost=S,t.ɵELEMENT_PROBE_PROVIDERS=v,t.ɵELEMENT_PROBE_PROVIDERS__POST_R3__=[],t.ɵHAMMER_PROVIDERS__POST_R3__=[],t.ɵHammerGesturesPlugin=U,t.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS=tt,t.ɵKeyEventsPlugin=W,t.ɵNAMESPACE_URIS=T,t.ɵSharedStylesHost=b,t.ɵTRANSITION_ID=c,t.ɵangular_packages_platform_browser_platform_browser_a=Q,t.ɵangular_packages_platform_browser_platform_browser_b=$,t.ɵangular_packages_platform_browser_platform_browser_c=nt,t.ɵangular_packages_platform_browser_platform_browser_d=it,t.ɵangular_packages_platform_browser_platform_browser_e=ut,t.ɵangular_packages_platform_browser_platform_browser_f=ht,t.ɵangular_packages_platform_browser_platform_browser_g=E,t.ɵangular_packages_platform_browser_platform_browser_h=z,t.ɵangular_packages_platform_browser_platform_browser_i=F,t.ɵangular_packages_platform_browser_platform_browser_j=J,t.ɵangular_packages_platform_browser_platform_browser_k=p,t.ɵangular_packages_platform_browser_platform_browser_l=l,t.ɵangular_packages_platform_browser_platform_browser_m=g,t.ɵangular_packages_platform_browser_platform_browser_n=m,t.ɵangular_packages_platform_browser_platform_browser_o=a,t.ɵescapeHtml=function Et(t){var e={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return t.replace(/[&"'<>]/g,(function(t){return e[t]}))},t.ɵflattenStyles=A,t.ɵinitDomAdapter=Y,t.ɵshimContentAttribute=I,t.ɵshimHostAttribute=O,Object.defineProperty(t,"__esModule",{value:!0})}));