PageSourceSearch

https://www.cspire.com/my_account/personal/vendor-es2015.139fedc1b72e4e00419b.js

js cspire.com collected 2026-09-24 08:48:57 UTC 419,764 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{"0EUg":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("bHdf");function s(){return Object(r.a)(1)}},"1G5W":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("l7GE"),s=n("ZUHj");function i(t){return e=>e.lift(new o(t))}class o{constructor(t){this.notifier=t}call(t,e){const n=new u(t),r=Object(s.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class u extends r.a{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,r,s){this.seenValue=!0,this.complete()}notifyComplete(){}}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("XNiG"),s=n("9ppp");class i extends r.a{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 s.a;return this._value}next(t){super.next(this._value=t)}}},"2fFW":function(t,e,n){"use strict";n.d(e,"a",function(){return s});let r=!1;const s={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 r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},"2qMH":function(t,e,n){"use strict";var r=n("Q1FS"),s=n("zB/H");e.scheduleArray=function(t,e){return new r.Observable(function(n){var r=new s.Subscription,i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},"3N8a":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("quSY");class s extends r.a{constructor(t,e){super()}schedule(t,e=0){return this}}class i extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,r=!1;try{this.work(t)}catch(s){r=!0,n=!!s&&s||new Error(s)}if(r)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"4I5i":function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("ZUHj"),s=n("l7GE"),i=n("51Dv"),o=n("lJxs"),u=n("Cfvw");function a(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(a((n,r)=>Object(u.a)(t(n,r)).pipe(Object(o.a)((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new c(t,n)))}class c{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends s.a{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.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)}_innerSub(t,e,n){const s=new i.a(this,e,n),o=this.destination;o.add(s);const u=Object(r.a)(this,t,void 0,void 0,s);u!==s&&o.add(u)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,r,s){this.destination.next(e)}notifyComplete(t){const e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("7o/Q");class s extends r.a{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()}}},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("n6bG"),s=n("gRHU"),i=n("quSY"),o=n("2QA8"),u=n("2fFW"),a=n("NJ4a");class c extends i.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.a;break;case 1:if(!t){this.destination=s.a;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const r=new c(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 l extends c{constructor(t,e,n,i){let o;super(),this._parentSubscriber=t;let u=this;
vendor: 65,021 bytes, line 1
1Object(r.a)(e)?o=e:e&&(o=e.next,n=e.error,i=e.complete,e!==s.a&&(u=Object.create(e),Object(r.a)(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=o,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;u.a.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}=u.a;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):Object(a.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(a.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);u.a.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(),u.a.useDeprecatedSynchronousErrorHandling)throw n;Object(a.a)(n)}}__tryOrSetError(t,e,n){if(!u.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return u.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(Object(a.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"8Y7J":function(t,e,n){"use strict";n.d(e,"a",function(){return un}),n.d(e,"b",function(){return vl}),n.d(e,"c",function(){return pl}),n.d(e,"d",function(){return dl}),n.d(e,"e",function(){return fl}),n.d(e,"f",function(){return dh}),n.d(e,"g",function(){return nh}),n.d(e,"h",function(){return Ka}),n.d(e,"i",function(){return kl}),n.d(e,"j",function(){return _a}),n.d(e,"k",function(){return El}),n.d(e,"l",function(){return Ca}),n.d(e,"m",function(){return Cr}),n.d(e,"n",function(){return Uc}),n.d(e,"o",function(){return Si}),n.d(e,"p",function(){return yn}),n.d(e,"q",function(){return on}),n.d(e,"r",function(){return Bi}),n.d(e,"s",function(){return Ua}),n.d(e,"t",function(){return $a}),n.d(e,"u",function(){return wl}),n.d(e,"v",function(){return sc}),n.d(e,"w",function(){return sh}),n.d(e,"x",function(){return rc}),n.d(e,"y",function(){return Xl}),n.d(e,"z",function(){return Il}),n.d(e,"A",function(){return bn}),n.d(e,"B",function(){return bl}),n.d(e,"C",function(){return yl}),n.d(e,"D",function(){return Aa}),n.d(e,"E",function(){return Da}),n.d(e,"F",function(){return Fr}),n.d(e,"G",function(){return Oa}),n.d(e,"H",function(){return yr}),n.d(e,"I",function(){return _n}),n.d(e,"J",function(){return uh}),n.d(e,"K",function(){return Ja}),n.d(e,"L",function(){return Hl}),n.d(e,"M",function(){return an}),n.d(e,"N",function(){return Ta}),n.d(e,"O",function(){return oc}),n.d(e,"P",function(){return j}),n.d(e,"Q",function(){return Zl}),n.d(e,"R",function(){return Ql}),n.d(e,"S",function(){return f}),n.d(e,"T",function(){return Wl}),n.d(e,"U",function(){return lh}),n.d(e,"V",function(){return Vl}),n.d(e,"W",function(){return _l}),n.d(e,"X",function(){return Di}),n.d(e,"Y",function(){return yu}),n.d(e,"Z",function(){return mr}),n.d(e,"ab",function(){return Xn}),n.d(e,"bb",function(){return Bn}),n.d(e,"cb",function(){return Un}),n.d(e,"db",function(){return zn}),n.d(e,"eb",function(){return Vn}),n.d(e,"fb",function(){return $n}),n.d(e,"gb",function(){return qn}),n.d(e,"hb",function(){return fu}),n.d(e,"ib",function(){return ch}),n.d(e,"jb",function(){return pu}),n.d(e,"kb",function(){return mu}),n.d(e,"lb",function(){return Hn}),n.d(e,"mb",function(){return L}),n.d(e,"nb",function(){return Qi}),n.d(e,"ob",function(){return wo}),n.d(e,"pb",function(){return _o}),n.d(e,"qb",function(){return du}),n.d(e,"rb",function(){return Ct}),n.d(e,"sb",function(){return l}),n.d(e,"tb",function(){return Mn}),n.d(e,"ub",function(){return Ui}),n.d(e,"vb",function(){return bt}),n.d(e,"wb",function(){return ya}),n.d(e,"xb",function(){return Ds}),n.d(e,"yb",function(){return ro}),n.d(e,"zb",function(){return Uo}),n.d(e,"Ab",function(){return ou}),n.d(e,"Bb",function(){return uu}),n.d(e,"Cb",function(){return Ho}),n.d(e,"Db",function(){return rl}),n.d(e,"Eb",function(){return W}),n.d(e,"Fb",function(){return nt}),n.d(e,"Gb",function(){return y}),n.d(e,"Hb",function(){return b}),n.d(e,"Ib",function(){return J}),n.d(e,"Jb",function(){return rt}),n.d(e,"Kb",function(){return co}),n.d(e,"Lb",function(){return mo}),n.d(e,"Mb",function(){return bo}),n.d(e,"Nb",function(){return yo}),n.d(e,"Ob",function(){return go}),n.d(e,"Pb",function(){return po}),n.d(e,"Qb",function(){return fo}),n.d(e,"Rb",function(){return vo}),n.d(e,"Sb",function(){return nn}),n.d(e,"Tb",function(){return au}),n.d(e,"Ub",function(){return ua}),n.d(e,"Vb",function(){return ca}),n.d(e,"Wb",function(){return aa}),n.d(e,"Xb",function(){return Tn}),n.d(e,"Yb",function(){return rn}),n.d(e,"Zb",function(){return hl}),n.d(e,"ac",function(){return Eo}),n.d(e,"bc",function(){return ol}),n.d(e,"cc",function(){return _e}),n.d(e,"dc",function(){return ve}),n.d(e,"ec",function(){return Do}),n.d(e,"fc",function(){return Pc}),n.d(e,"gc",function(){return Rc}),n.d(e,"hc",function(){return Nc}),n.d(e,"ic",function(){return Lc}),n.d(e,"jc",function(){return Mc}),n.d(e,"kc",function(){return Oo}),n.d(e,"lc",function(){return xo}),n.d(e,"mc",function(){return lo}),n.d(e,"nc",function(){return To}),n.d(e,"oc",function(){return ko}),n.d(e,"pc",function(){return Fo}),n.d(e,"qc",function(){return wc}),n.d(e,"rc",function(){return Ec}),n.d(e,"sc",function(){return Sc}),n.d(e,"tc",function(){return Cc}),n.d(e,"uc",function(){return Dc}),n.d(e,"vc",function(){return Ac}),n.d(e,"wc",function(){return xc}),n.d(e,"xc",function(){return Oc}),n.d(e,"yc",function(){return Jc}),n.d(e,"zc",function(){return ao}),n.d(e,"Ac",function(){return Tr}),n.d(e,"Bc",function(){return Or}),n.d(e,"Cc",function(){return qt}),n.d(e,"Dc",function(){return br}),n.d(e,"Ec",function(){return vr}),n.d(e,"Fc",function(){return Q}),n.d(e,"Gc",function(){return tt}),n.d(e,"Hc",function(){return sl}),n.d(e,"Ic",function(){return tl}),n.d(e,"Jc",function(){return Bo}),n.d(e,"Kc",function(){return uo}),n.d(e,"Lc",function(){return ll}),n.d(e,"Mc",function(){return Jo}),n.d(e,"Nc",function(){return tu}),n.d(e,"Oc",function(){return eu}),n.d(e,"Pc",function(){return nu}),n.d(e,"Qc",function(){return ru}),n.d(e,"Rc",function(){return su}),n.d(e,"Sc",function(){return iu}),n.d(e,"Tc",function(){return el});var r=n("XNiG"),s=n("quSY"),i=n("HDdC"),o=n("VRyK"),u=n("w1tV");function a(t){for(let e in t)if(t[e]===a)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function l(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(l).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 h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=a({__forward_ref__:a});function f(t){return t.__forward_ref__=f,t.toString=function(){return l(this())},t}function p(t){return m(t)?t():t}function m(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===f}function g(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function b(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function v(t){return _(t,E)||_(t,C)}function _(t,e){return t.hasOwnProperty(e)?t[e]:null}function w(t){return t&&(t.hasOwnProperty(S)||t.hasOwnProperty(D))?t[S]:null}const E=a({\u0275prov:a}),S=a({\u0275inj:a}),C=a({ngInjectableDef:a}),D=a({ngInjectorDef:a});var A=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 x;function O(t){const e=x;return x=t,e}function T(t,e,n){const r=v(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&A.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${l(t)}]`)}function k(t){return{toString:t}.toString()}var F=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),j=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const I="undefined"!=typeof globalThis&&globalThis,P="undefined"!=typeof window&&window,R="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,N="undefined"!=typeof global&&global,L=I||N||P||R,M={},B=[],H=a({\u0275cmp:a}),U=a({\u0275dir:a}),$=a({\u0275pipe:a}),V=a({\u0275mod:a}),q=a({\u0275loc:a}),z=a({\u0275fac:a}),G=a({__NG_ELEMENT_ID__:a});let K=0;function W(t){return k(()=>{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===F.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||B,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||j.Emulated,id:"c",styles:t.styles||B,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,i=t.pipes;return n.id+=K++,n.inputs=et(t.inputs,e),n.outputs=et(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Y):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(X):null,n})}function Q(t,e,n){const r=t.\u0275cmp;r.directiveDefs=()=>e.map(Y),r.pipeDefs=()=>n.map(X)}function Y(t){const e=st(t)||function(t){return t[U]||null}(t);return e}function X(t){const e=function(t){return t[$]||null}(t);return e}const Z={};function J(t){const e={type:t.type,bootstrap:t.bootstrap||B,declarations:t.declarations||B,imports:t.imports||B,exports:t.exports||B,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&k(()=>{Z[t.id]=t.type}),e}function tt(t,e){return k(()=>{const n=it(t,!0);n.declarations=e.declarations||B,n.imports=e.imports||B,n.exports=e.exports||B})}function et(t,e){if(null==t)return M;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 nt=W;function rt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function st(t){return t[H]||null}function it(t,e){const n=t[V]||null;if(!n&&!0===e)throw new Error(`Type ${l(t)} does not have '\u0275mod' property.`);return n}function ot(t){return Array.isArray(t)&&"object"==typeof t[1]}function ut(t){return Array.isArray(t)&&!0===t[1]}function at(t){return 0!=(8&t.flags)}function ct(t){return 2==(2&t.flags)}function lt(t){return 1==(1&t.flags)}function ht(t){return null!==t.template}function dt(t,e){return t.hasOwnProperty(z)?t[z]:null}class ft extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function pt(t){return"string"==typeof t?t:null==t?"":String(t)}function mt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():pt(t)}function gt(t,e){const n=e?` in ${e}`:"";throw new ft("201",`No provider for ${mt(t)} found${n}`)}class yt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function bt(){return vt}function vt(t){return t.type.prototype.ngOnChanges&&(t.setInput=wt),_t}function _t(){const t=Et(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===M)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function wt(t,e,n,r){const s=Et(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:M,current:null}),i=s.current||(s.current={}),o=s.previous,u=this.declaredInputs[n],a=o[u];i[u]=new yt(a&&a.currentValue,e,o===M),t[r]=e}function Et(t){return t.__ngSimpleChanges__||null}let St;function Ct(t){St=t}function Dt(){return void 0!==St?St:"undefined"!=typeof document?document:void 0}function At(t){return!!t.listen}bt.ngInherit=!0;const xt={createRenderer:(t,e)=>Dt()};function Ot(t){for(;Array.isArray(t);)t=t[0];return t}function Tt(t,e){return Ot(e[t])}function kt(t,e){return Ot(e[t.index])}function Ft(t,e){return t.data[e]}function jt(t,e){return t[e]}function It(t,e){const n=e[t];return ot(n)?n:n[0]}function Pt(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Rt(t){return 4==(4&t[2])}function Nt(t){return 128==(128&t[2])}function Lt(t,e){return null==e?null:t[e]}function Mt(t){t[18]=0}function Bt(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 Ht={lFrame:de(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ut(){return Ht.bindingsEnabled}function $t(){return Ht.lFrame.lView}function Vt(){return Ht.lFrame.tView}function qt(t){Ht.lFrame.contextLView=t}function zt(){let t=Gt();for(;null!==t&&64===t.type;)t=t.parent;return t}function Gt(){return Ht.lFrame.currentTNode}function Kt(){const t=Ht.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Wt(t,e){const n=Ht.lFrame;n.currentTNode=t,n.isParent=e}function Qt(){return Ht.lFrame.isParent}function Yt(){Ht.lFrame.isParent=!1}function Xt(){return Ht.isInCheckNoChangesMode}function Zt(t){Ht.isInCheckNoChangesMode=t}function Jt(){const t=Ht.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function te(){return Ht.lFrame.bindingIndex}function ee(){return Ht.lFrame.bindingIndex++}function ne(t){const e=Ht.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function re(t){Ht.lFrame.inI18n=t}function se(t,e){const n=Ht.lFrame;n.bindingIndex=n.bindingRootIndex=t,ie(e)}function ie(t){Ht.lFrame.currentDirectiveIndex=t}function oe(){return Ht.lFrame.currentQueryIndex}function ue(t){Ht.lFrame.currentQueryIndex=t}function ae(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ce(t,e,n){if(n&A.SkipSelf){let r=e,s=t;for(;r=r.parent,!(null!==r||n&A.Host||(r=ae(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;e=r,t=s}const r=Ht.lFrame=he();return r.currentTNode=e,r.lView=t,!0}function le(t){const e=he(),n=t[1];Ht.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function he(){const t=Ht.lFrame,e=null===t?null:t.child;return null===e?de(t):e}function de(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 fe(){const t=Ht.lFrame;return Ht.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const pe=fe;function me(){const t=fe();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 Ht.lFrame.selectedIndex}function ye(t){Ht.lFrame.selectedIndex=t}function be(){const t=Ht.lFrame;return Ft(t.tView,t.selectedIndex)}function ve(){Ht.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function _e(){Ht.lFrame.currentNamespace=null}function we(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:i,ngAfterViewChecked:o,ngOnDestroy:u}=e;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),s&&((t.contentHooks||(t.contentHooks=[])).push(n,s),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,s)),i&&(t.viewHooks||(t.viewHooks=[])).push(-n,i),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=u&&(t.destroyHooks||(t.destroyHooks=[])).push(n,u)}}function Ee(t,e,n){De(t,e,3,n)}function Se(t,e,n,r){(3&t[2])===n&&De(t,e,n,r)}function Ce(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function De(t,e,n,r){const s=null!=r?r:-1,i=e.length-1;let o=0;for(let u=void 0!==r?65535&t[18]:0;u<i;u++)if("number"==typeof e[u+1]){if(o=e[u],null!=r&&o>=r)break}else e[u]<0&&(t[18]+=65536),(o<s||-1==s)&&(Ae(t,n,e,u),t[18]=(4294901760&t[18])+u+2),u++}function Ae(t,e,n,r){const s=n[r]<0,i=n[r+1],o=t[s?-n[r]:n[r]];s?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,i.call(o)):i.call(o)}class xe{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Oe(t,e,n){const r=At(t);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],u=n[s++],a=n[s++];r?t.setAttribute(e,u,a,o):e.setAttributeNS(o,u,a)}else{const o=i,u=n[++s];ke(o)?r&&t.setProperty(e,o,u):r?t.setAttribute(e,o,u):e.setAttribute(o,u),s++}}return s}function Te(t){return 3===t||4===t||6===t}function ke(t){return 64===t.charCodeAt(0)}function Fe(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const s=e[r];"number"==typeof s?n=s:0===n||je(t,n,s,null,-1===n||2===n?e[++r]:null)}}return t}function je(t,e,n,r,s){let i=0,o=t.length;if(-1===e)o=-1;else for(;i<t.length;){const n=t[i++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=i-1;break}}}for(;i<t.length;){const e=t[i];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==s&&(t[i+1]=s));if(r===t[i+1])return void(t[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(t.splice(o,0,e),i=o+1),t.splice(i++,0,n),null!==r&&t.splice(i++,0,r),null!==s&&t.splice(i++,0,s)}function Ie(t){return-1!==t}function Pe(t){return 32767&t}function Re(t,e){let n=t>>16,r=e;for(;n>0;)r=r[15],n--;return r}let Ne=!0;function Le(t){const e=Ne;return Ne=t,e}let Me=0;function Be(t,e){const n=Ue(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,He(r.data,t),He(e,null),He(r.blueprint,null));const s=$e(t,e),i=t.injectorIndex;if(Ie(s)){const t=Pe(s),n=Re(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 He(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ue(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function $e(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-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ve(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(G)&&(r=n[G]),null==r&&(r=n[G]=Me++);const s=255&r,i=1<<s,o=64&s,u=32&s,a=e.data;128&s?o?u?a[t+7]|=i:a[t+6]|=i:u?a[t+5]|=i:a[t+4]|=i:o?u?a[t+3]|=i:a[t+2]|=i:u?a[t+1]|=i:a[t]|=i}(t,e,n)}function qe(t,e,n){if(n&A.Optional)return t;gt(e,"NodeInjector")}function ze(t,e,n,r){if(n&A.Optional&&void 0===r&&(r=null),0==(n&(A.Self|A.Host))){const s=t[9],i=O(void 0);try{return s?s.get(e,r,n&A.Optional):T(e,r,n&A.Optional)}finally{O(i)}}return qe(r,e,n)}function Ge(t,e,n,r=A.Default,s){if(null!==t){const i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(G)?t[G]:void 0;return"number"==typeof e?e>=0?255&e:We:e}(n);if("function"==typeof i){if(!ce(e,t,r))return r&A.Host?qe(s,n,r):ze(e,n,r,s);try{const t=i();if(null!=t||r&A.Optional)return t;gt(n)}finally{pe()}}else if("number"==typeof i){let s=null,o=Ue(t,e),u=-1,a=r&A.Host?e[16][6]:null;for((-1===o||r&A.SkipSelf)&&(u=-1===o?$e(t,e):e[o+8],-1!==u&&Je(r,!1)?(s=e[1],o=Pe(u),e=Re(u,e)):o=-1);-1!==o;){const t=e[1];if(Ze(i,o,t.data)){const t=Qe(o,e,n,s,r,a);if(t!==Ke)return t}u=e[o+8],-1!==u&&Je(r,e[1].data[o+8]===a)&&Ze(i,o,e)?(s=t,o=Pe(u),e=Re(u,e)):o=-1}}}return ze(e,n,r,s)}const Ke={};function We(){return new tn(zt(),$t())}function Qe(t,e,n,r,s,i){const o=e[1],u=o.data[t+8],a=Ye(u,o,n,null==r?ct(u)&&Ne:r!=o&&0!=(3&u.type),s&A.Host&&i===u);return null!==a?Xe(e,o,a,u):Ke}function Ye(t,e,n,r,s){const i=t.providerIndexes,o=e.data,u=1048575&i,a=t.directiveStart,c=i>>20,l=s?u+c:t.directiveEnd;for(let h=r?u:u+c;h<l;h++){const t=o[h];if(h<a&&n===t||h>=a&&t.type===n)return h}if(s){const t=o[a];if(t&&ht(t)&&t.type===n)return a}return null}function Xe(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof xe){const o=s;o.resolving&&function(t,e){throw new ft("200",`Circular dependency in DI detected for ${t}`)}(mt(i[n]));const u=Le(o.canSeeViewProviders);o.resolving=!0;const a=o.injectImpl?O(o.injectImpl):null;ce(t,r,A.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=vt(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!==a&&O(a),Le(u),o.resolving=!1,pe()}}return s}function Ze(t,e,n){const r=64&t,s=32&t;let i;return i=128&t?r?s?n[e+7]:n[e+6]:s?n[e+5]:n[e+4]:r?s?n[e+3]:n[e+2]:s?n[e+1]:n[e],!!(i&1<<t)}function Je(t,e){return!(t&A.Self||t&A.Host&&e)}class tn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Ge(this._tNode,this._lView,t,void 0,e)}}function en(t){const e=t;if(m(t))return()=>{const t=en(p(e));return t?t():null};let n=dt(e);if(null===n){const t=w(e);n=t&&t.factory}return n||null}function nn(t){return k(()=>{const e=t.prototype.constructor,n=e[z]||en(e),r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;){const t=s[z]||en(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function rn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const s=n[r];if(Te(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(s===e)return n[r+1];r+=2}}}return null}(zt(),t)}function sn(t,e,n){return k(()=>{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("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;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 on{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=y({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const un=new on("AnalyzeForEntryComponents"),an=Function;function cn(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let r=t[n];Array.isArray(r)?(e===t&&(e=t.slice(0,n)),cn(r,e)):e!==t&&e.push(r)}return e}function ln(t,e){t.forEach(t=>Array.isArray(t)?ln(t,e):e(t))}function hn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function dn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function fn(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function pn(t,e,n){let r=gn(t,e);return 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 mn(t,e){const n=gn(t,e);if(n>=0)return t[1|n]}function gn(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 yn=sn("Inject",t=>({token:t})),bn=sn("Optional"),vn=sn("Self"),_n=sn("SkipSelf"),wn=sn("Host"),En={},Sn=/\n/gm,Cn=a({provide:String,useValue:a});let Dn,An;function xn(t){const e=Dn;return Dn=t,e}function On(t,e=A.Default){if(void 0===Dn)throw new Error("inject() must be called from an injection context");return null===Dn?T(t,void 0,e):Dn.get(t,e&A.Optional?null:void 0,e)}function Tn(t,e=A.Default){return(x||On)(p(t),e)}function kn(t){const e=[];for(let n=0;n<t.length;n++){const r=p(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t,n=A.Default;for(let e=0;e<r.length;e++){const s=r[e];s instanceof bn||"Optional"===s.ngMetadataName||s===bn?n|=A.Optional:s instanceof _n||"SkipSelf"===s.ngMetadataName||s===_n?n|=A.SkipSelf:s instanceof vn||"Self"===s.ngMetadataName||s===vn?n|=A.Self:s instanceof wn||"Host"===s.ngMetadataName||s===wn?n|=A.Host:t=s instanceof yn||s===yn?s.token:s}e.push(Tn(t,n))}else e.push(Tn(r))}return e}function Fn(t){var e;return(null===(e=function(){if(void 0===An&&(An=null,L.trustedTypes))try{An=L.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return An}())||void 0===e?void 0:e.createHTML(t))||t}class jn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class In extends jn{getTypeName(){return"HTML"}}class Pn extends jn{getTypeName(){return"Style"}}class Rn extends jn{getTypeName(){return"Script"}}class Nn extends jn{getTypeName(){return"URL"}}class Ln extends jn{getTypeName(){return"ResourceURL"}}function Mn(t){return t instanceof jn?t.changingThisBreaksApplicationSecurity:t}function Bn(t,e){const n=Hn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Hn(t){return t instanceof jn&&t.getTypeName()||null}function Un(t){return new In(t)}function $n(t){return new Pn(t)}function Vn(t){return new Rn(t)}function qn(t){return new Nn(t)}function zn(t){return new Ln(t)}function Gn(t){const e=new Wn(t);return function(){try{return!!(new window.DOMParser).parseFromString(Fn(""),"text/html")}catch(t){return!1}}()?new Kn(e):e}class Kn{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Fn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Wn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Fn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Fn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const n=e.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Qn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Yn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Xn(t){return(t=String(t)).match(Qn)||t.match(Yn)?t:"unsafe:"+t}function Zn(t){return(t=String(t)).split(",").map(t=>Xn(t.trim())).join(", ")}function Jn(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function tr(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const er=Jn("area,br,col,hr,img,wbr"),nr=Jn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rr=Jn("rp,rt"),sr=tr(rr,nr),ir=tr(er,tr(nr,Jn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),tr(rr,Jn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),sr),or=Jn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ur=Jn("srcset"),ar=tr(or,ur,Jn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Jn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),cr=Jn("script,style,template");class lr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!ir.hasOwnProperty(e))return this.sanitizedSomething=!0,!cr.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let r=0;r<n.length;r++){const t=n.item(r),e=t.name,s=e.toLowerCase();if(!ar.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let i=t.value;or[s]&&(i=Xn(i)),ur[s]&&(i=Zn(i)),this.buf.push(" ",e,'="',fr(i),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ir.hasOwnProperty(e)&&!er.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(fr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const hr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dr=/([^\#-~ |!])/g;function fr(t){return t.replace(/&/g,"&amp;").replace(hr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(dr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let pr;function mr(t,e){let n=null;try{pr=pr||Gn(t);let r=e?String(e):"";n=pr.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=pr.getInertBodyElement(r)}while(r!==i);return(new lr).sanitizeChildren(gr(n)||n)}finally{if(n){const t=gr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function gr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var yr=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function br(t){const e=_r();return e?e.sanitize(yr.HTML,t)||"":Bn(t,"HTML")?Mn(t):mr(Dt(),pt(t))}function vr(t){const e=_r();return e?e.sanitize(yr.URL,t)||"":Bn(t,"URL")?Mn(t):Xn(pt(t))}function _r(){const t=$t();return t&&t[12]}function wr(t){return t.ngDebugContext}function Er(t){return t.ngOriginalError}function Sr(t,...e){t.error(...e)}class Cr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||Sr}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?wr(t)?wr(t):this._findContext(Er(t)):null}_findOriginalError(t){let e=Er(t);for(;e&&Er(e);)e=Er(e);return e}}const Dr=/-->/g;function Ar(t,e){t.__ngContext__=e}const xr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(L))();function Or(t){return{name:"window",target:t.ownerDocument.defaultView}}function Tr(t){return{name:"document",target:t.ownerDocument}}function kr(t){return t instanceof Function?t():t}var Fr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let jr;function Ir(t,e){return jr(t,e)}function Pr(t){const e=t[3];return ut(e)?e[3]:e}function Rr(t){return Lr(t[13])}function Nr(t){return Lr(t[4])}function Lr(t){for(;null!==t&&!ut(t);)t=t[4];return t}function Mr(t,e,n,r,s){if(null!=r){let i,o=!1;ut(r)?i=r:ot(r)&&(o=!0,r=r[0]);const u=Ot(r);0===t&&null!==n?null==s?Yr(e,n,u):Qr(e,n,u,s||null,!0):1===t&&null!==n?Qr(e,n,u,s||null,!0):2===t?us(e,u,o):3===t&&e.destroyNode(u),null!=i&&function(t,e,n,r,s){const i=n[7];i!==Ot(n)&&Mr(e,t,r,i,s);for(let o=10;o<n.length;o++){const s=n[o];cs(s[1],s,t,e,r,i)}}(e,t,i,n,s)}}function Br(t,e){return At(t)?t.createText(e):t.createTextNode(e)}function Hr(t,e,n){At(t)?t.setValue(e,n):e.textContent=n}function Ur(t,e){return t.createComment(function(t){return t.replace(Dr,"-\u200b-\u200b>")}(e))}function $r(t,e,n){return At(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Vr(t,e){const n=t[9],r=n.indexOf(e),s=e[3];1024&e[2]&&(e[2]&=-1025,Bt(s,-1)),n.splice(r,1)}function qr(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&Vr(i,r),e>0&&(t[n-1][4]=r[4]);const o=dn(t,10+e);cs(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const u=o[19];null!==u&&u.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function zr(t,e){if(!(256&e[2])){const n=e[11];At(n)&&n.destroyNode&&cs(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Gr(t[1],t);for(;e;){let n=null;if(ot(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ot(e)&&Gr(e[1],e),e=e[3];null===e&&(e=t),ot(e)&&Gr(e[1],e),n=e&&e[4]}e=n}}(e)}}function Gr(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<n.length;r+=2){const t=e[n[r]];if(!(t instanceof xe)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];let s=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const t=n[i+1],o="function"==typeof t?t(e):Ot(e[t]),u=r[s=n[i+2]],a=n[i+3];"boolean"==typeof a?o.removeEventListener(n[i],u,a):a>=0?r[s=a]():r[s=-a].unsubscribe(),i+=2}else{const t=r[s=n[i+1]];n[i].call(t)}if(null!==r){for(let t=s+1;t<r.length;t++)(0,r[t])();e[7]=null}}(t,e),1===e[1].type&&At(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&ut(e[3])){n!==e[3]&&Vr(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function Kr(t,e,n){return Wr(t,e.parent,n)}function Wr(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const e=t.data[r.directiveStart].encapsulation;if(e===j.None||e===j.Emulated)return null}return kt(r,n)}function Qr(t,e,n,r,s){At(t)?t.insertBefore(e,n,r,s):e.insertBefore(n,r,s)}function Yr(t,e,n){At(t)?t.appendChild(e,n):e.appendChild(n)}function Xr(t,e,n,r,s){null!==r?Qr(t,e,n,r,s):Yr(t,e,n)}function Zr(t,e){return At(t)?t.parentNode(e):e.parentNode}function Jr(t,e,n){return ns(t,e,n)}function ts(t,e,n){return 40&t.type?kt(t,n):null}let es,ns=ts;function rs(t,e){ns=t,es=e}function ss(t,e,n,r){const s=Kr(t,r,e),i=e[11],o=Jr(r.parent||e[6],r,e);if(null!=s)if(Array.isArray(n))for(let u=0;u<n.length;u++)Xr(i,s,n[u],o,!1);else Xr(i,s,n,o,!1);void 0!==es&&es(i,r,e,n,s)}function is(t,e){if(null!==e){const n=e.type;if(3&n)return kt(e,t);if(4&n)return os(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return is(t,n);{const n=t[e.index];return ut(n)?os(-1,n):Ot(n)}}if(32&n)return Ir(e,t)()||Ot(t[e.index]);{const n=t[16],r=n[6],s=Pr(n),i=r.projection[e.projection];return null!=i?is(s,i):is(t,e.next)}}return null}function os(t,e){const n=10+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return is(t,r)}return e[7]}function us(t,e,n){const r=Zr(t,e);r&&function(t,e,n,r){At(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}function as(t,e,n,r,s,i,o){for(;null!=n;){const u=r[n.index],a=n.type;if(o&&0===e&&(u&&Ar(Ot(u),r),n.flags|=4),64!=(64&n.flags))if(8&a)as(t,e,n.child,r,s,i,!1),Mr(e,t,s,u,i);else if(32&a){const o=Ir(n,r);let a;for(;a=o();)Mr(e,t,s,a,i);Mr(e,t,s,u,i)}else 16&a?ls(t,e,r,n,s,i):Mr(e,t,s,u,i);n=o?n.projectionNext:n.next}}function cs(t,e,n,r,s,i){as(n,r,t.firstChild,e,s,i,!1)}function ls(t,e,n,r,s,i){const o=n[16],u=o[6].projection[r.projection];if(Array.isArray(u))for(let a=0;a<u.length;a++)Mr(e,t,s,u[a],i);else as(t,e,u,o[3],s,i,!0)}function hs(t,e,n){At(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function ds(t,e,n){At(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function fs(t,e,n){let r=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===r||t.charCodeAt(s+n)<=32)return s}n=s+1}}function ps(t,e,n){let r=0;for(;r<t.length;){let s=t[r++];if(n&&"class"===s){if(s=t[r],-1!==fs(s.toLowerCase(),e,0))return!0}else if(1===s){for(;r<t.length&&"string"==typeof(s=t[r++]);)if(s.toLowerCase()===e)return!0;return!1}}return!1}function ms(t){return 4===t.type&&"ng-template"!==t.value}function gs(t,e,n){return e===(4!==t.type||n?t.value:"ng-template")}function ys(t,e,n){let r=4;const s=t.attrs||[],i=function(t){for(let e=0;e<t.length;e++)if(Te(t[e]))return e;return t.length}(s);let o=!1;for(let u=0;u<e.length;u++){const a=e[u];if("number"!=typeof a){if(!o)if(4&r){if(r=2|1&r,""!==a&&!gs(t,a,n)||""===a&&1===e.length){if(bs(r))return!1;o=!0}}else{const c=8&r?a:e[++u];if(8&r&&null!==t.attrs){if(!ps(t.attrs,c,n)){if(bs(r))return!1;o=!0}continue}const l=vs(8&r?"class":a,s,ms(t),n);if(-1===l){if(bs(r))return!1;o=!0;continue}if(""!==c){let t;t=l>i?"":s[l+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==fs(e,c,0)||2&r&&c!==t){if(bs(r))return!1;o=!0}}}}else{if(!o&&!bs(r)&&!bs(a))return!1;if(o&&bs(a))continue;o=!1,r=a|1&r}}return bs(r)||o}function bs(t){return 0==(1&t)}function vs(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s<e.length;){const r=e[s];if(r===t)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function _s(t,e,n=!1){for(let r=0;r<e.length;r++)if(ys(t,e[r],n))return!0;return!1}function ws(t,e){t:for(let n=0;n<e.length;n++){const r=e[n];if(t.length===r.length){for(let e=0;e<t.length;e++)if(t[e]!==r[e])continue t;return!0}}return!1}function Es(t,e){return t?":not("+e.trim()+")":e}function Ss(t){let e=t[0],n=1,r=2,s="",i=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const e=t[++n];s+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||bs(o)||(e+=Es(i,s),s=""),r=o,i=i||!bs(r);n++}return""!==s&&(e+=Es(i,s)),e}const Cs={};function Ds(t){As(Vt(),$t(),ge()+t,Xt())}function As(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Ee(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Se(e,r,0,n)}ye(n)}function xs(t,e){return t<<17|e<<2}function Os(t){return t>>17&32767}function Ts(t){return 2|t}function ks(t){return(131068&t)>>2}function Fs(t,e){return-131069&t|e<<2}function js(t){return 1|t}function Is(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const n=t.data[i];ue(s),n.contentQueries(2,e[i],i)}}}function Ps(t,e,n,r,s,i,o,u,a,c){const l=e.blueprint.slice();return l[0]=s,l[2]=140|r,Mt(l),l[3]=l[15]=t,l[8]=n,l[10]=o||t&&t[10],l[11]=u||t&&t[11],l[12]=a||t&&t[12]||null,l[9]=c||t&&t[9]||null,l[6]=i,l[16]=2==e.type?t[16]:l,l}function Rs(t,e,n,r,s){let i=t.data[e];if(null===i)i=Ns(t,e,n,r,s),Ht.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const t=Kt();i.injectorIndex=null===t?-1:t.injectorIndex}return Wt(i,!0),i}function Ns(t,e,n,r,s){const i=Gt(),o=Qt(),u=t.data[e]=function(t,e,n,r,s,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?i:i&&i.parent,n,e,r,s);return null===t.firstChild&&(t.firstChild=u),null!==i&&(o?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u)),u}function Ls(t,e,n,r){if(0===n)return-1;const s=e.length;for(let i=0;i<n;i++)e.push(r),t.blueprint.push(r),t.data.push(null);return s}function Ms(t,e,n){le(e);try{const r=t.viewQuery;null!==r&&mi(1,r,n);const s=t.template;null!==s&&Us(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Is(t,e),t.staticViewQueries&&mi(2,t.viewQuery,n);const i=t.components;null!==i&&function(t,e){for(let n=0;n<e.length;n++)li(t,e[n])}(e,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,me()}}function Bs(t,e,n,r){const s=e[2];if(256==(256&s))return;le(e);const i=Xt();try{Mt(e),Ht.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Us(t,e,n,2,r);const o=3==(3&s);if(!i)if(o){const n=t.preOrderCheckHooks;null!==n&&Ee(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Se(e,n,0,null),Ce(e,0)}if(function(t){for(let e=Rr(t);null!==e;e=Nr(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&Bt(r,1),n[2]|=1024}}}(e),function(t){for(let e=Rr(t);null!==e;e=Nr(e))for(let t=10;t<e.length;t++){const n=e[t],r=n[1];Nt(n)&&Bs(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&Is(t,e),!i)if(o){const n=t.contentCheckHooks;null!==n&&Ee(e,n)}else{const n=t.contentHooks;null!==n&&Se(e,n,1),Ce(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)ye(~r);else{const s=r,i=n[++t],o=n[++t];se(i,s),o(2,e[s])}}}finally{ye(-1)}}(t,e);const u=t.components;null!==u&&function(t,e){for(let n=0;n<e.length;n++)ai(t,e[n])}(e,u);const a=t.viewQuery;if(null!==a&&mi(2,a,r),!i)if(o){const n=t.viewCheckHooks;null!==n&&Ee(e,n)}else{const n=t.viewHooks;null!==n&&Se(e,n,2),Ce(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),i||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Bt(e[3],-1))}finally{me()}}function Hs(t,e,n,r){const s=e[10],i=!Xt(),o=Rt(e);try{i&&!o&&s.begin&&s.begin(),o&&Ms(t,e,r),Bs(t,e,n,r)}finally{i&&!o&&s.end&&s.end()}}function Us(t,e,n,r,s){const i=ge();try{ye(-1),2&r&&e.length>20&&As(t,e,20,Xt()),n(r,s)}finally{ye(i)}}function $s(t,e,n){if(at(e)){const r=e.directiveEnd;for(let s=e.directiveStart;s<r;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}}function Vs(t,e,n){Ut()&&(function(t,e,n,r){const s=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||Be(n,e),Ar(r,e);const o=n.initialInputs;for(let u=s;u<i;u++){const r=t.data[u],i=ht(r);i&&ri(e,n,r);const a=Xe(e,t,u,n);Ar(a,e),null!==o&&ii(0,u-s,a,r,0,o),i&&(It(n.index,e)[8]=a)}}(t,e,n,kt(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,s=n.directiveEnd,i=n.index,o=Ht.lFrame.currentDirectiveIndex;try{ye(i);for(let n=r;n<s;n++){const r=t.data[n],s=e[n];ie(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||Zs(r,s)}}finally{ye(-1),ie(o)}}(t,e,n))}function qs(t,e,n=kt){const r=e.localNames;if(null!==r){let s=e.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],u=-1===o?n(e,t):t[o];t[s++]=u}}}function zs(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Gs(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Gs(t,e,n,r,s,i,o,u,a,c){const l=20+r,h=l+s,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Cs);return n}(l,h),f="function"==typeof c?c():c;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:u,declTNode:e,data:d.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:a,consts:f,incompleteFirstPass:!1}}function Ks(t,e,n,r){const s=yi(e);null===n?s.push(r):(s.push(n),t.firstCreatePass&&bi(t).push(r,s.length-1))}function Ws(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const s=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,s):n[r]=[e,s]}return n}function Qs(t,e,n,r,s,i,o,u){const a=kt(e,n);let c,l=e.inputs;var h;!u&&null!=l&&(c=l[r])?(_i(t,n,c,r,s),ct(e)&&function(t,e){const n=It(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,s=null!=o?o(s,e.value||"",r):s,At(i)?i.setProperty(a,r,s):ke(r)||(a.setProperty?a.setProperty(r,s):a[r]=s))}function Ys(t,e,n,r){let s=!1;if(Ut()){const i=function(t,e,n){const r=t.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];_s(n,o.selectors,!1)&&(s||(s=[]),Ve(Be(n,e),t,o.type),ht(o)?(Js(t,n),s.unshift(o)):s.push(o))}return s}(t,e,n),o=null===r?null:{"":-1};if(null!==i){s=!0,ei(n,t.data.length,i.length);for(let t=0;t<i.length;t++){const e=i[t];e.providersResolver&&e.providersResolver(e)}let r=!1,u=!1,a=Ls(t,e,i.length,null);for(let s=0;s<i.length;s++){const c=i[s];n.mergedAttrs=Fe(n.mergedAttrs,c.hostAttrs),ni(t,n,e,a,c),ti(a,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const l=c.type.prototype;!r&&(l.ngOnChanges||l.ngOnInit||l.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),r=!0),u||!l.ngOnChanges&&!l.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),u=!0),a++}!function(t,e){const n=e.directiveEnd,r=t.data,s=e.attrs,i=[];let o=null,u=null;for(let a=e.directiveStart;a<n;a++){const t=r[a],n=t.inputs,c=null===s||ms(e)?null:oi(n,s);i.push(c),o=Ws(n,a,o),u=Ws(t.outputs,a,u)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=i,e.inputs=o,e.outputs=u}(t,n)}o&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new ft("301",`Export of name '${e[t+1]}' not found!`);r.push(e[t],s)}}}(n,r,o)}return n.mergedAttrs=Fe(n.mergedAttrs,n.attrs),s}function Xs(t,e,n,r,s,i){const o=i.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const i=~e.index;(function(t){let e=t.length;for(;e>0;){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 Zs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Js(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function ti(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;ht(e)&&(n[""]=t)}}function ei(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function ni(t,e,n,r,s){t.data[r]=s;const i=s.factory||(s.factory=dt(s.type)),o=new xe(i,ht(s),null);t.blueprint[r]=o,n[r]=o,Xs(t,e,0,r,Ls(t,n,s.hostVars,Cs),s)}function ri(t,e,n){const r=kt(e,t),s=zs(n),i=t[10],o=hi(t,Ps(t,s,null,n.onPush?64:16,r,e,i,i.createRenderer(r,n),null,null));t[e.index]=o}function si(t,e,n,r,s,i,o){if(null==i)At(t)?t.removeAttribute(e,s,n):e.removeAttribute(s);else{const u=null==o?pt(i):o(i,r||"",s);At(t)?t.setAttribute(e,s,u,n):n?e.setAttributeNS(n,s,u):e.setAttribute(s,u)}}function ii(t,e,n,r,s,i){const o=i[e];if(null!==o){const t=r.setInput;for(let e=0;e<o.length;){const s=o[e++],i=o[e++],u=o[e++];null!==t?r.setInput(n,u,s,i):n[i]=u}}}function oi(t,e){let n=null,r=0;for(;r<e.length;){const s=e[r];if(0!==s)if(5!==s){if("number"==typeof s)break;t.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,t[s],e[r+1])),r+=2}else r+=2;else r+=4}return n}function ui(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function ai(t,e){const n=It(e,t);if(Nt(n)){const t=n[1];80&n[2]?Bs(t,n,t.template,n[8]):n[5]>0&&ci(n)}}function ci(t){for(let n=Rr(t);null!==n;n=Nr(n))for(let t=10;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Bs(t,e,t.template,e[8])}else e[5]>0&&ci(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const r=It(e[n],t);Nt(r)&&r[5]>0&&ci(r)}}function li(t,e){const n=It(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),Ms(r,n,n[8])}function hi(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function di(t){for(;t;){t[2]|=64;const e=Pr(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function fi(t,e,n){const r=e[10];r.begin&&r.begin();try{Bs(t,e,t.template,n)}catch(s){throw vi(e,s),s}finally{r.end&&r.end()}}function pi(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Pt(n),s=r[1];Hs(s,r,s.template,n)}}(t[8])}function mi(t,e,n){ue(0),e(t,n)}const gi=(()=>Promise.resolve(null))();function yi(t){return t[7]||(t[7]=[])}function bi(t){return t.cleanup||(t.cleanup=[])}function vi(t,e){const n=t[9],r=n?n.get(Cr,null):null;r&&r.handleError(e)}function _i(t,e,n,r,s){for(let i=0;i<n.length;){const o=n[i++],u=n[i++],a=e[o],c=t.data[o];null!==c.setInput?c.setInput(a,s,r,u):a[u]=s}}function wi(t,e,n){const r=Tt(e,t);Hr(t[11],r,n)}function Ei(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,i=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?i=t:1==i?s=h(s,t):2==i&&(r=h(r,t+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=s:t.classesWithoutHost=s}const Si=new on("INJECTOR",-1);class Ci{get(t,e=En){if(e===En){const e=new Error(`NullInjectorError: No provider for ${l(t)}!`);throw e.name="NullInjectorError",e}return e}}const Di=new on("Set Injector scope."),Ai={},xi={},Oi=[];let Ti;function ki(){return void 0===Ti&&(Ti=new Ci),Ti}function Fi(t,e=null,n=null,r){return new ji(t,n,e||ki(),r)}class ji{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&ln(e,n=>this.processProvider(n,t,e)),ln([t],t=>this.processInjectorType(t,[],s)),this.records.set(Si,Ri(void 0,this));const i=this.records.get(Di);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof t?null:l(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=En,n=A.Default){this.assertNotDestroyed();const r=xn(this);try{if(!(n&A.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof on)&&v(t);e=n&&this.injectableDefInScope(n)?Ri(Ii(t),Ai):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&A.Self?ki():this.parent).get(t,e=n&A.Optional&&e===En?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(l(t)),r)throw i;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=l(e);if(Array.isArray(e))s=e.map(l).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):l(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(Sn,"\n  ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{xn(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(l(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=p(t)))return!1;let r=w(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=w(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;e<t.length;e++){const{ngModule:n,providers:r}=t[e];ln(r,t=>this.processProvider(t,n,r||Oi))}}this.injectorDefTypes.add(i),this.records.set(i,Ri(r.factory,Ai));const u=r.providers;if(null!=u&&!o){const e=t;ln(u,t=>this.processProvider(t,e,u))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=Li(t=p(t))?t:p(t&&t.provide);const s=function(t,e,n){return Ni(t)?Ri(void 0,t.useValue):Ri(Pi(t),Ai)}(t);if(Li(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Ri(void 0,Ai,!0),e.factory=()=>kn(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===Ai&&(e.value=xi,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){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Ii(t){const e=v(t),n=null!==e?e.factory:dt(t);if(null!==n)return n;const r=w(t);if(null!==r)return r.factory;if(t instanceof on)throw new Error(`Token ${l(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=fn(e,"?");throw new Error(`Can't resolve all parameters for ${l(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[E]||t[C]);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 Pi(t,e,n){let r;if(Li(t)){const e=p(t);return dt(e)||Ii(e)}if(Ni(t))r=()=>p(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...kn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Tn(p(t.useExisting));else{const e=p(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return dt(e)||Ii(e);r=()=>new e(...kn(t.deps))}var s;return r}function Ri(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Ni(t){return null!==t&&"object"==typeof t&&Cn in t}function Li(t){return"function"==typeof t}const Mi=function(t,e,n){return function(t,e=null,n=null,r){const s=Fi(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let Bi=(()=>{class t{static create(t,e){return Array.isArray(t)?Mi(t,e,""):Mi(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=En,t.NULL=new Ci,t.\u0275prov=y({token:t,providedIn:"any",factory:()=>Tn(Si)}),t.__NG_ELEMENT_ID__=-1,t})();function Hi(t,e){we(Pt(t)[1],zt())}function Ui(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let s;if(ht(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=$i(t.inputs),e.declaredInputs=$i(t.declaredInputs),e.outputs=$i(t.outputs);const n=s.hostBindings;n&&zi(t,n);const i=s.viewQuery,o=s.contentQueries;if(i&&Vi(t,i),o&&qi(t,o),c(t.inputs,s.inputs),c(t.declaredInputs,s.declaredInputs),c(t.outputs,s.outputs),ht(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<e.length;r++){const s=e[r];s&&s.ngInherit&&s(t),s===Ui&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=Fe(s.hostAttrs,n=Fe(n,s.hostAttrs))}}(r)}function $i(t){return t===M?{}:t===B?[]:t}function Vi(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function qi(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function zi(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}let Gi=null;function Ki(){if(!Gi){const t=L.Symbol;if(t&&t.iterator)Gi=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Gi=n)}}}return Gi}class Wi{constructor(t){this.wrapped=t}static wrap(t){return new Wi(t)}static unwrap(t){return Wi.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Wi}}function Qi(t){return!!Yi(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ki()in t)}function Yi(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Xi(t,e,n){return t[e]=n}function Zi(t,e){return t[e]}function Ji(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function to(t,e,n,r){const s=Ji(t,e,n);return Ji(t,e+1,r)||s}function eo(t,e,n,r,s){const i=to(t,e,n,r);return Ji(t,e+2,s)||i}function no(t,e,n,r,s,i){const o=to(t,e,n,r);return to(t,e+2,s,i)||o}function ro(t,e,n,r){const s=$t();return Ji(s,ee(),e)&&(Vt(),function(t,e,n,r,s,i){const o=kt(t,e);si(e[11],o,i,t.value,n,r,s)}(be(),s,t,e,n,r)),ro}function so(t,e,n,r){return Ji(t,ee(),n)?e+pt(n)+r:Cs}function io(t,e,n,r,s,i){const o=to(t,te(),n,s);return ne(2),o?e+pt(n)+r+pt(s)+i:Cs}function oo(t,e,n,r,s,i,o,u,a,c){const l=no(t,te(),n,s,o,a);return ne(4),l?e+pt(n)+r+pt(s)+i+pt(o)+u+pt(a)+c:Cs}function uo(t,e,n,r,s,i,o,u){const a=$t(),c=Vt(),l=t+20,h=c.firstCreatePass?function(t,e,n,r,s,i,o,u,a){const c=e.consts,l=Rs(e,t,4,o||null,Lt(c,u));Ys(e,n,l,Lt(c,a)),we(e,l);const h=l.tViews=Gs(2,l,r,s,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,l),h.queries=e.queries.embeddedTView(l)),l}(l,c,a,e,n,r,s,i,o):c.data[l];Wt(h,!1);const d=a[11].createComment("");ss(c,a,d,h),Ar(d,a),hi(a,a[l]=ui(d,a,d,h)),lt(h)&&Vs(c,a,h),null!=o&&qs(a,h,u)}function ao(t){return jt(Ht.lFrame.contextLView,20+t)}function co(t,e=A.Default){const n=$t();return null===n?Tn(t,e):Ge(zt(),n,p(t),e)}function lo(t,e,n){const r=$t();return Ji(r,ee(),e)&&Qs(Vt(),be(),r,t,e,r[11],n,!1),lo}function ho(t,e,n,r,s){const i=s?"class":"style";_i(t,n,e.inputs[i],i,r)}function fo(t,e,n,r){const s=$t(),i=Vt(),o=20+t,u=s[11],a=s[o]=$r(u,e,Ht.lFrame.currentNamespace),c=i.firstCreatePass?function(t,e,n,r,s,i,o){const u=e.consts,a=Rs(e,t,2,s,Lt(u,i));return Ys(e,n,a,Lt(u,o)),null!==a.attrs&&Ei(a,a.attrs,!1),null!==a.mergedAttrs&&Ei(a,a.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,a),a}(o,i,s,0,e,n,r):i.data[o];Wt(c,!0);const l=c.mergedAttrs;null!==l&&Oe(u,a,l);const h=c.classes;null!==h&&ds(u,a,h);const d=c.styles;null!==d&&hs(u,a,d),64!=(64&c.flags)&&ss(i,s,a,c),0===Ht.lFrame.elementDepthCount&&Ar(a,s),Ht.lFrame.elementDepthCount++,lt(c)&&(Vs(i,s,c),$s(i,c,s)),null!==r&&qs(s,c)}function po(){let t=zt();Qt()?Yt():(t=t.parent,Wt(t,!1));const e=t;Ht.lFrame.elementDepthCount--;const n=Vt();n.firstCreatePass&&(we(n,t),at(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&ho(n,e,$t(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&ho(n,e,$t(),e.stylesWithoutHost,!1)}function mo(t,e,n,r){fo(t,e,n,r),po()}function go(t,e,n){const r=$t(),s=Vt(),i=t+20,o=s.firstCreatePass?function(t,e,n,r,s){const i=e.consts,o=Lt(i,r),u=Rs(e,t,8,"ng-container",o);return null!==o&&Ei(u,o,!0),Ys(e,n,u,Lt(i,s)),null!==e.queries&&e.queries.elementStart(e,u),u}(i,s,r,e,n):s.data[i];Wt(o,!0);const u=r[i]=r[11].createComment("");ss(s,r,u,o),Ar(u,r),lt(o)&&(Vs(s,r,o),$s(s,o,r)),null!=n&&qs(r,o)}function yo(){let t=zt();const e=Vt();Qt()?Yt():(t=t.parent,Wt(t,!1)),e.firstCreatePass&&(we(e,t),at(t)&&e.queries.elementEnd(t))}function bo(t,e,n){go(t,e,n),yo()}function vo(){return $t()}function _o(t){return!!t&&"function"==typeof t.then}function wo(t){return!!t&&"function"==typeof t.subscribe}function Eo(t,e,n=!1,r){const s=$t(),i=Vt(),o=zt();return function(t,e,n,r,s,i,o=!1,u){const a=lt(r),c=t.firstCreatePass&&bi(t),l=yi(e);let h=!0;if(3&r.type){const d=kt(r,e),f=u?u(d):M,p=f.target||d,m=l.length,g=u?t=>u(Ot(t[r.index])).target:r.index;if(At(n)){let o=null;if(!u&&a&&(o=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const t=s[i];if(t===n&&s[i+1]===r){const t=e[7],n=s[i+2];return t.length>n?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=Co(r,e,i,!1);const t=n.listen(f.name||p,s,i);l.push(i,t),c&&c.push(s,g,m,m+1)}}else i=Co(r,e,i,!0),p.addEventListener(s,i,o),l.push(i),c&&c.push(s,g,m,o)}else i=Co(r,e,i,!1);const d=r.outputs;let f;if(h&&null!==d&&(f=d[s])){const t=f.length;if(t)for(let n=0;n<t;n+=2){const t=e[f[n]][f[n+1]].subscribe(i),o=l.length;l.push(i,t),c&&c.push(s,r.index,o,-(o+1))}}}(i,s,s[11],o,t,e,n,r),Eo}function So(t,e,n){try{return!1!==e(n)}catch(r){return vi(t,r),!1}}function Co(t,e,n,r){return function s(i){if(i===Function)return n;const o=2&t.flags?It(t.index,e):e;0==(32&e[2])&&di(o);let u=So(e,n,i),a=s.__ngNextListenerFn__;for(;a;)u=So(e,a,i)&&u,a=a.__ngNextListenerFn__;return r&&!1===u&&(i.preventDefault(),i.returnValue=!1),u}}function Do(t=1){return function(t){return(Ht.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Ht.lFrame.contextLView))[8]}(t)}function Ao(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s<e.length;s++){const i=e[s];if("*"!==i){if(null===r?_s(t,i,!0):ws(r,i))return s}else n=s}return n}function xo(t){const e=$t()[16][6];if(!e.projection){const n=e.projection=fn(t?t.length:1,null),r=n.slice();let s=e.child;for(;null!==s;){const e=t?Ao(s,t):0;null!==e&&(r[e]?r[e].projectionNext=s:n[e]=s,r[e]=s),s=s.next}}}function Oo(t,e=0,n){const r=$t(),s=Vt(),i=Rs(s,20+t,16,null,n||null);null===i.projection&&(i.projection=e),Yt(),64!=(64&i.flags)&&function(t,e,n){ls(e[11],0,e,n,Kr(t,n,e),Jr(n.parent||e[6],n,e))}(s,r,i)}function To(t,e,n){return ko(t,"",e,"",n),To}function ko(t,e,n,r,s){const i=$t(),o=so(i,e,n,r);return o!==Cs&&Qs(Vt(),be(),i,t,o,i[11],s,!1),ko}function Fo(t,e,n,r,s,i,o){const u=$t(),a=io(u,e,n,r,s,i);return a!==Cs&&Qs(Vt(),be(),u,t,a,u[11],o,!1),Fo}const jo=[];function Io(t,e,n,r,s){const i=t[n+1],o=null===e;let u=r?Os(i):ks(i),a=!1;for(;0!==u&&(!1===a||o);){const n=t[u+1];Po(t[u],e)&&(a=!0,t[u+1]=r?js(n):Ts(n)),u=r?Os(n):ks(n)}a&&(t[n+1]=r?Ts(i):js(i))}function Po(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&gn(t,e)>=0}const Ro={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
1;function No(t){return t.substring(Ro.key,Ro.keyEnd)}function Lo(t,e){const n=Ro.textEnd;return n===e?-1:(e=Ro.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Ro.key=e,n),Mo(t,e,n))}function Mo(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Bo(t,e,n){return Vo(t,e,n,!1),Bo}function Ho(t,e){return Vo(t,e,null,!0),Ho}function Uo(t){qo(pn,$o,t,!0)}function $o(t,e){for(let n=function(t){return function(t){Ro.key=0,Ro.keyEnd=0,Ro.value=0,Ro.valueEnd=0,Ro.textEnd=t.length}(t),Lo(t,Mo(t,0,Ro.textEnd))}(e);n>=0;n=Lo(e,n))pn(t,No(e),!0)}function Vo(t,e,n,r){const s=$t(),i=Vt(),o=ne(2);i.firstUpdatePass&&Go(i,t,o,r),e!==Cs&&Ji(s,o,e)&&Qo(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=l(Mn(t)))),t}(e,n),r,o)}function qo(t,e,n,r){const s=Vt(),i=ne(2);s.firstUpdatePass&&Go(s,null,i,r);const o=$t();if(n!==Cs&&Ji(o,i,n)){const u=s.data[ge()];if(Zo(u,r)&&!zo(s,i)){let t=r?u.classesWithoutHost:u.stylesWithoutHost;null!==t&&(n=h(t,n||"")),ho(s,u,o,n,r)}else!function(t,e,n,r,s,i,o,u){s===Cs&&(s=jo);let a=0,c=0,l=0<s.length?s[0]:null,h=0<i.length?i[0]:null;for(;null!==l||null!==h;){const d=a<s.length?s[a+1]:void 0,f=c<i.length?i[c+1]:void 0;let p,m=null;l===h?(a+=2,c+=2,d!==f&&(m=h,p=f)):null===h||null!==l&&l<h?(a+=2,m=l):(c+=2,m=h,p=f),null!==m&&Qo(t,e,n,r,m,p,o,u),l=a<s.length?s[a]:null,h=c<i.length?i[c]:null}}(s,u,o,o[11],o[i+1],o[i+1]=function(t,e,n){if(null==n||""===n)return jo;const r=[],s=Mn(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)t(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&t(r,i,s[i]);else"string"==typeof s&&e(r,s);return r}(t,e,n),r,i)}}function zo(t,e){return e>=t.expandoStartIndex}function Go(t,e,n,r){const s=t.data;if(null===s[n+1]){const i=s[ge()],o=zo(t,n);Zo(i,r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const s=function(t){const e=Ht.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=r?e.residualClasses:e.residualStyles;if(null===s)0===(r?e.classBindings:e.styleBindings)&&(n=Wo(n=Ko(null,t,e,n,r),e.attrs,r),i=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=Ko(s,t,e,n,r),null===i){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==ks(r))return t[Os(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=Ko(null,t,e,n[1],r),n=Wo(n,e.attrs,r),function(t,e,n,r){t[Os(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else i=function(t,e,n){let r;const s=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<s;i++)r=Wo(r,t[i].hostAttrs,n);return Wo(r,e.attrs,n)}(t,e,r)}return void 0!==i&&(r?e.residualClasses=i:e.residualStyles=i),n}(s,i,e,r),function(t,e,n,r,s,i){let o=i?e.classBindings:e.styleBindings,u=Os(o),a=ks(o);t[r]=n;let c,l=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||gn(t,c)>0)&&(l=!0)}else c=n;if(s)if(0!==a){const e=Os(t[u+1]);t[r+1]=xs(e,u),0!==e&&(t[e+1]=Fs(t[e+1],r)),t[u+1]=131071&t[u+1]|r<<17}else t[r+1]=xs(u,0),0!==u&&(t[u+1]=Fs(t[u+1],r)),u=r;else t[r+1]=xs(a,0),0===u?u=r:t[a+1]=Fs(t[a+1],r),a=r;l&&(t[r+1]=Ts(t[r+1])),Io(t,c,r,!0),Io(t,c,r,!1),function(t,e,n,r,s){const i=s?t.residualClasses:t.residualStyles;null!=i&&"string"==typeof e&&gn(i,e)>=0&&(n[r+1]=js(n[r+1]))}(e,c,t,r,i),o=xs(u,a),i?e.classBindings=o:e.styleBindings=o}(s,i,e,n,o,r)}}function Ko(t,e,n,r,s){let i=null;const o=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u<o&&(i=e[u],r=Wo(r,i.hostAttrs,s),i!==t);)u++;return null!==t&&(n.directiveStylingLast=u),r}function Wo(t,e,n){const r=n?1:2;let s=-1;if(null!==e)for(let i=0;i<e.length;i++){const o=e[i];"number"==typeof o?s=o:s===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),pn(t,o,!!n||e[++i]))}return void 0===t?null:t}function Qo(t,e,n,r,s,i,o,u){if(!(3&e.type))return;const a=t.data,c=a[u+1];Xo(1==(1&c)?Yo(a,e,n,s,ks(c),o):void 0)||(Xo(i)||2==(2&c)&&(i=Yo(a,null,n,s,u,o)),function(t,e,n,r,s){const i=At(t);if(e)s?i?t.addClass(n,r):n.classList.add(r):i?t.removeClass(n,r):n.classList.remove(r);else{let e=-1===r.indexOf("-")?void 0:Fr.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|=Fr.Important),i?t.setStyle(n,r,s,e):n.style.setProperty(r,s,o?"important":"")}}}(r,o,Tt(ge(),n),s,i))}function Yo(t,e,n,r,s,i){const o=null===e;let u;for(;s>0;){const e=t[s],i=Array.isArray(e),a=i?e[1]:e,c=null===a;let l=n[s+1];l===Cs&&(l=c?jo:void 0);let h=c?mn(l,r):a===r?l:void 0;
1if(i&&!Xo(h)&&(h=mn(e,r)),Xo(h)&&(u=h,o))return u;const d=t[s+1];s=o?Os(d):ks(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(u=mn(t,r))}return u}function Xo(t){return void 0!==t}function Zo(t,e){return 0!=(t.flags&(e?16:32))}function Jo(t,e=""){const n=$t(),r=Vt(),s=t+20,i=r.firstCreatePass?Rs(r,s,1,e,null):r.data[s],o=n[s]=Br(n[11],e);ss(r,n,o,i),Wt(i,!1)}function tu(t){return eu("",t,""),tu}function eu(t,e,n){const r=$t(),s=so(r,t,e,n);return s!==Cs&&wi(r,ge(),s),eu}function nu(t,e,n,r,s){const i=$t(),o=io(i,t,e,n,r,s);return o!==Cs&&wi(i,ge(),o),nu}function ru(t,e,n,r,s,i,o){const u=$t(),a=function(t,e,n,r,s,i,o,u){const a=eo(t,te(),n,s,o);return ne(3),a?e+pt(n)+r+pt(s)+i+pt(o)+u:Cs}(u,t,e,n,r,s,i,o);return a!==Cs&&wi(u,ge(),a),ru}function su(t,e,n,r,s,i,o,u,a){const c=$t(),l=oo(c,t,e,n,r,s,i,o,u,a);return l!==Cs&&wi(c,ge(),l),su}function iu(t,e,n,r,s,i,o,u,a,c,l){const h=$t(),d=function(t,e,n,r,s,i,o,u,a,c,l,h){const d=te();let f=no(t,d,n,s,o,a);return f=Ji(t,d+4,l)||f,ne(5),f?e+pt(n)+r+pt(s)+i+pt(o)+u+pt(a)+c+pt(l)+h:Cs}(h,t,e,n,r,s,i,o,u,a,c,l);return d!==Cs&&wi(h,ge(),d),iu}function ou(t,e,n){qo(pn,$o,so($t(),t,e,n),!0)}function uu(t,e,n,r,s,i,o,u,a){qo(pn,$o,oo($t(),t,e,n,r,s,i,o,u,a),!0)}function au(t,e,n){const r=$t();return Ji(r,ee(),e)&&Qs(Vt(),be(),r,t,e,r[11],n,!0),au}const cu=void 0;var lu=["en",[["a","p"],["AM","PM"],cu],[["AM","PM"],cu,cu],[["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"]],cu,[["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"]],cu,[["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}",cu,"{1} 'at' {0}",cu],[".",",",";","%","+","-","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 hu={};function du(t,e,n){"string"!=typeof e&&(n=e,e=t[yu.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),hu[e]=t,n&&(hu[e][yu.ExtraData]=n)}function fu(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=gu(e);if(n)return n;const r=e.split("-")[0];if(n=gu(r),n)return n;if("en"===r)return lu;throw new Error(`Missing locale data for the locale "${t}".`)}function pu(t){return fu(t)[yu.CurrencyCode]||null}function mu(t){return fu(t)[yu.PluralCase]}function gu(t){return t in hu||(hu[t]=L.ng&&L.ng.common&&L.ng.common.locales&&L.ng.common.locales[t]),hu[t]}var yu=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 bu=["zero","one","two","few","many"],vu={marker:"element"},_u={marker:"ICU"};var wu=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}({});let Eu="en-US";function Su(t){var e;null==(e=t)&&g("Expected localeId to be defined",e,null,"!="),"string"==typeof t&&(Eu=t.toLowerCase().replace(/_/g,"-"))}function Cu(t,e,n){const r=e.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?ts(t,0,n):Ot(n[s])}function Du(t,e,n,r,s){const i=e.insertBeforeIndex;if(Array.isArray(i)){let o=r,u=null;if(3&e.type||(u=o,o=s),null!==o&&0==(2&e.flags))for(let e=1;e<i.length;e++)Qr(t,o,n[i[e]],u,!1)}}function Au(t,e){if(t.push(e),t.length>1)for(let n=t.length-2;n>=0;n--){const r=t[n];xu(r)||Ou(r,e)&&null===Tu(r)&&ku(r,e.index)}}function xu(t){return!(64&t.type)}function Ou(t,e){return xu(e)||t.index>e.index}function Tu(t){const e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function ku(t,e){const n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(rs(Cu,Du),t.insertBeforeIndex=e)}function Fu(t,e){const n=t.data[e];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function ju(t,e,n){const r=Ns(t,n,64,null,null);return Au(e,r),r}function Iu(t,e){const n=e[t.currentCaseLViewIndex];return null===n?n:n<0?~n:n}let Pu=0,Ru=0;function Nu(t,e,n,r){const s=n[11];let i,o=null;for(let u=0;u<e.length;u++){const a=e[u];if("string"==typeof a){const t=e[++u];null===n[t]&&(n[t]=Br(s,a))}else if("number"==typeof a)switch(1&a){case 0:const c=a>>>17;let l,h;if(null===o&&(o=c,i=Zr(s,r)),c===o?(l=r,h=i):(l=null,h=Ot(n[c])),null!==h){const e=(131070&a)>>>1;Qr(s,h,n[e],l,!1);const r=Fu(t,e);if(null!==r&&"object"==typeof r){const e=Iu(r,n);null!==e&&Nu(t,r.create[e],n,n[r.anchorIdx])}}break;case 1:const d=e[++u],f=e[++u];si(s,Tt(a>>>1,n),null,null,d,f,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${a}"`)}else switch(a){case _u:const t=e[++u],r=e[++u];null===n[r]&&Ar(n[r]=Ur(s,t),n);break;case vu:const i=e[++u],o=e[++u];null===n[o]&&Ar(n[o]=$r(s,i,null),n)}}}function Lu(t,e,n,r,s){for(let i=0;i<n.length;i++){const o=n[i],u=n[++i];if(o&s){let s="";for(let o=i+1;o<=i+u;o++){const i=n[o];if("string"==typeof i)s+=i;else if("number"==typeof i)if(i<0)s+=pt(e[r-i]);else{const u=i>>>2;switch(3&i){case 1:const i=n[++o],a=n[++o],c=t.data[u];"string"==typeof c?si(e[11],e[u],null,c,i,s,a):Qs(t,c,e,i,s,e[11],a,!1);break;case 0:const l=e[u];null!==l&&Hr(e[11],l,s);break;case 2:Bu(t,Fu(t,u),e,s);break;case 3:Mu(t,Fu(t,u),r,e)}}}}else{const s=n[i+1];if(s>0&&3==(3&s)){const n=Fu(t,s>>>2);e[n.currentCaseLViewIndex]<0&&Mu(t,n,r,e)}}i+=u}}function Mu(t,e,n,r){let s=r[e.currentCaseLViewIndex];if(null!==s){let i=Pu;s<0&&(s=r[e.currentCaseLViewIndex]=~s,i=-1),Lu(t,r,e.update[s],n,i)}}function Bu(t,e,n,r){const s=function(t,e){let n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:{const r=function(t,e){const n=mu(e)(parseInt(t,10)),r=bu[n];return void 0!==r?r:"other"}(e,Eu);n=t.cases.indexOf(r),-1===n&&"other"!==r&&(n=t.cases.indexOf("other"));break}case 0:n=t.cases.indexOf("other")}return-1===n?null:n}(e,r);if(Iu(e,n)!==s&&(Hu(t,e,n),n[e.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const r=n[e.anchorIdx];r&&Nu(t,e.create[s],n,r)}}function Hu(t,e,n){let r=Iu(e,n);if(null!==r){const s=e.remove[r];for(let e=0;e<s.length;e++){const r=s[e];if(r>0){const t=Tt(r,n);null!==t&&us(n[11],t)}else Hu(t,Fu(t,~r),n)}}}const Uu=/\ufffd(\d+):?\d*\ufffd/gi,$u=/\ufffd(\d+)\ufffd/,Vu=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,qu=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,zu=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Gu=/\uE500/g;function Ku(t,e,n,r,s,i,o){const u=Ls(t,r,1,null);let a=u<<wu.SHIFT,c=Kt();e===c&&(c=null),null===c&&(a|=wu.APPEND_EAGERLY),o&&(a|=wu.COMMENT,void 0===jr&&(jr=function(){const t=[];let e,n,r=-1;function s(t,e){r=0;const s=Iu(t,e);n=null!==s?t.remove[s]:B}function i(){if(r<n.length){const o=n[r++];return o>0?e[o]:(t.push(r,n),s(e[1].data[~o],e),i())}return 0===t.length?null:(n=t.pop(),r=t.pop(),i())}return function(n,r){for(e=r;t.length;)t.pop();return s(n.value,r),i}}())),s.push(a,null===i?"":i);const l=Ns(t,u,o?32:1,null===i?"":i,null);Au(n,l);const h=l.index;return Wt(l,!1),null!==c&&e!==c&&function(t,e){let n=t.insertBeforeIndex;var r;null===n?(rs(Cu,Du),n=t.insertBeforeIndex=[null,e]):("Expecting array here",(r=Array.isArray(n))!=!0&&g("Expecting array here",r,true,"=="),n.push(e))}(c,h),l}function Wu(t,e,n,r,s,i,o){const u=o.match(Uu),a=Ku(t,e,n,i,r,u?null:o,!1);u&&Qu(s,o,a.index)}function Qu(t,e,n,r,s=null){const i=t.length,o=i+1;t.push(null,null);const u=i+2,a=e.split(Uu);let c=0;for(let l=0;l<a.length;l++){const e=a[l];if(1&l){const n=parseInt(e,10);t.push(-1-n),c|=Yu(n)}else""!==e&&t.push(e)}return t.push(n<<2|(r?1:0)),r&&t.push(r,s),t[i]=c,t[o]=t.length-u,c}function Yu(t){return 1<<Math.min(t,31)}function Xu(t){let e,n,r="",s=0,i=!1;for(;null!==(e=qu.exec(t));)i?e[0]===`\ufffd/*${n}\ufffd`&&(s=e.index,i=!1):(r+=t.substring(s,e.index+e[0].length),n=e[1],i=!0);return r+=t.substr(s),r}function Zu(t,e,n,r,s,i){let o=0;const u={type:s.type,currentCaseLViewIndex:Ls(t,e,1,null),anchorIdx:i,cases:[],create:[],remove:[],update:[]};!function(t,e,n){t.push(Yu(e.mainBinding),2,-1-e.mainBinding,n<<2|2)}(n,s,i),function(t,e,n){const r=t.data[e];null===r?t.data[e]=n:r.value=n}(t,i,u);const a=s.values;for(let c=0;c<a.length;c++){const i=a[c],l=[];for(let t=0;t<i.length;t++){const e=i[t];if("string"!=typeof e){const n=l.push(e)-1;i[t]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}o=ea(t,u,e,n,r,s.cases[c],i.join(""),l)|o}o&&function(t,e,n){t.push(e,1,n<<2|3)}(n,o,i)}function Ju(t){const e=[],n=[];let r=1,s=0;const i=ta(t=t.replace(Vu,function(t,e,n){return r="select"===n?0:1,s=parseInt(e.substr(1),10),""}));for(let o=0;o<i.length;){let t=i[o++].trim();1===r&&(t=t.replace(/\s*(?:=)?(\w+)\s*/,"$1")),t.length&&e.push(t);const s=ta(i[o++]);e.length>n.length&&n.push(s)}return{type:r,mainBinding:s,cases:e,values:n}}function ta(t){if(!t)return[];let e=0;const n=[],r=[],s=/[{}]/g;let i;for(s.lastIndex=0;i=s.exec(t);){const s=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=t.substring(e,s);
1Vu.test(n)?r.push(Ju(n)):r.push(n),e=s+1}}else{if(0==n.length){const n=t.substring(e,s);r.push(n),e=s+1}n.push("{")}}const o=t.substring(e);return r.push(o),r}function ea(t,e,n,r,s,i,o,u){const a=[],c=[],l=[];e.cases.push(i),e.create.push(a),e.remove.push(c),e.update.push(l);const h=Gn(Dt()).getInertBodyElement(o),d=gr(h)||h;return d?na(t,e,n,r,a,c,l,d,s,u,0):0}function na(t,e,n,r,s,i,o,u,a,c,l){let h=0,d=u.firstChild;for(;d;){const u=Ls(t,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const f=d,p=f.tagName.toLowerCase();if(ir.hasOwnProperty(p)){ia(s,vu,p,a,u),t.data[u]=p;const m=f.attributes;for(let t=0;t<m.length;t++){const e=m.item(t),n=e.name.toLowerCase();e.value.match(Uu)?ar.hasOwnProperty(n)&&(or[n]?Qu(o,e.value,u,e.name,Xn):ur[n]?Qu(o,e.value,u,e.name,Zn):Qu(o,e.value,u,e.name)):oa(s,u,e)}h=na(t,e,n,r,s,i,o,d,u,c,l+1)|h,ra(i,u,l)}break;case Node.TEXT_NODE:const m=d.textContent||"",g=m.match(Uu);ia(s,null,g?"":m,a,u),ra(i,u,l),g&&(h=Qu(o,m,u)|h);break;case Node.COMMENT_NODE:const y=$u.exec(d.textContent||"");if(y){const e=c[parseInt(y[1],10)];ia(s,_u,"",a,u),Zu(t,n,r,a,e,u),sa(i,u,l)}}d=d.nextSibling}return h}function ra(t,e,n){0===n&&t.push(e)}function sa(t,e,n){0===n&&(t.push(~e),t.push(e))}function ia(t,e,n,r,s){null!==e&&t.push(e),t.push(n,s,0|r<<17|s<<1)}function oa(t,e,n){t.push(e<<1|1,n.name,n.value)}function ua(t,e,n){(function(t,e,n=-1){const r=Vt(),s=$t(),i=20+t,o=Lt(r.consts,e),u=Kt();r.firstCreatePass&&function(t,e,n,r,s,i){const o=Kt(),u=[],a=[],c=[[]];s=function(t,e){if(function(t){return-1===t}(e))return Xu(t);{const n=t.indexOf(`:${e}\ufffd`)+2+e.toString().length,r=t.search(new RegExp(`\ufffd\\/\\*\\d+:${e}\ufffd`));return Xu(t.substring(n,r))}}(s,i);const l=(h=s,h.replace(Gu," ")).split(zu);var h;for(let d=0;d<l.length;d++){let r=l[d];if(0==(1&d)){const i=ta(r);for(let r=0;r<i.length;r++){let l=i[r];if(0==(1&r)){const e=l;""!==e&&Wu(t,o,c[0],u,a,n,e)}else{const r=l;if("object"!=typeof r)throw new Error(`Unable to parse ICU expression in "${s}" message.`);Zu(t,n,a,e,r,Ku(t,o,c[0],n,u,"",!0).index)}}}else{const e=47===r.charCodeAt(0),n=(r.charCodeAt(e?1:0),20+Number.parseInt(r.substring(e?2:1)));if(e)c.shift(),Wt(Kt(),!1);else{const e=ju(t,c[0],n);c.unshift([]),Wt(e,!0)}}}t.data[r]={create:u,update:a}}(r,null===u?0:u.index,s,i,o,n);const a=r.data[i],c=Wr(r,u===s[6]?null:u,s);!function(t,e,n,r){const s=t[11];for(let i=0;i<e.length;i++){const o=e[i++],u=e[i],a=(o&wu.COMMENT)===wu.COMMENT,c=(o&wu.APPEND_EAGERLY)===wu.APPEND_EAGERLY,l=o>>>wu.SHIFT;let h=t[l];null===h&&(h=t[l]=a?s.createComment(u):Br(s,u)),c&&null!==n&&Qr(s,n,h,r,!1)}}(s,a.create,c,u&&8&u.type?s[u.index]:null),re(!0)})(t,e,n),re(!1)}function aa(t){return Ji($t(),ee(),t)&&(Pu|=1<<Math.min(Ru,31)),Ru++,aa}function ca(t){!function(t,e,n){if(Ru>0){const r=t.data[n];Lu(t,e,Array.isArray(r)?r:r.update,te()-Ru-1,Pu)}Pu=0,Ru=0}(Vt(),$t(),t+20)}function la(t,e,n,r,s){if(t=p(t),Array.isArray(t))for(let i=0;i<t.length;i++)la(t[i],e,n,r,s);else{const i=Vt(),o=$t();let u=Li(t)?t:p(t.provide),a=Pi(t);const c=zt(),l=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(Li(t)||!t.multi){const r=new xe(a,s,co),f=fa(u,e,s?l:l+d,h);-1===f?(Ve(Be(c,o),i,u),ha(i,t,e.length),e.push(u),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(r),o.push(r)):(n[f]=r,o[f]=r)}else{const f=fa(u,e,l+d,h),p=fa(u,e,l,l+d),m=f>=0&&n[f],g=p>=0&&n[p];if(s&&!g||!s&&!m){Ve(Be(c,o),i,u);const l=function(t,e,n,r,s){const i=new xe(t,n,co);return i.multi=[],i.index=e,i.componentProviders=0,da(i,s,r&&!n),i}(s?ma:pa,n.length,s,r,a);!s&&g&&(n[p].providerFactory=l),ha(i,t,e.length,0),e.push(u),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(l),o.push(l)}else ha(i,t,f>-1?f:p,da(n[s?p:f],a,!s&&r));!s&&r&&g&&n[p].componentProviders++}}}function ha(t,e,n,r){const s=Li(e);if(s||e.useClass){const i=(e.useClass||e).prototype.ngOnDestroy;if(i){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,i]):o[t+1].push(r,i)}else o.push(n,i)}}}function da(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function fa(t,e,n,r){for(let s=n;s<r;s++)if(e[s]===t)return s;return-1}function pa(t,e,n,r){return ga(this.multi,[])}function ma(t,e,n,r){const s=this.multi;let i;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Xe(n,n[1],this.providerFactory.index,r);i=e.slice(0,t),ga(s,i);for(let n=t;n<e.length;n++)i.push(e[n])}else i=[],ga(s,i);return i}function ga(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function ya(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=Vt();if(r.firstCreatePass){const s=ht(t);la(n,r.data,r.blueprint,s,!0),la(e,r.data,r.blueprint,s,!1)}}(n,r?r(t):t,e)}}class ba{}
vendor: 29,254 bytes, line 1
1class va{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${l(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let _a=(()=>{class t{}return t.NULL=new va,t})();function wa(...t){}function Ea(t,e){return new Ca(kt(t,e))}const Sa=function(){return Ea(zt(),$t())};let Ca=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Sa,t})();class Da{}let Aa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>xa(),t})();const xa=function(){const t=$t(),e=It(zt().index,t);return function(t){return t[11]}(ot(e)?e:t)};let Oa=(()=>{class t{}return t.\u0275prov=y({token:t,providedIn:"root",factory:()=>null}),t})();class Ta{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ka=new Ta("11.0.7");class Fa{constructor(){}supports(t){return Qi(t)}create(t){return new Ia(t)}}const ja=(t,e)=>e;class Ia{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||ja}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<La(n,r,s)?e:n,o=La(i,r,s),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{s||(s=[]);const t=o-r,e=u-r;if(t!=e){for(let n=0;n<t;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;e<=i&&i<t&&(s[n]=r+1)}s[i.previousIndex]=e-t}}o!==u&&t(i,o,u)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Qi(t))throw new Error(`Error trying to diff '${l(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,s=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,e)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,e),i=!0),s=s._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Ki()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{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._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):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)):t=this._addAfter(new Pa(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 Na),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 Na),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 Pa{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 Ra{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 Na{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ra,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 La(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+e+s}class Ma{constructor(){}supports(t){return t instanceof Map||Yi(t)}create(){return new Ba}}class Ba{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Yi(t)))throw new Error(`Error trying to diff '${l(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{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 Ha(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 Ha{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}}let Ua=(()=>{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=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new _n,new bn]]}}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=y({token:t,providedIn:"root",factory:()=>new t([new Fa])}),t})(),$a=(()=>{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=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new _n,new bn]]}}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=y({token:t,providedIn:"root",factory:()=>new t([new Ma])}),t})();function Va(t,e,n,r,s=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&r.push(Ot(i)),ut(i))for(let t=10;t<i.length;t++){const e=i[t],n=e[1].firstChild;null!==n&&Va(e[1],e,n,r)}const o=n.type;if(8&o)Va(t,e,n.child,r);else if(32&o){const t=Ir(n,e);let s;for(;s=t();)r.push(s)}else if(16&o){const t=e[16],s=t[6].projection[n.projection];if(Array.isArray(s))r.push(...s);else{const e=Pr(t);Va(e[1],e,s,r,!0)}}n=s?n.projectionNext:n.next}return r}class qa{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView,e=t[1];return Va(e,t,e.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}zr(this._lView[1],this._lView)}onDestroy(t){Ks(this._lView[1],this._lView,null,t)}markForCheck(){di(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){fi(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Zt(!0);try{fi(t,e,n)}finally{Zt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,cs(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class za extends qa{constructor(t){super(t),this._view=t}detectChanges(){pi(this._view)}checkNoChanges(){!function(t){Zt(!0);try{pi(t)}finally{Zt(!1)}}(this._view)}get context(){return null}}const Ga=Wa;let Ka=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ga,t.__ChangeDetectorRef__=!0,t})();function Wa(t=!1){return function(t,e,n){if(!n&&ct(t)){const n=It(t.index,e);return new qa(n,n)}return 47&t.type?new qa(e[16],e):null}(zt(),$t(),t)}const Qa=[new Ma],Ya=new Ua([new Fa]),Xa=new $a(Qa),Za=function(){return nc(zt(),$t())};let Ja=(()=>{class t{}return t.__NG_ELEMENT_ID__=Za,t})();const tc=Ja,ec=class extends tc{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Ps(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)),Ms(e,n,t),new qa(n)}};function nc(t,e){return 4&t.type?new ec(e,t,Ea(t,e)):null}class rc{}class sc{}const ic=function(){return hc(zt(),$t())};let oc=(()=>{class t{}return t.__NG_ELEMENT_ID__=ic,t})();const uc=oc,ac=class extends uc{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ea(this._hostTNode,this._hostLView)}get injector(){return new tn(this._hostTNode,this._hostLView)}get parentInjector(){const t=$e(this._hostTNode,this._hostLView);if(Ie(t)){const e=Re(t,this._hostLView),n=Pe(t);return new tn(e[1].data[n+8],e)}return new tn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=cc(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}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(rc,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(ut(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new ac(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=10+r,i=n.length;r>0&&(n[s-1][4]=e),r<i-10?(e[4]=n[s],hn(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const u=e[19];null!==u&&u.insertView(t),e[2]|=128}(r,n,i,s);const o=os(s,i),u=n[11],a=Zr(u,i[7]);return null!==a&&function(t,e,n,r,s,i){r[0]=s,r[6]=e,cs(t,r,n,1,s,i)}(r,i[6],u,n,a,o),t.attachToViewContainerRef(this),hn(lc(i),s,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=cc(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=qr(this._lContainer,e);n&&(dn(lc(this._lContainer),e),zr(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=qr(this._lContainer,e);return n&&null!=dn(lc(this._lContainer),e)?new qa(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function cc(t){return t[8]}function lc(t){return t[8]||(t[8]=[])}function hc(t,e){let n;const r=e[t.index];if(ut(r))n=r;else{let s;if(8&t.type)s=Ot(r);else{const n=e[11];s=n.createComment("");const r=kt(t,e);Qr(n,Zr(n,r),s,function(t,e){return At(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=ui(r,e,s,t),hi(e,n)}return new ac(n,t,e)}const dc={};class fc extends _a{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=st(t);return new gc(e,this.ngModule)}}function pc(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const mc=new on("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>xr});class gc extends ba{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Ss).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return pc(this.componentDef.inputs)}get outputs(){return pc(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,dc,s);return i!==dc||r===dc?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(Da,xt),o=s.get(Oa,null),u=i.createRenderer(null,this.componentDef),a=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(At(t))return t.selectRootElement(e,n===j.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(u,n,this.componentDef.encapsulation):$r(i.createRenderer(null,this.componentDef),a,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(a)),l=this.componentDef.onPush?576:528,h={components:[],scheduler:xr,clean:gi,playerHandler:null,flags:0},d=Gs(0,null,null,1,0,null,null,null,null,null),f=Ps(null,d,h,l,null,null,i,u,o,s);let p,m;le(f);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const u=Rs(o,20,2,"#host",null),a=u.mergedAttrs=e.hostAttrs;null!==a&&(Ei(u,a,!0),null!==t&&(Oe(s,t,a),null!==u.classes&&ds(s,t,u.classes),null!==u.styles&&hs(s,t,u.styles)));const c=r.createRenderer(t,e),l=Ps(n,zs(e),null,e.onPush?64:16,n[20],u,r,c,null,null);return o.firstCreatePass&&(Ve(Be(u,n),o,e.type),Js(o,u),ei(u,n.length,1)),hi(n,l),n[20]=l}(c,this.componentDef,f,i,u);if(c)if(n)Oe(u,c,["ng-version",ka.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r<t.length;){let i=t[r];if("string"==typeof i)2===s?""!==i&&e.push(i,t[++r]):8===s&&n.push(i);else{if(!bs(s))break;s=i}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Oe(u,c,t),e&&e.length>0&&ds(u,c,e.join(" "))}if(m=Ft(d,20),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}p=function(t,e,n,r,s){const i=n[1],o=function(t,e,n){const r=zt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ni(t,r,e,Ls(t,e,1,null),n));const s=Xe(e,t,r.directiveStart,r);Ar(s,e);const i=kt(r,e);return i&&Ar(i,e),s}(i,n,e);if(r.components.push(o),t[8]=o,s&&s.forEach(t=>t(o,e)),e.contentQueries){const t=zt();e.contentQueries(1,o,t.directiveStart)}const u=zt();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ye(u.index),Xs(n[1],u,0,u.directiveStart,u.directiveEnd,e),Zs(e,o)),o}(t,this.componentDef,f,h,[Hi]),Ms(d,f,null)}finally{me()}return new yc(this.componentType,p,Ea(m,f),f,m)}}class yc 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 za(r),this.componentType=t}get injector(){return new tn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const bc=new Map;class vc extends rc{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new fc(this);const n=it(t),r=t[q]||null;r&&Su(r),this._bootstrapComponents=kr(n.bootstrap),this._r3Injector=Fi(t,e,[{provide:rc,useValue:this},{provide:_a,useValue:this.componentFactoryResolver}],l(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Bi.THROW_IF_NOT_FOUND,n=A.Default){return t===Bi||t===rc||t===Si?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 _c extends sc{constructor(t){super(),this.moduleType=t,null!==it(t)&&function(t){const e=new Set;!function t(n){const r=it(n,!0),s=r.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${l(e)} vs ${l(e.name)}`)}(s,bc.get(s),n),bc.set(s,n));const i=kr(r.imports);for(const o of i)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new vc(this.moduleType,t)}}function wc(t,e,n){const r=Jt()+t,s=$t();return s[r]===Cs?Xi(s,r,n?e.call(n):e()):Zi(s,r)}function Ec(t,e,n,r){return kc($t(),Jt(),t,e,n,r)}function Sc(t,e,n,r,s){return Fc($t(),Jt(),t,e,n,r,s)}function Cc(t,e,n,r,s,i){return jc($t(),Jt(),t,e,n,r,s,i)}function Dc(t,e,n,r,s,i,o){return Ic($t(),Jt(),t,e,n,r,s,i,o)}function Ac(t,e,n,r,s,i,o,u){const a=Jt()+t,c=$t(),l=no(c,a,n,r,s,i);return Ji(c,a+4,o)||l?Xi(c,a+5,u?e.call(u,n,r,s,i,o):e(n,r,s,i,o)):Zi(c,a+5)}function xc(t,e,n,r,s,i,o,u,a,c){const l=Jt()+t,h=$t();let d=no(h,l,n,r,s,i);return eo(h,l+4,o,u,a)||d?Xi(h,l+7,c?e.call(c,n,r,s,i,o,u,a):e(n,r,s,i,o,u,a)):Zi(h,l+7)}function Oc(t,e,n,r){return function(t,e,n,r,s,i){let o=e+n,u=!1;for(let a=0;a<s.length;a++)Ji(t,o++,s[a])&&(u=!0);return u?Xi(t,o,r.apply(i,s)):Tc(t,o)}($t(),Jt(),t,e,n,r)}function Tc(t,e){const n=t[e];return n===Cs?void 0:n}function kc(t,e,n,r,s,i){const o=e+n;return Ji(t,o,s)?Xi(t,o+1,i?r.call(i,s):r(s)):Tc(t,o+1)}function Fc(t,e,n,r,s,i,o){const u=e+n;return to(t,u,s,i)?Xi(t,u+2,o?r.call(o,s,i):r(s,i)):Tc(t,u+2)}function jc(t,e,n,r,s,i,o,u){const a=e+n;return eo(t,a,s,i,o)?Xi(t,a+3,u?r.call(u,s,i,o):r(s,i,o)):Tc(t,a+3)}function Ic(t,e,n,r,s,i,o,u,a){const c=e+n;return no(t,c,s,i,o,u)?Xi(t,c+4,a?r.call(a,s,i,o,u):r(s,i,o,u)):Tc(t,c+4)}function Pc(t,e){const n=Vt();let r;const s=t+20;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new ft("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=dt(r.type)),o=O(co);try{const t=Le(!1),e=i();return Le(t),function(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}(n,$t(),s,e),e}finally{O(o)}}function Rc(t,e,n){const r=t+20,s=$t(),i=jt(s,r);return Hc(s,Bc(s,r)?kc(s,Jt(),e,i.transform,n,i):i.transform(n))}function Nc(t,e,n,r){const s=t+20,i=$t(),o=jt(i,s);return Hc(i,Bc(i,s)?Fc(i,Jt(),e,o.transform,n,r,o):o.transform(n,r))}function Lc(t,e,n,r,s){const i=t+20,o=$t(),u=jt(o,i);return Hc(o,Bc(o,i)?jc(o,Jt(),e,u.transform,n,r,s,u):u.transform(n,r,s))}function Mc(t,e,n,r,s,i){const o=t+20,u=$t(),a=jt(u,o);return Hc(u,Bc(u,o)?Ic(u,Jt(),e,a.transform,n,r,s,i,a):a.transform(n,r,s,i))}function Bc(t,e){return t[1].data[e].pure}function Hc(t,e){return Wi.isWrapped(e)&&(e=Wi.unwrap(e),t[te()]=Cs),e}const Uc=class extends r.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,i=t=>null,o=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const u=super.subscribe(r,i,o);return t instanceof s.a&&t.add(u),u}};function $c(){return this._results[Ki()]()}class Vc{constructor(){this.dirty=!0,this._results=[],this.changes=new Uc,this.length=0;const t=Ki(),e=Vc.prototype;e[t]||(e[t]=$c)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=cn(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class qc{constructor(t){this.queryList=t,this.matches=null}clone(){return new qc(this.queryList)}setDirty(){this.queryList.setDirty()}}class zc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new zc(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==cl(t,e).matches&&this.queries[e].setDirty()}}class Gc{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class Kc{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,s=this.getByIndex(n).embeddedTView(t,r);s&&(s.indexInDeclarationView=n,null!==e?e.push(s):e=[s])}return null!==e?new Kc(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Wc{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Wc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const s=n[r];this.matchTNodeWithReadOption(t,e,Qc(e,s)),this.matchTNodeWithReadOption(t,e,Ye(e,t,s,!1,!1))}else n===Ja?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Ye(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===Ca||r===oc||r===Ja&&4&e.type)this.addMatch(e.index,-2);else{const n=Ye(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Qc(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function Yc(t,e,n,r){return-1===n?function(t,e){return 11&t.type?Ea(t,e):4&t.type?nc(t,e):null}(e,t):-2===n?function(t,e,n){return n===Ca?Ea(e,t):n===Ja?nc(e,t):n===oc?hc(e,t):void 0}(t,e,r):Xe(t,t[1],n,e)}function Xc(t,e,n,r){const s=e[19].queries[r];if(null===s.matches){const r=t.data,i=n.matches,o=[];for(let t=0;t<i.length;t+=2){const s=i[t];o.push(s<0?null:Yc(e,r[s],i[t+1],n.metadata.read))}s.matches=o}return s.matches}function Zc(t,e,n,r){const s=t.queries.getByIndex(n),i=s.matches;if(null!==i){const o=Xc(t,e,s,n);for(let t=0;t<i.length;t+=2){const n=i[t];if(n>0)r.push(o[t/2]);else{const s=i[t+1],o=e[-n];for(let t=10;t<o.length;t++){const e=o[t];e[17]===e[3]&&Zc(e[1],e,s,r)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];Zc(n[1],n,s,r)}}}}}return r}
1function Jc(t){const e=$t(),n=Vt(),r=oe();ue(r+1);const s=cl(n,r);if(t.dirty&&Rt(e)===s.metadata.isStatic){if(null===s.matches)t.reset([]);else{const i=s.crossesNgTemplate?Zc(n,e,r,[]):Xc(n,e,s,r);t.reset(i),t.notifyOnChanges()}return!0}return!1}function tl(t,e,n){nl(Vt(),$t(),t,e,n,!0)}function el(t,e,n){nl(Vt(),$t(),t,e,n,!1)}function nl(t,e,n,r,s,i){t.firstCreatePass&&(al(t,new Gc(n,r,i,s),-1),i&&(t.staticViewQueries=!0)),ul(t,e)}function rl(t,e,n,r){il(Vt(),$t(),e,n,r,!1,zt(),t)}function sl(t,e,n,r){il(Vt(),$t(),e,n,r,!0,zt(),t)}function il(t,e,n,r,s,i,o,u){t.firstCreatePass&&(al(t,new Gc(n,r,i,s),o.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,u),i&&(t.staticContentQueries=!0)),ul(t,e)}function ol(){return t=$t(),e=oe(),t[19].queries[e].queryList;var t,e}function ul(t,e){const n=new Vc;Ks(t,e,n,n.destroy),null===e[19]&&(e[19]=new zc),e[19].queries.push(new qc(n))}function al(t,e,n){null===t.queries&&(t.queries=new Kc),t.queries.track(new Wc(e,n))}function cl(t,e){return t.queries.getByIndex(e)}function ll(t,e){return nc(t,e)}function hl(t=A.Default){const e=Wa(!0);if(null!=e||t&A.Optional)return e;gt("ChangeDetectorRef")}const dl=new on("Application Initializer");let fl=(()=>{class t{constructor(t){this.appInits=t,this.resolve=wa,this.reject=wa,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<this.appInits.length;n++){const e=this.appInits[n]();_o(e)&&t.push(e)}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)(Tn(dl,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();const pl=new on("AppId"),ml={provide:pl,useFactory:function(){return`${gl()}${gl()}${gl()}`},deps:[]};function gl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const yl=new on("Platform Initializer"),bl=new on("Platform ID"),vl=new on("appBootstrapListener");let _l=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();const wl=new on("LocaleId"),El=new on("DefaultCurrencyCode");class Sl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Cl=function(t){return new _c(t)},Dl=Cl,Al=function(t){return Promise.resolve(Cl(t))},xl=function(t){const e=Cl(t),n=kr(it(t).declarations).reduce((t,e)=>{const n=st(e);return n&&t.push(new gc(n)),t},[]);return new Sl(e,n)},Ol=xl,Tl=function(t){return Promise.resolve(xl(t))};let kl=(()=>{class t{constructor(){this.compileModuleSync=Dl,this.compileModuleAsync=Al,this.compileModuleAndAllComponentsSync=Ol,this.compileModuleAndAllComponentsAsync=Tl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();const Fl=(()=>Promise.resolve(0))();function jl(t){"undefined"==typeof Zone?Fl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Il{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Uc(!1),this.onMicrotaskEmpty=new Uc(!1),this.onStable=new Uc(!1),this.onError=new Uc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=L.requestAnimationFrame,e=L.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=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(L,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Nl(t),Rl(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Nl(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,s,i,o,u)=>{try{return Ll(t),n.invokeTask(s,i,o,u)}
vendor: 5,510 bytes, line 1
1finally{e&&"eventTask"===i.type&&e(),Ml(t)}},onInvoke:(e,n,r,s,i,o,u)=>{try{return Ll(t),e.invoke(r,s,i,o,u)}finally{Ml(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Nl(t),Rl(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Il.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Il.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,Pl,wa,wa);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 Pl={};function Rl(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 Nl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Ll(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ml(t){t._nesting--,Rl(t)}class Bl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Uc,this.onMicrotaskEmpty=new Uc,this.onStable=new Uc,this.onError=new Uc}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 Hl=(()=>{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:()=>{Il.assertNotInAngularZone(),jl(()=>{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())jl(()=>{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/dist/task-tracking.js" 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)(Tn(Il))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})(),Ul=(()=>{class t{constructor(){this._applications=new Map,zl.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 zl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();class $l{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Vl(t){zl=t}let ql,zl=new $l,Gl=!0,Kl=!1;function Wl(){return Kl=!0,Gl}function Ql(){if(Kl)throw new Error("Cannot enable prod mode after platform setup.");Gl=!1}const Yl=new on("AllowMultipleToken");class Xl{constructor(t,e){this.name=t,this.token=e}}function Zl(t,e,n=[]){const r=`Platform: ${e}`,s=new on(r);return(e=[])=>{let i=Jl();if(!i||i.injector.get(Yl,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Di,useValue:"platform"});!function(t){if(ql&&!ql.destroyed&&!ql.injector.get(Yl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ql=t.get(th);const e=t.get(yl,null);e&&e.forEach(t=>t())}(Bi.create({providers:t,name:r}))}return function(t){const e=Jl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different c
1onfiguration has been created. Please destroy it first.");return e}(s)}}function Jl(){return ql&&!ql.destroyed?ql:null}let th=(()=>{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 Bl:("zone.js"===t?void 0:t)||new Il({enableLongStackTrace:Wl(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Il,useValue:n}];return n.run(()=>{const e=Bi.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(Cr,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(()=>{rh(this._modules,s),t.unsubscribe()})}),function(t,e,n){try{const r=n();return _o(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(fl);return t.runInitializers(),t.donePromise.then(()=>(Su(s.injector.get(wl,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=eh({},e);return function(t,e,n){const r=new _c(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(nh);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${l(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)(Tn(Bi))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();function eh(t,e){return Array.isArray(e)?e.reduce(eh,t):Object.assign(Object.assign({},t),e)}let nh=(()=>{class t{constructor(t,e,n,r,s,a){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=a,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 c=new i.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),l=new i.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Il.assertNotInAngularZone(),jl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Il.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(c,l.pipe(Object(u.a)()))}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 ba?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(rc),s=n.create(Bi.NULL,[],e||n.selector,r),i=s.location.nativeElement,o=s.injector.get(Hl,null),u=o&&s.injector.get(Ul);return o&&u&&u.registerApplication(i,o),s.onDestroy(()=>{this.detachView(s.hostView),rh(this.components,s),u&&u.unregisterApplication(i)}),this._loadComponent(s),Wl()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),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;rh(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(vl,[]).concat(this._bootstrapListeners).forEac
1h(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)(Tn(Il),Tn(_l),Tn(Bi),Tn(Cr),Tn(_a),Tn(fl))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();function rh(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class sh{}class ih{}const oh={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let uh=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||oh}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>ah(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("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>ah(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(Tn(kl),Tn(ih,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();function ah(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const ch=function(t){return null},lh=Zl(null,"core",[{provide:bl,useValue:"unknown"},{provide:th,deps:[Bi]},{provide:Ul,deps:[]},{provide:_l,deps:[]}]),hh=[{provide:nh,useClass:nh,deps:[Il,_l,Bi,Cr,_a,fl]},{provide:mc,deps:[Il],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:fl,useClass:fl,deps:[[new bn,dl]]},{provide:kl,useClass:kl,deps:[]},ml,{provide:Ua,useFactory:function(){return Ya},deps:[]},{provide:$a,useFactory:function(){return Xa},deps:[]},{provide:wl,useFactory:function(t){return Su(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new yn(wl),new bn,new _n]]},{provide:El,useValue:"USD"}];let dh=(()=>{class t{constructor(t){}}return t.\u0275mod=J({type:t}),t.\u0275inj=b({factory:function(e){return new(e||t)(Tn(nh))},providers:hh}),t})()},"9AGB":function(t,e,n){"use strict";var r=n("yoF8");function s(t){return 0===t.length?r.identity:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}}e.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return s(t)},e.pipeFromArray=s},"9ppp":function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},BFxc:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("7o/Q"),s=n("4I5i"),i=n("EY2u");function o(t){return function(e){return 0===t?Object(i.b)():e.lift(new u(t))}}class u{constructor(t){if(this.total=t,this.total<0)throw new s.a}call(t,e){return e.subscribe(new a(t,this.total))}}class a extends r.a{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.length<n?e.push(t):e[r%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=e++%n;t.next(r[s])}}t.complete()}}},Cfvw:function(t,e,n){"use strict";n.d(e,"a",function(){return h});var r=n("HDdC"),s=n("SeVD"),i=n("quSY"),o=n("kJWO"),u=n("jZKg"),a=n("Lhse"),c=n("c2HN"),l=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new r.a(n=>{const r=new i.a;return r.add(e.schedule(()=>{const s=t[o.a]();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(Object(c.a)(t))return function(t,e){return new r.a(n=>{const r=new i.a;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(Object(l.a)(t))return Object(u.a)(t,e);if(function(t){return t&&"function"==typeof t[a.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a(n=>{const r=new i.a;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[a.a](),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)}
1e?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 r.a?t:new r.a(Object(s.a)(t))}},D0XW:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("3N8a");const s=new(n("IjjT").a)(r.a)},DH7j:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},EY2u:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return i});var r=n("HDdC");const s=new r.a(t=>t.complete());function i(t){return t?function(t){return new r.a(e=>t.schedule(()=>e.complete()))}(t):s}},FWf1:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}
1(),s=n("pshJ"),i=n("GiSu"),o=n("zB/H"),u=n("p//D"),a=n("n3uD"),c=n("MkmW"),l=function(t){function e(n,r,s){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=i.empty;break;case 1:if(!n){o.destination=i.empty;break}if("object"==typeof n){n instanceof e?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new h(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new h(o,n,r,s)}return o}return r(e,t),e.prototype[u.rxSubscriber]=function(){return this},e.create=function(t,n,r){var s=new e(t,n,r);return s.syncErrorThrowable=!1,s},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(o.Subscription);e.Subscriber=l;var h=function(t){function e(e,n,r,o){var u,a=t.call(this)||this;a._parentSubscriber=e;var c=a;return s.isFunction(n)?u=n:n&&(u=n.next,r=n.error,o=n.complete,n!==i.empty&&(c=Object.create(n),s.isFunction(c.unsubscribe)&&a.add(c.unsubscribe.bind(c)),c.unsubscribe=a.unsubscribe.bind(a))),a._context=c,a._next=u,a._error=r,a._complete=o,a}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;a.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=a.config.useDeprecatedSynchronousErrorHandling;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):c.hostReportError(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;c.hostReportError(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};a.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.config.useDeprecatedSynchronousErrorHandling)throw n;c.hostReportError(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!a.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return a.config.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(c.hostReportError(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(l);e.SafeSubscriber=h},GMZp:function(t,e,n){"use strict";e.isObject=function(t){return null!==t&&"object"==typeof t}},GS7A:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return s}),n.d(e,"d",function(){return f}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return a}),n.d(e,"g",function(){return l}),n.d(e,"h",function(){return c}),n.d(e,"i",function(){return h}),n.d(e,"j",function(){return o}),n.d(e,"k",function(){return p}),n.d(e,"l",function(){return m});class r{}class s{}const i="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function u(t,e=null){return{type:4,styles:e,timings:t}}function a(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function l(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function d(t){Promise.resolve(null).then(t)}class f{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){d(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class p{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const s=this.players.length;0==s?d(()=>
1this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const m="!"},GiSu:function(t,e,n){"use strict";var r=n("n3uD"),s=n("MkmW");e.empty={closed:!0,next:function(t){},error:function(t){if(r.config.useDeprecatedSynchronousErrorHandling)throw t;s.hostReportError(t)},complete:function(){}}},GyhO:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("LRne"),s=n("0EUg");function i(...t){return Object(s.a)()(Object(r.a)(...t))}},HDdC:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("7o/Q"),s=n("2QA8"),i=n("gRHU"),o=n("kJWO"),u=n("mCNh"),a=n("2fFW");let c=(()=>{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:o}=this,u=function(t,e,n){if(t){if(t instanceof r.a)return t;if(t[s.a])return t[s.a]()}return t||e||n?new r.a(t,e,n):new r.a(i.a)}(t,e,n);if(u.add(o?o.call(u,this.source):this.source||a.a.useDeprecatedSynchronousErrorHandling&&!u.syncErrorThrowable?this._subscribe(u):this._trySubscribe(u)),a.a.useDeprecatedSynchronousErrorHandling&&u.syncErrorThrowable&&(u.syncErrorThrowable=!1,u.syncErrorThrown))throw u.syncErrorValue;return u}_trySubscribe(t){try{return this._subscribe(t)}catch(e){a.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof r.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=l(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)}[o.a](){return this}pipe(...t){return 0===t.length?this:Object(u.b)(t)(this)}toPromise(t){return new(t=l(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function l(t){if(t||(t=a.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},I55L:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=t=>t&&"number"==typeof t.length&&"function"!=typeof t},I65S:function(t,e,n){"use strict";var r=n("nzqU"),s=n("zzsZ"),i=n("2qMH");e.of=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return r.isScheduler(n)?(t.pop(),i.scheduleArray(t,n)):s.fromArray(t)}},IheW:function(t,e,n){"use strict";n.d(e,"a",function(){return O}),n.d(e,"b",function(){return A}),n.d(e,"c",function(){return K}),n.d(e,"d",function(){return G}),n.d(e,"e",function(){return C}),n.d(e,"f",function(){return d}),n.d(e,"g",function(){return m}),n.d(e,"h",function(){return S});var r=n("8Y7J"),s=n("LRne"),i=n("HDdC"),o=n("bOdf"),u=n("pLZG"),a=n("lJxs"),c=n("SVse");class l{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{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])}})}:()=>
vendor: 4,628 bytes, line 1
1{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 d?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 d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?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 f{encodeKey(t){return p(t)}encodeValue(t){return p(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function p(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,"/")}class m{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new f,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.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"})}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 m({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(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(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)}}function g(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function y(t){return"undefined"!=typeof Blob&&t instanceof Blob}function b(t){return"undefined"!=typeof FormData&&t instanceof FormData}class v{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}}
1(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.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new m,this.urlWithParams=e}serializeBody(){return null===this.body?null:g(this.body)||y(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof m?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||b(this.body)?null:y(this.body)?this.body.type||null:g(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,r=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,i=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,a=t.params||this.params;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),u)),t.setParams&&(a=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),a)),new v(e,n,s,{params:a,headers:u,reportProgress:o,responseType:r,withCredentials:i})}}var _=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 w{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,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 E extends w{constructor(t={}){super(t),this.type=_.ResponseHeader}clone(t={}){return new E({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 S extends w{constructor(t={}){super(t),this.type=_.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new S({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 C extends w{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 D(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let A=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof v)r=t;else{let s,i;s=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(i=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new v(t,e,void 0!==n.body?n.body:null,{headers:s,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Object(s.a)(r).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof v||"events"===n.observe)return i;const c=i.pipe(Object(u.a)(t=>t instanceof S));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return c.pipe(Object(a.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return c.pipe(Object(a.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return c.pipe(Object(a.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));default:return c.pipe(Object(a.a)(t=>t.body))}case"response":return c;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 m).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,D(n,e))}post(t,e,n={}){return this.request("POST",t,D(n,e))}put(t,e,n={}){return this.request("PUT",t,D(n,e))}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(l))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})();class x{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const O=new r.q("HTTP_INTERCEPTORS");let T=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})(),k=0;class F{}let j=(()=>{class t{constructor(t,e){this.callbackMap=t,this.document=e,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+k++}handle(t){if("JSONP"!==t.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==t.responseType)throw new Error("JSONP requests must use Json response type.");return new i.a(e=>{const n=this.nextCallback(),r=t.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),s=this.document.createElement("script");s.src=r;let i=null,o=!1,u=!1;this.callbackMap[n]=t=>{delete this.callbackMap[n],u||(i=t,o=!0)};const a=()=>{s.parentNode&&s.parentNode.removeChild(s),delete this.callbackMap[n]},c=t=>{u||this.resolvedPromise.then(()=>{a(),o?(e.next(new S({body:i,status:200,statusText:"OK",url:r})),e.complete()):e.error(new C({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},l=t=>{u||(a(),e.error(new C({error:t,status:0,statusText:"JSONP Error",url:r})))};return s.addEventListener("load",c),s.addEventListener("error",l),this.document.body.appendChild(s),e.next({type:_.Sent}),()=>{u=!0,s.removeEventListener("load",c),s.removeEventListener("error",l),a()}})}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(F),r.Xb(c.e))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})(),I=(()=>{class t{constructor(t){this.jsonp=t}intercept(t,e){return"JSONP"===t.method?this.jsonp.handle(t):e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(j))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})();const P=/^\)\]\}',?\n/;class R{}let N=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})(),L=(()=>{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 i.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEac
vendor: 4,152 bytes, line 1
1h((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 d(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 E({headers:i,status:e,statusText:r,url:o}),s},o=()=>{let{headers:r,status:s,statusText:o,url:u}=i(),a=null;204!==s&&(a=void 0===n.response?n.responseText:n.response),0===s&&(s=a?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof a){const t=a;a=a.replace(P,"");try{a=""!==a?JSON.parse(a):null}catch(l){a=t,c&&(c=!1,a={error:l,text:a})}}c?(e.next(new S({body:a,headers:r,status:s,statusText:o,url:u||void 0})),e.complete()):e.error(new C({error:a,headers:r,status:s,statusText:o,url:u||void 0}))},u=t=>{const{url:r}=i(),s=new C({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(s)};let a=!1;const c=r=>{a||(e.next(i()),a=!0);let s={type:_.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},l=t=>{let n={type:_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",u),t.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",l)),n.send(r),e.next({type:_.Sent}),()=>{n.removeEventListener("error",u),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",l)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(R))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})();const M=new r.q("XSRF_COOKIE_NAME"),B=new r.q("XSRF_HEADER_NAME");class H{}let U=(()=>{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=Object(c.L)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(c.e),r.Xb(r.B),r.Xb(M))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})(),$=(()=>{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)(r.Xb(H),r.Xb(B))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})(),V=(()=>{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(O,[]);this.chain=t.reduceRight((t,e)=>new x(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(h),r.Xb(r.r))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})();function q(){return"object"==typeof window?window:{}}let z=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:$,useClass:T}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:B,useValue:e.headerName}:[]]}}}return t.\u0275mod=r.Ib({type:t}),t.\u0275inj=r.Hb({factory:function(e){return new(e||t)},providers:[$,{provide:O,useExisting:$,multi:!0},{provide:H,useClass:U},{provide:M,useValue:"XSRF-TOKEN"},{provide:B,useValue:"X-XSRF-TOKEN"}
1]}),t})(),G=(()=>{class t{}return t.\u0275mod=r.Ib({type:t}),t.\u0275inj=r.Hb({factory:function(e){return new(e||t)},providers:[A,{provide:l,useClass:V},L,{provide:h,useExisting:L},N,{provide:R,useExisting:N}],imports:[[z.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})(),K=(()=>{class t{}return t.\u0275mod=r.Ib({type:t}),t.\u0275inj=r.Hb({factory:function(e){return new(e||t)},providers:[j,{provide:F,useFactory:q},{provide:O,useClass:I,multi:!0}]}),t})()},IjjT:function(t,e,n){"use strict";n.d(e,"a",function(){return s});let r=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class s extends r{constructor(t,e=r.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},IzEk:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("7o/Q"),s=n("4I5i"),i=n("EY2u");function o(t){return e=>0===t?Object(i.b)():e.lift(new u(t))}class u{constructor(t){if(this.total=t,this.total<0)throw new s.a}call(t,e){return e.subscribe(new a(t,this.total))}}class a extends r.a{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()))}}},JIr8:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("l7GE"),s=n("51Dv"),i=n("ZUHj");function o(t){return function(e){const n=new u(t),r=e.lift(n);return n.caught=r}}class u{constructor(t){this.selector=t}call(t,e){return e.subscribe(new a(t,this.selector,this.caught))}}class a extends r.a{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 s.a(this,void 0,void 0);this.add(r);const o=Object(i.a)(this,n,void 0,void 0,r);o!==r&&this.add(o)}}}},JX91:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("GyhO"),s=n("z+Ro");function i(...t){const e=t[t.length-1];return Object(s.a)(e)?(t.pop(),n=>Object(r.a)(t,n,e)):e=>Object(r.a)(t,e)}},Kqap:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("7o/Q");function s(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new i(t,e,n))}}class i{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new o(t,this.accumulator,this.seed,this.hasSeed))}}class o extends r.a{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)}}},KqfI:function(t,e,n){"use strict";function r(){}n.d(e,"a",function(){return r})},LBXl:function(t,e,n){"use strict";e.UnsubscriptionError=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}()},LRne:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("z+Ro"),s=n("yCtX"),i=n("jZKg");function o(...t){let e=t[t.length-1];return Object(r.a)(e)?(t.pop(),Object(i.a)(t,e)):Object(s.a)(t)}},Lhse:function(t,e,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return s});const s=r()},MkmW:function(t,e,n){"use strict";e.hostReportError=function(t){setTimeout(function(){throw t},0)}},NJ4a:function(t,e,n){"use strict";function r(t){setTimeout(()=>{throw t},0)}n.d(e,"a",function(){return r})},OAkW:function(t,e,n){"use strict";e.subscribeToArray=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}}},Q1FS:function(t,e,n){"use strict";var r=n("yx2s"),s=n("Xwq/"),i=n("zfKp"),o=n("9AGB"),u=n("n3uD"),a=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=s.toSubscriber(t,e,n);if(i.add(r?r.call(i,this.source):this.source||u.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),u.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){u.config.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),r.canReportError(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=c(e))(function(e,r){var s;s=n.subscribe(function(e){try{t(e)}catch(n){r(n),s&&s.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[i.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:o.pipeFromArray(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=c(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function c(t){if(t||(t=u.config.Promise||Promise),!t)throw new Error("no Promise impl found");return t}e.Observable=a},SVse:function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return Rt}),n.d(e,"c",function(){return Kt}),n.d(e,"d",function(){return Vt}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return Bt}),n.d(e,"g",function(){return Ut}),n.d(e,"h",function(){return T}),n.d(e,"i",function(){return E}),n.d(e,"j",function(){return Ht}),n.d(e,"k",function(){return h}),n.d(e,"l",function(){return S}),n.d(e,"m",function(){return b}),n.d(e,"n",function(){return yt}),n.d(e,"o",function(){return vt}),n.d(e,"p",function(){return wt}),n.d(e,"q",function(){return Ot}),n.d(e,"r",function(){return Dt}),n.d(e,"s",function(){return At}),n.d(e,"t",function(){return xt}),n.d(e,"u",function(){return Tt}),n.d(e,"v",function(){return w}),n.d(e,"w",function(){return $t}),n.d(e,"x",function(){return c}),n.d(e,"y",function(){return Gt}),n.d(e,"z",function(){return Lt}),n.d(e,"A",function(){return k}),n.d(e,"B",function(){return Mt}),n.d(e,"C",function(){return Yt}),n.d(e,"D",function(){return X}),n.d(e,"E",function(){return P}),n.d(e,"F",function(){return I}),n.d(e,"G",function(){return R}),n.d(e,"H",function(){return Qt}),n.d(e,"I",function(){return u}),n.d(e,"J",function(){return Wt}),n.d(e,"K",function(){return i}),n.d(e,"L",function(){return gt}),n.d(e,"M",function(){return o}
1);var r=n("8Y7J");let s=null;function i(){return s}function o(t){s||(s=t)}class u{}const a=new r.q("DocumentToken");let c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Gb)({factory:l,token:t,providedIn:"platform"}),t})();function l(){return Object(r.Xb)(d)}const h=new r.q("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=i().getLocation(),this._history=i().getHistory()}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(t){i().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){i().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){f()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){f()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(a))},t.\u0275prov=Object(r.Gb)({factory:p,token:t,providedIn:"platform"}),t})();function f(){return!!window.history.pushState}function p(){return new d(Object(r.Xb)(a))}function m(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 g(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 y(t){return t&&"?"!==t[0]?"?"+t:t}let b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Gb)({factory:v,token:t,providedIn:"root"}),t})();function v(t){const e=Object(r.Xb)(a).location;return new w(Object(r.Xb)(c),e&&e.origin||"")}const _=new r.q("appBaseHref");let w=(()=>{class t extends b{constructor(t,e){if(super(),this._platformLocation=t,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}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}
1getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+y(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+y(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+y(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(c),r.Xb(_,8))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})(),E=(()=>{class t extends b{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){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=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+y(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+y(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(c),r.Xb(_,8))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t{constructor(t,e){this._subject=new r.n,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(D(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+y(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,D(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+y(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+y(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}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)(r.Xb(b),r.Xb(c))},t.normalizeQueryParams=y,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=Object(r.Gb)({factory:C,token:t,providedIn:"root"}),t})();function C(){return new S(Object(r.Xb)(b),Object(r.Xb)(c))}function D(t){return t.replace(/\/index.html$/,"")}const A={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var x=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scie
vendor: 24,508 bytes, line 1
1ntific=3]="Scientific",t}({}),O=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}({}),T=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),k=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),F=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),j=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function I(t,e,n){const s=Object(r.hb)(t),i=V([s[r.Y.DayPeriodsFormat],s[r.Y.DayPeriodsStandalone]],e);return V(i,n)}function P(t,e,n){const s=Object(r.hb)(t),i=V([s[r.Y.DaysFormat],s[r.Y.DaysStandalone]],e);return V(i,n)}function R(t,e,n){const s=Object(r.hb)(t),i=V([s[r.Y.MonthsFormat],s[r.Y.MonthsStandalone]],e);return V(i,n)}function N(t,e){return V(Object(r.hb)(t)[r.Y.DateFormat],e)}function L(t,e){return V(Object(r.hb)(t)[r.Y.TimeFormat],e)}function M(t,e){return V(Object(r.hb)(t)[r.Y.DateTimeFormat],e)}function B(t,e){const n=Object(r.hb)(t),s=n[r.Y.NumberSymbols][e];if(void 0===s){if(e===j.CurrencyDecimal)return n[r.Y.NumberSymbols][j.Decimal];if(e===j.CurrencyGroup)return n[r.Y.NumberSymbols][j.Group]}return s}function H(t,e){return Object(r.hb)(t)[r.Y.NumberFormats][e]}const U=r.kb;function $(t){if(!t[r.Y.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[r.Y.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function V(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function q(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const z=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,G={},K=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var W=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),Q=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),Y=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function X(t,e,n,r){let s=function(t){if(ct(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,r]=t.split("-").map(t=>+t);return new Date(e,n-1,r)}let n;if(n=t.match(z))return function(t){const e=new Date(0);let n=0,r=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),r=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,u=Number(t[5]||0)-r,a=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,o,u,a,c),e}(n)}const e=new Date(t);if(!ct(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=Z(n,e)||e;let i,o=[];for(;e;){if(i=K.exec(e),!i){o.push(e);break}{o=o.concat(i.slice(1));const t=o.pop();if(!t)break;e=t}}let u=s.getTimezoneOffset();r&&(u=at(r,u),s=function(t,e,n){const r=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(at(e,r)-r))}(s,r));let a="";return o.forEach(t=>{const e=function(t){if(ut[t])return ut[t];let e;switch(t){case"G":case"GG":case"GGG":e=nt(Y.Eras,k.Abbreviated);break;case"GGGG":e=nt(Y.Eras,k.Wide);break;case"GGGGG":e=nt(Y.Eras,k.Narrow);break;case"y":e=et(Q.FullYear,1,0,!1,!0);break;case"yy":e=et(Q.FullYear,2,0,!0,!0);break;case"yyy":e=et(Q.FullYear,3,0,!1,!0);break;case"yyyy":e=et(Q.FullYear,4,0,!1,!0);break;case"Y":e=ot(1);break;case"YY":e=ot(2,!0);break;case"YYY":e=ot(3);break;case"YYYY":e=ot(4);break;case"M":case"L":e=et(Q.Month,1,1);break;case"MM":case"LL":e=et(Q.Month,2,1);break;case"MMM":e=nt(Y.Months,k.Abbreviated);break;case"MMMM":e=nt(Y.Months,k.Wide);break;case"MMMMM":e=nt(Y.Months,k.Narrow);break;case"LLL":e=nt(Y.Months,k.Abbreviated,T.Standalone);break;case"LLLL":e=nt(Y.Months,k.Wide,T.Standalone);break;case"LLLLL":e=nt(Y.Months,k.Narrow,T.Standalone);break;case"w":e=it(1);break;case"ww":e=it(2);break;case"W":e=it(1,!0);break;case"d":e=et(Q.Date,1);break;case"dd":e=et(Q.Date,2);break;case"E":case"EE":case"EEE":e=nt(Y.Days,k.Abbreviated);break;case"EEEE":e=nt(Y.Days,k.Wide);break;case"EEEEE":e=nt(Y.Days,k.Narrow);break;case"EEEEEE":e=nt(Y.Days,k.Short);break;case"a":case"aa":case"aaa":e=nt(Y.DayPeriods,k.Abbreviated);break;case"aaaa":e=nt(Y.DayPeriods,k.Wide);break;case"aaaaa":e=nt(Y.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":e=nt(Y.DayPeriods,k.Abbreviated,T.Standalone,!0);break;case"bbbb":e=nt(Y.DayPeriods,k.Wide,T.Standalone,!0);break;case"bbbbb":e=nt(Y.DayPeriods,k.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":e=nt(Y.DayPeriods,k.Abbreviated,T.Format,!0);break;case"BBBB":e=nt(Y.DayPeriods,k.Wide,T.Format,!0);break;case"BBBBB":e=nt(Y.DayPeriods,k.Narrow,T.Format,!0);break;case"h":e=et(Q.Hours,1,-12);break;case"hh":e=et(Q.Hours,2,-12);break;case"H":e=et(Q.Hours,1);break;case"HH":e=et(Q.Hours,2);break;case"m":e=et(Q.Minutes,1);break;case"mm":e=et(Q.Minutes,2);break;case"s":e=et(Q.Seconds,1);break;case"ss":e=et(Q.Seconds,2);break;case"S":e=et(Q.FractionalSeconds,1);break;case"SS":e=et(Q.FractionalSeconds,2);break;case"SSS":e=et(Q.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=rt(W.Short);break;case"ZZZZZ":e=rt(W.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=rt(W.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=rt(W.Long);break;default:return null}return ut[t]=e,e}(t);a+=e?e(s,n,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),a}function Z(t,e){const n=function(t){return Object(r.hb)(t)[r.Y.LocaleId]}(t);if(G[n]=G[n]||{},G[n][e])return G[n][e];let s="";switch(e){case"shortDate":s=N(t,F.Short);break;case"mediumDate":s=N(t,F.Medium);break;case"longDate":s=N(t,F.Long);break;case"fullDate":s=N(t,F.Full);break;case"shortTime":s=L(t,F.Short);break;case"mediumTime":s=L(t,F.Medium);break;case"longTime":s=L(t,F.Long);break;case"fullTime":s=L(t,F.Full);break;case"short":const e=Z(t,"shortTime"),n=Z(t,"shortDate");s=J(M(t,F.Short),[e,n]);break;case"medium":const r=Z(t,"mediumTime"),i=Z(t,"mediumDate");s=J(M(t,F.Medium),[r,i]);break;case"long":const o=Z(t,"longTime"),u=Z(t,"longDate");s=J(M(t,F.Long),[o,u]);break;case"full":const a=Z(t,"fullTime"),c=Z(t,"fullDate");s=J(M(t,F.Full),[a,c])}return s&&(G[n][e]=s),s}function J(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function tt(t,e,n="-",r,s){let i="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,i=n));let o=String(t);for(;o.length<e;)o="0"+o;return r&&(o=o.substr(o.length-e)),i+o}function et(t,e,n=0,r=!1,s=!1){return function(i,o){let u=function(t,e){switch(t){case Q.FullYear:return e.getFullYear();case Q.Month:return e.getMonth();case Q.Date:return e.getDate();case Q.Hours:return e.getHours();case Q.Minutes:return e.getMinutes();case Q.Seconds:return e.getSeconds();case Q.FractionalSeconds:return e.getMilliseconds();case Q.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,i);if((n>0||u>-n)&&(u+=n),t===Q.Hours)0===u&&-12===n&&(u=12);else if(t===Q.FractionalSeconds)return a=e,tt(u,3).substr(0,a);var a;const c=B(o,j.MinusSign);return tt(u,e,c,r,s)}}function nt(t,e,n=T.Format,s=!1){return function(i,o){return function(t,e,n,s,i,o){switch(n){case Y.Months:return R(e,i,s)[t.getMonth()];case Y.Days:return P(e,i,s)[t.getDay()];case Y.DayPeriods:const u=t.getHours(),a=t.getMinutes();if(o){const t=function(t){const e=Object(r.hb)(t);return $(e),(e[r.Y.ExtraData][2]||[]).map(t=>"string"==typeof t?q(t):[q(t[0]),q(t[1])])}(e),n=function(t,e,n){const s=Object(r.hb)(t);$(s);const i=V([s[r.Y.ExtraData][0],s[r.Y.ExtraData][1]],e)||[];return V(i,n)||[]}(e,i,s),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,r=u>=e.hours&&a>=e.minutes,s=u<n.hours||u===n.hours&&a<n.minutes;if(e.hours<n.hours){if(r&&s)return!0}else if(r||s)return!0}else if(t.hours===u&&t.minutes===a)return!0;return!1});if(-1!==o)return n[o]}return I(e,i,s)[u<12?0:1];case Y.Eras:return function(t,e){return V(Object(r.hb)(t)[r.Y.Eras],e)}(e,s)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(i,o,t,e,n,s)}}function rt(t){return function(e,n,r){const s=-1*r,i=B(n,j.MinusSign),o=s>0?Math.floor(s/60):Math.ceil(s/60);switch(t){case W.Short:return(s>=0?"+":"")+tt(o,2,i)+tt(Math.abs(s%60),2,i);case W.ShortGMT:return"GMT"+(s>=0?"+":"")+tt(o,1,i);case W.Long:return"GMT"+(s>=0?"+":"")+tt(o,2,i)+":"+tt(Math.abs(s%60),2,i);case W.Extended:return 0===r?"Z":(s>=0?"+":"")+tt(o,2,i)+":"+tt(Math.abs(s%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}function st(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function it(t,e=!1){return function(n,r){let s;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();s=1+Math.floor((e+t)/7)}else{const t=st(n),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),r=t.getTime()-e.getTime();s=1+Math.round(r/6048e5)}return tt(s,t,B(r,j.MinusSign))}}function ot(t,e=!1){return function(n,r){return tt(st(n).getFullYear(),t,B(r,j.MinusSign),e)}}const ut={};function at(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function ct(t){return t instanceof Date&&!isNaN(t.valueOf())}const lt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ht(t,e,n,r,s,i,o=!1){let u="",a=!1;if(isFinite(t)){let c=function(t){let e,n,r,s,i,o=Math.abs(t)+"",u=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length),r=0;"0"===o.charAt(r);r++);if(r===(i=o.length))e=[0],n=1;else{for(i--;"0"===o.charAt(i);)i--;for(n-=r,e=[],s=0;r<=i;r++,s++)e[s]=Number(o.charAt(r))}return n>22&&(e=e.splice(0,21),u=n-1,n=1),{digits:e,exponent:u,integerLen:n}}(t);o&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let l=e.minInt,h=e.minFrac,d=e.maxFrac;if(i){const t=i.match(lt);if(null===t)throw new Error(`${i} is not a valid digit info`);const e=t[1],n=t[3],r=t[5];null!=e&&(l=ft(e)),null!=n&&(h=ft(n)),null!=r?d=ft(r):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let r=t.digits,s=r.length-t.integerLen;const i=Math.min(Math.max(e,s),n);let o=i+t.integerLen,u=r[o];if(o>0){r.splice(Math.max(t.integerLen,o));for(let t=o;t<r.length;t++)r[t]=0}else{s=Math.max(0,s),t.integerLen=1,r.length=Math.max(1,o=i+1),r[0]=0;for(let t=1;t<o;t++)r[t]=0}if(u>=5)if(o-1<0){for(let e=0;e>o;e--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[o-1]++;for(;s<Math.max(0,i);s++)r.push(0);let a=0!==i;const c=e+t.integerLen,l=r.reduceRight(function(t,e,n,r){return r[n]=(e+=t)<10?e:e-10,a&&(0===r[n]&&n>=c?r.pop():a=!1),e>=10?1:0},0);l&&(r.unshift(l),t.integerLen++)}(c,h,d);let f=c.digits,p=c.integerLen;const m=c.exponent;let g=[];for(a=f.every(t=>!t);p<l;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?g=f.splice(p,f.length):(g=f,f=[0]);const y=[];for(f.length>=e.lgSize&&y.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)y.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&y.unshift(f.join("")),u=y.join(B(n,r)),g.length&&(u+=B(n,s)+g.join("")),m&&(u+=B(n,j.Exponential)+"+"+m)}else u=B(n,j.Infinity);return u=t<0&&!a?e.negPre+u+e.negSuf:e.posPre+u+e.posSuf,u}function dt(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(";"),s=r[0],i=r[1],o=-1!==s.indexOf(".")?s.split("."):[s.substring(0,s.lastIndexOf("0")+1),s.substring(s.lastIndexOf("0")+1)],u=o[0],a=o[1]||"";n.posPre=u.substr(0,u.indexOf("#"));for(let l=0;l<a.length;l++){const t=a.charAt(l);"0"===t?n.minFrac=n.maxFrac=l+1:"#"===t?n.maxFrac=l+1:n.posSuf+=t}const c=u.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){const t=s.length-n.posPre.length-n.posSuf.length,e=i.indexOf("#");n.negPre=i.substr(0,e).replace(/'/g,""),n.negSuf=i.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}function ft(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class pt{}let mt=(()=>{class t extends pt{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(U(e||this.locale)(t)){case O.Zero:return"zero";case O.One:return"one";case O.Two:return"two";case O.Few:return"few";case O.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(r.u))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})();function gt(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 yt=(()=>{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&&(Object(r.nb)(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 ${Object(r.sb)(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)(r.Kb(r.s),r.Kb(r.t),r.Kb(r.l),r.Kb(r.D))},t.\u0275dir=r.Fb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class bt{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 vt=(()=>{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 bt(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new _t(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 _t(t,s);e.push(i)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=r,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{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)(r.Kb(r.O),r.Kb(r.K),r.Kb(r.s))},t.\u0275dir=r.Fb({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class _t{constructor(t,e){this.record=t,this.view=e}}let wt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Et,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){St("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){St("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(r.Kb(r.O),r.Kb(r.K))},t.\u0275dir=r.Fb({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Et{constructor(){this.$implicit=null,this.ngIf=null}}function St(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(r.sb)(e)}'.`)}class Ct{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Dt=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Fb({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),At=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new Ct(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(r.Kb(r.O),r.Kb(r.K),r.Kb(Dt,1))},t.\u0275dir=r.Fb({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),xt=(()=>{class t{constructor(t,e,n){n._addDefault(new Ct(t,e))}}return t.\u0275fac=function(e){return new(e||t)(r.Kb(r.O),r.Kb(r.K),r.Kb(Dt,1))},t.\u0275dir=r.Fb({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),Ot=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split(".");null!=(e=null!=e&&r?`${e}${r}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(r.Kb(r.l),r.Kb(r.t),r.Kb(r.D))},t.\u0275dir=r.Fb({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),Tt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(r.Kb(r.O))},t.\u0275dir=r.Fb({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.vb]}),t})();function kt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(r.sb)(t)}'`)}class Ft{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class jt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const It=new jt,Pt=new Ft;let Rt=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Object(r.pb)(e))return It;if(Object(r.ob)(e))return Pt;throw kt(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(r.Zb())},t.\u0275pipe=r.Jb({name:"async",type:t,pure:!1}),t})();const Nt
vendor: 7,071 bytes, line 1
1=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g;let 
1Lt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw kt(t,e);return e.replace(Nt,t=>t[0].toUpperCase()+t.substr(1).toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Jb({name:"titlecase",type:t,pure:!0}),t})(),Mt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw kt(t,e);return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Jb({name:"uppercase",type:t,pure:!0}),t})(),Bt=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",r,s){if(null==e||""===e||e!=e)return null;try{return X(e,n,s||this.locale,r)}catch(i){throw kt(t,i.message)}}}return t.\u0275fac=function(e){return new(e||t)(r.Kb(r.u))},t.\u0275pipe=r.Jb({name:"date",type:t,pure:!0}),t})(),Ht=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Jb({name:"json",type:t,pure:!1}),t})(),Ut=(()=>{class t{constructor(t){this._locale=t}transform(e,n,r){if(!qt(e))return null;r=r||this._locale;try{return function(t,e,n){return ht(t,dt(H(e,x.Decimal),B(e,j.MinusSign)),e,j.Group,j.Decimal,n)}(zt(e),r,n)}catch(s){throw kt(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(r.Kb(r.u))},t.\u0275pipe=r.Jb({name:"number",type:t,pure:!0}),t})(),$t=(()=>{class t{constructor(t){this._locale=t}transform(e,n,r){if(!qt(e))return null;r=r||this._locale;try{return function(t,e,n){return ht(t,dt(H(e,x.Percent),B(e,j.MinusSign)),e,j.Group,j.Decimal,n,!0).replace(new RegExp("%","g"),B(e,j.PercentSign))}(zt(e),r,n)}catch(s){throw kt(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(r.Kb(r.u))},t.\u0275pipe=r.Jb({name:"percent",type:t,pure:!0}),t})(),Vt=(()=>{class t{constructor(t,e="USD"){this._locale=t,this._defaultCurrencyCode=e}transform(e,n,s="symbol",i,o){if(!qt(e))return null;o=o||this._locale,"boolean"==typeof s&&(s=s?"symbol":"code");let u=n||this._defaultCurrencyCode;"code"!==s&&(u="symbol"===s||"symbol-narrow"===s?function(t,e,n="en"){const s=function(t){return Object(r.hb)(t)[r.Y.Currencies]}(n)[t]||A[t]||[],i=s[1];return"narrow"===e&&"string"==typeof i?i:s[0]||t}(u,"symbol"===s?"wide":"narrow",o):s);try{return function(t,e,n,r,s){const i=dt(H(e,x.Currency),B(e,j.MinusSign));return i.minFrac=function(t){let e;const n=A[t];return n&&(e=n[2]),"number"==typeof e?e:2}(r),i.maxFrac=i.minFrac,ht(t,i,e,j.CurrencyGroup,j.CurrencyDecimal,s).replace("\xa4",n).replace("\xa4","").trim()}(zt(e),o,u,n,i)}catch(a){throw kt(t,a.message)}}}return t.\u0275fac=function(e){return new(e||t)(r.Kb(r.u),r.Kb(r.k))},t.\u0275pipe=r.Jb({name:"currency",type:t,pure:!0}),t})();function qt(t){return!(null==t||""===t||t!=t)}function zt(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}let Gt=(()=>{class t{transform(e,n,r){if(null==e)return null;if(!this.supports(e))throw kt(t,e);return e.slice(n,r)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Jb({name:"slice",type:t,pure:!1}),t})(),Kt=(()=>{class t{}return t.\u0275mod=r.Ib({type:t}),t.\u0275inj=r.Hb({factory:function(e){return new(e||t)},providers:[{provide:pt,useClass:mt}]}),t})();const Wt="browser";function Qt(t){return t===Wt}let Yt=(()=>{class t{}return t.\u0275prov=Object(r.Gb)({token:t,providedIn:"root",factory:()=>new Xt(Object(r.Xb)(a),window)}),t})();class Xt{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){var e;if(!this.supportsScrolling())return;const n=null!==(e=this.document.getElementById(t))&&void 0!==e?e:this.document.getElementsByName(t)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}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=Zt(this.window.history)||Zt(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 Zt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}},SeVD:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n("ngJS"),s=n("NJ4a"),i=n("Lhse"),o=n("kJWO"),u=n("I55L"),a=n("c2HN"),c=n("XoHu");const l=t=>{if(t&&"function"==typeof t[o.a])return l=t,t=>{const e=l[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(u.a)(t))return Object(r.a)(t);if(Object(a.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s.a),t);
1if(t&&"function"==typeof t[i.a])return e=t,t=>{const n=e[i.a]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(c.a)(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,l}},SpAZ:function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",function(){return r})},SxV6:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("sVev"),s=n("pLZG"),i=n("IzEk"),o=n("xbPD"),u=n("XDbj"),a=n("SpAZ");function c(t,e){const n=arguments.length>=2;return c=>c.pipe(t?Object(s.a)((e,n)=>t(e,n,c)):a.a,Object(i.a)(1),n?Object(o.a)(e):Object(u.a)(()=>new r.a))}},UXun:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("jtHE");function s(t,e,n){let s;return s=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:s}){let i,o,u=0,a=!1,c=!1;return function(l){u++,i&&!a||(a=!1,i=new r.a(t,e,s),o=l.subscribe({next(t){i.next(t)},error(t){a=!0,i.error(t)},complete(){c=!0,o=void 0,i.complete()}}));const h=i.subscribe(this);this.add(()=>{u--,h.unsubscribe(),o&&!c&&n&&0===u&&(o.unsubscribe(),o=void 0,i=void 0)})}}(s))}},VRyK:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("HDdC"),s=n("z+Ro"),i=n("bHdf"),o=n("yCtX");function u(...t){let e=Number.POSITIVE_INFINITY,n=null,u=t[t.length-1];return Object(s.a)(u)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof u&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof r.a?t[0]:Object(i.a)(e)(Object(o.a)(t,n))}},WMd4:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("EY2u"),s=n("LRne"),i=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(s.a)(this.value);case"E":return Object(i.a)(this.error);case"C":return Object(r.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},XDbj:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("sVev"),s=n("7o/Q");function i(t=a){return e=>e.lift(new o(t))}class o{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new u(t,this.errorFactory))}}class u extends s.a{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 a(){return new r.a}},XNiG:function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"a",function(){return l});var r=n("HDdC"),s=n("7o/Q"),i=n("quSY"),o=n("9ppp"),u=n("Ylt2"),a=n("2QA8");class c extends s.a{constructor(t){super(t),this.destination=t}}let l=(()=>{class t extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[a.a](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].next(t)}}error(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),i.a.EMPTY):this.isStopped?(t.complete(),i.a.EMPTY):(this.observers.push(t),new u.a(this,t))}asObservable(){const t=new r.a;return t.source=this,t}}return t.create=(t,e)=>new h(t,e),t})();class h extends l{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):i.a.EMPTY}}},XoHu:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return r})},"Xwq/":function(t,e,n){"use strict";var r=n("FWf1"),s=n("p//D"),i=n("GiSu");e.toSubscriber=function(t,e,n){if(t){if(t instanceof r.Subscriber)return t;if(t[s.rxSubscriber])return t[s.rxSubscriber]()}return t||e||n?new r.Subscriber(t,e,n):new r.Subscriber(i.empty)}},Y6u4:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=(()=>{function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t})()},Ylt2:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("quSY");class s extends r.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}
1unsubscribe(){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)}}},ZUHj:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("51Dv"),s=n("SeVD"),i=n("HDdC");function o(t,e,n,o,u=new r.a(t,n,o)){if(!u.closed)return e instanceof i.a?e.subscribe(u):Object(s.a)(e)(u)}},bHdf:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("5+tZ"),s=n("SpAZ");function i(t=Number.POSITIVE_INFINITY){return Object(r.a)(s.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("5+tZ");function s(t,e){return Object(r.a)(t,e,1)}},c2HN:function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return r})},cUpR:function(t,e,n){"use strict";n.d(e,"a",function(){return L}),n.d(e,"b",function(){return F}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return B}),n.d(e,"e",function(){return R}),n.d(e,"f",function(){return w});var r=n("SVse"),s=n("8Y7J");class i extends r.I{constructor(){super()}supportsDOMEvents(){return!0}}class o extends i{static makeCurrent(){Object(r.M)(new o)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}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}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=a||(a=document.querySelector("base"),a)?a.getAttribute("href"):null;return null==e?null:(n=e,u||(u=document.createElement("a")),u.setAttribute("href",n),"/"===u.pathname.charAt(0)?u.pathname:"/"+u.pathname);var n}resetBaseElement(){a=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(r.L)(document.cookie,t)}}let u,a=null;const c=new s.q("TRANSITION_ID"),l=[{provide:s.d,useFactory:function(t,e,n){return()=>{n.get(s.e).donePromise.then(()=>{const n=Object(r.K)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,r.e,s.r],multi:!0}];class h{static init(){Object(s.V)(new h)}addToWindow(t){s.mb.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},s.mb.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.mb.getAllAngularRootElements=()=>t.getAllRootElements(),s.mb.frameworkStabilizers||(s.mb.frameworkStabilizers=[]),s.mb.frameworkStabilizers.push(t=>{const e=s.mb.getAllAngularTestabilities();let n=e.length,r=!1;const i=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(i)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?Object(r.K)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const d=new s.q("EventManagerPlugins");let f=(()=>{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<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(d),s.Xb(s.z))},t.\u0275prov=s.Gb({token:t,factory:t.\u0275fac}),t})();class p{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const s=Object(r.K)().getGlobalEventTarget(this._doc,t);if(!s)throw new Error(`Unsupported event target ${s} for event ${e}`);return this.addEventListener(s,e,n)}}let m=(()=>{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=s.Gb({token:t,factory:t.\u0275fac}),t})(),g=(()=>{class t extends m{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}
1onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(r.K)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(r.e))},t.\u0275prov=s.Gb({token:t,factory:t.\u0275fac}),t})();const y={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/"},b=/%COMP%/g;function v(t,e,n){for(let r=0;r<e.length;r++){let s=e[r];Array.isArray(s)?v(t,s,n):(s=s.replace(b,t),n.push(s))}return n}function _(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let w=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new E(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.P.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new S(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case s.P.ShadowDom:return new C(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=v(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)(s.Xb(f),s.Xb(g),s.Xb(s.c))},t.\u0275prov=s.Gb({token:t,factory:t.\u0275fac}),t})();class E{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(y[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=y[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=y[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&(s.F.DashCase|s.F.Important)?t.style.setProperty(e,n,r&s.F.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&s.F.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,_(n)):this.eventManager.addEventListener(t,e,_(n))}}class S extends E{constructor(t,e,n,r){super(t),this.component=n;const s=v(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(b,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(b,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 C extends E{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=v(r.id,r.styles,[]);for(let i=0;i<s.length;i++){const t=document.createElement("style");t.textContent=s[i],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let D=(()=>{class t extends p{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)(s.Xb(r.e))},t.\u0275prov=s.Gb({token:t,factory:t.\u0275fac}),t})();const A=["alt","control","meta","shift"],x={"\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"},O={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"},T={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let k=(()=>{class t extends p{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const i=t.parseEventName(n),o=t.eventCallback(i.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(r.K)().onAndCancel(e,i.domEventName,o))}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(A.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&&O.hasOwnProperty(e)&&(e=O[e]))}return x[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),A.forEach(r=>{r!=n&&(0,T[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){return"esc"===t?"escape":t}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(r.e))},t.\u0275prov=s.Gb({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(s.Gb)({factory:function(){return Object(s.Xb)(I)},token:t,providedIn:"root"}),t})();function j(t){return new I(t.get(r.e))}let I=(()=>{class t extends F{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.H.NONE:return e;case s.H.HTML:return Object(s.bb)(e,"HTML")?Object(s.tb)(e):Object(s.Z)(this._doc,String(e));case s.H.STYLE:return Object(s.bb)(e,"Style")?Object(s.tb)(e):e;case s.H.SCRIPT:if(Object(s.bb)(e,"Script"))return Object(s.tb)(e);throw new Error("unsafe value used in a script context");case s.H.URL:return Object(s.lb)(e),Object(s.bb)(e,"URL")?Object(s.tb)(e):Object(s.ab)(String(e));case s.H.RESOURCE_URL:if(Object(s.bb)(e,"ResourceURL"))return Object(s.tb)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(s.cb)(t)}bypassSecurityTrustStyle(t){return Object(s.fb)(t)}bypassSecurityTrustScript(t){return Object(s.eb)(t)}bypassSecurityTrustUrl(t){return Object(s.gb)(t)}bypassSecurityTrustResourceUrl(t){return Object(s.db)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(r.e))},t.\u0275prov=Object(s.Gb)({factory:function(){return j(Object(s.Xb)(s.o))},token:t,providedIn:"root"}),t})();const P=[{provide:s.B,useValue:r.J},{provide:s.C,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:r.e,useFactory:function(){return Object(s.rb)(document),document},deps:[]}],R=Object(s.Q)(s.U,"browser",P),N=[[],{provide:s.X,useValue:"root"},{provide:s.m,useFactory:function(){return new s.m},deps:[]},{provide:d,useClass:D,multi:!0,deps:[r.e,s.z,s.B]},{provide:d,useClass:k,multi:!0,deps:[r.e]},[],{provide:w,useClass:w,deps:[f,g,s.c]},{provide:s.E,useExisting:w},{provide:m,useExisting:g},{provide:g,useClass:g,deps:[r.e]},{provide:s.L,useClass:s.L,deps:[s.z]},{provide:f,useClass:f,deps:[d,s.z]},[]];let L=(()=>{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:s.c,useValue:e.appId},{provide:c,useExisting:s.c},l]}}}return t.\u0275mod=s.Ib({type:t}),t.\u0275inj=s.Hb({factory:function(e){return new(e||t)(s.Xb(t,12))},providers:N,imports:[r.c,s.f]}),t})();function M(){return new B(Object(s.Xb)(r.e))}let B=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(r.e))},t.\u0275prov=Object(s.Gb)({factory:M,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},eIep:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("l7GE"),s=n("51Dv"),i=n("ZUHj"),o=n("lJxs"),u=n("Cfvw");function a(t,e){return"function"==typeof e?n=>n.pipe(a((n,r)=>Object(u.a)(t(n,r)).pipe(Object(o.a)((t,s)=>e(n,t,r,s))))):e=>e.lift(new c(t))}class c{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends r.a{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,t,n)}_innerSub(t,e,n){const r=this.innerSubscription;r&&r.unsubscribe();const o=new s.a(this,e,n),u=this.destination;u.add(o),this.innerSubscription=Object(i.a)(this,t,void 0,void 0,o),this.innerSubscription!==o&&u.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,r,s){this.destination.next(e)}}},gRHU:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("2fFW"),s=n("NJ4a");const i={closed:!0,next(t){},error(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(s.a)(t)},complete(){}}},iInd:function(t,e,n){"use strict";n.d(e,"a",function(){return Nt}),n.d(e,"b",function(){return R}),n.d(e,"c",function(){return P}),n.d(e,"d",function(){return N}),n.d(e,"e",function(){return I}),n.d(e,"f",function(){return V}),n.d(e,"g",function(){return $}),n.d(e,"h",function(){return on}),n.d(e,"i",function(){return un}),n.d(e,"j",function(){return ln}),n.d(e,"k",function(){return an}),n.d(e,"l",function(){return wn}),n.d(e,"m",function(){return hn});var r=n("SVse"),s=n("8Y7J"),i=n("Cfvw"),o=n("LRne"),u=n("2Vo4"),a=n("itXk"),c=n("HDdC"),l=n("sVev"),h=n("EY2u");function d(t){return new c.a(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?Object(i.a)(n):Object(h.b)()).subscribe(e)})}var f=n("XNiG"),p=n("lJxs"),m=n("eIep"),g=n("IzEk"),y=n("JX91"),b=n("Kqap"),v=n("pLZG"),_=n("JIr8"),w=n("bOdf"),E=n("BFxc"),S=n("XDbj"),C=n("xbPD"),D=n("SpAZ"),A=n("SxV6"),x=n("5+tZ"),O=n("vkgz"),T=n("0EUg"),k=n("nYR2"),F=n("bHdf");class j{constructor(t,e){this.id=t,this.url=e}}class I extends j{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 P extends j{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class R extends j{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class N extends j{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class L extends j{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 M extends j{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 B extends j{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 H extends j{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 U extends j{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 ${constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class V{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class q{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class z{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class G{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class W{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}')`}}class Q{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 Y(t){return new Q(t)}function X(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Z(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const s={};for(let i=0;i<r.length;i++){const e=r[i],n=t[i];if(e.startsWith(":"))s[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,r.length),posParams:s}}function J(t,e){const n=Object.keys(t),r=Object.keys(e);if(!n||!r||n.length!=r.length)return!1;let s;for(let i=0;i<n.length;i++)if(s=n[i],!tt(t[s],e[s]))return!1;return!0}function tt(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((t,e)=>r[e]===t)}return t===e}function et(t){return Array.prototype.concat.apply([],t)}function nt(t){return t.length>0?t[t.length-1]:null}function rt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function st(t){return Object(s.ob)(t)?t:Object(s.pb)(t)?Object(i.a)(Prom
1ise.resolve(t)):Object(o.a)(t)}function it(t,e,n){return n?function(t,e){return J(t,e)}(t.queryParams,e.queryParams)&&ot(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>tt(t[n],e[n]))}(t.queryParams,e.queryParams)&&ut(t.root,e.root)}function ot(t,e){if(!dt(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!ot(t.children[n],e.children[n]))return!1}return!0}function ut(t,e){return at(t,e,e.segments)}function at(t,e,n){if(t.segments.length>n.length)return!!dt(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!dt(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!ut(t.children[n],e.children[n]))return!1}return!0}{const r=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!dt(t.segments,r)&&!!t.children.primary&&at(t.children.primary,e,s)}}class ct{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Y(this.queryParams)),this._queryParamMap}toString(){return mt.serialize(this)}}class lt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,rt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gt(this)}}class ht{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Y(this.parameters)),this._parameterMap}toString(){return St(this)}}function dt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class ft{}class pt{parse(t){const e=new Ot(t);return new ct(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${yt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${vt(e)}=${vt(t)}`).join("&"):`${vt(e)}=${vt(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const mt=new pt;function gt(t){return t.segments.map(t=>St(t)).join("/")}function yt(t,e){if(!t.hasChildren())return gt(t);if(e){const e=t.children.primary?yt(t.children.primary,!1):"",n=[];return rt(t.children,(t,e)=>{"primary"!==e&&n.push(`${e}:${yt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return rt(t.children,(t,r)=>{"primary"===r&&(n=n.concat(e(t,r)))}),rt(t.children,(t,r)=>{"primary"!==r&&(n=n.concat(e(t,r)))}),n}(t,(e,n)=>"primary"===n?[yt(t.children.primary,!1)]:[`${n}:${yt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${gt(t)}/${e[0]}`:`${gt(t)}/(${e.join("//")})`}}function bt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function vt(t){return bt(t).replace(/%3B/gi,";")}function _t(t){return bt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function wt(t){return decodeURIComponent(t)}function Et(t){return wt(t.replace(/\+/g,"%20"))}function St(t){return`${_t(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${_t(t)}=${_t(e[t])}`).join("")}`;var e}const Ct=/^[^\/()?;=#]+/;function Dt(t){const e=t.match(Ct);return e?e[0]:""}const At=/^[^=?&#]+/,xt=/^[^?&#]+/;class Ot{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new lt([],{}):new lt([],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 lt(t,e)),n}parseSegment(){const t=Dt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new ht(wt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Dt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Dt(this.remaining);t&&(n=t,this.capture(n))}t[wt(e)]=wt(n)}parseQueryParam(t){const e=function(t){const e=t.match(At);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(xt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=Et(e),s=Et(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=Dt(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="primary");const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new lt([],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 Tt{constructor(t){this._root=t}get root(){return this._root.value}
1parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=kt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=kt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Ft(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Ft(t,this._root).map(t=>t.value)}}function kt(t,e){if(t===e.value)return e;for(const n of e.children){const e=kt(t,n);if(e)return e}return null}function Ft(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Ft(t,n);if(r.length)return r.unshift(e),r}return[]}class jt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function It(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Pt extends Tt{constructor(t,e){super(t),this.snapshot=e,Ht(this,t)}toString(){return this.snapshot.toString()}}function Rt(t,e){const n=function(t,e){const n=new Mt([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Bt("",new jt(n,[]))}(t,e),r=new u.a([new ht("",{})]),s=new u.a({}),i=new u.a({}),o=new u.a({}),a=new u.a(""),c=new Nt(r,s,o,a,i,"primary",e,n.root);return c.snapshot=n.root,new Pt(new jt(c,[]),n)}class Nt{constructor(t,e,n,r,s,i,o,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=u}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(Object(p.a)(t=>Y(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(p.a)(t=>Y(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Lt(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 Mt{constructor(t,e,n,r,s,i,o,u,a,c,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=u,this._urlSegment=a,this._lastPathIndex=c,this._resolve=l}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=Y(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Y(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bt extends Tt{constructor(t,e){super(e),this.url=t,Ht(this,e)}toString(){return Ut(this._root)}}function Ht(t,e){e.value._routerState=t,e.children.forEach(e=>Ht(t,e))}function Ut(t){const e=t.children.length>0?` { ${t.children.map(Ut).join(", ")} } `:"";return`${t.value}${e}`}function $t(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,J(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),J(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!J(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),J(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Vt(t,e){const n=J(t.params,e.params)&&dt(r=t.url,s=e.url)&&r.every((t,e)=>J(t.parameters,s[e].parameters));var r,s;return n&&!(!t.parent!=!e.parent)&&(!t.parent||Vt(t.parent,e.parent))}function qt(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 qt(t,e,r);return qt(t,e)})}(t,e,n);return new jt(r,s)}{const n=t.retrieve(e.value);if(n){const t=n.route;return zt(e,t),t}{const n=new Nt(new u.a((r=e.value).url),new u.a(r.params),new u.a(r.queryParams),new u.a(r.fragment),new u.a(r.data),r.outlet,r.component,r),s=e.children.map(e=>qt(t,e));return new jt(n,s)}}var r}function zt(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");
1if(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<t.children.length;++n)zt(t.children[n],e.children[n])}function Gt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Kt(t){return"object"==typeof t&&null!=t&&t.outlets}function Wt(t,e,n,r,s){let i={};return r&&rt(r,(t,e)=>{i[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new ct(n.root===t?e:Qt(n.root,t,e),i,s)}function Qt(t,e,n){const r={};return rt(t.children,(t,s)=>{r[s]=t===e?n:Qt(t,e,n)}),new lt(t.segments,r)}class Yt{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Gt(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Kt);if(r&&r!==nt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xt{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Zt(t,e,n){if(t||(t=new lt([],{})),0===t.segments.length&&t.hasChildren())return Jt(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(r>=n.length)return i;const e=t.segments[s],o=n[r];if(Kt(o))break;const u=`${o}`,a=r<n.length-1?n[r+1]:null;if(s>0&&void 0===u)break;if(u&&a&&"object"==typeof a&&void 0===a.outlets){if(!re(u,a,e))return i;r+=2}else{if(!re(u,{},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<t.segments.length){const e=new lt(t.segments.slice(0,r.pathIndex),{});return e.children.primary=new lt(t.segments.slice(r.pathIndex),t.children),Jt(e,0,s)}return r.match&&0===s.length?new lt(t.segments,{}):r.match&&!t.hasChildren()?te(t,e,n):r.match?Jt(t,0,s):te(t,e,n)}function Jt(t,e,n){if(0===n.length)return new lt(t.segments,{});{const r=function(t){return Kt(t[0])?t[0].outlets:{primary:t}}(n),s={};return rt(r,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(s[r]=Zt(t.children[r],e,n))}),rt(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new lt(t.segments,s)}}function te(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s<n.length;){const i=n[s];if(Kt(i)){const t=ee(i.outlets);return new lt(r,t)}if(0===s&&Gt(n[0])){r.push(new ht(t.segments[e].path,n[0])),s++;continue}const o=Kt(i)?i.outlets.primary:`${i}`,u=s<n.length-1?n[s+1]:null;o&&u&&Gt(u)?(r.push(new ht(o,ne(u))),s+=2):(r.push(new ht(o,{})),s++)}return new lt(r,{})}function ee(t){const e={};return rt(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=te(new lt([],{}),0,t))}),e}function ne(t){const e={};return rt(t,(t,n)=>e[n]=`${t}`),e}function re(t,e,n){return t==n.path&&J(e,n.parameters)}class se{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),$t(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=It(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),rt(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=It(t);for(const i of Object.values(s))this.deactivateRouteAndItsChildren(i,r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(t,e,n){const r=It(e);
1t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new K(t.value.snapshot))}),t.children.length&&this.forwardEvent(new z(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if($t(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),ie(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 ie(t){$t(t.value),t.children.forEach(ie)}class oe{constructor(t,e){this.routes=t,this.module=e}}function ue(t){return"function"==typeof t}function ae(t){return t instanceof ct}const ce=Symbol("INITIAL_VALUE");function le(){return Object(m.a)(t=>Object(a.a)(...t.map(t=>t.pipe(Object(g.a)(1),Object(y.a)(ce)))).pipe(Object(b.a)((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==ce)return t;if(r===ce&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||ae(r))return r}return t},t)},ce),Object(v.a)(t=>t!==ce),Object(p.a)(t=>ae(t)?t:!0===t),Object(g.a)(1)))}let he=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Eb({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s.Lb(0,"router-outlet")},directives:function(){return[hn]},encapsulation:2}),t})();function de(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];fe(r,pe(e,r))}}function fe(t,e){t.children&&de(t.children,e)}function pe(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function me(t){const e=t.children&&t.children.map(me),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=he),n}function ge(t){return t.outlet||"primary"}function ye(t,e){const n=t.filter(t=>ge(t)===e);return n.push(...t.filter(t=>ge(t)!==e)),n}const be={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ve(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},be):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||Z)(n,t,e);if(!s)return Object.assign({},be);const i={};rt(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 _e(t,e,n,r,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>we(t,e,n)&&"primary"!==ge(n))}(t,n,r)){const s=new lt(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&&"primary"!==ge(i)){const n=new lt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[ge(i)]=n}return s}(t,e,r,new lt(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=>we(t,e,n))}(t,n,r)){const i=new lt(t.segments,function(t,e,n,r,s,i){const o={};for(const u of r)if(we(t,n,u)&&!s[ge(u)]){const n=new lt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[ge(u)]=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 lt(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function we(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ee(t,e,n,r){return!!(ge(t)===r||"primary"!==r&&we(e,n,t))&&("**"===t.path||ve(e,t,n).matched)}function Se(t,e,n){return 0===e.length&&!t.children[n]}class Ce{constructor(t){this.segmentGroup=t||null}}class De{constructor(t){this.urlTree=t}}function Ae(t){return new c.a(e=>e.error(new Ce(t)))}function xe(t){return new c.a(e=>e.error(new De(t)))}function Oe(t){return new c.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Te{constructor(t,e,n,r,i){this.configLoader=e,this.urlSerializer
1=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(s.x)}apply(){const t=_e(this.urlTree.root,[],[],this.config).segmentGroup,e=new lt(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe(Object(p.a)(t=>this.createUrlTree(ke(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(_.a)(t=>{if(t instanceof De)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Ce)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(Object(p.a)(e=>this.createUrlTree(ke(e),t.queryParams,t.fragment))).pipe(Object(_.a)(t=>{if(t instanceof Ce)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 lt([],{primary:t}):t;return new ct(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(p.a)(t=>new lt([],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 Object(i.a)(r).pipe(Object(w.a)(r=>{const s=n.children[r],i=ye(e,r);return this.expandSegmentGroup(t,i,s,r).pipe(Object(p.a)(t=>({segment:t,outlet:r})))}),Object(b.a)((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Object(v.a)((e,n)=>t(e,n,r)):D.a,Object(E.a)(1),n?Object(C.a)(e):Object(S.a)(()=>new l.a))}())}expandSegment(t,e,n,r,s,u){return Object(i.a)(n).pipe(Object(w.a)(i=>this.expandSegmentAgainstRoute(t,e,n,i,r,s,u).pipe(Object(_.a)(t=>{if(t instanceof Ce)return Object(o.a)(null);throw t}))),Object(A.a)(t=>!!t),Object(_.a)((t,n)=>{if(t instanceof l.a||"EmptyError"===t.name){if(Se(e,r,s))return Object(o.a)(new lt([],{}));throw new Ce(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return Ee(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):Ae(e):Ae(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("/")?xe(s):this.lineralizeSegments(n,s).pipe(Object(x.a)(n=>{const s=new lt(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:u,lastChild:a,positionalParamSegments:c}=ve(e,r,s);if(!o)return Ae(e);const l=this.applyRedirectCommands(u,r.redirectTo,c);return r.redirectTo.startsWith("/")?xe(l):this.lineralizeSegments(r,l).pipe(Object(x.a)(r=>this.expandSegment(t,e,n,r.concat(s.slice(a)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r,s){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(p.a)(t=>(n._loadedConfig=t,new lt(r,{})))):Object(o.a)(new lt(r,{}));const{matched:i,consumedSegments:u,lastChild:a}=ve(e,n,r);if(!i)return Ae(e);const c=r.slice(a);return this.getChildConfig(t,n,r).pipe(Object(x.a)(t=>{const r=t.module,i=t.routes,{segmentGroup:a,slicedSegments:l}=_e(e,u,c,i),h=new lt(a.segments,a.children);if(0===l.length&&h.hasChildren())return this.expandChildren(r,i,h).pipe(Object(p.a)(t=>new lt(u,t)));if(0===i.length&&0===l.length)return Object(o.a)(new lt(u,{}));const d=ge(n)===s;return this.expandSegment(r,h,i,l,d?"primary":s,!0).pipe(Object(p.a)(t=>new lt(u.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(o.a)(new oe(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(x.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(p.a)(t=>(e._loadedConfig=t,t))):function(t){return new c.a(e=>e.error(X(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(o.a)(new oe([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;if(!r||0===r.length)return Object(o.a)(!0);const s=r.map(r=>{const s=t.get(r);let i;if(function(t){return t&&ue(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!ue(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return st(i)});return Object(o.a)(s).pipe(le(),Object(O.a)(t=>{if(!ae(t))return;const e=X(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}
1),Object(p.a)(t=>!0===t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children.primary)return Oe(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 ct(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return rt(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 rt(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new lt(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 ke(t){const e={};for(const n of Object.keys(t.children)){const r=ke(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 lt(t.segments.concat(e.segments),e.children)}return t}(new lt(t.segments,e))}class Fe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class je{constructor(t,e){this.component=t,this.route=e}}function Ie(t,e,n){const r=t._root;return Re(r,e?e._root:null,n,[r.value])}function Pe(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 Re(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=It(e);return t.children.forEach(t=>{!function(t,e,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=t.value,o=e?e.value:null,u=n?n.getContext(t.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){const a=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!dt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!dt(t.url,e.url)||!J(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Vt(t,e)||!J(t.queryParams,e.queryParams);default:return!Vt(t,e)}}(o,i,i.routeConfig.runGuardsAndResolvers);a?s.canActivateChecks.push(new Fe(r)):(i.data=o.data,i._resolvedData=o._resolvedData),Re(t,e,i.component?u?u.children:null:n,r,s),a&&u&&u.outlet&&u.outlet.isActivated&&s.canDeactivateChecks.push(new je(u.outlet.component,o))}else o&&Ne(e,u,s),s.canActivateChecks.push(new Fe(r)),Re(t,null,i.component?u?u.children:null:n,r,s)}(t,i[t.value.outlet],n,r.concat([t.value]),s),delete i[t.value.outlet]}),rt(i,(t,e)=>Ne(t,n.getContext(e),s)),s}function Ne(t,e,n){const r=It(t),s=t.value;rt(r,(t,r)=>{Ne(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new je(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}function Le(t,e){return null!==t&&e&&e(new G(t)),Object(o.a)(!0)}function Me(t,e){return null!==t&&e&&e(new q(t)),Object(o.a)(!0)}function Be(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);const s=r.map(r=>d(()=>{const s=Pe(r,e,n);let i;if(function(t){return t&&ue(t.canActivate)}(s))i=st(s.canActivate(e,t));else{if(!ue(s))throw new Error("Invalid CanActivate guard");i=st(s(e,t))}return i.pipe(Object(A.a)())}));return Object(o.a)(s).pipe(le())}function He(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=>d(()=>{const s=e.guards.map(s=>{const i=Pe(s,e.node,n);let o;if(function(t){return t&&ue(t.canActivateChild)}(i))o=st(i.canActivateChild(r,t));else{if(!ue(i))throw new Error("Invalid CanActivateChild guard");o=st(i(r,t))}
1return o.pipe(Object(A.a)())});return Object(o.a)(s).pipe(le())}));return Object(o.a)(s).pipe(le())}class Ue{}function $e(t){return new c.a(e=>e.error(t))}class Ve{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=_e(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;const n=new Mt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new jt(n,e),s=new Bt(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=Lt(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=ye(t,s),o=this.processSegmentGroup(i,r,s);if(null===o)return null;n.push(...o)}const r=function(t){const e=[];for(const n of t){if(!qe(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?t.children.push(...n.children):e.push(n)}return e}(n);return r.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?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 Se(e,n,r)?[]:null}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo||!Ee(t,e,n,r))return null;let s,i=[],o=[];if("**"===t.path){const r=n.length>0?nt(n).parameters:{};s=new Mt(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ke(t),ge(t),t.component,t,ze(e),Ge(e)+n.length,We(t))}else{const r=ve(e,t,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),s=new Mt(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ke(t),ge(t),t.component,t,ze(e),Ge(e)+i.length,We(t))}const u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:a,slicedSegments:c}=_e(e,i,o,u.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&a.hasChildren()){const t=this.processChildren(u,a);return null===t?null:[new jt(s,t)]}if(0===u.length&&0===c.length)return[new jt(s,[])];const l=ge(t)===r,h=this.processSegment(u,a,c,l?"primary":r);return null===h?null:[new jt(s,h)]}}function qe(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function ze(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Ge(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 Ke(t){return t.data||{}}function We(t){return t.resolve||{}}function Qe(t){return function(e){return e.pipe(Object(m.a)(e=>{const n=t(e);return n?Object(i.a)(n).pipe(Object(p.a)(()=>e)):Object(i.a)([e])}))}}class Ye 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 Xe=new s.q("ROUTES");class Ze{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(p.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new oe(et(r.injector.get(Xe)).map(me),r)}))}loadModuleFactory(t){return"string"==typeof t?Object(i.a)(this.loader.load(t)):st(t()).pipe(Object(x.a)(t=>t instanceof s.v?Object(o.a)(t):Object(i.a)(this.compiler.compileModuleAsync(t))))}}class Je{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new tn,this.attachRef=null}}class tn{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 Je,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class en{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function nn(t){throw t}function rn(t,e,n){return e.parse("/")}function sn(t,e){return Object(o.a)(null)}let on=(()=>{class t{constructor(t,e,n,r,i,o,a,c){this.rootComponentType=t,this.urlSerializer
1=e,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new f.a,this.errorHandler=nn,this.malformedUriErrorHandler=rn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:sn,afterPreactivation:sn},this.urlHandlingStrategy=new en,this.routeReuseStrategy=new Ye,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=i.get(s.x),this.console=i.get(s.W);const l=i.get(s.z);this.isNgZoneEnabled=l instanceof s.z,this.resetConfig(c),this.currentUrlTree=new ct(new lt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ze(o,a,t=>this.triggerEvent(new $(t)),t=>this.triggerEvent(new V(t))),this.routerState=Rt(this.currentUrlTree,this.rootComponentType),this.transitions=new u.a({id: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(Object(v.a)(t=>0!==t.id),Object(p.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(m.a)(t=>{let n=!1,r=!1;return Object(o.a)(t).pipe(Object(O.a)(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}}),Object(m.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(m.a)(t=>{const n=this.transitions.getValue();return e.next(new I(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?h.a:[t]}),Object(m.a)(t=>Promise.resolve(t)),(r=this.ngModule.injector,s=this.configLoader,i=this.urlSerializer,u=this.config,function(t){return t.pipe(Object(m.a)(t=>function(t,e,n,r,s){return new Te(t,e,n,r,s).apply()}(r,s,i,t.extractedUrl,u).pipe(Object(p.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Object(O.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return function(i){return i.pipe(Object(x.a)(i=>function(t,e,n,r,s="emptyOnly",i="legacy"){try{const u=new Ve(t,e,n,r,s,i).recognize();return null===u?$e(new Ue):Object(o.a)(u)}catch(u){return $e(u)}}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(Object(p.a)(t=>Object.assign(Object.assign({},i),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(O.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(O.a)(t=>{const n=new L(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,s,i,u;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:u}=t,a=new I(n,this.serializeUrl(r),s,i);e.next(a);const c=Rt(r,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},u),{skipLocationChange:!1,replaceUrl:!1})}
1))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),h.a}),Qe(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})}),Object(O.a)(t=>{const e=new M(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(p.a)(t=>Object.assign(Object.assign({},t),{guards:Ie(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(x.a)(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:u,canDeactivateChecks:a}}=n;return 0===a.length&&0===u.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return Object(i.a)(t).pipe(Object(x.a)(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||0===i.length)return Object(o.a)(!0);const u=i.map(i=>{const o=Pe(i,e,s);let u;if(function(t){return t&&ue(t.canDeactivate)}(o))u=st(o.canDeactivate(t,e,n,r));else{if(!ue(o))throw new Error("Invalid CanDeactivate guard");u=st(o(t,e,n,r))}return u.pipe(Object(A.a)())});return Object(o.a)(u).pipe(le())}(t.component,t.route,n,e,r)),Object(A.a)(t=>!0!==t,!0))}(a,r,s,t).pipe(Object(x.a)(n=>n&&"boolean"==typeof n?function(t,e,n,r){return Object(i.a)(e).pipe(Object(w.a)(e=>Object(i.a)([Me(e.route.parent,r),Le(e.route,r),He(t,e.path,n),Be(t,e.route,n)]).pipe(Object(T.a)(),Object(A.a)(t=>!0!==t,!0))),Object(A.a)(t=>!0!==t,!0))}(r,u,t,e):Object(o.a)(n)),Object(p.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(O.a)(t=>{if(ae(t.guardsResult)){const e=X(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(O.a)(t=>{const e=new B(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(v.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new R(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Qe(t=>{if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(O.a)(t=>{const e=new H(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(m.a)(t=>{let n=!1;return Object(o.a)(t).pipe((r=this.paramsInheritanceStrategy,s=this.ngModule.injector,function(t){return t.pipe(Object(x.a)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Object(o.a)(t);let u=0;return Object(i.a)(n).pipe(Object(w.a)(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return Object(o.a)({});const u={};return Object(i.a)(s).pipe(Object(x.a)(s=>function(t,e,n,r){const s=Pe(t,e,r);return st(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,r).pipe(Object(O.a)(t=>{u[s]=t}))),Object(E.a)(1),Object(x.a)(()=>Object.keys(u).length===s.length?Object(o.a)(u):h.a))}(t._resolve,t,e,r).pipe(Object(p.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Lt(t,n).resolve),null)))}(t.route,e,r,s)),Object(O.a)(()=>
1u++),Object(E.a)(1),Object(x.a)(e=>u===n.length?Object(o.a)(t):h.a))}))}),Object(O.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new R(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var r,s}),Object(O.a)(t=>{const e=new U(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Qe(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})}),Object(p.a)(t=>{const e=function(t,e,n){const r=qt(t,e._root,n?n._root:void 0);return new Pt(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(O.a)(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.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,u=this.routeReuseStrategy,a=t=>this.triggerEvent(t),Object(p.a)(t=>(new se(u,t.targetRouterState,t.currentRouterState,a).activate(s),t))),Object(O.a)({next(){n=!0},complete(){n=!0}}),Object(k.a)(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new R(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(_.a)(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=ae(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new R(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return 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 N(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return h.a}));var s,u,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,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){de(t),this.config=t.map(me),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:i,preserveFragment:o}=e,u=n||this.routerState.root,a=o?this.currentUrlTree.fragment:s;let c=null;switch(i){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,s){if(0===n.length)return Wt(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Yt(!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 rt(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 Yt(n,e,r)}(n);if(i.toRoot())return Wt(e.root,new lt([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new Xt(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new Xt(t,t===e.root,0)}const r=Gt(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 Xt(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),u=o.processChildren?Jt(o.segmentGroup,o.index,i.commands):Zt(o.segmentGroup,o.index,i.commands);return Wt(o.segmentGroup,u,e,r,s)}(u,this.currentUrlTree,t,c,a)}navigateByUrl(t,e={skipLocationChange:!1}){const n=ae(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(ae(t))return it(this.currentUrlTree,t,e);const n=this.parseUrl(t);return it(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const r=t[n];
1return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new P(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,s){const i=this.getTransition(),o="imperative"!==e&&"imperative"===(null==i?void 0:i.source),u=(this.lastSuccessfulId===i.id||this.currentNavigation?i.rawUrl:i.urlAfterRedirects).toString()===t.toString();if(o&&u)return Promise.resolve(!0);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((t,e)=>{a=t,c=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const s=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},r),{navigationId:n}))}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),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(s.M),s.Xb(ft),s.Xb(tn),s.Xb(r.l),s.Xb(s.r),s.Xb(s.w),s.Xb(s.i),s.Xb(void 0))},t.\u0275prov=s.Gb({token:t,factory:t.\u0275fac}),t})(),un=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new f.a,null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:cn(this.skipLocationChange),replaceUrl:cn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:cn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Kb(on),s.Kb(Nt),s.Yb("tabindex"),s.Kb(s.D),s.Kb(s.l))},t.\u0275dir=s.Fb({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.ac("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[s.vb]}),t})(),an=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new f.a,this.subscription=t.events.subscribe(t=>{t instanceof P&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r,s){if(0!==t||e||n||r||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:cn(this.skipLocationChange),replaceUrl:cn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:cn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Kb(on),s.Kb(Nt),s.Kb(r.m))},t.\u0275dir=s.Fb({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.ac("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Tb("href",e.href,s.Ec),s.yb("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[s.vb]}),t})();function cn(t){return""===t||!!t}let ln=(()=>{class t{constructor(t,e,n,r,s,i){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.link=s,this.linkWithHref=i,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof P&&this.update()})}ngAfterContentInit(){Object(i.a)([this.links.changes,this.linksWithHrefs.changes,Object(o.a)(null)]).pipe(Object(F.a)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=Object(i.a)(e).pipe(Object(F.a)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEac
1h(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Kb(on),s.Kb(s.l),s.Kb(s.D),s.Kb(s.h),s.Kb(un,8),s.Kb(an,8))},t.\u0275dir=s.Fb({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(s.Db(n,un,!0),s.Db(n,an,!0)),2&t){let t;s.yc(t=s.bc())&&(e.links=t),s.yc(t=s.bc())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[s.vb]}),t})(),hn=(()=>{class t{constructor(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.n,this.deactivateEvents=new s.n,this.name=r||"primary",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 dn(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)(s.Kb(tn),s.Kb(s.O),s.Kb(s.j),s.Yb("name"),s.Kb(s.h))},t.\u0275dir=s.Fb({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class dn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Nt?this.route:t===tn?this.childContexts:this.parent.get(t,e)}}class fn{}class pn{preload(t,e){return Object(o.a)(null)}}let mn=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new Ze(e,n,e=>t.triggerEvent(new $(e)),e=>t.triggerEvent(new V(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(v.a)(t=>t instanceof P),Object(w.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.x);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 Object(i.a)(n).pipe(Object(F.a)(),Object(p.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(x.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(on),s.Xb(s.w),s.Xb(s.i),s.Xb(s.r),s.Xb(fn))},t.\u0275prov=s.Gb({token:t,factory:t.\u0275fac}),t})(),gn=(()=>{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.anch
1orScrolling||"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 I?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof P&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof W&&(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 W(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)(s.Xb(on),s.Xb(r.C),s.Xb(void 0))},t.\u0275prov=s.Gb({token:t,factory:t.\u0275fac}),t})();const yn=new s.q("ROUTER_CONFIGURATION"),bn=new s.q("ROUTER_FORROOT_GUARD"),vn=[r.l,{provide:ft,useClass:pt},{provide:on,useFactory:function(t,e,n,s,i,o,u,a={},c,l){const h=new on(null,t,e,n,s,i,o,et(u));if(c&&(h.urlHandlingStrategy=c),l&&(h.routeReuseStrategy=l),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,h),a.enableTracing){const t=Object(r.K)();h.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return h},deps:[ft,tn,r.l,s.r,s.w,s.i,Xe,yn,[class{},new s.A],[class{},new s.A]]},tn,{provide:Nt,useFactory:function(t){return t.routerState.root},deps:[on]},{provide:s.w,useClass:s.J},mn,pn,class{preload(t,e){return e().pipe(Object(_.a)(()=>Object(o.a)(null)))}},{provide:yn,useValue:{enableTracing:!1}}];function _n(){return new s.y("Router",on)}let wn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[vn,Dn(e),{provide:bn,useFactory:Cn,deps:[[on,new s.A,new s.I]]},{provide:yn,useValue:n||{}},{provide:r.m,useFactory:Sn,deps:[r.x,[new s.p(r.a),new s.A],yn]},{provide:gn,useFactory:En,deps:[on,r.C,yn]},{provide:fn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:pn},{provide:s.y,multi:!0,useFactory:_n},[An,{provide:s.d,multi:!0,useFactory:xn,deps:[An]},{provide:Tn,useFactory:On,deps:[An]},{provide:s.b,multi:!0,useExisting:Tn}]]}}static forChild(e){return{ngModule:t,providers:[Dn(e)]}}}return t.\u0275mod=s.Ib({type:t}),t.\u0275inj=s.Hb({factory:function(e){return new(e||t)(s.Xb(bn,8),s.Xb(on,8))}}),t})();function En(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new gn(t,e,n)}function Sn(t,e,n={}){return n.useHash?new r.i(t,e):new r.v(t,e)}function Cn(t){return"guarded"}function Dn(t){return[{provide:s.a,multi:!0,useValue:t},{provide:Xe,multi:!0,useValue:t}]}let An=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new f.a}appInitializer(){return this.injector.get(r.k,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(on),r=this.injector.get(yn);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(yn),n=this.injector.get(mn),r=this.injector.get(gn),i=this.injector.get(on),o=this.injector.get(s.g);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||i.initialNavigation(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(s.Xb(s.r))},t.\u0275prov=s.Gb({token:t,factory:t.\u0275fac}),t})();function xn(t){return t.appInitializer.bind(t)}function On(t){return t.bootstrapListener.bind(t)}const Tn=new s.q("Router Initializer")},itXk:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("z+Ro"),s=n("DH7j"),i=n("l7GE"),o=n("ZUHj"),u=n("yCtX");const a={};function c(...t){let e=null,n=null;return Object(r.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(s.a)(t[0])&&(t=t[0]),Object(u.a)(t,n).lift(new l(e))}class l{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends i.a{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(a),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<e;n++){const e=t[n];this.add(Object(o.a)(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,r,s){const i=this.values,o=this.toRespond?i[n]===a?--this.toRespond:this.toRespond:0;i[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},jZKg:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("HDdC"),s=n("quSY");function i(t,e){return new r.a(n=>{const r=new s.a;let i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}
1)),r})}},jtHE:function(t,e,n){"use strict";n.d(e,"a",function(){return g});var r=n("XNiG"),s=n("3N8a");class i extends s.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var o=n("IjjT");class u extends o.a{}const a=new u(i);var c=n("quSY"),l=n("7o/Q"),h=n("WMd4");class d extends l.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(d.dispatch,this.delay,new f(t,this.destination)))}_next(t){this.scheduleMessage(h.a.createNext(t))}_error(t){this.scheduleMessage(h.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(h.a.createComplete()),this.unsubscribe()}}class f{constructor(t,e){this.notification=t,this.destination=e}}var p=n("9ppp"),m=n("Ylt2");class g extends r.a{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new y(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=n.length;let i;if(this.closed)throw new p.a;if(this.isStopped||this.hasError?i=c.a.EMPTY:(this.observers.push(t),i=new m.a(this,t)),r&&t.add(t=new d(t,r)),e)for(let o=0;o<s&&!t.closed;o++)t.next(n[o]);else for(let o=0;o<s&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),i}_getNow(){return(this.scheduler||a).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,s=r.length;let i=0;for(;i<s&&!(t-r[i].time<n);)i++;return s>e&&(i=Math.max(i,s-e)),i>0&&r.splice(0,i),r}}class y{constructor(t,e){this.time=t,this.value=e}}},kJWO:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},l7GE:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("7o/Q");class s extends r.a{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},lJxs:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("7o/Q");function s(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 i(t,e))}}class i{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends r.a{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)}}},mCNh:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return i});var r=n("SpAZ");function s(...t){return i(t)}function i(t){return 0===t.length?r.a:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},mbIT:function(t,e,n){"use strict";e.isArray=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}()},mlxB:function(t,e,n){"use strict";function r(t){return t instanceof Date&&!isNaN(+t)}n.d(e,"a",function(){return r})},n3uD:function(t,e,n){"use strict";var r=!1;e.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior b
1y code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},n6bG:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",function(){return r})},nYR2:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("7o/Q"),s=n("quSY");function i(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new u(t,this.callback))}}class u extends r.a{constructor(t,e){super(t),this.add(new s.a(e))}}},ngJS:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}},nzqU:function(t,e,n){"use strict";e.isScheduler=function(t){return t&&"function"==typeof t.schedule}},omvX:function(t,e,n){"use strict";n.d(e,"a",function(){return ye});var r=n("8Y7J"),s=n("cUpR"),i=n("GS7A");function o(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function u(t){switch(t.length){case 0:return new i.d;case 1:return t[0];default:return new i.k(t)}}function a(t,e,n,r,s={},o={}){const u=[],a=[];let c=-1,l=null;if(r.forEach(t=>{const n=t.offset,r=n==c,h=r&&l||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,u),a){case i.l:a=s[n];break;case i.a:a=o[n];break;default:a=e.normalizeStyleValue(n,r,a,u)}h[r]=a}),r||a.push(h),l=h,c=n}),u.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${u.join(t)}`)}return a}function c(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&l(n,"start",t)));break;case"done":t.onDone(()=>r(n&&l(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&l(n,"destroy",t)))}}function l(t,e,n){const r=n.totalTime,s=h(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),i=t._data;return null!=i&&(s._data=i),s}function h(t,e,n,r,s="",i=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:s,totalTime:i,disabled:!!o}}function d(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let p=(t,e)=>!1,m=(t,e)=>!1,g=(t,e,n)=>[];const y=o();(y||"undefined"!=typeof Element)&&(p=(t,e)=>t.contains(e),m=(()=>{if(y||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):m}})(),g=(t,e,n)=>{let r=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)r.push(n[t])}else{const n=t.querySelector(e);n&&r.push(n)}return r});let b=null,v=!1;function _(t){b||(b=("undefined"!=typeof document?document.body:null)||{},v=!!b.style&&"WebkitAppearance"in b.style);let e=!0;return b.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in b.style,!e&&v)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in b.style),e}const w=m,E=p,S=g;function C(t){const e={};return Object.keys(t).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let D=(()=>{class t{validateStyleProperty(t){return _(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return E(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,s,o=[],u){return new i.d(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})(),A=(()=>{class t{}return t.NOOP=new D,t})();function x(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:O(parseFloat(e[1]),e[2])}function O(t,e){return"s"===e?1e3*t:t}function T(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,s=0,i="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};r=O(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=O(parseFloat(o),n[4]));const u=n[5];u&&(i=u)}else r=t;if(!n){let n=!1,i=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(i,0,`The provided timing value "${t}
1" is invalid.`)}return{duration:r,delay:s,easing:i}}(t,e,n)}function k(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function F(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else k(t,n);return n}function j(t,e,n){return n?e+":"+n+";":""}function I(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=j(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=j(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function P(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const s=$(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[s]),t.style[s]=e[r]}),o()&&I(t))}function R(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=$(e);t.style[n]=""}),o()&&I(t))}function N(t){return Array.isArray(t)?1==t.length?t[0]:Object(i.f)(t):t}const L=new RegExp("{{\\s*(.+?)\\s*}}","g");function M(t){let e=[];if("string"==typeof t){let n;for(;n=L.exec(t);)e.push(n[1]);L.lastIndex=0}return e}function B(t,e,n){const r=t.toString(),s=r.replace(L,(t,r)=>{let s=e[r];return e.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),s=""),s.toString()});return s==r?t:s}function H(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const U=/-+([a-z0-9])/g;function $(t){return t.replace(U,(...t)=>t[1].toUpperCase())}function V(t,e){return 0===t||0===e}function q(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let i=e[0],o=[];if(r.forEach(t=>{i.hasOwnProperty(t)||o.push(t),i[t]=n[t]}),o.length)for(var s=1;s<e.length;s++){let n=e[s];o.forEach(function(e){n[e]=G(t,e)})}}return e}function z(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function G(t,e){return window.getComputedStyle(t)[e]}function K(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=r[1],i=r[2],o=r[3];e.push(Y(s,o)),"<"!=i[0]||"*"==s&&"*"==o||e.push(Y(o,s))}(t,n,e)):n.push(t),n}const W=new Set(["true","1"]),Q=new Set(["false","0"]);function Y(t,e){const n=W.has(t)||Q.has(t),r=W.has(e)||Q.has(e);return(s,i)=>{let o="*"==t||t==s,u="*"==e||e==i;return!o&&n&&"boolean"==typeof s&&(o=s?W.has(t):Q.has(t)),!u&&r&&"boolean"==typeof i&&(u=i?W.has(e):Q.has(e)),o&&u}}const X=new RegExp("s*:selfs*,?","g");function Z(t,e,n){return new J(t).build(e,n)}class J{constructor(t){this._driver=t}build(t,e){const n=new tt(e);return this._resetContextStyleTimingState(n),z(this,N(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const s=[],i=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,r+=s.depCount,i.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:i,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,i=r||{};
1if(n.styles.forEach(t=>{if(et(t)){const e=t;Object.keys(e).forEach(t=>{M(e[t]).forEach(t=>{i.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=H(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=z(this,N(t.animation),e);return{type:1,matchers:K(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:nt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>z(this,t,e)),options:nt(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const s=t.steps.map(t=>{e.currentTime=n;const s=z(this,t,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:s,options:nt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return rt(T(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=rt(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||T(r,e),rt(n.duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let s=t.styles?t.styles:Object(i.h)({});if(5==s.type)r=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};n.easing&&(t.easing=n.easing),s=Object(i.h)(t)}e.currentTime+=n.duration+n.delay;const u=this.visitStyle(s,e);u.isEmptyStep=o,r=u}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==i.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,s=null;return n.forEach(t=>{if(et(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],o=i[n];let u=!0;o&&(s!=r&&s>=o.startTime&&r<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${r}ms"`),u=!1),s=o.startTime),u&&(i[n]={startTime:s,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},s=M(t);s.length&&s.forEach(t=>{r.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const s=[];let i=!1,o=!1,u=0;const a=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let a=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=a&&(r++,c=n.offset=a),o=o||c<0||c>1,i=i||c<u,u=c,s.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),i&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let l=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(l=1/(c-1));const h=c-1,d=e.currentTime,f=e.currentAnimateTimings,p=f.duration;return a.forEach((t,r)=>{const i=l>0?r==h?1:l*r:s[r],o=i*p;
1e.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(t,e),t.offset=i,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:z(this,N(t.animation),e),options:nt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:nt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:nt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[s,i]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(X,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,d(e.collectedStyles,e.currentQuerySelector,{});const o=z(this,N(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:o,originalSelector:t.selector,options:nt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:T(t.timings,e.errors,!0);return{type:12,animation:z(this,N(t.animation),e),timings:n,options:null}}}class tt{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function et(t){return!Array.isArray(t)&&"object"==typeof t}function nt(t){var e;return t?(t=k(t)).params&&(t.params=(e=t.params)?k(e):null):t={},t}function rt(t,e,n){return{duration:t,delay:e,easing:n}}function st(t,e,n,r,s,i,o=null,u=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:s,delay:i,totalTime:s+i,easing:o,subTimeline:u}}class it{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ot=new RegExp(":enter","g"),ut=new RegExp(":leave","g");function at(t,e,n,r,s,i={},o={},u,a,c=[]){return(new ct).buildKeyframes(t,e,n,r,s,i,o,u,a,c)}class ct{buildKeyframes(t,e,n,r,s,i,o,u,a,c=[]){a=a||new it;const l=new ht(t,e,a,r,s,c,[]);l.options=u,l.currentTimeline.setStyles([i],null,l.errors,u),z(this,n,l);const h=l.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,l.errors,u)}return h.length?h.map(t=>t.buildKeyframes()):[st(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),s=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);s!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let r=e.currentTimeline.currentTime;const s=null!=n.duration?x(n.duration):null,i=null!=n.delay?x(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,i);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),z(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const s=t.options;if(s&&(s.params||s.delay)&&(r=e.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=lt);const t=x(s.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>z(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?x(t.options.delay):0;t.steps.forEach(i=>
1{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),z(this,i,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return T(e.params?B(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,s=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(t=>{i.forwardTime((t.offset||0)*s),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(r+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},s=r.delay?x(r.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=lt);let i=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let u=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(u=o.currentTimeline),z(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,s=t.timings,i=Math.abs(s.duration),o=i*(e.currentQueryTotal-1);let u=i*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":u=o-u;break;case"full":u=n.currentStaggerTime}const a=e.currentTimeline;u&&a.delayNextStep(u);const c=a.currentTime;z(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const lt={};class ht{constructor(t,e,n,r,s,i,o,u){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=s,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=lt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new dt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=x(n.duration)),null!=n.delay&&(r.delay=x(n.delay));const s=n.params;if(s){let t=r.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=B(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,s=new ht(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=lt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new ft(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,s,i){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(ut,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return s||0!=o.length||i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class dt{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pe
1ndingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new dt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||i.a,this._currentKeyframe[t]=i.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},o=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]=i.a})):F(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=B(o[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:i.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,o)=>{const u=F(s,!0);Object.keys(u).forEach(n=>{const r=u[n];r==i.l?t.add(n):r==i.a&&e.add(n)}),n||(u.offset=o/this.duration),r.push(u)});const s=t.size?H(t.values()):[],o=e.size?H(e.values()):[];if(n){const t=r[0],e=k(t);t.offset=0,e.offset=1,r=[t,e]}return st(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class ft extends dt{constructor(t,e,n,r,s,i,o=!1){super(t,e,i.delay),this.element=e,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],i=n+e,o=e/i,u=F(t[0],!1);u.offset=0,s.push(u);const a=F(t[0],!1);a.offset=pt(o),s.push(a);const c=t.length-1;for(let r=1;r<=c;r++){let o=F(t[r],!1);o.offset=pt((e+o.offset*n)/i),s.push(o)}n=i,e=0,r="",t=s}return st(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function pt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class mt{}class gt extends mt{normalizePropertyName(t,e){return $(t)}normalizeStyleValue(t,e,n,r){let s="";const i=n.toString().trim();if(yt[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return i+s}}const yt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function bt(t,e,n,r,s,i,o,u,a,c,l,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:u,queriedElements:a,preStyleProps:c,postStyleProps:l,totalTime:h,errors:d}}const vt={};class _t{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,s){return t.some(t=>t(e,n,r,s))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],s=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return s?s.buildStyles(e,n):i}build(t,e,n,r,s,i,o,u,a,c){const l=[],h=this.ast.options&&this.ast.options.params||vt,f=this.buildStyles(n,o&&o.params||vt,l),p=u&&u.params||vt,m=this.buildStyles(r,p,l),g=new Set,y=new Map,b=new Map,v="void"===r,_={params:Object.assign(Object.assign({},h),p)},w=c?[]:at(t,e,this.ast.animation,s,i,f,m,_,a,l);let E=0;if(w.forEach(t=>{E=Math.max(t.duration+t.delay,E)}),l.length)return bt(e,this._triggerName,n,r,v,f,m,[],[],y,b,E,l);
1w.forEach(t=>{const n=t.element,r=d(y,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const s=d(b,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&g.add(n)});const S=H(g.values());return bt(e,this._triggerName,n,r,v,f,m,w,S,y,b,E)}}class wt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},r=k(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let i=s[t];i.length>1&&(i=B(i,r,e)),n[t]=i})}}),n}}class Et{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new wt(t.style,t.options&&t.options.params||{})}),St(this.states,"true","1"),St(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new _t(t,e,this.states))}),this.fallbackTransition=new _t(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(s=>s.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function St(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Ct=new it;class Dt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=Z(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=r}_buildPlayer(t,e,n){const r=t.element,s=a(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],s=this._animations[t];let o;const a=new Map;if(s?(o=at(this._driver,e,s,"ng-enter","ng-leave",{},{},n,Ct,r),o.forEach(t=>{const e=d(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,i.a)})});const c=u(o.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,r){const s=h(e,"","","");return c(this._getPlayer(t),n,s,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const At=[],xt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ot={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Tt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=k(t);delete e.value,this.options=e}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const kt=new Tt("void");class Ft{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+t,Mt(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const i=d(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};i.push(o);const u=d(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(Mt(t,"ng-trigger"),Mt(t,"ng-trigger-"+e),u[e]=kt),()=>{this._engine.afterFlush(()=>{const t=i.indexOf(o);t>=0&&i.splice(t,1),this._triggers[e]||delete u[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,r=!0){const s=this._getTrigger(e),i=new It(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Mt(t,"ng-trigger"),Mt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let u=o[e];const a=new Tt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&a.absorbOptions(u.options),o[e]=a,u||(u=kt),"void"!==a.value&&u.value===a.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let s=0;s<n.length;s++){const r=n[s];if(!e.hasOwnProperty(r)||t[r]!==e[r])return!1}return!0}(u.params,a.params)){const e=[],n=s.matchStyles(u.value,u.params,e),r=s.matchStyles(a.value,a.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{R(t,n),P(t,r)})}return}const c=d(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let l=s.matchTransition(u.value,a.value,t,a.params),h=!1;if(!l){if(!r)return;l=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:l,fromState:u,toState:a,player:i,isFallbackTransition:h}),h||(Mt(t,"ng-animate-queued"),i.onStart(()=>{Bt(t,"ng-animate-queued")})),i.onDone(()=>{let e=this.players.indexOf(i);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(i);t>=0&&n.splice(t,1)}}),this.players.push(i),c.push(i),i}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,r){const s=this._engine.statesByElement.get(t);if(s){const i=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",r);n&&i.push(n)}}),i.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&u(i).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const r=e.name;if(n.has(r))return;n.add(r);const s=this._triggers[r].fallbackTransition,i=this._engine.statesByElement.get(t)[r]||kt,o=new Tt("void"),u=new It(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:s,fromState:i,toState:o,player:u,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t.__ng_removed;r&&r!==xt||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Mt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const s=n.element,i=this._elementListeners.get(s);
1i&&i.forEach(e=>{if(e.name==n.triggerName){const r=h(s,n.triggerName,n.fromState.value,n.toState.value);r._data=t,c(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class jt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Ft(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let r=0;r<t.length;r++){const s=n[t[r]].namespaceId;if(s){const t=this._fetchNamespace(s);t&&e.add(t)}}}return e}trigger(t,e,n,r){if(Pt(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!Pt(e))return;const s=e.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Mt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Bt(t,"ng-animate-disabled"))}removeNode(t,e,n,r){if(Pt(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,s){return Pt(e)?this._fetchNamespace(t).listen(e,n,r,s):()=>{}}_buildInstruction(t,e,n,r,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return u(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=xt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEac
1h(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Mt(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?u(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new it,r=[],s=new Map,o=[],a=new Map,c=new Map,l=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)h.add(e[n])});const f=this.bodyNode,p=Array.from(this.statesByElement.keys()),m=Lt(p,this.collectedEnterElements),g=new Map;let y=0;m.forEach((t,e)=>{const n="ng-enter"+y++;g.set(e,n),t.forEach(t=>Mt(t,n))});const b=[],v=new Set,_=new Set;for(let i=0;i<this.collectedLeaveElements.length;i++){const t=this.collectedLeaveElements[i],e=t.__ng_removed;e&&e.setForRemoval&&(b.push(t),v.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>v.add(t)):_.add(t))}const w=new Map,E=Lt(p,Array.from(v));E.forEach((t,e)=>{const n="ng-leave"+y++;w.set(e,n),t.forEach(t=>Mt(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Bt(t,n))}),E.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Bt(t,n))}),b.forEach(t=>{this.processLeaveNode(t)})});const S=[],C=[];for(let i=this._namespaceList.length-1;i>=0;i--)this._namespaceList[i].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(S.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const i=!f||!this.driver.containsElement(f,s),u=w.get(s),h=g.get(s),p=this._buildInstruction(t,n,h,u,i);if(p.errors&&p.errors.length)C.push(p);else{if(i)return e.onStart(()=>R(s,p.fromStyles)),e.onDestroy(()=>P(s,p.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>R(s,p.fromStyles)),e.onDestroy(()=>P(s,p.toStyles)),void r.push(e);p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,p.timelines),o.push({instruction:p,player:e,element:s}),p.queriedElements.forEach(t=>d(a,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),p.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=l.get(e);r||l.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(C.length){const t=[];C.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),S.forEach(t=>t.destroy()),this.reportError(t)}const D=new Map,A=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(A.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,D))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{d(D,e,[]).push(t),t.destroy()})});const x=b.filter(t=>$t(t,c,l)),O=new Map;Nt(O,this.driver,_,l,i.a).forEach(t=>{$t(t,c,l)&&x.push(t)});const T=new Map;m.forEach((t,e)=>{Nt(T,this.driver,new Set(t),c,i.l)}),x.forEach(t=>{const e=O.get(t),n=T.get(t);O.set(t,Object.assign(Object.assign({},e),n))});const k=[],F=[],j={};o.forEach(t=>{const{element:e,player:i,instruction:o}=t;if(n.has(e)){if(h.has(e))return i.onDestroy(()=>P(e,o.toStyles)),i.disabled=!0,i.overrideTotalTime(o.totalTime),void r.push(i);let t=j;if(A.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=A.get(n);if(e){t=e;break}r.push(n)}
1r.forEach(e=>A.set(e,t))}const n=this._buildAnimation(i.namespaceId,o,D,s,T,O);if(i.setRealPlayer(n),t===j)k.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=u(e)),r.push(i)}}else R(e,o.fromStyles),i.onDestroy(()=>P(e,o.toStyles)),F.push(i),h.has(e)&&r.push(i)}),F.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=u(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let i=0;i<b.length;i++){const t=b[i],e=t.__ng_removed;if(Bt(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(a.size){let e=a.get(t);e&&e.length&&n.push(...e);let r=this.driver.query(t,".ng-animating",!0);for(let t=0;t<r.length;t++){let e=a.get(r[t]);e&&e.length&&n.push(...e)}}const r=n.filter(t=>!t.destroyed);r.length?Ht(this,t,r):this.processLeaveNode(t)}return b.length=0,k.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),k}elementContainsData(t,e){let n=!1;const r=e.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,s){let i=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(i=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==r)&&i.push(e)})}}return(n||r)&&(i=i.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),i}_beforeAnimationBuild(t,e,n){const r=e.element,s=e.isRemovalTransition?void 0:t,i=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,u=t!==r,a=d(n,t,[]);this._getPreviousPlayers(t,u,s,i,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),a.push(t)})}R(r,e.fromStyles)}_buildAnimation(t,e,n,r,s,o){const c=e.triggerName,l=e.element,h=[],f=new Set,p=new Set,m=e.timelines.map(e=>{const u=e.element;f.add(u);const d=u.__ng_removed;if(d&&d.removedBeforeQueried)return new i.d(e.duration,e.delay);const m=u!==l,g=function(t){const e=[];return Ut(t,e),e}((n.get(u)||At).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===u),y=s.get(u),b=o.get(u),v=a(0,this._normalizer,0,e.keyframes,y,b),_=this._buildPlayer(e,v,g);if(e.subTimeline&&r&&p.add(u),m){const e=new It(t,c,u);e.setRealPlayer(_),h.push(e)}return _});h.forEach(t=>{d(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),f.forEach(t=>Mt(t,"ng-animating"));const g=u(m);return g.onDestroy(()=>{f.forEach(t=>Bt(t,"ng-animating")),P(l,e.toStyles)}),p.forEach(t=>{d(r,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new i.d(t.duration,t.delay)}}class It{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new i.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEac
1h(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){d(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Pt(t){return t&&1===t.nodeType}function Rt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Nt(t,e,n,r,s){const i=[];n.forEach(t=>i.push(Rt(t)));const o=[];r.forEach((n,r)=>{const i={};n.forEach(t=>{const n=i[t]=e.computeStyle(r,t,s);n&&0!=n.length||(r.__ng_removed=Ot,o.push(r))}),t.set(r,i)});let u=0;return n.forEach(t=>Rt(t,i[u++])),o}function Lt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),s=new Map;function i(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:r.has(o)?1:i(o),s.set(t,e),e}return e.forEach(t=>{const e=i(t);1!==e&&n.get(e).push(t)}),n}function Mt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Bt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Ht(t,e,n){u(n).onDone(()=>t.processLeaveNode(e))}function Ut(t,e){for(let n=0;n<t.length;n++){const r=t[n];r instanceof i.k?Ut(r.players,e):e.push(r)}}function $t(t,e,n){const r=n.get(t);if(!r)return!1;let s=e.get(t);return s?r.forEach(t=>s.add(t)):e.set(t,r),n.delete(t),!0}class Vt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new jt(t,e,n),this._timelineEngine=new Dt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,s){const i=t+"-"+r;let o=this._triggerCache[i];if(!o){const t=[],e=Z(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Et(t,e)}(r,e),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,s]=f(n);this._timelineEngine.command(t,e,s,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,s){if("@"==n.charAt(0)){const[t,r]=f(n);return this._timelineEngine.listen(t,e,r,s)}return this._transitionEngine.listen(t,e,n,r,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function qt(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=Gt(e[0]),e.length>1&&(r=Gt(e[e.length-1]))):e&&(n=Gt(e)),n||r?new zt(t,n,r):null}let zt=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&P(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(P(this._element,this._initialStyles),this._endStyles&&(P(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),P(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Gt(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const s=n[r];Kt(s)&&(e=e||{},e[s]=t[s])}return e}function Kt(t){return"display"===t||"position"===t}class Wt{constructor(t,e,n,r,s,i,o){this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=s,this._fillMode=i,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=te(t,"").trim();n.length&&(function(t,e){let n=0;for(let r=0;r<t.length;r++)","===t.charAt(r)&&n++}(n),e=`${n}, ${e}`),Jt(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Zt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Qt(this._element,this._name,"paused")}resume(){Qt(this._element,this._name,"running")}setPosition(t){const e=Yt(this._element,this._name);this._position=t*this._duration,Jt(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Zt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=te(t,"").split(","),r=Xt(n,e);r>=0&&(n.splice(r,1),Jt(t,"",n.join(",")))}(this._element,this._name))}}function Qt(t,e,n){Jt(t,"PlayState",n,Yt(t,e))}function Yt(t,e){const n=te(t,"");return n.indexOf(",")>0?Xt(n.split(","),e):Xt([n],e)}function Xt(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Zt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Jt(t,e,n,r){const s="animation"+e;if(null!=r){const e=t.style[s];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[s]=n}function te(t,e){return t.style["animation"+e]||""}class ee{constructor(t,e,n,r,s,i,o,u){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=s,this._finalStyles=o,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={}
1,this._state=0,this.easing=i||"linear",this.totalTime=r+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Wt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:G(this.element,n))})}this.currentSnapshot=t}}class ne extends i.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=C(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class re{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(t){return _(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return E(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>C(t));let r=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);r+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${s}animation-timing-function: ${n};\n`));default:return void(r+=`${s}${e}: ${n};\n`)}}),r+=`${s}}\n`}),r+="}\n";const i=document.createElement("style");return i.textContent=r,i}animate(t,e,n,r,s,i=[],o){const u=i.filter(t=>t instanceof ee),a={};V(n,r)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>a[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=q(t,e,a));if(0==n)return new ne(t,c);const l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,l,e);document.querySelector("head").appendChild(h);const d=qt(t,e),f=new ee(t,e,l,n,r,s,c,d);return f.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),f}}class se{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};
1this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:G(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ie{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(oe().toString()),this._cssKeyframesDriver=new re}validateStyleProperty(t){return _(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return E(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,s,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,s,i);const u={duration:n,delay:r,fill:0==r?"both":"forwards"};s&&(u.easing=s);const a={},c=i.filter(t=>t instanceof se);V(n,r)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>a[t]=e[t])});const l=qt(t,e=q(t,e=e.map(t=>F(t,!1)),a));return new se(t,e,u,l)}}function oe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var ue=n("SVse");let ae=(()=>{class t extends i.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:r.P.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(i.f)(t):t;return he(this._renderer,null,e,"register",[n]),new ce(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(r.E),r.Xb(ue.e))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})();class ce extends i.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new le(this._id,t,e||{},this._renderer)}}class le{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return he(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function he(t,e,n,r,s){return t.setProperty(e,`@@${n}:${r}`,s)}let de=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new fe("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const i=e=>{Array.isArray(e)?e.forEach(i):this.engine.registerTrigger(r,s,t,e.name,e)};return e.data.animation.forEach(i),new pe(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(r.E),r.Xb(Vt),r.Xb(r.z))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})();class fe{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}
1appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,r=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class pe extends fe{constructor(t,e,n,r){super(e,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),i="";return"@"!=s.charAt(0)&&([s,i]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,r,s,i,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let me=(()=>{class t extends Vt{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(r.Xb(ue.e),r.Xb(A),r.Xb(mt))},t.\u0275prov=r.Gb({token:t,factory:t.\u0275fac}),t})();const ge=[{provide:A,useFactory:function(){return"function"==typeof oe()?new ie:new re}},{provide:new r.q("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:i.b,useClass:ae},{provide:mt,useFactory:function(){return new gt}},{provide:Vt,useClass:me},{provide:r.E,useFactory:function(t,e,n){return new de(t,e,n)},deps:[s.f,Vt,r.z]}];let ye=(()=>{class t{}return t.\u0275mod=r.Ib({type:t}),t.\u0275inj=r.Hb({factory:function(e){return new(e||t)},providers:ge,imports:[s.a]}),t})()},"p//D":function(t,e,n){"use strict";e.rxSubscriber=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),e.$$rxSubscriber=e.rxSubscriber},pLZG:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("7o/Q");function s(t,e){return function(n){return n.lift(new i(t,e))}}class i{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends r.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pshJ:function(t,e,n){"use strict";e.isFunction=function(t){return"function"==typeof t}},quSY:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("DH7j"),s=n("XoHu"),i=n("n6bG");const o=(()=>{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 u=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:u,_subscriptions:c}=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;t<n.length;++t)n[t].remove(this);if(Object(i.a)(u))try{u.call(this)}catch(l){e=l instanceof o?a(l.errors):[l]}if(Object(r.a)(c)){let t=-1,n=c.length;for(;++t<n;){const n=c[t];if(Object(s.a)(n))try{n.unsubscribe()}catch(l){e=e||[],l instanceof o?e=e.concat(a(l.errors)):e.push(l)}}}if(e)throw new o(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function a(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}},sVev:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},tS1D:function(t,e,n){"use strict";n.d(e,"a",function(){return h});var r=n("D0XW"),s=n("Y6u4"),i=n("mlxB"),o=n("l7GE"),u=n("ZUHj");class a{constructor(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler
1=r}call(t,e){return e.subscribe(new c(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class c extends o.a{constructor(t,e,n,r,s){super(t),this.absoluteTimeout=e,this.waitFor=n,this.withObservable=r,this.scheduler=s,this.action=null,this.scheduleTimeout()}static dispatchTimeout(t){const{withObservable:e}=t;t._unsubscribeAndRecycle(),t.add(Object(u.a)(t,e))}scheduleTimeout(){const{action:t}=this;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(c.dispatchTimeout,this.waitFor,this))}_next(t){this.absoluteTimeout||this.scheduleTimeout(),super._next(t)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var l=n("z6cu");function h(t,e=r.a){return function(t,e,n=r.a){return r=>{let s=Object(i.a)(t),o=s?+t-n.now():Math.abs(t);return r.lift(new a(o,s,e,n))}}(t,Object(l.a)(new s.a),e)}},vkgz:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("7o/Q"),s=n("KqfI"),i=n("n6bG");function o(t,e,n){return function(r){return r.lift(new u(t,e,n))}}class u{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))}}class a extends r.a{constructor(t,e,n,r){super(t),this._tapNext=s.a,this._tapError=s.a,this._tapComplete=s.a,this._tapError=n||s.a,this._tapComplete=r||s.a,Object(i.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s.a,this._tapError=e.error||s.a,this._tapComplete=e.complete||s.a)}_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()}}},w1tV:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n("XNiG"),s=n("HDdC"),i=n("7o/Q"),o=n("quSY");function u(){return function(t){return t.lift(new a(t))}}class a{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new c(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class c extends i.a{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 l extends s.a{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 o.a,t.add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.a.EMPTY)),t}refCount(){return u()(this)}}const h=(()=>{const t=l.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 d extends r.b{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 f(){return new r.a}function p(){return t=>{return u()((e=f,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,h);return r.source=t,r.subjectFactory=n,r})(t));var e}}},xG9w:function(t,e,n){"use strict";n.d(e,"k",function(){return ut}),n.d(e,"l",function(){return ft}),n.d(e,"a",function(){return Nt}),n.d(e,"i",function(){return He}),n.d(e,"f",function(){return $e}),n.d(e,"g",function(){return Ve}),n.d(e,"d",function(){return qe}),n.d(e,"m",function(){return ze}),n.d(e,"e",function(){return Qe}),n.d(e,"q",function(){return Ye}),n.d(e,"b",function(){return Je}),n.d(e,"o",function(){return en}),n.d(e,"v",function(){return nn}),n.d(e,"s",function(){return an}),n.d(e,"r",function(){return gn}),n.d(e,"n",function(){return bn}),n.d(e,"h",function(){return wn}),n.d(e,"u",function(){return On}),n.d(e,"t",function(){return Tn}),n.d(e,"j",function(){return kn}),n.d(e,"c",function(){return An}),n.d(e,"p",function(){return Pn});var r={};n.r(r),n.d(r,"VERSION",function(){return s}),n.d(r,"restArguments",function(){return C}),n.d(r,"isObject",function(){return D}),n.d(r,"isNull",function(){return A}),n.d(r,"isUndefined",function(){return x}),n.d(r,"isBoolean",function(){return O}),n.d(r,"isElement",function(){return T}),n.d(r,"isString",function(){return F}),n.d(r,"isNumber",function(){return j}),n.d(r,"isDate",function(){return I}),n.d(r,"isRegExp",function(){return P}),n.d(r,"isError",function(){return R}),n.d(r,"isSymbol",function(){return N}),n.d(r,"isArrayBuffer",function(){return L}),n.d(r,"isDataView",function(){return q}),n.d(r,"isArray",function(){return z}),n.d(r,"isFunction",function(){return B}),n.d(r,"isArguments",function(){return W}),n.d(r,"isFinite",function(){return Q}),n.d(r,"isNaN",function(){return Y}),n.d(r,"isTypedArray",function(){return rt}),n.d(r,"isEmpty",function(){return ut}),n.d(r,"isMatch",function(){return at}),n.d(r,"isEqual",function(){return ft}),n.d(r,"isMap",function(){return Et}),n.d(r,"isWeakMap",function(){return St}),n.d(r,"isSet",function(){return Ct}),n.d(r,"isWeakSet",function(){return Dt}),n.d(r,"keys",function(){return ot}),n.d(r,"allKeys",function(){return pt}),n.d(r,"values",function(){return At}),n.d(r,"pairs",function(){return xt}),n.d(r,"invert",function(){return Ot}),n.d(r,"functions",function(){return Tt}),n.d(r,"methods",function(){return Tt}),n.d(r,"extend",function(){return Ft}),n.d(r,"extendOwn",function(){return jt}),n.d(r,"assign",function(){return jt}),n.d(r,"defaults",function(){return It}),n.d(r,"create",function(){return Rt}),n.d(r,"clone",function(){return Nt}),n.d(r,"tap",function(){return Lt}),n.d(r,"get",function(){return Ut}),n.d(r,"has",function(){return $t}),n.d(r,"mapObject",function(){return Yt}),n.d(r,"identity",function(){return Vt}),n.d(r,"constant",function(){return X}),n.d(r,"noop",function(){return Xt}),n.d(r,"toPath",function(){return Mt}),n.d(r,"property",function(){return zt}),n.d(r,"propertyOf",function(){return Zt}),n.d(r,"matcher",function(){return qt}),n.d(r,"matches",function(){return qt}),n.d(r,"times",function(){return Jt}),n.d(r,"random",function(){return te}),n.d(r,"now",function(){return ee}),n.d(r,"escape",function(){return se}),n.d(r,"unescape",function(){return ie}),n.d(r,"templateSettings",function(){return oe}),n.d(r,"template",function(){return he}),n.d(r,"result",function(){return de}),n.d(r,"uniqueId",function(){return pe}),n.d(r,"chain",function(){return me}),n.d(r,"iteratee",function(){return Wt}),n.d(r,"partial",function(){return be}),n.d(r,"bind",function(){return ve}),n.d(r,"bindAll",function(){return Ee}),n.d(r,"memoize",function(){return Se}),n.d(r,"delay",function(){return Ce}),n.d(r,"defer",function(){return De}),n.d(r,"throttle",function(){return Ae}),n.d(r,"debounce",function(){return xe}),n.d(r,"wrap",function(){return Oe}),n.d(r,"negate",function(){return Te}),n.d(r,"compose",function(){return ke}),n.d(r,"after",function(){return Fe}),n.d(r,"before",function(){return je}),n.d(r,"once",function(){return Ie}),n.d(r,"findKey",function(){return Pe}),n.d(r,"findIndex",function(){return Ne}),n.d(r,"findLastIndex",function(){return Le}),n.d(r,"sortedIndex",function(){return Me}),n.d(r,"indexOf",function(){return He}),n.d(r,"lastIndexOf",function(){return Ue}),n.d(r,"find",function(){return $e}),n.d(r,"detect",function(){return $e}),n.d(r,"findWhere",function(){return Ve}),n.d(r,"each",function(){return qe}),n.d(r,"forEach",function(){return qe}),n.d(r,"map",function(){return ze}),n.d(r,"collect",function(){return ze}),n.d(r,"reduce",function(){return Ke}),n.d(r,"foldl",function(){return Ke}),n.d(r,"inject",function(){return Ke}),n.d(r,"reduceRight",function(){return We}),n.d(r,"foldr",function(){return We}),n.d(r,"filter",function(){return Qe}),n.d(r,"select",function(){return Qe}),n.d(r,"reject",function(){return Ye}),n.d(r,"every",function(){return Xe}),n.d(r,"all",function(){return Xe}),n.d(r,"some",function(){return Ze}),n.d(r,"any",function(){return Ze}),n.d(r,"contains",function(){return Je}),n.d(r,"includes",function(){return Je}),n.d(r,"include",function(){return Je}),n.d(r,"invoke",function(){return tn}),n.d(r,"pluck",function(){return en}),n.d(r,"where",function(){return nn}),n.d(r,"max",function(){return rn}),n.d(r,"min",function(){return sn}),n.d(r,"shuffle",function(){return un}),n.d(r,"sample",function(){return on}),n.d(r,"sortBy",function(){return an}),n.d(r,"groupBy",function(){return ln}),n.d(r,"indexBy",function(){return hn}),n.d(r,"countBy",function(){return dn}),n.d(r,"partition",function(){return fn}),n.d(r,"toArray",function(){return mn}),n.d(r,"size",function(){return gn}),n.d(r,"pick",function(){return bn}),n.d(r,"omit",function(){return vn}),n.d(r,"first",function(){return wn}),n.d(r,"head",function(){return wn}),n.d(r,"take",function(){return wn}),n.d(r,"initial",function(){return _n}),n.d(r,"last",function(){return Sn}),n.d(r,"rest",function(){return En}),n.d(r,"tail",function(){return En}),n.d(r,"drop",function(){return En}),n.d(r,"compact",function(){return Cn}),n.d(r,"flatten",function(){return Dn}),n.d(r,"without",function(){return xn}),n.d(r,"uniq",function(){return On}),n.d(r,"unique",function(){return On}),n.d(r,"union",function(){return Tn}),n.d(r,"intersection",function(){return kn}),n.d(r,"difference",function(){return An}),n.d(r,"unzip",function(){return Fn}),n.d(r,"transpose",function(){return Fn}),n.d(r,"zip",function(){return jn}),n.d(r,"object",function(){return In}),n.d(r,"range",function(){return Pn}),n.d(r,"chunk",function(){return Rn}),n.d(r,"mixin",function(){return Ln}),n.d(r,"default",function(){return Mn});var s="1.12.0",i="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},o=Array.prototype,u=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,c=o.push,l=o.slice,h=u.toString,d=u.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,m=Array.isArray,g=Object.keys,y=Object.create,b=f&&ArrayBuffer.isView,v=isNaN,_=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
1ing"],S=Math.pow(2,53)-1;function C(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),s=0;s<n;s++)r[s]=arguments[s+e];switch(e){case 0:return t.call(this,r);case 1:return t.call(this,arguments[0],r);case 2:return t.call(this,arguments[0],arguments[1],r)}var i=Array(e+1);for(s=0;s<e;s++)i[s]=arguments[s];return i[e]=r,t.apply(this,i)}}function D(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function A(t){return null===t}function x(t){return void 0===t}function O(t){return!0===t||!1===t||"[object Boolean]"===h.call(t)}function T(t){return!(!t||1!==t.nodeType)}function k(t){var e="[object "+t+"]";return function(t){return h.call(t)===e}}var F=k("String"),j=k("Number"),I=k("Date"),P=k("RegExp"),R=k("Error"),N=k("Symbol"),L=k("ArrayBuffer"),M=k("Function");"object"!=typeof Int8Array&&"function"!=typeof(i.document&&i.document.childNodes)&&(M=function(t){return"function"==typeof t||!1});var B=M,H=k("Object"),U=p&&H(new DataView(new ArrayBuffer(8))),$="undefined"!=typeof Map&&H(new Map),V=k("DataView"),q=U?function(t){return null!=t&&B(t.getInt8)&&L(t.buffer)}:V,z=m||k("Array");function G(t,e){return null!=t&&d.call(t,e)}var K=k("Arguments");!function(){K(arguments)||(K=function(t){return G(t,"callee")})}();var W=K;function Q(t){return!N(t)&&_(t)&&!isNaN(parseFloat(t))}function Y(t){return j(t)&&v(t)}function X(t){return function(){return t}}function Z(t){return function(e){var n=t(e);return"number"==typeof n&&n>=0&&n<=S}}function J(t){return function(e){return null==e?void 0:e[t]}}var tt=J("byteLength"),et=Z(tt),nt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,rt=f?function(t){return b?b(t)&&!q(t):et(t)&&nt.test(h.call(t))}:X(!1),st=J("length");function it(t,e){e=function(t){for(var e={},n=t.length,r=0;r<n;++r)e[t[r]]=!0;return{contains:function(t){return e[t]},push:function(n){return e[n]=!0,t.push(n)}}}(e);var n=E.length,r=t.constructor,s=B(r)&&r.prototype||u,i="constructor";for(G(t,i)&&!e.contains(i)&&e.push(i);n--;)(i=E[n])in t&&t[i]!==s[i]&&!e.contains(i)&&e.push(i)}function ot(t){if(!D(t))return[];if(g)return g(t);var e=[];for(var n in t)G(t,n)&&e.push(n);return w&&it(t,e),e}function ut(t){if(null==t)return!0;var e=st(t);return"number"==typeof e&&(z(t)||F(t)||W(t))?0===e:0===st(ot(t))}function at(t,e){var n=ot(e),r=n.length;if(null==t)return!r;for(var s=Object(t),i=0;i<r;i++){var o=n[i];if(e[o]!==s[o]||!(o in s))return!1}return!0}function ct(t){return t instanceof ct?t:this instanceof ct?void(this._wrapped=t):new ct(t)}function lt(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,tt(t))}function ht(t,e,n,r){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var s=typeof t;return("function"===s||"object"===s||"object"==typeof e)&&dt(t,e,n,r)}function dt(t,e,n,r){t instanceof ct&&(t=t._wrapped),e instanceof ct&&(e=e._wrapped);var s=h.call(t);if(s!==h.call(e))return!1;if(U&&"[object Object]"==s&&q(t)){if(!q(e))return!1;s="[object DataView]"}switch(s){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return a.valueOf.call(t)===a.valueOf.call(e);case"[object ArrayBuffer]":case"[object DataView]":return dt(lt(t),lt(e),n,r)}var i="[object Array]"===s;if(!i&&rt(t)){if(tt(t)!==tt(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof t||"object"!=typeof e)return!1;var o=t.constructor,u=e.constructor;if(o!==u&&!(B(o)&&o instanceof o&&B(u)&&u instanceof u)&&"constructor"in t&&"constructor"in e)return!1}r=r||[];for(var c=(n=n||[]).length;c--;)if(n[c]===t)return r[c]===e;if(n.push(t),r.push(e),i){if((c=t.length)!==e.length)return!1;for(;c--;)if(!ht(t[c],e[c],n,r))return!1}else{var l,d=ot(t);if(c=d.length,ot(e).length!==c)return!1;for(;c--;)if(!G(e,l=d[c])||!ht(t[l],e[l],n,r))return!1}return n.pop(),r.pop(),!0}function ft(t,e){return ht(t,e)}function pt(t){if(!D(t))return[];var e=[];for(var n in t)e.push(n);return w&&it(t,e),e}function mt(t){var e=st(t);return function(n){if(null==n)return!1;var r=pt(n);if(st(r))return!1;for(var s=0;s<e;s++)if(!B(n[t[s]]))return!1;return t!==_t||!B(n[gt])}}ct.VERSION=s,ct.prototype.valueOf=ct.prototype.toJSON=ct.prototype.value=function(){return this._wrapped},ct.prototype.toString=function(){return String(this._wrapped)};var gt="forEach",yt=["clear","delete"],bt=["get","has","set"],vt=yt.concat(gt,bt),_t=yt.concat(bt),wt=["add"].concat(yt,gt,"has"),Et=$?mt(vt):k("Map"),St=$?mt(_t):k("WeakMap"),Ct=$?mt(wt):k("Set"),Dt=k("WeakSet");function At(t){for(var e=ot(t),n=e.length,r=Array(n),s=0;s<n;s++)r[s]=t[e[s]];return r}function xt(t){for(var e=ot(t),n=e.length,r=Array(n),s=0;s<n;s++)r[s]=[e[s],t[e[s]]];return r}function Ot(t){for(var e={},n=ot(t),r=0,s=n.length;r<s;r++)e[t[n[r]]]=n[r];return e}function Tt(t){var e=[];for(var n in t)B(t[n])&&e.push(n);return e.sort()}function kt(t,e){return function(n){var r=arguments.length;if(e&&(n=Object(n)),r<2||null==n)return n;for(var s=1;s<r;s++)for(var i=arguments[s],o=t(i),u=o.length,a=0;a<u;a++){var c=o[a];e&&void 0!==n[c]||(n[c]=i[c])}return n}}var Ft=kt(pt),jt=kt(ot),It=kt(pt,!0);function Pt(t){if(!D(t))return{};if(y)return y(t);var e=function(){};e.prototype=t;var n=new e;return e.prototype=null,n}function Rt(t,e){var n=Pt(t);return e&&jt(n,e),n}function Nt(t){return D(t)?z(t)?t.slice():Ft({},t):t}function Lt(t,e){return e(t),t}function Mt(t){return z(t)?t:[t]}function Bt(t){return ct.toPath(t)}function Ht(t,e){for(var n=e.length,r=0;r<n;r++){if(null==t)return;t=t[e[r]]}return n?t:void 0}function Ut(t,e,n){var r=Ht(t,Bt(e));return x(r)?n:r}function $t(t,e){for(var n=(e=Bt(e)).length,r=0;r<n;r++){var s=e[r];if(!G(t,s))return!1;t=t[s]}return!!n}function Vt(t){return t}function qt(t){return t=jt({},t),function(e){return at(e,t)}}function zt(t){return t=Bt(t),function(e){return Ht(e,t)}}function Gt(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,s){return t.call(e,n,r,s)};case 4:return function(n,r,s,i){return t.call(e,n,r,s,i)}}return function(){return t.apply(e,arguments)}}function Kt(t,e,n){return null==t?Vt:B(t)?Gt(t,e,n):D(t)&&!z(t)?qt(t):zt(t)}function Wt(t,e){return Kt(t,e,1/0)}function Qt(t,e,n){return ct.iteratee!==Wt?ct.iteratee(t,e):Kt(t,e,n)}function Yt(t,e,n){e=Qt(e,n);for(var r=ot(t),s=r.length,i={},o=0;o<s;o++){var u=r[o];i[u]=e(t[u],u,t)}return i}function Xt(){}function Zt(t){return null==t?Xt:function(e){return Ut(t,e)}}function Jt(t,e,n){var r=Array(Math.max(0,t));e=Gt(e,n,1);for(var s=0;s<t;s++)r[s]=e(s);return r}function te(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}ct.toPath=Mt,ct.iteratee=Wt;var ee=Date.now||function(){return(new Date).getTime()};function ne(t){var e=function(e){return t[e]},n="(?:"+ot(t).join("|")+")",r=RegExp(n),s=RegExp(n,"g");return function(t){return r.test(t=null==t?"":""+t)?t.replace(s,e):t}}var re={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},se=ne(re),ie=ne(Ot(re)),oe=ct.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},ue=/(.)^/,ae={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ce=/\\|'|\r|\n|\u2028|\u2029/g;function le(t){return"\\"+ae[t]}function he(t,e,n){!e&&n&&(e=n),e=It({},e,ct.templateSettings);var r,s=RegExp([(e.escape||ue).source,(e.interpolate||ue).source,(e.evaluate||ue).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(s,function(e,n,r,s,u){return o+=t.slice(i,u).replace(ce,le),i=u+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{r=new Function(e.variable||"obj","_",o)}catch(a){throw a.source=o,a}var u=function(t){return r.call(this,t,ct)};return u.source="function("+(e.variable||"obj")+"){\n"+o+"}",u}function de(t,e,n){var r=(e=Bt(e)).length;if(!r)return B(n)?n.call(t):n;for(var s=0;s<r;s++){var i=null==t?void 0:t[e[s]];void 0===i&&(i=n,s=r),t=B(i)?i.call(t):i}return t}var fe=0;function pe(t){var e=++fe+"";return t?t+e:e}function me(t){var e=ct(t);return e._chain=!0,e}function ge(t,e,n,r,s){if(!(r instanceof e))return t.apply(n,s);var i=Pt(t.prototype),o=t.apply(i,s);return D(o)?o:i}var ye=C(function(t,e){var n=ye.placeholder,r=function(){for(var s=0,i=e.length,o=Array(i),u=0;u<i;u++)o[u]=e[u]===n?arguments[s++]:e[u];for(;s<arguments.length;)o.push(arguments[s++]);return ge(t,r,this,this,o)};return r});ye.placeholder=ct;var be=ye,ve=C(function(t,e,n){if(!B(t))throw new TypeError("Bind must be called on a function");var r=C(function(s){return ge(t,r,e,this,n.concat(s))});return r}),_e=Z(st);function we(t,e,n,r){if(r=r||[],e||0===e){if(e<=0)return r.concat(t)}else e=1/0;for(var s=r.length,i=0,o=st(t);i<o;i++){var u=t[i];
vendor: 6,587 bytes, line 1
1if(_e(u)&&(z(u)||W(u)))if(e>1)we(u,e-1,n,r),s=r.length;else for(var a=0,c=u.length;a<c;)r[s++]=u[a++];else n||(r[s++]=u)}return r}var Ee=C(function(t,e){var n=(e=we(e,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=e[n];t[r]=ve(t[r],t)}return t});function Se(t,e){var n=function(r){var s=n.cache,i=""+(e?e.apply(this,arguments):r);return G(s,i)||(s[i]=t.apply(this,arguments)),s[i]};return n.cache={},n}var Ce=C(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),De=be(Ce,ct,1);function Ae(t,e,n){var r,s,i,o,u=0;n||(n={});var a=function(){u=!1===n.leading?0:ee(),r=null,o=t.apply(s,i),r||(s=i=null)},c=function(){var c=ee();u||!1!==n.leading||(u=c);var l=e-(c-u);return s=this,i=arguments,l<=0||l>e?(r&&(clearTimeout(r),r=null),u=c,o=t.apply(s,i),r||(s=i=null)):r||!1===n.trailing||(r=setTimeout(a,l)),o};return c.cancel=function(){clearTimeout(r),u=0,r=s=i=null},c}function xe(t,e,n){var r,s,i=function(e,n){r=null,n&&(s=t.apply(e,n))},o=C(function(o){if(r&&clearTimeout(r),n){var u=!r;r=setTimeout(i,e),u&&(s=t.apply(this,o))}else r=Ce(i,e,this,o);return s});return o.cancel=function(){clearTimeout(r),r=null},o}function Oe(t,e){return be(e,t)}function Te(t){return function(){return!t.apply(this,arguments)}}function ke(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}function Fe(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function je(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}var Ie=be(je,2);function Pe(t,e,n){e=Qt(e,n);for(var r,s=ot(t),i=0,o=s.length;i<o;i++)if(e(t[r=s[i]],r,t))return r}function Re(t){return function(e,n,r){n=Qt(n,r);for(var s=st(e),i=t>0?0:s-1;i>=0&&i<s;i+=t)if(n(e[i],i,e))return i;return-1}}var Ne=Re(1),Le=Re(-1);function Me(t,e,n,r){for(var s=(n=Qt(n,r,1))(e),i=0,o=st(t);i<o;){var u=Math.floor((i+o)/2);n(t[u])<s?i=u+1:o=u}return i}function Be(t,e,n){return function(r,s,i){var o=0,u=st(r);if("number"==typeof i)t>0?o=i>=0?i:Math.max(i+u,o):u=i>=0?Math.min(i+1,u):i+u+1;else if(n&&i&&u)return r[i=n(r,s)]===s?i:-1;if(s!=s)return(i=e(l.call(r,o,u),Y))>=0?i+o:-1;for(i=t>0?o:u-1;i>=0&&i<u;i+=t)if(r[i]===s)return i;return-1}}var He=Be(1,Ne,Me),Ue=Be(-1,Le);function $e(t,e,n){var r=(_e(t)?Ne:Pe)(t,e,n);if(void 0!==r&&-1!==r)return t[r]}function Ve(t,e){return $e(t,qt(e))}function qe(t,e,n){var r,s;if(e=Gt(e,n),_e(t))for(r=0,s=t.length;r<s;r++)e(t[r],r,t);else{var i=ot(t);for(r=0,s=i.length;r<s;r++)e(t[i[r]],i[r],t)}return t}function ze(t,e,n){e=Qt(e,n);for(var r=!_e(t)&&ot(t),s=(r||t).length,i=Array(s),o=0;o<s;o++){var u=r?r[o]:o;i[o]=e(t[u],u,t)}return i}function Ge(t){var e=function(e,n,r,s){var i=!_e(e)&&ot(e),o=(i||e).length,u=t>0?0:o-1;for(s||(r=e[i?i[u]:u],u+=t);u>=0&&u<o;u+=t){var a=i?i[u]:u;r=n(r,e[a],a,e)}return r};return function(t,n,r,s){var i=arguments.length>=3;return e(t,Gt(n,s,4),r,i)}}var Ke=Ge(1),We=Ge(-1);function Qe(t,e,n){var r=[];return e=Qt(e,n),qe(t,function(t,n,s){e(t,n,s)&&r.push(t)}),r}function Ye(t,e,n){return Qe(t,Te(Qt(e)),n)}function Xe(t,e,n){e=Qt(e,n);for(var r=!_e(t)&&ot(t),s=(r||t).length,i=0;i<s;i++){var o=r?r[i]:i;if(!e(t[o],o,t))return!1}return!0}function Ze(t,e,n){e=Qt(e,n);for(var r=!_e(t)&&ot(t),s=(r||t).length,i=0;i<s;i++){var o=r?r[i]:i;if(e(t[o],o,t))return!0}return!1}function Je(t,e,n,r){return _e(t)||(t=At(t)),("number"!=typeof n||r)&&(n=0),He(t,e,n)>=0}var tn=C(function(t,e,n){var r,s;return B(e)?s=e:(e=Bt(e),r=e.slice(0,-1),e=e[e.length-1]),ze(t,function(t){var i=s;if(!i){if(r&&r.length&&(t=Ht(t,r)),null==t)return;i=t[e]}return null==i?i:i.apply(t,n)})});function en(t,e){return ze(t,zt(e))}function nn(t,e){return Qe(t,qt(e))}function rn(t,e,n){var r,s,i=-1/0,o=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,a=(t=_e(t)?t:At(t)).length;u<a;u++)null!=(r=t[u])&&r>i&&(i=r);else e=Qt(e,n),qe(t,function(t,n,r){((s=e(t,n,r))>o||s===-1/0&&i===-1/0)&&(i=t,o=s)});return i}function sn(t,e,n){var r,s,i=1/0,o=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var u=0,a=(t=_e(t)?t:At(t)).length;u<a;u++)null!=(r=t[u])&&r<i&&(i=r);else e=Qt(e,n),qe(t,function(t,n,r){((s=e(t,n,r))<o||s===1/0&&i===1/0)&&(i=t,o=s)});return i}function on(t,e,n){if(null==e||n)return _e(t)||(t=At(t)),t[te(t.length-1)];var r=_e(t)?Nt(t):At(t),s=st(r);e=Math.max(Math.min(e,s),0);for(var i=s-1,o=0;o<e;o++){var u=te(o,i),a=r[o];r[o]=r[u],r[u]=a}return r.slice(0,e)}function un(t){return on(t,1/0)}function an(t,e,n){var r=0;return e=Qt(e,n),en(ze(t,function(t,n,s){return{value:t,index:r++,criteria:e(t,n,s)}}).sort(function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return t.index-e.index}),"value")}function cn(t,e){return function(n,r,s){var i=e?[[],[]]:{};return r=Qt(r,s),qe(n,function(e,s){var o=r(e,s,n);t(i,e,o)}),i}}var ln=cn(function(t,e,n){G(t,n)?t[n].push(e):t[n]=[e]}),hn=cn(function(t,e,n){t[n]=e}),dn=cn(function(t,e,n){G(t,n)?t[n]++:t[n]=1}),fn=cn(function(t,e,n){t[n?0:1].push(e)},!0),pn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function mn(t){return t?z(t)?l.call(t):F(t)?t.match(pn):_e(t)?ze(t,Vt):At(t):[]}function gn(t){return null==t?0:_e(t)?t.length:ot(t).length}function yn(t,e,n){return e in n}var bn=C(function(t,e){var n={},r=e[0];if(null==t)return n;B(r)?(e.length>1&&(r=Gt(r,e[1])),e=pt(t)):(r=yn,e=we(e,!1,!1),t=Object(t));for(var s=0,i=e.length;s<i;s++){var o=e[s],u=t[o];r(u,o,t)&&(n[o]=u)}return n}),vn=C(function(t,e){var n,r=e[0];return B(r)?(r=Te(r),e.length>1&&(n=e[1])):(e=ze(we(e,!1,!1),String),r=function(t,n){return!Je(e,n)}),bn(t,r,n)});function _n(t,e,n){return l.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))}function wn(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[0]:_n(t,t.length-e)}function En(t,e,n){return l.call(t,null==e||n?1:e)}function Sn(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[t.length-1]:En(t,Math.max(0,t.length-e))}function Cn(t){return Qe(t,Boolean)}function Dn(t,e){return we(t,e,!1)}var An=C(function(t,e){return e=we(e,!0,!0),Qe(t,function(t){return!Je(e,t)})}),xn=C(function(t,e){return An(t,e)});function On(t,e,n,r){O(e)||(r=n,n=e,e=!1),null!=n&&(n=Qt(n,r));for(var s=[],i=[],o=0,u=st(t);o<u;o++){var a=t[o],c=n?n(a,o,t):a;e&&!n?(o&&i===c||s.push(a),i=c):n?Je(i,c)||(i.push(c),s.push(a)):Je(s,a)||s.push(a)}return s}var Tn=C(function(t){return On(we(t,!0,!0))});function kn(t){for(var e=[],n=arguments.length,r=0,s=st(t);r<s;r++){var i=t[r];
1if(!Je(e,i)){var o;for(o=1;o<n&&Je(arguments[o],i);o++);o===n&&e.push(i)}}return e}function Fn(t){for(var e=t&&rn(t,st).length||0,n=Array(e),r=0;r<e;r++)n[r]=en(t,r);return n}var jn=C(Fn);function In(t,e){for(var n={},r=0,s=st(t);r<s;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n}function Pn(t,e,n){null==e&&(e=t||0,t=0),n||(n=e<t?-1:1);for(var r=Math.max(Math.ceil((e-t)/n),0),s=Array(r),i=0;i<r;i++,t+=n)s[i]=t;return s}function Rn(t,e){if(null==e||e<1)return[];for(var n=[],r=0,s=t.length;r<s;)n.push(l.call(t,r,r+=e));return n}function Nn(t,e){return t._chain?ct(e).chain():e}function Ln(t){return qe(Tt(t),function(e){var n=ct[e]=t[e];ct.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),Nn(this,n.apply(ct,t))}}),ct}qe(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=o[t];ct.prototype[t]=function(){var n=this._wrapped;return null!=n&&(e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Nn(this,n)}}),qe(["concat","join","slice"],function(t){var e=o[t];ct.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Nn(this,t)}});var Mn=ct,Bn=Ln(r);Bn._=Bn},xbPD:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("7o/Q");function s(t=null){return e=>e.lift(new i(t))}class i{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new o(t,this.defaultValue))}}class o extends r.a{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()}}},yCtX:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("HDdC"),s=n("ngJS"),i=n("jZKg");function o(t,e){return e?Object(i.a)(t,e):new r.a(Object(s.a)(t))}},yoF8:function(t,e,n){"use strict";e.identity=function(t){return t}},yx2s:function(t,e,n){"use strict";var r=n("FWf1");e.canReportError=function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof r.Subscriber?e:null}return!0}},"z+Ro":function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return r})},z6cu:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("HDdC");function s(t,e){return new r.a(e?n=>e.schedule(i,0,{error:t,subscriber:n}):e=>e.error(t))}function i({error:t,subscriber:e}){e.error(t)}},"zB/H":function(t,e,n){"use strict";var r=n("mbIT"),s=n("GMZp"),i=n("pshJ"),o=n("LBXl");function u(t){return t.reduce(function(t,e){return t.concat(e instanceof o.UnsubscriptionError?e.errors:e)},[])}e.Subscription=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this._parentOrParents,a=this._unsubscribe,c=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var l=0;l<n.length;++l)n[l].remove(this);if(i.isFunction(a))try{a.call(this)}catch(f){e=f instanceof o.UnsubscriptionError?u(f.errors):[f]}if(r.isArray(c)){l=-1;for(var h=c.length;++l<h;){var d=c[l];if(s.isObject(d))try{d.unsubscribe()}catch(f){e=e||[],f instanceof o.UnsubscriptionError?e=e.concat(u(f.errors)):e.push(f)}}}if(e)throw new o.UnsubscriptionError(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var s=n._parentOrParents;if(null===s)n._parentOrParents=this;else if(s instanceof t){if(s===this)return n;n._parentOrParents=[s,this]}else{if(-1!==s.indexOf(this))return n;s.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}()},zfKp:function(t,e,n){"use strict";e.observable=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},zzsZ:function(t,e,n){"use strict";var r=n("Q1FS"),s=n("OAkW"),i=n("2qMH");e.fromArray=function(t,e){return e?i.scheduleArray(t,e):new r.Observable(s.subscribeToArray(t))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.