/** * @license Angular v8.1.3 * (c) 2010-2019 Google LLC. https://angular.io/ * License: MIT */ !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,n){"use strict";var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function t(e){for(var n,o=1,r=arguments.length;o=0;u--)(r=t[u])&&(a=(i<3?r(a):i>3?r(e,n,a):r(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,o){e(n,o,t)}}function s(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,r,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ var p=null;function l(){return p}function f(t){p||(p=t)}var d,y=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}(),h=function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var o=["Webkit","Moz","O","ms"],r=0;r0},n.prototype.tagName=function(t){return t.tagName},n.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,o=0;o0;u||(u=t[a]=[]);var c=st(e)?Zone.root:Zone.current;if(0===u.length)u.push({zone:c,handler:i});else{for(var p=!1,l=0;l-1},a([n.Injectable(),u(0,n.Inject(e.DOCUMENT)),u(1,n.Inject(ft)),u(3,n.Optional()),u(3,n.Inject(dt)),s("design:paramtypes",[Object,yt,n.ɵConsole,Object])],o)}(H),mt=["alt","control","meta","shift"],gt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},vt=function(t){function o(e){return t.call(this,e)||this}var i;return r(o,t),i=o,o.prototype.supports=function(t){return null!=i.parseEventName(t)},o.prototype.addEventListener=function(t,e,n){var o=i.parseEventName(e),r=i.eventCallback(o.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return l().onAndCancel(t,o.domEventName,r)})},o.parseEventName=function(t){var e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;var o=i._normalizeKey(e.pop()),r="";if(mt.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),r+=t+".")}),r+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=n,a.fullKey=r,a},o.getEventFullKey=function(t){var e="",n=l().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),mt.forEach(function(o){o!=n&&(0,gt[o])(t)&&(e+=o+".")}),e+=n},o.eventCallback=function(t,e,n){return function(o){i.getEventFullKey(o)===t&&n.runGuarded(function(){return e(o)})}},o._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},i=a([n.Injectable(),u(0,n.Inject(e.DOCUMENT)),s("design:paramtypes",[Object])],o)}(H),wt=function(t){function o(e){var n=t.call(this)||this;return n._doc=e,n}return r(o,t),o.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 _t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),n.ɵ_sanitizeHtml(this._doc,String(e)));case n.SecurityContext.STYLE:return e instanceof Et?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),n.ɵ_sanitizeStyle(e));case n.SecurityContext.SCRIPT:if(e instanceof St)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 Tt?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)")}},o.prototype.checkNotSafeValue=function(t,e){if(t instanceof bt)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},o.prototype.bypassSecurityTrustHtml=function(t){return new _t(t)},o.prototype.bypassSecurityTrustStyle=function(t){return new Et(t)},o.prototype.bypassSecurityTrustScript=function(t){return new St(t)},o.prototype.bypassSecurityTrustUrl=function(t){return new Tt(t)},o.prototype.bypassSecurityTrustResourceUrl=function(t){return new Nt(t)},a([n.Injectable(),u(0,n.Inject(e.DOCUMENT)),s("design:paramtypes",[Object])],o)}($=function $(){}),bt=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}(),_t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(bt),Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"Style"},e}(bt),St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"Script"},e}(bt),Tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"URL"},e}(bt),Nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(bt),Ct=[{provide:n.PLATFORM_ID,useValue:e.ɵPLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:It,multi:!0},{provide:e.PlatformLocation,useClass:S,deps:[e.DOCUMENT]},{provide:e.DOCUMENT,useFactory:Dt,deps:[]}],At=[{provide:n.Sanitizer,useExisting:$},{provide:$,useClass:wt,deps:[e.DOCUMENT]}],Ot=n.createPlatformFactory(n.platformCore,"browser",Ct);function It(){b.makeCurrent(),A.init()}function Rt(){return new n.ErrorHandler}function Dt(){return document}var Mt=[At,{provide:n.ɵAPP_ROOT,useValue:!0},{provide:n.ErrorHandler,useFactory:Rt,deps:[]},{provide:j,useClass:pt,multi:!0,deps:[e.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:j,useClass:vt,multi:!0,deps:[e.DOCUMENT]},{provide:j,useClass:ht,multi:!0,deps:[e.DOCUMENT,ft,n.ɵConsole,[new n.Optional,dt]]},{provide:ft,useClass:yt,deps:[]},{provide:J,useClass:J,deps:[x,U,n.APP_ID]},{provide:n.RendererFactory2,useExisting:J},{provide:B,useExisting:U},{provide:U,useClass:U,deps:[e.DOCUMENT]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone]},{provide:x,useClass:x,deps:[j,n.NgZone]},k],Pt=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:T,useExisting:n.APP_ID},C]}},o=a([n.NgModule({providers:Mt,exports:[e.CommonModule,n.ApplicationModule]}),u(0,n.Optional()),u(0,n.SkipSelf()),u(0,n.Inject(o)),s("design:paramtypes",[Object])],t)}();function Lt(){return new kt(n.ɵɵinject(e.DOCUMENT))}var kt=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:Lt,token:t,providedIn:"root"}),a([n.Injectable({providedIn:"root",useFactory:Lt,deps:[]}),u(0,n.Inject(e.DOCUMENT)),s("design:paramtypes",[Object])],t)}();function jt(){return new xt(n.ɵɵinject(e.DOCUMENT))}var xt=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:jt,token:t,providedIn:"root"}),a([n.Injectable({providedIn:"root",useFactory:jt,deps:[]}),u(0,n.Inject(e.DOCUMENT)),s("design:paramtypes",[Object])],t)}(),Ht="undefined"!=typeof window&&window||{},Bt=function Bt(t,e){this.msPerTick=t,this.numTicks=e},Ut=function(){function t(t){this.appRef=t.injector.get(n.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=Ht.console.profile;e&&n&&Ht.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&&Ht.console.profileEnd("Change Detection");var a=(i-o)/r;return Ht.console.log("ran "+r+" change detection cycles"),Ht.console.log(a.toFixed(2)+" ms per check"),new Bt(a,r)},t}(),zt=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)}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function Vt(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 zt.init(o)}var Ft=function(){return a([n.NgModule({providers:[{provide:zt,useFactory:Vt,deps:[e.DOCUMENT,n.APP_ID]}]})],function t(){})}(),Zt=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}(),Gt=new n.Version("8.1.3"); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ t.ɵangular_packages_platform_browser_platform_browser_c=Mt,t.ɵangular_packages_platform_browser_platform_browser_b=Dt,t.ɵangular_packages_platform_browser_platform_browser_a=Rt,t.ɵangular_packages_platform_browser_platform_browser_l=h,t.ɵangular_packages_platform_browser_platform_browser_d=Lt,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=jt,t.ɵangular_packages_platform_browser_platform_browser_f=Vt,t.ɵangular_packages_platform_browser_platform_browser_k=L,t.ɵangular_packages_platform_browser_platform_browser_j=P,t.ɵangular_packages_platform_browser_platform_browser_g=H,t.BrowserModule=Pt,t.platformBrowser=Ot,t.Meta=kt,t.Title=xt,t.disableDebugTools=function Kt(){O("profiler",null)} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */,t.enableDebugTools=function qt(t){return O("profiler",new Ut(t)),t},t.BrowserTransferStateModule=Ft,t.TransferState=zt,t.makeStateKey=function Wt(t){return t},t.By=Zt,t.EVENT_MANAGER_PLUGINS=j,t.EventManager=x,t.HAMMER_GESTURE_CONFIG=ft,t.HAMMER_LOADER=dt,t.HammerGestureConfig=yt,t.DomSanitizer=$,t.VERSION=Gt,t.ɵELEMENT_PROBE_PROVIDERS__POST_R3__=[],t.ɵBROWSER_SANITIZATION_PROVIDERS=At,t.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS=Ct,t.ɵinitDomAdapter=It,t.ɵBrowserDomAdapter=b,t.ɵBrowserPlatformLocation=S,t.ɵTRANSITION_ID=T,t.ɵBrowserGetTestability=A,t.ɵescapeHtml=function Jt(t){var e={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return t.replace(/[&"'<>]/g,function(t){return e[t]})},t.ɵELEMENT_PROBE_PROVIDERS=k,t.ɵDomAdapter=y,t.ɵgetDOM=l,t.ɵsetRootDomAdapter=f,t.ɵDomRendererFactory2=J,t.ɵNAMESPACE_URIS=z,t.ɵflattenStyles=q,t.ɵshimContentAttribute=G,t.ɵshimHostAttribute=K,t.ɵDomEventsPlugin=pt,t.ɵHammerGesturesPlugin=ht,t.ɵKeyEventsPlugin=vt,t.ɵDomSharedStylesHost=U,t.ɵSharedStylesHost=B,t.ɵDomSanitizerImpl=wt,Object.defineProperty(t,"__esModule",{value:!0})});