@angular/core
Version:
Angular - the core framework
351 lines • 300 kB
JavaScript
/**
* @license Angular v8.2.9
* (c) 2010-2019 Google LLC. https://angular.io/
* License: MIT
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@angular/core",["exports","rxjs","rxjs/operators"],t):t(((e=e||self).ng=e.ng||{},e.ng.core={}),e.rxjs,e.rxjs.operators)}(this,function(e,t,n){"use strict";var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function e(t){for(var n,r=1,o=arguments.length;r<o;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t}).apply(this,arguments)};function a(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function f(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e}
/**
* @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 d="__annotations__",p="__parameters__",h="__prop__metadata__";function v(e,t,n,r,o){var i=y(t);function a(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof a)return i.call.apply(i,f([this],t)),this;var u=new((e=a).bind.apply(e,f([void 0],t)));return function e(n){return o&&o.apply(void 0,f([n],t)),(n.hasOwnProperty(d)?n[d]:Object.defineProperty(n,d,{value:[]})[d]).push(u),r&&r(n),n}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}function y(e){return function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(e){var o=e.apply(void 0,f(n));for(var i in o)this[i]=o[i]}}}function g(e,t,n){var r=y(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,f([void 0],t)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(p)?e[p]:Object.defineProperty(e,p,{value:[]})[p];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}function m(e,t,n,r){var o=y(t);function i(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof i)return o.apply(this,t),this;var a=new((e=i).bind.apply(e,f([void 0],t)));return function u(e,n){var o=e.constructor,i=o.hasOwnProperty(h)?o[h]:Object.defineProperty(o,h,{value:{}})[h];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(a),r&&r.apply(void 0,f([e,n],t))}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}
/**
* @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 _,w=function(e){return{token:e}},b=g("Inject",w),C=g("Optional"),I=g("Self"),x=g("SkipSelf"),E=g("Host"),k=function(e){return{attributeName:e}},O=g("Attribute",k);
/**
* @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 T(e){for(var t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function P(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}
/**
* @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 N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}(
/**
* @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
*/
_=e.InjectFlags||(e.InjectFlags={}))[_.Default=0]="Default",_[_.Host=1]="Host",_[_.Self=2]="Self",_[_.SkipSelf=4]="SkipSelf",_[_.Optional=8]="Optional";var D=N;function j(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function A(e){var t=e[R];return t&&t.token===e?t:null}function S(e){return e&&e.hasOwnProperty(V)?e[V]:null}var R=T({ngInjectableDef:T}),V=T({ngInjectorDef: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 M(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(M).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}
/**
* @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 F=T({__forward_ref__:T});function H(e){return e.__forward_ref__=H,e.toString=function(){return M(this())},e}function L(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(F)&&t.__forward_ref__===H?t():e}
/**
* @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 B,z="undefined"!=typeof globalThis&&globalThis,Q="undefined"!=typeof window&&window,U="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,q="undefined"!=typeof global&&global,Z=z||q||Q||U;
/**
* @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 W(){var e=Z.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.ɵcompilerFacade}
/**
* @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(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef"}(B||(B={}));var K,G=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=N({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),J=new G("INJECTOR",-1),Y=new Object,$="ngTempTokenPath",X="ngTokenPath",ee=/\n/gm,te="ɵ",ne="__source",re=T({provide:String,useValue:T}),oe=void 0;
/**
* @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 ie(e){var t=oe;return oe=e,t}function ae(e){var t=K;return K=e,t}function ue(t,n){if(void 0===n&&(n=e.InjectFlags.Default),void 0===oe)throw new Error("inject() must be called from an injection context");return null===oe?ce(t,void 0,n):oe.get(t,n&e.InjectFlags.Optional?null:void 0,n)}function se(t,n){return void 0===n&&(n=e.InjectFlags.Default),(K||ue)(t,n)}var le=se;function ce(t,n,r){var o=A(t);if(o&&"root"==o.providedIn)return void 0===o.value?o.value=o.factory():o.value;if(r&e.InjectFlags.Optional)return null;if(void 0!==n)return n;throw new Error("Injector: NOT_FOUND ["+M(t)+"]")}function fe(t){for(var n=[],r=0;r<t.length;r++){var o=L(t[r]);if(Array.isArray(o)){if(0===o.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,a=e.InjectFlags.Default,u=0;u<o.length;u++){var s=o[u];s instanceof C||"Optional"===s.ngMetadataName||s===C?a|=e.InjectFlags.Optional:s instanceof x||"SkipSelf"===s.ngMetadataName||s===x?a|=e.InjectFlags.SkipSelf:s instanceof I||"Self"===s.ngMetadataName||s===I?a|=e.InjectFlags.Self:i=s instanceof b||s===b?s.token:s}n.push(se(i,a))}else n.push(se(o))}return n}var de=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Y),t===Y){var n=new Error("NullInjectorError: No provider for "+M(e)+"!");throw n.name="NullInjectorError",n}return t},e}();function pe(e,t,n,r){var o=e[$];throw t[ne]&&o.unshift(t[ne]),e.message=he("\n"+e.message,o,n,r),e[X]=o,e[$]=null,e}function he(e,t,n,r){void 0===r&&(r=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==te?e.substr(2):e;var o=M(t);if(t instanceof Array)o=t.map(M).join(" -> ");else if("object"==typeof t){var i=[];for(var a in t)if(t.hasOwnProperty(a)){var u=t[a];i.push(a+":"+("string"==typeof u?JSON.stringify(u):M(u)))}o="{"+i.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+o+"]: "+e.replace(ee,"\n ")}
/**
* @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 ve,ye,ge,me={"ɵɵdefineInjectable":N,"ɵɵdefineInjector":j,"ɵɵinject":se,"ɵɵgetFactoryOf":function _e(e){var t=e,n=A(t)||S(t);return n&&void 0!==n.factory?n.factory: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
*/},we=function we(){},be=function be(){};
/**
* @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 Ce(e,t){for(var n=0;n<e.length;n++)t.push(e[n])}function Ie(e,t){void 0===t&&(t=e);for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Ie(r,t)):t!==e&&t.push(r)}return t}function xe(e,t){e.forEach(function(e){return Array.isArray(e)?xe(e,t):t(e)})}function Ee(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ke(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}
/**
* @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 Oe(e,t){null==e&&Te(t)}function Te(e){throw new Error("ASSERTION ERROR: "+e)}
/**
* @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 Pe(e){return""+{toString:e}}
/**
* @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
*/
ve=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[ve.OnPush=0]="OnPush",ve[ve.Default=1]="Default",(ye=e.ɵChangeDetectorStatus||(e.ɵChangeDetectorStatus={}))[ye.CheckOnce=0]="CheckOnce",ye[ye.Checked=1]="Checked",ye[ye.CheckAlways=2]="CheckAlways",ye[ye.Detached=3]="Detached",ye[ye.Errored=4]="Errored",ye[ye.Destroyed=5]="Destroyed",(
/**
* @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
*/
ge=e.ViewEncapsulation||(e.ViewEncapsulation={}))[ge.Emulated=0]="Emulated",ge[ge.Native=1]="Native",ge[ge.None=2]="None",ge[ge.ShadowDom=3]="ShadowDom";var Ne={},De=[],je=T({ngComponentDef:T}),Ae=T({ngDirectiveDef:T}),Se=T({ngPipeDef:T}),Re=T({ngModuleDef:T}),Ve=T({ngLocaleIdDef:T}),Me=T({ngBaseDef:T}),Fe=T({__NG_ELEMENT_ID__:T}),He=0;function Le(t){var n=t.type,r=n.prototype,o={},i={type:n,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,declaredInputs:o,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:r.ngOnInit||null,doCheck:r.ngDoCheck||null,afterContentInit:r.ngAfterContentInit||null,afterContentChecked:r.ngAfterContentChecked||null,afterViewInit:r.ngAfterViewInit||null,afterViewChecked:r.ngAfterViewChecked||null,onDestroy:r.ngOnDestroy||null,onPush:t.changeDetection===e.ChangeDetectionStrategy.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||e.ViewEncapsulation.Emulated,id:"c",styles:t.styles||De,_:null,setInput:null,schemas:t.schemas||null,tView:null};return i._=Pe(function(){var e=t.directives,r=t.features,a=t.pipes;i.id+=He++,i.inputs=Ze(t.inputs,o),i.outputs=Ze(t.outputs),r&&r.forEach(function(e){return e(i)}),i.directiveDefs=e?function(){return("function"==typeof e?e():e).map(ze)}:null,i.pipeDefs=a?function(){return("function"==typeof a?a():a).map(Qe)}:null,n.hasOwnProperty(R)||(n[R]=N({token:n,factory:t.factory}))}),i}function Be(e,t,n){var r=e.ngComponentDef;r.directiveDefs=function(){return t.map(ze)},r.pipeDefs=function(){return n.map(Qe)}}function ze(e){return Je(e)||Ye(e)}function Qe(e){return $e(e)}function Ue(e){return{type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}}function qe(e,t){return Pe(function(){var n=et(e,!0);n.declarations=t.declarations||De,n.imports=t.imports||De,n.exports=t.exports||De})}function Ze(e,t){if(null==e)return Ne;var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function We(e){var t={};return{inputs:Ze(e.inputs,t),declaredInputs:t,outputs:Ze(e.outputs),viewQuery:e.viewQuery||null,contentQueries:e.contentQueries||null,hostBindings:e.hostBindings||null}}var Ke=Le;function Ge(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Je(e){return e[je]||null}function Ye(e){return e[Ae]||null}function $e(e){return e[Se]||null}function Xe(e){return e[Me]||null}function et(e,t){var n=e[Re]||null;if(!n&&!0===t)throw new Error("Type "+M(e)+" does not have 'ngModuleDef' property.");return n}
/**
* @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 tt=0,nt=1,rt=2,ot=3,it=4,at=5,ut=6,st=7,lt=8,ct=9,ft=10,dt=11,pt=12,ht=13,vt=14,yt=15,gt=16,mt=17,_t=18,wt=19,bt=1,Ct=2,It=5,xt=7,Et=8,kt=9;
/**
* @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 Ot(e){return Array.isArray(e)&&"object"==typeof e[bt]}function Tt(e){return Array.isArray(e)&&!0===e[bt]}function Pt(e){return 0!=(4&e.flags)}function Nt(e){return 1==(1&e.flags)}function Dt(e){return null!==e.template}function jt(e){return 0!=(512&e[rt])}
/**
* @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
*/
var At=8,St=8,Rt=9,Vt=-1,Mt=function Mt(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n};
/**
* @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 Ft(e,t,n,r,o,i){var a=t.onChanges,u=t.onInit,s=t.doCheck;o>=0&&(!n.preOrderHooks||o===n.preOrderHooks.length)&&(a||u||s)&&(n.preOrderHooks||(n.preOrderHooks=[])).push(r),i>=0&&(!n.preOrderCheckHooks||i===n.preOrderCheckHooks.length)&&(a||s)&&(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)),u&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,u),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}function Ht(e,t){if(e.firstTemplatePass)for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var o=e.data[n];o.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,o.afterContentInit),o.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,o.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,o.afterContentChecked)),o.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,o.afterViewInit),o.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,o.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,o.afterViewChecked)),null!=o.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,o.onDestroy)}}function Lt(e,t,n,r){n||Bt(e,t.preOrderHooks,t.preOrderCheckHooks,n,0,void 0!==r?r:null)}function Bt(e,t,n,r,o,i){if(!r){var a=(3&e[rt])===o?t:n;a&&function u(e,t,n,r){for(var o=null!=r?r:-1,i=0,a=void 0!==r?65535&e[_t]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(i=t[a],null!=r&&i>=r)break}else t[a]<0&&(e[_t]+=65536),(i<o||-1==o)&&(zt(e,n,t,a),e[_t]=(4294901760&e[_t])+a+2),a++}(e,a,o,i),null==i&&(3&e[rt])===o&&3!==o&&(e[rt]&=1023,e[rt]+=1)}}function zt(e,t,n,r){var o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[rt]>>10<e[_t]>>16&&(3&e[rt])===t&&(e[rt]+=1024,i.call(a)):i.call(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 Qt=null,Ut=new Map,qt=null,Zt=1,Wt=0;function Kt(e,t){return qt&&e===qt||(qt=e,t&&(Qt=Ut.get(e)||null),Qt=Qt||{classesBitMask:Wt,classesIndex:Zt,stylesBitMask:Wt,stylesIndex:Zt}),Qt}function Gt(){Qt=null,qt=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
*/
var Jt,Yt="__ngContext__";
/**
* @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 $t(e){for(;Array.isArray(e);)e=e[tt];return e}function Xt(e,t){return $t(t[e+wt])}function en(e,t){return $t(t[e.index])}function tn(e,t){var n=e.index;return-1==n?null:$t(t[n])}function nn(e,t){return t[nt].data[e+wt]}function rn(e,t){return e[t+wt]}function on(e,t){var n=t[e];return Ot(n)?n:n[tt]}function an(e){return e[Yt]}function un(e){var t=an(e);return t?Array.isArray(t)?t:t.lView:null}function sn(e){e[_t]=0}
/**
* @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 ln,cn=null;function fn(e){cn=e}function dn(){return ln}function pn(){ln=!0}function hn(){ln=!1}function vn(){return mn}var yn,gn,mn,_n=1,wn=_n,bn=0,Cn=0;function In(e){void 0===e&&(e=null),Zn!==e&&(Kn(null==e?-1:e),wn=null==e?0:_n,bn=0,Cn=0)}function xn(){wn+=1+Cn,bn=0,Cn=0}function En(e){bn+=e,Cn=Math.max(Cn,bn)}function kn(e){An=e}function On(){return yn}function Tn(e,t){yn=e,gn=t}function Pn(e,t){yn=e,mn=t}function Nn(){return gn}function Dn(){gn=!1}function jn(e){return void 0===e&&(e=mn),4==(4&e[rt])}var An=null,Sn=!1;function Rn(){return Sn}function Vn(e){Sn=e}var Mn=-1;function Fn(){return Mn}function Hn(e){Mn=e}var Ln=0;function Bn(){return Ln}function zn(e){Ln=e}function Qn(e,t){var n=mn;return e&&(Mn=e[nt].bindingStartIndex),yn=t,gn=!0,mn=An=e,n}function Un(e){return void 0===e&&(e=1),(An=function t(e,n){for(;e>0;)n=n[gt],e--;return n}(e,An))[ct]}function qn(e,t){var n=mn[nt];if(jn(mn))mn[rt]&=-5;else try{sn(mn),t&&Bt(mn,n.viewHooks,n.viewCheckHooks,Sn,2,void 0)}finally{mn[rt]&=-73,mn[st]=n.bindingStartIndex}Qn(e,null)}var Zn=-1;function Wn(){return Zn}function Kn(e){Zn=e,Gt()}var Gn,Jn=null;function Yn(){Jn="http://www.w3.org/2000/svg"}function $n(){Jn="http://www.w3.org/1998/MathML/"}function Xn(){er()}function er(){Jn=null}function tr(e){Gn=e}function nr(){return Gn}
/**
* @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 rr(e,t){return!(e!=e&&t!=t)&&e!==t}function or(e){return"string"==typeof e?e:null==e?"":""+e}function ir(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():or(e)}var ar=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Z);function ur(e){return{name:"window",target:e.ownerDocument.defaultView}}function sr(e){return{name:"document",target:e.ownerDocument}}function lr(e){return{name:"body",target:e.ownerDocument.body}}var cr="�";function fr(e){return e.indexOf(cr)>=0}function dr(e){return e instanceof Function?e():e}var pr,hr="--MAP--",vr=0;function yr(e,t){t===vr?e[2]>vr&&function n(e){mr(e,2|gr(e))}(e):e[2]=t}function gr(e){return e[1]}function mr(e,t){e[1]=t}function _r(e,t){return e[t+2]}function wr(e,t){return 1&e[t+0]}function br(e,t){return(1&wr(e,t))>0}function Cr(e,t){return e[t+0]>>1}function Ir(e,t,n){var r=wr(e,t);e[t+0]=r|n<<1}function xr(e,t){return e[t+1]}function Er(e,t,n){return e[t+3+n]}function kr(e,t){return e[t+3+xr(e,t)-1]}function Or(e,t){return!(!e||t!==e[2])}function Tr(e){return(1&gr(e))>0}function Pr(e){return(2&gr(e))>0}function Nr(e){return 6+e[4]}function Dr(e,t){var n=Array.isArray(e)?e[0]:e,r=Array.isArray(t)?t[0]:t;return n instanceof String&&(n=n.toString()),r instanceof String&&(r=r.toString()),rr(n,r)}function jr(e){return null!=e&&""!==e}function Ar(e,t,n){return void 0===n&&(n=" "),e+(t.length&&e.length?n:"")+t}function Sr(e){return e.replace(/[a-z][A-Z]/g,function(e){return e.charAt(0)+"-"+e.charAt(1)}).toLowerCase()}function Rr(e){return Vr(e)?e[0]:e}function Vr(e){return Array.isArray(e)&&e.length>=6&&"string"!=typeof e[1]}function Mr(e){var t=Rr(e);return t&&t[0]||""}function Fr(e){return 0!=(8&e.flags)}function Hr(e){return 0!=(16&e.flags)}function Lr(e,t){return e[t+0]}function Br(e,t,n){e[t+1]=n}function zr(e,t){return e[t+1]}function Qr(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(pr||(pr={}));var Ur={createRenderer:function(e,t){return document}};function qr(e,t){for(var n=vn()[pt],r=Qr(n),o=0;o<t.length;){var i=t[o];if("number"==typeof i){if(0!==i)break;o++;var a=t[o++],u=t[o++],s=t[o++];r?n.setAttribute(e,u,s,a):e.setAttributeNS(a,u,s)}else s=t[++o],Kr(u=i)?r&&n.setProperty(e,u,s):r?n.setAttribute(e,u,s):e.setAttribute(u,s),o++}return o}function Zr(e){return 3===e||4===e||6===e}var Wr="@";function Kr(e){return e[0]===Wr}
/**
* @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 Gr(e){return e!==Vt}function Jr(e){return 32767&e}function Yr(e){return e>>16}function $r(e,t){for(var n=Yr(e),r=t;n>0;)r=r[gt],n--;return r}
/**
* @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 Xr(e){var t=e[ot];return Tt(t)?t[ot]:t}function eo(e){for(var t=e[ut];null!==t&&2===t.type;)t=(e=e[gt])[ut];return e}function to(e){return function t(e){for(var t=Ot(e)?e:un(e);t&&!(512&t[rt]);)t=Xr(t);return t}(e)[ct]}
/**
* @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 no=!0;function ro(e){var t=no;return no=e,t}var oo=255,io=0;function ao(e,t){var n=so(e,t);if(-1!==n)return n;var r=t[nt];r.firstTemplatePass&&(e.injectorIndex=t.length,uo(r.data,e),uo(t,null),uo(r.blueprint,null));var o=lo(e,t),i=Jr(o),a=$r(o,t),u=e.injectorIndex;if(Gr(o))for(var s=a[nt].data,l=0;l<8;l++)t[u+l]=a[i+l]|s[i+l];return t[u+St]=o,u}function uo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function so(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+St]?-1:e.injectorIndex}function lo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[ut],r=1;n&&-1===n.injectorIndex;)n=(t=t[gt])?t[ut]:null,r++;return n?n.injectorIndex|r<<16:-1}function co(e,t,n){!function r(e,t,n){var r="string"!=typeof n?n[Fe]:n.charCodeAt(0)||0;null==r&&(r=n[Fe]=io++);var o=r&oo,i=1<<o,a=64&o,u=32&o,s=t.data;128&o?a?u?s[e+7]|=i:s[e+6]|=i:u?s[e+5]|=i:s[e+4]|=i:a?u?s[e+3]|=i:s[e+2]|=i:u?s[e+1]|=i:s[e]|=i}(e,t,n)}function fo(e,t){if("class"===t)return Mr(e.classes);if("style"===t)return Mr(e.styles);var n=e.attrs;if(n)for(var r=n.length,o=0;o<r;){var i=n[o];if(Zr(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(i===t)return n[o+1];o+=2}}return null}function po(t,n,r,o,i){if(void 0===o&&(o=e.InjectFlags.Default),t){var a=function u(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[Fe];return"number"==typeof t&&t>0?t&oo:t}(r);if("function"==typeof a){var s=On(),l=vn();Pn(t,n);try{var c=a();if(null!=c||o&e.InjectFlags.Optional)return c;throw new Error("No provider for "+ir(r)+"!")}finally{Pn(s,l)}}else if("number"==typeof a){if(-1===a)return new wo(t,n);var f=null,d=so(t,n),p=Vt,h=o&e.InjectFlags.Host?eo(n)[ut]:null;for((-1===d||o&e.InjectFlags.SkipSelf)&&(p=-1===d?lo(t,n):n[d+St],_o(o,!1)?(f=n[nt],d=Jr(p),n=$r(p,n)):d=-1);-1!==d;){p=n[d+St];var v=n[nt];if(mo(a,d,v.data)){var y=vo(d,n,r,f,o,h);if(y!==ho)return y}_o(o,n[nt].data[d+At]===h)&&mo(a,d,n)?(f=v,d=Jr(p),n=$r(p,n)):d=-1}}}if(o&e.InjectFlags.Optional&&void 0===i&&(i=null),0==(o&(e.InjectFlags.Self|e.InjectFlags.Host))){var g=n[ft],m=ae(void 0);try{return g?g.get(r,i,o&e.InjectFlags.Optional):ce(r,i,o&e.InjectFlags.Optional)}finally{ae(m)}}if(o&e.InjectFlags.Optional)return i;throw new Error("NodeInjector: NOT_FOUND ["+ir(r)+"]")}var ho={};function vo(t,n,r,o,i,a){var u=n[nt],s=u.data[t+At],l=yo(s,u,r,null==o?Nt(s)&&no:o!=u&&3===s.type,i&e.InjectFlags.Host&&a===s);return null!==l?go(u.data,n,l,s):ho}function yo(e,t,n,r,o){for(var i=e.providerIndexes,a=t.data,u=65535&i,s=e.directiveStart,l=i>>16,c=o?u+l:e.directiveEnd,f=r?u:u+l;f<c;f++){var d=a[f];if(f<s&&n===d||f>=s&&d.type===n)return f}if(o){var p=a[s];if(p&&Dt(p)&&p.type===n)return s}return null}function go(e,t,n,r){var o=t[n];if(function i(e){return null!==e&&"object"==typeof e&&Object.getPrototypeOf(e)==Mt.prototype}(o)){var a=o;if(a.resolving)throw new Error("Circular dep for "+ir(e[n]));var u=ro(a.canSeeViewProviders);a.resolving=!0;var s=void 0;a.injectImpl&&(s=ae(a.injectImpl));var l=On(),c=vn();Pn(r,t);try{o=t[n]=a.factory(void 0,e,t,r)}finally{a.injectImpl&&ae(s),ro(u),a.resolving=!1,Pn(l,c)}}return o}function mo(e,t,n){var r=64&e,o=32&e;return!!((128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t])&1<<e)}function _o(t,n){return!(t&e.InjectFlags.Self||t&e.InjectFlags.Host&&n)}var wo=function(){function e(e,t){this._tNode=e,this._lView=t}return e.prototype.get=function(e,t){return po(this._tNode,this._lView,e,void 0,t)},e}();function bo(e){var t=e,n=Je(t)||Ye(t)||$e(t)||A(t)||S(t);return n&&void 0!==n.factory?n.factory:null}function Co(e){var t=bo(Object.getPrototypeOf(e.prototype).constructor);return null!==t?t:function(e){return new e}}
/**
* @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 Io="ngDebugContext",xo="ngOriginalError",Eo="ngErrorLogger";function ko(e){return e[Io]}function Oo(e){return e[xo]}function To(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,f(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
*/var Po=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function o(e){return e[Eo]||To}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?ko(e)?ko(e):this._findContext(Oo(e)):null},e.prototype._findOriginalError=function(e){for(var t=Oo(e);t&&Oo(t);)t=Oo(t);return t},e}(),No="__SANITIZER_TRUSTED_BRAND__";
/**
* @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 Do(e,t){return e instanceof String&&e[No]===t}function jo(e,t){var n=new String(e);return n[No]=t,n}
/**
* @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 Ao=!0,So=!1;function Ro(){return So=!0,Ao}
/**
* @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 Vo=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function n(){try{return!!window.DOMParser}catch(e){return!1}}
/**
* @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
*/()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),Mo=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Fo=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ho(e){return(e=String(e)).match(Mo)||e.match(Fo)?e:(Ro()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Lo(e){return(e=String(e)).split(",").map(function(e){return Ho(e.trim())}).join(", ")}
/**
* @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 Bo(e){var t,n,r={};try{for(var o=l(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function zo(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=l(n),a=i.next();!a.done;a=i.next()){var u=a.value;for(var s in u)u.hasOwnProperty(s)&&(o[s]=!0)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var Qo,Uo,qo=Bo("area,br,col,hr,img,wbr"),Zo=Bo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wo=Bo("rp,rt"),Ko=zo(Wo,Zo),Go=zo(Zo,Bo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Jo=zo(Wo,Bo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Yo=zo(qo,Go,Jo,Ko),$o=Bo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xo=Bo("srcset"),ei=Bo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ti=Bo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),ni=zo($o,Xo,ei,ti),ri=Bo("script,style,template"),oi=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(!Yo.hasOwnProperty(t))return this.sanitizedSomething=!0,!ri.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,r=0;r<n.length;r++){var o=n.item(r),i=o.name,a=i.toLowerCase();if(ni.hasOwnProperty(a)){var u=o.value;$o[a]&&(u=Ho(u)),Xo[a]&&(u=Lo(u)),this.buf.push(" ",i,'="',ui(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Yo.hasOwnProperty(t)&&!qo.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(ui(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),ii=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ai=/([^\#-~ |!])/g;function ui(e){return e.replace(/&/g,"&").replace(ii,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(ai,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function si(e,t){var n=null;try{Qo=Qo||new Vo(e);var r=t?String(t):"";n=Qo.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Qo.getInertBodyElement(r)}while(r!==i);var a=new oi,u=a.sanitizeChildren(li(n)||n);return Ro()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var s=li(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}function li(e){return"content"in e&&function t(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
/**
* @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
*/(e)?e.content: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
*/
Uo=e.SecurityContext||(e.SecurityContext={}))[Uo.NONE=0]="NONE",Uo[Uo.HTML=1]="HTML",Uo[Uo.STYLE=2]="STYLE",Uo[Uo.SCRIPT=3]="SCRIPT",Uo[Uo.URL=4]="URL",Uo[Uo.RESOURCE_URL=5]="RESOURCE_URL";var ci=function ci(){},fi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),di=/^url\(([^)]+)\)$/;
/**
* @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 pi(e){if(!(e=String(e).trim()))return"";var t=e.match(di);return t&&Ho(t[1])===t[1]||e.match(fi)&&function n(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(Ro()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}
/**
* @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 hi(t){var n=Ci();return n?n.sanitize(e.SecurityContext.HTML,t)||"":Do(t,"Html")?t.toString():si(document,or(t))}function vi(t){var n=Ci();return n?n.sanitize(e.SecurityContext.STYLE,t)||"":Do(t,"Style")?t.toString():pi(or(t))}function yi(t){var n=Ci();return n?n.sanitize(e.SecurityContext.URL,t)||"":Do(t,"Url")?t.toString():Ho(or(t))}function gi(t){var n=Ci();if(n)return n.sanitize(e.SecurityContext.RESOURCE_URL,t)||"";if(Do(t,"ResourceUrl"))return t.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function mi(t){var n=Ci();if(n)return n.sanitize(e.SecurityContext.SCRIPT,t)||"";if(Do(t,"Script"))return t.toString();throw new Error("unsafe value used in a script context")}function _i(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?gi:yi}function wi(e,t,n){return _i(t,n)(e)}var bi=function(e,t,n){var r=!0;return 1&(n=n||3)&&(r="background-image"===e||"background"===e||"border-image"===e||"filter"===e||"list-style"===e||"list-style-image"===e||"clip-path"===e),2&n?r?vi(t):t:r};function Ci(){var e=vn();return e&&e[ht]}
/**
* @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 Ii=/([A-Z])/g;function xi(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}
/**
* @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 Ei(e){var t=an(e);if(t){if(Array.isArray(t)){var n=t,r=void 0,o=void 0,i=void 0;if(function a(e){return e&&e.constructor&&e.constructor.ngComponentDef}(e)){if(-1==(r=Di(n,e)))throw new Error("The provided component was not found in the application");o=e}else if(function u(e){return e&&e.constructor&&e.constructor.ngDirectiveDef}(e)){if(-1==(r=function s(e,t){for(var n=e[nt].firstChild;n;){for(var r=n.directiveEnd,o=n.directiveStart;o<r;o++)if(e[o]===t)return n.index;n=Ni(n)}return-1}(n,e)))throw new Error("The provided directive was not found in the application");i=ji(r,n,!1)}else if(-1==(r=Pi(n,e)))return null;var l=an(y=$t(n[r])),c=l&&!Array.isArray(l)?l:ki(n,r,y);if(o&&void 0===c.component&&(c.component=o,Ti(c.component,c)),i&&void 0===c.directives){c.directives=i;for(var f=0;f<i.length;f++)Ti(i[f],c)}Ti(c.native,c),t=c}}else for(var d=e,p=d;p=p.parentNode;){var h=an(p);if(h){if(n=void 0,!(n=Array.isArray(h)?h:h.lView))return null;var v=Pi(n,d);if(v>=0){var y;Ti(y=$t(n[v]),c=ki(n,v,y)),t=c;break}}}return t||null}function ki(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Oi(e){var t,n=an(e);if(Array.isArray(n)){var r=Di(n,e);(o=ki(n,r,(t=on(r,n))[tt])).component=e,Ti(e,o),Ti(o.native,o)}else{var o;t=on((o=n).nodeIndex,o.lView)}return t}function Ti(e,t){e[Yt]=t}function Pi(e,t){for(var n=e[nt].firstChild;n;){if(tn(n,e)===t)return n.index;n=Ni(n)}return-1}function Ni(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Di(e,t){var n=e[nt].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(on(o,e)[ct]===t)return o}else if(on(wt,e)[ct]===t)return wt;return-1}function ji(e,t,n){var r=t[nt].data[e],o=r.directiveStart;return 0==o?De:(!n&&1&r.flags&&o++,t.slice(o,r.directiveEnd))}function Ai(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Si(){throw new Error("Cannot mix multi providers and regular providers")}var Ri="ng-template";
/**
* @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 Vi(e,t){var n=e.length,r=e.indexOf(t),o=r+t.length;return!(-1===r||r>0&&" "!==e[r-1]||o<n&&" "!==e[o])}function Mi(e,t,n){return t===(0!==e.type||n?e.tagName:Ri)}function Fi(e,t,n){for(var r=4,o=e.attrs||[],i=function a(e){for(var t=0;t<e.length;t++)if(Zr(e[t]))return t;return e.length}(o),u=!1,s=0;s<t.length;s++){var l=t[s];if("number"!=typeof l){if(!u)if(4&r){if(r=2|1&r,""!==l&&!Mi(e,l,n)||""===l&&1===t.length){if(Hi(r))return!1;u=!0}}else{var c=8&r?l:t[++s];if(8&r&&e.classes){if(!Vi(Mr(e.classes),c)){if(Hi(r))return!1;u=!0}continue}var f=Li(8&r?"class":l,o,0==e.type&&e.tagName!==Ri,n);if(-1===f){if(Hi(r))return!1;u=!0;continue}if(""!==c){var d;d=f>i?"":o[f+1];var p=8&r?d:null;if(p&&!Vi(p,c)||2&r&&c!==d){if(Hi(r))return!1;u=!0}}}}else{if(!u&&!Hi(r)&&!Hi(l))return!1;if(u&&Hi(l))continue;u=!1,r=l|1&r}}return Hi(r)||u}function Hi(e){return 0==(1&e)}function Li(e,t,n,r){if(null===t)return-1;var o=0;if(r||!n){for(var i=!1;o<t.length;){var a=t[o];if(a===e)return o;if(3===a||6===a)i=!0;else{if(1===a){for(var u=t[++o];"string"==typeof u;)u=t[++o];continue}if(4===a)break;if(0===a){o+=4;continue}}o+=i?1:2}return-1}return function s(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){if(e[n]===t)return n;n++}return-1}(t,e)}function Bi(e,t,n){void 0===n&&(n=!1);for(var r=0;r<t.length;r++)if(Fi(e,t[r],n))return!0;return!1}function zi(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}var Qi=1,Ui=0,qi=null,Zi=1,Wi=[];function Ki(e,t,n,r,o,i,a,u){var s=!r,l=Kt(n,Pr(e)),c=s?Ui:l.classesIndex++;return!(!Ji(e,t,c,r,o,i,a,u,!1)&&!u||(l.classesBitMask|=1<<c,0))}function Gi(e,t,n,r,o,i,a,u,s){var l=!r,c=Kt(n,Pr(e)),f=l?Ui:c.stylesIndex++;return!(!Ji(e,t,f,r,o,i,u,s,!!l||!!a&&a(r,null,1))&&!s||(c.stylesBitMask|=1<<f,0))}function Ji(e,t,n,r,o,i,a,u,s){Tr(e)||(a?function l(e,t,n,r,o){Wi.unshift(e,t,n,r,o)}(e,n,r,o,s):(Wi.length&&Yi(),$i(e,n,r,o,s)));var c=u||Dr(t[o],i);return c&&(t[o]=i),c}function Yi(){for(var e=0;e<Wi.length;)$i(Wi[e++],Wi[e++],Wi[e++],Wi[e++],Wi[e++]);Wi.length=0}function $i(e,t,n,r,o){var i=!1;if(n){for(var a=!1,u=Nr(e);u<e.length;){var s=xr(e,u),l=_r(e,u);if(a=n<=l){n<l&&Xi(e,u,n,o),ea(e,!1,u,r,t);break}u+=3+s}a||(Xi(e,e.length,n,o),ea(e,!1,u,r,t),i=!0)}else ea(e,!0,3,r,t),i=!0;return i}function Xi(e,t,n,r){e.splice(t,0,r?1:0,Zi,n,qi),Ir(e,t,Qi)}function ea(e,t,n,r,o){var i=n+3,a=i+xr(e,n);if(t||a--,"number"==typeof r){for(var u=i;u<=a;u++)if(e[u]===r)return;e.splice(a,0,r),e[n+1]++,Ir(e,n,Cr(e,n)|1<<o)}else null!==r&&null==e[a]&&(e[a]=r)}function ta(e,t,n,r,o,i,a,u){return o&&r&&(function s(e){if(!Tr(e)){var t=Rr(e);t&&function n(e,t){for(var n=1;n<t.length;n+=2){var r=zr(t,n);r&&$i(e,-1,Lr(t,n),r,!1)}}
/**
* @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
*/(e,t),function r(e){mr(e,1|gr(e))}(e)}}(r),function l(e,t){return e&&t>Wt}(r,i))?(na(r,e,t,n,i,a,u),!0):o}function na(e,t,n,r,o,i,a){for(var u=function s(e){return!0===e?-1:!1===e?0:e}(o),l=function c(){return ra}(),f=(u&Cr(e,3))>0?1:0,d=Nr(e);d<e.length;){var p=xr(e,d);if(u&Cr(e,d)){for(var h=!1,v=_r(e,d),y=p-1,g=Er(e,d,y),m=0;m<y;m++){var _=Er(e,d,m),w=r[_];if(jr(w)){i(t,n,v,a&&br(e,d)?a(v,w,2):w,_),h=!0;break}}if(l){var b=l(e,t,n,r,i,a,f|(h?4:2),v,g);h=h||b}h||i(t,n,v,g)}d+=3+p}l&&l(e,t,n,r,i,a,f)}var ra=null,oa=function(e,t,n,r){var o=t.style;r?(r=r.toString(),e&&Qr(e)?e.setStyle(t,n,r,pr.DashCase):o&&o.setProperty(n,r)):e&&Qr(e)?e.removeStyle(t,n,pr.DashCase):o&&o.removeProperty(n)},ia=function(e,t,n,r){if(""!==n){var o=t.classList;r?e&&Qr(e)?e.addClass(t,n):o&&o.add(n):e&&Qr(e)?e.removeClass(t,n):o&&o.remove(n)}};function aa(e,t,n,r){var o=Rr(n);if(o)for(var i=1;i<o.length;i+=2){var a=Lr(o,i),u=zr(o,i);r?ia(e,t,a,u,null):oa(e,t,a,u,null)}}var ua={},sa={marker:"element"},la={marker:"comment"},ca=function(e,t,n,r,o,i,a,u,s){var l=!1;if(xr(e,3)){var c=!0,f=!u;f&&-2&a&&(c=!1,l=!0),c&&(l=function e(t,n,r,o,i,a,u,s,l,c){var