From 4f5d060776ffeffd8a651ee82c390bb76d7e37b9 Mon Sep 17 00:00:00 2001 From: Alexis Leroy Date: Sat, 27 Jan 2024 19:01:02 +0100 Subject: [PATCH] Auto-generated commit [ci skip] --- 404.html | 2 +- index.html | 2 +- main.599fa18bc2cd5c75.js | 1 + main.7d59622cf6d5786b.js | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 main.599fa18bc2cd5c75.js delete mode 100644 main.7d59622cf6d5786b.js diff --git a/404.html b/404.html index 6984ac4..126447d 100644 --- a/404.html +++ b/404.html @@ -10,6 +10,6 @@ - + \ No newline at end of file diff --git a/index.html b/index.html index 6984ac4..126447d 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,6 @@ - + \ No newline at end of file diff --git a/main.599fa18bc2cd5c75.js b/main.599fa18bc2cd5c75.js new file mode 100644 index 0000000..3bd6e5c --- /dev/null +++ b/main.599fa18bc2cd5c75.js @@ -0,0 +1 @@ +(self.webpackChunkvgmq=self.webpackChunkvgmq||[]).push([[179],{4857:(_t,De,f)=>{"use strict";f.d(De,{C:()=>G});var o=f(2843),a=f(2340),E=f(262),W=f(4650),Q=f(529);let G=(()=>{class re{constructor(Z){this.http=Z,this.apiEndpoint=a.N.apiEndpoint}register(Z,ee){return this.http.post(`${this.apiEndpoint}/auth/register`,{...Z,recaptcha:ee},{withCredentials:!0})}confirm(Z){return this.http.get(`${this.apiEndpoint}/auth/confirmation/${Z}`)}login(Z,ee){return this.http.post(`${this.apiEndpoint}/auth/login`,{...Z,recaptcha:ee}).pipe((0,E.K)(he=>(0,o._)(he.error)))}requestResetPassword(Z,ee){return this.http.post(`${this.apiEndpoint}/auth/reset-password/request`,{...Z,recaptcha:ee}).pipe((0,E.K)(he=>(0,o._)(he.error)))}resetPassword(Z,ee,he){return this.http.post(`${this.apiEndpoint}/auth/reset-password/${ee}`,{...Z,recaptcha:he}).pipe((0,E.K)(te=>(0,o._)(te.error)))}logout(){return this.http.get(`${this.apiEndpoint}/auth/logout`)}limitedAccessAllowed(){return this.http.get(`${this.apiEndpoint}/limited-access/allowed`)}limitedAccessPassword(Z,ee){return this.http.post(`${this.apiEndpoint}/limited-access/password`,{password:Z,recaptcha:ee}).pipe((0,E.K)(he=>(0,o._)(he.error)))}refreshToken(Z){return this.http.post(`${a.N.apiEndpoint}/auth/refresh`,{refreshToken:Z})}}return re.\u0275fac=function(Z){return new(Z||re)(W.LFG(Q.eN))},re.\u0275prov=W.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})()},8720:(_t,De,f)=>{"use strict";f.d(De,{Y:()=>G});var o=f(2843),a=f(2340),E=f(262),W=f(4650),Q=f(529);let G=(()=>{class re{constructor(Z){this.http=Z,this.apiEndpoint=a.N.apiEndpoint}list(Z=""){return this.http.get(`${this.apiEndpoint}/lobbies`,{params:{query:Z}})}info(){return this.http.get(`${this.apiEndpoint}/lobbies/info`)}create(Z){return this.http.post(`${this.apiEndpoint}/lobbies/create`,Z).pipe((0,E.K)(ee=>(0,o._)(ee.error)))}update(Z,ee){return this.http.put(`${this.apiEndpoint}/lobbies/${Z}`,ee).pipe((0,E.K)(he=>(0,o._)(he.error)))}join(Z,ee){const he=`${this.apiEndpoint}/lobbies/${Z}/join`;let te=this.http.get(he);if(ee){const ke=new FormData;ke.append("password",ee),te=this.http.post(he,ke)}return te}leave(){return this.http.get(`${this.apiEndpoint}/lobbies/leave`)}play(Z){return this.http.get(`${this.apiEndpoint}/lobbies/${Z}/play`)}answer(Z,ee){const he=new FormData;return he.append("answer",ee),this.http.post(`${this.apiEndpoint}/lobbies/${Z}/answer`,he).pipe((0,E.K)(te=>(0,o._)(te.error)))}}return re.\u0275fac=function(Z){return new(Z||re)(W.LFG(Q.eN))},re.\u0275prov=W.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})()},263:(_t,De,f)=>{"use strict";f.d(De,{e:()=>he});var o=f(491),E=f(2340),W=f(2843),Q=f(8505),G=f(4650),re=f(5657),K=f(4857),Z=f(9116),ee=f(1405);let he=(()=>{class te{constructor(xe,Se,Re,Me){this.cookieService=xe,this.authHttpService=Se,this.router=Re,this.userStore=Me}get isLoggedIn(){return this.cookieService.check("vgmq-ut-hp")}logout(){this.cookieService.delete("vgmq-ut-hp","/",E.N.cookieDomain),this.cookieService.delete("vgmq-ut-s","/",E.N.cookieDomain),this.cookieService.delete("vgmq-urt","/",E.N.cookieDomain),this.userStore.setUserLoggedIn(!1),this.router.navigate(["/"])}decodeJwt(){return o(this.getAccessToken())}get isAdmin(){var xe;return null===(xe=this.decodeJwt().roles)||void 0===xe?void 0:xe.includes("admin")}getAccessToken(){return`${this.cookieService.get("vgmq-ut-hp")}.${this.cookieService.get("vgmq-ut-s")}`}setAccessTokenCookie(xe){const Se=xe.split(".");this.cookieService.set("vgmq-ut-hp",`${Se[0]}.${Se[1]}`,void 0,"/"),this.cookieService.set("vgmq-ut-s",Se[2],void 0,"/"),this.userStore.setUserLoggedIn(!0)}setRefreshTokenCookie(xe){this.cookieService.set("vgmq-urt",xe,void 0,"/")}refreshToken(){const xe=this.cookieService.get("vgmq-urt");return null===xe?(this.logout(),(0,W._)(()=>new Error("no refresh token"))):this.authHttpService.refreshToken(xe).pipe((0,Q.b)(Se=>{this.setAccessTokenCookie(Se.accessToken)}))}}return te.\u0275fac=function(xe){return new(xe||te)(G.LFG(re.N),G.LFG(K.C),G.LFG(Z.F0),G.LFG(ee.U))},te.\u0275prov=G.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})()},6217:(_t,De,f)=>{"use strict";f.d(De,{V:()=>Q});var o=f(5594),a=f(4650),E=f(529),W=f(9998);let Q=(()=>{class G{constructor(K,Z){this.http=K,this.socket=Z}isPLaying(K){return[o.D.AnswerReveal,o.D.Playing,o.D.PlayingMusic,o.D.Buffering,o.D.Loading].includes(K.status)}join(K,Z=null){this.socket.emit("join",{code:K,password:Z})}}return G.\u0275fac=function(K){return new(K||G)(a.LFG(E.eN),a.LFG(W.i))},G.\u0275prov=a.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})()},1985:(_t,De,f)=>{"use strict";f.d(De,{Q:()=>Q});var o=f(5085),a=f(2340),E=f(4650),W=f(263);let Q=(()=>{class G extends o.s{constructor(K){super({url:`${a.N.lobbyFileSocketUrl}/file`,options:{transports:["websocket"],forceNew:!0}}),this.authService=K,this.ioSocket.auth={token:this.authService.getAccessToken()}}emit(K,...Z){return this.ioSocket.auth={token:this.authService.getAccessToken()},super.emit(K,...Z)}}return G.\u0275fac=function(K){return new(K||G)(E.LFG(W.e))},G.\u0275prov=E.Yz7({token:G,factory:G.\u0275fac}),G})()},9998:(_t,De,f)=>{"use strict";f.d(De,{i:()=>Q});var o=f(5085),a=f(2340),E=f(4650),W=f(263);let Q=(()=>{class G extends o.s{constructor(K){super({url:a.N.lobbySocketUrl,options:{transports:["websocket"]}}),this.authService=K,this.ioSocket.auth={token:this.authService.getAccessToken()}}emit(K,...Z){return this.ioSocket.auth={token:this.authService.getAccessToken()},this.lastTriedOutputEventName=K,this.lastTriedOutputArgs=Z,super.emit(K,...Z)}emitWithoutSaving(K,...Z){return this.ioSocket.auth={token:this.authService.getAccessToken()},super.emit(K,...Z)}}return G.\u0275fac=function(K){return new(K||G)(E.LFG(W.e))},G.\u0275prov=E.Yz7({token:G,factory:G.\u0275fac}),G})()},1405:(_t,De,f)=>{"use strict";f.d(De,{U:()=>W});var o=f(1135),a=f(4650),E=f(5657);let W=(()=>{class Q{constructor(re){this.cookieService=re,this.userLoggedInSubject=new o.X(this.cookieService.check("vgmq-ut-hp")),this.userLoggedIn=this.userLoggedInSubject.asObservable()}isUserLoggedIn(){return this.userLoggedInSubject.getValue()}setUserLoggedIn(re){this.userLoggedInSubject.next(re)}}return Q.\u0275fac=function(re){return new(re||Q)(a.LFG(E.N))},Q.\u0275prov=a.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})()},9150:(_t,De,f)=>{"use strict";f.d(De,{q:()=>he});var o=f(5412),a=f(4006),E=f(4650),W=f(6217),Q=f(9998),G=f(263),re=f(6895),K=f(4859);function Z(te,ke){if(1&te&&(E.TgZ(0,"span",7),E._uU(1),E.qZA()),2&te){const xe=ke.ngIf;E.xp6(1),E.Oqu(xe)}}const ee=function(te){return{"is-invalid":te}};let he=(()=>{class te{constructor(xe,Se,Re,Me,rt){this.data=xe,this.lobbyService=Se,this.socket=Re,this.dialogRef=Me,this.authService=rt,this.password=new a.NI("",a.kI.required.bind(this)),this.subscriptions=[]}ngOnInit(){this.socket.connect(),this.subscriptions=[this.socket.fromEvent("connect_error").subscribe(()=>{this.authService.refreshToken().subscribe(()=>{this.socket.connect(),this.socket.emit("fake emit")})}),this.socket.fromEvent("InvalidPasswordException").subscribe(()=>{this.password.setErrors({serverError:"invalid password"})}),this.socket.fromEvent("lobbyJoined").subscribe(xe=>{this.dialogRef.close(xe)})]}ngOnDestroy(){this.subscriptions.forEach(xe=>xe.unsubscribe())}submit(){this.lobbyService.join(this.data,this.password.value),this.socket.fromEvent("InvalidPasswordException").subscribe(()=>{this.errorMessage="Invalid password"})}}return te.\u0275fac=function(xe){return new(xe||te)(E.Y36(o.WI),E.Y36(W.V),E.Y36(Q.i),E.Y36(o.so),E.Y36(G.e))},te.\u0275cmp=E.Xpm({type:te,selectors:[["app-lobby-password-dialog"]],decls:13,vars:5,consts:[[3,"ngSubmit"],["mat-dialog-title",""],["mat-dialog-content",""],["type","password",1,"form-control",3,"ngClass","formControl"],["class","invalid-feedback",4,"ngIf"],["mat-button","","mat-dialog-close",""],["type","submit"],[1,"invalid-feedback"]],template:function(xe,Se){1&xe&&(E.TgZ(0,"form",0),E.NdJ("ngSubmit",function(){return Se.password.invalid||Se.submit()}),E.TgZ(1,"h1",1),E._uU(2,"Password required"),E.qZA(),E.TgZ(3,"div",2)(4,"label"),E._uU(5,"Please enter the lobby password"),E.qZA(),E._UZ(6,"input",3),E.YNc(7,Z,2,1,"span",4),E.qZA(),E.TgZ(8,"mat-dialog-actions")(9,"button",5),E._uU(10,"Cancel"),E.qZA(),E.TgZ(11,"button",6),E._uU(12,"Enter"),E.qZA()()()),2&xe&&(E.xp6(6),E.Q6J("ngClass",E.VKq(3,ee,Se.password.invalid))("formControl",Se.password),E.xp6(1),E.Q6J("ngIf",null==Se.password.errors?null:Se.password.errors.serverError))},dependencies:[re.mk,re.O5,o.ZT,o.uh,o.xY,o.H8,K.lW,a._Y,a.Fj,a.JJ,a.JL,a.F,a.oH],encapsulation:2}),te})()},5594:(_t,De,f)=>{"use strict";f.d(De,{BF:()=>W,D:()=>o,PT:()=>a,in:()=>E});var o=(()=>{return(Q=o||(o={})).Waiting="waiting",Q.Playing="playing",Q.Loading="loading",Q.Buffering="buffering",Q.PlayingMusic="playing_music",Q.AnswerReveal="answer_reveal",Q.FinalStanding="final_standing",o;var Q})(),a=(()=>{return(Q=a||(a={})).Easy="easy",Q.Medium="medium",Q.Hard="hard",a;var Q})(),E=(()=>{return(Q=E||(E={})).Standard="standard",Q.LocalCouch="local_couch",E;var Q})(),W=(()=>{return(Q=W||(W={})).Disabled="disabled",Q.Allowed="allowed",Q.Always="always",W;var Q})()},3822:(_t,De,f)=>{"use strict";f.d(De,{m:()=>Ft});var o=f(6895),a=f(6709),E=f(4650),W=f(3238);let Oe=(()=>{class Ne{}return Ne.\u0275fac=function(mt){return new(mt||Ne)},Ne.\u0275mod=E.oAB({type:Ne}),Ne.\u0275inj=E.cJS({imports:[W.BQ,o.ez,W.BQ]}),Ne})();var Ue=f(455);let We=(()=>{class Ne{}return Ne.\u0275fac=function(mt){return new(mt||Ne)},Ne.\u0275mod=E.oAB({type:Ne}),Ne.\u0275inj=E.cJS({imports:[o.ez,W.BQ]}),Ne})();var ot=f(5412),je=f(4859),ze=f(9549),Qe=f(7957),kt=f(4144);let ye=(()=>{class Ne{}return Ne.\u0275fac=function(mt){return new(mt||Ne)},Ne.\u0275mod=E.oAB({type:Ne}),Ne.\u0275inj=E.cJS({imports:[a.p9,Oe,Ue.rP,We,ot.Is,je.ot,ze.lN,Qe.Bb,kt.c,a.p9,Oe,Ue.rP,We,ot.Is,je.ot,ze.lN,Qe.Bb,kt.c]}),Ne})();var Le=f(4006),bt=f(9116),Ct=f(7392);let Ft=(()=>{class Ne{}return Ne.\u0275fac=function(mt){return new(mt||Ne)},Ne.\u0275mod=E.oAB({type:Ne}),Ne.\u0275inj=E.cJS({imports:[o.ez,ye,Le.u5,Le.UX,bt.Bz,Ct.Ps,o.ez,ye,Le.u5,Le.UX]}),Ne})()},2340:(_t,De,f)=>{"use strict";f.d(De,{N:()=>o});const o={production:!1,apiEndpoint:"https://api.videogamemusicquiz.com",lobbySocketUrl:"https://api.videogamemusicquiz.com",lobbyFileSocketUrl:"https://api.videogamemusicquiz.com",cookieDomain:null,recaptchaKey:"6Lc24fYeAAAAALMn6_cL8_aQhqSArgHTtDyfhcVL"}},1352:(_t,De,f)=>{"use strict";var o=f(1481),a=f(4650),E=f(529),W=f(2843),Q=f(2340),G=f(262),re=f(3900),K=f(263);let Z=(()=>{class x{constructor(l){this.authService=l}intercept(l,_){return _.handle(this.addAuthenticationToken(l)).pipe((0,G.K)(k=>k&&401===k.status?new RegExp(`^${Q.N.apiEndpoint}(?!/auth(?!/logout))`).test(l.url)?this.authService.refreshToken().pipe((0,re.w)(()=>_.handle(this.addAuthenticationToken(l)))):(new RegExp(`^${Q.N.apiEndpoint}/auth/refresh`).test(l.url)&&this.authService.logout(),(0,W._)(k)):(0,W._)(k)))}addAuthenticationToken(l){return new RegExp(`^${Q.N.apiEndpoint}/auth(?!/logout)`).test(l.url)||!new RegExp(`^${Q.N.apiEndpoint}(?!/auth(?!/logout))`).test(l.url)||null===this.authService.getAccessToken()?l:l.clone({withCredentials:!0,...!Q.N.production&&{setHeaders:{Authorization:`Bearer ${this.authService.getAccessToken()}`}}})}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(K.e))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})();var ee=f(9116),he=f(1405),te=f(6895),ke=f(4006),xe=f(8746),Se=f(4857),Re=f(4700);const Me=["recaptcha"];function rt(x,c){if(1&x&&(a.TgZ(0,"div",18),a._uU(1),a.qZA()),2&x){const l=a.oxw();a.xp6(1),a.hij(" ",l.formErrorMessage," ")}}function tt(x,c){if(1&x&&(a.TgZ(0,"div",19),a._uU(1),a.qZA()),2&x){const l=c.ngIf;a.xp6(1),a.hij(" ",l," ")}}function Ge(x,c){if(1&x&&(a.TgZ(0,"div",19),a._uU(1),a.qZA()),2&x){const l=c.ngIf;a.xp6(1),a.hij(" ",l," ")}}function fe(x,c){1&x&&a._UZ(0,"span",20)}const N=function(x){return{"is-invalid":x}};let F=(()=>{class x{constructor(l,_,k,$){this.fb=l,this.router=_,this.authHttpService=k,this.authService=$,this.loading=!1,this.environment=Q.N,this.loginForm=this.fb.group({email:["",ke.kI.required.bind(this)],password:["",ke.kI.required.bind(this)]})}loginUser(l){this.loading=!0,this.authHttpService.login(this.loginForm.value,l).pipe((0,xe.x)(()=>this.loading=!1)).subscribe({next:_=>{null!==_&&(Q.N.production||(this.authService.setAccessTokenCookie(_.accessToken),this.authService.setRefreshTokenCookie(_.refreshToken)));const k=sessionStorage.getItem("pastedUrl"),$=sessionStorage.getItem("pastedUrlQueryParams");k?(sessionStorage.removeItem("pastedUrl"),sessionStorage.removeItem("pastedUrlQueryParams"),this.router.navigate([k],$?{queryParams:JSON.parse($)}:void 0)):this.router.navigate([""])},error:_=>{Array.isArray(_.message)?_.message.map(k=>{if("string"!=typeof k){const $=this.loginForm.get(k.property);$?.markAsTouched(),$?.setErrors({serverError:k.errors})}}):this.formErrorMessage=_.message,this.recaptchaComponent.reset()}})}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(ke.qu),a.Y36(ee.F0),a.Y36(Se.C),a.Y36(K.e))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-login"]],viewQuery:function(l,_){if(1&l&&a.Gf(Me,5),2&l){let k;a.iGM(k=a.CRH())&&(_.recaptchaComponent=k.first)}},decls:32,vars:13,consts:[[1,"row","align-items-center"],[1,"col-md-6"],[1,"form-login",3,"formGroup","ngSubmit"],["class","col-md-12 alert alert-danger","role","alert",4,"ngIf"],[1,"form-group"],["type","email","formControlName","email","placeholder","email","required","",1,"form-control",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],["type","password","formControlName","password","placeholder","Password",1,"form-control",3,"ngClass"],["theme","dark","size","invisible",3,"siteKey","resolved"],["recaptcha",""],["routerLink","/reset-password"],[1,"col-md-12","text-center","mt-3"],["type","submit",1,"btn","btn-primary","col-md-6",3,"disabled"],["class","spinner-border spinner-border-sm","type","button","role","status","aria-hidden","true",4,"ngIf"],[1,"col-md-6","text-center"],[1,"orange"],[1,"col-md-12"],["routerLink","/register",1,"btn","btn-primary","col-md-6"],["role","alert",1,"col-md-12","alert","alert-danger"],[1,"invalid-feedback"],["type","button","role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"]],template:function(l,_){if(1&l){const k=a.EpF();a.TgZ(0,"div",0)(1,"div",1)(2,"form",2),a.NdJ("ngSubmit",function(){a.CHM(k);const _e=a.MAs(15);return a.KtG(_.loading||_e.execute())}),a.YNc(3,rt,2,1,"div",3),a.TgZ(4,"div",4)(5,"label"),a._uU(6,"Email"),a.qZA(),a._UZ(7,"input",5),a.YNc(8,tt,2,1,"div",6),a.qZA(),a.TgZ(9,"div",4)(10,"label"),a._uU(11,"Password"),a.qZA(),a._UZ(12,"input",7),a.YNc(13,Ge,2,1,"div",6),a.qZA(),a.TgZ(14,"re-captcha",8,9),a.NdJ("resolved",function(_e){return _e&&_.loginUser(_e)}),a.qZA(),a.TgZ(16,"a",10),a._uU(17,"I forgot my password"),a.qZA(),a.TgZ(18,"div",11)(19,"button",12),a.YNc(20,fe,1,0,"span",13),a._uU(21," Log in "),a.qZA()()()(),a.TgZ(22,"div",14)(23,"div",4)(24,"label"),a._uU(25,"No "),a.TgZ(26,"span",15),a._uU(27,"account"),a.qZA(),a._uU(28," ?"),a.qZA(),a.TgZ(29,"div",16)(30,"a",17),a._uU(31,"Register now"),a.qZA()()()()()}if(2&l){let k,$,_e,Ce;a.xp6(2),a.Q6J("formGroup",_.loginForm),a.xp6(1),a.Q6J("ngIf",_.formErrorMessage),a.xp6(4),a.Q6J("ngClass",a.VKq(9,N,(null==(k=_.loginForm.get("email"))?null:k.invalid)&&((null==(k=_.loginForm.get("email"))?null:k.dirty)||(null==(k=_.loginForm.get("email"))?null:k.touched)))),a.xp6(1),a.Q6J("ngIf",null==($=_.loginForm.get("email"))||null==$.errors?null:$.errors.serverError),a.xp6(4),a.Q6J("ngClass",a.VKq(11,N,(null==(_e=_.loginForm.get("password"))?null:_e.invalid)&&((null==(_e=_.loginForm.get("password"))?null:_e.dirty)||(null==(_e=_.loginForm.get("password"))?null:_e.touched)))),a.xp6(1),a.Q6J("ngIf",null==(Ce=_.loginForm.get("password"))||null==Ce.errors?null:Ce.errors.serverError),a.xp6(1),a.Q6J("siteKey",_.environment.recaptchaKey),a.xp6(5),a.Q6J("disabled",_.loading),a.xp6(1),a.Q6J("ngIf",_.loading)}},dependencies:[te.mk,te.O5,ke._Y,ke.Fj,ke.JJ,ke.JL,ke.Q7,ke.sg,ke.u,ee.rH,Re.wT],encapsulation:2}),x})();function U(x,c){1&x&&a._UZ(0,"router-outlet")}function ce(x,c){1&x&&a._UZ(0,"app-login")}let Oe=(()=>{class x{constructor(l){this.router=l}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(ee.F0))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-anonymous"]],decls:30,vars:2,consts:[[1,"container","mt-5"],[1,"d-flex","justify-content-center"],[1,"form-container","bg-dark"],[1,"h1","font-weight-normal","text-center"],[1,"h4","font-weight-normal","text-center"],[4,"ngIf"],[1,"d-flex","flex-column","pt-5"],[1,"h5","font-weight-normal","text-center"],[1,"text-center","px-5","pt-2"],["href","https://discord.gg/cxqeYdfz3X","target","_blank"]],template:function(l,_){1&l&&(a.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),a._uU(4,"VGMQ"),a.qZA(),a.TgZ(5,"h4",4),a._uU(6,"Video Game Music Quiz"),a.qZA(),a.YNc(7,U,1,0,"router-outlet",5),a.YNc(8,ce,1,0,"app-login",5),a.qZA()(),a.TgZ(9,"div",6)(10,"h5",7),a._uU(11,"Test your gaming music knowledge with VGMQ!"),a.qZA(),a.TgZ(12,"p",8),a._uU(13," VGMQ is a "),a.TgZ(14,"b"),a._uU(15,"free"),a.qZA(),a._uU(16,", multiplayer game that lets you challenge your friends to a fun and challenging music quiz! "),a._UZ(17,"br"),a._uU(18," The questions are based on your gaming history, so you'll only hear music from games you've played."),a._UZ(19,"br")(20,"br"),a._uU(21," With over 30,000 songs from 1,000 games, there's something for everyone! "),a._UZ(22,"br")(23,"br"),a._uU(24,"VGMQ is still under development, but we're always adding new features and games! "),a._UZ(25,"br"),a._uU(26,"Feel free to join the "),a.TgZ(27,"a",9),a._uU(28,"Discord"),a.qZA(),a._uU(29,"! "),a.qZA()()()),2&l&&(a.xp6(7),a.Q6J("ngIf","/"!==_.router.url),a.xp6(1),a.Q6J("ngIf","/"===_.router.url))},dependencies:[te.O5,ee.lC,F],encapsulation:2}),x})();var Ue=f(8720),at=f(5412),ft=f(5085);let It=(()=>{class x extends ft.s{constructor(l){super({url:`${Q.N.lobbySocketUrl}/list`,options:{transports:["websocket"]}}),this.authService=l,this.ioSocket.auth={token:this.authService.getAccessToken()}}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(K.e))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})();var St=f(9150);function He(x,c){1&x&&a._UZ(0,"i",12)}function Ze(x,c){if(1&x&&(a.ynx(0),a._uU(1),a.BQk()),2&x){const l=a.oxw();a.xp6(1),a.hij(" ",l.lobby.currentLobbyMusicPosition,"/ ")}}const nt=function(x){return{"fa-circle":x}};let ut=(()=>{class x{constructor(l,_){this.router=l,this.dialog=_}joinLobby(){this.lobby.hasPassword?this.dialog.open(St.q,{data:this.lobby.code}).afterClosed().subscribe(_=>{_&&this.router.navigate([`/lobby/${_.code}`])}):this.router.navigate([`/lobby/${this.lobby.code}`])}getDifficultyTitle(){return`Difficulty : ${this.lobby.difficulty.join(", ")}`}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(ee.F0),a.Y36(at.uw))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-home-lobby"]],inputs:{lobby:"lobby"},decls:19,vars:16,consts:[[1,"list-group-item","list-group-item-action","px-3","border-0","d-block","d-md-inline-flex","cursor-pointer",3,"click"],[1,"col-12","col-md-6"],["class","fa fa-lock pe-1",4,"ngIf"],[2,"font-weight","bold"],[1,"col-12","col-md-6","d-flex","justify-content-between"],[1,"fa","fa-users","ps-1"],[4,"ngIf"],[1,"fa","fa-music","ps-1"],[3,"title"],[1,"fa","text-success",2,"min-width","16px",3,"ngClass"],[1,"fa","text-warning",2,"min-width","16px",3,"ngClass"],[1,"fa","text-danger",2,"min-width","16px",3,"ngClass"],[1,"fa","fa-lock","pe-1"]],template:function(l,_){1&l&&(a.TgZ(0,"div",0),a.NdJ("click",function(){return _.joinLobby()}),a.TgZ(1,"div",1),a.YNc(2,He,1,0,"i",2),a.TgZ(3,"span",3),a._uU(4),a.qZA()(),a.TgZ(5,"div",4)(6,"span"),a._uU(7),a._UZ(8,"i",5),a.qZA(),a.TgZ(9,"span"),a.YNc(10,Ze,2,1,"ng-container",6),a._uU(11),a._UZ(12,"i",7),a.qZA(),a.TgZ(13,"span"),a._uU(14),a.qZA(),a.TgZ(15,"span",8),a._UZ(16,"i",9)(17,"i",10)(18,"i",11),a.qZA()()()),2&l&&(a.xp6(2),a.Q6J("ngIf",_.lobby.hasPassword),a.xp6(2),a.Oqu(_.lobby.name),a.xp6(3),a.Oqu(_.lobby.lobbyUsers),a.xp6(3),a.Q6J("ngIf",_.lobby.currentLobbyMusicPosition>0),a.xp6(1),a.hij(" ",-1===_.lobby.musicNumber?"\u221e":_.lobby.lobbyMusics," "),a.xp6(3),a.hij("",_.lobby.guessTime,"s"),a.xp6(1),a.Q6J("title",_.getDifficultyTitle()),a.xp6(1),a.Q6J("ngClass",a.VKq(10,nt,_.lobby.difficulty.includes("easy"))),a.xp6(1),a.Q6J("ngClass",a.VKq(12,nt,_.lobby.difficulty.includes("medium"))),a.xp6(1),a.Q6J("ngClass",a.VKq(14,nt,_.lobby.difficulty.includes("hard"))))},dependencies:[te.mk,te.O5],encapsulation:2}),x})();function vt(x,c){1&x&&a._UZ(0,"app-home-lobby",13),2&x&&a.Q6J("lobby",c.$implicit)}function We(x,c){1&x&&a._UZ(0,"app-home-lobby",13),2&x&&a.Q6J("lobby",c.$implicit)}let ot=(()=>{class x{constructor(l,_,k,$){this.router=l,this.lobbyHttpService=_,this.dialog=k,this.socket=$,this.subscriptions=[]}ngOnDestroy(){this.subscriptions.forEach(l=>l.unsubscribe()),this.socket.disconnect()}ngOnInit(){this.lobbyHttpService.list().subscribe(l=>{this.publicLobbies=l.filter(_=>!_.custom),this.customLobbies=l.filter(_=>_.custom)}),this.socket.connect(),this.subscriptions=[this.socket.fromEvent("lobbyList").subscribe(l=>{this.publicLobbies=l.filter(_=>!_.custom),this.customLobbies=l.filter(_=>_.custom)})]}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(ee.F0),a.Y36(Ue.Y),a.Y36(at.uw),a.Y36(It))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-home"]],decls:30,vars:2,consts:[["role","alert",1,"alert","alert-warning"],["target","_blank","href","https://ko-fi.com/littlegubs",1,"alert-link"],[1,"row"],[1,"col-md-6"],[1,"bg-dark","p-3","h-100","d-flex","host-lobby-container"],[1,"w-100","align-self-center"],[1,"text-center"],["routerLink","/games"],["routerLink","/lobby/create",1,"btn","btn-lg","w-100","btn-primary"],[1,"pt-md-0","pt-4"],[1,"list-group","list-group-light"],[3,"lobby",4,"ngFor","ngForOf"],[1,"pt-4"],[3,"lobby"]],template:function(l,_){1&l&&(a.TgZ(0,"div",0),a._uU(1," Your experience may not be optimal if you are outside of "),a.TgZ(2,"b"),a._uU(3,"Europe"),a.qZA(),a._uU(4,". Please consider "),a.TgZ(5,"a",1),a._uU(6,"supporting us"),a.qZA(),a._uU(7," to help us grow globally! Thanks!\n"),a.qZA(),a.TgZ(8,"div",2)(9,"div",3)(10,"div",4)(11,"div",5)(12,"h2",6),a._uU(13,"Host a lobby with your friends!"),a.qZA(),a.TgZ(14,"p",6),a._uU(15,"You might need to "),a.TgZ(16,"a",7),a._uU(17,"add games in your list"),a.qZA(),a._uU(18," first"),a.qZA(),a.TgZ(19,"button",8),a._uU(20,"Host"),a.qZA()()()(),a.TgZ(21,"div",3)(22,"h3",9),a._uU(23,"Public lobbies"),a.qZA(),a.TgZ(24,"div",10),a.YNc(25,vt,1,1,"app-home-lobby",11),a.qZA(),a.TgZ(26,"h3",12),a._uU(27,"Custom lobbies"),a.qZA(),a.TgZ(28,"div",10),a.YNc(29,We,1,1,"app-home-lobby",11),a.qZA()()()),2&l&&(a.xp6(25),a.Q6J("ngForOf",_.publicLobbies),a.xp6(4),a.Q6J("ngForOf",_.customLobbies))},dependencies:[te.sg,ee.rH,ut],encapsulation:2}),x})();var je=f(4968),ze=f(5698);let kt=(()=>{class x{constructor(l,_){this._elementRef=l,this._renderer=_,this.collapseClass=!0,this.collapseShow=new a.vpe,this.collapseShown=new a.vpe,this.collapseHide=new a.vpe,this.collapseHidden=new a.vpe,this._collapsed=!0,this._isTransitioning=!1}set collapsed(l){l!==this._collapsed&&(l?this.hide():this.show(),this._collapsed=l)}get collapsed(){return this._collapsed}get host(){return this._elementRef.nativeElement}show(){if(this._isTransitioning||!this.collapsed)return;this.collapseShow.emit(this),this._renderer.removeClass(this.host,"collapse"),this._renderer.addClass(this.host,"collapsing"),this._renderer.setStyle(this.host,"height","0px"),this._isTransitioning=!0;const l=this.host.scrollHeight;(0,je.R)(this.host,"transitionend").pipe((0,ze.q)(1)).subscribe(()=>{this._isTransitioning=!1,this.collapsed=!1,this._renderer.removeClass(this.host,"collapsing"),this._renderer.addClass(this.host,"collapse"),this._renderer.addClass(this.host,"show"),this._renderer.removeStyle(this.host,"height"),this.collapseShown.emit(this)}),this._emulateTransitionEnd(this.host,350),this._renderer.setStyle(this.host,"height",`${l}px`)}hide(){if(this._isTransitioning||this.collapsed)return;this.collapseHide.emit(this);const l=this.host.getBoundingClientRect().height;this._renderer.setStyle(this.host,"height",`${l}px`),this._reflow(this.host),this._renderer.addClass(this.host,"collapsing"),this._renderer.removeClass(this.host,"collapse"),this._renderer.removeClass(this.host,"show"),this._isTransitioning=!0,(0,je.R)(this.host,"transitionend").pipe((0,ze.q)(1)).subscribe(()=>{this._renderer.removeClass(this.host,"collapsing"),this._renderer.addClass(this.host,"collapse"),this._isTransitioning=!1,this.collapsed=!0,this.collapseHidden.emit(this)}),this._renderer.removeStyle(this.host,"height"),this._emulateTransitionEnd(this.host,350)}toggle(){this._isTransitioning||(this.collapsed=!this.collapsed,this.collapsed?this.hide():this.show())}_reflow(l){return l.offsetHeight}_emulateTransitionEnd(l,_){let k=!1;const _e=_+5;(0,je.R)(l,"transitionend").pipe((0,ze.q)(1)).subscribe(()=>{k=!0}),setTimeout(()=>{k||l.dispatchEvent(new Event("transitionend"))},_e)}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(a.SBq),a.Y36(a.Qsj))},x.\u0275dir=a.lG2({type:x,selectors:[["","mdbCollapse",""]],hostVars:2,hostBindings:function(l,_){2&l&&a.ekj("collapse",_.collapseClass)},inputs:{collapsed:"collapsed"},outputs:{collapseShow:"collapseShow",collapseShown:"collapseShown",collapseHide:"collapseHide",collapseHidden:"collapseHidden"},exportAs:["mdbCollapse"]}),x})(),ye=(()=>{class x{}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({}),x})();function Le(x,c){if(1&x){const l=a.EpF();a.TgZ(0,"li",18)(1,"a",19),a.NdJ("click",function(){a.CHM(l),a.oxw();const k=a.MAs(6);return a.KtG(k.hide())}),a._uU(2,"Admin"),a.qZA()()}}const bt=function(){return{exact:!0}};let Ct=(()=>{class x{constructor(l,_,k){this.authService=l,this.authHttpService=_,this.router=k,this.showAdminNav=!1,this.showAdminNav=this.authService.isAdmin}logout(){this.authHttpService.logout().subscribe(()=>{}),this.authService.logout()}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(K.e),a.Y36(Se.C),a.Y36(ee.F0))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-header"]],decls:27,vars:5,consts:[[1,"navbar","navbar-expand-lg","navbar-dark","bg-dark","px-4"],[1,"navbar-brand"],["type","button","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"fas","fa-bars"],["mdbCollapse","",1,"collapse","navbar-collapse"],["basicNav","mdbCollapse"],[1,"navbar-nav","mr-auto"],["routerLinkActive","active",1,"nav-item",3,"routerLinkActiveOptions"],["routerLink","/",1,"nav-link",3,"click"],[1,"sr-only"],["routerLink","/games",1,"nav-link",3,"click"],["class","nav-item","routerLinkActive","active",4,"ngIf"],[1,"nav-item"],[1,"nav-link","logout",3,"click"],[1,"d-flex","align-items-center"],["target","_blank","href","https://ko-fi.com/littlegubs",1,"nav-link"],["href","https://discord.gg/cxqeYdfz3X","target","_blank",1,"nav-link",3,"click"],[1,"fab","fa-discord"],["routerLinkActive","active",1,"nav-item"],["routerLink","/admin",1,"nav-link",3,"click"]],template:function(l,_){if(1&l){const k=a.EpF();a.TgZ(0,"nav",0)(1,"a",1),a._uU(2,"VGMQ"),a.qZA(),a.TgZ(3,"button",2),a.NdJ("click",function(){a.CHM(k);const _e=a.MAs(6);return a.KtG(_e.toggle())}),a._UZ(4,"i",3),a.qZA(),a.TgZ(5,"div",4,5)(7,"ul",6)(8,"li",7)(9,"a",8),a.NdJ("click",function(){a.CHM(k);const _e=a.MAs(6);return a.KtG(_e.hide())}),a._uU(10,"Home "),a.TgZ(11,"span",9),a._uU(12,"(current)"),a.qZA()()(),a.TgZ(13,"li",7)(14,"a",10),a.NdJ("click",function(){a.CHM(k);const _e=a.MAs(6);return a.KtG(_e.hide())}),a._uU(15,"Games"),a.qZA()(),a.YNc(16,Le,3,0,"li",11),a.TgZ(17,"li",12)(18,"a",13),a.NdJ("click",function(){return _.logout()})("click",function(){a.CHM(k);const _e=a.MAs(6);return a.KtG(_e.hide())}),a._uU(19,"Logout"),a.qZA()()()(),a.TgZ(20,"div",14)(21,"ul",6)(22,"li",12)(23,"a",15),a._uU(24,"Support us"),a.qZA()()(),a.TgZ(25,"a",16),a.NdJ("click",function(){a.CHM(k);const _e=a.MAs(6);return a.KtG(_e.hide())}),a._UZ(26,"i",17),a.qZA()()()}2&l&&(a.xp6(8),a.Q6J("routerLinkActiveOptions",a.DdM(3,bt)),a.xp6(5),a.Q6J("routerLinkActiveOptions",a.DdM(4,bt)),a.xp6(3),a.Q6J("ngIf",_.showAdminNav))},dependencies:[te.O5,ee.rH,ee.Od,kt],encapsulation:2}),x})();function Ft(x,c){1&x&&a._UZ(0,"router-outlet")}function Ne(x,c){1&x&&a._UZ(0,"app-home")}let qe=(()=>{class x{constructor(l){this.router=l}ngOnInit(){}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(ee.F0))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-logged-in"]],decls:5,vars:2,consts:[[1,"container-fluid","h-100"],[1,"pt-2","pt-md-5","px-2","px-md-5","h-100"],[4,"ngIf"]],template:function(l,_){1&l&&(a.TgZ(0,"div",0),a._UZ(1,"app-header"),a.TgZ(2,"div",1),a.YNc(3,Ft,1,0,"router-outlet",2),a.YNc(4,Ne,1,0,"app-home",2),a.qZA()()),2&l&&(a.xp6(3),a.Q6J("ngIf","/"!==_.router.url),a.xp6(1),a.Q6J("ngIf","/"===_.router.url))},dependencies:[te.O5,ee.lC,ot,Ct],encapsulation:2}),x})();function mt(x,c){1&x&&a._UZ(0,"app-logged-in")}function le(x,c){1&x&&a._UZ(0,"app-anonymous")}let we=(()=>{class x{constructor(l){this.userStore=l,this.loggedIn=!1}ngOnInit(){this.userStore.userLoggedIn.subscribe(l=>{this.loggedIn=l})}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(he.U))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-home-theme"]],decls:2,vars:2,consts:[[4,"ngIf"]],template:function(l,_){1&l&&(a.YNc(0,mt,1,0,"app-logged-in",0),a.YNc(1,le,1,0,"app-anonymous",0)),2&l&&(a.Q6J("ngIf",_.loggedIn),a.xp6(1),a.Q6J("ngIf",!_.loggedIn))},dependencies:[te.O5,Oe,qe],encapsulation:2}),x})(),ne=(()=>{class x{constructor(l,_){this.authService=l,this.router=_}canActivate(l,_){var k;return!(!this.authService.isLoggedIn||!this.authService.isAdmin)||(this.authService.isLoggedIn&&!this.authService.isAdmin||this.authService.isLoggedIn?this.router.createUrlTree([""]):(!(null===(k=_.url)||void 0===k)&&k.length&&sessionStorage.setItem("pastedUrl",_.url.split("?")[0]),Object.keys(l.queryParams).length&&sessionStorage.setItem("pastedUrlQueryParams",JSON.stringify(l.queryParams)),this.router.createUrlTree(["login"])))}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(K.e),a.LFG(ee.F0))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),Pe=(()=>{class x{constructor(l,_){this.authService=l,this.router=_}canActivate(l,_){return!this.authService.isLoggedIn||this.router.createUrlTree(["/"])}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(K.e),a.LFG(ee.F0))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),pt=(()=>{class x{constructor(l,_){this.authService=l,this.router=_}canActivate(l,_){var k;return!!this.authService.isLoggedIn||(!(null===(k=_.url)||void 0===k)&&k.length&&sessionStorage.setItem("pastedUrl",_.url.split("?")[0]),Object.keys(l.queryParams).length&&sessionStorage.setItem("pastedUrlQueryParams",JSON.stringify(l.queryParams)),this.router.createUrlTree(["login"]))}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(K.e),a.LFG(ee.F0))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();const de=[{path:"",component:we,children:[{path:"register",loadChildren:()=>Promise.all([f.e(9),f.e(266)]).then(f.bind(f,1266)).then(x=>x.RegisterModule),canActivate:[Pe]},{path:"reset-password",loadChildren:()=>Promise.all([f.e(9),f.e(219)]).then(f.bind(f,5219)).then(x=>x.ResetPasswordModule),canActivate:[Pe]},{path:"games",loadChildren:()=>Promise.all([f.e(31),f.e(385),f.e(755)]).then(f.bind(f,8755)).then(x=>x.GameModule),canActivate:[pt]},{path:"lobby",loadChildren:()=>Promise.all([f.e(9),f.e(762),f.e(385),f.e(11)]).then(f.bind(f,8011)).then(x=>x.LobbyModule),canActivate:[pt]},{path:"admin",loadChildren:()=>f.e(442).then(f.bind(f,7442)).then(x=>x.AdminModule),canActivate:[ne]}]},{path:"**",redirectTo:"/"}];let L=(()=>{class x{}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({imports:[ee.Bz.forRoot(de),ee.Bz]}),x})(),se=(()=>{class x{constructor(l,_){this.meta=l,this.titleService=_,this.titleService.setTitle("Video Game Music Quiz"),this.meta.addTag({name:"description",content:"Play with your friends! Listen carefully and guess the game!"})}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(o.h_),a.Y36(o.Dx))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-root"]],decls:1,vars:0,template:function(l,_){1&l&&a._UZ(0,"router-outlet")},dependencies:[ee.lC],encapsulation:2}),x})();var ue=f(7340);function ht(x){return new a.vHH(3e3,!1)}function Rn(){return typeof window<"u"&&typeof window.document<"u"}function vn(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Zn(x){switch(x.length){case 0:return new ue.ZN;case 1:return x[0];default:return new ue.ZE(x)}}function ie(x,c,l,_,k=new Map,$=new Map){const _e=[],Ce=[];let Ke=-1,Dt=null;if(_.forEach(Ut=>{const $t=Ut.get("offset"),gn=$t==Ke,hn=gn&&Dt||new Map;Ut.forEach((Qt,Jt)=>{let En=Jt,Hn=Qt;if("offset"!==Jt)switch(En=c.normalizePropertyName(En,_e),Hn){case ue.k1:Hn=k.get(Jt);break;case ue.l3:Hn=$.get(Jt);break;default:Hn=c.normalizeStyleValue(Jt,En,Hn,_e)}hn.set(En,Hn)}),gn||Ce.push(hn),Dt=hn,Ke=$t}),_e.length)throw function Yt(x){return new a.vHH(3502,!1)}();return Ce}function R(x,c,l,_){switch(c){case"start":x.onStart(()=>_(l&&P(l,"start",x)));break;case"done":x.onDone(()=>_(l&&P(l,"done",x)));break;case"destroy":x.onDestroy(()=>_(l&&P(l,"destroy",x)))}}function P(x,c,l){const $=X(x.element,x.triggerName,x.fromState,x.toState,c||x.phaseName,l.totalTime??x.totalTime,!!l.disabled),_e=x._data;return null!=_e&&($._data=_e),$}function X(x,c,l,_,k="",$=0,_e){return{element:x,triggerName:c,fromState:l,toState:_,phaseName:k,totalTime:$,disabled:!!_e}}function Ye(x,c,l){let _=x.get(c);return _||x.set(c,_=l),_}function Pt(x){const c=x.indexOf(":");return[x.substring(1,c),x.slice(c+1)]}let tn=(x,c)=>!1,Kt=(x,c,l)=>[],Dn=null;function Pn(x){const c=x.parentNode||x.host;return c===Dn?null:c}(vn()||typeof Element<"u")&&(Rn()?(Dn=(()=>document.documentElement)(),tn=(x,c)=>{for(;c;){if(c===x)return!0;c=Pn(c)}return!1}):tn=(x,c)=>x.contains(c),Kt=(x,c,l)=>{if(l)return Array.from(x.querySelectorAll(c));const _=x.querySelector(c);return _?[_]:[]});let wn=null,Lt=!1;const Bn=tn,Nn=Kt;let mn=(()=>{class x{validateStyleProperty(l){return function nn(x){wn||(wn=function ti(){return typeof document<"u"?document.body:null}()||{},Lt=!!wn.style&&"WebkitAppearance"in wn.style);let c=!0;return wn.style&&!function ei(x){return"ebkit"==x.substring(1,6)}(x)&&(c=x in wn.style,!c&&Lt&&(c="Webkit"+x.charAt(0).toUpperCase()+x.slice(1)in wn.style)),c}(l)}matchesElement(l,_){return!1}containsElement(l,_){return Bn(l,_)}getParentElement(l){return Pn(l)}query(l,_,k){return Nn(l,_,k)}computeStyle(l,_,k){return k||""}animate(l,_,k,$,_e,Ce=[],Ke){return new ue.ZN(k,$)}}return x.\u0275fac=function(l){return new(l||x)},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})(),li=(()=>{class x{}return x.NOOP=new mn,x})();const ji="ng-enter",qi="ng-leave",Ni="ng-trigger",Kn=".ng-trigger",yr="ng-animating",Oi=".ng-animating";function Xn(x){if("number"==typeof x)return x;const c=x.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:Bi(parseFloat(c[1]),c[2])}function Bi(x,c){return"s"===c?1e3*x:x}function zi(x,c,l){return x.hasOwnProperty("duration")?x:function kn(x,c,l){let k,$=0,_e="";if("string"==typeof x){const Ce=x.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ce)return c.push(ht()),{duration:0,delay:0,easing:""};k=Bi(parseFloat(Ce[1]),Ce[2]);const Ke=Ce[3];null!=Ke&&($=Bi(parseFloat(Ke),Ce[4]));const Dt=Ce[5];Dt&&(_e=Dt)}else k=x;if(!l){let Ce=!1,Ke=c.length;k<0&&(c.push(function ct(){return new a.vHH(3100,!1)}()),Ce=!0),$<0&&(c.push(function Et(){return new a.vHH(3101,!1)}()),Ce=!0),Ce&&c.splice(Ke,0,ht())}return{duration:k,delay:$,easing:_e}}(x,c,l)}function mi(x,c={}){return Object.keys(x).forEach(l=>{c[l]=x[l]}),c}function Er(x){const c=new Map;return Object.keys(x).forEach(l=>{c.set(l,x[l])}),c}function Ei(x,c=new Map,l){if(l)for(let[_,k]of l)c.set(_,k);for(let[_,k]of x)c.set(_,k);return c}function Vi(x,c,l){return l?c+":"+l+";":""}function Gn(x){let c="";for(let l=0;l{const $=cr(k);l&&!l.has(k)&&l.set(k,x.style[$]),x.style[$]=_}),vn()&&Gn(x))}function Mn(x,c){x.style&&(c.forEach((l,_)=>{const k=cr(_);x.style[k]=""}),vn()&&Gn(x))}function Un(x){return Array.isArray(x)?1==x.length?x[0]:(0,ue.vP)(x):x}const ki=new RegExp("{{\\s*(.+?)\\s*}}","g");function Dr(x){let c=[];if("string"==typeof x){let l;for(;l=ki.exec(x);)c.push(l[1]);ki.lastIndex=0}return c}function Fn(x,c,l){const _=x.toString(),k=_.replace(ki,($,_e)=>{let Ce=c[_e];return null==Ce&&(l.push(function lt(x){return new a.vHH(3003,!1)}()),Ce=""),Ce.toString()});return k==_?x:k}function xr(x){const c=[];let l=x.next();for(;!l.done;)c.push(l.value),l=x.next();return c}const vo=/-+([a-z0-9])/g;function cr(x){return x.replace(vo,(...c)=>c[1].toUpperCase())}function kr(x){return x.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ni(x,c,l){switch(c.type){case 7:return x.visitTrigger(c,l);case 0:return x.visitState(c,l);case 1:return x.visitTransition(c,l);case 2:return x.visitSequence(c,l);case 3:return x.visitGroup(c,l);case 4:return x.visitAnimate(c,l);case 5:return x.visitKeyframes(c,l);case 6:return x.visitStyle(c,l);case 8:return x.visitReference(c,l);case 9:return x.visitAnimateChild(c,l);case 10:return x.visitAnimateRef(c,l);case 11:return x.visitQuery(c,l);case 12:return x.visitStagger(c,l);default:throw function j(x){return new a.vHH(3004,!1)}()}}function Rr(x,c){return window.getComputedStyle(x)[c]}function Cr(x,c){const l=[];return"string"==typeof x?x.split(/\s*,\s*/).forEach(_=>function yo(x,c,l){if(":"==x[0]){const Ke=function wr(x,c){switch(x){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,_)=>parseFloat(_)>parseFloat(l);case":decrement":return(l,_)=>parseFloat(_) *"}}(x,l);if("function"==typeof Ke)return void c.push(Ke);x=Ke}const _=x.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return l.push(function A(x){return new a.vHH(3015,!1)}()),c;const k=_[1],$=_[2],_e=_[3];c.push(tr(k,_e));"<"==$[0]&&!("*"==k&&"*"==_e)&&c.push(tr(_e,k))}(_,l,c)):l.push(x),l}const er=new Set(["true","1"]),Ri=new Set(["false","0"]);function tr(x,c){const l=er.has(x)||Ri.has(x),_=er.has(c)||Ri.has(c);return(k,$)=>{let _e="*"==x||x==k,Ce="*"==c||c==$;return!_e&&l&&"boolean"==typeof k&&(_e=k?er.has(x):Ri.has(x)),!Ce&&_&&"boolean"==typeof $&&(Ce=$?er.has(c):Ri.has(c)),_e&&Ce}}const Nr=new RegExp("s*:selfs*,?","g");function nr(x,c,l,_){return new Vo(x).build(c,l,_)}class Vo{constructor(c){this._driver=c}build(c,l,_){const k=new Xr(l);return this._resetContextStyleTimingState(k),ni(this,Un(c),k)}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles=new Map,c.collectedStyles.set("",new Map),c.currentTime=0}visitTrigger(c,l){let _=l.queryCount=0,k=l.depCount=0;const $=[],_e=[];return"@"==c.name.charAt(0)&&l.errors.push(function pe(){return new a.vHH(3006,!1)}()),c.definitions.forEach(Ce=>{if(this._resetContextStyleTimingState(l),0==Ce.type){const Ke=Ce,Dt=Ke.name;Dt.toString().split(/\s*,\s*/).forEach(Ut=>{Ke.name=Ut,$.push(this.visitState(Ke,l))}),Ke.name=Dt}else if(1==Ce.type){const Ke=this.visitTransition(Ce,l);_+=Ke.queryCount,k+=Ke.depCount,_e.push(Ke)}else l.errors.push(function Fe(){return new a.vHH(3007,!1)}())}),{type:7,name:c.name,states:$,transitions:_e,queryCount:_,depCount:k,options:null}}visitState(c,l){const _=this.visitStyle(c.styles,l),k=c.options&&c.options.params||null;if(_.containsDynamicStyles){const $=new Set,_e=k||{};_.styles.forEach(Ce=>{Ce instanceof Map&&Ce.forEach(Ke=>{Dr(Ke).forEach(Dt=>{_e.hasOwnProperty(Dt)||$.add(Dt)})})}),$.size&&(xr($.values()),l.errors.push(function At(x,c){return new a.vHH(3008,!1)}()))}return{type:0,name:c.name,style:_,options:k?{params:k}:null}}visitTransition(c,l){l.queryCount=0,l.depCount=0;const _=ni(this,Un(c.animation),l);return{type:1,matchers:Cr(c.expr,l.errors),animation:_,queryCount:l.queryCount,depCount:l.depCount,options:Qn(c.options)}}visitSequence(c,l){return{type:2,steps:c.steps.map(_=>ni(this,_,l)),options:Qn(c.options)}}visitGroup(c,l){const _=l.currentTime;let k=0;const $=c.steps.map(_e=>{l.currentTime=_;const Ce=ni(this,_e,l);return k=Math.max(k,l.currentTime),Ce});return l.currentTime=k,{type:3,steps:$,options:Qn(c.options)}}visitAnimate(c,l){const _=function qr(x,c){if(x.hasOwnProperty("duration"))return x;if("number"==typeof x)return lr(zi(x,c).duration,0,"");const l=x;if(l.split(/\s+/).some($=>"{"==$.charAt(0)&&"{"==$.charAt(1))){const $=lr(0,0,"");return $.dynamic=!0,$.strValue=l,$}const k=zi(l,c);return lr(k.duration,k.delay,k.easing)}(c.timings,l.errors);l.currentAnimateTimings=_;let k,$=c.styles?c.styles:(0,ue.oB)({});if(5==$.type)k=this.visitKeyframes($,l);else{let _e=c.styles,Ce=!1;if(!_e){Ce=!0;const Dt={};_.easing&&(Dt.easing=_.easing),_e=(0,ue.oB)(Dt)}l.currentTime+=_.duration+_.delay;const Ke=this.visitStyle(_e,l);Ke.isEmptyStep=Ce,k=Ke}return l.currentAnimateTimings=null,{type:4,timings:_,style:k,options:null}}visitStyle(c,l){const _=this._makeStyleAst(c,l);return this._validateStyleAst(_,l),_}_makeStyleAst(c,l){const _=[],k=Array.isArray(c.styles)?c.styles:[c.styles];for(let Ce of k)"string"==typeof Ce?Ce===ue.l3?_.push(Ce):l.errors.push(new a.vHH(3002,!1)):_.push(Er(Ce));let $=!1,_e=null;return _.forEach(Ce=>{if(Ce instanceof Map&&(Ce.has("easing")&&(_e=Ce.get("easing"),Ce.delete("easing")),!$))for(let Ke of Ce.values())if(Ke.toString().indexOf("{{")>=0){$=!0;break}}),{type:6,styles:_,easing:_e,offset:c.offset,containsDynamicStyles:$,options:null}}_validateStyleAst(c,l){const _=l.currentAnimateTimings;let k=l.currentTime,$=l.currentTime;_&&$>0&&($-=_.duration+_.delay),c.styles.forEach(_e=>{"string"!=typeof _e&&_e.forEach((Ce,Ke)=>{const Dt=l.collectedStyles.get(l.currentQuerySelector),Ut=Dt.get(Ke);let $t=!0;Ut&&($!=k&&$>=Ut.startTime&&k<=Ut.endTime&&(l.errors.push(function jt(x,c,l,_,k){return new a.vHH(3010,!1)}()),$t=!1),$=Ut.startTime),$t&&Dt.set(Ke,{startTime:$,endTime:k}),l.options&&function Or(x,c,l){const _=c.params||{},k=Dr(x);k.length&&k.forEach($=>{_.hasOwnProperty($)||l.push(function me(x){return new a.vHH(3001,!1)}())})}(Ce,l.options,l.errors)})})}visitKeyframes(c,l){const _={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function _n(){return new a.vHH(3011,!1)}()),_;let $=0;const _e=[];let Ce=!1,Ke=!1,Dt=0;const Ut=c.steps.map(Hn=>{const si=this._makeStyleAst(Hn,l);let jn=null!=si.offset?si.offset:function Qr(x){if("string"==typeof x)return null;let c=null;if(Array.isArray(x))x.forEach(l=>{if(l instanceof Map&&l.has("offset")){const _=l;c=parseFloat(_.get("offset")),_.delete("offset")}});else if(x instanceof Map&&x.has("offset")){const l=x;c=parseFloat(l.get("offset")),l.delete("offset")}return c}(si.styles),hi=0;return null!=jn&&($++,hi=si.offset=jn),Ke=Ke||hi<0||hi>1,Ce=Ce||hi0&&$<$t?l.errors.push(function Ae(){return new a.vHH(3202,!1)}()):0==$&&(gn=1/($t-1));const hn=$t-1,Qt=l.currentTime,Jt=l.currentAnimateTimings,En=Jt.duration;return Ut.forEach((Hn,si)=>{const jn=gn>0?si==hn?1:gn*si:_e[si],hi=jn*En;l.currentTime=Qt+Jt.delay+hi,Jt.duration=hi,this._validateStyleAst(Hn,l),Hn.offset=jn,_.styles.push(Hn)}),_}visitReference(c,l){return{type:8,animation:ni(this,Un(c.animation),l),options:Qn(c.options)}}visitAnimateChild(c,l){return l.depCount++,{type:9,options:Qn(c.options)}}visitAnimateRef(c,l){return{type:10,animation:this.visitReference(c.animation,l),options:Qn(c.options)}}visitQuery(c,l){const _=l.currentQuerySelector,k=c.options||{};l.queryCount++,l.currentQuery=c;const[$,_e]=function Br(x){const c=!!x.split(/\s*,\s*/).find(l=>":self"==l);return c&&(x=x.replace(Nr,"")),x=x.replace(/@\*/g,Kn).replace(/@\w+/g,l=>Kn+"-"+l.slice(1)).replace(/:animating/g,Oi),[x,c]}(c.selector);l.currentQuerySelector=_.length?_+" "+$:$,Ye(l.collectedStyles,l.currentQuerySelector,new Map);const Ce=ni(this,Un(c.animation),l);return l.currentQuery=null,l.currentQuerySelector=_,{type:11,selector:$,limit:k.limit||0,optional:!!k.optional,includeSelf:_e,animation:Ce,originalSelector:c.selector,options:Qn(c.options)}}visitStagger(c,l){l.currentQuery||l.errors.push(function I(){return new a.vHH(3013,!1)}());const _="full"===c.timings?{duration:0,delay:0,easing:"full"}:zi(c.timings,l.errors,!0);return{type:12,animation:ni(this,Un(c.animation),l),timings:_,options:null}}}class Xr{constructor(c){this.errors=c,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Qn(x){return x?(x=mi(x)).params&&(x.params=function Eo(x){return x?mi(x):null}(x.params)):x={},x}function lr(x,c,l){return{duration:x,delay:c,easing:l}}function oi(x,c,l,_,k,$,_e=null,Ce=!1){return{type:1,element:x,keyframes:c,preStyleProps:l,postStyleProps:_,duration:k,delay:$,totalTime:k+$,easing:_e,subTimeline:Ce}}class zn{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,l){let _=this._map.get(c);_||this._map.set(c,_=[]),_.push(...l)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const di=new RegExp(":enter","g"),dr=new RegExp(":leave","g");function $i(x,c,l,_,k,$=new Map,_e=new Map,Ce,Ke,Dt=[]){return(new Di).buildKeyframes(x,c,l,_,k,$,_e,Ce,Ke,Dt)}class Di{buildKeyframes(c,l,_,k,$,_e,Ce,Ke,Dt,Ut=[]){Dt=Dt||new zn;const $t=new Mi(c,l,Dt,k,$,Ut,[]);$t.options=Ke;const gn=Ke.delay?Xn(Ke.delay):0;$t.currentTimeline.delayNextStep(gn),$t.currentTimeline.setStyles([_e],null,$t.errors,Ke),ni(this,_,$t);const hn=$t.timelines.filter(Qt=>Qt.containsAnimation());if(hn.length&&Ce.size){let Qt;for(let Jt=hn.length-1;Jt>=0;Jt--){const En=hn[Jt];if(En.element===l){Qt=En;break}}Qt&&!Qt.allowOnlyTimelineStyles()&&Qt.setStyles([Ce],null,$t.errors,Ke)}return hn.length?hn.map(Qt=>Qt.buildKeyframes()):[oi(l,[],[],[],0,gn,"",!1)]}visitTrigger(c,l){}visitState(c,l){}visitTransition(c,l){}visitAnimateChild(c,l){const _=l.subInstructions.get(l.element);if(_){const k=l.createSubContext(c.options),$=l.currentTimeline.currentTime,_e=this._visitSubInstructions(_,k,k.options);$!=_e&&l.transformIntoNewTimeline(_e)}l.previousNode=c}visitAnimateRef(c,l){const _=l.createSubContext(c.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([c.options,c.animation.options],l,_),this.visitReference(c.animation,_),l.transformIntoNewTimeline(_.currentTimeline.currentTime),l.previousNode=c}_applyAnimationRefDelays(c,l,_){for(const k of c){const $=k?.delay;if($){const _e="number"==typeof $?$:Xn(Fn($,k?.params??{},l.errors));_.delayNextStep(_e)}}}_visitSubInstructions(c,l,_){let $=l.currentTimeline.currentTime;const _e=null!=_.duration?Xn(_.duration):null,Ce=null!=_.delay?Xn(_.delay):null;return 0!==_e&&c.forEach(Ke=>{const Dt=l.appendInstructionToTimeline(Ke,_e,Ce);$=Math.max($,Dt.duration+Dt.delay)}),$}visitReference(c,l){l.updateOptions(c.options,!0),ni(this,c.animation,l),l.previousNode=c}visitSequence(c,l){const _=l.subContextCount;let k=l;const $=c.options;if($&&($.params||$.delay)&&(k=l.createSubContext($),k.transformIntoNewTimeline(),null!=$.delay)){6==k.previousNode.type&&(k.currentTimeline.snapshotCurrentStyles(),k.previousNode=Gi);const _e=Xn($.delay);k.delayNextStep(_e)}c.steps.length&&(c.steps.forEach(_e=>ni(this,_e,k)),k.currentTimeline.applyStylesToKeyframe(),k.subContextCount>_&&k.transformIntoNewTimeline()),l.previousNode=c}visitGroup(c,l){const _=[];let k=l.currentTimeline.currentTime;const $=c.options&&c.options.delay?Xn(c.options.delay):0;c.steps.forEach(_e=>{const Ce=l.createSubContext(c.options);$&&Ce.delayNextStep($),ni(this,_e,Ce),k=Math.max(k,Ce.currentTimeline.currentTime),_.push(Ce.currentTimeline)}),_.forEach(_e=>l.currentTimeline.mergeTimelineCollectedStyles(_e)),l.transformIntoNewTimeline(k),l.previousNode=c}_visitTiming(c,l){if(c.dynamic){const _=c.strValue;return zi(l.params?Fn(_,l.params,l.errors):_,l.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,l){const _=l.currentAnimateTimings=this._visitTiming(c.timings,l),k=l.currentTimeline;_.delay&&(l.incrementTime(_.delay),k.snapshotCurrentStyles());const $=c.style;5==$.type?this.visitKeyframes($,l):(l.incrementTime(_.duration),this.visitStyle($,l),k.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=c}visitStyle(c,l){const _=l.currentTimeline,k=l.currentAnimateTimings;!k&&_.hasCurrentStyleProperties()&&_.forwardFrame();const $=k&&k.easing||c.easing;c.isEmptyStep?_.applyEmptyStep($):_.setStyles(c.styles,$,l.errors,l.options),l.previousNode=c}visitKeyframes(c,l){const _=l.currentAnimateTimings,k=l.currentTimeline.duration,$=_.duration,Ce=l.createSubContext().currentTimeline;Ce.easing=_.easing,c.styles.forEach(Ke=>{Ce.forwardTime((Ke.offset||0)*$),Ce.setStyles(Ke.styles,Ke.easing,l.errors,l.options),Ce.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(Ce),l.transformIntoNewTimeline(k+$),l.previousNode=c}visitQuery(c,l){const _=l.currentTimeline.currentTime,k=c.options||{},$=k.delay?Xn(k.delay):0;$&&(6===l.previousNode.type||0==_&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=Gi);let _e=_;const Ce=l.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!k.optional,l.errors);l.currentQueryTotal=Ce.length;let Ke=null;Ce.forEach((Dt,Ut)=>{l.currentQueryIndex=Ut;const $t=l.createSubContext(c.options,Dt);$&&$t.delayNextStep($),Dt===l.element&&(Ke=$t.currentTimeline),ni(this,c.animation,$t),$t.currentTimeline.applyStylesToKeyframe(),_e=Math.max(_e,$t.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(_e),Ke&&(l.currentTimeline.mergeTimelineCollectedStyles(Ke),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=c}visitStagger(c,l){const _=l.parentContext,k=l.currentTimeline,$=c.timings,_e=Math.abs($.duration),Ce=_e*(l.currentQueryTotal-1);let Ke=_e*l.currentQueryIndex;switch($.duration<0?"reverse":$.easing){case"reverse":Ke=Ce-Ke;break;case"full":Ke=_.currentStaggerTime}const Ut=l.currentTimeline;Ke&&Ut.delayNextStep(Ke);const $t=Ut.currentTime;ni(this,c.animation,l),l.previousNode=c,_.currentStaggerTime=k.currentTime-$t+(k.startTime-_.currentTimeline.startTime)}}const Gi={};class Mi{constructor(c,l,_,k,$,_e,Ce,Ke){this._driver=c,this.element=l,this.subInstructions=_,this._enterClassName=k,this._leaveClassName=$,this.errors=_e,this.timelines=Ce,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Gi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ke||new Vr(this._driver,l,0),Ce.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,l){if(!c)return;const _=c;let k=this.options;null!=_.duration&&(k.duration=Xn(_.duration)),null!=_.delay&&(k.delay=Xn(_.delay));const $=_.params;if($){let _e=k.params;_e||(_e=this.options.params={}),Object.keys($).forEach(Ce=>{(!l||!_e.hasOwnProperty(Ce))&&(_e[Ce]=Fn($[Ce],_e,this.errors))})}}_copyOptions(){const c={};if(this.options){const l=this.options.params;if(l){const _=c.params={};Object.keys(l).forEach(k=>{_[k]=l[k]})}}return c}createSubContext(c=null,l,_){const k=l||this.element,$=new Mi(this._driver,k,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(k,_||0));return $.previousNode=this.previousNode,$.currentAnimateTimings=this.currentAnimateTimings,$.options=this._copyOptions(),$.updateOptions(c),$.currentQueryIndex=this.currentQueryIndex,$.currentQueryTotal=this.currentQueryTotal,$.parentContext=this,this.subContextCount++,$}transformIntoNewTimeline(c){return this.previousNode=Gi,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,l,_){const k={duration:l??c.duration,delay:this.currentTimeline.currentTime+(_??0)+c.delay,easing:""},$=new ur(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,k,c.stretchStartingKeyframe);return this.timelines.push($),k}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,l,_,k,$,_e){let Ce=[];if(k&&Ce.push(this.element),c.length>0){c=(c=c.replace(di,"."+this._enterClassName)).replace(dr,"."+this._leaveClassName);let Dt=this._driver.query(this.element,c,1!=_);0!==_&&(Dt=_<0?Dt.slice(Dt.length+_,Dt.length):Dt.slice(0,_)),Ce.push(...Dt)}return!$&&0==Ce.length&&_e.push(function w(x){return new a.vHH(3014,!1)}()),Ce}}class Vr{constructor(c,l,_,k){this._driver=c,this.element=l,this.startTime=_,this._elementTimelineStylesLookup=k,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(c){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+c),l&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,l){return this.applyStylesToKeyframe(),new Vr(this._driver,c,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(c){this.applyStylesToKeyframe(),this.duration=c,this._loadKeyframe()}_updateStyle(c,l){this._localTimelineStyles.set(c,l),this._globalTimelineStyles.set(c,l),this._styleSummary.set(c,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&this._previousKeyframe.set("easing",c);for(let[l,_]of this._globalTimelineStyles)this._backFill.set(l,_||ue.l3),this._currentKeyframe.set(l,ue.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,l,_,k){l&&this._previousKeyframe.set("easing",l);const $=k&&k.params||{},_e=function fr(x,c){const l=new Map;let _;return x.forEach(k=>{if("*"===k){_=_||c.keys();for(let $ of _)l.set($,ue.l3)}else Ei(k,l)}),l}(c,this._globalTimelineStyles);for(let[Ce,Ke]of _e){const Dt=Fn(Ke,$,_);this._pendingStyles.set(Ce,Dt),this._localTimelineStyles.has(Ce)||this._backFill.set(Ce,this._globalTimelineStyles.get(Ce)??ue.l3),this._updateStyle(Ce,Dt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((c,l)=>{this._currentKeyframe.set(l,c)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((c,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,c)}))}snapshotCurrentStyles(){for(let[c,l]of this._localTimelineStyles)this._pendingStyles.set(c,l),this._updateStyle(c,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let l in this._currentKeyframe)c.push(l);return c}mergeTimelineCollectedStyles(c){c._styleSummary.forEach((l,_)=>{const k=this._styleSummary.get(_);(!k||l.time>k.time)&&this._updateStyle(_,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,l=new Set,_=1===this._keyframes.size&&0===this.duration;let k=[];this._keyframes.forEach((Ce,Ke)=>{const Dt=Ei(Ce,new Map,this._backFill);Dt.forEach((Ut,$t)=>{Ut===ue.k1?c.add($t):Ut===ue.l3&&l.add($t)}),_||Dt.set("offset",Ke/this.duration),k.push(Dt)});const $=c.size?xr(c.values()):[],_e=l.size?xr(l.values()):[];if(_){const Ce=k[0],Ke=new Map(Ce);Ce.set("offset",0),Ke.set("offset",1),k=[Ce,Ke]}return oi(this.element,k,$,_e,this.duration,this.startTime,this.easing,!1)}}class ur extends Vr{constructor(c,l,_,k,$,_e,Ce=!1){super(c,l,_e.delay),this.keyframes=_,this.preStyleProps=k,this.postStyleProps=$,this._stretchStartingKeyframe=Ce,this.timings={duration:_e.duration,delay:_e.delay,easing:_e.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:l,duration:_,easing:k}=this.timings;if(this._stretchStartingKeyframe&&l){const $=[],_e=_+l,Ce=l/_e,Ke=Ei(c[0]);Ke.set("offset",0),$.push(Ke);const Dt=Ei(c[0]);Dt.set("offset",hr(Ce)),$.push(Dt);const Ut=c.length-1;for(let $t=1;$t<=Ut;$t++){let gn=Ei(c[$t]);const hn=gn.get("offset");gn.set("offset",hr((l+hn*_)/_e)),$.push(gn)}_=_e,l=0,k="",c=$}return oi(this.element,c,this.preStyleProps,this.postStyleProps,_,l,k,!0)}}function hr(x,c=3){const l=Math.pow(10,c-1);return Math.round(x*l)/l}class Ur{}const C=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class y extends Ur{normalizePropertyName(c,l){return cr(c)}normalizeStyleValue(c,l,_,k){let $="";const _e=_.toString().trim();if(C.has(l)&&0!==_&&"0"!==_)if("number"==typeof _)$="px";else{const Ce=_.match(/^[+-]?[\d\.]+([a-z]*)$/);Ce&&0==Ce[1].length&&k.push(function ve(x,c){return new a.vHH(3005,!1)}())}return _e+$}}function z(x,c,l,_,k,$,_e,Ce,Ke,Dt,Ut,$t,gn){return{type:0,element:x,triggerName:c,isRemovalTransition:k,fromState:l,fromStyles:$,toState:_,toStyles:_e,timelines:Ce,queriedElements:Ke,preStyleProps:Dt,postStyleProps:Ut,totalTime:$t,errors:gn}}const et={};class zt{constructor(c,l,_){this._triggerName=c,this.ast=l,this._stateStyles=_}match(c,l,_,k){return function st(x,c,l,_,k){return x.some($=>$(c,l,_,k))}(this.ast.matchers,c,l,_,k)}buildStyles(c,l,_){let k=this._stateStyles.get("*");return void 0!==c&&(k=this._stateStyles.get(c?.toString())||k),k?k.buildStyles(l,_):new Map}build(c,l,_,k,$,_e,Ce,Ke,Dt,Ut){const $t=[],gn=this.ast.options&&this.ast.options.params||et,Qt=this.buildStyles(_,Ce&&Ce.params||et,$t),Jt=Ke&&Ke.params||et,En=this.buildStyles(k,Jt,$t),Hn=new Set,si=new Map,jn=new Map,hi="void"===k,co={params:cn(Jt,gn),delay:this.ast.options?.delay},or=Ut?[]:$i(c,l,this.ast.animation,$,_e,Qt,En,co,Dt,$t);let Li=0;if(or.forEach(Yi=>{Li=Math.max(Yi.duration+Yi.delay,Li)}),$t.length)return z(l,this._triggerName,_,k,hi,Qt,En,[],[],si,jn,Li,$t);or.forEach(Yi=>{const Ci=Yi.element,lo=Ye(si,Ci,new Set);Yi.preStyleProps.forEach(jr=>lo.add(jr));const _r=Ye(jn,Ci,new Set);Yi.postStyleProps.forEach(jr=>_r.add(jr)),Ci!==l&&Hn.add(Ci)});const sr=xr(Hn.values());return z(l,this._triggerName,_,k,hi,Qt,En,or,sr,si,jn,Li)}}function cn(x,c){const l=mi(c);for(const _ in x)x.hasOwnProperty(_)&&null!=x[_]&&(l[_]=x[_]);return l}class eo{constructor(c,l,_){this.styles=c,this.defaultParams=l,this.normalizer=_}buildStyles(c,l){const _=new Map,k=mi(this.defaultParams);return Object.keys(c).forEach($=>{const _e=c[$];null!==_e&&(k[$]=_e)}),this.styles.styles.forEach($=>{"string"!=typeof $&&$.forEach((_e,Ce)=>{_e&&(_e=Fn(_e,k,l));const Ke=this.normalizer.normalizePropertyName(Ce,l);_e=this.normalizer.normalizeStyleValue(Ce,Ke,_e,l),_.set(Ce,_e)})}),_}}class pi{constructor(c,l,_){this.name=c,this.ast=l,this._normalizer=_,this.transitionFactories=[],this.states=new Map,l.states.forEach(k=>{this.states.set(k.name,new eo(k.style,k.options&&k.options.params||{},_))}),to(this.states,"true","1"),to(this.states,"false","0"),l.transitions.forEach(k=>{this.transitionFactories.push(new zt(c,k,this.states))}),this.fallbackTransition=function fs(x,c,l){return new zt(x,{type:1,animation:{type:2,steps:[],options:null},matchers:[(_e,Ce)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,l,_,k){return this.transitionFactories.find(_e=>_e.match(c,l,_,k))||null}matchStyles(c,l,_){return this.fallbackTransition.buildStyles(c,l,_)}}function to(x,c,l){x.has(c)?x.has(l)||x.set(l,x.get(c)):x.has(l)&&x.set(c,x.get(l))}const Wi=new zn;class ts{constructor(c,l,_){this.bodyNode=c,this._driver=l,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(c,l){const _=[],$=nr(this._driver,l,_,[]);if(_.length)throw function xt(x){return new a.vHH(3503,!1)}();this._animations.set(c,$)}_buildPlayer(c,l,_){const k=c.element,$=ie(0,this._normalizer,0,c.keyframes,l,_);return this._driver.animate(k,$,c.duration,c.delay,c.easing,[],!0)}create(c,l,_={}){const k=[],$=this._animations.get(c);let _e;const Ce=new Map;if($?(_e=$i(this._driver,l,$,ji,qi,new Map,new Map,_,Wi,k),_e.forEach(Ut=>{const $t=Ye(Ce,Ut.element,new Map);Ut.postStyleProps.forEach(gn=>$t.set(gn,null))})):(k.push(function yn(){return new a.vHH(3300,!1)}()),_e=[]),k.length)throw function fi(x){return new a.vHH(3504,!1)}();Ce.forEach((Ut,$t)=>{Ut.forEach((gn,hn)=>{Ut.set(hn,this._driver.computeStyle($t,hn,ue.l3))})});const Dt=Zn(_e.map(Ut=>{const $t=Ce.get(Ut.element);return this._buildPlayer(Ut,new Map,$t)}));return this._playersById.set(c,Dt),Dt.onDestroy(()=>this.destroy(c)),this.players.push(Dt),Dt}destroy(c){const l=this._getPlayer(c);l.destroy(),this._playersById.delete(c);const _=this.players.indexOf(l);_>=0&&this.players.splice(_,1)}_getPlayer(c){const l=this._playersById.get(c);if(!l)throw function Cn(x){return new a.vHH(3301,!1)}();return l}listen(c,l,_,k){const $=X(l,"","","");return R(this._getPlayer(c),_,$,k),()=>{}}command(c,l,_,k){if("register"==_)return void this.register(c,k[0]);if("create"==_)return void this.create(c,l,k[0]||{});const $=this._getPlayer(c);switch(_){case"play":$.play();break;case"pause":$.pause();break;case"reset":$.reset();break;case"restart":$.restart();break;case"finish":$.finish();break;case"init":$.init();break;case"setPosition":$.setPosition(parseFloat(k[0]));break;case"destroy":this.destroy(c)}}}const Ho="ng-animate-queued",Do="ng-animate-disabled",mr=[],rr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ai="__ng_removed";class no{get params(){return this.options.params}constructor(c,l=""){this.namespaceId=l;const _=c&&c.hasOwnProperty("value");if(this.value=function ms(x){return x??null}(_?c.value:c),_){const $=mi(c);delete $.value,this.options=$}else this.options={};this.options.params||(this.options.params={})}absorbOptions(c){const l=c.params;if(l){const _=this.options.params;Object.keys(l).forEach(k=>{null==_[k]&&(_[k]=l[k])})}}}const xo="void",io=new no(xo);class Co{constructor(c,l,_){this.id=c,this.hostElement=l,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,Fi(l,this._hostClassName)}listen(c,l,_,k){if(!this._triggers.has(l))throw function ln(x,c){return new a.vHH(3302,!1)}();if(null==_||0==_.length)throw function be(x){return new a.vHH(3303,!1)}();if(!function jo(x){return"start"==x||"done"==x}(_))throw function Ee(x,c){return new a.vHH(3400,!1)}();const $=Ye(this._elementListeners,c,[]),_e={name:l,phase:_,callback:k};$.push(_e);const Ce=Ye(this._engine.statesByElement,c,new Map);return Ce.has(l)||(Fi(c,Ni),Fi(c,Ni+"-"+l),Ce.set(l,io)),()=>{this._engine.afterFlush(()=>{const Ke=$.indexOf(_e);Ke>=0&&$.splice(Ke,1),this._triggers.has(l)||Ce.delete(l)})}}register(c,l){return!this._triggers.has(c)&&(this._triggers.set(c,l),!0)}_getTrigger(c){const l=this._triggers.get(c);if(!l)throw function q(x){return new a.vHH(3401,!1)}();return l}trigger(c,l,_,k=!0){const $=this._getTrigger(l),_e=new Hr(this.id,l,c);let Ce=this._engine.statesByElement.get(c);Ce||(Fi(c,Ni),Fi(c,Ni+"-"+l),this._engine.statesByElement.set(c,Ce=new Map));let Ke=Ce.get(l);const Dt=new no(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&Ke&&Dt.absorbOptions(Ke.options),Ce.set(l,Dt),Ke||(Ke=io),Dt.value!==xo&&Ke.value===Dt.value){if(!function Ar(x,c){const l=Object.keys(x),_=Object.keys(c);if(l.length!=_.length)return!1;for(let k=0;k{Mn(c,En),wi(c,Hn)})}return}const gn=Ye(this._engine.playersByElement,c,[]);gn.forEach(Jt=>{Jt.namespaceId==this.id&&Jt.triggerName==l&&Jt.queued&&Jt.destroy()});let hn=$.matchTransition(Ke.value,Dt.value,c,Dt.params),Qt=!1;if(!hn){if(!k)return;hn=$.fallbackTransition,Qt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:l,transition:hn,fromState:Ke,toState:Dt,player:_e,isFallbackTransition:Qt}),Qt||(Fi(c,Ho),_e.onStart(()=>{Mr(c,Ho)})),_e.onDone(()=>{let Jt=this.players.indexOf(_e);Jt>=0&&this.players.splice(Jt,1);const En=this._engine.playersByElement.get(c);if(En){let Hn=En.indexOf(_e);Hn>=0&&En.splice(Hn,1)}}),this.players.push(_e),gn.push(_e),_e}deregister(c){this._triggers.delete(c),this._engine.statesByElement.forEach(l=>l.delete(c)),this._elementListeners.forEach((l,_)=>{this._elementListeners.set(_,l.filter(k=>k.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const l=this._engine.playersByElement.get(c);l&&(l.forEach(_=>_.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,l){const _=this._engine.driver.query(c,Kn,!0);_.forEach(k=>{if(k[Ai])return;const $=this._engine.fetchNamespacesByElement(k);$.size?$.forEach(_e=>_e.triggerLeaveAnimation(k,l,!1,!0)):this.clearElementCache(k)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(k=>this.clearElementCache(k)))}triggerLeaveAnimation(c,l,_,k){const $=this._engine.statesByElement.get(c),_e=new Map;if($){const Ce=[];if($.forEach((Ke,Dt)=>{if(_e.set(Dt,Ke.value),this._triggers.has(Dt)){const Ut=this.trigger(c,Dt,xo,k);Ut&&Ce.push(Ut)}}),Ce.length)return this._engine.markElementAsRemoved(this.id,c,!0,l,_e),_&&Zn(Ce).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const l=this._elementListeners.get(c),_=this._engine.statesByElement.get(c);if(l&&_){const k=new Set;l.forEach($=>{const _e=$.name;if(k.has(_e))return;k.add(_e);const Ke=this._triggers.get(_e).fallbackTransition,Dt=_.get(_e)||io,Ut=new no(xo),$t=new Hr(this.id,_e,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:_e,transition:Ke,fromState:Dt,toState:Ut,player:$t,isFallbackTransition:!0})})}}removeNode(c,l){const _=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,l),this.triggerLeaveAnimation(c,l,!0))return;let k=!1;if(_.totalAnimations){const $=_.players.length?_.playersByQueriedElement.get(c):[];if($&&$.length)k=!0;else{let _e=c;for(;_e=_e.parentNode;)if(_.statesByElement.get(_e)){k=!0;break}}}if(this.prepareLeaveAnimationListeners(c),k)_.markElementAsRemoved(this.id,c,!1,l);else{const $=c[Ai];(!$||$===rr)&&(_.afterFlush(()=>this.clearElementCache(c)),_.destroyInnerAnimations(c),_._onRemovalComplete(c,l))}}insertNode(c,l){Fi(c,this._hostClassName)}drainQueuedTransitions(c){const l=[];return this._queue.forEach(_=>{const k=_.player;if(k.destroyed)return;const $=_.element,_e=this._elementListeners.get($);_e&&_e.forEach(Ce=>{if(Ce.name==_.triggerName){const Ke=X($,_.triggerName,_.fromState.value,_.toState.value);Ke._data=c,R(_.player,Ce.phase,Ke,Ce.callback)}}),k.markedForDestroy?this._engine.afterFlush(()=>{k.destroy()}):l.push(_)}),this._queue=[],l.sort((_,k)=>{const $=_.transition.ast.depCount,_e=k.transition.ast.depCount;return 0==$||0==_e?$-_e:this._engine.driver.containsElement(_.element,k.element)?1:-1})}destroy(c){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,c)}elementContainsData(c){let l=!1;return this._elementListeners.has(c)&&(l=!0),l=!!this._queue.find(_=>_.element===c)||l,l}}class ro{_onRemovalComplete(c,l){this.onRemovalComplete(c,l)}constructor(c,l,_){this.bodyNode=c,this.driver=l,this._normalizer=_,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(k,$)=>{}}get queuedPlayers(){const c=[];return this._namespaceList.forEach(l=>{l.players.forEach(_=>{_.queued&&c.push(_)})}),c}createNamespace(c,l){const _=new Co(c,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(_,l):(this.newHostElements.set(l,_),this.collectEnterElement(l)),this._namespaceLookup[c]=_}_balanceNamespaceList(c,l){const _=this._namespaceList,k=this.namespacesByHostElement;if(_.length-1>=0){let _e=!1,Ce=this.driver.getParentElement(l);for(;Ce;){const Ke=k.get(Ce);if(Ke){const Dt=_.indexOf(Ke);_.splice(Dt+1,0,c),_e=!0;break}Ce=this.driver.getParentElement(Ce)}_e||_.unshift(c)}else _.push(c);return k.set(l,c),c}register(c,l){let _=this._namespaceLookup[c];return _||(_=this.createNamespace(c,l)),_}registerTrigger(c,l,_){let k=this._namespaceLookup[c];k&&k.register(l,_)&&this.totalAnimations++}destroy(c,l){if(!c)return;const _=this._fetchNamespace(c);this.afterFlush(()=>{this.namespacesByHostElement.delete(_.hostElement),delete this._namespaceLookup[c];const k=this._namespaceList.indexOf(_);k>=0&&this._namespaceList.splice(k,1)}),this.afterFlushAnimationsDone(()=>_.destroy(l))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const l=new Set,_=this.statesByElement.get(c);if(_)for(let k of _.values())if(k.namespaceId){const $=this._fetchNamespace(k.namespaceId);$&&l.add($)}return l}trigger(c,l,_,k){if(gr(l)){const $=this._fetchNamespace(c);if($)return $.trigger(l,_,k),!0}return!1}insertNode(c,l,_,k){if(!gr(l))return;const $=l[Ai];if($&&$.setForRemoval){$.setForRemoval=!1,$.setForMove=!0;const _e=this.collectedLeaveElements.indexOf(l);_e>=0&&this.collectedLeaveElements.splice(_e,1)}if(c){const _e=this._fetchNamespace(c);_e&&_e.insertNode(l,_)}k&&this.collectEnterElement(l)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,l){l?this.disabledNodes.has(c)||(this.disabledNodes.add(c),Fi(c,Do)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),Mr(c,Do))}removeNode(c,l,_,k){if(gr(l)){const $=c?this._fetchNamespace(c):null;if($?$.removeNode(l,k):this.markElementAsRemoved(c,l,!1,k),_){const _e=this.namespacesByHostElement.get(l);_e&&_e.id!==c&&_e.removeNode(l,k)}}else this._onRemovalComplete(l,k)}markElementAsRemoved(c,l,_,k,$){this.collectedLeaveElements.push(l),l[Ai]={namespaceId:c,setForRemoval:k,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:$}}listen(c,l,_,k,$){return gr(l)?this._fetchNamespace(c).listen(l,_,k,$):()=>{}}_buildInstruction(c,l,_,k,$){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,_,k,c.fromState.options,c.toState.options,l,$)}destroyInnerAnimations(c){let l=this.driver.query(c,Kn,!0);l.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(c,Oi,!0),l.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(c){const l=this.playersByElement.get(c);l&&l.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(c){const l=this.playersByQueriedElement.get(c);l&&l.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return Zn(this.players).onDone(()=>c());c()})}processLeaveNode(c){const l=c[Ai];if(l&&l.setForRemoval){if(c[Ai]=rr,l.namespaceId){this.destroyInnerAnimations(c);const _=this._fetchNamespace(l.namespaceId);_&&_.clearElementCache(c)}this._onRemovalComplete(c,l.setForRemoval)}c.classList?.contains(Do)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(c=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,k)=>this._balanceNamespaceList(_,k)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;__()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],l.length?Zn(l).onDone(()=>{_.forEach(k=>k())}):_.forEach(k=>k())}}reportError(c){throw function Te(x){return new a.vHH(3402,!1)}()}_flushAnimations(c,l){const _=new zn,k=[],$=new Map,_e=[],Ce=new Map,Ke=new Map,Dt=new Map,Ut=new Set;this.disabledNodes.forEach(Xt=>{Ut.add(Xt);const en=this.driver.query(Xt,".ng-animate-queued",!0);for(let Bt=0;Bt{const Bt=ji+Jt++;Qt.set(en,Bt),Xt.forEach(In=>Fi(In,Bt))});const En=[],Hn=new Set,si=new Set;for(let Xt=0;XtHn.add(In)):si.add(en))}const jn=new Map,hi=os(gn,Array.from(Hn));hi.forEach((Xt,en)=>{const Bt=qi+Jt++;jn.set(en,Bt),Xt.forEach(In=>Fi(In,Bt))}),c.push(()=>{hn.forEach((Xt,en)=>{const Bt=Qt.get(en);Xt.forEach(In=>Mr(In,Bt))}),hi.forEach((Xt,en)=>{const Bt=jn.get(en);Xt.forEach(In=>Mr(In,Bt))}),En.forEach(Xt=>{this.processLeaveNode(Xt)})});const co=[],or=[];for(let Xt=this._namespaceList.length-1;Xt>=0;Xt--)this._namespaceList[Xt].drainQueuedTransitions(l).forEach(Bt=>{const In=Bt.player,_i=Bt.element;if(co.push(In),this.collectedEnterElements.length){const Ti=_i[Ai];if(Ti&&Ti.setForMove){if(Ti.previousTriggersValues&&Ti.previousTriggersValues.has(Bt.triggerName)){const So=Ti.previousTriggersValues.get(Bt.triggerName),On=this.statesByElement.get(Bt.element);if(On&&On.has(Bt.triggerName)){const To=On.get(Bt.triggerName);To.value=So,On.set(Bt.triggerName,To)}}return void In.destroy()}}const Sr=!$t||!this.driver.containsElement($t,_i),Ki=jn.get(_i),ho=Qt.get(_i),Jn=this._buildInstruction(Bt,_,ho,Ki,Sr);if(Jn.errors&&Jn.errors.length)return void or.push(Jn);if(Sr)return In.onStart(()=>Mn(_i,Jn.fromStyles)),In.onDestroy(()=>wi(_i,Jn.toStyles)),void k.push(In);if(Bt.isFallbackTransition)return In.onStart(()=>Mn(_i,Jn.fromStyles)),In.onDestroy(()=>wi(_i,Jn.toStyles)),void k.push(In);const sa=[];Jn.timelines.forEach(Ti=>{Ti.stretchStartingKeyframe=!0,this.disabledNodes.has(Ti.element)||sa.push(Ti)}),Jn.timelines=sa,_.append(_i,Jn.timelines),_e.push({instruction:Jn,player:In,element:_i}),Jn.queriedElements.forEach(Ti=>Ye(Ce,Ti,[]).push(In)),Jn.preStyleProps.forEach((Ti,So)=>{if(Ti.size){let On=Ke.get(So);On||Ke.set(So,On=new Set),Ti.forEach((To,Io)=>On.add(Io))}}),Jn.postStyleProps.forEach((Ti,So)=>{let On=Dt.get(So);On||Dt.set(So,On=new Set),Ti.forEach((To,Io)=>On.add(Io))})});if(or.length){const Xt=[];or.forEach(en=>{Xt.push(function Nt(x,c){return new a.vHH(3505,!1)}())}),co.forEach(en=>en.destroy()),this.reportError(Xt)}const Li=new Map,sr=new Map;_e.forEach(Xt=>{const en=Xt.element;_.has(en)&&(sr.set(en,en),this._beforeAnimationBuild(Xt.player.namespaceId,Xt.instruction,Li))}),k.forEach(Xt=>{const en=Xt.element;this._getPreviousPlayers(en,!1,Xt.namespaceId,Xt.triggerName,null).forEach(In=>{Ye(Li,en,[]).push(In),In.destroy()})});const Yi=En.filter(Xt=>$n(Xt,Ke,Dt)),Ci=new Map;rs(Ci,this.driver,si,Dt,ue.l3).forEach(Xt=>{$n(Xt,Ke,Dt)&&Yi.push(Xt)});const _r=new Map;hn.forEach((Xt,en)=>{rs(_r,this.driver,new Set(Xt),Ke,ue.k1)}),Yi.forEach(Xt=>{const en=Ci.get(Xt),Bt=_r.get(Xt);Ci.set(Xt,new Map([...Array.from(en?.entries()??[]),...Array.from(Bt?.entries()??[])]))});const jr=[],$o=[],uo={};_e.forEach(Xt=>{const{element:en,player:Bt,instruction:In}=Xt;if(_.has(en)){if(Ut.has(en))return Bt.onDestroy(()=>wi(en,In.toStyles)),Bt.disabled=!0,Bt.overrideTotalTime(In.totalTime),void k.push(Bt);let _i=uo;if(sr.size>1){let Ki=en;const ho=[];for(;Ki=Ki.parentNode;){const Jn=sr.get(Ki);if(Jn){_i=Jn;break}ho.push(Ki)}ho.forEach(Jn=>sr.set(Jn,_i))}const Sr=this._buildAnimation(Bt.namespaceId,In,Li,$,_r,Ci);if(Bt.setRealPlayer(Sr),_i===uo)jr.push(Bt);else{const Ki=this.playersByElement.get(_i);Ki&&Ki.length&&(Bt.parentPlayer=Zn(Ki)),k.push(Bt)}}else Mn(en,In.fromStyles),Bt.onDestroy(()=>wi(en,In.toStyles)),$o.push(Bt),Ut.has(en)&&k.push(Bt)}),$o.forEach(Xt=>{const en=$.get(Xt.element);if(en&&en.length){const Bt=Zn(en);Xt.setRealPlayer(Bt)}}),k.forEach(Xt=>{Xt.parentPlayer?Xt.syncPlayerEvents(Xt.parentPlayer):Xt.destroy()});for(let Xt=0;Xt!Sr.destroyed);_i.length?ss(this,en,_i):this.processLeaveNode(en)}return En.length=0,jr.forEach(Xt=>{this.players.push(Xt),Xt.onDone(()=>{Xt.destroy();const en=this.players.indexOf(Xt);this.players.splice(en,1)}),Xt.play()}),jr}elementContainsData(c,l){let _=!1;const k=l[Ai];return k&&k.setForRemoval&&(_=!0),this.playersByElement.has(l)&&(_=!0),this.playersByQueriedElement.has(l)&&(_=!0),this.statesByElement.has(l)&&(_=!0),this._fetchNamespace(c).elementContainsData(l)||_}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,l,_,k,$){let _e=[];if(l){const Ce=this.playersByQueriedElement.get(c);Ce&&(_e=Ce)}else{const Ce=this.playersByElement.get(c);if(Ce){const Ke=!$||$==xo;Ce.forEach(Dt=>{Dt.queued||!Ke&&Dt.triggerName!=k||_e.push(Dt)})}}return(_||k)&&(_e=_e.filter(Ce=>!(_&&_!=Ce.namespaceId||k&&k!=Ce.triggerName))),_e}_beforeAnimationBuild(c,l,_){const $=l.element,_e=l.isRemovalTransition?void 0:c,Ce=l.isRemovalTransition?void 0:l.triggerName;for(const Ke of l.timelines){const Dt=Ke.element,Ut=Dt!==$,$t=Ye(_,Dt,[]);this._getPreviousPlayers(Dt,Ut,_e,Ce,l.toState).forEach(hn=>{const Qt=hn.getRealPlayer();Qt.beforeDestroy&&Qt.beforeDestroy(),hn.destroy(),$t.push(hn)})}Mn($,l.fromStyles)}_buildAnimation(c,l,_,k,$,_e){const Ce=l.triggerName,Ke=l.element,Dt=[],Ut=new Set,$t=new Set,gn=l.timelines.map(Qt=>{const Jt=Qt.element;Ut.add(Jt);const En=Jt[Ai];if(En&&En.removedBeforeQueried)return new ue.ZN(Qt.duration,Qt.delay);const Hn=Jt!==Ke,si=function Is(x){const c=[];return gi(x,c),c}((_.get(Jt)||mr).map(Li=>Li.getRealPlayer())).filter(Li=>!!Li.element&&Li.element===Jt),jn=$.get(Jt),hi=_e.get(Jt),co=ie(0,this._normalizer,0,Qt.keyframes,jn,hi),or=this._buildPlayer(Qt,co,si);if(Qt.subTimeline&&k&&$t.add(Jt),Hn){const Li=new Hr(c,Ce,Jt);Li.setRealPlayer(or),Dt.push(Li)}return or});Dt.forEach(Qt=>{Ye(this.playersByQueriedElement,Qt.element,[]).push(Qt),Qt.onDone(()=>function oo(x,c,l){let _=x.get(c);if(_){if(_.length){const k=_.indexOf(l);_.splice(k,1)}0==_.length&&x.delete(c)}return _}(this.playersByQueriedElement,Qt.element,Qt))}),Ut.forEach(Qt=>Fi(Qt,yr));const hn=Zn(gn);return hn.onDestroy(()=>{Ut.forEach(Qt=>Mr(Qt,yr)),wi(Ke,l.toStyles)}),$t.forEach(Qt=>{Ye(k,Qt,[]).push(hn)}),hn}_buildPlayer(c,l,_){return l.length>0?this.driver.animate(c.element,l,c.duration,c.delay,c.easing,_):new ue.ZN(c.duration,c.delay)}}class Hr{constructor(c,l,_){this.namespaceId=c,this.triggerName=l,this.element=_,this._player=new ue.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(c){this._containsRealPlayer||(this._player=c,this._queuedCallbacks.forEach((l,_)=>{l.forEach(k=>R(c,_,void 0,k))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const l=this._player;l.triggerCallback&&c.onStart(()=>l.triggerCallback("start")),c.onDone(()=>this.finish()),c.onDestroy(()=>this.destroy())}_queueEvent(c,l){Ye(this._queuedCallbacks,c,[]).push(l)}onDone(c){this.queued&&this._queueEvent("done",c),this._player.onDone(c)}onStart(c){this.queued&&this._queueEvent("start",c),this._player.onStart(c)}onDestroy(c){this.queued&&this._queueEvent("destroy",c),this._player.onDestroy(c)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(c){this.queued||this._player.setPosition(c)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(c){const l=this._player;l.triggerCallback&&l.triggerCallback(c)}}function gr(x){return x&&1===x.nodeType}function is(x,c){const l=x.style.display;return x.style.display=c??"none",l}function rs(x,c,l,_,k){const $=[];l.forEach(Ke=>$.push(is(Ke)));const _e=[];_.forEach((Ke,Dt)=>{const Ut=new Map;Ke.forEach($t=>{const gn=c.computeStyle(Dt,$t,k);Ut.set($t,gn),(!gn||0==gn.length)&&(Dt[Ai]=pr,_e.push(Dt))}),x.set(Dt,Ut)});let Ce=0;return l.forEach(Ke=>is(Ke,$[Ce++])),_e}function os(x,c){const l=new Map;if(x.forEach(Ce=>l.set(Ce,[])),0==c.length)return l;const k=new Set(c),$=new Map;function _e(Ce){if(!Ce)return 1;let Ke=$.get(Ce);if(Ke)return Ke;const Dt=Ce.parentNode;return Ke=l.has(Dt)?Dt:k.has(Dt)?1:_e(Dt),$.set(Ce,Ke),Ke}return c.forEach(Ce=>{const Ke=_e(Ce);1!==Ke&&l.get(Ke).push(Ce)}),l}function Fi(x,c){x.classList?.add(c)}function Mr(x,c){x.classList?.remove(c)}function ss(x,c,l){Zn(l).onDone(()=>x.processLeaveNode(c))}function gi(x,c){for(let l=0;lk.add($)):c.set(x,_),l.delete(x),!0}class wo{constructor(c,l,_){this.bodyNode=c,this._driver=l,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(k,$)=>{},this._transitionEngine=new ro(c,l,_),this._timelineEngine=new ts(c,l,_),this._transitionEngine.onRemovalComplete=(k,$)=>this.onRemovalComplete(k,$)}registerTrigger(c,l,_,k,$){const _e=c+"-"+k;let Ce=this._triggerCache[_e];if(!Ce){const Ke=[],Ut=nr(this._driver,$,Ke,[]);if(Ke.length)throw function Ot(x,c){return new a.vHH(3404,!1)}();Ce=function hs(x,c,l){return new pi(x,c,l)}(k,Ut,this._normalizer),this._triggerCache[_e]=Ce}this._transitionEngine.registerTrigger(l,k,Ce)}register(c,l){this._transitionEngine.register(c,l)}destroy(c,l){this._transitionEngine.destroy(c,l)}onInsert(c,l,_,k){this._transitionEngine.insertNode(c,l,_,k)}onRemove(c,l,_,k){this._transitionEngine.removeNode(c,l,k||!1,_)}disableAnimations(c,l){this._transitionEngine.markElementAsDisabled(c,l)}process(c,l,_,k){if("@"==_.charAt(0)){const[$,_e]=Pt(_);this._timelineEngine.command($,l,_e,k)}else this._transitionEngine.trigger(c,l,_,k)}listen(c,l,_,k,$){if("@"==_.charAt(0)){const[_e,Ce]=Pt(_);return this._timelineEngine.listen(_e,l,Ce,$)}return this._transitionEngine.listen(c,l,_,k,$)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ps=(()=>{class x{constructor(l,_,k){this._element=l,this._startStyles=_,this._endStyles=k,this._state=0;let $=x.initialStylesByElement.get(l);$||x.initialStylesByElement.set(l,$=new Map),this._initialStyles=$}start(){this._state<1&&(this._startStyles&&wi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(wi(this._element,this._initialStyles),this._endStyles&&(wi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(x.initialStylesByElement.delete(this._element),this._startStyles&&(Mn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mn(this._element,this._endStyles),this._endStyles=null),wi(this._element,this._initialStyles),this._state=3)}}return x.initialStylesByElement=new WeakMap,x})();function zo(x){let c=null;return x.forEach((l,_)=>{(function ks(x){return"display"===x||"position"===x})(_)&&(c=c||new Map,c.set(_,l))}),c}class as{constructor(c,l,_,k){this.element=c,this.keyframes=l,this.options=_,this._specialStyles=k,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(c=>c()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const c=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,c,this.options),this._finalKeyframe=c.length?c[c.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(c){const l=[];return c.forEach(_=>{l.push(Object.fromEntries(_))}),l}_triggerWebAnimation(c,l,_){return c.animate(this._convertKeyframesToObject(l),_)}onStart(c){this._originalOnStartFns.push(c),this._onStartFns.push(c)}onDone(c){this._originalOnDoneFns.push(c),this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(c=>c()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(c=>c()),this._onDestroyFns=[])}setPosition(c){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=c*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const c=new Map;this.hasStarted()&&this._finalKeyframe.forEach((_,k)=>{"offset"!==k&&c.set(k,this._finished?_:Rr(this.element,k))}),this.currentSnapshot=c}triggerCallback(c){const l="start"===c?this._onStartFns:this._onDoneFns;l.forEach(_=>_()),l.length=0}}class Mo{validateStyleProperty(c){return!0}validateAnimatableStyleProperty(c){return!0}matchesElement(c,l){return!1}containsElement(c,l){return Bn(c,l)}getParentElement(c){return Pn(c)}query(c,l,_){return Nn(c,l,_)}computeStyle(c,l,_){return window.getComputedStyle(c)[l]}animate(c,l,_,k,$,_e=[]){const Ke={duration:_,delay:k,fill:0==k?"both":"forwards"};$&&(Ke.easing=$);const Dt=new Map,Ut=_e.filter(hn=>hn instanceof as);(function Yr(x,c){return 0===x||0===c})(_,k)&&Ut.forEach(hn=>{hn.currentSnapshot.forEach((Qt,Jt)=>Dt.set(Jt,Qt))});let $t=function _o(x){return x.length?x[0]instanceof Map?x:x.map(c=>Er(c)):[]}(l).map(hn=>Ei(hn));$t=function No(x,c,l){if(l.size&&c.length){let _=c[0],k=[];if(l.forEach(($,_e)=>{_.has(_e)||k.push(_e),_.set(_e,$)}),k.length)for(let $=1;$_e.set(Ce,Rr(x,Ce)))}}return c}(c,$t,Dt);const gn=function Os(x,c){let l=null,_=null;return Array.isArray(c)&&c.length?(l=zo(c[0]),c.length>1&&(_=zo(c[c.length-1]))):c instanceof Map&&(l=zo(c)),l||_?new ps(x,l,_):null}(c,$t);return new as(c,$t,Ke,gn)}}let g=(()=>{class x extends ue._j{constructor(l,_){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(_.body,{id:"0",encapsulation:a.ifc.None,styles:[],data:{animation:[]}})}build(l){const _=this._nextAnimationId.toString();this._nextAnimationId++;const k=Array.isArray(l)?(0,ue.vP)(l):l;return H(this._renderer,null,_,"register",[k]),new O(_,this._renderer)}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(a.FYo),a.LFG(te.K0))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})();class O extends ue.LC{constructor(c,l){super(),this._id=c,this._renderer=l}create(c,l){return new D(this._id,c,l||{},this._renderer)}}class D{constructor(c,l,_,k){this.id=c,this.element=l,this._renderer=k,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",_)}_listen(c,l){return this._renderer.listen(this.element,`@@${this.id}:${c}`,l)}_command(c,...l){return H(this._renderer,this.element,this.id,c,l)}onDone(c){this._listen("done",c)}onStart(c){this._listen("start",c)}onDestroy(c){this._listen("destroy",c)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(c){this._command("setPosition",c)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function H(x,c,l,_,k){return x.setProperty(c,`@@${l}:${_}`,k)}const Je="@.disabled";let gt=(()=>{class x{constructor(l,_,k){this.delegate=l,this.engine=_,this._zone=k,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),_.onRemovalComplete=($,_e)=>{const Ce=_e?.parentNode($);Ce&&_e.removeChild(Ce,$)}}createRenderer(l,_){const $=this.delegate.createRenderer(l,_);if(!(l&&_&&_.data&&_.data.animation)){let Ut=this._rendererCache.get($);return Ut||(Ut=new Gt("",$,this.engine,()=>this._rendererCache.delete($)),this._rendererCache.set($,Ut)),Ut}const _e=_.id,Ce=_.id+"-"+this._currentId;this._currentId++,this.engine.register(Ce,l);const Ke=Ut=>{Array.isArray(Ut)?Ut.forEach(Ke):this.engine.registerTrigger(_e,Ce,l,Ut.name,Ut)};return _.data.animation.forEach(Ke),new Tn(this,Ce,$,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,_,k){l>=0&&l_(k)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach($=>{const[_e,Ce]=$;_e(Ce)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([_,k]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(a.FYo),a.LFG(wo),a.LFG(a.R0b))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})();class Gt{constructor(c,l,_,k){this.namespaceId=c,this.delegate=l,this.engine=_,this._onDestroy=k,this.destroyNode=this.delegate.destroyNode?$=>l.destroyNode($):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(c,l){return this.delegate.createElement(c,l)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,l){this.delegate.appendChild(c,l),this.engine.onInsert(this.namespaceId,l,c,!1)}insertBefore(c,l,_,k=!0){this.delegate.insertBefore(c,l,_),this.engine.onInsert(this.namespaceId,l,c,k)}removeChild(c,l,_){this.engine.onRemove(this.namespaceId,l,this.delegate,_)}selectRootElement(c,l){return this.delegate.selectRootElement(c,l)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,l,_,k){this.delegate.setAttribute(c,l,_,k)}removeAttribute(c,l,_){this.delegate.removeAttribute(c,l,_)}addClass(c,l){this.delegate.addClass(c,l)}removeClass(c,l){this.delegate.removeClass(c,l)}setStyle(c,l,_,k){this.delegate.setStyle(c,l,_,k)}removeStyle(c,l,_){this.delegate.removeStyle(c,l,_)}setProperty(c,l,_){"@"==l.charAt(0)&&l==Je?this.disableAnimations(c,!!_):this.delegate.setProperty(c,l,_)}setValue(c,l){this.delegate.setValue(c,l)}listen(c,l,_){return this.delegate.listen(c,l,_)}disableAnimations(c,l){this.engine.disableAnimations(c,l)}}class Tn extends Gt{constructor(c,l,_,k,$){super(l,_,k,$),this.factory=c,this.namespaceId=l}setProperty(c,l,_){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Je?this.disableAnimations(c,_=void 0===_||!!_):this.engine.process(this.namespaceId,c,l.slice(1),_):this.delegate.setProperty(c,l,_)}listen(c,l,_){if("@"==l.charAt(0)){const k=function bn(x){switch(x){case"body":return document.body;case"document":return document;case"window":return window;default:return x}}(c);let $=l.slice(1),_e="";return"@"!=$.charAt(0)&&([$,_e]=function An(x){const c=x.indexOf(".");return[x.substring(0,c),x.slice(c+1)]}($)),this.engine.listen(this.namespaceId,k,$,_e,Ce=>{this.factory.scheduleListenerCallback(Ce._data||-1,_,Ce)})}return this.delegate.listen(c,l,_)}}const ii=[{provide:ue._j,useClass:g},{provide:Ur,useFactory:function qn(){return new y}},{provide:wo,useClass:(()=>{class x extends wo{constructor(l,_,k,$){super(l.body,_,k)}ngOnDestroy(){this.flush()}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(te.K0),a.LFG(li),a.LFG(Ur),a.LFG(a.z2F))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})()},{provide:a.FYo,useFactory:function Sn(x,c,l){return new gt(x,c,l)},deps:[o.se,wo,a.R0b]}],Ui=[{provide:li,useFactory:()=>new Mo},{provide:a.QbO,useValue:"BrowserAnimations"},...ii],Si=[{provide:li,useClass:mn},{provide:a.QbO,useValue:"NoopAnimations"},...ii];let Hi=(()=>{class x{static withConfig(l){return{ngModule:x,providers:l.disableAnimations?Si:Ui}}}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({providers:Ui,imports:[o.b2]}),x})();var ao=f(9998),Rs=f(3822);const cs=[{path:"",component:ot}];let gs=(()=>{class x{}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({imports:[te.ez,ee.Bz.forChild(cs),Rs.m]}),x})();const ls=[{path:"",component:F}];let _s=(()=>{class x{}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({imports:[te.ez,Rs.m,ee.Bz.forChild(ls),Re.lQ,Re.a]}),x})();var Ps=f(1985);let Fs=(()=>{class x{}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x,bootstrap:[se]}),x.\u0275inj=a.cJS({providers:[{provide:E.TP,useClass:Z,multi:!0},ao.i,It,Ps.Q],imports:[o.b2,L,E.JF,Hi,ft.H,Re.a,ye,gs,_s]}),x})();Q.N.production&&(0,a.G48)(),o.q6().bootstrapModule(Fs).catch(x=>console.error(x))},3167:_t=>{function f(a){this.message=a}(f.prototype=new Error).name="InvalidCharacterError",_t.exports=typeof window<"u"&&window.atob&&window.atob.bind(window)||function o(a){var E=String(a).replace(/=+$/,"");if(E.length%4==1)throw new f("'atob' failed: The string to be decoded is not correctly encoded.");for(var Q,G,W=0,re=0,K="";G=E.charAt(re++);~G&&(Q=W%4?64*Q+G:G,W++%4)?K+=String.fromCharCode(255&Q>>(-2*W&6)):0)G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(G);return K}},6815:(_t,De,f)=>{var o=f(3167);_t.exports=function(E){var W=E.replace(/-/g,"+").replace(/_/g,"/");switch(W.length%4){case 0:break;case 2:W+="==";break;case 3:W+="=";break;default:throw"Illegal base64url string!"}try{return function a(E){return decodeURIComponent(o(E).replace(/(.)/g,function(W,Q){var G=Q.charCodeAt(0).toString(16).toUpperCase();return G.length<2&&(G="0"+G),"%"+G}))}(W)}catch{return o(W)}}},491:(_t,De,f)=>{"use strict";var o=f(6815);function a(E){this.message=E}(a.prototype=new Error).name="InvalidTokenError",_t.exports=function(E,W){if("string"!=typeof E)throw new a("Invalid token specified");var Q=!0===(W=W||{}).header?0:1;try{return JSON.parse(o(E.split(".")[Q]))}catch(G){throw new a("Invalid token specified: "+G.message)}},_t.exports.InvalidTokenError=a},1135:(_t,De,f)=>{"use strict";f.d(De,{X:()=>a});var o=f(7579);class a extends o.x{constructor(W){super(),this._value=W}get value(){return this.getValue()}_subscribe(W){const Q=super._subscribe(W);return!Q.closed&&W.next(this._value),Q}getValue(){const{hasError:W,thrownError:Q,_value:G}=this;if(W)throw Q;return this._throwIfClosed(),G}next(W){super.next(this._value=W)}}},9751:(_t,De,f)=>{"use strict";f.d(De,{y:()=>K});var o=f(930),a=f(727),E=f(8822),W=f(9635),Q=f(2416),G=f(576),re=f(2806);let K=(()=>{class te{constructor(xe){xe&&(this._subscribe=xe)}lift(xe){const Se=new te;return Se.source=this,Se.operator=xe,Se}subscribe(xe,Se,Re){const Me=function he(te){return te&&te instanceof o.Lv||function ee(te){return te&&(0,G.m)(te.next)&&(0,G.m)(te.error)&&(0,G.m)(te.complete)}(te)&&(0,a.Nn)(te)}(xe)?xe:new o.Hp(xe,Se,Re);return(0,re.x)(()=>{const{operator:rt,source:tt}=this;Me.add(rt?rt.call(Me,tt):tt?this._subscribe(Me):this._trySubscribe(Me))}),Me}_trySubscribe(xe){try{return this._subscribe(xe)}catch(Se){xe.error(Se)}}forEach(xe,Se){return new(Se=Z(Se))((Re,Me)=>{const rt=new o.Hp({next:tt=>{try{xe(tt)}catch(Ge){Me(Ge),rt.unsubscribe()}},error:Me,complete:Re});this.subscribe(rt)})}_subscribe(xe){var Se;return null===(Se=this.source)||void 0===Se?void 0:Se.subscribe(xe)}[E.L](){return this}pipe(...xe){return(0,W.U)(xe)(this)}toPromise(xe){return new(xe=Z(xe))((Se,Re)=>{let Me;this.subscribe(rt=>Me=rt,rt=>Re(rt),()=>Se(Me))})}}return te.create=ke=>new te(ke),te})();function Z(te){var ke;return null!==(ke=te??Q.v.Promise)&&void 0!==ke?ke:Promise}},7579:(_t,De,f)=>{"use strict";f.d(De,{x:()=>re});var o=f(9751),a=f(727);const W=(0,f(3888).d)(Z=>function(){Z(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=f(8737),G=f(2806);let re=(()=>{class Z extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(he){const te=new K(this,this);return te.operator=he,te}_throwIfClosed(){if(this.closed)throw new W}next(he){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const te of this.currentObservers)te.next(he)}})}error(he){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=he;const{observers:te}=this;for(;te.length;)te.shift().error(he)}})}complete(){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:he}=this;for(;he.length;)he.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var he;return(null===(he=this.observers)||void 0===he?void 0:he.length)>0}_trySubscribe(he){return this._throwIfClosed(),super._trySubscribe(he)}_subscribe(he){return this._throwIfClosed(),this._checkFinalizedStatuses(he),this._innerSubscribe(he)}_innerSubscribe(he){const{hasError:te,isStopped:ke,observers:xe}=this;return te||ke?a.Lc:(this.currentObservers=null,xe.push(he),new a.w0(()=>{this.currentObservers=null,(0,Q.P)(xe,he)}))}_checkFinalizedStatuses(he){const{hasError:te,thrownError:ke,isStopped:xe}=this;te?he.error(ke):xe&&he.complete()}asObservable(){const he=new o.y;return he.source=this,he}}return Z.create=(ee,he)=>new K(ee,he),Z})();class K extends re{constructor(ee,he){super(),this.destination=ee,this.source=he}next(ee){var he,te;null===(te=null===(he=this.destination)||void 0===he?void 0:he.next)||void 0===te||te.call(he,ee)}error(ee){var he,te;null===(te=null===(he=this.destination)||void 0===he?void 0:he.error)||void 0===te||te.call(he,ee)}complete(){var ee,he;null===(he=null===(ee=this.destination)||void 0===ee?void 0:ee.complete)||void 0===he||he.call(ee)}_subscribe(ee){var he,te;return null!==(te=null===(he=this.source)||void 0===he?void 0:he.subscribe(ee))&&void 0!==te?te:a.Lc}}},930:(_t,De,f)=>{"use strict";f.d(De,{Hp:()=>Re,Lv:()=>te});var o=f(576),a=f(727),E=f(2416),W=f(7849),Q=f(5032);const G=Z("C",void 0,void 0);function Z(fe,N,F){return{kind:fe,value:N,error:F}}var ee=f(3410),he=f(2806);class te extends a.w0{constructor(N){super(),this.isStopped=!1,N?(this.destination=N,(0,a.Nn)(N)&&N.add(this)):this.destination=Ge}static create(N,F,U){return new Re(N,F,U)}next(N){this.isStopped?tt(function K(fe){return Z("N",fe,void 0)}(N),this):this._next(N)}error(N){this.isStopped?tt(function re(fe){return Z("E",void 0,fe)}(N),this):(this.isStopped=!0,this._error(N))}complete(){this.isStopped?tt(G,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(N){this.destination.next(N)}_error(N){try{this.destination.error(N)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ke=Function.prototype.bind;function xe(fe,N){return ke.call(fe,N)}class Se{constructor(N){this.partialObserver=N}next(N){const{partialObserver:F}=this;if(F.next)try{F.next(N)}catch(U){Me(U)}}error(N){const{partialObserver:F}=this;if(F.error)try{F.error(N)}catch(U){Me(U)}else Me(N)}complete(){const{partialObserver:N}=this;if(N.complete)try{N.complete()}catch(F){Me(F)}}}class Re extends te{constructor(N,F,U){let ce;if(super(),(0,o.m)(N)||!N)ce={next:N??void 0,error:F??void 0,complete:U??void 0};else{let Oe;this&&E.v.useDeprecatedNextContext?(Oe=Object.create(N),Oe.unsubscribe=()=>this.unsubscribe(),ce={next:N.next&&xe(N.next,Oe),error:N.error&&xe(N.error,Oe),complete:N.complete&&xe(N.complete,Oe)}):ce=N}this.destination=new Se(ce)}}function Me(fe){E.v.useDeprecatedSynchronousErrorHandling?(0,he.O)(fe):(0,W.h)(fe)}function tt(fe,N){const{onStoppedNotification:F}=E.v;F&&ee.z.setTimeout(()=>F(fe,N))}const Ge={closed:!0,next:Q.Z,error:function rt(fe){throw fe},complete:Q.Z}},727:(_t,De,f)=>{"use strict";f.d(De,{Lc:()=>G,w0:()=>Q,Nn:()=>re});var o=f(576);const E=(0,f(3888).d)(Z=>function(he){Z(this),this.message=he?`${he.length} errors occurred during unsubscription:\n${he.map((te,ke)=>`${ke+1}) ${te.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=he});var W=f(8737);class Q{constructor(ee){this.initialTeardown=ee,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ee;if(!this.closed){this.closed=!0;const{_parentage:he}=this;if(he)if(this._parentage=null,Array.isArray(he))for(const xe of he)xe.remove(this);else he.remove(this);const{initialTeardown:te}=this;if((0,o.m)(te))try{te()}catch(xe){ee=xe instanceof E?xe.errors:[xe]}const{_finalizers:ke}=this;if(ke){this._finalizers=null;for(const xe of ke)try{K(xe)}catch(Se){ee=ee??[],Se instanceof E?ee=[...ee,...Se.errors]:ee.push(Se)}}if(ee)throw new E(ee)}}add(ee){var he;if(ee&&ee!==this)if(this.closed)K(ee);else{if(ee instanceof Q){if(ee.closed||ee._hasParent(this))return;ee._addParent(this)}(this._finalizers=null!==(he=this._finalizers)&&void 0!==he?he:[]).push(ee)}}_hasParent(ee){const{_parentage:he}=this;return he===ee||Array.isArray(he)&&he.includes(ee)}_addParent(ee){const{_parentage:he}=this;this._parentage=Array.isArray(he)?(he.push(ee),he):he?[he,ee]:ee}_removeParent(ee){const{_parentage:he}=this;he===ee?this._parentage=null:Array.isArray(he)&&(0,W.P)(he,ee)}remove(ee){const{_finalizers:he}=this;he&&(0,W.P)(he,ee),ee instanceof Q&&ee._removeParent(this)}}Q.EMPTY=(()=>{const Z=new Q;return Z.closed=!0,Z})();const G=Q.EMPTY;function re(Z){return Z instanceof Q||Z&&"closed"in Z&&(0,o.m)(Z.remove)&&(0,o.m)(Z.add)&&(0,o.m)(Z.unsubscribe)}function K(Z){(0,o.m)(Z)?Z():Z.unsubscribe()}},2416:(_t,De,f)=>{"use strict";f.d(De,{v:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(_t,De,f)=>{"use strict";f.d(De,{c:()=>G});var o=f(9751),a=f(727),E=f(8343),W=f(5403),Q=f(4482);class G extends o.y{constructor(K,Z){super(),this.source=K,this.subjectFactory=Z,this._subject=null,this._refCount=0,this._connection=null,(0,Q.A)(K)&&(this.lift=K.lift)}_subscribe(K){return this.getSubject().subscribe(K)}getSubject(){const K=this._subject;return(!K||K.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:K}=this;this._subject=this._connection=null,K?.unsubscribe()}connect(){let K=this._connection;if(!K){K=this._connection=new a.w0;const Z=this.getSubject();K.add(this.source.subscribe((0,W.x)(Z,void 0,()=>{this._teardown(),Z.complete()},ee=>{this._teardown(),Z.error(ee)},()=>this._teardown()))),K.closed&&(this._connection=null,K=a.w0.EMPTY)}return K}refCount(){return(0,E.x)()(this)}}},9841:(_t,De,f)=>{"use strict";f.d(De,{a:()=>ee,l:()=>he});var o=f(9751),a=f(4742),E=f(2076),W=f(4671),Q=f(3268),G=f(3269),re=f(1810),K=f(5403),Z=f(9672);function ee(...ke){const xe=(0,G.yG)(ke),Se=(0,G.jO)(ke),{args:Re,keys:Me}=(0,a.D)(ke);if(0===Re.length)return(0,E.D)([],xe);const rt=new o.y(he(Re,xe,Me?tt=>(0,re.n)(Me,tt):W.y));return Se?rt.pipe((0,Q.Z)(Se)):rt}function he(ke,xe,Se=W.y){return Re=>{te(xe,()=>{const{length:Me}=ke,rt=new Array(Me);let tt=Me,Ge=Me;for(let fe=0;fe{const N=(0,E.D)(ke[fe],xe);let F=!1;N.subscribe((0,K.x)(Re,U=>{rt[fe]=U,F||(F=!0,Ge--),Ge||Re.next(Se(rt.slice()))},()=>{--tt||Re.complete()}))},Re)},Re)}}function te(ke,xe,Se){ke?(0,Z.f)(Se,ke,xe):xe()}},7272:(_t,De,f)=>{"use strict";f.d(De,{z:()=>Q});var o=f(8189),E=f(3269),W=f(2076);function Q(...G){return function a(){return(0,o.J)(1)}()((0,W.D)(G,(0,E.yG)(G)))}},9770:(_t,De,f)=>{"use strict";f.d(De,{P:()=>E});var o=f(9751),a=f(8421);function E(W){return new o.y(Q=>{(0,a.Xf)(W()).subscribe(Q)})}},515:(_t,De,f)=>{"use strict";f.d(De,{E:()=>a});const a=new(f(9751).y)(Q=>Q.complete())},4128:(_t,De,f)=>{"use strict";f.d(De,{D:()=>K});var o=f(9751),a=f(4742),E=f(8421),W=f(3269),Q=f(5403),G=f(3268),re=f(1810);function K(...Z){const ee=(0,W.jO)(Z),{args:he,keys:te}=(0,a.D)(Z),ke=new o.y(xe=>{const{length:Se}=he;if(!Se)return void xe.complete();const Re=new Array(Se);let Me=Se,rt=Se;for(let tt=0;tt{Ge||(Ge=!0,rt--),Re[tt]=fe},()=>Me--,void 0,()=>{(!Me||!Ge)&&(rt||xe.next(te?(0,re.n)(te,Re):Re),xe.complete())}))}});return ee?ke.pipe((0,G.Z)(ee)):ke}},2076:(_t,De,f)=>{"use strict";f.d(De,{D:()=>U});var o=f(8421),a=f(9672),E=f(4482),W=f(5403);function Q(ce,Oe=0){return(0,E.e)((Ue,at)=>{Ue.subscribe((0,W.x)(at,ft=>(0,a.f)(at,ce,()=>at.next(ft),Oe),()=>(0,a.f)(at,ce,()=>at.complete(),Oe),ft=>(0,a.f)(at,ce,()=>at.error(ft),Oe)))})}function G(ce,Oe=0){return(0,E.e)((Ue,at)=>{at.add(ce.schedule(()=>Ue.subscribe(at),Oe))})}var Z=f(9751),he=f(2202),te=f(576);function xe(ce,Oe){if(!ce)throw new Error("Iterable cannot be null");return new Z.y(Ue=>{(0,a.f)(Ue,Oe,()=>{const at=ce[Symbol.asyncIterator]();(0,a.f)(Ue,Oe,()=>{at.next().then(ft=>{ft.done?Ue.complete():Ue.next(ft.value)})},0,!0)})})}var Se=f(3670),Re=f(8239),Me=f(1144),rt=f(6495),tt=f(2206),Ge=f(4532),fe=f(3260);function U(ce,Oe){return Oe?function F(ce,Oe){if(null!=ce){if((0,Se.c)(ce))return function re(ce,Oe){return(0,o.Xf)(ce).pipe(G(Oe),Q(Oe))}(ce,Oe);if((0,Me.z)(ce))return function ee(ce,Oe){return new Z.y(Ue=>{let at=0;return Oe.schedule(function(){at===ce.length?Ue.complete():(Ue.next(ce[at++]),Ue.closed||this.schedule())})})}(ce,Oe);if((0,Re.t)(ce))return function K(ce,Oe){return(0,o.Xf)(ce).pipe(G(Oe),Q(Oe))}(ce,Oe);if((0,tt.D)(ce))return xe(ce,Oe);if((0,rt.T)(ce))return function ke(ce,Oe){return new Z.y(Ue=>{let at;return(0,a.f)(Ue,Oe,()=>{at=ce[he.h](),(0,a.f)(Ue,Oe,()=>{let ft,It;try{({value:ft,done:It}=at.next())}catch(St){return void Ue.error(St)}It?Ue.complete():Ue.next(ft)},0,!0)}),()=>(0,te.m)(at?.return)&&at.return()})}(ce,Oe);if((0,fe.L)(ce))return function N(ce,Oe){return xe((0,fe.Q)(ce),Oe)}(ce,Oe)}throw(0,Ge.z)(ce)}(ce,Oe):(0,o.Xf)(ce)}},4968:(_t,De,f)=>{"use strict";f.d(De,{R:()=>ee});var o=f(8421),a=f(9751),E=f(5577),W=f(1144),Q=f(576),G=f(3268);const re=["addListener","removeListener"],K=["addEventListener","removeEventListener"],Z=["on","off"];function ee(Se,Re,Me,rt){if((0,Q.m)(Me)&&(rt=Me,Me=void 0),rt)return ee(Se,Re,Me).pipe((0,G.Z)(rt));const[tt,Ge]=function xe(Se){return(0,Q.m)(Se.addEventListener)&&(0,Q.m)(Se.removeEventListener)}(Se)?K.map(fe=>N=>Se[fe](Re,N,Me)):function te(Se){return(0,Q.m)(Se.addListener)&&(0,Q.m)(Se.removeListener)}(Se)?re.map(he(Se,Re)):function ke(Se){return(0,Q.m)(Se.on)&&(0,Q.m)(Se.off)}(Se)?Z.map(he(Se,Re)):[];if(!tt&&(0,W.z)(Se))return(0,E.z)(fe=>ee(fe,Re,Me))((0,o.Xf)(Se));if(!tt)throw new TypeError("Invalid event target");return new a.y(fe=>{const N=(...F)=>fe.next(1Ge(N)})}function he(Se,Re){return Me=>rt=>Se[Me](Re,rt)}},8421:(_t,De,f)=>{"use strict";f.d(De,{Xf:()=>ke});var o=f(655),a=f(1144),E=f(8239),W=f(9751),Q=f(3670),G=f(2206),re=f(4532),K=f(6495),Z=f(3260),ee=f(576),he=f(7849),te=f(8822);function ke(fe){if(fe instanceof W.y)return fe;if(null!=fe){if((0,Q.c)(fe))return function xe(fe){return new W.y(N=>{const F=fe[te.L]();if((0,ee.m)(F.subscribe))return F.subscribe(N);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(fe);if((0,a.z)(fe))return function Se(fe){return new W.y(N=>{for(let F=0;F{fe.then(F=>{N.closed||(N.next(F),N.complete())},F=>N.error(F)).then(null,he.h)})}(fe);if((0,G.D)(fe))return rt(fe);if((0,K.T)(fe))return function Me(fe){return new W.y(N=>{for(const F of fe)if(N.next(F),N.closed)return;N.complete()})}(fe);if((0,Z.L)(fe))return function tt(fe){return rt((0,Z.Q)(fe))}(fe)}throw(0,re.z)(fe)}function rt(fe){return new W.y(N=>{(function Ge(fe,N){var F,U,ce,Oe;return(0,o.mG)(this,void 0,void 0,function*(){try{for(F=(0,o.KL)(fe);!(U=yield F.next()).done;)if(N.next(U.value),N.closed)return}catch(Ue){ce={error:Ue}}finally{try{U&&!U.done&&(Oe=F.return)&&(yield Oe.call(F))}finally{if(ce)throw ce.error}}N.complete()})})(fe,N).catch(F=>N.error(F))})}},6451:(_t,De,f)=>{"use strict";f.d(De,{T:()=>G});var o=f(8189),a=f(8421),E=f(515),W=f(3269),Q=f(2076);function G(...re){const K=(0,W.yG)(re),Z=(0,W._6)(re,1/0),ee=re;return ee.length?1===ee.length?(0,a.Xf)(ee[0]):(0,o.J)(Z)((0,Q.D)(ee,K)):E.E}},9646:(_t,De,f)=>{"use strict";f.d(De,{of:()=>E});var o=f(3269),a=f(2076);function E(...W){const Q=(0,o.yG)(W);return(0,a.D)(W,Q)}},2843:(_t,De,f)=>{"use strict";f.d(De,{_:()=>E});var o=f(9751),a=f(576);function E(W,Q){const G=(0,a.m)(W)?W:()=>W,re=K=>K.error(G());return new o.y(Q?K=>Q.schedule(re,0,K):re)}},5963:(_t,De,f)=>{"use strict";f.d(De,{H:()=>Q});var o=f(9751),a=f(4986),E=f(3532);function Q(G=0,re,K=a.P){let Z=-1;return null!=re&&((0,E.K)(re)?K=re:Z=re),new o.y(ee=>{let he=function W(G){return G instanceof Date&&!isNaN(G)}(G)?+G-K.now():G;he<0&&(he=0);let te=0;return K.schedule(function(){ee.closed||(ee.next(te++),0<=Z?this.schedule(void 0,Z):ee.complete())},he)})}},5403:(_t,De,f)=>{"use strict";f.d(De,{x:()=>a});var o=f(930);function a(W,Q,G,re,K){return new E(W,Q,G,re,K)}class E extends o.Lv{constructor(Q,G,re,K,Z,ee){super(Q),this.onFinalize=Z,this.shouldUnsubscribe=ee,this._next=G?function(he){try{G(he)}catch(te){Q.error(te)}}:super._next,this._error=K?function(he){try{K(he)}catch(te){Q.error(te)}finally{this.unsubscribe()}}:super._error,this._complete=re?function(){try{re()}catch(he){Q.error(he)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var Q;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:G}=this;super.unsubscribe(),!G&&(null===(Q=this.onFinalize)||void 0===Q||Q.call(this))}}}},262:(_t,De,f)=>{"use strict";f.d(De,{K:()=>W});var o=f(8421),a=f(5403),E=f(4482);function W(Q){return(0,E.e)((G,re)=>{let ee,K=null,Z=!1;K=G.subscribe((0,a.x)(re,void 0,void 0,he=>{ee=(0,o.Xf)(Q(he,W(Q)(G))),K?(K.unsubscribe(),K=null,ee.subscribe(re)):Z=!0})),Z&&(K.unsubscribe(),K=null,ee.subscribe(re))})}},4351:(_t,De,f)=>{"use strict";f.d(De,{b:()=>E});var o=f(5577),a=f(576);function E(W,Q){return(0,a.m)(Q)?(0,o.z)(W,Q,1):(0,o.z)(W,1)}},8372:(_t,De,f)=>{"use strict";f.d(De,{b:()=>W});var o=f(4986),a=f(4482),E=f(5403);function W(Q,G=o.z){return(0,a.e)((re,K)=>{let Z=null,ee=null,he=null;const te=()=>{if(Z){Z.unsubscribe(),Z=null;const xe=ee;ee=null,K.next(xe)}};function ke(){const xe=he+Q,Se=G.now();if(Se{ee=xe,he=G.now(),Z||(Z=G.schedule(ke,Q),K.add(Z))},()=>{te(),K.complete()},void 0,()=>{ee=Z=null}))})}},6590:(_t,De,f)=>{"use strict";f.d(De,{d:()=>E});var o=f(4482),a=f(5403);function E(W){return(0,o.e)((Q,G)=>{let re=!1;Q.subscribe((0,a.x)(G,K=>{re=!0,G.next(K)},()=>{re||G.next(W),G.complete()}))})}},1005:(_t,De,f)=>{"use strict";f.d(De,{g:()=>te});var o=f(4986),a=f(7272),E=f(5698),W=f(4482),Q=f(5403),G=f(5032),K=f(9718),Z=f(5577);function ee(ke,xe){return xe?Se=>(0,a.z)(xe.pipe((0,E.q)(1),function re(){return(0,W.e)((ke,xe)=>{ke.subscribe((0,Q.x)(xe,G.Z))})}()),Se.pipe(ee(ke))):(0,Z.z)((Se,Re)=>ke(Se,Re).pipe((0,E.q)(1),(0,K.h)(Se)))}var he=f(5963);function te(ke,xe=o.z){const Se=(0,he.H)(ke,xe);return ee(()=>Se)}},1884:(_t,De,f)=>{"use strict";f.d(De,{x:()=>W});var o=f(4671),a=f(4482),E=f(5403);function W(G,re=o.y){return G=G??Q,(0,a.e)((K,Z)=>{let ee,he=!0;K.subscribe((0,E.x)(Z,te=>{const ke=re(te);(he||!G(ee,ke))&&(he=!1,ee=ke,Z.next(te))}))})}function Q(G,re){return G===re}},9300:(_t,De,f)=>{"use strict";f.d(De,{h:()=>E});var o=f(4482),a=f(5403);function E(W,Q){return(0,o.e)((G,re)=>{let K=0;G.subscribe((0,a.x)(re,Z=>W.call(Q,Z,K++)&&re.next(Z)))})}},8746:(_t,De,f)=>{"use strict";f.d(De,{x:()=>a});var o=f(4482);function a(E){return(0,o.e)((W,Q)=>{try{W.subscribe(Q)}finally{Q.add(E)}})}},590:(_t,De,f)=>{"use strict";f.d(De,{P:()=>re});var o=f(6805),a=f(9300),E=f(5698),W=f(6590),Q=f(8068),G=f(4671);function re(K,Z){const ee=arguments.length>=2;return he=>he.pipe(K?(0,a.h)((te,ke)=>K(te,ke,he)):G.y,(0,E.q)(1),ee?(0,W.d)(Z):(0,Q.T)(()=>new o.K))}},4004:(_t,De,f)=>{"use strict";f.d(De,{U:()=>E});var o=f(4482),a=f(5403);function E(W,Q){return(0,o.e)((G,re)=>{let K=0;G.subscribe((0,a.x)(re,Z=>{re.next(W.call(Q,Z,K++))}))})}},9718:(_t,De,f)=>{"use strict";f.d(De,{h:()=>a});var o=f(4004);function a(E){return(0,o.U)(()=>E)}},8189:(_t,De,f)=>{"use strict";f.d(De,{J:()=>E});var o=f(5577),a=f(4671);function E(W=1/0){return(0,o.z)(a.y,W)}},5577:(_t,De,f)=>{"use strict";f.d(De,{z:()=>K});var o=f(4004),a=f(8421),E=f(4482),W=f(9672),Q=f(5403),re=f(576);function K(Z,ee,he=1/0){return(0,re.m)(ee)?K((te,ke)=>(0,o.U)((xe,Se)=>ee(te,xe,ke,Se))((0,a.Xf)(Z(te,ke))),he):("number"==typeof ee&&(he=ee),(0,E.e)((te,ke)=>function G(Z,ee,he,te,ke,xe,Se,Re){const Me=[];let rt=0,tt=0,Ge=!1;const fe=()=>{Ge&&!Me.length&&!rt&&ee.complete()},N=U=>rt{xe&&ee.next(U),rt++;let ce=!1;(0,a.Xf)(he(U,tt++)).subscribe((0,Q.x)(ee,Oe=>{ke?.(Oe),xe?N(Oe):ee.next(Oe)},()=>{ce=!0},void 0,()=>{if(ce)try{for(rt--;Me.length&&rtF(Oe)):F(Oe)}fe()}catch(Oe){ee.error(Oe)}}))};return Z.subscribe((0,Q.x)(ee,N,()=>{Ge=!0,fe()})),()=>{Re?.()}}(te,ke,Z,he)))}},8343:(_t,De,f)=>{"use strict";f.d(De,{x:()=>E});var o=f(4482),a=f(5403);function E(){return(0,o.e)((W,Q)=>{let G=null;W._refCount++;const re=(0,a.x)(Q,void 0,void 0,void 0,()=>{if(!W||W._refCount<=0||0<--W._refCount)return void(G=null);const K=W._connection,Z=G;G=null,K&&(!Z||K===Z)&&K.unsubscribe(),Q.unsubscribe()});W.subscribe(re),re.closed||(G=W.connect())})}},5026:(_t,De,f)=>{"use strict";f.d(De,{R:()=>W});var o=f(4482),a=f(5403);function E(Q,G,re,K,Z){return(ee,he)=>{let te=re,ke=G,xe=0;ee.subscribe((0,a.x)(he,Se=>{const Re=xe++;ke=te?Q(ke,Se,Re):(te=!0,Se),K&&he.next(ke)},Z&&(()=>{te&&he.next(ke),he.complete()})))}}function W(Q,G){return(0,o.e)(E(Q,G,arguments.length>=2,!0))}},3099:(_t,De,f)=>{"use strict";f.d(De,{B:()=>Q});var o=f(8421),a=f(7579),E=f(930),W=f(4482);function Q(re={}){const{connector:K=(()=>new a.x),resetOnError:Z=!0,resetOnComplete:ee=!0,resetOnRefCountZero:he=!0}=re;return te=>{let ke,xe,Se,Re=0,Me=!1,rt=!1;const tt=()=>{xe?.unsubscribe(),xe=void 0},Ge=()=>{tt(),ke=Se=void 0,Me=rt=!1},fe=()=>{const N=ke;Ge(),N?.unsubscribe()};return(0,W.e)((N,F)=>{Re++,!rt&&!Me&&tt();const U=Se=Se??K();F.add(()=>{Re--,0===Re&&!rt&&!Me&&(xe=G(fe,he))}),U.subscribe(F),!ke&&Re>0&&(ke=new E.Hp({next:ce=>U.next(ce),error:ce=>{rt=!0,tt(),xe=G(Ge,Z,ce),U.error(ce)},complete:()=>{Me=!0,tt(),xe=G(Ge,ee),U.complete()}}),(0,o.Xf)(N).subscribe(ke))})(te)}}function G(re,K,...Z){if(!0===K)return void re();if(!1===K)return;const ee=new E.Hp({next:()=>{ee.unsubscribe(),re()}});return K(...Z).subscribe(ee)}},5684:(_t,De,f)=>{"use strict";f.d(De,{T:()=>a});var o=f(9300);function a(E){return(0,o.h)((W,Q)=>E<=Q)}},8675:(_t,De,f)=>{"use strict";f.d(De,{O:()=>W});var o=f(7272),a=f(3269),E=f(4482);function W(...Q){const G=(0,a.yG)(Q);return(0,E.e)((re,K)=>{(G?(0,o.z)(Q,re,G):(0,o.z)(Q,re)).subscribe(K)})}},3900:(_t,De,f)=>{"use strict";f.d(De,{w:()=>W});var o=f(8421),a=f(4482),E=f(5403);function W(Q,G){return(0,a.e)((re,K)=>{let Z=null,ee=0,he=!1;const te=()=>he&&!Z&&K.complete();re.subscribe((0,E.x)(K,ke=>{Z?.unsubscribe();let xe=0;const Se=ee++;(0,o.Xf)(Q(ke,Se)).subscribe(Z=(0,E.x)(K,Re=>K.next(G?G(ke,Re,Se,xe++):Re),()=>{Z=null,te()}))},()=>{he=!0,te()}))})}},5698:(_t,De,f)=>{"use strict";f.d(De,{q:()=>W});var o=f(515),a=f(4482),E=f(5403);function W(Q){return Q<=0?()=>o.E:(0,a.e)((G,re)=>{let K=0;G.subscribe((0,E.x)(re,Z=>{++K<=Q&&(re.next(Z),Q<=K&&re.complete())}))})}},2722:(_t,De,f)=>{"use strict";f.d(De,{R:()=>Q});var o=f(4482),a=f(5403),E=f(8421),W=f(5032);function Q(G){return(0,o.e)((re,K)=>{(0,E.Xf)(G).subscribe((0,a.x)(K,()=>K.complete(),W.Z)),!K.closed&&re.subscribe(K)})}},2529:(_t,De,f)=>{"use strict";f.d(De,{o:()=>E});var o=f(4482),a=f(5403);function E(W,Q=!1){return(0,o.e)((G,re)=>{let K=0;G.subscribe((0,a.x)(re,Z=>{const ee=W(Z,K++);(ee||Q)&&re.next(Z),!ee&&re.complete()}))})}},8505:(_t,De,f)=>{"use strict";f.d(De,{b:()=>Q});var o=f(576),a=f(4482),E=f(5403),W=f(4671);function Q(G,re,K){const Z=(0,o.m)(G)||re||K?{next:G,error:re,complete:K}:G;return Z?(0,a.e)((ee,he)=>{var te;null===(te=Z.subscribe)||void 0===te||te.call(Z);let ke=!0;ee.subscribe((0,E.x)(he,xe=>{var Se;null===(Se=Z.next)||void 0===Se||Se.call(Z,xe),he.next(xe)},()=>{var xe;ke=!1,null===(xe=Z.complete)||void 0===xe||xe.call(Z),he.complete()},xe=>{var Se;ke=!1,null===(Se=Z.error)||void 0===Se||Se.call(Z,xe),he.error(xe)},()=>{var xe,Se;ke&&(null===(xe=Z.unsubscribe)||void 0===xe||xe.call(Z)),null===(Se=Z.finalize)||void 0===Se||Se.call(Z)}))}):W.y}},8068:(_t,De,f)=>{"use strict";f.d(De,{T:()=>W});var o=f(6805),a=f(4482),E=f(5403);function W(G=Q){return(0,a.e)((re,K)=>{let Z=!1;re.subscribe((0,E.x)(K,ee=>{Z=!0,K.next(ee)},()=>Z?K.complete():K.error(G())))})}function Q(){return new o.K}},4408:(_t,De,f)=>{"use strict";f.d(De,{o:()=>Q});var o=f(727);class a extends o.w0{constructor(re,K){super()}schedule(re,K=0){return this}}const E={setInterval(G,re,...K){const{delegate:Z}=E;return Z?.setInterval?Z.setInterval(G,re,...K):setInterval(G,re,...K)},clearInterval(G){const{delegate:re}=E;return(re?.clearInterval||clearInterval)(G)},delegate:void 0};var W=f(8737);class Q extends a{constructor(re,K){super(re,K),this.scheduler=re,this.work=K,this.pending=!1}schedule(re,K=0){var Z;if(this.closed)return this;this.state=re;const ee=this.id,he=this.scheduler;return null!=ee&&(this.id=this.recycleAsyncId(he,ee,K)),this.pending=!0,this.delay=K,this.id=null!==(Z=this.id)&&void 0!==Z?Z:this.requestAsyncId(he,this.id,K),this}requestAsyncId(re,K,Z=0){return E.setInterval(re.flush.bind(re,this),Z)}recycleAsyncId(re,K,Z=0){if(null!=Z&&this.delay===Z&&!1===this.pending)return K;null!=K&&E.clearInterval(K)}execute(re,K){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Z=this._execute(re,K);if(Z)return Z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(re,K){let ee,Z=!1;try{this.work(re)}catch(he){Z=!0,ee=he||new Error("Scheduled action threw falsy error")}if(Z)return this.unsubscribe(),ee}unsubscribe(){if(!this.closed){const{id:re,scheduler:K}=this,{actions:Z}=K;this.work=this.state=this.scheduler=null,this.pending=!1,(0,W.P)(Z,this),null!=re&&(this.id=this.recycleAsyncId(K,re,null)),this.delay=null,super.unsubscribe()}}}},640:(_t,De,f)=>{"use strict";f.d(De,{v:()=>E});const o={now:()=>(o.delegate||Date).now(),delegate:void 0};class a{constructor(Q,G=a.now){this.schedulerActionCtor=Q,this.now=G}schedule(Q,G=0,re){return new this.schedulerActionCtor(this,Q).schedule(re,G)}}a.now=o.now;class E extends a{constructor(Q,G=a.now){super(Q,G),this.actions=[],this._active=!1}flush(Q){const{actions:G}=this;if(this._active)return void G.push(Q);let re;this._active=!0;do{if(re=Q.execute(Q.state,Q.delay))break}while(Q=G.shift());if(this._active=!1,re){for(;Q=G.shift();)Q.unsubscribe();throw re}}}},3101:(_t,De,f)=>{"use strict";f.d(De,{E:()=>xe});var o=f(4408);let E,a=1;const W={};function Q(Re){return Re in W&&(delete W[Re],!0)}const G={setImmediate(Re){const Me=a++;return W[Me]=!0,E||(E=Promise.resolve()),E.then(()=>Q(Me)&&Re()),Me},clearImmediate(Re){Q(Re)}},{setImmediate:K,clearImmediate:Z}=G,ee={setImmediate(...Re){const{delegate:Me}=ee;return(Me?.setImmediate||K)(...Re)},clearImmediate(Re){const{delegate:Me}=ee;return(Me?.clearImmediate||Z)(Re)},delegate:void 0};var te=f(640);const xe=new class ke extends te.v{flush(Me){this._active=!0;const rt=this._scheduled;this._scheduled=void 0;const{actions:tt}=this;let Ge;Me=Me||tt.shift();do{if(Ge=Me.execute(Me.state,Me.delay))break}while((Me=tt[0])&&Me.id===rt&&tt.shift());if(this._active=!1,Ge){for(;(Me=tt[0])&&Me.id===rt&&tt.shift();)Me.unsubscribe();throw Ge}}}(class he extends o.o{constructor(Me,rt){super(Me,rt),this.scheduler=Me,this.work=rt}requestAsyncId(Me,rt,tt=0){return null!==tt&&tt>0?super.requestAsyncId(Me,rt,tt):(Me.actions.push(this),Me._scheduled||(Me._scheduled=ee.setImmediate(Me.flush.bind(Me,void 0))))}recycleAsyncId(Me,rt,tt=0){var Ge;if(null!=tt?tt>0:this.delay>0)return super.recycleAsyncId(Me,rt,tt);const{actions:fe}=Me;null!=rt&&(null===(Ge=fe[fe.length-1])||void 0===Ge?void 0:Ge.id)!==rt&&(ee.clearImmediate(rt),Me._scheduled=void 0)}})},4986:(_t,De,f)=>{"use strict";f.d(De,{P:()=>W,z:()=>E});var o=f(4408);const E=new(f(640).v)(o.o),W=E},3410:(_t,De,f)=>{"use strict";f.d(De,{z:()=>o});const o={setTimeout(a,E,...W){const{delegate:Q}=o;return Q?.setTimeout?Q.setTimeout(a,E,...W):setTimeout(a,E,...W)},clearTimeout(a){const{delegate:E}=o;return(E?.clearTimeout||clearTimeout)(a)},delegate:void 0}},2202:(_t,De,f)=>{"use strict";f.d(De,{h:()=>a});const a=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(_t,De,f)=>{"use strict";f.d(De,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(_t,De,f)=>{"use strict";f.d(De,{K:()=>a});const a=(0,f(3888).d)(E=>function(){E(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(_t,De,f)=>{"use strict";f.d(De,{_6:()=>G,jO:()=>W,yG:()=>Q});var o=f(576),a=f(3532);function E(re){return re[re.length-1]}function W(re){return(0,o.m)(E(re))?re.pop():void 0}function Q(re){return(0,a.K)(E(re))?re.pop():void 0}function G(re,K){return"number"==typeof E(re)?re.pop():K}},4742:(_t,De,f)=>{"use strict";f.d(De,{D:()=>Q});const{isArray:o}=Array,{getPrototypeOf:a,prototype:E,keys:W}=Object;function Q(re){if(1===re.length){const K=re[0];if(o(K))return{args:K,keys:null};if(function G(re){return re&&"object"==typeof re&&a(re)===E}(K)){const Z=W(K);return{args:Z.map(ee=>K[ee]),keys:Z}}}return{args:re,keys:null}}},8737:(_t,De,f)=>{"use strict";function o(a,E){if(a){const W=a.indexOf(E);0<=W&&a.splice(W,1)}}f.d(De,{P:()=>o})},3888:(_t,De,f)=>{"use strict";function o(a){const W=a(Q=>{Error.call(Q),Q.stack=(new Error).stack});return W.prototype=Object.create(Error.prototype),W.prototype.constructor=W,W}f.d(De,{d:()=>o})},1810:(_t,De,f)=>{"use strict";function o(a,E){return a.reduce((W,Q,G)=>(W[Q]=E[G],W),{})}f.d(De,{n:()=>o})},2806:(_t,De,f)=>{"use strict";f.d(De,{O:()=>W,x:()=>E});var o=f(2416);let a=null;function E(Q){if(o.v.useDeprecatedSynchronousErrorHandling){const G=!a;if(G&&(a={errorThrown:!1,error:null}),Q(),G){const{errorThrown:re,error:K}=a;if(a=null,re)throw K}}else Q()}function W(Q){o.v.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=Q)}},9672:(_t,De,f)=>{"use strict";function o(a,E,W,Q=0,G=!1){const re=E.schedule(function(){W(),G?a.add(this.schedule(null,Q)):this.unsubscribe()},Q);if(a.add(re),!G)return re}f.d(De,{f:()=>o})},4671:(_t,De,f)=>{"use strict";function o(a){return a}f.d(De,{y:()=>o})},1144:(_t,De,f)=>{"use strict";f.d(De,{z:()=>o});const o=a=>a&&"number"==typeof a.length&&"function"!=typeof a},2206:(_t,De,f)=>{"use strict";f.d(De,{D:()=>a});var o=f(576);function a(E){return Symbol.asyncIterator&&(0,o.m)(E?.[Symbol.asyncIterator])}},576:(_t,De,f)=>{"use strict";function o(a){return"function"==typeof a}f.d(De,{m:()=>o})},3670:(_t,De,f)=>{"use strict";f.d(De,{c:()=>E});var o=f(8822),a=f(576);function E(W){return(0,a.m)(W[o.L])}},6495:(_t,De,f)=>{"use strict";f.d(De,{T:()=>E});var o=f(2202),a=f(576);function E(W){return(0,a.m)(W?.[o.h])}},8239:(_t,De,f)=>{"use strict";f.d(De,{t:()=>a});var o=f(576);function a(E){return(0,o.m)(E?.then)}},3260:(_t,De,f)=>{"use strict";f.d(De,{L:()=>W,Q:()=>E});var o=f(655),a=f(576);function E(Q){return(0,o.FC)(this,arguments,function*(){const re=Q.getReader();try{for(;;){const{value:K,done:Z}=yield(0,o.qq)(re.read());if(Z)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(K)}}finally{re.releaseLock()}})}function W(Q){return(0,a.m)(Q?.getReader)}},3532:(_t,De,f)=>{"use strict";f.d(De,{K:()=>a});var o=f(576);function a(E){return E&&(0,o.m)(E.schedule)}},4482:(_t,De,f)=>{"use strict";f.d(De,{A:()=>a,e:()=>E});var o=f(576);function a(W){return(0,o.m)(W?.lift)}function E(W){return Q=>{if(a(Q))return Q.lift(function(G){try{return W(G,this)}catch(re){this.error(re)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(_t,De,f)=>{"use strict";f.d(De,{Z:()=>W});var o=f(4004);const{isArray:a}=Array;function W(Q){return(0,o.U)(G=>function E(Q,G){return a(G)?Q(...G):Q(G)}(Q,G))}},5032:(_t,De,f)=>{"use strict";function o(){}f.d(De,{Z:()=>o})},9635:(_t,De,f)=>{"use strict";f.d(De,{U:()=>E,z:()=>a});var o=f(4671);function a(...W){return E(W)}function E(W){return 0===W.length?o.y:1===W.length?W[0]:function(G){return W.reduce((re,K)=>K(re),G)}}},7849:(_t,De,f)=>{"use strict";f.d(De,{h:()=>E});var o=f(2416),a=f(3410);function E(W){a.z.setTimeout(()=>{const{onUnhandledError:Q}=o.v;if(!Q)throw W;Q(W)})}},4532:(_t,De,f)=>{"use strict";function o(a){return new TypeError(`You provided ${null!==a&&"object"==typeof a?"an invalid object":`'${a}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}f.d(De,{z:()=>o})},655:(_t,De,f)=>{"use strict";function te(He,Ze,nt,ut){return new(nt||(nt=Promise))(function(We,ot){function je(kt){try{Qe(ut.next(kt))}catch(ye){ot(ye)}}function ze(kt){try{Qe(ut.throw(kt))}catch(ye){ot(ye)}}function Qe(kt){kt.done?We(kt.value):function vt(We){return We instanceof nt?We:new nt(function(ot){ot(We)})}(kt.value).then(je,ze)}Qe((ut=ut.apply(He,Ze||[])).next())})}function fe(He){return this instanceof fe?(this.v=He,this):new fe(He)}function N(He,Ze,nt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var vt,ut=nt.apply(He,Ze||[]),We=[];return vt={},ot("next"),ot("throw"),ot("return"),vt[Symbol.asyncIterator]=function(){return this},vt;function ot(Le){ut[Le]&&(vt[Le]=function(bt){return new Promise(function(Ct,Ft){We.push([Le,bt,Ct,Ft])>1||je(Le,bt)})})}function je(Le,bt){try{!function ze(Le){Le.value instanceof fe?Promise.resolve(Le.value.v).then(Qe,kt):ye(We[0][2],Le)}(ut[Le](bt))}catch(Ct){ye(We[0][3],Ct)}}function Qe(Le){je("next",Le)}function kt(Le){je("throw",Le)}function ye(Le,bt){Le(bt),We.shift(),We.length&&je(We[0][0],We[0][1])}}function U(He){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var nt,Ze=He[Symbol.asyncIterator];return Ze?Ze.call(He):(He=function Re(He){var Ze="function"==typeof Symbol&&Symbol.iterator,nt=Ze&&He[Ze],ut=0;if(nt)return nt.call(He);if(He&&"number"==typeof He.length)return{next:function(){return He&&ut>=He.length&&(He=void 0),{value:He&&He[ut++],done:!He}}};throw new TypeError(Ze?"Object is not iterable.":"Symbol.iterator is not defined.")}(He),nt={},ut("next"),ut("throw"),ut("return"),nt[Symbol.asyncIterator]=function(){return this},nt);function ut(We){nt[We]=He[We]&&function(ot){return new Promise(function(je,ze){!function vt(We,ot,je,ze){Promise.resolve(ze).then(function(Qe){We({value:Qe,done:je})},ot)}(je,ze,(ot=He[We](ot)).done,ot.value)})}}}f.d(De,{FC:()=>N,KL:()=>U,mG:()=>te,qq:()=>fe})},7340:(_t,De,f)=>{"use strict";f.d(De,{F4:()=>ee,IO:()=>Se,LC:()=>a,SB:()=>Z,X$:()=>W,ZE:()=>tt,ZN:()=>rt,_j:()=>o,eR:()=>he,jt:()=>Q,k1:()=>Ge,l3:()=>E,oB:()=>K,pV:()=>ke,ru:()=>G,vP:()=>re});class o{}class a{}const E="*";function W(fe,N){return{type:7,name:fe,definitions:N,options:{}}}function Q(fe,N=null){return{type:4,styles:N,timings:fe}}function G(fe,N=null){return{type:3,steps:fe,options:N}}function re(fe,N=null){return{type:2,steps:fe,options:N}}function K(fe){return{type:6,styles:fe,offset:null}}function Z(fe,N,F){return{type:0,name:fe,styles:N,options:F}}function ee(fe){return{type:5,steps:fe}}function he(fe,N,F=null){return{type:1,expr:fe,animation:N,options:F}}function ke(fe=null){return{type:9,options:fe}}function Se(fe,N,F=null){return{type:11,selector:fe,animation:N,options:F}}function Me(fe){Promise.resolve().then(fe)}class rt{constructor(N=0,F=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=N+F}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}onStart(N){this._originalOnStartFns.push(N),this._onStartFns.push(N)}onDone(N){this._originalOnDoneFns.push(N),this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Me(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(N=>N()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(N){this._position=this.totalTime?N*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(N){const F="start"==N?this._onStartFns:this._onDoneFns;F.forEach(U=>U()),F.length=0}}class tt{constructor(N){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=N;let F=0,U=0,ce=0;const Oe=this.players.length;0==Oe?Me(()=>this._onFinish()):this.players.forEach(Ue=>{Ue.onDone(()=>{++F==Oe&&this._onFinish()}),Ue.onDestroy(()=>{++U==Oe&&this._onDestroy()}),Ue.onStart(()=>{++ce==Oe&&this._onStart()})}),this.totalTime=this.players.reduce((Ue,at)=>Math.max(Ue,at.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}init(){this.players.forEach(N=>N.init())}onStart(N){this._onStartFns.push(N)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(N=>N()),this._onStartFns=[])}onDone(N){this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(N=>N.play())}pause(){this.players.forEach(N=>N.pause())}restart(){this.players.forEach(N=>N.restart())}finish(){this._onFinish(),this.players.forEach(N=>N.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(N=>N.destroy()),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this.players.forEach(N=>N.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(N){const F=N*this.totalTime;this.players.forEach(U=>{const ce=U.totalTime?Math.min(1,F/U.totalTime):1;U.setPosition(ce)})}getPosition(){const N=this.players.reduce((F,U)=>null===F||U.totalTime>F.totalTime?U:F,null);return null!=N?N.getPosition():0}beforeDestroy(){this.players.forEach(N=>{N.beforeDestroy&&N.beforeDestroy()})}triggerCallback(N){const F="start"==N?this._onStartFns:this._onDoneFns;F.forEach(U=>U()),F.length=0}}const Ge="!"},2687:(_t,De,f)=>{"use strict";f.d(De,{$s:()=>at,Em:()=>Ze,Kd:()=>ve,X6:()=>de,ic:()=>ut,qV:()=>qe,qm:()=>Xe,rt:()=>Ae,s1:()=>He,tE:()=>wt,yG:()=>L});var o=f(6895),a=f(4650),E=f(3353),W=f(7579),Q=f(727),G=f(1135),re=f(9646),K=f(9521),Z=f(8505),ee=f(8372),he=f(9300),te=f(4004),ke=f(5698),xe=f(5684),Se=f(1884),Re=f(2722),Me=f(1281),rt=f(9643),tt=f(2289);function F(I,w){return(I.getAttribute(w)||"").match(/\S+/g)||[]}const ce="cdk-describedby-message",Oe="cdk-describedby-host";let Ue=0,at=(()=>{class I{constructor(A,J){this._platform=J,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ue++,this._document=A,this._id=(0,a.f3M)(a.AFp)+"-"+Ue++}describe(A,J,oe){if(!this._canBeDescribed(A,J))return;const it=ft(J,oe);"string"!=typeof J?(It(J,this._id),this._messageRegistry.set(it,{messageElement:J,referenceCount:0})):this._messageRegistry.has(it)||this._createMessageElement(J,oe),this._isElementDescribedByMessage(A,it)||this._addMessageReference(A,it)}removeDescription(A,J,oe){if(!J||!this._isElementNode(A))return;const it=ft(J,oe);if(this._isElementDescribedByMessage(A,it)&&this._removeMessageReference(A,it),"string"==typeof J){const Ot=this._messageRegistry.get(it);Ot&&0===Ot.referenceCount&&this._deleteMessageElement(it)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const A=this._document.querySelectorAll(`[${Oe}="${this._id}"]`);for(let J=0;J0!=oe.indexOf(ce));A.setAttribute("aria-describedby",J.join(" "))}_addMessageReference(A,J){const oe=this._messageRegistry.get(J);(function fe(I,w,A){const J=F(I,w);J.some(oe=>oe.trim()==A.trim())||(J.push(A.trim()),I.setAttribute(w,J.join(" ")))})(A,"aria-describedby",oe.messageElement.id),A.setAttribute(Oe,this._id),oe.referenceCount++}_removeMessageReference(A,J){const oe=this._messageRegistry.get(J);oe.referenceCount--,function N(I,w,A){const oe=F(I,w).filter(it=>it!=A.trim());oe.length?I.setAttribute(w,oe.join(" ")):I.removeAttribute(w)}(A,"aria-describedby",oe.messageElement.id),A.removeAttribute(Oe)}_isElementDescribedByMessage(A,J){const oe=F(A,"aria-describedby"),it=this._messageRegistry.get(J),Ot=it&&it.messageElement.id;return!!Ot&&-1!=oe.indexOf(Ot)}_canBeDescribed(A,J){if(!this._isElementNode(A))return!1;if(J&&"object"==typeof J)return!0;const oe=null==J?"":`${J}`.trim(),it=A.getAttribute("aria-label");return!(!oe||it&&it.trim()===oe)}_isElementNode(A){return A.nodeType===this._document.ELEMENT_NODE}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(o.K0),a.LFG(E.t4))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();function ft(I,w){return"string"==typeof I?`${w||""}/${I}`:I}function It(I,w){I.id||(I.id=`${ce}-${w}-${Ue++}`)}class St{constructor(w){this._items=w,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new W.x,this._typeaheadSubscription=Q.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=A=>A.disabled,this._pressedLetters=[],this.tabOut=new W.x,this.change=new W.x,w instanceof a.n_E&&(this._itemChangesSubscription=w.changes.subscribe(A=>{if(this._activeItem){const oe=A.toArray().indexOf(this._activeItem);oe>-1&&oe!==this._activeItemIndex&&(this._activeItemIndex=oe)}}))}skipPredicate(w){return this._skipPredicateFn=w,this}withWrap(w=!0){return this._wrap=w,this}withVerticalOrientation(w=!0){return this._vertical=w,this}withHorizontalOrientation(w){return this._horizontal=w,this}withAllowedModifierKeys(w){return this._allowedModifierKeys=w,this}withTypeAhead(w=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Z.b)(A=>this._pressedLetters.push(A)),(0,ee.b)(w),(0,he.h)(()=>this._pressedLetters.length>0),(0,te.U)(()=>this._pressedLetters.join(""))).subscribe(A=>{const J=this._getItemsArray();for(let oe=1;oe!w[it]||this._allowedModifierKeys.indexOf(it)>-1);switch(A){case K.Mf:return void this.tabOut.next();case K.JH:if(this._vertical&&oe){this.setNextItemActive();break}return;case K.LH:if(this._vertical&&oe){this.setPreviousItemActive();break}return;case K.SV:if(this._horizontal&&oe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case K.oh:if(this._horizontal&&oe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case K.Sd:if(this._homeAndEnd&&oe){this.setFirstItemActive();break}return;case K.uR:if(this._homeAndEnd&&oe){this.setLastItemActive();break}return;case K.Ku:if(this._pageUpAndDown.enabled&&oe){const it=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(it>0?it:0,1);break}return;case K.VM:if(this._pageUpAndDown.enabled&&oe){const it=this._activeItemIndex+this._pageUpAndDown.delta,Ot=this._getItemsArray().length;this._setActiveItemByIndex(it=K.A&&A<=K.Z||A>=K.xE&&A<=K.aO)&&this._letterKeyStream.next(String.fromCharCode(A))))}this._pressedLetters=[],w.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(w){const A=this._getItemsArray(),J="number"==typeof w?w:A.indexOf(w);this._activeItem=A[J]??null,this._activeItemIndex=J}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(w){this._wrap?this._setActiveInWrapMode(w):this._setActiveInDefaultMode(w)}_setActiveInWrapMode(w){const A=this._getItemsArray();for(let J=1;J<=A.length;J++){const oe=(this._activeItemIndex+w*J+A.length)%A.length;if(!this._skipPredicateFn(A[oe]))return void this.setActiveItem(oe)}}_setActiveInDefaultMode(w){this._setActiveItemByIndex(this._activeItemIndex+w,w)}_setActiveItemByIndex(w,A){const J=this._getItemsArray();if(J[w]){for(;this._skipPredicateFn(J[w]);)if(!J[w+=A])return;this.setActiveItem(w)}}_getItemsArray(){return this._items instanceof a.n_E?this._items.toArray():this._items}}class He extends St{setActiveItem(w){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(w),this.activeItem&&this.activeItem.setActiveStyles()}}class Ze extends St{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(w){return this._origin=w,this}setActiveItem(w){super.setActiveItem(w),this.activeItem&&this.activeItem.focus(this._origin)}}let ut=(()=>{class I{constructor(A){this._platform=A}isDisabled(A){return A.hasAttribute("disabled")}isVisible(A){return function We(I){return!!(I.offsetWidth||I.offsetHeight||"function"==typeof I.getClientRects&&I.getClientRects().length)}(A)&&"visible"===getComputedStyle(A).visibility}isTabbable(A){if(!this._platform.isBrowser)return!1;const J=function vt(I){try{return I.frameElement}catch{return null}}(function Ft(I){return I.ownerDocument&&I.ownerDocument.defaultView||window}(A));if(J&&(-1===Le(J)||!this.isVisible(J)))return!1;let oe=A.nodeName.toLowerCase(),it=Le(A);return A.hasAttribute("contenteditable")?-1!==it:!("iframe"===oe||"object"===oe||this._platform.WEBKIT&&this._platform.IOS&&!function bt(I){let w=I.nodeName.toLowerCase(),A="input"===w&&I.type;return"text"===A||"password"===A||"select"===w||"textarea"===w}(A))&&("audio"===oe?!!A.hasAttribute("controls")&&-1!==it:"video"===oe?-1!==it&&(null!==it||this._platform.FIREFOX||A.hasAttribute("controls")):A.tabIndex>=0)}isFocusable(A,J){return function Ct(I){return!function je(I){return function Qe(I){return"input"==I.nodeName.toLowerCase()}(I)&&"hidden"==I.type}(I)&&(function ot(I){let w=I.nodeName.toLowerCase();return"input"===w||"select"===w||"button"===w||"textarea"===w}(I)||function ze(I){return function kt(I){return"a"==I.nodeName.toLowerCase()}(I)&&I.hasAttribute("href")}(I)||I.hasAttribute("contenteditable")||ye(I))}(A)&&!this.isDisabled(A)&&(J?.ignoreVisibility||this.isVisible(A))}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(E.t4))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();function ye(I){if(!I.hasAttribute("tabindex")||void 0===I.tabIndex)return!1;let w=I.getAttribute("tabindex");return!(!w||isNaN(parseInt(w,10)))}function Le(I){if(!ye(I))return null;const w=parseInt(I.getAttribute("tabindex")||"",10);return isNaN(w)?-1:w}class Ne{get enabled(){return this._enabled}set enabled(w){this._enabled=w,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(w,this._startAnchor),this._toggleAnchorTabIndex(w,this._endAnchor))}constructor(w,A,J,oe,it=!1){this._element=w,this._checker=A,this._ngZone=J,this._document=oe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,it||this.attachAnchors()}destroy(){const w=this._startAnchor,A=this._endAnchor;w&&(w.removeEventListener("focus",this.startAnchorListener),w.remove()),A&&(A.removeEventListener("focus",this.endAnchorListener),A.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(w){return new Promise(A=>{this._executeOnStable(()=>A(this.focusInitialElement(w)))})}focusFirstTabbableElementWhenReady(w){return new Promise(A=>{this._executeOnStable(()=>A(this.focusFirstTabbableElement(w)))})}focusLastTabbableElementWhenReady(w){return new Promise(A=>{this._executeOnStable(()=>A(this.focusLastTabbableElement(w)))})}_getRegionBoundary(w){const A=this._element.querySelectorAll(`[cdk-focus-region-${w}], [cdkFocusRegion${w}], [cdk-focus-${w}]`);return"start"==w?A.length?A[0]:this._getFirstTabbableElement(this._element):A.length?A[A.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(w){const A=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(A){if(!this._checker.isFocusable(A)){const J=this._getFirstTabbableElement(A);return J?.focus(w),!!J}return A.focus(w),!0}return this.focusFirstTabbableElement(w)}focusFirstTabbableElement(w){const A=this._getRegionBoundary("start");return A&&A.focus(w),!!A}focusLastTabbableElement(w){const A=this._getRegionBoundary("end");return A&&A.focus(w),!!A}hasAttached(){return this._hasAttached}_getFirstTabbableElement(w){if(this._checker.isFocusable(w)&&this._checker.isTabbable(w))return w;const A=w.children;for(let J=0;J=0;J--){const oe=A[J].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(A[J]):null;if(oe)return oe}return null}_createAnchor(){const w=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,w),w.classList.add("cdk-visually-hidden"),w.classList.add("cdk-focus-trap-anchor"),w.setAttribute("aria-hidden","true"),w}_toggleAnchorTabIndex(w,A){w?A.setAttribute("tabindex","0"):A.removeAttribute("tabindex")}toggleAnchors(w){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(w,this._startAnchor),this._toggleAnchorTabIndex(w,this._endAnchor))}_executeOnStable(w){this._ngZone.isStable?w():this._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(w)}}let qe=(()=>{class I{constructor(A,J,oe){this._checker=A,this._ngZone=J,this._document=oe}create(A,J=!1){return new Ne(A,this._checker,this._ngZone,this._document,J)}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(ut),a.LFG(a.R0b),a.LFG(o.K0))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();function de(I){return 0===I.buttons||0===I.offsetX&&0===I.offsetY}function L(I){const w=I.touches&&I.touches[0]||I.changedTouches&&I.changedTouches[0];return!(!w||-1!==w.identifier||null!=w.radiusX&&1!==w.radiusX||null!=w.radiusY&&1!==w.radiusY)}const se=new a.OlP("cdk-input-modality-detector-options"),ue={ignoreKeys:[K.zL,K.jx,K.b2,K.MW,K.JU]},ht=(0,E.i$)({passive:!0,capture:!0});let ct=(()=>{class I{get mostRecentModality(){return this._modality.value}constructor(A,J,oe,it){this._platform=A,this._mostRecentTarget=null,this._modality=new G.X(null),this._lastTouchMs=0,this._onKeydown=Ot=>{this._options?.ignoreKeys?.some(Yt=>Yt===Ot.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,E.sA)(Ot))},this._onMousedown=Ot=>{Date.now()-this._lastTouchMs<650||(this._modality.next(de(Ot)?"keyboard":"mouse"),this._mostRecentTarget=(0,E.sA)(Ot))},this._onTouchstart=Ot=>{L(Ot)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,E.sA)(Ot))},this._options={...ue,...it},this.modalityDetected=this._modality.pipe((0,xe.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Se.x)()),A.isBrowser&&J.runOutsideAngular(()=>{oe.addEventListener("keydown",this._onKeydown,ht),oe.addEventListener("mousedown",this._onMousedown,ht),oe.addEventListener("touchstart",this._onTouchstart,ht)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ht),document.removeEventListener("mousedown",this._onMousedown,ht),document.removeEventListener("touchstart",this._onTouchstart,ht))}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(E.t4),a.LFG(a.R0b),a.LFG(o.K0),a.LFG(se,8))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const Et=new a.OlP("liveAnnouncerElement",{providedIn:"root",factory:function me(){return null}}),lt=new a.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let j=0,ve=(()=>{class I{constructor(A,J,oe,it){this._ngZone=J,this._defaultOptions=it,this._document=oe,this._liveElement=A||this._createLiveElement()}announce(A,...J){const oe=this._defaultOptions;let it,Ot;return 1===J.length&&"number"==typeof J[0]?Ot=J[0]:[it,Ot]=J,this.clear(),clearTimeout(this._previousTimeout),it||(it=oe&&oe.politeness?oe.politeness:"polite"),null==Ot&&oe&&(Ot=oe.duration),this._liveElement.setAttribute("aria-live",it),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Yt=>this._currentResolve=Yt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=A,"number"==typeof Ot&&(this._previousTimeout=setTimeout(()=>this.clear(),Ot)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const A="cdk-live-announcer-element",J=this._document.getElementsByClassName(A),oe=this._document.createElement("div");for(let it=0;it .cdk-overlay-container [aria-modal="true"]');for(let oe=0;oe{class I{constructor(A,J,oe,it,Ot){this._ngZone=A,this._platform=J,this._inputModalityDetector=oe,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new W.x,this._rootNodeFocusAndBlurListener=Yt=>{for(let yn=(0,E.sA)(Yt);yn;yn=yn.parentElement)"focus"===Yt.type?this._onFocus(Yt,yn):this._onBlur(Yt,yn)},this._document=it,this._detectionMode=Ot?.detectionMode||0}monitor(A,J=!1){const oe=(0,Me.fI)(A);if(!this._platform.isBrowser||1!==oe.nodeType)return(0,re.of)(null);const it=(0,E.kV)(oe)||this._getDocument(),Ot=this._elementInfo.get(oe);if(Ot)return J&&(Ot.checkChildren=!0),Ot.subject;const Yt={checkChildren:J,subject:new W.x,rootNode:it};return this._elementInfo.set(oe,Yt),this._registerGlobalListeners(Yt),Yt.subject}stopMonitoring(A){const J=(0,Me.fI)(A),oe=this._elementInfo.get(J);oe&&(oe.subject.complete(),this._setClasses(J),this._elementInfo.delete(J),this._removeGlobalListeners(oe))}focusVia(A,J,oe){const it=(0,Me.fI)(A);it===this._getDocument().activeElement?this._getClosestElementsInfo(it).forEach(([Yt,xt])=>this._originChanged(Yt,J,xt)):(this._setOrigin(J),"function"==typeof it.focus&&it.focus(oe))}ngOnDestroy(){this._elementInfo.forEach((A,J)=>this.stopMonitoring(J))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(A){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(A)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:A&&this._isLastInteractionFromInputLabel(A)?"mouse":"program"}_shouldBeAttributedToTouch(A){return 1===this._detectionMode||!!A?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(A,J){A.classList.toggle("cdk-focused",!!J),A.classList.toggle("cdk-touch-focused","touch"===J),A.classList.toggle("cdk-keyboard-focused","keyboard"===J),A.classList.toggle("cdk-mouse-focused","mouse"===J),A.classList.toggle("cdk-program-focused","program"===J)}_setOrigin(A,J=!1){this._ngZone.runOutsideAngular(()=>{this._origin=A,this._originFromTouchInteraction="touch"===A&&J,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(A,J){const oe=this._elementInfo.get(J),it=(0,E.sA)(A);!oe||!oe.checkChildren&&J!==it||this._originChanged(J,this._getFocusOrigin(it),oe)}_onBlur(A,J){const oe=this._elementInfo.get(J);!oe||oe.checkChildren&&A.relatedTarget instanceof Node&&J.contains(A.relatedTarget)||(this._setClasses(J),this._emitOrigin(oe,null))}_emitOrigin(A,J){A.subject.observers.length&&this._ngZone.run(()=>A.subject.next(J))}_registerGlobalListeners(A){if(!this._platform.isBrowser)return;const J=A.rootNode,oe=this._rootNodeFocusListenerCount.get(J)||0;oe||this._ngZone.runOutsideAngular(()=>{J.addEventListener("focus",this._rootNodeFocusAndBlurListener,At),J.addEventListener("blur",this._rootNodeFocusAndBlurListener,At)}),this._rootNodeFocusListenerCount.set(J,oe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Re.R)(this._stopInputModalityDetector)).subscribe(it=>{this._setOrigin(it,!0)}))}_removeGlobalListeners(A){const J=A.rootNode;if(this._rootNodeFocusListenerCount.has(J)){const oe=this._rootNodeFocusListenerCount.get(J);oe>1?this._rootNodeFocusListenerCount.set(J,oe-1):(J.removeEventListener("focus",this._rootNodeFocusAndBlurListener,At),J.removeEventListener("blur",this._rootNodeFocusAndBlurListener,At),this._rootNodeFocusListenerCount.delete(J))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(A,J,oe){this._setClasses(A,J),this._emitOrigin(oe,J),this._lastFocusOrigin=J}_getClosestElementsInfo(A){const J=[];return this._elementInfo.forEach((oe,it)=>{(it===A||oe.checkChildren&&it.contains(A))&&J.push([it,oe])}),J}_isLastInteractionFromInputLabel(A){const{_mostRecentTarget:J,mostRecentModality:oe}=this._inputModalityDetector;if("mouse"!==oe||!J||J===A||"INPUT"!==A.nodeName&&"TEXTAREA"!==A.nodeName||A.disabled)return!1;const it=A.labels;if(it)for(let Ot=0;Ot{class I{constructor(A,J){this._platform=A,this._document=J,this._breakpointSubscription=(0,a.f3M)(tt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const A=this._document.createElement("div");A.style.backgroundColor="rgb(1,2,3)",A.style.position="absolute",this._document.body.appendChild(A);const J=this._document.defaultView||window,oe=J&&J.getComputedStyle?J.getComputedStyle(A):null,it=(oe&&oe.backgroundColor||"").replace(/ /g,"");switch(A.remove(),it){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const A=this._document.body.classList;A.remove(xn,jt,_n),this._hasCheckedHighContrastMode=!0;const J=this.getHighContrastMode();1===J?A.add(xn,jt):2===J&&A.add(xn,_n)}}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(E.t4),a.LFG(o.K0))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Ae=(()=>{class I{constructor(A){A._applyBodyHighContrastModeCssClasses()}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(Xe))},I.\u0275mod=a.oAB({type:I}),I.\u0275inj=a.cJS({imports:[rt.Q8]}),I})()},445:(_t,De,f)=>{"use strict";f.d(De,{Is:()=>re,vT:()=>Z});var o=f(4650),a=f(6895);const E=new o.OlP("cdk-dir-doc",{providedIn:"root",factory:function W(){return(0,o.f3M)(a.K0)}}),Q=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let re=(()=>{class ee{constructor(te){this.value="ltr",this.change=new o.vpe,te&&(this.value=function G(ee){const he=ee?.toLowerCase()||"";return"auto"===he&&typeof navigator<"u"&&navigator?.language?Q.test(navigator.language)?"rtl":"ltr":"rtl"===he?"rtl":"ltr"}((te.body?te.body.dir:null)||(te.documentElement?te.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return ee.\u0275fac=function(te){return new(te||ee)(o.LFG(E,8))},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Z=(()=>{class ee{}return ee.\u0275fac=function(te){return new(te||ee)},ee.\u0275mod=o.oAB({type:ee}),ee.\u0275inj=o.cJS({}),ee})()},1281:(_t,De,f)=>{"use strict";f.d(De,{Eq:()=>Q,HM:()=>G,Ig:()=>a,du:()=>K,fI:()=>re,su:()=>E});var o=f(4650);function a(Z){return null!=Z&&"false"!=`${Z}`}function E(Z,ee=0){return function W(Z){return!isNaN(parseFloat(Z))&&!isNaN(Number(Z))}(Z)?Number(Z):ee}function Q(Z){return Array.isArray(Z)?Z:[Z]}function G(Z){return null==Z?"":"string"==typeof Z?Z:`${Z}px`}function re(Z){return Z instanceof o.SBq?Z.nativeElement:Z}function K(Z,ee=/\s+/){const he=[];if(null!=Z){const te=Array.isArray(Z)?Z:`${Z}`.split(ee);for(const ke of te){const xe=`${ke}`.trim();xe&&he.push(xe)}}return he}},9521:(_t,De,f)=>{"use strict";f.d(De,{A:()=>je,JH:()=>Ge,JU:()=>G,K5:()=>Q,Ku:()=>ke,LH:()=>rt,L_:()=>te,MW:()=>lt,Mf:()=>E,SV:()=>tt,Sd:()=>Re,VM:()=>xe,Vb:()=>ci,Z:()=>me,aO:()=>nt,b2:()=>Nn,hY:()=>he,jx:()=>re,oh:()=>Me,uR:()=>Se,xE:()=>ce,zL:()=>K});const E=9,Q=13,G=16,re=17,K=18,he=27,te=32,ke=33,xe=34,Se=35,Re=36,Me=37,rt=38,tt=39,Ge=40,ce=48,nt=57,je=65,me=90,lt=91,Nn=224;function ci(mn,...li){return li.length?li.some(Qi=>mn[Qi]):mn.altKey||mn.shiftKey||mn.ctrlKey||mn.metaKey}},2289:(_t,De,f)=>{"use strict";f.d(De,{Yg:()=>Ge,u3:()=>N});var o=f(4650),a=f(1281),E=f(7579),W=f(9841),Q=f(7272),G=f(9751),re=f(5698),K=f(5684),Z=f(8372),ee=f(4004),he=f(8675),te=f(2722),ke=f(3353);const Se=new Set;let Re,Me=(()=>{class F{constructor(ce){this._platform=ce,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):tt}matchMedia(ce){return(this._platform.WEBKIT||this._platform.BLINK)&&function rt(F){if(!Se.has(F))try{Re||(Re=document.createElement("style"),Re.setAttribute("type","text/css"),document.head.appendChild(Re)),Re.sheet&&(Re.sheet.insertRule(`@media ${F} {body{ }}`,0),Se.add(F))}catch(U){console.error(U)}}(ce),this._matchMedia(ce)}}return F.\u0275fac=function(ce){return new(ce||F)(o.LFG(ke.t4))},F.\u0275prov=o.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();function tt(F){return{matches:"all"===F||""===F,media:F,addListener:()=>{},removeListener:()=>{}}}let Ge=(()=>{class F{constructor(ce,Oe){this._mediaMatcher=ce,this._zone=Oe,this._queries=new Map,this._destroySubject=new E.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ce){return fe((0,a.Eq)(ce)).some(Ue=>this._registerQuery(Ue).mql.matches)}observe(ce){const Ue=fe((0,a.Eq)(ce)).map(ft=>this._registerQuery(ft).observable);let at=(0,W.a)(Ue);return at=(0,Q.z)(at.pipe((0,re.q)(1)),at.pipe((0,K.T)(1),(0,Z.b)(0))),at.pipe((0,ee.U)(ft=>{const It={matches:!1,breakpoints:{}};return ft.forEach(({matches:St,query:He})=>{It.matches=It.matches||St,It.breakpoints[He]=St}),It}))}_registerQuery(ce){if(this._queries.has(ce))return this._queries.get(ce);const Oe=this._mediaMatcher.matchMedia(ce),at={observable:new G.y(ft=>{const It=St=>this._zone.run(()=>ft.next(St));return Oe.addListener(It),()=>{Oe.removeListener(It)}}).pipe((0,he.O)(Oe),(0,ee.U)(({matches:ft})=>({query:ce,matches:ft})),(0,te.R)(this._destroySubject)),mql:Oe};return this._queries.set(ce,at),at}}return F.\u0275fac=function(ce){return new(ce||F)(o.LFG(Me),o.LFG(o.R0b))},F.\u0275prov=o.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();function fe(F){return F.map(U=>U.split(",")).reduce((U,ce)=>U.concat(ce)).map(U=>U.trim())}const N={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},9643:(_t,De,f)=>{"use strict";f.d(De,{Q8:()=>Z,wD:()=>K});var o=f(1281),a=f(4650),E=f(9751),W=f(7579),Q=f(8372);let G=(()=>{class ee{create(te){return typeof MutationObserver>"u"?null:new MutationObserver(te)}}return ee.\u0275fac=function(te){return new(te||ee)},ee.\u0275prov=a.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),re=(()=>{class ee{constructor(te){this._mutationObserverFactory=te,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((te,ke)=>this._cleanupObserver(ke))}observe(te){const ke=(0,o.fI)(te);return new E.y(xe=>{const Re=this._observeElement(ke).subscribe(xe);return()=>{Re.unsubscribe(),this._unobserveElement(ke)}})}_observeElement(te){if(this._observedElements.has(te))this._observedElements.get(te).count++;else{const ke=new W.x,xe=this._mutationObserverFactory.create(Se=>ke.next(Se));xe&&xe.observe(te,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(te,{observer:xe,stream:ke,count:1})}return this._observedElements.get(te).stream}_unobserveElement(te){this._observedElements.has(te)&&(this._observedElements.get(te).count--,this._observedElements.get(te).count||this._cleanupObserver(te))}_cleanupObserver(te){if(this._observedElements.has(te)){const{observer:ke,stream:xe}=this._observedElements.get(te);ke&&ke.disconnect(),xe.complete(),this._observedElements.delete(te)}}}return ee.\u0275fac=function(te){return new(te||ee)(a.LFG(G))},ee.\u0275prov=a.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),K=(()=>{class ee{get disabled(){return this._disabled}set disabled(te){this._disabled=(0,o.Ig)(te),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(te){this._debounce=(0,o.su)(te),this._subscribe()}constructor(te,ke,xe){this._contentObserver=te,this._elementRef=ke,this._ngZone=xe,this.event=new a.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const te=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?te.pipe((0,Q.b)(this.debounce)):te).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return ee.\u0275fac=function(te){return new(te||ee)(a.Y36(re),a.Y36(a.SBq),a.Y36(a.R0b))},ee.\u0275dir=a.lG2({type:ee,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),ee})(),Z=(()=>{class ee{}return ee.\u0275fac=function(te){return new(te||ee)},ee.\u0275mod=a.oAB({type:ee}),ee.\u0275inj=a.cJS({providers:[G]}),ee})()},8184:(_t,De,f)=>{"use strict";f.d(De,{Iu:()=>nt,U8:()=>Pe,X_:()=>U,Xj:()=>Ze,aV:()=>Ft,pI:()=>le,wJ:()=>bt,xu:()=>mt});var o=f(5589),a=f(6895),E=f(4650),W=f(1281),Q=f(3353),G=f(445),re=f(4080),K=f(7579),Z=f(727),ee=f(6451),he=f(5698),te=f(2722),ke=f(2529),xe=f(9521);const Se=(0,Q.Mq)();class Re{constructor(L,se){this._viewportRuler=L,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=se}attach(){}enable(){if(this._canBeEnabled()){const L=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=L.style.left||"",this._previousHTMLStyles.top=L.style.top||"",L.style.left=(0,W.HM)(-this._previousScrollPosition.left),L.style.top=(0,W.HM)(-this._previousScrollPosition.top),L.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const L=this._document.documentElement,ue=L.style,Be=this._document.body.style,ht=ue.scrollBehavior||"",ct=Be.scrollBehavior||"";this._isEnabled=!1,ue.left=this._previousHTMLStyles.left,ue.top=this._previousHTMLStyles.top,L.classList.remove("cdk-global-scrollblock"),Se&&(ue.scrollBehavior=Be.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Se&&(ue.scrollBehavior=ht,Be.scrollBehavior=ct)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const se=this._document.body,ue=this._viewportRuler.getViewportSize();return se.scrollHeight>ue.height||se.scrollWidth>ue.width}}class rt{constructor(L,se,ue,Be){this._scrollDispatcher=L,this._ngZone=se,this._viewportRuler=ue,this._config=Be,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(L){this._overlayRef=L}enable(){if(this._scrollSubscription)return;const L=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=L.subscribe(()=>{const se=this._viewportRuler.getViewportScrollPosition().top;Math.abs(se-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=L.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class tt{enable(){}disable(){}attach(){}}function Ge(de,L){return L.some(se=>de.bottomse.bottom||de.rightse.right)}function fe(de,L){return L.some(se=>de.topse.bottom||de.leftse.right)}class N{constructor(L,se,ue,Be){this._scrollDispatcher=L,this._viewportRuler=se,this._ngZone=ue,this._config=Be,this._scrollSubscription=null}attach(L){this._overlayRef=L}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const se=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ue,height:Be}=this._viewportRuler.getViewportSize();Ge(se,[{width:ue,height:Be,bottom:Be,right:ue,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let F=(()=>{class de{constructor(se,ue,Be,ht){this._scrollDispatcher=se,this._viewportRuler=ue,this._ngZone=Be,this.noop=()=>new tt,this.close=ct=>new rt(this._scrollDispatcher,this._ngZone,this._viewportRuler,ct),this.block=()=>new Re(this._viewportRuler,this._document),this.reposition=ct=>new N(this._scrollDispatcher,this._viewportRuler,this._ngZone,ct),this._document=ht}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(o.mF),E.LFG(o.rL),E.LFG(E.R0b),E.LFG(a.K0))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})();class U{constructor(L){if(this.scrollStrategy=new tt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,L){const se=Object.keys(L);for(const ue of se)void 0!==L[ue]&&(this[ue]=L[ue])}}}class Ue{constructor(L,se){this.connectionPair=L,this.scrollableViewProperties=se}}let It=(()=>{class de{constructor(se){this._attachedOverlays=[],this._document=se}ngOnDestroy(){this.detach()}add(se){this.remove(se),this._attachedOverlays.push(se)}remove(se){const ue=this._attachedOverlays.indexOf(se);ue>-1&&this._attachedOverlays.splice(ue,1),0===this._attachedOverlays.length&&this.detach()}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(a.K0))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),St=(()=>{class de extends It{constructor(se,ue){super(se),this._ngZone=ue,this._keydownListener=Be=>{const ht=this._attachedOverlays;for(let ct=ht.length-1;ct>-1;ct--)if(ht[ct]._keydownEvents.observers.length>0){const Et=ht[ct]._keydownEvents;this._ngZone?this._ngZone.run(()=>Et.next(Be)):Et.next(Be);break}}}add(se){super.add(se),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(a.K0),E.LFG(E.R0b,8))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),He=(()=>{class de extends It{constructor(se,ue,Be){super(se),this._platform=ue,this._ngZone=Be,this._cursorStyleIsSet=!1,this._pointerDownListener=ht=>{this._pointerDownEventTarget=(0,Q.sA)(ht)},this._clickListener=ht=>{const ct=(0,Q.sA)(ht),Et="click"===ht.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ct;this._pointerDownEventTarget=null;const me=this._attachedOverlays.slice();for(let lt=me.length-1;lt>-1;lt--){const j=me[lt];if(j._outsidePointerEvents.observers.length<1||!j.hasAttached())continue;if(j.overlayElement.contains(ct)||j.overlayElement.contains(Et))break;const ve=j._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ve.next(ht)):ve.next(ht)}}}add(se){if(super.add(se),!this._isAttached){const ue=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ue)):this._addEventListeners(ue),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ue.style.cursor,ue.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const se=this._document.body;se.removeEventListener("pointerdown",this._pointerDownListener,!0),se.removeEventListener("click",this._clickListener,!0),se.removeEventListener("auxclick",this._clickListener,!0),se.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(se.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(se){se.addEventListener("pointerdown",this._pointerDownListener,!0),se.addEventListener("click",this._clickListener,!0),se.addEventListener("auxclick",this._clickListener,!0),se.addEventListener("contextmenu",this._clickListener,!0)}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(a.K0),E.LFG(Q.t4),E.LFG(E.R0b,8))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Ze=(()=>{class de{constructor(se,ue){this._platform=ue,this._document=se}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const se="cdk-overlay-container";if(this._platform.isBrowser||(0,Q.Oy)()){const Be=this._document.querySelectorAll(`.${se}[platform="server"], .${se}[platform="test"]`);for(let ht=0;htthis._backdropClick.next(ve),this._backdropTransitionendHandler=ve=>{this._disposeBackdrop(ve.target)},this._keydownEvents=new K.x,this._outsidePointerEvents=new K.x,Be.scrollStrategy&&(this._scrollStrategy=Be.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Be.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(L){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const se=this._portalOutlet.attach(L);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,he.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof se?.onDestroy&&se.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),se}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const L=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),L}dispose(){const L=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,L&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(L){L!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=L,this.hasAttached()&&(L.attach(this),this.updatePosition()))}updateSize(L){this._config={...this._config,...L},this._updateElementSize()}setDirection(L){this._config={...this._config,direction:L},this._updateElementDirection()}addPanelClass(L){this._pane&&this._toggleClasses(this._pane,L,!0)}removePanelClass(L){this._pane&&this._toggleClasses(this._pane,L,!1)}getDirection(){const L=this._config.direction;return L?"string"==typeof L?L:L.value:"ltr"}updateScrollStrategy(L){L!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=L,this.hasAttached()&&(L.attach(this),L.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const L=this._pane.style;L.width=(0,W.HM)(this._config.width),L.height=(0,W.HM)(this._config.height),L.minWidth=(0,W.HM)(this._config.minWidth),L.minHeight=(0,W.HM)(this._config.minHeight),L.maxWidth=(0,W.HM)(this._config.maxWidth),L.maxHeight=(0,W.HM)(this._config.maxHeight)}_togglePointerEvents(L){this._pane.style.pointerEvents=L?"":"none"}_attachBackdrop(){const L="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(L)})}):this._backdropElement.classList.add(L)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const L=this._backdropElement;if(L){if(this._animationsDisabled)return void this._disposeBackdrop(L);L.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{L.addEventListener("transitionend",this._backdropTransitionendHandler)}),L.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(L)},500))}}_toggleClasses(L,se,ue){const Be=(0,W.Eq)(se||[]).filter(ht=>!!ht);Be.length&&(ue?L.classList.add(...Be):L.classList.remove(...Be))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const L=this._ngZone.onStable.pipe((0,te.R)((0,ee.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),L.unsubscribe())})})}_disposeScrollStrategy(){const L=this._scrollStrategy;L&&(L.disable(),L.detach&&L.detach())}_disposeBackdrop(L){L&&(L.removeEventListener("click",this._backdropClickHandler),L.removeEventListener("transitionend",this._backdropTransitionendHandler),L.remove(),this._backdropElement===L&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const ut="cdk-overlay-connected-position-bounding-box",vt=/([A-Za-z%]+)$/;class We{get positions(){return this._preferredPositions}constructor(L,se,ue,Be,ht){this._viewportRuler=se,this._document=ue,this._platform=Be,this._overlayContainer=ht,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new K.x,this._resizeSubscription=Z.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(L)}attach(L){this._validatePositions(),L.hostElement.classList.add(ut),this._overlayRef=L,this._boundingBox=L.hostElement,this._pane=L.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const L=this._originRect,se=this._overlayRect,ue=this._viewportRect,Be=this._containerRect,ht=[];let ct;for(let Et of this._preferredPositions){let me=this._getOriginPoint(L,Be,Et),lt=this._getOverlayPoint(me,se,Et),j=this._getOverlayFit(lt,se,ue,Et);if(j.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Et,me);this._canFitWithFlexibleDimensions(j,lt,ue)?ht.push({position:Et,origin:me,overlayRect:se,boundingBoxRect:this._calculateBoundingBoxRect(me,Et)}):(!ct||ct.overlayFit.visibleAreame&&(me=j,Et=lt)}return this._isPushed=!1,void this._applyPosition(Et.position,Et.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ct.position,ct.originPoint);this._applyPosition(ct.position,ct.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ot(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ut),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const L=this._lastPosition;if(L){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const se=this._getOriginPoint(this._originRect,this._containerRect,L);this._applyPosition(L,se)}else this.apply()}withScrollableContainers(L){return this._scrollables=L,this}withPositions(L){return this._preferredPositions=L,-1===L.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(L){return this._viewportMargin=L,this}withFlexibleDimensions(L=!0){return this._hasFlexibleDimensions=L,this}withGrowAfterOpen(L=!0){return this._growAfterOpen=L,this}withPush(L=!0){return this._canPush=L,this}withLockedPosition(L=!0){return this._positionLocked=L,this}setOrigin(L){return this._origin=L,this}withDefaultOffsetX(L){return this._offsetX=L,this}withDefaultOffsetY(L){return this._offsetY=L,this}withTransformOriginOn(L){return this._transformOriginSelector=L,this}_getOriginPoint(L,se,ue){let Be,ht;if("center"==ue.originX)Be=L.left+L.width/2;else{const ct=this._isRtl()?L.right:L.left,Et=this._isRtl()?L.left:L.right;Be="start"==ue.originX?ct:Et}return se.left<0&&(Be-=se.left),ht="center"==ue.originY?L.top+L.height/2:"top"==ue.originY?L.top:L.bottom,se.top<0&&(ht-=se.top),{x:Be,y:ht}}_getOverlayPoint(L,se,ue){let Be,ht;return Be="center"==ue.overlayX?-se.width/2:"start"===ue.overlayX?this._isRtl()?-se.width:0:this._isRtl()?0:-se.width,ht="center"==ue.overlayY?-se.height/2:"top"==ue.overlayY?0:-se.height,{x:L.x+Be,y:L.y+ht}}_getOverlayFit(L,se,ue,Be){const ht=ze(se);let{x:ct,y:Et}=L,me=this._getOffset(Be,"x"),lt=this._getOffset(Be,"y");me&&(ct+=me),lt&&(Et+=lt);let pe=0-Et,Fe=Et+ht.height-ue.height,At=this._subtractOverflows(ht.width,0-ct,ct+ht.width-ue.width),wt=this._subtractOverflows(ht.height,pe,Fe),dn=At*wt;return{visibleArea:dn,isCompletelyWithinViewport:ht.width*ht.height===dn,fitsInViewportVertically:wt===ht.height,fitsInViewportHorizontally:At==ht.width}}_canFitWithFlexibleDimensions(L,se,ue){if(this._hasFlexibleDimensions){const Be=ue.bottom-se.y,ht=ue.right-se.x,ct=je(this._overlayRef.getConfig().minHeight),Et=je(this._overlayRef.getConfig().minWidth);return(L.fitsInViewportVertically||null!=ct&&ct<=Be)&&(L.fitsInViewportHorizontally||null!=Et&&Et<=ht)}return!1}_pushOverlayOnScreen(L,se,ue){if(this._previousPushAmount&&this._positionLocked)return{x:L.x+this._previousPushAmount.x,y:L.y+this._previousPushAmount.y};const Be=ze(se),ht=this._viewportRect,ct=Math.max(L.x+Be.width-ht.width,0),Et=Math.max(L.y+Be.height-ht.height,0),me=Math.max(ht.top-ue.top-L.y,0),lt=Math.max(ht.left-ue.left-L.x,0);let j=0,ve=0;return j=Be.width<=ht.width?lt||-ct:L.xAt&&!this._isInitialRender&&!this._growAfterOpen&&(ct=L.y-At/2)}if("end"===se.overlayX&&!Be||"start"===se.overlayX&&Be)pe=ue.width-L.x+this._viewportMargin,j=L.x-this._viewportMargin;else if("start"===se.overlayX&&!Be||"end"===se.overlayX&&Be)ve=L.x,j=ue.right-L.x;else{const Fe=Math.min(ue.right-L.x+ue.left,L.x),At=this._lastBoundingBoxSize.width;j=2*Fe,ve=L.x-Fe,j>At&&!this._isInitialRender&&!this._growAfterOpen&&(ve=L.x-At/2)}return{top:ct,left:ve,bottom:Et,right:pe,width:j,height:ht}}_setBoundingBoxStyles(L,se){const ue=this._calculateBoundingBoxRect(L,se);!this._isInitialRender&&!this._growAfterOpen&&(ue.height=Math.min(ue.height,this._lastBoundingBoxSize.height),ue.width=Math.min(ue.width,this._lastBoundingBoxSize.width));const Be={};if(this._hasExactPosition())Be.top=Be.left="0",Be.bottom=Be.right=Be.maxHeight=Be.maxWidth="",Be.width=Be.height="100%";else{const ht=this._overlayRef.getConfig().maxHeight,ct=this._overlayRef.getConfig().maxWidth;Be.height=(0,W.HM)(ue.height),Be.top=(0,W.HM)(ue.top),Be.bottom=(0,W.HM)(ue.bottom),Be.width=(0,W.HM)(ue.width),Be.left=(0,W.HM)(ue.left),Be.right=(0,W.HM)(ue.right),Be.alignItems="center"===se.overlayX?"center":"end"===se.overlayX?"flex-end":"flex-start",Be.justifyContent="center"===se.overlayY?"center":"bottom"===se.overlayY?"flex-end":"flex-start",ht&&(Be.maxHeight=(0,W.HM)(ht)),ct&&(Be.maxWidth=(0,W.HM)(ct))}this._lastBoundingBoxSize=ue,ot(this._boundingBox.style,Be)}_resetBoundingBoxStyles(){ot(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ot(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(L,se){const ue={},Be=this._hasExactPosition(),ht=this._hasFlexibleDimensions,ct=this._overlayRef.getConfig();if(Be){const j=this._viewportRuler.getViewportScrollPosition();ot(ue,this._getExactOverlayY(se,L,j)),ot(ue,this._getExactOverlayX(se,L,j))}else ue.position="static";let Et="",me=this._getOffset(se,"x"),lt=this._getOffset(se,"y");me&&(Et+=`translateX(${me}px) `),lt&&(Et+=`translateY(${lt}px)`),ue.transform=Et.trim(),ct.maxHeight&&(Be?ue.maxHeight=(0,W.HM)(ct.maxHeight):ht&&(ue.maxHeight="")),ct.maxWidth&&(Be?ue.maxWidth=(0,W.HM)(ct.maxWidth):ht&&(ue.maxWidth="")),ot(this._pane.style,ue)}_getExactOverlayY(L,se,ue){let Be={top:"",bottom:""},ht=this._getOverlayPoint(se,this._overlayRect,L);return this._isPushed&&(ht=this._pushOverlayOnScreen(ht,this._overlayRect,ue)),"bottom"===L.overlayY?Be.bottom=this._document.documentElement.clientHeight-(ht.y+this._overlayRect.height)+"px":Be.top=(0,W.HM)(ht.y),Be}_getExactOverlayX(L,se,ue){let ct,Be={left:"",right:""},ht=this._getOverlayPoint(se,this._overlayRect,L);return this._isPushed&&(ht=this._pushOverlayOnScreen(ht,this._overlayRect,ue)),ct=this._isRtl()?"end"===L.overlayX?"left":"right":"end"===L.overlayX?"right":"left","right"===ct?Be.right=this._document.documentElement.clientWidth-(ht.x+this._overlayRect.width)+"px":Be.left=(0,W.HM)(ht.x),Be}_getScrollVisibility(){const L=this._getOriginRect(),se=this._pane.getBoundingClientRect(),ue=this._scrollables.map(Be=>Be.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fe(L,ue),isOriginOutsideView:Ge(L,ue),isOverlayClipped:fe(se,ue),isOverlayOutsideView:Ge(se,ue)}}_subtractOverflows(L,...se){return se.reduce((ue,Be)=>ue-Math.max(Be,0),L)}_getNarrowedViewportRect(){const L=this._document.documentElement.clientWidth,se=this._document.documentElement.clientHeight,ue=this._viewportRuler.getViewportScrollPosition();return{top:ue.top+this._viewportMargin,left:ue.left+this._viewportMargin,right:ue.left+L-this._viewportMargin,bottom:ue.top+se-this._viewportMargin,width:L-2*this._viewportMargin,height:se-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(L,se){return"x"===se?null==L.offsetX?this._offsetX:L.offsetX:null==L.offsetY?this._offsetY:L.offsetY}_validatePositions(){}_addPanelClasses(L){this._pane&&(0,W.Eq)(L).forEach(se=>{""!==se&&-1===this._appliedPanelClasses.indexOf(se)&&(this._appliedPanelClasses.push(se),this._pane.classList.add(se))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(L=>{this._pane.classList.remove(L)}),this._appliedPanelClasses=[])}_getOriginRect(){const L=this._origin;if(L instanceof E.SBq)return L.nativeElement.getBoundingClientRect();if(L instanceof Element)return L.getBoundingClientRect();const se=L.width||0,ue=L.height||0;return{top:L.y,bottom:L.y+ue,left:L.x,right:L.x+se,height:ue,width:se}}}function ot(de,L){for(let se in L)L.hasOwnProperty(se)&&(de[se]=L[se]);return de}function je(de){if("number"!=typeof de&&null!=de){const[L,se]=de.split(vt);return se&&"px"!==se?null:parseFloat(L)}return de||null}function ze(de){return{top:Math.floor(de.top),right:Math.floor(de.right),bottom:Math.floor(de.bottom),left:Math.floor(de.left),width:Math.floor(de.width),height:Math.floor(de.height)}}const ye="cdk-global-overlay-wrapper";class Le{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(L){const se=L.getConfig();this._overlayRef=L,this._width&&!se.width&&L.updateSize({width:this._width}),this._height&&!se.height&&L.updateSize({height:this._height}),L.hostElement.classList.add(ye),this._isDisposed=!1}top(L=""){return this._bottomOffset="",this._topOffset=L,this._alignItems="flex-start",this}left(L=""){return this._xOffset=L,this._xPosition="left",this}bottom(L=""){return this._topOffset="",this._bottomOffset=L,this._alignItems="flex-end",this}right(L=""){return this._xOffset=L,this._xPosition="right",this}start(L=""){return this._xOffset=L,this._xPosition="start",this}end(L=""){return this._xOffset=L,this._xPosition="end",this}width(L=""){return this._overlayRef?this._overlayRef.updateSize({width:L}):this._width=L,this}height(L=""){return this._overlayRef?this._overlayRef.updateSize({height:L}):this._height=L,this}centerHorizontally(L=""){return this.left(L),this._xPosition="center",this}centerVertically(L=""){return this.top(L),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const L=this._overlayRef.overlayElement.style,se=this._overlayRef.hostElement.style,ue=this._overlayRef.getConfig(),{width:Be,height:ht,maxWidth:ct,maxHeight:Et}=ue,me=!("100%"!==Be&&"100vw"!==Be||ct&&"100%"!==ct&&"100vw"!==ct),lt=!("100%"!==ht&&"100vh"!==ht||Et&&"100%"!==Et&&"100vh"!==Et),j=this._xPosition,ve=this._xOffset,pe="rtl"===this._overlayRef.getConfig().direction;let Fe="",At="",wt="";me?wt="flex-start":"center"===j?(wt="center",pe?At=ve:Fe=ve):pe?"left"===j||"end"===j?(wt="flex-end",Fe=ve):("right"===j||"start"===j)&&(wt="flex-start",At=ve):"left"===j||"start"===j?(wt="flex-start",Fe=ve):("right"===j||"end"===j)&&(wt="flex-end",At=ve),L.position=this._cssPosition,L.marginLeft=me?"0":Fe,L.marginTop=lt?"0":this._topOffset,L.marginBottom=this._bottomOffset,L.marginRight=me?"0":At,se.justifyContent=wt,se.alignItems=lt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const L=this._overlayRef.overlayElement.style,se=this._overlayRef.hostElement,ue=se.style;se.classList.remove(ye),ue.justifyContent=ue.alignItems=L.marginTop=L.marginBottom=L.marginLeft=L.marginRight=L.position="",this._overlayRef=null,this._isDisposed=!0}}let bt=(()=>{class de{constructor(se,ue,Be,ht){this._viewportRuler=se,this._document=ue,this._platform=Be,this._overlayContainer=ht}global(){return new Le}flexibleConnectedTo(se){return new We(se,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(o.rL),E.LFG(a.K0),E.LFG(Q.t4),E.LFG(Ze))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Ct=0,Ft=(()=>{class de{constructor(se,ue,Be,ht,ct,Et,me,lt,j,ve,pe,Fe){this.scrollStrategies=se,this._overlayContainer=ue,this._componentFactoryResolver=Be,this._positionBuilder=ht,this._keyboardDispatcher=ct,this._injector=Et,this._ngZone=me,this._document=lt,this._directionality=j,this._location=ve,this._outsideClickDispatcher=pe,this._animationsModuleType=Fe}create(se){const ue=this._createHostElement(),Be=this._createPaneElement(ue),ht=this._createPortalOutlet(Be),ct=new U(se);return ct.direction=ct.direction||this._directionality.value,new nt(ht,ue,Be,ct,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(se){const ue=this._document.createElement("div");return ue.id="cdk-overlay-"+Ct++,ue.classList.add("cdk-overlay-pane"),se.appendChild(ue),ue}_createHostElement(){const se=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(se),se}_createPortalOutlet(se){return this._appRef||(this._appRef=this._injector.get(E.z2F)),new re.u0(se,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(F),E.LFG(Ze),E.LFG(E._Vd),E.LFG(bt),E.LFG(St),E.LFG(E.zs3),E.LFG(E.R0b),E.LFG(a.K0),E.LFG(G.Is),E.LFG(a.Ye),E.LFG(He),E.LFG(E.QbO,8))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})();const Ne=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],qe=new E.OlP("cdk-connected-overlay-scroll-strategy");let mt=(()=>{class de{constructor(se){this.elementRef=se}}return de.\u0275fac=function(se){return new(se||de)(E.Y36(E.SBq))},de.\u0275dir=E.lG2({type:de,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),de})(),le=(()=>{class de{get offsetX(){return this._offsetX}set offsetX(se){this._offsetX=se,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(se){this._offsetY=se,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(se){this._hasBackdrop=(0,W.Ig)(se)}get lockPosition(){return this._lockPosition}set lockPosition(se){this._lockPosition=(0,W.Ig)(se)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(se){this._flexibleDimensions=(0,W.Ig)(se)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(se){this._growAfterOpen=(0,W.Ig)(se)}get push(){return this._push}set push(se){this._push=(0,W.Ig)(se)}constructor(se,ue,Be,ht,ct){this._overlay=se,this._dir=ct,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Z.w0.EMPTY,this._attachSubscription=Z.w0.EMPTY,this._detachSubscription=Z.w0.EMPTY,this._positionSubscription=Z.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new E.vpe,this.positionChange=new E.vpe,this.attach=new E.vpe,this.detach=new E.vpe,this.overlayKeydown=new E.vpe,this.overlayOutsideClick=new E.vpe,this._templatePortal=new re.UE(ue,Be),this._scrollStrategyFactory=ht,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(se){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),se.origin&&this.open&&this._position.apply()),se.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ne);const se=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=se.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=se.detachments().subscribe(()=>this.detach.emit()),se.keydownEvents().subscribe(ue=>{this.overlayKeydown.next(ue),ue.keyCode===xe.hY&&!this.disableClose&&!(0,xe.Vb)(ue)&&(ue.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ue=>{this.overlayOutsideClick.next(ue)})}_buildConfig(){const se=this._position=this.positionStrategy||this._createPositionStrategy(),ue=new U({direction:this._dir,positionStrategy:se,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ue.width=this.width),(this.height||0===this.height)&&(ue.height=this.height),(this.minWidth||0===this.minWidth)&&(ue.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ue.minHeight=this.minHeight),this.backdropClass&&(ue.backdropClass=this.backdropClass),this.panelClass&&(ue.panelClass=this.panelClass),ue}_updatePositionStrategy(se){const ue=this.positions.map(Be=>({originX:Be.originX,originY:Be.originY,overlayX:Be.overlayX,overlayY:Be.overlayY,offsetX:Be.offsetX||this.offsetX,offsetY:Be.offsetY||this.offsetY,panelClass:Be.panelClass||void 0}));return se.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ue).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const se=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(se),se}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof mt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(se=>{this.backdropClick.emit(se)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,ke.o)(()=>this.positionChange.observers.length>0)).subscribe(se=>{this.positionChange.emit(se),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return de.\u0275fac=function(se){return new(se||de)(E.Y36(Ft),E.Y36(E.Rgc),E.Y36(E.s_b),E.Y36(qe),E.Y36(G.Is,8))},de.\u0275dir=E.lG2({type:de,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[E.TTD]}),de})();const ne={provide:qe,deps:[Ft],useFactory:function we(de){return()=>de.scrollStrategies.reposition()}};let Pe=(()=>{class de{}return de.\u0275fac=function(se){return new(se||de)},de.\u0275mod=E.oAB({type:de}),de.\u0275inj=E.cJS({providers:[Ft,ne],imports:[G.vT,re.eL,o.Cl,o.Cl]}),de})()},3353:(_t,De,f)=>{"use strict";f.d(De,{Mq:()=>xe,Oy:()=>fe,_i:()=>Se,ht:()=>tt,i$:()=>he,kV:()=>rt,qK:()=>K,sA:()=>Ge,t4:()=>W});var o=f(4650),a=f(6895);let E;try{E=typeof Intl<"u"&&Intl.v8BreakIterator}catch{E=!1}let G,W=(()=>{class N{constructor(U){this._platformId=U,this.isBrowser=this._platformId?(0,a.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!E)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return N.\u0275fac=function(U){return new(U||N)(o.LFG(o.Lbi))},N.\u0275prov=o.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const re=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function K(){if(G)return G;if("object"!=typeof document||!document)return G=new Set(re),G;let N=document.createElement("input");return G=new Set(re.filter(F=>(N.setAttribute("type",F),N.type===F))),G}let Z,te,ke,Re;function he(N){return function ee(){if(null==Z&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Z=!0}))}finally{Z=Z||!1}return Z}()?N:!!N.capture}function xe(){if(null==ke){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ke=!1,ke;if("scrollBehavior"in document.documentElement.style)ke=!0;else{const N=Element.prototype.scrollTo;ke=!!N&&!/\{\s*\[native code\]\s*\}/.test(N.toString())}}return ke}function Se(){if("object"!=typeof document||!document)return 0;if(null==te){const N=document.createElement("div"),F=N.style;N.dir="rtl",F.width="1px",F.overflow="auto",F.visibility="hidden",F.pointerEvents="none",F.position="absolute";const U=document.createElement("div"),ce=U.style;ce.width="2px",ce.height="1px",N.appendChild(U),document.body.appendChild(N),te=0,0===N.scrollLeft&&(N.scrollLeft=1,te=0===N.scrollLeft?1:2),N.remove()}return te}function rt(N){if(function Me(){if(null==Re){const N=typeof document<"u"?document.head:null;Re=!(!N||!N.createShadowRoot&&!N.attachShadow)}return Re}()){const F=N.getRootNode?N.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&F instanceof ShadowRoot)return F}return null}function tt(){let N=typeof document<"u"&&document?document.activeElement:null;for(;N&&N.shadowRoot;){const F=N.shadowRoot.activeElement;if(F===N)break;N=F}return N}function Ge(N){return N.composedPath?N.composedPath()[0]:N.target}function fe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(_t,De,f)=>{"use strict";f.d(De,{C5:()=>ee,Pl:()=>tt,UE:()=>he,eL:()=>fe,en:()=>ke,u0:()=>Se});var o=f(4650),a=f(6895);class Z{attach(U){return this._attachedHost=U,U.attach(this)}detach(){let U=this._attachedHost;null!=U&&(this._attachedHost=null,U.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(U){this._attachedHost=U}}class ee extends Z{constructor(U,ce,Oe,Ue,at){super(),this.component=U,this.viewContainerRef=ce,this.injector=Oe,this.componentFactoryResolver=Ue,this.projectableNodes=at}}class he extends Z{constructor(U,ce,Oe,Ue){super(),this.templateRef=U,this.viewContainerRef=ce,this.context=Oe,this.injector=Ue}get origin(){return this.templateRef.elementRef}attach(U,ce=this.context){return this.context=ce,super.attach(U)}detach(){return this.context=void 0,super.detach()}}class te extends Z{constructor(U){super(),this.element=U instanceof o.SBq?U.nativeElement:U}}class ke{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(U){return U instanceof ee?(this._attachedPortal=U,this.attachComponentPortal(U)):U instanceof he?(this._attachedPortal=U,this.attachTemplatePortal(U)):this.attachDomPortal&&U instanceof te?(this._attachedPortal=U,this.attachDomPortal(U)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(U){this._disposeFn=U}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Se extends ke{constructor(U,ce,Oe,Ue,at){super(),this.outletElement=U,this._componentFactoryResolver=ce,this._appRef=Oe,this._defaultInjector=Ue,this.attachDomPortal=ft=>{const It=ft.element,St=this._document.createComment("dom-portal");It.parentNode.insertBefore(St,It),this.outletElement.appendChild(It),this._attachedPortal=ft,super.setDisposeFn(()=>{St.parentNode&&St.parentNode.replaceChild(It,St)})},this._document=at}attachComponentPortal(U){const Oe=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component);let Ue;return U.viewContainerRef?(Ue=U.viewContainerRef.createComponent(Oe,U.viewContainerRef.length,U.injector||U.viewContainerRef.injector,U.projectableNodes||void 0),this.setDisposeFn(()=>Ue.destroy())):(Ue=Oe.create(U.injector||this._defaultInjector||o.zs3.NULL),this._appRef.attachView(Ue.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Ue.hostView),Ue.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ue)),this._attachedPortal=U,Ue}attachTemplatePortal(U){let ce=U.viewContainerRef,Oe=ce.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return Oe.rootNodes.forEach(Ue=>this.outletElement.appendChild(Ue)),Oe.detectChanges(),this.setDisposeFn(()=>{let Ue=ce.indexOf(Oe);-1!==Ue&&ce.remove(Ue)}),this._attachedPortal=U,Oe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(U){return U.hostView.rootNodes[0]}}let tt=(()=>{class F extends ke{constructor(ce,Oe,Ue){super(),this._componentFactoryResolver=ce,this._viewContainerRef=Oe,this._isInitialized=!1,this.attached=new o.vpe,this.attachDomPortal=at=>{const ft=at.element,It=this._document.createComment("dom-portal");at.setAttachedHost(this),ft.parentNode.insertBefore(It,ft),this._getRootNode().appendChild(ft),this._attachedPortal=at,super.setDisposeFn(()=>{It.parentNode&&It.parentNode.replaceChild(ft,It)})},this._document=Ue}get portal(){return this._attachedPortal}set portal(ce){this.hasAttached()&&!ce&&!this._isInitialized||(this.hasAttached()&&super.detach(),ce&&super.attach(ce),this._attachedPortal=ce||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(ce){ce.setAttachedHost(this);const Oe=null!=ce.viewContainerRef?ce.viewContainerRef:this._viewContainerRef,at=(ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ce.component),ft=Oe.createComponent(at,Oe.length,ce.injector||Oe.injector,ce.projectableNodes||void 0);return Oe!==this._viewContainerRef&&this._getRootNode().appendChild(ft.hostView.rootNodes[0]),super.setDisposeFn(()=>ft.destroy()),this._attachedPortal=ce,this._attachedRef=ft,this.attached.emit(ft),ft}attachTemplatePortal(ce){ce.setAttachedHost(this);const Oe=this._viewContainerRef.createEmbeddedView(ce.templateRef,ce.context,{injector:ce.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ce,this._attachedRef=Oe,this.attached.emit(Oe),Oe}_getRootNode(){const ce=this._viewContainerRef.element.nativeElement;return ce.nodeType===ce.ELEMENT_NODE?ce:ce.parentNode}}return F.\u0275fac=function(ce){return new(ce||F)(o.Y36(o._Vd),o.Y36(o.s_b),o.Y36(a.K0))},F.\u0275dir=o.lG2({type:F,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[o.qOj]}),F})(),fe=(()=>{class F{}return F.\u0275fac=function(ce){return new(ce||F)},F.\u0275mod=o.oAB({type:F}),F.\u0275inj=o.cJS({}),F})()},5589:(_t,De,f)=>{"use strict";f.d(De,{ZD:()=>qe,mF:()=>vt,Cl:()=>mt,rL:()=>je});var o=f(1281),a=f(4650),E=f(7579),W=f(9646),Q=f(9751),G=f(4968),re=f(4408),K=f(727);const Z={schedule(le){let we=requestAnimationFrame,ne=cancelAnimationFrame;const{delegate:Pe}=Z;Pe&&(we=Pe.requestAnimationFrame,ne=Pe.cancelAnimationFrame);const pt=we(de=>{ne=void 0,le(de)});return new K.w0(()=>ne?.(pt))},requestAnimationFrame(...le){const{delegate:we}=Z;return(we?.requestAnimationFrame||requestAnimationFrame)(...le)},cancelAnimationFrame(...le){const{delegate:we}=Z;return(we?.cancelAnimationFrame||cancelAnimationFrame)(...le)},delegate:void 0};var he=f(640);const ke=new class te extends he.v{flush(we){this._active=!0;const ne=this._scheduled;this._scheduled=void 0;const{actions:Pe}=this;let pt;we=we||Pe.shift();do{if(pt=we.execute(we.state,we.delay))break}while((we=Pe[0])&&we.id===ne&&Pe.shift());if(this._active=!1,pt){for(;(we=Pe[0])&&we.id===ne&&Pe.shift();)we.unsubscribe();throw pt}}}(class ee extends re.o{constructor(we,ne){super(we,ne),this.scheduler=we,this.work=ne}requestAsyncId(we,ne,Pe=0){return null!==Pe&&Pe>0?super.requestAsyncId(we,ne,Pe):(we.actions.push(this),we._scheduled||(we._scheduled=Z.requestAnimationFrame(()=>we.flush(void 0))))}recycleAsyncId(we,ne,Pe=0){var pt;if(null!=Pe?Pe>0:this.delay>0)return super.recycleAsyncId(we,ne,Pe);const{actions:de}=we;null!=ne&&(null===(pt=de[de.length-1])||void 0===pt?void 0:pt.id)!==ne&&(Z.cancelAnimationFrame(ne),we._scheduled=void 0)}});var Se=f(3101),Re=f(4986),Me=f(4482),rt=f(8421),tt=f(5403),fe=f(5963);function N(le,we=Re.z){return function Ge(le){return(0,Me.e)((we,ne)=>{let Pe=!1,pt=null,de=null,L=!1;const se=()=>{if(de?.unsubscribe(),de=null,Pe){Pe=!1;const Be=pt;pt=null,ne.next(Be)}L&&ne.complete()},ue=()=>{de=null,L&&ne.complete()};we.subscribe((0,tt.x)(ne,Be=>{Pe=!0,pt=Be,de||(0,rt.Xf)(le(Be)).subscribe(de=(0,tt.x)(ne,se,ue))},()=>{L=!0,(!Pe||!de||de.closed)&&ne.complete()}))})}(()=>(0,fe.H)(le,we))}var F=f(9300),U=f(2722),ce=f(8675),Oe=f(3353),Ue=f(6895),at=f(445);const ft=["contentWrapper"],It=["*"],St=new a.OlP("VIRTUAL_SCROLL_STRATEGY");let vt=(()=>{class le{constructor(ne,Pe,pt){this._ngZone=ne,this._platform=Pe,this._scrolled=new E.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=pt}register(ne){this.scrollContainers.has(ne)||this.scrollContainers.set(ne,ne.elementScrolled().subscribe(()=>this._scrolled.next(ne)))}deregister(ne){const Pe=this.scrollContainers.get(ne);Pe&&(Pe.unsubscribe(),this.scrollContainers.delete(ne))}scrolled(ne=20){return this._platform.isBrowser?new Q.y(Pe=>{this._globalSubscription||this._addGlobalListener();const pt=ne>0?this._scrolled.pipe(N(ne)).subscribe(Pe):this._scrolled.subscribe(Pe);return this._scrolledCount++,()=>{pt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,W.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ne,Pe)=>this.deregister(Pe)),this._scrolled.complete()}ancestorScrolled(ne,Pe){const pt=this.getAncestorScrollContainers(ne);return this.scrolled(Pe).pipe((0,F.h)(de=>!de||pt.indexOf(de)>-1))}getAncestorScrollContainers(ne){const Pe=[];return this.scrollContainers.forEach((pt,de)=>{this._scrollableContainsElement(de,ne)&&Pe.push(de)}),Pe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ne,Pe){let pt=(0,o.fI)(Pe),de=ne.getElementRef().nativeElement;do{if(pt==de)return!0}while(pt=pt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ne=this._getWindow();return(0,G.R)(ne.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return le.\u0275fac=function(ne){return new(ne||le)(a.LFG(a.R0b),a.LFG(Oe.t4),a.LFG(Ue.K0,8))},le.\u0275prov=a.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})(),We=(()=>{class le{constructor(ne,Pe,pt,de){this.elementRef=ne,this.scrollDispatcher=Pe,this.ngZone=pt,this.dir=de,this._destroyed=new E.x,this._elementScrolled=new Q.y(L=>this.ngZone.runOutsideAngular(()=>(0,G.R)(this.elementRef.nativeElement,"scroll").pipe((0,U.R)(this._destroyed)).subscribe(L)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(ne){const Pe=this.elementRef.nativeElement,pt=this.dir&&"rtl"==this.dir.value;null==ne.left&&(ne.left=pt?ne.end:ne.start),null==ne.right&&(ne.right=pt?ne.start:ne.end),null!=ne.bottom&&(ne.top=Pe.scrollHeight-Pe.clientHeight-ne.bottom),pt&&0!=(0,Oe._i)()?(null!=ne.left&&(ne.right=Pe.scrollWidth-Pe.clientWidth-ne.left),2==(0,Oe._i)()?ne.left=ne.right:1==(0,Oe._i)()&&(ne.left=ne.right?-ne.right:ne.right)):null!=ne.right&&(ne.left=Pe.scrollWidth-Pe.clientWidth-ne.right),this._applyScrollToOptions(ne)}_applyScrollToOptions(ne){const Pe=this.elementRef.nativeElement;(0,Oe.Mq)()?Pe.scrollTo(ne):(null!=ne.top&&(Pe.scrollTop=ne.top),null!=ne.left&&(Pe.scrollLeft=ne.left))}measureScrollOffset(ne){const Pe="left",de=this.elementRef.nativeElement;if("top"==ne)return de.scrollTop;if("bottom"==ne)return de.scrollHeight-de.clientHeight-de.scrollTop;const L=this.dir&&"rtl"==this.dir.value;return"start"==ne?ne=L?"right":Pe:"end"==ne&&(ne=L?Pe:"right"),L&&2==(0,Oe._i)()?ne==Pe?de.scrollWidth-de.clientWidth-de.scrollLeft:de.scrollLeft:L&&1==(0,Oe._i)()?ne==Pe?de.scrollLeft+de.scrollWidth-de.clientWidth:-de.scrollLeft:ne==Pe?de.scrollLeft:de.scrollWidth-de.clientWidth-de.scrollLeft}}return le.\u0275fac=function(ne){return new(ne||le)(a.Y36(a.SBq),a.Y36(vt),a.Y36(a.R0b),a.Y36(at.Is,8))},le.\u0275dir=a.lG2({type:le,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),le})(),je=(()=>{class le{constructor(ne,Pe,pt){this._platform=ne,this._change=new E.x,this._changeListener=de=>{this._change.next(de)},this._document=pt,Pe.runOutsideAngular(()=>{if(ne.isBrowser){const de=this._getWindow();de.addEventListener("resize",this._changeListener),de.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ne=this._getWindow();ne.removeEventListener("resize",this._changeListener),ne.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ne={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ne}getViewportRect(){const ne=this.getViewportScrollPosition(),{width:Pe,height:pt}=this.getViewportSize();return{top:ne.top,left:ne.left,bottom:ne.top+pt,right:ne.left+Pe,height:pt,width:Pe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ne=this._document,Pe=this._getWindow(),pt=ne.documentElement,de=pt.getBoundingClientRect();return{top:-de.top||ne.body.scrollTop||Pe.scrollY||pt.scrollTop||0,left:-de.left||ne.body.scrollLeft||Pe.scrollX||pt.scrollLeft||0}}change(ne=20){return ne>0?this._change.pipe(N(ne)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ne=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ne.innerWidth,height:ne.innerHeight}:{width:0,height:0}}}return le.\u0275fac=function(ne){return new(ne||le)(a.LFG(Oe.t4),a.LFG(a.R0b),a.LFG(Ue.K0,8))},le.\u0275prov=a.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();const ze=new a.OlP("VIRTUAL_SCROLLABLE");let Qe=(()=>{class le extends We{constructor(ne,Pe,pt,de){super(ne,Pe,pt,de)}measureViewportSize(ne){const Pe=this.elementRef.nativeElement;return"horizontal"===ne?Pe.clientWidth:Pe.clientHeight}}return le.\u0275fac=function(ne){return new(ne||le)(a.Y36(a.SBq),a.Y36(vt),a.Y36(a.R0b),a.Y36(at.Is,8))},le.\u0275dir=a.lG2({type:le,features:[a.qOj]}),le})();const ye=typeof requestAnimationFrame<"u"?ke:Se.E;let Le=(()=>{class le extends Qe{get orientation(){return this._orientation}set orientation(ne){this._orientation!==ne&&(this._orientation=ne,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(ne){this._appendOnly=(0,o.Ig)(ne)}constructor(ne,Pe,pt,de,L,se,ue,Be){super(ne,se,pt,L),this.elementRef=ne,this._changeDetectorRef=Pe,this._scrollStrategy=de,this.scrollable=Be,this._platform=(0,a.f3M)(Oe.t4),this._detachedSubject=new E.x,this._renderedRangeSubject=new E.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new Q.y(ht=>this._scrollStrategy.scrolledIndexChange.subscribe(ct=>Promise.resolve().then(()=>this.ngZone.run(()=>ht.next(ct))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=K.w0.EMPTY,this._viewportChanges=ue.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,ce.O)(null),N(0,ye)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(ne){this.ngZone.runOutsideAngular(()=>{this._forOf=ne,this._forOf.dataStream.pipe((0,U.R)(this._detachedSubject)).subscribe(Pe=>{const pt=Pe.length;pt!==this._dataLength&&(this._dataLength=pt,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(ne){return this.getElementRef().nativeElement.getBoundingClientRect()[ne]}setTotalContentSize(ne){this._totalContentSize!==ne&&(this._totalContentSize=ne,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(ne){(function kt(le,we){return le.start==we.start&&le.end==we.end})(this._renderedRange,ne)||(this.appendOnly&&(ne={start:0,end:Math.max(this._renderedRange.end,ne.end)}),this._renderedRangeSubject.next(this._renderedRange=ne),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(ne,Pe="to-start"){ne=this.appendOnly&&"to-start"===Pe?0:ne;const de="horizontal"==this.orientation,L=de?"X":"Y";let ue=`translate${L}(${Number((de&&this.dir&&"rtl"==this.dir.value?-1:1)*ne)}px)`;this._renderedContentOffset=ne,"to-end"===Pe&&(ue+=` translate${L}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=ue&&(this._renderedContentTransform=ue,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(ne,Pe="auto"){const pt={behavior:Pe};"horizontal"===this.orientation?pt.start=ne:pt.top=ne,this.scrollable.scrollTo(pt)}scrollToIndex(ne,Pe="auto"){this._scrollStrategy.scrollToIndex(ne,Pe)}measureScrollOffset(ne){let Pe;return Pe=this.scrollable==this?pt=>super.measureScrollOffset(pt):pt=>this.scrollable.measureScrollOffset(pt),Math.max(0,Pe(ne??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(ne){let Pe;const L="rtl"==this.dir?.value;Pe="start"==ne?L?"right":"left":"end"==ne?L?"left":"right":ne||("horizontal"===this.orientation?"left":"top");const se=this.scrollable.measureBoundingClientRectWithScrollOffset(Pe);return this.elementRef.nativeElement.getBoundingClientRect()[Pe]-se}measureRenderedContentSize(){const ne=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?ne.offsetWidth:ne.offsetHeight}measureRangeSize(ne){return this._forOf?this._forOf.measureRangeSize(ne,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(ne){ne&&this._runAfterChangeDetection.push(ne),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const ne=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const Pe of ne)Pe()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return le.\u0275fac=function(ne){return new(ne||le)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(a.R0b),a.Y36(St,8),a.Y36(at.Is,8),a.Y36(vt),a.Y36(je),a.Y36(ze,8))},le.\u0275cmp=a.Xpm({type:le,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(ne,Pe){if(1&ne&&a.Gf(ft,7),2&ne){let pt;a.iGM(pt=a.CRH())&&(Pe._contentWrapper=pt.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(ne,Pe){2&ne&&a.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===Pe.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Pe.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[a._Bn([{provide:We,useFactory:(we,ne)=>we||ne,deps:[[new a.FiY,new a.tBr(ze)],le]}]),a.qOj,a.jDz],ngContentSelectors:It,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(ne,Pe){1&ne&&(a.F$t(),a.TgZ(0,"div",0,1),a.Hsn(2),a.qZA(),a._UZ(3,"div",2)),2&ne&&(a.xp6(3),a.Udp("width",Pe._totalContentWidth)("height",Pe._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),le})(),qe=(()=>{class le{}return le.\u0275fac=function(ne){return new(ne||le)},le.\u0275mod=a.oAB({type:le}),le.\u0275inj=a.cJS({}),le})(),mt=(()=>{class le{}return le.\u0275fac=function(ne){return new(ne||le)},le.\u0275mod=a.oAB({type:le}),le.\u0275inj=a.cJS({imports:[at.vT,qe,Le,at.vT,qe]}),le})()},6895:(_t,De,f)=>{"use strict";f.d(De,{Do:()=>tt,ED:()=>Kn,EM:()=>nr,HT:()=>W,JF:()=>Xr,JJ:()=>Rr,K0:()=>G,Mx:()=>ei,NF:()=>er,O5:()=>Qi,OU:()=>Kr,Ov:()=>Vi,PC:()=>Bi,RF:()=>qi,S$:()=>Re,V_:()=>Z,Ye:()=>Ge,b0:()=>rt,bD:()=>Lr,ez:()=>es,mk:()=>nn,n9:()=>Ni,q:()=>E,sg:()=>ci,tP:()=>zi,uU:()=>Fn,w_:()=>Q});var o=f(4650);let a=null;function E(){return a}function W(g){a||(a=g)}class Q{}const G=new o.OlP("DocumentToken");let re=(()=>{class g{historyGo(D){throw new Error("Not implemented")}}return g.\u0275fac=function(D){return new(D||g)},g.\u0275prov=o.Yz7({token:g,factory:function(){return function K(){return(0,o.LFG)(ee)}()},providedIn:"platform"}),g})();const Z=new o.OlP("Location Initialized");let ee=(()=>{class g extends re{constructor(D){super(),this._doc=D,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return E().getBaseHref(this._doc)}onPopState(D){const H=E().getGlobalEventTarget(this._doc,"window");return H.addEventListener("popstate",D,!1),()=>H.removeEventListener("popstate",D)}onHashChange(D){const H=E().getGlobalEventTarget(this._doc,"window");return H.addEventListener("hashchange",D,!1),()=>H.removeEventListener("hashchange",D)}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(D){this._location.pathname=D}pushState(D,H,ge){he()?this._history.pushState(D,H,ge):this._location.hash=ge}replaceState(D,H,ge){he()?this._history.replaceState(D,H,ge):this._location.hash=ge}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return g.\u0275fac=function(D){return new(D||g)(o.LFG(G))},g.\u0275prov=o.Yz7({token:g,factory:function(){return function te(){return new ee((0,o.LFG)(G))}()},providedIn:"platform"}),g})();function he(){return!!window.history.pushState}function ke(g,O){if(0==g.length)return O;if(0==O.length)return g;let D=0;return g.endsWith("/")&&D++,O.startsWith("/")&&D++,2==D?g+O.substring(1):1==D?g+O:g+"/"+O}function xe(g){const O=g.match(/#|\?|$/),D=O&&O.index||g.length;return g.slice(0,D-("/"===g[D-1]?1:0))+g.slice(D)}function Se(g){return g&&"?"!==g[0]?"?"+g:g}let Re=(()=>{class g{historyGo(D){throw new Error("Not implemented")}}return g.\u0275fac=function(D){return new(D||g)},g.\u0275prov=o.Yz7({token:g,factory:function(){return(0,o.f3M)(rt)},providedIn:"root"}),g})();const Me=new o.OlP("appBaseHref");let rt=(()=>{class g extends Re{constructor(D,H){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=H??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return ke(this._baseHref,D)}path(D=!1){const H=this._platformLocation.pathname+Se(this._platformLocation.search),ge=this._platformLocation.hash;return ge&&D?`${H}${ge}`:H}pushState(D,H,ge,Je){const gt=this.prepareExternalUrl(ge+Se(Je));this._platformLocation.pushState(D,H,gt)}replaceState(D,H,ge,Je){const gt=this.prepareExternalUrl(ge+Se(Je));this._platformLocation.replaceState(D,H,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return g.\u0275fac=function(D){return new(D||g)(o.LFG(re),o.LFG(Me,8))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),tt=(()=>{class g extends Re{constructor(D,H){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=H&&(this._baseHref=H)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let H=this._platformLocation.hash;return null==H&&(H="#"),H.length>0?H.substring(1):H}prepareExternalUrl(D){const H=ke(this._baseHref,D);return H.length>0?"#"+H:H}pushState(D,H,ge,Je){let gt=this.prepareExternalUrl(ge+Se(Je));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.pushState(D,H,gt)}replaceState(D,H,ge,Je){let gt=this.prepareExternalUrl(ge+Se(Je));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.replaceState(D,H,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return g.\u0275fac=function(D){return new(D||g)(o.LFG(re),o.LFG(Me,8))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})(),Ge=(()=>{class g{constructor(D){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const H=this._locationStrategy.getBaseHref();this._basePath=function U(g){if(new RegExp("^(https?:)?//").test(g)){const[,D]=g.split(/\/\/[^\/]+/);return D}return g}(xe(F(H))),this._locationStrategy.onPopState(ge=>{this._subject.emit({url:this.path(!0),pop:!0,state:ge.state,type:ge.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,H=""){return this.path()==this.normalize(D+Se(H))}normalize(D){return g.stripTrailingSlash(function N(g,O){return g&&new RegExp(`^${g}([/;?#]|$)`).test(O)?O.substring(g.length):O}(this._basePath,F(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,H="",ge=null){this._locationStrategy.pushState(ge,"",D,H),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Se(H)),ge)}replaceState(D,H="",ge=null){this._locationStrategy.replaceState(ge,"",D,H),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Se(H)),ge)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(H=>{this._notifyUrlChangeListeners(H.url,H.state)})),()=>{const H=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(H,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",H){this._urlChangeListeners.forEach(ge=>ge(D,H))}subscribe(D,H,ge){return this._subject.subscribe({next:D,error:H,complete:ge})}}return g.normalizeQueryParams=Se,g.joinWithSlash=ke,g.stripTrailingSlash=xe,g.\u0275fac=function(D){return new(D||g)(o.LFG(Re))},g.\u0275prov=o.Yz7({token:g,factory:function(){return function fe(){return new Ge((0,o.LFG)(Re))}()},providedIn:"root"}),g})();function F(g){return g.replace(/\/index.html$/,"")}var Oe=(()=>((Oe=Oe||{})[Oe.Decimal=0]="Decimal",Oe[Oe.Percent=1]="Percent",Oe[Oe.Currency=2]="Currency",Oe[Oe.Scientific=3]="Scientific",Oe))(),at=(()=>((at=at||{})[at.Format=0]="Format",at[at.Standalone=1]="Standalone",at))(),ft=(()=>((ft=ft||{})[ft.Narrow=0]="Narrow",ft[ft.Abbreviated=1]="Abbreviated",ft[ft.Wide=2]="Wide",ft[ft.Short=3]="Short",ft))(),It=(()=>((It=It||{})[It.Short=0]="Short",It[It.Medium=1]="Medium",It[It.Long=2]="Long",It[It.Full=3]="Full",It))(),St=(()=>((St=St||{})[St.Decimal=0]="Decimal",St[St.Group=1]="Group",St[St.List=2]="List",St[St.PercentSign=3]="PercentSign",St[St.PlusSign=4]="PlusSign",St[St.MinusSign=5]="MinusSign",St[St.Exponential=6]="Exponential",St[St.SuperscriptingExponent=7]="SuperscriptingExponent",St[St.PerMille=8]="PerMille",St[St.Infinity=9]="Infinity",St[St.NaN=10]="NaN",St[St.TimeSeparator=11]="TimeSeparator",St[St.CurrencyDecimal=12]="CurrencyDecimal",St[St.CurrencyGroup=13]="CurrencyGroup",St))();function ze(g,O){return Pe((0,o.cg1)(g)[o.wAp.DateFormat],O)}function Qe(g,O){return Pe((0,o.cg1)(g)[o.wAp.TimeFormat],O)}function kt(g,O){return Pe((0,o.cg1)(g)[o.wAp.DateTimeFormat],O)}function ye(g,O){const D=(0,o.cg1)(g),H=D[o.wAp.NumberSymbols][O];if(typeof H>"u"){if(O===St.CurrencyDecimal)return D[o.wAp.NumberSymbols][St.Decimal];if(O===St.CurrencyGroup)return D[o.wAp.NumberSymbols][St.Group]}return H}function mt(g){if(!g[o.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[o.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Pe(g,O){for(let D=O;D>-1;D--)if(typeof g[D]<"u")return g[D];throw new Error("Locale data API: locale data undefined")}function pt(g){const[O,D]=g.split(":");return{hours:+O,minutes:+D}}const ue=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Be={},ht=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ct=(()=>((ct=ct||{})[ct.Short=0]="Short",ct[ct.ShortGMT=1]="ShortGMT",ct[ct.Long=2]="Long",ct[ct.Extended=3]="Extended",ct))(),Et=(()=>((Et=Et||{})[Et.FullYear=0]="FullYear",Et[Et.Month=1]="Month",Et[Et.Date=2]="Date",Et[Et.Hours=3]="Hours",Et[Et.Minutes=4]="Minutes",Et[Et.Seconds=5]="Seconds",Et[Et.FractionalSeconds=6]="FractionalSeconds",Et[Et.Day=7]="Day",Et))(),me=(()=>((me=me||{})[me.DayPeriods=0]="DayPeriods",me[me.Days=1]="Days",me[me.Months=2]="Months",me[me.Eras=3]="Eras",me))();function lt(g,O,D,H){let ge=function yn(g){if(Cn(g))return g;if("number"==typeof g&&!isNaN(g))return new Date(g);if("string"==typeof g){if(g=g.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(g)){const[ge,Je=1,gt=1]=g.split("-").map(Gt=>+Gt);return j(ge,Je-1,gt)}const D=parseFloat(g);if(!isNaN(g-D))return new Date(D);let H;if(H=g.match(ue))return function fi(g){const O=new Date(0);let D=0,H=0;const ge=g[8]?O.setUTCFullYear:O.setFullYear,Je=g[8]?O.setUTCHours:O.setHours;g[9]&&(D=Number(g[9]+g[10]),H=Number(g[9]+g[11])),ge.call(O,Number(g[1]),Number(g[2])-1,Number(g[3]));const gt=Number(g[4]||0)-D,Gt=Number(g[5]||0)-H,Tn=Number(g[6]||0),bn=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return Je.call(O,gt,Gt,Tn,bn),O}(H)}const O=new Date(g);if(!Cn(O))throw new Error(`Unable to convert "${g}" into a date`);return O}(g);O=ve(D,O)||O;let Gt,gt=[];for(;O;){if(Gt=ht.exec(O),!Gt){gt.push(O);break}{gt=gt.concat(Gt.slice(1));const An=gt.pop();if(!An)break;O=An}}let Tn=ge.getTimezoneOffset();H&&(Tn=Ot(H,Tn),ge=function xt(g,O,D){const H=D?-1:1,ge=g.getTimezoneOffset();return function Yt(g,O){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+O),g}(g,H*(Ot(O,ge)-ge))}(ge,H,!0));let bn="";return gt.forEach(An=>{const pn=function it(g){if(oe[g])return oe[g];let O;switch(g){case"G":case"GG":case"GGG":O=jt(me.Eras,ft.Abbreviated);break;case"GGGG":O=jt(me.Eras,ft.Wide);break;case"GGGGG":O=jt(me.Eras,ft.Narrow);break;case"y":O=wt(Et.FullYear,1,0,!1,!0);break;case"yy":O=wt(Et.FullYear,2,0,!0,!0);break;case"yyy":O=wt(Et.FullYear,3,0,!1,!0);break;case"yyyy":O=wt(Et.FullYear,4,0,!1,!0);break;case"Y":O=J(1);break;case"YY":O=J(2,!0);break;case"YYY":O=J(3);break;case"YYYY":O=J(4);break;case"M":case"L":O=wt(Et.Month,1,1);break;case"MM":case"LL":O=wt(Et.Month,2,1);break;case"MMM":O=jt(me.Months,ft.Abbreviated);break;case"MMMM":O=jt(me.Months,ft.Wide);break;case"MMMMM":O=jt(me.Months,ft.Narrow);break;case"LLL":O=jt(me.Months,ft.Abbreviated,at.Standalone);break;case"LLLL":O=jt(me.Months,ft.Wide,at.Standalone);break;case"LLLLL":O=jt(me.Months,ft.Narrow,at.Standalone);break;case"w":O=A(1);break;case"ww":O=A(2);break;case"W":O=A(1,!0);break;case"d":O=wt(Et.Date,1);break;case"dd":O=wt(Et.Date,2);break;case"c":case"cc":O=wt(Et.Day,1);break;case"ccc":O=jt(me.Days,ft.Abbreviated,at.Standalone);break;case"cccc":O=jt(me.Days,ft.Wide,at.Standalone);break;case"ccccc":O=jt(me.Days,ft.Narrow,at.Standalone);break;case"cccccc":O=jt(me.Days,ft.Short,at.Standalone);break;case"E":case"EE":case"EEE":O=jt(me.Days,ft.Abbreviated);break;case"EEEE":O=jt(me.Days,ft.Wide);break;case"EEEEE":O=jt(me.Days,ft.Narrow);break;case"EEEEEE":O=jt(me.Days,ft.Short);break;case"a":case"aa":case"aaa":O=jt(me.DayPeriods,ft.Abbreviated);break;case"aaaa":O=jt(me.DayPeriods,ft.Wide);break;case"aaaaa":O=jt(me.DayPeriods,ft.Narrow);break;case"b":case"bb":case"bbb":O=jt(me.DayPeriods,ft.Abbreviated,at.Standalone,!0);break;case"bbbb":O=jt(me.DayPeriods,ft.Wide,at.Standalone,!0);break;case"bbbbb":O=jt(me.DayPeriods,ft.Narrow,at.Standalone,!0);break;case"B":case"BB":case"BBB":O=jt(me.DayPeriods,ft.Abbreviated,at.Format,!0);break;case"BBBB":O=jt(me.DayPeriods,ft.Wide,at.Format,!0);break;case"BBBBB":O=jt(me.DayPeriods,ft.Narrow,at.Format,!0);break;case"h":O=wt(Et.Hours,1,-12);break;case"hh":O=wt(Et.Hours,2,-12);break;case"H":O=wt(Et.Hours,1);break;case"HH":O=wt(Et.Hours,2);break;case"m":O=wt(Et.Minutes,1);break;case"mm":O=wt(Et.Minutes,2);break;case"s":O=wt(Et.Seconds,1);break;case"ss":O=wt(Et.Seconds,2);break;case"S":O=wt(Et.FractionalSeconds,1);break;case"SS":O=wt(Et.FractionalSeconds,2);break;case"SSS":O=wt(Et.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":O=xn(ct.Short);break;case"ZZZZZ":O=xn(ct.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":O=xn(ct.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":O=xn(ct.Long);break;default:return null}return oe[g]=O,O}(An);bn+=pn?pn(ge,D,Tn):"''"===An?"'":An.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),bn}function j(g,O,D){const H=new Date(0);return H.setFullYear(g,O,D),H.setHours(0,0,0),H}function ve(g,O){const D=function Ze(g){return(0,o.cg1)(g)[o.wAp.LocaleId]}(g);if(Be[D]=Be[D]||{},Be[D][O])return Be[D][O];let H="";switch(O){case"shortDate":H=ze(g,It.Short);break;case"mediumDate":H=ze(g,It.Medium);break;case"longDate":H=ze(g,It.Long);break;case"fullDate":H=ze(g,It.Full);break;case"shortTime":H=Qe(g,It.Short);break;case"mediumTime":H=Qe(g,It.Medium);break;case"longTime":H=Qe(g,It.Long);break;case"fullTime":H=Qe(g,It.Full);break;case"short":const ge=ve(g,"shortTime"),Je=ve(g,"shortDate");H=pe(kt(g,It.Short),[ge,Je]);break;case"medium":const gt=ve(g,"mediumTime"),Gt=ve(g,"mediumDate");H=pe(kt(g,It.Medium),[gt,Gt]);break;case"long":const Tn=ve(g,"longTime"),bn=ve(g,"longDate");H=pe(kt(g,It.Long),[Tn,bn]);break;case"full":const An=ve(g,"fullTime"),pn=ve(g,"fullDate");H=pe(kt(g,It.Full),[An,pn])}return H&&(Be[D][O]=H),H}function pe(g,O){return O&&(g=g.replace(/\{([^}]+)}/g,function(D,H){return null!=O&&H in O?O[H]:D})),g}function Fe(g,O,D="-",H,ge){let Je="";(g<0||ge&&g<=0)&&(ge?g=1-g:(g=-g,Je=D));let gt=String(g);for(;gt.length0||Gt>-D)&&(Gt+=D),g===Et.Hours)0===Gt&&-12===D&&(Gt=12);else if(g===Et.FractionalSeconds)return function At(g,O){return Fe(g,3).substring(0,O)}(Gt,O);const Tn=ye(gt,St.MinusSign);return Fe(Gt,O,Tn,H,ge)}}function jt(g,O,D=at.Format,H=!1){return function(ge,Je){return function _n(g,O,D,H,ge,Je){switch(D){case me.Months:return function vt(g,O,D){const H=(0,o.cg1)(g),Je=Pe([H[o.wAp.MonthsFormat],H[o.wAp.MonthsStandalone]],O);return Pe(Je,D)}(O,ge,H)[g.getMonth()];case me.Days:return function ut(g,O,D){const H=(0,o.cg1)(g),Je=Pe([H[o.wAp.DaysFormat],H[o.wAp.DaysStandalone]],O);return Pe(Je,D)}(O,ge,H)[g.getDay()];case me.DayPeriods:const gt=g.getHours(),Gt=g.getMinutes();if(Je){const bn=function le(g){const O=(0,o.cg1)(g);return mt(O),(O[o.wAp.ExtraData][2]||[]).map(H=>"string"==typeof H?pt(H):[pt(H[0]),pt(H[1])])}(O),An=function we(g,O,D){const H=(0,o.cg1)(g);mt(H);const Je=Pe([H[o.wAp.ExtraData][0],H[o.wAp.ExtraData][1]],O)||[];return Pe(Je,D)||[]}(O,ge,H),pn=bn.findIndex(qn=>{if(Array.isArray(qn)){const[Sn,ii]=qn,Ui=gt>=Sn.hours&&Gt>=Sn.minutes,Si=gt0?Math.floor(ge/60):Math.ceil(ge/60);switch(g){case ct.Short:return(ge>=0?"+":"")+Fe(gt,2,Je)+Fe(Math.abs(ge%60),2,Je);case ct.ShortGMT:return"GMT"+(ge>=0?"+":"")+Fe(gt,1,Je);case ct.Long:return"GMT"+(ge>=0?"+":"")+Fe(gt,2,Je)+":"+Fe(Math.abs(ge%60),2,Je);case ct.Extended:return 0===H?"Z":(ge>=0?"+":"")+Fe(gt,2,Je)+":"+Fe(Math.abs(ge%60),2,Je);default:throw new Error(`Unknown zone width "${g}"`)}}}function w(g){return j(g.getFullYear(),g.getMonth(),g.getDate()+(4-g.getDay()))}function A(g,O=!1){return function(D,H){let ge;if(O){const Je=new Date(D.getFullYear(),D.getMonth(),1).getDay()-1,gt=D.getDate();ge=1+Math.floor((gt+Je)/7)}else{const Je=w(D),gt=function I(g){const O=j(g,0,1).getDay();return j(g,0,1+(O<=4?4:11)-O)}(Je.getFullYear()),Gt=Je.getTime()-gt.getTime();ge=1+Math.round(Gt/6048e5)}return Fe(ge,g,ye(H,St.MinusSign))}}function J(g,O=!1){return function(D,H){return Fe(w(D).getFullYear(),g,ye(H,St.MinusSign),O)}}const oe={};function Ot(g,O){g=g.replace(/:/g,"");const D=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(D)?O:D}function Cn(g){return g instanceof Date&&!isNaN(g.valueOf())}const ln=/^(\d+)?\.((\d+)(-(\d+))?)?$/,q="0";function tn(g){const O=parseInt(g);if(isNaN(O))throw new Error("Invalid integer literal when parsing "+g);return O}function ei(g,O){O=encodeURIComponent(O);for(const D of g.split(";")){const H=D.indexOf("="),[ge,Je]=-1==H?[D,""]:[D.slice(0,H),D.slice(H+1)];if(ge.trim()===O)return decodeURIComponent(Je)}return null}const wn=/\s+/,Lt=[];let nn=(()=>{class g{constructor(D,H,ge,Je){this._iterableDiffers=D,this._keyValueDiffers=H,this._ngEl=ge,this._renderer=Je,this.initialClasses=Lt,this.stateMap=new Map}set klass(D){this.initialClasses=null!=D?D.trim().split(wn):Lt}set ngClass(D){this.rawClass="string"==typeof D?D.trim().split(wn):D}ngDoCheck(){for(const H of this.initialClasses)this._updateState(H,!0);const D=this.rawClass;if(Array.isArray(D)||D instanceof Set)for(const H of D)this._updateState(H,!0);else if(null!=D)for(const H of Object.keys(D))this._updateState(H,Boolean(D[H]));this._applyStateDiff()}_updateState(D,H){const ge=this.stateMap.get(D);void 0!==ge?(ge.enabled!==H&&(ge.changed=!0,ge.enabled=H),ge.touched=!0):this.stateMap.set(D,{enabled:H,changed:!0,touched:!0})}_applyStateDiff(){for(const D of this.stateMap){const H=D[0],ge=D[1];ge.changed?(this._toggleClass(H,ge.enabled),ge.changed=!1):ge.touched||(ge.enabled&&this._toggleClass(H,!1),this.stateMap.delete(H)),ge.touched=!1}}_toggleClass(D,H){(D=D.trim()).length>0&&D.split(wn).forEach(ge=>{H?this._renderer.addClass(this._ngEl.nativeElement,ge):this._renderer.removeClass(this._ngEl.nativeElement,ge)})}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),g})();class Nn{constructor(O,D,H,ge){this.$implicit=O,this.ngForOf=D,this.index=H,this.count=ge}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 ci=(()=>{class g{set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}constructor(D,H,ge){this._viewContainer=D,this._template=H,this._differs=ge,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const H=this._viewContainer;D.forEachOperation((ge,Je,gt)=>{if(null==ge.previousIndex)H.createEmbeddedView(this._template,new Nn(ge.item,this._ngForOf,-1,-1),null===gt?void 0:gt);else if(null==gt)H.remove(null===Je?void 0:Je);else if(null!==Je){const Gt=H.get(Je);H.move(Gt,gt),mn(Gt,ge)}});for(let ge=0,Je=H.length;ge{mn(H.get(ge.currentIndex),ge)})}static ngTemplateContextGuard(D,H){return!0}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function mn(g,O){g.context.$implicit=O.item}let Qi=(()=>{class g{constructor(D,H){this._viewContainer=D,this._context=new an,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=H}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){br("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){br("ngIfElse",D),this._elseTemplateRef=D,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(D,H){return!0}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.s_b),o.Y36(o.Rgc))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),g})();class an{constructor(){this.$implicit=null,this.ngIf=null}}function br(g,O){if(O&&!O.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,o.AaK)(O)}'.`)}class ji{constructor(O,D){this._viewContainerRef=O,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(O){O&&!this._created?this.create():!O&&this._created&&this.destroy()}}let qi=(()=>{class g{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews.push(D)}_matchCase(D){const H=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||H,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),H}_updateDefaultCases(D){if(this._defaultViews.length>0&&D!==this._defaultUsed){this._defaultUsed=D;for(const H of this._defaultViews)H.enforceState(D)}}}return g.\u0275fac=function(D){return new(D||g)},g.\u0275dir=o.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),g})(),Ni=(()=>{class g{constructor(D,H,ge){this.ngSwitch=ge,ge._addCase(),this._view=new ji(D,H)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(qi,9))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),g})(),Kn=(()=>{class g{constructor(D,H,ge){ge._addDefault(new ji(D,H))}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(qi,9))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0}),g})(),Bi=(()=>{class g{constructor(D,H,ge){this._ngEl=D,this._differs=H,this._renderer=ge,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,H){const[ge,Je]=D.split("."),gt=-1===ge.indexOf("-")?void 0:o.JOm.DashCase;null!=H?this._renderer.setStyle(this._ngEl.nativeElement,ge,Je?`${H}${Je}`:H,gt):this._renderer.removeStyle(this._ngEl.nativeElement,ge,gt)}_applyChanges(D){D.forEachRemovedItem(H=>this._setStyle(H.key,null)),D.forEachAddedItem(H=>this._setStyle(H.key,H.currentValue)),D.forEachChangedItem(H=>this._setStyle(H.key,H.currentValue))}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.SBq),o.Y36(o.aQg),o.Y36(o.Qsj))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),g})(),zi=(()=>{class g{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const H=this._viewContainerRef;if(this._viewRef&&H.remove(H.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ge,ngTemplateOutletContext:Je,ngTemplateOutletInjector:gt}=this;this._viewRef=H.createEmbeddedView(ge,Je,gt?{injector:gt}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.s_b))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]}),g})();function mi(g,O){return new o.vHH(2100,!1)}class Er{createSubscription(O,D){return O.subscribe({next:D,error:H=>{throw H}})}dispose(O){O.unsubscribe()}}class _o{createSubscription(O,D){return O.then(D,H=>{throw H})}dispose(O){}}const Wr=new _o,Ei=new Er;let Vi=(()=>{class g{constructor(D){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=D}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(D){return this._obj?D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue:(D&&this._subscribe(D),this._latestValue)}_subscribe(D){this._obj=D,this._strategy=this._selectStrategy(D),this._subscription=this._strategy.createSubscription(D,H=>this._updateLatestValue(D,H))}_selectStrategy(D){if((0,o.QGY)(D))return Wr;if((0,o.F4k)(D))return Ei;throw mi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(D,H){D===this._obj&&(this._latestValue=H,this._ref.markForCheck())}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.sBO,16))},g.\u0275pipe=o.Yjl({name:"async",type:g,pure:!1,standalone:!0}),g})();const ki=new o.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Dr=new o.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Fn=(()=>{class g{constructor(D,H,ge){this.locale=D,this.defaultTimezone=H,this.defaultOptions=ge}transform(D,H,ge,Je){if(null==D||""===D||D!=D)return null;try{return lt(D,H??this.defaultOptions?.dateFormat??"mediumDate",Je||this.locale,ge??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(gt){throw mi()}}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.soG,16),o.Y36(ki,24),o.Y36(Dr,24))},g.\u0275pipe=o.Yjl({name:"date",type:g,pure:!0,standalone:!0}),g})(),Rr=(()=>{class g{constructor(D){this._locale=D}transform(D,H,ge){if(!function Fr(g){return!(null==g||""===g||g!=g)}(D))return null;ge=ge||this._locale;try{return function R(g,O,D){return function vn(g,O,D,H,ge,Je,gt=!1){let Gt="",Tn=!1;if(isFinite(g)){let bn=function Ye(g){let H,ge,Je,gt,Gt,O=Math.abs(g)+"",D=0;for((ge=O.indexOf("."))>-1&&(O=O.replace(".","")),(Je=O.search(/e/i))>0?(ge<0&&(ge=Je),ge+=+O.slice(Je+1),O=O.substring(0,Je)):ge<0&&(ge=O.length),Je=0;O.charAt(Je)===q;Je++);if(Je===(Gt=O.length))H=[0],ge=1;else{for(Gt--;O.charAt(Gt)===q;)Gt--;for(ge-=Je,H=[],gt=0;Je<=Gt;Je++,gt++)H[gt]=Number(O.charAt(Je))}return ge>22&&(H=H.splice(0,21),D=ge-1,ge=1),{digits:H,exponent:D,integerLen:ge}}(g);gt&&(bn=function X(g){if(0===g.digits[0])return g;const O=g.digits.length-g.integerLen;return g.exponent?g.exponent+=2:(0===O?g.digits.push(0,0):1===O&&g.digits.push(0),g.integerLen+=2),g}(bn));let An=O.minInt,pn=O.minFrac,qn=O.maxFrac;if(Je){const xi=Je.match(ln);if(null===xi)throw new Error(`${Je} is not a valid digit info`);const so=xi[1],Ao=xi[3],ao=xi[5];null!=so&&(An=tn(so)),null!=Ao&&(pn=tn(Ao)),null!=ao?qn=tn(ao):null!=Ao&&pn>qn&&(qn=pn)}!function Pt(g,O,D){if(O>D)throw new Error(`The minimum number of digits after fraction (${O}) is higher than the maximum (${D}).`);let H=g.digits,ge=H.length-g.integerLen;const Je=Math.min(Math.max(O,ge),D);let gt=Je+g.integerLen,Gt=H[gt];if(gt>0){H.splice(Math.max(g.integerLen,gt));for(let pn=gt;pn=5)if(gt-1<0){for(let pn=0;pn>gt;pn--)H.unshift(0),g.integerLen++;H.unshift(1),g.integerLen++}else H[gt-1]++;for(;ge=bn?ii.pop():Tn=!1),qn>=10?1:0},0);An&&(H.unshift(An),g.integerLen++)}(bn,pn,qn);let Sn=bn.digits,ii=bn.integerLen;const Ui=bn.exponent;let Si=[];for(Tn=Sn.every(xi=>!xi);ii0?Si=Sn.splice(ii,Sn.length):(Si=Sn,Sn=[0]);const Hi=[];for(Sn.length>=O.lgSize&&Hi.unshift(Sn.splice(-O.lgSize,Sn.length).join(""));Sn.length>O.gSize;)Hi.unshift(Sn.splice(-O.gSize,Sn.length).join(""));Sn.length&&Hi.unshift(Sn.join("")),Gt=Hi.join(ye(D,H)),Si.length&&(Gt+=ye(D,ge)+Si.join("")),Ui&&(Gt+=ye(D,St.Exponential)+"+"+Ui)}else Gt=ye(D,St.Infinity);return Gt=g<0&&!Tn?O.negPre+Gt+O.negSuf:O.posPre+Gt+O.posSuf,Gt}(g,function P(g,O="-"){const D={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},H=g.split(";"),ge=H[0],Je=H[1],gt=-1!==ge.indexOf(".")?ge.split("."):[ge.substring(0,ge.lastIndexOf(q)+1),ge.substring(ge.lastIndexOf(q)+1)],Gt=gt[0],Tn=gt[1]||"";D.posPre=Gt.substring(0,Gt.indexOf("#"));for(let An=0;An{class g{transform(D,H,ge){if(null==D)return null;if(!this.supports(D))throw mi();return D.slice(H,ge)}supports(D){return"string"==typeof D||Array.isArray(D)}}return g.\u0275fac=function(D){return new(D||g)},g.\u0275pipe=o.Yjl({name:"slice",type:g,pure:!1,standalone:!0}),g})(),es=(()=>{class g{}return g.\u0275fac=function(D){return new(D||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({}),g})();const Lr="browser";function er(g){return g===Lr}let nr=(()=>{class g{}return g.\u0275prov=(0,o.Yz7)({token:g,providedIn:"root",factory:()=>new Bo((0,o.LFG)(G),window)}),g})();class Bo{constructor(O,D){this.document=O,this.window=D,this.offset=()=>[0,0]}setOffset(O){this.offset=Array.isArray(O)?()=>O:O}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(O){this.supportsScrolling()&&this.window.scrollTo(O[0],O[1])}scrollToAnchor(O){if(!this.supportsScrolling())return;const D=function Br(g,O){const D=g.getElementById(O)||g.getElementsByName(O)[0];if(D)return D;if("function"==typeof g.createTreeWalker&&g.body&&(g.body.createShadowRoot||g.body.attachShadow)){const H=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let ge=H.currentNode;for(;ge;){const Je=ge.shadowRoot;if(Je){const gt=Je.getElementById(O)||Je.querySelector(`[name="${O}"]`);if(gt)return gt}ge=H.nextNode()}}return null}(this.document,O);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(O){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=O)}}scrollToElement(O){const D=O.getBoundingClientRect(),H=D.left+this.window.pageXOffset,ge=D.top+this.window.pageYOffset,Je=this.offset();this.window.scrollTo(H-Je[0],ge-Je[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const O=Vo(this.window.history)||Vo(Object.getPrototypeOf(this.window.history));return!(!O||!O.writable&&!O.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Vo(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class Xr{}},529:(_t,De,f)=>{"use strict";f.d(De,{JF:()=>xn,TP:()=>We,dt:()=>Ue,eN:()=>Ze});var o=f(6895),a=f(4650),E=f(9646),W=f(9751),Q=f(4351),G=f(9300),re=f(4004);class K{}class Z{}class ee{constructor(w){this.normalizedNames=new Map,this.lazyUpdate=null,w?this.lazyInit="string"==typeof w?()=>{this.headers=new Map,w.split("\n").forEach(A=>{const J=A.indexOf(":");if(J>0){const oe=A.slice(0,J),it=oe.toLowerCase(),Ot=A.slice(J+1).trim();this.maybeSetNormalizedName(oe,it),this.headers.has(it)?this.headers.get(it).push(Ot):this.headers.set(it,[Ot])}})}:()=>{this.headers=new Map,Object.keys(w).forEach(A=>{let J=w[A];const oe=A.toLowerCase();"string"==typeof J&&(J=[J]),J.length>0&&(this.headers.set(oe,J),this.maybeSetNormalizedName(A,oe))})}:this.headers=new Map}has(w){return this.init(),this.headers.has(w.toLowerCase())}get(w){this.init();const A=this.headers.get(w.toLowerCase());return A&&A.length>0?A[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(w){return this.init(),this.headers.get(w.toLowerCase())||null}append(w,A){return this.clone({name:w,value:A,op:"a"})}set(w,A){return this.clone({name:w,value:A,op:"s"})}delete(w,A){return this.clone({name:w,value:A,op:"d"})}maybeSetNormalizedName(w,A){this.normalizedNames.has(A)||this.normalizedNames.set(A,w)}init(){this.lazyInit&&(this.lazyInit instanceof ee?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(w=>this.applyUpdate(w)),this.lazyUpdate=null))}copyFrom(w){w.init(),Array.from(w.headers.keys()).forEach(A=>{this.headers.set(A,w.headers.get(A)),this.normalizedNames.set(A,w.normalizedNames.get(A))})}clone(w){const A=new ee;return A.lazyInit=this.lazyInit&&this.lazyInit instanceof ee?this.lazyInit:this,A.lazyUpdate=(this.lazyUpdate||[]).concat([w]),A}applyUpdate(w){const A=w.name.toLowerCase();switch(w.op){case"a":case"s":let J=w.value;if("string"==typeof J&&(J=[J]),0===J.length)return;this.maybeSetNormalizedName(w.name,A);const oe=("a"===w.op?this.headers.get(A):void 0)||[];oe.push(...J),this.headers.set(A,oe);break;case"d":const it=w.value;if(it){let Ot=this.headers.get(A);if(!Ot)return;Ot=Ot.filter(Yt=>-1===it.indexOf(Yt)),0===Ot.length?(this.headers.delete(A),this.normalizedNames.delete(A)):this.headers.set(A,Ot)}else this.headers.delete(A),this.normalizedNames.delete(A)}}forEach(w){this.init(),Array.from(this.normalizedNames.keys()).forEach(A=>w(this.normalizedNames.get(A),this.headers.get(A)))}}class te{encodeKey(w){return Re(w)}encodeValue(w){return Re(w)}decodeKey(w){return decodeURIComponent(w)}decodeValue(w){return decodeURIComponent(w)}}const xe=/%(\d[a-f0-9])/gi,Se={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Re(I){return encodeURIComponent(I).replace(xe,(w,A)=>Se[A]??w)}function Me(I){return`${I}`}class rt{constructor(w={}){if(this.updates=null,this.cloneFrom=null,this.encoder=w.encoder||new te,w.fromString){if(w.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ke(I,w){const A=new Map;return I.length>0&&I.replace(/^\?/,"").split("&").forEach(oe=>{const it=oe.indexOf("="),[Ot,Yt]=-1==it?[w.decodeKey(oe),""]:[w.decodeKey(oe.slice(0,it)),w.decodeValue(oe.slice(it+1))],xt=A.get(Ot)||[];xt.push(Yt),A.set(Ot,xt)}),A}(w.fromString,this.encoder)}else w.fromObject?(this.map=new Map,Object.keys(w.fromObject).forEach(A=>{const J=w.fromObject[A],oe=Array.isArray(J)?J.map(Me):[Me(J)];this.map.set(A,oe)})):this.map=null}has(w){return this.init(),this.map.has(w)}get(w){this.init();const A=this.map.get(w);return A?A[0]:null}getAll(w){return this.init(),this.map.get(w)||null}keys(){return this.init(),Array.from(this.map.keys())}append(w,A){return this.clone({param:w,value:A,op:"a"})}appendAll(w){const A=[];return Object.keys(w).forEach(J=>{const oe=w[J];Array.isArray(oe)?oe.forEach(it=>{A.push({param:J,value:it,op:"a"})}):A.push({param:J,value:oe,op:"a"})}),this.clone(A)}set(w,A){return this.clone({param:w,value:A,op:"s"})}delete(w,A){return this.clone({param:w,value:A,op:"d"})}toString(){return this.init(),this.keys().map(w=>{const A=this.encoder.encodeKey(w);return this.map.get(w).map(J=>A+"="+this.encoder.encodeValue(J)).join("&")}).filter(w=>""!==w).join("&")}clone(w){const A=new rt({encoder:this.encoder});return A.cloneFrom=this.cloneFrom||this,A.updates=(this.updates||[]).concat(w),A}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(w=>this.map.set(w,this.cloneFrom.map.get(w))),this.updates.forEach(w=>{switch(w.op){case"a":case"s":const A=("a"===w.op?this.map.get(w.param):void 0)||[];A.push(Me(w.value)),this.map.set(w.param,A);break;case"d":if(void 0===w.value){this.map.delete(w.param);break}{let J=this.map.get(w.param)||[];const oe=J.indexOf(Me(w.value));-1!==oe&&J.splice(oe,1),J.length>0?this.map.set(w.param,J):this.map.delete(w.param)}}}),this.cloneFrom=this.updates=null)}}class Ge{constructor(){this.map=new Map}set(w,A){return this.map.set(w,A),this}get(w){return this.map.has(w)||this.map.set(w,w.defaultValue()),this.map.get(w)}delete(w){return this.map.delete(w),this}has(w){return this.map.has(w)}keys(){return this.map.keys()}}function N(I){return typeof ArrayBuffer<"u"&&I instanceof ArrayBuffer}function F(I){return typeof Blob<"u"&&I instanceof Blob}function U(I){return typeof FormData<"u"&&I instanceof FormData}class Oe{constructor(w,A,J,oe){let it;if(this.url=A,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=w.toUpperCase(),function fe(I){switch(I){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||oe?(this.body=void 0!==J?J:null,it=oe):it=J,it&&(this.reportProgress=!!it.reportProgress,this.withCredentials=!!it.withCredentials,it.responseType&&(this.responseType=it.responseType),it.headers&&(this.headers=it.headers),it.context&&(this.context=it.context),it.params&&(this.params=it.params)),this.headers||(this.headers=new ee),this.context||(this.context=new Ge),this.params){const Ot=this.params.toString();if(0===Ot.length)this.urlWithParams=A;else{const Yt=A.indexOf("?");this.urlWithParams=A+(-1===Yt?"?":YtCn.set(ln,w.setHeaders[ln]),xt)),w.setParams&&(yn=Object.keys(w.setParams).reduce((Cn,ln)=>Cn.set(ln,w.setParams[ln]),yn)),new Oe(A,J,it,{params:yn,headers:xt,context:fi,reportProgress:Yt,responseType:oe,withCredentials:Ot})}}var Ue=(()=>((Ue=Ue||{})[Ue.Sent=0]="Sent",Ue[Ue.UploadProgress=1]="UploadProgress",Ue[Ue.ResponseHeader=2]="ResponseHeader",Ue[Ue.DownloadProgress=3]="DownloadProgress",Ue[Ue.Response=4]="Response",Ue[Ue.User=5]="User",Ue))();class at{constructor(w,A=200,J="OK"){this.headers=w.headers||new ee,this.status=void 0!==w.status?w.status:A,this.statusText=w.statusText||J,this.url=w.url||null,this.ok=this.status>=200&&this.status<300}}class ft extends at{constructor(w={}){super(w),this.type=Ue.ResponseHeader}clone(w={}){return new ft({headers:w.headers||this.headers,status:void 0!==w.status?w.status:this.status,statusText:w.statusText||this.statusText,url:w.url||this.url||void 0})}}class It extends at{constructor(w={}){super(w),this.type=Ue.Response,this.body=void 0!==w.body?w.body:null}clone(w={}){return new It({body:void 0!==w.body?w.body:this.body,headers:w.headers||this.headers,status:void 0!==w.status?w.status:this.status,statusText:w.statusText||this.statusText,url:w.url||this.url||void 0})}}class St extends at{constructor(w){super(w,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${w.url||"(unknown url)"}`:`Http failure response for ${w.url||"(unknown url)"}: ${w.status} ${w.statusText}`,this.error=w.error||null}}function He(I,w){return{body:w,headers:I.headers,context:I.context,observe:I.observe,params:I.params,reportProgress:I.reportProgress,responseType:I.responseType,withCredentials:I.withCredentials}}let Ze=(()=>{class I{constructor(A){this.handler=A}request(A,J,oe={}){let it;if(A instanceof Oe)it=A;else{let xt,yn;xt=oe.headers instanceof ee?oe.headers:new ee(oe.headers),oe.params&&(yn=oe.params instanceof rt?oe.params:new rt({fromObject:oe.params})),it=new Oe(A,J,void 0!==oe.body?oe.body:null,{headers:xt,context:oe.context,params:yn,reportProgress:oe.reportProgress,responseType:oe.responseType||"json",withCredentials:oe.withCredentials})}const Ot=(0,E.of)(it).pipe((0,Q.b)(xt=>this.handler.handle(xt)));if(A instanceof Oe||"events"===oe.observe)return Ot;const Yt=Ot.pipe((0,G.h)(xt=>xt instanceof It));switch(oe.observe||"body"){case"body":switch(it.responseType){case"arraybuffer":return Yt.pipe((0,re.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xt.body}));case"blob":return Yt.pipe((0,re.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof Blob))throw new Error("Response is not a Blob.");return xt.body}));case"text":return Yt.pipe((0,re.U)(xt=>{if(null!==xt.body&&"string"!=typeof xt.body)throw new Error("Response is not a string.");return xt.body}));default:return Yt.pipe((0,re.U)(xt=>xt.body))}case"response":return Yt;default:throw new Error(`Unreachable: unhandled observe type ${oe.observe}}`)}}delete(A,J={}){return this.request("DELETE",A,J)}get(A,J={}){return this.request("GET",A,J)}head(A,J={}){return this.request("HEAD",A,J)}jsonp(A,J){return this.request("JSONP",A,{params:(new rt).append(J,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(A,J={}){return this.request("OPTIONS",A,J)}patch(A,J,oe={}){return this.request("PATCH",A,He(oe,J))}post(A,J,oe={}){return this.request("POST",A,He(oe,J))}put(A,J,oe={}){return this.request("PUT",A,He(oe,J))}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(K))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac}),I})();function nt(I,w){return w(I)}function ut(I,w){return(A,J)=>w.intercept(A,{handle:oe=>I(oe,J)})}const We=new a.OlP("HTTP_INTERCEPTORS"),ot=new a.OlP("HTTP_INTERCEPTOR_FNS");function je(){let I=null;return(w,A)=>(null===I&&(I=((0,a.f3M)(We,{optional:!0})??[]).reduceRight(ut,nt)),I(w,A))}let ze=(()=>{class I extends K{constructor(A,J){super(),this.backend=A,this.injector=J,this.chain=null}handle(A){if(null===this.chain){const J=Array.from(new Set(this.injector.get(ot)));this.chain=J.reduceRight((oe,it)=>function vt(I,w,A){return(J,oe)=>A.runInContext(()=>w(J,it=>I(it,oe)))}(oe,it,this.injector),nt)}return this.chain(A,J=>this.backend.handle(J))}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(Z),a.LFG(a.lqb))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac}),I})();const we=/^\)\]\}',?\n/;let Pe=(()=>{class I{constructor(A){this.xhrFactory=A}handle(A){if("JSONP"===A.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new W.y(J=>{const oe=this.xhrFactory.build();if(oe.open(A.method,A.urlWithParams),A.withCredentials&&(oe.withCredentials=!0),A.headers.forEach((be,Ee)=>oe.setRequestHeader(be,Ee.join(","))),A.headers.has("Accept")||oe.setRequestHeader("Accept","application/json, text/plain, */*"),!A.headers.has("Content-Type")){const be=A.detectContentTypeHeader();null!==be&&oe.setRequestHeader("Content-Type",be)}if(A.responseType){const be=A.responseType.toLowerCase();oe.responseType="json"!==be?be:"text"}const it=A.serializeBody();let Ot=null;const Yt=()=>{if(null!==Ot)return Ot;const be=oe.statusText||"OK",Ee=new ee(oe.getAllResponseHeaders()),q=function ne(I){return"responseURL"in I&&I.responseURL?I.responseURL:/^X-Request-URL:/m.test(I.getAllResponseHeaders())?I.getResponseHeader("X-Request-URL"):null}(oe)||A.url;return Ot=new ft({headers:Ee,status:oe.status,statusText:be,url:q}),Ot},xt=()=>{let{headers:be,status:Ee,statusText:q,url:Te}=Yt(),dt=null;204!==Ee&&(dt=typeof oe.response>"u"?oe.responseText:oe.response),0===Ee&&(Ee=dt?200:0);let Nt=Ee>=200&&Ee<300;if("json"===A.responseType&&"string"==typeof dt){const qt=dt;dt=dt.replace(we,"");try{dt=""!==dt?JSON.parse(dt):null}catch(Rn){dt=qt,Nt&&(Nt=!1,dt={error:Rn,text:dt})}}Nt?(J.next(new It({body:dt,headers:be,status:Ee,statusText:q,url:Te||void 0})),J.complete()):J.error(new St({error:dt,headers:be,status:Ee,statusText:q,url:Te||void 0}))},yn=be=>{const{url:Ee}=Yt(),q=new St({error:be,status:oe.status||0,statusText:oe.statusText||"Unknown Error",url:Ee||void 0});J.error(q)};let fi=!1;const Cn=be=>{fi||(J.next(Yt()),fi=!0);let Ee={type:Ue.DownloadProgress,loaded:be.loaded};be.lengthComputable&&(Ee.total=be.total),"text"===A.responseType&&oe.responseText&&(Ee.partialText=oe.responseText),J.next(Ee)},ln=be=>{let Ee={type:Ue.UploadProgress,loaded:be.loaded};be.lengthComputable&&(Ee.total=be.total),J.next(Ee)};return oe.addEventListener("load",xt),oe.addEventListener("error",yn),oe.addEventListener("timeout",yn),oe.addEventListener("abort",yn),A.reportProgress&&(oe.addEventListener("progress",Cn),null!==it&&oe.upload&&oe.upload.addEventListener("progress",ln)),oe.send(it),J.next({type:Ue.Sent}),()=>{oe.removeEventListener("error",yn),oe.removeEventListener("abort",yn),oe.removeEventListener("load",xt),oe.removeEventListener("timeout",yn),A.reportProgress&&(oe.removeEventListener("progress",Cn),null!==it&&oe.upload&&oe.upload.removeEventListener("progress",ln)),oe.readyState!==oe.DONE&&oe.abort()}})}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(o.JF))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac}),I})();const pt=new a.OlP("XSRF_ENABLED"),de="XSRF-TOKEN",L=new a.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>de}),se="X-XSRF-TOKEN",ue=new a.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>se});class Be{}let ht=(()=>{class I{constructor(A,J,oe){this.doc=A,this.platform=J,this.cookieName=oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const A=this.doc.cookie||"";return A!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,o.Mx)(A,this.cookieName),this.lastCookieString=A),this.lastToken}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(o.K0),a.LFG(a.Lbi),a.LFG(L))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac}),I})();function ct(I,w){const A=I.url.toLowerCase();if(!(0,a.f3M)(pt)||"GET"===I.method||"HEAD"===I.method||A.startsWith("http://")||A.startsWith("https://"))return w(I);const J=(0,a.f3M)(Be).getToken(),oe=(0,a.f3M)(ue);return null!=J&&!I.headers.has(oe)&&(I=I.clone({headers:I.headers.set(oe,J)})),w(I)}var me=(()=>((me=me||{})[me.Interceptors=0]="Interceptors",me[me.LegacyInterceptors=1]="LegacyInterceptors",me[me.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",me[me.NoXsrfProtection=3]="NoXsrfProtection",me[me.JsonpSupport=4]="JsonpSupport",me[me.RequestsMadeViaParent=5]="RequestsMadeViaParent",me))();function lt(I,w){return{\u0275kind:I,\u0275providers:w}}function j(...I){const w=[Ze,Pe,ze,{provide:K,useExisting:ze},{provide:Z,useExisting:Pe},{provide:ot,useValue:ct,multi:!0},{provide:pt,useValue:!0},{provide:Be,useClass:ht}];for(const A of I)w.push(...A.\u0275providers);return(0,a.MR2)(w)}const pe=new a.OlP("LEGACY_INTERCEPTOR_FN");function At({cookieName:I,headerName:w}){const A=[];return void 0!==I&&A.push({provide:L,useValue:I}),void 0!==w&&A.push({provide:ue,useValue:w}),lt(me.CustomXsrfConfiguration,A)}let xn=(()=>{class I{}return I.\u0275fac=function(A){return new(A||I)},I.\u0275mod=a.oAB({type:I}),I.\u0275inj=a.cJS({providers:[j(lt(me.LegacyInterceptors,[{provide:pe,useFactory:je},{provide:ot,useExisting:pe,multi:!0}]),At({cookieName:de,headerName:se}))]}),I})()},4650:(_t,De,f)=>{"use strict";f.d(De,{$8M:()=>Yi,$WT:()=>Yn,$Z:()=>ih,AFp:()=>ap,ALo:()=>wm,AaK:()=>K,AsE:()=>Gl,BQk:()=>sc,CHM:()=>eo,CRH:()=>Nm,CZH:()=>bc,CqO:()=>Bh,D6c:()=>kE,DdM:()=>_m,Dn7:()=>Sm,EJc:()=>K0,EiD:()=>yu,EpF:()=>Lh,F$t:()=>zh,F4k:()=>Nh,FYo:()=>Fu,FiY:()=>ca,G48:()=>mE,Gf:()=>Fm,GfV:()=>Lu,Gpc:()=>he,Gre:()=>xf,Hsn:()=>$h,Ikx:()=>Wl,JOm:()=>Oo,JVY:()=>Ng,JZr:()=>Re,Jf7:()=>Nu,KtG:()=>hs,L6k:()=>Bg,LAX:()=>Ug,LFG:()=>Xe,LSH:()=>Qc,Lbi:()=>$0,Lck:()=>$y,MAs:()=>Ph,MMx:()=>nd,MR2:()=>n_,NdJ:()=>Pl,O4$:()=>wo,OlP:()=>Bt,Oqu:()=>$l,P3R:()=>xu,PXZ:()=>lE,Q6J:()=>Il,QGY:()=>Rl,QbO:()=>G0,Qsj:()=>__,R0b:()=>Gr,RDi:()=>Ig,Rgc:()=>ka,SBq:()=>va,Sil:()=>X0,Suo:()=>Lm,TTD:()=>Nr,TgZ:()=>ic,Tol:()=>cf,Udp:()=>Hl,VKq:()=>vm,W1O:()=>Hm,WFA:()=>Fl,WLB:()=>bm,XFs:()=>de,Xpm:()=>vn,Xts:()=>qc,Y36:()=>zs,YKP:()=>cm,YNc:()=>Rh,Yjl:()=>tn,Yz7:()=>ye,Z0I:()=>Ft,ZZ4:()=>Md,_Bn:()=>am,_UZ:()=>kl,_Vd:()=>_a,_c5:()=>IE,_uU:()=>pf,aQg:()=>Ad,c2e:()=>W0,cJS:()=>bt,cg1:()=>Kl,d8E:()=>Yl,dDg:()=>oE,dqk:()=>ct,eBb:()=>Vg,eFA:()=>yp,ekj:()=>jl,eoX:()=>_p,f3M:()=>I,g9A:()=>lp,h0i:()=>ia,hGG:()=>OE,hij:()=>lc,iGM:()=>Pm,ifc:()=>Cn,ip1:()=>sp,jDz:()=>dm,kL8:()=>Rf,kcU:()=>ps,lG2:()=>Pt,lcZ:()=>Mm,lqb:()=>Ds,lri:()=>pp,mCW:()=>za,n5z:()=>co,n_E:()=>mc,oAB:()=>P,oJD:()=>Eu,oxw:()=>jh,pB0:()=>Hg,q3G:()=>bi,qLn:()=>ba,qOj:()=>Ml,qZA:()=>rc,qzn:()=>Bs,rWj:()=>gp,s9C:()=>Ll,sBO:()=>pE,s_b:()=>gc,soG:()=>yc,tBr:()=>Fa,tb:()=>dp,tp0:()=>la,uIk:()=>Tl,vHH:()=>Me,vpe:()=>Lo,wAp:()=>rn,xi3:()=>Am,xp6:()=>$u,ynx:()=>oc,z2F:()=>Ec,z3N:()=>Ko,zSh:()=>nl,zs3:()=>xs});var o=f(7579),a=f(727),E=f(9751),W=f(6451),Q=f(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 re(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function K(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(K).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 Z(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ee=G({__forward_ref__:G});function he(e){return e.__forward_ref__=he,e.toString=function(){return K(this())},e}function te(e){return ke(e)?e():e}function ke(e){return"function"==typeof e&&e.hasOwnProperty(ee)&&e.__forward_ref__===he}function xe(e){return e&&!!e.\u0275providers}const Re="https://g.co/ng/security#xss";class Me extends Error{constructor(t,n){super(function rt(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function tt(e){return"string"==typeof e?e:null==e?"":String(e)}function U(e,t){throw new Me(-201,!1)}function ot(e,t){null==e&&function je(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function ye(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ct(e){return Ne(e,we)||Ne(e,Pe)}function Ft(e){return null!==Ct(e)}function Ne(e,t){return e.hasOwnProperty(t)?e[t]:null}function le(e){return e&&(e.hasOwnProperty(ne)||e.hasOwnProperty(pt))?e[ne]:null}const we=G({\u0275prov:G}),ne=G({\u0275inj:G}),Pe=G({ngInjectableDef:G}),pt=G({ngInjectorDef:G});var de=(()=>((de=de||{})[de.Default=0]="Default",de[de.Host=1]="Host",de[de.Self=2]="Self",de[de.SkipSelf=4]="SkipSelf",de[de.Optional=8]="Optional",de))();let L;function ue(e){const t=L;return L=e,t}function Be(e,t,n){const i=Ct(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&de.Optional?null:void 0!==t?t:void U(K(e))}const ct=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),j={},ve="__NG_DI_FLAG__",pe="ngTempTokenPath",At=/\n/gm,dn="__source";let jt;function _n(e){const t=jt;return jt=e,t}function xn(e,t=de.Default){if(void 0===jt)throw new Me(-203,!1);return null===jt?Be(e,void 0,t):jt.get(e,t&de.Optional?null:void 0,t)}function Xe(e,t=de.Default){return(function se(){return L}()||xn)(te(e),t)}function I(e,t=de.Default){return Xe(e,w(t))}function w(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function A(e){const t=[];for(let n=0;n((xt=xt||{})[xt.OnPush=0]="OnPush",xt[xt.Default=1]="Default",xt))(),Cn=(()=>{return(e=Cn||(Cn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Cn;var e})();const ln={},be=[],Ee=G({\u0275cmp:G}),q=G({\u0275dir:G}),Te=G({\u0275pipe:G}),dt=G({\u0275mod:G}),Nt=G({\u0275fac:G}),qt=G({__NG_ELEMENT_ID__:G});let Rn=0;function vn(e){return Yt(()=>{const n=!0===e.standalone,i={},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:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===xt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||be,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Cn.Emulated,id:"c"+Rn++,styles:e.styles||be,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},s=e.dependencies,u=e.features;return r.inputs=Ye(e.inputs,i),r.outputs=Ye(e.outputs),u&&u.forEach(p=>p(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(ie).filter(R):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Pn).filter(R):null,r})}function ie(e){return Kt(e)||Dn(e)}function R(e){return null!==e}function P(e){return Yt(()=>({type:e.type,bootstrap:e.bootstrap||be,declarations:e.declarations||be,imports:e.imports||be,exports:e.exports||be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ye(e,t){if(null==e)return ln;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,t&&(t[r]=s)}return n}const Pt=vn;function tn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Kt(e){return e[Ee]||null}function Dn(e){return e[q]||null}function Pn(e){return e[Te]||null}function Yn(e){const t=Kt(e)||Dn(e)||Pn(e);return null!==t&&t.standalone}function ei(e,t){const n=e[dt]||null;if(!n&&!0===t)throw new Error(`Type ${K(e)} does not have '\u0275mod' property.`);return n}function Mn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Un(e){return Array.isArray(e)&&!0===e[1]}function Or(e){return 0!=(4&e.flags)}function ki(e){return e.componentOffset>-1}function Dr(e){return 1==(1&e.flags)}function Fn(e){return null!==e.template}function xr(e){return 0!=(256&e[2])}function tr(e,t){return e.hasOwnProperty(Nt)?e[Nt]:null}class Zr{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Nr(){return nr}function nr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vo),Bo}function Bo(){const e=Eo(this),t=e?.current;if(t){const n=e.previous;if(n===ln)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Vo(e,t,n,i){const r=this.declaredInputs[n],s=Eo(e)||function Xr(e,t){return e[Br]=t}(e,{previous:ln,current:null}),u=s.current||(s.current={}),p=s.previous,b=p[r];u[r]=new Zr(b&&b.currentValue,t,p===ln),e[i]=t}Nr.ngInherit=!0;const Br="__ngSimpleChanges__";function Eo(e){return e[Br]||null}function zn(e){for(;Array.isArray(e);)e=e[0];return e}function Jr(e,t){return zn(t[e])}function di(e,t){return zn(t[e.index])}function dr(e,t){return e.data[t]}function $i(e,t){return e[t]}function Di(e,t){const n=t[e];return Mn(n)?n:n[0]}function Mi(e){return 64==(64&e[2])}function ur(e,t){return null==t?null:e[t]}function hr(e){e[18]=0}function fr(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const on={lFrame:rs(null),bindingsEnabled:!0};function et(){return on.bindingsEnabled}function st(){return on.lFrame.lView}function cn(){return on.lFrame.tView}function eo(e){return on.lFrame.contextLView=e,e[8]}function hs(e){return on.lFrame.contextLView=null,e}function pi(){let e=fs();for(;null!==e&&64===e.type;)e=e.parent;return e}function fs(){return on.lFrame.currentTNode}function Wi(e,t){const n=on.lFrame;n.currentTNode=e,n.isParent=t}function ts(){return on.lFrame.isParent}function Ho(){on.lFrame.isParent=!1}function ui(){const e=on.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function rr(){return on.lFrame.bindingIndex++}function pr(e){const t=on.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function xo(e,t){const n=on.lFrame;n.bindingIndex=n.bindingRootIndex=e,Co(t)}function Co(e){on.lFrame.currentDirectiveIndex=e}function ro(e){const t=on.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Hr(){return on.lFrame.currentQueryIndex}function oo(e){on.lFrame.currentQueryIndex=e}function ms(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function gr(e,t,n){if(n&de.SkipSelf){let r=t,s=e;for(;!(r=r.parent,null!==r||n&de.Host||(r=ms(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;t=r,e=s}const i=on.lFrame=is();return i.currentTNode=t,i.lView=e,!0}function jo(e){const t=is(),n=e[1];on.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function is(){const e=on.lFrame,t=null===e?null:e.child;return null===t?rs(e):t}function rs(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 os(){const e=on.lFrame;return on.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Fi=os;function Mr(){const e=os();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 gi(){return on.lFrame.selectedIndex}function Ar(e){on.lFrame.selectedIndex=e}function $n(){const e=on.lFrame;return dr(e.tView,e.selectedIndex)}function wo(){on.lFrame.currentNamespace="svg"}function ps(){!function zo(){on.lFrame.currentNamespace=null}()}function Mo(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[b]<0&&(e[18]+=65536),(p>11>16&&(3&e[2])===t){e[2]+=2048;try{s.call(p)}finally{}}}else try{s.call(p)}finally{}}class gt{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ui(e,t,n){let i=0;for(;it){u=s-1;break}}}for(;s>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let gs=!0;function ls(e){const t=gs;return gs=e,t}let x=0;const c={};function _(e,t){const n=$(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,k(i.data,e),k(t,null),k(i.blueprint,null));const r=_e(e,t),s=e.injectorIndex;if(Ao(r)){const u=ao(r),p=cs(r,t),b=p[1].data;for(let T=0;T<8;T++)t[s+T]=p[u+T]|b[u+T]}return t[s+8]=r,s}function k(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function _e(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=sr(r),null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Ce(e,t,n){!function l(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(qt)&&(i=n[qt]),null==i&&(i=n[qt]=x++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:hi:t}(n);if("function"==typeof s){if(!gr(t,e,i))return i&de.Host?Dt(r,0,i):Ut(t,n,i,r);try{const u=s(i);if(null!=u||i&de.Optional)return u;U()}finally{Fi()}}else if("number"==typeof s){let u=null,p=$(e,t),b=-1,T=i&de.Host?t[16][6]:null;for((-1===p||i&de.SkipSelf)&&(b=-1===p?_e(e,t):t[p+8],-1!==b&&si(i,!1)?(u=t[1],p=ao(b),t=cs(b,t)):p=-1);-1!==p;){const V=t[1];if(Hn(s,p,V.data)){const ae=hn(p,t,n,u,i,T);if(ae!==c)return ae}b=t[p+8],-1!==b&&si(i,t[1].data[p+8]===T)&&Hn(s,p,t)?(u=V,p=ao(b),t=cs(b,t)):p=-1}}return r}function hn(e,t,n,i,r,s){const u=t[1],p=u.data[e+8],V=Qt(p,u,n,null==i?ki(p)&&gs:i!=u&&0!=(3&p.type),r&de.Host&&s===p);return null!==V?Jt(t,u,V,p):c}function Qt(e,t,n,i,r){const s=e.providerIndexes,u=t.data,p=1048575&s,b=e.directiveStart,V=s>>20,Ie=r?p+V:e.directiveEnd;for(let $e=i?p:p+V;$e=b&&yt.type===n)return $e}if(r){const $e=u[b];if($e&&Fn($e)&&$e.type===n)return b}return null}function Jt(e,t,n,i){let r=e[n];const s=t.data;if(function Gt(e){return e instanceof gt}(r)){const u=r;u.resolving&&function fe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Me(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ge(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():tt(e)}(s[n]));const p=ls(u.canSeeViewProviders);u.resolving=!0;const b=u.injectImpl?ue(u.injectImpl):null;gr(e,i,de.Default);try{r=e[n]=u.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function as(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const u=nr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==b&&ue(b),ls(p),u.resolving=!1,Fi()}}return r}function Hn(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[Nt]||or(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const s=r[Nt]||or(r);if(s&&s!==n)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function or(e){return ke(e)?()=>{const t=or(te(e));return t&&t()}:tr(e)}function sr(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Yi(e){return function Ke(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r{const i=function $o(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...s){if(this instanceof r)return i.apply(this,s),this;const u=new r(...s);return p.annotation=u,p;function p(b,T,V){const ae=b.hasOwnProperty(lo)?b[lo]:Object.defineProperty(b,lo,{value:[]})[lo];for(;ae.length<=V;)ae.push(null);return(ae[V]=ae[V]||[]).push(u),b}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Bt{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=ye({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function d(e,t){e.forEach(n=>Array.isArray(n)?d(n,t):t(n))}function v(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function S(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function B(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function Mt(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Ln(e,t){const n=ri(e,t);if(n>=0)return e[1|n]}function ri(e,t){return function zr(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const s=i+(r-i>>1),u=e[s<t?r=s:i=s+1}return~(r<({token:e})),-1),ca=J(uo("Optional"),8),la=J(uo("SkipSelf"),4);var Oo=(()=>((Oo=Oo||{})[Oo.Important=1]="Important",Oo[Oo.DashCase=2]="DashCase",Oo))();const Ic=new Map;let Jp=0;const kc="__ngContext__";function Zi(e,t){Mn(t)?(e[kc]=t[20],function tg(e){Ic.set(e[20],e)}(t)):e[kc]=t}function Pc(e,t){return undefined(e,t)}function fa(e){const t=e[3];return Un(t)?t[3]:t}function Fc(e){return Kd(e[13])}function Lc(e){return Kd(e[4])}function Kd(e){for(;null!==e&&!Un(e);)e=e[4];return e}function Ns(e,t,n,i,r){if(null!=i){let s,u=!1;Un(i)?s=i:Mn(i)&&(u=!0,i=i[0]);const p=zn(i);0===e&&null!==n?null==r?eu(t,n,p):vs(t,n,p,r||null,!0):1===e&&null!==n?vs(t,n,p,r||null,!0):2===e?function zc(e,t,n){const i=Ba(e,t);i&&function Eg(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,p,u):3===e&&t.destroyNode(p),null!=s&&function Cg(e,t,n,i,r){const s=n[7];s!==zn(n)&&Ns(t,e,i,s,r);for(let p=10;p0&&(e[n-1][4]=i[4]);const s=S(e,10+t);!function fg(e,t){ma(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const u=s[19];null!==u&&u.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Qd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&ma(e,t,n,3,null,null),function gg(e){let t=e[13];if(!t)return Uc(e[1],e);for(;t;){let n=null;if(Mn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Mn(t)&&Uc(t[1],t),t=t[3];null===t&&(t=e),Mn(t)&&Uc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Uc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function yg(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[r=u]():i[r=-u].unsubscribe(),s+=2}else{const u=i[r=n[s+1]];n[s].call(u)}if(null!==i){for(let s=r+1;s-1){const{encapsulation:s}=e.data[i.directiveStart+r];if(s===Cn.None||s===Cn.Emulated)return null}return di(i,n)}}(e,t.parent,n)}function vs(e,t,n,i,r){e.insertBefore(t,n,i,r)}function eu(e,t,n){e.appendChild(t,n)}function tu(e,t,n,i,r){null!==i?vs(e,t,n,i,r):eu(e,t,n)}function Ba(e,t){return e.parentNode(t)}function nu(e,t,n){return ru(e,t,n)}let Ha,Wc,ja,ru=function iu(e,t,n){return 40&e.type?di(e,n):null};function Va(e,t,n,i){const r=qd(e,i,t),s=t[11],p=nu(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let b=0;be,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ha}()?.createHTML(e)||e}function Ig(e){Wc=e}function Yc(){if(void 0===ja&&(ja=null,ct.trustedTypes))try{ja=ct.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ja}function uu(e){return Yc()?.createHTML(e)||e}function fu(e){return Yc()?.createScriptURL(e)||e}class ys{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Re})`}}class Og extends ys{getTypeName(){return"HTML"}}class kg extends ys{getTypeName(){return"Style"}}class Rg extends ys{getTypeName(){return"Script"}}class Pg extends ys{getTypeName(){return"URL"}}class Fg extends ys{getTypeName(){return"ResourceURL"}}function Ko(e){return e instanceof ys?e.changingThisBreaksApplicationSecurity:e}function Bs(e,t){const n=function Lg(e){return e instanceof ys&&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 ${Re})`)}return n===t}function Ng(e){return new Og(e)}function Bg(e){return new kg(e)}function Vg(e){return new Rg(e)}function Ug(e){return new Pg(e)}function Hg(e){return new Fg(e)}class jg{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(bs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class zg{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 i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=bs(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=bs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let r=n.length-1;0"),!0}endElement(t){const n=t.nodeName.toLowerCase();Kc.hasOwnProperty(n)&&!pu.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(bu(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 Kg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zg=/([^\#-~ |!])/g;function bu(e){return e.replace(/&/g,"&").replace(Kg,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Zg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let $a;function yu(e,t){let n=null;try{$a=$a||function mu(e){const t=new zg(e);return function $g(){try{return!!(new window.DOMParser).parseFromString(bs(""),"text/html")}catch{return!1}}()?new jg(t):t}(e);let i=t?String(t):"";n=$a.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=$a.getInertBodyElement(i)}while(i!==s);return bs((new Yg).sanitizeChildren(Xc(n)||n))}finally{if(n){const i=Xc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Xc(e){return"content"in e&&function Xg(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var bi=(()=>((bi=bi||{})[bi.NONE=0]="NONE",bi[bi.HTML=1]="HTML",bi[bi.STYLE=2]="STYLE",bi[bi.SCRIPT=3]="SCRIPT",bi[bi.URL=4]="URL",bi[bi.RESOURCE_URL=5]="RESOURCE_URL",bi))();function Eu(e){const t=ga();return t?uu(t.sanitize(bi.HTML,e)||""):Bs(e,"HTML")?uu(Ko(e)):yu(function du(){return void 0!==Wc?Wc:typeof document<"u"?document:void 0}(),tt(e))}function Qc(e){const t=ga();return t?t.sanitize(bi.URL,e)||"":Bs(e,"URL")?Ko(e):za(tt(e))}function Du(e){const t=ga();if(t)return fu(t.sanitize(bi.RESOURCE_URL,e)||"");if(Bs(e,"ResourceURL"))return fu(Ko(e));throw new Me(904,!1)}function xu(e,t,n){return function t_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Du:Qc}(t,n)(e)}function ga(){const e=st();return e&&e[12]}const qc=new Bt("ENVIRONMENT_INITIALIZER"),Cu=new Bt("INJECTOR",-1),wu=new Bt("INJECTOR_DEF_TYPES");class Mu{get(t,n=j){if(n===j){const i=new Error(`NullInjectorError: No provider for ${K(t)}!`);throw i.name="NullInjectorError",i}return n}}function n_(e){return{\u0275providers:e}}function i_(...e){return{\u0275providers:Au(0,e),\u0275fromNgModule:!0}}function Au(e,...t){const n=[],i=new Set;let r;return d(t,s=>{const u=s;Jc(u,n,[],i)&&(r||(r=[]),r.push(u))}),void 0!==r&&Su(r,n),n}function Su(e,t){for(let n=0;n{t.push(s)})}}function Jc(e,t,n,i){if(!(e=te(e)))return!1;let r=null,s=le(e);const u=!s&&Kt(e);if(s||u){if(u&&!u.standalone)return!1;r=e}else{const b=e.ngModule;if(s=le(b),!s)return!1;r=b}const p=i.has(r);if(u){if(p)return!1;if(i.add(r),u.dependencies){const b="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const T of b)Jc(T,t,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!p){let T;i.add(r);try{d(s.imports,V=>{Jc(V,t,n,i)&&(T||(T=[]),T.push(V))})}finally{}void 0!==T&&Su(T,t)}if(!p){const T=tr(r)||(()=>new r);t.push({provide:r,useFactory:T,deps:be},{provide:wu,useValue:r,multi:!0},{provide:qc,useValue:()=>Xe(r),multi:!0})}const b=s.providers;null==b||p||el(b,V=>{t.push(V)})}}return r!==e&&void 0!==e.providers}function el(e,t){for(let n of e)xe(n)&&(n=n.\u0275providers),Array.isArray(n)?el(n,t):t(n)}const r_=G({provide:String,useValue:G});function tl(e){return null!==e&&"object"==typeof e&&r_ in e}function Es(e){return"function"==typeof e}const nl=new Bt("Set Injector scope."),Ga={},s_={};let il;function Wa(){return void 0===il&&(il=new Mu),il}class Ds{}class Ou extends Ds{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ol(t,u=>this.processProvider(u)),this.records.set(Cu,Vs(void 0,this)),r.has("environment")&&this.records.set(Ds,Vs(void 0,this));const s=this.records.get(nl);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(wu.multi,be,de.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=_n(this),i=ue(void 0);try{return t()}finally{_n(n),ue(i)}}get(t,n=j,i=de.Default){this.assertNotDestroyed(),i=w(i);const r=_n(this),s=ue(void 0);try{if(!(i&de.SkipSelf)){let p=this.records.get(t);if(void 0===p){const b=function u_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Bt}(t)&&Ct(t);p=b&&this.injectableDefInScope(b)?Vs(rl(t),Ga):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(i&de.Self?Wa():this.parent).get(t,n=i&de.Optional&&n===j?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[pe]=u[pe]||[]).unshift(K(t)),r)throw u;return function it(e,t,n,i){const r=e[pe];throw t[dn]&&r.unshift(t[dn]),e.message=function Ot(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=K(t);if(Array.isArray(t))r=t.map(K).join(" -> ");else if("object"==typeof t){let s=[];for(let u in t)if(t.hasOwnProperty(u)){let p=t[u];s.push(u+":"+("string"==typeof p?JSON.stringify(p):K(p)))}r=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(At,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[pe]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{ue(s),_n(r)}}resolveInjectorInitializers(){const t=_n(this),n=ue(void 0);try{const i=this.get(qc.multi,be,de.Self);for(const r of i)r()}finally{_n(t),ue(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(K(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Me(205,!1)}processProvider(t){let n=Es(t=te(t))?t:te(t&&t.provide);const i=function c_(e){return tl(e)?Vs(void 0,e.useValue):Vs(ku(e),Ga)}(t);if(Es(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=Vs(void 0,Ga,!0),r.factory=()=>A(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Ga&&(n.value=s_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function d_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=te(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function rl(e){const t=Ct(e),n=null!==t?t.factory:tr(e);if(null!==n)return n;if(e instanceof Bt)throw new Me(204,!1);if(e instanceof Function)return function a_(e){const t=e.length;if(t>0)throw B(t,"?"),new Me(204,!1);const n=function qe(e){const t=e&&(e[we]||e[Pe]);if(t){const n=function mt(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 Me(204,!1)}function ku(e,t,n){let i;if(Es(e)){const r=te(e);return tr(r)||rl(r)}if(tl(e))i=()=>te(e.useValue);else if(function Iu(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...A(e.deps||[]));else if(function Tu(e){return!(!e||!e.useExisting)}(e))i=()=>Xe(te(e.useExisting));else{const r=te(e&&(e.useClass||e.provide));if(!function l_(e){return!!e.deps}(e))return tr(r)||rl(r);i=()=>new r(...A(e.deps))}return i}function Vs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ol(e,t){for(const n of e)Array.isArray(n)?ol(n,t):n&&xe(n)?ol(n.\u0275providers,t):t(n)}class h_{}class Ru{}class m_{resolveComponentFactory(t){throw function f_(e){const t=Error(`No component factory found for ${K(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let _a=(()=>{class e{}return e.NULL=new m_,e})();function p_(){return Us(pi(),st())}function Us(e,t){return new va(di(e,t))}let va=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=p_,e})();function g_(e){return e instanceof va?e.nativeElement:e}class Fu{}let __=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function v_(){const e=st(),n=Di(pi().index,e);return(Mn(n)?n:e)[11]}(),e})(),b_=(()=>{class e{}return e.\u0275prov=ye({token:e,providedIn:"root",factory:()=>null}),e})();class Lu{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const y_=new Lu("15.1.2"),sl={};function cl(e){return e.ngOriginalError}class ba{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&cl(t);for(;n&&cl(n);)n=cl(n);return n||null}}function Nu(e){return e.ownerDocument.defaultView}function Xo(e){return e instanceof Function?e():e}function Vu(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const s=t.length;if(r+s===i||e.charCodeAt(r+s)<=32)return r}n=r+1}}const Uu="ng-template";function I_(e,t,n){let i=0;for(;is?"":r[ae+1].toLowerCase();const $e=8&i?Ie:null;if($e&&-1!==Vu($e,T,0)||2&i&&T!==Ie){if(fo(i))return!1;u=!0}}}}else{if(!u&&!fo(i)&&!fo(b))return!1;if(u&&fo(b))continue;u=!1,i=b|1&i}}return fo(i)||u}function fo(e){return 0==(1&e)}function R_(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let s=!1;for(;r-1)for(n++;n0?'="'+p+'"':"")+"]"}else 8&i?r+="."+u:4&i&&(r+=" "+u);else""!==r&&!fo(u)&&(t+=zu(s,r),r=""),i=u,s=s||!fo(i);n++}return""!==r&&(t+=zu(s,r)),t}const fn={};function $u(e){Gu(cn(),st(),gi()+e,!1)}function Gu(e,t,n,i){if(!i)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&g(t,s,n)}else{const s=e.preOrderHooks;null!==s&&O(t,s,0,n)}Ar(n)}function Zu(e,t=null,n=null,i){const r=Xu(e,t,n,i);return r.resolveInjectorInitializers(),r}function Xu(e,t=null,n=null,i,r=new Set){const s=[n||be,i_(e)];return i=i||("object"==typeof e?void 0:K(e)),new Ou(s,t||Wa(),i||null,r)}let xs=(()=>{class e{static create(n,i){if(Array.isArray(n))return Zu({name:""},i,n,"");{const r=n.name??"";return Zu({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=j,e.NULL=new Mu,e.\u0275prov=ye({token:e,providedIn:"any",factory:()=>Xe(Cu)}),e.__NG_ELEMENT_ID__=-1,e})();function zs(e,t=de.Default){const n=st();return null===n?Xe(e,t):$t(pi(),n,te(e),t)}function ih(){throw new Error("invalid")}function rh(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i22&&Gu(e,t,22,!1),n(i,r)}finally{Ar(s)}}function pl(e,t,n){if(Or(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=p&&u.push(p),u.push(n,i,s)}}(e,t,i,ya(e,n,r.hostVars,fn),r)}function ko(e,t,n,i,r,s){const u=di(e,t);!function El(e,t,n,i,r,s,u){if(null==s)e.removeAttribute(t,r,n);else{const p=null==u?tt(s):u(s,i||"",r);e.setAttribute(t,r,p,n)}}(t[11],u,s,e.value,n,i,r)}function Cv(e,t,n,i,r,s){const u=s[t];if(null!==u){const p=i.setInput;for(let b=0;b0&&Dl(n)}}function Dl(e){for(let i=Fc(e);null!==i;i=Lc(i))for(let r=10;r0&&Dl(s)}const n=e[1].components;if(null!==n)for(let i=0;i0&&Dl(r)}}function Tv(e,t){const n=Di(t,e),i=n[1];(function Iv(e,t){for(let n=t.length;n-1&&(Vc(t,i),S(n,i))}this._attachedToViewContainer=!1}Qd(this._lView[1],this._lView)}onDestroy(t){ah(this._lView[1],this._lView,null,t)}markForCheck(){xl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Qa(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function pg(e,t){ma(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Me(902,!1);this._appRef=t}}class Ov extends Ea{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Qa(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class vh extends _a{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Kt(t);return new Da(n,this.ngModule)}}function bh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Rv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=w(i);const r=this.injector.get(t,sl,i);return r!==sl||n===sl?r:this.parentInjector.get(t,n,i)}}class Da extends Ru{get inputs(){return bh(this.componentDef.inputs)}get outputs(){return bh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function V_(e){return e.map(B_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){let s=(r=r||this.ngModule)instanceof Ds?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const u=s?new Rv(t,s):t,p=u.get(Fu,null);if(null===p)throw new Me(407,!1);const b=u.get(b_,null),T=p.createRenderer(null,this.componentDef),V=this.componentDef.selectors[0][0]||"div",ae=i?function lv(e,t,n){return e.selectRootElement(t,n===Cn.ShadowDom)}(T,i,this.componentDef.encapsulation):Bc(T,V,function kv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(V)),Ie=this.componentDef.onPush?288:272,$e=vl(0,null,null,1,0,null,null,null,null,null),yt=Ka(null,$e,null,Ie,null,null,p,T,b,u,null);let Rt,Ht;jo(yt);try{const Zt=this.componentDef;let sn,Tt=null;Zt.findHostDirectiveDefs?(sn=[],Tt=new Map,Zt.findHostDirectiveDefs(Zt,sn,Tt),sn.push(Zt)):sn=[Zt];const un=function Fv(e,t){const n=e[1];return e[22]=t,$s(n,22,2,"#host",null)}(yt,ae),ai=function Lv(e,t,n,i,r,s,u,p){const b=r[1];!function Nv(e,t,n,i){for(const r of e)t.mergedAttrs=xi(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(qa(t,t.mergedAttrs,!0),null!==n&&lu(i,n,t))}(i,e,t,u);const T=s.createRenderer(t,n),V=Ka(r,sh(n),null,n.onPush?32:16,r[e.index],e,s,T,p||null,null,null);return b.firstCreatePass&&yl(b,e,i.length-1),Xa(r,V),r[e.index]=V}(un,ae,Zt,sn,yt,p,T);Ht=dr($e,22),ae&&function Vv(e,t,n,i){if(i)Ui(e,n,["ng-version",y_.full]);else{const{attrs:r,classes:s}=function U_(e){const t=[],n=[];let i=1,r=2;for(;i0&&cu(e,n,s.join(" "))}}(T,Zt,ae,i),void 0!==n&&function Uv(e,t,n){const i=e.projection=[];for(let r=0;r=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=xi(r.hostAttrs,n=xi(n,r.hostAttrs))}}(i)}function Al(e){return e===ln?{}:e===be?[]:e}function zv(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function $v(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,s)=>{t(i,r,s),n(i,r,s)}:t}function Gv(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}let ec=null;function Cs(){if(!ec){const e=ct.Symbol;if(e&&e.iterator)ec=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nu(zn(un[i.index])):i.index;let Tt=null;if(!u&&p&&(Tt=function ob(e,t,n,i){const r=e.cleanup;if(null!=r)for(let s=0;sb?p[b]:null}"string"==typeof u&&(s+=2)}return null}(e,t,r,i.index)),null!==Tt)(Tt.__ngLastListenerFn__||Tt).__ngNextListenerFn__=s,Tt.__ngLastListenerFn__=s,Ie=!1;else{s=Hh(i,t,V,s,!1);const un=n.listen(Ht,r,s);ae.push(s,un),T&&T.push(r,sn,Zt,Zt+1)}}else s=Hh(i,t,V,s,!1);const $e=i.outputs;let yt;if(Ie&&null!==$e&&(yt=$e[r])){const Rt=yt.length;if(Rt)for(let Ht=0;Ht-1?Di(e.index,t):t);let b=Uh(t,0,i,u),T=s.__ngNextListenerFn__;for(;T;)b=Uh(t,0,T,u)&&b,T=T.__ngNextListenerFn__;return r&&!1===b&&(u.preventDefault(),u.returnValue=!1),b}}function jh(e=1){return function ss(e){return(on.lFrame.contextLView=function Is(e,t){for(;e>0;)t=t[15],e--;return t}(e,on.lFrame.contextLView))[8]}(e)}function sb(e,t){let n=null;const i=function P_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let r=0;r>17&32767}function Bl(e){return 2|e}function Ms(e){return(131068&e)>>2}function Vl(e,t){return-131069&e|t<<2}function Ul(e){return 1|e}function Jh(e,t,n,i,r){const s=e[n+1],u=null===t;let p=i?ds(s):Ms(s),b=!1;for(;0!==p&&(!1===b||u);){const V=e[p+1];hb(e[p],t)&&(b=!0,e[p+1]=i?Ul(V):Bl(V)),p=i?ds(V):Ms(V)}b&&(e[n+1]=i?Bl(s):Ul(s))}function hb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ri(e,t)>=0}const Ii={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ef(e){return e.substring(Ii.key,Ii.keyEnd)}function tf(e,t){const n=Ii.textEnd;return n===t?-1:(t=Ii.keyEnd=function gb(e,t,n){for(;t32;)t++;return t}(e,Ii.key=t,n),ea(e,t,n))}function ea(e,t,n){for(;t=0;n=tf(t,n))Vt(e,ef(t),!0)}function mo(e,t,n,i){const r=st(),s=cn(),u=pr(2);s.firstUpdatePass&&df(s,e,u,i),t!==fn&&Xi(r,u,t)&&hf(s,s.data[gi()],r,r[11],e,r[u+1]=function Mb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=K(Ko(e)))),e}(t,n),i,u)}function po(e,t,n,i){const r=cn(),s=pr(2);r.firstUpdatePass&&df(r,null,s,i);const u=st();if(n!==fn&&Xi(u,s,n)){const p=r.data[gi()];if(mf(p,i)&&!lf(r,s)){let b=i?p.classesWithoutHost:p.stylesWithoutHost;null!==b&&(n=Z(b,n||"")),Ol(r,p,u,n,i)}else!function wb(e,t,n,i,r,s,u,p){r===fn&&(r=be);let b=0,T=0,V=0=e.expandoStartIndex}function df(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[gi()],u=lf(e,n);mf(s,i)&&null===t&&!u&&(t=!1),t=function yb(e,t,n,i){const r=ro(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Ca(n=zl(null,e,t,n,i),t.attrs,i),s=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==r)if(n=zl(r,e,t,n,i),null===s){let b=function Eb(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Ms(i))return e[ds(i)]}(e,t,i);void 0!==b&&Array.isArray(b)&&(b=zl(null,e,t,b[1],i),b=Ca(b,t.attrs,i),function Db(e,t,n,i){e[ds(n?t.classBindings:t.styleBindings)]=i}(e,t,i,b))}else s=function xb(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(T=!0)):V=n,r)if(0!==b){const Ie=ds(e[p+1]);e[i+1]=ac(Ie,p),0!==Ie&&(e[Ie+1]=Vl(e[Ie+1],i)),e[p+1]=function cb(e,t){return 131071&e|t<<17}(e[p+1],i)}else e[i+1]=ac(p,0),0!==p&&(e[p+1]=Vl(e[p+1],i)),p=i;else e[i+1]=ac(b,0),0===p?p=i:e[b+1]=Vl(e[b+1],i),b=i;T&&(e[i+1]=Bl(e[i+1])),Jh(e,V,i,!0),Jh(e,V,i,!1),function ub(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ri(s,t)>=0&&(n[i+1]=Ul(n[i+1]))}(t,V,e,i,s),u=ac(p,b),s?t.classBindings=u:t.styleBindings=u}(r,s,t,n,u,i)}}function zl(e,t,n,i,r){let s=null;const u=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p0;){const b=e[r],T=Array.isArray(b),V=T?b[1]:b,ae=null===V;let Ie=n[r+1];Ie===fn&&(Ie=ae?be:void 0);let $e=ae?Ln(Ie,i):V===i?Ie:void 0;if(T&&!cc($e)&&($e=Ln(b,i)),cc($e)&&(p=$e,u))return p;const yt=e[r+1];r=u?ds(yt):Ms(yt)}if(null!==t){let b=s?t.residualClasses:t.residualStyles;null!=b&&(p=Ln(b,i))}return p}function cc(e){return void 0!==e}function mf(e,t){return 0!=(e.flags&(t?8:16))}function pf(e,t=""){const n=st(),i=cn(),r=e+22,s=i.firstCreatePass?$s(i,r,1,t,null):i.data[r],u=n[r]=function Nc(e,t){return e.createText(t)}(n[11],t);Va(i,n,u,s),Wi(s,!1)}function $l(e){return lc("",e,""),$l}function lc(e,t,n){const i=st(),r=Ws(i,e,t,n);return r!==fn&&Qo(i,gi(),r),lc}function Gl(e,t,n,i,r){const s=st(),u=Ys(s,e,t,n,i,r);return u!==fn&&Qo(s,gi(),u),Gl}function xf(e,t,n){po(Vt,Fo,Ws(st(),e,t,n),!0)}function Wl(e,t,n){const i=st();return Xi(i,rr(),t)&&Ir(cn(),$n(),i,e,t,i[11],n,!0),Wl}function Yl(e,t,n){const i=st();if(Xi(i,rr(),t)){const s=cn(),u=$n();Ir(s,u,i,e,t,gh(ro(s.data),u,i),n,!0)}return Yl}const As=void 0;var Gb=["en",[["a","p"],["AM","PM"],As],[["AM","PM"],As,As],[["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"]],As,[["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"]],As,[["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}",As,"{1} 'at' {0}",As],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $b(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let ta={};function Kl(e){const t=function Wb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Pf(t);if(n)return n;const i=t.split("-")[0];if(n=Pf(i),n)return n;if("en"===i)return Gb;throw new Me(701,!1)}function Rf(e){return Kl(e)[rn.PluralCase]}function Pf(e){return e in ta||(ta[e]=ct.ng&&ct.ng.common&&ct.ng.common.locales&&ct.ng.common.locales[e]),ta[e]}var rn=(()=>((rn=rn||{})[rn.LocaleId=0]="LocaleId",rn[rn.DayPeriodsFormat=1]="DayPeriodsFormat",rn[rn.DayPeriodsStandalone=2]="DayPeriodsStandalone",rn[rn.DaysFormat=3]="DaysFormat",rn[rn.DaysStandalone=4]="DaysStandalone",rn[rn.MonthsFormat=5]="MonthsFormat",rn[rn.MonthsStandalone=6]="MonthsStandalone",rn[rn.Eras=7]="Eras",rn[rn.FirstDayOfWeek=8]="FirstDayOfWeek",rn[rn.WeekendRange=9]="WeekendRange",rn[rn.DateFormat=10]="DateFormat",rn[rn.TimeFormat=11]="TimeFormat",rn[rn.DateTimeFormat=12]="DateTimeFormat",rn[rn.NumberSymbols=13]="NumberSymbols",rn[rn.NumberFormats=14]="NumberFormats",rn[rn.CurrencyCode=15]="CurrencyCode",rn[rn.CurrencySymbol=16]="CurrencySymbol",rn[rn.CurrencyName=17]="CurrencyName",rn[rn.Currencies=18]="Currencies",rn[rn.Directionality=19]="Directionality",rn[rn.PluralCase=20]="PluralCase",rn[rn.ExtraData=21]="ExtraData",rn))();const na="en-US";let Ff=na;function Ql(e,t,n,i,r){if(e=te(e),Array.isArray(e))for(let s=0;s>20;if(Es(e)||!e.multi){const $e=new gt(b,r,zs),yt=Jl(p,t,r?V:V+Ie,ae);-1===yt?(Ce(_(T,u),s,p),ql(s,e,t.length),t.push(p),T.directiveStart++,T.directiveEnd++,r&&(T.providerIndexes+=1048576),n.push($e),u.push($e)):(n[yt]=$e,u[yt]=$e)}else{const $e=Jl(p,t,V+Ie,ae),yt=Jl(p,t,V,V+Ie),Ht=yt>=0&&n[yt];if(r&&!Ht||!r&&!($e>=0&&n[$e])){Ce(_(T,u),s,p);const Zt=function zy(e,t,n,i,r){const s=new gt(e,n,zs);return s.multi=[],s.index=t,s.componentProviders=0,sm(s,r,i&&!n),s}(r?jy:Hy,n.length,r,i,b);!r&&Ht&&(n[yt].providerFactory=Zt),ql(s,e,t.length,0),t.push(p),T.directiveStart++,T.directiveEnd++,r&&(T.providerIndexes+=1048576),n.push(Zt),u.push(Zt)}else ql(s,e,$e>-1?$e:yt,sm(n[r?yt:$e],b,!r&&i));!r&&i&&Ht&&n[yt].componentProviders++}}}function ql(e,t,n,i){const r=Es(t),s=function o_(e){return!!e.useClass}(t);if(r||s){const b=(s?te(t.useClass):t).prototype.ngOnDestroy;if(b){const T=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const V=T.indexOf(n);-1===V?T.push(n,[i,b]):T[V+1].push(i,b)}else T.push(n,b)}}}function sm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Jl(e,t,n,i){for(let r=n;r{n.providersResolver=(i,r)=>function Uy(e,t,n){const i=cn();if(i.firstCreatePass){const r=Fn(e);Ql(n,i.data,i.blueprint,r,!0),Ql(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class ia{}class cm{}function $y(e,t){return new lm(e,t??null)}class lm extends ia{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vh(this);const i=ei(t);this._bootstrapComponents=Xo(i.bootstrap),this._r3Injector=Xu(t,n,[{provide:ia,useValue:this},{provide:_a,useValue:this.componentFactoryResolver}],K(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class td extends cm{constructor(t){super(),this.moduleType=t}create(t){return new lm(this.moduleType,t)}}class Gy extends ia{constructor(t,n,i){super(),this.componentFactoryResolver=new vh(this),this.instance=null;const r=new Ou([...t,{provide:ia,useValue:this},{provide:_a,useValue:this.componentFactoryResolver}],n||Wa(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function nd(e,t,n=null){return new Gy(e,t,n).injector}let Wy=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=Au(0,n.type),r=i.length>0?nd([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,r)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=ye({token:e,providedIn:"environment",factory:()=>new e(Xe(Ds))}),e})();function dm(e){e.getStandaloneInjector=t=>t.get(Wy).getOrCreateStandaloneInjector(e)}function _m(e,t,n){const i=ui()+e,r=st();return r[i]===fn?Ro(r,i,n?t.call(n):t()):function xa(e,t){return e[t]}(r,i)}function vm(e,t,n,i){return ym(st(),ui(),e,t,n,i)}function bm(e,t,n,i,r){return Em(st(),ui(),e,t,n,i,r)}function Ia(e,t){const n=e[t];return n===fn?void 0:n}function ym(e,t,n,i,r,s){const u=t+n;return Xi(e,u,r)?Ro(e,u+1,s?i.call(s,r):i(r)):Ia(e,u+1)}function Em(e,t,n,i,r,s,u){const p=t+n;return ws(e,p,r,s)?Ro(e,p+2,u?i.call(u,r,s):i(r,s)):Ia(e,p+2)}function Dm(e,t,n,i,r,s,u,p){const b=t+n;return function nc(e,t,n,i,r){const s=ws(e,t,n,i);return Xi(e,t+2,r)||s}(e,b,r,s,u)?Ro(e,b+3,p?i.call(p,r,s,u):i(r,s,u)):Ia(e,b+3)}function wm(e,t){const n=cn();let i;const r=e+22;n.firstCreatePass?(i=function l0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=tr(i.type)),u=ue(zs);try{const p=ls(!1),b=s();return ls(p),function nb(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,st(),r,b),b}finally{ue(u)}}function Mm(e,t,n){const i=e+22,r=st(),s=$i(r,i);return Oa(r,i)?ym(r,ui(),t,s.transform,n,s):s.transform(n)}function Am(e,t,n,i){const r=e+22,s=st(),u=$i(s,r);return Oa(s,r)?Em(s,ui(),t,u.transform,n,i,u):u.transform(n,i)}function Sm(e,t,n,i,r){const s=e+22,u=st(),p=$i(u,s);return Oa(u,s)?Dm(u,ui(),t,p.transform,n,i,r,p):p.transform(n,i,r)}function Oa(e,t){return e[1].data[t].pure}function rd(e){return t=>{setTimeout(e,void 0,t)}}const Lo=class h0 extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,s=n||(()=>null),u=i;if(t&&"object"==typeof t){const b=t;r=b.next?.bind(b),s=b.error?.bind(b),u=b.complete?.bind(b)}this.__isAsync&&(s=rd(s),r&&(r=rd(r)),u&&(u=rd(u)));const p=super.subscribe({next:r,error:s,complete:u});return t instanceof a.w0&&t.add(p),p}};function f0(){return this._results[Cs()]()}class mc{get changes(){return this._changes||(this._changes=new Lo)}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=Cs(),i=mc.prototype;i[n]||(i[n]=f0)}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 i=this;i.dirty=!1;const r=function m(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function h(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=g0,e})();const m0=ka,p0=class extends m0{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,r=Ka(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);r[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(r[19]=u.createEmbeddedView(i)),ml(i,r,t),new Ea(r)}};function g0(){return pc(pi(),st())}function pc(e,t){return 4&e.type?new p0(t,e,Us(e,t)):null}let gc=(()=>{class e{}return e.__NG_ELEMENT_ID__=_0,e})();function _0(){return Om(pi(),st())}const v0=gc,Tm=class extends v0{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Us(this._hostTNode,this._hostLView)}get injector(){return new jn(this._hostTNode,this._hostLView)}get parentInjector(){const t=_e(this._hostTNode,this._hostLView);if(Ao(t)){const n=cs(t,this._hostLView),i=ao(t);return new jn(n[1].data[i+8],n)}return new jn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Im(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let r,s;"number"==typeof i?r=i:null!=i&&(r=i.index,s=i.injector);const u=t.createEmbeddedView(n||{},s);return this.insert(u,r),u}createComponent(t,n,i,r,s){const u=t&&!function Io(e){return"function"==typeof e}(t);let p;if(u)p=n;else{const ae=n||{};p=ae.index,i=ae.injector,r=ae.projectableNodes,s=ae.environmentInjector||ae.ngModuleRef}const b=u?t:new Da(Kt(t)),T=i||this.parentInjector;if(!s&&null==b.ngModule){const Ie=(u?T:this.parentInjector).get(Ds,null);Ie&&(s=Ie)}const V=b.create(T,r,void 0,s);return this.insert(V.hostView,p),V}insert(t,n){const i=t._lView,r=i[1];if(function Vr(e){return Un(e[3])}(i)){const V=this.indexOf(t);if(-1!==V)this.detach(V);else{const ae=i[3],Ie=new Tm(ae,ae[6],ae[3]);Ie.detach(Ie.indexOf(t))}}const s=this._adjustIndex(n),u=this._lContainer;!function _g(e,t,n,i){const r=10+i,s=n.length;i>0&&(n[r-1][4]=t),i0)i.push(u[p/2]);else{const T=s[p+1],V=t[-b];for(let ae=10;ae{class e{constructor(n){this.appInits=n,this.resolve=vc,this.reject=vc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{s.subscribe({complete:p,error:b})});n.push(u)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Xe(sp,8))},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ap=new Bt("AppId",{providedIn:"root",factory:function cp(){return`${pd()}${pd()}${pd()}`}});function pd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const lp=new Bt("Platform Initializer"),$0=new Bt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),dp=new Bt("appBootstrapListener"),G0=new Bt("AnimationModuleType");let W0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const yc=new Bt("LocaleId",{providedIn:"root",factory:()=>I(yc,de.Optional|de.SkipSelf)||function Y0(){return typeof $localize<"u"&&$localize.locale||na}()}),K0=new Bt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Z0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let X0=(()=>{class e{compileModuleSync(n){return new td(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=Xo(ei(n).declarations).reduce((u,p)=>{const b=Kt(p);return b&&u.push(new Da(b)),u},[]);return new Z0(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const J0=(()=>Promise.resolve(0))();function gd(e){typeof Zone>"u"?J0.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Gr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Lo(!1),this.onMicrotaskEmpty=new Lo(!1),this.onStable=new Lo(!1),this.onError=new Lo(!1),typeof Zone>"u")throw new Me(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function eE(){let e=ct.requestAnimationFrame,t=ct.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function iE(e){const t=()=>{!function nE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ct,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,vd(e),e.isCheckStableRunning=!0,_d(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),vd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,u,p)=>{try{return fp(e),n.invokeTask(r,s,u,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),mp(e)}},onInvoke:(n,i,r,s,u,p,b)=>{try{return fp(e),n.invoke(r,s,u,p,b)}finally{e.shouldCoalesceRunChangeDetection&&t(),mp(e)}},onHasTask:(n,i,r,s)=>{n.hasTask(r,s),i===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,vd(e),_d(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,r,s)=>(n.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Gr.isInAngularZone())throw new Me(909,!1)}static assertNotInAngularZone(){if(Gr.isInAngularZone())throw new Me(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const s=this._inner,u=s.scheduleEventTask("NgZoneEvent: "+r,t,tE,vc,vc);try{return s.runTask(u,n,i)}finally{s.cancelTask(u)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const tE={};function _d(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 vd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function fp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mp(e){e._nesting--,_d(e)}class rE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Lo,this.onMicrotaskEmpty=new Lo,this.onStable=new Lo,this.onError=new Lo}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const pp=new Bt(""),gp=new Bt("");let bd,oE=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,bd||(function sE(e){bd=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{Gr.assertNotInAngularZone(),gd(()=>{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())gd(()=>{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(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.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,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:r})}whenStable(n,i,r){if(r&&!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,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(Xe(Gr),Xe(_p),Xe(gp))},e.\u0275prov=ye({token:e,factory:e.\u0275fac}),e})(),_p=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return bd?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),us=null;const vp=new Bt("AllowMultipleToken"),yd=new Bt("PlatformDestroyListeners");class lE{constructor(t,n){this.name=t,this.token=n}}function yp(e,t,n=[]){const i=`Platform: ${t}`,r=new Bt(i);return(s=[])=>{let u=Ed();if(!u||u.injector.get(vp,!1)){const p=[...n,...s,{provide:r,useValue:!0}];e?e(p):function dE(e){if(us&&!us.get(vp,!1))throw new Me(400,!1);us=e;const t=e.get(Dp);(function bp(e){const t=e.get(lp,null);t&&t.forEach(n=>n())})(e)}(function Ep(e=[],t){return xs.create({name:t,providers:[{provide:nl,useValue:"platform"},{provide:yd,useValue:new Set([()=>us=null])},...e]})}(p,i))}return function hE(e){const t=Ed();if(!t)throw new Me(401,!1);return t}()}}function Ed(){return us?.get(Dp)??null}let Dp=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function Cp(e,t){let n;return n="noop"===e?new rE:("zone.js"===e?void 0:e)||new Gr(t),n}(i?.ngZone,function xp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),s=[{provide:Gr,useValue:r}];return r.run(()=>{const u=xs.create({providers:s,parent:this.injector,name:n.moduleType.name}),p=n.create(u),b=p.injector.get(ba,null);if(!b)throw new Me(402,!1);return r.runOutsideAngular(()=>{const T=r.onError.subscribe({next:V=>{b.handleError(V)}});p.onDestroy(()=>{Dc(this._modules,p),T.unsubscribe()})}),function wp(e,t,n){try{const i=n();return Rl(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(b,r,()=>{const T=p.injector.get(bc);return T.runInitializers(),T.donePromise.then(()=>(function Lf(e){ot(e,"Expected localeId to be defined"),"string"==typeof e&&(Ff=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(yc,na)||na),this._moduleDoBootstrap(p),p))})})}bootstrapModule(n,i=[]){const r=Mp({},i);return function aE(e,t,n){const i=new td(n);return Promise.resolve(i)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(n){const i=n.injector.get(Ec);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new Me(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Me(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(yd,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Xe(xs))},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Mp(e,t){return Array.isArray(t)?t.reduce(Mp,e):{...e,...t}}let Ec=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,i,r){this._zone=n,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new E.y(p=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{p.next(this._stable),p.complete()})}),u=new E.y(p=>{let b;this._zone.runOutsideAngular(()=>{b=this._zone.onStable.subscribe(()=>{Gr.assertNotInAngularZone(),gd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))})})});const T=this._zone.onUnstable.subscribe(()=>{Gr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{p.next(!1)}))});return()=>{b.unsubscribe(),T.unsubscribe()}});this.isStable=(0,W.T)(s,u.pipe((0,Q.B)()))}bootstrap(n,i){const r=n instanceof Ru;if(!this._injector.get(bc).done)throw!r&&Yn(n),new Me(405,false);let u;u=r?n:this._injector.get(_a).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const p=function cE(e){return e.isBoundToModule}(u)?void 0:this._injector.get(ia),T=u.create(xs.NULL,[],i||u.selector,p),V=T.location.nativeElement,ae=T.injector.get(pp,null);return ae?.registerApplication(V),T.onDestroy(()=>{this.detachView(T.hostView),Dc(this.components,T),ae?.unregisterApplication(V)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new Me(101,!1);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 i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Dc(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(dp,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Dc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Me(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Xe(Gr),Xe(Ds),Xe(ba))},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Dc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function mE(){}let pE=(()=>{class e{}return e.__NG_ELEMENT_ID__=gE,e})();function gE(e){return function _E(e,t,n){if(ki(e)&&!n){const i=Di(e.index,t);return new Ea(i,i)}return 47&e.type?new Ea(t[16],t):null}(pi(),st(),16==(16&e))}class Op{constructor(){}supports(t){return tc(t)}create(t){return new xE(t)}}const DE=(e,t)=>t;class xE{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||DE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,s=null;for(;n||i;){const u=!i||n&&n.currentIndex{u=this._trackByFn(r,p),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,p,u,r)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,u,r),i=!0),n=n._next,r++}),this.length=r;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,i,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,r)):t=this._addAfter(new CE(n,i),s,r),t}_verifyReinsertion(t,n,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const 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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new kp),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 kp),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 CE{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 wE{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class kp{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new wE,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.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 Rp(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 r=this._records.get(t);this._maybeAddToChanges(r,n);const s=r._prev,u=r._next;return s&&(s._next=u),u&&(u._prev=s),r._next=null,r._prev=null,r}const i=new AE(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class AE{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 Fp(){return new Md([new Op])}let Md=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Fp()),deps:[[e,new la,new ca]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new Me(901,!1)}}return e.\u0275prov=ye({token:e,providedIn:"root",factory:Fp}),e})();function Lp(){return new Ad([new Pp])}let Ad=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Lp()),deps:[[e,new la,new ca]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new Me(901,!1)}}return e.\u0275prov=ye({token:e,providedIn:"root",factory:Lp}),e})();const IE=yp(null,"core",[]);let OE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Xe(Ec))},e.\u0275mod=P({type:e}),e.\u0275inj=bt({}),e})();function kE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},4006:(_t,De,f)=>{"use strict";f.d(De,{Cf:()=>rt,F:()=>Nn,Fd:()=>Zr,Fj:()=>xe,JJ:()=>Pe,JL:()=>pt,JU:()=>K,NI:()=>li,On:()=>zi,Q7:()=>Br,UX:()=>Ur,Zs:()=>Eo,_:()=>Gn,_Y:()=>kn,a5:()=>mt,cw:()=>xt,kI:()=>fe,oH:()=>ki,qQ:()=>nr,qu:()=>Vr,sg:()=>Fn,u:()=>ni,u5:()=>on,wV:()=>Er});var o=f(4650),a=f(6895),E=f(2076),W=f(4128),Q=f(4004);let G=(()=>{class M{constructor(y,z){this._renderer=y,this._elementRef=z,this.onChange=et=>{},this.onTouched=()=>{}}setProperty(y,z){this._renderer.setProperty(this._elementRef.nativeElement,y,z)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(o.Qsj),o.Y36(o.SBq))},M.\u0275dir=o.lG2({type:M}),M})(),re=(()=>{class M extends G{}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,features:[o.qOj]}),M})();const K=new o.OlP("NgValueAccessor"),he={provide:K,useExisting:(0,o.Gpc)(()=>xe),multi:!0},ke=new o.OlP("CompositionEventMode");let xe=(()=>{class M extends G{constructor(y,z,et){super(y,z),this._compositionMode=et,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function te(){const M=(0,a.q)()?(0,a.q)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(ke,8))},M.\u0275dir=o.lG2({type:M,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(y,z){1&y&&o.NdJ("input",function(zt){return z._handleInput(zt.target.value)})("blur",function(){return z.onTouched()})("compositionstart",function(){return z._compositionStart()})("compositionend",function(zt){return z._compositionEnd(zt.target.value)})},features:[o._Bn([he]),o.qOj]}),M})();function Re(M){return null==M||("string"==typeof M||Array.isArray(M))&&0===M.length}function Me(M){return null!=M&&"number"==typeof M.length}const rt=new o.OlP("NgValidators"),tt=new o.OlP("NgAsyncValidators"),Ge=/^(?=.{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 fe{static min(C){return N(C)}static max(C){return F(C)}static required(C){return U(C)}static requiredTrue(C){return ce(C)}static email(C){return function Oe(M){return Re(M.value)||Ge.test(M.value)?null:{email:!0}}(C)}static minLength(C){return function Ue(M){return C=>Re(C.value)||!Me(C.value)?null:C.value.lengthMe(C.value)&&C.value.length>M?{maxlength:{requiredLength:M,actualLength:C.value.length}}:null}(C)}static pattern(C){return function ft(M){if(!M)return It;let C,y;return"string"==typeof M?(y="","^"!==M.charAt(0)&&(y+="^"),y+=M,"$"!==M.charAt(M.length-1)&&(y+="$"),C=new RegExp(y)):(y=M.toString(),C=M),z=>{if(Re(z.value))return null;const et=z.value;return C.test(et)?null:{pattern:{requiredPattern:y,actualValue:et}}}}(C)}static nullValidator(C){return null}static compose(C){return We(C)}static composeAsync(C){return je(C)}}function N(M){return C=>{if(Re(C.value)||Re(M))return null;const y=parseFloat(C.value);return!isNaN(y)&&y{if(Re(C.value)||Re(M))return null;const y=parseFloat(C.value);return!isNaN(y)&&y>M?{max:{max:M,actual:C.value}}:null}}function U(M){return Re(M.value)?{required:!0}:null}function ce(M){return!0===M.value?null:{required:!0}}function It(M){return null}function St(M){return null!=M}function He(M){return(0,o.QGY)(M)?(0,E.D)(M):M}function Ze(M){let C={};return M.forEach(y=>{C=null!=y?{...C,...y}:C}),0===Object.keys(C).length?null:C}function nt(M,C){return C.map(y=>y(M))}function vt(M){return M.map(C=>function ut(M){return!M.validate}(C)?C:y=>C.validate(y))}function We(M){if(!M)return null;const C=M.filter(St);return 0==C.length?null:function(y){return Ze(nt(y,C))}}function ot(M){return null!=M?We(vt(M)):null}function je(M){if(!M)return null;const C=M.filter(St);return 0==C.length?null:function(y){const z=nt(y,C).map(He);return(0,W.D)(z).pipe((0,Q.U)(Ze))}}function ze(M){return null!=M?je(vt(M)):null}function Qe(M,C){return null===M?[C]:Array.isArray(M)?[...M,C]:[M,C]}function kt(M){return M._rawValidators}function ye(M){return M._rawAsyncValidators}function Le(M){return M?Array.isArray(M)?M:[M]:[]}function bt(M,C){return Array.isArray(M)?M.includes(C):M===C}function Ct(M,C){const y=Le(C);return Le(M).forEach(et=>{bt(y,et)||y.push(et)}),y}function Ft(M,C){return Le(C).filter(y=>!bt(M,y))}class Ne{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(C){this._rawValidators=C||[],this._composedValidatorFn=ot(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=ze(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(C=>C()),this._onDestroyCallbacks=[]}reset(C){this.control&&this.control.reset(C)}hasError(C,y){return!!this.control&&this.control.hasError(C,y)}getError(C,y){return this.control?this.control.getError(C,y):null}}class qe extends Ne{get formDirective(){return null}get path(){return null}}class mt extends Ne{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class le{constructor(C){this._cd=C}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Pe=(()=>{class M extends le{constructor(y){super(y)}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(mt,2))},M.\u0275dir=o.lG2({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(y,z){2&y&&o.ekj("ng-untouched",z.isUntouched)("ng-touched",z.isTouched)("ng-pristine",z.isPristine)("ng-dirty",z.isDirty)("ng-valid",z.isValid)("ng-invalid",z.isInvalid)("ng-pending",z.isPending)},features:[o.qOj]}),M})(),pt=(()=>{class M extends le{constructor(y){super(y)}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(qe,10))},M.\u0275dir=o.lG2({type:M,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(y,z){2&y&&o.ekj("ng-untouched",z.isUntouched)("ng-touched",z.isTouched)("ng-pristine",z.isPristine)("ng-dirty",z.isDirty)("ng-valid",z.isValid)("ng-invalid",z.isInvalid)("ng-pending",z.isPending)("ng-submitted",z.isSubmitted)},features:[o.qOj]}),M})();const _n="VALID",xn="INVALID",Xe="PENDING",Ae="DISABLED";function I(M){return(oe(M)?M.validators:M)||null}function A(M,C){return(oe(C)?C.asyncValidators:M)||null}function oe(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}function it(M,C,y){const z=M.controls;if(!(C?Object.keys(z):z).length)throw new o.vHH(1e3,"");if(!z[y])throw new o.vHH(1001,"")}function Ot(M,C,y){M._forEachChild((z,et)=>{if(void 0===y[et])throw new o.vHH(1002,"")})}class Yt{constructor(C,y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(C),this._assignAsyncValidators(y)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get valid(){return this.status===_n}get invalid(){return this.status===xn}get pending(){return this.status==Xe}get disabled(){return this.status===Ae}get enabled(){return this.status!==Ae}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._assignValidators(C)}setAsyncValidators(C){this._assignAsyncValidators(C)}addValidators(C){this.setValidators(Ct(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(Ct(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(Ft(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(Ft(C,this._rawAsyncValidators))}hasValidator(C){return bt(this._rawValidators,C)}hasAsyncValidator(C){return bt(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){this.touched=!0,this._parent&&!C.onlySelf&&this._parent.markAsTouched(C)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(C=>C.markAllAsTouched())}markAsUntouched(C={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(y=>{y.markAsUntouched({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}markAsDirty(C={}){this.pristine=!1,this._parent&&!C.onlySelf&&this._parent.markAsDirty(C)}markAsPristine(C={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(y=>{y.markAsPristine({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}markAsPending(C={}){this.status=Xe,!1!==C.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!C.onlySelf&&this._parent.markAsPending(C)}disable(C={}){const y=this._parentMarkedDirty(C.onlySelf);this.status=Ae,this.errors=null,this._forEachChild(z=>{z.disable({...C,onlySelf:!0})}),this._updateValue(),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:y}),this._onDisabledChange.forEach(z=>z(!0))}enable(C={}){const y=this._parentMarkedDirty(C.onlySelf);this.status=_n,this._forEachChild(z=>{z.enable({...C,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:y}),this._onDisabledChange.forEach(z=>z(!1))}_updateAncestors(C){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(C){this._parent=C}getRawValue(){return this.value}updateValueAndValidity(C={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_n||this.status===Xe)&&this._runAsyncValidator(C.emitEvent)),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity(C)}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(C)),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ae:_n}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C){if(this.asyncValidator){this.status=Xe,this._hasOwnPendingAsyncValidator=!0;const y=He(this.asyncValidator(this));this._asyncValidationSubscription=y.subscribe(z=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(z,{emitEvent:C})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(C,y={}){this.errors=C,this._updateControlsErrors(!1!==y.emitEvent)}get(C){let y=C;return null==y||(Array.isArray(y)||(y=y.split(".")),0===y.length)?null:y.reduce((z,et)=>z&&z._find(et),this)}getError(C,y){const z=y?this.get(y):this;return z&&z.errors?z.errors[C]:null}hasError(C,y){return!!this.getError(C,y)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(C)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?Ae:this.errors?xn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xe)?Xe:this._anyControlsHaveStatus(xn)?xn:_n}_anyControlsHaveStatus(C){return this._anyControls(y=>y.status===C)}_anyControlsDirty(){return this._anyControls(C=>C.dirty)}_anyControlsTouched(){return this._anyControls(C=>C.touched)}_updatePristine(C={}){this.pristine=!this._anyControlsDirty(),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}_updateTouched(C={}){this.touched=this._anyControlsTouched(),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){oe(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(C){return null}_assignValidators(C){this._rawValidators=Array.isArray(C)?C.slice():C,this._composedValidatorFn=function w(M){return Array.isArray(M)?ot(M):M||null}(this._rawValidators)}_assignAsyncValidators(C){this._rawAsyncValidators=Array.isArray(C)?C.slice():C,this._composedAsyncValidatorFn=function J(M){return Array.isArray(M)?ze(M):M||null}(this._rawAsyncValidators)}}class xt extends Yt{constructor(C,y,z){super(I(y),A(z,y)),this.controls=C,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,y){return this.controls[C]?this.controls[C]:(this.controls[C]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(C,y,z={}){this.registerControl(C,y),this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}removeControl(C,y={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(C,y,z={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],y&&this.registerControl(C,y),this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,y={}){Ot(this,0,C),Object.keys(C).forEach(z=>{it(this,!0,z),this.controls[z].setValue(C[z],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(C,y={}){null!=C&&(Object.keys(C).forEach(z=>{const et=this.controls[z];et&&et.patchValue(C[z],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(C={},y={}){this._forEachChild((z,et)=>{z.reset(C[et],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(C,y,z)=>(C[z]=y.getRawValue(),C))}_syncPendingControls(){let C=this._reduceChildren(!1,(y,z)=>!!z._syncPendingControls()||y);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach(y=>{const z=this.controls[y];z&&C(z,y)})}_setUpControls(){this._forEachChild(C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const[y,z]of Object.entries(this.controls))if(this.contains(y)&&C(z))return!0;return!1}_reduceValue(){return this._reduceChildren({},(y,z,et)=>((z.enabled||this.disabled)&&(y[et]=z.value),y))}_reduceChildren(C,y){let z=C;return this._forEachChild((et,zt)=>{z=y(z,et,zt)}),z}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(C){return this.controls.hasOwnProperty(C)?this.controls[C]:null}}class Cn extends xt{}const be=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ee}),Ee="always";function q(M,C){return[...C.path,M]}function Te(M,C,y=Ee){Rn(M,C),C.valueAccessor.writeValue(M.value),(M.disabled||"always"===y)&&C.valueAccessor.setDisabledState?.(M.disabled),function Zn(M,C){C.valueAccessor.registerOnChange(y=>{M._pendingValue=y,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&R(M,C)})}(M,C),function P(M,C){const y=(z,et)=>{C.valueAccessor.writeValue(z),et&&C.viewToModelUpdate(z)};M.registerOnChange(y),C._registerOnDestroy(()=>{M._unregisterOnChange(y)})}(M,C),function ie(M,C){C.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&R(M,C),"submit"!==M.updateOn&&M.markAsTouched()})}(M,C),function qt(M,C){if(C.valueAccessor.setDisabledState){const y=z=>{C.valueAccessor.setDisabledState(z)};M.registerOnDisabledChange(y),C._registerOnDestroy(()=>{M._unregisterOnDisabledChange(y)})}}(M,C)}function dt(M,C,y=!0){const z=()=>{};C.valueAccessor&&(C.valueAccessor.registerOnChange(z),C.valueAccessor.registerOnTouched(z)),vn(M,C),M&&(C._invokeOnDestroyCallbacks(),M._registerOnCollectionChange(()=>{}))}function Nt(M,C){M.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(C)})}function Rn(M,C){const y=kt(M);null!==C.validator?M.setValidators(Qe(y,C.validator)):"function"==typeof y&&M.setValidators([y]);const z=ye(M);null!==C.asyncValidator?M.setAsyncValidators(Qe(z,C.asyncValidator)):"function"==typeof z&&M.setAsyncValidators([z]);const et=()=>M.updateValueAndValidity();Nt(C._rawValidators,et),Nt(C._rawAsyncValidators,et)}function vn(M,C){let y=!1;if(null!==M){if(null!==C.validator){const et=kt(M);if(Array.isArray(et)&&et.length>0){const zt=et.filter(Wn=>Wn!==C.validator);zt.length!==et.length&&(y=!0,M.setValidators(zt))}}if(null!==C.asyncValidator){const et=ye(M);if(Array.isArray(et)&&et.length>0){const zt=et.filter(Wn=>Wn!==C.asyncValidator);zt.length!==et.length&&(y=!0,M.setAsyncValidators(zt))}}}const z=()=>{};return Nt(C._rawValidators,z),Nt(C._rawAsyncValidators,z),y}function R(M,C){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function X(M,C){Rn(M,C)}function Yn(M,C){if(!M.hasOwnProperty("model"))return!1;const y=M.model;return!!y.isFirstChange()||!Object.is(C,y.currentValue)}function wn(M,C){M._syncPendingControls(),C.forEach(y=>{const z=y.control;"submit"===z.updateOn&&z._pendingChange&&(y.viewToModelUpdate(z._pendingValue),z._pendingChange=!1)})}function Lt(M,C){if(!C)return null;let y,z,et;return Array.isArray(C),C.forEach(zt=>{zt.constructor===xe?y=zt:function ei(M){return Object.getPrototypeOf(M.constructor)===re}(zt)?z=zt:et=zt}),et||z||y||null}const ti={provide:qe,useExisting:(0,o.Gpc)(()=>Nn)},Bn=(()=>Promise.resolve())();let Nn=(()=>{class M extends qe{constructor(y,z,et){super(),this.callSetDisabledState=et,this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.vpe,this.form=new xt({},ot(y),ze(z))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(y){Bn.then(()=>{const z=this._findContainer(y.path);y.control=z.registerControl(y.name,y.control),Te(y.control,y,this.callSetDisabledState),y.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(y)})}getControl(y){return this.form.get(y.path)}removeControl(y){Bn.then(()=>{const z=this._findContainer(y.path);z&&z.removeControl(y.name),this._directives.delete(y)})}addFormGroup(y){Bn.then(()=>{const z=this._findContainer(y.path),et=new xt({});X(et,y),z.registerControl(y.name,et),et.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(y){Bn.then(()=>{const z=this._findContainer(y.path);z&&z.removeControl(y.name)})}getFormGroup(y){return this.form.get(y.path)}updateModel(y,z){Bn.then(()=>{this.form.get(y.path).setValue(z)})}setValue(y){this.control.setValue(y)}onSubmit(y){return this.submitted=!0,wn(this.form,this._directives),this.ngSubmit.emit(y),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(y){return y.pop(),y.length?this.form.get(y):this.form}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(rt,10),o.Y36(tt,10),o.Y36(be,8))},M.\u0275dir=o.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(y,z){1&y&&o.NdJ("submit",function(zt){return z.onSubmit(zt)})("reset",function(){return z.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([ti]),o.qOj]}),M})();function ci(M,C){const y=M.indexOf(C);y>-1&&M.splice(y,1)}function mn(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}const li=class extends Yt{constructor(C=null,y,z){super(I(y),A(z,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oe(y)&&(y.nonNullable||y.initialValueIsDefault)&&(this.defaultValue=mn(C)?C.value:C)}setValue(C,y={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(z=>z(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(C,y={}){this.setValue(C,y)}reset(C=this.defaultValue,y={}){this._applyFormState(C),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){ci(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){ci(this._onDisabledChange,C)}_forEachChild(C){}_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(C){mn(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}},Xn={provide:mt,useExisting:(0,o.Gpc)(()=>zi)},Bi=(()=>Promise.resolve())();let zi=(()=>{class M extends mt{constructor(y,z,et,zt,Wn,st){super(),this._changeDetectorRef=Wn,this.callSetDisabledState=st,this.control=new li,this._registered=!1,this.update=new o.vpe,this._parent=y,this._setValidators(z),this._setAsyncValidators(et),this.valueAccessor=Lt(0,zt)}ngOnChanges(y){if(this._checkForErrors(),!this._registered||"name"in y){if(this._registered&&(this._checkName(),this.formDirective)){const z=y.name.previousValue;this.formDirective.removeControl({name:z,path:this._getPath(z)})}this._setUpControl()}"isDisabled"in y&&this._updateDisabled(y),Yn(y,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Te(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(y){Bi.then(()=>{this.control.setValue(y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(y){const z=y.isDisabled.currentValue,et=0!==z&&(0,o.D6c)(z);Bi.then(()=>{et&&!this.control.disabled?this.control.disable():!et&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(y){return this._parent?q(y,this._parent):[y]}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(qe,9),o.Y36(rt,10),o.Y36(tt,10),o.Y36(K,10),o.Y36(o.sBO,8),o.Y36(be,8))},M.\u0275dir=o.lG2({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([Xn]),o.qOj,o.TTD]}),M})(),kn=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275dir=o.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),M})();const mi={provide:K,useExisting:(0,o.Gpc)(()=>Er),multi:!0};let Er=(()=>{class M extends re{writeValue(y){this.setProperty("value",y??"")}registerOnChange(y){this.onChange=z=>{y(""==z?null:parseFloat(z))}}}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(y,z){1&y&&o.NdJ("input",function(zt){return z.onChange(zt.target.value)})("blur",function(){return z.onTouched()})},features:[o._Bn([mi]),o.qOj]}),M})();const _o={provide:K,useExisting:(0,o.Gpc)(()=>Gn),multi:!0};let Ei=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({}),M})(),Vi=(()=>{class M{constructor(){this._accessors=[]}add(y,z){this._accessors.push([y,z])}remove(y){for(let z=this._accessors.length-1;z>=0;--z)if(this._accessors[z][1]===y)return void this._accessors.splice(z,1)}select(y){this._accessors.forEach(z=>{this._isSameGroup(z,y)&&z[1]!==y&&z[1].fireUncheck(y.value)})}_isSameGroup(y,z){return!!y[0].control&&y[0]._parent===z._control._parent&&y[1].name===z.name}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275prov=o.Yz7({token:M,factory:M.\u0275fac,providedIn:Ei}),M})(),Gn=(()=>{class M extends re{constructor(y,z,et,zt){super(y,z),this._registry=et,this._injector=zt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(mt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(y){this._state=y===this.value,this.setProperty("checked",this._state)}registerOnChange(y){this._fn=y,this.onChange=()=>{y(this.value),this._registry.select(this)}}fireUncheck(y){this.writeValue(y)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Vi),o.Y36(o.zs3))},M.\u0275dir=o.lG2({type:M,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(y,z){1&y&&o.NdJ("change",function(){return z.onChange()})("blur",function(){return z.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o._Bn([_o]),o.qOj]}),M})();const Un=new o.OlP("NgModelWithFormControlWarning"),Or={provide:mt,useExisting:(0,o.Gpc)(()=>ki)};let ki=(()=>{class M extends mt{set isDisabled(y){}constructor(y,z,et,zt,Wn){super(),this._ngModelWarningConfig=zt,this.callSetDisabledState=Wn,this.update=new o.vpe,this._ngModelWarningSent=!1,this._setValidators(y),this._setAsyncValidators(z),this.valueAccessor=Lt(0,et)}ngOnChanges(y){if(this._isControlChanged(y)){const z=y.form.previousValue;z&&dt(z,this,!1),Te(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Yn(y,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&dt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_isControlChanged(y){return y.hasOwnProperty("form")}}return M._ngModelWarningSentOnce=!1,M.\u0275fac=function(y){return new(y||M)(o.Y36(rt,10),o.Y36(tt,10),o.Y36(K,10),o.Y36(Un,8),o.Y36(be,8))},M.\u0275dir=o.lG2({type:M,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o._Bn([Or]),o.qOj,o.TTD]}),M})();const Dr={provide:qe,useExisting:(0,o.Gpc)(()=>Fn)};let Fn=(()=>{class M extends qe{constructor(y,z,et){super(),this.callSetDisabledState=et,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(y),this._setAsyncValidators(z)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(vn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const z=this.form.get(y.path);return Te(z,y,this.callSetDisabledState),z.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),z}getControl(y){return this.form.get(y.path)}removeControl(y){dt(y.control||null,y,!1),function nn(M,C){const y=M.indexOf(C);y>-1&&M.splice(y,1)}(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,z){this.form.get(y.path).setValue(z)}onSubmit(y){return this.submitted=!0,wn(this.form,this.directives),this.ngSubmit.emit(y),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_updateDomValue(){this.directives.forEach(y=>{const z=y.control,et=this.form.get(y.path);z!==et&&(dt(z||null,y),(M=>M instanceof li)(et)&&(Te(et,y,this.callSetDisabledState),y.control=et))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const z=this.form.get(y.path);X(z,y),z.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const z=this.form.get(y.path);z&&function Ye(M,C){return vn(M,C)}(z,y)&&z.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Rn(this.form,this),this._oldForm&&vn(this._oldForm,this)}_checkFormPresent(){}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(rt,10),o.Y36(tt,10),o.Y36(be,8))},M.\u0275dir=o.lG2({type:M,selectors:[["","formGroup",""]],hostBindings:function(y,z){1&y&&o.NdJ("submit",function(zt){return z.onSubmit(zt)})("reset",function(){return z.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Dr]),o.qOj,o.TTD]}),M})();const No={provide:mt,useExisting:(0,o.Gpc)(()=>ni)};let ni=(()=>{class M extends mt{set isDisabled(y){}constructor(y,z,et,zt,Wn){super(),this._ngModelWarningConfig=Wn,this._added=!1,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=y,this._setValidators(z),this._setAsyncValidators(et),this.valueAccessor=Lt(0,zt)}ngOnChanges(y){this._added||this._setUpControl(),Yn(y,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}get path(){return q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return M._ngModelWarningSentOnce=!1,M.\u0275fac=function(y){return new(y||M)(o.Y36(qe,13),o.Y36(rt,10),o.Y36(tt,10),o.Y36(K,10),o.Y36(Un,8))},M.\u0275dir=o.lG2({type:M,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([No]),o.qOj,o.TTD]}),M})();function er(M){return"number"==typeof M?M:parseFloat(M)}let Ri=(()=>{class M{constructor(){this._validator=It}ngOnChanges(y){if(this.inputName in y){const z=this.normalizeInput(y[this.inputName].currentValue);this._enabled=this.enabled(z),this._validator=this._enabled?this.createValidator(z):It,this._onChange&&this._onChange()}}validate(y){return this._validator(y)}registerOnValidatorChange(y){this._onChange=y}enabled(y){return null!=y}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275dir=o.lG2({type:M,features:[o.TTD]}),M})();const tr={provide:rt,useExisting:(0,o.Gpc)(()=>Zr),multi:!0};let Zr=(()=>{class M extends Ri{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=y=>er(y),this.createValidator=y=>F(y)}}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(y,z){2&y&&o.uIk("max",z._enabled?z.max:null)},inputs:{max:"max"},features:[o._Bn([tr]),o.qOj]}),M})();const Nr={provide:rt,useExisting:(0,o.Gpc)(()=>nr),multi:!0};let nr=(()=>{class M extends Ri{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=y=>er(y),this.createValidator=y=>N(y)}}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(y,z){2&y&&o.uIk("min",z._enabled?z.min:null)},inputs:{min:"min"},features:[o._Bn([Nr]),o.qOj]}),M})();const Bo={provide:rt,useExisting:(0,o.Gpc)(()=>Br),multi:!0},Vo={provide:rt,useExisting:(0,o.Gpc)(()=>Eo),multi:!0};let Br=(()=>{class M extends Ri{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.D6c,this.createValidator=y=>U}enabled(y){return y}}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(y,z){2&y&&o.uIk("required",z._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([Bo]),o.qOj]}),M})(),Eo=(()=>{class M extends Br{constructor(){super(...arguments),this.createValidator=y=>ce}}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(y,z){2&y&&o.uIk("required",z._enabled?"":null)},features:[o._Bn([Vo]),o.qOj]}),M})(),dr=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({imports:[Ei]}),M})();class $i extends Yt{constructor(C,y,z){super(I(y),A(z,y)),this.controls=C,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(C){return this.controls[this._adjustIndex(C)]}push(C,y={}){this.controls.push(C),this._registerControl(C),this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}insert(C,y,z={}){this.controls.splice(C,0,y),this._registerControl(y),this.updateValueAndValidity({emitEvent:z.emitEvent})}removeAt(C,y={}){let z=this._adjustIndex(C);z<0&&(z=0),this.controls[z]&&this.controls[z]._registerOnCollectionChange(()=>{}),this.controls.splice(z,1),this.updateValueAndValidity({emitEvent:y.emitEvent})}setControl(C,y,z={}){let et=this._adjustIndex(C);et<0&&(et=0),this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),this.controls.splice(et,1),y&&(this.controls.splice(et,0,y),this._registerControl(y)),this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(C,y={}){Ot(this,0,C),C.forEach((z,et)=>{it(this,!1,et),this.at(et).setValue(z,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(C,y={}){null!=C&&(C.forEach((z,et)=>{this.at(et)&&this.at(et).patchValue(z,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(C=[],y={}){this._forEachChild((z,et)=>{z.reset(C[et],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this.controls.map(C=>C.getRawValue())}clear(C={}){this.controls.length<1||(this._forEachChild(y=>y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:C.emitEvent}))}_adjustIndex(C){return C<0?C+this.length:C}_syncPendingControls(){let C=this.controls.reduce((y,z)=>!!z._syncPendingControls()||y,!1);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){this.controls.forEach((y,z)=>{C(y,z)})}_updateValue(){this.value=this.controls.filter(C=>C.enabled||this.disabled).map(C=>C.value)}_anyControls(C){return this.controls.some(y=>y.enabled&&C(y))}_setUpControls(){this._forEachChild(C=>this._registerControl(C))}_allControlsDisabled(){for(const C of this.controls)if(C.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(C){C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)}_find(C){return this.at(C)??null}}function Mi(M){return!!M&&(void 0!==M.asyncValidators||void 0!==M.validators||void 0!==M.updateOn)}let Vr=(()=>{class M{constructor(){this.useNonNullable=!1}get nonNullable(){const y=new M;return y.useNonNullable=!0,y}group(y,z=null){const et=this._reduceControls(y);let zt={};return Mi(z)?zt=z:null!==z&&(zt.validators=z.validator,zt.asyncValidators=z.asyncValidator),new xt(et,zt)}record(y,z=null){const et=this._reduceControls(y);return new Cn(et,z)}control(y,z,et){let zt={};return this.useNonNullable?(Mi(z)?zt=z:(zt.validators=z,zt.asyncValidators=et),new li(y,{...zt,nonNullable:!0})):new li(y,z,et)}array(y,z,et){const zt=y.map(Wn=>this._createControl(Wn));return new $i(zt,z,et)}_reduceControls(y){const z={};return Object.keys(y).forEach(et=>{z[et]=this._createControl(y[et])}),z}_createControl(y){return y instanceof li||y instanceof Yt?y:Array.isArray(y)?this.control(y[0],y.length>1?y[1]:null,y.length>2?y[2]:null):this.control(y)}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275prov=o.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),on=(()=>{class M{static withConfig(y){return{ngModule:M,providers:[{provide:be,useValue:y.callSetDisabledState??Ee}]}}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({imports:[dr]}),M})(),Ur=(()=>{class M{static withConfig(y){return{ngModule:M,providers:[{provide:Un,useValue:y.warnOnNgModelWithFormControl??"always"},{provide:be,useValue:y.callSetDisabledState??Ee}]}}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({imports:[dr]}),M})()},7957:(_t,De,f)=>{"use strict";f.d(De,{Bb:()=>Ne,XC:()=>ot,ZL:()=>Ft});var o=f(4650),a=f(3238),E=f(6895),W=f(5589),Q=f(8184),G=f(2687),re=f(1281),K=f(3353),Z=f(7340),ee=f(727),he=f(7579),te=f(9770),ke=f(6451),xe=f(9646),Se=f(4968),Re=f(9521),Me=f(4080),rt=f(4006),tt=f(9549),Ge=f(8675),fe=f(3900),N=f(5698),F=f(9300),U=f(4004),ce=f(8505),Oe=f(1005),Ue=f(445);const at=["panel"];function ft(qe,mt){if(1&qe&&(o.TgZ(0,"div",0,1),o.Hsn(2),o.qZA()),2&qe){const le=mt.id,we=o.oxw();o.Q6J("id",we.id)("ngClass",we._classList)("@panelAnimation",we.isOpen?"visible":"hidden"),o.uIk("aria-label",we.ariaLabel||null)("aria-labelledby",we._getPanelAriaLabelledby(le))}}const It=["*"],St=(0,Z.X$)("panelAnimation",[(0,Z.SB)("void, hidden",(0,Z.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,Z.eR)(":enter, hidden => visible",[(0,Z.ru)([(0,Z.jt)("0.03s linear",(0,Z.oB)({opacity:1})),(0,Z.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,Z.oB)({transform:"scaleY(1)"}))])]),(0,Z.eR)(":leave, visible => hidden",[(0,Z.jt)("0.075s linear",(0,Z.oB)({opacity:0}))])]);let He=0;class Ze{constructor(mt,le){this.source=mt,this.option=le}}const nt=(0,a.Kr)(class{}),ut=new o.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function vt(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let We=(()=>{class qe extends nt{get isOpen(){return this._isOpen&&this.showPanel}_setColor(le){this._color=le,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(le){this._autoActiveFirstOption=(0,re.Ig)(le)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(le){this._autoSelectActiveOption=(0,re.Ig)(le)}set classList(le){this._classList=le&&le.length?(0,re.du)(le).reduce((we,ne)=>(we[ne]=!0,we),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(le,we,ne,Pe){super(),this._changeDetectorRef=le,this._elementRef=we,this._activeOptionChanges=ee.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new o.vpe,this.opened=new o.vpe,this.closed=new o.vpe,this.optionActivated=new o.vpe,this._classList={},this.id="mat-autocomplete-"+He++,this.inertGroups=Pe?.SAFARI||!1,this._autoActiveFirstOption=!!ne.autoActiveFirstOption,this._autoSelectActiveOption=!!ne.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new G.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(le=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[le]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(le){this.panel&&(this.panel.nativeElement.scrollTop=le)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(le){const we=new Ze(this,le);this.optionSelected.emit(we)}_getPanelAriaLabelledby(le){return this.ariaLabel?null:this.ariaLabelledby?(le?le+" ":"")+this.ariaLabelledby:le}_setVisibilityClasses(le){le[this._visibleClass]=this.showPanel,le[this._hiddenClass]=!this.showPanel}_setThemeClasses(le){le["mat-primary"]="primary"===this._color,le["mat-warn"]="warn"===this._color,le["mat-accent"]="accent"===this._color}}return qe.\u0275fac=function(le){return new(le||qe)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(ut),o.Y36(K.t4))},qe.\u0275dir=o.lG2({type:qe,viewQuery:function(le,we){if(1&le&&(o.Gf(o.Rgc,7),o.Gf(at,5)),2&le){let ne;o.iGM(ne=o.CRH())&&(we.template=ne.first),o.iGM(ne=o.CRH())&&(we.panel=ne.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[o.qOj]}),qe})(),ot=(()=>{class qe extends We{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden"}}return qe.\u0275fac=function(){let mt;return function(we){return(mt||(mt=o.n5z(qe)))(we||qe)}}(),qe.\u0275cmp=o.Xpm({type:qe,selectors:[["mat-autocomplete"]],contentQueries:function(le,we,ne){if(1&le&&(o.Suo(ne,a.K7,5),o.Suo(ne,a.ey,5)),2&le){let Pe;o.iGM(Pe=o.CRH())&&(we.optionGroups=Pe),o.iGM(Pe=o.CRH())&&(we.options=Pe)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[o._Bn([{provide:a.HF,useExisting:qe}]),o.qOj],ngContentSelectors:It,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(le,we){1&le&&(o.F$t(),o.YNc(0,ft,3,5,"ng-template"))},dependencies:[E.mk],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[St]},changeDetection:0}),qe})();const Qe={provide:rt.JU,useExisting:(0,o.Gpc)(()=>Ft),multi:!0},ye=new o.OlP("mat-autocomplete-scroll-strategy"),bt={provide:ye,deps:[Q.aV],useFactory:function Le(qe){return()=>qe.scrollStrategies.reposition()}};let Ct=(()=>{class qe{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(le){this._autocompleteDisabled=(0,re.Ig)(le)}constructor(le,we,ne,Pe,pt,de,L,se,ue,Be,ht){this._element=le,this._overlay=we,this._viewContainerRef=ne,this._zone=Pe,this._changeDetectorRef=pt,this._dir=L,this._formField=se,this._document=ue,this._viewportRuler=Be,this._defaults=ht,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=ee.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new he.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,te.P)(()=>{const ct=this.autocomplete?this.autocomplete.options:null;return ct?ct.changes.pipe((0,Ge.O)(ct),(0,fe.w)(()=>(0,ke.T)(...ct.map(Et=>Et.onSelectionChange)))):this._zone.onStable.pipe((0,N.q)(1),(0,fe.w)(()=>this.optionSelections))}),this._scrollStrategy=de}ngAfterViewInit(){const le=this._getWindow();typeof le<"u"&&this._zone.runOutsideAngular(()=>le.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(le){le.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const le=this._getWindow();typeof le<"u"&&le.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,ke.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,F.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,F.h)(()=>this._overlayAttached)):(0,xe.of)()).pipe((0,U.U)(le=>le instanceof a.rN?le:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,ke.T)((0,Se.R)(this._document,"click"),(0,Se.R)(this._document,"auxclick"),(0,Se.R)(this._document,"touchend")).pipe((0,F.h)(le=>{const we=(0,K.sA)(le),ne=this._formField?this._formField._elementRef.nativeElement:null,Pe=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&we!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ne||!ne.contains(we))&&(!Pe||!Pe.contains(we))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(we)}))}writeValue(le){Promise.resolve(null).then(()=>this._assignOptionValue(le))}registerOnChange(le){this._onChange=le}registerOnTouched(le){this._onTouched=le}setDisabledState(le){this._element.nativeElement.disabled=le}_handleKeydown(le){const we=le.keyCode,ne=(0,Re.Vb)(le);if(we===Re.hY&&!ne&&le.preventDefault(),this.activeOption&&we===Re.K5&&this.panelOpen&&!ne)this.activeOption._selectViaInteraction(),this._resetActiveItem(),le.preventDefault();else if(this.autocomplete){const Pe=this.autocomplete._keyManager.activeItem,pt=we===Re.LH||we===Re.JH;we===Re.Mf||pt&&!ne&&this.panelOpen?this.autocomplete._keyManager.onKeydown(le):pt&&this._canOpen()&&this.openPanel(),(pt||this.autocomplete._keyManager.activeItem!==Pe)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(le){let we=le.target,ne=we.value;"number"===we.type&&(ne=""==ne?null:parseFloat(ne)),this._previousValue!==ne&&(this._previousValue=ne,this._pendingAutoselectedOption=null,this._onChange(ne),this._canOpen()&&this._document.activeElement===le.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(le=!1){this._formField&&"auto"===this._formField.floatLabel&&(le?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const le=this._zone.onStable.pipe((0,N.q)(1)),we=this.autocomplete.options.changes.pipe((0,ce.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Oe.g)(0));return(0,ke.T)(le,we).pipe((0,fe.w)(()=>(this._zone.run(()=>{const ne=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),ne!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,N.q)(1)).subscribe(ne=>this._setValueAndClose(ne))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(le){const we=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(le):le;this._updateNativeInputValue(we??"")}_updateNativeInputValue(le){this._formField?this._formField._control.value=le:this._element.nativeElement.value=le,this._previousValue=le}_setValueAndClose(le){const we=le?le.source:this._pendingAutoselectedOption;we&&(this._clearPreviousSelectedOption(we),this._assignOptionValue(we.value),this._onChange(we.value),this.autocomplete._emitSelectEvent(we),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(le){this.autocomplete.options.forEach(we=>{we!==le&&we.selected&&we.deselect()})}_attachOverlay(){let le=this._overlayRef;le?(this._positionStrategy.setOrigin(this._getConnectedElement()),le.updateSize({width:this._getPanelWidth()})):(this._portal=new Me.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),le=this._overlay.create(this._getOverlayConfig()),this._overlayRef=le,this._handleOverlayEvents(le),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&le&&le.updateSize({width:this._getPanelWidth()})})),le&&!le.hasAttached()&&(le.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const we=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&we!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new Q.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const le=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(le),this._positionStrategy=le,le}_setStrategyPositions(le){const we=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ne=this._aboveClass,Pe=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ne},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ne}];let pt;pt="above"===this.position?Pe:"below"===this.position?we:[...we,...Pe],le.withPositions(pt)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const le=this.autocomplete;le.autoActiveFirstOption?le._keyManager.setFirstItemActive():le._keyManager.setActiveItem(-1)}_canOpen(){const le=this._element.nativeElement;return!le.readOnly&&!le.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(le){const we=this.autocomplete,ne=(0,a.CB)(le,we.options,we.optionGroups);if(0===le&&1===ne)we._setScrollTop(0);else if(we.panel){const Pe=we.options.toArray()[le];if(Pe){const pt=Pe._getHostElement(),de=(0,a.jH)(pt.offsetTop,pt.offsetHeight,we._getScrollTop(),we.panel.nativeElement.offsetHeight);we._setScrollTop(de)}}}_handleOverlayEvents(le){le.keydownEvents().subscribe(we=>{(we.keyCode===Re.hY&&!(0,Re.Vb)(we)||we.keyCode===Re.LH&&(0,Re.Vb)(we,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),we.stopPropagation(),we.preventDefault())}),le.outsidePointerEvents().subscribe()}}return qe.\u0275fac=function(le){return new(le||qe)(o.Y36(o.SBq),o.Y36(Q.aV),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(o.sBO),o.Y36(ye),o.Y36(Ue.Is,8),o.Y36(tt.G_,9),o.Y36(E.K0,8),o.Y36(W.rL),o.Y36(ut,8))},qe.\u0275dir=o.lG2({type:qe,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[o.TTD]}),qe})(),Ft=(()=>{class qe extends Ct{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return qe.\u0275fac=function(){let mt;return function(we){return(mt||(mt=o.n5z(qe)))(we||qe)}}(),qe.\u0275dir=o.lG2({type:qe,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(le,we){1&le&&o.NdJ("focusin",function(){return we._handleFocus()})("blur",function(){return we._onTouched()})("input",function(Pe){return we._handleInput(Pe)})("keydown",function(Pe){return we._handleKeydown(Pe)})("click",function(){return we._handleClick()}),2&le&&o.uIk("autocomplete",we.autocompleteAttribute)("role",we.autocompleteDisabled?null:"combobox")("aria-autocomplete",we.autocompleteDisabled?null:"list")("aria-activedescendant",we.panelOpen&&we.activeOption?we.activeOption.id:null)("aria-expanded",we.autocompleteDisabled?null:we.panelOpen.toString())("aria-owns",we.autocompleteDisabled||!we.panelOpen||null==we.autocomplete?null:we.autocomplete.id)("aria-haspopup",we.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[o._Bn([Qe]),o.qOj]}),qe})(),Ne=(()=>{class qe{}return qe.\u0275fac=function(le){return new(le||qe)},qe.\u0275mod=o.oAB({type:qe}),qe.\u0275inj=o.cJS({providers:[bt],imports:[Q.U8,a.Ng,a.BQ,E.ez,W.ZD,a.Ng,a.BQ]}),qe})()},4859:(_t,De,f)=>{"use strict";f.d(De,{RK:()=>nt,lW:()=>U,nh:()=>St,ot:()=>vt,zs:()=>ce});var o=f(3353),a=f(4650),E=f(2687),W=f(3238);const Q=["mat-button",""],G=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],re=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Z=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",he=["mat-mini-fab",""],ke=["mat-icon-button",""],xe=["*"],rt=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],tt=(0,W.pj)((0,W.Id)((0,W.Kr)(class{constructor(We){this._elementRef=We}})));let Ge=(()=>{class We extends tt{constructor(je,ze,Qe,kt){super(je),this._platform=ze,this._ngZone=Qe,this._animationMode=kt,this._focusMonitor=(0,a.f3M)(E.tE),this._isFab=!1;const ye=je.nativeElement.classList;for(const Le of rt)this._hasHostAttributes(Le.selector)&&Le.mdcClasses.forEach(bt=>{ye.add(bt)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(je="program",ze){je?this._focusMonitor.focusVia(this._elementRef.nativeElement,je,ze):this._elementRef.nativeElement.focus(ze)}_hasHostAttributes(...je){return je.some(ze=>this._elementRef.nativeElement.hasAttribute(ze))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return We.\u0275fac=function(je){a.$Z()},We.\u0275dir=a.lG2({type:We,viewQuery:function(je,ze){if(1&je&&a.Gf(W.wG,5),2&je){let Qe;a.iGM(Qe=a.CRH())&&(ze.ripple=Qe.first)}},features:[a.qOj]}),We})(),F=(()=>{class We extends Ge{constructor(je,ze,Qe,kt){super(je,ze,Qe,kt),this._haltDisabledEvents=ye=>{this.disabled&&(ye.preventDefault(),ye.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return We.\u0275fac=function(je){a.$Z()},We.\u0275dir=a.lG2({type:We,features:[a.qOj]}),We})(),U=(()=>{class We extends Ge{constructor(je,ze,Qe,kt){super(je,ze,Qe,kt)}}return We.\u0275fac=function(je){return new(je||We)(a.Y36(a.SBq),a.Y36(o.t4),a.Y36(a.R0b),a.Y36(a.QbO,8))},We.\u0275cmp=a.Xpm({type:We,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(je,ze){2&je&&(a.uIk("disabled",ze.disabled||null),a.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode)("mat-unthemed",!ze.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.qOj],attrs:Q,ngContentSelectors:re,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(je,ze){1&je&&(a.F$t(G),a._UZ(0,"span",0),a.Hsn(1),a.TgZ(2,"span",1),a.Hsn(3,1),a.qZA(),a.Hsn(4,2),a._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&je&&(a.ekj("mdc-button__ripple",!ze._isFab)("mdc-fab__ripple",ze._isFab),a.xp6(6),a.Q6J("matRippleDisabled",ze._isRippleDisabled())("matRippleTrigger",ze._elementRef.nativeElement))},dependencies:[W.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),We})(),ce=(()=>{class We extends F{constructor(je,ze,Qe,kt){super(je,ze,Qe,kt)}}return We.\u0275fac=function(je){return new(je||We)(a.Y36(a.SBq),a.Y36(o.t4),a.Y36(a.R0b),a.Y36(a.QbO,8))},We.\u0275cmp=a.Xpm({type:We,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(je,ze){2&je&&(a.uIk("disabled",ze.disabled||null)("tabindex",ze.disabled?-1:ze.tabIndex)("aria-disabled",ze.disabled.toString()),a.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode)("mat-unthemed",!ze.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[a.qOj],attrs:Q,ngContentSelectors:re,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(je,ze){1&je&&(a.F$t(G),a._UZ(0,"span",0),a.Hsn(1),a.TgZ(2,"span",1),a.Hsn(3,1),a.qZA(),a.Hsn(4,2),a._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&je&&(a.ekj("mdc-button__ripple",!ze._isFab)("mdc-fab__ripple",ze._isFab),a.xp6(6),a.Q6J("matRippleDisabled",ze._isRippleDisabled())("matRippleTrigger",ze._elementRef.nativeElement))},dependencies:[W.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',Z],encapsulation:2,changeDetection:0}),We})();const Oe=new a.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:Ue});function Ue(){return{color:"accent"}}const at=Ue();let St=(()=>{class We extends Ge{constructor(je,ze,Qe,kt,ye){super(je,ze,Qe,kt),this._options=ye,this._isFab=!0,this._options=this._options||at,this.color=this.defaultColor=this._options.color||at.color}}return We.\u0275fac=function(je){return new(je||We)(a.Y36(a.SBq),a.Y36(o.t4),a.Y36(a.R0b),a.Y36(a.QbO,8),a.Y36(Oe,8))},We.\u0275cmp=a.Xpm({type:We,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(je,ze){2&je&&(a.uIk("disabled",ze.disabled||null),a.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode)("mat-unthemed",!ze.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.qOj],attrs:he,ngContentSelectors:re,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(je,ze){1&je&&(a.F$t(G),a._UZ(0,"span",0),a.Hsn(1),a.TgZ(2,"span",1),a.Hsn(3,1),a.qZA(),a.Hsn(4,2),a._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&je&&(a.ekj("mdc-button__ripple",!ze._isFab)("mdc-fab__ripple",ze._isFab),a.xp6(6),a.Q6J("matRippleDisabled",ze._isRippleDisabled())("matRippleTrigger",ze._elementRef.nativeElement))},dependencies:[W.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),We})(),nt=(()=>{class We extends Ge{constructor(je,ze,Qe,kt){super(je,ze,Qe,kt)}}return We.\u0275fac=function(je){return new(je||We)(a.Y36(a.SBq),a.Y36(o.t4),a.Y36(a.R0b),a.Y36(a.QbO,8))},We.\u0275cmp=a.Xpm({type:We,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(je,ze){2&je&&(a.uIk("disabled",ze.disabled||null),a.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode)("mat-unthemed",!ze.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.qOj],attrs:ke,ngContentSelectors:xe,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(je,ze){1&je&&(a.F$t(),a._UZ(0,"span",0),a.Hsn(1),a._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&je&&(a.xp6(3),a.Q6J("matRippleDisabled",ze._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",ze._elementRef.nativeElement))},dependencies:[W.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Z],encapsulation:2,changeDetection:0}),We})(),vt=(()=>{class We{}return We.\u0275fac=function(je){return new(je||We)},We.\u0275mod=a.oAB({type:We}),We.\u0275inj=a.cJS({imports:[W.BQ,W.si,W.BQ]}),We})()},6709:(_t,De,f)=>{"use strict";f.d(De,{oG:()=>Re,p9:()=>Ge});var o=f(4650),a=f(4006),E=f(3238),W=f(1281);const Q=["input"],G=["label"],re=["*"],K=new o.OlP("mat-checkbox-default-options",{providedIn:"root",factory:Z});function Z(){return{color:"accent",clickAction:"check-indeterminate"}}const ee={provide:a.JU,useExisting:(0,o.Gpc)(()=>Re),multi:!0};class he{}let te=0;const ke=Z(),xe=(0,E.sb)((0,E.pj)((0,E.Kr)((0,E.Id)(class{constructor(fe){this._elementRef=fe}}))));let Se=(()=>{class fe extends xe{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(F){this._required=(0,W.Ig)(F)}constructor(F,U,ce,Oe,Ue,at,ft){super(U),this._changeDetectorRef=ce,this._ngZone=Oe,this._animationMode=at,this._options=ft,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new o.vpe,this.indeterminateChange=new o.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ke,this.color=this.defaultColor=this._options.color||ke.color,this.tabIndex=parseInt(Ue)||0,this.id=this._uniqueId=`${F}${++te}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(F){const U=(0,W.Ig)(F);U!=this.checked&&(this._checked=U,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(F){const U=(0,W.Ig)(F);U!==this.disabled&&(this._disabled=U,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(F){const U=F!=this._indeterminate;this._indeterminate=(0,W.Ig)(F),U&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(F){this.checked=!!F}registerOnChange(F){this._controlValueAccessorChangeFn=F}registerOnTouched(F){this._onTouched=F}setDisabledState(F){this.disabled=F}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(F){let U=this._currentCheckState,ce=this._getAnimationTargetElement();if(U!==F&&ce&&(this._currentAnimationClass&&ce.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(U,F),this._currentCheckState=F,this._currentAnimationClass.length>0)){ce.classList.add(this._currentAnimationClass);const Oe=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ce.classList.remove(Oe)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const F=this._options?.clickAction;this.disabled||"noop"===F?!this.disabled&&"noop"===F&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==F&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(F){F.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(F,U){if("NoopAnimations"===this._animationMode)return"";switch(F){case 0:if(1===U)return this._animationClasses.uncheckedToChecked;if(3==U)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===U?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===U?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===U?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(F){const U=this._inputElement;U&&(U.nativeElement.indeterminate=F)}}return fe.\u0275fac=function(F){o.$Z()},fe.\u0275dir=o.lG2({type:fe,viewQuery:function(F,U){if(1&F&&(o.Gf(Q,5),o.Gf(G,5),o.Gf(E.wG,5)),2&F){let ce;o.iGM(ce=o.CRH())&&(U._inputElement=ce.first),o.iGM(ce=o.CRH())&&(U._labelElement=ce.first),o.iGM(ce=o.CRH())&&(U.ripple=ce.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[o.qOj]}),fe})(),Re=(()=>{class fe extends Se{constructor(F,U,ce,Oe,Ue,at){super("mat-mdc-checkbox-",F,U,ce,Oe,Ue,at),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(F){const U=new he;return U.source=this,U.checked=F,U}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(F){F.target&&this._labelElement.nativeElement.contains(F.target)&&F.stopPropagation()}}return fe.\u0275fac=function(F){return new(F||fe)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.R0b),o.$8M("tabindex"),o.Y36(o.QbO,8),o.Y36(K,8))},fe.\u0275cmp=o.Xpm({type:fe,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(F,U){2&F&&(o.Ikx("id",U.id),o.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),o.ekj("_mat-animation-noopable","NoopAnimations"===U._animationMode)("mdc-checkbox--disabled",U.disabled)("mat-mdc-checkbox-disabled",U.disabled)("mat-mdc-checkbox-checked",U.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[o._Bn([ee]),o.qOj],ngContentSelectors:re,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(F,U){if(1&F&&(o.F$t(),o.TgZ(0,"div",0),o.NdJ("click",function(Oe){return U._preventBubblingFromLabel(Oe)}),o.TgZ(1,"div",1,2)(3,"div",3),o.NdJ("click",function(){return U._onInputClick()}),o.qZA(),o.TgZ(4,"input",4,5),o.NdJ("blur",function(){return U._onBlur()})("click",function(){return U._onInputClick()})("change",function(Oe){return U._onInteractionEvent(Oe)}),o.qZA(),o._UZ(6,"div",6),o.TgZ(7,"div",7),o.O4$(),o.TgZ(8,"svg",8),o._UZ(9,"path",9),o.qZA(),o.kcU(),o._UZ(10,"div",10),o.qZA(),o._UZ(11,"div",11),o.qZA(),o.TgZ(12,"label",12,13),o.Hsn(14),o.qZA()()),2&F){const ce=o.MAs(2);o.ekj("mdc-form-field--align-end","before"==U.labelPosition),o.xp6(4),o.ekj("mdc-checkbox--selected",U.checked),o.Q6J("checked",U.checked)("disabled",U.disabled)("id",U.inputId)("required",U.required)("tabIndex",U.tabIndex),o.uIk("aria-checked",U._getAriaChecked())("aria-label",U.ariaLabel||null)("aria-labelledby",U.ariaLabelledby)("aria-describedby",U.ariaDescribedby)("name",U.name)("value",U.value),o.xp6(7),o.Q6J("matRippleTrigger",ce)("matRippleDisabled",U.disableRipple||U.disabled)("matRippleCentered",!0),o.xp6(1),o.Q6J("for",U.inputId)}},dependencies:[E.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),fe})(),tt=(()=>{class fe{}return fe.\u0275fac=function(F){return new(F||fe)},fe.\u0275mod=o.oAB({type:fe}),fe.\u0275inj=o.cJS({}),fe})(),Ge=(()=>{class fe{}return fe.\u0275fac=function(F){return new(F||fe)},fe.\u0275mod=o.oAB({type:fe}),fe.\u0275inj=o.cJS({imports:[E.BQ,E.si,tt,E.BQ,tt]}),fe})()},3238:(_t,De,f)=>{"use strict";f.d(De,{rD:()=>ye,K7:()=>ve,HF:()=>Et,Y2:()=>se,BQ:()=>N,ey:()=>dn,Ng:()=>xn,rN:()=>At,wG:()=>ue,si:()=>Be,CB:()=>jt,jH:()=>_n,pj:()=>Ue,Kr:()=>at,Id:()=>Oe,FD:()=>It,sb:()=>ft});var o=f(4650),a=f(2687),E=f(445),Q=f(6895),G=f(3353),re=f(1281),K=f(7579),Z=f(9521);const te=["text"];function ke(Xe,Ae){if(1&Xe&&o._UZ(0,"mat-pseudo-checkbox",5),2&Xe){const I=o.oxw();o.Q6J("state",I.selected?"checked":"unchecked")("disabled",I.disabled)}}function xe(Xe,Ae){if(1&Xe&&(o.TgZ(0,"span",6),o._uU(1),o.qZA()),2&Xe){const I=o.oxw();o.xp6(1),o.hij("(",I.group.label,")")}}const Se=[[["mat-icon"]],"*"],Re=["mat-icon","*"],fe=new o.OlP("mat-sanity-checks",{providedIn:"root",factory:function Ge(){return!0}});let N=(()=>{class Xe{constructor(I,w,A){this._sanityChecks=w,this._document=A,this._hasDoneGlobalChecks=!1,I._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(I){return!(0,G.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[I])}}return Xe.\u0275fac=function(I){return new(I||Xe)(o.LFG(a.qm),o.LFG(fe,8),o.LFG(Q.K0))},Xe.\u0275mod=o.oAB({type:Xe}),Xe.\u0275inj=o.cJS({imports:[E.vT,E.vT]}),Xe})();function Oe(Xe){return class extends Xe{get disabled(){return this._disabled}set disabled(Ae){this._disabled=(0,re.Ig)(Ae)}constructor(...Ae){super(...Ae),this._disabled=!1}}}function Ue(Xe,Ae){return class extends Xe{get color(){return this._color}set color(I){const w=I||this.defaultColor;w!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),w&&this._elementRef.nativeElement.classList.add(`mat-${w}`),this._color=w)}constructor(...I){super(...I),this.defaultColor=Ae,this.color=Ae}}}function at(Xe){return class extends Xe{get disableRipple(){return this._disableRipple}set disableRipple(Ae){this._disableRipple=(0,re.Ig)(Ae)}constructor(...Ae){super(...Ae),this._disableRipple=!1}}}function ft(Xe,Ae=0){return class extends Xe{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(I){this._tabIndex=null!=I?(0,re.su)(I):this.defaultTabIndex}constructor(...I){super(...I),this._tabIndex=Ae,this.defaultTabIndex=Ae}}}function It(Xe){return class extends Xe{updateErrorState(){const Ae=this.errorState,J=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);J!==Ae&&(this.errorState=J,this.stateChanges.next())}constructor(...Ae){super(...Ae),this.errorState=!1}}}let ye=(()=>{class Xe{isErrorState(I,w){return!!(I&&I.invalid&&(I.touched||w&&w.submitted))}}return Xe.\u0275fac=function(I){return new(I||Xe)},Xe.\u0275prov=o.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"}),Xe})();class Ne{constructor(Ae,I,w,A=!1){this._renderer=Ae,this.element=I,this.config=w,this._animationForciblyDisabledThroughCss=A,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const qe=(0,G.i$)({passive:!0,capture:!0});class mt{constructor(){this._events=new Map,this._delegateEventHandler=Ae=>{const I=(0,G.sA)(Ae);I&&this._events.get(Ae.type)?.forEach((w,A)=>{(A===I||A.contains(I))&&w.forEach(J=>J.handleEvent(Ae))})}}addHandler(Ae,I,w,A){const J=this._events.get(I);if(J){const oe=J.get(w);oe?oe.add(A):J.set(w,new Set([A]))}else this._events.set(I,new Map([[w,new Set([A])]])),Ae.runOutsideAngular(()=>{document.addEventListener(I,this._delegateEventHandler,qe)})}removeHandler(Ae,I,w){const A=this._events.get(Ae);if(!A)return;const J=A.get(I);J&&(J.delete(w),0===J.size&&A.delete(I),0===A.size&&(this._events.delete(Ae),document.removeEventListener(Ae,this._delegateEventHandler,qe)))}}const le={enterDuration:225,exitDuration:150},ne=(0,G.i$)({passive:!0,capture:!0}),Pe=["mousedown","touchstart"],pt=["mouseup","mouseleave","touchend","touchcancel"];class de{constructor(Ae,I,w,A){this._target=Ae,this._ngZone=I,this._platform=A,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,A.isBrowser&&(this._containerElement=(0,re.fI)(w))}fadeInRipple(Ae,I,w={}){const A=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),J={...le,...w.animation};w.centered&&(Ae=A.left+A.width/2,I=A.top+A.height/2);const oe=w.radius||function L(Xe,Ae,I){const w=Math.max(Math.abs(Xe-I.left),Math.abs(Xe-I.right)),A=Math.max(Math.abs(Ae-I.top),Math.abs(Ae-I.bottom));return Math.sqrt(w*w+A*A)}(Ae,I,A),it=Ae-A.left,Ot=I-A.top,Yt=J.enterDuration,xt=document.createElement("div");xt.classList.add("mat-ripple-element"),xt.style.left=it-oe+"px",xt.style.top=Ot-oe+"px",xt.style.height=2*oe+"px",xt.style.width=2*oe+"px",null!=w.color&&(xt.style.backgroundColor=w.color),xt.style.transitionDuration=`${Yt}ms`,this._containerElement.appendChild(xt);const yn=window.getComputedStyle(xt),Cn=yn.transitionDuration,ln="none"===yn.transitionProperty||"0s"===Cn||"0s, 0s"===Cn||0===A.width&&0===A.height,be=new Ne(this,xt,w,ln);xt.style.transform="scale3d(1, 1, 1)",be.state=0,w.persistent||(this._mostRecentTransientRipple=be);let Ee=null;return!ln&&(Yt||J.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const q=()=>this._finishRippleTransition(be),Te=()=>this._destroyRipple(be);xt.addEventListener("transitionend",q),xt.addEventListener("transitioncancel",Te),Ee={onTransitionEnd:q,onTransitionCancel:Te}}),this._activeRipples.set(be,Ee),(ln||!Yt)&&this._finishRippleTransition(be),be}fadeOutRipple(Ae){if(2===Ae.state||3===Ae.state)return;const I=Ae.element,w={...le,...Ae.config.animation};I.style.transitionDuration=`${w.exitDuration}ms`,I.style.opacity="0",Ae.state=2,(Ae._animationForciblyDisabledThroughCss||!w.exitDuration)&&this._finishRippleTransition(Ae)}fadeOutAll(){this._getActiveRipples().forEach(Ae=>Ae.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ae=>{Ae.config.persistent||Ae.fadeOut()})}setupTriggerEvents(Ae){const I=(0,re.fI)(Ae);!this._platform.isBrowser||!I||I===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=I,Pe.forEach(w=>{de._eventManager.addHandler(this._ngZone,w,I,this)}))}handleEvent(Ae){"mousedown"===Ae.type?this._onMousedown(Ae):"touchstart"===Ae.type?this._onTouchStart(Ae):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{pt.forEach(I=>{this._triggerElement.addEventListener(I,this,ne)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ae){0===Ae.state?this._startFadeOutTransition(Ae):2===Ae.state&&this._destroyRipple(Ae)}_startFadeOutTransition(Ae){const I=Ae===this._mostRecentTransientRipple,{persistent:w}=Ae.config;Ae.state=1,!w&&(!I||!this._isPointerDown)&&Ae.fadeOut()}_destroyRipple(Ae){const I=this._activeRipples.get(Ae)??null;this._activeRipples.delete(Ae),this._activeRipples.size||(this._containerRect=null),Ae===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ae.state=3,null!==I&&(Ae.element.removeEventListener("transitionend",I.onTransitionEnd),Ae.element.removeEventListener("transitioncancel",I.onTransitionCancel)),Ae.element.remove()}_onMousedown(Ae){const I=(0,a.X6)(Ae),w=this._lastTouchStartEvent&&Date.now(){!Ae.config.persistent&&(1===Ae.state||Ae.config.terminateOnPointerUp&&0===Ae.state)&&Ae.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Ae=this._triggerElement;Ae&&(Pe.forEach(I=>de._eventManager.removeHandler(I,Ae,this)),this._pointerUpEventsRegistered&&pt.forEach(I=>Ae.removeEventListener(I,this,ne)))}}de._eventManager=new mt;const se=new o.OlP("mat-ripple-global-options");let ue=(()=>{class Xe{get disabled(){return this._disabled}set disabled(I){I&&this.fadeOutAllNonPersistent(),this._disabled=I,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(I){this._trigger=I,this._setupTriggerEventsIfEnabled()}constructor(I,w,A,J,oe){this._elementRef=I,this._animationMode=oe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=J||{},this._rippleRenderer=new de(this,w,I,A)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(I,w=0,A){return"number"==typeof I?this._rippleRenderer.fadeInRipple(I,w,{...this.rippleConfig,...A}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...I})}}return Xe.\u0275fac=function(I){return new(I||Xe)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(G.t4),o.Y36(se,8),o.Y36(o.QbO,8))},Xe.\u0275dir=o.lG2({type:Xe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(I,w){2&I&&o.ekj("mat-ripple-unbounded",w.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Xe})(),Be=(()=>{class Xe{}return Xe.\u0275fac=function(I){return new(I||Xe)},Xe.\u0275mod=o.oAB({type:Xe}),Xe.\u0275inj=o.cJS({imports:[N,N]}),Xe})(),ht=(()=>{class Xe{constructor(I){this._animationMode=I,this.state="unchecked",this.disabled=!1}}return Xe.\u0275fac=function(I){return new(I||Xe)(o.Y36(o.QbO,8))},Xe.\u0275cmp=o.Xpm({type:Xe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(I,w){2&I&&o.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===w.state)("mat-pseudo-checkbox-checked","checked"===w.state)("mat-pseudo-checkbox-disabled",w.disabled)("_mat-animation-noopable","NoopAnimations"===w._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(I,w){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),Xe})(),ct=(()=>{class Xe{}return Xe.\u0275fac=function(I){return new(I||Xe)},Xe.\u0275mod=o.oAB({type:Xe}),Xe.\u0275inj=o.cJS({imports:[N]}),Xe})();const Et=new o.OlP("MAT_OPTION_PARENT_COMPONENT"),ve=new o.OlP("MatOptgroup");let Fe=0;class At{constructor(Ae,I=!1){this.source=Ae,this.isUserInput=I}}let wt=(()=>{class Xe{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(I){this._disabled=(0,re.Ig)(I)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}constructor(I,w,A,J){this._element=I,this._changeDetectorRef=w,this._parent=A,this.group=J,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Fe++,this.onSelectionChange=new o.vpe,this._stateChanges=new K.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(I,w){const A=this._getHostElement();"function"==typeof A.focus&&A.focus(w)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(I){(I.keyCode===Z.K5||I.keyCode===Z.L_)&&!(0,Z.Vb)(I)&&(this._selectViaInteraction(),I.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const I=this.viewValue;I!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=I)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(I=!1){this.onSelectionChange.emit(new At(this,I))}}return Xe.\u0275fac=function(I){o.$Z()},Xe.\u0275dir=o.lG2({type:Xe,viewQuery:function(I,w){if(1&I&&o.Gf(te,7),2&I){let A;o.iGM(A=o.CRH())&&(w._text=A.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Xe})(),dn=(()=>{class Xe extends wt{constructor(I,w,A,J){super(I,w,A,J)}}return Xe.\u0275fac=function(I){return new(I||Xe)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(Et,8),o.Y36(ve,8))},Xe.\u0275cmp=o.Xpm({type:Xe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(I,w){1&I&&o.NdJ("click",function(){return w._selectViaInteraction()})("keydown",function(J){return w._handleKeydown(J)}),2&I&&(o.Ikx("id",w.id),o.uIk("tabindex",w._getTabIndex())("aria-selected",w._getAriaSelected())("aria-disabled",w.disabled.toString()),o.ekj("mdc-list-item--selected",w.selected)("mat-mdc-option-multiple",w.multiple)("mat-mdc-option-active",w.active)("mdc-list-item--disabled",w.disabled))},exportAs:["matOption"],features:[o.qOj],ngContentSelectors:Re,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(I,w){1&I&&(o.F$t(Se),o.YNc(0,ke,1,2,"mat-pseudo-checkbox",0),o.Hsn(1),o.TgZ(2,"span",1,2),o.Hsn(4,1),o.qZA(),o.YNc(5,xe,2,1,"span",3),o._UZ(6,"div",4)),2&I&&(o.Q6J("ngIf",w.multiple),o.xp6(5),o.Q6J("ngIf",w.group&&w.group._inert),o.xp6(1),o.Q6J("matRippleTrigger",w._getHostElement())("matRippleDisabled",w.disabled||w.disableRipple))},dependencies:[ue,Q.O5,ht],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),Xe})();function jt(Xe,Ae,I){if(I.length){let w=Ae.toArray(),A=I.toArray(),J=0;for(let oe=0;oeI+w?Math.max(0,Xe-w+Ae):I}let xn=(()=>{class Xe{}return Xe.\u0275fac=function(I){return new(I||Xe)},Xe.\u0275mod=o.oAB({type:Xe}),Xe.\u0275inj=o.cJS({imports:[Be,Q.ez,N,ct]}),Xe})()},5412:(_t,De,f)=>{"use strict";f.d(De,{WI:()=>Ct,uw:()=>Pe,H8:()=>ue,ZT:()=>de,xY:()=>se,Is:()=>ht,so:()=>Le,uh:()=>L});var o=f(8184),a=f(6895),E=f(4650),W=f(2687),Q=f(3353),G=f(4080),re=f(9521),K=f(7579),Z=f(9770),ee=f(9646),he=f(445),te=f(8675);function ke(me,lt){}class xe{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let Re=(()=>{class me extends G.en{constructor(j,ve,pe,Fe,At,wt,dn,jt){super(),this._elementRef=j,this._focusTrapFactory=ve,this._config=Fe,this._interactivityChecker=At,this._ngZone=wt,this._overlayRef=dn,this._focusMonitor=jt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=_n=>{this._portalOutlet.hasAttached();const xn=this._portalOutlet.attachDomPortal(_n);return this._contentAttached(),xn},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=pe}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(j){this._portalOutlet.hasAttached();const ve=this._portalOutlet.attachComponentPortal(j);return this._contentAttached(),ve}attachTemplatePortal(j){this._portalOutlet.hasAttached();const ve=this._portalOutlet.attachTemplatePortal(j);return this._contentAttached(),ve}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(j,ve){this._interactivityChecker.isFocusable(j)||(j.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const pe=()=>{j.removeEventListener("blur",pe),j.removeEventListener("mousedown",pe),j.removeAttribute("tabindex")};j.addEventListener("blur",pe),j.addEventListener("mousedown",pe)})),j.focus(ve)}_focusByCssSelector(j,ve){let pe=this._elementRef.nativeElement.querySelector(j);pe&&this._forceFocus(pe,ve)}_trapFocus(){const j=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||j.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ve=>{ve||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const j=this._config.restoreFocus;let ve=null;if("string"==typeof j?ve=this._document.querySelector(j):"boolean"==typeof j?ve=j?this._elementFocusedBeforeDialogWasOpened:null:j&&(ve=j),this._config.restoreFocus&&ve&&"function"==typeof ve.focus){const pe=(0,Q.ht)(),Fe=this._elementRef.nativeElement;(!pe||pe===this._document.body||pe===Fe||Fe.contains(pe))&&(this._focusMonitor?(this._focusMonitor.focusVia(ve,this._closeInteractionType),this._closeInteractionType=null):ve.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const j=this._elementRef.nativeElement,ve=(0,Q.ht)();return j===ve||j.contains(ve)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,Q.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return me.\u0275fac=function(j){return new(j||me)(E.Y36(E.SBq),E.Y36(W.qV),E.Y36(a.K0,8),E.Y36(xe),E.Y36(W.ic),E.Y36(E.R0b),E.Y36(o.Iu),E.Y36(W.tE))},me.\u0275cmp=E.Xpm({type:me,selectors:[["cdk-dialog-container"]],viewQuery:function(j,ve){if(1&j&&E.Gf(G.Pl,7),2&j){let pe;E.iGM(pe=E.CRH())&&(ve._portalOutlet=pe.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(j,ve){2&j&&E.uIk("id",ve._config.id||null)("role",ve._config.role)("aria-modal",ve._config.ariaModal)("aria-labelledby",ve._config.ariaLabel?null:ve._ariaLabelledBy)("aria-label",ve._config.ariaLabel)("aria-describedby",ve._config.ariaDescribedBy||null)},features:[E.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(j,ve){1&j&&E.YNc(0,ke,0,0,"ng-template",0)},dependencies:[G.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),me})();class Me{constructor(lt,j){this.overlayRef=lt,this.config=j,this.closed=new K.x,this.disableClose=j.disableClose,this.backdropClick=lt.backdropClick(),this.keydownEvents=lt.keydownEvents(),this.outsidePointerEvents=lt.outsidePointerEvents(),this.id=j.id,this.keydownEvents.subscribe(ve=>{ve.keyCode===re.hY&&!this.disableClose&&!(0,re.Vb)(ve)&&(ve.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(lt,j){if(this.containerInstance){const ve=this.closed;this.containerInstance._closeInteractionType=j?.focusOrigin||"program",this.overlayRef.dispose(),ve.next(lt),ve.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(lt="",j=""){return this.overlayRef.updateSize({width:lt,height:j}),this}addPanelClass(lt){return this.overlayRef.addPanelClass(lt),this}removePanelClass(lt){return this.overlayRef.removePanelClass(lt),this}}const rt=new E.OlP("DialogScrollStrategy"),tt=new E.OlP("DialogData"),Ge=new E.OlP("DefaultDialogConfig"),N={provide:rt,deps:[o.aV],useFactory:function fe(me){return()=>me.scrollStrategies.block()}};let F=0,U=(()=>{class me{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(j,ve,pe,Fe,At,wt){this._overlay=j,this._injector=ve,this._defaultOptions=pe,this._parentDialog=Fe,this._overlayContainer=At,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new K.x,this._afterOpenedAtThisLevel=new K.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,Z.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,te.O)(void 0))),this._scrollStrategy=wt}open(j,ve){(ve={...this._defaultOptions||new xe,...ve}).id=ve.id||"cdk-dialog-"+F++,ve.id&&this.getDialogById(ve.id);const Fe=this._getOverlayConfig(ve),At=this._overlay.create(Fe),wt=new Me(At,ve),dn=this._attachContainer(At,wt,ve);return wt.containerInstance=dn,this._attachDialogContent(j,wt,dn,ve),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(wt),wt.closed.subscribe(()=>this._removeOpenDialog(wt,!0)),this.afterOpened.next(wt),wt}closeAll(){ce(this.openDialogs,j=>j.close())}getDialogById(j){return this.openDialogs.find(ve=>ve.id===j)}ngOnDestroy(){ce(this._openDialogsAtThisLevel,j=>{!1===j.config.closeOnDestroy&&this._removeOpenDialog(j,!1)}),ce(this._openDialogsAtThisLevel,j=>j.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(j){const ve=new o.X_({positionStrategy:j.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:j.scrollStrategy||this._scrollStrategy(),panelClass:j.panelClass,hasBackdrop:j.hasBackdrop,direction:j.direction,minWidth:j.minWidth,minHeight:j.minHeight,maxWidth:j.maxWidth,maxHeight:j.maxHeight,width:j.width,height:j.height,disposeOnNavigation:j.closeOnNavigation});return j.backdropClass&&(ve.backdropClass=j.backdropClass),ve}_attachContainer(j,ve,pe){const Fe=pe.injector||pe.viewContainerRef?.injector,At=[{provide:xe,useValue:pe},{provide:Me,useValue:ve},{provide:o.Iu,useValue:j}];let wt;pe.container?"function"==typeof pe.container?wt=pe.container:(wt=pe.container.type,At.push(...pe.container.providers(pe))):wt=Re;const dn=new G.C5(wt,pe.viewContainerRef,E.zs3.create({parent:Fe||this._injector,providers:At}),pe.componentFactoryResolver);return j.attach(dn).instance}_attachDialogContent(j,ve,pe,Fe){if(j instanceof E.Rgc){const At=this._createInjector(Fe,ve,pe,void 0);let wt={$implicit:Fe.data,dialogRef:ve};Fe.templateContext&&(wt={...wt,..."function"==typeof Fe.templateContext?Fe.templateContext():Fe.templateContext}),pe.attachTemplatePortal(new G.UE(j,null,wt,At))}else{const At=this._createInjector(Fe,ve,pe,this._injector),wt=pe.attachComponentPortal(new G.C5(j,Fe.viewContainerRef,At,Fe.componentFactoryResolver));ve.componentInstance=wt.instance}}_createInjector(j,ve,pe,Fe){const At=j.injector||j.viewContainerRef?.injector,wt=[{provide:tt,useValue:j.data},{provide:Me,useValue:ve}];return j.providers&&("function"==typeof j.providers?wt.push(...j.providers(ve,j,pe)):wt.push(...j.providers)),j.direction&&(!At||!At.get(he.Is,null,{optional:!0}))&&wt.push({provide:he.Is,useValue:{value:j.direction,change:(0,ee.of)()}}),E.zs3.create({parent:At||Fe,providers:wt})}_removeOpenDialog(j,ve){const pe=this.openDialogs.indexOf(j);pe>-1&&(this.openDialogs.splice(pe,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Fe,At)=>{Fe?At.setAttribute("aria-hidden",Fe):At.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),ve&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const j=this._overlayContainer.getContainerElement();if(j.parentElement){const ve=j.parentElement.children;for(let pe=ve.length-1;pe>-1;pe--){const Fe=ve[pe];Fe!==j&&"SCRIPT"!==Fe.nodeName&&"STYLE"!==Fe.nodeName&&!Fe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Fe,Fe.getAttribute("aria-hidden")),Fe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const j=this._parentDialog;return j?j._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return me.\u0275fac=function(j){return new(j||me)(E.LFG(o.aV),E.LFG(E.zs3),E.LFG(Ge,8),E.LFG(me,12),E.LFG(o.Xj),E.LFG(rt))},me.\u0275prov=E.Yz7({token:me,factory:me.\u0275fac}),me})();function ce(me,lt){let j=me.length;for(;j--;)lt(me[j])}let Oe=(()=>{class me{}return me.\u0275fac=function(j){return new(j||me)},me.\u0275mod=E.oAB({type:me}),me.\u0275inj=E.cJS({providers:[U,N],imports:[o.U8,G.eL,W.rt,G.eL]}),me})();var Ue=f(1281),at=f(6451),ft=f(9300),It=f(5698),St=f(3238);function Ze(me,lt){}f(7340);class nt{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const ut="mdc-dialog--open",vt="mdc-dialog--opening",We="mdc-dialog--closing";let ze=(()=>{class me extends Re{constructor(j,ve,pe,Fe,At,wt,dn,jt){super(j,ve,pe,Fe,At,wt,dn,jt),this._animationStateChanged=new E.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(j){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:j})}}return me.\u0275fac=function(j){return new(j||me)(E.Y36(E.SBq),E.Y36(W.qV),E.Y36(a.K0,8),E.Y36(nt),E.Y36(W.ic),E.Y36(E.R0b),E.Y36(o.Iu),E.Y36(W.tE))},me.\u0275cmp=E.Xpm({type:me,selectors:[["ng-component"]],features:[E.qOj],decls:0,vars:0,template:function(j,ve){},encapsulation:2}),me})();const Qe="--mat-dialog-transition-duration";function kt(me){return null==me?null:"number"==typeof me?me:me.endsWith("ms")?(0,Ue.su)(me.substring(0,me.length-2)):me.endsWith("s")?1e3*(0,Ue.su)(me.substring(0,me.length-1)):"0"===me?0:null}let ye=(()=>{class me extends ze{constructor(j,ve,pe,Fe,At,wt,dn,jt,_n){super(j,ve,pe,Fe,At,wt,dn,_n),this._animationMode=jt,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?kt(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?kt(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Qe,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(vt),this._hostElement.classList.add(ut),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ut),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(ut),this._animationsEnabled?(this._hostElement.style.setProperty(Qe,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(We),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(vt),this._hostElement.classList.remove(We)}_waitForAnimationToComplete(j,ve){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(ve,j)}}return me.\u0275fac=function(j){return new(j||me)(E.Y36(E.SBq),E.Y36(W.qV),E.Y36(a.K0,8),E.Y36(nt),E.Y36(W.ic),E.Y36(E.R0b),E.Y36(o.Iu),E.Y36(E.QbO,8),E.Y36(W.tE))},me.\u0275cmp=E.Xpm({type:me,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(j,ve){2&j&&(E.Ikx("id",ve._config.id),E.uIk("aria-modal",ve._config.ariaModal)("role",ve._config.role)("aria-labelledby",ve._config.ariaLabel?null:ve._ariaLabelledBy)("aria-label",ve._config.ariaLabel)("aria-describedby",ve._config.ariaDescribedBy||null),E.ekj("_mat-animation-noopable",!ve._animationsEnabled))},features:[E.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(j,ve){1&j&&(E.TgZ(0,"div",0)(1,"div",1),E.YNc(2,Ze,0,0,"ng-template",2),E.qZA()())},dependencies:[G.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),me})();class Le{constructor(lt,j,ve){this._ref=lt,this._containerInstance=ve,this._afterOpened=new K.x,this._beforeClosed=new K.x,this._state=0,this.disableClose=j.disableClose,this.id=lt.id,ve._animationStateChanged.pipe((0,ft.h)(pe=>"opened"===pe.state),(0,It.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ve._animationStateChanged.pipe((0,ft.h)(pe=>"closed"===pe.state),(0,It.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),lt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,at.T)(this.backdropClick(),this.keydownEvents().pipe((0,ft.h)(pe=>pe.keyCode===re.hY&&!this.disableClose&&!(0,re.Vb)(pe)))).subscribe(pe=>{this.disableClose||(pe.preventDefault(),bt(this,"keydown"===pe.type?"keyboard":"mouse"))})}close(lt){this._result=lt,this._containerInstance._animationStateChanged.pipe((0,ft.h)(j=>"closing"===j.state),(0,It.q)(1)).subscribe(j=>{this._beforeClosed.next(lt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),j.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(lt){let j=this._ref.config.positionStrategy;return lt&&(lt.left||lt.right)?lt.left?j.left(lt.left):j.right(lt.right):j.centerHorizontally(),lt&&(lt.top||lt.bottom)?lt.top?j.top(lt.top):j.bottom(lt.bottom):j.centerVertically(),this._ref.updatePosition(),this}updateSize(lt="",j=""){return this._ref.updateSize(lt,j),this}addPanelClass(lt){return this._ref.addPanelClass(lt),this}removePanelClass(lt){return this._ref.removePanelClass(lt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function bt(me,lt,j){return me._closeInteractionType=lt,me.close(j)}const Ct=new E.OlP("MatMdcDialogData"),Ft=new E.OlP("mat-mdc-dialog-default-options"),Ne=new E.OlP("mat-mdc-dialog-scroll-strategy"),mt={provide:Ne,deps:[o.aV],useFactory:function qe(me){return()=>me.scrollStrategies.block()}};let we=0,ne=(()=>{class me{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const j=this._parentDialog;return j?j._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(j,ve,pe,Fe,At,wt,dn,jt,_n,xn){this._overlay=j,this._defaultOptions=pe,this._parentDialog=Fe,this._dialogRefConstructor=dn,this._dialogContainerType=jt,this._dialogDataToken=_n,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new K.x,this._afterOpenedAtThisLevel=new K.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=nt,this.afterAllClosed=(0,Z.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,te.O)(void 0))),this._scrollStrategy=wt,this._dialog=ve.get(U)}open(j,ve){let pe;(ve={...this._defaultOptions||new nt,...ve}).id=ve.id||`${this._idPrefix}${we++}`,ve.scrollStrategy=ve.scrollStrategy||this._scrollStrategy();const Fe=this._dialog.open(j,{...ve,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:ve},{provide:xe,useValue:ve}]},templateContext:()=>({dialogRef:pe}),providers:(At,wt,dn)=>(pe=new this._dialogRefConstructor(At,ve,dn),pe.updatePosition(ve?.position),[{provide:this._dialogContainerType,useValue:dn},{provide:this._dialogDataToken,useValue:wt.data},{provide:this._dialogRefConstructor,useValue:pe}])});return pe.componentInstance=Fe.componentInstance,this.openDialogs.push(pe),this.afterOpened.next(pe),pe.afterClosed().subscribe(()=>{const At=this.openDialogs.indexOf(pe);At>-1&&(this.openDialogs.splice(At,1),this.openDialogs.length||this._getAfterAllClosed().next())}),pe}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(j){return this.openDialogs.find(ve=>ve.id===j)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(j){let ve=j.length;for(;ve--;)j[ve].close()}}return me.\u0275fac=function(j){E.$Z()},me.\u0275prov=E.Yz7({token:me,factory:me.\u0275fac}),me})(),Pe=(()=>{class me extends ne{constructor(j,ve,pe,Fe,At,wt,dn,jt){super(j,ve,Fe,wt,dn,At,Le,ye,Ct,jt),this._idPrefix="mat-mdc-dialog-"}}return me.\u0275fac=function(j){return new(j||me)(E.LFG(o.aV),E.LFG(E.zs3),E.LFG(a.Ye,8),E.LFG(Ft,8),E.LFG(Ne),E.LFG(me,12),E.LFG(o.Xj),E.LFG(E.QbO,8))},me.\u0275prov=E.Yz7({token:me,factory:me.\u0275fac}),me})(),pt=0,de=(()=>{class me{constructor(j,ve,pe){this.dialogRef=j,this._elementRef=ve,this._dialog=pe,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Be(this._elementRef,this._dialog.openDialogs))}ngOnChanges(j){const ve=j._matDialogClose||j._matDialogCloseResult;ve&&(this.dialogResult=ve.currentValue)}_onButtonClick(j){bt(this.dialogRef,0===j.screenX&&0===j.screenY?"keyboard":"mouse",this.dialogResult)}}return me.\u0275fac=function(j){return new(j||me)(E.Y36(Le,8),E.Y36(E.SBq),E.Y36(Pe))},me.\u0275dir=E.lG2({type:me,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(j,ve){1&j&&E.NdJ("click",function(Fe){return ve._onButtonClick(Fe)}),2&j&&E.uIk("aria-label",ve.ariaLabel||null)("type",ve.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[E.TTD]}),me})(),L=(()=>{class me{constructor(j,ve,pe){this._dialogRef=j,this._elementRef=ve,this._dialog=pe,this.id="mat-mdc-dialog-title-"+pt++}ngOnInit(){this._dialogRef||(this._dialogRef=Be(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const j=this._dialogRef._containerInstance;j&&!j._ariaLabelledBy&&(j._ariaLabelledBy=this.id)})}}return me.\u0275fac=function(j){return new(j||me)(E.Y36(Le,8),E.Y36(E.SBq),E.Y36(Pe))},me.\u0275dir=E.lG2({type:me,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(j,ve){2&j&&E.Ikx("id",ve.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),me})(),se=(()=>{class me{}return me.\u0275fac=function(j){return new(j||me)},me.\u0275dir=E.lG2({type:me,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),me})(),ue=(()=>{class me{constructor(){this.align="start"}}return me.\u0275fac=function(j){return new(j||me)},me.\u0275dir=E.lG2({type:me,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(j,ve){2&j&&E.ekj("mat-mdc-dialog-actions-align-center","center"===ve.align)("mat-mdc-dialog-actions-align-end","end"===ve.align)},inputs:{align:"align"}}),me})();function Be(me,lt){let j=me.nativeElement.parentElement;for(;j&&!j.classList.contains("mat-mdc-dialog-container");)j=j.parentElement;return j?lt.find(ve=>ve.id===j.id):null}let ht=(()=>{class me{}return me.\u0275fac=function(j){return new(j||me)},me.\u0275mod=E.oAB({type:me}),me.\u0275inj=E.cJS({providers:[Pe,mt],imports:[Oe,o.U8,G.eL,St.BQ,St.BQ]}),me})()},9549:(_t,De,f)=>{"use strict";f.d(De,{Eo:()=>ne,G_:()=>L,KE:()=>me,bx:()=>Qe,hX:()=>vt,lN:()=>lt});var o=f(4650),a=f(445),E=f(3353),W=f(7579),Q=f(6451),G=f(2722),re=f(6895),K=f(1281),Z=f(7340),ee=f(9643),he=f(3238);const te=["matFormFieldNotchedOutline",""],ke=["*"],xe=["textField"],Se=["iconPrefixContainer"],Re=["textPrefixContainer"];function Me(j,ve){1&j&&o._UZ(0,"span",19)}function rt(j,ve){if(1&j){const pe=o.EpF();o.TgZ(0,"label",17),o.NdJ("cdkObserveContent",function(){o.CHM(pe);const At=o.oxw(2);return o.KtG(At._refreshOutlineNotchWidth())}),o.Hsn(1,1),o.YNc(2,Me,1,0,"span",18),o.qZA()}if(2&j){const pe=o.oxw(2);o.Q6J("floating",pe._shouldLabelFloat())("cdkObserveContentDisabled",!pe._hasOutline())("id",pe._labelId),o.uIk("for",pe._control.id)("aria-owns",pe._control.id),o.xp6(2),o.Q6J("ngIf",!pe.hideRequiredMarker&&pe._control.required)}}function tt(j,ve){if(1&j&&o.YNc(0,rt,3,6,"label",16),2&j){const pe=o.oxw();o.Q6J("ngIf",pe._hasFloatingLabel())}}function Ge(j,ve){1&j&&o._UZ(0,"div",20)}function fe(j,ve){}function N(j,ve){if(1&j&&o.YNc(0,fe,0,0,"ng-template",22),2&j){o.oxw(2);const pe=o.MAs(1);o.Q6J("ngTemplateOutlet",pe)}}function F(j,ve){if(1&j&&(o.TgZ(0,"div",21),o.YNc(1,N,1,1,"ng-template",9),o.qZA()),2&j){const pe=o.oxw();o.Q6J("matFormFieldNotchedOutlineOpen",pe._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",pe._labelWidth),o.xp6(1),o.Q6J("ngIf",!pe._forceDisplayInfixLabel())}}function U(j,ve){1&j&&(o.TgZ(0,"div",23,24),o.Hsn(2,2),o.qZA())}function ce(j,ve){1&j&&(o.TgZ(0,"div",25,26),o.Hsn(2,3),o.qZA())}function Oe(j,ve){}function Ue(j,ve){if(1&j&&o.YNc(0,Oe,0,0,"ng-template",22),2&j){o.oxw();const pe=o.MAs(1);o.Q6J("ngTemplateOutlet",pe)}}function at(j,ve){1&j&&(o.TgZ(0,"div",27),o.Hsn(1,4),o.qZA())}function ft(j,ve){1&j&&(o.TgZ(0,"div",28),o.Hsn(1,5),o.qZA())}function It(j,ve){1&j&&o._UZ(0,"div",29)}function St(j,ve){if(1&j&&(o.TgZ(0,"div",30),o.Hsn(1,6),o.qZA()),2&j){const pe=o.oxw();o.Q6J("@transitionMessages",pe._subscriptAnimationState)}}function He(j,ve){if(1&j&&(o.TgZ(0,"mat-hint",34),o._uU(1),o.qZA()),2&j){const pe=o.oxw(2);o.Q6J("id",pe._hintLabelId),o.xp6(1),o.Oqu(pe.hintLabel)}}function Ze(j,ve){if(1&j&&(o.TgZ(0,"div",31),o.YNc(1,He,2,2,"mat-hint",32),o.Hsn(2,7),o._UZ(3,"div",33),o.Hsn(4,8),o.qZA()),2&j){const pe=o.oxw();o.Q6J("@transitionMessages",pe._subscriptAnimationState),o.xp6(1),o.Q6J("ngIf",pe.hintLabel)}}const nt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ut=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let vt=(()=>{class j{}return j.\u0275fac=function(pe){return new(pe||j)},j.\u0275dir=o.lG2({type:j,selectors:[["mat-label"]]}),j})();const ot=new o.OlP("MatError");let ze=0,Qe=(()=>{class j{constructor(){this.align="start",this.id="mat-mdc-hint-"+ze++}}return j.\u0275fac=function(pe){return new(pe||j)},j.\u0275dir=o.lG2({type:j,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(pe,Fe){2&pe&&(o.Ikx("id",Fe.id),o.uIk("align",null),o.ekj("mat-mdc-form-field-hint-end","end"===Fe.align))},inputs:{align:"align",id:"id"}}),j})();const kt=new o.OlP("MatPrefix"),Le=new o.OlP("MatSuffix");let Ct=(()=>{class j{constructor(pe){this._elementRef=pe,this.floating=!1}getWidth(){return function Ft(j){if(null!==j.offsetParent)return j.scrollWidth;const pe=j.cloneNode(!0);pe.style.setProperty("position","absolute"),pe.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(pe);const Fe=pe.scrollWidth;return pe.remove(),Fe}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return j.\u0275fac=function(pe){return new(pe||j)(o.Y36(o.SBq))},j.\u0275dir=o.lG2({type:j,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(pe,Fe){2&pe&&o.ekj("mdc-floating-label--float-above",Fe.floating)},inputs:{floating:"floating"}}),j})();const Ne="mdc-line-ripple--active",qe="mdc-line-ripple--deactivating";let mt=(()=>{class j{constructor(pe,Fe){this._elementRef=pe,this._handleTransitionEnd=At=>{const wt=this._elementRef.nativeElement.classList,dn=wt.contains(qe);"opacity"===At.propertyName&&dn&&wt.remove(Ne,qe)},Fe.runOutsideAngular(()=>{pe.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const pe=this._elementRef.nativeElement.classList;pe.remove(qe),pe.add(Ne)}deactivate(){this._elementRef.nativeElement.classList.add(qe)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return j.\u0275fac=function(pe){return new(pe||j)(o.Y36(o.SBq),o.Y36(o.R0b))},j.\u0275dir=o.lG2({type:j,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),j})(),le=(()=>{class j{constructor(pe,Fe){this._elementRef=pe,this._ngZone=Fe,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const pe=this._elementRef.nativeElement.querySelector(".mdc-floating-label");pe?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(pe.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>pe.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return j.\u0275fac=function(pe){return new(pe||j)(o.Y36(o.SBq),o.Y36(o.R0b))},j.\u0275cmp=o.Xpm({type:j,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(pe,Fe){2&pe&&o.ekj("mdc-notched-outline--notched",Fe.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:te,ngContentSelectors:ke,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(pe,Fe){1&pe&&(o.F$t(),o._UZ(0,"div",0),o.TgZ(1,"div",1),o.Hsn(2),o.qZA(),o._UZ(3,"div",2)),2&pe&&(o.xp6(1),o.Udp("width",Fe._getNotchWidth()))},encapsulation:2,changeDetection:0}),j})();const we={transitionMessages:(0,Z.X$)("transitionMessages",[(0,Z.SB)("enter",(0,Z.oB)({opacity:1,transform:"translateY(0%)"})),(0,Z.eR)("void => enter",[(0,Z.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Z.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ne=(()=>{class j{}return j.\u0275fac=function(pe){return new(pe||j)},j.\u0275dir=o.lG2({type:j}),j})();const L=new o.OlP("MatFormField"),se=new o.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let ue=0,me=(()=>{class j{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(pe){this._hideRequiredMarker=(0,K.Ig)(pe)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(pe){pe!==this._floatLabel&&(this._floatLabel=pe,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(pe){const Fe=this._appearance;this._appearance=pe||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Fe&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(pe){this._subscriptSizing=pe||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(pe){this._hintLabel=pe,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(pe){this._explicitFormFieldControl=pe}constructor(pe,Fe,At,wt,dn,jt,_n,xn){this._elementRef=pe,this._changeDetectorRef=Fe,this._ngZone=At,this._dir=wt,this._platform=dn,this._defaults=jt,this._animationMode=_n,this._document=xn,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+ue++,this._hintLabelId="mat-mdc-hint-"+ue++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new W.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,jt&&(jt.appearance&&(this.appearance=jt.appearance),this._hideRequiredMarker=Boolean(jt?.hideRequiredMarker),jt.color&&(this.color=jt.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const pe=this._control;pe.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${pe.controlType}`),pe.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),pe.ngControl&&pe.ngControl.valueChanges&&pe.ngControl.valueChanges.pipe((0,G.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(pe=>!pe._isText),this._hasTextPrefix=!!this._prefixChildren.find(pe=>pe._isText),this._hasIconSuffix=!!this._suffixChildren.find(pe=>!pe._isText),this._hasTextSuffix=!!this._suffixChildren.find(pe=>pe._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Q.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,G.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,G.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(pe){const Fe=this._control?this._control.ngControl:null;return Fe&&Fe[pe]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let pe=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&pe.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Fe=this._hintChildren?this._hintChildren.find(wt=>"start"===wt.align):null,At=this._hintChildren?this._hintChildren.find(wt=>"end"===wt.align):null;Fe?pe.push(Fe.id):this._hintLabel&&pe.push(this._hintLabelId),At&&pe.push(At.id)}else this._errorChildren&&pe.push(...this._errorChildren.map(Fe=>Fe.id));this._control.setDescribedByIds(pe)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const pe=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(pe.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Fe=this._iconPrefixContainer?.nativeElement,At=this._textPrefixContainer?.nativeElement,wt=Fe?.getBoundingClientRect().width??0,dn=At?.getBoundingClientRect().width??0;pe.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${wt+dn}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const pe=this._elementRef.nativeElement;if(pe.getRootNode){const Fe=pe.getRootNode();return Fe&&Fe!==pe}return document.documentElement.contains(pe)}}return j.\u0275fac=function(pe){return new(pe||j)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(a.Is),o.Y36(E.t4),o.Y36(se,8),o.Y36(o.QbO,8),o.Y36(re.K0))},j.\u0275cmp=o.Xpm({type:j,selectors:[["mat-form-field"]],contentQueries:function(pe,Fe,At){if(1&pe&&(o.Suo(At,vt,5),o.Suo(At,vt,7),o.Suo(At,ne,5),o.Suo(At,kt,5),o.Suo(At,Le,5),o.Suo(At,ot,5),o.Suo(At,Qe,5)),2&pe){let wt;o.iGM(wt=o.CRH())&&(Fe._labelChildNonStatic=wt.first),o.iGM(wt=o.CRH())&&(Fe._labelChildStatic=wt.first),o.iGM(wt=o.CRH())&&(Fe._formFieldControl=wt.first),o.iGM(wt=o.CRH())&&(Fe._prefixChildren=wt),o.iGM(wt=o.CRH())&&(Fe._suffixChildren=wt),o.iGM(wt=o.CRH())&&(Fe._errorChildren=wt),o.iGM(wt=o.CRH())&&(Fe._hintChildren=wt)}},viewQuery:function(pe,Fe){if(1&pe&&(o.Gf(xe,5),o.Gf(Se,5),o.Gf(Re,5),o.Gf(Ct,5),o.Gf(le,5),o.Gf(mt,5)),2&pe){let At;o.iGM(At=o.CRH())&&(Fe._textField=At.first),o.iGM(At=o.CRH())&&(Fe._iconPrefixContainer=At.first),o.iGM(At=o.CRH())&&(Fe._textPrefixContainer=At.first),o.iGM(At=o.CRH())&&(Fe._floatingLabel=At.first),o.iGM(At=o.CRH())&&(Fe._notchedOutline=At.first),o.iGM(At=o.CRH())&&(Fe._lineRipple=At.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(pe,Fe){2&pe&&o.ekj("mat-mdc-form-field-label-always-float",Fe._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Fe._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Fe._hasIconSuffix)("mat-form-field-invalid",Fe._control.errorState)("mat-form-field-disabled",Fe._control.disabled)("mat-form-field-autofilled",Fe._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Fe._animationMode)("mat-form-field-appearance-fill","fill"==Fe.appearance)("mat-form-field-appearance-outline","outline"==Fe.appearance)("mat-form-field-hide-placeholder",Fe._hasFloatingLabel()&&!Fe._shouldLabelFloat())("mat-focused",Fe._control.focused)("mat-primary","accent"!==Fe.color&&"warn"!==Fe.color)("mat-accent","accent"===Fe.color)("mat-warn","warn"===Fe.color)("ng-untouched",Fe._shouldForward("untouched"))("ng-touched",Fe._shouldForward("touched"))("ng-pristine",Fe._shouldForward("pristine"))("ng-dirty",Fe._shouldForward("dirty"))("ng-valid",Fe._shouldForward("valid"))("ng-invalid",Fe._shouldForward("invalid"))("ng-pending",Fe._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[o._Bn([{provide:L,useExisting:j}])],ngContentSelectors:ut,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(pe,Fe){1&pe&&(o.F$t(nt),o.YNc(0,tt,1,1,"ng-template",null,0,o.W1O),o.TgZ(2,"div",1,2),o.NdJ("click",function(wt){return Fe._control.onContainerClick&&Fe._control.onContainerClick(wt)}),o.YNc(4,Ge,1,0,"div",3),o.TgZ(5,"div",4),o.YNc(6,F,2,3,"div",5),o.YNc(7,U,3,0,"div",6),o.YNc(8,ce,3,0,"div",7),o.TgZ(9,"div",8),o.YNc(10,Ue,1,1,"ng-template",9),o.Hsn(11),o.qZA(),o.YNc(12,at,2,0,"div",10),o.YNc(13,ft,2,0,"div",11),o.qZA(),o.YNc(14,It,1,0,"div",12),o.qZA(),o.TgZ(15,"div",13),o.YNc(16,St,2,1,"div",14),o.YNc(17,Ze,5,2,"div",15),o.qZA()),2&pe&&(o.xp6(2),o.ekj("mdc-text-field--filled",!Fe._hasOutline())("mdc-text-field--outlined",Fe._hasOutline())("mdc-text-field--no-label",!Fe._hasFloatingLabel())("mdc-text-field--disabled",Fe._control.disabled)("mdc-text-field--invalid",Fe._control.errorState),o.xp6(2),o.Q6J("ngIf",!Fe._hasOutline()&&!Fe._control.disabled),o.xp6(2),o.Q6J("ngIf",Fe._hasOutline()),o.xp6(1),o.Q6J("ngIf",Fe._hasIconPrefix),o.xp6(1),o.Q6J("ngIf",Fe._hasTextPrefix),o.xp6(2),o.Q6J("ngIf",!Fe._hasOutline()||Fe._forceDisplayInfixLabel()),o.xp6(2),o.Q6J("ngIf",Fe._hasTextSuffix),o.xp6(1),o.Q6J("ngIf",Fe._hasIconSuffix),o.xp6(1),o.Q6J("ngIf",!Fe._hasOutline()),o.xp6(1),o.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Fe.subscriptSizing),o.Q6J("ngSwitch",Fe._getDisplayedMessages()),o.xp6(1),o.Q6J("ngSwitchCase","error"),o.xp6(1),o.Q6J("ngSwitchCase","hint"))},dependencies:[re.O5,re.tP,re.RF,re.n9,ee.wD,Qe,Ct,le,mt],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[we.transitionMessages]},changeDetection:0}),j})(),lt=(()=>{class j{}return j.\u0275fac=function(pe){return new(pe||j)},j.\u0275mod=o.oAB({type:j}),j.\u0275inj=o.cJS({imports:[he.BQ,re.ez,ee.Q8,he.BQ]}),j})()},7392:(_t,De,f)=>{"use strict";f.d(De,{Hw:()=>je,Ps:()=>ze});var o=f(4650),a=f(3238),E=f(1281),W=f(6895),Q=f(9646),G=f(2843),re=f(4128),K=f(727),Z=f(8505),ee=f(4004),he=f(262),te=f(8746),ke=f(3099),xe=f(5698),Se=f(529),Re=f(1481);const Me=["*"];let rt;function Ge(Qe){return function tt(){if(void 0===rt&&(rt=null,typeof window<"u")){const Qe=window;void 0!==Qe.trustedTypes&&(rt=Qe.trustedTypes.createPolicy("angular#components",{createHTML:kt=>kt}))}return rt}()?.createHTML(Qe)||Qe}function fe(Qe){return Error(`Unable to find icon with the name "${Qe}"`)}function F(Qe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Qe}".`)}function U(Qe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Qe}".`)}class ce{constructor(kt,ye,Le){this.url=kt,this.svgText=ye,this.options=Le}}let Oe=(()=>{class Qe{constructor(ye,Le,bt,Ct){this._httpClient=ye,this._sanitizer=Le,this._errorHandler=Ct,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=bt}addSvgIcon(ye,Le,bt){return this.addSvgIconInNamespace("",ye,Le,bt)}addSvgIconLiteral(ye,Le,bt){return this.addSvgIconLiteralInNamespace("",ye,Le,bt)}addSvgIconInNamespace(ye,Le,bt,Ct){return this._addSvgIconConfig(ye,Le,new ce(bt,null,Ct))}addSvgIconResolver(ye){return this._resolvers.push(ye),this}addSvgIconLiteralInNamespace(ye,Le,bt,Ct){const Ft=this._sanitizer.sanitize(o.q3G.HTML,bt);if(!Ft)throw U(bt);const Ne=Ge(Ft);return this._addSvgIconConfig(ye,Le,new ce("",Ne,Ct))}addSvgIconSet(ye,Le){return this.addSvgIconSetInNamespace("",ye,Le)}addSvgIconSetLiteral(ye,Le){return this.addSvgIconSetLiteralInNamespace("",ye,Le)}addSvgIconSetInNamespace(ye,Le,bt){return this._addSvgIconSetConfig(ye,new ce(Le,null,bt))}addSvgIconSetLiteralInNamespace(ye,Le,bt){const Ct=this._sanitizer.sanitize(o.q3G.HTML,Le);if(!Ct)throw U(Le);const Ft=Ge(Ct);return this._addSvgIconSetConfig(ye,new ce("",Ft,bt))}registerFontClassAlias(ye,Le=ye){return this._fontCssClassesByAlias.set(ye,Le),this}classNameForFontAlias(ye){return this._fontCssClassesByAlias.get(ye)||ye}setDefaultFontSetClass(...ye){return this._defaultFontSetClass=ye,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ye){const Le=this._sanitizer.sanitize(o.q3G.RESOURCE_URL,ye);if(!Le)throw F(ye);const bt=this._cachedIconsByUrl.get(Le);return bt?(0,Q.of)(ft(bt)):this._loadSvgIconFromConfig(new ce(ye,null)).pipe((0,Z.b)(Ct=>this._cachedIconsByUrl.set(Le,Ct)),(0,ee.U)(Ct=>ft(Ct)))}getNamedSvgIcon(ye,Le=""){const bt=It(Le,ye);let Ct=this._svgIconConfigs.get(bt);if(Ct)return this._getSvgFromConfig(Ct);if(Ct=this._getIconConfigFromResolvers(Le,ye),Ct)return this._svgIconConfigs.set(bt,Ct),this._getSvgFromConfig(Ct);const Ft=this._iconSetConfigs.get(Le);return Ft?this._getSvgFromIconSetConfigs(ye,Ft):(0,G._)(fe(bt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ye){return ye.svgText?(0,Q.of)(ft(this._svgElementFromConfig(ye))):this._loadSvgIconFromConfig(ye).pipe((0,ee.U)(Le=>ft(Le)))}_getSvgFromIconSetConfigs(ye,Le){const bt=this._extractIconWithNameFromAnySet(ye,Le);if(bt)return(0,Q.of)(bt);const Ct=Le.filter(Ft=>!Ft.svgText).map(Ft=>this._loadSvgIconSetFromConfig(Ft).pipe((0,he.K)(Ne=>{const mt=`Loading icon set URL: ${this._sanitizer.sanitize(o.q3G.RESOURCE_URL,Ft.url)} failed: ${Ne.message}`;return this._errorHandler.handleError(new Error(mt)),(0,Q.of)(null)})));return(0,re.D)(Ct).pipe((0,ee.U)(()=>{const Ft=this._extractIconWithNameFromAnySet(ye,Le);if(!Ft)throw fe(ye);return Ft}))}_extractIconWithNameFromAnySet(ye,Le){for(let bt=Le.length-1;bt>=0;bt--){const Ct=Le[bt];if(Ct.svgText&&Ct.svgText.toString().indexOf(ye)>-1){const Ft=this._svgElementFromConfig(Ct),Ne=this._extractSvgIconFromSet(Ft,ye,Ct.options);if(Ne)return Ne}}return null}_loadSvgIconFromConfig(ye){return this._fetchIcon(ye).pipe((0,Z.b)(Le=>ye.svgText=Le),(0,ee.U)(()=>this._svgElementFromConfig(ye)))}_loadSvgIconSetFromConfig(ye){return ye.svgText?(0,Q.of)(null):this._fetchIcon(ye).pipe((0,Z.b)(Le=>ye.svgText=Le))}_extractSvgIconFromSet(ye,Le,bt){const Ct=ye.querySelector(`[id="${Le}"]`);if(!Ct)return null;const Ft=Ct.cloneNode(!0);if(Ft.removeAttribute("id"),"svg"===Ft.nodeName.toLowerCase())return this._setSvgAttributes(Ft,bt);if("symbol"===Ft.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ft),bt);const Ne=this._svgElementFromString(Ge(""));return Ne.appendChild(Ft),this._setSvgAttributes(Ne,bt)}_svgElementFromString(ye){const Le=this._document.createElement("DIV");Le.innerHTML=ye;const bt=Le.querySelector("svg");if(!bt)throw Error(" tag not found");return bt}_toSvgElement(ye){const Le=this._svgElementFromString(Ge("")),bt=ye.attributes;for(let Ct=0;CtGe(mt)),(0,te.x)(()=>this._inProgressUrlFetches.delete(Ft)),(0,ke.B)());return this._inProgressUrlFetches.set(Ft,qe),qe}_addSvgIconConfig(ye,Le,bt){return this._svgIconConfigs.set(It(ye,Le),bt),this}_addSvgIconSetConfig(ye,Le){const bt=this._iconSetConfigs.get(ye);return bt?bt.push(Le):this._iconSetConfigs.set(ye,[Le]),this}_svgElementFromConfig(ye){if(!ye.svgElement){const Le=this._svgElementFromString(ye.svgText);this._setSvgAttributes(Le,ye.options),ye.svgElement=Le}return ye.svgElement}_getIconConfigFromResolvers(ye,Le){for(let bt=0;btkt?kt.pathname+kt.search:""}}}),vt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],We=vt.map(Qe=>`[${Qe}]`).join(", "),ot=/^url\(['"]?#(.*?)['"]?\)$/;let je=(()=>{class Qe extends He{get inline(){return this._inline}set inline(ye){this._inline=(0,E.Ig)(ye)}get svgIcon(){return this._svgIcon}set svgIcon(ye){ye!==this._svgIcon&&(ye?this._updateSvgIcon(ye):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ye)}get fontSet(){return this._fontSet}set fontSet(ye){const Le=this._cleanupFontValue(ye);Le!==this._fontSet&&(this._fontSet=Le,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ye){const Le=this._cleanupFontValue(ye);Le!==this._fontIcon&&(this._fontIcon=Le,this._updateFontIconClasses())}constructor(ye,Le,bt,Ct,Ft,Ne){super(ye),this._iconRegistry=Le,this._location=Ct,this._errorHandler=Ft,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=K.w0.EMPTY,Ne&&(Ne.color&&(this.color=this.defaultColor=Ne.color),Ne.fontSet&&(this.fontSet=Ne.fontSet)),bt||ye.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(ye){if(!ye)return["",""];const Le=ye.split(":");switch(Le.length){case 1:return["",Le[0]];case 2:return Le;default:throw Error(`Invalid icon name: "${ye}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ye=this._elementsWithExternalReferences;if(ye&&ye.size){const Le=this._location.getPathname();Le!==this._previousPath&&(this._previousPath=Le,this._prependPathToReferences(Le))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ye){this._clearSvgElement();const Le=this._location.getPathname();this._previousPath=Le,this._cacheChildrenWithExternalReferences(ye),this._prependPathToReferences(Le),this._elementRef.nativeElement.appendChild(ye)}_clearSvgElement(){const ye=this._elementRef.nativeElement;let Le=ye.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Le--;){const bt=ye.childNodes[Le];(1!==bt.nodeType||"svg"===bt.nodeName.toLowerCase())&&bt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ye=this._elementRef.nativeElement,Le=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(bt=>bt.length>0);this._previousFontSetClass.forEach(bt=>ye.classList.remove(bt)),Le.forEach(bt=>ye.classList.add(bt)),this._previousFontSetClass=Le,this.fontIcon!==this._previousFontIconClass&&!Le.includes("mat-ligature-font")&&(this._previousFontIconClass&&ye.classList.remove(this._previousFontIconClass),this.fontIcon&&ye.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ye){return"string"==typeof ye?ye.trim().split(" ")[0]:ye}_prependPathToReferences(ye){const Le=this._elementsWithExternalReferences;Le&&Le.forEach((bt,Ct)=>{bt.forEach(Ft=>{Ct.setAttribute(Ft.name,`url('${ye}#${Ft.value}')`)})})}_cacheChildrenWithExternalReferences(ye){const Le=ye.querySelectorAll(We),bt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ct=0;Ct{const Ne=Le[Ct],qe=Ne.getAttribute(Ft),mt=qe?qe.match(ot):null;if(mt){let le=bt.get(Ne);le||(le=[],bt.set(Ne,le)),le.push({name:Ft,value:mt[1]})}})}_updateSvgIcon(ye){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ye){const[Le,bt]=this._splitIconName(ye);Le&&(this._svgNamespace=Le),bt&&(this._svgName=bt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(bt,Le).pipe((0,xe.q)(1)).subscribe(Ct=>this._setSvgElement(Ct),Ct=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Le}:${bt}! ${Ct.message}`))})}}}return Qe.\u0275fac=function(ye){return new(ye||Qe)(o.Y36(o.SBq),o.Y36(Oe),o.$8M("aria-hidden"),o.Y36(nt),o.Y36(o.qLn),o.Y36(Ze,8))},Qe.\u0275cmp=o.Xpm({type:Qe,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(ye,Le){2&ye&&(o.uIk("data-mat-icon-type",Le._usingFontIcon()?"font":"svg")("data-mat-icon-name",Le._svgName||Le.fontIcon)("data-mat-icon-namespace",Le._svgNamespace||Le.fontSet)("fontIcon",Le._usingFontIcon()?Le.fontIcon:null),o.ekj("mat-icon-inline",Le.inline)("mat-icon-no-color","primary"!==Le.color&&"accent"!==Le.color&&"warn"!==Le.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[o.qOj],ngContentSelectors:Me,decls:1,vars:0,template:function(ye,Le){1&ye&&(o.F$t(),o.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),Qe})(),ze=(()=>{class Qe{}return Qe.\u0275fac=function(ye){return new(ye||Qe)},Qe.\u0275mod=o.oAB({type:Qe}),Qe.\u0275inj=o.cJS({imports:[a.BQ,a.BQ]}),Qe})()},4144:(_t,De,f)=>{"use strict";f.d(De,{Nt:()=>tt,c:()=>Ge});var o=f(1281),a=f(3353),E=f(4650),W=f(515),Q=f(7579);const G=(0,a.i$)({passive:!0});let re=(()=>{class fe{constructor(F,U){this._platform=F,this._ngZone=U,this._monitoredElements=new Map}monitor(F){if(!this._platform.isBrowser)return W.E;const U=(0,o.fI)(F),ce=this._monitoredElements.get(U);if(ce)return ce.subject;const Oe=new Q.x,Ue="cdk-text-field-autofilled",at=ft=>{"cdk-text-field-autofill-start"!==ft.animationName||U.classList.contains(Ue)?"cdk-text-field-autofill-end"===ft.animationName&&U.classList.contains(Ue)&&(U.classList.remove(Ue),this._ngZone.run(()=>Oe.next({target:ft.target,isAutofilled:!1}))):(U.classList.add(Ue),this._ngZone.run(()=>Oe.next({target:ft.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{U.addEventListener("animationstart",at,G),U.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(U,{subject:Oe,unlisten:()=>{U.removeEventListener("animationstart",at,G)}}),Oe}stopMonitoring(F){const U=(0,o.fI)(F),ce=this._monitoredElements.get(U);ce&&(ce.unlisten(),ce.subject.complete(),U.classList.remove("cdk-text-field-autofill-monitored"),U.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(U))}ngOnDestroy(){this._monitoredElements.forEach((F,U)=>this.stopMonitoring(U))}}return fe.\u0275fac=function(F){return new(F||fe)(E.LFG(a.t4),E.LFG(E.R0b))},fe.\u0275prov=E.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),ee=(()=>{class fe{}return fe.\u0275fac=function(F){return new(F||fe)},fe.\u0275mod=E.oAB({type:fe}),fe.\u0275inj=E.cJS({}),fe})();var he=f(4006),te=f(3238),ke=f(9549);const Se=new E.OlP("MAT_INPUT_VALUE_ACCESSOR"),Re=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Me=0;const rt=(0,te.FD)(class{constructor(fe,N,F,U){this._defaultErrorStateMatcher=fe,this._parentForm=N,this._parentFormGroup=F,this.ngControl=U,this.stateChanges=new Q.x}});let tt=(()=>{class fe extends rt{get disabled(){return this._disabled}set disabled(F){this._disabled=(0,o.Ig)(F),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(F){this._id=F||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(he.kI.required)??!1}set required(F){this._required=(0,o.Ig)(F)}get type(){return this._type}set type(F){this._type=F||"text",this._validateType(),!this._isTextarea&&(0,a.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(F){F!==this.value&&(this._inputValueAccessor.value=F,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(F){this._readonly=(0,o.Ig)(F)}constructor(F,U,ce,Oe,Ue,at,ft,It,St,He){super(at,Oe,Ue,ce),this._elementRef=F,this._platform=U,this._autofillMonitor=It,this._formField=He,this._uid="mat-input-"+Me++,this.focused=!1,this.stateChanges=new Q.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(ut=>(0,a.qK)().has(ut)),this._iOSKeyupListener=ut=>{const vt=ut.target;!vt.value&&0===vt.selectionStart&&0===vt.selectionEnd&&(vt.setSelectionRange(1,1),vt.setSelectionRange(0,0))};const Ze=this._elementRef.nativeElement,nt=Ze.nodeName.toLowerCase();this._inputValueAccessor=ft||Ze,this._previousNativeValue=this.value,this.id=this.id,U.IOS&&St.runOutsideAngular(()=>{F.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===nt,this._isTextarea="textarea"===nt,this._isInFormField=!!He,this._isNativeSelect&&(this.controlType=Ze.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(F=>{this.autofilled=F.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(F){this._elementRef.nativeElement.focus(F)}_focusChanged(F){F!==this.focused&&(this.focused=F,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const F=this._elementRef.nativeElement.value;this._previousNativeValue!==F&&(this._previousNativeValue=F,this.stateChanges.next())}_dirtyCheckPlaceholder(){const F=this._getPlaceholder();if(F!==this._previousPlaceholder){const U=this._elementRef.nativeElement;this._previousPlaceholder=F,F?U.setAttribute("placeholder",F):U.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Re.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let F=this._elementRef.nativeElement.validity;return F&&F.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const F=this._elementRef.nativeElement,U=F.options[0];return this.focused||F.multiple||!this.empty||!!(F.selectedIndex>-1&&U&&U.label)}return this.focused||!this.empty}setDescribedByIds(F){F.length?this._elementRef.nativeElement.setAttribute("aria-describedby",F.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const F=this._elementRef.nativeElement;return this._isNativeSelect&&(F.multiple||F.size>1)}}return fe.\u0275fac=function(F){return new(F||fe)(E.Y36(E.SBq),E.Y36(a.t4),E.Y36(he.a5,10),E.Y36(he.F,8),E.Y36(he.sg,8),E.Y36(te.rD),E.Y36(Se,10),E.Y36(re),E.Y36(E.R0b),E.Y36(ke.G_,8))},fe.\u0275dir=E.lG2({type:fe,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(F,U){1&F&&E.NdJ("focus",function(){return U._focusChanged(!0)})("blur",function(){return U._focusChanged(!1)})("input",function(){return U._onInput()}),2&F&&(E.Ikx("id",U.id)("disabled",U.disabled)("required",U.required),E.uIk("name",U.name||null)("readonly",U.readonly&&!U._isNativeSelect||null)("aria-invalid",U.empty&&U.required?null:U.errorState)("aria-required",U.required)("id",U.id),E.ekj("mat-input-server",U._isServer)("mat-mdc-form-field-textarea-control",U._isInFormField&&U._isTextarea)("mat-mdc-form-field-input-control",U._isInFormField)("mdc-text-field__input",U._isInFormField)("mat-mdc-native-select-inline",U._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[E._Bn([{provide:ke.Eo,useExisting:fe}]),E.qOj,E.TTD]}),fe})(),Ge=(()=>{class fe{}return fe.\u0275fac=function(F){return new(F||fe)},fe.\u0275mod=E.oAB({type:fe}),fe.\u0275inj=E.cJS({imports:[te.BQ,ke.lN,ke.lN,ee,te.BQ]}),fe})()},455:(_t,De,f)=>{"use strict";f.d(De,{Rr:()=>Se,rP:()=>tt});var o=f(4650),a=f(4006),E=f(2687),W=f(3238),Q=f(1281),G=f(6895);const re=["switch"],K=["*"],Z=new o.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),ee={provide:a.JU,useExisting:(0,o.Gpc)(()=>Se),multi:!0};class he{constructor(fe,N){this.source=fe,this.checked=N}}let te=0;const ke=(0,W.sb)((0,W.pj)((0,W.Kr)((0,W.Id)(class{constructor(Ge){this._elementRef=Ge}}))));let xe=(()=>{class Ge extends ke{get required(){return this._required}set required(N){this._required=(0,Q.Ig)(N)}get checked(){return this._checked}set checked(N){this._checked=(0,Q.Ig)(N),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(N,F,U,ce,Oe,Ue,at){super(N),this._focusMonitor=F,this._changeDetectorRef=U,this.defaults=Oe,this._onChange=ft=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new o.vpe,this.toggleChange=new o.vpe,this.tabIndex=parseInt(ce)||0,this.color=this.defaultColor=Oe.color||"accent",this._noopAnimations="NoopAnimations"===Ue,this.id=this._uniqueId=`${at}${++te}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(N=>{"keyboard"===N||"program"===N?(this._focused=!0,this._changeDetectorRef.markForCheck()):N||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(N){this.checked=!!N}registerOnChange(N){this._onChange=N}registerOnTouched(N){this._onTouched=N}setDisabledState(N){this.disabled=N,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return Ge.\u0275fac=function(N){o.$Z()},Ge.\u0275dir=o.lG2({type:Ge,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[o.qOj]}),Ge})(),Se=(()=>{class Ge extends xe{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(N,F,U,ce,Oe,Ue){super(N,F,U,ce,Oe,Ue,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new he(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(N){return new he(this,N)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return Ge.\u0275fac=function(N){return new(N||Ge)(o.Y36(o.SBq),o.Y36(E.tE),o.Y36(o.sBO),o.$8M("tabindex"),o.Y36(Z),o.Y36(o.QbO,8))},Ge.\u0275cmp=o.Xpm({type:Ge,selectors:[["mat-slide-toggle"]],viewQuery:function(N,F){if(1&N&&o.Gf(re,5),2&N){let U;o.iGM(U=o.CRH())&&(F._switchElement=U.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(N,F){2&N&&(o.Ikx("id",F.id),o.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),o.ekj("mat-mdc-slide-toggle-focused",F._focused)("mat-mdc-slide-toggle-checked",F.checked)("_mat-animation-noopable",F._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[o._Bn([ee]),o.qOj],ngContentSelectors:K,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(N,F){if(1&N&&(o.F$t(),o.TgZ(0,"div",0)(1,"button",1,2),o.NdJ("click",function(){return F._handleClick()}),o._UZ(3,"div",3),o.TgZ(4,"div",4)(5,"div",5)(6,"div",6),o._UZ(7,"div",7),o.qZA(),o.TgZ(8,"div",8),o._UZ(9,"div",9),o.qZA(),o.TgZ(10,"div",10),o.O4$(),o.TgZ(11,"svg",11),o._UZ(12,"path",12),o.qZA(),o.TgZ(13,"svg",13),o._UZ(14,"path",14),o.qZA()()()()(),o.kcU(),o.TgZ(15,"label",15),o.NdJ("click",function(ce){return ce.stopPropagation()}),o.Hsn(16),o.qZA()()),2&N){const U=o.MAs(2);o.ekj("mdc-form-field--align-end","before"==F.labelPosition),o.xp6(1),o.ekj("mdc-switch--selected",F.checked)("mdc-switch--unselected",!F.checked)("mdc-switch--checked",F.checked)("mdc-switch--disabled",F.disabled),o.Q6J("tabIndex",F.tabIndex)("disabled",F.disabled),o.uIk("id",F.buttonId)("name",F.name)("aria-label",F.ariaLabel)("aria-labelledby",F._getAriaLabelledBy())("aria-describedby",F.ariaDescribedby)("aria-required",F.required||null)("aria-checked",F.checked),o.xp6(8),o.Q6J("matRippleTrigger",U)("matRippleDisabled",F.disableRipple||F.disabled)("matRippleCentered",!0),o.xp6(6),o.Q6J("for",F.buttonId),o.uIk("id",F._labelId)}},dependencies:[W.wG],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),Ge})(),rt=(()=>{class Ge{}return Ge.\u0275fac=function(N){return new(N||Ge)},Ge.\u0275mod=o.oAB({type:Ge}),Ge.\u0275inj=o.cJS({}),Ge})(),tt=(()=>{class Ge{}return Ge.\u0275fac=function(N){return new(N||Ge)},Ge.\u0275mod=o.oAB({type:Ge}),Ge.\u0275inj=o.cJS({imports:[rt,W.BQ,W.si,G.ez,rt,W.BQ]}),Ge})()},1481:(_t,De,f)=>{"use strict";f.d(De,{Dx:()=>Be,H7:()=>yn,b2:()=>pt,h_:()=>L,q6:()=>le,se:()=>It});var o=f(6895),a=f(4650);class E extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class W extends E{static makeCurrent(){(0,o.HT)(new W)}onAndCancel(Ee,q,Te){return Ee.addEventListener(q,Te,!1),()=>{Ee.removeEventListener(q,Te,!1)}}dispatchEvent(Ee,q){Ee.dispatchEvent(q)}remove(Ee){Ee.parentNode&&Ee.parentNode.removeChild(Ee)}createElement(Ee,q){return(q=q||this.getDefaultDocument()).createElement(Ee)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ee){return Ee.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ee){return Ee instanceof DocumentFragment}getGlobalEventTarget(Ee,q){return"window"===q?window:"document"===q?Ee:"body"===q?Ee.body:null}getBaseHref(Ee){const q=function G(){return Q=Q||document.querySelector("base"),Q?Q.getAttribute("href"):null}();return null==q?null:function K(be){re=re||document.createElement("a"),re.setAttribute("href",be);const Ee=re.pathname;return"/"===Ee.charAt(0)?Ee:`/${Ee}`}(q)}resetBaseElement(){Q=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ee){return(0,o.Mx)(document.cookie,Ee)}}let re,Q=null;const Z=new a.OlP("TRANSITION_ID"),he=[{provide:a.ip1,useFactory:function ee(be,Ee,q){return()=>{q.get(a.CZH).donePromise.then(()=>{const Te=(0,o.q)(),dt=Ee.querySelectorAll(`style[ng-transition="${be}"]`);for(let Nt=0;Nt{class be{build(){return new XMLHttpRequest}}return be.\u0275fac=function(q){return new(q||be)},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})();const xe=new a.OlP("EventManagerPlugins");let Se=(()=>{class be{constructor(q,Te){this._zone=Te,this._eventNameToPlugin=new Map,q.forEach(dt=>dt.manager=this),this._plugins=q.slice().reverse()}addEventListener(q,Te,dt){return this._findPluginFor(Te).addEventListener(q,Te,dt)}addGlobalEventListener(q,Te,dt){return this._findPluginFor(Te).addGlobalEventListener(q,Te,dt)}getZone(){return this._zone}_findPluginFor(q){const Te=this._eventNameToPlugin.get(q);if(Te)return Te;const dt=this._plugins;for(let Nt=0;Nt{class be{constructor(){this._stylesSet=new Set}addStyles(q){const Te=new Set;q.forEach(dt=>{this._stylesSet.has(dt)||(this._stylesSet.add(dt),Te.add(dt))}),this.onStylesAdded(Te)}onStylesAdded(q){}getAllStyles(){return Array.from(this._stylesSet)}}return be.\u0275fac=function(q){return new(q||be)},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})(),rt=(()=>{class be extends Me{constructor(q){super(),this._doc=q,this._hostNodes=new Map,this._hostNodes.set(q.head,[])}_addStylesToHost(q,Te,dt){q.forEach(Nt=>{const qt=this._doc.createElement("style");qt.textContent=Nt,dt.push(Te.appendChild(qt))})}addHost(q){const Te=[];this._addStylesToHost(this._stylesSet,q,Te),this._hostNodes.set(q,Te)}removeHost(q){const Te=this._hostNodes.get(q);Te&&Te.forEach(tt),this._hostNodes.delete(q)}onStylesAdded(q){this._hostNodes.forEach((Te,dt)=>{this._addStylesToHost(q,dt,Te)})}ngOnDestroy(){this._hostNodes.forEach(q=>q.forEach(tt))}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})();function tt(be){(0,o.q)().remove(be)}const Ge={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/"},fe=/%COMP%/g,F="%COMP%",U=`_nghost-${F}`,ce=`_ngcontent-${F}`;function at(be,Ee){return Ee.flat(100).map(q=>q.replace(fe,be))}function ft(be){return Ee=>{if("__ngUnwrap__"===Ee)return be;!1===be(Ee)&&(Ee.preventDefault(),Ee.returnValue=!1)}}let It=(()=>{class be{constructor(q,Te,dt){this.eventManager=q,this.sharedStylesHost=Te,this.appId=dt,this.rendererByCompId=new Map,this.defaultRenderer=new St(q)}createRenderer(q,Te){if(!q||!Te)return this.defaultRenderer;switch(Te.encapsulation){case a.ifc.Emulated:{let dt=this.rendererByCompId.get(Te.id);return dt||(dt=new ut(this.eventManager,this.sharedStylesHost,Te,this.appId),this.rendererByCompId.set(Te.id,dt)),dt.applyToHost(q),dt}case a.ifc.ShadowDom:return new vt(this.eventManager,this.sharedStylesHost,q,Te);default:if(!this.rendererByCompId.has(Te.id)){const dt=at(Te.id,Te.styles);this.sharedStylesHost.addStyles(dt),this.rendererByCompId.set(Te.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(Se),a.LFG(rt),a.LFG(a.AFp))},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})();class St{constructor(Ee){this.eventManager=Ee,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ee,q){return q?document.createElementNS(Ge[q]||q,Ee):document.createElement(Ee)}createComment(Ee){return document.createComment(Ee)}createText(Ee){return document.createTextNode(Ee)}appendChild(Ee,q){(nt(Ee)?Ee.content:Ee).appendChild(q)}insertBefore(Ee,q,Te){Ee&&(nt(Ee)?Ee.content:Ee).insertBefore(q,Te)}removeChild(Ee,q){Ee&&Ee.removeChild(q)}selectRootElement(Ee,q){let Te="string"==typeof Ee?document.querySelector(Ee):Ee;if(!Te)throw new Error(`The selector "${Ee}" did not match any elements`);return q||(Te.textContent=""),Te}parentNode(Ee){return Ee.parentNode}nextSibling(Ee){return Ee.nextSibling}setAttribute(Ee,q,Te,dt){if(dt){q=dt+":"+q;const Nt=Ge[dt];Nt?Ee.setAttributeNS(Nt,q,Te):Ee.setAttribute(q,Te)}else Ee.setAttribute(q,Te)}removeAttribute(Ee,q,Te){if(Te){const dt=Ge[Te];dt?Ee.removeAttributeNS(dt,q):Ee.removeAttribute(`${Te}:${q}`)}else Ee.removeAttribute(q)}addClass(Ee,q){Ee.classList.add(q)}removeClass(Ee,q){Ee.classList.remove(q)}setStyle(Ee,q,Te,dt){dt&(a.JOm.DashCase|a.JOm.Important)?Ee.style.setProperty(q,Te,dt&a.JOm.Important?"important":""):Ee.style[q]=Te}removeStyle(Ee,q,Te){Te&a.JOm.DashCase?Ee.style.removeProperty(q):Ee.style[q]=""}setProperty(Ee,q,Te){Ee[q]=Te}setValue(Ee,q){Ee.nodeValue=q}listen(Ee,q,Te){return"string"==typeof Ee?this.eventManager.addGlobalEventListener(Ee,q,ft(Te)):this.eventManager.addEventListener(Ee,q,ft(Te))}}function nt(be){return"TEMPLATE"===be.tagName&&void 0!==be.content}class ut extends St{constructor(Ee,q,Te,dt){super(Ee),this.component=Te;const Nt=at(dt+"-"+Te.id,Te.styles);q.addStyles(Nt),this.contentAttr=function Oe(be){return ce.replace(fe,be)}(dt+"-"+Te.id),this.hostAttr=function Ue(be){return U.replace(fe,be)}(dt+"-"+Te.id)}applyToHost(Ee){super.setAttribute(Ee,this.hostAttr,"")}createElement(Ee,q){const Te=super.createElement(Ee,q);return super.setAttribute(Te,this.contentAttr,""),Te}}class vt extends St{constructor(Ee,q,Te,dt){super(Ee),this.sharedStylesHost=q,this.hostEl=Te,this.shadowRoot=Te.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Nt=at(dt.id,dt.styles);for(let qt=0;qt{class be extends Re{constructor(q){super(q)}supports(q){return!0}addEventListener(q,Te,dt){return q.addEventListener(Te,dt,!1),()=>this.removeEventListener(q,Te,dt)}removeEventListener(q,Te,dt){return q.removeEventListener(Te,dt)}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})();const ot=["alt","control","meta","shift"],je={"\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"},ze={alt:be=>be.altKey,control:be=>be.ctrlKey,meta:be=>be.metaKey,shift:be=>be.shiftKey};let Qe=(()=>{class be extends Re{constructor(q){super(q)}supports(q){return null!=be.parseEventName(q)}addEventListener(q,Te,dt){const Nt=be.parseEventName(Te),qt=be.eventCallback(Nt.fullKey,dt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.q)().onAndCancel(q,Nt.domEventName,qt))}static parseEventName(q){const Te=q.toLowerCase().split("."),dt=Te.shift();if(0===Te.length||"keydown"!==dt&&"keyup"!==dt)return null;const Nt=be._normalizeKey(Te.pop());let qt="",Rn=Te.indexOf("code");if(Rn>-1&&(Te.splice(Rn,1),qt="code."),ot.forEach(Zn=>{const ie=Te.indexOf(Zn);ie>-1&&(Te.splice(ie,1),qt+=Zn+".")}),qt+=Nt,0!=Te.length||0===Nt.length)return null;const vn={};return vn.domEventName=dt,vn.fullKey=qt,vn}static matchEventFullKeyCode(q,Te){let dt=je[q.key]||q.key,Nt="";return Te.indexOf("code.")>-1&&(dt=q.code,Nt="code."),!(null==dt||!dt)&&(dt=dt.toLowerCase()," "===dt?dt="space":"."===dt&&(dt="dot"),ot.forEach(qt=>{qt!==dt&&(0,ze[qt])(q)&&(Nt+=qt+".")}),Nt+=dt,Nt===Te)}static eventCallback(q,Te,dt){return Nt=>{be.matchEventFullKeyCode(Nt,q)&&dt.runGuarded(()=>Te(Nt))}}static _normalizeKey(q){return"esc"===q?"escape":q}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})();const le=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:o.bD},{provide:a.g9A,useValue:function Ft(){W.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function qe(){return(0,a.RDi)(document),document},deps:[]}]),we=new a.OlP(""),ne=[{provide:a.rWj,useClass:class te{addToWindow(Ee){a.dqk.getAngularTestability=(Te,dt=!0)=>{const Nt=Ee.findTestabilityInTree(Te,dt);if(null==Nt)throw new Error("Could not find testability for element.");return Nt},a.dqk.getAllAngularTestabilities=()=>Ee.getAllTestabilities(),a.dqk.getAllAngularRootElements=()=>Ee.getAllRootElements(),a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(Te=>{const dt=a.dqk.getAllAngularTestabilities();let Nt=dt.length,qt=!1;const Rn=function(vn){qt=qt||vn,Nt--,0==Nt&&Te(qt)};dt.forEach(function(vn){vn.whenStable(Rn)})})}findTestabilityInTree(Ee,q,Te){return null==q?null:Ee.getTestability(q)??(Te?(0,o.q)().isShadowRoot(q)?this.findTestabilityInTree(Ee,q.host,!0):this.findTestabilityInTree(Ee,q.parentElement,!0):null)}},deps:[]},{provide:a.lri,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]}],Pe=[{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function Ne(){return new a.qLn},deps:[]},{provide:xe,useClass:We,multi:!0,deps:[o.K0,a.R0b,a.Lbi]},{provide:xe,useClass:Qe,multi:!0,deps:[o.K0]},{provide:It,useClass:It,deps:[Se,rt,a.AFp]},{provide:a.FYo,useExisting:It},{provide:Me,useExisting:rt},{provide:rt,useClass:rt,deps:[o.K0]},{provide:Se,useClass:Se,deps:[xe,a.R0b]},{provide:o.JF,useClass:ke,deps:[]},[]];let pt=(()=>{class be{constructor(q){}static withServerTransition(q){return{ngModule:be,providers:[{provide:a.AFp,useValue:q.appId},{provide:Z,useExisting:a.AFp},he]}}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(we,12))},be.\u0275mod=a.oAB({type:be}),be.\u0275inj=a.cJS({providers:[...Pe,...ne],imports:[o.ez,a.hGG]}),be})(),L=(()=>{class be{constructor(q){this._doc=q,this._dom=(0,o.q)()}addTag(q,Te=!1){return q?this._getOrCreateElement(q,Te):null}addTags(q,Te=!1){return q?q.reduce((dt,Nt)=>(Nt&&dt.push(this._getOrCreateElement(Nt,Te)),dt),[]):[]}getTag(q){return q&&this._doc.querySelector(`meta[${q}]`)||null}getTags(q){if(!q)return[];const Te=this._doc.querySelectorAll(`meta[${q}]`);return Te?[].slice.call(Te):[]}updateTag(q,Te){if(!q)return null;Te=Te||this._parseSelector(q);const dt=this.getTag(Te);return dt?this._setMetaElementAttributes(q,dt):this._getOrCreateElement(q,!0)}removeTag(q){this.removeTagElement(this.getTag(q))}removeTagElement(q){q&&this._dom.remove(q)}_getOrCreateElement(q,Te=!1){if(!Te){const qt=this._parseSelector(q),Rn=this.getTags(qt).filter(vn=>this._containsAttributes(q,vn))[0];if(void 0!==Rn)return Rn}const dt=this._dom.createElement("meta");return this._setMetaElementAttributes(q,dt),this._doc.getElementsByTagName("head")[0].appendChild(dt),dt}_setMetaElementAttributes(q,Te){return Object.keys(q).forEach(dt=>Te.setAttribute(this._getMetaKeyMap(dt),q[dt])),Te}_parseSelector(q){const Te=q.name?"name":"property";return`${Te}="${q[Te]}"`}_containsAttributes(q,Te){return Object.keys(q).every(dt=>Te.getAttribute(this._getMetaKeyMap(dt))===q[dt])}_getMetaKeyMap(q){return se[q]||q}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:function(q){let Te=null;return Te=q?new q:function de(){return new L((0,a.LFG)(o.K0))}(),Te},providedIn:"root"}),be})();const se={httpEquiv:"http-equiv"};let Be=(()=>{class be{constructor(q){this._doc=q}getTitle(){return this._doc.title}setTitle(q){this._doc.title=q||""}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:function(q){let Te=null;return Te=q?new q:function ue(){return new Be((0,a.LFG)(o.K0))}(),Te},providedIn:"root"}),be})();typeof window<"u"&&window;let yn=(()=>{class be{}return be.\u0275fac=function(q){return new(q||be)},be.\u0275prov=a.Yz7({token:be,factory:function(q){let Te=null;return Te=q?new(q||be):a.LFG(Cn),Te},providedIn:"root"}),be})(),Cn=(()=>{class be extends yn{constructor(q){super(),this._doc=q}sanitize(q,Te){if(null==Te)return null;switch(q){case a.q3G.NONE:return Te;case a.q3G.HTML:return(0,a.qzn)(Te,"HTML")?(0,a.z3N)(Te):(0,a.EiD)(this._doc,String(Te)).toString();case a.q3G.STYLE:return(0,a.qzn)(Te,"Style")?(0,a.z3N)(Te):Te;case a.q3G.SCRIPT:if((0,a.qzn)(Te,"Script"))return(0,a.z3N)(Te);throw new Error("unsafe value used in a script context");case a.q3G.URL:return(0,a.qzn)(Te,"URL")?(0,a.z3N)(Te):(0,a.mCW)(String(Te));case a.q3G.RESOURCE_URL:if((0,a.qzn)(Te,"ResourceURL"))return(0,a.z3N)(Te);throw new Error(`unsafe value used in a resource URL context (see ${a.JZr})`);default:throw new Error(`Unexpected SecurityContext ${q} (see ${a.JZr})`)}}bypassSecurityTrustHtml(q){return(0,a.JVY)(q)}bypassSecurityTrustStyle(q){return(0,a.L6k)(q)}bypassSecurityTrustScript(q){return(0,a.eBb)(q)}bypassSecurityTrustUrl(q){return(0,a.LAX)(q)}bypassSecurityTrustResourceUrl(q){return(0,a.pB0)(q)}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:function(q){let Te=null;return Te=q?new q:function fi(be){return new Cn(be.get(o.K0))}(a.LFG(a.zs3)),Te},providedIn:"root"}),be})()},9116:(_t,De,f)=>{"use strict";f.d(De,{gz:()=>Fn,F0:()=>$,rH:()=>Ce,Od:()=>Ke,Bz:()=>ho,lC:()=>Ri});var o=f(4650),a=f(2076),E=f(9646),W=f(1135),Q=f(6805),G=f(9841),re=f(7272),K=f(9770),Z=f(9635),ee=f(2843),he=f(9751),te=f(515),ke=f(4033),xe=f(7579),Se=f(6895),Re=f(4004),Me=f(3900),rt=f(5698),tt=f(8675),Ge=f(9300),fe=f(5577),N=f(590),F=f(4351),U=f(8505),ce=f(262),Oe=f(5026),Ue=f(4482),at=f(5403);function ft(h){return h<=0?()=>te.E:(0,Ue.e)((m,d)=>{let v=[];m.subscribe((0,at.x)(d,S=>{v.push(S),h{for(const S of v)d.next(S);d.complete()},void 0,()=>{v=null}))})}var It=f(8068),St=f(6590),He=f(4671);function Ze(h,m){const d=arguments.length>=2;return v=>v.pipe(h?(0,Ge.h)((S,B)=>h(S,B,v)):He.y,ft(1),d?(0,St.d)(m):(0,It.T)(()=>new Q.K))}var nt=f(2529),ut=f(9718),vt=f(8746),We=f(8343),ot=f(8189),je=f(1481);const ze="primary",Qe=Symbol("RouteTitle");class kt{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d[0]:d}return null}getAll(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function ye(h){return new kt(h)}function Le(h,m,d){const v=d.path.split("/");if(v.length>h.length||"full"===d.pathMatch&&(m.hasChildren()||v.lengthv[B]===S)}return h===m}function Ne(h){return Array.prototype.concat.apply([],h)}function qe(h){return h.length>0?h[h.length-1]:null}function le(h,m){for(const d in h)h.hasOwnProperty(d)&&m(h[d],d)}function we(h){return(0,o.CqO)(h)?h:(0,o.QGY)(h)?(0,a.D)(Promise.resolve(h)):(0,E.of)(h)}const ne=!1,Pe={exact:function se(h,m,d){if(!ve(h.segments,m.segments)||!ct(h.segments,m.segments,d)||h.numberOfChildren!==m.numberOfChildren)return!1;for(const v in m.children)if(!h.children[v]||!se(h.children[v],m.children[v],d))return!1;return!0},subset:Be},pt={exact:function L(h,m){return Ct(h,m)},subset:function ue(h,m){return Object.keys(m).length<=Object.keys(h).length&&Object.keys(m).every(d=>Ft(h[d],m[d]))},ignored:()=>!0};function de(h,m,d){return Pe[d.paths](h.root,m.root,d.matrixParams)&&pt[d.queryParams](h.queryParams,m.queryParams)&&!("exact"===d.fragment&&h.fragment!==m.fragment)}function Be(h,m,d){return ht(h,m,m.segments,d)}function ht(h,m,d,v){if(h.segments.length>d.length){const S=h.segments.slice(0,d.length);return!(!ve(S,d)||m.hasChildren()||!ct(S,d,v))}if(h.segments.length===d.length){if(!ve(h.segments,d)||!ct(h.segments,d,v))return!1;for(const S in m.children)if(!h.children[S]||!Be(h.children[S],m.children[S],v))return!1;return!0}{const S=d.slice(0,h.segments.length),B=d.slice(h.segments.length);return!!(ve(h.segments,S)&&ct(h.segments,S,v)&&h.children[ze])&&ht(h.children[ze],m,B,v)}}function ct(h,m,d){return m.every((v,S)=>pt[d](h[S].parameters,v.parameters))}class Et{constructor(m=new me([],{}),d={},v=null){this.root=m,this.queryParams=d,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ye(this.queryParams)),this._queryParamMap}toString(){return wt.serialize(this)}}class me{constructor(m,d){this.segments=m,this.children=d,this.parent=null,le(d,(v,S)=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dn(this)}}class lt{constructor(m,d){this.path=m,this.parameters=d}get parameterMap(){return this._parameterMap||(this._parameterMap=ye(this.parameters)),this._parameterMap}toString(){return A(this)}}function ve(h,m){return h.length===m.length&&h.every((d,v)=>d.path===m[v].path)}let Fe=(()=>{class h{}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:function(){return new At},providedIn:"root"}),h})();class At{parse(m){const d=new Cn(m);return new Et(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(m){const d=`/${jt(m.root,!0)}`,v=function oe(h){const m=Object.keys(h).map(d=>{const v=h[d];return Array.isArray(v)?v.map(S=>`${xn(d)}=${xn(S)}`).join("&"):`${xn(d)}=${xn(v)}`}).filter(d=>!!d);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${d}${v}${"string"==typeof m.fragment?`#${function Xe(h){return encodeURI(h)}(m.fragment)}`:""}`}}const wt=new At;function dn(h){return h.segments.map(m=>A(m)).join("/")}function jt(h,m){if(!h.hasChildren())return dn(h);if(m){const d=h.children[ze]?jt(h.children[ze],!1):"",v=[];return le(h.children,(S,B)=>{B!==ze&&v.push(`${B}:${jt(S,!1)}`)}),v.length>0?`${d}(${v.join("//")})`:d}{const d=function pe(h,m){let d=[];return le(h.children,(v,S)=>{S===ze&&(d=d.concat(m(v,S)))}),le(h.children,(v,S)=>{S!==ze&&(d=d.concat(m(v,S)))}),d}(h,(v,S)=>S===ze?[jt(h.children[ze],!1)]:[`${S}:${jt(v,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[ze]?`${dn(h)}/${d[0]}`:`${dn(h)}/(${d.join("//")})`}}function _n(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xn(h){return _n(h).replace(/%3B/gi,";")}function Ae(h){return _n(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function I(h){return decodeURIComponent(h)}function w(h){return I(h.replace(/\+/g,"%20"))}function A(h){return`${Ae(h.path)}${function J(h){return Object.keys(h).map(m=>`;${Ae(m)}=${Ae(h[m])}`).join("")}(h.parameters)}`}const it=/^[^\/()?;=#]+/;function Ot(h){const m=h.match(it);return m?m[0]:""}const Yt=/^[^=?&#]+/,yn=/^[^&#]+/;class Cn{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new me([],{}):new me([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(m.length>0||Object.keys(d).length>0)&&(v[ze]=new me(m,d)),v}parseSegment(){const m=Ot(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new o.vHH(4009,ne);return this.capture(m),new lt(I(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const d=Ot(this.remaining);if(!d)return;this.capture(d);let v="";if(this.consumeOptional("=")){const S=Ot(this.remaining);S&&(v=S,this.capture(v))}m[I(d)]=I(v)}parseQueryParam(m){const d=function xt(h){const m=h.match(Yt);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let v="";if(this.consumeOptional("=")){const Y=function fi(h){const m=h.match(yn);return m?m[0]:""}(this.remaining);Y&&(v=Y,this.capture(v))}const S=w(d),B=w(v);if(m.hasOwnProperty(S)){let Y=m[S];Array.isArray(Y)||(Y=[Y],m[S]=Y),Y.push(B)}else m[S]=B}parseParens(m){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=Ot(this.remaining),S=this.remaining[v.length];if("/"!==S&&")"!==S&&";"!==S)throw new o.vHH(4010,ne);let B;v.indexOf(":")>-1?(B=v.slice(0,v.indexOf(":")),this.capture(B),this.capture(":")):m&&(B=ze);const Y=this.parseChildren();d[B]=1===Object.keys(Y).length?Y[ze]:new me([],Y),this.consumeOptional("//")}return d}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new o.vHH(4011,ne)}}function ln(h){return h.segments.length>0?new me([],{[ze]:h}):h}function be(h){const m={};for(const v of Object.keys(h.children)){const B=be(h.children[v]);(B.segments.length>0||B.hasChildren())&&(m[v]=B)}return function Ee(h){if(1===h.numberOfChildren&&h.children[ze]){const m=h.children[ze];return new me(h.segments.concat(m.segments),m.children)}return h}(new me(h.segments,m))}function q(h){return h instanceof Et}function Rn(h,m,d,v,S){if(0===d.length)return ie(m.root,m.root,m.root,v,S);const B=function X(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new P(!0,0,h);let m=0,d=!1;const v=h.reduce((S,B,Y)=>{if("object"==typeof B&&null!=B){if(B.outlets){const Ve={};return le(B.outlets,(Mt,Wt)=>{Ve[Wt]="string"==typeof Mt?Mt.split("/"):Mt}),[...S,{outlets:Ve}]}if(B.segmentPath)return[...S,B.segmentPath]}return"string"!=typeof B?[...S,B]:0===Y?(B.split("/").forEach((Ve,Mt)=>{0==Mt&&"."===Ve||(0==Mt&&""===Ve?d=!0:".."===Ve?m++:""!=Ve&&S.push(Ve))}),S):[...S,B]},[]);return new P(d,m,v)}(d);return B.toRoot()?ie(m.root,m.root,new me([],{}),v,S):function Y(Mt){const Wt=function tn(h,m,d,v){if(h.isAbsolute)return new Ye(m.root,!0,0);if(-1===v)return new Ye(d,d===m.root,0);return function Kt(h,m,d){let v=h,S=m,B=d;for(;B>S;){if(B-=S,v=v.parent,!v)throw new o.vHH(4005,!1);S=v.segments.length}return new Ye(v,!1,S-B)}(d,v+(vn(h.commands[0])?0:1),h.numberOfDoubleDots)}(B,m,h.snapshot?._urlSegment,Mt),Vt=Wt.processChildren?Yn(Wt.segmentGroup,Wt.index,B.commands):Pn(Wt.segmentGroup,Wt.index,B.commands);return ie(m.root,Wt.segmentGroup,Vt,v,S)}(h.snapshot?._lastPathIndex)}function vn(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Zn(h){return"object"==typeof h&&null!=h&&h.outlets}function ie(h,m,d,v,S){let Y,B={};v&&le(v,(Mt,Wt)=>{B[Wt]=Array.isArray(Mt)?Mt.map(Vt=>`${Vt}`):`${Mt}`}),Y=h===m?d:R(h,m,d);const Ve=ln(be(Y));return new Et(Ve,B,S)}function R(h,m,d){const v={};return le(h.children,(S,B)=>{v[B]=S===m?d:R(S,m,d)}),new me(h.segments,v)}class P{constructor(m,d,v){if(this.isAbsolute=m,this.numberOfDoubleDots=d,this.commands=v,m&&v.length>0&&vn(v[0]))throw new o.vHH(4003,!1);const S=v.find(Zn);if(S&&S!==qe(v))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ye{constructor(m,d,v){this.segmentGroup=m,this.processChildren=d,this.index=v}}function Pn(h,m,d){if(h||(h=new me([],{})),0===h.segments.length&&h.hasChildren())return Yn(h,m,d);const v=function ei(h,m,d){let v=0,S=m;const B={match:!1,pathIndex:0,commandIndex:0};for(;S=d.length)return B;const Y=h.segments[S],Ve=d[v];if(Zn(Ve))break;const Mt=`${Ve}`,Wt=v0&&void 0===Mt)break;if(Mt&&Wt&&"object"==typeof Wt&&void 0===Wt.outlets){if(!Vn(Mt,Wt,Y))return B;v+=2}else{if(!Vn(Mt,{},Y))return B;v++}S++}return{match:!0,pathIndex:S,commandIndex:v}}(h,m,d),S=d.slice(v.commandIndex);if(v.match&&v.pathIndex{"string"==typeof B&&(B=[B]),null!==B&&(S[Y]=Pn(h.children[Y],m,B))}),le(h.children,(B,Y)=>{void 0===v[Y]&&(S[Y]=B)}),new me(h.segments,S))}}function wn(h,m,d){const v=h.segments.slice(0,m);let S=0;for(;S{"string"==typeof d&&(d=[d]),null!==d&&(m[v]=wn(new me([],{}),0,d))}),m}function nn(h){const m={};return le(h,(d,v)=>m[v]=`${d}`),m}function Vn(h,m,d){return h==d.path&&Ct(m,d.parameters)}const ti="imperative";class Bn{constructor(m,d){this.id=m,this.url=d}}class Nn extends Bn{constructor(m,d,v="imperative",S=null){super(m,d),this.type=0,this.navigationTrigger=v,this.restoredState=S}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ci extends Bn{constructor(m,d,v){super(m,d),this.urlAfterRedirects=v,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class mn extends Bn{constructor(m,d,v,S){super(m,d),this.reason=v,this.code=S,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class li extends Bn{constructor(m,d,v,S){super(m,d),this.reason=v,this.code=S,this.type=16}}class Qi extends Bn{constructor(m,d,v,S){super(m,d),this.error=v,this.target=S,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class an extends Bn{constructor(m,d,v,S){super(m,d),this.urlAfterRedirects=v,this.state=S,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class br extends Bn{constructor(m,d,v,S){super(m,d),this.urlAfterRedirects=v,this.state=S,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ji extends Bn{constructor(m,d,v,S,B){super(m,d),this.urlAfterRedirects=v,this.state=S,this.shouldActivate=B,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class qi extends Bn{constructor(m,d,v,S){super(m,d),this.urlAfterRedirects=v,this.state=S,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ni extends Bn{constructor(m,d,v,S){super(m,d),this.urlAfterRedirects=v,this.state=S,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kn{constructor(m){this.route=m,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yr{constructor(m){this.route=m,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Oi{constructor(m){this.snapshot=m,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xn{constructor(m){this.snapshot=m,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bi{constructor(m){this.snapshot=m,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zi{constructor(m){this.snapshot=m,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kn{constructor(m,d,v){this.routerEvent=m,this.position=d,this.anchor=v,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let _o=(()=>{class h{createUrlTree(d,v,S,B,Y,Ve){return Rn(d||v.root,S,B,Y,Ve)}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac}),h})(),Ei=(()=>{class h{}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:function(m){return _o.\u0275fac(m)},providedIn:"root"}),h})();class Vi{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const d=this.pathFromRoot(m);return d.length>1?d[d.length-2]:null}children(m){const d=Gn(m,this._root);return d?d.children.map(v=>v.value):[]}firstChild(m){const d=Gn(m,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(m){const d=wi(m,this._root);return d.length<2?[]:d[d.length-2].children.map(S=>S.value).filter(S=>S!==m)}pathFromRoot(m){return wi(m,this._root).map(d=>d.value)}}function Gn(h,m){if(h===m.value)return m;for(const d of m.children){const v=Gn(h,d);if(v)return v}return null}function wi(h,m){if(h===m.value)return[m];for(const d of m.children){const v=wi(h,d);if(v.length)return v.unshift(m),v}return[]}class Mn{constructor(m,d){this.value=m,this.children=d}toString(){return`TreeNode(${this.value})`}}function Un(h){const m={};return h&&h.children.forEach(d=>m[d.value.outlet]=d),m}class Or extends Vi{constructor(m,d){super(m),this.snapshot=d,Yr(this,m)}toString(){return this.snapshot.toString()}}function ki(h,m){const d=function Dr(h,m){const Y=new cr([],{},{},"",{},ze,m,null,h.root,-1,{});return new kr("",new Mn(Y,[]))}(h,m),v=new W.X([new lt("",{})]),S=new W.X({}),B=new W.X({}),Y=new W.X({}),Ve=new W.X(""),Mt=new Fn(v,S,Y,Ve,B,ze,m,d.root);return Mt.snapshot=d.root,new Or(new Mn(Mt,[]),d)}class Fn{constructor(m,d,v,S,B,Y,Ve,Mt){this.url=m,this.params=d,this.queryParams=v,this.fragment=S,this.data=B,this.outlet=Y,this.component=Ve,this.title=this.data?.pipe((0,Re.U)(Wt=>Wt[Qe]))??(0,E.of)(void 0),this._futureSnapshot=Mt}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)(m=>ye(m)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Re.U)(m=>ye(m)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function xr(h,m="emptyOnly"){const d=h.pathFromRoot;let v=0;if("always"!==m)for(v=d.length-1;v>=1;){const S=d[v],B=d[v-1];if(S.routeConfig&&""===S.routeConfig.path)v--;else{if(B.component)break;v--}}return function vo(h){return h.reduce((m,d)=>({params:{...m.params,...d.params},data:{...m.data,...d.data},resolve:{...d.data,...m.resolve,...d.routeConfig?.data,...d._resolvedData}}),{params:{},data:{},resolve:{}})}(d.slice(v))}class cr{get title(){return this.data?.[Qe]}constructor(m,d,v,S,B,Y,Ve,Mt,Wt,Vt,Ln){this.url=m,this.params=d,this.queryParams=v,this.fragment=S,this.data=B,this.outlet=Y,this.component=Ve,this.routeConfig=Mt,this._urlSegment=Wt,this._lastPathIndex=Vt,this._resolve=Ln}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=ye(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ye(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class kr extends Vi{constructor(m,d){super(d),this.url=m,Yr(this,d)}toString(){return No(this._root)}}function Yr(h,m){m.value._routerState=h,m.children.forEach(d=>Yr(h,d))}function No(h){const m=h.children.length>0?` { ${h.children.map(No).join(", ")} } `:"";return`${h.value}${m}`}function ni(h){if(h.snapshot){const m=h.snapshot,d=h._futureSnapshot;h.snapshot=d,Ct(m.queryParams,d.queryParams)||h.queryParams.next(d.queryParams),m.fragment!==d.fragment&&h.fragment.next(d.fragment),Ct(m.params,d.params)||h.params.next(d.params),function bt(h,m){if(h.length!==m.length)return!1;for(let d=0;dCt(d.parameters,m[v].parameters))}(h.url,m.url);return d&&!(!h.parent!=!m.parent)&&(!h.parent||Rr(h.parent,m.parent))}function Ji(h,m,d){if(d&&h.shouldReuseRoute(m.value,d.value.snapshot)){const v=d.value;v._futureSnapshot=m.value;const S=function Fr(h,m,d){return m.children.map(v=>{for(const S of d.children)if(h.shouldReuseRoute(v.value,S.value.snapshot))return Ji(h,v,S);return Ji(h,v)})}(h,m,d);return new Mn(v,S)}{if(h.shouldAttach(m.value)){const B=h.retrieve(m.value);if(null!==B){const Y=B.route;return Y.value._futureSnapshot=m.value,Y.children=m.children.map(Ve=>Ji(h,Ve)),Y}}const v=function bo(h){return new Fn(new W.X(h.url),new W.X(h.params),new W.X(h.queryParams),new W.X(h.fragment),new W.X(h.data),h.outlet,h.component,h)}(m.value),S=m.children.map(B=>Ji(h,B));return new Mn(v,S)}}const Kr="ngNavigationCancelingError";function Jo(h,m){const{redirectTo:d,navigationBehaviorOptions:v}=q(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,S=es(!1,0,m);return S.url=d,S.navigationBehaviorOptions=v,S}function es(h,m,d){const v=new Error("NavigationCancelingError: "+(h||""));return v[Kr]=!0,v.cancellationCode=m,d&&(v.url=d),v}function Lr(h){return Cr(h)&&q(h.url)}function Cr(h){return h&&h[Kr]}class yo{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new wr,this.attachRef=null}}let wr=(()=>{class h{constructor(){this.contexts=new Map}onChildOutletCreated(d,v){const S=this.getOrCreateContext(d);S.outlet=v,this.contexts.set(d,S)}onChildOutletDestroyed(d){const v=this.getContext(d);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let v=this.getContext(d);return v||(v=new yo,this.contexts.set(d,v)),v}getContext(d){return this.contexts.get(d)||null}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const er=!1;let Ri=(()=>{class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=ze,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.parentContexts=(0,o.f3M)(wr),this.location=(0,o.f3M)(o.s_b),this.changeDetector=(0,o.f3M)(o.sBO),this.environmentInjector=(0,o.f3M)(o.lqb)}ngOnChanges(d){if(d.name){const{firstChange:v,previousValue:S}=d.name;if(v)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(d){return this.parentContexts.getContext(d)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const d=this.parentContexts.getContext(this.name);d?.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,er);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,er);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,er);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,v){this.activated=d,this._activatedRoute=v,this.location.insert(d.hostView),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,v){if(this.isActivated)throw new o.vHH(4013,er);this._activatedRoute=d;const S=this.location,Y=d.snapshot.component,Ve=this.parentContexts.getOrCreateContext(this.name).children,Mt=new tr(d,Ve,S.injector);if(v&&function Zr(h){return!!h.resolveComponentFactory}(v)){const Wt=v.resolveComponentFactory(Y);this.activated=S.createComponent(Wt,S.length,Mt)}else this.activated=S.createComponent(Y,{index:S.length,injector:Mt,environmentInjector:v??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275dir=o.lG2({type:h,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.TTD]}),h})();class tr{constructor(m,d,v){this.route=m,this.childContexts=d,this.parent=v}get(m,d){return m===Fn?this.route:m===wr?this.childContexts:this.parent.get(m,d)}}let Nr=(()=>{class h{}return h.\u0275fac=function(d){return new(d||h)},h.\u0275cmp=o.Xpm({type:h,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(d,v){1&d&&o._UZ(0,"router-outlet")},dependencies:[Ri],encapsulation:2}),h})();function nr(h,m){return h.providers&&!h._injector&&(h._injector=(0,o.MMx)(h.providers,m,`Route: ${h.path}`)),h._injector??m}function lr(h){const m=h.children&&h.children.map(lr),d=m?{...h,children:m}:{...h};return!d.component&&!d.loadComponent&&(m||d.loadChildren)&&d.outlet&&d.outlet!==ze&&(d.component=Nr),d}function oi(h){return h.outlet||ze}function zn(h,m){const d=h.filter(v=>oi(v)===m);return d.push(...h.filter(v=>oi(v)!==m)),d}function ir(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let m=h.parent;m;m=m.parent){const d=m.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class di{constructor(m,d,v,S){this.routeReuseStrategy=m,this.futureState=d,this.currState=v,this.forwardEvent=S}activate(m){const d=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,v,m),ni(this.futureState.root),this.activateChildRoutes(d,v,m)}deactivateChildRoutes(m,d,v){const S=Un(d);m.children.forEach(B=>{const Y=B.value.outlet;this.deactivateRoutes(B,S[Y],v),delete S[Y]}),le(S,(B,Y)=>{this.deactivateRouteAndItsChildren(B,v)})}deactivateRoutes(m,d,v){const S=m.value,B=d?d.value:null;if(S===B)if(S.component){const Y=v.getContext(S.outlet);Y&&this.deactivateChildRoutes(m,d,Y.children)}else this.deactivateChildRoutes(m,d,v);else B&&this.deactivateRouteAndItsChildren(d,v)}deactivateRouteAndItsChildren(m,d){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,d):this.deactivateRouteAndOutlet(m,d)}detachAndStoreRouteSubtree(m,d){const v=d.getContext(m.value.outlet),S=v&&m.value.component?v.children:d,B=Un(m);for(const Y of Object.keys(B))this.deactivateRouteAndItsChildren(B[Y],S);if(v&&v.outlet){const Y=v.outlet.detach(),Ve=v.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:Y,route:m,contexts:Ve})}}deactivateRouteAndOutlet(m,d){const v=d.getContext(m.value.outlet),S=v&&m.value.component?v.children:d,B=Un(m);for(const Y of Object.keys(B))this.deactivateRouteAndItsChildren(B[Y],S);v&&v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated(),v.attachRef=null,v.resolver=null,v.route=null)}activateChildRoutes(m,d,v){const S=Un(d);m.children.forEach(B=>{this.activateRoutes(B,S[B.value.outlet],v),this.forwardEvent(new zi(B.value.snapshot))}),m.children.length&&this.forwardEvent(new Xn(m.value.snapshot))}activateRoutes(m,d,v){const S=m.value,B=d?d.value:null;if(ni(S),S===B)if(S.component){const Y=v.getOrCreateContext(S.outlet);this.activateChildRoutes(m,d,Y.children)}else this.activateChildRoutes(m,d,v);else if(S.component){const Y=v.getOrCreateContext(S.outlet);if(this.routeReuseStrategy.shouldAttach(S.snapshot)){const Ve=this.routeReuseStrategy.retrieve(S.snapshot);this.routeReuseStrategy.store(S.snapshot,null),Y.children.onOutletReAttached(Ve.contexts),Y.attachRef=Ve.componentRef,Y.route=Ve.route.value,Y.outlet&&Y.outlet.attach(Ve.componentRef,Ve.route.value),ni(Ve.route.value),this.activateChildRoutes(m,null,Y.children)}else{const Ve=ir(S.snapshot),Mt=Ve?.get(o._Vd)??null;Y.attachRef=null,Y.route=S,Y.resolver=Mt,Y.injector=Ve,Y.outlet&&Y.outlet.activateWith(S,Y.injector),this.activateChildRoutes(m,null,Y.children)}}else this.activateChildRoutes(m,null,v)}}class Uo{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class dr{constructor(m,d){this.component=m,this.route=d}}function $i(h,m,d){const v=h._root;return Mi(v,m?m._root:null,d,[v.value])}function Gi(h,m){const d=Symbol(),v=m.get(h,d);return v===d?"function"!=typeof h||(0,o.Z0I)(h)?m.get(h):h:v}function Mi(h,m,d,v,S={canDeactivateChecks:[],canActivateChecks:[]}){const B=Un(m);return h.children.forEach(Y=>{(function Vr(h,m,d,v,S={canDeactivateChecks:[],canActivateChecks:[]}){const B=h.value,Y=m?m.value:null,Ve=d?d.getContext(h.value.outlet):null;if(Y&&B.routeConfig===Y.routeConfig){const Mt=function ur(h,m,d){if("function"==typeof d)return d(h,m);switch(d){case"pathParamsChange":return!ve(h.url,m.url);case"pathParamsOrQueryParamsChange":return!ve(h.url,m.url)||!Ct(h.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rr(h,m)||!Ct(h.queryParams,m.queryParams);default:return!Rr(h,m)}}(Y,B,B.routeConfig.runGuardsAndResolvers);Mt?S.canActivateChecks.push(new Uo(v)):(B.data=Y.data,B._resolvedData=Y._resolvedData),Mi(h,m,B.component?Ve?Ve.children:null:d,v,S),Mt&&Ve&&Ve.outlet&&Ve.outlet.isActivated&&S.canDeactivateChecks.push(new dr(Ve.outlet.component,Y))}else Y&&hr(m,Ve,S),S.canActivateChecks.push(new Uo(v)),Mi(h,null,B.component?Ve?Ve.children:null:d,v,S)})(Y,B[Y.value.outlet],d,v.concat([Y.value]),S),delete B[Y.value.outlet]}),le(B,(Y,Ve)=>hr(Y,d.getContext(Ve),S)),S}function hr(h,m,d){const v=Un(h),S=h.value;le(v,(B,Y)=>{hr(B,S.component?m?m.children.getContext(Y):null:m,d)}),d.canDeactivateChecks.push(new dr(S.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,S))}function fr(h){return"function"==typeof h}function Wn(h){return h instanceof Q.K||"EmptyError"===h?.name}const st=Symbol("INITIAL_VALUE");function cn(){return(0,Me.w)(h=>(0,G.a)(h.map(m=>m.pipe((0,rt.q)(1),(0,tt.O)(st)))).pipe((0,Re.U)(m=>{for(const d of m)if(!0!==d){if(d===st)return st;if(!1===d||d instanceof Et)return d}return!0}),(0,Ge.h)(m=>m!==st),(0,rt.q)(1)))}function Do(h){return(0,Z.z)((0,U.b)(m=>{if(q(m))throw Jo(0,m)}),(0,Re.U)(m=>!0===m))}const ui={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Pi(h,m,d,v,S){const B=mr(h,m,d);return B.matched?function ns(h,m,d,v){const S=m.canMatch;if(!S||0===S.length)return(0,E.of)(!0);const B=S.map(Y=>{const Ve=Gi(Y,h);return we(function z(h){return h&&fr(h.canMatch)}(Ve)?Ve.canMatch(m,d):h.runInContext(()=>Ve(m,d)))});return(0,E.of)(B).pipe(cn(),Do())}(v=nr(m,v),m,d).pipe((0,Re.U)(Y=>!0===Y?B:{...ui})):(0,E.of)(B)}function mr(h,m,d){if(""===m.path)return"full"===m.pathMatch&&(h.hasChildren()||d.length>0)?{...ui}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const S=(m.matcher||Le)(d,h,m);if(!S)return{...ui};const B={};le(S.posParams,(Ve,Mt)=>{B[Mt]=Ve.path});const Y=S.consumed.length>0?{...B,...S.consumed[S.consumed.length-1].parameters}:B;return{matched:!0,consumedSegments:S.consumed,remainingSegments:d.slice(S.consumed.length),parameters:Y,positionalParamSegments:S.posParams??{}}}function rr(h,m,d,v){if(d.length>0&&function no(h,m,d){return d.some(v=>io(h,m,v)&&oi(v)!==ze)}(h,d,v)){const B=new me(m,function Ai(h,m,d,v){const S={};S[ze]=v,v._sourceSegment=h,v._segmentIndexShift=m.length;for(const B of d)if(""===B.path&&oi(B)!==ze){const Y=new me([],{});Y._sourceSegment=h,Y._segmentIndexShift=m.length,S[oi(B)]=Y}return S}(h,m,v,new me(d,h.children)));return B._sourceSegment=h,B._segmentIndexShift=m.length,{segmentGroup:B,slicedSegments:[]}}if(0===d.length&&function xo(h,m,d){return d.some(v=>io(h,m,v))}(h,d,v)){const B=new me(h.segments,function pr(h,m,d,v,S){const B={};for(const Y of v)if(io(h,d,Y)&&!S[oi(Y)]){const Ve=new me([],{});Ve._sourceSegment=h,Ve._segmentIndexShift=m.length,B[oi(Y)]=Ve}return{...S,...B}}(h,m,d,v,h.children));return B._sourceSegment=h,B._segmentIndexShift=m.length,{segmentGroup:B,slicedSegments:d}}const S=new me(h.segments,h.children);return S._sourceSegment=h,S._segmentIndexShift=m.length,{segmentGroup:S,slicedSegments:d}}function io(h,m,d){return(!(h.hasChildren()||m.length>0)||"full"!==d.pathMatch)&&""===d.path}function Co(h,m,d,v){return!!(oi(h)===v||v!==ze&&io(m,d,h))&&("**"===h.path||mr(m,h,d).matched)}function ro(h,m,d){return 0===m.length&&!h.children[d]}const Hr=!1;class oo{constructor(m){this.segmentGroup=m||null}}class ms{constructor(m){this.urlTree=m}}function gr(h){return(0,ee._)(new oo(h))}function jo(h){return(0,ee._)(new ms(h))}class Fi{constructor(m,d,v,S,B){this.injector=m,this.configLoader=d,this.urlSerializer=v,this.urlTree=S,this.config=B,this.allowRedirects=!0}apply(){const m=rr(this.urlTree.root,[],[],this.config).segmentGroup,d=new me(m.segments,m.children);return this.expandSegmentGroup(this.injector,this.config,d,ze).pipe((0,Re.U)(B=>this.createUrlTree(be(B),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ce.K)(B=>{if(B instanceof ms)return this.allowRedirects=!1,this.match(B.urlTree);throw B instanceof oo?this.noMatchError(B):B}))}match(m){return this.expandSegmentGroup(this.injector,this.config,m.root,ze).pipe((0,Re.U)(S=>this.createUrlTree(be(S),m.queryParams,m.fragment))).pipe((0,ce.K)(S=>{throw S instanceof oo?this.noMatchError(S):S}))}noMatchError(m){return new o.vHH(4002,Hr)}createUrlTree(m,d,v){const S=ln(m);return new Et(S,d,v)}expandSegmentGroup(m,d,v,S){return 0===v.segments.length&&v.hasChildren()?this.expandChildren(m,d,v).pipe((0,Re.U)(B=>new me([],B))):this.expandSegment(m,v,d,v.segments,S,!0)}expandChildren(m,d,v){const S=[];for(const B of Object.keys(v.children))"primary"===B?S.unshift(B):S.push(B);return(0,a.D)(S).pipe((0,F.b)(B=>{const Y=v.children[B],Ve=zn(d,B);return this.expandSegmentGroup(m,Ve,Y,B).pipe((0,Re.U)(Mt=>({segment:Mt,outlet:B})))}),(0,Oe.R)((B,Y)=>(B[Y.outlet]=Y.segment,B),{}),Ze())}expandSegment(m,d,v,S,B,Y){return(0,a.D)(v).pipe((0,F.b)(Ve=>this.expandSegmentAgainstRoute(m,d,v,Ve,S,B,Y).pipe((0,ce.K)(Wt=>{if(Wt instanceof oo)return(0,E.of)(null);throw Wt}))),(0,N.P)(Ve=>!!Ve),(0,ce.K)((Ve,Mt)=>{if(Wn(Ve))return ro(d,S,B)?(0,E.of)(new me([],{})):gr(d);throw Ve}))}expandSegmentAgainstRoute(m,d,v,S,B,Y,Ve){return Co(S,d,B,Y)?void 0===S.redirectTo?this.matchSegmentAgainstRoute(m,d,S,B,Y):Ve&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(m,d,v,S,B,Y):gr(d):gr(d)}expandSegmentAgainstRouteUsingRedirect(m,d,v,S,B,Y){return"**"===S.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(m,v,S,Y):this.expandRegularSegmentAgainstRouteUsingRedirect(m,d,v,S,B,Y)}expandWildCardWithParamsAgainstRouteUsingRedirect(m,d,v,S){const B=this.applyRedirectCommands([],v.redirectTo,{});return v.redirectTo.startsWith("/")?jo(B):this.lineralizeSegments(v,B).pipe((0,fe.z)(Y=>{const Ve=new me(Y,{});return this.expandSegment(m,Ve,d,Y,S,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(m,d,v,S,B,Y){const{matched:Ve,consumedSegments:Mt,remainingSegments:Wt,positionalParamSegments:Vt}=mr(d,S,B);if(!Ve)return gr(d);const Ln=this.applyRedirectCommands(Mt,S.redirectTo,Vt);return S.redirectTo.startsWith("/")?jo(Ln):this.lineralizeSegments(S,Ln).pipe((0,fe.z)(ri=>this.expandSegment(m,d,v,ri.concat(Wt),Y,!1)))}matchSegmentAgainstRoute(m,d,v,S,B){return"**"===v.path?(m=nr(v,m),v.loadChildren?(v._loadedRoutes?(0,E.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):this.configLoader.loadChildren(m,v)).pipe((0,Re.U)(Ve=>(v._loadedRoutes=Ve.routes,v._loadedInjector=Ve.injector,new me(S,{})))):(0,E.of)(new me(S,{}))):Pi(d,v,S,m).pipe((0,Me.w)(({matched:Y,consumedSegments:Ve,remainingSegments:Mt})=>Y?this.getChildConfig(m=v._injector??m,v,S).pipe((0,fe.z)(Vt=>{const Ln=Vt.injector??m,ri=Vt.routes,{segmentGroup:Wo,slicedSegments:zr}=rr(d,Ve,Mt,ri),Yo=new me(Wo.segments,Wo.children);if(0===zr.length&&Yo.hasChildren())return this.expandChildren(Ln,ri,Yo).pipe((0,Re.U)(wc=>new me(Ve,wc)));if(0===ri.length&&0===zr.length)return(0,E.of)(new me(Ve,{}));const Tr=oi(v)===B;return this.expandSegment(Ln,Yo,ri,zr,Tr?ze:B,!0).pipe((0,Re.U)(aa=>new me(Ve.concat(aa.segments),aa.children)))})):gr(d)))}getChildConfig(m,d,v){return d.children?(0,E.of)({routes:d.children,injector:m}):d.loadChildren?void 0!==d._loadedRoutes?(0,E.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function Ts(h,m,d,v){const S=m.canLoad;if(void 0===S||0===S.length)return(0,E.of)(!0);const B=S.map(Y=>{const Ve=Gi(Y,h);return we(function Ur(h){return h&&fr(h.canLoad)}(Ve)?Ve.canLoad(m,d):h.runInContext(()=>Ve(m,d)))});return(0,E.of)(B).pipe(cn(),Do())}(m,d,v).pipe((0,fe.z)(S=>S?this.configLoader.loadChildren(m,d).pipe((0,U.b)(B=>{d._loadedRoutes=B.routes,d._loadedInjector=B.injector})):function rs(h){return(0,ee._)(es(Hr,3))}())):(0,E.of)({routes:[],injector:m})}lineralizeSegments(m,d){let v=[],S=d.root;for(;;){if(v=v.concat(S.segments),0===S.numberOfChildren)return(0,E.of)(v);if(S.numberOfChildren>1||!S.children[ze])return(0,ee._)(new o.vHH(4e3,Hr));S=S.children[ze]}}applyRedirectCommands(m,d,v){return this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),m,v)}applyRedirectCreateUrlTree(m,d,v,S){const B=this.createSegmentGroup(m,d.root,v,S);return new Et(B,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(m,d){const v={};return le(m,(S,B)=>{if("string"==typeof S&&S.startsWith(":")){const Ve=S.substring(1);v[B]=d[Ve]}else v[B]=S}),v}createSegmentGroup(m,d,v,S){const B=this.createSegments(m,d.segments,v,S);let Y={};return le(d.children,(Ve,Mt)=>{Y[Mt]=this.createSegmentGroup(m,Ve,v,S)}),new me(B,Y)}createSegments(m,d,v,S){return d.map(B=>B.path.startsWith(":")?this.findPosParam(m,B,S):this.findOrReturn(B,v))}findPosParam(m,d,v){const S=v[d.path.substring(1)];if(!S)throw new o.vHH(4001,Hr);return S}findOrReturn(m,d){let v=0;for(const S of d){if(S.path===m.path)return d.splice(v),S;v++}return m}}class Is{}class $n{constructor(m,d,v,S,B,Y,Ve){this.injector=m,this.rootComponentType=d,this.config=v,this.urlTree=S,this.url=B,this.paramsInheritanceStrategy=Y,this.urlSerializer=Ve}recognize(){const m=rr(this.urlTree.root,[],[],this.config.filter(d=>void 0===d.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,m,ze).pipe((0,Re.U)(d=>{if(null===d)return null;const v=new cr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ze,this.rootComponentType,null,this.urlTree.root,-1,{}),S=new Mn(v,d),B=new kr(this.url,S);return this.inheritParamsAndData(B._root),B}))}inheritParamsAndData(m){const d=m.value,v=xr(d,this.paramsInheritanceStrategy);d.params=Object.freeze(v.params),d.data=Object.freeze(v.data),m.children.forEach(S=>this.inheritParamsAndData(S))}processSegmentGroup(m,d,v,S){return 0===v.segments.length&&v.hasChildren()?this.processChildren(m,d,v):this.processSegment(m,d,v,v.segments,S)}processChildren(m,d,v){return(0,a.D)(Object.keys(v.children)).pipe((0,F.b)(S=>{const B=v.children[S],Y=zn(d,S);return this.processSegmentGroup(m,Y,B,S)}),(0,Oe.R)((S,B)=>S&&B?(S.push(...B),S):null),(0,nt.o)(S=>null!==S),(0,St.d)(null),Ze(),(0,Re.U)(S=>{if(null===S)return null;const B=zo(S);return function wo(h){h.sort((m,d)=>m.value.outlet===ze?-1:d.value.outlet===ze?1:m.value.outlet.localeCompare(d.value.outlet))}(B),B}))}processSegment(m,d,v,S,B){return(0,a.D)(d).pipe((0,F.b)(Y=>this.processSegmentAgainstRoute(Y._injector??m,Y,v,S,B)),(0,N.P)(Y=>!!Y),(0,ce.K)(Y=>{if(Wn(Y))return ro(v,S,B)?(0,E.of)([]):(0,E.of)(null);throw Y}))}processSegmentAgainstRoute(m,d,v,S,B){if(d.redirectTo||!Co(d,v,S,B))return(0,E.of)(null);let Y;if("**"===d.path){const Ve=S.length>0?qe(S).parameters:{},Mt=Mo(v)+S.length,Wt=new cr(S,Ve,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,O(d),oi(d),d.component??d._loadedComponent??null,d,as(v),Mt,D(d));Y=(0,E.of)({snapshot:Wt,consumedSegments:[],remainingSegments:[]})}else Y=Pi(v,d,S,m).pipe((0,Re.U)(({matched:Ve,consumedSegments:Mt,remainingSegments:Wt,parameters:Vt})=>{if(!Ve)return null;const Ln=Mo(v)+Mt.length;return{snapshot:new cr(Mt,Vt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,O(d),oi(d),d.component??d._loadedComponent??null,d,as(v),Ln,D(d)),consumedSegments:Mt,remainingSegments:Wt}}));return Y.pipe((0,Me.w)(Ve=>{if(null===Ve)return(0,E.of)(null);const{snapshot:Mt,consumedSegments:Wt,remainingSegments:Vt}=Ve;m=d._injector??m;const Ln=d._loadedInjector??m,ri=function Os(h){return h.children?h.children:h.loadChildren?h._loadedRoutes:[]}(d),{segmentGroup:Wo,slicedSegments:zr}=rr(v,Wt,Vt,ri.filter(Tr=>void 0===Tr.redirectTo));if(0===zr.length&&Wo.hasChildren())return this.processChildren(Ln,ri,Wo).pipe((0,Re.U)(Tr=>null===Tr?null:[new Mn(Mt,Tr)]));if(0===ri.length&&0===zr.length)return(0,E.of)([new Mn(Mt,[])]);const Yo=oi(d)===B;return this.processSegment(Ln,ri,Wo,zr,Yo?ze:B).pipe((0,Re.U)(Tr=>null===Tr?null:[new Mn(Mt,Tr)]))}))}}function ps(h){const m=h.value.routeConfig;return m&&""===m.path&&void 0===m.redirectTo}function zo(h){const m=[],d=new Set;for(const v of h){if(!ps(v)){m.push(v);continue}const S=m.find(B=>v.value.routeConfig===B.value.routeConfig);void 0!==S?(S.children.push(...v.children),d.add(S)):m.push(v)}for(const v of d){const S=zo(v.children);m.push(new Mn(v.value,S))}return m.filter(v=>!d.has(v))}function as(h){let m=h;for(;m._sourceSegment;)m=m._sourceSegment;return m}function Mo(h){let m=h,d=m._segmentIndexShift??0;for(;m._sourceSegment;)m=m._sourceSegment,d+=m._segmentIndexShift??0;return d-1}function O(h){return h.data||{}}function D(h){return h.resolve||{}}function bn(h){return"string"==typeof h.title||null===h.title}function An(h){return(0,Me.w)(m=>{const d=h(m);return d?(0,a.D)(d).pipe((0,Re.U)(()=>m)):(0,E.of)(m)})}const Sn=new o.OlP("ROUTES");let ii=(()=>{class h{constructor(d,v){this.injector=d,this.compiler=v,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,E.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const v=we(d.loadComponent()).pipe((0,Re.U)(Si),(0,U.b)(B=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=B}),(0,vt.x)(()=>{this.componentLoaders.delete(d)})),S=new ke.c(v,()=>new xe.x).pipe((0,We.x)());return this.componentLoaders.set(d,S),S}loadChildren(d,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,E.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const B=this.loadModuleFactoryOrRoutes(v.loadChildren).pipe((0,Re.U)(Ve=>{this.onLoadEndListener&&this.onLoadEndListener(v);let Mt,Wt,Vt=!1;Array.isArray(Ve)?Wt=Ve:(Mt=Ve.create(d).injector,Wt=Ne(Mt.get(Sn,[],o.XFs.Self|o.XFs.Optional)));return{routes:Wt.map(lr),injector:Mt}}),(0,vt.x)(()=>{this.childrenLoaders.delete(v)})),Y=new ke.c(B,()=>new xe.x).pipe((0,We.x)());return this.childrenLoaders.set(v,Y),Y}loadModuleFactoryOrRoutes(d){return we(d()).pipe((0,Re.U)(Si),(0,fe.z)(S=>S instanceof o.YKP||Array.isArray(S)?(0,E.of)(S):(0,a.D)(this.compiler.compileModuleAsync(S))))}}return h.\u0275fac=function(d){return new(d||h)(o.LFG(o.zs3),o.LFG(o.Sil))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function Si(h){return function Ui(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let xi=(()=>{class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new xe.x,this.configLoader=(0,o.f3M)(ii),this.environmentInjector=(0,o.f3M)(o.lqb),this.urlSerializer=(0,o.f3M)(Fe),this.rootContexts=(0,o.f3M)(wr),this.navigationId=0,this.afterPreactivation=()=>(0,E.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new yr(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new Kn(S))}complete(){this.transitions?.complete()}handleNavigationRequest(d){const v=++this.navigationId;this.transitions?.next({...this.transitions.value,...d,id:v})}setupNavigations(d){return this.transitions=new W.X({id:0,targetPageId:0,currentUrlTree:d.currentUrlTree,currentRawUrl:d.currentUrlTree,extractedUrl:d.urlHandlingStrategy.extract(d.currentUrlTree),urlAfterRedirects:d.urlHandlingStrategy.extract(d.currentUrlTree),rawUrl:d.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ti,restoredState:null,currentSnapshot:d.routerState.snapshot,targetSnapshot:null,currentRouterState:d.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ge.h)(v=>0!==v.id),(0,Re.U)(v=>({...v,extractedUrl:d.urlHandlingStrategy.extract(v.rawUrl)})),(0,Me.w)(v=>{let S=!1,B=!1;return(0,E.of)(v).pipe((0,U.b)(Y=>{this.currentNavigation={id:Y.id,initialUrl:Y.rawUrl,extractedUrl:Y.extractedUrl,trigger:Y.source,extras:Y.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Me.w)(Y=>{const Ve=d.browserUrlTree.toString(),Mt=!d.navigated||Y.extractedUrl.toString()!==Ve||Ve!==d.currentUrlTree.toString();if(!Mt&&"reload"!==(Y.extras.onSameUrlNavigation??d.onSameUrlNavigation)){const Vt="";return this.events.next(new li(Y.id,d.serializeUrl(v.rawUrl),Vt,0)),d.rawUrlTree=Y.rawUrl,Y.resolve(null),te.E}if(d.urlHandlingStrategy.shouldProcessUrl(Y.rawUrl))return so(Y.source)&&(d.browserUrlTree=Y.extractedUrl),(0,E.of)(Y).pipe((0,Me.w)(Vt=>{const Ln=this.transitions?.getValue();return this.events.next(new Nn(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),Vt.source,Vt.restoredState)),Ln!==this.transitions?.getValue()?te.E:Promise.resolve(Vt)}),function Mr(h,m,d,v){return(0,Me.w)(S=>function os(h,m,d,v,S){return new Fi(h,m,d,v,S).apply()}(h,m,d,S.extractedUrl,v).pipe((0,Re.U)(B=>({...S,urlAfterRedirects:B}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,d.config),(0,U.b)(Vt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Vt.urlAfterRedirects},v.urlAfterRedirects=Vt.urlAfterRedirects}),function H(h,m,d,v,S){return(0,fe.z)(B=>function Ar(h,m,d,v,S,B,Y="emptyOnly"){return new $n(h,m,d,v,S,Y,B).recognize().pipe((0,Me.w)(Ve=>null===Ve?function gi(h){return new he.y(m=>m.error(h))}(new Is):(0,E.of)(Ve)))}(h,m,d,B.urlAfterRedirects,v.serialize(B.urlAfterRedirects),v,S).pipe((0,Re.U)(Y=>({...B,targetSnapshot:Y}))))}(this.environmentInjector,this.rootComponentType,d.config,this.urlSerializer,d.paramsInheritanceStrategy),(0,U.b)(Vt=>{if(v.targetSnapshot=Vt.targetSnapshot,"eager"===d.urlUpdateStrategy){if(!Vt.extras.skipLocationChange){const ri=d.urlHandlingStrategy.merge(Vt.urlAfterRedirects,Vt.rawUrl);d.setBrowserUrl(ri,Vt)}d.browserUrlTree=Vt.urlAfterRedirects}const Ln=new an(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot);this.events.next(Ln)}));if(Mt&&d.urlHandlingStrategy.shouldProcessUrl(d.rawUrlTree)){const{id:Vt,extractedUrl:Ln,source:ri,restoredState:Wo,extras:zr}=Y,Yo=new Nn(Vt,this.urlSerializer.serialize(Ln),ri,Wo);this.events.next(Yo);const Tr=ki(Ln,this.rootComponentType).snapshot;return v={...Y,targetSnapshot:Tr,urlAfterRedirects:Ln,extras:{...zr,skipLocationChange:!1,replaceUrl:!1}},(0,E.of)(v)}{const Vt="";return this.events.next(new li(Y.id,d.serializeUrl(v.extractedUrl),Vt,1)),d.rawUrlTree=Y.rawUrl,Y.resolve(null),te.E}}),(0,U.b)(Y=>{const Ve=new br(Y.id,this.urlSerializer.serialize(Y.extractedUrl),this.urlSerializer.serialize(Y.urlAfterRedirects),Y.targetSnapshot);this.events.next(Ve)}),(0,Re.U)(Y=>v={...Y,guards:$i(Y.targetSnapshot,Y.currentSnapshot,this.rootContexts)}),function eo(h,m){return(0,fe.z)(d=>{const{targetSnapshot:v,currentSnapshot:S,guards:{canActivateChecks:B,canDeactivateChecks:Y}}=d;return 0===Y.length&&0===B.length?(0,E.of)({...d,guardsResult:!0}):function hs(h,m,d,v){return(0,a.D)(h).pipe((0,fe.z)(S=>function Ho(h,m,d,v,S){const B=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!B||0===B.length)return(0,E.of)(!0);const Y=B.map(Ve=>{const Mt=ir(m)??S,Wt=Gi(Ve,Mt);return we(function y(h){return h&&fr(h.canDeactivate)}(Wt)?Wt.canDeactivate(h,m,d,v):Mt.runInContext(()=>Wt(h,m,d,v))).pipe((0,N.P)())});return(0,E.of)(Y).pipe(cn())}(S.component,S.route,d,m,v)),(0,N.P)(S=>!0!==S,!0))}(Y,v,S,h).pipe((0,fe.z)(Ve=>Ve&&function on(h){return"boolean"==typeof h}(Ve)?function pi(h,m,d,v){return(0,a.D)(m).pipe((0,F.b)(S=>(0,re.z)(function to(h,m){return null!==h&&m&&m(new Oi(h)),(0,E.of)(!0)}(S.route.parent,v),function fs(h,m){return null!==h&&m&&m(new Bi(h)),(0,E.of)(!0)}(S.route,v),function ts(h,m,d){const v=m[m.length-1],B=m.slice(0,m.length-1).reverse().map(Y=>function Di(h){const m=h.routeConfig?h.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:h,guards:m}:null}(Y)).filter(Y=>null!==Y).map(Y=>(0,K.P)(()=>{const Ve=Y.guards.map(Mt=>{const Wt=ir(Y.node)??d,Vt=Gi(Mt,Wt);return we(function C(h){return h&&fr(h.canActivateChild)}(Vt)?Vt.canActivateChild(v,h):Wt.runInContext(()=>Vt(v,h))).pipe((0,N.P)())});return(0,E.of)(Ve).pipe(cn())}));return(0,E.of)(B).pipe(cn())}(h,S.path,d),function Wi(h,m,d){const v=m.routeConfig?m.routeConfig.canActivate:null;if(!v||0===v.length)return(0,E.of)(!0);const S=v.map(B=>(0,K.P)(()=>{const Y=ir(m)??d,Ve=Gi(B,Y);return we(function M(h){return h&&fr(h.canActivate)}(Ve)?Ve.canActivate(m,h):Y.runInContext(()=>Ve(m,h))).pipe((0,N.P)())}));return(0,E.of)(S).pipe(cn())}(h,S.route,d))),(0,N.P)(S=>!0!==S,!0))}(v,B,h,m):(0,E.of)(Ve)),(0,Re.U)(Ve=>({...d,guardsResult:Ve})))})}(this.environmentInjector,Y=>this.events.next(Y)),(0,U.b)(Y=>{if(v.guardsResult=Y.guardsResult,q(Y.guardsResult))throw Jo(0,Y.guardsResult);const Ve=new ji(Y.id,this.urlSerializer.serialize(Y.extractedUrl),this.urlSerializer.serialize(Y.urlAfterRedirects),Y.targetSnapshot,!!Y.guardsResult);this.events.next(Ve)}),(0,Ge.h)(Y=>!!Y.guardsResult||(d.restoreHistory(Y),this.cancelNavigationTransition(Y,"",3),!1)),An(Y=>{if(Y.guards.canActivateChecks.length)return(0,E.of)(Y).pipe((0,U.b)(Ve=>{const Mt=new qi(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(Mt)}),(0,Me.w)(Ve=>{let Mt=!1;return(0,E.of)(Ve).pipe(function ge(h,m){return(0,fe.z)(d=>{const{targetSnapshot:v,guards:{canActivateChecks:S}}=d;if(!S.length)return(0,E.of)(d);let B=0;return(0,a.D)(S).pipe((0,F.b)(Y=>function Je(h,m,d,v){const S=h.routeConfig,B=h._resolve;return void 0!==S?.title&&!bn(S)&&(B[Qe]=S.title),function gt(h,m,d,v){const S=function Gt(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}(h);if(0===S.length)return(0,E.of)({});const B={};return(0,a.D)(S).pipe((0,fe.z)(Y=>function Tn(h,m,d,v){const S=ir(m)??v,B=Gi(h,S);return we(B.resolve?B.resolve(m,d):S.runInContext(()=>B(m,d)))}(h[Y],m,d,v).pipe((0,N.P)(),(0,U.b)(Ve=>{B[Y]=Ve}))),ft(1),(0,ut.h)(B),(0,ce.K)(Y=>Wn(Y)?te.E:(0,ee._)(Y)))}(B,h,m,v).pipe((0,Re.U)(Y=>(h._resolvedData=Y,h.data=xr(h,d).resolve,S&&bn(S)&&(h.data[Qe]=S.title),null)))}(Y.route,v,h,m)),(0,U.b)(()=>B++),ft(1),(0,fe.z)(Y=>B===S.length?(0,E.of)(d):te.E))})}(d.paramsInheritanceStrategy,this.environmentInjector),(0,U.b)({next:()=>Mt=!0,complete:()=>{Mt||(d.restoreHistory(Ve),this.cancelNavigationTransition(Ve,"",2))}}))}),(0,U.b)(Ve=>{const Mt=new Ni(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(Mt)}))}),An(Y=>{const Ve=Mt=>{const Wt=[];Mt.routeConfig?.loadComponent&&!Mt.routeConfig._loadedComponent&&Wt.push(this.configLoader.loadComponent(Mt.routeConfig).pipe((0,U.b)(Vt=>{Mt.component=Vt}),(0,Re.U)(()=>{})));for(const Vt of Mt.children)Wt.push(...Ve(Vt));return Wt};return(0,G.a)(Ve(Y.targetSnapshot.root)).pipe((0,St.d)(),(0,rt.q)(1))}),An(()=>this.afterPreactivation()),(0,Re.U)(Y=>{const Ve=function Pr(h,m,d){const v=Ji(h,m._root,d?d._root:void 0);return new Or(v,m)}(d.routeReuseStrategy,Y.targetSnapshot,Y.currentRouterState);return v={...Y,targetRouterState:Ve}}),(0,U.b)(Y=>{d.currentUrlTree=Y.urlAfterRedirects,d.rawUrlTree=d.urlHandlingStrategy.merge(Y.urlAfterRedirects,Y.rawUrl),d.routerState=Y.targetRouterState,"deferred"===d.urlUpdateStrategy&&(Y.extras.skipLocationChange||d.setBrowserUrl(d.rawUrlTree,Y),d.browserUrlTree=Y.urlAfterRedirects)}),((h,m,d)=>(0,Re.U)(v=>(new di(m,v.targetRouterState,v.currentRouterState,d).activate(h),v)))(this.rootContexts,d.routeReuseStrategy,Y=>this.events.next(Y)),(0,U.b)({next:Y=>{S=!0,this.lastSuccessfulNavigation=this.currentNavigation,d.navigated=!0,this.events.next(new ci(Y.id,this.urlSerializer.serialize(Y.extractedUrl),this.urlSerializer.serialize(d.currentUrlTree))),d.titleStrategy?.updateTitle(Y.targetRouterState.snapshot),Y.resolve(!0)},complete:()=>{S=!0}}),(0,vt.x)(()=>{S||B||this.cancelNavigationTransition(v,"",1),this.currentNavigation?.id===v.id&&(this.currentNavigation=null)}),(0,ce.K)(Y=>{if(B=!0,Cr(Y)){Lr(Y)||(d.navigated=!0,d.restoreHistory(v,!0));const Ve=new mn(v.id,this.urlSerializer.serialize(v.extractedUrl),Y.message,Y.cancellationCode);if(this.events.next(Ve),Lr(Y)){const Mt=d.urlHandlingStrategy.merge(Y.url,d.rawUrlTree),Wt={skipLocationChange:v.extras.skipLocationChange,replaceUrl:"eager"===d.urlUpdateStrategy||so(v.source)};d.scheduleNavigation(Mt,ti,null,Wt,{resolve:v.resolve,reject:v.reject,promise:v.promise})}else v.resolve(!1)}else{d.restoreHistory(v,!0);const Ve=new Qi(v.id,this.urlSerializer.serialize(v.extractedUrl),Y,v.targetSnapshot??void 0);this.events.next(Ve);try{v.resolve(d.errorHandler(Y))}catch(Mt){v.reject(Mt)}}return te.E}))}))}cancelNavigationTransition(d,v,S){const B=new mn(d.id,this.urlSerializer.serialize(d.extractedUrl),v,S);this.events.next(B),d.resolve(!1)}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function so(h){return h!==ti}let Ao=(()=>{class h{buildTitle(d){let v,S=d.root;for(;void 0!==S;)v=this.getResolvedTitleForRoute(S)??v,S=S.children.find(B=>B.outlet===ze);return v}getResolvedTitleForRoute(d){return d.data[Qe]}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:function(){return(0,o.f3M)(ao)},providedIn:"root"}),h})(),ao=(()=>{class h extends Ao{constructor(d){super(),this.title=d}updateTitle(d){const v=this.buildTitle(d);void 0!==v&&this.title.setTitle(v)}}return h.\u0275fac=function(d){return new(d||h)(o.LFG(je.Dx))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),Rs=(()=>{class h{}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:function(){return(0,o.f3M)(gs)},providedIn:"root"}),h})();class cs{shouldDetach(m){return!1}store(m,d){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,d){return m.routeConfig===d.routeConfig}}let gs=(()=>{class h extends cs{}return h.\u0275fac=function(){let m;return function(v){return(m||(m=o.n5z(h)))(v||h)}}(),h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const _s=new o.OlP("",{providedIn:"root",factory:()=>({})});let Ps=(()=>{class h{}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:function(){return(0,o.f3M)(Fs)},providedIn:"root"}),h})(),Fs=(()=>{class h{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,v){return d}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function c(h){throw h}function l(h,m,d){return m.parse("/")}const _={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},k={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let $=(()=>{class h{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.f3M)(o.c2e),this.isNgZoneEnabled=!1,this.options=(0,o.f3M)(_s,{optional:!0})||{},this.errorHandler=this.options.errorHandler||c,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||l,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.f3M)(Ps),this.routeReuseStrategy=(0,o.f3M)(Rs),this.urlCreationStrategy=(0,o.f3M)(Ei),this.titleStrategy=(0,o.f3M)(Ao),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Ne((0,o.f3M)(Sn,{optional:!0})??[]),this.navigationTransitions=(0,o.f3M)(xi),this.urlSerializer=(0,o.f3M)(Fe),this.location=(0,o.f3M)(Se.Ye),this.isNgZoneEnabled=(0,o.f3M)(o.R0b)instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Et,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ki(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(d=>{this.lastSuccessfulId=d.id,this.currentPageId=d.targetPageId},d=>{this.console.warn(`Unhandled Navigation Error: ${d}`)})}resetRootComponentType(d){this.routerState.root.component=d,this.navigationTransitions.rootComponentType=d}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const d=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ti,d)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(d=>{const v="popstate"===d.type?"popstate":"hashchange";"popstate"===v&&setTimeout(()=>{this.navigateToSyncWithBrowser(d.url,v,d.state)},0)}))}navigateToSyncWithBrowser(d,v,S){const B={replaceUrl:!0},Y=S?.navigationId?S:null;if(S){const Mt={...S};delete Mt.navigationId,delete Mt.\u0275routerPageId,0!==Object.keys(Mt).length&&(B.state=Mt)}const Ve=this.parseUrl(d);this.scheduleNavigation(Ve,v,Y,B)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(d){this.config=d.map(lr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(d,v={}){const{relativeTo:S,queryParams:B,fragment:Y,queryParamsHandling:Ve,preserveFragment:Mt}=v,Wt=Mt?this.currentUrlTree.fragment:Y;let Vt=null;switch(Ve){case"merge":Vt={...this.currentUrlTree.queryParams,...B};break;case"preserve":Vt=this.currentUrlTree.queryParams;break;default:Vt=B||null}return null!==Vt&&(Vt=this.removeEmptyProps(Vt)),this.urlCreationStrategy.createUrlTree(S,this.routerState,this.currentUrlTree,d,Vt,Wt??null)}navigateByUrl(d,v={skipLocationChange:!1}){const S=q(d)?d:this.parseUrl(d),B=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(B,ti,null,v)}navigate(d,v={skipLocationChange:!1}){return function _e(h){for(let m=0;m{const B=d[S];return null!=B&&(v[S]=B),v},{})}scheduleNavigation(d,v,S,B,Y){if(this.disposed)return Promise.resolve(!1);let Ve,Mt,Wt,Vt;return Y?(Ve=Y.resolve,Mt=Y.reject,Wt=Y.promise):Wt=new Promise((Ln,ri)=>{Ve=Ln,Mt=ri}),Vt="computed"===this.canceledNavigationResolution?S&&S.\u0275routerPageId?S.\u0275routerPageId:B.replaceUrl||B.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Vt,source:v,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:d,extras:B,resolve:Ve,reject:Mt,promise:Wt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Wt.catch(Ln=>Promise.reject(Ln))}setBrowserUrl(d,v){const S=this.urlSerializer.serialize(d),B={...v.extras.state,...this.generateNgRouterState(v.id,v.targetPageId)};this.location.isCurrentPathEqualTo(S)||v.extras.replaceUrl?this.location.replaceState(S,"",B):this.location.go(S,"",B)}restoreHistory(d,v=!1){if("computed"===this.canceledNavigationResolution){const S=this.currentPageId-d.targetPageId;"popstate"!==d.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===S?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===S&&(this.resetState(d),this.browserUrlTree=d.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(S)}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=d.currentRouterState,this.currentUrlTree=d.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(d,v){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:v}:{navigationId:d}}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),Ce=(()=>{class h{constructor(d,v,S,B,Y,Ve){this.router=d,this.route=v,this.tabIndexAttribute=S,this.renderer=B,this.el=Y,this.locationStrategy=Ve,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new xe.x;const Mt=Y.nativeElement.tagName;this.isAnchorElement="A"===Mt||"AREA"===Mt,this.isAnchorElement?this.subscription=d.events.subscribe(Wt=>{Wt instanceof ci&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(d){this._preserveFragment=(0,o.D6c)(d)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(d){this._skipLocationChange=(0,o.D6c)(d)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(d){this._replaceUrl=(0,o.D6c)(d)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(d){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",d)}ngOnChanges(d){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(d){null!=d?(this.commands=Array.isArray(d)?d:[d],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(d,v,S,B,Y){return!!(null===this.urlTree||this.isAnchorElement&&(0!==d||v||S||B||Y||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const d=null===this.href?null:(0,o.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",d)}applyAttributeValue(d,v){const S=this.renderer,B=this.el.nativeElement;null!==v?S.setAttribute(B,d,v):S.removeAttribute(B,d)}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:this.preserveFragment})}}return h.\u0275fac=function(d){return new(d||h)(o.Y36($),o.Y36(Fn),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Se.S$))},h.\u0275dir=o.lG2({type:h,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(d,v){1&d&&o.NdJ("click",function(B){return v.onClick(B.button,B.ctrlKey,B.shiftKey,B.altKey,B.metaKey)}),2&d&&o.uIk("target",v.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[o.TTD]}),h})(),Ke=(()=>{class h{get isActive(){return this._isActive}constructor(d,v,S,B,Y){this.router=d,this.element=v,this.renderer=S,this.cdr=B,this.link=Y,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.vpe,this.routerEventsSubscription=d.events.subscribe(Ve=>{Ve instanceof ci&&this.update()})}ngAfterContentInit(){(0,E.of)(this.links.changes,(0,E.of)(null)).pipe((0,ot.J)()).subscribe(d=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const d=[...this.links.toArray(),this.link].filter(v=>!!v).map(v=>v.onChanges);this.linkInputChangesSubscription=(0,a.D)(d).pipe((0,ot.J)()).subscribe(v=>{this._isActive!==this.isLinkActive(this.router)(v)&&this.update()})}set routerLinkActive(d){const v=Array.isArray(d)?d:d.split(" ");this.classes=v.filter(S=>!!S)}ngOnChanges(d){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const d=this.hasActiveLinks();this._isActive!==d&&(this._isActive=d,this.cdr.markForCheck(),this.classes.forEach(v=>{d?this.renderer.addClass(this.element.nativeElement,v):this.renderer.removeClass(this.element.nativeElement,v)}),d&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(d))})}isLinkActive(d){const v=function Dt(h){return!!h.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return S=>!!S.urlTree&&d.isActive(S.urlTree,v)}hasActiveLinks(){const d=this.isLinkActive(this.router);return this.link&&d(this.link)||this.links.some(d)}}return h.\u0275fac=function(d){return new(d||h)(o.Y36($),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.sBO),o.Y36(Ce,8))},h.\u0275dir=o.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(d,v,S){if(1&d&&o.Suo(S,Ce,5),2&d){let B;o.iGM(B=o.CRH())&&(v.links=B)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.TTD]}),h})();class Ut{}let hn=(()=>{class h{constructor(d,v,S,B,Y){this.router=d,this.injector=S,this.preloadingStrategy=B,this.loader=Y}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ge.h)(d=>d instanceof ci),(0,F.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,v){const S=[];for(const B of v){B.providers&&!B._injector&&(B._injector=(0,o.MMx)(B.providers,d,`Route: ${B.path}`));const Y=B._injector??d,Ve=B._loadedInjector??Y;B.loadChildren&&!B._loadedRoutes&&void 0===B.canLoad||B.loadComponent&&!B._loadedComponent?S.push(this.preloadConfig(Y,B)):(B.children||B._loadedRoutes)&&S.push(this.processRoutes(Ve,B.children??B._loadedRoutes))}return(0,a.D)(S).pipe((0,ot.J)())}preloadConfig(d,v){return this.preloadingStrategy.preload(v,()=>{let S;S=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(d,v):(0,E.of)(null);const B=S.pipe((0,fe.z)(Y=>null===Y?(0,E.of)(void 0):(v._loadedRoutes=Y.routes,v._loadedInjector=Y.injector,this.processRoutes(Y.injector??d,Y.routes))));if(v.loadComponent&&!v._loadedComponent){const Y=this.loader.loadComponent(v);return(0,a.D)([B,Y]).pipe((0,ot.J)())}return B})}}return h.\u0275fac=function(d){return new(d||h)(o.LFG($),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(Ut),o.LFG(ii))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const Qt=new o.OlP("");let Jt=(()=>{class h{constructor(d,v,S,B,Y={}){this.urlSerializer=d,this.transitions=v,this.viewportScroller=S,this.zone=B,this.options=Y,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Y.scrollPositionRestoration=Y.scrollPositionRestoration||"disabled",Y.anchorScrolling=Y.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof Nn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof ci&&(this.lastId=d.id,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof kn&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(d,v){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new kn(d,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return h.\u0275fac=function(d){o.$Z()},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac}),h})();function jn(h,m){return{\u0275kind:h,\u0275providers:m}}function sr(){const h=(0,o.f3M)(o.zs3);return m=>{const d=h.get(o.z2F);if(m!==d.components[0])return;const v=h.get($),S=h.get(Yi);1===h.get(Ci)&&v.initialNavigation(),h.get($o,null,o.XFs.Optional)?.setUpPreloading(),h.get(Qt,null,o.XFs.Optional)?.init(),v.resetRootComponentType(d.componentTypes[0]),S.closed||(S.next(),S.unsubscribe())}}const Yi=new o.OlP("",{factory:()=>new xe.x}),Ci=new o.OlP("",{providedIn:"root",factory:()=>1});const $o=new o.OlP("");function uo(h){return jn(0,[{provide:$o,useExisting:hn},{provide:Ut,useExisting:h}])}const _i=new o.OlP("ROUTER_FORROOT_GUARD"),Sr=[Se.Ye,{provide:Fe,useClass:At},$,wr,{provide:Fn,useFactory:function si(h){return h.routerState.root},deps:[$]},ii,[]];function Ki(){return new o.PXZ("Router",$)}let ho=(()=>{class h{constructor(d){}static forRoot(d,v){return{ngModule:h,providers:[Sr,[],{provide:Sn,multi:!0,useValue:d},{provide:_i,useFactory:Ti,deps:[[$,new o.FiY,new o.tp0]]},{provide:_s,useValue:v||{}},v?.useHash?{provide:Se.S$,useClass:Se.Do}:{provide:Se.S$,useClass:Se.b0},{provide:Qt,useFactory:()=>{const h=(0,o.f3M)(Se.EM),m=(0,o.f3M)(o.R0b),d=(0,o.f3M)(_s),v=(0,o.f3M)(xi),S=(0,o.f3M)(Fe);return d.scrollOffset&&h.setOffset(d.scrollOffset),new Jt(S,v,h,m,d)}},v?.preloadingStrategy?uo(v.preloadingStrategy).\u0275providers:[],{provide:o.PXZ,multi:!0,useFactory:Ki},v?.initialNavigation?So(v):[],[{provide:On,useFactory:sr},{provide:o.tb,multi:!0,useExisting:On}]]}}static forChild(d){return{ngModule:h,providers:[{provide:Sn,multi:!0,useValue:d}]}}}return h.\u0275fac=function(d){return new(d||h)(o.LFG(_i,8))},h.\u0275mod=o.oAB({type:h}),h.\u0275inj=o.cJS({imports:[Nr]}),h})();function Ti(h){return"guarded"}function So(h){return["disabled"===h.initialNavigation?jn(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const m=(0,o.f3M)($);return()=>{m.setUpLocationChangeListener()}}},{provide:Ci,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?jn(2,[{provide:Ci,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:m=>{const d=m.get(Se.V_,Promise.resolve());return()=>d.then(()=>new Promise(S=>{const B=m.get($),Y=m.get(Yi);(function v(S){m.get($).events.pipe((0,Ge.h)(Y=>Y instanceof ci||Y instanceof mn||Y instanceof Qi),(0,Re.U)(Y=>Y instanceof ci||Y instanceof mn&&(0===Y.code||1===Y.code)&&null),(0,Ge.h)(Y=>null!==Y),(0,rt.q)(1)).subscribe(()=>{S()})})(()=>{S(!0)}),m.get(xi).afterPreactivation=()=>(S(!0),Y.closed?(0,E.of)(void 0):Y),B.initialNavigation()}))}}]).\u0275providers:[]]}const On=new o.OlP("")},4700:(_t,De,f)=>{"use strict";f.d(De,{a:()=>Me,lQ:()=>fe,wT:()=>Se});var o=f(4650),a=f(6895),E=f(9646),W=f(1135),Q=f(4006);const G=new o.OlP("recaptcha-language"),re=new o.OlP("recaptcha-base-url"),K=new o.OlP("recaptcha-nonce-tag"),Z=new o.OlP("recaptcha-settings"),ee=new o.OlP("recaptcha-v3-site-key"),te_loadScript=function he(N,F,U,ce,Oe){window.ng2recaptchaloaded=()=>{F(grecaptcha)};const Ue=document.createElement("script");Ue.innerHTML="",Ue.src=`${ce||"https://www.google.com/recaptcha/api.js"}?render=${N}&onload=ng2recaptchaloaded${U}`,Oe&&(Ue.nonce=Oe),Ue.async=!0,Ue.defer=!0,document.head.appendChild(Ue)};let ke=(()=>{class N{constructor(U,ce,Oe,Ue,at){this.platformId=U,this.language=ce,this.baseUrl=Oe,this.nonce=Ue,this.v3SiteKey=at,this.init(),this.ready=(0,a.NF)(this.platformId)?N.ready.asObservable():(0,E.of)()}init(){if(!N.ready&&(0,a.NF)(this.platformId)){const U=new W.X(null);N.ready=U,te_loadScript(this.v3SiteKey||"explicit",Ue=>U.next(Ue),this.language?"&hl="+this.language:"",this.baseUrl,this.nonce)}}}return N.ready=null,N.\u0275fac=function(U){return new(U||N)(o.LFG(o.Lbi),o.LFG(G,8),o.LFG(re,8),o.LFG(K,8),o.LFG(ee,8))},N.\u0275prov=o.Yz7({token:N,factory:N.\u0275fac}),N})(),xe=0,Se=(()=>{class N{constructor(U,ce,Oe,Ue){this.elementRef=U,this.loader=ce,this.zone=Oe,this.id="ngrecaptcha-"+xe++,this.errorMode="default",this.resolved=new o.vpe,this.error=new o.vpe,this.errored=new o.vpe,Ue&&(this.siteKey=Ue.siteKey,this.theme=Ue.theme,this.type=Ue.type,this.size=Ue.size,this.badge=Ue.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(U=>{null!=U&&U.render instanceof Function&&(this.grecaptcha=U,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return null!=this.widget?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(U){this.error.emit(U),this.errored.emit(U)}captchaResponseCallback(U){this.resolved.emit(U)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const U={badge:this.badge,callback:ce=>{this.zone.run(()=>this.captchaResponseCallback(ce))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(U["error-callback"]=(...ce)=>{this.zone.run(()=>this.onError(ce))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,U),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}}return N.\u0275fac=function(U){return new(U||N)(o.Y36(o.SBq),o.Y36(ke),o.Y36(o.R0b),o.Y36(Z,8))},N.\u0275cmp=o.Xpm({type:N,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(U,ce){2&U&&o.uIk("id",ce.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(U,ce){},encapsulation:2}),N})(),Re=(()=>{class N{}return N.\u0275fac=function(U){return new(U||N)},N.\u0275mod=o.oAB({type:N}),N.\u0275inj=o.cJS({}),N})(),Me=(()=>{class N{}return N.\u0275fac=function(U){return new(U||N)},N.\u0275mod=o.oAB({type:N}),N.\u0275inj=o.cJS({providers:[ke],imports:[Re]}),N})(),fe=(()=>{class N{}return N.\u0275fac=function(U){return new(U||N)},N.\u0275mod=o.oAB({type:N}),N.\u0275inj=o.cJS({imports:[Q.u5,Re]}),N})()},5657:(_t,De,f)=>{"use strict";f.d(De,{N:()=>E});var o=f(4650),a=f(6895);let E=(()=>{class W{constructor(G,re){this.document=G,this.platformId=re,this.documentIsAccessible=(0,a.NF)(this.platformId)}static getCookieRegExp(G){const re=G.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+re+"|;\\s*"+re+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(G){try{return decodeURIComponent(G)}catch{return G}}check(G){return!!this.documentIsAccessible&&(G=encodeURIComponent(G),W.getCookieRegExp(G).test(this.document.cookie))}get(G){if(this.documentIsAccessible&&this.check(G)){G=encodeURIComponent(G);const K=W.getCookieRegExp(G).exec(this.document.cookie);return K[1]?W.safeDecodeURIComponent(K[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const G={},re=this.document;return re.cookie&&""!==re.cookie&&re.cookie.split(";").forEach(K=>{const[Z,ee]=K.split("=");G[W.safeDecodeURIComponent(Z.replace(/^ /,""))]=W.safeDecodeURIComponent(ee)}),G}set(G,re,K,Z,ee,he,te){if(!this.documentIsAccessible)return;if("number"==typeof K||K instanceof Date||Z||ee||he||te)return void this.set(G,re,{expires:K,path:Z,domain:ee,secure:he,sameSite:te||"Lax"});let ke=encodeURIComponent(G)+"="+encodeURIComponent(re)+";";const xe=K||{};xe.expires&&(ke+="number"==typeof xe.expires?"expires="+new Date((new Date).getTime()+1e3*xe.expires*60*60*24).toUTCString()+";":"expires="+xe.expires.toUTCString()+";"),xe.path&&(ke+="path="+xe.path+";"),xe.domain&&(ke+="domain="+xe.domain+";"),!1===xe.secure&&"None"===xe.sameSite&&(xe.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${G} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),xe.secure&&(ke+="secure;"),xe.sameSite||(xe.sameSite="Lax"),ke+="sameSite="+xe.sameSite+";",this.document.cookie=ke}delete(G,re,K,Z,ee="Lax"){if(!this.documentIsAccessible)return;const he=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(G,"",{expires:he,path:re,domain:K,secure:Z,sameSite:ee})}deleteAll(G,re,K,Z="Lax"){if(!this.documentIsAccessible)return;const ee=this.getAll();for(const he in ee)ee.hasOwnProperty(he)&&this.delete(he,G,re,K,Z)}}return W.\u0275fac=function(G){return new(G||W)(o.LFG(a.K0),o.LFG(o.Lbi))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})()},5085:(_t,De,f)=>{"use strict";f.d(De,{s:()=>qt,H:()=>Zn});var o={};f.r(o),f.d(o,{Decoder:()=>fi,Encoder:()=>yn,PacketType:()=>xt,protocol:()=>Yt});var a={};f.r(a),f.d(a,{Manager:()=>Te,Socket:()=>Ee,connect:()=>Nt,default:()=>Nt,io:()=>Nt,protocol:()=>Yt});var E=f(4650),W=f(9751),Q=f(3099);const G=Object.create(null);G.open="0",G.close="1",G.ping="2",G.pong="3",G.message="4",G.upgrade="5",G.noop="6";const re=Object.create(null);Object.keys(G).forEach(ie=>{re[G[ie]]=ie});const K={type:"error",data:"parser error"},Z="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),ee="function"==typeof ArrayBuffer,ke=(ie,R)=>{const P=new FileReader;return P.onload=function(){const X=P.result.split(",")[1];R("b"+(X||""))},P.readAsDataURL(ie)},xe=({type:ie,data:R},P,X)=>Z&&R instanceof Blob?P?X(R):ke(R,X):ee&&(R instanceof ArrayBuffer||(ie=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(ie):ie&&ie.buffer instanceof ArrayBuffer)(R))?P?X(R):ke(new Blob([R]),X):X(G[ie]+(R||"")),Se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Re=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let ie=0;ie{if(tt){const P=(ie=>{let X,Pt,tn,Kt,Dn,R=.75*ie.length,P=ie.length,Ye=0;"="===ie[ie.length-1]&&(R--,"="===ie[ie.length-2]&&R--);const Pn=new ArrayBuffer(R),Yn=new Uint8Array(Pn);for(X=0;X>4,Yn[Ye++]=(15&tn)<<4|Kt>>2,Yn[Ye++]=(3&Kt)<<6|63&Dn;return Pn})(ie);return N(P,R)}return{base64:!0,data:ie}},N=(ie,R)=>"blob"===R&&ie instanceof ArrayBuffer?new Blob([ie]):ie,F=(ie,R)=>{if("string"!=typeof ie)return{type:"message",data:N(ie,R)};const P=ie.charAt(0);return"b"===P?{type:"message",data:fe(ie.substring(1),R)}:re[P]?ie.length>1?{type:re[P],data:ie.substring(1)}:{type:re[P]}:K},U=String.fromCharCode(30);function at(ie){if(ie)return function ft(ie){for(var R in at.prototype)ie[R]=at.prototype[R];return ie}(ie)}at.prototype.on=at.prototype.addEventListener=function(ie,R){return this._callbacks=this._callbacks||{},(this._callbacks["$"+ie]=this._callbacks["$"+ie]||[]).push(R),this},at.prototype.once=function(ie,R){function P(){this.off(ie,P),R.apply(this,arguments)}return P.fn=R,this.on(ie,P),this},at.prototype.off=at.prototype.removeListener=at.prototype.removeAllListeners=at.prototype.removeEventListener=function(ie,R){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var P=this._callbacks["$"+ie];if(!P)return this;if(1==arguments.length)return delete this._callbacks["$"+ie],this;for(var X,Ye=0;Ye(ie.hasOwnProperty(X)&&(P[X]=ie[X]),P),{})}const He=setTimeout,Ze=clearTimeout;function nt(ie,R){R.useNativeTimers?(ie.setTimeoutFn=He.bind(It),ie.clearTimeoutFn=Ze.bind(It)):(ie.setTimeoutFn=setTimeout.bind(It),ie.clearTimeoutFn=clearTimeout.bind(It))}function vt(ie){return"string"==typeof ie?function We(ie){let R=0,P=0;for(let X=0,Ye=ie.length;X=57344?P+=3:(X++,P+=4);return P}(ie):Math.ceil(1.33*(ie.byteLength||ie.size))}class ot extends Error{constructor(R,P,X){super(R),this.description=P,this.context=X,this.type="TransportError"}}class je extends at{constructor(R){super(),this.writable=!1,nt(this,R),this.opts=R,this.query=R.query,this.readyState="",this.socket=R.socket}onError(R,P,X){return super.emitReserved("error",new ot(R,P,X)),this}open(){return("closed"===this.readyState||""===this.readyState)&&(this.readyState="opening",this.doOpen()),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(R){"open"===this.readyState&&this.write(R)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(R){const P=F(R,this.socket.binaryType);this.onPacket(P)}onPacket(R){super.emitReserved("packet",R)}onClose(R){this.readyState="closed",super.emitReserved("close",R)}}const ze="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),kt={};let bt,ye=0,Le=0;function Ct(ie){let R="";do{R=ze[ie%64]+R,ie=Math.floor(ie/64)}while(ie>0);return R}function Ne(){const ie=Ct(+new Date);return ie!==bt?(ye=0,bt=ie):ie+"."+Ct(ye++)}for(;Le<64;Le++)kt[ze[Le]]=Le;function qe(ie){let R="";for(let P in ie)ie.hasOwnProperty(P)&&(R.length&&(R+="&"),R+=encodeURIComponent(P)+"="+encodeURIComponent(ie[P]));return R}let le=!1;try{le=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const we=le;function ne(ie){const R=ie.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!R||we))return new XMLHttpRequest}catch{}if(!R)try{return new(It[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch{}}function Pe(){}const pt=null!=new ne({xdomain:!1}).responseType;let L=(()=>{class ie extends at{constructor(P,X){super(),nt(this,X),this.opts=X,this.method=X.method||"GET",this.uri=P,this.async=!1!==X.async,this.data=void 0!==X.data?X.data:null,this.create()}create(){const P=St(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");P.xdomain=!!this.opts.xd,P.xscheme=!!this.opts.xs;const X=this.xhr=new ne(P);try{X.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){X.setDisableHeaderCheck&&X.setDisableHeaderCheck(!0);for(let Ye in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(Ye)&&X.setRequestHeader(Ye,this.opts.extraHeaders[Ye])}}catch{}if("POST"===this.method)try{X.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{X.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in X&&(X.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(X.timeout=this.opts.requestTimeout),X.onreadystatechange=()=>{4===X.readyState&&(200===X.status||1223===X.status?this.onLoad():this.setTimeoutFn(()=>{this.onError("number"==typeof X.status?X.status:0)},0))},X.send(this.data)}catch(Ye){return void this.setTimeoutFn(()=>{this.onError(Ye)},0)}typeof document<"u"&&(this.index=ie.requestsCount++,ie.requests[this.index]=this)}onError(P){this.emitReserved("error",P,this.xhr),this.cleanup(!0)}cleanup(P){if(!(typeof this.xhr>"u"||null===this.xhr)){if(this.xhr.onreadystatechange=Pe,P)try{this.xhr.abort()}catch{}typeof document<"u"&&delete ie.requests[this.index],this.xhr=null}}onLoad(){const P=this.xhr.responseText;null!==P&&(this.emitReserved("data",P),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}return ie.requestsCount=0,ie.requests={},ie})();function se(){for(let ie in L.requests)L.requests.hasOwnProperty(ie)&&L.requests[ie].abort()}typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",se):"function"==typeof addEventListener&&addEventListener("onpagehide"in It?"pagehide":"unload",se,!1));const ue="function"==typeof Promise&&"function"==typeof Promise.resolve?R=>Promise.resolve().then(R):(R,P)=>P(R,0),Be=It.WebSocket||It.MozWebSocket,Et=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),lt={websocket:class me extends je{constructor(R){super(R),this.supportsBinary=!R.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const R=this.uri(),P=this.opts.protocols,X=Et?{}:St(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(X.headers=this.opts.extraHeaders);try{this.ws=Et?new Be(R,P,X):P?new Be(R,P):new Be(R)}catch(Ye){return this.emitReserved("error",Ye)}this.ws.binaryType=this.socket.binaryType||"arraybuffer",this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=R=>this.onClose({description:"websocket connection closed",context:R}),this.ws.onmessage=R=>this.onData(R.data),this.ws.onerror=R=>this.onError("websocket error",R)}write(R){this.writable=!1;for(let P=0;P{try{this.ws.send(Pt)}catch{}Ye&&ue(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let R=this.query||{};const P=this.opts.secure?"wss":"ws";let X="";this.opts.port&&("wss"===P&&443!==Number(this.opts.port)||"ws"===P&&80!==Number(this.opts.port))&&(X=":"+this.opts.port),this.opts.timestampRequests&&(R[this.opts.timestampParam]=Ne()),this.supportsBinary||(R.b64=1);const Ye=qe(R);return P+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+X+this.opts.path+(Ye.length?"?"+Ye:"")}check(){return!!Be}},polling:class de extends je{constructor(R){if(super(R),this.polling=!1,typeof location<"u"){const X="https:"===location.protocol;let Ye=location.port;Ye||(Ye=X?"443":"80"),this.xd=typeof location<"u"&&R.hostname!==location.hostname||Ye!==R.port,this.xs=R.secure!==X}this.supportsBinary=pt&&!(R&&R.forceBase64)}get name(){return"polling"}doOpen(){this.poll()}pause(R){this.readyState="pausing";const P=()=>{this.readyState="paused",R()};if(this.polling||!this.writable){let X=0;this.polling&&(X++,this.once("pollComplete",function(){--X||P()})),this.writable||(X++,this.once("drain",function(){--X||P()}))}else P()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(R){((ie,R)=>{const P=ie.split(U),X=[];for(let Ye=0;Ye{if("opening"===this.readyState&&"open"===X.type&&this.onOpen(),"close"===X.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(X)}),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const R=()=>{this.write([{type:"close"}])};"open"===this.readyState?R():this.once("open",R)}write(R){this.writable=!1,((ie,R)=>{const P=ie.length,X=new Array(P);let Ye=0;ie.forEach((Pt,tn)=>{xe(Pt,!1,Kt=>{X[tn]=Kt,++Ye===P&&R(X.join(U))})})})(R,P=>{this.doWrite(P,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let R=this.query||{};const P=this.opts.secure?"https":"http";let X="";!1!==this.opts.timestampRequests&&(R[this.opts.timestampParam]=Ne()),!this.supportsBinary&&!R.sid&&(R.b64=1),this.opts.port&&("https"===P&&443!==Number(this.opts.port)||"http"===P&&80!==Number(this.opts.port))&&(X=":"+this.opts.port);const Ye=qe(R);return P+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+X+this.opts.path+(Ye.length?"?"+Ye:"")}request(R={}){return Object.assign(R,{xd:this.xd,xs:this.xs},this.opts),new L(this.uri(),R)}doWrite(R,P){const X=this.request({method:"POST",data:R});X.on("success",P),X.on("error",(Ye,Pt)=>{this.onError("xhr post error",Ye,Pt)})}doPoll(){const R=this.request();R.on("data",this.onData.bind(this)),R.on("error",(P,X)=>{this.onError("xhr poll error",P,X)}),this.pollXhr=R}}},j=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ve=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function pe(ie){const R=ie,P=ie.indexOf("["),X=ie.indexOf("]");-1!=P&&-1!=X&&(ie=ie.substring(0,P)+ie.substring(P,X).replace(/:/g,";")+ie.substring(X,ie.length));let Ye=j.exec(ie||""),Pt={},tn=14;for(;tn--;)Pt[ve[tn]]=Ye[tn]||"";return-1!=P&&-1!=X&&(Pt.source=R,Pt.host=Pt.host.substring(1,Pt.host.length-1).replace(/;/g,":"),Pt.authority=Pt.authority.replace("[","").replace("]","").replace(/;/g,":"),Pt.ipv6uri=!0),Pt.pathNames=function Fe(ie,R){const X=R.replace(/\/{2,9}/g,"/").split("/");return("/"==R.slice(0,1)||0===R.length)&&X.splice(0,1),"/"==R.slice(-1)&&X.splice(X.length-1,1),X}(0,Pt.path),Pt.queryKey=function At(ie,R){const P={};return R.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(X,Ye,Pt){Ye&&(P[Ye]=Pt)}),P}(0,Pt.query),Pt}let wt=(()=>{class ie extends at{constructor(P,X={}){super(),P&&"object"==typeof P&&(X=P,P=null),P?(P=pe(P),X.hostname=P.host,X.secure="https"===P.protocol||"wss"===P.protocol,X.port=P.port,P.query&&(X.query=P.query)):X.host&&(X.hostname=pe(X.host).host),nt(this,X),this.secure=null!=X.secure?X.secure:typeof location<"u"&&"https:"===location.protocol,X.hostname&&!X.port&&(X.port=this.secure?"443":"80"),this.hostname=X.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=X.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=X.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},X),this.opts.path=this.opts.path.replace(/\/$/,"")+"/","string"==typeof this.opts.query&&(this.opts.query=function mt(ie){let R={},P=ie.split("&");for(let X=0,Ye=P.length;X{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(P){const X=Object.assign({},this.opts.query);X.EIO=4,X.transport=P,this.id&&(X.sid=this.id);const Ye=Object.assign({},this.opts.transportOptions[P],this.opts,{query:X,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new lt[P](Ye)}open(){let P;if(this.opts.rememberUpgrade&&ie.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))P="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);P=this.transports[0]}this.readyState="opening";try{P=this.createTransport(P)}catch{return this.transports.shift(),void this.open()}P.open(),this.setTransport(P)}setTransport(P){this.transport&&this.transport.removeAllListeners(),this.transport=P,P.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",X=>this.onClose("transport close",X))}probe(P){let X=this.createTransport(P),Ye=!1;ie.priorWebsocketSuccess=!1;const Pt=()=>{Ye||(X.send([{type:"ping",data:"probe"}]),X.once("packet",wn=>{if(!Ye)if("pong"===wn.type&&"probe"===wn.data){if(this.upgrading=!0,this.emitReserved("upgrading",X),!X)return;ie.priorWebsocketSuccess="websocket"===X.name,this.transport.pause(()=>{Ye||"closed"!==this.readyState&&(ei(),this.setTransport(X),X.send([{type:"upgrade"}]),this.emitReserved("upgrade",X),X=null,this.upgrading=!1,this.flush())})}else{const Lt=new Error("probe error");Lt.transport=X.name,this.emitReserved("upgradeError",Lt)}}))};function tn(){Ye||(Ye=!0,ei(),X.close(),X=null)}const Kt=wn=>{const Lt=new Error("probe error: "+wn);Lt.transport=X.name,tn(),this.emitReserved("upgradeError",Lt)};function Dn(){Kt("transport closed")}function Pn(){Kt("socket closed")}function Yn(wn){X&&wn.name!==X.name&&tn()}const ei=()=>{X.removeListener("open",Pt),X.removeListener("error",Kt),X.removeListener("close",Dn),this.off("close",Pn),this.off("upgrading",Yn)};X.once("open",Pt),X.once("error",Kt),X.once("close",Dn),this.once("close",Pn),this.once("upgrading",Yn),X.open()}onOpen(){if(this.readyState="open",ie.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){let P=0;const X=this.upgrades.length;for(;P{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const P=this.getWritablePackets();this.transport.send(P),this.prevBufferLen=P.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let X=1;for(let Ye=0;Ye0&&X>this.maxPayload)return this.writeBuffer.slice(0,Ye);X+=2}return this.writeBuffer}write(P,X,Ye){return this.sendPacket("message",P,X,Ye),this}send(P,X,Ye){return this.sendPacket("message",P,X,Ye),this}sendPacket(P,X,Ye,Pt){if("function"==typeof X&&(Pt=X,X=void 0),"function"==typeof Ye&&(Pt=Ye,Ye=null),"closing"===this.readyState||"closed"===this.readyState)return;(Ye=Ye||{}).compress=!1!==Ye.compress;const tn={type:P,data:X,options:Ye};this.emitReserved("packetCreate",tn),this.writeBuffer.push(tn),Pt&&this.once("flush",Pt),this.flush()}close(){const P=()=>{this.onClose("forced close"),this.transport.close()},X=()=>{this.off("upgrade",X),this.off("upgradeError",X),P()},Ye=()=>{this.once("upgrade",X),this.once("upgradeError",X)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?Ye():P()}):this.upgrading?Ye():P()),this}onError(P){ie.priorWebsocketSuccess=!1,this.emitReserved("error",P),this.onClose("transport error",P)}onClose(P,X){("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",P,X),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(P){const X=[];let Ye=0;const Pt=P.length;for(;Ye"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(ie):ie.buffer instanceof ArrayBuffer)(ie))||Ae&&ie instanceof Blob||I&&ie instanceof File}function A(ie,R){if(!ie||"object"!=typeof ie)return!1;if(Array.isArray(ie)){for(let P=0,X=ie.length;P=0&&ie.num{return(ie=xt||(xt={}))[ie.CONNECT=0]="CONNECT",ie[ie.DISCONNECT=1]="DISCONNECT",ie[ie.EVENT=2]="EVENT",ie[ie.ACK=3]="ACK",ie[ie.CONNECT_ERROR=4]="CONNECT_ERROR",ie[ie.BINARY_EVENT=5]="BINARY_EVENT",ie[ie.BINARY_ACK=6]="BINARY_ACK",xt;var ie})();class yn{constructor(R){this.replacer=R}encode(R){return R.type!==xt.EVENT&&R.type!==xt.ACK||!A(R)?[this.encodeAsString(R)]:this.encodeAsBinary({type:R.type===xt.EVENT?xt.BINARY_EVENT:xt.BINARY_ACK,nsp:R.nsp,data:R.data,id:R.id})}encodeAsString(R){let P=""+R.type;return(R.type===xt.BINARY_EVENT||R.type===xt.BINARY_ACK)&&(P+=R.attachments+"-"),R.nsp&&"/"!==R.nsp&&(P+=R.nsp+","),null!=R.id&&(P+=R.id),null!=R.data&&(P+=JSON.stringify(R.data,this.replacer)),P}encodeAsBinary(R){const P=J(R),X=this.encodeAsString(P.packet),Ye=P.buffers;return Ye.unshift(X),Ye}}class fi extends at{constructor(R){super(),this.reviver=R}add(R){let P;if("string"==typeof R){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");P=this.decodeString(R);const X=P.type===xt.BINARY_EVENT;X||P.type===xt.BINARY_ACK?(P.type=X?xt.EVENT:xt.ACK,this.reconstructor=new Cn(P),0===P.attachments&&super.emitReserved("decoded",P)):super.emitReserved("decoded",P)}else{if(!w(R)&&!R.base64)throw new Error("Unknown type: "+R);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");P=this.reconstructor.takeBinaryData(R),P&&(this.reconstructor=null,super.emitReserved("decoded",P))}}decodeString(R){let P=0;const X={type:Number(R.charAt(0))};if(void 0===xt[X.type])throw new Error("unknown packet type "+X.type);if(X.type===xt.BINARY_EVENT||X.type===xt.BINARY_ACK){const Pt=P+1;for(;"-"!==R.charAt(++P)&&P!=R.length;);const tn=R.substring(Pt,P);if(tn!=Number(tn)||"-"!==R.charAt(P))throw new Error("Illegal attachments");X.attachments=Number(tn)}if("/"===R.charAt(P+1)){const Pt=P+1;for(;++P&&","!==R.charAt(P)&&P!==R.length;);X.nsp=R.substring(Pt,P)}else X.nsp="/";const Ye=R.charAt(P+1);if(""!==Ye&&Number(Ye)==Ye){const Pt=P+1;for(;++P;){const tn=R.charAt(P);if(null==tn||Number(tn)!=tn){--P;break}if(P===R.length)break}X.id=Number(R.substring(Pt,P+1))}if(R.charAt(++P)){const Pt=this.tryParse(R.substr(P));if(!fi.isPayloadValid(X.type,Pt))throw new Error("invalid payload");X.data=Pt}return X}tryParse(R){try{return JSON.parse(R,this.reviver)}catch{return!1}}static isPayloadValid(R,P){switch(R){case xt.CONNECT:return"object"==typeof P;case xt.DISCONNECT:return void 0===P;case xt.CONNECT_ERROR:return"string"==typeof P||"object"==typeof P;case xt.EVENT:case xt.BINARY_EVENT:return Array.isArray(P)&&P.length>0;case xt.ACK:case xt.BINARY_ACK:return Array.isArray(P)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Cn{constructor(R){this.packet=R,this.buffers=[],this.reconPack=R}takeBinaryData(R){if(this.buffers.push(R),this.buffers.length===this.reconPack.attachments){const P=it(this.reconPack,this.buffers);return this.finishedReconstruction(),P}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function ln(ie,R,P){return ie.on(R,P),function(){ie.off(R,P)}}const be=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Ee extends at{constructor(R,P,X){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=R,this.nsp=P,X&&X.auth&&(this.auth=X.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const R=this.io;this.subs=[ln(R,"open",this.onopen.bind(this)),ln(R,"packet",this.onpacket.bind(this)),ln(R,"error",this.onerror.bind(this)),ln(R,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...R){return R.unshift("message"),this.emit.apply(this,R),this}emit(R,...P){if(be.hasOwnProperty(R))throw new Error('"'+R.toString()+'" is a reserved event name');P.unshift(R);const X={type:xt.EVENT,data:P,options:{}};if(X.options.compress=!1!==this.flags.compress,"function"==typeof P[P.length-1]){const tn=this.ids++,Kt=P.pop();this._registerAckCallback(tn,Kt),X.id=tn}return this.flags.volatile&&(!(this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable)||!this.connected)||(this.connected?(this.notifyOutgoingListeners(X),this.packet(X)):this.sendBuffer.push(X)),this.flags={},this}_registerAckCallback(R,P){const X=this.flags.timeout;if(void 0===X)return void(this.acks[R]=P);const Ye=this.io.setTimeoutFn(()=>{delete this.acks[R];for(let Pt=0;Pt{this.io.clearTimeoutFn(Ye),P.apply(this,[null,...Pt])}}packet(R){R.nsp=this.nsp,this.io._packet(R)}onopen(){"function"==typeof this.auth?this.auth(R=>{this.packet({type:xt.CONNECT,data:R})}):this.packet({type:xt.CONNECT,data:this.auth})}onerror(R){this.connected||this.emitReserved("connect_error",R)}onclose(R,P){this.connected=!1,delete this.id,this.emitReserved("disconnect",R,P)}onpacket(R){if(R.nsp===this.nsp)switch(R.type){case xt.CONNECT:R.data&&R.data.sid?this.onconnect(R.data.sid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case xt.EVENT:case xt.BINARY_EVENT:this.onevent(R);break;case xt.ACK:case xt.BINARY_ACK:this.onack(R);break;case xt.DISCONNECT:this.ondisconnect();break;case xt.CONNECT_ERROR:this.destroy();const X=new Error(R.data.message);X.data=R.data.data,this.emitReserved("connect_error",X)}}onevent(R){const P=R.data||[];null!=R.id&&P.push(this.ack(R.id)),this.connected?this.emitEvent(P):this.receiveBuffer.push(Object.freeze(P))}emitEvent(R){if(this._anyListeners&&this._anyListeners.length){const P=this._anyListeners.slice();for(const X of P)X.apply(this,R)}super.emit.apply(this,R)}ack(R){const P=this;let X=!1;return function(...Ye){X||(X=!0,P.packet({type:xt.ACK,id:R,data:Ye}))}}onack(R){const P=this.acks[R.id];"function"==typeof P&&(P.apply(this,R.data),delete this.acks[R.id])}onconnect(R){this.id=R,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(R=>this.emitEvent(R)),this.receiveBuffer=[],this.sendBuffer.forEach(R=>{this.notifyOutgoingListeners(R),this.packet(R)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(R=>R()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:xt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(R){return this.flags.compress=R,this}get volatile(){return this.flags.volatile=!0,this}timeout(R){return this.flags.timeout=R,this}onAny(R){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(R),this}prependAny(R){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(R),this}offAny(R){if(!this._anyListeners)return this;if(R){const P=this._anyListeners;for(let X=0;X0&&ie.jitter<=1?ie.jitter:0,this.attempts=0}q.prototype.duration=function(){var ie=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var R=Math.random(),P=Math.floor(R*this.jitter*ie);ie=1&Math.floor(10*R)?ie+P:ie-P}return 0|Math.min(ie,this.max)},q.prototype.reset=function(){this.attempts=0},q.prototype.setMin=function(ie){this.ms=ie},q.prototype.setMax=function(ie){this.max=ie},q.prototype.setJitter=function(ie){this.jitter=ie};class Te extends at{constructor(R,P){var X;super(),this.nsps={},this.subs=[],R&&"object"==typeof R&&(P=R,R=void 0),(P=P||{}).path=P.path||"/socket.io",this.opts=P,nt(this,P),this.reconnection(!1!==P.reconnection),this.reconnectionAttempts(P.reconnectionAttempts||1/0),this.reconnectionDelay(P.reconnectionDelay||1e3),this.reconnectionDelayMax(P.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(X=P.randomizationFactor)&&void 0!==X?X:.5),this.backoff=new q({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==P.timeout?2e4:P.timeout),this._readyState="closed",this.uri=R;const Ye=P.parser||o;this.encoder=new Ye.Encoder,this.decoder=new Ye.Decoder,this._autoConnect=!1!==P.autoConnect,this._autoConnect&&this.open()}reconnection(R){return arguments.length?(this._reconnection=!!R,this):this._reconnection}reconnectionAttempts(R){return void 0===R?this._reconnectionAttempts:(this._reconnectionAttempts=R,this)}reconnectionDelay(R){var P;return void 0===R?this._reconnectionDelay:(this._reconnectionDelay=R,null===(P=this.backoff)||void 0===P||P.setMin(R),this)}randomizationFactor(R){var P;return void 0===R?this._randomizationFactor:(this._randomizationFactor=R,null===(P=this.backoff)||void 0===P||P.setJitter(R),this)}reconnectionDelayMax(R){var P;return void 0===R?this._reconnectionDelayMax:(this._reconnectionDelayMax=R,null===(P=this.backoff)||void 0===P||P.setMax(R),this)}timeout(R){return arguments.length?(this._timeout=R,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(R){if(~this._readyState.indexOf("open"))return this;this.engine=new wt(this.uri,this.opts);const P=this.engine,X=this;this._readyState="opening",this.skipReconnect=!1;const Ye=ln(P,"open",function(){X.onopen(),R&&R()}),Pt=ln(P,"error",tn=>{X.cleanup(),X._readyState="closed",this.emitReserved("error",tn),R?R(tn):X.maybeReconnectOnOpen()});if(!1!==this._timeout){const tn=this._timeout;0===tn&&Ye();const Kt=this.setTimeoutFn(()=>{Ye(),P.close(),P.emit("error",new Error("timeout"))},tn);this.opts.autoUnref&&Kt.unref(),this.subs.push(function(){clearTimeout(Kt)})}return this.subs.push(Ye),this.subs.push(Pt),this}connect(R){return this.open(R)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const R=this.engine;this.subs.push(ln(R,"ping",this.onping.bind(this)),ln(R,"data",this.ondata.bind(this)),ln(R,"error",this.onerror.bind(this)),ln(R,"close",this.onclose.bind(this)),ln(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(R){try{this.decoder.add(R)}catch(P){this.onclose("parse error",P)}}ondecoded(R){ue(()=>{this.emitReserved("packet",R)},this.setTimeoutFn)}onerror(R){this.emitReserved("error",R)}socket(R,P){let X=this.nsps[R];return X||(X=new Ee(this,R,P),this.nsps[R]=X),X}_destroy(R){const P=Object.keys(this.nsps);for(const X of P)if(this.nsps[X].active)return;this._close()}_packet(R){const P=this.encoder.encode(R);for(let X=0;XR()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(R,P){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",R,P),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const R=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const P=this.backoff.duration();this._reconnecting=!0;const X=this.setTimeoutFn(()=>{R.skipReconnect||(this.emitReserved("reconnect_attempt",R.backoff.attempts),!R.skipReconnect&&R.open(Ye=>{Ye?(R._reconnecting=!1,R.reconnect(),this.emitReserved("reconnect_error",Ye)):R.onreconnect()}))},P);this.opts.autoUnref&&X.unref(),this.subs.push(function(){clearTimeout(X)})}}onreconnect(){const R=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",R)}}const dt={};function Nt(ie,R){"object"==typeof ie&&(R=ie,ie=void 0);const P=function jt(ie,R="",P){let X=ie;P=P||typeof location<"u"&&location,null==ie&&(ie=P.protocol+"//"+P.host),"string"==typeof ie&&("/"===ie.charAt(0)&&(ie="/"===ie.charAt(1)?P.protocol+ie:P.host+ie),/^(https?|wss?):\/\//.test(ie)||(ie=typeof P<"u"?P.protocol+"//"+ie:"https://"+ie),X=pe(ie)),X.port||(/^(http|ws)$/.test(X.protocol)?X.port="80":/^(http|ws)s$/.test(X.protocol)&&(X.port="443")),X.path=X.path||"/";const Pt=-1!==X.host.indexOf(":")?"["+X.host+"]":X.host;return X.id=X.protocol+"://"+Pt+":"+X.port+R,X.href=X.protocol+"://"+Pt+(P&&P.port===X.port?"":":"+X.port),X}(ie,(R=R||{}).path||"/socket.io"),X=P.source,Ye=P.id;let Dn;return R.forceNew||R["force new connection"]||!1===R.multiplex||dt[Ye]&&P.path in dt[Ye].nsps?Dn=new Te(X,R):(dt[Ye]||(dt[Ye]=new Te(X,R)),Dn=dt[Ye]),P.query&&!R.query&&(R.query=P.queryKey),Dn.socket(P.path,R)}Object.assign(Nt,{Manager:Te,Socket:Ee,io:Nt,connect:Nt});class qt{constructor(R){this.config=R,this.subscribersCounter={},this.eventObservables$={},this.emptyConfig={url:"",options:{}},void 0===R&&(R=this.emptyConfig),this.ioSocket=(Nt||a)(R.url,R.options)}of(R){this.ioSocket.of(R)}on(R,P){this.ioSocket.on(R,P)}once(R,P){this.ioSocket.once(R,P)}connect(){return this.ioSocket.connect()}disconnect(R){return this.ioSocket.disconnect.apply(this.ioSocket,arguments)}emit(R,...P){return this.ioSocket.emit.apply(this.ioSocket,arguments)}removeListener(R,P){return this.ioSocket.removeListener.apply(this.ioSocket,arguments)}removeAllListeners(R){return this.ioSocket.removeAllListeners.apply(this.ioSocket,arguments)}fromEvent(R){return this.subscribersCounter[R]||(this.subscribersCounter[R]=0),this.subscribersCounter[R]++,this.eventObservables$[R]||(this.eventObservables$[R]=new W.y(P=>{const X=Ye=>{P.next(Ye)};return this.ioSocket.on(R,X),()=>{this.subscribersCounter[R]--,0===this.subscribersCounter[R]&&(this.ioSocket.removeListener(R,X),delete this.eventObservables$[R])}}).pipe((0,Q.B)())),this.eventObservables$[R]}fromOneTimeEvent(R){return new Promise(P=>this.once(R,P))}}function Rn(ie){return new qt(ie)}const vn=new E.OlP("__SOCKET_IO_CONFIG__");let Zn=(()=>{class ie{static forRoot(P){return{ngModule:ie,providers:[{provide:vn,useValue:P},{provide:qt,useFactory:Rn,deps:[vn]}]}}}return ie.\u0275fac=function(P){return new(P||ie)},ie.\u0275mod=E.oAB({type:ie}),ie.\u0275inj=E.cJS({}),ie})()}},_t=>{_t(_t.s=1352)}]); \ No newline at end of file diff --git a/main.7d59622cf6d5786b.js b/main.7d59622cf6d5786b.js deleted file mode 100644 index 1f08806..0000000 --- a/main.7d59622cf6d5786b.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkvgmq=self.webpackChunkvgmq||[]).push([[179],{4857:(_t,De,f)=>{"use strict";f.d(De,{C:()=>G});var o=f(2843),a=f(2340),E=f(262),W=f(4650),Q=f(529);let G=(()=>{class re{constructor(Z){this.http=Z,this.apiEndpoint=a.N.apiEndpoint}register(Z,ee){return this.http.post(`${this.apiEndpoint}/auth/register`,{...Z,recaptcha:ee},{withCredentials:!0})}confirm(Z){return this.http.get(`${this.apiEndpoint}/auth/confirmation/${Z}`)}login(Z,ee){return this.http.post(`${this.apiEndpoint}/auth/login`,{...Z,recaptcha:ee}).pipe((0,E.K)(he=>(0,o._)(he.error)))}requestResetPassword(Z,ee){return this.http.post(`${this.apiEndpoint}/auth/reset-password/request`,{...Z,recaptcha:ee}).pipe((0,E.K)(he=>(0,o._)(he.error)))}resetPassword(Z,ee,he){return this.http.post(`${this.apiEndpoint}/auth/reset-password/${ee}`,{...Z,recaptcha:he}).pipe((0,E.K)(te=>(0,o._)(te.error)))}logout(){return this.http.get(`${this.apiEndpoint}/auth/logout`)}limitedAccessAllowed(){return this.http.get(`${this.apiEndpoint}/limited-access/allowed`)}limitedAccessPassword(Z,ee){return this.http.post(`${this.apiEndpoint}/limited-access/password`,{password:Z,recaptcha:ee}).pipe((0,E.K)(he=>(0,o._)(he.error)))}refreshToken(Z){return this.http.post(`${a.N.apiEndpoint}/auth/refresh`,{refreshToken:Z})}}return re.\u0275fac=function(Z){return new(Z||re)(W.LFG(Q.eN))},re.\u0275prov=W.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})()},8720:(_t,De,f)=>{"use strict";f.d(De,{Y:()=>G});var o=f(2843),a=f(2340),E=f(262),W=f(4650),Q=f(529);let G=(()=>{class re{constructor(Z){this.http=Z,this.apiEndpoint=a.N.apiEndpoint}list(Z=""){return this.http.get(`${this.apiEndpoint}/lobbies`,{params:{query:Z}})}info(){return this.http.get(`${this.apiEndpoint}/lobbies/info`)}create(Z){return this.http.post(`${this.apiEndpoint}/lobbies/create`,Z).pipe((0,E.K)(ee=>(0,o._)(ee.error)))}update(Z,ee){return this.http.put(`${this.apiEndpoint}/lobbies/${Z}`,ee).pipe((0,E.K)(he=>(0,o._)(he.error)))}join(Z,ee){const he=`${this.apiEndpoint}/lobbies/${Z}/join`;let te=this.http.get(he);if(ee){const ke=new FormData;ke.append("password",ee),te=this.http.post(he,ke)}return te}leave(){return this.http.get(`${this.apiEndpoint}/lobbies/leave`)}play(Z){return this.http.get(`${this.apiEndpoint}/lobbies/${Z}/play`)}answer(Z,ee){const he=new FormData;return he.append("answer",ee),this.http.post(`${this.apiEndpoint}/lobbies/${Z}/answer`,he).pipe((0,E.K)(te=>(0,o._)(te.error)))}}return re.\u0275fac=function(Z){return new(Z||re)(W.LFG(Q.eN))},re.\u0275prov=W.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})()},263:(_t,De,f)=>{"use strict";f.d(De,{e:()=>he});var o=f(491),E=f(2340),W=f(2843),Q=f(8505),G=f(4650),re=f(5657),K=f(4857),Z=f(9116),ee=f(1405);let he=(()=>{class te{constructor(xe,Se,Re,Me){this.cookieService=xe,this.authHttpService=Se,this.router=Re,this.userStore=Me}get isLoggedIn(){return this.cookieService.check("vgmq-ut-hp")}logout(){this.cookieService.delete("vgmq-ut-hp","/",E.N.cookieDomain),this.cookieService.delete("vgmq-ut-s","/",E.N.cookieDomain),this.cookieService.delete("vgmq-urt","/",E.N.cookieDomain),this.userStore.setUserLoggedIn(!1),this.router.navigate(["/"])}decodeJwt(){return o(this.getAccessToken())}get isAdmin(){var xe;return null===(xe=this.decodeJwt().roles)||void 0===xe?void 0:xe.includes("admin")}getAccessToken(){return`${this.cookieService.get("vgmq-ut-hp")}.${this.cookieService.get("vgmq-ut-s")}`}setAccessTokenCookie(xe){const Se=xe.split(".");this.cookieService.set("vgmq-ut-hp",`${Se[0]}.${Se[1]}`,void 0,"/"),this.cookieService.set("vgmq-ut-s",Se[2],void 0,"/"),this.userStore.setUserLoggedIn(!0)}setRefreshTokenCookie(xe){this.cookieService.set("vgmq-urt",xe,void 0,"/")}refreshToken(){const xe=this.cookieService.get("vgmq-urt");return null===xe?(this.logout(),(0,W._)(()=>new Error("no refresh token"))):this.authHttpService.refreshToken(xe).pipe((0,Q.b)(Se=>{this.setAccessTokenCookie(Se.accessToken)}))}}return te.\u0275fac=function(xe){return new(xe||te)(G.LFG(re.N),G.LFG(K.C),G.LFG(Z.F0),G.LFG(ee.U))},te.\u0275prov=G.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})()},6217:(_t,De,f)=>{"use strict";f.d(De,{V:()=>Q});var o=f(5594),a=f(4650),E=f(529),W=f(9998);let Q=(()=>{class G{constructor(K,Z){this.http=K,this.socket=Z}isPLaying(K){return[o.D.AnswerReveal,o.D.Playing,o.D.PlayingMusic,o.D.Buffering,o.D.Loading].includes(K.status)}join(K,Z=null){this.socket.emit("join",{code:K,password:Z})}}return G.\u0275fac=function(K){return new(K||G)(a.LFG(E.eN),a.LFG(W.i))},G.\u0275prov=a.Yz7({token:G,factory:G.\u0275fac,providedIn:"root"}),G})()},1985:(_t,De,f)=>{"use strict";f.d(De,{Q:()=>Q});var o=f(5085),a=f(2340),E=f(4650),W=f(263);let Q=(()=>{class G extends o.s{constructor(K){super({url:`${a.N.lobbyFileSocketUrl}/file`,options:{transports:["websocket"],forceNew:!0}}),this.authService=K,this.ioSocket.auth={token:this.authService.getAccessToken()}}emit(K,...Z){return this.ioSocket.auth={token:this.authService.getAccessToken()},super.emit(K,...Z)}}return G.\u0275fac=function(K){return new(K||G)(E.LFG(W.e))},G.\u0275prov=E.Yz7({token:G,factory:G.\u0275fac}),G})()},9998:(_t,De,f)=>{"use strict";f.d(De,{i:()=>Q});var o=f(5085),a=f(2340),E=f(4650),W=f(263);let Q=(()=>{class G extends o.s{constructor(K){super({url:a.N.lobbySocketUrl,options:{transports:["websocket"]}}),this.authService=K,this.ioSocket.auth={token:this.authService.getAccessToken()}}emit(K,...Z){return this.ioSocket.auth={token:this.authService.getAccessToken()},this.lastTriedOutputEventName=K,this.lastTriedOutputArgs=Z,super.emit(K,...Z)}emitWithoutSaving(K,...Z){return this.ioSocket.auth={token:this.authService.getAccessToken()},super.emit(K,...Z)}}return G.\u0275fac=function(K){return new(K||G)(E.LFG(W.e))},G.\u0275prov=E.Yz7({token:G,factory:G.\u0275fac}),G})()},1405:(_t,De,f)=>{"use strict";f.d(De,{U:()=>W});var o=f(1135),a=f(4650),E=f(5657);let W=(()=>{class Q{constructor(re){this.cookieService=re,this.userLoggedInSubject=new o.X(this.cookieService.check("vgmq-ut-hp")),this.userLoggedIn=this.userLoggedInSubject.asObservable()}isUserLoggedIn(){return this.userLoggedInSubject.getValue()}setUserLoggedIn(re){this.userLoggedInSubject.next(re)}}return Q.\u0275fac=function(re){return new(re||Q)(a.LFG(E.N))},Q.\u0275prov=a.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})()},9150:(_t,De,f)=>{"use strict";f.d(De,{q:()=>he});var o=f(5412),a=f(4006),E=f(4650),W=f(6217),Q=f(9998),G=f(263),re=f(6895),K=f(4859);function Z(te,ke){if(1&te&&(E.TgZ(0,"span",7),E._uU(1),E.qZA()),2&te){const xe=ke.ngIf;E.xp6(1),E.Oqu(xe)}}const ee=function(te){return{"is-invalid":te}};let he=(()=>{class te{constructor(xe,Se,Re,Me,rt){this.data=xe,this.lobbyService=Se,this.socket=Re,this.dialogRef=Me,this.authService=rt,this.password=new a.NI("",a.kI.required.bind(this)),this.subscriptions=[]}ngOnInit(){this.socket.connect(),this.subscriptions=[this.socket.fromEvent("connect_error").subscribe(()=>{this.authService.refreshToken().subscribe(()=>{this.socket.connect(),this.socket.emit("fake emit")})}),this.socket.fromEvent("InvalidPasswordException").subscribe(()=>{this.password.setErrors({serverError:"invalid password"})}),this.socket.fromEvent("lobbyJoined").subscribe(xe=>{this.dialogRef.close(xe)})]}ngOnDestroy(){this.subscriptions.forEach(xe=>xe.unsubscribe())}submit(){this.lobbyService.join(this.data,this.password.value),this.socket.fromEvent("InvalidPasswordException").subscribe(()=>{this.errorMessage="Invalid password"})}}return te.\u0275fac=function(xe){return new(xe||te)(E.Y36(o.WI),E.Y36(W.V),E.Y36(Q.i),E.Y36(o.so),E.Y36(G.e))},te.\u0275cmp=E.Xpm({type:te,selectors:[["app-lobby-password-dialog"]],decls:13,vars:5,consts:[[3,"ngSubmit"],["mat-dialog-title",""],["mat-dialog-content",""],["type","password",1,"form-control",3,"ngClass","formControl"],["class","invalid-feedback",4,"ngIf"],["mat-button","","mat-dialog-close",""],["type","submit"],[1,"invalid-feedback"]],template:function(xe,Se){1&xe&&(E.TgZ(0,"form",0),E.NdJ("ngSubmit",function(){return Se.password.invalid||Se.submit()}),E.TgZ(1,"h1",1),E._uU(2,"Password required"),E.qZA(),E.TgZ(3,"div",2)(4,"label"),E._uU(5,"Please enter the lobby password"),E.qZA(),E._UZ(6,"input",3),E.YNc(7,Z,2,1,"span",4),E.qZA(),E.TgZ(8,"mat-dialog-actions")(9,"button",5),E._uU(10,"Cancel"),E.qZA(),E.TgZ(11,"button",6),E._uU(12,"Enter"),E.qZA()()()),2&xe&&(E.xp6(6),E.Q6J("ngClass",E.VKq(3,ee,Se.password.invalid))("formControl",Se.password),E.xp6(1),E.Q6J("ngIf",null==Se.password.errors?null:Se.password.errors.serverError))},dependencies:[re.mk,re.O5,o.ZT,o.uh,o.xY,o.H8,K.lW,a._Y,a.Fj,a.JJ,a.JL,a.F,a.oH],encapsulation:2}),te})()},5594:(_t,De,f)=>{"use strict";f.d(De,{BF:()=>W,D:()=>o,PT:()=>a,in:()=>E});var o=(()=>{return(Q=o||(o={})).Waiting="waiting",Q.Playing="playing",Q.Loading="loading",Q.Buffering="buffering",Q.PlayingMusic="playing_music",Q.AnswerReveal="answer_reveal",Q.FinalStanding="final_standing",o;var Q})(),a=(()=>{return(Q=a||(a={})).Easy="easy",Q.Medium="medium",Q.Hard="hard",a;var Q})(),E=(()=>{return(Q=E||(E={})).Standard="standard",Q.LocalCouch="local_couch",E;var Q})(),W=(()=>{return(Q=W||(W={})).Disabled="disabled",Q.Allowed="allowed",Q.Always="always",W;var Q})()},3822:(_t,De,f)=>{"use strict";f.d(De,{m:()=>Ft});var o=f(6895),a=f(6709),E=f(4650),W=f(3238);let Oe=(()=>{class Ne{}return Ne.\u0275fac=function(mt){return new(mt||Ne)},Ne.\u0275mod=E.oAB({type:Ne}),Ne.\u0275inj=E.cJS({imports:[W.BQ,o.ez,W.BQ]}),Ne})();var Ue=f(455);let We=(()=>{class Ne{}return Ne.\u0275fac=function(mt){return new(mt||Ne)},Ne.\u0275mod=E.oAB({type:Ne}),Ne.\u0275inj=E.cJS({imports:[o.ez,W.BQ]}),Ne})();var ot=f(5412),je=f(4859),ze=f(9549),Qe=f(7957),kt=f(4144);let ye=(()=>{class Ne{}return Ne.\u0275fac=function(mt){return new(mt||Ne)},Ne.\u0275mod=E.oAB({type:Ne}),Ne.\u0275inj=E.cJS({imports:[a.p9,Oe,Ue.rP,We,ot.Is,je.ot,ze.lN,Qe.Bb,kt.c,a.p9,Oe,Ue.rP,We,ot.Is,je.ot,ze.lN,Qe.Bb,kt.c]}),Ne})();var Le=f(4006),bt=f(9116),Ct=f(7392);let Ft=(()=>{class Ne{}return Ne.\u0275fac=function(mt){return new(mt||Ne)},Ne.\u0275mod=E.oAB({type:Ne}),Ne.\u0275inj=E.cJS({imports:[o.ez,ye,Le.u5,Le.UX,bt.Bz,Ct.Ps,o.ez,ye,Le.u5,Le.UX]}),Ne})()},2340:(_t,De,f)=>{"use strict";f.d(De,{N:()=>o});const o={production:!1,apiEndpoint:"https://api.videogamemusicquiz.com",lobbySocketUrl:"https://api.videogamemusicquiz.com",lobbyFileSocketUrl:"https://api.videogamemusicquiz.com",cookieDomain:null,recaptchaKey:"6Lc24fYeAAAAALMn6_cL8_aQhqSArgHTtDyfhcVL"}},1352:(_t,De,f)=>{"use strict";var o=f(1481),a=f(4650),E=f(529),W=f(2843),Q=f(2340),G=f(262),re=f(3900),K=f(263);let Z=(()=>{class x{constructor(l){this.authService=l}intercept(l,_){return _.handle(this.addAuthenticationToken(l)).pipe((0,G.K)(k=>k&&401===k.status?new RegExp(`^${Q.N.apiEndpoint}(?!/auth(?!/logout))`).test(l.url)?this.authService.refreshToken().pipe((0,re.w)(()=>_.handle(this.addAuthenticationToken(l)))):(new RegExp(`^${Q.N.apiEndpoint}/auth/refresh`).test(l.url)&&this.authService.logout(),(0,W._)(k)):(0,W._)(k)))}addAuthenticationToken(l){return new RegExp(`^${Q.N.apiEndpoint}/auth(?!/logout)`).test(l.url)||!new RegExp(`^${Q.N.apiEndpoint}(?!/auth(?!/logout))`).test(l.url)||null===this.authService.getAccessToken()?l:l.clone({withCredentials:!0,...!Q.N.production&&{setHeaders:{Authorization:`Bearer ${this.authService.getAccessToken()}`}}})}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(K.e))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})();var ee=f(9116),he=f(1405),te=f(6895),ke=f(4006),xe=f(8746),Se=f(4857),Re=f(4700);const Me=["recaptcha"];function rt(x,c){if(1&x&&(a.TgZ(0,"div",18),a._uU(1),a.qZA()),2&x){const l=a.oxw();a.xp6(1),a.hij(" ",l.formErrorMessage," ")}}function tt(x,c){if(1&x&&(a.TgZ(0,"div",19),a._uU(1),a.qZA()),2&x){const l=c.ngIf;a.xp6(1),a.hij(" ",l," ")}}function Ge(x,c){if(1&x&&(a.TgZ(0,"div",19),a._uU(1),a.qZA()),2&x){const l=c.ngIf;a.xp6(1),a.hij(" ",l," ")}}function fe(x,c){1&x&&a._UZ(0,"span",20)}const N=function(x){return{"is-invalid":x}};let F=(()=>{class x{constructor(l,_,k,$){this.fb=l,this.router=_,this.authHttpService=k,this.authService=$,this.loading=!1,this.environment=Q.N,this.loginForm=this.fb.group({email:["",ke.kI.required.bind(this)],password:["",ke.kI.required.bind(this)]})}loginUser(l){this.loading=!0,this.authHttpService.login(this.loginForm.value,l).pipe((0,xe.x)(()=>this.loading=!1)).subscribe({next:_=>{null!==_&&(Q.N.production||(this.authService.setAccessTokenCookie(_.accessToken),this.authService.setRefreshTokenCookie(_.refreshToken)));const k=sessionStorage.getItem("pastedUrl"),$=sessionStorage.getItem("pastedUrlQueryParams");k?(sessionStorage.removeItem("pastedUrl"),sessionStorage.removeItem("pastedUrlQueryParams"),this.router.navigate([k],$?{queryParams:JSON.parse($)}:void 0)):this.router.navigate([""])},error:_=>{Array.isArray(_.message)?_.message.map(k=>{if("string"!=typeof k){const $=this.loginForm.get(k.property);$?.markAsTouched(),$?.setErrors({serverError:k.errors})}}):this.formErrorMessage=_.message,this.recaptchaComponent.reset()}})}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(ke.qu),a.Y36(ee.F0),a.Y36(Se.C),a.Y36(K.e))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-login"]],viewQuery:function(l,_){if(1&l&&a.Gf(Me,5),2&l){let k;a.iGM(k=a.CRH())&&(_.recaptchaComponent=k.first)}},decls:32,vars:13,consts:[[1,"row","align-items-center"],[1,"col-md-6"],[1,"form-login",3,"formGroup","ngSubmit"],["class","col-md-12 alert alert-danger","role","alert",4,"ngIf"],[1,"form-group"],["type","email","formControlName","email","placeholder","email","required","",1,"form-control",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],["type","password","formControlName","password","placeholder","Password",1,"form-control",3,"ngClass"],["theme","dark","size","invisible",3,"siteKey","resolved"],["recaptcha",""],["routerLink","/reset-password"],[1,"col-md-12","text-center","mt-3"],["type","submit",1,"btn","btn-primary","col-md-6",3,"disabled"],["class","spinner-border spinner-border-sm","type","button","role","status","aria-hidden","true",4,"ngIf"],[1,"col-md-6","text-center"],[1,"orange"],[1,"col-md-12"],["routerLink","/register",1,"btn","btn-primary","col-md-6"],["role","alert",1,"col-md-12","alert","alert-danger"],[1,"invalid-feedback"],["type","button","role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"]],template:function(l,_){if(1&l){const k=a.EpF();a.TgZ(0,"div",0)(1,"div",1)(2,"form",2),a.NdJ("ngSubmit",function(){a.CHM(k);const _e=a.MAs(15);return a.KtG(_.loading||_e.execute())}),a.YNc(3,rt,2,1,"div",3),a.TgZ(4,"div",4)(5,"label"),a._uU(6,"Email"),a.qZA(),a._UZ(7,"input",5),a.YNc(8,tt,2,1,"div",6),a.qZA(),a.TgZ(9,"div",4)(10,"label"),a._uU(11,"Password"),a.qZA(),a._UZ(12,"input",7),a.YNc(13,Ge,2,1,"div",6),a.qZA(),a.TgZ(14,"re-captcha",8,9),a.NdJ("resolved",function(_e){return _e&&_.loginUser(_e)}),a.qZA(),a.TgZ(16,"a",10),a._uU(17,"I forgot my password"),a.qZA(),a.TgZ(18,"div",11)(19,"button",12),a.YNc(20,fe,1,0,"span",13),a._uU(21," Log in "),a.qZA()()()(),a.TgZ(22,"div",14)(23,"div",4)(24,"label"),a._uU(25,"No "),a.TgZ(26,"span",15),a._uU(27,"account"),a.qZA(),a._uU(28," ?"),a.qZA(),a.TgZ(29,"div",16)(30,"a",17),a._uU(31,"Register now"),a.qZA()()()()()}if(2&l){let k,$,_e,Ce;a.xp6(2),a.Q6J("formGroup",_.loginForm),a.xp6(1),a.Q6J("ngIf",_.formErrorMessage),a.xp6(4),a.Q6J("ngClass",a.VKq(9,N,(null==(k=_.loginForm.get("email"))?null:k.invalid)&&((null==(k=_.loginForm.get("email"))?null:k.dirty)||(null==(k=_.loginForm.get("email"))?null:k.touched)))),a.xp6(1),a.Q6J("ngIf",null==($=_.loginForm.get("email"))||null==$.errors?null:$.errors.serverError),a.xp6(4),a.Q6J("ngClass",a.VKq(11,N,(null==(_e=_.loginForm.get("password"))?null:_e.invalid)&&((null==(_e=_.loginForm.get("password"))?null:_e.dirty)||(null==(_e=_.loginForm.get("password"))?null:_e.touched)))),a.xp6(1),a.Q6J("ngIf",null==(Ce=_.loginForm.get("password"))||null==Ce.errors?null:Ce.errors.serverError),a.xp6(1),a.Q6J("siteKey",_.environment.recaptchaKey),a.xp6(5),a.Q6J("disabled",_.loading),a.xp6(1),a.Q6J("ngIf",_.loading)}},dependencies:[te.mk,te.O5,ke._Y,ke.Fj,ke.JJ,ke.JL,ke.Q7,ke.sg,ke.u,ee.rH,Re.wT],encapsulation:2}),x})();function U(x,c){1&x&&a._UZ(0,"router-outlet")}function ce(x,c){1&x&&a._UZ(0,"app-login")}let Oe=(()=>{class x{constructor(l){this.router=l}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(ee.F0))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-anonymous"]],decls:30,vars:2,consts:[[1,"container","mt-5"],[1,"d-flex","justify-content-center"],[1,"form-container","bg-dark"],[1,"h1","font-weight-normal","text-center"],[1,"h4","font-weight-normal","text-center"],[4,"ngIf"],[1,"d-flex","flex-column","pt-5"],[1,"h5","font-weight-normal","text-center"],[1,"text-center","px-5","pt-2"],["href","https://discord.gg/cxqeYdfz3X","target","_blank"]],template:function(l,_){1&l&&(a.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),a._uU(4,"VGMQ"),a.qZA(),a.TgZ(5,"h4",4),a._uU(6,"Video Game Music Quiz"),a.qZA(),a.YNc(7,U,1,0,"router-outlet",5),a.YNc(8,ce,1,0,"app-login",5),a.qZA()(),a.TgZ(9,"div",6)(10,"h5",7),a._uU(11,"Test your gaming music knowledge with VGMQ!"),a.qZA(),a.TgZ(12,"p",8),a._uU(13," VGMQ is a "),a.TgZ(14,"b"),a._uU(15,"free"),a.qZA(),a._uU(16,", multiplayer game that lets you challenge your friends to a fun and challenging music quiz! "),a._UZ(17,"br"),a._uU(18," The questions are based on your gaming history, so you'll only hear music from games you've played."),a._UZ(19,"br")(20,"br"),a._uU(21," With over 30,000 songs from 1,000 games, there's something for everyone! "),a._UZ(22,"br")(23,"br"),a._uU(24,"VGMQ is still under development, but we're always adding new features and games! "),a._UZ(25,"br"),a._uU(26,"Feel free to join the "),a.TgZ(27,"a",9),a._uU(28,"Discord"),a.qZA(),a._uU(29,"! "),a.qZA()()()),2&l&&(a.xp6(7),a.Q6J("ngIf","/"!==_.router.url),a.xp6(1),a.Q6J("ngIf","/"===_.router.url))},dependencies:[te.O5,ee.lC,F],encapsulation:2}),x})();var Ue=f(8720),at=f(5412),ft=f(5085);let It=(()=>{class x extends ft.s{constructor(l){super({url:`${Q.N.lobbySocketUrl}/list`,options:{transports:["websocket"]}}),this.authService=l,this.ioSocket.auth={token:this.authService.getAccessToken()}}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(K.e))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})();var St=f(9150);function He(x,c){1&x&&a._UZ(0,"i",12)}function Ze(x,c){if(1&x&&(a.ynx(0),a._uU(1),a.BQk()),2&x){const l=a.oxw();a.xp6(1),a.hij(" ",l.lobby.currentLobbyMusicPosition,"/ ")}}const nt=function(x){return{"fa-circle":x}};let ut=(()=>{class x{constructor(l,_){this.router=l,this.dialog=_}joinLobby(){this.lobby.hasPassword?this.dialog.open(St.q,{data:this.lobby.code}).afterClosed().subscribe(_=>{_&&this.router.navigate([`/lobby/${_.code}`])}):this.router.navigate([`/lobby/${this.lobby.code}`])}getDifficultyTitle(){return`Difficulty : ${this.lobby.difficulty.join(", ")}`}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(ee.F0),a.Y36(at.uw))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-home-lobby"]],inputs:{lobby:"lobby"},decls:19,vars:16,consts:[[1,"list-group-item","list-group-item-action","px-3","border-0","d-block","d-md-inline-flex","cursor-pointer",3,"click"],[1,"col-12","col-md-6"],["class","fa fa-lock pe-1",4,"ngIf"],[2,"font-weight","bold"],[1,"col-12","col-md-6","d-flex","justify-content-between"],[1,"fa","fa-users","ps-1"],[4,"ngIf"],[1,"fa","fa-music","ps-1"],[3,"title"],[1,"fa","text-success",2,"min-width","16px",3,"ngClass"],[1,"fa","text-warning",2,"min-width","16px",3,"ngClass"],[1,"fa","text-danger",2,"min-width","16px",3,"ngClass"],[1,"fa","fa-lock","pe-1"]],template:function(l,_){1&l&&(a.TgZ(0,"div",0),a.NdJ("click",function(){return _.joinLobby()}),a.TgZ(1,"div",1),a.YNc(2,He,1,0,"i",2),a.TgZ(3,"span",3),a._uU(4),a.qZA()(),a.TgZ(5,"div",4)(6,"span"),a._uU(7),a._UZ(8,"i",5),a.qZA(),a.TgZ(9,"span"),a.YNc(10,Ze,2,1,"ng-container",6),a._uU(11),a._UZ(12,"i",7),a.qZA(),a.TgZ(13,"span"),a._uU(14),a.qZA(),a.TgZ(15,"span",8),a._UZ(16,"i",9)(17,"i",10)(18,"i",11),a.qZA()()()),2&l&&(a.xp6(2),a.Q6J("ngIf",_.lobby.hasPassword),a.xp6(2),a.Oqu(_.lobby.name),a.xp6(3),a.Oqu(_.lobby.lobbyUsers),a.xp6(3),a.Q6J("ngIf",_.lobby.currentLobbyMusicPosition>0),a.xp6(1),a.hij(" ",-1===_.lobby.musicNumber?"\u221e":_.lobby.lobbyMusics," "),a.xp6(3),a.hij("",_.lobby.guessTime,"s"),a.xp6(1),a.Q6J("title",_.getDifficultyTitle()),a.xp6(1),a.Q6J("ngClass",a.VKq(10,nt,_.lobby.difficulty.includes("easy"))),a.xp6(1),a.Q6J("ngClass",a.VKq(12,nt,_.lobby.difficulty.includes("medium"))),a.xp6(1),a.Q6J("ngClass",a.VKq(14,nt,_.lobby.difficulty.includes("hard"))))},dependencies:[te.mk,te.O5],encapsulation:2}),x})();function vt(x,c){1&x&&a._UZ(0,"app-home-lobby",13),2&x&&a.Q6J("lobby",c.$implicit)}function We(x,c){1&x&&a._UZ(0,"app-home-lobby",13),2&x&&a.Q6J("lobby",c.$implicit)}let ot=(()=>{class x{constructor(l,_,k,$){this.router=l,this.lobbyHttpService=_,this.dialog=k,this.socket=$,this.subscriptions=[]}ngOnDestroy(){this.subscriptions.forEach(l=>l.unsubscribe()),this.socket.disconnect()}ngOnInit(){this.lobbyHttpService.list().subscribe(l=>{this.publicLobbies=l.filter(_=>!_.custom),this.customLobbies=l.filter(_=>_.custom)}),this.socket.connect(),this.subscriptions=[this.socket.fromEvent("lobbyList").subscribe(l=>{this.publicLobbies=l.filter(_=>!_.custom),this.customLobbies=l.filter(_=>_.custom)})]}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(ee.F0),a.Y36(Ue.Y),a.Y36(at.uw),a.Y36(It))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-home"]],decls:30,vars:2,consts:[["role","alert",1,"alert","alert-warning"],["target","_blank","href","https://ko-fi.com/littlegubs",1,"alert-link"],[1,"row"],[1,"col-md-6"],[1,"bg-dark","p-3","h-100","d-flex","host-lobby-container"],[1,"w-100","align-self-center"],[1,"text-center"],["routerLink","/games"],["routerLink","/lobby/create",1,"btn","btn-lg","w-100","btn-primary"],[1,"pt-md-0","pt-4"],[1,"list-group","list-group-light"],[3,"lobby",4,"ngFor","ngForOf"],[1,"pt-4"],[3,"lobby"]],template:function(l,_){1&l&&(a.TgZ(0,"div",0),a._uU(1," Your experience may not be optimal if you are outside of "),a.TgZ(2,"b"),a._uU(3,"Europe"),a.qZA(),a._uU(4,". Please consider "),a.TgZ(5,"a",1),a._uU(6,"supporting us"),a.qZA(),a._uU(7," to help us grow globally! Thanks!\n"),a.qZA(),a.TgZ(8,"div",2)(9,"div",3)(10,"div",4)(11,"div",5)(12,"h2",6),a._uU(13,"Host a lobby with your friends!"),a.qZA(),a.TgZ(14,"p",6),a._uU(15,"You might need to "),a.TgZ(16,"a",7),a._uU(17,"add games in your list"),a.qZA(),a._uU(18," first"),a.qZA(),a.TgZ(19,"button",8),a._uU(20,"Host"),a.qZA()()()(),a.TgZ(21,"div",3)(22,"h3",9),a._uU(23,"Public lobbies"),a.qZA(),a.TgZ(24,"div",10),a.YNc(25,vt,1,1,"app-home-lobby",11),a.qZA(),a.TgZ(26,"h3",12),a._uU(27,"Custom lobbies"),a.qZA(),a.TgZ(28,"div",10),a.YNc(29,We,1,1,"app-home-lobby",11),a.qZA()()()),2&l&&(a.xp6(25),a.Q6J("ngForOf",_.publicLobbies),a.xp6(4),a.Q6J("ngForOf",_.customLobbies))},dependencies:[te.sg,ee.rH,ut],encapsulation:2}),x})();var je=f(4968),ze=f(5698);let kt=(()=>{class x{constructor(l,_){this._elementRef=l,this._renderer=_,this.collapseClass=!0,this.collapseShow=new a.vpe,this.collapseShown=new a.vpe,this.collapseHide=new a.vpe,this.collapseHidden=new a.vpe,this._collapsed=!0,this._isTransitioning=!1}set collapsed(l){l!==this._collapsed&&(l?this.hide():this.show(),this._collapsed=l)}get collapsed(){return this._collapsed}get host(){return this._elementRef.nativeElement}show(){if(this._isTransitioning||!this.collapsed)return;this.collapseShow.emit(this),this._renderer.removeClass(this.host,"collapse"),this._renderer.addClass(this.host,"collapsing"),this._renderer.setStyle(this.host,"height","0px"),this._isTransitioning=!0;const l=this.host.scrollHeight;(0,je.R)(this.host,"transitionend").pipe((0,ze.q)(1)).subscribe(()=>{this._isTransitioning=!1,this.collapsed=!1,this._renderer.removeClass(this.host,"collapsing"),this._renderer.addClass(this.host,"collapse"),this._renderer.addClass(this.host,"show"),this._renderer.removeStyle(this.host,"height"),this.collapseShown.emit(this)}),this._emulateTransitionEnd(this.host,350),this._renderer.setStyle(this.host,"height",`${l}px`)}hide(){if(this._isTransitioning||this.collapsed)return;this.collapseHide.emit(this);const l=this.host.getBoundingClientRect().height;this._renderer.setStyle(this.host,"height",`${l}px`),this._reflow(this.host),this._renderer.addClass(this.host,"collapsing"),this._renderer.removeClass(this.host,"collapse"),this._renderer.removeClass(this.host,"show"),this._isTransitioning=!0,(0,je.R)(this.host,"transitionend").pipe((0,ze.q)(1)).subscribe(()=>{this._renderer.removeClass(this.host,"collapsing"),this._renderer.addClass(this.host,"collapse"),this._isTransitioning=!1,this.collapsed=!0,this.collapseHidden.emit(this)}),this._renderer.removeStyle(this.host,"height"),this._emulateTransitionEnd(this.host,350)}toggle(){this._isTransitioning||(this.collapsed=!this.collapsed,this.collapsed?this.hide():this.show())}_reflow(l){return l.offsetHeight}_emulateTransitionEnd(l,_){let k=!1;const _e=_+5;(0,je.R)(l,"transitionend").pipe((0,ze.q)(1)).subscribe(()=>{k=!0}),setTimeout(()=>{k||l.dispatchEvent(new Event("transitionend"))},_e)}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(a.SBq),a.Y36(a.Qsj))},x.\u0275dir=a.lG2({type:x,selectors:[["","mdbCollapse",""]],hostVars:2,hostBindings:function(l,_){2&l&&a.ekj("collapse",_.collapseClass)},inputs:{collapsed:"collapsed"},outputs:{collapseShow:"collapseShow",collapseShown:"collapseShown",collapseHide:"collapseHide",collapseHidden:"collapseHidden"},exportAs:["mdbCollapse"]}),x})(),ye=(()=>{class x{}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({}),x})();function Le(x,c){if(1&x){const l=a.EpF();a.TgZ(0,"li",18)(1,"a",19),a.NdJ("click",function(){a.CHM(l),a.oxw();const k=a.MAs(6);return a.KtG(k.hide())}),a._uU(2,"Admin"),a.qZA()()}}const bt=function(){return{exact:!0}};let Ct=(()=>{class x{constructor(l,_,k){this.authService=l,this.authHttpService=_,this.router=k,this.showAdminNav=!1,this.showAdminNav=this.authService.isAdmin}logout(){this.authHttpService.logout().subscribe(()=>{}),this.authService.logout()}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(K.e),a.Y36(Se.C),a.Y36(ee.F0))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-header"]],decls:27,vars:5,consts:[[1,"navbar","navbar-expand-lg","navbar-dark","bg-dark","px-4"],[1,"navbar-brand"],["type","button","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"fas","fa-bars"],["mdbCollapse","",1,"collapse","navbar-collapse"],["basicNav","mdbCollapse"],[1,"navbar-nav","mr-auto"],["routerLinkActive","active",1,"nav-item",3,"routerLinkActiveOptions"],["routerLink","/",1,"nav-link",3,"click"],[1,"sr-only"],["routerLink","/games",1,"nav-link",3,"click"],["class","nav-item","routerLinkActive","active",4,"ngIf"],[1,"nav-item"],[1,"nav-link","logout",3,"click"],[1,"d-flex","align-items-center"],["target","_blank","href","https://ko-fi.com/littlegubs",1,"nav-link"],["href","https://discord.gg/cxqeYdfz3X","target","_blank",1,"nav-link",3,"click"],[1,"fab","fa-discord"],["routerLinkActive","active",1,"nav-item"],["routerLink","/admin",1,"nav-link",3,"click"]],template:function(l,_){if(1&l){const k=a.EpF();a.TgZ(0,"nav",0)(1,"a",1),a._uU(2,"VGMQ"),a.qZA(),a.TgZ(3,"button",2),a.NdJ("click",function(){a.CHM(k);const _e=a.MAs(6);return a.KtG(_e.toggle())}),a._UZ(4,"i",3),a.qZA(),a.TgZ(5,"div",4,5)(7,"ul",6)(8,"li",7)(9,"a",8),a.NdJ("click",function(){a.CHM(k);const _e=a.MAs(6);return a.KtG(_e.hide())}),a._uU(10,"Home "),a.TgZ(11,"span",9),a._uU(12,"(current)"),a.qZA()()(),a.TgZ(13,"li",7)(14,"a",10),a.NdJ("click",function(){a.CHM(k);const _e=a.MAs(6);return a.KtG(_e.hide())}),a._uU(15,"Games"),a.qZA()(),a.YNc(16,Le,3,0,"li",11),a.TgZ(17,"li",12)(18,"a",13),a.NdJ("click",function(){return _.logout()})("click",function(){a.CHM(k);const _e=a.MAs(6);return a.KtG(_e.hide())}),a._uU(19,"Logout"),a.qZA()()()(),a.TgZ(20,"div",14)(21,"ul",6)(22,"li",12)(23,"a",15),a._uU(24,"Support us"),a.qZA()()(),a.TgZ(25,"a",16),a.NdJ("click",function(){a.CHM(k);const _e=a.MAs(6);return a.KtG(_e.hide())}),a._UZ(26,"i",17),a.qZA()()()}2&l&&(a.xp6(8),a.Q6J("routerLinkActiveOptions",a.DdM(3,bt)),a.xp6(5),a.Q6J("routerLinkActiveOptions",a.DdM(4,bt)),a.xp6(3),a.Q6J("ngIf",_.showAdminNav))},dependencies:[te.O5,ee.rH,ee.Od,kt],encapsulation:2}),x})();function Ft(x,c){1&x&&a._UZ(0,"router-outlet")}function Ne(x,c){1&x&&a._UZ(0,"app-home")}let qe=(()=>{class x{constructor(l){this.router=l}ngOnInit(){}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(ee.F0))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-logged-in"]],decls:5,vars:2,consts:[[1,"container-fluid","h-100"],[1,"pt-2","pt-md-5","px-2","px-md-5","h-100"],[4,"ngIf"]],template:function(l,_){1&l&&(a.TgZ(0,"div",0),a._UZ(1,"app-header"),a.TgZ(2,"div",1),a.YNc(3,Ft,1,0,"router-outlet",2),a.YNc(4,Ne,1,0,"app-home",2),a.qZA()()),2&l&&(a.xp6(3),a.Q6J("ngIf","/"!==_.router.url),a.xp6(1),a.Q6J("ngIf","/"===_.router.url))},dependencies:[te.O5,ee.lC,ot,Ct],encapsulation:2}),x})();function mt(x,c){1&x&&a._UZ(0,"app-logged-in")}function le(x,c){1&x&&a._UZ(0,"app-anonymous")}let we=(()=>{class x{constructor(l){this.userStore=l,this.loggedIn=!1}ngOnInit(){this.userStore.userLoggedIn.subscribe(l=>{this.loggedIn=l})}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(he.U))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-home-theme"]],decls:2,vars:2,consts:[[4,"ngIf"]],template:function(l,_){1&l&&(a.YNc(0,mt,1,0,"app-logged-in",0),a.YNc(1,le,1,0,"app-anonymous",0)),2&l&&(a.Q6J("ngIf",_.loggedIn),a.xp6(1),a.Q6J("ngIf",!_.loggedIn))},dependencies:[te.O5,Oe,qe],encapsulation:2}),x})(),ne=(()=>{class x{constructor(l,_){this.authService=l,this.router=_}canActivate(l,_){var k;return!(!this.authService.isLoggedIn||!this.authService.isAdmin)||(this.authService.isLoggedIn&&!this.authService.isAdmin||this.authService.isLoggedIn?this.router.createUrlTree([""]):(!(null===(k=_.url)||void 0===k)&&k.length&&sessionStorage.setItem("pastedUrl",_.url.split("?")[0]),Object.keys(l.queryParams).length&&sessionStorage.setItem("pastedUrlQueryParams",JSON.stringify(l.queryParams)),this.router.createUrlTree(["login"])))}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(K.e),a.LFG(ee.F0))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),Pe=(()=>{class x{constructor(l,_){this.authService=l,this.router=_}canActivate(l,_){return!this.authService.isLoggedIn||this.router.createUrlTree(["/"])}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(K.e),a.LFG(ee.F0))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),pt=(()=>{class x{constructor(l,_){this.authService=l,this.router=_}canActivate(l,_){var k;return!!this.authService.isLoggedIn||(!(null===(k=_.url)||void 0===k)&&k.length&&sessionStorage.setItem("pastedUrl",_.url.split("?")[0]),Object.keys(l.queryParams).length&&sessionStorage.setItem("pastedUrlQueryParams",JSON.stringify(l.queryParams)),this.router.createUrlTree(["login"]))}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(K.e),a.LFG(ee.F0))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();const de=[{path:"",component:we,children:[{path:"register",loadChildren:()=>Promise.all([f.e(9),f.e(266)]).then(f.bind(f,1266)).then(x=>x.RegisterModule),canActivate:[Pe]},{path:"reset-password",loadChildren:()=>Promise.all([f.e(9),f.e(219)]).then(f.bind(f,5219)).then(x=>x.ResetPasswordModule),canActivate:[Pe]},{path:"games",loadChildren:()=>Promise.all([f.e(31),f.e(385),f.e(755)]).then(f.bind(f,8755)).then(x=>x.GameModule),canActivate:[pt]},{path:"lobby",loadChildren:()=>Promise.all([f.e(9),f.e(762),f.e(385),f.e(11)]).then(f.bind(f,8011)).then(x=>x.LobbyModule),canActivate:[pt]},{path:"admin",loadChildren:()=>f.e(442).then(f.bind(f,7442)).then(x=>x.AdminModule),canActivate:[ne]}]},{path:"**",redirectTo:"/"}];let L=(()=>{class x{}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({imports:[ee.Bz.forRoot(de),ee.Bz]}),x})(),se=(()=>{class x{constructor(l,_){this.meta=l,this.titleService=_,this.titleService.setTitle("Video Game Music Quiz"),this.meta.addTag({name:"description",content:"Play with your friends! Listen carefully and guess the game!"})}}return x.\u0275fac=function(l){return new(l||x)(a.Y36(o.h_),a.Y36(o.Dx))},x.\u0275cmp=a.Xpm({type:x,selectors:[["app-root"]],decls:3,vars:0,consts:[["role","alert",1,"alert","alert-danger"]],template:function(l,_){1&l&&(a.TgZ(0,"div",0),a._uU(1," Servers are currently in maintenance, VGMQ will be back in a few hours\n"),a.qZA(),a._UZ(2,"router-outlet"))},dependencies:[ee.lC],encapsulation:2}),x})();var ue=f(7340);function ht(x){return new a.vHH(3e3,!1)}function Rn(){return typeof window<"u"&&typeof window.document<"u"}function vn(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Zn(x){switch(x.length){case 0:return new ue.ZN;case 1:return x[0];default:return new ue.ZE(x)}}function ie(x,c,l,_,k=new Map,$=new Map){const _e=[],Ce=[];let Ke=-1,Dt=null;if(_.forEach(Ut=>{const $t=Ut.get("offset"),gn=$t==Ke,hn=gn&&Dt||new Map;Ut.forEach((Qt,Jt)=>{let En=Jt,Hn=Qt;if("offset"!==Jt)switch(En=c.normalizePropertyName(En,_e),Hn){case ue.k1:Hn=k.get(Jt);break;case ue.l3:Hn=$.get(Jt);break;default:Hn=c.normalizeStyleValue(Jt,En,Hn,_e)}hn.set(En,Hn)}),gn||Ce.push(hn),Dt=hn,Ke=$t}),_e.length)throw function Yt(x){return new a.vHH(3502,!1)}();return Ce}function R(x,c,l,_){switch(c){case"start":x.onStart(()=>_(l&&P(l,"start",x)));break;case"done":x.onDone(()=>_(l&&P(l,"done",x)));break;case"destroy":x.onDestroy(()=>_(l&&P(l,"destroy",x)))}}function P(x,c,l){const $=X(x.element,x.triggerName,x.fromState,x.toState,c||x.phaseName,l.totalTime??x.totalTime,!!l.disabled),_e=x._data;return null!=_e&&($._data=_e),$}function X(x,c,l,_,k="",$=0,_e){return{element:x,triggerName:c,fromState:l,toState:_,phaseName:k,totalTime:$,disabled:!!_e}}function Ye(x,c,l){let _=x.get(c);return _||x.set(c,_=l),_}function Pt(x){const c=x.indexOf(":");return[x.substring(1,c),x.slice(c+1)]}let tn=(x,c)=>!1,Kt=(x,c,l)=>[],Dn=null;function Pn(x){const c=x.parentNode||x.host;return c===Dn?null:c}(vn()||typeof Element<"u")&&(Rn()?(Dn=(()=>document.documentElement)(),tn=(x,c)=>{for(;c;){if(c===x)return!0;c=Pn(c)}return!1}):tn=(x,c)=>x.contains(c),Kt=(x,c,l)=>{if(l)return Array.from(x.querySelectorAll(c));const _=x.querySelector(c);return _?[_]:[]});let wn=null,Lt=!1;const Bn=tn,Nn=Kt;let mn=(()=>{class x{validateStyleProperty(l){return function nn(x){wn||(wn=function ti(){return typeof document<"u"?document.body:null}()||{},Lt=!!wn.style&&"WebkitAppearance"in wn.style);let c=!0;return wn.style&&!function ei(x){return"ebkit"==x.substring(1,6)}(x)&&(c=x in wn.style,!c&&Lt&&(c="Webkit"+x.charAt(0).toUpperCase()+x.slice(1)in wn.style)),c}(l)}matchesElement(l,_){return!1}containsElement(l,_){return Bn(l,_)}getParentElement(l){return Pn(l)}query(l,_,k){return Nn(l,_,k)}computeStyle(l,_,k){return k||""}animate(l,_,k,$,_e,Ce=[],Ke){return new ue.ZN(k,$)}}return x.\u0275fac=function(l){return new(l||x)},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})(),li=(()=>{class x{}return x.NOOP=new mn,x})();const ji="ng-enter",qi="ng-leave",Ni="ng-trigger",Kn=".ng-trigger",yr="ng-animating",Oi=".ng-animating";function Xn(x){if("number"==typeof x)return x;const c=x.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:Bi(parseFloat(c[1]),c[2])}function Bi(x,c){return"s"===c?1e3*x:x}function zi(x,c,l){return x.hasOwnProperty("duration")?x:function kn(x,c,l){let k,$=0,_e="";if("string"==typeof x){const Ce=x.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ce)return c.push(ht()),{duration:0,delay:0,easing:""};k=Bi(parseFloat(Ce[1]),Ce[2]);const Ke=Ce[3];null!=Ke&&($=Bi(parseFloat(Ke),Ce[4]));const Dt=Ce[5];Dt&&(_e=Dt)}else k=x;if(!l){let Ce=!1,Ke=c.length;k<0&&(c.push(function ct(){return new a.vHH(3100,!1)}()),Ce=!0),$<0&&(c.push(function Et(){return new a.vHH(3101,!1)}()),Ce=!0),Ce&&c.splice(Ke,0,ht())}return{duration:k,delay:$,easing:_e}}(x,c,l)}function mi(x,c={}){return Object.keys(x).forEach(l=>{c[l]=x[l]}),c}function Er(x){const c=new Map;return Object.keys(x).forEach(l=>{c.set(l,x[l])}),c}function Ei(x,c=new Map,l){if(l)for(let[_,k]of l)c.set(_,k);for(let[_,k]of x)c.set(_,k);return c}function Vi(x,c,l){return l?c+":"+l+";":""}function Gn(x){let c="";for(let l=0;l{const $=cr(k);l&&!l.has(k)&&l.set(k,x.style[$]),x.style[$]=_}),vn()&&Gn(x))}function Mn(x,c){x.style&&(c.forEach((l,_)=>{const k=cr(_);x.style[k]=""}),vn()&&Gn(x))}function Un(x){return Array.isArray(x)?1==x.length?x[0]:(0,ue.vP)(x):x}const ki=new RegExp("{{\\s*(.+?)\\s*}}","g");function Dr(x){let c=[];if("string"==typeof x){let l;for(;l=ki.exec(x);)c.push(l[1]);ki.lastIndex=0}return c}function Fn(x,c,l){const _=x.toString(),k=_.replace(ki,($,_e)=>{let Ce=c[_e];return null==Ce&&(l.push(function lt(x){return new a.vHH(3003,!1)}()),Ce=""),Ce.toString()});return k==_?x:k}function xr(x){const c=[];let l=x.next();for(;!l.done;)c.push(l.value),l=x.next();return c}const vo=/-+([a-z0-9])/g;function cr(x){return x.replace(vo,(...c)=>c[1].toUpperCase())}function kr(x){return x.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ni(x,c,l){switch(c.type){case 7:return x.visitTrigger(c,l);case 0:return x.visitState(c,l);case 1:return x.visitTransition(c,l);case 2:return x.visitSequence(c,l);case 3:return x.visitGroup(c,l);case 4:return x.visitAnimate(c,l);case 5:return x.visitKeyframes(c,l);case 6:return x.visitStyle(c,l);case 8:return x.visitReference(c,l);case 9:return x.visitAnimateChild(c,l);case 10:return x.visitAnimateRef(c,l);case 11:return x.visitQuery(c,l);case 12:return x.visitStagger(c,l);default:throw function j(x){return new a.vHH(3004,!1)}()}}function Rr(x,c){return window.getComputedStyle(x)[c]}function Cr(x,c){const l=[];return"string"==typeof x?x.split(/\s*,\s*/).forEach(_=>function yo(x,c,l){if(":"==x[0]){const Ke=function wr(x,c){switch(x){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,_)=>parseFloat(_)>parseFloat(l);case":decrement":return(l,_)=>parseFloat(_) *"}}(x,l);if("function"==typeof Ke)return void c.push(Ke);x=Ke}const _=x.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==_||_.length<4)return l.push(function A(x){return new a.vHH(3015,!1)}()),c;const k=_[1],$=_[2],_e=_[3];c.push(tr(k,_e));"<"==$[0]&&!("*"==k&&"*"==_e)&&c.push(tr(_e,k))}(_,l,c)):l.push(x),l}const er=new Set(["true","1"]),Ri=new Set(["false","0"]);function tr(x,c){const l=er.has(x)||Ri.has(x),_=er.has(c)||Ri.has(c);return(k,$)=>{let _e="*"==x||x==k,Ce="*"==c||c==$;return!_e&&l&&"boolean"==typeof k&&(_e=k?er.has(x):Ri.has(x)),!Ce&&_&&"boolean"==typeof $&&(Ce=$?er.has(c):Ri.has(c)),_e&&Ce}}const Nr=new RegExp("s*:selfs*,?","g");function nr(x,c,l,_){return new Vo(x).build(c,l,_)}class Vo{constructor(c){this._driver=c}build(c,l,_){const k=new Xr(l);return this._resetContextStyleTimingState(k),ni(this,Un(c),k)}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles=new Map,c.collectedStyles.set("",new Map),c.currentTime=0}visitTrigger(c,l){let _=l.queryCount=0,k=l.depCount=0;const $=[],_e=[];return"@"==c.name.charAt(0)&&l.errors.push(function pe(){return new a.vHH(3006,!1)}()),c.definitions.forEach(Ce=>{if(this._resetContextStyleTimingState(l),0==Ce.type){const Ke=Ce,Dt=Ke.name;Dt.toString().split(/\s*,\s*/).forEach(Ut=>{Ke.name=Ut,$.push(this.visitState(Ke,l))}),Ke.name=Dt}else if(1==Ce.type){const Ke=this.visitTransition(Ce,l);_+=Ke.queryCount,k+=Ke.depCount,_e.push(Ke)}else l.errors.push(function Fe(){return new a.vHH(3007,!1)}())}),{type:7,name:c.name,states:$,transitions:_e,queryCount:_,depCount:k,options:null}}visitState(c,l){const _=this.visitStyle(c.styles,l),k=c.options&&c.options.params||null;if(_.containsDynamicStyles){const $=new Set,_e=k||{};_.styles.forEach(Ce=>{Ce instanceof Map&&Ce.forEach(Ke=>{Dr(Ke).forEach(Dt=>{_e.hasOwnProperty(Dt)||$.add(Dt)})})}),$.size&&(xr($.values()),l.errors.push(function At(x,c){return new a.vHH(3008,!1)}()))}return{type:0,name:c.name,style:_,options:k?{params:k}:null}}visitTransition(c,l){l.queryCount=0,l.depCount=0;const _=ni(this,Un(c.animation),l);return{type:1,matchers:Cr(c.expr,l.errors),animation:_,queryCount:l.queryCount,depCount:l.depCount,options:Qn(c.options)}}visitSequence(c,l){return{type:2,steps:c.steps.map(_=>ni(this,_,l)),options:Qn(c.options)}}visitGroup(c,l){const _=l.currentTime;let k=0;const $=c.steps.map(_e=>{l.currentTime=_;const Ce=ni(this,_e,l);return k=Math.max(k,l.currentTime),Ce});return l.currentTime=k,{type:3,steps:$,options:Qn(c.options)}}visitAnimate(c,l){const _=function qr(x,c){if(x.hasOwnProperty("duration"))return x;if("number"==typeof x)return lr(zi(x,c).duration,0,"");const l=x;if(l.split(/\s+/).some($=>"{"==$.charAt(0)&&"{"==$.charAt(1))){const $=lr(0,0,"");return $.dynamic=!0,$.strValue=l,$}const k=zi(l,c);return lr(k.duration,k.delay,k.easing)}(c.timings,l.errors);l.currentAnimateTimings=_;let k,$=c.styles?c.styles:(0,ue.oB)({});if(5==$.type)k=this.visitKeyframes($,l);else{let _e=c.styles,Ce=!1;if(!_e){Ce=!0;const Dt={};_.easing&&(Dt.easing=_.easing),_e=(0,ue.oB)(Dt)}l.currentTime+=_.duration+_.delay;const Ke=this.visitStyle(_e,l);Ke.isEmptyStep=Ce,k=Ke}return l.currentAnimateTimings=null,{type:4,timings:_,style:k,options:null}}visitStyle(c,l){const _=this._makeStyleAst(c,l);return this._validateStyleAst(_,l),_}_makeStyleAst(c,l){const _=[],k=Array.isArray(c.styles)?c.styles:[c.styles];for(let Ce of k)"string"==typeof Ce?Ce===ue.l3?_.push(Ce):l.errors.push(new a.vHH(3002,!1)):_.push(Er(Ce));let $=!1,_e=null;return _.forEach(Ce=>{if(Ce instanceof Map&&(Ce.has("easing")&&(_e=Ce.get("easing"),Ce.delete("easing")),!$))for(let Ke of Ce.values())if(Ke.toString().indexOf("{{")>=0){$=!0;break}}),{type:6,styles:_,easing:_e,offset:c.offset,containsDynamicStyles:$,options:null}}_validateStyleAst(c,l){const _=l.currentAnimateTimings;let k=l.currentTime,$=l.currentTime;_&&$>0&&($-=_.duration+_.delay),c.styles.forEach(_e=>{"string"!=typeof _e&&_e.forEach((Ce,Ke)=>{const Dt=l.collectedStyles.get(l.currentQuerySelector),Ut=Dt.get(Ke);let $t=!0;Ut&&($!=k&&$>=Ut.startTime&&k<=Ut.endTime&&(l.errors.push(function jt(x,c,l,_,k){return new a.vHH(3010,!1)}()),$t=!1),$=Ut.startTime),$t&&Dt.set(Ke,{startTime:$,endTime:k}),l.options&&function Or(x,c,l){const _=c.params||{},k=Dr(x);k.length&&k.forEach($=>{_.hasOwnProperty($)||l.push(function me(x){return new a.vHH(3001,!1)}())})}(Ce,l.options,l.errors)})})}visitKeyframes(c,l){const _={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function _n(){return new a.vHH(3011,!1)}()),_;let $=0;const _e=[];let Ce=!1,Ke=!1,Dt=0;const Ut=c.steps.map(Hn=>{const si=this._makeStyleAst(Hn,l);let jn=null!=si.offset?si.offset:function Qr(x){if("string"==typeof x)return null;let c=null;if(Array.isArray(x))x.forEach(l=>{if(l instanceof Map&&l.has("offset")){const _=l;c=parseFloat(_.get("offset")),_.delete("offset")}});else if(x instanceof Map&&x.has("offset")){const l=x;c=parseFloat(l.get("offset")),l.delete("offset")}return c}(si.styles),hi=0;return null!=jn&&($++,hi=si.offset=jn),Ke=Ke||hi<0||hi>1,Ce=Ce||hi0&&$<$t?l.errors.push(function Ae(){return new a.vHH(3202,!1)}()):0==$&&(gn=1/($t-1));const hn=$t-1,Qt=l.currentTime,Jt=l.currentAnimateTimings,En=Jt.duration;return Ut.forEach((Hn,si)=>{const jn=gn>0?si==hn?1:gn*si:_e[si],hi=jn*En;l.currentTime=Qt+Jt.delay+hi,Jt.duration=hi,this._validateStyleAst(Hn,l),Hn.offset=jn,_.styles.push(Hn)}),_}visitReference(c,l){return{type:8,animation:ni(this,Un(c.animation),l),options:Qn(c.options)}}visitAnimateChild(c,l){return l.depCount++,{type:9,options:Qn(c.options)}}visitAnimateRef(c,l){return{type:10,animation:this.visitReference(c.animation,l),options:Qn(c.options)}}visitQuery(c,l){const _=l.currentQuerySelector,k=c.options||{};l.queryCount++,l.currentQuery=c;const[$,_e]=function Br(x){const c=!!x.split(/\s*,\s*/).find(l=>":self"==l);return c&&(x=x.replace(Nr,"")),x=x.replace(/@\*/g,Kn).replace(/@\w+/g,l=>Kn+"-"+l.slice(1)).replace(/:animating/g,Oi),[x,c]}(c.selector);l.currentQuerySelector=_.length?_+" "+$:$,Ye(l.collectedStyles,l.currentQuerySelector,new Map);const Ce=ni(this,Un(c.animation),l);return l.currentQuery=null,l.currentQuerySelector=_,{type:11,selector:$,limit:k.limit||0,optional:!!k.optional,includeSelf:_e,animation:Ce,originalSelector:c.selector,options:Qn(c.options)}}visitStagger(c,l){l.currentQuery||l.errors.push(function I(){return new a.vHH(3013,!1)}());const _="full"===c.timings?{duration:0,delay:0,easing:"full"}:zi(c.timings,l.errors,!0);return{type:12,animation:ni(this,Un(c.animation),l),timings:_,options:null}}}class Xr{constructor(c){this.errors=c,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Qn(x){return x?(x=mi(x)).params&&(x.params=function Eo(x){return x?mi(x):null}(x.params)):x={},x}function lr(x,c,l){return{duration:x,delay:c,easing:l}}function oi(x,c,l,_,k,$,_e=null,Ce=!1){return{type:1,element:x,keyframes:c,preStyleProps:l,postStyleProps:_,duration:k,delay:$,totalTime:k+$,easing:_e,subTimeline:Ce}}class zn{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,l){let _=this._map.get(c);_||this._map.set(c,_=[]),_.push(...l)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const di=new RegExp(":enter","g"),dr=new RegExp(":leave","g");function $i(x,c,l,_,k,$=new Map,_e=new Map,Ce,Ke,Dt=[]){return(new Di).buildKeyframes(x,c,l,_,k,$,_e,Ce,Ke,Dt)}class Di{buildKeyframes(c,l,_,k,$,_e,Ce,Ke,Dt,Ut=[]){Dt=Dt||new zn;const $t=new Mi(c,l,Dt,k,$,Ut,[]);$t.options=Ke;const gn=Ke.delay?Xn(Ke.delay):0;$t.currentTimeline.delayNextStep(gn),$t.currentTimeline.setStyles([_e],null,$t.errors,Ke),ni(this,_,$t);const hn=$t.timelines.filter(Qt=>Qt.containsAnimation());if(hn.length&&Ce.size){let Qt;for(let Jt=hn.length-1;Jt>=0;Jt--){const En=hn[Jt];if(En.element===l){Qt=En;break}}Qt&&!Qt.allowOnlyTimelineStyles()&&Qt.setStyles([Ce],null,$t.errors,Ke)}return hn.length?hn.map(Qt=>Qt.buildKeyframes()):[oi(l,[],[],[],0,gn,"",!1)]}visitTrigger(c,l){}visitState(c,l){}visitTransition(c,l){}visitAnimateChild(c,l){const _=l.subInstructions.get(l.element);if(_){const k=l.createSubContext(c.options),$=l.currentTimeline.currentTime,_e=this._visitSubInstructions(_,k,k.options);$!=_e&&l.transformIntoNewTimeline(_e)}l.previousNode=c}visitAnimateRef(c,l){const _=l.createSubContext(c.options);_.transformIntoNewTimeline(),this._applyAnimationRefDelays([c.options,c.animation.options],l,_),this.visitReference(c.animation,_),l.transformIntoNewTimeline(_.currentTimeline.currentTime),l.previousNode=c}_applyAnimationRefDelays(c,l,_){for(const k of c){const $=k?.delay;if($){const _e="number"==typeof $?$:Xn(Fn($,k?.params??{},l.errors));_.delayNextStep(_e)}}}_visitSubInstructions(c,l,_){let $=l.currentTimeline.currentTime;const _e=null!=_.duration?Xn(_.duration):null,Ce=null!=_.delay?Xn(_.delay):null;return 0!==_e&&c.forEach(Ke=>{const Dt=l.appendInstructionToTimeline(Ke,_e,Ce);$=Math.max($,Dt.duration+Dt.delay)}),$}visitReference(c,l){l.updateOptions(c.options,!0),ni(this,c.animation,l),l.previousNode=c}visitSequence(c,l){const _=l.subContextCount;let k=l;const $=c.options;if($&&($.params||$.delay)&&(k=l.createSubContext($),k.transformIntoNewTimeline(),null!=$.delay)){6==k.previousNode.type&&(k.currentTimeline.snapshotCurrentStyles(),k.previousNode=Gi);const _e=Xn($.delay);k.delayNextStep(_e)}c.steps.length&&(c.steps.forEach(_e=>ni(this,_e,k)),k.currentTimeline.applyStylesToKeyframe(),k.subContextCount>_&&k.transformIntoNewTimeline()),l.previousNode=c}visitGroup(c,l){const _=[];let k=l.currentTimeline.currentTime;const $=c.options&&c.options.delay?Xn(c.options.delay):0;c.steps.forEach(_e=>{const Ce=l.createSubContext(c.options);$&&Ce.delayNextStep($),ni(this,_e,Ce),k=Math.max(k,Ce.currentTimeline.currentTime),_.push(Ce.currentTimeline)}),_.forEach(_e=>l.currentTimeline.mergeTimelineCollectedStyles(_e)),l.transformIntoNewTimeline(k),l.previousNode=c}_visitTiming(c,l){if(c.dynamic){const _=c.strValue;return zi(l.params?Fn(_,l.params,l.errors):_,l.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,l){const _=l.currentAnimateTimings=this._visitTiming(c.timings,l),k=l.currentTimeline;_.delay&&(l.incrementTime(_.delay),k.snapshotCurrentStyles());const $=c.style;5==$.type?this.visitKeyframes($,l):(l.incrementTime(_.duration),this.visitStyle($,l),k.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=c}visitStyle(c,l){const _=l.currentTimeline,k=l.currentAnimateTimings;!k&&_.hasCurrentStyleProperties()&&_.forwardFrame();const $=k&&k.easing||c.easing;c.isEmptyStep?_.applyEmptyStep($):_.setStyles(c.styles,$,l.errors,l.options),l.previousNode=c}visitKeyframes(c,l){const _=l.currentAnimateTimings,k=l.currentTimeline.duration,$=_.duration,Ce=l.createSubContext().currentTimeline;Ce.easing=_.easing,c.styles.forEach(Ke=>{Ce.forwardTime((Ke.offset||0)*$),Ce.setStyles(Ke.styles,Ke.easing,l.errors,l.options),Ce.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(Ce),l.transformIntoNewTimeline(k+$),l.previousNode=c}visitQuery(c,l){const _=l.currentTimeline.currentTime,k=c.options||{},$=k.delay?Xn(k.delay):0;$&&(6===l.previousNode.type||0==_&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=Gi);let _e=_;const Ce=l.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!k.optional,l.errors);l.currentQueryTotal=Ce.length;let Ke=null;Ce.forEach((Dt,Ut)=>{l.currentQueryIndex=Ut;const $t=l.createSubContext(c.options,Dt);$&&$t.delayNextStep($),Dt===l.element&&(Ke=$t.currentTimeline),ni(this,c.animation,$t),$t.currentTimeline.applyStylesToKeyframe(),_e=Math.max(_e,$t.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(_e),Ke&&(l.currentTimeline.mergeTimelineCollectedStyles(Ke),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=c}visitStagger(c,l){const _=l.parentContext,k=l.currentTimeline,$=c.timings,_e=Math.abs($.duration),Ce=_e*(l.currentQueryTotal-1);let Ke=_e*l.currentQueryIndex;switch($.duration<0?"reverse":$.easing){case"reverse":Ke=Ce-Ke;break;case"full":Ke=_.currentStaggerTime}const Ut=l.currentTimeline;Ke&&Ut.delayNextStep(Ke);const $t=Ut.currentTime;ni(this,c.animation,l),l.previousNode=c,_.currentStaggerTime=k.currentTime-$t+(k.startTime-_.currentTimeline.startTime)}}const Gi={};class Mi{constructor(c,l,_,k,$,_e,Ce,Ke){this._driver=c,this.element=l,this.subInstructions=_,this._enterClassName=k,this._leaveClassName=$,this.errors=_e,this.timelines=Ce,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Gi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ke||new Vr(this._driver,l,0),Ce.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,l){if(!c)return;const _=c;let k=this.options;null!=_.duration&&(k.duration=Xn(_.duration)),null!=_.delay&&(k.delay=Xn(_.delay));const $=_.params;if($){let _e=k.params;_e||(_e=this.options.params={}),Object.keys($).forEach(Ce=>{(!l||!_e.hasOwnProperty(Ce))&&(_e[Ce]=Fn($[Ce],_e,this.errors))})}}_copyOptions(){const c={};if(this.options){const l=this.options.params;if(l){const _=c.params={};Object.keys(l).forEach(k=>{_[k]=l[k]})}}return c}createSubContext(c=null,l,_){const k=l||this.element,$=new Mi(this._driver,k,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(k,_||0));return $.previousNode=this.previousNode,$.currentAnimateTimings=this.currentAnimateTimings,$.options=this._copyOptions(),$.updateOptions(c),$.currentQueryIndex=this.currentQueryIndex,$.currentQueryTotal=this.currentQueryTotal,$.parentContext=this,this.subContextCount++,$}transformIntoNewTimeline(c){return this.previousNode=Gi,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,l,_){const k={duration:l??c.duration,delay:this.currentTimeline.currentTime+(_??0)+c.delay,easing:""},$=new ur(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,k,c.stretchStartingKeyframe);return this.timelines.push($),k}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,l,_,k,$,_e){let Ce=[];if(k&&Ce.push(this.element),c.length>0){c=(c=c.replace(di,"."+this._enterClassName)).replace(dr,"."+this._leaveClassName);let Dt=this._driver.query(this.element,c,1!=_);0!==_&&(Dt=_<0?Dt.slice(Dt.length+_,Dt.length):Dt.slice(0,_)),Ce.push(...Dt)}return!$&&0==Ce.length&&_e.push(function w(x){return new a.vHH(3014,!1)}()),Ce}}class Vr{constructor(c,l,_,k){this._driver=c,this.element=l,this.startTime=_,this._elementTimelineStylesLookup=k,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(c){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+c),l&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,l){return this.applyStylesToKeyframe(),new Vr(this._driver,c,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(c){this.applyStylesToKeyframe(),this.duration=c,this._loadKeyframe()}_updateStyle(c,l){this._localTimelineStyles.set(c,l),this._globalTimelineStyles.set(c,l),this._styleSummary.set(c,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&this._previousKeyframe.set("easing",c);for(let[l,_]of this._globalTimelineStyles)this._backFill.set(l,_||ue.l3),this._currentKeyframe.set(l,ue.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,l,_,k){l&&this._previousKeyframe.set("easing",l);const $=k&&k.params||{},_e=function fr(x,c){const l=new Map;let _;return x.forEach(k=>{if("*"===k){_=_||c.keys();for(let $ of _)l.set($,ue.l3)}else Ei(k,l)}),l}(c,this._globalTimelineStyles);for(let[Ce,Ke]of _e){const Dt=Fn(Ke,$,_);this._pendingStyles.set(Ce,Dt),this._localTimelineStyles.has(Ce)||this._backFill.set(Ce,this._globalTimelineStyles.get(Ce)??ue.l3),this._updateStyle(Ce,Dt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((c,l)=>{this._currentKeyframe.set(l,c)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((c,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,c)}))}snapshotCurrentStyles(){for(let[c,l]of this._localTimelineStyles)this._pendingStyles.set(c,l),this._updateStyle(c,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let l in this._currentKeyframe)c.push(l);return c}mergeTimelineCollectedStyles(c){c._styleSummary.forEach((l,_)=>{const k=this._styleSummary.get(_);(!k||l.time>k.time)&&this._updateStyle(_,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,l=new Set,_=1===this._keyframes.size&&0===this.duration;let k=[];this._keyframes.forEach((Ce,Ke)=>{const Dt=Ei(Ce,new Map,this._backFill);Dt.forEach((Ut,$t)=>{Ut===ue.k1?c.add($t):Ut===ue.l3&&l.add($t)}),_||Dt.set("offset",Ke/this.duration),k.push(Dt)});const $=c.size?xr(c.values()):[],_e=l.size?xr(l.values()):[];if(_){const Ce=k[0],Ke=new Map(Ce);Ce.set("offset",0),Ke.set("offset",1),k=[Ce,Ke]}return oi(this.element,k,$,_e,this.duration,this.startTime,this.easing,!1)}}class ur extends Vr{constructor(c,l,_,k,$,_e,Ce=!1){super(c,l,_e.delay),this.keyframes=_,this.preStyleProps=k,this.postStyleProps=$,this._stretchStartingKeyframe=Ce,this.timings={duration:_e.duration,delay:_e.delay,easing:_e.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:l,duration:_,easing:k}=this.timings;if(this._stretchStartingKeyframe&&l){const $=[],_e=_+l,Ce=l/_e,Ke=Ei(c[0]);Ke.set("offset",0),$.push(Ke);const Dt=Ei(c[0]);Dt.set("offset",hr(Ce)),$.push(Dt);const Ut=c.length-1;for(let $t=1;$t<=Ut;$t++){let gn=Ei(c[$t]);const hn=gn.get("offset");gn.set("offset",hr((l+hn*_)/_e)),$.push(gn)}_=_e,l=0,k="",c=$}return oi(this.element,c,this.preStyleProps,this.postStyleProps,_,l,k,!0)}}function hr(x,c=3){const l=Math.pow(10,c-1);return Math.round(x*l)/l}class Ur{}const C=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class y extends Ur{normalizePropertyName(c,l){return cr(c)}normalizeStyleValue(c,l,_,k){let $="";const _e=_.toString().trim();if(C.has(l)&&0!==_&&"0"!==_)if("number"==typeof _)$="px";else{const Ce=_.match(/^[+-]?[\d\.]+([a-z]*)$/);Ce&&0==Ce[1].length&&k.push(function ve(x,c){return new a.vHH(3005,!1)}())}return _e+$}}function z(x,c,l,_,k,$,_e,Ce,Ke,Dt,Ut,$t,gn){return{type:0,element:x,triggerName:c,isRemovalTransition:k,fromState:l,fromStyles:$,toState:_,toStyles:_e,timelines:Ce,queriedElements:Ke,preStyleProps:Dt,postStyleProps:Ut,totalTime:$t,errors:gn}}const et={};class zt{constructor(c,l,_){this._triggerName=c,this.ast=l,this._stateStyles=_}match(c,l,_,k){return function st(x,c,l,_,k){return x.some($=>$(c,l,_,k))}(this.ast.matchers,c,l,_,k)}buildStyles(c,l,_){let k=this._stateStyles.get("*");return void 0!==c&&(k=this._stateStyles.get(c?.toString())||k),k?k.buildStyles(l,_):new Map}build(c,l,_,k,$,_e,Ce,Ke,Dt,Ut){const $t=[],gn=this.ast.options&&this.ast.options.params||et,Qt=this.buildStyles(_,Ce&&Ce.params||et,$t),Jt=Ke&&Ke.params||et,En=this.buildStyles(k,Jt,$t),Hn=new Set,si=new Map,jn=new Map,hi="void"===k,co={params:cn(Jt,gn),delay:this.ast.options?.delay},or=Ut?[]:$i(c,l,this.ast.animation,$,_e,Qt,En,co,Dt,$t);let Li=0;if(or.forEach(Yi=>{Li=Math.max(Yi.duration+Yi.delay,Li)}),$t.length)return z(l,this._triggerName,_,k,hi,Qt,En,[],[],si,jn,Li,$t);or.forEach(Yi=>{const Ci=Yi.element,lo=Ye(si,Ci,new Set);Yi.preStyleProps.forEach(jr=>lo.add(jr));const _r=Ye(jn,Ci,new Set);Yi.postStyleProps.forEach(jr=>_r.add(jr)),Ci!==l&&Hn.add(Ci)});const sr=xr(Hn.values());return z(l,this._triggerName,_,k,hi,Qt,En,or,sr,si,jn,Li)}}function cn(x,c){const l=mi(c);for(const _ in x)x.hasOwnProperty(_)&&null!=x[_]&&(l[_]=x[_]);return l}class eo{constructor(c,l,_){this.styles=c,this.defaultParams=l,this.normalizer=_}buildStyles(c,l){const _=new Map,k=mi(this.defaultParams);return Object.keys(c).forEach($=>{const _e=c[$];null!==_e&&(k[$]=_e)}),this.styles.styles.forEach($=>{"string"!=typeof $&&$.forEach((_e,Ce)=>{_e&&(_e=Fn(_e,k,l));const Ke=this.normalizer.normalizePropertyName(Ce,l);_e=this.normalizer.normalizeStyleValue(Ce,Ke,_e,l),_.set(Ce,_e)})}),_}}class pi{constructor(c,l,_){this.name=c,this.ast=l,this._normalizer=_,this.transitionFactories=[],this.states=new Map,l.states.forEach(k=>{this.states.set(k.name,new eo(k.style,k.options&&k.options.params||{},_))}),to(this.states,"true","1"),to(this.states,"false","0"),l.transitions.forEach(k=>{this.transitionFactories.push(new zt(c,k,this.states))}),this.fallbackTransition=function fs(x,c,l){return new zt(x,{type:1,animation:{type:2,steps:[],options:null},matchers:[(_e,Ce)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,l,_,k){return this.transitionFactories.find(_e=>_e.match(c,l,_,k))||null}matchStyles(c,l,_){return this.fallbackTransition.buildStyles(c,l,_)}}function to(x,c,l){x.has(c)?x.has(l)||x.set(l,x.get(c)):x.has(l)&&x.set(c,x.get(l))}const Wi=new zn;class ts{constructor(c,l,_){this.bodyNode=c,this._driver=l,this._normalizer=_,this._animations=new Map,this._playersById=new Map,this.players=[]}register(c,l){const _=[],$=nr(this._driver,l,_,[]);if(_.length)throw function xt(x){return new a.vHH(3503,!1)}();this._animations.set(c,$)}_buildPlayer(c,l,_){const k=c.element,$=ie(0,this._normalizer,0,c.keyframes,l,_);return this._driver.animate(k,$,c.duration,c.delay,c.easing,[],!0)}create(c,l,_={}){const k=[],$=this._animations.get(c);let _e;const Ce=new Map;if($?(_e=$i(this._driver,l,$,ji,qi,new Map,new Map,_,Wi,k),_e.forEach(Ut=>{const $t=Ye(Ce,Ut.element,new Map);Ut.postStyleProps.forEach(gn=>$t.set(gn,null))})):(k.push(function yn(){return new a.vHH(3300,!1)}()),_e=[]),k.length)throw function fi(x){return new a.vHH(3504,!1)}();Ce.forEach((Ut,$t)=>{Ut.forEach((gn,hn)=>{Ut.set(hn,this._driver.computeStyle($t,hn,ue.l3))})});const Dt=Zn(_e.map(Ut=>{const $t=Ce.get(Ut.element);return this._buildPlayer(Ut,new Map,$t)}));return this._playersById.set(c,Dt),Dt.onDestroy(()=>this.destroy(c)),this.players.push(Dt),Dt}destroy(c){const l=this._getPlayer(c);l.destroy(),this._playersById.delete(c);const _=this.players.indexOf(l);_>=0&&this.players.splice(_,1)}_getPlayer(c){const l=this._playersById.get(c);if(!l)throw function Cn(x){return new a.vHH(3301,!1)}();return l}listen(c,l,_,k){const $=X(l,"","","");return R(this._getPlayer(c),_,$,k),()=>{}}command(c,l,_,k){if("register"==_)return void this.register(c,k[0]);if("create"==_)return void this.create(c,l,k[0]||{});const $=this._getPlayer(c);switch(_){case"play":$.play();break;case"pause":$.pause();break;case"reset":$.reset();break;case"restart":$.restart();break;case"finish":$.finish();break;case"init":$.init();break;case"setPosition":$.setPosition(parseFloat(k[0]));break;case"destroy":this.destroy(c)}}}const Ho="ng-animate-queued",Do="ng-animate-disabled",mr=[],rr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ai="__ng_removed";class no{get params(){return this.options.params}constructor(c,l=""){this.namespaceId=l;const _=c&&c.hasOwnProperty("value");if(this.value=function ms(x){return x??null}(_?c.value:c),_){const $=mi(c);delete $.value,this.options=$}else this.options={};this.options.params||(this.options.params={})}absorbOptions(c){const l=c.params;if(l){const _=this.options.params;Object.keys(l).forEach(k=>{null==_[k]&&(_[k]=l[k])})}}}const xo="void",io=new no(xo);class Co{constructor(c,l,_){this.id=c,this.hostElement=l,this._engine=_,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,Fi(l,this._hostClassName)}listen(c,l,_,k){if(!this._triggers.has(l))throw function ln(x,c){return new a.vHH(3302,!1)}();if(null==_||0==_.length)throw function be(x){return new a.vHH(3303,!1)}();if(!function jo(x){return"start"==x||"done"==x}(_))throw function Ee(x,c){return new a.vHH(3400,!1)}();const $=Ye(this._elementListeners,c,[]),_e={name:l,phase:_,callback:k};$.push(_e);const Ce=Ye(this._engine.statesByElement,c,new Map);return Ce.has(l)||(Fi(c,Ni),Fi(c,Ni+"-"+l),Ce.set(l,io)),()=>{this._engine.afterFlush(()=>{const Ke=$.indexOf(_e);Ke>=0&&$.splice(Ke,1),this._triggers.has(l)||Ce.delete(l)})}}register(c,l){return!this._triggers.has(c)&&(this._triggers.set(c,l),!0)}_getTrigger(c){const l=this._triggers.get(c);if(!l)throw function q(x){return new a.vHH(3401,!1)}();return l}trigger(c,l,_,k=!0){const $=this._getTrigger(l),_e=new Hr(this.id,l,c);let Ce=this._engine.statesByElement.get(c);Ce||(Fi(c,Ni),Fi(c,Ni+"-"+l),this._engine.statesByElement.set(c,Ce=new Map));let Ke=Ce.get(l);const Dt=new no(_,this.id);if(!(_&&_.hasOwnProperty("value"))&&Ke&&Dt.absorbOptions(Ke.options),Ce.set(l,Dt),Ke||(Ke=io),Dt.value!==xo&&Ke.value===Dt.value){if(!function Ar(x,c){const l=Object.keys(x),_=Object.keys(c);if(l.length!=_.length)return!1;for(let k=0;k{Mn(c,En),wi(c,Hn)})}return}const gn=Ye(this._engine.playersByElement,c,[]);gn.forEach(Jt=>{Jt.namespaceId==this.id&&Jt.triggerName==l&&Jt.queued&&Jt.destroy()});let hn=$.matchTransition(Ke.value,Dt.value,c,Dt.params),Qt=!1;if(!hn){if(!k)return;hn=$.fallbackTransition,Qt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:l,transition:hn,fromState:Ke,toState:Dt,player:_e,isFallbackTransition:Qt}),Qt||(Fi(c,Ho),_e.onStart(()=>{Mr(c,Ho)})),_e.onDone(()=>{let Jt=this.players.indexOf(_e);Jt>=0&&this.players.splice(Jt,1);const En=this._engine.playersByElement.get(c);if(En){let Hn=En.indexOf(_e);Hn>=0&&En.splice(Hn,1)}}),this.players.push(_e),gn.push(_e),_e}deregister(c){this._triggers.delete(c),this._engine.statesByElement.forEach(l=>l.delete(c)),this._elementListeners.forEach((l,_)=>{this._elementListeners.set(_,l.filter(k=>k.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const l=this._engine.playersByElement.get(c);l&&(l.forEach(_=>_.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,l){const _=this._engine.driver.query(c,Kn,!0);_.forEach(k=>{if(k[Ai])return;const $=this._engine.fetchNamespacesByElement(k);$.size?$.forEach(_e=>_e.triggerLeaveAnimation(k,l,!1,!0)):this.clearElementCache(k)}),this._engine.afterFlushAnimationsDone(()=>_.forEach(k=>this.clearElementCache(k)))}triggerLeaveAnimation(c,l,_,k){const $=this._engine.statesByElement.get(c),_e=new Map;if($){const Ce=[];if($.forEach((Ke,Dt)=>{if(_e.set(Dt,Ke.value),this._triggers.has(Dt)){const Ut=this.trigger(c,Dt,xo,k);Ut&&Ce.push(Ut)}}),Ce.length)return this._engine.markElementAsRemoved(this.id,c,!0,l,_e),_&&Zn(Ce).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const l=this._elementListeners.get(c),_=this._engine.statesByElement.get(c);if(l&&_){const k=new Set;l.forEach($=>{const _e=$.name;if(k.has(_e))return;k.add(_e);const Ke=this._triggers.get(_e).fallbackTransition,Dt=_.get(_e)||io,Ut=new no(xo),$t=new Hr(this.id,_e,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:_e,transition:Ke,fromState:Dt,toState:Ut,player:$t,isFallbackTransition:!0})})}}removeNode(c,l){const _=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,l),this.triggerLeaveAnimation(c,l,!0))return;let k=!1;if(_.totalAnimations){const $=_.players.length?_.playersByQueriedElement.get(c):[];if($&&$.length)k=!0;else{let _e=c;for(;_e=_e.parentNode;)if(_.statesByElement.get(_e)){k=!0;break}}}if(this.prepareLeaveAnimationListeners(c),k)_.markElementAsRemoved(this.id,c,!1,l);else{const $=c[Ai];(!$||$===rr)&&(_.afterFlush(()=>this.clearElementCache(c)),_.destroyInnerAnimations(c),_._onRemovalComplete(c,l))}}insertNode(c,l){Fi(c,this._hostClassName)}drainQueuedTransitions(c){const l=[];return this._queue.forEach(_=>{const k=_.player;if(k.destroyed)return;const $=_.element,_e=this._elementListeners.get($);_e&&_e.forEach(Ce=>{if(Ce.name==_.triggerName){const Ke=X($,_.triggerName,_.fromState.value,_.toState.value);Ke._data=c,R(_.player,Ce.phase,Ke,Ce.callback)}}),k.markedForDestroy?this._engine.afterFlush(()=>{k.destroy()}):l.push(_)}),this._queue=[],l.sort((_,k)=>{const $=_.transition.ast.depCount,_e=k.transition.ast.depCount;return 0==$||0==_e?$-_e:this._engine.driver.containsElement(_.element,k.element)?1:-1})}destroy(c){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,c)}elementContainsData(c){let l=!1;return this._elementListeners.has(c)&&(l=!0),l=!!this._queue.find(_=>_.element===c)||l,l}}class ro{_onRemovalComplete(c,l){this.onRemovalComplete(c,l)}constructor(c,l,_){this.bodyNode=c,this.driver=l,this._normalizer=_,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(k,$)=>{}}get queuedPlayers(){const c=[];return this._namespaceList.forEach(l=>{l.players.forEach(_=>{_.queued&&c.push(_)})}),c}createNamespace(c,l){const _=new Co(c,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(_,l):(this.newHostElements.set(l,_),this.collectEnterElement(l)),this._namespaceLookup[c]=_}_balanceNamespaceList(c,l){const _=this._namespaceList,k=this.namespacesByHostElement;if(_.length-1>=0){let _e=!1,Ce=this.driver.getParentElement(l);for(;Ce;){const Ke=k.get(Ce);if(Ke){const Dt=_.indexOf(Ke);_.splice(Dt+1,0,c),_e=!0;break}Ce=this.driver.getParentElement(Ce)}_e||_.unshift(c)}else _.push(c);return k.set(l,c),c}register(c,l){let _=this._namespaceLookup[c];return _||(_=this.createNamespace(c,l)),_}registerTrigger(c,l,_){let k=this._namespaceLookup[c];k&&k.register(l,_)&&this.totalAnimations++}destroy(c,l){if(!c)return;const _=this._fetchNamespace(c);this.afterFlush(()=>{this.namespacesByHostElement.delete(_.hostElement),delete this._namespaceLookup[c];const k=this._namespaceList.indexOf(_);k>=0&&this._namespaceList.splice(k,1)}),this.afterFlushAnimationsDone(()=>_.destroy(l))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const l=new Set,_=this.statesByElement.get(c);if(_)for(let k of _.values())if(k.namespaceId){const $=this._fetchNamespace(k.namespaceId);$&&l.add($)}return l}trigger(c,l,_,k){if(gr(l)){const $=this._fetchNamespace(c);if($)return $.trigger(l,_,k),!0}return!1}insertNode(c,l,_,k){if(!gr(l))return;const $=l[Ai];if($&&$.setForRemoval){$.setForRemoval=!1,$.setForMove=!0;const _e=this.collectedLeaveElements.indexOf(l);_e>=0&&this.collectedLeaveElements.splice(_e,1)}if(c){const _e=this._fetchNamespace(c);_e&&_e.insertNode(l,_)}k&&this.collectEnterElement(l)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,l){l?this.disabledNodes.has(c)||(this.disabledNodes.add(c),Fi(c,Do)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),Mr(c,Do))}removeNode(c,l,_,k){if(gr(l)){const $=c?this._fetchNamespace(c):null;if($?$.removeNode(l,k):this.markElementAsRemoved(c,l,!1,k),_){const _e=this.namespacesByHostElement.get(l);_e&&_e.id!==c&&_e.removeNode(l,k)}}else this._onRemovalComplete(l,k)}markElementAsRemoved(c,l,_,k,$){this.collectedLeaveElements.push(l),l[Ai]={namespaceId:c,setForRemoval:k,hasAnimation:_,removedBeforeQueried:!1,previousTriggersValues:$}}listen(c,l,_,k,$){return gr(l)?this._fetchNamespace(c).listen(l,_,k,$):()=>{}}_buildInstruction(c,l,_,k,$){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,_,k,c.fromState.options,c.toState.options,l,$)}destroyInnerAnimations(c){let l=this.driver.query(c,Kn,!0);l.forEach(_=>this.destroyActiveAnimationsForElement(_)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(c,Oi,!0),l.forEach(_=>this.finishActiveQueriedAnimationOnElement(_)))}destroyActiveAnimationsForElement(c){const l=this.playersByElement.get(c);l&&l.forEach(_=>{_.queued?_.markedForDestroy=!0:_.destroy()})}finishActiveQueriedAnimationOnElement(c){const l=this.playersByQueriedElement.get(c);l&&l.forEach(_=>_.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return Zn(this.players).onDone(()=>c());c()})}processLeaveNode(c){const l=c[Ai];if(l&&l.setForRemoval){if(c[Ai]=rr,l.namespaceId){this.destroyInnerAnimations(c);const _=this._fetchNamespace(l.namespaceId);_&&_.clearElementCache(c)}this._onRemovalComplete(c,l.setForRemoval)}c.classList?.contains(Do)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(_=>{this.markElementAsDisabled(_,!1)})}flush(c=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((_,k)=>this._balanceNamespaceList(_,k)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let _=0;__()),this._flushFns=[],this._whenQuietFns.length){const _=this._whenQuietFns;this._whenQuietFns=[],l.length?Zn(l).onDone(()=>{_.forEach(k=>k())}):_.forEach(k=>k())}}reportError(c){throw function Te(x){return new a.vHH(3402,!1)}()}_flushAnimations(c,l){const _=new zn,k=[],$=new Map,_e=[],Ce=new Map,Ke=new Map,Dt=new Map,Ut=new Set;this.disabledNodes.forEach(Xt=>{Ut.add(Xt);const en=this.driver.query(Xt,".ng-animate-queued",!0);for(let Bt=0;Bt{const Bt=ji+Jt++;Qt.set(en,Bt),Xt.forEach(In=>Fi(In,Bt))});const En=[],Hn=new Set,si=new Set;for(let Xt=0;XtHn.add(In)):si.add(en))}const jn=new Map,hi=os(gn,Array.from(Hn));hi.forEach((Xt,en)=>{const Bt=qi+Jt++;jn.set(en,Bt),Xt.forEach(In=>Fi(In,Bt))}),c.push(()=>{hn.forEach((Xt,en)=>{const Bt=Qt.get(en);Xt.forEach(In=>Mr(In,Bt))}),hi.forEach((Xt,en)=>{const Bt=jn.get(en);Xt.forEach(In=>Mr(In,Bt))}),En.forEach(Xt=>{this.processLeaveNode(Xt)})});const co=[],or=[];for(let Xt=this._namespaceList.length-1;Xt>=0;Xt--)this._namespaceList[Xt].drainQueuedTransitions(l).forEach(Bt=>{const In=Bt.player,_i=Bt.element;if(co.push(In),this.collectedEnterElements.length){const Ti=_i[Ai];if(Ti&&Ti.setForMove){if(Ti.previousTriggersValues&&Ti.previousTriggersValues.has(Bt.triggerName)){const So=Ti.previousTriggersValues.get(Bt.triggerName),On=this.statesByElement.get(Bt.element);if(On&&On.has(Bt.triggerName)){const To=On.get(Bt.triggerName);To.value=So,On.set(Bt.triggerName,To)}}return void In.destroy()}}const Sr=!$t||!this.driver.containsElement($t,_i),Ki=jn.get(_i),ho=Qt.get(_i),Jn=this._buildInstruction(Bt,_,ho,Ki,Sr);if(Jn.errors&&Jn.errors.length)return void or.push(Jn);if(Sr)return In.onStart(()=>Mn(_i,Jn.fromStyles)),In.onDestroy(()=>wi(_i,Jn.toStyles)),void k.push(In);if(Bt.isFallbackTransition)return In.onStart(()=>Mn(_i,Jn.fromStyles)),In.onDestroy(()=>wi(_i,Jn.toStyles)),void k.push(In);const sa=[];Jn.timelines.forEach(Ti=>{Ti.stretchStartingKeyframe=!0,this.disabledNodes.has(Ti.element)||sa.push(Ti)}),Jn.timelines=sa,_.append(_i,Jn.timelines),_e.push({instruction:Jn,player:In,element:_i}),Jn.queriedElements.forEach(Ti=>Ye(Ce,Ti,[]).push(In)),Jn.preStyleProps.forEach((Ti,So)=>{if(Ti.size){let On=Ke.get(So);On||Ke.set(So,On=new Set),Ti.forEach((To,Io)=>On.add(Io))}}),Jn.postStyleProps.forEach((Ti,So)=>{let On=Dt.get(So);On||Dt.set(So,On=new Set),Ti.forEach((To,Io)=>On.add(Io))})});if(or.length){const Xt=[];or.forEach(en=>{Xt.push(function Nt(x,c){return new a.vHH(3505,!1)}())}),co.forEach(en=>en.destroy()),this.reportError(Xt)}const Li=new Map,sr=new Map;_e.forEach(Xt=>{const en=Xt.element;_.has(en)&&(sr.set(en,en),this._beforeAnimationBuild(Xt.player.namespaceId,Xt.instruction,Li))}),k.forEach(Xt=>{const en=Xt.element;this._getPreviousPlayers(en,!1,Xt.namespaceId,Xt.triggerName,null).forEach(In=>{Ye(Li,en,[]).push(In),In.destroy()})});const Yi=En.filter(Xt=>$n(Xt,Ke,Dt)),Ci=new Map;rs(Ci,this.driver,si,Dt,ue.l3).forEach(Xt=>{$n(Xt,Ke,Dt)&&Yi.push(Xt)});const _r=new Map;hn.forEach((Xt,en)=>{rs(_r,this.driver,new Set(Xt),Ke,ue.k1)}),Yi.forEach(Xt=>{const en=Ci.get(Xt),Bt=_r.get(Xt);Ci.set(Xt,new Map([...Array.from(en?.entries()??[]),...Array.from(Bt?.entries()??[])]))});const jr=[],$o=[],uo={};_e.forEach(Xt=>{const{element:en,player:Bt,instruction:In}=Xt;if(_.has(en)){if(Ut.has(en))return Bt.onDestroy(()=>wi(en,In.toStyles)),Bt.disabled=!0,Bt.overrideTotalTime(In.totalTime),void k.push(Bt);let _i=uo;if(sr.size>1){let Ki=en;const ho=[];for(;Ki=Ki.parentNode;){const Jn=sr.get(Ki);if(Jn){_i=Jn;break}ho.push(Ki)}ho.forEach(Jn=>sr.set(Jn,_i))}const Sr=this._buildAnimation(Bt.namespaceId,In,Li,$,_r,Ci);if(Bt.setRealPlayer(Sr),_i===uo)jr.push(Bt);else{const Ki=this.playersByElement.get(_i);Ki&&Ki.length&&(Bt.parentPlayer=Zn(Ki)),k.push(Bt)}}else Mn(en,In.fromStyles),Bt.onDestroy(()=>wi(en,In.toStyles)),$o.push(Bt),Ut.has(en)&&k.push(Bt)}),$o.forEach(Xt=>{const en=$.get(Xt.element);if(en&&en.length){const Bt=Zn(en);Xt.setRealPlayer(Bt)}}),k.forEach(Xt=>{Xt.parentPlayer?Xt.syncPlayerEvents(Xt.parentPlayer):Xt.destroy()});for(let Xt=0;Xt!Sr.destroyed);_i.length?ss(this,en,_i):this.processLeaveNode(en)}return En.length=0,jr.forEach(Xt=>{this.players.push(Xt),Xt.onDone(()=>{Xt.destroy();const en=this.players.indexOf(Xt);this.players.splice(en,1)}),Xt.play()}),jr}elementContainsData(c,l){let _=!1;const k=l[Ai];return k&&k.setForRemoval&&(_=!0),this.playersByElement.has(l)&&(_=!0),this.playersByQueriedElement.has(l)&&(_=!0),this.statesByElement.has(l)&&(_=!0),this._fetchNamespace(c).elementContainsData(l)||_}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,l,_,k,$){let _e=[];if(l){const Ce=this.playersByQueriedElement.get(c);Ce&&(_e=Ce)}else{const Ce=this.playersByElement.get(c);if(Ce){const Ke=!$||$==xo;Ce.forEach(Dt=>{Dt.queued||!Ke&&Dt.triggerName!=k||_e.push(Dt)})}}return(_||k)&&(_e=_e.filter(Ce=>!(_&&_!=Ce.namespaceId||k&&k!=Ce.triggerName))),_e}_beforeAnimationBuild(c,l,_){const $=l.element,_e=l.isRemovalTransition?void 0:c,Ce=l.isRemovalTransition?void 0:l.triggerName;for(const Ke of l.timelines){const Dt=Ke.element,Ut=Dt!==$,$t=Ye(_,Dt,[]);this._getPreviousPlayers(Dt,Ut,_e,Ce,l.toState).forEach(hn=>{const Qt=hn.getRealPlayer();Qt.beforeDestroy&&Qt.beforeDestroy(),hn.destroy(),$t.push(hn)})}Mn($,l.fromStyles)}_buildAnimation(c,l,_,k,$,_e){const Ce=l.triggerName,Ke=l.element,Dt=[],Ut=new Set,$t=new Set,gn=l.timelines.map(Qt=>{const Jt=Qt.element;Ut.add(Jt);const En=Jt[Ai];if(En&&En.removedBeforeQueried)return new ue.ZN(Qt.duration,Qt.delay);const Hn=Jt!==Ke,si=function Is(x){const c=[];return gi(x,c),c}((_.get(Jt)||mr).map(Li=>Li.getRealPlayer())).filter(Li=>!!Li.element&&Li.element===Jt),jn=$.get(Jt),hi=_e.get(Jt),co=ie(0,this._normalizer,0,Qt.keyframes,jn,hi),or=this._buildPlayer(Qt,co,si);if(Qt.subTimeline&&k&&$t.add(Jt),Hn){const Li=new Hr(c,Ce,Jt);Li.setRealPlayer(or),Dt.push(Li)}return or});Dt.forEach(Qt=>{Ye(this.playersByQueriedElement,Qt.element,[]).push(Qt),Qt.onDone(()=>function oo(x,c,l){let _=x.get(c);if(_){if(_.length){const k=_.indexOf(l);_.splice(k,1)}0==_.length&&x.delete(c)}return _}(this.playersByQueriedElement,Qt.element,Qt))}),Ut.forEach(Qt=>Fi(Qt,yr));const hn=Zn(gn);return hn.onDestroy(()=>{Ut.forEach(Qt=>Mr(Qt,yr)),wi(Ke,l.toStyles)}),$t.forEach(Qt=>{Ye(k,Qt,[]).push(hn)}),hn}_buildPlayer(c,l,_){return l.length>0?this.driver.animate(c.element,l,c.duration,c.delay,c.easing,_):new ue.ZN(c.duration,c.delay)}}class Hr{constructor(c,l,_){this.namespaceId=c,this.triggerName=l,this.element=_,this._player=new ue.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(c){this._containsRealPlayer||(this._player=c,this._queuedCallbacks.forEach((l,_)=>{l.forEach(k=>R(c,_,void 0,k))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const l=this._player;l.triggerCallback&&c.onStart(()=>l.triggerCallback("start")),c.onDone(()=>this.finish()),c.onDestroy(()=>this.destroy())}_queueEvent(c,l){Ye(this._queuedCallbacks,c,[]).push(l)}onDone(c){this.queued&&this._queueEvent("done",c),this._player.onDone(c)}onStart(c){this.queued&&this._queueEvent("start",c),this._player.onStart(c)}onDestroy(c){this.queued&&this._queueEvent("destroy",c),this._player.onDestroy(c)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(c){this.queued||this._player.setPosition(c)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(c){const l=this._player;l.triggerCallback&&l.triggerCallback(c)}}function gr(x){return x&&1===x.nodeType}function is(x,c){const l=x.style.display;return x.style.display=c??"none",l}function rs(x,c,l,_,k){const $=[];l.forEach(Ke=>$.push(is(Ke)));const _e=[];_.forEach((Ke,Dt)=>{const Ut=new Map;Ke.forEach($t=>{const gn=c.computeStyle(Dt,$t,k);Ut.set($t,gn),(!gn||0==gn.length)&&(Dt[Ai]=pr,_e.push(Dt))}),x.set(Dt,Ut)});let Ce=0;return l.forEach(Ke=>is(Ke,$[Ce++])),_e}function os(x,c){const l=new Map;if(x.forEach(Ce=>l.set(Ce,[])),0==c.length)return l;const k=new Set(c),$=new Map;function _e(Ce){if(!Ce)return 1;let Ke=$.get(Ce);if(Ke)return Ke;const Dt=Ce.parentNode;return Ke=l.has(Dt)?Dt:k.has(Dt)?1:_e(Dt),$.set(Ce,Ke),Ke}return c.forEach(Ce=>{const Ke=_e(Ce);1!==Ke&&l.get(Ke).push(Ce)}),l}function Fi(x,c){x.classList?.add(c)}function Mr(x,c){x.classList?.remove(c)}function ss(x,c,l){Zn(l).onDone(()=>x.processLeaveNode(c))}function gi(x,c){for(let l=0;lk.add($)):c.set(x,_),l.delete(x),!0}class wo{constructor(c,l,_){this.bodyNode=c,this._driver=l,this._normalizer=_,this._triggerCache={},this.onRemovalComplete=(k,$)=>{},this._transitionEngine=new ro(c,l,_),this._timelineEngine=new ts(c,l,_),this._transitionEngine.onRemovalComplete=(k,$)=>this.onRemovalComplete(k,$)}registerTrigger(c,l,_,k,$){const _e=c+"-"+k;let Ce=this._triggerCache[_e];if(!Ce){const Ke=[],Ut=nr(this._driver,$,Ke,[]);if(Ke.length)throw function Ot(x,c){return new a.vHH(3404,!1)}();Ce=function hs(x,c,l){return new pi(x,c,l)}(k,Ut,this._normalizer),this._triggerCache[_e]=Ce}this._transitionEngine.registerTrigger(l,k,Ce)}register(c,l){this._transitionEngine.register(c,l)}destroy(c,l){this._transitionEngine.destroy(c,l)}onInsert(c,l,_,k){this._transitionEngine.insertNode(c,l,_,k)}onRemove(c,l,_,k){this._transitionEngine.removeNode(c,l,k||!1,_)}disableAnimations(c,l){this._transitionEngine.markElementAsDisabled(c,l)}process(c,l,_,k){if("@"==_.charAt(0)){const[$,_e]=Pt(_);this._timelineEngine.command($,l,_e,k)}else this._transitionEngine.trigger(c,l,_,k)}listen(c,l,_,k,$){if("@"==_.charAt(0)){const[_e,Ce]=Pt(_);return this._timelineEngine.listen(_e,l,Ce,$)}return this._transitionEngine.listen(c,l,_,k,$)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ps=(()=>{class x{constructor(l,_,k){this._element=l,this._startStyles=_,this._endStyles=k,this._state=0;let $=x.initialStylesByElement.get(l);$||x.initialStylesByElement.set(l,$=new Map),this._initialStyles=$}start(){this._state<1&&(this._startStyles&&wi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(wi(this._element,this._initialStyles),this._endStyles&&(wi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(x.initialStylesByElement.delete(this._element),this._startStyles&&(Mn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Mn(this._element,this._endStyles),this._endStyles=null),wi(this._element,this._initialStyles),this._state=3)}}return x.initialStylesByElement=new WeakMap,x})();function zo(x){let c=null;return x.forEach((l,_)=>{(function ks(x){return"display"===x||"position"===x})(_)&&(c=c||new Map,c.set(_,l))}),c}class as{constructor(c,l,_,k){this.element=c,this.keyframes=l,this.options=_,this._specialStyles=k,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=_.duration,this._delay=_.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(c=>c()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const c=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,c,this.options),this._finalKeyframe=c.length?c[c.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(c){const l=[];return c.forEach(_=>{l.push(Object.fromEntries(_))}),l}_triggerWebAnimation(c,l,_){return c.animate(this._convertKeyframesToObject(l),_)}onStart(c){this._originalOnStartFns.push(c),this._onStartFns.push(c)}onDone(c){this._originalOnDoneFns.push(c),this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(c=>c()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(c=>c()),this._onDestroyFns=[])}setPosition(c){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=c*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const c=new Map;this.hasStarted()&&this._finalKeyframe.forEach((_,k)=>{"offset"!==k&&c.set(k,this._finished?_:Rr(this.element,k))}),this.currentSnapshot=c}triggerCallback(c){const l="start"===c?this._onStartFns:this._onDoneFns;l.forEach(_=>_()),l.length=0}}class Mo{validateStyleProperty(c){return!0}validateAnimatableStyleProperty(c){return!0}matchesElement(c,l){return!1}containsElement(c,l){return Bn(c,l)}getParentElement(c){return Pn(c)}query(c,l,_){return Nn(c,l,_)}computeStyle(c,l,_){return window.getComputedStyle(c)[l]}animate(c,l,_,k,$,_e=[]){const Ke={duration:_,delay:k,fill:0==k?"both":"forwards"};$&&(Ke.easing=$);const Dt=new Map,Ut=_e.filter(hn=>hn instanceof as);(function Yr(x,c){return 0===x||0===c})(_,k)&&Ut.forEach(hn=>{hn.currentSnapshot.forEach((Qt,Jt)=>Dt.set(Jt,Qt))});let $t=function _o(x){return x.length?x[0]instanceof Map?x:x.map(c=>Er(c)):[]}(l).map(hn=>Ei(hn));$t=function No(x,c,l){if(l.size&&c.length){let _=c[0],k=[];if(l.forEach(($,_e)=>{_.has(_e)||k.push(_e),_.set(_e,$)}),k.length)for(let $=1;$_e.set(Ce,Rr(x,Ce)))}}return c}(c,$t,Dt);const gn=function Os(x,c){let l=null,_=null;return Array.isArray(c)&&c.length?(l=zo(c[0]),c.length>1&&(_=zo(c[c.length-1]))):c instanceof Map&&(l=zo(c)),l||_?new ps(x,l,_):null}(c,$t);return new as(c,$t,Ke,gn)}}let g=(()=>{class x extends ue._j{constructor(l,_){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(_.body,{id:"0",encapsulation:a.ifc.None,styles:[],data:{animation:[]}})}build(l){const _=this._nextAnimationId.toString();this._nextAnimationId++;const k=Array.isArray(l)?(0,ue.vP)(l):l;return H(this._renderer,null,_,"register",[k]),new O(_,this._renderer)}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(a.FYo),a.LFG(te.K0))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})();class O extends ue.LC{constructor(c,l){super(),this._id=c,this._renderer=l}create(c,l){return new D(this._id,c,l||{},this._renderer)}}class D{constructor(c,l,_,k){this.id=c,this.element=l,this._renderer=k,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",_)}_listen(c,l){return this._renderer.listen(this.element,`@@${this.id}:${c}`,l)}_command(c,...l){return H(this._renderer,this.element,this.id,c,l)}onDone(c){this._listen("done",c)}onStart(c){this._listen("start",c)}onDestroy(c){this._listen("destroy",c)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(c){this._command("setPosition",c)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function H(x,c,l,_,k){return x.setProperty(c,`@@${l}:${_}`,k)}const Je="@.disabled";let gt=(()=>{class x{constructor(l,_,k){this.delegate=l,this.engine=_,this._zone=k,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),_.onRemovalComplete=($,_e)=>{const Ce=_e?.parentNode($);Ce&&_e.removeChild(Ce,$)}}createRenderer(l,_){const $=this.delegate.createRenderer(l,_);if(!(l&&_&&_.data&&_.data.animation)){let Ut=this._rendererCache.get($);return Ut||(Ut=new Gt("",$,this.engine,()=>this._rendererCache.delete($)),this._rendererCache.set($,Ut)),Ut}const _e=_.id,Ce=_.id+"-"+this._currentId;this._currentId++,this.engine.register(Ce,l);const Ke=Ut=>{Array.isArray(Ut)?Ut.forEach(Ke):this.engine.registerTrigger(_e,Ce,l,Ut.name,Ut)};return _.data.animation.forEach(Ke),new Tn(this,Ce,$,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,_,k){l>=0&&l_(k)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach($=>{const[_e,Ce]=$;_e(Ce)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([_,k]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(a.FYo),a.LFG(wo),a.LFG(a.R0b))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})();class Gt{constructor(c,l,_,k){this.namespaceId=c,this.delegate=l,this.engine=_,this._onDestroy=k,this.destroyNode=this.delegate.destroyNode?$=>l.destroyNode($):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(c,l){return this.delegate.createElement(c,l)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,l){this.delegate.appendChild(c,l),this.engine.onInsert(this.namespaceId,l,c,!1)}insertBefore(c,l,_,k=!0){this.delegate.insertBefore(c,l,_),this.engine.onInsert(this.namespaceId,l,c,k)}removeChild(c,l,_){this.engine.onRemove(this.namespaceId,l,this.delegate,_)}selectRootElement(c,l){return this.delegate.selectRootElement(c,l)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,l,_,k){this.delegate.setAttribute(c,l,_,k)}removeAttribute(c,l,_){this.delegate.removeAttribute(c,l,_)}addClass(c,l){this.delegate.addClass(c,l)}removeClass(c,l){this.delegate.removeClass(c,l)}setStyle(c,l,_,k){this.delegate.setStyle(c,l,_,k)}removeStyle(c,l,_){this.delegate.removeStyle(c,l,_)}setProperty(c,l,_){"@"==l.charAt(0)&&l==Je?this.disableAnimations(c,!!_):this.delegate.setProperty(c,l,_)}setValue(c,l){this.delegate.setValue(c,l)}listen(c,l,_){return this.delegate.listen(c,l,_)}disableAnimations(c,l){this.engine.disableAnimations(c,l)}}class Tn extends Gt{constructor(c,l,_,k,$){super(l,_,k,$),this.factory=c,this.namespaceId=l}setProperty(c,l,_){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Je?this.disableAnimations(c,_=void 0===_||!!_):this.engine.process(this.namespaceId,c,l.slice(1),_):this.delegate.setProperty(c,l,_)}listen(c,l,_){if("@"==l.charAt(0)){const k=function bn(x){switch(x){case"body":return document.body;case"document":return document;case"window":return window;default:return x}}(c);let $=l.slice(1),_e="";return"@"!=$.charAt(0)&&([$,_e]=function An(x){const c=x.indexOf(".");return[x.substring(0,c),x.slice(c+1)]}($)),this.engine.listen(this.namespaceId,k,$,_e,Ce=>{this.factory.scheduleListenerCallback(Ce._data||-1,_,Ce)})}return this.delegate.listen(c,l,_)}}const ii=[{provide:ue._j,useClass:g},{provide:Ur,useFactory:function qn(){return new y}},{provide:wo,useClass:(()=>{class x extends wo{constructor(l,_,k,$){super(l.body,_,k)}ngOnDestroy(){this.flush()}}return x.\u0275fac=function(l){return new(l||x)(a.LFG(te.K0),a.LFG(li),a.LFG(Ur),a.LFG(a.z2F))},x.\u0275prov=a.Yz7({token:x,factory:x.\u0275fac}),x})()},{provide:a.FYo,useFactory:function Sn(x,c,l){return new gt(x,c,l)},deps:[o.se,wo,a.R0b]}],Ui=[{provide:li,useFactory:()=>new Mo},{provide:a.QbO,useValue:"BrowserAnimations"},...ii],Si=[{provide:li,useClass:mn},{provide:a.QbO,useValue:"NoopAnimations"},...ii];let Hi=(()=>{class x{static withConfig(l){return{ngModule:x,providers:l.disableAnimations?Si:Ui}}}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({providers:Ui,imports:[o.b2]}),x})();var ao=f(9998),Rs=f(3822);const cs=[{path:"",component:ot}];let gs=(()=>{class x{}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({imports:[te.ez,ee.Bz.forChild(cs),Rs.m]}),x})();const ls=[{path:"",component:F}];let _s=(()=>{class x{}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({imports:[te.ez,Rs.m,ee.Bz.forChild(ls),Re.lQ,Re.a]}),x})();var Ps=f(1985);let Fs=(()=>{class x{}return x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=a.oAB({type:x,bootstrap:[se]}),x.\u0275inj=a.cJS({providers:[{provide:E.TP,useClass:Z,multi:!0},ao.i,It,Ps.Q],imports:[o.b2,L,E.JF,Hi,ft.H,Re.a,ye,gs,_s]}),x})();Q.N.production&&(0,a.G48)(),o.q6().bootstrapModule(Fs).catch(x=>console.error(x))},3167:_t=>{function f(a){this.message=a}(f.prototype=new Error).name="InvalidCharacterError",_t.exports=typeof window<"u"&&window.atob&&window.atob.bind(window)||function o(a){var E=String(a).replace(/=+$/,"");if(E.length%4==1)throw new f("'atob' failed: The string to be decoded is not correctly encoded.");for(var Q,G,W=0,re=0,K="";G=E.charAt(re++);~G&&(Q=W%4?64*Q+G:G,W++%4)?K+=String.fromCharCode(255&Q>>(-2*W&6)):0)G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(G);return K}},6815:(_t,De,f)=>{var o=f(3167);_t.exports=function(E){var W=E.replace(/-/g,"+").replace(/_/g,"/");switch(W.length%4){case 0:break;case 2:W+="==";break;case 3:W+="=";break;default:throw"Illegal base64url string!"}try{return function a(E){return decodeURIComponent(o(E).replace(/(.)/g,function(W,Q){var G=Q.charCodeAt(0).toString(16).toUpperCase();return G.length<2&&(G="0"+G),"%"+G}))}(W)}catch{return o(W)}}},491:(_t,De,f)=>{"use strict";var o=f(6815);function a(E){this.message=E}(a.prototype=new Error).name="InvalidTokenError",_t.exports=function(E,W){if("string"!=typeof E)throw new a("Invalid token specified");var Q=!0===(W=W||{}).header?0:1;try{return JSON.parse(o(E.split(".")[Q]))}catch(G){throw new a("Invalid token specified: "+G.message)}},_t.exports.InvalidTokenError=a},1135:(_t,De,f)=>{"use strict";f.d(De,{X:()=>a});var o=f(7579);class a extends o.x{constructor(W){super(),this._value=W}get value(){return this.getValue()}_subscribe(W){const Q=super._subscribe(W);return!Q.closed&&W.next(this._value),Q}getValue(){const{hasError:W,thrownError:Q,_value:G}=this;if(W)throw Q;return this._throwIfClosed(),G}next(W){super.next(this._value=W)}}},9751:(_t,De,f)=>{"use strict";f.d(De,{y:()=>K});var o=f(930),a=f(727),E=f(8822),W=f(9635),Q=f(2416),G=f(576),re=f(2806);let K=(()=>{class te{constructor(xe){xe&&(this._subscribe=xe)}lift(xe){const Se=new te;return Se.source=this,Se.operator=xe,Se}subscribe(xe,Se,Re){const Me=function he(te){return te&&te instanceof o.Lv||function ee(te){return te&&(0,G.m)(te.next)&&(0,G.m)(te.error)&&(0,G.m)(te.complete)}(te)&&(0,a.Nn)(te)}(xe)?xe:new o.Hp(xe,Se,Re);return(0,re.x)(()=>{const{operator:rt,source:tt}=this;Me.add(rt?rt.call(Me,tt):tt?this._subscribe(Me):this._trySubscribe(Me))}),Me}_trySubscribe(xe){try{return this._subscribe(xe)}catch(Se){xe.error(Se)}}forEach(xe,Se){return new(Se=Z(Se))((Re,Me)=>{const rt=new o.Hp({next:tt=>{try{xe(tt)}catch(Ge){Me(Ge),rt.unsubscribe()}},error:Me,complete:Re});this.subscribe(rt)})}_subscribe(xe){var Se;return null===(Se=this.source)||void 0===Se?void 0:Se.subscribe(xe)}[E.L](){return this}pipe(...xe){return(0,W.U)(xe)(this)}toPromise(xe){return new(xe=Z(xe))((Se,Re)=>{let Me;this.subscribe(rt=>Me=rt,rt=>Re(rt),()=>Se(Me))})}}return te.create=ke=>new te(ke),te})();function Z(te){var ke;return null!==(ke=te??Q.v.Promise)&&void 0!==ke?ke:Promise}},7579:(_t,De,f)=>{"use strict";f.d(De,{x:()=>re});var o=f(9751),a=f(727);const W=(0,f(3888).d)(Z=>function(){Z(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=f(8737),G=f(2806);let re=(()=>{class Z extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(he){const te=new K(this,this);return te.operator=he,te}_throwIfClosed(){if(this.closed)throw new W}next(he){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const te of this.currentObservers)te.next(he)}})}error(he){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=he;const{observers:te}=this;for(;te.length;)te.shift().error(he)}})}complete(){(0,G.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:he}=this;for(;he.length;)he.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var he;return(null===(he=this.observers)||void 0===he?void 0:he.length)>0}_trySubscribe(he){return this._throwIfClosed(),super._trySubscribe(he)}_subscribe(he){return this._throwIfClosed(),this._checkFinalizedStatuses(he),this._innerSubscribe(he)}_innerSubscribe(he){const{hasError:te,isStopped:ke,observers:xe}=this;return te||ke?a.Lc:(this.currentObservers=null,xe.push(he),new a.w0(()=>{this.currentObservers=null,(0,Q.P)(xe,he)}))}_checkFinalizedStatuses(he){const{hasError:te,thrownError:ke,isStopped:xe}=this;te?he.error(ke):xe&&he.complete()}asObservable(){const he=new o.y;return he.source=this,he}}return Z.create=(ee,he)=>new K(ee,he),Z})();class K extends re{constructor(ee,he){super(),this.destination=ee,this.source=he}next(ee){var he,te;null===(te=null===(he=this.destination)||void 0===he?void 0:he.next)||void 0===te||te.call(he,ee)}error(ee){var he,te;null===(te=null===(he=this.destination)||void 0===he?void 0:he.error)||void 0===te||te.call(he,ee)}complete(){var ee,he;null===(he=null===(ee=this.destination)||void 0===ee?void 0:ee.complete)||void 0===he||he.call(ee)}_subscribe(ee){var he,te;return null!==(te=null===(he=this.source)||void 0===he?void 0:he.subscribe(ee))&&void 0!==te?te:a.Lc}}},930:(_t,De,f)=>{"use strict";f.d(De,{Hp:()=>Re,Lv:()=>te});var o=f(576),a=f(727),E=f(2416),W=f(7849),Q=f(5032);const G=Z("C",void 0,void 0);function Z(fe,N,F){return{kind:fe,value:N,error:F}}var ee=f(3410),he=f(2806);class te extends a.w0{constructor(N){super(),this.isStopped=!1,N?(this.destination=N,(0,a.Nn)(N)&&N.add(this)):this.destination=Ge}static create(N,F,U){return new Re(N,F,U)}next(N){this.isStopped?tt(function K(fe){return Z("N",fe,void 0)}(N),this):this._next(N)}error(N){this.isStopped?tt(function re(fe){return Z("E",void 0,fe)}(N),this):(this.isStopped=!0,this._error(N))}complete(){this.isStopped?tt(G,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(N){this.destination.next(N)}_error(N){try{this.destination.error(N)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ke=Function.prototype.bind;function xe(fe,N){return ke.call(fe,N)}class Se{constructor(N){this.partialObserver=N}next(N){const{partialObserver:F}=this;if(F.next)try{F.next(N)}catch(U){Me(U)}}error(N){const{partialObserver:F}=this;if(F.error)try{F.error(N)}catch(U){Me(U)}else Me(N)}complete(){const{partialObserver:N}=this;if(N.complete)try{N.complete()}catch(F){Me(F)}}}class Re extends te{constructor(N,F,U){let ce;if(super(),(0,o.m)(N)||!N)ce={next:N??void 0,error:F??void 0,complete:U??void 0};else{let Oe;this&&E.v.useDeprecatedNextContext?(Oe=Object.create(N),Oe.unsubscribe=()=>this.unsubscribe(),ce={next:N.next&&xe(N.next,Oe),error:N.error&&xe(N.error,Oe),complete:N.complete&&xe(N.complete,Oe)}):ce=N}this.destination=new Se(ce)}}function Me(fe){E.v.useDeprecatedSynchronousErrorHandling?(0,he.O)(fe):(0,W.h)(fe)}function tt(fe,N){const{onStoppedNotification:F}=E.v;F&&ee.z.setTimeout(()=>F(fe,N))}const Ge={closed:!0,next:Q.Z,error:function rt(fe){throw fe},complete:Q.Z}},727:(_t,De,f)=>{"use strict";f.d(De,{Lc:()=>G,w0:()=>Q,Nn:()=>re});var o=f(576);const E=(0,f(3888).d)(Z=>function(he){Z(this),this.message=he?`${he.length} errors occurred during unsubscription:\n${he.map((te,ke)=>`${ke+1}) ${te.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=he});var W=f(8737);class Q{constructor(ee){this.initialTeardown=ee,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ee;if(!this.closed){this.closed=!0;const{_parentage:he}=this;if(he)if(this._parentage=null,Array.isArray(he))for(const xe of he)xe.remove(this);else he.remove(this);const{initialTeardown:te}=this;if((0,o.m)(te))try{te()}catch(xe){ee=xe instanceof E?xe.errors:[xe]}const{_finalizers:ke}=this;if(ke){this._finalizers=null;for(const xe of ke)try{K(xe)}catch(Se){ee=ee??[],Se instanceof E?ee=[...ee,...Se.errors]:ee.push(Se)}}if(ee)throw new E(ee)}}add(ee){var he;if(ee&&ee!==this)if(this.closed)K(ee);else{if(ee instanceof Q){if(ee.closed||ee._hasParent(this))return;ee._addParent(this)}(this._finalizers=null!==(he=this._finalizers)&&void 0!==he?he:[]).push(ee)}}_hasParent(ee){const{_parentage:he}=this;return he===ee||Array.isArray(he)&&he.includes(ee)}_addParent(ee){const{_parentage:he}=this;this._parentage=Array.isArray(he)?(he.push(ee),he):he?[he,ee]:ee}_removeParent(ee){const{_parentage:he}=this;he===ee?this._parentage=null:Array.isArray(he)&&(0,W.P)(he,ee)}remove(ee){const{_finalizers:he}=this;he&&(0,W.P)(he,ee),ee instanceof Q&&ee._removeParent(this)}}Q.EMPTY=(()=>{const Z=new Q;return Z.closed=!0,Z})();const G=Q.EMPTY;function re(Z){return Z instanceof Q||Z&&"closed"in Z&&(0,o.m)(Z.remove)&&(0,o.m)(Z.add)&&(0,o.m)(Z.unsubscribe)}function K(Z){(0,o.m)(Z)?Z():Z.unsubscribe()}},2416:(_t,De,f)=>{"use strict";f.d(De,{v:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(_t,De,f)=>{"use strict";f.d(De,{c:()=>G});var o=f(9751),a=f(727),E=f(8343),W=f(5403),Q=f(4482);class G extends o.y{constructor(K,Z){super(),this.source=K,this.subjectFactory=Z,this._subject=null,this._refCount=0,this._connection=null,(0,Q.A)(K)&&(this.lift=K.lift)}_subscribe(K){return this.getSubject().subscribe(K)}getSubject(){const K=this._subject;return(!K||K.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:K}=this;this._subject=this._connection=null,K?.unsubscribe()}connect(){let K=this._connection;if(!K){K=this._connection=new a.w0;const Z=this.getSubject();K.add(this.source.subscribe((0,W.x)(Z,void 0,()=>{this._teardown(),Z.complete()},ee=>{this._teardown(),Z.error(ee)},()=>this._teardown()))),K.closed&&(this._connection=null,K=a.w0.EMPTY)}return K}refCount(){return(0,E.x)()(this)}}},9841:(_t,De,f)=>{"use strict";f.d(De,{a:()=>ee,l:()=>he});var o=f(9751),a=f(4742),E=f(2076),W=f(4671),Q=f(3268),G=f(3269),re=f(1810),K=f(5403),Z=f(9672);function ee(...ke){const xe=(0,G.yG)(ke),Se=(0,G.jO)(ke),{args:Re,keys:Me}=(0,a.D)(ke);if(0===Re.length)return(0,E.D)([],xe);const rt=new o.y(he(Re,xe,Me?tt=>(0,re.n)(Me,tt):W.y));return Se?rt.pipe((0,Q.Z)(Se)):rt}function he(ke,xe,Se=W.y){return Re=>{te(xe,()=>{const{length:Me}=ke,rt=new Array(Me);let tt=Me,Ge=Me;for(let fe=0;fe{const N=(0,E.D)(ke[fe],xe);let F=!1;N.subscribe((0,K.x)(Re,U=>{rt[fe]=U,F||(F=!0,Ge--),Ge||Re.next(Se(rt.slice()))},()=>{--tt||Re.complete()}))},Re)},Re)}}function te(ke,xe,Se){ke?(0,Z.f)(Se,ke,xe):xe()}},7272:(_t,De,f)=>{"use strict";f.d(De,{z:()=>Q});var o=f(8189),E=f(3269),W=f(2076);function Q(...G){return function a(){return(0,o.J)(1)}()((0,W.D)(G,(0,E.yG)(G)))}},9770:(_t,De,f)=>{"use strict";f.d(De,{P:()=>E});var o=f(9751),a=f(8421);function E(W){return new o.y(Q=>{(0,a.Xf)(W()).subscribe(Q)})}},515:(_t,De,f)=>{"use strict";f.d(De,{E:()=>a});const a=new(f(9751).y)(Q=>Q.complete())},4128:(_t,De,f)=>{"use strict";f.d(De,{D:()=>K});var o=f(9751),a=f(4742),E=f(8421),W=f(3269),Q=f(5403),G=f(3268),re=f(1810);function K(...Z){const ee=(0,W.jO)(Z),{args:he,keys:te}=(0,a.D)(Z),ke=new o.y(xe=>{const{length:Se}=he;if(!Se)return void xe.complete();const Re=new Array(Se);let Me=Se,rt=Se;for(let tt=0;tt{Ge||(Ge=!0,rt--),Re[tt]=fe},()=>Me--,void 0,()=>{(!Me||!Ge)&&(rt||xe.next(te?(0,re.n)(te,Re):Re),xe.complete())}))}});return ee?ke.pipe((0,G.Z)(ee)):ke}},2076:(_t,De,f)=>{"use strict";f.d(De,{D:()=>U});var o=f(8421),a=f(9672),E=f(4482),W=f(5403);function Q(ce,Oe=0){return(0,E.e)((Ue,at)=>{Ue.subscribe((0,W.x)(at,ft=>(0,a.f)(at,ce,()=>at.next(ft),Oe),()=>(0,a.f)(at,ce,()=>at.complete(),Oe),ft=>(0,a.f)(at,ce,()=>at.error(ft),Oe)))})}function G(ce,Oe=0){return(0,E.e)((Ue,at)=>{at.add(ce.schedule(()=>Ue.subscribe(at),Oe))})}var Z=f(9751),he=f(2202),te=f(576);function xe(ce,Oe){if(!ce)throw new Error("Iterable cannot be null");return new Z.y(Ue=>{(0,a.f)(Ue,Oe,()=>{const at=ce[Symbol.asyncIterator]();(0,a.f)(Ue,Oe,()=>{at.next().then(ft=>{ft.done?Ue.complete():Ue.next(ft.value)})},0,!0)})})}var Se=f(3670),Re=f(8239),Me=f(1144),rt=f(6495),tt=f(2206),Ge=f(4532),fe=f(3260);function U(ce,Oe){return Oe?function F(ce,Oe){if(null!=ce){if((0,Se.c)(ce))return function re(ce,Oe){return(0,o.Xf)(ce).pipe(G(Oe),Q(Oe))}(ce,Oe);if((0,Me.z)(ce))return function ee(ce,Oe){return new Z.y(Ue=>{let at=0;return Oe.schedule(function(){at===ce.length?Ue.complete():(Ue.next(ce[at++]),Ue.closed||this.schedule())})})}(ce,Oe);if((0,Re.t)(ce))return function K(ce,Oe){return(0,o.Xf)(ce).pipe(G(Oe),Q(Oe))}(ce,Oe);if((0,tt.D)(ce))return xe(ce,Oe);if((0,rt.T)(ce))return function ke(ce,Oe){return new Z.y(Ue=>{let at;return(0,a.f)(Ue,Oe,()=>{at=ce[he.h](),(0,a.f)(Ue,Oe,()=>{let ft,It;try{({value:ft,done:It}=at.next())}catch(St){return void Ue.error(St)}It?Ue.complete():Ue.next(ft)},0,!0)}),()=>(0,te.m)(at?.return)&&at.return()})}(ce,Oe);if((0,fe.L)(ce))return function N(ce,Oe){return xe((0,fe.Q)(ce),Oe)}(ce,Oe)}throw(0,Ge.z)(ce)}(ce,Oe):(0,o.Xf)(ce)}},4968:(_t,De,f)=>{"use strict";f.d(De,{R:()=>ee});var o=f(8421),a=f(9751),E=f(5577),W=f(1144),Q=f(576),G=f(3268);const re=["addListener","removeListener"],K=["addEventListener","removeEventListener"],Z=["on","off"];function ee(Se,Re,Me,rt){if((0,Q.m)(Me)&&(rt=Me,Me=void 0),rt)return ee(Se,Re,Me).pipe((0,G.Z)(rt));const[tt,Ge]=function xe(Se){return(0,Q.m)(Se.addEventListener)&&(0,Q.m)(Se.removeEventListener)}(Se)?K.map(fe=>N=>Se[fe](Re,N,Me)):function te(Se){return(0,Q.m)(Se.addListener)&&(0,Q.m)(Se.removeListener)}(Se)?re.map(he(Se,Re)):function ke(Se){return(0,Q.m)(Se.on)&&(0,Q.m)(Se.off)}(Se)?Z.map(he(Se,Re)):[];if(!tt&&(0,W.z)(Se))return(0,E.z)(fe=>ee(fe,Re,Me))((0,o.Xf)(Se));if(!tt)throw new TypeError("Invalid event target");return new a.y(fe=>{const N=(...F)=>fe.next(1Ge(N)})}function he(Se,Re){return Me=>rt=>Se[Me](Re,rt)}},8421:(_t,De,f)=>{"use strict";f.d(De,{Xf:()=>ke});var o=f(655),a=f(1144),E=f(8239),W=f(9751),Q=f(3670),G=f(2206),re=f(4532),K=f(6495),Z=f(3260),ee=f(576),he=f(7849),te=f(8822);function ke(fe){if(fe instanceof W.y)return fe;if(null!=fe){if((0,Q.c)(fe))return function xe(fe){return new W.y(N=>{const F=fe[te.L]();if((0,ee.m)(F.subscribe))return F.subscribe(N);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(fe);if((0,a.z)(fe))return function Se(fe){return new W.y(N=>{for(let F=0;F{fe.then(F=>{N.closed||(N.next(F),N.complete())},F=>N.error(F)).then(null,he.h)})}(fe);if((0,G.D)(fe))return rt(fe);if((0,K.T)(fe))return function Me(fe){return new W.y(N=>{for(const F of fe)if(N.next(F),N.closed)return;N.complete()})}(fe);if((0,Z.L)(fe))return function tt(fe){return rt((0,Z.Q)(fe))}(fe)}throw(0,re.z)(fe)}function rt(fe){return new W.y(N=>{(function Ge(fe,N){var F,U,ce,Oe;return(0,o.mG)(this,void 0,void 0,function*(){try{for(F=(0,o.KL)(fe);!(U=yield F.next()).done;)if(N.next(U.value),N.closed)return}catch(Ue){ce={error:Ue}}finally{try{U&&!U.done&&(Oe=F.return)&&(yield Oe.call(F))}finally{if(ce)throw ce.error}}N.complete()})})(fe,N).catch(F=>N.error(F))})}},6451:(_t,De,f)=>{"use strict";f.d(De,{T:()=>G});var o=f(8189),a=f(8421),E=f(515),W=f(3269),Q=f(2076);function G(...re){const K=(0,W.yG)(re),Z=(0,W._6)(re,1/0),ee=re;return ee.length?1===ee.length?(0,a.Xf)(ee[0]):(0,o.J)(Z)((0,Q.D)(ee,K)):E.E}},9646:(_t,De,f)=>{"use strict";f.d(De,{of:()=>E});var o=f(3269),a=f(2076);function E(...W){const Q=(0,o.yG)(W);return(0,a.D)(W,Q)}},2843:(_t,De,f)=>{"use strict";f.d(De,{_:()=>E});var o=f(9751),a=f(576);function E(W,Q){const G=(0,a.m)(W)?W:()=>W,re=K=>K.error(G());return new o.y(Q?K=>Q.schedule(re,0,K):re)}},5963:(_t,De,f)=>{"use strict";f.d(De,{H:()=>Q});var o=f(9751),a=f(4986),E=f(3532);function Q(G=0,re,K=a.P){let Z=-1;return null!=re&&((0,E.K)(re)?K=re:Z=re),new o.y(ee=>{let he=function W(G){return G instanceof Date&&!isNaN(G)}(G)?+G-K.now():G;he<0&&(he=0);let te=0;return K.schedule(function(){ee.closed||(ee.next(te++),0<=Z?this.schedule(void 0,Z):ee.complete())},he)})}},5403:(_t,De,f)=>{"use strict";f.d(De,{x:()=>a});var o=f(930);function a(W,Q,G,re,K){return new E(W,Q,G,re,K)}class E extends o.Lv{constructor(Q,G,re,K,Z,ee){super(Q),this.onFinalize=Z,this.shouldUnsubscribe=ee,this._next=G?function(he){try{G(he)}catch(te){Q.error(te)}}:super._next,this._error=K?function(he){try{K(he)}catch(te){Q.error(te)}finally{this.unsubscribe()}}:super._error,this._complete=re?function(){try{re()}catch(he){Q.error(he)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var Q;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:G}=this;super.unsubscribe(),!G&&(null===(Q=this.onFinalize)||void 0===Q||Q.call(this))}}}},262:(_t,De,f)=>{"use strict";f.d(De,{K:()=>W});var o=f(8421),a=f(5403),E=f(4482);function W(Q){return(0,E.e)((G,re)=>{let ee,K=null,Z=!1;K=G.subscribe((0,a.x)(re,void 0,void 0,he=>{ee=(0,o.Xf)(Q(he,W(Q)(G))),K?(K.unsubscribe(),K=null,ee.subscribe(re)):Z=!0})),Z&&(K.unsubscribe(),K=null,ee.subscribe(re))})}},4351:(_t,De,f)=>{"use strict";f.d(De,{b:()=>E});var o=f(5577),a=f(576);function E(W,Q){return(0,a.m)(Q)?(0,o.z)(W,Q,1):(0,o.z)(W,1)}},8372:(_t,De,f)=>{"use strict";f.d(De,{b:()=>W});var o=f(4986),a=f(4482),E=f(5403);function W(Q,G=o.z){return(0,a.e)((re,K)=>{let Z=null,ee=null,he=null;const te=()=>{if(Z){Z.unsubscribe(),Z=null;const xe=ee;ee=null,K.next(xe)}};function ke(){const xe=he+Q,Se=G.now();if(Se{ee=xe,he=G.now(),Z||(Z=G.schedule(ke,Q),K.add(Z))},()=>{te(),K.complete()},void 0,()=>{ee=Z=null}))})}},6590:(_t,De,f)=>{"use strict";f.d(De,{d:()=>E});var o=f(4482),a=f(5403);function E(W){return(0,o.e)((Q,G)=>{let re=!1;Q.subscribe((0,a.x)(G,K=>{re=!0,G.next(K)},()=>{re||G.next(W),G.complete()}))})}},1005:(_t,De,f)=>{"use strict";f.d(De,{g:()=>te});var o=f(4986),a=f(7272),E=f(5698),W=f(4482),Q=f(5403),G=f(5032),K=f(9718),Z=f(5577);function ee(ke,xe){return xe?Se=>(0,a.z)(xe.pipe((0,E.q)(1),function re(){return(0,W.e)((ke,xe)=>{ke.subscribe((0,Q.x)(xe,G.Z))})}()),Se.pipe(ee(ke))):(0,Z.z)((Se,Re)=>ke(Se,Re).pipe((0,E.q)(1),(0,K.h)(Se)))}var he=f(5963);function te(ke,xe=o.z){const Se=(0,he.H)(ke,xe);return ee(()=>Se)}},1884:(_t,De,f)=>{"use strict";f.d(De,{x:()=>W});var o=f(4671),a=f(4482),E=f(5403);function W(G,re=o.y){return G=G??Q,(0,a.e)((K,Z)=>{let ee,he=!0;K.subscribe((0,E.x)(Z,te=>{const ke=re(te);(he||!G(ee,ke))&&(he=!1,ee=ke,Z.next(te))}))})}function Q(G,re){return G===re}},9300:(_t,De,f)=>{"use strict";f.d(De,{h:()=>E});var o=f(4482),a=f(5403);function E(W,Q){return(0,o.e)((G,re)=>{let K=0;G.subscribe((0,a.x)(re,Z=>W.call(Q,Z,K++)&&re.next(Z)))})}},8746:(_t,De,f)=>{"use strict";f.d(De,{x:()=>a});var o=f(4482);function a(E){return(0,o.e)((W,Q)=>{try{W.subscribe(Q)}finally{Q.add(E)}})}},590:(_t,De,f)=>{"use strict";f.d(De,{P:()=>re});var o=f(6805),a=f(9300),E=f(5698),W=f(6590),Q=f(8068),G=f(4671);function re(K,Z){const ee=arguments.length>=2;return he=>he.pipe(K?(0,a.h)((te,ke)=>K(te,ke,he)):G.y,(0,E.q)(1),ee?(0,W.d)(Z):(0,Q.T)(()=>new o.K))}},4004:(_t,De,f)=>{"use strict";f.d(De,{U:()=>E});var o=f(4482),a=f(5403);function E(W,Q){return(0,o.e)((G,re)=>{let K=0;G.subscribe((0,a.x)(re,Z=>{re.next(W.call(Q,Z,K++))}))})}},9718:(_t,De,f)=>{"use strict";f.d(De,{h:()=>a});var o=f(4004);function a(E){return(0,o.U)(()=>E)}},8189:(_t,De,f)=>{"use strict";f.d(De,{J:()=>E});var o=f(5577),a=f(4671);function E(W=1/0){return(0,o.z)(a.y,W)}},5577:(_t,De,f)=>{"use strict";f.d(De,{z:()=>K});var o=f(4004),a=f(8421),E=f(4482),W=f(9672),Q=f(5403),re=f(576);function K(Z,ee,he=1/0){return(0,re.m)(ee)?K((te,ke)=>(0,o.U)((xe,Se)=>ee(te,xe,ke,Se))((0,a.Xf)(Z(te,ke))),he):("number"==typeof ee&&(he=ee),(0,E.e)((te,ke)=>function G(Z,ee,he,te,ke,xe,Se,Re){const Me=[];let rt=0,tt=0,Ge=!1;const fe=()=>{Ge&&!Me.length&&!rt&&ee.complete()},N=U=>rt{xe&&ee.next(U),rt++;let ce=!1;(0,a.Xf)(he(U,tt++)).subscribe((0,Q.x)(ee,Oe=>{ke?.(Oe),xe?N(Oe):ee.next(Oe)},()=>{ce=!0},void 0,()=>{if(ce)try{for(rt--;Me.length&&rtF(Oe)):F(Oe)}fe()}catch(Oe){ee.error(Oe)}}))};return Z.subscribe((0,Q.x)(ee,N,()=>{Ge=!0,fe()})),()=>{Re?.()}}(te,ke,Z,he)))}},8343:(_t,De,f)=>{"use strict";f.d(De,{x:()=>E});var o=f(4482),a=f(5403);function E(){return(0,o.e)((W,Q)=>{let G=null;W._refCount++;const re=(0,a.x)(Q,void 0,void 0,void 0,()=>{if(!W||W._refCount<=0||0<--W._refCount)return void(G=null);const K=W._connection,Z=G;G=null,K&&(!Z||K===Z)&&K.unsubscribe(),Q.unsubscribe()});W.subscribe(re),re.closed||(G=W.connect())})}},5026:(_t,De,f)=>{"use strict";f.d(De,{R:()=>W});var o=f(4482),a=f(5403);function E(Q,G,re,K,Z){return(ee,he)=>{let te=re,ke=G,xe=0;ee.subscribe((0,a.x)(he,Se=>{const Re=xe++;ke=te?Q(ke,Se,Re):(te=!0,Se),K&&he.next(ke)},Z&&(()=>{te&&he.next(ke),he.complete()})))}}function W(Q,G){return(0,o.e)(E(Q,G,arguments.length>=2,!0))}},3099:(_t,De,f)=>{"use strict";f.d(De,{B:()=>Q});var o=f(8421),a=f(7579),E=f(930),W=f(4482);function Q(re={}){const{connector:K=(()=>new a.x),resetOnError:Z=!0,resetOnComplete:ee=!0,resetOnRefCountZero:he=!0}=re;return te=>{let ke,xe,Se,Re=0,Me=!1,rt=!1;const tt=()=>{xe?.unsubscribe(),xe=void 0},Ge=()=>{tt(),ke=Se=void 0,Me=rt=!1},fe=()=>{const N=ke;Ge(),N?.unsubscribe()};return(0,W.e)((N,F)=>{Re++,!rt&&!Me&&tt();const U=Se=Se??K();F.add(()=>{Re--,0===Re&&!rt&&!Me&&(xe=G(fe,he))}),U.subscribe(F),!ke&&Re>0&&(ke=new E.Hp({next:ce=>U.next(ce),error:ce=>{rt=!0,tt(),xe=G(Ge,Z,ce),U.error(ce)},complete:()=>{Me=!0,tt(),xe=G(Ge,ee),U.complete()}}),(0,o.Xf)(N).subscribe(ke))})(te)}}function G(re,K,...Z){if(!0===K)return void re();if(!1===K)return;const ee=new E.Hp({next:()=>{ee.unsubscribe(),re()}});return K(...Z).subscribe(ee)}},5684:(_t,De,f)=>{"use strict";f.d(De,{T:()=>a});var o=f(9300);function a(E){return(0,o.h)((W,Q)=>E<=Q)}},8675:(_t,De,f)=>{"use strict";f.d(De,{O:()=>W});var o=f(7272),a=f(3269),E=f(4482);function W(...Q){const G=(0,a.yG)(Q);return(0,E.e)((re,K)=>{(G?(0,o.z)(Q,re,G):(0,o.z)(Q,re)).subscribe(K)})}},3900:(_t,De,f)=>{"use strict";f.d(De,{w:()=>W});var o=f(8421),a=f(4482),E=f(5403);function W(Q,G){return(0,a.e)((re,K)=>{let Z=null,ee=0,he=!1;const te=()=>he&&!Z&&K.complete();re.subscribe((0,E.x)(K,ke=>{Z?.unsubscribe();let xe=0;const Se=ee++;(0,o.Xf)(Q(ke,Se)).subscribe(Z=(0,E.x)(K,Re=>K.next(G?G(ke,Re,Se,xe++):Re),()=>{Z=null,te()}))},()=>{he=!0,te()}))})}},5698:(_t,De,f)=>{"use strict";f.d(De,{q:()=>W});var o=f(515),a=f(4482),E=f(5403);function W(Q){return Q<=0?()=>o.E:(0,a.e)((G,re)=>{let K=0;G.subscribe((0,E.x)(re,Z=>{++K<=Q&&(re.next(Z),Q<=K&&re.complete())}))})}},2722:(_t,De,f)=>{"use strict";f.d(De,{R:()=>Q});var o=f(4482),a=f(5403),E=f(8421),W=f(5032);function Q(G){return(0,o.e)((re,K)=>{(0,E.Xf)(G).subscribe((0,a.x)(K,()=>K.complete(),W.Z)),!K.closed&&re.subscribe(K)})}},2529:(_t,De,f)=>{"use strict";f.d(De,{o:()=>E});var o=f(4482),a=f(5403);function E(W,Q=!1){return(0,o.e)((G,re)=>{let K=0;G.subscribe((0,a.x)(re,Z=>{const ee=W(Z,K++);(ee||Q)&&re.next(Z),!ee&&re.complete()}))})}},8505:(_t,De,f)=>{"use strict";f.d(De,{b:()=>Q});var o=f(576),a=f(4482),E=f(5403),W=f(4671);function Q(G,re,K){const Z=(0,o.m)(G)||re||K?{next:G,error:re,complete:K}:G;return Z?(0,a.e)((ee,he)=>{var te;null===(te=Z.subscribe)||void 0===te||te.call(Z);let ke=!0;ee.subscribe((0,E.x)(he,xe=>{var Se;null===(Se=Z.next)||void 0===Se||Se.call(Z,xe),he.next(xe)},()=>{var xe;ke=!1,null===(xe=Z.complete)||void 0===xe||xe.call(Z),he.complete()},xe=>{var Se;ke=!1,null===(Se=Z.error)||void 0===Se||Se.call(Z,xe),he.error(xe)},()=>{var xe,Se;ke&&(null===(xe=Z.unsubscribe)||void 0===xe||xe.call(Z)),null===(Se=Z.finalize)||void 0===Se||Se.call(Z)}))}):W.y}},8068:(_t,De,f)=>{"use strict";f.d(De,{T:()=>W});var o=f(6805),a=f(4482),E=f(5403);function W(G=Q){return(0,a.e)((re,K)=>{let Z=!1;re.subscribe((0,E.x)(K,ee=>{Z=!0,K.next(ee)},()=>Z?K.complete():K.error(G())))})}function Q(){return new o.K}},4408:(_t,De,f)=>{"use strict";f.d(De,{o:()=>Q});var o=f(727);class a extends o.w0{constructor(re,K){super()}schedule(re,K=0){return this}}const E={setInterval(G,re,...K){const{delegate:Z}=E;return Z?.setInterval?Z.setInterval(G,re,...K):setInterval(G,re,...K)},clearInterval(G){const{delegate:re}=E;return(re?.clearInterval||clearInterval)(G)},delegate:void 0};var W=f(8737);class Q extends a{constructor(re,K){super(re,K),this.scheduler=re,this.work=K,this.pending=!1}schedule(re,K=0){var Z;if(this.closed)return this;this.state=re;const ee=this.id,he=this.scheduler;return null!=ee&&(this.id=this.recycleAsyncId(he,ee,K)),this.pending=!0,this.delay=K,this.id=null!==(Z=this.id)&&void 0!==Z?Z:this.requestAsyncId(he,this.id,K),this}requestAsyncId(re,K,Z=0){return E.setInterval(re.flush.bind(re,this),Z)}recycleAsyncId(re,K,Z=0){if(null!=Z&&this.delay===Z&&!1===this.pending)return K;null!=K&&E.clearInterval(K)}execute(re,K){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Z=this._execute(re,K);if(Z)return Z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(re,K){let ee,Z=!1;try{this.work(re)}catch(he){Z=!0,ee=he||new Error("Scheduled action threw falsy error")}if(Z)return this.unsubscribe(),ee}unsubscribe(){if(!this.closed){const{id:re,scheduler:K}=this,{actions:Z}=K;this.work=this.state=this.scheduler=null,this.pending=!1,(0,W.P)(Z,this),null!=re&&(this.id=this.recycleAsyncId(K,re,null)),this.delay=null,super.unsubscribe()}}}},640:(_t,De,f)=>{"use strict";f.d(De,{v:()=>E});const o={now:()=>(o.delegate||Date).now(),delegate:void 0};class a{constructor(Q,G=a.now){this.schedulerActionCtor=Q,this.now=G}schedule(Q,G=0,re){return new this.schedulerActionCtor(this,Q).schedule(re,G)}}a.now=o.now;class E extends a{constructor(Q,G=a.now){super(Q,G),this.actions=[],this._active=!1}flush(Q){const{actions:G}=this;if(this._active)return void G.push(Q);let re;this._active=!0;do{if(re=Q.execute(Q.state,Q.delay))break}while(Q=G.shift());if(this._active=!1,re){for(;Q=G.shift();)Q.unsubscribe();throw re}}}},3101:(_t,De,f)=>{"use strict";f.d(De,{E:()=>xe});var o=f(4408);let E,a=1;const W={};function Q(Re){return Re in W&&(delete W[Re],!0)}const G={setImmediate(Re){const Me=a++;return W[Me]=!0,E||(E=Promise.resolve()),E.then(()=>Q(Me)&&Re()),Me},clearImmediate(Re){Q(Re)}},{setImmediate:K,clearImmediate:Z}=G,ee={setImmediate(...Re){const{delegate:Me}=ee;return(Me?.setImmediate||K)(...Re)},clearImmediate(Re){const{delegate:Me}=ee;return(Me?.clearImmediate||Z)(Re)},delegate:void 0};var te=f(640);const xe=new class ke extends te.v{flush(Me){this._active=!0;const rt=this._scheduled;this._scheduled=void 0;const{actions:tt}=this;let Ge;Me=Me||tt.shift();do{if(Ge=Me.execute(Me.state,Me.delay))break}while((Me=tt[0])&&Me.id===rt&&tt.shift());if(this._active=!1,Ge){for(;(Me=tt[0])&&Me.id===rt&&tt.shift();)Me.unsubscribe();throw Ge}}}(class he extends o.o{constructor(Me,rt){super(Me,rt),this.scheduler=Me,this.work=rt}requestAsyncId(Me,rt,tt=0){return null!==tt&&tt>0?super.requestAsyncId(Me,rt,tt):(Me.actions.push(this),Me._scheduled||(Me._scheduled=ee.setImmediate(Me.flush.bind(Me,void 0))))}recycleAsyncId(Me,rt,tt=0){var Ge;if(null!=tt?tt>0:this.delay>0)return super.recycleAsyncId(Me,rt,tt);const{actions:fe}=Me;null!=rt&&(null===(Ge=fe[fe.length-1])||void 0===Ge?void 0:Ge.id)!==rt&&(ee.clearImmediate(rt),Me._scheduled=void 0)}})},4986:(_t,De,f)=>{"use strict";f.d(De,{P:()=>W,z:()=>E});var o=f(4408);const E=new(f(640).v)(o.o),W=E},3410:(_t,De,f)=>{"use strict";f.d(De,{z:()=>o});const o={setTimeout(a,E,...W){const{delegate:Q}=o;return Q?.setTimeout?Q.setTimeout(a,E,...W):setTimeout(a,E,...W)},clearTimeout(a){const{delegate:E}=o;return(E?.clearTimeout||clearTimeout)(a)},delegate:void 0}},2202:(_t,De,f)=>{"use strict";f.d(De,{h:()=>a});const a=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(_t,De,f)=>{"use strict";f.d(De,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(_t,De,f)=>{"use strict";f.d(De,{K:()=>a});const a=(0,f(3888).d)(E=>function(){E(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(_t,De,f)=>{"use strict";f.d(De,{_6:()=>G,jO:()=>W,yG:()=>Q});var o=f(576),a=f(3532);function E(re){return re[re.length-1]}function W(re){return(0,o.m)(E(re))?re.pop():void 0}function Q(re){return(0,a.K)(E(re))?re.pop():void 0}function G(re,K){return"number"==typeof E(re)?re.pop():K}},4742:(_t,De,f)=>{"use strict";f.d(De,{D:()=>Q});const{isArray:o}=Array,{getPrototypeOf:a,prototype:E,keys:W}=Object;function Q(re){if(1===re.length){const K=re[0];if(o(K))return{args:K,keys:null};if(function G(re){return re&&"object"==typeof re&&a(re)===E}(K)){const Z=W(K);return{args:Z.map(ee=>K[ee]),keys:Z}}}return{args:re,keys:null}}},8737:(_t,De,f)=>{"use strict";function o(a,E){if(a){const W=a.indexOf(E);0<=W&&a.splice(W,1)}}f.d(De,{P:()=>o})},3888:(_t,De,f)=>{"use strict";function o(a){const W=a(Q=>{Error.call(Q),Q.stack=(new Error).stack});return W.prototype=Object.create(Error.prototype),W.prototype.constructor=W,W}f.d(De,{d:()=>o})},1810:(_t,De,f)=>{"use strict";function o(a,E){return a.reduce((W,Q,G)=>(W[Q]=E[G],W),{})}f.d(De,{n:()=>o})},2806:(_t,De,f)=>{"use strict";f.d(De,{O:()=>W,x:()=>E});var o=f(2416);let a=null;function E(Q){if(o.v.useDeprecatedSynchronousErrorHandling){const G=!a;if(G&&(a={errorThrown:!1,error:null}),Q(),G){const{errorThrown:re,error:K}=a;if(a=null,re)throw K}}else Q()}function W(Q){o.v.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=Q)}},9672:(_t,De,f)=>{"use strict";function o(a,E,W,Q=0,G=!1){const re=E.schedule(function(){W(),G?a.add(this.schedule(null,Q)):this.unsubscribe()},Q);if(a.add(re),!G)return re}f.d(De,{f:()=>o})},4671:(_t,De,f)=>{"use strict";function o(a){return a}f.d(De,{y:()=>o})},1144:(_t,De,f)=>{"use strict";f.d(De,{z:()=>o});const o=a=>a&&"number"==typeof a.length&&"function"!=typeof a},2206:(_t,De,f)=>{"use strict";f.d(De,{D:()=>a});var o=f(576);function a(E){return Symbol.asyncIterator&&(0,o.m)(E?.[Symbol.asyncIterator])}},576:(_t,De,f)=>{"use strict";function o(a){return"function"==typeof a}f.d(De,{m:()=>o})},3670:(_t,De,f)=>{"use strict";f.d(De,{c:()=>E});var o=f(8822),a=f(576);function E(W){return(0,a.m)(W[o.L])}},6495:(_t,De,f)=>{"use strict";f.d(De,{T:()=>E});var o=f(2202),a=f(576);function E(W){return(0,a.m)(W?.[o.h])}},8239:(_t,De,f)=>{"use strict";f.d(De,{t:()=>a});var o=f(576);function a(E){return(0,o.m)(E?.then)}},3260:(_t,De,f)=>{"use strict";f.d(De,{L:()=>W,Q:()=>E});var o=f(655),a=f(576);function E(Q){return(0,o.FC)(this,arguments,function*(){const re=Q.getReader();try{for(;;){const{value:K,done:Z}=yield(0,o.qq)(re.read());if(Z)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(K)}}finally{re.releaseLock()}})}function W(Q){return(0,a.m)(Q?.getReader)}},3532:(_t,De,f)=>{"use strict";f.d(De,{K:()=>a});var o=f(576);function a(E){return E&&(0,o.m)(E.schedule)}},4482:(_t,De,f)=>{"use strict";f.d(De,{A:()=>a,e:()=>E});var o=f(576);function a(W){return(0,o.m)(W?.lift)}function E(W){return Q=>{if(a(Q))return Q.lift(function(G){try{return W(G,this)}catch(re){this.error(re)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(_t,De,f)=>{"use strict";f.d(De,{Z:()=>W});var o=f(4004);const{isArray:a}=Array;function W(Q){return(0,o.U)(G=>function E(Q,G){return a(G)?Q(...G):Q(G)}(Q,G))}},5032:(_t,De,f)=>{"use strict";function o(){}f.d(De,{Z:()=>o})},9635:(_t,De,f)=>{"use strict";f.d(De,{U:()=>E,z:()=>a});var o=f(4671);function a(...W){return E(W)}function E(W){return 0===W.length?o.y:1===W.length?W[0]:function(G){return W.reduce((re,K)=>K(re),G)}}},7849:(_t,De,f)=>{"use strict";f.d(De,{h:()=>E});var o=f(2416),a=f(3410);function E(W){a.z.setTimeout(()=>{const{onUnhandledError:Q}=o.v;if(!Q)throw W;Q(W)})}},4532:(_t,De,f)=>{"use strict";function o(a){return new TypeError(`You provided ${null!==a&&"object"==typeof a?"an invalid object":`'${a}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}f.d(De,{z:()=>o})},655:(_t,De,f)=>{"use strict";function te(He,Ze,nt,ut){return new(nt||(nt=Promise))(function(We,ot){function je(kt){try{Qe(ut.next(kt))}catch(ye){ot(ye)}}function ze(kt){try{Qe(ut.throw(kt))}catch(ye){ot(ye)}}function Qe(kt){kt.done?We(kt.value):function vt(We){return We instanceof nt?We:new nt(function(ot){ot(We)})}(kt.value).then(je,ze)}Qe((ut=ut.apply(He,Ze||[])).next())})}function fe(He){return this instanceof fe?(this.v=He,this):new fe(He)}function N(He,Ze,nt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var vt,ut=nt.apply(He,Ze||[]),We=[];return vt={},ot("next"),ot("throw"),ot("return"),vt[Symbol.asyncIterator]=function(){return this},vt;function ot(Le){ut[Le]&&(vt[Le]=function(bt){return new Promise(function(Ct,Ft){We.push([Le,bt,Ct,Ft])>1||je(Le,bt)})})}function je(Le,bt){try{!function ze(Le){Le.value instanceof fe?Promise.resolve(Le.value.v).then(Qe,kt):ye(We[0][2],Le)}(ut[Le](bt))}catch(Ct){ye(We[0][3],Ct)}}function Qe(Le){je("next",Le)}function kt(Le){je("throw",Le)}function ye(Le,bt){Le(bt),We.shift(),We.length&&je(We[0][0],We[0][1])}}function U(He){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var nt,Ze=He[Symbol.asyncIterator];return Ze?Ze.call(He):(He=function Re(He){var Ze="function"==typeof Symbol&&Symbol.iterator,nt=Ze&&He[Ze],ut=0;if(nt)return nt.call(He);if(He&&"number"==typeof He.length)return{next:function(){return He&&ut>=He.length&&(He=void 0),{value:He&&He[ut++],done:!He}}};throw new TypeError(Ze?"Object is not iterable.":"Symbol.iterator is not defined.")}(He),nt={},ut("next"),ut("throw"),ut("return"),nt[Symbol.asyncIterator]=function(){return this},nt);function ut(We){nt[We]=He[We]&&function(ot){return new Promise(function(je,ze){!function vt(We,ot,je,ze){Promise.resolve(ze).then(function(Qe){We({value:Qe,done:je})},ot)}(je,ze,(ot=He[We](ot)).done,ot.value)})}}}f.d(De,{FC:()=>N,KL:()=>U,mG:()=>te,qq:()=>fe})},7340:(_t,De,f)=>{"use strict";f.d(De,{F4:()=>ee,IO:()=>Se,LC:()=>a,SB:()=>Z,X$:()=>W,ZE:()=>tt,ZN:()=>rt,_j:()=>o,eR:()=>he,jt:()=>Q,k1:()=>Ge,l3:()=>E,oB:()=>K,pV:()=>ke,ru:()=>G,vP:()=>re});class o{}class a{}const E="*";function W(fe,N){return{type:7,name:fe,definitions:N,options:{}}}function Q(fe,N=null){return{type:4,styles:N,timings:fe}}function G(fe,N=null){return{type:3,steps:fe,options:N}}function re(fe,N=null){return{type:2,steps:fe,options:N}}function K(fe){return{type:6,styles:fe,offset:null}}function Z(fe,N,F){return{type:0,name:fe,styles:N,options:F}}function ee(fe){return{type:5,steps:fe}}function he(fe,N,F=null){return{type:1,expr:fe,animation:N,options:F}}function ke(fe=null){return{type:9,options:fe}}function Se(fe,N,F=null){return{type:11,selector:fe,animation:N,options:F}}function Me(fe){Promise.resolve().then(fe)}class rt{constructor(N=0,F=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=N+F}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}onStart(N){this._originalOnStartFns.push(N),this._onStartFns.push(N)}onDone(N){this._originalOnDoneFns.push(N),this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Me(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(N=>N()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(N){this._position=this.totalTime?N*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(N){const F="start"==N?this._onStartFns:this._onDoneFns;F.forEach(U=>U()),F.length=0}}class tt{constructor(N){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=N;let F=0,U=0,ce=0;const Oe=this.players.length;0==Oe?Me(()=>this._onFinish()):this.players.forEach(Ue=>{Ue.onDone(()=>{++F==Oe&&this._onFinish()}),Ue.onDestroy(()=>{++U==Oe&&this._onDestroy()}),Ue.onStart(()=>{++ce==Oe&&this._onStart()})}),this.totalTime=this.players.reduce((Ue,at)=>Math.max(Ue,at.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}init(){this.players.forEach(N=>N.init())}onStart(N){this._onStartFns.push(N)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(N=>N()),this._onStartFns=[])}onDone(N){this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(N=>N.play())}pause(){this.players.forEach(N=>N.pause())}restart(){this.players.forEach(N=>N.restart())}finish(){this._onFinish(),this.players.forEach(N=>N.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(N=>N.destroy()),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this.players.forEach(N=>N.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(N){const F=N*this.totalTime;this.players.forEach(U=>{const ce=U.totalTime?Math.min(1,F/U.totalTime):1;U.setPosition(ce)})}getPosition(){const N=this.players.reduce((F,U)=>null===F||U.totalTime>F.totalTime?U:F,null);return null!=N?N.getPosition():0}beforeDestroy(){this.players.forEach(N=>{N.beforeDestroy&&N.beforeDestroy()})}triggerCallback(N){const F="start"==N?this._onStartFns:this._onDoneFns;F.forEach(U=>U()),F.length=0}}const Ge="!"},2687:(_t,De,f)=>{"use strict";f.d(De,{$s:()=>at,Em:()=>Ze,Kd:()=>ve,X6:()=>de,ic:()=>ut,qV:()=>qe,qm:()=>Xe,rt:()=>Ae,s1:()=>He,tE:()=>wt,yG:()=>L});var o=f(6895),a=f(4650),E=f(3353),W=f(7579),Q=f(727),G=f(1135),re=f(9646),K=f(9521),Z=f(8505),ee=f(8372),he=f(9300),te=f(4004),ke=f(5698),xe=f(5684),Se=f(1884),Re=f(2722),Me=f(1281),rt=f(9643),tt=f(2289);function F(I,w){return(I.getAttribute(w)||"").match(/\S+/g)||[]}const ce="cdk-describedby-message",Oe="cdk-describedby-host";let Ue=0,at=(()=>{class I{constructor(A,J){this._platform=J,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ue++,this._document=A,this._id=(0,a.f3M)(a.AFp)+"-"+Ue++}describe(A,J,oe){if(!this._canBeDescribed(A,J))return;const it=ft(J,oe);"string"!=typeof J?(It(J,this._id),this._messageRegistry.set(it,{messageElement:J,referenceCount:0})):this._messageRegistry.has(it)||this._createMessageElement(J,oe),this._isElementDescribedByMessage(A,it)||this._addMessageReference(A,it)}removeDescription(A,J,oe){if(!J||!this._isElementNode(A))return;const it=ft(J,oe);if(this._isElementDescribedByMessage(A,it)&&this._removeMessageReference(A,it),"string"==typeof J){const Ot=this._messageRegistry.get(it);Ot&&0===Ot.referenceCount&&this._deleteMessageElement(it)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const A=this._document.querySelectorAll(`[${Oe}="${this._id}"]`);for(let J=0;J0!=oe.indexOf(ce));A.setAttribute("aria-describedby",J.join(" "))}_addMessageReference(A,J){const oe=this._messageRegistry.get(J);(function fe(I,w,A){const J=F(I,w);J.some(oe=>oe.trim()==A.trim())||(J.push(A.trim()),I.setAttribute(w,J.join(" ")))})(A,"aria-describedby",oe.messageElement.id),A.setAttribute(Oe,this._id),oe.referenceCount++}_removeMessageReference(A,J){const oe=this._messageRegistry.get(J);oe.referenceCount--,function N(I,w,A){const oe=F(I,w).filter(it=>it!=A.trim());oe.length?I.setAttribute(w,oe.join(" ")):I.removeAttribute(w)}(A,"aria-describedby",oe.messageElement.id),A.removeAttribute(Oe)}_isElementDescribedByMessage(A,J){const oe=F(A,"aria-describedby"),it=this._messageRegistry.get(J),Ot=it&&it.messageElement.id;return!!Ot&&-1!=oe.indexOf(Ot)}_canBeDescribed(A,J){if(!this._isElementNode(A))return!1;if(J&&"object"==typeof J)return!0;const oe=null==J?"":`${J}`.trim(),it=A.getAttribute("aria-label");return!(!oe||it&&it.trim()===oe)}_isElementNode(A){return A.nodeType===this._document.ELEMENT_NODE}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(o.K0),a.LFG(E.t4))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();function ft(I,w){return"string"==typeof I?`${w||""}/${I}`:I}function It(I,w){I.id||(I.id=`${ce}-${w}-${Ue++}`)}class St{constructor(w){this._items=w,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new W.x,this._typeaheadSubscription=Q.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=A=>A.disabled,this._pressedLetters=[],this.tabOut=new W.x,this.change=new W.x,w instanceof a.n_E&&(this._itemChangesSubscription=w.changes.subscribe(A=>{if(this._activeItem){const oe=A.toArray().indexOf(this._activeItem);oe>-1&&oe!==this._activeItemIndex&&(this._activeItemIndex=oe)}}))}skipPredicate(w){return this._skipPredicateFn=w,this}withWrap(w=!0){return this._wrap=w,this}withVerticalOrientation(w=!0){return this._vertical=w,this}withHorizontalOrientation(w){return this._horizontal=w,this}withAllowedModifierKeys(w){return this._allowedModifierKeys=w,this}withTypeAhead(w=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Z.b)(A=>this._pressedLetters.push(A)),(0,ee.b)(w),(0,he.h)(()=>this._pressedLetters.length>0),(0,te.U)(()=>this._pressedLetters.join(""))).subscribe(A=>{const J=this._getItemsArray();for(let oe=1;oe!w[it]||this._allowedModifierKeys.indexOf(it)>-1);switch(A){case K.Mf:return void this.tabOut.next();case K.JH:if(this._vertical&&oe){this.setNextItemActive();break}return;case K.LH:if(this._vertical&&oe){this.setPreviousItemActive();break}return;case K.SV:if(this._horizontal&&oe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case K.oh:if(this._horizontal&&oe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case K.Sd:if(this._homeAndEnd&&oe){this.setFirstItemActive();break}return;case K.uR:if(this._homeAndEnd&&oe){this.setLastItemActive();break}return;case K.Ku:if(this._pageUpAndDown.enabled&&oe){const it=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(it>0?it:0,1);break}return;case K.VM:if(this._pageUpAndDown.enabled&&oe){const it=this._activeItemIndex+this._pageUpAndDown.delta,Ot=this._getItemsArray().length;this._setActiveItemByIndex(it=K.A&&A<=K.Z||A>=K.xE&&A<=K.aO)&&this._letterKeyStream.next(String.fromCharCode(A))))}this._pressedLetters=[],w.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(w){const A=this._getItemsArray(),J="number"==typeof w?w:A.indexOf(w);this._activeItem=A[J]??null,this._activeItemIndex=J}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(w){this._wrap?this._setActiveInWrapMode(w):this._setActiveInDefaultMode(w)}_setActiveInWrapMode(w){const A=this._getItemsArray();for(let J=1;J<=A.length;J++){const oe=(this._activeItemIndex+w*J+A.length)%A.length;if(!this._skipPredicateFn(A[oe]))return void this.setActiveItem(oe)}}_setActiveInDefaultMode(w){this._setActiveItemByIndex(this._activeItemIndex+w,w)}_setActiveItemByIndex(w,A){const J=this._getItemsArray();if(J[w]){for(;this._skipPredicateFn(J[w]);)if(!J[w+=A])return;this.setActiveItem(w)}}_getItemsArray(){return this._items instanceof a.n_E?this._items.toArray():this._items}}class He extends St{setActiveItem(w){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(w),this.activeItem&&this.activeItem.setActiveStyles()}}class Ze extends St{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(w){return this._origin=w,this}setActiveItem(w){super.setActiveItem(w),this.activeItem&&this.activeItem.focus(this._origin)}}let ut=(()=>{class I{constructor(A){this._platform=A}isDisabled(A){return A.hasAttribute("disabled")}isVisible(A){return function We(I){return!!(I.offsetWidth||I.offsetHeight||"function"==typeof I.getClientRects&&I.getClientRects().length)}(A)&&"visible"===getComputedStyle(A).visibility}isTabbable(A){if(!this._platform.isBrowser)return!1;const J=function vt(I){try{return I.frameElement}catch{return null}}(function Ft(I){return I.ownerDocument&&I.ownerDocument.defaultView||window}(A));if(J&&(-1===Le(J)||!this.isVisible(J)))return!1;let oe=A.nodeName.toLowerCase(),it=Le(A);return A.hasAttribute("contenteditable")?-1!==it:!("iframe"===oe||"object"===oe||this._platform.WEBKIT&&this._platform.IOS&&!function bt(I){let w=I.nodeName.toLowerCase(),A="input"===w&&I.type;return"text"===A||"password"===A||"select"===w||"textarea"===w}(A))&&("audio"===oe?!!A.hasAttribute("controls")&&-1!==it:"video"===oe?-1!==it&&(null!==it||this._platform.FIREFOX||A.hasAttribute("controls")):A.tabIndex>=0)}isFocusable(A,J){return function Ct(I){return!function je(I){return function Qe(I){return"input"==I.nodeName.toLowerCase()}(I)&&"hidden"==I.type}(I)&&(function ot(I){let w=I.nodeName.toLowerCase();return"input"===w||"select"===w||"button"===w||"textarea"===w}(I)||function ze(I){return function kt(I){return"a"==I.nodeName.toLowerCase()}(I)&&I.hasAttribute("href")}(I)||I.hasAttribute("contenteditable")||ye(I))}(A)&&!this.isDisabled(A)&&(J?.ignoreVisibility||this.isVisible(A))}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(E.t4))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();function ye(I){if(!I.hasAttribute("tabindex")||void 0===I.tabIndex)return!1;let w=I.getAttribute("tabindex");return!(!w||isNaN(parseInt(w,10)))}function Le(I){if(!ye(I))return null;const w=parseInt(I.getAttribute("tabindex")||"",10);return isNaN(w)?-1:w}class Ne{get enabled(){return this._enabled}set enabled(w){this._enabled=w,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(w,this._startAnchor),this._toggleAnchorTabIndex(w,this._endAnchor))}constructor(w,A,J,oe,it=!1){this._element=w,this._checker=A,this._ngZone=J,this._document=oe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,it||this.attachAnchors()}destroy(){const w=this._startAnchor,A=this._endAnchor;w&&(w.removeEventListener("focus",this.startAnchorListener),w.remove()),A&&(A.removeEventListener("focus",this.endAnchorListener),A.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(w){return new Promise(A=>{this._executeOnStable(()=>A(this.focusInitialElement(w)))})}focusFirstTabbableElementWhenReady(w){return new Promise(A=>{this._executeOnStable(()=>A(this.focusFirstTabbableElement(w)))})}focusLastTabbableElementWhenReady(w){return new Promise(A=>{this._executeOnStable(()=>A(this.focusLastTabbableElement(w)))})}_getRegionBoundary(w){const A=this._element.querySelectorAll(`[cdk-focus-region-${w}], [cdkFocusRegion${w}], [cdk-focus-${w}]`);return"start"==w?A.length?A[0]:this._getFirstTabbableElement(this._element):A.length?A[A.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(w){const A=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(A){if(!this._checker.isFocusable(A)){const J=this._getFirstTabbableElement(A);return J?.focus(w),!!J}return A.focus(w),!0}return this.focusFirstTabbableElement(w)}focusFirstTabbableElement(w){const A=this._getRegionBoundary("start");return A&&A.focus(w),!!A}focusLastTabbableElement(w){const A=this._getRegionBoundary("end");return A&&A.focus(w),!!A}hasAttached(){return this._hasAttached}_getFirstTabbableElement(w){if(this._checker.isFocusable(w)&&this._checker.isTabbable(w))return w;const A=w.children;for(let J=0;J=0;J--){const oe=A[J].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(A[J]):null;if(oe)return oe}return null}_createAnchor(){const w=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,w),w.classList.add("cdk-visually-hidden"),w.classList.add("cdk-focus-trap-anchor"),w.setAttribute("aria-hidden","true"),w}_toggleAnchorTabIndex(w,A){w?A.setAttribute("tabindex","0"):A.removeAttribute("tabindex")}toggleAnchors(w){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(w,this._startAnchor),this._toggleAnchorTabIndex(w,this._endAnchor))}_executeOnStable(w){this._ngZone.isStable?w():this._ngZone.onStable.pipe((0,ke.q)(1)).subscribe(w)}}let qe=(()=>{class I{constructor(A,J,oe){this._checker=A,this._ngZone=J,this._document=oe}create(A,J=!1){return new Ne(A,this._checker,this._ngZone,this._document,J)}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(ut),a.LFG(a.R0b),a.LFG(o.K0))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();function de(I){return 0===I.buttons||0===I.offsetX&&0===I.offsetY}function L(I){const w=I.touches&&I.touches[0]||I.changedTouches&&I.changedTouches[0];return!(!w||-1!==w.identifier||null!=w.radiusX&&1!==w.radiusX||null!=w.radiusY&&1!==w.radiusY)}const se=new a.OlP("cdk-input-modality-detector-options"),ue={ignoreKeys:[K.zL,K.jx,K.b2,K.MW,K.JU]},ht=(0,E.i$)({passive:!0,capture:!0});let ct=(()=>{class I{get mostRecentModality(){return this._modality.value}constructor(A,J,oe,it){this._platform=A,this._mostRecentTarget=null,this._modality=new G.X(null),this._lastTouchMs=0,this._onKeydown=Ot=>{this._options?.ignoreKeys?.some(Yt=>Yt===Ot.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,E.sA)(Ot))},this._onMousedown=Ot=>{Date.now()-this._lastTouchMs<650||(this._modality.next(de(Ot)?"keyboard":"mouse"),this._mostRecentTarget=(0,E.sA)(Ot))},this._onTouchstart=Ot=>{L(Ot)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,E.sA)(Ot))},this._options={...ue,...it},this.modalityDetected=this._modality.pipe((0,xe.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Se.x)()),A.isBrowser&&J.runOutsideAngular(()=>{oe.addEventListener("keydown",this._onKeydown,ht),oe.addEventListener("mousedown",this._onMousedown,ht),oe.addEventListener("touchstart",this._onTouchstart,ht)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ht),document.removeEventListener("mousedown",this._onMousedown,ht),document.removeEventListener("touchstart",this._onTouchstart,ht))}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(E.t4),a.LFG(a.R0b),a.LFG(o.K0),a.LFG(se,8))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const Et=new a.OlP("liveAnnouncerElement",{providedIn:"root",factory:function me(){return null}}),lt=new a.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let j=0,ve=(()=>{class I{constructor(A,J,oe,it){this._ngZone=J,this._defaultOptions=it,this._document=oe,this._liveElement=A||this._createLiveElement()}announce(A,...J){const oe=this._defaultOptions;let it,Ot;return 1===J.length&&"number"==typeof J[0]?Ot=J[0]:[it,Ot]=J,this.clear(),clearTimeout(this._previousTimeout),it||(it=oe&&oe.politeness?oe.politeness:"polite"),null==Ot&&oe&&(Ot=oe.duration),this._liveElement.setAttribute("aria-live",it),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Yt=>this._currentResolve=Yt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=A,"number"==typeof Ot&&(this._previousTimeout=setTimeout(()=>this.clear(),Ot)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const A="cdk-live-announcer-element",J=this._document.getElementsByClassName(A),oe=this._document.createElement("div");for(let it=0;it .cdk-overlay-container [aria-modal="true"]');for(let oe=0;oe{class I{constructor(A,J,oe,it,Ot){this._ngZone=A,this._platform=J,this._inputModalityDetector=oe,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new W.x,this._rootNodeFocusAndBlurListener=Yt=>{for(let yn=(0,E.sA)(Yt);yn;yn=yn.parentElement)"focus"===Yt.type?this._onFocus(Yt,yn):this._onBlur(Yt,yn)},this._document=it,this._detectionMode=Ot?.detectionMode||0}monitor(A,J=!1){const oe=(0,Me.fI)(A);if(!this._platform.isBrowser||1!==oe.nodeType)return(0,re.of)(null);const it=(0,E.kV)(oe)||this._getDocument(),Ot=this._elementInfo.get(oe);if(Ot)return J&&(Ot.checkChildren=!0),Ot.subject;const Yt={checkChildren:J,subject:new W.x,rootNode:it};return this._elementInfo.set(oe,Yt),this._registerGlobalListeners(Yt),Yt.subject}stopMonitoring(A){const J=(0,Me.fI)(A),oe=this._elementInfo.get(J);oe&&(oe.subject.complete(),this._setClasses(J),this._elementInfo.delete(J),this._removeGlobalListeners(oe))}focusVia(A,J,oe){const it=(0,Me.fI)(A);it===this._getDocument().activeElement?this._getClosestElementsInfo(it).forEach(([Yt,xt])=>this._originChanged(Yt,J,xt)):(this._setOrigin(J),"function"==typeof it.focus&&it.focus(oe))}ngOnDestroy(){this._elementInfo.forEach((A,J)=>this.stopMonitoring(J))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(A){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(A)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:A&&this._isLastInteractionFromInputLabel(A)?"mouse":"program"}_shouldBeAttributedToTouch(A){return 1===this._detectionMode||!!A?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(A,J){A.classList.toggle("cdk-focused",!!J),A.classList.toggle("cdk-touch-focused","touch"===J),A.classList.toggle("cdk-keyboard-focused","keyboard"===J),A.classList.toggle("cdk-mouse-focused","mouse"===J),A.classList.toggle("cdk-program-focused","program"===J)}_setOrigin(A,J=!1){this._ngZone.runOutsideAngular(()=>{this._origin=A,this._originFromTouchInteraction="touch"===A&&J,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(A,J){const oe=this._elementInfo.get(J),it=(0,E.sA)(A);!oe||!oe.checkChildren&&J!==it||this._originChanged(J,this._getFocusOrigin(it),oe)}_onBlur(A,J){const oe=this._elementInfo.get(J);!oe||oe.checkChildren&&A.relatedTarget instanceof Node&&J.contains(A.relatedTarget)||(this._setClasses(J),this._emitOrigin(oe,null))}_emitOrigin(A,J){A.subject.observers.length&&this._ngZone.run(()=>A.subject.next(J))}_registerGlobalListeners(A){if(!this._platform.isBrowser)return;const J=A.rootNode,oe=this._rootNodeFocusListenerCount.get(J)||0;oe||this._ngZone.runOutsideAngular(()=>{J.addEventListener("focus",this._rootNodeFocusAndBlurListener,At),J.addEventListener("blur",this._rootNodeFocusAndBlurListener,At)}),this._rootNodeFocusListenerCount.set(J,oe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Re.R)(this._stopInputModalityDetector)).subscribe(it=>{this._setOrigin(it,!0)}))}_removeGlobalListeners(A){const J=A.rootNode;if(this._rootNodeFocusListenerCount.has(J)){const oe=this._rootNodeFocusListenerCount.get(J);oe>1?this._rootNodeFocusListenerCount.set(J,oe-1):(J.removeEventListener("focus",this._rootNodeFocusAndBlurListener,At),J.removeEventListener("blur",this._rootNodeFocusAndBlurListener,At),this._rootNodeFocusListenerCount.delete(J))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(A,J,oe){this._setClasses(A,J),this._emitOrigin(oe,J),this._lastFocusOrigin=J}_getClosestElementsInfo(A){const J=[];return this._elementInfo.forEach((oe,it)=>{(it===A||oe.checkChildren&&it.contains(A))&&J.push([it,oe])}),J}_isLastInteractionFromInputLabel(A){const{_mostRecentTarget:J,mostRecentModality:oe}=this._inputModalityDetector;if("mouse"!==oe||!J||J===A||"INPUT"!==A.nodeName&&"TEXTAREA"!==A.nodeName||A.disabled)return!1;const it=A.labels;if(it)for(let Ot=0;Ot{class I{constructor(A,J){this._platform=A,this._document=J,this._breakpointSubscription=(0,a.f3M)(tt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const A=this._document.createElement("div");A.style.backgroundColor="rgb(1,2,3)",A.style.position="absolute",this._document.body.appendChild(A);const J=this._document.defaultView||window,oe=J&&J.getComputedStyle?J.getComputedStyle(A):null,it=(oe&&oe.backgroundColor||"").replace(/ /g,"");switch(A.remove(),it){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const A=this._document.body.classList;A.remove(xn,jt,_n),this._hasCheckedHighContrastMode=!0;const J=this.getHighContrastMode();1===J?A.add(xn,jt):2===J&&A.add(xn,_n)}}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(E.t4),a.LFG(o.K0))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Ae=(()=>{class I{constructor(A){A._applyBodyHighContrastModeCssClasses()}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(Xe))},I.\u0275mod=a.oAB({type:I}),I.\u0275inj=a.cJS({imports:[rt.Q8]}),I})()},445:(_t,De,f)=>{"use strict";f.d(De,{Is:()=>re,vT:()=>Z});var o=f(4650),a=f(6895);const E=new o.OlP("cdk-dir-doc",{providedIn:"root",factory:function W(){return(0,o.f3M)(a.K0)}}),Q=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let re=(()=>{class ee{constructor(te){this.value="ltr",this.change=new o.vpe,te&&(this.value=function G(ee){const he=ee?.toLowerCase()||"";return"auto"===he&&typeof navigator<"u"&&navigator?.language?Q.test(navigator.language)?"rtl":"ltr":"rtl"===he?"rtl":"ltr"}((te.body?te.body.dir:null)||(te.documentElement?te.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return ee.\u0275fac=function(te){return new(te||ee)(o.LFG(E,8))},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Z=(()=>{class ee{}return ee.\u0275fac=function(te){return new(te||ee)},ee.\u0275mod=o.oAB({type:ee}),ee.\u0275inj=o.cJS({}),ee})()},1281:(_t,De,f)=>{"use strict";f.d(De,{Eq:()=>Q,HM:()=>G,Ig:()=>a,du:()=>K,fI:()=>re,su:()=>E});var o=f(4650);function a(Z){return null!=Z&&"false"!=`${Z}`}function E(Z,ee=0){return function W(Z){return!isNaN(parseFloat(Z))&&!isNaN(Number(Z))}(Z)?Number(Z):ee}function Q(Z){return Array.isArray(Z)?Z:[Z]}function G(Z){return null==Z?"":"string"==typeof Z?Z:`${Z}px`}function re(Z){return Z instanceof o.SBq?Z.nativeElement:Z}function K(Z,ee=/\s+/){const he=[];if(null!=Z){const te=Array.isArray(Z)?Z:`${Z}`.split(ee);for(const ke of te){const xe=`${ke}`.trim();xe&&he.push(xe)}}return he}},9521:(_t,De,f)=>{"use strict";f.d(De,{A:()=>je,JH:()=>Ge,JU:()=>G,K5:()=>Q,Ku:()=>ke,LH:()=>rt,L_:()=>te,MW:()=>lt,Mf:()=>E,SV:()=>tt,Sd:()=>Re,VM:()=>xe,Vb:()=>ci,Z:()=>me,aO:()=>nt,b2:()=>Nn,hY:()=>he,jx:()=>re,oh:()=>Me,uR:()=>Se,xE:()=>ce,zL:()=>K});const E=9,Q=13,G=16,re=17,K=18,he=27,te=32,ke=33,xe=34,Se=35,Re=36,Me=37,rt=38,tt=39,Ge=40,ce=48,nt=57,je=65,me=90,lt=91,Nn=224;function ci(mn,...li){return li.length?li.some(Qi=>mn[Qi]):mn.altKey||mn.shiftKey||mn.ctrlKey||mn.metaKey}},2289:(_t,De,f)=>{"use strict";f.d(De,{Yg:()=>Ge,u3:()=>N});var o=f(4650),a=f(1281),E=f(7579),W=f(9841),Q=f(7272),G=f(9751),re=f(5698),K=f(5684),Z=f(8372),ee=f(4004),he=f(8675),te=f(2722),ke=f(3353);const Se=new Set;let Re,Me=(()=>{class F{constructor(ce){this._platform=ce,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):tt}matchMedia(ce){return(this._platform.WEBKIT||this._platform.BLINK)&&function rt(F){if(!Se.has(F))try{Re||(Re=document.createElement("style"),Re.setAttribute("type","text/css"),document.head.appendChild(Re)),Re.sheet&&(Re.sheet.insertRule(`@media ${F} {body{ }}`,0),Se.add(F))}catch(U){console.error(U)}}(ce),this._matchMedia(ce)}}return F.\u0275fac=function(ce){return new(ce||F)(o.LFG(ke.t4))},F.\u0275prov=o.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();function tt(F){return{matches:"all"===F||""===F,media:F,addListener:()=>{},removeListener:()=>{}}}let Ge=(()=>{class F{constructor(ce,Oe){this._mediaMatcher=ce,this._zone=Oe,this._queries=new Map,this._destroySubject=new E.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ce){return fe((0,a.Eq)(ce)).some(Ue=>this._registerQuery(Ue).mql.matches)}observe(ce){const Ue=fe((0,a.Eq)(ce)).map(ft=>this._registerQuery(ft).observable);let at=(0,W.a)(Ue);return at=(0,Q.z)(at.pipe((0,re.q)(1)),at.pipe((0,K.T)(1),(0,Z.b)(0))),at.pipe((0,ee.U)(ft=>{const It={matches:!1,breakpoints:{}};return ft.forEach(({matches:St,query:He})=>{It.matches=It.matches||St,It.breakpoints[He]=St}),It}))}_registerQuery(ce){if(this._queries.has(ce))return this._queries.get(ce);const Oe=this._mediaMatcher.matchMedia(ce),at={observable:new G.y(ft=>{const It=St=>this._zone.run(()=>ft.next(St));return Oe.addListener(It),()=>{Oe.removeListener(It)}}).pipe((0,he.O)(Oe),(0,ee.U)(({matches:ft})=>({query:ce,matches:ft})),(0,te.R)(this._destroySubject)),mql:Oe};return this._queries.set(ce,at),at}}return F.\u0275fac=function(ce){return new(ce||F)(o.LFG(Me),o.LFG(o.R0b))},F.\u0275prov=o.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();function fe(F){return F.map(U=>U.split(",")).reduce((U,ce)=>U.concat(ce)).map(U=>U.trim())}const N={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},9643:(_t,De,f)=>{"use strict";f.d(De,{Q8:()=>Z,wD:()=>K});var o=f(1281),a=f(4650),E=f(9751),W=f(7579),Q=f(8372);let G=(()=>{class ee{create(te){return typeof MutationObserver>"u"?null:new MutationObserver(te)}}return ee.\u0275fac=function(te){return new(te||ee)},ee.\u0275prov=a.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),re=(()=>{class ee{constructor(te){this._mutationObserverFactory=te,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((te,ke)=>this._cleanupObserver(ke))}observe(te){const ke=(0,o.fI)(te);return new E.y(xe=>{const Re=this._observeElement(ke).subscribe(xe);return()=>{Re.unsubscribe(),this._unobserveElement(ke)}})}_observeElement(te){if(this._observedElements.has(te))this._observedElements.get(te).count++;else{const ke=new W.x,xe=this._mutationObserverFactory.create(Se=>ke.next(Se));xe&&xe.observe(te,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(te,{observer:xe,stream:ke,count:1})}return this._observedElements.get(te).stream}_unobserveElement(te){this._observedElements.has(te)&&(this._observedElements.get(te).count--,this._observedElements.get(te).count||this._cleanupObserver(te))}_cleanupObserver(te){if(this._observedElements.has(te)){const{observer:ke,stream:xe}=this._observedElements.get(te);ke&&ke.disconnect(),xe.complete(),this._observedElements.delete(te)}}}return ee.\u0275fac=function(te){return new(te||ee)(a.LFG(G))},ee.\u0275prov=a.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),K=(()=>{class ee{get disabled(){return this._disabled}set disabled(te){this._disabled=(0,o.Ig)(te),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(te){this._debounce=(0,o.su)(te),this._subscribe()}constructor(te,ke,xe){this._contentObserver=te,this._elementRef=ke,this._ngZone=xe,this.event=new a.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const te=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?te.pipe((0,Q.b)(this.debounce)):te).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return ee.\u0275fac=function(te){return new(te||ee)(a.Y36(re),a.Y36(a.SBq),a.Y36(a.R0b))},ee.\u0275dir=a.lG2({type:ee,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),ee})(),Z=(()=>{class ee{}return ee.\u0275fac=function(te){return new(te||ee)},ee.\u0275mod=a.oAB({type:ee}),ee.\u0275inj=a.cJS({providers:[G]}),ee})()},8184:(_t,De,f)=>{"use strict";f.d(De,{Iu:()=>nt,U8:()=>Pe,X_:()=>U,Xj:()=>Ze,aV:()=>Ft,pI:()=>le,wJ:()=>bt,xu:()=>mt});var o=f(5589),a=f(6895),E=f(4650),W=f(1281),Q=f(3353),G=f(445),re=f(4080),K=f(7579),Z=f(727),ee=f(6451),he=f(5698),te=f(2722),ke=f(2529),xe=f(9521);const Se=(0,Q.Mq)();class Re{constructor(L,se){this._viewportRuler=L,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=se}attach(){}enable(){if(this._canBeEnabled()){const L=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=L.style.left||"",this._previousHTMLStyles.top=L.style.top||"",L.style.left=(0,W.HM)(-this._previousScrollPosition.left),L.style.top=(0,W.HM)(-this._previousScrollPosition.top),L.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const L=this._document.documentElement,ue=L.style,Be=this._document.body.style,ht=ue.scrollBehavior||"",ct=Be.scrollBehavior||"";this._isEnabled=!1,ue.left=this._previousHTMLStyles.left,ue.top=this._previousHTMLStyles.top,L.classList.remove("cdk-global-scrollblock"),Se&&(ue.scrollBehavior=Be.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Se&&(ue.scrollBehavior=ht,Be.scrollBehavior=ct)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const se=this._document.body,ue=this._viewportRuler.getViewportSize();return se.scrollHeight>ue.height||se.scrollWidth>ue.width}}class rt{constructor(L,se,ue,Be){this._scrollDispatcher=L,this._ngZone=se,this._viewportRuler=ue,this._config=Be,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(L){this._overlayRef=L}enable(){if(this._scrollSubscription)return;const L=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=L.subscribe(()=>{const se=this._viewportRuler.getViewportScrollPosition().top;Math.abs(se-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=L.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class tt{enable(){}disable(){}attach(){}}function Ge(de,L){return L.some(se=>de.bottomse.bottom||de.rightse.right)}function fe(de,L){return L.some(se=>de.topse.bottom||de.leftse.right)}class N{constructor(L,se,ue,Be){this._scrollDispatcher=L,this._viewportRuler=se,this._ngZone=ue,this._config=Be,this._scrollSubscription=null}attach(L){this._overlayRef=L}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const se=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ue,height:Be}=this._viewportRuler.getViewportSize();Ge(se,[{width:ue,height:Be,bottom:Be,right:ue,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let F=(()=>{class de{constructor(se,ue,Be,ht){this._scrollDispatcher=se,this._viewportRuler=ue,this._ngZone=Be,this.noop=()=>new tt,this.close=ct=>new rt(this._scrollDispatcher,this._ngZone,this._viewportRuler,ct),this.block=()=>new Re(this._viewportRuler,this._document),this.reposition=ct=>new N(this._scrollDispatcher,this._viewportRuler,this._ngZone,ct),this._document=ht}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(o.mF),E.LFG(o.rL),E.LFG(E.R0b),E.LFG(a.K0))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})();class U{constructor(L){if(this.scrollStrategy=new tt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,L){const se=Object.keys(L);for(const ue of se)void 0!==L[ue]&&(this[ue]=L[ue])}}}class Ue{constructor(L,se){this.connectionPair=L,this.scrollableViewProperties=se}}let It=(()=>{class de{constructor(se){this._attachedOverlays=[],this._document=se}ngOnDestroy(){this.detach()}add(se){this.remove(se),this._attachedOverlays.push(se)}remove(se){const ue=this._attachedOverlays.indexOf(se);ue>-1&&this._attachedOverlays.splice(ue,1),0===this._attachedOverlays.length&&this.detach()}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(a.K0))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),St=(()=>{class de extends It{constructor(se,ue){super(se),this._ngZone=ue,this._keydownListener=Be=>{const ht=this._attachedOverlays;for(let ct=ht.length-1;ct>-1;ct--)if(ht[ct]._keydownEvents.observers.length>0){const Et=ht[ct]._keydownEvents;this._ngZone?this._ngZone.run(()=>Et.next(Be)):Et.next(Be);break}}}add(se){super.add(se),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(a.K0),E.LFG(E.R0b,8))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),He=(()=>{class de extends It{constructor(se,ue,Be){super(se),this._platform=ue,this._ngZone=Be,this._cursorStyleIsSet=!1,this._pointerDownListener=ht=>{this._pointerDownEventTarget=(0,Q.sA)(ht)},this._clickListener=ht=>{const ct=(0,Q.sA)(ht),Et="click"===ht.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ct;this._pointerDownEventTarget=null;const me=this._attachedOverlays.slice();for(let lt=me.length-1;lt>-1;lt--){const j=me[lt];if(j._outsidePointerEvents.observers.length<1||!j.hasAttached())continue;if(j.overlayElement.contains(ct)||j.overlayElement.contains(Et))break;const ve=j._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ve.next(ht)):ve.next(ht)}}}add(se){if(super.add(se),!this._isAttached){const ue=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ue)):this._addEventListeners(ue),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ue.style.cursor,ue.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const se=this._document.body;se.removeEventListener("pointerdown",this._pointerDownListener,!0),se.removeEventListener("click",this._clickListener,!0),se.removeEventListener("auxclick",this._clickListener,!0),se.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(se.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(se){se.addEventListener("pointerdown",this._pointerDownListener,!0),se.addEventListener("click",this._clickListener,!0),se.addEventListener("auxclick",this._clickListener,!0),se.addEventListener("contextmenu",this._clickListener,!0)}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(a.K0),E.LFG(Q.t4),E.LFG(E.R0b,8))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Ze=(()=>{class de{constructor(se,ue){this._platform=ue,this._document=se}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const se="cdk-overlay-container";if(this._platform.isBrowser||(0,Q.Oy)()){const Be=this._document.querySelectorAll(`.${se}[platform="server"], .${se}[platform="test"]`);for(let ht=0;htthis._backdropClick.next(ve),this._backdropTransitionendHandler=ve=>{this._disposeBackdrop(ve.target)},this._keydownEvents=new K.x,this._outsidePointerEvents=new K.x,Be.scrollStrategy&&(this._scrollStrategy=Be.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Be.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(L){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const se=this._portalOutlet.attach(L);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,he.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof se?.onDestroy&&se.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),se}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const L=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),L}dispose(){const L=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,L&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(L){L!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=L,this.hasAttached()&&(L.attach(this),this.updatePosition()))}updateSize(L){this._config={...this._config,...L},this._updateElementSize()}setDirection(L){this._config={...this._config,direction:L},this._updateElementDirection()}addPanelClass(L){this._pane&&this._toggleClasses(this._pane,L,!0)}removePanelClass(L){this._pane&&this._toggleClasses(this._pane,L,!1)}getDirection(){const L=this._config.direction;return L?"string"==typeof L?L:L.value:"ltr"}updateScrollStrategy(L){L!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=L,this.hasAttached()&&(L.attach(this),L.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const L=this._pane.style;L.width=(0,W.HM)(this._config.width),L.height=(0,W.HM)(this._config.height),L.minWidth=(0,W.HM)(this._config.minWidth),L.minHeight=(0,W.HM)(this._config.minHeight),L.maxWidth=(0,W.HM)(this._config.maxWidth),L.maxHeight=(0,W.HM)(this._config.maxHeight)}_togglePointerEvents(L){this._pane.style.pointerEvents=L?"":"none"}_attachBackdrop(){const L="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(L)})}):this._backdropElement.classList.add(L)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const L=this._backdropElement;if(L){if(this._animationsDisabled)return void this._disposeBackdrop(L);L.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{L.addEventListener("transitionend",this._backdropTransitionendHandler)}),L.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(L)},500))}}_toggleClasses(L,se,ue){const Be=(0,W.Eq)(se||[]).filter(ht=>!!ht);Be.length&&(ue?L.classList.add(...Be):L.classList.remove(...Be))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const L=this._ngZone.onStable.pipe((0,te.R)((0,ee.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),L.unsubscribe())})})}_disposeScrollStrategy(){const L=this._scrollStrategy;L&&(L.disable(),L.detach&&L.detach())}_disposeBackdrop(L){L&&(L.removeEventListener("click",this._backdropClickHandler),L.removeEventListener("transitionend",this._backdropTransitionendHandler),L.remove(),this._backdropElement===L&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const ut="cdk-overlay-connected-position-bounding-box",vt=/([A-Za-z%]+)$/;class We{get positions(){return this._preferredPositions}constructor(L,se,ue,Be,ht){this._viewportRuler=se,this._document=ue,this._platform=Be,this._overlayContainer=ht,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new K.x,this._resizeSubscription=Z.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(L)}attach(L){this._validatePositions(),L.hostElement.classList.add(ut),this._overlayRef=L,this._boundingBox=L.hostElement,this._pane=L.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const L=this._originRect,se=this._overlayRect,ue=this._viewportRect,Be=this._containerRect,ht=[];let ct;for(let Et of this._preferredPositions){let me=this._getOriginPoint(L,Be,Et),lt=this._getOverlayPoint(me,se,Et),j=this._getOverlayFit(lt,se,ue,Et);if(j.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Et,me);this._canFitWithFlexibleDimensions(j,lt,ue)?ht.push({position:Et,origin:me,overlayRect:se,boundingBoxRect:this._calculateBoundingBoxRect(me,Et)}):(!ct||ct.overlayFit.visibleAreame&&(me=j,Et=lt)}return this._isPushed=!1,void this._applyPosition(Et.position,Et.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ct.position,ct.originPoint);this._applyPosition(ct.position,ct.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ot(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ut),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const L=this._lastPosition;if(L){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const se=this._getOriginPoint(this._originRect,this._containerRect,L);this._applyPosition(L,se)}else this.apply()}withScrollableContainers(L){return this._scrollables=L,this}withPositions(L){return this._preferredPositions=L,-1===L.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(L){return this._viewportMargin=L,this}withFlexibleDimensions(L=!0){return this._hasFlexibleDimensions=L,this}withGrowAfterOpen(L=!0){return this._growAfterOpen=L,this}withPush(L=!0){return this._canPush=L,this}withLockedPosition(L=!0){return this._positionLocked=L,this}setOrigin(L){return this._origin=L,this}withDefaultOffsetX(L){return this._offsetX=L,this}withDefaultOffsetY(L){return this._offsetY=L,this}withTransformOriginOn(L){return this._transformOriginSelector=L,this}_getOriginPoint(L,se,ue){let Be,ht;if("center"==ue.originX)Be=L.left+L.width/2;else{const ct=this._isRtl()?L.right:L.left,Et=this._isRtl()?L.left:L.right;Be="start"==ue.originX?ct:Et}return se.left<0&&(Be-=se.left),ht="center"==ue.originY?L.top+L.height/2:"top"==ue.originY?L.top:L.bottom,se.top<0&&(ht-=se.top),{x:Be,y:ht}}_getOverlayPoint(L,se,ue){let Be,ht;return Be="center"==ue.overlayX?-se.width/2:"start"===ue.overlayX?this._isRtl()?-se.width:0:this._isRtl()?0:-se.width,ht="center"==ue.overlayY?-se.height/2:"top"==ue.overlayY?0:-se.height,{x:L.x+Be,y:L.y+ht}}_getOverlayFit(L,se,ue,Be){const ht=ze(se);let{x:ct,y:Et}=L,me=this._getOffset(Be,"x"),lt=this._getOffset(Be,"y");me&&(ct+=me),lt&&(Et+=lt);let pe=0-Et,Fe=Et+ht.height-ue.height,At=this._subtractOverflows(ht.width,0-ct,ct+ht.width-ue.width),wt=this._subtractOverflows(ht.height,pe,Fe),dn=At*wt;return{visibleArea:dn,isCompletelyWithinViewport:ht.width*ht.height===dn,fitsInViewportVertically:wt===ht.height,fitsInViewportHorizontally:At==ht.width}}_canFitWithFlexibleDimensions(L,se,ue){if(this._hasFlexibleDimensions){const Be=ue.bottom-se.y,ht=ue.right-se.x,ct=je(this._overlayRef.getConfig().minHeight),Et=je(this._overlayRef.getConfig().minWidth);return(L.fitsInViewportVertically||null!=ct&&ct<=Be)&&(L.fitsInViewportHorizontally||null!=Et&&Et<=ht)}return!1}_pushOverlayOnScreen(L,se,ue){if(this._previousPushAmount&&this._positionLocked)return{x:L.x+this._previousPushAmount.x,y:L.y+this._previousPushAmount.y};const Be=ze(se),ht=this._viewportRect,ct=Math.max(L.x+Be.width-ht.width,0),Et=Math.max(L.y+Be.height-ht.height,0),me=Math.max(ht.top-ue.top-L.y,0),lt=Math.max(ht.left-ue.left-L.x,0);let j=0,ve=0;return j=Be.width<=ht.width?lt||-ct:L.xAt&&!this._isInitialRender&&!this._growAfterOpen&&(ct=L.y-At/2)}if("end"===se.overlayX&&!Be||"start"===se.overlayX&&Be)pe=ue.width-L.x+this._viewportMargin,j=L.x-this._viewportMargin;else if("start"===se.overlayX&&!Be||"end"===se.overlayX&&Be)ve=L.x,j=ue.right-L.x;else{const Fe=Math.min(ue.right-L.x+ue.left,L.x),At=this._lastBoundingBoxSize.width;j=2*Fe,ve=L.x-Fe,j>At&&!this._isInitialRender&&!this._growAfterOpen&&(ve=L.x-At/2)}return{top:ct,left:ve,bottom:Et,right:pe,width:j,height:ht}}_setBoundingBoxStyles(L,se){const ue=this._calculateBoundingBoxRect(L,se);!this._isInitialRender&&!this._growAfterOpen&&(ue.height=Math.min(ue.height,this._lastBoundingBoxSize.height),ue.width=Math.min(ue.width,this._lastBoundingBoxSize.width));const Be={};if(this._hasExactPosition())Be.top=Be.left="0",Be.bottom=Be.right=Be.maxHeight=Be.maxWidth="",Be.width=Be.height="100%";else{const ht=this._overlayRef.getConfig().maxHeight,ct=this._overlayRef.getConfig().maxWidth;Be.height=(0,W.HM)(ue.height),Be.top=(0,W.HM)(ue.top),Be.bottom=(0,W.HM)(ue.bottom),Be.width=(0,W.HM)(ue.width),Be.left=(0,W.HM)(ue.left),Be.right=(0,W.HM)(ue.right),Be.alignItems="center"===se.overlayX?"center":"end"===se.overlayX?"flex-end":"flex-start",Be.justifyContent="center"===se.overlayY?"center":"bottom"===se.overlayY?"flex-end":"flex-start",ht&&(Be.maxHeight=(0,W.HM)(ht)),ct&&(Be.maxWidth=(0,W.HM)(ct))}this._lastBoundingBoxSize=ue,ot(this._boundingBox.style,Be)}_resetBoundingBoxStyles(){ot(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ot(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(L,se){const ue={},Be=this._hasExactPosition(),ht=this._hasFlexibleDimensions,ct=this._overlayRef.getConfig();if(Be){const j=this._viewportRuler.getViewportScrollPosition();ot(ue,this._getExactOverlayY(se,L,j)),ot(ue,this._getExactOverlayX(se,L,j))}else ue.position="static";let Et="",me=this._getOffset(se,"x"),lt=this._getOffset(se,"y");me&&(Et+=`translateX(${me}px) `),lt&&(Et+=`translateY(${lt}px)`),ue.transform=Et.trim(),ct.maxHeight&&(Be?ue.maxHeight=(0,W.HM)(ct.maxHeight):ht&&(ue.maxHeight="")),ct.maxWidth&&(Be?ue.maxWidth=(0,W.HM)(ct.maxWidth):ht&&(ue.maxWidth="")),ot(this._pane.style,ue)}_getExactOverlayY(L,se,ue){let Be={top:"",bottom:""},ht=this._getOverlayPoint(se,this._overlayRect,L);return this._isPushed&&(ht=this._pushOverlayOnScreen(ht,this._overlayRect,ue)),"bottom"===L.overlayY?Be.bottom=this._document.documentElement.clientHeight-(ht.y+this._overlayRect.height)+"px":Be.top=(0,W.HM)(ht.y),Be}_getExactOverlayX(L,se,ue){let ct,Be={left:"",right:""},ht=this._getOverlayPoint(se,this._overlayRect,L);return this._isPushed&&(ht=this._pushOverlayOnScreen(ht,this._overlayRect,ue)),ct=this._isRtl()?"end"===L.overlayX?"left":"right":"end"===L.overlayX?"right":"left","right"===ct?Be.right=this._document.documentElement.clientWidth-(ht.x+this._overlayRect.width)+"px":Be.left=(0,W.HM)(ht.x),Be}_getScrollVisibility(){const L=this._getOriginRect(),se=this._pane.getBoundingClientRect(),ue=this._scrollables.map(Be=>Be.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fe(L,ue),isOriginOutsideView:Ge(L,ue),isOverlayClipped:fe(se,ue),isOverlayOutsideView:Ge(se,ue)}}_subtractOverflows(L,...se){return se.reduce((ue,Be)=>ue-Math.max(Be,0),L)}_getNarrowedViewportRect(){const L=this._document.documentElement.clientWidth,se=this._document.documentElement.clientHeight,ue=this._viewportRuler.getViewportScrollPosition();return{top:ue.top+this._viewportMargin,left:ue.left+this._viewportMargin,right:ue.left+L-this._viewportMargin,bottom:ue.top+se-this._viewportMargin,width:L-2*this._viewportMargin,height:se-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(L,se){return"x"===se?null==L.offsetX?this._offsetX:L.offsetX:null==L.offsetY?this._offsetY:L.offsetY}_validatePositions(){}_addPanelClasses(L){this._pane&&(0,W.Eq)(L).forEach(se=>{""!==se&&-1===this._appliedPanelClasses.indexOf(se)&&(this._appliedPanelClasses.push(se),this._pane.classList.add(se))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(L=>{this._pane.classList.remove(L)}),this._appliedPanelClasses=[])}_getOriginRect(){const L=this._origin;if(L instanceof E.SBq)return L.nativeElement.getBoundingClientRect();if(L instanceof Element)return L.getBoundingClientRect();const se=L.width||0,ue=L.height||0;return{top:L.y,bottom:L.y+ue,left:L.x,right:L.x+se,height:ue,width:se}}}function ot(de,L){for(let se in L)L.hasOwnProperty(se)&&(de[se]=L[se]);return de}function je(de){if("number"!=typeof de&&null!=de){const[L,se]=de.split(vt);return se&&"px"!==se?null:parseFloat(L)}return de||null}function ze(de){return{top:Math.floor(de.top),right:Math.floor(de.right),bottom:Math.floor(de.bottom),left:Math.floor(de.left),width:Math.floor(de.width),height:Math.floor(de.height)}}const ye="cdk-global-overlay-wrapper";class Le{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(L){const se=L.getConfig();this._overlayRef=L,this._width&&!se.width&&L.updateSize({width:this._width}),this._height&&!se.height&&L.updateSize({height:this._height}),L.hostElement.classList.add(ye),this._isDisposed=!1}top(L=""){return this._bottomOffset="",this._topOffset=L,this._alignItems="flex-start",this}left(L=""){return this._xOffset=L,this._xPosition="left",this}bottom(L=""){return this._topOffset="",this._bottomOffset=L,this._alignItems="flex-end",this}right(L=""){return this._xOffset=L,this._xPosition="right",this}start(L=""){return this._xOffset=L,this._xPosition="start",this}end(L=""){return this._xOffset=L,this._xPosition="end",this}width(L=""){return this._overlayRef?this._overlayRef.updateSize({width:L}):this._width=L,this}height(L=""){return this._overlayRef?this._overlayRef.updateSize({height:L}):this._height=L,this}centerHorizontally(L=""){return this.left(L),this._xPosition="center",this}centerVertically(L=""){return this.top(L),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const L=this._overlayRef.overlayElement.style,se=this._overlayRef.hostElement.style,ue=this._overlayRef.getConfig(),{width:Be,height:ht,maxWidth:ct,maxHeight:Et}=ue,me=!("100%"!==Be&&"100vw"!==Be||ct&&"100%"!==ct&&"100vw"!==ct),lt=!("100%"!==ht&&"100vh"!==ht||Et&&"100%"!==Et&&"100vh"!==Et),j=this._xPosition,ve=this._xOffset,pe="rtl"===this._overlayRef.getConfig().direction;let Fe="",At="",wt="";me?wt="flex-start":"center"===j?(wt="center",pe?At=ve:Fe=ve):pe?"left"===j||"end"===j?(wt="flex-end",Fe=ve):("right"===j||"start"===j)&&(wt="flex-start",At=ve):"left"===j||"start"===j?(wt="flex-start",Fe=ve):("right"===j||"end"===j)&&(wt="flex-end",At=ve),L.position=this._cssPosition,L.marginLeft=me?"0":Fe,L.marginTop=lt?"0":this._topOffset,L.marginBottom=this._bottomOffset,L.marginRight=me?"0":At,se.justifyContent=wt,se.alignItems=lt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const L=this._overlayRef.overlayElement.style,se=this._overlayRef.hostElement,ue=se.style;se.classList.remove(ye),ue.justifyContent=ue.alignItems=L.marginTop=L.marginBottom=L.marginLeft=L.marginRight=L.position="",this._overlayRef=null,this._isDisposed=!0}}let bt=(()=>{class de{constructor(se,ue,Be,ht){this._viewportRuler=se,this._document=ue,this._platform=Be,this._overlayContainer=ht}global(){return new Le}flexibleConnectedTo(se){return new We(se,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(o.rL),E.LFG(a.K0),E.LFG(Q.t4),E.LFG(Ze))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Ct=0,Ft=(()=>{class de{constructor(se,ue,Be,ht,ct,Et,me,lt,j,ve,pe,Fe){this.scrollStrategies=se,this._overlayContainer=ue,this._componentFactoryResolver=Be,this._positionBuilder=ht,this._keyboardDispatcher=ct,this._injector=Et,this._ngZone=me,this._document=lt,this._directionality=j,this._location=ve,this._outsideClickDispatcher=pe,this._animationsModuleType=Fe}create(se){const ue=this._createHostElement(),Be=this._createPaneElement(ue),ht=this._createPortalOutlet(Be),ct=new U(se);return ct.direction=ct.direction||this._directionality.value,new nt(ht,ue,Be,ct,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(se){const ue=this._document.createElement("div");return ue.id="cdk-overlay-"+Ct++,ue.classList.add("cdk-overlay-pane"),se.appendChild(ue),ue}_createHostElement(){const se=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(se),se}_createPortalOutlet(se){return this._appRef||(this._appRef=this._injector.get(E.z2F)),new re.u0(se,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return de.\u0275fac=function(se){return new(se||de)(E.LFG(F),E.LFG(Ze),E.LFG(E._Vd),E.LFG(bt),E.LFG(St),E.LFG(E.zs3),E.LFG(E.R0b),E.LFG(a.K0),E.LFG(G.Is),E.LFG(a.Ye),E.LFG(He),E.LFG(E.QbO,8))},de.\u0275prov=E.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})();const Ne=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],qe=new E.OlP("cdk-connected-overlay-scroll-strategy");let mt=(()=>{class de{constructor(se){this.elementRef=se}}return de.\u0275fac=function(se){return new(se||de)(E.Y36(E.SBq))},de.\u0275dir=E.lG2({type:de,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),de})(),le=(()=>{class de{get offsetX(){return this._offsetX}set offsetX(se){this._offsetX=se,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(se){this._offsetY=se,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(se){this._hasBackdrop=(0,W.Ig)(se)}get lockPosition(){return this._lockPosition}set lockPosition(se){this._lockPosition=(0,W.Ig)(se)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(se){this._flexibleDimensions=(0,W.Ig)(se)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(se){this._growAfterOpen=(0,W.Ig)(se)}get push(){return this._push}set push(se){this._push=(0,W.Ig)(se)}constructor(se,ue,Be,ht,ct){this._overlay=se,this._dir=ct,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Z.w0.EMPTY,this._attachSubscription=Z.w0.EMPTY,this._detachSubscription=Z.w0.EMPTY,this._positionSubscription=Z.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new E.vpe,this.positionChange=new E.vpe,this.attach=new E.vpe,this.detach=new E.vpe,this.overlayKeydown=new E.vpe,this.overlayOutsideClick=new E.vpe,this._templatePortal=new re.UE(ue,Be),this._scrollStrategyFactory=ht,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(se){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),se.origin&&this.open&&this._position.apply()),se.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ne);const se=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=se.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=se.detachments().subscribe(()=>this.detach.emit()),se.keydownEvents().subscribe(ue=>{this.overlayKeydown.next(ue),ue.keyCode===xe.hY&&!this.disableClose&&!(0,xe.Vb)(ue)&&(ue.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ue=>{this.overlayOutsideClick.next(ue)})}_buildConfig(){const se=this._position=this.positionStrategy||this._createPositionStrategy(),ue=new U({direction:this._dir,positionStrategy:se,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ue.width=this.width),(this.height||0===this.height)&&(ue.height=this.height),(this.minWidth||0===this.minWidth)&&(ue.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ue.minHeight=this.minHeight),this.backdropClass&&(ue.backdropClass=this.backdropClass),this.panelClass&&(ue.panelClass=this.panelClass),ue}_updatePositionStrategy(se){const ue=this.positions.map(Be=>({originX:Be.originX,originY:Be.originY,overlayX:Be.overlayX,overlayY:Be.overlayY,offsetX:Be.offsetX||this.offsetX,offsetY:Be.offsetY||this.offsetY,panelClass:Be.panelClass||void 0}));return se.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ue).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const se=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(se),se}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof mt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(se=>{this.backdropClick.emit(se)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,ke.o)(()=>this.positionChange.observers.length>0)).subscribe(se=>{this.positionChange.emit(se),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return de.\u0275fac=function(se){return new(se||de)(E.Y36(Ft),E.Y36(E.Rgc),E.Y36(E.s_b),E.Y36(qe),E.Y36(G.Is,8))},de.\u0275dir=E.lG2({type:de,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[E.TTD]}),de})();const ne={provide:qe,deps:[Ft],useFactory:function we(de){return()=>de.scrollStrategies.reposition()}};let Pe=(()=>{class de{}return de.\u0275fac=function(se){return new(se||de)},de.\u0275mod=E.oAB({type:de}),de.\u0275inj=E.cJS({providers:[Ft,ne],imports:[G.vT,re.eL,o.Cl,o.Cl]}),de})()},3353:(_t,De,f)=>{"use strict";f.d(De,{Mq:()=>xe,Oy:()=>fe,_i:()=>Se,ht:()=>tt,i$:()=>he,kV:()=>rt,qK:()=>K,sA:()=>Ge,t4:()=>W});var o=f(4650),a=f(6895);let E;try{E=typeof Intl<"u"&&Intl.v8BreakIterator}catch{E=!1}let G,W=(()=>{class N{constructor(U){this._platformId=U,this.isBrowser=this._platformId?(0,a.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!E)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return N.\u0275fac=function(U){return new(U||N)(o.LFG(o.Lbi))},N.\u0275prov=o.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const re=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function K(){if(G)return G;if("object"!=typeof document||!document)return G=new Set(re),G;let N=document.createElement("input");return G=new Set(re.filter(F=>(N.setAttribute("type",F),N.type===F))),G}let Z,te,ke,Re;function he(N){return function ee(){if(null==Z&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Z=!0}))}finally{Z=Z||!1}return Z}()?N:!!N.capture}function xe(){if(null==ke){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ke=!1,ke;if("scrollBehavior"in document.documentElement.style)ke=!0;else{const N=Element.prototype.scrollTo;ke=!!N&&!/\{\s*\[native code\]\s*\}/.test(N.toString())}}return ke}function Se(){if("object"!=typeof document||!document)return 0;if(null==te){const N=document.createElement("div"),F=N.style;N.dir="rtl",F.width="1px",F.overflow="auto",F.visibility="hidden",F.pointerEvents="none",F.position="absolute";const U=document.createElement("div"),ce=U.style;ce.width="2px",ce.height="1px",N.appendChild(U),document.body.appendChild(N),te=0,0===N.scrollLeft&&(N.scrollLeft=1,te=0===N.scrollLeft?1:2),N.remove()}return te}function rt(N){if(function Me(){if(null==Re){const N=typeof document<"u"?document.head:null;Re=!(!N||!N.createShadowRoot&&!N.attachShadow)}return Re}()){const F=N.getRootNode?N.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&F instanceof ShadowRoot)return F}return null}function tt(){let N=typeof document<"u"&&document?document.activeElement:null;for(;N&&N.shadowRoot;){const F=N.shadowRoot.activeElement;if(F===N)break;N=F}return N}function Ge(N){return N.composedPath?N.composedPath()[0]:N.target}function fe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(_t,De,f)=>{"use strict";f.d(De,{C5:()=>ee,Pl:()=>tt,UE:()=>he,eL:()=>fe,en:()=>ke,u0:()=>Se});var o=f(4650),a=f(6895);class Z{attach(U){return this._attachedHost=U,U.attach(this)}detach(){let U=this._attachedHost;null!=U&&(this._attachedHost=null,U.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(U){this._attachedHost=U}}class ee extends Z{constructor(U,ce,Oe,Ue,at){super(),this.component=U,this.viewContainerRef=ce,this.injector=Oe,this.componentFactoryResolver=Ue,this.projectableNodes=at}}class he extends Z{constructor(U,ce,Oe,Ue){super(),this.templateRef=U,this.viewContainerRef=ce,this.context=Oe,this.injector=Ue}get origin(){return this.templateRef.elementRef}attach(U,ce=this.context){return this.context=ce,super.attach(U)}detach(){return this.context=void 0,super.detach()}}class te extends Z{constructor(U){super(),this.element=U instanceof o.SBq?U.nativeElement:U}}class ke{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(U){return U instanceof ee?(this._attachedPortal=U,this.attachComponentPortal(U)):U instanceof he?(this._attachedPortal=U,this.attachTemplatePortal(U)):this.attachDomPortal&&U instanceof te?(this._attachedPortal=U,this.attachDomPortal(U)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(U){this._disposeFn=U}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Se extends ke{constructor(U,ce,Oe,Ue,at){super(),this.outletElement=U,this._componentFactoryResolver=ce,this._appRef=Oe,this._defaultInjector=Ue,this.attachDomPortal=ft=>{const It=ft.element,St=this._document.createComment("dom-portal");It.parentNode.insertBefore(St,It),this.outletElement.appendChild(It),this._attachedPortal=ft,super.setDisposeFn(()=>{St.parentNode&&St.parentNode.replaceChild(It,St)})},this._document=at}attachComponentPortal(U){const Oe=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component);let Ue;return U.viewContainerRef?(Ue=U.viewContainerRef.createComponent(Oe,U.viewContainerRef.length,U.injector||U.viewContainerRef.injector,U.projectableNodes||void 0),this.setDisposeFn(()=>Ue.destroy())):(Ue=Oe.create(U.injector||this._defaultInjector||o.zs3.NULL),this._appRef.attachView(Ue.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Ue.hostView),Ue.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ue)),this._attachedPortal=U,Ue}attachTemplatePortal(U){let ce=U.viewContainerRef,Oe=ce.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return Oe.rootNodes.forEach(Ue=>this.outletElement.appendChild(Ue)),Oe.detectChanges(),this.setDisposeFn(()=>{let Ue=ce.indexOf(Oe);-1!==Ue&&ce.remove(Ue)}),this._attachedPortal=U,Oe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(U){return U.hostView.rootNodes[0]}}let tt=(()=>{class F extends ke{constructor(ce,Oe,Ue){super(),this._componentFactoryResolver=ce,this._viewContainerRef=Oe,this._isInitialized=!1,this.attached=new o.vpe,this.attachDomPortal=at=>{const ft=at.element,It=this._document.createComment("dom-portal");at.setAttachedHost(this),ft.parentNode.insertBefore(It,ft),this._getRootNode().appendChild(ft),this._attachedPortal=at,super.setDisposeFn(()=>{It.parentNode&&It.parentNode.replaceChild(ft,It)})},this._document=Ue}get portal(){return this._attachedPortal}set portal(ce){this.hasAttached()&&!ce&&!this._isInitialized||(this.hasAttached()&&super.detach(),ce&&super.attach(ce),this._attachedPortal=ce||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(ce){ce.setAttachedHost(this);const Oe=null!=ce.viewContainerRef?ce.viewContainerRef:this._viewContainerRef,at=(ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ce.component),ft=Oe.createComponent(at,Oe.length,ce.injector||Oe.injector,ce.projectableNodes||void 0);return Oe!==this._viewContainerRef&&this._getRootNode().appendChild(ft.hostView.rootNodes[0]),super.setDisposeFn(()=>ft.destroy()),this._attachedPortal=ce,this._attachedRef=ft,this.attached.emit(ft),ft}attachTemplatePortal(ce){ce.setAttachedHost(this);const Oe=this._viewContainerRef.createEmbeddedView(ce.templateRef,ce.context,{injector:ce.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ce,this._attachedRef=Oe,this.attached.emit(Oe),Oe}_getRootNode(){const ce=this._viewContainerRef.element.nativeElement;return ce.nodeType===ce.ELEMENT_NODE?ce:ce.parentNode}}return F.\u0275fac=function(ce){return new(ce||F)(o.Y36(o._Vd),o.Y36(o.s_b),o.Y36(a.K0))},F.\u0275dir=o.lG2({type:F,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[o.qOj]}),F})(),fe=(()=>{class F{}return F.\u0275fac=function(ce){return new(ce||F)},F.\u0275mod=o.oAB({type:F}),F.\u0275inj=o.cJS({}),F})()},5589:(_t,De,f)=>{"use strict";f.d(De,{ZD:()=>qe,mF:()=>vt,Cl:()=>mt,rL:()=>je});var o=f(1281),a=f(4650),E=f(7579),W=f(9646),Q=f(9751),G=f(4968),re=f(4408),K=f(727);const Z={schedule(le){let we=requestAnimationFrame,ne=cancelAnimationFrame;const{delegate:Pe}=Z;Pe&&(we=Pe.requestAnimationFrame,ne=Pe.cancelAnimationFrame);const pt=we(de=>{ne=void 0,le(de)});return new K.w0(()=>ne?.(pt))},requestAnimationFrame(...le){const{delegate:we}=Z;return(we?.requestAnimationFrame||requestAnimationFrame)(...le)},cancelAnimationFrame(...le){const{delegate:we}=Z;return(we?.cancelAnimationFrame||cancelAnimationFrame)(...le)},delegate:void 0};var he=f(640);const ke=new class te extends he.v{flush(we){this._active=!0;const ne=this._scheduled;this._scheduled=void 0;const{actions:Pe}=this;let pt;we=we||Pe.shift();do{if(pt=we.execute(we.state,we.delay))break}while((we=Pe[0])&&we.id===ne&&Pe.shift());if(this._active=!1,pt){for(;(we=Pe[0])&&we.id===ne&&Pe.shift();)we.unsubscribe();throw pt}}}(class ee extends re.o{constructor(we,ne){super(we,ne),this.scheduler=we,this.work=ne}requestAsyncId(we,ne,Pe=0){return null!==Pe&&Pe>0?super.requestAsyncId(we,ne,Pe):(we.actions.push(this),we._scheduled||(we._scheduled=Z.requestAnimationFrame(()=>we.flush(void 0))))}recycleAsyncId(we,ne,Pe=0){var pt;if(null!=Pe?Pe>0:this.delay>0)return super.recycleAsyncId(we,ne,Pe);const{actions:de}=we;null!=ne&&(null===(pt=de[de.length-1])||void 0===pt?void 0:pt.id)!==ne&&(Z.cancelAnimationFrame(ne),we._scheduled=void 0)}});var Se=f(3101),Re=f(4986),Me=f(4482),rt=f(8421),tt=f(5403),fe=f(5963);function N(le,we=Re.z){return function Ge(le){return(0,Me.e)((we,ne)=>{let Pe=!1,pt=null,de=null,L=!1;const se=()=>{if(de?.unsubscribe(),de=null,Pe){Pe=!1;const Be=pt;pt=null,ne.next(Be)}L&&ne.complete()},ue=()=>{de=null,L&&ne.complete()};we.subscribe((0,tt.x)(ne,Be=>{Pe=!0,pt=Be,de||(0,rt.Xf)(le(Be)).subscribe(de=(0,tt.x)(ne,se,ue))},()=>{L=!0,(!Pe||!de||de.closed)&&ne.complete()}))})}(()=>(0,fe.H)(le,we))}var F=f(9300),U=f(2722),ce=f(8675),Oe=f(3353),Ue=f(6895),at=f(445);const ft=["contentWrapper"],It=["*"],St=new a.OlP("VIRTUAL_SCROLL_STRATEGY");let vt=(()=>{class le{constructor(ne,Pe,pt){this._ngZone=ne,this._platform=Pe,this._scrolled=new E.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=pt}register(ne){this.scrollContainers.has(ne)||this.scrollContainers.set(ne,ne.elementScrolled().subscribe(()=>this._scrolled.next(ne)))}deregister(ne){const Pe=this.scrollContainers.get(ne);Pe&&(Pe.unsubscribe(),this.scrollContainers.delete(ne))}scrolled(ne=20){return this._platform.isBrowser?new Q.y(Pe=>{this._globalSubscription||this._addGlobalListener();const pt=ne>0?this._scrolled.pipe(N(ne)).subscribe(Pe):this._scrolled.subscribe(Pe);return this._scrolledCount++,()=>{pt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,W.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ne,Pe)=>this.deregister(Pe)),this._scrolled.complete()}ancestorScrolled(ne,Pe){const pt=this.getAncestorScrollContainers(ne);return this.scrolled(Pe).pipe((0,F.h)(de=>!de||pt.indexOf(de)>-1))}getAncestorScrollContainers(ne){const Pe=[];return this.scrollContainers.forEach((pt,de)=>{this._scrollableContainsElement(de,ne)&&Pe.push(de)}),Pe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ne,Pe){let pt=(0,o.fI)(Pe),de=ne.getElementRef().nativeElement;do{if(pt==de)return!0}while(pt=pt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ne=this._getWindow();return(0,G.R)(ne.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return le.\u0275fac=function(ne){return new(ne||le)(a.LFG(a.R0b),a.LFG(Oe.t4),a.LFG(Ue.K0,8))},le.\u0275prov=a.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})(),We=(()=>{class le{constructor(ne,Pe,pt,de){this.elementRef=ne,this.scrollDispatcher=Pe,this.ngZone=pt,this.dir=de,this._destroyed=new E.x,this._elementScrolled=new Q.y(L=>this.ngZone.runOutsideAngular(()=>(0,G.R)(this.elementRef.nativeElement,"scroll").pipe((0,U.R)(this._destroyed)).subscribe(L)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(ne){const Pe=this.elementRef.nativeElement,pt=this.dir&&"rtl"==this.dir.value;null==ne.left&&(ne.left=pt?ne.end:ne.start),null==ne.right&&(ne.right=pt?ne.start:ne.end),null!=ne.bottom&&(ne.top=Pe.scrollHeight-Pe.clientHeight-ne.bottom),pt&&0!=(0,Oe._i)()?(null!=ne.left&&(ne.right=Pe.scrollWidth-Pe.clientWidth-ne.left),2==(0,Oe._i)()?ne.left=ne.right:1==(0,Oe._i)()&&(ne.left=ne.right?-ne.right:ne.right)):null!=ne.right&&(ne.left=Pe.scrollWidth-Pe.clientWidth-ne.right),this._applyScrollToOptions(ne)}_applyScrollToOptions(ne){const Pe=this.elementRef.nativeElement;(0,Oe.Mq)()?Pe.scrollTo(ne):(null!=ne.top&&(Pe.scrollTop=ne.top),null!=ne.left&&(Pe.scrollLeft=ne.left))}measureScrollOffset(ne){const Pe="left",de=this.elementRef.nativeElement;if("top"==ne)return de.scrollTop;if("bottom"==ne)return de.scrollHeight-de.clientHeight-de.scrollTop;const L=this.dir&&"rtl"==this.dir.value;return"start"==ne?ne=L?"right":Pe:"end"==ne&&(ne=L?Pe:"right"),L&&2==(0,Oe._i)()?ne==Pe?de.scrollWidth-de.clientWidth-de.scrollLeft:de.scrollLeft:L&&1==(0,Oe._i)()?ne==Pe?de.scrollLeft+de.scrollWidth-de.clientWidth:-de.scrollLeft:ne==Pe?de.scrollLeft:de.scrollWidth-de.clientWidth-de.scrollLeft}}return le.\u0275fac=function(ne){return new(ne||le)(a.Y36(a.SBq),a.Y36(vt),a.Y36(a.R0b),a.Y36(at.Is,8))},le.\u0275dir=a.lG2({type:le,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),le})(),je=(()=>{class le{constructor(ne,Pe,pt){this._platform=ne,this._change=new E.x,this._changeListener=de=>{this._change.next(de)},this._document=pt,Pe.runOutsideAngular(()=>{if(ne.isBrowser){const de=this._getWindow();de.addEventListener("resize",this._changeListener),de.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ne=this._getWindow();ne.removeEventListener("resize",this._changeListener),ne.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ne={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ne}getViewportRect(){const ne=this.getViewportScrollPosition(),{width:Pe,height:pt}=this.getViewportSize();return{top:ne.top,left:ne.left,bottom:ne.top+pt,right:ne.left+Pe,height:pt,width:Pe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ne=this._document,Pe=this._getWindow(),pt=ne.documentElement,de=pt.getBoundingClientRect();return{top:-de.top||ne.body.scrollTop||Pe.scrollY||pt.scrollTop||0,left:-de.left||ne.body.scrollLeft||Pe.scrollX||pt.scrollLeft||0}}change(ne=20){return ne>0?this._change.pipe(N(ne)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ne=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ne.innerWidth,height:ne.innerHeight}:{width:0,height:0}}}return le.\u0275fac=function(ne){return new(ne||le)(a.LFG(Oe.t4),a.LFG(a.R0b),a.LFG(Ue.K0,8))},le.\u0275prov=a.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();const ze=new a.OlP("VIRTUAL_SCROLLABLE");let Qe=(()=>{class le extends We{constructor(ne,Pe,pt,de){super(ne,Pe,pt,de)}measureViewportSize(ne){const Pe=this.elementRef.nativeElement;return"horizontal"===ne?Pe.clientWidth:Pe.clientHeight}}return le.\u0275fac=function(ne){return new(ne||le)(a.Y36(a.SBq),a.Y36(vt),a.Y36(a.R0b),a.Y36(at.Is,8))},le.\u0275dir=a.lG2({type:le,features:[a.qOj]}),le})();const ye=typeof requestAnimationFrame<"u"?ke:Se.E;let Le=(()=>{class le extends Qe{get orientation(){return this._orientation}set orientation(ne){this._orientation!==ne&&(this._orientation=ne,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(ne){this._appendOnly=(0,o.Ig)(ne)}constructor(ne,Pe,pt,de,L,se,ue,Be){super(ne,se,pt,L),this.elementRef=ne,this._changeDetectorRef=Pe,this._scrollStrategy=de,this.scrollable=Be,this._platform=(0,a.f3M)(Oe.t4),this._detachedSubject=new E.x,this._renderedRangeSubject=new E.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new Q.y(ht=>this._scrollStrategy.scrolledIndexChange.subscribe(ct=>Promise.resolve().then(()=>this.ngZone.run(()=>ht.next(ct))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=K.w0.EMPTY,this._viewportChanges=ue.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,ce.O)(null),N(0,ye)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(ne){this.ngZone.runOutsideAngular(()=>{this._forOf=ne,this._forOf.dataStream.pipe((0,U.R)(this._detachedSubject)).subscribe(Pe=>{const pt=Pe.length;pt!==this._dataLength&&(this._dataLength=pt,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(ne){return this.getElementRef().nativeElement.getBoundingClientRect()[ne]}setTotalContentSize(ne){this._totalContentSize!==ne&&(this._totalContentSize=ne,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(ne){(function kt(le,we){return le.start==we.start&&le.end==we.end})(this._renderedRange,ne)||(this.appendOnly&&(ne={start:0,end:Math.max(this._renderedRange.end,ne.end)}),this._renderedRangeSubject.next(this._renderedRange=ne),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(ne,Pe="to-start"){ne=this.appendOnly&&"to-start"===Pe?0:ne;const de="horizontal"==this.orientation,L=de?"X":"Y";let ue=`translate${L}(${Number((de&&this.dir&&"rtl"==this.dir.value?-1:1)*ne)}px)`;this._renderedContentOffset=ne,"to-end"===Pe&&(ue+=` translate${L}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=ue&&(this._renderedContentTransform=ue,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(ne,Pe="auto"){const pt={behavior:Pe};"horizontal"===this.orientation?pt.start=ne:pt.top=ne,this.scrollable.scrollTo(pt)}scrollToIndex(ne,Pe="auto"){this._scrollStrategy.scrollToIndex(ne,Pe)}measureScrollOffset(ne){let Pe;return Pe=this.scrollable==this?pt=>super.measureScrollOffset(pt):pt=>this.scrollable.measureScrollOffset(pt),Math.max(0,Pe(ne??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(ne){let Pe;const L="rtl"==this.dir?.value;Pe="start"==ne?L?"right":"left":"end"==ne?L?"left":"right":ne||("horizontal"===this.orientation?"left":"top");const se=this.scrollable.measureBoundingClientRectWithScrollOffset(Pe);return this.elementRef.nativeElement.getBoundingClientRect()[Pe]-se}measureRenderedContentSize(){const ne=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?ne.offsetWidth:ne.offsetHeight}measureRangeSize(ne){return this._forOf?this._forOf.measureRangeSize(ne,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(ne){ne&&this._runAfterChangeDetection.push(ne),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const ne=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const Pe of ne)Pe()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return le.\u0275fac=function(ne){return new(ne||le)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(a.R0b),a.Y36(St,8),a.Y36(at.Is,8),a.Y36(vt),a.Y36(je),a.Y36(ze,8))},le.\u0275cmp=a.Xpm({type:le,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(ne,Pe){if(1&ne&&a.Gf(ft,7),2&ne){let pt;a.iGM(pt=a.CRH())&&(Pe._contentWrapper=pt.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(ne,Pe){2&ne&&a.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===Pe.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Pe.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[a._Bn([{provide:We,useFactory:(we,ne)=>we||ne,deps:[[new a.FiY,new a.tBr(ze)],le]}]),a.qOj,a.jDz],ngContentSelectors:It,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(ne,Pe){1&ne&&(a.F$t(),a.TgZ(0,"div",0,1),a.Hsn(2),a.qZA(),a._UZ(3,"div",2)),2&ne&&(a.xp6(3),a.Udp("width",Pe._totalContentWidth)("height",Pe._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),le})(),qe=(()=>{class le{}return le.\u0275fac=function(ne){return new(ne||le)},le.\u0275mod=a.oAB({type:le}),le.\u0275inj=a.cJS({}),le})(),mt=(()=>{class le{}return le.\u0275fac=function(ne){return new(ne||le)},le.\u0275mod=a.oAB({type:le}),le.\u0275inj=a.cJS({imports:[at.vT,qe,Le,at.vT,qe]}),le})()},6895:(_t,De,f)=>{"use strict";f.d(De,{Do:()=>tt,ED:()=>Kn,EM:()=>nr,HT:()=>W,JF:()=>Xr,JJ:()=>Rr,K0:()=>G,Mx:()=>ei,NF:()=>er,O5:()=>Qi,OU:()=>Kr,Ov:()=>Vi,PC:()=>Bi,RF:()=>qi,S$:()=>Re,V_:()=>Z,Ye:()=>Ge,b0:()=>rt,bD:()=>Lr,ez:()=>es,mk:()=>nn,n9:()=>Ni,q:()=>E,sg:()=>ci,tP:()=>zi,uU:()=>Fn,w_:()=>Q});var o=f(4650);let a=null;function E(){return a}function W(g){a||(a=g)}class Q{}const G=new o.OlP("DocumentToken");let re=(()=>{class g{historyGo(D){throw new Error("Not implemented")}}return g.\u0275fac=function(D){return new(D||g)},g.\u0275prov=o.Yz7({token:g,factory:function(){return function K(){return(0,o.LFG)(ee)}()},providedIn:"platform"}),g})();const Z=new o.OlP("Location Initialized");let ee=(()=>{class g extends re{constructor(D){super(),this._doc=D,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return E().getBaseHref(this._doc)}onPopState(D){const H=E().getGlobalEventTarget(this._doc,"window");return H.addEventListener("popstate",D,!1),()=>H.removeEventListener("popstate",D)}onHashChange(D){const H=E().getGlobalEventTarget(this._doc,"window");return H.addEventListener("hashchange",D,!1),()=>H.removeEventListener("hashchange",D)}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(D){this._location.pathname=D}pushState(D,H,ge){he()?this._history.pushState(D,H,ge):this._location.hash=ge}replaceState(D,H,ge){he()?this._history.replaceState(D,H,ge):this._location.hash=ge}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}}return g.\u0275fac=function(D){return new(D||g)(o.LFG(G))},g.\u0275prov=o.Yz7({token:g,factory:function(){return function te(){return new ee((0,o.LFG)(G))}()},providedIn:"platform"}),g})();function he(){return!!window.history.pushState}function ke(g,O){if(0==g.length)return O;if(0==O.length)return g;let D=0;return g.endsWith("/")&&D++,O.startsWith("/")&&D++,2==D?g+O.substring(1):1==D?g+O:g+"/"+O}function xe(g){const O=g.match(/#|\?|$/),D=O&&O.index||g.length;return g.slice(0,D-("/"===g[D-1]?1:0))+g.slice(D)}function Se(g){return g&&"?"!==g[0]?"?"+g:g}let Re=(()=>{class g{historyGo(D){throw new Error("Not implemented")}}return g.\u0275fac=function(D){return new(D||g)},g.\u0275prov=o.Yz7({token:g,factory:function(){return(0,o.f3M)(rt)},providedIn:"root"}),g})();const Me=new o.OlP("appBaseHref");let rt=(()=>{class g extends Re{constructor(D,H){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=H??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return ke(this._baseHref,D)}path(D=!1){const H=this._platformLocation.pathname+Se(this._platformLocation.search),ge=this._platformLocation.hash;return ge&&D?`${H}${ge}`:H}pushState(D,H,ge,Je){const gt=this.prepareExternalUrl(ge+Se(Je));this._platformLocation.pushState(D,H,gt)}replaceState(D,H,ge,Je){const gt=this.prepareExternalUrl(ge+Se(Je));this._platformLocation.replaceState(D,H,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return g.\u0275fac=function(D){return new(D||g)(o.LFG(re),o.LFG(Me,8))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),tt=(()=>{class g extends Re{constructor(D,H){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=H&&(this._baseHref=H)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let H=this._platformLocation.hash;return null==H&&(H="#"),H.length>0?H.substring(1):H}prepareExternalUrl(D){const H=ke(this._baseHref,D);return H.length>0?"#"+H:H}pushState(D,H,ge,Je){let gt=this.prepareExternalUrl(ge+Se(Je));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.pushState(D,H,gt)}replaceState(D,H,ge,Je){let gt=this.prepareExternalUrl(ge+Se(Je));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.replaceState(D,H,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}}return g.\u0275fac=function(D){return new(D||g)(o.LFG(re),o.LFG(Me,8))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})(),Ge=(()=>{class g{constructor(D){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const H=this._locationStrategy.getBaseHref();this._basePath=function U(g){if(new RegExp("^(https?:)?//").test(g)){const[,D]=g.split(/\/\/[^\/]+/);return D}return g}(xe(F(H))),this._locationStrategy.onPopState(ge=>{this._subject.emit({url:this.path(!0),pop:!0,state:ge.state,type:ge.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,H=""){return this.path()==this.normalize(D+Se(H))}normalize(D){return g.stripTrailingSlash(function N(g,O){return g&&new RegExp(`^${g}([/;?#]|$)`).test(O)?O.substring(g.length):O}(this._basePath,F(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,H="",ge=null){this._locationStrategy.pushState(ge,"",D,H),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Se(H)),ge)}replaceState(D,H="",ge=null){this._locationStrategy.replaceState(ge,"",D,H),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Se(H)),ge)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(H=>{this._notifyUrlChangeListeners(H.url,H.state)})),()=>{const H=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(H,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",H){this._urlChangeListeners.forEach(ge=>ge(D,H))}subscribe(D,H,ge){return this._subject.subscribe({next:D,error:H,complete:ge})}}return g.normalizeQueryParams=Se,g.joinWithSlash=ke,g.stripTrailingSlash=xe,g.\u0275fac=function(D){return new(D||g)(o.LFG(Re))},g.\u0275prov=o.Yz7({token:g,factory:function(){return function fe(){return new Ge((0,o.LFG)(Re))}()},providedIn:"root"}),g})();function F(g){return g.replace(/\/index.html$/,"")}var Oe=(()=>((Oe=Oe||{})[Oe.Decimal=0]="Decimal",Oe[Oe.Percent=1]="Percent",Oe[Oe.Currency=2]="Currency",Oe[Oe.Scientific=3]="Scientific",Oe))(),at=(()=>((at=at||{})[at.Format=0]="Format",at[at.Standalone=1]="Standalone",at))(),ft=(()=>((ft=ft||{})[ft.Narrow=0]="Narrow",ft[ft.Abbreviated=1]="Abbreviated",ft[ft.Wide=2]="Wide",ft[ft.Short=3]="Short",ft))(),It=(()=>((It=It||{})[It.Short=0]="Short",It[It.Medium=1]="Medium",It[It.Long=2]="Long",It[It.Full=3]="Full",It))(),St=(()=>((St=St||{})[St.Decimal=0]="Decimal",St[St.Group=1]="Group",St[St.List=2]="List",St[St.PercentSign=3]="PercentSign",St[St.PlusSign=4]="PlusSign",St[St.MinusSign=5]="MinusSign",St[St.Exponential=6]="Exponential",St[St.SuperscriptingExponent=7]="SuperscriptingExponent",St[St.PerMille=8]="PerMille",St[St.Infinity=9]="Infinity",St[St.NaN=10]="NaN",St[St.TimeSeparator=11]="TimeSeparator",St[St.CurrencyDecimal=12]="CurrencyDecimal",St[St.CurrencyGroup=13]="CurrencyGroup",St))();function ze(g,O){return Pe((0,o.cg1)(g)[o.wAp.DateFormat],O)}function Qe(g,O){return Pe((0,o.cg1)(g)[o.wAp.TimeFormat],O)}function kt(g,O){return Pe((0,o.cg1)(g)[o.wAp.DateTimeFormat],O)}function ye(g,O){const D=(0,o.cg1)(g),H=D[o.wAp.NumberSymbols][O];if(typeof H>"u"){if(O===St.CurrencyDecimal)return D[o.wAp.NumberSymbols][St.Decimal];if(O===St.CurrencyGroup)return D[o.wAp.NumberSymbols][St.Group]}return H}function mt(g){if(!g[o.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[o.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Pe(g,O){for(let D=O;D>-1;D--)if(typeof g[D]<"u")return g[D];throw new Error("Locale data API: locale data undefined")}function pt(g){const[O,D]=g.split(":");return{hours:+O,minutes:+D}}const ue=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Be={},ht=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ct=(()=>((ct=ct||{})[ct.Short=0]="Short",ct[ct.ShortGMT=1]="ShortGMT",ct[ct.Long=2]="Long",ct[ct.Extended=3]="Extended",ct))(),Et=(()=>((Et=Et||{})[Et.FullYear=0]="FullYear",Et[Et.Month=1]="Month",Et[Et.Date=2]="Date",Et[Et.Hours=3]="Hours",Et[Et.Minutes=4]="Minutes",Et[Et.Seconds=5]="Seconds",Et[Et.FractionalSeconds=6]="FractionalSeconds",Et[Et.Day=7]="Day",Et))(),me=(()=>((me=me||{})[me.DayPeriods=0]="DayPeriods",me[me.Days=1]="Days",me[me.Months=2]="Months",me[me.Eras=3]="Eras",me))();function lt(g,O,D,H){let ge=function yn(g){if(Cn(g))return g;if("number"==typeof g&&!isNaN(g))return new Date(g);if("string"==typeof g){if(g=g.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(g)){const[ge,Je=1,gt=1]=g.split("-").map(Gt=>+Gt);return j(ge,Je-1,gt)}const D=parseFloat(g);if(!isNaN(g-D))return new Date(D);let H;if(H=g.match(ue))return function fi(g){const O=new Date(0);let D=0,H=0;const ge=g[8]?O.setUTCFullYear:O.setFullYear,Je=g[8]?O.setUTCHours:O.setHours;g[9]&&(D=Number(g[9]+g[10]),H=Number(g[9]+g[11])),ge.call(O,Number(g[1]),Number(g[2])-1,Number(g[3]));const gt=Number(g[4]||0)-D,Gt=Number(g[5]||0)-H,Tn=Number(g[6]||0),bn=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return Je.call(O,gt,Gt,Tn,bn),O}(H)}const O=new Date(g);if(!Cn(O))throw new Error(`Unable to convert "${g}" into a date`);return O}(g);O=ve(D,O)||O;let Gt,gt=[];for(;O;){if(Gt=ht.exec(O),!Gt){gt.push(O);break}{gt=gt.concat(Gt.slice(1));const An=gt.pop();if(!An)break;O=An}}let Tn=ge.getTimezoneOffset();H&&(Tn=Ot(H,Tn),ge=function xt(g,O,D){const H=D?-1:1,ge=g.getTimezoneOffset();return function Yt(g,O){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+O),g}(g,H*(Ot(O,ge)-ge))}(ge,H,!0));let bn="";return gt.forEach(An=>{const pn=function it(g){if(oe[g])return oe[g];let O;switch(g){case"G":case"GG":case"GGG":O=jt(me.Eras,ft.Abbreviated);break;case"GGGG":O=jt(me.Eras,ft.Wide);break;case"GGGGG":O=jt(me.Eras,ft.Narrow);break;case"y":O=wt(Et.FullYear,1,0,!1,!0);break;case"yy":O=wt(Et.FullYear,2,0,!0,!0);break;case"yyy":O=wt(Et.FullYear,3,0,!1,!0);break;case"yyyy":O=wt(Et.FullYear,4,0,!1,!0);break;case"Y":O=J(1);break;case"YY":O=J(2,!0);break;case"YYY":O=J(3);break;case"YYYY":O=J(4);break;case"M":case"L":O=wt(Et.Month,1,1);break;case"MM":case"LL":O=wt(Et.Month,2,1);break;case"MMM":O=jt(me.Months,ft.Abbreviated);break;case"MMMM":O=jt(me.Months,ft.Wide);break;case"MMMMM":O=jt(me.Months,ft.Narrow);break;case"LLL":O=jt(me.Months,ft.Abbreviated,at.Standalone);break;case"LLLL":O=jt(me.Months,ft.Wide,at.Standalone);break;case"LLLLL":O=jt(me.Months,ft.Narrow,at.Standalone);break;case"w":O=A(1);break;case"ww":O=A(2);break;case"W":O=A(1,!0);break;case"d":O=wt(Et.Date,1);break;case"dd":O=wt(Et.Date,2);break;case"c":case"cc":O=wt(Et.Day,1);break;case"ccc":O=jt(me.Days,ft.Abbreviated,at.Standalone);break;case"cccc":O=jt(me.Days,ft.Wide,at.Standalone);break;case"ccccc":O=jt(me.Days,ft.Narrow,at.Standalone);break;case"cccccc":O=jt(me.Days,ft.Short,at.Standalone);break;case"E":case"EE":case"EEE":O=jt(me.Days,ft.Abbreviated);break;case"EEEE":O=jt(me.Days,ft.Wide);break;case"EEEEE":O=jt(me.Days,ft.Narrow);break;case"EEEEEE":O=jt(me.Days,ft.Short);break;case"a":case"aa":case"aaa":O=jt(me.DayPeriods,ft.Abbreviated);break;case"aaaa":O=jt(me.DayPeriods,ft.Wide);break;case"aaaaa":O=jt(me.DayPeriods,ft.Narrow);break;case"b":case"bb":case"bbb":O=jt(me.DayPeriods,ft.Abbreviated,at.Standalone,!0);break;case"bbbb":O=jt(me.DayPeriods,ft.Wide,at.Standalone,!0);break;case"bbbbb":O=jt(me.DayPeriods,ft.Narrow,at.Standalone,!0);break;case"B":case"BB":case"BBB":O=jt(me.DayPeriods,ft.Abbreviated,at.Format,!0);break;case"BBBB":O=jt(me.DayPeriods,ft.Wide,at.Format,!0);break;case"BBBBB":O=jt(me.DayPeriods,ft.Narrow,at.Format,!0);break;case"h":O=wt(Et.Hours,1,-12);break;case"hh":O=wt(Et.Hours,2,-12);break;case"H":O=wt(Et.Hours,1);break;case"HH":O=wt(Et.Hours,2);break;case"m":O=wt(Et.Minutes,1);break;case"mm":O=wt(Et.Minutes,2);break;case"s":O=wt(Et.Seconds,1);break;case"ss":O=wt(Et.Seconds,2);break;case"S":O=wt(Et.FractionalSeconds,1);break;case"SS":O=wt(Et.FractionalSeconds,2);break;case"SSS":O=wt(Et.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":O=xn(ct.Short);break;case"ZZZZZ":O=xn(ct.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":O=xn(ct.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":O=xn(ct.Long);break;default:return null}return oe[g]=O,O}(An);bn+=pn?pn(ge,D,Tn):"''"===An?"'":An.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),bn}function j(g,O,D){const H=new Date(0);return H.setFullYear(g,O,D),H.setHours(0,0,0),H}function ve(g,O){const D=function Ze(g){return(0,o.cg1)(g)[o.wAp.LocaleId]}(g);if(Be[D]=Be[D]||{},Be[D][O])return Be[D][O];let H="";switch(O){case"shortDate":H=ze(g,It.Short);break;case"mediumDate":H=ze(g,It.Medium);break;case"longDate":H=ze(g,It.Long);break;case"fullDate":H=ze(g,It.Full);break;case"shortTime":H=Qe(g,It.Short);break;case"mediumTime":H=Qe(g,It.Medium);break;case"longTime":H=Qe(g,It.Long);break;case"fullTime":H=Qe(g,It.Full);break;case"short":const ge=ve(g,"shortTime"),Je=ve(g,"shortDate");H=pe(kt(g,It.Short),[ge,Je]);break;case"medium":const gt=ve(g,"mediumTime"),Gt=ve(g,"mediumDate");H=pe(kt(g,It.Medium),[gt,Gt]);break;case"long":const Tn=ve(g,"longTime"),bn=ve(g,"longDate");H=pe(kt(g,It.Long),[Tn,bn]);break;case"full":const An=ve(g,"fullTime"),pn=ve(g,"fullDate");H=pe(kt(g,It.Full),[An,pn])}return H&&(Be[D][O]=H),H}function pe(g,O){return O&&(g=g.replace(/\{([^}]+)}/g,function(D,H){return null!=O&&H in O?O[H]:D})),g}function Fe(g,O,D="-",H,ge){let Je="";(g<0||ge&&g<=0)&&(ge?g=1-g:(g=-g,Je=D));let gt=String(g);for(;gt.length0||Gt>-D)&&(Gt+=D),g===Et.Hours)0===Gt&&-12===D&&(Gt=12);else if(g===Et.FractionalSeconds)return function At(g,O){return Fe(g,3).substring(0,O)}(Gt,O);const Tn=ye(gt,St.MinusSign);return Fe(Gt,O,Tn,H,ge)}}function jt(g,O,D=at.Format,H=!1){return function(ge,Je){return function _n(g,O,D,H,ge,Je){switch(D){case me.Months:return function vt(g,O,D){const H=(0,o.cg1)(g),Je=Pe([H[o.wAp.MonthsFormat],H[o.wAp.MonthsStandalone]],O);return Pe(Je,D)}(O,ge,H)[g.getMonth()];case me.Days:return function ut(g,O,D){const H=(0,o.cg1)(g),Je=Pe([H[o.wAp.DaysFormat],H[o.wAp.DaysStandalone]],O);return Pe(Je,D)}(O,ge,H)[g.getDay()];case me.DayPeriods:const gt=g.getHours(),Gt=g.getMinutes();if(Je){const bn=function le(g){const O=(0,o.cg1)(g);return mt(O),(O[o.wAp.ExtraData][2]||[]).map(H=>"string"==typeof H?pt(H):[pt(H[0]),pt(H[1])])}(O),An=function we(g,O,D){const H=(0,o.cg1)(g);mt(H);const Je=Pe([H[o.wAp.ExtraData][0],H[o.wAp.ExtraData][1]],O)||[];return Pe(Je,D)||[]}(O,ge,H),pn=bn.findIndex(qn=>{if(Array.isArray(qn)){const[Sn,ii]=qn,Ui=gt>=Sn.hours&&Gt>=Sn.minutes,Si=gt0?Math.floor(ge/60):Math.ceil(ge/60);switch(g){case ct.Short:return(ge>=0?"+":"")+Fe(gt,2,Je)+Fe(Math.abs(ge%60),2,Je);case ct.ShortGMT:return"GMT"+(ge>=0?"+":"")+Fe(gt,1,Je);case ct.Long:return"GMT"+(ge>=0?"+":"")+Fe(gt,2,Je)+":"+Fe(Math.abs(ge%60),2,Je);case ct.Extended:return 0===H?"Z":(ge>=0?"+":"")+Fe(gt,2,Je)+":"+Fe(Math.abs(ge%60),2,Je);default:throw new Error(`Unknown zone width "${g}"`)}}}function w(g){return j(g.getFullYear(),g.getMonth(),g.getDate()+(4-g.getDay()))}function A(g,O=!1){return function(D,H){let ge;if(O){const Je=new Date(D.getFullYear(),D.getMonth(),1).getDay()-1,gt=D.getDate();ge=1+Math.floor((gt+Je)/7)}else{const Je=w(D),gt=function I(g){const O=j(g,0,1).getDay();return j(g,0,1+(O<=4?4:11)-O)}(Je.getFullYear()),Gt=Je.getTime()-gt.getTime();ge=1+Math.round(Gt/6048e5)}return Fe(ge,g,ye(H,St.MinusSign))}}function J(g,O=!1){return function(D,H){return Fe(w(D).getFullYear(),g,ye(H,St.MinusSign),O)}}const oe={};function Ot(g,O){g=g.replace(/:/g,"");const D=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(D)?O:D}function Cn(g){return g instanceof Date&&!isNaN(g.valueOf())}const ln=/^(\d+)?\.((\d+)(-(\d+))?)?$/,q="0";function tn(g){const O=parseInt(g);if(isNaN(O))throw new Error("Invalid integer literal when parsing "+g);return O}function ei(g,O){O=encodeURIComponent(O);for(const D of g.split(";")){const H=D.indexOf("="),[ge,Je]=-1==H?[D,""]:[D.slice(0,H),D.slice(H+1)];if(ge.trim()===O)return decodeURIComponent(Je)}return null}const wn=/\s+/,Lt=[];let nn=(()=>{class g{constructor(D,H,ge,Je){this._iterableDiffers=D,this._keyValueDiffers=H,this._ngEl=ge,this._renderer=Je,this.initialClasses=Lt,this.stateMap=new Map}set klass(D){this.initialClasses=null!=D?D.trim().split(wn):Lt}set ngClass(D){this.rawClass="string"==typeof D?D.trim().split(wn):D}ngDoCheck(){for(const H of this.initialClasses)this._updateState(H,!0);const D=this.rawClass;if(Array.isArray(D)||D instanceof Set)for(const H of D)this._updateState(H,!0);else if(null!=D)for(const H of Object.keys(D))this._updateState(H,Boolean(D[H]));this._applyStateDiff()}_updateState(D,H){const ge=this.stateMap.get(D);void 0!==ge?(ge.enabled!==H&&(ge.changed=!0,ge.enabled=H),ge.touched=!0):this.stateMap.set(D,{enabled:H,changed:!0,touched:!0})}_applyStateDiff(){for(const D of this.stateMap){const H=D[0],ge=D[1];ge.changed?(this._toggleClass(H,ge.enabled),ge.changed=!1):ge.touched||(ge.enabled&&this._toggleClass(H,!1),this.stateMap.delete(H)),ge.touched=!1}}_toggleClass(D,H){(D=D.trim()).length>0&&D.split(wn).forEach(ge=>{H?this._renderer.addClass(this._ngEl.nativeElement,ge):this._renderer.removeClass(this._ngEl.nativeElement,ge)})}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),g})();class Nn{constructor(O,D,H,ge){this.$implicit=O,this.ngForOf=D,this.index=H,this.count=ge}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 ci=(()=>{class g{set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}constructor(D,H,ge){this._viewContainer=D,this._template=H,this._differs=ge,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const H=this._viewContainer;D.forEachOperation((ge,Je,gt)=>{if(null==ge.previousIndex)H.createEmbeddedView(this._template,new Nn(ge.item,this._ngForOf,-1,-1),null===gt?void 0:gt);else if(null==gt)H.remove(null===Je?void 0:Je);else if(null!==Je){const Gt=H.get(Je);H.move(Gt,gt),mn(Gt,ge)}});for(let ge=0,Je=H.length;ge{mn(H.get(ge.currentIndex),ge)})}static ngTemplateContextGuard(D,H){return!0}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function mn(g,O){g.context.$implicit=O.item}let Qi=(()=>{class g{constructor(D,H){this._viewContainer=D,this._context=new an,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=H}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){br("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){br("ngIfElse",D),this._elseTemplateRef=D,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(D,H){return!0}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.s_b),o.Y36(o.Rgc))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),g})();class an{constructor(){this.$implicit=null,this.ngIf=null}}function br(g,O){if(O&&!O.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,o.AaK)(O)}'.`)}class ji{constructor(O,D){this._viewContainerRef=O,this._templateRef=D,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(O){O&&!this._created?this.create():!O&&this._created&&this.destroy()}}let qi=(()=>{class g{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(D){this._ngSwitch=D,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(D){this._defaultViews.push(D)}_matchCase(D){const H=D==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||H,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),H}_updateDefaultCases(D){if(this._defaultViews.length>0&&D!==this._defaultUsed){this._defaultUsed=D;for(const H of this._defaultViews)H.enforceState(D)}}}return g.\u0275fac=function(D){return new(D||g)},g.\u0275dir=o.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),g})(),Ni=(()=>{class g{constructor(D,H,ge){this.ngSwitch=ge,ge._addCase(),this._view=new ji(D,H)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(qi,9))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),g})(),Kn=(()=>{class g{constructor(D,H,ge){ge._addDefault(new ji(D,H))}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(qi,9))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0}),g})(),Bi=(()=>{class g{constructor(D,H,ge){this._ngEl=D,this._differs=H,this._renderer=ge,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,H){const[ge,Je]=D.split("."),gt=-1===ge.indexOf("-")?void 0:o.JOm.DashCase;null!=H?this._renderer.setStyle(this._ngEl.nativeElement,ge,Je?`${H}${Je}`:H,gt):this._renderer.removeStyle(this._ngEl.nativeElement,ge,gt)}_applyChanges(D){D.forEachRemovedItem(H=>this._setStyle(H.key,null)),D.forEachAddedItem(H=>this._setStyle(H.key,H.currentValue)),D.forEachChangedItem(H=>this._setStyle(H.key,H.currentValue))}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.SBq),o.Y36(o.aQg),o.Y36(o.Qsj))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),g})(),zi=(()=>{class g{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(D.ngTemplateOutlet||D.ngTemplateOutletInjector){const H=this._viewContainerRef;if(this._viewRef&&H.remove(H.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ge,ngTemplateOutletContext:Je,ngTemplateOutletInjector:gt}=this;this._viewRef=H.createEmbeddedView(ge,Je,gt?{injector:gt}:void 0)}else this._viewRef=null}else this._viewRef&&D.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.s_b))},g.\u0275dir=o.lG2({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]}),g})();function mi(g,O){return new o.vHH(2100,!1)}class Er{createSubscription(O,D){return O.subscribe({next:D,error:H=>{throw H}})}dispose(O){O.unsubscribe()}}class _o{createSubscription(O,D){return O.then(D,H=>{throw H})}dispose(O){}}const Wr=new _o,Ei=new Er;let Vi=(()=>{class g{constructor(D){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=D}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(D){return this._obj?D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue:(D&&this._subscribe(D),this._latestValue)}_subscribe(D){this._obj=D,this._strategy=this._selectStrategy(D),this._subscription=this._strategy.createSubscription(D,H=>this._updateLatestValue(D,H))}_selectStrategy(D){if((0,o.QGY)(D))return Wr;if((0,o.F4k)(D))return Ei;throw mi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(D,H){D===this._obj&&(this._latestValue=H,this._ref.markForCheck())}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.sBO,16))},g.\u0275pipe=o.Yjl({name:"async",type:g,pure:!1,standalone:!0}),g})();const ki=new o.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Dr=new o.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Fn=(()=>{class g{constructor(D,H,ge){this.locale=D,this.defaultTimezone=H,this.defaultOptions=ge}transform(D,H,ge,Je){if(null==D||""===D||D!=D)return null;try{return lt(D,H??this.defaultOptions?.dateFormat??"mediumDate",Je||this.locale,ge??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(gt){throw mi()}}}return g.\u0275fac=function(D){return new(D||g)(o.Y36(o.soG,16),o.Y36(ki,24),o.Y36(Dr,24))},g.\u0275pipe=o.Yjl({name:"date",type:g,pure:!0,standalone:!0}),g})(),Rr=(()=>{class g{constructor(D){this._locale=D}transform(D,H,ge){if(!function Fr(g){return!(null==g||""===g||g!=g)}(D))return null;ge=ge||this._locale;try{return function R(g,O,D){return function vn(g,O,D,H,ge,Je,gt=!1){let Gt="",Tn=!1;if(isFinite(g)){let bn=function Ye(g){let H,ge,Je,gt,Gt,O=Math.abs(g)+"",D=0;for((ge=O.indexOf("."))>-1&&(O=O.replace(".","")),(Je=O.search(/e/i))>0?(ge<0&&(ge=Je),ge+=+O.slice(Je+1),O=O.substring(0,Je)):ge<0&&(ge=O.length),Je=0;O.charAt(Je)===q;Je++);if(Je===(Gt=O.length))H=[0],ge=1;else{for(Gt--;O.charAt(Gt)===q;)Gt--;for(ge-=Je,H=[],gt=0;Je<=Gt;Je++,gt++)H[gt]=Number(O.charAt(Je))}return ge>22&&(H=H.splice(0,21),D=ge-1,ge=1),{digits:H,exponent:D,integerLen:ge}}(g);gt&&(bn=function X(g){if(0===g.digits[0])return g;const O=g.digits.length-g.integerLen;return g.exponent?g.exponent+=2:(0===O?g.digits.push(0,0):1===O&&g.digits.push(0),g.integerLen+=2),g}(bn));let An=O.minInt,pn=O.minFrac,qn=O.maxFrac;if(Je){const xi=Je.match(ln);if(null===xi)throw new Error(`${Je} is not a valid digit info`);const so=xi[1],Ao=xi[3],ao=xi[5];null!=so&&(An=tn(so)),null!=Ao&&(pn=tn(Ao)),null!=ao?qn=tn(ao):null!=Ao&&pn>qn&&(qn=pn)}!function Pt(g,O,D){if(O>D)throw new Error(`The minimum number of digits after fraction (${O}) is higher than the maximum (${D}).`);let H=g.digits,ge=H.length-g.integerLen;const Je=Math.min(Math.max(O,ge),D);let gt=Je+g.integerLen,Gt=H[gt];if(gt>0){H.splice(Math.max(g.integerLen,gt));for(let pn=gt;pn=5)if(gt-1<0){for(let pn=0;pn>gt;pn--)H.unshift(0),g.integerLen++;H.unshift(1),g.integerLen++}else H[gt-1]++;for(;ge=bn?ii.pop():Tn=!1),qn>=10?1:0},0);An&&(H.unshift(An),g.integerLen++)}(bn,pn,qn);let Sn=bn.digits,ii=bn.integerLen;const Ui=bn.exponent;let Si=[];for(Tn=Sn.every(xi=>!xi);ii0?Si=Sn.splice(ii,Sn.length):(Si=Sn,Sn=[0]);const Hi=[];for(Sn.length>=O.lgSize&&Hi.unshift(Sn.splice(-O.lgSize,Sn.length).join(""));Sn.length>O.gSize;)Hi.unshift(Sn.splice(-O.gSize,Sn.length).join(""));Sn.length&&Hi.unshift(Sn.join("")),Gt=Hi.join(ye(D,H)),Si.length&&(Gt+=ye(D,ge)+Si.join("")),Ui&&(Gt+=ye(D,St.Exponential)+"+"+Ui)}else Gt=ye(D,St.Infinity);return Gt=g<0&&!Tn?O.negPre+Gt+O.negSuf:O.posPre+Gt+O.posSuf,Gt}(g,function P(g,O="-"){const D={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},H=g.split(";"),ge=H[0],Je=H[1],gt=-1!==ge.indexOf(".")?ge.split("."):[ge.substring(0,ge.lastIndexOf(q)+1),ge.substring(ge.lastIndexOf(q)+1)],Gt=gt[0],Tn=gt[1]||"";D.posPre=Gt.substring(0,Gt.indexOf("#"));for(let An=0;An{class g{transform(D,H,ge){if(null==D)return null;if(!this.supports(D))throw mi();return D.slice(H,ge)}supports(D){return"string"==typeof D||Array.isArray(D)}}return g.\u0275fac=function(D){return new(D||g)},g.\u0275pipe=o.Yjl({name:"slice",type:g,pure:!1,standalone:!0}),g})(),es=(()=>{class g{}return g.\u0275fac=function(D){return new(D||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({}),g})();const Lr="browser";function er(g){return g===Lr}let nr=(()=>{class g{}return g.\u0275prov=(0,o.Yz7)({token:g,providedIn:"root",factory:()=>new Bo((0,o.LFG)(G),window)}),g})();class Bo{constructor(O,D){this.document=O,this.window=D,this.offset=()=>[0,0]}setOffset(O){this.offset=Array.isArray(O)?()=>O:O}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(O){this.supportsScrolling()&&this.window.scrollTo(O[0],O[1])}scrollToAnchor(O){if(!this.supportsScrolling())return;const D=function Br(g,O){const D=g.getElementById(O)||g.getElementsByName(O)[0];if(D)return D;if("function"==typeof g.createTreeWalker&&g.body&&(g.body.createShadowRoot||g.body.attachShadow)){const H=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let ge=H.currentNode;for(;ge;){const Je=ge.shadowRoot;if(Je){const gt=Je.getElementById(O)||Je.querySelector(`[name="${O}"]`);if(gt)return gt}ge=H.nextNode()}}return null}(this.document,O);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(O){if(this.supportScrollRestoration()){const D=this.window.history;D&&D.scrollRestoration&&(D.scrollRestoration=O)}}scrollToElement(O){const D=O.getBoundingClientRect(),H=D.left+this.window.pageXOffset,ge=D.top+this.window.pageYOffset,Je=this.offset();this.window.scrollTo(H-Je[0],ge-Je[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const O=Vo(this.window.history)||Vo(Object.getPrototypeOf(this.window.history));return!(!O||!O.writable&&!O.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Vo(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class Xr{}},529:(_t,De,f)=>{"use strict";f.d(De,{JF:()=>xn,TP:()=>We,dt:()=>Ue,eN:()=>Ze});var o=f(6895),a=f(4650),E=f(9646),W=f(9751),Q=f(4351),G=f(9300),re=f(4004);class K{}class Z{}class ee{constructor(w){this.normalizedNames=new Map,this.lazyUpdate=null,w?this.lazyInit="string"==typeof w?()=>{this.headers=new Map,w.split("\n").forEach(A=>{const J=A.indexOf(":");if(J>0){const oe=A.slice(0,J),it=oe.toLowerCase(),Ot=A.slice(J+1).trim();this.maybeSetNormalizedName(oe,it),this.headers.has(it)?this.headers.get(it).push(Ot):this.headers.set(it,[Ot])}})}:()=>{this.headers=new Map,Object.keys(w).forEach(A=>{let J=w[A];const oe=A.toLowerCase();"string"==typeof J&&(J=[J]),J.length>0&&(this.headers.set(oe,J),this.maybeSetNormalizedName(A,oe))})}:this.headers=new Map}has(w){return this.init(),this.headers.has(w.toLowerCase())}get(w){this.init();const A=this.headers.get(w.toLowerCase());return A&&A.length>0?A[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(w){return this.init(),this.headers.get(w.toLowerCase())||null}append(w,A){return this.clone({name:w,value:A,op:"a"})}set(w,A){return this.clone({name:w,value:A,op:"s"})}delete(w,A){return this.clone({name:w,value:A,op:"d"})}maybeSetNormalizedName(w,A){this.normalizedNames.has(A)||this.normalizedNames.set(A,w)}init(){this.lazyInit&&(this.lazyInit instanceof ee?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(w=>this.applyUpdate(w)),this.lazyUpdate=null))}copyFrom(w){w.init(),Array.from(w.headers.keys()).forEach(A=>{this.headers.set(A,w.headers.get(A)),this.normalizedNames.set(A,w.normalizedNames.get(A))})}clone(w){const A=new ee;return A.lazyInit=this.lazyInit&&this.lazyInit instanceof ee?this.lazyInit:this,A.lazyUpdate=(this.lazyUpdate||[]).concat([w]),A}applyUpdate(w){const A=w.name.toLowerCase();switch(w.op){case"a":case"s":let J=w.value;if("string"==typeof J&&(J=[J]),0===J.length)return;this.maybeSetNormalizedName(w.name,A);const oe=("a"===w.op?this.headers.get(A):void 0)||[];oe.push(...J),this.headers.set(A,oe);break;case"d":const it=w.value;if(it){let Ot=this.headers.get(A);if(!Ot)return;Ot=Ot.filter(Yt=>-1===it.indexOf(Yt)),0===Ot.length?(this.headers.delete(A),this.normalizedNames.delete(A)):this.headers.set(A,Ot)}else this.headers.delete(A),this.normalizedNames.delete(A)}}forEach(w){this.init(),Array.from(this.normalizedNames.keys()).forEach(A=>w(this.normalizedNames.get(A),this.headers.get(A)))}}class te{encodeKey(w){return Re(w)}encodeValue(w){return Re(w)}decodeKey(w){return decodeURIComponent(w)}decodeValue(w){return decodeURIComponent(w)}}const xe=/%(\d[a-f0-9])/gi,Se={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Re(I){return encodeURIComponent(I).replace(xe,(w,A)=>Se[A]??w)}function Me(I){return`${I}`}class rt{constructor(w={}){if(this.updates=null,this.cloneFrom=null,this.encoder=w.encoder||new te,w.fromString){if(w.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ke(I,w){const A=new Map;return I.length>0&&I.replace(/^\?/,"").split("&").forEach(oe=>{const it=oe.indexOf("="),[Ot,Yt]=-1==it?[w.decodeKey(oe),""]:[w.decodeKey(oe.slice(0,it)),w.decodeValue(oe.slice(it+1))],xt=A.get(Ot)||[];xt.push(Yt),A.set(Ot,xt)}),A}(w.fromString,this.encoder)}else w.fromObject?(this.map=new Map,Object.keys(w.fromObject).forEach(A=>{const J=w.fromObject[A],oe=Array.isArray(J)?J.map(Me):[Me(J)];this.map.set(A,oe)})):this.map=null}has(w){return this.init(),this.map.has(w)}get(w){this.init();const A=this.map.get(w);return A?A[0]:null}getAll(w){return this.init(),this.map.get(w)||null}keys(){return this.init(),Array.from(this.map.keys())}append(w,A){return this.clone({param:w,value:A,op:"a"})}appendAll(w){const A=[];return Object.keys(w).forEach(J=>{const oe=w[J];Array.isArray(oe)?oe.forEach(it=>{A.push({param:J,value:it,op:"a"})}):A.push({param:J,value:oe,op:"a"})}),this.clone(A)}set(w,A){return this.clone({param:w,value:A,op:"s"})}delete(w,A){return this.clone({param:w,value:A,op:"d"})}toString(){return this.init(),this.keys().map(w=>{const A=this.encoder.encodeKey(w);return this.map.get(w).map(J=>A+"="+this.encoder.encodeValue(J)).join("&")}).filter(w=>""!==w).join("&")}clone(w){const A=new rt({encoder:this.encoder});return A.cloneFrom=this.cloneFrom||this,A.updates=(this.updates||[]).concat(w),A}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(w=>this.map.set(w,this.cloneFrom.map.get(w))),this.updates.forEach(w=>{switch(w.op){case"a":case"s":const A=("a"===w.op?this.map.get(w.param):void 0)||[];A.push(Me(w.value)),this.map.set(w.param,A);break;case"d":if(void 0===w.value){this.map.delete(w.param);break}{let J=this.map.get(w.param)||[];const oe=J.indexOf(Me(w.value));-1!==oe&&J.splice(oe,1),J.length>0?this.map.set(w.param,J):this.map.delete(w.param)}}}),this.cloneFrom=this.updates=null)}}class Ge{constructor(){this.map=new Map}set(w,A){return this.map.set(w,A),this}get(w){return this.map.has(w)||this.map.set(w,w.defaultValue()),this.map.get(w)}delete(w){return this.map.delete(w),this}has(w){return this.map.has(w)}keys(){return this.map.keys()}}function N(I){return typeof ArrayBuffer<"u"&&I instanceof ArrayBuffer}function F(I){return typeof Blob<"u"&&I instanceof Blob}function U(I){return typeof FormData<"u"&&I instanceof FormData}class Oe{constructor(w,A,J,oe){let it;if(this.url=A,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=w.toUpperCase(),function fe(I){switch(I){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||oe?(this.body=void 0!==J?J:null,it=oe):it=J,it&&(this.reportProgress=!!it.reportProgress,this.withCredentials=!!it.withCredentials,it.responseType&&(this.responseType=it.responseType),it.headers&&(this.headers=it.headers),it.context&&(this.context=it.context),it.params&&(this.params=it.params)),this.headers||(this.headers=new ee),this.context||(this.context=new Ge),this.params){const Ot=this.params.toString();if(0===Ot.length)this.urlWithParams=A;else{const Yt=A.indexOf("?");this.urlWithParams=A+(-1===Yt?"?":YtCn.set(ln,w.setHeaders[ln]),xt)),w.setParams&&(yn=Object.keys(w.setParams).reduce((Cn,ln)=>Cn.set(ln,w.setParams[ln]),yn)),new Oe(A,J,it,{params:yn,headers:xt,context:fi,reportProgress:Yt,responseType:oe,withCredentials:Ot})}}var Ue=(()=>((Ue=Ue||{})[Ue.Sent=0]="Sent",Ue[Ue.UploadProgress=1]="UploadProgress",Ue[Ue.ResponseHeader=2]="ResponseHeader",Ue[Ue.DownloadProgress=3]="DownloadProgress",Ue[Ue.Response=4]="Response",Ue[Ue.User=5]="User",Ue))();class at{constructor(w,A=200,J="OK"){this.headers=w.headers||new ee,this.status=void 0!==w.status?w.status:A,this.statusText=w.statusText||J,this.url=w.url||null,this.ok=this.status>=200&&this.status<300}}class ft extends at{constructor(w={}){super(w),this.type=Ue.ResponseHeader}clone(w={}){return new ft({headers:w.headers||this.headers,status:void 0!==w.status?w.status:this.status,statusText:w.statusText||this.statusText,url:w.url||this.url||void 0})}}class It extends at{constructor(w={}){super(w),this.type=Ue.Response,this.body=void 0!==w.body?w.body:null}clone(w={}){return new It({body:void 0!==w.body?w.body:this.body,headers:w.headers||this.headers,status:void 0!==w.status?w.status:this.status,statusText:w.statusText||this.statusText,url:w.url||this.url||void 0})}}class St extends at{constructor(w){super(w,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${w.url||"(unknown url)"}`:`Http failure response for ${w.url||"(unknown url)"}: ${w.status} ${w.statusText}`,this.error=w.error||null}}function He(I,w){return{body:w,headers:I.headers,context:I.context,observe:I.observe,params:I.params,reportProgress:I.reportProgress,responseType:I.responseType,withCredentials:I.withCredentials}}let Ze=(()=>{class I{constructor(A){this.handler=A}request(A,J,oe={}){let it;if(A instanceof Oe)it=A;else{let xt,yn;xt=oe.headers instanceof ee?oe.headers:new ee(oe.headers),oe.params&&(yn=oe.params instanceof rt?oe.params:new rt({fromObject:oe.params})),it=new Oe(A,J,void 0!==oe.body?oe.body:null,{headers:xt,context:oe.context,params:yn,reportProgress:oe.reportProgress,responseType:oe.responseType||"json",withCredentials:oe.withCredentials})}const Ot=(0,E.of)(it).pipe((0,Q.b)(xt=>this.handler.handle(xt)));if(A instanceof Oe||"events"===oe.observe)return Ot;const Yt=Ot.pipe((0,G.h)(xt=>xt instanceof It));switch(oe.observe||"body"){case"body":switch(it.responseType){case"arraybuffer":return Yt.pipe((0,re.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xt.body}));case"blob":return Yt.pipe((0,re.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof Blob))throw new Error("Response is not a Blob.");return xt.body}));case"text":return Yt.pipe((0,re.U)(xt=>{if(null!==xt.body&&"string"!=typeof xt.body)throw new Error("Response is not a string.");return xt.body}));default:return Yt.pipe((0,re.U)(xt=>xt.body))}case"response":return Yt;default:throw new Error(`Unreachable: unhandled observe type ${oe.observe}}`)}}delete(A,J={}){return this.request("DELETE",A,J)}get(A,J={}){return this.request("GET",A,J)}head(A,J={}){return this.request("HEAD",A,J)}jsonp(A,J){return this.request("JSONP",A,{params:(new rt).append(J,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(A,J={}){return this.request("OPTIONS",A,J)}patch(A,J,oe={}){return this.request("PATCH",A,He(oe,J))}post(A,J,oe={}){return this.request("POST",A,He(oe,J))}put(A,J,oe={}){return this.request("PUT",A,He(oe,J))}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(K))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac}),I})();function nt(I,w){return w(I)}function ut(I,w){return(A,J)=>w.intercept(A,{handle:oe=>I(oe,J)})}const We=new a.OlP("HTTP_INTERCEPTORS"),ot=new a.OlP("HTTP_INTERCEPTOR_FNS");function je(){let I=null;return(w,A)=>(null===I&&(I=((0,a.f3M)(We,{optional:!0})??[]).reduceRight(ut,nt)),I(w,A))}let ze=(()=>{class I extends K{constructor(A,J){super(),this.backend=A,this.injector=J,this.chain=null}handle(A){if(null===this.chain){const J=Array.from(new Set(this.injector.get(ot)));this.chain=J.reduceRight((oe,it)=>function vt(I,w,A){return(J,oe)=>A.runInContext(()=>w(J,it=>I(it,oe)))}(oe,it,this.injector),nt)}return this.chain(A,J=>this.backend.handle(J))}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(Z),a.LFG(a.lqb))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac}),I})();const we=/^\)\]\}',?\n/;let Pe=(()=>{class I{constructor(A){this.xhrFactory=A}handle(A){if("JSONP"===A.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new W.y(J=>{const oe=this.xhrFactory.build();if(oe.open(A.method,A.urlWithParams),A.withCredentials&&(oe.withCredentials=!0),A.headers.forEach((be,Ee)=>oe.setRequestHeader(be,Ee.join(","))),A.headers.has("Accept")||oe.setRequestHeader("Accept","application/json, text/plain, */*"),!A.headers.has("Content-Type")){const be=A.detectContentTypeHeader();null!==be&&oe.setRequestHeader("Content-Type",be)}if(A.responseType){const be=A.responseType.toLowerCase();oe.responseType="json"!==be?be:"text"}const it=A.serializeBody();let Ot=null;const Yt=()=>{if(null!==Ot)return Ot;const be=oe.statusText||"OK",Ee=new ee(oe.getAllResponseHeaders()),q=function ne(I){return"responseURL"in I&&I.responseURL?I.responseURL:/^X-Request-URL:/m.test(I.getAllResponseHeaders())?I.getResponseHeader("X-Request-URL"):null}(oe)||A.url;return Ot=new ft({headers:Ee,status:oe.status,statusText:be,url:q}),Ot},xt=()=>{let{headers:be,status:Ee,statusText:q,url:Te}=Yt(),dt=null;204!==Ee&&(dt=typeof oe.response>"u"?oe.responseText:oe.response),0===Ee&&(Ee=dt?200:0);let Nt=Ee>=200&&Ee<300;if("json"===A.responseType&&"string"==typeof dt){const qt=dt;dt=dt.replace(we,"");try{dt=""!==dt?JSON.parse(dt):null}catch(Rn){dt=qt,Nt&&(Nt=!1,dt={error:Rn,text:dt})}}Nt?(J.next(new It({body:dt,headers:be,status:Ee,statusText:q,url:Te||void 0})),J.complete()):J.error(new St({error:dt,headers:be,status:Ee,statusText:q,url:Te||void 0}))},yn=be=>{const{url:Ee}=Yt(),q=new St({error:be,status:oe.status||0,statusText:oe.statusText||"Unknown Error",url:Ee||void 0});J.error(q)};let fi=!1;const Cn=be=>{fi||(J.next(Yt()),fi=!0);let Ee={type:Ue.DownloadProgress,loaded:be.loaded};be.lengthComputable&&(Ee.total=be.total),"text"===A.responseType&&oe.responseText&&(Ee.partialText=oe.responseText),J.next(Ee)},ln=be=>{let Ee={type:Ue.UploadProgress,loaded:be.loaded};be.lengthComputable&&(Ee.total=be.total),J.next(Ee)};return oe.addEventListener("load",xt),oe.addEventListener("error",yn),oe.addEventListener("timeout",yn),oe.addEventListener("abort",yn),A.reportProgress&&(oe.addEventListener("progress",Cn),null!==it&&oe.upload&&oe.upload.addEventListener("progress",ln)),oe.send(it),J.next({type:Ue.Sent}),()=>{oe.removeEventListener("error",yn),oe.removeEventListener("abort",yn),oe.removeEventListener("load",xt),oe.removeEventListener("timeout",yn),A.reportProgress&&(oe.removeEventListener("progress",Cn),null!==it&&oe.upload&&oe.upload.removeEventListener("progress",ln)),oe.readyState!==oe.DONE&&oe.abort()}})}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(o.JF))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac}),I})();const pt=new a.OlP("XSRF_ENABLED"),de="XSRF-TOKEN",L=new a.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>de}),se="X-XSRF-TOKEN",ue=new a.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>se});class Be{}let ht=(()=>{class I{constructor(A,J,oe){this.doc=A,this.platform=J,this.cookieName=oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const A=this.doc.cookie||"";return A!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,o.Mx)(A,this.cookieName),this.lastCookieString=A),this.lastToken}}return I.\u0275fac=function(A){return new(A||I)(a.LFG(o.K0),a.LFG(a.Lbi),a.LFG(L))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac}),I})();function ct(I,w){const A=I.url.toLowerCase();if(!(0,a.f3M)(pt)||"GET"===I.method||"HEAD"===I.method||A.startsWith("http://")||A.startsWith("https://"))return w(I);const J=(0,a.f3M)(Be).getToken(),oe=(0,a.f3M)(ue);return null!=J&&!I.headers.has(oe)&&(I=I.clone({headers:I.headers.set(oe,J)})),w(I)}var me=(()=>((me=me||{})[me.Interceptors=0]="Interceptors",me[me.LegacyInterceptors=1]="LegacyInterceptors",me[me.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",me[me.NoXsrfProtection=3]="NoXsrfProtection",me[me.JsonpSupport=4]="JsonpSupport",me[me.RequestsMadeViaParent=5]="RequestsMadeViaParent",me))();function lt(I,w){return{\u0275kind:I,\u0275providers:w}}function j(...I){const w=[Ze,Pe,ze,{provide:K,useExisting:ze},{provide:Z,useExisting:Pe},{provide:ot,useValue:ct,multi:!0},{provide:pt,useValue:!0},{provide:Be,useClass:ht}];for(const A of I)w.push(...A.\u0275providers);return(0,a.MR2)(w)}const pe=new a.OlP("LEGACY_INTERCEPTOR_FN");function At({cookieName:I,headerName:w}){const A=[];return void 0!==I&&A.push({provide:L,useValue:I}),void 0!==w&&A.push({provide:ue,useValue:w}),lt(me.CustomXsrfConfiguration,A)}let xn=(()=>{class I{}return I.\u0275fac=function(A){return new(A||I)},I.\u0275mod=a.oAB({type:I}),I.\u0275inj=a.cJS({providers:[j(lt(me.LegacyInterceptors,[{provide:pe,useFactory:je},{provide:ot,useExisting:pe,multi:!0}]),At({cookieName:de,headerName:se}))]}),I})()},4650:(_t,De,f)=>{"use strict";f.d(De,{$8M:()=>Yi,$WT:()=>Yn,$Z:()=>ih,AFp:()=>ap,ALo:()=>wm,AaK:()=>K,AsE:()=>Gl,BQk:()=>sc,CHM:()=>eo,CRH:()=>Nm,CZH:()=>bc,CqO:()=>Bh,D6c:()=>kE,DdM:()=>_m,Dn7:()=>Sm,EJc:()=>K0,EiD:()=>yu,EpF:()=>Lh,F$t:()=>zh,F4k:()=>Nh,FYo:()=>Fu,FiY:()=>ca,G48:()=>mE,Gf:()=>Fm,GfV:()=>Lu,Gpc:()=>he,Gre:()=>xf,Hsn:()=>$h,Ikx:()=>Wl,JOm:()=>Oo,JVY:()=>Ng,JZr:()=>Re,Jf7:()=>Nu,KtG:()=>hs,L6k:()=>Bg,LAX:()=>Ug,LFG:()=>Xe,LSH:()=>Qc,Lbi:()=>$0,Lck:()=>$y,MAs:()=>Ph,MMx:()=>nd,MR2:()=>n_,NdJ:()=>Pl,O4$:()=>wo,OlP:()=>Bt,Oqu:()=>$l,P3R:()=>xu,PXZ:()=>lE,Q6J:()=>Il,QGY:()=>Rl,QbO:()=>G0,Qsj:()=>__,R0b:()=>Gr,RDi:()=>Ig,Rgc:()=>ka,SBq:()=>va,Sil:()=>X0,Suo:()=>Lm,TTD:()=>Nr,TgZ:()=>ic,Tol:()=>cf,Udp:()=>Hl,VKq:()=>vm,W1O:()=>Hm,WFA:()=>Fl,WLB:()=>bm,XFs:()=>de,Xpm:()=>vn,Xts:()=>qc,Y36:()=>zs,YKP:()=>cm,YNc:()=>Rh,Yjl:()=>tn,Yz7:()=>ye,Z0I:()=>Ft,ZZ4:()=>Md,_Bn:()=>am,_UZ:()=>kl,_Vd:()=>_a,_c5:()=>IE,_uU:()=>pf,aQg:()=>Ad,c2e:()=>W0,cJS:()=>bt,cg1:()=>Kl,d8E:()=>Yl,dDg:()=>oE,dqk:()=>ct,eBb:()=>Vg,eFA:()=>yp,ekj:()=>jl,eoX:()=>_p,f3M:()=>I,g9A:()=>lp,h0i:()=>ia,hGG:()=>OE,hij:()=>lc,iGM:()=>Pm,ifc:()=>Cn,ip1:()=>sp,jDz:()=>dm,kL8:()=>Rf,kcU:()=>ps,lG2:()=>Pt,lcZ:()=>Mm,lqb:()=>Ds,lri:()=>pp,mCW:()=>za,n5z:()=>co,n_E:()=>mc,oAB:()=>P,oJD:()=>Eu,oxw:()=>jh,pB0:()=>Hg,q3G:()=>bi,qLn:()=>ba,qOj:()=>Ml,qZA:()=>rc,qzn:()=>Bs,rWj:()=>gp,s9C:()=>Ll,sBO:()=>pE,s_b:()=>gc,soG:()=>yc,tBr:()=>Fa,tb:()=>dp,tp0:()=>la,uIk:()=>Tl,vHH:()=>Me,vpe:()=>Lo,wAp:()=>rn,xi3:()=>Am,xp6:()=>$u,ynx:()=>oc,z2F:()=>Ec,z3N:()=>Ko,zSh:()=>nl,zs3:()=>xs});var o=f(7579),a=f(727),E=f(9751),W=f(6451),Q=f(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 re(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function K(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(K).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 Z(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ee=G({__forward_ref__:G});function he(e){return e.__forward_ref__=he,e.toString=function(){return K(this())},e}function te(e){return ke(e)?e():e}function ke(e){return"function"==typeof e&&e.hasOwnProperty(ee)&&e.__forward_ref__===he}function xe(e){return e&&!!e.\u0275providers}const Re="https://g.co/ng/security#xss";class Me extends Error{constructor(t,n){super(function rt(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function tt(e){return"string"==typeof e?e:null==e?"":String(e)}function U(e,t){throw new Me(-201,!1)}function ot(e,t){null==e&&function je(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function ye(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ct(e){return Ne(e,we)||Ne(e,Pe)}function Ft(e){return null!==Ct(e)}function Ne(e,t){return e.hasOwnProperty(t)?e[t]:null}function le(e){return e&&(e.hasOwnProperty(ne)||e.hasOwnProperty(pt))?e[ne]:null}const we=G({\u0275prov:G}),ne=G({\u0275inj:G}),Pe=G({ngInjectableDef:G}),pt=G({ngInjectorDef:G});var de=(()=>((de=de||{})[de.Default=0]="Default",de[de.Host=1]="Host",de[de.Self=2]="Self",de[de.SkipSelf=4]="SkipSelf",de[de.Optional=8]="Optional",de))();let L;function ue(e){const t=L;return L=e,t}function Be(e,t,n){const i=Ct(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&de.Optional?null:void 0!==t?t:void U(K(e))}const ct=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),j={},ve="__NG_DI_FLAG__",pe="ngTempTokenPath",At=/\n/gm,dn="__source";let jt;function _n(e){const t=jt;return jt=e,t}function xn(e,t=de.Default){if(void 0===jt)throw new Me(-203,!1);return null===jt?Be(e,void 0,t):jt.get(e,t&de.Optional?null:void 0,t)}function Xe(e,t=de.Default){return(function se(){return L}()||xn)(te(e),t)}function I(e,t=de.Default){return Xe(e,w(t))}function w(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function A(e){const t=[];for(let n=0;n((xt=xt||{})[xt.OnPush=0]="OnPush",xt[xt.Default=1]="Default",xt))(),Cn=(()=>{return(e=Cn||(Cn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Cn;var e})();const ln={},be=[],Ee=G({\u0275cmp:G}),q=G({\u0275dir:G}),Te=G({\u0275pipe:G}),dt=G({\u0275mod:G}),Nt=G({\u0275fac:G}),qt=G({__NG_ELEMENT_ID__:G});let Rn=0;function vn(e){return Yt(()=>{const n=!0===e.standalone,i={},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:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===xt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||be,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Cn.Emulated,id:"c"+Rn++,styles:e.styles||be,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},s=e.dependencies,u=e.features;return r.inputs=Ye(e.inputs,i),r.outputs=Ye(e.outputs),u&&u.forEach(p=>p(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(ie).filter(R):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Pn).filter(R):null,r})}function ie(e){return Kt(e)||Dn(e)}function R(e){return null!==e}function P(e){return Yt(()=>({type:e.type,bootstrap:e.bootstrap||be,declarations:e.declarations||be,imports:e.imports||be,exports:e.exports||be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ye(e,t){if(null==e)return ln;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,t&&(t[r]=s)}return n}const Pt=vn;function tn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Kt(e){return e[Ee]||null}function Dn(e){return e[q]||null}function Pn(e){return e[Te]||null}function Yn(e){const t=Kt(e)||Dn(e)||Pn(e);return null!==t&&t.standalone}function ei(e,t){const n=e[dt]||null;if(!n&&!0===t)throw new Error(`Type ${K(e)} does not have '\u0275mod' property.`);return n}function Mn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Un(e){return Array.isArray(e)&&!0===e[1]}function Or(e){return 0!=(4&e.flags)}function ki(e){return e.componentOffset>-1}function Dr(e){return 1==(1&e.flags)}function Fn(e){return null!==e.template}function xr(e){return 0!=(256&e[2])}function tr(e,t){return e.hasOwnProperty(Nt)?e[Nt]:null}class Zr{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Nr(){return nr}function nr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vo),Bo}function Bo(){const e=Eo(this),t=e?.current;if(t){const n=e.previous;if(n===ln)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Vo(e,t,n,i){const r=this.declaredInputs[n],s=Eo(e)||function Xr(e,t){return e[Br]=t}(e,{previous:ln,current:null}),u=s.current||(s.current={}),p=s.previous,b=p[r];u[r]=new Zr(b&&b.currentValue,t,p===ln),e[i]=t}Nr.ngInherit=!0;const Br="__ngSimpleChanges__";function Eo(e){return e[Br]||null}function zn(e){for(;Array.isArray(e);)e=e[0];return e}function Jr(e,t){return zn(t[e])}function di(e,t){return zn(t[e.index])}function dr(e,t){return e.data[t]}function $i(e,t){return e[t]}function Di(e,t){const n=t[e];return Mn(n)?n:n[0]}function Mi(e){return 64==(64&e[2])}function ur(e,t){return null==t?null:e[t]}function hr(e){e[18]=0}function fr(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const on={lFrame:rs(null),bindingsEnabled:!0};function et(){return on.bindingsEnabled}function st(){return on.lFrame.lView}function cn(){return on.lFrame.tView}function eo(e){return on.lFrame.contextLView=e,e[8]}function hs(e){return on.lFrame.contextLView=null,e}function pi(){let e=fs();for(;null!==e&&64===e.type;)e=e.parent;return e}function fs(){return on.lFrame.currentTNode}function Wi(e,t){const n=on.lFrame;n.currentTNode=e,n.isParent=t}function ts(){return on.lFrame.isParent}function Ho(){on.lFrame.isParent=!1}function ui(){const e=on.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function rr(){return on.lFrame.bindingIndex++}function pr(e){const t=on.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function xo(e,t){const n=on.lFrame;n.bindingIndex=n.bindingRootIndex=e,Co(t)}function Co(e){on.lFrame.currentDirectiveIndex=e}function ro(e){const t=on.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Hr(){return on.lFrame.currentQueryIndex}function oo(e){on.lFrame.currentQueryIndex=e}function ms(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function gr(e,t,n){if(n&de.SkipSelf){let r=t,s=e;for(;!(r=r.parent,null!==r||n&de.Host||(r=ms(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;t=r,e=s}const i=on.lFrame=is();return i.currentTNode=t,i.lView=e,!0}function jo(e){const t=is(),n=e[1];on.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function is(){const e=on.lFrame,t=null===e?null:e.child;return null===t?rs(e):t}function rs(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 os(){const e=on.lFrame;return on.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Fi=os;function Mr(){const e=os();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 gi(){return on.lFrame.selectedIndex}function Ar(e){on.lFrame.selectedIndex=e}function $n(){const e=on.lFrame;return dr(e.tView,e.selectedIndex)}function wo(){on.lFrame.currentNamespace="svg"}function ps(){!function zo(){on.lFrame.currentNamespace=null}()}function Mo(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[b]<0&&(e[18]+=65536),(p>11>16&&(3&e[2])===t){e[2]+=2048;try{s.call(p)}finally{}}}else try{s.call(p)}finally{}}class gt{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ui(e,t,n){let i=0;for(;it){u=s-1;break}}}for(;s>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let gs=!0;function ls(e){const t=gs;return gs=e,t}let x=0;const c={};function _(e,t){const n=$(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,k(i.data,e),k(t,null),k(i.blueprint,null));const r=_e(e,t),s=e.injectorIndex;if(Ao(r)){const u=ao(r),p=cs(r,t),b=p[1].data;for(let T=0;T<8;T++)t[s+T]=p[u+T]|b[u+T]}return t[s+8]=r,s}function k(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function _e(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=sr(r),null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Ce(e,t,n){!function l(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(qt)&&(i=n[qt]),null==i&&(i=n[qt]=x++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:hi:t}(n);if("function"==typeof s){if(!gr(t,e,i))return i&de.Host?Dt(r,0,i):Ut(t,n,i,r);try{const u=s(i);if(null!=u||i&de.Optional)return u;U()}finally{Fi()}}else if("number"==typeof s){let u=null,p=$(e,t),b=-1,T=i&de.Host?t[16][6]:null;for((-1===p||i&de.SkipSelf)&&(b=-1===p?_e(e,t):t[p+8],-1!==b&&si(i,!1)?(u=t[1],p=ao(b),t=cs(b,t)):p=-1);-1!==p;){const V=t[1];if(Hn(s,p,V.data)){const ae=hn(p,t,n,u,i,T);if(ae!==c)return ae}b=t[p+8],-1!==b&&si(i,t[1].data[p+8]===T)&&Hn(s,p,t)?(u=V,p=ao(b),t=cs(b,t)):p=-1}}return r}function hn(e,t,n,i,r,s){const u=t[1],p=u.data[e+8],V=Qt(p,u,n,null==i?ki(p)&&gs:i!=u&&0!=(3&p.type),r&de.Host&&s===p);return null!==V?Jt(t,u,V,p):c}function Qt(e,t,n,i,r){const s=e.providerIndexes,u=t.data,p=1048575&s,b=e.directiveStart,V=s>>20,Ie=r?p+V:e.directiveEnd;for(let $e=i?p:p+V;$e=b&&yt.type===n)return $e}if(r){const $e=u[b];if($e&&Fn($e)&&$e.type===n)return b}return null}function Jt(e,t,n,i){let r=e[n];const s=t.data;if(function Gt(e){return e instanceof gt}(r)){const u=r;u.resolving&&function fe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Me(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ge(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():tt(e)}(s[n]));const p=ls(u.canSeeViewProviders);u.resolving=!0;const b=u.injectImpl?ue(u.injectImpl):null;gr(e,i,de.Default);try{r=e[n]=u.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function as(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const u=nr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==b&&ue(b),ls(p),u.resolving=!1,Fi()}}return r}function Hn(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[Nt]||or(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const s=r[Nt]||or(r);if(s&&s!==n)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function or(e){return ke(e)?()=>{const t=or(te(e));return t&&t()}:tr(e)}function sr(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Yi(e){return function Ke(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r{const i=function $o(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...s){if(this instanceof r)return i.apply(this,s),this;const u=new r(...s);return p.annotation=u,p;function p(b,T,V){const ae=b.hasOwnProperty(lo)?b[lo]:Object.defineProperty(b,lo,{value:[]})[lo];for(;ae.length<=V;)ae.push(null);return(ae[V]=ae[V]||[]).push(u),b}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Bt{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=ye({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function d(e,t){e.forEach(n=>Array.isArray(n)?d(n,t):t(n))}function v(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function S(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function B(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function Mt(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Ln(e,t){const n=ri(e,t);if(n>=0)return e[1|n]}function ri(e,t){return function zr(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const s=i+(r-i>>1),u=e[s<t?r=s:i=s+1}return~(r<({token:e})),-1),ca=J(uo("Optional"),8),la=J(uo("SkipSelf"),4);var Oo=(()=>((Oo=Oo||{})[Oo.Important=1]="Important",Oo[Oo.DashCase=2]="DashCase",Oo))();const Ic=new Map;let Jp=0;const kc="__ngContext__";function Zi(e,t){Mn(t)?(e[kc]=t[20],function tg(e){Ic.set(e[20],e)}(t)):e[kc]=t}function Pc(e,t){return undefined(e,t)}function fa(e){const t=e[3];return Un(t)?t[3]:t}function Fc(e){return Kd(e[13])}function Lc(e){return Kd(e[4])}function Kd(e){for(;null!==e&&!Un(e);)e=e[4];return e}function Ns(e,t,n,i,r){if(null!=i){let s,u=!1;Un(i)?s=i:Mn(i)&&(u=!0,i=i[0]);const p=zn(i);0===e&&null!==n?null==r?eu(t,n,p):vs(t,n,p,r||null,!0):1===e&&null!==n?vs(t,n,p,r||null,!0):2===e?function zc(e,t,n){const i=Ba(e,t);i&&function Eg(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,p,u):3===e&&t.destroyNode(p),null!=s&&function Cg(e,t,n,i,r){const s=n[7];s!==zn(n)&&Ns(t,e,i,s,r);for(let p=10;p0&&(e[n-1][4]=i[4]);const s=S(e,10+t);!function fg(e,t){ma(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const u=s[19];null!==u&&u.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Qd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&ma(e,t,n,3,null,null),function gg(e){let t=e[13];if(!t)return Uc(e[1],e);for(;t;){let n=null;if(Mn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Mn(t)&&Uc(t[1],t),t=t[3];null===t&&(t=e),Mn(t)&&Uc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Uc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function yg(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[r=u]():i[r=-u].unsubscribe(),s+=2}else{const u=i[r=n[s+1]];n[s].call(u)}if(null!==i){for(let s=r+1;s-1){const{encapsulation:s}=e.data[i.directiveStart+r];if(s===Cn.None||s===Cn.Emulated)return null}return di(i,n)}}(e,t.parent,n)}function vs(e,t,n,i,r){e.insertBefore(t,n,i,r)}function eu(e,t,n){e.appendChild(t,n)}function tu(e,t,n,i,r){null!==i?vs(e,t,n,i,r):eu(e,t,n)}function Ba(e,t){return e.parentNode(t)}function nu(e,t,n){return ru(e,t,n)}let Ha,Wc,ja,ru=function iu(e,t,n){return 40&e.type?di(e,n):null};function Va(e,t,n,i){const r=qd(e,i,t),s=t[11],p=nu(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let b=0;be,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ha}()?.createHTML(e)||e}function Ig(e){Wc=e}function Yc(){if(void 0===ja&&(ja=null,ct.trustedTypes))try{ja=ct.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ja}function uu(e){return Yc()?.createHTML(e)||e}function fu(e){return Yc()?.createScriptURL(e)||e}class ys{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Re})`}}class Og extends ys{getTypeName(){return"HTML"}}class kg extends ys{getTypeName(){return"Style"}}class Rg extends ys{getTypeName(){return"Script"}}class Pg extends ys{getTypeName(){return"URL"}}class Fg extends ys{getTypeName(){return"ResourceURL"}}function Ko(e){return e instanceof ys?e.changingThisBreaksApplicationSecurity:e}function Bs(e,t){const n=function Lg(e){return e instanceof ys&&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 ${Re})`)}return n===t}function Ng(e){return new Og(e)}function Bg(e){return new kg(e)}function Vg(e){return new Rg(e)}function Ug(e){return new Pg(e)}function Hg(e){return new Fg(e)}class jg{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(bs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class zg{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 i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=bs(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=bs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let r=n.length-1;0"),!0}endElement(t){const n=t.nodeName.toLowerCase();Kc.hasOwnProperty(n)&&!pu.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(bu(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 Kg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zg=/([^\#-~ |!])/g;function bu(e){return e.replace(/&/g,"&").replace(Kg,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Zg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let $a;function yu(e,t){let n=null;try{$a=$a||function mu(e){const t=new zg(e);return function $g(){try{return!!(new window.DOMParser).parseFromString(bs(""),"text/html")}catch{return!1}}()?new jg(t):t}(e);let i=t?String(t):"";n=$a.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=$a.getInertBodyElement(i)}while(i!==s);return bs((new Yg).sanitizeChildren(Xc(n)||n))}finally{if(n){const i=Xc(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Xc(e){return"content"in e&&function Xg(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var bi=(()=>((bi=bi||{})[bi.NONE=0]="NONE",bi[bi.HTML=1]="HTML",bi[bi.STYLE=2]="STYLE",bi[bi.SCRIPT=3]="SCRIPT",bi[bi.URL=4]="URL",bi[bi.RESOURCE_URL=5]="RESOURCE_URL",bi))();function Eu(e){const t=ga();return t?uu(t.sanitize(bi.HTML,e)||""):Bs(e,"HTML")?uu(Ko(e)):yu(function du(){return void 0!==Wc?Wc:typeof document<"u"?document:void 0}(),tt(e))}function Qc(e){const t=ga();return t?t.sanitize(bi.URL,e)||"":Bs(e,"URL")?Ko(e):za(tt(e))}function Du(e){const t=ga();if(t)return fu(t.sanitize(bi.RESOURCE_URL,e)||"");if(Bs(e,"ResourceURL"))return fu(Ko(e));throw new Me(904,!1)}function xu(e,t,n){return function t_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Du:Qc}(t,n)(e)}function ga(){const e=st();return e&&e[12]}const qc=new Bt("ENVIRONMENT_INITIALIZER"),Cu=new Bt("INJECTOR",-1),wu=new Bt("INJECTOR_DEF_TYPES");class Mu{get(t,n=j){if(n===j){const i=new Error(`NullInjectorError: No provider for ${K(t)}!`);throw i.name="NullInjectorError",i}return n}}function n_(e){return{\u0275providers:e}}function i_(...e){return{\u0275providers:Au(0,e),\u0275fromNgModule:!0}}function Au(e,...t){const n=[],i=new Set;let r;return d(t,s=>{const u=s;Jc(u,n,[],i)&&(r||(r=[]),r.push(u))}),void 0!==r&&Su(r,n),n}function Su(e,t){for(let n=0;n{t.push(s)})}}function Jc(e,t,n,i){if(!(e=te(e)))return!1;let r=null,s=le(e);const u=!s&&Kt(e);if(s||u){if(u&&!u.standalone)return!1;r=e}else{const b=e.ngModule;if(s=le(b),!s)return!1;r=b}const p=i.has(r);if(u){if(p)return!1;if(i.add(r),u.dependencies){const b="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const T of b)Jc(T,t,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!p){let T;i.add(r);try{d(s.imports,V=>{Jc(V,t,n,i)&&(T||(T=[]),T.push(V))})}finally{}void 0!==T&&Su(T,t)}if(!p){const T=tr(r)||(()=>new r);t.push({provide:r,useFactory:T,deps:be},{provide:wu,useValue:r,multi:!0},{provide:qc,useValue:()=>Xe(r),multi:!0})}const b=s.providers;null==b||p||el(b,V=>{t.push(V)})}}return r!==e&&void 0!==e.providers}function el(e,t){for(let n of e)xe(n)&&(n=n.\u0275providers),Array.isArray(n)?el(n,t):t(n)}const r_=G({provide:String,useValue:G});function tl(e){return null!==e&&"object"==typeof e&&r_ in e}function Es(e){return"function"==typeof e}const nl=new Bt("Set Injector scope."),Ga={},s_={};let il;function Wa(){return void 0===il&&(il=new Mu),il}class Ds{}class Ou extends Ds{get destroyed(){return this._destroyed}constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ol(t,u=>this.processProvider(u)),this.records.set(Cu,Vs(void 0,this)),r.has("environment")&&this.records.set(Ds,Vs(void 0,this));const s=this.records.get(nl);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(wu.multi,be,de.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=_n(this),i=ue(void 0);try{return t()}finally{_n(n),ue(i)}}get(t,n=j,i=de.Default){this.assertNotDestroyed(),i=w(i);const r=_n(this),s=ue(void 0);try{if(!(i&de.SkipSelf)){let p=this.records.get(t);if(void 0===p){const b=function u_(e){return"function"==typeof e||"object"==typeof e&&e instanceof Bt}(t)&&Ct(t);p=b&&this.injectableDefInScope(b)?Vs(rl(t),Ga):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(i&de.Self?Wa():this.parent).get(t,n=i&de.Optional&&n===j?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[pe]=u[pe]||[]).unshift(K(t)),r)throw u;return function it(e,t,n,i){const r=e[pe];throw t[dn]&&r.unshift(t[dn]),e.message=function Ot(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=K(t);if(Array.isArray(t))r=t.map(K).join(" -> ");else if("object"==typeof t){let s=[];for(let u in t)if(t.hasOwnProperty(u)){let p=t[u];s.push(u+":"+("string"==typeof p?JSON.stringify(p):K(p)))}r=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(At,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[pe]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{ue(s),_n(r)}}resolveInjectorInitializers(){const t=_n(this),n=ue(void 0);try{const i=this.get(qc.multi,be,de.Self);for(const r of i)r()}finally{_n(t),ue(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(K(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Me(205,!1)}processProvider(t){let n=Es(t=te(t))?t:te(t&&t.provide);const i=function c_(e){return tl(e)?Vs(void 0,e.useValue):Vs(ku(e),Ga)}(t);if(Es(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=Vs(void 0,Ga,!0),r.factory=()=>A(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Ga&&(n.value=s_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function d_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=te(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function rl(e){const t=Ct(e),n=null!==t?t.factory:tr(e);if(null!==n)return n;if(e instanceof Bt)throw new Me(204,!1);if(e instanceof Function)return function a_(e){const t=e.length;if(t>0)throw B(t,"?"),new Me(204,!1);const n=function qe(e){const t=e&&(e[we]||e[Pe]);if(t){const n=function mt(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 Me(204,!1)}function ku(e,t,n){let i;if(Es(e)){const r=te(e);return tr(r)||rl(r)}if(tl(e))i=()=>te(e.useValue);else if(function Iu(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...A(e.deps||[]));else if(function Tu(e){return!(!e||!e.useExisting)}(e))i=()=>Xe(te(e.useExisting));else{const r=te(e&&(e.useClass||e.provide));if(!function l_(e){return!!e.deps}(e))return tr(r)||rl(r);i=()=>new r(...A(e.deps))}return i}function Vs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ol(e,t){for(const n of e)Array.isArray(n)?ol(n,t):n&&xe(n)?ol(n.\u0275providers,t):t(n)}class h_{}class Ru{}class m_{resolveComponentFactory(t){throw function f_(e){const t=Error(`No component factory found for ${K(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let _a=(()=>{class e{}return e.NULL=new m_,e})();function p_(){return Us(pi(),st())}function Us(e,t){return new va(di(e,t))}let va=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=p_,e})();function g_(e){return e instanceof va?e.nativeElement:e}class Fu{}let __=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function v_(){const e=st(),n=Di(pi().index,e);return(Mn(n)?n:e)[11]}(),e})(),b_=(()=>{class e{}return e.\u0275prov=ye({token:e,providedIn:"root",factory:()=>null}),e})();class Lu{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const y_=new Lu("15.1.2"),sl={};function cl(e){return e.ngOriginalError}class ba{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&cl(t);for(;n&&cl(n);)n=cl(n);return n||null}}function Nu(e){return e.ownerDocument.defaultView}function Xo(e){return e instanceof Function?e():e}function Vu(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const s=t.length;if(r+s===i||e.charCodeAt(r+s)<=32)return r}n=r+1}}const Uu="ng-template";function I_(e,t,n){let i=0;for(;is?"":r[ae+1].toLowerCase();const $e=8&i?Ie:null;if($e&&-1!==Vu($e,T,0)||2&i&&T!==Ie){if(fo(i))return!1;u=!0}}}}else{if(!u&&!fo(i)&&!fo(b))return!1;if(u&&fo(b))continue;u=!1,i=b|1&i}}return fo(i)||u}function fo(e){return 0==(1&e)}function R_(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let s=!1;for(;r-1)for(n++;n0?'="'+p+'"':"")+"]"}else 8&i?r+="."+u:4&i&&(r+=" "+u);else""!==r&&!fo(u)&&(t+=zu(s,r),r=""),i=u,s=s||!fo(i);n++}return""!==r&&(t+=zu(s,r)),t}const fn={};function $u(e){Gu(cn(),st(),gi()+e,!1)}function Gu(e,t,n,i){if(!i)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&g(t,s,n)}else{const s=e.preOrderHooks;null!==s&&O(t,s,0,n)}Ar(n)}function Zu(e,t=null,n=null,i){const r=Xu(e,t,n,i);return r.resolveInjectorInitializers(),r}function Xu(e,t=null,n=null,i,r=new Set){const s=[n||be,i_(e)];return i=i||("object"==typeof e?void 0:K(e)),new Ou(s,t||Wa(),i||null,r)}let xs=(()=>{class e{static create(n,i){if(Array.isArray(n))return Zu({name:""},i,n,"");{const r=n.name??"";return Zu({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=j,e.NULL=new Mu,e.\u0275prov=ye({token:e,providedIn:"any",factory:()=>Xe(Cu)}),e.__NG_ELEMENT_ID__=-1,e})();function zs(e,t=de.Default){const n=st();return null===n?Xe(e,t):$t(pi(),n,te(e),t)}function ih(){throw new Error("invalid")}function rh(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i22&&Gu(e,t,22,!1),n(i,r)}finally{Ar(s)}}function pl(e,t,n){if(Or(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=p&&u.push(p),u.push(n,i,s)}}(e,t,i,ya(e,n,r.hostVars,fn),r)}function ko(e,t,n,i,r,s){const u=di(e,t);!function El(e,t,n,i,r,s,u){if(null==s)e.removeAttribute(t,r,n);else{const p=null==u?tt(s):u(s,i||"",r);e.setAttribute(t,r,p,n)}}(t[11],u,s,e.value,n,i,r)}function Cv(e,t,n,i,r,s){const u=s[t];if(null!==u){const p=i.setInput;for(let b=0;b0&&Dl(n)}}function Dl(e){for(let i=Fc(e);null!==i;i=Lc(i))for(let r=10;r0&&Dl(s)}const n=e[1].components;if(null!==n)for(let i=0;i0&&Dl(r)}}function Tv(e,t){const n=Di(t,e),i=n[1];(function Iv(e,t){for(let n=t.length;n-1&&(Vc(t,i),S(n,i))}this._attachedToViewContainer=!1}Qd(this._lView[1],this._lView)}onDestroy(t){ah(this._lView[1],this._lView,null,t)}markForCheck(){xl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Qa(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function pg(e,t){ma(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Me(902,!1);this._appRef=t}}class Ov extends Ea{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Qa(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class vh extends _a{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Kt(t);return new Da(n,this.ngModule)}}function bh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Rv{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){i=w(i);const r=this.injector.get(t,sl,i);return r!==sl||n===sl?r:this.parentInjector.get(t,n,i)}}class Da extends Ru{get inputs(){return bh(this.componentDef.inputs)}get outputs(){return bh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function V_(e){return e.map(B_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,i,r){let s=(r=r||this.ngModule)instanceof Ds?r:r?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const u=s?new Rv(t,s):t,p=u.get(Fu,null);if(null===p)throw new Me(407,!1);const b=u.get(b_,null),T=p.createRenderer(null,this.componentDef),V=this.componentDef.selectors[0][0]||"div",ae=i?function lv(e,t,n){return e.selectRootElement(t,n===Cn.ShadowDom)}(T,i,this.componentDef.encapsulation):Bc(T,V,function kv(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(V)),Ie=this.componentDef.onPush?288:272,$e=vl(0,null,null,1,0,null,null,null,null,null),yt=Ka(null,$e,null,Ie,null,null,p,T,b,u,null);let Rt,Ht;jo(yt);try{const Zt=this.componentDef;let sn,Tt=null;Zt.findHostDirectiveDefs?(sn=[],Tt=new Map,Zt.findHostDirectiveDefs(Zt,sn,Tt),sn.push(Zt)):sn=[Zt];const un=function Fv(e,t){const n=e[1];return e[22]=t,$s(n,22,2,"#host",null)}(yt,ae),ai=function Lv(e,t,n,i,r,s,u,p){const b=r[1];!function Nv(e,t,n,i){for(const r of e)t.mergedAttrs=xi(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(qa(t,t.mergedAttrs,!0),null!==n&&lu(i,n,t))}(i,e,t,u);const T=s.createRenderer(t,n),V=Ka(r,sh(n),null,n.onPush?32:16,r[e.index],e,s,T,p||null,null,null);return b.firstCreatePass&&yl(b,e,i.length-1),Xa(r,V),r[e.index]=V}(un,ae,Zt,sn,yt,p,T);Ht=dr($e,22),ae&&function Vv(e,t,n,i){if(i)Ui(e,n,["ng-version",y_.full]);else{const{attrs:r,classes:s}=function U_(e){const t=[],n=[];let i=1,r=2;for(;i0&&cu(e,n,s.join(" "))}}(T,Zt,ae,i),void 0!==n&&function Uv(e,t,n){const i=e.projection=[];for(let r=0;r=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=xi(r.hostAttrs,n=xi(n,r.hostAttrs))}}(i)}function Al(e){return e===ln?{}:e===be?[]:e}function zv(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function $v(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,s)=>{t(i,r,s),n(i,r,s)}:t}function Gv(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}let ec=null;function Cs(){if(!ec){const e=ct.Symbol;if(e&&e.iterator)ec=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nu(zn(un[i.index])):i.index;let Tt=null;if(!u&&p&&(Tt=function ob(e,t,n,i){const r=e.cleanup;if(null!=r)for(let s=0;sb?p[b]:null}"string"==typeof u&&(s+=2)}return null}(e,t,r,i.index)),null!==Tt)(Tt.__ngLastListenerFn__||Tt).__ngNextListenerFn__=s,Tt.__ngLastListenerFn__=s,Ie=!1;else{s=Hh(i,t,V,s,!1);const un=n.listen(Ht,r,s);ae.push(s,un),T&&T.push(r,sn,Zt,Zt+1)}}else s=Hh(i,t,V,s,!1);const $e=i.outputs;let yt;if(Ie&&null!==$e&&(yt=$e[r])){const Rt=yt.length;if(Rt)for(let Ht=0;Ht-1?Di(e.index,t):t);let b=Uh(t,0,i,u),T=s.__ngNextListenerFn__;for(;T;)b=Uh(t,0,T,u)&&b,T=T.__ngNextListenerFn__;return r&&!1===b&&(u.preventDefault(),u.returnValue=!1),b}}function jh(e=1){return function ss(e){return(on.lFrame.contextLView=function Is(e,t){for(;e>0;)t=t[15],e--;return t}(e,on.lFrame.contextLView))[8]}(e)}function sb(e,t){let n=null;const i=function P_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let r=0;r>17&32767}function Bl(e){return 2|e}function Ms(e){return(131068&e)>>2}function Vl(e,t){return-131069&e|t<<2}function Ul(e){return 1|e}function Jh(e,t,n,i,r){const s=e[n+1],u=null===t;let p=i?ds(s):Ms(s),b=!1;for(;0!==p&&(!1===b||u);){const V=e[p+1];hb(e[p],t)&&(b=!0,e[p+1]=i?Ul(V):Bl(V)),p=i?ds(V):Ms(V)}b&&(e[n+1]=i?Bl(s):Ul(s))}function hb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ri(e,t)>=0}const Ii={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ef(e){return e.substring(Ii.key,Ii.keyEnd)}function tf(e,t){const n=Ii.textEnd;return n===t?-1:(t=Ii.keyEnd=function gb(e,t,n){for(;t32;)t++;return t}(e,Ii.key=t,n),ea(e,t,n))}function ea(e,t,n){for(;t=0;n=tf(t,n))Vt(e,ef(t),!0)}function mo(e,t,n,i){const r=st(),s=cn(),u=pr(2);s.firstUpdatePass&&df(s,e,u,i),t!==fn&&Xi(r,u,t)&&hf(s,s.data[gi()],r,r[11],e,r[u+1]=function Mb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=K(Ko(e)))),e}(t,n),i,u)}function po(e,t,n,i){const r=cn(),s=pr(2);r.firstUpdatePass&&df(r,null,s,i);const u=st();if(n!==fn&&Xi(u,s,n)){const p=r.data[gi()];if(mf(p,i)&&!lf(r,s)){let b=i?p.classesWithoutHost:p.stylesWithoutHost;null!==b&&(n=Z(b,n||"")),Ol(r,p,u,n,i)}else!function wb(e,t,n,i,r,s,u,p){r===fn&&(r=be);let b=0,T=0,V=0=e.expandoStartIndex}function df(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[gi()],u=lf(e,n);mf(s,i)&&null===t&&!u&&(t=!1),t=function yb(e,t,n,i){const r=ro(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Ca(n=zl(null,e,t,n,i),t.attrs,i),s=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==r)if(n=zl(r,e,t,n,i),null===s){let b=function Eb(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Ms(i))return e[ds(i)]}(e,t,i);void 0!==b&&Array.isArray(b)&&(b=zl(null,e,t,b[1],i),b=Ca(b,t.attrs,i),function Db(e,t,n,i){e[ds(n?t.classBindings:t.styleBindings)]=i}(e,t,i,b))}else s=function xb(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(T=!0)):V=n,r)if(0!==b){const Ie=ds(e[p+1]);e[i+1]=ac(Ie,p),0!==Ie&&(e[Ie+1]=Vl(e[Ie+1],i)),e[p+1]=function cb(e,t){return 131071&e|t<<17}(e[p+1],i)}else e[i+1]=ac(p,0),0!==p&&(e[p+1]=Vl(e[p+1],i)),p=i;else e[i+1]=ac(b,0),0===p?p=i:e[b+1]=Vl(e[b+1],i),b=i;T&&(e[i+1]=Bl(e[i+1])),Jh(e,V,i,!0),Jh(e,V,i,!1),function ub(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ri(s,t)>=0&&(n[i+1]=Ul(n[i+1]))}(t,V,e,i,s),u=ac(p,b),s?t.classBindings=u:t.styleBindings=u}(r,s,t,n,u,i)}}function zl(e,t,n,i,r){let s=null;const u=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p0;){const b=e[r],T=Array.isArray(b),V=T?b[1]:b,ae=null===V;let Ie=n[r+1];Ie===fn&&(Ie=ae?be:void 0);let $e=ae?Ln(Ie,i):V===i?Ie:void 0;if(T&&!cc($e)&&($e=Ln(b,i)),cc($e)&&(p=$e,u))return p;const yt=e[r+1];r=u?ds(yt):Ms(yt)}if(null!==t){let b=s?t.residualClasses:t.residualStyles;null!=b&&(p=Ln(b,i))}return p}function cc(e){return void 0!==e}function mf(e,t){return 0!=(e.flags&(t?8:16))}function pf(e,t=""){const n=st(),i=cn(),r=e+22,s=i.firstCreatePass?$s(i,r,1,t,null):i.data[r],u=n[r]=function Nc(e,t){return e.createText(t)}(n[11],t);Va(i,n,u,s),Wi(s,!1)}function $l(e){return lc("",e,""),$l}function lc(e,t,n){const i=st(),r=Ws(i,e,t,n);return r!==fn&&Qo(i,gi(),r),lc}function Gl(e,t,n,i,r){const s=st(),u=Ys(s,e,t,n,i,r);return u!==fn&&Qo(s,gi(),u),Gl}function xf(e,t,n){po(Vt,Fo,Ws(st(),e,t,n),!0)}function Wl(e,t,n){const i=st();return Xi(i,rr(),t)&&Ir(cn(),$n(),i,e,t,i[11],n,!0),Wl}function Yl(e,t,n){const i=st();if(Xi(i,rr(),t)){const s=cn(),u=$n();Ir(s,u,i,e,t,gh(ro(s.data),u,i),n,!0)}return Yl}const As=void 0;var Gb=["en",[["a","p"],["AM","PM"],As],[["AM","PM"],As,As],[["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"]],As,[["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"]],As,[["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}",As,"{1} 'at' {0}",As],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $b(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let ta={};function Kl(e){const t=function Wb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Pf(t);if(n)return n;const i=t.split("-")[0];if(n=Pf(i),n)return n;if("en"===i)return Gb;throw new Me(701,!1)}function Rf(e){return Kl(e)[rn.PluralCase]}function Pf(e){return e in ta||(ta[e]=ct.ng&&ct.ng.common&&ct.ng.common.locales&&ct.ng.common.locales[e]),ta[e]}var rn=(()=>((rn=rn||{})[rn.LocaleId=0]="LocaleId",rn[rn.DayPeriodsFormat=1]="DayPeriodsFormat",rn[rn.DayPeriodsStandalone=2]="DayPeriodsStandalone",rn[rn.DaysFormat=3]="DaysFormat",rn[rn.DaysStandalone=4]="DaysStandalone",rn[rn.MonthsFormat=5]="MonthsFormat",rn[rn.MonthsStandalone=6]="MonthsStandalone",rn[rn.Eras=7]="Eras",rn[rn.FirstDayOfWeek=8]="FirstDayOfWeek",rn[rn.WeekendRange=9]="WeekendRange",rn[rn.DateFormat=10]="DateFormat",rn[rn.TimeFormat=11]="TimeFormat",rn[rn.DateTimeFormat=12]="DateTimeFormat",rn[rn.NumberSymbols=13]="NumberSymbols",rn[rn.NumberFormats=14]="NumberFormats",rn[rn.CurrencyCode=15]="CurrencyCode",rn[rn.CurrencySymbol=16]="CurrencySymbol",rn[rn.CurrencyName=17]="CurrencyName",rn[rn.Currencies=18]="Currencies",rn[rn.Directionality=19]="Directionality",rn[rn.PluralCase=20]="PluralCase",rn[rn.ExtraData=21]="ExtraData",rn))();const na="en-US";let Ff=na;function Ql(e,t,n,i,r){if(e=te(e),Array.isArray(e))for(let s=0;s>20;if(Es(e)||!e.multi){const $e=new gt(b,r,zs),yt=Jl(p,t,r?V:V+Ie,ae);-1===yt?(Ce(_(T,u),s,p),ql(s,e,t.length),t.push(p),T.directiveStart++,T.directiveEnd++,r&&(T.providerIndexes+=1048576),n.push($e),u.push($e)):(n[yt]=$e,u[yt]=$e)}else{const $e=Jl(p,t,V+Ie,ae),yt=Jl(p,t,V,V+Ie),Ht=yt>=0&&n[yt];if(r&&!Ht||!r&&!($e>=0&&n[$e])){Ce(_(T,u),s,p);const Zt=function zy(e,t,n,i,r){const s=new gt(e,n,zs);return s.multi=[],s.index=t,s.componentProviders=0,sm(s,r,i&&!n),s}(r?jy:Hy,n.length,r,i,b);!r&&Ht&&(n[yt].providerFactory=Zt),ql(s,e,t.length,0),t.push(p),T.directiveStart++,T.directiveEnd++,r&&(T.providerIndexes+=1048576),n.push(Zt),u.push(Zt)}else ql(s,e,$e>-1?$e:yt,sm(n[r?yt:$e],b,!r&&i));!r&&i&&Ht&&n[yt].componentProviders++}}}function ql(e,t,n,i){const r=Es(t),s=function o_(e){return!!e.useClass}(t);if(r||s){const b=(s?te(t.useClass):t).prototype.ngOnDestroy;if(b){const T=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const V=T.indexOf(n);-1===V?T.push(n,[i,b]):T[V+1].push(i,b)}else T.push(n,b)}}}function sm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Jl(e,t,n,i){for(let r=n;r{n.providersResolver=(i,r)=>function Uy(e,t,n){const i=cn();if(i.firstCreatePass){const r=Fn(e);Ql(n,i.data,i.blueprint,r,!0),Ql(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class ia{}class cm{}function $y(e,t){return new lm(e,t??null)}class lm extends ia{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vh(this);const i=ei(t);this._bootstrapComponents=Xo(i.bootstrap),this._r3Injector=Xu(t,n,[{provide:ia,useValue:this},{provide:_a,useValue:this.componentFactoryResolver}],K(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class td extends cm{constructor(t){super(),this.moduleType=t}create(t){return new lm(this.moduleType,t)}}class Gy extends ia{constructor(t,n,i){super(),this.componentFactoryResolver=new vh(this),this.instance=null;const r=new Ou([...t,{provide:ia,useValue:this},{provide:_a,useValue:this.componentFactoryResolver}],n||Wa(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function nd(e,t,n=null){return new Gy(e,t,n).injector}let Wy=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const i=Au(0,n.type),r=i.length>0?nd([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,r)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=ye({token:e,providedIn:"environment",factory:()=>new e(Xe(Ds))}),e})();function dm(e){e.getStandaloneInjector=t=>t.get(Wy).getOrCreateStandaloneInjector(e)}function _m(e,t,n){const i=ui()+e,r=st();return r[i]===fn?Ro(r,i,n?t.call(n):t()):function xa(e,t){return e[t]}(r,i)}function vm(e,t,n,i){return ym(st(),ui(),e,t,n,i)}function bm(e,t,n,i,r){return Em(st(),ui(),e,t,n,i,r)}function Ia(e,t){const n=e[t];return n===fn?void 0:n}function ym(e,t,n,i,r,s){const u=t+n;return Xi(e,u,r)?Ro(e,u+1,s?i.call(s,r):i(r)):Ia(e,u+1)}function Em(e,t,n,i,r,s,u){const p=t+n;return ws(e,p,r,s)?Ro(e,p+2,u?i.call(u,r,s):i(r,s)):Ia(e,p+2)}function Dm(e,t,n,i,r,s,u,p){const b=t+n;return function nc(e,t,n,i,r){const s=ws(e,t,n,i);return Xi(e,t+2,r)||s}(e,b,r,s,u)?Ro(e,b+3,p?i.call(p,r,s,u):i(r,s,u)):Ia(e,b+3)}function wm(e,t){const n=cn();let i;const r=e+22;n.firstCreatePass?(i=function l0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=tr(i.type)),u=ue(zs);try{const p=ls(!1),b=s();return ls(p),function nb(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,st(),r,b),b}finally{ue(u)}}function Mm(e,t,n){const i=e+22,r=st(),s=$i(r,i);return Oa(r,i)?ym(r,ui(),t,s.transform,n,s):s.transform(n)}function Am(e,t,n,i){const r=e+22,s=st(),u=$i(s,r);return Oa(s,r)?Em(s,ui(),t,u.transform,n,i,u):u.transform(n,i)}function Sm(e,t,n,i,r){const s=e+22,u=st(),p=$i(u,s);return Oa(u,s)?Dm(u,ui(),t,p.transform,n,i,r,p):p.transform(n,i,r)}function Oa(e,t){return e[1].data[t].pure}function rd(e){return t=>{setTimeout(e,void 0,t)}}const Lo=class h0 extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,s=n||(()=>null),u=i;if(t&&"object"==typeof t){const b=t;r=b.next?.bind(b),s=b.error?.bind(b),u=b.complete?.bind(b)}this.__isAsync&&(s=rd(s),r&&(r=rd(r)),u&&(u=rd(u)));const p=super.subscribe({next:r,error:s,complete:u});return t instanceof a.w0&&t.add(p),p}};function f0(){return this._results[Cs()]()}class mc{get changes(){return this._changes||(this._changes=new Lo)}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=Cs(),i=mc.prototype;i[n]||(i[n]=f0)}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 i=this;i.dirty=!1;const r=function m(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function h(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=g0,e})();const m0=ka,p0=class extends m0{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,r=Ka(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);r[17]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[19];return null!==u&&(r[19]=u.createEmbeddedView(i)),ml(i,r,t),new Ea(r)}};function g0(){return pc(pi(),st())}function pc(e,t){return 4&e.type?new p0(t,e,Us(e,t)):null}let gc=(()=>{class e{}return e.__NG_ELEMENT_ID__=_0,e})();function _0(){return Om(pi(),st())}const v0=gc,Tm=class extends v0{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Us(this._hostTNode,this._hostLView)}get injector(){return new jn(this._hostTNode,this._hostLView)}get parentInjector(){const t=_e(this._hostTNode,this._hostLView);if(Ao(t)){const n=cs(t,this._hostLView),i=ao(t);return new jn(n[1].data[i+8],n)}return new jn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Im(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let r,s;"number"==typeof i?r=i:null!=i&&(r=i.index,s=i.injector);const u=t.createEmbeddedView(n||{},s);return this.insert(u,r),u}createComponent(t,n,i,r,s){const u=t&&!function Io(e){return"function"==typeof e}(t);let p;if(u)p=n;else{const ae=n||{};p=ae.index,i=ae.injector,r=ae.projectableNodes,s=ae.environmentInjector||ae.ngModuleRef}const b=u?t:new Da(Kt(t)),T=i||this.parentInjector;if(!s&&null==b.ngModule){const Ie=(u?T:this.parentInjector).get(Ds,null);Ie&&(s=Ie)}const V=b.create(T,r,void 0,s);return this.insert(V.hostView,p),V}insert(t,n){const i=t._lView,r=i[1];if(function Vr(e){return Un(e[3])}(i)){const V=this.indexOf(t);if(-1!==V)this.detach(V);else{const ae=i[3],Ie=new Tm(ae,ae[6],ae[3]);Ie.detach(Ie.indexOf(t))}}const s=this._adjustIndex(n),u=this._lContainer;!function _g(e,t,n,i){const r=10+i,s=n.length;i>0&&(n[r-1][4]=t),i0)i.push(u[p/2]);else{const T=s[p+1],V=t[-b];for(let ae=10;ae{class e{constructor(n){this.appInits=n,this.resolve=vc,this.reject=vc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{s.subscribe({complete:p,error:b})});n.push(u)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Xe(sp,8))},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ap=new Bt("AppId",{providedIn:"root",factory:function cp(){return`${pd()}${pd()}${pd()}`}});function pd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const lp=new Bt("Platform Initializer"),$0=new Bt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),dp=new Bt("appBootstrapListener"),G0=new Bt("AnimationModuleType");let W0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const yc=new Bt("LocaleId",{providedIn:"root",factory:()=>I(yc,de.Optional|de.SkipSelf)||function Y0(){return typeof $localize<"u"&&$localize.locale||na}()}),K0=new Bt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Z0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let X0=(()=>{class e{compileModuleSync(n){return new td(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=Xo(ei(n).declarations).reduce((u,p)=>{const b=Kt(p);return b&&u.push(new Da(b)),u},[]);return new Z0(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const J0=(()=>Promise.resolve(0))();function gd(e){typeof Zone>"u"?J0.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Gr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Lo(!1),this.onMicrotaskEmpty=new Lo(!1),this.onStable=new Lo(!1),this.onError=new Lo(!1),typeof Zone>"u")throw new Me(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function eE(){let e=ct.requestAnimationFrame,t=ct.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function iE(e){const t=()=>{!function nE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ct,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,vd(e),e.isCheckStableRunning=!0,_d(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),vd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,u,p)=>{try{return fp(e),n.invokeTask(r,s,u,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),mp(e)}},onInvoke:(n,i,r,s,u,p,b)=>{try{return fp(e),n.invoke(r,s,u,p,b)}finally{e.shouldCoalesceRunChangeDetection&&t(),mp(e)}},onHasTask:(n,i,r,s)=>{n.hasTask(r,s),i===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,vd(e),_d(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,r,s)=>(n.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Gr.isInAngularZone())throw new Me(909,!1)}static assertNotInAngularZone(){if(Gr.isInAngularZone())throw new Me(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const s=this._inner,u=s.scheduleEventTask("NgZoneEvent: "+r,t,tE,vc,vc);try{return s.runTask(u,n,i)}finally{s.cancelTask(u)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const tE={};function _d(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 vd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function fp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mp(e){e._nesting--,_d(e)}class rE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Lo,this.onMicrotaskEmpty=new Lo,this.onStable=new Lo,this.onError=new Lo}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const pp=new Bt(""),gp=new Bt("");let bd,oE=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,bd||(function sE(e){bd=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{Gr.assertNotInAngularZone(),gd(()=>{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())gd(()=>{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(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.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,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:r})}whenStable(n,i,r){if(r&&!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,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(Xe(Gr),Xe(_p),Xe(gp))},e.\u0275prov=ye({token:e,factory:e.\u0275fac}),e})(),_p=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return bd?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),us=null;const vp=new Bt("AllowMultipleToken"),yd=new Bt("PlatformDestroyListeners");class lE{constructor(t,n){this.name=t,this.token=n}}function yp(e,t,n=[]){const i=`Platform: ${t}`,r=new Bt(i);return(s=[])=>{let u=Ed();if(!u||u.injector.get(vp,!1)){const p=[...n,...s,{provide:r,useValue:!0}];e?e(p):function dE(e){if(us&&!us.get(vp,!1))throw new Me(400,!1);us=e;const t=e.get(Dp);(function bp(e){const t=e.get(lp,null);t&&t.forEach(n=>n())})(e)}(function Ep(e=[],t){return xs.create({name:t,providers:[{provide:nl,useValue:"platform"},{provide:yd,useValue:new Set([()=>us=null])},...e]})}(p,i))}return function hE(e){const t=Ed();if(!t)throw new Me(401,!1);return t}()}}function Ed(){return us?.get(Dp)??null}let Dp=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function Cp(e,t){let n;return n="noop"===e?new rE:("zone.js"===e?void 0:e)||new Gr(t),n}(i?.ngZone,function xp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),s=[{provide:Gr,useValue:r}];return r.run(()=>{const u=xs.create({providers:s,parent:this.injector,name:n.moduleType.name}),p=n.create(u),b=p.injector.get(ba,null);if(!b)throw new Me(402,!1);return r.runOutsideAngular(()=>{const T=r.onError.subscribe({next:V=>{b.handleError(V)}});p.onDestroy(()=>{Dc(this._modules,p),T.unsubscribe()})}),function wp(e,t,n){try{const i=n();return Rl(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(b,r,()=>{const T=p.injector.get(bc);return T.runInitializers(),T.donePromise.then(()=>(function Lf(e){ot(e,"Expected localeId to be defined"),"string"==typeof e&&(Ff=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(yc,na)||na),this._moduleDoBootstrap(p),p))})})}bootstrapModule(n,i=[]){const r=Mp({},i);return function aE(e,t,n){const i=new td(n);return Promise.resolve(i)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(n){const i=n.injector.get(Ec);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new Me(-403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Me(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(yd,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Xe(xs))},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Mp(e,t){return Array.isArray(t)?t.reduce(Mp,e):{...e,...t}}let Ec=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,i,r){this._zone=n,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new E.y(p=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{p.next(this._stable),p.complete()})}),u=new E.y(p=>{let b;this._zone.runOutsideAngular(()=>{b=this._zone.onStable.subscribe(()=>{Gr.assertNotInAngularZone(),gd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,p.next(!0))})})});const T=this._zone.onUnstable.subscribe(()=>{Gr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{p.next(!1)}))});return()=>{b.unsubscribe(),T.unsubscribe()}});this.isStable=(0,W.T)(s,u.pipe((0,Q.B)()))}bootstrap(n,i){const r=n instanceof Ru;if(!this._injector.get(bc).done)throw!r&&Yn(n),new Me(405,false);let u;u=r?n:this._injector.get(_a).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const p=function cE(e){return e.isBoundToModule}(u)?void 0:this._injector.get(ia),T=u.create(xs.NULL,[],i||u.selector,p),V=T.location.nativeElement,ae=T.injector.get(pp,null);return ae?.registerApplication(V),T.onDestroy(()=>{this.detachView(T.hostView),Dc(this.components,T),ae?.unregisterApplication(V)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new Me(101,!1);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 i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Dc(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(dp,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Dc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Me(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Xe(Gr),Xe(Ds),Xe(ba))},e.\u0275prov=ye({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Dc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function mE(){}let pE=(()=>{class e{}return e.__NG_ELEMENT_ID__=gE,e})();function gE(e){return function _E(e,t,n){if(ki(e)&&!n){const i=Di(e.index,t);return new Ea(i,i)}return 47&e.type?new Ea(t[16],t):null}(pi(),st(),16==(16&e))}class Op{constructor(){}supports(t){return tc(t)}create(t){return new xE(t)}}const DE=(e,t)=>t;class xE{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||DE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,s=null;for(;n||i;){const u=!i||n&&n.currentIndex{u=this._trackByFn(r,p),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,p,u,r)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,u,r),i=!0),n=n._next,r++}),this.length=r;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,i,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,r)):t=this._addAfter(new CE(n,i),s,r),t}_verifyReinsertion(t,n,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const 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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new kp),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 kp),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 CE{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 wE{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class kp{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new wE,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.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 Rp(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 r=this._records.get(t);this._maybeAddToChanges(r,n);const s=r._prev,u=r._next;return s&&(s._next=u),u&&(u._prev=s),r._next=null,r._prev=null,r}const i=new AE(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class AE{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 Fp(){return new Md([new Op])}let Md=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Fp()),deps:[[e,new la,new ca]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new Me(901,!1)}}return e.\u0275prov=ye({token:e,providedIn:"root",factory:Fp}),e})();function Lp(){return new Ad([new Pp])}let Ad=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Lp()),deps:[[e,new la,new ca]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new Me(901,!1)}}return e.\u0275prov=ye({token:e,providedIn:"root",factory:Lp}),e})();const IE=yp(null,"core",[]);let OE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Xe(Ec))},e.\u0275mod=P({type:e}),e.\u0275inj=bt({}),e})();function kE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},4006:(_t,De,f)=>{"use strict";f.d(De,{Cf:()=>rt,F:()=>Nn,Fd:()=>Zr,Fj:()=>xe,JJ:()=>Pe,JL:()=>pt,JU:()=>K,NI:()=>li,On:()=>zi,Q7:()=>Br,UX:()=>Ur,Zs:()=>Eo,_:()=>Gn,_Y:()=>kn,a5:()=>mt,cw:()=>xt,kI:()=>fe,oH:()=>ki,qQ:()=>nr,qu:()=>Vr,sg:()=>Fn,u:()=>ni,u5:()=>on,wV:()=>Er});var o=f(4650),a=f(6895),E=f(2076),W=f(4128),Q=f(4004);let G=(()=>{class M{constructor(y,z){this._renderer=y,this._elementRef=z,this.onChange=et=>{},this.onTouched=()=>{}}setProperty(y,z){this._renderer.setProperty(this._elementRef.nativeElement,y,z)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(o.Qsj),o.Y36(o.SBq))},M.\u0275dir=o.lG2({type:M}),M})(),re=(()=>{class M extends G{}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,features:[o.qOj]}),M})();const K=new o.OlP("NgValueAccessor"),he={provide:K,useExisting:(0,o.Gpc)(()=>xe),multi:!0},ke=new o.OlP("CompositionEventMode");let xe=(()=>{class M extends G{constructor(y,z,et){super(y,z),this._compositionMode=et,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function te(){const M=(0,a.q)()?(0,a.q)().getUserAgent():"";return/android (\d+)/.test(M.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(ke,8))},M.\u0275dir=o.lG2({type:M,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(y,z){1&y&&o.NdJ("input",function(zt){return z._handleInput(zt.target.value)})("blur",function(){return z.onTouched()})("compositionstart",function(){return z._compositionStart()})("compositionend",function(zt){return z._compositionEnd(zt.target.value)})},features:[o._Bn([he]),o.qOj]}),M})();function Re(M){return null==M||("string"==typeof M||Array.isArray(M))&&0===M.length}function Me(M){return null!=M&&"number"==typeof M.length}const rt=new o.OlP("NgValidators"),tt=new o.OlP("NgAsyncValidators"),Ge=/^(?=.{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 fe{static min(C){return N(C)}static max(C){return F(C)}static required(C){return U(C)}static requiredTrue(C){return ce(C)}static email(C){return function Oe(M){return Re(M.value)||Ge.test(M.value)?null:{email:!0}}(C)}static minLength(C){return function Ue(M){return C=>Re(C.value)||!Me(C.value)?null:C.value.lengthMe(C.value)&&C.value.length>M?{maxlength:{requiredLength:M,actualLength:C.value.length}}:null}(C)}static pattern(C){return function ft(M){if(!M)return It;let C,y;return"string"==typeof M?(y="","^"!==M.charAt(0)&&(y+="^"),y+=M,"$"!==M.charAt(M.length-1)&&(y+="$"),C=new RegExp(y)):(y=M.toString(),C=M),z=>{if(Re(z.value))return null;const et=z.value;return C.test(et)?null:{pattern:{requiredPattern:y,actualValue:et}}}}(C)}static nullValidator(C){return null}static compose(C){return We(C)}static composeAsync(C){return je(C)}}function N(M){return C=>{if(Re(C.value)||Re(M))return null;const y=parseFloat(C.value);return!isNaN(y)&&y{if(Re(C.value)||Re(M))return null;const y=parseFloat(C.value);return!isNaN(y)&&y>M?{max:{max:M,actual:C.value}}:null}}function U(M){return Re(M.value)?{required:!0}:null}function ce(M){return!0===M.value?null:{required:!0}}function It(M){return null}function St(M){return null!=M}function He(M){return(0,o.QGY)(M)?(0,E.D)(M):M}function Ze(M){let C={};return M.forEach(y=>{C=null!=y?{...C,...y}:C}),0===Object.keys(C).length?null:C}function nt(M,C){return C.map(y=>y(M))}function vt(M){return M.map(C=>function ut(M){return!M.validate}(C)?C:y=>C.validate(y))}function We(M){if(!M)return null;const C=M.filter(St);return 0==C.length?null:function(y){return Ze(nt(y,C))}}function ot(M){return null!=M?We(vt(M)):null}function je(M){if(!M)return null;const C=M.filter(St);return 0==C.length?null:function(y){const z=nt(y,C).map(He);return(0,W.D)(z).pipe((0,Q.U)(Ze))}}function ze(M){return null!=M?je(vt(M)):null}function Qe(M,C){return null===M?[C]:Array.isArray(M)?[...M,C]:[M,C]}function kt(M){return M._rawValidators}function ye(M){return M._rawAsyncValidators}function Le(M){return M?Array.isArray(M)?M:[M]:[]}function bt(M,C){return Array.isArray(M)?M.includes(C):M===C}function Ct(M,C){const y=Le(C);return Le(M).forEach(et=>{bt(y,et)||y.push(et)}),y}function Ft(M,C){return Le(C).filter(y=>!bt(M,y))}class Ne{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(C){this._rawValidators=C||[],this._composedValidatorFn=ot(this._rawValidators)}_setAsyncValidators(C){this._rawAsyncValidators=C||[],this._composedAsyncValidatorFn=ze(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(C){this._onDestroyCallbacks.push(C)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(C=>C()),this._onDestroyCallbacks=[]}reset(C){this.control&&this.control.reset(C)}hasError(C,y){return!!this.control&&this.control.hasError(C,y)}getError(C,y){return this.control?this.control.getError(C,y):null}}class qe extends Ne{get formDirective(){return null}get path(){return null}}class mt extends Ne{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class le{constructor(C){this._cd=C}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Pe=(()=>{class M extends le{constructor(y){super(y)}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(mt,2))},M.\u0275dir=o.lG2({type:M,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(y,z){2&y&&o.ekj("ng-untouched",z.isUntouched)("ng-touched",z.isTouched)("ng-pristine",z.isPristine)("ng-dirty",z.isDirty)("ng-valid",z.isValid)("ng-invalid",z.isInvalid)("ng-pending",z.isPending)},features:[o.qOj]}),M})(),pt=(()=>{class M extends le{constructor(y){super(y)}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(qe,10))},M.\u0275dir=o.lG2({type:M,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(y,z){2&y&&o.ekj("ng-untouched",z.isUntouched)("ng-touched",z.isTouched)("ng-pristine",z.isPristine)("ng-dirty",z.isDirty)("ng-valid",z.isValid)("ng-invalid",z.isInvalid)("ng-pending",z.isPending)("ng-submitted",z.isSubmitted)},features:[o.qOj]}),M})();const _n="VALID",xn="INVALID",Xe="PENDING",Ae="DISABLED";function I(M){return(oe(M)?M.validators:M)||null}function A(M,C){return(oe(C)?C.asyncValidators:M)||null}function oe(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}function it(M,C,y){const z=M.controls;if(!(C?Object.keys(z):z).length)throw new o.vHH(1e3,"");if(!z[y])throw new o.vHH(1001,"")}function Ot(M,C,y){M._forEachChild((z,et)=>{if(void 0===y[et])throw new o.vHH(1002,"")})}class Yt{constructor(C,y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(C),this._assignAsyncValidators(y)}get validator(){return this._composedValidatorFn}set validator(C){this._rawValidators=this._composedValidatorFn=C}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(C){this._rawAsyncValidators=this._composedAsyncValidatorFn=C}get parent(){return this._parent}get valid(){return this.status===_n}get invalid(){return this.status===xn}get pending(){return this.status==Xe}get disabled(){return this.status===Ae}get enabled(){return this.status!==Ae}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(C){this._assignValidators(C)}setAsyncValidators(C){this._assignAsyncValidators(C)}addValidators(C){this.setValidators(Ct(C,this._rawValidators))}addAsyncValidators(C){this.setAsyncValidators(Ct(C,this._rawAsyncValidators))}removeValidators(C){this.setValidators(Ft(C,this._rawValidators))}removeAsyncValidators(C){this.setAsyncValidators(Ft(C,this._rawAsyncValidators))}hasValidator(C){return bt(this._rawValidators,C)}hasAsyncValidator(C){return bt(this._rawAsyncValidators,C)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(C={}){this.touched=!0,this._parent&&!C.onlySelf&&this._parent.markAsTouched(C)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(C=>C.markAllAsTouched())}markAsUntouched(C={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(y=>{y.markAsUntouched({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}markAsDirty(C={}){this.pristine=!1,this._parent&&!C.onlySelf&&this._parent.markAsDirty(C)}markAsPristine(C={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(y=>{y.markAsPristine({onlySelf:!0})}),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}markAsPending(C={}){this.status=Xe,!1!==C.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!C.onlySelf&&this._parent.markAsPending(C)}disable(C={}){const y=this._parentMarkedDirty(C.onlySelf);this.status=Ae,this.errors=null,this._forEachChild(z=>{z.disable({...C,onlySelf:!0})}),this._updateValue(),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...C,skipPristineCheck:y}),this._onDisabledChange.forEach(z=>z(!0))}enable(C={}){const y=this._parentMarkedDirty(C.onlySelf);this.status=_n,this._forEachChild(z=>{z.enable({...C,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent}),this._updateAncestors({...C,skipPristineCheck:y}),this._onDisabledChange.forEach(z=>z(!1))}_updateAncestors(C){this._parent&&!C.onlySelf&&(this._parent.updateValueAndValidity(C),C.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(C){this._parent=C}getRawValue(){return this.value}updateValueAndValidity(C={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_n||this.status===Xe)&&this._runAsyncValidator(C.emitEvent)),!1!==C.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!C.onlySelf&&this._parent.updateValueAndValidity(C)}_updateTreeValidity(C={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(C)),this.updateValueAndValidity({onlySelf:!0,emitEvent:C.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ae:_n}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(C){if(this.asyncValidator){this.status=Xe,this._hasOwnPendingAsyncValidator=!0;const y=He(this.asyncValidator(this));this._asyncValidationSubscription=y.subscribe(z=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(z,{emitEvent:C})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(C,y={}){this.errors=C,this._updateControlsErrors(!1!==y.emitEvent)}get(C){let y=C;return null==y||(Array.isArray(y)||(y=y.split(".")),0===y.length)?null:y.reduce((z,et)=>z&&z._find(et),this)}getError(C,y){const z=y?this.get(y):this;return z&&z.errors?z.errors[C]:null}hasError(C,y){return!!this.getError(C,y)}get root(){let C=this;for(;C._parent;)C=C._parent;return C}_updateControlsErrors(C){this.status=this._calculateStatus(),C&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(C)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?Ae:this.errors?xn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xe)?Xe:this._anyControlsHaveStatus(xn)?xn:_n}_anyControlsHaveStatus(C){return this._anyControls(y=>y.status===C)}_anyControlsDirty(){return this._anyControls(C=>C.dirty)}_anyControlsTouched(){return this._anyControls(C=>C.touched)}_updatePristine(C={}){this.pristine=!this._anyControlsDirty(),this._parent&&!C.onlySelf&&this._parent._updatePristine(C)}_updateTouched(C={}){this.touched=this._anyControlsTouched(),this._parent&&!C.onlySelf&&this._parent._updateTouched(C)}_registerOnCollectionChange(C){this._onCollectionChange=C}_setUpdateStrategy(C){oe(C)&&null!=C.updateOn&&(this._updateOn=C.updateOn)}_parentMarkedDirty(C){return!C&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(C){return null}_assignValidators(C){this._rawValidators=Array.isArray(C)?C.slice():C,this._composedValidatorFn=function w(M){return Array.isArray(M)?ot(M):M||null}(this._rawValidators)}_assignAsyncValidators(C){this._rawAsyncValidators=Array.isArray(C)?C.slice():C,this._composedAsyncValidatorFn=function J(M){return Array.isArray(M)?ze(M):M||null}(this._rawAsyncValidators)}}class xt extends Yt{constructor(C,y,z){super(I(y),A(z,y)),this.controls=C,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(C,y){return this.controls[C]?this.controls[C]:(this.controls[C]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(C,y,z={}){this.registerControl(C,y),this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}removeControl(C,y={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(C,y,z={}){this.controls[C]&&this.controls[C]._registerOnCollectionChange(()=>{}),delete this.controls[C],y&&this.registerControl(C,y),this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}contains(C){return this.controls.hasOwnProperty(C)&&this.controls[C].enabled}setValue(C,y={}){Ot(this,0,C),Object.keys(C).forEach(z=>{it(this,!0,z),this.controls[z].setValue(C[z],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(C,y={}){null!=C&&(Object.keys(C).forEach(z=>{const et=this.controls[z];et&&et.patchValue(C[z],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(C={},y={}){this._forEachChild((z,et)=>{z.reset(C[et],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(C,y,z)=>(C[z]=y.getRawValue(),C))}_syncPendingControls(){let C=this._reduceChildren(!1,(y,z)=>!!z._syncPendingControls()||y);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){Object.keys(this.controls).forEach(y=>{const z=this.controls[y];z&&C(z,y)})}_setUpControls(){this._forEachChild(C=>{C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(C){for(const[y,z]of Object.entries(this.controls))if(this.contains(y)&&C(z))return!0;return!1}_reduceValue(){return this._reduceChildren({},(y,z,et)=>((z.enabled||this.disabled)&&(y[et]=z.value),y))}_reduceChildren(C,y){let z=C;return this._forEachChild((et,zt)=>{z=y(z,et,zt)}),z}_allControlsDisabled(){for(const C of Object.keys(this.controls))if(this.controls[C].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(C){return this.controls.hasOwnProperty(C)?this.controls[C]:null}}class Cn extends xt{}const be=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ee}),Ee="always";function q(M,C){return[...C.path,M]}function Te(M,C,y=Ee){Rn(M,C),C.valueAccessor.writeValue(M.value),(M.disabled||"always"===y)&&C.valueAccessor.setDisabledState?.(M.disabled),function Zn(M,C){C.valueAccessor.registerOnChange(y=>{M._pendingValue=y,M._pendingChange=!0,M._pendingDirty=!0,"change"===M.updateOn&&R(M,C)})}(M,C),function P(M,C){const y=(z,et)=>{C.valueAccessor.writeValue(z),et&&C.viewToModelUpdate(z)};M.registerOnChange(y),C._registerOnDestroy(()=>{M._unregisterOnChange(y)})}(M,C),function ie(M,C){C.valueAccessor.registerOnTouched(()=>{M._pendingTouched=!0,"blur"===M.updateOn&&M._pendingChange&&R(M,C),"submit"!==M.updateOn&&M.markAsTouched()})}(M,C),function qt(M,C){if(C.valueAccessor.setDisabledState){const y=z=>{C.valueAccessor.setDisabledState(z)};M.registerOnDisabledChange(y),C._registerOnDestroy(()=>{M._unregisterOnDisabledChange(y)})}}(M,C)}function dt(M,C,y=!0){const z=()=>{};C.valueAccessor&&(C.valueAccessor.registerOnChange(z),C.valueAccessor.registerOnTouched(z)),vn(M,C),M&&(C._invokeOnDestroyCallbacks(),M._registerOnCollectionChange(()=>{}))}function Nt(M,C){M.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(C)})}function Rn(M,C){const y=kt(M);null!==C.validator?M.setValidators(Qe(y,C.validator)):"function"==typeof y&&M.setValidators([y]);const z=ye(M);null!==C.asyncValidator?M.setAsyncValidators(Qe(z,C.asyncValidator)):"function"==typeof z&&M.setAsyncValidators([z]);const et=()=>M.updateValueAndValidity();Nt(C._rawValidators,et),Nt(C._rawAsyncValidators,et)}function vn(M,C){let y=!1;if(null!==M){if(null!==C.validator){const et=kt(M);if(Array.isArray(et)&&et.length>0){const zt=et.filter(Wn=>Wn!==C.validator);zt.length!==et.length&&(y=!0,M.setValidators(zt))}}if(null!==C.asyncValidator){const et=ye(M);if(Array.isArray(et)&&et.length>0){const zt=et.filter(Wn=>Wn!==C.asyncValidator);zt.length!==et.length&&(y=!0,M.setAsyncValidators(zt))}}}const z=()=>{};return Nt(C._rawValidators,z),Nt(C._rawAsyncValidators,z),y}function R(M,C){M._pendingDirty&&M.markAsDirty(),M.setValue(M._pendingValue,{emitModelToViewChange:!1}),C.viewToModelUpdate(M._pendingValue),M._pendingChange=!1}function X(M,C){Rn(M,C)}function Yn(M,C){if(!M.hasOwnProperty("model"))return!1;const y=M.model;return!!y.isFirstChange()||!Object.is(C,y.currentValue)}function wn(M,C){M._syncPendingControls(),C.forEach(y=>{const z=y.control;"submit"===z.updateOn&&z._pendingChange&&(y.viewToModelUpdate(z._pendingValue),z._pendingChange=!1)})}function Lt(M,C){if(!C)return null;let y,z,et;return Array.isArray(C),C.forEach(zt=>{zt.constructor===xe?y=zt:function ei(M){return Object.getPrototypeOf(M.constructor)===re}(zt)?z=zt:et=zt}),et||z||y||null}const ti={provide:qe,useExisting:(0,o.Gpc)(()=>Nn)},Bn=(()=>Promise.resolve())();let Nn=(()=>{class M extends qe{constructor(y,z,et){super(),this.callSetDisabledState=et,this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.vpe,this.form=new xt({},ot(y),ze(z))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(y){Bn.then(()=>{const z=this._findContainer(y.path);y.control=z.registerControl(y.name,y.control),Te(y.control,y,this.callSetDisabledState),y.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(y)})}getControl(y){return this.form.get(y.path)}removeControl(y){Bn.then(()=>{const z=this._findContainer(y.path);z&&z.removeControl(y.name),this._directives.delete(y)})}addFormGroup(y){Bn.then(()=>{const z=this._findContainer(y.path),et=new xt({});X(et,y),z.registerControl(y.name,et),et.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(y){Bn.then(()=>{const z=this._findContainer(y.path);z&&z.removeControl(y.name)})}getFormGroup(y){return this.form.get(y.path)}updateModel(y,z){Bn.then(()=>{this.form.get(y.path).setValue(z)})}setValue(y){this.control.setValue(y)}onSubmit(y){return this.submitted=!0,wn(this.form,this._directives),this.ngSubmit.emit(y),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(y){return y.pop(),y.length?this.form.get(y):this.form}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(rt,10),o.Y36(tt,10),o.Y36(be,8))},M.\u0275dir=o.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(y,z){1&y&&o.NdJ("submit",function(zt){return z.onSubmit(zt)})("reset",function(){return z.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([ti]),o.qOj]}),M})();function ci(M,C){const y=M.indexOf(C);y>-1&&M.splice(y,1)}function mn(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}const li=class extends Yt{constructor(C=null,y,z){super(I(y),A(z,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(C),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oe(y)&&(y.nonNullable||y.initialValueIsDefault)&&(this.defaultValue=mn(C)?C.value:C)}setValue(C,y={}){this.value=this._pendingValue=C,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(z=>z(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(C,y={}){this.setValue(C,y)}reset(C=this.defaultValue,y={}){this._applyFormState(C),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(C){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(C){this._onChange.push(C)}_unregisterOnChange(C){ci(this._onChange,C)}registerOnDisabledChange(C){this._onDisabledChange.push(C)}_unregisterOnDisabledChange(C){ci(this._onDisabledChange,C)}_forEachChild(C){}_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(C){mn(C)?(this.value=this._pendingValue=C.value,C.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=C}},Xn={provide:mt,useExisting:(0,o.Gpc)(()=>zi)},Bi=(()=>Promise.resolve())();let zi=(()=>{class M extends mt{constructor(y,z,et,zt,Wn,st){super(),this._changeDetectorRef=Wn,this.callSetDisabledState=st,this.control=new li,this._registered=!1,this.update=new o.vpe,this._parent=y,this._setValidators(z),this._setAsyncValidators(et),this.valueAccessor=Lt(0,zt)}ngOnChanges(y){if(this._checkForErrors(),!this._registered||"name"in y){if(this._registered&&(this._checkName(),this.formDirective)){const z=y.name.previousValue;this.formDirective.removeControl({name:z,path:this._getPath(z)})}this._setUpControl()}"isDisabled"in y&&this._updateDisabled(y),Yn(y,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Te(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(y){Bi.then(()=>{this.control.setValue(y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(y){const z=y.isDisabled.currentValue,et=0!==z&&(0,o.D6c)(z);Bi.then(()=>{et&&!this.control.disabled?this.control.disable():!et&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(y){return this._parent?q(y,this._parent):[y]}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(qe,9),o.Y36(rt,10),o.Y36(tt,10),o.Y36(K,10),o.Y36(o.sBO,8),o.Y36(be,8))},M.\u0275dir=o.lG2({type:M,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([Xn]),o.qOj,o.TTD]}),M})(),kn=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275dir=o.lG2({type:M,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),M})();const mi={provide:K,useExisting:(0,o.Gpc)(()=>Er),multi:!0};let Er=(()=>{class M extends re{writeValue(y){this.setProperty("value",y??"")}registerOnChange(y){this.onChange=z=>{y(""==z?null:parseFloat(z))}}}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(y,z){1&y&&o.NdJ("input",function(zt){return z.onChange(zt.target.value)})("blur",function(){return z.onTouched()})},features:[o._Bn([mi]),o.qOj]}),M})();const _o={provide:K,useExisting:(0,o.Gpc)(()=>Gn),multi:!0};let Ei=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({}),M})(),Vi=(()=>{class M{constructor(){this._accessors=[]}add(y,z){this._accessors.push([y,z])}remove(y){for(let z=this._accessors.length-1;z>=0;--z)if(this._accessors[z][1]===y)return void this._accessors.splice(z,1)}select(y){this._accessors.forEach(z=>{this._isSameGroup(z,y)&&z[1]!==y&&z[1].fireUncheck(y.value)})}_isSameGroup(y,z){return!!y[0].control&&y[0]._parent===z._control._parent&&y[1].name===z.name}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275prov=o.Yz7({token:M,factory:M.\u0275fac,providedIn:Ei}),M})(),Gn=(()=>{class M extends re{constructor(y,z,et,zt){super(y,z),this._registry=et,this._injector=zt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(mt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(y){this._state=y===this.value,this.setProperty("checked",this._state)}registerOnChange(y){this._fn=y,this.onChange=()=>{y(this.value),this._registry.select(this)}}fireUncheck(y){this.writeValue(y)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Vi),o.Y36(o.zs3))},M.\u0275dir=o.lG2({type:M,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(y,z){1&y&&o.NdJ("change",function(){return z.onChange()})("blur",function(){return z.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o._Bn([_o]),o.qOj]}),M})();const Un=new o.OlP("NgModelWithFormControlWarning"),Or={provide:mt,useExisting:(0,o.Gpc)(()=>ki)};let ki=(()=>{class M extends mt{set isDisabled(y){}constructor(y,z,et,zt,Wn){super(),this._ngModelWarningConfig=zt,this.callSetDisabledState=Wn,this.update=new o.vpe,this._ngModelWarningSent=!1,this._setValidators(y),this._setAsyncValidators(z),this.valueAccessor=Lt(0,et)}ngOnChanges(y){if(this._isControlChanged(y)){const z=y.form.previousValue;z&&dt(z,this,!1),Te(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Yn(y,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&dt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_isControlChanged(y){return y.hasOwnProperty("form")}}return M._ngModelWarningSentOnce=!1,M.\u0275fac=function(y){return new(y||M)(o.Y36(rt,10),o.Y36(tt,10),o.Y36(K,10),o.Y36(Un,8),o.Y36(be,8))},M.\u0275dir=o.lG2({type:M,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o._Bn([Or]),o.qOj,o.TTD]}),M})();const Dr={provide:qe,useExisting:(0,o.Gpc)(()=>Fn)};let Fn=(()=>{class M extends qe{constructor(y,z,et){super(),this.callSetDisabledState=et,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(y),this._setAsyncValidators(z)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(vn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const z=this.form.get(y.path);return Te(z,y,this.callSetDisabledState),z.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),z}getControl(y){return this.form.get(y.path)}removeControl(y){dt(y.control||null,y,!1),function nn(M,C){const y=M.indexOf(C);y>-1&&M.splice(y,1)}(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,z){this.form.get(y.path).setValue(z)}onSubmit(y){return this.submitted=!0,wn(this.form,this.directives),this.ngSubmit.emit(y),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_updateDomValue(){this.directives.forEach(y=>{const z=y.control,et=this.form.get(y.path);z!==et&&(dt(z||null,y),(M=>M instanceof li)(et)&&(Te(et,y,this.callSetDisabledState),y.control=et))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const z=this.form.get(y.path);X(z,y),z.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const z=this.form.get(y.path);z&&function Ye(M,C){return vn(M,C)}(z,y)&&z.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Rn(this.form,this),this._oldForm&&vn(this._oldForm,this)}_checkFormPresent(){}}return M.\u0275fac=function(y){return new(y||M)(o.Y36(rt,10),o.Y36(tt,10),o.Y36(be,8))},M.\u0275dir=o.lG2({type:M,selectors:[["","formGroup",""]],hostBindings:function(y,z){1&y&&o.NdJ("submit",function(zt){return z.onSubmit(zt)})("reset",function(){return z.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Dr]),o.qOj,o.TTD]}),M})();const No={provide:mt,useExisting:(0,o.Gpc)(()=>ni)};let ni=(()=>{class M extends mt{set isDisabled(y){}constructor(y,z,et,zt,Wn){super(),this._ngModelWarningConfig=Wn,this._added=!1,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=y,this._setValidators(z),this._setAsyncValidators(et),this.valueAccessor=Lt(0,zt)}ngOnChanges(y){this._added||this._setUpControl(),Yn(y,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}get path(){return q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return M._ngModelWarningSentOnce=!1,M.\u0275fac=function(y){return new(y||M)(o.Y36(qe,13),o.Y36(rt,10),o.Y36(tt,10),o.Y36(K,10),o.Y36(Un,8))},M.\u0275dir=o.lG2({type:M,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([No]),o.qOj,o.TTD]}),M})();function er(M){return"number"==typeof M?M:parseFloat(M)}let Ri=(()=>{class M{constructor(){this._validator=It}ngOnChanges(y){if(this.inputName in y){const z=this.normalizeInput(y[this.inputName].currentValue);this._enabled=this.enabled(z),this._validator=this._enabled?this.createValidator(z):It,this._onChange&&this._onChange()}}validate(y){return this._validator(y)}registerOnValidatorChange(y){this._onChange=y}enabled(y){return null!=y}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275dir=o.lG2({type:M,features:[o.TTD]}),M})();const tr={provide:rt,useExisting:(0,o.Gpc)(()=>Zr),multi:!0};let Zr=(()=>{class M extends Ri{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=y=>er(y),this.createValidator=y=>F(y)}}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(y,z){2&y&&o.uIk("max",z._enabled?z.max:null)},inputs:{max:"max"},features:[o._Bn([tr]),o.qOj]}),M})();const Nr={provide:rt,useExisting:(0,o.Gpc)(()=>nr),multi:!0};let nr=(()=>{class M extends Ri{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=y=>er(y),this.createValidator=y=>N(y)}}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(y,z){2&y&&o.uIk("min",z._enabled?z.min:null)},inputs:{min:"min"},features:[o._Bn([Nr]),o.qOj]}),M})();const Bo={provide:rt,useExisting:(0,o.Gpc)(()=>Br),multi:!0},Vo={provide:rt,useExisting:(0,o.Gpc)(()=>Eo),multi:!0};let Br=(()=>{class M extends Ri{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.D6c,this.createValidator=y=>U}enabled(y){return y}}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(y,z){2&y&&o.uIk("required",z._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([Bo]),o.qOj]}),M})(),Eo=(()=>{class M extends Br{constructor(){super(...arguments),this.createValidator=y=>ce}}return M.\u0275fac=function(){let C;return function(z){return(C||(C=o.n5z(M)))(z||M)}}(),M.\u0275dir=o.lG2({type:M,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(y,z){2&y&&o.uIk("required",z._enabled?"":null)},features:[o._Bn([Vo]),o.qOj]}),M})(),dr=(()=>{class M{}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({imports:[Ei]}),M})();class $i extends Yt{constructor(C,y,z){super(I(y),A(z,y)),this.controls=C,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(C){return this.controls[this._adjustIndex(C)]}push(C,y={}){this.controls.push(C),this._registerControl(C),this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}insert(C,y,z={}){this.controls.splice(C,0,y),this._registerControl(y),this.updateValueAndValidity({emitEvent:z.emitEvent})}removeAt(C,y={}){let z=this._adjustIndex(C);z<0&&(z=0),this.controls[z]&&this.controls[z]._registerOnCollectionChange(()=>{}),this.controls.splice(z,1),this.updateValueAndValidity({emitEvent:y.emitEvent})}setControl(C,y,z={}){let et=this._adjustIndex(C);et<0&&(et=0),this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),this.controls.splice(et,1),y&&(this.controls.splice(et,0,y),this._registerControl(y)),this.updateValueAndValidity({emitEvent:z.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(C,y={}){Ot(this,0,C),C.forEach((z,et)=>{it(this,!1,et),this.at(et).setValue(z,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(C,y={}){null!=C&&(C.forEach((z,et)=>{this.at(et)&&this.at(et).patchValue(z,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(C=[],y={}){this._forEachChild((z,et)=>{z.reset(C[et],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this.controls.map(C=>C.getRawValue())}clear(C={}){this.controls.length<1||(this._forEachChild(y=>y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:C.emitEvent}))}_adjustIndex(C){return C<0?C+this.length:C}_syncPendingControls(){let C=this.controls.reduce((y,z)=>!!z._syncPendingControls()||y,!1);return C&&this.updateValueAndValidity({onlySelf:!0}),C}_forEachChild(C){this.controls.forEach((y,z)=>{C(y,z)})}_updateValue(){this.value=this.controls.filter(C=>C.enabled||this.disabled).map(C=>C.value)}_anyControls(C){return this.controls.some(y=>y.enabled&&C(y))}_setUpControls(){this._forEachChild(C=>this._registerControl(C))}_allControlsDisabled(){for(const C of this.controls)if(C.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(C){C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange)}_find(C){return this.at(C)??null}}function Mi(M){return!!M&&(void 0!==M.asyncValidators||void 0!==M.validators||void 0!==M.updateOn)}let Vr=(()=>{class M{constructor(){this.useNonNullable=!1}get nonNullable(){const y=new M;return y.useNonNullable=!0,y}group(y,z=null){const et=this._reduceControls(y);let zt={};return Mi(z)?zt=z:null!==z&&(zt.validators=z.validator,zt.asyncValidators=z.asyncValidator),new xt(et,zt)}record(y,z=null){const et=this._reduceControls(y);return new Cn(et,z)}control(y,z,et){let zt={};return this.useNonNullable?(Mi(z)?zt=z:(zt.validators=z,zt.asyncValidators=et),new li(y,{...zt,nonNullable:!0})):new li(y,z,et)}array(y,z,et){const zt=y.map(Wn=>this._createControl(Wn));return new $i(zt,z,et)}_reduceControls(y){const z={};return Object.keys(y).forEach(et=>{z[et]=this._createControl(y[et])}),z}_createControl(y){return y instanceof li||y instanceof Yt?y:Array.isArray(y)?this.control(y[0],y.length>1?y[1]:null,y.length>2?y[2]:null):this.control(y)}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275prov=o.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),on=(()=>{class M{static withConfig(y){return{ngModule:M,providers:[{provide:be,useValue:y.callSetDisabledState??Ee}]}}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({imports:[dr]}),M})(),Ur=(()=>{class M{static withConfig(y){return{ngModule:M,providers:[{provide:Un,useValue:y.warnOnNgModelWithFormControl??"always"},{provide:be,useValue:y.callSetDisabledState??Ee}]}}}return M.\u0275fac=function(y){return new(y||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({imports:[dr]}),M})()},7957:(_t,De,f)=>{"use strict";f.d(De,{Bb:()=>Ne,XC:()=>ot,ZL:()=>Ft});var o=f(4650),a=f(3238),E=f(6895),W=f(5589),Q=f(8184),G=f(2687),re=f(1281),K=f(3353),Z=f(7340),ee=f(727),he=f(7579),te=f(9770),ke=f(6451),xe=f(9646),Se=f(4968),Re=f(9521),Me=f(4080),rt=f(4006),tt=f(9549),Ge=f(8675),fe=f(3900),N=f(5698),F=f(9300),U=f(4004),ce=f(8505),Oe=f(1005),Ue=f(445);const at=["panel"];function ft(qe,mt){if(1&qe&&(o.TgZ(0,"div",0,1),o.Hsn(2),o.qZA()),2&qe){const le=mt.id,we=o.oxw();o.Q6J("id",we.id)("ngClass",we._classList)("@panelAnimation",we.isOpen?"visible":"hidden"),o.uIk("aria-label",we.ariaLabel||null)("aria-labelledby",we._getPanelAriaLabelledby(le))}}const It=["*"],St=(0,Z.X$)("panelAnimation",[(0,Z.SB)("void, hidden",(0,Z.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,Z.eR)(":enter, hidden => visible",[(0,Z.ru)([(0,Z.jt)("0.03s linear",(0,Z.oB)({opacity:1})),(0,Z.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,Z.oB)({transform:"scaleY(1)"}))])]),(0,Z.eR)(":leave, visible => hidden",[(0,Z.jt)("0.075s linear",(0,Z.oB)({opacity:0}))])]);let He=0;class Ze{constructor(mt,le){this.source=mt,this.option=le}}const nt=(0,a.Kr)(class{}),ut=new o.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function vt(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let We=(()=>{class qe extends nt{get isOpen(){return this._isOpen&&this.showPanel}_setColor(le){this._color=le,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(le){this._autoActiveFirstOption=(0,re.Ig)(le)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(le){this._autoSelectActiveOption=(0,re.Ig)(le)}set classList(le){this._classList=le&&le.length?(0,re.du)(le).reduce((we,ne)=>(we[ne]=!0,we),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(le,we,ne,Pe){super(),this._changeDetectorRef=le,this._elementRef=we,this._activeOptionChanges=ee.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new o.vpe,this.opened=new o.vpe,this.closed=new o.vpe,this.optionActivated=new o.vpe,this._classList={},this.id="mat-autocomplete-"+He++,this.inertGroups=Pe?.SAFARI||!1,this._autoActiveFirstOption=!!ne.autoActiveFirstOption,this._autoSelectActiveOption=!!ne.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new G.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(le=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[le]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(le){this.panel&&(this.panel.nativeElement.scrollTop=le)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(le){const we=new Ze(this,le);this.optionSelected.emit(we)}_getPanelAriaLabelledby(le){return this.ariaLabel?null:this.ariaLabelledby?(le?le+" ":"")+this.ariaLabelledby:le}_setVisibilityClasses(le){le[this._visibleClass]=this.showPanel,le[this._hiddenClass]=!this.showPanel}_setThemeClasses(le){le["mat-primary"]="primary"===this._color,le["mat-warn"]="warn"===this._color,le["mat-accent"]="accent"===this._color}}return qe.\u0275fac=function(le){return new(le||qe)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(ut),o.Y36(K.t4))},qe.\u0275dir=o.lG2({type:qe,viewQuery:function(le,we){if(1&le&&(o.Gf(o.Rgc,7),o.Gf(at,5)),2&le){let ne;o.iGM(ne=o.CRH())&&(we.template=ne.first),o.iGM(ne=o.CRH())&&(we.panel=ne.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[o.qOj]}),qe})(),ot=(()=>{class qe extends We{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden"}}return qe.\u0275fac=function(){let mt;return function(we){return(mt||(mt=o.n5z(qe)))(we||qe)}}(),qe.\u0275cmp=o.Xpm({type:qe,selectors:[["mat-autocomplete"]],contentQueries:function(le,we,ne){if(1&le&&(o.Suo(ne,a.K7,5),o.Suo(ne,a.ey,5)),2&le){let Pe;o.iGM(Pe=o.CRH())&&(we.optionGroups=Pe),o.iGM(Pe=o.CRH())&&(we.options=Pe)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[o._Bn([{provide:a.HF,useExisting:qe}]),o.qOj],ngContentSelectors:It,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(le,we){1&le&&(o.F$t(),o.YNc(0,ft,3,5,"ng-template"))},dependencies:[E.mk],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[St]},changeDetection:0}),qe})();const Qe={provide:rt.JU,useExisting:(0,o.Gpc)(()=>Ft),multi:!0},ye=new o.OlP("mat-autocomplete-scroll-strategy"),bt={provide:ye,deps:[Q.aV],useFactory:function Le(qe){return()=>qe.scrollStrategies.reposition()}};let Ct=(()=>{class qe{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(le){this._autocompleteDisabled=(0,re.Ig)(le)}constructor(le,we,ne,Pe,pt,de,L,se,ue,Be,ht){this._element=le,this._overlay=we,this._viewContainerRef=ne,this._zone=Pe,this._changeDetectorRef=pt,this._dir=L,this._formField=se,this._document=ue,this._viewportRuler=Be,this._defaults=ht,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=ee.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new he.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,te.P)(()=>{const ct=this.autocomplete?this.autocomplete.options:null;return ct?ct.changes.pipe((0,Ge.O)(ct),(0,fe.w)(()=>(0,ke.T)(...ct.map(Et=>Et.onSelectionChange)))):this._zone.onStable.pipe((0,N.q)(1),(0,fe.w)(()=>this.optionSelections))}),this._scrollStrategy=de}ngAfterViewInit(){const le=this._getWindow();typeof le<"u"&&this._zone.runOutsideAngular(()=>le.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(le){le.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const le=this._getWindow();typeof le<"u"&&le.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,ke.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,F.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,F.h)(()=>this._overlayAttached)):(0,xe.of)()).pipe((0,U.U)(le=>le instanceof a.rN?le:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,ke.T)((0,Se.R)(this._document,"click"),(0,Se.R)(this._document,"auxclick"),(0,Se.R)(this._document,"touchend")).pipe((0,F.h)(le=>{const we=(0,K.sA)(le),ne=this._formField?this._formField._elementRef.nativeElement:null,Pe=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&we!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ne||!ne.contains(we))&&(!Pe||!Pe.contains(we))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(we)}))}writeValue(le){Promise.resolve(null).then(()=>this._assignOptionValue(le))}registerOnChange(le){this._onChange=le}registerOnTouched(le){this._onTouched=le}setDisabledState(le){this._element.nativeElement.disabled=le}_handleKeydown(le){const we=le.keyCode,ne=(0,Re.Vb)(le);if(we===Re.hY&&!ne&&le.preventDefault(),this.activeOption&&we===Re.K5&&this.panelOpen&&!ne)this.activeOption._selectViaInteraction(),this._resetActiveItem(),le.preventDefault();else if(this.autocomplete){const Pe=this.autocomplete._keyManager.activeItem,pt=we===Re.LH||we===Re.JH;we===Re.Mf||pt&&!ne&&this.panelOpen?this.autocomplete._keyManager.onKeydown(le):pt&&this._canOpen()&&this.openPanel(),(pt||this.autocomplete._keyManager.activeItem!==Pe)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(le){let we=le.target,ne=we.value;"number"===we.type&&(ne=""==ne?null:parseFloat(ne)),this._previousValue!==ne&&(this._previousValue=ne,this._pendingAutoselectedOption=null,this._onChange(ne),this._canOpen()&&this._document.activeElement===le.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(le=!1){this._formField&&"auto"===this._formField.floatLabel&&(le?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const le=this._zone.onStable.pipe((0,N.q)(1)),we=this.autocomplete.options.changes.pipe((0,ce.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Oe.g)(0));return(0,ke.T)(le,we).pipe((0,fe.w)(()=>(this._zone.run(()=>{const ne=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),ne!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,N.q)(1)).subscribe(ne=>this._setValueAndClose(ne))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(le){const we=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(le):le;this._updateNativeInputValue(we??"")}_updateNativeInputValue(le){this._formField?this._formField._control.value=le:this._element.nativeElement.value=le,this._previousValue=le}_setValueAndClose(le){const we=le?le.source:this._pendingAutoselectedOption;we&&(this._clearPreviousSelectedOption(we),this._assignOptionValue(we.value),this._onChange(we.value),this.autocomplete._emitSelectEvent(we),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(le){this.autocomplete.options.forEach(we=>{we!==le&&we.selected&&we.deselect()})}_attachOverlay(){let le=this._overlayRef;le?(this._positionStrategy.setOrigin(this._getConnectedElement()),le.updateSize({width:this._getPanelWidth()})):(this._portal=new Me.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),le=this._overlay.create(this._getOverlayConfig()),this._overlayRef=le,this._handleOverlayEvents(le),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&le&&le.updateSize({width:this._getPanelWidth()})})),le&&!le.hasAttached()&&(le.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const we=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&we!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new Q.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const le=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(le),this._positionStrategy=le,le}_setStrategyPositions(le){const we=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ne=this._aboveClass,Pe=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ne},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ne}];let pt;pt="above"===this.position?Pe:"below"===this.position?we:[...we,...Pe],le.withPositions(pt)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const le=this.autocomplete;le.autoActiveFirstOption?le._keyManager.setFirstItemActive():le._keyManager.setActiveItem(-1)}_canOpen(){const le=this._element.nativeElement;return!le.readOnly&&!le.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(le){const we=this.autocomplete,ne=(0,a.CB)(le,we.options,we.optionGroups);if(0===le&&1===ne)we._setScrollTop(0);else if(we.panel){const Pe=we.options.toArray()[le];if(Pe){const pt=Pe._getHostElement(),de=(0,a.jH)(pt.offsetTop,pt.offsetHeight,we._getScrollTop(),we.panel.nativeElement.offsetHeight);we._setScrollTop(de)}}}_handleOverlayEvents(le){le.keydownEvents().subscribe(we=>{(we.keyCode===Re.hY&&!(0,Re.Vb)(we)||we.keyCode===Re.LH&&(0,Re.Vb)(we,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),we.stopPropagation(),we.preventDefault())}),le.outsidePointerEvents().subscribe()}}return qe.\u0275fac=function(le){return new(le||qe)(o.Y36(o.SBq),o.Y36(Q.aV),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(o.sBO),o.Y36(ye),o.Y36(Ue.Is,8),o.Y36(tt.G_,9),o.Y36(E.K0,8),o.Y36(W.rL),o.Y36(ut,8))},qe.\u0275dir=o.lG2({type:qe,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[o.TTD]}),qe})(),Ft=(()=>{class qe extends Ct{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return qe.\u0275fac=function(){let mt;return function(we){return(mt||(mt=o.n5z(qe)))(we||qe)}}(),qe.\u0275dir=o.lG2({type:qe,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(le,we){1&le&&o.NdJ("focusin",function(){return we._handleFocus()})("blur",function(){return we._onTouched()})("input",function(Pe){return we._handleInput(Pe)})("keydown",function(Pe){return we._handleKeydown(Pe)})("click",function(){return we._handleClick()}),2&le&&o.uIk("autocomplete",we.autocompleteAttribute)("role",we.autocompleteDisabled?null:"combobox")("aria-autocomplete",we.autocompleteDisabled?null:"list")("aria-activedescendant",we.panelOpen&&we.activeOption?we.activeOption.id:null)("aria-expanded",we.autocompleteDisabled?null:we.panelOpen.toString())("aria-owns",we.autocompleteDisabled||!we.panelOpen||null==we.autocomplete?null:we.autocomplete.id)("aria-haspopup",we.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[o._Bn([Qe]),o.qOj]}),qe})(),Ne=(()=>{class qe{}return qe.\u0275fac=function(le){return new(le||qe)},qe.\u0275mod=o.oAB({type:qe}),qe.\u0275inj=o.cJS({providers:[bt],imports:[Q.U8,a.Ng,a.BQ,E.ez,W.ZD,a.Ng,a.BQ]}),qe})()},4859:(_t,De,f)=>{"use strict";f.d(De,{RK:()=>nt,lW:()=>U,nh:()=>St,ot:()=>vt,zs:()=>ce});var o=f(3353),a=f(4650),E=f(2687),W=f(3238);const Q=["mat-button",""],G=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],re=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Z=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",he=["mat-mini-fab",""],ke=["mat-icon-button",""],xe=["*"],rt=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],tt=(0,W.pj)((0,W.Id)((0,W.Kr)(class{constructor(We){this._elementRef=We}})));let Ge=(()=>{class We extends tt{constructor(je,ze,Qe,kt){super(je),this._platform=ze,this._ngZone=Qe,this._animationMode=kt,this._focusMonitor=(0,a.f3M)(E.tE),this._isFab=!1;const ye=je.nativeElement.classList;for(const Le of rt)this._hasHostAttributes(Le.selector)&&Le.mdcClasses.forEach(bt=>{ye.add(bt)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(je="program",ze){je?this._focusMonitor.focusVia(this._elementRef.nativeElement,je,ze):this._elementRef.nativeElement.focus(ze)}_hasHostAttributes(...je){return je.some(ze=>this._elementRef.nativeElement.hasAttribute(ze))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return We.\u0275fac=function(je){a.$Z()},We.\u0275dir=a.lG2({type:We,viewQuery:function(je,ze){if(1&je&&a.Gf(W.wG,5),2&je){let Qe;a.iGM(Qe=a.CRH())&&(ze.ripple=Qe.first)}},features:[a.qOj]}),We})(),F=(()=>{class We extends Ge{constructor(je,ze,Qe,kt){super(je,ze,Qe,kt),this._haltDisabledEvents=ye=>{this.disabled&&(ye.preventDefault(),ye.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return We.\u0275fac=function(je){a.$Z()},We.\u0275dir=a.lG2({type:We,features:[a.qOj]}),We})(),U=(()=>{class We extends Ge{constructor(je,ze,Qe,kt){super(je,ze,Qe,kt)}}return We.\u0275fac=function(je){return new(je||We)(a.Y36(a.SBq),a.Y36(o.t4),a.Y36(a.R0b),a.Y36(a.QbO,8))},We.\u0275cmp=a.Xpm({type:We,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(je,ze){2&je&&(a.uIk("disabled",ze.disabled||null),a.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode)("mat-unthemed",!ze.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.qOj],attrs:Q,ngContentSelectors:re,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(je,ze){1&je&&(a.F$t(G),a._UZ(0,"span",0),a.Hsn(1),a.TgZ(2,"span",1),a.Hsn(3,1),a.qZA(),a.Hsn(4,2),a._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&je&&(a.ekj("mdc-button__ripple",!ze._isFab)("mdc-fab__ripple",ze._isFab),a.xp6(6),a.Q6J("matRippleDisabled",ze._isRippleDisabled())("matRippleTrigger",ze._elementRef.nativeElement))},dependencies:[W.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),We})(),ce=(()=>{class We extends F{constructor(je,ze,Qe,kt){super(je,ze,Qe,kt)}}return We.\u0275fac=function(je){return new(je||We)(a.Y36(a.SBq),a.Y36(o.t4),a.Y36(a.R0b),a.Y36(a.QbO,8))},We.\u0275cmp=a.Xpm({type:We,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(je,ze){2&je&&(a.uIk("disabled",ze.disabled||null)("tabindex",ze.disabled?-1:ze.tabIndex)("aria-disabled",ze.disabled.toString()),a.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode)("mat-unthemed",!ze.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[a.qOj],attrs:Q,ngContentSelectors:re,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(je,ze){1&je&&(a.F$t(G),a._UZ(0,"span",0),a.Hsn(1),a.TgZ(2,"span",1),a.Hsn(3,1),a.qZA(),a.Hsn(4,2),a._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&je&&(a.ekj("mdc-button__ripple",!ze._isFab)("mdc-fab__ripple",ze._isFab),a.xp6(6),a.Q6J("matRippleDisabled",ze._isRippleDisabled())("matRippleTrigger",ze._elementRef.nativeElement))},dependencies:[W.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',Z],encapsulation:2,changeDetection:0}),We})();const Oe=new a.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:Ue});function Ue(){return{color:"accent"}}const at=Ue();let St=(()=>{class We extends Ge{constructor(je,ze,Qe,kt,ye){super(je,ze,Qe,kt),this._options=ye,this._isFab=!0,this._options=this._options||at,this.color=this.defaultColor=this._options.color||at.color}}return We.\u0275fac=function(je){return new(je||We)(a.Y36(a.SBq),a.Y36(o.t4),a.Y36(a.R0b),a.Y36(a.QbO,8),a.Y36(Oe,8))},We.\u0275cmp=a.Xpm({type:We,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(je,ze){2&je&&(a.uIk("disabled",ze.disabled||null),a.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode)("mat-unthemed",!ze.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.qOj],attrs:he,ngContentSelectors:re,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(je,ze){1&je&&(a.F$t(G),a._UZ(0,"span",0),a.Hsn(1),a.TgZ(2,"span",1),a.Hsn(3,1),a.qZA(),a.Hsn(4,2),a._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&je&&(a.ekj("mdc-button__ripple",!ze._isFab)("mdc-fab__ripple",ze._isFab),a.xp6(6),a.Q6J("matRippleDisabled",ze._isRippleDisabled())("matRippleTrigger",ze._elementRef.nativeElement))},dependencies:[W.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),We})(),nt=(()=>{class We extends Ge{constructor(je,ze,Qe,kt){super(je,ze,Qe,kt)}}return We.\u0275fac=function(je){return new(je||We)(a.Y36(a.SBq),a.Y36(o.t4),a.Y36(a.R0b),a.Y36(a.QbO,8))},We.\u0275cmp=a.Xpm({type:We,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(je,ze){2&je&&(a.uIk("disabled",ze.disabled||null),a.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode)("mat-unthemed",!ze.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.qOj],attrs:ke,ngContentSelectors:xe,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(je,ze){1&je&&(a.F$t(),a._UZ(0,"span",0),a.Hsn(1),a._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&je&&(a.xp6(3),a.Q6J("matRippleDisabled",ze._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",ze._elementRef.nativeElement))},dependencies:[W.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Z],encapsulation:2,changeDetection:0}),We})(),vt=(()=>{class We{}return We.\u0275fac=function(je){return new(je||We)},We.\u0275mod=a.oAB({type:We}),We.\u0275inj=a.cJS({imports:[W.BQ,W.si,W.BQ]}),We})()},6709:(_t,De,f)=>{"use strict";f.d(De,{oG:()=>Re,p9:()=>Ge});var o=f(4650),a=f(4006),E=f(3238),W=f(1281);const Q=["input"],G=["label"],re=["*"],K=new o.OlP("mat-checkbox-default-options",{providedIn:"root",factory:Z});function Z(){return{color:"accent",clickAction:"check-indeterminate"}}const ee={provide:a.JU,useExisting:(0,o.Gpc)(()=>Re),multi:!0};class he{}let te=0;const ke=Z(),xe=(0,E.sb)((0,E.pj)((0,E.Kr)((0,E.Id)(class{constructor(fe){this._elementRef=fe}}))));let Se=(()=>{class fe extends xe{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(F){this._required=(0,W.Ig)(F)}constructor(F,U,ce,Oe,Ue,at,ft){super(U),this._changeDetectorRef=ce,this._ngZone=Oe,this._animationMode=at,this._options=ft,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new o.vpe,this.indeterminateChange=new o.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ke,this.color=this.defaultColor=this._options.color||ke.color,this.tabIndex=parseInt(Ue)||0,this.id=this._uniqueId=`${F}${++te}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(F){const U=(0,W.Ig)(F);U!=this.checked&&(this._checked=U,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(F){const U=(0,W.Ig)(F);U!==this.disabled&&(this._disabled=U,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(F){const U=F!=this._indeterminate;this._indeterminate=(0,W.Ig)(F),U&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(F){this.checked=!!F}registerOnChange(F){this._controlValueAccessorChangeFn=F}registerOnTouched(F){this._onTouched=F}setDisabledState(F){this.disabled=F}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(F){let U=this._currentCheckState,ce=this._getAnimationTargetElement();if(U!==F&&ce&&(this._currentAnimationClass&&ce.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(U,F),this._currentCheckState=F,this._currentAnimationClass.length>0)){ce.classList.add(this._currentAnimationClass);const Oe=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ce.classList.remove(Oe)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const F=this._options?.clickAction;this.disabled||"noop"===F?!this.disabled&&"noop"===F&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==F&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(F){F.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(F,U){if("NoopAnimations"===this._animationMode)return"";switch(F){case 0:if(1===U)return this._animationClasses.uncheckedToChecked;if(3==U)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===U?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===U?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===U?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(F){const U=this._inputElement;U&&(U.nativeElement.indeterminate=F)}}return fe.\u0275fac=function(F){o.$Z()},fe.\u0275dir=o.lG2({type:fe,viewQuery:function(F,U){if(1&F&&(o.Gf(Q,5),o.Gf(G,5),o.Gf(E.wG,5)),2&F){let ce;o.iGM(ce=o.CRH())&&(U._inputElement=ce.first),o.iGM(ce=o.CRH())&&(U._labelElement=ce.first),o.iGM(ce=o.CRH())&&(U.ripple=ce.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[o.qOj]}),fe})(),Re=(()=>{class fe extends Se{constructor(F,U,ce,Oe,Ue,at){super("mat-mdc-checkbox-",F,U,ce,Oe,Ue,at),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(F){const U=new he;return U.source=this,U.checked=F,U}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(F){F.target&&this._labelElement.nativeElement.contains(F.target)&&F.stopPropagation()}}return fe.\u0275fac=function(F){return new(F||fe)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.R0b),o.$8M("tabindex"),o.Y36(o.QbO,8),o.Y36(K,8))},fe.\u0275cmp=o.Xpm({type:fe,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(F,U){2&F&&(o.Ikx("id",U.id),o.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),o.ekj("_mat-animation-noopable","NoopAnimations"===U._animationMode)("mdc-checkbox--disabled",U.disabled)("mat-mdc-checkbox-disabled",U.disabled)("mat-mdc-checkbox-checked",U.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[o._Bn([ee]),o.qOj],ngContentSelectors:re,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(F,U){if(1&F&&(o.F$t(),o.TgZ(0,"div",0),o.NdJ("click",function(Oe){return U._preventBubblingFromLabel(Oe)}),o.TgZ(1,"div",1,2)(3,"div",3),o.NdJ("click",function(){return U._onInputClick()}),o.qZA(),o.TgZ(4,"input",4,5),o.NdJ("blur",function(){return U._onBlur()})("click",function(){return U._onInputClick()})("change",function(Oe){return U._onInteractionEvent(Oe)}),o.qZA(),o._UZ(6,"div",6),o.TgZ(7,"div",7),o.O4$(),o.TgZ(8,"svg",8),o._UZ(9,"path",9),o.qZA(),o.kcU(),o._UZ(10,"div",10),o.qZA(),o._UZ(11,"div",11),o.qZA(),o.TgZ(12,"label",12,13),o.Hsn(14),o.qZA()()),2&F){const ce=o.MAs(2);o.ekj("mdc-form-field--align-end","before"==U.labelPosition),o.xp6(4),o.ekj("mdc-checkbox--selected",U.checked),o.Q6J("checked",U.checked)("disabled",U.disabled)("id",U.inputId)("required",U.required)("tabIndex",U.tabIndex),o.uIk("aria-checked",U._getAriaChecked())("aria-label",U.ariaLabel||null)("aria-labelledby",U.ariaLabelledby)("aria-describedby",U.ariaDescribedby)("name",U.name)("value",U.value),o.xp6(7),o.Q6J("matRippleTrigger",ce)("matRippleDisabled",U.disableRipple||U.disabled)("matRippleCentered",!0),o.xp6(1),o.Q6J("for",U.inputId)}},dependencies:[E.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),fe})(),tt=(()=>{class fe{}return fe.\u0275fac=function(F){return new(F||fe)},fe.\u0275mod=o.oAB({type:fe}),fe.\u0275inj=o.cJS({}),fe})(),Ge=(()=>{class fe{}return fe.\u0275fac=function(F){return new(F||fe)},fe.\u0275mod=o.oAB({type:fe}),fe.\u0275inj=o.cJS({imports:[E.BQ,E.si,tt,E.BQ,tt]}),fe})()},3238:(_t,De,f)=>{"use strict";f.d(De,{rD:()=>ye,K7:()=>ve,HF:()=>Et,Y2:()=>se,BQ:()=>N,ey:()=>dn,Ng:()=>xn,rN:()=>At,wG:()=>ue,si:()=>Be,CB:()=>jt,jH:()=>_n,pj:()=>Ue,Kr:()=>at,Id:()=>Oe,FD:()=>It,sb:()=>ft});var o=f(4650),a=f(2687),E=f(445),Q=f(6895),G=f(3353),re=f(1281),K=f(7579),Z=f(9521);const te=["text"];function ke(Xe,Ae){if(1&Xe&&o._UZ(0,"mat-pseudo-checkbox",5),2&Xe){const I=o.oxw();o.Q6J("state",I.selected?"checked":"unchecked")("disabled",I.disabled)}}function xe(Xe,Ae){if(1&Xe&&(o.TgZ(0,"span",6),o._uU(1),o.qZA()),2&Xe){const I=o.oxw();o.xp6(1),o.hij("(",I.group.label,")")}}const Se=[[["mat-icon"]],"*"],Re=["mat-icon","*"],fe=new o.OlP("mat-sanity-checks",{providedIn:"root",factory:function Ge(){return!0}});let N=(()=>{class Xe{constructor(I,w,A){this._sanityChecks=w,this._document=A,this._hasDoneGlobalChecks=!1,I._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(I){return!(0,G.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[I])}}return Xe.\u0275fac=function(I){return new(I||Xe)(o.LFG(a.qm),o.LFG(fe,8),o.LFG(Q.K0))},Xe.\u0275mod=o.oAB({type:Xe}),Xe.\u0275inj=o.cJS({imports:[E.vT,E.vT]}),Xe})();function Oe(Xe){return class extends Xe{get disabled(){return this._disabled}set disabled(Ae){this._disabled=(0,re.Ig)(Ae)}constructor(...Ae){super(...Ae),this._disabled=!1}}}function Ue(Xe,Ae){return class extends Xe{get color(){return this._color}set color(I){const w=I||this.defaultColor;w!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),w&&this._elementRef.nativeElement.classList.add(`mat-${w}`),this._color=w)}constructor(...I){super(...I),this.defaultColor=Ae,this.color=Ae}}}function at(Xe){return class extends Xe{get disableRipple(){return this._disableRipple}set disableRipple(Ae){this._disableRipple=(0,re.Ig)(Ae)}constructor(...Ae){super(...Ae),this._disableRipple=!1}}}function ft(Xe,Ae=0){return class extends Xe{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(I){this._tabIndex=null!=I?(0,re.su)(I):this.defaultTabIndex}constructor(...I){super(...I),this._tabIndex=Ae,this.defaultTabIndex=Ae}}}function It(Xe){return class extends Xe{updateErrorState(){const Ae=this.errorState,J=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);J!==Ae&&(this.errorState=J,this.stateChanges.next())}constructor(...Ae){super(...Ae),this.errorState=!1}}}let ye=(()=>{class Xe{isErrorState(I,w){return!!(I&&I.invalid&&(I.touched||w&&w.submitted))}}return Xe.\u0275fac=function(I){return new(I||Xe)},Xe.\u0275prov=o.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"}),Xe})();class Ne{constructor(Ae,I,w,A=!1){this._renderer=Ae,this.element=I,this.config=w,this._animationForciblyDisabledThroughCss=A,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const qe=(0,G.i$)({passive:!0,capture:!0});class mt{constructor(){this._events=new Map,this._delegateEventHandler=Ae=>{const I=(0,G.sA)(Ae);I&&this._events.get(Ae.type)?.forEach((w,A)=>{(A===I||A.contains(I))&&w.forEach(J=>J.handleEvent(Ae))})}}addHandler(Ae,I,w,A){const J=this._events.get(I);if(J){const oe=J.get(w);oe?oe.add(A):J.set(w,new Set([A]))}else this._events.set(I,new Map([[w,new Set([A])]])),Ae.runOutsideAngular(()=>{document.addEventListener(I,this._delegateEventHandler,qe)})}removeHandler(Ae,I,w){const A=this._events.get(Ae);if(!A)return;const J=A.get(I);J&&(J.delete(w),0===J.size&&A.delete(I),0===A.size&&(this._events.delete(Ae),document.removeEventListener(Ae,this._delegateEventHandler,qe)))}}const le={enterDuration:225,exitDuration:150},ne=(0,G.i$)({passive:!0,capture:!0}),Pe=["mousedown","touchstart"],pt=["mouseup","mouseleave","touchend","touchcancel"];class de{constructor(Ae,I,w,A){this._target=Ae,this._ngZone=I,this._platform=A,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,A.isBrowser&&(this._containerElement=(0,re.fI)(w))}fadeInRipple(Ae,I,w={}){const A=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),J={...le,...w.animation};w.centered&&(Ae=A.left+A.width/2,I=A.top+A.height/2);const oe=w.radius||function L(Xe,Ae,I){const w=Math.max(Math.abs(Xe-I.left),Math.abs(Xe-I.right)),A=Math.max(Math.abs(Ae-I.top),Math.abs(Ae-I.bottom));return Math.sqrt(w*w+A*A)}(Ae,I,A),it=Ae-A.left,Ot=I-A.top,Yt=J.enterDuration,xt=document.createElement("div");xt.classList.add("mat-ripple-element"),xt.style.left=it-oe+"px",xt.style.top=Ot-oe+"px",xt.style.height=2*oe+"px",xt.style.width=2*oe+"px",null!=w.color&&(xt.style.backgroundColor=w.color),xt.style.transitionDuration=`${Yt}ms`,this._containerElement.appendChild(xt);const yn=window.getComputedStyle(xt),Cn=yn.transitionDuration,ln="none"===yn.transitionProperty||"0s"===Cn||"0s, 0s"===Cn||0===A.width&&0===A.height,be=new Ne(this,xt,w,ln);xt.style.transform="scale3d(1, 1, 1)",be.state=0,w.persistent||(this._mostRecentTransientRipple=be);let Ee=null;return!ln&&(Yt||J.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const q=()=>this._finishRippleTransition(be),Te=()=>this._destroyRipple(be);xt.addEventListener("transitionend",q),xt.addEventListener("transitioncancel",Te),Ee={onTransitionEnd:q,onTransitionCancel:Te}}),this._activeRipples.set(be,Ee),(ln||!Yt)&&this._finishRippleTransition(be),be}fadeOutRipple(Ae){if(2===Ae.state||3===Ae.state)return;const I=Ae.element,w={...le,...Ae.config.animation};I.style.transitionDuration=`${w.exitDuration}ms`,I.style.opacity="0",Ae.state=2,(Ae._animationForciblyDisabledThroughCss||!w.exitDuration)&&this._finishRippleTransition(Ae)}fadeOutAll(){this._getActiveRipples().forEach(Ae=>Ae.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ae=>{Ae.config.persistent||Ae.fadeOut()})}setupTriggerEvents(Ae){const I=(0,re.fI)(Ae);!this._platform.isBrowser||!I||I===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=I,Pe.forEach(w=>{de._eventManager.addHandler(this._ngZone,w,I,this)}))}handleEvent(Ae){"mousedown"===Ae.type?this._onMousedown(Ae):"touchstart"===Ae.type?this._onTouchStart(Ae):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{pt.forEach(I=>{this._triggerElement.addEventListener(I,this,ne)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ae){0===Ae.state?this._startFadeOutTransition(Ae):2===Ae.state&&this._destroyRipple(Ae)}_startFadeOutTransition(Ae){const I=Ae===this._mostRecentTransientRipple,{persistent:w}=Ae.config;Ae.state=1,!w&&(!I||!this._isPointerDown)&&Ae.fadeOut()}_destroyRipple(Ae){const I=this._activeRipples.get(Ae)??null;this._activeRipples.delete(Ae),this._activeRipples.size||(this._containerRect=null),Ae===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ae.state=3,null!==I&&(Ae.element.removeEventListener("transitionend",I.onTransitionEnd),Ae.element.removeEventListener("transitioncancel",I.onTransitionCancel)),Ae.element.remove()}_onMousedown(Ae){const I=(0,a.X6)(Ae),w=this._lastTouchStartEvent&&Date.now(){!Ae.config.persistent&&(1===Ae.state||Ae.config.terminateOnPointerUp&&0===Ae.state)&&Ae.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Ae=this._triggerElement;Ae&&(Pe.forEach(I=>de._eventManager.removeHandler(I,Ae,this)),this._pointerUpEventsRegistered&&pt.forEach(I=>Ae.removeEventListener(I,this,ne)))}}de._eventManager=new mt;const se=new o.OlP("mat-ripple-global-options");let ue=(()=>{class Xe{get disabled(){return this._disabled}set disabled(I){I&&this.fadeOutAllNonPersistent(),this._disabled=I,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(I){this._trigger=I,this._setupTriggerEventsIfEnabled()}constructor(I,w,A,J,oe){this._elementRef=I,this._animationMode=oe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=J||{},this._rippleRenderer=new de(this,w,I,A)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(I,w=0,A){return"number"==typeof I?this._rippleRenderer.fadeInRipple(I,w,{...this.rippleConfig,...A}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...I})}}return Xe.\u0275fac=function(I){return new(I||Xe)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(G.t4),o.Y36(se,8),o.Y36(o.QbO,8))},Xe.\u0275dir=o.lG2({type:Xe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(I,w){2&I&&o.ekj("mat-ripple-unbounded",w.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Xe})(),Be=(()=>{class Xe{}return Xe.\u0275fac=function(I){return new(I||Xe)},Xe.\u0275mod=o.oAB({type:Xe}),Xe.\u0275inj=o.cJS({imports:[N,N]}),Xe})(),ht=(()=>{class Xe{constructor(I){this._animationMode=I,this.state="unchecked",this.disabled=!1}}return Xe.\u0275fac=function(I){return new(I||Xe)(o.Y36(o.QbO,8))},Xe.\u0275cmp=o.Xpm({type:Xe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(I,w){2&I&&o.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===w.state)("mat-pseudo-checkbox-checked","checked"===w.state)("mat-pseudo-checkbox-disabled",w.disabled)("_mat-animation-noopable","NoopAnimations"===w._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(I,w){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),Xe})(),ct=(()=>{class Xe{}return Xe.\u0275fac=function(I){return new(I||Xe)},Xe.\u0275mod=o.oAB({type:Xe}),Xe.\u0275inj=o.cJS({imports:[N]}),Xe})();const Et=new o.OlP("MAT_OPTION_PARENT_COMPONENT"),ve=new o.OlP("MatOptgroup");let Fe=0;class At{constructor(Ae,I=!1){this.source=Ae,this.isUserInput=I}}let wt=(()=>{class Xe{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(I){this._disabled=(0,re.Ig)(I)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}constructor(I,w,A,J){this._element=I,this._changeDetectorRef=w,this._parent=A,this.group=J,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Fe++,this.onSelectionChange=new o.vpe,this._stateChanges=new K.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(I,w){const A=this._getHostElement();"function"==typeof A.focus&&A.focus(w)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(I){(I.keyCode===Z.K5||I.keyCode===Z.L_)&&!(0,Z.Vb)(I)&&(this._selectViaInteraction(),I.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const I=this.viewValue;I!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=I)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(I=!1){this.onSelectionChange.emit(new At(this,I))}}return Xe.\u0275fac=function(I){o.$Z()},Xe.\u0275dir=o.lG2({type:Xe,viewQuery:function(I,w){if(1&I&&o.Gf(te,7),2&I){let A;o.iGM(A=o.CRH())&&(w._text=A.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Xe})(),dn=(()=>{class Xe extends wt{constructor(I,w,A,J){super(I,w,A,J)}}return Xe.\u0275fac=function(I){return new(I||Xe)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(Et,8),o.Y36(ve,8))},Xe.\u0275cmp=o.Xpm({type:Xe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(I,w){1&I&&o.NdJ("click",function(){return w._selectViaInteraction()})("keydown",function(J){return w._handleKeydown(J)}),2&I&&(o.Ikx("id",w.id),o.uIk("tabindex",w._getTabIndex())("aria-selected",w._getAriaSelected())("aria-disabled",w.disabled.toString()),o.ekj("mdc-list-item--selected",w.selected)("mat-mdc-option-multiple",w.multiple)("mat-mdc-option-active",w.active)("mdc-list-item--disabled",w.disabled))},exportAs:["matOption"],features:[o.qOj],ngContentSelectors:Re,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(I,w){1&I&&(o.F$t(Se),o.YNc(0,ke,1,2,"mat-pseudo-checkbox",0),o.Hsn(1),o.TgZ(2,"span",1,2),o.Hsn(4,1),o.qZA(),o.YNc(5,xe,2,1,"span",3),o._UZ(6,"div",4)),2&I&&(o.Q6J("ngIf",w.multiple),o.xp6(5),o.Q6J("ngIf",w.group&&w.group._inert),o.xp6(1),o.Q6J("matRippleTrigger",w._getHostElement())("matRippleDisabled",w.disabled||w.disableRipple))},dependencies:[ue,Q.O5,ht],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),Xe})();function jt(Xe,Ae,I){if(I.length){let w=Ae.toArray(),A=I.toArray(),J=0;for(let oe=0;oeI+w?Math.max(0,Xe-w+Ae):I}let xn=(()=>{class Xe{}return Xe.\u0275fac=function(I){return new(I||Xe)},Xe.\u0275mod=o.oAB({type:Xe}),Xe.\u0275inj=o.cJS({imports:[Be,Q.ez,N,ct]}),Xe})()},5412:(_t,De,f)=>{"use strict";f.d(De,{WI:()=>Ct,uw:()=>Pe,H8:()=>ue,ZT:()=>de,xY:()=>se,Is:()=>ht,so:()=>Le,uh:()=>L});var o=f(8184),a=f(6895),E=f(4650),W=f(2687),Q=f(3353),G=f(4080),re=f(9521),K=f(7579),Z=f(9770),ee=f(9646),he=f(445),te=f(8675);function ke(me,lt){}class xe{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let Re=(()=>{class me extends G.en{constructor(j,ve,pe,Fe,At,wt,dn,jt){super(),this._elementRef=j,this._focusTrapFactory=ve,this._config=Fe,this._interactivityChecker=At,this._ngZone=wt,this._overlayRef=dn,this._focusMonitor=jt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=_n=>{this._portalOutlet.hasAttached();const xn=this._portalOutlet.attachDomPortal(_n);return this._contentAttached(),xn},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=pe}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(j){this._portalOutlet.hasAttached();const ve=this._portalOutlet.attachComponentPortal(j);return this._contentAttached(),ve}attachTemplatePortal(j){this._portalOutlet.hasAttached();const ve=this._portalOutlet.attachTemplatePortal(j);return this._contentAttached(),ve}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(j,ve){this._interactivityChecker.isFocusable(j)||(j.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const pe=()=>{j.removeEventListener("blur",pe),j.removeEventListener("mousedown",pe),j.removeAttribute("tabindex")};j.addEventListener("blur",pe),j.addEventListener("mousedown",pe)})),j.focus(ve)}_focusByCssSelector(j,ve){let pe=this._elementRef.nativeElement.querySelector(j);pe&&this._forceFocus(pe,ve)}_trapFocus(){const j=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||j.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ve=>{ve||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const j=this._config.restoreFocus;let ve=null;if("string"==typeof j?ve=this._document.querySelector(j):"boolean"==typeof j?ve=j?this._elementFocusedBeforeDialogWasOpened:null:j&&(ve=j),this._config.restoreFocus&&ve&&"function"==typeof ve.focus){const pe=(0,Q.ht)(),Fe=this._elementRef.nativeElement;(!pe||pe===this._document.body||pe===Fe||Fe.contains(pe))&&(this._focusMonitor?(this._focusMonitor.focusVia(ve,this._closeInteractionType),this._closeInteractionType=null):ve.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const j=this._elementRef.nativeElement,ve=(0,Q.ht)();return j===ve||j.contains(ve)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,Q.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return me.\u0275fac=function(j){return new(j||me)(E.Y36(E.SBq),E.Y36(W.qV),E.Y36(a.K0,8),E.Y36(xe),E.Y36(W.ic),E.Y36(E.R0b),E.Y36(o.Iu),E.Y36(W.tE))},me.\u0275cmp=E.Xpm({type:me,selectors:[["cdk-dialog-container"]],viewQuery:function(j,ve){if(1&j&&E.Gf(G.Pl,7),2&j){let pe;E.iGM(pe=E.CRH())&&(ve._portalOutlet=pe.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(j,ve){2&j&&E.uIk("id",ve._config.id||null)("role",ve._config.role)("aria-modal",ve._config.ariaModal)("aria-labelledby",ve._config.ariaLabel?null:ve._ariaLabelledBy)("aria-label",ve._config.ariaLabel)("aria-describedby",ve._config.ariaDescribedBy||null)},features:[E.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(j,ve){1&j&&E.YNc(0,ke,0,0,"ng-template",0)},dependencies:[G.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),me})();class Me{constructor(lt,j){this.overlayRef=lt,this.config=j,this.closed=new K.x,this.disableClose=j.disableClose,this.backdropClick=lt.backdropClick(),this.keydownEvents=lt.keydownEvents(),this.outsidePointerEvents=lt.outsidePointerEvents(),this.id=j.id,this.keydownEvents.subscribe(ve=>{ve.keyCode===re.hY&&!this.disableClose&&!(0,re.Vb)(ve)&&(ve.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(lt,j){if(this.containerInstance){const ve=this.closed;this.containerInstance._closeInteractionType=j?.focusOrigin||"program",this.overlayRef.dispose(),ve.next(lt),ve.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(lt="",j=""){return this.overlayRef.updateSize({width:lt,height:j}),this}addPanelClass(lt){return this.overlayRef.addPanelClass(lt),this}removePanelClass(lt){return this.overlayRef.removePanelClass(lt),this}}const rt=new E.OlP("DialogScrollStrategy"),tt=new E.OlP("DialogData"),Ge=new E.OlP("DefaultDialogConfig"),N={provide:rt,deps:[o.aV],useFactory:function fe(me){return()=>me.scrollStrategies.block()}};let F=0,U=(()=>{class me{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(j,ve,pe,Fe,At,wt){this._overlay=j,this._injector=ve,this._defaultOptions=pe,this._parentDialog=Fe,this._overlayContainer=At,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new K.x,this._afterOpenedAtThisLevel=new K.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,Z.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,te.O)(void 0))),this._scrollStrategy=wt}open(j,ve){(ve={...this._defaultOptions||new xe,...ve}).id=ve.id||"cdk-dialog-"+F++,ve.id&&this.getDialogById(ve.id);const Fe=this._getOverlayConfig(ve),At=this._overlay.create(Fe),wt=new Me(At,ve),dn=this._attachContainer(At,wt,ve);return wt.containerInstance=dn,this._attachDialogContent(j,wt,dn,ve),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(wt),wt.closed.subscribe(()=>this._removeOpenDialog(wt,!0)),this.afterOpened.next(wt),wt}closeAll(){ce(this.openDialogs,j=>j.close())}getDialogById(j){return this.openDialogs.find(ve=>ve.id===j)}ngOnDestroy(){ce(this._openDialogsAtThisLevel,j=>{!1===j.config.closeOnDestroy&&this._removeOpenDialog(j,!1)}),ce(this._openDialogsAtThisLevel,j=>j.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(j){const ve=new o.X_({positionStrategy:j.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:j.scrollStrategy||this._scrollStrategy(),panelClass:j.panelClass,hasBackdrop:j.hasBackdrop,direction:j.direction,minWidth:j.minWidth,minHeight:j.minHeight,maxWidth:j.maxWidth,maxHeight:j.maxHeight,width:j.width,height:j.height,disposeOnNavigation:j.closeOnNavigation});return j.backdropClass&&(ve.backdropClass=j.backdropClass),ve}_attachContainer(j,ve,pe){const Fe=pe.injector||pe.viewContainerRef?.injector,At=[{provide:xe,useValue:pe},{provide:Me,useValue:ve},{provide:o.Iu,useValue:j}];let wt;pe.container?"function"==typeof pe.container?wt=pe.container:(wt=pe.container.type,At.push(...pe.container.providers(pe))):wt=Re;const dn=new G.C5(wt,pe.viewContainerRef,E.zs3.create({parent:Fe||this._injector,providers:At}),pe.componentFactoryResolver);return j.attach(dn).instance}_attachDialogContent(j,ve,pe,Fe){if(j instanceof E.Rgc){const At=this._createInjector(Fe,ve,pe,void 0);let wt={$implicit:Fe.data,dialogRef:ve};Fe.templateContext&&(wt={...wt,..."function"==typeof Fe.templateContext?Fe.templateContext():Fe.templateContext}),pe.attachTemplatePortal(new G.UE(j,null,wt,At))}else{const At=this._createInjector(Fe,ve,pe,this._injector),wt=pe.attachComponentPortal(new G.C5(j,Fe.viewContainerRef,At,Fe.componentFactoryResolver));ve.componentInstance=wt.instance}}_createInjector(j,ve,pe,Fe){const At=j.injector||j.viewContainerRef?.injector,wt=[{provide:tt,useValue:j.data},{provide:Me,useValue:ve}];return j.providers&&("function"==typeof j.providers?wt.push(...j.providers(ve,j,pe)):wt.push(...j.providers)),j.direction&&(!At||!At.get(he.Is,null,{optional:!0}))&&wt.push({provide:he.Is,useValue:{value:j.direction,change:(0,ee.of)()}}),E.zs3.create({parent:At||Fe,providers:wt})}_removeOpenDialog(j,ve){const pe=this.openDialogs.indexOf(j);pe>-1&&(this.openDialogs.splice(pe,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Fe,At)=>{Fe?At.setAttribute("aria-hidden",Fe):At.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),ve&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const j=this._overlayContainer.getContainerElement();if(j.parentElement){const ve=j.parentElement.children;for(let pe=ve.length-1;pe>-1;pe--){const Fe=ve[pe];Fe!==j&&"SCRIPT"!==Fe.nodeName&&"STYLE"!==Fe.nodeName&&!Fe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Fe,Fe.getAttribute("aria-hidden")),Fe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const j=this._parentDialog;return j?j._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return me.\u0275fac=function(j){return new(j||me)(E.LFG(o.aV),E.LFG(E.zs3),E.LFG(Ge,8),E.LFG(me,12),E.LFG(o.Xj),E.LFG(rt))},me.\u0275prov=E.Yz7({token:me,factory:me.\u0275fac}),me})();function ce(me,lt){let j=me.length;for(;j--;)lt(me[j])}let Oe=(()=>{class me{}return me.\u0275fac=function(j){return new(j||me)},me.\u0275mod=E.oAB({type:me}),me.\u0275inj=E.cJS({providers:[U,N],imports:[o.U8,G.eL,W.rt,G.eL]}),me})();var Ue=f(1281),at=f(6451),ft=f(9300),It=f(5698),St=f(3238);function Ze(me,lt){}f(7340);class nt{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const ut="mdc-dialog--open",vt="mdc-dialog--opening",We="mdc-dialog--closing";let ze=(()=>{class me extends Re{constructor(j,ve,pe,Fe,At,wt,dn,jt){super(j,ve,pe,Fe,At,wt,dn,jt),this._animationStateChanged=new E.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(j){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:j})}}return me.\u0275fac=function(j){return new(j||me)(E.Y36(E.SBq),E.Y36(W.qV),E.Y36(a.K0,8),E.Y36(nt),E.Y36(W.ic),E.Y36(E.R0b),E.Y36(o.Iu),E.Y36(W.tE))},me.\u0275cmp=E.Xpm({type:me,selectors:[["ng-component"]],features:[E.qOj],decls:0,vars:0,template:function(j,ve){},encapsulation:2}),me})();const Qe="--mat-dialog-transition-duration";function kt(me){return null==me?null:"number"==typeof me?me:me.endsWith("ms")?(0,Ue.su)(me.substring(0,me.length-2)):me.endsWith("s")?1e3*(0,Ue.su)(me.substring(0,me.length-1)):"0"===me?0:null}let ye=(()=>{class me extends ze{constructor(j,ve,pe,Fe,At,wt,dn,jt,_n){super(j,ve,pe,Fe,At,wt,dn,_n),this._animationMode=jt,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?kt(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?kt(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Qe,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(vt),this._hostElement.classList.add(ut),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ut),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(ut),this._animationsEnabled?(this._hostElement.style.setProperty(Qe,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(We),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(vt),this._hostElement.classList.remove(We)}_waitForAnimationToComplete(j,ve){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(ve,j)}}return me.\u0275fac=function(j){return new(j||me)(E.Y36(E.SBq),E.Y36(W.qV),E.Y36(a.K0,8),E.Y36(nt),E.Y36(W.ic),E.Y36(E.R0b),E.Y36(o.Iu),E.Y36(E.QbO,8),E.Y36(W.tE))},me.\u0275cmp=E.Xpm({type:me,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(j,ve){2&j&&(E.Ikx("id",ve._config.id),E.uIk("aria-modal",ve._config.ariaModal)("role",ve._config.role)("aria-labelledby",ve._config.ariaLabel?null:ve._ariaLabelledBy)("aria-label",ve._config.ariaLabel)("aria-describedby",ve._config.ariaDescribedBy||null),E.ekj("_mat-animation-noopable",!ve._animationsEnabled))},features:[E.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(j,ve){1&j&&(E.TgZ(0,"div",0)(1,"div",1),E.YNc(2,Ze,0,0,"ng-template",2),E.qZA()())},dependencies:[G.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),me})();class Le{constructor(lt,j,ve){this._ref=lt,this._containerInstance=ve,this._afterOpened=new K.x,this._beforeClosed=new K.x,this._state=0,this.disableClose=j.disableClose,this.id=lt.id,ve._animationStateChanged.pipe((0,ft.h)(pe=>"opened"===pe.state),(0,It.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ve._animationStateChanged.pipe((0,ft.h)(pe=>"closed"===pe.state),(0,It.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),lt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,at.T)(this.backdropClick(),this.keydownEvents().pipe((0,ft.h)(pe=>pe.keyCode===re.hY&&!this.disableClose&&!(0,re.Vb)(pe)))).subscribe(pe=>{this.disableClose||(pe.preventDefault(),bt(this,"keydown"===pe.type?"keyboard":"mouse"))})}close(lt){this._result=lt,this._containerInstance._animationStateChanged.pipe((0,ft.h)(j=>"closing"===j.state),(0,It.q)(1)).subscribe(j=>{this._beforeClosed.next(lt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),j.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(lt){let j=this._ref.config.positionStrategy;return lt&&(lt.left||lt.right)?lt.left?j.left(lt.left):j.right(lt.right):j.centerHorizontally(),lt&&(lt.top||lt.bottom)?lt.top?j.top(lt.top):j.bottom(lt.bottom):j.centerVertically(),this._ref.updatePosition(),this}updateSize(lt="",j=""){return this._ref.updateSize(lt,j),this}addPanelClass(lt){return this._ref.addPanelClass(lt),this}removePanelClass(lt){return this._ref.removePanelClass(lt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function bt(me,lt,j){return me._closeInteractionType=lt,me.close(j)}const Ct=new E.OlP("MatMdcDialogData"),Ft=new E.OlP("mat-mdc-dialog-default-options"),Ne=new E.OlP("mat-mdc-dialog-scroll-strategy"),mt={provide:Ne,deps:[o.aV],useFactory:function qe(me){return()=>me.scrollStrategies.block()}};let we=0,ne=(()=>{class me{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const j=this._parentDialog;return j?j._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(j,ve,pe,Fe,At,wt,dn,jt,_n,xn){this._overlay=j,this._defaultOptions=pe,this._parentDialog=Fe,this._dialogRefConstructor=dn,this._dialogContainerType=jt,this._dialogDataToken=_n,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new K.x,this._afterOpenedAtThisLevel=new K.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=nt,this.afterAllClosed=(0,Z.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,te.O)(void 0))),this._scrollStrategy=wt,this._dialog=ve.get(U)}open(j,ve){let pe;(ve={...this._defaultOptions||new nt,...ve}).id=ve.id||`${this._idPrefix}${we++}`,ve.scrollStrategy=ve.scrollStrategy||this._scrollStrategy();const Fe=this._dialog.open(j,{...ve,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:ve},{provide:xe,useValue:ve}]},templateContext:()=>({dialogRef:pe}),providers:(At,wt,dn)=>(pe=new this._dialogRefConstructor(At,ve,dn),pe.updatePosition(ve?.position),[{provide:this._dialogContainerType,useValue:dn},{provide:this._dialogDataToken,useValue:wt.data},{provide:this._dialogRefConstructor,useValue:pe}])});return pe.componentInstance=Fe.componentInstance,this.openDialogs.push(pe),this.afterOpened.next(pe),pe.afterClosed().subscribe(()=>{const At=this.openDialogs.indexOf(pe);At>-1&&(this.openDialogs.splice(At,1),this.openDialogs.length||this._getAfterAllClosed().next())}),pe}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(j){return this.openDialogs.find(ve=>ve.id===j)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(j){let ve=j.length;for(;ve--;)j[ve].close()}}return me.\u0275fac=function(j){E.$Z()},me.\u0275prov=E.Yz7({token:me,factory:me.\u0275fac}),me})(),Pe=(()=>{class me extends ne{constructor(j,ve,pe,Fe,At,wt,dn,jt){super(j,ve,Fe,wt,dn,At,Le,ye,Ct,jt),this._idPrefix="mat-mdc-dialog-"}}return me.\u0275fac=function(j){return new(j||me)(E.LFG(o.aV),E.LFG(E.zs3),E.LFG(a.Ye,8),E.LFG(Ft,8),E.LFG(Ne),E.LFG(me,12),E.LFG(o.Xj),E.LFG(E.QbO,8))},me.\u0275prov=E.Yz7({token:me,factory:me.\u0275fac}),me})(),pt=0,de=(()=>{class me{constructor(j,ve,pe){this.dialogRef=j,this._elementRef=ve,this._dialog=pe,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Be(this._elementRef,this._dialog.openDialogs))}ngOnChanges(j){const ve=j._matDialogClose||j._matDialogCloseResult;ve&&(this.dialogResult=ve.currentValue)}_onButtonClick(j){bt(this.dialogRef,0===j.screenX&&0===j.screenY?"keyboard":"mouse",this.dialogResult)}}return me.\u0275fac=function(j){return new(j||me)(E.Y36(Le,8),E.Y36(E.SBq),E.Y36(Pe))},me.\u0275dir=E.lG2({type:me,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(j,ve){1&j&&E.NdJ("click",function(Fe){return ve._onButtonClick(Fe)}),2&j&&E.uIk("aria-label",ve.ariaLabel||null)("type",ve.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[E.TTD]}),me})(),L=(()=>{class me{constructor(j,ve,pe){this._dialogRef=j,this._elementRef=ve,this._dialog=pe,this.id="mat-mdc-dialog-title-"+pt++}ngOnInit(){this._dialogRef||(this._dialogRef=Be(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const j=this._dialogRef._containerInstance;j&&!j._ariaLabelledBy&&(j._ariaLabelledBy=this.id)})}}return me.\u0275fac=function(j){return new(j||me)(E.Y36(Le,8),E.Y36(E.SBq),E.Y36(Pe))},me.\u0275dir=E.lG2({type:me,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(j,ve){2&j&&E.Ikx("id",ve.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),me})(),se=(()=>{class me{}return me.\u0275fac=function(j){return new(j||me)},me.\u0275dir=E.lG2({type:me,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),me})(),ue=(()=>{class me{constructor(){this.align="start"}}return me.\u0275fac=function(j){return new(j||me)},me.\u0275dir=E.lG2({type:me,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(j,ve){2&j&&E.ekj("mat-mdc-dialog-actions-align-center","center"===ve.align)("mat-mdc-dialog-actions-align-end","end"===ve.align)},inputs:{align:"align"}}),me})();function Be(me,lt){let j=me.nativeElement.parentElement;for(;j&&!j.classList.contains("mat-mdc-dialog-container");)j=j.parentElement;return j?lt.find(ve=>ve.id===j.id):null}let ht=(()=>{class me{}return me.\u0275fac=function(j){return new(j||me)},me.\u0275mod=E.oAB({type:me}),me.\u0275inj=E.cJS({providers:[Pe,mt],imports:[Oe,o.U8,G.eL,St.BQ,St.BQ]}),me})()},9549:(_t,De,f)=>{"use strict";f.d(De,{Eo:()=>ne,G_:()=>L,KE:()=>me,bx:()=>Qe,hX:()=>vt,lN:()=>lt});var o=f(4650),a=f(445),E=f(3353),W=f(7579),Q=f(6451),G=f(2722),re=f(6895),K=f(1281),Z=f(7340),ee=f(9643),he=f(3238);const te=["matFormFieldNotchedOutline",""],ke=["*"],xe=["textField"],Se=["iconPrefixContainer"],Re=["textPrefixContainer"];function Me(j,ve){1&j&&o._UZ(0,"span",19)}function rt(j,ve){if(1&j){const pe=o.EpF();o.TgZ(0,"label",17),o.NdJ("cdkObserveContent",function(){o.CHM(pe);const At=o.oxw(2);return o.KtG(At._refreshOutlineNotchWidth())}),o.Hsn(1,1),o.YNc(2,Me,1,0,"span",18),o.qZA()}if(2&j){const pe=o.oxw(2);o.Q6J("floating",pe._shouldLabelFloat())("cdkObserveContentDisabled",!pe._hasOutline())("id",pe._labelId),o.uIk("for",pe._control.id)("aria-owns",pe._control.id),o.xp6(2),o.Q6J("ngIf",!pe.hideRequiredMarker&&pe._control.required)}}function tt(j,ve){if(1&j&&o.YNc(0,rt,3,6,"label",16),2&j){const pe=o.oxw();o.Q6J("ngIf",pe._hasFloatingLabel())}}function Ge(j,ve){1&j&&o._UZ(0,"div",20)}function fe(j,ve){}function N(j,ve){if(1&j&&o.YNc(0,fe,0,0,"ng-template",22),2&j){o.oxw(2);const pe=o.MAs(1);o.Q6J("ngTemplateOutlet",pe)}}function F(j,ve){if(1&j&&(o.TgZ(0,"div",21),o.YNc(1,N,1,1,"ng-template",9),o.qZA()),2&j){const pe=o.oxw();o.Q6J("matFormFieldNotchedOutlineOpen",pe._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",pe._labelWidth),o.xp6(1),o.Q6J("ngIf",!pe._forceDisplayInfixLabel())}}function U(j,ve){1&j&&(o.TgZ(0,"div",23,24),o.Hsn(2,2),o.qZA())}function ce(j,ve){1&j&&(o.TgZ(0,"div",25,26),o.Hsn(2,3),o.qZA())}function Oe(j,ve){}function Ue(j,ve){if(1&j&&o.YNc(0,Oe,0,0,"ng-template",22),2&j){o.oxw();const pe=o.MAs(1);o.Q6J("ngTemplateOutlet",pe)}}function at(j,ve){1&j&&(o.TgZ(0,"div",27),o.Hsn(1,4),o.qZA())}function ft(j,ve){1&j&&(o.TgZ(0,"div",28),o.Hsn(1,5),o.qZA())}function It(j,ve){1&j&&o._UZ(0,"div",29)}function St(j,ve){if(1&j&&(o.TgZ(0,"div",30),o.Hsn(1,6),o.qZA()),2&j){const pe=o.oxw();o.Q6J("@transitionMessages",pe._subscriptAnimationState)}}function He(j,ve){if(1&j&&(o.TgZ(0,"mat-hint",34),o._uU(1),o.qZA()),2&j){const pe=o.oxw(2);o.Q6J("id",pe._hintLabelId),o.xp6(1),o.Oqu(pe.hintLabel)}}function Ze(j,ve){if(1&j&&(o.TgZ(0,"div",31),o.YNc(1,He,2,2,"mat-hint",32),o.Hsn(2,7),o._UZ(3,"div",33),o.Hsn(4,8),o.qZA()),2&j){const pe=o.oxw();o.Q6J("@transitionMessages",pe._subscriptAnimationState),o.xp6(1),o.Q6J("ngIf",pe.hintLabel)}}const nt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ut=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let vt=(()=>{class j{}return j.\u0275fac=function(pe){return new(pe||j)},j.\u0275dir=o.lG2({type:j,selectors:[["mat-label"]]}),j})();const ot=new o.OlP("MatError");let ze=0,Qe=(()=>{class j{constructor(){this.align="start",this.id="mat-mdc-hint-"+ze++}}return j.\u0275fac=function(pe){return new(pe||j)},j.\u0275dir=o.lG2({type:j,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(pe,Fe){2&pe&&(o.Ikx("id",Fe.id),o.uIk("align",null),o.ekj("mat-mdc-form-field-hint-end","end"===Fe.align))},inputs:{align:"align",id:"id"}}),j})();const kt=new o.OlP("MatPrefix"),Le=new o.OlP("MatSuffix");let Ct=(()=>{class j{constructor(pe){this._elementRef=pe,this.floating=!1}getWidth(){return function Ft(j){if(null!==j.offsetParent)return j.scrollWidth;const pe=j.cloneNode(!0);pe.style.setProperty("position","absolute"),pe.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(pe);const Fe=pe.scrollWidth;return pe.remove(),Fe}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return j.\u0275fac=function(pe){return new(pe||j)(o.Y36(o.SBq))},j.\u0275dir=o.lG2({type:j,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(pe,Fe){2&pe&&o.ekj("mdc-floating-label--float-above",Fe.floating)},inputs:{floating:"floating"}}),j})();const Ne="mdc-line-ripple--active",qe="mdc-line-ripple--deactivating";let mt=(()=>{class j{constructor(pe,Fe){this._elementRef=pe,this._handleTransitionEnd=At=>{const wt=this._elementRef.nativeElement.classList,dn=wt.contains(qe);"opacity"===At.propertyName&&dn&&wt.remove(Ne,qe)},Fe.runOutsideAngular(()=>{pe.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const pe=this._elementRef.nativeElement.classList;pe.remove(qe),pe.add(Ne)}deactivate(){this._elementRef.nativeElement.classList.add(qe)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return j.\u0275fac=function(pe){return new(pe||j)(o.Y36(o.SBq),o.Y36(o.R0b))},j.\u0275dir=o.lG2({type:j,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),j})(),le=(()=>{class j{constructor(pe,Fe){this._elementRef=pe,this._ngZone=Fe,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const pe=this._elementRef.nativeElement.querySelector(".mdc-floating-label");pe?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(pe.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>pe.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return j.\u0275fac=function(pe){return new(pe||j)(o.Y36(o.SBq),o.Y36(o.R0b))},j.\u0275cmp=o.Xpm({type:j,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(pe,Fe){2&pe&&o.ekj("mdc-notched-outline--notched",Fe.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:te,ngContentSelectors:ke,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(pe,Fe){1&pe&&(o.F$t(),o._UZ(0,"div",0),o.TgZ(1,"div",1),o.Hsn(2),o.qZA(),o._UZ(3,"div",2)),2&pe&&(o.xp6(1),o.Udp("width",Fe._getNotchWidth()))},encapsulation:2,changeDetection:0}),j})();const we={transitionMessages:(0,Z.X$)("transitionMessages",[(0,Z.SB)("enter",(0,Z.oB)({opacity:1,transform:"translateY(0%)"})),(0,Z.eR)("void => enter",[(0,Z.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Z.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ne=(()=>{class j{}return j.\u0275fac=function(pe){return new(pe||j)},j.\u0275dir=o.lG2({type:j}),j})();const L=new o.OlP("MatFormField"),se=new o.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let ue=0,me=(()=>{class j{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(pe){this._hideRequiredMarker=(0,K.Ig)(pe)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(pe){pe!==this._floatLabel&&(this._floatLabel=pe,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(pe){const Fe=this._appearance;this._appearance=pe||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Fe&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(pe){this._subscriptSizing=pe||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(pe){this._hintLabel=pe,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(pe){this._explicitFormFieldControl=pe}constructor(pe,Fe,At,wt,dn,jt,_n,xn){this._elementRef=pe,this._changeDetectorRef=Fe,this._ngZone=At,this._dir=wt,this._platform=dn,this._defaults=jt,this._animationMode=_n,this._document=xn,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+ue++,this._hintLabelId="mat-mdc-hint-"+ue++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new W.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,jt&&(jt.appearance&&(this.appearance=jt.appearance),this._hideRequiredMarker=Boolean(jt?.hideRequiredMarker),jt.color&&(this.color=jt.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const pe=this._control;pe.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${pe.controlType}`),pe.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),pe.ngControl&&pe.ngControl.valueChanges&&pe.ngControl.valueChanges.pipe((0,G.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(pe=>!pe._isText),this._hasTextPrefix=!!this._prefixChildren.find(pe=>pe._isText),this._hasIconSuffix=!!this._suffixChildren.find(pe=>!pe._isText),this._hasTextSuffix=!!this._suffixChildren.find(pe=>pe._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,Q.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,G.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,G.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(pe){const Fe=this._control?this._control.ngControl:null;return Fe&&Fe[pe]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let pe=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&pe.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Fe=this._hintChildren?this._hintChildren.find(wt=>"start"===wt.align):null,At=this._hintChildren?this._hintChildren.find(wt=>"end"===wt.align):null;Fe?pe.push(Fe.id):this._hintLabel&&pe.push(this._hintLabelId),At&&pe.push(At.id)}else this._errorChildren&&pe.push(...this._errorChildren.map(Fe=>Fe.id));this._control.setDescribedByIds(pe)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const pe=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(pe.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Fe=this._iconPrefixContainer?.nativeElement,At=this._textPrefixContainer?.nativeElement,wt=Fe?.getBoundingClientRect().width??0,dn=At?.getBoundingClientRect().width??0;pe.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${wt+dn}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const pe=this._elementRef.nativeElement;if(pe.getRootNode){const Fe=pe.getRootNode();return Fe&&Fe!==pe}return document.documentElement.contains(pe)}}return j.\u0275fac=function(pe){return new(pe||j)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(a.Is),o.Y36(E.t4),o.Y36(se,8),o.Y36(o.QbO,8),o.Y36(re.K0))},j.\u0275cmp=o.Xpm({type:j,selectors:[["mat-form-field"]],contentQueries:function(pe,Fe,At){if(1&pe&&(o.Suo(At,vt,5),o.Suo(At,vt,7),o.Suo(At,ne,5),o.Suo(At,kt,5),o.Suo(At,Le,5),o.Suo(At,ot,5),o.Suo(At,Qe,5)),2&pe){let wt;o.iGM(wt=o.CRH())&&(Fe._labelChildNonStatic=wt.first),o.iGM(wt=o.CRH())&&(Fe._labelChildStatic=wt.first),o.iGM(wt=o.CRH())&&(Fe._formFieldControl=wt.first),o.iGM(wt=o.CRH())&&(Fe._prefixChildren=wt),o.iGM(wt=o.CRH())&&(Fe._suffixChildren=wt),o.iGM(wt=o.CRH())&&(Fe._errorChildren=wt),o.iGM(wt=o.CRH())&&(Fe._hintChildren=wt)}},viewQuery:function(pe,Fe){if(1&pe&&(o.Gf(xe,5),o.Gf(Se,5),o.Gf(Re,5),o.Gf(Ct,5),o.Gf(le,5),o.Gf(mt,5)),2&pe){let At;o.iGM(At=o.CRH())&&(Fe._textField=At.first),o.iGM(At=o.CRH())&&(Fe._iconPrefixContainer=At.first),o.iGM(At=o.CRH())&&(Fe._textPrefixContainer=At.first),o.iGM(At=o.CRH())&&(Fe._floatingLabel=At.first),o.iGM(At=o.CRH())&&(Fe._notchedOutline=At.first),o.iGM(At=o.CRH())&&(Fe._lineRipple=At.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(pe,Fe){2&pe&&o.ekj("mat-mdc-form-field-label-always-float",Fe._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Fe._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Fe._hasIconSuffix)("mat-form-field-invalid",Fe._control.errorState)("mat-form-field-disabled",Fe._control.disabled)("mat-form-field-autofilled",Fe._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Fe._animationMode)("mat-form-field-appearance-fill","fill"==Fe.appearance)("mat-form-field-appearance-outline","outline"==Fe.appearance)("mat-form-field-hide-placeholder",Fe._hasFloatingLabel()&&!Fe._shouldLabelFloat())("mat-focused",Fe._control.focused)("mat-primary","accent"!==Fe.color&&"warn"!==Fe.color)("mat-accent","accent"===Fe.color)("mat-warn","warn"===Fe.color)("ng-untouched",Fe._shouldForward("untouched"))("ng-touched",Fe._shouldForward("touched"))("ng-pristine",Fe._shouldForward("pristine"))("ng-dirty",Fe._shouldForward("dirty"))("ng-valid",Fe._shouldForward("valid"))("ng-invalid",Fe._shouldForward("invalid"))("ng-pending",Fe._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[o._Bn([{provide:L,useExisting:j}])],ngContentSelectors:ut,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(pe,Fe){1&pe&&(o.F$t(nt),o.YNc(0,tt,1,1,"ng-template",null,0,o.W1O),o.TgZ(2,"div",1,2),o.NdJ("click",function(wt){return Fe._control.onContainerClick&&Fe._control.onContainerClick(wt)}),o.YNc(4,Ge,1,0,"div",3),o.TgZ(5,"div",4),o.YNc(6,F,2,3,"div",5),o.YNc(7,U,3,0,"div",6),o.YNc(8,ce,3,0,"div",7),o.TgZ(9,"div",8),o.YNc(10,Ue,1,1,"ng-template",9),o.Hsn(11),o.qZA(),o.YNc(12,at,2,0,"div",10),o.YNc(13,ft,2,0,"div",11),o.qZA(),o.YNc(14,It,1,0,"div",12),o.qZA(),o.TgZ(15,"div",13),o.YNc(16,St,2,1,"div",14),o.YNc(17,Ze,5,2,"div",15),o.qZA()),2&pe&&(o.xp6(2),o.ekj("mdc-text-field--filled",!Fe._hasOutline())("mdc-text-field--outlined",Fe._hasOutline())("mdc-text-field--no-label",!Fe._hasFloatingLabel())("mdc-text-field--disabled",Fe._control.disabled)("mdc-text-field--invalid",Fe._control.errorState),o.xp6(2),o.Q6J("ngIf",!Fe._hasOutline()&&!Fe._control.disabled),o.xp6(2),o.Q6J("ngIf",Fe._hasOutline()),o.xp6(1),o.Q6J("ngIf",Fe._hasIconPrefix),o.xp6(1),o.Q6J("ngIf",Fe._hasTextPrefix),o.xp6(2),o.Q6J("ngIf",!Fe._hasOutline()||Fe._forceDisplayInfixLabel()),o.xp6(2),o.Q6J("ngIf",Fe._hasTextSuffix),o.xp6(1),o.Q6J("ngIf",Fe._hasIconSuffix),o.xp6(1),o.Q6J("ngIf",!Fe._hasOutline()),o.xp6(1),o.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Fe.subscriptSizing),o.Q6J("ngSwitch",Fe._getDisplayedMessages()),o.xp6(1),o.Q6J("ngSwitchCase","error"),o.xp6(1),o.Q6J("ngSwitchCase","hint"))},dependencies:[re.O5,re.tP,re.RF,re.n9,ee.wD,Qe,Ct,le,mt],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[we.transitionMessages]},changeDetection:0}),j})(),lt=(()=>{class j{}return j.\u0275fac=function(pe){return new(pe||j)},j.\u0275mod=o.oAB({type:j}),j.\u0275inj=o.cJS({imports:[he.BQ,re.ez,ee.Q8,he.BQ]}),j})()},7392:(_t,De,f)=>{"use strict";f.d(De,{Hw:()=>je,Ps:()=>ze});var o=f(4650),a=f(3238),E=f(1281),W=f(6895),Q=f(9646),G=f(2843),re=f(4128),K=f(727),Z=f(8505),ee=f(4004),he=f(262),te=f(8746),ke=f(3099),xe=f(5698),Se=f(529),Re=f(1481);const Me=["*"];let rt;function Ge(Qe){return function tt(){if(void 0===rt&&(rt=null,typeof window<"u")){const Qe=window;void 0!==Qe.trustedTypes&&(rt=Qe.trustedTypes.createPolicy("angular#components",{createHTML:kt=>kt}))}return rt}()?.createHTML(Qe)||Qe}function fe(Qe){return Error(`Unable to find icon with the name "${Qe}"`)}function F(Qe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Qe}".`)}function U(Qe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Qe}".`)}class ce{constructor(kt,ye,Le){this.url=kt,this.svgText=ye,this.options=Le}}let Oe=(()=>{class Qe{constructor(ye,Le,bt,Ct){this._httpClient=ye,this._sanitizer=Le,this._errorHandler=Ct,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=bt}addSvgIcon(ye,Le,bt){return this.addSvgIconInNamespace("",ye,Le,bt)}addSvgIconLiteral(ye,Le,bt){return this.addSvgIconLiteralInNamespace("",ye,Le,bt)}addSvgIconInNamespace(ye,Le,bt,Ct){return this._addSvgIconConfig(ye,Le,new ce(bt,null,Ct))}addSvgIconResolver(ye){return this._resolvers.push(ye),this}addSvgIconLiteralInNamespace(ye,Le,bt,Ct){const Ft=this._sanitizer.sanitize(o.q3G.HTML,bt);if(!Ft)throw U(bt);const Ne=Ge(Ft);return this._addSvgIconConfig(ye,Le,new ce("",Ne,Ct))}addSvgIconSet(ye,Le){return this.addSvgIconSetInNamespace("",ye,Le)}addSvgIconSetLiteral(ye,Le){return this.addSvgIconSetLiteralInNamespace("",ye,Le)}addSvgIconSetInNamespace(ye,Le,bt){return this._addSvgIconSetConfig(ye,new ce(Le,null,bt))}addSvgIconSetLiteralInNamespace(ye,Le,bt){const Ct=this._sanitizer.sanitize(o.q3G.HTML,Le);if(!Ct)throw U(Le);const Ft=Ge(Ct);return this._addSvgIconSetConfig(ye,new ce("",Ft,bt))}registerFontClassAlias(ye,Le=ye){return this._fontCssClassesByAlias.set(ye,Le),this}classNameForFontAlias(ye){return this._fontCssClassesByAlias.get(ye)||ye}setDefaultFontSetClass(...ye){return this._defaultFontSetClass=ye,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ye){const Le=this._sanitizer.sanitize(o.q3G.RESOURCE_URL,ye);if(!Le)throw F(ye);const bt=this._cachedIconsByUrl.get(Le);return bt?(0,Q.of)(ft(bt)):this._loadSvgIconFromConfig(new ce(ye,null)).pipe((0,Z.b)(Ct=>this._cachedIconsByUrl.set(Le,Ct)),(0,ee.U)(Ct=>ft(Ct)))}getNamedSvgIcon(ye,Le=""){const bt=It(Le,ye);let Ct=this._svgIconConfigs.get(bt);if(Ct)return this._getSvgFromConfig(Ct);if(Ct=this._getIconConfigFromResolvers(Le,ye),Ct)return this._svgIconConfigs.set(bt,Ct),this._getSvgFromConfig(Ct);const Ft=this._iconSetConfigs.get(Le);return Ft?this._getSvgFromIconSetConfigs(ye,Ft):(0,G._)(fe(bt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ye){return ye.svgText?(0,Q.of)(ft(this._svgElementFromConfig(ye))):this._loadSvgIconFromConfig(ye).pipe((0,ee.U)(Le=>ft(Le)))}_getSvgFromIconSetConfigs(ye,Le){const bt=this._extractIconWithNameFromAnySet(ye,Le);if(bt)return(0,Q.of)(bt);const Ct=Le.filter(Ft=>!Ft.svgText).map(Ft=>this._loadSvgIconSetFromConfig(Ft).pipe((0,he.K)(Ne=>{const mt=`Loading icon set URL: ${this._sanitizer.sanitize(o.q3G.RESOURCE_URL,Ft.url)} failed: ${Ne.message}`;return this._errorHandler.handleError(new Error(mt)),(0,Q.of)(null)})));return(0,re.D)(Ct).pipe((0,ee.U)(()=>{const Ft=this._extractIconWithNameFromAnySet(ye,Le);if(!Ft)throw fe(ye);return Ft}))}_extractIconWithNameFromAnySet(ye,Le){for(let bt=Le.length-1;bt>=0;bt--){const Ct=Le[bt];if(Ct.svgText&&Ct.svgText.toString().indexOf(ye)>-1){const Ft=this._svgElementFromConfig(Ct),Ne=this._extractSvgIconFromSet(Ft,ye,Ct.options);if(Ne)return Ne}}return null}_loadSvgIconFromConfig(ye){return this._fetchIcon(ye).pipe((0,Z.b)(Le=>ye.svgText=Le),(0,ee.U)(()=>this._svgElementFromConfig(ye)))}_loadSvgIconSetFromConfig(ye){return ye.svgText?(0,Q.of)(null):this._fetchIcon(ye).pipe((0,Z.b)(Le=>ye.svgText=Le))}_extractSvgIconFromSet(ye,Le,bt){const Ct=ye.querySelector(`[id="${Le}"]`);if(!Ct)return null;const Ft=Ct.cloneNode(!0);if(Ft.removeAttribute("id"),"svg"===Ft.nodeName.toLowerCase())return this._setSvgAttributes(Ft,bt);if("symbol"===Ft.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ft),bt);const Ne=this._svgElementFromString(Ge(""));return Ne.appendChild(Ft),this._setSvgAttributes(Ne,bt)}_svgElementFromString(ye){const Le=this._document.createElement("DIV");Le.innerHTML=ye;const bt=Le.querySelector("svg");if(!bt)throw Error(" tag not found");return bt}_toSvgElement(ye){const Le=this._svgElementFromString(Ge("")),bt=ye.attributes;for(let Ct=0;CtGe(mt)),(0,te.x)(()=>this._inProgressUrlFetches.delete(Ft)),(0,ke.B)());return this._inProgressUrlFetches.set(Ft,qe),qe}_addSvgIconConfig(ye,Le,bt){return this._svgIconConfigs.set(It(ye,Le),bt),this}_addSvgIconSetConfig(ye,Le){const bt=this._iconSetConfigs.get(ye);return bt?bt.push(Le):this._iconSetConfigs.set(ye,[Le]),this}_svgElementFromConfig(ye){if(!ye.svgElement){const Le=this._svgElementFromString(ye.svgText);this._setSvgAttributes(Le,ye.options),ye.svgElement=Le}return ye.svgElement}_getIconConfigFromResolvers(ye,Le){for(let bt=0;btkt?kt.pathname+kt.search:""}}}),vt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],We=vt.map(Qe=>`[${Qe}]`).join(", "),ot=/^url\(['"]?#(.*?)['"]?\)$/;let je=(()=>{class Qe extends He{get inline(){return this._inline}set inline(ye){this._inline=(0,E.Ig)(ye)}get svgIcon(){return this._svgIcon}set svgIcon(ye){ye!==this._svgIcon&&(ye?this._updateSvgIcon(ye):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ye)}get fontSet(){return this._fontSet}set fontSet(ye){const Le=this._cleanupFontValue(ye);Le!==this._fontSet&&(this._fontSet=Le,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ye){const Le=this._cleanupFontValue(ye);Le!==this._fontIcon&&(this._fontIcon=Le,this._updateFontIconClasses())}constructor(ye,Le,bt,Ct,Ft,Ne){super(ye),this._iconRegistry=Le,this._location=Ct,this._errorHandler=Ft,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=K.w0.EMPTY,Ne&&(Ne.color&&(this.color=this.defaultColor=Ne.color),Ne.fontSet&&(this.fontSet=Ne.fontSet)),bt||ye.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(ye){if(!ye)return["",""];const Le=ye.split(":");switch(Le.length){case 1:return["",Le[0]];case 2:return Le;default:throw Error(`Invalid icon name: "${ye}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ye=this._elementsWithExternalReferences;if(ye&&ye.size){const Le=this._location.getPathname();Le!==this._previousPath&&(this._previousPath=Le,this._prependPathToReferences(Le))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ye){this._clearSvgElement();const Le=this._location.getPathname();this._previousPath=Le,this._cacheChildrenWithExternalReferences(ye),this._prependPathToReferences(Le),this._elementRef.nativeElement.appendChild(ye)}_clearSvgElement(){const ye=this._elementRef.nativeElement;let Le=ye.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Le--;){const bt=ye.childNodes[Le];(1!==bt.nodeType||"svg"===bt.nodeName.toLowerCase())&&bt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ye=this._elementRef.nativeElement,Le=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(bt=>bt.length>0);this._previousFontSetClass.forEach(bt=>ye.classList.remove(bt)),Le.forEach(bt=>ye.classList.add(bt)),this._previousFontSetClass=Le,this.fontIcon!==this._previousFontIconClass&&!Le.includes("mat-ligature-font")&&(this._previousFontIconClass&&ye.classList.remove(this._previousFontIconClass),this.fontIcon&&ye.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ye){return"string"==typeof ye?ye.trim().split(" ")[0]:ye}_prependPathToReferences(ye){const Le=this._elementsWithExternalReferences;Le&&Le.forEach((bt,Ct)=>{bt.forEach(Ft=>{Ct.setAttribute(Ft.name,`url('${ye}#${Ft.value}')`)})})}_cacheChildrenWithExternalReferences(ye){const Le=ye.querySelectorAll(We),bt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ct=0;Ct{const Ne=Le[Ct],qe=Ne.getAttribute(Ft),mt=qe?qe.match(ot):null;if(mt){let le=bt.get(Ne);le||(le=[],bt.set(Ne,le)),le.push({name:Ft,value:mt[1]})}})}_updateSvgIcon(ye){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ye){const[Le,bt]=this._splitIconName(ye);Le&&(this._svgNamespace=Le),bt&&(this._svgName=bt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(bt,Le).pipe((0,xe.q)(1)).subscribe(Ct=>this._setSvgElement(Ct),Ct=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Le}:${bt}! ${Ct.message}`))})}}}return Qe.\u0275fac=function(ye){return new(ye||Qe)(o.Y36(o.SBq),o.Y36(Oe),o.$8M("aria-hidden"),o.Y36(nt),o.Y36(o.qLn),o.Y36(Ze,8))},Qe.\u0275cmp=o.Xpm({type:Qe,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(ye,Le){2&ye&&(o.uIk("data-mat-icon-type",Le._usingFontIcon()?"font":"svg")("data-mat-icon-name",Le._svgName||Le.fontIcon)("data-mat-icon-namespace",Le._svgNamespace||Le.fontSet)("fontIcon",Le._usingFontIcon()?Le.fontIcon:null),o.ekj("mat-icon-inline",Le.inline)("mat-icon-no-color","primary"!==Le.color&&"accent"!==Le.color&&"warn"!==Le.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[o.qOj],ngContentSelectors:Me,decls:1,vars:0,template:function(ye,Le){1&ye&&(o.F$t(),o.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),Qe})(),ze=(()=>{class Qe{}return Qe.\u0275fac=function(ye){return new(ye||Qe)},Qe.\u0275mod=o.oAB({type:Qe}),Qe.\u0275inj=o.cJS({imports:[a.BQ,a.BQ]}),Qe})()},4144:(_t,De,f)=>{"use strict";f.d(De,{Nt:()=>tt,c:()=>Ge});var o=f(1281),a=f(3353),E=f(4650),W=f(515),Q=f(7579);const G=(0,a.i$)({passive:!0});let re=(()=>{class fe{constructor(F,U){this._platform=F,this._ngZone=U,this._monitoredElements=new Map}monitor(F){if(!this._platform.isBrowser)return W.E;const U=(0,o.fI)(F),ce=this._monitoredElements.get(U);if(ce)return ce.subject;const Oe=new Q.x,Ue="cdk-text-field-autofilled",at=ft=>{"cdk-text-field-autofill-start"!==ft.animationName||U.classList.contains(Ue)?"cdk-text-field-autofill-end"===ft.animationName&&U.classList.contains(Ue)&&(U.classList.remove(Ue),this._ngZone.run(()=>Oe.next({target:ft.target,isAutofilled:!1}))):(U.classList.add(Ue),this._ngZone.run(()=>Oe.next({target:ft.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{U.addEventListener("animationstart",at,G),U.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(U,{subject:Oe,unlisten:()=>{U.removeEventListener("animationstart",at,G)}}),Oe}stopMonitoring(F){const U=(0,o.fI)(F),ce=this._monitoredElements.get(U);ce&&(ce.unlisten(),ce.subject.complete(),U.classList.remove("cdk-text-field-autofill-monitored"),U.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(U))}ngOnDestroy(){this._monitoredElements.forEach((F,U)=>this.stopMonitoring(U))}}return fe.\u0275fac=function(F){return new(F||fe)(E.LFG(a.t4),E.LFG(E.R0b))},fe.\u0275prov=E.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),ee=(()=>{class fe{}return fe.\u0275fac=function(F){return new(F||fe)},fe.\u0275mod=E.oAB({type:fe}),fe.\u0275inj=E.cJS({}),fe})();var he=f(4006),te=f(3238),ke=f(9549);const Se=new E.OlP("MAT_INPUT_VALUE_ACCESSOR"),Re=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Me=0;const rt=(0,te.FD)(class{constructor(fe,N,F,U){this._defaultErrorStateMatcher=fe,this._parentForm=N,this._parentFormGroup=F,this.ngControl=U,this.stateChanges=new Q.x}});let tt=(()=>{class fe extends rt{get disabled(){return this._disabled}set disabled(F){this._disabled=(0,o.Ig)(F),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(F){this._id=F||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(he.kI.required)??!1}set required(F){this._required=(0,o.Ig)(F)}get type(){return this._type}set type(F){this._type=F||"text",this._validateType(),!this._isTextarea&&(0,a.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(F){F!==this.value&&(this._inputValueAccessor.value=F,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(F){this._readonly=(0,o.Ig)(F)}constructor(F,U,ce,Oe,Ue,at,ft,It,St,He){super(at,Oe,Ue,ce),this._elementRef=F,this._platform=U,this._autofillMonitor=It,this._formField=He,this._uid="mat-input-"+Me++,this.focused=!1,this.stateChanges=new Q.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(ut=>(0,a.qK)().has(ut)),this._iOSKeyupListener=ut=>{const vt=ut.target;!vt.value&&0===vt.selectionStart&&0===vt.selectionEnd&&(vt.setSelectionRange(1,1),vt.setSelectionRange(0,0))};const Ze=this._elementRef.nativeElement,nt=Ze.nodeName.toLowerCase();this._inputValueAccessor=ft||Ze,this._previousNativeValue=this.value,this.id=this.id,U.IOS&&St.runOutsideAngular(()=>{F.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===nt,this._isTextarea="textarea"===nt,this._isInFormField=!!He,this._isNativeSelect&&(this.controlType=Ze.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(F=>{this.autofilled=F.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(F){this._elementRef.nativeElement.focus(F)}_focusChanged(F){F!==this.focused&&(this.focused=F,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const F=this._elementRef.nativeElement.value;this._previousNativeValue!==F&&(this._previousNativeValue=F,this.stateChanges.next())}_dirtyCheckPlaceholder(){const F=this._getPlaceholder();if(F!==this._previousPlaceholder){const U=this._elementRef.nativeElement;this._previousPlaceholder=F,F?U.setAttribute("placeholder",F):U.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Re.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let F=this._elementRef.nativeElement.validity;return F&&F.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const F=this._elementRef.nativeElement,U=F.options[0];return this.focused||F.multiple||!this.empty||!!(F.selectedIndex>-1&&U&&U.label)}return this.focused||!this.empty}setDescribedByIds(F){F.length?this._elementRef.nativeElement.setAttribute("aria-describedby",F.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const F=this._elementRef.nativeElement;return this._isNativeSelect&&(F.multiple||F.size>1)}}return fe.\u0275fac=function(F){return new(F||fe)(E.Y36(E.SBq),E.Y36(a.t4),E.Y36(he.a5,10),E.Y36(he.F,8),E.Y36(he.sg,8),E.Y36(te.rD),E.Y36(Se,10),E.Y36(re),E.Y36(E.R0b),E.Y36(ke.G_,8))},fe.\u0275dir=E.lG2({type:fe,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(F,U){1&F&&E.NdJ("focus",function(){return U._focusChanged(!0)})("blur",function(){return U._focusChanged(!1)})("input",function(){return U._onInput()}),2&F&&(E.Ikx("id",U.id)("disabled",U.disabled)("required",U.required),E.uIk("name",U.name||null)("readonly",U.readonly&&!U._isNativeSelect||null)("aria-invalid",U.empty&&U.required?null:U.errorState)("aria-required",U.required)("id",U.id),E.ekj("mat-input-server",U._isServer)("mat-mdc-form-field-textarea-control",U._isInFormField&&U._isTextarea)("mat-mdc-form-field-input-control",U._isInFormField)("mdc-text-field__input",U._isInFormField)("mat-mdc-native-select-inline",U._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[E._Bn([{provide:ke.Eo,useExisting:fe}]),E.qOj,E.TTD]}),fe})(),Ge=(()=>{class fe{}return fe.\u0275fac=function(F){return new(F||fe)},fe.\u0275mod=E.oAB({type:fe}),fe.\u0275inj=E.cJS({imports:[te.BQ,ke.lN,ke.lN,ee,te.BQ]}),fe})()},455:(_t,De,f)=>{"use strict";f.d(De,{Rr:()=>Se,rP:()=>tt});var o=f(4650),a=f(4006),E=f(2687),W=f(3238),Q=f(1281),G=f(6895);const re=["switch"],K=["*"],Z=new o.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),ee={provide:a.JU,useExisting:(0,o.Gpc)(()=>Se),multi:!0};class he{constructor(fe,N){this.source=fe,this.checked=N}}let te=0;const ke=(0,W.sb)((0,W.pj)((0,W.Kr)((0,W.Id)(class{constructor(Ge){this._elementRef=Ge}}))));let xe=(()=>{class Ge extends ke{get required(){return this._required}set required(N){this._required=(0,Q.Ig)(N)}get checked(){return this._checked}set checked(N){this._checked=(0,Q.Ig)(N),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(N,F,U,ce,Oe,Ue,at){super(N),this._focusMonitor=F,this._changeDetectorRef=U,this.defaults=Oe,this._onChange=ft=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new o.vpe,this.toggleChange=new o.vpe,this.tabIndex=parseInt(ce)||0,this.color=this.defaultColor=Oe.color||"accent",this._noopAnimations="NoopAnimations"===Ue,this.id=this._uniqueId=`${at}${++te}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(N=>{"keyboard"===N||"program"===N?(this._focused=!0,this._changeDetectorRef.markForCheck()):N||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(N){this.checked=!!N}registerOnChange(N){this._onChange=N}registerOnTouched(N){this._onTouched=N}setDisabledState(N){this.disabled=N,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return Ge.\u0275fac=function(N){o.$Z()},Ge.\u0275dir=o.lG2({type:Ge,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[o.qOj]}),Ge})(),Se=(()=>{class Ge extends xe{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(N,F,U,ce,Oe,Ue){super(N,F,U,ce,Oe,Ue,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new he(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(N){return new he(this,N)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return Ge.\u0275fac=function(N){return new(N||Ge)(o.Y36(o.SBq),o.Y36(E.tE),o.Y36(o.sBO),o.$8M("tabindex"),o.Y36(Z),o.Y36(o.QbO,8))},Ge.\u0275cmp=o.Xpm({type:Ge,selectors:[["mat-slide-toggle"]],viewQuery:function(N,F){if(1&N&&o.Gf(re,5),2&N){let U;o.iGM(U=o.CRH())&&(F._switchElement=U.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(N,F){2&N&&(o.Ikx("id",F.id),o.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),o.ekj("mat-mdc-slide-toggle-focused",F._focused)("mat-mdc-slide-toggle-checked",F.checked)("_mat-animation-noopable",F._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[o._Bn([ee]),o.qOj],ngContentSelectors:K,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(N,F){if(1&N&&(o.F$t(),o.TgZ(0,"div",0)(1,"button",1,2),o.NdJ("click",function(){return F._handleClick()}),o._UZ(3,"div",3),o.TgZ(4,"div",4)(5,"div",5)(6,"div",6),o._UZ(7,"div",7),o.qZA(),o.TgZ(8,"div",8),o._UZ(9,"div",9),o.qZA(),o.TgZ(10,"div",10),o.O4$(),o.TgZ(11,"svg",11),o._UZ(12,"path",12),o.qZA(),o.TgZ(13,"svg",13),o._UZ(14,"path",14),o.qZA()()()()(),o.kcU(),o.TgZ(15,"label",15),o.NdJ("click",function(ce){return ce.stopPropagation()}),o.Hsn(16),o.qZA()()),2&N){const U=o.MAs(2);o.ekj("mdc-form-field--align-end","before"==F.labelPosition),o.xp6(1),o.ekj("mdc-switch--selected",F.checked)("mdc-switch--unselected",!F.checked)("mdc-switch--checked",F.checked)("mdc-switch--disabled",F.disabled),o.Q6J("tabIndex",F.tabIndex)("disabled",F.disabled),o.uIk("id",F.buttonId)("name",F.name)("aria-label",F.ariaLabel)("aria-labelledby",F._getAriaLabelledBy())("aria-describedby",F.ariaDescribedby)("aria-required",F.required||null)("aria-checked",F.checked),o.xp6(8),o.Q6J("matRippleTrigger",U)("matRippleDisabled",F.disableRipple||F.disabled)("matRippleCentered",!0),o.xp6(6),o.Q6J("for",F.buttonId),o.uIk("id",F._labelId)}},dependencies:[W.wG],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),Ge})(),rt=(()=>{class Ge{}return Ge.\u0275fac=function(N){return new(N||Ge)},Ge.\u0275mod=o.oAB({type:Ge}),Ge.\u0275inj=o.cJS({}),Ge})(),tt=(()=>{class Ge{}return Ge.\u0275fac=function(N){return new(N||Ge)},Ge.\u0275mod=o.oAB({type:Ge}),Ge.\u0275inj=o.cJS({imports:[rt,W.BQ,W.si,G.ez,rt,W.BQ]}),Ge})()},1481:(_t,De,f)=>{"use strict";f.d(De,{Dx:()=>Be,H7:()=>yn,b2:()=>pt,h_:()=>L,q6:()=>le,se:()=>It});var o=f(6895),a=f(4650);class E extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class W extends E{static makeCurrent(){(0,o.HT)(new W)}onAndCancel(Ee,q,Te){return Ee.addEventListener(q,Te,!1),()=>{Ee.removeEventListener(q,Te,!1)}}dispatchEvent(Ee,q){Ee.dispatchEvent(q)}remove(Ee){Ee.parentNode&&Ee.parentNode.removeChild(Ee)}createElement(Ee,q){return(q=q||this.getDefaultDocument()).createElement(Ee)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ee){return Ee.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ee){return Ee instanceof DocumentFragment}getGlobalEventTarget(Ee,q){return"window"===q?window:"document"===q?Ee:"body"===q?Ee.body:null}getBaseHref(Ee){const q=function G(){return Q=Q||document.querySelector("base"),Q?Q.getAttribute("href"):null}();return null==q?null:function K(be){re=re||document.createElement("a"),re.setAttribute("href",be);const Ee=re.pathname;return"/"===Ee.charAt(0)?Ee:`/${Ee}`}(q)}resetBaseElement(){Q=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ee){return(0,o.Mx)(document.cookie,Ee)}}let re,Q=null;const Z=new a.OlP("TRANSITION_ID"),he=[{provide:a.ip1,useFactory:function ee(be,Ee,q){return()=>{q.get(a.CZH).donePromise.then(()=>{const Te=(0,o.q)(),dt=Ee.querySelectorAll(`style[ng-transition="${be}"]`);for(let Nt=0;Nt{class be{build(){return new XMLHttpRequest}}return be.\u0275fac=function(q){return new(q||be)},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})();const xe=new a.OlP("EventManagerPlugins");let Se=(()=>{class be{constructor(q,Te){this._zone=Te,this._eventNameToPlugin=new Map,q.forEach(dt=>dt.manager=this),this._plugins=q.slice().reverse()}addEventListener(q,Te,dt){return this._findPluginFor(Te).addEventListener(q,Te,dt)}addGlobalEventListener(q,Te,dt){return this._findPluginFor(Te).addGlobalEventListener(q,Te,dt)}getZone(){return this._zone}_findPluginFor(q){const Te=this._eventNameToPlugin.get(q);if(Te)return Te;const dt=this._plugins;for(let Nt=0;Nt{class be{constructor(){this._stylesSet=new Set}addStyles(q){const Te=new Set;q.forEach(dt=>{this._stylesSet.has(dt)||(this._stylesSet.add(dt),Te.add(dt))}),this.onStylesAdded(Te)}onStylesAdded(q){}getAllStyles(){return Array.from(this._stylesSet)}}return be.\u0275fac=function(q){return new(q||be)},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})(),rt=(()=>{class be extends Me{constructor(q){super(),this._doc=q,this._hostNodes=new Map,this._hostNodes.set(q.head,[])}_addStylesToHost(q,Te,dt){q.forEach(Nt=>{const qt=this._doc.createElement("style");qt.textContent=Nt,dt.push(Te.appendChild(qt))})}addHost(q){const Te=[];this._addStylesToHost(this._stylesSet,q,Te),this._hostNodes.set(q,Te)}removeHost(q){const Te=this._hostNodes.get(q);Te&&Te.forEach(tt),this._hostNodes.delete(q)}onStylesAdded(q){this._hostNodes.forEach((Te,dt)=>{this._addStylesToHost(q,dt,Te)})}ngOnDestroy(){this._hostNodes.forEach(q=>q.forEach(tt))}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})();function tt(be){(0,o.q)().remove(be)}const Ge={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/"},fe=/%COMP%/g,F="%COMP%",U=`_nghost-${F}`,ce=`_ngcontent-${F}`;function at(be,Ee){return Ee.flat(100).map(q=>q.replace(fe,be))}function ft(be){return Ee=>{if("__ngUnwrap__"===Ee)return be;!1===be(Ee)&&(Ee.preventDefault(),Ee.returnValue=!1)}}let It=(()=>{class be{constructor(q,Te,dt){this.eventManager=q,this.sharedStylesHost=Te,this.appId=dt,this.rendererByCompId=new Map,this.defaultRenderer=new St(q)}createRenderer(q,Te){if(!q||!Te)return this.defaultRenderer;switch(Te.encapsulation){case a.ifc.Emulated:{let dt=this.rendererByCompId.get(Te.id);return dt||(dt=new ut(this.eventManager,this.sharedStylesHost,Te,this.appId),this.rendererByCompId.set(Te.id,dt)),dt.applyToHost(q),dt}case a.ifc.ShadowDom:return new vt(this.eventManager,this.sharedStylesHost,q,Te);default:if(!this.rendererByCompId.has(Te.id)){const dt=at(Te.id,Te.styles);this.sharedStylesHost.addStyles(dt),this.rendererByCompId.set(Te.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(Se),a.LFG(rt),a.LFG(a.AFp))},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})();class St{constructor(Ee){this.eventManager=Ee,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ee,q){return q?document.createElementNS(Ge[q]||q,Ee):document.createElement(Ee)}createComment(Ee){return document.createComment(Ee)}createText(Ee){return document.createTextNode(Ee)}appendChild(Ee,q){(nt(Ee)?Ee.content:Ee).appendChild(q)}insertBefore(Ee,q,Te){Ee&&(nt(Ee)?Ee.content:Ee).insertBefore(q,Te)}removeChild(Ee,q){Ee&&Ee.removeChild(q)}selectRootElement(Ee,q){let Te="string"==typeof Ee?document.querySelector(Ee):Ee;if(!Te)throw new Error(`The selector "${Ee}" did not match any elements`);return q||(Te.textContent=""),Te}parentNode(Ee){return Ee.parentNode}nextSibling(Ee){return Ee.nextSibling}setAttribute(Ee,q,Te,dt){if(dt){q=dt+":"+q;const Nt=Ge[dt];Nt?Ee.setAttributeNS(Nt,q,Te):Ee.setAttribute(q,Te)}else Ee.setAttribute(q,Te)}removeAttribute(Ee,q,Te){if(Te){const dt=Ge[Te];dt?Ee.removeAttributeNS(dt,q):Ee.removeAttribute(`${Te}:${q}`)}else Ee.removeAttribute(q)}addClass(Ee,q){Ee.classList.add(q)}removeClass(Ee,q){Ee.classList.remove(q)}setStyle(Ee,q,Te,dt){dt&(a.JOm.DashCase|a.JOm.Important)?Ee.style.setProperty(q,Te,dt&a.JOm.Important?"important":""):Ee.style[q]=Te}removeStyle(Ee,q,Te){Te&a.JOm.DashCase?Ee.style.removeProperty(q):Ee.style[q]=""}setProperty(Ee,q,Te){Ee[q]=Te}setValue(Ee,q){Ee.nodeValue=q}listen(Ee,q,Te){return"string"==typeof Ee?this.eventManager.addGlobalEventListener(Ee,q,ft(Te)):this.eventManager.addEventListener(Ee,q,ft(Te))}}function nt(be){return"TEMPLATE"===be.tagName&&void 0!==be.content}class ut extends St{constructor(Ee,q,Te,dt){super(Ee),this.component=Te;const Nt=at(dt+"-"+Te.id,Te.styles);q.addStyles(Nt),this.contentAttr=function Oe(be){return ce.replace(fe,be)}(dt+"-"+Te.id),this.hostAttr=function Ue(be){return U.replace(fe,be)}(dt+"-"+Te.id)}applyToHost(Ee){super.setAttribute(Ee,this.hostAttr,"")}createElement(Ee,q){const Te=super.createElement(Ee,q);return super.setAttribute(Te,this.contentAttr,""),Te}}class vt extends St{constructor(Ee,q,Te,dt){super(Ee),this.sharedStylesHost=q,this.hostEl=Te,this.shadowRoot=Te.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Nt=at(dt.id,dt.styles);for(let qt=0;qt{class be extends Re{constructor(q){super(q)}supports(q){return!0}addEventListener(q,Te,dt){return q.addEventListener(Te,dt,!1),()=>this.removeEventListener(q,Te,dt)}removeEventListener(q,Te,dt){return q.removeEventListener(Te,dt)}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})();const ot=["alt","control","meta","shift"],je={"\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"},ze={alt:be=>be.altKey,control:be=>be.ctrlKey,meta:be=>be.metaKey,shift:be=>be.shiftKey};let Qe=(()=>{class be extends Re{constructor(q){super(q)}supports(q){return null!=be.parseEventName(q)}addEventListener(q,Te,dt){const Nt=be.parseEventName(Te),qt=be.eventCallback(Nt.fullKey,dt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.q)().onAndCancel(q,Nt.domEventName,qt))}static parseEventName(q){const Te=q.toLowerCase().split("."),dt=Te.shift();if(0===Te.length||"keydown"!==dt&&"keyup"!==dt)return null;const Nt=be._normalizeKey(Te.pop());let qt="",Rn=Te.indexOf("code");if(Rn>-1&&(Te.splice(Rn,1),qt="code."),ot.forEach(Zn=>{const ie=Te.indexOf(Zn);ie>-1&&(Te.splice(ie,1),qt+=Zn+".")}),qt+=Nt,0!=Te.length||0===Nt.length)return null;const vn={};return vn.domEventName=dt,vn.fullKey=qt,vn}static matchEventFullKeyCode(q,Te){let dt=je[q.key]||q.key,Nt="";return Te.indexOf("code.")>-1&&(dt=q.code,Nt="code."),!(null==dt||!dt)&&(dt=dt.toLowerCase()," "===dt?dt="space":"."===dt&&(dt="dot"),ot.forEach(qt=>{qt!==dt&&(0,ze[qt])(q)&&(Nt+=qt+".")}),Nt+=dt,Nt===Te)}static eventCallback(q,Te,dt){return Nt=>{be.matchEventFullKeyCode(Nt,q)&&dt.runGuarded(()=>Te(Nt))}}static _normalizeKey(q){return"esc"===q?"escape":q}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:be.\u0275fac}),be})();const le=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:o.bD},{provide:a.g9A,useValue:function Ft(){W.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function qe(){return(0,a.RDi)(document),document},deps:[]}]),we=new a.OlP(""),ne=[{provide:a.rWj,useClass:class te{addToWindow(Ee){a.dqk.getAngularTestability=(Te,dt=!0)=>{const Nt=Ee.findTestabilityInTree(Te,dt);if(null==Nt)throw new Error("Could not find testability for element.");return Nt},a.dqk.getAllAngularTestabilities=()=>Ee.getAllTestabilities(),a.dqk.getAllAngularRootElements=()=>Ee.getAllRootElements(),a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(Te=>{const dt=a.dqk.getAllAngularTestabilities();let Nt=dt.length,qt=!1;const Rn=function(vn){qt=qt||vn,Nt--,0==Nt&&Te(qt)};dt.forEach(function(vn){vn.whenStable(Rn)})})}findTestabilityInTree(Ee,q,Te){return null==q?null:Ee.getTestability(q)??(Te?(0,o.q)().isShadowRoot(q)?this.findTestabilityInTree(Ee,q.host,!0):this.findTestabilityInTree(Ee,q.parentElement,!0):null)}},deps:[]},{provide:a.lri,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]}],Pe=[{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function Ne(){return new a.qLn},deps:[]},{provide:xe,useClass:We,multi:!0,deps:[o.K0,a.R0b,a.Lbi]},{provide:xe,useClass:Qe,multi:!0,deps:[o.K0]},{provide:It,useClass:It,deps:[Se,rt,a.AFp]},{provide:a.FYo,useExisting:It},{provide:Me,useExisting:rt},{provide:rt,useClass:rt,deps:[o.K0]},{provide:Se,useClass:Se,deps:[xe,a.R0b]},{provide:o.JF,useClass:ke,deps:[]},[]];let pt=(()=>{class be{constructor(q){}static withServerTransition(q){return{ngModule:be,providers:[{provide:a.AFp,useValue:q.appId},{provide:Z,useExisting:a.AFp},he]}}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(we,12))},be.\u0275mod=a.oAB({type:be}),be.\u0275inj=a.cJS({providers:[...Pe,...ne],imports:[o.ez,a.hGG]}),be})(),L=(()=>{class be{constructor(q){this._doc=q,this._dom=(0,o.q)()}addTag(q,Te=!1){return q?this._getOrCreateElement(q,Te):null}addTags(q,Te=!1){return q?q.reduce((dt,Nt)=>(Nt&&dt.push(this._getOrCreateElement(Nt,Te)),dt),[]):[]}getTag(q){return q&&this._doc.querySelector(`meta[${q}]`)||null}getTags(q){if(!q)return[];const Te=this._doc.querySelectorAll(`meta[${q}]`);return Te?[].slice.call(Te):[]}updateTag(q,Te){if(!q)return null;Te=Te||this._parseSelector(q);const dt=this.getTag(Te);return dt?this._setMetaElementAttributes(q,dt):this._getOrCreateElement(q,!0)}removeTag(q){this.removeTagElement(this.getTag(q))}removeTagElement(q){q&&this._dom.remove(q)}_getOrCreateElement(q,Te=!1){if(!Te){const qt=this._parseSelector(q),Rn=this.getTags(qt).filter(vn=>this._containsAttributes(q,vn))[0];if(void 0!==Rn)return Rn}const dt=this._dom.createElement("meta");return this._setMetaElementAttributes(q,dt),this._doc.getElementsByTagName("head")[0].appendChild(dt),dt}_setMetaElementAttributes(q,Te){return Object.keys(q).forEach(dt=>Te.setAttribute(this._getMetaKeyMap(dt),q[dt])),Te}_parseSelector(q){const Te=q.name?"name":"property";return`${Te}="${q[Te]}"`}_containsAttributes(q,Te){return Object.keys(q).every(dt=>Te.getAttribute(this._getMetaKeyMap(dt))===q[dt])}_getMetaKeyMap(q){return se[q]||q}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:function(q){let Te=null;return Te=q?new q:function de(){return new L((0,a.LFG)(o.K0))}(),Te},providedIn:"root"}),be})();const se={httpEquiv:"http-equiv"};let Be=(()=>{class be{constructor(q){this._doc=q}getTitle(){return this._doc.title}setTitle(q){this._doc.title=q||""}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:function(q){let Te=null;return Te=q?new q:function ue(){return new Be((0,a.LFG)(o.K0))}(),Te},providedIn:"root"}),be})();typeof window<"u"&&window;let yn=(()=>{class be{}return be.\u0275fac=function(q){return new(q||be)},be.\u0275prov=a.Yz7({token:be,factory:function(q){let Te=null;return Te=q?new(q||be):a.LFG(Cn),Te},providedIn:"root"}),be})(),Cn=(()=>{class be extends yn{constructor(q){super(),this._doc=q}sanitize(q,Te){if(null==Te)return null;switch(q){case a.q3G.NONE:return Te;case a.q3G.HTML:return(0,a.qzn)(Te,"HTML")?(0,a.z3N)(Te):(0,a.EiD)(this._doc,String(Te)).toString();case a.q3G.STYLE:return(0,a.qzn)(Te,"Style")?(0,a.z3N)(Te):Te;case a.q3G.SCRIPT:if((0,a.qzn)(Te,"Script"))return(0,a.z3N)(Te);throw new Error("unsafe value used in a script context");case a.q3G.URL:return(0,a.qzn)(Te,"URL")?(0,a.z3N)(Te):(0,a.mCW)(String(Te));case a.q3G.RESOURCE_URL:if((0,a.qzn)(Te,"ResourceURL"))return(0,a.z3N)(Te);throw new Error(`unsafe value used in a resource URL context (see ${a.JZr})`);default:throw new Error(`Unexpected SecurityContext ${q} (see ${a.JZr})`)}}bypassSecurityTrustHtml(q){return(0,a.JVY)(q)}bypassSecurityTrustStyle(q){return(0,a.L6k)(q)}bypassSecurityTrustScript(q){return(0,a.eBb)(q)}bypassSecurityTrustUrl(q){return(0,a.LAX)(q)}bypassSecurityTrustResourceUrl(q){return(0,a.pB0)(q)}}return be.\u0275fac=function(q){return new(q||be)(a.LFG(o.K0))},be.\u0275prov=a.Yz7({token:be,factory:function(q){let Te=null;return Te=q?new q:function fi(be){return new Cn(be.get(o.K0))}(a.LFG(a.zs3)),Te},providedIn:"root"}),be})()},9116:(_t,De,f)=>{"use strict";f.d(De,{gz:()=>Fn,F0:()=>$,rH:()=>Ce,Od:()=>Ke,Bz:()=>ho,lC:()=>Ri});var o=f(4650),a=f(2076),E=f(9646),W=f(1135),Q=f(6805),G=f(9841),re=f(7272),K=f(9770),Z=f(9635),ee=f(2843),he=f(9751),te=f(515),ke=f(4033),xe=f(7579),Se=f(6895),Re=f(4004),Me=f(3900),rt=f(5698),tt=f(8675),Ge=f(9300),fe=f(5577),N=f(590),F=f(4351),U=f(8505),ce=f(262),Oe=f(5026),Ue=f(4482),at=f(5403);function ft(h){return h<=0?()=>te.E:(0,Ue.e)((m,d)=>{let v=[];m.subscribe((0,at.x)(d,S=>{v.push(S),h{for(const S of v)d.next(S);d.complete()},void 0,()=>{v=null}))})}var It=f(8068),St=f(6590),He=f(4671);function Ze(h,m){const d=arguments.length>=2;return v=>v.pipe(h?(0,Ge.h)((S,B)=>h(S,B,v)):He.y,ft(1),d?(0,St.d)(m):(0,It.T)(()=>new Q.K))}var nt=f(2529),ut=f(9718),vt=f(8746),We=f(8343),ot=f(8189),je=f(1481);const ze="primary",Qe=Symbol("RouteTitle");class kt{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d[0]:d}return null}getAll(m){if(this.has(m)){const d=this.params[m];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function ye(h){return new kt(h)}function Le(h,m,d){const v=d.path.split("/");if(v.length>h.length||"full"===d.pathMatch&&(m.hasChildren()||v.lengthv[B]===S)}return h===m}function Ne(h){return Array.prototype.concat.apply([],h)}function qe(h){return h.length>0?h[h.length-1]:null}function le(h,m){for(const d in h)h.hasOwnProperty(d)&&m(h[d],d)}function we(h){return(0,o.CqO)(h)?h:(0,o.QGY)(h)?(0,a.D)(Promise.resolve(h)):(0,E.of)(h)}const ne=!1,Pe={exact:function se(h,m,d){if(!ve(h.segments,m.segments)||!ct(h.segments,m.segments,d)||h.numberOfChildren!==m.numberOfChildren)return!1;for(const v in m.children)if(!h.children[v]||!se(h.children[v],m.children[v],d))return!1;return!0},subset:Be},pt={exact:function L(h,m){return Ct(h,m)},subset:function ue(h,m){return Object.keys(m).length<=Object.keys(h).length&&Object.keys(m).every(d=>Ft(h[d],m[d]))},ignored:()=>!0};function de(h,m,d){return Pe[d.paths](h.root,m.root,d.matrixParams)&&pt[d.queryParams](h.queryParams,m.queryParams)&&!("exact"===d.fragment&&h.fragment!==m.fragment)}function Be(h,m,d){return ht(h,m,m.segments,d)}function ht(h,m,d,v){if(h.segments.length>d.length){const S=h.segments.slice(0,d.length);return!(!ve(S,d)||m.hasChildren()||!ct(S,d,v))}if(h.segments.length===d.length){if(!ve(h.segments,d)||!ct(h.segments,d,v))return!1;for(const S in m.children)if(!h.children[S]||!Be(h.children[S],m.children[S],v))return!1;return!0}{const S=d.slice(0,h.segments.length),B=d.slice(h.segments.length);return!!(ve(h.segments,S)&&ct(h.segments,S,v)&&h.children[ze])&&ht(h.children[ze],m,B,v)}}function ct(h,m,d){return m.every((v,S)=>pt[d](h[S].parameters,v.parameters))}class Et{constructor(m=new me([],{}),d={},v=null){this.root=m,this.queryParams=d,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ye(this.queryParams)),this._queryParamMap}toString(){return wt.serialize(this)}}class me{constructor(m,d){this.segments=m,this.children=d,this.parent=null,le(d,(v,S)=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dn(this)}}class lt{constructor(m,d){this.path=m,this.parameters=d}get parameterMap(){return this._parameterMap||(this._parameterMap=ye(this.parameters)),this._parameterMap}toString(){return A(this)}}function ve(h,m){return h.length===m.length&&h.every((d,v)=>d.path===m[v].path)}let Fe=(()=>{class h{}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:function(){return new At},providedIn:"root"}),h})();class At{parse(m){const d=new Cn(m);return new Et(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(m){const d=`/${jt(m.root,!0)}`,v=function oe(h){const m=Object.keys(h).map(d=>{const v=h[d];return Array.isArray(v)?v.map(S=>`${xn(d)}=${xn(S)}`).join("&"):`${xn(d)}=${xn(v)}`}).filter(d=>!!d);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${d}${v}${"string"==typeof m.fragment?`#${function Xe(h){return encodeURI(h)}(m.fragment)}`:""}`}}const wt=new At;function dn(h){return h.segments.map(m=>A(m)).join("/")}function jt(h,m){if(!h.hasChildren())return dn(h);if(m){const d=h.children[ze]?jt(h.children[ze],!1):"",v=[];return le(h.children,(S,B)=>{B!==ze&&v.push(`${B}:${jt(S,!1)}`)}),v.length>0?`${d}(${v.join("//")})`:d}{const d=function pe(h,m){let d=[];return le(h.children,(v,S)=>{S===ze&&(d=d.concat(m(v,S)))}),le(h.children,(v,S)=>{S!==ze&&(d=d.concat(m(v,S)))}),d}(h,(v,S)=>S===ze?[jt(h.children[ze],!1)]:[`${S}:${jt(v,!1)}`]);return 1===Object.keys(h.children).length&&null!=h.children[ze]?`${dn(h)}/${d[0]}`:`${dn(h)}/(${d.join("//")})`}}function _n(h){return encodeURIComponent(h).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xn(h){return _n(h).replace(/%3B/gi,";")}function Ae(h){return _n(h).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function I(h){return decodeURIComponent(h)}function w(h){return I(h.replace(/\+/g,"%20"))}function A(h){return`${Ae(h.path)}${function J(h){return Object.keys(h).map(m=>`;${Ae(m)}=${Ae(h[m])}`).join("")}(h.parameters)}`}const it=/^[^\/()?;=#]+/;function Ot(h){const m=h.match(it);return m?m[0]:""}const Yt=/^[^=?&#]+/,yn=/^[^&#]+/;class Cn{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new me([],{}):new me([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(m.length>0||Object.keys(d).length>0)&&(v[ze]=new me(m,d)),v}parseSegment(){const m=Ot(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new o.vHH(4009,ne);return this.capture(m),new lt(I(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const d=Ot(this.remaining);if(!d)return;this.capture(d);let v="";if(this.consumeOptional("=")){const S=Ot(this.remaining);S&&(v=S,this.capture(v))}m[I(d)]=I(v)}parseQueryParam(m){const d=function xt(h){const m=h.match(Yt);return m?m[0]:""}(this.remaining);if(!d)return;this.capture(d);let v="";if(this.consumeOptional("=")){const Y=function fi(h){const m=h.match(yn);return m?m[0]:""}(this.remaining);Y&&(v=Y,this.capture(v))}const S=w(d),B=w(v);if(m.hasOwnProperty(S)){let Y=m[S];Array.isArray(Y)||(Y=[Y],m[S]=Y),Y.push(B)}else m[S]=B}parseParens(m){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=Ot(this.remaining),S=this.remaining[v.length];if("/"!==S&&")"!==S&&";"!==S)throw new o.vHH(4010,ne);let B;v.indexOf(":")>-1?(B=v.slice(0,v.indexOf(":")),this.capture(B),this.capture(":")):m&&(B=ze);const Y=this.parseChildren();d[B]=1===Object.keys(Y).length?Y[ze]:new me([],Y),this.consumeOptional("//")}return d}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new o.vHH(4011,ne)}}function ln(h){return h.segments.length>0?new me([],{[ze]:h}):h}function be(h){const m={};for(const v of Object.keys(h.children)){const B=be(h.children[v]);(B.segments.length>0||B.hasChildren())&&(m[v]=B)}return function Ee(h){if(1===h.numberOfChildren&&h.children[ze]){const m=h.children[ze];return new me(h.segments.concat(m.segments),m.children)}return h}(new me(h.segments,m))}function q(h){return h instanceof Et}function Rn(h,m,d,v,S){if(0===d.length)return ie(m.root,m.root,m.root,v,S);const B=function X(h){if("string"==typeof h[0]&&1===h.length&&"/"===h[0])return new P(!0,0,h);let m=0,d=!1;const v=h.reduce((S,B,Y)=>{if("object"==typeof B&&null!=B){if(B.outlets){const Ve={};return le(B.outlets,(Mt,Wt)=>{Ve[Wt]="string"==typeof Mt?Mt.split("/"):Mt}),[...S,{outlets:Ve}]}if(B.segmentPath)return[...S,B.segmentPath]}return"string"!=typeof B?[...S,B]:0===Y?(B.split("/").forEach((Ve,Mt)=>{0==Mt&&"."===Ve||(0==Mt&&""===Ve?d=!0:".."===Ve?m++:""!=Ve&&S.push(Ve))}),S):[...S,B]},[]);return new P(d,m,v)}(d);return B.toRoot()?ie(m.root,m.root,new me([],{}),v,S):function Y(Mt){const Wt=function tn(h,m,d,v){if(h.isAbsolute)return new Ye(m.root,!0,0);if(-1===v)return new Ye(d,d===m.root,0);return function Kt(h,m,d){let v=h,S=m,B=d;for(;B>S;){if(B-=S,v=v.parent,!v)throw new o.vHH(4005,!1);S=v.segments.length}return new Ye(v,!1,S-B)}(d,v+(vn(h.commands[0])?0:1),h.numberOfDoubleDots)}(B,m,h.snapshot?._urlSegment,Mt),Vt=Wt.processChildren?Yn(Wt.segmentGroup,Wt.index,B.commands):Pn(Wt.segmentGroup,Wt.index,B.commands);return ie(m.root,Wt.segmentGroup,Vt,v,S)}(h.snapshot?._lastPathIndex)}function vn(h){return"object"==typeof h&&null!=h&&!h.outlets&&!h.segmentPath}function Zn(h){return"object"==typeof h&&null!=h&&h.outlets}function ie(h,m,d,v,S){let Y,B={};v&&le(v,(Mt,Wt)=>{B[Wt]=Array.isArray(Mt)?Mt.map(Vt=>`${Vt}`):`${Mt}`}),Y=h===m?d:R(h,m,d);const Ve=ln(be(Y));return new Et(Ve,B,S)}function R(h,m,d){const v={};return le(h.children,(S,B)=>{v[B]=S===m?d:R(S,m,d)}),new me(h.segments,v)}class P{constructor(m,d,v){if(this.isAbsolute=m,this.numberOfDoubleDots=d,this.commands=v,m&&v.length>0&&vn(v[0]))throw new o.vHH(4003,!1);const S=v.find(Zn);if(S&&S!==qe(v))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ye{constructor(m,d,v){this.segmentGroup=m,this.processChildren=d,this.index=v}}function Pn(h,m,d){if(h||(h=new me([],{})),0===h.segments.length&&h.hasChildren())return Yn(h,m,d);const v=function ei(h,m,d){let v=0,S=m;const B={match:!1,pathIndex:0,commandIndex:0};for(;S=d.length)return B;const Y=h.segments[S],Ve=d[v];if(Zn(Ve))break;const Mt=`${Ve}`,Wt=v0&&void 0===Mt)break;if(Mt&&Wt&&"object"==typeof Wt&&void 0===Wt.outlets){if(!Vn(Mt,Wt,Y))return B;v+=2}else{if(!Vn(Mt,{},Y))return B;v++}S++}return{match:!0,pathIndex:S,commandIndex:v}}(h,m,d),S=d.slice(v.commandIndex);if(v.match&&v.pathIndex{"string"==typeof B&&(B=[B]),null!==B&&(S[Y]=Pn(h.children[Y],m,B))}),le(h.children,(B,Y)=>{void 0===v[Y]&&(S[Y]=B)}),new me(h.segments,S))}}function wn(h,m,d){const v=h.segments.slice(0,m);let S=0;for(;S{"string"==typeof d&&(d=[d]),null!==d&&(m[v]=wn(new me([],{}),0,d))}),m}function nn(h){const m={};return le(h,(d,v)=>m[v]=`${d}`),m}function Vn(h,m,d){return h==d.path&&Ct(m,d.parameters)}const ti="imperative";class Bn{constructor(m,d){this.id=m,this.url=d}}class Nn extends Bn{constructor(m,d,v="imperative",S=null){super(m,d),this.type=0,this.navigationTrigger=v,this.restoredState=S}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ci extends Bn{constructor(m,d,v){super(m,d),this.urlAfterRedirects=v,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class mn extends Bn{constructor(m,d,v,S){super(m,d),this.reason=v,this.code=S,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class li extends Bn{constructor(m,d,v,S){super(m,d),this.reason=v,this.code=S,this.type=16}}class Qi extends Bn{constructor(m,d,v,S){super(m,d),this.error=v,this.target=S,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class an extends Bn{constructor(m,d,v,S){super(m,d),this.urlAfterRedirects=v,this.state=S,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class br extends Bn{constructor(m,d,v,S){super(m,d),this.urlAfterRedirects=v,this.state=S,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ji extends Bn{constructor(m,d,v,S,B){super(m,d),this.urlAfterRedirects=v,this.state=S,this.shouldActivate=B,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class qi extends Bn{constructor(m,d,v,S){super(m,d),this.urlAfterRedirects=v,this.state=S,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ni extends Bn{constructor(m,d,v,S){super(m,d),this.urlAfterRedirects=v,this.state=S,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kn{constructor(m){this.route=m,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yr{constructor(m){this.route=m,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Oi{constructor(m){this.snapshot=m,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xn{constructor(m){this.snapshot=m,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bi{constructor(m){this.snapshot=m,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zi{constructor(m){this.snapshot=m,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kn{constructor(m,d,v){this.routerEvent=m,this.position=d,this.anchor=v,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let _o=(()=>{class h{createUrlTree(d,v,S,B,Y,Ve){return Rn(d||v.root,S,B,Y,Ve)}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac}),h})(),Ei=(()=>{class h{}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:function(m){return _o.\u0275fac(m)},providedIn:"root"}),h})();class Vi{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const d=this.pathFromRoot(m);return d.length>1?d[d.length-2]:null}children(m){const d=Gn(m,this._root);return d?d.children.map(v=>v.value):[]}firstChild(m){const d=Gn(m,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(m){const d=wi(m,this._root);return d.length<2?[]:d[d.length-2].children.map(S=>S.value).filter(S=>S!==m)}pathFromRoot(m){return wi(m,this._root).map(d=>d.value)}}function Gn(h,m){if(h===m.value)return m;for(const d of m.children){const v=Gn(h,d);if(v)return v}return null}function wi(h,m){if(h===m.value)return[m];for(const d of m.children){const v=wi(h,d);if(v.length)return v.unshift(m),v}return[]}class Mn{constructor(m,d){this.value=m,this.children=d}toString(){return`TreeNode(${this.value})`}}function Un(h){const m={};return h&&h.children.forEach(d=>m[d.value.outlet]=d),m}class Or extends Vi{constructor(m,d){super(m),this.snapshot=d,Yr(this,m)}toString(){return this.snapshot.toString()}}function ki(h,m){const d=function Dr(h,m){const Y=new cr([],{},{},"",{},ze,m,null,h.root,-1,{});return new kr("",new Mn(Y,[]))}(h,m),v=new W.X([new lt("",{})]),S=new W.X({}),B=new W.X({}),Y=new W.X({}),Ve=new W.X(""),Mt=new Fn(v,S,Y,Ve,B,ze,m,d.root);return Mt.snapshot=d.root,new Or(new Mn(Mt,[]),d)}class Fn{constructor(m,d,v,S,B,Y,Ve,Mt){this.url=m,this.params=d,this.queryParams=v,this.fragment=S,this.data=B,this.outlet=Y,this.component=Ve,this.title=this.data?.pipe((0,Re.U)(Wt=>Wt[Qe]))??(0,E.of)(void 0),this._futureSnapshot=Mt}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)(m=>ye(m)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Re.U)(m=>ye(m)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function xr(h,m="emptyOnly"){const d=h.pathFromRoot;let v=0;if("always"!==m)for(v=d.length-1;v>=1;){const S=d[v],B=d[v-1];if(S.routeConfig&&""===S.routeConfig.path)v--;else{if(B.component)break;v--}}return function vo(h){return h.reduce((m,d)=>({params:{...m.params,...d.params},data:{...m.data,...d.data},resolve:{...d.data,...m.resolve,...d.routeConfig?.data,...d._resolvedData}}),{params:{},data:{},resolve:{}})}(d.slice(v))}class cr{get title(){return this.data?.[Qe]}constructor(m,d,v,S,B,Y,Ve,Mt,Wt,Vt,Ln){this.url=m,this.params=d,this.queryParams=v,this.fragment=S,this.data=B,this.outlet=Y,this.component=Ve,this.routeConfig=Mt,this._urlSegment=Wt,this._lastPathIndex=Vt,this._resolve=Ln}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=ye(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ye(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class kr extends Vi{constructor(m,d){super(d),this.url=m,Yr(this,d)}toString(){return No(this._root)}}function Yr(h,m){m.value._routerState=h,m.children.forEach(d=>Yr(h,d))}function No(h){const m=h.children.length>0?` { ${h.children.map(No).join(", ")} } `:"";return`${h.value}${m}`}function ni(h){if(h.snapshot){const m=h.snapshot,d=h._futureSnapshot;h.snapshot=d,Ct(m.queryParams,d.queryParams)||h.queryParams.next(d.queryParams),m.fragment!==d.fragment&&h.fragment.next(d.fragment),Ct(m.params,d.params)||h.params.next(d.params),function bt(h,m){if(h.length!==m.length)return!1;for(let d=0;dCt(d.parameters,m[v].parameters))}(h.url,m.url);return d&&!(!h.parent!=!m.parent)&&(!h.parent||Rr(h.parent,m.parent))}function Ji(h,m,d){if(d&&h.shouldReuseRoute(m.value,d.value.snapshot)){const v=d.value;v._futureSnapshot=m.value;const S=function Fr(h,m,d){return m.children.map(v=>{for(const S of d.children)if(h.shouldReuseRoute(v.value,S.value.snapshot))return Ji(h,v,S);return Ji(h,v)})}(h,m,d);return new Mn(v,S)}{if(h.shouldAttach(m.value)){const B=h.retrieve(m.value);if(null!==B){const Y=B.route;return Y.value._futureSnapshot=m.value,Y.children=m.children.map(Ve=>Ji(h,Ve)),Y}}const v=function bo(h){return new Fn(new W.X(h.url),new W.X(h.params),new W.X(h.queryParams),new W.X(h.fragment),new W.X(h.data),h.outlet,h.component,h)}(m.value),S=m.children.map(B=>Ji(h,B));return new Mn(v,S)}}const Kr="ngNavigationCancelingError";function Jo(h,m){const{redirectTo:d,navigationBehaviorOptions:v}=q(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,S=es(!1,0,m);return S.url=d,S.navigationBehaviorOptions=v,S}function es(h,m,d){const v=new Error("NavigationCancelingError: "+(h||""));return v[Kr]=!0,v.cancellationCode=m,d&&(v.url=d),v}function Lr(h){return Cr(h)&&q(h.url)}function Cr(h){return h&&h[Kr]}class yo{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new wr,this.attachRef=null}}let wr=(()=>{class h{constructor(){this.contexts=new Map}onChildOutletCreated(d,v){const S=this.getOrCreateContext(d);S.outlet=v,this.contexts.set(d,S)}onChildOutletDestroyed(d){const v=this.getContext(d);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let v=this.getContext(d);return v||(v=new yo,this.contexts.set(d,v)),v}getContext(d){return this.contexts.get(d)||null}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const er=!1;let Ri=(()=>{class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=ze,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.parentContexts=(0,o.f3M)(wr),this.location=(0,o.f3M)(o.s_b),this.changeDetector=(0,o.f3M)(o.sBO),this.environmentInjector=(0,o.f3M)(o.lqb)}ngOnChanges(d){if(d.name){const{firstChange:v,previousValue:S}=d.name;if(v)return;this.isTrackedInParentContexts(S)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(S)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(d){return this.parentContexts.getContext(d)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const d=this.parentContexts.getContext(this.name);d?.route&&(d.attachRef?this.attach(d.attachRef,d.route):this.activateWith(d.route,d.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,er);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,er);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,er);this.location.detach();const d=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(d.instance),d}attach(d,v){this.activated=d,this._activatedRoute=v,this.location.insert(d.hostView),this.attachEvents.emit(d.instance)}deactivate(){if(this.activated){const d=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(d)}}activateWith(d,v){if(this.isActivated)throw new o.vHH(4013,er);this._activatedRoute=d;const S=this.location,Y=d.snapshot.component,Ve=this.parentContexts.getOrCreateContext(this.name).children,Mt=new tr(d,Ve,S.injector);if(v&&function Zr(h){return!!h.resolveComponentFactory}(v)){const Wt=v.resolveComponentFactory(Y);this.activated=S.createComponent(Wt,S.length,Mt)}else this.activated=S.createComponent(Y,{index:S.length,injector:Mt,environmentInjector:v??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275dir=o.lG2({type:h,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.TTD]}),h})();class tr{constructor(m,d,v){this.route=m,this.childContexts=d,this.parent=v}get(m,d){return m===Fn?this.route:m===wr?this.childContexts:this.parent.get(m,d)}}let Nr=(()=>{class h{}return h.\u0275fac=function(d){return new(d||h)},h.\u0275cmp=o.Xpm({type:h,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(d,v){1&d&&o._UZ(0,"router-outlet")},dependencies:[Ri],encapsulation:2}),h})();function nr(h,m){return h.providers&&!h._injector&&(h._injector=(0,o.MMx)(h.providers,m,`Route: ${h.path}`)),h._injector??m}function lr(h){const m=h.children&&h.children.map(lr),d=m?{...h,children:m}:{...h};return!d.component&&!d.loadComponent&&(m||d.loadChildren)&&d.outlet&&d.outlet!==ze&&(d.component=Nr),d}function oi(h){return h.outlet||ze}function zn(h,m){const d=h.filter(v=>oi(v)===m);return d.push(...h.filter(v=>oi(v)!==m)),d}function ir(h){if(!h)return null;if(h.routeConfig?._injector)return h.routeConfig._injector;for(let m=h.parent;m;m=m.parent){const d=m.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class di{constructor(m,d,v,S){this.routeReuseStrategy=m,this.futureState=d,this.currState=v,this.forwardEvent=S}activate(m){const d=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,v,m),ni(this.futureState.root),this.activateChildRoutes(d,v,m)}deactivateChildRoutes(m,d,v){const S=Un(d);m.children.forEach(B=>{const Y=B.value.outlet;this.deactivateRoutes(B,S[Y],v),delete S[Y]}),le(S,(B,Y)=>{this.deactivateRouteAndItsChildren(B,v)})}deactivateRoutes(m,d,v){const S=m.value,B=d?d.value:null;if(S===B)if(S.component){const Y=v.getContext(S.outlet);Y&&this.deactivateChildRoutes(m,d,Y.children)}else this.deactivateChildRoutes(m,d,v);else B&&this.deactivateRouteAndItsChildren(d,v)}deactivateRouteAndItsChildren(m,d){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,d):this.deactivateRouteAndOutlet(m,d)}detachAndStoreRouteSubtree(m,d){const v=d.getContext(m.value.outlet),S=v&&m.value.component?v.children:d,B=Un(m);for(const Y of Object.keys(B))this.deactivateRouteAndItsChildren(B[Y],S);if(v&&v.outlet){const Y=v.outlet.detach(),Ve=v.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:Y,route:m,contexts:Ve})}}deactivateRouteAndOutlet(m,d){const v=d.getContext(m.value.outlet),S=v&&m.value.component?v.children:d,B=Un(m);for(const Y of Object.keys(B))this.deactivateRouteAndItsChildren(B[Y],S);v&&v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated(),v.attachRef=null,v.resolver=null,v.route=null)}activateChildRoutes(m,d,v){const S=Un(d);m.children.forEach(B=>{this.activateRoutes(B,S[B.value.outlet],v),this.forwardEvent(new zi(B.value.snapshot))}),m.children.length&&this.forwardEvent(new Xn(m.value.snapshot))}activateRoutes(m,d,v){const S=m.value,B=d?d.value:null;if(ni(S),S===B)if(S.component){const Y=v.getOrCreateContext(S.outlet);this.activateChildRoutes(m,d,Y.children)}else this.activateChildRoutes(m,d,v);else if(S.component){const Y=v.getOrCreateContext(S.outlet);if(this.routeReuseStrategy.shouldAttach(S.snapshot)){const Ve=this.routeReuseStrategy.retrieve(S.snapshot);this.routeReuseStrategy.store(S.snapshot,null),Y.children.onOutletReAttached(Ve.contexts),Y.attachRef=Ve.componentRef,Y.route=Ve.route.value,Y.outlet&&Y.outlet.attach(Ve.componentRef,Ve.route.value),ni(Ve.route.value),this.activateChildRoutes(m,null,Y.children)}else{const Ve=ir(S.snapshot),Mt=Ve?.get(o._Vd)??null;Y.attachRef=null,Y.route=S,Y.resolver=Mt,Y.injector=Ve,Y.outlet&&Y.outlet.activateWith(S,Y.injector),this.activateChildRoutes(m,null,Y.children)}}else this.activateChildRoutes(m,null,v)}}class Uo{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class dr{constructor(m,d){this.component=m,this.route=d}}function $i(h,m,d){const v=h._root;return Mi(v,m?m._root:null,d,[v.value])}function Gi(h,m){const d=Symbol(),v=m.get(h,d);return v===d?"function"!=typeof h||(0,o.Z0I)(h)?m.get(h):h:v}function Mi(h,m,d,v,S={canDeactivateChecks:[],canActivateChecks:[]}){const B=Un(m);return h.children.forEach(Y=>{(function Vr(h,m,d,v,S={canDeactivateChecks:[],canActivateChecks:[]}){const B=h.value,Y=m?m.value:null,Ve=d?d.getContext(h.value.outlet):null;if(Y&&B.routeConfig===Y.routeConfig){const Mt=function ur(h,m,d){if("function"==typeof d)return d(h,m);switch(d){case"pathParamsChange":return!ve(h.url,m.url);case"pathParamsOrQueryParamsChange":return!ve(h.url,m.url)||!Ct(h.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rr(h,m)||!Ct(h.queryParams,m.queryParams);default:return!Rr(h,m)}}(Y,B,B.routeConfig.runGuardsAndResolvers);Mt?S.canActivateChecks.push(new Uo(v)):(B.data=Y.data,B._resolvedData=Y._resolvedData),Mi(h,m,B.component?Ve?Ve.children:null:d,v,S),Mt&&Ve&&Ve.outlet&&Ve.outlet.isActivated&&S.canDeactivateChecks.push(new dr(Ve.outlet.component,Y))}else Y&&hr(m,Ve,S),S.canActivateChecks.push(new Uo(v)),Mi(h,null,B.component?Ve?Ve.children:null:d,v,S)})(Y,B[Y.value.outlet],d,v.concat([Y.value]),S),delete B[Y.value.outlet]}),le(B,(Y,Ve)=>hr(Y,d.getContext(Ve),S)),S}function hr(h,m,d){const v=Un(h),S=h.value;le(v,(B,Y)=>{hr(B,S.component?m?m.children.getContext(Y):null:m,d)}),d.canDeactivateChecks.push(new dr(S.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,S))}function fr(h){return"function"==typeof h}function Wn(h){return h instanceof Q.K||"EmptyError"===h?.name}const st=Symbol("INITIAL_VALUE");function cn(){return(0,Me.w)(h=>(0,G.a)(h.map(m=>m.pipe((0,rt.q)(1),(0,tt.O)(st)))).pipe((0,Re.U)(m=>{for(const d of m)if(!0!==d){if(d===st)return st;if(!1===d||d instanceof Et)return d}return!0}),(0,Ge.h)(m=>m!==st),(0,rt.q)(1)))}function Do(h){return(0,Z.z)((0,U.b)(m=>{if(q(m))throw Jo(0,m)}),(0,Re.U)(m=>!0===m))}const ui={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Pi(h,m,d,v,S){const B=mr(h,m,d);return B.matched?function ns(h,m,d,v){const S=m.canMatch;if(!S||0===S.length)return(0,E.of)(!0);const B=S.map(Y=>{const Ve=Gi(Y,h);return we(function z(h){return h&&fr(h.canMatch)}(Ve)?Ve.canMatch(m,d):h.runInContext(()=>Ve(m,d)))});return(0,E.of)(B).pipe(cn(),Do())}(v=nr(m,v),m,d).pipe((0,Re.U)(Y=>!0===Y?B:{...ui})):(0,E.of)(B)}function mr(h,m,d){if(""===m.path)return"full"===m.pathMatch&&(h.hasChildren()||d.length>0)?{...ui}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const S=(m.matcher||Le)(d,h,m);if(!S)return{...ui};const B={};le(S.posParams,(Ve,Mt)=>{B[Mt]=Ve.path});const Y=S.consumed.length>0?{...B,...S.consumed[S.consumed.length-1].parameters}:B;return{matched:!0,consumedSegments:S.consumed,remainingSegments:d.slice(S.consumed.length),parameters:Y,positionalParamSegments:S.posParams??{}}}function rr(h,m,d,v){if(d.length>0&&function no(h,m,d){return d.some(v=>io(h,m,v)&&oi(v)!==ze)}(h,d,v)){const B=new me(m,function Ai(h,m,d,v){const S={};S[ze]=v,v._sourceSegment=h,v._segmentIndexShift=m.length;for(const B of d)if(""===B.path&&oi(B)!==ze){const Y=new me([],{});Y._sourceSegment=h,Y._segmentIndexShift=m.length,S[oi(B)]=Y}return S}(h,m,v,new me(d,h.children)));return B._sourceSegment=h,B._segmentIndexShift=m.length,{segmentGroup:B,slicedSegments:[]}}if(0===d.length&&function xo(h,m,d){return d.some(v=>io(h,m,v))}(h,d,v)){const B=new me(h.segments,function pr(h,m,d,v,S){const B={};for(const Y of v)if(io(h,d,Y)&&!S[oi(Y)]){const Ve=new me([],{});Ve._sourceSegment=h,Ve._segmentIndexShift=m.length,B[oi(Y)]=Ve}return{...S,...B}}(h,m,d,v,h.children));return B._sourceSegment=h,B._segmentIndexShift=m.length,{segmentGroup:B,slicedSegments:d}}const S=new me(h.segments,h.children);return S._sourceSegment=h,S._segmentIndexShift=m.length,{segmentGroup:S,slicedSegments:d}}function io(h,m,d){return(!(h.hasChildren()||m.length>0)||"full"!==d.pathMatch)&&""===d.path}function Co(h,m,d,v){return!!(oi(h)===v||v!==ze&&io(m,d,h))&&("**"===h.path||mr(m,h,d).matched)}function ro(h,m,d){return 0===m.length&&!h.children[d]}const Hr=!1;class oo{constructor(m){this.segmentGroup=m||null}}class ms{constructor(m){this.urlTree=m}}function gr(h){return(0,ee._)(new oo(h))}function jo(h){return(0,ee._)(new ms(h))}class Fi{constructor(m,d,v,S,B){this.injector=m,this.configLoader=d,this.urlSerializer=v,this.urlTree=S,this.config=B,this.allowRedirects=!0}apply(){const m=rr(this.urlTree.root,[],[],this.config).segmentGroup,d=new me(m.segments,m.children);return this.expandSegmentGroup(this.injector,this.config,d,ze).pipe((0,Re.U)(B=>this.createUrlTree(be(B),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ce.K)(B=>{if(B instanceof ms)return this.allowRedirects=!1,this.match(B.urlTree);throw B instanceof oo?this.noMatchError(B):B}))}match(m){return this.expandSegmentGroup(this.injector,this.config,m.root,ze).pipe((0,Re.U)(S=>this.createUrlTree(be(S),m.queryParams,m.fragment))).pipe((0,ce.K)(S=>{throw S instanceof oo?this.noMatchError(S):S}))}noMatchError(m){return new o.vHH(4002,Hr)}createUrlTree(m,d,v){const S=ln(m);return new Et(S,d,v)}expandSegmentGroup(m,d,v,S){return 0===v.segments.length&&v.hasChildren()?this.expandChildren(m,d,v).pipe((0,Re.U)(B=>new me([],B))):this.expandSegment(m,v,d,v.segments,S,!0)}expandChildren(m,d,v){const S=[];for(const B of Object.keys(v.children))"primary"===B?S.unshift(B):S.push(B);return(0,a.D)(S).pipe((0,F.b)(B=>{const Y=v.children[B],Ve=zn(d,B);return this.expandSegmentGroup(m,Ve,Y,B).pipe((0,Re.U)(Mt=>({segment:Mt,outlet:B})))}),(0,Oe.R)((B,Y)=>(B[Y.outlet]=Y.segment,B),{}),Ze())}expandSegment(m,d,v,S,B,Y){return(0,a.D)(v).pipe((0,F.b)(Ve=>this.expandSegmentAgainstRoute(m,d,v,Ve,S,B,Y).pipe((0,ce.K)(Wt=>{if(Wt instanceof oo)return(0,E.of)(null);throw Wt}))),(0,N.P)(Ve=>!!Ve),(0,ce.K)((Ve,Mt)=>{if(Wn(Ve))return ro(d,S,B)?(0,E.of)(new me([],{})):gr(d);throw Ve}))}expandSegmentAgainstRoute(m,d,v,S,B,Y,Ve){return Co(S,d,B,Y)?void 0===S.redirectTo?this.matchSegmentAgainstRoute(m,d,S,B,Y):Ve&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(m,d,v,S,B,Y):gr(d):gr(d)}expandSegmentAgainstRouteUsingRedirect(m,d,v,S,B,Y){return"**"===S.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(m,v,S,Y):this.expandRegularSegmentAgainstRouteUsingRedirect(m,d,v,S,B,Y)}expandWildCardWithParamsAgainstRouteUsingRedirect(m,d,v,S){const B=this.applyRedirectCommands([],v.redirectTo,{});return v.redirectTo.startsWith("/")?jo(B):this.lineralizeSegments(v,B).pipe((0,fe.z)(Y=>{const Ve=new me(Y,{});return this.expandSegment(m,Ve,d,Y,S,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(m,d,v,S,B,Y){const{matched:Ve,consumedSegments:Mt,remainingSegments:Wt,positionalParamSegments:Vt}=mr(d,S,B);if(!Ve)return gr(d);const Ln=this.applyRedirectCommands(Mt,S.redirectTo,Vt);return S.redirectTo.startsWith("/")?jo(Ln):this.lineralizeSegments(S,Ln).pipe((0,fe.z)(ri=>this.expandSegment(m,d,v,ri.concat(Wt),Y,!1)))}matchSegmentAgainstRoute(m,d,v,S,B){return"**"===v.path?(m=nr(v,m),v.loadChildren?(v._loadedRoutes?(0,E.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):this.configLoader.loadChildren(m,v)).pipe((0,Re.U)(Ve=>(v._loadedRoutes=Ve.routes,v._loadedInjector=Ve.injector,new me(S,{})))):(0,E.of)(new me(S,{}))):Pi(d,v,S,m).pipe((0,Me.w)(({matched:Y,consumedSegments:Ve,remainingSegments:Mt})=>Y?this.getChildConfig(m=v._injector??m,v,S).pipe((0,fe.z)(Vt=>{const Ln=Vt.injector??m,ri=Vt.routes,{segmentGroup:Wo,slicedSegments:zr}=rr(d,Ve,Mt,ri),Yo=new me(Wo.segments,Wo.children);if(0===zr.length&&Yo.hasChildren())return this.expandChildren(Ln,ri,Yo).pipe((0,Re.U)(wc=>new me(Ve,wc)));if(0===ri.length&&0===zr.length)return(0,E.of)(new me(Ve,{}));const Tr=oi(v)===B;return this.expandSegment(Ln,Yo,ri,zr,Tr?ze:B,!0).pipe((0,Re.U)(aa=>new me(Ve.concat(aa.segments),aa.children)))})):gr(d)))}getChildConfig(m,d,v){return d.children?(0,E.of)({routes:d.children,injector:m}):d.loadChildren?void 0!==d._loadedRoutes?(0,E.of)({routes:d._loadedRoutes,injector:d._loadedInjector}):function Ts(h,m,d,v){const S=m.canLoad;if(void 0===S||0===S.length)return(0,E.of)(!0);const B=S.map(Y=>{const Ve=Gi(Y,h);return we(function Ur(h){return h&&fr(h.canLoad)}(Ve)?Ve.canLoad(m,d):h.runInContext(()=>Ve(m,d)))});return(0,E.of)(B).pipe(cn(),Do())}(m,d,v).pipe((0,fe.z)(S=>S?this.configLoader.loadChildren(m,d).pipe((0,U.b)(B=>{d._loadedRoutes=B.routes,d._loadedInjector=B.injector})):function rs(h){return(0,ee._)(es(Hr,3))}())):(0,E.of)({routes:[],injector:m})}lineralizeSegments(m,d){let v=[],S=d.root;for(;;){if(v=v.concat(S.segments),0===S.numberOfChildren)return(0,E.of)(v);if(S.numberOfChildren>1||!S.children[ze])return(0,ee._)(new o.vHH(4e3,Hr));S=S.children[ze]}}applyRedirectCommands(m,d,v){return this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),m,v)}applyRedirectCreateUrlTree(m,d,v,S){const B=this.createSegmentGroup(m,d.root,v,S);return new Et(B,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(m,d){const v={};return le(m,(S,B)=>{if("string"==typeof S&&S.startsWith(":")){const Ve=S.substring(1);v[B]=d[Ve]}else v[B]=S}),v}createSegmentGroup(m,d,v,S){const B=this.createSegments(m,d.segments,v,S);let Y={};return le(d.children,(Ve,Mt)=>{Y[Mt]=this.createSegmentGroup(m,Ve,v,S)}),new me(B,Y)}createSegments(m,d,v,S){return d.map(B=>B.path.startsWith(":")?this.findPosParam(m,B,S):this.findOrReturn(B,v))}findPosParam(m,d,v){const S=v[d.path.substring(1)];if(!S)throw new o.vHH(4001,Hr);return S}findOrReturn(m,d){let v=0;for(const S of d){if(S.path===m.path)return d.splice(v),S;v++}return m}}class Is{}class $n{constructor(m,d,v,S,B,Y,Ve){this.injector=m,this.rootComponentType=d,this.config=v,this.urlTree=S,this.url=B,this.paramsInheritanceStrategy=Y,this.urlSerializer=Ve}recognize(){const m=rr(this.urlTree.root,[],[],this.config.filter(d=>void 0===d.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,m,ze).pipe((0,Re.U)(d=>{if(null===d)return null;const v=new cr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ze,this.rootComponentType,null,this.urlTree.root,-1,{}),S=new Mn(v,d),B=new kr(this.url,S);return this.inheritParamsAndData(B._root),B}))}inheritParamsAndData(m){const d=m.value,v=xr(d,this.paramsInheritanceStrategy);d.params=Object.freeze(v.params),d.data=Object.freeze(v.data),m.children.forEach(S=>this.inheritParamsAndData(S))}processSegmentGroup(m,d,v,S){return 0===v.segments.length&&v.hasChildren()?this.processChildren(m,d,v):this.processSegment(m,d,v,v.segments,S)}processChildren(m,d,v){return(0,a.D)(Object.keys(v.children)).pipe((0,F.b)(S=>{const B=v.children[S],Y=zn(d,S);return this.processSegmentGroup(m,Y,B,S)}),(0,Oe.R)((S,B)=>S&&B?(S.push(...B),S):null),(0,nt.o)(S=>null!==S),(0,St.d)(null),Ze(),(0,Re.U)(S=>{if(null===S)return null;const B=zo(S);return function wo(h){h.sort((m,d)=>m.value.outlet===ze?-1:d.value.outlet===ze?1:m.value.outlet.localeCompare(d.value.outlet))}(B),B}))}processSegment(m,d,v,S,B){return(0,a.D)(d).pipe((0,F.b)(Y=>this.processSegmentAgainstRoute(Y._injector??m,Y,v,S,B)),(0,N.P)(Y=>!!Y),(0,ce.K)(Y=>{if(Wn(Y))return ro(v,S,B)?(0,E.of)([]):(0,E.of)(null);throw Y}))}processSegmentAgainstRoute(m,d,v,S,B){if(d.redirectTo||!Co(d,v,S,B))return(0,E.of)(null);let Y;if("**"===d.path){const Ve=S.length>0?qe(S).parameters:{},Mt=Mo(v)+S.length,Wt=new cr(S,Ve,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,O(d),oi(d),d.component??d._loadedComponent??null,d,as(v),Mt,D(d));Y=(0,E.of)({snapshot:Wt,consumedSegments:[],remainingSegments:[]})}else Y=Pi(v,d,S,m).pipe((0,Re.U)(({matched:Ve,consumedSegments:Mt,remainingSegments:Wt,parameters:Vt})=>{if(!Ve)return null;const Ln=Mo(v)+Mt.length;return{snapshot:new cr(Mt,Vt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,O(d),oi(d),d.component??d._loadedComponent??null,d,as(v),Ln,D(d)),consumedSegments:Mt,remainingSegments:Wt}}));return Y.pipe((0,Me.w)(Ve=>{if(null===Ve)return(0,E.of)(null);const{snapshot:Mt,consumedSegments:Wt,remainingSegments:Vt}=Ve;m=d._injector??m;const Ln=d._loadedInjector??m,ri=function Os(h){return h.children?h.children:h.loadChildren?h._loadedRoutes:[]}(d),{segmentGroup:Wo,slicedSegments:zr}=rr(v,Wt,Vt,ri.filter(Tr=>void 0===Tr.redirectTo));if(0===zr.length&&Wo.hasChildren())return this.processChildren(Ln,ri,Wo).pipe((0,Re.U)(Tr=>null===Tr?null:[new Mn(Mt,Tr)]));if(0===ri.length&&0===zr.length)return(0,E.of)([new Mn(Mt,[])]);const Yo=oi(d)===B;return this.processSegment(Ln,ri,Wo,zr,Yo?ze:B).pipe((0,Re.U)(Tr=>null===Tr?null:[new Mn(Mt,Tr)]))}))}}function ps(h){const m=h.value.routeConfig;return m&&""===m.path&&void 0===m.redirectTo}function zo(h){const m=[],d=new Set;for(const v of h){if(!ps(v)){m.push(v);continue}const S=m.find(B=>v.value.routeConfig===B.value.routeConfig);void 0!==S?(S.children.push(...v.children),d.add(S)):m.push(v)}for(const v of d){const S=zo(v.children);m.push(new Mn(v.value,S))}return m.filter(v=>!d.has(v))}function as(h){let m=h;for(;m._sourceSegment;)m=m._sourceSegment;return m}function Mo(h){let m=h,d=m._segmentIndexShift??0;for(;m._sourceSegment;)m=m._sourceSegment,d+=m._segmentIndexShift??0;return d-1}function O(h){return h.data||{}}function D(h){return h.resolve||{}}function bn(h){return"string"==typeof h.title||null===h.title}function An(h){return(0,Me.w)(m=>{const d=h(m);return d?(0,a.D)(d).pipe((0,Re.U)(()=>m)):(0,E.of)(m)})}const Sn=new o.OlP("ROUTES");let ii=(()=>{class h{constructor(d,v){this.injector=d,this.compiler=v,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(d){if(this.componentLoaders.get(d))return this.componentLoaders.get(d);if(d._loadedComponent)return(0,E.of)(d._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(d);const v=we(d.loadComponent()).pipe((0,Re.U)(Si),(0,U.b)(B=>{this.onLoadEndListener&&this.onLoadEndListener(d),d._loadedComponent=B}),(0,vt.x)(()=>{this.componentLoaders.delete(d)})),S=new ke.c(v,()=>new xe.x).pipe((0,We.x)());return this.componentLoaders.set(d,S),S}loadChildren(d,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,E.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const B=this.loadModuleFactoryOrRoutes(v.loadChildren).pipe((0,Re.U)(Ve=>{this.onLoadEndListener&&this.onLoadEndListener(v);let Mt,Wt,Vt=!1;Array.isArray(Ve)?Wt=Ve:(Mt=Ve.create(d).injector,Wt=Ne(Mt.get(Sn,[],o.XFs.Self|o.XFs.Optional)));return{routes:Wt.map(lr),injector:Mt}}),(0,vt.x)(()=>{this.childrenLoaders.delete(v)})),Y=new ke.c(B,()=>new xe.x).pipe((0,We.x)());return this.childrenLoaders.set(v,Y),Y}loadModuleFactoryOrRoutes(d){return we(d()).pipe((0,Re.U)(Si),(0,fe.z)(S=>S instanceof o.YKP||Array.isArray(S)?(0,E.of)(S):(0,a.D)(this.compiler.compileModuleAsync(S))))}}return h.\u0275fac=function(d){return new(d||h)(o.LFG(o.zs3),o.LFG(o.Sil))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function Si(h){return function Ui(h){return h&&"object"==typeof h&&"default"in h}(h)?h.default:h}let xi=(()=>{class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new xe.x,this.configLoader=(0,o.f3M)(ii),this.environmentInjector=(0,o.f3M)(o.lqb),this.urlSerializer=(0,o.f3M)(Fe),this.rootContexts=(0,o.f3M)(wr),this.navigationId=0,this.afterPreactivation=()=>(0,E.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=S=>this.events.next(new yr(S)),this.configLoader.onLoadStartListener=S=>this.events.next(new Kn(S))}complete(){this.transitions?.complete()}handleNavigationRequest(d){const v=++this.navigationId;this.transitions?.next({...this.transitions.value,...d,id:v})}setupNavigations(d){return this.transitions=new W.X({id:0,targetPageId:0,currentUrlTree:d.currentUrlTree,currentRawUrl:d.currentUrlTree,extractedUrl:d.urlHandlingStrategy.extract(d.currentUrlTree),urlAfterRedirects:d.urlHandlingStrategy.extract(d.currentUrlTree),rawUrl:d.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ti,restoredState:null,currentSnapshot:d.routerState.snapshot,targetSnapshot:null,currentRouterState:d.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ge.h)(v=>0!==v.id),(0,Re.U)(v=>({...v,extractedUrl:d.urlHandlingStrategy.extract(v.rawUrl)})),(0,Me.w)(v=>{let S=!1,B=!1;return(0,E.of)(v).pipe((0,U.b)(Y=>{this.currentNavigation={id:Y.id,initialUrl:Y.rawUrl,extractedUrl:Y.extractedUrl,trigger:Y.source,extras:Y.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Me.w)(Y=>{const Ve=d.browserUrlTree.toString(),Mt=!d.navigated||Y.extractedUrl.toString()!==Ve||Ve!==d.currentUrlTree.toString();if(!Mt&&"reload"!==(Y.extras.onSameUrlNavigation??d.onSameUrlNavigation)){const Vt="";return this.events.next(new li(Y.id,d.serializeUrl(v.rawUrl),Vt,0)),d.rawUrlTree=Y.rawUrl,Y.resolve(null),te.E}if(d.urlHandlingStrategy.shouldProcessUrl(Y.rawUrl))return so(Y.source)&&(d.browserUrlTree=Y.extractedUrl),(0,E.of)(Y).pipe((0,Me.w)(Vt=>{const Ln=this.transitions?.getValue();return this.events.next(new Nn(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),Vt.source,Vt.restoredState)),Ln!==this.transitions?.getValue()?te.E:Promise.resolve(Vt)}),function Mr(h,m,d,v){return(0,Me.w)(S=>function os(h,m,d,v,S){return new Fi(h,m,d,v,S).apply()}(h,m,d,S.extractedUrl,v).pipe((0,Re.U)(B=>({...S,urlAfterRedirects:B}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,d.config),(0,U.b)(Vt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Vt.urlAfterRedirects},v.urlAfterRedirects=Vt.urlAfterRedirects}),function H(h,m,d,v,S){return(0,fe.z)(B=>function Ar(h,m,d,v,S,B,Y="emptyOnly"){return new $n(h,m,d,v,S,Y,B).recognize().pipe((0,Me.w)(Ve=>null===Ve?function gi(h){return new he.y(m=>m.error(h))}(new Is):(0,E.of)(Ve)))}(h,m,d,B.urlAfterRedirects,v.serialize(B.urlAfterRedirects),v,S).pipe((0,Re.U)(Y=>({...B,targetSnapshot:Y}))))}(this.environmentInjector,this.rootComponentType,d.config,this.urlSerializer,d.paramsInheritanceStrategy),(0,U.b)(Vt=>{if(v.targetSnapshot=Vt.targetSnapshot,"eager"===d.urlUpdateStrategy){if(!Vt.extras.skipLocationChange){const ri=d.urlHandlingStrategy.merge(Vt.urlAfterRedirects,Vt.rawUrl);d.setBrowserUrl(ri,Vt)}d.browserUrlTree=Vt.urlAfterRedirects}const Ln=new an(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot);this.events.next(Ln)}));if(Mt&&d.urlHandlingStrategy.shouldProcessUrl(d.rawUrlTree)){const{id:Vt,extractedUrl:Ln,source:ri,restoredState:Wo,extras:zr}=Y,Yo=new Nn(Vt,this.urlSerializer.serialize(Ln),ri,Wo);this.events.next(Yo);const Tr=ki(Ln,this.rootComponentType).snapshot;return v={...Y,targetSnapshot:Tr,urlAfterRedirects:Ln,extras:{...zr,skipLocationChange:!1,replaceUrl:!1}},(0,E.of)(v)}{const Vt="";return this.events.next(new li(Y.id,d.serializeUrl(v.extractedUrl),Vt,1)),d.rawUrlTree=Y.rawUrl,Y.resolve(null),te.E}}),(0,U.b)(Y=>{const Ve=new br(Y.id,this.urlSerializer.serialize(Y.extractedUrl),this.urlSerializer.serialize(Y.urlAfterRedirects),Y.targetSnapshot);this.events.next(Ve)}),(0,Re.U)(Y=>v={...Y,guards:$i(Y.targetSnapshot,Y.currentSnapshot,this.rootContexts)}),function eo(h,m){return(0,fe.z)(d=>{const{targetSnapshot:v,currentSnapshot:S,guards:{canActivateChecks:B,canDeactivateChecks:Y}}=d;return 0===Y.length&&0===B.length?(0,E.of)({...d,guardsResult:!0}):function hs(h,m,d,v){return(0,a.D)(h).pipe((0,fe.z)(S=>function Ho(h,m,d,v,S){const B=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!B||0===B.length)return(0,E.of)(!0);const Y=B.map(Ve=>{const Mt=ir(m)??S,Wt=Gi(Ve,Mt);return we(function y(h){return h&&fr(h.canDeactivate)}(Wt)?Wt.canDeactivate(h,m,d,v):Mt.runInContext(()=>Wt(h,m,d,v))).pipe((0,N.P)())});return(0,E.of)(Y).pipe(cn())}(S.component,S.route,d,m,v)),(0,N.P)(S=>!0!==S,!0))}(Y,v,S,h).pipe((0,fe.z)(Ve=>Ve&&function on(h){return"boolean"==typeof h}(Ve)?function pi(h,m,d,v){return(0,a.D)(m).pipe((0,F.b)(S=>(0,re.z)(function to(h,m){return null!==h&&m&&m(new Oi(h)),(0,E.of)(!0)}(S.route.parent,v),function fs(h,m){return null!==h&&m&&m(new Bi(h)),(0,E.of)(!0)}(S.route,v),function ts(h,m,d){const v=m[m.length-1],B=m.slice(0,m.length-1).reverse().map(Y=>function Di(h){const m=h.routeConfig?h.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:h,guards:m}:null}(Y)).filter(Y=>null!==Y).map(Y=>(0,K.P)(()=>{const Ve=Y.guards.map(Mt=>{const Wt=ir(Y.node)??d,Vt=Gi(Mt,Wt);return we(function C(h){return h&&fr(h.canActivateChild)}(Vt)?Vt.canActivateChild(v,h):Wt.runInContext(()=>Vt(v,h))).pipe((0,N.P)())});return(0,E.of)(Ve).pipe(cn())}));return(0,E.of)(B).pipe(cn())}(h,S.path,d),function Wi(h,m,d){const v=m.routeConfig?m.routeConfig.canActivate:null;if(!v||0===v.length)return(0,E.of)(!0);const S=v.map(B=>(0,K.P)(()=>{const Y=ir(m)??d,Ve=Gi(B,Y);return we(function M(h){return h&&fr(h.canActivate)}(Ve)?Ve.canActivate(m,h):Y.runInContext(()=>Ve(m,h))).pipe((0,N.P)())}));return(0,E.of)(S).pipe(cn())}(h,S.route,d))),(0,N.P)(S=>!0!==S,!0))}(v,B,h,m):(0,E.of)(Ve)),(0,Re.U)(Ve=>({...d,guardsResult:Ve})))})}(this.environmentInjector,Y=>this.events.next(Y)),(0,U.b)(Y=>{if(v.guardsResult=Y.guardsResult,q(Y.guardsResult))throw Jo(0,Y.guardsResult);const Ve=new ji(Y.id,this.urlSerializer.serialize(Y.extractedUrl),this.urlSerializer.serialize(Y.urlAfterRedirects),Y.targetSnapshot,!!Y.guardsResult);this.events.next(Ve)}),(0,Ge.h)(Y=>!!Y.guardsResult||(d.restoreHistory(Y),this.cancelNavigationTransition(Y,"",3),!1)),An(Y=>{if(Y.guards.canActivateChecks.length)return(0,E.of)(Y).pipe((0,U.b)(Ve=>{const Mt=new qi(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(Mt)}),(0,Me.w)(Ve=>{let Mt=!1;return(0,E.of)(Ve).pipe(function ge(h,m){return(0,fe.z)(d=>{const{targetSnapshot:v,guards:{canActivateChecks:S}}=d;if(!S.length)return(0,E.of)(d);let B=0;return(0,a.D)(S).pipe((0,F.b)(Y=>function Je(h,m,d,v){const S=h.routeConfig,B=h._resolve;return void 0!==S?.title&&!bn(S)&&(B[Qe]=S.title),function gt(h,m,d,v){const S=function Gt(h){return[...Object.keys(h),...Object.getOwnPropertySymbols(h)]}(h);if(0===S.length)return(0,E.of)({});const B={};return(0,a.D)(S).pipe((0,fe.z)(Y=>function Tn(h,m,d,v){const S=ir(m)??v,B=Gi(h,S);return we(B.resolve?B.resolve(m,d):S.runInContext(()=>B(m,d)))}(h[Y],m,d,v).pipe((0,N.P)(),(0,U.b)(Ve=>{B[Y]=Ve}))),ft(1),(0,ut.h)(B),(0,ce.K)(Y=>Wn(Y)?te.E:(0,ee._)(Y)))}(B,h,m,v).pipe((0,Re.U)(Y=>(h._resolvedData=Y,h.data=xr(h,d).resolve,S&&bn(S)&&(h.data[Qe]=S.title),null)))}(Y.route,v,h,m)),(0,U.b)(()=>B++),ft(1),(0,fe.z)(Y=>B===S.length?(0,E.of)(d):te.E))})}(d.paramsInheritanceStrategy,this.environmentInjector),(0,U.b)({next:()=>Mt=!0,complete:()=>{Mt||(d.restoreHistory(Ve),this.cancelNavigationTransition(Ve,"",2))}}))}),(0,U.b)(Ve=>{const Mt=new Ni(Ve.id,this.urlSerializer.serialize(Ve.extractedUrl),this.urlSerializer.serialize(Ve.urlAfterRedirects),Ve.targetSnapshot);this.events.next(Mt)}))}),An(Y=>{const Ve=Mt=>{const Wt=[];Mt.routeConfig?.loadComponent&&!Mt.routeConfig._loadedComponent&&Wt.push(this.configLoader.loadComponent(Mt.routeConfig).pipe((0,U.b)(Vt=>{Mt.component=Vt}),(0,Re.U)(()=>{})));for(const Vt of Mt.children)Wt.push(...Ve(Vt));return Wt};return(0,G.a)(Ve(Y.targetSnapshot.root)).pipe((0,St.d)(),(0,rt.q)(1))}),An(()=>this.afterPreactivation()),(0,Re.U)(Y=>{const Ve=function Pr(h,m,d){const v=Ji(h,m._root,d?d._root:void 0);return new Or(v,m)}(d.routeReuseStrategy,Y.targetSnapshot,Y.currentRouterState);return v={...Y,targetRouterState:Ve}}),(0,U.b)(Y=>{d.currentUrlTree=Y.urlAfterRedirects,d.rawUrlTree=d.urlHandlingStrategy.merge(Y.urlAfterRedirects,Y.rawUrl),d.routerState=Y.targetRouterState,"deferred"===d.urlUpdateStrategy&&(Y.extras.skipLocationChange||d.setBrowserUrl(d.rawUrlTree,Y),d.browserUrlTree=Y.urlAfterRedirects)}),((h,m,d)=>(0,Re.U)(v=>(new di(m,v.targetRouterState,v.currentRouterState,d).activate(h),v)))(this.rootContexts,d.routeReuseStrategy,Y=>this.events.next(Y)),(0,U.b)({next:Y=>{S=!0,this.lastSuccessfulNavigation=this.currentNavigation,d.navigated=!0,this.events.next(new ci(Y.id,this.urlSerializer.serialize(Y.extractedUrl),this.urlSerializer.serialize(d.currentUrlTree))),d.titleStrategy?.updateTitle(Y.targetRouterState.snapshot),Y.resolve(!0)},complete:()=>{S=!0}}),(0,vt.x)(()=>{S||B||this.cancelNavigationTransition(v,"",1),this.currentNavigation?.id===v.id&&(this.currentNavigation=null)}),(0,ce.K)(Y=>{if(B=!0,Cr(Y)){Lr(Y)||(d.navigated=!0,d.restoreHistory(v,!0));const Ve=new mn(v.id,this.urlSerializer.serialize(v.extractedUrl),Y.message,Y.cancellationCode);if(this.events.next(Ve),Lr(Y)){const Mt=d.urlHandlingStrategy.merge(Y.url,d.rawUrlTree),Wt={skipLocationChange:v.extras.skipLocationChange,replaceUrl:"eager"===d.urlUpdateStrategy||so(v.source)};d.scheduleNavigation(Mt,ti,null,Wt,{resolve:v.resolve,reject:v.reject,promise:v.promise})}else v.resolve(!1)}else{d.restoreHistory(v,!0);const Ve=new Qi(v.id,this.urlSerializer.serialize(v.extractedUrl),Y,v.targetSnapshot??void 0);this.events.next(Ve);try{v.resolve(d.errorHandler(Y))}catch(Mt){v.reject(Mt)}}return te.E}))}))}cancelNavigationTransition(d,v,S){const B=new mn(d.id,this.urlSerializer.serialize(d.extractedUrl),v,S);this.events.next(B),d.resolve(!1)}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function so(h){return h!==ti}let Ao=(()=>{class h{buildTitle(d){let v,S=d.root;for(;void 0!==S;)v=this.getResolvedTitleForRoute(S)??v,S=S.children.find(B=>B.outlet===ze);return v}getResolvedTitleForRoute(d){return d.data[Qe]}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:function(){return(0,o.f3M)(ao)},providedIn:"root"}),h})(),ao=(()=>{class h extends Ao{constructor(d){super(),this.title=d}updateTitle(d){const v=this.buildTitle(d);void 0!==v&&this.title.setTitle(v)}}return h.\u0275fac=function(d){return new(d||h)(o.LFG(je.Dx))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),Rs=(()=>{class h{}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:function(){return(0,o.f3M)(gs)},providedIn:"root"}),h})();class cs{shouldDetach(m){return!1}store(m,d){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,d){return m.routeConfig===d.routeConfig}}let gs=(()=>{class h extends cs{}return h.\u0275fac=function(){let m;return function(v){return(m||(m=o.n5z(h)))(v||h)}}(),h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const _s=new o.OlP("",{providedIn:"root",factory:()=>({})});let Ps=(()=>{class h{}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:function(){return(0,o.f3M)(Fs)},providedIn:"root"}),h})(),Fs=(()=>{class h{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,v){return d}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function c(h){throw h}function l(h,m,d){return m.parse("/")}const _={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},k={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let $=(()=>{class h{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.f3M)(o.c2e),this.isNgZoneEnabled=!1,this.options=(0,o.f3M)(_s,{optional:!0})||{},this.errorHandler=this.options.errorHandler||c,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||l,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.f3M)(Ps),this.routeReuseStrategy=(0,o.f3M)(Rs),this.urlCreationStrategy=(0,o.f3M)(Ei),this.titleStrategy=(0,o.f3M)(Ao),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Ne((0,o.f3M)(Sn,{optional:!0})??[]),this.navigationTransitions=(0,o.f3M)(xi),this.urlSerializer=(0,o.f3M)(Fe),this.location=(0,o.f3M)(Se.Ye),this.isNgZoneEnabled=(0,o.f3M)(o.R0b)instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Et,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ki(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(d=>{this.lastSuccessfulId=d.id,this.currentPageId=d.targetPageId},d=>{this.console.warn(`Unhandled Navigation Error: ${d}`)})}resetRootComponentType(d){this.routerState.root.component=d,this.navigationTransitions.rootComponentType=d}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const d=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ti,d)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(d=>{const v="popstate"===d.type?"popstate":"hashchange";"popstate"===v&&setTimeout(()=>{this.navigateToSyncWithBrowser(d.url,v,d.state)},0)}))}navigateToSyncWithBrowser(d,v,S){const B={replaceUrl:!0},Y=S?.navigationId?S:null;if(S){const Mt={...S};delete Mt.navigationId,delete Mt.\u0275routerPageId,0!==Object.keys(Mt).length&&(B.state=Mt)}const Ve=this.parseUrl(d);this.scheduleNavigation(Ve,v,Y,B)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(d){this.config=d.map(lr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(d,v={}){const{relativeTo:S,queryParams:B,fragment:Y,queryParamsHandling:Ve,preserveFragment:Mt}=v,Wt=Mt?this.currentUrlTree.fragment:Y;let Vt=null;switch(Ve){case"merge":Vt={...this.currentUrlTree.queryParams,...B};break;case"preserve":Vt=this.currentUrlTree.queryParams;break;default:Vt=B||null}return null!==Vt&&(Vt=this.removeEmptyProps(Vt)),this.urlCreationStrategy.createUrlTree(S,this.routerState,this.currentUrlTree,d,Vt,Wt??null)}navigateByUrl(d,v={skipLocationChange:!1}){const S=q(d)?d:this.parseUrl(d),B=this.urlHandlingStrategy.merge(S,this.rawUrlTree);return this.scheduleNavigation(B,ti,null,v)}navigate(d,v={skipLocationChange:!1}){return function _e(h){for(let m=0;m{const B=d[S];return null!=B&&(v[S]=B),v},{})}scheduleNavigation(d,v,S,B,Y){if(this.disposed)return Promise.resolve(!1);let Ve,Mt,Wt,Vt;return Y?(Ve=Y.resolve,Mt=Y.reject,Wt=Y.promise):Wt=new Promise((Ln,ri)=>{Ve=Ln,Mt=ri}),Vt="computed"===this.canceledNavigationResolution?S&&S.\u0275routerPageId?S.\u0275routerPageId:B.replaceUrl||B.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Vt,source:v,restoredState:S,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:d,extras:B,resolve:Ve,reject:Mt,promise:Wt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Wt.catch(Ln=>Promise.reject(Ln))}setBrowserUrl(d,v){const S=this.urlSerializer.serialize(d),B={...v.extras.state,...this.generateNgRouterState(v.id,v.targetPageId)};this.location.isCurrentPathEqualTo(S)||v.extras.replaceUrl?this.location.replaceState(S,"",B):this.location.go(S,"",B)}restoreHistory(d,v=!1){if("computed"===this.canceledNavigationResolution){const S=this.currentPageId-d.targetPageId;"popstate"!==d.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===S?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===S&&(this.resetState(d),this.browserUrlTree=d.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(S)}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(d),this.resetUrlToCurrentUrlTree())}resetState(d){this.routerState=d.currentRouterState,this.currentUrlTree=d.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,d.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(d,v){return"computed"===this.canceledNavigationResolution?{navigationId:d,\u0275routerPageId:v}:{navigationId:d}}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),Ce=(()=>{class h{constructor(d,v,S,B,Y,Ve){this.router=d,this.route=v,this.tabIndexAttribute=S,this.renderer=B,this.el=Y,this.locationStrategy=Ve,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new xe.x;const Mt=Y.nativeElement.tagName;this.isAnchorElement="A"===Mt||"AREA"===Mt,this.isAnchorElement?this.subscription=d.events.subscribe(Wt=>{Wt instanceof ci&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(d){this._preserveFragment=(0,o.D6c)(d)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(d){this._skipLocationChange=(0,o.D6c)(d)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(d){this._replaceUrl=(0,o.D6c)(d)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(d){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",d)}ngOnChanges(d){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(d){null!=d?(this.commands=Array.isArray(d)?d:[d],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(d,v,S,B,Y){return!!(null===this.urlTree||this.isAnchorElement&&(0!==d||v||S||B||Y||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const d=null===this.href?null:(0,o.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",d)}applyAttributeValue(d,v){const S=this.renderer,B=this.el.nativeElement;null!==v?S.setAttribute(B,d,v):S.removeAttribute(B,d)}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:this.preserveFragment})}}return h.\u0275fac=function(d){return new(d||h)(o.Y36($),o.Y36(Fn),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Se.S$))},h.\u0275dir=o.lG2({type:h,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(d,v){1&d&&o.NdJ("click",function(B){return v.onClick(B.button,B.ctrlKey,B.shiftKey,B.altKey,B.metaKey)}),2&d&&o.uIk("target",v.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[o.TTD]}),h})(),Ke=(()=>{class h{get isActive(){return this._isActive}constructor(d,v,S,B,Y){this.router=d,this.element=v,this.renderer=S,this.cdr=B,this.link=Y,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.vpe,this.routerEventsSubscription=d.events.subscribe(Ve=>{Ve instanceof ci&&this.update()})}ngAfterContentInit(){(0,E.of)(this.links.changes,(0,E.of)(null)).pipe((0,ot.J)()).subscribe(d=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const d=[...this.links.toArray(),this.link].filter(v=>!!v).map(v=>v.onChanges);this.linkInputChangesSubscription=(0,a.D)(d).pipe((0,ot.J)()).subscribe(v=>{this._isActive!==this.isLinkActive(this.router)(v)&&this.update()})}set routerLinkActive(d){const v=Array.isArray(d)?d:d.split(" ");this.classes=v.filter(S=>!!S)}ngOnChanges(d){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const d=this.hasActiveLinks();this._isActive!==d&&(this._isActive=d,this.cdr.markForCheck(),this.classes.forEach(v=>{d?this.renderer.addClass(this.element.nativeElement,v):this.renderer.removeClass(this.element.nativeElement,v)}),d&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(d))})}isLinkActive(d){const v=function Dt(h){return!!h.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return S=>!!S.urlTree&&d.isActive(S.urlTree,v)}hasActiveLinks(){const d=this.isLinkActive(this.router);return this.link&&d(this.link)||this.links.some(d)}}return h.\u0275fac=function(d){return new(d||h)(o.Y36($),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.sBO),o.Y36(Ce,8))},h.\u0275dir=o.lG2({type:h,selectors:[["","routerLinkActive",""]],contentQueries:function(d,v,S){if(1&d&&o.Suo(S,Ce,5),2&d){let B;o.iGM(B=o.CRH())&&(v.links=B)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.TTD]}),h})();class Ut{}let hn=(()=>{class h{constructor(d,v,S,B,Y){this.router=d,this.injector=S,this.preloadingStrategy=B,this.loader=Y}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ge.h)(d=>d instanceof ci),(0,F.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(d,v){const S=[];for(const B of v){B.providers&&!B._injector&&(B._injector=(0,o.MMx)(B.providers,d,`Route: ${B.path}`));const Y=B._injector??d,Ve=B._loadedInjector??Y;B.loadChildren&&!B._loadedRoutes&&void 0===B.canLoad||B.loadComponent&&!B._loadedComponent?S.push(this.preloadConfig(Y,B)):(B.children||B._loadedRoutes)&&S.push(this.processRoutes(Ve,B.children??B._loadedRoutes))}return(0,a.D)(S).pipe((0,ot.J)())}preloadConfig(d,v){return this.preloadingStrategy.preload(v,()=>{let S;S=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(d,v):(0,E.of)(null);const B=S.pipe((0,fe.z)(Y=>null===Y?(0,E.of)(void 0):(v._loadedRoutes=Y.routes,v._loadedInjector=Y.injector,this.processRoutes(Y.injector??d,Y.routes))));if(v.loadComponent&&!v._loadedComponent){const Y=this.loader.loadComponent(v);return(0,a.D)([B,Y]).pipe((0,ot.J)())}return B})}}return h.\u0275fac=function(d){return new(d||h)(o.LFG($),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(Ut),o.LFG(ii))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const Qt=new o.OlP("");let Jt=(()=>{class h{constructor(d,v,S,B,Y={}){this.urlSerializer=d,this.transitions=v,this.viewportScroller=S,this.zone=B,this.options=Y,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Y.scrollPositionRestoration=Y.scrollPositionRestoration||"disabled",Y.anchorScrolling=Y.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof Nn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=d.navigationTrigger,this.restoredId=d.restoredState?d.restoredState.navigationId:0):d instanceof ci&&(this.lastId=d.id,this.scheduleScrollEvent(d,this.urlSerializer.parse(d.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(d=>{d instanceof kn&&(d.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(d.position):d.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(d.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(d,v){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new kn(d,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return h.\u0275fac=function(d){o.$Z()},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac}),h})();function jn(h,m){return{\u0275kind:h,\u0275providers:m}}function sr(){const h=(0,o.f3M)(o.zs3);return m=>{const d=h.get(o.z2F);if(m!==d.components[0])return;const v=h.get($),S=h.get(Yi);1===h.get(Ci)&&v.initialNavigation(),h.get($o,null,o.XFs.Optional)?.setUpPreloading(),h.get(Qt,null,o.XFs.Optional)?.init(),v.resetRootComponentType(d.componentTypes[0]),S.closed||(S.next(),S.unsubscribe())}}const Yi=new o.OlP("",{factory:()=>new xe.x}),Ci=new o.OlP("",{providedIn:"root",factory:()=>1});const $o=new o.OlP("");function uo(h){return jn(0,[{provide:$o,useExisting:hn},{provide:Ut,useExisting:h}])}const _i=new o.OlP("ROUTER_FORROOT_GUARD"),Sr=[Se.Ye,{provide:Fe,useClass:At},$,wr,{provide:Fn,useFactory:function si(h){return h.routerState.root},deps:[$]},ii,[]];function Ki(){return new o.PXZ("Router",$)}let ho=(()=>{class h{constructor(d){}static forRoot(d,v){return{ngModule:h,providers:[Sr,[],{provide:Sn,multi:!0,useValue:d},{provide:_i,useFactory:Ti,deps:[[$,new o.FiY,new o.tp0]]},{provide:_s,useValue:v||{}},v?.useHash?{provide:Se.S$,useClass:Se.Do}:{provide:Se.S$,useClass:Se.b0},{provide:Qt,useFactory:()=>{const h=(0,o.f3M)(Se.EM),m=(0,o.f3M)(o.R0b),d=(0,o.f3M)(_s),v=(0,o.f3M)(xi),S=(0,o.f3M)(Fe);return d.scrollOffset&&h.setOffset(d.scrollOffset),new Jt(S,v,h,m,d)}},v?.preloadingStrategy?uo(v.preloadingStrategy).\u0275providers:[],{provide:o.PXZ,multi:!0,useFactory:Ki},v?.initialNavigation?So(v):[],[{provide:On,useFactory:sr},{provide:o.tb,multi:!0,useExisting:On}]]}}static forChild(d){return{ngModule:h,providers:[{provide:Sn,multi:!0,useValue:d}]}}}return h.\u0275fac=function(d){return new(d||h)(o.LFG(_i,8))},h.\u0275mod=o.oAB({type:h}),h.\u0275inj=o.cJS({imports:[Nr]}),h})();function Ti(h){return"guarded"}function So(h){return["disabled"===h.initialNavigation?jn(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const m=(0,o.f3M)($);return()=>{m.setUpLocationChangeListener()}}},{provide:Ci,useValue:2}]).\u0275providers:[],"enabledBlocking"===h.initialNavigation?jn(2,[{provide:Ci,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:m=>{const d=m.get(Se.V_,Promise.resolve());return()=>d.then(()=>new Promise(S=>{const B=m.get($),Y=m.get(Yi);(function v(S){m.get($).events.pipe((0,Ge.h)(Y=>Y instanceof ci||Y instanceof mn||Y instanceof Qi),(0,Re.U)(Y=>Y instanceof ci||Y instanceof mn&&(0===Y.code||1===Y.code)&&null),(0,Ge.h)(Y=>null!==Y),(0,rt.q)(1)).subscribe(()=>{S()})})(()=>{S(!0)}),m.get(xi).afterPreactivation=()=>(S(!0),Y.closed?(0,E.of)(void 0):Y),B.initialNavigation()}))}}]).\u0275providers:[]]}const On=new o.OlP("")},4700:(_t,De,f)=>{"use strict";f.d(De,{a:()=>Me,lQ:()=>fe,wT:()=>Se});var o=f(4650),a=f(6895),E=f(9646),W=f(1135),Q=f(4006);const G=new o.OlP("recaptcha-language"),re=new o.OlP("recaptcha-base-url"),K=new o.OlP("recaptcha-nonce-tag"),Z=new o.OlP("recaptcha-settings"),ee=new o.OlP("recaptcha-v3-site-key"),te_loadScript=function he(N,F,U,ce,Oe){window.ng2recaptchaloaded=()=>{F(grecaptcha)};const Ue=document.createElement("script");Ue.innerHTML="",Ue.src=`${ce||"https://www.google.com/recaptcha/api.js"}?render=${N}&onload=ng2recaptchaloaded${U}`,Oe&&(Ue.nonce=Oe),Ue.async=!0,Ue.defer=!0,document.head.appendChild(Ue)};let ke=(()=>{class N{constructor(U,ce,Oe,Ue,at){this.platformId=U,this.language=ce,this.baseUrl=Oe,this.nonce=Ue,this.v3SiteKey=at,this.init(),this.ready=(0,a.NF)(this.platformId)?N.ready.asObservable():(0,E.of)()}init(){if(!N.ready&&(0,a.NF)(this.platformId)){const U=new W.X(null);N.ready=U,te_loadScript(this.v3SiteKey||"explicit",Ue=>U.next(Ue),this.language?"&hl="+this.language:"",this.baseUrl,this.nonce)}}}return N.ready=null,N.\u0275fac=function(U){return new(U||N)(o.LFG(o.Lbi),o.LFG(G,8),o.LFG(re,8),o.LFG(K,8),o.LFG(ee,8))},N.\u0275prov=o.Yz7({token:N,factory:N.\u0275fac}),N})(),xe=0,Se=(()=>{class N{constructor(U,ce,Oe,Ue){this.elementRef=U,this.loader=ce,this.zone=Oe,this.id="ngrecaptcha-"+xe++,this.errorMode="default",this.resolved=new o.vpe,this.error=new o.vpe,this.errored=new o.vpe,Ue&&(this.siteKey=Ue.siteKey,this.theme=Ue.theme,this.type=Ue.type,this.size=Ue.size,this.badge=Ue.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(U=>{null!=U&&U.render instanceof Function&&(this.grecaptcha=U,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return null!=this.widget?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(U){this.error.emit(U),this.errored.emit(U)}captchaResponseCallback(U){this.resolved.emit(U)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const U={badge:this.badge,callback:ce=>{this.zone.run(()=>this.captchaResponseCallback(ce))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(U["error-callback"]=(...ce)=>{this.zone.run(()=>this.onError(ce))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,U),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}}return N.\u0275fac=function(U){return new(U||N)(o.Y36(o.SBq),o.Y36(ke),o.Y36(o.R0b),o.Y36(Z,8))},N.\u0275cmp=o.Xpm({type:N,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(U,ce){2&U&&o.uIk("id",ce.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(U,ce){},encapsulation:2}),N})(),Re=(()=>{class N{}return N.\u0275fac=function(U){return new(U||N)},N.\u0275mod=o.oAB({type:N}),N.\u0275inj=o.cJS({}),N})(),Me=(()=>{class N{}return N.\u0275fac=function(U){return new(U||N)},N.\u0275mod=o.oAB({type:N}),N.\u0275inj=o.cJS({providers:[ke],imports:[Re]}),N})(),fe=(()=>{class N{}return N.\u0275fac=function(U){return new(U||N)},N.\u0275mod=o.oAB({type:N}),N.\u0275inj=o.cJS({imports:[Q.u5,Re]}),N})()},5657:(_t,De,f)=>{"use strict";f.d(De,{N:()=>E});var o=f(4650),a=f(6895);let E=(()=>{class W{constructor(G,re){this.document=G,this.platformId=re,this.documentIsAccessible=(0,a.NF)(this.platformId)}static getCookieRegExp(G){const re=G.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+re+"|;\\s*"+re+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(G){try{return decodeURIComponent(G)}catch{return G}}check(G){return!!this.documentIsAccessible&&(G=encodeURIComponent(G),W.getCookieRegExp(G).test(this.document.cookie))}get(G){if(this.documentIsAccessible&&this.check(G)){G=encodeURIComponent(G);const K=W.getCookieRegExp(G).exec(this.document.cookie);return K[1]?W.safeDecodeURIComponent(K[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const G={},re=this.document;return re.cookie&&""!==re.cookie&&re.cookie.split(";").forEach(K=>{const[Z,ee]=K.split("=");G[W.safeDecodeURIComponent(Z.replace(/^ /,""))]=W.safeDecodeURIComponent(ee)}),G}set(G,re,K,Z,ee,he,te){if(!this.documentIsAccessible)return;if("number"==typeof K||K instanceof Date||Z||ee||he||te)return void this.set(G,re,{expires:K,path:Z,domain:ee,secure:he,sameSite:te||"Lax"});let ke=encodeURIComponent(G)+"="+encodeURIComponent(re)+";";const xe=K||{};xe.expires&&(ke+="number"==typeof xe.expires?"expires="+new Date((new Date).getTime()+1e3*xe.expires*60*60*24).toUTCString()+";":"expires="+xe.expires.toUTCString()+";"),xe.path&&(ke+="path="+xe.path+";"),xe.domain&&(ke+="domain="+xe.domain+";"),!1===xe.secure&&"None"===xe.sameSite&&(xe.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${G} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),xe.secure&&(ke+="secure;"),xe.sameSite||(xe.sameSite="Lax"),ke+="sameSite="+xe.sameSite+";",this.document.cookie=ke}delete(G,re,K,Z,ee="Lax"){if(!this.documentIsAccessible)return;const he=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(G,"",{expires:he,path:re,domain:K,secure:Z,sameSite:ee})}deleteAll(G,re,K,Z="Lax"){if(!this.documentIsAccessible)return;const ee=this.getAll();for(const he in ee)ee.hasOwnProperty(he)&&this.delete(he,G,re,K,Z)}}return W.\u0275fac=function(G){return new(G||W)(o.LFG(a.K0),o.LFG(o.Lbi))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})()},5085:(_t,De,f)=>{"use strict";f.d(De,{s:()=>qt,H:()=>Zn});var o={};f.r(o),f.d(o,{Decoder:()=>fi,Encoder:()=>yn,PacketType:()=>xt,protocol:()=>Yt});var a={};f.r(a),f.d(a,{Manager:()=>Te,Socket:()=>Ee,connect:()=>Nt,default:()=>Nt,io:()=>Nt,protocol:()=>Yt});var E=f(4650),W=f(9751),Q=f(3099);const G=Object.create(null);G.open="0",G.close="1",G.ping="2",G.pong="3",G.message="4",G.upgrade="5",G.noop="6";const re=Object.create(null);Object.keys(G).forEach(ie=>{re[G[ie]]=ie});const K={type:"error",data:"parser error"},Z="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),ee="function"==typeof ArrayBuffer,ke=(ie,R)=>{const P=new FileReader;return P.onload=function(){const X=P.result.split(",")[1];R("b"+(X||""))},P.readAsDataURL(ie)},xe=({type:ie,data:R},P,X)=>Z&&R instanceof Blob?P?X(R):ke(R,X):ee&&(R instanceof ArrayBuffer||(ie=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(ie):ie&&ie.buffer instanceof ArrayBuffer)(R))?P?X(R):ke(new Blob([R]),X):X(G[ie]+(R||"")),Se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Re=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let ie=0;ie{if(tt){const P=(ie=>{let X,Pt,tn,Kt,Dn,R=.75*ie.length,P=ie.length,Ye=0;"="===ie[ie.length-1]&&(R--,"="===ie[ie.length-2]&&R--);const Pn=new ArrayBuffer(R),Yn=new Uint8Array(Pn);for(X=0;X>4,Yn[Ye++]=(15&tn)<<4|Kt>>2,Yn[Ye++]=(3&Kt)<<6|63&Dn;return Pn})(ie);return N(P,R)}return{base64:!0,data:ie}},N=(ie,R)=>"blob"===R&&ie instanceof ArrayBuffer?new Blob([ie]):ie,F=(ie,R)=>{if("string"!=typeof ie)return{type:"message",data:N(ie,R)};const P=ie.charAt(0);return"b"===P?{type:"message",data:fe(ie.substring(1),R)}:re[P]?ie.length>1?{type:re[P],data:ie.substring(1)}:{type:re[P]}:K},U=String.fromCharCode(30);function at(ie){if(ie)return function ft(ie){for(var R in at.prototype)ie[R]=at.prototype[R];return ie}(ie)}at.prototype.on=at.prototype.addEventListener=function(ie,R){return this._callbacks=this._callbacks||{},(this._callbacks["$"+ie]=this._callbacks["$"+ie]||[]).push(R),this},at.prototype.once=function(ie,R){function P(){this.off(ie,P),R.apply(this,arguments)}return P.fn=R,this.on(ie,P),this},at.prototype.off=at.prototype.removeListener=at.prototype.removeAllListeners=at.prototype.removeEventListener=function(ie,R){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var P=this._callbacks["$"+ie];if(!P)return this;if(1==arguments.length)return delete this._callbacks["$"+ie],this;for(var X,Ye=0;Ye(ie.hasOwnProperty(X)&&(P[X]=ie[X]),P),{})}const He=setTimeout,Ze=clearTimeout;function nt(ie,R){R.useNativeTimers?(ie.setTimeoutFn=He.bind(It),ie.clearTimeoutFn=Ze.bind(It)):(ie.setTimeoutFn=setTimeout.bind(It),ie.clearTimeoutFn=clearTimeout.bind(It))}function vt(ie){return"string"==typeof ie?function We(ie){let R=0,P=0;for(let X=0,Ye=ie.length;X=57344?P+=3:(X++,P+=4);return P}(ie):Math.ceil(1.33*(ie.byteLength||ie.size))}class ot extends Error{constructor(R,P,X){super(R),this.description=P,this.context=X,this.type="TransportError"}}class je extends at{constructor(R){super(),this.writable=!1,nt(this,R),this.opts=R,this.query=R.query,this.readyState="",this.socket=R.socket}onError(R,P,X){return super.emitReserved("error",new ot(R,P,X)),this}open(){return("closed"===this.readyState||""===this.readyState)&&(this.readyState="opening",this.doOpen()),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(R){"open"===this.readyState&&this.write(R)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(R){const P=F(R,this.socket.binaryType);this.onPacket(P)}onPacket(R){super.emitReserved("packet",R)}onClose(R){this.readyState="closed",super.emitReserved("close",R)}}const ze="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),kt={};let bt,ye=0,Le=0;function Ct(ie){let R="";do{R=ze[ie%64]+R,ie=Math.floor(ie/64)}while(ie>0);return R}function Ne(){const ie=Ct(+new Date);return ie!==bt?(ye=0,bt=ie):ie+"."+Ct(ye++)}for(;Le<64;Le++)kt[ze[Le]]=Le;function qe(ie){let R="";for(let P in ie)ie.hasOwnProperty(P)&&(R.length&&(R+="&"),R+=encodeURIComponent(P)+"="+encodeURIComponent(ie[P]));return R}let le=!1;try{le=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const we=le;function ne(ie){const R=ie.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!R||we))return new XMLHttpRequest}catch{}if(!R)try{return new(It[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch{}}function Pe(){}const pt=null!=new ne({xdomain:!1}).responseType;let L=(()=>{class ie extends at{constructor(P,X){super(),nt(this,X),this.opts=X,this.method=X.method||"GET",this.uri=P,this.async=!1!==X.async,this.data=void 0!==X.data?X.data:null,this.create()}create(){const P=St(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");P.xdomain=!!this.opts.xd,P.xscheme=!!this.opts.xs;const X=this.xhr=new ne(P);try{X.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){X.setDisableHeaderCheck&&X.setDisableHeaderCheck(!0);for(let Ye in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(Ye)&&X.setRequestHeader(Ye,this.opts.extraHeaders[Ye])}}catch{}if("POST"===this.method)try{X.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{X.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in X&&(X.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(X.timeout=this.opts.requestTimeout),X.onreadystatechange=()=>{4===X.readyState&&(200===X.status||1223===X.status?this.onLoad():this.setTimeoutFn(()=>{this.onError("number"==typeof X.status?X.status:0)},0))},X.send(this.data)}catch(Ye){return void this.setTimeoutFn(()=>{this.onError(Ye)},0)}typeof document<"u"&&(this.index=ie.requestsCount++,ie.requests[this.index]=this)}onError(P){this.emitReserved("error",P,this.xhr),this.cleanup(!0)}cleanup(P){if(!(typeof this.xhr>"u"||null===this.xhr)){if(this.xhr.onreadystatechange=Pe,P)try{this.xhr.abort()}catch{}typeof document<"u"&&delete ie.requests[this.index],this.xhr=null}}onLoad(){const P=this.xhr.responseText;null!==P&&(this.emitReserved("data",P),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}return ie.requestsCount=0,ie.requests={},ie})();function se(){for(let ie in L.requests)L.requests.hasOwnProperty(ie)&&L.requests[ie].abort()}typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",se):"function"==typeof addEventListener&&addEventListener("onpagehide"in It?"pagehide":"unload",se,!1));const ue="function"==typeof Promise&&"function"==typeof Promise.resolve?R=>Promise.resolve().then(R):(R,P)=>P(R,0),Be=It.WebSocket||It.MozWebSocket,Et=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),lt={websocket:class me extends je{constructor(R){super(R),this.supportsBinary=!R.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const R=this.uri(),P=this.opts.protocols,X=Et?{}:St(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(X.headers=this.opts.extraHeaders);try{this.ws=Et?new Be(R,P,X):P?new Be(R,P):new Be(R)}catch(Ye){return this.emitReserved("error",Ye)}this.ws.binaryType=this.socket.binaryType||"arraybuffer",this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=R=>this.onClose({description:"websocket connection closed",context:R}),this.ws.onmessage=R=>this.onData(R.data),this.ws.onerror=R=>this.onError("websocket error",R)}write(R){this.writable=!1;for(let P=0;P{try{this.ws.send(Pt)}catch{}Ye&&ue(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let R=this.query||{};const P=this.opts.secure?"wss":"ws";let X="";this.opts.port&&("wss"===P&&443!==Number(this.opts.port)||"ws"===P&&80!==Number(this.opts.port))&&(X=":"+this.opts.port),this.opts.timestampRequests&&(R[this.opts.timestampParam]=Ne()),this.supportsBinary||(R.b64=1);const Ye=qe(R);return P+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+X+this.opts.path+(Ye.length?"?"+Ye:"")}check(){return!!Be}},polling:class de extends je{constructor(R){if(super(R),this.polling=!1,typeof location<"u"){const X="https:"===location.protocol;let Ye=location.port;Ye||(Ye=X?"443":"80"),this.xd=typeof location<"u"&&R.hostname!==location.hostname||Ye!==R.port,this.xs=R.secure!==X}this.supportsBinary=pt&&!(R&&R.forceBase64)}get name(){return"polling"}doOpen(){this.poll()}pause(R){this.readyState="pausing";const P=()=>{this.readyState="paused",R()};if(this.polling||!this.writable){let X=0;this.polling&&(X++,this.once("pollComplete",function(){--X||P()})),this.writable||(X++,this.once("drain",function(){--X||P()}))}else P()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(R){((ie,R)=>{const P=ie.split(U),X=[];for(let Ye=0;Ye{if("opening"===this.readyState&&"open"===X.type&&this.onOpen(),"close"===X.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(X)}),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const R=()=>{this.write([{type:"close"}])};"open"===this.readyState?R():this.once("open",R)}write(R){this.writable=!1,((ie,R)=>{const P=ie.length,X=new Array(P);let Ye=0;ie.forEach((Pt,tn)=>{xe(Pt,!1,Kt=>{X[tn]=Kt,++Ye===P&&R(X.join(U))})})})(R,P=>{this.doWrite(P,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let R=this.query||{};const P=this.opts.secure?"https":"http";let X="";!1!==this.opts.timestampRequests&&(R[this.opts.timestampParam]=Ne()),!this.supportsBinary&&!R.sid&&(R.b64=1),this.opts.port&&("https"===P&&443!==Number(this.opts.port)||"http"===P&&80!==Number(this.opts.port))&&(X=":"+this.opts.port);const Ye=qe(R);return P+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+X+this.opts.path+(Ye.length?"?"+Ye:"")}request(R={}){return Object.assign(R,{xd:this.xd,xs:this.xs},this.opts),new L(this.uri(),R)}doWrite(R,P){const X=this.request({method:"POST",data:R});X.on("success",P),X.on("error",(Ye,Pt)=>{this.onError("xhr post error",Ye,Pt)})}doPoll(){const R=this.request();R.on("data",this.onData.bind(this)),R.on("error",(P,X)=>{this.onError("xhr poll error",P,X)}),this.pollXhr=R}}},j=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ve=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function pe(ie){const R=ie,P=ie.indexOf("["),X=ie.indexOf("]");-1!=P&&-1!=X&&(ie=ie.substring(0,P)+ie.substring(P,X).replace(/:/g,";")+ie.substring(X,ie.length));let Ye=j.exec(ie||""),Pt={},tn=14;for(;tn--;)Pt[ve[tn]]=Ye[tn]||"";return-1!=P&&-1!=X&&(Pt.source=R,Pt.host=Pt.host.substring(1,Pt.host.length-1).replace(/;/g,":"),Pt.authority=Pt.authority.replace("[","").replace("]","").replace(/;/g,":"),Pt.ipv6uri=!0),Pt.pathNames=function Fe(ie,R){const X=R.replace(/\/{2,9}/g,"/").split("/");return("/"==R.slice(0,1)||0===R.length)&&X.splice(0,1),"/"==R.slice(-1)&&X.splice(X.length-1,1),X}(0,Pt.path),Pt.queryKey=function At(ie,R){const P={};return R.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(X,Ye,Pt){Ye&&(P[Ye]=Pt)}),P}(0,Pt.query),Pt}let wt=(()=>{class ie extends at{constructor(P,X={}){super(),P&&"object"==typeof P&&(X=P,P=null),P?(P=pe(P),X.hostname=P.host,X.secure="https"===P.protocol||"wss"===P.protocol,X.port=P.port,P.query&&(X.query=P.query)):X.host&&(X.hostname=pe(X.host).host),nt(this,X),this.secure=null!=X.secure?X.secure:typeof location<"u"&&"https:"===location.protocol,X.hostname&&!X.port&&(X.port=this.secure?"443":"80"),this.hostname=X.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=X.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=X.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},X),this.opts.path=this.opts.path.replace(/\/$/,"")+"/","string"==typeof this.opts.query&&(this.opts.query=function mt(ie){let R={},P=ie.split("&");for(let X=0,Ye=P.length;X{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(P){const X=Object.assign({},this.opts.query);X.EIO=4,X.transport=P,this.id&&(X.sid=this.id);const Ye=Object.assign({},this.opts.transportOptions[P],this.opts,{query:X,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new lt[P](Ye)}open(){let P;if(this.opts.rememberUpgrade&&ie.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))P="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);P=this.transports[0]}this.readyState="opening";try{P=this.createTransport(P)}catch{return this.transports.shift(),void this.open()}P.open(),this.setTransport(P)}setTransport(P){this.transport&&this.transport.removeAllListeners(),this.transport=P,P.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",X=>this.onClose("transport close",X))}probe(P){let X=this.createTransport(P),Ye=!1;ie.priorWebsocketSuccess=!1;const Pt=()=>{Ye||(X.send([{type:"ping",data:"probe"}]),X.once("packet",wn=>{if(!Ye)if("pong"===wn.type&&"probe"===wn.data){if(this.upgrading=!0,this.emitReserved("upgrading",X),!X)return;ie.priorWebsocketSuccess="websocket"===X.name,this.transport.pause(()=>{Ye||"closed"!==this.readyState&&(ei(),this.setTransport(X),X.send([{type:"upgrade"}]),this.emitReserved("upgrade",X),X=null,this.upgrading=!1,this.flush())})}else{const Lt=new Error("probe error");Lt.transport=X.name,this.emitReserved("upgradeError",Lt)}}))};function tn(){Ye||(Ye=!0,ei(),X.close(),X=null)}const Kt=wn=>{const Lt=new Error("probe error: "+wn);Lt.transport=X.name,tn(),this.emitReserved("upgradeError",Lt)};function Dn(){Kt("transport closed")}function Pn(){Kt("socket closed")}function Yn(wn){X&&wn.name!==X.name&&tn()}const ei=()=>{X.removeListener("open",Pt),X.removeListener("error",Kt),X.removeListener("close",Dn),this.off("close",Pn),this.off("upgrading",Yn)};X.once("open",Pt),X.once("error",Kt),X.once("close",Dn),this.once("close",Pn),this.once("upgrading",Yn),X.open()}onOpen(){if(this.readyState="open",ie.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){let P=0;const X=this.upgrades.length;for(;P{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const P=this.getWritablePackets();this.transport.send(P),this.prevBufferLen=P.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let X=1;for(let Ye=0;Ye0&&X>this.maxPayload)return this.writeBuffer.slice(0,Ye);X+=2}return this.writeBuffer}write(P,X,Ye){return this.sendPacket("message",P,X,Ye),this}send(P,X,Ye){return this.sendPacket("message",P,X,Ye),this}sendPacket(P,X,Ye,Pt){if("function"==typeof X&&(Pt=X,X=void 0),"function"==typeof Ye&&(Pt=Ye,Ye=null),"closing"===this.readyState||"closed"===this.readyState)return;(Ye=Ye||{}).compress=!1!==Ye.compress;const tn={type:P,data:X,options:Ye};this.emitReserved("packetCreate",tn),this.writeBuffer.push(tn),Pt&&this.once("flush",Pt),this.flush()}close(){const P=()=>{this.onClose("forced close"),this.transport.close()},X=()=>{this.off("upgrade",X),this.off("upgradeError",X),P()},Ye=()=>{this.once("upgrade",X),this.once("upgradeError",X)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?Ye():P()}):this.upgrading?Ye():P()),this}onError(P){ie.priorWebsocketSuccess=!1,this.emitReserved("error",P),this.onClose("transport error",P)}onClose(P,X){("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",P,X),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(P){const X=[];let Ye=0;const Pt=P.length;for(;Ye"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(ie):ie.buffer instanceof ArrayBuffer)(ie))||Ae&&ie instanceof Blob||I&&ie instanceof File}function A(ie,R){if(!ie||"object"!=typeof ie)return!1;if(Array.isArray(ie)){for(let P=0,X=ie.length;P=0&&ie.num{return(ie=xt||(xt={}))[ie.CONNECT=0]="CONNECT",ie[ie.DISCONNECT=1]="DISCONNECT",ie[ie.EVENT=2]="EVENT",ie[ie.ACK=3]="ACK",ie[ie.CONNECT_ERROR=4]="CONNECT_ERROR",ie[ie.BINARY_EVENT=5]="BINARY_EVENT",ie[ie.BINARY_ACK=6]="BINARY_ACK",xt;var ie})();class yn{constructor(R){this.replacer=R}encode(R){return R.type!==xt.EVENT&&R.type!==xt.ACK||!A(R)?[this.encodeAsString(R)]:this.encodeAsBinary({type:R.type===xt.EVENT?xt.BINARY_EVENT:xt.BINARY_ACK,nsp:R.nsp,data:R.data,id:R.id})}encodeAsString(R){let P=""+R.type;return(R.type===xt.BINARY_EVENT||R.type===xt.BINARY_ACK)&&(P+=R.attachments+"-"),R.nsp&&"/"!==R.nsp&&(P+=R.nsp+","),null!=R.id&&(P+=R.id),null!=R.data&&(P+=JSON.stringify(R.data,this.replacer)),P}encodeAsBinary(R){const P=J(R),X=this.encodeAsString(P.packet),Ye=P.buffers;return Ye.unshift(X),Ye}}class fi extends at{constructor(R){super(),this.reviver=R}add(R){let P;if("string"==typeof R){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");P=this.decodeString(R);const X=P.type===xt.BINARY_EVENT;X||P.type===xt.BINARY_ACK?(P.type=X?xt.EVENT:xt.ACK,this.reconstructor=new Cn(P),0===P.attachments&&super.emitReserved("decoded",P)):super.emitReserved("decoded",P)}else{if(!w(R)&&!R.base64)throw new Error("Unknown type: "+R);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");P=this.reconstructor.takeBinaryData(R),P&&(this.reconstructor=null,super.emitReserved("decoded",P))}}decodeString(R){let P=0;const X={type:Number(R.charAt(0))};if(void 0===xt[X.type])throw new Error("unknown packet type "+X.type);if(X.type===xt.BINARY_EVENT||X.type===xt.BINARY_ACK){const Pt=P+1;for(;"-"!==R.charAt(++P)&&P!=R.length;);const tn=R.substring(Pt,P);if(tn!=Number(tn)||"-"!==R.charAt(P))throw new Error("Illegal attachments");X.attachments=Number(tn)}if("/"===R.charAt(P+1)){const Pt=P+1;for(;++P&&","!==R.charAt(P)&&P!==R.length;);X.nsp=R.substring(Pt,P)}else X.nsp="/";const Ye=R.charAt(P+1);if(""!==Ye&&Number(Ye)==Ye){const Pt=P+1;for(;++P;){const tn=R.charAt(P);if(null==tn||Number(tn)!=tn){--P;break}if(P===R.length)break}X.id=Number(R.substring(Pt,P+1))}if(R.charAt(++P)){const Pt=this.tryParse(R.substr(P));if(!fi.isPayloadValid(X.type,Pt))throw new Error("invalid payload");X.data=Pt}return X}tryParse(R){try{return JSON.parse(R,this.reviver)}catch{return!1}}static isPayloadValid(R,P){switch(R){case xt.CONNECT:return"object"==typeof P;case xt.DISCONNECT:return void 0===P;case xt.CONNECT_ERROR:return"string"==typeof P||"object"==typeof P;case xt.EVENT:case xt.BINARY_EVENT:return Array.isArray(P)&&P.length>0;case xt.ACK:case xt.BINARY_ACK:return Array.isArray(P)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Cn{constructor(R){this.packet=R,this.buffers=[],this.reconPack=R}takeBinaryData(R){if(this.buffers.push(R),this.buffers.length===this.reconPack.attachments){const P=it(this.reconPack,this.buffers);return this.finishedReconstruction(),P}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function ln(ie,R,P){return ie.on(R,P),function(){ie.off(R,P)}}const be=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Ee extends at{constructor(R,P,X){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=R,this.nsp=P,X&&X.auth&&(this.auth=X.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const R=this.io;this.subs=[ln(R,"open",this.onopen.bind(this)),ln(R,"packet",this.onpacket.bind(this)),ln(R,"error",this.onerror.bind(this)),ln(R,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...R){return R.unshift("message"),this.emit.apply(this,R),this}emit(R,...P){if(be.hasOwnProperty(R))throw new Error('"'+R.toString()+'" is a reserved event name');P.unshift(R);const X={type:xt.EVENT,data:P,options:{}};if(X.options.compress=!1!==this.flags.compress,"function"==typeof P[P.length-1]){const tn=this.ids++,Kt=P.pop();this._registerAckCallback(tn,Kt),X.id=tn}return this.flags.volatile&&(!(this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable)||!this.connected)||(this.connected?(this.notifyOutgoingListeners(X),this.packet(X)):this.sendBuffer.push(X)),this.flags={},this}_registerAckCallback(R,P){const X=this.flags.timeout;if(void 0===X)return void(this.acks[R]=P);const Ye=this.io.setTimeoutFn(()=>{delete this.acks[R];for(let Pt=0;Pt{this.io.clearTimeoutFn(Ye),P.apply(this,[null,...Pt])}}packet(R){R.nsp=this.nsp,this.io._packet(R)}onopen(){"function"==typeof this.auth?this.auth(R=>{this.packet({type:xt.CONNECT,data:R})}):this.packet({type:xt.CONNECT,data:this.auth})}onerror(R){this.connected||this.emitReserved("connect_error",R)}onclose(R,P){this.connected=!1,delete this.id,this.emitReserved("disconnect",R,P)}onpacket(R){if(R.nsp===this.nsp)switch(R.type){case xt.CONNECT:R.data&&R.data.sid?this.onconnect(R.data.sid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case xt.EVENT:case xt.BINARY_EVENT:this.onevent(R);break;case xt.ACK:case xt.BINARY_ACK:this.onack(R);break;case xt.DISCONNECT:this.ondisconnect();break;case xt.CONNECT_ERROR:this.destroy();const X=new Error(R.data.message);X.data=R.data.data,this.emitReserved("connect_error",X)}}onevent(R){const P=R.data||[];null!=R.id&&P.push(this.ack(R.id)),this.connected?this.emitEvent(P):this.receiveBuffer.push(Object.freeze(P))}emitEvent(R){if(this._anyListeners&&this._anyListeners.length){const P=this._anyListeners.slice();for(const X of P)X.apply(this,R)}super.emit.apply(this,R)}ack(R){const P=this;let X=!1;return function(...Ye){X||(X=!0,P.packet({type:xt.ACK,id:R,data:Ye}))}}onack(R){const P=this.acks[R.id];"function"==typeof P&&(P.apply(this,R.data),delete this.acks[R.id])}onconnect(R){this.id=R,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(R=>this.emitEvent(R)),this.receiveBuffer=[],this.sendBuffer.forEach(R=>{this.notifyOutgoingListeners(R),this.packet(R)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(R=>R()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:xt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(R){return this.flags.compress=R,this}get volatile(){return this.flags.volatile=!0,this}timeout(R){return this.flags.timeout=R,this}onAny(R){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(R),this}prependAny(R){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(R),this}offAny(R){if(!this._anyListeners)return this;if(R){const P=this._anyListeners;for(let X=0;X0&&ie.jitter<=1?ie.jitter:0,this.attempts=0}q.prototype.duration=function(){var ie=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var R=Math.random(),P=Math.floor(R*this.jitter*ie);ie=1&Math.floor(10*R)?ie+P:ie-P}return 0|Math.min(ie,this.max)},q.prototype.reset=function(){this.attempts=0},q.prototype.setMin=function(ie){this.ms=ie},q.prototype.setMax=function(ie){this.max=ie},q.prototype.setJitter=function(ie){this.jitter=ie};class Te extends at{constructor(R,P){var X;super(),this.nsps={},this.subs=[],R&&"object"==typeof R&&(P=R,R=void 0),(P=P||{}).path=P.path||"/socket.io",this.opts=P,nt(this,P),this.reconnection(!1!==P.reconnection),this.reconnectionAttempts(P.reconnectionAttempts||1/0),this.reconnectionDelay(P.reconnectionDelay||1e3),this.reconnectionDelayMax(P.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(X=P.randomizationFactor)&&void 0!==X?X:.5),this.backoff=new q({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==P.timeout?2e4:P.timeout),this._readyState="closed",this.uri=R;const Ye=P.parser||o;this.encoder=new Ye.Encoder,this.decoder=new Ye.Decoder,this._autoConnect=!1!==P.autoConnect,this._autoConnect&&this.open()}reconnection(R){return arguments.length?(this._reconnection=!!R,this):this._reconnection}reconnectionAttempts(R){return void 0===R?this._reconnectionAttempts:(this._reconnectionAttempts=R,this)}reconnectionDelay(R){var P;return void 0===R?this._reconnectionDelay:(this._reconnectionDelay=R,null===(P=this.backoff)||void 0===P||P.setMin(R),this)}randomizationFactor(R){var P;return void 0===R?this._randomizationFactor:(this._randomizationFactor=R,null===(P=this.backoff)||void 0===P||P.setJitter(R),this)}reconnectionDelayMax(R){var P;return void 0===R?this._reconnectionDelayMax:(this._reconnectionDelayMax=R,null===(P=this.backoff)||void 0===P||P.setMax(R),this)}timeout(R){return arguments.length?(this._timeout=R,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(R){if(~this._readyState.indexOf("open"))return this;this.engine=new wt(this.uri,this.opts);const P=this.engine,X=this;this._readyState="opening",this.skipReconnect=!1;const Ye=ln(P,"open",function(){X.onopen(),R&&R()}),Pt=ln(P,"error",tn=>{X.cleanup(),X._readyState="closed",this.emitReserved("error",tn),R?R(tn):X.maybeReconnectOnOpen()});if(!1!==this._timeout){const tn=this._timeout;0===tn&&Ye();const Kt=this.setTimeoutFn(()=>{Ye(),P.close(),P.emit("error",new Error("timeout"))},tn);this.opts.autoUnref&&Kt.unref(),this.subs.push(function(){clearTimeout(Kt)})}return this.subs.push(Ye),this.subs.push(Pt),this}connect(R){return this.open(R)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const R=this.engine;this.subs.push(ln(R,"ping",this.onping.bind(this)),ln(R,"data",this.ondata.bind(this)),ln(R,"error",this.onerror.bind(this)),ln(R,"close",this.onclose.bind(this)),ln(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(R){try{this.decoder.add(R)}catch(P){this.onclose("parse error",P)}}ondecoded(R){ue(()=>{this.emitReserved("packet",R)},this.setTimeoutFn)}onerror(R){this.emitReserved("error",R)}socket(R,P){let X=this.nsps[R];return X||(X=new Ee(this,R,P),this.nsps[R]=X),X}_destroy(R){const P=Object.keys(this.nsps);for(const X of P)if(this.nsps[X].active)return;this._close()}_packet(R){const P=this.encoder.encode(R);for(let X=0;XR()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(R,P){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",R,P),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const R=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const P=this.backoff.duration();this._reconnecting=!0;const X=this.setTimeoutFn(()=>{R.skipReconnect||(this.emitReserved("reconnect_attempt",R.backoff.attempts),!R.skipReconnect&&R.open(Ye=>{Ye?(R._reconnecting=!1,R.reconnect(),this.emitReserved("reconnect_error",Ye)):R.onreconnect()}))},P);this.opts.autoUnref&&X.unref(),this.subs.push(function(){clearTimeout(X)})}}onreconnect(){const R=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",R)}}const dt={};function Nt(ie,R){"object"==typeof ie&&(R=ie,ie=void 0);const P=function jt(ie,R="",P){let X=ie;P=P||typeof location<"u"&&location,null==ie&&(ie=P.protocol+"//"+P.host),"string"==typeof ie&&("/"===ie.charAt(0)&&(ie="/"===ie.charAt(1)?P.protocol+ie:P.host+ie),/^(https?|wss?):\/\//.test(ie)||(ie=typeof P<"u"?P.protocol+"//"+ie:"https://"+ie),X=pe(ie)),X.port||(/^(http|ws)$/.test(X.protocol)?X.port="80":/^(http|ws)s$/.test(X.protocol)&&(X.port="443")),X.path=X.path||"/";const Pt=-1!==X.host.indexOf(":")?"["+X.host+"]":X.host;return X.id=X.protocol+"://"+Pt+":"+X.port+R,X.href=X.protocol+"://"+Pt+(P&&P.port===X.port?"":":"+X.port),X}(ie,(R=R||{}).path||"/socket.io"),X=P.source,Ye=P.id;let Dn;return R.forceNew||R["force new connection"]||!1===R.multiplex||dt[Ye]&&P.path in dt[Ye].nsps?Dn=new Te(X,R):(dt[Ye]||(dt[Ye]=new Te(X,R)),Dn=dt[Ye]),P.query&&!R.query&&(R.query=P.queryKey),Dn.socket(P.path,R)}Object.assign(Nt,{Manager:Te,Socket:Ee,io:Nt,connect:Nt});class qt{constructor(R){this.config=R,this.subscribersCounter={},this.eventObservables$={},this.emptyConfig={url:"",options:{}},void 0===R&&(R=this.emptyConfig),this.ioSocket=(Nt||a)(R.url,R.options)}of(R){this.ioSocket.of(R)}on(R,P){this.ioSocket.on(R,P)}once(R,P){this.ioSocket.once(R,P)}connect(){return this.ioSocket.connect()}disconnect(R){return this.ioSocket.disconnect.apply(this.ioSocket,arguments)}emit(R,...P){return this.ioSocket.emit.apply(this.ioSocket,arguments)}removeListener(R,P){return this.ioSocket.removeListener.apply(this.ioSocket,arguments)}removeAllListeners(R){return this.ioSocket.removeAllListeners.apply(this.ioSocket,arguments)}fromEvent(R){return this.subscribersCounter[R]||(this.subscribersCounter[R]=0),this.subscribersCounter[R]++,this.eventObservables$[R]||(this.eventObservables$[R]=new W.y(P=>{const X=Ye=>{P.next(Ye)};return this.ioSocket.on(R,X),()=>{this.subscribersCounter[R]--,0===this.subscribersCounter[R]&&(this.ioSocket.removeListener(R,X),delete this.eventObservables$[R])}}).pipe((0,Q.B)())),this.eventObservables$[R]}fromOneTimeEvent(R){return new Promise(P=>this.once(R,P))}}function Rn(ie){return new qt(ie)}const vn=new E.OlP("__SOCKET_IO_CONFIG__");let Zn=(()=>{class ie{static forRoot(P){return{ngModule:ie,providers:[{provide:vn,useValue:P},{provide:qt,useFactory:Rn,deps:[vn]}]}}}return ie.\u0275fac=function(P){return new(P||ie)},ie.\u0275mod=E.oAB({type:ie}),ie.\u0275inj=E.cJS({}),ie})()}},_t=>{_t(_t.s=1352)}]); \ No newline at end of file