-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-es2015.8f42a416baa7205c735c.js
1 lines (1 loc) · 136 KB
/
main-es2015.8f42a416baa7205c735c.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let s=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function i(e){setTimeout(()=>{throw e})}const l={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;i(e)},complete(){}},a=Array.isArray||(e=>e&&"number"==typeof e.length);function c(e){return null!==e&&"object"==typeof e}function u(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}u.prototype=Object.create(Error.prototype);const d=u;let h=(()=>{class e{constructor(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let e,t=!1;if(this.closed)return;let{_parent:n,_parents:s,_unsubscribe:o,_subscriptions:i}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let l=-1,u=s?s.length:0;for(;n;)n.remove(this),n=++l<u&&s[l]||null;if(r(o))try{o.call(this)}catch(h){t=!0,e=h instanceof d?f(h.errors):[h]}if(a(i))for(l=-1,u=i.length;++l<u;){const n=i[l];if(c(n))try{n.unsubscribe()}catch(h){t=!0,e=e||[],h instanceof d?e=e.concat(f(h.errors)):e.push(h)}}if(t)throw new d(e)}add(t){let n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;(n=new e)._subscriptions=[t]}break;default:if(!t)return e.EMPTY;throw new Error("unrecognized teardown "+t+" added to Subscription.")}if(n._addParent(this)){const e=this._subscriptions;e?e.push(n):this._subscriptions=[n]}return n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}_addParent(e){let{_parent:t,_parents:n}=this;return t!==e&&(t?n?-1===n.indexOf(e)&&(n.push(e),!0):(this._parents=[e],!0):(this._parent=e,!0))}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function f(e){return e.reduce((e,t)=>e.concat(t instanceof d?t.errors:t),[])}const p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class g extends h{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l;break;case 1:if(!e){this.destination=l;break}if("object"==typeof e){e instanceof g?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new g(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parent:e,_parents:t}=this;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this}}class m extends g{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let i=this;r(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==l&&(r((i=Object.create(t)).unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):i(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;i(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const _="function"==typeof Symbol&&Symbol.observable||"@@observable";function y(){}let w=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,s=function(e,t,n){if(e){if(e instanceof g)return e;if(e[p])return e[p]()}return e||t||n?new g(e,t,n):new g(l)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),o.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof g?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[_](){return this}pipe(...e){return 0===e.length?this:((t=e)?1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)}:y)(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function v(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}v.prototype=Object.create(Error.prototype);const E=v;class C extends h{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class x extends g{constructor(e){super(e),this.destination=e}}let k=(()=>{class e extends w{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(e){const t=new T(this,this);return t.operator=e,t}next(e){if(this.closed)throw new E;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new E;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new E;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new E;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new E;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new C(this,e))}asObservable(){const e=new w;return e.source=this,e}}return e.create=(e,t)=>new T(e,t),e})();class T extends k{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):h.EMPTY}}class S extends g{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const N=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()},I=e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i),t);function A(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const D=A(),M=e=>t=>{const n=e[D]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t},R=e=>t=>{const n=e[_]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)},O=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function P(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const V=e=>{if(e instanceof w)return t=>e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t);if(e&&"function"==typeof e[_])return R(e);if(O(e))return N(e);if(P(e))return I(e);if(e&&"function"==typeof e[D])return M(e);{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}};class H extends g{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class F{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new j(e,this.project,this.thisArg))}}class j extends g{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function L(e,t){return new w(t?n=>{const r=new h;let s=0;return r.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r}:N(e))}class B{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new z(e,this.project,this.concurrent))}}class z extends H{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new S(this,void 0,void 0);this.destination.add(r),function(e,t,n,r,s=new S(e,n,r)){s.closed||V(t)(s)}(this,e,t,n,r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function U(e){return e}function $(){return function(e){return e.lift(new Z(e))}}class Z{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new q(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class q extends g{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}const Q=class extends w{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new h).add(this.source.subscribe(new G(this.getSubject(),this))),e.closed?(this._connection=null,e=h.EMPTY):this._connection=e),e}refCount(){return $()(this)}}.prototype,W={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Q._subscribe},_isComplete:{value:Q._isComplete,writable:!0},getSubject:{value:Q.getSubject},connect:{value:Q.connect},refCount:{value:Q.refCount}};class G extends x{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function K(){return new k}const Y="__parameters__";function J(e,t,n){const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(Y)?e[Y]:Object.defineProperty(e,Y,{value:[]})[Y];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}const X=J("Inject",e=>({token:e})),ee=J("Optional"),te=J("Self"),ne=J("SkipSelf");var re=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function se(e){for(let t in e)if(e[t]===se)return t;throw Error("Could not find renamed property on target object.")}function oe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ie(e){const t=e[le];return t&&t.token===e?t:null}const le=se({ngInjectableDef:se});function ae(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(ae).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const ce=se({__forward_ref__:se});function ue(e){return e.__forward_ref__=ue,e.toString=function(){return ae(this())},e}function de(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(ce)&&t.__forward_ref__===ue?t():e}const he="undefined"!=typeof globalThis&&globalThis,fe="undefined"!=typeof window&&window,pe="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ge="undefined"!=typeof global&&global,me=he||ge||fe||pe;class _e{constructor(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=oe({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ye=new _e("INJECTOR",-1),we=new Object,be="ngTempTokenPath",ve="ngTokenPath",Ee=/\n/gm,Ce="\u0275",xe="__source",ke=se({provide:String,useValue:se});let Te=void 0;function Se(e){const t=Te;return Te=e,t}function Ne(e,t=re.Default){if(void 0===Te)throw new Error("inject() must be called from an injection context");return null===Te?function(e,t,n){const r=ie(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&re.Optional)return null;throw new Error(`Injector: NOT_FOUND [${ae(e)}]`)}(e,0,t):Te.get(e,t&re.Optional?null:void 0,t)}class Ie{get(e,t=we){if(t===we){const t=new Error(`NullInjectorError: No provider for ${ae(e)}!`);throw t.name="NullInjectorError",t}return t}}function Ae(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Ce?e.substr(2):e;let s=ae(t);if(t instanceof Array)s=t.map(ae).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):ae(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Ee,"\n ")}`}const De=new _e("The presence of this token marks an injector as being the root injector."),Me=function(e,t,n){return new je(e,t,n)};let Re=(()=>{class e{static create(e,t){return Array.isArray(e)?Me(e,t,""):Me(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=we,e.NULL=new Ie,e.ngInjectableDef=oe({token:e,providedIn:"any",factory:()=>(function(e,t=re.Default){return Ne(e,t)})(ye)}),e.__NG_ELEMENT_ID__=-1,e})();const Oe=function(e){return e},Pe=[],Ve=Oe,He=function(){return Array.prototype.slice.call(arguments)},Fe="\u0275";class je{constructor(e,t=Re.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(Re,{token:Re,fn:Oe,deps:Pe,value:this,useNew:!1}),r.set(ye,{token:ye,fn:Oe,deps:Pe,value:this,useNew:!1}),function e(t,n){if(n)if((n=de(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Be("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Be("Unexpected provider",n);{let e=de(n.provide);const r=function(e){const t=function(e){let t=Pe;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,s=de(n[e]);if(s instanceof Array)for(let e=0,t=s;e<t.length;e++){const n=t[e];n instanceof ee||n==ee?r|=1:n instanceof ne||n==ne?r&=-3:n instanceof te||n==te?r&=-5:s=n instanceof X?n.token:de(n)}t.push({token:s,options:r})}}else if(e.useExisting)t=[{token:de(e.useExisting),options:6}];else if(!(n||ke in e))throw Be("'deps' required",e);return t}(e);let n=Oe,r=Pe,s=!1,o=de(e.provide);if(ke in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)s=!0,n=de(e.useClass);else{if("function"!=typeof o)throw Be("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);s=!0,n=o}return{deps:t,fn:n,useNew:s,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==He)throw Le(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:He,value:Pe});r.deps.push({token:e=n,options:6})}const s=t.get(e);if(s&&s.fn==He)throw Le(e);t.set(e,r)}}}(r,e)}get(e,t,n=re.Default){const r=this._records.get(e);try{return function e(t,n,r,s,o,i){try{return function(t,n,r,s,o,i){let l;if(!n||i&re.SkipSelf)i&re.Self||(l=s.get(t,o,re.Default));else{if((l=n.value)==Ve)throw Error(Fe+"Circular dependency");if(l===Pe){n.value=Ve;let t=void 0,o=n.useNew,i=n.fn,a=n.deps,c=Pe;if(a.length){c=[];for(let t=0;t<a.length;t++){const n=a[t],o=n.options,i=2&o?r.get(n.token):void 0;c.push(e(n.token,i,r,i||4&o?s:Re.NULL,1&o?null:Re.THROW_IF_NOT_FOUND,re.Default))}}n.value=l=o?new i(...c):i.apply(t,c)}}return l}(t,n,r,s,o,i)}catch(l){throw l instanceof Error||(l=new Error(l)),(l[be]=l[be]||[]).unshift(t),n&&n.value==Ve&&(n.value=Pe),l}}(e,r,this._records,this.parent,t,n)}catch(s){return function(e,t,n,r){const s=e[be];throw t[xe]&&s.unshift(t[xe]),e.message=Ae("\n"+e.message,s,"StaticInjectorError",r),e[ve]=s,e[be]=null,e}(s,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(ae(n))),`StaticInjector[${e.join(", ")}]`}}function Le(e){return Be("Cannot mix multi providers and regular providers",e)}function Be(e,t){return new Error(Ae(e,t,"StaticInjectorError"))}const ze="ngDebugContext",Ue="ngOriginalError",$e="ngErrorLogger",Ze=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),qe=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(me))();let Qe=!0,We=!1;function Ge(){return We=!0,Qe}class Ke{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.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(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const 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)}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Ye=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Je=/^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 Xe(e){return(e=String(e)).match(Ye)||e.match(Je)?e:(Ge()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function et(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function tt(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const nt=et("area,br,col,hr,img,wbr"),rt=et("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),st=et("rp,rt"),ot=tt(st,rt),it=tt(nt,tt(rt,et("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")),tt(st,et("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")),ot),lt=et("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),at=et("srcset"),ct=tt(lt,at,et("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"),et("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")),ut=et("script,style,template");class dt{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;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);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!it.hasOwnProperty(t))return this.sanitizedSomething=!0,!ut.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,o=t.toLowerCase();if(!ct.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let i=e.value;lt[o]&&(i=Xe(i)),at[o]&&(r=i,i=(r=String(r)).split(",").map(e=>Xe(e.trim())).join(", ")),this.buf.push(" ",t,'="',pt(i),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();it.hasOwnProperty(t)&&!nt.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(pt(e))}checkClobberedElement(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}}const ht=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ft=/([^\#-~ |!])/g;function pt(e){return e.replace(/&/g,"&").replace(ht,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(ft,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let gt;function mt(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const _t=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class yt{}const wt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),bt=/^url\(([^)]+)\)$/;function vt(e){return e[ze]}function Et(e){return e[Ue]}function Ct(e,...t){e.error(...t)}class xt{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[$e]||Ct}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?vt(e)?vt(e):this._findContext(Et(e)):null}_findOriginalError(e){let t=Et(e);for(;t&&Et(t);)t=Et(t);return t}}const kt=/([A-Z])/g;function Tt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}let St=null;function Nt(){if(!St){const e=me.Symbol;if(e&&e.iterator)St=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(St=n)}}}return St}function It(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function At(e,t){const n=Mt(e),r=Mt(t);if(n&&r)return function(e,t,n){const r=e[Nt()](),s=t[Nt()]();for(;;){const e=r.next(),t=s.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,At);{const s=e&&("object"==typeof e||"function"==typeof e),o=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!o)||It(e,t)}}class Dt{constructor(e){this.wrapped=e}static wrap(e){return new Dt(e)}static unwrap(e){return Dt.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Dt}}function Mt(e){return!!Rt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Nt()in e)}function Rt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ot(e){return!!e&&"function"==typeof e.then}class Pt{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}class Vt{}class Ht{}function Ft(e){const t=Error(`No component factory found for ${ae(e)}. Did you add it to @NgModule.entryComponents?`);return t[jt]=e,t}const jt="ngComponent";class Lt{resolveComponentFactory(e){throw Ft(e)}}let Bt=(()=>{class e{}return e.NULL=new Lt,e})();class zt{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Ft(e);return new Ut(t,this._ngModule)}}class Ut extends Ht{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}class $t{}class Zt{}function qt(...e){}let Qt=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Wt(e),e})();const Wt=qt;class Gt{}class Kt{}const Yt=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Jt=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Xt(),e})();const Xt=qt;class en{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const tn=new en("8.1.3");class nn{constructor(){}supports(e){return Mt(e)}create(e){return new sn(e)}}const rn=(e,t)=>t;class sn{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||rn}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const o=!n||t&&t.currentIndex<cn(n,r,s)?t:n,i=cn(o,r,s),l=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{s||(s=[]);const e=i-r,t=l-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,o=r+n;t<=o&&o<e&&(s[n]=r+1)}s[o.previousIndex]=t-e}}i!==l&&e(o,i,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Mt(e))throw new Error(`Error trying to diff '${ae(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)r=this._trackByFn(t,n=e[t]),null!==s&&It(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,n,r,t)),It(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),o=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Nt()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&It(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,e,r,t)),It(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),o=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(It(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(It(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new on(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new an),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new an),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class on{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ln{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&It(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class an{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new ln,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function cn(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class un{constructor(){}supports(e){return e instanceof Map||Rt(e)}create(){return new dn}}class dn{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Rt(e)))throw new Error(`Error trying to diff '${ae(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new hn(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){It(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class hn{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let fn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ne,new ee]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=oe({token:e,providedIn:"root",factory:()=>new e([new nn])}),e})(),pn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ne,new ee]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ngInjectableDef=oe({token:e,providedIn:"root",factory:()=>new e([new un])}),e})(),gn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>mn(),e})();const mn=(...e)=>{},_n=[new un],yn=new fn([new nn]),wn=new pn(_n);let bn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>vn(e,Qt),e})();const vn=qt;let En=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Cn(e,Qt),e})();const Cn=qt;function xn(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return kn(n,t),n}(s,e)}function kn(e,t){e[ze]=t,e[$e]=t.logError.bind(t)}function Tn(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function Sn(e,t,n){const r=e.state,s=1792&r;return s===t?(e.state=-1793&r|n,e.initIndex=-1,!0):s===n}function Nn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function In(e,t){return e.nodes[t]}function An(e,t){return e.nodes[t]}function Dn(e,t){return e.nodes[t]}function Mn(e,t){return e.nodes[t]}function Rn(e,t){return e.nodes[t]}const On={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Pn=()=>{},Vn=new Map;function Hn(e){let t=Vn.get(e);return t||(t=ae(e)+"_"+Vn.size,Vn.set(e,t)),t}const Fn="$$undefined",jn="$$empty";function Ln(e){return{id:Fn,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Bn=0;function zn(e,t,n,r){return!(!(2&e.state)&&It(e.oldValues[t.bindingIndex+n],r))}function Un(e,t,n,r){return!!zn(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function $n(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!At(s,r)){const o=t.bindings[n].name;throw xn(On.createDebugContext(e,t.nodeIndex),`${o}: ${s}`,`${o}: ${r}`,0!=(1&e.state))}}function Zn(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function qn(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Qn(e,t,n,r){try{return Zn(33554432&e.def.nodes[t].flags?An(e,t).componentView:e),On.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function Wn(e){return e.parent?An(e.parent,e.parentNodeDef.nodeIndex):null}function Gn(e){return e.parent?e.parentNodeDef.parent:null}function Kn(e,t){switch(201347067&t.flags){case 1:return An(e,t.nodeIndex).renderElement;case 2:return In(e,t.nodeIndex).renderText}}function Yn(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Jn(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Xn(e){const t={};let n=0;const r={};return e&&e.forEach(([e,s])=>{"number"==typeof e?(t[e]=s,n|=function(e){return 1<<e%32}(e)):r[e]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function er(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,xe,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Hn(n)}})}function tr(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Ze.Native?An(e,n.renderParent.nodeIndex).renderElement:void 0:t}const nr=new WeakMap;function rr(e){let t=nr.get(e);return t||((t=e(()=>Pn)).factory=e,nr.set(e,t)),t}function sr(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(Kn(e,e.def.lastRenderRootNode))),or(e,t,0,e.def.nodes.length-1,n,r,s)}function or(e,t,n,r,s,o,i){for(let l=n;l<=r;l++){const n=e.def.nodes[l];11&n.flags&&lr(e,n,t,s,o,i),l+=n.childCount}}function ir(e,t,n,r,s,o){let i=e;for(;i&&!Yn(i);)i=i.parent;const l=i.parent,a=Gn(i),c=a.nodeIndex+a.childCount;for(let u=a.nodeIndex+1;u<=c;u++){const e=l.def.nodes[u];e.ngContentIndex===t&&lr(l,e,n,r,s,o),u+=e.childCount}if(!l.parent){const i=e.root.projectableNodes[t];if(i)for(let t=0;t<i.length;t++)ar(e,i[t],n,r,s,o)}}function lr(e,t,n,r,s,o){if(8&t.flags)ir(e,t.ngContent.index,n,r,s,o);else{const i=Kn(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ar(e,i,n,r,s,o),32&t.bindingFlags&&ar(An(e,t.nodeIndex).componentView,i,n,r,s,o)):ar(e,i,n,r,s,o),16777216&t.flags){const i=An(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<i.length;e++)sr(i[e],n,r,s,o)}1&t.flags&&!t.element.name&&or(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,s,o)}}function ar(e,t,n,r,s,o){const i=e.renderer;switch(n){case 1:i.appendChild(r,t);break;case 2:i.insertBefore(r,t,s);break;case 3:i.removeChild(r,t);break;case 0:o.push(t)}}const cr=/^:([^:]+):(.+)$/;function ur(e){if(":"===e[0]){const t=e.match(cr);return[t[1],t[2]]}return["",e]}function dr(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}const hr=new Object,fr=Hn(Re),pr=Hn(ye),gr=Hn($t);function mr(e,t,n,r){return n=de(n),{index:-1,deps:er(r,ae(t)),flags:e,token:t,value:n}}function _r(e,t,n=Re.THROW_IF_NOT_FOUND){const r=Se(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const i=t.tokenKey;switch(i){case fr:case pr:case gr:return e}const l=e._def.providersByKey[i];let a;if(l){let t=e._providers[l.index];return void 0===t&&(t=e._providers[l.index]=yr(e,l)),t===hr?void 0:t}if((a=ie(t.token))&&(s=e,null!=(o=a).providedIn&&(function(e,t){return e._def.modules.indexOf(t)>-1}(s,o.providedIn)||"root"===o.providedIn&&s._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:t.token},e._providers[n]=hr,e._providers[n]=yr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Se(r)}var s,o}function yr(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(_r(e,n[0]));case 2:return new t(_r(e,n[0]),_r(e,n[1]));case 3:return new t(_r(e,n[0]),_r(e,n[1]),_r(e,n[2]));default:const s=new Array(r);for(let t=0;t<r;t++)s[t]=_r(e,n[t]);return new t(...s)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(_r(e,n[0]));case 2:return t(_r(e,n[0]),_r(e,n[1]));case 3:return t(_r(e,n[0]),_r(e,n[1]),_r(e,n[2]));default:const s=Array(r);for(let t=0;t<r;t++)s[t]=_r(e,n[t]);return t(...s)}}(e,t.value,t.deps);break;case 2048:n=_r(e,t.deps[0]);break;case 256:n=t.value}return n===hr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?hr:n}function wr(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Cr(n,t),On.dirtyParentQueries(r),vr(r),r}function br(e,t,n){const r=t?Kn(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);sr(n,2,s,o,void 0)}function vr(e){sr(e,3,null,null,void 0)}function Er(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Cr(e,t){t>=e.length-1?e.pop():e.splice(t,1)}const xr=new Object;function kr(e,t,n,r,s,o){return new Tr(e,t,n,r,s,o)}class Tr extends Ht{constructor(e,t,n,r,s,o){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=s,this.ngContentSelectors=o,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const s=rr(this.viewDefFactory),o=s.nodes[0].element.componentProvider.nodeIndex,i=On.createRootView(e,t||[],n,s,r,xr),l=Dn(i,o).instance;return n&&i.renderer.setAttribute(An(i,0).renderElement,"ng-version",tn.full),new Sr(i,new Dr(i),l)}}class Sr extends Vt{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Qt(An(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Pr(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Nr(e,t,n){return new Ir(e,t,n)}class Ir{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Qt(this._data.renderElement)}get injector(){return new Pr(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Gn(e),e=e.parent;return e?new Pr(e,t):new Pr(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=wr(this._data,e);On.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Dr(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const o=n||this.parentInjector;s||e instanceof Ut||(s=o.get($t));const i=e.create(o,r,void 0,s);return this.insert(i.hostView,t),i}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let s=t.viewContainer._embeddedViews;null==n&&(n=s.length),r.viewContainerParent=e,Er(s,n,r),function(e,t){const n=Wn(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),On.dirtyParentQueries(r),br(t,n>0?s[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,s=r[t];Cr(r,t),null==n&&(n=r.length),Er(r,n,s),On.dirtyParentQueries(s),vr(s),br(e,n>0?r[n-1]:null,s)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=wr(this._data,e);t&&On.destroyView(t)}detach(e){const t=wr(this._data,e);return t?new Dr(t):null}}function Ar(e){return new Dr(e)}class Dr{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return sr(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Zn(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{On.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){On.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),On.destroyView(this._view)}detachFromAppRef(){this._appRef=null,vr(this._view),On.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Mr(e,t){return new Rr(e,t)}class Rr extends bn{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Dr(On.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Qt(An(this._parentView,this._def.nodeIndex).renderElement)}}function Or(e,t){return new Pr(e,t)}class Pr{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Re.THROW_IF_NOT_FOUND){return On.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Hn(e)},t)}}function Vr(e){return new Hr(e.renderer)}class Hr{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=ur(t),s=this.delegate.createElement(r,n);return e&&this.delegate.appendChild(e,s),s}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}attachViewAfter(e,t){const n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e);for(let s=0;s<t.length;s++)this.delegate.insertBefore(n,t[s],r)}detachView(e){for(let t=0;t<e.length;t++){const n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}destroyView(e,t){for(let n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}listen(e,t,n){return this.delegate.listen(e,t,n)}listenGlobal(e,t,n){return this.delegate.listen(e,t,n)}setElementProperty(e,t,n){this.delegate.setProperty(e,t,n)}setElementAttribute(e,t,n){const[r,s]=ur(t);null!=n?this.delegate.setAttribute(e,s,n,r):this.delegate.removeAttribute(e,s,r)}setBindingDebugInfo(e,t,n){}setElementClass(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}setElementStyle(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}invokeElementMethod(e,t,n){e[t].apply(e,n)}setText(e,t){this.delegate.setValue(e,t)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function Fr(e,t,n,r){return new jr(e,t,n,r)}class jr{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=new Array(t.providers.length);for(let r=0;r<t.providers.length;r++){const s=t.providers[r];4096&s.flags||void 0===n[r]&&(n[r]=yr(e,s))}}(this)}get(e,t=Re.THROW_IF_NOT_FOUND,n=re.Default){let r=0;return n&re.SkipSelf?r|=1:n&re.Self&&(r|=4),_r(this,{token:e,tokenKey:Hn(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Bt)}destroy(){if(this._destroyed)throw new Error(`The ng module ${ae(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let s=0;s<n.providers.length;s++)if(131072&n.providers[s].flags){const t=e._providers[s];if(t&&t!==hr){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const Lr=Hn(Gt),Br=Hn(Jt),zr=Hn(Qt),Ur=Hn(En),$r=Hn(bn),Zr=Hn(gn),qr=Hn(Re),Qr=Hn(ye);function Wr(e,t,n,r,s,o,i,l){const a=[];if(i)for(let u in i){const[e,t]=i[u];a[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const c=[];if(l)for(let u in l)c.push({type:1,propName:u,target:null,eventName:l[u]});return function(e,t,n,r,s,o,i,l,a){const{matchedQueries:c,references:u,matchedQueryIds:d}=Xn(n);a||(a=[]),l||(l=[]),o=de(o);const h=er(i,ae(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:u,ngContentIndex:-1,childCount:r,bindings:l,bindingFlags:dr(l),outputs:a,element:null,provider:{token:s,value:o,deps:h},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,s,s,o,a,c)}function Gr(e,t){return Xr(e,t)}function Kr(e,t){let n=e;for(;n.parent&&!Yn(n);)n=n.parent;return es(n.parent,Gn(n),!0,t.provider.value,t.provider.deps)}function Yr(e,t){const n=es(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let s=0;s<t.outputs.length;s++){const o=t.outputs[s],i=n[o.propName];if(!(r=i)||"function"!=typeof r.subscribe)throw new Error(`@Output ${o.propName} not initialized in '${n.constructor.name}'.`);{const n=i.subscribe(Jr(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+s]=n.unsubscribe.bind(n)}}var r;return n}function Jr(e,t,n){return r=>Qn(e,t,n,r)}function Xr(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return es(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,s){const o=s.length;switch(o){case 0:return r();case 1:return r(ns(e,t,n,s[0]));case 2:return r(ns(e,t,n,s[0]),ns(e,t,n,s[1]));case 3:return r(ns(e,t,n,s[0]),ns(e,t,n,s[1]),ns(e,t,n,s[2]));default:const i=Array(o);for(let r=0;r<o;r++)i[r]=ns(e,t,n,s[r]);return r(...i)}}(e,t.parent,n,r.value,r.deps);case 2048:return ns(e,t.parent,n,r.deps[0]);case 256:return r.value}}function es(e,t,n,r,s){const o=s.length;switch(o){case 0:return new r;case 1:return new r(ns(e,t,n,s[0]));case 2:return new r(ns(e,t,n,s[0]),ns(e,t,n,s[1]));case 3:return new r(ns(e,t,n,s[0]),ns(e,t,n,s[1]),ns(e,t,n,s[2]));default:const i=new Array(o);for(let r=0;r<o;r++)i[r]=ns(e,t,n,s[r]);return new r(...i)}}const ts={};function ns(e,t,n,r,s=Re.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const o=e;2&r.flags&&(s=null);const i=r.tokenKey;i===Zr&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let l=e;for(;l;){if(t)switch(i){case Lr:return Vr(rs(l,t,n));case Br:return rs(l,t,n).renderer;case zr:return new Qt(An(l,t.nodeIndex).renderElement);case Ur:return An(l,t.nodeIndex).viewContainer;case $r:if(t.element.template)return An(l,t.nodeIndex).template;break;case Zr:return Ar(rs(l,t,n));case qr:case Qr:return Or(l,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[i];if(e){let t=Dn(l,e.nodeIndex);return t||(t={instance:Xr(l,e)},l.nodes[e.nodeIndex]=t),t.instance}}n=Yn(l),t=Gn(l),l=l.parent,4&r.flags&&(l=null)}const a=o.root.injector.get(r.token,ts);return a!==ts||s===ts?a:o.root.ngModule.injector.get(r.token,s)}function rs(e,t,n){let r;if(n)r=An(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Yn(r);)r=r.parent;return r}function ss(e,t,n,r,s,o){if(32768&n.flags){const t=An(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=s,524288&n.flags){o=o||{};const t=Dt.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new Pt(t,s,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=s,o}function os(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let s=0;s<n.length;s++){const o=n[s];let i=o.parent;for(!i&&o.flags&t&&ls(e,s,o.flags&t,r++),0==(o.childFlags&t)&&(s+=o.childCount);i&&1&i.flags&&s===i.nodeIndex+i.childCount;)i.directChildFlags&t&&(r=is(e,i,t,r)),i=i.parent}}function is(e,t,n,r){for(let s=t.nodeIndex+1;s<=t.nodeIndex+t.childCount;s++){const t=e.def.nodes[s];t.flags&n&&ls(e,s,t.flags&n,r++),s+=t.childCount}return r}function ls(e,t,n,r){const s=Dn(e,t);if(!s)return;const o=s.instance;o&&(On.setCurrentNode(e,t),1048576&n&&Nn(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&Nn(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}const as=new _e("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>qe}),cs={},us=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),ds=void 0;var hs=["en",[["a","p"],["AM","PM"],ds],[["AM","PM"],ds,ds],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ds,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ds,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ds,"{1} 'at' {0}",ds],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let fs="en-US";class ps extends k{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,s,o);return e instanceof h&&e.add(i),i}}function gs(){return this._results[Nt()]()}class ms{constructor(){this.dirty=!0,this._results=[],this.changes=new ps,this.length=0;const e=Nt(),t=ms.prototype;t[e]||(t[e]=gs)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?(n===t&&(n=t.slice(0,r)),e(s,n)):n!==t&&n.push(s)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}const _s=new _e("Application Initializer");let ys=(()=>(class{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Ot(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}))();const ws=new _e("AppId");function bs(){return`${vs()}${vs()}${vs()}`}function vs(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Es=new _e("Platform Initializer"),Cs=new _e("Platform ID"),xs=new _e("appBootstrapListener");let ks=(()=>(class{log(e){console.log(e)}warn(e){console.warn(e)}}))();const Ts=new _e("LocaleId");function Ss(){throw new Error("Runtime compiler is not loaded")}const Ns=Ss,Is=Ss,As=Ss,Ds=Ss;let Ms,Rs,Os=(()=>(class{constructor(){this.compileModuleSync=Ns,this.compileModuleAsync=Is,this.compileModuleAndAllComponentsSync=As,this.compileModuleAndAllComponentsAsync=Ds}clearCache(){}clearCacheFor(e){}getModuleId(e){}}))();class Ps{}function Vs(){const e=me.wtf;return!(!e||!(Ms=e.trace)||(Rs=Ms.events,0))}const Hs=Vs();function Fs(e,t){return null}const js=Hs?function(e,t=null){return Rs.createScope(e,t)}:(e,t)=>Fs,Ls=Hs?function(e,t){return Ms.leaveScope(e,t),t}:(e,t)=>t,Bs=(()=>Promise.resolve(0))();function zs(e){"undefined"==typeof Zone?Bs.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Us{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ps(!1),this.onMicrotaskEmpty=new ps(!1),this.onStable=new ps(!1),this.onError=new ps(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,s,o,i)=>{try{return Qs(t),e.invokeTask(r,s,o,i)}finally{Ws(t)}},onInvoke:(e,n,r,s,o,i,l)=>{try{return Qs(t),e.invoke(r,s,o,i,l)}finally{Ws(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,qs(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Us.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Us.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,e,Zs,$s,$s);try{return s.runTask(o,t,n)}finally{s.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function $s(){}const Zs={};function qs(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Qs(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ws(e){e._nesting--,qs(e)}class Gs{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ps,this.onMicrotaskEmpty=new ps,this.onStable=new ps,this.onError=new ps}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}let Ks=(()=>(class{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Us.assertNotInAngularZone(),zs(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())zs(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}))(),Ys=(()=>{class e{constructor(){this._applications=new Map,eo.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return eo.findTestabilityInTree(this,e,t)}}return e.ctorParameters=()=>[],e})();class Js{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let Xs,eo=new Js,to=function(e){return e instanceof Ut};const no=new _e("AllowMultipleToken");class ro{constructor(e,t){this.name=e,this.token=t}}function so(e,t,n=[]){const r=`Platform: ${t}`,s=new _e(r);return(t=[])=>{let o=oo();if(!o||o.injector.get(no,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0});!function(e){if(Xs&&!Xs.destroyed&&!Xs.injector.get(no,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Xs=e.get(io);const t=e.get(Es,null);t&&t.forEach(e=>e())}(Re.create({providers:e,name:r}))}return function(e){const t=oo();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function oo(){return Xs&&!Xs.destroyed?Xs:null}let io=(()=>(class{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n="noop"===(s=t?t.ngZone:void 0)?new Gs:("zone.js"===s?void 0:s)||new Us({enableLongStackTrace:Ge()}),r=[{provide:Us,useValue:n}];var s;return n.run(()=>{const t=Re.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get(xt,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return function(e){fs=e.toLowerCase().replace(/_/g,"-")}(s.injector.get(Ts,"en-US")),s.onDestroy(()=>co(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return Ot(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=s.injector.get(ys);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=lo({},t);return function(e,t,n){return e.get(Ps).createCompiler([t]).compileModuleAsync(n)}(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(ao);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ae(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}))();function lo(e,t){return Array.isArray(t)?t.reduce(lo,e):Object.assign({},e,t)}let ao=(()=>{class e{constructor(e,t,n,r,s,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ge(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new w(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new w(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Us.assertNotInAngularZone(),zs(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Us.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];var s;return(s=r)&&"function"==typeof s.schedule?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof w?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?s=>s.pipe(e((e,r)=>(function(e,t){return e instanceof w?e:new w(V(e))})(t(e,r)).pipe(function(e,t){return function(t){return t.lift(new F(e,void 0))}}((t,s)=>n(e,t,r,s))),r)):("number"==typeof n&&(r=n),e=>e.lift(new B(t,r)))}(U,e)}(t)(L(e,n))}(i,l.pipe(e=>$()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,W);return r.source=t,r.subjectFactory=n,r}}(K)(e))))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Ht?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=to(n)?null:this._injector.get($t),s=n.create(Re.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(Ks,null);return o&&s.injector.get(Ys).registerApplication(s.location.nativeElement,o),this._loadComponent(s),Ge()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Ls(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;co(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(xs,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),co(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=js("ApplicationRef#tick()"),e})();function co(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class uo{constructor(e,t){this.name=e,this.callback=t}}class ho{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof fo&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class fo extends ho{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof fo&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof fo&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof fo&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof fo)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const po=new Map,go=function(e){return po.get(e)||null};function mo(e){po.set(e.nativeNode,e)}const _o=so(null,"core",[{provide:Cs,useValue:"unknown"},{provide:io,deps:[Re]},{provide:Ys,deps:[]},{provide:ks,deps:[]}]);function yo(){return yn}function wo(){return wn}function bo(e){return e||"en-US"}function vo(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}let Eo=(()=>(class{constructor(e){}}))();function Co(e,t,n,r,s,o,i=[],l,a,c,u,d){c||(c=Pn);const{matchedQueries:h,references:f,matchedQueryIds:p}=Xn(n);let g=null,m=null;o&&([g,m]=ur(o)),l=l||[];const _=new Array(l.length);for(let b=0;b<l.length;b++){const[e,t,n]=l[b],[r,s]=ur(t);let o=void 0,i=void 0;switch(15&e){case 4:i=n;break;case 1:case 8:o=n}_[b]={flags:e,ns:r,name:s,nonMinifiedName:s,securityContext:o,suffix:i}}a=a||[];const y=new Array(a.length);for(let b=0;b<a.length;b++){const[e,t]=a[b];y[b]={type:0,target:e,eventName:t,propName:null}}const w=(i=i||[]).map(([e,t])=>{const[n,r]=ur(e);return[n,r,t]});return d=function(e){if(e&&e.id===Fn){const t=null!=e.encapsulation&&e.encapsulation!==Ze.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${Bn++}`:jn}return e&&e.id===jn&&(e=null),e||null}(d),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:p,references:f,ngContentIndex:r,childCount:s,bindings:_,bindingFlags:dr(_),outputs:y,element:{ns:g,name:m,attrs:w,template:null,componentProvider:null,componentView:u||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||Pn},provider:null,text:null,query:null,ngContent:null}}function xo(e,t,n){const r=n.element,s=e.root.selectorOrNode,o=e.renderer;let i;if(e.parent||!s){i=r.name?o.createElement(r.name,r.ns):o.createComment("");const s=tr(e,t,n);s&&o.appendChild(s,i)}else i=o.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===Ze.ShadowDom);if(r.attrs)for(let l=0;l<r.attrs.length;l++){const[e,t,n]=r.attrs[l];o.setAttribute(i,t,n,e)}return i}function ko(e,t,n,r){for(let i=0;i<n.outputs.length;i++){const l=n.outputs[i],a=To(e,n.nodeIndex,(o=l.eventName,(s=l.target)?`${s}:${o}`:o));let c=l.target,u=e;"component"===l.target&&(c=null,u=t);const d=u.renderer.listen(c||r,l.eventName,a);e.disposables[n.outputIndex+i]=d}var s,o}function To(e,t,n){return r=>Qn(e,t,n,r)}function So(e,t,n,r){if(!Un(e,t,n,r))return!1;const s=t.bindings[n],o=An(e,t.nodeIndex),i=o.renderElement,l=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,o){const i=t.securityContext;let l=i?e.root.sanitizer.sanitize(i,o):o;l=null!=l?l.toString():null;const a=e.renderer;null!=o?a.setAttribute(n,s,l,r):a.removeAttribute(n,s,r)}(e,s,i,s.ns,l,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,i,l,r);break;case 4:!function(e,t,n,r,s){let o=e.root.sanitizer.sanitize(_t.STYLE,s);if(null!=o){o=o.toString();const e=t.suffix;null!=e&&(o+=e)}else o=null;const i=e.renderer;null!=o?i.setStyle(n,r,o):i.removeStyle(n,r)}(e,s,i,l,r);break;case 8:!function(e,t,n,r,s){const o=t.securityContext;let i=o?e.root.sanitizer.sanitize(o,s):s;e.renderer.setProperty(n,r,i)}(33554432&t.flags&&32&s.flags?o.componentView:e,s,i,l,r)}return!0}function No(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Jn(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let s=0;s<=r;s++){const r=e.def.nodes[s];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Rn(e,s).setDirty(),!(1&r.flags&&s+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(s+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&Rn(e,n).setDirty(),n+=t.childCount}}function Io(e,t){const n=Rn(e,t.nodeIndex);if(!n.dirty)return;let r,s=void 0;if(67108864&t.flags){const n=t.parent.parent;s=Ao(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=Dn(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(s=Ao(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(s);const o=t.query.bindings;let i=!1;for(let l=0;l<o.length;l++){const e=o[l];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,i=!0}r[e.propName]=t}i&&n.notifyOnChanges()}function Ao(e,t,n,r,s){for(let o=t;o<=n;o++){const t=e.def.nodes[o],n=t.matchedQueries[r.id];if(null!=n&&s.push(Do(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=An(e,o);if((t.childMatchedQueries&r.filterId)===r.filterId&&(Ao(e,o+1,o+t.childCount,r,s),o+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const o=e[t],i=Wn(o);i&&i===n&&Ao(o,0,o.def.nodes.length-1,r,s)}}const i=n.template._projectedViews;if(i)for(let e=0;e<i.length;e++){const t=i[e];Ao(t,0,t.def.nodes.length-1,r,s)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(o+=t.childCount)}return s}function Do(e,t,n){if(null!=n)switch(n){case 1:return An(e,t.nodeIndex).renderElement;case 0:return new Qt(An(e,t.nodeIndex).renderElement);case 2:return An(e,t.nodeIndex).template;case 3:return An(e,t.nodeIndex).viewContainer;case 4:return Dn(e,t.nodeIndex).instance}}function Mo(e,t,n){const r=tr(e,t,n);r&&ir(e,n.ngContent.index,1,r,null,void 0)}function Ro(e,t,n){const r=new Array(n.length-1);for(let s=1;s<n.length;s++)r[s-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[s]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Oo(e,t,n){let r;const s=e.renderer;r=s.createText(n.text.prefix);const o=tr(e,t,n);return o&&s.appendChild(o,r),{renderText:r}}function Po(e,t){return(null!=e?e.toString():"")+t.suffix}function Vo(e,t,n,r){let s=0,o=0,i=0,l=0,a=0,c=null,u=null,d=!1,h=!1,f=null;for(let p=0;p<t.length;p++){const e=t[p];if(e.nodeIndex=p,e.parent=c,e.bindingIndex=s,e.outputIndex=o,e.renderParent=u,i|=e.flags,a|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=c?c.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(a|=e.element.template.nodeMatchedQueries)}if(Fo(c,e,t.length),s+=e.bindings.length,o+=e.outputs.length,!u&&3&e.flags&&(f=e),20224&e.flags){d||(d=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?c.element.publicProviders[Hn(e.provider.token)]=e:(h||(h=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Hn(e.provider.token)]=e),t&&(c.element.componentProvider=e)}if(c?(c.childFlags|=e.flags,c.directChildFlags|=e.flags,c.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(c.childMatchedQueries|=e.element.template.nodeMatchedQueries)):l|=e.flags,e.childCount>0)c=e,Ho(e)||(u=e);else for(;c&&p===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),u=(c=e)&&Ho(c)?c.renderParent:c}}return{factory:null,nodeFlags:i,rootNodeFlags:l,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||Pn,updateRenderer:r||Pn,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:o,lastRenderRootNode:f}}function Ho(e){return 0!=(1&e.flags)&&null===e.element.name}function Fo(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function jo(e,t,n,r){const s=zo(e.root,e.renderer,e,t,n);return Uo(s,e.component,r),$o(s),s}function Lo(e,t,n){const r=zo(e,e.renderer,null,null,t);return Uo(r,n,n),$o(r),r}function Bo(e,t,n,r){const s=t.element.componentRendererType;let o;return o=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,zo(e.root,o,e,t.element.componentProvider,n)}function zo(e,t,n,r,s){const o=new Array(s.nodes.length),i=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(s.bindingCount),disposables:i,initIndex:-1}}function Uo(e,t,n){e.component=t,e.context=n}function $o(e){let t;Yn(e)&&(t=An(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s<n.nodes.length;s++){const o=n.nodes[s];let i;switch(On.setCurrentNode(e,s),201347067&o.flags){case 1:const n=xo(e,t,o);let l=void 0;if(33554432&o.flags){const t=rr(o.element.componentView);l=On.createComponentView(e,o,t,n)}ko(e,l,o,n),i={renderElement:n,componentView:l,viewContainer:null,template:o.element.template?Mr(e,o):void 0},16777216&o.flags&&(i.viewContainer=Nr(e,o,i));break;case 2:i=Oo(e,t,o);break;case 512:case 1024:case 2048:case 256:(i=r[s])||4096&o.flags||(i={instance:Gr(e,o)});break;case 16:i={instance:Kr(e,o)};break;case 16384:(i=r[s])||(i={instance:Yr(e,o)}),32768&o.flags&&Uo(An(e,o.parent.nodeIndex).componentView,i.instance,i.instance);break;case 32:case 64:case 128:i={value:void 0};break;case 67108864:case 134217728:i=new ms;break;case 8:Mo(e,t,o),i=void 0}r[s]=i}Xo(e,Jo.CreateViewNodes),ri(e,201326592,268435456,0)}function Zo(e){Wo(e),On.updateDirectives(e,1),ei(e,Jo.CheckNoChanges),On.updateRenderer(e,1),Xo(e,Jo.CheckNoChanges),e.state&=-97}function qo(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Sn(e,0,256),Wo(e),On.updateDirectives(e,0),ei(e,Jo.CheckAndUpdate),ri(e,67108864,536870912,0);let t=Sn(e,256,512);os(e,2097152|(t?1048576:0)),On.updateRenderer(e,0),Xo(e,Jo.CheckAndUpdate),ri(e,134217728,536870912,0),os(e,8388608|((t=Sn(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Sn(e,768,1024)}function Qo(e,t,n,r,s,o,i,l,a,c,u,d,h){return 0===n?function(e,t,n,r,s,o,i,l,a,c,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,s,o,i,l,a,c,u,d){const h=t.bindings.length;let f=!1;return h>0&&So(e,t,0,n)&&(f=!0),h>1&&So(e,t,1,r)&&(f=!0),h>2&&So(e,t,2,s)&&(f=!0),h>3&&So(e,t,3,o)&&(f=!0),h>4&&So(e,t,4,i)&&(f=!0),h>5&&So(e,t,5,l)&&(f=!0),h>6&&So(e,t,6,a)&&(f=!0),h>7&&So(e,t,7,c)&&(f=!0),h>8&&So(e,t,8,u)&&(f=!0),h>9&&So(e,t,9,d)&&(f=!0),f}(e,t,n,r,s,o,i,l,a,c,u,d);case 2:return function(e,t,n,r,s,o,i,l,a,c,u,d){let h=!1;const f=t.bindings,p=f.length;if(p>0&&Un(e,t,0,n)&&(h=!0),p>1&&Un(e,t,1,r)&&(h=!0),p>2&&Un(e,t,2,s)&&(h=!0),p>3&&Un(e,t,3,o)&&(h=!0),p>4&&Un(e,t,4,i)&&(h=!0),p>5&&Un(e,t,5,l)&&(h=!0),p>6&&Un(e,t,6,a)&&(h=!0),p>7&&Un(e,t,7,c)&&(h=!0),p>8&&Un(e,t,8,u)&&(h=!0),p>9&&Un(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;p>0&&(h+=Po(n,f[0])),p>1&&(h+=Po(r,f[1])),p>2&&(h+=Po(s,f[2])),p>3&&(h+=Po(o,f[3])),p>4&&(h+=Po(i,f[4])),p>5&&(h+=Po(l,f[5])),p>6&&(h+=Po(a,f[6])),p>7&&(h+=Po(c,f[7])),p>8&&(h+=Po(u,f[8])),p>9&&(h+=Po(d,f[9]));const g=In(e,t.nodeIndex).renderText;e.renderer.setValue(g,h)}return h}(e,t,n,r,s,o,i,l,a,c,u,d);case 16384:return function(e,t,n,r,s,o,i,l,a,c,u,d){const h=Dn(e,t.nodeIndex),f=h.instance;let p=!1,g=void 0;const m=t.bindings.length;return m>0&&zn(e,t,0,n)&&(p=!0,g=ss(e,h,t,0,n,g)),m>1&&zn(e,t,1,r)&&(p=!0,g=ss(e,h,t,1,r,g)),m>2&&zn(e,t,2,s)&&(p=!0,g=ss(e,h,t,2,s,g)),m>3&&zn(e,t,3,o)&&(p=!0,g=ss(e,h,t,3,o,g)),m>4&&zn(e,t,4,i)&&(p=!0,g=ss(e,h,t,4,i,g)),m>5&&zn(e,t,5,l)&&(p=!0,g=ss(e,h,t,5,l,g)),m>6&&zn(e,t,6,a)&&(p=!0,g=ss(e,h,t,6,a,g)),m>7&&zn(e,t,7,c)&&(p=!0,g=ss(e,h,t,7,c,g)),m>8&&zn(e,t,8,u)&&(p=!0,g=ss(e,h,t,8,u,g)),m>9&&zn(e,t,9,d)&&(p=!0,g=ss(e,h,t,9,d,g)),g&&f.ngOnChanges(g),65536&t.flags&&Nn(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,s,o,i,l,a,c,u,d);case 32:case 64:case 128:return function(e,t,n,r,s,o,i,l,a,c,u,d){const h=t.bindings;let f=!1;const p=h.length;if(p>0&&Un(e,t,0,n)&&(f=!0),p>1&&Un(e,t,1,r)&&(f=!0),p>2&&Un(e,t,2,s)&&(f=!0),p>3&&Un(e,t,3,o)&&(f=!0),p>4&&Un(e,t,4,i)&&(f=!0),p>5&&Un(e,t,5,l)&&(f=!0),p>6&&Un(e,t,6,a)&&(f=!0),p>7&&Un(e,t,7,c)&&(f=!0),p>8&&Un(e,t,8,u)&&(f=!0),p>9&&Un(e,t,9,d)&&(f=!0),f){const f=Mn(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(h.length),p>0&&(g[0]=n),p>1&&(g[1]=r),p>2&&(g[2]=s),p>3&&(g[3]=o),p>4&&(g[4]=i),p>5&&(g[5]=l),p>6&&(g[6]=a),p>7&&(g[7]=c),p>8&&(g[8]=u),p>9&&(g[9]=d);break;case 64:g={},p>0&&(g[h[0].name]=n),p>1&&(g[h[1].name]=r),p>2&&(g[h[2].name]=s),p>3&&(g[h[3].name]=o),p>4&&(g[h[4].name]=i),p>5&&(g[h[5].name]=l),p>6&&(g[h[6].name]=a),p>7&&(g[h[7].name]=c),p>8&&(g[h[8].name]=u),p>9&&(g[h[9].name]=d);break;case 128:const e=n;switch(p){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,s);break;case 4:g=e.transform(r,s,o);break;case 5:g=e.transform(r,s,o,i);break;case 6:g=e.transform(r,s,o,i,l);break;case 7:g=e.transform(r,s,o,i,l,a);break;case 8:g=e.transform(r,s,o,i,l,a,c);break;case 9:g=e.transform(r,s,o,i,l,a,c,u);break;case 10:g=e.transform(r,s,o,i,l,a,c,u,d)}}f.value=g}return f}(e,t,n,r,s,o,i,l,a,c,u,d);default:throw"unreachable"}}(e,t,r,s,o,i,l,a,c,u,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s<n.length;s++)So(e,t,s,n[s])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let s=!1;for(let o=0;o<n.length;o++)Un(e,t,o,n[o])&&(s=!0);if(s){let s="";for(let e=0;e<n.length;e++)s+=Po(n[e],r[e]);s=t.text.prefix+s;const o=In(e,t.nodeIndex).renderText;e.renderer.setValue(o,s)}return s}(e,t,n);case 16384:return function(e,t,n){const r=Dn(e,t.nodeIndex),s=r.instance;let o=!1,i=void 0;for(let l=0;l<n.length;l++)zn(e,t,l,n[l])&&(o=!0,i=ss(e,r,t,l,n[l],i));return i&&s.ngOnChanges(i),65536&t.flags&&Nn(e,256,t.nodeIndex)&&s.ngOnInit(),262144&t.flags&&s.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let s=!1;for(let o=0;o<n.length;o++)Un(e,t,o,n[o])&&(s=!0);if(s){const s=Mn(e,t.nodeIndex);let o;switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(let s=0;s<n.length;s++)o[r[s].name]=n[s];break;case 128:const e=n[0],t=n.slice(1);o=e.transform(...t)}s.value=o}return s}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Wo(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=An(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,qn(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Go(e,t,n,r,s,o,i,l,a,c,u,d,h){return 0===n?function(e,t,n,r,s,o,i,l,a,c,u,d){const h=t.bindings.length;h>0&&$n(e,t,0,n),h>1&&$n(e,t,1,r),h>2&&$n(e,t,2,s),h>3&&$n(e,t,3,o),h>4&&$n(e,t,4,i),h>5&&$n(e,t,5,l),h>6&&$n(e,t,6,a),h>7&&$n(e,t,7,c),h>8&&$n(e,t,8,u),h>9&&$n(e,t,9,d)}(e,t,r,s,o,i,l,a,c,u,d,h):function(e,t,n){for(let r=0;r<n.length;r++)$n(e,t,r,n[r])}(e,t,r),!1}function Ko(e,t){if(Rn(e,t.nodeIndex).dirty)throw xn(On.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function Yo(e){if(!(128&e.state)){if(ei(e,Jo.Destroy),Xo(e,Jo.Destroy),os(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=Wn(e);if(t){const n=t.template._projectedViews;n&&(Cr(n,n.indexOf(e)),On.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(An(e,n).renderElement):2&t.flags?e.renderer.destroyNode(In(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Rn(e,n).destroy()}}(e),Yn(e)&&e.renderer.destroy(),e.state|=128}}const Jo=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function Xo(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];33554432&s.flags?ti(An(e,r).componentView,t):0==(33554432&s.childFlags)&&(r+=s.childCount)}}function ei(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];if(16777216&s.flags){const n=An(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)ti(n[e],t)}else 0==(16777216&s.childFlags)&&(r+=s.childCount)}}function ti(e,t){const n=e.state;switch(t){case Jo.CheckNoChanges:0==(128&n)&&(12==(12&n)?Zo(e):64&n&&ni(e,Jo.CheckNoChangesProjectedViews));break;case Jo.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Zo(e):64&n&&ni(e,t));break;case Jo.CheckAndUpdate:0==(128&n)&&(12==(12&n)?qo(e):64&n&&ni(e,Jo.CheckAndUpdateProjectedViews));break;case Jo.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?qo(e):64&n&&ni(e,t));break;case Jo.Destroy:Yo(e);break;case Jo.CreateViewNodes:$o(e)}}function ni(e,t){ei(e,t),Xo(e,t)}function ri(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const s=e.def.nodes.length;for(let o=0;o<s;o++){const s=e.def.nodes[o];if(s.flags&t&&s.flags&n)switch(On.setCurrentNode(e,s.nodeIndex),r){case 0:Io(e,s);break;case 1:Ko(e,s)}s.childFlags&t&&s.childFlags&n||(o+=s.childCount)}}let si=!1;function oi(e,t,n,r,s,o){const i=s.injector.get(Kt);return Lo(li(e,s,i,t,n),r,o)}function ii(e,t,n,r,s,o){const i=s.injector.get(Kt),l=li(e,s,new ji(i),t,n),a=_i(r);return Hi(Ci.create,Lo,null,[l,a,o])}function li(e,t,n,r,s){const o=t.injector.get(yt),i=t.injector.get(xt),l=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:s,sanitizer:o,rendererFactory:n,renderer:l,errorHandler:i}}function ai(e,t,n,r){const s=_i(n);return Hi(Ci.create,jo,null,[e,t,s,r])}function ci(e,t,n,r){return n=fi.get(t.element.componentProvider.provider.token)||_i(n),Hi(Ci.create,Bo,null,[e,t,n,r])}function ui(e,t,n,r){return Fr(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===di.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const r=di.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{hi.forEach((r,s)=>{ie(s).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const s=di.get(r.token);s&&(r.flags=-3841&r.flags|s.flags,r.deps=er(s.deps),r.value=s.value)}if(hi.size>0){let t=new Set(e.modules);hi.forEach((r,s)=>{if(t.has(ie(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:er(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Hn(s)]=t}})}}(e=e.factory(()=>Pn)),e):e}(r))}const di=new Map,hi=new Map,fi=new Map;function pi(e){let t;di.set(e.token,e),"function"==typeof e.token&&(t=ie(e.token))&&"function"==typeof t.providedIn&&hi.set(e.token,e)}function gi(e,t){const n=rr(t.viewDefFactory),r=rr(n.nodes[0].element.componentView);fi.set(e,r)}function mi(){di.clear(),hi.clear(),fi.clear()}function _i(e){if(0===di.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const s=e.nodes[r];1&s.flags&&(n=s),n&&3840&s.flags&&di.has(s.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Pn);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=di.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=er(n.deps),e.value=n.value)}}}}function yi(e,t,n,r,s,o,i,l,a,c,u,d,h){const f=e.def.nodes[t];return Qo(e,f,n,r,s,o,i,l,a,c,u,d,h),224&f.flags?Mn(e,t).value:void 0}function wi(e,t,n,r,s,o,i,l,a,c,u,d,h){const f=e.def.nodes[t];return Go(e,f,n,r,s,o,i,l,a,c,u,d,h),224&f.flags?Mn(e,t).value:void 0}function bi(e){return Hi(Ci.detectChanges,qo,null,[e])}function vi(e){return Hi(Ci.checkNoChanges,Zo,null,[e])}function Ei(e){return Hi(Ci.destroy,Yo,null,[e])}const Ci=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let xi,ki,Ti;function Si(e,t){ki=e,Ti=t}function Ni(e,t,n,r){return Si(e,t),Hi(Ci.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Ii(e,t){if(128&e.state)throw Tn(Ci[xi]);return Si(e,Ri(e,0)),e.def.updateDirectives((function(e,n,r,...s){const o=e.def.nodes[n];return 0===t?Di(e,o,r,s):Mi(e,o,r,s),16384&o.flags&&Si(e,Ri(e,n)),224&o.flags?Mn(e,o.nodeIndex).value:void 0}),e)}function Ai(e,t){if(128&e.state)throw Tn(Ci[xi]);return Si(e,Oi(e,0)),e.def.updateRenderer((function(e,n,r,...s){const o=e.def.nodes[n];return 0===t?Di(e,o,r,s):Mi(e,o,r,s),3&o.flags&&Si(e,Oi(e,n)),224&o.flags?Mn(e,o.nodeIndex).value:void 0}),e)}function Di(e,t,n,r){if(Qo(e,t,n,...r)){const i=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],l=i[e];8&r.flags&&(n[(s=r.nonMinifiedName,o=void 0,o=s.replace(/[$@]/g,"_"),`ng-reflect-${s=o.replace(kt,(...e)=>"-"+e[1].toLowerCase())}`)]=Tt(l))}const r=t.parent,l=An(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(l,t,r):e.renderer.removeAttribute(l,t)}else e.renderer.setValue(l,`bindings=${JSON.stringify(n,null,2)}`)}}var s,o}function Mi(e,t,n,r){Go(e,t,n,...r)}function Ri(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function Oi(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class Pi{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Gn(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return An(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Or(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){Vi(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&Vi(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!Yn(e);)e=e.parent;return e.parent?An(e.parent,Gn(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Kn(this.view,this.nodeDef):Kn(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const s=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let o=-1;n.factory(()=>++o===s?e.error.bind(e,...t):Pn),o<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function Vi(e,t,n){for(let r in t.references)n[r]=Do(e,t,t.references[r])}function Hi(e,t,n,r){const s=xi,o=ki,i=Ti;try{xi=e;const l=t.apply(n,r);return ki=o,Ti=i,xi=s,l}catch(l){if(vt(l)||!ki)throw l;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),kn(e,t),e}(l,Fi())}}function Fi(){return ki?new Pi(ki,Ti):null}class ji{constructor(e){this.delegate=e}createRenderer(e,t){return new Li(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class Li{constructor(e){this.delegate=e,this.debugContextFactory=Fi,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){!function(e){po.delete(e.nativeNode)}(go(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new fo(n,null,r);t.name=e,mo(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&mo(new ho(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&mo(new ho(t,null,n)),t}appendChild(e,t){const n=go(e),r=go(t);n&&r&&n instanceof fo&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=go(e),s=go(t),o=go(n);r&&s&&r instanceof fo&&r.insertBefore(o,s),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=go(e),r=go(t);n&&r&&n instanceof fo&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=Fi();return r&&mo(new fo(n,null,r)),n}setAttribute(e,t,n,r){const s=go(e);s&&s instanceof fo&&(s.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=go(e);r&&r instanceof fo&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=go(e);n&&n instanceof fo&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=go(e);n&&n instanceof fo&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const s=go(e);s&&s instanceof fo&&(s.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=go(e);r&&r instanceof fo&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=go(e);r&&r instanceof fo&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=go(e);r&&r.listeners.push(new uo(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function Bi(e,t,n){return new zi(e,t,n)}class zi extends Zt{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(si)return;si=!0;const e=Ge()?{setCurrentNode:Si,createRootView:ii,createEmbeddedView:ai,createComponentView:ci,createNgModuleRef:ui,overrideProvider:pi,overrideComponentView:gi,clearOverrides:mi,checkAndUpdateView:bi,checkNoChangesView:vi,destroyView:Ei,createDebugContext:(e,t)=>new Pi(e,t),handleEvent:Ni,updateDirectives:Ii,updateRenderer:Ai}:{setCurrentNode:()=>{},createRootView:oi,createEmbeddedView:jo,createComponentView:Bo,createNgModuleRef:Fr,overrideProvider:Pn,overrideComponentView:Pn,clearOverrides:Pn,checkAndUpdateView:qo,checkNoChangesView:Zo,destroyView:Yo,createDebugContext:(e,t)=>new Pi(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?yi:wi,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?yi:wi,e)};On.setCurrentNode=e.setCurrentNode,On.createRootView=e.createRootView,On.createEmbeddedView=e.createEmbeddedView,On.createComponentView=e.createComponentView,On.createNgModuleRef=e.createNgModuleRef,On.overrideProvider=e.overrideProvider,On.overrideComponentView=e.overrideComponentView,On.clearOverrides=e.clearOverrides,On.checkAndUpdateView=e.checkAndUpdateView,On.checkNoChangesView=e.checkNoChangesView,On.destroyView=e.destroyView,On.resolveDep=ns,On.createDebugContext=e.createDebugContext,On.handleEvent=e.handleEvent,On.updateDirectives=e.updateDirectives,On.updateRenderer=e.updateRenderer,On.dirtyParentQueries=No}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const s in e.providersByKey)r[s]=e.providersByKey[s];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(rr(this._ngModuleDefFactory));return On.createNgModuleRef(this.moduleType,e||Re.NULL,this._bootstrapComponents,t)}}class Ui{}class $i{}var Zi=Ln({encapsulation:0,styles:[["header[_ngcontent-%COMP%]{position:absolute;top:0;height:6vh;width:100vw}.bihar-map[_ngcontent-%COMP%]{width:100vw;padding:calc(19vh - 2px) 0}.bihar-map[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:auto;height:50vh}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;height:calc(6vh + 4px);width:100vw}.footer-icon[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:2vh 0;display:block}.footer-icon[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:#eeeefe}.footer-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:2vh;width:2vh}@media only screen and (max-width:601px){header[_ngcontent-%COMP%]{padding:2vh 0;background:#eeeefe;box-shadow:#eeeefe 1px 1px 1px 1px}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:1.2em}.bihar-map[_ngcontent-%COMP%]{width:100vw;padding:calc(17vh - 2px) 0}.bihar-map[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:75vw;height:auto}}"]],data:{}});function qi(e){return Vo(0,[(e()(),Co(0,0,null,null,2,"header",[],null,null,null,null,null)),(e()(),Co(1,0,null,null,1,"h1",[["class","pnd-center"]],null,null,null,null,null)),(e()(),Ro(-1,null,["People and Development of Bihar"])),(e()(),Co(3,0,null,null,1,"div",[["class","bihar-map pnd-center"]],null,null,null,null,null)),(e()(),Co(4,0,null,null,0,"img",[["src","assets/bihar.png"]],null,null,null,null,null)),(e()(),Co(5,0,null,null,23,"footer",[],null,null,null,null,null)),(e()(),Co(6,0,null,null,22,"div",[["class","pnd-row"]],null,null,null,null,null)),(e()(),Co(7,0,null,null,1,"div",[["class","pnd-col l3 s0 footer-icon pnd-center"]],null,null,null,null,null)),(e()(),Ro(-1,null,["\xa0"])),(e()(),Co(9,0,null,null,2,"div",[["class","pnd-col l1 s2 footer-icon pnd-center"]],null,null,null,null,null)),(e()(),Co(10,0,null,null,1,"a",[["href","https://chat.whatsapp.com/FtHvAFmie9jEHak0YlzMpt"],["target","_blank"]],null,null,null,null,null)),(e()(),Co(11,0,null,null,0,"img",[["src","assets/social/whatsapp.svg"]],null,null,null,null,null)),(e()(),Co(12,0,null,null,2,"div",[["class","pnd-col l1 s2 footer-icon pnd-center"]],null,null,null,null,null)),(e()(),Co(13,0,null,null,1,"a",[["href","https://twitter.com/pndbihar"],["target","_blank"]],null,null,null,null,null)),(e()(),Co(14,0,null,null,0,"img",[["src","assets/social/twitter.svg"]],null,null,null,null,null)),(e()(),Co(15,0,null,null,2,"div",[["class","pnd-col l1 s2 footer-icon pnd-center"]],null,null,null,null,null)),(e()(),Co(16,0,null,null,1,"a",[["href","https://facebook.com/pndbihar"],["target","_blank"]],null,null,null,null,null)),(e()(),Co(17,0,null,null,0,"img",[["src","assets/social/facebook.svg"]],null,null,null,null,null)),(e()(),Co(18,0,null,null,2,"div",[["class","pnd-col l1 s2 footer-icon pnd-center"]],null,null,null,null,null)),(e()(),Co(19,0,null,null,1,"a",[["href","https://instagram.com/pndbihar"],["target","_blank"]],null,null,null,null,null)),(e()(),Co(20,0,null,null,0,"img",[["src","assets/social/instagram.svg"]],null,null,null,null,null)),(e()(),Co(21,0,null,null,2,"div",[["class","pnd-col l1 s2 footer-icon pnd-center"]],null,null,null,null,null)),(e()(),Co(22,0,null,null,1,"a",[["href","https://www.youtube.com/channel/UCryJmU6wGRwdPtKoky8Rg4g"],["target","_blank"]],null,null,null,null,null)),(e()(),Co(23,0,null,null,0,"img",[["src","assets/social/youtube.svg"]],null,null,null,null,null)),(e()(),Co(24,0,null,null,2,"div",[["class","pnd-col l1 s2 footer-icon pnd-center"]],null,null,null,null,null)),(e()(),Co(25,0,null,null,1,"a",[["href","mailto:[email protected]"],["target","_blank"]],null,null,null,null,null)),(e()(),Co(26,0,null,null,0,"img",[["src","assets/social/gmail.svg"]],null,null,null,null,null)),(e()(),Co(27,0,null,null,1,"div",[["class","pnd-col l3 s0 footer-icon pnd-center"]],null,null,null,null,null)),(e()(),Ro(-1,null,["\xa0"]))],null,null)}function Qi(e){return Vo(0,[(e()(),Co(0,0,null,null,1,"app-root",[],null,null,null,qi,Zi)),Wr(1,49152,null,0,$i,[],null,null)],null,null)}var Wi=kr("app-root",$i,Qi,{},{},[]);class Gi{}const Ki=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),Yi=new _e("UseV4Plurals");class Ji{}let Xi=(()=>(class extends Ji{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){const t=e.toLowerCase().replace(/_/g,"-");let n=cs[t];if(n)return n;const r=t.split("-")[0];if(n=cs[r])return n;if("en"===r)return hs;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[us.PluralCase]}(t||this.locale)(e)){case Ki.Zero:return"zero";case Ki.One:return"one";case Ki.Two:return"two";case Ki.Few:return"few";case Ki.Many:return"many";default:return"other"}}}))(),el=(()=>(class{}))();const tl=new _e("DocumentToken");let nl=null;function rl(){return nl}class sl{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class ol extends sl{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const e=this.createElement("div",document);if(null!=this.getStyle(e,"animationName"))this._animationPrefix="";else{const t=["Webkit","Moz","O","ms"];for(let n=0;n<t.length;n++)if(null!=this.getStyle(e,t[n]+"AnimationName")){this._animationPrefix="-"+t[n].toLowerCase()+"-";break}}const t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(t).forEach(n=>{null!=this.getStyle(e,n)&&(this._transitionEnd=t[n])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const il={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ll=3,al={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},cl={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ul=(()=>{if(me.Node)return me.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class dl extends ol{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new dl,nl||(nl=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return il}contains(e,t){return ul.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r];return n}clearNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)}appendChild(e,t){e.appendChild(t)}removeChild(e,t){e.removeChild(t)}replaceChild(e,t,n){e.replaceChild(t,n)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}insertBefore(e,t,n){e.insertBefore(n,t)}insertAllBefore(e,t,n){n.forEach(n=>e.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const r=this.getStyle(e,t)||"";return n?r==n:r.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r);t.set(e.name,e.value)}return t}hasAttribute(e,t){return e.hasAttribute(t)}hasAttributeNS(e,t,n){return e.hasAttributeNS(t,n)}getAttribute(e,t){return e.getAttribute(t)}getAttributeNS(e,t,n){return e.getAttributeNS(t,n)}setAttribute(e,t,n){e.setAttribute(t,n)}setAttributeNS(e,t,n,r){e.setAttributeNS(t,n,r)}removeAttribute(e,t){e.removeAttribute(t)}removeAttributeNS(e,t,n){e.removeAttributeNS(t,n)}templateAwareRoot(e){return this.isTemplateElement(e)?this.content(e):e}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(e){return e.title}setTitle(e,t){e.title=t||""}elementMatches(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}isTemplateElement(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}isTextNode(e){return e.nodeType===Node.TEXT_NODE}isCommentNode(e){return e.nodeType===Node.COMMENT_NODE}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}hasShadowRoot(e){return null!=e.shadowRoot&&e instanceof HTMLElement}isShadowRoot(e){return e instanceof DocumentFragment}importIntoDoc(e){return document.importNode(this.templateAwareRoot(e),!0)}adoptNode(e){return document.adoptNode(e)}getHref(e){return e.getAttribute("href")}getEventKey(e){let t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),e.location===ll&&cl.hasOwnProperty(t)&&(t=cl[t]))}return al[t]||t}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=fl||(fl=document.querySelector("base"))?fl.getAttribute("href"):null;return null==t?null:(n=t,hl||(hl=document.createElement("a")),hl.setAttribute("href",n),"/"===hl.pathname.charAt(0)?hl.pathname:"/"+hl.pathname);var n}resetBaseElement(){fl=null}getUserAgent(){return window.navigator.userAgent}setData(e,t,n){this.setAttribute(e,"data-"+t,n)}getData(e,t){return this.getAttribute(e,"data-"+t)}getComputedStyle(e){return getComputedStyle(e)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let hl,fl=null;function pl(){return!!window.history.pushState}let gl=(()=>{class e extends Gi{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=rl().getLocation(),this._history=rl().getHistory()}getBaseHrefFromDOM(){return rl().getBaseHref(this._doc)}onPopState(e){rl().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){rl().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){pl()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){pl()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.ctorParameters=()=>[{type:void 0,decorators:[{type:X,args:[tl]}]}],e})();const ml=new _e("TRANSITION_ID"),_l=[{provide:_s,useFactory:function(e,t,n){return()=>{n.get(ys).donePromise.then(()=>{const n=rl();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[ml,tl,Re],multi:!0}];class yl{static init(){var e;e=new yl,eo=e}addToWindow(e){me.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},me.getAllAngularTestabilities=()=>e.getAllTestabilities(),me.getAllAngularRootElements=()=>e.getAllRootElements(),me.frameworkStabilizers||(me.frameworkStabilizers=[]),me.frameworkStabilizers.push(e=>{const t=me.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?rl().isShadowRoot(t)?this.findTestabilityInTree(e,rl().getHost(t),!0):this.findTestabilityInTree(e,rl().parentElement(t),!0):null}}function wl(e,t){"undefined"!=typeof COMPILED&&COMPILED||((me.ng=me.ng||{})[e]=t)}const bl=(()=>({ApplicationRef:ao,NgZone:Us}))();function vl(e){return go(e)}const El=new _e("EventManagerPlugins");let Cl=(()=>(class{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}))();class xl{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=rl().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let kl=(()=>(class{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}))(),Tl=(()=>(class extends kl{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>rl().remove(e))}}))();const Sl={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/"},Nl=/%COMP%/g,Il="_nghost-%COMP%",Al="_ngcontent-%COMP%";function Dl(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?Dl(e,s,n):(s=s.replace(Nl,e),n.push(s))}return n}function Ml(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Rl=(()=>(class{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Ol(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Ze.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Hl(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Ze.Native:case Ze.ShadowDom:return new Fl(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Dl(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}))();class Ol{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Sl[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=Sl[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=Sl[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&Yt.DashCase?e.style.setProperty(t,n,r&Yt.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Yt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){Vl(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return Vl(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Ml(n)):this.eventManager.addEventListener(e,t,Ml(n))}}const Pl=(()=>"@".charCodeAt(0))();function Vl(e,t){if(e.charCodeAt(0)===Pl)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class Hl extends Ol{constructor(e,t,n,r){super(e),this.component=n;const s=Dl(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=Al.replace(Nl,r+"-"+n.id),this.hostAttr=function(e){return Il.replace(Nl,e)}(r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Fl extends Ol{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Ze.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Dl(r.id,r.styles,[]);for(let o=0;o<s.length;o++){const e=document.createElement("style");e.textContent=s[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}const jl=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),Ll=jl("addEventListener"),Bl=jl("removeEventListener"),zl={},Ul="__zone_symbol__propagationStopped",$l=(()=>{const e="undefined"!=typeof Zone&&Zone[jl("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),Zl=function(e){return!!$l&&$l.hasOwnProperty(e)},ql=function(e){const t=zl[e.type];if(!t)return;const n=this[t];if(!n)return;const r=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}{const t=n.slice();for(let n=0;n<t.length&&!0!==e[Ul];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}};let Ql=(()=>(class extends xl{constructor(e,t,n){super(e),this.ngZone=t,n&&function(e){return"server"===e}(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Ul]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[Ll]||Us.isInAngularZone()&&!Zl(t))e.addEventListener(t,r,!1);else{let n=zl[t];n||(n=zl[t]=jl("ANGULAR"+t+"FALSE"));let s=e[n];const o=s&&s.length>0;s||(s=e[n]=[]);const i=Zl(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:i,handler:r});else{let e=!1;for(let t=0;t<s.length;t++)if(s[t].handler===r){e=!0;break}e||s.push({zone:i,handler:r})}o||e[Ll](t,ql,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[Bl];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);let s=zl[t],o=s&&e[s];if(!o)return e.removeEventListener.apply(e,[t,n,!1]);let i=!1;for(let l=0;l<o.length;l++)if(o[l].handler===n){i=!0,o.splice(l,1);break}i?0===o.length&&r.apply(e,[t,ql,!1]):e.removeEventListener.apply(e,[t,n,!1])}}))();const Wl={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},Gl=new _e("HammerGestureConfig"),Kl=new _e("HammerLoader");let Yl=(()=>(class{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}))(),Jl=(()=>(class extends xl{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!Wl.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,s=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=()=>{});r||(s=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom `+"Hammer.JS loader failed."),s=()=>{}}),()=>{s()}}return r.runOutsideAngular(()=>{const s=this._config.buildHammer(e),o=function(e){r.runGuarded((function(){n(e)}))};return s.on(t,o),()=>{s.off(t,o),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}))();const Xl=["alt","control","meta","shift"],ea={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let ta=(()=>{class e extends xl{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),o=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>rl().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let o="";if(Xl.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=s,0!=n.length||0===s.length)return null;const i={};return i.domEventName=r,i.fullKey=o,i}static getEventFullKey(e){let t="",n=rl().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Xl.forEach(r=>{r!=n&&(0,ea[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e})();class na{}let ra=(()=>(class extends na{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case _t.NONE:return t;case _t.HTML:return t instanceof oa?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){let n=null;try{gt=gt||new Ke(e);let r=t?String(t):"";n=gt.getInertBodyElement(r);let s=5,o=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=o,o=n.innerHTML,n=gt.getInertBodyElement(r)}while(r!==o);const i=new dt,l=i.sanitizeChildren(mt(n)||n);return Ge()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n){const e=mt(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(this._doc,String(t)));case _t.STYLE:return t instanceof ia?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";const t=e.match(bt);return t&&Xe(t[1])===t[1]||e.match(wt)&&function(e){let t=!0,n=!0;for(let r=0;r<e.length;r++){const s=e.charAt(r);"'"===s&&n?t=!t:'"'===s&&t&&(n=!n)}return t&&n}(e)?e:(Ge()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}(t));case _t.SCRIPT:if(t instanceof la)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case _t.URL:return t instanceof ca||t instanceof aa?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Xe(String(t)));case _t.RESOURCE_URL:if(t instanceof ca)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(e,t){if(e instanceof sa)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(e){return new oa(e)}bypassSecurityTrustStyle(e){return new ia(e)}bypassSecurityTrustScript(e){return new la(e)}bypassSecurityTrustUrl(e){return new aa(e)}bypassSecurityTrustResourceUrl(e){return new ca(e)}}))();class sa{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class oa extends sa{getTypeName(){return"HTML"}}class ia extends sa{getTypeName(){return"Style"}}class la extends sa{getTypeName(){return"Script"}}class aa extends sa{getTypeName(){return"URL"}}class ca extends sa{getTypeName(){return"ResourceURL"}}const ua=so(_o,"browser",[{provide:Cs,useValue:"browser"},{provide:Es,useValue:function(){dl.makeCurrent(),yl.init()},multi:!0},{provide:Gi,useClass:gl,deps:[tl]},{provide:tl,useFactory:function(){return document},deps:[]}]);function da(){return new xt}let ha=(()=>{class e{constructor(e){if(e)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.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:ws,useValue:t.appId},{provide:ml,useExisting:ws},_l]}}}return e})();"undefined"!=typeof window&&window;var fa=Bi(Ui,[$i],(function(e){return function(e){const t={},n=[];let r=!1;for(let s=0;s<e.length;s++){const o=e[s];o.token===De&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=s,t[Hn(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([mr(512,Bt,zt,[[8,[Wi]],[3,Bt],$t]),mr(5120,Ts,bo,[[3,Ts]]),mr(4608,Ji,Xi,[Ts,[2,Yi]]),mr(5120,as,vo,[Us]),mr(4608,Os,Os,[]),mr(5120,ws,bs,[]),mr(5120,fn,yo,[]),mr(5120,pn,wo,[]),mr(4608,na,ra,[tl]),mr(6144,yt,null,[na]),mr(4608,Gl,Yl,[]),mr(5120,El,(function(e,t,n,r,s,o,i,l){return[new Ql(e,t,n),new ta(r),new Jl(s,o,i,l)]}),[tl,Us,Cs,tl,tl,Gl,ks,[2,Kl]]),mr(4608,Cl,Cl,[El,Us]),mr(135680,Tl,Tl,[tl]),mr(4608,Rl,Rl,[Cl,Tl,ws]),mr(6144,Kt,null,[Rl]),mr(6144,kl,null,[Tl]),mr(4608,Ks,Ks,[Us]),mr(1073742336,el,el,[]),mr(1024,xt,da,[]),mr(1024,_s,(function(e){return[(t=e,wl("probe",vl),wl("coreTokens",Object.assign({},bl,(t||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>vl)];var t}),[[2,ro]]),mr(512,ys,ys,[[2,_s]]),mr(131584,ao,ao,[Us,ks,Re,xt,Bt,ys]),mr(1073742336,Eo,Eo,[ao]),mr(1073742336,ha,ha,[[3,ha]]),mr(1073742336,Ui,Ui,[]),mr(256,De,!0,[])])}));(function(){if(We)throw new Error("Cannot enable prod mode after platform setup.");Qe=!1})(),ua().bootstrapModuleFactory(fa).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);