"use strict";(self.webpackChunkallbridge_hub=self.webpackChunkallbridge_hub||[]).push([[179],{4466:($e,oe,S)=>{S.d(oe,{m:()=>K});var d=S(9808),O=S(7581),U=S(2382),J=S(7587);let K=(()=>{class fe{}return fe.\u0275fac=function(ge){return new(ge||fe)},fe.\u0275mod=J.oAB({type:fe}),fe.\u0275inj=J.cJS({imports:[[d.ez,O.Bz,U.u5,U.UX]]}),fe})()},6922:($e,oe,S)=>{var d=S(2313),O=S(7581),U=S(7587);const J=[{path:"",loadChildren:()=>Promise.all([S.e(582),S.e(977),S.e(225),S.e(762)]).then(S.bind(S,9762)).then(F=>F.HomeModule)},{path:"core",loadChildren:()=>Promise.all([S.e(582),S.e(977),S.e(886),S.e(638)]).then(S.bind(S,638)).then(F=>F.CoreModule)},{path:"classic",loadChildren:()=>Promise.all([S.e(582),S.e(225),S.e(886),S.e(45)]).then(S.bind(S,5045)).then(F=>F.ClassicModule)}];let K=(()=>{class F{}return F.\u0275fac=function(N){return new(N||F)},F.\u0275mod=U.oAB({type:F}),F.\u0275inj=U.cJS({imports:[[O.Bz.forRoot(J,{initialNavigation:"enabled"})],O.Bz]}),F})();var fe=S(9300),re=S(9808);const ge=function(F){return{classic:F}};let de=(()=>{class F{constructor(N){this._router=N,this.isClassic=!1,this._router.events.pipe((0,fe.h)(B=>B instanceof O.m2)).subscribe(B=>{this.isClassic=B.url.includes("classic")})}}return F.\u0275fac=function(N){return new(N||F)(U.Y36(O.F0))},F.\u0275cmp=U.Xpm({type:F,selectors:[["app-root"]],decls:5,vars:3,consts:[[1,"app",3,"ngClass"],[1,"border","border--top"],[1,"border","border--right"],[1,"border","border--left"]],template:function(N,B){1&N&&(U.TgZ(0,"div",0),U._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"router-outlet"),U.qZA()),2&N&&U.Q6J("ngClass",U.VKq(1,ge,B.isClassic))},directives:[re.mk,O.lC],styles:['.app[_ngcontent-%COMP%]{position:relative;--gradient-color--rgb: 75, 187, 147}.app.classic[_ngcontent-%COMP%]{--gradient-color--rgb: 97, 207, 201}.border[_ngcontent-%COMP%]{background-color:rgba(var(--gradient-color--rgb),.8);background-image:url(/assets/dots.png)}@media screen and (max-width: 768px){.border[_ngcontent-%COMP%]{display:none}}.border--top[_ngcontent-%COMP%]{width:100%;height:50px}.border--left[_ngcontent-%COMP%], .border--right[_ngcontent-%COMP%]{background:linear-gradient(180deg,rgba(var(--gradient-color--rgb),.8) 0%,rgba(var(--gradient-color--rgb),0) 100%);position:absolute;width:15px;height:10%;top:50px}.border--left[_ngcontent-%COMP%]:after, .border--right[_ngcontent-%COMP%]:after{position:absolute;background-image:url(/assets/dots.png);content:"";width:15px;height:100%}.border--left[_ngcontent-%COMP%]{left:0}.border--right[_ngcontent-%COMP%]{right:0}']}),F})();var ne=S(7582),G=S(1135),be=S(3900),Me=S(8306),he=S(5032);const Fe=new Me.y(he.Z);var ue=S(9646),nt=S(8505),ot=S(590),ke=S(4004),De=S(7579),Y=S(6063);class Se extends De.x{constructor(j=1/0,N=1/0,B=Y.l){super(),this._bufferSize=j,this._windowTime=N,this._timestampProvider=B,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=N===1/0,this._bufferSize=Math.max(1,j),this._windowTime=Math.max(1,N)}next(j){const{isStopped:N,_buffer:B,_infiniteTimeWindow:xe,_timestampProvider:me,_windowTime:Ue}=this;N||(B.push(j),!xe&&B.push(me.now()+Ue)),this._trimBuffer(),super.next(j)}_subscribe(j){this._throwIfClosed(),this._trimBuffer();const N=this._innerSubscribe(j),{_infiniteTimeWindow:B,_buffer:xe}=this,me=xe.slice();for(let Ue=0;Ue{let B=N;for(let xe=0;xeee}),ae=F=>(F.includes("#")&&(F=F.split("#")[0]),F.includes("?")&&(F=F.split("?")[0]),F.endsWith("/")?F.slice(0,-1):F),ve=()=>window&&"running"===window.ScullyIO,ye=()=>window&&"generated"===window.ScullyIO;function Ye(F,j){return(F=null!=F?F:"").endsWith("/")&&j.startsWith("/")?`${F}${j.substr(1)}`:F.endsWith("/")||j.startsWith("/")?`${F}${j}`:`${F}/${j}`}const ft="ScullyIO-transfer-state",dt="/** ___SCULLY_STATE_START___ */",Ee="/** ___SCULLY_STATE_END___ */";let Je=(()=>{class F{constructor(N,B,xe){this.document=N,this.router=B,this.http=xe,this.inlineOnly=!1,this.currentBaseUrl="//",this.stateBS=new G.X({}),this.state$=this.stateBS.pipe((0,fe.h)(me=>void 0!==me)),this.nextUrl=this.router.events.pipe((0,fe.h)(me=>me instanceof O.OD),(0,be.w)(me=>ae(this.initialUrl)===ae(me.url)?(this.initialUrl="__done__with__Initial__navigation__",Fe):(0,ue.of)(me)),(0,nt.b)(()=>this.stateBS.next(void 0)),(0,be.w)(me=>this.router.events.pipe((0,fe.h)(Ue=>Ue instanceof O.c9&&Ue.url===me.url),(0,ot.P)())),(0,ke.U)(me=>ae(me.urlAfterRedirects||me.url)),function Ae(F,j,N){let B,xe=!1;return F&&"object"==typeof F?({bufferSize:B=1/0,windowTime:j=1/0,refCount:xe=!1,scheduler:N}=F):B=null!=F?F:1/0,(0,je.B)({connector:()=>new Se(B,j,N),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:xe})}(1))}startMonitoring(){window&&window["ScullyIO-injected"]&&window["ScullyIO-injected"].inlineStateOnly&&(this.inlineOnly=!0),this.setupEnvForTransferState(),this.setupStartNavMonitoring()}setupEnvForTransferState(){if(ve()){this.injectScript();const N=window["ScullyIO-exposed"]||{};N.transferState&&(this.stateBS.next(N.transferState),this.saveState(N.transferState))}else this.initialUrl=window.location.pathname||"__no_NO_no__",this.initialUrl="/"!==this.initialUrl&&this.initialUrl.endsWith("/")?this.initialUrl.slice(0,-1):this.initialUrl,ye()&&this.stateBS.next(window&&window[ft]||{})}injectScript(){this.script=this.document.createElement("script"),this.script.setAttribute("id",ft);let N=this.document.body.lastChild;for(;"SCRIPT"===N.previousSibling.nodeName;)N=N.previousSibling;this.document.body.insertBefore(this.script,N)}getState(N){return this.fetchTransferState(),this.state$.pipe(Ce(N))}stateHasKey(N){return this.stateBS.value&&this.stateBS.value.hasOwnProperty(N)}stateKeyHasValue(N){return this.stateBS.value&&this.stateBS.value.hasOwnProperty(N)&&null!=this.stateBS.value[N]}setState(N,B){const xe=Object.assign(Object.assign({},this.stateBS.value),{[N]:B});this.stateBS.next(xe),this.saveState(xe)}saveState(N){ve()&&(this.script.textContent=`{window['${ft}']=_u(String.raw\`${dt}${function gt(F){const j={"'":"_~q~",$:"_~o~","`":"_~b~","/":"_~s~","<":"_~l~",">":"_~g~"};return F.replace(/[\$`'<>\/]/g,N=>j[N]).replace(/\\\"/g,"_~d~")}(JSON.stringify(N))}${Ee}\`);function _u(t){t=t.split('${dt}')[1].split('${Ee}')[0];const u={'_~b~': "\`",'_~q~': "'",'_~o~': '$','_~s~': '/','_~l~': '<','_~g~': '>'};return JSON.parse(t.replace(/_~d~/g,'\\\\"').replace(/_~[^]~/g, (s) => u[s]).replace(/\\n/g,'\\\\n').replace(/\\t/g,'\\\\t').replace(/\\r/g,'\\\\r'));}}`)}setupStartNavMonitoring(){!ye()||this.nextUrl.subscribe()}useScullyTransferState(N,B){return ye()?this.getState(N):B.pipe((0,nt.b)(xe=>this.setState(N,xe)))}fetchTransferState(){return(0,ne.mG)(this,void 0,void 0,function*(){const N=me=>me.split("/").filter(Ue=>""!==Ue.trim())[0];yield new Promise(me=>setTimeout(me,0));const B=yield(0,We.z)(this.nextUrl),xe=N(B);this.currentBaseUrl!==xe&&(this.currentBaseUrl=xe,this.nextUrl.pipe(function Re(F,j=!1){return(0,Pe.e)((N,B)=>{let xe=0;N.subscribe((0,Ze.x)(B,me=>{const Ue=F(me,xe++);(Ue||j)&&B.next(me),!Ue&&B.complete()}))})}(me=>N(me)===this.currentBaseUrl),(0,be.w)(me=>this.inlineOnly?this.readFromIndex(me):this.readFromJson(me)),(0,rt.K)(me=>(console.warn("Error while loading of parsing Scully state:",me),(0,ue.of)({}))),(0,nt.b)(me=>{this.stateBS.next(me)})).subscribe({complete:()=>{this.currentBaseUrl="//"}}))})}readFromJson(N){return(0,We.z)(this.http.get(it(Ye(N,"/data.json"))))}readFromIndex(N){return(0,We.z)(this.http.get(it(Ye(N,"/index.html")),{responseType:"text"})).then(B=>{const xe=B.split(dt)[1].split(Ee)[0];return JSON.parse(function Tt(F){const j={"_~q~":"'","_~b~":"`","_~o~":"$","_~s~":"/","_~l~":"<","_~g~":">"};return F.replace(/_~d~/g,'\\"').replace(/_~[^]~/g,N=>j[N]).replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(xe))})}}return F.\u0275fac=function(N){return new(N||F)(U.LFG(re.K0),U.LFG(O.F0),U.LFG(Oe.eN))},F.\u0275prov=U.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();function it(F){return F.startsWith("/")?F.slice(1):F}let Ct=(()=>{class F{constructor(N,B,xe,me,Ue){this.zone=N,this.router=B,this.document=me,this.initialUrl=function Ut(F){return F.endsWith("/")?F.slice(0,-1):F}(window&&window.location&&window.location.pathname)||"",this.imState=new G.X({idle:!1,timeOut:5e3}),this.idle$=this.imState.pipe(Ce("idle")),this.initApp=new Event("AngularInitialized",{bubbles:!0,cancelable:!1}),this.appReady=new Event("AngularReady",{bubbles:!0,cancelable:!1}),this.appTimeout=new Event("AngularTimeout",{bubbles:!0,cancelable:!1}),this.scullyLibConfig=Object.assign({},ee,xe);const yt=!!(window["ScullyIO-exposed"]||{}).manualIdle;!this.scullyLibConfig.manualIdle&&window&&(this.scullyLibConfig.alwaysMonitor||ve())&&(this.document.dispatchEvent(this.initApp),this.router.events.pipe((0,fe.h)(Rt=>Rt instanceof O.m2&&void 0!==Rt.urlAfterRedirects),(0,fe.h)(Rt=>!yt||Rt.urlAfterRedirects!==this.initialUrl),(0,nt.b)(()=>this.zoneIdleCheck())).subscribe()),this.scullyLibConfig.manualIdle&&this.document.dispatchEvent(this.initApp),this.scullyLibConfig.useTransferState&&Ue.startMonitoring()}fireManualMyAppReadyEvent(){return(0,ne.mG)(this,void 0,void 0,function*(){return this.document.dispatchEvent(this.appReady)})}init(){return(0,We.z)(this.idle$)}zoneIdleCheck(){return(0,ne.mG)(this,void 0,void 0,function*(){if(void 0===Zone)return this.simpleTimeout();const N=Zone.current.get("TaskTrackingZone");if(void 0===N)return this.simpleTimeout();this.imState.value.idle&&(yield this.setState("idle",!1)),this.zone.runOutsideAngular(()=>{let B,xe=0;const me=Date.now(),Ue=()=>{clearTimeout(B),Date.now()-me>3e4?this.document.dispatchEvent(this.appTimeout):N.macroTasks.length>0&&void 0!==N.macroTasks.find(Vt=>Vt.source.includes("XMLHttpRequest"))||xe<1?B=setTimeout(()=>{xe+=1,Ue()},50):this.zone.run(()=>{setTimeout(()=>{this.document.dispatchEvent(this.appReady),this.setState("idle",!0)},250)})};Ue()})})}simpleTimeout(){return(0,ne.mG)(this,void 0,void 0,function*(){console.warn("Scully is using timeouts, add the needed polyfills instead!"),yield new Promise(N=>setTimeout(N,this.imState.value.timeOut)),this.document.dispatchEvent(this.appReady)})}setPupeteerTimeoutValue(N){this.imState.next(Object.assign(Object.assign({},this.imState.value),{timeOut:N}))}setState(N,B){this.imState.next(Object.assign(Object.assign({},this.imState.value),{[N]:B}))}}return F.\u0275fac=function(N){return new(N||F)(U.LFG(U.R0b),U.LFG(O.F0),U.LFG(ie),U.LFG(re.K0),U.LFG(Je))},F.\u0275prov=U.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Gn=(()=>{class F{}return F.\u0275fac=function(N){return new(N||F)},F.\u0275mod=U.oAB({type:F}),F.\u0275inj=U.cJS({}),F})(),qe=(()=>{class F{constructor(N){this.idle=N}static forRoot(N=ee){return N=Object.assign({},ee,N),{ngModule:F,providers:[{provide:ie,useValue:N}]}}}return F.\u0275fac=function(N){return new(N||F)(U.LFG(Ct))},F.\u0275mod=U.oAB({type:F}),F.\u0275inj=U.cJS({imports:[[Gn,Oe.JF],Gn]}),F})();var se=S(4466);class k extends O.sz{serialize(j){return this._withTrailingSlash(super.serialize(j))}_withTrailingSlash(j){const N=j.indexOf("?")>-1?"?":"#",B=j.split(N);return B[0].endsWith("/")||-1===j.substring(j.lastIndexOf("/")+1).indexOf(".")&&(B[0]+="/"),B.join(N)}}let L=(()=>{class F{}return F.\u0275fac=function(N){return new(N||F)},F.\u0275mod=U.oAB({type:F,bootstrap:[de]}),F.\u0275inj=U.cJS({providers:[{provide:O.Hx,useClass:k}],imports:[[d.b2,K,re.ez,qe,se.m,qe.forRoot({useTransferState:!0,alwaysMonitor:!0})]]}),F})();d.q6().bootstrapModule(L).catch(F=>console.error(F))},1135:($e,oe,S)=>{S.d(oe,{X:()=>O});var d=S(7579);class O extends d.x{constructor(J){super(),this._value=J}get value(){return this.getValue()}_subscribe(J){const K=super._subscribe(J);return!K.closed&&J.next(this._value),K}getValue(){const{hasError:J,thrownError:K,_value:fe}=this;if(J)throw K;return this._throwIfClosed(),fe}next(J){super.next(this._value=J)}}},8306:($e,oe,S)=>{S.d(oe,{y:()=>ne});var d=S(930),O=S(727),U=S(8822),J=S(4671);var re=S(2416),ge=S(576),de=S(2806);let ne=(()=>{class he{constructor(Ve){Ve&&(this._subscribe=Ve)}lift(Ve){const ue=new he;return ue.source=this,ue.operator=Ve,ue}subscribe(Ve,ue,nt){const ot=function Me(he){return he&&he instanceof d.Lv||function be(he){return he&&(0,ge.m)(he.next)&&(0,ge.m)(he.error)&&(0,ge.m)(he.complete)}(he)&&(0,O.Nn)(he)}(Ve)?Ve:new d.Hp(Ve,ue,nt);return(0,de.x)(()=>{const{operator:ke,source:De}=this;ot.add(ke?ke.call(ot,De):De?this._subscribe(ot):this._trySubscribe(ot))}),ot}_trySubscribe(Ve){try{return this._subscribe(Ve)}catch(ue){Ve.error(ue)}}forEach(Ve,ue){return new(ue=G(ue))((nt,ot)=>{const ke=new d.Hp({next:De=>{try{Ve(De)}catch(Y){ot(Y),ke.unsubscribe()}},error:ot,complete:nt});this.subscribe(ke)})}_subscribe(Ve){var ue;return null===(ue=this.source)||void 0===ue?void 0:ue.subscribe(Ve)}[U.L](){return this}pipe(...Ve){return function fe(he){return 0===he.length?J.y:1===he.length?he[0]:function(Ve){return he.reduce((ue,nt)=>nt(ue),Ve)}}(Ve)(this)}toPromise(Ve){return new(Ve=G(Ve))((ue,nt)=>{let ot;this.subscribe(ke=>ot=ke,ke=>nt(ke),()=>ue(ot))})}}return he.create=Fe=>new he(Fe),he})();function G(he){var Fe;return null!==(Fe=null!=he?he:re.v.Promise)&&void 0!==Fe?Fe:Promise}},7579:($e,oe,S)=>{S.d(oe,{x:()=>re});var d=S(8306),O=S(727);const J=(0,S(3888).d)(de=>function(){de(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=S(8737),fe=S(2806);let re=(()=>{class de extends d.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(G){const be=new ge(this,this);return be.operator=G,be}_throwIfClosed(){if(this.closed)throw new J}next(G){(0,fe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const be of this.currentObservers)be.next(G)}})}error(G){(0,fe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=G;const{observers:be}=this;for(;be.length;)be.shift().error(G)}})}complete(){(0,fe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:G}=this;for(;G.length;)G.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var G;return(null===(G=this.observers)||void 0===G?void 0:G.length)>0}_trySubscribe(G){return this._throwIfClosed(),super._trySubscribe(G)}_subscribe(G){return this._throwIfClosed(),this._checkFinalizedStatuses(G),this._innerSubscribe(G)}_innerSubscribe(G){const{hasError:be,isStopped:Me,observers:he}=this;return be||Me?O.Lc:(this.currentObservers=null,he.push(G),new O.w0(()=>{this.currentObservers=null,(0,K.P)(he,G)}))}_checkFinalizedStatuses(G){const{hasError:be,thrownError:Me,isStopped:he}=this;be?G.error(Me):he&&G.complete()}asObservable(){const G=new d.y;return G.source=this,G}}return de.create=(ne,G)=>new ge(ne,G),de})();class ge extends re{constructor(ne,G){super(),this.destination=ne,this.source=G}next(ne){var G,be;null===(be=null===(G=this.destination)||void 0===G?void 0:G.next)||void 0===be||be.call(G,ne)}error(ne){var G,be;null===(be=null===(G=this.destination)||void 0===G?void 0:G.error)||void 0===be||be.call(G,ne)}complete(){var ne,G;null===(G=null===(ne=this.destination)||void 0===ne?void 0:ne.complete)||void 0===G||G.call(ne)}_subscribe(ne){var G,be;return null!==(be=null===(G=this.source)||void 0===G?void 0:G.subscribe(ne))&&void 0!==be?be:O.Lc}}},930:($e,oe,S)=>{S.d(oe,{Hp:()=>Ve,Lv:()=>be});var d=S(576),O=S(727),U=S(2416),J=S(7849),K=S(5032);const fe=de("C",void 0,void 0);function de(De,Y,Se){return{kind:De,value:Y,error:Se}}var ne=S(3410),G=S(2806);class be extends O.w0{constructor(Y){super(),this.isStopped=!1,Y?(this.destination=Y,(0,O.Nn)(Y)&&Y.add(this)):this.destination=ke}static create(Y,Se,je){return new Ve(Y,Se,je)}next(Y){this.isStopped?ot(function ge(De){return de("N",De,void 0)}(Y),this):this._next(Y)}error(Y){this.isStopped?ot(function re(De){return de("E",void 0,De)}(Y),this):(this.isStopped=!0,this._error(Y))}complete(){this.isStopped?ot(fe,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Y){this.destination.next(Y)}_error(Y){try{this.destination.error(Y)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Me=Function.prototype.bind;function he(De,Y){return Me.call(De,Y)}class Fe{constructor(Y){this.partialObserver=Y}next(Y){const{partialObserver:Se}=this;if(Se.next)try{Se.next(Y)}catch(je){ue(je)}}error(Y){const{partialObserver:Se}=this;if(Se.error)try{Se.error(Y)}catch(je){ue(je)}else ue(Y)}complete(){const{partialObserver:Y}=this;if(Y.complete)try{Y.complete()}catch(Se){ue(Se)}}}class Ve extends be{constructor(Y,Se,je){let Ae;if(super(),(0,d.m)(Y)||!Y)Ae={next:null!=Y?Y:void 0,error:null!=Se?Se:void 0,complete:null!=je?je:void 0};else{let Ce;this&&U.v.useDeprecatedNextContext?(Ce=Object.create(Y),Ce.unsubscribe=()=>this.unsubscribe(),Ae={next:Y.next&&he(Y.next,Ce),error:Y.error&&he(Y.error,Ce),complete:Y.complete&&he(Y.complete,Ce)}):Ae=Y}this.destination=new Fe(Ae)}}function ue(De){U.v.useDeprecatedSynchronousErrorHandling?(0,G.O)(De):(0,J.h)(De)}function ot(De,Y){const{onStoppedNotification:Se}=U.v;Se&&ne.z.setTimeout(()=>Se(De,Y))}const ke={closed:!0,next:K.Z,error:function nt(De){throw De},complete:K.Z}},727:($e,oe,S)=>{S.d(oe,{Lc:()=>fe,w0:()=>K,Nn:()=>re});var d=S(576);const U=(0,S(3888).d)(de=>function(G){de(this),this.message=G?`${G.length} errors occurred during unsubscription:\n${G.map((be,Me)=>`${Me+1}) ${be.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=G});var J=S(8737);class K{constructor(ne){this.initialTeardown=ne,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ne;if(!this.closed){this.closed=!0;const{_parentage:G}=this;if(G)if(this._parentage=null,Array.isArray(G))for(const he of G)he.remove(this);else G.remove(this);const{initialTeardown:be}=this;if((0,d.m)(be))try{be()}catch(he){ne=he instanceof U?he.errors:[he]}const{_finalizers:Me}=this;if(Me){this._finalizers=null;for(const he of Me)try{ge(he)}catch(Fe){ne=null!=ne?ne:[],Fe instanceof U?ne=[...ne,...Fe.errors]:ne.push(Fe)}}if(ne)throw new U(ne)}}add(ne){var G;if(ne&&ne!==this)if(this.closed)ge(ne);else{if(ne instanceof K){if(ne.closed||ne._hasParent(this))return;ne._addParent(this)}(this._finalizers=null!==(G=this._finalizers)&&void 0!==G?G:[]).push(ne)}}_hasParent(ne){const{_parentage:G}=this;return G===ne||Array.isArray(G)&&G.includes(ne)}_addParent(ne){const{_parentage:G}=this;this._parentage=Array.isArray(G)?(G.push(ne),G):G?[G,ne]:ne}_removeParent(ne){const{_parentage:G}=this;G===ne?this._parentage=null:Array.isArray(G)&&(0,J.P)(G,ne)}remove(ne){const{_finalizers:G}=this;G&&(0,J.P)(G,ne),ne instanceof K&&ne._removeParent(this)}}K.EMPTY=(()=>{const de=new K;return de.closed=!0,de})();const fe=K.EMPTY;function re(de){return de instanceof K||de&&"closed"in de&&(0,d.m)(de.remove)&&(0,d.m)(de.add)&&(0,d.m)(de.unsubscribe)}function ge(de){(0,d.m)(de)?de():de.unsubscribe()}},2416:($e,oe,S)=>{S.d(oe,{v:()=>d});const d={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3905:($e,oe,S)=>{S.d(oe,{z:()=>U});var d=S(6805),O=S(930);function U(J,K){const fe="object"==typeof K;return new Promise((re,ge)=>{const de=new O.Hp({next:ne=>{re(ne),de.unsubscribe()},error:ge,complete:()=>{fe?re(K.defaultValue):ge(new d.K)}});J.subscribe(de)})}},515:($e,oe,S)=>{S.d(oe,{E:()=>O});const O=new(S(8306).y)(K=>K.complete())},2076:($e,oe,S)=>{S.d(oe,{D:()=>je});var d=S(8421),O=S(9672),U=S(4482),J=S(5403);function K(Ae,Ce=0){return(0,U.e)((We,Pe)=>{We.subscribe((0,J.x)(Pe,Ze=>(0,O.f)(Pe,Ae,()=>Pe.next(Ze),Ce),()=>(0,O.f)(Pe,Ae,()=>Pe.complete(),Ce),Ze=>(0,O.f)(Pe,Ae,()=>Pe.error(Ze),Ce)))})}function fe(Ae,Ce=0){return(0,U.e)((We,Pe)=>{Pe.add(Ae.schedule(()=>We.subscribe(Pe),Ce))})}var de=S(8306),G=S(2202),be=S(576);function he(Ae,Ce){if(!Ae)throw new Error("Iterable cannot be null");return new de.y(We=>{(0,O.f)(We,Ce,()=>{const Pe=Ae[Symbol.asyncIterator]();(0,O.f)(We,Ce,()=>{Pe.next().then(Ze=>{Ze.done?We.complete():We.next(Ze.value)})},0,!0)})})}var Fe=S(3670),Ve=S(8239),ue=S(1144),nt=S(6495),ot=S(2206),ke=S(4532),De=S(3260);function je(Ae,Ce){return Ce?function Se(Ae,Ce){if(null!=Ae){if((0,Fe.c)(Ae))return function re(Ae,Ce){return(0,d.Xf)(Ae).pipe(fe(Ce),K(Ce))}(Ae,Ce);if((0,ue.z)(Ae))return function ne(Ae,Ce){return new de.y(We=>{let Pe=0;return Ce.schedule(function(){Pe===Ae.length?We.complete():(We.next(Ae[Pe++]),We.closed||this.schedule())})})}(Ae,Ce);if((0,Ve.t)(Ae))return function ge(Ae,Ce){return(0,d.Xf)(Ae).pipe(fe(Ce),K(Ce))}(Ae,Ce);if((0,ot.D)(Ae))return he(Ae,Ce);if((0,nt.T)(Ae))return function Me(Ae,Ce){return new de.y(We=>{let Pe;return(0,O.f)(We,Ce,()=>{Pe=Ae[G.h](),(0,O.f)(We,Ce,()=>{let Ze,Re;try{({value:Ze,done:Re}=Pe.next())}catch(rt){return void We.error(rt)}Re?We.complete():We.next(Ze)},0,!0)}),()=>(0,be.m)(null==Pe?void 0:Pe.return)&&Pe.return()})}(Ae,Ce);if((0,De.L)(Ae))return function Y(Ae,Ce){return he((0,De.Q)(Ae),Ce)}(Ae,Ce)}throw(0,ke.z)(Ae)}(Ae,Ce):(0,d.Xf)(Ae)}},8421:($e,oe,S)=>{S.d(oe,{Xf:()=>Me});var d=S(7582),O=S(1144),U=S(8239),J=S(8306),K=S(3670),fe=S(2206),re=S(4532),ge=S(6495),de=S(3260),ne=S(576),G=S(7849),be=S(8822);function Me(De){if(De instanceof J.y)return De;if(null!=De){if((0,K.c)(De))return function he(De){return new J.y(Y=>{const Se=De[be.L]();if((0,ne.m)(Se.subscribe))return Se.subscribe(Y);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(De);if((0,O.z)(De))return function Fe(De){return new J.y(Y=>{for(let Se=0;Se{De.then(Se=>{Y.closed||(Y.next(Se),Y.complete())},Se=>Y.error(Se)).then(null,G.h)})}(De);if((0,fe.D)(De))return nt(De);if((0,ge.T)(De))return function ue(De){return new J.y(Y=>{for(const Se of De)if(Y.next(Se),Y.closed)return;Y.complete()})}(De);if((0,de.L)(De))return function ot(De){return nt((0,de.Q)(De))}(De)}throw(0,re.z)(De)}function nt(De){return new J.y(Y=>{(function ke(De,Y){var Se,je,Ae,Ce;return(0,d.mG)(this,void 0,void 0,function*(){try{for(Se=(0,d.KL)(De);!(je=yield Se.next()).done;)if(Y.next(je.value),Y.closed)return}catch(We){Ae={error:We}}finally{try{je&&!je.done&&(Ce=Se.return)&&(yield Ce.call(Se))}finally{if(Ae)throw Ae.error}}Y.complete()})})(De,Y).catch(Se=>Y.error(Se))})}},9646:($e,oe,S)=>{S.d(oe,{of:()=>U});var d=S(7669),O=S(2076);function U(...J){const K=(0,d.yG)(J);return(0,O.D)(J,K)}},5403:($e,oe,S)=>{S.d(oe,{x:()=>O});var d=S(930);function O(J,K,fe,re,ge){return new U(J,K,fe,re,ge)}class U extends d.Lv{constructor(K,fe,re,ge,de,ne){super(K),this.onFinalize=de,this.shouldUnsubscribe=ne,this._next=fe?function(G){try{fe(G)}catch(be){K.error(be)}}:super._next,this._error=ge?function(G){try{ge(G)}catch(be){K.error(be)}finally{this.unsubscribe()}}:super._error,this._complete=re?function(){try{re()}catch(G){K.error(G)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var K;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:fe}=this;super.unsubscribe(),!fe&&(null===(K=this.onFinalize)||void 0===K||K.call(this))}}}},262:($e,oe,S)=>{S.d(oe,{K:()=>J});var d=S(8421),O=S(5403),U=S(4482);function J(K){return(0,U.e)((fe,re)=>{let ne,ge=null,de=!1;ge=fe.subscribe((0,O.x)(re,void 0,void 0,G=>{ne=(0,d.Xf)(K(G,J(K)(fe))),ge?(ge.unsubscribe(),ge=null,ne.subscribe(re)):de=!0})),de&&(ge.unsubscribe(),ge=null,ne.subscribe(re))})}},4351:($e,oe,S)=>{S.d(oe,{b:()=>U});var d=S(5577),O=S(576);function U(J,K){return(0,O.m)(K)?(0,d.z)(J,K,1):(0,d.z)(J,1)}},6590:($e,oe,S)=>{S.d(oe,{d:()=>U});var d=S(4482),O=S(5403);function U(J){return(0,d.e)((K,fe)=>{let re=!1;K.subscribe((0,O.x)(fe,ge=>{re=!0,fe.next(ge)},()=>{re||fe.next(J),fe.complete()}))})}},9300:($e,oe,S)=>{S.d(oe,{h:()=>U});var d=S(4482),O=S(5403);function U(J,K){return(0,d.e)((fe,re)=>{let ge=0;fe.subscribe((0,O.x)(re,de=>J.call(K,de,ge++)&&re.next(de)))})}},590:($e,oe,S)=>{S.d(oe,{P:()=>re});var d=S(6805),O=S(9300),U=S(5698),J=S(6590),K=S(8068),fe=S(4671);function re(ge,de){const ne=arguments.length>=2;return G=>G.pipe(ge?(0,O.h)((be,Me)=>ge(be,Me,G)):fe.y,(0,U.q)(1),ne?(0,J.d)(de):(0,K.T)(()=>new d.K))}},4004:($e,oe,S)=>{S.d(oe,{U:()=>U});var d=S(4482),O=S(5403);function U(J,K){return(0,d.e)((fe,re)=>{let ge=0;fe.subscribe((0,O.x)(re,de=>{re.next(J.call(K,de,ge++))}))})}},8189:($e,oe,S)=>{S.d(oe,{J:()=>U});var d=S(5577),O=S(4671);function U(J=1/0){return(0,d.z)(O.y,J)}},5577:($e,oe,S)=>{S.d(oe,{z:()=>ge});var d=S(4004),O=S(8421),U=S(4482),J=S(9672),K=S(5403),re=S(576);function ge(de,ne,G=1/0){return(0,re.m)(ne)?ge((be,Me)=>(0,d.U)((he,Fe)=>ne(be,he,Me,Fe))((0,O.Xf)(de(be,Me))),G):("number"==typeof ne&&(G=ne),(0,U.e)((be,Me)=>function fe(de,ne,G,be,Me,he,Fe,Ve){const ue=[];let nt=0,ot=0,ke=!1;const De=()=>{ke&&!ue.length&&!nt&&ne.complete()},Y=je=>nt{he&&ne.next(je),nt++;let Ae=!1;(0,O.Xf)(G(je,ot++)).subscribe((0,K.x)(ne,Ce=>{null==Me||Me(Ce),he?Y(Ce):ne.next(Ce)},()=>{Ae=!0},void 0,()=>{if(Ae)try{for(nt--;ue.length&&ntSe(Ce)):Se(Ce)}De()}catch(Ce){ne.error(Ce)}}))};return de.subscribe((0,K.x)(ne,Y,()=>{ke=!0,De()})),()=>{null==Ve||Ve()}}(be,Me,de,G)))}},3099:($e,oe,S)=>{S.d(oe,{B:()=>K});var d=S(8421),O=S(7579),U=S(930),J=S(4482);function K(re={}){const{connector:ge=(()=>new O.x),resetOnError:de=!0,resetOnComplete:ne=!0,resetOnRefCountZero:G=!0}=re;return be=>{let Me,he,Fe,Ve=0,ue=!1,nt=!1;const ot=()=>{null==he||he.unsubscribe(),he=void 0},ke=()=>{ot(),Me=Fe=void 0,ue=nt=!1},De=()=>{const Y=Me;ke(),null==Y||Y.unsubscribe()};return(0,J.e)((Y,Se)=>{Ve++,!nt&&!ue&&ot();const je=Fe=null!=Fe?Fe:ge();Se.add(()=>{Ve--,0===Ve&&!nt&&!ue&&(he=fe(De,G))}),je.subscribe(Se),!Me&&Ve>0&&(Me=new U.Hp({next:Ae=>je.next(Ae),error:Ae=>{nt=!0,ot(),he=fe(ke,de,Ae),je.error(Ae)},complete:()=>{ue=!0,ot(),he=fe(ke,ne),je.complete()}}),(0,d.Xf)(Y).subscribe(Me))})(be)}}function fe(re,ge,...de){if(!0===ge)return void re();if(!1===ge)return;const ne=new U.Hp({next:()=>{ne.unsubscribe(),re()}});return ge(...de).subscribe(ne)}},3900:($e,oe,S)=>{S.d(oe,{w:()=>J});var d=S(8421),O=S(4482),U=S(5403);function J(K,fe){return(0,O.e)((re,ge)=>{let de=null,ne=0,G=!1;const be=()=>G&&!de&&ge.complete();re.subscribe((0,U.x)(ge,Me=>{null==de||de.unsubscribe();let he=0;const Fe=ne++;(0,d.Xf)(K(Me,Fe)).subscribe(de=(0,U.x)(ge,Ve=>ge.next(fe?fe(Me,Ve,Fe,he++):Ve),()=>{de=null,be()}))},()=>{G=!0,be()}))})}},5698:($e,oe,S)=>{S.d(oe,{q:()=>J});var d=S(515),O=S(4482),U=S(5403);function J(K){return K<=0?()=>d.E:(0,O.e)((fe,re)=>{let ge=0;fe.subscribe((0,U.x)(re,de=>{++ge<=K&&(re.next(de),K<=ge&&re.complete())}))})}},8505:($e,oe,S)=>{S.d(oe,{b:()=>K});var d=S(576),O=S(4482),U=S(5403),J=S(4671);function K(fe,re,ge){const de=(0,d.m)(fe)||re||ge?{next:fe,error:re,complete:ge}:fe;return de?(0,O.e)((ne,G)=>{var be;null===(be=de.subscribe)||void 0===be||be.call(de);let Me=!0;ne.subscribe((0,U.x)(G,he=>{var Fe;null===(Fe=de.next)||void 0===Fe||Fe.call(de,he),G.next(he)},()=>{var he;Me=!1,null===(he=de.complete)||void 0===he||he.call(de),G.complete()},he=>{var Fe;Me=!1,null===(Fe=de.error)||void 0===Fe||Fe.call(de,he),G.error(he)},()=>{var he,Fe;Me&&(null===(he=de.unsubscribe)||void 0===he||he.call(de)),null===(Fe=de.finalize)||void 0===Fe||Fe.call(de)}))}):J.y}},8068:($e,oe,S)=>{S.d(oe,{T:()=>J});var d=S(6805),O=S(4482),U=S(5403);function J(fe=K){return(0,O.e)((re,ge)=>{let de=!1;re.subscribe((0,U.x)(ge,ne=>{de=!0,ge.next(ne)},()=>de?ge.complete():ge.error(fe())))})}function K(){return new d.K}},6063:($e,oe,S)=>{S.d(oe,{l:()=>d});const d={now:()=>(d.delegate||Date).now(),delegate:void 0}},3410:($e,oe,S)=>{S.d(oe,{z:()=>d});const d={setTimeout(O,U,...J){const{delegate:K}=d;return(null==K?void 0:K.setTimeout)?K.setTimeout(O,U,...J):setTimeout(O,U,...J)},clearTimeout(O){const{delegate:U}=d;return((null==U?void 0:U.clearTimeout)||clearTimeout)(O)},delegate:void 0}},2202:($e,oe,S)=>{S.d(oe,{h:()=>O});const O=function d(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:($e,oe,S)=>{S.d(oe,{L:()=>d});const d="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:($e,oe,S)=>{S.d(oe,{K:()=>O});const O=(0,S(3888).d)(U=>function(){U(this),this.name="EmptyError",this.message="no elements in sequence"})},7669:($e,oe,S)=>{S.d(oe,{_6:()=>fe,jO:()=>J,yG:()=>K});var d=S(576);function U(re){return re[re.length-1]}function J(re){return(0,d.m)(U(re))?re.pop():void 0}function K(re){return function O(re){return re&&(0,d.m)(re.schedule)}(U(re))?re.pop():void 0}function fe(re,ge){return"number"==typeof U(re)?re.pop():ge}},4742:($e,oe,S)=>{S.d(oe,{D:()=>K});const{isArray:d}=Array,{getPrototypeOf:O,prototype:U,keys:J}=Object;function K(re){if(1===re.length){const ge=re[0];if(d(ge))return{args:ge,keys:null};if(function fe(re){return re&&"object"==typeof re&&O(re)===U}(ge)){const de=J(ge);return{args:de.map(ne=>ge[ne]),keys:de}}}return{args:re,keys:null}}},8737:($e,oe,S)=>{function d(O,U){if(O){const J=O.indexOf(U);0<=J&&O.splice(J,1)}}S.d(oe,{P:()=>d})},3888:($e,oe,S)=>{function d(O){const J=O(K=>{Error.call(K),K.stack=(new Error).stack});return J.prototype=Object.create(Error.prototype),J.prototype.constructor=J,J}S.d(oe,{d:()=>d})},1810:($e,oe,S)=>{function d(O,U){return O.reduce((J,K,fe)=>(J[K]=U[fe],J),{})}S.d(oe,{n:()=>d})},2806:($e,oe,S)=>{S.d(oe,{O:()=>J,x:()=>U});var d=S(2416);let O=null;function U(K){if(d.v.useDeprecatedSynchronousErrorHandling){const fe=!O;if(fe&&(O={errorThrown:!1,error:null}),K(),fe){const{errorThrown:re,error:ge}=O;if(O=null,re)throw ge}}else K()}function J(K){d.v.useDeprecatedSynchronousErrorHandling&&O&&(O.errorThrown=!0,O.error=K)}},9672:($e,oe,S)=>{function d(O,U,J,K=0,fe=!1){const re=U.schedule(function(){J(),fe?O.add(this.schedule(null,K)):this.unsubscribe()},K);if(O.add(re),!fe)return re}S.d(oe,{f:()=>d})},4671:($e,oe,S)=>{function d(O){return O}S.d(oe,{y:()=>d})},1144:($e,oe,S)=>{S.d(oe,{z:()=>d});const d=O=>O&&"number"==typeof O.length&&"function"!=typeof O},2206:($e,oe,S)=>{S.d(oe,{D:()=>O});var d=S(576);function O(U){return Symbol.asyncIterator&&(0,d.m)(null==U?void 0:U[Symbol.asyncIterator])}},576:($e,oe,S)=>{function d(O){return"function"==typeof O}S.d(oe,{m:()=>d})},3670:($e,oe,S)=>{S.d(oe,{c:()=>U});var d=S(8822),O=S(576);function U(J){return(0,O.m)(J[d.L])}},6495:($e,oe,S)=>{S.d(oe,{T:()=>U});var d=S(2202),O=S(576);function U(J){return(0,O.m)(null==J?void 0:J[d.h])}},8239:($e,oe,S)=>{S.d(oe,{t:()=>O});var d=S(576);function O(U){return(0,d.m)(null==U?void 0:U.then)}},3260:($e,oe,S)=>{S.d(oe,{L:()=>J,Q:()=>U});var d=S(7582),O=S(576);function U(K){return(0,d.FC)(this,arguments,function*(){const re=K.getReader();try{for(;;){const{value:ge,done:de}=yield(0,d.qq)(re.read());if(de)return yield(0,d.qq)(void 0);yield yield(0,d.qq)(ge)}}finally{re.releaseLock()}})}function J(K){return(0,O.m)(null==K?void 0:K.getReader)}},4482:($e,oe,S)=>{S.d(oe,{A:()=>O,e:()=>U});var d=S(576);function O(J){return(0,d.m)(null==J?void 0:J.lift)}function U(J){return K=>{if(O(K))return K.lift(function(fe){try{return J(fe,this)}catch(re){this.error(re)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:($e,oe,S)=>{S.d(oe,{Z:()=>J});var d=S(4004);const{isArray:O}=Array;function J(K){return(0,d.U)(fe=>function U(K,fe){return O(fe)?K(...fe):K(fe)}(K,fe))}},5032:($e,oe,S)=>{function d(){}S.d(oe,{Z:()=>d})},7849:($e,oe,S)=>{S.d(oe,{h:()=>U});var d=S(2416),O=S(3410);function U(J){O.z.setTimeout(()=>{const{onUnhandledError:K}=d.v;if(!K)throw J;K(J)})}},4532:($e,oe,S)=>{function d(O){return new TypeError(`You provided ${null!==O&&"object"==typeof O?"an invalid object":`'${O}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}S.d(oe,{z:()=>d})},9808:($e,oe,S)=>{S.d(oe,{Do:()=>De,EM:()=>Cn,HT:()=>K,JF:()=>pi,K0:()=>re,Mx:()=>Tn,Nd:()=>Rr,O5:()=>rn,RF:()=>Mn,S$:()=>ue,V_:()=>ne,Ye:()=>Y,b0:()=>ke,bD:()=>fn,ez:()=>Qr,lw:()=>ge,mk:()=>kt,mr:()=>ot,n9:()=>qt,q:()=>U,sg:()=>et,w_:()=>fe});var d=S(7587);let O=null;function U(){return O}function K(y){O||(O=y)}class fe{}const re=new d.OlP("DocumentToken");let ge=(()=>{class y{historyGo(v){throw new Error("Not implemented")}}return y.\u0275fac=function(v){return new(v||y)},y.\u0275prov=d.Yz7({token:y,factory:function(){return function de(){return(0,d.LFG)(G)}()},providedIn:"platform"}),y})();const ne=new d.OlP("Location Initialized");let G=(()=>{class y extends ge{constructor(v){super(),this._doc=v,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return U().getBaseHref(this._doc)}onPopState(v){const M=U().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",v,!1),()=>M.removeEventListener("popstate",v)}onHashChange(v){const M=U().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",v,!1),()=>M.removeEventListener("hashchange",v)}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(v){this.location.pathname=v}pushState(v,M,x){be()?this._history.pushState(v,M,x):this.location.hash=x}replaceState(v,M,x){be()?this._history.replaceState(v,M,x):this.location.hash=x}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}}return y.\u0275fac=function(v){return new(v||y)(d.LFG(re))},y.\u0275prov=d.Yz7({token:y,factory:function(){return function Me(){return new G((0,d.LFG)(re))}()},providedIn:"platform"}),y})();function be(){return!!window.history.pushState}function he(y,E){if(0==y.length)return E;if(0==E.length)return y;let v=0;return y.endsWith("/")&&v++,E.startsWith("/")&&v++,2==v?y+E.substring(1):1==v?y+E:y+"/"+E}function Fe(y){const E=y.match(/#|\?|$/),v=E&&E.index||y.length;return y.slice(0,v-("/"===y[v-1]?1:0))+y.slice(v)}function Ve(y){return y&&"?"!==y[0]?"?"+y:y}let ue=(()=>{class y{historyGo(v){throw new Error("Not implemented")}}return y.\u0275fac=function(v){return new(v||y)},y.\u0275prov=d.Yz7({token:y,factory:function(){return function nt(y){const E=(0,d.LFG)(re).location;return new ke((0,d.LFG)(ge),E&&E.origin||"")}()},providedIn:"root"}),y})();const ot=new d.OlP("appBaseHref");let ke=(()=>{class y extends ue{constructor(v,M){if(super(),this._platformLocation=v,this._removeListenerFns=[],null==M&&(M=this._platformLocation.getBaseHrefFromDOM()),null==M)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=M}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return he(this._baseHref,v)}path(v=!1){const M=this._platformLocation.pathname+Ve(this._platformLocation.search),x=this._platformLocation.hash;return x&&v?`${M}${x}`:M}pushState(v,M,x,Q){const pe=this.prepareExternalUrl(x+Ve(Q));this._platformLocation.pushState(v,M,pe)}replaceState(v,M,x,Q){const pe=this.prepareExternalUrl(x+Ve(Q));this._platformLocation.replaceState(v,M,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var M,x;null===(x=(M=this._platformLocation).historyGo)||void 0===x||x.call(M,v)}}return y.\u0275fac=function(v){return new(v||y)(d.LFG(ge),d.LFG(ot,8))},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac}),y})(),De=(()=>{class y extends ue{constructor(v,M){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){let M=this._platformLocation.hash;return null==M&&(M="#"),M.length>0?M.substring(1):M}prepareExternalUrl(v){const M=he(this._baseHref,v);return M.length>0?"#"+M:M}pushState(v,M,x,Q){let pe=this.prepareExternalUrl(x+Ve(Q));0==pe.length&&(pe=this._platformLocation.pathname),this._platformLocation.pushState(v,M,pe)}replaceState(v,M,x,Q){let pe=this.prepareExternalUrl(x+Ve(Q));0==pe.length&&(pe=this._platformLocation.pathname),this._platformLocation.replaceState(v,M,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(v=0){var M,x;null===(x=(M=this._platformLocation).historyGo)||void 0===x||x.call(M,v)}}return y.\u0275fac=function(v){return new(v||y)(d.LFG(ge),d.LFG(ot,8))},y.\u0275prov=d.Yz7({token:y,factory:y.\u0275fac}),y})(),Y=(()=>{class y{constructor(v,M){this._subject=new d.vpe,this._urlChangeListeners=[],this._platformStrategy=v;const x=this._platformStrategy.getBaseHref();this._platformLocation=M,this._baseHref=Fe(Ae(x)),this._platformStrategy.onPopState(Q=>{this._subject.emit({url:this.path(!0),pop:!0,state:Q.state,type:Q.type})})}path(v=!1){return this.normalize(this._platformStrategy.path(v))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(v,M=""){return this.path()==this.normalize(v+Ve(M))}normalize(v){return y.stripTrailingSlash(function je(y,E){return y&&E.startsWith(y)?E.substring(y.length):E}(this._baseHref,Ae(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._platformStrategy.prepareExternalUrl(v)}go(v,M="",x=null){this._platformStrategy.pushState(x,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+Ve(M)),x)}replaceState(v,M="",x=null){this._platformStrategy.replaceState(x,"",v,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+Ve(M)),x)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(v=0){var M,x;null===(x=(M=this._platformStrategy).historyGo)||void 0===x||x.call(M,v)}onUrlChange(v){this._urlChangeListeners.push(v),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(M=>{this._notifyUrlChangeListeners(M.url,M.state)}))}_notifyUrlChangeListeners(v="",M){this._urlChangeListeners.forEach(x=>x(v,M))}subscribe(v,M,x){return this._subject.subscribe({next:v,error:M,complete:x})}}return y.normalizeQueryParams=Ve,y.joinWithSlash=he,y.stripTrailingSlash=Fe,y.\u0275fac=function(v){return new(v||y)(d.LFG(ue),d.LFG(ge))},y.\u0275prov=d.Yz7({token:y,factory:function(){return function Se(){return new Y((0,d.LFG)(ue),(0,d.LFG)(ge))}()},providedIn:"root"}),y})();function Ae(y){return y.replace(/\/index.html$/,"")}function Tn(y,E){E=encodeURIComponent(E);for(const v of y.split(";")){const M=v.indexOf("="),[x,Q]=-1==M?[v,""]:[v.slice(0,M),v.slice(M+1)];if(x.trim()===E)return decodeURIComponent(Q)}return null}let kt=(()=>{class y{constructor(v,M,x,Q){this._iterableDiffers=v,this._keyValueDiffers=M,this._ngEl=x,this._renderer=Q,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(v){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof v?v.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(v){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof v?v.split(/\s+/):v,this._rawClass&&((0,d.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const v=this._iterableDiffer.diff(this._rawClass);v&&this._applyIterableChanges(v)}else if(this._keyValueDiffer){const v=this._keyValueDiffer.diff(this._rawClass);v&&this._applyKeyValueChanges(v)}}_applyKeyValueChanges(v){v.forEachAddedItem(M=>this._toggleClass(M.key,M.currentValue)),v.forEachChangedItem(M=>this._toggleClass(M.key,M.currentValue)),v.forEachRemovedItem(M=>{M.previousValue&&this._toggleClass(M.key,!1)})}_applyIterableChanges(v){v.forEachAddedItem(M=>{if("string"!=typeof M.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,d.AaK)(M.item)}`);this._toggleClass(M.item,!0)}),v.forEachRemovedItem(M=>this._toggleClass(M.item,!1))}_applyClasses(v){v&&(Array.isArray(v)||v instanceof Set?v.forEach(M=>this._toggleClass(M,!0)):Object.keys(v).forEach(M=>this._toggleClass(M,!!v[M])))}_removeClasses(v){v&&(Array.isArray(v)||v instanceof Set?v.forEach(M=>this._toggleClass(M,!1)):Object.keys(v).forEach(M=>this._toggleClass(M,!1)))}_toggleClass(v,M){(v=v.trim())&&v.split(/\s+/g).forEach(x=>{M?this._renderer.addClass(this._ngEl.nativeElement,x):this._renderer.removeClass(this._ngEl.nativeElement,x)})}}return y.\u0275fac=function(v){return new(v||y)(d.Y36(d.ZZ4),d.Y36(d.aQg),d.Y36(d.SBq),d.Y36(d.Qsj))},y.\u0275dir=d.lG2({type:y,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),y})();class nr{constructor(E,v,M,x){this.$implicit=E,this.ngForOf=v,this.index=M,this.count=x}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 et=(()=>{class y{constructor(v,M,x){this._viewContainer=v,this._template=M,this._differs=x,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;!this._differ&&v&&(this._differ=this._differs.find(v).create(this.ngForTrackBy))}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const M=this._viewContainer;v.forEachOperation((x,Q,pe)=>{if(null==x.previousIndex)M.createEmbeddedView(this._template,new nr(x.item,this._ngForOf,-1,-1),null===pe?void 0:pe);else if(null==pe)M.remove(null===Q?void 0:Q);else if(null!==Q){const we=M.get(Q);M.move(we,pe),Vn(we,x)}});for(let x=0,Q=M.length;x{Vn(M.get(x.currentIndex),x)})}static ngTemplateContextGuard(v,M){return!0}}return y.\u0275fac=function(v){return new(v||y)(d.Y36(d.s_b),d.Y36(d.Rgc),d.Y36(d.ZZ4))},y.\u0275dir=d.lG2({type:y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),y})();function Vn(y,E){y.context.$implicit=E.item}let rn=(()=>{class y{constructor(v,M){this._viewContainer=v,this._context=new vn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){Jt("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){Jt("ngIfElse",v),this._elseTemplateRef=v,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(v,M){return!0}}return y.\u0275fac=function(v){return new(v||y)(d.Y36(d.s_b),d.Y36(d.Rgc))},y.\u0275dir=d.lG2({type:y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),y})();class vn{constructor(){this.$implicit=null,this.ngIf=null}}function Jt(y,E){if(E&&!E.createEmbeddedView)throw new Error(`${y} must be a TemplateRef, but received '${(0,d.AaK)(E)}'.`)}class Dn{constructor(E,v){this._viewContainerRef=E,this._templateRef=v,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(E){E&&!this._created?this.create():!E&&this._created&&this.destroy()}}let Mn=(()=>{class y{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(v){this._ngSwitch=v,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(v){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(v)}_matchCase(v){const M=v==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||M,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),M}_updateDefaultCases(v){if(this._defaultViews&&v!==this._defaultUsed){this._defaultUsed=v;for(let M=0;M{class y{constructor(v,M,x){this.ngSwitch=x,x._addCase(),this._view=new Dn(v,M)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return y.\u0275fac=function(v){return new(v||y)(d.Y36(d.s_b),d.Y36(d.Rgc),d.Y36(Mn,9))},y.\u0275dir=d.lG2({type:y,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),y})(),Rr=(()=>{class y{constructor(v){this.differs=v,this.keyValues=[],this.compareFn=Kr}transform(v,M=Kr){if(!v||!(v instanceof Map)&&"object"!=typeof v)return null;this.differ||(this.differ=this.differs.find(v).create());const x=this.differ.diff(v),Q=M!==this.compareFn;return x&&(this.keyValues=[],x.forEachItem(pe=>{this.keyValues.push(function Yr(y,E){return{key:y,value:E}}(pe.key,pe.currentValue))})),(x||Q)&&(this.keyValues.sort(M),this.compareFn=M),this.keyValues}}return y.\u0275fac=function(v){return new(v||y)(d.Y36(d.aQg,16))},y.\u0275pipe=d.Yjl({name:"keyvalue",type:y,pure:!1}),y})();function Kr(y,E){const v=y.key,M=E.key;if(v===M)return 0;if(void 0===v)return 1;if(void 0===M)return-1;if(null===v)return 1;if(null===M)return-1;if("string"==typeof v&&"string"==typeof M)return v{class y{}return y.\u0275fac=function(v){return new(v||y)},y.\u0275mod=d.oAB({type:y}),y.\u0275inj=d.cJS({}),y})();const fn="browser";let Cn=(()=>{class y{}return y.\u0275prov=(0,d.Yz7)({token:y,providedIn:"root",factory:()=>new Jn((0,d.LFG)(re),window)}),y})();class Jn{constructor(E,v){this.document=E,this.window=v,this.offset=()=>[0,0]}setOffset(E){this.offset=Array.isArray(E)?()=>E:E}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(E){this.supportsScrolling()&&this.window.scrollTo(E[0],E[1])}scrollToAnchor(E){if(!this.supportsScrolling())return;const v=function Zr(y,E){const v=y.getElementById(E)||y.getElementsByName(E)[0];if(v)return v;if("function"==typeof y.createTreeWalker&&y.body&&(y.body.createShadowRoot||y.body.attachShadow)){const M=y.createTreeWalker(y.body,NodeFilter.SHOW_ELEMENT);let x=M.currentNode;for(;x;){const Q=x.shadowRoot;if(Q){const pe=Q.getElementById(E)||Q.querySelector(`[name="${E}"]`);if(pe)return pe}x=M.nextNode()}}return null}(this.document,E);v&&(this.scrollToElement(v),v.focus())}setHistoryScrollRestoration(E){if(this.supportScrollRestoration()){const v=this.window.history;v&&v.scrollRestoration&&(v.scrollRestoration=E)}}scrollToElement(E){const v=E.getBoundingClientRect(),M=v.left+this.window.pageXOffset,x=v.top+this.window.pageYOffset,Q=this.offset();this.window.scrollTo(M-Q[0],x-Q[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const E=xn(this.window.history)||xn(Object.getPrototypeOf(this.window.history));return!(!E||!E.writable&&!E.set)}catch(E){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(E){return!1}}}function xn(y){return Object.getOwnPropertyDescriptor(y,"scrollRestoration")}class pi{}},520:($e,oe,S)=>{S.d(oe,{JF:()=>Lt,eN:()=>Oe});var d=S(9808),O=S(7587),U=S(9646),J=S(8306),K=S(4351),fe=S(9300),re=S(4004);class ge{}class de{}class ne{constructor(k){this.normalizedNames=new Map,this.lazyUpdate=null,k?this.lazyInit="string"==typeof k?()=>{this.headers=new Map,k.split("\n").forEach(L=>{const F=L.indexOf(":");if(F>0){const j=L.slice(0,F),N=j.toLowerCase(),B=L.slice(F+1).trim();this.maybeSetNormalizedName(j,N),this.headers.has(N)?this.headers.get(N).push(B):this.headers.set(N,[B])}})}:()=>{this.headers=new Map,Object.keys(k).forEach(L=>{let F=k[L];const j=L.toLowerCase();"string"==typeof F&&(F=[F]),F.length>0&&(this.headers.set(j,F),this.maybeSetNormalizedName(L,j))})}:this.headers=new Map}has(k){return this.init(),this.headers.has(k.toLowerCase())}get(k){this.init();const L=this.headers.get(k.toLowerCase());return L&&L.length>0?L[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(k){return this.init(),this.headers.get(k.toLowerCase())||null}append(k,L){return this.clone({name:k,value:L,op:"a"})}set(k,L){return this.clone({name:k,value:L,op:"s"})}delete(k,L){return this.clone({name:k,value:L,op:"d"})}maybeSetNormalizedName(k,L){this.normalizedNames.has(L)||this.normalizedNames.set(L,k)}init(){this.lazyInit&&(this.lazyInit instanceof ne?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(k=>this.applyUpdate(k)),this.lazyUpdate=null))}copyFrom(k){k.init(),Array.from(k.headers.keys()).forEach(L=>{this.headers.set(L,k.headers.get(L)),this.normalizedNames.set(L,k.normalizedNames.get(L))})}clone(k){const L=new ne;return L.lazyInit=this.lazyInit&&this.lazyInit instanceof ne?this.lazyInit:this,L.lazyUpdate=(this.lazyUpdate||[]).concat([k]),L}applyUpdate(k){const L=k.name.toLowerCase();switch(k.op){case"a":case"s":let F=k.value;if("string"==typeof F&&(F=[F]),0===F.length)return;this.maybeSetNormalizedName(k.name,L);const j=("a"===k.op?this.headers.get(L):void 0)||[];j.push(...F),this.headers.set(L,j);break;case"d":const N=k.value;if(N){let B=this.headers.get(L);if(!B)return;B=B.filter(xe=>-1===N.indexOf(xe)),0===B.length?(this.headers.delete(L),this.normalizedNames.delete(L)):this.headers.set(L,B)}else this.headers.delete(L),this.normalizedNames.delete(L)}}forEach(k){this.init(),Array.from(this.normalizedNames.keys()).forEach(L=>k(this.normalizedNames.get(L),this.headers.get(L)))}}class G{encodeKey(k){return Fe(k)}encodeValue(k){return Fe(k)}decodeKey(k){return decodeURIComponent(k)}decodeValue(k){return decodeURIComponent(k)}}const Me=/%(\d[a-f0-9])/gi,he={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Fe(se){return encodeURIComponent(se).replace(Me,(k,L)=>{var F;return null!==(F=he[L])&&void 0!==F?F:k})}function Ve(se){return`${se}`}class ue{constructor(k={}){if(this.updates=null,this.cloneFrom=null,this.encoder=k.encoder||new G,k.fromString){if(k.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function be(se,k){const L=new Map;return se.length>0&&se.replace(/^\?/,"").split("&").forEach(j=>{const N=j.indexOf("="),[B,xe]=-1==N?[k.decodeKey(j),""]:[k.decodeKey(j.slice(0,N)),k.decodeValue(j.slice(N+1))],me=L.get(B)||[];me.push(xe),L.set(B,me)}),L}(k.fromString,this.encoder)}else k.fromObject?(this.map=new Map,Object.keys(k.fromObject).forEach(L=>{const F=k.fromObject[L];this.map.set(L,Array.isArray(F)?F:[F])})):this.map=null}has(k){return this.init(),this.map.has(k)}get(k){this.init();const L=this.map.get(k);return L?L[0]:null}getAll(k){return this.init(),this.map.get(k)||null}keys(){return this.init(),Array.from(this.map.keys())}append(k,L){return this.clone({param:k,value:L,op:"a"})}appendAll(k){const L=[];return Object.keys(k).forEach(F=>{const j=k[F];Array.isArray(j)?j.forEach(N=>{L.push({param:F,value:N,op:"a"})}):L.push({param:F,value:j,op:"a"})}),this.clone(L)}set(k,L){return this.clone({param:k,value:L,op:"s"})}delete(k,L){return this.clone({param:k,value:L,op:"d"})}toString(){return this.init(),this.keys().map(k=>{const L=this.encoder.encodeKey(k);return this.map.get(k).map(F=>L+"="+this.encoder.encodeValue(F)).join("&")}).filter(k=>""!==k).join("&")}clone(k){const L=new ue({encoder:this.encoder});return L.cloneFrom=this.cloneFrom||this,L.updates=(this.updates||[]).concat(k),L}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(k=>this.map.set(k,this.cloneFrom.map.get(k))),this.updates.forEach(k=>{switch(k.op){case"a":case"s":const L=("a"===k.op?this.map.get(k.param):void 0)||[];L.push(Ve(k.value)),this.map.set(k.param,L);break;case"d":if(void 0===k.value){this.map.delete(k.param);break}{let F=this.map.get(k.param)||[];const j=F.indexOf(Ve(k.value));-1!==j&&F.splice(j,1),F.length>0?this.map.set(k.param,F):this.map.delete(k.param)}}}),this.cloneFrom=this.updates=null)}}class ot{constructor(){this.map=new Map}set(k,L){return this.map.set(k,L),this}get(k){return this.map.has(k)||this.map.set(k,k.defaultValue()),this.map.get(k)}delete(k){return this.map.delete(k),this}has(k){return this.map.has(k)}keys(){return this.map.keys()}}function De(se){return"undefined"!=typeof ArrayBuffer&&se instanceof ArrayBuffer}function Y(se){return"undefined"!=typeof Blob&&se instanceof Blob}function Se(se){return"undefined"!=typeof FormData&&se instanceof FormData}class Ae{constructor(k,L,F,j){let N;if(this.url=L,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=k.toUpperCase(),function ke(se){switch(se){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||j?(this.body=void 0!==F?F:null,N=j):N=F,N&&(this.reportProgress=!!N.reportProgress,this.withCredentials=!!N.withCredentials,N.responseType&&(this.responseType=N.responseType),N.headers&&(this.headers=N.headers),N.context&&(this.context=N.context),N.params&&(this.params=N.params)),this.headers||(this.headers=new ne),this.context||(this.context=new ot),this.params){const B=this.params.toString();if(0===B.length)this.urlWithParams=L;else{const xe=L.indexOf("?");this.urlWithParams=L+(-1===xe?"?":xeRt.set(Ke,k.setHeaders[Ke]),Ue)),k.setParams&&(Vt=Object.keys(k.setParams).reduce((Rt,Ke)=>Rt.set(Ke,k.setParams[Ke]),Vt)),new Ae(F,j,B,{params:Vt,headers:Ue,context:yt,reportProgress:me,responseType:N,withCredentials:xe})}}var Ce=(()=>((Ce=Ce||{})[Ce.Sent=0]="Sent",Ce[Ce.UploadProgress=1]="UploadProgress",Ce[Ce.ResponseHeader=2]="ResponseHeader",Ce[Ce.DownloadProgress=3]="DownloadProgress",Ce[Ce.Response=4]="Response",Ce[Ce.User=5]="User",Ce))();class We{constructor(k,L=200,F="OK"){this.headers=k.headers||new ne,this.status=void 0!==k.status?k.status:L,this.statusText=k.statusText||F,this.url=k.url||null,this.ok=this.status>=200&&this.status<300}}class Pe extends We{constructor(k={}){super(k),this.type=Ce.ResponseHeader}clone(k={}){return new Pe({headers:k.headers||this.headers,status:void 0!==k.status?k.status:this.status,statusText:k.statusText||this.statusText,url:k.url||this.url||void 0})}}class Ze extends We{constructor(k={}){super(k),this.type=Ce.Response,this.body=void 0!==k.body?k.body:null}clone(k={}){return new Ze({body:void 0!==k.body?k.body:this.body,headers:k.headers||this.headers,status:void 0!==k.status?k.status:this.status,statusText:k.statusText||this.statusText,url:k.url||this.url||void 0})}}class Re extends We{constructor(k){super(k,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${k.url||"(unknown url)"}`:`Http failure response for ${k.url||"(unknown url)"}: ${k.status} ${k.statusText}`,this.error=k.error||null}}function rt(se,k){return{body:k,headers:se.headers,context:se.context,observe:se.observe,params:se.params,reportProgress:se.reportProgress,responseType:se.responseType,withCredentials:se.withCredentials}}let Oe=(()=>{class se{constructor(L){this.handler=L}request(L,F,j={}){let N;if(L instanceof Ae)N=L;else{let me,Ue;me=j.headers instanceof ne?j.headers:new ne(j.headers),j.params&&(Ue=j.params instanceof ue?j.params:new ue({fromObject:j.params})),N=new Ae(L,F,void 0!==j.body?j.body:null,{headers:me,context:j.context,params:Ue,reportProgress:j.reportProgress,responseType:j.responseType||"json",withCredentials:j.withCredentials})}const B=(0,U.of)(N).pipe((0,K.b)(me=>this.handler.handle(me)));if(L instanceof Ae||"events"===j.observe)return B;const xe=B.pipe((0,fe.h)(me=>me instanceof Ze));switch(j.observe||"body"){case"body":switch(N.responseType){case"arraybuffer":return xe.pipe((0,re.U)(me=>{if(null!==me.body&&!(me.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return me.body}));case"blob":return xe.pipe((0,re.U)(me=>{if(null!==me.body&&!(me.body instanceof Blob))throw new Error("Response is not a Blob.");return me.body}));case"text":return xe.pipe((0,re.U)(me=>{if(null!==me.body&&"string"!=typeof me.body)throw new Error("Response is not a string.");return me.body}));default:return xe.pipe((0,re.U)(me=>me.body))}case"response":return xe;default:throw new Error(`Unreachable: unhandled observe type ${j.observe}}`)}}delete(L,F={}){return this.request("DELETE",L,F)}get(L,F={}){return this.request("GET",L,F)}head(L,F={}){return this.request("HEAD",L,F)}jsonp(L,F){return this.request("JSONP",L,{params:(new ue).append(F,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(L,F={}){return this.request("OPTIONS",L,F)}patch(L,F,j={}){return this.request("PATCH",L,rt(j,F))}post(L,F,j={}){return this.request("POST",L,rt(j,F))}put(L,F,j={}){return this.request("PUT",L,rt(j,F))}}return se.\u0275fac=function(L){return new(L||se)(O.LFG(ge))},se.\u0275prov=O.Yz7({token:se,factory:se.\u0275fac}),se})();class X{constructor(k,L){this.next=k,this.interceptor=L}handle(k){return this.interceptor.intercept(k,this.next)}}const ee=new O.OlP("HTTP_INTERCEPTORS");let ie=(()=>{class se{intercept(L,F){return F.handle(L)}}return se.\u0275fac=function(L){return new(L||se)},se.\u0275prov=O.Yz7({token:se,factory:se.\u0275fac}),se})();const Je=/^\)\]\}',?\n/;let gt=(()=>{class se{constructor(L){this.xhrFactory=L}handle(L){if("JSONP"===L.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new J.y(F=>{const j=this.xhrFactory.build();if(j.open(L.method,L.urlWithParams),L.withCredentials&&(j.withCredentials=!0),L.headers.forEach((Ke,Ge)=>j.setRequestHeader(Ke,Ge.join(","))),L.headers.has("Accept")||j.setRequestHeader("Accept","application/json, text/plain, */*"),!L.headers.has("Content-Type")){const Ke=L.detectContentTypeHeader();null!==Ke&&j.setRequestHeader("Content-Type",Ke)}if(L.responseType){const Ke=L.responseType.toLowerCase();j.responseType="json"!==Ke?Ke:"text"}const N=L.serializeBody();let B=null;const xe=()=>{if(null!==B)return B;const Ke=j.statusText||"OK",Ge=new ne(j.getAllResponseHeaders()),pt=function it(se){return"responseURL"in se&&se.responseURL?se.responseURL:/^X-Request-URL:/m.test(se.getAllResponseHeaders())?se.getResponseHeader("X-Request-URL"):null}(j)||L.url;return B=new Pe({headers:Ge,status:j.status,statusText:Ke,url:pt}),B},me=()=>{let{headers:Ke,status:Ge,statusText:pt,url:er}=xe(),wt=null;204!==Ge&&(wt=void 0===j.response?j.responseText:j.response),0===Ge&&(Ge=wt?200:0);let vt=Ge>=200&&Ge<300;if("json"===L.responseType&&"string"==typeof wt){const Et=wt;wt=wt.replace(Je,"");try{wt=""!==wt?JSON.parse(wt):null}catch(zt){wt=Et,vt&&(vt=!1,wt={error:zt,text:wt})}}vt?(F.next(new Ze({body:wt,headers:Ke,status:Ge,statusText:pt,url:er||void 0})),F.complete()):F.error(new Re({error:wt,headers:Ke,status:Ge,statusText:pt,url:er||void 0}))},Ue=Ke=>{const{url:Ge}=xe(),pt=new Re({error:Ke,status:j.status||0,statusText:j.statusText||"Unknown Error",url:Ge||void 0});F.error(pt)};let Vt=!1;const yt=Ke=>{Vt||(F.next(xe()),Vt=!0);let Ge={type:Ce.DownloadProgress,loaded:Ke.loaded};Ke.lengthComputable&&(Ge.total=Ke.total),"text"===L.responseType&&!!j.responseText&&(Ge.partialText=j.responseText),F.next(Ge)},Rt=Ke=>{let Ge={type:Ce.UploadProgress,loaded:Ke.loaded};Ke.lengthComputable&&(Ge.total=Ke.total),F.next(Ge)};return j.addEventListener("load",me),j.addEventListener("error",Ue),j.addEventListener("timeout",Ue),j.addEventListener("abort",Ue),L.reportProgress&&(j.addEventListener("progress",yt),null!==N&&j.upload&&j.upload.addEventListener("progress",Rt)),j.send(N),F.next({type:Ce.Sent}),()=>{j.removeEventListener("error",Ue),j.removeEventListener("abort",Ue),j.removeEventListener("load",me),j.removeEventListener("timeout",Ue),L.reportProgress&&(j.removeEventListener("progress",yt),null!==N&&j.upload&&j.upload.removeEventListener("progress",Rt)),j.readyState!==j.DONE&&j.abort()}})}}return se.\u0275fac=function(L){return new(L||se)(O.LFG(d.JF))},se.\u0275prov=O.Yz7({token:se,factory:se.\u0275fac}),se})();const Tt=new O.OlP("XSRF_COOKIE_NAME"),Ct=new O.OlP("XSRF_HEADER_NAME");class Ut{}let Ht=(()=>{class se{constructor(L,F,j){this.doc=L,this.platform=F,this.cookieName=j,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const L=this.doc.cookie||"";return L!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,d.Mx)(L,this.cookieName),this.lastCookieString=L),this.lastToken}}return se.\u0275fac=function(L){return new(L||se)(O.LFG(d.K0),O.LFG(O.Lbi),O.LFG(Tt))},se.\u0275prov=O.Yz7({token:se,factory:se.\u0275fac}),se})(),an=(()=>{class se{constructor(L,F){this.tokenService=L,this.headerName=F}intercept(L,F){const j=L.url.toLowerCase();if("GET"===L.method||"HEAD"===L.method||j.startsWith("http://")||j.startsWith("https://"))return F.handle(L);const N=this.tokenService.getToken();return null!==N&&!L.headers.has(this.headerName)&&(L=L.clone({headers:L.headers.set(this.headerName,N)})),F.handle(L)}}return se.\u0275fac=function(L){return new(L||se)(O.LFG(Ut),O.LFG(Ct))},se.\u0275prov=O.Yz7({token:se,factory:se.\u0275fac}),se})(),Xn=(()=>{class se{constructor(L,F){this.backend=L,this.injector=F,this.chain=null}handle(L){if(null===this.chain){const F=this.injector.get(ee,[]);this.chain=F.reduceRight((j,N)=>new X(j,N),this.backend)}return this.chain.handle(L)}}return se.\u0275fac=function(L){return new(L||se)(O.LFG(de),O.LFG(O.zs3))},se.\u0275prov=O.Yz7({token:se,factory:se.\u0275fac}),se})(),At=(()=>{class se{static disable(){return{ngModule:se,providers:[{provide:an,useClass:ie}]}}static withOptions(L={}){return{ngModule:se,providers:[L.cookieName?{provide:Tt,useValue:L.cookieName}:[],L.headerName?{provide:Ct,useValue:L.headerName}:[]]}}}return se.\u0275fac=function(L){return new(L||se)},se.\u0275mod=O.oAB({type:se}),se.\u0275inj=O.cJS({providers:[an,{provide:ee,useExisting:an,multi:!0},{provide:Ut,useClass:Ht},{provide:Tt,useValue:"XSRF-TOKEN"},{provide:Ct,useValue:"X-XSRF-TOKEN"}]}),se})(),Lt=(()=>{class se{}return se.\u0275fac=function(L){return new(L||se)},se.\u0275mod=O.oAB({type:se}),se.\u0275inj=O.cJS({providers:[Oe,{provide:ge,useClass:Xn},gt,{provide:de,useExisting:gt}],imports:[[At.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),se})()},7587:($e,oe,S)=>{S.d(oe,{deG:()=>bg,tb:()=>ng,AFp:()=>Xp,ip1:()=>Zp,CZH:()=>Pu,hGG:()=>NE,z2F:()=>Uu,sBO:()=>DE,Sil:()=>XC,_Vd:()=>Da,EJc:()=>QC,SBq:()=>Cs,qLn:()=>Xs,vpe:()=>Wr,tBr:()=>Gs,XFs:()=>qe,OlP:()=>Xt,zs3:()=>Hr,ZZ4:()=>Yu,aQg:()=>Ku,soG:()=>Nu,YKP:()=>fp,h0i:()=>Lo,PXZ:()=>fE,R0b:()=>Tr,FiY:()=>ts,Lbi:()=>KC,g9A:()=>tg,Qsj:()=>G_,FYo:()=>lp,JOm:()=>kr,tp0:()=>ns,Rgc:()=>Ms,dDg:()=>og,GfV:()=>up,s_b:()=>Ea,ifc:()=>Ue,eFA:()=>lg,Gpc:()=>Ve,_c5:()=>FE,VLi:()=>uE,c2e:()=>qC,zSh:()=>jl,wAp:()=>Xe,vHH:()=>ke,cg1:()=>cu,kL8:()=>Rh,dqk:()=>Ge,sIi:()=>hs,CqO:()=>Lf,QGY:()=>iu,F4k:()=>Nf,RDi:()=>E,AaK:()=>Me,qOj:()=>zl,TTD:()=>fn,_Bn:()=>op,xp6:()=>hd,uIk:()=>Kl,ekj:()=>au,Suo:()=>xp,Xpm:()=>tr,lG2:()=>lt,Yz7:()=>gt,cJS:()=>Ct,oAB:()=>$,Yjl:()=>It,Y36:()=>gs,_UZ:()=>tu,qZA:()=>ca,TgZ:()=>ua,EpF:()=>Ff,n5z:()=>wi,LFG:()=>An,$8M:()=>ja,$Z:()=>Rf,NdJ:()=>ou,CRH:()=>Rp,kcU:()=>Fs,O4$:()=>Ps,oxw:()=>jf,ALo:()=>Ep,lcZ:()=>wp,Hsn:()=>Hf,F$t:()=>Uf,Q6J:()=>Xl,MGl:()=>da,VKq:()=>mp,iGM:()=>Tp,Jf7:()=>sd,CHM:()=>gi,oJD:()=>id,LSH:()=>gl,YNc:()=>Cf,_uU:()=>fh,Oqu:()=>uu,hij:()=>ha,Gf:()=>Op});var d=S(7579),O=S(727),U=S(8306),J=S(8189),K=S(8421),fe=S(515),re=S(7669),ge=S(2076),ne=S(3099);function G(e){for(let t in e)if(e[t]===G)return t;throw Error("Could not find renamed property on target object.")}function be(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Me(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Me).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function he(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Fe=G({__forward_ref__:G});function Ve(e){return e.__forward_ref__=Ve,e.toString=function(){return Me(this())},e}function ue(e){return nt(e)?e():e}function nt(e){return"function"==typeof e&&e.hasOwnProperty(Fe)&&e.__forward_ref__===Ve}class ke extends Error{constructor(t,n){super(function De(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function Y(e){return"string"==typeof e?e:null==e?"":String(e)}function Se(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Y(e)}function We(e,t){const n=t?` in ${t}`:"";throw new ke(-201,`No provider for ${Se(e)} found${n}`)}function dt(e,t){null==e&&function Ee(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function gt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ut(e){return Ht(e,$n)||Ht(e,Lt)}function Ht(e,t){return e.hasOwnProperty(t)?e[t]:null}function Hn(e){return e&&(e.hasOwnProperty(At)||e.hasOwnProperty(Gn))?e[At]:null}const $n=G({\u0275prov:G}),At=G({\u0275inj:G}),Lt=G({ngInjectableDef:G}),Gn=G({ngInjectorDef:G});var qe=(()=>((qe=qe||{})[qe.Default=0]="Default",qe[qe.Host=1]="Host",qe[qe.Self=2]="Self",qe[qe.SkipSelf=4]="SkipSelf",qe[qe.Optional=8]="Optional",qe))();let se;function L(e){const t=se;return se=e,t}function F(e,t,n){const r=Ut(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&qe.Optional?null:void 0!==t?t:void We(Me(e),"Injector")}function N(e){return{toString:e}.toString()}var B=(()=>((B=B||{})[B.OnPush=0]="OnPush",B[B.Default=1]="Default",B))(),Ue=(()=>{return(e=Ue||(Ue={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ue;var e})();const Vt="undefined"!=typeof globalThis&&globalThis,yt="undefined"!=typeof window&&window,Rt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ge=Vt||"undefined"!=typeof global&&global||yt||Rt,wt={},vt=[],Et=G({\u0275cmp:G}),zt=G({\u0275dir:G}),zn=G({\u0275pipe:G}),Wn=G({\u0275mod:G}),on=G({\u0275fac:G}),wn=G({__NG_ELEMENT_ID__:G});let gr=0;function tr(e){return N(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===B.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||vt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ue.Emulated,id:"c",styles:e.styles||vt,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,o=e.features,s=e.pipes;return r.id+=gr++,r.inputs=ze(e.inputs,n),r.outputs=ze(e.outputs),o&&o.forEach(u=>u(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(z):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(V):null,r})}function z(e){return mt(e)||function ln(e){return e[zt]||null}(e)}function V(e){return function yn(e){return e[zn]||null}(e)}const I={};function $(e){return N(()=>{const t={type:e.type,bootstrap:e.bootstrap||vt,declarations:e.declarations||vt,imports:e.imports||vt,exports:e.exports||vt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(I[e.id]=e.type),t})}function ze(e,t){if(null==e)return wt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const lt=tr;function It(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function mt(e){return e[Et]||null}function tn(e,t){const n=e[Wn]||null;if(!n&&!0===t)throw new Error(`Type ${Me(e)} does not have '\u0275mod' property.`);return n}function On(e){return Array.isArray(e)&&"object"==typeof e[1]}function dn(e){return Array.isArray(e)&&!0===e[1]}function mr(e){return 0!=(8&e.flags)}function yr(e){return 2==(2&e.flags)}function Qt(e){return 1==(1&e.flags)}function _n(e){return null!==e.template}function vr(e){return 0!=(512&e[2])}function rr(e,t){return e.hasOwnProperty(on)?e[on]:null}class Qr{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function fn(){return ci}function ci(e){return e.type.prototype.ngOnChanges&&(e.setInput=di),ir}function ir(){const e=Ki(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===wt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function di(e,t,n,r){const i=Ki(e)||function fi(e,t){return e[xi]=t}(e,{previous:wt,current:null}),o=i.current||(i.current={}),s=i.previous,u=this.declaredInputs[n],f=s[u];o[u]=new Qr(f&&f.currentValue,t,s===wt),e[r]=t}fn.ngInherit=!0;const xi="__ngSimpleChanges__";function Ki(e){return e[xi]||null}let y;function E(e){y=e}function v(){return void 0!==y?y:"undefined"!=typeof document?document:void 0}function x(e){return!!e.listen}const Q={createRenderer:(e,t)=>v()};function we(e){for(;Array.isArray(e);)e=e[0];return e}function Mt(e,t){return we(t[e])}function tt(e,t){return we(t[e.index])}function Nt(e,t){return e.data[t]}function Yt(e,t){const n=t[e];return On(n)?n:n[0]}function Rn(e){return 4==(4&e[2])}function Pn(e){return 128==(128&e[2])}function Bn(e,t){return null==t?null:e[t]}function Fr(e){e[18]=0}function Xr(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const m={lFrame:$o(null),bindingsEnabled:!0};function xt(){return m.bindingsEnabled}function le(){return m.lFrame.lView}function at(){return m.lFrame.tView}function gi(e){return m.lFrame.contextLView=e,e[8]}function Zt(){let e=mi();for(;null!==e&&64===e.type;)e=e.parent;return e}function mi(){return m.lFrame.currentTNode}function cr(e,t){const n=m.lFrame;n.currentTNode=e,n.isParent=t}function jo(){return m.lFrame.isParent}function Uo(){m.lFrame.isParent=!1}function Sn(){const e=m.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function yi(){return m.lFrame.bindingIndex++}function Ts(e,t){const n=m.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ji(t)}function Ji(e){m.lFrame.currentDirectiveIndex=e}function Ho(){return m.lFrame.currentQueryIndex}function Zi(e){m.lFrame.currentQueryIndex=e}function Oa(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Os(e,t,n){if(n&qe.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&qe.Host||(i=Oa(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=m.lFrame=xs();return r.currentTNode=t,r.lView=e,!0}function Xi(e){const t=xs(),n=e[1];m.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xs(){const e=m.lFrame,t=null===e?null:e.child;return null===t?$o(e):t}function $o(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Rs(){const e=m.lFrame;return m.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const eo=Rs;function to(){const e=Rs();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function hn(){return m.lFrame.selectedIndex}function wr(e){m.lFrame.selectedIndex=e}function Kt(){const e=m.lFrame;return Nt(e.tView,e.selectedIndex)}function Ps(){m.lFrame.currentNamespace="svg"}function Fs(){!function Ns(){m.lFrame.currentNamespace=null}()}function pn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[f]<0&&(e[18]+=65536),(u>11>16&&(3&e[2])===t){e[2]+=2048;try{o.call(u)}finally{}}}else try{o.call(u)}finally{}}class Li{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function io(e,t,n){const r=x(e);let i=0;for(;it){s=o-1;break}}}for(;o>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Wo=!0;function Ei(e){const t=Wo;return Wo=e,t}let Ba=0;function c(e,t){const n=a(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,l(r.data,e),l(t,null),l(r.blueprint,null));const i=g(e,t),o=e.injectorIndex;if(Bs(i)){const s=ei(i),u=Ci(i,t),f=u[1].data;for(let _=0;_<8;_++)t[o+_]=u[s+_]|f[s+_]}return t[o+8]=i,o}function l(e,t){e.push(0,0,0,0,0,0,0,0,t)}function a(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function g(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const o=i[1],s=o.type;if(r=2===s?o.declTNode:1===s?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function D(e,t,n){!function uc(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(wn)&&(r=n[wn]),null==r&&(r=n[wn]=Ba++);const i=255&r;t.data[e+(i>>5)]|=1<=0?255&t:ut:t}(n);if("function"==typeof o){if(!Os(t,e,r))return r&qe.Host?T(i,n,r):R(t,n,r,i);try{const s=o(r);if(null!=s||r&qe.Optional)return s;We(n)}finally{eo()}}else if("number"==typeof o){let s=null,u=a(e,t),f=-1,_=r&qe.Host?t[16][6]:null;for((-1===u||r&qe.SkipSelf)&&(f=-1===u?g(e,t):t[u+8],-1!==f&&so(r,!1)?(s=t[1],u=ei(f),t=Ci(f,t)):u=-1);-1!==u;){const C=t[1];if(Lr(o,u,C.data)){const A=He(u,t,n,s,r,_);if(A!==Le)return A}f=t[u+8],-1!==f&&so(r,t[1].data[u+8]===_)&&Lr(o,u,t)?(s=C,u=ei(f),t=Ci(f,t)):u=-1}}}return R(t,n,r,i)}const Le={};function ut(){return new ti(Zt(),le())}function He(e,t,n,r,i,o){const s=t[1],u=s.data[e+8],C=St(u,s,n,null==r?yr(u)&&Wo:r!=s&&0!=(3&u.type),i&qe.Host&&o===u);return null!==C?_t(t,s,C,u):Le}function St(e,t,n,r,i){const o=e.providerIndexes,s=t.data,u=1048575&o,f=e.directiveStart,C=o>>20,P=i?u+C:e.directiveEnd;for(let H=r?u:u+C;H=f&&te.type===n)return H}if(i){const H=s[f];if(H&&_n(H)&&H.type===n)return f}return null}function _t(e,t,n,r){let i=e[n];const o=t.data;if(function Ls(e){return e instanceof Li}(i)){const s=i;s.resolving&&function je(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ke(-200,`Circular dependency in DI detected for ${e}${n}`)}(Se(o[n]));const u=Ei(s.canSeeViewProviders);s.resolving=!0;const f=s.injectImpl?L(s.injectImpl):null;Os(e,r,qe.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Na(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=ci(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==f&&L(f),Ei(u),s.resolving=!1,eo()}}return i}function Lr(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[on]||Ko(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[on]||Ko(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ko(e){return nt(e)?()=>{const t=Ko(ue(e));return t&&t()}:rr(e)}function ja(e){return function b(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{const r=function Ua(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return u.annotation=s,u;function u(f,_,C){const A=f.hasOwnProperty(lo)?f[lo]:Object.defineProperty(f,lo,{value:[]})[lo];for(;A.length<=C;)A.push(null);return(A[C]=A[C]||[]).push(s),f}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class Xt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=gt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const bg=new Xt("AnalyzeForEntryComponents");function hr(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Vr(n,t):t(n))}function dc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Us(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Qo(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function Ag(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function $a(e,t){const n=fo(e,t);if(n>=0)return e[1|n]}function fo(e,t){return function pc(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<({token:e})),-1),ts=es(co("Optional"),8),ns=es(co("SkipSelf"),4);var kr=(()=>((kr=kr||{})[kr.Important=1]="Important",kr[kr.DashCase=2]="DashCase",kr))();const Mc="__ngContext__";function Fn(e,t){e[Mc]=t}function qa(e){const t=function is(e){return e[Mc]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Qa(e,t){return undefined(e,t)}function os(e){const t=e[3];return dn(t)?t[3]:t}function Za(e){return Rc(e[13])}function Xa(e){return Rc(e[4])}function Rc(e){for(;null!==e&&!dn(e);)e=e[4];return e}function po(e,t,n,r,i){if(null!=r){let o,s=!1;dn(r)?o=r:On(r)&&(s=!0,r=r[0]);const u=we(r);0===e&&null!==n?null==i?kc(t,n,u):Vi(t,n,u,i||null,!0):1===e&&null!==n?Vi(t,n,u,i||null,!0):2===e?function sl(e,t,n){const r=Ws(e,t);r&&function mm(e,t,n,r){x(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,u,s):3===e&&t.destroyNode(u),null!=o&&function Dm(e,t,n,r,i){const o=n[7];o!==we(n)&&po(t,e,r,o,i);for(let u=10;u0&&(e[n-1][4]=r[4]);const o=Us(e,10+t);!function lm(e,t){ss(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Nc(e,t){if(!(256&t[2])){const n=t[11];x(n)&&n.destroyNode&&ss(e,t,n,3,null,null),function dm(e){let t=e[13];if(!t)return rl(e[1],e);for(;t;){let n=null;if(On(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)On(t)&&rl(t[1],t),t=t[3];null===t&&(t=e),On(t)&&rl(t[1],t),n=t&&t[4]}t=n}}(t)}}function rl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function gm(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[i=_]():r[i=-_].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;oe,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return qs}())||void 0===t?void 0:t.createHTML(e))||e}function Yc(e){var t;return(null===(t=function cl(){if(void 0===Js&&(Js=null,Ge.trustedTypes))try{Js=Ge.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Js}())||void 0===t?void 0:t.createHTML(e))||e}class Jc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function bi(e){return e instanceof Jc?e.changingThisBreaksApplicationSecurity:e}function as(e,t){const n=function Tm(e){return e instanceof Jc&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}class Om{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(ki(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class xm{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ki(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=ki(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0Qs(t.trim())).join(", ")),this.buf.push(" ",s,'="',rd(f),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();dl.hasOwnProperty(n)&&!Xc.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(rd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&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 n}}const Vm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,km=/([^\#-~ |!])/g;function rd(e){return e.replace(/&/g,"&").replace(Vm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(km,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Zs;function pl(e){return"content"in e&&function jm(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var sn=(()=>((sn=sn||{})[sn.NONE=0]="NONE",sn[sn.HTML=1]="HTML",sn[sn.STYLE=2]="STYLE",sn[sn.SCRIPT=3]="SCRIPT",sn[sn.URL=4]="URL",sn[sn.RESOURCE_URL=5]="RESOURCE_URL",sn))();function id(e){const t=us();return t?Yc(t.sanitize(sn.HTML,e)||""):as(e,"HTML")?Yc(bi(e)):function Bm(e,t){let n=null;try{Zs=Zs||function Qc(e){const t=new xm(e);return function Rm(){try{return!!(new window.DOMParser).parseFromString(ki(""),"text/html")}catch(e){return!1}}()?new Om(t):t}(e);let r=t?String(t):"";n=Zs.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Zs.getInertBodyElement(r)}while(r!==o);return ki((new Lm).sanitizeChildren(pl(n)||n))}finally{if(n){const r=pl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(v(),Y(e))}function gl(e){const t=us();return t?t.sanitize(sn.URL,e)||"":as(e,"URL")?bi(e):Qs(Y(e))}function us(){const e=le();return e&&e[12]}function yl(e){return e.ngOriginalError}function Jm(e,...t){e.error(...t)}class Xs{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function qm(e){return e&&e.ngErrorLogger||Jm}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&yl(t);for(;n&&yl(n);)n=yl(n);return n||null}}const ry=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ge))();function sd(e){return e.ownerDocument.defaultView}function jr(e){return e instanceof Function?e():e}function ld(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const ud="ng-template";function sy(e,t,n){let r=0;for(;ro?"":i[A+1].toLowerCase();const H=8&r?P:null;if(H&&-1!==ld(H,_,0)||2&r&&_!==P){if(br(r))return!1;s=!0}}}}else{if(!s&&!br(r)&&!br(f))return!1;if(s&&br(f))continue;s=!1,r=f|1&r}}return br(r)||s}function br(e){return 0==(1&e)}function uy(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+u+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!br(s)&&(t+=fd(o,i),i=""),r=s,o=o||!br(r);n++}return""!==i&&(t+=fd(o,i)),t}const ct={};function hd(e){pd(at(),le(),hn()+e,!1)}function pd(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&no(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Pi(t,o,0,n)}wr(n)}function ea(e,t){return e<<17|t<<2}function Mr(e){return e>>17&32767}function vl(e){return 2|e}function ni(e){return(131068&e)>>2}function Dl(e,t){return-131069&e|t<<2}function _l(e){return 1|e}function Md(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r20&&pd(e,t,20,!1),n(r,i)}finally{wr(o)}}function Ol(e,t,n){!xt()||(function By(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||c(n,t),Fn(r,t);const s=n.initialInputs;for(let u=i;u0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=f&&u.push(f),u.push(r,i,s)}}function Nd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ld(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function $y(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&Fl(n)}}function Fl(e){for(let r=Za(e);null!==r;r=Xa(r))for(let i=10;i0&&Fl(o)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Fl(i)}}function Jy(e,t){const n=Yt(t,e),r=n[1];(function Qy(e,t){for(let n=t.length;nPromise.resolve(null))();function Ud(e){return e[7]||(e[7]=[])}function Hd(e){return e.cleanup||(e.cleanup=[])}function Gd(e,t){const n=e[9],r=n?n.get(Xs,null):null;r&&r.handleError(t)}function zd(e,t,n,r,i){for(let o=0;othis.processProvider(u,t,n)),Vr([t],u=>this.processInjectorType(u,[],o)),this.records.set(Bl,Do(void 0,this));const s=this.records.get(jl);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:Me(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,n=Zo,r=qe.Default){this.assertNotDestroyed();const i=yc(this),o=L(void 0);try{if(!(r&qe.SkipSelf)){let u=this.records.get(t);if(void 0===u){const f=function dv(e){return"function"==typeof e||"object"==typeof e&&e instanceof Xt}(t)&&Ut(t);u=f&&this.injectableDefInScope(f)?Do(Hl(t),fs):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&qe.Self?Yd():this.parent).get(t,n=r&qe.Optional&&n===Zo?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[$s]=s[$s]||[]).unshift(Me(t)),i)throw s;return function jg(e,t,n,r){const i=e[$s];throw t[mc]&&i.unshift(t[mc]),e.message=function Ug(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=Me(t);if(Array.isArray(t))i=t.map(Me).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let u=t[s];o.push(s+":"+("string"==typeof u?JSON.stringify(u):Me(u)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Fg,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[$s]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{L(o),yc(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(Me(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ke(205,!1)}processInjectorType(t,n,r){if(!(t=ue(t)))return!1;let i=Hn(t);const o=null==i&&t.ngModule||void 0,s=void 0===o?t:o,u=-1!==r.indexOf(s);if(void 0!==o&&(i=Hn(o)),null==i)return!1;if(null!=i.imports&&!u){let C;r.push(s);try{Vr(i.imports,A=>{this.processInjectorType(A,n,r)&&(void 0===C&&(C=[]),C.push(A))})}finally{}if(void 0!==C)for(let A=0;Athis.processProvider(te,P,H||vt))}}this.injectorDefTypes.add(s);const f=rr(s)||(()=>new s);this.records.set(s,Do(f,fs));const _=i.providers;if(null!=_&&!u){const C=t;Vr(_,A=>this.processProvider(A,C,_))}return void 0!==o&&void 0!==t.providers}processProvider(t,n,r){let i=_o(t=ue(t))?t:ue(t&&t.provide);const o=function ov(e,t,n){return Qd(e)?Do(void 0,e.useValue):Do(Jd(e),fs)}(t);if(_o(t)||!0!==t.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=Do(void 0,fs,!0),s.factory=()=>Wa(s.multi),this.records.set(i,s)),i=t,s.multi.push(t)}this.records.set(i,o)}hydrate(t,n){return n.value===fs&&(n.value=nv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function cv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ue(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Hl(e){const t=Ut(e),n=null!==t?t.factory:rr(e);if(null!==n)return n;if(e instanceof Xt)throw new ke(204,!1);if(e instanceof Function)return function iv(e){const t=e.length;if(t>0)throw Qo(t,"?"),new ke(204,!1);const n=function an(e){const t=e&&(e[$n]||e[Lt]);if(t){const n=function Xn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);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.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ke(204,!1)}function Jd(e,t,n){let r;if(_o(e)){const i=ue(e);return rr(i)||Hl(i)}if(Qd(e))r=()=>ue(e.useValue);else if(function av(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Wa(e.deps||[]));else if(function sv(e){return!(!e||!e.useExisting)}(e))r=()=>An(ue(e.useExisting));else{const i=ue(e&&(e.useClass||e.provide));if(!function uv(e){return!!e.deps}(e))return rr(i)||Hl(i);r=()=>new i(...Wa(e.deps))}return r}function Do(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qd(e){return null!==e&&"object"==typeof e&&Lg in e}function _o(e){return"function"==typeof e}let Hr=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return Kd({name:""},r,n,"");{const o=null!==(i=n.name)&&void 0!==i?i:"";return Kd({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Zo,e.NULL=new Wd,e.\u0275prov=gt({token:e,providedIn:"any",factory:()=>An(Bl)}),e.__NG_ELEMENT_ID__=-1,e})();function Dv(e,t){pn(qa(e)[1],Zt())}function zl(e){let t=function df(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(_n(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ke(903,"");i=t.\u0275dir}if(i){if(n){r.push(i);const s=e;s.inputs=Wl(e.inputs),s.declaredInputs=Wl(e.declaredInputs),s.outputs=Wl(e.outputs);const u=i.hostBindings;u&&wv(e,u);const f=i.viewQuery,_=i.contentQueries;if(f&&Cv(e,f),_&&Ev(e,_),be(e.inputs,i.inputs),be(e.declaredInputs,i.declaredInputs),be(e.outputs,i.outputs),_n(i)&&i.data.animation){const C=e.data;C.animation=(C.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=oo(i.hostAttrs,n=oo(n,i.hostAttrs))}}(r)}function Wl(e){return e===wt?{}:e===vt?[]:e}function Cv(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Ev(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function wv(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let sa=null;function Co(){if(!sa){const e=Ge.Symbol;if(e&&e.iterator)sa=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nu(we(Dt[r.index])):r.index;if(x(n)){let Dt=null;if(!u&&f&&(Dt=function eD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;of?u[f]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==Dt)(Dt.__ngLastListenerFn__||Dt).__ngNextListenerFn__=o,Dt.__ngLastListenerFn__=o,H=!1;else{o=su(r,t,A,o,!1);const Bt=n.listen(Be,i,o);P.push(o,Bt),C&&C.push(i,Qe,ce,ce+1)}}else o=su(r,t,A,o,!0),Be.addEventListener(i,o,s),P.push(o),C&&C.push(i,Qe,ce,s)}else o=su(r,t,A,o,!1);const te=r.outputs;let _e;if(H&&null!==te&&(_e=te[i])){const Te=_e.length;if(Te)for(let Be=0;Be0;)t=t[15],e--;return t}(e,m.lFrame.contextLView))[8]}(e)}function tD(e,t){let n=null;const r=function cy(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i=0}function au(e,t){return function Ar(e,t,n,r){const i=le(),o=at(),s=function Er(e){const t=m.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);o.firstUpdatePass&&function ah(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[hn()],s=function sh(e,t){return t>=e.expandoStartIndex}(e,n);(function dh(e,t){return 0!=(e.flags&(t?16:32))})(o,r)&&null===t&&!s&&(t=!1),t=function hD(e,t,n,r){const i=function Qi(e){const t=m.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=ms(n=lu(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=lu(i,e,t,n,r),null===o){let f=function pD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==ni(r))return e[Mr(r)]}(e,t,r);void 0!==f&&Array.isArray(f)&&(f=lu(null,e,t,f[1],r),f=ms(f,t.attrs,r),function gD(e,t,n,r){e[Mr(n?t.classBindings:t.styleBindings)]=r}(e,t,r,f))}else o=function mD(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(_=!0)}else C=n;if(i)if(0!==f){const P=Mr(e[u+1]);e[r+1]=ea(P,u),0!==P&&(e[P+1]=Dl(e[P+1],r)),e[u+1]=function yy(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=ea(u,0),0!==u&&(e[u+1]=Dl(e[u+1],r)),u=r;else e[r+1]=ea(f,0),0===u?u=r:e[f+1]=Dl(e[f+1],r),f=r;_&&(e[r+1]=vl(e[r+1])),Zf(e,C,r,!0),Zf(e,C,r,!1),function rD(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&fo(o,t)>=0&&(n[r+1]=_l(n[r+1]))}(t,C,e,r,o),s=ea(u,f),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}(o,e,s,r),t!==ct&&Nn(i,s,t)&&function uh(e,t,n,r,i,o,s,u){if(!(3&t.type))return;const f=e.data,_=f[u+1];fa(function yd(e){return 1==(1&e)}(_)?ch(f,t,n,i,ni(_),s):void 0)||(fa(o)||function md(e){return 2==(2&e)}(_)&&(o=ch(f,null,n,i,u,s)),function _m(e,t,n,r,i){const o=x(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:kr.DashCase;if(null==i)o?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const u="string"==typeof i&&i.endsWith("!important");u&&(i=i.slice(0,-10),s|=kr.Important),o?e.setStyle(n,r,i,s):n.style.setProperty(r,i,u?"important":"")}}}(r,s,Mt(hn(),n),i,o))}(o,o.data[hn()],i,i[11],e,i[s+1]=function DD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Me(bi(e)))),e}(t,n),r,s)}(e,t,null,!0),au}function lu(e,t,n,r,i){let o=null;const s=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u0;){const f=e[i],_=Array.isArray(f),C=_?f[1]:f,A=null===C;let P=n[i+1];P===ct&&(P=A?vt:void 0);let H=A?$a(P,r):C===r?P:void 0;if(_&&!fa(H)&&(H=$a(f,r)),fa(H)&&(u=H,s))return u;const te=e[i+1];i=s?Mr(te):ni(te)}if(null!==t){let f=o?t.residualClasses:t.residualStyles;null!=f&&(u=$a(f,r))}return u}function fa(e){return void 0!==e}function fh(e,t=""){const n=le(),r=at(),i=e+20,o=r.firstCreatePass?mo(r,i,1,t,null):r.data[i],s=n[i]=function el(e,t){return x(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Ys(r,n,s,o),cr(o,!1)}function uu(e){return ha("",e,""),uu}function ha(e,t,n){const r=le(),i=wo(r,e,t,n);return i!==ct&&ri(r,hn(),i),ha}const ji=void 0;var BD=["en",[["a","p"],["AM","PM"],ji],[["AM","PM"],ji,ji],[["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"]],ji,[["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"]],ji,[["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}",ji,"{1} 'at' {0}",ji],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function kD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Po={};function cu(e){const t=function jD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ph(t);if(n)return n;const r=t.split("-")[0];if(n=Ph(r),n)return n;if("en"===r)return BD;throw new Error(`Missing locale data for the locale "${e}".`)}function Rh(e){return cu(e)[Xe.PluralCase]}function Ph(e){return e in Po||(Po[e]=Ge.ng&&Ge.ng.common&&Ge.ng.common.locales&&Ge.ng.common.locales[e]),Po[e]}var Xe=(()=>((Xe=Xe||{})[Xe.LocaleId=0]="LocaleId",Xe[Xe.DayPeriodsFormat=1]="DayPeriodsFormat",Xe[Xe.DayPeriodsStandalone=2]="DayPeriodsStandalone",Xe[Xe.DaysFormat=3]="DaysFormat",Xe[Xe.DaysStandalone=4]="DaysStandalone",Xe[Xe.MonthsFormat=5]="MonthsFormat",Xe[Xe.MonthsStandalone=6]="MonthsStandalone",Xe[Xe.Eras=7]="Eras",Xe[Xe.FirstDayOfWeek=8]="FirstDayOfWeek",Xe[Xe.WeekendRange=9]="WeekendRange",Xe[Xe.DateFormat=10]="DateFormat",Xe[Xe.TimeFormat=11]="TimeFormat",Xe[Xe.DateTimeFormat=12]="DateTimeFormat",Xe[Xe.NumberSymbols=13]="NumberSymbols",Xe[Xe.NumberFormats=14]="NumberFormats",Xe[Xe.CurrencyCode=15]="CurrencyCode",Xe[Xe.CurrencySymbol=16]="CurrencySymbol",Xe[Xe.CurrencyName=17]="CurrencyName",Xe[Xe.Currencies=18]="Currencies",Xe[Xe.Directionality=19]="Directionality",Xe[Xe.PluralCase=20]="PluralCase",Xe[Xe.ExtraData=21]="ExtraData",Xe))();const pa="en-US";let Fh=pa;function hu(e,t,n,r,i){if(e=ue(e),Array.isArray(e))for(let o=0;o>20;if(_o(e)||!e.multi){const H=new Li(f,i,gs),te=gu(u,t,i?C:C+P,A);-1===te?(D(c(_,s),o,u),pu(o,e,t.length),t.push(u),_.directiveStart++,_.directiveEnd++,i&&(_.providerIndexes+=1048576),n.push(H),s.push(H)):(n[te]=H,s[te]=H)}else{const H=gu(u,t,C+P,A),te=gu(u,t,C,C+P),_e=H>=0&&n[H],Te=te>=0&&n[te];if(i&&!Te||!i&&!_e){D(c(_,s),o,u);const Be=function k_(e,t,n,r,i){const o=new Li(e,n,gs);return o.multi=[],o.index=t,o.componentProviders=0,ip(o,i,r&&!n),o}(i?V_:L_,n.length,i,r,f);!i&&Te&&(n[te].providerFactory=Be),pu(o,e,t.length,0),t.push(u),_.directiveStart++,_.directiveEnd++,i&&(_.providerIndexes+=1048576),n.push(Be),s.push(Be)}else pu(o,e,H>-1?H:te,ip(n[i?te:H],f,!i&&r));!i&&r&&Te&&n[te].componentProviders++}}}function pu(e,t,n,r){const i=_o(t),o=function lv(e){return!!e.useClass}(t);if(i||o){const f=(o?ue(t.useClass):t).prototype.ngOnDestroy;if(f){const _=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const C=_.indexOf(n);-1===C?_.push(n,[r,f]):_[C+1].push(r,f)}else _.push(n,f)}}}function ip(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gu(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function N_(e,t,n){const r=at();if(r.firstCreatePass){const i=_n(e);hu(n,r.data,r.blueprint,i,!0),hu(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class sp{}class U_{resolveComponentFactory(t){throw function j_(e){const t=Error(`No component factory found for ${Me(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Da=(()=>{class e{}return e.NULL=new U_,e})();function H_(){return No(Zt(),le())}function No(e,t){return new Cs(tt(e,t))}let Cs=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=H_,e})();function $_(e){return e instanceof Cs?e.nativeElement:e}class lp{}let G_=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function W_(){const e=le(),n=Yt(Zt().index,e);return function z_(e){return e[11]}(On(n)?n:e)}(),e})(),Y_=(()=>{class e{}return e.\u0275prov=gt({token:e,providedIn:"root",factory:()=>null}),e})();class up{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const K_=new up("13.3.12"),yu={};function _a(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(we(o)),dn(o))for(let u=10;u-1&&(nl(t,r),Us(n,r))}this._attachedToViewContainer=!1}Nc(this._lView[1],this._lView)}onDestroy(t){xd(this._lView[1],this._lView,null,t)}markForCheck(){Nl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Vl(e,t,n){const r=t[10];r.begin&&r.begin();try{vo(e,t,e.template,n)}catch(i){throw Gd(t,i),i}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ke(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function cm(e,t){ss(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ke(902,"");this._appRef=t}}class q_ extends Es{constructor(t){super(t),this._view=t}detectChanges(){jd(this._view)}checkNoChanges(){}get context(){return null}}class cp extends Da{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=mt(t);return new vu(n,this.ngModule)}}function dp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class vu extends sp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function gy(e){return e.map(py).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return dp(this.componentDef.inputs)}get outputs(){return dp(this.componentDef.outputs)}create(t,n,r,i){const o=(i=i||this.ngModule)?function Q_(e,t){return{get:(n,r,i)=>{const o=e.get(n,yu,i);return o!==yu||r===yu?o:t.get(n,r,i)}}}(t,i.injector):t,s=o.get(lp,Q),u=o.get(Y_,null),f=s.createRenderer(null,this.componentDef),_=this.componentDef.selectors[0][0]||"div",C=r?function Od(e,t,n){if(x(e))return e.selectRootElement(t,n===Ue.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(f,r,this.componentDef.encapsulation):tl(s.createRenderer(null,this.componentDef),_,function J_(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(_)),A=this.componentDef.onPush?576:528,P=function cf(e,t){return{components:[],scheduler:e||ry,clean:Xy,playerHandler:t||null,flags:0}}(),H=ra(0,null,null,1,0,null,null,null,null,null),te=cs(null,H,P,A,null,null,s,f,u,o);let _e,Te;Xi(te);try{const Be=function lf(e,t,n,r,i,o){const s=n[1];n[20]=e;const f=mo(s,20,2,"#host",null),_=f.mergedAttrs=t.hostAttrs;null!==_&&(oa(f,_,!0),null!==e&&(io(i,e,_),null!==f.classes&&ll(i,e,f.classes),null!==f.styles&&Wc(i,e,f.styles)));const C=r.createRenderer(e,t),A=cs(n,Id(t),null,t.onPush?64:16,n[20],f,r,C,o||null,null);return s.firstCreatePass&&(D(c(f,n),s,t.type),Ld(s,f),Vd(f,n.length,1)),ia(n,A),n[20]=A}(C,this.componentDef,te,s,f);if(C)if(r)io(f,C,["ng-version",K_.full]);else{const{attrs:ce,classes:Qe}=function my(e){const t=[],n=[];let r=1,i=2;for(;r0&&ll(f,C,Qe.join(" "))}if(Te=Nt(H,20),void 0!==n){const ce=Te.projection=[];for(let Qe=0;Qef(s,t)),t.contentQueries){const f=Zt();t.contentQueries(1,s,f.directiveStart)}const u=Zt();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(wr(u.index),Fd(n[1],u,0,u.directiveStart,u.directiveEnd,t),Nd(t,s)),s}(Be,this.componentDef,te,P,[Dv]),ds(H,te,null)}finally{to()}return new X_(this.componentType,_e,No(Te,te),te,Te)}}class X_ extends class B_{}{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new q_(i),this.componentType=t}get injector(){return new ti(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Lo{}class fp{}const Vo=new Map;class gp extends Lo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new cp(this);const r=tn(t);this._bootstrapComponents=jr(r.bootstrap),this._r3Injector=qd(t,n,[{provide:Lo,useValue:this},{provide:Da,useValue:this.componentFactoryResolver}],Me(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Hr.THROW_IF_NOT_FOUND,r=qe.Default){return t===Hr||t===Lo||t===Bl?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Du extends fp{constructor(t){super(),this.moduleType=t,null!==tn(t)&&function tC(e){const t=new Set;!function n(r){const i=tn(r,!0),o=i.id;null!==o&&(function hp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${Me(t)} vs ${Me(t.name)}`)}(o,Vo.get(o),r),Vo.set(o,r));const s=jr(i.imports);for(const u of s)t.has(u)||(t.add(u),n(u))}(e)}(t)}create(t){return new gp(this.moduleType,t)}}function mp(e,t,n,r){return yp(le(),Sn(),e,t,n,r)}function yp(e,t,n,r,i,o){const s=t+n;return Nn(e,s,i)?function $r(e,t,n){return e[t]=n}(e,s+1,o?r.call(o,i):r(i)):function ws(e,t){const n=e[t];return n===ct?void 0:n}(e,s+1)}function Ep(e,t){const n=at();let r;const i=e+20;n.firstCreatePass?(r=function dC(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=rr(r.type)),s=L(gs);try{const u=Ei(!1),f=o();return Ei(u),function xv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,le(),i,f),f}finally{L(s)}}function wp(e,t,n){const r=e+20,i=le(),o=function Gt(e,t){return e[t]}(i,r);return function bs(e,t){return e[1].data[t].pure}(i,r)?yp(i,Sn(),t,o.transform,n,o):o.transform(n)}function _u(e){return t=>{setTimeout(e,void 0,t)}}const Wr=class mC extends d.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var i,o,s;let u=t,f=n||(()=>null),_=r;if(t&&"object"==typeof t){const A=t;u=null===(i=A.next)||void 0===i?void 0:i.bind(A),f=null===(o=A.error)||void 0===o?void 0:o.bind(A),_=null===(s=A.complete)||void 0===s?void 0:s.bind(A)}this.__isAsync&&(f=_u(f),u&&(u=_u(u)),_&&(_=_u(_)));const C=super.subscribe({next:u,error:f,complete:_});return t instanceof O.w0&&t.add(C),C}};function yC(){return this._results[Co()]()}class Cu{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Co(),r=Cu.prototype;r[n]||(r[n]=yC)}get changes(){return this._changes||(this._changes=new Wr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}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,n){const r=this;r.dirty=!1;const i=hr(t);(this._changesDetected=!function Mg(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=_C,e})();const vC=Ms,DC=class extends vC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=cs(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(r[19]=o.createEmbeddedView(n)),ds(n,r,t),new Es(r)}};function _C(){return Ca(Zt(),le())}function Ca(e,t){return 4&e.type?new DC(t,e,No(e,t)):null}let Ea=(()=>{class e{}return e.__NG_ELEMENT_ID__=CC,e})();function CC(){return Sp(Zt(),le())}const EC=Ea,bp=class extends EC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return No(this._hostTNode,this._hostLView)}get injector(){return new ti(this._hostTNode,this._hostLView)}get parentInjector(){const t=g(this._hostTNode,this._hostLView);if(Bs(t)){const n=Ci(t,this._hostLView),r=ei(t);return new ti(n[1].data[r+8],n)}return new ti(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Mp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,o){const s=t&&!function Jo(e){return"function"==typeof e}(t);let u;if(s)u=n;else{const A=n||{};u=A.index,r=A.injector,i=A.projectableNodes,o=A.ngModuleRef}const f=s?t:new vu(mt(t)),_=r||this.parentInjector;if(!o&&null==f.ngModule){const P=(s?_:this.parentInjector).get(Lo,null);P&&(o=P)}const C=f.create(_,i,void 0,o);return this.insert(C.hostView,u),C}insert(t,n){const r=t._lView,i=r[1];if(function Qn(e){return dn(e[3])}(r)){const C=this.indexOf(t);if(-1!==C)this.detach(C);else{const A=r[3],P=new bp(A,A[6],A[3]);P.detach(P.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function fm(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r0)r.push(s[u/2]);else{const _=o[u+1],C=t[-f];for(let A=10;A{class e{constructor(n){this.appInits=n,this.resolve=Ma,this.reject=Ma,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{o.subscribe({complete:u,error:f})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(An(Zp,8))},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Xp=new Xt("AppId",{providedIn:"root",factory:function eg(){return`${Fu()}${Fu()}${Fu()}`}});function Fu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tg=new Xt("Platform Initializer"),KC=new Xt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),ng=new Xt("appBootstrapListener");let qC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Nu=new Xt("LocaleId",{providedIn:"root",factory:()=>kg(Nu,qe.Optional|qe.SkipSelf)||function JC(){return"undefined"!=typeof $localize&&$localize.locale||pa}()}),QC=new Xt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class ZC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let XC=(()=>{class e{compileModuleSync(n){return new Du(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=jr(tn(n).declarations).reduce((s,u)=>{const f=mt(u);return f&&s.push(new vu(f)),s},[]);return new ZC(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const tE=(()=>Promise.resolve(0))();function Lu(e){"undefined"==typeof Zone?tE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Tr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Wr(!1),this.onMicrotaskEmpty=new Wr(!1),this.onStable=new Wr(!1),this.onError=new Wr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function nE(){let e=Ge.requestAnimationFrame,t=Ge.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function oE(e){const t=()=>{!function iE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ge,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ku(e),e.isCheckStableRunning=!0,Vu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ku(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,u)=>{try{return rg(e),n.invokeTask(i,o,s,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),ig(e)}},onInvoke:(n,r,i,o,s,u,f)=>{try{return rg(e),n.invoke(i,o,s,u,f)}finally{e.shouldCoalesceRunChangeDetection&&t(),ig(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,ku(e),Vu(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Tr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Tr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,rE,Ma,Ma);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const rE={};function Vu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function ku(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function rg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ig(e){e._nesting--,Vu(e)}class sE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Wr,this.onMicrotaskEmpty=new Wr,this.onStable=new Wr,this.onError=new Wr}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let og=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.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:()=>{Tr.assertNotInAngularZone(),Lu(()=>{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())Lu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(An(Tr))},e.\u0275prov=gt({token:e,factory:e.\u0275fac}),e})(),aE=(()=>{class e{constructor(){this._applications=new Map,Bu.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Bu.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class lE{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function uE(e){Bu=e}let Bu=new lE,Ui=null;const sg=new Xt("AllowMultipleToken"),ag=new Xt("PlatformOnDestroy");class fE{constructor(t,n){this.name=t,this.token=n}}function lg(e,t,n=[]){const r=`Platform: ${t}`,i=new Xt(r);return(o=[])=>{let s=ju();if(!s||s.injector.get(sg,!1)){const u=[...n,...o,{provide:i,useValue:!0}];e?e(u):function hE(e){if(Ui&&!Ui.get(sg,!1))throw new ke(400,"");Ui=e;const t=e.get(ug),n=e.get(tg,null);n&&n.forEach(r=>r())}(function gE(e=[],t){return Hr.create({name:t,providers:[{provide:jl,useValue:"platform"},{provide:ag,useValue:()=>Ui=null},...e]})}(u,r))}return function pE(e){const t=ju();if(!t)throw new ke(401,"");return t}()}}function ju(){var e;return null!==(e=null==Ui?void 0:Ui.get(ug))&&void 0!==e?e:null}let ug=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const u=function mE(e,t){let n;return n="noop"===e?new sE:("zone.js"===e?void 0:e)||new Tr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),f=[{provide:Tr,useValue:u}];return u.run(()=>{const _=Hr.create({providers:f,parent:this.injector,name:n.moduleType.name}),C=n.create(_),A=C.injector.get(Xs,null);if(!A)throw new ke(402,"");return u.runOutsideAngular(()=>{const P=u.onError.subscribe({next:H=>{A.handleError(H)}});C.onDestroy(()=>{Hu(this._modules,C),P.unsubscribe()})}),function yE(e,t,n){try{const r=n();return iu(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(A,u,()=>{const P=C.injector.get(Pu);return P.runInitializers(),P.donePromise.then(()=>(function GD(e){dt(e,"Expected localeId to be defined"),"string"==typeof e&&(Fh=e.toLowerCase().replace(/_/g,"-"))}(C.injector.get(Nu,pa)||pa),this._moduleDoBootstrap(C),C))})})}bootstrapModule(n,r=[]){const i=cg({},r);return function cE(e,t,n){const r=new Du(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get(Uu);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new ke(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ke(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ag,null);null==n||n(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(An(Hr))},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function cg(e,t){return Array.isArray(t)?t.reduce(cg,e):Object.assign(Object.assign({},e),t)}let Uu=(()=>{class e{constructor(n,r,i,o){this._zone=n,this._injector=r,this._exceptionHandler=i,this._initStatus=o,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 s=new U.y(f=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{f.next(this._stable),f.complete()})}),u=new U.y(f=>{let _;this._zone.runOutsideAngular(()=>{_=this._zone.onStable.subscribe(()=>{Tr.assertNotInAngularZone(),Lu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,f.next(!0))})})});const C=this._zone.onUnstable.subscribe(()=>{Tr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{f.next(!1)}))});return()=>{_.unsubscribe(),C.unsubscribe()}});this.isStable=function de(...e){const t=(0,re.yG)(e),n=(0,re._6)(e,1/0),r=e;return r.length?1===r.length?(0,K.Xf)(r[0]):(0,J.J)(n)((0,ge.D)(r,t)):fe.E}(s,u.pipe((0,ne.B)()))}bootstrap(n,r){if(!this._initStatus.done)throw new ke(405,"");let i;i=n instanceof sp?n:this._injector.get(Da).resolveComponentFactory(n),this.componentTypes.push(i.componentType);const o=function dE(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Lo),u=i.create(Hr.NULL,[],r||i.selector,o),f=u.location.nativeElement,_=u.injector.get(og,null),C=_&&u.injector.get(aE);return _&&C&&C.registerApplication(f,_),u.onDestroy(()=>{this.detachView(u.hostView),Hu(this.components,u),C&&C.unregisterApplication(f)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new ke(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Hu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ng,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(An(Tr),An(Hr),An(Xs),An(Pu))},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Hu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let DE=(()=>{class e{}return e.__NG_ELEMENT_ID__=_E,e})();function _E(e){return function CE(e,t,n){if(yr(e)&&!n){const r=Yt(e.index,t);return new Es(r,r)}return 47&e.type?new Es(t[16],t):null}(Zt(),le(),16==(16&e))}class yg{constructor(){}supports(t){return hs(t)}create(t){return new AE(t)}}const SE=(e,t)=>t;class AE{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||SE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,u,s,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,s,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),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,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new IE(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new vg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vg),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class IE{constructor(t,n){this.item=t,this.trackById=n,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 TE{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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class vg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new TE,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Dg(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new xE(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,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,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class xE{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Cg(){return new Yu([new yg])}let Yu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Cg()),deps:[[e,new ns,new ts]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new ke(901,"")}}return e.\u0275prov=gt({token:e,providedIn:"root",factory:Cg}),e})();function Eg(){return new Ku([new _g])}let Ku=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Eg()),deps:[[e,new ns,new ts]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new ke(901,"")}}return e.\u0275prov=gt({token:e,providedIn:"root",factory:Eg}),e})();const FE=lg(null,"core",[]);let NE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(An(Uu))},e.\u0275mod=$({type:e}),e.\u0275inj=Ct({}),e})()},2382:($e,oe,S)=>{S.d(oe,{qu:()=>Fr,u5:()=>Pn,UX:()=>Qn,kI:()=>We});var d=S(7587),U=(S(9808),S(2076)),J=S(8306),K=S(4742),fe=S(8421),re=S(7669),ge=S(5403),de=S(3268),ne=S(1810),be=S(4004);function Y(m){return null==m||0===m.length}function Se(m){return null!=m&&"number"==typeof m.length}const Ce=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class We{static min(p){return function Pe(m){return p=>{if(Y(p.value)||Y(m))return null;const h=parseFloat(p.value);return!isNaN(h)&&h{if(Y(p.value)||Y(m))return null;const h=parseFloat(p.value);return!isNaN(h)&&h>m?{max:{max:m,actual:p.value}}:null}}(p)}static required(p){return function Re(m){return Y(m.value)?{required:!0}:null}(p)}static requiredTrue(p){return function rt(m){return!0===m.value?null:{required:!0}}(p)}static email(p){return function Oe(m){return Y(m.value)||Ce.test(m.value)?null:{email:!0}}(p)}static minLength(p){return function X(m){return p=>Y(p.value)||!Se(p.value)?null:p.value.lengthSe(p.value)&&p.value.length>m?{maxlength:{requiredLength:m,actualLength:p.value.length}}:null}(p)}static pattern(p){return function ie(m){if(!m)return ae;let p,h;return"string"==typeof m?(h="","^"!==m.charAt(0)&&(h+="^"),h+=m,"$"!==m.charAt(m.length-1)&&(h+="$"),p=new RegExp(h)):(h=m.toString(),p=m),w=>{if(Y(w.value))return null;const Z=w.value;return p.test(Z)?null:{pattern:{requiredPattern:h,actualValue:Z}}}}(p)}static nullValidator(p){return null}static compose(p){return ht(p)}static composeAsync(p){return it(p)}}function ae(m){return null}function ve(m){return null!=m}function ye(m){const p=(0,d.QGY)(m)?(0,U.D)(m):m;return(0,d.CqO)(p),p}function Ye(m){let p={};return m.forEach(h=>{p=null!=h?Object.assign(Object.assign({},p),h):p}),0===Object.keys(p).length?null:p}function ft(m,p){return p.map(h=>h(m))}function Ee(m){return m.map(p=>function dt(m){return!m.validate}(p)?p:h=>p.validate(h))}function ht(m){if(!m)return null;const p=m.filter(ve);return 0==p.length?null:function(h){return Ye(ft(h,p))}}function it(m){if(!m)return null;const p=m.filter(ve);return 0==p.length?null:function(h){return function G(...m){const p=(0,re.jO)(m),{args:h,keys:w}=(0,K.D)(m),Z=new J.y(Ne=>{const{length:xt}=h;if(!xt)return void Ne.complete();const En=new Array(xt);let Zn=xt,le=xt;for(let at=0;at{gi||(gi=!0,le--),En[at]=Zt},()=>Zn--,void 0,()=>{(!Zn||!gi)&&(le||Ne.next(w?(0,ne.n)(w,En):En),Ne.complete())}))}});return p?Z.pipe((0,de.Z)(p)):Z}(ft(h,p).map(ye)).pipe((0,be.U)(Ye))}}function Ht(m){return m?Array.isArray(m)?m:[m]:[]}function an(m,p){return Array.isArray(m)?m.includes(p):m===p}function Xn(m,p){const h=Ht(p);return Ht(m).forEach(Z=>{an(h,Z)||h.push(Z)}),h}function Hn(m,p){return Ht(p).filter(h=>!an(m,h))}function Ln(m,p){const h=m.indexOf(p);h>-1&&m.splice(h,1)}const bn="VALID",In="INVALID",Pt="PENDING",qn="DISABLED";function Ie(m){return(cn(m)?m.validators:m)||null}function st(m){return Array.isArray(m)?function Je(m){return null!=m?ht(Ee(m)):null}(m):m||null}function bt(m,p){return(cn(p)?p.asyncValidators:m)||null}function nn(m){return Array.isArray(m)?function gt(m){return null!=m?it(Ee(m)):null}(m):m||null}function cn(m){return null!=m&&!Array.isArray(m)&&"object"==typeof m}const Wt=m=>m instanceof kn,Tn=m=>m instanceof rn,kt=m=>m instanceof vn;function lr(m){return Wt(m)?m.value:m.getRawValue()}function nr(m,p){const h=Tn(m),w=m.controls;if(!(h?Object.keys(w):w).length)throw new d.vHH(1e3,"");if(!w[p])throw new d.vHH(1001,"")}function et(m,p){Tn(m),m._forEachChild((w,Z)=>{if(void 0===p[Z])throw new d.vHH(1002,"")})}class Vn{constructor(p,h){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=p,this._rawAsyncValidators=h,this._composedValidatorFn=st(this._rawValidators),this._composedAsyncValidatorFn=nn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(p){this._rawValidators=this._composedValidatorFn=p}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(p){this._rawAsyncValidators=this._composedAsyncValidatorFn=p}get parent(){return this._parent}get valid(){return this.status===bn}get invalid(){return this.status===In}get pending(){return this.status==Pt}get disabled(){return this.status===qn}get enabled(){return this.status!==qn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(p){this._rawValidators=p,this._composedValidatorFn=st(p)}setAsyncValidators(p){this._rawAsyncValidators=p,this._composedAsyncValidatorFn=nn(p)}addValidators(p){this.setValidators(Xn(p,this._rawValidators))}addAsyncValidators(p){this.setAsyncValidators(Xn(p,this._rawAsyncValidators))}removeValidators(p){this.setValidators(Hn(p,this._rawValidators))}removeAsyncValidators(p){this.setAsyncValidators(Hn(p,this._rawAsyncValidators))}hasValidator(p){return an(this._rawValidators,p)}hasAsyncValidator(p){return an(this._rawAsyncValidators,p)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(p={}){this.touched=!0,this._parent&&!p.onlySelf&&this._parent.markAsTouched(p)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(p=>p.markAllAsTouched())}markAsUntouched(p={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(h=>{h.markAsUntouched({onlySelf:!0})}),this._parent&&!p.onlySelf&&this._parent._updateTouched(p)}markAsDirty(p={}){this.pristine=!1,this._parent&&!p.onlySelf&&this._parent.markAsDirty(p)}markAsPristine(p={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(h=>{h.markAsPristine({onlySelf:!0})}),this._parent&&!p.onlySelf&&this._parent._updatePristine(p)}markAsPending(p={}){this.status=Pt,!1!==p.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!p.onlySelf&&this._parent.markAsPending(p)}disable(p={}){const h=this._parentMarkedDirty(p.onlySelf);this.status=qn,this.errors=null,this._forEachChild(w=>{w.disable(Object.assign(Object.assign({},p),{onlySelf:!0}))}),this._updateValue(),!1!==p.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},p),{skipPristineCheck:h})),this._onDisabledChange.forEach(w=>w(!0))}enable(p={}){const h=this._parentMarkedDirty(p.onlySelf);this.status=bn,this._forEachChild(w=>{w.enable(Object.assign(Object.assign({},p),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:p.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},p),{skipPristineCheck:h})),this._onDisabledChange.forEach(w=>w(!1))}_updateAncestors(p){this._parent&&!p.onlySelf&&(this._parent.updateValueAndValidity(p),p.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(p){this._parent=p}updateValueAndValidity(p={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bn||this.status===Pt)&&this._runAsyncValidator(p.emitEvent)),!1!==p.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!p.onlySelf&&this._parent.updateValueAndValidity(p)}_updateTreeValidity(p={emitEvent:!0}){this._forEachChild(h=>h._updateTreeValidity(p)),this.updateValueAndValidity({onlySelf:!0,emitEvent:p.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qn:bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(p){if(this.asyncValidator){this.status=Pt,this._hasOwnPendingAsyncValidator=!0;const h=ye(this.asyncValidator(this));this._asyncValidationSubscription=h.subscribe(w=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(w,{emitEvent:p})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(p,h={}){this.errors=p,this._updateControlsErrors(!1!==h.emitEvent)}get(p){return function un(m,p,h){if(null==p||(Array.isArray(p)||(p=p.split(h)),Array.isArray(p)&&0===p.length))return null;let w=m;return p.forEach(Z=>{w=Tn(w)?w.controls.hasOwnProperty(Z)?w.controls[Z]:null:kt(w)&&w.at(Z)||null}),w}(this,p,".")}getError(p,h){const w=h?this.get(h):this;return w&&w.errors?w.errors[p]:null}hasError(p,h){return!!this.getError(p,h)}get root(){let p=this;for(;p._parent;)p=p._parent;return p}_updateControlsErrors(p){this.status=this._calculateStatus(),p&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(p)}_initObservables(){this.valueChanges=new d.vpe,this.statusChanges=new d.vpe}_calculateStatus(){return this._allControlsDisabled()?qn:this.errors?In:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Pt)?Pt:this._anyControlsHaveStatus(In)?In:bn}_anyControlsHaveStatus(p){return this._anyControls(h=>h.status===p)}_anyControlsDirty(){return this._anyControls(p=>p.dirty)}_anyControlsTouched(){return this._anyControls(p=>p.touched)}_updatePristine(p={}){this.pristine=!this._anyControlsDirty(),this._parent&&!p.onlySelf&&this._parent._updatePristine(p)}_updateTouched(p={}){this.touched=this._anyControlsTouched(),this._parent&&!p.onlySelf&&this._parent._updateTouched(p)}_isBoxedValue(p){return"object"==typeof p&&null!==p&&2===Object.keys(p).length&&"value"in p&&"disabled"in p}_registerOnCollectionChange(p){this._onCollectionChange=p}_setUpdateStrategy(p){cn(p)&&null!=p.updateOn&&(this._updateOn=p.updateOn)}_parentMarkedDirty(p){return!p&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class kn extends Vn{constructor(p=null,h,w){super(Ie(h),bt(w,h)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(p),this._setUpdateStrategy(h),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),cn(h)&&h.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(p)?p.value:p)}setValue(p,h={}){this.value=this._pendingValue=p,this._onChange.length&&!1!==h.emitModelToViewChange&&this._onChange.forEach(w=>w(this.value,!1!==h.emitViewToModelChange)),this.updateValueAndValidity(h)}patchValue(p,h={}){this.setValue(p,h)}reset(p=this.defaultValue,h={}){this._applyFormState(p),this.markAsPristine(h),this.markAsUntouched(h),this.setValue(this.value,h),this._pendingChange=!1}_updateValue(){}_anyControls(p){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(p){this._onChange.push(p)}_unregisterOnChange(p){Ln(this._onChange,p)}registerOnDisabledChange(p){this._onDisabledChange.push(p)}_unregisterOnDisabledChange(p){Ln(this._onDisabledChange,p)}_forEachChild(p){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(p){this._isBoxedValue(p)?(this.value=this._pendingValue=p.value,p.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=p}}class rn extends Vn{constructor(p,h,w){super(Ie(h),bt(w,h)),this.controls=p,this._initObservables(),this._setUpdateStrategy(h),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(p,h){return this.controls[p]?this.controls[p]:(this.controls[p]=h,h.setParent(this),h._registerOnCollectionChange(this._onCollectionChange),h)}addControl(p,h,w={}){this.registerControl(p,h),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}removeControl(p,h={}){this.controls[p]&&this.controls[p]._registerOnCollectionChange(()=>{}),delete this.controls[p],this.updateValueAndValidity({emitEvent:h.emitEvent}),this._onCollectionChange()}setControl(p,h,w={}){this.controls[p]&&this.controls[p]._registerOnCollectionChange(()=>{}),delete this.controls[p],h&&this.registerControl(p,h),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}contains(p){return this.controls.hasOwnProperty(p)&&this.controls[p].enabled}setValue(p,h={}){et(this,p),Object.keys(p).forEach(w=>{nr(this,w),this.controls[w].setValue(p[w],{onlySelf:!0,emitEvent:h.emitEvent})}),this.updateValueAndValidity(h)}patchValue(p,h={}){null!=p&&(Object.keys(p).forEach(w=>{this.controls[w]&&this.controls[w].patchValue(p[w],{onlySelf:!0,emitEvent:h.emitEvent})}),this.updateValueAndValidity(h))}reset(p={},h={}){this._forEachChild((w,Z)=>{w.reset(p[Z],{onlySelf:!0,emitEvent:h.emitEvent})}),this._updatePristine(h),this._updateTouched(h),this.updateValueAndValidity(h)}getRawValue(){return this._reduceChildren({},(p,h,w)=>(p[w]=lr(h),p))}_syncPendingControls(){let p=this._reduceChildren(!1,(h,w)=>!!w._syncPendingControls()||h);return p&&this.updateValueAndValidity({onlySelf:!0}),p}_forEachChild(p){Object.keys(this.controls).forEach(h=>{const w=this.controls[h];w&&p(w,h)})}_setUpControls(){this._forEachChild(p=>{p.setParent(this),p._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(p){for(const h of Object.keys(this.controls)){const w=this.controls[h];if(this.contains(h)&&p(w))return!0}return!1}_reduceValue(){return this._reduceChildren({},(p,h,w)=>((h.enabled||this.disabled)&&(p[w]=h.value),p))}_reduceChildren(p,h){let w=p;return this._forEachChild((Z,Ne)=>{w=h(w,Z,Ne)}),w}_allControlsDisabled(){for(const p of Object.keys(this.controls))if(this.controls[p].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class vn extends Vn{constructor(p,h,w){super(Ie(h),bt(w,h)),this.controls=p,this._initObservables(),this._setUpdateStrategy(h),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(p){return this.controls[p]}push(p,h={}){this.controls.push(p),this._registerControl(p),this.updateValueAndValidity({emitEvent:h.emitEvent}),this._onCollectionChange()}insert(p,h,w={}){this.controls.splice(p,0,h),this._registerControl(h),this.updateValueAndValidity({emitEvent:w.emitEvent})}removeAt(p,h={}){this.controls[p]&&this.controls[p]._registerOnCollectionChange(()=>{}),this.controls.splice(p,1),this.updateValueAndValidity({emitEvent:h.emitEvent})}setControl(p,h,w={}){this.controls[p]&&this.controls[p]._registerOnCollectionChange(()=>{}),this.controls.splice(p,1),h&&(this.controls.splice(p,0,h),this._registerControl(h)),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(p,h={}){et(this,p),p.forEach((w,Z)=>{nr(this,Z),this.at(Z).setValue(w,{onlySelf:!0,emitEvent:h.emitEvent})}),this.updateValueAndValidity(h)}patchValue(p,h={}){null!=p&&(p.forEach((w,Z)=>{this.at(Z)&&this.at(Z).patchValue(w,{onlySelf:!0,emitEvent:h.emitEvent})}),this.updateValueAndValidity(h))}reset(p=[],h={}){this._forEachChild((w,Z)=>{w.reset(p[Z],{onlySelf:!0,emitEvent:h.emitEvent})}),this._updatePristine(h),this._updateTouched(h),this.updateValueAndValidity(h)}getRawValue(){return this.controls.map(p=>lr(p))}clear(p={}){this.controls.length<1||(this._forEachChild(h=>h._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:p.emitEvent}))}_syncPendingControls(){let p=this.controls.reduce((h,w)=>!!w._syncPendingControls()||h,!1);return p&&this.updateValueAndValidity({onlySelf:!0}),p}_forEachChild(p){this.controls.forEach((h,w)=>{p(h,w)})}_updateValue(){this.value=this.controls.filter(p=>p.enabled||this.disabled).map(p=>p.value)}_anyControls(p){return this.controls.some(h=>h.enabled&&p(h))}_setUpControls(){this._forEachChild(p=>this._registerControl(p))}_allControlsDisabled(){for(const p of this.controls)if(p.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(p){p.setParent(this),p._registerOnCollectionChange(this._onCollectionChange)}}let Dr=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275mod=d.oAB({type:m}),m.\u0275inj=d.cJS({}),m})();const xr=new d.OlP("NgModelWithFormControlWarning");let Rn=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275mod=d.oAB({type:m}),m.\u0275inj=d.cJS({imports:[[Dr]]}),m})(),Pn=(()=>{class m{}return m.\u0275fac=function(h){return new(h||m)},m.\u0275mod=d.oAB({type:m}),m.\u0275inj=d.cJS({imports:[Rn]}),m})(),Qn=(()=>{class m{static withConfig(h){return{ngModule:m,providers:[{provide:xr,useValue:h.warnOnNgModelWithFormControl}]}}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275mod=d.oAB({type:m}),m.\u0275inj=d.cJS({imports:[Rn]}),m})(),Fr=(()=>{class m{group(h,w=null){const Z=this._reduceControls(h);let En,Ne=null,xt=null;return null!=w&&(function Bn(m){return void 0!==m.asyncValidators||void 0!==m.validators||void 0!==m.updateOn}(w)?(Ne=null!=w.validators?w.validators:null,xt=null!=w.asyncValidators?w.asyncValidators:null,En=null!=w.updateOn?w.updateOn:void 0):(Ne=null!=w.validator?w.validator:null,xt=null!=w.asyncValidator?w.asyncValidator:null)),new rn(Z,{asyncValidators:xt,updateOn:En,validators:Ne})}control(h,w,Z){return new kn(h,w,Z)}array(h,w,Z){const Ne=h.map(xt=>this._createControl(xt));return new vn(Ne,w,Z)}_reduceControls(h){const w={};return Object.keys(h).forEach(Z=>{w[Z]=this._createControl(h[Z])}),w}_createControl(h){return Wt(h)||Tn(h)||kt(h)?h:Array.isArray(h)?this.control(h[0],h.length>1?h[1]:null,h.length>2?h[2]:null):this.control(h)}}return m.\u0275fac=function(h){return new(h||m)},m.\u0275prov=d.Yz7({token:m,factory:m.\u0275fac,providedIn:Qn}),m})()},2313:($e,oe,S)=>{S.d(oe,{Dx:()=>Lt,b2:()=>an,h_:()=>Hn,q6:()=>Ut});var d=S(9808),O=S(7587);class U extends d.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class J extends U{static makeCurrent(){(0,d.HT)(new J)}onAndCancel(V,I,$){return V.addEventListener(I,$,!1),()=>{V.removeEventListener(I,$,!1)}}dispatchEvent(V,I){V.dispatchEvent(I)}remove(V){V.parentNode&&V.parentNode.removeChild(V)}createElement(V,I){return(I=I||this.getDefaultDocument()).createElement(V)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(V){return V.nodeType===Node.ELEMENT_NODE}isShadowRoot(V){return V instanceof DocumentFragment}getGlobalEventTarget(V,I){return"window"===I?window:"document"===I?V:"body"===I?V.body:null}getBaseHref(V){const I=function fe(){return K=K||document.querySelector("base"),K?K.getAttribute("href"):null}();return null==I?null:function ge(z){re=re||document.createElement("a"),re.setAttribute("href",z);const V=re.pathname;return"/"===V.charAt(0)?V:`/${V}`}(I)}resetBaseElement(){K=null}getUserAgent(){return window.navigator.userAgent}getCookie(V){return(0,d.Mx)(document.cookie,V)}}let re,K=null;const de=new O.OlP("TRANSITION_ID"),G=[{provide:O.ip1,useFactory:function ne(z,V,I){return()=>{I.get(O.CZH).donePromise.then(()=>{const $=(0,d.q)(),W=V.querySelectorAll(`style[ng-transition="${z}"]`);for(let ze=0;ze{const ze=V.findTestabilityInTree($,W);if(null==ze)throw new Error("Could not find testability for element.");return ze},O.dqk.getAllAngularTestabilities=()=>V.getAllTestabilities(),O.dqk.getAllAngularRootElements=()=>V.getAllRootElements(),O.dqk.frameworkStabilizers||(O.dqk.frameworkStabilizers=[]),O.dqk.frameworkStabilizers.push($=>{const W=O.dqk.getAllAngularTestabilities();let ze=W.length,lt=!1;const It=function(mt){lt=lt||mt,ze--,0==ze&&$(lt)};W.forEach(function(mt){mt.whenStable(It)})})}findTestabilityInTree(V,I,$){if(null==I)return null;const W=V.getTestability(I);return null!=W?W:$?(0,d.q)().isShadowRoot(I)?this.findTestabilityInTree(V,I.host,!0):this.findTestabilityInTree(V,I.parentElement,!0):null}}let Me=(()=>{class z{build(){return new XMLHttpRequest}}return z.\u0275fac=function(I){return new(I||z)},z.\u0275prov=O.Yz7({token:z,factory:z.\u0275fac}),z})();const he=new O.OlP("EventManagerPlugins");let Fe=(()=>{class z{constructor(I,$){this._zone=$,this._eventNameToPlugin=new Map,I.forEach(W=>W.manager=this),this._plugins=I.slice().reverse()}addEventListener(I,$,W){return this._findPluginFor($).addEventListener(I,$,W)}addGlobalEventListener(I,$,W){return this._findPluginFor($).addGlobalEventListener(I,$,W)}getZone(){return this._zone}_findPluginFor(I){const $=this._eventNameToPlugin.get(I);if($)return $;const W=this._plugins;for(let ze=0;ze{class z{constructor(){this._stylesSet=new Set}addStyles(I){const $=new Set;I.forEach(W=>{this._stylesSet.has(W)||(this._stylesSet.add(W),$.add(W))}),this.onStylesAdded($)}onStylesAdded(I){}getAllStyles(){return Array.from(this._stylesSet)}}return z.\u0275fac=function(I){return new(I||z)},z.\u0275prov=O.Yz7({token:z,factory:z.\u0275fac}),z})(),nt=(()=>{class z extends ue{constructor(I){super(),this._doc=I,this._hostNodes=new Map,this._hostNodes.set(I.head,[])}_addStylesToHost(I,$,W){I.forEach(ze=>{const lt=this._doc.createElement("style");lt.textContent=ze,W.push($.appendChild(lt))})}addHost(I){const $=[];this._addStylesToHost(this._stylesSet,I,$),this._hostNodes.set(I,$)}removeHost(I){const $=this._hostNodes.get(I);$&&$.forEach(ot),this._hostNodes.delete(I)}onStylesAdded(I){this._hostNodes.forEach(($,W)=>{this._addStylesToHost(I,W,$)})}ngOnDestroy(){this._hostNodes.forEach(I=>I.forEach(ot))}}return z.\u0275fac=function(I){return new(I||z)(O.LFG(d.K0))},z.\u0275prov=O.Yz7({token:z,factory:z.\u0275fac}),z})();function ot(z){(0,d.q)().remove(z)}const ke={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/",math:"http://www.w3.org/1998/MathML/"},De=/%COMP%/g;function Pe(z,V,I){for(let $=0;${if("__ngUnwrap__"===V)return z;!1===z(V)&&(V.preventDefault(),V.returnValue=!1)}}let rt=(()=>{class z{constructor(I,$,W){this.eventManager=I,this.sharedStylesHost=$,this.appId=W,this.rendererByCompId=new Map,this.defaultRenderer=new Oe(I)}createRenderer(I,$){if(!I||!$)return this.defaultRenderer;switch($.encapsulation){case O.ifc.Emulated:{let W=this.rendererByCompId.get($.id);return W||(W=new ie(this.eventManager,this.sharedStylesHost,$,this.appId),this.rendererByCompId.set($.id,W)),W.applyToHost(I),W}case 1:case O.ifc.ShadowDom:return new ae(this.eventManager,this.sharedStylesHost,I,$);default:if(!this.rendererByCompId.has($.id)){const W=Pe($.id,$.styles,[]);this.sharedStylesHost.addStyles(W),this.rendererByCompId.set($.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return z.\u0275fac=function(I){return new(I||z)(O.LFG(Fe),O.LFG(nt),O.LFG(O.AFp))},z.\u0275prov=O.Yz7({token:z,factory:z.\u0275fac}),z})();class Oe{constructor(V){this.eventManager=V,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(V,I){return I?document.createElementNS(ke[I]||I,V):document.createElement(V)}createComment(V){return document.createComment(V)}createText(V){return document.createTextNode(V)}appendChild(V,I){V.appendChild(I)}insertBefore(V,I,$){V&&V.insertBefore(I,$)}removeChild(V,I){V&&V.removeChild(I)}selectRootElement(V,I){let $="string"==typeof V?document.querySelector(V):V;if(!$)throw new Error(`The selector "${V}" did not match any elements`);return I||($.textContent=""),$}parentNode(V){return V.parentNode}nextSibling(V){return V.nextSibling}setAttribute(V,I,$,W){if(W){I=W+":"+I;const ze=ke[W];ze?V.setAttributeNS(ze,I,$):V.setAttribute(I,$)}else V.setAttribute(I,$)}removeAttribute(V,I,$){if($){const W=ke[$];W?V.removeAttributeNS(W,I):V.removeAttribute(`${$}:${I}`)}else V.removeAttribute(I)}addClass(V,I){V.classList.add(I)}removeClass(V,I){V.classList.remove(I)}setStyle(V,I,$,W){W&(O.JOm.DashCase|O.JOm.Important)?V.style.setProperty(I,$,W&O.JOm.Important?"important":""):V.style[I]=$}removeStyle(V,I,$){$&O.JOm.DashCase?V.style.removeProperty(I):V.style[I]=""}setProperty(V,I,$){V[I]=$}setValue(V,I){V.nodeValue=I}listen(V,I,$){return"string"==typeof V?this.eventManager.addGlobalEventListener(V,I,Ze($)):this.eventManager.addEventListener(V,I,Ze($))}}class ie extends Oe{constructor(V,I,$,W){super(V),this.component=$;const ze=Pe(W+"-"+$.id,$.styles,[]);I.addStyles(ze),this.contentAttr=function Ce(z){return"_ngcontent-%COMP%".replace(De,z)}(W+"-"+$.id),this.hostAttr=function We(z){return"_nghost-%COMP%".replace(De,z)}(W+"-"+$.id)}applyToHost(V){super.setAttribute(V,this.hostAttr,"")}createElement(V,I){const $=super.createElement(V,I);return super.setAttribute($,this.contentAttr,""),$}}class ae extends Oe{constructor(V,I,$,W){super(V),this.sharedStylesHost=I,this.hostEl=$,this.shadowRoot=$.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ze=Pe(W.id,W.styles,[]);for(let lt=0;lt{class z extends Ve{constructor(I){super(I)}supports(I){return!0}addEventListener(I,$,W){return I.addEventListener($,W,!1),()=>this.removeEventListener(I,$,W)}removeEventListener(I,$,W){return I.removeEventListener($,W)}}return z.\u0275fac=function(I){return new(I||z)(O.LFG(d.K0))},z.\u0275prov=O.Yz7({token:z,factory:z.\u0275fac}),z})();const ye=["alt","control","meta","shift"],ft={"\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"},dt={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"},Ee={alt:z=>z.altKey,control:z=>z.ctrlKey,meta:z=>z.metaKey,shift:z=>z.shiftKey};let ht=(()=>{class z extends Ve{constructor(I){super(I)}supports(I){return null!=z.parseEventName(I)}addEventListener(I,$,W){const ze=z.parseEventName($),lt=z.eventCallback(ze.fullKey,W,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,d.q)().onAndCancel(I,ze.domEventName,lt))}static parseEventName(I){const $=I.toLowerCase().split("."),W=$.shift();if(0===$.length||"keydown"!==W&&"keyup"!==W)return null;const ze=z._normalizeKey($.pop());let lt="";if(ye.forEach(mt=>{const ln=$.indexOf(mt);ln>-1&&($.splice(ln,1),lt+=mt+".")}),lt+=ze,0!=$.length||0===ze.length)return null;const It={};return It.domEventName=W,It.fullKey=lt,It}static getEventFullKey(I){let $="",W=function Je(z){let V=z.key;if(null==V){if(V=z.keyIdentifier,null==V)return"Unidentified";V.startsWith("U+")&&(V=String.fromCharCode(parseInt(V.substring(2),16)),3===z.location&&dt.hasOwnProperty(V)&&(V=dt[V]))}return ft[V]||V}(I);return W=W.toLowerCase()," "===W?W="space":"."===W&&(W="dot"),ye.forEach(ze=>{ze!=W&&Ee[ze](I)&&($+=ze+".")}),$+=W,$}static eventCallback(I,$,W){return ze=>{z.getEventFullKey(ze)===I&&W.runGuarded(()=>$(ze))}}static _normalizeKey(I){return"esc"===I?"escape":I}}return z.\u0275fac=function(I){return new(I||z)(O.LFG(d.K0))},z.\u0275prov=O.Yz7({token:z,factory:z.\u0275fac}),z})();const Ut=(0,O.eFA)(O._c5,"browser",[{provide:O.Lbi,useValue:d.bD},{provide:O.g9A,useValue:function it(){J.makeCurrent(),be.init()},multi:!0},{provide:d.K0,useFactory:function Tt(){return(0,O.RDi)(document),document},deps:[]}]),Ht=[{provide:O.zSh,useValue:"root"},{provide:O.qLn,useFactory:function gt(){return new O.qLn},deps:[]},{provide:he,useClass:ve,multi:!0,deps:[d.K0,O.R0b,O.Lbi]},{provide:he,useClass:ht,multi:!0,deps:[d.K0]},{provide:rt,useClass:rt,deps:[Fe,nt,O.AFp]},{provide:O.FYo,useExisting:rt},{provide:ue,useExisting:nt},{provide:nt,useClass:nt,deps:[d.K0]},{provide:O.dDg,useClass:O.dDg,deps:[O.R0b]},{provide:Fe,useClass:Fe,deps:[he,O.R0b]},{provide:d.JF,useClass:Me,deps:[]}];let an=(()=>{class z{constructor(I){if(I)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(I){return{ngModule:z,providers:[{provide:O.AFp,useValue:I.appId},{provide:de,useExisting:O.AFp},G]}}}return z.\u0275fac=function(I){return new(I||z)(O.LFG(z,12))},z.\u0275mod=O.oAB({type:z}),z.\u0275inj=O.cJS({providers:Ht,imports:[d.ez,O.hGG]}),z})(),Hn=(()=>{class z{constructor(I){this._doc=I,this._dom=(0,d.q)()}addTag(I,$=!1){return I?this._getOrCreateElement(I,$):null}addTags(I,$=!1){return I?I.reduce((W,ze)=>(ze&&W.push(this._getOrCreateElement(ze,$)),W),[]):[]}getTag(I){return I&&this._doc.querySelector(`meta[${I}]`)||null}getTags(I){if(!I)return[];const $=this._doc.querySelectorAll(`meta[${I}]`);return $?[].slice.call($):[]}updateTag(I,$){if(!I)return null;$=$||this._parseSelector(I);const W=this.getTag($);return W?this._setMetaElementAttributes(I,W):this._getOrCreateElement(I,!0)}removeTag(I){this.removeTagElement(this.getTag(I))}removeTagElement(I){I&&this._dom.remove(I)}_getOrCreateElement(I,$=!1){if(!$){const lt=this._parseSelector(I),It=this.getTags(lt).filter(mt=>this._containsAttributes(I,mt))[0];if(void 0!==It)return It}const W=this._dom.createElement("meta");return this._setMetaElementAttributes(I,W),this._doc.getElementsByTagName("head")[0].appendChild(W),W}_setMetaElementAttributes(I,$){return Object.keys(I).forEach(W=>$.setAttribute(this._getMetaKeyMap(W),I[W])),$}_parseSelector(I){const $=I.name?"name":"property";return`${$}="${I[$]}"`}_containsAttributes(I,$){return Object.keys(I).every(W=>$.getAttribute(this._getMetaKeyMap(W))===I[W])}_getMetaKeyMap(I){return $n[I]||I}}return z.\u0275fac=function(I){return new(I||z)(O.LFG(d.K0))},z.\u0275prov=O.Yz7({token:z,factory:function(I){let $=null;return $=I?new I:function Xn(){return new Hn((0,O.LFG)(d.K0))}(),$},providedIn:"root"}),z})();const $n={httpEquiv:"http-equiv"};let Lt=(()=>{class z{constructor(I){this._doc=I}getTitle(){return this._doc.title}setTitle(I){this._doc.title=I||""}}return z.\u0275fac=function(I){return new(I||z)(O.LFG(d.K0))},z.\u0275prov=O.Yz7({token:z,factory:function(I){let $=null;return $=I?new I:function At(){return new Lt((0,O.LFG)(d.K0))}(),$},providedIn:"root"}),z})();"undefined"!=typeof window&&window},7581:($e,oe,S)=>{S.d(oe,{sz:()=>yn,c9:()=>At,m2:()=>Ht,OD:()=>Ut,F0:()=>pn,yS:()=>Ni,Bz:()=>zo,lC:()=>xn,Hx:()=>ln});var d=S(7587),O=S(2076),U=S(9646),J=S(1135),K=S(8306),fe=S(4742),re=S(4671),ge=S(3268),de=S(7669),ne=S(1810),G=S(5403),be=S(9672);function Fe(c,l,a){c?(0,be.f)(a,c,l):l()}var Ve=S(576);function ue(c,l){const a=(0,Ve.m)(c)?c:()=>c,g=D=>D.error(a());return new K.y(l?D=>l.schedule(g,0,D):g)}var nt=S(6805),ot=S(8189);function De(...c){return function ke(){return(0,ot.J)(1)}()((0,O.D)(c,(0,de.yG)(c)))}var Y=S(8421);function Se(c){return new K.y(l=>{(0,Y.Xf)(c()).subscribe(l)})}var je=S(515),Ae=S(727),Ce=S(4482);function We(){return(0,Ce.e)((c,l)=>{let a=null;c._refCount++;const g=(0,G.x)(l,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(a=null);const D=c._connection,b=a;a=null,D&&(!b||D===b)&&D.unsubscribe(),l.unsubscribe()});c.subscribe(g),g.closed||(a=c.connect())})}class Pe extends K.y{constructor(l,a){super(),this.source=l,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,Ce.A)(l)&&(this.lift=l.lift)}_subscribe(l){return this.getSubject().subscribe(l)}getSubject(){const l=this._subject;return(!l||l.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:l}=this;this._subject=this._connection=null,null==l||l.unsubscribe()}connect(){let l=this._connection;if(!l){l=this._connection=new Ae.w0;const a=this.getSubject();l.add(this.source.subscribe((0,G.x)(a,void 0,()=>{this._teardown(),a.complete()},g=>{this._teardown(),a.error(g)},()=>this._teardown()))),l.closed&&(this._connection=null,l=Ae.w0.EMPTY)}return l}refCount(){return We()(this)}}var Ze=S(7579),Re=S(4004),rt=S(3900),Oe=S(5698);function ee(c,l,a,g,D){return(b,T)=>{let R=a,q=l,Le=0;b.subscribe((0,G.x)(T,ut=>{const He=Le++;q=R?c(q,ut,He):(R=!0,ut),g&&T.next(q)},D&&(()=>{R&&T.next(q),T.complete()})))}}function ie(c,l){return(0,Ce.e)(ee(c,l,arguments.length>=2,!0))}var ae=S(9300),ve=S(262),ye=S(4351);function Ye(c){return c<=0?()=>je.E:(0,Ce.e)((l,a)=>{let g=[];l.subscribe((0,G.x)(a,D=>{g.push(D),c{for(const D of g)a.next(D);a.complete()},void 0,()=>{g=null}))})}var ft=S(8068),dt=S(6590),ht=S(590),Je=S(5577),it=S(8505),Tt=S(9808);class Ct{constructor(l,a){this.id=l,this.url=a}}class Ut extends Ct{constructor(l,a,g="imperative",D=null){super(l,a),this.navigationTrigger=g,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ht extends Ct{constructor(l,a,g){super(l,a),this.urlAfterRedirects=g}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class an extends Ct{constructor(l,a,g){super(l,a),this.reason=g}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xn extends Ct{constructor(l,a,g){super(l,a),this.error=g}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Hn extends Ct{constructor(l,a,g,D){super(l,a),this.urlAfterRedirects=g,this.state=D}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $n extends Ct{constructor(l,a,g,D){super(l,a),this.urlAfterRedirects=g,this.state=D}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class At extends Ct{constructor(l,a,g,D,b){super(l,a),this.urlAfterRedirects=g,this.state=D,this.shouldActivate=b}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Lt extends Ct{constructor(l,a,g,D){super(l,a),this.urlAfterRedirects=g,this.state=D}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gn extends Ct{constructor(l,a,g,D){super(l,a),this.urlAfterRedirects=g,this.state=D}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qe{constructor(l){this.route=l}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class se{constructor(l){this.route=l}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class k{constructor(l){this.snapshot=l}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class L{constructor(l){this.snapshot=l}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class F{constructor(l){this.snapshot=l}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class j{constructor(l){this.snapshot=l}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class N{constructor(l,a,g){this.routerEvent=l,this.position=a,this.anchor=g}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const B="primary";class xe{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const a=this.params[l];return Array.isArray(a)?a[0]:a}return null}getAll(l){if(this.has(l)){const a=this.params[l];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function me(c){return new xe(c)}const Ue="ngNavigationCancelingError";function Vt(c){const l=Error("NavigationCancelingError: "+c);return l[Ue]=!0,l}function Rt(c,l,a){const g=a.path.split("/");if(g.length>c.length||"full"===a.pathMatch&&(l.hasChildren()||g.lengthg[b]===D)}return c===l}function er(c){return Array.prototype.concat.apply([],c)}function wt(c){return c.length>0?c[c.length-1]:null}function Et(c,l){for(const a in c)c.hasOwnProperty(a)&&l(c[a],a)}function zt(c){return(0,d.CqO)(c)?c:(0,d.QGY)(c)?(0,O.D)(Promise.resolve(c)):(0,U.of)(c)}const Wn={exact:function tr(c,l,a){if(!It(c.segments,l.segments)||!I(c.segments,l.segments,a)||c.numberOfChildren!==l.numberOfChildren)return!1;for(const g in l.children)if(!c.children[g]||!tr(c.children[g],l.children[g],a))return!1;return!0},subset:z},on={exact:function gr(c,l){return Ge(c,l)},subset:function ii(c,l){return Object.keys(l).length<=Object.keys(c).length&&Object.keys(l).every(a=>pt(c[a],l[a]))},ignored:()=>!0};function wn(c,l,a){return Wn[a.paths](c.root,l.root,a.matrixParams)&&on[a.queryParams](c.queryParams,l.queryParams)&&!("exact"===a.fragment&&c.fragment!==l.fragment)}function z(c,l,a){return V(c,l,l.segments,a)}function V(c,l,a,g){if(c.segments.length>a.length){const D=c.segments.slice(0,a.length);return!(!It(D,a)||l.hasChildren()||!I(D,a,g))}if(c.segments.length===a.length){if(!It(c.segments,a)||!I(c.segments,a,g))return!1;for(const D in l.children)if(!c.children[D]||!z(c.children[D],l.children[D],g))return!1;return!0}{const D=a.slice(0,c.segments.length),b=a.slice(c.segments.length);return!!(It(c.segments,D)&&I(c.segments,D,g)&&c.children[B])&&V(c.children[B],l,b,g)}}function I(c,l,a){return l.every((g,D)=>on[a](c[D].parameters,g.parameters))}class ${constructor(l,a,g){this.root=l,this.queryParams=a,this.fragment=g}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=me(this.queryParams)),this._queryParamMap}toString(){return tn.serialize(this)}}class W{constructor(l,a){this.segments=l,this.children=a,this.parent=null,Et(a,(g,D)=>g.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ln(this)}}class ze{constructor(l,a){this.path=l,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=me(this.parameters)),this._parameterMap}toString(){return Ie(this)}}function It(c,l){return c.length===l.length&&c.every((a,g)=>a.path===l[g].path)}class ln{}class yn{parse(l){const a=new nr(l);return new $(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(l){const a=`/${Yn(l.root,!0)}`,g=function bt(c){const l=Object.keys(c).map(a=>{const g=c[a];return Array.isArray(g)?g.map(D=>`${bn(a)}=${bn(D)}`).join("&"):`${bn(a)}=${bn(g)}`}).filter(a=>!!a);return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${a}${g}${"string"==typeof l.fragment?`#${function In(c){return encodeURI(c)}(l.fragment)}`:""}`}}const tn=new yn;function Ln(c){return c.segments.map(l=>Ie(l)).join("/")}function Yn(c,l){if(!c.hasChildren())return Ln(c);if(l){const a=c.children[B]?Yn(c.children[B],!1):"",g=[];return Et(c.children,(D,b)=>{b!==B&&g.push(`${b}:${Yn(D,!1)}`)}),g.length>0?`${a}(${g.join("//")})`:a}{const a=function mt(c,l){let a=[];return Et(c.children,(g,D)=>{D===B&&(a=a.concat(l(g,D)))}),Et(c.children,(g,D)=>{D!==B&&(a=a.concat(l(g,D)))}),a}(c,(g,D)=>D===B?[Yn(c.children[B],!1)]:[`${D}:${Yn(g,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[B]?`${Ln(c)}/${a[0]}`:`${Ln(c)}/(${a.join("//")})`}}function Kn(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function bn(c){return Kn(c).replace(/%3B/gi,";")}function Pt(c){return Kn(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qn(c){return decodeURIComponent(c)}function un(c){return qn(c.replace(/\+/g,"%20"))}function Ie(c){return`${Pt(c.path)}${function st(c){return Object.keys(c).map(l=>`;${Pt(l)}=${Pt(c[l])}`).join("")}(c.parameters)}`}const nn=/^[^\/()?;=#]+/;function cn(c){const l=c.match(nn);return l?l[0]:""}const Wt=/^[^=?&#]+/,kt=/^[^&#]+/;class nr{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new W([],{}):new W([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let g={};return this.peekStartsWith("(")&&(g=this.parseParens(!1)),(l.length>0||Object.keys(a).length>0)&&(g[B]=new W(l,a)),g}parseSegment(){const l=cn(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(l),new ze(qn(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const a=cn(this.remaining);if(!a)return;this.capture(a);let g="";if(this.consumeOptional("=")){const D=cn(this.remaining);D&&(g=D,this.capture(g))}l[qn(a)]=qn(g)}parseQueryParam(l){const a=function Tn(c){const l=c.match(Wt);return l?l[0]:""}(this.remaining);if(!a)return;this.capture(a);let g="";if(this.consumeOptional("=")){const T=function lr(c){const l=c.match(kt);return l?l[0]:""}(this.remaining);T&&(g=T,this.capture(g))}const D=un(a),b=un(g);if(l.hasOwnProperty(D)){let T=l[D];Array.isArray(T)||(T=[T],l[D]=T),T.push(b)}else l[D]=b}parseParens(l){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const g=cn(this.remaining),D=this.remaining[g.length];if("/"!==D&&")"!==D&&";"!==D)throw new Error(`Cannot parse url '${this.url}'`);let b;g.indexOf(":")>-1?(b=g.substr(0,g.indexOf(":")),this.capture(b),this.capture(":")):l&&(b=B);const T=this.parseChildren();a[b]=1===Object.keys(T).length?T[B]:new W([],T),this.consumeOptional("//")}return a}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new Error(`Expected "${l}".`)}}class et{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const a=this.pathFromRoot(l);return a.length>1?a[a.length-2]:null}children(l){const a=Vn(l,this._root);return a?a.children.map(g=>g.value):[]}firstChild(l){const a=Vn(l,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(l){const a=kn(l,this._root);return a.length<2?[]:a[a.length-2].children.map(D=>D.value).filter(D=>D!==l)}pathFromRoot(l){return kn(l,this._root).map(a=>a.value)}}function Vn(c,l){if(c===l.value)return l;for(const a of l.children){const g=Vn(c,a);if(g)return g}return null}function kn(c,l){if(c===l.value)return[l];for(const a of l.children){const g=kn(c,a);if(g.length)return g.unshift(l),g}return[]}class rn{constructor(l,a){this.value=l,this.children=a}toString(){return`TreeNode(${this.value})`}}function vn(c){const l={};return c&&c.children.forEach(a=>l[a.value.outlet]=a),l}class Jt extends et{constructor(l,a){super(l),this.snapshot=a,dn(this,l)}toString(){return this.snapshot.toString()}}function Dn(c,l){const a=function Mn(c,l){const T=new Or([],{},{},"",{},B,l,null,c.root,-1,{});return new On("",new rn(T,[]))}(c,l),g=new J.X([new ze("",{})]),D=new J.X({}),b=new J.X({}),T=new J.X({}),R=new J.X(""),q=new qt(g,D,T,R,b,B,l,a.root);return q.snapshot=a.root,new Jt(new rn(q,[]),a)}class qt{constructor(l,a,g,D,b,T,R,q){this.url=l,this.params=a,this.queryParams=g,this.fragment=D,this.data=b,this.outlet=T,this.component=R,this._futureSnapshot=q}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((0,Re.U)(l=>me(l)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Re.U)(l=>me(l)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ot(c,l="emptyOnly"){const a=c.pathFromRoot;let g=0;if("always"!==l)for(g=a.length-1;g>=1;){const D=a[g],b=a[g-1];if(D.routeConfig&&""===D.routeConfig.path)g--;else{if(b.component)break;g--}}return function Bo(c){return c.reduce((l,a)=>({params:Object.assign(Object.assign({},l.params),a.params),data:Object.assign(Object.assign({},l.data),a.data),resolve:Object.assign(Object.assign({},l.resolve),a._resolvedData)}),{params:{},data:{},resolve:{}})}(a.slice(g))}class Or{constructor(l,a,g,D,b,T,R,q,Le,ut,He){this.url=l,this.params=a,this.queryParams=g,this.fragment=D,this.data=b,this.outlet=T,this.component=R,this.routeConfig=q,this._urlSegment=Le,this._lastPathIndex=ut,this._resolve=He}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=me(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=me(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(g=>g.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class On extends et{constructor(l,a){super(a),this.url=l,dn(this,a)}toString(){return mr(this._root)}}function dn(c,l){l.value._routerState=c,l.children.forEach(a=>dn(c,a))}function mr(c){const l=c.children.length>0?` { ${c.children.map(mr).join(", ")} } `:"";return`${c.value}${l}`}function yr(c){if(c.snapshot){const l=c.snapshot,a=c._futureSnapshot;c.snapshot=a,Ge(l.queryParams,a.queryParams)||c.queryParams.next(a.queryParams),l.fragment!==a.fragment&&c.fragment.next(a.fragment),Ge(l.params,a.params)||c.params.next(a.params),function Ke(c,l){if(c.length!==l.length)return!1;for(let a=0;aGe(a.parameters,l[g].parameters))}(c.url,l.url);return a&&!(!c.parent!=!l.parent)&&(!c.parent||Qt(c.parent,l.parent))}function vr(c,l,a){if(a&&c.shouldReuseRoute(l.value,a.value.snapshot)){const g=a.value;g._futureSnapshot=l.value;const D=function Gi(c,l,a){return l.children.map(g=>{for(const D of a.children)if(c.shouldReuseRoute(g.value,D.value.snapshot))return vr(c,g,D);return vr(c,g)})}(c,l,a);return new rn(g,D)}{if(c.shouldAttach(l.value)){const b=c.retrieve(l.value);if(null!==b){const T=b.route;return T.value._futureSnapshot=l.value,T.children=l.children.map(R=>vr(c,R)),T}}const g=function oi(c){return new qt(new J.X(c.url),new J.X(c.params),new J.X(c.queryParams),new J.X(c.fragment),new J.X(c.data),c.outlet,c.component,c)}(l.value),D=l.children.map(b=>vr(c,b));return new rn(g,D)}}function si(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function Dr(c){return"object"==typeof c&&null!=c&&c.outlets}function ai(c,l,a,g,D){let b={};if(g&&Et(g,(R,q)=>{b[q]=Array.isArray(R)?R.map(Le=>`${Le}`):`${R}`}),c===l)return new $(a,b,D);const T=li(c,l,a);return new $(T,b,D)}function li(c,l,a){const g={};return Et(c.children,(D,b)=>{g[b]=D===l?a:li(D,l,a)}),new W(c.segments,g)}class Ii{constructor(l,a,g){if(this.isAbsolute=l,this.numberOfDoubleDots=a,this.commands=g,l&&g.length>0&&si(g[0]))throw new Error("Root segment cannot have matrix parameters");const D=g.find(Dr);if(D&&D!==wt(g))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class xr{constructor(l,a,g){this.segmentGroup=l,this.processChildren=a,this.index=g}}function Yr(c,l,a){if(c||(c=new W([],{})),0===c.segments.length&&c.hasChildren())return Rr(c,l,a);const g=function Kr(c,l,a){let g=0,D=l;const b={match:!1,pathIndex:0,commandIndex:0};for(;D=a.length)return b;const T=c.segments[D],R=a[g];if(Dr(R))break;const q=`${R}`,Le=g0&&void 0===q)break;if(q&&Le&&"object"==typeof Le&&void 0===Le.outlets){if(!qr(q,Le,T))return b;g+=2}else{if(!qr(q,{},T))return b;g++}D++}return{match:!0,pathIndex:D,commandIndex:g}}(c,l,a),D=a.slice(g.commandIndex);if(g.match&&g.pathIndex{"string"==typeof b&&(b=[b]),null!==b&&(D[T]=Yr(c.children[T],l,b))}),Et(c.children,(b,T)=>{void 0===g[T]&&(D[T]=b)}),new W(c.segments,D)}}function ui(c,l,a){const g=c.segments.slice(0,l);let D=0;for(;D{"string"==typeof a&&(a=[a]),null!==a&&(l[g]=ui(new W([],{}),0,a))}),l}function _r(c){const l={};return Et(c,(a,g)=>l[g]=`${a}`),l}function qr(c,l,a){return c==a.path&&Ge(l,a.parameters)}class Yi{constructor(l,a,g,D){this.routeReuseStrategy=l,this.futureState=a,this.currState=g,this.forwardEvent=D}activate(l){const a=this.futureState._root,g=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,g,l),yr(this.futureState.root),this.activateChildRoutes(a,g,l)}deactivateChildRoutes(l,a,g){const D=vn(a);l.children.forEach(b=>{const T=b.value.outlet;this.deactivateRoutes(b,D[T],g),delete D[T]}),Et(D,(b,T)=>{this.deactivateRouteAndItsChildren(b,g)})}deactivateRoutes(l,a,g){const D=l.value,b=a?a.value:null;if(D===b)if(D.component){const T=g.getContext(D.outlet);T&&this.deactivateChildRoutes(l,a,T.children)}else this.deactivateChildRoutes(l,a,g);else b&&this.deactivateRouteAndItsChildren(a,g)}deactivateRouteAndItsChildren(l,a){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,a):this.deactivateRouteAndOutlet(l,a)}detachAndStoreRouteSubtree(l,a){const g=a.getContext(l.value.outlet),D=g&&l.value.component?g.children:a,b=vn(l);for(const T of Object.keys(b))this.deactivateRouteAndItsChildren(b[T],D);if(g&&g.outlet){const T=g.outlet.detach(),R=g.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:T,route:l,contexts:R})}}deactivateRouteAndOutlet(l,a){const g=a.getContext(l.value.outlet),D=g&&l.value.component?g.children:a,b=vn(l);for(const T of Object.keys(b))this.deactivateRouteAndItsChildren(b[T],D);g&&g.outlet&&(g.outlet.deactivate(),g.children.onOutletDeactivated(),g.attachRef=null,g.resolver=null,g.route=null)}activateChildRoutes(l,a,g){const D=vn(a);l.children.forEach(b=>{this.activateRoutes(b,D[b.value.outlet],g),this.forwardEvent(new j(b.value.snapshot))}),l.children.length&&this.forwardEvent(new L(l.value.snapshot))}activateRoutes(l,a,g){const D=l.value,b=a?a.value:null;if(yr(D),D===b)if(D.component){const T=g.getOrCreateContext(D.outlet);this.activateChildRoutes(l,a,T.children)}else this.activateChildRoutes(l,a,g);else if(D.component){const T=g.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const R=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),T.children.onOutletReAttached(R.contexts),T.attachRef=R.componentRef,T.route=R.route.value,T.outlet&&T.outlet.attach(R.componentRef,R.route.value),yr(R.route.value),this.activateChildRoutes(l,null,T.children)}else{const R=function rr(c){for(let l=c.parent;l;l=l.parent){const a=l.routeConfig;if(a&&a._loadedConfig)return a._loadedConfig;if(a&&a.component)return null}return null}(D.snapshot),q=R?R.module.componentFactoryResolver:null;T.attachRef=null,T.route=D,T.resolver=q,T.outlet&&T.outlet.activateWith(D,q),this.activateChildRoutes(l,null,T.children)}}else this.activateChildRoutes(l,null,g)}}class Qr{constructor(l,a){this.routes=l,this.module=a}}function fn(c){return"function"==typeof c}function ir(c){return c instanceof $}const ur=Symbol("INITIAL_VALUE");function Cr(){return(0,rt.w)(c=>function Me(...c){const l=(0,de.yG)(c),a=(0,de.jO)(c),{args:g,keys:D}=(0,fe.D)(c);if(0===g.length)return(0,O.D)([],l);const b=new K.y(function he(c,l,a=re.y){return g=>{Fe(l,()=>{const{length:D}=c,b=new Array(D);let T=D,R=D;for(let q=0;q{const Le=(0,O.D)(c[q],l);let ut=!1;Le.subscribe((0,G.x)(g,He=>{b[q]=He,ut||(ut=!0,R--),R||g.next(a(b.slice()))},()=>{--T||g.complete()}))},g)},g)}}(g,l,D?T=>(0,ne.n)(D,T):re.y));return a?b.pipe((0,ge.Z)(a)):b}(c.map(l=>l.pipe((0,Oe.q)(1),function X(...c){const l=(0,de.yG)(c);return(0,Ce.e)((a,g)=>{(l?De(c,a,l):De(c,a)).subscribe(g)})}(ur)))).pipe(ie((l,a)=>{let g=!1;return a.reduce((D,b,T)=>D!==ur?D:(b===ur&&(g=!0),g||!1!==b&&T!==a.length-1&&!ir(b)?D:b),l)},ur),(0,ae.h)(l=>l!==ur),(0,Re.U)(l=>ir(l)?l:!0===l),(0,Oe.q)(1)))}class Cn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Jn,this.attachRef=null}}class Jn{constructor(){this.contexts=new Map}onChildOutletCreated(l,a){const g=this.getOrCreateContext(l);g.outlet=a,this.contexts.set(l,g)}onChildOutletDestroyed(l){const a=this.getContext(l);a&&(a.outlet=null,a.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let a=this.getContext(l);return a||(a=new Cn,this.contexts.set(l,a)),a}getContext(l){return this.contexts.get(l)||null}}let xn=(()=>{class c{constructor(a,g,D,b,T){this.parentContexts=a,this.location=g,this.resolver=D,this.changeDetector=T,this.activated=null,this._activatedRoute=null,this.activateEvents=new d.vpe,this.deactivateEvents=new d.vpe,this.attachEvents=new d.vpe,this.detachEvents=new d.vpe,this.name=b||B,a.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const a=this.parentContexts.getContext(this.name);a&&a.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.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 a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,g){this.activated=a,this._activatedRoute=g,this.location.insert(a.hostView),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,g){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=a;const T=(g=g||this.resolver).resolveComponentFactory(a._futureSnapshot.routeConfig.component),R=this.parentContexts.getOrCreateContext(this.name).children,q=new Zr(a,R,this.location.injector);this.activated=this.location.createComponent(T,this.location.length,q),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return c.\u0275fac=function(a){return new(a||c)(d.Y36(Jn),d.Y36(d.s_b),d.Y36(d._Vd),d.$8M("name"),d.Y36(d.sBO))},c.\u0275dir=d.lG2({type:c,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),c})();class Zr{constructor(l,a,g){this.route=l,this.childContexts=a,this.parent=g}get(l,a){return l===qt?this.route:l===Jn?this.childContexts:this.parent.get(l,a)}}let hi=(()=>{class c{}return c.\u0275fac=function(a){return new(a||c)},c.\u0275cmp=d.Xpm({type:c,selectors:[["ng-component"]],decls:1,vars:0,template:function(a,g){1&a&&d._UZ(0,"router-outlet")},directives:[xn],encapsulation:2}),c})();function pi(c,l=""){for(let a=0;aM(g)===l);return a.push(...c.filter(g=>M(g)!==l)),a}const Q={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function pe(c,l,a){var g;if(""===l.path)return"full"===l.pathMatch&&(c.hasChildren()||a.length>0)?Object.assign({},Q):{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const b=(l.matcher||Rt)(a,c,l);if(!b)return Object.assign({},Q);const T={};Et(b.posParams,(q,Le)=>{T[Le]=q.path});const R=b.consumed.length>0?Object.assign(Object.assign({},T),b.consumed[b.consumed.length-1].parameters):T;return{matched:!0,consumedSegments:b.consumed,remainingSegments:a.slice(b.consumed.length),parameters:R,positionalParamSegments:null!==(g=b.posParams)&&void 0!==g?g:{}}}function we(c,l,a,g,D="corrected"){if(a.length>0&&function Mt(c,l,a){return a.some(g=>$t(c,l,g)&&M(g)!==B)}(c,a,g)){const T=new W(l,function jt(c,l,a,g){const D={};D[B]=g,g._sourceSegment=c,g._segmentIndexShift=l.length;for(const b of a)if(""===b.path&&M(b)!==B){const T=new W([],{});T._sourceSegment=c,T._segmentIndexShift=l.length,D[M(b)]=T}return D}(c,l,g,new W(a,c.children)));return T._sourceSegment=c,T._segmentIndexShift=l.length,{segmentGroup:T,slicedSegments:[]}}if(0===a.length&&function tt(c,l,a){return a.some(g=>$t(c,l,g))}(c,a,g)){const T=new W(c.segments,function Ft(c,l,a,g,D,b){const T={};for(const R of g)if($t(c,a,R)&&!D[M(R)]){const q=new W([],{});q._sourceSegment=c,q._segmentIndexShift="legacy"===b?c.segments.length:l.length,T[M(R)]=q}return Object.assign(Object.assign({},D),T)}(c,l,a,g,c.children,D));return T._sourceSegment=c,T._segmentIndexShift=l.length,{segmentGroup:T,slicedSegments:a}}const b=new W(c.segments,c.children);return b._sourceSegment=c,b._segmentIndexShift=l.length,{segmentGroup:b,slicedSegments:a}}function $t(c,l,a){return(!(c.hasChildren()||l.length>0)||"full"!==a.pathMatch)&&""===a.path}function Nt(c,l,a,g){return!!(M(c)===g||g!==B&&$t(l,a,c))&&("**"===c.path||pe(l,c,a).matched)}function Gt(c,l,a){return 0===l.length&&!c.children[a]}class Yt{constructor(l){this.segmentGroup=l||null}}class Rn{constructor(l){this.urlTree=l}}function Pn(c){return ue(new Yt(c))}function Qn(c){return ue(new Rn(c))}class m{constructor(l,a,g,D,b){this.configLoader=a,this.urlSerializer=g,this.urlTree=D,this.config=b,this.allowRedirects=!0,this.ngModule=l.get(d.h0i)}apply(){const l=we(this.urlTree.root,[],[],this.config).segmentGroup,a=new W(l.segments,l.children);return this.expandSegmentGroup(this.ngModule,this.config,a,B).pipe((0,Re.U)(b=>this.createUrlTree(h(b),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ve.K)(b=>{if(b instanceof Rn)return this.allowRedirects=!1,this.match(b.urlTree);throw b instanceof Yt?this.noMatchError(b):b}))}match(l){return this.expandSegmentGroup(this.ngModule,this.config,l.root,B).pipe((0,Re.U)(D=>this.createUrlTree(h(D),l.queryParams,l.fragment))).pipe((0,ve.K)(D=>{throw D instanceof Yt?this.noMatchError(D):D}))}noMatchError(l){return new Error(`Cannot match any routes. URL Segment: '${l.segmentGroup}'`)}createUrlTree(l,a,g){const D=l.segments.length>0?new W([],{[B]:l}):l;return new $(D,a,g)}expandSegmentGroup(l,a,g,D){return 0===g.segments.length&&g.hasChildren()?this.expandChildren(l,a,g).pipe((0,Re.U)(b=>new W([],b))):this.expandSegment(l,g,a,g.segments,D,!0)}expandChildren(l,a,g){const D=[];for(const b of Object.keys(g.children))"primary"===b?D.unshift(b):D.push(b);return(0,O.D)(D).pipe((0,ye.b)(b=>{const T=g.children[b],R=x(a,b);return this.expandSegmentGroup(l,R,T,b).pipe((0,Re.U)(q=>({segment:q,outlet:b})))}),ie((b,T)=>(b[T.outlet]=T.segment,b),{}),function Ee(c,l){const a=arguments.length>=2;return g=>g.pipe(c?(0,ae.h)((D,b)=>c(D,b,g)):re.y,Ye(1),a?(0,dt.d)(l):(0,ft.T)(()=>new nt.K))}())}expandSegment(l,a,g,D,b,T){return(0,O.D)(g).pipe((0,ye.b)(R=>this.expandSegmentAgainstRoute(l,a,g,R,D,b,T).pipe((0,ve.K)(Le=>{if(Le instanceof Yt)return(0,U.of)(null);throw Le}))),(0,ht.P)(R=>!!R),(0,ve.K)((R,q)=>{if(R instanceof nt.K||"EmptyError"===R.name)return Gt(a,D,b)?(0,U.of)(new W([],{})):Pn(a);throw R}))}expandSegmentAgainstRoute(l,a,g,D,b,T,R){return Nt(D,a,b,T)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(l,a,D,b,T):R&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(l,a,g,D,b,T):Pn(a):Pn(a)}expandSegmentAgainstRouteUsingRedirect(l,a,g,D,b,T){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(l,g,D,T):this.expandRegularSegmentAgainstRouteUsingRedirect(l,a,g,D,b,T)}expandWildCardWithParamsAgainstRouteUsingRedirect(l,a,g,D){const b=this.applyRedirectCommands([],g.redirectTo,{});return g.redirectTo.startsWith("/")?Qn(b):this.lineralizeSegments(g,b).pipe((0,Je.z)(T=>{const R=new W(T,{});return this.expandSegment(l,R,a,T,D,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(l,a,g,D,b,T){const{matched:R,consumedSegments:q,remainingSegments:Le,positionalParamSegments:ut}=pe(a,D,b);if(!R)return Pn(a);const He=this.applyRedirectCommands(q,D.redirectTo,ut);return D.redirectTo.startsWith("/")?Qn(He):this.lineralizeSegments(D,He).pipe((0,Je.z)(St=>this.expandSegment(l,a,g,St.concat(Le),T,!1)))}matchSegmentAgainstRoute(l,a,g,D,b){if("**"===g.path)return g.loadChildren?(g._loadedConfig?(0,U.of)(g._loadedConfig):this.configLoader.load(l.injector,g)).pipe((0,Re.U)(He=>(g._loadedConfig=He,new W(D,{})))):(0,U.of)(new W(D,{}));const{matched:T,consumedSegments:R,remainingSegments:q}=pe(a,g,D);return T?this.getChildConfig(l,g,D).pipe((0,Je.z)(ut=>{const He=ut.module,St=ut.routes,{segmentGroup:_t,slicedSegments:fr}=we(a,R,q,St),Lr=new W(_t.segments,_t.children);if(0===fr.length&&Lr.hasChildren())return this.expandChildren(He,St,Lr).pipe((0,Re.U)(Ko=>new W(R,Ko)));if(0===St.length&&0===fr.length)return(0,U.of)(new W(R,{}));const so=M(g)===b;return this.expandSegment(He,Lr,St,fr,so?B:b,!0).pipe((0,Re.U)(wi=>new W(R.concat(wi.segments),wi.children)))})):Pn(a)}getChildConfig(l,a,g){return a.children?(0,U.of)(new Qr(a.children,l)):a.loadChildren?void 0!==a._loadedConfig?(0,U.of)(a._loadedConfig):this.runCanLoadGuards(l.injector,a,g).pipe((0,Je.z)(D=>D?this.configLoader.load(l.injector,a).pipe((0,Re.U)(b=>(a._loadedConfig=b,b))):function Fr(c){return ue(Vt(`Cannot load children because the guard of the route "path: '${c.path}'" returned false`))}(a))):(0,U.of)(new Qr([],l))}runCanLoadGuards(l,a,g){const D=a.canLoad;if(!D||0===D.length)return(0,U.of)(!0);const b=D.map(T=>{const R=l.get(T);let q;if(function di(c){return c&&fn(c.canLoad)}(R))q=R.canLoad(a,g);else{if(!fn(R))throw new Error("Invalid CanLoad guard");q=R(a,g)}return zt(q)});return(0,U.of)(b).pipe(Cr(),(0,it.b)(T=>{if(!ir(T))return;const R=Vt(`Redirecting to "${this.urlSerializer.serialize(T)}"`);throw R.url=T,R}),(0,Re.U)(T=>!0===T))}lineralizeSegments(l,a){let g=[],D=a.root;for(;;){if(g=g.concat(D.segments),0===D.numberOfChildren)return(0,U.of)(g);if(D.numberOfChildren>1||!D.children[B])return ue(new Error(`Only absolute redirects can have named outlets. redirectTo: '${l.redirectTo}'`));D=D.children[B]}}applyRedirectCommands(l,a,g){return this.applyRedirectCreatreUrlTree(a,this.urlSerializer.parse(a),l,g)}applyRedirectCreatreUrlTree(l,a,g,D){const b=this.createSegmentGroup(l,a.root,g,D);return new $(b,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(l,a){const g={};return Et(l,(D,b)=>{if("string"==typeof D&&D.startsWith(":")){const R=D.substring(1);g[b]=a[R]}else g[b]=D}),g}createSegmentGroup(l,a,g,D){const b=this.createSegments(l,a.segments,g,D);let T={};return Et(a.children,(R,q)=>{T[q]=this.createSegmentGroup(l,R,g,D)}),new W(b,T)}createSegments(l,a,g,D){return a.map(b=>b.path.startsWith(":")?this.findPosParam(l,b,D):this.findOrReturn(b,g))}findPosParam(l,a,g){const D=g[a.path.substring(1)];if(!D)throw new Error(`Cannot redirect to '${l}'. Cannot find '${a.path}'.`);return D}findOrReturn(l,a){let g=0;for(const D of a){if(D.path===l.path)return a.splice(g),D;g++}return l}}function h(c){const l={};for(const g of Object.keys(c.children)){const b=h(c.children[g]);(b.segments.length>0||b.hasChildren())&&(l[g]=b)}return function p(c){if(1===c.numberOfChildren&&c.children[B]){const l=c.children[B];return new W(c.segments.concat(l.segments),l.children)}return c}(new W(c.segments,l))}class Z{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class Ne{constructor(l,a){this.component=l,this.route=a}}function xt(c,l,a){const g=c._root;return at(g,l?l._root:null,a,[g.value])}function Zn(c,l,a){const g=function le(c){if(!c)return null;for(let l=c.parent;l;l=l.parent){const a=l.routeConfig;if(a&&a._loadedConfig)return a._loadedConfig}return null}(l);return(g?g.module.injector:a).get(c)}function at(c,l,a,g,D={canDeactivateChecks:[],canActivateChecks:[]}){const b=vn(l);return c.children.forEach(T=>{(function gi(c,l,a,g,D={canDeactivateChecks:[],canActivateChecks:[]}){const b=c.value,T=l?l.value:null,R=a?a.getContext(c.value.outlet):null;if(T&&b.routeConfig===T.routeConfig){const q=function Zt(c,l,a){if("function"==typeof a)return a(c,l);switch(a){case"pathParamsChange":return!It(c.url,l.url);case"pathParamsOrQueryParamsChange":return!It(c.url,l.url)||!Ge(c.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Qt(c,l)||!Ge(c.queryParams,l.queryParams);default:return!Qt(c,l)}}(T,b,b.routeConfig.runGuardsAndResolvers);q?D.canActivateChecks.push(new Z(g)):(b.data=T.data,b._resolvedData=T._resolvedData),at(c,l,b.component?R?R.children:null:a,g,D),q&&R&&R.outlet&&R.outlet.isActivated&&D.canDeactivateChecks.push(new Ne(R.outlet.component,T))}else T&&mi(l,R,D),D.canActivateChecks.push(new Z(g)),at(c,null,b.component?R?R.children:null:a,g,D)})(T,b[T.value.outlet],a,g.concat([T.value]),D),delete b[T.value.outlet]}),Et(b,(T,R)=>mi(T,a.getContext(R),D)),D}function mi(c,l,a){const g=vn(c),D=c.value;Et(g,(b,T)=>{mi(b,D.component?l?l.children.getContext(T):null:l,a)}),a.canDeactivateChecks.push(new Ne(D.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,D))}class Sn{}function dr(c){return new K.y(l=>l.error(c))}class yi{constructor(l,a,g,D,b,T){this.rootComponentType=l,this.config=a,this.urlTree=g,this.url=D,this.paramsInheritanceStrategy=b,this.relativeLinkResolution=T}recognize(){const l=we(this.urlTree.root,[],[],this.config.filter(T=>void 0===T.redirectTo),this.relativeLinkResolution).segmentGroup,a=this.processSegmentGroup(this.config,l,B);if(null===a)return null;const g=new Or([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},B,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new rn(g,a),b=new On(this.url,D);return this.inheritParamsAndData(b._root),b}inheritParamsAndData(l){const a=l.value,g=Ot(a,this.paramsInheritanceStrategy);a.params=Object.freeze(g.params),a.data=Object.freeze(g.data),l.children.forEach(D=>this.inheritParamsAndData(D))}processSegmentGroup(l,a,g){return 0===a.segments.length&&a.hasChildren()?this.processChildren(l,a):this.processSegment(l,a,a.segments,g)}processChildren(l,a){const g=[];for(const b of Object.keys(a.children)){const T=a.children[b],R=x(l,b),q=this.processSegmentGroup(R,T,b);if(null===q)return null;g.push(...q)}const D=Ts(g);return function Er(c){c.sort((l,a)=>l.value.outlet===B?-1:a.value.outlet===B?1:l.value.outlet.localeCompare(a.value.outlet))}(D),D}processSegment(l,a,g,D){for(const b of l){const T=this.processSegmentAgainstRoute(b,a,g,D);if(null!==T)return T}return Gt(a,g,D)?[]:null}processSegmentAgainstRoute(l,a,g,D){if(l.redirectTo||!Nt(l,a,g,D))return null;let b,T=[],R=[];if("**"===l.path){const _t=g.length>0?wt(g).parameters:{};b=new Or(g,_t,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ho(l),M(l),l.component,l,Ji(a),Qi(a)+g.length,Zi(l))}else{const _t=pe(a,l,g);if(!_t.matched)return null;T=_t.consumedSegments,R=_t.remainingSegments,b=new Or(T,_t.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ho(l),M(l),l.component,l,Ji(a),Qi(a)+T.length,Zi(l))}const q=function Ta(c){return c.children?c.children:c.loadChildren?c._loadedConfig.routes:[]}(l),{segmentGroup:Le,slicedSegments:ut}=we(a,T,R,q.filter(_t=>void 0===_t.redirectTo),this.relativeLinkResolution);if(0===ut.length&&Le.hasChildren()){const _t=this.processChildren(q,Le);return null===_t?null:[new rn(b,_t)]}if(0===q.length&&0===ut.length)return[new rn(b,[])];const He=M(l)===D,St=this.processSegment(q,Le,ut,He?B:D);return null===St?null:[new rn(b,St)]}}function Is(c){const l=c.value.routeConfig;return l&&""===l.path&&void 0===l.redirectTo}function Ts(c){const l=[],a=new Set;for(const g of c){if(!Is(g)){l.push(g);continue}const D=l.find(b=>g.value.routeConfig===b.value.routeConfig);void 0!==D?(D.children.push(...g.children),a.add(D)):l.push(g)}for(const g of a){const D=Ts(g.children);l.push(new rn(g.value,D))}return l.filter(g=>!a.has(g))}function Ji(c){let l=c;for(;l._sourceSegment;)l=l._sourceSegment;return l}function Qi(c){let l=c,a=l._segmentIndexShift?l._segmentIndexShift:0;for(;l._sourceSegment;)l=l._sourceSegment,a+=l._segmentIndexShift?l._segmentIndexShift:0;return a-1}function Ho(c){return c.data||{}}function Zi(c){return c.resolve||{}}function $o(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}function eo(c){return(0,rt.w)(l=>{const a=c(l);return a?(0,O.D)(a).pipe((0,Re.U)(()=>l)):(0,U.of)(l)})}class Ra extends class xa{shouldDetach(l){return!1}store(l,a){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,a){return l.routeConfig===a.routeConfig}}{}const hn=new d.OlP("ROUTES");class wr{constructor(l,a,g,D){this.injector=l,this.compiler=a,this.onLoadStartListener=g,this.onLoadEndListener=D}load(l,a){if(a._loader$)return a._loader$;this.onLoadStartListener&&this.onLoadStartListener(a);const D=this.loadModuleFactory(a.loadChildren).pipe((0,Re.U)(b=>{this.onLoadEndListener&&this.onLoadEndListener(a);const T=b.create(l);return new Qr(er(T.injector.get(hn,void 0,d.XFs.Self|d.XFs.Optional)).map(v),T)}),(0,ve.K)(b=>{throw a._loader$=void 0,b}));return a._loader$=new Pe(D,()=>new Ze.x).pipe(We()),a._loader$}loadModuleFactory(l){return zt(l()).pipe((0,Je.z)(a=>a instanceof d.YKP?(0,U.of)(a):(0,O.D)(this.compiler.compileModuleAsync(a))))}}class Ps{shouldProcessUrl(l){return!0}extract(l){return l}merge(l,a){return l}}function Pa(c){throw c}function Fs(c,l,a){return l.parse("/")}function Ns(c,l){return(0,U.of)(null)}const Fa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Na={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let pn=(()=>{class c{constructor(a,g,D,b,T,R,q){this.rootComponentType=a,this.urlSerializer=g,this.rootContexts=D,this.location=b,this.config=q,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ze.x,this.errorHandler=Pa,this.malformedUriErrorHandler=Fs,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ns,afterPreactivation:Ns},this.urlHandlingStrategy=new Ps,this.routeReuseStrategy=new Ra,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=T.get(d.h0i),this.console=T.get(d.c2e);const He=T.get(d.R0b);this.isNgZoneEnabled=He instanceof d.R0b&&d.R0b.isInAngularZone(),this.resetConfig(q),this.currentUrlTree=function zn(){return new $(new W([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new wr(T,R,St=>this.triggerEvent(new qe(St)),St=>this.triggerEvent(new se(St))),this.routerState=Dn(this.currentUrlTree,this.rootComponentType),this.transitions=new J.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var a;return null===(a=this.location.getState())||void 0===a?void 0:a.\u0275routerPageId}setupNavigations(a){const g=this.events;return a.pipe((0,ae.h)(D=>0!==D.id),(0,Re.U)(D=>Object.assign(Object.assign({},D),{extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)})),(0,rt.w)(D=>{let b=!1,T=!1;return(0,U.of)(D).pipe((0,it.b)(R=>{this.currentNavigation={id:R.id,initialUrl:R.currentRawUrl,extractedUrl:R.extractedUrl,trigger:R.source,extras:R.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,rt.w)(R=>{const q=this.browserUrlTree.toString(),Le=!this.navigated||R.extractedUrl.toString()!==q||q!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Le)&&this.urlHandlingStrategy.shouldProcessUrl(R.rawUrl))return Pi(R.source)&&(this.browserUrlTree=R.extractedUrl),(0,U.of)(R).pipe((0,rt.w)(He=>{const St=this.transitions.getValue();return g.next(new Ut(He.id,this.serializeUrl(He.extractedUrl),He.source,He.restoredState)),St!==this.transitions.getValue()?je.E:Promise.resolve(He)}),function w(c,l,a,g){return(0,rt.w)(D=>function Xr(c,l,a,g,D){return new m(c,l,a,g,D).apply()}(c,l,a,D.extractedUrl,g).pipe((0,Re.U)(b=>Object.assign(Object.assign({},D),{urlAfterRedirects:b}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,it.b)(He=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:He.urlAfterRedirects})}),function Oa(c,l,a,g,D){return(0,Je.z)(b=>function As(c,l,a,g,D="emptyOnly",b="legacy"){try{const T=new yi(c,l,a,g,D,b).recognize();return null===T?dr(new Sn):(0,U.of)(T)}catch(T){return dr(T)}}(c,l,b.urlAfterRedirects,a(b.urlAfterRedirects),g,D).pipe((0,Re.U)(T=>Object.assign(Object.assign({},b),{targetSnapshot:T}))))}(this.rootComponentType,this.config,He=>this.serializeUrl(He),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,it.b)(He=>{if("eager"===this.urlUpdateStrategy){if(!He.extras.skipLocationChange){const _t=this.urlHandlingStrategy.merge(He.urlAfterRedirects,He.rawUrl);this.setBrowserUrl(_t,He)}this.browserUrlTree=He.urlAfterRedirects}const St=new Hn(He.id,this.serializeUrl(He.extractedUrl),this.serializeUrl(He.urlAfterRedirects),He.targetSnapshot);g.next(St)}));if(Le&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:St,extractedUrl:_t,source:fr,restoredState:Lr,extras:so}=R,ti=new Ut(St,this.serializeUrl(_t),fr,Lr);g.next(ti);const wi=Dn(_t,this.rootComponentType).snapshot;return(0,U.of)(Object.assign(Object.assign({},R),{targetSnapshot:wi,urlAfterRedirects:_t,extras:Object.assign(Object.assign({},so),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=R.rawUrl,R.resolve(null),je.E}),eo(R=>{const{targetSnapshot:q,id:Le,extractedUrl:ut,rawUrl:He,extras:{skipLocationChange:St,replaceUrl:_t}}=R;return this.hooks.beforePreactivation(q,{navigationId:Le,appliedUrlTree:ut,rawUrlTree:He,skipLocationChange:!!St,replaceUrl:!!_t})}),(0,it.b)(R=>{const q=new $n(R.id,this.serializeUrl(R.extractedUrl),this.serializeUrl(R.urlAfterRedirects),R.targetSnapshot);this.triggerEvent(q)}),(0,Re.U)(R=>Object.assign(Object.assign({},R),{guards:xt(R.targetSnapshot,R.currentSnapshot,this.rootContexts)})),function Ri(c,l){return(0,Je.z)(a=>{const{targetSnapshot:g,currentSnapshot:D,guards:{canActivateChecks:b,canDeactivateChecks:T}}=a;return 0===T.length&&0===b.length?(0,U.of)(Object.assign(Object.assign({},a),{guardsResult:!0})):function cr(c,l,a,g){return(0,O.D)(c).pipe((0,Je.z)(D=>function qi(c,l,a,g,D){const b=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!b||0===b.length)return(0,U.of)(!0);const T=b.map(R=>{const q=Zn(R,l,D);let Le;if(function fi(c){return c&&fn(c.canDeactivate)}(q))Le=zt(q.canDeactivate(c,l,a,g));else{if(!fn(q))throw new Error("Invalid CanDeactivate guard");Le=zt(q(c,l,a,g))}return Le.pipe((0,ht.P)())});return(0,U.of)(T).pipe(Cr())}(D.component,D.route,a,l,g)),(0,ht.P)(D=>!0!==D,!0))}(T,g,D,c).pipe((0,Je.z)(R=>R&&function ci(c){return"boolean"==typeof c}(R)?function jo(c,l,a,g){return(0,O.D)(l).pipe((0,ye.b)(D=>De(function ic(c,l){return null!==c&&l&&l(new k(c)),(0,U.of)(!0)}(D.route.parent,g),function Uo(c,l){return null!==c&&l&&l(new F(c)),(0,U.of)(!0)}(D.route,g),function oc(c,l,a){const g=l[l.length-1],b=l.slice(0,l.length-1).reverse().map(T=>function En(c){const l=c.routeConfig?c.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:c,guards:l}:null}(T)).filter(T=>null!==T).map(T=>Se(()=>{const R=T.guards.map(q=>{const Le=Zn(q,T.node,a);let ut;if(function Ki(c){return c&&fn(c.canActivateChild)}(Le))ut=zt(Le.canActivateChild(g,c));else{if(!fn(Le))throw new Error("Invalid CanActivateChild guard");ut=zt(Le(g,c))}return ut.pipe((0,ht.P)())});return(0,U.of)(R).pipe(Cr())}));return(0,U.of)(b).pipe(Cr())}(c,D.path,a),function Ia(c,l,a){const g=l.routeConfig?l.routeConfig.canActivate:null;if(!g||0===g.length)return(0,U.of)(!0);const D=g.map(b=>Se(()=>{const T=Zn(b,l,a);let R;if(function xi(c){return c&&fn(c.canActivate)}(T))R=zt(T.canActivate(l,c));else{if(!fn(T))throw new Error("Invalid CanActivate guard");R=zt(T(l,c))}return R.pipe((0,ht.P)())}));return(0,U.of)(D).pipe(Cr())}(c,D.route,a))),(0,ht.P)(D=>!0!==D,!0))}(g,b,c,l):(0,U.of)(R)),(0,Re.U)(R=>Object.assign(Object.assign({},a),{guardsResult:R})))})}(this.ngModule.injector,R=>this.triggerEvent(R)),(0,it.b)(R=>{if(ir(R.guardsResult)){const Le=Vt(`Redirecting to "${this.serializeUrl(R.guardsResult)}"`);throw Le.url=R.guardsResult,Le}const q=new At(R.id,this.serializeUrl(R.extractedUrl),this.serializeUrl(R.urlAfterRedirects),R.targetSnapshot,!!R.guardsResult);this.triggerEvent(q)}),(0,ae.h)(R=>!!R.guardsResult||(this.restoreHistory(R),this.cancelNavigationTransition(R,""),!1)),eo(R=>{if(R.guards.canActivateChecks.length)return(0,U.of)(R).pipe((0,it.b)(q=>{const Le=new Lt(q.id,this.serializeUrl(q.extractedUrl),this.serializeUrl(q.urlAfterRedirects),q.targetSnapshot);this.triggerEvent(Le)}),(0,rt.w)(q=>{let Le=!1;return(0,U.of)(q).pipe(function Os(c,l){return(0,Je.z)(a=>{const{targetSnapshot:g,guards:{canActivateChecks:D}}=a;if(!D.length)return(0,U.of)(a);let b=0;return(0,O.D)(D).pipe((0,ye.b)(T=>function Xi(c,l,a,g){return function xs(c,l,a,g){const D=$o(c);if(0===D.length)return(0,U.of)({});const b={};return(0,O.D)(D).pipe((0,Je.z)(T=>function Rs(c,l,a,g){const D=Zn(c,l,g);return zt(D.resolve?D.resolve(l,a):D(l,a))}(c[T],l,a,g).pipe((0,it.b)(R=>{b[T]=R}))),Ye(1),(0,Je.z)(()=>$o(b).length===D.length?(0,U.of)(b):je.E))}(c._resolve,c,l,g).pipe((0,Re.U)(b=>(c._resolvedData=b,c.data=Object.assign(Object.assign({},c.data),Ot(c,a).resolve),null)))}(T.route,g,c,l)),(0,it.b)(()=>b++),Ye(1),(0,Je.z)(T=>b===D.length?(0,U.of)(a):je.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,it.b)({next:()=>Le=!0,complete:()=>{Le||(this.restoreHistory(q),this.cancelNavigationTransition(q,"At least one route resolver didn't emit any value."))}}))}),(0,it.b)(q=>{const Le=new Gn(q.id,this.serializeUrl(q.extractedUrl),this.serializeUrl(q.urlAfterRedirects),q.targetSnapshot);this.triggerEvent(Le)}))}),eo(R=>{const{targetSnapshot:q,id:Le,extractedUrl:ut,rawUrl:He,extras:{skipLocationChange:St,replaceUrl:_t}}=R;return this.hooks.afterPreactivation(q,{navigationId:Le,appliedUrlTree:ut,rawUrlTree:He,skipLocationChange:!!St,replaceUrl:!!_t})}),(0,Re.U)(R=>{const q=function _n(c,l,a){const g=vr(c,l._root,a?a._root:void 0);return new Jt(g,l)}(this.routeReuseStrategy,R.targetSnapshot,R.currentRouterState);return Object.assign(Object.assign({},R),{targetRouterState:q})}),(0,it.b)(R=>{this.currentUrlTree=R.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(R.urlAfterRedirects,R.rawUrl),this.routerState=R.targetRouterState,"deferred"===this.urlUpdateStrategy&&(R.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,R),this.browserUrlTree=R.urlAfterRedirects)}),((c,l,a)=>(0,Re.U)(g=>(new Yi(l,g.targetRouterState,g.currentRouterState,a).activate(c),g)))(this.rootContexts,this.routeReuseStrategy,R=>this.triggerEvent(R)),(0,it.b)({next(){b=!0},complete(){b=!0}}),function gt(c){return(0,Ce.e)((l,a)=>{try{l.subscribe(a)}finally{a.add(c)}})}(()=>{var R;b||T||this.cancelNavigationTransition(D,`Navigation ID ${D.id} is not equal to the current navigation id ${this.navigationId}`),(null===(R=this.currentNavigation)||void 0===R?void 0:R.id)===D.id&&(this.currentNavigation=null)}),(0,ve.K)(R=>{if(T=!0,function yt(c){return c&&c[Ue]}(R)){const q=ir(R.url);q||(this.navigated=!0,this.restoreHistory(D,!0));const Le=new an(D.id,this.serializeUrl(D.extractedUrl),R.message);g.next(Le),q?setTimeout(()=>{const ut=this.urlHandlingStrategy.merge(R.url,this.rawUrlTree),He={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Pi(D.source)};this.scheduleNavigation(ut,"imperative",null,He,{resolve:D.resolve,reject:D.reject,promise:D.promise})},0):D.resolve(!1)}else{this.restoreHistory(D,!0);const q=new Xn(D.id,this.serializeUrl(D.extractedUrl),R);g.next(q);try{D.resolve(this.errorHandler(R))}catch(Le){D.reject(Le)}}return je.E}))}))}resetRootComponentType(a){this.rootComponentType=a,this.routerState.root.component=this.rootComponentType}setTransition(a){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),a))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const g="popstate"===a.type?"popstate":"hashchange";"popstate"===g&&setTimeout(()=>{var D;const b={replaceUrl:!0},T=(null===(D=a.state)||void 0===D?void 0:D.navigationId)?a.state:null;if(T){const q=Object.assign({},T);delete q.navigationId,delete q.\u0275routerPageId,0!==Object.keys(q).length&&(b.state=q)}const R=this.parseUrl(a.url);this.scheduleNavigation(R,g,T,b)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(a){this.events.next(a)}resetConfig(a){pi(a),this.config=a.map(v),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(a,g={}){const{relativeTo:D,queryParams:b,fragment:T,queryParamsHandling:R,preserveFragment:q}=g,Le=D||this.routerState.root,ut=q?this.currentUrlTree.fragment:T;let He=null;switch(R){case"merge":He=Object.assign(Object.assign({},this.currentUrlTree.queryParams),b);break;case"preserve":He=this.currentUrlTree.queryParams;break;default:He=b||null}return null!==He&&(He=this.removeEmptyProps(He)),function Ai(c,l,a,g,D){if(0===a.length)return ai(l.root,l.root,l.root,g,D);const b=function Ti(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new Ii(!0,0,c);let l=0,a=!1;const g=c.reduce((D,b,T)=>{if("object"==typeof b&&null!=b){if(b.outlets){const R={};return Et(b.outlets,(q,Le)=>{R[Le]="string"==typeof q?q.split("/"):q}),[...D,{outlets:R}]}if(b.segmentPath)return[...D,b.segmentPath]}return"string"!=typeof b?[...D,b]:0===T?(b.split("/").forEach((R,q)=>{0==q&&"."===R||(0==q&&""===R?a=!0:".."===R?l++:""!=R&&D.push(R))}),D):[...D,b]},[]);return new Ii(a,l,g)}(a);if(b.toRoot())return ai(l.root,l.root,new W([],{}),g,D);const T=function zi(c,l,a){if(c.isAbsolute)return new xr(l.root,!0,0);if(-1===a.snapshot._lastPathIndex){const b=a.snapshot._urlSegment;return new xr(b,b===l.root,0)}const g=si(c.commands[0])?0:1;return function Oi(c,l,a){let g=c,D=l,b=a;for(;b>D;){if(b-=D,g=g.parent,!g)throw new Error("Invalid number of '../'");D=g.segments.length}return new xr(g,!1,D-b)}(a.snapshot._urlSegment,a.snapshot._lastPathIndex+g,c.numberOfDoubleDots)}(b,l,c),R=T.processChildren?Rr(T.segmentGroup,T.index,b.commands):Yr(T.segmentGroup,T.index,b.commands);return ai(l.root,T.segmentGroup,R,g,D)}(Le,this.currentUrlTree,a,He,null!=ut?ut:null)}navigateByUrl(a,g={skipLocationChange:!1}){const D=ir(a)?a:this.parseUrl(a),b=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(b,"imperative",null,g)}navigate(a,g={skipLocationChange:!1}){return function no(c){for(let l=0;l{const b=a[D];return null!=b&&(g[D]=b),g},{})}processNavigations(){this.navigations.subscribe(a=>{this.navigated=!0,this.lastSuccessfulId=a.id,this.currentPageId=a.targetPageId,this.events.next(new Ht(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,a.resolve(!0)},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)})}scheduleNavigation(a,g,D,b,T){var R,q;if(this.disposed)return Promise.resolve(!1);let Le,ut,He;T?(Le=T.resolve,ut=T.reject,He=T.promise):He=new Promise((fr,Lr)=>{Le=fr,ut=Lr});const St=++this.navigationId;let _t;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(D=this.location.getState()),_t=D&&D.\u0275routerPageId?D.\u0275routerPageId:b.replaceUrl||b.skipLocationChange?null!==(R=this.browserPageId)&&void 0!==R?R:0:(null!==(q=this.browserPageId)&&void 0!==q?q:0)+1):_t=0,this.setTransition({id:St,targetPageId:_t,source:g,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:a,extras:b,resolve:Le,reject:ut,promise:He,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),He.catch(fr=>Promise.reject(fr))}setBrowserUrl(a,g){const D=this.urlSerializer.serialize(a),b=Object.assign(Object.assign({},g.extras.state),this.generateNgRouterState(g.id,g.targetPageId));this.location.isCurrentPathEqualTo(D)||g.extras.replaceUrl?this.location.replaceState(D,"",b):this.location.go(D,"",b)}restoreHistory(a,g=!1){var D,b;if("computed"===this.canceledNavigationResolution){const T=this.currentPageId-a.targetPageId;"popstate"!==a.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(D=this.currentNavigation)||void 0===D?void 0:D.finalUrl)||0===T?this.currentUrlTree===(null===(b=this.currentNavigation)||void 0===b?void 0:b.finalUrl)&&0===T&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(T)}else"replace"===this.canceledNavigationResolution&&(g&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(a,g){const D=new an(a.id,this.serializeUrl(a.extractedUrl),g);this.triggerEvent(D),a.resolve(!1)}generateNgRouterState(a,g){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:g}:{navigationId:a}}}return c.\u0275fac=function(a){d.$Z()},c.\u0275prov=d.Yz7({token:c,factory:c.\u0275fac}),c})();function Pi(c){return"imperative"!==c}let Ni=(()=>{class c{constructor(a,g,D){this.router=a,this.route=g,this.locationStrategy=D,this.commands=null,this.href=null,this.onChanges=new Ze.x,this.subscription=a.events.subscribe(b=>{b instanceof Ht&&this.updateTargetUrlAndHref()})}set routerLink(a){this.commands=null!=a?Array.isArray(a)?a:[a]:null}ngOnChanges(a){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(a,g,D,b,T){if(0!==a||g||D||b||T||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const R={skipLocationChange:vi(this.skipLocationChange),replaceUrl:vi(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,R),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:vi(this.preserveFragment)})}}return c.\u0275fac=function(a){return new(a||c)(d.Y36(pn),d.Y36(qt),d.Y36(Tt.S$))},c.\u0275dir=d.lG2({type:c,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(a,g){1&a&&d.NdJ("click",function(b){return g.onClick(b.button,b.ctrlKey,b.shiftKey,b.altKey,b.metaKey)}),2&a&&d.uIk("target",g.target)("href",g.href,d.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[d.TTD]}),c})();function vi(c){return""===c||!!c}class Ls{}class Di{preload(l,a){return(0,U.of)(null)}}let ro=(()=>{class c{constructor(a,g,D,b){this.router=a,this.injector=D,this.preloadingStrategy=b,this.loader=new wr(D,g,q=>a.triggerEvent(new qe(q)),q=>a.triggerEvent(new se(q)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,ae.h)(a=>a instanceof Ht),(0,ye.b)(()=>this.preload())).subscribe(()=>{})}preload(){const a=this.injector.get(d.h0i);return this.processRoutes(a,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,g){const D=[];for(const b of g)if(b.loadChildren&&!b.canLoad&&b._loadedConfig){const T=b._loadedConfig;D.push(this.processRoutes(T.module,T.routes))}else b.loadChildren&&!b.canLoad?D.push(this.preloadConfig(a,b)):b.children&&D.push(this.processRoutes(a,b.children));return(0,O.D)(D).pipe((0,ot.J)(),(0,Re.U)(b=>{}))}preloadConfig(a,g){return this.preloadingStrategy.preload(g,()=>(g._loadedConfig?(0,U.of)(g._loadedConfig):this.loader.load(a.injector,g)).pipe((0,Je.z)(b=>(g._loadedConfig=b,this.processRoutes(b.module,b.routes)))))}}return c.\u0275fac=function(a){return new(a||c)(d.LFG(pn),d.LFG(d.Sil),d.LFG(d.zs3),d.LFG(Ls))},c.\u0275prov=d.Yz7({token:c,factory:c.\u0275fac}),c})(),Go=(()=>{class c{constructor(a,g,D={}){this.router=a,this.viewportScroller=g,this.options=D,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},D.scrollPositionRestoration=D.scrollPositionRestoration||"disabled",D.anchorScrolling=D.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(a=>{a instanceof Ut?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Ht&&(this.lastId=a.id,this.scheduleScrollEvent(a,this.router.parseUrl(a.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(a=>{a instanceof N&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,g){this.router.triggerEvent(new N(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,g))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return c.\u0275fac=function(a){d.$Z()},c.\u0275prov=d.Yz7({token:c,factory:c.\u0275fac}),c})();const _i=new d.OlP("ROUTER_CONFIGURATION"),Va=new d.OlP("ROUTER_FORROOT_GUARD"),io=[Tt.Ye,{provide:ln,useClass:yn},{provide:pn,useFactory:function ka(c,l,a,g,D,b,T={},R,q){const Le=new pn(null,c,l,a,g,D,er(b));return R&&(Le.urlHandlingStrategy=R),q&&(Le.routeReuseStrategy=q),function Ci(c,l){c.errorHandler&&(l.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(l.malformedUriErrorHandler=c.malformedUriErrorHandler),c.onSameUrlNavigation&&(l.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.relativeLinkResolution&&(l.relativeLinkResolution=c.relativeLinkResolution),c.urlUpdateStrategy&&(l.urlUpdateStrategy=c.urlUpdateStrategy),c.canceledNavigationResolution&&(l.canceledNavigationResolution=c.canceledNavigationResolution)}(T,Le),T.enableTracing&&Le.events.subscribe(ut=>{var He,St;null===(He=console.group)||void 0===He||He.call(console,`Router Event: ${ut.constructor.name}`),console.log(ut.toString()),console.log(ut),null===(St=console.groupEnd)||void 0===St||St.call(console)}),Le},deps:[ln,Jn,Tt.Ye,d.zs3,d.Sil,hn,_i,[class Kt{},new d.FiY],[class to{},new d.FiY]]},Jn,{provide:qt,useFactory:function Wo(c){return c.routerState.root},deps:[pn]},ro,Di,class La{preload(l,a){return a().pipe((0,ve.K)(()=>(0,U.of)(null)))}},{provide:_i,useValue:{enableTracing:!1}}];function Vs(){return new d.PXZ("Router",pn)}let zo=(()=>{class c{constructor(a,g){}static forRoot(a,g){return{ngModule:c,providers:[io,ei(a),{provide:Va,useFactory:Bs,deps:[[pn,new d.FiY,new d.tp0]]},{provide:_i,useValue:g||{}},{provide:Tt.S$,useFactory:ks,deps:[Tt.lw,[new d.tBr(Tt.mr),new d.FiY],_i]},{provide:Go,useFactory:oo,deps:[pn,Tt.EM,_i]},{provide:Ls,useExisting:g&&g.preloadingStrategy?g.preloadingStrategy:Di},{provide:d.PXZ,multi:!0,useFactory:Vs},[Ei,{provide:d.ip1,multi:!0,useFactory:lc,deps:[Ei]},{provide:Yo,useFactory:js,deps:[Ei]},{provide:d.tb,multi:!0,useExisting:Yo}]]}}static forChild(a){return{ngModule:c,providers:[ei(a)]}}}return c.\u0275fac=function(a){return new(a||c)(d.LFG(Va,8),d.LFG(pn,8))},c.\u0275mod=d.oAB({type:c}),c.\u0275inj=d.cJS({}),c})();function oo(c,l,a){return a.scrollOffset&&l.setOffset(a.scrollOffset),new Go(c,l,a)}function ks(c,l,a={}){return a.useHash?new Tt.Do(c,l):new Tt.b0(c,l)}function Bs(c){return"guarded"}function ei(c){return[{provide:d.deG,multi:!0,useValue:c},{provide:hn,multi:!0,useValue:c}]}let Ei=(()=>{class c{constructor(a){this.injector=a,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ze.x}appInitializer(){return this.injector.get(Tt.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let g=null;const D=new Promise(R=>g=R),b=this.injector.get(pn),T=this.injector.get(_i);return"disabled"===T.initialNavigation?(b.setUpLocationChangeListener(),g(!0)):"enabled"===T.initialNavigation||"enabledBlocking"===T.initialNavigation?(b.hooks.afterPreactivation=()=>this.initNavigation?(0,U.of)(null):(this.initNavigation=!0,g(!0),this.resultOfPreactivationDone),b.initialNavigation()):g(!0),D})}bootstrapListener(a){const g=this.injector.get(_i),D=this.injector.get(ro),b=this.injector.get(Go),T=this.injector.get(pn),R=this.injector.get(d.z2F);a===R.components[0]&&(("enabledNonBlocking"===g.initialNavigation||void 0===g.initialNavigation)&&T.initialNavigation(),D.setUpPreloading(),b.init(),T.resetRootComponentType(R.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return c.\u0275fac=function(a){return new(a||c)(d.LFG(d.zs3))},c.\u0275prov=d.Yz7({token:c,factory:c.\u0275fac}),c})();function lc(c){return c.appInitializer.bind(c)}function js(c){return c.bootstrapListener.bind(c)}const Yo=new d.OlP("Router Initializer")},7582:($e,oe,S)=>{function be(X,ee,ie,ae){return new(ie||(ie=Promise))(function(ye,Ye){function ft(ht){try{Ee(ae.next(ht))}catch(Je){Ye(Je)}}function dt(ht){try{Ee(ae.throw(ht))}catch(Je){Ye(Je)}}function Ee(ht){ht.done?ye(ht.value):function ve(ye){return ye instanceof ie?ye:new ie(function(Ye){Ye(ye)})}(ht.value).then(ft,dt)}Ee((ae=ae.apply(X,ee||[])).next())})}function De(X){return this instanceof De?(this.v=X,this):new De(X)}function Y(X,ee,ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ve,ae=ie.apply(X,ee||[]),ye=[];return ve={},Ye("next"),Ye("throw"),Ye("return"),ve[Symbol.asyncIterator]=function(){return this},ve;function Ye(it){ae[it]&&(ve[it]=function(gt){return new Promise(function(Tt,Ct){ye.push([it,gt,Tt,Ct])>1||ft(it,gt)})})}function ft(it,gt){try{!function dt(it){it.value instanceof De?Promise.resolve(it.value.v).then(Ee,ht):Je(ye[0][2],it)}(ae[it](gt))}catch(Tt){Je(ye[0][3],Tt)}}function Ee(it){ft("next",it)}function ht(it){ft("throw",it)}function Je(it,gt){it(gt),ye.shift(),ye.length&&ft(ye[0][0],ye[0][1])}}function je(X){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ie,ee=X[Symbol.asyncIterator];return ee?ee.call(X):(X=function Ve(X){var ee="function"==typeof Symbol&&Symbol.iterator,ie=ee&&X[ee],ae=0;if(ie)return ie.call(X);if(X&&"number"==typeof X.length)return{next:function(){return X&&ae>=X.length&&(X=void 0),{value:X&&X[ae++],done:!X}}};throw new TypeError(ee?"Object is not iterable.":"Symbol.iterator is not defined.")}(X),ie={},ae("next"),ae("throw"),ae("return"),ie[Symbol.asyncIterator]=function(){return this},ie);function ae(ye){ie[ye]=X[ye]&&function(Ye){return new Promise(function(ft,dt){!function ve(ye,Ye,ft,dt){Promise.resolve(dt).then(function(Ee){ye({value:Ee,done:ft})},Ye)}(ft,dt,(Ye=X[ye](Ye)).done,Ye.value)})}}}S.d(oe,{FC:()=>Y,KL:()=>je,mG:()=>be,qq:()=>De})}},$e=>{$e($e.s=6922)}]);