(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{255:t=>{function e(t){return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=()=>[],e.resolve=e,e.id=255,t.exports=e},927:(t,e,n)=>{"use strict";function r(t){return"function"==typeof t}let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function u(t){return null!==t&&"object"==typeof t}const c=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof c?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,s){let i;super(),this._parentSubscriber=t;let o=this;r(e)?i=e:e&&(i=e.next,n=e.error,s=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}let v=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,s=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=_(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=_(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function _(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class b extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class C extends f{constructor(t){super(t),this.destination=t}}let x=(()=>{class t extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new S(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;snew S(t,e),t})();class S extends x{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function E(t){return t&&"function"==typeof t.schedule}function k(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new T(t,e))}}class T{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new A(t,this.project,this.thisArg))}}class A extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const O=t=>e=>{for(let n=0,r=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function j(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const M=t=>{if(t&&"function"==typeof t[m])return n=t,t=>{const e=n[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(P(t))return O(t);if(j(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e))(t);if(t&&"function"==typeof t[R])return e=t,t=>{const n=e[R]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}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};{const e=u(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n};function N(t,e){return new v(n=>{const r=new h;let s=0;return r.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function D(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new v(n=>{const r=new h;return r.add(e.schedule(()=>{const s=t[m]();r.add(s.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(j(t))return function(t,e){return new v(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(P(t))return N(t,e);if(function(t){return t&&"function"==typeof t[R]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new v(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[R](),r.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof v?t:new v(M(t))}class L extends f{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class U extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function F(t,e){if(e.closed)return;if(t instanceof v)return t.subscribe(e);let n;try{n=M(t)(e)}catch(r){e.error(r)}return n}function H(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(H((n,r)=>D(t(n,r)).pipe(k((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new V(t,n)))}class V{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new $(t,this.project,this.concurrent))}}class $ extends U{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function B(t=Number.POSITIVE_INFINITY){return H(y,t)}function z(t,e){return e?N(t,e):new v(O(t))}function q(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return E(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof v?t[0]:B(e)(z(t,n))}function W(){return function(t){return t.lift(new Q(t))}}class Q{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new G(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class G extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class Z extends v{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new Y(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return W()(this)}}const K=(()=>{const t=Z.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class Y extends C{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function J(){return new x}function X(t){for(let e in t)if(t[e]===X)return e;throw Error("Could not find renamed property on target object.")}function tt(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function et(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(et).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function nt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const rt=X({__forward_ref__:X});function st(t){return t.__forward_ref__=st,t.toString=function(){return et(this())},t}function it(t){return ot(t)?t():t}function ot(t){return"function"==typeof t&&t.hasOwnProperty(rt)&&t.__forward_ref__===st}class at extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function lt(t){return"string"==typeof t?t:null==t?"":String(t)}function ut(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():lt(t)}function ct(t,e){const n=e?` in ${e}`:"";throw new at("201",`No provider for ${ut(t)} found${n}`)}function ht(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function dt(t){return{providers:t.providers||[],imports:t.imports||[]}}function pt(t){return ft(t,mt)||ft(t,vt)}function ft(t,e){return t.hasOwnProperty(e)?t[e]:null}function gt(t){return t&&(t.hasOwnProperty(yt)||t.hasOwnProperty(_t))?t[yt]:null}const mt=X({"\u0275prov":X}),yt=X({"\u0275inj":X}),vt=X({ngInjectableDef:X}),_t=X({ngInjectorDef:X});var wt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let bt;function Ct(t){const e=bt;return bt=t,e}function xt(t,e,n){const r=pt(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&wt.Optional?null:void 0!==e?e:void ct(et(t),"Injector")}function St(t){return{toString:t}.toString()}var Et=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),kt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const Tt="undefined"!=typeof globalThis&&globalThis,At="undefined"!=typeof window&&window,Ot="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,It="undefined"!=typeof global&&global,Rt=Tt||It||At||Ot,Pt={},jt=[],Mt=X({"\u0275cmp":X}),Nt=X({"\u0275dir":X}),Dt=X({"\u0275pipe":X}),Lt=X({"\u0275mod":X}),Ut=X({"\u0275loc":X}),Ft=X({"\u0275fac":X}),Ht=X({__NG_ELEMENT_ID__:X});let Vt=0;function $t(t){return St(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Et.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||jt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||kt.Emulated,id:"c",styles:t.styles||jt,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,i=t.pipes;return n.id+=Vt++,n.inputs=Qt(t.inputs,e),n.outputs=Qt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Bt):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(zt):null,n})}function Bt(t){return Zt(t)||function(t){return t[Nt]||null}(t)}function zt(t){return function(t){return t[Dt]||null}(t)}const qt={};function Wt(t){return St(()=>{const e={type:t.type,bootstrap:t.bootstrap||jt,declarations:t.declarations||jt,imports:t.imports||jt,exports:t.exports||jt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(qt[t.id]=t.type),e})}function Qt(t,e){if(null==t)return Pt;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const Gt=$t;function Zt(t){return t[Mt]||null}function Kt(t,e){const n=t[Lt]||null;if(!n&&!0===e)throw new Error(`Type ${et(t)} does not have '\u0275mod' property.`);return n}const Yt=20,Jt=10;function Xt(t){return Array.isArray(t)&&"object"==typeof t[1]}function te(t){return Array.isArray(t)&&!0===t[1]}function ee(t){return 0!=(8&t.flags)}function ne(t){return 2==(2&t.flags)}function re(t){return 1==(1&t.flags)}function se(t){return null!==t.template}function ie(t,e){return t.hasOwnProperty(Ft)?t[Ft]:null}class oe{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ae(){return le}function le(t){return t.type.prototype.ngOnChanges&&(t.setInput=ce),ue}function ue(){const t=he(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Pt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function ce(t,e,n,r){const s=he(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Pt,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new oe(l&&l.currentValue,e,o===Pt),t[r]=e}function he(t){return t.__ngSimpleChanges__||null}let de;function pe(t){return!!t.listen}ae.ngInherit=!0;const fe={createRenderer:(t,e)=>void 0!==de?de:"undefined"!=typeof document?document:void 0};function ge(t){for(;Array.isArray(t);)t=t[0];return t}function me(t,e){return ge(e[t])}function ye(t,e){return ge(e[t.index])}function ve(t,e){return t.data[e]}function _e(t,e){const n=e[t];return Xt(n)?n:n[0]}function we(t){return 128==(128&t[2])}function be(t,e){return null==e?null:t[e]}function Ce(t){t[18]=0}function xe(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const Se={lFrame:ze(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ee(){return Se.bindingsEnabled}function ke(){return Se.lFrame.lView}function Te(){return Se.lFrame.tView}function Ae(){let t=Oe();for(;null!==t&&64===t.type;)t=t.parent;return t}function Oe(){return Se.lFrame.currentTNode}function Ie(t,e){const n=Se.lFrame;n.currentTNode=t,n.isParent=e}function Re(){return Se.lFrame.isParent}function Pe(){Se.lFrame.isParent=!1}function je(){return Se.isInCheckNoChangesMode}function Me(t){Se.isInCheckNoChangesMode=t}function Ne(){return Se.lFrame.bindingIndex++}function De(t){const e=Se.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Le(t,e){const n=Se.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ue(e)}function Ue(t){Se.lFrame.currentDirectiveIndex=t}function Fe(t){Se.lFrame.currentQueryIndex=t}function He(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Ve(t,e,n){if(n&wt.SkipSelf){let r=e,s=t;for(;r=r.parent,!(null!==r||n&wt.Host||(r=He(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;e=r,t=s}const r=Se.lFrame=Be();return r.currentTNode=e,r.lView=t,!0}function $e(t){const e=Be(),n=t[1];Se.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Be(){const t=Se.lFrame,e=null===t?null:t.child;return null===e?ze(t):e}function ze(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function qe(){const t=Se.lFrame;return Se.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const We=qe;function Qe(){const t=qe();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ge(){return Se.lFrame.selectedIndex}function Ze(t){Se.lFrame.selectedIndex=t}function Ke(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{i.call(o)}finally{}}}else try{i.call(o)}finally{}}const nn=-1;class rn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function sn(t,e,n){const r=pe(t);let s=0;for(;se){o=i-1;break}}}for(;i>16,r=e;for(;n>0;)r=r[15],n--;return r}let pn=!0;function fn(t){const e=pn;return pn=t,e}let gn=0;function mn(t,e){const n=vn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,yn(r.data,t),yn(e,null),yn(r.blueprint,null));const s=_n(t,e),i=t.injectorIndex;if(cn(s)){const t=hn(s),n=dn(s,e),r=n[1].data;for(let s=0;s<8;s++)e[i+s]=n[t+s]|r[t+s]}return e[i+8]=s,i}function yn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function vn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function _n(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(r=2===e?t.declTNode:1===e?s[6]:null,null===r)return nn;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return nn}function wn(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ht)&&(r=n[Ht]),null==r&&(r=n[Ht]=gn++);const s=255&r;e.data[t+(s>>5)]|=1<=0?255&e:En:e}(n);if("function"==typeof i){if(!Ve(e,t,r))return r&wt.Host?bn(s,n,r):Cn(e,n,r,s);try{const t=i(r);if(null!=t||r&wt.Optional)return t;ct(n)}finally{We()}}else if("number"==typeof i){let s=null,o=vn(t,e),a=nn,l=r&wt.Host?e[16][6]:null;for((-1===o||r&wt.SkipSelf)&&(a=-1===o?_n(t,e):e[o+8],a!==nn&&On(r,!1)?(s=e[1],o=hn(a),e=dn(a,e)):o=-1);-1!==o;){const t=e[1];if(An(i,o,t.data)){const t=kn(o,e,n,s,r,l);if(t!==Sn)return t}a=e[o+8],a!==nn&&On(r,e[1].data[o+8]===l)&&An(i,o,e)?(s=t,o=hn(a),e=dn(a,e)):o=-1}}}return Cn(e,n,r,s)}const Sn={};function En(){return new In(Ae(),ke())}function kn(t,e,n,r,s,i){const o=e[1],a=o.data[t+8],l=function(t,e,n,r,s){const i=t.providerIndexes,o=e.data,a=1048575&i,l=t.directiveStart,u=i>>20,c=s?a+u:t.directiveEnd;for(let h=r?a:a+u;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&&se(t)&&t.type===n)return l}return null}(a,o,n,null==r?ne(a)&&pn:r!=o&&0!=(3&a.type),s&wt.Host&&i===a);return null!==l?Tn(e,o,l,a):Sn}function Tn(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof rn){const o=s;o.resolving&&function(t,e){throw new at("200",`Circular dependency in DI detected for ${t}`)}(ut(i[n]));const a=fn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?Ct(o.injectImpl):null;Ve(t,r,wt.Default);try{s=t[n]=o.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=e.type.prototype;if(r){const r=le(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{null!==l&&Ct(l),fn(a),o.resolving=!1,We()}}return s}function An(t,e,n){return!!(n[e+(t>>5)]&1<{const e=Rn(it(t));return e&&e()}:ie(t)}const Pn="__parameters__";function jn(t,e,n){return St(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty(Pn)?t[Pn]:Object.defineProperty(t,Pn,{value:[]})[Pn];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Mn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ht({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Nn=new Mn("AnalyzeForEntryComponents"),Dn=Function;function Ln(t,e){t.forEach(t=>Array.isArray(t)?Ln(t,e):e(t))}function Un(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Fn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Hn(t,e){const n=[];for(let r=0;r=0?t[1|r]=n:(r=~r,function(t,e,n,r){let s=t.length;if(s==e)t.push(n,r);else if(1===s)t.push(r,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function $n(t,e){const n=Bn(t,e);if(n>=0)return t[1|n]}function Bn(t,e){return function(t,e,n){let r=0,s=t.length>>1;for(;s!==r;){const n=r+(s-r>>1),i=t[n<<1];if(e===i)return n<<1;i>e?s=n:r=n+1}return~(s<<1)}(t,e)}const zn={},qn=/\n/gm,Wn="__source",Qn=X({provide:String,useValue:X});let Gn;function Zn(t){const e=Gn;return Gn=t,e}function Kn(t,e=wt.Default){if(void 0===Gn)throw new Error("inject() must be called from an injection context");return null===Gn?xt(t,void 0,e):Gn.get(t,e&wt.Optional?null:void 0,e)}function Yn(t,e=wt.Default){return(bt||Kn)(it(t),e)}const Jn=Yn;function Xn(t){const e=[];for(let n=0;n({token:t})),-1),nr=tr(jn("Optional"),8),rr=tr(jn("SkipSelf"),4);function sr(t,e){t.__ngContext__=e}function ir(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function or(t){return t.ngDebugContext}function ar(t){return t.ngOriginalError}function lr(t,...e){t.error(...e)}class ur{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||lr}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?or(t)?or(t):this._findContext(ar(t)):null}_findOriginalError(t){let e=ar(t);for(;e&&ar(e);)e=ar(e);return e}}const cr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Rt))();function hr(t){return t.ownerDocument}function dr(t){return t instanceof Function?t():t}var pr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function fr(t,e){return(void 0)(t,e)}function gr(t){const e=t[3];return te(e)?e[3]:e}function mr(t){return vr(t[13])}function yr(t){return vr(t[4])}function vr(t){for(;null!==t&&!te(t);)t=t[4];return t}function _r(t,e,n,r,s){if(null!=r){let i,o=!1;te(r)?i=r:Xt(r)&&(o=!0,r=r[0]);const a=ge(r);0===t&&null!==n?null==s?Tr(e,n,a):kr(e,n,a,s||null,!0):1===t&&null!==n?kr(e,n,a,s||null,!0):2===t?function(t,e,n){const r=Or(t,e);r&&function(t,e,n,r){pe(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,r,s){const i=n[7];i!==ge(n)&&_r(e,t,r,i,s);for(let o=Jt;o0&&(t[n-1][4]=r[4]);const o=Fn(t,Jt+e);Lr(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function xr(t,e){if(!(256&e[2])){const n=e[11];pe(n)&&n.destroyNode&&Lr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Sr(t[1],t);for(;e;){let n=null;if(Xt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Xt(e)&&Sr(e[1],e),e=e[3];null===e&&(e=t),Xt(e)&&Sr(e[1],e),n=e&&e[4]}e=n}}(e)}}function Sr(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?r[s=l]():r[s=-l].unsubscribe(),i+=2}else{const t=r[s=n[i+1]];n[i].call(t)}if(null!==r){for(let t=s+1;ti?"":s[c+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Vr(e,u,0)||2&r&&u!==t){if(Qr(r))return!1;o=!0}}}}else{if(!o&&!Qr(r)&&!Qr(l))return!1;if(o&&Qr(l))continue;o=!1,r=l|1&r}}return Qr(r)||o}function Qr(t){return 0==(1&t)}function Gr(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||Qr(o)||(e+=Kr(i,s),s=""),r=o,i=i||!Qr(r);n++}return""!==s&&(e+=Kr(i,s)),e}const Jr={};function Xr(t){ts(Te(),ke(),Ge()+t,je())}function ts(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Ye(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Je(e,r,0,n)}Ze(n)}function es(t,e){return t<<17|e<<2}function ns(t){return t>>17&32767}function rs(t){return 2|t}function ss(t){return(131068&t)>>2}function is(t,e){return-131069&t|e<<2}function os(t){return 1|t}function as(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;rYt&&ts(t,e,Yt,je()),n(r,s)}finally{Ze(i)}}function gs(t,e,n){if(ee(e)){const r=e.directiveEnd;for(let s=e.directiveStart;s0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,s,o)}}function xs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ss(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Es(t,e,n){if(n){if(e.exportAs)for(let r=0;r0&&js(n)}}function js(t){for(let n=mr(t);null!==n;n=yr(n))for(let t=Jt;t0&&js(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&js(r)}}function Ms(t,e){const n=_e(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function Vs(t){return t[7]||(t[7]=[])}function $s(t){return t.cleanup||(t.cleanup=[])}function Bs(t,e){const n=t[9],r=n?n.get(ur,null):null;r&&r.handleError(e)}function zs(t,e,n,r,s){for(let i=0;ithis.processProvider(n,t,e)),Ln([t],t=>this.processInjectorType(t,[],s)),this.records.set(Qs,ri(void 0,this));const i=this.records.get(Zs);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof t?null:et(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=zn,n=wt.Default){this.assertNotDestroyed();const r=Zn(this);try{if(!(n&wt.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Mn)&&pt(t);e=n&&this.injectableDefInScope(n)?ri(ni(t),Ks):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&wt.Self?Xs():this.parent).get(t,e=n&wt.Optional&&e===zn?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(et(t)),r)throw i;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e[Wn]&&s.unshift(e[Wn]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=et(e);if(Array.isArray(e))s=e.map(et).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):et(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(qn,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{Zn(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(et(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=it(t)))return!1;let r=gt(t);const s=null==r&&t.ngModule||void 0,i=void 0===s?t:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=gt(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{Ln(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||jt))}}this.injectorDefTypes.add(i);const a=ie(i)||(()=>new i);this.records.set(i,ri(a,Ks));const l=r.providers;if(null!=l&&!o){const e=t;Ln(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=ii(t=it(t))?t:it(t&&t.provide);const s=function(t,e,n){return si(t)?ri(void 0,t.useValue):ri(function(t,e,n){let r;if(ii(t)){const e=it(t);return ie(e)||ni(e)}if(si(t))r=()=>it(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...Xn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Yn(it(t.useExisting));else{const e=it(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ie(e)||ni(e);r=()=>new e(...Xn(t.deps))}var s;return r}(t),Ks)}(t);if(ii(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=ri(void 0,Ks,!0),e.factory=()=>Xn(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===Ks&&(e.value=Ys,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=it(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function ni(t){const e=pt(t),n=null!==e?e.factory:ie(t);if(null!==n)return n;if(t instanceof Mn)throw new Error(`Token ${et(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=Hn(e,"?");throw new Error(`Can't resolve all parameters for ${et(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[mt]||t[vt]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function ri(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function si(t){return null!==t&&"object"==typeof t&&Qn in t}function ii(t){return"function"==typeof t}const oi=function(t,e,n){return function(t,e=null,n=null,r){const s=ti(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let ai=(()=>{class t{static create(t,e){return Array.isArray(t)?oi(t,e,""):oi(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=zn,t.NULL=new Gs,t.\u0275prov=ht({token:t,providedIn:"any",factory:()=>Yn(Qs)}),t.__NG_ELEMENT_ID__=-1,t})();function li(t,e){Ke(ir(t)[1],Ae())}function ui(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let s;if(se(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){r.push(s);const e=t;e.inputs=ci(t.inputs),e.declaredInputs=ci(t.declaredInputs),e.outputs=ci(t.outputs);const n=s.hostBindings;n&&pi(t,n);const i=s.viewQuery,o=s.contentQueries;if(i&&hi(t,i),o&&di(t,o),tt(t.inputs,s.inputs),tt(t.declaredInputs,s.declaredInputs),tt(t.outputs,s.outputs),se(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let r=0;r=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=ln(s.hostAttrs,n=ln(n,s.hostAttrs))}}(r)}function ci(t){return t===Pt?{}:t===jt?[]:t}function hi(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function di(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function pi(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}let fi=null;function gi(){if(!fi){const t=Rt.Symbol;if(t&&t.iterator)fi=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(ge(t[r.index])):r.index;if(pe(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let i=0;in?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=Pi(r,e,0,i,!1);const t=n.listen(p,s,i);c.push(i,t),u&&u.push(s,g,f,f+1)}}else i=Pi(r,e,0,i,!0),p.addEventListener(s,i,o),c.push(i),u&&u.push(s,g,f,o)}else i=Pi(r,e,0,i,!1);const d=r.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n=0}function Ni(t,e,n){return function(t,e,n,r){const s=ke(),i=Te(),o=De(2);i.firstUpdatePass&&function(t,e,n,r){const s=t.data;if(null===s[n+1]){const i=s[Ge()],o=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(32&t.flags)})(i)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const s=function(t){const e=Se.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=e.residualStyles;if(null===s)0===e.styleBindings&&(n=Li(n=Di(null,t,e,n,r),e.attrs,r),i=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=Di(s,t,e,n,r),null===i){let n=function(t,e,n){const r=e.styleBindings;if(0!==ss(r))return t[ns(r)]}(t,e);void 0!==n&&Array.isArray(n)&&(n=Di(null,t,e,n[1],r),n=Li(n,e.attrs,r),function(t,e,n,r){t[ns(e.styleBindings)]=r}(t,e,0,n))}else i=function(t,e,n){let r;const s=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0)&&(c=!0)}else u=n;if(s)if(0!==l){const e=ns(t[a+1]);t[r+1]=es(e,a),0!==e&&(t[e+1]=is(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=es(a,0),0!==a&&(t[a+1]=is(t[a+1],r)),a=r;else t[r+1]=es(l,0),0===a?a=r:t[l+1]=is(t[l+1],r),l=r;c&&(t[r+1]=rs(t[r+1])),ji(t,u,r,!0),ji(t,u,r,!1),function(t,e,n,r,s){const i=t.residualStyles;null!=i&&"string"==typeof e&&Bn(i,e)>=0&&(n[r+1]=os(n[r+1]))}(e,u,t,r),o=es(a,l),e.styleBindings=o}(s,i,e,n,o)}}(i,t,o,false),e!==Jr&&vi(s,o,e)&&function(t,e,n,r,s,i,o,a){if(!(3&e.type))return;const l=t.data,u=l[a+1];Fi(1==(1&u)?Ui(l,e,n,s,ss(u),o):void 0)||(Fi(i)||function(t){return 2==(2&t)}(u)&&(i=Ui(l,null,n,s,a,o)),function(t,e,n,r,s){const i=pe(t);{let e=-1===r.indexOf("-")?void 0:pr.DashCase;if(null==s)i?t.removeStyle(n,r,e):n.style.removeProperty(r);else{const o="string"==typeof s&&s.endsWith("!important");o&&(s=s.slice(0,-10),e|=pr.Important),i?t.setStyle(n,r,s,e):n.style.setProperty(r,s,o?"important":"")}}}(r,0,me(Ge(),n),s,i))}(i,i.data[Ge()],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=et(function(t){return t instanceof class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?t.changingThisBreaksApplicationSecurity:t}(t)))),t}(e,n),false,o)}(t,e,n),Ni}function Di(t,e,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[s],i=Array.isArray(e),l=i?e[1]:e,u=null===l;let c=n[s+1];c===Jr&&(c=u?jt:void 0);let h=u?$n(c,r):l===r?c:void 0;if(i&&!Fi(h)&&(h=$n(e,r)),Fi(h)&&(a=h,o))return a;const d=t[s+1];s=o?ns(d):ss(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(a=$n(t,r))}return a}function Fi(t){return void 0!==t}function Hi(t,e=""){const n=ke(),r=Te(),s=t+Yt,i=r.firstCreatePass?us(r,s,1,e,null):r.data[s],o=n[s]=function(t,e){return pe(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Pr(r,n,o,i),Ie(i,!1)}function Vi(t){return $i("",t,""),Vi}function $i(t,e,n){const r=ke(),s=function(t,e,n,r){return vi(t,Ne(),n)?e+lt(n)+r:Jr}(r,t,e,n);return s!==Jr&&qs(r,Ge(),s),$i}function Bi(t,e,n,r,s){const i=ke(),o=function(t,e,n,r,s,i){const o=function(t,e,n,r){const s=vi(t,e,n);return vi(t,e+1,r)||s}(t,Se.lFrame.bindingIndex,n,s);return De(2),o?e+lt(n)+r+lt(s)+i:Jr}(i,t,e,n,r,s);return o!==Jr&&qs(i,Ge(),o),Bi}const zi=void 0;var qi=["en",[["a","p"],["AM","PM"],zi],[["AM","PM"],zi,zi],[["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"]],zi,[["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"]],zi,[["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}",zi,"{1} 'at' {0}",zi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Wi={};function Qi(t){return t in Wi||(Wi[t]=Rt.ng&&Rt.ng.common&&Rt.ng.common.locales&&Rt.ng.common.locales[t]),Wi[t]}var Gi=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const Zi="en-US";let Ki=Zi;function Yi(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Ki=t.toLowerCase().replace(/_/g,"-"))}class Ji{}class Xi{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${et(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let to=(()=>{class t{}return t.NULL=new Xi,t})();function eo(...t){}function no(t,e){return new so(ye(t,e))}const ro=function(){return no(Ae(),ke())};let so=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ro,t})();class io{}let oo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ao(),t})();const ao=function(){const t=ke(),e=_e(Ae().index,t);return function(t){return t[11]}(Xt(e)?e:t)};let lo=(()=>{class t{}return t.\u0275prov=ht({token:t,providedIn:"root",factory:()=>null}),t})();class uo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const co=new uo("12.0.5");class ho{constructor(){}supports(t){return mi(t)}create(t){return new fo(t)}}const po=(t,e)=>e;class fo{constructor(t){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=t||po}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const i=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):t=this._addAfter(new go(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new yo),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new yo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class go{constructor(t,e){this.item=t,this.trackById=e,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 mo{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class yo{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new mo,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function vo(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);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 bo(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class bo{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Co(){return new xo([new ho])}let xo=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Co()),deps:[[t,new rr,new nr]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=ht({token:t,providedIn:"root",factory:Co}),t})();function So(){return new Eo([new _o])}let Eo=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||So()),deps:[[t,new rr,new nr]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=ht({token:t,providedIn:"root",factory:So}),t})();function ko(t,e,n,r,s=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&r.push(ge(i)),te(i))for(let t=Jt;t-1&&(Cr(t,n),Fn(e,n))}this._attachedToViewContainer=!1}xr(this._lView[1],this._lView)}onDestroy(t){!function(t,e,n,r){const s=Vs(e);s.push(r)}(0,this._lView,0,t)}markForCheck(){Ds(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ls(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Me(!0);try{Ls(t,e,n)}finally{Me(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Lr(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Ao extends To{constructor(t){super(t),this._view=t}detectChanges(){Us(this._view)}checkNoChanges(){!function(t){Me(!0);try{Us(t)}finally{Me(!1)}}(this._view)}get context(){return null}}const Oo=function(t){return function(t,e,n){if(ne(t)&&!n){const n=_e(t.index,e);return new To(n,n)}return 47&t.type?new To(e[16],e):null}(Ae(),ke(),16==(16&t))};let Io=(()=>{class t{}return t.__NG_ELEMENT_ID__=Oo,t})();const Ro=[new _o],Po=new xo([new ho]),jo=new Eo(Ro),Mo=function(){return t=Ae(),e=ke(),4&t.type?new Lo(e,t,no(t,e)):null;var t,e};let No=(()=>{class t{}return t.__NG_ELEMENT_ID__=Mo,t})();const Do=No,Lo=class extends Do{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=ls(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),hs(e,n,t),new To(n)}};class Uo{}class Fo{}const Ho=function(){return function(t,e){let n;const r=e[t.index];if(te(r))n=r;else{let s;if(8&t.type)s=ge(r);else{const n=e[11];s=n.createComment("");const r=ye(t,e);kr(n,Or(n,r),s,function(t,e){return pe(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=Rs(r,e,s,t),Ns(e,n)}return new Bo(n,t,e)}(Ae(),ke())};let Vo=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ho,t})();const $o=Vo,Bo=class extends $o{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return no(this._hostTNode,this._hostLView)}get injector(){return new In(this._hostTNode,this._hostLView)}get parentInjector(){const t=_n(this._hostTNode,this._hostLView);if(cn(t)){const e=dn(t,this._hostLView),n=hn(t);return new In(e[1].data[n+8],e)}return new In(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=zo(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Jt}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const i=n||this.parentInjector;if(!s&&null==t.ngModule&&i){const t=i.get(Uo,null);t&&(s=t)}const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(te(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new Bo(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e),i=this._lContainer;!function(t,e,n,r){const s=Jt+r,i=n.length;r>0&&(n[s-1][4]=e),rcr});class Ko extends Ji{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Yr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Go(this.componentDef.inputs)}get outputs(){return Go(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const i=t.get(n,Wo,s);return i!==Wo||r===Wo?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(io,fe),o=s.get(lo,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",u=n?function(t,e,n){if(pe(t))return t.selectRootElement(e,n===kt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):wr(i.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),c=this.componentDef.onPush?576:528,h={components:[],scheduler:cr,clean:Hs,playerHandler:null,flags:0},d=_s(0,null,null,1,0,null,null,null,null,null),p=ls(null,d,h,c,null,null,i,a,o,s);let f,g;$e(p);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=us(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Ws(a,l,!0),null!==t&&(sn(s,t,l),null!==a.classes&&Hr(s,t,a.classes),null!==a.styles&&Fr(s,t,a.styles)));const u=r.createRenderer(t,e),c=ls(n,vs(e),null,e.onPush?64:16,n[20],a,r,u,null,null);return o.firstCreatePass&&(wn(mn(a,n),o,e.type),Ss(o,a),ks(a,n.length,1)),Ns(n,c),n[20]=c}(u,this.componentDef,p,i,a);if(u)if(n)sn(a,u,["ng-version",co.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r0&&Hr(a,u,e.join(" "))}if(g=ve(d,Yt),void 0!==e){const t=g.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=Ae();e.contentQueries(1,o,t.directiveStart)}const a=Ae();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Ze(a.index),Cs(n[1],a,0,a.directiveStart,a.directiveEnd,e),xs(e,o)),o}(t,this.componentDef,p,h,[li]),hs(d,p,null)}finally{Qe()}return new Yo(this.componentType,f,no(g,p),p,g)}}class Yo extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new Ao(r),this.componentType=t}get injector(){return new In(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Jo=new Map;class Xo extends Uo{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Qo(this);const n=Kt(t),r=t[Ut]||null;r&&Yi(r),this._bootstrapComponents=dr(n.bootstrap),this._r3Injector=ti(t,e,[{provide:Uo,useValue:this},{provide:to,useValue:this.componentFactoryResolver}],et(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=ai.THROW_IF_NOT_FOUND,n=wt.Default){return t===ai||t===Uo||t===Qs?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ta extends Fo{constructor(t){super(),this.moduleType=t,null!==Kt(t)&&function(t){const e=new Set;!function t(n){const r=Kt(n,!0),s=r.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${et(e)} vs ${et(e.name)}`)}(s,Jo.get(s),n),Jo.set(s,n));const i=dr(r.imports);for(const o of i)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new Xo(this.moduleType,t)}}function ea(t,e,n){const r=function(){const t=Se.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}()+t,s=ke();return s[r]===Jr?function(t,e,n){return t[e]=n}(s,r,n?e.call(n):e()):function(t,e){return t[e]}(s,r)}function na(t){return e=>{setTimeout(t,void 0,e)}}const ra=class extends x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var r,s,i;let o=t,a=e||(()=>null),l=n;if(t&&"object"==typeof t){const e=t;o=null===(r=e.next)||void 0===r?void 0:r.bind(e),a=null===(s=e.error)||void 0===s?void 0:s.bind(e),l=null===(i=e.complete)||void 0===i?void 0:i.bind(e)}this.__isAsync&&(a=na(a),o&&(o=na(o)),l&&(l=na(l)));const u=super.subscribe({next:o,error:a,complete:l});return t instanceof h&&t.add(u),u}},sa=new Mn("Application Initializer");let ia=(()=>{class t{constructor(t){this.appInits=t,this.resolve=eo,this.reject=eo,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Yn(sa,8))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const oa=new Mn("AppId"),aa={provide:oa,useFactory:function(){return`${la()}${la()}${la()}`},deps:[]};function la(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ua=new Mn("Platform Initializer"),ca=new Mn("Platform ID"),ha=new Mn("appBootstrapListener");let da=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const pa=new Mn("LocaleId"),fa=new Mn("DefaultCurrencyCode");class ga{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const ma=function(t){return new ta(t)},ya=ma,va=function(t){return Promise.resolve(ma(t))},_a=function(t){const e=ma(t),n=dr(Kt(t).declarations).reduce((t,e)=>{const n=Zt(e);return n&&t.push(new Ko(n)),t},[]);return new ga(e,n)},wa=_a,ba=function(t){return Promise.resolve(_a(t))};let Ca=(()=>{class t{constructor(){this.compileModuleSync=ya,this.compileModuleAsync=va,this.compileModuleAndAllComponentsSync=wa,this.compileModuleAndAllComponentsAsync=ba}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const xa=(()=>Promise.resolve(0))();function Sa(t){"undefined"==typeof Zone?xa.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ea{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ra(!1),this.onMicrotaskEmpty=new ra(!1),this.onStable=new ra(!1),this.onError=new ra(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let t=Rt.requestAnimationFrame,e=Rt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Rt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Aa(t),t.isCheckStableRunning=!0,Ta(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Aa(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return Oa(t),n.invokeTask(s,i,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),Ia(t)}},onInvoke:(n,r,s,i,o,a,l)=>{try{return Oa(t),n.invoke(s,i,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Ia(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Aa(t),Ta(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ea.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ea.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,t,ka,eo,eo);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const ka={};function Ta(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Aa(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Oa(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ia(t){t._nesting--,Ta(t)}class Ra{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ra,this.onMicrotaskEmpty=new ra,this.onStable=new ra,this.onError=new ra}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let Pa=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{Ea.assertNotInAngularZone(),Sa(()=>{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())Sa(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Yn(Ea))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),ja=(()=>{class t{constructor(){this._applications=new Map,Da.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Da.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();class Ma{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Na,Da=new Ma,La=!0,Ua=!1;const Fa=new Mn("AllowMultipleToken");class Ha{constructor(t,e){this.name=t,this.token=e}}function Va(t,e,n=[]){const r=`Platform: ${e}`,s=new Mn(r);return(e=[])=>{let i=$a();if(!i||i.injector.get(Fa,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Zs,useValue:"platform"});!function(t){if(Na&&!Na.destroyed&&!Na.injector.get(Fa,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Na=t.get(Ba);const e=t.get(ua,null);e&&e.forEach(t=>t())}(ai.create({providers:t,name:r}))}return function(t){const e=$a();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function $a(){return Na&&!Na.destroyed?Na:null}let Ba=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Ra:("zone.js"===t?void 0:t)||new Ea({enableLongStackTrace:(Ua=!0,La),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),r=[{provide:Ea,useValue:n}];return n.run(()=>{const e=ai.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(ur,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{i.handleError(t)}});s.onDestroy(()=>{Wa(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const r=n();return Ai(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(ia);return t.runInitializers(),t.donePromise.then(()=>(Yi(s.injector.get(pa,Zi)||Zi),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=za({},e);return function(t,e,n){const r=new ta(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(qa);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${et(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Yn(ai))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();function za(t,e){return Array.isArray(e)?e.reduce(za,t):Object.assign(Object.assign({},t),e)}let qa=(()=>{class t{constructor(t,e,n,r,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new v(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),o=new v(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Ea.assertNotInAngularZone(),Sa(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ea.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=q(i,o.pipe(t=>{return W()((e=J,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,K);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){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=t instanceof Ji?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Uo),s=n.create(ai.NULL,[],e||n.selector,r),i=s.location.nativeElement,o=s.injector.get(Pa,null),a=o&&s.injector.get(ja);return o&&a&&a.registerApplication(i,o),s.onDestroy(()=>{this.detachView(s.hostView),Wa(this.components,s),a&&a.unregisterApplication(i)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Wa(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ha,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Yn(Ea),Yn(ai),Yn(ur),Yn(to),Yn(ia))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();function Wa(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Qa{}class Ga{}const Za={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Ka=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Za}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n(255)(e).then(t=>t[r]).then(t=>Ya(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n(255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>Ya(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(Yn(Ca),Yn(Ga,8))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();function Ya(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Ja=Va(null,"core",[{provide:ca,useValue:"unknown"},{provide:Ba,deps:[ai]},{provide:ja,deps:[]},{provide:da,deps:[]}]),Xa=[{provide:qa,useClass:qa,deps:[Ea,ai,ur,to,ia]},{provide:Zo,deps:[Ea],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:ia,useClass:ia,deps:[[new nr,sa]]},{provide:Ca,useClass:Ca,deps:[]},aa,{provide:xo,useFactory:function(){return Po},deps:[]},{provide:Eo,useFactory:function(){return jo},deps:[]},{provide:pa,useFactory:function(t){return Yi(t=t||"undefined"!=typeof $localize&&$localize.locale||Zi),t},deps:[[new er(pa),new nr,new rr]]},{provide:fa,useValue:"USD"}];let tl=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Yn(qa))},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({providers:Xa}),t})(),el=null;function nl(){return el}const rl=new Mn("DocumentToken");let sl=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({factory:il,token:t,providedIn:"platform"}),t})();function il(){return Yn(al)}const ol=new Mn("Location Initialized");let al=(()=>{class t extends sl{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return nl().getBaseHref(this._doc)}onPopState(t){const e=nl().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=nl().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,e,n){ll()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){ll()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Yn(rl))},t.\u0275prov=ht({factory:ul,token:t,providedIn:"platform"}),t})();function ll(){return!!window.history.pushState}function ul(){return new al(Yn(rl))}function cl(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function hl(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function dl(t){return t&&"?"!==t[0]?"?"+t:t}let pl=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({factory:fl,token:t,providedIn:"root"}),t})();function fl(t){const e=Yn(rl).location;return new ml(Yn(sl),e&&e.origin||"")}const gl=new Mn("appBaseHref");let ml=(()=>{class t extends pl{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return cl(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+dl(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+dl(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+dl(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(Yn(sl),Yn(gl,8))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),yl=(()=>{class t extends pl{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=cl(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+dl(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+dl(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(Yn(sl),Yn(gl,8))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),vl=(()=>{class t{constructor(t,e){this._subject=new ra,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=hl(wl(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+dl(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,wl(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+dl(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+dl(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(Yn(pl),Yn(sl))},t.normalizeQueryParams=dl,t.joinWithSlash=cl,t.stripTrailingSlash=hl,t.\u0275prov=ht({factory:_l,token:t,providedIn:"root"}),t})();function _l(){return new vl(Yn(pl),Yn(sl))}function wl(t){return t.replace(/\/index.html$/,"")}var bl=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class Cl{}let xl=(()=>{class t extends Cl{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Qi(e);if(n)return n;const r=e.split("-")[0];if(n=Qi(r),n)return n;if("en"===r)return qi;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Gi.PluralCase]}(e||this.locale)(t)){case bl.Zero:return"zero";case bl.One:return"one";case bl.Two:return"two";case bl.Few:return"few";case bl.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Yn(pa))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();function Sl(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}let El=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(mi(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${et(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(wi(xo),wi(Eo),wi(so),wi(oo))},t.\u0275dir=Gt({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class kl{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Tl=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new kl(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new Al(t,n);e.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new Al(t,s);e.push(i)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(wi(Vo),wi(No),wi(xo))},t.\u0275dir=Gt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Al{constructor(t,e){this.record=t,this.view=e}}let Ol=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({providers:[{provide:Cl,useClass:xl}]}),t})();function Il(t){return"browser"===t}function Rl(t){return"server"===t}let Pl=(()=>{class t{}return t.\u0275prov=ht({token:t,providedIn:"root",factory:()=>new jl(Yn(rl),window)}),t})();class jl{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const t=r.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Ml(this.window.history)||Ml(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Ml(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Nl{}class Dl extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){var t;t=new Dl,el||(el=t)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(Ul=Ul||document.querySelector("base"),Ul?Ul.getAttribute("href"):null);return null==e?null:function(t){Ll=Ll||document.createElement("a"),Ll.setAttribute("href",t);const e=Ll.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){Ul=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Sl(document.cookie,t)}}let Ll,Ul=null;const Fl=new Mn("TRANSITION_ID"),Hl=[{provide:sa,useFactory:function(t,e,n){return()=>{n.get(ia).donePromise.then(()=>{const n=nl();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Fl,rl,ai],multi:!0}];class Vl{static init(){var t;t=new Vl,Da=t}addToWindow(t){Rt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Rt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Rt.getAllAngularRootElements=()=>t.getAllRootElements(),Rt.frameworkStabilizers||(Rt.frameworkStabilizers=[]),Rt.frameworkStabilizers.push(t=>{const e=Rt.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?nl().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let $l=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const Bl=new Mn("EventManagerPlugins");let zl=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),Ql=(()=>{class t extends Wl{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const r=this._doc.createElement("style");r.textContent=t,n.push(e.appendChild(r))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(Gl),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(Gl))}}return t.\u0275fac=function(e){return new(e||t)(Yn(rl))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();function Gl(t){nl().remove(t)}const Zl={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/"},Kl=/%COMP%/g;function Yl(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Xl=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new tu(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case kt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new eu(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case kt.ShadowDom:return new nu(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Yl(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Yn(zl),Yn(Ql),Yn(oa))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();class tu{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Zl[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=Zl[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Zl[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(pr.DashCase|pr.Important)?t.style.setProperty(e,n,r&pr.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&pr.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Jl(n)):this.eventManager.addEventListener(t,e,Jl(n))}}class eu extends tu{constructor(t,e,n,r){super(t),this.component=n;const s=Yl(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Kl,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Kl,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class nu extends tu{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=Yl(r.id,r.styles,[]);for(let i=0;i{class t extends ql{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(Yn(rl))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const su=["alt","control","meta","shift"],iu={"\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"},ou={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"},au={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let lu=(()=>{class t extends ql{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),i=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>nl().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let i="";if(su.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&ou.hasOwnProperty(e)&&(e=ou[e]))}return iu[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),su.forEach(r=>{r!=n&&(0,au[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Yn(rl))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const uu=Va(Ja,"browser",[{provide:ca,useValue:"browser"},{provide:ua,useValue:function(){Dl.makeCurrent(),Vl.init()},multi:!0},{provide:rl,useFactory:function(){return function(t){de=t}(document),document},deps:[]}]),cu=[[],{provide:Zs,useValue:"root"},{provide:ur,useFactory:function(){return new ur},deps:[]},{provide:Bl,useClass:ru,multi:!0,deps:[rl,Ea,ca]},{provide:Bl,useClass:lu,multi:!0,deps:[rl]},[],{provide:Xl,useClass:Xl,deps:[zl,Ql,oa]},{provide:io,useExisting:Xl},{provide:Wl,useExisting:Ql},{provide:Ql,useClass:Ql,deps:[rl]},{provide:Pa,useClass:Pa,deps:[Ea]},{provide:zl,useClass:zl,deps:[Bl,Ea]},{provide:Nl,useClass:$l,deps:[]},[]];let hu=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:oa,useValue:e.appId},{provide:Fl,useExisting:oa},Hl]}}}return t.\u0275fac=function(e){return new(e||t)(Yn(t,12))},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({providers:cu,imports:[Ol,tl]}),t})();function du(...t){let e=t[t.length-1];return E(e)?(t.pop(),N(t,e)):z(t)}function pu(t,e){return H(t,e,1)}function fu(t,e){return function(n){return n.lift(new gu(t,e))}}"undefined"!=typeof window&&window,String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},String.prototype.titleCase=function(){let t,e,n,r,s;for(n=this.split(" "),t=r=0,s=n.length;r{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof _u?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new _u;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof _u?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class wu{encodeKey(t){return bu(t)}encodeValue(t){return bu(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function bu(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function Cu(t){return`${t}`}class xu{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new wu,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const r=t.indexOf("="),[s,i]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(s)||[];o.push(i),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new xu({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Cu(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(Cu(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Su{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function Eu(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function ku(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Tu(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Au{constructor(t,e,n,r){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new _u),this.context||(this.context=new Su),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),u)),new Au(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:s,withCredentials:o})}}var Ou=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class Iu{constructor(t,e=200,n="OK"){this.headers=t.headers||new _u,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Ru extends Iu{constructor(t={}){super(t),this.type=Ou.ResponseHeader}clone(t={}){return new Ru({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Pu extends Iu{constructor(t={}){super(t),this.type=Ou.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Pu({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ju extends Iu{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Mu(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Nu=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof Au)r=t;else{let s,i;s=n.headers instanceof _u?n.headers:new _u(n.headers),n.params&&(i=n.params instanceof xu?n.params:new xu({fromObject:n.params})),r=new Au(t,e,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=du(r).pipe(pu(t=>this.handler.handle(t)));if(t instanceof Au||"events"===n.observe)return s;const i=s.pipe(fu(t=>t instanceof Pu));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return i.pipe(k(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return i.pipe(k(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return i.pipe(k(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return i.pipe(k(t=>t.body))}case"response":return i;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new xu).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Mu(n,e))}post(t,e,n={}){return this.request("POST",t,Mu(n,e))}put(t,e,n={}){return this.request("PUT",t,Mu(n,e))}}return t.\u0275fac=function(e){return new(e||t)(Yn(yu))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();class Du{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Lu=new Mn("HTTP_INTERCEPTORS");let Uu=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const Fu=/^\)\]\}',?\n/;let Hu=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new v(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const r=t.serializeBody();let s=null;const i=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,r=n.statusText||"OK",i=new _u(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new Ru({headers:i,status:e,statusText:r,url:o}),s},o=()=>{let{headers:r,status:s,statusText:o,url:a}=i(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let u=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(Fu,"");try{l=""!==l?JSON.parse(l):null}catch(c){l=t,u&&(u=!1,l={error:c,text:l})}}u?(e.next(new Pu({body:l,headers:r,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new ju({error:l,headers:r,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=i(),s=new ju({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(s)};let l=!1;const u=r=>{l||(e.next(i()),l=!0);let s={type:Ou.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},c=t=>{let n={type:Ou.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",u),null!==r&&n.upload&&n.upload.addEventListener("progress",c)),n.send(r),e.next({type:Ou.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",u),null!==r&&n.upload&&n.upload.removeEventListener("progress",c)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(Yn(Nl))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const Vu=new Mn("XSRF_COOKIE_NAME"),$u=new Mn("XSRF_HEADER_NAME");class Bu{}let zu=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Sl(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(Yn(rl),Yn(ca),Yn(Vu))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),qu=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(Yn(Bu),Yn($u))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),Wu=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(Lu,[]);this.chain=t.reduceRight((t,e)=>new Du(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(Yn(vu),Yn(ai))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),Qu=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:qu,useClass:Uu}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Vu,useValue:e.cookieName}:[],e.headerName?{provide:$u,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({providers:[qu,{provide:Lu,useExisting:qu,multi:!0},{provide:Bu,useClass:zu},{provide:Vu,useValue:"XSRF-TOKEN"},{provide:$u,useValue:"X-XSRF-TOKEN"}]}),t})(),Gu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({providers:[Nu,{provide:yu,useClass:Wu},Hu,{provide:vu,useExisting:Hu}],imports:[[Qu.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})(),Zu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({}),t})(),Ku=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({imports:[[Zu]]}),t})(),Yu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({imports:[Ku]}),t})();class Ju extends x{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new w;return this._value}next(t){super.next(this._value=t)}}function Xu(){}function tc(t,e,n){return function(r){return r.lift(new ec(t,e,n))}}class ec{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new nc(t,this.nextOrObserver,this.error,this.complete))}}class nc extends f{constructor(t,e,n,s){super(t),this._tapNext=Xu,this._tapError=Xu,this._tapComplete=Xu,this._tapError=n||Xu,this._tapComplete=s||Xu,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Xu,this._tapError=e.error||Xu,this._tapComplete=e.complete||Xu)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}const rc={provide:ha,useFactory:function(t,e){return()=>{if(Il(e)){const e=Array.from(t.querySelectorAll(`[class*=${sc}]`)),n=/\bflex-layout-.+?\b/g;e.forEach(t=>{t.classList.contains(`${sc}ssr`)&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(n,"")})}}},deps:[rl,ca],multi:!0},sc="flex-layout-";let ic=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({providers:[rc]}),t})();class oc{constructor(t=!1,e="all",n="",r="",s=0){this.matches=t,this.mediaQuery=e,this.mqAlias=n,this.suffix=r,this.priority=s,this.property=""}clone(){return new oc(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let ac=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(t,e,n){const r=this.stylesheet.get(t);r?r.set(e,n):this.stylesheet.set(t,new Map([[e,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,e){const n=this.stylesheet.get(t);let r="";if(n){const t=n.get(e);"number"!=typeof t&&"string"!=typeof t||(r=t+"")}return r}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({factory:function(){return new t},token:t,providedIn:"root"}),t})();const lc={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},uc=new Mn("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>lc}),cc=new Mn("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),hc=new Mn("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function dc(t,e){return t=t?t.clone():new oc,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const pc="inline",fc=["row","column","row-reverse","column-reverse"];function gc(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let mc=(()=>{class t{constructor(t,e,n,r){this.elementRef=t,this.styleBuilder=e,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new x,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const n=e.split(".").slice(1).join(".");this.setValue(t[e].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,e){const n=this.styleBuilder,r=n.shouldCache;let s=this.styleCache.get(t);s&&r||(s=n.buildStyles(t,e),r&&this.styleCache.set(t,s)),this.mru=Object.assign({},s),this.applyStyleToElement(s),n.sideEffect(t,s,e)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,e=!1){if(t){const[n,r]=this.styler.getFlowDirection(t);if(!r&&e){const e=function(t){let[e,n,r]=function(t){t=t?t.toLowerCase():"";let[e,n,r]=t.split(" ");return fc.find(t=>t===e)||(e=fc[0]),n===pc&&(n=r!==pc?r:"",r=pc),[e,gc(n),!!r]}(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,r)}(n);this.styler.applyStyleToElements(e,[t])}return n.trim()}return"row"}hasWrap(t){return this.styler.hasWrap(t)}applyStyleToElement(t,e,n=this.nativeElement){this.styler.applyStyleToElement(n,t,e)}setValue(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)}updateWithValue(t){this.currentValue!==t&&(this.addStyles(t),this.currentValue=t)}}return t.\u0275fac=function(t){!function(){throw new Error("invalid")}()},t.\u0275dir=Gt({type:t,features:[ae]}),t})();const yc=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],vc="(orientation: portrait) and (max-width: 599.98px)",_c="(orientation: landscape) and (max-width: 959.98px)",wc="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",bc="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",Cc="(orientation: portrait) and (min-width: 840px)",xc="(orientation: landscape) and (min-width: 1280px)",Sc={HANDSET:`${vc}, ${_c}`,TABLET:`${wc} , ${bc}`,WEB:`${Cc}, ${xc} `,HANDSET_PORTRAIT:`${vc}`,TABLET_PORTRAIT:`${wc} `,WEB_PORTRAIT:`${Cc}`,HANDSET_LANDSCAPE:`${_c}`,TABLET_LANDSCAPE:`${bc}`,WEB_LANDSCAPE:`${xc}`},Ec=[{alias:"handset",priority:2e3,mediaQuery:Sc.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Sc.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Sc.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Sc.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Sc.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Sc.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Sc.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Sc.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Sc.WEB_PORTRAIT,overlapping:!0}],kc=/(\.|-|_)/g;function Tc(t){let e=t.length>0?t.charAt(0):"",n=t.length>1?t.slice(1):"";return e.toUpperCase()+n}const Ac=new Mn("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=Jn(hc),e=Jn(uc),n=[].concat.apply([],(t||[]).map(t=>Array.isArray(t)?t:[t]));return function(t,e=[]){const n={};return t.forEach(t=>{n[t.alias]=t}),e.forEach(t=>{n[t.alias]?function(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}(n[t.alias],t):n[t.alias]=t}),(r=Object.keys(n).map(t=>n[t])).forEach(t=>{t.suffix||(t.suffix=t.alias.replace(kc,"|").split("|").map(Tc).join(""),t.overlapping=!!t.overlapping)}),r;var r}((e.disableDefaultBps?[]:yc).concat(e.addOrientationBps?Ec:[]),n)}});function Oc(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function Ic(t,e){return(t.priority||0)-(e.priority||0)}let Rc=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(Ic)}findByAlias(t){return t?this.findWithPredicate(t,e=>e.alias==t):null}findByQuery(t){return this.findWithPredicate(t,e=>e.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:"")}findWithPredicate(t,e){let n=this.findByMap.get(t);return n||(n=this.items.find(e)||null,this.findByMap.set(t,n)),n||null}}return t.\u0275fac=function(e){return new(e||t)(Yn(Ac))},t.\u0275prov=ht({factory:function(){return new t(Yn(Ac))},token:t,providedIn:"root"}),t})(),Pc=(()=>{class t{constructor(t,e,n){this._zone=t,this._platformId=e,this._document=n,this.source=new Ju(new oc(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((e,n)=>{e.matches&&t.push(n)}),t}isActive(t){const e=this.registry.get(t);return e?e.matches:this.registerQuery(t).some(t=>t.matches)}observe(t,e=!1){if(t&&t.length){const n=this._observable$.pipe(fu(n=>!e||t.indexOf(n.mediaQuery)>-1));return q(new v(e=>{const n=this.registerQuery(t);if(n.length){const t=n.pop();n.forEach(t=>{e.next(t)}),this.source.next(t)}e.complete()}),n)}return this._observable$}registerQuery(t){const e=Array.isArray(t)?t:[t],n=[];return function(t,e){const n=t.filter(t=>!jc[t]);if(n.length>0){const t=n.join(", ");try{const r=e.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(e.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${t} {.fx-query-test{ }}\n`)),e.head.appendChild(r),n.forEach(t=>jc[t]=r)}catch(r){console.error(r)}}}(e,this._document),e.forEach(t=>{const e=e=>{this._zone.run(()=>this.source.next(new oc(e.matches,t)))};let r=this.registry.get(t);r||(r=this.buildMQL(t),r.addListener(e),this.pendingRemoveListenerFns.push(()=>r.removeListener(e)),this.registry.set(t,r)),r.matches&&n.push(new oc(!0,t))}),n}ngOnDestroy(){let t;for(;t=this.pendingRemoveListenerFns.pop();)t()}buildMQL(t){return function(t,e){return e&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(t,Il(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(Yn(Ea),Yn(ca),Yn(rl))},t.\u0275prov=ht({factory:function(){return new t(Yn(Ea),Yn(ca),Yn(rl))},token:t,providedIn:"root"}),t})();const jc={},Mc="print",Nc={alias:Mc,mediaQuery:Mc,priority:1e3};let Dc=(()=>{class t{constructor(t,e,n){this.breakpoints=t,this.layoutConfig=e,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new Lc,this.deactivations=[]}withPrintQuery(t){return[...t,Mc]}isPrintEvent(t){return t.mediaQuery.startsWith(Mc)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const e=this.breakpoints.findByQuery(t);return(e?[...this.printBreakPoints,e]:this.printBreakPoints).sort(Oc)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),dc(t,e)}registerBeforeAfterPrintHooks(t){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const e=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new oc(!0,Mc))),t.updateStyles())},n=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())};this._document.defaultView.addEventListener("beforeprint",e),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(e),this.afterPrintEventListeners.push(n)}interceptEvents(t){return this.registerBeforeAfterPrintHooks(t),e=>{this.isPrintEvent(e)?e.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(e)),t.updateStyles()):e.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(t),t.updateStyles()):this.collectActivations(e)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(t.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(Oc))}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("beforeprint",t)),this.afterPrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("afterprint",t)))}}return t.\u0275fac=function(e){return new(e||t)(Yn(Rc),Yn(uc),Yn(rl))},t.\u0275prov=ht({factory:function(){return new t(Yn(Rc),Yn(uc),Yn(rl))},token:t,providedIn:"root"}),t})();class Lc{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(Nc),t.sort(Oc),t.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(e=>e.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith(Mc)}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}function Uc(t){for(let e in t){let n=t[e]||"";switch(e){case"display":t.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+e]=n;break;case"flex-direction":n=n||"row",t["-webkit-flex-direction"]=n,t["flex-direction"]=n;break;case"order":t.order=t["-webkit-"+e]=isNaN(+n)?"0":n}}return t}let Fc=(()=>{class t{constructor(t,e,n,r){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=n,this.layoutConfig=r}applyStyleToElement(t,e,n=null){let r={};"string"==typeof e&&(r[e]=n,e=r),r=this.layoutConfig.disableVendorPrefixes?e:Uc(e),this._applyMultiValueStyleToElement(r,t)}applyStyleToElements(t,e=[]){const n=this.layoutConfig.disableVendorPrefixes?t:Uc(t);e.forEach(t=>{this._applyMultiValueStyleToElement(n,t)})}getFlowDirection(t){const e="flex-direction";let n=this.lookupStyle(t,e);return[n||"row",this.lookupInlineStyle(t,e)||Rl(this._platformId)&&this._serverModuleLoaded?n:""]}hasWrap(t){return"wrap"===this.lookupStyle(t,"flex-wrap")}lookupAttributeValue(t,e){return t.getAttribute(e)||""}lookupInlineStyle(t,e){return Il(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,n=!1){let r="";return t&&((r=this.lookupInlineStyle(t,e))||(Il(this._platformId)?n||(r=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(t,e)))),r?r.trim():""}_applyMultiValueStyleToElement(t,e){Object.keys(t).sort().forEach(n=>{const r=t[n],s=Array.isArray(r)?r:[r];s.sort();for(let t of s)t=t?t+"":"",Il(this._platformId)||!this._serverModuleLoaded?Il(this._platformId)?e.style.setProperty(n,t):this._setServerStyle(e,n,t):this._serverStylesheet.addStyleToElement(e,n,t)})}_setServerStyle(t,e,n){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const r=this._readStyleAttribute(t);r[e]=n||"",this._writeStyleAttribute(t,r)}_getServerStyle(t,e){return this._readStyleAttribute(t)[e]||""}_readStyleAttribute(t){const e={},n=t.getAttribute("style");if(n){const t=n.split(/;+/g);for(let n=0;n0){const t=r.indexOf(":");if(-1===t)throw new Error(`Invalid CSS style: ${r}`);e[r.substr(0,t).trim()]=r.substr(t+1).trim()}}}return e}_writeStyleAttribute(t,e){let n="";for(const r in e)e[r]&&(n+=r+":"+e[r]+";");t.setAttribute("style",n)}}return t.\u0275fac=function(e){return new(e||t)(Yn(ac),Yn(cc),Yn(ca),Yn(uc))},t.\u0275prov=ht({factory:function(){return new t(Yn(ac),Yn(cc),Yn(ca),Yn(uc))},token:t,providedIn:"root"}),t})(),Hc=(()=>{class t{constructor(t,e,n){this.matchMedia=t,this.breakpoints=e,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(t){const e=this.findByQuery(t.mediaQuery);e&&((t=dc(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(Oc),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(Oc),this.updateStyles()))}init(t,e,n,r,s=[]){Vc(this.updateMap,t,e,n),Vc(this.clearMap,t,e,r),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,s)}getValue(t,e,n){const r=this.elementMap.get(t);if(r){const t=void 0!==n?r.get(n):this.getActivatedValues(r,e);if(t)return t.get(e)}}hasValue(t,e){const n=this.elementMap.get(t);if(n){const t=this.getActivatedValues(n,e);if(t)return void 0!==t.get(e)||!1}return!1}setValue(t,e,n,r){let s=this.elementMap.get(t);if(s){const i=(s.get(r)||new Map).set(e,n);s.set(r,i),this.elementMap.set(t,s)}else s=(new Map).set(r,(new Map).set(e,n)),this.elementMap.set(t,s);const i=this.getValue(t,e);void 0!==i&&this.updateElement(t,e,i)}trackValue(t,e){return this.subject.asObservable().pipe(fu(n=>n.element===t&&n.key===e))}updateStyles(){this.elementMap.forEach((t,e)=>{const n=new Set(this.elementKeyMap.get(e));let r=this.getActivatedValues(t);r&&r.forEach((t,r)=>{this.updateElement(e,r,t),n.delete(r)}),n.forEach(n=>{if(r=this.getActivatedValues(t,n),r){const t=r.get(n);this.updateElement(e,n,t)}else this.clearElement(e,n)})})}clearElement(t,e){const n=this.clearMap.get(t);if(n){const r=n.get(e);r&&(r(),this.subject.next({element:t,key:e,value:""}))}}updateElement(t,e,n){const r=this.updateMap.get(t);if(r){const s=r.get(e);s&&(s(n),this.subject.next({element:t,key:e,value:n}))}}releaseElement(t){const e=this.watcherMap.get(t);e&&(e.forEach(t=>t.unsubscribe()),this.watcherMap.delete(t));const n=this.elementMap.get(t);n&&(n.forEach((t,e)=>n.delete(e)),this.elementMap.delete(t))}triggerUpdate(t,e){const n=this.elementMap.get(t);if(n){const r=this.getActivatedValues(n,e);r&&(e?this.updateElement(t,e,r.get(e)):r.forEach((e,n)=>this.updateElement(t,n,e)))}}buildElementKeyMap(t,e){let n=this.elementKeyMap.get(t);n||(n=new Set,this.elementKeyMap.set(t,n)),n.add(e)}watchExtraTriggers(t,e,n){if(n&&n.length){let r=this.watcherMap.get(t);if(r||(r=new Map,this.watcherMap.set(t,r)),!r.get(e)){const s=q(...n).subscribe(()=>{const n=this.getValue(t,e);this.updateElement(t,e,n)});r.set(e,s)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let r=0;rt.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(tc(this.hook.interceptEvents(this)),fu(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(Yn(Pc),Yn(Rc),Yn(Dc))},t.\u0275prov=ht({factory:function(){return new t(Yn(Pc),Yn(Rc),Yn(Dc))},token:t,providedIn:"root"}),t})();function Vc(t,e,n,r){if(void 0!==r){let s=t.get(e);s||(s=new Map,t.set(e,s)),s.set(n,r)}}new Map;let $c=(()=>{class t extends mc{constructor(t,e,n,r,s,i,o){super(t,null,e,n),this.ngClassInstance=o,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new El(r,s,t,i)),this.init(),this.setValue("","")}set klass(t){this.ngClassInstance.klass=t,this.setValue(t,"")}updateWithValue(t){this.ngClassInstance.ngClass=t,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(wi(so),wi(Fc),wi(Hc),wi(xo),wi(Eo),wi(oo),wi(El,10))},t.\u0275dir=Gt({type:t,inputs:{klass:["class","klass"]},features:[ui]}),t})();const Bc=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let zc=(()=>{class t extends $c{constructor(){super(...arguments),this.inputs=Bc}}return t.\u0275fac=function(){let e;return function(n){return(e||(r=t,e=St(()=>{const t=r.prototype.constructor,e=t[Ft]||Rn(t),n=Object.prototype;let s=Object.getPrototypeOf(r.prototype).constructor;for(;s&&s!==n;){const t=s[Ft]||Rn(s);if(t&&t!==e)return t;s=Object.getPrototypeOf(s)}return t=>new t})))(n||t);var r}}(),t.\u0275dir=Gt({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[ui]}),t})();new WeakMap;let qc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({imports:[[ic]]}),t})(),Wc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({}),t})();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let Qc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({imports:[[ic,Wc]]}),t})();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let Gc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({imports:[[ic]]}),t})();new uo("12.0.0-beta.34");let Zc=(()=>{class t{constructor(t,e){Rl(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,n=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:uc,useValue:Object.assign(Object.assign({},lc),e)},{provide:hc,useValue:n,multi:!0},{provide:cc,useValue:!0}]:[{provide:uc,useValue:Object.assign(Object.assign({},lc),e)},{provide:hc,useValue:n,multi:!0}]}}}return t.\u0275fac=function(e){return new(e||t)(Yn(cc),Yn(ca))},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({imports:[[Qc,qc,Gc],Qc,qc,Gc]}),t})();class Kc extends f{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Yc extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Jc(t,e,n,r,s=new Yc(t,n,r)){if(!s.closed)return e instanceof v?e.subscribe(s):M(e)(s)}const Xc={};class th{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new eh(t,this.resultSelector))}}class eh extends Kc{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Xc),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function rh(...t){return B(1)(du(...t))}const sh=new v(t=>t.complete());function ih(t){return t?function(t){return new v(e=>t.schedule(()=>e.complete()))}(t):sh}function oh(t){return new v(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?D(n):ih()).subscribe(e)})}function ah(t,e){return"function"==typeof e?n=>n.pipe(ah((n,r)=>D(t(n,r)).pipe(k((t,s)=>e(n,t,r,s))))):e=>e.lift(new lh(t))}class lh{constructor(t){this.project=t}call(t,e){return e.subscribe(new uh(t,this.project))}}class uh extends U{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new L(this),r=this.destination;r.add(n),this.innerSubscription=F(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const ch=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function hh(t){return e=>0===t?ih():e.lift(new dh(t))}class dh{constructor(t){if(this.total=t,this.total<0)throw new ch}call(t,e){return e.subscribe(new ph(t,this.total))}}class ph extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function fh(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new gh(t,e,n))}}class gh{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new mh(t,this.accumulator,this.seed,this.hasSeed))}}class mh extends f{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function yh(t){return function(e){const n=new vh(t),r=e.lift(n);return n.caught=r}}class vh{constructor(t){this.selector=t}call(t,e){return e.subscribe(new _h(t,this.selector,this.caught))}}class _h extends U{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new L(this);this.add(r);const s=F(n,r);s!==r&&this.add(s)}}}function wh(t){return function(e){return 0===t?ih():e.lift(new bh(t))}}class bh{constructor(t){if(this.total=t,this.total<0)throw new ch}call(t,e){return e.subscribe(new Ch(t,this.total))}}class Ch extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;se.lift(new Sh(t))}class Sh{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Eh(t,this.errorFactory))}}class Eh extends f{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function kh(){return new nh}function Th(t=null){return e=>e.lift(new Ah(t))}class Ah{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Oh(t,this.defaultValue))}}class Oh extends f{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Ih(t,e){const n=arguments.length>=2;return r=>r.pipe(t?fu((e,n)=>t(e,n,r)):y,hh(1),n?Th(e):xh(()=>new nh))}class Rh{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Ph(t,this.callback))}}class Ph extends f{constructor(t,e){super(t),this.add(new h(e))}}class jh{constructor(t,e){this.id=t,this.url=e}}class Mh extends jh{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Nh extends jh{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Dh extends jh{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Lh extends jh{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Uh extends jh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fh extends jh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hh extends jh{constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Vh extends jh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $h extends jh{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bh{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class zh{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qh{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wh{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qh{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gh{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zh{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Kh="primary";class Yh{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Jh(t){return new Yh(t)}function Xh(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function td(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.lengthr[e]===t)}return t===e}function rd(t){return Array.prototype.concat.apply([],t)}function sd(t){return t.length>0?t[t.length-1]:null}function id(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function od(t){return Oi(t)?t:Ai(t)?D(Promise.resolve(t)):du(t)}const ad={exact:function t(e,n,r){if(!md(e.segments,n.segments))return!1;if(!dd(e.segments,n.segments,r))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children){if(!e.children[s])return!1;if(!t(e.children[s],n.children[s],r))return!1}return!0},subset:cd},ld={exact:function(t,e){return ed(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>nd(t[n],e[n]))},ignored:()=>!0};function ud(t,e,n){return ad[n.paths](t.root,e.root,n.matrixParams)&&ld[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function cd(t,e,n){return hd(t,e,e.segments,n)}function hd(t,e,n,r){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!!md(s,n)&&!e.hasChildren()&&!!dd(s,n,r)}if(t.segments.length===n.length){if(!md(t.segments,n))return!1;if(!dd(t.segments,n,r))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!cd(t.children[n],e.children[n],r))return!1}return!0}{const s=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!md(t.segments,s)&&!!dd(t.segments,s,r)&&!!t.children.primary&&hd(t.children.primary,e,i,r)}}function dd(t,e,n){return e.every((e,r)=>ld[n](t[r].parameters,e.parameters))}class pd{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Jh(this.queryParams)),this._queryParamMap}toString(){return _d.serialize(this)}}class fd{constructor(t,e){this.segments=t,this.children=e,this.parent=null,id(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wd(this)}}class gd{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Jh(this.parameters)),this._parameterMap}toString(){return Td(this)}}function md(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class yd{}class vd{parse(t){const e=new Pd(t);return new pd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${bd(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${xd(e)}=${xd(t)}`).join("&"):`${xd(e)}=${xd(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const _d=new vd;function wd(t){return t.segments.map(t=>Td(t)).join("/")}function bd(t,e){if(!t.hasChildren())return wd(t);if(e){const e=t.children.primary?bd(t.children.primary,!1):"",n=[];return id(t.children,(t,e)=>{e!==Kh&&n.push(`${e}:${bd(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return id(t.children,(t,r)=>{r===Kh&&(n=n.concat(e(t,r)))}),id(t.children,(t,r)=>{r!==Kh&&(n=n.concat(e(t,r)))}),n}(t,(e,n)=>n===Kh?[bd(t.children.primary,!1)]:[`${n}:${bd(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${wd(t)}/${e[0]}`:`${wd(t)}/(${e.join("//")})`}}function Cd(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xd(t){return Cd(t).replace(/%3B/gi,";")}function Sd(t){return Cd(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ed(t){return decodeURIComponent(t)}function kd(t){return Ed(t.replace(/\+/g,"%20"))}function Td(t){return`${Sd(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Sd(t)}=${Sd(e[t])}`).join("")}`;var e}const Ad=/^[^\/()?;=#]+/;function Od(t){const e=t.match(Ad);return e?e[0]:""}const Id=/^[^=?&#]+/,Rd=/^[^?&#]+/;class Pd{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new fd([],{}):new fd([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new fd(t,e)),n}parseSegment(){const t=Od(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new gd(Ed(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Od(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Od(this.remaining);t&&(n=t,this.capture(n))}t[Ed(e)]=Ed(n)}parseQueryParam(t){const e=function(t){const e=t.match(Id);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Rd);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=kd(e),s=kd(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Od(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=Kh);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new fd([],i),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class jd{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Md(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Md(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Nd(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Nd(t,this._root).map(t=>t.value)}}function Md(t,e){if(t===e.value)return e;for(const n of e.children){const e=Md(t,n);if(e)return e}return null}function Nd(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Nd(t,n);if(r.length)return r.unshift(e),r}return[]}class Dd{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ld(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Ud extends jd{constructor(t,e){super(t),this.snapshot=e,zd(this,t)}toString(){return this.snapshot.toString()}}function Fd(t,e){const n=function(t,e){const n=new $d([],{},{},"",{},Kh,e,null,t.root,-1,{});return new Bd("",new Dd(n,[]))}(t,e),r=new Ju([new gd("",{})]),s=new Ju({}),i=new Ju({}),o=new Ju({}),a=new Ju(""),l=new Hd(r,s,o,a,i,Kh,e,n.root);return l.snapshot=n.root,new Ud(new Dd(l,[]),n)}class Hd{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(k(t=>Jh(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(k(t=>Jh(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Vd(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class $d{constructor(t,e,n,r,s,i,o,a,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Jh(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Jh(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bd extends jd{constructor(t,e){super(e),this.url=t,zd(this,e)}toString(){return qd(this._root)}}function zd(t,e){e.value._routerState=t,e.children.forEach(e=>zd(t,e))}function qd(t){const e=t.children.length>0?` { ${t.children.map(qd).join(", ")} } `:"";return`${t.value}${e}`}function Wd(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ed(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ed(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;ned(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Qd(t.parent,e.parent))}function Gd(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return Gd(t,e,r);return Gd(t,e)})}(t,e,n);return new Dd(r,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return Zd(e,t),t}}const n=new Hd(new Ju((r=e.value).url),new Ju(r.params),new Ju(r.queryParams),new Ju(r.fragment),new Ju(r.data),r.outlet,r.component,r),s=e.children.map(e=>Gd(t,e));return new Dd(n,s)}var r}function Zd(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{i[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new pd(n.root===t?e:Xd(n.root,t,e),i,s)}function Xd(t,e,n){const r={};return id(t.children,(t,s)=>{r[s]=t===e?n:Xd(t,e,n)}),new fd(t.segments,r)}class tp{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Kd(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Yd);if(r&&r!==sd(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ep{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function np(t,e,n){if(t||(t=new fd([],{})),0===t.segments.length&&t.hasChildren())return rp(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return i;const e=t.segments[s],o=n[r];if(Yd(o))break;const a=`${o}`,l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!ap(a,l,e))return i;r+=2}else{if(!ap(a,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(s[r]=np(t.children[r],e,n))}),id(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new fd(t.segments,s)}}function sp(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=sp(new fd([],{}),0,t))}),e}function op(t){const e={};return id(t,(t,n)=>e[n]=`${t}`),e}function ap(t,e,n){return t==n.path&&ed(e,n.parameters)}class lp{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Wd(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Ld(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),id(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,s=Ld(t);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const r=Ld(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Gh(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Wh(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(Wd(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),up(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function up(t){Wd(t.value),t.children.forEach(up)}class cp{constructor(t,e){this.routes=t,this.module=e}}function hp(t){return"function"==typeof t}function dp(t){return t instanceof pd}const pp=Symbol("INITIAL_VALUE");function fp(){return ah(t=>function(...t){let e,n;return E(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),z(t,n).lift(new th(e))}(t.map(t=>t.pipe(hh(1),function(...t){const e=t[t.length-1];return E(e)?(t.pop(),n=>rh(t,n,e)):e=>rh(t,e)}(pp)))).pipe(fh((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==pp)return t;if(r===pp&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||dp(r))return r}return t},t)},pp),fu(t=>t!==pp),k(t=>dp(t)?t:!0===t),hh(1)))}let gp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=$t({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Ei(0,"router-outlet")},directives:function(){return[cf]},encapsulation:2}),t})();function mp(t,e=""){for(let n=0;nwp(t)===e);return n.push(...t.filter(t=>wp(t)!==e)),n}const Cp={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function xp(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Cp):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||td)(n,t,e);if(!s)return Object.assign({},Cp);const i={};id(s.posParams,(t,e)=>{i[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},i),s.consumed[s.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function Sp(t,e,n,r,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Ep(t,e,n)&&wp(n)!==Kh)}(t,n,r)){const s=new fd(e,function(t,e,n,r){const s={};s.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&wp(i)!==Kh){const n=new fd([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[wp(i)]=n}return s}(t,e,r,new fd(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ep(t,e,n))}(t,n,r)){const i=new fd(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(Ep(t,n,a)&&!s[wp(a)]){const n=new fd([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[wp(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new fd(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function Ep(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function kp(t,e,n,r){return!!(wp(t)===r||r!==Kh&&Ep(e,n,t))&&("**"===t.path||xp(e,t,n).matched)}function Tp(t,e,n){return 0===e.length&&!t.children[n]}class Ap{constructor(t){this.segmentGroup=t||null}}class Op{constructor(t){this.urlTree=t}}function Ip(t){return new v(e=>e.error(new Ap(t)))}function Rp(t){return new v(e=>e.error(new Op(t)))}function Pp(t){return new v(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class jp{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Uo)}apply(){const t=Sp(this.urlTree.root,[],[],this.config).segmentGroup,e=new fd(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Kh).pipe(k(t=>this.createUrlTree(Mp(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(yh(t=>{if(t instanceof Op)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Ap)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Kh).pipe(k(e=>this.createUrlTree(Mp(e),t.queryParams,t.fragment))).pipe(yh(t=>{if(t instanceof Ap)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new fd([],{[Kh]:t}):t;return new pd(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(k(t=>new fd([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){const r=[];for(const s of Object.keys(n.children))"primary"===s?r.unshift(s):r.push(s);return D(r).pipe(pu(r=>{const s=n.children[r],i=bp(e,r);return this.expandSegmentGroup(t,i,s,r).pipe(k(t=>({segment:t,outlet:r})))}),fh((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?fu((e,n)=>t(e,n,r)):y,wh(1),n?Th(e):xh(()=>new nh))}())}expandSegment(t,e,n,r,s,i){return D(n).pipe(pu(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(yh(t=>{if(t instanceof Ap)return du(null);throw t}))),Ih(t=>!!t),yh((t,n)=>{if(t instanceof nh||"EmptyError"===t.name){if(Tp(e,r,s))return du(new fd([],{}));throw new Ap(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return kp(r,e,s,i)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):Ip(e):Ip(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Rp(s):this.lineralizeSegments(n,s).pipe(H(n=>{const s=new fd(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:u}=xp(e,r,s);if(!o)return Ip(e);const c=this.applyRedirectCommands(a,r.redirectTo,u);return r.redirectTo.startsWith("/")?Rp(c):this.lineralizeSegments(r,c).pipe(H(r=>this.expandSegment(t,e,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?du(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(k(t=>(n._loadedConfig=t,new fd(r,{})))):du(new fd(r,{}));const{matched:i,consumedSegments:o,lastChild:a}=xp(e,n,r);if(!i)return Ip(e);const l=r.slice(a);return this.getChildConfig(t,n,r).pipe(H(t=>{const r=t.module,i=t.routes,{segmentGroup:a,slicedSegments:u}=Sp(e,o,l,i),c=new fd(a.segments,a.children);if(0===u.length&&c.hasChildren())return this.expandChildren(r,i,c).pipe(k(t=>new fd(o,t)));if(0===i.length&&0===u.length)return du(new fd(o,{}));const h=wp(n)===s;return this.expandSegment(r,c,i,u,h?Kh:s,!0).pipe(k(t=>new fd(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?du(new cp(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?du(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(H(n=>n?this.configLoader.load(t.injector,e).pipe(k(t=>(e._loadedConfig=t,t))):function(t){return new v(e=>e.error(Xh(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):du(new cp([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?du(r.map(r=>{const s=t.get(r);let i;if(function(t){return t&&hp(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!hp(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return od(i)})).pipe(fp(),tc(t=>{if(!dp(t))return;const e=Xh(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),k(t=>!0===t)):du(!0)}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return du(n);if(r.numberOfChildren>1||!r.children.primary)return Pp(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new pd(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return id(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return id(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new fd(s,i)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function Mp(t){const e={};for(const n of Object.keys(t.children)){const r=Mp(t.children[n]);(r.segments.length>0||r.hasChildren())&&(e[n]=r)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new fd(t.segments.concat(e.segments),e.children)}return t}(new fd(t.segments,e))}class Np{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Dp{constructor(t,e){this.component=t,this.route=e}}function Lp(t,e,n){const r=t._root;return Fp(r,e?e._root:null,n,[r.value])}function Up(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Fp(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=Ld(e);return t.children.forEach(t=>{!function(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!md(t.url,e.url);case"pathParamsOrQueryParamsChange":return!md(t.url,e.url)||!ed(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Qd(t,e)||!ed(t.queryParams,e.queryParams);case"paramsChange":default:return!Qd(t,e)}}(o,i,i.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Np(r)):(i.data=o.data,i._resolvedData=o._resolvedData),Fp(t,e,i.component?a?a.children:null:n,r,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Dp(a.outlet.component,o))}else o&&Hp(e,a,s),s.canActivateChecks.push(new Np(r)),Fp(t,null,i.component?a?a.children:null:n,r,s)}(t,i[t.value.outlet],n,r.concat([t.value]),s),delete i[t.value.outlet]}),id(i,(t,e)=>Hp(t,n.getContext(e),s)),s}function Hp(t,e,n){const r=Ld(t),s=t.value;id(r,(t,r)=>{Hp(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Dp(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class Vp{}function $p(t){return new v(e=>e.error(t))}class Bp{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){const t=Sp(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Kh);if(null===e)return null;const n=new $d([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Kh,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Dd(n,e),s=new Bd(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=Vd(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const s of Object.keys(e.children)){const r=e.children[s],i=bp(t,s),o=this.processSegmentGroup(i,r,s);if(null===o)return null;n.push(...o)}const r=qp(n);return r.sort((t,e)=>t.value.outlet===Kh?-1:e.value.outlet===Kh?1:t.value.outlet.localeCompare(e.value.outlet)),r}processSegment(t,e,n,r){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,r);if(null!==t)return t}return Tp(e,n,r)?[]:null}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo||!kp(t,e,n,r))return null;let s,i=[],o=[];if("**"===t.path){const r=n.length>0?sd(n).parameters:{};s=new $d(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gp(t),wp(t),t.component,t,Wp(e),Qp(e)+n.length,Zp(t))}else{const r=xp(e,t,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),s=new $d(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gp(t),wp(t),t.component,t,Wp(e),Qp(e)+i.length,Zp(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:u}=Sp(e,i,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===u.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Dd(s,t)]}if(0===a.length&&0===u.length)return[new Dd(s,[])];const c=wp(t)===r,h=this.processSegment(a,l,u,c?Kh:r);return null===h?null:[new Dd(s,h)]}}function zp(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function qp(t){const e=[],n=new Set;for(const r of t){if(!zp(r)){e.push(r);continue}const t=e.find(t=>r.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const r of n){const t=qp(r.children);e.push(new Dd(r.value,t))}return e.filter(t=>!n.has(t))}function Wp(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Qp(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Gp(t){return t.data||{}}function Zp(t){return t.resolve||{}}function Kp(t){return ah(e=>{const n=t(e);return n?D(n).pipe(k(()=>e)):du(e)})}class Yp extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Jp=new Mn("ROUTES");class Xp{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe(k(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new cp(rd(r.injector.get(Jp,void 0,wt.Self|wt.Optional)).map(_p),r)}),yh(t=>{throw e._loader$=void 0,t}));return e._loader$=new Z(n,()=>new x).pipe(W()),e._loader$}loadModuleFactory(t){return"string"==typeof t?D(this.loader.load(t)):od(t()).pipe(H(t=>t instanceof Fo?du(t):D(this.compiler.compileModuleAsync(t))))}}class tf{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ef,this.attachRef=null}}class ef{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new tf,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class nf{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function rf(t){throw t}function sf(t,e,n){return e.parse("/")}function of(t,e){return du(null)}const af={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},lf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let uf=(()=>{class t{constructor(t,e,n,r,s,i,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new x,this.errorHandler=rf,this.malformedUriErrorHandler=sf,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:of,afterPreactivation:of},this.urlHandlingStrategy=new nf,this.routeReuseStrategy=new Yp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(Uo),this.console=s.get(da);const l=s.get(Ea);this.isNgZoneEnabled=l instanceof Ea&&Ea.isInAngularZone(),this.resetConfig(a),this.currentUrlTree=new pd(new fd([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Xp(i,o,t=>this.triggerEvent(new Bh(t)),t=>this.triggerEvent(new zh(t))),this.routerState=Fd(this.currentUrlTree,this.rootComponentType),this.transitions=new Ju({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(fu(t=>0!==t.id),k(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),ah(t=>{let n=!1,r=!1;return du(t).pipe(tc(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ah(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return du(t).pipe(ah(t=>{const n=this.transitions.getValue();return e.next(new Mh(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?sh:Promise.resolve(t)}),function(t,e,n,r){return ah(s=>function(t,e,n,r,s){return new jp(t,e,n,r,s).apply()}(t,e,n,s.extractedUrl,r).pipe(k(t=>Object.assign(Object.assign({},s),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),tc(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return H(i=>function(t,e,n,r,s="emptyOnly",i="legacy"){try{const o=new Bp(t,e,n,r,s,i).recognize();return null===o?$p(new Vp):du(o)}catch(o){return $p(o)}}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(k(t=>Object.assign(Object.assign({},i),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),tc(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new Uh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new Mh(n,this.serializeUrl(r),s,i);e.next(a);const l=Fd(r,this.rootComponentType).snapshot;return du(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),sh}),Kp(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),tc(t=>{const e=new Fh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),k(t=>Object.assign(Object.assign({},t),{guards:Lp(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return H(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?du(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return D(t).pipe(H(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?du(i.map(i=>{const o=Up(i,e,s);let a;if(function(t){return t&&hp(t.canDeactivate)}(o))a=od(o.canDeactivate(t,e,n,r));else{if(!hp(o))throw new Error("Invalid CanDeactivate guard");a=od(o(t,e,n,r))}return a.pipe(Ih())})).pipe(fp()):du(!0)}(t.component,t.route,n,e,r)),Ih(t=>!0!==t,!0))}(o,r,s,t).pipe(H(n=>n&&"boolean"==typeof n?function(t,e,n,r){return D(e).pipe(pu(e=>rh(function(t,e){return null!==t&&e&&e(new qh(t)),du(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new Qh(t)),du(!0)}(e.route,r),function(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>oh(()=>du(e.guards.map(s=>{const i=Up(s,e.node,n);let o;if(function(t){return t&&hp(t.canActivateChild)}(i))o=od(i.canActivateChild(r,t));else{if(!hp(i))throw new Error("Invalid CanActivateChild guard");o=od(i(r,t))}return o.pipe(Ih())})).pipe(fp())));return du(s).pipe(fp())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?du(r.map(r=>oh(()=>{const s=Up(r,e,n);let i;if(function(t){return t&&hp(t.canActivate)}(s))i=od(s.canActivate(e,t));else{if(!hp(s))throw new Error("Invalid CanActivate guard");i=od(s(e,t))}return i.pipe(Ih())}))).pipe(fp()):du(!0)}(t,e.route,n))),Ih(t=>!0!==t,!0))}(r,i,t,e):du(n)),k(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),tc(t=>{if(dp(t.guardsResult)){const e=Xh(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new Hh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),fu(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,""),!1)),Kp(t=>{if(t.guards.canActivateChecks.length)return du(t).pipe(tc(t=>{const e=new Vh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),ah(t=>{let e=!1;return du(t).pipe((n=this.paramsInheritanceStrategy,r=this.ngModule.injector,H(t=>{const{targetSnapshot:e,guards:{canActivateChecks:s}}=t;if(!s.length)return du(t);let i=0;return D(s).pipe(pu(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return du({});const i={};return D(s).pipe(H(s=>function(t,e,n,r){const s=Up(t,e,r);return od(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,r).pipe(tc(t=>{i[s]=t}))),wh(1),H(()=>Object.keys(i).length===s.length?du(i):sh))}(t._resolve,t,e,r).pipe(k(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Vd(t,n).resolve),null)))}(t.route,e,n,r)),tc(()=>i++),wh(1),H(e=>i===s.length?du(t):sh))})),tc({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}));var n,r}),tc(t=>{const e=new $h(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Kp(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),k(t=>{const e=function(t,e,n){const r=Gd(t,e._root,n?n._root:void 0);return new Ud(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),tc(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),k(t=>(new lp(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),tc({next(){n=!0},complete(){n=!0}}),(s=()=>{n||r||this.cancelNavigationTransition(t,`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null},t=>t.lift(new Rh(s))),yh(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=dp(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Dh(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new Lh(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return sh}));var s,i,o,a}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:r}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(r,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){mp(t),this.config=t.map(_p),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:i,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let u=null;switch(i){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,r,s){if(0===n.length)return Jd(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new tp(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return id(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new tp(n,e,r)}(n);if(i.toRoot())return Jd(e.root,new fd([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new ep(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new ep(t,t===e.root,0)}const r=Kd(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new ep(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?rp(o.segmentGroup,o.index,i.commands):np(o.segmentGroup,o.index,i.commands);return Jd(o.segmentGroup,a,e,r,s)}(a,this.currentUrlTree,t,u,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=dp(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);let s=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(s=this.location.getState()),this.scheduleNavigation(r,"imperative",s,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Nh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,s){if(this.disposed)return Promise.resolve(!1);const i=this.getTransition(),o="imperative"!==e&&"imperative"===(null==i?void 0:i.source),a=(this.lastSuccessfulId===i.id||this.currentNavigation?i.rawUrl:i.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,u,c;s?(l=s.resolve,u=s.reject,c=s.promise):c=new Promise((t,e)=>{l=t,u=e});const h=++this.navigationId;let d;return d="computed"===this.canceledNavigationResolution?n&&n.\u0275routerPageId?n.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:h,targetPageId:d,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:l,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),r=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",r):this.location.go(n,"",r)}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();const n=new Dh(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(Yn(Dn),Yn(yd),Yn(ef),Yn(vl),Yn(ai),Yn(Qa),Yn(Ca),Yn(void 0))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),cf=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new ra,this.deactivateEvents=new ra,this.name=r||Kh,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new hf(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(wi(ef),wi(Vo),wi(to),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let r=0;for(;r{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new Xp(e,n,e=>t.triggerEvent(new Bh(e)),e=>t.triggerEvent(new zh(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(fu(t=>t instanceof Nh),pu(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Uo);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return D(n).pipe(B(),k(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?du(e._loadedConfig):this.loader.load(t.injector,e)).pipe(H(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(Yn(uf),Yn(Qa),Yn(Ca),Yn(ai),Yn(df))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})(),gf=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Mh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Nh&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Zh&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new Zh(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Yn(uf),Yn(Pl),Yn(void 0))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();const mf=new Mn("ROUTER_CONFIGURATION"),yf=new Mn("ROUTER_FORROOT_GUARD"),vf=[vl,{provide:yd,useClass:vd},{provide:uf,useFactory:function(t,e,n,r,s,i,o,a={},l,u){const c=new uf(null,t,e,n,r,s,i,rd(o));return l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,c),a.enableTracing&&c.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),c},deps:[yd,ef,vl,ai,Qa,Ca,Jp,mf,[class{},new nr],[class{},new nr]]},ef,{provide:Hd,useFactory:function(t){return t.routerState.root},deps:[uf]},{provide:Qa,useClass:Ka},ff,pf,class{preload(t,e){return e().pipe(yh(()=>du(null)))}},{provide:mf,useValue:{enableTracing:!1}}];function _f(){return new Ha("Router",uf)}let wf=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[vf,Sf(e),{provide:yf,useFactory:xf,deps:[[uf,new nr,new rr]]},{provide:mf,useValue:n||{}},{provide:pl,useFactory:Cf,deps:[sl,[new er(gl),new nr],mf]},{provide:gf,useFactory:bf,deps:[uf,Pl,mf]},{provide:df,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:pf},{provide:Ha,multi:!0,useFactory:_f},[Ef,{provide:sa,multi:!0,useFactory:kf,deps:[Ef]},{provide:Af,useFactory:Tf,deps:[Ef]},{provide:ha,multi:!0,useExisting:Af}]]}}static forChild(e){return{ngModule:t,providers:[Sf(e)]}}}return t.\u0275fac=function(e){return new(e||t)(Yn(yf,8),Yn(uf,8))},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({}),t})();function bf(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new gf(t,e,n)}function Cf(t,e,n={}){return n.useHash?new yl(t,e):new ml(t,e)}function xf(t){return"guarded"}function Sf(t){return[{provide:Nn,multi:!0,useValue:t},{provide:Jp,multi:!0,useValue:t}]}let Ef=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new x}appInitializer(){return this.injector.get(ol,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(uf),r=this.injector.get(mf);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?du(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(mf),n=this.injector.get(ff),r=this.injector.get(gf),s=this.injector.get(uf),i=this.injector.get(qa);t===i.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(Yn(ai))},t.\u0275prov=ht({token:t,factory:t.\u0275fac}),t})();function kf(t){return t.appInitializer.bind(t)}function Tf(t){return t.bootstrapListener.bind(t)}const Af=new Mn("Router Initializer");let Of=(()=>{class t{constructor(){this.triggered$=new Ju(""),this.triggered=this.triggered$.asObservable(),this.triggered_payload$=new Ju({}),this.triggered_payload=this.triggered_payload$.asObservable()}trigger(t,e=null){e?this.triggered_payload$.next({uid:t,data:e}):(console.log("trigger-event",t),this.triggered$.next(t))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ht({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function If(t,e){if(1&t&&(ki(0),xi(1,"div",13),Ei(2,"div",14),Si(),Ti()),2&t){const t=e.$implicit;Xr(2),Ni("background-image","url(assets/img/smily/"+t+".png)"),bi("key",t)}}function Rf(t,e){if(1&t&&(ki(0),xi(1,"div",15),Ei(2,"div",14),Si(),Ti()),2&t){const t=e.$implicit;Xr(2),Ni("background-image","url(assets/img/smily/"+t+".png)"),bi("key",t)}}function Pf(t,e){if(1&t&&(ki(0),xi(1,"div",16),xi(2,"div",10),xi(3,"div",17),Hi(4),Si(),xi(5,"div",18),Hi(6),Si(),Si(),Si(),Ti()),2&t){const t=e.$implicit;Xr(1),bi("key",t.label),Xr(3),Bi("",t.value,"",t.value_suffix,""),Xr(2),Vi(t.label)}}const jf=function(){return[18,2,4,17,25,9,20,13,3,24]},Mf=function(){return["13-4","7-1",14,8,5,15,11,12,"6-1",22]},Nf=[{path:"",redirectTo:"/home",pathMatch:"full"},{component:(()=>{class t{constructor(t){this._trigger=t,this.metrics=[{label:"characters",value:30},{label:"owners",value:37},{label:"volume",value:.47,value_suffix:" \u039e"}],this._trigger.triggered.subscribe(t=>{t.split(":")})}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(wi(Of))},t.\u0275cmp=$t({type:t,selectors:[["app-home-page"]],decls:22,vars:7,consts:[[1,"relative","flex","flex-wrap","w-full","h-full","overflow-auto","from-gray-500","to-gray-700","bg-gradient-to-t"],[1,"absolute","w-full","h-full","bg-contain","bg-center","bg-no-repeat"],[1,"absolute","top-0","w-full","h-4/6","overflow-hidden","p-8"],[1,"grid","grid-cols-5","lg:grid-cols-10","gap-4","h-1/2","p-4",2,"width","150%"],[4,"ngFor","ngForOf"],[1,"relative","w-full","h-4/6"],[1,"absolute","w-full","h-full","from-gray-500","opacity-75","to-gray-700","bg-gradient-to-t"],[1,"absolute","flex","justify-center","items-center","w-full","h-full"],[1,"text-white","mb-6"],[1,"flex","justify-center","items-center","w-full","text-4xl","lg:text-5xl","font-semibold","mb-3"],[1,"text-center"],[1,"flex","justify-center","items-center","w-full","text-3xl","font-light"],[1,"relative","grid","grid-cols-3","w-full","h-2/6","bg-white"],[1,"smily-img-container","slide-right","rounded-md"],[1,"smily-img","w-full","h-full","bg-center","bg-cover","bg-no-repeat",3,"key"],[1,"smily-img-container","slide-left","rounded-md"],[1,"flex","justify-center","items-center",3,"key"],[1,"text-4xl","lg:text-6xl","font-semibold","lg:mb-2"],[1,"lg:text-xl","font-light","uppercase"]],template:function(t,e){1&t&&(xi(0,"div",0),Ei(1,"div",1),xi(2,"div",2),xi(3,"div",3),_i(4,If,3,3,"ng-container",4),Si(),xi(5,"div",3),_i(6,Rf,3,3,"ng-container",4),Si(),Si(),xi(7,"div",5),Ei(8,"div",6),xi(9,"div",7),xi(10,"div",8),xi(11,"div",9),xi(12,"p",10),Hi(13,"Urban Smily World"),Si(),Si(),xi(14,"div",11),xi(15,"div",10),xi(16,"p"),Hi(17,"A place where you can find unique personalities"),Si(),xi(18,"p"),Hi(19,"on the block chain that all have something to smile about."),Si(),Si(),Si(),Si(),Si(),Si(),xi(20,"div",12),_i(21,Pf,7,4,"ng-container",4),Si(),Si()),2&t&&(Xr(1),Ni("background-image","url(assets/img/urban-smily-world.png)"),Xr(3),bi("ngForOf",ea(5,jf)),Xr(2),bi("ngForOf",ea(6,Mf)),Xr(15),bi("ngForOf",e.metrics))},directives:[Tl],styles:["@keyframes slide-left{0%{transform:translate(-200%)}to{transform:translate(0)}}@keyframes slide-right{0%{transform:translate(0)}to{transform:translate(-200%)}}.slide-left[_ngcontent-%COMP%]{animation:slide-left 15s infinite alternate}.slide-right[_ngcontent-%COMP%]{animation:slide-right 15s infinite alternate}.smily-img-container[_ngcontent-%COMP%]{position:relative}.smily-img-container[_ngcontent-%COMP%] .smily-img[_ngcontent-%COMP%]{display:inline-block;position:absolute}"]}),t})(),path:"home"}];let Df=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({imports:[[wf.forRoot(Nf)],wf]}),t})();const Lf=["*"];let Uf=(()=>{class t{constructor(t,e){this._eref=t,this._trigger=e,this.uid="",this.disabled=!1}ngOnInit(){}onDocClick(t){this._eref.nativeElement.contains(t.target)&&!this.disabled&&this._trigger.trigger(this.uid)}}return t.\u0275fac=function(e){return new(e||t)(wi(so),wi(Of))},t.\u0275cmp=$t({type:t,selectors:[["app-trigger"]],hostBindings:function(t,e){1&t&&Ii("click",function(t){return e.onDocClick(t)},!1,hr)},inputs:{uid:"uid",disabled:"disabled"},ngContentSelectors:Lf,decls:1,vars:0,template:function(t,e){1&t&&(function(t){const e=ke()[16][6];if(!e.projection){const t=e.projection=Hn(1,null),n=t.slice();let r=e.child;for(;null!==r;){const e=0;null!==e&&(n[e]?n[e].projectionNext=r:t[e]=r,n[e]=r),r=r.next}}}(),function(t,e=0,n){const r=ke(),s=Te(),i=us(s,Yt+t,16,null,n||null);null===i.projection&&(i.projection=e),Pe(),64!=(64&i.flags)&&function(t,e,n){Ur(e[11],0,e,n,Er(t,n,e),Ir(n.parent||e[6],n,e))}(s,r,i)}(0))},styles:[""]}),t})(),Ff=(()=>{class t{constructor(t,e){this.router=t,this._trigger=e,this.title="app",this.is_admin=!1,this.imporsonate_id=localStorage.getItem("imporsonate-id"),this.members=JSON.parse(localStorage.getItem("members")||"[]"),this._trigger.triggered.subscribe(t=>{console.log("app event",t);const e=t.split(":"),n=e[1];switch(e[0]){case"url":window.location.assign(`https://${n}`);break;case"navigate":this.router.navigate(n.split(":"))}})}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(wi(uf),wi(Of))},t.\u0275cmp=$t({type:t,selectors:[["app-root"]],decls:21,vars:23,consts:[[1,"flex","flex-wrap","w-screen","h-screen","font-sans",3,"ngClass.lt-md"],[1,"flex","w-full","bg-gray-800","text-white"],[1,"flex","items-center","w-2/3","h-full"],[1,"flex","items-center","w-full","h-full",3,"uid"],[1,"flex","justify-center","items-center"],[1,"w-20","h-full","bg-contain","bg-no-repeat","bg-center","cursor-pointer","hover:opacity-50"],[1,"w-full","text-md","uppercase","whitespace-nowrap"],[1,"flex","justify-end","items-center","w-2/3"],[1,"grid","grid-cols-3","gap-2","px-2","w-full","lg:w-1/6","h-full"],[1,"flex","items-center","cursor-pointer","hover:opacity-50",3,"uid"],[1,"flex","justify-center","items-center","w-full"],[1,"w-full","h-full","bg-contain","bg-no-repeat","bg-center"],[1,"w-full","overflow-auto",2,"height","calc(100% - 70px)"]],template:function(t,e){1&t&&(xi(0,"div",0),xi(1,"div",1),xi(2,"div",2),xi(3,"app-trigger",3),xi(4,"div",4),Ei(5,"div",5),xi(6,"div",6),Hi(7,"Urban Smily World"),Si(),Si(),Si(),Si(),xi(8,"div",7),xi(9,"div",8),xi(10,"app-trigger",9),xi(11,"div",10),Ei(12,"div",11),Si(),Si(),xi(13,"app-trigger",9),xi(14,"div",10),Ei(15,"div",11),Si(),Si(),xi(16,"app-trigger",9),xi(17,"div",10),Ei(18,"div",11),Si(),Si(),Si(),Si(),Si(),xi(19,"div",12),Ei(20,"router-outlet"),Si(),Si()),2&t&&(bi("ngClass.lt-md","fonts-mobile"),Xr(1),Ni("height",70,"px"),Xr(2),bi("uid","navigate:home"),Xr(1),Ni("height",30,"px"),Xr(1),Ni("background-image","url(assets/img/icons/logo.svg)"),Xr(5),bi("uid","url:bit.ly/3n5Bgsf"),Xr(1),Ni("height",30,"px"),Xr(1),Ni("background-image","url(assets/img/icons/nftblend.svg)"),Xr(1),bi("uid","url:bit.ly/3dVvfZP"),Xr(1),Ni("height",30,"px"),Xr(1),Ni("background-image","url(assets/img/icons/opensea.svg)"),Xr(1),bi("uid","url:bit.ly/2UVQ8NM"),Xr(1),Ni("height",30,"px"),Xr(1),Ni("background-image","url(assets/img/icons/twitter.svg)"))},directives:[zc,Uf,cf],styles:[".mobile-page[_ngcontent-%COMP%]{height:calc(100% - 45px)}.desktop-page[_ngcontent-%COMP%]{height:calc(100% - 115px)}"]}),t})();function Hf(t){return(Hf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $f(t){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,s=void 0!==r&&r,i=Object.keys(e).reduce(function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t},{});"function"!=typeof ig.hooks.addPack||s?ig.styles[t]=$f({},ig.styles[t]||{},i):ig.hooks.addPack(t,i),"fas"===t&&Og("fa",e)}var Ig=ig.styles,Rg=ig.shims,Pg=function(){var t=function(t){return Ag(Ig,function(e,n,r){return e[r]=Ag(n,t,{}),e},{})};t(function(t,e,n){return e[3]&&(t[e[3]]=n),t}),t(function(t,e,n){var r=e[2];return t[n]=n,r.forEach(function(e){t[e]=n}),t});var e="far"in Ig;Ag(Rg,function(t,n){var r=n[1];return"far"!==r||e||(r="fas"),t[n[0]]={prefix:r,iconName:n[2]},t},{})};function jg(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}Pg(),(jg.prototype=Object.create(Error.prototype)).constructor=jg;var Mg={fill:"currentColor"},Ng={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Dg=($f({},Mg,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),$f({},Ng,{attributeName:"opacity"}));$f({},Mg,{cx:"256",cy:"364",r:"28"}),$f({},Ng,{attributeName:"r",values:"28;14;28;28;14;28;"}),$f({},Dg,{values:"1;0;1;1;0;1;"}),$f({},Mg,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),$f({},Dg,{values:"1;0;0;0;0;1;"}),$f({},Mg,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),$f({},Dg,{values:"0;0;1;1;0;0;"}),new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e;return(e=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=dt({}),t})(),Ug=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t,bootstrap:[Ff]}),t.\u0275inj=dt({providers:[],imports:[[hu,Gu,Yu,Df,Lg,Zc]]}),t})();(function(){if(Ua)throw new Error("Cannot enable prod mode after platform setup.");La=!1})(),uu().bootstrapModule(Ug).catch(t=>console.error(t))}},t=>{"use strict";t(t.s=927)}]);