%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/www2]/app/
Upload File :
Create Path :
Current File : /home/vacivi36/www2]/app/main.d5ea3e00426ee83c.js

(self.webpackChunkmaterial=self.webpackChunkmaterial||[]).push([[179],{5969:(Yt,ut,c)=>{"use strict";c.d(ut,{C:()=>ie});var s=c(8966),i=c(5e3),h=c(7423),u=c(4834),l=c(3737);let Me=(()=>{class re{constructor(X,Ne){this.dialogRef=X,this.data=Ne}ngOnInit(){}closeDialog(){this.dialogRef.close()}}return re.\u0275fac=function(X){return new(X||re)(i.Y36(s.so),i.Y36(s.WI))},re.\u0275cmp=i.Xpm({type:re,selectors:[["app-alert-dialog"]],decls:12,vars:2,consts:[["cdkDrag","","cdkDragRootElement",".cdk-overlay-pane","cdkDragHandle","",1,"d-flex","align-items-center","justify-content-between","cursor-pointer","p-1","mt-2","mx-3"],[1,"mdi","mdi-close","mb-2",3,"click"],[1,"mat-typography","p-4","background-color-form","dialog-container"],["cdkDrag","","cdkDragRootElement",".cdk-overlay-pane","cdkDragHandle","","align","end",1,"cursor-pointer","p-1","mt-1","mx-3","mb-1"],["mat-button","","matDialogClose","",2,"color","#2f3d4a"]],template:function(X,Ne){1&X&&(i.TgZ(0,"div",0)(1,"h6"),i._uU(2),i.qZA(),i.TgZ(3,"i",1),i.NdJ("click",function(){return Ne.closeDialog()}),i.qZA()(),i._UZ(4,"mat-divider"),i.TgZ(5,"div",2)(6,"span"),i._uU(7),i.qZA()(),i._UZ(8,"mat-divider"),i.TgZ(9,"div",3)(10,"button",4),i._uU(11,"Fechar"),i.qZA()()),2&X&&(i.xp6(2),i.Oqu(Ne.data.title),i.xp6(5),i.Oqu(Ne.data.message))},dependencies:[h.lW,s.ZT,u.d,l.Zt,l.Bh],styles:[".dialog-container[_ngcontent-%COMP%]{height:220px;border:1px solid #D7D7D7;margin:20px;border-radius:5px}"]}),re})(),ie=(()=>{class re{constructor(X){this.dialog=X}openAlertDialog(X,Ne){return this.dialog.open(Me,{width:"700px",data:{title:X,message:Ne},autoFocus:!1})}}return re.\u0275fac=function(X){return new(X||re)(i.LFG(s.uw))},re.\u0275prov=i.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})()},4854:(Yt,ut,c)=>{"use strict";c.d(ut,{Q:()=>s,x:()=>i});const s={ACTIVE:1,INACTIVE:!1,APPLIED:1,NOT_APPLIED:!1,PENDING:void 0},i={ADMINISTRATOR:"true"}},4530:(Yt,ut,c)=>{"use strict";c.d(ut,{U:()=>h});var s=c(5136),i=c(5e3);let h=(()=>{class u extends s.b{constructor(){super(...arguments),this.key="campaigns"}}return u.\u0275fac=function(){let l;return function(ie){return(l||(l=i.n5z(u)))(ie||u)}}(),u.\u0275prov=i.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},6966:(Yt,ut,c)=>{"use strict";c.d(ut,{J:()=>l});var s=c(5136),i=c(520),h=c(5e3);let l=(()=>{class Me extends s.b{constructor(){super(...arguments),this.key="companies"}listActive(){return function(Me,ie,re,ve){return new(re||(re=Promise))(function(Ne,ne){function Ce(Be){try{Ae(ve.next(Be))}catch(Se){ne(Se)}}function ae(Be){try{Ae(ve.throw(Be))}catch(Se){ne(Se)}}function Ae(Be){Be.done?Ne(Be.value):function X(Ne){return Ne instanceof re?Ne:new re(function(ne){ne(Ne)})}(Be.value).then(Ce,ae)}Ae((ve=ve.apply(Me,ie||[])).next())})}(this,void 0,void 0,function*(){let re=sessionStorage.getItem("access_token");const ve=new i.WM({Authorization:`Bearer ${re}`});return this.http.get(this.url+"/active",{headers:ve}).toPromise()})}}return Me.\u0275fac=function(){let ie;return function(ve){return(ie||(ie=h.n5z(Me)))(ve||Me)}}(),Me.\u0275prov=h.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})()},8902:(Yt,ut,c)=>{"use strict";c.d(ut,{e:()=>h});var s=c(5136),i=c(5e3);let h=(()=>{class u extends s.b{constructor(){super(...arguments),this.key="patients"}}return u.\u0275fac=function(){let l;return function(ie){return(l||(l=i.n5z(u)))(ie||u)}}(),u.\u0275prov=i.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},1538:(Yt,ut,c)=>{"use strict";c.d(ut,{K:()=>Me});var s=c(5136),i=c(520),h=c(2340),u=c(5e3),l=function(ie,re,ve,X){return new(ve||(ve=Promise))(function(ne,Ce){function ae(Se){try{Be(X.next(Se))}catch(mt){Ce(mt)}}function Ae(Se){try{Be(X.throw(Se))}catch(mt){Ce(mt)}}function Be(Se){Se.done?ne(Se.value):function Ne(ne){return ne instanceof ve?ne:new ve(function(Ce){Ce(ne)})}(Se.value).then(ae,Ae)}Be((X=X.apply(ie,re||[])).next())})};let Me=(()=>{class ie extends s.b{constructor(){super(...arguments),this.key="users"}showUser(ve){return l(this,void 0,void 0,function*(){let X=sessionStorage.getItem("access_token");const Ne=new i.WM({Authorization:`Bearer ${X}`,"Content-Type":"application/json"});let ne=new i.LE;return Object.keys(ve||{}).forEach(Ce=>{ne=ne.append(Ce,ve[Ce])}),this.http.get(`${h.N.apiBaseUrl}/api/user/show`,{headers:Ne,params:ve}).toPromise().catch(Ce=>{}).finally()})}listActive(){return l(this,void 0,void 0,function*(){let ve=sessionStorage.getItem("access_token");const X=new i.WM({Authorization:`Bearer ${ve}`});return this.http.get(this.url+"/active",{headers:X}).toPromise()})}}return ie.\u0275fac=function(){let re;return function(X){return(re||(re=u.n5z(ie)))(X||ie)}}(),ie.\u0275prov=u.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})()},5136:(Yt,ut,c)=>{"use strict";c.d(ut,{b:()=>l});var s=c(520),i=c(2340),h=c(5e3),u=function(Me,ie,re,ve){return new(re||(re=Promise))(function(Ne,ne){function Ce(Be){try{Ae(ve.next(Be))}catch(Se){ne(Se)}}function ae(Be){try{Ae(ve.throw(Be))}catch(Se){ne(Se)}}function Ae(Be){Be.done?Ne(Be.value):function X(Ne){return Ne instanceof re?Ne:new re(function(ne){ne(Ne)})}(Be.value).then(Ce,ae)}Ae((ve=ve.apply(Me,ie||[])).next())})};let l=(()=>{class Me{constructor(re){this.http=re,this.APIUrl=i.N.apiBaseUrl}get url(){return`${this.APIUrl}/api/${this.key}`}create(re){return u(this,void 0,void 0,function*(){let ve=sessionStorage.getItem("access_token");const X=new s.WM({Authorization:`Bearer ${ve}`});return this.http.post(`${this.url}`,re,{headers:X}).toPromise()})}update(re,ve){return u(this,void 0,void 0,function*(){let X=sessionStorage.getItem("access_token");const Ne=new s.WM({Authorization:`Bearer ${X}`});return this.http.put(`${this.url}/`+re,ve,{headers:Ne}).toPromise()})}list(re){return u(this,void 0,void 0,function*(){let ve=sessionStorage.getItem("access_token");const X=new s.WM({Authorization:`Bearer ${ve}`});return this.http.get(this.url,{headers:X,params:re}).toPromise()})}show(re,ve){return u(this,void 0,void 0,function*(){let X=sessionStorage.getItem("access_token");const Ne=new s.WM({Authorization:`Bearer ${X}`});return this.http.get(`${this.url}/`+re,{headers:Ne,params:{category_id:ve}}).toPromise().catch()})}delete(re){return u(this,void 0,void 0,function*(){let ve=sessionStorage.getItem("access_token");const X=new s.WM({Authorization:`Bearer ${ve}`});return this.http.delete(`${this.url}/`+re,{headers:X}).toPromise()})}}return Me.\u0275fac=function(re){return new(re||Me)(h.LFG(s.eN))},Me.\u0275prov=h.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me})()},4540:(Yt,ut,c)=>{"use strict";c.d(ut,{m:()=>pr}),c(3191);var i=c(5e3),h=c(508),l=(c(727),c(7579)),X=(c(9770),c(6451),c(9646),c(4968),c(925)),Ne=c(9808),ne=c(9776),Ce=c(9071),Ae=(c(1159),c(7429)),Se=(c(3075),c(7322)),We=(c(8675),c(3900),c(5698),c(9300),c(4004),c(8505),c(1005),c(226));const B={provide:new i.OlP("mat-autocomplete-scroll-strategy"),deps:[ne.aV],useFactory:function Y(ot){return()=>ot.scrollStrategies.reposition()}};let Ke=(()=>{class ot{}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({providers:[B],imports:[ne.U8,h.Ng,h.BQ,Ne.ez,Ce.ZD,h.Ng,h.BQ]}),ot})();var gt=c(7423),Et=(c(449),c(5664));let k=(()=>{class ot{}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({imports:[h.BQ,h.si,h.BQ]}),ot})();var W=c(9224),Z=c(7446),Ee=c(6688),tt=c(6856),qe=c(8966),kt=c(288);let Ue=(()=>{class ot{}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({imports:[h.uc,h.BQ,h.uc,h.BQ]}),ot})();var It=c(5245),Fe=c(7531),Ye=c(4623),R=c(2181),ee=c(6087),pe=c(5899),fe=c(773);let Xt=(()=>{class ot{}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({imports:[h.si,h.BQ,h.BQ]}),ot})();var bn=c(4107),Nn=c(2638);let Ui=(()=>{class ot{}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({imports:[Ne.ez,h.BQ,h.BQ]}),ot})();var us=c(2368),ns=c(7261),ji=c(4847),Ve=c(8279),$e=c(3251),wt=c(4594),Ht=c(7238);let Ds=(()=>{class ot{}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({imports:[We.vT]}),ot})();c(1777);let zn=(()=>{class ot{constructor(){this.changes=new l.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275prov=i.Yz7({token:ot,factory:ot.\u0275fac,providedIn:"root"}),ot})();const Pe={provide:zn,deps:[[new i.FiY,new i.tp0,zn]],useFactory:function N(ot){return ot||new zn}};let Zn=(()=>{class ot{}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({providers:[Pe,h.rD],imports:[h.BQ,Ne.ez,Ae.eL,gt.ot,Ds,It.Ps,h.si,h.BQ]}),ot})(),os=(()=>{class ot{}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({imports:[Et.rt,h.BQ,h.BQ]}),ot})();var ur=c(1088);let M=(()=>{class ot{}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({imports:[ur.Su,h.BQ,Ae.eL,h.BQ]}),ot})();var bi=c(7587),Ci=c(3262),ms=c(7144),hr=c(3737);let pr=(()=>{class ot{}return ot.\u0275fac=function(E){return new(E||ot)},ot.\u0275mod=i.oAB({type:ot}),ot.\u0275inj=i.cJS({imports:[Ke,gt.ot,M,k,W.QW,Z.p9,Ee.Hi,Ve.p0,tt.FA,qe.Is,kt.To,Se.lN,Ue,It.Ps,Fe.c,Ye.ie,R.Tx,ee.TU,pe.Cv,fe.Cq,Xt,h.si,bn.LD,os,Nn.SJ,us.rP,Ui,ns.ZX,ji.JX,Zn,$e.Nh,wt.g0,Ht.AV,h.XK,bi.HT,Et.rt,We.vT,Ci.XD,ms.Q8,ne.U8,X.ud,Ae.eL,hr._t]}),ot})()},2340:(Yt,ut,c)=>{"use strict";c.d(ut,{N:()=>s});const s={apiBaseUrl:"https://core.vacivitta.com.br",clientSecret:"ekbuV0pwMmIMVHV9tU9tRtWYJcso1YA57H2su5mB",clientId:2,grantType:"password",production:!0}},7746:(Yt,ut,c)=>{"use strict";var s=c(2313),i=c(5e3),u=(c(5386),c(6696)),l=c(3075),Me=c(520),ie=c(9808),re=c(5113);const ve=[{state:"home",type:"link",name:"Dashboard",icon:"leaderboard"},{state:"schedules",type:"link",name:"Agendamentos",icon:"date_range"},{state:"vaccines-application",type:"link",name:"Sala de Vacinas",icon:"medical_services"},{state:"campaigns",type:"link",name:"Campanhas",icon:"diversity_3"},{state:"vaccines",type:"link",name:"Vacinas",icon:"vaccines"},{state:"patients",type:"link",name:"Pacientes",icon:"assignment_ind"},{state:"users",type:"link",name:"Usu\xe1rios",icon:"people"},{state:"companies",type:"link",name:"Empresas",icon:"business"},{state:"reports",type:"toggle",name:"Relat\xf3rios",icon:"description",children:[{state:"resume-application",type:"link",name:"Resumo",icon:"mdi mdi-text-box-check-outline"},{state:"detailed-application",type:"link",name:"Detalhes",icon:"mdi mdi-text-box-search-outline"}]}];let X=(()=>{class S{constructor(){this.menuItems=ve}toggleMenuItem(d){this.menuItems[d].expanded=!this.menuItems[d].expanded}getMenuitem(){return this.menuItems}}return S.\u0275fac=function(d){return new(d||S)},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac}),S})();var Ne=c(7423),ne=c(5245),Ce=c(2638),ae=c(4594),Ae=c(7093);function Be(S,p){1&S&&(i.TgZ(0,"div",1)(1,"div",2),i._UZ(2,"div",3)(3,"div",4),i.qZA()())}let Se=(()=>{class S{constructor(d,C){this.router=d,this.document=C,this.isSpinnerVisible=!0,this.backgroundColor="rgba(98,8,232,0.69)",this.router.events.subscribe(K=>{K instanceof u.OD?this.isSpinnerVisible=!0:(K instanceof u.m2||K instanceof u.gk||K instanceof u.Q3)&&(this.isSpinnerVisible=!1)},()=>{this.isSpinnerVisible=!1})}ngOnDestroy(){this.isSpinnerVisible=!1}}return S.\u0275fac=function(d){return new(d||S)(i.Y36(u.F0),i.Y36(ie.K0))},S.\u0275cmp=i.Xpm({type:S,selectors:[["app-spinner"]],inputs:{backgroundColor:"backgroundColor"},decls:1,vars:1,consts:[["class","preloader",4,"ngIf"],[1,"preloader"],[1,"spinner"],[1,"double-bounce1"],[1,"double-bounce2"]],template:function(d,C){1&d&&i.YNc(0,Be,4,0,"div",0),2&d&&i.Q6J("ngIf",C.isSpinnerVisible)},dependencies:[ie.O5],encapsulation:2}),S})(),bt=(()=>{class S{}return S.\u0275fac=function(d){return new(d||S)},S.\u0275cmp=i.Xpm({type:S,selectors:[["app-root"]],decls:2,vars:0,template:function(d,C){1&d&&(i.TgZ(0,"router-outlet"),i._UZ(1,"app-spinner"),i.qZA())},dependencies:[u.lC,Se]}),S})();var Mt=c(2340);let ke=(()=>{class S{constructor(d,C){this.http=d,this.router=C,this.APIUrl=Mt.N.apiBaseUrl}get urlAuth(){return`${this.APIUrl}/${this.key}`}authenticate(d,C,K,He,vt){return this.http.post(`${this.urlAuth}`,{username:d,password:C,client_secret:K,client_id:He,grant_type:vt}).toPromise().catch(yt=>{console.log(yt)}).finally()}reset(d){let C=sessionStorage.getItem("access_token");const K=new Me.WM({Authorization:`Bearer ${C}`});return this.http.post(`${this.urlAuth}`,{email:d},{headers:K}).toPromise().catch(He=>{console.log(He)}).finally()}logout(){sessionStorage.clear(),this.router.navigate(["/login"])}}return S.\u0275fac=function(d){return new(d||S)(i.LFG(Me.eN),i.LFG(u.F0))},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),oe=(()=>{class S extends ke{constructor(){super(...arguments),this.key="oauth/token"}}return S.\u0275fac=function(){let p;return function(C){return(p||(p=i.n5z(S)))(C||S)}}(),S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),he=(()=>{class S{constructor(d){this.loginService=d,this.loading=!1,this.VERSION="V 1.0.0",this.userName=sessionStorage.getItem("user_name")}ngOnInit(){}logout(){this.loginService.logout()}}return S.\u0275fac=function(d){return new(d||S)(i.Y36(oe))},S.\u0275cmp=i.Xpm({type:S,selectors:[["app-header"]],decls:9,vars:2,consts:[[1,"d-flex","align-items-center","mx-3"],[1,"mdi","mdi-account","mx-1","white"],[1,"username"],["mat-button","","routerLink","/login",2,"color","#FFFFFF",3,"click"],[1,"mdi","mdi-logout"],[1,"version"]],template:function(d,C){1&d&&(i.TgZ(0,"div",0),i._UZ(1,"i",1),i.TgZ(2,"span",2),i._uU(3),i.qZA(),i.TgZ(4,"button",3),i.NdJ("click",function(){return C.logout()}),i._UZ(5,"i",4),i._uU(6," Sair "),i.qZA(),i.TgZ(7,"span",5),i._uU(8),i.qZA()()),2&d&&(i.xp6(3),i.hij("Ol\xe1, ",C.userName,""),i.xp6(5),i.Oqu(C.VERSION))},dependencies:[Ne.lW,u.rH],styles:['.menu-itens[_ngcontent-%COMP%]{border:none;background-color:transparent;border-radius:4px;margin-left:10px;margin-right:15px}.menu-itens[_ngcontent-%COMP%]:hover{background-color:#f5f5f5}.version[_ngcontent-%COMP%]{color:#fff;font-weight:600;font-size:12px;opacity:.7;margin-right:10px;margin-left:10px}.username[_ngcontent-%COMP%]{color:#fff;font-size:14px;margin-right:10px}.mdi-logout[_ngcontent-%COMP%]:before{content:"\\f0343";font-size:16px}.mdi-account[_ngcontent-%COMP%]:before{content:"\\f0004";color:#fff}']}),S})();var le=c(508),We=c(4623),we=c(9300);let et=(()=>{class S{constructor(d){this.router=d,this.navlinks=[],setTimeout(()=>this.checkOpenLinks())}closeOtherLinks(d){this.navlinks.forEach(C=>{C!==d&&(C.selected=!1)})}addLink(d){this.navlinks.push(d)}removeGroup(d){const C=this.navlinks.indexOf(d);-1!==C&&this.navlinks.splice(C,1)}checkOpenLinks(){this.navlinks.forEach(d=>{d.group&&this.router.url.split("/").indexOf(d.group)>0&&(d.selected=!0,this.closeOtherLinks(d))})}ngAfterContentChecked(){this.router.events.pipe((0,we.h)(d=>d instanceof u.m2)).subscribe(d=>this.checkOpenLinks())}}return S.\u0275fac=function(d){return new(d||S)(i.Y36(u.F0))},S.\u0275dir=i.lG2({type:S,selectors:[["","appAccordion",""]]}),S})(),Xe=(()=>{class S{constructor(d){this._selected=!1,this.nav=d}get selected(){return this._selected}set selected(d){this._selected=d,d&&this.nav.closeOtherLinks(this)}ngOnInit(){this.nav.addLink(this)}ngOnDestroy(){this.nav.removeGroup(this)}toggle(){this.selected=!this.selected}}return S.\u0275fac=function(d){return new(d||S)(i.Y36(et))},S.\u0275dir=i.lG2({type:S,selectors:[["","appAccordionLink",""]],hostVars:2,hostBindings:function(d,C){2&d&&i.ekj("selected",C.selected)},inputs:{group:"group",selected:"selected"}}),S})(),_e=(()=>{class S{constructor(d){this.navlink=d}onClick(d){this.navlink.toggle()}}return S.\u0275fac=function(d){return new(d||S)(i.Y36(Xe))},S.\u0275dir=i.lG2({type:S,selectors:[["","appAccordionToggle",""]],hostBindings:function(d,C){1&d&&i.NdJ("click",function(He){return C.onClick(He)})}}),S})();const lt=function(S){return["/",S]};function je(S,p){if(1&S&&(i.TgZ(0,"mat-list-item",4)(1,"a",5)(2,"mat-icon"),i._uU(3),i.qZA(),i.TgZ(4,"span"),i._uU(5),i.qZA()()()),2&S){const d=i.oxw().$implicit;i.s9C("group",d.state),i.Q6J("routerLink",i.VKq(4,lt,d.state)),i.xp6(3),i.Oqu(d.icon),i.xp6(2),i.Oqu(d.name)}}function pt(S,p){if(1&S&&(i.TgZ(0,"div",11)(1,"a",12),i._UZ(2,"mat-icon"),i.TgZ(3,"span"),i._uU(4),i.qZA()()()),2&S){const d=p.$implicit;i.Q6J("routerLink",i.VKq(6,lt,d.state)),i.xp6(1),i.Q6J("routerLink",i.VKq(8,lt,d.state)),i.xp6(1),i.Gre("d-flex align-items-center ",d.icon,""),i.xp6(2),i.Oqu(d.name)}}function it(S,p){if(1&S&&(i.TgZ(0,"mat-nav-list"),i.YNc(1,pt,5,10,"div",10),i.qZA()),2&S){const d=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngForOf",d.children)}}function ft(S,p){if(1&S){const d=i.EpF();i.TgZ(0,"mat-list-item",6)(1,"a",7),i.NdJ("click",function(){i.CHM(d);const K=i.oxw().index,He=i.oxw();return i.KtG(He.menuItems.toggleMenuItem(K))}),i.TgZ(2,"mat-icon"),i._uU(3),i.qZA(),i.TgZ(4,"span",8),i._uU(5),i.qZA(),i.TgZ(6,"mat-icon"),i._uU(7),i.qZA()(),i.YNc(8,it,2,1,"mat-nav-list",9),i.qZA()}if(2&S){const d=i.oxw().$implicit;i.s9C("group",d.state),i.xp6(3),i.Oqu(d.icon),i.xp6(2),i.Oqu(d.name),i.xp6(2),i.Oqu(d.expanded?"expand_less":"expand_more"),i.xp6(1),i.Q6J("ngIf",d.expanded)}}function Ct(S,p){if(1&S&&(i.ynx(0),i.YNc(1,je,6,6,"mat-list-item",2),i.YNc(2,ft,9,5,"mat-list-item",3),i.BQk()),2&S){const d=p.$implicit,C=i.oxw();i.xp6(1),i.Q6J("ngIf","link"===d.type&&(C.isAdmin||"home"===d.state)),i.xp6(1),i.Q6J("ngIf","toggle"===d.type&&(C.isAdmin||"home"===d.state))}}let St=(()=>{class S{constructor(d,C,K){this.menuItems=K,this.isAdmin=!1,this.mobileQuery=C.matchMedia("(min-width: 768px)"),this._mobileQueryListener=()=>d.detectChanges(),this.mobileQuery.addListener(this._mobileQueryListener);const He=sessionStorage.getItem("user_administrator");this.isAdmin="1"==He||"true"==He}ngOnDestroy(){this.mobileQuery.removeListener(this._mobileQueryListener)}}return S.\u0275fac=function(d){return new(d||S)(i.Y36(i.sBO),i.Y36(re.vx),i.Y36(X))},S.\u0275cmp=i.Xpm({type:S,selectors:[["app-sidebar"]],decls:2,vars:1,consts:[["appAccordion","",2,"margin-top","10px"],[4,"ngFor","ngForOf"],["appAccordionLink","","routerLinkActive","selected",3,"routerLink","group",4,"ngIf"],["appAccordionLink","",3,"group",4,"ngIf"],["appAccordionLink","","routerLinkActive","selected",3,"routerLink","group"],["appAccordionToggle",""],["appAccordionLink","",3,"group"],["appAccordionToggle","",3,"click"],[2,"margin-right","15px"],[4,"ngIf"],["routerLinkActive","selected",3,"routerLink",4,"ngFor","ngForOf"],["routerLinkActive","selected",3,"routerLink"],["matLine","","routerLinkActive","active-link",3,"routerLink"]],template:function(d,C){1&d&&(i.TgZ(0,"mat-nav-list",0),i.YNc(1,Ct,3,2,"ng-container",1),i.qZA()),2&d&&(i.xp6(1),i.Q6J("ngForOf",C.menuItems.getMenuitem()))},dependencies:[ie.sg,ie.O5,le.X2,ne.Hw,We.Hk,We.Tg,_e,Xe,et,u.rH,u.yS,u.Od],styles:['.mdi-home-heart[_ngcontent-%COMP%]:before{content:"\\f0827";font-size:20px}  .mat-ripple-element{display:none}.mdi-text-box-check-outline[_ngcontent-%COMP%]:before{content:"\\f0ea7";font-size:23px}.mdi-text-box-search-outline[_ngcontent-%COMP%]:before{content:"\\f0eaf";font-size:23px}']}),S})();function Y(S,p){if(1&S){const d=i.EpF();i.TgZ(0,"button",11),i.NdJ("click",function(){i.CHM(d),i.oxw();const K=i.MAs(9);return i.KtG(K.toggle())}),i.TgZ(1,"mat-icon"),i._uU(2,"menu"),i.qZA()()}}let B=(()=>{class S{constructor(d,C,K){this.menuItems=K,this.mobileQuery=C.matchMedia("(min-width: 768px)"),this._mobileQueryListener=()=>d.detectChanges(),this.mobileQuery.addListener(this._mobileQueryListener)}ngOnDestroy(){this.mobileQuery.removeListener(this._mobileQueryListener)}ngAfterViewInit(){}isAdmin(){return"true"===sessionStorage.getItem("user_administrator")}}return S.\u0275fac=function(d){return new(d||S)(i.Y36(i.sBO),i.Y36(re.vx),i.Y36(X))},S.\u0275cmp=i.Xpm({type:S,selectors:[["app-full-layout"]],decls:15,vars:6,consts:[[1,"main-container"],["color","primary",1,"topbar","telative",2,"height","55px"],[1,"navbar-header"],["src","assets/images/logo-v2-color-and-white.png","alt","homepage","width","130"],["style","color: #FFFFFF","mat-icon-button","","value","sidebarclosed",3,"click",4,"ngIf"],["fxFlex",""],[1,"example-sidenav-container"],["id","snav","fixedTopGap","0",1,"dark-sidebar","pl-xs",2,"width","250px",3,"mode","opened","disableClose"],["snav",""],[1,"page-wrapper"],[1,"page-content"],["mat-icon-button","","value","sidebarclosed",2,"color","#FFFFFF",3,"click"]],template:function(d,C){1&d&&(i.TgZ(0,"div",0)(1,"mat-toolbar",1)(2,"div",2),i._UZ(3,"img",3),i.qZA(),i.YNc(4,Y,3,0,"button",4),i._UZ(5,"span",5)(6,"app-header"),i.qZA(),i.TgZ(7,"mat-sidenav-container",6)(8,"mat-sidenav",7,8),i._UZ(10,"app-sidebar"),i.qZA(),i.TgZ(11,"mat-sidenav-content",9)(12,"div",10)(13,"router-outlet"),i._UZ(14,"app-spinner"),i.qZA()()()()()),2&d&&(i.xp6(4),i.Q6J("ngIf",C.isAdmin()),i.xp6(3),i.Udp("margin-top",0,"px"),i.xp6(1),i.Q6J("mode",C.mobileQuery.matches?"side":"over")("opened",C.isAdmin())("disableClose",C.mobileQuery.matches))},dependencies:[ie.O5,Ne.lW,ne.Hw,Ce.JX,Ce.TM,Ce.Rh,ae.Ye,Ae.yH,u.lC,he,Se,St],encapsulation:2}),S})();var _=c(7261),A=c(1538),J=c(5969),se=c(7322),de=c(7531),De=c(7238),Ke=c(3322);const gt=function(S,p){return{"mdi-eye":S,"mdi-eye-off":p}};let ze=(()=>{class S{constructor(d,C,K,He,vt,yt){this.router=d,this.formBuilder=C,this._snackBar=K,this.loginService=He,this.userService=vt,this.alertDialogService=yt,this.client_secret=Mt.N.clientSecret,this.client_id=Mt.N.clientId,this.grant_type=Mt.N.grantType,this.loading=!1,this.showPassword=!1}ngOnInit(){this.initForm()}initForm(){this.form=this.formBuilder.group({email:this.formBuilder.control(null,[l.kI.required,l.kI.email]),password:this.formBuilder.control(null,[l.kI.required])})}login(){var d,C;if(this.form.valid){this.loading=!0;let K=null===(d=this.form.get("email"))||void 0===d?void 0:d.value,He=null===(C=this.form.get("password"))||void 0===C?void 0:C.value;this.loginService.authenticate(K,He,this.client_secret,this.client_id,this.grant_type).then(vt=>{vt&&(sessionStorage.setItem("access_token",vt.access_token),sessionStorage.setItem("refresh_token",vt.refresh_token),this.userService.showUser({email:K}).then(yt=>{const Ft=yt.status;sessionStorage.setItem("user_name",yt.name),sessionStorage.setItem("user_id",yt.id),sessionStorage.setItem("user_administrator",yt.administrator),sessionStorage.setItem("user_company_id",yt.company_id),sessionStorage.setItem("user_status",yt.status),1==Ft?this.router.navigate(["/home"]):this.alertDialogService.openAlertDialog("Alerta","Seu acesso ao sistema foi temporariamente bloqueado. Para mais informa\xe7\xf5es, entre em contato conosco.")}).catch(yt=>{console.log(yt),this.openSnackBar("Erro ao obter informa\xe7\xf5es do usu\xe1rio.","Fechar","danger")}).finally(()=>{this.loading=!1}))}).catch(vt=>{this.openSnackBar("E-mail ou senha incorretos, tente novamente.","Fechar","danger")}).finally(()=>{this.loading=!1})}}resetPassword(){var d;this.loading=!0;let C=null===(d=this.form.get("email"))||void 0===d?void 0:d.value;this.loginService.reset(C).then(K=>{null===C?this.openSnackBar("Preencha o campo e-mail para resetar a senha.","Fechar","danger"):this.openSnackBar("Um reset de senha foi enviado para o email: "+C,"Fechar","success")}).catch(K=>{this.openSnackBar("Erro ao resetar a senha.","Fechar","danger")}).finally(()=>{this.loading=!1})}openSnackBar(d,C,K){this._snackBar.open(d,C,{horizontalPosition:"right",verticalPosition:"bottom",duration:4e3,panelClass:"snackBar-"+K})}}return S.\u0275fac=function(d){return new(d||S)(i.Y36(u.F0),i.Y36(l.qu),i.Y36(_.ux),i.Y36(oe),i.Y36(A.K),i.Y36(J.C))},S.\u0275cmp=i.Xpm({type:S,selectors:[["app-login"]],decls:36,vars:10,consts:[[1,"login-container"],[1,"login-form"],[3,"formGroup","ngSubmit"],[1,"card"],["src","assets/images/logo-v1.png","width","200"],[1,"label-welcome","mt-3"],[1,"label-subtitle-welcome"],[1,"col-md-7","mt-4"],["appearance","legacy"],["matPrefix","",1,"mdi","mdi-email-outline","mx-2"],["type","text","matInput","","formControlName","email"],["control","email","controlName","email",3,"formGroup"],[1,"col-md-7","mt-3"],["matPrefix","",1,"mdi","mdi-key-outline","mx-2"],["type","password","matInput","","formControlName","password",3,"type"],["type","button","matTooltip","Mostrar/Ocultar Senha",1,"btn","btn-show-password","shadow-none","active-none",3,"click"],[1,"mdi",3,"ngClass"],["control","password","controlName","password",3,"formGroup"],[1,"font-size","d-flex","justify-content-end","mb-3","mt-1"],[1,"forget-password"],[1,"resend-password",3,"click"],["type","submit","mat-raised-button","","color","primary",1,"button-login",3,"disabled"],[1,"spinner"],[1,"login-image"]],template:function(d,C){1&d&&(i.TgZ(0,"div",0)(1,"div",1)(2,"form",2),i.NdJ("ngSubmit",function(){return C.login()}),i.TgZ(3,"div",3),i._UZ(4,"img",4),i.TgZ(5,"span",5),i._uU(6,"Seja bem vindo(a)"),i.qZA(),i.TgZ(7,"span",6),i._uU(8,"Fa\xe7a login para acessar sua conta"),i.qZA(),i.TgZ(9,"div",7)(10,"mat-form-field",8)(11,"mat-label"),i._UZ(12,"i",9),i._uU(13,"E-mail"),i.qZA(),i._UZ(14,"input",10),i.TgZ(15,"mat-error",11),i._uU(16," Por favor, digite um e-mail v\xe1lido "),i.qZA()()(),i.TgZ(17,"div",12)(18,"mat-form-field",8)(19,"mat-label"),i._UZ(20,"i",13),i._uU(21,"Senha"),i.qZA(),i._UZ(22,"input",14),i.TgZ(23,"button",15),i.NdJ("click",function(){return C.showPassword=!C.showPassword}),i._UZ(24,"i",16),i.qZA(),i.TgZ(25,"mat-error",17),i._uU(26," Digite sua senha "),i.qZA()()(),i.TgZ(27,"div",18)(28,"span",19),i._uU(29,"Esqueceu sua senha?\xa0"),i.qZA(),i.TgZ(30,"strong",20),i.NdJ("click",function(){return C.resetPassword()}),i._uU(31,"Clique aqui"),i.qZA()(),i.TgZ(32,"button",21),i._UZ(33,"span",22),i._uU(34),i.qZA()()()(),i._UZ(35,"div",23),i.qZA()),2&d&&(i.xp6(2),i.Q6J("formGroup",C.form),i.xp6(13),i.Q6J("formGroup",C.form),i.xp6(7),i.Q6J("type",C.showPassword?"text":"password"),i.xp6(2),i.Q6J("ngClass",i.WLB(7,gt,!C.showPassword,C.showPassword)),i.xp6(1),i.Q6J("formGroup",C.form),i.xp6(7),i.Q6J("disabled",C.loading),i.xp6(2),i.hij(" ",C.loading?"Carregando...":"Login"," "))},dependencies:[ie.mk,Ne.lW,se.TO,se.KE,se.hX,se.qo,de.Nt,De.gM,l._Y,l.Fj,l.JJ,l.JL,Ke.oO,l.sg,l.u],styles:["body[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-height:100vh;margin:0}.card[_ngcontent-%COMP%]{width:550px;height:500px;border:none;background-color:#fffdf0;align-items:center;zoom:1.05}.subtitle-login[_ngcontent-%COMP%]{font-size:15px;color:#8d8d8d}.button-login[_ngcontent-%COMP%]{width:59%;margin-top:15px;height:38px;font-size:15px}.button-login[_ngcontent-%COMP%]:hover:not([disabled]){background-color:#1f722e}.remember[_ngcontent-%COMP%]{font-size:13px;font-weight:400;color:#8d8d8d}.forgot-password[_ngcontent-%COMP%]{font-size:13px;font-weight:400;color:#8d8d8d;cursor:pointer}.button-login[_ngcontent-%COMP%]{position:relative}.spinner[_ngcontent-%COMP%]{position:absolute;top:-50%;left:50%;transform:translate(-50%,-50%);width:30px;height:30px;border:3px solid #c8e9c3;border-top-color:#308f42;border-radius:50%;animation:spinner .8s linear infinite;display:none}@keyframes spinner{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}.button-login[disabled][_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%]{display:inline-block}.resend-password[_ngcontent-%COMP%]{cursor:pointer;color:#0998da}.forget-password[_ngcontent-%COMP%]{color:#616161}.font-size[_ngcontent-%COMP%]{font-size:13px;margin-left:100px}.btn-show-password[_ngcontent-%COMP%]{position:absolute;top:55%;right:0;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#b6b6b6}.login-container[_ngcontent-%COMP%]{display:flex;height:100vh}.login-image[_ngcontent-%COMP%]{flex:1;background-image:url(/assets/images/background-v2.jpg);background-size:cover;background-position:center}.login-form[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;background-color:#fffdf0}@media (max-width: 768px){.login-container[_ngcontent-%COMP%]{flex-direction:column;align-items:center}.login-form[_ngcontent-%COMP%]{width:100vw;padding:0}.card[_ngcontent-%COMP%]{width:90%;margin:0 auto;height:100vh;display:flex;zoom:1;justify-content:center;padding:1.5rem}.login-image[_ngcontent-%COMP%]{display:none}}.label-welcome[_ngcontent-%COMP%]{color:#313131;font-size:20px;font-family:Poppins,serif}.label-subtitle-welcome[_ngcontent-%COMP%]{color:#313131;font-size:13px;font-family:Poppins,serif}"]}),S})(),Et=(()=>{class S{constructor(d){this.router=d}canActivate(d,C){if(null!=sessionStorage.access_token)return!0;this.router.navigate(["/login"])}}return S.\u0275fac=function(d){return new(d||S)(i.LFG(u.F0))},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();var Nt=c(4540),$t=c(6838),ln=c(4854),gn=c(6966),jt=c(4530),cn=c(5136),Qe=function(S,p,d,C){return new(d||(d=Promise))(function(He,vt){function yt(sn){try{Wt(C.next(sn))}catch(mn){vt(mn)}}function Ft(sn){try{Wt(C.throw(sn))}catch(mn){vt(mn)}}function Wt(sn){sn.done?He(sn.value):function K(He){return He instanceof d?He:new d(function(vt){vt(He)})}(sn.value).then(yt,Ft)}Wt((C=C.apply(S,p||[])).next())})};let st=(()=>{class S extends cn.b{constructor(){super(...arguments),this.key="vaccines_application"}reportResumeApplication(d){return Qe(this,void 0,void 0,function*(){let C=sessionStorage.getItem("access_token");const K=new Me.WM({Authorization:`Bearer ${C}`});return this.http.get(this.url+"/reportResume",{headers:K,params:d}).toPromise()})}reportDetailedApplication(d){return Qe(this,void 0,void 0,function*(){let C=sessionStorage.getItem("access_token");const K=new Me.WM({Authorization:`Bearer ${C}`});return this.http.get(this.url+"/reportDetailed",{headers:K,params:d}).toPromise()})}}return S.\u0275fac=function(){let p;return function(C){return(p||(p=i.n5z(S)))(C||S)}}(),S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();var xe=c(6856),q=c(5899),k=c(4107);const W=["htmlContainer"];function Z(S,p){1&S&&i._UZ(0,"mat-progress-bar",27)}function Ee(S,p){if(1&S){const d=i.EpF();i.TgZ(0,"mat-select-filter",28),i.NdJ("filteredReturn",function(K){i.CHM(d);const He=i.oxw();return i.KtG(He.filteredCompanies=K)}),i.qZA()}if(2&S){const d=i.oxw();i.Q6J("placeholder","Pesquisar")("displayMember","name")("array",d.companies)}}function tt(S,p){if(1&S&&(i.TgZ(0,"mat-option",9),i._uU(1),i.qZA()),2&S){const d=p.$implicit;i.Q6J("value",d.id),i.xp6(1),i.Oqu(d.name)}}function qe(S,p){if(1&S){const d=i.EpF();i.TgZ(0,"mat-select-filter",28),i.NdJ("filteredReturn",function(K){i.CHM(d);const He=i.oxw();return i.KtG(He.filteredCampaigns=K)}),i.qZA()}if(2&S){const d=i.oxw();i.Q6J("placeholder","Pesquisar")("displayMember","name")("array",d.campaigns)}}function kt(S,p){if(1&S&&(i.TgZ(0,"mat-option",9),i._uU(1),i.qZA()),2&S){const d=p.$implicit;i.Q6J("value",d.id),i.xp6(1),i.Oqu(d.name)}}function qt(S,p){if(1&S){const d=i.EpF();i.TgZ(0,"button",29),i.NdJ("click",function(){i.CHM(d);const K=i.oxw();return i.KtG(K.generatePDF())}),i._UZ(1,"i",30),i.qZA()}if(2&S){const d=i.oxw();i.Q6J("ngClass",0==d.resumeApplicationsData.length?"button-disabled":"button-download")("disabled",0==d.resumeApplicationsData.length)("matTooltip",0==d.resumeApplicationsData.length?"Para imprimir \xe9 necess\xe1rio registros encontrados":"")}}function en(S,p){1&S&&(i.TgZ(0,"div",31),i._UZ(1,"i",32),i.qZA())}function Lt(S,p){1&S&&(i.TgZ(0,"span",45),i._uU(1,"Nenhum registro encontrado."),i.qZA())}function xt(S,p){if(1&S&&(i.TgZ(0,"tr",46)(1,"td",47),i._uU(2),i.ALo(3,"date"),i.qZA(),i.TgZ(4,"td",47),i._uU(5),i.qZA(),i.TgZ(6,"td",47),i._uU(7),i.qZA(),i.TgZ(8,"td",47),i._uU(9),i.qZA(),i.TgZ(10,"td",47),i._uU(11),i.qZA()()),2&S){const d=p.$implicit;i.xp6(2),i.Oqu(i.xi3(3,5,d.application_date,"dd/MM/yyyy")),i.xp6(3),i.Oqu(d.patient_name),i.xp6(2),i.Oqu(d.campaign),i.xp6(2),i.Oqu(d.vaccine),i.xp6(2),i.hij("",d.dose_number,"\xaa Dose")}}function Rt(S,p){if(1&S&&(i.TgZ(0,"div",33),i._UZ(1,"img",34),i.TgZ(2,"p",35),i._uU(3,"Relat\xf3rio de Aplica\xe7\xf5es de Vacinas Resumido"),i.qZA(),i.TgZ(4,"div",36)(5,"span",37),i._uU(6),i.ALo(7,"date"),i.ALo(8,"date"),i.qZA(),i.TgZ(9,"span",37),i._uU(10),i.qZA()(),i.TgZ(11,"div",38),i._uU(12),i.qZA(),i.TgZ(13,"table",39)(14,"thead",40)(15,"tr")(16,"th",41),i._uU(17,"Data da Aplica\xe7\xe3o"),i.qZA(),i.TgZ(18,"th",41),i._uU(19,"Paciente"),i.qZA(),i.TgZ(20,"th",41),i._uU(21,"Campanha"),i.qZA(),i.TgZ(22,"th",41),i._uU(23,"Vacina"),i.qZA(),i.TgZ(24,"th",41),i._uU(25,"Dose"),i.qZA()()(),i.YNc(26,Lt,2,0,"span",42),i.TgZ(27,"tbody"),i.YNc(28,xt,12,8,"tr",43),i.qZA()(),i.TgZ(29,"footer",44),i._uU(30," \xa9 2024 Vacivitta. Todos os direitos reservados. "),i.qZA()()),2&S){const d=i.oxw();let C,K,He;i.xp6(1),i.Q6J("src",d.logoPath,i.LSH),i.xp6(5),i.AsE(" Per\xedodo: ",i.xi3(7,8,null==(C=d.form.get("from"))?null:C.value,"dd/MM/yyyy")," at\xe9 ",i.xi3(8,11,null==(C=d.form.get("to"))?null:C.value,"dd/MM/yyyy")," "),i.xp6(4),i.hij(" Status: ",d.getStatusText(null==(K=d.form.get("is_applied"))?null:K.value)," "),i.xp6(2),i.AsE(" Total de ",d.getStatusText(null==(He=d.form.get("is_applied"))?null:He.value),": ",d.resumeApplicationsData.length," "),i.xp6(14),i.Q6J("ngIf",0==d.resumeApplicationsData.length&&!d.showIconReport),i.xp6(2),i.Q6J("ngForOf",d.resumeApplicationsData)}}let ge=(()=>{class S{constructor(d,C,K,He,vt,yt){this.companyService=d,this.campaignService=C,this._snackBar=K,this.formBuilder=He,this.reportService=vt,this.datePipe=yt,this.loading=!1,this.showIconReport=!0,this.filteredCompanies=[],this.companies=[],this.filteredCampaigns=[],this.campaigns=[],this.resumeApplicationsData=[],this.logoPath=window.location.origin+"/assets/images/logo-v2.png"}ngOnInit(){this.initForm(),this.downloadCompanies(),this.downloadCampaigns()}initForm(){const d=new Date;this.form=this.formBuilder.group({company_id:[""],campaign_id:[""],from:new l.NI(d),to:new l.NI(d),is_applied:[ln.Q.APPLIED]})}generatePDF(){const C=new Blob([this.htmlContainer.nativeElement.innerHTML],{type:"text/html; charset=UTF-8"}),K=URL.createObjectURL(C),He=window.open(K,"_blank");He&&(He.onload=()=>{He.print()})}filterPDFResumeApplication(){var d,C,K,He,vt;let yt=this.datePipe.transform(null===(d=this.form.get("from"))||void 0===d?void 0:d.value,"yyyy-MM-dd"),Ft=this.datePipe.transform(null===(C=this.form.get("to"))||void 0===C?void 0:C.value,"yyyy-MM-dd"),Wt=null===(K=this.form.get("company_id"))||void 0===K?void 0:K.value,sn=null===(He=this.form.get("campaign_id"))||void 0===He?void 0:He.value,mn=null===(vt=this.form.get("is_applied"))||void 0===vt?void 0:vt.value;this.PDFResumeApplication(yt,Ft,Wt,sn,mn)}PDFResumeApplication(d,C,K,He,vt){this.loading=!0,this.showIconReport=!1,setTimeout(()=>{this.reportService.reportResumeApplication({from:d,to:C,company_id:K,campaign_id:He,is_applied:vt}).then(yt=>{this.resumeApplicationsData=yt}).catch(yt=>{this.openSnackBar("Erro ao listar dados do relat\xf3rio","Fechar","danger")}).finally(()=>{this.loading=!1})},2e3)}downloadCompanies(){this.loading=!0,this.companyService.listActive().then(d=>{this.companies=d,this.filteredCompanies=this.companies.slice(),console.log(this.filteredCompanies)}).catch(d=>{this.openSnackBar("Erro ao listar empresas","Fechar","danger")}).finally(()=>{this.loading=!1})}downloadCampaigns(){this.loading=!0,this.campaignService.list().then(d=>{this.campaigns=d,this.filteredCampaigns=this.campaigns.slice()}).catch(d=>{this.openSnackBar("Erro ao listar campanhas","Fechar","danger")}).finally(()=>{this.loading=!1})}openSnackBar(d,C,K){this._snackBar.open(d,C,{horizontalPosition:"right",verticalPosition:"bottom",duration:3e3,panelClass:"snackBar-"+K})}getStatusText(d){return 1===d?"Vacinas Aplicadas":0===d?"Vacinas N\xe3o Aplicadas":2===d?"Vacinas Pendentes":void 0}onFiltersChange(d){this.showIconReport=!0}}return S.\u0275fac=function(d){return new(d||S)(i.Y36(gn.J),i.Y36(jt.U),i.Y36(_.ux),i.Y36(l.qu),i.Y36(st),i.Y36(ie.uU))},S.\u0275cmp=i.Xpm({type:S,selectors:[["app-resume-application"]],viewQuery:function(d,C){if(1&d&&i.Gf(W,7),2&d){let K;i.iGM(K=i.CRH())&&(C.htmlContainer=K.first)}},standalone:!0,features:[i.jDz],decls:45,vars:21,consts:[["class","loading-report","color","accent","mode","indeterminate",4,"ngIf"],[1,"d-flex","flex-row"],[1,"reports",2,"width","25%",3,"formGroup"],[1,"mt-2"],[1,"mt-3","p-2"],[1,"w-100"],["formControlName","company_id","placeholder","Empresas",3,"disableOptionCentering"],["select1",""],[3,"placeholder","displayMember","array","filteredReturn",4,"ngIf"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],["formControlName","campaign_id","placeholder","Campanhas",3,"disableOptionCentering"],["select2",""],["formControlName","is_applied","placeholder","Status",3,"disableOptionCentering","selectionChange"],[1,"w-100",2,"margin-top","2px"],[2,"margin-top","10px"],[2,"font-size","15px",3,"rangePicker"],["matStartDate","","formControlName","from"],["matEndDate","","formControlName","to"],["matSuffix","",3,"for"],["picker",""],["color","accent","mat-raised-button","",2,"float","right",3,"disabled","matTooltip","click"],[2,"position","relative","width","100%","padding-left","25px"],["style","position: absolute; top: 0; right: 0;",3,"ngClass","disabled","matTooltip","click",4,"ngIf"],["htmlContainer",""],["class","icon-container",4,"ngIf"],["style","font-family: Poppins, sans-serif; color: #333;",4,"ngIf"],["color","accent","mode","indeterminate",1,"loading-report"],[3,"placeholder","displayMember","array","filteredReturn"],[2,"position","absolute","top","0","right","0",3,"ngClass","disabled","matTooltip","click"],[1,"mdi","mdi-printer",2,"color","#ffffff"],[1,"icon-container"],[1,"mdi","mdi-file-document-outline"],[2,"font-family","Poppins, sans-serif","color","#333"],["width","170","alt","Vacivitta",2,"margin-bottom","15px",3,"src"],[2,"color","#242424","font-weight","600","margin","0","font-size","15px"],[2,"display","flex","flex-direction","column","margin-top","5px"],[2,"font-size","0.7em","font-weight","400"],[2,"font-size","0.9em","font-weight","600","margin-top","10px"],[2,"width","100%","border-collapse","collapse","font-size","14px","margin-top","10px"],[2,"background-color","#4CAF50","color","white","font-weight","normal","text-align","left","font-size","13px"],[2,"padding","5px","border","1px solid #ddd","text-align","start","font-weight","600"],["style","margin-left: 2px",4,"ngIf"],["style","background-color: #f9f9f9;",4,"ngFor","ngForOf"],[2,"text-align","center","margin-top","20px","font-size","12px","color","#666"],[2,"margin-left","2px"],[2,"background-color","#f9f9f9"],[2,"padding","4px","text-align","start","border-bottom","1px solid #D7D7D7","font-size","13px","background-color","#F8F8F8"]],template:function(d,C){if(1&d&&(i.YNc(0,Z,1,0,"mat-progress-bar",0),i.TgZ(1,"div",1)(2,"form",2)(3,"h6",3),i._uU(4,"Resumo das Aplica\xe7\xf5es"),i.qZA(),i.TgZ(5,"div",4)(6,"mat-form-field",5)(7,"mat-select",6,7),i.YNc(9,Ee,1,3,"mat-select-filter",8),i.TgZ(10,"mat-option",9),i._uU(11,"Selecione uma empresa"),i.qZA(),i.YNc(12,tt,2,2,"mat-option",10),i.qZA()(),i.TgZ(13,"mat-form-field",5)(14,"mat-select",11,12),i.YNc(16,qe,1,3,"mat-select-filter",8),i.TgZ(17,"mat-option",9),i._uU(18,"Todas"),i.qZA(),i.YNc(19,kt,2,2,"mat-option",10),i.qZA()(),i.TgZ(20,"mat-form-field",5)(21,"mat-select",13),i.NdJ("selectionChange",function(He){return C.onFiltersChange(He)}),i.TgZ(22,"mat-option",9),i._uU(23,"Aplicadas"),i.qZA(),i.TgZ(24,"mat-option",9),i._uU(25,"Pendentes"),i.qZA(),i.TgZ(26,"mat-option",9),i._uU(27,"N\xe3o Aplicadas"),i.qZA()()(),i.TgZ(28,"mat-form-field",14)(29,"mat-label",15),i._uU(30,"Data da Aplica\xe7\xe3o"),i.qZA(),i.TgZ(31,"mat-date-range-input",16),i._UZ(32,"input",17)(33,"input",18),i.qZA(),i._UZ(34,"mat-datepicker-toggle",19)(35,"mat-date-range-picker",null,20),i.qZA(),i.TgZ(37,"button",21),i.NdJ("click",function(){return C.filterPDFResumeApplication()}),i._uU(38," Gerar "),i.qZA()()(),i.TgZ(39,"div",22),i.YNc(40,qt,2,3,"button",23),i.TgZ(41,"div",null,24),i.YNc(43,en,2,0,"div",25),i.YNc(44,Rt,31,14,"div",26),i.qZA()()()),2&d){const K=i.MAs(8),He=i.MAs(15),vt=i.MAs(36);let yt,Ft;i.Q6J("ngIf",C.loading),i.xp6(2),i.Q6J("formGroup",C.form),i.xp6(5),i.Q6J("disableOptionCentering",!0),i.xp6(2),i.Q6J("ngIf",K.focused),i.xp6(1),i.Q6J("value",""),i.xp6(2),i.Q6J("ngForOf",C.filteredCompanies),i.xp6(2),i.Q6J("disableOptionCentering",!0),i.xp6(2),i.Q6J("ngIf",He.focused),i.xp6(1),i.Q6J("value",""),i.xp6(2),i.Q6J("ngForOf",C.filteredCampaigns),i.xp6(2),i.Q6J("disableOptionCentering",!0),i.xp6(1),i.Q6J("value",1),i.xp6(2),i.Q6J("value",2),i.xp6(2),i.Q6J("value",0),i.xp6(5),i.Q6J("rangePicker",vt),i.xp6(3),i.Q6J("for",vt),i.xp6(3),i.Q6J("disabled",!(null!=(yt=C.form.get("company_id"))&&yt.value)||C.loading)("matTooltip",null!=(Ft=C.form.get("company_id"))&&Ft.value?"":"Selecione uma empresa para gerar o relat\xf3rio"),i.xp6(3),i.Q6J("ngIf",!C.showIconReport&&!C.loading),i.xp6(3),i.Q6J("ngIf",C.showIconReport),i.xp6(1),i.Q6J("ngIf",!C.showIconReport&&!C.loading)}},dependencies:[Nt.m,le.ey,Ne.lW,xe.nW,xe.wx,xe.zY,xe.By,xe._g,se.KE,se.hX,se.R9,q.pW,k.gD,De.gM,$t.FF,$t.Fq,l.UX,l._Y,l.Fj,l.JJ,l.JL,l.sg,l.u,ie.ez,ie.mk,ie.sg,ie.O5,ie.uU],styles:['.content-container[_ngcontent-%COMP%]{margin:20px 0}iframe[_ngcontent-%COMP%]{width:100%;height:500px;border:none}.border-header[_ngcontent-%COMP%]{border-bottom:1px solid #d7d7d7;border-top:1px solid #d7d7d7}.logo-report[_ngcontent-%COMP%]{height:35px;width:190px;margin-top:15px;margin-bottom:10px}.icon-filter[_ngcontent-%COMP%]{color:#757575;margin-right:3px}.no-margin-padding[_ngcontent-%COMP%]{margin:0;padding:0}.input-filters[_ngcontent-%COMP%]{border:1px solid #d7d7d7;height:40px;border-radius:5px;padding:10px}.button-download[_ngcontent-%COMP%]{height:30px;background-color:#6c757d;float:right;margin-top:15px;margin-right:20px;border:none;border-radius:4px;width:50px}.button-disabled[_ngcontent-%COMP%]{height:30px;background-color:#e0e0e0;float:right;margin-top:15px;margin-right:20px;border:none;border-radius:4px;width:50px}.button-export[_ngcontent-%COMP%]{height:30px;background-color:#1a8754;float:right;margin-top:15px;margin-right:10px;border:none;border-radius:4px;width:50px}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spinner[_ngcontent-%COMP%]:before{content:"";width:15px;height:15px;border-radius:50%;border-top:3px solid #FFF;border-right:3px solid transparent;box-sizing:border-box;animation:spinner 1.2s linear infinite;display:flex;align-items:center;justify-content:center}.icon-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-height:80vh}.mdi-file-document-outline[_ngcontent-%COMP%]:before{font-size:10em;opacity:.2}.footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:1px;background-color:#eee;font-size:.8rem;font-weight:700;margin-bottom:20px;margin-top:20px;border:none}.alert-message[_ngcontent-%COMP%]{background-color:#fff3d9;border:2px solid #fce394;border-radius:4px;color:#856404;display:flex;align-items:center;padding:10px;margin-bottom:16px;font-size:15px;margin-left:30px}.alert-message[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:8px;color:#ffeeba;font-size:20px}.mdi-alert[_ngcontent-%COMP%]:before{content:"\\f0026";color:#856404}.reports[_ngcontent-%COMP%]{margin-left:-20px;border-right:1px solid #D7D7D7;background-color:#f8f8f8;min-height:100vh;padding:15px;margin-top:-20px}.select-all-options[_ngcontent-%COMP%]{margin-left:4px;padding:12px}.mdi-circle-medium[_ngcontent-%COMP%]:before{content:"\\f09de";color:orange}.loading-report[_ngcontent-%COMP%]{height:4px;position:absolute;top:0;left:0}']}),S})();var Ge=c(8902);const rt=["htmlContainer"];function L(S,p){1&S&&i._UZ(0,"mat-progress-bar",28)}function me(S,p){if(1&S){const d=i.EpF();i.TgZ(0,"mat-select-filter",29),i.NdJ("filteredReturn",function(K){i.CHM(d);const He=i.oxw();return i.KtG(He.filteredCompanies=K)}),i.qZA()}if(2&S){const d=i.oxw();i.Q6J("placeholder","Pesquisar")("displayMember","name")("array",d.companies)}}function T(S,p){if(1&S&&(i.TgZ(0,"mat-option",9),i._uU(1),i.qZA()),2&S){const d=p.$implicit;i.Q6J("value",d.id),i.xp6(1),i.Oqu(d.name)}}function D(S,p){if(1&S){const d=i.EpF();i.TgZ(0,"mat-select-filter",29),i.NdJ("filteredReturn",function(K){i.CHM(d);const He=i.oxw();return i.KtG(He.filteredPatients=K)}),i.qZA()}if(2&S){const d=i.oxw();i.Q6J("placeholder","Pesquisar")("displayMember","name")("array",d.patients)}}function z(S,p){if(1&S&&(i.TgZ(0,"mat-option",9),i._uU(1),i.qZA()),2&S){const d=p.$implicit;i.Q6J("value",d.id),i.xp6(1),i.Oqu(d.name)}}function P(S,p){if(1&S){const d=i.EpF();i.TgZ(0,"mat-select-filter",29),i.NdJ("filteredReturn",function(K){i.CHM(d);const He=i.oxw();return i.KtG(He.filteredCampaigns=K)}),i.qZA()}if(2&S){const d=i.oxw();i.Q6J("placeholder","Pesquisar")("displayMember","name")("array",d.campaigns)}}function ue(S,p){if(1&S&&(i.TgZ(0,"mat-option",9),i._uU(1),i.qZA()),2&S){const d=p.$implicit;i.Q6J("value",d.id),i.xp6(1),i.Oqu(d.name)}}function te(S,p){if(1&S){const d=i.EpF();i.TgZ(0,"button",30),i.NdJ("click",function(){i.CHM(d);const K=i.oxw();return i.KtG(K.generatePDF())}),i._UZ(1,"i",31),i.qZA()}if(2&S){const d=i.oxw();i.Q6J("ngClass",0==d.detailedApplicationsData.length?"button-disabled":"button-download")("disabled",0==d.detailedApplicationsData.length)("matTooltip",0==d.detailedApplicationsData.length?"Para imprimir \xe9 necess\xe1rio registros encontrados":"")}}function F(S,p){1&S&&(i.TgZ(0,"div",32),i._UZ(1,"i",33),i.qZA())}function G(S,p){if(1&S&&(i.TgZ(0,"div",60)(1,"div",61)(2,"span",56),i._uU(3),i.ALo(4,"date"),i.qZA(),i.TgZ(5,"span",57),i._uU(6),i.qZA(),i.TgZ(7,"span",57),i._uU(8),i.qZA(),i.TgZ(9,"span",57),i._uU(10),i.qZA(),i.TgZ(11,"span",57),i._uU(12),i.qZA(),i.TgZ(13,"span",62),i._uU(14),i.qZA(),i.TgZ(15,"span",63),i._uU(16),i.qZA()()()),2&S){const d=p.$implicit;i.xp6(3),i.Oqu(i.xi3(4,8,d.application_date,"dd/MM/yyyy")),i.xp6(3),i.Oqu(d.campaign_name),i.xp6(2),i.Oqu(d.name),i.xp6(2),i.hij("",d.dose_number,"\xaa Dose"),i.xp6(2),i.Oqu(d.batch),i.xp6(1),i.Q6J("ngClass",d.is_applied?"is_applied":null==d.is_applied?"black":"is_not_applied"),i.xp6(1),i.Oqu(d.is_applied?"Sim":null==d.is_applied?"Pendente":"N\xe3o"),i.xp6(2),i.Oqu(d.reason?d.reason:"N/A")}}function j(S,p){if(1&S&&(i.TgZ(0,"div",39),i._UZ(1,"img",40),i.TgZ(2,"p",41),i._uU(3,"Relat\xf3rio de Aplica\xe7\xf5es de Vacinas Detalhado"),i.qZA(),i.TgZ(4,"div",42)(5,"span",43),i._uU(6),i.ALo(7,"date"),i.ALo(8,"date"),i.qZA()(),i.TgZ(9,"div",44)(10,"div",45)(11,"span")(12,"b"),i._uU(13,"Paciente"),i.qZA(),i._uU(14),i.qZA(),i.TgZ(15,"span")(16,"b"),i._uU(17,"CPF"),i.qZA(),i._uU(18),i.qZA(),i.TgZ(19,"span")(20,"b"),i._uU(21,"Endere\xe7o"),i.qZA(),i._uU(22),i.qZA(),i.TgZ(23,"span")(24,"b"),i._uU(25,"Cidade"),i.qZA(),i._uU(26),i.qZA()(),i.TgZ(27,"div",46)(28,"span")(29,"b"),i._uU(30,"Cliente"),i.qZA(),i._uU(31),i.qZA(),i.TgZ(32,"span")(33,"b"),i._uU(34,"CNPJ"),i.qZA(),i._uU(35),i.qZA(),i.TgZ(36,"span")(37,"b"),i._uU(38,"Endere\xe7o"),i.qZA(),i._uU(39),i.qZA(),i.TgZ(40,"span")(41,"b"),i._uU(42,"Telefone"),i.qZA(),i._uU(43),i.qZA()()(),i.TgZ(44,"div",47)(45,"div",48)(46,"span",49)(47,"b"),i._uU(48,"Aplicadas"),i.qZA(),i._uU(49),i.qZA(),i.TgZ(50,"span",50)(51,"b"),i._uU(52,"N\xe3o aplicadas"),i.qZA(),i._uU(53),i.qZA(),i.TgZ(54,"span",50)(55,"b"),i._uU(56,"Pendentes"),i.qZA(),i._uU(57),i.qZA(),i.TgZ(58,"span",50)(59,"b"),i._uU(60,"Total"),i.qZA(),i._uU(61),i.qZA()()(),i.TgZ(62,"div",51)(63,"span",52)(64,"b"),i._uU(65,"Acompanhamento das Vacinas"),i.qZA()()(),i.TgZ(66,"div",53)(67,"div",54)(68,"div",55)(69,"span",56)(70,"b"),i._uU(71,"Data da Aplica\xe7\xe3o"),i.qZA()(),i.TgZ(72,"span",57)(73,"b"),i._uU(74,"Campanha"),i.qZA()(),i.TgZ(75,"span",57)(76,"b"),i._uU(77,"Vacina"),i.qZA()(),i.TgZ(78,"span",57)(79,"b"),i._uU(80,"Dose"),i.qZA()(),i.TgZ(81,"span",57)(82,"b"),i._uU(83,"Lote"),i.qZA()(),i.TgZ(84,"span",57)(85,"b"),i._uU(86,"Aplicada"),i.qZA()(),i.TgZ(87,"span",58)(88,"b"),i._uU(89,"Motivo"),i.qZA()()()(),i.YNc(90,G,17,11,"div",59),i.qZA()()),2&S){const d=p.$implicit,C=i.oxw(2);let K;i.xp6(1),i.Q6J("src",C.logoPath,i.LSH),i.xp6(5),i.AsE(" Per\xedodo: ",i.xi3(7,16,null==(K=C.form.get("from"))?null:K.value,"dd/MM/yyyy")," at\xe9 ",i.xi3(8,19,null==(K=C.form.get("to"))?null:K.value,"dd/MM/yyyy")," "),i.xp6(8),i.hij(": ",d.patient_name,""),i.xp6(4),i.hij(": ",d.patient_cpf,""),i.xp6(4),i.hij(": ",d.patient_address,""),i.xp6(4),i.hij(": ",d.patient_city,""),i.xp6(5),i.hij(": ",d.company_name,""),i.xp6(4),i.hij(": ",d.company_cnpj,""),i.xp6(4),i.hij(": ",d.company_address,""),i.xp6(4),i.hij(": ",d.company_phone,""),i.xp6(6),i.hij(": ",C.detailedApplicationsData.summary_company_vaccines.total_vaccines_applied," "),i.xp6(4),i.hij(": ",C.detailedApplicationsData.summary_company_vaccines.total_vaccines_not_applied," "),i.xp6(4),i.hij(": ",C.detailedApplicationsData.summary_company_vaccines.total_vaccines_pending," "),i.xp6(4),i.hij(": ",C.detailedApplicationsData.summary_company_vaccines.total_vaccines," "),i.xp6(29),i.Q6J("ngForOf",d.vaccines)}}function ye(S,p){1&S&&(i.TgZ(0,"span",64),i._uU(1,"Nenhum registro encontrado."),i.qZA())}function H(S,p){if(1&S&&(i.TgZ(0,"div",34)(1,"html")(2,"head"),i._UZ(3,"meta",35)(4,"link",36),i.qZA(),i.YNc(5,j,91,22,"div",37),i.YNc(6,ye,2,0,"span",38),i.qZA()()),2&S){const d=i.oxw();i.xp6(5),i.Q6J("ngForOf",d.detailedApplicationsData.company_patients),i.xp6(1),i.Q6J("ngIf",0==d.detailedApplicationsData.company_patients.length&&!d.showIconReport)}}const Je=[{path:"",redirectTo:"login",pathMatch:"full"},{path:"login",component:ze},{path:"",component:B,children:[{path:"home",canActivate:[Et],loadChildren:()=>c.e(48).then(c.bind(c,6048)).then(S=>S.HomeModule)},{path:"schedules",canActivate:[Et],loadChildren:()=>Promise.all([c.e(218),c.e(563),c.e(365),c.e(33)]).then(c.bind(c,3021)).then(S=>S.SchedulesModule)},{path:"vaccines-application",canActivate:[Et],loadChildren:()=>Promise.all([c.e(218),c.e(563),c.e(365),c.e(427)]).then(c.bind(c,7427)).then(S=>S.VaccinesApplicationModule)},{path:"campaigns",canActivate:[Et],loadChildren:()=>Promise.all([c.e(218),c.e(947)]).then(c.bind(c,9947)).then(S=>S.CampaignModule)},{path:"vaccines",canActivate:[Et],loadChildren:()=>Promise.all([c.e(218),c.e(563),c.e(378)]).then(c.bind(c,1378)).then(S=>S.VaccinesModule)},{path:"patients",canActivate:[Et],loadChildren:()=>Promise.all([c.e(218),c.e(687)]).then(c.bind(c,9687)).then(S=>S.PatientsModule)},{path:"users",canActivate:[Et],loadChildren:()=>c.e(730).then(c.bind(c,1730)).then(S=>S.UsersModule)},{path:"companies",canActivate:[Et],loadChildren:()=>Promise.all([c.e(218),c.e(657)]).then(c.bind(c,3657)).then(S=>S.CompaniesModule)},{path:"resume-application",component:ge},{path:"detailed-application",component:(()=>{class S{constructor(d,C,K,He,vt,yt,Ft){this.companyService=d,this.campaignService=C,this._snackBar=K,this.formBuilder=He,this.reportService=vt,this.patientService=yt,this.datePipe=Ft,this.loading=!1,this.showIconReport=!0,this.isPatientSelectDisabled=!1,this.filteredCompanies=[],this.companies=[],this.filteredPatients=[],this.patients=[],this.filteredCampaigns=[],this.campaigns=[],this.logoPath=window.location.origin+"/assets/images/logo-v2.png"}ngOnInit(){this.initForm(),this.downloadCompanies(),this.downloadPatients(),this.downloadCampaigns()}initForm(){const d=new Date;this.form=this.formBuilder.group({company_id:[""],patient_id:[""],campaign_id:[""],from:new l.NI(d),to:new l.NI(d)})}generatePDF(){const C=new Blob([this.htmlContainer.nativeElement.innerHTML],{type:"text/html; charset=UTF-8"}),K=URL.createObjectURL(C),He=window.open(K,"_blank");He&&(He.onload=()=>{He.print()})}filterPDFDetailedApplication(){var d,C,K,He,vt;let yt=this.datePipe.transform(null===(d=this.form.get("from"))||void 0===d?void 0:d.value,"yyyy-MM-dd"),Ft=this.datePipe.transform(null===(C=this.form.get("to"))||void 0===C?void 0:C.value,"yyyy-MM-dd"),Wt=null===(K=this.form.get("company_id"))||void 0===K?void 0:K.value,sn=null===(He=this.form.get("patient_id"))||void 0===He?void 0:He.value,mn=null===(vt=this.form.get("campaign_id"))||void 0===vt?void 0:vt.value;this.PDFResumeApplication(yt,Ft,Wt,sn,mn)}PDFResumeApplication(d,C,K,He,vt){this.loading=!0,this.showIconReport=!1,setTimeout(()=>{this.reportService.reportDetailedApplication({from:d,to:C,company_id:K,campaign_id:vt,patient_id:He}).then(yt=>{this.detailedApplicationsData=yt,console.log(this.detailedApplicationsData)}).catch(yt=>{this.openSnackBar("Erro ao listar dados do relat\xf3rio","Fechar","danger")}).finally(()=>{this.loading=!1})},2e3)}downloadCompanies(){this.loading=!0,this.companyService.listActive().then(d=>{this.companies=d,this.filteredCompanies=this.companies.slice()}).catch(d=>{this.openSnackBar("Erro ao listar empresas","Fechar","danger")}).finally(()=>{this.loading=!1})}downloadCampaigns(){this.loading=!0,this.campaignService.list().then(d=>{this.campaigns=d,this.filteredCampaigns=this.campaigns.slice()}).catch(d=>{this.openSnackBar("Erro ao listar campanhas","Fechar","danger")}).finally(()=>{this.loading=!1})}downloadPatients(){this.loading=!0,this.patientService.list().then(d=>{this.patients=d,this.filteredPatients=this.patients.slice()}).catch(d=>{this.openSnackBar("Erro ao listar pacientes","Fechar","danger")}).finally(()=>{this.loading=!1})}openSnackBar(d,C,K){this._snackBar.open(d,C,{horizontalPosition:"right",verticalPosition:"bottom",duration:3e3,panelClass:"snackBar-"+K})}onCompanyChange(d){var C;d.value?(this.isPatientSelectDisabled=!0,null===(C=this.form.get("patient_id"))||void 0===C||C.setValue("")):this.isPatientSelectDisabled=!1}}return S.\u0275fac=function(d){return new(d||S)(i.Y36(gn.J),i.Y36(jt.U),i.Y36(_.ux),i.Y36(l.qu),i.Y36(st),i.Y36(Ge.e),i.Y36(ie.uU))},S.\u0275cmp=i.Xpm({type:S,selectors:[["app-detailed-application"]],viewQuery:function(d,C){if(1&d&&i.Gf(rt,7),2&d){let K;i.iGM(K=i.CRH())&&(C.htmlContainer=K.first)}},standalone:!0,features:[i.jDz],decls:44,vars:22,consts:[["class","loading-report","color","accent","mode","indeterminate",4,"ngIf"],[1,"d-flex","flex-row"],[1,"reports",2,"width","25%",3,"formGroup"],[1,"mt-2"],[1,"mt-3","p-2"],[1,"w-100"],["formControlName","company_id","placeholder","Empresas",3,"disableOptionCentering","selectionChange"],["select1",""],[3,"placeholder","displayMember","array","filteredReturn",4,"ngIf"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],["formControlName","patient_id","placeholder","Pacientes",3,"disableOptionCentering","disabled"],["select2",""],["formControlName","campaign_id","placeholder","Campanhas",3,"disableOptionCentering"],["select3",""],[1,"w-100",2,"margin-top","2px"],[2,"margin-top","10px"],[2,"font-size","15px",3,"rangePicker"],["matStartDate","","formControlName","from"],["matEndDate","","formControlName","to"],["matSuffix","",3,"for"],["picker",""],["color","accent","mat-raised-button","",2,"float","right",3,"disabled","matTooltip","click"],[2,"position","relative","width","100%","padding-left","25px"],["style","position: absolute; top: 0; right: 0;",3,"ngClass","disabled","matTooltip","click",4,"ngIf"],["htmlContainer",""],["class","icon-container",4,"ngIf"],["style","font-family: Poppins, sans-serif; color: #333; background-color: #FFFFFF; padding: 20px; border-radius: 4px;",4,"ngIf"],["color","accent","mode","indeterminate",1,"loading-report"],[3,"placeholder","displayMember","array","filteredReturn"],[2,"position","absolute","top","0","right","0",3,"ngClass","disabled","matTooltip","click"],[1,"mdi","mdi-printer",2,"color","#ffffff"],[1,"icon-container"],[1,"mdi","mdi-file-document-outline"],[2,"font-family","Poppins, sans-serif","color","#333","background-color","#FFFFFF","padding","20px","border-radius","4px"],["content","text/html; charset=utf-8","http-equiv","Content-Type"],["rel","stylesheet","href","https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css","integrity","sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn","crossorigin","anonymous"],["class","d-flex flex-column mt-2","style","page-break-after:always; background-color: #FFFFFF; margin-top: 25px !important; font-family: Poppins, sans-serif !important;",4,"ngFor","ngForOf"],["style","font-family: Poppins,sans-serif !important;",4,"ngIf"],[1,"d-flex","flex-column","mt-2",2,"page-break-after","always","background-color","#FFFFFF","margin-top","25px !important","font-family","Poppins, sans-serif !important"],["width","170","alt","Vacivitta",2,"margin-bottom","15px",3,"src"],[2,"color","#242424","font-weight","600","margin","0","font-size","15px"],[2,"display","flex","flex-direction","column","margin-top","5px","margin-bottom","10px"],[2,"font-size","0.7em","font-weight","400"],[1,"d-flex","flex-row",2,"border","solid 1px #a1a1a1"],[1,"w-100","d-flex","flex-column",2,"padding","10px","line-height","22px","margin-right","5px","border-radius","0 0 0 0"],[1,"w-100","d-flex","flex-column",2,"border-left","solid 1px #a1a1a1","padding","10px","line-height","22px","border-radius","0 0 0 0"],[1,"d-flex","flex-column","mt-2","w-100",2,"border","solid 1px #a1a1a1","padding","10px","line-height","22px"],[1,"d-flex","flex-row","w-100"],[2,"width","25%","margin-left","100px"],[2,"width","25%"],[1,"d-flex","flex-column","mt-2","w-100",2,"border","solid 1px #a1a1a1","padding","5px","line-height","22px","margin-bottom","10px"],[1,"w-100",2,"text-align","center","vertical-align","center"],[2,"border","solid 1px #a1a1a1"],[1,"d-flex","flex-column","mt-2","w-100",2,"padding","10px"],[1,"d-flex","flex-row","w-100","cell-table"],[1,"border-right-m",2,"width","15%"],[1,"border-right-m",2,"width","13.3%"],[1,"border-right-m",2,"width","18%"],["class","d-flex flex-column w-100",4,"ngFor","ngForOf"],[1,"d-flex","flex-column","w-100"],[1,"d-flex","flex-row","w-100",2,"padding","10px","border-top","1px dashed #D7D7D7"],[1,"border-right-m",2,"width","13.3%",3,"ngClass"],[2,"width","18%"],[2,"font-family","Poppins,sans-serif !important"]],template:function(d,C){if(1&d&&(i.YNc(0,L,1,0,"mat-progress-bar",0),i.TgZ(1,"div",1)(2,"form",2)(3,"h6",3),i._uU(4,"Detalhes das Aplica\xe7\xf5es"),i.qZA(),i.TgZ(5,"div",4)(6,"mat-form-field",5)(7,"mat-select",6,7),i.NdJ("selectionChange",function(He){return C.onCompanyChange(He)}),i.YNc(9,me,1,3,"mat-select-filter",8),i.TgZ(10,"mat-option",9),i._uU(11,"Selecione uma empresa"),i.qZA(),i.YNc(12,T,2,2,"mat-option",10),i.qZA()(),i.TgZ(13,"mat-form-field",5)(14,"mat-select",11,12),i.YNc(16,D,1,3,"mat-select-filter",8),i.TgZ(17,"mat-option",9),i._uU(18,"Todos"),i.qZA(),i.YNc(19,z,2,2,"mat-option",10),i.qZA()(),i.TgZ(20,"mat-form-field",5)(21,"mat-select",13,14),i.YNc(23,P,1,3,"mat-select-filter",8),i.TgZ(24,"mat-option",9),i._uU(25,"Todas"),i.qZA(),i.YNc(26,ue,2,2,"mat-option",10),i.qZA()(),i.TgZ(27,"mat-form-field",15)(28,"mat-label",16),i._uU(29,"Data da Aplica\xe7\xe3o"),i.qZA(),i.TgZ(30,"mat-date-range-input",17),i._UZ(31,"input",18)(32,"input",19),i.qZA(),i._UZ(33,"mat-datepicker-toggle",20)(34,"mat-date-range-picker",null,21),i.qZA(),i.TgZ(36,"button",22),i.NdJ("click",function(){return C.filterPDFDetailedApplication()}),i._uU(37," Gerar "),i.qZA()()(),i.TgZ(38,"div",23),i.YNc(39,te,2,3,"button",24),i.TgZ(40,"div",null,25),i.YNc(42,F,2,0,"div",26),i.YNc(43,H,7,2,"div",27),i.qZA()()()),2&d){const K=i.MAs(8),He=i.MAs(15),vt=i.MAs(22),yt=i.MAs(35);let Ft,Wt;i.Q6J("ngIf",C.loading),i.xp6(2),i.Q6J("formGroup",C.form),i.xp6(5),i.Q6J("disableOptionCentering",!0),i.xp6(2),i.Q6J("ngIf",K.focused),i.xp6(1),i.Q6J("value",""),i.xp6(2),i.Q6J("ngForOf",C.filteredCompanies),i.xp6(2),i.Q6J("disableOptionCentering",!0)("disabled",C.isPatientSelectDisabled),i.xp6(2),i.Q6J("ngIf",He.focused),i.xp6(1),i.Q6J("value",""),i.xp6(2),i.Q6J("ngForOf",C.filteredPatients),i.xp6(2),i.Q6J("disableOptionCentering",!0),i.xp6(2),i.Q6J("ngIf",vt.focused),i.xp6(1),i.Q6J("value",""),i.xp6(2),i.Q6J("ngForOf",C.filteredCampaigns),i.xp6(4),i.Q6J("rangePicker",yt),i.xp6(3),i.Q6J("for",yt),i.xp6(3),i.Q6J("disabled",!(null!=(Ft=C.form.get("patient_id"))&&Ft.value)&&!(null!=(Ft=C.form.get("company_id"))&&Ft.value)||C.loading)("matTooltip",null!=(Wt=C.form.get("patient_id"))&&Wt.value||null!=(Wt=C.form.get("company_id"))&&Wt.value?"":"Selecione uma empresa ou um paciente para gerar o relat\xf3rio"),i.xp6(3),i.Q6J("ngIf",!C.showIconReport&&!C.loading),i.xp6(3),i.Q6J("ngIf",C.showIconReport),i.xp6(1),i.Q6J("ngIf",!C.showIconReport&&!C.loading)}},dependencies:[Nt.m,le.ey,Ne.lW,xe.nW,xe.wx,xe.zY,xe.By,xe._g,se.KE,se.hX,se.R9,q.pW,k.gD,De.gM,$t.FF,$t.Fq,l.UX,l._Y,l.Fj,l.JJ,l.JL,l.sg,l.u,ie.ez,ie.mk,ie.sg,ie.O5,ie.uU],styles:['.content-container[_ngcontent-%COMP%]{margin:20px 0}iframe[_ngcontent-%COMP%]{width:100%;height:500px;border:none}span[_ngcontent-%COMP%]{font-size:14px}.border-header[_ngcontent-%COMP%]{border-bottom:1px solid #d7d7d7;border-top:1px solid #d7d7d7}.logo-report[_ngcontent-%COMP%]{height:35px;width:190px;margin-top:15px;margin-bottom:10px}.icon-filter[_ngcontent-%COMP%]{color:#757575;margin-right:3px}.no-margin-padding[_ngcontent-%COMP%]{margin:0;padding:0}.input-filters[_ngcontent-%COMP%]{border:1px solid #d7d7d7;height:40px;border-radius:5px;padding:10px}.button-download[_ngcontent-%COMP%]{height:30px;background-color:#6c757d;float:right;margin-top:15px;margin-right:20px;border:none;border-radius:4px;width:50px}.button-disabled[_ngcontent-%COMP%]{height:30px;background-color:#e0e0e0;float:right;margin-top:15px;margin-right:20px;border:none;border-radius:4px;width:50px}.button-export[_ngcontent-%COMP%]{height:30px;background-color:#1a8754;float:right;margin-top:15px;margin-right:10px;border:none;border-radius:4px;width:50px}@keyframes spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spinner[_ngcontent-%COMP%]:before{content:"";width:15px;height:15px;border-radius:50%;border-top:3px solid #FFF;border-right:3px solid transparent;box-sizing:border-box;animation:spinner 1.2s linear infinite;display:flex;align-items:center;justify-content:center}.icon-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-height:80vh}.mdi-file-document-outline[_ngcontent-%COMP%]:before{font-size:10em;opacity:.2}.footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:1px;background-color:#eee;font-size:.8rem;font-weight:700;margin-bottom:20px;margin-top:20px;border:none}.alert-message[_ngcontent-%COMP%]{background-color:#fff3d9;border:2px solid #fce394;border-radius:4px;color:#856404;display:flex;align-items:center;padding:10px;margin-bottom:16px;font-size:15px;margin-left:30px}.alert-message[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:8px;color:#ffeeba;font-size:20px}.mdi-alert[_ngcontent-%COMP%]:before{content:"\\f0026";color:#856404}.reports[_ngcontent-%COMP%]{margin-left:-20px;border-right:1px solid #D7D7D7;background-color:#f8f8f8;min-height:100vh;padding:15px;margin-top:-20px}.select-all-options[_ngcontent-%COMP%]{margin-left:4px;padding:12px}.mdi-circle-medium[_ngcontent-%COMP%]:before{content:"\\f09de";color:orange}.loading-report[_ngcontent-%COMP%]{height:4px;position:absolute;top:0;left:0}.is_applied[_ngcontent-%COMP%]{color:#1a8754}.is_not_applied[_ngcontent-%COMP%]{color:#fb3a3a}']}),S})()}]}];var It=c(2155),Fe=c(1777);const Ye=!1;function ee(S){return new i.vHH(3e3,Ye)}function us(){return"undefined"!=typeof window&&void 0!==window.document}function ns(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ji(S){switch(S.length){case 0:return new Fe.ZN;case 1:return S[0];default:return new Fe.ZE(S)}}function Ve(S,p,d,C,K=new Map,He=new Map){const vt=[],yt=[];let Ft=-1,Wt=null;if(C.forEach(sn=>{const mn=sn.get("offset"),Bn=mn==Ft,Yn=Bn&&Wt||new Map;sn.forEach((Fn,Dn)=>{let Qn=Dn,ui=Fn;if("offset"!==Dn)switch(Qn=p.normalizePropertyName(Qn,vt),ui){case Fe.k1:ui=K.get(Dn);break;case Fe.l3:ui=He.get(Dn);break;default:ui=p.normalizeStyleValue(Dn,Qn,ui,vt)}Yn.set(Qn,ui)}),Bn||yt.push(Yn),Wt=Yn,Ft=mn}),vt.length)throw function ai(S){return new i.vHH(3502,Ye)}();return yt}function $e(S,p,d,C){switch(p){case"start":S.onStart(()=>C(d&&wt(d,"start",S)));break;case"done":S.onDone(()=>C(d&&wt(d,"done",S)));break;case"destroy":S.onDestroy(()=>C(d&&wt(d,"destroy",S)))}}function wt(S,p,d){const C=d.totalTime,He=Ht(S.element,S.triggerName,S.fromState,S.toState,p||S.phaseName,null==C?S.totalTime:C,!!d.disabled),vt=S._data;return null!=vt&&(He._data=vt),He}function Ht(S,p,d,C,K="",He=0,vt){return{element:S,triggerName:p,fromState:d,toState:C,phaseName:K,totalTime:He,disabled:!!vt}}function Zt(S,p,d){let C=S.get(p);return C||S.set(p,C=d),C}function un(S){const p=S.indexOf(":");return[S.substring(1,p),S.slice(p+1)]}let Tn=(S,p)=>!1,li=(S,p,d)=>[],ci=null;function _i(S){const p=S.parentNode||S.host;return p===ci?null:p}(ns()||"undefined"!=typeof Element)&&(us()?(ci=(()=>document.documentElement)(),Tn=(S,p)=>{for(;p;){if(p===S)return!0;p=_i(p)}return!1}):Tn=(S,p)=>S.contains(p),li=(S,p,d)=>{if(d)return Array.from(S.querySelectorAll(p));const C=S.querySelector(p);return C?[C]:[]});let Yi=null,Cs=!1;const Vn=Tn,Pi=li;let Ms=(()=>{class S{validateStyleProperty(d){return function hs(S){Yi||(Yi=function Ds(){return"undefined"!=typeof document?document.body:null}()||{},Cs=!!Yi.style&&"WebkitAppearance"in Yi.style);let p=!0;return Yi.style&&!function js(S){return"ebkit"==S.substring(1,6)}(S)&&(p=S in Yi.style,!p&&Cs&&(p="Webkit"+S.charAt(0).toUpperCase()+S.slice(1)in Yi.style)),p}(d)}matchesElement(d,C){return!1}containsElement(d,C){return Vn(d,C)}getParentElement(d){return _i(d)}query(d,C,K){return Pi(d,C,K)}computeStyle(d,C,K){return K||""}animate(d,C,K,He,vt,yt=[],Ft){return new Fe.ZN(K,He)}}return S.\u0275fac=function(d){return new(d||S)},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac}),S})(),fs=(()=>{class S{}return S.NOOP=new Ms,S})();const Ys="ng-enter",Ws="ng-leave",Es="ng-trigger",rs=".ng-trigger",xi="ng-animating",xs=".ng-animating";function Wi(S){if("number"==typeof S)return S;const p=S.match(/^(-?[\.\d]+)(m?s)/);return!p||p.length<2?0:$i(parseFloat(p[1]),p[2])}function $i(S,p){return"s"===p?1e3*S:S}function ri(S,p,d){return S.hasOwnProperty("duration")?S:function $s(S,p,d){let K,He=0,vt="";if("string"==typeof S){const yt=S.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===yt)return p.push(ee()),{duration:0,delay:0,easing:""};K=$i(parseFloat(yt[1]),yt[2]);const Ft=yt[3];null!=Ft&&(He=$i(parseFloat(Ft),yt[4]));const Wt=yt[5];Wt&&(vt=Wt)}else K=S;if(!d){let yt=!1,Ft=p.length;K<0&&(p.push(function pe(){return new i.vHH(3100,Ye)}()),yt=!0),He<0&&(p.push(function fe(){return new i.vHH(3101,Ye)}()),yt=!0),yt&&p.splice(Ft,0,ee())}return{duration:K,delay:He,easing:vt}}(S,p,d)}function Ki(S,p={}){return Object.keys(S).forEach(d=>{p[d]=S[d]}),p}function Xs(S){const p=new Map;return Object.keys(S).forEach(d=>{p.set(d,S[d])}),p}function $n(S,p=new Map,d){if(d)for(let[C,K]of d)p.set(C,K);for(let[C,K]of S)p.set(C,K);return p}function Gi(S,p,d){return d?p+":"+d+";":""}function Ks(S){let p="";for(let d=0;d<S.style.length;d++){const C=S.style.item(d);p+=Gi(0,C,S.style.getPropertyValue(C))}for(const d in S.style)S.style.hasOwnProperty(d)&&!d.startsWith("_")&&(p+=Gi(0,ti(d),S.style[d]));S.setAttribute("style",p)}function zn(S,p,d){S.style&&(p.forEach((C,K)=>{const He=ei(K);d&&!d.has(K)&&d.set(K,S.style[He]),S.style[He]=C}),ns()&&Ks(S))}function N(S,p){S.style&&(p.forEach((d,C)=>{const K=ei(C);S.style[K]=""}),ns()&&Ks(S))}function Pe(S){return Array.isArray(S)?1==S.length?S[0]:(0,Fe.vP)(S):S}const Le=new RegExp("{{\\s*(.+?)\\s*}}","g");function At(S){let p=[];if("string"==typeof S){let d;for(;d=Le.exec(S);)p.push(d[1]);Le.lastIndex=0}return p}function zt(S,p,d){const C=S.toString(),K=C.replace(Le,(He,vt)=>{let yt=p[vt];return null==yt&&(d.push(function Pt(S){return new i.vHH(3003,Ye)}()),yt=""),yt.toString()});return K==C?S:K}function Kt(S){const p=[];let d=S.next();for(;!d.done;)p.push(d.value),d=S.next();return p}const hn=/-+([a-z0-9])/g;function ei(S){return S.replace(hn,(...p)=>p[1].toUpperCase())}function ti(S){return S.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Wn(S,p,d){switch(p.type){case 7:return S.visitTrigger(p,d);case 0:return S.visitState(p,d);case 1:return S.visitTransition(p,d);case 2:return S.visitSequence(p,d);case 3:return S.visitGroup(p,d);case 4:return S.visitAnimate(p,d);case 5:return S.visitKeyframes(p,d);case 6:return S.visitStyle(p,d);case 8:return S.visitReference(p,d);case 9:return S.visitAnimateChild(p,d);case 10:return S.visitAnimateRef(p,d);case 11:return S.visitQuery(p,d);case 12:return S.visitStagger(p,d);default:throw function Ut(S){return new i.vHH(3004,Ye)}()}}function Zn(S,p){return window.getComputedStyle(S)[p]}const U="*";function M(S,p){const d=[];return"string"==typeof S?S.split(/\s*,\s*/).forEach(C=>function x(S,p,d){if(":"==S[0]){const Ft=function Oe(S,p){switch(S){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,C)=>parseFloat(C)>parseFloat(d);case":decrement":return(d,C)=>parseFloat(C)<parseFloat(d);default:return p.push(function Nn(S){return new i.vHH(3016,Ye)}()),"* => *"}}(S,d);if("function"==typeof Ft)return void p.push(Ft);S=Ft}const C=S.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==C||C.length<4)return d.push(function bn(S){return new i.vHH(3015,Ye)}()),p;const K=C[1],He=C[2],vt=C[3];p.push(di(K,vt));"<"==He[0]&&!(K==U&&vt==U)&&p.push(di(vt,K))}(C,d,p)):d.push(S),d}const Gt=new Set(["true","1"]),on=new Set(["false","0"]);function di(S,p){const d=Gt.has(S)||on.has(S),C=Gt.has(p)||on.has(p);return(K,He)=>{let vt=S==U||S==K,yt=p==U||p==He;return!vt&&d&&"boolean"==typeof K&&(vt=K?Gt.has(S):on.has(S)),!yt&&C&&"boolean"==typeof He&&(yt=He?Gt.has(p):on.has(p)),vt&&yt}}const Ci=new RegExp("s*:selfs*,?","g");function ms(S,p,d,C){return new pr(S).build(p,d,C)}class pr{constructor(p){this._driver=p}build(p,d,C){const K=new E(d);return this._resetContextStyleTimingState(K),Wn(this,Pe(p),K)}_resetContextStyleTimingState(p){p.currentQuerySelector="",p.collectedStyles=new Map,p.collectedStyles.set("",new Map),p.currentTime=0}visitTrigger(p,d){let C=d.queryCount=0,K=d.depCount=0;const He=[],vt=[];return"@"==p.name.charAt(0)&&d.errors.push(function fn(){return new i.vHH(3006,Ye)}()),p.definitions.forEach(yt=>{if(this._resetContextStyleTimingState(d),0==yt.type){const Ft=yt,Wt=Ft.name;Wt.toString().split(/\s*,\s*/).forEach(sn=>{Ft.name=sn,He.push(this.visitState(Ft,d))}),Ft.name=Wt}else if(1==yt.type){const Ft=this.visitTransition(yt,d);C+=Ft.queryCount,K+=Ft.depCount,vt.push(Ft)}else d.errors.push(function yn(){return new i.vHH(3007,Ye)}())}),{type:7,name:p.name,states:He,transitions:vt,queryCount:C,depCount:K,options:null}}visitState(p,d){const C=this.visitStyle(p.styles,d),K=p.options&&p.options.params||null;if(C.containsDynamicStyles){const He=new Set,vt=K||{};C.styles.forEach(yt=>{yt instanceof Map&&yt.forEach(Ft=>{At(Ft).forEach(Wt=>{vt.hasOwnProperty(Wt)||He.add(Wt)})})}),He.size&&(Kt(He.values()),d.errors.push(function Gn(S,p){return new i.vHH(3008,Ye)}()))}return{type:0,name:p.name,style:C,options:K?{params:K}:null}}visitTransition(p,d){d.queryCount=0,d.depCount=0;const C=Wn(this,Pe(p.animation),d);return{type:1,matchers:M(p.expr,d.errors),animation:C,queryCount:d.queryCount,depCount:d.depCount,options:Jt(p.options)}}visitSequence(p,d){return{type:2,steps:p.steps.map(C=>Wn(this,C,d)),options:Jt(p.options)}}visitGroup(p,d){const C=d.currentTime;let K=0;const He=p.steps.map(vt=>{d.currentTime=C;const yt=Wn(this,vt,d);return K=Math.max(K,d.currentTime),yt});return d.currentTime=K,{type:3,steps:He,options:Jt(p.options)}}visitAnimate(p,d){const C=function Ot(S,p){if(S.hasOwnProperty("duration"))return S;if("number"==typeof S)return An(ri(S,p).duration,0,"");const d=S;if(d.split(/\s+/).some(He=>"{"==He.charAt(0)&&"{"==He.charAt(1))){const He=An(0,0,"");return He.dynamic=!0,He.strValue=d,He}const K=ri(d,p);return An(K.duration,K.delay,K.easing)}(p.timings,d.errors);d.currentAnimateTimings=C;let K,He=p.styles?p.styles:(0,Fe.oB)({});if(5==He.type)K=this.visitKeyframes(He,d);else{let vt=p.styles,yt=!1;if(!vt){yt=!0;const Wt={};C.easing&&(Wt.easing=C.easing),vt=(0,Fe.oB)(Wt)}d.currentTime+=C.duration+C.delay;const Ft=this.visitStyle(vt,d);Ft.isEmptyStep=yt,K=Ft}return d.currentAnimateTimings=null,{type:4,timings:C,style:K,options:null}}visitStyle(p,d){const C=this._makeStyleAst(p,d);return this._validateStyleAst(C,d),C}_makeStyleAst(p,d){const C=[],K=Array.isArray(p.styles)?p.styles:[p.styles];for(let yt of K)"string"==typeof yt?yt===Fe.l3?C.push(yt):d.errors.push(new i.vHH(3002,Ye)):C.push(Xs(yt));let He=!1,vt=null;return C.forEach(yt=>{if(yt instanceof Map&&(yt.has("easing")&&(vt=yt.get("easing"),yt.delete("easing")),!He))for(let Ft of yt.values())if(Ft.toString().indexOf("{{")>=0){He=!0;break}}),{type:6,styles:C,easing:vt,offset:p.offset,containsDynamicStyles:He,options:null}}_validateStyleAst(p,d){const C=d.currentAnimateTimings;let K=d.currentTime,He=d.currentTime;C&&He>0&&(He-=C.duration+C.delay),p.styles.forEach(vt=>{"string"!=typeof vt&&vt.forEach((yt,Ft)=>{const Wt=d.collectedStyles.get(d.currentQuerySelector),sn=Wt.get(Ft);let mn=!0;sn&&(He!=K&&He>=sn.startTime&&K<=sn.endTime&&(d.errors.push(function be(S,p,d,C,K){return new i.vHH(3010,Ye)}()),mn=!1),He=sn.startTime),mn&&Wt.set(Ft,{startTime:He,endTime:K}),d.options&&function V(S,p,d){const C=p.params||{},K=At(S);K.length&&K.forEach(He=>{C.hasOwnProperty(He)||d.push(function ht(S){return new i.vHH(3001,Ye)}())})}(yt,d.options,d.errors)})})}visitKeyframes(p,d){const C={type:5,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function Ze(){return new i.vHH(3011,Ye)}()),C;let He=0;const vt=[];let yt=!1,Ft=!1,Wt=0;const sn=p.steps.map(ui=>{const Ii=this._makeStyleAst(ui,d);let Bi=null!=Ii.offset?Ii.offset:function ce(S){if("string"==typeof S)return null;let p=null;if(Array.isArray(S))S.forEach(d=>{if(d instanceof Map&&d.has("offset")){const C=d;p=parseFloat(C.get("offset")),C.delete("offset")}});else if(S instanceof Map&&S.has("offset")){const d=S;p=parseFloat(d.get("offset")),d.delete("offset")}return p}(Ii.styles),Ni=0;return null!=Bi&&(He++,Ni=Ii.offset=Bi),Ft=Ft||Ni<0||Ni>1,yt=yt||Ni<Wt,Wt=Ni,vt.push(Ni),Ii});Ft&&d.errors.push(function m(){return new i.vHH(3012,Ye)}()),yt&&d.errors.push(function I(){return new i.vHH(3200,Ye)}());const mn=p.steps.length;let Bn=0;He>0&&He<mn?d.errors.push(function Ie(){return new i.vHH(3202,Ye)}()):0==He&&(Bn=1/(mn-1));const Yn=mn-1,Fn=d.currentTime,Dn=d.currentAnimateTimings,Qn=Dn.duration;return sn.forEach((ui,Ii)=>{const Bi=Bn>0?Ii==Yn?1:Bn*Ii:vt[Ii],Ni=Bi*Qn;d.currentTime=Fn+Dn.delay+Ni,Dn.duration=Ni,this._validateStyleAst(ui,d),ui.offset=Bi,C.styles.push(ui)}),C}visitReference(p,d){return{type:8,animation:Wn(this,Pe(p.animation),d),options:Jt(p.options)}}visitAnimateChild(p,d){return d.depCount++,{type:9,options:Jt(p.options)}}visitAnimateRef(p,d){return{type:10,animation:this.visitReference(p.animation,d),options:Jt(p.options)}}visitQuery(p,d){const C=d.currentQuerySelector,K=p.options||{};d.queryCount++,d.currentQuery=p;const[He,vt]=function ot(S){const p=!!S.split(/\s*,\s*/).find(d=>":self"==d);return p&&(S=S.replace(Ci,"")),S=S.replace(/@\*/g,rs).replace(/@\w+/g,d=>rs+"-"+d.slice(1)).replace(/:animating/g,xs),[S,p]}(p.selector);d.currentQuerySelector=C.length?C+" "+He:He,Zt(d.collectedStyles,d.currentQuerySelector,new Map);const yt=Wn(this,Pe(p.animation),d);return d.currentQuery=null,d.currentQuerySelector=C,{type:11,selector:He,limit:K.limit||0,optional:!!K.optional,includeSelf:vt,animation:yt,originalSelector:p.selector,options:Jt(p.options)}}visitStagger(p,d){d.currentQuery||d.errors.push(function ct(){return new i.vHH(3013,Ye)}());const C="full"===p.timings?{duration:0,delay:0,easing:"full"}:ri(p.timings,d.errors,!0);return{type:12,animation:Wn(this,Pe(p.animation),d),timings:C,options:null}}}class E{constructor(p){this.errors=p,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,this.nonAnimatableCSSPropertiesFound=new Set}}function Jt(S){return S?(S=Ki(S)).params&&(S.params=function dt(S){return S?Ki(S):null}(S.params)):S={},S}function An(S,p,d){return{duration:S,delay:p,easing:d}}function jn(S,p,d,C,K,He,vt=null,yt=!1){return{type:1,element:S,keyframes:p,preStyleProps:d,postStyleProps:C,duration:K,delay:He,totalTime:K+He,easing:vt,subTimeline:yt}}class mi{constructor(){this._map=new Map}get(p){return this._map.get(p)||[]}append(p,d){let C=this._map.get(p);C||this._map.set(p,C=[]),C.push(...d)}has(p){return this._map.has(p)}clear(){this._map.clear()}}const as=new RegExp(":enter","g"),Zs=new RegExp(":leave","g");function fr(S,p,d,C,K,He=new Map,vt=new Map,yt,Ft,Wt=[]){return(new eo).buildKeyframes(S,p,d,C,K,He,vt,yt,Ft,Wt)}class eo{buildKeyframes(p,d,C,K,He,vt,yt,Ft,Wt,sn=[]){Wt=Wt||new mi;const mn=new to(p,d,Wt,K,He,sn,[]);mn.options=Ft;const Bn=Ft.delay?Wi(Ft.delay):0;mn.currentTimeline.delayNextStep(Bn),mn.currentTimeline.setStyles([vt],null,mn.errors,Ft),Wn(this,C,mn);const Yn=mn.timelines.filter(Fn=>Fn.containsAnimation());if(Yn.length&&yt.size){let Fn;for(let Dn=Yn.length-1;Dn>=0;Dn--){const Qn=Yn[Dn];if(Qn.element===d){Fn=Qn;break}}Fn&&!Fn.allowOnlyTimelineStyles()&&Fn.setStyles([yt],null,mn.errors,Ft)}return Yn.length?Yn.map(Fn=>Fn.buildKeyframes()):[jn(d,[],[],[],0,Bn,"",!1)]}visitTrigger(p,d){}visitState(p,d){}visitTransition(p,d){}visitAnimateChild(p,d){const C=d.subInstructions.get(d.element);if(C){const K=d.createSubContext(p.options),He=d.currentTimeline.currentTime,vt=this._visitSubInstructions(C,K,K.options);He!=vt&&d.transformIntoNewTimeline(vt)}d.previousNode=p}visitAnimateRef(p,d){const C=d.createSubContext(p.options);C.transformIntoNewTimeline(),this.visitReference(p.animation,C),d.transformIntoNewTimeline(C.currentTimeline.currentTime),d.previousNode=p}_visitSubInstructions(p,d,C){let He=d.currentTimeline.currentTime;const vt=null!=C.duration?Wi(C.duration):null,yt=null!=C.delay?Wi(C.delay):null;return 0!==vt&&p.forEach(Ft=>{const Wt=d.appendInstructionToTimeline(Ft,vt,yt);He=Math.max(He,Wt.duration+Wt.delay)}),He}visitReference(p,d){d.updateOptions(p.options,!0),Wn(this,p.animation,d),d.previousNode=p}visitSequence(p,d){const C=d.subContextCount;let K=d;const He=p.options;if(He&&(He.params||He.delay)&&(K=d.createSubContext(He),K.transformIntoNewTimeline(),null!=He.delay)){6==K.previousNode.type&&(K.currentTimeline.snapshotCurrentStyles(),K.previousNode=kr);const vt=Wi(He.delay);K.delayNextStep(vt)}p.steps.length&&(p.steps.forEach(vt=>Wn(this,vt,K)),K.currentTimeline.applyStylesToKeyframe(),K.subContextCount>C&&K.transformIntoNewTimeline()),d.previousNode=p}visitGroup(p,d){const C=[];let K=d.currentTimeline.currentTime;const He=p.options&&p.options.delay?Wi(p.options.delay):0;p.steps.forEach(vt=>{const yt=d.createSubContext(p.options);He&&yt.delayNextStep(He),Wn(this,vt,yt),K=Math.max(K,yt.currentTimeline.currentTime),C.push(yt.currentTimeline)}),C.forEach(vt=>d.currentTimeline.mergeTimelineCollectedStyles(vt)),d.transformIntoNewTimeline(K),d.previousNode=p}_visitTiming(p,d){if(p.dynamic){const C=p.strValue;return ri(d.params?zt(C,d.params,d.errors):C,d.errors)}return{duration:p.duration,delay:p.delay,easing:p.easing}}visitAnimate(p,d){const C=d.currentAnimateTimings=this._visitTiming(p.timings,d),K=d.currentTimeline;C.delay&&(d.incrementTime(C.delay),K.snapshotCurrentStyles());const He=p.style;5==He.type?this.visitKeyframes(He,d):(d.incrementTime(C.duration),this.visitStyle(He,d),K.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=p}visitStyle(p,d){const C=d.currentTimeline,K=d.currentAnimateTimings;!K&&C.hasCurrentStyleProperties()&&C.forwardFrame();const He=K&&K.easing||p.easing;p.isEmptyStep?C.applyEmptyStep(He):C.setStyles(p.styles,He,d.errors,d.options),d.previousNode=p}visitKeyframes(p,d){const C=d.currentAnimateTimings,K=d.currentTimeline.duration,He=C.duration,yt=d.createSubContext().currentTimeline;yt.easing=C.easing,p.styles.forEach(Ft=>{yt.forwardTime((Ft.offset||0)*He),yt.setStyles(Ft.styles,Ft.easing,d.errors,d.options),yt.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(yt),d.transformIntoNewTimeline(K+He),d.previousNode=p}visitQuery(p,d){const C=d.currentTimeline.currentTime,K=p.options||{},He=K.delay?Wi(K.delay):0;He&&(6===d.previousNode.type||0==C&&d.currentTimeline.hasCurrentStyleProperties())&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=kr);let vt=C;const yt=d.invokeQuery(p.selector,p.originalSelector,p.limit,p.includeSelf,!!K.optional,d.errors);d.currentQueryTotal=yt.length;let Ft=null;yt.forEach((Wt,sn)=>{d.currentQueryIndex=sn;const mn=d.createSubContext(p.options,Wt);He&&mn.delayNextStep(He),Wt===d.element&&(Ft=mn.currentTimeline),Wn(this,p.animation,mn),mn.currentTimeline.applyStylesToKeyframe(),vt=Math.max(vt,mn.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(vt),Ft&&(d.currentTimeline.mergeTimelineCollectedStyles(Ft),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=p}visitStagger(p,d){const C=d.parentContext,K=d.currentTimeline,He=p.timings,vt=Math.abs(He.duration),yt=vt*(d.currentQueryTotal-1);let Ft=vt*d.currentQueryIndex;switch(He.duration<0?"reverse":He.easing){case"reverse":Ft=yt-Ft;break;case"full":Ft=C.currentStaggerTime}const sn=d.currentTimeline;Ft&&sn.delayNextStep(Ft);const mn=sn.currentTime;Wn(this,p.animation,d),d.previousNode=p,C.currentStaggerTime=K.currentTime-mn+(K.startTime-C.currentTimeline.startTime)}}const kr={};class to{constructor(p,d,C,K,He,vt,yt,Ft){this._driver=p,this.element=d,this.subInstructions=C,this._enterClassName=K,this._leaveClassName=He,this.errors=vt,this.timelines=yt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ft||new Qs(this._driver,d,0),yt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(p,d){if(!p)return;const C=p;let K=this.options;null!=C.duration&&(K.duration=Wi(C.duration)),null!=C.delay&&(K.delay=Wi(C.delay));const He=C.params;if(He){let vt=K.params;vt||(vt=this.options.params={}),Object.keys(He).forEach(yt=>{(!d||!vt.hasOwnProperty(yt))&&(vt[yt]=zt(He[yt],vt,this.errors))})}}_copyOptions(){const p={};if(this.options){const d=this.options.params;if(d){const C=p.params={};Object.keys(d).forEach(K=>{C[K]=d[K]})}}return p}createSubContext(p=null,d,C){const K=d||this.element,He=new to(this._driver,K,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(K,C||0));return He.previousNode=this.previousNode,He.currentAnimateTimings=this.currentAnimateTimings,He.options=this._copyOptions(),He.updateOptions(p),He.currentQueryIndex=this.currentQueryIndex,He.currentQueryTotal=this.currentQueryTotal,He.parentContext=this,this.subContextCount++,He}transformIntoNewTimeline(p){return this.previousNode=kr,this.currentTimeline=this.currentTimeline.fork(this.element,p),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(p,d,C){const K={duration:null!=d?d:p.duration,delay:this.currentTimeline.currentTime+(null!=C?C:0)+p.delay,easing:""},He=new no(this._driver,p.element,p.keyframes,p.preStyleProps,p.postStyleProps,K,p.stretchStartingKeyframe);return this.timelines.push(He),K}incrementTime(p){this.currentTimeline.forwardTime(this.currentTimeline.duration+p)}delayNextStep(p){p>0&&this.currentTimeline.delayNextStep(p)}invokeQuery(p,d,C,K,He,vt){let yt=[];if(K&&yt.push(this.element),p.length>0){p=(p=p.replace(as,"."+this._enterClassName)).replace(Zs,"."+this._leaveClassName);let Wt=this._driver.query(this.element,p,1!=C);0!==C&&(Wt=C<0?Wt.slice(Wt.length+C,Wt.length):Wt.slice(0,C)),yt.push(...Wt)}return!He&&0==yt.length&&vt.push(function Xt(S){return new i.vHH(3014,Ye)}()),yt}}class Qs{constructor(p,d,C,K){this._driver=p,this.element=d,this.startTime=C,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(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,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(p){const d=1===this._keyframes.size&&this._pendingStyles.size;this.duration||d?(this.forwardTime(this.currentTime+p),d&&this.snapshotCurrentStyles()):this.startTime+=p}fork(p,d){return this.applyStylesToKeyframe(),new Qs(this._driver,p,d||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(p){this.applyStylesToKeyframe(),this.duration=p,this._loadKeyframe()}_updateStyle(p,d){this._localTimelineStyles.set(p,d),this._globalTimelineStyles.set(p,d),this._styleSummary.set(p,{time:this.currentTime,value:d})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(p){p&&this._previousKeyframe.set("easing",p);for(let[d,C]of this._globalTimelineStyles)this._backFill.set(d,C||Fe.l3),this._currentKeyframe.set(d,Fe.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(p,d,C,K){d&&this._previousKeyframe.set("easing",d);const He=K&&K.params||{},vt=function io(S,p){const d=new Map;let C;return S.forEach(K=>{if("*"===K){C=C||p.keys();for(let He of C)d.set(He,Fe.l3)}else $n(K,d)}),d}(p,this._globalTimelineStyles);for(let[yt,Ft]of vt){const Wt=zt(Ft,He,C);this._pendingStyles.set(yt,Wt),this._localTimelineStyles.has(yt)||this._backFill.set(yt,this._globalTimelineStyles.get(yt)||Fe.l3),this._updateStyle(yt,Wt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((p,d)=>{this._currentKeyframe.set(d,p)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((p,d)=>{this._currentKeyframe.has(d)||this._currentKeyframe.set(d,p)}))}snapshotCurrentStyles(){for(let[p,d]of this._localTimelineStyles)this._pendingStyles.set(p,d),this._updateStyle(p,d)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const p=[];for(let d in this._currentKeyframe)p.push(d);return p}mergeTimelineCollectedStyles(p){p._styleSummary.forEach((d,C)=>{const K=this._styleSummary.get(C);(!K||d.time>K.time)&&this._updateStyle(C,d.value)})}buildKeyframes(){this.applyStylesToKeyframe();const p=new Set,d=new Set,C=1===this._keyframes.size&&0===this.duration;let K=[];this._keyframes.forEach((yt,Ft)=>{const Wt=$n(yt,new Map,this._backFill);Wt.forEach((sn,mn)=>{sn===Fe.k1?p.add(mn):sn===Fe.l3&&d.add(mn)}),C||Wt.set("offset",Ft/this.duration),K.push(Wt)});const He=p.size?Kt(p.values()):[],vt=d.size?Kt(d.values()):[];if(C){const yt=K[0],Ft=new Map(yt);yt.set("offset",0),Ft.set("offset",1),K=[yt,Ft]}return jn(this.element,K,He,vt,this.duration,this.startTime,this.easing,!1)}}class no extends Qs{constructor(p,d,C,K,He,vt,yt=!1){super(p,d,vt.delay),this.keyframes=C,this.preStyleProps=K,this.postStyleProps=He,this._stretchStartingKeyframe=yt,this.timings={duration:vt.duration,delay:vt.delay,easing:vt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let p=this.keyframes,{delay:d,duration:C,easing:K}=this.timings;if(this._stretchStartingKeyframe&&d){const He=[],vt=C+d,yt=d/vt,Ft=$n(p[0]);Ft.set("offset",0),He.push(Ft);const Wt=$n(p[0]);Wt.set("offset",Zr(yt)),He.push(Wt);const sn=p.length-1;for(let mn=1;mn<=sn;mn++){let Bn=$n(p[mn]);const Yn=Bn.get("offset");Bn.set("offset",Zr((d+Yn*C)/vt)),He.push(Bn)}C=vt,d=0,K="",p=He}return jn(this.element,p,this.preStyleProps,this.postStyleProps,C,d,K,!0)}}function Zr(S,p=3){const d=Math.pow(10,p-1);return Math.round(S*d)/d}class mr{}const fa=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 Zi extends mr{normalizePropertyName(p,d){return ei(p)}normalizeStyleValue(p,d,C,K){let He="";const vt=C.toString().trim();if(fa.has(d)&&0!==C&&"0"!==C)if("number"==typeof C)He="px";else{const yt=C.match(/^[+-]?[\d\.]+([a-z]*)$/);yt&&0==yt[1].length&&K.push(function tn(S,p){return new i.vHH(3005,Ye)}())}return vt+He}}function Fs(S,p,d,C,K,He,vt,yt,Ft,Wt,sn,mn,Bn){return{type:0,element:S,triggerName:p,isRemovalTransition:K,fromState:d,fromStyles:He,toState:C,toStyles:vt,timelines:yt,queriedElements:Ft,preStyleProps:Wt,postStyleProps:sn,totalTime:mn,errors:Bn}}const gi={};class so{constructor(p,d,C){this._triggerName=p,this.ast=d,this._stateStyles=C}match(p,d,C,K){return function So(S,p,d,C,K){return S.some(He=>He(p,d,C,K))}(this.ast.matchers,p,d,C,K)}buildStyles(p,d,C){let K=this._stateStyles.get("*");return void 0!==p&&(K=this._stateStyles.get(null==p?void 0:p.toString())||K),K?K.buildStyles(d,C):new Map}build(p,d,C,K,He,vt,yt,Ft,Wt,sn){var mn;const Bn=[],Yn=this.ast.options&&this.ast.options.params||gi,Dn=this.buildStyles(C,yt&&yt.params||gi,Bn),Qn=Ft&&Ft.params||gi,ui=this.buildStyles(K,Qn,Bn),Ii=new Set,Bi=new Map,Ni=new Map,Vr="void"===K,br={params:Pr(Qn,Yn),delay:null===(mn=this.ast.options)||void 0===mn?void 0:mn.delay},vs=sn?[]:fr(p,d,this.ast.animation,He,vt,Dn,ui,br,Wt,Bn);let Vs=0;if(vs.forEach(Di=>{Vs=Math.max(Di.duration+Di.delay,Vs)}),Bn.length)return Fs(d,this._triggerName,C,K,Vr,Dn,ui,[],[],Bi,Ni,Vs,Bn);vs.forEach(Di=>{const Hr=Di.element,Js=Zt(Bi,Hr,new Set);Di.preStyleProps.forEach(Ur=>Js.add(Ur));const Lo=Zt(Ni,Hr,new Set);Di.postStyleProps.forEach(Ur=>Lo.add(Ur)),Hr!==d&&Ii.add(Hr)});const mo=Kt(Ii.values());return Fs(d,this._triggerName,C,K,Vr,Dn,ui,vs,mo,Bi,Ni,Vs)}}function Pr(S,p){const d=Ki(p);for(const C in S)S.hasOwnProperty(C)&&null!=S[C]&&(d[C]=S[C]);return d}class ma{constructor(p,d,C){this.styles=p,this.defaultParams=d,this.normalizer=C}buildStyles(p,d){const C=new Map,K=Ki(this.defaultParams);return Object.keys(p).forEach(He=>{const vt=p[He];null!==vt&&(K[He]=vt)}),this.styles.styles.forEach(He=>{"string"!=typeof He&&He.forEach((vt,yt)=>{vt&&(vt=zt(vt,K,d));const Ft=this.normalizer.normalizePropertyName(yt,d);vt=this.normalizer.normalizeStyleValue(yt,Ft,vt,d),C.set(Ft,vt)})}),C}}class _a{constructor(p,d,C){this.name=p,this.ast=d,this._normalizer=C,this.transitionFactories=[],this.states=new Map,d.states.forEach(K=>{this.states.set(K.name,new ma(K.style,K.options&&K.options.params||{},C))}),tr(this.states,"true","1"),tr(this.states,"false","0"),d.transitions.forEach(K=>{this.transitionFactories.push(new so(p,K,this.states))}),this.fallbackTransition=function Fr(S,p,d){return new so(S,{type:1,animation:{type:2,steps:[],options:null},matchers:[(vt,yt)=>!0],options:null,queryCount:0,depCount:0},p)}(p,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(p,d,C,K){return this.transitionFactories.find(vt=>vt.match(p,d,C,K))||null}matchStyles(p,d,C){return this.fallbackTransition.buildStyles(p,d,C)}}function tr(S,p,d){S.has(p)?S.has(d)||S.set(d,S.get(p)):S.has(d)&&S.set(p,S.get(d))}const gr=new mi;class ro{constructor(p,d,C){this.bodyNode=p,this._driver=d,this._normalizer=C,this._animations=new Map,this._playersById=new Map,this.players=[]}register(p,d){const C=[],He=ms(this._driver,d,C,[]);if(C.length)throw function Ei(S){return new i.vHH(3503,Ye)}();this._animations.set(p,He)}_buildPlayer(p,d,C){const K=p.element,He=Ve(0,this._normalizer,0,p.keyframes,d,C);return this._driver.animate(K,He,p.duration,p.delay,p.easing,[],!0)}create(p,d,C={}){const K=[],He=this._animations.get(p);let vt;const yt=new Map;if(He?(vt=fr(this._driver,d,He,Ys,Ws,new Map,new Map,C,gr,K),vt.forEach(sn=>{const mn=Zt(yt,sn.element,new Map);sn.postStyleProps.forEach(Bn=>mn.set(Bn,null))})):(K.push(function wn(){return new i.vHH(3300,Ye)}()),vt=[]),K.length)throw function Ji(S){return new i.vHH(3504,Ye)}();yt.forEach((sn,mn)=>{sn.forEach((Bn,Yn)=>{sn.set(Yn,this._driver.computeStyle(mn,Yn,Fe.l3))})});const Wt=ji(vt.map(sn=>{const mn=yt.get(sn.element);return this._buildPlayer(sn,new Map,mn)}));return this._playersById.set(p,Wt),Wt.onDestroy(()=>this.destroy(p)),this.players.push(Wt),Wt}destroy(p){const d=this._getPlayer(p);d.destroy(),this._playersById.delete(p);const C=this.players.indexOf(d);C>=0&&this.players.splice(C,1)}_getPlayer(p){const d=this._playersById.get(p);if(!d)throw function Si(S){return new i.vHH(3301,Ye)}();return d}listen(p,d,C,K){const He=Ht(d,"","","");return $e(this._getPlayer(p),C,He,K),()=>{}}command(p,d,C,K){if("register"==C)return void this.register(p,K[0]);if("create"==C)return void this.create(p,d,K[0]||{});const He=this._getPlayer(p);switch(C){case"play":He.play();break;case"pause":He.pause();break;case"reset":He.reset();break;case"restart":He.restart();break;case"finish":He.finish();break;case"init":He.init();break;case"setPosition":He.setPosition(parseFloat(K[0]));break;case"destroy":this.destroy(p)}}}const oo="ng-animate-queued",As="ng-animate-disabled",Br=[],Li={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ba={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},is="__ng_removed";class Nr{constructor(p,d=""){this.namespaceId=d;const C=p&&p.hasOwnProperty("value");if(this.value=function Oo(S){return null!=S?S:null}(C?p.value:p),C){const He=Ki(p);delete He.value,this.options=He}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(p){const d=p.params;if(d){const C=this.options.params;Object.keys(d).forEach(K=>{null==C[K]&&(C[K]=d[K])})}}}const nr="void",ir=new Nr(nr);class Io{constructor(p,d,C){this.id=p,this.hostElement=d,this._engine=C,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+p,ls(d,this._hostClassName)}listen(p,d,C,K){if(!this._triggers.has(d))throw function si(S,p){return new i.vHH(3302,Ye)}();if(null==C||0==C.length)throw function pi(S){return new i.vHH(3303,Ye)}();if(!function Ro(S){return"start"==S||"done"==S}(C))throw function Ri(S,p){return new i.vHH(3400,Ye)}();const He=Zt(this._elementListeners,p,[]),vt={name:d,phase:C,callback:K};He.push(vt);const yt=Zt(this._engine.statesByElement,p,new Map);return yt.has(d)||(ls(p,Es),ls(p,Es+"-"+d),yt.set(d,ir)),()=>{this._engine.afterFlush(()=>{const Ft=He.indexOf(vt);Ft>=0&&He.splice(Ft,1),this._triggers.has(d)||yt.delete(d)})}}register(p,d){return!this._triggers.has(p)&&(this._triggers.set(p,d),!0)}_getTrigger(p){const d=this._triggers.get(p);if(!d)throw function vi(S){return new i.vHH(3401,Ye)}();return d}trigger(p,d,C,K=!0){const He=this._getTrigger(d),vt=new _r(this.id,d,p);let yt=this._engine.statesByElement.get(p);yt||(ls(p,Es),ls(p,Es+"-"+d),this._engine.statesByElement.set(p,yt=new Map));let Ft=yt.get(d);const Wt=new Nr(C,this.id);if(!(C&&C.hasOwnProperty("value"))&&Ft&&Wt.absorbOptions(Ft.options),yt.set(d,Wt),Ft||(Ft=ir),Wt.value!==nr&&Ft.value===Wt.value){if(!function Da(S,p){const d=Object.keys(S),C=Object.keys(p);if(d.length!=C.length)return!1;for(let K=0;K<d.length;K++){const He=d[K];if(!p.hasOwnProperty(He)||S[He]!==p[He])return!1}return!0}(Ft.params,Wt.params)){const Dn=[],Qn=He.matchStyles(Ft.value,Ft.params,Dn),ui=He.matchStyles(Wt.value,Wt.params,Dn);Dn.length?this._engine.reportError(Dn):this._engine.afterFlush(()=>{N(p,Qn),zn(p,ui)})}return}const Bn=Zt(this._engine.playersByElement,p,[]);Bn.forEach(Dn=>{Dn.namespaceId==this.id&&Dn.triggerName==d&&Dn.queued&&Dn.destroy()});let Yn=He.matchTransition(Ft.value,Wt.value,p,Wt.params),Fn=!1;if(!Yn){if(!K)return;Yn=He.fallbackTransition,Fn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:d,transition:Yn,fromState:Ft,toState:Wt,player:vt,isFallbackTransition:Fn}),Fn||(ls(p,oo),vt.onStart(()=>{sr(p,oo)})),vt.onDone(()=>{let Dn=this.players.indexOf(vt);Dn>=0&&this.players.splice(Dn,1);const Qn=this._engine.playersByElement.get(p);if(Qn){let ui=Qn.indexOf(vt);ui>=0&&Qn.splice(ui,1)}}),this.players.push(vt),Bn.push(vt),vt}deregister(p){this._triggers.delete(p),this._engine.statesByElement.forEach(d=>d.delete(p)),this._elementListeners.forEach((d,C)=>{this._elementListeners.set(C,d.filter(K=>K.name!=p))})}clearElementCache(p){this._engine.statesByElement.delete(p),this._elementListeners.delete(p);const d=this._engine.playersByElement.get(p);d&&(d.forEach(C=>C.destroy()),this._engine.playersByElement.delete(p))}_signalRemovalForInnerTriggers(p,d){const C=this._engine.driver.query(p,rs,!0);C.forEach(K=>{if(K[is])return;const He=this._engine.fetchNamespacesByElement(K);He.size?He.forEach(vt=>vt.triggerLeaveAnimation(K,d,!1,!0)):this.clearElementCache(K)}),this._engine.afterFlushAnimationsDone(()=>C.forEach(K=>this.clearElementCache(K)))}triggerLeaveAnimation(p,d,C,K){const He=this._engine.statesByElement.get(p),vt=new Map;if(He){const yt=[];if(He.forEach((Ft,Wt)=>{if(vt.set(Wt,Ft.value),this._triggers.has(Wt)){const sn=this.trigger(p,Wt,nr,K);sn&&yt.push(sn)}}),yt.length)return this._engine.markElementAsRemoved(this.id,p,!0,d,vt),C&&ji(yt).onDone(()=>this._engine.processLeaveNode(p)),!0}return!1}prepareLeaveAnimationListeners(p){const d=this._elementListeners.get(p),C=this._engine.statesByElement.get(p);if(d&&C){const K=new Set;d.forEach(He=>{const vt=He.name;if(K.has(vt))return;K.add(vt);const Ft=this._triggers.get(vt).fallbackTransition,Wt=C.get(vt)||ir,sn=new Nr(nr),mn=new _r(this.id,vt,p);this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:vt,transition:Ft,fromState:Wt,toState:sn,player:mn,isFallbackTransition:!0})})}}removeNode(p,d){const C=this._engine;if(p.childElementCount&&this._signalRemovalForInnerTriggers(p,d),this.triggerLeaveAnimation(p,d,!0))return;let K=!1;if(C.totalAnimations){const He=C.players.length?C.playersByQueriedElement.get(p):[];if(He&&He.length)K=!0;else{let vt=p;for(;vt=vt.parentNode;)if(C.statesByElement.get(vt)){K=!0;break}}}if(this.prepareLeaveAnimationListeners(p),K)C.markElementAsRemoved(this.id,p,!1,d);else{const He=p[is];(!He||He===Li)&&(C.afterFlush(()=>this.clearElementCache(p)),C.destroyInnerAnimations(p),C._onRemovalComplete(p,d))}}insertNode(p,d){ls(p,this._hostClassName)}drainQueuedTransitions(p){const d=[];return this._queue.forEach(C=>{const K=C.player;if(K.destroyed)return;const He=C.element,vt=this._elementListeners.get(He);vt&&vt.forEach(yt=>{if(yt.name==C.triggerName){const Ft=Ht(He,C.triggerName,C.fromState.value,C.toState.value);Ft._data=p,$e(C.player,yt.phase,Ft,yt.callback)}}),K.markedForDestroy?this._engine.afterFlush(()=>{K.destroy()}):d.push(C)}),this._queue=[],d.sort((C,K)=>{const He=C.transition.ast.depCount,vt=K.transition.ast.depCount;return 0==He||0==vt?He-vt:this._engine.driver.containsElement(C.element,K.element)?1:-1})}destroy(p){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,p)}elementContainsData(p){let d=!1;return this._elementListeners.has(p)&&(d=!0),d=!!this._queue.find(C=>C.element===p)||d,d}}class Qr{constructor(p,d,C){this.bodyNode=p,this.driver=d,this._normalizer=C,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,He)=>{}}_onRemovalComplete(p,d){this.onRemovalComplete(p,d)}get queuedPlayers(){const p=[];return this._namespaceList.forEach(d=>{d.players.forEach(C=>{C.queued&&p.push(C)})}),p}createNamespace(p,d){const C=new Io(p,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(C,d):(this.newHostElements.set(d,C),this.collectEnterElement(d)),this._namespaceLookup[p]=C}_balanceNamespaceList(p,d){const C=this._namespaceList,K=this.namespacesByHostElement;if(C.length-1>=0){let vt=!1,yt=this.driver.getParentElement(d);for(;yt;){const Ft=K.get(yt);if(Ft){const Wt=C.indexOf(Ft);C.splice(Wt+1,0,p),vt=!0;break}yt=this.driver.getParentElement(yt)}vt||C.unshift(p)}else C.push(p);return K.set(d,p),p}register(p,d){let C=this._namespaceLookup[p];return C||(C=this.createNamespace(p,d)),C}registerTrigger(p,d,C){let K=this._namespaceLookup[p];K&&K.register(d,C)&&this.totalAnimations++}destroy(p,d){if(!p)return;const C=this._fetchNamespace(p);this.afterFlush(()=>{this.namespacesByHostElement.delete(C.hostElement),delete this._namespaceLookup[p];const K=this._namespaceList.indexOf(C);K>=0&&this._namespaceList.splice(K,1)}),this.afterFlushAnimationsDone(()=>C.destroy(d))}_fetchNamespace(p){return this._namespaceLookup[p]}fetchNamespacesByElement(p){const d=new Set,C=this.statesByElement.get(p);if(C)for(let K of C.values())if(K.namespaceId){const He=this._fetchNamespace(K.namespaceId);He&&d.add(He)}return d}trigger(p,d,C,K){if(Ss(d)){const He=this._fetchNamespace(p);if(He)return He.trigger(d,C,K),!0}return!1}insertNode(p,d,C,K){if(!Ss(d))return;const He=d[is];if(He&&He.setForRemoval){He.setForRemoval=!1,He.setForMove=!0;const vt=this.collectedLeaveElements.indexOf(d);vt>=0&&this.collectedLeaveElements.splice(vt,1)}if(p){const vt=this._fetchNamespace(p);vt&&vt.insertNode(d,C)}K&&this.collectEnterElement(d)}collectEnterElement(p){this.collectedEnterElements.push(p)}markElementAsDisabled(p,d){d?this.disabledNodes.has(p)||(this.disabledNodes.add(p),ls(p,As)):this.disabledNodes.has(p)&&(this.disabledNodes.delete(p),sr(p,As))}removeNode(p,d,C,K){if(Ss(d)){const He=p?this._fetchNamespace(p):null;if(He?He.removeNode(d,K):this.markElementAsRemoved(p,d,!1,K),C){const vt=this.namespacesByHostElement.get(d);vt&&vt.id!==p&&vt.removeNode(d,K)}}else this._onRemovalComplete(d,K)}markElementAsRemoved(p,d,C,K,He){this.collectedLeaveElements.push(d),d[is]={namespaceId:p,setForRemoval:K,hasAnimation:C,removedBeforeQueried:!1,previousTriggersValues:He}}listen(p,d,C,K,He){return Ss(d)?this._fetchNamespace(p).listen(d,C,K,He):()=>{}}_buildInstruction(p,d,C,K,He){return p.transition.build(this.driver,p.element,p.fromState.value,p.toState.value,C,K,p.fromState.options,p.toState.options,d,He)}destroyInnerAnimations(p){let d=this.driver.query(p,rs,!0);d.forEach(C=>this.destroyActiveAnimationsForElement(C)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(p,xs,!0),d.forEach(C=>this.finishActiveQueriedAnimationOnElement(C)))}destroyActiveAnimationsForElement(p){const d=this.playersByElement.get(p);d&&d.forEach(C=>{C.queued?C.markedForDestroy=!0:C.destroy()})}finishActiveQueriedAnimationOnElement(p){const d=this.playersByQueriedElement.get(p);d&&d.forEach(C=>C.finish())}whenRenderingDone(){return new Promise(p=>{if(this.players.length)return ji(this.players).onDone(()=>p());p()})}processLeaveNode(p){var d;const C=p[is];if(C&&C.setForRemoval){if(p[is]=Li,C.namespaceId){this.destroyInnerAnimations(p);const K=this._fetchNamespace(C.namespaceId);K&&K.clearElementCache(p)}this._onRemovalComplete(p,C.setForRemoval)}!(null===(d=p.classList)||void 0===d)&&d.contains(As)&&this.markElementAsDisabled(p,!1),this.driver.query(p,".ng-animate-disabled",!0).forEach(K=>{this.markElementAsDisabled(K,!1)})}flush(p=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((C,K)=>this._balanceNamespaceList(C,K)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let C=0;C<this.collectedEnterElements.length;C++)ls(this.collectedEnterElements[C],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const C=[];try{d=this._flushAnimations(C,p)}finally{for(let K=0;K<C.length;K++)C[K]()}}else for(let C=0;C<this.collectedLeaveElements.length;C++)this.processLeaveNode(this.collectedLeaveElements[C]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(C=>C()),this._flushFns=[],this._whenQuietFns.length){const C=this._whenQuietFns;this._whenQuietFns=[],d.length?ji(d).onDone(()=>{C.forEach(K=>K())}):C.forEach(K=>K())}}reportError(p){throw function yi(S){return new i.vHH(3402,Ye)}()}_flushAnimations(p,d){const C=new mi,K=[],He=new Map,vt=[],yt=new Map,Ft=new Map,Wt=new Map,sn=new Set;this.disabledNodes.forEach(Cn=>{sn.add(Cn);const En=this.driver.query(Cn,".ng-animate-queued",!0);for(let Sn=0;Sn<En.length;Sn++)sn.add(En[Sn])});const mn=this.bodyNode,Bn=Array.from(this.statesByElement.keys()),Yn=gs(Bn,this.collectedEnterElements),Fn=new Map;let Dn=0;Yn.forEach((Cn,En)=>{const Sn=Ys+Dn++;Fn.set(En,Sn),Cn.forEach(Kn=>ls(Kn,Sn))});const Qn=[],ui=new Set,Ii=new Set;for(let Cn=0;Cn<this.collectedLeaveElements.length;Cn++){const En=this.collectedLeaveElements[Cn],Sn=En[is];Sn&&Sn.setForRemoval&&(Qn.push(En),ui.add(En),Sn.hasAnimation?this.driver.query(En,".ng-star-inserted",!0).forEach(Kn=>ui.add(Kn)):Ii.add(En))}const Bi=new Map,Ni=gs(Bn,Array.from(ui));Ni.forEach((Cn,En)=>{const Sn=Ws+Dn++;Bi.set(En,Sn),Cn.forEach(Kn=>ls(Kn,Sn))}),p.push(()=>{Yn.forEach((Cn,En)=>{const Sn=Fn.get(En);Cn.forEach(Kn=>sr(Kn,Sn))}),Ni.forEach((Cn,En)=>{const Sn=Bi.get(En);Cn.forEach(Kn=>sr(Kn,Sn))}),Qn.forEach(Cn=>{this.processLeaveNode(Cn)})});const Vr=[],br=[];for(let Cn=this._namespaceList.length-1;Cn>=0;Cn--)this._namespaceList[Cn].drainQueuedTransitions(d).forEach(Sn=>{const Kn=Sn.player,Ai=Sn.element;if(Vr.push(Kn),this.collectedEnterElements.length){const ts=Ai[is];if(ts&&ts.setForMove){if(ts.previousTriggersValues&&ts.previousTriggersValues.has(Sn.triggerName)){const Gr=ts.previousTriggersValues.get(Sn.triggerName),Os=this.statesByElement.get(Sn.element);if(Os&&Os.has(Sn.triggerName)){const go=Os.get(Sn.triggerName);go.value=Gr,Os.set(Sn.triggerName,go)}}return void Kn.destroy()}}const Is=!mn||!this.driver.containsElement(mn,Ai),es=Bi.get(Ai),jr=Fn.get(Ai),hi=this._buildInstruction(Sn,C,jr,es,Is);if(hi.errors&&hi.errors.length)return void br.push(hi);if(Is)return Kn.onStart(()=>N(Ai,hi.fromStyles)),Kn.onDestroy(()=>zn(Ai,hi.toStyles)),void K.push(Kn);if(Sn.isFallbackTransition)return Kn.onStart(()=>N(Ai,hi.fromStyles)),Kn.onDestroy(()=>zn(Ai,hi.toStyles)),void K.push(Kn);const Bo=[];hi.timelines.forEach(ts=>{ts.stretchStartingKeyframe=!0,this.disabledNodes.has(ts.element)||Bo.push(ts)}),hi.timelines=Bo,C.append(Ai,hi.timelines),vt.push({instruction:hi,player:Kn,element:Ai}),hi.queriedElements.forEach(ts=>Zt(yt,ts,[]).push(Kn)),hi.preStyleProps.forEach((ts,Gr)=>{if(ts.size){let Os=Ft.get(Gr);Os||Ft.set(Gr,Os=new Set),ts.forEach((go,zr)=>Os.add(zr))}}),hi.postStyleProps.forEach((ts,Gr)=>{let Os=Wt.get(Gr);Os||Wt.set(Gr,Os=new Set),ts.forEach((go,zr)=>Os.add(zr))})});if(br.length){const Cn=[];br.forEach(En=>{Cn.push(function Rs(S,p){return new i.vHH(3505,Ye)}())}),Vr.forEach(En=>En.destroy()),this.reportError(Cn)}const vs=new Map,Vs=new Map;vt.forEach(Cn=>{const En=Cn.element;C.has(En)&&(Vs.set(En,En),this._beforeAnimationBuild(Cn.player.namespaceId,Cn.instruction,vs))}),K.forEach(Cn=>{const En=Cn.element;this._getPreviousPlayers(En,!1,Cn.namespaceId,Cn.triggerName,null).forEach(Kn=>{Zt(vs,En,[]).push(Kn),Kn.destroy()})});const mo=Qn.filter(Cn=>vr(Cn,Ft,Wt)),Di=new Map;lo(Di,this.driver,Ii,Wt,Fe.l3).forEach(Cn=>{vr(Cn,Ft,Wt)&&mo.push(Cn)});const Js=new Map;Yn.forEach((Cn,En)=>{lo(Js,this.driver,new Set(Cn),Ft,Fe.k1)}),mo.forEach(Cn=>{var En,Sn;const Kn=Di.get(Cn),Ai=Js.get(Cn);Di.set(Cn,new Map([...Array.from(null!==(En=null==Kn?void 0:Kn.entries())&&void 0!==En?En:[]),...Array.from(null!==(Sn=null==Ai?void 0:Ai.entries())&&void 0!==Sn?Sn:[])]))});const Lo=[],Ur=[],Xa={};vt.forEach(Cn=>{const{element:En,player:Sn,instruction:Kn}=Cn;if(C.has(En)){if(sn.has(En))return Sn.onDestroy(()=>zn(En,Kn.toStyles)),Sn.disabled=!0,Sn.overrideTotalTime(Kn.totalTime),void K.push(Sn);let Ai=Xa;if(Vs.size>1){let es=En;const jr=[];for(;es=es.parentNode;){const hi=Vs.get(es);if(hi){Ai=hi;break}jr.push(es)}jr.forEach(hi=>Vs.set(hi,Ai))}const Is=this._buildAnimation(Sn.namespaceId,Kn,vs,He,Js,Di);if(Sn.setRealPlayer(Is),Ai===Xa)Lo.push(Sn);else{const es=this.playersByElement.get(Ai);es&&es.length&&(Sn.parentPlayer=ji(es)),K.push(Sn)}}else N(En,Kn.fromStyles),Sn.onDestroy(()=>zn(En,Kn.toStyles)),Ur.push(Sn),sn.has(En)&&K.push(Sn)}),Ur.forEach(Cn=>{const En=He.get(Cn.element);if(En&&En.length){const Sn=ji(En);Cn.setRealPlayer(Sn)}}),K.forEach(Cn=>{Cn.parentPlayer?Cn.syncPlayerEvents(Cn.parentPlayer):Cn.destroy()});for(let Cn=0;Cn<Qn.length;Cn++){const En=Qn[Cn],Sn=En[is];if(sr(En,Ws),Sn&&Sn.hasAnimation)continue;let Kn=[];if(yt.size){let Is=yt.get(En);Is&&Is.length&&Kn.push(...Is);let es=this.driver.query(En,xs,!0);for(let jr=0;jr<es.length;jr++){let hi=yt.get(es[jr]);hi&&hi.length&&Kn.push(...hi)}}const Ai=Kn.filter(Is=>!Is.destroyed);Ai.length?ko(this,En,Ai):this.processLeaveNode(En)}return Qn.length=0,Lo.forEach(Cn=>{this.players.push(Cn),Cn.onDone(()=>{Cn.destroy();const En=this.players.indexOf(Cn);this.players.splice(En,1)}),Cn.play()}),Lo}elementContainsData(p,d){let C=!1;const K=d[is];return K&&K.setForRemoval&&(C=!0),this.playersByElement.has(d)&&(C=!0),this.playersByQueriedElement.has(d)&&(C=!0),this.statesByElement.has(d)&&(C=!0),this._fetchNamespace(p).elementContainsData(d)||C}afterFlush(p){this._flushFns.push(p)}afterFlushAnimationsDone(p){this._whenQuietFns.push(p)}_getPreviousPlayers(p,d,C,K,He){let vt=[];if(d){const yt=this.playersByQueriedElement.get(p);yt&&(vt=yt)}else{const yt=this.playersByElement.get(p);if(yt){const Ft=!He||He==nr;yt.forEach(Wt=>{Wt.queued||!Ft&&Wt.triggerName!=K||vt.push(Wt)})}}return(C||K)&&(vt=vt.filter(yt=>!(C&&C!=yt.namespaceId||K&&K!=yt.triggerName))),vt}_beforeAnimationBuild(p,d,C){const He=d.element,vt=d.isRemovalTransition?void 0:p,yt=d.isRemovalTransition?void 0:d.triggerName;for(const Ft of d.timelines){const Wt=Ft.element,sn=Wt!==He,mn=Zt(C,Wt,[]);this._getPreviousPlayers(Wt,sn,vt,yt,d.toState).forEach(Yn=>{const Fn=Yn.getRealPlayer();Fn.beforeDestroy&&Fn.beforeDestroy(),Yn.destroy(),mn.push(Yn)})}N(He,d.fromStyles)}_buildAnimation(p,d,C,K,He,vt){const yt=d.triggerName,Ft=d.element,Wt=[],sn=new Set,mn=new Set,Bn=d.timelines.map(Fn=>{const Dn=Fn.element;sn.add(Dn);const Qn=Dn[is];if(Qn&&Qn.removedBeforeQueried)return new Fe.ZN(Fn.duration,Fn.delay);const ui=Dn!==Ft,Ii=function Ca(S){const p=[];return _s(S,p),p}((C.get(Dn)||Br).map(vs=>vs.getRealPlayer())).filter(vs=>!!vs.element&&vs.element===Dn),Bi=He.get(Dn),Ni=vt.get(Dn),Vr=Ve(0,this._normalizer,0,Fn.keyframes,Bi,Ni),br=this._buildPlayer(Fn,Vr,Ii);if(Fn.subTimeline&&K&&mn.add(Dn),ui){const vs=new _r(p,yt,Dn);vs.setRealPlayer(br),Wt.push(vs)}return br});Wt.forEach(Fn=>{Zt(this.playersByQueriedElement,Fn.element,[]).push(Fn),Fn.onDone(()=>function ao(S,p,d){let C=S.get(p);if(C){if(C.length){const K=C.indexOf(d);C.splice(K,1)}0==C.length&&S.delete(p)}return C}(this.playersByQueriedElement,Fn.element,Fn))}),sn.forEach(Fn=>ls(Fn,xi));const Yn=ji(Bn);return Yn.onDestroy(()=>{sn.forEach(Fn=>sr(Fn,xi)),zn(Ft,d.toStyles)}),mn.forEach(Fn=>{Zt(K,Fn,[]).push(Yn)}),Yn}_buildPlayer(p,d,C){return d.length>0?this.driver.animate(p.element,d,p.duration,p.delay,p.easing,C):new Fe.ZN(p.duration,p.delay)}}class _r{constructor(p,d,C){this.namespaceId=p,this.triggerName=d,this.element=C,this._player=new Fe.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(p){this._containsRealPlayer||(this._player=p,this._queuedCallbacks.forEach((d,C)=>{d.forEach(K=>$e(p,C,void 0,K))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(p.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(p){this.totalTime=p}syncPlayerEvents(p){const d=this._player;d.triggerCallback&&p.onStart(()=>d.triggerCallback("start")),p.onDone(()=>this.finish()),p.onDestroy(()=>this.destroy())}_queueEvent(p,d){Zt(this._queuedCallbacks,p,[]).push(d)}onDone(p){this.queued&&this._queueEvent("done",p),this._player.onDone(p)}onStart(p){this.queued&&this._queueEvent("start",p),this._player.onStart(p)}onDestroy(p){this.queued&&this._queueEvent("destroy",p),this._player.onDestroy(p)}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(p){this.queued||this._player.setPosition(p)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(p){const d=this._player;d.triggerCallback&&d.triggerCallback(p)}}function Ss(S){return S&&1===S.nodeType}function Ls(S,p){const d=S.style.display;return S.style.display=null!=p?p:"none",d}function lo(S,p,d,C,K){const He=[];d.forEach(Ft=>He.push(Ls(Ft)));const vt=[];C.forEach((Ft,Wt)=>{const sn=new Map;Ft.forEach(mn=>{const Bn=p.computeStyle(Wt,mn,K);sn.set(mn,Bn),(!Bn||0==Bn.length)&&(Wt[is]=ba,vt.push(Wt))}),S.set(Wt,sn)});let yt=0;return d.forEach(Ft=>Ls(Ft,He[yt++])),vt}function gs(S,p){const d=new Map;if(S.forEach(yt=>d.set(yt,[])),0==p.length)return d;const K=new Set(p),He=new Map;function vt(yt){if(!yt)return 1;let Ft=He.get(yt);if(Ft)return Ft;const Wt=yt.parentNode;return Ft=d.has(Wt)?Wt:K.has(Wt)?1:vt(Wt),He.set(yt,Ft),Ft}return p.forEach(yt=>{const Ft=vt(yt);1!==Ft&&d.get(Ft).push(yt)}),d}function ls(S,p){var d;null===(d=S.classList)||void 0===d||d.add(p)}function sr(S,p){var d;null===(d=S.classList)||void 0===d||d.remove(p)}function ko(S,p,d){ji(d).onDone(()=>S.processLeaveNode(p))}function _s(S,p){for(let d=0;d<S.length;d++){const C=S[d];C instanceof Fe.ZE?_s(C.players,p):p.push(C)}}function vr(S,p,d){const C=d.get(S);if(!C)return!1;let K=p.get(S);return K?C.forEach(He=>K.add(He)):p.set(S,C),d.delete(S),!0}class rr{constructor(p,d,C){this.bodyNode=p,this._driver=d,this._normalizer=C,this._triggerCache={},this.onRemovalComplete=(K,He)=>{},this._transitionEngine=new Qr(p,d,C),this._timelineEngine=new ro(p,d,C),this._transitionEngine.onRemovalComplete=(K,He)=>this.onRemovalComplete(K,He)}registerTrigger(p,d,C,K,He){const vt=p+"-"+K;let yt=this._triggerCache[vt];if(!yt){const Ft=[],sn=ms(this._driver,He,Ft,[]);if(Ft.length)throw function qn(S,p){return new i.vHH(3404,Ye)}();yt=function ga(S,p,d){return new _a(S,p,d)}(K,sn,this._normalizer),this._triggerCache[vt]=yt}this._transitionEngine.registerTrigger(d,K,yt)}register(p,d){this._transitionEngine.register(p,d)}destroy(p,d){this._transitionEngine.destroy(p,d)}onInsert(p,d,C,K){this._transitionEngine.insertNode(p,d,C,K)}onRemove(p,d,C,K){this._transitionEngine.removeNode(p,d,K||!1,C)}disableAnimations(p,d){this._transitionEngine.markElementAsDisabled(p,d)}process(p,d,C,K){if("@"==C.charAt(0)){const[He,vt]=un(C);this._timelineEngine.command(He,d,vt,K)}else this._transitionEngine.trigger(p,d,C,K)}listen(p,d,C,K,He){if("@"==C.charAt(0)){const[vt,yt]=un(C);return this._timelineEngine.listen(vt,d,yt,He)}return this._transitionEngine.listen(p,d,C,K,He)}flush(p=-1){this._transitionEngine.flush(p)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Jr=(()=>{class S{constructor(d,C,K){this._element=d,this._startStyles=C,this._endStyles=K,this._state=0;let He=S.initialStylesByElement.get(d);He||S.initialStylesByElement.set(d,He=new Map),this._initialStyles=He}start(){this._state<1&&(this._startStyles&&zn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(zn(this._element,this._initialStyles),this._endStyles&&(zn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(S.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),zn(this._element,this._initialStyles),this._state=3)}}return S.initialStylesByElement=new WeakMap,S})();function yr(S){let p=null;return S.forEach((d,C)=>{(function uo(S){return"display"===S||"position"===S})(C)&&(p=p||new Map,p.set(C,d))}),p}class ho{constructor(p,d,C,K){this.element=p,this.keyframes=d,this.options=C,this._specialStyles=K,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=C.duration,this._delay=C.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(p=>p()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const p=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,p,this.options),this._finalKeyframe=p.length?p[p.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(p){const d=[];return p.forEach(C=>{d.push(Object.fromEntries(C))}),d}_triggerWebAnimation(p,d,C){return p.animate(this._convertKeyframesToObject(d),C)}onStart(p){this._onStartFns.push(p)}onDone(p){this._onDoneFns.push(p)}onDestroy(p){this._onDestroyFns.push(p)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(p=>p()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(p=>p()),this._onDestroyFns=[])}setPosition(p){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=p*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const p=new Map;this.hasStarted()&&this._finalKeyframe.forEach((C,K)=>{"offset"!==K&&p.set(K,this._finished?C:Zn(this.element,K))}),this.currentSnapshot=p}triggerCallback(p){const d="start"===p?this._onStartFns:this._onDoneFns;d.forEach(C=>C()),d.length=0}}class Po{validateStyleProperty(p){return!0}validateAnimatableStyleProperty(p){return!0}matchesElement(p,d){return!1}containsElement(p,d){return Vn(p,d)}getParentElement(p){return _i(p)}query(p,d,C){return Pi(p,d,C)}computeStyle(p,d,C){return window.getComputedStyle(p)[d]}animate(p,d,C,K,He,vt=[]){const Ft={duration:C,delay:K,fill:0==K?"both":"forwards"};He&&(Ft.easing=He);const Wt=new Map,sn=vt.filter(Yn=>Yn instanceof ho);(function ni(S,p){return 0===S||0===p})(C,K)&&sn.forEach(Yn=>{Yn.currentSnapshot.forEach((Fn,Dn)=>Wt.set(Dn,Fn))});let mn=function ks(S){return S.length?S[0]instanceof Map?S:S.map(p=>Xs(p)):[]}(d).map(Yn=>$n(Yn));mn=function Rn(S,p,d){if(d.size&&p.length){let C=p[0],K=[];if(d.forEach((He,vt)=>{C.has(vt)||K.push(vt),C.set(vt,He)}),K.length)for(let He=1;He<p.length;He++){let vt=p[He];K.forEach(yt=>vt.set(yt,Zn(S,yt)))}}return p}(p,mn,Wt);const Bn=function co(S,p){let d=null,C=null;return Array.isArray(p)&&p.length?(d=yr(p[0]),p.length>1&&(C=yr(p[p.length-1]))):p instanceof Map&&(d=yr(p)),d||C?new Jr(S,d,C):null}(p,mn);return new ho(p,mn,Ft,Bn)}}let po=(()=>{class S extends Fe._j{constructor(d,C){super(),this._nextAnimationId=0,this._renderer=d.createRenderer(C.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(d){const C=this._nextAnimationId.toString();this._nextAnimationId++;const K=Array.isArray(d)?(0,Fe.vP)(d):d;return b(this._renderer,null,C,"register",[K]),new Fo(C,this._renderer)}}return S.\u0275fac=function(d){return new(d||S)(i.LFG(i.FYo),i.LFG(ie.K0))},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac}),S})();class Fo extends Fe.LC{constructor(p,d){super(),this._id=p,this._renderer=d}create(p,d){return new qa(this._id,p,d||{},this._renderer)}}class qa{constructor(p,d,C,K){this.id=p,this.element=d,this._renderer=K,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",C)}_listen(p,d){return this._renderer.listen(this.element,`@@${this.id}:${p}`,d)}_command(p,...d){return b(this._renderer,this.element,this.id,p,d)}onDone(p){this._listen("done",p)}onStart(p){this._listen("start",p)}onDestroy(p){this._listen("destroy",p)}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(p){this._command("setPosition",p)}getPosition(){var p,d;return null!==(d=null===(p=this._renderer.engine.players[+this.id])||void 0===p?void 0:p.getPosition())&&void 0!==d?d:0}}function b(S,p,d,C,K){return S.setProperty(p,`@@${d}:${C}`,K)}const y="@",g="@.disabled";let O=(()=>{class S{constructor(d,C,K){this.delegate=d,this.engine=C,this._zone=K,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),C.onRemovalComplete=(He,vt)=>{const yt=null==vt?void 0:vt.parentNode(He);yt&&vt.removeChild(yt,He)}}createRenderer(d,C){const He=this.delegate.createRenderer(d,C);if(!(d&&C&&C.data&&C.data.animation)){let sn=this._rendererCache.get(He);return sn||(sn=new $("",He,this.engine),this._rendererCache.set(He,sn)),sn}const vt=C.id,yt=C.id+"-"+this._currentId;this._currentId++,this.engine.register(yt,d);const Ft=sn=>{Array.isArray(sn)?sn.forEach(Ft):this.engine.registerTrigger(vt,yt,d,sn.name,sn)};return C.data.animation.forEach(Ft),new Re(this,yt,He,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(d,C,K){d>=0&&d<this._microtaskId?this._zone.run(()=>C(K)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(He=>{const[vt,yt]=He;vt(yt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([C,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 S.\u0275fac=function(d){return new(d||S)(i.LFG(i.FYo),i.LFG(rr),i.LFG(i.R0b))},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac}),S})();class ${constructor(p,d,C){this.namespaceId=p,this.delegate=d,this.engine=C,this.destroyNode=this.delegate.destroyNode?K=>d.destroyNode(K):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(p,d){return this.delegate.createElement(p,d)}createComment(p){return this.delegate.createComment(p)}createText(p){return this.delegate.createText(p)}appendChild(p,d){this.delegate.appendChild(p,d),this.engine.onInsert(this.namespaceId,d,p,!1)}insertBefore(p,d,C,K=!0){this.delegate.insertBefore(p,d,C),this.engine.onInsert(this.namespaceId,d,p,K)}removeChild(p,d,C){this.engine.onRemove(this.namespaceId,d,this.delegate,C)}selectRootElement(p,d){return this.delegate.selectRootElement(p,d)}parentNode(p){return this.delegate.parentNode(p)}nextSibling(p){return this.delegate.nextSibling(p)}setAttribute(p,d,C,K){this.delegate.setAttribute(p,d,C,K)}removeAttribute(p,d,C){this.delegate.removeAttribute(p,d,C)}addClass(p,d){this.delegate.addClass(p,d)}removeClass(p,d){this.delegate.removeClass(p,d)}setStyle(p,d,C,K){this.delegate.setStyle(p,d,C,K)}removeStyle(p,d,C){this.delegate.removeStyle(p,d,C)}setProperty(p,d,C){d.charAt(0)==y&&d==g?this.disableAnimations(p,!!C):this.delegate.setProperty(p,d,C)}setValue(p,d){this.delegate.setValue(p,d)}listen(p,d,C){return this.delegate.listen(p,d,C)}disableAnimations(p,d){this.engine.disableAnimations(p,d)}}class Re extends ${constructor(p,d,C,K){super(d,C,K),this.factory=p,this.namespaceId=d}setProperty(p,d,C){d.charAt(0)==y?"."==d.charAt(1)&&d==g?this.disableAnimations(p,C=void 0===C||!!C):this.engine.process(this.namespaceId,p,d.slice(1),C):this.delegate.setProperty(p,d,C)}listen(p,d,C){if(d.charAt(0)==y){const K=function _t(S){switch(S){case"body":return document.body;case"document":return document;case"window":return window;default:return S}}(p);let He=d.slice(1),vt="";return He.charAt(0)!=y&&([He,vt]=function Dt(S){const p=S.indexOf(".");return[S.substring(0,p),S.slice(p+1)]}(He)),this.engine.listen(this.namespaceId,K,He,vt,yt=>{this.factory.scheduleListenerCallback(yt._data||-1,C,yt)})}return this.delegate.listen(p,d,C)}}const dn=[{provide:Fe._j,useClass:po},{provide:mr,useFactory:function an(){return new Zi}},{provide:rr,useClass:(()=>{class S extends rr{constructor(d,C,K){super(d.body,C,K)}ngOnDestroy(){this.flush()}}return S.\u0275fac=function(d){return new(d||S)(i.LFG(ie.K0),i.LFG(fs),i.LFG(mr))},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac}),S})()},{provide:i.FYo,useFactory:function Mn(S,p,d){return new O(S,p,d)},deps:[s.se,rr,i.R0b]}],kn=[{provide:fs,useFactory:()=>new Po},{provide:i.QbO,useValue:"BrowserAnimations"},...dn],Xn=[{provide:fs,useClass:Ms},{provide:i.QbO,useValue:"NoopAnimations"},...dn];let Ti=(()=>{class S{static withConfig(d){return{ngModule:S,providers:d.disableAnimations?Xn:kn}}}return S.\u0275fac=function(d){return new(d||S)},S.\u0275mod=i.oAB({type:S}),S.\u0275inj=i.cJS({providers:kn,imports:[s.b2]}),S})(),Ts=(()=>{class S{}return S.\u0275fac=function(d){return new(d||S)},S.\u0275mod=i.oAB({type:S}),S.\u0275inj=i.cJS({providers:[X]}),S})();var wi=c(3737),Ns=c(4376);const fo={parse:{dateInput:"DD/MM/YYYY"},display:{dateInput:"DD/MM/YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"DD/MM/YYYY",monthYearA11yLabel:"MMMM YYYY"}};let oi=(()=>{class S{}return S.\u0275fac=function(d){return new(d||S)},S.\u0275mod=i.oAB({type:S,bootstrap:[bt]}),S.\u0275inj=i.cJS({providers:[ie.uU,{provide:le.Ad,useValue:"pt-BR"},{provide:le.sG,useValue:fo}],imports:[s.b2,Ti,Nt.m,l.u5,It.o9,Me.JF,Ts,u.Bz.forRoot(Je),wi._t,l.UX,$t.FF,Ns.A0]}),S})();Mt.N.production&&(0,i.G48)(),s.q6().bootstrapModule(oi).catch(S=>console.log(S))},5386:(Yt,ut,c)=>{var s;!function(i,h,u,l){"use strict";var Be,Me=["","webkit","Moz","MS","ms","o"],ie=h.createElement("div"),ve=Math.round,X=Math.abs,Ne=Date.now;function ne(Ve,$e,wt){return setTimeout(Mt(Ve,wt),$e)}function Ce(Ve,$e,wt){return!!Array.isArray(Ve)&&(ae(Ve,wt[$e],wt),!0)}function ae(Ve,$e,wt){var Ht;if(Ve)if(Ve.forEach)Ve.forEach($e,wt);else if(Ve.length!==l)for(Ht=0;Ht<Ve.length;)$e.call(wt,Ve[Ht],Ht,Ve),Ht++;else for(Ht in Ve)Ve.hasOwnProperty(Ht)&&$e.call(wt,Ve[Ht],Ht,Ve)}function Ae(Ve,$e,wt){var Ht="DEPRECATED METHOD: "+$e+"\n"+wt+" AT \n";return function(){var Zt=new Error("get-stack-trace"),un=Zt&&Zt.stack?Zt.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Tn=i.console&&(i.console.warn||i.console.log);return Tn&&Tn.call(i.console,Ht,un),Ve.apply(this,arguments)}}Be="function"!=typeof Object.assign?function($e){if($e===l||null===$e)throw new TypeError("Cannot convert undefined or null to object");for(var wt=Object($e),Ht=1;Ht<arguments.length;Ht++){var Zt=arguments[Ht];if(Zt!==l&&null!==Zt)for(var un in Zt)Zt.hasOwnProperty(un)&&(wt[un]=Zt[un])}return wt}:Object.assign;var Se=Ae(function($e,wt,Ht){for(var Zt=Object.keys(wt),un=0;un<Zt.length;)(!Ht||Ht&&$e[Zt[un]]===l)&&($e[Zt[un]]=wt[Zt[un]]),un++;return $e},"extend","Use `assign`."),mt=Ae(function($e,wt){return Se($e,wt,!0)},"merge","Use `assign`.");function bt(Ve,$e,wt){var Zt,Ht=$e.prototype;(Zt=Ve.prototype=Object.create(Ht)).constructor=Ve,Zt._super=Ht,wt&&Be(Zt,wt)}function Mt(Ve,$e){return function(){return Ve.apply($e,arguments)}}function ke(Ve,$e){return"function"==typeof Ve?Ve.apply($e&&$e[0]||l,$e):Ve}function oe(Ve,$e){return Ve===l?$e:Ve}function he(Ve,$e,wt){ae(et($e),function(Ht){Ve.addEventListener(Ht,wt,!1)})}function le(Ve,$e,wt){ae(et($e),function(Ht){Ve.removeEventListener(Ht,wt,!1)})}function We(Ve,$e){for(;Ve;){if(Ve==$e)return!0;Ve=Ve.parentNode}return!1}function we(Ve,$e){return Ve.indexOf($e)>-1}function et(Ve){return Ve.trim().split(/\s+/g)}function Xe(Ve,$e,wt){if(Ve.indexOf&&!wt)return Ve.indexOf($e);for(var Ht=0;Ht<Ve.length;){if(wt&&Ve[Ht][wt]==$e||!wt&&Ve[Ht]===$e)return Ht;Ht++}return-1}function _e(Ve){return Array.prototype.slice.call(Ve,0)}function lt(Ve,$e,wt){for(var Ht=[],Zt=[],un=0;un<Ve.length;){var Tn=$e?Ve[un][$e]:Ve[un];Xe(Zt,Tn)<0&&Ht.push(Ve[un]),Zt[un]=Tn,un++}return wt&&(Ht=$e?Ht.sort(function(ci,_i){return ci[$e]>_i[$e]}):Ht.sort()),Ht}function je(Ve,$e){for(var wt,Ht,Zt=$e[0].toUpperCase()+$e.slice(1),un=0;un<Me.length;){if((Ht=(wt=Me[un])?wt+Zt:$e)in Ve)return Ht;un++}return l}var pt=1;function ft(Ve){var $e=Ve.ownerDocument||Ve;return $e.defaultView||$e.parentWindow||i}var St="ontouchstart"in i,Y=je(i,"PointerEvent")!==l,B=St&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),_="touch",J="mouse",st=["x","y"],xe=["clientX","clientY"];function q(Ve,$e){var wt=this;this.manager=Ve,this.callback=$e,this.element=Ve.element,this.target=Ve.options.inputTarget,this.domHandler=function(Ht){ke(Ve.options.enable,[Ve])&&wt.handler(Ht)},this.init()}function W(Ve,$e,wt){var Ht=wt.pointers.length,Zt=wt.changedPointers.length,un=1&$e&&Ht-Zt==0,Tn=12&$e&&Ht-Zt==0;wt.isFirst=!!un,wt.isFinal=!!Tn,un&&(Ve.session={}),wt.eventType=$e,function Z(Ve,$e){var wt=Ve.session,Ht=$e.pointers,Zt=Ht.length;wt.firstInput||(wt.firstInput=qe($e)),Zt>1&&!wt.firstMultiple?wt.firstMultiple=qe($e):1===Zt&&(wt.firstMultiple=!1);var un=wt.firstInput,Tn=wt.firstMultiple,li=Tn?Tn.center:un.center,ci=$e.center=kt(Ht);$e.timeStamp=Ne(),$e.deltaTime=$e.timeStamp-un.timeStamp,$e.angle=xt(li,ci),$e.distance=Lt(li,ci),function Ee(Ve,$e){var wt=$e.center,Ht=Ve.offsetDelta||{},Zt=Ve.prevDelta||{},un=Ve.prevInput||{};(1===$e.eventType||4===un.eventType)&&(Zt=Ve.prevDelta={x:un.deltaX||0,y:un.deltaY||0},Ht=Ve.offsetDelta={x:wt.x,y:wt.y}),$e.deltaX=Zt.x+(wt.x-Ht.x),$e.deltaY=Zt.y+(wt.y-Ht.y)}(wt,$e),$e.offsetDirection=en($e.deltaX,$e.deltaY);var _i=qt($e.deltaTime,$e.deltaX,$e.deltaY);$e.overallVelocityX=_i.x,$e.overallVelocityY=_i.y,$e.overallVelocity=X(_i.x)>X(_i.y)?_i.x:_i.y,$e.scale=Tn?function ge(Ve,$e){return Lt($e[0],$e[1],xe)/Lt(Ve[0],Ve[1],xe)}(Tn.pointers,Ht):1,$e.rotation=Tn?function Rt(Ve,$e){return xt($e[1],$e[0],xe)+xt(Ve[1],Ve[0],xe)}(Tn.pointers,Ht):0,$e.maxPointers=wt.prevInput?$e.pointers.length>wt.prevInput.maxPointers?$e.pointers.length:wt.prevInput.maxPointers:$e.pointers.length,function tt(Ve,$e){var Zt,un,Tn,li,wt=Ve.lastInterval||$e,Ht=$e.timeStamp-wt.timeStamp;if(8!=$e.eventType&&(Ht>25||wt.velocity===l)){var ci=$e.deltaX-wt.deltaX,_i=$e.deltaY-wt.deltaY,ki=qt(Ht,ci,_i);un=ki.x,Tn=ki.y,Zt=X(ki.x)>X(ki.y)?ki.x:ki.y,li=en(ci,_i),Ve.lastInterval=$e}else Zt=wt.velocity,un=wt.velocityX,Tn=wt.velocityY,li=wt.direction;$e.velocity=Zt,$e.velocityX=un,$e.velocityY=Tn,$e.direction=li}(wt,$e);var ki=Ve.element;We($e.srcEvent.target,ki)&&(ki=$e.srcEvent.target),$e.target=ki}(Ve,wt),Ve.emit("hammer.input",wt),Ve.recognize(wt),Ve.session.prevInput=wt}function qe(Ve){for(var $e=[],wt=0;wt<Ve.pointers.length;)$e[wt]={clientX:ve(Ve.pointers[wt].clientX),clientY:ve(Ve.pointers[wt].clientY)},wt++;return{timeStamp:Ne(),pointers:$e,center:kt($e),deltaX:Ve.deltaX,deltaY:Ve.deltaY}}function kt(Ve){var $e=Ve.length;if(1===$e)return{x:ve(Ve[0].clientX),y:ve(Ve[0].clientY)};for(var wt=0,Ht=0,Zt=0;Zt<$e;)wt+=Ve[Zt].clientX,Ht+=Ve[Zt].clientY,Zt++;return{x:ve(wt/$e),y:ve(Ht/$e)}}function qt(Ve,$e,wt){return{x:$e/Ve||0,y:wt/Ve||0}}function en(Ve,$e){return Ve===$e?1:X(Ve)>=X($e)?Ve<0?2:4:$e<0?8:16}function Lt(Ve,$e,wt){wt||(wt=st);var Ht=$e[wt[0]]-Ve[wt[0]],Zt=$e[wt[1]]-Ve[wt[1]];return Math.sqrt(Ht*Ht+Zt*Zt)}function xt(Ve,$e,wt){return wt||(wt=st),180*Math.atan2($e[wt[1]]-Ve[wt[1]],$e[wt[0]]-Ve[wt[0]])/Math.PI}q.prototype={handler:function(){},init:function(){this.evEl&&he(this.element,this.evEl,this.domHandler),this.evTarget&&he(this.target,this.evTarget,this.domHandler),this.evWin&&he(ft(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&le(this.element,this.evEl,this.domHandler),this.evTarget&&le(this.target,this.evTarget,this.domHandler),this.evWin&&le(ft(this.element),this.evWin,this.domHandler)}};var Ge={mousedown:1,mousemove:2,mouseup:4},rt="mousedown",L="mousemove mouseup";function me(){this.evEl=rt,this.evWin=L,this.pressed=!1,q.apply(this,arguments)}bt(me,q,{handler:function($e){var wt=Ge[$e.type];1&wt&&0===$e.button&&(this.pressed=!0),2&wt&&1!==$e.which&&(wt=4),this.pressed&&(4&wt&&(this.pressed=!1),this.callback(this.manager,wt,{pointers:[$e],changedPointers:[$e],pointerType:J,srcEvent:$e}))}});var T={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},D={2:_,3:"pen",4:J,5:"kinect"},z="pointerdown",P="pointermove pointerup pointercancel";function ue(){this.evEl=z,this.evWin=P,q.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(z="MSPointerDown",P="MSPointerMove MSPointerUp MSPointerCancel"),bt(ue,q,{handler:function($e){var wt=this.store,Ht=!1,Zt=$e.type.toLowerCase().replace("ms",""),un=T[Zt],Tn=D[$e.pointerType]||$e.pointerType,li=Tn==_,ci=Xe(wt,$e.pointerId,"pointerId");1&un&&(0===$e.button||li)?ci<0&&(wt.push($e),ci=wt.length-1):12&un&&(Ht=!0),!(ci<0)&&(wt[ci]=$e,this.callback(this.manager,un,{pointers:wt,changedPointers:[$e],pointerType:Tn,srcEvent:$e}),Ht&&wt.splice(ci,1))}});var te={touchstart:1,touchmove:2,touchend:4,touchcancel:8},F="touchstart",G="touchstart touchmove touchend touchcancel";function j(){this.evTarget=F,this.evWin=G,this.started=!1,q.apply(this,arguments)}function ye(Ve,$e){var wt=_e(Ve.touches),Ht=_e(Ve.changedTouches);return 12&$e&&(wt=lt(wt.concat(Ht),"identifier",!0)),[wt,Ht]}bt(j,q,{handler:function($e){var wt=te[$e.type];if(1===wt&&(this.started=!0),this.started){var Ht=ye.call(this,$e,wt);12&wt&&Ht[0].length-Ht[1].length==0&&(this.started=!1),this.callback(this.manager,wt,{pointers:Ht[0],changedPointers:Ht[1],pointerType:_,srcEvent:$e})}}});var H={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Ue="touchstart touchmove touchend touchcancel";function Je(){this.evTarget=Ue,this.targetIds={},q.apply(this,arguments)}function It(Ve,$e){var wt=_e(Ve.touches),Ht=this.targetIds;if(3&$e&&1===wt.length)return Ht[wt[0].identifier]=!0,[wt,wt];var Zt,un,Tn=_e(Ve.changedTouches),li=[],ci=this.target;if(un=wt.filter(function(_i){return We(_i.target,ci)}),1===$e)for(Zt=0;Zt<un.length;)Ht[un[Zt].identifier]=!0,Zt++;for(Zt=0;Zt<Tn.length;)Ht[Tn[Zt].identifier]&&li.push(Tn[Zt]),12&$e&&delete Ht[Tn[Zt].identifier],Zt++;return li.length?[lt(un.concat(li),"identifier",!0),li]:void 0}function R(){q.apply(this,arguments);var Ve=Mt(this.handler,this);this.touch=new Je(this.manager,Ve),this.mouse=new me(this.manager,Ve),this.primaryTouch=null,this.lastTouches=[]}function ee(Ve,$e){1&Ve?(this.primaryTouch=$e.changedPointers[0].identifier,pe.call(this,$e)):12&Ve&&pe.call(this,$e)}function pe(Ve){var $e=Ve.changedPointers[0];if($e.identifier===this.primaryTouch){var wt={x:$e.clientX,y:$e.clientY};this.lastTouches.push(wt);var Ht=this.lastTouches;setTimeout(function(){var un=Ht.indexOf(wt);un>-1&&Ht.splice(un,1)},2500)}}function fe(Ve){for(var $e=Ve.srcEvent.clientX,wt=Ve.srcEvent.clientY,Ht=0;Ht<this.lastTouches.length;Ht++){var Zt=this.lastTouches[Ht],un=Math.abs($e-Zt.x),Tn=Math.abs(wt-Zt.y);if(un<=25&&Tn<=25)return!0}return!1}bt(Je,q,{handler:function($e){var wt=H[$e.type],Ht=It.call(this,$e,wt);!Ht||this.callback(this.manager,wt,{pointers:Ht[0],changedPointers:Ht[1],pointerType:_,srcEvent:$e})}}),bt(R,q,{handler:function($e,wt,Ht){var un=Ht.pointerType==J;if(!(un&&Ht.sourceCapabilities&&Ht.sourceCapabilities.firesTouchEvents)){if(Ht.pointerType==_)ee.call(this,wt,Ht);else if(un&&fe.call(this,Ht))return;this.callback($e,wt,Ht)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ht=je(ie.style,"touchAction"),Pt=ht!==l,Ut="compute",fn="manipulation",yn="none",Gn="pan-x",Un="pan-y",at=function m(){if(!Pt)return!1;var Ve={},$e=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(wt){Ve[wt]=!$e||i.CSS.supports("touch-action",wt)}),Ve}();function be(Ve,$e){this.manager=Ve,this.set($e)}function Pn(Ve){this.options=Be({},this.defaults,Ve||{}),this.id=function it(){return pt++}(),this.manager=null,this.options.enable=oe(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function qn(Ve){return 16&Ve?"cancel":8&Ve?"end":4&Ve?"move":2&Ve?"start":""}function ai(Ve){return 16==Ve?"down":8==Ve?"up":2==Ve?"left":4==Ve?"right":""}function Ei(Ve,$e){var wt=$e.manager;return wt?wt.get(Ve):Ve}function wn(){Pn.apply(this,arguments)}function Ji(){wn.apply(this,arguments),this.pX=null,this.pY=null}function Si(){wn.apply(this,arguments)}function si(){Pn.apply(this,arguments),this._timer=null,this._input=null}function pi(){wn.apply(this,arguments)}function Ri(){wn.apply(this,arguments)}function vi(){Pn.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function yi(Ve,$e){return($e=$e||{}).recognizers=oe($e.recognizers,yi.defaults.preset),new Ui(Ve,$e)}function Ui(Ve,$e){this.options=Be({},yi.defaults,$e||{}),this.options.inputTarget=this.options.inputTarget||Ve,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=Ve,this.input=function k(Ve){return new(Ve.options.inputClass||(Y?ue:B?Je:St?R:me))(Ve,W)}(this),this.touchAction=new be(this,this.options.touchAction),us(this,!0),ae(this.options.recognizers,function(wt){var Ht=this.add(new wt[0](wt[1]));wt[2]&&Ht.recognizeWith(wt[2]),wt[3]&&Ht.requireFailure(wt[3])},this)}function us(Ve,$e){var Ht,wt=Ve.element;wt.style&&(ae(Ve.options.cssProps,function(Zt,un){Ht=je(wt.style,un),$e?(Ve.oldCssProps[Ht]=wt.style[Ht],wt.style[Ht]=Zt):wt.style[Ht]=Ve.oldCssProps[Ht]||""}),$e||(Ve.oldCssProps={}))}be.prototype={set:function(Ve){Ve==Ut&&(Ve=this.compute()),Pt&&this.manager.element.style&&at[Ve]&&(this.manager.element.style[ht]=Ve),this.actions=Ve.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var Ve=[];return ae(this.manager.recognizers,function($e){ke($e.options.enable,[$e])&&(Ve=Ve.concat($e.getTouchAction()))}),function Ze(Ve){if(we(Ve,yn))return yn;var $e=we(Ve,Gn),wt=we(Ve,Un);return $e&&wt?yn:$e||wt?$e?Gn:Un:we(Ve,fn)?fn:"auto"}(Ve.join(" "))},preventDefaults:function(Ve){var $e=Ve.srcEvent,wt=Ve.offsetDirection;if(!this.manager.session.prevented){var Ht=this.actions,Zt=we(Ht,yn)&&!at[yn],un=we(Ht,Un)&&!at[Un],Tn=we(Ht,Gn)&&!at[Gn];if(Zt&&1===Ve.pointers.length&&Ve.distance<2&&Ve.deltaTime<250)return;return Tn&&un||!(Zt||un&&6&wt||Tn&&24&wt)?void 0:this.preventSrc($e)}$e.preventDefault()},preventSrc:function(Ve){this.manager.session.prevented=!0,Ve.preventDefault()}},Pn.prototype={defaults:{},set:function(Ve){return Be(this.options,Ve),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(Ve){if(Ce(Ve,"recognizeWith",this))return this;var $e=this.simultaneous;return $e[(Ve=Ei(Ve,this)).id]||($e[Ve.id]=Ve,Ve.recognizeWith(this)),this},dropRecognizeWith:function(Ve){return Ce(Ve,"dropRecognizeWith",this)||(Ve=Ei(Ve,this),delete this.simultaneous[Ve.id]),this},requireFailure:function(Ve){if(Ce(Ve,"requireFailure",this))return this;var $e=this.requireFail;return-1===Xe($e,Ve=Ei(Ve,this))&&($e.push(Ve),Ve.requireFailure(this)),this},dropRequireFailure:function(Ve){if(Ce(Ve,"dropRequireFailure",this))return this;Ve=Ei(Ve,this);var $e=Xe(this.requireFail,Ve);return $e>-1&&this.requireFail.splice($e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(Ve){return!!this.simultaneous[Ve.id]},emit:function(Ve){var $e=this,wt=this.state;function Ht(Zt){$e.manager.emit(Zt,Ve)}wt<8&&Ht($e.options.event+qn(wt)),Ht($e.options.event),Ve.additionalEvent&&Ht(Ve.additionalEvent),wt>=8&&Ht($e.options.event+qn(wt))},tryEmit:function(Ve){if(this.canEmit())return this.emit(Ve);this.state=32},canEmit:function(){for(var Ve=0;Ve<this.requireFail.length;){if(!(33&this.requireFail[Ve].state))return!1;Ve++}return!0},recognize:function(Ve){var $e=Be({},Ve);if(!ke(this.options.enable,[this,$e]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process($e),30&this.state&&this.tryEmit($e)},process:function(Ve){},getTouchAction:function(){},reset:function(){}},bt(wn,Pn,{defaults:{pointers:1},attrTest:function(Ve){var $e=this.options.pointers;return 0===$e||Ve.pointers.length===$e},process:function(Ve){var $e=this.state,wt=Ve.eventType,Ht=6&$e,Zt=this.attrTest(Ve);return Ht&&(8&wt||!Zt)?16|$e:Ht||Zt?4&wt?8|$e:2&$e?4|$e:2:32}}),bt(Ji,wn,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var Ve=this.options.direction,$e=[];return 6&Ve&&$e.push(Un),24&Ve&&$e.push(Gn),$e},directionTest:function(Ve){var $e=this.options,wt=!0,Ht=Ve.distance,Zt=Ve.direction,un=Ve.deltaX,Tn=Ve.deltaY;return Zt&$e.direction||(6&$e.direction?(Zt=0===un?1:un<0?2:4,wt=un!=this.pX,Ht=Math.abs(Ve.deltaX)):(Zt=0===Tn?1:Tn<0?8:16,wt=Tn!=this.pY,Ht=Math.abs(Ve.deltaY))),Ve.direction=Zt,wt&&Ht>$e.threshold&&Zt&$e.direction},attrTest:function(Ve){return wn.prototype.attrTest.call(this,Ve)&&(2&this.state||!(2&this.state)&&this.directionTest(Ve))},emit:function(Ve){this.pX=Ve.deltaX,this.pY=Ve.deltaY;var $e=ai(Ve.direction);$e&&(Ve.additionalEvent=this.options.event+$e),this._super.emit.call(this,Ve)}}),bt(Si,wn,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[yn]},attrTest:function(Ve){return this._super.attrTest.call(this,Ve)&&(Math.abs(Ve.scale-1)>this.options.threshold||2&this.state)},emit:function(Ve){1!==Ve.scale&&(Ve.additionalEvent=this.options.event+(Ve.scale<1?"in":"out")),this._super.emit.call(this,Ve)}}),bt(si,Pn,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(Ve){var $e=this.options,wt=Ve.pointers.length===$e.pointers,Ht=Ve.distance<$e.threshold,Zt=Ve.deltaTime>$e.time;if(this._input=Ve,!Ht||!wt||12&Ve.eventType&&!Zt)this.reset();else if(1&Ve.eventType)this.reset(),this._timer=ne(function(){this.state=8,this.tryEmit()},$e.time,this);else if(4&Ve.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(Ve){8===this.state&&(Ve&&4&Ve.eventType?this.manager.emit(this.options.event+"up",Ve):(this._input.timeStamp=Ne(),this.manager.emit(this.options.event,this._input)))}}),bt(pi,wn,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[yn]},attrTest:function(Ve){return this._super.attrTest.call(this,Ve)&&(Math.abs(Ve.rotation)>this.options.threshold||2&this.state)}}),bt(Ri,wn,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Ji.prototype.getTouchAction.call(this)},attrTest:function(Ve){var wt,$e=this.options.direction;return 30&$e?wt=Ve.overallVelocity:6&$e?wt=Ve.overallVelocityX:24&$e&&(wt=Ve.overallVelocityY),this._super.attrTest.call(this,Ve)&&$e&Ve.offsetDirection&&Ve.distance>this.options.threshold&&Ve.maxPointers==this.options.pointers&&X(wt)>this.options.velocity&&4&Ve.eventType},emit:function(Ve){var $e=ai(Ve.offsetDirection);$e&&this.manager.emit(this.options.event+$e,Ve),this.manager.emit(this.options.event,Ve)}}),bt(vi,Pn,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[fn]},process:function(Ve){var $e=this.options,wt=Ve.pointers.length===$e.pointers,Ht=Ve.distance<$e.threshold,Zt=Ve.deltaTime<$e.time;if(this.reset(),1&Ve.eventType&&0===this.count)return this.failTimeout();if(Ht&&Zt&&wt){if(4!=Ve.eventType)return this.failTimeout();var un=!this.pTime||Ve.timeStamp-this.pTime<$e.interval,Tn=!this.pCenter||Lt(this.pCenter,Ve.center)<$e.posThreshold;if(this.pTime=Ve.timeStamp,this.pCenter=Ve.center,Tn&&un?this.count+=1:this.count=1,this._input=Ve,0==this.count%$e.taps)return this.hasRequireFailures()?(this._timer=ne(function(){this.state=8,this.tryEmit()},$e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=ne(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),yi.VERSION="2.0.7",yi.defaults={domEvents:!1,touchAction:Ut,enable:!0,inputTarget:null,inputClass:null,preset:[[pi,{enable:!1}],[Si,{enable:!1},["rotate"]],[Ri,{direction:6}],[Ji,{direction:6},["swipe"]],[vi],[vi,{event:"doubletap",taps:2},["tap"]],[si]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Ui.prototype={set:function(Ve){return Be(this.options,Ve),Ve.touchAction&&this.touchAction.update(),Ve.inputTarget&&(this.input.destroy(),this.input.target=Ve.inputTarget,this.input.init()),this},stop:function(Ve){this.session.stopped=Ve?2:1},recognize:function(Ve){var $e=this.session;if(!$e.stopped){this.touchAction.preventDefaults(Ve);var wt,Ht=this.recognizers,Zt=$e.curRecognizer;(!Zt||Zt&&8&Zt.state)&&(Zt=$e.curRecognizer=null);for(var un=0;un<Ht.length;)wt=Ht[un],2===$e.stopped||Zt&&wt!=Zt&&!wt.canRecognizeWith(Zt)?wt.reset():wt.recognize(Ve),!Zt&&14&wt.state&&(Zt=$e.curRecognizer=wt),un++}},get:function(Ve){if(Ve instanceof Pn)return Ve;for(var $e=this.recognizers,wt=0;wt<$e.length;wt++)if($e[wt].options.event==Ve)return $e[wt];return null},add:function(Ve){if(Ce(Ve,"add",this))return this;var $e=this.get(Ve.options.event);return $e&&this.remove($e),this.recognizers.push(Ve),Ve.manager=this,this.touchAction.update(),Ve},remove:function(Ve){if(Ce(Ve,"remove",this))return this;if(Ve=this.get(Ve)){var $e=this.recognizers,wt=Xe($e,Ve);-1!==wt&&($e.splice(wt,1),this.touchAction.update())}return this},on:function(Ve,$e){if(Ve!==l&&$e!==l){var wt=this.handlers;return ae(et(Ve),function(Ht){wt[Ht]=wt[Ht]||[],wt[Ht].push($e)}),this}},off:function(Ve,$e){if(Ve!==l){var wt=this.handlers;return ae(et(Ve),function(Ht){$e?wt[Ht]&&wt[Ht].splice(Xe(wt[Ht],$e),1):delete wt[Ht]}),this}},emit:function(Ve,$e){this.options.domEvents&&function ns(Ve,$e){var wt=h.createEvent("Event");wt.initEvent(Ve,!0,!0),wt.gesture=$e,$e.target.dispatchEvent(wt)}(Ve,$e);var wt=this.handlers[Ve]&&this.handlers[Ve].slice();if(wt&&wt.length){$e.type=Ve,$e.preventDefault=function(){$e.srcEvent.preventDefault()};for(var Ht=0;Ht<wt.length;)wt[Ht]($e),Ht++}},destroy:function(){this.element&&us(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},Be(yi,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Ui,Input:q,TouchAction:be,TouchInput:Je,MouseInput:me,PointerEventInput:ue,TouchMouseInput:R,SingleTouchInput:j,Recognizer:Pn,AttrRecognizer:wn,Tap:vi,Pan:Ji,Swipe:Ri,Pinch:Si,Rotate:pi,Press:si,on:he,off:le,each:ae,merge:mt,extend:Se,assign:Be,inherit:bt,bindFn:Mt,prefixed:je}),(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=yi,(s=function(){return yi}.call(ut,c,ut,Yt))!==l&&(Yt.exports=s)}(window,document)},6838:(Yt,ut,c)=>{"use strict";c.d(ut,{FF:()=>ne,Fq:()=>Ne});var s=c(5e3),i=c(3075),h=c(1159),u=c(773),l=c(9808);const Me=["input"];function ie(Ce,ae){1&Ce&&s._UZ(0,"mat-spinner",5)}function re(Ce,ae){if(1&Ce&&(s.TgZ(0,"div",6),s._uU(1),s.qZA()),2&Ce){const Ae=s.oxw();s.xp6(1),s.hij(" ",Ae.noResultsMessage,"\n")}}const ve=function(Ce){return{"background-color":Ce}};let Ne=(()=>{class Ce{constructor(Ae){this.showSpinner=!0,this.noResultsMessage="No results",this.noResults=!1,this.localSpinner=!1,this.filteredReturn=new s.vpe,this.filteredItems=[],this.searchForm=Ae.group({value:""})}ngOnInit(){this.searchFormValueChangesSubscription=this.searchForm.valueChanges.subscribe(Ae=>{this.showSpinner&&(this.localSpinner=!0),Ae.value?(this.filteredItems=null==this.displayMember?this.array.filter(Be=>Be.toLowerCase().includes(Ae.value.toLowerCase())):this.hasGroup&&this.groupArrayName&&this.displayMember?this.array.map(Be=>{const Se=Object.assign({},Be);return Se[this.groupArrayName]=Se[this.groupArrayName].filter(mt=>mt[this.displayMember].toLowerCase().includes(Ae.value.toLowerCase())),Se}).filter(Be=>Be[this.groupArrayName].length>0):this.array.filter(Be=>Be[this.displayMember].toLowerCase().includes(Ae.value.toLowerCase())),this.noResults=null==this.filteredItems||0===this.filteredItems.length):(this.filteredItems=this.array.slice(),this.noResults=!1),this.filteredReturn.emit(this.filteredItems),setTimeout(()=>{this.showSpinner&&(this.localSpinner=!1)},2e3)}),setTimeout(()=>{this.input.nativeElement.focus()},500),this.placeholder||(this.placeholder="Search...")}handleKeydown(Ae){(Ae.key&&1===Ae.key.length||Ae.keyCode>=h.A&&Ae.keyCode<=h.Z||Ae.keyCode>=h.xE&&Ae.keyCode<=h.aO||Ae.keyCode===h.L_)&&Ae.stopPropagation()}ngOnDestroy(){this.filteredReturn.emit(this.array),this.searchFormValueChangesSubscription.unsubscribe()}}return Ce.\u0275fac=function(Ae){return new(Ae||Ce)(s.Y36(i.qu))},Ce.\u0275cmp=s.Xpm({type:Ce,selectors:[["mat-select-filter"]],viewQuery:function(Ae,Be){if(1&Ae&&s.Gf(Me,7),2&Ae){let Se;s.iGM(Se=s.CRH())&&(Be.input=Se.first)}},inputs:{showSpinner:"showSpinner",noResultsMessage:"noResultsMessage",placeholder:"placeholder",array:"array",color:"color",displayMember:"displayMember",hasGroup:"hasGroup",groupArrayName:"groupArrayName"},outputs:{filteredReturn:"filteredReturn"},decls:6,vars:7,consts:[[1,"mat-filter",3,"formGroup","ngStyle"],["matInput","","formControlName","value",1,"mat-filter-input",3,"placeholder","keydown"],["input",""],["class","spinner","diameter","16",4,"ngIf"],["class","noResultsMessage",4,"ngIf"],["diameter","16",1,"spinner"],[1,"noResultsMessage"]],template:function(Ae,Be){1&Ae&&(s.TgZ(0,"form",0)(1,"div")(2,"input",1,2),s.NdJ("keydown",function(mt){return Be.handleKeydown(mt)}),s.qZA(),s.YNc(4,ie,1,0,"mat-spinner",3),s.qZA(),s.YNc(5,re,2,1,"div",4),s.qZA()),2&Ae&&(s.Q6J("formGroup",Be.searchForm)("ngStyle",s.VKq(5,ve,Be.color?Be.color:"white")),s.xp6(2),s.s9C("placeholder",Be.placeholder),s.xp6(2),s.Q6J("ngIf",Be.localSpinner),s.xp6(1),s.Q6J("ngIf",Be.noResults))},dependencies:[l.O5,l.PC,i._Y,i.Fj,i.JJ,i.JL,i.sg,i.u,u.Ou],styles:[".mat-filter[_ngcontent-%COMP%]{border-bottom:1px solid grey;border-radius:0;box-shadow:none;box-sizing:border-box;font-size:inherit;padding:16px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.mat-filter-input[_ngcontent-%COMP%]{-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:unset;border:0;color:grey;outline:none;width:100%}.spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}.noResultsMessage[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px;margin-top:10px}"]}),Ce})(),ne=(()=>{class Ce{}return Ce.\u0275fac=function(Ae){return new(Ae||Ce)},Ce.\u0275mod=s.oAB({type:Ce}),Ce.\u0275inj=s.cJS({imports:[l.ez,i.u5,i.UX,u.Cq]}),Ce})()},1135:(Yt,ut,c)=>{"use strict";c.d(ut,{X:()=>i});var s=c(7579);class i extends s.x{constructor(u){super(),this._value=u}get value(){return this.getValue()}_subscribe(u){const l=super._subscribe(u);return!l.closed&&u.next(this._value),l}getValue(){const{hasError:u,thrownError:l,_value:Me}=this;if(u)throw l;return this._throwIfClosed(),Me}next(u){super.next(this._value=u)}}},8306:(Yt,ut,c)=>{"use strict";c.d(ut,{y:()=>X});var s=c(930),i=c(727),h=c(8822),u=c(4671);var ie=c(2416),re=c(576),ve=c(2806);let X=(()=>{class ae{constructor(Be){Be&&(this._subscribe=Be)}lift(Be){const Se=new ae;return Se.source=this,Se.operator=Be,Se}subscribe(Be,Se,mt){const bt=function Ce(ae){return ae&&ae instanceof s.Lv||function ne(ae){return ae&&(0,re.m)(ae.next)&&(0,re.m)(ae.error)&&(0,re.m)(ae.complete)}(ae)&&(0,i.Nn)(ae)}(Be)?Be:new s.Hp(Be,Se,mt);return(0,ve.x)(()=>{const{operator:Mt,source:ke}=this;bt.add(Mt?Mt.call(bt,ke):ke?this._subscribe(bt):this._trySubscribe(bt))}),bt}_trySubscribe(Be){try{return this._subscribe(Be)}catch(Se){Be.error(Se)}}forEach(Be,Se){return new(Se=Ne(Se))((mt,bt)=>{const Mt=new s.Hp({next:ke=>{try{Be(ke)}catch(oe){bt(oe),Mt.unsubscribe()}},error:bt,complete:mt});this.subscribe(Mt)})}_subscribe(Be){var Se;return null===(Se=this.source)||void 0===Se?void 0:Se.subscribe(Be)}[h.L](){return this}pipe(...Be){return function Me(ae){return 0===ae.length?u.y:1===ae.length?ae[0]:function(Be){return ae.reduce((Se,mt)=>mt(Se),Be)}}(Be)(this)}toPromise(Be){return new(Be=Ne(Be))((Se,mt)=>{let bt;this.subscribe(Mt=>bt=Mt,Mt=>mt(Mt),()=>Se(bt))})}}return ae.create=Ae=>new ae(Ae),ae})();function Ne(ae){var Ae;return null!==(Ae=null!=ae?ae:ie.v.Promise)&&void 0!==Ae?Ae:Promise}},7579:(Yt,ut,c)=>{"use strict";c.d(ut,{x:()=>ie});var s=c(8306),i=c(727);const u=(0,c(3888).d)(ve=>function(){ve(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=c(8737),Me=c(2806);let ie=(()=>{class ve extends s.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Ne){const ne=new re(this,this);return ne.operator=Ne,ne}_throwIfClosed(){if(this.closed)throw new u}next(Ne){(0,Me.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ne of this.currentObservers)ne.next(Ne)}})}error(Ne){(0,Me.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Ne;const{observers:ne}=this;for(;ne.length;)ne.shift().error(Ne)}})}complete(){(0,Me.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Ne}=this;for(;Ne.length;)Ne.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Ne;return(null===(Ne=this.observers)||void 0===Ne?void 0:Ne.length)>0}_trySubscribe(Ne){return this._throwIfClosed(),super._trySubscribe(Ne)}_subscribe(Ne){return this._throwIfClosed(),this._checkFinalizedStatuses(Ne),this._innerSubscribe(Ne)}_innerSubscribe(Ne){const{hasError:ne,isStopped:Ce,observers:ae}=this;return ne||Ce?i.Lc:(this.currentObservers=null,ae.push(Ne),new i.w0(()=>{this.currentObservers=null,(0,l.P)(ae,Ne)}))}_checkFinalizedStatuses(Ne){const{hasError:ne,thrownError:Ce,isStopped:ae}=this;ne?Ne.error(Ce):ae&&Ne.complete()}asObservable(){const Ne=new s.y;return Ne.source=this,Ne}}return ve.create=(X,Ne)=>new re(X,Ne),ve})();class re extends ie{constructor(X,Ne){super(),this.destination=X,this.source=Ne}next(X){var Ne,ne;null===(ne=null===(Ne=this.destination)||void 0===Ne?void 0:Ne.next)||void 0===ne||ne.call(Ne,X)}error(X){var Ne,ne;null===(ne=null===(Ne=this.destination)||void 0===Ne?void 0:Ne.error)||void 0===ne||ne.call(Ne,X)}complete(){var X,Ne;null===(Ne=null===(X=this.destination)||void 0===X?void 0:X.complete)||void 0===Ne||Ne.call(X)}_subscribe(X){var Ne,ne;return null!==(ne=null===(Ne=this.source)||void 0===Ne?void 0:Ne.subscribe(X))&&void 0!==ne?ne:i.Lc}}},930:(Yt,ut,c)=>{"use strict";c.d(ut,{Hp:()=>Be,Lv:()=>ne});var s=c(576),i=c(727),h=c(2416),u=c(7849),l=c(5032);const Me=ve("C",void 0,void 0);function ve(ke,oe,he){return{kind:ke,value:oe,error:he}}var X=c(3410),Ne=c(2806);class ne extends i.w0{constructor(oe){super(),this.isStopped=!1,oe?(this.destination=oe,(0,i.Nn)(oe)&&oe.add(this)):this.destination=Mt}static create(oe,he,le){return new Be(oe,he,le)}next(oe){this.isStopped?bt(function re(ke){return ve("N",ke,void 0)}(oe),this):this._next(oe)}error(oe){this.isStopped?bt(function ie(ke){return ve("E",void 0,ke)}(oe),this):(this.isStopped=!0,this._error(oe))}complete(){this.isStopped?bt(Me,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(oe){this.destination.next(oe)}_error(oe){try{this.destination.error(oe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ce=Function.prototype.bind;function ae(ke,oe){return Ce.call(ke,oe)}class Ae{constructor(oe){this.partialObserver=oe}next(oe){const{partialObserver:he}=this;if(he.next)try{he.next(oe)}catch(le){Se(le)}}error(oe){const{partialObserver:he}=this;if(he.error)try{he.error(oe)}catch(le){Se(le)}else Se(oe)}complete(){const{partialObserver:oe}=this;if(oe.complete)try{oe.complete()}catch(he){Se(he)}}}class Be extends ne{constructor(oe,he,le){let We;if(super(),(0,s.m)(oe)||!oe)We={next:null!=oe?oe:void 0,error:null!=he?he:void 0,complete:null!=le?le:void 0};else{let we;this&&h.v.useDeprecatedNextContext?(we=Object.create(oe),we.unsubscribe=()=>this.unsubscribe(),We={next:oe.next&&ae(oe.next,we),error:oe.error&&ae(oe.error,we),complete:oe.complete&&ae(oe.complete,we)}):We=oe}this.destination=new Ae(We)}}function Se(ke){h.v.useDeprecatedSynchronousErrorHandling?(0,Ne.O)(ke):(0,u.h)(ke)}function bt(ke,oe){const{onStoppedNotification:he}=h.v;he&&X.z.setTimeout(()=>he(ke,oe))}const Mt={closed:!0,next:l.Z,error:function mt(ke){throw ke},complete:l.Z}},727:(Yt,ut,c)=>{"use strict";c.d(ut,{Lc:()=>Me,w0:()=>l,Nn:()=>ie});var s=c(576);const h=(0,c(3888).d)(ve=>function(Ne){ve(this),this.message=Ne?`${Ne.length} errors occurred during unsubscription:\n${Ne.map((ne,Ce)=>`${Ce+1}) ${ne.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=Ne});var u=c(8737);class l{constructor(X){this.initialTeardown=X,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let X;if(!this.closed){this.closed=!0;const{_parentage:Ne}=this;if(Ne)if(this._parentage=null,Array.isArray(Ne))for(const ae of Ne)ae.remove(this);else Ne.remove(this);const{initialTeardown:ne}=this;if((0,s.m)(ne))try{ne()}catch(ae){X=ae instanceof h?ae.errors:[ae]}const{_finalizers:Ce}=this;if(Ce){this._finalizers=null;for(const ae of Ce)try{re(ae)}catch(Ae){X=null!=X?X:[],Ae instanceof h?X=[...X,...Ae.errors]:X.push(Ae)}}if(X)throw new h(X)}}add(X){var Ne;if(X&&X!==this)if(this.closed)re(X);else{if(X instanceof l){if(X.closed||X._hasParent(this))return;X._addParent(this)}(this._finalizers=null!==(Ne=this._finalizers)&&void 0!==Ne?Ne:[]).push(X)}}_hasParent(X){const{_parentage:Ne}=this;return Ne===X||Array.isArray(Ne)&&Ne.includes(X)}_addParent(X){const{_parentage:Ne}=this;this._parentage=Array.isArray(Ne)?(Ne.push(X),Ne):Ne?[Ne,X]:X}_removeParent(X){const{_parentage:Ne}=this;Ne===X?this._parentage=null:Array.isArray(Ne)&&(0,u.P)(Ne,X)}remove(X){const{_finalizers:Ne}=this;Ne&&(0,u.P)(Ne,X),X instanceof l&&X._removeParent(this)}}l.EMPTY=(()=>{const ve=new l;return ve.closed=!0,ve})();const Me=l.EMPTY;function ie(ve){return ve instanceof l||ve&&"closed"in ve&&(0,s.m)(ve.remove)&&(0,s.m)(ve.add)&&(0,s.m)(ve.unsubscribe)}function re(ve){(0,s.m)(ve)?ve():ve.unsubscribe()}},2416:(Yt,ut,c)=>{"use strict";c.d(ut,{v:()=>s});const s={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(Yt,ut,c)=>{"use strict";c.d(ut,{c:()=>Me});var s=c(8306),i=c(727),h=c(8343),u=c(5403),l=c(4482);class Me extends s.y{constructor(re,ve){super(),this.source=re,this.subjectFactory=ve,this._subject=null,this._refCount=0,this._connection=null,(0,l.A)(re)&&(this.lift=re.lift)}_subscribe(re){return this.getSubject().subscribe(re)}getSubject(){const re=this._subject;return(!re||re.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:re}=this;this._subject=this._connection=null,null==re||re.unsubscribe()}connect(){let re=this._connection;if(!re){re=this._connection=new i.w0;const ve=this.getSubject();re.add(this.source.subscribe((0,u.x)(ve,void 0,()=>{this._teardown(),ve.complete()},X=>{this._teardown(),ve.error(X)},()=>this._teardown()))),re.closed&&(this._connection=null,re=i.w0.EMPTY)}return re}refCount(){return(0,h.x)()(this)}}},9841:(Yt,ut,c)=>{"use strict";c.d(ut,{a:()=>X});var s=c(8306),i=c(4742),h=c(2076),u=c(4671),l=c(3268),Me=c(3269),ie=c(1810),re=c(5403),ve=c(9672);function X(...Ce){const ae=(0,Me.yG)(Ce),Ae=(0,Me.jO)(Ce),{args:Be,keys:Se}=(0,i.D)(Ce);if(0===Be.length)return(0,h.D)([],ae);const mt=new s.y(function Ne(Ce,ae,Ae=u.y){return Be=>{ne(ae,()=>{const{length:Se}=Ce,mt=new Array(Se);let bt=Se,Mt=Se;for(let ke=0;ke<Se;ke++)ne(ae,()=>{const oe=(0,h.D)(Ce[ke],ae);let he=!1;oe.subscribe((0,re.x)(Be,le=>{mt[ke]=le,he||(he=!0,Mt--),Mt||Be.next(Ae(mt.slice()))},()=>{--bt||Be.complete()}))},Be)},Be)}}(Be,ae,Se?bt=>(0,ie.n)(Se,bt):u.y));return Ae?mt.pipe((0,l.Z)(Ae)):mt}function ne(Ce,ae,Ae){Ce?(0,ve.f)(Ae,Ce,ae):ae()}},7272:(Yt,ut,c)=>{"use strict";c.d(ut,{z:()=>l});var s=c(8189),h=c(3269),u=c(2076);function l(...Me){return function i(){return(0,s.J)(1)}()((0,u.D)(Me,(0,h.yG)(Me)))}},9770:(Yt,ut,c)=>{"use strict";c.d(ut,{P:()=>h});var s=c(8306),i=c(8421);function h(u){return new s.y(l=>{(0,i.Xf)(u()).subscribe(l)})}},515:(Yt,ut,c)=>{"use strict";c.d(ut,{E:()=>i});const i=new(c(8306).y)(l=>l.complete())},4128:(Yt,ut,c)=>{"use strict";c.d(ut,{D:()=>re});var s=c(8306),i=c(4742),h=c(8421),u=c(3269),l=c(5403),Me=c(3268),ie=c(1810);function re(...ve){const X=(0,u.jO)(ve),{args:Ne,keys:ne}=(0,i.D)(ve),Ce=new s.y(ae=>{const{length:Ae}=Ne;if(!Ae)return void ae.complete();const Be=new Array(Ae);let Se=Ae,mt=Ae;for(let bt=0;bt<Ae;bt++){let Mt=!1;(0,h.Xf)(Ne[bt]).subscribe((0,l.x)(ae,ke=>{Mt||(Mt=!0,mt--),Be[bt]=ke},()=>Se--,void 0,()=>{(!Se||!Mt)&&(mt||ae.next(ne?(0,ie.n)(ne,Be):Be),ae.complete())}))}});return X?Ce.pipe((0,Me.Z)(X)):Ce}},2076:(Yt,ut,c)=>{"use strict";c.d(ut,{D:()=>le});var s=c(8421),i=c(9672),h=c(4482),u=c(5403);function l(We,we=0){return(0,h.e)((et,Xe)=>{et.subscribe((0,u.x)(Xe,_e=>(0,i.f)(Xe,We,()=>Xe.next(_e),we),()=>(0,i.f)(Xe,We,()=>Xe.complete(),we),_e=>(0,i.f)(Xe,We,()=>Xe.error(_e),we)))})}function Me(We,we=0){return(0,h.e)((et,Xe)=>{Xe.add(We.schedule(()=>et.subscribe(Xe),we))})}var ve=c(8306),Ne=c(2202),ne=c(576);function ae(We,we){if(!We)throw new Error("Iterable cannot be null");return new ve.y(et=>{(0,i.f)(et,we,()=>{const Xe=We[Symbol.asyncIterator]();(0,i.f)(et,we,()=>{Xe.next().then(_e=>{_e.done?et.complete():et.next(_e.value)})},0,!0)})})}var Ae=c(3670),Be=c(8239),Se=c(1144),mt=c(6495),bt=c(2206),Mt=c(4532),ke=c(3260);function le(We,we){return we?function he(We,we){if(null!=We){if((0,Ae.c)(We))return function ie(We,we){return(0,s.Xf)(We).pipe(Me(we),l(we))}(We,we);if((0,Se.z)(We))return function X(We,we){return new ve.y(et=>{let Xe=0;return we.schedule(function(){Xe===We.length?et.complete():(et.next(We[Xe++]),et.closed||this.schedule())})})}(We,we);if((0,Be.t)(We))return function re(We,we){return(0,s.Xf)(We).pipe(Me(we),l(we))}(We,we);if((0,bt.D)(We))return ae(We,we);if((0,mt.T)(We))return function Ce(We,we){return new ve.y(et=>{let Xe;return(0,i.f)(et,we,()=>{Xe=We[Ne.h](),(0,i.f)(et,we,()=>{let _e,lt;try{({value:_e,done:lt}=Xe.next())}catch(je){return void et.error(je)}lt?et.complete():et.next(_e)},0,!0)}),()=>(0,ne.m)(null==Xe?void 0:Xe.return)&&Xe.return()})}(We,we);if((0,ke.L)(We))return function oe(We,we){return ae((0,ke.Q)(We),we)}(We,we)}throw(0,Mt.z)(We)}(We,we):(0,s.Xf)(We)}},4968:(Yt,ut,c)=>{"use strict";c.d(ut,{R:()=>X});var s=c(8421),i=c(8306),h=c(5577),u=c(1144),l=c(576),Me=c(3268);const ie=["addListener","removeListener"],re=["addEventListener","removeEventListener"],ve=["on","off"];function X(Ae,Be,Se,mt){if((0,l.m)(Se)&&(mt=Se,Se=void 0),mt)return X(Ae,Be,Se).pipe((0,Me.Z)(mt));const[bt,Mt]=function ae(Ae){return(0,l.m)(Ae.addEventListener)&&(0,l.m)(Ae.removeEventListener)}(Ae)?re.map(ke=>oe=>Ae[ke](Be,oe,Se)):function ne(Ae){return(0,l.m)(Ae.addListener)&&(0,l.m)(Ae.removeListener)}(Ae)?ie.map(Ne(Ae,Be)):function Ce(Ae){return(0,l.m)(Ae.on)&&(0,l.m)(Ae.off)}(Ae)?ve.map(Ne(Ae,Be)):[];if(!bt&&(0,u.z)(Ae))return(0,h.z)(ke=>X(ke,Be,Se))((0,s.Xf)(Ae));if(!bt)throw new TypeError("Invalid event target");return new i.y(ke=>{const oe=(...he)=>ke.next(1<he.length?he:he[0]);return bt(oe),()=>Mt(oe)})}function Ne(Ae,Be){return Se=>mt=>Ae[Se](Be,mt)}},8421:(Yt,ut,c)=>{"use strict";c.d(ut,{Xf:()=>Ce});var s=c(7582),i=c(1144),h=c(8239),u=c(8306),l=c(3670),Me=c(2206),ie=c(4532),re=c(6495),ve=c(3260),X=c(576),Ne=c(7849),ne=c(8822);function Ce(ke){if(ke instanceof u.y)return ke;if(null!=ke){if((0,l.c)(ke))return function ae(ke){return new u.y(oe=>{const he=ke[ne.L]();if((0,X.m)(he.subscribe))return he.subscribe(oe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ke);if((0,i.z)(ke))return function Ae(ke){return new u.y(oe=>{for(let he=0;he<ke.length&&!oe.closed;he++)oe.next(ke[he]);oe.complete()})}(ke);if((0,h.t)(ke))return function Be(ke){return new u.y(oe=>{ke.then(he=>{oe.closed||(oe.next(he),oe.complete())},he=>oe.error(he)).then(null,Ne.h)})}(ke);if((0,Me.D)(ke))return mt(ke);if((0,re.T)(ke))return function Se(ke){return new u.y(oe=>{for(const he of ke)if(oe.next(he),oe.closed)return;oe.complete()})}(ke);if((0,ve.L)(ke))return function bt(ke){return mt((0,ve.Q)(ke))}(ke)}throw(0,ie.z)(ke)}function mt(ke){return new u.y(oe=>{(function Mt(ke,oe){var he,le,We,we;return(0,s.mG)(this,void 0,void 0,function*(){try{for(he=(0,s.KL)(ke);!(le=yield he.next()).done;)if(oe.next(le.value),oe.closed)return}catch(et){We={error:et}}finally{try{le&&!le.done&&(we=he.return)&&(yield we.call(he))}finally{if(We)throw We.error}}oe.complete()})})(ke,oe).catch(he=>oe.error(he))})}},6451:(Yt,ut,c)=>{"use strict";c.d(ut,{T:()=>Me});var s=c(8189),i=c(8421),h=c(515),u=c(3269),l=c(2076);function Me(...ie){const re=(0,u.yG)(ie),ve=(0,u._6)(ie,1/0),X=ie;return X.length?1===X.length?(0,i.Xf)(X[0]):(0,s.J)(ve)((0,l.D)(X,re)):h.E}},9646:(Yt,ut,c)=>{"use strict";c.d(ut,{of:()=>h});var s=c(3269),i=c(2076);function h(...u){const l=(0,s.yG)(u);return(0,i.D)(u,l)}},2843:(Yt,ut,c)=>{"use strict";c.d(ut,{_:()=>h});var s=c(8306),i=c(576);function h(u,l){const Me=(0,i.m)(u)?u:()=>u,ie=re=>re.error(Me());return new s.y(l?re=>l.schedule(ie,0,re):ie)}},5963:(Yt,ut,c)=>{"use strict";c.d(ut,{H:()=>l});var s=c(8306),i=c(4986),h=c(3532);function l(Me=0,ie,re=i.P){let ve=-1;return null!=ie&&((0,h.K)(ie)?re=ie:ve=ie),new s.y(X=>{let Ne=function u(Me){return Me instanceof Date&&!isNaN(Me)}(Me)?+Me-re.now():Me;Ne<0&&(Ne=0);let ne=0;return re.schedule(function(){X.closed||(X.next(ne++),0<=ve?this.schedule(void 0,ve):X.complete())},Ne)})}},5403:(Yt,ut,c)=>{"use strict";c.d(ut,{x:()=>i});var s=c(930);function i(u,l,Me,ie,re){return new h(u,l,Me,ie,re)}class h extends s.Lv{constructor(l,Me,ie,re,ve,X){super(l),this.onFinalize=ve,this.shouldUnsubscribe=X,this._next=Me?function(Ne){try{Me(Ne)}catch(ne){l.error(ne)}}:super._next,this._error=re?function(Ne){try{re(Ne)}catch(ne){l.error(ne)}finally{this.unsubscribe()}}:super._error,this._complete=ie?function(){try{ie()}catch(Ne){l.error(Ne)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Me}=this;super.unsubscribe(),!Me&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},3601:(Yt,ut,c)=>{"use strict";c.d(ut,{e:()=>ie});var s=c(4986),i=c(4482),h=c(8421),u=c(5403),Me=c(5963);function ie(re,ve=s.z){return function l(re){return(0,i.e)((ve,X)=>{let Ne=!1,ne=null,Ce=null,ae=!1;const Ae=()=>{if(null==Ce||Ce.unsubscribe(),Ce=null,Ne){Ne=!1;const Se=ne;ne=null,X.next(Se)}ae&&X.complete()},Be=()=>{Ce=null,ae&&X.complete()};ve.subscribe((0,u.x)(X,Se=>{Ne=!0,ne=Se,Ce||(0,h.Xf)(re(Se)).subscribe(Ce=(0,u.x)(X,Ae,Be))},()=>{ae=!0,(!Ne||!Ce||Ce.closed)&&X.complete()}))})}(()=>(0,Me.H)(re,ve))}},262:(Yt,ut,c)=>{"use strict";c.d(ut,{K:()=>u});var s=c(8421),i=c(5403),h=c(4482);function u(l){return(0,h.e)((Me,ie)=>{let X,re=null,ve=!1;re=Me.subscribe((0,i.x)(ie,void 0,void 0,Ne=>{X=(0,s.Xf)(l(Ne,u(l)(Me))),re?(re.unsubscribe(),re=null,X.subscribe(ie)):ve=!0})),ve&&(re.unsubscribe(),re=null,X.subscribe(ie))})}},4351:(Yt,ut,c)=>{"use strict";c.d(ut,{b:()=>h});var s=c(5577),i=c(576);function h(u,l){return(0,i.m)(l)?(0,s.z)(u,l,1):(0,s.z)(u,1)}},8372:(Yt,ut,c)=>{"use strict";c.d(ut,{b:()=>u});var s=c(4986),i=c(4482),h=c(5403);function u(l,Me=s.z){return(0,i.e)((ie,re)=>{let ve=null,X=null,Ne=null;const ne=()=>{if(ve){ve.unsubscribe(),ve=null;const ae=X;X=null,re.next(ae)}};function Ce(){const ae=Ne+l,Ae=Me.now();if(Ae<ae)return ve=this.schedule(void 0,ae-Ae),void re.add(ve);ne()}ie.subscribe((0,h.x)(re,ae=>{X=ae,Ne=Me.now(),ve||(ve=Me.schedule(Ce,l),re.add(ve))},()=>{ne(),re.complete()},void 0,()=>{X=ve=null}))})}},1005:(Yt,ut,c)=>{"use strict";c.d(ut,{g:()=>Ce});var s=c(4986),i=c(7272),h=c(5698),u=c(4482),l=c(5403),Me=c(5032),re=c(9718),ve=c(5577),X=c(8421);function Ne(ae,Ae){return Ae?Be=>(0,i.z)(Ae.pipe((0,h.q)(1),function ie(){return(0,u.e)((ae,Ae)=>{ae.subscribe((0,l.x)(Ae,Me.Z))})}()),Be.pipe(Ne(ae))):(0,ve.z)((Be,Se)=>(0,X.Xf)(ae(Be,Se)).pipe((0,h.q)(1),(0,re.h)(Be)))}var ne=c(5963);function Ce(ae,Ae=s.z){const Be=(0,ne.H)(ae,Ae);return Ne(()=>Be)}},1884:(Yt,ut,c)=>{"use strict";c.d(ut,{x:()=>u});var s=c(4671),i=c(4482),h=c(5403);function u(Me,ie=s.y){return Me=null!=Me?Me:l,(0,i.e)((re,ve)=>{let X,Ne=!0;re.subscribe((0,h.x)(ve,ne=>{const Ce=ie(ne);(Ne||!Me(X,Ce))&&(Ne=!1,X=Ce,ve.next(ne))}))})}function l(Me,ie){return Me===ie}},9300:(Yt,ut,c)=>{"use strict";c.d(ut,{h:()=>h});var s=c(4482),i=c(5403);function h(u,l){return(0,s.e)((Me,ie)=>{let re=0;Me.subscribe((0,i.x)(ie,ve=>u.call(l,ve,re++)&&ie.next(ve)))})}},8746:(Yt,ut,c)=>{"use strict";c.d(ut,{x:()=>i});var s=c(4482);function i(h){return(0,s.e)((u,l)=>{try{u.subscribe(l)}finally{l.add(h)}})}},4004:(Yt,ut,c)=>{"use strict";c.d(ut,{U:()=>h});var s=c(4482),i=c(5403);function h(u,l){return(0,s.e)((Me,ie)=>{let re=0;Me.subscribe((0,i.x)(ie,ve=>{ie.next(u.call(l,ve,re++))}))})}},9718:(Yt,ut,c)=>{"use strict";c.d(ut,{h:()=>i});var s=c(4004);function i(h){return(0,s.U)(()=>h)}},8189:(Yt,ut,c)=>{"use strict";c.d(ut,{J:()=>h});var s=c(5577),i=c(4671);function h(u=1/0){return(0,s.z)(i.y,u)}},5577:(Yt,ut,c)=>{"use strict";c.d(ut,{z:()=>re});var s=c(4004),i=c(8421),h=c(4482),u=c(9672),l=c(5403),ie=c(576);function re(ve,X,Ne=1/0){return(0,ie.m)(X)?re((ne,Ce)=>(0,s.U)((ae,Ae)=>X(ne,ae,Ce,Ae))((0,i.Xf)(ve(ne,Ce))),Ne):("number"==typeof X&&(Ne=X),(0,h.e)((ne,Ce)=>function Me(ve,X,Ne,ne,Ce,ae,Ae,Be){const Se=[];let mt=0,bt=0,Mt=!1;const ke=()=>{Mt&&!Se.length&&!mt&&X.complete()},oe=le=>mt<ne?he(le):Se.push(le),he=le=>{ae&&X.next(le),mt++;let We=!1;(0,i.Xf)(Ne(le,bt++)).subscribe((0,l.x)(X,we=>{null==Ce||Ce(we),ae?oe(we):X.next(we)},()=>{We=!0},void 0,()=>{if(We)try{for(mt--;Se.length&&mt<ne;){const we=Se.shift();Ae?(0,u.f)(X,Ae,()=>he(we)):he(we)}ke()}catch(we){X.error(we)}}))};return ve.subscribe((0,l.x)(X,oe,()=>{Mt=!0,ke()})),()=>{null==Be||Be()}}(ne,Ce,ve,Ne)))}},8343:(Yt,ut,c)=>{"use strict";c.d(ut,{x:()=>h});var s=c(4482),i=c(5403);function h(){return(0,s.e)((u,l)=>{let Me=null;u._refCount++;const ie=(0,i.x)(l,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(Me=null);const re=u._connection,ve=Me;Me=null,re&&(!ve||re===ve)&&re.unsubscribe(),l.unsubscribe()});u.subscribe(ie),ie.closed||(Me=u.connect())})}},3099:(Yt,ut,c)=>{"use strict";c.d(ut,{B:()=>l});var s=c(8421),i=c(7579),h=c(930),u=c(4482);function l(ie={}){const{connector:re=(()=>new i.x),resetOnError:ve=!0,resetOnComplete:X=!0,resetOnRefCountZero:Ne=!0}=ie;return ne=>{let Ce,ae,Ae,Be=0,Se=!1,mt=!1;const bt=()=>{null==ae||ae.unsubscribe(),ae=void 0},Mt=()=>{bt(),Ce=Ae=void 0,Se=mt=!1},ke=()=>{const oe=Ce;Mt(),null==oe||oe.unsubscribe()};return(0,u.e)((oe,he)=>{Be++,!mt&&!Se&&bt();const le=Ae=null!=Ae?Ae:re();he.add(()=>{Be--,0===Be&&!mt&&!Se&&(ae=Me(ke,Ne))}),le.subscribe(he),!Ce&&Be>0&&(Ce=new h.Hp({next:We=>le.next(We),error:We=>{mt=!0,bt(),ae=Me(Mt,ve,We),le.error(We)},complete:()=>{Se=!0,bt(),ae=Me(Mt,X),le.complete()}}),(0,s.Xf)(oe).subscribe(Ce))})(ne)}}function Me(ie,re,...ve){if(!0===re)return void ie();if(!1===re)return;const X=new h.Hp({next:()=>{X.unsubscribe(),ie()}});return(0,s.Xf)(re(...ve)).subscribe(X)}},5684:(Yt,ut,c)=>{"use strict";c.d(ut,{T:()=>i});var s=c(9300);function i(h){return(0,s.h)((u,l)=>h<=l)}},8675:(Yt,ut,c)=>{"use strict";c.d(ut,{O:()=>u});var s=c(7272),i=c(3269),h=c(4482);function u(...l){const Me=(0,i.yG)(l);return(0,h.e)((ie,re)=>{(Me?(0,s.z)(l,ie,Me):(0,s.z)(l,ie)).subscribe(re)})}},3900:(Yt,ut,c)=>{"use strict";c.d(ut,{w:()=>u});var s=c(8421),i=c(4482),h=c(5403);function u(l,Me){return(0,i.e)((ie,re)=>{let ve=null,X=0,Ne=!1;const ne=()=>Ne&&!ve&&re.complete();ie.subscribe((0,h.x)(re,Ce=>{null==ve||ve.unsubscribe();let ae=0;const Ae=X++;(0,s.Xf)(l(Ce,Ae)).subscribe(ve=(0,h.x)(re,Be=>re.next(Me?Me(Ce,Be,Ae,ae++):Be),()=>{ve=null,ne()}))},()=>{Ne=!0,ne()}))})}},5698:(Yt,ut,c)=>{"use strict";c.d(ut,{q:()=>u});var s=c(515),i=c(4482),h=c(5403);function u(l){return l<=0?()=>s.E:(0,i.e)((Me,ie)=>{let re=0;Me.subscribe((0,h.x)(ie,ve=>{++re<=l&&(ie.next(ve),l<=re&&ie.complete())}))})}},2722:(Yt,ut,c)=>{"use strict";c.d(ut,{R:()=>l});var s=c(4482),i=c(5403),h=c(8421),u=c(5032);function l(Me){return(0,s.e)((ie,re)=>{(0,h.Xf)(Me).subscribe((0,i.x)(re,()=>re.complete(),u.Z)),!re.closed&&ie.subscribe(re)})}},8505:(Yt,ut,c)=>{"use strict";c.d(ut,{b:()=>l});var s=c(576),i=c(4482),h=c(5403),u=c(4671);function l(Me,ie,re){const ve=(0,s.m)(Me)||ie||re?{next:Me,error:ie,complete:re}:Me;return ve?(0,i.e)((X,Ne)=>{var ne;null===(ne=ve.subscribe)||void 0===ne||ne.call(ve);let Ce=!0;X.subscribe((0,h.x)(Ne,ae=>{var Ae;null===(Ae=ve.next)||void 0===Ae||Ae.call(ve,ae),Ne.next(ae)},()=>{var ae;Ce=!1,null===(ae=ve.complete)||void 0===ae||ae.call(ve),Ne.complete()},ae=>{var Ae;Ce=!1,null===(Ae=ve.error)||void 0===Ae||Ae.call(ve,ae),Ne.error(ae)},()=>{var ae,Ae;Ce&&(null===(ae=ve.unsubscribe)||void 0===ae||ae.call(ve)),null===(Ae=ve.finalize)||void 0===Ae||Ae.call(ve)}))}):u.y}},4408:(Yt,ut,c)=>{"use strict";c.d(ut,{o:()=>l});var s=c(727);class i extends s.w0{constructor(ie,re){super()}schedule(ie,re=0){return this}}const h={setInterval(Me,ie,...re){const{delegate:ve}=h;return null!=ve&&ve.setInterval?ve.setInterval(Me,ie,...re):setInterval(Me,ie,...re)},clearInterval(Me){const{delegate:ie}=h;return((null==ie?void 0:ie.clearInterval)||clearInterval)(Me)},delegate:void 0};var u=c(8737);class l extends i{constructor(ie,re){super(ie,re),this.scheduler=ie,this.work=re,this.pending=!1}schedule(ie,re=0){var ve;if(this.closed)return this;this.state=ie;const X=this.id,Ne=this.scheduler;return null!=X&&(this.id=this.recycleAsyncId(Ne,X,re)),this.pending=!0,this.delay=re,this.id=null!==(ve=this.id)&&void 0!==ve?ve:this.requestAsyncId(Ne,this.id,re),this}requestAsyncId(ie,re,ve=0){return h.setInterval(ie.flush.bind(ie,this),ve)}recycleAsyncId(ie,re,ve=0){if(null!=ve&&this.delay===ve&&!1===this.pending)return re;null!=re&&h.clearInterval(re)}execute(ie,re){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ve=this._execute(ie,re);if(ve)return ve;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ie,re){let X,ve=!1;try{this.work(ie)}catch(Ne){ve=!0,X=Ne||new Error("Scheduled action threw falsy error")}if(ve)return this.unsubscribe(),X}unsubscribe(){if(!this.closed){const{id:ie,scheduler:re}=this,{actions:ve}=re;this.work=this.state=this.scheduler=null,this.pending=!1,(0,u.P)(ve,this),null!=ie&&(this.id=this.recycleAsyncId(re,ie,null)),this.delay=null,super.unsubscribe()}}}},640:(Yt,ut,c)=>{"use strict";c.d(ut,{v:()=>h});const s={now:()=>(s.delegate||Date).now(),delegate:void 0};class i{constructor(l,Me=i.now){this.schedulerActionCtor=l,this.now=Me}schedule(l,Me=0,ie){return new this.schedulerActionCtor(this,l).schedule(ie,Me)}}i.now=s.now;class h extends i{constructor(l,Me=i.now){super(l,Me),this.actions=[],this._active=!1}flush(l){const{actions:Me}=this;if(this._active)return void Me.push(l);let ie;this._active=!0;do{if(ie=l.execute(l.state,l.delay))break}while(l=Me.shift());if(this._active=!1,ie){for(;l=Me.shift();)l.unsubscribe();throw ie}}}},6406:(Yt,ut,c)=>{"use strict";c.d(ut,{Z:()=>ie});var s=c(4408),i=c(727);const h={schedule(ve){let X=requestAnimationFrame,Ne=cancelAnimationFrame;const{delegate:ne}=h;ne&&(X=ne.requestAnimationFrame,Ne=ne.cancelAnimationFrame);const Ce=X(ae=>{Ne=void 0,ve(ae)});return new i.w0(()=>null==Ne?void 0:Ne(Ce))},requestAnimationFrame(...ve){const{delegate:X}=h;return((null==X?void 0:X.requestAnimationFrame)||requestAnimationFrame)(...ve)},cancelAnimationFrame(...ve){const{delegate:X}=h;return((null==X?void 0:X.cancelAnimationFrame)||cancelAnimationFrame)(...ve)},delegate:void 0};var l=c(640);const ie=new class Me extends l.v{flush(X){this._active=!0;const Ne=this._scheduled;this._scheduled=void 0;const{actions:ne}=this;let Ce;X=X||ne.shift();do{if(Ce=X.execute(X.state,X.delay))break}while((X=ne[0])&&X.id===Ne&&ne.shift());if(this._active=!1,Ce){for(;(X=ne[0])&&X.id===Ne&&ne.shift();)X.unsubscribe();throw Ce}}}(class u extends s.o{constructor(X,Ne){super(X,Ne),this.scheduler=X,this.work=Ne}requestAsyncId(X,Ne,ne=0){return null!==ne&&ne>0?super.requestAsyncId(X,Ne,ne):(X.actions.push(this),X._scheduled||(X._scheduled=h.requestAnimationFrame(()=>X.flush(void 0))))}recycleAsyncId(X,Ne,ne=0){var Ce;if(null!=ne?ne>0:this.delay>0)return super.recycleAsyncId(X,Ne,ne);const{actions:ae}=X;null!=Ne&&(null===(Ce=ae[ae.length-1])||void 0===Ce?void 0:Ce.id)!==Ne&&(h.cancelAnimationFrame(Ne),X._scheduled=void 0)}})},3101:(Yt,ut,c)=>{"use strict";c.d(ut,{E:()=>ae});var s=c(4408);let h,i=1;const u={};function l(Be){return Be in u&&(delete u[Be],!0)}const Me={setImmediate(Be){const Se=i++;return u[Se]=!0,h||(h=Promise.resolve()),h.then(()=>l(Se)&&Be()),Se},clearImmediate(Be){l(Be)}},{setImmediate:re,clearImmediate:ve}=Me,X={setImmediate(...Be){const{delegate:Se}=X;return((null==Se?void 0:Se.setImmediate)||re)(...Be)},clearImmediate(Be){const{delegate:Se}=X;return((null==Se?void 0:Se.clearImmediate)||ve)(Be)},delegate:void 0};var ne=c(640);const ae=new class Ce extends ne.v{flush(Se){this._active=!0;const mt=this._scheduled;this._scheduled=void 0;const{actions:bt}=this;let Mt;Se=Se||bt.shift();do{if(Mt=Se.execute(Se.state,Se.delay))break}while((Se=bt[0])&&Se.id===mt&&bt.shift());if(this._active=!1,Mt){for(;(Se=bt[0])&&Se.id===mt&&bt.shift();)Se.unsubscribe();throw Mt}}}(class Ne extends s.o{constructor(Se,mt){super(Se,mt),this.scheduler=Se,this.work=mt}requestAsyncId(Se,mt,bt=0){return null!==bt&&bt>0?super.requestAsyncId(Se,mt,bt):(Se.actions.push(this),Se._scheduled||(Se._scheduled=X.setImmediate(Se.flush.bind(Se,void 0))))}recycleAsyncId(Se,mt,bt=0){var Mt;if(null!=bt?bt>0:this.delay>0)return super.recycleAsyncId(Se,mt,bt);const{actions:ke}=Se;null!=mt&&(null===(Mt=ke[ke.length-1])||void 0===Mt?void 0:Mt.id)!==mt&&(X.clearImmediate(mt),Se._scheduled===mt&&(Se._scheduled=void 0))}})},4986:(Yt,ut,c)=>{"use strict";c.d(ut,{P:()=>u,z:()=>h});var s=c(4408);const h=new(c(640).v)(s.o),u=h},3410:(Yt,ut,c)=>{"use strict";c.d(ut,{z:()=>s});const s={setTimeout(i,h,...u){const{delegate:l}=s;return null!=l&&l.setTimeout?l.setTimeout(i,h,...u):setTimeout(i,h,...u)},clearTimeout(i){const{delegate:h}=s;return((null==h?void 0:h.clearTimeout)||clearTimeout)(i)},delegate:void 0}},2202:(Yt,ut,c)=>{"use strict";c.d(ut,{h:()=>i});const i=function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Yt,ut,c)=>{"use strict";c.d(ut,{L:()=>s});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(Yt,ut,c)=>{"use strict";c.d(ut,{_6:()=>Me,jO:()=>u,yG:()=>l});var s=c(576),i=c(3532);function h(ie){return ie[ie.length-1]}function u(ie){return(0,s.m)(h(ie))?ie.pop():void 0}function l(ie){return(0,i.K)(h(ie))?ie.pop():void 0}function Me(ie,re){return"number"==typeof h(ie)?ie.pop():re}},4742:(Yt,ut,c)=>{"use strict";c.d(ut,{D:()=>l});const{isArray:s}=Array,{getPrototypeOf:i,prototype:h,keys:u}=Object;function l(ie){if(1===ie.length){const re=ie[0];if(s(re))return{args:re,keys:null};if(function Me(ie){return ie&&"object"==typeof ie&&i(ie)===h}(re)){const ve=u(re);return{args:ve.map(X=>re[X]),keys:ve}}}return{args:ie,keys:null}}},8737:(Yt,ut,c)=>{"use strict";function s(i,h){if(i){const u=i.indexOf(h);0<=u&&i.splice(u,1)}}c.d(ut,{P:()=>s})},3888:(Yt,ut,c)=>{"use strict";function s(i){const u=i(l=>{Error.call(l),l.stack=(new Error).stack});return u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u}c.d(ut,{d:()=>s})},1810:(Yt,ut,c)=>{"use strict";function s(i,h){return i.reduce((u,l,Me)=>(u[l]=h[Me],u),{})}c.d(ut,{n:()=>s})},2806:(Yt,ut,c)=>{"use strict";c.d(ut,{O:()=>u,x:()=>h});var s=c(2416);let i=null;function h(l){if(s.v.useDeprecatedSynchronousErrorHandling){const Me=!i;if(Me&&(i={errorThrown:!1,error:null}),l(),Me){const{errorThrown:ie,error:re}=i;if(i=null,ie)throw re}}else l()}function u(l){s.v.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=l)}},9672:(Yt,ut,c)=>{"use strict";function s(i,h,u,l=0,Me=!1){const ie=h.schedule(function(){u(),Me?i.add(this.schedule(null,l)):this.unsubscribe()},l);if(i.add(ie),!Me)return ie}c.d(ut,{f:()=>s})},4671:(Yt,ut,c)=>{"use strict";function s(i){return i}c.d(ut,{y:()=>s})},1144:(Yt,ut,c)=>{"use strict";c.d(ut,{z:()=>s});const s=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2206:(Yt,ut,c)=>{"use strict";c.d(ut,{D:()=>i});var s=c(576);function i(h){return Symbol.asyncIterator&&(0,s.m)(null==h?void 0:h[Symbol.asyncIterator])}},576:(Yt,ut,c)=>{"use strict";function s(i){return"function"==typeof i}c.d(ut,{m:()=>s})},3670:(Yt,ut,c)=>{"use strict";c.d(ut,{c:()=>h});var s=c(8822),i=c(576);function h(u){return(0,i.m)(u[s.L])}},6495:(Yt,ut,c)=>{"use strict";c.d(ut,{T:()=>h});var s=c(2202),i=c(576);function h(u){return(0,i.m)(null==u?void 0:u[s.h])}},8239:(Yt,ut,c)=>{"use strict";c.d(ut,{t:()=>i});var s=c(576);function i(h){return(0,s.m)(null==h?void 0:h.then)}},3260:(Yt,ut,c)=>{"use strict";c.d(ut,{L:()=>u,Q:()=>h});var s=c(7582),i=c(576);function h(l){return(0,s.FC)(this,arguments,function*(){const ie=l.getReader();try{for(;;){const{value:re,done:ve}=yield(0,s.qq)(ie.read());if(ve)return yield(0,s.qq)(void 0);yield yield(0,s.qq)(re)}}finally{ie.releaseLock()}})}function u(l){return(0,i.m)(null==l?void 0:l.getReader)}},3532:(Yt,ut,c)=>{"use strict";c.d(ut,{K:()=>i});var s=c(576);function i(h){return h&&(0,s.m)(h.schedule)}},4482:(Yt,ut,c)=>{"use strict";c.d(ut,{A:()=>i,e:()=>h});var s=c(576);function i(u){return(0,s.m)(null==u?void 0:u.lift)}function h(u){return l=>{if(i(l))return l.lift(function(Me){try{return u(Me,this)}catch(ie){this.error(ie)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Yt,ut,c)=>{"use strict";c.d(ut,{Z:()=>u});var s=c(4004);const{isArray:i}=Array;function u(l){return(0,s.U)(Me=>function h(l,Me){return i(Me)?l(...Me):l(Me)}(l,Me))}},5032:(Yt,ut,c)=>{"use strict";function s(){}c.d(ut,{Z:()=>s})},7849:(Yt,ut,c)=>{"use strict";c.d(ut,{h:()=>h});var s=c(2416),i=c(3410);function h(u){i.z.setTimeout(()=>{const{onUnhandledError:l}=s.v;if(!l)throw u;l(u)})}},4532:(Yt,ut,c)=>{"use strict";function s(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}c.d(ut,{z:()=>s})},1777:(Yt,ut,c)=>{"use strict";c.d(ut,{F4:()=>X,IO:()=>Ae,LC:()=>i,SB:()=>ve,X$:()=>u,ZE:()=>bt,ZN:()=>mt,_j:()=>s,eR:()=>Ne,jt:()=>l,k1:()=>Mt,l3:()=>h,oB:()=>re,pV:()=>Ce,ru:()=>Me,vP:()=>ie});class s{}class i{}const h="*";function u(ke,oe){return{type:7,name:ke,definitions:oe,options:{}}}function l(ke,oe=null){return{type:4,styles:oe,timings:ke}}function Me(ke,oe=null){return{type:3,steps:ke,options:oe}}function ie(ke,oe=null){return{type:2,steps:ke,options:oe}}function re(ke){return{type:6,styles:ke,offset:null}}function ve(ke,oe,he){return{type:0,name:ke,styles:oe,options:he}}function X(ke){return{type:5,steps:ke}}function Ne(ke,oe,he=null){return{type:1,expr:ke,animation:oe,options:he}}function Ce(ke=null){return{type:9,options:ke}}function Ae(ke,oe,he=null){return{type:11,selector:ke,animation:oe,options:he}}function Se(ke){Promise.resolve(null).then(ke)}class mt{constructor(oe=0,he=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=oe+he}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}onStart(oe){this._onStartFns.push(oe)}onDone(oe){this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Se(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(oe=>oe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(oe){this._position=this.totalTime?oe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(oe){const he="start"==oe?this._onStartFns:this._onDoneFns;he.forEach(le=>le()),he.length=0}}class bt{constructor(oe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=oe;let he=0,le=0,We=0;const we=this.players.length;0==we?Se(()=>this._onFinish()):this.players.forEach(et=>{et.onDone(()=>{++he==we&&this._onFinish()}),et.onDestroy(()=>{++le==we&&this._onDestroy()}),et.onStart(()=>{++We==we&&this._onStart()})}),this.totalTime=this.players.reduce((et,Xe)=>Math.max(et,Xe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}init(){this.players.forEach(oe=>oe.init())}onStart(oe){this._onStartFns.push(oe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(oe=>oe()),this._onStartFns=[])}onDone(oe){this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(oe=>oe.play())}pause(){this.players.forEach(oe=>oe.pause())}restart(){this.players.forEach(oe=>oe.restart())}finish(){this._onFinish(),this.players.forEach(oe=>oe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(oe=>oe.destroy()),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this.players.forEach(oe=>oe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(oe){const he=oe*this.totalTime;this.players.forEach(le=>{const We=le.totalTime?Math.min(1,he/le.totalTime):1;le.setPosition(We)})}getPosition(){const oe=this.players.reduce((he,le)=>null===he||le.totalTime>he.totalTime?le:he,null);return null!=oe?oe.getPosition():0}beforeDestroy(){this.players.forEach(oe=>{oe.beforeDestroy&&oe.beforeDestroy()})}triggerCallback(oe){const he="start"==oe?this._onStartFns:this._onDoneFns;he.forEach(le=>le()),he.length=0}}const Mt="!"},5664:(Yt,ut,c)=>{"use strict";c.d(ut,{$s:()=>Xe,Em:()=>it,Kd:()=>qt,X6:()=>st,ic:()=>Ct,kH:()=>ge,mK:()=>$t,qV:()=>Nt,qm:()=>me,rt:()=>T,s1:()=>pt,tE:()=>Rt,yG:()=>xe});var s=c(9808),i=c(5e3),h=c(925),u=c(7579),l=c(727),Me=c(1135),ie=c(9646),re=c(1159),ve=c(8505),X=c(8372),Ne=c(9300),ne=c(4004),Ce=c(5698),ae=c(5684),Ae=c(1884),Be=c(2722),Se=c(3191),mt=c(7144),bt=c(5113);function he(D,z){return(D.getAttribute(z)||"").match(/\S+/g)||[]}const We="cdk-describedby-message",we="cdk-describedby-host";let et=0,Xe=(()=>{class D{constructor(P,ue){this._platform=ue,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+et++,this._document=P,this._id=(0,i.f3M)(i.AFp)+"-"+et++}describe(P,ue,te){if(!this._canBeDescribed(P,ue))return;const F=_e(ue,te);"string"!=typeof ue?(lt(ue,this._id),this._messageRegistry.set(F,{messageElement:ue,referenceCount:0})):this._messageRegistry.has(F)||this._createMessageElement(ue,te),this._isElementDescribedByMessage(P,F)||this._addMessageReference(P,F)}removeDescription(P,ue,te){var F;if(!ue||!this._isElementNode(P))return;const G=_e(ue,te);if(this._isElementDescribedByMessage(P,G)&&this._removeMessageReference(P,G),"string"==typeof ue){const j=this._messageRegistry.get(G);j&&0===j.referenceCount&&this._deleteMessageElement(G)}0===(null===(F=this._messagesContainer)||void 0===F?void 0:F.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var P;const ue=this._document.querySelectorAll(`[${we}="${this._id}"]`);for(let te=0;te<ue.length;te++)this._removeCdkDescribedByReferenceIds(ue[te]),ue[te].removeAttribute(we);null===(P=this._messagesContainer)||void 0===P||P.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(P,ue){const te=this._document.createElement("div");lt(te,this._id),te.textContent=P,ue&&te.setAttribute("role",ue),this._createMessagesContainer(),this._messagesContainer.appendChild(te),this._messageRegistry.set(_e(P,ue),{messageElement:te,referenceCount:0})}_deleteMessageElement(P){var ue,te;null===(te=null===(ue=this._messageRegistry.get(P))||void 0===ue?void 0:ue.messageElement)||void 0===te||te.remove(),this._messageRegistry.delete(P)}_createMessagesContainer(){if(this._messagesContainer)return;const P="cdk-describedby-message-container",ue=this._document.querySelectorAll(`.${P}[platform="server"]`);for(let F=0;F<ue.length;F++)ue[F].remove();const te=this._document.createElement("div");te.style.visibility="hidden",te.classList.add(P),te.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&te.setAttribute("platform","server"),this._document.body.appendChild(te),this._messagesContainer=te}_removeCdkDescribedByReferenceIds(P){const ue=he(P,"aria-describedby").filter(te=>0!=te.indexOf(We));P.setAttribute("aria-describedby",ue.join(" "))}_addMessageReference(P,ue){const te=this._messageRegistry.get(ue);(function ke(D,z,P){const ue=he(D,z);ue.some(te=>te.trim()==P.trim())||(ue.push(P.trim()),D.setAttribute(z,ue.join(" ")))})(P,"aria-describedby",te.messageElement.id),P.setAttribute(we,this._id),te.referenceCount++}_removeMessageReference(P,ue){const te=this._messageRegistry.get(ue);te.referenceCount--,function oe(D,z,P){const te=he(D,z).filter(F=>F!=P.trim());te.length?D.setAttribute(z,te.join(" ")):D.removeAttribute(z)}(P,"aria-describedby",te.messageElement.id),P.removeAttribute(we)}_isElementDescribedByMessage(P,ue){const te=he(P,"aria-describedby"),F=this._messageRegistry.get(ue),G=F&&F.messageElement.id;return!!G&&-1!=te.indexOf(G)}_canBeDescribed(P,ue){if(!this._isElementNode(P))return!1;if(ue&&"object"==typeof ue)return!0;const te=null==ue?"":`${ue}`.trim(),F=P.getAttribute("aria-label");return!(!te||F&&F.trim()===te)}_isElementNode(P){return P.nodeType===this._document.ELEMENT_NODE}}return D.\u0275fac=function(P){return new(P||D)(i.LFG(s.K0),i.LFG(h.t4))},D.\u0275prov=i.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();function _e(D,z){return"string"==typeof D?`${z||""}/${D}`:D}function lt(D,z){D.id||(D.id=`${We}-${z}-${et++}`)}class je{constructor(z){this._items=z,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new u.x,this._typeaheadSubscription=l.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=P=>P.disabled,this._pressedLetters=[],this.tabOut=new u.x,this.change=new u.x,z instanceof i.n_E&&z.changes.subscribe(P=>{if(this._activeItem){const te=P.toArray().indexOf(this._activeItem);te>-1&&te!==this._activeItemIndex&&(this._activeItemIndex=te)}})}skipPredicate(z){return this._skipPredicateFn=z,this}withWrap(z=!0){return this._wrap=z,this}withVerticalOrientation(z=!0){return this._vertical=z,this}withHorizontalOrientation(z){return this._horizontal=z,this}withAllowedModifierKeys(z){return this._allowedModifierKeys=z,this}withTypeAhead(z=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ve.b)(P=>this._pressedLetters.push(P)),(0,X.b)(z),(0,Ne.h)(()=>this._pressedLetters.length>0),(0,ne.U)(()=>this._pressedLetters.join(""))).subscribe(P=>{const ue=this._getItemsArray();for(let te=1;te<ue.length+1;te++){const F=(this._activeItemIndex+te)%ue.length,G=ue[F];if(!this._skipPredicateFn(G)&&0===G.getLabel().toUpperCase().trim().indexOf(P)){this.setActiveItem(F);break}}this._pressedLetters=[]}),this}withHomeAndEnd(z=!0){return this._homeAndEnd=z,this}setActiveItem(z){const P=this._activeItem;this.updateActiveItem(z),this._activeItem!==P&&this.change.next(this._activeItemIndex)}onKeydown(z){const P=z.keyCode,te=["altKey","ctrlKey","metaKey","shiftKey"].every(F=>!z[F]||this._allowedModifierKeys.indexOf(F)>-1);switch(P){case re.Mf:return void this.tabOut.next();case re.JH:if(this._vertical&&te){this.setNextItemActive();break}return;case re.LH:if(this._vertical&&te){this.setPreviousItemActive();break}return;case re.SV:if(this._horizontal&&te){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case re.oh:if(this._horizontal&&te){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case re.Sd:if(this._homeAndEnd&&te){this.setFirstItemActive();break}return;case re.uR:if(this._homeAndEnd&&te){this.setLastItemActive();break}return;default:return void((te||(0,re.Vb)(z,"shiftKey"))&&(z.key&&1===z.key.length?this._letterKeyStream.next(z.key.toLocaleUpperCase()):(P>=re.A&&P<=re.Z||P>=re.xE&&P<=re.aO)&&this._letterKeyStream.next(String.fromCharCode(P))))}this._pressedLetters=[],z.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(z){const P=this._getItemsArray(),ue="number"==typeof z?z:P.indexOf(z),te=P[ue];this._activeItem=null==te?null:te,this._activeItemIndex=ue}_setActiveItemByDelta(z){this._wrap?this._setActiveInWrapMode(z):this._setActiveInDefaultMode(z)}_setActiveInWrapMode(z){const P=this._getItemsArray();for(let ue=1;ue<=P.length;ue++){const te=(this._activeItemIndex+z*ue+P.length)%P.length;if(!this._skipPredicateFn(P[te]))return void this.setActiveItem(te)}}_setActiveInDefaultMode(z){this._setActiveItemByIndex(this._activeItemIndex+z,z)}_setActiveItemByIndex(z,P){const ue=this._getItemsArray();if(ue[z]){for(;this._skipPredicateFn(ue[z]);)if(!ue[z+=P])return;this.setActiveItem(z)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class pt extends je{setActiveItem(z){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(z),this.activeItem&&this.activeItem.setActiveStyles()}}class it extends je{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(z){return this._origin=z,this}setActiveItem(z){super.setActiveItem(z),this.activeItem&&this.activeItem.focus(this._origin)}}let Ct=(()=>{class D{constructor(P){this._platform=P}isDisabled(P){return P.hasAttribute("disabled")}isVisible(P){return function Y(D){return!!(D.offsetWidth||D.offsetHeight||"function"==typeof D.getClientRects&&D.getClientRects().length)}(P)&&"visible"===getComputedStyle(P).visibility}isTabbable(P){if(!this._platform.isBrowser)return!1;const ue=function St(D){try{return D.frameElement}catch(z){return null}}(function ze(D){return D.ownerDocument&&D.ownerDocument.defaultView||window}(P));if(ue&&(-1===De(ue)||!this.isVisible(ue)))return!1;let te=P.nodeName.toLowerCase(),F=De(P);return P.hasAttribute("contenteditable")?-1!==F:!("iframe"===te||"object"===te||this._platform.WEBKIT&&this._platform.IOS&&!function Ke(D){let z=D.nodeName.toLowerCase(),P="input"===z&&D.type;return"text"===P||"password"===P||"select"===z||"textarea"===z}(P))&&("audio"===te?!!P.hasAttribute("controls")&&-1!==F:"video"===te?-1!==F&&(null!==F||this._platform.FIREFOX||P.hasAttribute("controls")):P.tabIndex>=0)}isFocusable(P,ue){return function gt(D){return!function _(D){return function J(D){return"input"==D.nodeName.toLowerCase()}(D)&&"hidden"==D.type}(D)&&(function B(D){let z=D.nodeName.toLowerCase();return"input"===z||"select"===z||"button"===z||"textarea"===z}(D)||function A(D){return function se(D){return"a"==D.nodeName.toLowerCase()}(D)&&D.hasAttribute("href")}(D)||D.hasAttribute("contenteditable")||de(D))}(P)&&!this.isDisabled(P)&&((null==ue?void 0:ue.ignoreVisibility)||this.isVisible(P))}}return D.\u0275fac=function(P){return new(P||D)(i.LFG(h.t4))},D.\u0275prov=i.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();function de(D){if(!D.hasAttribute("tabindex")||void 0===D.tabIndex)return!1;let z=D.getAttribute("tabindex");return!(!z||isNaN(parseInt(z,10)))}function De(D){if(!de(D))return null;const z=parseInt(D.getAttribute("tabindex")||"",10);return isNaN(z)?-1:z}class Et{constructor(z,P,ue,te,F=!1){this._element=z,this._checker=P,this._ngZone=ue,this._document=te,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,F||this.attachAnchors()}get enabled(){return this._enabled}set enabled(z){this._enabled=z,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(z,this._startAnchor),this._toggleAnchorTabIndex(z,this._endAnchor))}destroy(){const z=this._startAnchor,P=this._endAnchor;z&&(z.removeEventListener("focus",this.startAnchorListener),z.remove()),P&&(P.removeEventListener("focus",this.endAnchorListener),P.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(z){return new Promise(P=>{this._executeOnStable(()=>P(this.focusInitialElement(z)))})}focusFirstTabbableElementWhenReady(z){return new Promise(P=>{this._executeOnStable(()=>P(this.focusFirstTabbableElement(z)))})}focusLastTabbableElementWhenReady(z){return new Promise(P=>{this._executeOnStable(()=>P(this.focusLastTabbableElement(z)))})}_getRegionBoundary(z){const P=this._element.querySelectorAll(`[cdk-focus-region-${z}], [cdkFocusRegion${z}], [cdk-focus-${z}]`);return"start"==z?P.length?P[0]:this._getFirstTabbableElement(this._element):P.length?P[P.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(z){const P=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(P){if(!this._checker.isFocusable(P)){const ue=this._getFirstTabbableElement(P);return null==ue||ue.focus(z),!!ue}return P.focus(z),!0}return this.focusFirstTabbableElement(z)}focusFirstTabbableElement(z){const P=this._getRegionBoundary("start");return P&&P.focus(z),!!P}focusLastTabbableElement(z){const P=this._getRegionBoundary("end");return P&&P.focus(z),!!P}hasAttached(){return this._hasAttached}_getFirstTabbableElement(z){if(this._checker.isFocusable(z)&&this._checker.isTabbable(z))return z;const P=z.children;for(let ue=0;ue<P.length;ue++){const te=P[ue].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(P[ue]):null;if(te)return te}return null}_getLastTabbableElement(z){if(this._checker.isFocusable(z)&&this._checker.isTabbable(z))return z;const P=z.children;for(let ue=P.length-1;ue>=0;ue--){const te=P[ue].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(P[ue]):null;if(te)return te}return null}_createAnchor(){const z=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,z),z.classList.add("cdk-visually-hidden"),z.classList.add("cdk-focus-trap-anchor"),z.setAttribute("aria-hidden","true"),z}_toggleAnchorTabIndex(z,P){z?P.setAttribute("tabindex","0"):P.removeAttribute("tabindex")}toggleAnchors(z){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(z,this._startAnchor),this._toggleAnchorTabIndex(z,this._endAnchor))}_executeOnStable(z){this._ngZone.isStable?z():this._ngZone.onStable.pipe((0,Ce.q)(1)).subscribe(z)}}let Nt=(()=>{class D{constructor(P,ue,te){this._checker=P,this._ngZone=ue,this._document=te}create(P,ue=!1){return new Et(P,this._checker,this._ngZone,this._document,ue)}}return D.\u0275fac=function(P){return new(P||D)(i.LFG(Ct),i.LFG(i.R0b),i.LFG(s.K0))},D.\u0275prov=i.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),$t=(()=>{class D{constructor(P,ue,te){this._elementRef=P,this._focusTrapFactory=ue,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(P){this.focusTrap.enabled=(0,Se.Ig)(P)}get autoCapture(){return this._autoCapture}set autoCapture(P){this._autoCapture=(0,Se.Ig)(P)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(P){const ue=P.autoCapture;ue&&!ue.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,h.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return D.\u0275fac=function(P){return new(P||D)(i.Y36(i.SBq),i.Y36(Nt),i.Y36(s.K0))},D.\u0275dir=i.lG2({type:D,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.TTD]}),D})();function st(D){return 0===D.buttons||0===D.offsetX&&0===D.offsetY}function xe(D){const z=D.touches&&D.touches[0]||D.changedTouches&&D.changedTouches[0];return!(!z||-1!==z.identifier||null!=z.radiusX&&1!==z.radiusX||null!=z.radiusY&&1!==z.radiusY)}const q=new i.OlP("cdk-input-modality-detector-options"),k={ignoreKeys:[re.zL,re.jx,re.b2,re.MW,re.JU]},Z=(0,h.i$)({passive:!0,capture:!0});let Ee=(()=>{class D{constructor(P,ue,te,F){this._platform=P,this._mostRecentTarget=null,this._modality=new Me.X(null),this._lastTouchMs=0,this._onKeydown=G=>{var j,ye;null!==(ye=null===(j=this._options)||void 0===j?void 0:j.ignoreKeys)&&void 0!==ye&&ye.some(H=>H===G.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,h.sA)(G))},this._onMousedown=G=>{Date.now()-this._lastTouchMs<650||(this._modality.next(st(G)?"keyboard":"mouse"),this._mostRecentTarget=(0,h.sA)(G))},this._onTouchstart=G=>{xe(G)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,h.sA)(G))},this._options=Object.assign(Object.assign({},k),F),this.modalityDetected=this._modality.pipe((0,ae.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Ae.x)()),P.isBrowser&&ue.runOutsideAngular(()=>{te.addEventListener("keydown",this._onKeydown,Z),te.addEventListener("mousedown",this._onMousedown,Z),te.addEventListener("touchstart",this._onTouchstart,Z)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Z),document.removeEventListener("mousedown",this._onMousedown,Z),document.removeEventListener("touchstart",this._onTouchstart,Z))}}return D.\u0275fac=function(P){return new(P||D)(i.LFG(h.t4),i.LFG(i.R0b),i.LFG(s.K0),i.LFG(q,8))},D.\u0275prov=i.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();const tt=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function qe(){return null}}),kt=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let qt=(()=>{class D{constructor(P,ue,te,F){this._ngZone=ue,this._defaultOptions=F,this._document=te,this._liveElement=P||this._createLiveElement()}announce(P,...ue){const te=this._defaultOptions;let F,G;return 1===ue.length&&"number"==typeof ue[0]?G=ue[0]:[F,G]=ue,this.clear(),clearTimeout(this._previousTimeout),F||(F=te&&te.politeness?te.politeness:"polite"),null==G&&te&&(G=te.duration),this._liveElement.setAttribute("aria-live",F),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(j=>this._currentResolve=j)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=P,"number"==typeof G&&(this._previousTimeout=setTimeout(()=>this.clear(),G)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var P,ue;clearTimeout(this._previousTimeout),null===(P=this._liveElement)||void 0===P||P.remove(),this._liveElement=null,null===(ue=this._currentResolve)||void 0===ue||ue.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const P="cdk-live-announcer-element",ue=this._document.getElementsByClassName(P),te=this._document.createElement("div");for(let F=0;F<ue.length;F++)ue[F].remove();return te.classList.add(P),te.classList.add("cdk-visually-hidden"),te.setAttribute("aria-atomic","true"),te.setAttribute("aria-live","polite"),this._document.body.appendChild(te),te}}return D.\u0275fac=function(P){return new(P||D)(i.LFG(tt,8),i.LFG(i.R0b),i.LFG(s.K0),i.LFG(kt,8))},D.\u0275prov=i.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();const Lt=new i.OlP("cdk-focus-monitor-default-options"),xt=(0,h.i$)({passive:!0,capture:!0});let Rt=(()=>{class D{constructor(P,ue,te,F,G){this._ngZone=P,this._platform=ue,this._inputModalityDetector=te,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 u.x,this._rootNodeFocusAndBlurListener=j=>{for(let H=(0,h.sA)(j);H;H=H.parentElement)"focus"===j.type?this._onFocus(j,H):this._onBlur(j,H)},this._document=F,this._detectionMode=(null==G?void 0:G.detectionMode)||0}monitor(P,ue=!1){const te=(0,Se.fI)(P);if(!this._platform.isBrowser||1!==te.nodeType)return(0,ie.of)(null);const F=(0,h.kV)(te)||this._getDocument(),G=this._elementInfo.get(te);if(G)return ue&&(G.checkChildren=!0),G.subject;const j={checkChildren:ue,subject:new u.x,rootNode:F};return this._elementInfo.set(te,j),this._registerGlobalListeners(j),j.subject}stopMonitoring(P){const ue=(0,Se.fI)(P),te=this._elementInfo.get(ue);te&&(te.subject.complete(),this._setClasses(ue),this._elementInfo.delete(ue),this._removeGlobalListeners(te))}focusVia(P,ue,te){const F=(0,Se.fI)(P);F===this._getDocument().activeElement?this._getClosestElementsInfo(F).forEach(([j,ye])=>this._originChanged(j,ue,ye)):(this._setOrigin(ue),"function"==typeof F.focus&&F.focus(te))}ngOnDestroy(){this._elementInfo.forEach((P,ue)=>this.stopMonitoring(ue))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(P){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(P)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:P&&this._isLastInteractionFromInputLabel(P)?"mouse":"program"}_shouldBeAttributedToTouch(P){return 1===this._detectionMode||!(null==P||!P.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(P,ue){P.classList.toggle("cdk-focused",!!ue),P.classList.toggle("cdk-touch-focused","touch"===ue),P.classList.toggle("cdk-keyboard-focused","keyboard"===ue),P.classList.toggle("cdk-mouse-focused","mouse"===ue),P.classList.toggle("cdk-program-focused","program"===ue)}_setOrigin(P,ue=!1){this._ngZone.runOutsideAngular(()=>{this._origin=P,this._originFromTouchInteraction="touch"===P&&ue,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(P,ue){const te=this._elementInfo.get(ue),F=(0,h.sA)(P);!te||!te.checkChildren&&ue!==F||this._originChanged(ue,this._getFocusOrigin(F),te)}_onBlur(P,ue){const te=this._elementInfo.get(ue);!te||te.checkChildren&&P.relatedTarget instanceof Node&&ue.contains(P.relatedTarget)||(this._setClasses(ue),this._emitOrigin(te,null))}_emitOrigin(P,ue){P.subject.observers.length&&this._ngZone.run(()=>P.subject.next(ue))}_registerGlobalListeners(P){if(!this._platform.isBrowser)return;const ue=P.rootNode,te=this._rootNodeFocusListenerCount.get(ue)||0;te||this._ngZone.runOutsideAngular(()=>{ue.addEventListener("focus",this._rootNodeFocusAndBlurListener,xt),ue.addEventListener("blur",this._rootNodeFocusAndBlurListener,xt)}),this._rootNodeFocusListenerCount.set(ue,te+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Be.R)(this._stopInputModalityDetector)).subscribe(F=>{this._setOrigin(F,!0)}))}_removeGlobalListeners(P){const ue=P.rootNode;if(this._rootNodeFocusListenerCount.has(ue)){const te=this._rootNodeFocusListenerCount.get(ue);te>1?this._rootNodeFocusListenerCount.set(ue,te-1):(ue.removeEventListener("focus",this._rootNodeFocusAndBlurListener,xt),ue.removeEventListener("blur",this._rootNodeFocusAndBlurListener,xt),this._rootNodeFocusListenerCount.delete(ue))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(P,ue,te){this._setClasses(P,ue),this._emitOrigin(te,ue),this._lastFocusOrigin=ue}_getClosestElementsInfo(P){const ue=[];return this._elementInfo.forEach((te,F)=>{(F===P||te.checkChildren&&F.contains(P))&&ue.push([F,te])}),ue}_isLastInteractionFromInputLabel(P){const{_mostRecentTarget:ue,mostRecentModality:te}=this._inputModalityDetector;if("mouse"!==te||!ue||ue===P||"INPUT"!==P.nodeName&&"TEXTAREA"!==P.nodeName||P.disabled)return!1;const F=P.labels;if(F)for(let G=0;G<F.length;G++)if(F[G].contains(ue))return!0;return!1}}return D.\u0275fac=function(P){return new(P||D)(i.LFG(i.R0b),i.LFG(h.t4),i.LFG(Ee),i.LFG(s.K0,8),i.LFG(Lt,8))},D.\u0275prov=i.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),ge=(()=>{class D{constructor(P,ue){this._elementRef=P,this._focusMonitor=ue,this._focusOrigin=null,this.cdkFocusChange=new i.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const P=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(P,1===P.nodeType&&P.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(ue=>{this._focusOrigin=ue,this.cdkFocusChange.emit(ue)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return D.\u0275fac=function(P){return new(P||D)(i.Y36(i.SBq),i.Y36(Rt))},D.\u0275dir=i.lG2({type:D,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),D})();const Ge="cdk-high-contrast-black-on-white",rt="cdk-high-contrast-white-on-black",L="cdk-high-contrast-active";let me=(()=>{class D{constructor(P,ue){this._platform=P,this._document=ue,this._breakpointSubscription=(0,i.f3M)(bt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const P=this._document.createElement("div");P.style.backgroundColor="rgb(1,2,3)",P.style.position="absolute",this._document.body.appendChild(P);const ue=this._document.defaultView||window,te=ue&&ue.getComputedStyle?ue.getComputedStyle(P):null,F=(te&&te.backgroundColor||"").replace(/ /g,"");switch(P.remove(),F){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 P=this._document.body.classList;P.remove(L,Ge,rt),this._hasCheckedHighContrastMode=!0;const ue=this.getHighContrastMode();1===ue?P.add(L,Ge):2===ue&&P.add(L,rt)}}}return D.\u0275fac=function(P){return new(P||D)(i.LFG(h.t4),i.LFG(s.K0))},D.\u0275prov=i.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})(),T=(()=>{class D{constructor(P){P._applyBodyHighContrastModeCssClasses()}}return D.\u0275fac=function(P){return new(P||D)(i.LFG(me))},D.\u0275mod=i.oAB({type:D}),D.\u0275inj=i.cJS({imports:[mt.Q8]}),D})()},3262:(Yt,ut,c)=>{"use strict";c.d(ut,{XD:()=>Ne,dD:()=>X,xI:()=>re});var s=c(5e3),i=c(3191),h=c(7579),u=c(727),l=c(449);let Me=0;const ie=new s.OlP("CdkAccordion");let re=(()=>{class ne{constructor(){this._stateChanges=new h.x,this._openCloseAllActions=new h.x,this.id="cdk-accordion-"+Me++,this._multi=!1}get multi(){return this._multi}set multi(ae){this._multi=(0,i.Ig)(ae)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(ae){this._stateChanges.next(ae)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return ne.\u0275fac=function(ae){return new(ae||ne)},ne.\u0275dir=s.lG2({type:ne,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[s._Bn([{provide:ie,useExisting:ne}]),s.TTD]}),ne})(),ve=0,X=(()=>{class ne{constructor(ae,Ae,Be){this.accordion=ae,this._changeDetectorRef=Ae,this._expansionDispatcher=Be,this._openCloseAllSubscription=u.w0.EMPTY,this.closed=new s.vpe,this.opened=new s.vpe,this.destroyed=new s.vpe,this.expandedChange=new s.vpe,this.id="cdk-accordion-child-"+ve++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Be.listen((Se,mt)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===mt&&this.id!==Se&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(ae){ae=(0,i.Ig)(ae),this._expanded!==ae&&(this._expanded=ae,this.expandedChange.emit(ae),ae?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ae){this._disabled=(0,i.Ig)(ae)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(ae=>{this.disabled||(this.expanded=ae)})}}return ne.\u0275fac=function(ae){return new(ae||ne)(s.Y36(ie,12),s.Y36(s.sBO),s.Y36(l.A8))},ne.\u0275dir=s.lG2({type:ne,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[s._Bn([{provide:ie,useValue:void 0}])]}),ne})(),Ne=(()=>{class ne{}return ne.\u0275fac=function(ae){return new(ae||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({}),ne})()},226:(Yt,ut,c)=>{"use strict";c.d(ut,{Is:()=>ie,vT:()=>ve});var s=c(5e3),i=c(9808);const h=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function u(){return(0,s.f3M)(i.K0)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let ie=(()=>{class X{constructor(ne){if(this.value="ltr",this.change=new s.vpe,ne){const ae=ne.documentElement?ne.documentElement.dir:null;this.value=function Me(X){const Ne=(null==X?void 0:X.toLowerCase())||"";return"auto"===Ne&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?l.test(navigator.language)?"rtl":"ltr":"rtl"===Ne?"rtl":"ltr"}((ne.body?ne.body.dir:null)||ae||"ltr")}}ngOnDestroy(){this.change.complete()}}return X.\u0275fac=function(ne){return new(ne||X)(s.LFG(h,8))},X.\u0275prov=s.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),ve=(()=>{class X{}return X.\u0275fac=function(ne){return new(ne||X)},X.\u0275mod=s.oAB({type:X}),X.\u0275inj=s.cJS({}),X})()},3191:(Yt,ut,c)=>{"use strict";c.d(ut,{Eq:()=>l,HM:()=>Me,Ig:()=>i,du:()=>re,fI:()=>ie,su:()=>h,t6:()=>u});var s=c(5e3);function i(ve){return null!=ve&&"false"!=`${ve}`}function h(ve,X=0){return u(ve)?Number(ve):X}function u(ve){return!isNaN(parseFloat(ve))&&!isNaN(Number(ve))}function l(ve){return Array.isArray(ve)?ve:[ve]}function Me(ve){return null==ve?"":"string"==typeof ve?ve:`${ve}px`}function ie(ve){return ve instanceof s.SBq?ve.nativeElement:ve}function re(ve,X=/\s+/){const Ne=[];if(null!=ve){const ne=Array.isArray(ve)?ve:`${ve}`.split(X);for(const Ce of ne){const ae=`${Ce}`.trim();ae&&Ne.push(ae)}}return Ne}},449:(Yt,ut,c)=>{"use strict";c.d(ut,{A8:()=>Ne,Ov:()=>ve,Z9:()=>l,eX:()=>re,k:()=>ne,o2:()=>u,yy:()=>ie});var s=c(4033),i=c(7579),h=c(5e3);class u{}function l(Ce){return Ce&&"function"==typeof Ce.connect&&!(Ce instanceof s.c)}class ie{applyChanges(ae,Ae,Be,Se,mt){ae.forEachOperation((bt,Mt,ke)=>{let oe,he;if(null==bt.previousIndex){const le=Be(bt,Mt,ke);oe=Ae.createEmbeddedView(le.templateRef,le.context,le.index),he=1}else null==ke?(Ae.remove(Mt),he=3):(oe=Ae.get(Mt),Ae.move(oe,ke),he=2);mt&&mt({context:null==oe?void 0:oe.context,operation:he,record:bt})})}detach(){}}class re{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(ae,Ae,Be,Se,mt){ae.forEachOperation((bt,Mt,ke)=>{let oe,he;null==bt.previousIndex?(oe=this._insertView(()=>Be(bt,Mt,ke),ke,Ae,Se(bt)),he=oe?1:0):null==ke?(this._detachAndCacheView(Mt,Ae),he=3):(oe=this._moveView(Mt,ke,Ae,Se(bt)),he=2),mt&&mt({context:null==oe?void 0:oe.context,operation:he,record:bt})})}detach(){for(const ae of this._viewCache)ae.destroy();this._viewCache=[]}_insertView(ae,Ae,Be,Se){const mt=this._insertViewFromCache(Ae,Be);if(mt)return void(mt.context.$implicit=Se);const bt=ae();return Be.createEmbeddedView(bt.templateRef,bt.context,bt.index)}_detachAndCacheView(ae,Ae){const Be=Ae.detach(ae);this._maybeCacheView(Be,Ae)}_moveView(ae,Ae,Be,Se){const mt=Be.get(ae);return Be.move(mt,Ae),mt.context.$implicit=Se,mt}_maybeCacheView(ae,Ae){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(ae);else{const Be=Ae.indexOf(ae);-1===Be?ae.destroy():Ae.remove(Be)}}_insertViewFromCache(ae,Ae){const Be=this._viewCache.pop();return Be&&Ae.insert(Be,ae),Be||null}}class ve{constructor(ae=!1,Ae,Be=!0,Se){this._multiple=ae,this._emitChanges=Be,this.compareWith=Se,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new i.x,Ae&&Ae.length&&(ae?Ae.forEach(mt=>this._markSelected(mt)):this._markSelected(Ae[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...ae){this._verifyValueAssignment(ae),ae.forEach(Be=>this._markSelected(Be));const Ae=this._hasQueuedChanges();return this._emitChangeEvent(),Ae}deselect(...ae){this._verifyValueAssignment(ae),ae.forEach(Be=>this._unmarkSelected(Be));const Ae=this._hasQueuedChanges();return this._emitChangeEvent(),Ae}setSelection(...ae){this._verifyValueAssignment(ae);const Ae=this.selected,Be=new Set(ae);ae.forEach(mt=>this._markSelected(mt)),Ae.filter(mt=>!Be.has(mt)).forEach(mt=>this._unmarkSelected(mt));const Se=this._hasQueuedChanges();return this._emitChangeEvent(),Se}toggle(ae){return this.isSelected(ae)?this.deselect(ae):this.select(ae)}clear(ae=!0){this._unmarkAll();const Ae=this._hasQueuedChanges();return ae&&this._emitChangeEvent(),Ae}isSelected(ae){if(this.compareWith){for(const Ae of this._selection)if(this.compareWith(Ae,ae))return!0;return!1}return this._selection.has(ae)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(ae){this._multiple&&this.selected&&this._selected.sort(ae)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(ae){this.isSelected(ae)||(this._multiple||this._unmarkAll(),this.isSelected(ae)||this._selection.add(ae),this._emitChanges&&this._selectedToEmit.push(ae))}_unmarkSelected(ae){this.isSelected(ae)&&(this._selection.delete(ae),this._emitChanges&&this._deselectedToEmit.push(ae))}_unmarkAll(){this.isEmpty()||this._selection.forEach(ae=>this._unmarkSelected(ae))}_verifyValueAssignment(ae){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let Ne=(()=>{class Ce{constructor(){this._listeners=[]}notify(Ae,Be){for(let Se of this._listeners)Se(Ae,Be)}listen(Ae){return this._listeners.push(Ae),()=>{this._listeners=this._listeners.filter(Be=>Ae!==Be)}}ngOnDestroy(){this._listeners=[]}}return Ce.\u0275fac=function(Ae){return new(Ae||Ce)},Ce.\u0275prov=h.Yz7({token:Ce,factory:Ce.\u0275fac,providedIn:"root"}),Ce})();const ne=new h.OlP("_ViewRepeater")},1088:(Yt,ut,c)=>{"use strict";c.d(ut,{LL:()=>Be,Su:()=>we,Vq:()=>le,ib:()=>ae});var s=c(925),i=c(7429),h=c(9808),u=c(5e3),l=c(5664),Me=c(9776),ie=c(1159),re=c(7579),ve=c(9770),X=c(9646),Ne=c(226),ne=c(8675);function Ce(et,Xe){}class ae{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 Be=(()=>{class et extends i.en{constructor(_e,lt,je,pt,it,ft,Ct,St){super(),this._elementRef=_e,this._focusTrapFactory=lt,this._config=pt,this._interactivityChecker=it,this._ngZone=ft,this._overlayRef=Ct,this._focusMonitor=St,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Y=>{this._portalOutlet.hasAttached();const B=this._portalOutlet.attachDomPortal(Y);return this._contentAttached(),B},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=je}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(_e){this._portalOutlet.hasAttached();const lt=this._portalOutlet.attachComponentPortal(_e);return this._contentAttached(),lt}attachTemplatePortal(_e){this._portalOutlet.hasAttached();const lt=this._portalOutlet.attachTemplatePortal(_e);return this._contentAttached(),lt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(_e,lt){this._interactivityChecker.isFocusable(_e)||(_e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const je=()=>{_e.removeEventListener("blur",je),_e.removeEventListener("mousedown",je),_e.removeAttribute("tabindex")};_e.addEventListener("blur",je),_e.addEventListener("mousedown",je)})),_e.focus(lt)}_focusByCssSelector(_e,lt){let je=this._elementRef.nativeElement.querySelector(_e);je&&this._forceFocus(je,lt)}_trapFocus(){const _e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||_e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(lt=>{lt||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 _e=this._config.restoreFocus;let lt=null;if("string"==typeof _e?lt=this._document.querySelector(_e):"boolean"==typeof _e?lt=_e?this._elementFocusedBeforeDialogWasOpened:null:_e&&(lt=_e),this._config.restoreFocus&&lt&&"function"==typeof lt.focus){const je=(0,s.ht)(),pt=this._elementRef.nativeElement;(!je||je===this._document.body||je===pt||pt.contains(je))&&(this._focusMonitor?(this._focusMonitor.focusVia(lt,this._closeInteractionType),this._closeInteractionType=null):lt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const _e=this._elementRef.nativeElement,lt=(0,s.ht)();return _e===lt||_e.contains(lt)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,s.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return et.\u0275fac=function(_e){return new(_e||et)(u.Y36(u.SBq),u.Y36(l.qV),u.Y36(h.K0,8),u.Y36(ae),u.Y36(l.ic),u.Y36(u.R0b),u.Y36(Me.Iu),u.Y36(l.tE))},et.\u0275cmp=u.Xpm({type:et,selectors:[["cdk-dialog-container"]],viewQuery:function(_e,lt){if(1&_e&&u.Gf(i.Pl,7),2&_e){let je;u.iGM(je=u.CRH())&&(lt._portalOutlet=je.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(_e,lt){2&_e&&u.uIk("id",lt._config.id||null)("role",lt._config.role)("aria-modal",lt._config.ariaModal)("aria-labelledby",lt._config.ariaLabel?null:lt._ariaLabelledBy)("aria-label",lt._config.ariaLabel)("aria-describedby",lt._config.ariaDescribedBy||null)},features:[u.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(_e,lt){1&_e&&u.YNc(0,Ce,0,0,"ng-template",0)},dependencies:[i.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),et})();class Se{constructor(Xe,_e){this.overlayRef=Xe,this.config=_e,this.closed=new re.x,this.disableClose=_e.disableClose,this.backdropClick=Xe.backdropClick(),this.keydownEvents=Xe.keydownEvents(),this.outsidePointerEvents=Xe.outsidePointerEvents(),this.id=_e.id,this.keydownEvents.subscribe(lt=>{lt.keyCode===ie.hY&&!this.disableClose&&!(0,ie.Vb)(lt)&&(lt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(Xe,_e){if(this.containerInstance){const lt=this.closed;this.containerInstance._closeInteractionType=(null==_e?void 0:_e.focusOrigin)||"program",this.overlayRef.dispose(),lt.next(Xe),lt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Xe="",_e=""){return this.overlayRef.updateSize({width:Xe,height:_e}),this}addPanelClass(Xe){return this.overlayRef.addPanelClass(Xe),this}removePanelClass(Xe){return this.overlayRef.removePanelClass(Xe),this}}const mt=new u.OlP("DialogScrollStrategy"),bt=new u.OlP("DialogData"),Mt=new u.OlP("DefaultDialogConfig"),oe={provide:mt,deps:[Me.aV],useFactory:function ke(et){return()=>et.scrollStrategies.block()}};let he=0,le=(()=>{class et{constructor(_e,lt,je,pt,it,ft){this._overlay=_e,this._injector=lt,this._defaultOptions=je,this._parentDialog=pt,this._overlayContainer=it,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new re.x,this._afterOpenedAtThisLevel=new re.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,ve.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,ne.O)(void 0))),this._scrollStrategy=ft}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(_e,lt){const je=this._defaultOptions||new ae;(lt=Object.assign(Object.assign({},je),lt)).id=lt.id||"cdk-dialog-"+he++,lt.id&&this.getDialogById(lt.id);const pt=this._getOverlayConfig(lt),it=this._overlay.create(pt),ft=new Se(it,lt),Ct=this._attachContainer(it,ft,lt);return ft.containerInstance=Ct,this._attachDialogContent(_e,ft,Ct,lt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(ft),ft.closed.subscribe(()=>this._removeOpenDialog(ft,!0)),this.afterOpened.next(ft),ft}closeAll(){We(this.openDialogs,_e=>_e.close())}getDialogById(_e){return this.openDialogs.find(lt=>lt.id===_e)}ngOnDestroy(){We(this._openDialogsAtThisLevel,_e=>{!1===_e.config.closeOnDestroy&&this._removeOpenDialog(_e,!1)}),We(this._openDialogsAtThisLevel,_e=>_e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(_e){const lt=new Me.X_({positionStrategy:_e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:_e.scrollStrategy||this._scrollStrategy(),panelClass:_e.panelClass,hasBackdrop:_e.hasBackdrop,direction:_e.direction,minWidth:_e.minWidth,minHeight:_e.minHeight,maxWidth:_e.maxWidth,maxHeight:_e.maxHeight,width:_e.width,height:_e.height,disposeOnNavigation:_e.closeOnNavigation});return _e.backdropClass&&(lt.backdropClass=_e.backdropClass),lt}_attachContainer(_e,lt,je){var pt;const it=je.injector||(null===(pt=je.viewContainerRef)||void 0===pt?void 0:pt.injector),ft=[{provide:ae,useValue:je},{provide:Se,useValue:lt},{provide:Me.Iu,useValue:_e}];let Ct;je.container?"function"==typeof je.container?Ct=je.container:(Ct=je.container.type,ft.push(...je.container.providers(je))):Ct=Be;const St=new i.C5(Ct,je.viewContainerRef,u.zs3.create({parent:it||this._injector,providers:ft}),je.componentFactoryResolver);return _e.attach(St).instance}_attachDialogContent(_e,lt,je,pt){if(_e instanceof u.Rgc){const it=this._createInjector(pt,lt,je,void 0);let ft={$implicit:pt.data,dialogRef:lt};pt.templateContext&&(ft=Object.assign(Object.assign({},ft),"function"==typeof pt.templateContext?pt.templateContext():pt.templateContext)),je.attachTemplatePortal(new i.UE(_e,null,ft,it))}else{const it=this._createInjector(pt,lt,je,this._injector),ft=je.attachComponentPortal(new i.C5(_e,pt.viewContainerRef,it,pt.componentFactoryResolver));lt.componentInstance=ft.instance}}_createInjector(_e,lt,je,pt){var it;const ft=_e.injector||(null===(it=_e.viewContainerRef)||void 0===it?void 0:it.injector),Ct=[{provide:bt,useValue:_e.data},{provide:Se,useValue:lt}];return _e.providers&&("function"==typeof _e.providers?Ct.push(..._e.providers(lt,_e,je)):Ct.push(..._e.providers)),_e.direction&&(!ft||!ft.get(Ne.Is,null,u.XFs.Optional))&&Ct.push({provide:Ne.Is,useValue:{value:_e.direction,change:(0,X.of)()}}),u.zs3.create({parent:ft||pt,providers:Ct})}_removeOpenDialog(_e,lt){const je=this.openDialogs.indexOf(_e);je>-1&&(this.openDialogs.splice(je,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((pt,it)=>{pt?it.setAttribute("aria-hidden",pt):it.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),lt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const _e=this._overlayContainer.getContainerElement();if(_e.parentElement){const lt=_e.parentElement.children;for(let je=lt.length-1;je>-1;je--){const pt=lt[je];pt!==_e&&"SCRIPT"!==pt.nodeName&&"STYLE"!==pt.nodeName&&!pt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(pt,pt.getAttribute("aria-hidden")),pt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const _e=this._parentDialog;return _e?_e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return et.\u0275fac=function(_e){return new(_e||et)(u.LFG(Me.aV),u.LFG(u.zs3),u.LFG(Mt,8),u.LFG(et,12),u.LFG(Me.Xj),u.LFG(mt))},et.\u0275prov=u.Yz7({token:et,factory:et.\u0275fac}),et})();function We(et,Xe){let _e=et.length;for(;_e--;)Xe(et[_e])}let we=(()=>{class et{}return et.\u0275fac=function(_e){return new(_e||et)},et.\u0275mod=u.oAB({type:et}),et.\u0275inj=u.cJS({providers:[le,oe],imports:[Me.U8,i.eL,l.rt,i.eL]}),et})()},3737:(Yt,ut,c)=>{"use strict";c.d(ut,{Zt:()=>P,Bh:()=>rt,_t:()=>ue});var s=c(5e3),i=c(9808),h=c(925),u=c(3191),l=c(5664),Me=c(4986),ie=c(5963),ve=c(7579),X=c(727),Ne=c(6406),ne=c(8306),Ce=c(6451),ae=c(2722),Ae=c(4004),Be=c(5698),Se=c(8675),mt=c(8505),bt=c(3900),Mt=c(9071),ke=c(226);function oe(te,F,G){for(let j in F)if(F.hasOwnProperty(j)){const ye=F[j];ye?te.setProperty(j,ye,null!=G&&G.has(j)?"important":""):te.removeProperty(j)}return te}function he(te,F){const G=F?"":"none";oe(te.style,{"touch-action":F?"":"none","-webkit-user-drag":F?"":"none","-webkit-tap-highlight-color":F?"":"transparent","user-select":G,"-ms-user-select":G,"-webkit-user-select":G,"-moz-user-select":G})}function le(te,F,G){oe(te.style,{position:F?"":"fixed",top:F?"":"0",opacity:F?"":"0",left:F?"":"-999em"},G)}function We(te,F){return F&&"none"!=F?te+" "+F:te}function we(te){const F=te.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(te)*F}function Xe(te,F){return te.getPropertyValue(F).split(",").map(j=>j.trim())}function _e(te){const F=te.getBoundingClientRect();return{top:F.top,right:F.right,bottom:F.bottom,left:F.left,width:F.width,height:F.height,x:F.x,y:F.y}}function lt(te,F,G){const{top:j,bottom:ye,left:H,right:Ue}=te;return G>=j&&G<=ye&&F>=H&&F<=Ue}function je(te,F,G){te.top+=F,te.bottom=te.top+te.height,te.left+=G,te.right=te.left+te.width}function pt(te,F,G,j){const{top:ye,right:H,bottom:Ue,left:Je,width:It,height:Fe}=te,Ye=It*F,R=Fe*F;return j>ye-R&&j<Ue+R&&G>Je-Ye&&G<H+Ye}class it{constructor(F){this._document=F,this.positions=new Map}clear(){this.positions.clear()}cache(F){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),F.forEach(G=>{this.positions.set(G,{scrollPosition:{top:G.scrollTop,left:G.scrollLeft},clientRect:_e(G)})})}handleScroll(F){const G=(0,h.sA)(F),j=this.positions.get(G);if(!j)return null;const ye=j.scrollPosition;let H,Ue;if(G===this._document){const Fe=this.getViewportScrollPosition();H=Fe.top,Ue=Fe.left}else H=G.scrollTop,Ue=G.scrollLeft;const Je=ye.top-H,It=ye.left-Ue;return this.positions.forEach((Fe,Ye)=>{Fe.clientRect&&G!==Ye&&G.contains(Ye)&&je(Fe.clientRect,Je,It)}),ye.top=H,ye.left=Ue,{top:Je,left:It}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function ft(te){const F=te.cloneNode(!0),G=F.querySelectorAll("[id]"),j=te.nodeName.toLowerCase();F.removeAttribute("id");for(let ye=0;ye<G.length;ye++)G[ye].removeAttribute("id");return"canvas"===j?B(te,F):("input"===j||"select"===j||"textarea"===j)&&Y(te,F),Ct("canvas",te,F,B),Ct("input, textarea, select",te,F,Y),F}function Ct(te,F,G,j){const ye=F.querySelectorAll(te);if(ye.length){const H=G.querySelectorAll(te);for(let Ue=0;Ue<ye.length;Ue++)j(ye[Ue],H[Ue])}}let St=0;function Y(te,F){"file"!==F.type&&(F.value=te.value),"radio"===F.type&&F.name&&(F.name=`mat-clone-${F.name}-${St++}`)}function B(te,F){const G=F.getContext("2d");if(G)try{G.drawImage(te,0,0)}catch(j){}}const _=(0,h.i$)({passive:!0}),A=(0,h.i$)({passive:!1}),se=new Set(["position"]);class de{constructor(F,G,j,ye,H,Ue){this._config=G,this._document=j,this._ngZone=ye,this._viewportRuler=H,this._dragDropRegistry=Ue,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new ve.x,this._pointerMoveSubscription=X.w0.EMPTY,this._pointerUpSubscription=X.w0.EMPTY,this._scrollSubscription=X.w0.EMPTY,this._resizeSubscription=X.w0.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new ve.x,this.started=new ve.x,this.released=new ve.x,this.ended=new ve.x,this.entered=new ve.x,this.exited=new ve.x,this.dropped=new ve.x,this.moved=this._moveEvents,this._pointerDown=Je=>{if(this.beforeStarted.next(),this._handles.length){const It=this._getTargetHandle(Je);It&&!this._disabledHandles.has(It)&&!this.disabled&&this._initializeDragSequence(It,Je)}else this.disabled||this._initializeDragSequence(this._rootElement,Je)},this._pointerMove=Je=>{const It=this._getPointerPositionOnPage(Je);if(!this._hasStartedDragging){if(Math.abs(It.x-this._pickupPositionOnPage.x)+Math.abs(It.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const pe=Date.now()>=this._dragStartTime+this._getDragStartDelay(Je),fe=this._dropContainer;if(!pe)return void this._endDragSequence(Je);(!fe||!fe.isDragging()&&!fe.isReceiving())&&(Je.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Je)))}return}Je.preventDefault();const Fe=this._getConstrainedPointerPosition(It);if(this._hasMoved=!0,this._lastKnownPointerPosition=It,this._updatePointerDirectionDelta(Fe),this._dropContainer)this._updateActiveDropContainer(Fe,It);else{const Ye=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,R=this._activeTransform;R.x=Fe.x-Ye.x+this._passiveTransform.x,R.y=Fe.y-Ye.y+this._passiveTransform.y,this._applyRootElementTransform(R.x,R.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Fe,event:Je,distance:this._getDragDistance(Fe),delta:this._pointerDirectionDelta})})},this._pointerUp=Je=>{this._endDragSequence(Je)},this._nativeDragStart=Je=>{if(this._handles.length){const It=this._getTargetHandle(Je);It&&!this._disabledHandles.has(It)&&!this.disabled&&Je.preventDefault()}else this.disabled||Je.preventDefault()},this.withRootElement(F).withParent(G.parentDragRef||null),this._parentPositions=new it(j),Ue.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(F){const G=(0,u.Ig)(F);G!==this._disabled&&(this._disabled=G,this._toggleNativeDragInteractions(),this._handles.forEach(j=>he(j,G)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(F){this._handles=F.map(j=>(0,u.fI)(j)),this._handles.forEach(j=>he(j,this.disabled)),this._toggleNativeDragInteractions();const G=new Set;return this._disabledHandles.forEach(j=>{this._handles.indexOf(j)>-1&&G.add(j)}),this._disabledHandles=G,this}withPreviewTemplate(F){return this._previewTemplate=F,this}withPlaceholderTemplate(F){return this._placeholderTemplate=F,this}withRootElement(F){const G=(0,u.fI)(F);return G!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{G.addEventListener("mousedown",this._pointerDown,A),G.addEventListener("touchstart",this._pointerDown,_),G.addEventListener("dragstart",this._nativeDragStart,A)}),this._initialTransform=void 0,this._rootElement=G),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(F){return this._boundaryElement=F?(0,u.fI)(F):null,this._resizeSubscription.unsubscribe(),F&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(F){return this._parentDragRef=F,this}dispose(){var F,G;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(F=this._rootElement)||void 0===F||F.remove()),null===(G=this._anchor)||void 0===G||G.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(F){!this._disabledHandles.has(F)&&this._handles.indexOf(F)>-1&&(this._disabledHandles.add(F),he(F,!0))}enableHandle(F){this._disabledHandles.has(F)&&(this._disabledHandles.delete(F),he(F,this.disabled))}withDirection(F){return this._direction=F,this}_withDropContainer(F){this._dropContainer=F}getFreeDragPosition(){const F=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:F.x,y:F.y}}setFreeDragPosition(F){return this._activeTransform={x:0,y:0},this._passiveTransform.x=F.x,this._passiveTransform.y=F.y,this._dropContainer||this._applyRootElementTransform(F.x,F.y),this}withPreviewContainer(F){return this._previewContainer=F,this}_sortFromLastPointerPosition(){const F=this._lastKnownPointerPosition;F&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(F),F)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var F,G;null===(F=this._preview)||void 0===F||F.remove(),null===(G=this._previewRef)||void 0===G||G.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var F,G;null===(F=this._placeholder)||void 0===F||F.remove(),null===(G=this._placeholderRef)||void 0===G||G.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(F){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:F}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(F),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const G=this._getPointerPositionOnPage(F);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(G),dropPoint:G,event:F})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(F){gt(F)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const G=this._dropContainer;if(G){const j=this._rootElement,ye=j.parentNode,H=this._placeholder=this._createPlaceholderElement(),Ue=this._anchor=this._anchor||this._document.createComment(""),Je=this._getShadowRoot();ye.insertBefore(Ue,j),this._initialTransform=j.style.transform||"",this._preview=this._createPreviewElement(),le(j,!1,se),this._document.body.appendChild(ye.replaceChild(H,j)),this._getPreviewInsertionPoint(ye,Je).appendChild(this._preview),this.started.next({source:this,event:F}),G.start(),this._initialContainer=G,this._initialIndex=G.getItemIndex(this)}else this.started.next({source:this,event:F}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(G?G.getScrollableParents():[])}_initializeDragSequence(F,G){this._parentDragRef&&G.stopPropagation();const j=this.isDragging(),ye=gt(G),H=!ye&&0!==G.button,Ue=this._rootElement,Je=(0,h.sA)(G),It=!ye&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Fe=ye?(0,l.yG)(G):(0,l.X6)(G);if(Je&&Je.draggable&&"mousedown"===G.type&&G.preventDefault(),j||H||It||Fe)return;if(this._handles.length){const ee=Ue.style;this._rootElementTapHighlight=ee.webkitTapHighlightColor||"",ee.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(ee=>this._updateOnScroll(ee)),this._boundaryElement&&(this._boundaryRect=_e(this._boundaryElement));const Ye=this._previewTemplate;this._pickupPositionInElement=Ye&&Ye.template&&!Ye.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,F,G);const R=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(G);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:R.x,y:R.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,G)}_cleanupDragArtifacts(F){le(this._rootElement,!0,se),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const G=this._dropContainer,j=G.getItemIndex(this),ye=this._getPointerPositionOnPage(F),H=this._getDragDistance(ye),Ue=G._isOverContainer(ye.x,ye.y);this.ended.next({source:this,distance:H,dropPoint:ye,event:F}),this.dropped.next({item:this,currentIndex:j,previousIndex:this._initialIndex,container:G,previousContainer:this._initialContainer,isPointerOverContainer:Ue,distance:H,dropPoint:ye,event:F}),G.drop(this,j,this._initialIndex,this._initialContainer,Ue,H,ye,F),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:F,y:G},{x:j,y:ye}){let H=this._initialContainer._getSiblingContainerFromPosition(this,F,G);!H&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(F,G)&&(H=this._initialContainer),H&&H!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=H,this._dropContainer.enter(this,F,G,H===this._initialContainer&&H.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:H,currentIndex:H.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(j,ye),this._dropContainer._sortItem(this,F,G,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(F,G):this._applyPreviewTransform(F-this._pickupPositionInElement.x,G-this._pickupPositionInElement.y))}_createPreviewElement(){const F=this._previewTemplate,G=this.previewClass,j=F?F.template:null;let ye;if(j&&F){const H=F.matchSize?this._initialClientRect:null,Ue=F.viewContainer.createEmbeddedView(j,F.context);Ue.detectChanges(),ye=ze(Ue,this._document),this._previewRef=Ue,F.matchSize?Et(ye,H):ye.style.transform=De(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else ye=ft(this._rootElement),Et(ye,this._initialClientRect),this._initialTransform&&(ye.style.transform=this._initialTransform);return oe(ye.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},se),he(ye,!1),ye.classList.add("cdk-drag-preview"),ye.setAttribute("dir",this._direction),G&&(Array.isArray(G)?G.forEach(H=>ye.classList.add(H)):ye.classList.add(G)),ye}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const F=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(F.left,F.top);const G=function et(te){const F=getComputedStyle(te),G=Xe(F,"transition-property"),j=G.find(Je=>"transform"===Je||"all"===Je);if(!j)return 0;const ye=G.indexOf(j),H=Xe(F,"transition-duration"),Ue=Xe(F,"transition-delay");return we(H[ye])+we(Ue[ye])}(this._preview);return 0===G?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(j=>{const ye=Ue=>{var Je;(!Ue||(0,h.sA)(Ue)===this._preview&&"transform"===Ue.propertyName)&&(null===(Je=this._preview)||void 0===Je||Je.removeEventListener("transitionend",ye),j(),clearTimeout(H))},H=setTimeout(ye,1.5*G);this._preview.addEventListener("transitionend",ye)}))}_createPlaceholderElement(){const F=this._placeholderTemplate,G=F?F.template:null;let j;return G?(this._placeholderRef=F.viewContainer.createEmbeddedView(G,F.context),this._placeholderRef.detectChanges(),j=ze(this._placeholderRef,this._document)):j=ft(this._rootElement),j.style.pointerEvents="none",j.classList.add("cdk-drag-placeholder"),j}_getPointerPositionInElement(F,G,j){const ye=G===this._rootElement?null:G,H=ye?ye.getBoundingClientRect():F,Ue=gt(j)?j.targetTouches[0]:j,Je=this._getViewportScrollPosition();return{x:H.left-F.left+(Ue.pageX-H.left-Je.left),y:H.top-F.top+(Ue.pageY-H.top-Je.top)}}_getPointerPositionOnPage(F){const G=this._getViewportScrollPosition(),j=gt(F)?F.touches[0]||F.changedTouches[0]||{pageX:0,pageY:0}:F,ye=j.pageX-G.left,H=j.pageY-G.top;if(this._ownerSVGElement){const Ue=this._ownerSVGElement.getScreenCTM();if(Ue){const Je=this._ownerSVGElement.createSVGPoint();return Je.x=ye,Je.y=H,Je.matrixTransform(Ue.inverse())}}return{x:ye,y:H}}_getConstrainedPointerPosition(F){const G=this._dropContainer?this._dropContainer.lockAxis:null;let{x:j,y:ye}=this.constrainPosition?this.constrainPosition(F,this,this._initialClientRect,this._pickupPositionInElement):F;if("x"===this.lockAxis||"x"===G?ye=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===G)&&(j=this._pickupPositionOnPage.x),this._boundaryRect){const{x:H,y:Ue}=this._pickupPositionInElement,Je=this._boundaryRect,{width:It,height:Fe}=this._getPreviewRect(),Ye=Je.top+Ue,R=Je.bottom-(Fe-Ue);j=Ke(j,Je.left+H,Je.right-(It-H)),ye=Ke(ye,Ye,R)}return{x:j,y:ye}}_updatePointerDirectionDelta(F){const{x:G,y:j}=F,ye=this._pointerDirectionDelta,H=this._pointerPositionAtLastDirectionChange,Ue=Math.abs(G-H.x),Je=Math.abs(j-H.y);return Ue>this._config.pointerDirectionChangeThreshold&&(ye.x=G>H.x?1:-1,H.x=G),Je>this._config.pointerDirectionChangeThreshold&&(ye.y=j>H.y?1:-1,H.y=j),ye}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const F=this._handles.length>0||!this.isDragging();F!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=F,he(this._rootElement,F))}_removeRootElementListeners(F){F.removeEventListener("mousedown",this._pointerDown,A),F.removeEventListener("touchstart",this._pointerDown,_),F.removeEventListener("dragstart",this._nativeDragStart,A)}_applyRootElementTransform(F,G){const j=De(F,G),ye=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=ye.transform&&"none"!=ye.transform?ye.transform:""),ye.transform=We(j,this._initialTransform)}_applyPreviewTransform(F,G){var j;const ye=null!==(j=this._previewTemplate)&&void 0!==j&&j.template?void 0:this._initialTransform,H=De(F,G);this._preview.style.transform=We(H,ye)}_getDragDistance(F){const G=this._pickupPositionOnPage;return G?{x:F.x-G.x,y:F.y-G.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:F,y:G}=this._passiveTransform;if(0===F&&0===G||this.isDragging()||!this._boundaryElement)return;const j=this._rootElement.getBoundingClientRect(),ye=this._boundaryElement.getBoundingClientRect();if(0===ye.width&&0===ye.height||0===j.width&&0===j.height)return;const H=ye.left-j.left,Ue=j.right-ye.right,Je=ye.top-j.top,It=j.bottom-ye.bottom;ye.width>j.width?(H>0&&(F+=H),Ue>0&&(F-=Ue)):F=0,ye.height>j.height?(Je>0&&(G+=Je),It>0&&(G-=It)):G=0,(F!==this._passiveTransform.x||G!==this._passiveTransform.y)&&this.setFreeDragPosition({y:G,x:F})}_getDragStartDelay(F){const G=this.dragStartDelay;return"number"==typeof G?G:gt(F)?G.touch:G?G.mouse:0}_updateOnScroll(F){const G=this._parentPositions.handleScroll(F);if(G){const j=(0,h.sA)(F);this._boundaryRect&&j!==this._boundaryElement&&j.contains(this._boundaryElement)&&je(this._boundaryRect,G.top,G.left),this._pickupPositionOnPage.x+=G.left,this._pickupPositionOnPage.y+=G.top,this._dropContainer||(this._activeTransform.x-=G.left,this._activeTransform.y-=G.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var F;return(null===(F=this._parentPositions.positions.get(this._document))||void 0===F?void 0:F.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,h.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(F,G){const j=this._previewContainer||"global";if("parent"===j)return F;if("global"===j){const ye=this._document;return G||ye.fullscreenElement||ye.webkitFullscreenElement||ye.mozFullScreenElement||ye.msFullscreenElement||ye.body}return(0,u.fI)(j)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(F){return this._handles.find(G=>F.target&&(F.target===G||G.contains(F.target)))}}function De(te,F){return`translate3d(${Math.round(te)}px, ${Math.round(F)}px, 0)`}function Ke(te,F,G){return Math.max(F,Math.min(G,te))}function gt(te){return"t"===te.type[0]}function ze(te,F){const G=te.rootNodes;if(1===G.length&&G[0].nodeType===F.ELEMENT_NODE)return G[0];const j=F.createElement("div");return G.forEach(ye=>j.appendChild(ye)),j}function Et(te,F){te.style.width=`${F.width}px`,te.style.height=`${F.height}px`,te.style.transform=De(F.left,F.top)}function gn(te,F){return Math.max(0,Math.min(F,te))}class jt{constructor(F,G){this._element=F,this._dragDropRegistry=G,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(F){this.withItems(F)}sort(F,G,j,ye){const H=this._itemPositions,Ue=this._getItemIndexFromPointerPosition(F,G,j,ye);if(-1===Ue&&H.length>0)return null;const Je="horizontal"===this.orientation,It=H.findIndex(Pt=>Pt.drag===F),Fe=H[Ue],R=Fe.clientRect,ee=It>Ue?1:-1,pe=this._getItemOffsetPx(H[It].clientRect,R,ee),fe=this._getSiblingOffsetPx(It,H,ee),ht=H.slice();return function Nt(te,F,G){const j=gn(F,te.length-1),ye=gn(G,te.length-1);if(j===ye)return;const H=te[j],Ue=ye<j?-1:1;for(let Je=j;Je!==ye;Je+=Ue)te[Je]=te[Je+Ue];te[ye]=H}(H,It,Ue),H.forEach((Pt,Ut)=>{if(ht[Ut]===Pt)return;const tn=Pt.drag===F,fn=tn?pe:fe,yn=tn?F.getPlaceholderElement():Pt.drag.getRootElement();Pt.offset+=fn,Je?(yn.style.transform=We(`translate3d(${Math.round(Pt.offset)}px, 0, 0)`,Pt.initialTransform),je(Pt.clientRect,0,fn)):(yn.style.transform=We(`translate3d(0, ${Math.round(Pt.offset)}px, 0)`,Pt.initialTransform),je(Pt.clientRect,fn,0))}),this._previousSwap.overlaps=lt(R,G,j),this._previousSwap.drag=Fe.drag,this._previousSwap.delta=Je?ye.x:ye.y,{previousIndex:It,currentIndex:Ue}}enter(F,G,j,ye){const H=null==ye||ye<0?this._getItemIndexFromPointerPosition(F,G,j):ye,Ue=this._activeDraggables,Je=Ue.indexOf(F),It=F.getPlaceholderElement();let Fe=Ue[H];if(Fe===F&&(Fe=Ue[H+1]),!Fe&&(null==H||-1===H||H<Ue.length-1)&&this._shouldEnterAsFirstChild(G,j)&&(Fe=Ue[0]),Je>-1&&Ue.splice(Je,1),Fe&&!this._dragDropRegistry.isDragging(Fe)){const Ye=Fe.getRootElement();Ye.parentElement.insertBefore(It,Ye),Ue.splice(H,0,F)}else(0,u.fI)(this._element).appendChild(It),Ue.push(F);It.style.transform="",this._cacheItemPositions()}withItems(F){this._activeDraggables=F.slice(),this._cacheItemPositions()}withSortPredicate(F){this._sortPredicate=F}reset(){this._activeDraggables.forEach(F=>{var G;const j=F.getRootElement();if(j){const ye=null===(G=this._itemPositions.find(H=>H.drag===F))||void 0===G?void 0:G.initialTransform;j.style.transform=ye||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(F){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(j=>j.drag===F)}updateOnScroll(F,G){this._itemPositions.forEach(({clientRect:j})=>{je(j,F,G)}),this._itemPositions.forEach(({drag:j})=>{this._dragDropRegistry.isDragging(j)&&j._sortFromLastPointerPosition()})}_cacheItemPositions(){const F="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(G=>{const j=G.getVisibleElement();return{drag:G,offset:0,initialTransform:j.style.transform||"",clientRect:_e(j)}}).sort((G,j)=>F?G.clientRect.left-j.clientRect.left:G.clientRect.top-j.clientRect.top)}_getItemOffsetPx(F,G,j){const ye="horizontal"===this.orientation;let H=ye?G.left-F.left:G.top-F.top;return-1===j&&(H+=ye?G.width-F.width:G.height-F.height),H}_getSiblingOffsetPx(F,G,j){const ye="horizontal"===this.orientation,H=G[F].clientRect,Ue=G[F+-1*j];let Je=H[ye?"width":"height"]*j;if(Ue){const It=ye?"left":"top",Fe=ye?"right":"bottom";-1===j?Je-=Ue.clientRect[It]-H[Fe]:Je+=H[It]-Ue.clientRect[Fe]}return Je}_shouldEnterAsFirstChild(F,G){if(!this._activeDraggables.length)return!1;const j=this._itemPositions,ye="horizontal"===this.orientation;if(j[0].drag!==this._activeDraggables[0]){const Ue=j[j.length-1].clientRect;return ye?F>=Ue.right:G>=Ue.bottom}{const Ue=j[0].clientRect;return ye?F<=Ue.left:G<=Ue.top}}_getItemIndexFromPointerPosition(F,G,j,ye){const H="horizontal"===this.orientation,Ue=this._itemPositions.findIndex(({drag:Je,clientRect:It})=>{if(Je===F)return!1;if(ye){const Fe=H?ye.x:ye.y;if(Je===this._previousSwap.drag&&this._previousSwap.overlaps&&Fe===this._previousSwap.delta)return!1}return H?G>=Math.floor(It.left)&&G<Math.floor(It.right):j>=Math.floor(It.top)&&j<Math.floor(It.bottom)});return-1!==Ue&&this._sortPredicate(Ue,F)?Ue:-1}}class st{constructor(F,G,j,ye,H){this._dragDropRegistry=G,this._ngZone=ye,this._viewportRuler=H,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new ve.x,this.entered=new ve.x,this.exited=new ve.x,this.dropped=new ve.x,this.sorted=new ve.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=X.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new ve.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function re(te=0,F=Me.z){return te<0&&(te=0),(0,ie.H)(te,te,F)}(0,Ne.Z).pipe((0,ae.R)(this._stopScrollTimers)).subscribe(()=>{const Ue=this._scrollNode,Je=this.autoScrollStep;1===this._verticalScrollDirection?Ue.scrollBy(0,-Je):2===this._verticalScrollDirection&&Ue.scrollBy(0,Je),1===this._horizontalScrollDirection?Ue.scrollBy(-Je,0):2===this._horizontalScrollDirection&&Ue.scrollBy(Je,0)})},this.element=(0,u.fI)(F),this._document=j,this.withScrollableParents([this.element]),G.registerDropContainer(this),this._parentPositions=new it(j),this._sortStrategy=new jt(this.element,G),this._sortStrategy.withSortPredicate((Ue,Je)=>this.sortPredicate(Ue,Je,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(F,G,j,ye){this._draggingStarted(),null==ye&&this.sortingDisabled&&(ye=this._draggables.indexOf(F)),this._sortStrategy.enter(F,G,j,ye),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:F,container:this,currentIndex:this.getItemIndex(F)})}exit(F){this._reset(),this.exited.next({item:F,container:this})}drop(F,G,j,ye,H,Ue,Je,It={}){this._reset(),this.dropped.next({item:F,currentIndex:G,previousIndex:j,container:this,previousContainer:ye,isPointerOverContainer:H,distance:Ue,dropPoint:Je,event:It})}withItems(F){const G=this._draggables;return this._draggables=F,F.forEach(j=>j._withDropContainer(this)),this.isDragging()&&(G.filter(ye=>ye.isDragging()).every(ye=>-1===F.indexOf(ye))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(F){return this._sortStrategy.direction=F,this}connectedTo(F){return this._siblings=F.slice(),this}withOrientation(F){return this._sortStrategy.orientation=F,this}withScrollableParents(F){const G=(0,u.fI)(this.element);return this._scrollableElements=-1===F.indexOf(G)?[G,...F]:F.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(F){return this._isDragging?this._sortStrategy.getItemIndex(F):this._draggables.indexOf(F)}isReceiving(){return this._activeSiblings.size>0}_sortItem(F,G,j,ye){if(this.sortingDisabled||!this._clientRect||!pt(this._clientRect,.05,G,j))return;const H=this._sortStrategy.sort(F,G,j,ye);H&&this.sorted.next({previousIndex:H.previousIndex,currentIndex:H.currentIndex,container:this,item:F})}_startScrollingIfNecessary(F,G){if(this.autoScrollDisabled)return;let j,ye=0,H=0;if(this._parentPositions.positions.forEach((Ue,Je)=>{Je===this._document||!Ue.clientRect||j||pt(Ue.clientRect,.05,F,G)&&([ye,H]=function k(te,F,G,j){const ye=xe(F,j),H=q(F,G);let Ue=0,Je=0;if(ye){const It=te.scrollTop;1===ye?It>0&&(Ue=1):te.scrollHeight-It>te.clientHeight&&(Ue=2)}if(H){const It=te.scrollLeft;1===H?It>0&&(Je=1):te.scrollWidth-It>te.clientWidth&&(Je=2)}return[Ue,Je]}(Je,Ue.clientRect,F,G),(ye||H)&&(j=Je))}),!ye&&!H){const{width:Ue,height:Je}=this._viewportRuler.getViewportSize(),It={width:Ue,height:Je,top:0,right:Ue,bottom:Je,left:0};ye=xe(It,G),H=q(It,F),j=window}j&&(ye!==this._verticalScrollDirection||H!==this._horizontalScrollDirection||j!==this._scrollNode)&&(this._verticalScrollDirection=ye,this._horizontalScrollDirection=H,this._scrollNode=j,(ye||H)&&j?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const F=(0,u.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=F.msScrollSnapType||F.scrollSnapType||"",F.scrollSnapType=F.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const F=(0,u.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(F).clientRect}_reset(){this._isDragging=!1;const F=(0,u.fI)(this.element).style;F.scrollSnapType=F.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(G=>G._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(F,G){return null!=this._clientRect&&lt(this._clientRect,F,G)}_getSiblingContainerFromPosition(F,G,j){return this._siblings.find(ye=>ye._canReceive(F,G,j))}_canReceive(F,G,j){if(!this._clientRect||!lt(this._clientRect,G,j)||!this.enterPredicate(F,this))return!1;const ye=this._getShadowRoot().elementFromPoint(G,j);if(!ye)return!1;const H=(0,u.fI)(this.element);return ye===H||H.contains(ye)}_startReceiving(F,G){const j=this._activeSiblings;!j.has(F)&&G.every(ye=>this.enterPredicate(ye,this)||this._draggables.indexOf(ye)>-1)&&(j.add(F),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(F){this._activeSiblings.delete(F),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(F=>{if(this.isDragging()){const G=this._parentPositions.handleScroll(F);G&&this._sortStrategy.updateOnScroll(G.top,G.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const F=(0,h.kV)((0,u.fI)(this.element));this._cachedShadowRoot=F||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const F=this._sortStrategy.getActiveItemsSnapshot().filter(G=>G.isDragging());this._siblings.forEach(G=>G._startReceiving(this,F))}}function xe(te,F){const{top:G,bottom:j,height:ye}=te,H=.05*ye;return F>=G-H&&F<=G+H?1:F>=j-H&&F<=j+H?2:0}function q(te,F){const{left:G,right:j,width:ye}=te,H=.05*ye;return F>=G-H&&F<=G+H?1:F>=j-H&&F<=j+H?2:0}const W=(0,h.i$)({passive:!1,capture:!0});let Z=(()=>{class te{constructor(G,j){this._ngZone=G,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=ye=>ye.isDragging(),this.pointerMove=new ve.x,this.pointerUp=new ve.x,this.scroll=new ve.x,this._preventDefaultWhileDragging=ye=>{this._activeDragInstances.length>0&&ye.preventDefault()},this._persistentTouchmoveListener=ye=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&ye.preventDefault(),this.pointerMove.next(ye))},this._document=j}registerDropContainer(G){this._dropInstances.has(G)||this._dropInstances.add(G)}registerDragItem(G){this._dragInstances.add(G),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,W)})}removeDropContainer(G){this._dropInstances.delete(G)}removeDragItem(G){this._dragInstances.delete(G),this.stopDragging(G),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,W)}startDragging(G,j){if(!(this._activeDragInstances.indexOf(G)>-1)&&(this._activeDragInstances.push(G),1===this._activeDragInstances.length)){const ye=j.type.startsWith("touch");this._globalListeners.set(ye?"touchend":"mouseup",{handler:H=>this.pointerUp.next(H),options:!0}).set("scroll",{handler:H=>this.scroll.next(H),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:W}),ye||this._globalListeners.set("mousemove",{handler:H=>this.pointerMove.next(H),options:W}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((H,Ue)=>{this._document.addEventListener(Ue,H.handler,H.options)})})}}stopDragging(G){const j=this._activeDragInstances.indexOf(G);j>-1&&(this._activeDragInstances.splice(j,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(G){return this._activeDragInstances.indexOf(G)>-1}scrolled(G){const j=[this.scroll];return G&&G!==this._document&&j.push(new ne.y(ye=>this._ngZone.runOutsideAngular(()=>{const Ue=Je=>{this._activeDragInstances.length&&ye.next(Je)};return G.addEventListener("scroll",Ue,!0),()=>{G.removeEventListener("scroll",Ue,!0)}}))),(0,Ce.T)(...j)}ngOnDestroy(){this._dragInstances.forEach(G=>this.removeDragItem(G)),this._dropInstances.forEach(G=>this.removeDropContainer(G)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((G,j)=>{this._document.removeEventListener(j,G.handler,G.options)}),this._globalListeners.clear()}}return te.\u0275fac=function(G){return new(G||te)(s.LFG(s.R0b),s.LFG(i.K0))},te.\u0275prov=s.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();const Ee={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let tt=(()=>{class te{constructor(G,j,ye,H){this._document=G,this._ngZone=j,this._viewportRuler=ye,this._dragDropRegistry=H}createDrag(G,j=Ee){return new de(G,j,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(G){return new st(G,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return te.\u0275fac=function(G){return new(G||te)(s.LFG(i.K0),s.LFG(s.R0b),s.LFG(Mt.rL),s.LFG(Z))},te.\u0275prov=s.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();const qe=new s.OlP("CDK_DRAG_PARENT"),en=new s.OlP("CDK_DRAG_CONFIG"),Rt=new s.OlP("CdkDropList"),Ge=new s.OlP("CdkDragHandle");let rt=(()=>{class te{constructor(G,j){this.element=G,this._stateChanges=new ve.x,this._disabled=!1,this._parentDrag=j}get disabled(){return this._disabled}set disabled(G){this._disabled=(0,u.Ig)(G),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return te.\u0275fac=function(G){return new(G||te)(s.Y36(s.SBq),s.Y36(qe,12))},te.\u0275dir=s.lG2({type:te,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[s._Bn([{provide:Ge,useExisting:te}])]}),te})();const L=new s.OlP("CdkDragPlaceholder"),T=new s.OlP("CdkDragPreview");let P=(()=>{class te{constructor(G,j,ye,H,Ue,Je,It,Fe,Ye,R,ee){this.element=G,this.dropContainer=j,this._ngZone=H,this._viewContainerRef=Ue,this._dir=It,this._changeDetectorRef=Ye,this._selfHandle=R,this._parentDrag=ee,this._destroyed=new ve.x,this.started=new s.vpe,this.released=new s.vpe,this.ended=new s.vpe,this.entered=new s.vpe,this.exited=new s.vpe,this.dropped=new s.vpe,this.moved=new ne.y(pe=>{const fe=this._dragRef.moved.pipe((0,Ae.U)(ht=>({source:this,pointerPosition:ht.pointerPosition,event:ht.event,delta:ht.delta,distance:ht.distance}))).subscribe(pe);return()=>{fe.unsubscribe()}}),this._dragRef=Fe.createDrag(G,{dragStartThreshold:Je&&null!=Je.dragStartThreshold?Je.dragStartThreshold:5,pointerDirectionChangeThreshold:Je&&null!=Je.pointerDirectionChangeThreshold?Je.pointerDirectionChangeThreshold:5,zIndex:null==Je?void 0:Je.zIndex}),this._dragRef.data=this,te._dragInstances.push(this),Je&&this._assignDefaults(Je),j&&(this._dragRef._withDropContainer(j._dropListRef),j.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(G){this._disabled=(0,u.Ig)(G),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(G){this._dragRef.setFreeDragPosition(G)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Be.q)(1),(0,ae.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(G){const j=G.rootElementSelector,ye=G.freeDragPosition;j&&!j.firstChange&&this._updateRootElement(),ye&&!ye.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const G=te._dragInstances.indexOf(this);G>-1&&te._dragInstances.splice(G,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var G;const j=this.element.nativeElement;let ye=j;this.rootElementSelector&&(ye=void 0!==j.closest?j.closest(this.rootElementSelector):null===(G=j.parentElement)||void 0===G?void 0:G.closest(this.rootElementSelector)),this._dragRef.withRootElement(ye||j)}_getBoundaryElement(){const G=this.boundaryElement;return G?"string"==typeof G?this.element.nativeElement.closest(G):(0,u.fI)(G):null}_syncInputs(G){G.beforeStarted.subscribe(()=>{if(!G.isDragging()){const j=this._dir,ye=this.dragStartDelay,H=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,Ue=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;G.disabled=this.disabled,G.lockAxis=this.lockAxis,G.dragStartDelay="object"==typeof ye&&ye?ye:(0,u.su)(ye),G.constrainPosition=this.constrainPosition,G.previewClass=this.previewClass,G.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(H).withPreviewTemplate(Ue).withPreviewContainer(this.previewContainer||"global"),j&&G.withDirection(j.value)}}),G.beforeStarted.pipe((0,Be.q)(1)).subscribe(()=>{var j;if(this._parentDrag)return void G.withParent(this._parentDrag._dragRef);let ye=this.element.nativeElement.parentElement;for(;ye;){if(ye.classList.contains("cdk-drag")){G.withParent((null===(j=te._dragInstances.find(H=>H.element.nativeElement===ye))||void 0===j?void 0:j._dragRef)||null);break}ye=ye.parentElement}})}_handleEvents(G){G.started.subscribe(j=>{this.started.emit({source:this,event:j.event}),this._changeDetectorRef.markForCheck()}),G.released.subscribe(j=>{this.released.emit({source:this,event:j.event})}),G.ended.subscribe(j=>{this.ended.emit({source:this,distance:j.distance,dropPoint:j.dropPoint,event:j.event}),this._changeDetectorRef.markForCheck()}),G.entered.subscribe(j=>{this.entered.emit({container:j.container.data,item:this,currentIndex:j.currentIndex})}),G.exited.subscribe(j=>{this.exited.emit({container:j.container.data,item:this})}),G.dropped.subscribe(j=>{this.dropped.emit({previousIndex:j.previousIndex,currentIndex:j.currentIndex,previousContainer:j.previousContainer.data,container:j.container.data,isPointerOverContainer:j.isPointerOverContainer,item:this,distance:j.distance,dropPoint:j.dropPoint,event:j.event})})}_assignDefaults(G){const{lockAxis:j,dragStartDelay:ye,constrainPosition:H,previewClass:Ue,boundaryElement:Je,draggingDisabled:It,rootElementSelector:Fe,previewContainer:Ye}=G;this.disabled=null!=It&&It,this.dragStartDelay=ye||0,j&&(this.lockAxis=j),H&&(this.constrainPosition=H),Ue&&(this.previewClass=Ue),Je&&(this.boundaryElement=Je),Fe&&(this.rootElementSelector=Fe),Ye&&(this.previewContainer=Ye)}_setupHandlesListener(){this._handles.changes.pipe((0,Se.O)(this._handles),(0,mt.b)(G=>{const j=G.filter(ye=>ye._parentDrag===this).map(ye=>ye.element);this._selfHandle&&this.rootElementSelector&&j.push(this.element),this._dragRef.withHandles(j)}),(0,bt.w)(G=>(0,Ce.T)(...G.map(j=>j._stateChanges.pipe((0,Se.O)(j))))),(0,ae.R)(this._destroyed)).subscribe(G=>{const j=this._dragRef,ye=G.element.nativeElement;G.disabled?j.disableHandle(ye):j.enableHandle(ye)})}}return te._dragInstances=[],te.\u0275fac=function(G){return new(G||te)(s.Y36(s.SBq),s.Y36(Rt,12),s.Y36(i.K0),s.Y36(s.R0b),s.Y36(s.s_b),s.Y36(en,8),s.Y36(ke.Is,8),s.Y36(tt),s.Y36(s.sBO),s.Y36(Ge,10),s.Y36(qe,12))},te.\u0275dir=s.lG2({type:te,selectors:[["","cdkDrag",""]],contentQueries:function(G,j,ye){if(1&G&&(s.Suo(ye,T,5),s.Suo(ye,L,5),s.Suo(ye,Ge,5)),2&G){let H;s.iGM(H=s.CRH())&&(j._previewTemplate=H.first),s.iGM(H=s.CRH())&&(j._placeholderTemplate=H.first),s.iGM(H=s.CRH())&&(j._handles=H)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(G,j){2&G&&s.ekj("cdk-drag-disabled",j.disabled)("cdk-drag-dragging",j._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[s._Bn([{provide:qe,useExisting:te}]),s.TTD]}),te})(),ue=(()=>{class te{}return te.\u0275fac=function(G){return new(G||te)},te.\u0275mod=s.oAB({type:te}),te.\u0275inj=s.cJS({providers:[tt],imports:[Mt.ZD]}),te})()},1159:(Yt,ut,c)=>{"use strict";c.d(ut,{A:()=>_,JH:()=>Mt,JU:()=>Me,K5:()=>l,Ku:()=>Ce,LH:()=>mt,L_:()=>ne,MW:()=>kt,Mf:()=>h,SV:()=>bt,Sd:()=>Be,VM:()=>ae,Vb:()=>Ji,Z:()=>qe,ZH:()=>i,aO:()=>ft,b2:()=>wn,hY:()=>Ne,jx:()=>ie,oh:()=>Se,uR:()=>Ae,xE:()=>We,yY:()=>le,zL:()=>re});const i=8,h=9,l=13,Me=16,ie=17,re=18,Ne=27,ne=32,Ce=33,ae=34,Ae=35,Be=36,Se=37,mt=38,bt=39,Mt=40,le=46,We=48,ft=57,_=65,qe=90,kt=91,wn=224;function Ji(Si,...si){return si.length?si.some(pi=>Si[pi]):Si.altKey||Si.shiftKey||Si.ctrlKey||Si.metaKey}},5113:(Yt,ut,c)=>{"use strict";c.d(ut,{Yg:()=>Mt,u3:()=>oe,vx:()=>Se});var s=c(5e3),i=c(3191),h=c(7579),u=c(9841),l=c(7272),Me=c(8306),ie=c(5698),re=c(5684),ve=c(8372),X=c(4004),Ne=c(8675),ne=c(2722),Ce=c(925);const Ae=new Set;let Be,Se=(()=>{class he{constructor(We){this._platform=We,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):bt}matchMedia(We){return(this._platform.WEBKIT||this._platform.BLINK)&&function mt(he){if(!Ae.has(he))try{Be||(Be=document.createElement("style"),Be.setAttribute("type","text/css"),document.head.appendChild(Be)),Be.sheet&&(Be.sheet.insertRule(`@media ${he} {body{ }}`,0),Ae.add(he))}catch(le){console.error(le)}}(We),this._matchMedia(We)}}return he.\u0275fac=function(We){return new(We||he)(s.LFG(Ce.t4))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();function bt(he){return{matches:"all"===he||""===he,media:he,addListener:()=>{},removeListener:()=>{}}}let Mt=(()=>{class he{constructor(We,we){this._mediaMatcher=We,this._zone=we,this._queries=new Map,this._destroySubject=new h.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(We){return ke((0,i.Eq)(We)).some(et=>this._registerQuery(et).mql.matches)}observe(We){const et=ke((0,i.Eq)(We)).map(_e=>this._registerQuery(_e).observable);let Xe=(0,u.a)(et);return Xe=(0,l.z)(Xe.pipe((0,ie.q)(1)),Xe.pipe((0,re.T)(1),(0,ve.b)(0))),Xe.pipe((0,X.U)(_e=>{const lt={matches:!1,breakpoints:{}};return _e.forEach(({matches:je,query:pt})=>{lt.matches=lt.matches||je,lt.breakpoints[pt]=je}),lt}))}_registerQuery(We){if(this._queries.has(We))return this._queries.get(We);const we=this._mediaMatcher.matchMedia(We),Xe={observable:new Me.y(_e=>{const lt=je=>this._zone.run(()=>_e.next(je));return we.addListener(lt),()=>{we.removeListener(lt)}}).pipe((0,Ne.O)(we),(0,X.U)(({matches:_e})=>({query:We,matches:_e})),(0,ne.R)(this._destroySubject)),mql:we};return this._queries.set(We,Xe),Xe}}return he.\u0275fac=function(We){return new(We||he)(s.LFG(Se),s.LFG(s.R0b))},he.\u0275prov=s.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();function ke(he){return he.map(le=>le.split(",")).reduce((le,We)=>le.concat(We)).map(le=>le.trim())}const oe={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)"}},7144:(Yt,ut,c)=>{"use strict";c.d(ut,{Q8:()=>ve,wD:()=>re});var s=c(3191),i=c(5e3),h=c(8306),u=c(7579),l=c(8372);let Me=(()=>{class X{create(ne){return"undefined"==typeof MutationObserver?null:new MutationObserver(ne)}}return X.\u0275fac=function(ne){return new(ne||X)},X.\u0275prov=i.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),ie=(()=>{class X{constructor(ne){this._mutationObserverFactory=ne,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((ne,Ce)=>this._cleanupObserver(Ce))}observe(ne){const Ce=(0,s.fI)(ne);return new h.y(ae=>{const Be=this._observeElement(Ce).subscribe(ae);return()=>{Be.unsubscribe(),this._unobserveElement(Ce)}})}_observeElement(ne){if(this._observedElements.has(ne))this._observedElements.get(ne).count++;else{const Ce=new u.x,ae=this._mutationObserverFactory.create(Ae=>Ce.next(Ae));ae&&ae.observe(ne,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(ne,{observer:ae,stream:Ce,count:1})}return this._observedElements.get(ne).stream}_unobserveElement(ne){this._observedElements.has(ne)&&(this._observedElements.get(ne).count--,this._observedElements.get(ne).count||this._cleanupObserver(ne))}_cleanupObserver(ne){if(this._observedElements.has(ne)){const{observer:Ce,stream:ae}=this._observedElements.get(ne);Ce&&Ce.disconnect(),ae.complete(),this._observedElements.delete(ne)}}}return X.\u0275fac=function(ne){return new(ne||X)(i.LFG(Me))},X.\u0275prov=i.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),re=(()=>{class X{constructor(ne,Ce,ae){this._contentObserver=ne,this._elementRef=Ce,this._ngZone=ae,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(ne){this._disabled=(0,s.Ig)(ne),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(ne){this._debounce=(0,s.su)(ne),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const ne=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?ne.pipe((0,l.b)(this.debounce)):ne).subscribe(this.event)})}_unsubscribe(){var ne;null===(ne=this._currentSubscription)||void 0===ne||ne.unsubscribe()}}return X.\u0275fac=function(ne){return new(ne||X)(i.Y36(ie),i.Y36(i.SBq),i.Y36(i.R0b))},X.\u0275dir=i.lG2({type:X,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),X})(),ve=(()=>{class X{}return X.\u0275fac=function(ne){return new(ne||X)},X.\u0275mod=i.oAB({type:X}),X.\u0275inj=i.cJS({providers:[Me]}),X})()},9776:(Yt,ut,c)=>{"use strict";c.d(ut,{pI:()=>jt,xu:()=>gn,_G:()=>St,aV:()=>Nt,X_:()=>we,Xj:()=>it,U8:()=>st,Iu:()=>pt});var s=c(9071),i=c(9808),h=c(5e3),u=c(3191),l=c(925),Me=c(226),ie=c(7429),re=c(7579),ve=c(727),X=c(6451),Ne=c(4482),ne=c(5403),ae=c(5698),Ae=c(2722),Be=c(1159);const Se=(0,l.Mq)();class mt{constructor(k,W){this._viewportRuler=k,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=W}attach(){}enable(){if(this._canBeEnabled()){const k=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=k.style.left||"",this._previousHTMLStyles.top=k.style.top||"",k.style.left=(0,u.HM)(-this._previousScrollPosition.left),k.style.top=(0,u.HM)(-this._previousScrollPosition.top),k.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const k=this._document.documentElement,Z=k.style,Ee=this._document.body.style,tt=Z.scrollBehavior||"",qe=Ee.scrollBehavior||"";this._isEnabled=!1,Z.left=this._previousHTMLStyles.left,Z.top=this._previousHTMLStyles.top,k.classList.remove("cdk-global-scrollblock"),Se&&(Z.scrollBehavior=Ee.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Se&&(Z.scrollBehavior=tt,Ee.scrollBehavior=qe)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const W=this._document.body,Z=this._viewportRuler.getViewportSize();return W.scrollHeight>Z.height||W.scrollWidth>Z.width}}class Mt{constructor(k,W,Z,Ee){this._scrollDispatcher=k,this._ngZone=W,this._viewportRuler=Z,this._config=Ee,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(k){this._overlayRef=k}enable(){if(this._scrollSubscription)return;const k=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=k.subscribe(()=>{const W=this._viewportRuler.getViewportScrollPosition().top;Math.abs(W-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=k.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ke{enable(){}disable(){}attach(){}}function oe(q,k){return k.some(W=>q.bottom<W.top||q.top>W.bottom||q.right<W.left||q.left>W.right)}function he(q,k){return k.some(W=>q.top<W.top||q.bottom>W.bottom||q.left<W.left||q.right>W.right)}class le{constructor(k,W,Z,Ee){this._scrollDispatcher=k,this._viewportRuler=W,this._ngZone=Z,this._config=Ee,this._scrollSubscription=null}attach(k){this._overlayRef=k}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 W=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Z,height:Ee}=this._viewportRuler.getViewportSize();oe(W,[{width:Z,height:Ee,bottom:Ee,right:Z,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 We=(()=>{class q{constructor(W,Z,Ee,tt){this._scrollDispatcher=W,this._viewportRuler=Z,this._ngZone=Ee,this.noop=()=>new ke,this.close=qe=>new Mt(this._scrollDispatcher,this._ngZone,this._viewportRuler,qe),this.block=()=>new mt(this._viewportRuler,this._document),this.reposition=qe=>new le(this._scrollDispatcher,this._viewportRuler,this._ngZone,qe),this._document=tt}}return q.\u0275fac=function(W){return new(W||q)(h.LFG(s.mF),h.LFG(s.rL),h.LFG(h.R0b),h.LFG(i.K0))},q.\u0275prov=h.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})();class we{constructor(k){if(this.scrollStrategy=new ke,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,k){const W=Object.keys(k);for(const Z of W)void 0!==k[Z]&&(this[Z]=k[Z])}}}class _e{constructor(k,W){this.connectionPair=k,this.scrollableViewProperties=W}}class pt{constructor(k,W,Z,Ee,tt,qe,kt,qt,en,Lt=!1){this._portalOutlet=k,this._host=W,this._pane=Z,this._config=Ee,this._ngZone=tt,this._keyboardDispatcher=qe,this._document=kt,this._location=qt,this._outsideClickDispatcher=en,this._animationsDisabled=Lt,this._backdropElement=null,this._backdropClick=new re.x,this._attachments=new re.x,this._detachments=new re.x,this._locationChanges=ve.w0.EMPTY,this._backdropClickHandler=xt=>this._backdropClick.next(xt),this._backdropTransitionendHandler=xt=>{this._disposeBackdrop(xt.target)},this._keydownEvents=new re.x,this._outsidePointerEvents=new re.x,Ee.scrollStrategy&&(this._scrollStrategy=Ee.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ee.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(k){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const W=this._portalOutlet.attach(k);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,ae.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(null==W?void 0:W.onDestroy)&&W.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),W}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const k=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),k}dispose(){var k;const W=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),null===(k=this._host)||void 0===k||k.remove(),this._previousHostParent=this._pane=this._host=null,W&&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(k){k!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=k,this.hasAttached()&&(k.attach(this),this.updatePosition()))}updateSize(k){this._config=Object.assign(Object.assign({},this._config),k),this._updateElementSize()}setDirection(k){this._config=Object.assign(Object.assign({},this._config),{direction:k}),this._updateElementDirection()}addPanelClass(k){this._pane&&this._toggleClasses(this._pane,k,!0)}removePanelClass(k){this._pane&&this._toggleClasses(this._pane,k,!1)}getDirection(){const k=this._config.direction;return k?"string"==typeof k?k:k.value:"ltr"}updateScrollStrategy(k){k!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=k,this.hasAttached()&&(k.attach(this),k.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const k=this._pane.style;k.width=(0,u.HM)(this._config.width),k.height=(0,u.HM)(this._config.height),k.minWidth=(0,u.HM)(this._config.minWidth),k.minHeight=(0,u.HM)(this._config.minHeight),k.maxWidth=(0,u.HM)(this._config.maxWidth),k.maxHeight=(0,u.HM)(this._config.maxHeight)}_togglePointerEvents(k){this._pane.style.pointerEvents=k?"":"none"}_attachBackdrop(){const k="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||"undefined"==typeof requestAnimationFrame?this._backdropElement.classList.add(k):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(k)})})}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const k=this._backdropElement;if(k){if(this._animationsDisabled)return void this._disposeBackdrop(k);k.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{k.addEventListener("transitionend",this._backdropTransitionendHandler)}),k.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(k)},500))}}_toggleClasses(k,W,Z){const Ee=(0,u.Eq)(W||[]).filter(tt=>!!tt);Ee.length&&(Z?k.classList.add(...Ee):k.classList.remove(...Ee))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const k=this._ngZone.onStable.pipe((0,Ae.R)((0,X.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()),k.unsubscribe())})})}_disposeScrollStrategy(){const k=this._scrollStrategy;k&&(k.disable(),k.detach&&k.detach())}_disposeBackdrop(k){k&&(k.removeEventListener("click",this._backdropClickHandler),k.removeEventListener("transitionend",this._backdropTransitionendHandler),k.remove(),this._backdropElement===k&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let it=(()=>{class q{constructor(W,Z){this._platform=Z,this._document=W}ngOnDestroy(){var W;null===(W=this._containerElement)||void 0===W||W.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const W="cdk-overlay-container";if(this._platform.isBrowser||(0,l.Oy)()){const Ee=this._document.querySelectorAll(`.${W}[platform="server"], .${W}[platform="test"]`);for(let tt=0;tt<Ee.length;tt++)Ee[tt].remove()}const Z=this._document.createElement("div");Z.classList.add(W),(0,l.Oy)()?Z.setAttribute("platform","test"):this._platform.isBrowser||Z.setAttribute("platform","server"),this._document.body.appendChild(Z),this._containerElement=Z}}return q.\u0275fac=function(W){return new(W||q)(h.LFG(i.K0),h.LFG(l.t4))},q.\u0275prov=h.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})();const ft="cdk-overlay-connected-position-bounding-box",Ct=/([A-Za-z%]+)$/;class St{constructor(k,W,Z,Ee,tt){this._viewportRuler=W,this._document=Z,this._platform=Ee,this._overlayContainer=tt,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 re.x,this._resizeSubscription=ve.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(k)}get positions(){return this._preferredPositions}attach(k){this._validatePositions(),k.hostElement.classList.add(ft),this._overlayRef=k,this._boundingBox=k.hostElement,this._pane=k.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 k=this._originRect,W=this._overlayRect,Z=this._viewportRect,Ee=this._containerRect,tt=[];let qe;for(let kt of this._preferredPositions){let qt=this._getOriginPoint(k,Ee,kt),en=this._getOverlayPoint(qt,W,kt),Lt=this._getOverlayFit(en,W,Z,kt);if(Lt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(kt,qt);this._canFitWithFlexibleDimensions(Lt,en,Z)?tt.push({position:kt,origin:qt,overlayRect:W,boundingBoxRect:this._calculateBoundingBoxRect(qt,kt)}):(!qe||qe.overlayFit.visibleArea<Lt.visibleArea)&&(qe={overlayFit:Lt,overlayPoint:en,originPoint:qt,position:kt,overlayRect:W})}if(tt.length){let kt=null,qt=-1;for(const en of tt){const Lt=en.boundingBoxRect.width*en.boundingBoxRect.height*(en.position.weight||1);Lt>qt&&(qt=Lt,kt=en)}return this._isPushed=!1,void this._applyPosition(kt.position,kt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(qe.position,qe.originPoint);this._applyPosition(qe.position,qe.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Y(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ft),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const k=this._lastPosition;if(k){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const W=this._getOriginPoint(this._originRect,this._containerRect,k);this._applyPosition(k,W)}else this.apply()}withScrollableContainers(k){return this._scrollables=k,this}withPositions(k){return this._preferredPositions=k,-1===k.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(k){return this._viewportMargin=k,this}withFlexibleDimensions(k=!0){return this._hasFlexibleDimensions=k,this}withGrowAfterOpen(k=!0){return this._growAfterOpen=k,this}withPush(k=!0){return this._canPush=k,this}withLockedPosition(k=!0){return this._positionLocked=k,this}setOrigin(k){return this._origin=k,this}withDefaultOffsetX(k){return this._offsetX=k,this}withDefaultOffsetY(k){return this._offsetY=k,this}withTransformOriginOn(k){return this._transformOriginSelector=k,this}_getOriginPoint(k,W,Z){let Ee,tt;if("center"==Z.originX)Ee=k.left+k.width/2;else{const qe=this._isRtl()?k.right:k.left,kt=this._isRtl()?k.left:k.right;Ee="start"==Z.originX?qe:kt}return W.left<0&&(Ee-=W.left),tt="center"==Z.originY?k.top+k.height/2:"top"==Z.originY?k.top:k.bottom,W.top<0&&(tt-=W.top),{x:Ee,y:tt}}_getOverlayPoint(k,W,Z){let Ee,tt;return Ee="center"==Z.overlayX?-W.width/2:"start"===Z.overlayX?this._isRtl()?-W.width:0:this._isRtl()?0:-W.width,tt="center"==Z.overlayY?-W.height/2:"top"==Z.overlayY?0:-W.height,{x:k.x+Ee,y:k.y+tt}}_getOverlayFit(k,W,Z,Ee){const tt=_(W);let{x:qe,y:kt}=k,qt=this._getOffset(Ee,"x"),en=this._getOffset(Ee,"y");qt&&(qe+=qt),en&&(kt+=en);let Rt=0-kt,ge=kt+tt.height-Z.height,Ge=this._subtractOverflows(tt.width,0-qe,qe+tt.width-Z.width),rt=this._subtractOverflows(tt.height,Rt,ge),L=Ge*rt;return{visibleArea:L,isCompletelyWithinViewport:tt.width*tt.height===L,fitsInViewportVertically:rt===tt.height,fitsInViewportHorizontally:Ge==tt.width}}_canFitWithFlexibleDimensions(k,W,Z){if(this._hasFlexibleDimensions){const Ee=Z.bottom-W.y,tt=Z.right-W.x,qe=B(this._overlayRef.getConfig().minHeight),kt=B(this._overlayRef.getConfig().minWidth),en=k.fitsInViewportHorizontally||null!=kt&&kt<=tt;return(k.fitsInViewportVertically||null!=qe&&qe<=Ee)&&en}return!1}_pushOverlayOnScreen(k,W,Z){if(this._previousPushAmount&&this._positionLocked)return{x:k.x+this._previousPushAmount.x,y:k.y+this._previousPushAmount.y};const Ee=_(W),tt=this._viewportRect,qe=Math.max(k.x+Ee.width-tt.width,0),kt=Math.max(k.y+Ee.height-tt.height,0),qt=Math.max(tt.top-Z.top-k.y,0),en=Math.max(tt.left-Z.left-k.x,0);let Lt=0,xt=0;return Lt=Ee.width<=tt.width?en||-qe:k.x<this._viewportMargin?tt.left-Z.left-k.x:0,xt=Ee.height<=tt.height?qt||-kt:k.y<this._viewportMargin?tt.top-Z.top-k.y:0,this._previousPushAmount={x:Lt,y:xt},{x:k.x+Lt,y:k.y+xt}}_applyPosition(k,W){if(this._setTransformOrigin(k),this._setOverlayElementStyles(W,k),this._setBoundingBoxStyles(W,k),k.panelClass&&this._addPanelClasses(k.panelClass),this._lastPosition=k,this._positionChanges.observers.length){const Z=this._getScrollVisibility(),Ee=new _e(k,Z);this._positionChanges.next(Ee)}this._isInitialRender=!1}_setTransformOrigin(k){if(!this._transformOriginSelector)return;const W=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Z,Ee=k.overlayY;Z="center"===k.overlayX?"center":this._isRtl()?"start"===k.overlayX?"right":"left":"start"===k.overlayX?"left":"right";for(let tt=0;tt<W.length;tt++)W[tt].style.transformOrigin=`${Z} ${Ee}`}_calculateBoundingBoxRect(k,W){const Z=this._viewportRect,Ee=this._isRtl();let tt,qe,kt,Lt,xt,Rt;if("top"===W.overlayY)qe=k.y,tt=Z.height-qe+this._viewportMargin;else if("bottom"===W.overlayY)kt=Z.height-k.y+2*this._viewportMargin,tt=Z.height-kt+this._viewportMargin;else{const ge=Math.min(Z.bottom-k.y+Z.top,k.y),Ge=this._lastBoundingBoxSize.height;tt=2*ge,qe=k.y-ge,tt>Ge&&!this._isInitialRender&&!this._growAfterOpen&&(qe=k.y-Ge/2)}if("end"===W.overlayX&&!Ee||"start"===W.overlayX&&Ee)Rt=Z.width-k.x+this._viewportMargin,Lt=k.x-this._viewportMargin;else if("start"===W.overlayX&&!Ee||"end"===W.overlayX&&Ee)xt=k.x,Lt=Z.right-k.x;else{const ge=Math.min(Z.right-k.x+Z.left,k.x),Ge=this._lastBoundingBoxSize.width;Lt=2*ge,xt=k.x-ge,Lt>Ge&&!this._isInitialRender&&!this._growAfterOpen&&(xt=k.x-Ge/2)}return{top:qe,left:xt,bottom:kt,right:Rt,width:Lt,height:tt}}_setBoundingBoxStyles(k,W){const Z=this._calculateBoundingBoxRect(k,W);!this._isInitialRender&&!this._growAfterOpen&&(Z.height=Math.min(Z.height,this._lastBoundingBoxSize.height),Z.width=Math.min(Z.width,this._lastBoundingBoxSize.width));const Ee={};if(this._hasExactPosition())Ee.top=Ee.left="0",Ee.bottom=Ee.right=Ee.maxHeight=Ee.maxWidth="",Ee.width=Ee.height="100%";else{const tt=this._overlayRef.getConfig().maxHeight,qe=this._overlayRef.getConfig().maxWidth;Ee.height=(0,u.HM)(Z.height),Ee.top=(0,u.HM)(Z.top),Ee.bottom=(0,u.HM)(Z.bottom),Ee.width=(0,u.HM)(Z.width),Ee.left=(0,u.HM)(Z.left),Ee.right=(0,u.HM)(Z.right),Ee.alignItems="center"===W.overlayX?"center":"end"===W.overlayX?"flex-end":"flex-start",Ee.justifyContent="center"===W.overlayY?"center":"bottom"===W.overlayY?"flex-end":"flex-start",tt&&(Ee.maxHeight=(0,u.HM)(tt)),qe&&(Ee.maxWidth=(0,u.HM)(qe))}this._lastBoundingBoxSize=Z,Y(this._boundingBox.style,Ee)}_resetBoundingBoxStyles(){Y(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Y(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(k,W){const Z={},Ee=this._hasExactPosition(),tt=this._hasFlexibleDimensions,qe=this._overlayRef.getConfig();if(Ee){const Lt=this._viewportRuler.getViewportScrollPosition();Y(Z,this._getExactOverlayY(W,k,Lt)),Y(Z,this._getExactOverlayX(W,k,Lt))}else Z.position="static";let kt="",qt=this._getOffset(W,"x"),en=this._getOffset(W,"y");qt&&(kt+=`translateX(${qt}px) `),en&&(kt+=`translateY(${en}px)`),Z.transform=kt.trim(),qe.maxHeight&&(Ee?Z.maxHeight=(0,u.HM)(qe.maxHeight):tt&&(Z.maxHeight="")),qe.maxWidth&&(Ee?Z.maxWidth=(0,u.HM)(qe.maxWidth):tt&&(Z.maxWidth="")),Y(this._pane.style,Z)}_getExactOverlayY(k,W,Z){let Ee={top:"",bottom:""},tt=this._getOverlayPoint(W,this._overlayRect,k);return this._isPushed&&(tt=this._pushOverlayOnScreen(tt,this._overlayRect,Z)),"bottom"===k.overlayY?Ee.bottom=this._document.documentElement.clientHeight-(tt.y+this._overlayRect.height)+"px":Ee.top=(0,u.HM)(tt.y),Ee}_getExactOverlayX(k,W,Z){let qe,Ee={left:"",right:""},tt=this._getOverlayPoint(W,this._overlayRect,k);return this._isPushed&&(tt=this._pushOverlayOnScreen(tt,this._overlayRect,Z)),qe=this._isRtl()?"end"===k.overlayX?"left":"right":"end"===k.overlayX?"right":"left","right"===qe?Ee.right=this._document.documentElement.clientWidth-(tt.x+this._overlayRect.width)+"px":Ee.left=(0,u.HM)(tt.x),Ee}_getScrollVisibility(){const k=this._getOriginRect(),W=this._pane.getBoundingClientRect(),Z=this._scrollables.map(Ee=>Ee.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:he(k,Z),isOriginOutsideView:oe(k,Z),isOverlayClipped:he(W,Z),isOverlayOutsideView:oe(W,Z)}}_subtractOverflows(k,...W){return W.reduce((Z,Ee)=>Z-Math.max(Ee,0),k)}_getNarrowedViewportRect(){const k=this._document.documentElement.clientWidth,W=this._document.documentElement.clientHeight,Z=this._viewportRuler.getViewportScrollPosition();return{top:Z.top+this._viewportMargin,left:Z.left+this._viewportMargin,right:Z.left+k-this._viewportMargin,bottom:Z.top+W-this._viewportMargin,width:k-2*this._viewportMargin,height:W-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(k,W){return"x"===W?null==k.offsetX?this._offsetX:k.offsetX:null==k.offsetY?this._offsetY:k.offsetY}_validatePositions(){}_addPanelClasses(k){this._pane&&(0,u.Eq)(k).forEach(W=>{""!==W&&-1===this._appliedPanelClasses.indexOf(W)&&(this._appliedPanelClasses.push(W),this._pane.classList.add(W))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(k=>{this._pane.classList.remove(k)}),this._appliedPanelClasses=[])}_getOriginRect(){const k=this._origin;if(k instanceof h.SBq)return k.nativeElement.getBoundingClientRect();if(k instanceof Element)return k.getBoundingClientRect();const W=k.width||0,Z=k.height||0;return{top:k.y,bottom:k.y+Z,left:k.x,right:k.x+W,height:Z,width:W}}}function Y(q,k){for(let W in k)k.hasOwnProperty(W)&&(q[W]=k[W]);return q}function B(q){if("number"!=typeof q&&null!=q){const[k,W]=q.split(Ct);return W&&"px"!==W?null:parseFloat(k)}return q||null}function _(q){return{top:Math.floor(q.top),right:Math.floor(q.right),bottom:Math.floor(q.bottom),left:Math.floor(q.left),width:Math.floor(q.width),height:Math.floor(q.height)}}const se="cdk-global-overlay-wrapper";class de{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(k){const W=k.getConfig();this._overlayRef=k,this._width&&!W.width&&k.updateSize({width:this._width}),this._height&&!W.height&&k.updateSize({height:this._height}),k.hostElement.classList.add(se),this._isDisposed=!1}top(k=""){return this._bottomOffset="",this._topOffset=k,this._alignItems="flex-start",this}left(k=""){return this._xOffset=k,this._xPosition="left",this}bottom(k=""){return this._topOffset="",this._bottomOffset=k,this._alignItems="flex-end",this}right(k=""){return this._xOffset=k,this._xPosition="right",this}start(k=""){return this._xOffset=k,this._xPosition="start",this}end(k=""){return this._xOffset=k,this._xPosition="end",this}width(k=""){return this._overlayRef?this._overlayRef.updateSize({width:k}):this._width=k,this}height(k=""){return this._overlayRef?this._overlayRef.updateSize({height:k}):this._height=k,this}centerHorizontally(k=""){return this.left(k),this._xPosition="center",this}centerVertically(k=""){return this.top(k),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const k=this._overlayRef.overlayElement.style,W=this._overlayRef.hostElement.style,Z=this._overlayRef.getConfig(),{width:Ee,height:tt,maxWidth:qe,maxHeight:kt}=Z,qt=!("100%"!==Ee&&"100vw"!==Ee||qe&&"100%"!==qe&&"100vw"!==qe),en=!("100%"!==tt&&"100vh"!==tt||kt&&"100%"!==kt&&"100vh"!==kt),Lt=this._xPosition,xt=this._xOffset,Rt="rtl"===this._overlayRef.getConfig().direction;let ge="",Ge="",rt="";qt?rt="flex-start":"center"===Lt?(rt="center",Rt?Ge=xt:ge=xt):Rt?"left"===Lt||"end"===Lt?(rt="flex-end",ge=xt):("right"===Lt||"start"===Lt)&&(rt="flex-start",Ge=xt):"left"===Lt||"start"===Lt?(rt="flex-start",ge=xt):("right"===Lt||"end"===Lt)&&(rt="flex-end",Ge=xt),k.position=this._cssPosition,k.marginLeft=qt?"0":ge,k.marginTop=en?"0":this._topOffset,k.marginBottom=this._bottomOffset,k.marginRight=qt?"0":Ge,W.justifyContent=rt,W.alignItems=en?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const k=this._overlayRef.overlayElement.style,W=this._overlayRef.hostElement,Z=W.style;W.classList.remove(se),Z.justifyContent=Z.alignItems=k.marginTop=k.marginBottom=k.marginLeft=k.marginRight=k.position="",this._overlayRef=null,this._isDisposed=!0}}let De=(()=>{class q{constructor(W,Z,Ee,tt){this._viewportRuler=W,this._document=Z,this._platform=Ee,this._overlayContainer=tt}global(){return new de}flexibleConnectedTo(W){return new St(W,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return q.\u0275fac=function(W){return new(W||q)(h.LFG(s.rL),h.LFG(i.K0),h.LFG(l.t4),h.LFG(it))},q.\u0275prov=h.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})(),Ke=(()=>{class q{constructor(W){this._attachedOverlays=[],this._document=W}ngOnDestroy(){this.detach()}add(W){this.remove(W),this._attachedOverlays.push(W)}remove(W){const Z=this._attachedOverlays.indexOf(W);Z>-1&&this._attachedOverlays.splice(Z,1),0===this._attachedOverlays.length&&this.detach()}}return q.\u0275fac=function(W){return new(W||q)(h.LFG(i.K0))},q.\u0275prov=h.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})(),gt=(()=>{class q extends Ke{constructor(W,Z){super(W),this._ngZone=Z,this._keydownListener=Ee=>{const tt=this._attachedOverlays;for(let qe=tt.length-1;qe>-1;qe--)if(tt[qe]._keydownEvents.observers.length>0){const kt=tt[qe]._keydownEvents;this._ngZone?this._ngZone.run(()=>kt.next(Ee)):kt.next(Ee);break}}}add(W){super.add(W),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 q.\u0275fac=function(W){return new(W||q)(h.LFG(i.K0),h.LFG(h.R0b,8))},q.\u0275prov=h.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})(),ze=(()=>{class q extends Ke{constructor(W,Z,Ee){super(W),this._platform=Z,this._ngZone=Ee,this._cursorStyleIsSet=!1,this._pointerDownListener=tt=>{this._pointerDownEventTarget=(0,l.sA)(tt)},this._clickListener=tt=>{const qe=(0,l.sA)(tt),kt="click"===tt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:qe;this._pointerDownEventTarget=null;const qt=this._attachedOverlays.slice();for(let en=qt.length-1;en>-1;en--){const Lt=qt[en];if(Lt._outsidePointerEvents.observers.length<1||!Lt.hasAttached())continue;if(Lt.overlayElement.contains(qe)||Lt.overlayElement.contains(kt))break;const xt=Lt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>xt.next(tt)):xt.next(tt)}}}add(W){if(super.add(W),!this._isAttached){const Z=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Z)):this._addEventListeners(Z),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Z.style.cursor,Z.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const W=this._document.body;W.removeEventListener("pointerdown",this._pointerDownListener,!0),W.removeEventListener("click",this._clickListener,!0),W.removeEventListener("auxclick",this._clickListener,!0),W.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(W.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(W){W.addEventListener("pointerdown",this._pointerDownListener,!0),W.addEventListener("click",this._clickListener,!0),W.addEventListener("auxclick",this._clickListener,!0),W.addEventListener("contextmenu",this._clickListener,!0)}}return q.\u0275fac=function(W){return new(W||q)(h.LFG(i.K0),h.LFG(l.t4),h.LFG(h.R0b,8))},q.\u0275prov=h.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})(),Et=0,Nt=(()=>{class q{constructor(W,Z,Ee,tt,qe,kt,qt,en,Lt,xt,Rt,ge){this.scrollStrategies=W,this._overlayContainer=Z,this._componentFactoryResolver=Ee,this._positionBuilder=tt,this._keyboardDispatcher=qe,this._injector=kt,this._ngZone=qt,this._document=en,this._directionality=Lt,this._location=xt,this._outsideClickDispatcher=Rt,this._animationsModuleType=ge}create(W){const Z=this._createHostElement(),Ee=this._createPaneElement(Z),tt=this._createPortalOutlet(Ee),qe=new we(W);return qe.direction=qe.direction||this._directionality.value,new pt(tt,Z,Ee,qe,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(W){const Z=this._document.createElement("div");return Z.id="cdk-overlay-"+Et++,Z.classList.add("cdk-overlay-pane"),W.appendChild(Z),Z}_createHostElement(){const W=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(W),W}_createPortalOutlet(W){return this._appRef||(this._appRef=this._injector.get(h.z2F)),new ie.u0(W,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return q.\u0275fac=function(W){return new(W||q)(h.LFG(We),h.LFG(it),h.LFG(h._Vd),h.LFG(De),h.LFG(gt),h.LFG(h.zs3),h.LFG(h.R0b),h.LFG(i.K0),h.LFG(Me.Is),h.LFG(i.Ye),h.LFG(ze),h.LFG(h.QbO,8))},q.\u0275prov=h.Yz7({token:q,factory:q.\u0275fac}),q})();const $t=[{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"}],ln=new h.OlP("cdk-connected-overlay-scroll-strategy");let gn=(()=>{class q{constructor(W){this.elementRef=W}}return q.\u0275fac=function(W){return new(W||q)(h.Y36(h.SBq))},q.\u0275dir=h.lG2({type:q,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),q})(),jt=(()=>{class q{constructor(W,Z,Ee,tt,qe){this._overlay=W,this._dir=qe,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ve.w0.EMPTY,this._attachSubscription=ve.w0.EMPTY,this._detachSubscription=ve.w0.EMPTY,this._positionSubscription=ve.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new h.vpe,this.positionChange=new h.vpe,this.attach=new h.vpe,this.detach=new h.vpe,this.overlayKeydown=new h.vpe,this.overlayOutsideClick=new h.vpe,this._templatePortal=new ie.UE(Z,Ee),this._scrollStrategyFactory=tt,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(W){this._offsetX=W,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(W){this._offsetY=W,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(W){this._hasBackdrop=(0,u.Ig)(W)}get lockPosition(){return this._lockPosition}set lockPosition(W){this._lockPosition=(0,u.Ig)(W)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(W){this._flexibleDimensions=(0,u.Ig)(W)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(W){this._growAfterOpen=(0,u.Ig)(W)}get push(){return this._push}set push(W){this._push=(0,u.Ig)(W)}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(W){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),W.origin&&this.open&&this._position.apply()),W.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=$t);const W=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=W.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=W.detachments().subscribe(()=>this.detach.emit()),W.keydownEvents().subscribe(Z=>{this.overlayKeydown.next(Z),Z.keyCode===Be.hY&&!this.disableClose&&!(0,Be.Vb)(Z)&&(Z.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Z=>{this.overlayOutsideClick.next(Z)})}_buildConfig(){const W=this._position=this.positionStrategy||this._createPositionStrategy(),Z=new we({direction:this._dir,positionStrategy:W,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Z.width=this.width),(this.height||0===this.height)&&(Z.height=this.height),(this.minWidth||0===this.minWidth)&&(Z.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Z.minHeight=this.minHeight),this.backdropClass&&(Z.backdropClass=this.backdropClass),this.panelClass&&(Z.panelClass=this.panelClass),Z}_updatePositionStrategy(W){const Z=this.positions.map(Ee=>({originX:Ee.originX,originY:Ee.originY,overlayX:Ee.overlayX,overlayY:Ee.overlayY,offsetX:Ee.offsetX||this.offsetX,offsetY:Ee.offsetY||this.offsetY,panelClass:Ee.panelClass||void 0}));return W.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Z).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const W=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(W),W}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof gn?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(W=>{this.backdropClick.emit(W)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Ce(q,k=!1){return(0,Ne.e)((W,Z)=>{let Ee=0;W.subscribe((0,ne.x)(Z,tt=>{const qe=q(tt,Ee++);(qe||k)&&Z.next(tt),!qe&&Z.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(W=>{this.positionChange.emit(W),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return q.\u0275fac=function(W){return new(W||q)(h.Y36(Nt),h.Y36(h.Rgc),h.Y36(h.s_b),h.Y36(ln),h.Y36(Me.Is,8))},q.\u0275dir=h.lG2({type:q,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"],features:[h.TTD]}),q})();const Qe={provide:ln,deps:[Nt],useFactory:function cn(q){return()=>q.scrollStrategies.reposition()}};let st=(()=>{class q{}return q.\u0275fac=function(W){return new(W||q)},q.\u0275mod=h.oAB({type:q}),q.\u0275inj=h.cJS({providers:[Nt,Qe],imports:[Me.vT,ie.eL,s.Cl,s.Cl]}),q})()},925:(Yt,ut,c)=>{"use strict";c.d(ut,{Mq:()=>ae,Oy:()=>ke,_i:()=>Ae,ht:()=>bt,i$:()=>Ne,kV:()=>mt,qK:()=>re,sA:()=>Mt,t4:()=>u,ud:()=>l});var s=c(5e3),i=c(9808);let h;try{h="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(oe){h=!1}let Me,u=(()=>{class oe{constructor(le){this._platformId=le,this.isBrowser=this._platformId?(0,i.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&&!h)&&"undefined"!=typeof CSS&&!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 oe.\u0275fac=function(le){return new(le||oe)(s.LFG(s.Lbi))},oe.\u0275prov=s.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),l=(()=>{class oe{}return oe.\u0275fac=function(le){return new(le||oe)},oe.\u0275mod=s.oAB({type:oe}),oe.\u0275inj=s.cJS({}),oe})();const ie=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function re(){if(Me)return Me;if("object"!=typeof document||!document)return Me=new Set(ie),Me;let oe=document.createElement("input");return Me=new Set(ie.filter(he=>(oe.setAttribute("type",he),oe.type===he))),Me}let ve,ne,Ce,Be;function Ne(oe){return function X(){if(null==ve&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ve=!0}))}finally{ve=ve||!1}return ve}()?oe:!!oe.capture}function ae(){if(null==Ce){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ce=!1,Ce;if("scrollBehavior"in document.documentElement.style)Ce=!0;else{const oe=Element.prototype.scrollTo;Ce=!!oe&&!/\{\s*\[native code\]\s*\}/.test(oe.toString())}}return Ce}function Ae(){if("object"!=typeof document||!document)return 0;if(null==ne){const oe=document.createElement("div"),he=oe.style;oe.dir="rtl",he.width="1px",he.overflow="auto",he.visibility="hidden",he.pointerEvents="none",he.position="absolute";const le=document.createElement("div"),We=le.style;We.width="2px",We.height="1px",oe.appendChild(le),document.body.appendChild(oe),ne=0,0===oe.scrollLeft&&(oe.scrollLeft=1,ne=0===oe.scrollLeft?1:2),oe.remove()}return ne}function mt(oe){if(function Se(){if(null==Be){const oe="undefined"!=typeof document?document.head:null;Be=!(!oe||!oe.createShadowRoot&&!oe.attachShadow)}return Be}()){const he=oe.getRootNode?oe.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&he instanceof ShadowRoot)return he}return null}function bt(){let oe="undefined"!=typeof document&&document?document.activeElement:null;for(;oe&&oe.shadowRoot;){const he=oe.shadowRoot.activeElement;if(he===oe)break;oe=he}return oe}function Mt(oe){return oe.composedPath?oe.composedPath()[0]:oe.target}function ke(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(Yt,ut,c)=>{"use strict";c.d(ut,{C5:()=>X,Pl:()=>bt,UE:()=>Ne,eL:()=>ke,en:()=>Ce,u0:()=>Ae});var s=c(5e3),i=c(9808);class ve{attach(le){return this._attachedHost=le,le.attach(this)}detach(){let le=this._attachedHost;null!=le&&(this._attachedHost=null,le.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(le){this._attachedHost=le}}class X extends ve{constructor(le,We,we,et){super(),this.component=le,this.viewContainerRef=We,this.injector=we,this.componentFactoryResolver=et}}class Ne extends ve{constructor(le,We,we,et){super(),this.templateRef=le,this.viewContainerRef=We,this.context=we,this.injector=et}get origin(){return this.templateRef.elementRef}attach(le,We=this.context){return this.context=We,super.attach(le)}detach(){return this.context=void 0,super.detach()}}class ne extends ve{constructor(le){super(),this.element=le instanceof s.SBq?le.nativeElement:le}}class Ce{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(le){return le instanceof X?(this._attachedPortal=le,this.attachComponentPortal(le)):le instanceof Ne?(this._attachedPortal=le,this.attachTemplatePortal(le)):this.attachDomPortal&&le instanceof ne?(this._attachedPortal=le,this.attachDomPortal(le)):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(le){this._disposeFn=le}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Ae extends Ce{constructor(le,We,we,et,Xe){super(),this.outletElement=le,this._componentFactoryResolver=We,this._appRef=we,this._defaultInjector=et,this.attachDomPortal=_e=>{const lt=_e.element,je=this._document.createComment("dom-portal");lt.parentNode.insertBefore(je,lt),this.outletElement.appendChild(lt),this._attachedPortal=_e,super.setDisposeFn(()=>{je.parentNode&&je.parentNode.replaceChild(lt,je)})},this._document=Xe}attachComponentPortal(le){const we=(le.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(le.component);let et;return le.viewContainerRef?(et=le.viewContainerRef.createComponent(we,le.viewContainerRef.length,le.injector||le.viewContainerRef.injector),this.setDisposeFn(()=>et.destroy())):(et=we.create(le.injector||this._defaultInjector||s.zs3.NULL),this._appRef.attachView(et.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(et.hostView),et.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(et)),this._attachedPortal=le,et}attachTemplatePortal(le){let We=le.viewContainerRef,we=We.createEmbeddedView(le.templateRef,le.context,{injector:le.injector});return we.rootNodes.forEach(et=>this.outletElement.appendChild(et)),we.detectChanges(),this.setDisposeFn(()=>{let et=We.indexOf(we);-1!==et&&We.remove(et)}),this._attachedPortal=le,we}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(le){return le.hostView.rootNodes[0]}}let bt=(()=>{class he extends Ce{constructor(We,we,et){super(),this._componentFactoryResolver=We,this._viewContainerRef=we,this._isInitialized=!1,this.attached=new s.vpe,this.attachDomPortal=Xe=>{const _e=Xe.element,lt=this._document.createComment("dom-portal");Xe.setAttachedHost(this),_e.parentNode.insertBefore(lt,_e),this._getRootNode().appendChild(_e),this._attachedPortal=Xe,super.setDisposeFn(()=>{lt.parentNode&&lt.parentNode.replaceChild(_e,lt)})},this._document=et}get portal(){return this._attachedPortal}set portal(We){this.hasAttached()&&!We&&!this._isInitialized||(this.hasAttached()&&super.detach(),We&&super.attach(We),this._attachedPortal=We||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(We){We.setAttachedHost(this);const we=null!=We.viewContainerRef?We.viewContainerRef:this._viewContainerRef,Xe=(We.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(We.component),_e=we.createComponent(Xe,we.length,We.injector||we.injector);return we!==this._viewContainerRef&&this._getRootNode().appendChild(_e.hostView.rootNodes[0]),super.setDisposeFn(()=>_e.destroy()),this._attachedPortal=We,this._attachedRef=_e,this.attached.emit(_e),_e}attachTemplatePortal(We){We.setAttachedHost(this);const we=this._viewContainerRef.createEmbeddedView(We.templateRef,We.context,{injector:We.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=We,this._attachedRef=we,this.attached.emit(we),we}_getRootNode(){const We=this._viewContainerRef.element.nativeElement;return We.nodeType===We.ELEMENT_NODE?We:We.parentNode}}return he.\u0275fac=function(We){return new(We||he)(s.Y36(s._Vd),s.Y36(s.s_b),s.Y36(i.K0))},he.\u0275dir=s.lG2({type:he,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[s.qOj]}),he})(),ke=(()=>{class he{}return he.\u0275fac=function(We){return new(We||he)},he.\u0275mod=s.oAB({type:he}),he.\u0275inj=s.cJS({}),he})()},9071:(Yt,ut,c)=>{"use strict";c.d(ut,{Cl:()=>St,PQ:()=>he,ZD:()=>Ct,mF:()=>oe,rL:()=>et});var s=c(3191),i=c(5e3),h=c(7579),u=c(9646),l=c(8306),Me=c(4968),ve=(c(6406),c(3101),c(3601)),X=c(9300),Ne=c(2722),ne=c(9808),Ce=c(925),ae=c(226);let oe=(()=>{class Y{constructor(_,A,J){this._ngZone=_,this._platform=A,this._scrolled=new h.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=J}register(_){this.scrollContainers.has(_)||this.scrollContainers.set(_,_.elementScrolled().subscribe(()=>this._scrolled.next(_)))}deregister(_){const A=this.scrollContainers.get(_);A&&(A.unsubscribe(),this.scrollContainers.delete(_))}scrolled(_=20){return this._platform.isBrowser?new l.y(A=>{this._globalSubscription||this._addGlobalListener();const J=_>0?this._scrolled.pipe((0,ve.e)(_)).subscribe(A):this._scrolled.subscribe(A);return this._scrolledCount++,()=>{J.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,u.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((_,A)=>this.deregister(A)),this._scrolled.complete()}ancestorScrolled(_,A){const J=this.getAncestorScrollContainers(_);return this.scrolled(A).pipe((0,X.h)(se=>!se||J.indexOf(se)>-1))}getAncestorScrollContainers(_){const A=[];return this.scrollContainers.forEach((J,se)=>{this._scrollableContainsElement(se,_)&&A.push(se)}),A}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(_,A){let J=(0,s.fI)(A),se=_.getElementRef().nativeElement;do{if(J==se)return!0}while(J=J.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const _=this._getWindow();return(0,Me.R)(_.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Y.\u0275fac=function(_){return new(_||Y)(i.LFG(i.R0b),i.LFG(Ce.t4),i.LFG(ne.K0,8))},Y.\u0275prov=i.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),he=(()=>{class Y{constructor(_,A,J,se){this.elementRef=_,this.scrollDispatcher=A,this.ngZone=J,this.dir=se,this._destroyed=new h.x,this._elementScrolled=new l.y(de=>this.ngZone.runOutsideAngular(()=>(0,Me.R)(this.elementRef.nativeElement,"scroll").pipe((0,Ne.R)(this._destroyed)).subscribe(de)))}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(_){const A=this.elementRef.nativeElement,J=this.dir&&"rtl"==this.dir.value;null==_.left&&(_.left=J?_.end:_.start),null==_.right&&(_.right=J?_.start:_.end),null!=_.bottom&&(_.top=A.scrollHeight-A.clientHeight-_.bottom),J&&0!=(0,Ce._i)()?(null!=_.left&&(_.right=A.scrollWidth-A.clientWidth-_.left),2==(0,Ce._i)()?_.left=_.right:1==(0,Ce._i)()&&(_.left=_.right?-_.right:_.right)):null!=_.right&&(_.left=A.scrollWidth-A.clientWidth-_.right),this._applyScrollToOptions(_)}_applyScrollToOptions(_){const A=this.elementRef.nativeElement;(0,Ce.Mq)()?A.scrollTo(_):(null!=_.top&&(A.scrollTop=_.top),null!=_.left&&(A.scrollLeft=_.left))}measureScrollOffset(_){const A="left",J="right",se=this.elementRef.nativeElement;if("top"==_)return se.scrollTop;if("bottom"==_)return se.scrollHeight-se.clientHeight-se.scrollTop;const de=this.dir&&"rtl"==this.dir.value;return"start"==_?_=de?J:A:"end"==_&&(_=de?A:J),de&&2==(0,Ce._i)()?_==A?se.scrollWidth-se.clientWidth-se.scrollLeft:se.scrollLeft:de&&1==(0,Ce._i)()?_==A?se.scrollLeft+se.scrollWidth-se.clientWidth:-se.scrollLeft:_==A?se.scrollLeft:se.scrollWidth-se.clientWidth-se.scrollLeft}}return Y.\u0275fac=function(_){return new(_||Y)(i.Y36(i.SBq),i.Y36(oe),i.Y36(i.R0b),i.Y36(ae.Is,8))},Y.\u0275dir=i.lG2({type:Y,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Y})(),et=(()=>{class Y{constructor(_,A,J){this._platform=_,this._change=new h.x,this._changeListener=se=>{this._change.next(se)},this._document=J,A.runOutsideAngular(()=>{if(_.isBrowser){const se=this._getWindow();se.addEventListener("resize",this._changeListener),se.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const _=this._getWindow();_.removeEventListener("resize",this._changeListener),_.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const _={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),_}getViewportRect(){const _=this.getViewportScrollPosition(),{width:A,height:J}=this.getViewportSize();return{top:_.top,left:_.left,bottom:_.top+J,right:_.left+A,height:J,width:A}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const _=this._document,A=this._getWindow(),J=_.documentElement,se=J.getBoundingClientRect();return{top:-se.top||_.body.scrollTop||A.scrollY||J.scrollTop||0,left:-se.left||_.body.scrollLeft||A.scrollX||J.scrollLeft||0}}change(_=20){return _>0?this._change.pipe((0,ve.e)(_)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const _=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:_.innerWidth,height:_.innerHeight}:{width:0,height:0}}}return Y.\u0275fac=function(_){return new(_||Y)(i.LFG(Ce.t4),i.LFG(i.R0b),i.LFG(ne.K0,8))},Y.\u0275prov=i.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),Ct=(()=>{class Y{}return Y.\u0275fac=function(_){return new(_||Y)},Y.\u0275mod=i.oAB({type:Y}),Y.\u0275inj=i.cJS({}),Y})(),St=(()=>{class Y{}return Y.\u0275fac=function(_){return new(_||Y)},Y.\u0275mod=i.oAB({type:Y}),Y.\u0275inj=i.cJS({imports:[ae.vT,Ct,ae.vT,Ct]}),Y})()},7587:(Yt,ut,c)=>{"use strict";c.d(ut,{pN:()=>oe,hD:()=>it,O_:()=>le,Kb:()=>gt,fo:()=>_e,QJ:()=>pt,Z4:()=>we,qM:()=>Et,fe:()=>De,Af:()=>je,D5:()=>We,xN:()=>ze,s$:()=>J,r2:()=>$t,_J:()=>Nt,Sq:()=>Ke,zC:()=>xt,HT:()=>rt,Hx:()=>ge,T$:()=>tt,$E:()=>kt,FT:()=>qe,bH:()=>qt,pF:()=>Z,nl:()=>Ct,oF:()=>St});var s=c(3191),i=c(449),h=c(9808),u=c(5e3),l=c(8306),Me=c(576),re=c(7579),ve=c(2076),X=c(1135),Ne=c(9646),ne=c(2722),Ce=c(5698),ae=c(226),Ae=c(925),Be=c(9071);const Se=[[["caption"]],[["colgroup"],["col"]]],mt=["caption","colgroup, col"];function bt(L,me){if(1&L&&(u.TgZ(0,"th",3),u._uU(1),u.qZA()),2&L){const T=u.oxw();u.Udp("text-align",T.justify),u.xp6(1),u.hij(" ",T.headerText," ")}}function Mt(L,me){if(1&L&&(u.TgZ(0,"td",4),u._uU(1),u.qZA()),2&L){const T=me.$implicit,D=u.oxw();u.Udp("text-align",D.justify),u.xp6(1),u.hij(" ",D.dataAccessor(T,D.name)," ")}}function ke(L){return class extends L{constructor(...me){super(...me),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(me){const T=this._sticky;this._sticky=(0,s.Ig)(me),this._hasStickyChanged=T!==this._sticky}hasStickyChanged(){const me=this._hasStickyChanged;return this._hasStickyChanged=!1,me}resetStickyChanged(){this._hasStickyChanged=!1}}}const oe=new u.OlP("CDK_TABLE"),he=new u.OlP("text-column-options");let le=(()=>{class L{constructor(T){this.template=T}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.Rgc))},L.\u0275dir=u.lG2({type:L,selectors:[["","cdkCellDef",""]]}),L})(),We=(()=>{class L{constructor(T){this.template=T}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.Rgc))},L.\u0275dir=u.lG2({type:L,selectors:[["","cdkHeaderCellDef",""]]}),L})(),we=(()=>{class L{constructor(T){this.template=T}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.Rgc))},L.\u0275dir=u.lG2({type:L,selectors:[["","cdkFooterCellDef",""]]}),L})();class et{}const Xe=ke(et);let _e=(()=>{class L extends Xe{constructor(T){super(),this._table=T,this._stickyEnd=!1}get name(){return this._name}set name(T){this._setNameInput(T)}get stickyEnd(){return this._stickyEnd}set stickyEnd(T){const D=this._stickyEnd;this._stickyEnd=(0,s.Ig)(T),this._hasStickyChanged=D!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(T){T&&(this._name=T,this.cssClassFriendlyName=T.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(oe,8))},L.\u0275dir=u.lG2({type:L,selectors:[["","cdkColumnDef",""]],contentQueries:function(T,D,z){if(1&T&&(u.Suo(z,le,5),u.Suo(z,We,5),u.Suo(z,we,5)),2&T){let P;u.iGM(P=u.CRH())&&(D.cell=P.first),u.iGM(P=u.CRH())&&(D.headerCell=P.first),u.iGM(P=u.CRH())&&(D.footerCell=P.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[u._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:L}]),u.qOj]}),L})();class lt{constructor(me,T){T.nativeElement.classList.add(...me._columnCssClassName)}}let je=(()=>{class L extends lt{constructor(T,D){super(T,D)}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(_e),u.Y36(u.SBq))},L.\u0275dir=u.lG2({type:L,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[u.qOj]}),L})(),pt=(()=>{class L extends lt{constructor(T,D){var z;if(super(T,D),1===(null===(z=T._table)||void 0===z?void 0:z._elementRef.nativeElement.nodeType)){const P=T._table._elementRef.nativeElement.getAttribute("role");D.nativeElement.setAttribute("role","grid"===P||"treegrid"===P?"gridcell":"cell")}}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(_e),u.Y36(u.SBq))},L.\u0275dir=u.lG2({type:L,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[u.qOj]}),L})(),it=(()=>{class L extends lt{constructor(T,D){var z;if(super(T,D),1===(null===(z=T._table)||void 0===z?void 0:z._elementRef.nativeElement.nodeType)){const P=T._table._elementRef.nativeElement.getAttribute("role");D.nativeElement.setAttribute("role","grid"===P||"treegrid"===P?"gridcell":"cell")}}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(_e),u.Y36(u.SBq))},L.\u0275dir=u.lG2({type:L,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[u.qOj]}),L})();class ft{constructor(){this.tasks=[],this.endTasks=[]}}const Ct=new u.OlP("_COALESCED_STYLE_SCHEDULER");let St=(()=>{class L{constructor(T){this._ngZone=T,this._currentSchedule=null,this._destroyed=new re.x}schedule(T){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(T)}scheduleEnd(T){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(T)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ft,this._getScheduleObservable().pipe((0,ne.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const T=this._currentSchedule;this._currentSchedule=new ft;for(const D of T.tasks)D();for(const D of T.endTasks)D()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,ve.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Ce.q)(1))}}return L.\u0275fac=function(T){return new(T||L)(u.LFG(u.R0b))},L.\u0275prov=u.Yz7({token:L,factory:L.\u0275fac}),L})(),B=(()=>{class L{constructor(T,D){this.template=T,this._differs=D}ngOnChanges(T){if(!this._columnsDiffer){const D=T.columns&&T.columns.currentValue||[];this._columnsDiffer=this._differs.find(D).create(),this._columnsDiffer.diff(D)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(T){return this instanceof J?T.headerCell.template:this instanceof De?T.footerCell.template:T.cell.template}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.Rgc),u.Y36(u.ZZ4))},L.\u0275dir=u.lG2({type:L,features:[u.TTD]}),L})();class _ extends B{}const A=ke(_);let J=(()=>{class L extends A{constructor(T,D,z){super(T,D),this._table=z}ngOnChanges(T){super.ngOnChanges(T)}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.Rgc),u.Y36(u.ZZ4),u.Y36(oe,8))},L.\u0275dir=u.lG2({type:L,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[u.qOj,u.TTD]}),L})();class se extends B{}const de=ke(se);let De=(()=>{class L extends de{constructor(T,D,z){super(T,D),this._table=z}ngOnChanges(T){super.ngOnChanges(T)}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.Rgc),u.Y36(u.ZZ4),u.Y36(oe,8))},L.\u0275dir=u.lG2({type:L,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[u.qOj,u.TTD]}),L})(),Ke=(()=>{class L extends B{constructor(T,D,z){super(T,D),this._table=z}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.Rgc),u.Y36(u.ZZ4),u.Y36(oe,8))},L.\u0275dir=u.lG2({type:L,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[u.qOj]}),L})(),gt=(()=>{class L{constructor(T){this._viewContainer=T,L.mostRecentCellOutlet=this}ngOnDestroy(){L.mostRecentCellOutlet===this&&(L.mostRecentCellOutlet=null)}}return L.mostRecentCellOutlet=null,L.\u0275fac=function(T){return new(T||L)(u.Y36(u.s_b))},L.\u0275dir=u.lG2({type:L,selectors:[["","cdkCellOutlet",""]]}),L})(),ze=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275cmp=u.Xpm({type:L,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(T,D){1&T&&u.GkF(0,0)},dependencies:[gt],encapsulation:2}),L})(),Et=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275cmp=u.Xpm({type:L,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(T,D){1&T&&u.GkF(0,0)},dependencies:[gt],encapsulation:2}),L})(),Nt=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275cmp=u.Xpm({type:L,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(T,D){1&T&&u.GkF(0,0)},dependencies:[gt],encapsulation:2}),L})(),$t=(()=>{class L{constructor(T){this.templateRef=T,this._contentClassName="cdk-no-data-row"}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.Rgc))},L.\u0275dir=u.lG2({type:L,selectors:[["ng-template","cdkNoDataRow",""]]}),L})();const ln=["top","bottom","left","right"];class gn{constructor(me,T,D,z,P=!0,ue=!0,te){this._isNativeHtmlTable=me,this._stickCellCss=T,this.direction=D,this._coalescedStyleScheduler=z,this._isBrowser=P,this._needsPositionStickyOnElement=ue,this._positionListener=te,this._cachedCellWidths=[],this._borderCellCss={top:`${T}-border-elem-top`,bottom:`${T}-border-elem-bottom`,left:`${T}-border-elem-left`,right:`${T}-border-elem-right`}}clearStickyPositioning(me,T){const D=[];for(const z of me)if(z.nodeType===z.ELEMENT_NODE){D.push(z);for(let P=0;P<z.children.length;P++)D.push(z.children[P])}this._coalescedStyleScheduler.schedule(()=>{for(const z of D)this._removeStickyStyle(z,T)})}updateStickyColumns(me,T,D,z=!0){if(!me.length||!this._isBrowser||!T.some(H=>H)&&!D.some(H=>H))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const P=me[0],ue=P.children.length,te=this._getCellWidths(P,z),F=this._getStickyStartColumnPositions(te,T),G=this._getStickyEndColumnPositions(te,D),j=T.lastIndexOf(!0),ye=D.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const H="rtl"===this.direction,Ue=H?"right":"left",Je=H?"left":"right";for(const It of me)for(let Fe=0;Fe<ue;Fe++){const Ye=It.children[Fe];T[Fe]&&this._addStickyStyle(Ye,Ue,F[Fe],Fe===j),D[Fe]&&this._addStickyStyle(Ye,Je,G[Fe],Fe===ye)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===j?[]:te.slice(0,j+1).map((It,Fe)=>T[Fe]?It:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ye?[]:te.slice(ye).map((It,Fe)=>D[Fe+ye]?It:null).reverse()}))})}stickRows(me,T,D){if(!this._isBrowser)return;const z="bottom"===D?me.slice().reverse():me,P="bottom"===D?T.slice().reverse():T,ue=[],te=[],F=[];for(let j=0,ye=0;j<z.length;j++){if(!P[j])continue;ue[j]=ye;const H=z[j];F[j]=this._isNativeHtmlTable?Array.from(H.children):[H];const Ue=H.getBoundingClientRect().height;ye+=Ue,te[j]=Ue}const G=P.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var j,ye;for(let H=0;H<z.length;H++){if(!P[H])continue;const Ue=ue[H],Je=H===G;for(const It of F[H])this._addStickyStyle(It,D,Ue,Je)}"top"===D?null===(j=this._positionListener)||void 0===j||j.stickyHeaderRowsUpdated({sizes:te,offsets:ue,elements:F}):null===(ye=this._positionListener)||void 0===ye||ye.stickyFooterRowsUpdated({sizes:te,offsets:ue,elements:F})})}updateStickyFooterContainer(me,T){if(!this._isNativeHtmlTable)return;const D=me.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{T.some(z=>!z)?this._removeStickyStyle(D,["bottom"]):this._addStickyStyle(D,"bottom",0,!1)})}_removeStickyStyle(me,T){for(const z of T)me.style[z]="",me.classList.remove(this._borderCellCss[z]);ln.some(z=>-1===T.indexOf(z)&&me.style[z])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,T,D,z){me.classList.add(this._stickCellCss),z&&me.classList.add(this._borderCellCss[T]),me.style[T]=`${D}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const T={top:100,bottom:10,left:1,right:1};let D=0;for(const z of ln)me.style[z]&&(D+=T[z]);return D?`${D}`:""}_getCellWidths(me,T=!0){if(!T&&this._cachedCellWidths.length)return this._cachedCellWidths;const D=[],z=me.children;for(let P=0;P<z.length;P++)D.push(z[P].getBoundingClientRect().width);return this._cachedCellWidths=D,D}_getStickyStartColumnPositions(me,T){const D=[];let z=0;for(let P=0;P<me.length;P++)T[P]&&(D[P]=z,z+=me[P]);return D}_getStickyEndColumnPositions(me,T){const D=[];let z=0;for(let P=me.length;P>0;P--)T[P]&&(D[P]=z,z+=me[P]);return D}}const Z=new u.OlP("CDK_SPL");let tt=(()=>{class L{constructor(T,D){this.viewContainer=T,this.elementRef=D}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.s_b),u.Y36(u.SBq))},L.\u0275dir=u.lG2({type:L,selectors:[["","rowOutlet",""]]}),L})(),qe=(()=>{class L{constructor(T,D){this.viewContainer=T,this.elementRef=D}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.s_b),u.Y36(u.SBq))},L.\u0275dir=u.lG2({type:L,selectors:[["","headerRowOutlet",""]]}),L})(),kt=(()=>{class L{constructor(T,D){this.viewContainer=T,this.elementRef=D}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.s_b),u.Y36(u.SBq))},L.\u0275dir=u.lG2({type:L,selectors:[["","footerRowOutlet",""]]}),L})(),qt=(()=>{class L{constructor(T,D){this.viewContainer=T,this.elementRef=D}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.s_b),u.Y36(u.SBq))},L.\u0275dir=u.lG2({type:L,selectors:[["","noDataRowOutlet",""]]}),L})(),xt=(()=>{class L{constructor(T,D,z,P,ue,te,F,G,j,ye,H,Ue){this._differs=T,this._changeDetectorRef=D,this._elementRef=z,this._dir=ue,this._platform=F,this._viewRepeater=G,this._coalescedStyleScheduler=j,this._viewportRuler=ye,this._stickyPositioningListener=H,this._ngZone=Ue,this._onDestroy=new re.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new u.vpe,this.viewChange=new X.X({start:0,end:Number.MAX_VALUE}),P||this._elementRef.nativeElement.setAttribute("role","table"),this._document=te,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(T){this._trackByFn=T}get dataSource(){return this._dataSource}set dataSource(T){this._dataSource!==T&&this._switchDataSource(T)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(T){this._multiTemplateDataRows=(0,s.Ig)(T),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(T){this._fixedLayout=(0,s.Ig)(T),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((T,D)=>this.trackBy?this.trackBy(D.dataIndex,D.data):D),this._viewportRuler.change().pipe((0,ne.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const D=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||D,this._forceRecalculateCellWidths=D,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(T=>{T.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,i.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const T=this._dataDiffer.diff(this._renderRows);if(!T)return this._updateNoDataRow(),void this.contentChanged.next();const D=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(T,D,(z,P,ue)=>this._getEmbeddedViewArgs(z.item,ue),z=>z.item.data,z=>{1===z.operation&&z.context&&this._renderCellTemplateForItem(z.record.item.rowDef,z.context)}),this._updateRowIndexContext(),T.forEachIdentityChange(z=>{D.get(z.currentIndex).context.$implicit=z.item.data}),this._updateNoDataRow(),this._ngZone&&u.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Ce.q)(1),(0,ne.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(T){this._customColumnDefs.add(T)}removeColumnDef(T){this._customColumnDefs.delete(T)}addRowDef(T){this._customRowDefs.add(T)}removeRowDef(T){this._customRowDefs.delete(T)}addHeaderRowDef(T){this._customHeaderRowDefs.add(T),this._headerRowDefChanged=!0}removeHeaderRowDef(T){this._customHeaderRowDefs.delete(T),this._headerRowDefChanged=!0}addFooterRowDef(T){this._customFooterRowDefs.add(T),this._footerRowDefChanged=!0}removeFooterRowDef(T){this._customFooterRowDefs.delete(T),this._footerRowDefChanged=!0}setNoDataRow(T){this._customNoDataRow=T}updateStickyHeaderRowStyles(){const T=this._getRenderedRows(this._headerRowOutlet),z=this._elementRef.nativeElement.querySelector("thead");z&&(z.style.display=T.length?"":"none");const P=this._headerRowDefs.map(ue=>ue.sticky);this._stickyStyler.clearStickyPositioning(T,["top"]),this._stickyStyler.stickRows(T,P,"top"),this._headerRowDefs.forEach(ue=>ue.resetStickyChanged())}updateStickyFooterRowStyles(){const T=this._getRenderedRows(this._footerRowOutlet),z=this._elementRef.nativeElement.querySelector("tfoot");z&&(z.style.display=T.length?"":"none");const P=this._footerRowDefs.map(ue=>ue.sticky);this._stickyStyler.clearStickyPositioning(T,["bottom"]),this._stickyStyler.stickRows(T,P,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,P),this._footerRowDefs.forEach(ue=>ue.resetStickyChanged())}updateStickyColumnStyles(){const T=this._getRenderedRows(this._headerRowOutlet),D=this._getRenderedRows(this._rowOutlet),z=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...T,...D,...z],["left","right"]),this._stickyColumnStylesNeedReset=!1),T.forEach((P,ue)=>{this._addStickyColumnStyles([P],this._headerRowDefs[ue])}),this._rowDefs.forEach(P=>{const ue=[];for(let te=0;te<D.length;te++)this._renderRows[te].rowDef===P&&ue.push(D[te]);this._addStickyColumnStyles(ue,P)}),z.forEach((P,ue)=>{this._addStickyColumnStyles([P],this._footerRowDefs[ue])}),Array.from(this._columnDefsByName.values()).forEach(P=>P.resetStickyChanged())}_getAllRenderRows(){const T=[],D=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let z=0;z<this._data.length;z++){let P=this._data[z];const ue=this._getRenderRowsForData(P,z,D.get(P));this._cachedRenderRowsMap.has(P)||this._cachedRenderRowsMap.set(P,new WeakMap);for(let te=0;te<ue.length;te++){let F=ue[te];const G=this._cachedRenderRowsMap.get(F.data);G.has(F.rowDef)?G.get(F.rowDef).push(F):G.set(F.rowDef,[F]),T.push(F)}}return T}_getRenderRowsForData(T,D,z){return this._getRowDefs(T,D).map(ue=>{const te=z&&z.has(ue)?z.get(ue):[];if(te.length){const F=te.shift();return F.dataIndex=D,F}return{data:T,rowDef:ue,dataIndex:D}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Rt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(D=>{this._columnDefsByName.has(D.name),this._columnDefsByName.set(D.name,D)})}_cacheRowDefs(){this._headerRowDefs=Rt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Rt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Rt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const T=this._rowDefs.filter(D=>!D.when);this._defaultRowDef=T[0]}_renderUpdatedColumns(){const T=(ue,te)=>ue||!!te.getColumnsDiff(),D=this._rowDefs.reduce(T,!1);D&&this._forceRenderDataRows();const z=this._headerRowDefs.reduce(T,!1);z&&this._forceRenderHeaderRows();const P=this._footerRowDefs.reduce(T,!1);return P&&this._forceRenderFooterRows(),D||z||P}_switchDataSource(T){this._data=[],(0,i.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),T||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=T}_observeRenderChanges(){if(!this.dataSource)return;let T;(0,i.Z9)(this.dataSource)?T=this.dataSource.connect(this):function ie(L){return!!L&&(L instanceof l.y||(0,Me.m)(L.lift)&&(0,Me.m)(L.subscribe))}(this.dataSource)?T=this.dataSource:Array.isArray(this.dataSource)&&(T=(0,Ne.of)(this.dataSource)),this._renderChangeSubscription=T.pipe((0,ne.R)(this._onDestroy)).subscribe(D=>{this._data=D||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((T,D)=>this._renderRow(this._headerRowOutlet,T,D)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((T,D)=>this._renderRow(this._footerRowOutlet,T,D)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(T,D){const z=Array.from(D.columns||[]).map(te=>this._columnDefsByName.get(te)),P=z.map(te=>te.sticky),ue=z.map(te=>te.stickyEnd);this._stickyStyler.updateStickyColumns(T,P,ue,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(T){const D=[];for(let z=0;z<T.viewContainer.length;z++){const P=T.viewContainer.get(z);D.push(P.rootNodes[0])}return D}_getRowDefs(T,D){if(1==this._rowDefs.length)return[this._rowDefs[0]];let z=[];if(this.multiTemplateDataRows)z=this._rowDefs.filter(P=>!P.when||P.when(D,T));else{let P=this._rowDefs.find(ue=>ue.when&&ue.when(D,T))||this._defaultRowDef;P&&z.push(P)}return z}_getEmbeddedViewArgs(T,D){return{templateRef:T.rowDef.template,context:{$implicit:T.data},index:D}}_renderRow(T,D,z,P={}){const ue=T.viewContainer.createEmbeddedView(D.template,P,z);return this._renderCellTemplateForItem(D,P),ue}_renderCellTemplateForItem(T,D){for(let z of this._getCellTemplates(T))gt.mostRecentCellOutlet&&gt.mostRecentCellOutlet._viewContainer.createEmbeddedView(z,D);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const T=this._rowOutlet.viewContainer;for(let D=0,z=T.length;D<z;D++){const ue=T.get(D).context;ue.count=z,ue.first=0===D,ue.last=D===z-1,ue.even=D%2==0,ue.odd=!ue.even,this.multiTemplateDataRows?(ue.dataIndex=this._renderRows[D].dataIndex,ue.renderIndex=D):ue.index=this._renderRows[D].dataIndex}}_getCellTemplates(T){return T&&T.columns?Array.from(T.columns,D=>{const z=this._columnDefsByName.get(D);return T.extractCellTemplate(z)}):[]}_applyNativeTableSections(){const T=this._document.createDocumentFragment(),D=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const z of D){const P=this._document.createElement(z.tag);P.setAttribute("role","rowgroup");for(const ue of z.outlets)P.appendChild(ue.elementRef.nativeElement);T.appendChild(P)}this._elementRef.nativeElement.appendChild(T)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const T=(D,z)=>D||z.hasStickyChanged();this._headerRowDefs.reduce(T,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(T,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(T,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new gn(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Ne.of)()).pipe((0,ne.R)(this._onDestroy)).subscribe(D=>{this._stickyStyler.direction=D,this.updateStickyColumnStyles()})}_getOwnDefs(T){return T.filter(D=>!D._table||D._table===this)}_updateNoDataRow(){const T=this._customNoDataRow||this._noDataRow;if(!T)return;const D=0===this._rowOutlet.viewContainer.length;if(D===this._isShowingNoDataRow)return;const z=this._noDataRowOutlet.viewContainer;if(D){const P=z.createEmbeddedView(T.templateRef),ue=P.rootNodes[0];1===P.rootNodes.length&&(null==ue?void 0:ue.nodeType)===this._document.ELEMENT_NODE&&(ue.setAttribute("role","row"),ue.classList.add(T._contentClassName))}else z.clear();this._isShowingNoDataRow=D}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(u.ZZ4),u.Y36(u.sBO),u.Y36(u.SBq),u.$8M("role"),u.Y36(ae.Is,8),u.Y36(h.K0),u.Y36(Ae.t4),u.Y36(i.k),u.Y36(Ct),u.Y36(Be.rL),u.Y36(Z,12),u.Y36(u.R0b,8))},L.\u0275cmp=u.Xpm({type:L,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(T,D,z){if(1&T&&(u.Suo(z,$t,5),u.Suo(z,_e,5),u.Suo(z,Ke,5),u.Suo(z,J,5),u.Suo(z,De,5)),2&T){let P;u.iGM(P=u.CRH())&&(D._noDataRow=P.first),u.iGM(P=u.CRH())&&(D._contentColumnDefs=P),u.iGM(P=u.CRH())&&(D._contentRowDefs=P),u.iGM(P=u.CRH())&&(D._contentHeaderRowDefs=P),u.iGM(P=u.CRH())&&(D._contentFooterRowDefs=P)}},viewQuery:function(T,D){if(1&T&&(u.Gf(tt,7),u.Gf(qe,7),u.Gf(kt,7),u.Gf(qt,7)),2&T){let z;u.iGM(z=u.CRH())&&(D._rowOutlet=z.first),u.iGM(z=u.CRH())&&(D._headerRowOutlet=z.first),u.iGM(z=u.CRH())&&(D._footerRowOutlet=z.first),u.iGM(z=u.CRH())&&(D._noDataRowOutlet=z.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(T,D){2&T&&u.ekj("cdk-table-fixed-layout",D.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[u._Bn([{provide:oe,useExisting:L},{provide:i.k,useClass:i.yy},{provide:Ct,useClass:St},{provide:Z,useValue:null}])],ngContentSelectors:mt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(T,D){1&T&&(u.F$t(Se),u.Hsn(0),u.Hsn(1,1),u.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[tt,qe,kt,qt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),L})();function Rt(L,me){return L.concat(Array.from(me))}let ge=(()=>{class L{constructor(T,D){this._table=T,this._options=D,this.justify="start",this._options=D||{}}get name(){return this._name}set name(T){this._name=T,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((T,D)=>T[D])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const T=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(T):T[0].toUpperCase()+T.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return L.\u0275fac=function(T){return new(T||L)(u.Y36(xt,8),u.Y36(he,8))},L.\u0275cmp=u.Xpm({type:L,selectors:[["cdk-text-column"]],viewQuery:function(T,D){if(1&T&&(u.Gf(_e,7),u.Gf(le,7),u.Gf(We,7)),2&T){let z;u.iGM(z=u.CRH())&&(D.columnDef=z.first),u.iGM(z=u.CRH())&&(D.cell=z.first),u.iGM(z=u.CRH())&&(D.headerCell=z.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(T,D){1&T&&(u.ynx(0,0),u.YNc(1,bt,2,3,"th",1),u.YNc(2,Mt,2,3,"td",2),u.BQk())},dependencies:[le,We,_e,it,je],encapsulation:2}),L})(),rt=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=u.oAB({type:L}),L.\u0275inj=u.cJS({imports:[Be.Cl]}),L})()},9808:(Yt,ut,c)=>{"use strict";c.d(ut,{Do:()=>ke,ED:()=>fi,EM:()=>ks,HT:()=>l,JF:()=>zn,K0:()=>ie,Mx:()=>Nn,NF:()=>$i,O5:()=>Si,Ov:()=>Tn,PC:()=>ns,PM:()=>ri,RF:()=>vi,S$:()=>Se,V_:()=>X,Ye:()=>oe,b0:()=>Mt,bD:()=>rs,ez:()=>Es,lw:()=>re,mk:()=>Ln,mr:()=>bt,n9:()=>yi,q:()=>h,sg:()=>Ei,tP:()=>ji,uU:()=>Yi,w_:()=>Me});var s=c(5e3);let i=null;function h(){return i}function l(N){i||(i=N)}class Me{}const ie=new s.OlP("DocumentToken");let re=(()=>{class N{historyGo(V){throw new Error("Not implemented")}}return N.\u0275fac=function(V){return new(V||N)},N.\u0275prov=s.Yz7({token:N,factory:function(){return function ve(){return(0,s.LFG)(Ne)}()},providedIn:"platform"}),N})();const X=new s.OlP("Location Initialized");let Ne=(()=>{class N extends re{constructor(V){super(),this._doc=V,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return h().getBaseHref(this._doc)}onPopState(V){const Le=h().getGlobalEventTarget(this._doc,"window");return Le.addEventListener("popstate",V,!1),()=>Le.removeEventListener("popstate",V)}onHashChange(V){const Le=h().getGlobalEventTarget(this._doc,"window");return Le.addEventListener("hashchange",V,!1),()=>Le.removeEventListener("hashchange",V)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(V){this.location.pathname=V}pushState(V,Le,At){ne()?this._history.pushState(V,Le,At):this.location.hash=At}replaceState(V,Le,At){ne()?this._history.replaceState(V,Le,At):this.location.hash=At}forward(){this._history.forward()}back(){this._history.back()}historyGo(V=0){this._history.go(V)}getState(){return this._history.state}}return N.\u0275fac=function(V){return new(V||N)(s.LFG(ie))},N.\u0275prov=s.Yz7({token:N,factory:function(){return function Ce(){return new Ne((0,s.LFG)(ie))}()},providedIn:"platform"}),N})();function ne(){return!!window.history.pushState}function ae(N,Pe){if(0==N.length)return Pe;if(0==Pe.length)return N;let V=0;return N.endsWith("/")&&V++,Pe.startsWith("/")&&V++,2==V?N+Pe.substring(1):1==V?N+Pe:N+"/"+Pe}function Ae(N){const Pe=N.match(/#|\?|$/),V=Pe&&Pe.index||N.length;return N.slice(0,V-("/"===N[V-1]?1:0))+N.slice(V)}function Be(N){return N&&"?"!==N[0]?"?"+N:N}let Se=(()=>{class N{historyGo(V){throw new Error("Not implemented")}}return N.\u0275fac=function(V){return new(V||N)},N.\u0275prov=s.Yz7({token:N,factory:function(){return function mt(){const N=(0,s.LFG)(ie).location;return new Mt((0,s.LFG)(re),N&&N.origin||"")}()},providedIn:"root"}),N})();const bt=new s.OlP("appBaseHref");let Mt=(()=>{class N extends Se{constructor(V,Le){if(super(),this._platformLocation=V,this._removeListenerFns=[],null==Le&&(Le=this._platformLocation.getBaseHrefFromDOM()),null==Le)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=Le}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(V){this._removeListenerFns.push(this._platformLocation.onPopState(V),this._platformLocation.onHashChange(V))}getBaseHref(){return this._baseHref}prepareExternalUrl(V){return ae(this._baseHref,V)}path(V=!1){const Le=this._platformLocation.pathname+Be(this._platformLocation.search),At=this._platformLocation.hash;return At&&V?`${Le}${At}`:Le}pushState(V,Le,At,zt){const Kt=this.prepareExternalUrl(At+Be(zt));this._platformLocation.pushState(V,Le,Kt)}replaceState(V,Le,At,zt){const Kt=this.prepareExternalUrl(At+Be(zt));this._platformLocation.replaceState(V,Le,Kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(V=0){var Le,At;null===(At=(Le=this._platformLocation).historyGo)||void 0===At||At.call(Le,V)}}return N.\u0275fac=function(V){return new(V||N)(s.LFG(re),s.LFG(bt,8))},N.\u0275prov=s.Yz7({token:N,factory:N.\u0275fac}),N})(),ke=(()=>{class N extends Se{constructor(V,Le){super(),this._platformLocation=V,this._baseHref="",this._removeListenerFns=[],null!=Le&&(this._baseHref=Le)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(V){this._removeListenerFns.push(this._platformLocation.onPopState(V),this._platformLocation.onHashChange(V))}getBaseHref(){return this._baseHref}path(V=!1){let Le=this._platformLocation.hash;return null==Le&&(Le="#"),Le.length>0?Le.substring(1):Le}prepareExternalUrl(V){const Le=ae(this._baseHref,V);return Le.length>0?"#"+Le:Le}pushState(V,Le,At,zt){let Kt=this.prepareExternalUrl(At+Be(zt));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(V,Le,Kt)}replaceState(V,Le,At,zt){let Kt=this.prepareExternalUrl(At+Be(zt));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.replaceState(V,Le,Kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(V=0){var Le,At;null===(At=(Le=this._platformLocation).historyGo)||void 0===At||At.call(Le,V)}}return N.\u0275fac=function(V){return new(V||N)(s.LFG(re),s.LFG(bt,8))},N.\u0275prov=s.Yz7({token:N,factory:N.\u0275fac}),N})(),oe=(()=>{class N{constructor(V){this._subject=new s.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=V;const Le=this._locationStrategy.getBaseHref();this._baseHref=Ae(We(Le)),this._locationStrategy.onPopState(At=>{this._subject.emit({url:this.path(!0),pop:!0,state:At.state,type:At.type})})}ngOnDestroy(){var V;null===(V=this._urlChangeSubscription)||void 0===V||V.unsubscribe(),this._urlChangeListeners=[]}path(V=!1){return this.normalize(this._locationStrategy.path(V))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(V,Le=""){return this.path()==this.normalize(V+Be(Le))}normalize(V){return N.stripTrailingSlash(function le(N,Pe){return N&&Pe.startsWith(N)?Pe.substring(N.length):Pe}(this._baseHref,We(V)))}prepareExternalUrl(V){return V&&"/"!==V[0]&&(V="/"+V),this._locationStrategy.prepareExternalUrl(V)}go(V,Le="",At=null){this._locationStrategy.pushState(At,"",V,Le),this._notifyUrlChangeListeners(this.prepareExternalUrl(V+Be(Le)),At)}replaceState(V,Le="",At=null){this._locationStrategy.replaceState(At,"",V,Le),this._notifyUrlChangeListeners(this.prepareExternalUrl(V+Be(Le)),At)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(V=0){var Le,At;null===(At=(Le=this._locationStrategy).historyGo)||void 0===At||At.call(Le,V)}onUrlChange(V){return this._urlChangeListeners.push(V),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Le=>{this._notifyUrlChangeListeners(Le.url,Le.state)})),()=>{var Le;const At=this._urlChangeListeners.indexOf(V);this._urlChangeListeners.splice(At,1),0===this._urlChangeListeners.length&&(null===(Le=this._urlChangeSubscription)||void 0===Le||Le.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(V="",Le){this._urlChangeListeners.forEach(At=>At(V,Le))}subscribe(V,Le,At){return this._subject.subscribe({next:V,error:Le,complete:At})}}return N.normalizeQueryParams=Be,N.joinWithSlash=ae,N.stripTrailingSlash=Ae,N.\u0275fac=function(V){return new(V||N)(s.LFG(Se))},N.\u0275prov=s.Yz7({token:N,factory:function(){return function he(){return new oe((0,s.LFG)(Se))}()},providedIn:"root"}),N})();function We(N){return N.replace(/\/index.html$/,"")}var _e=(()=>((_e=_e||{})[_e.Format=0]="Format",_e[_e.Standalone=1]="Standalone",_e))(),lt=(()=>((lt=lt||{})[lt.Narrow=0]="Narrow",lt[lt.Abbreviated=1]="Abbreviated",lt[lt.Wide=2]="Wide",lt[lt.Short=3]="Short",lt))(),je=(()=>((je=je||{})[je.Short=0]="Short",je[je.Medium=1]="Medium",je[je.Long=2]="Long",je[je.Full=3]="Full",je))(),pt=(()=>((pt=pt||{})[pt.Decimal=0]="Decimal",pt[pt.Group=1]="Group",pt[pt.List=2]="List",pt[pt.PercentSign=3]="PercentSign",pt[pt.PlusSign=4]="PlusSign",pt[pt.MinusSign=5]="MinusSign",pt[pt.Exponential=6]="Exponential",pt[pt.SuperscriptingExponent=7]="SuperscriptingExponent",pt[pt.PerMille=8]="PerMille",pt[pt.Infinity=9]="Infinity",pt[pt.NaN=10]="NaN",pt[pt.TimeSeparator=11]="TimeSeparator",pt[pt.CurrencyDecimal=12]="CurrencyDecimal",pt[pt.CurrencyGroup=13]="CurrencyGroup",pt))();function J(N,Pe){return Qe((0,s.cg1)(N)[s.wAp.DateFormat],Pe)}function se(N,Pe){return Qe((0,s.cg1)(N)[s.wAp.TimeFormat],Pe)}function de(N,Pe){return Qe((0,s.cg1)(N)[s.wAp.DateTimeFormat],Pe)}function De(N,Pe){const V=(0,s.cg1)(N),Le=V[s.wAp.NumberSymbols][Pe];if(void 0===Le){if(Pe===pt.CurrencyDecimal)return V[s.wAp.NumberSymbols][pt.Decimal];if(Pe===pt.CurrencyGroup)return V[s.wAp.NumberSymbols][pt.Group]}return Le}function ln(N){if(!N[s.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${N[s.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Qe(N,Pe){for(let V=Pe;V>-1;V--)if(void 0!==N[V])return N[V];throw new Error("Locale data API: locale data undefined")}function st(N){const[Pe,V]=N.split(":");return{hours:+Pe,minutes:+V}}const W=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Z={},Ee=/((?:[^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 tt=(()=>((tt=tt||{})[tt.Short=0]="Short",tt[tt.ShortGMT=1]="ShortGMT",tt[tt.Long=2]="Long",tt[tt.Extended=3]="Extended",tt))(),qe=(()=>((qe=qe||{})[qe.FullYear=0]="FullYear",qe[qe.Month=1]="Month",qe[qe.Date=2]="Date",qe[qe.Hours=3]="Hours",qe[qe.Minutes=4]="Minutes",qe[qe.Seconds=5]="Seconds",qe[qe.FractionalSeconds=6]="FractionalSeconds",qe[qe.Day=7]="Day",qe))(),kt=(()=>((kt=kt||{})[kt.DayPeriods=0]="DayPeriods",kt[kt.Days=1]="Days",kt[kt.Months=2]="Months",kt[kt.Eras=3]="Eras",kt))();function qt(N,Pe,V,Le){let At=function Je(N){if(Fe(N))return N;if("number"==typeof N&&!isNaN(N))return new Date(N);if("string"==typeof N){if(N=N.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(N)){const[At,zt=1,Kt=1]=N.split("-").map(hn=>+hn);return en(At,zt-1,Kt)}const V=parseFloat(N);if(!isNaN(N-V))return new Date(V);let Le;if(Le=N.match(W))return function It(N){const Pe=new Date(0);let V=0,Le=0;const At=N[8]?Pe.setUTCFullYear:Pe.setFullYear,zt=N[8]?Pe.setUTCHours:Pe.setHours;N[9]&&(V=Number(N[9]+N[10]),Le=Number(N[9]+N[11])),At.call(Pe,Number(N[1]),Number(N[2])-1,Number(N[3]));const Kt=Number(N[4]||0)-V,hn=Number(N[5]||0)-Le,ei=Number(N[6]||0),ti=Math.floor(1e3*parseFloat("0."+(N[7]||0)));return zt.call(Pe,Kt,hn,ei,ti),Pe}(Le)}const Pe=new Date(N);if(!Fe(Pe))throw new Error(`Unable to convert "${N}" into a date`);return Pe}(N);Pe=Lt(V,Pe)||Pe;let hn,Kt=[];for(;Pe;){if(hn=Ee.exec(Pe),!hn){Kt.push(Pe);break}{Kt=Kt.concat(hn.slice(1));const ni=Kt.pop();if(!ni)break;Pe=ni}}let ei=At.getTimezoneOffset();Le&&(ei=ye(Le,ei),At=function Ue(N,Pe,V){const Le=V?-1:1,At=N.getTimezoneOffset();return function H(N,Pe){return(N=new Date(N.getTime())).setMinutes(N.getMinutes()+Pe),N}(N,Le*(ye(Pe,At)-At))}(At,Le,!0));let ti="";return Kt.forEach(ni=>{const Rn=function j(N){if(G[N])return G[N];let Pe;switch(N){case"G":case"GG":case"GGG":Pe=L(kt.Eras,lt.Abbreviated);break;case"GGGG":Pe=L(kt.Eras,lt.Wide);break;case"GGGGG":Pe=L(kt.Eras,lt.Narrow);break;case"y":Pe=Ge(qe.FullYear,1,0,!1,!0);break;case"yy":Pe=Ge(qe.FullYear,2,0,!0,!0);break;case"yyy":Pe=Ge(qe.FullYear,3,0,!1,!0);break;case"yyyy":Pe=Ge(qe.FullYear,4,0,!1,!0);break;case"Y":Pe=F(1);break;case"YY":Pe=F(2,!0);break;case"YYY":Pe=F(3);break;case"YYYY":Pe=F(4);break;case"M":case"L":Pe=Ge(qe.Month,1,1);break;case"MM":case"LL":Pe=Ge(qe.Month,2,1);break;case"MMM":Pe=L(kt.Months,lt.Abbreviated);break;case"MMMM":Pe=L(kt.Months,lt.Wide);break;case"MMMMM":Pe=L(kt.Months,lt.Narrow);break;case"LLL":Pe=L(kt.Months,lt.Abbreviated,_e.Standalone);break;case"LLLL":Pe=L(kt.Months,lt.Wide,_e.Standalone);break;case"LLLLL":Pe=L(kt.Months,lt.Narrow,_e.Standalone);break;case"w":Pe=te(1);break;case"ww":Pe=te(2);break;case"W":Pe=te(1,!0);break;case"d":Pe=Ge(qe.Date,1);break;case"dd":Pe=Ge(qe.Date,2);break;case"c":case"cc":Pe=Ge(qe.Day,1);break;case"ccc":Pe=L(kt.Days,lt.Abbreviated,_e.Standalone);break;case"cccc":Pe=L(kt.Days,lt.Wide,_e.Standalone);break;case"ccccc":Pe=L(kt.Days,lt.Narrow,_e.Standalone);break;case"cccccc":Pe=L(kt.Days,lt.Short,_e.Standalone);break;case"E":case"EE":case"EEE":Pe=L(kt.Days,lt.Abbreviated);break;case"EEEE":Pe=L(kt.Days,lt.Wide);break;case"EEEEE":Pe=L(kt.Days,lt.Narrow);break;case"EEEEEE":Pe=L(kt.Days,lt.Short);break;case"a":case"aa":case"aaa":Pe=L(kt.DayPeriods,lt.Abbreviated);break;case"aaaa":Pe=L(kt.DayPeriods,lt.Wide);break;case"aaaaa":Pe=L(kt.DayPeriods,lt.Narrow);break;case"b":case"bb":case"bbb":Pe=L(kt.DayPeriods,lt.Abbreviated,_e.Standalone,!0);break;case"bbbb":Pe=L(kt.DayPeriods,lt.Wide,_e.Standalone,!0);break;case"bbbbb":Pe=L(kt.DayPeriods,lt.Narrow,_e.Standalone,!0);break;case"B":case"BB":case"BBB":Pe=L(kt.DayPeriods,lt.Abbreviated,_e.Format,!0);break;case"BBBB":Pe=L(kt.DayPeriods,lt.Wide,_e.Format,!0);break;case"BBBBB":Pe=L(kt.DayPeriods,lt.Narrow,_e.Format,!0);break;case"h":Pe=Ge(qe.Hours,1,-12);break;case"hh":Pe=Ge(qe.Hours,2,-12);break;case"H":Pe=Ge(qe.Hours,1);break;case"HH":Pe=Ge(qe.Hours,2);break;case"m":Pe=Ge(qe.Minutes,1);break;case"mm":Pe=Ge(qe.Minutes,2);break;case"s":Pe=Ge(qe.Seconds,1);break;case"ss":Pe=Ge(qe.Seconds,2);break;case"S":Pe=Ge(qe.FractionalSeconds,1);break;case"SS":Pe=Ge(qe.FractionalSeconds,2);break;case"SSS":Pe=Ge(qe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Pe=T(tt.Short);break;case"ZZZZZ":Pe=T(tt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Pe=T(tt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Pe=T(tt.Long);break;default:return null}return G[N]=Pe,Pe}(ni);ti+=Rn?Rn(At,V,ei):"''"===ni?"'":ni.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ti}function en(N,Pe,V){const Le=new Date(0);return Le.setFullYear(N,Pe,V),Le.setHours(0,0,0),Le}function Lt(N,Pe){const V=function ft(N){return(0,s.cg1)(N)[s.wAp.LocaleId]}(N);if(Z[V]=Z[V]||{},Z[V][Pe])return Z[V][Pe];let Le="";switch(Pe){case"shortDate":Le=J(N,je.Short);break;case"mediumDate":Le=J(N,je.Medium);break;case"longDate":Le=J(N,je.Long);break;case"fullDate":Le=J(N,je.Full);break;case"shortTime":Le=se(N,je.Short);break;case"mediumTime":Le=se(N,je.Medium);break;case"longTime":Le=se(N,je.Long);break;case"fullTime":Le=se(N,je.Full);break;case"short":const At=Lt(N,"shortTime"),zt=Lt(N,"shortDate");Le=xt(de(N,je.Short),[At,zt]);break;case"medium":const Kt=Lt(N,"mediumTime"),hn=Lt(N,"mediumDate");Le=xt(de(N,je.Medium),[Kt,hn]);break;case"long":const ei=Lt(N,"longTime"),ti=Lt(N,"longDate");Le=xt(de(N,je.Long),[ei,ti]);break;case"full":const ni=Lt(N,"fullTime"),Rn=Lt(N,"fullDate");Le=xt(de(N,je.Full),[ni,Rn])}return Le&&(Z[V][Pe]=Le),Le}function xt(N,Pe){return Pe&&(N=N.replace(/\{([^}]+)}/g,function(V,Le){return null!=Pe&&Le in Pe?Pe[Le]:V})),N}function Rt(N,Pe,V="-",Le,At){let zt="";(N<0||At&&N<=0)&&(At?N=1-N:(N=-N,zt=V));let Kt=String(N);for(;Kt.length<Pe;)Kt="0"+Kt;return Le&&(Kt=Kt.slice(Kt.length-Pe)),zt+Kt}function Ge(N,Pe,V=0,Le=!1,At=!1){return function(zt,Kt){let hn=function rt(N,Pe){switch(N){case qe.FullYear:return Pe.getFullYear();case qe.Month:return Pe.getMonth();case qe.Date:return Pe.getDate();case qe.Hours:return Pe.getHours();case qe.Minutes:return Pe.getMinutes();case qe.Seconds:return Pe.getSeconds();case qe.FractionalSeconds:return Pe.getMilliseconds();case qe.Day:return Pe.getDay();default:throw new Error(`Unknown DateType value "${N}".`)}}(N,zt);if((V>0||hn>-V)&&(hn+=V),N===qe.Hours)0===hn&&-12===V&&(hn=12);else if(N===qe.FractionalSeconds)return function ge(N,Pe){return Rt(N,3).substring(0,Pe)}(hn,Pe);const ei=De(Kt,pt.MinusSign);return Rt(hn,Pe,ei,Le,At)}}function L(N,Pe,V=_e.Format,Le=!1){return function(At,zt){return function me(N,Pe,V,Le,At,zt){switch(V){case kt.Months:return function Y(N,Pe,V){const Le=(0,s.cg1)(N),zt=Qe([Le[s.wAp.MonthsFormat],Le[s.wAp.MonthsStandalone]],Pe);return Qe(zt,V)}(Pe,At,Le)[N.getMonth()];case kt.Days:return function St(N,Pe,V){const Le=(0,s.cg1)(N),zt=Qe([Le[s.wAp.DaysFormat],Le[s.wAp.DaysStandalone]],Pe);return Qe(zt,V)}(Pe,At,Le)[N.getDay()];case kt.DayPeriods:const Kt=N.getHours(),hn=N.getMinutes();if(zt){const ti=function gn(N){const Pe=(0,s.cg1)(N);return ln(Pe),(Pe[s.wAp.ExtraData][2]||[]).map(Le=>"string"==typeof Le?st(Le):[st(Le[0]),st(Le[1])])}(Pe),ni=function jt(N,Pe,V){const Le=(0,s.cg1)(N);ln(Le);const zt=Qe([Le[s.wAp.ExtraData][0],Le[s.wAp.ExtraData][1]],Pe)||[];return Qe(zt,V)||[]}(Pe,At,Le),Rn=ti.findIndex(Wn=>{if(Array.isArray(Wn)){const[Zn,_n]=Wn,Xi=Kt>=Zn.hours&&hn>=Zn.minutes,Fi=Kt<_n.hours||Kt===_n.hours&&hn<_n.minutes;if(Zn.hours<_n.hours){if(Xi&&Fi)return!0}else if(Xi||Fi)return!0}else if(Wn.hours===Kt&&Wn.minutes===hn)return!0;return!1});if(-1!==Rn)return ni[Rn]}return function Ct(N,Pe,V){const Le=(0,s.cg1)(N),zt=Qe([Le[s.wAp.DayPeriodsFormat],Le[s.wAp.DayPeriodsStandalone]],Pe);return Qe(zt,V)}(Pe,At,Le)[Kt<12?0:1];case kt.Eras:return function B(N,Pe){return Qe((0,s.cg1)(N)[s.wAp.Eras],Pe)}(Pe,Le)[N.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${V}`)}}(At,zt,N,Pe,V,Le)}}function T(N){return function(Pe,V,Le){const At=-1*Le,zt=De(V,pt.MinusSign),Kt=At>0?Math.floor(At/60):Math.ceil(At/60);switch(N){case tt.Short:return(At>=0?"+":"")+Rt(Kt,2,zt)+Rt(Math.abs(At%60),2,zt);case tt.ShortGMT:return"GMT"+(At>=0?"+":"")+Rt(Kt,1,zt);case tt.Long:return"GMT"+(At>=0?"+":"")+Rt(Kt,2,zt)+":"+Rt(Math.abs(At%60),2,zt);case tt.Extended:return 0===Le?"Z":(At>=0?"+":"")+Rt(Kt,2,zt)+":"+Rt(Math.abs(At%60),2,zt);default:throw new Error(`Unknown zone width "${N}"`)}}}function ue(N){return en(N.getFullYear(),N.getMonth(),N.getDate()+(4-N.getDay()))}function te(N,Pe=!1){return function(V,Le){let At;if(Pe){const zt=new Date(V.getFullYear(),V.getMonth(),1).getDay()-1,Kt=V.getDate();At=1+Math.floor((Kt+zt)/7)}else{const zt=ue(V),Kt=function P(N){const Pe=en(N,0,1).getDay();return en(N,0,1+(Pe<=4?4:11)-Pe)}(zt.getFullYear()),hn=zt.getTime()-Kt.getTime();At=1+Math.round(hn/6048e5)}return Rt(At,N,De(Le,pt.MinusSign))}}function F(N,Pe=!1){return function(V,Le){return Rt(ue(V).getFullYear(),N,De(Le,pt.MinusSign),Pe)}}const G={};function ye(N,Pe){N=N.replace(/:/g,"");const V=Date.parse("Jan 01, 1970 00:00:00 "+N)/6e4;return isNaN(V)?Pe:V}function Fe(N){return N instanceof Date&&!isNaN(N.valueOf())}function Nn(N,Pe){Pe=encodeURIComponent(Pe);for(const V of N.split(";")){const Le=V.indexOf("="),[At,zt]=-1==Le?[V,""]:[V.slice(0,Le),V.slice(Le+1)];if(At.trim()===Pe)return decodeURIComponent(zt)}return null}let Ln=(()=>{class N{constructor(V,Le,At,zt){this._iterableDiffers=V,this._keyValueDiffers=Le,this._ngEl=At,this._renderer=zt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(V){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof V?V.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(V){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof V?V.split(/\s+/):V,this._rawClass&&((0,s.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const V=this._iterableDiffer.diff(this._rawClass);V&&this._applyIterableChanges(V)}else if(this._keyValueDiffer){const V=this._keyValueDiffer.diff(this._rawClass);V&&this._applyKeyValueChanges(V)}}_applyKeyValueChanges(V){V.forEachAddedItem(Le=>this._toggleClass(Le.key,Le.currentValue)),V.forEachChangedItem(Le=>this._toggleClass(Le.key,Le.currentValue)),V.forEachRemovedItem(Le=>{Le.previousValue&&this._toggleClass(Le.key,!1)})}_applyIterableChanges(V){V.forEachAddedItem(Le=>{if("string"!=typeof Le.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,s.AaK)(Le.item)}`);this._toggleClass(Le.item,!0)}),V.forEachRemovedItem(Le=>this._toggleClass(Le.item,!1))}_applyClasses(V){V&&(Array.isArray(V)||V instanceof Set?V.forEach(Le=>this._toggleClass(Le,!0)):Object.keys(V).forEach(Le=>this._toggleClass(Le,!!V[Le])))}_removeClasses(V){V&&(Array.isArray(V)||V instanceof Set?V.forEach(Le=>this._toggleClass(Le,!1)):Object.keys(V).forEach(Le=>this._toggleClass(Le,!1)))}_toggleClass(V,Le){(V=V.trim())&&V.split(/\s+/g).forEach(At=>{Le?this._renderer.addClass(this._ngEl.nativeElement,At):this._renderer.removeClass(this._ngEl.nativeElement,At)})}}return N.\u0275fac=function(V){return new(V||N)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},N.\u0275dir=s.lG2({type:N,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),N})();class ai{constructor(Pe,V,Le,At){this.$implicit=Pe,this.ngForOf=V,this.index=Le,this.count=At}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 Ei=(()=>{class N{constructor(V,Le,At){this._viewContainer=V,this._template=Le,this._differs=At,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(V){this._ngForOf=V,this._ngForOfDirty=!0}set ngForTrackBy(V){this._trackByFn=V}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(V){V&&(this._template=V)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const V=this._ngForOf;!this._differ&&V&&(this._differ=this._differs.find(V).create(this.ngForTrackBy))}if(this._differ){const V=this._differ.diff(this._ngForOf);V&&this._applyChanges(V)}}_applyChanges(V){const Le=this._viewContainer;V.forEachOperation((At,zt,Kt)=>{if(null==At.previousIndex)Le.createEmbeddedView(this._template,new ai(At.item,this._ngForOf,-1,-1),null===Kt?void 0:Kt);else if(null==Kt)Le.remove(null===zt?void 0:zt);else if(null!==zt){const hn=Le.get(zt);Le.move(hn,Kt),wn(hn,At)}});for(let At=0,zt=Le.length;At<zt;At++){const hn=Le.get(At).context;hn.index=At,hn.count=zt,hn.ngForOf=this._ngForOf}V.forEachIdentityChange(At=>{wn(Le.get(At.currentIndex),At)})}static ngTemplateContextGuard(V,Le){return!0}}return N.\u0275fac=function(V){return new(V||N)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(s.ZZ4))},N.\u0275dir=s.lG2({type:N,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),N})();function wn(N,Pe){N.context.$implicit=Pe.item}let Si=(()=>{class N{constructor(V,Le){this._viewContainer=V,this._context=new si,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Le}set ngIf(V){this._context.$implicit=this._context.ngIf=V,this._updateView()}set ngIfThen(V){pi("ngIfThen",V),this._thenTemplateRef=V,this._thenViewRef=null,this._updateView()}set ngIfElse(V){pi("ngIfElse",V),this._elseTemplateRef=V,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(V,Le){return!0}}return N.\u0275fac=function(V){return new(V||N)(s.Y36(s.s_b),s.Y36(s.Rgc))},N.\u0275dir=s.lG2({type:N,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),N})();class si{constructor(){this.$implicit=null,this.ngIf=null}}function pi(N,Pe){if(Pe&&!Pe.createEmbeddedView)throw new Error(`${N} must be a TemplateRef, but received '${(0,s.AaK)(Pe)}'.`)}class Ri{constructor(Pe,V){this._viewContainerRef=Pe,this._templateRef=V,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Pe){Pe&&!this._created?this.create():!Pe&&this._created&&this.destroy()}}let vi=(()=>{class N{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(V){this._ngSwitch=V,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(V){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(V)}_matchCase(V){const Le=V==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Le,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Le}_updateDefaultCases(V){if(this._defaultViews&&V!==this._defaultUsed){this._defaultUsed=V;for(let Le=0;Le<this._defaultViews.length;Le++)this._defaultViews[Le].enforceState(V)}}}return N.\u0275fac=function(V){return new(V||N)},N.\u0275dir=s.lG2({type:N,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),N})(),yi=(()=>{class N{constructor(V,Le,At){this.ngSwitch=At,At._addCase(),this._view=new Ri(V,Le)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return N.\u0275fac=function(V){return new(V||N)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(vi,9))},N.\u0275dir=s.lG2({type:N,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),N})(),fi=(()=>{class N{constructor(V,Le,At){At._addDefault(new Ri(V,Le))}}return N.\u0275fac=function(V){return new(V||N)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(vi,9))},N.\u0275dir=s.lG2({type:N,selectors:[["","ngSwitchDefault",""]]}),N})(),ns=(()=>{class N{constructor(V,Le,At){this._ngEl=V,this._differs=Le,this._renderer=At,this._ngStyle=null,this._differ=null}set ngStyle(V){this._ngStyle=V,!this._differ&&V&&(this._differ=this._differs.find(V).create())}ngDoCheck(){if(this._differ){const V=this._differ.diff(this._ngStyle);V&&this._applyChanges(V)}}_setStyle(V,Le){const[At,zt]=V.split(".");null!=(Le=null!=Le&&zt?`${Le}${zt}`:Le)?this._renderer.setStyle(this._ngEl.nativeElement,At,Le):this._renderer.removeStyle(this._ngEl.nativeElement,At)}_applyChanges(V){V.forEachRemovedItem(Le=>this._setStyle(Le.key,null)),V.forEachAddedItem(Le=>this._setStyle(Le.key,Le.currentValue)),V.forEachChangedItem(Le=>this._setStyle(Le.key,Le.currentValue))}}return N.\u0275fac=function(V){return new(V||N)(s.Y36(s.SBq),s.Y36(s.aQg),s.Y36(s.Qsj))},N.\u0275dir=s.lG2({type:N,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),N})(),ji=(()=>{class N{constructor(V){this._viewContainerRef=V,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(V){if(V.ngTemplateOutlet||V.ngTemplateOutletInjector){const Le=this._viewContainerRef;if(this._viewRef&&Le.remove(Le.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:At,ngTemplateOutletContext:zt,ngTemplateOutletInjector:Kt}=this;this._viewRef=Le.createEmbeddedView(At,zt,Kt?{injector:Kt}:void 0)}else this._viewRef=null}else this._viewRef&&V.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return N.\u0275fac=function(V){return new(V||N)(s.Y36(s.s_b))},N.\u0275dir=s.lG2({type:N,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[s.TTD]}),N})();function $e(N,Pe){return new s.vHH(2100,"")}class wt{createSubscription(Pe,V){return Pe.subscribe({next:V,error:Le=>{throw Le}})}dispose(Pe){Pe.unsubscribe()}}class Ht{createSubscription(Pe,V){return Pe.then(V,Le=>{throw Le})}dispose(Pe){}}const Zt=new Ht,un=new wt;let Tn=(()=>{class N{constructor(V){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=V}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(V){return this._obj?V!==this._obj?(this._dispose(),this.transform(V)):this._latestValue:(V&&this._subscribe(V),this._latestValue)}_subscribe(V){this._obj=V,this._strategy=this._selectStrategy(V),this._subscription=this._strategy.createSubscription(V,Le=>this._updateLatestValue(V,Le))}_selectStrategy(V){if((0,s.QGY)(V))return Zt;if((0,s.F4k)(V))return un;throw $e()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(V,Le){V===this._obj&&(this._latestValue=Le,this._ref.markForCheck())}}return N.\u0275fac=function(V){return new(V||N)(s.Y36(s.sBO,16))},N.\u0275pipe=s.Yjl({name:"async",type:N,pure:!1}),N})();const js=new s.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Yi=(()=>{class N{constructor(V,Le){this.locale=V,this.defaultTimezone=Le}transform(V,Le="mediumDate",At,zt){var Kt;if(null==V||""===V||V!=V)return null;try{return qt(V,Le,zt||this.locale,null!==(Kt=null!=At?At:this.defaultTimezone)&&void 0!==Kt?Kt:void 0)}catch(hn){throw $e()}}}return N.\u0275fac=function(V){return new(V||N)(s.Y36(s.soG,16),s.Y36(js,24))},N.\u0275pipe=s.Yjl({name:"date",type:N,pure:!0}),N})(),Es=(()=>{class N{}return N.\u0275fac=function(V){return new(V||N)},N.\u0275mod=s.oAB({type:N}),N.\u0275inj=s.cJS({}),N})();const rs="browser";function $i(N){return N===rs}function ri(N){return"server"===N}let ks=(()=>{class N{}return N.\u0275prov=(0,s.Yz7)({token:N,providedIn:"root",factory:()=>new qi((0,s.LFG)(ie),window)}),N})();class qi{constructor(Pe,V){this.document=Pe,this.window=V,this.offset=()=>[0,0]}setOffset(Pe){this.offset=Array.isArray(Pe)?()=>Pe:Pe}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Pe){this.supportsScrolling()&&this.window.scrollTo(Pe[0],Pe[1])}scrollToAnchor(Pe){if(!this.supportsScrolling())return;const V=function Gi(N,Pe){const V=N.getElementById(Pe)||N.getElementsByName(Pe)[0];if(V)return V;if("function"==typeof N.createTreeWalker&&N.body&&(N.body.createShadowRoot||N.body.attachShadow)){const Le=N.createTreeWalker(N.body,NodeFilter.SHOW_ELEMENT);let At=Le.currentNode;for(;At;){const zt=At.shadowRoot;if(zt){const Kt=zt.getElementById(Pe)||zt.querySelector(`[name="${Pe}"]`);if(Kt)return Kt}At=Le.nextNode()}}return null}(this.document,Pe);V&&(this.scrollToElement(V),V.focus())}setHistoryScrollRestoration(Pe){if(this.supportScrollRestoration()){const V=this.window.history;V&&V.scrollRestoration&&(V.scrollRestoration=Pe)}}scrollToElement(Pe){const V=Pe.getBoundingClientRect(),Le=V.left+this.window.pageXOffset,At=V.top+this.window.pageYOffset,zt=this.offset();this.window.scrollTo(Le-zt[0],At-zt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const Pe=$n(this.window.history)||$n(Object.getPrototypeOf(this.window.history));return!(!Pe||!Pe.writable&&!Pe.set)}catch(Pe){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(Pe){return!1}}}function $n(N){return Object.getOwnPropertyDescriptor(N,"scrollRestoration")}class zn{}},520:(Yt,ut,c)=>{"use strict";c.d(ut,{JF:()=>xe,LE:()=>Se,WM:()=>X,eN:()=>pt});var s=c(9808),i=c(5e3),h=c(9646),u=c(8306),l=c(4351),Me=c(9300),ie=c(4004);class re{}class ve{}class X{constructor(Z){this.normalizedNames=new Map,this.lazyUpdate=null,Z?this.lazyInit="string"==typeof Z?()=>{this.headers=new Map,Z.split("\n").forEach(Ee=>{const tt=Ee.indexOf(":");if(tt>0){const qe=Ee.slice(0,tt),kt=qe.toLowerCase(),qt=Ee.slice(tt+1).trim();this.maybeSetNormalizedName(qe,kt),this.headers.has(kt)?this.headers.get(kt).push(qt):this.headers.set(kt,[qt])}})}:()=>{this.headers=new Map,Object.keys(Z).forEach(Ee=>{let tt=Z[Ee];const qe=Ee.toLowerCase();"string"==typeof tt&&(tt=[tt]),tt.length>0&&(this.headers.set(qe,tt),this.maybeSetNormalizedName(Ee,qe))})}:this.headers=new Map}has(Z){return this.init(),this.headers.has(Z.toLowerCase())}get(Z){this.init();const Ee=this.headers.get(Z.toLowerCase());return Ee&&Ee.length>0?Ee[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Z){return this.init(),this.headers.get(Z.toLowerCase())||null}append(Z,Ee){return this.clone({name:Z,value:Ee,op:"a"})}set(Z,Ee){return this.clone({name:Z,value:Ee,op:"s"})}delete(Z,Ee){return this.clone({name:Z,value:Ee,op:"d"})}maybeSetNormalizedName(Z,Ee){this.normalizedNames.has(Ee)||this.normalizedNames.set(Ee,Z)}init(){this.lazyInit&&(this.lazyInit instanceof X?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Z=>this.applyUpdate(Z)),this.lazyUpdate=null))}copyFrom(Z){Z.init(),Array.from(Z.headers.keys()).forEach(Ee=>{this.headers.set(Ee,Z.headers.get(Ee)),this.normalizedNames.set(Ee,Z.normalizedNames.get(Ee))})}clone(Z){const Ee=new X;return Ee.lazyInit=this.lazyInit&&this.lazyInit instanceof X?this.lazyInit:this,Ee.lazyUpdate=(this.lazyUpdate||[]).concat([Z]),Ee}applyUpdate(Z){const Ee=Z.name.toLowerCase();switch(Z.op){case"a":case"s":let tt=Z.value;if("string"==typeof tt&&(tt=[tt]),0===tt.length)return;this.maybeSetNormalizedName(Z.name,Ee);const qe=("a"===Z.op?this.headers.get(Ee):void 0)||[];qe.push(...tt),this.headers.set(Ee,qe);break;case"d":const kt=Z.value;if(kt){let qt=this.headers.get(Ee);if(!qt)return;qt=qt.filter(en=>-1===kt.indexOf(en)),0===qt.length?(this.headers.delete(Ee),this.normalizedNames.delete(Ee)):this.headers.set(Ee,qt)}else this.headers.delete(Ee),this.normalizedNames.delete(Ee)}}forEach(Z){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ee=>Z(this.normalizedNames.get(Ee),this.headers.get(Ee)))}}class Ne{encodeKey(Z){return Ae(Z)}encodeValue(Z){return Ae(Z)}decodeKey(Z){return decodeURIComponent(Z)}decodeValue(Z){return decodeURIComponent(Z)}}const Ce=/%(\d[a-f0-9])/gi,ae={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ae(W){return encodeURIComponent(W).replace(Ce,(Z,Ee)=>{var tt;return null!==(tt=ae[Ee])&&void 0!==tt?tt:Z})}function Be(W){return`${W}`}class Se{constructor(Z={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Z.encoder||new Ne,Z.fromString){if(Z.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ne(W,Z){const Ee=new Map;return W.length>0&&W.replace(/^\?/,"").split("&").forEach(qe=>{const kt=qe.indexOf("="),[qt,en]=-1==kt?[Z.decodeKey(qe),""]:[Z.decodeKey(qe.slice(0,kt)),Z.decodeValue(qe.slice(kt+1))],Lt=Ee.get(qt)||[];Lt.push(en),Ee.set(qt,Lt)}),Ee}(Z.fromString,this.encoder)}else Z.fromObject?(this.map=new Map,Object.keys(Z.fromObject).forEach(Ee=>{const tt=Z.fromObject[Ee],qe=Array.isArray(tt)?tt.map(Be):[Be(tt)];this.map.set(Ee,qe)})):this.map=null}has(Z){return this.init(),this.map.has(Z)}get(Z){this.init();const Ee=this.map.get(Z);return Ee?Ee[0]:null}getAll(Z){return this.init(),this.map.get(Z)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Z,Ee){return this.clone({param:Z,value:Ee,op:"a"})}appendAll(Z){const Ee=[];return Object.keys(Z).forEach(tt=>{const qe=Z[tt];Array.isArray(qe)?qe.forEach(kt=>{Ee.push({param:tt,value:kt,op:"a"})}):Ee.push({param:tt,value:qe,op:"a"})}),this.clone(Ee)}set(Z,Ee){return this.clone({param:Z,value:Ee,op:"s"})}delete(Z,Ee){return this.clone({param:Z,value:Ee,op:"d"})}toString(){return this.init(),this.keys().map(Z=>{const Ee=this.encoder.encodeKey(Z);return this.map.get(Z).map(tt=>Ee+"="+this.encoder.encodeValue(tt)).join("&")}).filter(Z=>""!==Z).join("&")}clone(Z){const Ee=new Se({encoder:this.encoder});return Ee.cloneFrom=this.cloneFrom||this,Ee.updates=(this.updates||[]).concat(Z),Ee}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Z=>this.map.set(Z,this.cloneFrom.map.get(Z))),this.updates.forEach(Z=>{switch(Z.op){case"a":case"s":const Ee=("a"===Z.op?this.map.get(Z.param):void 0)||[];Ee.push(Be(Z.value)),this.map.set(Z.param,Ee);break;case"d":if(void 0===Z.value){this.map.delete(Z.param);break}{let tt=this.map.get(Z.param)||[];const qe=tt.indexOf(Be(Z.value));-1!==qe&&tt.splice(qe,1),tt.length>0?this.map.set(Z.param,tt):this.map.delete(Z.param)}}}),this.cloneFrom=this.updates=null)}}class bt{constructor(){this.map=new Map}set(Z,Ee){return this.map.set(Z,Ee),this}get(Z){return this.map.has(Z)||this.map.set(Z,Z.defaultValue()),this.map.get(Z)}delete(Z){return this.map.delete(Z),this}has(Z){return this.map.has(Z)}keys(){return this.map.keys()}}function ke(W){return"undefined"!=typeof ArrayBuffer&&W instanceof ArrayBuffer}function oe(W){return"undefined"!=typeof Blob&&W instanceof Blob}function he(W){return"undefined"!=typeof FormData&&W instanceof FormData}class We{constructor(Z,Ee,tt,qe){let kt;if(this.url=Ee,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Z.toUpperCase(),function Mt(W){switch(W){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||qe?(this.body=void 0!==tt?tt:null,kt=qe):kt=tt,kt&&(this.reportProgress=!!kt.reportProgress,this.withCredentials=!!kt.withCredentials,kt.responseType&&(this.responseType=kt.responseType),kt.headers&&(this.headers=kt.headers),kt.context&&(this.context=kt.context),kt.params&&(this.params=kt.params)),this.headers||(this.headers=new X),this.context||(this.context=new bt),this.params){const qt=this.params.toString();if(0===qt.length)this.urlWithParams=Ee;else{const en=Ee.indexOf("?");this.urlWithParams=Ee+(-1===en?"?":en<Ee.length-1?"&":"")+qt}}else this.params=new Se,this.urlWithParams=Ee}serializeBody(){return null===this.body?null:ke(this.body)||oe(this.body)||he(this.body)||function le(W){return"undefined"!=typeof URLSearchParams&&W instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Se?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||he(this.body)?null:oe(this.body)?this.body.type||null:ke(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Se?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Z={}){var Ee;const tt=Z.method||this.method,qe=Z.url||this.url,kt=Z.responseType||this.responseType,qt=void 0!==Z.body?Z.body:this.body,en=void 0!==Z.withCredentials?Z.withCredentials:this.withCredentials,Lt=void 0!==Z.reportProgress?Z.reportProgress:this.reportProgress;let xt=Z.headers||this.headers,Rt=Z.params||this.params;const ge=null!==(Ee=Z.context)&&void 0!==Ee?Ee:this.context;return void 0!==Z.setHeaders&&(xt=Object.keys(Z.setHeaders).reduce((Ge,rt)=>Ge.set(rt,Z.setHeaders[rt]),xt)),Z.setParams&&(Rt=Object.keys(Z.setParams).reduce((Ge,rt)=>Ge.set(rt,Z.setParams[rt]),Rt)),new We(tt,qe,qt,{params:Rt,headers:xt,context:ge,reportProgress:Lt,responseType:kt,withCredentials:en})}}var we=(()=>((we=we||{})[we.Sent=0]="Sent",we[we.UploadProgress=1]="UploadProgress",we[we.ResponseHeader=2]="ResponseHeader",we[we.DownloadProgress=3]="DownloadProgress",we[we.Response=4]="Response",we[we.User=5]="User",we))();class et{constructor(Z,Ee=200,tt="OK"){this.headers=Z.headers||new X,this.status=void 0!==Z.status?Z.status:Ee,this.statusText=Z.statusText||tt,this.url=Z.url||null,this.ok=this.status>=200&&this.status<300}}class Xe extends et{constructor(Z={}){super(Z),this.type=we.ResponseHeader}clone(Z={}){return new Xe({headers:Z.headers||this.headers,status:void 0!==Z.status?Z.status:this.status,statusText:Z.statusText||this.statusText,url:Z.url||this.url||void 0})}}class _e extends et{constructor(Z={}){super(Z),this.type=we.Response,this.body=void 0!==Z.body?Z.body:null}clone(Z={}){return new _e({body:void 0!==Z.body?Z.body:this.body,headers:Z.headers||this.headers,status:void 0!==Z.status?Z.status:this.status,statusText:Z.statusText||this.statusText,url:Z.url||this.url||void 0})}}class lt extends et{constructor(Z){super(Z,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Z.url||"(unknown url)"}`:`Http failure response for ${Z.url||"(unknown url)"}: ${Z.status} ${Z.statusText}`,this.error=Z.error||null}}function je(W,Z){return{body:Z,headers:W.headers,context:W.context,observe:W.observe,params:W.params,reportProgress:W.reportProgress,responseType:W.responseType,withCredentials:W.withCredentials}}let pt=(()=>{class W{constructor(Ee){this.handler=Ee}request(Ee,tt,qe={}){let kt;if(Ee instanceof We)kt=Ee;else{let Lt,xt;Lt=qe.headers instanceof X?qe.headers:new X(qe.headers),qe.params&&(xt=qe.params instanceof Se?qe.params:new Se({fromObject:qe.params})),kt=new We(Ee,tt,void 0!==qe.body?qe.body:null,{headers:Lt,context:qe.context,params:xt,reportProgress:qe.reportProgress,responseType:qe.responseType||"json",withCredentials:qe.withCredentials})}const qt=(0,h.of)(kt).pipe((0,l.b)(Lt=>this.handler.handle(Lt)));if(Ee instanceof We||"events"===qe.observe)return qt;const en=qt.pipe((0,Me.h)(Lt=>Lt instanceof _e));switch(qe.observe||"body"){case"body":switch(kt.responseType){case"arraybuffer":return en.pipe((0,ie.U)(Lt=>{if(null!==Lt.body&&!(Lt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Lt.body}));case"blob":return en.pipe((0,ie.U)(Lt=>{if(null!==Lt.body&&!(Lt.body instanceof Blob))throw new Error("Response is not a Blob.");return Lt.body}));case"text":return en.pipe((0,ie.U)(Lt=>{if(null!==Lt.body&&"string"!=typeof Lt.body)throw new Error("Response is not a string.");return Lt.body}));default:return en.pipe((0,ie.U)(Lt=>Lt.body))}case"response":return en;default:throw new Error(`Unreachable: unhandled observe type ${qe.observe}}`)}}delete(Ee,tt={}){return this.request("DELETE",Ee,tt)}get(Ee,tt={}){return this.request("GET",Ee,tt)}head(Ee,tt={}){return this.request("HEAD",Ee,tt)}jsonp(Ee,tt){return this.request("JSONP",Ee,{params:(new Se).append(tt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ee,tt={}){return this.request("OPTIONS",Ee,tt)}patch(Ee,tt,qe={}){return this.request("PATCH",Ee,je(qe,tt))}post(Ee,tt,qe={}){return this.request("POST",Ee,je(qe,tt))}put(Ee,tt,qe={}){return this.request("PUT",Ee,je(qe,tt))}}return W.\u0275fac=function(Ee){return new(Ee||W)(i.LFG(re))},W.\u0275prov=i.Yz7({token:W,factory:W.\u0275fac}),W})();class it{constructor(Z,Ee){this.next=Z,this.interceptor=Ee}handle(Z){return this.interceptor.intercept(Z,this.next)}}const ft=new i.OlP("HTTP_INTERCEPTORS");let Ct=(()=>{class W{intercept(Ee,tt){return tt.handle(Ee)}}return W.\u0275fac=function(Ee){return new(Ee||W)},W.\u0275prov=i.Yz7({token:W,factory:W.\u0275fac}),W})();const Ke=/^\)\]\}',?\n/;let ze=(()=>{class W{constructor(Ee){this.xhrFactory=Ee}handle(Ee){if("JSONP"===Ee.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new u.y(tt=>{const qe=this.xhrFactory.build();if(qe.open(Ee.method,Ee.urlWithParams),Ee.withCredentials&&(qe.withCredentials=!0),Ee.headers.forEach((rt,L)=>qe.setRequestHeader(rt,L.join(","))),Ee.headers.has("Accept")||qe.setRequestHeader("Accept","application/json, text/plain, */*"),!Ee.headers.has("Content-Type")){const rt=Ee.detectContentTypeHeader();null!==rt&&qe.setRequestHeader("Content-Type",rt)}if(Ee.responseType){const rt=Ee.responseType.toLowerCase();qe.responseType="json"!==rt?rt:"text"}const kt=Ee.serializeBody();let qt=null;const en=()=>{if(null!==qt)return qt;const rt=qe.statusText||"OK",L=new X(qe.getAllResponseHeaders()),me=function gt(W){return"responseURL"in W&&W.responseURL?W.responseURL:/^X-Request-URL:/m.test(W.getAllResponseHeaders())?W.getResponseHeader("X-Request-URL"):null}(qe)||Ee.url;return qt=new Xe({headers:L,status:qe.status,statusText:rt,url:me}),qt},Lt=()=>{let{headers:rt,status:L,statusText:me,url:T}=en(),D=null;204!==L&&(D=void 0===qe.response?qe.responseText:qe.response),0===L&&(L=D?200:0);let z=L>=200&&L<300;if("json"===Ee.responseType&&"string"==typeof D){const P=D;D=D.replace(Ke,"");try{D=""!==D?JSON.parse(D):null}catch(ue){D=P,z&&(z=!1,D={error:ue,text:D})}}z?(tt.next(new _e({body:D,headers:rt,status:L,statusText:me,url:T||void 0})),tt.complete()):tt.error(new lt({error:D,headers:rt,status:L,statusText:me,url:T||void 0}))},xt=rt=>{const{url:L}=en(),me=new lt({error:rt,status:qe.status||0,statusText:qe.statusText||"Unknown Error",url:L||void 0});tt.error(me)};let Rt=!1;const ge=rt=>{Rt||(tt.next(en()),Rt=!0);let L={type:we.DownloadProgress,loaded:rt.loaded};rt.lengthComputable&&(L.total=rt.total),"text"===Ee.responseType&&!!qe.responseText&&(L.partialText=qe.responseText),tt.next(L)},Ge=rt=>{let L={type:we.UploadProgress,loaded:rt.loaded};rt.lengthComputable&&(L.total=rt.total),tt.next(L)};return qe.addEventListener("load",Lt),qe.addEventListener("error",xt),qe.addEventListener("timeout",xt),qe.addEventListener("abort",xt),Ee.reportProgress&&(qe.addEventListener("progress",ge),null!==kt&&qe.upload&&qe.upload.addEventListener("progress",Ge)),qe.send(kt),tt.next({type:we.Sent}),()=>{qe.removeEventListener("error",xt),qe.removeEventListener("abort",xt),qe.removeEventListener("load",Lt),qe.removeEventListener("timeout",xt),Ee.reportProgress&&(qe.removeEventListener("progress",ge),null!==kt&&qe.upload&&qe.upload.removeEventListener("progress",Ge)),qe.readyState!==qe.DONE&&qe.abort()}})}}return W.\u0275fac=function(Ee){return new(Ee||W)(i.LFG(s.JF))},W.\u0275prov=i.Yz7({token:W,factory:W.\u0275fac}),W})();const Et=new i.OlP("XSRF_COOKIE_NAME"),Nt=new i.OlP("XSRF_HEADER_NAME");class $t{}let ln=(()=>{class W{constructor(Ee,tt,qe){this.doc=Ee,this.platform=tt,this.cookieName=qe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ee=this.doc.cookie||"";return Ee!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,s.Mx)(Ee,this.cookieName),this.lastCookieString=Ee),this.lastToken}}return W.\u0275fac=function(Ee){return new(Ee||W)(i.LFG(s.K0),i.LFG(i.Lbi),i.LFG(Et))},W.\u0275prov=i.Yz7({token:W,factory:W.\u0275fac}),W})(),gn=(()=>{class W{constructor(Ee,tt){this.tokenService=Ee,this.headerName=tt}intercept(Ee,tt){const qe=Ee.url.toLowerCase();if("GET"===Ee.method||"HEAD"===Ee.method||qe.startsWith("http://")||qe.startsWith("https://"))return tt.handle(Ee);const kt=this.tokenService.getToken();return null!==kt&&!Ee.headers.has(this.headerName)&&(Ee=Ee.clone({headers:Ee.headers.set(this.headerName,kt)})),tt.handle(Ee)}}return W.\u0275fac=function(Ee){return new(Ee||W)(i.LFG($t),i.LFG(Nt))},W.\u0275prov=i.Yz7({token:W,factory:W.\u0275fac}),W})(),jt=(()=>{class W{constructor(Ee,tt){this.backend=Ee,this.injector=tt,this.chain=null}handle(Ee){if(null===this.chain){const tt=this.injector.get(ft,[]);this.chain=tt.reduceRight((qe,kt)=>new it(qe,kt),this.backend)}return this.chain.handle(Ee)}}return W.\u0275fac=function(Ee){return new(Ee||W)(i.LFG(ve),i.LFG(i.zs3))},W.\u0275prov=i.Yz7({token:W,factory:W.\u0275fac}),W})(),st=(()=>{class W{static disable(){return{ngModule:W,providers:[{provide:gn,useClass:Ct}]}}static withOptions(Ee={}){return{ngModule:W,providers:[Ee.cookieName?{provide:Et,useValue:Ee.cookieName}:[],Ee.headerName?{provide:Nt,useValue:Ee.headerName}:[]]}}}return W.\u0275fac=function(Ee){return new(Ee||W)},W.\u0275mod=i.oAB({type:W}),W.\u0275inj=i.cJS({providers:[gn,{provide:ft,useExisting:gn,multi:!0},{provide:$t,useClass:ln},{provide:Et,useValue:"XSRF-TOKEN"},{provide:Nt,useValue:"X-XSRF-TOKEN"}]}),W})(),xe=(()=>{class W{}return W.\u0275fac=function(Ee){return new(Ee||W)},W.\u0275mod=i.oAB({type:W}),W.\u0275inj=i.cJS({providers:[pt,{provide:re,useClass:jt},ze,{provide:ve,useExisting:ze}],imports:[st.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),W})()},5e3:(Yt,ut,c)=>{"use strict";c.d(ut,{$8M:()=>dn,$Z:()=>Ih,AA_:()=>du,AFp:()=>ng,ALo:()=>Cm,AaK:()=>re,AsE:()=>md,BQk:()=>El,CHM:()=>Oe,CRH:()=>Rm,CZH:()=>Bl,CqO:()=>Fp,D6c:()=>LD,DdM:()=>um,EJc:()=>qC,EiD:()=>Su,EpF:()=>kp,F$t:()=>Vp,F4k:()=>Pp,FYo:()=>om,FiY:()=>Ea,G48:()=>vD,Gf:()=>Im,GfV:()=>am,GkF:()=>sd,Gpc:()=>Ne,Gre:()=>vf,Hsn:()=>Hp,IIB:()=>WC,Ikx:()=>gd,JOm:()=>Dr,JVY:()=>Jg,KtG:()=>Gt,L6J:()=>$C,L6k:()=>qg,LAX:()=>e_,LFG:()=>Vi,LSH:()=>Ql,Lbi:()=>KC,MAs:()=>Rp,MMx:()=>Td,NdJ:()=>od,O4$:()=>so,OlP:()=>oi,Oqu:()=>fd,PXZ:()=>hD,Q6J:()=>td,QGY:()=>rd,QP$:()=>ha,QbO:()=>ZC,Qsj:()=>G0,R0b:()=>Us,RDi:()=>Xs,Rgc:()=>Za,SBq:()=>Ya,Sil:()=>eD,Suo:()=>Om,TTD:()=>Ms,TgZ:()=>Cl,Udp:()=>ud,VKq:()=>hm,W1O:()=>Lm,WFA:()=>ad,WLB:()=>pm,XFs:()=>jt,Xpm:()=>T,Y36:()=>$o,YKP:()=>sm,YNc:()=>Op,Yjl:()=>ye,Yz7:()=>J,ZZ4:()=>Qd,_Bn:()=>nm,_UZ:()=>id,_Vd:()=>za,_c5:()=>PD,_uU:()=>df,aQg:()=>Jd,c2e:()=>QC,cJS:()=>de,cg1:()=>vd,d8E:()=>_d,dDg:()=>lD,deG:()=>S,dqk:()=>qe,eBb:()=>Xg,eFA:()=>fg,ekj:()=>hd,eoX:()=>dg,f3M:()=>lu,g9A:()=>sg,gxx:()=>dl,h0i:()=>Mo,hGG:()=>FD,hM9:()=>X0,hij:()=>wl,iGM:()=>Tm,ifc:()=>tt,ip1:()=>tg,jDz:()=>dm,kEZ:()=>fm,kL8:()=>Sf,kYT:()=>F,kcU:()=>Pr,l5B:()=>mm,lG2:()=>j,lcZ:()=>Dm,lqb:()=>zo,lri:()=>lg,mCW:()=>Sa,n5z:()=>Dt,n_E:()=>Rl,oAB:()=>te,oxw:()=>Np,pB0:()=>t_,q3G:()=>Hi,qLn:()=>Oa,qOj:()=>Jc,qZA:()=>Dl,qzn:()=>Uo,rWj:()=>cg,s9C:()=>cd,sBO:()=>yD,sIi:()=>Ba,s_b:()=>Pl,soG:()=>Nl,tBr:()=>tl,tb:()=>rg,tp0:()=>xa,uIk:()=>ed,vHH:()=>Ae,vpe:()=>Sr,wAp:()=>In,xi3:()=>Mm,xp6:()=>lh,yhl:()=>bu,ynx:()=>Ml,z2F:()=>Vl,z3N:()=>Yr,zSh:()=>_c,zs3:()=>Mr});var s=c(7579),i=c(727),h=c(8306),u=c(6451),l=c(3099);function Me(e){for(let t in e)if(e[t]===Me)return t;throw Error("Could not find renamed property on target object.")}function ie(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function re(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(re).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 ve(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const X=Me({__forward_ref__:Me});function Ne(e){return e.__forward_ref__=Ne,e.toString=function(){return re(this())},e}function ne(e){return Ce(e)?e():e}function Ce(e){return"function"==typeof e&&e.hasOwnProperty(X)&&e.__forward_ref__===Ne}class Ae extends Error{constructor(t,n){super(function Be(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Se(e){return"string"==typeof e?e:null==e?"":String(e)}function oe(e,t){throw new Ae(-201,!1)}function St(e,t){null==e&&function Y(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function J(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{providers:e.providers||[],imports:e.imports||[]}}function De(e){return Ke(e,Nt)||Ke(e,ln)}function Ke(e,t){return e.hasOwnProperty(t)?e[t]:null}function Et(e){return e&&(e.hasOwnProperty($t)||e.hasOwnProperty(gn))?e[$t]:null}const Nt=Me({\u0275prov:Me}),$t=Me({\u0275inj:Me}),ln=Me({ngInjectableDef:Me}),gn=Me({ngInjectorDef:Me});var jt=(()=>((jt=jt||{})[jt.Default=0]="Default",jt[jt.Host=1]="Host",jt[jt.Self=2]="Self",jt[jt.SkipSelf=4]="SkipSelf",jt[jt.Optional=8]="Optional",jt))();let cn;function st(e){const t=cn;return cn=e,t}function xe(e,t,n){const r=De(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&jt.Optional?null:void 0!==t?t:void oe(re(e))}function k(e){return{toString:e}.toString()}var W=(()=>((W=W||{})[W.OnPush=0]="OnPush",W[W.Default=1]="Default",W))(),tt=(()=>{return(e=tt||(tt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",tt;var e})();const qe=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),en={},Lt=[],xt=Me({\u0275cmp:Me}),Rt=Me({\u0275dir:Me}),ge=Me({\u0275pipe:Me}),Ge=Me({\u0275mod:Me}),rt=Me({\u0275fac:Me}),L=Me({__NG_ELEMENT_ID__:Me});let me=0;function T(e){return k(()=>{const n=!0===e.standalone,r={},o={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:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===W.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Lt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||tt.Emulated,id:"c"+me++,styles:e.styles||Lt,_:null,setInput:null,schemas:e.schemas||null,tView:null},a=e.dependencies,f=e.features;return o.inputs=G(e.inputs,r),o.outputs=G(e.outputs),f&&f.forEach(v=>v(o)),o.directiveDefs=a?()=>("function"==typeof a?a():a).map(z).filter(P):null,o.pipeDefs=a?()=>("function"==typeof a?a():a).map(Je).filter(P):null,o})}function z(e){return H(e)||Ue(e)}function P(e){return null!==e}const ue={};function te(e){return k(()=>{const t={type:e.type,bootstrap:e.bootstrap||Lt,declarations:e.declarations||Lt,imports:e.imports||Lt,exports:e.exports||Lt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ue[e.id]=e.type),t})}function F(e,t){return k(()=>{const n=It(e,!0);n.declarations=t.declarations||Lt,n.imports=t.imports||Lt,n.exports=t.exports||Lt})}function G(e,t){if(null==e)return en;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],a=o;Array.isArray(o)&&(a=o[1],o=o[0]),n[o]=r,t&&(t[o]=a)}return n}const j=T;function ye(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 H(e){return e[xt]||null}function Ue(e){return e[Rt]||null}function Je(e){return e[ge]||null}function It(e,t){const n=e[Ge]||null;if(!n&&!0===t)throw new Error(`Type ${re(e)} does not have '\u0275mod' property.`);return n}const I=11;function si(e){return Array.isArray(e)&&"object"==typeof e[1]}function pi(e){return Array.isArray(e)&&!0===e[1]}function Ri(e){return 0!=(8&e.flags)}function vi(e){return 2==(2&e.flags)}function yi(e){return 1==(1&e.flags)}function fi(e){return null!==e.template}function Rs(e){return 0!=(256&e[2])}function Pi(e,t){return e.hasOwnProperty(rt)?e[rt]:null}class ps{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ms(){return fs}function fs(e){return e.type.prototype.ngOnChanges&&(e.setInput=ss),Gs}function Gs(){const e=Ys(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===en)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ss(e,t,n,r){const o=Ys(e)||function Ws(e,t){return e[zs]=t}(e,{previous:en,current:null}),a=o.current||(o.current={}),f=o.previous,v=this.declaredInputs[n],w=f[v];a[v]=new ps(w&&w.currentValue,t,f===en),e[r]=t}Ms.ngInherit=!0;const zs="__ngSimpleChanges__";function Ys(e){return e[zs]||null}let Ki;function Xs(e){Ki=e}function $n(e){return!!e.listen}const Gi={createRenderer:(e,t)=>function ks(){return void 0!==Ki?Ki:"undefined"!=typeof document?document:void 0}()};function zn(e){for(;Array.isArray(e);)e=e[0];return e}function V(e,t){return zn(t[e])}function Le(e,t){return zn(t[e.index])}function zt(e,t){return e.data[t]}function Kt(e,t){return e[t]}function hn(e,t){const n=t[e];return si(n)?n:n[0]}function ei(e){return 4==(4&e[2])}function ti(e){return 64==(64&e[2])}function Rn(e,t){return null==t?null:e[t]}function Wn(e){e[18]=0}function Zn(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const _n={lFrame:Zr(null),bindingsEnabled:!0};function er(){return _n.bindingsEnabled}function M(){return _n.lFrame.lView}function x(){return _n.lFrame.tView}function Oe(e){return _n.lFrame.contextLView=e,e[8]}function Gt(e){return _n.lFrame.contextLView=null,e}function on(){let e=di();for(;null!==e&&64===e.type;)e=e.parent;return e}function di(){return _n.lFrame.currentTNode}function Ci(e,t){const n=_n.lFrame;n.currentTNode=e,n.isParent=t}function ms(){return _n.lFrame.isParent}function hr(){_n.lFrame.isParent=!1}function ce(){const e=_n.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function An(){return _n.lFrame.bindingIndex++}function jn(e){const t=_n.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ii(e,t){const n=_n.lFrame;n.bindingIndex=n.bindingRootIndex=e,ws(t)}function ws(e){_n.lFrame.currentDirectiveIndex=e}function Zs(e){const t=_n.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function fr(){return _n.lFrame.currentQueryIndex}function eo(e){_n.lFrame.currentQueryIndex=e}function kr(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function to(e,t,n){if(n&jt.SkipSelf){let o=t,a=e;for(;!(o=o.parent,null!==o||n&jt.Host||(o=kr(a),null===o||(a=a[15],10&o.type))););if(null===o)return!1;t=o,e=a}const r=_n.lFrame=no();return r.currentTNode=t,r.lView=e,!0}function Qs(e){const t=no(),n=e[1];_n.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function no(){const e=_n.lFrame,t=null===e?null:e.child;return null===t?Zr(e):t}function Zr(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 io(){const e=_n.lFrame;return _n.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const wo=io;function mr(){const e=io();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 Zi(){return _n.lFrame.selectedIndex}function Fs(e){_n.lFrame.selectedIndex=e}function gi(){const e=_n.lFrame;return zt(e.tView,e.selectedIndex)}function so(){_n.lFrame.currentNamespace="svg"}function Pr(){!function ma(){_n.lFrame.currentNamespace=null}()}function Fr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:v,ngAfterViewInit:w,ngAfterViewChecked:Q,ngOnDestroy:Te}=a;f&&(e.contentHooks||(e.contentHooks=[])).push(-n,f),v&&((e.contentHooks||(e.contentHooks=[])).push(n,v),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,v)),w&&(e.viewHooks||(e.viewHooks=[])).push(-n,w),Q&&((e.viewHooks||(e.viewHooks=[])).push(n,Q),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,Q)),null!=Te&&(e.destroyHooks||(e.destroyHooks=[])).push(n,Te)}}function tr(e,t,n){oo(e,t,3,n)}function gr(e,t,n,r){(3&e[2])===n&&oo(e,t,n,r)}function ro(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function oo(e,t,n,r){const a=null!=r?r:-1,f=t.length-1;let v=0;for(let w=void 0!==r?65535&e[18]:0;w<f;w++)if("number"==typeof t[w+1]){if(v=t[w],null!=r&&v>=r)break}else t[w]<0&&(e[18]+=65536),(v<a||-1==a)&&(va(e,n,t,w),e[18]=(4294901760&e[18])+w+2),w++}function va(e,t,n,r){const o=n[r]<0,a=n[r+1],v=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{a.call(v)}finally{}}}else try{a.call(v)}finally{}}class Lr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function ir(e,t,n){const r=$n(e);let o=0;for(;o<n.length;){const a=n[o];if("number"==typeof a){if(0!==a)break;o++;const f=n[o++],v=n[o++],w=n[o++];r?e.setAttribute(t,v,w,f):t.setAttributeNS(f,v,w)}else{const f=a,v=n[++o];Qr(f)?r&&e.setProperty(t,f,v):r?e.setAttribute(t,f,v):t.setAttribute(f,v),o++}}return o}function Io(e){return 3===e||4===e||6===e}function Qr(e){return 64===e.charCodeAt(0)}function _r(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||ao(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function ao(e,t,n,r,o){let a=0,f=e.length;if(-1===t)f=-1;else for(;a<e.length;){const v=e[a++];if("number"==typeof v){if(v===t){f=-1;break}if(v>t){f=a-1;break}}}for(;a<e.length;){const v=e[a];if("number"==typeof v)break;if(v===n){if(null===r)return void(null!==o&&(e[a+1]=o));if(r===e[a+1])return void(e[a+2]=o)}a++,null!==r&&a++,null!==o&&a++}-1!==f&&(e.splice(f,0,t),a=f+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==o&&e.splice(a++,0,o)}function Oo(e){return-1!==e}function Ss(e){return 32767&e}function Ls(e,t){let n=function Ro(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let lo=!0;function gs(e){const t=lo;return lo=e,t}let Ca=0;const _s={};function vr(e,t){const n=co(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,rr(r.data,e),rr(t,null),rr(r.blueprint,null));const o=Jr(e,t),a=e.injectorIndex;if(Oo(o)){const f=Ss(o),v=Ls(o,t),w=v[1].data;for(let Q=0;Q<8;Q++)t[a+Q]=v[f+Q]|w[f+Q]}return t[a+8]=o,a}function rr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function co(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Jr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Mn(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function yr(e,t,n){!function Da(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(L)&&(r=n[L]),null==r&&(r=n[L]=Ca++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function ho(e,t,n){if(n&jt.Optional)return e;oe()}function Po(e,t,n,r){if(n&jt.Optional&&void 0===r&&(r=null),0==(n&(jt.Self|jt.Host))){const o=e[9],a=st(void 0);try{return o?o.get(t,r,n&jt.Optional):xe(t,r,n&jt.Optional)}finally{st(a)}}return ho(r,0,n)}function po(e,t,n,r=jt.Default,o){if(null!==e){if(1024&t[2]){const f=function an(e,t,n,r,o){let a=e,f=t;for(;null!==a&&null!==f&&1024&f[2]&&!(256&f[2]);){const v=Fo(a,f,n,r|jt.Self,_s);if(v!==_s)return v;let w=a.parent;if(!w){const Q=f[21];if(Q){const Te=Q.get(n,_s,r);if(Te!==_s)return Te}w=Mn(f),f=f[15]}a=w}return o}(e,t,n,r,_s);if(f!==_s)return f}const a=Fo(e,t,n,r,_s);if(a!==_s)return a}return Po(t,n,r,o)}function Fo(e,t,n,r,o){const a=function g(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(L)?e[L]:void 0;return"number"==typeof t?t>=0?255&t:_t:t}(n);if("function"==typeof a){if(!to(t,e,r))return r&jt.Host?ho(o,0,r):Po(t,n,r,o);try{const f=a(r);if(null!=f||r&jt.Optional)return f;oe()}finally{wo()}}else if("number"==typeof a){let f=null,v=co(e,t),w=-1,Q=r&jt.Host?t[16][6]:null;for((-1===v||r&jt.SkipSelf)&&(w=-1===v?Jr(e,t):t[v+8],-1!==w&&$(r,!1)?(f=t[1],v=Ss(w),t=Ls(w,t)):v=-1);-1!==v;){const Te=t[1];if(O(a,v,Te.data)){const nt=qa(v,t,n,f,r,Q);if(nt!==_s)return nt}w=t[v+8],-1!==w&&$(r,t[1].data[v+8]===Q)&&O(a,v,t)?(f=Te,v=Ss(w),t=Ls(w,t)):v=-1}}return o}function qa(e,t,n,r,o,a){const f=t[1],v=f.data[e+8],Te=b(v,f,n,null==r?vi(v)&&lo:r!=f&&0!=(3&v.type),o&jt.Host&&a===v);return null!==Te?y(t,f,Te,v):_s}function b(e,t,n,r,o){const a=e.providerIndexes,f=t.data,v=1048575&a,w=e.directiveStart,Te=a>>20,Tt=o?v+Te:e.directiveEnd;for(let Vt=r?v:v+Te;Vt<Tt;Vt++){const Qt=f[Vt];if(Vt<w&&n===Qt||Vt>=w&&Qt.type===n)return Vt}if(o){const Vt=f[w];if(Vt&&fi(Vt)&&Vt.type===n)return w}return null}function y(e,t,n,r){let o=e[n];const a=t.data;if(function To(e){return e instanceof Lr}(o)){const f=o;f.resolving&&function bt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ae(-200,`Circular dependency in DI detected for ${e}${n}`)}(function mt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Se(e)}(a[n]));const v=gs(f.canSeeViewProviders);f.resolving=!0;const w=f.injectImpl?st(f.injectImpl):null;to(e,r,jt.Default);try{o=e[n]=f.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function _a(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:a}=t.type.prototype;if(r){const f=fs(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,f),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,f)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==w&&st(w),gs(v),f.resolving=!1,wo()}}return o}function O(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function $(e,t){return!(e&jt.Self||e&jt.Host&&t)}class Re{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return po(this._tNode,this._lView,t,r,n)}}function _t(){return new Re(on(),M())}function Dt(e){return k(()=>{const t=e.prototype.constructor,n=t[rt]||Bt(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const a=o[rt]||Bt(o);if(a&&a!==n)return a;o=Object.getPrototypeOf(o)}return a=>new a})}function Bt(e){return Ce(e)?()=>{const t=Bt(ne(e));return t&&t()}:Pi(e)}function Mn(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function dn(e){return function uo(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o<r;){const a=n[o];if(Io(a))break;if(0===a)o+=2;else if("number"==typeof a)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(a===t)return n[o+1];o+=2}}}return null}(on(),e)}const Xn="__parameters__",Ti="__prop__metadata__";function Ts(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}function wi(e,t,n){return k(()=>{const r=Ts(t);function o(...a){if(this instanceof o)return r.apply(this,a),this;const f=new o(...a);return v.annotation=f,v;function v(w,Q,Te){const nt=w.hasOwnProperty(Xn)?w[Xn]:Object.defineProperty(w,Xn,{value:[]})[Xn];for(;nt.length<=Te;)nt.push(null);return(nt[Te]=nt[Te]||[]).push(f),w}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Ns(e,t,n,r){return k(()=>{const o=Ts(t);function a(...f){if(this instanceof a)return o.apply(this,f),this;const v=new a(...f);return function w(Q,Te){const nt=Q.constructor,Tt=nt.hasOwnProperty(Ti)?nt[Ti]:Object.defineProperty(nt,Ti,{value:{}})[Ti];Tt[Te]=Tt.hasOwnProperty(Te)&&Tt[Te]||[],Tt[Te].unshift(v),r&&r(Q,Te,...f)}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}class oi{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=J({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const S=new oi("AnalyzeForEntryComponents");function Dn(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Dn(r,t)):t!==e&&t.push(r)}return t}function Qn(e,t){e.forEach(n=>Array.isArray(n)?Qn(n,t):t(n))}function ui(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ii(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Bi(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Di(e,t,n){let r=Js(e,t);return r>=0?e[1|r]=n:(r=~r,function br(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Hr(e,t){const n=Js(e,t);if(n>=0)return e[1|n]}function Js(e,t){return function Ur(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const a=r+(o-r>>1),f=e[a<<n];if(t===f)return a<<n;f>t?o=a:r=a+1}return~(o<<n)}(e,t,1)}const hi={},Bo="__NG_DI_FLAG__",No="ngTempTokenPath",Gr=/\n/gm,go="__source";let zr;function el(e){const t=zr;return zr=e,t}function Rg(e,t=jt.Default){if(void 0===zr)throw new Ae(-203,"");return null===zr?xe(e,void 0,t):zr.get(e,t&jt.Optional?null:void 0,t)}function Vi(e,t=jt.Default){return(function Qe(){return cn}()||Rg)(ne(e),t)}function lu(e,t=jt.Default){return Vi(e,t)}function Gl(e){const t=[];for(let n=0;n<e.length;n++){const r=ne(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Ae(900,"");let o,a=jt.Default;for(let f=0;f<r.length;f++){const v=r[f],w=kg(v);"number"==typeof w?-1===w?o=v.token:a|=w:o=v}t.push(Vi(o,a))}else t.push(Vi(r))}return t}function Ma(e,t){return e[Bo]=t,e.prototype[Bo]=t,e}function kg(e){return e[Bo]}const tl=Ma(wi("Inject",e=>({token:e})),-1),Ea=Ma(wi("Optional"),8),xa=Ma(wi("SkipSelf"),4),du=Ma(wi("Host"),1);let sl;function Ho(e){var t;return(null===(t=function zl(){if(void 0===sl&&(sl=null,qe.trustedTypes))try{sl=qe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return sl}())||void 0===t?void 0:t.createHTML(e))||e}class _o{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Wg extends _o{getTypeName(){return"HTML"}}class $g extends _o{getTypeName(){return"Style"}}class Kg extends _o{getTypeName(){return"Script"}}class Zg extends _o{getTypeName(){return"URL"}}class Qg extends _o{getTypeName(){return"ResourceURL"}}function Yr(e){return e instanceof _o?e.changingThisBreaksApplicationSecurity:e}function Uo(e,t){const n=bu(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function bu(e){return e instanceof _o&&e.getTypeName()||null}function Jg(e){return new Wg(e)}function qg(e){return new $g(e)}function Xg(e){return new Kg(e)}function e_(e){return new Zg(e)}function t_(e){return new Qg(e)}class n_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ho(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class i_{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ho(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ho(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0<o;o--){const f=n.item(o).name;("xmlns:ns1"===f||0===f.indexOf("ns1:"))&&t.removeAttribute(f)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const r_=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,o_=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Sa(e){return(e=String(e)).match(r_)||e.match(o_)?e:"unsafe:"+e}function Cr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ta(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Mu=Cr("area,br,col,hr,img,wbr"),Eu=Cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xu=Cr("rp,rt"),Wl=Ta(Mu,Ta(Eu,Cr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ta(xu,Cr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ta(xu,Eu)),$l=Cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Kl=Cr("srcset"),wu=Ta($l,Kl,Cr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Cr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),a_=Cr("script,style,template");class l_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Wl.hasOwnProperty(n))return this.sanitizedSomething=!0,!a_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const a=r.item(o),f=a.name,v=f.toLowerCase();if(!wu.hasOwnProperty(v)){this.sanitizedSomething=!0;continue}let w=a.value;$l[v]&&(w=Sa(w)),Kl[v]&&(e=w,w=(e=String(e)).split(",").map(t=>Sa(t.trim())).join(", ")),this.buf.push(" ",f,'="',Au(w),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Wl.hasOwnProperty(n)&&!Mu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Au(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 c_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d_=/([^\#-~ |!])/g;function Au(e){return e.replace(/&/g,"&amp;").replace(c_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(d_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ol;function Su(e,t){let n=null;try{ol=ol||function Cu(e){const t=new i_(e);return function s_(){try{return!!(new window.DOMParser).parseFromString(Ho(""),"text/html")}catch(e){return!1}}()?new n_(t):t}(e);let r=t?String(t):"";n=ol.getInertBodyElement(r);let o=5,a=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=a,a=n.innerHTML,n=ol.getInertBodyElement(r)}while(r!==a);return Ho((new l_).sanitizeChildren(Zl(n)||n))}finally{if(n){const r=Zl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Zl(e){return"content"in e&&function u_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Hi=(()=>((Hi=Hi||{})[Hi.NONE=0]="NONE",Hi[Hi.HTML=1]="HTML",Hi[Hi.STYLE=2]="STYLE",Hi[Hi.SCRIPT=3]="SCRIPT",Hi[Hi.URL=4]="URL",Hi[Hi.RESOURCE_URL=5]="RESOURCE_URL",Hi))();function Ql(e){const t=function Ia(){const e=M();return e&&e[12]}();return t?t.sanitize(Hi.URL,e)||"":Uo(e,"URL")?Yr(e):Sa(Se(e))}function ql(e){return e.ngOriginalError}class Oa{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&&ql(t);for(;n&&ql(n);)n=ql(n);return n||null}}const Xl=new Map;let A_=0;const tc="__ngContext__";function cs(e,t){si(t)?(e[tc]=t[20],function T_(e){Xl.set(e[20],e)}(t)):e[tc]=t}function Ra(e){const t=e[tc];return"number"==typeof t?function Ou(e){return Xl.get(e)||null}(t):t||null}function nc(e){const t=Ra(e);return t?si(t)?t:t.lView:null}const N_=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(qe))();function Wr(e){return e instanceof Function?e():e}var Dr=(()=>((Dr=Dr||{})[Dr.Important=1]="Important",Dr[Dr.DashCase=2]="DashCase",Dr))();function sc(e,t){return undefined(e,t)}function ka(e){const t=e[3];return pi(t)?t[3]:t}function rc(e){return Hu(e[13])}function oc(e){return Hu(e[4])}function Hu(e){for(;null!==e&&!pi(e);)e=e[4];return e}function Go(e,t,n,r,o){if(null!=r){let a,f=!1;pi(r)?a=r:si(r)&&(f=!0,r=r[0]);const v=zn(r);0===e&&null!==n?null==o?Wu(t,n,v):vo(t,n,v,o||null,!0):1===e&&null!==n?vo(t,n,v,o||null,!0):2===e?function eh(e,t,n){const r=al(e,t);r&&function X_(e,t,n,r){$n(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,v,f):3===e&&t.destroyNode(v),null!=a&&function nv(e,t,n,r,o){const a=n[7];a!==zn(n)&&Go(t,e,r,a,o);for(let v=10;v<n.length;v++){const w=n[v];Pa(w[1],w,e,t,r,a)}}(t,e,a,n,o)}}function lc(e,t,n){if($n(e))return e.createElement(t,n);{const r=null!==n?function $s(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function ju(e,t){const n=e[9],r=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,Zn(o,-1)),n.splice(r,1)}function cc(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&ju(o,r),t>0&&(e[n-1][4]=r[4]);const a=Ii(e,10+t);!function Y_(e,t){Pa(e,t,t[I],2,null,null),t[0]=null,t[6]=null}(r[1],r);const f=a[19];null!==f&&f.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Gu(e,t){if(!(128&t[2])){const n=t[I];$n(n)&&n.destroyNode&&Pa(e,t,n,3,null,null),function K_(e){let t=e[13];if(!t)return dc(e[1],e);for(;t;){let n=null;if(si(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)si(t)&&dc(t[1],t),t=t[3];null===t&&(t=e),si(t)&&dc(t[1],t),n=t&&t[4]}t=n}}(t)}}function dc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function q_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Lr)){const a=n[r+1];if(Array.isArray(a))for(let f=0;f<a.length;f+=2){const v=o[a[f]],w=a[f+1];try{w.call(v)}finally{}}else try{a.call(o)}finally{}}}}(e,t),function J_(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const f=n[a+1],v="function"==typeof f?f(t):zn(t[f]),w=r[o=n[a+2]],Q=n[a+3];"boolean"==typeof Q?v.removeEventListener(n[a],w,Q):Q>=0?r[o=Q]():r[o=-Q].unsubscribe(),a+=2}else{const f=r[o=n[a+1]];n[a].call(f)}if(null!==r){for(let a=o+1;a<r.length;a++)r[a]();t[7]=null}}(e,t),1===t[1].type&&$n(t[I])&&t[I].destroy();const n=t[17];if(null!==n&&pi(t[3])){n!==t[3]&&ju(n,t);const r=t[19];null!==r&&r.detachView(e)}!function I_(e){Xl.delete(e[20])}(t)}}function zu(e,t,n){return function Yu(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===tt.None||o===tt.Emulated)return null}return Le(r,n)}(e,t.parent,n)}function vo(e,t,n,r,o){$n(e)?e.insertBefore(t,n,r,o):(Ku(t)?t.content:t).insertBefore(n,r,o)}function Wu(e,t,n){$n(e)?e.appendChild(t,n):(Ku(t)?t.content:t).appendChild(n)}function $u(e,t,n,r,o){null!==r?vo(e,t,n,r,o):Wu(e,t,n)}function Ku(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}function al(e,t){return $n(e)?e.parentNode(t):t.parentNode}function Zu(e,t,n){return Ju(e,t,n)}let Ju=function Qu(e,t,n){return 40&e.type?Le(e,n):null};function ll(e,t,n,r){const o=zu(e,r,t),a=t[I],v=Zu(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let w=0;w<n.length;w++)$u(a,o,n[w],v,!1);else $u(a,o,n,v,!1)}function cl(e,t){if(null!==t){const n=t.type;if(3&n)return Le(t,e);if(4&n)return hc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return cl(e,r);{const o=e[t.index];return pi(o)?hc(-1,o):zn(o)}}if(32&n)return sc(t,e)()||zn(e[t.index]);{const r=Xu(e,t);return null!==r?Array.isArray(r)?r[0]:cl(ka(e[16]),r):cl(e,t.next)}}return null}function Xu(e,t){return null!==t?e[16][6].projection[t.projection]:null}function hc(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return cl(r,o)}return t[7]}function pc(e,t,n,r,o,a,f){for(;null!=n;){const v=r[n.index],w=n.type;if(f&&0===t&&(v&&cs(zn(v),r),n.flags|=4),64!=(64&n.flags))if(8&w)pc(e,t,n.child,r,o,a,!1),Go(t,e,o,v,a);else if(32&w){const Q=sc(n,r);let Te;for(;Te=Q();)Go(t,e,o,Te,a);Go(t,e,o,v,a)}else 16&w?th(e,t,r,n,o,a):Go(t,e,o,v,a);n=f?n.projectionNext:n.next}}function Pa(e,t,n,r,o,a){pc(n,r,e.firstChild,t,o,a,!1)}function th(e,t,n,r,o,a){const f=n[16],w=f[6].projection[r.projection];if(Array.isArray(w))for(let Q=0;Q<w.length;Q++)Go(t,e,o,w[Q],a);else pc(e,t,w,f[3],o,a,!0)}function nh(e,t,n){$n(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function fc(e,t,n){$n(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function ih(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const a=t.length;if(o+a===r||e.charCodeAt(o+a)<=32)return o}n=o+1}}const sh="ng-template";function sv(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==ih(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function rh(e){return 4===e.type&&e.value!==sh}function rv(e,t,n){return t===(4!==e.type||n?e.value:sh)}function ov(e,t,n){let r=4;const o=e.attrs||[],a=function cv(e){for(let t=0;t<e.length;t++)if(Io(e[t]))return t;return e.length}(o);let f=!1;for(let v=0;v<t.length;v++){const w=t[v];if("number"!=typeof w){if(!f)if(4&r){if(r=2|1&r,""!==w&&!rv(e,w,n)||""===w&&1===t.length){if(or(r))return!1;f=!0}}else{const Q=8&r?w:t[++v];if(8&r&&null!==e.attrs){if(!sv(e.attrs,Q,n)){if(or(r))return!1;f=!0}continue}const nt=av(8&r?"class":w,o,rh(e),n);if(-1===nt){if(or(r))return!1;f=!0;continue}if(""!==Q){let Tt;Tt=nt>a?"":o[nt+1].toLowerCase();const Vt=8&r?Tt:null;if(Vt&&-1!==ih(Vt,Q,0)||2&r&&Q!==Tt){if(or(r))return!1;f=!0}}}}else{if(!f&&!or(r)&&!or(w))return!1;if(f&&or(w))continue;f=!1,r=w|1&r}}return or(r)||f}function or(e){return 0==(1&e)}function av(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let a=!1;for(;o<t.length;){const f=t[o];if(f===e)return o;if(3===f||6===f)a=!0;else{if(1===f||2===f){let v=t[++o];for(;"string"==typeof v;)v=t[++o];continue}if(4===f)break;if(0===f){o+=4;continue}}o+=a?1:2}return-1}return function dv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function oh(e,t,n=!1){for(let r=0;r<t.length;r++)if(ov(e,t[r],n))return!0;return!1}function uv(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ah(e,t){return e?":not("+t.trim()+")":t}function hv(e){let t=e[0],n=1,r=2,o="",a=!1;for(;n<e.length;){let f=e[n];if("string"==typeof f)if(2&r){const v=e[++n];o+="["+f+(v.length>0?'="'+v+'"':"")+"]"}else 8&r?o+="."+f:4&r&&(o+=" "+f);else""!==o&&!or(f)&&(t+=ah(a,o),o=""),r=f,a=a||!or(r);n++}return""!==o&&(t+=ah(a,o)),t}const Hn={};function lh(e){ch(x(),M(),Zi()+e,!1)}function ch(e,t,n,r){if(!r)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&tr(t,a,n)}else{const a=e.preOrderHooks;null!==a&&gr(t,a,0,n)}Fs(n)}const ph=new oi("ENVIRONMENT_INITIALIZER"),fh=new oi("INJECTOR_DEF_TYPES");function bv(...e){return{\u0275providers:mh(0,e)}}function mh(e,...t){const n=[],r=new Set;let o;return Qn(t,a=>{const f=a;mc(f,n,[],r)&&(o||(o=[]),o.push(f))}),void 0!==o&&gh(o,n),n}function gh(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];Qn(o,a=>{t.push(a)})}}function mc(e,t,n,r){if(!(e=ne(e)))return!1;let o=null,a=Et(e);const f=!a&&H(e);if(a||f){if(f&&!f.standalone)return!1;o=e}else{const w=e.ngModule;if(a=Et(w),!a)return!1;o=w}const v=r.has(o);if(f){if(v)return!1;if(r.add(o),f.dependencies){const w="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const Q of w)mc(Q,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!v){let Q;r.add(o);try{Qn(a.imports,Te=>{mc(Te,t,n,r)&&(Q||(Q=[]),Q.push(Te))})}finally{}void 0!==Q&&gh(Q,t)}if(!v){const Q=Pi(o)||(()=>new o);t.push({provide:o,useFactory:Q,deps:Lt},{provide:fh,useValue:o,multi:!0},{provide:ph,useValue:()=>Vi(o),multi:!0})}const w=a.providers;null==w||v||Qn(w,Te=>{t.push(Te)})}}return o!==e&&void 0!==e.providers}const Cv=Me({provide:String,useValue:Me});function gc(e){return null!==e&&"object"==typeof e&&Cv in e}function yo(e){return"function"==typeof e}const dl=new oi("INJECTOR",-1);class yh{get(t,n=hi){if(n===hi){const r=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw r.name="NullInjectorError",r}return n}}const _c=new oi("Set Injector scope."),ul={},Mv={};let vc;function yc(){return void 0===vc&&(vc=new yh),vc}class zo{}class bh extends zo{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Cc(t,f=>this.processProvider(f)),this.records.set(dl,Yo(void 0,this)),o.has("environment")&&this.records.set(zo,Yo(void 0,this));const a=this.records.get(_c);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(fh.multi,Lt,jt.Self))}get destroyed(){return this._destroyed}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)}get(t,n=hi,r=jt.Default){this.assertNotDestroyed();const o=el(this),a=st(void 0);try{if(!(r&jt.SkipSelf)){let v=this.records.get(t);if(void 0===v){const w=function Sv(e){return"function"==typeof e||"object"==typeof e&&e instanceof oi}(t)&&De(t);v=w&&this.injectableDefInScope(w)?Yo(bc(t),ul):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(r&jt.Self?yc():this.parent).get(t,n=r&jt.Optional&&n===hi?null:n)}catch(f){if("NullInjectorError"===f.name){if((f[No]=f[No]||[]).unshift(re(t)),o)throw f;return function Pg(e,t,n,r){const o=e[No];throw t[go]&&o.unshift(t[go]),e.message=function Fg(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=re(t);if(Array.isArray(t))o=t.map(re).join(" -> ");else if("object"==typeof t){let a=[];for(let f in t)if(t.hasOwnProperty(f)){let v=t[f];a.push(f+":"+("string"==typeof v?JSON.stringify(v):re(v)))}o=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Gr,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[No]=null,e}(f,t,"R3InjectorError",this.source)}throw f}finally{st(a),el(o)}}resolveInjectorInitializers(){const t=el(this),n=st(void 0);try{const r=this.get(ph.multi,Lt,jt.Self);for(const o of r)o()}finally{el(t),st(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(re(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ae(205,!1)}processProvider(t){let n=yo(t=ne(t))?t:ne(t&&t.provide);const r=function xv(e){return gc(e)?Yo(void 0,e.useValue):Yo(Ch(e),ul)}(t);if(yo(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Yo(void 0,ul,!0),o.factory=()=>Gl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ul&&(n.value=Mv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Av(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=ne(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function bc(e){const t=De(e),n=null!==t?t.factory:Pi(e);if(null!==n)return n;if(e instanceof oi)throw new Ae(204,!1);if(e instanceof Function)return function Ev(e){const t=e.length;if(t>0)throw Bi(t,"?"),new Ae(204,!1);const n=function gt(e){const t=e&&(e[Nt]||e[ln]);if(t){const n=function ze(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 Ae(204,!1)}function Ch(e,t,n){let r;if(yo(e)){const o=ne(e);return Pi(o)||bc(o)}if(gc(e))r=()=>ne(e.useValue);else if(function vh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Gl(e.deps||[]));else if(function _h(e){return!(!e||!e.useExisting)}(e))r=()=>Vi(ne(e.useExisting));else{const o=ne(e&&(e.useClass||e.provide));if(!function wv(e){return!!e.deps}(e))return Pi(o)||bc(o);r=()=>new o(...Gl(e.deps))}return r}function Yo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Tv(e){return!!e.\u0275providers}function Cc(e,t){for(const n of e)Array.isArray(n)?Cc(n,t):Tv(n)?Cc(n.\u0275providers,t):t(n)}function Dh(e,t=null,n=null,r){const o=Mh(e,t,n,r);return o.resolveInjectorInitializers(),o}function Mh(e,t=null,n=null,r,o=new Set){const a=[n||Lt,bv(e)];return r=r||("object"==typeof e?void 0:re(e)),new bh(a,t||yc(),r||null,o)}let Mr=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return Dh({name:""},r,n,"");{const a=null!==(o=n.name)&&void 0!==o?o:"";return Dh({name:a},n.parent,n.providers,a)}}}return e.THROW_IF_NOT_FOUND=hi,e.NULL=new yh,e.\u0275prov=J({token:e,providedIn:"any",factory:()=>Vi(dl)}),e.__NG_ELEMENT_ID__=-1,e})();function $o(e,t=jt.Default){const n=M();return null===n?Vi(e,t):po(on(),n,ne(e),t)}function Ih(){throw new Error("invalid")}function pl(e,t){return e<<17|t<<2}function ar(e){return e>>17&32767}function Tc(e){return 2|e}function $r(e){return(131068&e)>>2}function Ic(e,t){return-131069&e|t<<2}function Oc(e){return 1|e}function zh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],a=n[r+1];if(-1!==a){const f=e.data[a];eo(o),f.contentQueries(2,t[a],a)}}}function Fa(e,t,n,r,o,a,f,v,w,Q,Te){const nt=t.blueprint.slice();return nt[0]=o,nt[2]=76|r,(null!==Te||e&&1024&e[2])&&(nt[2]|=1024),Wn(nt),nt[3]=nt[15]=e,nt[8]=n,nt[10]=f||e&&e[10],nt[I]=v||e&&e[I],nt[12]=w||e&&e[12]||null,nt[9]=Q||e&&e[9]||null,nt[6]=a,nt[20]=function S_(){return A_++}(),nt[21]=Te,nt[16]=2==t.type?e[16]:nt,nt}function Ko(e,t,n,r,o){let a=e.data[t];if(null===a)a=function Hc(e,t,n,r,o){const a=di(),f=ms(),w=e.data[t]=function ay(e,t,n,r,o,a){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?a:a&&a.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=w),null!==a&&(f?null==a.child&&null!==w.parent&&(a.child=w):null===a.next&&(a.next=w)),w}(e,t,n,r,o),function mi(){return _n.lFrame.inI18n}()&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=r,a.attrs=o;const f=function bi(){const e=_n.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===f?-1:f.injectorIndex}return Ci(a,!0),a}function Zo(e,t,n,r){if(0===n)return-1;const o=t.length;for(let a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function La(e,t,n){Qs(t);try{const r=e.viewQuery;null!==r&&Zc(1,r,n);const o=e.template;null!==o&&Yh(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&zh(e,t),e.staticViewQueries&&Zc(2,e.viewQuery,n);const a=e.components;null!==a&&function sy(e,t){for(let n=0;n<t.length;n++)xy(e,t[n])}(t,a)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,mr()}}function Qo(e,t,n,r){const o=t[2];if(128!=(128&o)){Qs(t);try{Wn(t),function Jt(e){return _n.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Yh(e,t,n,2,r);const f=3==(3&o);if(f){const Q=e.preOrderCheckHooks;null!==Q&&tr(t,Q,null)}else{const Q=e.preOrderHooks;null!==Q&&gr(t,Q,0,null),ro(t,0)}if(function My(e){for(let t=rc(e);null!==t;t=oc(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],a=o[3];0==(512&o[2])&&Zn(a,1),o[2]|=512}}}(t),function Dy(e){for(let t=rc(e);null!==t;t=oc(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];ti(r)&&Qo(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&zh(e,t),f){const Q=e.contentCheckHooks;null!==Q&&tr(t,Q)}else{const Q=e.contentHooks;null!==Q&&gr(t,Q,1),ro(t,1)}!function ny(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Fs(~o);else{const a=o,f=n[++r],v=n[++r];ii(f,a),v(2,t[a])}}}finally{Fs(-1)}}(e,t);const v=e.components;null!==v&&function iy(e,t){for(let n=0;n<t.length;n++)Ey(e,t[n])}(t,v);const w=e.viewQuery;if(null!==w&&Zc(2,w,r),f){const Q=e.viewCheckHooks;null!==Q&&tr(t,Q)}else{const Q=e.viewHooks;null!==Q&&gr(t,Q,2),ro(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Zn(t[3],-1))}finally{mr()}}}function ry(e,t,n,r){const o=t[10],f=ei(t);try{!f&&o.begin&&o.begin(),f&&La(e,t,r),Qo(e,t,n,r)}finally{!f&&o.end&&o.end()}}function Yh(e,t,n,r,o){const a=Zi(),f=2&r;try{Fs(-1),f&&t.length>22&&ch(e,t,22,!1),n(r,o)}finally{Fs(a)}}function Wh(e,t,n){if(Ri(t)){const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const f=e.data[a];f.contentQueries&&f.contentQueries(1,n[a],a)}}}function Uc(e,t,n){!er()||(function fy(e,t,n,r){const o=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||vr(n,t),cs(r,t);const f=n.initialInputs;for(let v=o;v<a;v++){const w=e.data[v],Q=fi(w);Q&&yy(t,n,w);const Te=y(t,e,v,n);cs(Te,t),null!==f&&by(0,v-o,Te,w,0,f),Q&&(hn(n.index,t)[8]=Te)}}(e,t,n,Le(n,t)),128==(128&n.flags)&&function my(e,t,n){const r=n.directiveStart,o=n.directiveEnd,a=n.index,f=function as(){return _n.lFrame.currentDirectiveIndex}();try{Fs(a);for(let v=r;v<o;v++){const w=e.data[v],Q=t[v];ws(v),(null!==w.hostBindings||0!==w.hostVars||null!==w.hostAttrs)&&Xh(w,Q)}}finally{Fs(-1),ws(f)}}(e,t,n))}function jc(e,t,n=Le){const r=t.localNames;if(null!==r){let o=t.index+1;for(let a=0;a<r.length;a+=2){const f=r[a+1],v=-1===f?n(t,e):e[f];e[o++]=v}}}function $h(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=gl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function gl(e,t,n,r,o,a,f,v,w,Q){const Te=22+r,nt=Te+o,Tt=function oy(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Hn);return n}(Te,nt),Vt="function"==typeof Q?Q():Q;return Tt[1]={type:e,blueprint:Tt,template:n,queries:null,viewQuery:v,declTNode:t,data:Tt.slice().fill(null,Te),bindingStartIndex:Te,expandoStartIndex:nt,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof f?f():f,firstChild:null,schemas:w,consts:Vt,incompleteFirstPass:!1}}function Qh(e,t,n,r){const o=rp(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&op(e).push(r,o.length-1))}function Jh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Hs(e,t,n,r,o,a,f,v){const w=Le(t,n);let Te,Q=t.inputs;!v&&null!=Q&&(Te=Q[r])?(cp(e,n,Te,r,o),vi(t)&&function dy(e,t){const n=hn(t,e);16&n[2]||(n[2]|=32)}(n,t.index)):3&t.type&&(r=function cy(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=f?f(o,t.value||"",r):o,$n(a)?a.setProperty(w,r,o):Qr(r)||(w.setProperty?w.setProperty(r,o):w[r]=o))}function Gc(e,t,n,r){let o=!1;if(er()){const a=function gy(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let a=0;a<r.length;a++){const f=r[a];oh(n,f.selectors,!1)&&(o||(o=[]),yr(vr(n,t),e,f.type),fi(f)?(ep(e,n),o.unshift(f)):o.push(f))}return o}(e,t,n),f=null===r?null:{"":-1};if(null!==a){o=!0,tp(n,e.data.length,a.length);for(let Te=0;Te<a.length;Te++){const nt=a[Te];nt.providersResolver&&nt.providersResolver(nt)}let v=!1,w=!1,Q=Zo(e,t,a.length,null);for(let Te=0;Te<a.length;Te++){const nt=a[Te];n.mergedAttrs=_r(n.mergedAttrs,nt.hostAttrs),np(e,n,t,Q,nt),vy(Q,nt,f),null!==nt.contentQueries&&(n.flags|=8),(null!==nt.hostBindings||null!==nt.hostAttrs||0!==nt.hostVars)&&(n.flags|=128);const Tt=nt.type.prototype;!v&&(Tt.ngOnChanges||Tt.ngOnInit||Tt.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),v=!0),!w&&(Tt.ngOnChanges||Tt.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),w=!0),Q++}!function ly(e,t){const r=t.directiveEnd,o=e.data,a=t.attrs,f=[];let v=null,w=null;for(let Q=t.directiveStart;Q<r;Q++){const Te=o[Q],nt=Te.inputs,Tt=null===a||rh(t)?null:Cy(nt,a);f.push(Tt),v=Jh(nt,Q,v),w=Jh(Te.outputs,Q,w)}null!==v&&(v.hasOwnProperty("class")&&(t.flags|=16),v.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=f,t.inputs=v,t.outputs=w}(e,n)}f&&function _y(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const a=n[t[o+1]];if(null==a)throw new Ae(-301,!1);r.push(t[o],a)}}}(n,r,f)}return n.mergedAttrs=_r(n.mergedAttrs,n.attrs),o}function qh(e,t,n,r,o,a){const f=a.hostBindings;if(f){let v=e.hostBindingOpCodes;null===v&&(v=e.hostBindingOpCodes=[]);const w=~t.index;(function py(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(v)!=w&&v.push(w),v.push(r,o,f)}}function Xh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ep(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function vy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;fi(t)&&(n[""]=e)}}function tp(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function np(e,t,n,r,o){e.data[r]=o;const a=o.factory||(o.factory=Pi(o.type)),f=new Lr(a,fi(o),$o);e.blueprint[r]=f,n[r]=f,qh(e,t,0,r,Zo(e,n,o.hostVars,Hn),o)}function yy(e,t,n){const r=Le(t,e),o=$h(n),a=e[10],f=_l(e,Fa(e,o,null,n.onPush?32:16,r,t,a,a.createRenderer(r,n),null,null,null));e[t.index]=f}function Er(e,t,n,r,o,a){const f=Le(e,t);!function zc(e,t,n,r,o,a,f){if(null==a)$n(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const v=null==f?Se(a):f(a,r||"",o);$n(e)?e.setAttribute(t,o,v,n):n?t.setAttributeNS(n,o,v):t.setAttribute(o,v)}}(t[I],f,a,e.value,n,r,o)}function by(e,t,n,r,o,a){const f=a[t];if(null!==f){const v=r.setInput;for(let w=0;w<f.length;){const Q=f[w++],Te=f[w++],nt=f[w++];null!==v?r.setInput(n,nt,Q,Te):n[Te]=nt}}}function Cy(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function ip(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Ey(e,t){const n=hn(t,e);if(ti(n)){const r=n[1];48&n[2]?Qo(r,n,r.template,n[8]):n[5]>0&&Yc(n)}}function Yc(e){for(let r=rc(e);null!==r;r=oc(r))for(let o=10;o<r.length;o++){const a=r[o];if(512&a[2]){const f=a[1];Qo(f,a,f.template,a[8])}else a[5]>0&&Yc(a)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=hn(n[r],e);ti(o)&&o[5]>0&&Yc(o)}}function xy(e,t){const n=hn(t,e),r=n[1];(function wy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),La(r,n,n[8])}function _l(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Wc(e){for(;e;){e[2]|=32;const t=ka(e);if(Rs(e)&&!t)return e;e=t}return null}function sp(e){!function $c(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=nc(n);if(null!==r){const o=r[1];ry(o,r,o.template,n)}}}(e[8])}function Zc(e,t,n){eo(0),t(e,n)}const Sy=(()=>Promise.resolve(null))();function rp(e){return e[7]||(e[7]=[])}function op(e){return e.cleanup||(e.cleanup=[])}function ap(e,t,n){return(null===e||fi(e))&&(n=function N(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[I]}function lp(e,t){const n=e[9],r=n?n.get(Oa,null):null;r&&r.handleError(t)}function cp(e,t,n,r,o){for(let a=0;a<n.length;){const f=n[a++],v=n[a++],w=t[f],Q=e.data[f];null!==Q.setInput?Q.setInput(w,o,r,v):w[v]=o}}function Kr(e,t,n){const r=V(t,e);!function Uu(e,t,n){$n(e)?e.setValue(t,n):t.textContent=n}(e[I],r,n)}function vl(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,a=0;if(null!==t)for(let f=0;f<t.length;f++){const v=t[f];"number"==typeof v?a=v:1==a?o=ve(o,v):2==a&&(r=ve(r,v+": "+t[++f]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Vy(){const e=on();Fr(M()[1],e)}function Jc(e){let t=function Cp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(fi(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Ae(903,"");o=t.\u0275dir}if(o){if(n){r.push(o);const f=e;f.inputs=qc(e.inputs),f.declaredInputs=qc(e.declaredInputs),f.outputs=qc(e.outputs);const v=o.hostBindings;v&&Gy(e,v);const w=o.viewQuery,Q=o.contentQueries;if(w&&Uy(e,w),Q&&jy(e,Q),ie(e.inputs,o.inputs),ie(e.declaredInputs,o.declaredInputs),ie(e.outputs,o.outputs),fi(o)&&o.data.animation){const Te=e.data;Te.animation=(Te.animation||[]).concat(o.data.animation)}}const a=o.features;if(a)for(let f=0;f<a.length;f++){const v=a[f];v&&v.ngInherit&&v(e),v===Jc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Hy(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=_r(o.hostAttrs,n=_r(n,o.hostAttrs))}}(r)}function qc(e){return e===en?{}:e===Lt?[]:e}function Uy(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function jy(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,a)=>{t(r,o,a),n(r,o,a)}:t}function Gy(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let yl=null;function bo(){if(!yl){const e=qe.Symbol;if(e&&e.iterator)yl=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(yl=r)}}}return yl}function Ba(e){return!!Xc(e)&&(Array.isArray(e)||!(e instanceof Map)&&bo()in e)}function Xc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function xr(e,t,n){return e[t]=n}function ds(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Co(e,t,n,r){const o=ds(e,t,n);return ds(e,t+1,r)||o}function ed(e,t,n,r){const o=M();return ds(o,An(),t)&&(x(),Er(gi(),o,e,t,n,r)),ed}function qo(e,t,n,r){return ds(e,An(),n)?t+Se(n)+r:Hn}function Xo(e,t,n,r,o,a){const v=Co(e,function Ot(){return _n.lFrame.bindingIndex}(),n,o);return jn(2),v?t+Se(n)+r+Se(o)+a:Hn}function Op(e,t,n,r,o,a,f,v){const w=M(),Q=x(),Te=e+22,nt=Q.firstCreatePass?function Qy(e,t,n,r,o,a,f,v,w){const Q=t.consts,Te=Ko(t,e,4,f||null,Rn(Q,v));Gc(t,n,Te,Rn(Q,w)),Fr(t,Te);const nt=Te.tViews=gl(2,Te,r,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,Q);return null!==t.queries&&(t.queries.template(t,Te),nt.queries=t.queries.embeddedTView(Te)),Te}(Te,Q,w,t,n,r,o,a,f):Q.data[Te];Ci(nt,!1);const Tt=w[I].createComment("");ll(Q,w,Tt,nt),cs(Tt,w),_l(w,w[Te]=ip(Tt,w,Tt,nt)),yi(nt)&&Uc(Q,w,nt),null!=f&&jc(w,nt,v)}function Rp(e){return Kt(function ot(){return _n.lFrame.contextLView}(),22+e)}function td(e,t,n){const r=M();return ds(r,An(),t)&&Hs(x(),gi(),r,e,t,r[I],n,!1),td}function nd(e,t,n,r,o){const f=o?"class":"style";cp(e,n,t.inputs[f],f,r)}function Cl(e,t,n,r){const o=M(),a=x(),f=22+e,v=o[I],w=o[f]=lc(v,t,function ga(){return _n.lFrame.currentNamespace}()),Q=a.firstCreatePass?function qy(e,t,n,r,o,a,f){const v=t.consts,Q=Ko(t,e,2,o,Rn(v,a));return Gc(t,n,Q,Rn(v,f)),null!==Q.attrs&&vl(Q,Q.attrs,!1),null!==Q.mergedAttrs&&vl(Q,Q.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,Q),Q}(f,a,o,0,t,n,r):a.data[f];Ci(Q,!0);const Te=Q.mergedAttrs;null!==Te&&ir(v,w,Te);const nt=Q.classes;null!==nt&&fc(v,w,nt);const Tt=Q.styles;return null!==Tt&&nh(v,w,Tt),64!=(64&Q.flags)&&ll(a,o,w,Q),0===function Ps(){return _n.lFrame.elementDepthCount}()&&cs(w,o),function os(){_n.lFrame.elementDepthCount++}(),yi(Q)&&(Uc(a,o,Q),Wh(a,Q,o)),null!==r&&jc(o,Q),Cl}function Dl(){let e=on();ms()?hr():(e=e.parent,Ci(e,!1));const t=e;!function ur(){_n.lFrame.elementDepthCount--}();const n=x();return n.firstCreatePass&&(Fr(n,e),Ri(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ba(e){return 0!=(16&e.flags)}(t)&&nd(n,t,M(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function is(e){return 0!=(32&e.flags)}(t)&&nd(n,t,M(),t.stylesWithoutHost,!1),Dl}function id(e,t,n,r){return Cl(e,t,n,r),Dl(),id}function Ml(e,t,n){const r=M(),o=x(),a=e+22,f=o.firstCreatePass?function Xy(e,t,n,r,o){const a=t.consts,f=Rn(a,r),v=Ko(t,e,8,"ng-container",f);return null!==f&&vl(v,f,!0),Gc(t,n,v,Rn(a,o)),null!==t.queries&&t.queries.elementStart(t,v),v}(a,o,r,t,n):o.data[a];Ci(f,!0);const v=r[a]=r[I].createComment("");return ll(o,r,v,f),cs(v,r),yi(f)&&(Uc(o,r,f),Wh(o,f,r)),null!=n&&jc(r,f),Ml}function El(){let e=on();const t=x();return ms()?hr():(e=e.parent,Ci(e,!1)),t.firstCreatePass&&(Fr(t,e),Ri(e)&&t.queries.elementEnd(e)),El}function sd(e,t,n){return Ml(e,t,n),El(),sd}function kp(){return M()}function rd(e){return!!e&&"function"==typeof e.then}function Pp(e){return!!e&&"function"==typeof e.subscribe}const Fp=Pp;function od(e,t,n,r){const o=M(),a=x(),f=on();return Lp(a,o,o[I],f,e,t,!!n,r),od}function ad(e,t){const n=on(),r=M(),o=x();return Lp(o,r,ap(Zs(o.data),n,r),n,e,t,!1),ad}function Lp(e,t,n,r,o,a,f,v){const w=yi(r),Te=e.firstCreatePass&&op(e),nt=t[8],Tt=rp(t);let Vt=!0;if(3&r.type||v){const pn=Le(r,t),vn=v?v(pn):pn,On=Tt.length,nn=v?xn=>v(zn(xn[r.index])):r.index;if($n(n)){let xn=null;if(!v&&w&&(xn=function eb(e,t,n,r){const o=e.cleanup;if(null!=o)for(let a=0;a<o.length-1;a+=2){const f=o[a];if(f===n&&o[a+1]===r){const v=t[7],w=o[a+2];return v.length>w?v[w]:null}"string"==typeof f&&(a+=2)}return null}(e,t,o,r.index)),null!==xn)(xn.__ngLastListenerFn__||xn).__ngNextListenerFn__=a,xn.__ngLastListenerFn__=a,Vt=!1;else{a=ld(r,t,nt,a,!1);const Jn=n.listen(vn,o,a);Tt.push(a,Jn),Te&&Te.push(o,nn,On,On+1)}}else a=ld(r,t,nt,a,!0),vn.addEventListener(o,a,f),Tt.push(a),Te&&Te.push(o,nn,On,f)}else a=ld(r,t,nt,a,!1);const Qt=r.outputs;let rn;if(Vt&&null!==Qt&&(rn=Qt[o])){const pn=rn.length;if(pn)for(let vn=0;vn<pn;vn+=2){const Mi=t[rn[vn]][rn[vn+1]].subscribe(a),xo=Tt.length;Tt.push(a,Mi),Te&&Te.push(o,r.index,xo,-(xo+1))}}}function Bp(e,t,n,r){try{return!1!==n(r)}catch(o){return lp(e,o),!1}}function ld(e,t,n,r,o){return function a(f){if(f===Function)return r;Wc(2&e.flags?hn(e.index,t):t);let w=Bp(t,0,r,f),Q=a.__ngNextListenerFn__;for(;Q;)w=Bp(t,0,Q,f)&&w,Q=Q.__ngNextListenerFn__;return o&&!1===w&&(f.preventDefault(),f.returnValue=!1),w}}function Np(e=1){return function Ao(e){return(_n.lFrame.contextLView=function fa(e,t){for(;e>0;)t=t[15],e--;return t}(e,_n.lFrame.contextLView))[8]}(e)}function tb(e,t){let n=null;const r=function lv(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const a=t[o];if("*"!==a){if(null===r?oh(e,a,!0):uv(r,a))return o}else n=o}return n}function Vp(e){const t=M()[16][6];if(!t.projection){const r=t.projection=Bi(e?e.length:1,null),o=r.slice();let a=t.child;for(;null!==a;){const f=e?tb(a,e):0;null!==f&&(o[f]?o[f].projectionNext=a:r[f]=a,o[f]=a),a=a.next}}}function Hp(e,t=0,n){const r=M(),o=x(),a=Ko(o,22+e,16,null,n||null);null===a.projection&&(a.projection=t),hr(),64!=(64&a.flags)&&function tv(e,t,n){th(t[I],0,t,n,zu(e,n,t),Zu(n.parent||t[6],n,t))}(o,r,a)}function cd(e,t,n){return dd(e,"",t,"",n),cd}function dd(e,t,n,r,o){const a=M(),f=qo(a,t,n,r);return f!==Hn&&Hs(x(),gi(),a,e,f,a[I],o,!1),dd}function Zp(e,t,n,r,o){const a=e[n+1],f=null===t;let v=r?ar(a):$r(a),w=!1;for(;0!==v&&(!1===w||f);){const Te=e[v+1];sb(e[v],t)&&(w=!0,e[v+1]=r?Oc(Te):Tc(Te)),v=r?ar(Te):$r(Te)}w&&(e[n+1]=r?Tc(a):Oc(a))}function sb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Js(e,t)>=0}const Qi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Qp(e){return e.substring(Qi.key,Qi.keyEnd)}function Jp(e,t){const n=Qi.textEnd;return n===t?-1:(t=Qi.keyEnd=function lb(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Qi.key=t,n),oa(e,t,n))}function oa(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ud(e,t,n){return cr(e,t,n,!1),ud}function hd(e,t){return cr(e,t,null,!0),hd}function Ar(e,t){for(let n=function ob(e){return function Xp(e){Qi.key=0,Qi.keyEnd=0,Qi.value=0,Qi.valueEnd=0,Qi.textEnd=e.length}(e),Jp(e,oa(e,0,Qi.textEnd))}(t);n>=0;n=Jp(t,n))Di(e,Qp(t),!0)}function cr(e,t,n,r){const o=M(),a=x(),f=jn(2);a.firstUpdatePass&&sf(a,e,f,r),t!==Hn&&ds(o,f,t)&&af(a,a.data[Zi()],o,o[I],e,o[f+1]=function yb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=re(Yr(e)))),e}(t,n),r,f)}function nf(e,t){return t>=e.expandoStartIndex}function sf(e,t,n,r){const o=e.data;if(null===o[n+1]){const a=o[Zi()],f=nf(e,n);cf(a,r)&&null===t&&!f&&(t=!1),t=function pb(e,t,n,r){const o=Zs(e);let a=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Va(n=pd(null,e,t,n,r),t.attrs,r),a=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==o)if(n=pd(o,e,t,n,r),null===a){let w=function fb(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==$r(r))return e[ar(r)]}(e,t,r);void 0!==w&&Array.isArray(w)&&(w=pd(null,e,t,w[1],r),w=Va(w,t.attrs,r),function mb(e,t,n,r){e[ar(n?t.classBindings:t.styleBindings)]=r}(e,t,r,w))}else a=function gb(e,t,n){let r;const o=t.directiveEnd;for(let a=1+t.directiveStylingLast;a<o;a++)r=Va(r,e[a].hostAttrs,n);return Va(r,t.attrs,n)}(e,t,r)}return void 0!==a&&(r?t.residualClasses=a:t.residualStyles=a),n}(o,a,t,r),function nb(e,t,n,r,o,a){let f=a?t.classBindings:t.styleBindings,v=ar(f),w=$r(f);e[r]=n;let Te,Q=!1;if(Array.isArray(n)){const nt=n;Te=nt[1],(null===Te||Js(nt,Te)>0)&&(Q=!0)}else Te=n;if(o)if(0!==w){const Tt=ar(e[v+1]);e[r+1]=pl(Tt,v),0!==Tt&&(e[Tt+1]=Ic(e[Tt+1],r)),e[v+1]=function Wv(e,t){return 131071&e|t<<17}(e[v+1],r)}else e[r+1]=pl(v,0),0!==v&&(e[v+1]=Ic(e[v+1],r)),v=r;else e[r+1]=pl(w,0),0===v?v=r:e[w+1]=Ic(e[w+1],r),w=r;Q&&(e[r+1]=Tc(e[r+1])),Zp(e,Te,r,!0),Zp(e,Te,r,!1),function ib(e,t,n,r,o){const a=o?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Js(a,t)>=0&&(n[r+1]=Oc(n[r+1]))}(t,Te,e,r,a),f=pl(v,w),a?t.classBindings=f:t.styleBindings=f}(o,a,t,n,f,r)}}function pd(e,t,n,r,o){let a=null;const f=n.directiveEnd;let v=n.directiveStylingLast;for(-1===v?v=n.directiveStart:v++;v<f&&(a=t[v],r=Va(r,a.hostAttrs,o),a!==e);)v++;return null!==e&&(n.directiveStylingLast=v),r}function Va(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let a=0;a<t.length;a++){const f=t[a];"number"==typeof f?o=f:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Di(e,f,!!n||t[++a]))}return void 0===e?null:e}function af(e,t,n,r,o,a,f,v){if(!(3&t.type))return;const w=e.data,Q=w[v+1];xl(function Lh(e){return 1==(1&e)}(Q)?lf(w,t,n,o,$r(Q),f):void 0)||(xl(a)||function Fh(e){return 2==(2&e)}(Q)&&(a=lf(w,null,n,o,v,f)),function iv(e,t,n,r,o){const a=$n(e);if(t)o?a?e.addClass(n,r):n.classList.add(r):a?e.removeClass(n,r):n.classList.remove(r);else{let f=-1===r.indexOf("-")?void 0:Dr.DashCase;if(null==o)a?e.removeStyle(n,r,f):n.style.removeProperty(r);else{const v="string"==typeof o&&o.endsWith("!important");v&&(o=o.slice(0,-10),f|=Dr.Important),a?e.setStyle(n,r,o,f):n.style.setProperty(r,o,v?"important":"")}}}(r,f,V(Zi(),n),o,a))}function lf(e,t,n,r,o,a){const f=null===t;let v;for(;o>0;){const w=e[o],Q=Array.isArray(w),Te=Q?w[1]:w,nt=null===Te;let Tt=n[o+1];Tt===Hn&&(Tt=nt?Lt:void 0);let Vt=nt?Hr(Tt,r):Te===r?Tt:void 0;if(Q&&!xl(Vt)&&(Vt=Hr(w,r)),xl(Vt)&&(v=Vt,f))return v;const Qt=e[o+1];o=f?ar(Qt):$r(Qt)}if(null!==t){let w=a?t.residualClasses:t.residualStyles;null!=w&&(v=Hr(w,r))}return v}function xl(e){return void 0!==e}function cf(e,t){return 0!=(e.flags&(t?16:32))}function df(e,t=""){const n=M(),r=x(),o=e+22,a=r.firstCreatePass?Ko(r,o,1,t,null):r.data[o],f=n[o]=function ac(e,t){return $n(e)?e.createText(t):e.createTextNode(t)}(n[I],t);ll(r,n,f,a),Ci(a,!1)}function fd(e){return wl("",e,""),fd}function wl(e,t,n){const r=M(),o=qo(r,e,t,n);return o!==Hn&&Kr(r,Zi(),o),wl}function md(e,t,n,r,o){const a=M(),f=Xo(a,e,t,n,r,o);return f!==Hn&&Kr(a,Zi(),f),md}function vf(e,t,n){!function dr(e,t,n,r){const o=x(),a=jn(2);o.firstUpdatePass&&sf(o,null,a,r);const f=M();if(n!==Hn&&ds(f,a,n)){const v=o.data[Zi()];if(cf(v,r)&&!nf(o,a)){let w=r?v.classesWithoutHost:v.stylesWithoutHost;null!==w&&(n=ve(w,n||"")),nd(o,v,f,n,r)}else!function vb(e,t,n,r,o,a,f,v){o===Hn&&(o=Lt);let w=0,Q=0,Te=0<o.length?o[0]:null,nt=0<a.length?a[0]:null;for(;null!==Te||null!==nt;){const Tt=w<o.length?o[w+1]:void 0,Vt=Q<a.length?a[Q+1]:void 0;let rn,Qt=null;Te===nt?(w+=2,Q+=2,Tt!==Vt&&(Qt=nt,rn=Vt)):null===nt||null!==Te&&Te<nt?(w+=2,Qt=Te):(Q+=2,Qt=nt,rn=Vt),null!==Qt&&af(e,t,n,r,Qt,rn,f,v),Te=w<o.length?o[w]:null,nt=Q<a.length?a[Q]:null}}(o,v,f,f[I],f[a+1],f[a+1]=function _b(e,t,n){if(null==n||""===n)return Lt;const r=[],o=Yr(n);if(Array.isArray(o))for(let a=0;a<o.length;a++)e(r,o[a],!0);else if("object"==typeof o)for(const a in o)o.hasOwnProperty(a)&&e(r,a,o[a]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,a)}}(Di,Ar,qo(M(),e,t,n),!0)}function gd(e,t,n){const r=M();return ds(r,An(),t)&&Hs(x(),gi(),r,e,t,r[I],n,!0),gd}function _d(e,t,n){const r=M();if(ds(r,An(),t)){const a=x(),f=gi();Hs(a,f,r,e,t,ap(Zs(a.data),f,r),n,!0)}return _d}const Do=void 0;var Nb=["en",[["a","p"],["AM","PM"],Do],[["AM","PM"],Do,Do],[["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"]],Do,[["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"]],Do,[["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}",Do,"{1} 'at' {0}",Do],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Bb(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let aa={};function vd(e){const t=function Vb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Tf(t);if(n)return n;const r=t.split("-")[0];if(n=Tf(r),n)return n;if("en"===r)return Nb;throw new Error(`Missing locale data for the locale "${e}".`)}function Sf(e){return vd(e)[In.PluralCase]}function Tf(e){return e in aa||(aa[e]=qe.ng&&qe.ng.common&&qe.ng.common.locales&&qe.ng.common.locales[e]),aa[e]}var In=(()=>((In=In||{})[In.LocaleId=0]="LocaleId",In[In.DayPeriodsFormat=1]="DayPeriodsFormat",In[In.DayPeriodsStandalone=2]="DayPeriodsStandalone",In[In.DaysFormat=3]="DaysFormat",In[In.DaysStandalone=4]="DaysStandalone",In[In.MonthsFormat=5]="MonthsFormat",In[In.MonthsStandalone=6]="MonthsStandalone",In[In.Eras=7]="Eras",In[In.FirstDayOfWeek=8]="FirstDayOfWeek",In[In.WeekendRange=9]="WeekendRange",In[In.DateFormat=10]="DateFormat",In[In.TimeFormat=11]="TimeFormat",In[In.DateTimeFormat=12]="DateTimeFormat",In[In.NumberSymbols=13]="NumberSymbols",In[In.NumberFormats=14]="NumberFormats",In[In.CurrencyCode=15]="CurrencyCode",In[In.CurrencySymbol=16]="CurrencySymbol",In[In.CurrencyName=17]="CurrencyName",In[In.Currencies=18]="Currencies",In[In.Directionality=19]="Directionality",In[In.PluralCase=20]="PluralCase",In[In.ExtraData=21]="ExtraData",In))();const la="en-US";let If=la;function Cd(e,t,n,r,o){if(e=ne(e),Array.isArray(e))for(let a=0;a<e.length;a++)Cd(e[a],t,n,r,o);else{const a=x(),f=M();let v=yo(e)?e:ne(e.provide),w=Ch(e);const Q=on(),Te=1048575&Q.providerIndexes,nt=Q.directiveStart,Tt=Q.providerIndexes>>20;if(yo(e)||!e.multi){const Vt=new Lr(w,o,$o),Qt=Md(v,t,o?Te:Te+Tt,nt);-1===Qt?(yr(vr(Q,f),a,v),Dd(a,e,t.length),t.push(v),Q.directiveStart++,Q.directiveEnd++,o&&(Q.providerIndexes+=1048576),n.push(Vt),f.push(Vt)):(n[Qt]=Vt,f[Qt]=Vt)}else{const Vt=Md(v,t,Te+Tt,nt),Qt=Md(v,t,Te,Te+Tt),rn=Vt>=0&&n[Vt],pn=Qt>=0&&n[Qt];if(o&&!pn||!o&&!rn){yr(vr(Q,f),a,v);const vn=function B0(e,t,n,r,o){const a=new Lr(e,n,$o);return a.multi=[],a.index=t,a.componentProviders=0,tm(a,o,r&&!n),a}(o?L0:F0,n.length,o,r,w);!o&&pn&&(n[Qt].providerFactory=vn),Dd(a,e,t.length,0),t.push(v),Q.directiveStart++,Q.directiveEnd++,o&&(Q.providerIndexes+=1048576),n.push(vn),f.push(vn)}else Dd(a,e,Vt>-1?Vt:Qt,tm(n[o?Qt:Vt],w,!o&&r));!o&&r&&pn&&n[Qt].componentProviders++}}}function Dd(e,t,n,r){const o=yo(t),a=function Dv(e){return!!e.useClass}(t);if(o||a){const w=(a?ne(t.useClass):t).prototype.ngOnDestroy;if(w){const Q=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const Te=Q.indexOf(n);-1===Te?Q.push(n,[r,w]):Q[Te+1].push(r,w)}else Q.push(n,w)}}}function tm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Md(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function F0(e,t,n,r){return Ed(this.multi,[])}function L0(e,t,n,r){const o=this.multi;let a;if(this.providerFactory){const f=this.providerFactory.componentProviders,v=y(n,n[1],this.providerFactory.index,r);a=v.slice(0,f),Ed(o,a);for(let w=f;w<v.length;w++)a.push(v[w])}else a=[],Ed(o,a);return a}function Ed(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function nm(e,t=[]){return n=>{n.providersResolver=(r,o)=>function P0(e,t,n){const r=x();if(r.firstCreatePass){const o=fi(e);Cd(n,r.data,r.blueprint,o,!0),Cd(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class V0{resolveComponentFactory(t){throw function N0(e){const t=Error(`No component factory found for ${re(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let za=(()=>{class e{}return e.NULL=new V0,e})();class Mo{}class sm{}class rm{}function U0(){return da(on(),M())}function da(e,t){return new Ya(Le(e,t))}let Ya=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=U0,e})();function j0(e){return e instanceof Ya?e.nativeElement:e}class om{}let G0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Y0(){const e=M(),n=hn(on().index,e);return function z0(e){return e[I]}(si(n)?n:e)}(),e})(),W0=(()=>{class e{}return e.\u0275prov=J({token:e,providedIn:"root",factory:()=>null}),e})();class am{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const $0=new am("14.0.1"),xd={};function Ol(e,t,n,r,o=!1){for(;null!==n;){const a=t[n.index];if(null!==a&&r.push(zn(a)),pi(a))for(let v=10;v<a.length;v++){const w=a[v],Q=w[1].firstChild;null!==Q&&Ol(w[1],w,Q,r)}const f=n.type;if(8&f)Ol(e,t,n.child,r);else if(32&f){const v=sc(n,t);let w;for(;w=v();)r.push(w)}else if(16&f){const v=Xu(t,n);if(Array.isArray(v))r.push(...v);else{const w=ka(t[16]);Ol(w[1],w,v,r,!0)}}n=o?n.projectionNext:n.next}return r}class Wa{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Ol(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(pi(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(cc(t,r),Ii(n,r))}this._attachedToViewContainer=!1}Gu(this._lView[1],this._lView)}onDestroy(t){Qh(this._lView[1],this._lView,null,t)}markForCheck(){Wc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Kc(e,t,n){const r=t[10];r.begin&&r.begin();try{Qo(e,t,e.template,n)}catch(o){throw lp(t,o),o}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ae(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function $_(e,t){Pa(e,t,t[I],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ae(902,"");this._appRef=t}}class K0 extends Wa{constructor(t){super(t),this._view=t}detectChanges(){sp(this._view)}checkNoChanges(){}get context(){return null}}class wd extends za{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=H(t);return new Ad(n,this.ngModule)}}function lm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Q0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,xd,r);return o!==xd||n===xd?o:this.parentInjector.get(t,n,r)}}class Ad extends rm{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function pv(e){return e.map(hv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return lm(this.componentDef.inputs)}get outputs(){return lm(this.componentDef.outputs)}create(t,n,r,o){let a=(o=o||this.ngModule)instanceof zo?o:null==o?void 0:o.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const f=a?new Q0(t,a):t,v=f.get(om,Gi),w=f.get(W0,null),Q=v.createRenderer(null,this.componentDef),Te=this.componentDef.selectors[0][0]||"div",nt=r?function Zh(e,t,n){if($n(e))return e.selectRootElement(t,n===tt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(Q,r,this.componentDef.encapsulation):lc(v.createRenderer(null,this.componentDef),Te,function Z0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(Te)),Tt=this.componentDef.onPush?288:272,Vt=function bp(e,t){return{components:[],scheduler:e||N_,clean:Sy,playerHandler:t||null,flags:0}}(),Qt=gl(0,null,null,1,0,null,null,null,null,null),rn=Fa(null,Qt,Vt,Tt,null,null,v,Q,w,f,null);let pn,vn;Qs(rn);try{const On=function vp(e,t,n,r,o,a){const f=n[1];n[22]=e;const w=Ko(f,22,2,"#host",null),Q=w.mergedAttrs=t.hostAttrs;null!==Q&&(vl(w,Q,!0),null!==e&&(ir(o,e,Q),null!==w.classes&&fc(o,e,w.classes),null!==w.styles&&nh(o,e,w.styles)));const Te=r.createRenderer(e,t),nt=Fa(n,$h(t),null,t.onPush?32:16,n[22],w,r,Te,a||null,null,null);return f.firstCreatePass&&(yr(vr(w,n),f,t.type),ep(f,w),tp(w,n.length,1)),_l(n,nt),n[22]=nt}(nt,this.componentDef,rn,v,Q);if(nt)if(r)ir(Q,nt,["ng-version",$0.full]);else{const{attrs:nn,classes:xn}=function fv(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let a=e[r];if("string"==typeof a)2===o?""!==a&&t.push(a,e[++r]):8===o&&n.push(a);else{if(!or(o))break;o=a}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);nn&&ir(Q,nt,nn),xn&&xn.length>0&&fc(Q,nt,xn.join(" "))}if(vn=zt(Qt,22),void 0!==n){const nn=vn.projection=[];for(let xn=0;xn<this.ngContentSelectors.length;xn++){const Jn=n[xn];nn.push(null!=Jn?Array.from(Jn):null)}}pn=function yp(e,t,n,r,o){const a=n[1],f=function hy(e,t,n){const r=on();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),np(e,r,t,Zo(e,t,1,null),n));const o=y(t,e,r.directiveStart,r);cs(o,t);const a=Le(r,t);return a&&cs(a,t),o}(a,n,t);if(r.components.push(f),e[8]=f,null!==o)for(const w of o)w(f,t);if(t.contentQueries){const w=on();t.contentQueries(1,f,w.directiveStart)}const v=on();return!a.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Fs(v.index),qh(n[1],v,0,v.directiveStart,v.directiveEnd,t),Xh(t,f)),f}(On,this.componentDef,rn,Vt,[Vy]),La(Qt,rn,null)}finally{mr()}return new q0(this.componentType,pn,da(vn,rn),rn,vn)}}class q0 extends class H0{}{constructor(t,n,r,o,a){super(),this.location=r,this._rootLView=o,this._tNode=a,this.instance=n,this.hostView=this.changeDetectorRef=new K0(o),this.componentType=t}get injector(){return new Re(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function X0(e,t){return new cm(e,null!=t?t:null)}class cm extends Mo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new wd(this);const r=It(t);this._bootstrapComponents=Wr(r.bootstrap),this._r3Injector=Mh(t,n,[{provide:Mo,useValue:this},{provide:za,useValue:this.componentFactoryResolver}],re(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this.get(t)}get(t,n=Mr.THROW_IF_NOT_FOUND,r=jt.Default){return t===Mr||t===Mo||t===dl?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Sd extends sm{constructor(t){super(),this.moduleType=t}create(t){return new cm(this.moduleType,t)}}class eC extends Mo{constructor(t,n,r){super(),this.componentFactoryResolver=new wd(this),this.instance=null;const o=new bh([...t,{provide:Mo,useValue:this},{provide:za,useValue:this.componentFactoryResolver}],n||yc(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Td(e,t=null,n=null){return new eC(e,t,n).injector}let tC=(()=>{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 r=mh(0,n.type),o=r.length>0?Td([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}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=J({token:e,providedIn:"environment",factory:()=>new e(Vi(zo))}),e})();function dm(e){e.getStandaloneInjector=t=>t.get(tC).getOrCreateStandaloneInjector(e)}function um(e,t,n){const r=ce()+e,o=M();return o[r]===Hn?xr(o,r,n?t.call(n):t()):function Na(e,t){return e[t]}(o,r)}function hm(e,t,n,r){return gm(M(),ce(),e,t,n,r)}function pm(e,t,n,r,o){return _m(M(),ce(),e,t,n,r,o)}function fm(e,t,n,r,o,a){return function vm(e,t,n,r,o,a,f,v){const w=t+n;return function bl(e,t,n,r,o){const a=Co(e,t,n,r);return ds(e,t+2,o)||a}(e,w,o,a,f)?xr(e,w+3,v?r.call(v,o,a,f):r(o,a,f)):$a(e,w+3)}(M(),ce(),e,t,n,r,o,a)}function mm(e,t,n,r,o,a,f){return function ym(e,t,n,r,o,a,f,v,w){const Q=t+n;return function qs(e,t,n,r,o,a){const f=Co(e,t,n,r);return Co(e,t+2,o,a)||f}(e,Q,o,a,f,v)?xr(e,Q+4,w?r.call(w,o,a,f,v):r(o,a,f,v)):$a(e,Q+4)}(M(),ce(),e,t,n,r,o,a,f)}function $a(e,t){const n=e[t];return n===Hn?void 0:n}function gm(e,t,n,r,o,a){const f=t+n;return ds(e,f,o)?xr(e,f+1,a?r.call(a,o):r(o)):$a(e,f+1)}function _m(e,t,n,r,o,a,f){const v=t+n;return Co(e,v,o,a)?xr(e,v+2,f?r.call(f,o,a):r(o,a)):$a(e,v+2)}function Cm(e,t){const n=x();let r;const o=e+22;n.firstCreatePass?(r=function lC(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const a=r.factory||(r.factory=Pi(r.type)),f=st($o);try{const v=gs(!1),w=a();return gs(v),function Jy(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,M(),o,w),w}finally{st(f)}}function Dm(e,t,n){const r=e+22,o=M(),a=Kt(o,r);return Ka(o,r)?gm(o,ce(),t,a.transform,n,a):a.transform(n)}function Mm(e,t,n,r){const o=e+22,a=M(),f=Kt(a,o);return Ka(a,o)?_m(a,ce(),t,f.transform,n,r,f):f.transform(n,r)}function Ka(e,t){return e[1].data[t].pure}function Id(e){return t=>{setTimeout(e,void 0,t)}}const Sr=class hC extends s.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,a,f;let v=t,w=n||(()=>null),Q=r;if(t&&"object"==typeof t){const nt=t;v=null===(o=nt.next)||void 0===o?void 0:o.bind(nt),w=null===(a=nt.error)||void 0===a?void 0:a.bind(nt),Q=null===(f=nt.complete)||void 0===f?void 0:f.bind(nt)}this.__isAsync&&(w=Id(w),v&&(v=Id(v)),Q&&(Q=Id(Q)));const Te=super.subscribe({next:v,error:w,complete:Q});return t instanceof i.w0&&t.add(Te),Te}};function pC(){return this._results[bo()]()}class Rl{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=bo(),r=Rl.prototype;r[n]||(r[n]=pC)}get changes(){return this._changes||(this._changes=new Sr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=Dn(t);(this._changesDetected=!function Fn(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],a=t[r];if(n&&(o=n(o),a=n(a)),a!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Za=(()=>{class e{}return e.__NG_ELEMENT_ID__=gC,e})();const fC=Za,mC=class extends fC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Fa(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const f=this._declarationLView[19];return null!==f&&(o[19]=f.createEmbeddedView(r)),La(r,o,t),new Wa(o)}};function gC(){return kl(on(),M())}function kl(e,t){return 4&e.type?new mC(t,e,da(e,t)):null}let Pl=(()=>{class e{}return e.__NG_ELEMENT_ID__=_C,e})();function _C(){return wm(on(),M())}const vC=Pl,Em=class extends vC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return da(this._hostTNode,this._hostLView)}get injector(){return new Re(this._hostTNode,this._hostLView)}get parentInjector(){const t=Jr(this._hostTNode,this._hostLView);if(Oo(t)){const n=Ls(t,this._hostLView),r=Ss(t);return new Re(n[1].data[r+8],n)}return new Re(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=xm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,a;"number"==typeof r?o=r:null!=r&&(o=r.index,a=r.injector);const f=t.createEmbeddedView(n||{},a);return this.insert(f,o),f}createComponent(t,n,r,o,a){const f=t&&!function Bn(e){return"function"==typeof e}(t);let v;if(f)v=n;else{const nt=n||{};v=nt.index,r=nt.injector,o=nt.projectableNodes,a=nt.environmentInjector||nt.ngModuleRef}const w=f?t:new Ad(H(t)),Q=r||this.parentInjector;if(!a&&null==w.ngModule){const Tt=(f?Q:this.parentInjector).get(zo,null);Tt&&(a=Tt)}const Te=w.create(Q,o,void 0,a);return this.insert(Te.hostView,v),Te}insert(t,n){const r=t._lView,o=r[1];if(function ni(e){return pi(e[3])}(r)){const Te=this.indexOf(t);if(-1!==Te)this.detach(Te);else{const nt=r[3],Tt=new Em(nt,nt[6],nt[3]);Tt.detach(Tt.indexOf(t))}}const a=this._adjustIndex(n),f=this._lContainer;!function Z_(e,t,n,r){const o=10+r,a=n.length;r>0&&(n[o-1][4]=t),r<a-10?(t[4]=n[o],ui(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const f=t[17];null!==f&&n!==f&&function Q_(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(f,t);const v=t[19];null!==v&&v.insertView(e),t[2]|=64}(o,r,f,a);const v=hc(a,f),w=r[I],Q=al(w,f[7]);return null!==Q&&function W_(e,t,n,r,o,a){r[0]=o,r[6]=t,Pa(e,r,n,1,o,a)}(o,f[6],w,r,Q,v),t.attachToViewContainerRef(),ui(Od(f),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=xm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=cc(this._lContainer,n);r&&(Ii(Od(this._lContainer),n),Gu(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=cc(this._lContainer,n);return r&&null!=Ii(Od(this._lContainer),n)?new Wa(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function xm(e){return e[8]}function Od(e){return e[8]||(e[8]=[])}function wm(e,t){let n;const r=t[e.index];if(pi(r))n=r;else{let o;if(8&e.type)o=zn(r);else{const a=t[I];o=a.createComment("");const f=Le(e,t);vo(a,al(a,f),o,function ev(e,t){return $n(e)?e.nextSibling(t):t.nextSibling}(a,f),!1)}t[e.index]=n=ip(r,t,o,e),_l(t,n)}return new Em(n,e,t)}class Rd{constructor(t){this.queryList=t,this.matches=null}clone(){return new Rd(this.queryList)}setDirty(){this.queryList.setDirty()}}class kd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let a=0;a<r;a++){const f=n.getByIndex(a);o.push(this.queries[f.indexInDeclarationView].clone())}return new kd(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Fm(t,n).matches&&this.queries[n].setDirty()}}class Am{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Pd{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,a=this.getByIndex(r).embeddedTView(t,o);a&&(a.indexInDeclarationView=r,null!==n?n.push(a):n=[a])}return null!==n?new Pd(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Fd{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Fd(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const a=r[o];this.matchTNodeWithReadOption(t,n,CC(n,a)),this.matchTNodeWithReadOption(t,n,b(n,t,a,!1,!1))}else r===Za?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,b(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Ya||o===Pl||o===Za&&4&n.type)this.addMatch(n.index,-2);else{const a=b(n,t,o,!1,!1);null!==a&&this.addMatch(n.index,a)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function CC(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function MC(e,t,n,r){return-1===n?function DC(e,t){return 11&e.type?da(e,t):4&e.type?kl(e,t):null}(t,e):-2===n?function EC(e,t,n){return n===Ya?da(t,e):n===Za?kl(t,e):n===Pl?wm(t,e):void 0}(e,t,r):y(e,e[1],n,t)}function Sm(e,t,n,r){const o=t[19].queries[r];if(null===o.matches){const a=e.data,f=n.matches,v=[];for(let w=0;w<f.length;w+=2){const Q=f[w];v.push(Q<0?null:MC(t,a[Q],f[w+1],n.metadata.read))}o.matches=v}return o.matches}function Ld(e,t,n,r){const o=e.queries.getByIndex(n),a=o.matches;if(null!==a){const f=Sm(e,t,o,n);for(let v=0;v<a.length;v+=2){const w=a[v];if(w>0)r.push(f[v/2]);else{const Q=a[v+1],Te=t[-w];for(let nt=10;nt<Te.length;nt++){const Tt=Te[nt];Tt[17]===Tt[3]&&Ld(Tt[1],Tt,Q,r)}if(null!==Te[9]){const nt=Te[9];for(let Tt=0;Tt<nt.length;Tt++){const Vt=nt[Tt];Ld(Vt[1],Vt,Q,r)}}}}}return r}function Tm(e){const t=M(),n=x(),r=fr();eo(r+1);const o=Fm(n,r);if(e.dirty&&ei(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const a=o.crossesNgTemplate?Ld(n,t,r,[]):Sm(n,t,o,r);e.reset(a,j0),e.notifyOnChanges()}return!0}return!1}function Im(e,t,n){const r=x();r.firstCreatePass&&(Pm(r,new Am(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),km(r,M(),t)}function Om(e,t,n,r){const o=x();if(o.firstCreatePass){const a=on();Pm(o,new Am(t,n,r),a.index),function wC(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}km(o,M(),n)}function Rm(){return function xC(e,t){return e[19].queries[t].queryList}(M(),fr())}function km(e,t,n){const r=new Rl(4==(4&n));Qh(e,t,r,r.destroy),null===t[19]&&(t[19]=new kd),t[19].queries.push(new Rd(r))}function Pm(e,t,n){null===e.queries&&(e.queries=new Pd),e.queries.track(new Fd(t,n))}function Fm(e,t){return e.queries.getByIndex(t)}function Lm(e,t){return kl(e,t)}function ha(e){const t=H(e)||Ue(e)||Je(e);return null!==t&&t.standalone}const WC=Ns("Input",e=>({bindingPropertyName:e})),$C=Ns("HostListener",(e,t)=>({eventName:e,args:t}));function Ll(...e){}const tg=new oi("Application Initializer");let Bl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ll,this.reject=Ll,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const a=this.appInits[o]();if(rd(a))n.push(a);else if(Fp(a)){const f=new Promise((v,w)=>{a.subscribe({complete:v,error:w})});n.push(f)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Vi(tg,8))},e.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ng=new oi("AppId",{providedIn:"root",factory:function ig(){return`${Ud()}${Ud()}${Ud()}`}});function Ud(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const sg=new oi("Platform Initializer"),KC=new oi("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),rg=new oi("appBootstrapListener"),ZC=new oi("AnimationModuleType");let QC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Nl=new oi("LocaleId",{providedIn:"root",factory:()=>lu(Nl,jt.Optional|jt.SkipSelf)||function JC(){return"undefined"!=typeof $localize&&$localize.locale||la}()}),qC=new oi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class XC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let eD=(()=>{class e{compileModuleSync(n){return new Sd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),a=Wr(It(n).declarations).reduce((f,v)=>{const w=H(v);return w&&f.push(new Ad(w)),f},[]);return new XC(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const nD=(()=>Promise.resolve(0))();function jd(e){"undefined"==typeof Zone?nD.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Us{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Sr(!1),this.onMicrotaskEmpty=new Sr(!1),this.onStable=new Sr(!1),this.onError=new Sr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function iD(){let e=qe.requestAnimationFrame,t=qe.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function oD(e){const t=()=>{!function rD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(qe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,zd(e),e.isCheckStableRunning=!0,Gd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),zd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,a,f,v)=>{try{return og(e),n.invokeTask(o,a,f,v)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),ag(e)}},onInvoke:(n,r,o,a,f,v,w)=>{try{return og(e),n.invoke(o,a,f,v,w)}finally{e.shouldCoalesceRunChangeDetection&&t(),ag(e)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,zd(e),Gd(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(o)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Us.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Us.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const a=this._inner,f=a.scheduleEventTask("NgZoneEvent: "+o,t,sD,Ll,Ll);try{return a.runTask(f,n,r)}finally{a.cancelTask(f)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const sD={};function Gd(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 zd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function og(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ag(e){e._nesting--,Gd(e)}class aD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Sr,this.onMicrotaskEmpty=new Sr,this.onStable=new Sr,this.onError=new Sr}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const lg=new oi(""),cg=new oi("");let Ja,lD=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ja||(function cD(e){Ja=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Us.assertNotInAngularZone(),jd(()=>{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())jd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let a=-1;r&&r>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==a),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(Vi(Us),Vi(dg),Vi(cg))},e.\u0275prov=J({token:e,factory:e.\u0275fac}),e})(),dg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){var o;return null!==(o=null==Ja?void 0:Ja.findTestabilityInTree(this,n,r))&&void 0!==o?o:null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Tr=null;const ug=new oi("AllowMultipleToken"),hg=new oi("PlatformOnDestroy");class hD{constructor(t,n){this.name=t,this.token=n}}function fg(e,t,n=[]){const r=`Platform: ${t}`,o=new oi(r);return(a=[])=>{let f=Yd();if(!f||f.injector.get(ug,!1)){const v=[...n,...a,{provide:o,useValue:!0}];e?e(v):function pD(e){if(Tr&&!Tr.get(ug,!1))throw new Ae(400,"");Tr=e;const t=e.get(gg);(function pg(e){const t=e.get(sg,null);t&&t.forEach(n=>n())})(e)}(function mg(e=[],t){return Mr.create({name:t,providers:[{provide:_c,useValue:"platform"},{provide:hg,useValue:()=>Tr=null},...e]})}(v,r))}return function mD(e){const t=Yd();if(!t)throw new Ae(401,"");return t}()}}function Yd(){var e;return null!==(e=null==Tr?void 0:Tr.get(gg))&&void 0!==e?e:null}let gg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function gD(e,t){let n;return n="noop"===e?new aD:("zone.js"===e?void 0:e)||new Us(t),n}(null==r?void 0:r.ngZone,function _g(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),a=[{provide:Us,useValue:o}];return o.run(()=>{const f=Mr.create({providers:a,parent:this.injector,name:n.moduleType.name}),v=n.create(f),w=v.injector.get(Oa,null);if(!w)throw new Ae(402,"");return o.runOutsideAngular(()=>{const Q=o.onError.subscribe({next:Te=>{w.handleError(Te)}});v.onDestroy(()=>{Hl(this._modules,v),Q.unsubscribe()})}),function vg(e,t,n){try{const r=n();return rd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(w,o,()=>{const Q=v.injector.get(Bl);return Q.runInitializers(),Q.donePromise.then(()=>(function Of(e){St(e,"Expected localeId to be defined"),"string"==typeof e&&(If=e.toLowerCase().replace(/_/g,"-"))}(v.injector.get(Nl,la)||la),this._moduleDoBootstrap(v),v))})})}bootstrapModule(n,r=[]){const o=yg({},r);return function dD(e,t,n){const r=new Sd(n);return Promise.resolve(r)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,o))}_moduleDoBootstrap(n){const r=n.injector.get(Vl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Ae(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ae(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(hg,null);null==n||n(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Vi(Mr))},e.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function yg(e,t){return Array.isArray(t)?t.reduce(yg,e):Object.assign(Object.assign({},e),t)}let Vl=(()=>{class e{constructor(n,r,o,a){this._zone=n,this._injector=r,this._exceptionHandler=o,this._initStatus=a,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 f=new h.y(w=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{w.next(this._stable),w.complete()})}),v=new h.y(w=>{let Q;this._zone.runOutsideAngular(()=>{Q=this._zone.onStable.subscribe(()=>{Us.assertNotInAngularZone(),jd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,w.next(!0))})})});const Te=this._zone.onUnstable.subscribe(()=>{Us.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{w.next(!1)}))});return()=>{Q.unsubscribe(),Te.unsubscribe()}});this.isStable=(0,u.T)(f,v.pipe((0,l.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof rm;if(!this._initStatus.done)throw!o&&ha(n),new Ae(405,false);let a;a=o?n:this._injector.get(za).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const f=function uD(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Mo),w=a.create(Mr.NULL,[],r||a.selector,f),Q=w.location.nativeElement,Te=w.injector.get(lg,null);return null==Te||Te.registerApplication(Q),w.onDestroy(()=>{this.detachView(w.hostView),Hl(this.components,w),null==Te||Te.unregisterApplication(Q)}),this._loadComponent(w),w}tick(){if(this._runningTick)throw new Ae(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Hl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(rg,[]).concat(this._bootstrapListeners).forEach(o=>o(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),()=>Hl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ae(406,false);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)(Vi(Us),Vi(Mr),Vi(Oa),Vi(Bl))},e.\u0275prov=J({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Hl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Cg=!0;function vD(){Cg=!1}let yD=(()=>{class e{}return e.__NG_ELEMENT_ID__=bD,e})();function bD(e){return function CD(e,t,n){if(vi(e)&&!n){const r=hn(e.index,t);return new Wa(r,r)}return 47&e.type?new Wa(t[16],t):null}(on(),M(),16==(16&e))}class wg{constructor(){}supports(t){return Ba(t)}create(t){return new AD(t)}}const wD=(e,t)=>t;class AD{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||wD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,a=null;for(;n||r;){const f=!r||n&&n.currentIndex<Sg(r,o,a)?n:r,v=Sg(f,o,a),w=f.currentIndex;if(f===r)o--,r=r._nextRemoved;else if(n=n._next,null==f.previousIndex)o++;else{a||(a=[]);const Q=v-o,Te=w-o;if(Q!=Te){for(let Tt=0;Tt<Q;Tt++){const Vt=Tt<a.length?a[Tt]:a[Tt]=0,Qt=Vt+Tt;Te<=Qt&&Qt<Q&&(a[Tt]=Vt+1)}a[f.previousIndex]=Te-Q}}v!==w&&t(f,v,w)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ba(t))throw new Ae(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,a,f,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let v=0;v<this.length;v++)a=t[v],f=this._trackByFn(v,a),null!==n&&Object.is(n.trackById,f)?(r&&(n=this._verifyReinsertion(n,a,f,v)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,f,v),r=!0),n=n._next}else o=0,function Ky(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[bo()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,v=>{f=this._trackByFn(o,v),null!==n&&Object.is(n.trackById,f)?(r&&(n=this._verifyReinsertion(n,v,f,o)),Object.is(n.item,v)||this._addIdentityChange(n,v)):(n=this._mismatch(n,v,f,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,o)):t=this._addAfter(new SD(n,r),a,o),t}_verifyReinsertion(t,n,r,o){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==a?t=this._reinsertAfter(a,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,a=t._nextRemoved;return null===o?this._removalsHead=a:o._nextRemoved=a,null===a?this._removalsTail=o:a._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ag),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ag),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 SD{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 TD{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Ag{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new TD,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 Sg(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class Tg{constructor(){}supports(t){return t instanceof Map||Xc(t)}create(){return new ID}}class ID{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Xc(t)))throw new Ae(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const a=o._prev,f=o._next;return a&&(a._next=f),f&&(f._prev=a),o._next=null,o._prev=null,o}const r=new OD(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class OD{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 Ig(){return new Qd([new wg])}let Qd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ig()),deps:[[e,new xa,new Ea]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Ae(901,"")}}return e.\u0275prov=J({token:e,providedIn:"root",factory:Ig}),e})();function Og(){return new Jd([new Tg])}let Jd=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Og()),deps:[[e,new xa,new Ea]]}}find(n){const r=this.factories.find(a=>a.supports(n));if(r)return r;throw new Ae(901,"")}}return e.\u0275prov=J({token:e,providedIn:"root",factory:Og}),e})();const PD=fg(null,"core",[]);let FD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Vi(Vl))},e.\u0275mod=te({type:e}),e.\u0275inj=de({}),e})();function LD(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},9042:(Yt,ut,c)=>{"use strict";function s(X){for(let Ne in X){let ne=X[Ne]||"";switch(Ne){case"display":X.display="flex"===ne?["-webkit-flex","flex"]:"inline-flex"===ne?["-webkit-inline-flex","inline-flex"]:ne;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":X["-webkit-"+Ne]=ne;break;case"flex-direction":ne=ne||"row",X["-webkit-flex-direction"]=ne,X["flex-direction"]=ne;break;case"order":X.order=X["-webkit-"+Ne]=isNaN(+ne)?"0":ne}}return X}c.d(ut,{Ar:()=>u,GK:()=>s,iQ:()=>h,kt:()=>ve,tj:()=>Me});const i="inline",h=["row","column","row-reverse","column-reverse"];function u(X){let[Ne,ne,Ce]=l(X);return function re(X,Ne=null,ne=!1){return{display:ne?"inline-flex":"flex","box-sizing":"border-box","flex-direction":X,"flex-wrap":Ne||null}}(Ne,ne,Ce)}function l(X){var Ne;X=null!==(Ne=null==X?void 0:X.toLowerCase())&&void 0!==Ne?Ne:"";let[ne,Ce,ae]=X.split(" ");return h.find(Ae=>Ae===ne)||(ne=h[0]),Ce===i&&(Ce=ae!==i?ae:"",ae=i),[ne,ie(Ce),!!ae]}function Me(X){let[Ne]=l(X);return Ne.indexOf("row")>-1}function ie(X){if(X)switch(X.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":X="wrap-reverse";break;case"no":case"none":case"nowrap":X="nowrap";break;default:X="wrap"}return X}function ve(X,...Ne){if(null==X)throw TypeError("Cannot convert undefined or null to object");for(let ne of Ne)if(null!=ne)for(let Ce in ne)ne.hasOwnProperty(Ce)&&(X[Ce]=ne[Ce]);return X}},3270:(Yt,ut,c)=>{"use strict";c.d(ut,{Bs:()=>bt,FL:()=>Lt,IR:()=>Ce,Ot:()=>kt,QI:()=>ke,RK:()=>oe,WU:()=>Se,g5:()=>Be,iR:()=>st,wY:()=>mt,yB:()=>cn});var s=c(5e3),i=c(9808),h=c(1135),u=c(8306),l=c(6451),Me=c(7579),ie=c(9042),re=c(9300),ve=c(8505);const Ne={provide:s.tb,useFactory:function X(xt,Rt){return()=>{if((0,i.NF)(Rt)){const ge=Array.from(xt.querySelectorAll(`[class*=${ne}]`)),Ge=/\bflex-layout-.+?\b/g;ge.forEach(rt=>{rt.classList.contains(`${ne}ssr`)&&rt.parentNode?rt.parentNode.removeChild(rt):rt.className.replace(Ge,"")})}}},deps:[i.K0,s.Lbi],multi:!0},ne="flex-layout-";let Ce=(()=>{class xt{}return xt.\u0275fac=function(ge){return new(ge||xt)},xt.\u0275mod=s.oAB({type:xt}),xt.\u0275inj=s.cJS({providers:[Ne]}),xt})();class ae{constructor(Rt=!1,ge="all",Ge="",rt="",L=0){this.matches=Rt,this.mediaQuery=ge,this.mqAlias=Ge,this.suffix=rt,this.priority=L,this.property=""}clone(){return new ae(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let Ae=(()=>{class xt{constructor(){this.stylesheet=new Map}addStyleToElement(ge,Ge,rt){const L=this.stylesheet.get(ge);L?L.set(Ge,rt):this.stylesheet.set(ge,new Map([[Ge,rt]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(ge,Ge){const rt=this.stylesheet.get(ge);let L="";if(rt){const me=rt.get(Ge);("number"==typeof me||"string"==typeof me)&&(L=me+"")}return L}}return xt.\u0275fac=function(ge){return new(ge||xt)},xt.\u0275prov=s.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();const Be={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Se=new s.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Be}),mt=new s.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),bt=new s.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function Mt(xt,Rt){return xt=xt?xt.clone():new ae,Rt&&(xt.mqAlias=Rt.alias,xt.mediaQuery=Rt.mediaQuery,xt.suffix=Rt.suffix,xt.priority=Rt.priority),xt}class ke{constructor(){this.shouldCache=!0}sideEffect(Rt,ge,Ge){}}let oe=(()=>{class xt{constructor(ge,Ge,rt,L){this._serverStylesheet=ge,this._serverModuleLoaded=Ge,this._platformId=rt,this.layoutConfig=L}applyStyleToElement(ge,Ge,rt=null){let L={};"string"==typeof Ge&&(L[Ge]=rt,Ge=L),L=this.layoutConfig.disableVendorPrefixes?Ge:(0,ie.GK)(Ge),this._applyMultiValueStyleToElement(L,ge)}applyStyleToElements(ge,Ge=[]){const rt=this.layoutConfig.disableVendorPrefixes?ge:(0,ie.GK)(ge);Ge.forEach(L=>{this._applyMultiValueStyleToElement(rt,L)})}getFlowDirection(ge){const Ge="flex-direction";let rt=this.lookupStyle(ge,Ge);return[rt||"row",this.lookupInlineStyle(ge,Ge)||(0,i.PM)(this._platformId)&&this._serverModuleLoaded?rt:""]}hasWrap(ge){return"wrap"===this.lookupStyle(ge,"flex-wrap")}lookupAttributeValue(ge,Ge){var rt;return null!==(rt=ge.getAttribute(Ge))&&void 0!==rt?rt:""}lookupInlineStyle(ge,Ge){return(0,i.NF)(this._platformId)?ge.style.getPropertyValue(Ge):function he(xt,Rt){var ge;return null!==(ge=we(xt)[Rt])&&void 0!==ge?ge:""}(ge,Ge)}lookupStyle(ge,Ge,rt=!1){let L="";return ge&&((L=this.lookupInlineStyle(ge,Ge))||((0,i.NF)(this._platformId)?rt||(L=getComputedStyle(ge).getPropertyValue(Ge)):this._serverModuleLoaded&&(L=this._serverStylesheet.getStyleForElement(ge,Ge)))),L?L.trim():""}_applyMultiValueStyleToElement(ge,Ge){Object.keys(ge).sort().forEach(rt=>{const L=ge[rt],me=Array.isArray(L)?L:[L];me.sort();for(let T of me)T=T?T+"":"",(0,i.NF)(this._platformId)||!this._serverModuleLoaded?(0,i.NF)(this._platformId)?Ge.style.setProperty(rt,T):le(Ge,rt,T):this._serverStylesheet.addStyleToElement(Ge,rt,T)})}}return xt.\u0275fac=function(ge){return new(ge||xt)(s.LFG(Ae),s.LFG(mt),s.LFG(s.Lbi),s.LFG(Se))},xt.\u0275prov=s.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();function le(xt,Rt,ge){Rt=Rt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const Ge=we(xt);Ge[Rt]=null!=ge?ge:"",function We(xt,Rt){let ge="";for(const Ge in Rt)Rt[Ge]&&(ge+=`${Ge}:${Rt[Ge]};`);xt.setAttribute("style",ge)}(xt,Ge)}function we(xt){const Rt={},ge=xt.getAttribute("style");if(ge){const Ge=ge.split(/;+/g);for(let rt=0;rt<Ge.length;rt++){const L=Ge[rt].trim();if(L.length>0){const me=L.indexOf(":");if(-1===me)throw new Error(`Invalid CSS style: ${L}`);Rt[L.substr(0,me).trim()]=L.substr(me+1).trim()}}}return Rt}function et(xt,Rt){return(Rt&&Rt.priority||0)-(xt&&xt.priority||0)}function Xe(xt,Rt){return(xt.priority||0)-(Rt.priority||0)}let _e=(()=>{class xt{constructor(ge,Ge,rt){this._zone=ge,this._platformId=Ge,this._document=rt,this.source=new h.X(new ae(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const ge=[];return this.registry.forEach((Ge,rt)=>{Ge.matches&&ge.push(rt)}),ge}isActive(ge){var Ge;const rt=this.registry.get(ge);return null!==(Ge=null==rt?void 0:rt.matches)&&void 0!==Ge?Ge:this.registerQuery(ge).some(L=>L.matches)}observe(ge,Ge=!1){if(ge&&ge.length){const rt=this._observable$.pipe((0,re.h)(me=>!Ge||ge.indexOf(me.mediaQuery)>-1)),L=new u.y(me=>{const T=this.registerQuery(ge);if(T.length){const D=T.pop();T.forEach(z=>{me.next(z)}),this.source.next(D)}me.complete()});return(0,l.T)(L,rt)}return this._observable$}registerQuery(ge){const Ge=Array.isArray(ge)?ge:[ge],rt=[];return function je(xt,Rt){const ge=xt.filter(Ge=>!lt[Ge]);if(ge.length>0){const Ge=ge.join(", ");try{const rt=Rt.createElement("style");rt.setAttribute("type","text/css"),rt.styleSheet||rt.appendChild(Rt.createTextNode(`\n/*\n  @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n  see http://bit.ly/2sd4HMP\n*/\n@media ${Ge} {.fx-query-test{ }}\n`)),Rt.head.appendChild(rt),ge.forEach(L=>lt[L]=rt)}catch(rt){console.error(rt)}}}(Ge,this._document),Ge.forEach(L=>{const me=D=>{this._zone.run(()=>this.source.next(new ae(D.matches,L)))};let T=this.registry.get(L);T||(T=this.buildMQL(L),T.addListener(me),this.pendingRemoveListenerFns.push(()=>T.removeListener(me)),this.registry.set(L,T)),T.matches&&rt.push(new ae(!0,L))}),rt}ngOnDestroy(){let ge;for(;ge=this.pendingRemoveListenerFns.pop();)ge()}buildMQL(ge){return function pt(xt,Rt){return Rt&&window.matchMedia("all").addListener?window.matchMedia(xt):{matches:"all"===xt||""===xt,media:xt,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(ge,(0,i.NF)(this._platformId))}}return xt.\u0275fac=function(ge){return new(ge||xt)(s.LFG(s.R0b),s.LFG(s.Lbi),s.LFG(i.K0))},xt.\u0275prov=s.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();const lt={},it=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],ft="(orientation: portrait) and (max-width: 599.98px)",Ct="(orientation: landscape) and (max-width: 959.98px)",St="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Y="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",B="(orientation: portrait) and (min-width: 840px)",_="(orientation: landscape) and (min-width: 1280px)",A={HANDSET:`${ft}, ${Ct}`,TABLET:`${St} , ${Y}`,WEB:`${B}, ${_} `,HANDSET_PORTRAIT:`${ft}`,TABLET_PORTRAIT:`${St} `,WEB_PORTRAIT:`${B}`,HANDSET_LANDSCAPE:`${Ct}`,TABLET_LANDSCAPE:`${Y}`,WEB_LANDSCAPE:`${_}`},J=[{alias:"handset",priority:2e3,mediaQuery:A.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:A.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:A.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:A.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:A.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:A.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:A.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:A.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:A.WEB_PORTRAIT,overlapping:!0}],se=/(\.|-|_)/g;function de(xt){let Rt=xt.length>0?xt.charAt(0):"",ge=xt.length>1?xt.slice(1):"";return Rt.toUpperCase()+ge}const ze=new s.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const xt=(0,s.f3M)(bt),Rt=(0,s.f3M)(Se),ge=[].concat.apply([],(xt||[]).map(rt=>Array.isArray(rt)?rt:[rt]));return function gt(xt,Rt=[]){const ge={};return xt.forEach(Ge=>{ge[Ge.alias]=Ge}),Rt.forEach(Ge=>{ge[Ge.alias]?(0,ie.kt)(ge[Ge.alias],Ge):ge[Ge.alias]=Ge}),function Ke(xt){return xt.forEach(Rt=>{Rt.suffix||(Rt.suffix=function De(xt){return xt.replace(se,"|").split("|").map(de).join("")}(Rt.alias),Rt.overlapping=!!Rt.overlapping)}),xt}(Object.keys(ge).map(Ge=>ge[Ge]))}((Rt.disableDefaultBps?[]:it).concat(Rt.addOrientationBps?J:[]),ge)}});let Et=(()=>{class xt{constructor(ge){this.findByMap=new Map,this.items=[...ge].sort(Xe)}findByAlias(ge){return ge?this.findWithPredicate(ge,Ge=>Ge.alias===ge):null}findByQuery(ge){return this.findWithPredicate(ge,Ge=>Ge.mediaQuery===ge)}get overlappings(){return this.items.filter(ge=>ge.overlapping)}get aliases(){return this.items.map(ge=>ge.alias)}get suffixes(){return this.items.map(ge=>{var Ge;return null!==(Ge=null==ge?void 0:ge.suffix)&&void 0!==Ge?Ge:""})}findWithPredicate(ge,Ge){var rt;let L=this.findByMap.get(ge);return L||(L=null!==(rt=this.items.find(Ge))&&void 0!==rt?rt:null,this.findByMap.set(ge,L)),null!=L?L:null}}return xt.\u0275fac=function(ge){return new(ge||xt)(s.LFG(ze))},xt.\u0275prov=s.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();const Nt="print",$t={alias:Nt,mediaQuery:Nt,priority:1e3};let ln=(()=>{class xt{constructor(ge,Ge,rt){this.breakpoints=ge,this.layoutConfig=Ge,this._document=rt,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new gn,this.deactivations=[]}withPrintQuery(ge){return[...ge,Nt]}isPrintEvent(ge){return ge.mediaQuery.startsWith(Nt)}get printAlias(){var ge;return[...null!==(ge=this.layoutConfig.printWithBreakpoints)&&void 0!==ge?ge:[]]}get printBreakPoints(){return this.printAlias.map(ge=>this.breakpoints.findByAlias(ge)).filter(ge=>null!==ge)}getEventBreakpoints({mediaQuery:ge}){const Ge=this.breakpoints.findByQuery(ge);return(Ge?[...this.printBreakPoints,Ge]:this.printBreakPoints).sort(et)}updateEvent(ge){var Ge;let rt=this.breakpoints.findByQuery(ge.mediaQuery);return this.isPrintEvent(ge)&&(rt=this.getEventBreakpoints(ge)[0],ge.mediaQuery=null!==(Ge=null==rt?void 0:rt.mediaQuery)&&void 0!==Ge?Ge:""),Mt(ge,rt)}registerBeforeAfterPrintHooks(ge){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const Ge=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(ge,this.getEventBreakpoints(new ae(!0,Nt))),ge.updateStyles())},rt=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(ge),ge.updateStyles())};this._document.defaultView.addEventListener("beforeprint",Ge),this._document.defaultView.addEventListener("afterprint",rt),this.beforePrintEventListeners.push(Ge),this.afterPrintEventListeners.push(rt)}interceptEvents(ge){return Ge=>{this.isPrintEvent(Ge)?Ge.matches&&!this.isPrinting?(this.startPrinting(ge,this.getEventBreakpoints(Ge)),ge.updateStyles()):!Ge.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(ge),ge.updateStyles()):this.collectActivations(ge,Ge)}}blockPropagation(){return ge=>!(this.isPrinting||this.isPrintEvent(ge))}startPrinting(ge,Ge){this.isPrinting=!0,this.formerActivations=ge.activatedBreakpoints,ge.activatedBreakpoints=this.queue.addPrintBreakpoints(Ge)}stopPrinting(ge){ge.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(ge,Ge){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!Ge.matches){const rt=this.breakpoints.findByQuery(Ge.mediaQuery);if(rt){const L=this.formerActivations&&this.formerActivations.includes(rt),me=!this.formerActivations&&ge.activatedBreakpoints.includes(rt);(L||me)&&(this.deactivations.push(rt),this.deactivations.sort(et))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(ge=>this._document.defaultView.removeEventListener("beforeprint",ge)),this.afterPrintEventListeners.forEach(ge=>this._document.defaultView.removeEventListener("afterprint",ge)))}}return xt.\u0275fac=function(ge){return new(ge||xt)(s.LFG(Et),s.LFG(Se),s.LFG(i.K0))},xt.\u0275prov=s.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();class gn{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Rt){return Rt.push($t),Rt.sort(et),Rt.forEach(ge=>this.addBreakpoint(ge)),this.printBreakpoints}addBreakpoint(Rt){Rt&&void 0===this.printBreakpoints.find(Ge=>Ge.mediaQuery===Rt.mediaQuery)&&(this.printBreakpoints=function jt(xt){var Rt;return null!==(Rt=null==xt?void 0:xt.mediaQuery.startsWith(Nt))&&void 0!==Rt&&Rt}(Rt)?[Rt,...this.printBreakpoints]:[...this.printBreakpoints,Rt])}clear(){this.printBreakpoints=[]}}let cn=(()=>{class xt{constructor(ge,Ge,rt){this.matchMedia=ge,this.breakpoints=Ge,this.hook=rt,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new Me.x,this.observeActivations()}get activatedAlias(){var ge,Ge;return null!==(Ge=null===(ge=this.activatedBreakpoints[0])||void 0===ge?void 0:ge.alias)&&void 0!==Ge?Ge:""}set activatedBreakpoints(ge){this._activatedBreakpoints=[...ge]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(ge){this._useFallbacks=ge}onMediaChange(ge){const Ge=this.findByQuery(ge.mediaQuery);if(Ge){ge=Mt(ge,Ge);const rt=this.activatedBreakpoints.indexOf(Ge);ge.matches&&-1===rt?(this._activatedBreakpoints.push(Ge),this._activatedBreakpoints.sort(et),this.updateStyles()):!ge.matches&&-1!==rt&&(this._activatedBreakpoints.splice(rt,1),this._activatedBreakpoints.sort(et),this.updateStyles())}}init(ge,Ge,rt,L,me=[]){Qe(this.updateMap,ge,Ge,rt),Qe(this.clearMap,ge,Ge,L),this.buildElementKeyMap(ge,Ge),this.watchExtraTriggers(ge,Ge,me)}getValue(ge,Ge,rt){const L=this.elementMap.get(ge);if(L){const me=void 0!==rt?L.get(rt):this.getActivatedValues(L,Ge);if(me)return me.get(Ge)}}hasValue(ge,Ge){const rt=this.elementMap.get(ge);if(rt){const L=this.getActivatedValues(rt,Ge);if(L)return void 0!==L.get(Ge)||!1}return!1}setValue(ge,Ge,rt,L){var me;let T=this.elementMap.get(ge);if(T){const z=(null!==(me=T.get(L))&&void 0!==me?me:new Map).set(Ge,rt);T.set(L,z),this.elementMap.set(ge,T)}else T=(new Map).set(L,(new Map).set(Ge,rt)),this.elementMap.set(ge,T);const D=this.getValue(ge,Ge);void 0!==D&&this.updateElement(ge,Ge,D)}trackValue(ge,Ge){return this.subject.asObservable().pipe((0,re.h)(rt=>rt.element===ge&&rt.key===Ge))}updateStyles(){this.elementMap.forEach((ge,Ge)=>{const rt=new Set(this.elementKeyMap.get(Ge));let L=this.getActivatedValues(ge);L&&L.forEach((me,T)=>{this.updateElement(Ge,T,me),rt.delete(T)}),rt.forEach(me=>{if(L=this.getActivatedValues(ge,me),L){const T=L.get(me);this.updateElement(Ge,me,T)}else this.clearElement(Ge,me)})})}clearElement(ge,Ge){const rt=this.clearMap.get(ge);if(rt){const L=rt.get(Ge);L&&(L(),this.subject.next({element:ge,key:Ge,value:""}))}}updateElement(ge,Ge,rt){const L=this.updateMap.get(ge);if(L){const me=L.get(Ge);me&&(me(rt),this.subject.next({element:ge,key:Ge,value:rt}))}}releaseElement(ge){const Ge=this.watcherMap.get(ge);Ge&&(Ge.forEach(L=>L.unsubscribe()),this.watcherMap.delete(ge));const rt=this.elementMap.get(ge);rt&&(rt.forEach((L,me)=>rt.delete(me)),this.elementMap.delete(ge))}triggerUpdate(ge,Ge){const rt=this.elementMap.get(ge);if(rt){const L=this.getActivatedValues(rt,Ge);L&&(Ge?this.updateElement(ge,Ge,L.get(Ge)):L.forEach((me,T)=>this.updateElement(ge,T,me)))}}buildElementKeyMap(ge,Ge){let rt=this.elementKeyMap.get(ge);rt||(rt=new Set,this.elementKeyMap.set(ge,rt)),rt.add(Ge)}watchExtraTriggers(ge,Ge,rt){if(rt&&rt.length){let L=this.watcherMap.get(ge);if(L||(L=new Map,this.watcherMap.set(ge,L)),!L.get(Ge)){const T=(0,l.T)(...rt).subscribe(()=>{const D=this.getValue(ge,Ge);this.updateElement(ge,Ge,D)});L.set(Ge,T)}}}findByQuery(ge){return this.breakpoints.findByQuery(ge)}getActivatedValues(ge,Ge){for(let L=0;L<this.activatedBreakpoints.length;L++){const T=ge.get(this.activatedBreakpoints[L].alias);if(T&&(void 0===Ge||T.has(Ge)&&null!=T.get(Ge)))return T}if(!this._useFallbacks)return;const rt=ge.get("");return void 0===Ge||rt&&rt.has(Ge)?rt:void 0}observeActivations(){const ge=this.breakpoints.items.map(Ge=>Ge.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(ge)).pipe((0,ve.b)(this.hook.interceptEvents(this)),(0,re.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return xt.\u0275fac=function(ge){return new(ge||xt)(s.LFG(_e),s.LFG(Et),s.LFG(ln))},xt.\u0275prov=s.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();function Qe(xt,Rt,ge,Ge){var rt;if(void 0!==Ge){const L=null!==(rt=xt.get(Rt))&&void 0!==rt?rt:new Map;L.set(ge,Ge),xt.set(Rt,L)}}let st=(()=>{class xt{constructor(ge,Ge,rt,L){this.elementRef=ge,this.styleBuilder=Ge,this.styler=rt,this.marshal=L,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new Me.x,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(ge){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,ge,this.marshal.activatedAlias)}ngOnChanges(ge){Object.keys(ge).forEach(Ge=>{if(-1!==this.inputs.indexOf(Ge)){const rt=Ge.split(".").slice(1).join(".");this.setValue(ge[Ge].currentValue,rt)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(ge=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),ge)}addStyles(ge,Ge){const rt=this.styleBuilder,L=rt.shouldCache;let me=this.styleCache.get(ge);(!me||!L)&&(me=rt.buildStyles(ge,Ge),L&&this.styleCache.set(ge,me)),this.mru=Object.assign({},me),this.applyStyleToElement(me),rt.sideEffect(ge,me,Ge)}clearStyles(){Object.keys(this.mru).forEach(ge=>{this.mru[ge]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(ge,Ge=!1){if(ge){const[rt,L]=this.styler.getFlowDirection(ge);if(!L&&Ge){const me=(0,ie.Ar)(rt);this.styler.applyStyleToElements(me,[ge])}return rt.trim()}return"row"}hasWrap(ge){return this.styler.hasWrap(ge)}applyStyleToElement(ge,Ge,rt=this.nativeElement){this.styler.applyStyleToElement(rt,ge,Ge)}setValue(ge,Ge){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,ge,Ge)}updateWithValue(ge){this.currentValue!==ge&&(this.addStyles(ge),this.currentValue=ge)}}return xt.\u0275fac=function(ge){return new(ge||xt)(s.Y36(s.SBq),s.Y36(ke),s.Y36(oe),s.Y36(cn))},xt.\u0275dir=s.lG2({type:xt,features:[s.TTD]}),xt})();function kt(xt,Rt="1",ge="1"){let Ge=[Rt,ge,xt],rt=xt.indexOf("calc");if(rt>0){Ge[2]=qt(xt.substring(rt).trim());let L=xt.substr(0,rt).trim().split(" ");2==L.length&&(Ge[0]=L[0],Ge[1]=L[1])}else if(0==rt)Ge[2]=qt(xt.trim());else{let L=xt.split(" ");Ge=3===L.length?L:[Rt,ge,xt]}return Ge}function qt(xt){return xt.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function Lt(xt,Rt){if(void 0===Rt)return xt;const ge=Ge=>{const rt=+Ge.slice(0,-"x".length);return xt.endsWith("x")&&!isNaN(rt)?`${rt*Rt.value}${Rt.unit}`:xt};return xt.includes(" ")?xt.split(" ").map(ge).join(" "):ge(xt)}},3322:(Yt,ut,c)=>{"use strict";c.d(ut,{aT:()=>St,oO:()=>Be});var s=c(5e3),i=c(3270),h=c(9808);c(3191),c(2722),c(2313);let Ce=(()=>{class Y extends i.iR{constructor(_,A,J,se,de,De,Ke){super(_,null,A,J),this.ngClassInstance=Ke,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new h.mk(se,de,_,De)),this.init(),this.setValue("","")}set klass(_){this.ngClassInstance.klass=_,this.setValue(_,"")}updateWithValue(_){this.ngClassInstance.ngClass=_,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return Y.\u0275fac=function(_){return new(_||Y)(s.Y36(s.SBq),s.Y36(i.RK),s.Y36(i.yB),s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.Qsj),s.Y36(h.mk,10))},Y.\u0275dir=s.lG2({type:Y,inputs:{klass:["class","klass"]},features:[s.qOj]}),Y})();const ae=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let Be=(()=>{class Y extends Ce{constructor(){super(...arguments),this.inputs=ae}}return Y.\u0275fac=function(){let B;return function(A){return(B||(B=s.n5z(Y)))(A||Y)}}(),Y.\u0275dir=s.lG2({type:Y,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[s.qOj]}),Y})(),St=(()=>{class Y{}return Y.\u0275fac=function(_){return new(_||Y)},Y.\u0275mod=s.oAB({type:Y}),Y.\u0275inj=s.cJS({imports:[[i.IR]]}),Y})()},7093:(Yt,ut,c)=>{"use strict";c.d(ut,{ae:()=>T,xw:()=>Ne,yH:()=>pt});var s=c(5e3),i=c(226),h=c(3270),u=c(9042),Me=(c(7579),c(2722));let ie=(()=>{class D extends h.QI{buildStyles(P,{display:ue}){const te=(0,u.Ar)(P);return Object.assign(Object.assign({},te),{display:"none"===ue?ue:te.display})}}return D.\u0275fac=function(){let z;return function(ue){return(z||(z=s.n5z(D)))(ue||D)}}(),D.\u0275prov=s.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();const re=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let X=(()=>{class D extends h.iR{constructor(P,ue,te,F,G){super(P,te,ue,F),this._config=G,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(P){var ue;const F=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=null!==(ue=ne.get(F))&&void 0!==ue?ue:new Map,ne.set(F,this.styleCache),this.currentValue!==P&&(this.addStyles(P,{display:F}),this.currentValue=P)}}return D.\u0275fac=function(P){return new(P||D)(s.Y36(s.SBq),s.Y36(h.RK),s.Y36(ie),s.Y36(h.yB),s.Y36(h.WU))},D.\u0275dir=s.lG2({type:D,features:[s.qOj]}),D})(),Ne=(()=>{class D extends X{constructor(){super(...arguments),this.inputs=re}}return D.\u0275fac=function(){let z;return function(ue){return(z||(z=s.n5z(D)))(ue||D)}}(),D.\u0275dir=s.lG2({type:D,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[s.qOj]}),D})();const ne=new Map;let Xe=(()=>{class D extends h.QI{constructor(P){super(),this.layoutConfig=P}buildStyles(P,ue){let[te,F,...G]=P.split(" "),j=G.join(" ");const ye=ue.direction.indexOf("column")>-1?"column":"row",H=(0,u.tj)(ye)?"max-width":"max-height",Ue=(0,u.tj)(ye)?"min-width":"min-height",Je=String(j).indexOf("calc")>-1,It=Je||"auto"===j,Fe=String(j).indexOf("%")>-1&&!Je,Ye=String(j).indexOf("px")>-1||String(j).indexOf("rem")>-1||String(j).indexOf("em")>-1||String(j).indexOf("vw")>-1||String(j).indexOf("vh")>-1;let R=Je||Ye;te="0"==te?0:te,F="0"==F?0:F;const ee=!te&&!F;let pe={};const fe={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(j||""){case"":const ht=!1!==this.layoutConfig.useColumnBasisZero;j="row"===ye?"0%":ht?"0.000000001px":"auto";break;case"initial":case"nogrow":te=0,j="auto";break;case"grow":j="100%";break;case"noshrink":F=0,j="auto";break;case"auto":break;case"none":te=0,F=0,j="auto";break;default:!R&&!Fe&&!isNaN(j)&&(j+="%"),"0%"===j&&(R=!0),"0px"===j&&(j="0%"),pe=(0,u.kt)(fe,Je?{"flex-grow":te,"flex-shrink":F,"flex-basis":R?j:"100%"}:{flex:`${te} ${F} ${R?j:"100%"}`})}return pe.flex||pe["flex-grow"]||(pe=(0,u.kt)(fe,Je?{"flex-grow":te,"flex-shrink":F,"flex-basis":j}:{flex:`${te} ${F} ${j}`})),"0%"!==j&&"0px"!==j&&"0.000000001px"!==j&&"auto"!==j&&(pe[Ue]=ee||R&&te?j:null,pe[H]=ee||!It&&F?j:null),pe[Ue]||pe[H]?ue.hasWrap&&(pe[Je?"flex-basis":"flex"]=pe[H]?Je?pe[H]:`${te} ${F} ${pe[H]}`:Je?pe[Ue]:`${te} ${F} ${pe[Ue]}`):pe=(0,u.kt)(fe,Je?{"flex-grow":te,"flex-shrink":F,"flex-basis":j}:{flex:`${te} ${F} ${j}`}),(0,u.kt)(pe,{"box-sizing":"border-box"})}}return D.\u0275fac=function(P){return new(P||D)(s.LFG(h.WU))},D.\u0275prov=s.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})();const _e=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let je=(()=>{class D extends h.iR{constructor(P,ue,te,F,G){super(P,F,ue,G),this.layoutConfig=te,this.marshal=G,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(P){this.flexShrink=P||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(P){this.flexGrow=P||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,Me.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,Me.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(P){const te=P.value.split(" ");this.direction=te[0],this.wrap=void 0!==te[1]&&"wrap"===te[1],this.triggerUpdate()}updateWithValue(P){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const te=this.direction,F=te.startsWith("row"),G=this.wrap;F&&G?this.styleCache=Ct:F&&!G?this.styleCache=it:!F&&G?this.styleCache=St:!F&&!G&&(this.styleCache=ft);const j=String(P).replace(";",""),ye=(0,h.Ot)(j,this.flexGrow,this.flexShrink);this.addStyles(ye.join(" "),{direction:te,hasWrap:G})}triggerReflow(){const P=this.activatedValue;if(void 0!==P){const ue=(0,h.Ot)(P+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,ue.join(" "))}}}return D.\u0275fac=function(P){return new(P||D)(s.Y36(s.SBq),s.Y36(h.RK),s.Y36(h.WU),s.Y36(Xe),s.Y36(h.yB))},D.\u0275dir=s.lG2({type:D,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[s.qOj]}),D})(),pt=(()=>{class D extends je{constructor(){super(...arguments),this.inputs=_e}}return D.\u0275fac=function(){let z;return function(ue){return(z||(z=s.n5z(D)))(ue||D)}}(),D.\u0275dir=s.lG2({type:D,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[s.qOj]}),D})();const it=new Map,ft=new Map,Ct=new Map,St=new Map;let T=(()=>{class D{}return D.\u0275fac=function(P){return new(P||D)},D.\u0275mod=s.oAB({type:D}),D.\u0275inj=s.cJS({imports:[[h.IR,i.vT]]}),D})()},2155:(Yt,ut,c)=>{"use strict";c.d(ut,{o9:()=>Un});var s=c(5e3),i=c(3270),h=c(3322),u=c(7093);c(3191);let fn=(()=>{class at{}return at.\u0275fac=function(Ze){return new(Ze||at)},at.\u0275mod=s.oAB({type:at}),at.\u0275inj=s.cJS({imports:[[i.IR]]}),at})();var yn=c(9808);let Un=(()=>{class at{constructor(Ze,m){(0,yn.PM)(m)&&!Ze&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(Ze,m=[]){return{ngModule:at,providers:Ze.serverLoaded?[{provide:i.WU,useValue:Object.assign(Object.assign({},i.g5),Ze)},{provide:i.Bs,useValue:m,multi:!0},{provide:i.wY,useValue:!0}]:[{provide:i.WU,useValue:Object.assign(Object.assign({},i.g5),Ze)},{provide:i.Bs,useValue:m,multi:!0}]}}}return at.\u0275fac=function(Ze){return new(Ze||at)(s.LFG(i.wY),s.LFG(s.Lbi))},at.\u0275mod=s.oAB({type:at}),at.\u0275inj=s.cJS({imports:[[u.ae,h.aT,fn],u.ae,h.aT,fn]}),at})()},3075:(Yt,ut,c)=>{"use strict";c.d(ut,{CE:()=>Ds,Cf:()=>Se,F:()=>Pn,Fj:()=>ae,JJ:()=>jt,JL:()=>cn,JU:()=>re,NI:()=>Ei,UX:()=>Wn,Zs:()=>Ks,_Y:()=>ns,a5:()=>Et,gN:()=>Nt,kI:()=>Mt,qu:()=>os,sg:()=>Yi,u:()=>ps,u5:()=>Rn,wV:()=>Ve,x0:()=>hs});var s=c(5e3),i=c(9808),h=c(2076),u=c(4128),l=c(4004);let Me=(()=>{class U{constructor(x,Oe){this._renderer=x,this._elementRef=Oe,this.onChange=Gt=>{},this.onTouched=()=>{}}setProperty(x,Oe){this._renderer.setProperty(this._elementRef.nativeElement,x,Oe)}registerOnTouched(x){this.onTouched=x}registerOnChange(x){this.onChange=x}setDisabledState(x){this.setProperty("disabled",x)}}return U.\u0275fac=function(x){return new(x||U)(s.Y36(s.Qsj),s.Y36(s.SBq))},U.\u0275dir=s.lG2({type:U}),U})(),ie=(()=>{class U extends Me{}return U.\u0275fac=function(){let M;return function(Oe){return(M||(M=s.n5z(U)))(Oe||U)}}(),U.\u0275dir=s.lG2({type:U,features:[s.qOj]}),U})();const re=new s.OlP("NgValueAccessor"),Ne={provide:re,useExisting:(0,s.Gpc)(()=>ae),multi:!0},Ce=new s.OlP("CompositionEventMode");let ae=(()=>{class U extends Me{constructor(x,Oe,Gt){super(x,Oe),this._compositionMode=Gt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ne(){const U=(0,i.q)()?(0,i.q)().getUserAgent():"";return/android (\d+)/.test(U.toLowerCase())}())}writeValue(x){this.setProperty("value",null==x?"":x)}_handleInput(x){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(x)}_compositionStart(){this._composing=!0}_compositionEnd(x){this._composing=!1,this._compositionMode&&this.onChange(x)}}return U.\u0275fac=function(x){return new(x||U)(s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(Ce,8))},U.\u0275dir=s.lG2({type:U,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(x,Oe){1&x&&s.NdJ("input",function(on){return Oe._handleInput(on.target.value)})("blur",function(){return Oe.onTouched()})("compositionstart",function(){return Oe._compositionStart()})("compositionend",function(on){return Oe._compositionEnd(on.target.value)})},features:[s._Bn([Ne]),s.qOj]}),U})();function Ae(U){return null==U||("string"==typeof U||Array.isArray(U))&&0===U.length}function Be(U){return null!=U&&"number"==typeof U.length}const Se=new s.OlP("NgValidators"),mt=new s.OlP("NgAsyncValidators"),bt=/^(?=.{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 Mt{static min(M){return function ke(U){return M=>{if(Ae(M.value)||Ae(U))return null;const x=parseFloat(M.value);return!isNaN(x)&&x<U?{min:{min:U,actual:M.value}}:null}}(M)}static max(M){return function oe(U){return M=>{if(Ae(M.value)||Ae(U))return null;const x=parseFloat(M.value);return!isNaN(x)&&x>U?{max:{max:U,actual:M.value}}:null}}(M)}static required(M){return he(M)}static requiredTrue(M){return le(M)}static email(M){return function We(U){return Ae(U.value)||bt.test(U.value)?null:{email:!0}}(M)}static minLength(M){return function we(U){return M=>Ae(M.value)||!Be(M.value)?null:M.value.length<U?{minlength:{requiredLength:U,actualLength:M.value.length}}:null}(M)}static maxLength(M){return function et(U){return M=>Be(M.value)&&M.value.length>U?{maxlength:{requiredLength:U,actualLength:M.value.length}}:null}(M)}static pattern(M){return function Xe(U){if(!U)return _e;let M,x;return"string"==typeof U?(x="","^"!==U.charAt(0)&&(x+="^"),x+=U,"$"!==U.charAt(U.length-1)&&(x+="$"),M=new RegExp(x)):(x=U.toString(),M=U),Oe=>{if(Ae(Oe.value))return null;const Gt=Oe.value;return M.test(Gt)?null:{pattern:{requiredPattern:x,actualValue:Gt}}}}(M)}static nullValidator(M){return null}static compose(M){return St(M)}static composeAsync(M){return B(M)}}function he(U){return Ae(U.value)?{required:!0}:null}function le(U){return!0===U.value?null:{required:!0}}function _e(U){return null}function lt(U){return null!=U}function je(U){const M=(0,s.QGY)(U)?(0,h.D)(U):U;return(0,s.CqO)(M),M}function pt(U){let M={};return U.forEach(x=>{M=null!=x?Object.assign(Object.assign({},M),x):M}),0===Object.keys(M).length?null:M}function it(U,M){return M.map(x=>x(U))}function Ct(U){return U.map(M=>function ft(U){return!U.validate}(M)?M:x=>M.validate(x))}function St(U){if(!U)return null;const M=U.filter(lt);return 0==M.length?null:function(x){return pt(it(x,M))}}function Y(U){return null!=U?St(Ct(U)):null}function B(U){if(!U)return null;const M=U.filter(lt);return 0==M.length?null:function(x){const Oe=it(x,M).map(je);return(0,u.D)(Oe).pipe((0,l.U)(pt))}}function _(U){return null!=U?B(Ct(U)):null}function A(U,M){return null===U?[M]:Array.isArray(U)?[...U,M]:[U,M]}function J(U){return U._rawValidators}function se(U){return U._rawAsyncValidators}function de(U){return U?Array.isArray(U)?U:[U]:[]}function De(U,M){return Array.isArray(U)?U.includes(M):U===M}function Ke(U,M){const x=de(M);return de(U).forEach(Gt=>{De(x,Gt)||x.push(Gt)}),x}function gt(U,M){return de(M).filter(x=>!De(U,x))}class ze{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(M){this._rawValidators=M||[],this._composedValidatorFn=Y(this._rawValidators)}_setAsyncValidators(M){this._rawAsyncValidators=M||[],this._composedAsyncValidatorFn=_(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(M){this._onDestroyCallbacks.push(M)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(M=>M()),this._onDestroyCallbacks=[]}reset(M){this.control&&this.control.reset(M)}hasError(M,x){return!!this.control&&this.control.hasError(M,x)}getError(M,x){return this.control?this.control.getError(M,x):null}}class Et extends ze{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Nt extends ze{get formDirective(){return null}get path(){return null}}class $t{constructor(M){this._cd=M}get isTouched(){var M,x;return!(null===(x=null===(M=this._cd)||void 0===M?void 0:M.control)||void 0===x||!x.touched)}get isUntouched(){var M,x;return!(null===(x=null===(M=this._cd)||void 0===M?void 0:M.control)||void 0===x||!x.untouched)}get isPristine(){var M,x;return!(null===(x=null===(M=this._cd)||void 0===M?void 0:M.control)||void 0===x||!x.pristine)}get isDirty(){var M,x;return!(null===(x=null===(M=this._cd)||void 0===M?void 0:M.control)||void 0===x||!x.dirty)}get isValid(){var M,x;return!(null===(x=null===(M=this._cd)||void 0===M?void 0:M.control)||void 0===x||!x.valid)}get isInvalid(){var M,x;return!(null===(x=null===(M=this._cd)||void 0===M?void 0:M.control)||void 0===x||!x.invalid)}get isPending(){var M,x;return!(null===(x=null===(M=this._cd)||void 0===M?void 0:M.control)||void 0===x||!x.pending)}get isSubmitted(){var M;return!(null===(M=this._cd)||void 0===M||!M.submitted)}}let jt=(()=>{class U extends $t{constructor(x){super(x)}}return U.\u0275fac=function(x){return new(x||U)(s.Y36(Et,2))},U.\u0275dir=s.lG2({type:U,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(x,Oe){2&x&&s.ekj("ng-untouched",Oe.isUntouched)("ng-touched",Oe.isTouched)("ng-pristine",Oe.isPristine)("ng-dirty",Oe.isDirty)("ng-valid",Oe.isValid)("ng-invalid",Oe.isInvalid)("ng-pending",Oe.isPending)},features:[s.qOj]}),U})(),cn=(()=>{class U extends $t{constructor(x){super(x)}}return U.\u0275fac=function(x){return new(x||U)(s.Y36(Nt,10))},U.\u0275dir=s.lG2({type:U,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(x,Oe){2&x&&s.ekj("ng-untouched",Oe.isUntouched)("ng-touched",Oe.isTouched)("ng-pristine",Oe.isPristine)("ng-dirty",Oe.isDirty)("ng-valid",Oe.isValid)("ng-invalid",Oe.isInvalid)("ng-pending",Oe.isPending)("ng-submitted",Oe.isSubmitted)},features:[s.qOj]}),U})();const rt="VALID",L="INVALID",me="PENDING",T="DISABLED";function D(U){return(te(U)?U.validators:U)||null}function z(U){return Array.isArray(U)?Y(U):U||null}function P(U,M){return(te(M)?M.asyncValidators:U)||null}function ue(U){return Array.isArray(U)?_(U):U||null}function te(U){return null!=U&&!Array.isArray(U)&&"object"==typeof U}function F(U,M,x){const Oe=U.controls;if(!(M?Object.keys(Oe):Oe).length)throw new s.vHH(1e3,"");if(!Oe[x])throw new s.vHH(1001,"")}function G(U,M,x){U._forEachChild((Oe,Gt)=>{if(void 0===x[Gt])throw new s.vHH(1002,"")})}class j{constructor(M,x){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=M,this._rawAsyncValidators=x,this._composedValidatorFn=z(this._rawValidators),this._composedAsyncValidatorFn=ue(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(M){this._rawValidators=this._composedValidatorFn=M}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(M){this._rawAsyncValidators=this._composedAsyncValidatorFn=M}get parent(){return this._parent}get valid(){return this.status===rt}get invalid(){return this.status===L}get pending(){return this.status==me}get disabled(){return this.status===T}get enabled(){return this.status!==T}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(M){this._rawValidators=M,this._composedValidatorFn=z(M)}setAsyncValidators(M){this._rawAsyncValidators=M,this._composedAsyncValidatorFn=ue(M)}addValidators(M){this.setValidators(Ke(M,this._rawValidators))}addAsyncValidators(M){this.setAsyncValidators(Ke(M,this._rawAsyncValidators))}removeValidators(M){this.setValidators(gt(M,this._rawValidators))}removeAsyncValidators(M){this.setAsyncValidators(gt(M,this._rawAsyncValidators))}hasValidator(M){return De(this._rawValidators,M)}hasAsyncValidator(M){return De(this._rawAsyncValidators,M)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(M={}){this.touched=!0,this._parent&&!M.onlySelf&&this._parent.markAsTouched(M)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(M=>M.markAllAsTouched())}markAsUntouched(M={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(x=>{x.markAsUntouched({onlySelf:!0})}),this._parent&&!M.onlySelf&&this._parent._updateTouched(M)}markAsDirty(M={}){this.pristine=!1,this._parent&&!M.onlySelf&&this._parent.markAsDirty(M)}markAsPristine(M={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(x=>{x.markAsPristine({onlySelf:!0})}),this._parent&&!M.onlySelf&&this._parent._updatePristine(M)}markAsPending(M={}){this.status=me,!1!==M.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!M.onlySelf&&this._parent.markAsPending(M)}disable(M={}){const x=this._parentMarkedDirty(M.onlySelf);this.status=T,this.errors=null,this._forEachChild(Oe=>{Oe.disable(Object.assign(Object.assign({},M),{onlySelf:!0}))}),this._updateValue(),!1!==M.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},M),{skipPristineCheck:x})),this._onDisabledChange.forEach(Oe=>Oe(!0))}enable(M={}){const x=this._parentMarkedDirty(M.onlySelf);this.status=rt,this._forEachChild(Oe=>{Oe.enable(Object.assign(Object.assign({},M),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},M),{skipPristineCheck:x})),this._onDisabledChange.forEach(Oe=>Oe(!1))}_updateAncestors(M){this._parent&&!M.onlySelf&&(this._parent.updateValueAndValidity(M),M.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(M){this._parent=M}getRawValue(){return this.value}updateValueAndValidity(M={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rt||this.status===me)&&this._runAsyncValidator(M.emitEvent)),!1!==M.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!M.onlySelf&&this._parent.updateValueAndValidity(M)}_updateTreeValidity(M={emitEvent:!0}){this._forEachChild(x=>x._updateTreeValidity(M)),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?T:rt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(M){if(this.asyncValidator){this.status=me,this._hasOwnPendingAsyncValidator=!0;const x=je(this.asyncValidator(this));this._asyncValidationSubscription=x.subscribe(Oe=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Oe,{emitEvent:M})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(M,x={}){this.errors=M,this._updateControlsErrors(!1!==x.emitEvent)}get(M){let x=M;return null==x||(Array.isArray(x)||(x=x.split(".")),0===x.length)?null:x.reduce((Oe,Gt)=>Oe&&Oe._find(Gt),this)}getError(M,x){const Oe=x?this.get(x):this;return Oe&&Oe.errors?Oe.errors[M]:null}hasError(M,x){return!!this.getError(M,x)}get root(){let M=this;for(;M._parent;)M=M._parent;return M}_updateControlsErrors(M){this.status=this._calculateStatus(),M&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(M)}_initObservables(){this.valueChanges=new s.vpe,this.statusChanges=new s.vpe}_calculateStatus(){return this._allControlsDisabled()?T:this.errors?L:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(me)?me:this._anyControlsHaveStatus(L)?L:rt}_anyControlsHaveStatus(M){return this._anyControls(x=>x.status===M)}_anyControlsDirty(){return this._anyControls(M=>M.dirty)}_anyControlsTouched(){return this._anyControls(M=>M.touched)}_updatePristine(M={}){this.pristine=!this._anyControlsDirty(),this._parent&&!M.onlySelf&&this._parent._updatePristine(M)}_updateTouched(M={}){this.touched=this._anyControlsTouched(),this._parent&&!M.onlySelf&&this._parent._updateTouched(M)}_registerOnCollectionChange(M){this._onCollectionChange=M}_setUpdateStrategy(M){te(M)&&null!=M.updateOn&&(this._updateOn=M.updateOn)}_parentMarkedDirty(M){return!M&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(M){return null}}class ye extends j{constructor(M,x,Oe){super(D(x),P(Oe,x)),this.controls=M,this._initObservables(),this._setUpdateStrategy(x),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(M,x){return this.controls[M]?this.controls[M]:(this.controls[M]=x,x.setParent(this),x._registerOnCollectionChange(this._onCollectionChange),x)}addControl(M,x,Oe={}){this.registerControl(M,x),this.updateValueAndValidity({emitEvent:Oe.emitEvent}),this._onCollectionChange()}removeControl(M,x={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),delete this.controls[M],this.updateValueAndValidity({emitEvent:x.emitEvent}),this._onCollectionChange()}setControl(M,x,Oe={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),delete this.controls[M],x&&this.registerControl(M,x),this.updateValueAndValidity({emitEvent:Oe.emitEvent}),this._onCollectionChange()}contains(M){return this.controls.hasOwnProperty(M)&&this.controls[M].enabled}setValue(M,x={}){G(this,0,M),Object.keys(M).forEach(Oe=>{F(this,!0,Oe),this.controls[Oe].setValue(M[Oe],{onlySelf:!0,emitEvent:x.emitEvent})}),this.updateValueAndValidity(x)}patchValue(M,x={}){null!=M&&(Object.keys(M).forEach(Oe=>{const Gt=this.controls[Oe];Gt&&Gt.patchValue(M[Oe],{onlySelf:!0,emitEvent:x.emitEvent})}),this.updateValueAndValidity(x))}reset(M={},x={}){this._forEachChild((Oe,Gt)=>{Oe.reset(M[Gt],{onlySelf:!0,emitEvent:x.emitEvent})}),this._updatePristine(x),this._updateTouched(x),this.updateValueAndValidity(x)}getRawValue(){return this._reduceChildren({},(M,x,Oe)=>(M[Oe]=x.getRawValue(),M))}_syncPendingControls(){let M=this._reduceChildren(!1,(x,Oe)=>!!Oe._syncPendingControls()||x);return M&&this.updateValueAndValidity({onlySelf:!0}),M}_forEachChild(M){Object.keys(this.controls).forEach(x=>{const Oe=this.controls[x];Oe&&M(Oe,x)})}_setUpControls(){this._forEachChild(M=>{M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(M){for(const[x,Oe]of Object.entries(this.controls))if(this.contains(x)&&M(Oe))return!0;return!1}_reduceValue(){return this._reduceChildren({},(x,Oe,Gt)=>((Oe.enabled||this.disabled)&&(x[Gt]=Oe.value),x))}_reduceChildren(M,x){let Oe=M;return this._forEachChild((Gt,on)=>{Oe=x(Oe,Gt,on)}),Oe}_allControlsDisabled(){for(const M of Object.keys(this.controls))if(this.controls[M].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(M){return this.controls.hasOwnProperty(M)?this.controls[M]:null}}function Fe(U,M){return[...M.path,U]}function Ye(U,M){var x,Oe;fe(U,M),M.valueAccessor.writeValue(U.value),U.disabled&&(null===(Oe=(x=M.valueAccessor).setDisabledState)||void 0===Oe||Oe.call(x,!0)),function Pt(U,M){M.valueAccessor.registerOnChange(x=>{U._pendingValue=x,U._pendingChange=!0,U._pendingDirty=!0,"change"===U.updateOn&&tn(U,M)})}(U,M),function fn(U,M){const x=(Oe,Gt)=>{M.valueAccessor.writeValue(Oe),Gt&&M.viewToModelUpdate(Oe)};U.registerOnChange(x),M._registerOnDestroy(()=>{U._unregisterOnChange(x)})}(U,M),function Ut(U,M){M.valueAccessor.registerOnTouched(()=>{U._pendingTouched=!0,"blur"===U.updateOn&&U._pendingChange&&tn(U,M),"submit"!==U.updateOn&&U.markAsTouched()})}(U,M),function pe(U,M){if(M.valueAccessor.setDisabledState){const x=Oe=>{M.valueAccessor.setDisabledState(Oe)};U.registerOnDisabledChange(x),M._registerOnDestroy(()=>{U._unregisterOnDisabledChange(x)})}}(U,M)}function R(U,M,x=!0){const Oe=()=>{};M.valueAccessor&&(M.valueAccessor.registerOnChange(Oe),M.valueAccessor.registerOnTouched(Oe)),ht(U,M),U&&(M._invokeOnDestroyCallbacks(),U._registerOnCollectionChange(()=>{}))}function ee(U,M){U.forEach(x=>{x.registerOnValidatorChange&&x.registerOnValidatorChange(M)})}function fe(U,M){const x=J(U);null!==M.validator?U.setValidators(A(x,M.validator)):"function"==typeof x&&U.setValidators([x]);const Oe=se(U);null!==M.asyncValidator?U.setAsyncValidators(A(Oe,M.asyncValidator)):"function"==typeof Oe&&U.setAsyncValidators([Oe]);const Gt=()=>U.updateValueAndValidity();ee(M._rawValidators,Gt),ee(M._rawAsyncValidators,Gt)}function ht(U,M){let x=!1;if(null!==U){if(null!==M.validator){const Gt=J(U);if(Array.isArray(Gt)&&Gt.length>0){const on=Gt.filter(di=>di!==M.validator);on.length!==Gt.length&&(x=!0,U.setValidators(on))}}if(null!==M.asyncValidator){const Gt=se(U);if(Array.isArray(Gt)&&Gt.length>0){const on=Gt.filter(di=>di!==M.asyncValidator);on.length!==Gt.length&&(x=!0,U.setAsyncValidators(on))}}}const Oe=()=>{};return ee(M._rawValidators,Oe),ee(M._rawAsyncValidators,Oe),x}function tn(U,M){U._pendingDirty&&U.markAsDirty(),U.setValue(U._pendingValue,{emitModelToViewChange:!1}),M.viewToModelUpdate(U._pendingValue),U._pendingChange=!1}function yn(U,M){fe(U,M)}function Ie(U,M){U._syncPendingControls(),M.forEach(x=>{const Oe=x.control;"submit"===Oe.updateOn&&Oe._pendingChange&&(x.viewToModelUpdate(Oe._pendingValue),Oe._pendingChange=!1)})}const Nn={provide:Nt,useExisting:(0,s.Gpc)(()=>Pn)},Ln=(()=>Promise.resolve(null))();let Pn=(()=>{class U extends Nt{constructor(x,Oe){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new s.vpe,this.form=new ye({},Y(x),_(Oe))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(x){Ln.then(()=>{const Oe=this._findContainer(x.path);x.control=Oe.registerControl(x.name,x.control),Ye(x.control,x),x.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(x)})}getControl(x){return this.form.get(x.path)}removeControl(x){Ln.then(()=>{const Oe=this._findContainer(x.path);Oe&&Oe.removeControl(x.name),this._directives.delete(x)})}addFormGroup(x){Ln.then(()=>{const Oe=this._findContainer(x.path),Gt=new ye({});yn(Gt,x),Oe.registerControl(x.name,Gt),Gt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(x){Ln.then(()=>{const Oe=this._findContainer(x.path);Oe&&Oe.removeControl(x.name)})}getFormGroup(x){return this.form.get(x.path)}updateModel(x,Oe){Ln.then(()=>{this.form.get(x.path).setValue(Oe)})}setValue(x){this.control.setValue(x)}onSubmit(x){return this.submitted=!0,Ie(this.form,this._directives),this.ngSubmit.emit(x),!1}onReset(){this.resetForm()}resetForm(x){this.form.reset(x),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(x){return x.pop(),x.length?this.form.get(x):this.form}}return U.\u0275fac=function(x){return new(x||U)(s.Y36(Se,10),s.Y36(mt,10))},U.\u0275dir=s.lG2({type:U,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(x,Oe){1&x&&s.NdJ("submit",function(on){return Oe.onSubmit(on)})("reset",function(){return Oe.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([Nn]),s.qOj]}),U})();function qn(U,M){const x=U.indexOf(M);x>-1&&U.splice(x,1)}function ai(U){return"object"==typeof U&&null!==U&&2===Object.keys(U).length&&"value"in U&&"disabled"in U}const Ei=class extends j{constructor(M=null,x,Oe){super(D(x),P(Oe,x)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(M),this._setUpdateStrategy(x),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),te(x)&&(x.nonNullable||x.initialValueIsDefault)&&(this.defaultValue=ai(M)?M.value:M)}setValue(M,x={}){this.value=this._pendingValue=M,this._onChange.length&&!1!==x.emitModelToViewChange&&this._onChange.forEach(Oe=>Oe(this.value,!1!==x.emitViewToModelChange)),this.updateValueAndValidity(x)}patchValue(M,x={}){this.setValue(M,x)}reset(M=this.defaultValue,x={}){this._applyFormState(M),this.markAsPristine(x),this.markAsUntouched(x),this.setValue(this.value,x),this._pendingChange=!1}_updateValue(){}_anyControls(M){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(M){this._onChange.push(M)}_unregisterOnChange(M){qn(this._onChange,M)}registerOnDisabledChange(M){this._onDisabledChange.push(M)}_unregisterOnDisabledChange(M){qn(this._onDisabledChange,M)}_forEachChild(M){}_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(M){ai(M)?(this.value=this._pendingValue=M.value,M.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=M}};let Si=(()=>{class U extends Nt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Fe(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return U.\u0275fac=function(){let M;return function(Oe){return(M||(M=s.n5z(U)))(Oe||U)}}(),U.\u0275dir=s.lG2({type:U,features:[s.qOj]}),U})(),ns=(()=>{class U{}return U.\u0275fac=function(x){return new(x||U)},U.\u0275dir=s.lG2({type:U,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),U})();const ji={provide:re,useExisting:(0,s.Gpc)(()=>Ve),multi:!0};let Ve=(()=>{class U extends ie{writeValue(x){this.setProperty("value",null==x?"":x)}registerOnChange(x){this.onChange=Oe=>{x(""==Oe?null:parseFloat(Oe))}}}return U.\u0275fac=function(){let M;return function(Oe){return(M||(M=s.n5z(U)))(Oe||U)}}(),U.\u0275dir=s.lG2({type:U,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(x,Oe){1&x&&s.NdJ("input",function(on){return Oe.onChange(on.target.value)})("blur",function(){return Oe.onTouched()})},features:[s._Bn([ji]),s.qOj]}),U})(),Ht=(()=>{class U{}return U.\u0275fac=function(x){return new(x||U)},U.\u0275mod=s.oAB({type:U}),U.\u0275inj=s.cJS({}),U})();const ci=new s.OlP("NgModelWithFormControlWarning"),js={provide:Nt,useExisting:(0,s.Gpc)(()=>Yi)};let Yi=(()=>{class U extends Nt{constructor(x,Oe){super(),this.validators=x,this.asyncValidators=Oe,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new s.vpe,this._setValidators(x),this._setAsyncValidators(Oe)}ngOnChanges(x){this._checkFormPresent(),x.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ht(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(x){const Oe=this.form.get(x.path);return Ye(Oe,x),Oe.updateValueAndValidity({emitEvent:!1}),this.directives.push(x),Oe}getControl(x){return this.form.get(x.path)}removeControl(x){R(x.control||null,x,!1),function Xt(U,M){const x=U.indexOf(M);x>-1&&U.splice(x,1)}(this.directives,x)}addFormGroup(x){this._setUpFormContainer(x)}removeFormGroup(x){this._cleanUpFormContainer(x)}getFormGroup(x){return this.form.get(x.path)}addFormArray(x){this._setUpFormContainer(x)}removeFormArray(x){this._cleanUpFormContainer(x)}getFormArray(x){return this.form.get(x.path)}updateModel(x,Oe){this.form.get(x.path).setValue(Oe)}onSubmit(x){return this.submitted=!0,Ie(this.form,this.directives),this.ngSubmit.emit(x),!1}onReset(){this.resetForm()}resetForm(x){this.form.reset(x),this.submitted=!1}_updateDomValue(){this.directives.forEach(x=>{const Oe=x.control,Gt=this.form.get(x.path);Oe!==Gt&&(R(Oe||null,x),(U=>U instanceof Ei)(Gt)&&(Ye(Gt,x),x.control=Gt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(x){const Oe=this.form.get(x.path);yn(Oe,x),Oe.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(x){if(this.form){const Oe=this.form.get(x.path);Oe&&function Gn(U,M){return ht(U,M)}(Oe,x)&&Oe.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){fe(this.form,this),this._oldForm&&ht(this._oldForm,this)}_checkFormPresent(){}}return U.\u0275fac=function(x){return new(x||U)(s.Y36(Se,10),s.Y36(mt,10))},U.\u0275dir=s.lG2({type:U,selectors:[["","formGroup",""]],hostBindings:function(x,Oe){1&x&&s.NdJ("submit",function(on){return Oe.onSubmit(on)})("reset",function(){return Oe.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([js]),s.qOj,s.TTD]}),U})();const Cs={provide:Nt,useExisting:(0,s.Gpc)(()=>hs)};let hs=(()=>{class U extends Si{constructor(x,Oe,Gt){super(),this._parent=x,this._setValidators(Oe),this._setAsyncValidators(Gt)}_checkParentType(){Vn(this._parent)}}return U.\u0275fac=function(x){return new(x||U)(s.Y36(Nt,13),s.Y36(Se,10),s.Y36(mt,10))},U.\u0275dir=s.lG2({type:U,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[s._Bn([Cs]),s.qOj]}),U})();const Or={provide:Nt,useExisting:(0,s.Gpc)(()=>Ds)};let Ds=(()=>{class U extends Nt{constructor(x,Oe,Gt){super(),this._parent=x,this._setValidators(Oe),this._setAsyncValidators(Gt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Fe(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Vn(this._parent)}}return U.\u0275fac=function(x){return new(x||U)(s.Y36(Nt,13),s.Y36(Se,10),s.Y36(mt,10))},U.\u0275dir=s.lG2({type:U,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[s._Bn([Or]),s.qOj]}),U})();function Vn(U){return!(U instanceof hs||U instanceof Yi||U instanceof Ds)}const Pi={provide:Et,useExisting:(0,s.Gpc)(()=>ps)};let ps=(()=>{class U extends Et{constructor(x,Oe,Gt,on,di){super(),this._ngModelWarningConfig=di,this._added=!1,this.update=new s.vpe,this._ngModelWarningSent=!1,this._parent=x,this._setValidators(Oe),this._setAsyncValidators(Gt),this.valueAccessor=function ct(U,M){if(!M)return null;let x,Oe,Gt;return Array.isArray(M),M.forEach(on=>{on.constructor===ae?x=on:function I(U){return Object.getPrototypeOf(U.constructor)===ie}(on)?Oe=on:Gt=on}),Gt||Oe||x||null}(0,on)}set isDisabled(x){}ngOnChanges(x){this._added||this._setUpControl(),function m(U,M){if(!U.hasOwnProperty("model"))return!1;const x=U.model;return!!x.isFirstChange()||!Object.is(M,x.currentValue)}(x,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(x){this.viewModel=x,this.update.emit(x)}get path(){return Fe(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 U._ngModelWarningSentOnce=!1,U.\u0275fac=function(x){return new(x||U)(s.Y36(Nt,13),s.Y36(Se,10),s.Y36(mt,10),s.Y36(re,10),s.Y36(ci,8))},U.\u0275dir=s.lG2({type:U,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[s._Bn([Pi]),s.qOj,s.TTD]}),U})(),ri=(()=>{class U{constructor(){this._validator=_e}ngOnChanges(x){if(this.inputName in x){const Oe=this.normalizeInput(x[this.inputName].currentValue);this._enabled=this.enabled(Oe),this._validator=this._enabled?this.createValidator(Oe):_e,this._onChange&&this._onChange()}}validate(x){return this._validator(x)}registerOnValidatorChange(x){this._onChange=x}enabled(x){return null!=x}}return U.\u0275fac=function(x){return new(x||U)},U.\u0275dir=s.lG2({type:U,features:[s.TTD]}),U})();const qi={provide:Se,useExisting:(0,s.Gpc)(()=>Gi),multi:!0},$n={provide:Se,useExisting:(0,s.Gpc)(()=>Ks),multi:!0};let Gi=(()=>{class U extends ri{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=s.D6c,this.createValidator=x=>he}enabled(x){return x}}return U.\u0275fac=function(){let M;return function(Oe){return(M||(M=s.n5z(U)))(Oe||U)}}(),U.\u0275dir=s.lG2({type:U,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(x,Oe){2&x&&s.uIk("required",Oe._enabled?"":null)},inputs:{required:"required"},features:[s._Bn([qi]),s.qOj]}),U})(),Ks=(()=>{class U extends Gi{constructor(){super(...arguments),this.createValidator=x=>le}}return U.\u0275fac=function(){let M;return function(Oe){return(M||(M=s.n5z(U)))(Oe||U)}}(),U.\u0275dir=s.lG2({type:U,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(x,Oe){2&x&&s.uIk("required",Oe._enabled?"":null)},features:[s._Bn([$n]),s.qOj]}),U})(),ni=(()=>{class U{}return U.\u0275fac=function(x){return new(x||U)},U.\u0275mod=s.oAB({type:U}),U.\u0275inj=s.cJS({imports:[Ht]}),U})(),Rn=(()=>{class U{}return U.\u0275fac=function(x){return new(x||U)},U.\u0275mod=s.oAB({type:U}),U.\u0275inj=s.cJS({imports:[ni]}),U})(),Wn=(()=>{class U{static withConfig(x){return{ngModule:U,providers:[{provide:ci,useValue:x.warnOnNgModelWithFormControl}]}}}return U.\u0275fac=function(x){return new(x||U)},U.\u0275mod=s.oAB({type:U}),U.\u0275inj=s.cJS({imports:[ni]}),U})();class Zn extends j{constructor(M,x,Oe){super(D(x),P(Oe,x)),this.controls=M,this._initObservables(),this._setUpdateStrategy(x),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(M){return this.controls[this._adjustIndex(M)]}push(M,x={}){this.controls.push(M),this._registerControl(M),this.updateValueAndValidity({emitEvent:x.emitEvent}),this._onCollectionChange()}insert(M,x,Oe={}){this.controls.splice(M,0,x),this._registerControl(x),this.updateValueAndValidity({emitEvent:Oe.emitEvent})}removeAt(M,x={}){let Oe=this._adjustIndex(M);Oe<0&&(Oe=0),this.controls[Oe]&&this.controls[Oe]._registerOnCollectionChange(()=>{}),this.controls.splice(Oe,1),this.updateValueAndValidity({emitEvent:x.emitEvent})}setControl(M,x,Oe={}){let Gt=this._adjustIndex(M);Gt<0&&(Gt=0),this.controls[Gt]&&this.controls[Gt]._registerOnCollectionChange(()=>{}),this.controls.splice(Gt,1),x&&(this.controls.splice(Gt,0,x),this._registerControl(x)),this.updateValueAndValidity({emitEvent:Oe.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(M,x={}){G(this,0,M),M.forEach((Oe,Gt)=>{F(this,!1,Gt),this.at(Gt).setValue(Oe,{onlySelf:!0,emitEvent:x.emitEvent})}),this.updateValueAndValidity(x)}patchValue(M,x={}){null!=M&&(M.forEach((Oe,Gt)=>{this.at(Gt)&&this.at(Gt).patchValue(Oe,{onlySelf:!0,emitEvent:x.emitEvent})}),this.updateValueAndValidity(x))}reset(M=[],x={}){this._forEachChild((Oe,Gt)=>{Oe.reset(M[Gt],{onlySelf:!0,emitEvent:x.emitEvent})}),this._updatePristine(x),this._updateTouched(x),this.updateValueAndValidity(x)}getRawValue(){return this.controls.map(M=>M.getRawValue())}clear(M={}){this.controls.length<1||(this._forEachChild(x=>x._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:M.emitEvent}))}_adjustIndex(M){return M<0?M+this.length:M}_syncPendingControls(){let M=this.controls.reduce((x,Oe)=>!!Oe._syncPendingControls()||x,!1);return M&&this.updateValueAndValidity({onlySelf:!0}),M}_forEachChild(M){this.controls.forEach((x,Oe)=>{M(x,Oe)})}_updateValue(){this.value=this.controls.filter(M=>M.enabled||this.disabled).map(M=>M.value)}_anyControls(M){return this.controls.some(x=>x.enabled&&M(x))}_setUpControls(){this._forEachChild(M=>this._registerControl(M))}_allControlsDisabled(){for(const M of this.controls)if(M.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(M){M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange)}_find(M){var x;return null!==(x=this.at(M))&&void 0!==x?x:null}}function Fi(U){return!!U&&(void 0!==U.asyncValidators||void 0!==U.validators||void 0!==U.updateOn)}let os=(()=>{class U{constructor(){this.useNonNullable=!1}get nonNullable(){const x=new U;return x.useNonNullable=!0,x}group(x,Oe=null){const Gt=this._reduceControls(x);let bi,on=null,di=null;return null!==Oe&&(Fi(Oe)?(on=null!=Oe.validators?Oe.validators:null,di=null!=Oe.asyncValidators?Oe.asyncValidators:null,bi=null!=Oe.updateOn?Oe.updateOn:void 0):(on=null!=Oe.validator?Oe.validator:null,di=null!=Oe.asyncValidator?Oe.asyncValidator:null)),new ye(Gt,{asyncValidators:di,updateOn:bi,validators:on})}control(x,Oe,Gt){let on={};return this.useNonNullable?(Fi(Oe)?on=Oe:(on.validators=Oe,on.asyncValidators=Gt),new Ei(x,Object.assign(Object.assign({},on),{nonNullable:!0}))):new Ei(x,Oe,Gt)}array(x,Oe,Gt){const on=x.map(di=>this._createControl(di));return new Zn(on,Oe,Gt)}_reduceControls(x){const Oe={};return Object.keys(x).forEach(Gt=>{Oe[Gt]=this._createControl(x[Gt])}),Oe}_createControl(x){return x instanceof Ei||x instanceof j?x:Array.isArray(x)?this.control(x[0],x.length>1?x[1]:null,x.length>2?x[2]:null):this.control(x)}}return U.\u0275fac=function(x){return new(x||U)},U.\u0275prov=s.Yz7({token:U,factory:U.\u0275fac,providedIn:Wn}),U})()},7423:(Yt,ut,c)=>{"use strict";c.d(ut,{lW:()=>X,ot:()=>ne});var s=c(5e3),i=c(508),h=c(5664);const u=["mat-button",""],l=["*"],re=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],ve=(0,i.pj)((0,i.Id)((0,i.Kr)(class{constructor(Ce){this._elementRef=Ce}})));let X=(()=>{class Ce extends ve{constructor(Ae,Be,Se){super(Ae),this._focusMonitor=Be,this._animationMode=Se,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const mt of re)this._hasHostAttributes(mt)&&this._getHostElement().classList.add(mt);Ae.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(Ae,Be){Ae?this._focusMonitor.focusVia(this._getHostElement(),Ae,Be):this._getHostElement().focus(Be)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...Ae){return Ae.some(Be=>this._getHostElement().hasAttribute(Be))}}return Ce.\u0275fac=function(Ae){return new(Ae||Ce)(s.Y36(s.SBq),s.Y36(h.tE),s.Y36(s.QbO,8))},Ce.\u0275cmp=s.Xpm({type:Ce,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(Ae,Be){if(1&Ae&&s.Gf(i.wG,5),2&Ae){let Se;s.iGM(Se=s.CRH())&&(Be.ripple=Se.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(Ae,Be){2&Ae&&(s.uIk("disabled",Be.disabled||null),s.ekj("_mat-animation-noopable","NoopAnimations"===Be._animationMode)("mat-button-disabled",Be.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.qOj],attrs:u,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(Ae,Be){1&Ae&&(s.F$t(),s.TgZ(0,"span",0),s.Hsn(1),s.qZA(),s._UZ(2,"span",1)(3,"span",2)),2&Ae&&(s.xp6(2),s.ekj("mat-button-ripple-round",Be.isRoundButton||Be.isIconButton),s.Q6J("matRippleDisabled",Be._isRippleDisabled())("matRippleCentered",Be.isIconButton)("matRippleTrigger",Be._getHostElement()))},dependencies:[i.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),Ce})(),ne=(()=>{class Ce{}return Ce.\u0275fac=function(Ae){return new(Ae||Ce)},Ce.\u0275mod=s.oAB({type:Ce}),Ce.\u0275inj=s.cJS({imports:[i.si,i.BQ,i.BQ]}),Ce})()},9224:(Yt,ut,c)=>{"use strict";c.d(ut,{$j:()=>Ne,QW:()=>he,a8:()=>Mt,dn:()=>ve,n5:()=>X});var s=c(5e3),i=c(508);const h=["*",[["mat-card-footer"]]],u=["*","mat-card-footer"];let ve=(()=>{class le{}return le.\u0275fac=function(we){return new(we||le)},le.\u0275dir=s.lG2({type:le,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),le})(),X=(()=>{class le{}return le.\u0275fac=function(we){return new(we||le)},le.\u0275dir=s.lG2({type:le,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),le})(),Ne=(()=>{class le{}return le.\u0275fac=function(we){return new(we||le)},le.\u0275dir=s.lG2({type:le,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),le})(),Mt=(()=>{class le{constructor(we){this._animationMode=we}}return le.\u0275fac=function(we){return new(we||le)(s.Y36(s.QbO,8))},le.\u0275cmp=s.Xpm({type:le,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(we,et){2&we&&s.ekj("_mat-animation-noopable","NoopAnimations"===et._animationMode)},exportAs:["matCard"],ngContentSelectors:u,decls:2,vars:0,template:function(we,et){1&we&&(s.F$t(h),s.Hsn(0),s.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),le})(),he=(()=>{class le{}return le.\u0275fac=function(we){return new(we||le)},le.\u0275mod=s.oAB({type:le}),le.\u0275inj=s.cJS({imports:[i.BQ,i.BQ]}),le})()},7446:(Yt,ut,c)=>{"use strict";c.d(ut,{oG:()=>bt,p9:()=>he});var s=c(3191),i=c(5e3),h=c(3075),u=c(508),l=c(5664),Me=c(7144);const ie=["input"],re=["label"],ve=function(le){return{enterDuration:le}},X=["*"],Ne=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:ne});function ne(){return{color:"accent",clickAction:"check-indeterminate"}}let Ce=0;const ae=ne(),Ae={provide:h.JU,useExisting:(0,i.Gpc)(()=>bt),multi:!0};class Be{}const Se=(0,u.sb)((0,u.pj)((0,u.Kr)((0,u.Id)(class{constructor(le){this._elementRef=le}}))));let mt=(()=>{class le extends Se{constructor(we,et,Xe,_e,lt,je,pt){super(et),this._changeDetectorRef=Xe,this._ngZone=_e,this._animationMode=je,this._options=pt,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new i.vpe,this.indeterminateChange=new i.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ae,this.color=this.defaultColor=this._options.color||ae.color,this.tabIndex=parseInt(lt)||0,this.id=this._uniqueId=`${we}${++Ce}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(we){this._required=(0,s.Ig)(we)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(we){const et=(0,s.Ig)(we);et!=this.checked&&(this._checked=et,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(we){const et=(0,s.Ig)(we);et!==this.disabled&&(this._disabled=et,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(we){const et=we!=this._indeterminate;this._indeterminate=(0,s.Ig)(we),et&&(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(we){this.checked=!!we}registerOnChange(we){this._controlValueAccessorChangeFn=we}registerOnTouched(we){this._onTouched=we}setDisabledState(we){this.disabled=we}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(we){let et=this._currentCheckState,Xe=this._getAnimationTargetElement();if(et!==we&&Xe&&(this._currentAnimationClass&&Xe.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(et,we),this._currentCheckState=we,this._currentAnimationClass.length>0)){Xe.classList.add(this._currentAnimationClass);const _e=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{Xe.classList.remove(_e)},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(){var we;const et=null===(we=this._options)||void 0===we?void 0:we.clickAction;this.disabled||"noop"===et?!this.disabled&&"noop"===et&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==et&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(we){we.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(we,et){if("NoopAnimations"===this._animationMode)return"";switch(we){case 0:if(1===et)return this._animationClasses.uncheckedToChecked;if(3==et)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===et?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===et?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===et?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(we){const et=this._inputElement;et&&(et.nativeElement.indeterminate=we)}}return le.\u0275fac=function(we){i.$Z()},le.\u0275dir=i.lG2({type:le,viewQuery:function(we,et){if(1&we&&(i.Gf(ie,5),i.Gf(re,5),i.Gf(u.wG,5)),2&we){let Xe;i.iGM(Xe=i.CRH())&&(et._inputElement=Xe.first),i.iGM(Xe=i.CRH())&&(et._labelElement=Xe.first),i.iGM(Xe=i.CRH())&&(et.ripple=Xe.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:[i.qOj]}),le})(),bt=(()=>{class le extends mt{constructor(we,et,Xe,_e,lt,je,pt){super("mat-checkbox-",we,et,_e,lt,je,pt),this._focusMonitor=Xe,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(we){const et=new Be;return et.source=this,et.checked=we,et}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(we=>{we||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(we){we.stopPropagation(),super._handleInputClick()}focus(we,et){we?this._focusMonitor.focusVia(this._inputElement,we,et):this._inputElement.nativeElement.focus(et)}}return le.\u0275fac=function(we){return new(we||le)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(l.tE),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(i.QbO,8),i.Y36(Ne,8))},le.\u0275cmp=i.Xpm({type:le,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(we,et){2&we&&(i.Ikx("id",et.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),i.ekj("mat-checkbox-indeterminate",et.indeterminate)("mat-checkbox-checked",et.checked)("mat-checkbox-disabled",et.disabled)("mat-checkbox-label-before","before"==et.labelPosition)("_mat-animation-noopable","NoopAnimations"===et._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[i._Bn([Ae]),i.qOj],ngContentSelectors:X,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(we,et){if(1&we&&(i.F$t(),i.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),i.NdJ("change",function(_e){return et._onInteractionEvent(_e)})("click",function(_e){return et._onInputClick(_e)}),i.qZA(),i.TgZ(5,"span",5),i._UZ(6,"span",6),i.qZA(),i._UZ(7,"span",7),i.TgZ(8,"span",8),i.O4$(),i.TgZ(9,"svg",9),i._UZ(10,"path",10),i.qZA(),i.kcU(),i._UZ(11,"span",11),i.qZA()(),i.TgZ(12,"span",12,13),i.NdJ("cdkObserveContent",function(){return et._onLabelTextChange()}),i.TgZ(14,"span",14),i._uU(15,"\xa0"),i.qZA(),i.Hsn(16),i.qZA()()),2&we){const Xe=i.MAs(1),_e=i.MAs(13);i.uIk("for",et.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!_e.textContent||!_e.textContent.trim()),i.xp6(1),i.Q6J("id",et.inputId)("required",et.required)("checked",et.checked)("disabled",et.disabled)("tabIndex",et.tabIndex),i.uIk("value",et.value)("name",et.name)("aria-label",et.ariaLabel||null)("aria-labelledby",et.ariaLabelledby)("aria-checked",et._getAriaChecked())("aria-describedby",et.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",Xe)("matRippleDisabled",et._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,ve,"NoopAnimations"===et._animationMode?0:150))}},dependencies:[u.wG,Me.wD],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-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 mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),le})(),oe=(()=>{class le{}return le.\u0275fac=function(we){return new(we||le)},le.\u0275mod=i.oAB({type:le}),le.\u0275inj=i.cJS({}),le})(),he=(()=>{class le{}return le.\u0275fac=function(we){return new(we||le)},le.\u0275mod=i.oAB({type:le}),le.\u0275inj=i.cJS({imports:[u.si,u.BQ,Me.Q8,oe,u.BQ,oe]}),le})()},6688:(Yt,ut,c)=>{"use strict";c.d(ut,{HS:()=>we,Hi:()=>St,qn:()=>ft});var s=c(1159),i=c(5e3),h=c(508),u=c(3191),l=c(9808),Me=c(7579),ie=c(6451),re=c(5698),ve=c(2722),X=c(8675),Ne=c(925),ne=c(5664),Ce=c(449),ae=c(3075),Ae=c(7322),Be=c(226);const Se=["*"],bt=new i.OlP("MatChipRemove"),Mt=new i.OlP("MatChipAvatar"),ke=new i.OlP("MatChipTrailingIcon");class oe{constructor(B){this._elementRef=B}}const he=(0,h.sb)((0,h.pj)((0,h.Kr)(oe),"primary"),-1);let we=(()=>{class Y extends he{constructor(_,A,J,se,de,De,Ke,gt){super(_),this._ngZone=A,this._changeDetectorRef=de,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new Me.x,this._onBlur=new Me.x,this.selectionChange=new i.vpe,this.destroyed=new i.vpe,this.removed=new i.vpe,this._addHostClassName(),this._chipRippleTarget=De.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new h.IR(this,A,this._chipRippleTarget,J),this._chipRipple.setupTriggerEvents(_),this.rippleConfig=se||{},this._animationsDisabled="NoopAnimations"===Ke,this.tabIndex=null!=gt&&parseInt(gt)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(_){const A=(0,u.Ig)(_);A!==this._selected&&(this._selected=A,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(_){this._value=_}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(_){this._selectable=(0,u.Ig)(_)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(_){this._disabled=(0,u.Ig)(_)}get removable(){return this._removable}set removable(_){this._removable=(0,u.Ig)(_)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const _="mat-basic-chip",A=this._elementRef.nativeElement;A.hasAttribute(_)||A.tagName.toLowerCase()===_?A.classList.add(_):A.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(_=!1){return this._selected=!this.selected,this._dispatchSelectionChange(_),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(_){this.disabled&&_.preventDefault()}_handleKeydown(_){if(!this.disabled)switch(_.keyCode){case s.yY:case s.ZH:this.remove(),_.preventDefault();break;case s.L_:this.selectable&&this.toggleSelected(!0),_.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,re.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(_=!1){this.selectionChange.emit({source:this,isUserInput:_,selected:this._selected})}}return Y.\u0275fac=function(_){return new(_||Y)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Ne.t4),i.Y36(h.Y2,8),i.Y36(i.sBO),i.Y36(l.K0),i.Y36(i.QbO,8),i.$8M("tabindex"))},Y.\u0275dir=i.lG2({type:Y,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(_,A,J){if(1&_&&(i.Suo(J,Mt,5),i.Suo(J,ke,5),i.Suo(J,bt,5)),2&_){let se;i.iGM(se=i.CRH())&&(A.avatar=se.first),i.iGM(se=i.CRH())&&(A.trailingIcon=se.first),i.iGM(se=i.CRH())&&(A.removeIcon=se.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(_,A){1&_&&i.NdJ("click",function(se){return A._handleClick(se)})("keydown",function(se){return A._handleKeydown(se)})("focus",function(){return A.focus()})("blur",function(){return A._blur()}),2&_&&(i.uIk("tabindex",A.disabled?null:A.tabIndex)("role",A.role)("disabled",A.disabled||null)("aria-disabled",A.disabled.toString())("aria-selected",A.ariaSelected),i.ekj("mat-chip-selected",A.selected)("mat-chip-with-avatar",A.avatar)("mat-chip-with-trailing-icon",A.trailingIcon||A.removeIcon)("mat-chip-disabled",A.disabled)("_mat-animation-noopable",A._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[i.qOj]}),Y})();const Xe=new i.OlP("mat-chips-default-options"),je=(0,h.FD)(class{constructor(Y,B,_,A){this._defaultErrorStateMatcher=Y,this._parentForm=B,this._parentFormGroup=_,this.ngControl=A,this.stateChanges=new Me.x}});let pt=0;class it{constructor(B,_){this.source=B,this.value=_}}let ft=(()=>{class Y extends je{constructor(_,A,J,se,de,De,Ke){super(De,se,de,Ke),this._elementRef=_,this._changeDetectorRef=A,this._dir=J,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new Me.x,this._uid="mat-chip-list-"+pt++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(gt,ze)=>gt===ze,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var _,A;return this.multiple?(null===(_=this._selectionModel)||void 0===_?void 0:_.selected)||[]:null===(A=this._selectionModel)||void 0===A?void 0:A.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(_){this._explicitRole=_}get multiple(){return this._multiple}set multiple(_){this._multiple=(0,u.Ig)(_),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(_){this._compareWith=_,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(_){this.writeValue(_),this._value=_}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var _,A,J,se;return null!==(se=null!==(_=this._required)&&void 0!==_?_:null===(J=null===(A=this.ngControl)||void 0===A?void 0:A.control)||void 0===J?void 0:J.hasValidator(ae.kI.required))&&void 0!==se&&se}set required(_){this._required=(0,u.Ig)(_),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(_){this._placeholder=_,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(_){this._disabled=(0,u.Ig)(_),this._syncChipsState()}get selectable(){return this._selectable}set selectable(_){this._selectable=(0,u.Ig)(_),this._syncChipsState()}set tabIndex(_){this._userTabIndex=_,this._tabIndex=_}get chipSelectionChanges(){return(0,ie.T)(...this.chips.map(_=>_.selectionChange))}get chipFocusChanges(){return(0,ie.T)(...this.chips.map(_=>_._onFocus))}get chipBlurChanges(){return(0,ie.T)(...this.chips.map(_=>_._onBlur))}get chipRemoveChanges(){return(0,ie.T)(...this.chips.map(_=>_.destroyed))}ngAfterContentInit(){this._keyManager=new ne.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,ve.R)(this._destroyed)).subscribe(_=>this._keyManager.withHorizontalOrientation(_)),this._keyManager.tabOut.pipe((0,ve.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,X.O)(null),(0,ve.R)(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new Ce.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(_){this._chipInput=_,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",_.id)}setDescribedByIds(_){_.length?this._elementRef.nativeElement.setAttribute("aria-describedby",_.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(_){this.chips&&this._setSelectionByValue(_,!1)}registerOnChange(_){this._onChange=_}registerOnTouched(_){this._onTouched=_}setDisabledState(_){this.disabled=_,this.stateChanges.next()}onContainerClick(_){this._originatesFromChip(_)||this.focus()}focus(_){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(_),this.stateChanges.next()))}_focusInput(_){this._chipInput&&this._chipInput.focus(_)}_keydown(_){const A=_.target;A&&A.classList.contains("mat-chip")&&(this._keyManager.onKeydown(_),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const _=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(_)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(_){return _>=0&&_<this.chips.length}_setSelectionByValue(_,A=!0){if(this._clearSelection(),this.chips.forEach(J=>J.deselect()),Array.isArray(_))_.forEach(J=>this._selectValue(J,A)),this._sortValues();else{const J=this._selectValue(_,A);J&&A&&this._keyManager.setActiveItem(J)}}_selectValue(_,A=!0){const J=this.chips.find(se=>null!=se.value&&this._compareWith(se.value,_));return J&&(A?J.selectViaInteraction():J.select(),this._selectionModel.select(J)),J}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(_){this._selectionModel.clear(),this.chips.forEach(A=>{A!==_&&A.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(_=>{_.selected&&this._selectionModel.select(_)}),this.stateChanges.next())}_propagateChanges(_){let A=null;A=Array.isArray(this.selected)?this.selected.map(J=>J.value):this.selected?this.selected.value:_,this._value=A,this.change.emit(new it(this,A)),this.valueChange.emit(A),this._onChange(A),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(_=>{_.source.selected?this._selectionModel.select(_.source):this._selectionModel.deselect(_.source),this.multiple||this.chips.forEach(A=>{!this._selectionModel.isSelected(A)&&A.selected&&A.deselect()}),_.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(_=>{let A=this.chips.toArray().indexOf(_.chip);this._isValidIndex(A)&&this._keyManager.updateActiveItem(A),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(_=>{const A=_.chip,J=this.chips.toArray().indexOf(_.chip);this._isValidIndex(J)&&A._hasFocus&&(this._lastDestroyedChipIndex=J)})}_originatesFromChip(_){let A=_.target;for(;A&&A!==this._elementRef.nativeElement;){if(A.classList.contains("mat-chip"))return!0;A=A.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(_=>_._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(_=>{_._chipListDisabled=this._disabled,_._chipListMultiple=this.multiple,_.chipListSelectable=this._selectable})}}return Y.\u0275fac=function(_){return new(_||Y)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Be.Is,8),i.Y36(ae.F,8),i.Y36(ae.sg,8),i.Y36(h.rD),i.Y36(ae.a5,10))},Y.\u0275cmp=i.Xpm({type:Y,selectors:[["mat-chip-list"]],contentQueries:function(_,A,J){if(1&_&&i.Suo(J,we,5),2&_){let se;i.iGM(se=i.CRH())&&(A.chips=se)}},hostAttrs:[1,"mat-chip-list"],hostVars:14,hostBindings:function(_,A){1&_&&i.NdJ("focus",function(){return A.focus()})("blur",function(){return A._blur()})("keydown",function(se){return A._keydown(se)}),2&_&&(i.Ikx("id",A._uid),i.uIk("tabindex",A.disabled?null:A._tabIndex)("aria-required",A.role?A.required:null)("aria-disabled",A.disabled.toString())("aria-invalid",A.errorState)("aria-multiselectable",A.multiple)("role",A.role)("aria-orientation",A.ariaOrientation),i.ekj("mat-chip-list-disabled",A.disabled)("mat-chip-list-invalid",A.errorState)("mat-chip-list-required",A.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[i._Bn([{provide:Ae.Eo,useExisting:Y}]),i.qOj],ngContentSelectors:Se,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(_,A){1&_&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0}),Y})(),St=(()=>{class Y{}return Y.\u0275fac=function(_){return new(_||Y)},Y.\u0275mod=i.oAB({type:Y}),Y.\u0275inj=i.cJS({providers:[h.rD,{provide:Xe,useValue:{separatorKeyCodes:[s.K5]}}],imports:[h.BQ]}),Y})()},508:(Yt,ut,c)=>{"use strict";c.d(ut,{yN:()=>mt,mZ:()=>bt,_A:()=>ft,rD:()=>de,sG:()=>Ct,Ad:()=>pt,K7:()=>kt,HF:()=>Z,Y2:()=>st,BQ:()=>oe,X2:()=>De,uc:()=>ze,XK:()=>J,ey:()=>Rt,Ng:()=>rt,rN:()=>Lt,nP:()=>k,us:()=>W,wG:()=>xe,si:()=>q,IR:()=>cn,CB:()=>ge,jH:()=>Ge,pj:()=>et,Kr:()=>Xe,Id:()=>we,FD:()=>lt,dB:()=>je,sb:()=>_e,E0:()=>Ke});var s=c(5e3),i=c(226),u=c(9808),l=c(925),Me=c(5664),ie=c(3191),re=c(8306),ve=c(7579),X=c(8675),Ne=c(1159);function ae(L,me){if(1&L&&s._UZ(0,"mat-pseudo-checkbox",4),2&L){const T=s.oxw();s.Q6J("state",T.selected?"checked":"unchecked")("disabled",T.disabled)}}function Ae(L,me){if(1&L&&(s.TgZ(0,"span",5),s._uU(1),s.qZA()),2&L){const T=s.oxw();s.xp6(1),s.hij("(",T.group.label,")")}}const Be=["*"];let mt=(()=>{class L{}return L.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",L.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",L.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",L.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",L})(),bt=(()=>{class L{}return L.COMPLEX="375ms",L.ENTERING="225ms",L.EXITING="195ms",L})();const ke=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function Mt(){return!0}});let oe=(()=>{class L{constructor(T,D,z){this._sanityChecks=D,this._document=z,this._hasDoneGlobalChecks=!1,T._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(T){return!(0,l.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[T])}}return L.\u0275fac=function(T){return new(T||L)(s.LFG(Me.qm),s.LFG(ke,8),s.LFG(u.K0))},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({imports:[i.vT,i.vT]}),L})();function we(L){return class extends L{constructor(...me){super(...me),this._disabled=!1}get disabled(){return this._disabled}set disabled(me){this._disabled=(0,ie.Ig)(me)}}}function et(L,me){return class extends L{constructor(...T){super(...T),this.defaultColor=me,this.color=me}get color(){return this._color}set color(T){const D=T||this.defaultColor;D!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),D&&this._elementRef.nativeElement.classList.add(`mat-${D}`),this._color=D)}}}function Xe(L){return class extends L{constructor(...me){super(...me),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(me){this._disableRipple=(0,ie.Ig)(me)}}}function _e(L,me=0){return class extends L{constructor(...T){super(...T),this._tabIndex=me,this.defaultTabIndex=me}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(T){this._tabIndex=null!=T?(0,ie.su)(T):this.defaultTabIndex}}}function lt(L){return class extends L{constructor(...me){super(...me),this.errorState=!1}updateErrorState(){const me=this.errorState,P=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);P!==me&&(this.errorState=P,this.stateChanges.next())}}}function je(L){return class extends L{constructor(...me){super(...me),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new re.y(T=>{this._isInitialized?this._notifySubscriber(T):this._pendingSubscribers.push(T)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(me){me.next(),me.complete()}}}const pt=new s.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function it(){return(0,s.f3M)(s.soG)}});class ft{constructor(){this._localeChanges=new ve.x,this.localeChanges=this._localeChanges}getValidDateOrNull(me){return this.isDateInstance(me)&&this.isValid(me)?me:null}deserialize(me){return null==me||this.isDateInstance(me)&&this.isValid(me)?me:this.invalid()}setLocale(me){this.locale=me,this._localeChanges.next()}compareDate(me,T){return this.getYear(me)-this.getYear(T)||this.getMonth(me)-this.getMonth(T)||this.getDate(me)-this.getDate(T)}sameDate(me,T){if(me&&T){let D=this.isValid(me),z=this.isValid(T);return D&&z?!this.compareDate(me,T):D==z}return me==T}clampDate(me,T,D){return T&&this.compareDate(me,T)<0?T:D&&this.compareDate(me,D)>0?D:me}}const Ct=new s.OlP("mat-date-formats"),St=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Y(L,me){const T=Array(L);for(let D=0;D<L;D++)T[D]=me(D);return T}let B=(()=>{class L extends ft{constructor(T,D){super(),this.useUtcForDisplay=!1,super.setLocale(T)}getYear(T){return T.getFullYear()}getMonth(T){return T.getMonth()}getDate(T){return T.getDate()}getDayOfWeek(T){return T.getDay()}getMonthNames(T){const D=new Intl.DateTimeFormat(this.locale,{month:T,timeZone:"utc"});return Y(12,z=>this._format(D,new Date(2017,z,1)))}getDateNames(){const T=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Y(31,D=>this._format(T,new Date(2017,0,D+1)))}getDayOfWeekNames(T){const D=new Intl.DateTimeFormat(this.locale,{weekday:T,timeZone:"utc"});return Y(7,z=>this._format(D,new Date(2017,0,z+1)))}getYearName(T){const D=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(D,T)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(T){return this.getDate(this._createDateWithOverflow(this.getYear(T),this.getMonth(T)+1,0))}clone(T){return new Date(T.getTime())}createDate(T,D,z){let P=this._createDateWithOverflow(T,D,z);return P.getMonth(),P}today(){return new Date}parse(T,D){return"number"==typeof T?new Date(T):T?new Date(Date.parse(T)):null}format(T,D){if(!this.isValid(T))throw Error("NativeDateAdapter: Cannot format invalid date.");const z=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},D),{timeZone:"utc"}));return this._format(z,T)}addCalendarYears(T,D){return this.addCalendarMonths(T,12*D)}addCalendarMonths(T,D){let z=this._createDateWithOverflow(this.getYear(T),this.getMonth(T)+D,this.getDate(T));return this.getMonth(z)!=((this.getMonth(T)+D)%12+12)%12&&(z=this._createDateWithOverflow(this.getYear(z),this.getMonth(z),0)),z}addCalendarDays(T,D){return this._createDateWithOverflow(this.getYear(T),this.getMonth(T),this.getDate(T)+D)}toIso8601(T){return[T.getUTCFullYear(),this._2digit(T.getUTCMonth()+1),this._2digit(T.getUTCDate())].join("-")}deserialize(T){if("string"==typeof T){if(!T)return null;if(St.test(T)){let D=new Date(T);if(this.isValid(D))return D}}return super.deserialize(T)}isDateInstance(T){return T instanceof Date}isValid(T){return!isNaN(T.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(T,D,z){const P=new Date;return P.setFullYear(T,D,z),P.setHours(0,0,0,0),P}_2digit(T){return("00"+T).slice(-2)}_format(T,D){const z=new Date;return z.setUTCFullYear(D.getFullYear(),D.getMonth(),D.getDate()),z.setUTCHours(D.getHours(),D.getMinutes(),D.getSeconds(),D.getMilliseconds()),T.format(z)}}return L.\u0275fac=function(T){return new(T||L)(s.LFG(pt,8),s.LFG(l.t4))},L.\u0275prov=s.Yz7({token:L,factory:L.\u0275fac}),L})();const _={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let A=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({providers:[{provide:ft,useClass:B}]}),L})(),J=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({providers:[{provide:Ct,useValue:_}],imports:[A]}),L})(),de=(()=>{class L{isErrorState(T,D){return!!(T&&T.invalid&&(T.touched||D&&D.submitted))}}return L.\u0275fac=function(T){return new(T||L)},L.\u0275prov=s.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),De=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275dir=s.lG2({type:L,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),L})();function Ke(L,me,T="mat"){L.changes.pipe((0,X.O)(L)).subscribe(({length:D})=>{gt(me,`${T}-2-line`,!1),gt(me,`${T}-3-line`,!1),gt(me,`${T}-multi-line`,!1),2===D||3===D?gt(me,`${T}-${D}-line`,!0):D>3&&gt(me,`${T}-multi-line`,!0)})}function gt(L,me,T){L.nativeElement.classList.toggle(me,T)}let ze=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({imports:[oe,oe]}),L})();class Et{constructor(me,T,D,z=!1){this._renderer=me,this.element=T,this.config=D,this._animationForciblyDisabledThroughCss=z,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Nt={enterDuration:225,exitDuration:150},ln=(0,l.i$)({passive:!0}),gn=["mousedown","touchstart"],jt=["mouseup","mouseleave","touchend","touchcancel"];class cn{constructor(me,T,D,z){this._target=me,this._ngZone=T,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,z.isBrowser&&(this._containerElement=(0,ie.fI)(D))}fadeInRipple(me,T,D={}){const z=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),P=Object.assign(Object.assign({},Nt),D.animation);D.centered&&(me=z.left+z.width/2,T=z.top+z.height/2);const ue=D.radius||function Qe(L,me,T){const D=Math.max(Math.abs(L-T.left),Math.abs(L-T.right)),z=Math.max(Math.abs(me-T.top),Math.abs(me-T.bottom));return Math.sqrt(D*D+z*z)}(me,T,z),te=me-z.left,F=T-z.top,G=P.enterDuration,j=document.createElement("div");j.classList.add("mat-ripple-element"),j.style.left=te-ue+"px",j.style.top=F-ue+"px",j.style.height=2*ue+"px",j.style.width=2*ue+"px",null!=D.color&&(j.style.backgroundColor=D.color),j.style.transitionDuration=`${G}ms`,this._containerElement.appendChild(j);const ye=window.getComputedStyle(j),Ue=ye.transitionDuration,Je="none"===ye.transitionProperty||"0s"===Ue||"0s, 0s"===Ue,It=new Et(this,j,D,Je);j.style.transform="scale3d(1, 1, 1)",It.state=0,D.persistent||(this._mostRecentTransientRipple=It);let Fe=null;return!Je&&(G||P.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ye=()=>this._finishRippleTransition(It),R=()=>this._destroyRipple(It);j.addEventListener("transitionend",Ye),j.addEventListener("transitioncancel",R),Fe={onTransitionEnd:Ye,onTransitionCancel:R}}),this._activeRipples.set(It,Fe),(Je||!G)&&this._finishRippleTransition(It),It}fadeOutRipple(me){if(2===me.state||3===me.state)return;const T=me.element,D=Object.assign(Object.assign({},Nt),me.config.animation);T.style.transitionDuration=`${D.exitDuration}ms`,T.style.opacity="0",me.state=2,(me._animationForciblyDisabledThroughCss||!D.exitDuration)&&this._finishRippleTransition(me)}fadeOutAll(){this._getActiveRipples().forEach(me=>me.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(me=>{me.config.persistent||me.fadeOut()})}setupTriggerEvents(me){const T=(0,ie.fI)(me);!T||T===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=T,this._registerEvents(gn))}handleEvent(me){"mousedown"===me.type?this._onMousedown(me):"touchstart"===me.type?this._onTouchStart(me):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(jt),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(me){0===me.state?this._startFadeOutTransition(me):2===me.state&&this._destroyRipple(me)}_startFadeOutTransition(me){const T=me===this._mostRecentTransientRipple,{persistent:D}=me.config;me.state=1,!D&&(!T||!this._isPointerDown)&&me.fadeOut()}_destroyRipple(me){var T;const D=null!==(T=this._activeRipples.get(me))&&void 0!==T?T:null;this._activeRipples.delete(me),this._activeRipples.size||(this._containerRect=null),me===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),me.state=3,null!==D&&(me.element.removeEventListener("transitionend",D.onTransitionEnd),me.element.removeEventListener("transitioncancel",D.onTransitionCancel)),me.element.remove()}_onMousedown(me){const T=(0,Me.X6)(me),D=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!T&&!D&&(this._isPointerDown=!0,this.fadeInRipple(me.clientX,me.clientY,this._target.rippleConfig))}_onTouchStart(me){if(!this._target.rippleDisabled&&!(0,Me.yG)(me)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const T=me.changedTouches;for(let D=0;D<T.length;D++)this.fadeInRipple(T[D].clientX,T[D].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(me=>{!me.config.persistent&&(1===me.state||me.config.terminateOnPointerUp&&0===me.state)&&me.fadeOut()}))}_registerEvents(me){this._ngZone.runOutsideAngular(()=>{me.forEach(T=>{this._triggerElement.addEventListener(T,this,ln)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(gn.forEach(me=>{this._triggerElement.removeEventListener(me,this,ln)}),this._pointerUpEventsRegistered&&jt.forEach(me=>{this._triggerElement.removeEventListener(me,this,ln)}))}}const st=new s.OlP("mat-ripple-global-options");let xe=(()=>{class L{constructor(T,D,z,P,ue){this._elementRef=T,this._animationMode=ue,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=P||{},this._rippleRenderer=new cn(this,D,T,z)}get disabled(){return this._disabled}set disabled(T){T&&this.fadeOutAllNonPersistent(),this._disabled=T,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(T){this._trigger=T,this._setupTriggerEventsIfEnabled()}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:Object.assign(Object.assign(Object.assign({},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(T,D=0,z){return"number"==typeof T?this._rippleRenderer.fadeInRipple(T,D,Object.assign(Object.assign({},this.rippleConfig),z)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),T))}}return L.\u0275fac=function(T){return new(T||L)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(l.t4),s.Y36(st,8),s.Y36(s.QbO,8))},L.\u0275dir=s.lG2({type:L,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(T,D){2&T&&s.ekj("mat-ripple-unbounded",D.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"]}),L})(),q=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({imports:[oe,oe]}),L})(),k=(()=>{class L{constructor(T){this._animationMode=T,this.state="unchecked",this.disabled=!1}}return L.\u0275fac=function(T){return new(T||L)(s.Y36(s.QbO,8))},L.\u0275cmp=s.Xpm({type:L,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(T,D){2&T&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===D.state)("mat-pseudo-checkbox-checked","checked"===D.state)("mat-pseudo-checkbox-disabled",D.disabled)("_mat-animation-noopable","NoopAnimations"===D._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(T,D){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;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{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),L})(),W=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({imports:[oe]}),L})();const Z=new s.OlP("MAT_OPTION_PARENT_COMPONENT"),kt=new s.OlP("MatOptgroup");let en=0;class Lt{constructor(me,T=!1){this.source=me,this.isUserInput=T}}let xt=(()=>{class L{constructor(T,D,z,P){this._element=T,this._changeDetectorRef=D,this._parent=z,this.group=P,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+en++,this.onSelectionChange=new s.vpe,this._stateChanges=new ve.x}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(T){this._disabled=(0,ie.Ig)(T)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().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(T,D){const z=this._getHostElement();"function"==typeof z.focus&&z.focus(D)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(T){(T.keyCode===Ne.K5||T.keyCode===Ne.L_)&&!(0,Ne.Vb)(T)&&(this._selectViaInteraction(),T.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 T=this.viewValue;T!==this._mostRecentViewValue&&(this._mostRecentViewValue=T,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(T=!1){this.onSelectionChange.emit(new Lt(this,T))}}return L.\u0275fac=function(T){s.$Z()},L.\u0275dir=s.lG2({type:L,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),L})(),Rt=(()=>{class L extends xt{constructor(T,D,z,P){super(T,D,z,P)}}return L.\u0275fac=function(T){return new(T||L)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Z,8),s.Y36(kt,8))},L.\u0275cmp=s.Xpm({type:L,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(T,D){1&T&&s.NdJ("click",function(){return D._selectViaInteraction()})("keydown",function(P){return D._handleKeydown(P)}),2&T&&(s.Ikx("id",D.id),s.uIk("tabindex",D._getTabIndex())("aria-selected",D._getAriaSelected())("aria-disabled",D.disabled.toString()),s.ekj("mat-selected",D.selected)("mat-option-multiple",D.multiple)("mat-active",D.active)("mat-option-disabled",D.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:Be,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(T,D){1&T&&(s.F$t(),s.YNc(0,ae,1,2,"mat-pseudo-checkbox",0),s.TgZ(1,"span",1),s.Hsn(2),s.qZA(),s.YNc(3,Ae,2,1,"span",2),s._UZ(4,"div",3)),2&T&&(s.Q6J("ngIf",D.multiple),s.xp6(3),s.Q6J("ngIf",D.group&&D.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",D._getHostElement())("matRippleDisabled",D.disabled||D.disableRipple))},dependencies:[xe,u.O5,k],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-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-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),L})();function ge(L,me,T){if(T.length){let D=me.toArray(),z=T.toArray(),P=0;for(let ue=0;ue<L+1;ue++)D[ue].group&&D[ue].group===z[P]&&P++;return P}return 0}function Ge(L,me,T,D){return L<T?L:L+me>T+D?Math.max(0,L-D+me):T}let rt=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({imports:[q,u.ez,oe,W]}),L})()},6856:(Yt,ut,c)=>{"use strict";c.d(ut,{By:()=>Pt,FA:()=>at,_g:()=>fn,nW:()=>R,wx:()=>tn,zY:()=>ht});var s=c(5664),i=c(9776),h=c(7429),u=c(9808),l=c(5e3),Me=c(7423),ie=c(9071),re=c(508),ve=c(7579),X=c(727),Ne=c(6451),ne=c(9646),Ce=c(1159),ae=c(5698),Ae=c(8675),Be=c(9300),Se=c(226),mt=c(3191),bt=c(925),Mt=c(1777),ke=c(3075),oe=c(7322);c(7531);const le=["mat-calendar-body",""];function We(be,Ze){if(1&be&&(l.TgZ(0,"tr",2)(1,"td",3),l._uU(2),l.qZA()()),2&be){const m=l.oxw();l.xp6(1),l.Udp("padding-top",m._cellPadding)("padding-bottom",m._cellPadding),l.uIk("colspan",m.numCols),l.xp6(1),l.hij(" ",m.label," ")}}function we(be,Ze){if(1&be&&(l.TgZ(0,"td",3),l._uU(1),l.qZA()),2&be){const m=l.oxw(2);l.Udp("padding-top",m._cellPadding)("padding-bottom",m._cellPadding),l.uIk("colspan",m._firstRowOffset),l.xp6(1),l.hij(" ",m._firstRowOffset>=m.labelMinRequiredCells?m.label:""," ")}}function et(be,Ze){if(1&be){const m=l.EpF();l.TgZ(0,"td",7)(1,"button",8),l.NdJ("click",function(Ie){const Xt=l.CHM(m).$implicit,bn=l.oxw(2);return l.KtG(bn._cellClicked(Xt,Ie))})("focus",function(Ie){const Xt=l.CHM(m).$implicit,bn=l.oxw(2);return l.KtG(bn._emitActiveDateChange(Xt,Ie))}),l.TgZ(2,"div",9),l._uU(3),l.qZA(),l._UZ(4,"div",10),l.qZA()()}if(2&be){const m=Ze.$implicit,I=Ze.index,Ie=l.oxw().index,ct=l.oxw();l.Udp("width",ct._cellWidth)("padding-top",ct._cellPadding)("padding-bottom",ct._cellPadding),l.uIk("data-mat-row",Ie)("data-mat-col",I),l.xp6(1),l.ekj("mat-calendar-body-disabled",!m.enabled)("mat-calendar-body-active",ct._isActiveCell(Ie,I))("mat-calendar-body-range-start",ct._isRangeStart(m.compareValue))("mat-calendar-body-range-end",ct._isRangeEnd(m.compareValue))("mat-calendar-body-in-range",ct._isInRange(m.compareValue))("mat-calendar-body-comparison-bridge-start",ct._isComparisonBridgeStart(m.compareValue,Ie,I))("mat-calendar-body-comparison-bridge-end",ct._isComparisonBridgeEnd(m.compareValue,Ie,I))("mat-calendar-body-comparison-start",ct._isComparisonStart(m.compareValue))("mat-calendar-body-comparison-end",ct._isComparisonEnd(m.compareValue))("mat-calendar-body-in-comparison-range",ct._isInComparisonRange(m.compareValue))("mat-calendar-body-preview-start",ct._isPreviewStart(m.compareValue))("mat-calendar-body-preview-end",ct._isPreviewEnd(m.compareValue))("mat-calendar-body-in-preview",ct._isInPreview(m.compareValue)),l.Q6J("ngClass",m.cssClasses)("tabindex",ct._isActiveCell(Ie,I)?0:-1),l.uIk("aria-label",m.ariaLabel)("aria-disabled",!m.enabled||null)("aria-pressed",ct._isSelected(m.compareValue))("aria-current",ct.todayValue===m.compareValue?"date":null),l.xp6(1),l.ekj("mat-calendar-body-selected",ct._isSelected(m.compareValue))("mat-calendar-body-comparison-identical",ct._isComparisonIdentical(m.compareValue))("mat-calendar-body-today",ct.todayValue===m.compareValue),l.xp6(1),l.hij(" ",m.displayValue," ")}}function Xe(be,Ze){if(1&be&&(l.TgZ(0,"tr",4),l.YNc(1,we,2,6,"td",5),l.YNc(2,et,5,47,"td",6),l.qZA()),2&be){const m=Ze.$implicit,I=Ze.index,Ie=l.oxw();l.xp6(1),l.Q6J("ngIf",0===I&&Ie._firstRowOffset),l.xp6(1),l.Q6J("ngForOf",m)}}function _e(be,Ze){if(1&be&&(l.TgZ(0,"th",5)(1,"span",6),l._uU(2),l.qZA(),l.TgZ(3,"span",7),l._uU(4),l.qZA()()),2&be){const m=Ze.$implicit;l.xp6(2),l.Oqu(m.long),l.xp6(2),l.Oqu(m.narrow)}}const lt=["*"];function je(be,Ze){}function pt(be,Ze){if(1&be){const m=l.EpF();l.TgZ(0,"mat-month-view",5),l.NdJ("activeDateChange",function(Ie){l.CHM(m);const ct=l.oxw();return l.KtG(ct.activeDate=Ie)})("_userSelection",function(Ie){l.CHM(m);const ct=l.oxw();return l.KtG(ct._dateSelected(Ie))}),l.qZA()}if(2&be){const m=l.oxw();l.Q6J("activeDate",m.activeDate)("selected",m.selected)("dateFilter",m.dateFilter)("maxDate",m.maxDate)("minDate",m.minDate)("dateClass",m.dateClass)("comparisonStart",m.comparisonStart)("comparisonEnd",m.comparisonEnd)}}function it(be,Ze){if(1&be){const m=l.EpF();l.TgZ(0,"mat-year-view",6),l.NdJ("activeDateChange",function(Ie){l.CHM(m);const ct=l.oxw();return l.KtG(ct.activeDate=Ie)})("monthSelected",function(Ie){l.CHM(m);const ct=l.oxw();return l.KtG(ct._monthSelectedInYearView(Ie))})("selectedChange",function(Ie){l.CHM(m);const ct=l.oxw();return l.KtG(ct._goToDateInView(Ie,"month"))}),l.qZA()}if(2&be){const m=l.oxw();l.Q6J("activeDate",m.activeDate)("selected",m.selected)("dateFilter",m.dateFilter)("maxDate",m.maxDate)("minDate",m.minDate)("dateClass",m.dateClass)}}function ft(be,Ze){if(1&be){const m=l.EpF();l.TgZ(0,"mat-multi-year-view",7),l.NdJ("activeDateChange",function(Ie){l.CHM(m);const ct=l.oxw();return l.KtG(ct.activeDate=Ie)})("yearSelected",function(Ie){l.CHM(m);const ct=l.oxw();return l.KtG(ct._yearSelectedInMultiYearView(Ie))})("selectedChange",function(Ie){l.CHM(m);const ct=l.oxw();return l.KtG(ct._goToDateInView(Ie,"year"))}),l.qZA()}if(2&be){const m=l.oxw();l.Q6J("activeDate",m.activeDate)("selected",m.selected)("dateFilter",m.dateFilter)("maxDate",m.maxDate)("minDate",m.minDate)("dateClass",m.dateClass)}}function Ct(be,Ze){}const St=["button"];function Y(be,Ze){1&be&&(l.O4$(),l.TgZ(0,"svg",3),l._UZ(1,"path",4),l.qZA())}const B=[[["","matDatepickerToggleIcon",""]]],_=["[matDatepickerToggleIcon]"],A=[[["input","matStartDate",""]],[["input","matEndDate",""]]],J=["input[matStartDate]","input[matEndDate]"];class De{constructor(Ze,m,I,Ie,ct={},Xt=Ze,bn){this.value=Ze,this.displayValue=m,this.ariaLabel=I,this.enabled=Ie,this.cssClasses=ct,this.compareValue=Xt,this.rawValue=bn}}let Ke=(()=>{class be{constructor(m,I){this._elementRef=m,this._ngZone=I,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new l.vpe,this.previewChange=new l.vpe,this.activeDateChange=new l.vpe,this._enterHandler=Ie=>{if(this._skipNextFocus&&"focus"===Ie.type)this._skipNextFocus=!1;else if(Ie.target&&this.isRange){const ct=this._getCellFromElement(Ie.target);ct&&this._ngZone.run(()=>this.previewChange.emit({value:ct.enabled?ct:null,event:Ie}))}},this._leaveHandler=Ie=>{null!==this.previewEnd&&this.isRange&&Ie.target&&this._getCellFromElement(Ie.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ie}))},I.runOutsideAngular(()=>{const Ie=m.nativeElement;Ie.addEventListener("mouseenter",this._enterHandler,!0),Ie.addEventListener("focus",this._enterHandler,!0),Ie.addEventListener("mouseleave",this._leaveHandler,!0),Ie.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(m,I){m.enabled&&this.selectedValueChange.emit({value:m.value,event:I})}_emitActiveDateChange(m,I){m.enabled&&this.activeDateChange.emit({value:m.value,event:I})}_isSelected(m){return this.startValue===m||this.endValue===m}ngOnChanges(m){const I=m.numCols,{rows:Ie,numCols:ct}=this;(m.rows||I)&&(this._firstRowOffset=Ie&&Ie.length&&Ie[0].length?ct-Ie[0].length:0),(m.cellAspectRatio||I||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ct+"%"),(I||!this._cellWidth)&&(this._cellWidth=100/ct+"%")}ngOnDestroy(){const m=this._elementRef.nativeElement;m.removeEventListener("mouseenter",this._enterHandler,!0),m.removeEventListener("focus",this._enterHandler,!0),m.removeEventListener("mouseleave",this._leaveHandler,!0),m.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(m,I){let Ie=m*this.numCols+I;return m&&(Ie-=this._firstRowOffset),Ie==this.activeCell}_focusActiveCell(m=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ae.q)(1)).subscribe(()=>{setTimeout(()=>{const I=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");I&&(m||(this._skipNextFocus=!0),I.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(m){return ze(m,this.startValue,this.endValue)}_isRangeEnd(m){return Et(m,this.startValue,this.endValue)}_isInRange(m){return Nt(m,this.startValue,this.endValue,this.isRange)}_isComparisonStart(m){return ze(m,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(m,I,Ie){if(!this._isComparisonStart(m)||this._isRangeStart(m)||!this._isInRange(m))return!1;let ct=this.rows[I][Ie-1];if(!ct){const Xt=this.rows[I-1];ct=Xt&&Xt[Xt.length-1]}return ct&&!this._isRangeEnd(ct.compareValue)}_isComparisonBridgeEnd(m,I,Ie){if(!this._isComparisonEnd(m)||this._isRangeEnd(m)||!this._isInRange(m))return!1;let ct=this.rows[I][Ie+1];if(!ct){const Xt=this.rows[I+1];ct=Xt&&Xt[0]}return ct&&!this._isRangeStart(ct.compareValue)}_isComparisonEnd(m){return Et(m,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(m){return Nt(m,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(m){return this.comparisonStart===this.comparisonEnd&&m===this.comparisonStart}_isPreviewStart(m){return ze(m,this.previewStart,this.previewEnd)}_isPreviewEnd(m){return Et(m,this.previewStart,this.previewEnd)}_isInPreview(m){return Nt(m,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(m){let I;if(gt(m)?I=m:gt(m.parentNode)&&(I=m.parentNode),I){const Ie=I.getAttribute("data-mat-row"),ct=I.getAttribute("data-mat-col");if(Ie&&ct)return this.rows[parseInt(Ie)][parseInt(ct)]}return null}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(l.SBq),l.Y36(l.R0b))},be.\u0275cmp=l.Xpm({type:be,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange"},exportAs:["matCalendarBody"],features:[l.TTD],attrs:le,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(m,I){1&m&&(l.YNc(0,We,3,6,"tr",0),l.YNc(1,Xe,3,2,"tr",1)),2&m&&(l.Q6J("ngIf",I._firstRowOffset<I.labelMinRequiredCells),l.xp6(1),l.Q6J("ngForOf",I.rows))},dependencies:[u.mk,u.sg,u.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0}),be})();function gt(be){return"TD"===be.nodeName}function ze(be,Ze,m){return null!==m&&Ze!==m&&be<m&&be===Ze}function Et(be,Ze,m){return null!==Ze&&Ze!==m&&be>=Ze&&be===m}function Nt(be,Ze,m,I){return I&&null!==Ze&&null!==m&&Ze!==m&&be>=Ze&&be<=m}class $t{constructor(Ze,m){this.start=Ze,this.end=m}}let ln=(()=>{class be{constructor(m,I){this.selection=m,this._adapter=I,this._selectionChanged=new ve.x,this.selectionChanged=this._selectionChanged,this.selection=m}updateSelection(m,I){const Ie=this.selection;this.selection=m,this._selectionChanged.next({selection:m,source:I,oldValue:Ie})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(m){return this._adapter.isDateInstance(m)&&this._adapter.isValid(m)}}return be.\u0275fac=function(m){l.$Z()},be.\u0275prov=l.Yz7({token:be,factory:be.\u0275fac}),be})(),gn=(()=>{class be extends ln{constructor(m){super(null,m)}add(m){super.updateSelection(m,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const m=new be(this._adapter);return m.updateSelection(this.selection,this),m}}return be.\u0275fac=function(m){return new(m||be)(l.LFG(re._A))},be.\u0275prov=l.Yz7({token:be,factory:be.\u0275fac}),be})(),jt=(()=>{class be extends ln{constructor(m){super(new $t(null,null),m)}add(m){let{start:I,end:Ie}=this.selection;null==I?I=m:null==Ie?Ie=m:(I=m,Ie=null),super.updateSelection(new $t(I,Ie),this)}isValid(){const{start:m,end:I}=this.selection;return null==m&&null==I||(null!=m&&null!=I?this._isValidDateInstance(m)&&this._isValidDateInstance(I)&&this._adapter.compareDate(m,I)<=0:(null==m||this._isValidDateInstance(m))&&(null==I||this._isValidDateInstance(I)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const m=new be(this._adapter);return m.updateSelection(this.selection,this),m}}return be.\u0275fac=function(m){return new(m||be)(l.LFG(re._A))},be.\u0275prov=l.Yz7({token:be,factory:be.\u0275fac}),be})();const Qe={provide:ln,deps:[[new l.FiY,new l.tp0,ln],re._A],useFactory:function cn(be,Ze){return be||new gn(Ze)}},xe={provide:ln,deps:[[new l.FiY,new l.tp0,ln],re._A],useFactory:function st(be,Ze){return be||new jt(Ze)}},q=new l.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let k=(()=>{class be{constructor(m){this._dateAdapter=m}selectionFinished(m,I){let{start:Ie,end:ct}=I;return null==Ie?Ie=m:null==ct&&m&&this._dateAdapter.compareDate(m,Ie)>=0?ct=m:(Ie=m,ct=null),new $t(Ie,ct)}createPreview(m,I){let Ie=null,ct=null;return I.start&&!I.end&&m&&(Ie=I.start,ct=m),new $t(Ie,ct)}}return be.\u0275fac=function(m){return new(m||be)(l.LFG(re._A))},be.\u0275prov=l.Yz7({token:be,factory:be.\u0275fac}),be})();const Z={provide:q,deps:[[new l.FiY,new l.tp0,q],re._A],useFactory:function W(be,Ze){return be||new k(Ze)}};let tt=(()=>{class be{constructor(m,I,Ie,ct,Xt){this._changeDetectorRef=m,this._dateFormats=I,this._dateAdapter=Ie,this._dir=ct,this._rangeStrategy=Xt,this._rerenderSubscription=X.w0.EMPTY,this.selectedChange=new l.vpe,this._userSelection=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(m){const I=this._activeDate,Ie=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ie,this.minDate,this.maxDate),this._hasSameMonthAndYear(I,this._activeDate)||this._init()}get selected(){return this._selected}set selected(m){this._selected=m instanceof $t?m:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(m){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}get maxDate(){return this._maxDate}set maxDate(m){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Ae.O)(null)).subscribe(()=>this._init())}ngOnChanges(m){const I=m.comparisonStart||m.comparisonEnd;I&&!I.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(m){const I=m.value,Ie=this._getDateFromDayOfMonth(I);let ct,Xt;this._selected instanceof $t?(ct=this._getDateInCurrentMonth(this._selected.start),Xt=this._getDateInCurrentMonth(this._selected.end)):ct=Xt=this._getDateInCurrentMonth(this._selected),(ct!==I||Xt!==I)&&this.selectedChange.emit(Ie),this._userSelection.emit({value:Ie,event:m.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(m){const Ie=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(m.value),this._dateAdapter.compareDate(Ie,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(m){const I=this._activeDate,Ie=this._isRtl();switch(m.keyCode){case Ce.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ie?1:-1);break;case Ce.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ie?-1:1);break;case Ce.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Ce.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Ce.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Ce.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Ce.Ku:this.activeDate=m.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Ce.VM:this.activeDate=m.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Ce.K5:case Ce.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&m.preventDefault());case Ce.hY:return void(null!=this._previewEnd&&!(0,Ce.Vb)(m)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:m}),m.preventDefault(),m.stopPropagation()));default:return}this._dateAdapter.compareDate(I,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),m.preventDefault()}_handleCalendarBodyKeyup(m){(m.keyCode===Ce.L_||m.keyCode===Ce.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:m}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let m=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(m)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(m){this._matCalendarBody._focusActiveCell(m)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:m,value:I}){if(this._rangeStrategy){const ct=this._rangeStrategy.createPreview(I?I.rawValue:null,this.selected,m);this._previewStart=this._getCellCompareValue(ct.start),this._previewEnd=this._getCellCompareValue(ct.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(m){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),m)}_initWeekdays(){const m=this._dateAdapter.getFirstDayOfWeek(),I=this._dateAdapter.getDayOfWeekNames("narrow");let ct=this._dateAdapter.getDayOfWeekNames("long").map((Xt,bn)=>({long:Xt,narrow:I[bn]}));this._weekdays=ct.slice(m).concat(ct.slice(0,m))}_createWeekCells(){const m=this._dateAdapter.getNumDaysInMonth(this.activeDate),I=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ie=0,ct=this._firstWeekOffset;Ie<m;Ie++,ct++){7==ct&&(this._weeks.push([]),ct=0);const Xt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Ie+1),bn=this._shouldEnableDate(Xt),Nn=this._dateAdapter.format(Xt,this._dateFormats.display.dateA11yLabel),Ln=this.dateClass?this.dateClass(Xt,"month"):void 0;this._weeks[this._weeks.length-1].push(new De(Ie+1,I[Ie],Nn,bn,Ln,this._getCellCompareValue(Xt),Xt))}}_shouldEnableDate(m){return!!m&&(!this.minDate||this._dateAdapter.compareDate(m,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(m,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(m))}_getDateInCurrentMonth(m){return m&&this._hasSameMonthAndYear(m,this.activeDate)?this._dateAdapter.getDate(m):null}_hasSameMonthAndYear(m,I){return!(!m||!I||this._dateAdapter.getMonth(m)!=this._dateAdapter.getMonth(I)||this._dateAdapter.getYear(m)!=this._dateAdapter.getYear(I))}_getCellCompareValue(m){if(m){const I=this._dateAdapter.getYear(m),Ie=this._dateAdapter.getMonth(m),ct=this._dateAdapter.getDate(m);return new Date(I,Ie,ct).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(m){m instanceof $t?(this._rangeStart=this._getCellCompareValue(m.start),this._rangeEnd=this._getCellCompareValue(m.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(m),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(m){return!this.dateFilter||this.dateFilter(m)}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(l.sBO),l.Y36(re.sG,8),l.Y36(re._A,8),l.Y36(Se.Is,8),l.Y36(q,8))},be.\u0275cmp=l.Xpm({type:be,selectors:[["mat-month-view"]],viewQuery:function(m,I){if(1&m&&l.Gf(Ke,5),2&m){let Ie;l.iGM(Ie=l.CRH())&&(I._matCalendarBody=Ie.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[l.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(m,I){1&m&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l.YNc(3,_e,5,2,"th",2),l.qZA(),l.TgZ(4,"tr"),l._UZ(5,"th",3),l.qZA()(),l.TgZ(6,"tbody",4),l.NdJ("selectedValueChange",function(ct){return I._dateSelected(ct)})("activeDateChange",function(ct){return I._updateActiveDate(ct)})("previewChange",function(ct){return I._previewChanged(ct)})("keyup",function(ct){return I._handleCalendarBodyKeyup(ct)})("keydown",function(ct){return I._handleCalendarBodyKeydown(ct)}),l.qZA()()),2&m&&(l.xp6(3),l.Q6J("ngForOf",I._weekdays),l.xp6(3),l.Q6J("label",I._monthLabel)("rows",I._weeks)("todayValue",I._todayDate)("startValue",I._rangeStart)("endValue",I._rangeEnd)("comparisonStart",I._comparisonRangeStart)("comparisonEnd",I._comparisonRangeEnd)("previewStart",I._previewStart)("previewEnd",I._previewEnd)("isRange",I._isRange)("labelMinRequiredCells",3)("activeCell",I._dateAdapter.getDate(I.activeDate)-1))},dependencies:[u.sg,Ke],encapsulation:2,changeDetection:0}),be})(),qt=(()=>{class be{constructor(m,I,Ie){this._changeDetectorRef=m,this._dateAdapter=I,this._dir=Ie,this._rerenderSubscription=X.w0.EMPTY,this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(m){let I=this._activeDate;const Ie=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ie,this.minDate,this.maxDate),en(this._dateAdapter,I,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(m){this._selected=m instanceof $t?m:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m)),this._setSelectedYear(m)}get minDate(){return this._minDate}set minDate(m){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}get maxDate(){return this._maxDate}set maxDate(m){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Ae.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const I=this._dateAdapter.getYear(this._activeDate)-Lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Ie=0,ct=[];Ie<24;Ie++)ct.push(I+Ie),4==ct.length&&(this._years.push(ct.map(Xt=>this._createCellForYear(Xt))),ct=[]);this._changeDetectorRef.markForCheck()}_yearSelected(m){const I=m.value,Ie=this._dateAdapter.createDate(I,0,1),ct=this._getDateFromYear(I);this.yearSelected.emit(Ie),this.selectedChange.emit(ct)}_updateActiveDate(m){const Ie=this._activeDate;this.activeDate=this._getDateFromYear(m.value),this._dateAdapter.compareDate(Ie,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(m){const I=this._activeDate,Ie=this._isRtl();switch(m.keyCode){case Ce.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ie?1:-1);break;case Ce.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ie?-1:1);break;case Ce.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case Ce.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case Ce.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Ce.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Ce.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,m.altKey?-240:-24);break;case Ce.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,m.altKey?240:24);break;case Ce.K5:case Ce.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(I,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),m.preventDefault()}_handleCalendarBodyKeyup(m){(m.keyCode===Ce.L_||m.keyCode===Ce.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:m}),this._selectionKeyPressed=!1)}_getActiveCell(){return Lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(m){const I=this._dateAdapter.getMonth(this.activeDate),Ie=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(m,I,1));return this._dateAdapter.createDate(m,I,Math.min(this._dateAdapter.getDate(this.activeDate),Ie))}_createCellForYear(m){const I=this._dateAdapter.createDate(m,0,1),Ie=this._dateAdapter.getYearName(I),ct=this.dateClass?this.dateClass(I,"multi-year"):void 0;return new De(m,Ie,Ie,this._shouldEnableYear(m),ct)}_shouldEnableYear(m){if(null==m||this.maxDate&&m>this._dateAdapter.getYear(this.maxDate)||this.minDate&&m<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let Ie=this._dateAdapter.createDate(m,0,1);this._dateAdapter.getYear(Ie)==m;Ie=this._dateAdapter.addCalendarDays(Ie,1))if(this.dateFilter(Ie))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(m){if(this._selectedYear=null,m instanceof $t){const I=m.start||m.end;I&&(this._selectedYear=this._dateAdapter.getYear(I))}else m&&(this._selectedYear=this._dateAdapter.getYear(m))}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(l.sBO),l.Y36(re._A,8),l.Y36(Se.Is,8))},be.\u0275cmp=l.Xpm({type:be,selectors:[["mat-multi-year-view"]],viewQuery:function(m,I){if(1&m&&l.Gf(Ke,5),2&m){let Ie;l.iGM(Ie=l.CRH())&&(I._matCalendarBody=Ie.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(m,I){1&m&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l._UZ(3,"th",2),l.qZA()(),l.TgZ(4,"tbody",3),l.NdJ("selectedValueChange",function(ct){return I._yearSelected(ct)})("activeDateChange",function(ct){return I._updateActiveDate(ct)})("keyup",function(ct){return I._handleCalendarBodyKeyup(ct)})("keydown",function(ct){return I._handleCalendarBodyKeydown(ct)}),l.qZA()()),2&m&&(l.xp6(4),l.Q6J("rows",I._years)("todayValue",I._todayYear)("startValue",I._selectedYear)("endValue",I._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",I._getActiveCell()))},dependencies:[Ke],encapsulation:2,changeDetection:0}),be})();function en(be,Ze,m,I,Ie){const ct=be.getYear(Ze),Xt=be.getYear(m),bn=xt(be,I,Ie);return Math.floor((ct-bn)/24)===Math.floor((Xt-bn)/24)}function Lt(be,Ze,m,I){return function Rt(be,Ze){return(be%Ze+Ze)%Ze}(be.getYear(Ze)-xt(be,m,I),24)}function xt(be,Ze,m){let I=0;return m?I=be.getYear(m)-24+1:Ze&&(I=be.getYear(Ze)),I}let ge=(()=>{class be{constructor(m,I,Ie,ct){this._changeDetectorRef=m,this._dateFormats=I,this._dateAdapter=Ie,this._dir=ct,this._rerenderSubscription=X.w0.EMPTY,this.selectedChange=new l.vpe,this.monthSelected=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(m){let I=this._activeDate;const Ie=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ie,this.minDate,this.maxDate),this._dateAdapter.getYear(I)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(m){this._selected=m instanceof $t?m:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m)),this._setSelectedMonth(m)}get minDate(){return this._minDate}set minDate(m){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}get maxDate(){return this._maxDate}set maxDate(m){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Ae.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(m){const I=m.value,Ie=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),I,1);this.monthSelected.emit(Ie);const ct=this._getDateFromMonth(I);this.selectedChange.emit(ct)}_updateActiveDate(m){const Ie=this._activeDate;this.activeDate=this._getDateFromMonth(m.value),this._dateAdapter.compareDate(Ie,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(m){const I=this._activeDate,Ie=this._isRtl();switch(m.keyCode){case Ce.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ie?1:-1);break;case Ce.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ie?-1:1);break;case Ce.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Ce.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Ce.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Ce.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Ce.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,m.altKey?-10:-1);break;case Ce.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,m.altKey?10:1);break;case Ce.K5:case Ce.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(I,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),m.preventDefault()}_handleCalendarBodyKeyup(m){(m.keyCode===Ce.L_||m.keyCode===Ce.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:m}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let m=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(I=>I.map(Ie=>this._createCellForMonth(Ie,m[Ie]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(m){return m&&this._dateAdapter.getYear(m)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(m):null}_getDateFromMonth(m){const I=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),m,1),Ie=this._dateAdapter.getNumDaysInMonth(I);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),m,Math.min(this._dateAdapter.getDate(this.activeDate),Ie))}_createCellForMonth(m,I){const Ie=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),m,1),ct=this._dateAdapter.format(Ie,this._dateFormats.display.monthYearA11yLabel),Xt=this.dateClass?this.dateClass(Ie,"year"):void 0;return new De(m,I.toLocaleUpperCase(),ct,this._shouldEnableMonth(m),Xt)}_shouldEnableMonth(m){const I=this._dateAdapter.getYear(this.activeDate);if(null==m||this._isYearAndMonthAfterMaxDate(I,m)||this._isYearAndMonthBeforeMinDate(I,m))return!1;if(!this.dateFilter)return!0;for(let ct=this._dateAdapter.createDate(I,m,1);this._dateAdapter.getMonth(ct)==m;ct=this._dateAdapter.addCalendarDays(ct,1))if(this.dateFilter(ct))return!0;return!1}_isYearAndMonthAfterMaxDate(m,I){if(this.maxDate){const Ie=this._dateAdapter.getYear(this.maxDate),ct=this._dateAdapter.getMonth(this.maxDate);return m>Ie||m===Ie&&I>ct}return!1}_isYearAndMonthBeforeMinDate(m,I){if(this.minDate){const Ie=this._dateAdapter.getYear(this.minDate),ct=this._dateAdapter.getMonth(this.minDate);return m<Ie||m===Ie&&I<ct}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(m){this._selectedMonth=m instanceof $t?this._getMonthInCurrentYear(m.start)||this._getMonthInCurrentYear(m.end):this._getMonthInCurrentYear(m)}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(l.sBO),l.Y36(re.sG,8),l.Y36(re._A,8),l.Y36(Se.Is,8))},be.\u0275cmp=l.Xpm({type:be,selectors:[["mat-year-view"]],viewQuery:function(m,I){if(1&m&&l.Gf(Ke,5),2&m){let Ie;l.iGM(Ie=l.CRH())&&(I._matCalendarBody=Ie.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(m,I){1&m&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l._UZ(3,"th",2),l.qZA()(),l.TgZ(4,"tbody",3),l.NdJ("selectedValueChange",function(ct){return I._monthSelected(ct)})("activeDateChange",function(ct){return I._updateActiveDate(ct)})("keyup",function(ct){return I._handleCalendarBodyKeyup(ct)})("keydown",function(ct){return I._handleCalendarBodyKeydown(ct)}),l.qZA()()),2&m&&(l.xp6(4),l.Q6J("label",I._yearLabel)("rows",I._months)("todayValue",I._todayMonth)("startValue",I._selectedMonth)("endValue",I._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",I._dateAdapter.getMonth(I.activeDate)))},dependencies:[Ke],encapsulation:2,changeDetection:0}),be})(),Ge=(()=>{class be{constructor(){this.changes=new ve.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(m,I){return`${m} \u2013 ${I}`}formatYearRangeLabel(m,I){return`${m} to ${I}`}}return be.\u0275fac=function(m){return new(m||be)},be.\u0275prov=l.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),rt=0,L=(()=>{class be{constructor(m,I,Ie,ct,Xt){this._intl=m,this.calendar=I,this._dateAdapter=Ie,this._dateFormats=ct,this._buttonDescriptionId="mat-calendar-button-"+rt++,this.calendar.stateChanges.subscribe(()=>Xt.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const I=this._dateAdapter.getYear(this.calendar.activeDate)-Lt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Ie=I+24-1,ct=this._dateAdapter.getYearName(this._dateAdapter.createDate(I,0,1)),Xt=this._dateAdapter.getYearName(this._dateAdapter.createDate(Ie,0,1));return this._intl.formatYearRange(ct,Xt)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(m,I){return"month"==this.calendar.currentView?this._dateAdapter.getYear(m)==this._dateAdapter.getYear(I)&&this._dateAdapter.getMonth(m)==this._dateAdapter.getMonth(I):"year"==this.calendar.currentView?this._dateAdapter.getYear(m)==this._dateAdapter.getYear(I):en(this._dateAdapter,m,I,this.calendar.minDate,this.calendar.maxDate)}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(Ge),l.Y36((0,l.Gpc)(()=>me)),l.Y36(re._A,8),l.Y36(re.sG,8),l.Y36(l.sBO))},be.\u0275cmp=l.Xpm({type:be,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:lt,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(m,I){1&m&&(l.F$t(),l.TgZ(0,"div",0)(1,"div",1)(2,"button",2),l.NdJ("click",function(){return I.currentPeriodClicked()}),l.TgZ(3,"span"),l._uU(4),l.qZA(),l.O4$(),l.TgZ(5,"svg",3),l._UZ(6,"polygon",4),l.qZA()(),l.kcU(),l._UZ(7,"div",5),l.Hsn(8),l.TgZ(9,"button",6),l.NdJ("click",function(){return I.previousClicked()}),l.qZA(),l.TgZ(10,"button",7),l.NdJ("click",function(){return I.nextClicked()}),l.qZA()()()),2&m&&(l.xp6(2),l.uIk("aria-label",I.periodButtonLabel)("aria-describedby",I._buttonDescriptionId),l.xp6(1),l.uIk("id",I._buttonDescriptionId),l.xp6(1),l.Oqu(I.periodButtonText),l.xp6(1),l.ekj("mat-calendar-invert","month"!==I.calendar.currentView),l.xp6(4),l.Q6J("disabled",!I.previousEnabled()),l.uIk("aria-label",I.prevButtonLabel),l.xp6(1),l.Q6J("disabled",!I.nextEnabled()),l.uIk("aria-label",I.nextButtonLabel))},dependencies:[Me.lW],encapsulation:2,changeDetection:0}),be})(),me=(()=>{class be{constructor(m,I,Ie,ct){this._dateAdapter=I,this._dateFormats=Ie,this._changeDetectorRef=ct,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.monthSelected=new l.vpe,this.viewChanged=new l.vpe(!0),this._userSelection=new l.vpe,this.stateChanges=new ve.x,this._intlChanges=m.changes.subscribe(()=>{ct.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(m){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}get selected(){return this._selected}set selected(m){this._selected=m instanceof $t?m:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}get minDate(){return this._minDate}set minDate(m){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}get maxDate(){return this._maxDate}set maxDate(m){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}get activeDate(){return this._clampedActiveDate}set activeDate(m){this._clampedActiveDate=this._dateAdapter.clampDate(m,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(m){const I=this._currentView!==m?m:null;this._currentView=m,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),I&&this.viewChanged.emit(I)}ngAfterContentInit(){this._calendarHeaderPortal=new h.C5(this.headerComponent||L),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(m){const I=m.minDate&&!this._dateAdapter.sameDate(m.minDate.previousValue,m.minDate.currentValue)?m.minDate:void 0,Ie=m.maxDate&&!this._dateAdapter.sameDate(m.maxDate.previousValue,m.maxDate.currentValue)?m.maxDate:void 0,ct=I||Ie||m.dateFilter;if(ct&&!ct.firstChange){const Xt=this._getCurrentViewComponent();Xt&&(this._changeDetectorRef.detectChanges(),Xt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(m){const I=m.value;(this.selected instanceof $t||I&&!this._dateAdapter.sameDate(I,this.selected))&&this.selectedChange.emit(I),this._userSelection.emit(m)}_yearSelectedInMultiYearView(m){this.yearSelected.emit(m)}_monthSelectedInYearView(m){this.monthSelected.emit(m)}_goToDateInView(m,I){this.activeDate=m,this.currentView=I}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(Ge),l.Y36(re._A,8),l.Y36(re.sG,8),l.Y36(l.sBO))},be.\u0275cmp=l.Xpm({type:be,selectors:[["mat-calendar"]],viewQuery:function(m,I){if(1&m&&(l.Gf(tt,5),l.Gf(ge,5),l.Gf(qt,5)),2&m){let Ie;l.iGM(Ie=l.CRH())&&(I.monthView=Ie.first),l.iGM(Ie=l.CRH())&&(I.yearView=Ie.first),l.iGM(Ie=l.CRH())&&(I.multiYearView=Ie.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[l._Bn([Qe]),l.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(m,I){1&m&&(l.YNc(0,je,0,0,"ng-template",0),l.TgZ(1,"div",1),l.YNc(2,pt,1,8,"mat-month-view",2),l.YNc(3,it,1,6,"mat-year-view",3),l.YNc(4,ft,1,6,"mat-multi-year-view",4),l.qZA()),2&m&&(l.Q6J("cdkPortalOutlet",I._calendarHeaderPortal),l.xp6(1),l.Q6J("ngSwitch",I.currentView),l.xp6(1),l.Q6J("ngSwitchCase","month"),l.xp6(1),l.Q6J("ngSwitchCase","year"),l.xp6(1),l.Q6J("ngSwitchCase","multi-year"))},dependencies:[u.RF,u.n9,s.kH,h.Pl,tt,ge,qt],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),be})();const T={transformPanel:(0,Mt.X$)("transformPanel",[(0,Mt.eR)("void => enter-dropdown",(0,Mt.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Mt.F4)([(0,Mt.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,Mt.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,Mt.eR)("void => enter-dialog",(0,Mt.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,Mt.F4)([(0,Mt.oB)({opacity:0,transform:"scale(0.7)"}),(0,Mt.oB)({transform:"none",opacity:1})]))),(0,Mt.eR)("* => void",(0,Mt.jt)("100ms linear",(0,Mt.oB)({opacity:0})))]),fadeInCalendar:(0,Mt.X$)("fadeInCalendar",[(0,Mt.SB)("void",(0,Mt.oB)({opacity:0})),(0,Mt.SB)("enter",(0,Mt.oB)({opacity:1})),(0,Mt.eR)("void => *",(0,Mt.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let D=0;const z=new l.OlP("mat-datepicker-scroll-strategy"),ue={provide:z,deps:[i.aV],useFactory:function P(be){return()=>be.scrollStrategies.reposition()}},te=(0,re.pj)(class{constructor(be){this._elementRef=be}});let F=(()=>{class be extends te{constructor(m,I,Ie,ct,Xt,bn){super(m),this._changeDetectorRef=I,this._globalModel=Ie,this._dateAdapter=ct,this._rangeSelectionStrategy=Xt,this._subscriptions=new X.w0,this._animationDone=new ve.x,this._actionsPortal=null,this._closeButtonText=bn.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(m){const I=this._model.selection,Ie=m.value,ct=I instanceof $t;if(ct&&this._rangeSelectionStrategy){const Xt=this._rangeSelectionStrategy.selectionFinished(Ie,I,m.event);this._model.updateSelection(Xt,this)}else Ie&&(ct||!this._dateAdapter.sameDate(Ie,I))&&this._model.add(Ie);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(m,I){this._model=m?this._globalModel.clone():this._globalModel,this._actionsPortal=m,I&&this._changeDetectorRef.detectChanges()}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(ln),l.Y36(re._A),l.Y36(q,8),l.Y36(Ge))},be.\u0275cmp=l.Xpm({type:be,selectors:[["mat-datepicker-content"]],viewQuery:function(m,I){if(1&m&&l.Gf(me,5),2&m){let Ie;l.iGM(Ie=l.CRH())&&(I._calendar=Ie.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(m,I){1&m&&l.WFA("@transformPanel.done",function(){return I._animationDone.next()}),2&m&&(l.d8E("@transformPanel",I._animationState),l.ekj("mat-datepicker-content-touch",I.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[l.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(m,I){if(1&m&&(l.TgZ(0,"div",0)(1,"mat-calendar",1),l.NdJ("yearSelected",function(ct){return I.datepicker._selectYear(ct)})("monthSelected",function(ct){return I.datepicker._selectMonth(ct)})("viewChanged",function(ct){return I.datepicker._viewChanged(ct)})("_userSelection",function(ct){return I._handleUserSelection(ct)}),l.qZA(),l.YNc(2,Ct,0,0,"ng-template",2),l.TgZ(3,"button",3),l.NdJ("focus",function(){return I._closeButtonFocused=!0})("blur",function(){return I._closeButtonFocused=!1})("click",function(){return I.datepicker.close()}),l._uU(4),l.qZA()()),2&m){let Ie;l.ekj("mat-datepicker-content-container-with-custom-header",I.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",I._actionsPortal),l.uIk("aria-modal",!0)("aria-labelledby",null!==(Ie=I._dialogLabelId)&&void 0!==Ie?Ie:void 0),l.xp6(1),l.Q6J("id",I.datepicker.id)("ngClass",I.datepicker.panelClass)("startAt",I.datepicker.startAt)("startView",I.datepicker.startView)("minDate",I.datepicker._getMinDate())("maxDate",I.datepicker._getMaxDate())("dateFilter",I.datepicker._getDateFilter())("headerComponent",I.datepicker.calendarHeaderComponent)("selected",I._getSelected())("dateClass",I.datepicker.dateClass)("comparisonStart",I.comparisonStart)("comparisonEnd",I.comparisonEnd)("@fadeInCalendar","enter"),l.xp6(1),l.Q6J("cdkPortalOutlet",I._actionsPortal),l.xp6(1),l.ekj("cdk-visually-hidden",!I._closeButtonFocused),l.Q6J("color",I.color||"primary"),l.xp6(1),l.Oqu(I._closeButtonText)}},dependencies:[u.mk,Me.lW,s.mK,h.Pl,me],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[T.transformPanel,T.fadeInCalendar]},changeDetection:0}),be})(),G=(()=>{class be{constructor(m,I,Ie,ct,Xt,bn,Nn){this._overlay=m,this._ngZone=I,this._viewContainerRef=Ie,this._dateAdapter=Xt,this._dir=bn,this._model=Nn,this._inputStateChanges=X.w0.EMPTY,this._document=(0,l.f3M)(u.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new l.vpe,this.monthSelected=new l.vpe,this.viewChanged=new l.vpe(!0),this.openedStream=new l.vpe,this.closedStream=new l.vpe,this._opened=!1,this.id="mat-datepicker-"+D++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new ve.x,this._scrollStrategy=ct}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(m){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(m){this._color=m}get touchUi(){return this._touchUi}set touchUi(m){this._touchUi=(0,mt.Ig)(m)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(m){const I=(0,mt.Ig)(m);I!==this._disabled&&(this._disabled=I,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(m){this._restoreFocus=(0,mt.Ig)(m)}get panelClass(){return this._panelClass}set panelClass(m){this._panelClass=(0,mt.du)(m)}get opened(){return this._opened}set opened(m){(0,mt.Ig)(m)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(m){const I=m.xPosition||m.yPosition;if(I&&!I.firstChange&&this._overlayRef){const Ie=this._overlayRef.getConfig().positionStrategy;Ie instanceof i._G&&(this._setConnectedPositions(Ie),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(m){this._model.add(m)}_selectYear(m){this.yearSelected.emit(m)}_selectMonth(m){this.monthSelected.emit(m)}_viewChanged(m){this.viewChanged.emit(m)}registerInput(m){return this._inputStateChanges.unsubscribe(),this.datepickerInput=m,this._inputStateChanges=m.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(m){var I;this._actionsPortal=m,null===(I=this._componentRef)||void 0===I||I.instance._assignActions(m,!0)}removeActions(m){var I;m===this._actionsPortal&&(this._actionsPortal=null,null===(I=this._componentRef)||void 0===I||I.instance._assignActions(null,!0))}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,bt.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;const m=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,I=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Ie,location:ct}=this._componentRef;Ie._startExitAnimation(),Ie._animationDone.pipe((0,ae.q)(1)).subscribe(()=>{const Xt=this._document.activeElement;m&&(!Xt||Xt===this._document.activeElement||ct.nativeElement.contains(Xt))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}m?setTimeout(I):I()}_applyPendingSelection(){var m,I;null===(I=null===(m=this._componentRef)||void 0===m?void 0:m.instance)||void 0===I||I._applyPendingSelection()}_forwardContentValues(m){m.datepicker=this,m.color=this.color,m._dialogLabelId=this.datepickerInput.getOverlayLabelId(),m._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const m=this.touchUi,I=new h.C5(F,this._viewContainerRef),Ie=this._overlayRef=this._overlay.create(new i.X_({positionStrategy:m?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[m?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:m?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(m?"dialog":"popup")}));this._getCloseStream(Ie).subscribe(ct=>{ct&&ct.preventDefault(),this.close()}),Ie.keydownEvents().subscribe(ct=>{const Xt=ct.keyCode;(Xt===Ce.LH||Xt===Ce.JH||Xt===Ce.oh||Xt===Ce.SV||Xt===Ce.Ku||Xt===Ce.VM)&&ct.preventDefault()}),this._componentRef=Ie.attach(I),this._forwardContentValues(this._componentRef.instance),m||this._ngZone.onStable.pipe((0,ae.q)(1)).subscribe(()=>Ie.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const m=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(m)}_setConnectedPositions(m){const I="end"===this.xPosition?"end":"start",Ie="start"===I?"end":"start",ct="above"===this.yPosition?"bottom":"top",Xt="top"===ct?"bottom":"top";return m.withPositions([{originX:I,originY:Xt,overlayX:I,overlayY:ct},{originX:I,originY:ct,overlayX:I,overlayY:Xt},{originX:Ie,originY:Xt,overlayX:Ie,overlayY:ct},{originX:Ie,originY:ct,overlayX:Ie,overlayY:Xt}])}_getCloseStream(m){return(0,Ne.T)(m.backdropClick(),m.detachments(),m.keydownEvents().pipe((0,Be.h)(I=>I.keyCode===Ce.hY&&!(0,Ce.Vb)(I)||this.datepickerInput&&(0,Ce.Vb)(I,"altKey")&&I.keyCode===Ce.LH)))}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(i.aV),l.Y36(l.R0b),l.Y36(l.s_b),l.Y36(z),l.Y36(re._A,8),l.Y36(Se.Is,8),l.Y36(ln))},be.\u0275dir=l.lG2({type:be,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[l.TTD]}),be})();class ye{constructor(Ze,m){this.target=Ze,this.targetElement=m,this.value=this.target.value}}let H=(()=>{class be{constructor(m,I,Ie){this._elementRef=m,this._dateAdapter=I,this._dateFormats=Ie,this.dateChange=new l.vpe,this.dateInput=new l.vpe,this.stateChanges=new ve.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=X.w0.EMPTY,this._localeSubscription=X.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=ct=>{const Xt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ct.value));return!Xt||this._matchesFilter(Xt)?null:{matDatepickerFilter:!0}},this._minValidator=ct=>{const Xt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ct.value)),bn=this._getMinDate();return!bn||!Xt||this._dateAdapter.compareDate(bn,Xt)<=0?null:{matDatepickerMin:{min:bn,actual:Xt}}},this._maxValidator=ct=>{const Xt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ct.value)),bn=this._getMaxDate();return!bn||!Xt||this._dateAdapter.compareDate(bn,Xt)>=0?null:{matDatepickerMax:{max:bn,actual:Xt}}},this._lastValueValid=!1,this._localeSubscription=I.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(m){this._assignValueProgrammatically(m)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(m){const I=(0,mt.Ig)(m),Ie=this._elementRef.nativeElement;this._disabled!==I&&(this._disabled=I,this.stateChanges.next(void 0)),I&&this._isInitialized&&Ie.blur&&Ie.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(m){this._model=m,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(I=>{if(this._shouldHandleChangeEvent(I)){const Ie=this._getValueFromModel(I.selection);this._lastValueValid=this._isValidValue(Ie),this._cvaOnChange(Ie),this._onTouched(),this._formatValue(Ie),this.dateInput.emit(new ye(this,this._elementRef.nativeElement)),this.dateChange.emit(new ye(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(m){Ue(m,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(m){this._validatorOnChange=m}validate(m){return this._validator?this._validator(m):null}writeValue(m){this._assignValueProgrammatically(m)}registerOnChange(m){this._cvaOnChange=m}registerOnTouched(m){this._onTouched=m}setDisabledState(m){this.disabled=m}_onKeydown(m){m.altKey&&m.keyCode===Ce.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),m.preventDefault())}_onInput(m){const I=this._lastValueValid;let Ie=this._dateAdapter.parse(m,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ie),Ie=this._dateAdapter.getValidDateOrNull(Ie);const ct=!this._dateAdapter.sameDate(Ie,this.value);!Ie||ct?this._cvaOnChange(Ie):(m&&!this.value&&this._cvaOnChange(Ie),I!==this._lastValueValid&&this._validatorOnChange()),ct&&(this._assignValue(Ie),this.dateInput.emit(new ye(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new ye(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(m){this._elementRef.nativeElement.value=null!=m?this._dateAdapter.format(m,this._dateFormats.display.dateInput):""}_assignValue(m){this._model?(this._assignValueToModel(m),this._pendingValue=null):this._pendingValue=m}_isValidValue(m){return!m||this._dateAdapter.isValid(m)}_parentDisabled(){return!1}_assignValueProgrammatically(m){m=this._dateAdapter.deserialize(m),this._lastValueValid=this._isValidValue(m),m=this._dateAdapter.getValidDateOrNull(m),this._assignValue(m),this._formatValue(m)}_matchesFilter(m){const I=this._getDateFilter();return!I||I(m)}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(l.SBq),l.Y36(re._A,8),l.Y36(re.sG,8))},be.\u0275dir=l.lG2({type:be,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l.TTD]}),be})();function Ue(be,Ze){const m=Object.keys(be);for(let I of m){const{previousValue:Ie,currentValue:ct}=be[I];if(!Ze.isDateInstance(Ie)||!Ze.isDateInstance(ct))return!0;if(!Ze.sameDate(Ie,ct))return!0}return!1}let Ye=(()=>{class be{}return be.\u0275fac=function(m){return new(m||be)},be.\u0275dir=l.lG2({type:be,selectors:[["","matDatepickerToggleIcon",""]]}),be})(),R=(()=>{class be{constructor(m,I,Ie){this._intl=m,this._changeDetectorRef=I,this._stateChanges=X.w0.EMPTY;const ct=Number(Ie);this.tabIndex=ct||0===ct?ct:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(m){this._disabled=(0,mt.Ig)(m)}ngOnChanges(m){m.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(m){this.datepicker&&!this.disabled&&(this.datepicker.open(),m.stopPropagation())}_watchStateChanges(){const m=this.datepicker?this.datepicker.stateChanges:(0,ne.of)(),I=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,ne.of)(),Ie=this.datepicker?(0,Ne.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,ne.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Ne.T)(this._intl.changes,m,I,Ie).subscribe(()=>this._changeDetectorRef.markForCheck())}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(Ge),l.Y36(l.sBO),l.$8M("tabindex"))},be.\u0275cmp=l.Xpm({type:be,selectors:[["mat-datepicker-toggle"]],contentQueries:function(m,I,Ie){if(1&m&&l.Suo(Ie,Ye,5),2&m){let ct;l.iGM(ct=l.CRH())&&(I._customIcon=ct.first)}},viewQuery:function(m,I){if(1&m&&l.Gf(St,5),2&m){let Ie;l.iGM(Ie=l.CRH())&&(I._button=Ie.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(m,I){1&m&&l.NdJ("click",function(ct){return I._open(ct)}),2&m&&(l.uIk("tabindex",null)("data-mat-calendar",I.datepicker?I.datepicker.id:null),l.ekj("mat-datepicker-toggle-active",I.datepicker&&I.datepicker.opened)("mat-accent",I.datepicker&&"accent"===I.datepicker.color)("mat-warn",I.datepicker&&"warn"===I.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[l.TTD],ngContentSelectors:_,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(m,I){1&m&&(l.F$t(B),l.TgZ(0,"button",0,1),l.YNc(2,Y,2,0,"svg",2),l.Hsn(3),l.qZA()),2&m&&(l.Q6J("disabled",I.disabled)("disableRipple",I.disableRipple),l.uIk("aria-haspopup",I.datepicker?"dialog":null)("aria-label",I.ariaLabel||I._intl.openCalendarLabel)("tabindex",I.disabled?-1:I.tabIndex),l.xp6(2),l.Q6J("ngIf",!I._customIcon))},dependencies:[u.O5,Me.lW],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),be})();const ee=new l.OlP("MAT_DATE_RANGE_INPUT_PARENT"),fe=(0,re.FD)((()=>{class be extends H{constructor(m,I,Ie,ct,Xt,bn,Nn,Ln){super(I,Nn,Ln),this._rangeInput=m,this._elementRef=I,this._defaultErrorStateMatcher=Ie,this._injector=ct,this._parentForm=Xt,this._parentFormGroup=bn,this._dir=(0,l.f3M)(Se.Is,l.XFs.Optional)}ngOnInit(){const m=this._injector.get(ke.a5,null,l.XFs.Self|l.XFs.Optional);m&&(this.ngControl=m)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}_onInput(m){super._onInput(m),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:m}){return m!==this._rangeInput._startInput&&m!==this._rangeInput._endInput}_assignValueProgrammatically(m){super._assignValueProgrammatically(m);const I=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput;null==I||I._validatorOnChange()}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(ee),l.Y36(l.SBq),l.Y36(re.rD),l.Y36(l.zs3),l.Y36(ke.F,8),l.Y36(ke.sg,8),l.Y36(re._A,8),l.Y36(re.sG,8))},be.\u0275dir=l.lG2({type:be,features:[l.qOj]}),be})());let ht=(()=>{class be extends fe{constructor(m,I,Ie,ct,Xt,bn,Nn,Ln){super(m,I,Ie,ct,Xt,bn,Nn,Ln),this._startValidator=Pn=>{const qn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Pn.value)),ai=this._model?this._model.selection.end:null;return!qn||!ai||this._dateAdapter.compareDate(qn,ai)<=0?null:{matStartDateInvalid:{end:ai,actual:qn}}},this._validator=ke.kI.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(m){return m.start}_shouldHandleChangeEvent(m){var I;return!(!super._shouldHandleChangeEvent(m)||(null!==(I=m.oldValue)&&void 0!==I&&I.start?m.selection.start&&!this._dateAdapter.compareDate(m.oldValue.start,m.selection.start):!m.selection.start))}_assignValueToModel(m){if(this._model){const I=new $t(m,this._model.selection.end);this._model.updateSelection(I,this)}}_formatValue(m){super._formatValue(m),this._rangeInput._handleChildValueChange()}getMirrorValue(){const m=this._elementRef.nativeElement,I=m.value;return I.length>0?I:m.placeholder}_onKeydown(m){var I;const Ie=this._rangeInput._endInput,ct=this._elementRef.nativeElement,Xt="rtl"!==(null===(I=this._dir)||void 0===I?void 0:I.value);(m.keyCode===Ce.SV&&Xt||m.keyCode===Ce.oh&&!Xt)&&ct.selectionStart===ct.value.length&&ct.selectionEnd===ct.value.length?(m.preventDefault(),Ie._elementRef.nativeElement.setSelectionRange(0,0),Ie.focus()):super._onKeydown(m)}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(ee),l.Y36(l.SBq),l.Y36(re.rD),l.Y36(l.zs3),l.Y36(ke.F,8),l.Y36(ke.sg,8),l.Y36(re._A,8),l.Y36(re.sG,8))},be.\u0275dir=l.lG2({type:be,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(m,I){1&m&&l.NdJ("input",function(ct){return I._onInput(ct.target.value)})("change",function(){return I._onChange()})("keydown",function(ct){return I._onKeydown(ct)})("blur",function(){return I._onBlur()}),2&m&&(l.Ikx("disabled",I.disabled),l.uIk("id",I._rangeInput.id)("aria-haspopup",I._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==I._rangeInput.rangePicker?null:I._rangeInput.rangePicker.opened)&&I._rangeInput.rangePicker.id||null)("min",I._getMinDate()?I._dateAdapter.toIso8601(I._getMinDate()):null)("max",I._getMaxDate()?I._dateAdapter.toIso8601(I._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l._Bn([{provide:ke.JU,useExisting:be,multi:!0},{provide:ke.Cf,useExisting:be,multi:!0}]),l.qOj]}),be})(),Pt=(()=>{class be extends fe{constructor(m,I,Ie,ct,Xt,bn,Nn,Ln){super(m,I,Ie,ct,Xt,bn,Nn,Ln),this._endValidator=Pn=>{const qn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Pn.value)),ai=this._model?this._model.selection.start:null;return!qn||!ai||this._dateAdapter.compareDate(qn,ai)>=0?null:{matEndDateInvalid:{start:ai,actual:qn}}},this._validator=ke.kI.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(m){return m.end}_shouldHandleChangeEvent(m){var I;return!(!super._shouldHandleChangeEvent(m)||(null!==(I=m.oldValue)&&void 0!==I&&I.end?m.selection.end&&!this._dateAdapter.compareDate(m.oldValue.end,m.selection.end):!m.selection.end))}_assignValueToModel(m){if(this._model){const I=new $t(this._model.selection.start,m);this._model.updateSelection(I,this)}}_onKeydown(m){var I;const Ie=this._rangeInput._startInput,ct=this._elementRef.nativeElement,Xt="rtl"!==(null===(I=this._dir)||void 0===I?void 0:I.value);if(m.keyCode!==Ce.ZH||ct.value)if((m.keyCode===Ce.oh&&Xt||m.keyCode===Ce.SV&&!Xt)&&0===ct.selectionStart&&0===ct.selectionEnd){m.preventDefault();const bn=Ie._elementRef.nativeElement.value.length;Ie._elementRef.nativeElement.setSelectionRange(bn,bn),Ie.focus()}else super._onKeydown(m);else Ie.focus()}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(ee),l.Y36(l.SBq),l.Y36(re.rD),l.Y36(l.zs3),l.Y36(ke.F,8),l.Y36(ke.sg,8),l.Y36(re._A,8),l.Y36(re.sG,8))},be.\u0275dir=l.lG2({type:be,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(m,I){1&m&&l.NdJ("input",function(ct){return I._onInput(ct.target.value)})("change",function(){return I._onChange()})("keydown",function(ct){return I._onKeydown(ct)})("blur",function(){return I._onBlur()}),2&m&&(l.Ikx("disabled",I.disabled),l.uIk("aria-haspopup",I._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==I._rangeInput.rangePicker?null:I._rangeInput.rangePicker.opened)&&I._rangeInput.rangePicker.id||null)("min",I._getMinDate()?I._dateAdapter.toIso8601(I._getMinDate()):null)("max",I._getMaxDate()?I._dateAdapter.toIso8601(I._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l._Bn([{provide:ke.JU,useExisting:be,multi:!0},{provide:ke.Cf,useExisting:be,multi:!0}]),l.qOj]}),be})(),Ut=0,tn=(()=>{class be{constructor(m,I,Ie,ct,Xt){if(this._changeDetectorRef=m,this._elementRef=I,this._dateAdapter=ct,this._formField=Xt,this._closedSubscription=X.w0.EMPTY,this.id="mat-date-range-input-"+Ut++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new ve.x,null!=Xt&&Xt._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){const bn=I.nativeElement.classList;bn.add("mat-mdc-input-element"),bn.add("mat-mdc-form-field-input-control")}this.ngControl=Ie}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){var m,I;const Ie=(null===(m=this._startInput)||void 0===m?void 0:m._getPlaceholder())||"",ct=(null===(I=this._endInput)||void 0===I?void 0:I._getPlaceholder())||"";return Ie||ct?`${Ie} ${this.separator} ${ct}`:""}get rangePicker(){return this._rangePicker}set rangePicker(m){m&&(this._model=m.registerInput(this),this._rangePicker=m,this._closedSubscription.unsubscribe(),this._closedSubscription=m.closedStream.subscribe(()=>{var I,Ie;null===(I=this._startInput)||void 0===I||I._onTouched(),null===(Ie=this._endInput)||void 0===Ie||Ie._onTouched()}),this._registerModel(this._model))}get required(){return!!this._required}set required(m){this._required=(0,mt.Ig)(m)}get dateFilter(){return this._dateFilter}set dateFilter(m){const I=this._startInput,Ie=this._endInput,ct=I&&I._matchesFilter(I.value),Xt=Ie&&Ie._matchesFilter(I.value);this._dateFilter=m,I&&I._matchesFilter(I.value)!==ct&&I._validatorOnChange(),Ie&&Ie._matchesFilter(Ie.value)!==Xt&&Ie._validatorOnChange()}get min(){return this._min}set min(m){const I=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m));this._dateAdapter.sameDate(I,this._min)||(this._min=I,this._revalidate())}get max(){return this._max}set max(m){const I=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m));this._dateAdapter.sameDate(I,this._max)||(this._max=I,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(m){const I=(0,mt.Ig)(m);I!==this._groupDisabled&&(this._groupDisabled=I,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const m=!!this._startInput&&this._startInput.isEmpty(),I=!!this._endInput&&this._endInput.isEmpty();return m&&I}setDescribedByIds(m){this._ariaDescribedBy=m.length?m.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,Ne.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(m){Ue(m,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(){return this._startInput?this._startInput.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const m=this._formField;return m&&m._hasFloatingLabel()?m._labelId:null}_updateFocus(m){this.focused=null!==m,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(m){this._startInput&&this._startInput._registerModel(m),this._endInput&&this._endInput._registerModel(m)}}return be.\u0275fac=function(m){return new(m||be)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(ke.gN,10),l.Y36(re._A,8),l.Y36(oe.G_,8))},be.\u0275cmp=l.Xpm({type:be,selectors:[["mat-date-range-input"]],contentQueries:function(m,I,Ie){if(1&m&&(l.Suo(Ie,ht,5),l.Suo(Ie,Pt,5)),2&m){let ct;l.iGM(ct=l.CRH())&&(I._startInput=ct.first),l.iGM(ct=l.CRH())&&(I._endInput=ct.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(m,I){2&m&&(l.uIk("id",null)("aria-labelledby",I._getAriaLabelledby())("aria-describedby",I._ariaDescribedBy)("data-mat-calendar",I.rangePicker?I.rangePicker.id:null),l.ekj("mat-date-range-input-hide-placeholders",I._shouldHidePlaceholders())("mat-date-range-input-required",I.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[l._Bn([{provide:oe.Eo,useExisting:be},{provide:ee,useExisting:be}]),l.TTD],ngContentSelectors:J,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(m,I){1&m&&(l.F$t(A),l.TgZ(0,"div",0),l.NdJ("cdkFocusChange",function(ct){return I._updateFocus(ct)}),l.TgZ(1,"div",1),l.Hsn(2),l.TgZ(3,"span",2),l._uU(4),l.qZA()(),l.TgZ(5,"span",3),l._uU(6),l.qZA(),l.TgZ(7,"div",4),l.Hsn(8,1),l.qZA()()),2&m&&(l.xp6(4),l.Oqu(I._getInputMirrorValue()),l.xp6(1),l.ekj("mat-date-range-input-separator-hidden",I._shouldHideSeparator()),l.xp6(1),l.Oqu(I.separator))},dependencies:[s.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0}),be})(),fn=(()=>{class be extends G{_forwardContentValues(m){super._forwardContentValues(m);const I=this.datepickerInput;I&&(m.comparisonStart=I.comparisonStart,m.comparisonEnd=I.comparisonEnd)}}return be.\u0275fac=function(){let Ze;return function(I){return(Ze||(Ze=l.n5z(be)))(I||be)}}(),be.\u0275cmp=l.Xpm({type:be,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[l._Bn([xe,Z,{provide:G,useExisting:be}]),l.qOj],decls:0,vars:0,template:function(m,I){},encapsulation:2,changeDetection:0}),be})(),at=(()=>{class be{}return be.\u0275fac=function(m){return new(m||be)},be.\u0275mod=l.oAB({type:be}),be.\u0275inj=l.cJS({providers:[Ge,ue],imports:[u.ez,Me.ot,i.U8,s.rt,h.eL,re.BQ,ie.ZD]}),be})()},8966:(Yt,ut,c)=>{"use strict";c.d(ut,{Is:()=>_,WI:()=>le,ZT:()=>ft,so:()=>oe,uw:()=>pt});var s=c(1088),i=c(9776),h=c(7429),u=c(5e3),l=c(508),Me=c(7579),ie=c(6451),re=c(9770),ve=c(9300),X=c(5698),Ne=c(8675),ne=c(1777),Ce=c(9808),ae=c(5664),Ae=c(1159);function Be(A,J){}const Se={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},mt={dialogContainer:(0,ne.X$)("dialogContainer",[(0,ne.SB)("void, exit",(0,ne.oB)({opacity:0,transform:"scale(0.7)"})),(0,ne.SB)("enter",(0,ne.oB)({transform:"none"})),(0,ne.eR)("* => enter",(0,ne.ru)([(0,ne.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,ne.oB)({transform:"none",opacity:1})),(0,ne.IO)("@*",(0,ne.pV)(),{optional:!0})]),Se),(0,ne.eR)("* => void, * => exit",(0,ne.ru)([(0,ne.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,ne.oB)({opacity:0})),(0,ne.IO)("@*",(0,ne.pV)(),{optional:!0})]),Se)])};class bt{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,this.enterAnimationDuration=Se.params.enterAnimationDuration,this.exitAnimationDuration=Se.params.exitAnimationDuration}}let Mt=(()=>{class A extends s.LL{constructor(se,de,De,Ke,gt,ze,Et,Nt){super(se,de,De,Ke,gt,ze,Et,Nt),this._animationStateChanged=new u.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(se){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:se})}}return A.\u0275fac=function(se){return new(se||A)(u.Y36(u.SBq),u.Y36(ae.qV),u.Y36(Ce.K0,8),u.Y36(bt),u.Y36(ae.ic),u.Y36(u.R0b),u.Y36(i.Iu),u.Y36(ae.tE))},A.\u0275cmp=u.Xpm({type:A,selectors:[["ng-component"]],features:[u.qOj],decls:0,vars:0,template:function(se,de){},encapsulation:2}),A})(),ke=(()=>{class A extends Mt{constructor(se,de,De,Ke,gt,ze,Et,Nt,$t){super(se,de,De,Ke,gt,ze,Et,$t),this._changeDetectorRef=Nt,this._state="enter"}_onAnimationDone({toState:se,totalTime:de}){"enter"===se?this._openAnimationDone(de):"exit"===se&&this._animationStateChanged.next({state:"closed",totalTime:de})}_onAnimationStart({toState:se,totalTime:de}){"enter"===se?this._animationStateChanged.next({state:"opening",totalTime:de}):("exit"===se||"void"===se)&&this._animationStateChanged.next({state:"closing",totalTime:de})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Se.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Se.params.exitAnimationDuration}}}}return A.\u0275fac=function(se){return new(se||A)(u.Y36(u.SBq),u.Y36(ae.qV),u.Y36(Ce.K0,8),u.Y36(bt),u.Y36(ae.ic),u.Y36(u.R0b),u.Y36(i.Iu),u.Y36(u.sBO),u.Y36(ae.tE))},A.\u0275cmp=u.Xpm({type:A,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(se,de){1&se&&u.WFA("@dialogContainer.start",function(Ke){return de._onAnimationStart(Ke)})("@dialogContainer.done",function(Ke){return de._onAnimationDone(Ke)}),2&se&&(u.Ikx("id",de._config.id),u.uIk("aria-modal",de._config.ariaModal)("role",de._config.role)("aria-labelledby",de._config.ariaLabel?null:de._ariaLabelledBy)("aria-label",de._config.ariaLabel)("aria-describedby",de._config.ariaDescribedBy||null),u.d8E("@dialogContainer",de._getAnimationState()))},features:[u.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(se,de){1&se&&u.YNc(0,Be,0,0,"ng-template",0)},dependencies:[h.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[mt.dialogContainer]}}),A})();class oe{constructor(J,se,de){this._ref=J,this._containerInstance=de,this._afterOpened=new Me.x,this._beforeClosed=new Me.x,this._state=0,this.disableClose=se.disableClose,this.id=J.id,de._animationStateChanged.pipe((0,ve.h)(De=>"opened"===De.state),(0,X.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),de._animationStateChanged.pipe((0,ve.h)(De=>"closed"===De.state),(0,X.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),J.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,ie.T)(this.backdropClick(),this.keydownEvents().pipe((0,ve.h)(De=>De.keyCode===Ae.hY&&!this.disableClose&&!(0,Ae.Vb)(De)))).subscribe(De=>{this.disableClose||(De.preventDefault(),he(this,"keydown"===De.type?"keyboard":"mouse"))})}close(J){this._result=J,this._containerInstance._animationStateChanged.pipe((0,ve.h)(se=>"closing"===se.state),(0,X.q)(1)).subscribe(se=>{this._beforeClosed.next(J),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),se.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(J){let se=this._ref.config.positionStrategy;return J&&(J.left||J.right)?J.left?se.left(J.left):se.right(J.right):se.centerHorizontally(),J&&(J.top||J.bottom)?J.top?se.top(J.top):se.bottom(J.bottom):se.centerVertically(),this._ref.updatePosition(),this}updateSize(J="",se=""){return this._ref.updateSize(J,se),this}addPanelClass(J){return this._ref.addPanelClass(J),this}removePanelClass(J){return this._ref.removePanelClass(J),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function he(A,J,se){return A._closeInteractionType=J,A.close(se)}const le=new u.OlP("MatDialogData"),We=new u.OlP("mat-dialog-default-options"),we=new u.OlP("mat-dialog-scroll-strategy"),_e={provide:we,deps:[i.aV],useFactory:function Xe(A){return()=>A.scrollStrategies.block()}};let lt=0,je=(()=>{class A{constructor(se,de,De,Ke,gt,ze,Et,Nt,$t,ln){this._overlay=se,this._defaultOptions=De,this._parentDialog=Ke,this._dialogRefConstructor=Et,this._dialogContainerType=Nt,this._dialogDataToken=$t,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Me.x,this._afterOpenedAtThisLevel=new Me.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,re.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Ne.O)(void 0))),this._scrollStrategy=ze,this._dialog=de.get(s.Vq)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const se=this._parentDialog;return se?se._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(se,de){let De;(de=Object.assign(Object.assign({},this._defaultOptions||new bt),de)).id=de.id||`${this._idPrefix}${lt++}`,de.scrollStrategy=de.scrollStrategy||this._scrollStrategy();const Ke=this._dialog.open(se,Object.assign(Object.assign({},de),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:bt,useValue:de},{provide:s.ib,useValue:de}]},templateContext:()=>({dialogRef:De}),providers:(gt,ze,Et)=>(De=new this._dialogRefConstructor(gt,de,Et),De.updatePosition(null==de?void 0:de.position),[{provide:this._dialogContainerType,useValue:Et},{provide:this._dialogDataToken,useValue:ze.data},{provide:this._dialogRefConstructor,useValue:De}])}));return De.componentInstance=Ke.componentInstance,this.openDialogs.push(De),this.afterOpened.next(De),De.afterClosed().subscribe(()=>{const gt=this.openDialogs.indexOf(De);gt>-1&&(this.openDialogs.splice(gt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),De}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(se){return this.openDialogs.find(de=>de.id===se)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(se){let de=se.length;for(;de--;)se[de].close()}}return A.\u0275fac=function(se){u.$Z()},A.\u0275prov=u.Yz7({token:A,factory:A.\u0275fac}),A})(),pt=(()=>{class A extends je{constructor(se,de,De,Ke,gt,ze,Et,Nt){super(se,de,Ke,ze,Et,gt,oe,ke,le,Nt)}}return A.\u0275fac=function(se){return new(se||A)(u.LFG(i.aV),u.LFG(u.zs3),u.LFG(Ce.Ye,8),u.LFG(We,8),u.LFG(we),u.LFG(A,12),u.LFG(i.Xj),u.LFG(u.QbO,8))},A.\u0275prov=u.Yz7({token:A,factory:A.\u0275fac}),A})(),ft=(()=>{class A{constructor(se,de,De){this.dialogRef=se,this._elementRef=de,this._dialog=De,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function B(A,J){let se=A.nativeElement.parentElement;for(;se&&!se.classList.contains("mat-dialog-container");)se=se.parentElement;return se?J.find(de=>de.id===se.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(se){const de=se._matDialogClose||se._matDialogCloseResult;de&&(this.dialogResult=de.currentValue)}_onButtonClick(se){he(this.dialogRef,0===se.screenX&&0===se.screenY?"keyboard":"mouse",this.dialogResult)}}return A.\u0275fac=function(se){return new(se||A)(u.Y36(oe,8),u.Y36(u.SBq),u.Y36(pt))},A.\u0275dir=u.lG2({type:A,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(se,de){1&se&&u.NdJ("click",function(Ke){return de._onButtonClick(Ke)}),2&se&&u.uIk("aria-label",de.ariaLabel||null)("type",de.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[u.TTD]}),A})(),_=(()=>{class A{}return A.\u0275fac=function(se){return new(se||A)},A.\u0275mod=u.oAB({type:A}),A.\u0275inj=u.cJS({providers:[pt,_e],imports:[s.Su,i.U8,h.eL,l.BQ,l.BQ]}),A})()},4834:(Yt,ut,c)=>{"use strict";c.d(ut,{d:()=>u,t:()=>l});var s=c(5e3),i=c(3191),h=c(508);let u=(()=>{class Me{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(re){this._vertical=(0,i.Ig)(re)}get inset(){return this._inset}set inset(re){this._inset=(0,i.Ig)(re)}}return Me.\u0275fac=function(re){return new(re||Me)},Me.\u0275cmp=s.Xpm({type:Me,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(re,ve){2&re&&(s.uIk("aria-orientation",ve.vertical?"vertical":"horizontal"),s.ekj("mat-divider-vertical",ve.vertical)("mat-divider-horizontal",!ve.vertical)("mat-divider-inset",ve.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(re,ve){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),Me})(),l=(()=>{class Me{}return Me.\u0275fac=function(re){return new(re||Me)},Me.\u0275mod=s.oAB({type:Me}),Me.\u0275inj=s.cJS({imports:[h.BQ,h.BQ]}),Me})()},288:(Yt,ut,c)=>{"use strict";c.d(ut,{To:()=>J,ib:()=>it,pp:()=>A,yK:()=>_,yz:()=>Y});var s=c(3262),i=c(7429),h=c(9808),u=c(5e3),l=c(508),Me=c(3191),ie=c(5664),re=c(1884),ve=c(8675),X=c(9300),Ne=c(5698),ne=c(1159),Ce=c(7579),ae=c(727),Ae=c(515),Be=c(6451),Se=c(1777),mt=c(449);const bt=["body"];function Mt(se,de){}const ke=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],oe=["mat-expansion-panel-header","*","mat-action-row"];function he(se,de){if(1&se&&u._UZ(0,"span",2),2&se){const De=u.oxw();u.Q6J("@indicatorRotate",De._getExpandedState())}}const le=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],We=["mat-panel-title","mat-panel-description","*"],we=new u.OlP("MAT_ACCORDION"),et="225ms cubic-bezier(0.4,0.0,0.2,1)",Xe={indicatorRotate:(0,Se.X$)("indicatorRotate",[(0,Se.SB)("collapsed, void",(0,Se.oB)({transform:"rotate(0deg)"})),(0,Se.SB)("expanded",(0,Se.oB)({transform:"rotate(180deg)"})),(0,Se.eR)("expanded <=> collapsed, void => collapsed",(0,Se.jt)(et))]),bodyExpansion:(0,Se.X$)("bodyExpansion",[(0,Se.SB)("collapsed, void",(0,Se.oB)({height:"0px",visibility:"hidden"})),(0,Se.SB)("expanded",(0,Se.oB)({height:"*",visibility:"visible"})),(0,Se.eR)("expanded <=> collapsed, void => collapsed",(0,Se.jt)(et))])},_e=new u.OlP("MAT_EXPANSION_PANEL");let lt=(()=>{class se{constructor(De,Ke){this._template=De,this._expansionPanel=Ke}}return se.\u0275fac=function(De){return new(De||se)(u.Y36(u.Rgc),u.Y36(_e,8))},se.\u0275dir=u.lG2({type:se,selectors:[["ng-template","matExpansionPanelContent",""]]}),se})(),je=0;const pt=new u.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let it=(()=>{class se extends s.dD{constructor(De,Ke,gt,ze,Et,Nt,$t){super(De,Ke,gt),this._viewContainerRef=ze,this._animationMode=Nt,this._hideToggle=!1,this.afterExpand=new u.vpe,this.afterCollapse=new u.vpe,this._inputChanges=new Ce.x,this._headerId="mat-expansion-panel-header-"+je++,this._bodyAnimationDone=new Ce.x,this.accordion=De,this._document=Et,this._bodyAnimationDone.pipe((0,re.x)((ln,gn)=>ln.fromState===gn.fromState&&ln.toState===gn.toState)).subscribe(ln=>{"void"!==ln.fromState&&("expanded"===ln.toState?this.afterExpand.emit():"collapsed"===ln.toState&&this.afterCollapse.emit())}),$t&&(this.hideToggle=$t.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(De){this._hideToggle=(0,Me.Ig)(De)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(De){this._togglePosition=De}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,ve.O)(null),(0,X.h)(()=>this.expanded&&!this._portal),(0,Ne.q)(1)).subscribe(()=>{this._portal=new i.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(De){this._inputChanges.next(De)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const De=this._document.activeElement,Ke=this._body.nativeElement;return De===Ke||Ke.contains(De)}return!1}}return se.\u0275fac=function(De){return new(De||se)(u.Y36(we,12),u.Y36(u.sBO),u.Y36(mt.A8),u.Y36(u.s_b),u.Y36(h.K0),u.Y36(u.QbO,8),u.Y36(pt,8))},se.\u0275cmp=u.Xpm({type:se,selectors:[["mat-expansion-panel"]],contentQueries:function(De,Ke,gt){if(1&De&&u.Suo(gt,lt,5),2&De){let ze;u.iGM(ze=u.CRH())&&(Ke._lazyContent=ze.first)}},viewQuery:function(De,Ke){if(1&De&&u.Gf(bt,5),2&De){let gt;u.iGM(gt=u.CRH())&&(Ke._body=gt.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(De,Ke){2&De&&u.ekj("mat-expanded",Ke.expanded)("_mat-animation-noopable","NoopAnimations"===Ke._animationMode)("mat-expansion-panel-spacing",Ke._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[u._Bn([{provide:we,useValue:void 0},{provide:_e,useExisting:se}]),u.qOj,u.TTD],ngContentSelectors:oe,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(De,Ke){1&De&&(u.F$t(ke),u.Hsn(0),u.TgZ(1,"div",0,1),u.NdJ("@bodyExpansion.done",function(ze){return Ke._bodyAnimationDone.next(ze)}),u.TgZ(3,"div",2),u.Hsn(4,1),u.YNc(5,Mt,0,0,"ng-template",3),u.qZA(),u.Hsn(6,2),u.qZA()),2&De&&(u.xp6(1),u.Q6J("@bodyExpansion",Ke._getExpandedState())("id",Ke.id),u.uIk("aria-labelledby",Ke._headerId),u.xp6(4),u.Q6J("cdkPortalOutlet",Ke._portal))},dependencies:[i.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Xe.bodyExpansion]},changeDetection:0}),se})();class Ct{}const St=(0,l.sb)(Ct);let Y=(()=>{class se extends St{constructor(De,Ke,gt,ze,Et,Nt,$t){super(),this.panel=De,this._element=Ke,this._focusMonitor=gt,this._changeDetectorRef=ze,this._animationMode=Nt,this._parentChangeSubscription=ae.w0.EMPTY;const ln=De.accordion?De.accordion._stateChanges.pipe((0,X.h)(gn=>!(!gn.hideToggle&&!gn.togglePosition))):Ae.E;this.tabIndex=parseInt($t||"")||0,this._parentChangeSubscription=(0,Be.T)(De.opened,De.closed,ln,De._inputChanges.pipe((0,X.h)(gn=>!!(gn.hideToggle||gn.disabled||gn.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),De.closed.pipe((0,X.h)(()=>De._containsFocus())).subscribe(()=>gt.focusVia(Ke,"program")),Et&&(this.expandedHeight=Et.expandedHeight,this.collapsedHeight=Et.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const De=this._isExpanded();return De&&this.expandedHeight?this.expandedHeight:!De&&this.collapsedHeight?this.collapsedHeight:null}_keydown(De){switch(De.keyCode){case ne.L_:case ne.K5:(0,ne.Vb)(De)||(De.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(De))}}focus(De,Ke){De?this._focusMonitor.focusVia(this._element,De,Ke):this._element.nativeElement.focus(Ke)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(De=>{De&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return se.\u0275fac=function(De){return new(De||se)(u.Y36(it,1),u.Y36(u.SBq),u.Y36(ie.tE),u.Y36(u.sBO),u.Y36(pt,8),u.Y36(u.QbO,8),u.$8M("tabindex"))},se.\u0275cmp=u.Xpm({type:se,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(De,Ke){1&De&&u.NdJ("click",function(){return Ke._toggle()})("keydown",function(ze){return Ke._keydown(ze)}),2&De&&(u.uIk("id",Ke.panel._headerId)("tabindex",Ke.tabIndex)("aria-controls",Ke._getPanelId())("aria-expanded",Ke._isExpanded())("aria-disabled",Ke.panel.disabled),u.Udp("height",Ke._getHeaderHeight()),u.ekj("mat-expanded",Ke._isExpanded())("mat-expansion-toggle-indicator-after","after"===Ke._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Ke._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Ke._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[u.qOj],ngContentSelectors:We,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(De,Ke){1&De&&(u.F$t(le),u.TgZ(0,"span",0),u.Hsn(1),u.Hsn(2,1),u.Hsn(3,2),u.qZA(),u.YNc(4,he,1,1,"span",1)),2&De&&(u.ekj("mat-content-hide-toggle",!Ke._showToggle()),u.xp6(4),u.Q6J("ngIf",Ke._showToggle()))},dependencies:[h.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Xe.indicatorRotate]},changeDetection:0}),se})(),_=(()=>{class se{}return se.\u0275fac=function(De){return new(De||se)},se.\u0275dir=u.lG2({type:se,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),se})(),A=(()=>{class se extends s.xI{constructor(){super(...arguments),this._ownHeaders=new u.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(De){this._hideToggle=(0,Me.Ig)(De)}ngAfterContentInit(){this._headers.changes.pipe((0,ve.O)(this._headers)).subscribe(De=>{this._ownHeaders.reset(De.filter(Ke=>Ke.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new ie.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(De){this._keyManager.onKeydown(De)}_handleHeaderFocus(De){this._keyManager.updateActiveItem(De)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return se.\u0275fac=function(){let de;return function(Ke){return(de||(de=u.n5z(se)))(Ke||se)}}(),se.\u0275dir=u.lG2({type:se,selectors:[["mat-accordion"]],contentQueries:function(De,Ke,gt){if(1&De&&u.Suo(gt,Y,5),2&De){let ze;u.iGM(ze=u.CRH())&&(Ke._headers=ze)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(De,Ke){2&De&&u.ekj("mat-accordion-multi",Ke.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[u._Bn([{provide:we,useExisting:se}]),u.qOj]}),se})(),J=(()=>{class se{}return se.\u0275fac=function(De){return new(De||se)},se.\u0275mod=u.oAB({type:se}),se.\u0275inj=u.cJS({imports:[h.ez,l.BQ,s.XD,i.eL]}),se})()},7322:(Yt,ut,c)=>{"use strict";c.d(ut,{Eo:()=>Ct,G_:()=>jt,KE:()=>cn,R9:()=>ze,TO:()=>it,hX:()=>se,lN:()=>Qe,qo:()=>Ke});var s=c(7144),i=c(9808),h=c(5e3),u=c(508),l=c(3191),Me=c(7579),ie=c(6451),re=c(4968),ve=c(8675),X=c(2722),Ne=c(5698),ne=c(1777),Ce=c(226),ae=c(925);const Ae=["connectionContainer"],Be=["inputContainer"],Se=["label"];function mt(st,xe){1&st&&(h.ynx(0),h.TgZ(1,"div",14),h._UZ(2,"div",15)(3,"div",16)(4,"div",17),h.qZA(),h.TgZ(5,"div",18),h._UZ(6,"div",15)(7,"div",16)(8,"div",17),h.qZA(),h.BQk())}function bt(st,xe){if(1&st){const q=h.EpF();h.TgZ(0,"div",19),h.NdJ("cdkObserveContent",function(){h.CHM(q);const W=h.oxw();return h.KtG(W.updateOutlineGap())}),h.Hsn(1,1),h.qZA()}if(2&st){const q=h.oxw();h.Q6J("cdkObserveContentDisabled","outline"!=q.appearance)}}function Mt(st,xe){if(1&st&&(h.ynx(0),h.Hsn(1,2),h.TgZ(2,"span"),h._uU(3),h.qZA(),h.BQk()),2&st){const q=h.oxw(2);h.xp6(3),h.Oqu(q._control.placeholder)}}function ke(st,xe){1&st&&h.Hsn(0,3,["*ngSwitchCase","true"])}function oe(st,xe){1&st&&(h.TgZ(0,"span",23),h._uU(1," *"),h.qZA())}function he(st,xe){if(1&st){const q=h.EpF();h.TgZ(0,"label",20,21),h.NdJ("cdkObserveContent",function(){h.CHM(q);const W=h.oxw();return h.KtG(W.updateOutlineGap())}),h.YNc(2,Mt,4,1,"ng-container",12),h.YNc(3,ke,1,0,"ng-content",12),h.YNc(4,oe,2,0,"span",22),h.qZA()}if(2&st){const q=h.oxw();h.ekj("mat-empty",q._control.empty&&!q._shouldAlwaysFloat())("mat-form-field-empty",q._control.empty&&!q._shouldAlwaysFloat())("mat-accent","accent"==q.color)("mat-warn","warn"==q.color),h.Q6J("cdkObserveContentDisabled","outline"!=q.appearance)("id",q._labelId)("ngSwitch",q._hasLabel()),h.uIk("for",q._control.id)("aria-owns",q._control.id),h.xp6(2),h.Q6J("ngSwitchCase",!1),h.xp6(1),h.Q6J("ngSwitchCase",!0),h.xp6(1),h.Q6J("ngIf",!q.hideRequiredMarker&&q._control.required&&!q._control.disabled)}}function le(st,xe){1&st&&(h.TgZ(0,"div",24),h.Hsn(1,4),h.qZA())}function We(st,xe){if(1&st&&(h.TgZ(0,"div",25),h._UZ(1,"span",26),h.qZA()),2&st){const q=h.oxw();h.xp6(1),h.ekj("mat-accent","accent"==q.color)("mat-warn","warn"==q.color)}}function we(st,xe){if(1&st&&(h.TgZ(0,"div"),h.Hsn(1,5),h.qZA()),2&st){const q=h.oxw();h.Q6J("@transitionMessages",q._subscriptAnimationState)}}function et(st,xe){if(1&st&&(h.TgZ(0,"div",30),h._uU(1),h.qZA()),2&st){const q=h.oxw(2);h.Q6J("id",q._hintLabelId),h.xp6(1),h.Oqu(q.hintLabel)}}function Xe(st,xe){if(1&st&&(h.TgZ(0,"div",27),h.YNc(1,et,2,2,"div",28),h.Hsn(2,6),h._UZ(3,"div",29),h.Hsn(4,7),h.qZA()),2&st){const q=h.oxw();h.Q6J("@transitionMessages",q._subscriptAnimationState),h.xp6(1),h.Q6J("ngIf",q.hintLabel)}}const _e=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],lt=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let je=0;const pt=new h.OlP("MatError");let it=(()=>{class st{constructor(q,k){this.id="mat-error-"+je++,q||k.nativeElement.setAttribute("aria-live","polite")}}return st.\u0275fac=function(q){return new(q||st)(h.$8M("aria-live"),h.Y36(h.SBq))},st.\u0275dir=h.lG2({type:st,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(q,k){2&q&&h.uIk("id",k.id)},inputs:{id:"id"},features:[h._Bn([{provide:pt,useExisting:st}])]}),st})();const ft={transitionMessages:(0,ne.X$)("transitionMessages",[(0,ne.SB)("enter",(0,ne.oB)({opacity:1,transform:"translateY(0%)"})),(0,ne.eR)("void => enter",[(0,ne.oB)({opacity:0,transform:"translateY(-5px)"}),(0,ne.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ct=(()=>{class st{}return st.\u0275fac=function(q){return new(q||st)},st.\u0275dir=h.lG2({type:st}),st})();const A=new h.OlP("MatHint");let se=(()=>{class st{}return st.\u0275fac=function(q){return new(q||st)},st.\u0275dir=h.lG2({type:st,selectors:[["mat-label"]]}),st})(),de=(()=>{class st{}return st.\u0275fac=function(q){return new(q||st)},st.\u0275dir=h.lG2({type:st,selectors:[["mat-placeholder"]]}),st})();const De=new h.OlP("MatPrefix");let Ke=(()=>{class st{}return st.\u0275fac=function(q){return new(q||st)},st.\u0275dir=h.lG2({type:st,selectors:[["","matPrefix",""]],features:[h._Bn([{provide:De,useExisting:st}])]}),st})();const gt=new h.OlP("MatSuffix");let ze=(()=>{class st{}return st.\u0275fac=function(q){return new(q||st)},st.\u0275dir=h.lG2({type:st,selectors:[["","matSuffix",""]],features:[h._Bn([{provide:gt,useExisting:st}])]}),st})(),Et=0;const ln=(0,u.pj)(class{constructor(st){this._elementRef=st}},"primary"),gn=new h.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),jt=new h.OlP("MatFormField");let cn=(()=>{class st extends ln{constructor(q,k,W,Z,Ee,tt,qe){super(q),this._changeDetectorRef=k,this._dir=W,this._defaults=Z,this._platform=Ee,this._ngZone=tt,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Me.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Et++,this._labelId="mat-form-field-label-"+Et++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==qe,this.appearance=(null==Z?void 0:Z.appearance)||"legacy",Z&&(this._hideRequiredMarker=Boolean(Z.hideRequiredMarker),Z.color&&(this.color=this.defaultColor=Z.color))}get appearance(){return this._appearance}set appearance(q){var k;const W=this._appearance;this._appearance=q||(null===(k=this._defaults)||void 0===k?void 0:k.appearance)||"legacy","outline"===this._appearance&&W!==q&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(q){this._hideRequiredMarker=(0,l.Ig)(q)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(q){this._hintLabel=q,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(q){q!==this._floatLabel&&(this._floatLabel=q||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(q){this._explicitFormFieldControl=q}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const q=this._control;q.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${q.controlType}`),q.stateChanges.pipe((0,ve.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),q.ngControl&&q.ngControl.valueChanges&&q.ngControl.valueChanges.pipe((0,X.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,ie.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,ve.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,ve.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,X.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(q){const k=this._control?this._control.ngControl:null;return k&&k[q]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,re.R)(this._label.nativeElement,"transitionend").pipe((0,Ne.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let q=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&q.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const k=this._hintChildren?this._hintChildren.find(Z=>"start"===Z.align):null,W=this._hintChildren?this._hintChildren.find(Z=>"end"===Z.align):null;k?q.push(k.id):this._hintLabel&&q.push(this._hintLabelId),W&&q.push(W.id)}else this._errorChildren&&q.push(...this._errorChildren.map(k=>k.id));this._control.setDescribedByIds(q)}}_validateControlChild(){}updateOutlineGap(){const q=this._label?this._label.nativeElement:null,k=this._connectionContainerRef.nativeElement,W=".mat-form-field-outline-start",Z=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!q||!q.children.length||!q.textContent.trim()){const qt=k.querySelectorAll(`${W}, ${Z}`);for(let en=0;en<qt.length;en++)qt[en].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let Ee=0,tt=0;const qe=k.querySelectorAll(W),kt=k.querySelectorAll(Z);if(this._label&&this._label.nativeElement.children.length){const qt=k.getBoundingClientRect();if(0===qt.width&&0===qt.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const en=this._getStartEnd(qt),Lt=q.children,xt=this._getStartEnd(Lt[0].getBoundingClientRect());let Rt=0;for(let ge=0;ge<Lt.length;ge++)Rt+=Lt[ge].offsetWidth;Ee=Math.abs(xt-en)-5,tt=Rt>0?.75*Rt+10:0}for(let qt=0;qt<qe.length;qt++)qe[qt].style.width=`${Ee}px`;for(let qt=0;qt<kt.length;qt++)kt[qt].style.width=`${tt}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(q){return this._dir&&"rtl"===this._dir.value?q.right:q.left}_isAttachedToDOM(){const q=this._elementRef.nativeElement;if(q.getRootNode){const k=q.getRootNode();return k&&k!==q}return document.documentElement.contains(q)}}return st.\u0275fac=function(q){return new(q||st)(h.Y36(h.SBq),h.Y36(h.sBO),h.Y36(Ce.Is,8),h.Y36(gn,8),h.Y36(ae.t4),h.Y36(h.R0b),h.Y36(h.QbO,8))},st.\u0275cmp=h.Xpm({type:st,selectors:[["mat-form-field"]],contentQueries:function(q,k,W){if(1&q&&(h.Suo(W,Ct,5),h.Suo(W,Ct,7),h.Suo(W,se,5),h.Suo(W,se,7),h.Suo(W,de,5),h.Suo(W,pt,5),h.Suo(W,A,5),h.Suo(W,De,5),h.Suo(W,gt,5)),2&q){let Z;h.iGM(Z=h.CRH())&&(k._controlNonStatic=Z.first),h.iGM(Z=h.CRH())&&(k._controlStatic=Z.first),h.iGM(Z=h.CRH())&&(k._labelChildNonStatic=Z.first),h.iGM(Z=h.CRH())&&(k._labelChildStatic=Z.first),h.iGM(Z=h.CRH())&&(k._placeholderChild=Z.first),h.iGM(Z=h.CRH())&&(k._errorChildren=Z),h.iGM(Z=h.CRH())&&(k._hintChildren=Z),h.iGM(Z=h.CRH())&&(k._prefixChildren=Z),h.iGM(Z=h.CRH())&&(k._suffixChildren=Z)}},viewQuery:function(q,k){if(1&q&&(h.Gf(Ae,7),h.Gf(Be,5),h.Gf(Se,5)),2&q){let W;h.iGM(W=h.CRH())&&(k._connectionContainerRef=W.first),h.iGM(W=h.CRH())&&(k._inputContainerRef=W.first),h.iGM(W=h.CRH())&&(k._label=W.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(q,k){2&q&&h.ekj("mat-form-field-appearance-standard","standard"==k.appearance)("mat-form-field-appearance-fill","fill"==k.appearance)("mat-form-field-appearance-outline","outline"==k.appearance)("mat-form-field-appearance-legacy","legacy"==k.appearance)("mat-form-field-invalid",k._control.errorState)("mat-form-field-can-float",k._canLabelFloat())("mat-form-field-should-float",k._shouldLabelFloat())("mat-form-field-has-label",k._hasFloatingLabel())("mat-form-field-hide-placeholder",k._hideControlPlaceholder())("mat-form-field-disabled",k._control.disabled)("mat-form-field-autofilled",k._control.autofilled)("mat-focused",k._control.focused)("ng-untouched",k._shouldForward("untouched"))("ng-touched",k._shouldForward("touched"))("ng-pristine",k._shouldForward("pristine"))("ng-dirty",k._shouldForward("dirty"))("ng-valid",k._shouldForward("valid"))("ng-invalid",k._shouldForward("invalid"))("ng-pending",k._shouldForward("pending"))("_mat-animation-noopable",!k._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[h._Bn([{provide:jt,useExisting:st}]),h.qOj],ngContentSelectors:lt,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(q,k){1&q&&(h.F$t(_e),h.TgZ(0,"div",0)(1,"div",1,2),h.NdJ("click",function(Z){return k._control.onContainerClick&&k._control.onContainerClick(Z)}),h.YNc(3,mt,9,0,"ng-container",3),h.YNc(4,bt,2,1,"div",4),h.TgZ(5,"div",5,6),h.Hsn(7),h.TgZ(8,"span",7),h.YNc(9,he,5,16,"label",8),h.qZA()(),h.YNc(10,le,2,0,"div",9),h.qZA(),h.YNc(11,We,2,4,"div",10),h.TgZ(12,"div",11),h.YNc(13,we,2,1,"div",12),h.YNc(14,Xe,5,2,"div",13),h.qZA()()),2&q&&(h.xp6(3),h.Q6J("ngIf","outline"==k.appearance),h.xp6(1),h.Q6J("ngIf",k._prefixChildren.length),h.xp6(5),h.Q6J("ngIf",k._hasFloatingLabel()),h.xp6(1),h.Q6J("ngIf",k._suffixChildren.length),h.xp6(1),h.Q6J("ngIf","outline"!=k.appearance),h.xp6(1),h.Q6J("ngSwitch",k._getDisplayedMessages()),h.xp6(1),h.Q6J("ngSwitchCase","error"),h.xp6(1),h.Q6J("ngSwitchCase","hint"))},dependencies:[i.O5,i.RF,i.n9,s.wD],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-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;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[ft.transitionMessages]},changeDetection:0}),st})(),Qe=(()=>{class st{}return st.\u0275fac=function(q){return new(q||st)},st.\u0275mod=h.oAB({type:st}),st.\u0275inj=h.cJS({imports:[i.ez,u.BQ,s.Q8,u.BQ]}),st})()},5245:(Yt,ut,c)=>{"use strict";c.d(ut,{Hw:()=>_,Ps:()=>A});var s=c(5e3),i=c(508),h=c(3191),u=c(9808),l=c(9646),Me=c(2843),ie=c(4128),re=c(727),ve=c(8505),X=c(4004),Ne=c(262),ne=c(8746),Ce=c(3099),ae=c(5698),Ae=c(520),Be=c(2313);const Se=["*"];let mt;function Mt(J){var se;return(null===(se=function bt(){if(void 0===mt&&(mt=null,"undefined"!=typeof window)){const J=window;void 0!==J.trustedTypes&&(mt=J.trustedTypes.createPolicy("angular#components",{createHTML:se=>se}))}return mt}())||void 0===se?void 0:se.createHTML(J))||J}function ke(J){return Error(`Unable to find icon with the name "${J}"`)}function he(J){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${J}".`)}function le(J){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${J}".`)}class We{constructor(se,de,De){this.url=se,this.svgText=de,this.options=De}}let we=(()=>{class J{constructor(de,De,Ke,gt){this._httpClient=de,this._sanitizer=De,this._errorHandler=gt,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=Ke}addSvgIcon(de,De,Ke){return this.addSvgIconInNamespace("",de,De,Ke)}addSvgIconLiteral(de,De,Ke){return this.addSvgIconLiteralInNamespace("",de,De,Ke)}addSvgIconInNamespace(de,De,Ke,gt){return this._addSvgIconConfig(de,De,new We(Ke,null,gt))}addSvgIconResolver(de){return this._resolvers.push(de),this}addSvgIconLiteralInNamespace(de,De,Ke,gt){const ze=this._sanitizer.sanitize(s.q3G.HTML,Ke);if(!ze)throw le(Ke);const Et=Mt(ze);return this._addSvgIconConfig(de,De,new We("",Et,gt))}addSvgIconSet(de,De){return this.addSvgIconSetInNamespace("",de,De)}addSvgIconSetLiteral(de,De){return this.addSvgIconSetLiteralInNamespace("",de,De)}addSvgIconSetInNamespace(de,De,Ke){return this._addSvgIconSetConfig(de,new We(De,null,Ke))}addSvgIconSetLiteralInNamespace(de,De,Ke){const gt=this._sanitizer.sanitize(s.q3G.HTML,De);if(!gt)throw le(De);const ze=Mt(gt);return this._addSvgIconSetConfig(de,new We("",ze,Ke))}registerFontClassAlias(de,De=de){return this._fontCssClassesByAlias.set(de,De),this}classNameForFontAlias(de){return this._fontCssClassesByAlias.get(de)||de}setDefaultFontSetClass(...de){return this._defaultFontSetClass=de,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(de){const De=this._sanitizer.sanitize(s.q3G.RESOURCE_URL,de);if(!De)throw he(de);const Ke=this._cachedIconsByUrl.get(De);return Ke?(0,l.of)(_e(Ke)):this._loadSvgIconFromConfig(new We(de,null)).pipe((0,ve.b)(gt=>this._cachedIconsByUrl.set(De,gt)),(0,X.U)(gt=>_e(gt)))}getNamedSvgIcon(de,De=""){const Ke=lt(De,de);let gt=this._svgIconConfigs.get(Ke);if(gt)return this._getSvgFromConfig(gt);if(gt=this._getIconConfigFromResolvers(De,de),gt)return this._svgIconConfigs.set(Ke,gt),this._getSvgFromConfig(gt);const ze=this._iconSetConfigs.get(De);return ze?this._getSvgFromIconSetConfigs(de,ze):(0,Me._)(ke(Ke))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(de){return de.svgText?(0,l.of)(_e(this._svgElementFromConfig(de))):this._loadSvgIconFromConfig(de).pipe((0,X.U)(De=>_e(De)))}_getSvgFromIconSetConfigs(de,De){const Ke=this._extractIconWithNameFromAnySet(de,De);if(Ke)return(0,l.of)(Ke);const gt=De.filter(ze=>!ze.svgText).map(ze=>this._loadSvgIconSetFromConfig(ze).pipe((0,Ne.K)(Et=>{const $t=`Loading icon set URL: ${this._sanitizer.sanitize(s.q3G.RESOURCE_URL,ze.url)} failed: ${Et.message}`;return this._errorHandler.handleError(new Error($t)),(0,l.of)(null)})));return(0,ie.D)(gt).pipe((0,X.U)(()=>{const ze=this._extractIconWithNameFromAnySet(de,De);if(!ze)throw ke(de);return ze}))}_extractIconWithNameFromAnySet(de,De){for(let Ke=De.length-1;Ke>=0;Ke--){const gt=De[Ke];if(gt.svgText&&gt.svgText.toString().indexOf(de)>-1){const ze=this._svgElementFromConfig(gt),Et=this._extractSvgIconFromSet(ze,de,gt.options);if(Et)return Et}}return null}_loadSvgIconFromConfig(de){return this._fetchIcon(de).pipe((0,ve.b)(De=>de.svgText=De),(0,X.U)(()=>this._svgElementFromConfig(de)))}_loadSvgIconSetFromConfig(de){return de.svgText?(0,l.of)(null):this._fetchIcon(de).pipe((0,ve.b)(De=>de.svgText=De))}_extractSvgIconFromSet(de,De,Ke){const gt=de.querySelector(`[id="${De}"]`);if(!gt)return null;const ze=gt.cloneNode(!0);if(ze.removeAttribute("id"),"svg"===ze.nodeName.toLowerCase())return this._setSvgAttributes(ze,Ke);if("symbol"===ze.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ze),Ke);const Et=this._svgElementFromString(Mt("<svg></svg>"));return Et.appendChild(ze),this._setSvgAttributes(Et,Ke)}_svgElementFromString(de){const De=this._document.createElement("DIV");De.innerHTML=de;const Ke=De.querySelector("svg");if(!Ke)throw Error("<svg> tag not found");return Ke}_toSvgElement(de){const De=this._svgElementFromString(Mt("<svg></svg>")),Ke=de.attributes;for(let gt=0;gt<Ke.length;gt++){const{name:ze,value:Et}=Ke[gt];"id"!==ze&&De.setAttribute(ze,Et)}for(let gt=0;gt<de.childNodes.length;gt++)de.childNodes[gt].nodeType===this._document.ELEMENT_NODE&&De.appendChild(de.childNodes[gt].cloneNode(!0));return De}_setSvgAttributes(de,De){return de.setAttribute("fit",""),de.setAttribute("height","100%"),de.setAttribute("width","100%"),de.setAttribute("preserveAspectRatio","xMidYMid meet"),de.setAttribute("focusable","false"),De&&De.viewBox&&de.setAttribute("viewBox",De.viewBox),de}_fetchIcon(de){var De;const{url:Ke,options:gt}=de,ze=null!==(De=null==gt?void 0:gt.withCredentials)&&void 0!==De&&De;if(!this._httpClient)throw function oe(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==Ke)throw Error(`Cannot fetch icon from URL "${Ke}".`);const Et=this._sanitizer.sanitize(s.q3G.RESOURCE_URL,Ke);if(!Et)throw he(Ke);const Nt=this._inProgressUrlFetches.get(Et);if(Nt)return Nt;const $t=this._httpClient.get(Et,{responseType:"text",withCredentials:ze}).pipe((0,X.U)(ln=>Mt(ln)),(0,ne.x)(()=>this._inProgressUrlFetches.delete(Et)),(0,Ce.B)());return this._inProgressUrlFetches.set(Et,$t),$t}_addSvgIconConfig(de,De,Ke){return this._svgIconConfigs.set(lt(de,De),Ke),this}_addSvgIconSetConfig(de,De){const Ke=this._iconSetConfigs.get(de);return Ke?Ke.push(De):this._iconSetConfigs.set(de,[De]),this}_svgElementFromConfig(de){if(!de.svgElement){const De=this._svgElementFromString(de.svgText);this._setSvgAttributes(De,de.options),de.svgElement=De}return de.svgElement}_getIconConfigFromResolvers(de,De){for(let Ke=0;Ke<this._resolvers.length;Ke++){const gt=this._resolvers[Ke](De,de);if(gt)return je(gt)?new We(gt.url,null,gt.options):new We(gt,null)}}}return J.\u0275fac=function(de){return new(de||J)(s.LFG(Ae.eN,8),s.LFG(Be.H7),s.LFG(u.K0,8),s.LFG(s.qLn))},J.\u0275prov=s.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})();function _e(J){return J.cloneNode(!0)}function lt(J,se){return J+":"+se}function je(J){return!(!J.url||!J.options)}const pt=(0,i.pj)(class{constructor(J){this._elementRef=J}}),it=new s.OlP("MAT_ICON_DEFAULT_OPTIONS"),ft=new s.OlP("mat-icon-location",{providedIn:"root",factory:function Ct(){const J=(0,s.f3M)(u.K0),se=J?J.location:null;return{getPathname:()=>se?se.pathname+se.search:""}}}),St=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Y=St.map(J=>`[${J}]`).join(", "),B=/^url\(['"]?#(.*?)['"]?\)$/;let _=(()=>{class J extends pt{constructor(de,De,Ke,gt,ze,Et){super(de),this._iconRegistry=De,this._location=gt,this._errorHandler=ze,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=re.w0.EMPTY,Et&&(Et.color&&(this.color=this.defaultColor=Et.color),Et.fontSet&&(this.fontSet=Et.fontSet)),Ke||de.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(de){this._inline=(0,h.Ig)(de)}get svgIcon(){return this._svgIcon}set svgIcon(de){de!==this._svgIcon&&(de?this._updateSvgIcon(de):this._svgIcon&&this._clearSvgElement(),this._svgIcon=de)}get fontSet(){return this._fontSet}set fontSet(de){const De=this._cleanupFontValue(de);De!==this._fontSet&&(this._fontSet=De,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(de){const De=this._cleanupFontValue(de);De!==this._fontIcon&&(this._fontIcon=De,this._updateFontIconClasses())}_splitIconName(de){if(!de)return["",""];const De=de.split(":");switch(De.length){case 1:return["",De[0]];case 2:return De;default:throw Error(`Invalid icon name: "${de}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const de=this._elementsWithExternalReferences;if(de&&de.size){const De=this._location.getPathname();De!==this._previousPath&&(this._previousPath=De,this._prependPathToReferences(De))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(de){this._clearSvgElement();const De=this._location.getPathname();this._previousPath=De,this._cacheChildrenWithExternalReferences(de),this._prependPathToReferences(De),this._elementRef.nativeElement.appendChild(de)}_clearSvgElement(){const de=this._elementRef.nativeElement;let De=de.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();De--;){const Ke=de.childNodes[De];(1!==Ke.nodeType||"svg"===Ke.nodeName.toLowerCase())&&Ke.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const de=this._elementRef.nativeElement,De=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ke=>Ke.length>0);this._previousFontSetClass.forEach(Ke=>de.classList.remove(Ke)),De.forEach(Ke=>de.classList.add(Ke)),this._previousFontSetClass=De,this.fontIcon!==this._previousFontIconClass&&!De.includes("mat-ligature-font")&&(this._previousFontIconClass&&de.classList.remove(this._previousFontIconClass),this.fontIcon&&de.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(de){return"string"==typeof de?de.trim().split(" ")[0]:de}_prependPathToReferences(de){const De=this._elementsWithExternalReferences;De&&De.forEach((Ke,gt)=>{Ke.forEach(ze=>{gt.setAttribute(ze.name,`url('${de}#${ze.value}')`)})})}_cacheChildrenWithExternalReferences(de){const De=de.querySelectorAll(Y),Ke=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let gt=0;gt<De.length;gt++)St.forEach(ze=>{const Et=De[gt],Nt=Et.getAttribute(ze),$t=Nt?Nt.match(B):null;if($t){let ln=Ke.get(Et);ln||(ln=[],Ke.set(Et,ln)),ln.push({name:ze,value:$t[1]})}})}_updateSvgIcon(de){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),de){const[De,Ke]=this._splitIconName(de);De&&(this._svgNamespace=De),Ke&&(this._svgName=Ke),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ke,De).pipe((0,ae.q)(1)).subscribe(gt=>this._setSvgElement(gt),gt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${De}:${Ke}! ${gt.message}`))})}}}return J.\u0275fac=function(de){return new(de||J)(s.Y36(s.SBq),s.Y36(we),s.$8M("aria-hidden"),s.Y36(ft),s.Y36(s.qLn),s.Y36(it,8))},J.\u0275cmp=s.Xpm({type:J,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(de,De){2&de&&(s.uIk("data-mat-icon-type",De._usingFontIcon()?"font":"svg")("data-mat-icon-name",De._svgName||De.fontIcon)("data-mat-icon-namespace",De._svgNamespace||De.fontSet)("fontIcon",De._usingFontIcon()?De.fontIcon:null),s.ekj("mat-icon-inline",De.inline)("mat-icon-no-color","primary"!==De.color&&"accent"!==De.color&&"warn"!==De.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[s.qOj],ngContentSelectors:Se,decls:1,vars:0,template:function(de,De){1&de&&(s.F$t(),s.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}),J})(),A=(()=>{class J{}return J.\u0275fac=function(de){return new(de||J)},J.\u0275mod=s.oAB({type:J}),J.\u0275inj=s.cJS({imports:[i.BQ,i.BQ]}),J})()},7531:(Yt,ut,c)=>{"use strict";c.d(ut,{Jk:()=>Ae,Nt:()=>bt,c:()=>Mt});var s=c(3191),i=c(925),h=c(5e3),u=c(3075),l=c(508),Me=c(7322),ie=c(7579),re=c(515);const ve=(0,i.i$)({passive:!0});let X=(()=>{class ke{constructor(he,le){this._platform=he,this._ngZone=le,this._monitoredElements=new Map}monitor(he){if(!this._platform.isBrowser)return re.E;const le=(0,s.fI)(he),We=this._monitoredElements.get(le);if(We)return We.subject;const we=new ie.x,et="cdk-text-field-autofilled",Xe=_e=>{"cdk-text-field-autofill-start"!==_e.animationName||le.classList.contains(et)?"cdk-text-field-autofill-end"===_e.animationName&&le.classList.contains(et)&&(le.classList.remove(et),this._ngZone.run(()=>we.next({target:_e.target,isAutofilled:!1}))):(le.classList.add(et),this._ngZone.run(()=>we.next({target:_e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{le.addEventListener("animationstart",Xe,ve),le.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(le,{subject:we,unlisten:()=>{le.removeEventListener("animationstart",Xe,ve)}}),we}stopMonitoring(he){const le=(0,s.fI)(he),We=this._monitoredElements.get(le);We&&(We.unlisten(),We.subject.complete(),le.classList.remove("cdk-text-field-autofill-monitored"),le.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(le))}ngOnDestroy(){this._monitoredElements.forEach((he,le)=>this.stopMonitoring(le))}}return ke.\u0275fac=function(he){return new(he||ke)(h.LFG(i.t4),h.LFG(h.R0b))},ke.\u0275prov=h.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})(),Ce=(()=>{class ke{}return ke.\u0275fac=function(he){return new(he||ke)},ke.\u0275mod=h.oAB({type:ke}),ke.\u0275inj=h.cJS({}),ke})();const Ae=new h.OlP("MAT_INPUT_VALUE_ACCESSOR"),Be=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Se=0;const mt=(0,l.FD)(class{constructor(ke,oe,he,le){this._defaultErrorStateMatcher=ke,this._parentForm=oe,this._parentFormGroup=he,this.ngControl=le,this.stateChanges=new ie.x}});let bt=(()=>{class ke extends mt{constructor(he,le,We,we,et,Xe,_e,lt,je,pt){super(Xe,we,et,We),this._elementRef=he,this._platform=le,this._autofillMonitor=lt,this._formField=pt,this._uid="mat-input-"+Se++,this.focused=!1,this.stateChanges=new ie.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(Ct=>(0,i.qK)().has(Ct)),this._iOSKeyupListener=Ct=>{const St=Ct.target;!St.value&&0===St.selectionStart&&0===St.selectionEnd&&(St.setSelectionRange(1,1),St.setSelectionRange(0,0))};const it=this._elementRef.nativeElement,ft=it.nodeName.toLowerCase();this._inputValueAccessor=_e||it,this._previousNativeValue=this.value,this.id=this.id,le.IOS&&je.runOutsideAngular(()=>{he.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ft,this._isTextarea="textarea"===ft,this._isInFormField=!!pt,this._isNativeSelect&&(this.controlType=it.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(he){this._disabled=(0,s.Ig)(he),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(he){this._id=he||this._uid}get required(){var he,le,We,we;return null!==(we=null!==(he=this._required)&&void 0!==he?he:null===(We=null===(le=this.ngControl)||void 0===le?void 0:le.control)||void 0===We?void 0:We.hasValidator(u.kI.required))&&void 0!==we&&we}set required(he){this._required=(0,s.Ig)(he)}get type(){return this._type}set type(he){this._type=he||"text",this._validateType(),!this._isTextarea&&(0,i.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(he){he!==this.value&&(this._inputValueAccessor.value=he,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(he){this._readonly=(0,s.Ig)(he)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(he=>{this.autofilled=he.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(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(he){this._elementRef.nativeElement.focus(he)}_focusChanged(he){he!==this.focused&&(this.focused=he,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var he;const le=this._formField,We=!le||"legacy"!==le.appearance||null!==(he=le._hasLabel)&&void 0!==he&&he.call(le)?this.placeholder:null;if(We!==this._previousPlaceholder){const we=this._elementRef.nativeElement;this._previousPlaceholder=We,We?we.setAttribute("placeholder",We):we.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const he=this._elementRef.nativeElement.value;this._previousNativeValue!==he&&(this._previousNativeValue=he,this.stateChanges.next())}_validateType(){Be.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let he=this._elementRef.nativeElement.validity;return he&&he.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const he=this._elementRef.nativeElement,le=he.options[0];return this.focused||he.multiple||!this.empty||!!(he.selectedIndex>-1&&le&&le.label)}return this.focused||!this.empty}setDescribedByIds(he){he.length?this._elementRef.nativeElement.setAttribute("aria-describedby",he.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const he=this._elementRef.nativeElement;return this._isNativeSelect&&(he.multiple||he.size>1)}}return ke.\u0275fac=function(he){return new(he||ke)(h.Y36(h.SBq),h.Y36(i.t4),h.Y36(u.a5,10),h.Y36(u.F,8),h.Y36(u.sg,8),h.Y36(l.rD),h.Y36(Ae,10),h.Y36(X),h.Y36(h.R0b),h.Y36(Me.G_,8))},ke.\u0275dir=h.lG2({type:ke,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(he,le){1&he&&h.NdJ("focus",function(){return le._focusChanged(!0)})("blur",function(){return le._focusChanged(!1)})("input",function(){return le._onInput()}),2&he&&(h.Ikx("disabled",le.disabled)("required",le.required),h.uIk("id",le.id)("data-placeholder",le.placeholder)("name",le.name||null)("readonly",le.readonly&&!le._isNativeSelect||null)("aria-invalid",le.empty&&le.required?null:le.errorState)("aria-required",le.required),h.ekj("mat-input-server",le._isServer)("mat-native-select-inline",le._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:[h._Bn([{provide:Me.Eo,useExisting:ke}]),h.qOj,h.TTD]}),ke})(),Mt=(()=>{class ke{}return ke.\u0275fac=function(he){return new(he||ke)},ke.\u0275mod=h.oAB({type:ke}),ke.\u0275inj=h.cJS({providers:[l.rD],imports:[Ce,Me.lN,l.BQ,Ce,Me.lN]}),ke})()},4623:(Yt,ut,c)=>{"use strict";c.d(ut,{Hk:()=>We,Tg:()=>lt,ie:()=>Y});var s=c(9808),i=c(5e3),h=c(508),u=c(3191),l=c(7579),Me=c(2722),ne=(c(8675),c(5664),c(449),c(1159),c(3075),c(4834));const Ce=["*"],Ae=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Be=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],ke=(0,h.Id)((0,h.Kr)(class{})),oe=(0,h.Kr)(class{}),he=new i.OlP("MatList"),le=new i.OlP("MatNavList");let We=(()=>{class B extends ke{constructor(){super(...arguments),this._stateChanges=new l.x}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return B.\u0275fac=function(){let _;return function(J){return(_||(_=i.n5z(B)))(J||B)}}(),B.\u0275cmp=i.Xpm({type:B,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i._Bn([{provide:le,useExisting:B}]),i.qOj,i.TTD],ngContentSelectors:Ce,decls:1,vars:0,template:function(A,J){1&A&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),B})(),et=(()=>{class B{}return B.\u0275fac=function(A){return new(A||B)},B.\u0275dir=i.lG2({type:B,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),B})(),Xe=(()=>{class B{}return B.\u0275fac=function(A){return new(A||B)},B.\u0275dir=i.lG2({type:B,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),B})(),lt=(()=>{class B extends oe{constructor(A,J,se,de){super(),this._element=A,this._isInteractiveList=!1,this._destroyed=new l.x,this._disabled=!1,this._isInteractiveList=!!(se||de&&"action-list"===de._getListType()),this._list=se||de;const De=this._getHostElement();"button"===De.nodeName.toLowerCase()&&!De.hasAttribute("type")&&De.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,Me.R)(this._destroyed)).subscribe(()=>{J.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(A){this._disabled=(0,u.Ig)(A)}ngAfterContentInit(){(0,h.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return B.\u0275fac=function(A){return new(A||B)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(le,8),i.Y36(he,8))},B.\u0275cmp=i.Xpm({type:B,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(A,J,se){if(1&A&&(i.Suo(se,et,5),i.Suo(se,Xe,5),i.Suo(se,h.X2,5)),2&A){let de;i.iGM(de=i.CRH())&&(J._avatar=de.first),i.iGM(de=i.CRH())&&(J._icon=de.first),i.iGM(de=i.CRH())&&(J._lines=de)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(A,J){2&A&&i.ekj("mat-list-item-disabled",J.disabled)("mat-list-item-with-avatar",J._avatar||J._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:Be,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(A,J){1&A&&(i.F$t(Ae),i.TgZ(0,"span",0),i._UZ(1,"span",1),i.Hsn(2),i.TgZ(3,"span",2),i.Hsn(4,1),i.qZA(),i.Hsn(5,2),i.qZA()),2&A&&(i.xp6(1),i.Q6J("matRippleTrigger",J._getHostElement())("matRippleDisabled",J._isRippleDisabled()))},dependencies:[h.wG],encapsulation:2,changeDetection:0}),B})(),Y=(()=>{class B{}return B.\u0275fac=function(A){return new(A||B)},B.\u0275mod=i.oAB({type:B}),B.\u0275inj=i.cJS({imports:[h.uc,h.si,h.BQ,h.us,s.ez,h.uc,h.BQ,h.us,ne.t]}),B})()},2181:(Yt,ut,c)=>{"use strict";c.d(ut,{OP:()=>_,Tx:()=>gn,VK:()=>De,p6:()=>ln});var s=c(5664),i=c(3191),h=c(1159),u=c(5e3),l=c(7579),Me=c(727),ie=c(6451),re=c(9646),ve=c(3101),X=c(8675),Ne=c(3900),ne=c(5698),Ce=c(2722),ae=c(9300),Ae=c(1005),Be=c(1777),Se=c(7429),mt=c(9808),bt=c(508),Mt=c(9776),ke=c(925),oe=c(226),he=c(9071);const le=["mat-menu-item",""];function We(jt,cn){1&jt&&(u.O4$(),u.TgZ(0,"svg",2),u._UZ(1,"polygon",3),u.qZA())}const we=["*"];function et(jt,cn){if(1&jt){const Qe=u.EpF();u.TgZ(0,"div",0),u.NdJ("keydown",function(xe){u.CHM(Qe);const q=u.oxw();return u.KtG(q._handleKeydown(xe))})("click",function(){u.CHM(Qe);const xe=u.oxw();return u.KtG(xe.closed.emit("click"))})("@transformMenu.start",function(xe){u.CHM(Qe);const q=u.oxw();return u.KtG(q._onAnimationStart(xe))})("@transformMenu.done",function(xe){u.CHM(Qe);const q=u.oxw();return u.KtG(q._onAnimationDone(xe))}),u.TgZ(1,"div",1),u.Hsn(2),u.qZA()()}if(2&jt){const Qe=u.oxw();u.Q6J("id",Qe.panelId)("ngClass",Qe._classList)("@transformMenu",Qe._panelAnimationState),u.uIk("aria-label",Qe.ariaLabel||null)("aria-labelledby",Qe.ariaLabelledby||null)("aria-describedby",Qe.ariaDescribedby||null)}}const Xe={transformMenu:(0,Be.X$)("transformMenu",[(0,Be.SB)("void",(0,Be.oB)({opacity:0,transform:"scale(0.8)"})),(0,Be.eR)("void => enter",(0,Be.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Be.oB)({opacity:1,transform:"scale(1)"}))),(0,Be.eR)("* => void",(0,Be.jt)("100ms 25ms linear",(0,Be.oB)({opacity:0})))]),fadeInItems:(0,Be.X$)("fadeInItems",[(0,Be.SB)("showing",(0,Be.oB)({opacity:1})),(0,Be.eR)("void => *",[(0,Be.oB)({opacity:0}),(0,Be.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},je=new u.OlP("MatMenuContent"),Y=new u.OlP("MAT_MENU_PANEL"),B=(0,bt.Kr)((0,bt.Id)(class{}));let _=(()=>{class jt extends B{constructor(Qe,st,xe,q,k){var W;super(),this._elementRef=Qe,this._document=st,this._focusMonitor=xe,this._parentMenu=q,this._changeDetectorRef=k,this.role="menuitem",this._hovered=new l.x,this._focused=new l.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(W=null==q?void 0:q.addItem)||void 0===W||W.call(q,this)}focus(Qe,st){this._focusMonitor&&Qe?this._focusMonitor.focusVia(this._getHostElement(),Qe,st):this._getHostElement().focus(st),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Qe){this.disabled&&(Qe.preventDefault(),Qe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var Qe;const st=this._elementRef.nativeElement.cloneNode(!0),xe=st.querySelectorAll("mat-icon, .material-icons");for(let q=0;q<xe.length;q++)xe[q].remove();return(null===(Qe=st.textContent)||void 0===Qe?void 0:Qe.trim())||""}_setHighlighted(Qe){var st;this._highlighted=Qe,null===(st=this._changeDetectorRef)||void 0===st||st.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return jt.\u0275fac=function(Qe){return new(Qe||jt)(u.Y36(u.SBq),u.Y36(mt.K0),u.Y36(s.tE),u.Y36(Y,8),u.Y36(u.sBO))},jt.\u0275cmp=u.Xpm({type:jt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(Qe,st){1&Qe&&u.NdJ("click",function(q){return st._checkDisabled(q)})("mouseenter",function(){return st._handleMouseEnter()}),2&Qe&&(u.uIk("role",st.role)("tabindex",st._getTabIndex())("aria-disabled",st.disabled.toString())("disabled",st.disabled||null),u.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",st._highlighted)("mat-menu-item-submenu-trigger",st._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[u.qOj],attrs:le,ngContentSelectors:we,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(Qe,st){1&Qe&&(u.F$t(),u.Hsn(0),u._UZ(1,"div",0),u.YNc(2,We,2,0,"svg",1)),2&Qe&&(u.xp6(1),u.Q6J("matRippleDisabled",st.disableRipple||st.disabled)("matRippleTrigger",st._getHostElement()),u.xp6(1),u.Q6J("ngIf",st._triggersSubmenu))},dependencies:[mt.O5,bt.wG],encapsulation:2,changeDetection:0}),jt})();const A=new u.OlP("mat-menu-default-options",{providedIn:"root",factory:function J(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let se=0,de=(()=>{class jt{constructor(Qe,st,xe,q){this._elementRef=Qe,this._ngZone=st,this._defaultOptions=xe,this._changeDetectorRef=q,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new u.n_E,this._tabSubscription=Me.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new l.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new u.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+se++}get xPosition(){return this._xPosition}set xPosition(Qe){this._xPosition=Qe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Qe){this._yPosition=Qe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Qe){this._overlapTrigger=(0,i.Ig)(Qe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Qe){this._hasBackdrop=(0,i.Ig)(Qe)}set panelClass(Qe){const st=this._previousPanelClass;st&&st.length&&st.split(" ").forEach(xe=>{this._classList[xe]=!1}),this._previousPanelClass=Qe,Qe&&Qe.length&&(Qe.split(" ").forEach(xe=>{this._classList[xe]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Qe){this.panelClass=Qe}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new s.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,X.O)(this._directDescendantItems),(0,Ne.w)(Qe=>(0,ie.T)(...Qe.map(st=>st._focused)))).subscribe(Qe=>this._keyManager.updateActiveItem(Qe)),this._directDescendantItems.changes.subscribe(Qe=>{var st;const xe=this._keyManager;if("enter"===this._panelAnimationState&&(null===(st=xe.activeItem)||void 0===st?void 0:st._hasFocus())){const q=Qe.toArray(),k=Math.max(0,Math.min(q.length-1,xe.activeItemIndex||0));q[k]&&!q[k].disabled?xe.setActiveItem(k):xe.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,X.O)(this._directDescendantItems),(0,Ne.w)(st=>(0,ie.T)(...st.map(xe=>xe._hovered))))}addItem(Qe){}removeItem(Qe){}_handleKeydown(Qe){const st=Qe.keyCode,xe=this._keyManager;switch(st){case h.hY:(0,h.Vb)(Qe)||(Qe.preventDefault(),this.closed.emit("keydown"));break;case h.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case h.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(st===h.LH||st===h.JH)&&xe.setFocusOrigin("keyboard"),void xe.onKeydown(Qe)}Qe.stopPropagation()}focusFirstItem(Qe="program"){this._ngZone.onStable.pipe((0,ne.q)(1)).subscribe(()=>{let st=null;if(this._directDescendantItems.length&&(st=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!st||!st.contains(document.activeElement)){const xe=this._keyManager;xe.setFocusOrigin(Qe).setFirstItemActive(),!xe.activeItem&&st&&st.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Qe){const st=Math.min(this._baseElevation+Qe,24),xe=`${this._elevationPrefix}${st}`,q=Object.keys(this._classList).find(k=>k.startsWith(this._elevationPrefix));(!q||q===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[xe]=!0,this._previousElevation=xe)}setPositionClasses(Qe=this.xPosition,st=this.yPosition){var xe;const q=this._classList;q["mat-menu-before"]="before"===Qe,q["mat-menu-after"]="after"===Qe,q["mat-menu-above"]="above"===st,q["mat-menu-below"]="below"===st,null===(xe=this._changeDetectorRef)||void 0===xe||xe.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Qe){this._animationDone.next(Qe),this._isAnimating=!1}_onAnimationStart(Qe){this._isAnimating=!0,"enter"===Qe.toState&&0===this._keyManager.activeItemIndex&&(Qe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,X.O)(this._allItems)).subscribe(Qe=>{this._directDescendantItems.reset(Qe.filter(st=>st._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return jt.\u0275fac=function(Qe){return new(Qe||jt)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(A),u.Y36(u.sBO))},jt.\u0275dir=u.lG2({type:jt,contentQueries:function(Qe,st,xe){if(1&Qe&&(u.Suo(xe,je,5),u.Suo(xe,_,5),u.Suo(xe,_,4)),2&Qe){let q;u.iGM(q=u.CRH())&&(st.lazyContent=q.first),u.iGM(q=u.CRH())&&(st._allItems=q),u.iGM(q=u.CRH())&&(st.items=q)}},viewQuery:function(Qe,st){if(1&Qe&&u.Gf(u.Rgc,5),2&Qe){let xe;u.iGM(xe=u.CRH())&&(st.templateRef=xe.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),jt})(),De=(()=>{class jt extends de{constructor(Qe,st,xe,q){super(Qe,st,xe,q),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return jt.\u0275fac=function(Qe){return new(Qe||jt)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(A),u.Y36(u.sBO))},jt.\u0275cmp=u.Xpm({type:jt,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(Qe,st){2&Qe&&u.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[u._Bn([{provide:Y,useExisting:jt}]),u.qOj],ngContentSelectors:we,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(Qe,st){1&Qe&&(u.F$t(),u.YNc(0,et,3,6,"ng-template"))},dependencies:[mt.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Xe.transformMenu,Xe.fadeInItems]},changeDetection:0}),jt})();const Ke=new u.OlP("mat-menu-scroll-strategy"),ze={provide:Ke,deps:[Mt.aV],useFactory:function gt(jt){return()=>jt.scrollStrategies.reposition()}},Nt=(0,ke.i$)({passive:!0});let $t=(()=>{class jt{constructor(Qe,st,xe,q,k,W,Z,Ee,tt){this._overlay=Qe,this._element=st,this._viewContainerRef=xe,this._menuItemInstance=W,this._dir=Z,this._focusMonitor=Ee,this._ngZone=tt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Me.w0.EMPTY,this._hoverSubscription=Me.w0.EMPTY,this._menuCloseSubscription=Me.w0.EMPTY,this._handleTouchStart=qe=>{(0,s.yG)(qe)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new u.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new u.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=q,this._parentMaterialMenu=k instanceof de?k:void 0,st.nativeElement.addEventListener("touchstart",this._handleTouchStart,Nt),W&&(W._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Qe){this.menu=Qe}get menu(){return this._menu}set menu(Qe){Qe!==this._menu&&(this._menu=Qe,this._menuCloseSubscription.unsubscribe(),Qe&&(this._menuCloseSubscription=Qe.close.subscribe(st=>{this._destroyMenu(st),("click"===st||"tab"===st)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(st)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Nt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const Qe=this.menu;if(this._menuOpen||!Qe)return;const st=this._createOverlay(Qe),xe=st.getConfig(),q=xe.positionStrategy;this._setPosition(Qe,q),xe.hasBackdrop=null==Qe.hasBackdrop?!this.triggersSubmenu():Qe.hasBackdrop,st.attach(this._getPortal(Qe)),Qe.lazyContent&&Qe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Qe),Qe instanceof de&&(Qe._startAnimation(),Qe._directDescendantItems.changes.pipe((0,Ce.R)(Qe.close)).subscribe(()=>{q.withLockedPosition(!1).reapplyLastPosition(),q.withLockedPosition(!0)}))}closeMenu(){var Qe;null===(Qe=this.menu)||void 0===Qe||Qe.close.emit()}focus(Qe,st){this._focusMonitor&&Qe?this._focusMonitor.focusVia(this._element,Qe,st):this._element.nativeElement.focus(st)}updatePosition(){var Qe;null===(Qe=this._overlayRef)||void 0===Qe||Qe.updatePosition()}_destroyMenu(Qe){var st;if(!this._overlayRef||!this.menuOpen)return;const xe=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Qe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,xe instanceof de?(xe._resetAnimation(),xe.lazyContent?xe._animationDone.pipe((0,ae.h)(q=>"void"===q.toState),(0,ne.q)(1),(0,Ce.R)(xe.lazyContent._attached)).subscribe({next:()=>xe.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null===(st=null==xe?void 0:xe.lazyContent)||void 0===st||st.detach())}_initMenu(Qe){Qe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Qe.direction=this.dir,this._setMenuElevation(Qe),Qe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Qe){if(Qe.setElevation){let st=0,xe=Qe.parentMenu;for(;xe;)st++,xe=xe.parentMenu;Qe.setElevation(st)}}_setIsMenuOpen(Qe){this._menuOpen=Qe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Qe)}_createOverlay(Qe){if(!this._overlayRef){const st=this._getOverlayConfig(Qe);this._subscribeToPositions(Qe,st.positionStrategy),this._overlayRef=this._overlay.create(st),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Qe){return new Mt.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Qe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Qe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Qe,st){Qe.setPositionClasses&&st.positionChanges.subscribe(xe=>{const q="start"===xe.connectionPair.overlayX?"after":"before",k="top"===xe.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Qe.setPositionClasses(q,k)):Qe.setPositionClasses(q,k)})}_setPosition(Qe,st){let[xe,q]="before"===Qe.xPosition?["end","start"]:["start","end"],[k,W]="above"===Qe.yPosition?["bottom","top"]:["top","bottom"],[Z,Ee]=[k,W],[tt,qe]=[xe,q],kt=0;if(this.triggersSubmenu()){if(qe=xe="before"===Qe.xPosition?"start":"end",q=tt="end"===xe?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const qt=this._parentMaterialMenu.items.first;this._parentInnerPadding=qt?qt._getHostElement().offsetTop:0}kt="bottom"===k?this._parentInnerPadding:-this._parentInnerPadding}}else Qe.overlapTrigger||(Z="top"===k?"bottom":"top",Ee="top"===W?"bottom":"top");st.withPositions([{originX:xe,originY:Z,overlayX:tt,overlayY:k,offsetY:kt},{originX:q,originY:Z,overlayX:qe,overlayY:k,offsetY:kt},{originX:xe,originY:Ee,overlayX:tt,overlayY:W,offsetY:-kt},{originX:q,originY:Ee,overlayX:qe,overlayY:W,offsetY:-kt}])}_menuClosingActions(){const Qe=this._overlayRef.backdropClick(),st=this._overlayRef.detachments(),xe=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,re.of)(),q=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,ae.h)(k=>k!==this._menuItemInstance),(0,ae.h)(()=>this._menuOpen)):(0,re.of)();return(0,ie.T)(Qe,xe,q,st)}_handleMousedown(Qe){(0,s.X6)(Qe)||(this._openedBy=0===Qe.button?"mouse":void 0,this.triggersSubmenu()&&Qe.preventDefault())}_handleKeydown(Qe){const st=Qe.keyCode;(st===h.K5||st===h.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(st===h.SV&&"ltr"===this.dir||st===h.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Qe){this.triggersSubmenu()?(Qe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,ae.h)(Qe=>Qe===this._menuItemInstance&&!Qe.disabled),(0,Ae.g)(0,ve.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof de&&this.menu._isAnimating?this.menu._animationDone.pipe((0,ne.q)(1),(0,Ae.g)(0,ve.E),(0,Ce.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Qe){return(!this._portal||this._portal.templateRef!==Qe.templateRef)&&(this._portal=new Se.UE(Qe.templateRef,this._viewContainerRef)),this._portal}}return jt.\u0275fac=function(Qe){return new(Qe||jt)(u.Y36(Mt.aV),u.Y36(u.SBq),u.Y36(u.s_b),u.Y36(Ke),u.Y36(Y,8),u.Y36(_,10),u.Y36(oe.Is,8),u.Y36(s.tE),u.Y36(u.R0b))},jt.\u0275dir=u.lG2({type:jt,hostVars:3,hostBindings:function(Qe,st){1&Qe&&u.NdJ("click",function(q){return st._handleClick(q)})("mousedown",function(q){return st._handleMousedown(q)})("keydown",function(q){return st._handleKeydown(q)}),2&Qe&&u.uIk("aria-haspopup",st.menu?"menu":null)("aria-expanded",st.menuOpen||null)("aria-controls",st.menuOpen?st.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),jt})(),ln=(()=>{class jt extends $t{}return jt.\u0275fac=function(){let cn;return function(st){return(cn||(cn=u.n5z(jt)))(st||jt)}}(),jt.\u0275dir=u.lG2({type:jt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[u.qOj]}),jt})(),gn=(()=>{class jt{}return jt.\u0275fac=function(Qe){return new(Qe||jt)},jt.\u0275mod=u.oAB({type:jt}),jt.\u0275inj=u.cJS({providers:[ze],imports:[mt.ez,bt.BQ,bt.si,Mt.U8,he.ZD,bt.BQ]}),jt})()},6087:(Yt,ut,c)=>{"use strict";c.d(ut,{NW:()=>le,TU:()=>We});var s=c(9808),i=c(5e3),h=c(508),u=c(7423),l=c(4107),Me=c(7238),ie=c(3191),re=c(7579),ve=c(7322);function X(we,et){if(1&we&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&we){const Xe=et.$implicit;i.Q6J("value",Xe),i.xp6(1),i.hij(" ",Xe," ")}}function Ne(we,et){if(1&we){const Xe=i.EpF();i.TgZ(0,"mat-form-field",16)(1,"mat-select",17),i.NdJ("selectionChange",function(lt){i.CHM(Xe);const je=i.oxw(2);return i.KtG(je._changePageSize(lt.value))}),i.YNc(2,X,2,2,"mat-option",18),i.qZA()()}if(2&we){const Xe=i.oxw(2);i.Q6J("appearance",Xe._formFieldAppearance)("color",Xe.color),i.xp6(1),i.Q6J("value",Xe.pageSize)("disabled",Xe.disabled)("panelClass",Xe.selectConfig.panelClass||"")("disableOptionCentering",Xe.selectConfig.disableOptionCentering)("aria-label",Xe._intl.itemsPerPageLabel),i.xp6(1),i.Q6J("ngForOf",Xe._displayedPageSizeOptions)}}function ne(we,et){if(1&we&&(i.TgZ(0,"div",20),i._uU(1),i.qZA()),2&we){const Xe=i.oxw(2);i.xp6(1),i.Oqu(Xe.pageSize)}}function Ce(we,et){if(1&we&&(i.TgZ(0,"div",12)(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,Ne,3,8,"mat-form-field",14),i.YNc(4,ne,2,1,"div",15),i.qZA()),2&we){const Xe=i.oxw();i.xp6(2),i.hij(" ",Xe._intl.itemsPerPageLabel," "),i.xp6(1),i.Q6J("ngIf",Xe._displayedPageSizeOptions.length>1),i.xp6(1),i.Q6J("ngIf",Xe._displayedPageSizeOptions.length<=1)}}function ae(we,et){if(1&we){const Xe=i.EpF();i.TgZ(0,"button",21),i.NdJ("click",function(){i.CHM(Xe);const lt=i.oxw();return i.KtG(lt.firstPage())}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",22),i.qZA()()}if(2&we){const Xe=i.oxw();i.Q6J("matTooltip",Xe._intl.firstPageLabel)("matTooltipDisabled",Xe._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Xe._previousButtonsDisabled()),i.uIk("aria-label",Xe._intl.firstPageLabel)}}function Ae(we,et){if(1&we){const Xe=i.EpF();i.O4$(),i.kcU(),i.TgZ(0,"button",23),i.NdJ("click",function(){i.CHM(Xe);const lt=i.oxw();return i.KtG(lt.lastPage())}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",24),i.qZA()()}if(2&we){const Xe=i.oxw();i.Q6J("matTooltip",Xe._intl.lastPageLabel)("matTooltipDisabled",Xe._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Xe._nextButtonsDisabled()),i.uIk("aria-label",Xe._intl.lastPageLabel)}}let Be=(()=>{class we{constructor(){this.changes=new re.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(Xe,_e,lt)=>{if(0==lt||0==_e)return`0 of ${lt}`;const je=Xe*_e;return`${je+1} \u2013 ${je<(lt=Math.max(lt,0))?Math.min(je+_e,lt):je+_e} of ${lt}`}}}return we.\u0275fac=function(Xe){return new(Xe||we)},we.\u0275prov=i.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();const mt={provide:Be,deps:[[new i.FiY,new i.tp0,Be]],useFactory:function Se(we){return we||new Be}},ke=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),oe=(0,h.Id)((0,h.dB)(class{}));let he=(()=>{class we extends oe{constructor(Xe,_e,lt){if(super(),this._intl=Xe,this._changeDetectorRef=_e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new i.vpe,this._intlChanges=Xe.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),lt){const{pageSize:je,pageSizeOptions:pt,hidePageSize:it,showFirstLastButtons:ft}=lt;null!=je&&(this._pageSize=je),null!=pt&&(this._pageSizeOptions=pt),null!=it&&(this._hidePageSize=it),null!=ft&&(this._showFirstLastButtons=ft)}}get pageIndex(){return this._pageIndex}set pageIndex(Xe){this._pageIndex=Math.max((0,ie.su)(Xe),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Xe){this._length=(0,ie.su)(Xe),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Xe){this._pageSize=Math.max((0,ie.su)(Xe),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Xe){this._pageSizeOptions=(Xe||[]).map(_e=>(0,ie.su)(_e)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Xe){this._hidePageSize=(0,ie.Ig)(Xe)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Xe){this._showFirstLastButtons=(0,ie.Ig)(Xe)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Xe=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Xe)}previousPage(){if(!this.hasPreviousPage())return;const Xe=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Xe)}firstPage(){if(!this.hasPreviousPage())return;const Xe=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Xe)}lastPage(){if(!this.hasNextPage())return;const Xe=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Xe)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Xe=this.getNumberOfPages()-1;return this.pageIndex<Xe&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(Xe){const lt=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/Xe)||0,this.pageSize=Xe,this._emitPageEvent(lt)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((Xe,_e)=>Xe-_e),this._changeDetectorRef.markForCheck())}_emitPageEvent(Xe){this.page.emit({previousPageIndex:Xe,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return we.\u0275fac=function(Xe){i.$Z()},we.\u0275dir=i.lG2({type:we,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[i.qOj]}),we})(),le=(()=>{class we extends he{constructor(Xe,_e,lt){super(Xe,_e,lt),lt&&null!=lt.formFieldAppearance&&(this._formFieldAppearance=lt.formFieldAppearance)}}return we.\u0275fac=function(Xe){return new(Xe||we)(i.Y36(Be),i.Y36(i.sBO),i.Y36(ke,8))},we.\u0275cmp=i.Xpm({type:we,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[i.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(Xe,_e){1&Xe&&(i.TgZ(0,"div",0)(1,"div",1),i.YNc(2,Ce,5,3,"div",2),i.TgZ(3,"div",3)(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,ae,3,5,"button",5),i.TgZ(7,"button",6),i.NdJ("click",function(){return _e.previousPage()}),i.O4$(),i.TgZ(8,"svg",7),i._UZ(9,"path",8),i.qZA()(),i.kcU(),i.TgZ(10,"button",9),i.NdJ("click",function(){return _e.nextPage()}),i.O4$(),i.TgZ(11,"svg",7),i._UZ(12,"path",10),i.qZA()(),i.YNc(13,Ae,3,5,"button",11),i.qZA()()()),2&Xe&&(i.xp6(2),i.Q6J("ngIf",!_e.hidePageSize),i.xp6(3),i.hij(" ",_e._intl.getRangeLabel(_e.pageIndex,_e.pageSize,_e.length)," "),i.xp6(1),i.Q6J("ngIf",_e.showFirstLastButtons),i.xp6(1),i.Q6J("matTooltip",_e._intl.previousPageLabel)("matTooltipDisabled",_e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",_e._previousButtonsDisabled()),i.uIk("aria-label",_e._intl.previousPageLabel),i.xp6(3),i.Q6J("matTooltip",_e._intl.nextPageLabel)("matTooltipDisabled",_e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",_e._nextButtonsDisabled()),i.uIk("aria-label",_e._intl.nextPageLabel),i.xp6(3),i.Q6J("ngIf",_e.showFirstLastButtons))},dependencies:[s.sg,s.O5,u.lW,ve.KE,l.gD,h.ey,Me.gM],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),we})(),We=(()=>{class we{}return we.\u0275fac=function(Xe){return new(Xe||we)},we.\u0275mod=i.oAB({type:we}),we.\u0275inj=i.cJS({providers:[mt],imports:[s.ez,u.ot,l.LD,Me.AV,h.BQ]}),we})()},5899:(Yt,ut,c)=>{"use strict";c.d(ut,{Cv:()=>Be,pW:()=>ae});var s=c(5e3),i=c(9808),h=c(508),u=c(3191),l=c(727),Me=c(4968),ie=c(9300);const re=["primaryValueBar"],ve=(0,h.pj)(class{constructor(Se){this._elementRef=Se}},"primary"),X=new s.OlP("mat-progress-bar-location",{providedIn:"root",factory:function Ne(){const Se=(0,s.f3M)(i.K0),mt=Se?Se.location:null;return{getPathname:()=>mt?mt.pathname+mt.search:""}}}),ne=new s.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let Ce=0,ae=(()=>{class Se extends ve{constructor(bt,Mt,ke,oe,he,le){super(bt),this._ngZone=Mt,this._animationMode=ke,this._changeDetectorRef=le,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new s.vpe,this._animationEndSubscription=l.w0.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+Ce++;const We=oe?oe.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${We}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===ke,he&&(he.color&&(this.color=this.defaultColor=he.color),this.mode=he.mode||this.mode)}get value(){return this._value}set value(bt){var Mt;this._value=Ae((0,u.su)(bt)||0),null===(Mt=this._changeDetectorRef)||void 0===Mt||Mt.markForCheck()}get bufferValue(){return this._bufferValue}set bufferValue(bt){var Mt;this._bufferValue=Ae(bt||0),null===(Mt=this._changeDetectorRef)||void 0===Mt||Mt.markForCheck()}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const bt=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,Me.R)(bt,"transitionend").pipe((0,ie.h)(Mt=>Mt.target===bt)).subscribe(()=>{0!==this.animationEnd.observers.length&&("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return Se.\u0275fac=function(bt){return new(bt||Se)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.QbO,8),s.Y36(X,8),s.Y36(ne,8),s.Y36(s.sBO))},Se.\u0275cmp=s.Xpm({type:Se,selectors:[["mat-progress-bar"]],viewQuery:function(bt,Mt){if(1&bt&&s.Gf(re,5),2&bt){let ke;s.iGM(ke=s.CRH())&&(Mt._primaryValueBar=ke.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(bt,Mt){2&bt&&(s.uIk("aria-valuenow","indeterminate"===Mt.mode||"query"===Mt.mode?null:Mt.value)("mode",Mt.mode),s.ekj("_mat-animation-noopable",Mt._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[s.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(bt,Mt){1&bt&&(s.TgZ(0,"div",0),s.O4$(),s.TgZ(1,"svg",1)(2,"defs")(3,"pattern",2),s._UZ(4,"circle",3),s.qZA()(),s._UZ(5,"rect",4),s.qZA(),s.kcU(),s._UZ(6,"div",5)(7,"div",6,7)(9,"div",8),s.qZA()),2&bt&&(s.xp6(3),s.Q6J("id",Mt.progressbarId),s.xp6(2),s.uIk("fill",Mt._rectangleFillValue),s.xp6(1),s.Q6J("ngStyle",Mt._bufferTransform()),s.xp6(1),s.Q6J("ngStyle",Mt._primaryTransform()))},dependencies:[i.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}'],encapsulation:2,changeDetection:0}),Se})();function Ae(Se,mt=0,bt=100){return Math.max(mt,Math.min(bt,Se))}let Be=(()=>{class Se{}return Se.\u0275fac=function(bt){return new(bt||Se)},Se.\u0275mod=s.oAB({type:Se}),Se.\u0275inj=s.cJS({imports:[i.ez,h.BQ,h.BQ]}),Se})()},773:(Yt,ut,c)=>{"use strict";c.d(ut,{Cq:()=>Se,Ou:()=>Be});var s=c(3191),i=c(925),h=c(9808),u=c(5e3),l=c(508),Me=c(727),ie=c(9071);function re(bt,Mt){if(1&bt&&(u.O4$(),u._UZ(0,"circle",4)),2&bt){const ke=u.oxw(),oe=u.MAs(1);u.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+ke._spinnerAnimationLabel)("stroke-dashoffset",ke._getStrokeDashOffset(),"px")("stroke-dasharray",ke._getStrokeCircumference(),"px")("stroke-width",ke._getCircleStrokeWidth(),"%")("transform-origin",ke._getCircleTransformOrigin(oe)),u.uIk("r",ke._getCircleRadius())}}function ve(bt,Mt){if(1&bt&&(u.O4$(),u._UZ(0,"circle",4)),2&bt){const ke=u.oxw(),oe=u.MAs(1);u.Udp("stroke-dashoffset",ke._getStrokeDashOffset(),"px")("stroke-dasharray",ke._getStrokeCircumference(),"px")("stroke-width",ke._getCircleStrokeWidth(),"%")("transform-origin",ke._getCircleTransformOrigin(oe)),u.uIk("r",ke._getCircleRadius())}}const ne=(0,l.pj)(class{constructor(bt){this._elementRef=bt}},"primary"),Ce=new u.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function ae(){return{diameter:100}}});class Be extends ne{constructor(Mt,ke,oe,he,le,We,we,et){super(Mt),this._document=oe,this._diameter=100,this._value=0,this._resizeSubscription=Me.w0.EMPTY,this.mode="determinate";const Xe=Be._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),Xe.has(oe.head)||Xe.set(oe.head,new Set([100])),this._noopAnimations="NoopAnimations"===he&&!!le&&!le._forceAnimations,"mat-spinner"===Mt.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),le&&(le.color&&(this.color=this.defaultColor=le.color),le.diameter&&(this.diameter=le.diameter),le.strokeWidth&&(this.strokeWidth=le.strokeWidth)),ke.isBrowser&&ke.SAFARI&&we&&We&&et&&(this._resizeSubscription=we.change(150).subscribe(()=>{"indeterminate"===this.mode&&et.run(()=>We.markForCheck())}))}get diameter(){return this._diameter}set diameter(Mt){this._diameter=(0,s.su)(Mt),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(Mt){this._strokeWidth=(0,s.su)(Mt)}get value(){return"determinate"===this.mode?this._value:0}set value(Mt){this._value=Math.max(0,Math.min(100,(0,s.su)(Mt)))}ngOnInit(){const Mt=this._elementRef.nativeElement;this._styleRoot=(0,i.kV)(Mt)||this._document.head,this._attachStyleNode(),Mt.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const Mt=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${Mt} ${Mt}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(Mt){var ke;const oe=50*(null!==(ke=Mt.currentScale)&&void 0!==ke?ke:1);return`${oe}% ${oe}%`}_attachStyleNode(){const Mt=this._styleRoot,ke=this._diameter,oe=Be._diameters;let he=oe.get(Mt);if(!he||!he.has(ke)){const le=this._document.createElement("style");le.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),le.textContent=this._getAnimationText(),Mt.appendChild(le),he||(he=new Set,oe.set(Mt,he)),he.add(ke)}}_getAnimationText(){const Mt=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*Mt).replace(/END_VALUE/g,""+.2*Mt).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Be._diameters=new WeakMap,Be.\u0275fac=function(Mt){return new(Mt||Be)(u.Y36(u.SBq),u.Y36(i.t4),u.Y36(h.K0,8),u.Y36(u.QbO,8),u.Y36(Ce),u.Y36(u.sBO),u.Y36(ie.rL),u.Y36(u.R0b))},Be.\u0275cmp=u.Xpm({type:Be,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(Mt,ke){2&Mt&&(u.uIk("aria-valuemin","determinate"===ke.mode?0:null)("aria-valuemax","determinate"===ke.mode?100:null)("aria-valuenow","determinate"===ke.mode?ke.value:null)("mode",ke.mode),u.Udp("width",ke.diameter,"px")("height",ke.diameter,"px"),u.ekj("_mat-animation-noopable",ke._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[u.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(Mt,ke){1&Mt&&(u.O4$(),u.TgZ(0,"svg",0,1),u.YNc(2,re,1,11,"circle",2),u.YNc(3,ve,1,9,"circle",3),u.qZA()),2&Mt&&(u.Udp("width",ke.diameter,"px")("height",ke.diameter,"px"),u.Q6J("ngSwitch","indeterminate"===ke.mode),u.uIk("viewBox",ke._getViewBox()),u.xp6(2),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1))},dependencies:[h.RF,h.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let Se=(()=>{class bt{}return bt.\u0275fac=function(ke){return new(ke||bt)},bt.\u0275mod=u.oAB({type:bt}),bt.\u0275inj=u.cJS({imports:[l.BQ,h.ez,l.BQ]}),bt})()},4107:(Yt,ut,c)=>{"use strict";c.d(ut,{LD:()=>cn,gD:()=>jt});var s=c(9776),i=c(9808),h=c(5e3),u=c(508),l=c(7322),Me=c(9071),ie=c(5664),re=c(3191),ve=c(449),X=c(1159),Ne=c(3075),ne=c(7579),Ce=c(9770),ae=c(6451),Ae=c(8675),Be=c(3900),Se=c(5698),mt=c(9300),bt=c(4004),Mt=c(1884),ke=c(2722),oe=c(1777),he=c(226);const le=["trigger"],We=["panel"];function we(Qe,st){if(1&Qe&&(h.TgZ(0,"span",8),h._uU(1),h.qZA()),2&Qe){const xe=h.oxw();h.xp6(1),h.Oqu(xe.placeholder)}}function et(Qe,st){if(1&Qe&&(h.TgZ(0,"span",12),h._uU(1),h.qZA()),2&Qe){const xe=h.oxw(2);h.xp6(1),h.Oqu(xe.triggerValue)}}function Xe(Qe,st){1&Qe&&h.Hsn(0,0,["*ngSwitchCase","true"])}function _e(Qe,st){if(1&Qe&&(h.TgZ(0,"span",9),h.YNc(1,et,2,1,"span",10),h.YNc(2,Xe,1,0,"ng-content",11),h.qZA()),2&Qe){const xe=h.oxw();h.Q6J("ngSwitch",!!xe.customTrigger),h.xp6(2),h.Q6J("ngSwitchCase",!0)}}function lt(Qe,st){if(1&Qe){const xe=h.EpF();h.TgZ(0,"div",13)(1,"div",14,15),h.NdJ("@transformPanel.done",function(k){h.CHM(xe);const W=h.oxw();return h.KtG(W._panelDoneAnimatingStream.next(k.toState))})("keydown",function(k){h.CHM(xe);const W=h.oxw();return h.KtG(W._handleKeydown(k))}),h.Hsn(3,1),h.qZA()()}if(2&Qe){const xe=h.oxw();h.Q6J("@transformPanelWrap",void 0),h.xp6(1),h.Gre("mat-select-panel ",xe._getPanelTheme(),""),h.Udp("transform-origin",xe._transformOrigin)("font-size",xe._triggerFontSize,"px"),h.Q6J("ngClass",xe.panelClass)("@transformPanel",xe.multiple?"showing-multiple":"showing"),h.uIk("id",xe.id+"-panel")("aria-multiselectable",xe.multiple)("aria-label",xe.ariaLabel||null)("aria-labelledby",xe._getPanelAriaLabelledby())}}const je=[[["mat-select-trigger"]],"*"],pt=["mat-select-trigger","*"],it={transformPanelWrap:(0,oe.X$)("transformPanelWrap",[(0,oe.eR)("* => void",(0,oe.IO)("@transformPanel",[(0,oe.pV)()],{optional:!0}))]),transformPanel:(0,oe.X$)("transformPanel",[(0,oe.SB)("void",(0,oe.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,oe.SB)("showing",(0,oe.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,oe.SB)("showing-multiple",(0,oe.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,oe.eR)("void => *",(0,oe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,oe.eR)("* => void",(0,oe.jt)("100ms 25ms linear",(0,oe.oB)({opacity:0})))])};let Y=0;const B=256,De=new h.OlP("mat-select-scroll-strategy"),gt=new h.OlP("MAT_SELECT_CONFIG"),ze={provide:De,deps:[s.aV],useFactory:function Ke(Qe){return()=>Qe.scrollStrategies.reposition()}};class Et{constructor(st,xe){this.source=st,this.value=xe}}const Nt=(0,u.Kr)((0,u.sb)((0,u.Id)((0,u.FD)(class{constructor(Qe,st,xe,q,k){this._elementRef=Qe,this._defaultErrorStateMatcher=st,this._parentForm=xe,this._parentFormGroup=q,this.ngControl=k,this.stateChanges=new ne.x}})))),$t=new h.OlP("MatSelectTrigger");let gn=(()=>{class Qe extends Nt{constructor(xe,q,k,W,Z,Ee,tt,qe,kt,qt,en,Lt,xt,Rt){var ge,Ge,rt;super(Z,W,tt,qe,qt),this._viewportRuler=xe,this._changeDetectorRef=q,this._ngZone=k,this._dir=Ee,this._parentFormField=kt,this._liveAnnouncer=xt,this._defaultOptions=Rt,this._panelOpen=!1,this._compareWith=(L,me)=>L===me,this._uid="mat-select-"+Y++,this._triggerAriaLabelledBy=null,this._destroy=new ne.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Y++,this._panelDoneAnimatingStream=new ne.x,this._overlayPanelClass=(null===(ge=this._defaultOptions)||void 0===ge?void 0:ge.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(rt=null===(Ge=this._defaultOptions)||void 0===Ge?void 0:Ge.disableOptionCentering)&&void 0!==rt&&rt,this.ariaLabel="",this.optionSelectionChanges=(0,Ce.P)(()=>{const L=this.options;return L?L.changes.pipe((0,Ae.O)(L),(0,Be.w)(()=>(0,ae.T)(...L.map(me=>me.onSelectionChange)))):this._ngZone.onStable.pipe((0,Se.q)(1),(0,Be.w)(()=>this.optionSelectionChanges))}),this.openedChange=new h.vpe,this._openedStream=this.openedChange.pipe((0,mt.h)(L=>L),(0,bt.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,mt.h)(L=>!L),(0,bt.U)(()=>{})),this.selectionChange=new h.vpe,this.valueChange=new h.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Rt?void 0:Rt.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Rt.typeaheadDebounceInterval),this._scrollStrategyFactory=Lt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(en)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(xe){this._placeholder=xe,this.stateChanges.next()}get required(){var xe,q,k,W;return null!==(W=null!==(xe=this._required)&&void 0!==xe?xe:null===(k=null===(q=this.ngControl)||void 0===q?void 0:q.control)||void 0===k?void 0:k.hasValidator(Ne.kI.required))&&void 0!==W&&W}set required(xe){this._required=(0,re.Ig)(xe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(xe){this._multiple=(0,re.Ig)(xe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(xe){this._disableOptionCentering=(0,re.Ig)(xe)}get compareWith(){return this._compareWith}set compareWith(xe){this._compareWith=xe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(xe){this._assignValue(xe)&&this._onChange(xe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(xe){this._typeaheadDebounceInterval=(0,re.su)(xe)}get id(){return this._id}set id(xe){this._id=xe||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new ve.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,Mt.x)(),(0,ke.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ke.R)(this._destroy)).subscribe(xe=>{xe.added.forEach(q=>q.select()),xe.removed.forEach(q=>q.deselect())}),this.options.changes.pipe((0,Ae.O)(null),(0,ke.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const xe=this._getTriggerAriaLabelledby(),q=this.ngControl;if(xe!==this._triggerAriaLabelledBy){const k=this._elementRef.nativeElement;this._triggerAriaLabelledBy=xe,xe?k.setAttribute("aria-labelledby",xe):k.removeAttribute("aria-labelledby")}q&&(this._previousControl!==q.control&&(void 0!==this._previousControl&&null!==q.disabled&&q.disabled!==this.disabled&&(this.disabled=q.disabled),this._previousControl=q.control),this.updateErrorState())}ngOnChanges(xe){(xe.disabled||xe.userAriaDescribedBy)&&this.stateChanges.next(),xe.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(xe){this._assignValue(xe)}registerOnChange(xe){this._onChange=xe}registerOnTouched(xe){this._onTouched=xe}setDisabledState(xe){this.disabled=xe,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var xe,q;return this.multiple?(null===(xe=this._selectionModel)||void 0===xe?void 0:xe.selected)||[]:null===(q=this._selectionModel)||void 0===q?void 0:q.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const xe=this._selectionModel.selected.map(q=>q.viewValue);return this._isRtl()&&xe.reverse(),xe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(xe){this.disabled||(this.panelOpen?this._handleOpenKeydown(xe):this._handleClosedKeydown(xe))}_handleClosedKeydown(xe){const q=xe.keyCode,k=q===X.JH||q===X.LH||q===X.oh||q===X.SV,W=q===X.K5||q===X.L_,Z=this._keyManager;if(!Z.isTyping()&&W&&!(0,X.Vb)(xe)||(this.multiple||xe.altKey)&&k)xe.preventDefault(),this.open();else if(!this.multiple){const Ee=this.selected;Z.onKeydown(xe);const tt=this.selected;tt&&Ee!==tt&&this._liveAnnouncer.announce(tt.viewValue,1e4)}}_handleOpenKeydown(xe){const q=this._keyManager,k=xe.keyCode,W=k===X.JH||k===X.LH,Z=q.isTyping();if(W&&xe.altKey)xe.preventDefault(),this.close();else if(Z||k!==X.K5&&k!==X.L_||!q.activeItem||(0,X.Vb)(xe))if(!Z&&this._multiple&&k===X.A&&xe.ctrlKey){xe.preventDefault();const Ee=this.options.some(tt=>!tt.disabled&&!tt.selected);this.options.forEach(tt=>{tt.disabled||(Ee?tt.select():tt.deselect())})}else{const Ee=q.activeItemIndex;q.onKeydown(xe),this._multiple&&W&&xe.shiftKey&&q.activeItem&&q.activeItemIndex!==Ee&&q.activeItem._selectViaInteraction()}else xe.preventDefault(),q.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Se.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(xe){if(this._selectionModel.selected.forEach(q=>q.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&xe)Array.isArray(xe),xe.forEach(q=>this._selectOptionByValue(q)),this._sortValues();else{const q=this._selectOptionByValue(xe);q?this._keyManager.updateActiveItem(q):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(xe){const q=this.options.find(k=>{if(this._selectionModel.isSelected(k))return!1;try{return null!=k.value&&this._compareWith(k.value,xe)}catch(W){return!1}});return q&&this._selectionModel.select(q),q}_assignValue(xe){return!!(xe!==this._value||this._multiple&&Array.isArray(xe))&&(this.options&&this._setSelectionByValue(xe),this._value=xe,!0)}_initKeyManager(){this._keyManager=new ie.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,ke.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,ke.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const xe=(0,ae.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ke.R)(xe)).subscribe(q=>{this._onSelect(q.source,q.isUserInput),q.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,ae.T)(...this.options.map(q=>q._stateChanges)).pipe((0,ke.R)(xe)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(xe,q){const k=this._selectionModel.isSelected(xe);null!=xe.value||this._multiple?(k!==xe.selected&&(xe.selected?this._selectionModel.select(xe):this._selectionModel.deselect(xe)),q&&this._keyManager.setActiveItem(xe),this.multiple&&(this._sortValues(),q&&this.focus())):(xe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(xe.value)),k!==this._selectionModel.isSelected(xe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const xe=this.options.toArray();this._selectionModel.sort((q,k)=>this.sortComparator?this.sortComparator(q,k,xe):xe.indexOf(q)-xe.indexOf(k)),this.stateChanges.next()}}_propagateChanges(xe){let q=null;q=this.multiple?this.selected.map(k=>k.value):this.selected?this.selected.value:xe,this._value=q,this.valueChange.emit(q),this._onChange(q),this.selectionChange.emit(this._getChangeEvent(q)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var xe;return!this._panelOpen&&!this.disabled&&(null===(xe=this.options)||void 0===xe?void 0:xe.length)>0}focus(xe){this._elementRef.nativeElement.focus(xe)}_getPanelAriaLabelledby(){var xe;if(this.ariaLabel)return null;const q=null===(xe=this._parentFormField)||void 0===xe?void 0:xe.getLabelId();return this.ariaLabelledby?(q?q+" ":"")+this.ariaLabelledby:q}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var xe;if(this.ariaLabel)return null;const q=null===(xe=this._parentFormField)||void 0===xe?void 0:xe.getLabelId();let k=(q?q+" ":"")+this._valueId;return this.ariaLabelledby&&(k+=" "+this.ariaLabelledby),k}_panelDoneAnimating(xe){this.openedChange.emit(xe)}setDescribedByIds(xe){xe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",xe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Qe.\u0275fac=function(xe){return new(xe||Qe)(h.Y36(Me.rL),h.Y36(h.sBO),h.Y36(h.R0b),h.Y36(u.rD),h.Y36(h.SBq),h.Y36(he.Is,8),h.Y36(Ne.F,8),h.Y36(Ne.sg,8),h.Y36(l.G_,8),h.Y36(Ne.a5,10),h.$8M("tabindex"),h.Y36(De),h.Y36(ie.Kd),h.Y36(gt,8))},Qe.\u0275dir=h.lG2({type:Qe,viewQuery:function(xe,q){if(1&xe&&(h.Gf(le,5),h.Gf(We,5),h.Gf(s.pI,5)),2&xe){let k;h.iGM(k=h.CRH())&&(q.trigger=k.first),h.iGM(k=h.CRH())&&(q.panel=k.first),h.iGM(k=h.CRH())&&(q._overlayDir=k.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[h.qOj,h.TTD]}),Qe})(),jt=(()=>{class Qe extends gn{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(xe,q,k){const W=this._getItemHeight();return Math.min(Math.max(0,W*xe-q+W/2),k)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,ke.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,Se.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(xe){const q=(0,u.CB)(xe,this.options,this.optionGroups),k=this._getItemHeight();this.panel.nativeElement.scrollTop=0===xe&&1===q?0:(0,u.jH)((xe+q)*k,k,this.panel.nativeElement.scrollTop,B)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(xe){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(xe)}_getChangeEvent(xe){return new Et(this,xe)}_calculateOverlayOffsetX(){const xe=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),q=this._viewportRuler.getViewportSize(),k=this._isRtl(),W=this.multiple?56:32;let Z;if(this.multiple)Z=40;else if(this.disableOptionCentering)Z=16;else{let qe=this._selectionModel.selected[0]||this.options.first;Z=qe&&qe.group?32:16}k||(Z*=-1);const Ee=0-(xe.left+Z-(k?W:0)),tt=xe.right+Z-q.width+(k?0:W);Ee>0?Z+=Ee+8:tt>0&&(Z-=tt+8),this._overlayDir.offsetX=Math.round(Z),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(xe,q,k){const W=this._getItemHeight(),Z=(W-this._triggerRect.height)/2,Ee=Math.floor(B/W);let tt;return this.disableOptionCentering?0:(tt=0===this._scrollTop?xe*W:this._scrollTop===k?(xe-(this._getItemCount()-Ee))*W+(W-(this._getItemCount()*W-B)%W):q-W/2,Math.round(-1*tt-Z))}_checkOverlayWithinViewport(xe){const q=this._getItemHeight(),k=this._viewportRuler.getViewportSize(),W=this._triggerRect.top-8,Z=k.height-this._triggerRect.bottom-8,Ee=Math.abs(this._offsetY),qe=Math.min(this._getItemCount()*q,B)-Ee-this._triggerRect.height;qe>Z?this._adjustPanelUp(qe,Z):Ee>W?this._adjustPanelDown(Ee,W,xe):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(xe,q){const k=Math.round(xe-q);this._scrollTop-=k,this._offsetY-=k,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(xe,q,k){const W=Math.round(xe-q);if(this._scrollTop+=W,this._offsetY+=W,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=k)return this._scrollTop=k,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const xe=this._getItemHeight(),q=this._getItemCount(),k=Math.min(q*xe,B),Z=q*xe-k;let Ee;Ee=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Ee+=(0,u.CB)(Ee,this.options,this.optionGroups);const tt=k/2;this._scrollTop=this._calculateOverlayScroll(Ee,tt,Z),this._offsetY=this._calculateOverlayOffsetY(Ee,tt,Z),this._checkOverlayWithinViewport(Z)}_getOriginBasedOnOption(){const xe=this._getItemHeight(),q=(xe-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-q+xe/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Qe.\u0275fac=function(){let st;return function(q){return(st||(st=h.n5z(Qe)))(q||Qe)}}(),Qe.\u0275cmp=h.Xpm({type:Qe,selectors:[["mat-select"]],contentQueries:function(xe,q,k){if(1&xe&&(h.Suo(k,$t,5),h.Suo(k,u.ey,5),h.Suo(k,u.K7,5)),2&xe){let W;h.iGM(W=h.CRH())&&(q.customTrigger=W.first),h.iGM(W=h.CRH())&&(q.options=W),h.iGM(W=h.CRH())&&(q.optionGroups=W)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(xe,q){1&xe&&h.NdJ("keydown",function(W){return q._handleKeydown(W)})("focus",function(){return q._onFocus()})("blur",function(){return q._onBlur()}),2&xe&&(h.uIk("id",q.id)("tabindex",q.tabIndex)("aria-controls",q.panelOpen?q.id+"-panel":null)("aria-expanded",q.panelOpen)("aria-label",q.ariaLabel||null)("aria-required",q.required.toString())("aria-disabled",q.disabled.toString())("aria-invalid",q.errorState)("aria-activedescendant",q._getAriaActiveDescendant()),h.ekj("mat-select-disabled",q.disabled)("mat-select-invalid",q.errorState)("mat-select-required",q.required)("mat-select-empty",q.empty)("mat-select-multiple",q.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[h._Bn([{provide:l.Eo,useExisting:Qe},{provide:u.HF,useExisting:Qe}]),h.qOj],ngContentSelectors:pt,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(xe,q){if(1&xe&&(h.F$t(je),h.TgZ(0,"div",0,1),h.NdJ("click",function(){return q.toggle()}),h.TgZ(3,"div",2),h.YNc(4,we,2,1,"span",3),h.YNc(5,_e,3,2,"span",4),h.qZA(),h.TgZ(6,"div",5),h._UZ(7,"div",6),h.qZA()(),h.YNc(8,lt,4,14,"ng-template",7),h.NdJ("backdropClick",function(){return q.close()})("attach",function(){return q._onAttached()})("detach",function(){return q.close()})),2&xe){const k=h.MAs(1);h.uIk("aria-owns",q.panelOpen?q.id+"-panel":null),h.xp6(3),h.Q6J("ngSwitch",q.empty),h.uIk("id",q._valueId),h.xp6(1),h.Q6J("ngSwitchCase",!0),h.xp6(1),h.Q6J("ngSwitchCase",!1),h.xp6(3),h.Q6J("cdkConnectedOverlayPanelClass",q._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",q._scrollStrategy)("cdkConnectedOverlayOrigin",k)("cdkConnectedOverlayOpen",q.panelOpen)("cdkConnectedOverlayPositions",q._positions)("cdkConnectedOverlayMinWidth",null==q._triggerRect?null:q._triggerRect.width)("cdkConnectedOverlayOffsetY",q._offsetY)}},dependencies:[i.mk,i.RF,i.n9,i.ED,s.pI,s.xu],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{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;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[it.transformPanelWrap,it.transformPanel]},changeDetection:0}),Qe})(),cn=(()=>{class Qe{}return Qe.\u0275fac=function(xe){return new(xe||Qe)},Qe.\u0275mod=h.oAB({type:Qe}),Qe.\u0275inj=h.cJS({providers:[ze],imports:[i.ez,s.U8,u.Ng,u.BQ,Me.ZD,l.lN,u.Ng,u.BQ]}),Qe})()},2638:(Yt,ut,c)=>{"use strict";c.d(ut,{JX:()=>se,Rh:()=>J,SJ:()=>De,TM:()=>de});var s=c(9071),i=c(9808),h=c(5e3),u=c(508),l=c(3191),Me=c(1159),ie=c(7579),re=c(4968),ve=c(6451),X=c(9300),Ne=c(4004),ne=c(9718),Ce=c(2722),ae=c(1884),Ae=c(5698),Be=c(8675),Se=c(8372),mt=c(1777),bt=c(5664),Mt=c(925),ke=c(226);const oe=["*"],he=["content"];function le(Ke,gt){if(1&Ke){const ze=h.EpF();h.TgZ(0,"div",2),h.NdJ("click",function(){h.CHM(ze);const Nt=h.oxw();return h.KtG(Nt._onBackdropClicked())}),h.qZA()}if(2&Ke){const ze=h.oxw();h.ekj("mat-drawer-shown",ze._isShowingBackdrop())}}function We(Ke,gt){1&Ke&&(h.TgZ(0,"mat-drawer-content"),h.Hsn(1,2),h.qZA())}const we=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],et=["mat-drawer","mat-drawer-content","*"];function Xe(Ke,gt){if(1&Ke){const ze=h.EpF();h.TgZ(0,"div",2),h.NdJ("click",function(){h.CHM(ze);const Nt=h.oxw();return h.KtG(Nt._onBackdropClicked())}),h.qZA()}if(2&Ke){const ze=h.oxw();h.ekj("mat-drawer-shown",ze._isShowingBackdrop())}}function _e(Ke,gt){1&Ke&&(h.TgZ(0,"mat-sidenav-content"),h.Hsn(1,2),h.qZA())}const lt=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],je=["mat-sidenav","mat-sidenav-content","*"],it={transformDrawer:(0,mt.X$)("transform",[(0,mt.SB)("open, open-instant",(0,mt.oB)({transform:"none",visibility:"visible"})),(0,mt.SB)("void",(0,mt.oB)({"box-shadow":"none",visibility:"hidden"})),(0,mt.eR)("void => open-instant",(0,mt.jt)("0ms")),(0,mt.eR)("void <=> open, open-instant => void",(0,mt.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Ct=new h.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Y(){return!1}}),St=new h.OlP("MAT_DRAWER_CONTAINER");let B=(()=>{class Ke extends s.PQ{constructor(ze,Et,Nt,$t,ln){super(Nt,$t,ln),this._changeDetectorRef=ze,this._container=Et}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return Ke.\u0275fac=function(ze){return new(ze||Ke)(h.Y36(h.sBO),h.Y36((0,h.Gpc)(()=>A)),h.Y36(h.SBq),h.Y36(s.mF),h.Y36(h.R0b))},Ke.\u0275cmp=h.Xpm({type:Ke,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(ze,Et){2&ze&&h.Udp("margin-left",Et._container._contentMargins.left,"px")("margin-right",Et._container._contentMargins.right,"px")},features:[h._Bn([{provide:s.PQ,useExisting:Ke}]),h.qOj],ngContentSelectors:oe,decls:1,vars:0,template:function(ze,Et){1&ze&&(h.F$t(),h.Hsn(0))},encapsulation:2,changeDetection:0}),Ke})(),_=(()=>{class Ke{constructor(ze,Et,Nt,$t,ln,gn,jt,cn){this._elementRef=ze,this._focusTrapFactory=Et,this._focusMonitor=Nt,this._platform=$t,this._ngZone=ln,this._interactivityChecker=gn,this._doc=jt,this._container=cn,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new ie.x,this._animationEnd=new ie.x,this._animationState="void",this.openedChange=new h.vpe(!0),this._openedStream=this.openedChange.pipe((0,X.h)(Qe=>Qe),(0,Ne.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,X.h)(Qe=>Qe.fromState!==Qe.toState&&0===Qe.toState.indexOf("open")),(0,ne.h)(void 0)),this._closedStream=this.openedChange.pipe((0,X.h)(Qe=>!Qe),(0,Ne.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,X.h)(Qe=>Qe.fromState!==Qe.toState&&"void"===Qe.toState),(0,ne.h)(void 0)),this._destroyed=new ie.x,this.onPositionChanged=new h.vpe,this._modeChanged=new ie.x,this.openedChange.subscribe(Qe=>{Qe?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,re.R)(this._elementRef.nativeElement,"keydown").pipe((0,X.h)(Qe=>Qe.keyCode===Me.hY&&!this.disableClose&&!(0,Me.Vb)(Qe)),(0,Ce.R)(this._destroyed)).subscribe(Qe=>this._ngZone.run(()=>{this.close(),Qe.stopPropagation(),Qe.preventDefault()}))}),this._animationEnd.pipe((0,ae.x)((Qe,st)=>Qe.fromState===st.fromState&&Qe.toState===st.toState)).subscribe(Qe=>{const{fromState:st,toState:xe}=Qe;(0===xe.indexOf("open")&&"void"===st||"void"===xe&&0===st.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(ze){(ze="end"===ze?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ze),this._position=ze,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ze){this._mode=ze,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ze){this._disableClose=(0,l.Ig)(ze)}get autoFocus(){const ze=this._autoFocus;return null==ze?"side"===this.mode?"dialog":"first-tabbable":ze}set autoFocus(ze){("true"===ze||"false"===ze||null==ze)&&(ze=(0,l.Ig)(ze)),this._autoFocus=ze}get opened(){return this._opened}set opened(ze){this.toggle((0,l.Ig)(ze))}_forceFocus(ze,Et){this._interactivityChecker.isFocusable(ze)||(ze.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Nt=()=>{ze.removeEventListener("blur",Nt),ze.removeEventListener("mousedown",Nt),ze.removeAttribute("tabindex")};ze.addEventListener("blur",Nt),ze.addEventListener("mousedown",Nt)})),ze.focus(Et)}_focusByCssSelector(ze,Et){let Nt=this._elementRef.nativeElement.querySelector(ze);Nt&&this._forceFocus(Nt,Et)}_takeFocus(){if(!this._focusTrap)return;const ze=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Et=>{!Et&&"function"==typeof this._elementRef.nativeElement.focus&&ze.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ze){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ze):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ze=this._doc.activeElement;return!!ze&&this._elementRef.nativeElement.contains(ze)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var ze;this._focusTrap&&this._focusTrap.destroy(),null===(ze=this._anchor)||void 0===ze||ze.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(ze){return this.toggle(!0,ze)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ze=!this.opened,Et){ze&&Et&&(this._openedVia=Et);const Nt=this._setOpen(ze,!ze&&this._isFocusWithinDrawer(),this._openedVia||"program");return ze||(this._openedVia=null),Nt}_setOpen(ze,Et,Nt){return this._opened=ze,ze?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Et&&this._restoreFocus(Nt)),this._updateFocusTrapState(),new Promise($t=>{this.openedChange.pipe((0,Ae.q)(1)).subscribe(ln=>$t(ln?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(ze){const Et=this._elementRef.nativeElement,Nt=Et.parentNode;"end"===ze?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Nt.insertBefore(this._anchor,Et)),Nt.appendChild(Et)):this._anchor&&this._anchor.parentNode.insertBefore(Et,this._anchor)}}return Ke.\u0275fac=function(ze){return new(ze||Ke)(h.Y36(h.SBq),h.Y36(bt.qV),h.Y36(bt.tE),h.Y36(Mt.t4),h.Y36(h.R0b),h.Y36(bt.ic),h.Y36(i.K0,8),h.Y36(St,8))},Ke.\u0275cmp=h.Xpm({type:Ke,selectors:[["mat-drawer"]],viewQuery:function(ze,Et){if(1&ze&&h.Gf(he,5),2&ze){let Nt;h.iGM(Nt=h.CRH())&&(Et._content=Nt.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(ze,Et){1&ze&&h.WFA("@transform.start",function($t){return Et._animationStarted.next($t)})("@transform.done",function($t){return Et._animationEnd.next($t)}),2&ze&&(h.uIk("align",null),h.d8E("@transform",Et._animationState),h.ekj("mat-drawer-end","end"===Et.position)("mat-drawer-over","over"===Et.mode)("mat-drawer-push","push"===Et.mode)("mat-drawer-side","side"===Et.mode)("mat-drawer-opened",Et.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:oe,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ze,Et){1&ze&&(h.F$t(),h.TgZ(0,"div",0,1),h.Hsn(2),h.qZA())},dependencies:[s.PQ],encapsulation:2,data:{animation:[it.transformDrawer]},changeDetection:0}),Ke})(),A=(()=>{class Ke{constructor(ze,Et,Nt,$t,ln,gn=!1,jt){this._dir=ze,this._element=Et,this._ngZone=Nt,this._changeDetectorRef=$t,this._animationMode=jt,this._drawers=new h.n_E,this.backdropClick=new h.vpe,this._destroyed=new ie.x,this._doCheckSubject=new ie.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new ie.x,ze&&ze.change.pipe((0,Ce.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),ln.change().pipe((0,Ce.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=gn}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ze){this._autosize=(0,l.Ig)(ze)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(ze){this._backdropOverride=null==ze?null:(0,l.Ig)(ze)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Be.O)(this._allDrawers),(0,Ce.R)(this._destroyed)).subscribe(ze=>{this._drawers.reset(ze.filter(Et=>!Et._container||Et._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Be.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ze=>{this._watchDrawerToggle(ze),this._watchDrawerPosition(ze),this._watchDrawerMode(ze)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Se.b)(10),(0,Ce.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(ze=>ze.open())}close(){this._drawers.forEach(ze=>ze.close())}updateContentMargins(){let ze=0,Et=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ze+=this._left._getWidth();else if("push"==this._left.mode){const Nt=this._left._getWidth();ze+=Nt,Et-=Nt}if(this._right&&this._right.opened)if("side"==this._right.mode)Et+=this._right._getWidth();else if("push"==this._right.mode){const Nt=this._right._getWidth();Et+=Nt,ze-=Nt}ze=ze||null,Et=Et||null,(ze!==this._contentMargins.left||Et!==this._contentMargins.right)&&(this._contentMargins={left:ze,right:Et},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ze){ze._animationStarted.pipe((0,X.h)(Et=>Et.fromState!==Et.toState),(0,Ce.R)(this._drawers.changes)).subscribe(Et=>{"open-instant"!==Et.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ze.mode&&ze.openedChange.pipe((0,Ce.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ze.opened))}_watchDrawerPosition(ze){!ze||ze.onPositionChanged.pipe((0,Ce.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Ae.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(ze){ze&&ze._modeChanged.pipe((0,Ce.R)((0,ve.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ze){const Et=this._element.nativeElement.classList,Nt="mat-drawer-container-has-open";ze?Et.add(Nt):Et.remove(Nt)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ze=>{"end"==ze.position?this._end=ze:this._start=ze}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(ze=>ze&&!ze.disableClose&&this._canHaveBackdrop(ze)).forEach(ze=>ze._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(ze){return"side"!==ze.mode||!!this._backdropOverride}_isDrawerOpen(ze){return null!=ze&&ze.opened}}return Ke.\u0275fac=function(ze){return new(ze||Ke)(h.Y36(ke.Is,8),h.Y36(h.SBq),h.Y36(h.R0b),h.Y36(h.sBO),h.Y36(s.rL),h.Y36(Ct),h.Y36(h.QbO,8))},Ke.\u0275cmp=h.Xpm({type:Ke,selectors:[["mat-drawer-container"]],contentQueries:function(ze,Et,Nt){if(1&ze&&(h.Suo(Nt,B,5),h.Suo(Nt,_,5)),2&ze){let $t;h.iGM($t=h.CRH())&&(Et._content=$t.first),h.iGM($t=h.CRH())&&(Et._allDrawers=$t)}},viewQuery:function(ze,Et){if(1&ze&&h.Gf(B,5),2&ze){let Nt;h.iGM(Nt=h.CRH())&&(Et._userContent=Nt.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ze,Et){2&ze&&h.ekj("mat-drawer-container-explicit-backdrop",Et._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[h._Bn([{provide:St,useExisting:Ke}])],ngContentSelectors:et,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ze,Et){1&ze&&(h.F$t(we),h.YNc(0,le,1,2,"div",0),h.Hsn(1),h.Hsn(2,1),h.YNc(3,We,2,0,"mat-drawer-content",1)),2&ze&&(h.Q6J("ngIf",Et.hasBackdrop),h.xp6(3),h.Q6J("ngIf",!Et._content))},dependencies:[i.O5,B],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),Ke})(),J=(()=>{class Ke extends B{constructor(ze,Et,Nt,$t,ln){super(ze,Et,Nt,$t,ln)}}return Ke.\u0275fac=function(ze){return new(ze||Ke)(h.Y36(h.sBO),h.Y36((0,h.Gpc)(()=>de)),h.Y36(h.SBq),h.Y36(s.mF),h.Y36(h.R0b))},Ke.\u0275cmp=h.Xpm({type:Ke,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(ze,Et){2&ze&&h.Udp("margin-left",Et._container._contentMargins.left,"px")("margin-right",Et._container._contentMargins.right,"px")},features:[h._Bn([{provide:s.PQ,useExisting:Ke}]),h.qOj],ngContentSelectors:oe,decls:1,vars:0,template:function(ze,Et){1&ze&&(h.F$t(),h.Hsn(0))},encapsulation:2,changeDetection:0}),Ke})(),se=(()=>{class Ke extends _{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(ze){this._fixedInViewport=(0,l.Ig)(ze)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(ze){this._fixedTopGap=(0,l.su)(ze)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(ze){this._fixedBottomGap=(0,l.su)(ze)}}return Ke.\u0275fac=function(){let gt;return function(Et){return(gt||(gt=h.n5z(Ke)))(Et||Ke)}}(),Ke.\u0275cmp=h.Xpm({type:Ke,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(ze,Et){2&ze&&(h.uIk("align",null),h.Udp("top",Et.fixedInViewport?Et.fixedTopGap:null,"px")("bottom",Et.fixedInViewport?Et.fixedBottomGap:null,"px"),h.ekj("mat-drawer-end","end"===Et.position)("mat-drawer-over","over"===Et.mode)("mat-drawer-push","push"===Et.mode)("mat-drawer-side","side"===Et.mode)("mat-drawer-opened",Et.opened)("mat-sidenav-fixed",Et.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[h.qOj],ngContentSelectors:oe,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ze,Et){1&ze&&(h.F$t(),h.TgZ(0,"div",0,1),h.Hsn(2),h.qZA())},dependencies:[s.PQ],encapsulation:2,data:{animation:[it.transformDrawer]},changeDetection:0}),Ke})(),de=(()=>{class Ke extends A{}return Ke.\u0275fac=function(){let gt;return function(Et){return(gt||(gt=h.n5z(Ke)))(Et||Ke)}}(),Ke.\u0275cmp=h.Xpm({type:Ke,selectors:[["mat-sidenav-container"]],contentQueries:function(ze,Et,Nt){if(1&ze&&(h.Suo(Nt,J,5),h.Suo(Nt,se,5)),2&ze){let $t;h.iGM($t=h.CRH())&&(Et._content=$t.first),h.iGM($t=h.CRH())&&(Et._allDrawers=$t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ze,Et){2&ze&&h.ekj("mat-drawer-container-explicit-backdrop",Et._backdropOverride)},exportAs:["matSidenavContainer"],features:[h._Bn([{provide:St,useExisting:Ke}]),h.qOj],ngContentSelectors:je,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(ze,Et){1&ze&&(h.F$t(lt),h.YNc(0,Xe,1,2,"div",0),h.Hsn(1),h.Hsn(2,1),h.YNc(3,_e,2,0,"mat-sidenav-content",1)),2&ze&&(h.Q6J("ngIf",Et.hasBackdrop),h.xp6(3),h.Q6J("ngIf",!Et._content))},dependencies:[i.O5,J],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),Ke})(),De=(()=>{class Ke{}return Ke.\u0275fac=function(ze){return new(ze||Ke)},Ke.\u0275mod=h.oAB({type:Ke}),Ke.\u0275inj=h.cJS({imports:[i.ez,u.BQ,s.ZD,s.ZD,u.BQ]}),Ke})()},2368:(Yt,ut,c)=>{"use strict";c.d(ut,{Rr:()=>Be,rP:()=>Mt});var s=c(7144),i=c(5e3),h=c(508),u=c(3191),l=c(3075),Me=c(5664);const ie=["input"],re=function(ke){return{enterDuration:ke}},ve=["*"],X=new i.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let Ne=0;const ne={provide:l.JU,useExisting:(0,i.Gpc)(()=>Be),multi:!0};class Ce{constructor(oe,he){this.source=oe,this.checked=he}}const ae=(0,h.sb)((0,h.pj)((0,h.Kr)((0,h.Id)(class{constructor(ke){this._elementRef=ke}}))));let Ae=(()=>{class ke extends ae{constructor(he,le,We,we,et,Xe,_e){super(he),this._focusMonitor=le,this._changeDetectorRef=We,this.defaults=et,this._onChange=lt=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new i.vpe,this.toggleChange=new i.vpe,this.tabIndex=parseInt(we)||0,this.color=this.defaultColor=et.color||"accent",this._noopAnimations="NoopAnimations"===Xe,this.id=this._uniqueId=`${_e}${++Ne}`}get required(){return this._required}set required(he){this._required=(0,u.Ig)(he)}get checked(){return this._checked}set checked(he){this._checked=(0,u.Ig)(he),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(he=>{"keyboard"===he||"program"===he?this._focused=!0:he||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(he){this.checked=!!he}registerOnChange(he){this._onChange=he}registerOnTouched(he){this._onTouched=he}setDisabledState(he){this.disabled=he,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 ke.\u0275fac=function(he){i.$Z()},ke.\u0275dir=i.lG2({type:ke,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:[i.qOj]}),ke})(),Be=(()=>{class ke extends Ae{constructor(he,le,We,we,et,Xe){super(he,le,We,we,et,Xe,"mat-slide-toggle-")}_createChangeEvent(he){return new Ce(this,he)}_onChangeEvent(he){he.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(he){he.stopPropagation()}focus(he,le){le?this._focusMonitor.focusVia(this._inputElement,le,he):this._inputElement.nativeElement.focus(he)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return ke.\u0275fac=function(he){return new(he||ke)(i.Y36(i.SBq),i.Y36(Me.tE),i.Y36(i.sBO),i.$8M("tabindex"),i.Y36(X),i.Y36(i.QbO,8))},ke.\u0275cmp=i.Xpm({type:ke,selectors:[["mat-slide-toggle"]],viewQuery:function(he,le){if(1&he&&i.Gf(ie,5),2&he){let We;i.iGM(We=i.CRH())&&(le._inputElement=We.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(he,le){2&he&&(i.Ikx("id",le.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),i.ekj("mat-checked",le.checked)("mat-disabled",le.disabled)("mat-slide-toggle-label-before","before"==le.labelPosition)("_mat-animation-noopable",le._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[i._Bn([ne]),i.qOj],ngContentSelectors:ve,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(he,le){if(1&he&&(i.F$t(),i.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),i.NdJ("change",function(we){return le._onChangeEvent(we)})("click",function(we){return le._onInputClick(we)}),i.qZA(),i.TgZ(5,"span",5),i._UZ(6,"span",6),i.TgZ(7,"span",7),i._UZ(8,"span",8),i.qZA()()(),i.TgZ(9,"span",9,10),i.NdJ("cdkObserveContent",function(){return le._onLabelTextChange()}),i.TgZ(11,"span",11),i._uU(12,"\xa0"),i.qZA(),i.Hsn(13),i.qZA()()),2&he){const We=i.MAs(1),we=i.MAs(10);i.uIk("for",le.inputId),i.xp6(2),i.ekj("mat-slide-toggle-bar-no-side-margin",!we.textContent||!we.textContent.trim()),i.xp6(1),i.Q6J("id",le.inputId)("required",le.required)("tabIndex",le.tabIndex)("checked",le.checked)("disabled",le.disabled),i.uIk("name",le.name)("aria-checked",le.checked)("aria-label",le.ariaLabel)("aria-labelledby",le.ariaLabelledby)("aria-describedby",le.ariaDescribedby),i.xp6(4),i.Q6J("matRippleTrigger",We)("matRippleDisabled",le.disableRipple||le.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(18,re,le._noopAnimations?0:150))}},dependencies:[h.wG,s.wD],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),ke})(),bt=(()=>{class ke{}return ke.\u0275fac=function(he){return new(he||ke)},ke.\u0275mod=i.oAB({type:ke}),ke.\u0275inj=i.cJS({}),ke})(),Mt=(()=>{class ke{}return ke.\u0275fac=function(he){return new(he||ke)},ke.\u0275mod=i.oAB({type:ke}),ke.\u0275inj=i.cJS({imports:[bt,h.si,h.BQ,s.Q8,bt,h.BQ]}),ke})()},7261:(Yt,ut,c)=>{"use strict";c.d(ut,{ZX:()=>le,ux:()=>Xe});var s=c(9776),i=c(7429),h=c(9808),u=c(5e3),l=c(508),Me=c(7423),ie=c(7579),re=c(5698),ve=c(2722),X=c(1777),Ne=c(925),ne=c(5113),Ce=c(5664);function ae(_e,lt){if(1&_e){const je=u.EpF();u.TgZ(0,"div",2)(1,"button",3),u.NdJ("click",function(){u.CHM(je);const it=u.oxw();return u.KtG(it.action())}),u._uU(2),u.qZA()()}if(2&_e){const je=u.oxw();u.xp6(2),u.Oqu(je.data.action)}}function Ae(_e,lt){}const Be=new u.OlP("MatSnackBarData");class Se{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const mt=Math.pow(2,31)-1;class bt{constructor(lt,je){this._overlayRef=je,this._afterDismissed=new ie.x,this._afterOpened=new ie.x,this._onAction=new ie.x,this._dismissedByAction=!1,this.containerInstance=lt,lt._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(lt){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(lt,mt))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let Mt=(()=>{class _e{constructor(je,pt){this.snackBarRef=je,this.data=pt}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return _e.\u0275fac=function(je){return new(je||_e)(u.Y36(bt),u.Y36(Be))},_e.\u0275cmp=u.Xpm({type:_e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(je,pt){1&je&&(u.TgZ(0,"span",0),u._uU(1),u.qZA(),u.YNc(2,ae,3,1,"div",1)),2&je&&(u.xp6(1),u.Oqu(pt.data.message),u.xp6(1),u.Q6J("ngIf",pt.hasAction))},dependencies:[h.O5,Me.lW],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0}),_e})();const ke={snackBarState:(0,X.X$)("state",[(0,X.SB)("void, hidden",(0,X.oB)({transform:"scale(0.8)",opacity:0})),(0,X.SB)("visible",(0,X.oB)({transform:"scale(1)",opacity:1})),(0,X.eR)("* => visible",(0,X.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,X.eR)("* => void, * => hidden",(0,X.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,X.oB)({opacity:0})))])};let oe=(()=>{class _e extends i.en{constructor(je,pt,it,ft,Ct){super(),this._ngZone=je,this._elementRef=pt,this._changeDetectorRef=it,this._platform=ft,this.snackBarConfig=Ct,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new ie.x,this._onExit=new ie.x,this._onEnter=new ie.x,this._animationState="void",this.attachDomPortal=St=>{this._assertNotAttached();const Y=this._portalOutlet.attachDomPortal(St);return this._afterPortalAttached(),Y},this._live="assertive"!==Ct.politeness||Ct.announcementMessage?"off"===Ct.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(je){this._assertNotAttached();const pt=this._portalOutlet.attachComponentPortal(je);return this._afterPortalAttached(),pt}attachTemplatePortal(je){this._assertNotAttached();const pt=this._portalOutlet.attachTemplatePortal(je);return this._afterPortalAttached(),pt}onAnimationEnd(je){const{fromState:pt,toState:it}=je;if(("void"===it&&"void"!==pt||"hidden"===it)&&this._completeExit(),"visible"===it){const ft=this._onEnter;this._ngZone.run(()=>{ft.next(),ft.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,re.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const je=this._elementRef.nativeElement,pt=this.snackBarConfig.panelClass;pt&&(Array.isArray(pt)?pt.forEach(it=>je.classList.add(it)):je.classList.add(pt))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const je=this._elementRef.nativeElement.querySelector("[aria-hidden]"),pt=this._elementRef.nativeElement.querySelector("[aria-live]");if(je&&pt){let it=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&je.contains(document.activeElement)&&(it=document.activeElement),je.removeAttribute("aria-hidden"),pt.appendChild(je),null==it||it.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return _e.\u0275fac=function(je){return new(je||_e)(u.Y36(u.R0b),u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(Ne.t4),u.Y36(Se))},_e.\u0275dir=u.lG2({type:_e,viewQuery:function(je,pt){if(1&je&&u.Gf(i.Pl,7),2&je){let it;u.iGM(it=u.CRH())&&(pt._portalOutlet=it.first)}},features:[u.qOj]}),_e})(),he=(()=>{class _e extends oe{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}}return _e.\u0275fac=function(){let lt;return function(pt){return(lt||(lt=u.n5z(_e)))(pt||_e)}}(),_e.\u0275cmp=u.Xpm({type:_e,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(je,pt){1&je&&u.WFA("@state.done",function(ft){return pt.onAnimationEnd(ft)}),2&je&&u.d8E("@state",pt._animationState)},features:[u.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(je,pt){1&je&&(u.TgZ(0,"div",0),u.YNc(1,Ae,0,0,"ng-template",1),u.qZA(),u._UZ(2,"div")),2&je&&(u.xp6(2),u.uIk("aria-live",pt._live)("role",pt._role))},dependencies:[i.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[ke.snackBarState]}}),_e})(),le=(()=>{class _e{}return _e.\u0275fac=function(je){return new(je||_e)},_e.\u0275mod=u.oAB({type:_e}),_e.\u0275inj=u.cJS({imports:[s.U8,i.eL,h.ez,Me.ot,l.BQ,l.BQ]}),_e})();const We=new u.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function we(){return new Se}});let et=(()=>{class _e{constructor(je,pt,it,ft,Ct,St){this._overlay=je,this._live=pt,this._injector=it,this._breakpointObserver=ft,this._parentSnackBar=Ct,this._defaultConfig=St,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const je=this._parentSnackBar;return je?je._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(je){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=je:this._snackBarRefAtThisLevel=je}openFromComponent(je,pt){return this._attach(je,pt)}openFromTemplate(je,pt){return this._attach(je,pt)}open(je,pt="",it){const ft=Object.assign(Object.assign({},this._defaultConfig),it);return ft.data={message:je,action:pt},ft.announcementMessage===je&&(ft.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,ft)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(je,pt){const ft=u.zs3.create({parent:pt&&pt.viewContainerRef&&pt.viewContainerRef.injector||this._injector,providers:[{provide:Se,useValue:pt}]}),Ct=new i.C5(this.snackBarContainerComponent,pt.viewContainerRef,ft),St=je.attach(Ct);return St.instance.snackBarConfig=pt,St.instance}_attach(je,pt){const it=Object.assign(Object.assign(Object.assign({},new Se),this._defaultConfig),pt),ft=this._createOverlay(it),Ct=this._attachSnackBarContainer(ft,it),St=new bt(Ct,ft);if(je instanceof u.Rgc){const Y=new i.UE(je,null,{$implicit:it.data,snackBarRef:St});St.instance=Ct.attachTemplatePortal(Y)}else{const Y=this._createInjector(it,St),B=new i.C5(je,void 0,Y),_=Ct.attachComponentPortal(B);St.instance=_.instance}return this._breakpointObserver.observe(ne.u3.HandsetPortrait).pipe((0,ve.R)(ft.detachments())).subscribe(Y=>{ft.overlayElement.classList.toggle(this.handsetCssClass,Y.matches)}),it.announcementMessage&&Ct._onAnnounce.subscribe(()=>{this._live.announce(it.announcementMessage,it.politeness)}),this._animateSnackBar(St,it),this._openedSnackBarRef=St,this._openedSnackBarRef}_animateSnackBar(je,pt){je.afterDismissed().subscribe(()=>{this._openedSnackBarRef==je&&(this._openedSnackBarRef=null),pt.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{je.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):je.containerInstance.enter(),pt.duration&&pt.duration>0&&je.afterOpened().subscribe(()=>je._dismissAfter(pt.duration))}_createOverlay(je){const pt=new s.X_;pt.direction=je.direction;let it=this._overlay.position().global();const ft="rtl"===je.direction,Ct="left"===je.horizontalPosition||"start"===je.horizontalPosition&&!ft||"end"===je.horizontalPosition&&ft,St=!Ct&&"center"!==je.horizontalPosition;return Ct?it.left("0"):St?it.right("0"):it.centerHorizontally(),"top"===je.verticalPosition?it.top("0"):it.bottom("0"),pt.positionStrategy=it,this._overlay.create(pt)}_createInjector(je,pt){return u.zs3.create({parent:je&&je.viewContainerRef&&je.viewContainerRef.injector||this._injector,providers:[{provide:bt,useValue:pt},{provide:Be,useValue:je.data}]})}}return _e.\u0275fac=function(je){return new(je||_e)(u.LFG(s.aV),u.LFG(Ce.Kd),u.LFG(u.zs3),u.LFG(ne.Yg),u.LFG(_e,12),u.LFG(We))},_e.\u0275prov=u.Yz7({token:_e,factory:_e.\u0275fac}),_e})(),Xe=(()=>{class _e extends et{constructor(je,pt,it,ft,Ct,St){super(je,pt,it,ft,Ct,St),this.simpleSnackBarComponent=Mt,this.snackBarContainerComponent=he,this.handsetCssClass="mat-snack-bar-handset"}}return _e.\u0275fac=function(je){return new(je||_e)(u.LFG(s.aV),u.LFG(Ce.Kd),u.LFG(u.zs3),u.LFG(ne.Yg),u.LFG(_e,12),u.LFG(We))},_e.\u0275prov=u.Yz7({token:_e,factory:_e.\u0275fac,providedIn:le}),_e})()},4847:(Yt,ut,c)=>{"use strict";c.d(ut,{JX:()=>Xe,YE:()=>bt,nU:()=>et});var s=c(5e3),i=c(3191),h=c(1159),u=c(508),l=c(7579),Me=c(6451),ie=c(1777),re=c(5664),ve=c(9808);const X=["mat-sort-header",""];function Ne(_e,lt){if(1&_e){const je=s.EpF();s.TgZ(0,"div",3),s.NdJ("@arrowPosition.start",function(){s.CHM(je);const it=s.oxw();return s.KtG(it._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){s.CHM(je);const it=s.oxw();return s.KtG(it._disableViewStateAnimation=!1)}),s._UZ(1,"div",4),s.TgZ(2,"div",5),s._UZ(3,"div",6)(4,"div",7)(5,"div",8),s.qZA()()}if(2&_e){const je=s.oxw();s.Q6J("@arrowOpacity",je._getArrowViewState())("@arrowPosition",je._getArrowViewState())("@allowChildren",je._getArrowDirectionState()),s.xp6(2),s.Q6J("@indicator",je._getArrowDirectionState()),s.xp6(1),s.Q6J("@leftPointer",je._getArrowDirectionState()),s.xp6(1),s.Q6J("@rightPointer",je._getArrowDirectionState())}}const ne=["*"],Se=new s.OlP("MAT_SORT_DEFAULT_OPTIONS"),mt=(0,u.dB)((0,u.Id)(class{}));let bt=(()=>{class _e extends mt{constructor(je){super(),this._defaultOptions=je,this.sortables=new Map,this._stateChanges=new l.x,this.start="asc",this._direction="",this.sortChange=new s.vpe}get direction(){return this._direction}set direction(je){this._direction=je}get disableClear(){return this._disableClear}set disableClear(je){this._disableClear=(0,i.Ig)(je)}register(je){this.sortables.set(je.id,je)}deregister(je){this.sortables.delete(je.id)}sort(je){this.active!=je.id?(this.active=je.id,this.direction=je.start?je.start:this.start):this.direction=this.getNextSortDirection(je),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(je){var pt,it,ft;if(!je)return"";const Ct=null!==(it=null!==(pt=null==je?void 0:je.disableClear)&&void 0!==pt?pt:this.disableClear)&&void 0!==it?it:!(null===(ft=this._defaultOptions)||void 0===ft||!ft.disableClear);let St=function Mt(_e,lt){let je=["asc","desc"];return"desc"==_e&&je.reverse(),lt||je.push(""),je}(je.start||this.start,Ct),Y=St.indexOf(this.direction)+1;return Y>=St.length&&(Y=0),St[Y]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return _e.\u0275fac=function(je){return new(je||_e)(s.Y36(Se,8))},_e.\u0275dir=s.lG2({type:_e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[s.qOj,s.TTD]}),_e})();const ke=u.mZ.ENTERING+" "+u.yN.STANDARD_CURVE,oe={indicator:(0,ie.X$)("indicator",[(0,ie.SB)("active-asc, asc",(0,ie.oB)({transform:"translateY(0px)"})),(0,ie.SB)("active-desc, desc",(0,ie.oB)({transform:"translateY(10px)"})),(0,ie.eR)("active-asc <=> active-desc",(0,ie.jt)(ke))]),leftPointer:(0,ie.X$)("leftPointer",[(0,ie.SB)("active-asc, asc",(0,ie.oB)({transform:"rotate(-45deg)"})),(0,ie.SB)("active-desc, desc",(0,ie.oB)({transform:"rotate(45deg)"})),(0,ie.eR)("active-asc <=> active-desc",(0,ie.jt)(ke))]),rightPointer:(0,ie.X$)("rightPointer",[(0,ie.SB)("active-asc, asc",(0,ie.oB)({transform:"rotate(45deg)"})),(0,ie.SB)("active-desc, desc",(0,ie.oB)({transform:"rotate(-45deg)"})),(0,ie.eR)("active-asc <=> active-desc",(0,ie.jt)(ke))]),arrowOpacity:(0,ie.X$)("arrowOpacity",[(0,ie.SB)("desc-to-active, asc-to-active, active",(0,ie.oB)({opacity:1})),(0,ie.SB)("desc-to-hint, asc-to-hint, hint",(0,ie.oB)({opacity:.54})),(0,ie.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,ie.oB)({opacity:0})),(0,ie.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,ie.jt)("0ms")),(0,ie.eR)("* <=> *",(0,ie.jt)(ke))]),arrowPosition:(0,ie.X$)("arrowPosition",[(0,ie.eR)("* => desc-to-hint, * => desc-to-active",(0,ie.jt)(ke,(0,ie.F4)([(0,ie.oB)({transform:"translateY(-25%)"}),(0,ie.oB)({transform:"translateY(0)"})]))),(0,ie.eR)("* => hint-to-desc, * => active-to-desc",(0,ie.jt)(ke,(0,ie.F4)([(0,ie.oB)({transform:"translateY(0)"}),(0,ie.oB)({transform:"translateY(25%)"})]))),(0,ie.eR)("* => asc-to-hint, * => asc-to-active",(0,ie.jt)(ke,(0,ie.F4)([(0,ie.oB)({transform:"translateY(25%)"}),(0,ie.oB)({transform:"translateY(0)"})]))),(0,ie.eR)("* => hint-to-asc, * => active-to-asc",(0,ie.jt)(ke,(0,ie.F4)([(0,ie.oB)({transform:"translateY(0)"}),(0,ie.oB)({transform:"translateY(-25%)"})]))),(0,ie.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,ie.oB)({transform:"translateY(0)"})),(0,ie.SB)("hint-to-desc, active-to-desc, desc",(0,ie.oB)({transform:"translateY(-25%)"})),(0,ie.SB)("hint-to-asc, active-to-asc, asc",(0,ie.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,ie.X$)("allowChildren",[(0,ie.eR)("* <=> *",[(0,ie.IO)("@*",(0,ie.pV)(),{optional:!0})])])};let he=(()=>{class _e{constructor(){this.changes=new l.x}}return _e.\u0275fac=function(je){return new(je||_e)},_e.\u0275prov=s.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();const We={provide:he,deps:[[new s.FiY,new s.tp0,he]],useFactory:function le(_e){return _e||new he}},we=(0,u.Id)(class{});let et=(()=>{class _e extends we{constructor(je,pt,it,ft,Ct,St,Y,B){super(),this._intl=je,this._changeDetectorRef=pt,this._sort=it,this._columnDef=ft,this._focusMonitor=Ct,this._elementRef=St,this._ariaDescriber=Y,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",null!=B&&B.arrowPosition&&(this.arrowPosition=null==B?void 0:B.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(je){this._updateSortActionDescription(je)}get disableClear(){return this._disableClear}set disableClear(je){this._disableClear=(0,i.Ig)(je)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(je=>{const pt=!!je;pt!==this._showIndicatorHint&&(this._setIndicatorHintVisible(pt),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(je){this._isDisabled()&&je||(this._showIndicatorHint=je,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(je){this._viewState=je||{},this._disableViewStateAnimation&&(this._viewState={toState:je.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(je){!this._isDisabled()&&(je.keyCode===h.L_||je.keyCode===h.K5)&&(je.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const je=this._viewState.fromState;return(je?`${je}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(je){var pt,it;this._sortButton&&(null===(pt=this._ariaDescriber)||void 0===pt||pt.removeDescription(this._sortButton,this._sortActionDescription),null===(it=this._ariaDescriber)||void 0===it||it.describe(this._sortButton,je)),this._sortActionDescription=je}_handleStateChanges(){this._rerenderSubscription=(0,Me.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return _e.\u0275fac=function(je){return new(je||_e)(s.Y36(he),s.Y36(s.sBO),s.Y36(bt,8),s.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),s.Y36(re.tE),s.Y36(s.SBq),s.Y36(re.$s,8),s.Y36(Se,8))},_e.\u0275cmp=s.Xpm({type:_e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(je,pt){1&je&&s.NdJ("click",function(){return pt._handleClick()})("keydown",function(ft){return pt._handleKeydown(ft)})("mouseenter",function(){return pt._setIndicatorHintVisible(!0)})("mouseleave",function(){return pt._setIndicatorHintVisible(!1)}),2&je&&(s.uIk("aria-sort",pt._getAriaSortAttribute()),s.ekj("mat-sort-header-disabled",pt._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[s.qOj],attrs:X,ngContentSelectors:ne,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(je,pt){1&je&&(s.F$t(),s.TgZ(0,"div",0)(1,"div",1),s.Hsn(2),s.qZA(),s.YNc(3,Ne,6,6,"div",2),s.qZA()),2&je&&(s.ekj("mat-sort-header-sorted",pt._isSorted())("mat-sort-header-position-before","before"===pt.arrowPosition),s.uIk("tabindex",pt._isDisabled()?null:0)("role",pt._isDisabled()?null:"button"),s.xp6(3),s.Q6J("ngIf",pt._renderArrow()))},dependencies:[ve.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[oe.indicator,oe.leftPointer,oe.rightPointer,oe.arrowOpacity,oe.arrowPosition,oe.allowChildren]},changeDetection:0}),_e})(),Xe=(()=>{class _e{}return _e.\u0275fac=function(je){return new(je||_e)},_e.\u0275mod=s.oAB({type:_e}),_e.\u0275inj=s.cJS({providers:[We],imports:[ve.ez,u.BQ]}),_e})()},8279:(Yt,ut,c)=>{"use strict";c.d(ut,{BZ:()=>Se,Dz:()=>mt,Ee:()=>je,Gk:()=>lt,XQ:()=>Xe,as:()=>We,by:()=>Y,ev:()=>le,fO:()=>bt,ge:()=>oe,nj:()=>et,p0:()=>ft,w1:()=>ke});var s=c(5e3),i=c(7587),h=c(449),u=c(508),l=c(3191),Me=c(1135),ie=c(7579),re=c(6451),ve=c(9646),X=c(9841),Ne=c(4004);const ne=[[["caption"]],[["colgroup"],["col"]]],Ce=["caption","colgroup, col"];let Se=(()=>{class B extends i.zC{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275cmp=s.Xpm({type:B,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(A,J){2&A&&s.ekj("mat-table-fixed-layout",J.fixedLayout)},exportAs:["matTable"],features:[s._Bn([{provide:h.k,useClass:h.yy},{provide:i.zC,useExisting:B},{provide:i.pN,useExisting:B},{provide:i.nl,useClass:i.oF},{provide:i.pF,useValue:null}]),s.qOj],ngContentSelectors:Ce,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(A,J){1&A&&(s.F$t(ne),s.Hsn(0),s.Hsn(1,1),s.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[i.T$,i.FT,i.$E,i.bH],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),B})(),mt=(()=>{class B extends i.O_{}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275dir=s.lG2({type:B,selectors:[["","matCellDef",""]],features:[s._Bn([{provide:i.O_,useExisting:B}]),s.qOj]}),B})(),bt=(()=>{class B extends i.D5{}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275dir=s.lG2({type:B,selectors:[["","matHeaderCellDef",""]],features:[s._Bn([{provide:i.D5,useExisting:B}]),s.qOj]}),B})(),ke=(()=>{class B extends i.fo{get name(){return this._name}set name(A){this._setNameInput(A)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275dir=s.lG2({type:B,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[s._Bn([{provide:i.fo,useExisting:B},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:B}]),s.qOj]}),B})(),oe=(()=>{class B extends i.Af{}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275dir=s.lG2({type:B,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[s.qOj]}),B})(),le=(()=>{class B extends i.hD{}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275dir=s.lG2({type:B,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[s.qOj]}),B})(),We=(()=>{class B extends i.s${}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275dir=s.lG2({type:B,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[s._Bn([{provide:i.s$,useExisting:B}]),s.qOj]}),B})(),et=(()=>{class B extends i.Sq{}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275dir=s.lG2({type:B,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[s._Bn([{provide:i.Sq,useExisting:B}]),s.qOj]}),B})(),Xe=(()=>{class B extends i.xN{}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275cmp=s.Xpm({type:B,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[s._Bn([{provide:i.xN,useExisting:B}]),s.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(A,J){1&A&&s.GkF(0,0)},dependencies:[i.Kb],encapsulation:2}),B})(),lt=(()=>{class B extends i._J{}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275cmp=s.Xpm({type:B,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[s._Bn([{provide:i._J,useExisting:B}]),s.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(A,J){1&A&&s.GkF(0,0)},dependencies:[i.Kb],encapsulation:2}),B})(),je=(()=>{class B extends i.r2{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return B.\u0275fac=function(){let _;return function(J){return(_||(_=s.n5z(B)))(J||B)}}(),B.\u0275dir=s.lG2({type:B,selectors:[["ng-template","matNoDataRow",""]],features:[s._Bn([{provide:i.r2,useExisting:B}]),s.qOj]}),B})(),ft=(()=>{class B{}return B.\u0275fac=function(A){return new(A||B)},B.\u0275mod=s.oAB({type:B}),B.\u0275inj=s.cJS({imports:[i.HT,u.BQ,u.BQ]}),B})();class St extends h.o2{constructor(_=[]){super(),this._renderData=new Me.X([]),this._filter=new Me.X(""),this._internalPageChanges=new ie.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(A,J)=>{const se=A[J];if((0,l.t6)(se)){const de=Number(se);return de<9007199254740991?de:se}return se},this.sortData=(A,J)=>{const se=J.active,de=J.direction;return se&&""!=de?A.sort((De,Ke)=>{let gt=this.sortingDataAccessor(De,se),ze=this.sortingDataAccessor(Ke,se);const Et=typeof gt,Nt=typeof ze;Et!==Nt&&("number"===Et&&(gt+=""),"number"===Nt&&(ze+=""));let $t=0;return null!=gt&&null!=ze?gt>ze?$t=1:gt<ze&&($t=-1):null!=gt?$t=1:null!=ze&&($t=-1),$t*("asc"==de?1:-1)}):A},this.filterPredicate=(A,J)=>{const se=Object.keys(A).reduce((De,Ke)=>De+A[Ke]+"\u25ec","").toLowerCase(),de=J.trim().toLowerCase();return-1!=se.indexOf(de)},this._data=new Me.X(_),this._updateChangeSubscription()}get data(){return this._data.value}set data(_){_=Array.isArray(_)?_:[],this._data.next(_),this._renderChangesSubscription||this._filterData(_)}get filter(){return this._filter.value}set filter(_){this._filter.next(_),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(_){this._sort=_,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(_){this._paginator=_,this._updateChangeSubscription()}_updateChangeSubscription(){var _;const A=this._sort?(0,re.T)(this._sort.sortChange,this._sort.initialized):(0,ve.of)(null),J=this._paginator?(0,re.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,ve.of)(null),de=(0,X.a)([this._data,this._filter]).pipe((0,Ne.U)(([gt])=>this._filterData(gt))),De=(0,X.a)([de,A]).pipe((0,Ne.U)(([gt])=>this._orderData(gt))),Ke=(0,X.a)([De,J]).pipe((0,Ne.U)(([gt])=>this._pageData(gt)));null===(_=this._renderChangesSubscription)||void 0===_||_.unsubscribe(),this._renderChangesSubscription=Ke.subscribe(gt=>this._renderData.next(gt))}_filterData(_){return this.filteredData=null==this.filter||""===this.filter?_:_.filter(A=>this.filterPredicate(A,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(_){return this.sort?this.sortData(_.slice(),this.sort):_}_pageData(_){if(!this.paginator)return _;const A=this.paginator.pageIndex*this.paginator.pageSize;return _.slice(A,A+this.paginator.pageSize)}_updatePaginator(_){Promise.resolve().then(()=>{const A=this.paginator;if(A&&(A.length=_,A.pageIndex>0)){const J=Math.ceil(A.length/A.pageSize)-1||0,se=Math.min(A.pageIndex,J);se!==A.pageIndex&&(A.pageIndex=se,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var _;null===(_=this._renderChangesSubscription)||void 0===_||_.unsubscribe(),this._renderChangesSubscription=null}}class Y extends St{}},3251:(Yt,ut,c)=>{"use strict";c.d(ut,{Nh:()=>G,SP:()=>me,uX:()=>st});var s=c(5664),i=c(7144),h=c(7429),u=c(9808),l=c(5e3),Me=c(508),ie=c(5698),re=c(8675),ve=c(1884),X=c(2722),Ne=c(3900),ne=c(5684),Ce=c(9300),ae=c(7579),Ae=c(727),Be=c(4968),Se=c(9646),mt=c(6451),bt=c(515),Mt=c(8306),ke=c(5963),oe=c(1777),he=c(226),le=c(3191),We=c(1159),we=c(925),et=c(9071);function Xe(j,ye){1&j&&l.Hsn(0)}const _e=["*"];function lt(j,ye){}const je=function(j){return{animationDuration:j}},pt=function(j,ye){return{value:j,params:ye}},it=["tabListContainer"],ft=["tabList"],Ct=["tabListInner"],St=["nextPaginator"],Y=["previousPaginator"],B=["tabBodyWrapper"],_=["tabHeader"];function A(j,ye){}function J(j,ye){if(1&j&&l.YNc(0,A,0,0,"ng-template",10),2&j){const H=l.oxw().$implicit;l.Q6J("cdkPortalOutlet",H.templateLabel)}}function se(j,ye){if(1&j&&l._uU(0),2&j){const H=l.oxw().$implicit;l.Oqu(H.textLabel)}}function de(j,ye){if(1&j){const H=l.EpF();l.TgZ(0,"div",6),l.NdJ("click",function(){const Je=l.CHM(H),It=Je.$implicit,Fe=Je.index,Ye=l.oxw(),R=l.MAs(1);return l.KtG(Ye._handleClick(It,R,Fe))})("cdkFocusChange",function(Je){const Fe=l.CHM(H).index,Ye=l.oxw();return l.KtG(Ye._tabFocusChanged(Je,Fe))}),l.TgZ(1,"div",7),l.YNc(2,J,1,1,"ng-template",8),l.YNc(3,se,1,1,"ng-template",null,9,l.W1O),l.qZA()()}if(2&j){const H=ye.$implicit,Ue=ye.index,Je=l.MAs(4),It=l.oxw();l.ekj("mat-tab-label-active",It.selectedIndex===Ue),l.Q6J("id",It._getTabLabelId(Ue))("ngClass",H.labelClass)("disabled",H.disabled)("matRippleDisabled",H.disabled||It.disableRipple),l.uIk("tabIndex",It._getTabIndex(H,Ue))("aria-posinset",Ue+1)("aria-setsize",It._tabs.length)("aria-controls",It._getTabContentId(Ue))("aria-selected",It.selectedIndex===Ue)("aria-label",H.ariaLabel||null)("aria-labelledby",!H.ariaLabel&&H.ariaLabelledby?H.ariaLabelledby:null),l.xp6(2),l.Q6J("ngIf",H.templateLabel)("ngIfElse",Je)}}function De(j,ye){if(1&j){const H=l.EpF();l.TgZ(0,"mat-tab-body",11),l.NdJ("_onCentered",function(){l.CHM(H);const Je=l.oxw();return l.KtG(Je._removeTabBodyWrapperHeight())})("_onCentering",function(Je){l.CHM(H);const It=l.oxw();return l.KtG(It._setTabBodyWrapperHeight(Je))}),l.qZA()}if(2&j){const H=ye.$implicit,Ue=ye.index,Je=l.oxw();l.ekj("mat-tab-body-active",Je.selectedIndex===Ue),l.Q6J("id",Je._getTabContentId(Ue))("ngClass",H.bodyClass)("content",H.content)("position",H.position)("origin",H.origin)("animationDuration",Je.animationDuration)("preserveContent",Je.preserveContent),l.uIk("tabindex",null!=Je.contentTabIndex&&Je.selectedIndex===Ue?Je.contentTabIndex:null)("aria-labelledby",Je._getTabLabelId(Ue))}}const gt=new l.OlP("MatInkBarPositioner",{providedIn:"root",factory:function ze(){return ye=>({left:ye?(ye.offsetLeft||0)+"px":"0",width:ye?(ye.offsetWidth||0)+"px":"0"})}});let Et=(()=>{class j{constructor(H,Ue,Je,It){this._elementRef=H,this._ngZone=Ue,this._inkBarPositioner=Je,this._animationMode=It}alignToElement(H){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,ie.q)(1)).subscribe(()=>{const Ue=this._inkBarPositioner(H),Je=this._elementRef.nativeElement;Je.style.left=Ue.left,Je.style.width=Ue.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(gt),l.Y36(l.QbO,8))},j.\u0275dir=l.lG2({type:j,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(H,Ue){2&H&&l.ekj("_mat-animation-noopable","NoopAnimations"===Ue._animationMode)}}),j})();const Nt=new l.OlP("MatTabContent"),ln=new l.OlP("MatTabLabel"),gn=new l.OlP("MAT_TAB"),cn=(0,Me.Id)(class{}),Qe=new l.OlP("MAT_TAB_GROUP");let st=(()=>{class j extends cn{constructor(H,Ue){super(),this._viewContainerRef=H,this._closestTabGroup=Ue,this.textLabel="",this._contentPortal=null,this._stateChanges=new ae.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(H){this._setTemplateLabelInput(H)}get content(){return this._contentPortal}ngOnChanges(H){(H.hasOwnProperty("textLabel")||H.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new h.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(H){H&&H._closestTab===this&&(this._templateLabel=H)}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l.s_b),l.Y36(Qe,8))},j.\u0275cmp=l.Xpm({type:j,selectors:[["mat-tab"]],contentQueries:function(H,Ue,Je){if(1&H&&(l.Suo(Je,ln,5),l.Suo(Je,Nt,7,l.Rgc)),2&H){let It;l.iGM(It=l.CRH())&&(Ue.templateLabel=It.first),l.iGM(It=l.CRH())&&(Ue._explicitContent=It.first)}},viewQuery:function(H,Ue){if(1&H&&l.Gf(l.Rgc,7),2&H){let Je;l.iGM(Je=l.CRH())&&(Ue._implicitContent=Je.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[l._Bn([{provide:gn,useExisting:j}]),l.qOj,l.TTD],ngContentSelectors:_e,decls:1,vars:0,template:function(H,Ue){1&H&&(l.F$t(),l.YNc(0,Xe,1,0,"ng-template"))},encapsulation:2}),j})();const xe={translateTab:(0,oe.X$)("translateTab",[(0,oe.SB)("center, void, left-origin-center, right-origin-center",(0,oe.oB)({transform:"none"})),(0,oe.SB)("left",(0,oe.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,oe.SB)("right",(0,oe.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,oe.eR)("* => left, * => right, left => center, right => center",(0,oe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,oe.eR)("void => left-origin-center",[(0,oe.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,oe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,oe.eR)("void => right-origin-center",[(0,oe.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,oe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let q=(()=>{class j extends h.Pl{constructor(H,Ue,Je,It){super(H,Ue,It),this._host=Je,this._centeringSub=Ae.w0.EMPTY,this._leavingSub=Ae.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,re.O)(this._host._isCenterPosition(this._host._position))).subscribe(H=>{H&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l._Vd),l.Y36(l.s_b),l.Y36((0,l.Gpc)(()=>W)),l.Y36(u.K0))},j.\u0275dir=l.lG2({type:j,selectors:[["","matTabBodyHost",""]],features:[l.qOj]}),j})(),k=(()=>{class j{constructor(H,Ue,Je){this._elementRef=H,this._dir=Ue,this._dirChangeSubscription=Ae.w0.EMPTY,this._translateTabComplete=new ae.x,this._onCentering=new l.vpe,this._beforeCentering=new l.vpe,this._afterLeavingCenter=new l.vpe,this._onCentered=new l.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,Ue&&(this._dirChangeSubscription=Ue.change.subscribe(It=>{this._computePositionAnimationState(It),Je.markForCheck()})),this._translateTabComplete.pipe((0,ve.x)((It,Fe)=>It.fromState===Fe.fromState&&It.toState===Fe.toState)).subscribe(It=>{this._isCenterPosition(It.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(It.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(H){this._positionIndex=H,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(H){const Ue=this._isCenterPosition(H.toState);this._beforeCentering.emit(Ue),Ue&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(H){return"center"==H||"left-origin-center"==H||"right-origin-center"==H}_computePositionAnimationState(H=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==H?"left":"right":this._positionIndex>0?"ltr"==H?"right":"left":"center"}_computePositionFromOrigin(H){const Ue=this._getLayoutDirection();return"ltr"==Ue&&H<=0||"rtl"==Ue&&H>0?"left-origin-center":"right-origin-center"}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l.SBq),l.Y36(he.Is,8),l.Y36(l.sBO))},j.\u0275dir=l.lG2({type:j,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),j})(),W=(()=>{class j extends k{constructor(H,Ue,Je){super(H,Ue,Je)}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l.SBq),l.Y36(he.Is,8),l.Y36(l.sBO))},j.\u0275cmp=l.Xpm({type:j,selectors:[["mat-tab-body"]],viewQuery:function(H,Ue){if(1&H&&l.Gf(h.Pl,5),2&H){let Je;l.iGM(Je=l.CRH())&&(Ue._portalHost=Je.first)}},hostAttrs:[1,"mat-tab-body"],features:[l.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(H,Ue){1&H&&(l.TgZ(0,"div",0,1),l.NdJ("@translateTab.start",function(It){return Ue._onTranslateTabStarted(It)})("@translateTab.done",function(It){return Ue._translateTabComplete.next(It)}),l.YNc(2,lt,0,0,"ng-template",2),l.qZA()),2&H&&l.Q6J("@translateTab",l.WLB(3,pt,Ue._position,l.VKq(1,je,Ue.animationDuration)))},dependencies:[q],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[xe.translateTab]}}),j})();const Z=new l.OlP("MAT_TABS_CONFIG"),Ee=(0,Me.Id)(class{});let tt=(()=>{class j extends Ee{constructor(H){super(),this.elementRef=H}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l.SBq))},j.\u0275dir=l.lG2({type:j,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(H,Ue){2&H&&(l.uIk("aria-disabled",!!Ue.disabled),l.ekj("mat-tab-disabled",Ue.disabled))},inputs:{disabled:"disabled"},features:[l.qOj]}),j})();const qe=(0,we.i$)({passive:!0});let Lt=(()=>{class j{constructor(H,Ue,Je,It,Fe,Ye,R){this._elementRef=H,this._changeDetectorRef=Ue,this._viewportRuler=Je,this._dir=It,this._ngZone=Fe,this._platform=Ye,this._animationMode=R,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ae.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ae.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new l.vpe,this.indexFocused=new l.vpe,Fe.runOutsideAngular(()=>{(0,Be.R)(H.nativeElement,"mouseleave").pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(H){this._disablePagination=(0,le.Ig)(H)}get selectedIndex(){return this._selectedIndex}set selectedIndex(H){H=(0,le.su)(H),this._selectedIndex!=H&&(this._selectedIndexChanged=!0,this._selectedIndex=H,this._keyManager&&this._keyManager.updateActiveItem(H))}ngAfterViewInit(){(0,Be.R)(this._previousPaginator.nativeElement,"touchstart",qe).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,Be.R)(this._nextPaginator.nativeElement,"touchstart",qe).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const H=this._dir?this._dir.change:(0,Se.of)("ltr"),Ue=this._viewportRuler.change(150),Je=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new s.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ie.q)(1)).subscribe(Je),(0,mt.T)(H,Ue,this._items.changes,this._itemsResized()).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Je()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,X.R)(this._destroyed)).subscribe(It=>{this.indexFocused.emit(It),this._setTabFocus(It)})}_itemsResized(){return"function"!=typeof ResizeObserver?bt.E:this._items.changes.pipe((0,re.O)(this._items),(0,Ne.w)(H=>new Mt.y(Ue=>this._ngZone.runOutsideAngular(()=>{const Je=new ResizeObserver(It=>Ue.next(It));return H.forEach(It=>Je.observe(It.elementRef.nativeElement)),()=>{Je.disconnect()}}))),(0,ne.T)(1),(0,Ce.h)(H=>H.some(Ue=>Ue.contentRect.width>0&&Ue.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(H){if(!(0,We.Vb)(H))switch(H.keyCode){case We.K5:case We.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(H));break;default:this._keyManager.onKeydown(H)}}_onContentChanges(){const H=this._elementRef.nativeElement.textContent;H!==this._currentTextContent&&(this._currentTextContent=H||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(H){!this._isValidIndex(H)||this.focusIndex===H||!this._keyManager||this._keyManager.setActiveItem(H)}_isValidIndex(H){if(!this._items)return!0;const Ue=this._items?this._items.toArray()[H]:null;return!!Ue&&!Ue.disabled}_setTabFocus(H){if(this._showPaginationControls&&this._scrollToLabel(H),this._items&&this._items.length){this._items.toArray()[H].focus();const Ue=this._tabListContainer.nativeElement;Ue.scrollLeft="ltr"==this._getLayoutDirection()?0:Ue.scrollWidth-Ue.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const H=this.scrollDistance,Ue="ltr"===this._getLayoutDirection()?-H:H;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Ue)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(H){this._scrollTo(H)}_scrollHeader(H){return this._scrollTo(this._scrollDistance+("before"==H?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(H){this._stopInterval(),this._scrollHeader(H)}_scrollToLabel(H){if(this.disablePagination)return;const Ue=this._items?this._items.toArray()[H]:null;if(!Ue)return;const Je=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:It,offsetWidth:Fe}=Ue.elementRef.nativeElement;let Ye,R;"ltr"==this._getLayoutDirection()?(Ye=It,R=Ye+Fe):(R=this._tabListInner.nativeElement.offsetWidth-It,Ye=R-Fe);const ee=this.scrollDistance,pe=this.scrollDistance+Je;Ye<ee?this.scrollDistance-=ee-Ye+60:R>pe&&(this.scrollDistance+=R-pe+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const H=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;H||(this.scrollDistance=0),H!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=H}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const H=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Ue=H?H.elementRef.nativeElement:null;Ue?this._inkBar.alignToElement(Ue):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(H,Ue){Ue&&null!=Ue.button&&0!==Ue.button||(this._stopInterval(),(0,ke.H)(650,100).pipe((0,X.R)((0,mt.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Je,distance:It}=this._scrollHeader(H);(0===It||It>=Je)&&this._stopInterval()}))}_scrollTo(H){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Ue=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Ue,H)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Ue,distance:this._scrollDistance}}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(et.rL),l.Y36(he.Is,8),l.Y36(l.R0b),l.Y36(we.t4),l.Y36(l.QbO,8))},j.\u0275dir=l.lG2({type:j,inputs:{disablePagination:"disablePagination"}}),j})(),xt=(()=>{class j extends Lt{constructor(H,Ue,Je,It,Fe,Ye,R){super(H,Ue,Je,It,Fe,Ye,R),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(H){this._disableRipple=(0,le.Ig)(H)}_itemSelected(H){H.preventDefault()}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(et.rL),l.Y36(he.Is,8),l.Y36(l.R0b),l.Y36(we.t4),l.Y36(l.QbO,8))},j.\u0275dir=l.lG2({type:j,inputs:{disableRipple:"disableRipple"},features:[l.qOj]}),j})(),Rt=(()=>{class j extends xt{constructor(H,Ue,Je,It,Fe,Ye,R){super(H,Ue,Je,It,Fe,Ye,R)}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(et.rL),l.Y36(he.Is,8),l.Y36(l.R0b),l.Y36(we.t4),l.Y36(l.QbO,8))},j.\u0275cmp=l.Xpm({type:j,selectors:[["mat-tab-header"]],contentQueries:function(H,Ue,Je){if(1&H&&l.Suo(Je,tt,4),2&H){let It;l.iGM(It=l.CRH())&&(Ue._items=It)}},viewQuery:function(H,Ue){if(1&H&&(l.Gf(Et,7),l.Gf(it,7),l.Gf(ft,7),l.Gf(Ct,7),l.Gf(St,5),l.Gf(Y,5)),2&H){let Je;l.iGM(Je=l.CRH())&&(Ue._inkBar=Je.first),l.iGM(Je=l.CRH())&&(Ue._tabListContainer=Je.first),l.iGM(Je=l.CRH())&&(Ue._tabList=Je.first),l.iGM(Je=l.CRH())&&(Ue._tabListInner=Je.first),l.iGM(Je=l.CRH())&&(Ue._nextPaginator=Je.first),l.iGM(Je=l.CRH())&&(Ue._previousPaginator=Je.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(H,Ue){2&H&&l.ekj("mat-tab-header-pagination-controls-enabled",Ue._showPaginationControls)("mat-tab-header-rtl","rtl"==Ue._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[l.qOj],ngContentSelectors:_e,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(H,Ue){1&H&&(l.F$t(),l.TgZ(0,"button",0,1),l.NdJ("click",function(){return Ue._handlePaginatorClick("before")})("mousedown",function(It){return Ue._handlePaginatorPress("before",It)})("touchend",function(){return Ue._stopInterval()}),l._UZ(2,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.NdJ("keydown",function(It){return Ue._handleKeydown(It)}),l.TgZ(5,"div",5,6),l.NdJ("cdkObserveContent",function(){return Ue._onContentChanges()}),l.TgZ(7,"div",7,8),l.Hsn(9),l.qZA(),l._UZ(10,"mat-ink-bar"),l.qZA()(),l.TgZ(11,"button",9,10),l.NdJ("mousedown",function(It){return Ue._handlePaginatorPress("after",It)})("click",function(){return Ue._handlePaginatorClick("after")})("touchend",function(){return Ue._stopInterval()}),l._UZ(13,"div",2),l.qZA()),2&H&&(l.ekj("mat-tab-header-pagination-disabled",Ue._disableScrollBefore),l.Q6J("matRippleDisabled",Ue._disableScrollBefore||Ue.disableRipple)("disabled",Ue._disableScrollBefore||null),l.xp6(5),l.ekj("_mat-animation-noopable","NoopAnimations"===Ue._animationMode),l.xp6(6),l.ekj("mat-tab-header-pagination-disabled",Ue._disableScrollAfter),l.Q6J("matRippleDisabled",Ue._disableScrollAfter||Ue.disableRipple)("disabled",Ue._disableScrollAfter||null))},dependencies:[Me.wG,i.wD,Et],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),j})(),ge=0;class Ge{}const rt=(0,Me.pj)((0,Me.Kr)(class{constructor(j){this._elementRef=j}}),"primary");let L=(()=>{class j extends rt{constructor(H,Ue,Je,It){var Fe;super(H),this._changeDetectorRef=Ue,this._animationMode=It,this._tabs=new l.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Ae.w0.EMPTY,this._tabLabelSubscription=Ae.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new l.vpe,this.focusChange=new l.vpe,this.animationDone=new l.vpe,this.selectedTabChange=new l.vpe(!0),this._groupId=ge++,this.animationDuration=Je&&Je.animationDuration?Je.animationDuration:"500ms",this.disablePagination=!(!Je||null==Je.disablePagination)&&Je.disablePagination,this.dynamicHeight=!(!Je||null==Je.dynamicHeight)&&Je.dynamicHeight,this.contentTabIndex=null!==(Fe=null==Je?void 0:Je.contentTabIndex)&&void 0!==Fe?Fe:null,this.preserveContent=!(null==Je||!Je.preserveContent)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(H){this._dynamicHeight=(0,le.Ig)(H)}get selectedIndex(){return this._selectedIndex}set selectedIndex(H){this._indexToSelect=(0,le.su)(H,null)}get animationDuration(){return this._animationDuration}set animationDuration(H){this._animationDuration=/^\d+$/.test(H+"")?H+"ms":H}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(H){this._contentTabIndex=(0,le.su)(H,null)}get disablePagination(){return this._disablePagination}set disablePagination(H){this._disablePagination=(0,le.Ig)(H)}get preserveContent(){return this._preserveContent}set preserveContent(H){this._preserveContent=(0,le.Ig)(H)}get backgroundColor(){return this._backgroundColor}set backgroundColor(H){const Ue=this._elementRef.nativeElement;Ue.classList.remove(`mat-background-${this.backgroundColor}`),H&&Ue.classList.add(`mat-background-${H}`),this._backgroundColor=H}ngAfterContentChecked(){const H=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=H){const Ue=null==this._selectedIndex;if(!Ue){this.selectedTabChange.emit(this._createChangeEvent(H));const Je=this._tabBodyWrapper.nativeElement;Je.style.minHeight=Je.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Je,It)=>Je.isActive=It===H),Ue||(this.selectedIndexChange.emit(H),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Ue,Je)=>{Ue.position=Je-H,null!=this._selectedIndex&&0==Ue.position&&!Ue.origin&&(Ue.origin=H-this._selectedIndex)}),this._selectedIndex!==H&&(this._selectedIndex=H,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const H=this._clampTabIndex(this._indexToSelect);if(H===this._selectedIndex){const Ue=this._tabs.toArray();let Je;for(let It=0;It<Ue.length;It++)if(Ue[It].isActive){this._indexToSelect=this._selectedIndex=It,this._lastFocusedTabIndex=null,Je=Ue[It];break}!Je&&Ue[H]&&Promise.resolve().then(()=>{Ue[H].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(H))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,re.O)(this._allTabs)).subscribe(H=>{this._tabs.reset(H.filter(Ue=>Ue._closestTabGroup===this||!Ue._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(H){const Ue=this._tabHeader;Ue&&(Ue.focusIndex=H)}_focusChanged(H){this._lastFocusedTabIndex=H,this.focusChange.emit(this._createChangeEvent(H))}_createChangeEvent(H){const Ue=new Ge;return Ue.index=H,this._tabs&&this._tabs.length&&(Ue.tab=this._tabs.toArray()[H]),Ue}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,mt.T)(...this._tabs.map(H=>H._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(H){return Math.min(this._tabs.length-1,Math.max(H||0,0))}_getTabLabelId(H){return`mat-tab-label-${this._groupId}-${H}`}_getTabContentId(H){return`mat-tab-content-${this._groupId}-${H}`}_setTabBodyWrapperHeight(H){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Ue=this._tabBodyWrapper.nativeElement;Ue.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Ue.style.height=H+"px")}_removeTabBodyWrapperHeight(){const H=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=H.clientHeight,H.style.height="",this.animationDone.emit()}_handleClick(H,Ue,Je){H.disabled||(this.selectedIndex=Ue.focusIndex=Je)}_getTabIndex(H,Ue){var Je;return H.disabled?null:Ue===(null!==(Je=this._lastFocusedTabIndex)&&void 0!==Je?Je:this.selectedIndex)?0:-1}_tabFocusChanged(H,Ue){H&&"mouse"!==H&&"touch"!==H&&(this._tabHeader.focusIndex=Ue)}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(Z,8),l.Y36(l.QbO,8))},j.\u0275dir=l.lG2({type:j,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[l.qOj]}),j})(),me=(()=>{class j extends L{constructor(H,Ue,Je,It){super(H,Ue,Je,It)}}return j.\u0275fac=function(H){return new(H||j)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(Z,8),l.Y36(l.QbO,8))},j.\u0275cmp=l.Xpm({type:j,selectors:[["mat-tab-group"]],contentQueries:function(H,Ue,Je){if(1&H&&l.Suo(Je,st,5),2&H){let It;l.iGM(It=l.CRH())&&(Ue._allTabs=It)}},viewQuery:function(H,Ue){if(1&H&&(l.Gf(B,5),l.Gf(_,5)),2&H){let Je;l.iGM(Je=l.CRH())&&(Ue._tabBodyWrapper=Je.first),l.iGM(Je=l.CRH())&&(Ue._tabHeader=Je.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(H,Ue){2&H&&l.ekj("mat-tab-group-dynamic-height",Ue.dynamicHeight)("mat-tab-group-inverted-header","below"===Ue.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[l._Bn([{provide:Qe,useExisting:j}]),l.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(H,Ue){1&H&&(l.TgZ(0,"mat-tab-header",0,1),l.NdJ("indexFocused",function(It){return Ue._focusChanged(It)})("selectFocusedIndex",function(It){return Ue.selectedIndex=It}),l.YNc(2,de,5,15,"div",2),l.qZA(),l.TgZ(3,"div",3,4),l.YNc(5,De,1,11,"mat-tab-body",5),l.qZA()),2&H&&(l.Q6J("selectedIndex",Ue.selectedIndex||0)("disableRipple",Ue.disableRipple)("disablePagination",Ue.disablePagination),l.xp6(2),l.Q6J("ngForOf",Ue._tabs),l.xp6(1),l.ekj("_mat-animation-noopable","NoopAnimations"===Ue._animationMode),l.xp6(2),l.Q6J("ngForOf",Ue._tabs))},dependencies:[u.mk,u.sg,u.O5,h.Pl,Me.wG,s.kH,tt,W,Rt],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),j})(),G=(()=>{class j{}return j.\u0275fac=function(H){return new(H||j)},j.\u0275mod=l.oAB({type:j}),j.\u0275inj=l.cJS({imports:[u.ez,Me.BQ,h.eL,Me.si,i.Q8,s.rt,Me.BQ]}),j})()},4594:(Yt,ut,c)=>{"use strict";c.d(ut,{Ye:()=>ve,g0:()=>Ne});var s=c(5e3),i=c(508),h=c(9808),u=c(925);const l=["*",[["mat-toolbar-row"]]],Me=["*","mat-toolbar-row"],ie=(0,i.pj)(class{constructor(ne){this._elementRef=ne}});let re=(()=>{class ne{}return ne.\u0275fac=function(ae){return new(ae||ne)},ne.\u0275dir=s.lG2({type:ne,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),ne})(),ve=(()=>{class ne extends ie{constructor(ae,Ae,Be){super(ae),this._platform=Ae,this._document=Be}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return ne.\u0275fac=function(ae){return new(ae||ne)(s.Y36(s.SBq),s.Y36(u.t4),s.Y36(h.K0))},ne.\u0275cmp=s.Xpm({type:ne,selectors:[["mat-toolbar"]],contentQueries:function(ae,Ae,Be){if(1&ae&&s.Suo(Be,re,5),2&ae){let Se;s.iGM(Se=s.CRH())&&(Ae._toolbarRows=Se)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(ae,Ae){2&ae&&s.ekj("mat-toolbar-multiple-rows",Ae._toolbarRows.length>0)("mat-toolbar-single-row",0===Ae._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[s.qOj],ngContentSelectors:Me,decls:2,vars:0,template:function(ae,Ae){1&ae&&(s.F$t(l),s.Hsn(0),s.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),ne})(),Ne=(()=>{class ne{}return ne.\u0275fac=function(ae){return new(ae||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({imports:[i.BQ,i.BQ]}),ne})()},7238:(Yt,ut,c)=>{"use strict";c.d(ut,{AV:()=>it,gM:()=>lt});var s=c(9776),i=c(5664),h=c(9808),u=c(5e3),l=c(508),Me=c(9071),ie=c(3191),re=c(1159),ve=c(5113),X=c(925),Ne=c(7429),ne=c(7579),Ce=c(2722),ae=c(5698),Ae=c(226);c(1777);const Se=["tooltip"],Mt="tooltip-panel",ke=(0,X.i$)({passive:!0}),le=new u.OlP("mat-tooltip-scroll-strategy"),we={provide:le,deps:[s.aV],useFactory:function We(Ct){return()=>Ct.scrollStrategies.reposition({scrollThrottle:20})}},et=new u.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Xe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let _e=(()=>{class Ct{constructor(Y,B,_,A,J,se,de,De,Ke,gt,ze,Et){this._overlay=Y,this._elementRef=B,this._scrollDispatcher=_,this._viewContainerRef=A,this._ngZone=J,this._platform=se,this._ariaDescriber=de,this._focusMonitor=De,this._dir=gt,this._defaultOptions=ze,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ne.x,this._scrollStrategy=Ke,this._document=Et,ze&&(ze.position&&(this.position=ze.position),ze.touchGestures&&(this.touchGestures=ze.touchGestures)),gt.change.pipe((0,Ce.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(Y){var B;Y!==this._position&&(this._position=Y,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(B=this._tooltipInstance)||void 0===B||B.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,ie.Ig)(Y),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Y){this._showDelay=(0,ie.su)(Y)}get hideDelay(){return this._hideDelay}set hideDelay(Y){this._hideDelay=(0,ie.su)(Y),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Y){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Y?String(Y).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(Y){this._tooltipClass=Y,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Ce.R)(this._destroyed)).subscribe(Y=>{Y?"keyboard"===Y&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Y=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([B,_])=>{Y.removeEventListener(B,_,ke)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Y,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Y)}show(Y=this.showDelay){var B;if(this.disabled||!this.message||this._isTooltipVisible())return void(null===(B=this._tooltipInstance)||void 0===B||B._cancelPendingAnimations());const _=this._createOverlay();this._detach(),this._portal=this._portal||new Ne.C5(this._tooltipComponent,this._viewContainerRef);const A=this._tooltipInstance=_.attach(this._portal).instance;A._triggerElement=this._elementRef.nativeElement,A._mouseLeaveHideDelay=this._hideDelay,A.afterHidden().pipe((0,Ce.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),A.show(Y)}hide(Y=this.hideDelay){const B=this._tooltipInstance;B&&(B.isVisible()?B.hide(Y):(B._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var Y;if(this._overlayRef)return this._overlayRef;const B=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),_=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(B);return _.positionChanges.pipe((0,Ce.R)(this._destroyed)).subscribe(A=>{this._updateCurrentPositionClass(A.connectionPair),this._tooltipInstance&&A.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:_,panelClass:`${this._cssClassPrefix}-${Mt}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Ce.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Ce.R)(this._destroyed)).subscribe(()=>{var A;return null===(A=this._tooltipInstance)||void 0===A?void 0:A._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,Ce.R)(this._destroyed)).subscribe(A=>{this._isTooltipVisible()&&A.keyCode===re.hY&&!(0,re.Vb)(A)&&(A.preventDefault(),A.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),!(null===(Y=this._defaultOptions)||void 0===Y)&&Y.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(Y){const B=Y.getConfig().positionStrategy,_=this._getOrigin(),A=this._getOverlayPosition();B.withPositions([this._addOffset(Object.assign(Object.assign({},_.main),A.main)),this._addOffset(Object.assign(Object.assign({},_.fallback),A.fallback))])}_addOffset(Y){return Y}_getOrigin(){const Y=!this._dir||"ltr"==this._dir.value,B=this.position;let _;"above"==B||"below"==B?_={originX:"center",originY:"above"==B?"top":"bottom"}:"before"==B||"left"==B&&Y||"right"==B&&!Y?_={originX:"start",originY:"center"}:("after"==B||"right"==B&&Y||"left"==B&&!Y)&&(_={originX:"end",originY:"center"});const{x:A,y:J}=this._invertPosition(_.originX,_.originY);return{main:_,fallback:{originX:A,originY:J}}}_getOverlayPosition(){const Y=!this._dir||"ltr"==this._dir.value,B=this.position;let _;"above"==B?_={overlayX:"center",overlayY:"bottom"}:"below"==B?_={overlayX:"center",overlayY:"top"}:"before"==B||"left"==B&&Y||"right"==B&&!Y?_={overlayX:"end",overlayY:"center"}:("after"==B||"right"==B&&Y||"left"==B&&!Y)&&(_={overlayX:"start",overlayY:"center"});const{x:A,y:J}=this._invertPosition(_.overlayX,_.overlayY);return{main:_,fallback:{overlayX:A,overlayY:J}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,ae.q)(1),(0,Ce.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(Y){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Y,this._tooltipInstance._markForCheck())}_invertPosition(Y,B){return"above"===this.position||"below"===this.position?"top"===B?B="bottom":"bottom"===B&&(B="top"):"end"===Y?Y="start":"start"===Y&&(Y="end"),{x:Y,y:B}}_updateCurrentPositionClass(Y){const{overlayY:B,originX:_,originY:A}=Y;let J;if(J="center"===B?this._dir&&"rtl"===this._dir.value?"end"===_?"left":"right":"start"===_?"left":"right":"bottom"===B&&"top"===A?"above":"below",J!==this._currentPosition){const se=this._overlayRef;if(se){const de=`${this._cssClassPrefix}-${Mt}-`;se.removePanelClass(de+this._currentPosition),se.addPanelClass(de+J)}this._currentPosition=J}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const Y=[];if(this._platformSupportsMouseEvents())Y.push(["mouseleave",B=>{var _;const A=B.relatedTarget;(!A||null===(_=this._overlayRef)||void 0===_||!_.overlayElement.contains(A))&&this.hide()}],["wheel",B=>this._wheelListener(B)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const B=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};Y.push(["touchend",B],["touchcancel",B])}this._addListeners(Y),this._passiveListeners.push(...Y)}_addListeners(Y){Y.forEach(([B,_])=>{this._elementRef.nativeElement.addEventListener(B,_,ke)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Y){if(this._isTooltipVisible()){const B=this._document.elementFromPoint(Y.clientX,Y.clientY),_=this._elementRef.nativeElement;B!==_&&!_.contains(B)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Y=this.touchGestures;if("off"!==Y){const B=this._elementRef.nativeElement,_=B.style;("on"===Y||"INPUT"!==B.nodeName&&"TEXTAREA"!==B.nodeName)&&(_.userSelect=_.msUserSelect=_.webkitUserSelect=_.MozUserSelect="none"),("on"===Y||!B.draggable)&&(_.webkitUserDrag="none"),_.touchAction="none",_.webkitTapHighlightColor="transparent"}}}return Ct.\u0275fac=function(Y){u.$Z()},Ct.\u0275dir=u.lG2({type:Ct,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),Ct})(),lt=(()=>{class Ct extends _e{constructor(Y,B,_,A,J,se,de,De,Ke,gt,ze,Et){super(Y,B,_,A,J,se,de,De,Ke,gt,ze,Et),this._tooltipComponent=pt}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(u.Y36(s.aV),u.Y36(u.SBq),u.Y36(Me.mF),u.Y36(u.s_b),u.Y36(u.R0b),u.Y36(X.t4),u.Y36(i.$s),u.Y36(i.tE),u.Y36(le),u.Y36(Ae.Is,8),u.Y36(et,8),u.Y36(h.K0))},Ct.\u0275dir=u.lG2({type:Ct,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[u.qOj]}),Ct})(),je=(()=>{class Ct{constructor(Y,B){this._changeDetectorRef=Y,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new ne.x,this._animationsDisabled="NoopAnimations"===B}show(Y){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Y)}hide(Y){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Y)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:Y}){(!Y||!this._triggerElement.contains(Y))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Y}){(Y===this._showAnimation||Y===this._hideAnimation)&&this._finalizeAnimation(Y===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Y){Y?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Y){const B=this._tooltip.nativeElement,_=this._showAnimation,A=this._hideAnimation;if(B.classList.remove(Y?A:_),B.classList.add(Y?_:A),this._isVisible=Y,Y&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const J=getComputedStyle(B);("0s"===J.getPropertyValue("animation-duration")||"none"===J.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Y&&this._onShow(),this._animationsDisabled&&(B.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Y))}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(u.Y36(u.sBO),u.Y36(u.QbO,8))},Ct.\u0275dir=u.lG2({type:Ct}),Ct})(),pt=(()=>{class Ct extends je{constructor(Y,B,_){super(Y,_),this._breakpointObserver=B,this._isHandset=this._breakpointObserver.observe(ve.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return Ct.\u0275fac=function(Y){return new(Y||Ct)(u.Y36(u.sBO),u.Y36(ve.Yg),u.Y36(u.QbO,8))},Ct.\u0275cmp=u.Xpm({type:Ct,selectors:[["mat-tooltip-component"]],viewQuery:function(Y,B){if(1&Y&&u.Gf(Se,7),2&Y){let _;u.iGM(_=u.CRH())&&(B._tooltip=_.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(Y,B){1&Y&&u.NdJ("mouseleave",function(A){return B._handleMouseLeave(A)}),2&Y&&u.Udp("zoom",B.isVisible()?1:null)},features:[u.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(Y,B){if(1&Y&&(u.TgZ(0,"div",0,1),u.NdJ("animationend",function(A){return B._handleAnimationEnd(A)}),u.ALo(2,"async"),u._uU(3),u.qZA()),2&Y){let _;u.ekj("mat-tooltip-handset",null==(_=u.lcZ(2,4,B._isHandset))?null:_.matches),u.Q6J("ngClass",B.tooltipClass),u.xp6(3),u.Oqu(B.message)}},dependencies:[h.mk,h.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),Ct})(),it=(()=>{class Ct{}return Ct.\u0275fac=function(Y){return new(Y||Ct)},Ct.\u0275mod=u.oAB({type:Ct}),Ct.\u0275inj=u.cJS({providers:[we],imports:[i.rt,h.ez,s.U8,l.BQ,l.BQ,Me.ZD]}),Ct})()},2313:(Yt,ut,c)=>{"use strict";c.d(ut,{Dx:()=>Ee,H7:()=>It,b2:()=>xe,q6:()=>jt,se:()=>je});var s=c(9808),i=c(5e3);class h extends s.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class u extends h{static makeCurrent(){(0,s.HT)(new u)}onAndCancel(pe,fe,ht){return pe.addEventListener(fe,ht,!1),()=>{pe.removeEventListener(fe,ht,!1)}}dispatchEvent(pe,fe){pe.dispatchEvent(fe)}remove(pe){pe.parentNode&&pe.parentNode.removeChild(pe)}createElement(pe,fe){return(fe=fe||this.getDefaultDocument()).createElement(pe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(pe){return pe.nodeType===Node.ELEMENT_NODE}isShadowRoot(pe){return pe instanceof DocumentFragment}getGlobalEventTarget(pe,fe){return"window"===fe?window:"document"===fe?pe:"body"===fe?pe.body:null}getBaseHref(pe){const fe=function Me(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==fe?null:function re(ee){ie=ie||document.createElement("a"),ie.setAttribute("href",ee);const pe=ie.pathname;return"/"===pe.charAt(0)?pe:`/${pe}`}(fe)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(pe){return(0,s.Mx)(document.cookie,pe)}}let ie,l=null;const ve=new i.OlP("TRANSITION_ID"),Ne=[{provide:i.ip1,useFactory:function X(ee,pe,fe){return()=>{fe.get(i.CZH).donePromise.then(()=>{const ht=(0,s.q)(),Pt=pe.querySelectorAll(`style[ng-transition="${ee}"]`);for(let Ut=0;Ut<Pt.length;Ut++)ht.remove(Pt[Ut])})}},deps:[ve,s.K0,i.zs3],multi:!0}];let Ce=(()=>{class ee{build(){return new XMLHttpRequest}}return ee.\u0275fac=function(fe){return new(fe||ee)},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const ae=new i.OlP("EventManagerPlugins");let Ae=(()=>{class ee{constructor(fe,ht){this._zone=ht,this._eventNameToPlugin=new Map,fe.forEach(Pt=>Pt.manager=this),this._plugins=fe.slice().reverse()}addEventListener(fe,ht,Pt){return this._findPluginFor(ht).addEventListener(fe,ht,Pt)}addGlobalEventListener(fe,ht,Pt){return this._findPluginFor(ht).addGlobalEventListener(fe,ht,Pt)}getZone(){return this._zone}_findPluginFor(fe){const ht=this._eventNameToPlugin.get(fe);if(ht)return ht;const Pt=this._plugins;for(let Ut=0;Ut<Pt.length;Ut++){const tn=Pt[Ut];if(tn.supports(fe))return this._eventNameToPlugin.set(fe,tn),tn}throw new Error(`No event manager plugin found for event ${fe}`)}}return ee.\u0275fac=function(fe){return new(fe||ee)(i.LFG(ae),i.LFG(i.R0b))},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac}),ee})();class Be{constructor(pe){this._doc=pe}addGlobalEventListener(pe,fe,ht){const Pt=(0,s.q)().getGlobalEventTarget(this._doc,pe);if(!Pt)throw new Error(`Unsupported event target ${Pt} for event ${fe}`);return this.addEventListener(Pt,fe,ht)}}let Se=(()=>{class ee{constructor(){this._stylesSet=new Set}addStyles(fe){const ht=new Set;fe.forEach(Pt=>{this._stylesSet.has(Pt)||(this._stylesSet.add(Pt),ht.add(Pt))}),this.onStylesAdded(ht)}onStylesAdded(fe){}getAllStyles(){return Array.from(this._stylesSet)}}return ee.\u0275fac=function(fe){return new(fe||ee)},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac}),ee})(),mt=(()=>{class ee extends Se{constructor(fe){super(),this._doc=fe,this._hostNodes=new Map,this._hostNodes.set(fe.head,[])}_addStylesToHost(fe,ht,Pt){fe.forEach(Ut=>{const tn=this._doc.createElement("style");tn.textContent=Ut,Pt.push(ht.appendChild(tn))})}addHost(fe){const ht=[];this._addStylesToHost(this._stylesSet,fe,ht),this._hostNodes.set(fe,ht)}removeHost(fe){const ht=this._hostNodes.get(fe);ht&&ht.forEach(bt),this._hostNodes.delete(fe)}onStylesAdded(fe){this._hostNodes.forEach((ht,Pt)=>{this._addStylesToHost(fe,Pt,ht)})}ngOnDestroy(){this._hostNodes.forEach(fe=>fe.forEach(bt))}}return ee.\u0275fac=function(fe){return new(fe||ee)(i.LFG(s.K0))},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac}),ee})();function bt(ee){(0,s.q)().remove(ee)}const Mt={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/"},ke=/%COMP%/g;function Xe(ee,pe,fe){for(let ht=0;ht<pe.length;ht++){let Pt=pe[ht];Array.isArray(Pt)?Xe(ee,Pt,fe):(Pt=Pt.replace(ke,ee),fe.push(Pt))}return fe}function _e(ee){return pe=>{if("__ngUnwrap__"===pe)return ee;!1===ee(pe)&&(pe.preventDefault(),pe.returnValue=!1)}}let je=(()=>{class ee{constructor(fe,ht,Pt){this.eventManager=fe,this.sharedStylesHost=ht,this.appId=Pt,this.rendererByCompId=new Map,this.defaultRenderer=new pt(fe)}createRenderer(fe,ht){if(!fe||!ht)return this.defaultRenderer;switch(ht.encapsulation){case i.ifc.Emulated:{let Pt=this.rendererByCompId.get(ht.id);return Pt||(Pt=new St(this.eventManager,this.sharedStylesHost,ht,this.appId),this.rendererByCompId.set(ht.id,Pt)),Pt.applyToHost(fe),Pt}case 1:case i.ifc.ShadowDom:return new Y(this.eventManager,this.sharedStylesHost,fe,ht);default:if(!this.rendererByCompId.has(ht.id)){const Pt=Xe(ht.id,ht.styles,[]);this.sharedStylesHost.addStyles(Pt),this.rendererByCompId.set(ht.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ee.\u0275fac=function(fe){return new(fe||ee)(i.LFG(Ae),i.LFG(mt),i.LFG(i.AFp))},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac}),ee})();class pt{constructor(pe){this.eventManager=pe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(pe,fe){return fe?document.createElementNS(Mt[fe]||fe,pe):document.createElement(pe)}createComment(pe){return document.createComment(pe)}createText(pe){return document.createTextNode(pe)}appendChild(pe,fe){(Ct(pe)?pe.content:pe).appendChild(fe)}insertBefore(pe,fe,ht){pe&&(Ct(pe)?pe.content:pe).insertBefore(fe,ht)}removeChild(pe,fe){pe&&pe.removeChild(fe)}selectRootElement(pe,fe){let ht="string"==typeof pe?document.querySelector(pe):pe;if(!ht)throw new Error(`The selector "${pe}" did not match any elements`);return fe||(ht.textContent=""),ht}parentNode(pe){return pe.parentNode}nextSibling(pe){return pe.nextSibling}setAttribute(pe,fe,ht,Pt){if(Pt){fe=Pt+":"+fe;const Ut=Mt[Pt];Ut?pe.setAttributeNS(Ut,fe,ht):pe.setAttribute(fe,ht)}else pe.setAttribute(fe,ht)}removeAttribute(pe,fe,ht){if(ht){const Pt=Mt[ht];Pt?pe.removeAttributeNS(Pt,fe):pe.removeAttribute(`${ht}:${fe}`)}else pe.removeAttribute(fe)}addClass(pe,fe){pe.classList.add(fe)}removeClass(pe,fe){pe.classList.remove(fe)}setStyle(pe,fe,ht,Pt){Pt&(i.JOm.DashCase|i.JOm.Important)?pe.style.setProperty(fe,ht,Pt&i.JOm.Important?"important":""):pe.style[fe]=ht}removeStyle(pe,fe,ht){ht&i.JOm.DashCase?pe.style.removeProperty(fe):pe.style[fe]=""}setProperty(pe,fe,ht){pe[fe]=ht}setValue(pe,fe){pe.nodeValue=fe}listen(pe,fe,ht){return"string"==typeof pe?this.eventManager.addGlobalEventListener(pe,fe,_e(ht)):this.eventManager.addEventListener(pe,fe,_e(ht))}}function Ct(ee){return"TEMPLATE"===ee.tagName&&void 0!==ee.content}class St extends pt{constructor(pe,fe,ht,Pt){super(pe),this.component=ht;const Ut=Xe(Pt+"-"+ht.id,ht.styles,[]);fe.addStyles(Ut),this.contentAttr=function we(ee){return"_ngcontent-%COMP%".replace(ke,ee)}(Pt+"-"+ht.id),this.hostAttr=function et(ee){return"_nghost-%COMP%".replace(ke,ee)}(Pt+"-"+ht.id)}applyToHost(pe){super.setAttribute(pe,this.hostAttr,"")}createElement(pe,fe){const ht=super.createElement(pe,fe);return super.setAttribute(ht,this.contentAttr,""),ht}}class Y extends pt{constructor(pe,fe,ht,Pt){super(pe),this.sharedStylesHost=fe,this.hostEl=ht,this.shadowRoot=ht.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ut=Xe(Pt.id,Pt.styles,[]);for(let tn=0;tn<Ut.length;tn++){const fn=document.createElement("style");fn.textContent=Ut[tn],this.shadowRoot.appendChild(fn)}}nodeOrShadowRoot(pe){return pe===this.hostEl?this.shadowRoot:pe}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(pe,fe){return super.appendChild(this.nodeOrShadowRoot(pe),fe)}insertBefore(pe,fe,ht){return super.insertBefore(this.nodeOrShadowRoot(pe),fe,ht)}removeChild(pe,fe){return super.removeChild(this.nodeOrShadowRoot(pe),fe)}parentNode(pe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(pe)))}}let B=(()=>{class ee extends Be{constructor(fe){super(fe)}supports(fe){return!0}addEventListener(fe,ht,Pt){return fe.addEventListener(ht,Pt,!1),()=>this.removeEventListener(fe,ht,Pt)}removeEventListener(fe,ht,Pt){return fe.removeEventListener(ht,Pt)}}return ee.\u0275fac=function(fe){return new(fe||ee)(i.LFG(s.K0))},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const _=["alt","control","meta","shift"],J={"\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"},se={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},de={alt:ee=>ee.altKey,control:ee=>ee.ctrlKey,meta:ee=>ee.metaKey,shift:ee=>ee.shiftKey};let De=(()=>{class ee extends Be{constructor(fe){super(fe)}supports(fe){return null!=ee.parseEventName(fe)}addEventListener(fe,ht,Pt){const Ut=ee.parseEventName(ht),tn=ee.eventCallback(Ut.fullKey,Pt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.q)().onAndCancel(fe,Ut.domEventName,tn))}static parseEventName(fe){const ht=fe.toLowerCase().split("."),Pt=ht.shift();if(0===ht.length||"keydown"!==Pt&&"keyup"!==Pt)return null;const Ut=ee._normalizeKey(ht.pop());let tn="";if(_.forEach(yn=>{const Gn=ht.indexOf(yn);Gn>-1&&(ht.splice(Gn,1),tn+=yn+".")}),tn+=Ut,0!=ht.length||0===Ut.length)return null;const fn={};return fn.domEventName=Pt,fn.fullKey=tn,fn}static getEventFullKey(fe){let ht="",Pt=function Ke(ee){let pe=ee.key;if(null==pe){if(pe=ee.keyIdentifier,null==pe)return"Unidentified";pe.startsWith("U+")&&(pe=String.fromCharCode(parseInt(pe.substring(2),16)),3===ee.location&&se.hasOwnProperty(pe)&&(pe=se[pe]))}return J[pe]||pe}(fe);return Pt=Pt.toLowerCase()," "===Pt?Pt="space":"."===Pt&&(Pt="dot"),_.forEach(Ut=>{Ut!=Pt&&de[Ut](fe)&&(ht+=Ut+".")}),ht+=Pt,ht}static eventCallback(fe,ht,Pt){return Ut=>{ee.getEventFullKey(Ut)===fe&&Pt.runGuarded(()=>ht(Ut))}}static _normalizeKey(fe){return"esc"===fe?"escape":fe}}return ee.\u0275fac=function(fe){return new(fe||ee)(i.LFG(s.K0))},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac}),ee})();const jt=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:s.bD},{provide:i.g9A,useValue:function Nt(){u.makeCurrent()},multi:!0},{provide:s.K0,useFactory:function ln(){return(0,i.RDi)(document),document},deps:[]}]),cn=new i.OlP(""),Qe=[{provide:i.rWj,useClass:class ne{addToWindow(pe){i.dqk.getAngularTestability=(ht,Pt=!0)=>{const Ut=pe.findTestabilityInTree(ht,Pt);if(null==Ut)throw new Error("Could not find testability for element.");return Ut},i.dqk.getAllAngularTestabilities=()=>pe.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>pe.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(ht=>{const Pt=i.dqk.getAllAngularTestabilities();let Ut=Pt.length,tn=!1;const fn=function(yn){tn=tn||yn,Ut--,0==Ut&&ht(tn)};Pt.forEach(function(yn){yn.whenStable(fn)})})}findTestabilityInTree(pe,fe,ht){if(null==fe)return null;const Pt=pe.getTestability(fe);return null!=Pt?Pt:ht?(0,s.q)().isShadowRoot(fe)?this.findTestabilityInTree(pe,fe.host,!0):this.findTestabilityInTree(pe,fe.parentElement,!0):null}},deps:[]},{provide:i.lri,useClass:i.dDg,deps:[i.R0b,i.eoX,i.rWj]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b,i.eoX,i.rWj]}],st=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function $t(){return new i.qLn},deps:[]},{provide:ae,useClass:B,multi:!0,deps:[s.K0,i.R0b,i.Lbi]},{provide:ae,useClass:De,multi:!0,deps:[s.K0]},{provide:je,useClass:je,deps:[Ae,mt,i.AFp]},{provide:i.FYo,useExisting:je},{provide:Se,useExisting:mt},{provide:mt,useClass:mt,deps:[s.K0]},{provide:Ae,useClass:Ae,deps:[ae,i.R0b]},{provide:s.JF,useClass:Ce,deps:[]},[]];let xe=(()=>{class ee{constructor(fe){}static withServerTransition(fe){return{ngModule:ee,providers:[{provide:i.AFp,useValue:fe.appId},{provide:ve,useExisting:i.AFp},Ne]}}}return ee.\u0275fac=function(fe){return new(fe||ee)(i.LFG(cn,12))},ee.\u0275mod=i.oAB({type:ee}),ee.\u0275inj=i.cJS({providers:[...st,...Qe],imports:[s.ez,i.hGG]}),ee})(),Ee=(()=>{class ee{constructor(fe){this._doc=fe}getTitle(){return this._doc.title}setTitle(fe){this._doc.title=fe||""}}return ee.\u0275fac=function(fe){return new(fe||ee)(i.LFG(s.K0))},ee.\u0275prov=i.Yz7({token:ee,factory:function(fe){let ht=null;return ht=fe?new fe:function Z(){return new Ee((0,i.LFG)(s.K0))}(),ht},providedIn:"root"}),ee})();"undefined"!=typeof window&&window;let It=(()=>{class ee{}return ee.\u0275fac=function(fe){return new(fe||ee)},ee.\u0275prov=i.Yz7({token:ee,factory:function(fe){let ht=null;return ht=fe?new(fe||ee):i.LFG(Ye),ht},providedIn:"root"}),ee})(),Ye=(()=>{class ee extends It{constructor(fe){super(),this._doc=fe}sanitize(fe,ht){if(null==ht)return null;switch(fe){case i.q3G.NONE:return ht;case i.q3G.HTML:return(0,i.qzn)(ht,"HTML")?(0,i.z3N)(ht):(0,i.EiD)(this._doc,String(ht)).toString();case i.q3G.STYLE:return(0,i.qzn)(ht,"Style")?(0,i.z3N)(ht):ht;case i.q3G.SCRIPT:if((0,i.qzn)(ht,"Script"))return(0,i.z3N)(ht);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(ht),(0,i.qzn)(ht,"URL")?(0,i.z3N)(ht):(0,i.mCW)(String(ht));case i.q3G.RESOURCE_URL:if((0,i.qzn)(ht,"ResourceURL"))return(0,i.z3N)(ht);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${fe} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(fe){return(0,i.JVY)(fe)}bypassSecurityTrustStyle(fe){return(0,i.L6k)(fe)}bypassSecurityTrustScript(fe){return(0,i.eBb)(fe)}bypassSecurityTrustUrl(fe){return(0,i.LAX)(fe)}bypassSecurityTrustResourceUrl(fe){return(0,i.pB0)(fe)}}return ee.\u0275fac=function(fe){return new(fe||ee)(i.LFG(s.K0))},ee.\u0275prov=i.Yz7({token:ee,factory:function(fe){let ht=null;return ht=fe?new fe:function Fe(ee){return new Ye(ee.get(s.K0))}(i.LFG(i.zs3)),ht},providedIn:"root"}),ee})()},6696:(Yt,ut,c)=>{"use strict";c.d(ut,{gz:()=>wn,gk:()=>De,m2:()=>de,Q3:()=>Ke,OD:()=>se,F0:()=>Li,rH:()=>Nr,Od:()=>ir,yS:()=>nr,Bz:()=>Ca,lC:()=>ps});var s=c(5e3);const h=(0,c(3888).d)(b=>function(){b(this),this.name="EmptyError",this.message="no elements in sequence"});var u=c(2076),l=c(9646),Me=c(1135),ie=c(9841),re=c(2843),ve=c(7272),X=c(9770),Ne=c(8306),ne=c(515),Ce=c(4033),ae=c(7579),Ae=c(4482),Be=c(5403);function Se(b,y,g,O,$){return(Re,_t)=>{let Dt=g,Bt=y,an=0;Re.subscribe((0,Be.x)(_t,Mn=>{const dn=an++;Bt=Dt?b(Bt,Mn,dn):(Dt=!0,Mn),O&&_t.next(Bt)},$&&(()=>{Dt&&_t.next(Bt),_t.complete()})))}}function mt(b,y){return(0,Ae.e)(Se(b,y,arguments.length>=2,!0))}var bt=c(9300);function Mt(b){return b<=0?()=>ne.E:(0,Ae.e)((y,g)=>{let O=[];y.subscribe((0,Be.x)(g,$=>{O.push($),b<O.length&&O.shift()},()=>{for(const $ of O)g.next($);g.complete()},void 0,()=>{O=null}))})}function ke(b=oe){return(0,Ae.e)((y,g)=>{let O=!1;y.subscribe((0,Be.x)(g,$=>{O=!0,g.next($)},()=>O?g.complete():g.error(b())))})}function oe(){return new h}function he(b){return(0,Ae.e)((y,g)=>{let O=!1;y.subscribe((0,Be.x)(g,$=>{O=!0,g.next($)},()=>{O||g.next(b),g.complete()}))})}var le=c(4671),we=c(5698);function et(b,y){const g=arguments.length>=2;return O=>O.pipe(b?(0,bt.h)(($,Re)=>b($,Re,O)):le.y,(0,we.q)(1),g?he(y):ke(()=>new h))}var Xe=c(4004),_e=c(3900),lt=c(8675),je=c(262),pt=c(4351),it=c(5577),ft=c(8505),Ct=c(9718),St=c(8746),Y=c(8343),B=c(8189),_=c(9808),A=c(2313);class J{constructor(y,g){this.id=y,this.url=g}}class se extends J{constructor(y,g,O="imperative",$=null){super(y,g),this.type=0,this.navigationTrigger=O,this.restoredState=$}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class de extends J{constructor(y,g,O){super(y,g),this.urlAfterRedirects=O,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class De extends J{constructor(y,g,O){super(y,g),this.reason=O,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ke extends J{constructor(y,g,O){super(y,g),this.error=O,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class gt extends J{constructor(y,g,O,$){super(y,g),this.urlAfterRedirects=O,this.state=$,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ze extends J{constructor(y,g,O,$){super(y,g),this.urlAfterRedirects=O,this.state=$,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Et extends J{constructor(y,g,O,$,Re){super(y,g),this.urlAfterRedirects=O,this.state=$,this.shouldActivate=Re,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Nt extends J{constructor(y,g,O,$){super(y,g),this.urlAfterRedirects=O,this.state=$,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $t extends J{constructor(y,g,O,$){super(y,g),this.urlAfterRedirects=O,this.state=$,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ln{constructor(y){this.route=y,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class gn{constructor(y){this.route=y,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class jt{constructor(y){this.snapshot=y,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cn{constructor(y){this.snapshot=y,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qe{constructor(y){this.snapshot=y,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class st{constructor(y){this.snapshot=y,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xe{constructor(y,g,O){this.routerEvent=y,this.position=g,this.anchor=O,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const k="primary";class W{constructor(y){this.params=y||{}}has(y){return Object.prototype.hasOwnProperty.call(this.params,y)}get(y){if(this.has(y)){const g=this.params[y];return Array.isArray(g)?g[0]:g}return null}getAll(y){if(this.has(y)){const g=this.params[y];return Array.isArray(g)?g:[g]}return[]}get keys(){return Object.keys(this.params)}}function Z(b){return new W(b)}const Ee="ngNavigationCancelingError";function tt(b){const y=Error("NavigationCancelingError: "+b);return y[Ee]=!0,y}function kt(b,y,g){const O=g.path.split("/");if(O.length>b.length||"full"===g.pathMatch&&(y.hasChildren()||O.length<b.length))return null;const $={};for(let Re=0;Re<O.length;Re++){const _t=O[Re],Dt=b[Re];if(_t.startsWith(":"))$[_t.substring(1)]=Dt;else if(_t!==Dt.path)return null}return{consumed:b.slice(0,O.length),posParams:$}}function en(b,y){const g=b?Object.keys(b):void 0,O=y?Object.keys(y):void 0;if(!g||!O||g.length!=O.length)return!1;let $;for(let Re=0;Re<g.length;Re++)if($=g[Re],!Lt(b[$],y[$]))return!1;return!0}function Lt(b,y){if(Array.isArray(b)&&Array.isArray(y)){if(b.length!==y.length)return!1;const g=[...b].sort(),O=[...y].sort();return g.every(($,Re)=>O[Re]===$)}return b===y}function xt(b){return Array.prototype.concat.apply([],b)}function Rt(b){return b.length>0?b[b.length-1]:null}function Ge(b,y){for(const g in b)b.hasOwnProperty(g)&&y(b[g],g)}function rt(b){return(0,s.CqO)(b)?b:(0,s.QGY)(b)?(0,u.D)(Promise.resolve(b)):(0,l.of)(b)}const me={exact:function P(b,y,g){if(!Je(b.segments,y.segments)||!G(b.segments,y.segments,g)||b.numberOfChildren!==y.numberOfChildren)return!1;for(const O in y.children)if(!b.children[O]||!P(b.children[O],y.children[O],g))return!1;return!0},subset:te},T={exact:function z(b,y){return en(b,y)},subset:function ue(b,y){return Object.keys(y).length<=Object.keys(b).length&&Object.keys(y).every(g=>Lt(b[g],y[g]))},ignored:()=>!0};function D(b,y,g){return me[g.paths](b.root,y.root,g.matrixParams)&&T[g.queryParams](b.queryParams,y.queryParams)&&!("exact"===g.fragment&&b.fragment!==y.fragment)}function te(b,y,g){return F(b,y,y.segments,g)}function F(b,y,g,O){if(b.segments.length>g.length){const $=b.segments.slice(0,g.length);return!(!Je($,g)||y.hasChildren()||!G($,g,O))}if(b.segments.length===g.length){if(!Je(b.segments,g)||!G(b.segments,g,O))return!1;for(const $ in y.children)if(!b.children[$]||!te(b.children[$],y.children[$],O))return!1;return!0}{const $=g.slice(0,b.segments.length),Re=g.slice(b.segments.length);return!!(Je(b.segments,$)&&G(b.segments,$,O)&&b.children[k])&&F(b.children[k],y,Re,O)}}function G(b,y,g){return y.every((O,$)=>T[g](b[$].parameters,O.parameters))}class j{constructor(y,g,O){this.root=y,this.queryParams=g,this.fragment=O}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Z(this.queryParams)),this._queryParamMap}toString(){return R.serialize(this)}}class ye{constructor(y,g){this.segments=y,this.children=g,this.parent=null,Ge(g,(O,$)=>O.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ee(this)}}class H{constructor(y,g){this.path=y,this.parameters=g}get parameterMap(){return this._parameterMap||(this._parameterMap=Z(this.parameters)),this._parameterMap}toString(){return yn(this)}}function Je(b,y){return b.length===y.length&&b.every((g,O)=>g.path===y[O].path)}class Fe{}class Ye{parse(y){const g=new ct(y);return new j(g.parseRootSegment(),g.parseQueryParams(),g.parseFragment())}serialize(y){const g=`/${pe(y.root,!0)}`,O=function Un(b){const y=Object.keys(b).map(g=>{const O=b[g];return Array.isArray(O)?O.map($=>`${ht(g)}=${ht($)}`).join("&"):`${ht(g)}=${ht(O)}`}).filter(g=>!!g);return y.length?`?${y.join("&")}`:""}(y.queryParams);return`${g}${O}${"string"==typeof y.fragment?`#${function Pt(b){return encodeURI(b)}(y.fragment)}`:""}`}}const R=new Ye;function ee(b){return b.segments.map(y=>yn(y)).join("/")}function pe(b,y){if(!b.hasChildren())return ee(b);if(y){const g=b.children[k]?pe(b.children[k],!1):"",O=[];return Ge(b.children,($,Re)=>{Re!==k&&O.push(`${Re}:${pe($,!1)}`)}),O.length>0?`${g}(${O.join("//")})`:g}{const g=function It(b,y){let g=[];return Ge(b.children,(O,$)=>{$===k&&(g=g.concat(y(O,$)))}),Ge(b.children,(O,$)=>{$!==k&&(g=g.concat(y(O,$)))}),g}(b,(O,$)=>$===k?[pe(b.children[k],!1)]:[`${$}:${pe(O,!1)}`]);return 1===Object.keys(b.children).length&&null!=b.children[k]?`${ee(b)}/${g[0]}`:`${ee(b)}/(${g.join("//")})`}}function fe(b){return encodeURIComponent(b).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ht(b){return fe(b).replace(/%3B/gi,";")}function Ut(b){return fe(b).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function tn(b){return decodeURIComponent(b)}function fn(b){return tn(b.replace(/\+/g,"%20"))}function yn(b){return`${Ut(b.path)}${function Gn(b){return Object.keys(b).map(y=>`;${Ut(y)}=${Ut(b[y])}`).join("")}(b.parameters)}`}const at=/^[^\/()?;=#]+/;function be(b){const y=b.match(at);return y?y[0]:""}const Ze=/^[^=?&#]+/,I=/^[^&#]+/;class ct{constructor(y){this.url=y,this.remaining=y}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ye([],{}):new ye([],this.parseChildren())}parseQueryParams(){const y={};if(this.consumeOptional("?"))do{this.parseQueryParam(y)}while(this.consumeOptional("&"));return y}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const y=[];for(this.peekStartsWith("(")||y.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),y.push(this.parseSegment());let g={};this.peekStartsWith("/(")&&(this.capture("/"),g=this.parseParens(!0));let O={};return this.peekStartsWith("(")&&(O=this.parseParens(!1)),(y.length>0||Object.keys(g).length>0)&&(O[k]=new ye(y,g)),O}parseSegment(){const y=be(this.remaining);if(""===y&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(y),new H(tn(y),this.parseMatrixParams())}parseMatrixParams(){const y={};for(;this.consumeOptional(";");)this.parseParam(y);return y}parseParam(y){const g=be(this.remaining);if(!g)return;this.capture(g);let O="";if(this.consumeOptional("=")){const $=be(this.remaining);$&&(O=$,this.capture(O))}y[tn(g)]=tn(O)}parseQueryParam(y){const g=function m(b){const y=b.match(Ze);return y?y[0]:""}(this.remaining);if(!g)return;this.capture(g);let O="";if(this.consumeOptional("=")){const _t=function Ie(b){const y=b.match(I);return y?y[0]:""}(this.remaining);_t&&(O=_t,this.capture(O))}const $=fn(g),Re=fn(O);if(y.hasOwnProperty($)){let _t=y[$];Array.isArray(_t)||(_t=[_t],y[$]=_t),_t.push(Re)}else y[$]=Re}parseParens(y){const g={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const O=be(this.remaining),$=this.remaining[O.length];if("/"!==$&&")"!==$&&";"!==$)throw new Error(`Cannot parse url '${this.url}'`);let Re;O.indexOf(":")>-1?(Re=O.slice(0,O.indexOf(":")),this.capture(Re),this.capture(":")):y&&(Re=k);const _t=this.parseChildren();g[Re]=1===Object.keys(_t).length?_t[k]:new ye([],_t),this.consumeOptional("//")}return g}peekStartsWith(y){return this.remaining.startsWith(y)}consumeOptional(y){return!!this.peekStartsWith(y)&&(this.remaining=this.remaining.substring(y.length),!0)}capture(y){if(!this.consumeOptional(y))throw new Error(`Expected "${y}".`)}}class Xt{constructor(y){this._root=y}get root(){return this._root.value}parent(y){const g=this.pathFromRoot(y);return g.length>1?g[g.length-2]:null}children(y){const g=bn(y,this._root);return g?g.children.map(O=>O.value):[]}firstChild(y){const g=bn(y,this._root);return g&&g.children.length>0?g.children[0].value:null}siblings(y){const g=Nn(y,this._root);return g.length<2?[]:g[g.length-2].children.map($=>$.value).filter($=>$!==y)}pathFromRoot(y){return Nn(y,this._root).map(g=>g.value)}}function bn(b,y){if(b===y.value)return y;for(const g of y.children){const O=bn(b,g);if(O)return O}return null}function Nn(b,y){if(b===y.value)return[y];for(const g of y.children){const O=Nn(b,g);if(O.length)return O.unshift(y),O}return[]}class Ln{constructor(y,g){this.value=y,this.children=g}toString(){return`TreeNode(${this.value})`}}function Pn(b){const y={};return b&&b.children.forEach(g=>y[g.value.outlet]=g),y}class qn extends Xt{constructor(y,g){super(y),this.snapshot=g,Ri(this,y)}toString(){return this.snapshot.toString()}}function ai(b,y){const g=function Ei(b,y){const _t=new si([],{},{},"",{},k,y,null,b.root,-1,{});return new pi("",new Ln(_t,[]))}(b,y),O=new Me.X([new H("",{})]),$=new Me.X({}),Re=new Me.X({}),_t=new Me.X({}),Dt=new Me.X(""),Bt=new wn(O,$,_t,Dt,Re,k,y,g.root);return Bt.snapshot=g.root,new qn(new Ln(Bt,[]),g)}class wn{constructor(y,g,O,$,Re,_t,Dt,Bt){this.url=y,this.params=g,this.queryParams=O,this.fragment=$,this.data=Re,this.outlet=_t,this.component=Dt,this._futureSnapshot=Bt}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,Xe.U)(y=>Z(y)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Xe.U)(y=>Z(y)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ji(b,y="emptyOnly"){const g=b.pathFromRoot;let O=0;if("always"!==y)for(O=g.length-1;O>=1;){const $=g[O],Re=g[O-1];if($.routeConfig&&""===$.routeConfig.path)O--;else{if(Re.component)break;O--}}return function Si(b){return b.reduce((y,g)=>{var O;return{params:Object.assign(Object.assign({},y.params),g.params),data:Object.assign(Object.assign({},y.data),g.data),resolve:Object.assign(Object.assign(Object.assign(Object.assign({},g.data),y.resolve),null===(O=g.routeConfig)||void 0===O?void 0:O.data),g._resolvedData)}},{params:{},data:{},resolve:{}})}(g.slice(O))}class si{constructor(y,g,O,$,Re,_t,Dt,Bt,an,Mn,dn,kn){this.url=y,this.params=g,this.queryParams=O,this.fragment=$,this.data=Re,this.outlet=_t,this.component=Dt,this.routeConfig=Bt,this._urlSegment=an,this._lastPathIndex=Mn,this._correctedLastPathIndex=null!=kn?kn:Mn,this._resolve=dn}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=Z(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Z(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(O=>O.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class pi extends Xt{constructor(y,g){super(g),this.url=y,Ri(this,g)}toString(){return vi(this._root)}}function Ri(b,y){y.value._routerState=b,y.children.forEach(g=>Ri(b,g))}function vi(b){const y=b.children.length>0?` { ${b.children.map(vi).join(", ")} } `:"";return`${b.value}${y}`}function yi(b){if(b.snapshot){const y=b.snapshot,g=b._futureSnapshot;b.snapshot=g,en(y.queryParams,g.queryParams)||b.queryParams.next(g.queryParams),y.fragment!==g.fragment&&b.fragment.next(g.fragment),en(y.params,g.params)||b.params.next(g.params),function qt(b,y){if(b.length!==y.length)return!1;for(let g=0;g<b.length;++g)if(!en(b[g],y[g]))return!1;return!0}(y.url,g.url)||b.url.next(g.url),en(y.data,g.data)||b.data.next(g.data)}else b.snapshot=b._futureSnapshot,b.data.next(b._futureSnapshot.data)}function fi(b,y){const g=en(b.params,y.params)&&function Ue(b,y){return Je(b,y)&&b.every((g,O)=>en(g.parameters,y[O].parameters))}(b.url,y.url);return g&&!(!b.parent!=!y.parent)&&(!b.parent||fi(b.parent,y.parent))}function Ui(b,y,g){if(g&&b.shouldReuseRoute(y.value,g.value.snapshot)){const O=g.value;O._futureSnapshot=y.value;const $=function us(b,y,g){return y.children.map(O=>{for(const $ of g.children)if(b.shouldReuseRoute(O.value,$.value.snapshot))return Ui(b,O,$);return Ui(b,O)})}(b,y,g);return new Ln(O,$)}{if(b.shouldAttach(y.value)){const Re=b.retrieve(y.value);if(null!==Re){const _t=Re.route;return _t.value._futureSnapshot=y.value,_t.children=y.children.map(Dt=>Ui(b,Dt)),_t}}const O=function ns(b){return new wn(new Me.X(b.url),new Me.X(b.params),new Me.X(b.queryParams),new Me.X(b.fragment),new Me.X(b.data),b.outlet,b.component,b)}(y.value),$=y.children.map(Re=>Ui(b,Re));return new Ln(O,$)}}function Ve(b){return"object"==typeof b&&null!=b&&!b.outlets&&!b.segmentPath}function $e(b){return"object"==typeof b&&null!=b&&b.outlets}function wt(b,y,g,O,$){let Re={};if(O&&Ge(O,(Dt,Bt)=>{Re[Bt]=Array.isArray(Dt)?Dt.map(an=>`${an}`):`${Dt}`}),b===y)return new j(g,Re,$);const _t=Ht(b,y,g);return new j(_t,Re,$)}function Ht(b,y,g){const O={};return Ge(b.children,($,Re)=>{O[Re]=$===y?g:Ht($,y,g)}),new ye(b.segments,O)}class Zt{constructor(y,g,O){if(this.isAbsolute=y,this.numberOfDoubleDots=g,this.commands=O,y&&O.length>0&&Ve(O[0]))throw new Error("Root segment cannot have matrix parameters");const $=O.find($e);if($&&$!==Rt(O))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Tn{constructor(y,g,O){this.segmentGroup=y,this.processChildren=g,this.index=O}}function ki(b,y,g){if(b||(b=new ye([],{})),0===b.segments.length&&b.hasChildren())return js(b,y,g);const O=function Yi(b,y,g){let O=0,$=y;const Re={match:!1,pathIndex:0,commandIndex:0};for(;$<b.segments.length;){if(O>=g.length)return Re;const _t=b.segments[$],Dt=g[O];if($e(Dt))break;const Bt=`${Dt}`,an=O<g.length-1?g[O+1]:null;if($>0&&void 0===Bt)break;if(Bt&&an&&"object"==typeof an&&void 0===an.outlets){if(!Ds(Bt,an,_t))return Re;O+=2}else{if(!Ds(Bt,{},_t))return Re;O++}$++}return{match:!0,pathIndex:$,commandIndex:O}}(b,y,g),$=g.slice(O.commandIndex);if(O.match&&O.pathIndex<b.segments.length){const Re=new ye(b.segments.slice(0,O.pathIndex),{});return Re.children[k]=new ye(b.segments.slice(O.pathIndex),b.children),js(Re,0,$)}return O.match&&0===$.length?new ye(b.segments,{}):O.match&&!b.hasChildren()?Cs(b,y,g):O.match?js(b,0,$):Cs(b,y,g)}function js(b,y,g){if(0===g.length)return new ye(b.segments,{});{const O=function _i(b){return $e(b[0])?b[0].outlets:{[k]:b}}(g),$={};return Ge(O,(Re,_t)=>{"string"==typeof Re&&(Re=[Re]),null!==Re&&($[_t]=ki(b.children[_t],y,Re))}),Ge(b.children,(Re,_t)=>{void 0===O[_t]&&($[_t]=Re)}),new ye(b.segments,$)}}function Cs(b,y,g){const O=b.segments.slice(0,y);let $=0;for(;$<g.length;){const Re=g[$];if($e(Re)){const Bt=hs(Re.outlets);return new ye(O,Bt)}if(0===$&&Ve(g[0])){O.push(new H(b.segments[y].path,Or(g[0]))),$++;continue}const _t=$e(Re)?Re.outlets[k]:`${Re}`,Dt=$<g.length-1?g[$+1]:null;_t&&Dt&&Ve(Dt)?(O.push(new H(_t,Or(Dt))),$+=2):(O.push(new H(_t,{})),$++)}return new ye(O,{})}function hs(b){const y={};return Ge(b,(g,O)=>{"string"==typeof g&&(g=[g]),null!==g&&(y[O]=Cs(new ye([],{}),0,g))}),y}function Or(b){const y={};return Ge(b,(g,O)=>y[O]=`${g}`),y}function Ds(b,y,g){return b==g.path&&en(y,g.parameters)}class Vn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Pi,this.attachRef=null}}class Pi{constructor(){this.contexts=new Map}onChildOutletCreated(y,g){const O=this.getOrCreateContext(y);O.outlet=g,this.contexts.set(y,O)}onChildOutletDestroyed(y){const g=this.getContext(y);g&&(g.outlet=null,g.attachRef=null)}onOutletDeactivated(){const y=this.contexts;return this.contexts=new Map,y}onOutletReAttached(y){this.contexts=y}getOrCreateContext(y){let g=this.getContext(y);return g||(g=new Vn,this.contexts.set(y,g)),g}getContext(y){return this.contexts.get(y)||null}}let ps=(()=>{class b{constructor(g,O,$,Re,_t){this.parentContexts=g,this.location=O,this.changeDetector=Re,this.environmentInjector=_t,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.attachEvents=new s.vpe,this.detachEvents=new s.vpe,this.name=$||k,g.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const g=this.parentContexts.getContext(this.name);g&&g.route&&(g.attachRef?this.attach(g.attachRef,g.route):this.activateWith(g.route,g.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const g=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(g.instance),g}attach(g,O){this.activated=g,this._activatedRoute=O,this.location.insert(g.hostView),this.attachEvents.emit(g.instance)}deactivate(){if(this.activated){const g=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(g)}}activateWith(g,O){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=g;const $=this.location,_t=g._futureSnapshot.component,Dt=this.parentContexts.getOrCreateContext(this.name).children,Bt=new Ms(g,Dt,$.injector);if(O&&function fs(b){return!!b.resolveComponentFactory}(O)){const an=O.resolveComponentFactory(_t);this.activated=$.createComponent(an,$.length,Bt)}else this.activated=$.createComponent(_t,{index:$.length,injector:Bt,environmentInjector:null!=O?O:this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return b.\u0275fac=function(g){return new(g||b)(s.Y36(Pi),s.Y36(s.s_b),s.$8M("name"),s.Y36(s.sBO),s.Y36(s.lqb))},b.\u0275dir=s.lG2({type:b,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),b})();class Ms{constructor(y,g,O){this.route=y,this.childContexts=g,this.parent=O}get(y,g){return y===wn?this.route:y===Pi?this.childContexts:this.parent.get(y,g)}}let Gs=(()=>{class b{}return b.\u0275fac=function(g){return new(g||b)},b.\u0275cmp=s.Xpm({type:b,selectors:[["ng-component"]],decls:1,vars:0,template:function(g,O){1&g&&s._UZ(0,"router-outlet")},dependencies:[ps],encapsulation:2}),b})();function ss(b,y){var g;return b.providers&&!b._injector&&(b._injector=(0,s.MMx)(b.providers,y,`Route: ${b.path}`)),null!==(g=b._injector)&&void 0!==g?g:y}function $i(b){const y=b.children&&b.children.map($i),g=y?Object.assign(Object.assign({},b),{children:y}):Object.assign({},b);return!g.component&&!g.loadComponent&&(y||g.loadChildren)&&g.outlet&&g.outlet!==k&&(g.component=Gs),g}function ri(b){return b.outlet||k}function $s(b,y){const g=b.filter(O=>ri(O)===y);return g.push(...b.filter(O=>ri(O)!==y)),g}function Ki(b){var y;if(!b)return null;if(null!==(y=b.routeConfig)&&void 0!==y&&y._injector)return b.routeConfig._injector;for(let g=b.parent;g;g=g.parent){const O=g.routeConfig;if(null!=O&&O._loadedInjector)return O._loadedInjector;if(null!=O&&O._injector)return O._injector}return null}class ks{constructor(y,g,O,$){this.routeReuseStrategy=y,this.futureState=g,this.currState=O,this.forwardEvent=$}activate(y){const g=this.futureState._root,O=this.currState?this.currState._root:null;this.deactivateChildRoutes(g,O,y),yi(this.futureState.root),this.activateChildRoutes(g,O,y)}deactivateChildRoutes(y,g,O){const $=Pn(g);y.children.forEach(Re=>{const _t=Re.value.outlet;this.deactivateRoutes(Re,$[_t],O),delete $[_t]}),Ge($,(Re,_t)=>{this.deactivateRouteAndItsChildren(Re,O)})}deactivateRoutes(y,g,O){const $=y.value,Re=g?g.value:null;if($===Re)if($.component){const _t=O.getContext($.outlet);_t&&this.deactivateChildRoutes(y,g,_t.children)}else this.deactivateChildRoutes(y,g,O);else Re&&this.deactivateRouteAndItsChildren(g,O)}deactivateRouteAndItsChildren(y,g){y.value.component&&this.routeReuseStrategy.shouldDetach(y.value.snapshot)?this.detachAndStoreRouteSubtree(y,g):this.deactivateRouteAndOutlet(y,g)}detachAndStoreRouteSubtree(y,g){const O=g.getContext(y.value.outlet),$=O&&y.value.component?O.children:g,Re=Pn(y);for(const _t of Object.keys(Re))this.deactivateRouteAndItsChildren(Re[_t],$);if(O&&O.outlet){const _t=O.outlet.detach(),Dt=O.children.onOutletDeactivated();this.routeReuseStrategy.store(y.value.snapshot,{componentRef:_t,route:y,contexts:Dt})}}deactivateRouteAndOutlet(y,g){const O=g.getContext(y.value.outlet),$=O&&y.value.component?O.children:g,Re=Pn(y);for(const _t of Object.keys(Re))this.deactivateRouteAndItsChildren(Re[_t],$);O&&O.outlet&&(O.outlet.deactivate(),O.children.onOutletDeactivated(),O.attachRef=null,O.resolver=null,O.route=null)}activateChildRoutes(y,g,O){const $=Pn(g);y.children.forEach(Re=>{this.activateRoutes(Re,$[Re.value.outlet],O),this.forwardEvent(new st(Re.value.snapshot))}),y.children.length&&this.forwardEvent(new cn(y.value.snapshot))}activateRoutes(y,g,O){var $;const Re=y.value,_t=g?g.value:null;if(yi(Re),Re===_t)if(Re.component){const Dt=O.getOrCreateContext(Re.outlet);this.activateChildRoutes(y,g,Dt.children)}else this.activateChildRoutes(y,g,O);else if(Re.component){const Dt=O.getOrCreateContext(Re.outlet);if(this.routeReuseStrategy.shouldAttach(Re.snapshot)){const Bt=this.routeReuseStrategy.retrieve(Re.snapshot);this.routeReuseStrategy.store(Re.snapshot,null),Dt.children.onOutletReAttached(Bt.contexts),Dt.attachRef=Bt.componentRef,Dt.route=Bt.route.value,Dt.outlet&&Dt.outlet.attach(Bt.componentRef,Bt.route.value),yi(Bt.route.value),this.activateChildRoutes(y,null,Dt.children)}else{const Bt=Ki(Re.snapshot),an=null!==($=null==Bt?void 0:Bt.get(s._Vd))&&void 0!==$?$:null;Dt.attachRef=null,Dt.route=Re,Dt.resolver=an,Dt.injector=Bt,Dt.outlet&&Dt.outlet.activateWith(Re,Dt.injector),this.activateChildRoutes(y,null,Dt.children)}}else this.activateChildRoutes(y,null,O)}}function qi(b){return"function"==typeof b}function Gi(b){return b instanceof j}const V=Symbol("INITIAL_VALUE");function Le(){return(0,_e.w)(b=>(0,ie.a)(b.map(y=>y.pipe((0,we.q)(1),(0,lt.O)(V)))).pipe(mt((y,g)=>{let O=!1;return g.reduce(($,Re,_t)=>$!==V?$:(Re===V&&(O=!0),O||!1!==Re&&_t!==g.length-1&&!Gi(Re)?$:Re),y)},V),(0,bt.h)(y=>y!==V),(0,Xe.U)(y=>Gi(y)?y:!0===y),(0,we.q)(1)))}const At={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function zt(b,y,g){var O;if(""===y.path)return"full"===y.pathMatch&&(b.hasChildren()||g.length>0)?Object.assign({},At):{matched:!0,consumedSegments:[],remainingSegments:g,parameters:{},positionalParamSegments:{}};const Re=(y.matcher||kt)(g,b,y);if(!Re)return Object.assign({},At);const _t={};Ge(Re.posParams,(Bt,an)=>{_t[an]=Bt.path});const Dt=Re.consumed.length>0?Object.assign(Object.assign({},_t),Re.consumed[Re.consumed.length-1].parameters):_t;return{matched:!0,consumedSegments:Re.consumed,remainingSegments:g.slice(Re.consumed.length),parameters:Dt,positionalParamSegments:null!==(O=Re.posParams)&&void 0!==O?O:{}}}function Kt(b,y,g,O,$="corrected"){if(g.length>0&&function ti(b,y,g){return g.some(O=>Rn(b,y,O)&&ri(O)!==k)}(b,g,O)){const _t=new ye(y,function ei(b,y,g,O){const $={};$[k]=O,O._sourceSegment=b,O._segmentIndexShift=y.length;for(const Re of g)if(""===Re.path&&ri(Re)!==k){const _t=new ye([],{});_t._sourceSegment=b,_t._segmentIndexShift=y.length,$[ri(Re)]=_t}return $}(b,y,O,new ye(g,b.children)));return _t._sourceSegment=b,_t._segmentIndexShift=y.length,{segmentGroup:_t,slicedSegments:[]}}if(0===g.length&&function ni(b,y,g){return g.some(O=>Rn(b,y,O))}(b,g,O)){const _t=new ye(b.segments,function hn(b,y,g,O,$,Re){const _t={};for(const Dt of O)if(Rn(b,g,Dt)&&!$[ri(Dt)]){const Bt=new ye([],{});Bt._sourceSegment=b,Bt._segmentIndexShift="legacy"===Re?b.segments.length:y.length,_t[ri(Dt)]=Bt}return Object.assign(Object.assign({},$),_t)}(b,y,g,O,b.children,$));return _t._sourceSegment=b,_t._segmentIndexShift=y.length,{segmentGroup:_t,slicedSegments:g}}const Re=new ye(b.segments,b.children);return Re._sourceSegment=b,Re._segmentIndexShift=y.length,{segmentGroup:Re,slicedSegments:g}}function Rn(b,y,g){return(!(b.hasChildren()||y.length>0)||"full"!==g.pathMatch)&&""===g.path}function Wn(b,y,g,O){return!!(ri(b)===O||O!==k&&Rn(y,g,b))&&("**"===b.path||zt(y,b,g).matched)}function Zn(b,y,g){return 0===y.length&&!b.children[g]}class _n{constructor(y){this.segmentGroup=y||null}}class Xi{constructor(y){this.urlTree=y}}function Fi(b){return(0,re._)(new _n(b))}function Ps(b){return(0,re._)(new Xi(b))}class Rr{constructor(y,g,O,$,Re){this.injector=y,this.configLoader=g,this.urlSerializer=O,this.urlTree=$,this.config=Re,this.allowRedirects=!0}apply(){const y=Kt(this.urlTree.root,[],[],this.config).segmentGroup,g=new ye(y.segments,y.children);return this.expandSegmentGroup(this.injector,this.config,g,k).pipe((0,Xe.U)(Re=>this.createUrlTree(M(Re),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,je.K)(Re=>{if(Re instanceof Xi)return this.allowRedirects=!1,this.match(Re.urlTree);throw Re instanceof _n?this.noMatchError(Re):Re}))}match(y){return this.expandSegmentGroup(this.injector,this.config,y.root,k).pipe((0,Xe.U)($=>this.createUrlTree(M($),y.queryParams,y.fragment))).pipe((0,je.K)($=>{throw $ instanceof _n?this.noMatchError($):$}))}noMatchError(y){return new Error(`Cannot match any routes. URL Segment: '${y.segmentGroup}'`)}createUrlTree(y,g,O){const $=y.segments.length>0?new ye([],{[k]:y}):y;return new j($,g,O)}expandSegmentGroup(y,g,O,$){return 0===O.segments.length&&O.hasChildren()?this.expandChildren(y,g,O).pipe((0,Xe.U)(Re=>new ye([],Re))):this.expandSegment(y,O,g,O.segments,$,!0)}expandChildren(y,g,O){const $=[];for(const Re of Object.keys(O.children))"primary"===Re?$.unshift(Re):$.push(Re);return(0,u.D)($).pipe((0,pt.b)(Re=>{const _t=O.children[Re],Dt=$s(g,Re);return this.expandSegmentGroup(y,Dt,_t,Re).pipe((0,Xe.U)(Bt=>({segment:Bt,outlet:Re})))}),mt((Re,_t)=>(Re[_t.outlet]=_t.segment,Re),{}),function We(b,y){const g=arguments.length>=2;return O=>O.pipe(b?(0,bt.h)(($,Re)=>b($,Re,O)):le.y,Mt(1),g?he(y):ke(()=>new h))}())}expandSegment(y,g,O,$,Re,_t){return(0,u.D)(O).pipe((0,pt.b)(Dt=>this.expandSegmentAgainstRoute(y,g,O,Dt,$,Re,_t).pipe((0,je.K)(an=>{if(an instanceof _n)return(0,l.of)(null);throw an}))),et(Dt=>!!Dt),(0,je.K)((Dt,Bt)=>{if(Dt instanceof h||"EmptyError"===Dt.name)return Zn(g,$,Re)?(0,l.of)(new ye([],{})):Fi(g);throw Dt}))}expandSegmentAgainstRoute(y,g,O,$,Re,_t,Dt){return Wn($,g,Re,_t)?void 0===$.redirectTo?this.matchSegmentAgainstRoute(y,g,$,Re,_t):Dt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(y,g,O,$,Re,_t):Fi(g):Fi(g)}expandSegmentAgainstRouteUsingRedirect(y,g,O,$,Re,_t){return"**"===$.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(y,O,$,_t):this.expandRegularSegmentAgainstRouteUsingRedirect(y,g,O,$,Re,_t)}expandWildCardWithParamsAgainstRouteUsingRedirect(y,g,O,$){const Re=this.applyRedirectCommands([],O.redirectTo,{});return O.redirectTo.startsWith("/")?Ps(Re):this.lineralizeSegments(O,Re).pipe((0,it.z)(_t=>{const Dt=new ye(_t,{});return this.expandSegment(y,Dt,g,_t,$,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(y,g,O,$,Re,_t){const{matched:Dt,consumedSegments:Bt,remainingSegments:an,positionalParamSegments:Mn}=zt(g,$,Re);if(!Dt)return Fi(g);const dn=this.applyRedirectCommands(Bt,$.redirectTo,Mn);return $.redirectTo.startsWith("/")?Ps(dn):this.lineralizeSegments($,dn).pipe((0,it.z)(kn=>this.expandSegment(y,g,O,kn.concat(an),_t,!1)))}matchSegmentAgainstRoute(y,g,O,$,Re){if("**"===O.path)return y=ss(O,y),O.loadChildren?(O._loadedRoutes?(0,l.of)({routes:O._loadedRoutes,injector:O._loadedInjector}):this.configLoader.loadChildren(y,O)).pipe((0,Xe.U)(dn=>(O._loadedRoutes=dn.routes,O._loadedInjector=dn.injector,new ye($,{})))):(0,l.of)(new ye($,{}));const{matched:_t,consumedSegments:Dt,remainingSegments:Bt}=zt(g,O,$);return _t?(y=ss(O,y),this.getChildConfig(y,O,$).pipe((0,it.z)(Mn=>{var dn;const kn=null!==(dn=Mn.injector)&&void 0!==dn?dn:y,Xn=Mn.routes,{segmentGroup:Ti,slicedSegments:Bs}=Kt(g,Dt,Bt,Xn),Ts=new ye(Ti.segments,Ti.children);if(0===Bs.length&&Ts.hasChildren())return this.expandChildren(kn,Xn,Ts).pipe((0,Xe.U)(oi=>new ye(Dt,oi)));if(0===Xn.length&&0===Bs.length)return(0,l.of)(new ye(Dt,{}));const wi=ri(O)===Re;return this.expandSegment(kn,Ts,Xn,Bs,wi?k:Re,!0).pipe((0,Xe.U)(fo=>new ye(Dt.concat(fo.segments),fo.children)))}))):Fi(g)}getChildConfig(y,g,O){return g.children?(0,l.of)({routes:g.children,injector:y}):g.loadChildren?void 0!==g._loadedRoutes?(0,l.of)({routes:g._loadedRoutes,injector:g._loadedInjector}):this.runCanLoadGuards(y,g,O).pipe((0,it.z)($=>$?this.configLoader.loadChildren(y,g).pipe((0,ft.b)(Re=>{g._loadedRoutes=Re.routes,g._loadedInjector=Re.injector})):function ur(b){return(0,re._)(tt(`Cannot load children because the guard of the route "path: '${b.path}'" returned false`))}(g))):(0,l.of)({routes:[],injector:y})}runCanLoadGuards(y,g,O){const $=g.canLoad;if(!$||0===$.length)return(0,l.of)(!0);const Re=$.map(_t=>{const Dt=y.get(_t);let Bt;if(function Ks(b){return b&&qi(b.canLoad)}(Dt))Bt=Dt.canLoad(g,O);else{if(!qi(Dt))throw new Error("Invalid CanLoad guard");Bt=Dt(g,O)}return rt(Bt)});return(0,l.of)(Re).pipe(Le(),(0,ft.b)(_t=>{if(!Gi(_t))return;const Dt=tt(`Redirecting to "${this.urlSerializer.serialize(_t)}"`);throw Dt.url=_t,Dt}),(0,Xe.U)(_t=>!0===_t))}lineralizeSegments(y,g){let O=[],$=g.root;for(;;){if(O=O.concat($.segments),0===$.numberOfChildren)return(0,l.of)(O);if($.numberOfChildren>1||!$.children[k])return(0,re._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${y.redirectTo}'`));$=$.children[k]}}applyRedirectCommands(y,g,O){return this.applyRedirectCreatreUrlTree(g,this.urlSerializer.parse(g),y,O)}applyRedirectCreatreUrlTree(y,g,O,$){const Re=this.createSegmentGroup(y,g.root,O,$);return new j(Re,this.createQueryParams(g.queryParams,this.urlTree.queryParams),g.fragment)}createQueryParams(y,g){const O={};return Ge(y,($,Re)=>{if("string"==typeof $&&$.startsWith(":")){const Dt=$.substring(1);O[Re]=g[Dt]}else O[Re]=$}),O}createSegmentGroup(y,g,O,$){const Re=this.createSegments(y,g.segments,O,$);let _t={};return Ge(g.children,(Dt,Bt)=>{_t[Bt]=this.createSegmentGroup(y,Dt,O,$)}),new ye(Re,_t)}createSegments(y,g,O,$){return g.map(Re=>Re.path.startsWith(":")?this.findPosParam(y,Re,$):this.findOrReturn(Re,O))}findPosParam(y,g,O){const $=O[g.path.substring(1)];if(!$)throw new Error(`Cannot redirect to '${y}'. Cannot find '${g.path}'.`);return $}findOrReturn(y,g){let O=0;for(const $ of g){if($.path===y.path)return g.splice(O),$;O++}return y}}function M(b){const y={};for(const O of Object.keys(b.children)){const Re=M(b.children[O]);(Re.segments.length>0||Re.hasChildren())&&(y[O]=Re)}return function U(b){if(1===b.numberOfChildren&&b.children[k]){const y=b.children[k];return new ye(b.segments.concat(y.segments),y.children)}return b}(new ye(b.segments,y))}class Oe{constructor(y){this.path=y,this.route=this.path[this.path.length-1]}}class Gt{constructor(y,g){this.component=y,this.route=g}}function on(b,y,g){const O=b._root;return Ci(O,y?y._root:null,g,[O.value])}function bi(b,y,g){const O=Ki(y);return(null!=O?O:g).get(b)}function Ci(b,y,g,O,$={canDeactivateChecks:[],canActivateChecks:[]}){const Re=Pn(y);return b.children.forEach(_t=>{(function ms(b,y,g,O,$={canDeactivateChecks:[],canActivateChecks:[]}){const Re=b.value,_t=y?y.value:null,Dt=g?g.getContext(b.value.outlet):null;if(_t&&Re.routeConfig===_t.routeConfig){const Bt=function hr(b,y,g){if("function"==typeof g)return g(b,y);switch(g){case"pathParamsChange":return!Je(b.url,y.url);case"pathParamsOrQueryParamsChange":return!Je(b.url,y.url)||!en(b.queryParams,y.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fi(b,y)||!en(b.queryParams,y.queryParams);default:return!fi(b,y)}}(_t,Re,Re.routeConfig.runGuardsAndResolvers);Bt?$.canActivateChecks.push(new Oe(O)):(Re.data=_t.data,Re._resolvedData=_t._resolvedData),Ci(b,y,Re.component?Dt?Dt.children:null:g,O,$),Bt&&Dt&&Dt.outlet&&Dt.outlet.isActivated&&$.canDeactivateChecks.push(new Gt(Dt.outlet.component,_t))}else _t&&pr(y,Dt,$),$.canActivateChecks.push(new Oe(O)),Ci(b,null,Re.component?Dt?Dt.children:null:g,O,$)})(_t,Re[_t.value.outlet],g,O.concat([_t.value]),$),delete Re[_t.value.outlet]}),Ge(Re,(_t,Dt)=>pr(_t,g.getContext(Dt),$)),$}function pr(b,y,g){const O=Pn(b),$=b.value;Ge(O,(Re,_t)=>{pr(Re,$.component?y?y.children.getContext(_t):null:y,g)}),g.canDeactivateChecks.push(new Gt($.component&&y&&y.outlet&&y.outlet.isActivated?y.outlet.component:null,$))}class zi{}function ii(b){return new Ne.y(y=>y.error(b))}class ws{constructor(y,g,O,$,Re,_t){this.rootComponentType=y,this.config=g,this.urlTree=O,this.url=$,this.paramsInheritanceStrategy=Re,this.relativeLinkResolution=_t}recognize(){const y=Kt(this.urlTree.root,[],[],this.config.filter(_t=>void 0===_t.redirectTo),this.relativeLinkResolution).segmentGroup,g=this.processSegmentGroup(this.config,y,k);if(null===g)return null;const O=new si([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},k,this.rootComponentType,null,this.urlTree.root,-1,{}),$=new Ln(O,g),Re=new pi(this.url,$);return this.inheritParamsAndData(Re._root),Re}inheritParamsAndData(y){const g=y.value,O=Ji(g,this.paramsInheritanceStrategy);g.params=Object.freeze(O.params),g.data=Object.freeze(O.data),y.children.forEach($=>this.inheritParamsAndData($))}processSegmentGroup(y,g,O){return 0===g.segments.length&&g.hasChildren()?this.processChildren(y,g):this.processSegment(y,g,g.segments,O)}processChildren(y,g){const O=[];for(const Re of Object.keys(g.children)){const _t=g.children[Re],Dt=$s(y,Re),Bt=this.processSegmentGroup(Dt,_t,Re);if(null===Bt)return null;O.push(...Bt)}const $=kr(O);return function Zs(b){b.sort((y,g)=>y.value.outlet===k?-1:g.value.outlet===k?1:y.value.outlet.localeCompare(g.value.outlet))}($),$}processSegment(y,g,O,$){for(const Re of y){const _t=this.processSegmentAgainstRoute(Re,g,O,$);if(null!==_t)return _t}return Zn(g,O,$)?[]:null}processSegmentAgainstRoute(y,g,O,$){var Re,_t,Dt,Bt;if(y.redirectTo||!Wn(y,g,O,$))return null;let an,Mn=[],dn=[];if("**"===y.path){const wi=O.length>0?Rt(O).parameters:{},Ns=no(g)+O.length;an=new si(O,wi,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,io(y),ri(y),null!==(_t=null!==(Re=y.component)&&void 0!==Re?Re:y._loadedComponent)&&void 0!==_t?_t:null,y,Qs(g),Ns,wo(y),Ns)}else{const wi=zt(g,y,O);if(!wi.matched)return null;Mn=wi.consumedSegments,dn=wi.remainingSegments;const Ns=no(g)+Mn.length;an=new si(Mn,wi.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,io(y),ri(y),null!==(Bt=null!==(Dt=y.component)&&void 0!==Dt?Dt:y._loadedComponent)&&void 0!==Bt?Bt:null,y,Qs(g),Ns,wo(y),Ns)}const kn=function fr(b){return b.children?b.children:b.loadChildren?b._loadedRoutes:[]}(y),{segmentGroup:Xn,slicedSegments:Ti}=Kt(g,Mn,dn,kn.filter(wi=>void 0===wi.redirectTo),this.relativeLinkResolution);if(0===Ti.length&&Xn.hasChildren()){const wi=this.processChildren(kn,Xn);return null===wi?null:[new Ln(an,wi)]}if(0===kn.length&&0===Ti.length)return[new Ln(an,[])];const Bs=ri(y)===$,Ts=this.processSegment(kn,Xn,Ti,Bs?k:$);return null===Ts?null:[new Ln(an,Ts)]}}function eo(b){const y=b.value.routeConfig;return y&&""===y.path&&void 0===y.redirectTo}function kr(b){const y=[],g=new Set;for(const O of b){if(!eo(O)){y.push(O);continue}const $=y.find(Re=>O.value.routeConfig===Re.value.routeConfig);void 0!==$?($.children.push(...O.children),g.add($)):y.push(O)}for(const O of g){const $=kr(O.children);y.push(new Ln(O.value,$))}return y.filter(O=>!g.has(O))}function Qs(b){let y=b;for(;y._sourceSegment;)y=y._sourceSegment;return y}function no(b){var y,g;let O=b,$=null!==(y=O._segmentIndexShift)&&void 0!==y?y:0;for(;O._sourceSegment;)O=O._sourceSegment,$+=null!==(g=O._segmentIndexShift)&&void 0!==g?g:0;return $-1}function io(b){return b.data||{}}function wo(b){return b.resolve||{}}const Ao=Symbol("RouteTitle");function So(b){return"string"==typeof b.title||null===b.title}function Pr(b){return(0,_e.w)(y=>{const g=b(y);return g?(0,u.D)(g).pipe((0,Xe.U)(()=>y)):(0,l.of)(y)})}class _a extends class ga{shouldDetach(y){return!1}store(y,g){}shouldAttach(y){return!1}retrieve(y){return null}shouldReuseRoute(y,g){return y.routeConfig===g.routeConfig}}{}const tr=new s.OlP("ROUTES");let gr=(()=>{class b{constructor(g,O){this.injector=g,this.compiler=O,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(g){if(this.componentLoaders.get(g))return this.componentLoaders.get(g);if(g._loadedComponent)return(0,l.of)(g._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(g);const O=rt(g.loadComponent()).pipe((0,ft.b)(Re=>{this.onLoadEndListener&&this.onLoadEndListener(g),g._loadedComponent=Re}),(0,St.x)(()=>{this.componentLoaders.delete(g)})),$=new Ce.c(O,()=>new ae.x).pipe((0,Y.x)());return this.componentLoaders.set(g,$),$}loadChildren(g,O){if(this.childrenLoaders.get(O))return this.childrenLoaders.get(O);if(O._loadedRoutes)return(0,l.of)({routes:O._loadedRoutes,injector:O._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(O);const Re=this.loadModuleFactoryOrRoutes(O.loadChildren).pipe((0,Xe.U)(Dt=>{this.onLoadEndListener&&this.onLoadEndListener(O);let Bt,an,Mn=!1;Array.isArray(Dt)?an=Dt:(Bt=Dt.create(g).injector,an=xt(Bt.get(tr,[],s.XFs.Self|s.XFs.Optional)));return{routes:an.map($i),injector:Bt}}),(0,St.x)(()=>{this.childrenLoaders.delete(O)})),_t=new Ce.c(Re,()=>new ae.x).pipe((0,Y.x)());return this.childrenLoaders.set(O,_t),_t}loadModuleFactoryOrRoutes(g){return rt(g()).pipe((0,it.z)(O=>O instanceof s.YKP||Array.isArray(O)?(0,l.of)(O):(0,u.D)(this.compiler.compileModuleAsync(O))))}}return b.\u0275fac=function(g){return new(g||b)(s.LFG(s.zs3),s.LFG(s.Sil))},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac}),b})();class oo{shouldProcessUrl(y){return!0}extract(y){return y}merge(y,g){return y}}function As(b){throw b}function Lr(b,y,g){return y.parse("/")}function To(b,y){return(0,l.of)(null)}const ya={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Br={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Li=(()=>{class b{constructor(g,O,$,Re,_t,Dt,Bt){this.rootComponentType=g,this.urlSerializer=O,this.rootContexts=$,this.location=Re,this.config=Bt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ae.x,this.errorHandler=As,this.malformedUriErrorHandler=Lr,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:To,afterPreactivation:To},this.urlHandlingStrategy=new oo,this.routeReuseStrategy=new _a,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=_t.get(gr),this.configLoader.onLoadEndListener=kn=>this.triggerEvent(new gn(kn)),this.configLoader.onLoadStartListener=kn=>this.triggerEvent(new ln(kn)),this.ngModule=_t.get(s.h0i),this.console=_t.get(s.c2e);const dn=_t.get(s.R0b);this.isNgZoneEnabled=dn instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(Bt),this.currentUrlTree=function L(){return new j(new ye([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ai(this.currentUrlTree,this.rootComponentType),this.transitions=new Me.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var g;return null===(g=this.location.getState())||void 0===g?void 0:g.\u0275routerPageId}setupNavigations(g){const O=this.events;return g.pipe((0,bt.h)($=>0!==$.id),(0,Xe.U)($=>Object.assign(Object.assign({},$),{extractedUrl:this.urlHandlingStrategy.extract($.rawUrl)})),(0,_e.w)($=>{let Re=!1,_t=!1;return(0,l.of)($).pipe((0,ft.b)(Dt=>{this.currentNavigation={id:Dt.id,initialUrl:Dt.rawUrl,extractedUrl:Dt.extractedUrl,trigger:Dt.source,extras:Dt.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,_e.w)(Dt=>{const Bt=this.browserUrlTree.toString(),an=!this.navigated||Dt.extractedUrl.toString()!==Bt||Bt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||an)&&this.urlHandlingStrategy.shouldProcessUrl(Dt.rawUrl))return is(Dt.source)&&(this.browserUrlTree=Dt.extractedUrl),(0,l.of)(Dt).pipe((0,_e.w)(dn=>{const kn=this.transitions.getValue();return O.next(new se(dn.id,this.serializeUrl(dn.extractedUrl),dn.source,dn.restoredState)),kn!==this.transitions.getValue()?ne.E:Promise.resolve(dn)}),function x(b,y,g,O){return(0,_e.w)($=>function er(b,y,g,O,$){return new Rr(b,y,g,O,$).apply()}(b,y,g,$.extractedUrl,O).pipe((0,Xe.U)(Re=>Object.assign(Object.assign({},$),{urlAfterRedirects:Re}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ft.b)(dn=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:dn.urlAfterRedirects})}),function mr(b,y,g,O,$){return(0,it.z)(Re=>function as(b,y,g,O,$="emptyOnly",Re="legacy"){try{const _t=new ws(b,y,g,O,$,Re).recognize();return null===_t?ii(new zi):(0,l.of)(_t)}catch(_t){return ii(_t)}}(b,y,Re.urlAfterRedirects,g(Re.urlAfterRedirects),O,$).pipe((0,Xe.U)(_t=>Object.assign(Object.assign({},Re),{targetSnapshot:_t}))))}(this.rootComponentType,this.config,dn=>this.serializeUrl(dn),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ft.b)(dn=>{if("eager"===this.urlUpdateStrategy){if(!dn.extras.skipLocationChange){const Xn=this.urlHandlingStrategy.merge(dn.urlAfterRedirects,dn.rawUrl);this.setBrowserUrl(Xn,dn)}this.browserUrlTree=dn.urlAfterRedirects}const kn=new gt(dn.id,this.serializeUrl(dn.extractedUrl),this.serializeUrl(dn.urlAfterRedirects),dn.targetSnapshot);O.next(kn)}));if(an&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:kn,extractedUrl:Xn,source:Ti,restoredState:Bs,extras:Ts}=Dt,wi=new se(kn,this.serializeUrl(Xn),Ti,Bs);O.next(wi);const Ns=ai(Xn,this.rootComponentType).snapshot;return(0,l.of)(Object.assign(Object.assign({},Dt),{targetSnapshot:Ns,urlAfterRedirects:Xn,extras:Object.assign(Object.assign({},Ts),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Dt.rawUrl,Dt.resolve(null),ne.E}),Pr(Dt=>{const{targetSnapshot:Bt,id:an,extractedUrl:Mn,rawUrl:dn,extras:{skipLocationChange:kn,replaceUrl:Xn}}=Dt;return this.hooks.beforePreactivation(Bt,{navigationId:an,appliedUrlTree:Mn,rawUrlTree:dn,skipLocationChange:!!kn,replaceUrl:!!Xn})}),(0,ft.b)(Dt=>{const Bt=new ze(Dt.id,this.serializeUrl(Dt.extractedUrl),this.serializeUrl(Dt.urlAfterRedirects),Dt.targetSnapshot);this.triggerEvent(Bt)}),(0,Xe.U)(Dt=>Object.assign(Object.assign({},Dt),{guards:on(Dt.targetSnapshot,Dt.currentSnapshot,this.rootContexts)})),function ot(b,y){return(0,it.z)(g=>{const{targetSnapshot:O,currentSnapshot:$,guards:{canActivateChecks:Re,canDeactivateChecks:_t}}=g;return 0===_t.length&&0===Re.length?(0,l.of)(Object.assign(Object.assign({},g),{guardsResult:!0})):function dt(b,y,g,O){return(0,u.D)(b).pipe((0,it.z)($=>function jn(b,y,g,O,$){const Re=y&&y.routeConfig?y.routeConfig.canDeactivate:null;if(!Re||0===Re.length)return(0,l.of)(!0);const _t=Re.map(Dt=>{const Bt=bi(Dt,y,$);let an;if(function Pe(b){return b&&qi(b.canDeactivate)}(Bt))an=rt(Bt.canDeactivate(b,y,g,O));else{if(!qi(Bt))throw new Error("Invalid CanDeactivate guard");an=rt(Bt(b,y,g,O))}return an.pipe(et())});return(0,l.of)(_t).pipe(Le())}($.component,$.route,g,y,O)),et($=>!0!==$,!0))}(_t,O,$,b).pipe((0,it.z)(Dt=>Dt&&function $n(b){return"boolean"==typeof b}(Dt)?function E(b,y,g,O){return(0,u.D)(y).pipe((0,pt.b)($=>(0,ve.z)(function Ot(b,y){return null!==b&&y&&y(new jt(b)),(0,l.of)(!0)}($.route.parent,O),function ce(b,y){return null!==b&&y&&y(new Qe(b)),(0,l.of)(!0)}($.route,O),function An(b,y,g){const O=y[y.length-1],Re=y.slice(0,y.length-1).reverse().map(_t=>function di(b){const y=b.routeConfig?b.routeConfig.canActivateChild:null;return y&&0!==y.length?{node:b,guards:y}:null}(_t)).filter(_t=>null!==_t).map(_t=>(0,X.P)(()=>{const Dt=_t.guards.map(Bt=>{const an=bi(Bt,_t.node,g);let Mn;if(function N(b){return b&&qi(b.canActivateChild)}(an))Mn=rt(an.canActivateChild(O,b));else{if(!qi(an))throw new Error("Invalid CanActivateChild guard");Mn=rt(an(O,b))}return Mn.pipe(et())});return(0,l.of)(Dt).pipe(Le())}));return(0,l.of)(Re).pipe(Le())}(b,$.path,g),function Jt(b,y,g){const O=y.routeConfig?y.routeConfig.canActivate:null;if(!O||0===O.length)return(0,l.of)(!0);const $=O.map(Re=>(0,X.P)(()=>{const _t=bi(Re,y,g);let Dt;if(function zn(b){return b&&qi(b.canActivate)}(_t))Dt=rt(_t.canActivate(y,b));else{if(!qi(_t))throw new Error("Invalid CanActivate guard");Dt=rt(_t(y,b))}return Dt.pipe(et())}));return(0,l.of)($).pipe(Le())}(b,$.route,g))),et($=>!0!==$,!0))}(O,Re,b,y):(0,l.of)(Dt)),(0,Xe.U)(Dt=>Object.assign(Object.assign({},g),{guardsResult:Dt})))})}(this.ngModule.injector,Dt=>this.triggerEvent(Dt)),(0,ft.b)(Dt=>{if(Gi(Dt.guardsResult)){const an=tt(`Redirecting to "${this.serializeUrl(Dt.guardsResult)}"`);throw an.url=Dt.guardsResult,an}const Bt=new Et(Dt.id,this.serializeUrl(Dt.extractedUrl),this.serializeUrl(Dt.urlAfterRedirects),Dt.targetSnapshot,!!Dt.guardsResult);this.triggerEvent(Bt)}),(0,bt.h)(Dt=>!!Dt.guardsResult||(this.restoreHistory(Dt),this.cancelNavigationTransition(Dt,""),!1)),Pr(Dt=>{if(Dt.guards.canActivateChecks.length)return(0,l.of)(Dt).pipe((0,ft.b)(Bt=>{const an=new Nt(Bt.id,this.serializeUrl(Bt.extractedUrl),this.serializeUrl(Bt.urlAfterRedirects),Bt.targetSnapshot);this.triggerEvent(an)}),(0,_e.w)(Bt=>{let an=!1;return(0,l.of)(Bt).pipe(function fa(b,y){return(0,it.z)(g=>{const{targetSnapshot:O,guards:{canActivateChecks:$}}=g;if(!$.length)return(0,l.of)(g);let Re=0;return(0,u.D)($).pipe((0,pt.b)(_t=>function Zi(b,y,g,O){const $=b.routeConfig,Re=b._resolve;return void 0!==(null==$?void 0:$.title)&&!So($)&&(Re[Ao]=$.title),function Fs(b,y,g,O){const $=function gi(b){return[...Object.keys(b),...Object.getOwnPropertySymbols(b)]}(b);if(0===$.length)return(0,l.of)({});const Re={};return(0,u.D)($).pipe((0,it.z)(_t=>function so(b,y,g,O){const $=bi(b,y,O);return rt($.resolve?$.resolve(y,g):$(y,g))}(b[_t],y,g,O).pipe(et(),(0,ft.b)(Dt=>{Re[_t]=Dt}))),Mt(1),(0,Ct.h)(Re),(0,je.K)(_t=>_t instanceof h?ne.E:(0,re._)(_t)))}(Re,b,y,O).pipe((0,Xe.U)(_t=>(b._resolvedData=_t,b.data=Ji(b,g).resolve,$&&So($)&&(b.data[Ao]=$.title),null)))}(_t.route,O,b,y)),(0,ft.b)(()=>Re++),Mt(1),(0,it.z)(_t=>Re===$.length?(0,l.of)(g):ne.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ft.b)({next:()=>an=!0,complete:()=>{an||(this.restoreHistory(Bt),this.cancelNavigationTransition(Bt,"At least one route resolver didn't emit any value."))}}))}),(0,ft.b)(Bt=>{const an=new $t(Bt.id,this.serializeUrl(Bt.extractedUrl),this.serializeUrl(Bt.urlAfterRedirects),Bt.targetSnapshot);this.triggerEvent(an)}))}),Pr(Dt=>{const{targetSnapshot:Bt,id:an,extractedUrl:Mn,rawUrl:dn,extras:{skipLocationChange:kn,replaceUrl:Xn}}=Dt;return this.hooks.afterPreactivation(Bt,{navigationId:an,appliedUrlTree:Mn,rawUrlTree:dn,skipLocationChange:!!kn,replaceUrl:!!Xn})}),Pr(Dt=>{const Bt=an=>{var Mn;const dn=[];(null===(Mn=an.routeConfig)||void 0===Mn?void 0:Mn.loadComponent)&&!an.routeConfig._loadedComponent&&dn.push(this.configLoader.loadComponent(an.routeConfig).pipe((0,ft.b)(kn=>{an.component=kn}),(0,Xe.U)(()=>{})));for(const kn of an.children)dn.push(...Bt(kn));return dn};return(0,ie.a)(Bt(Dt.targetSnapshot.root)).pipe(he(),(0,we.q)(1))}),(0,Xe.U)(Dt=>{const Bt=function Rs(b,y,g){const O=Ui(b,y._root,g?g._root:void 0);return new qn(O,y)}(this.routeReuseStrategy,Dt.targetSnapshot,Dt.currentRouterState);return Object.assign(Object.assign({},Dt),{targetRouterState:Bt})}),(0,ft.b)(Dt=>{this.currentUrlTree=Dt.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Dt.urlAfterRedirects,Dt.rawUrl),this.routerState=Dt.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Dt.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Dt),this.browserUrlTree=Dt.urlAfterRedirects)}),((b,y,g)=>(0,Xe.U)(O=>(new ks(y,O.targetRouterState,O.currentRouterState,g).activate(b),O)))(this.rootContexts,this.routeReuseStrategy,Dt=>this.triggerEvent(Dt)),(0,ft.b)({next(){Re=!0},complete(){Re=!0}}),(0,St.x)(()=>{var Dt;Re||_t||this.cancelNavigationTransition($,`Navigation ID ${$.id} is not equal to the current navigation id ${this.navigationId}`),(null===(Dt=this.currentNavigation)||void 0===Dt?void 0:Dt.id)===$.id&&(this.currentNavigation=null)}),(0,je.K)(Dt=>{if(_t=!0,function qe(b){return b&&b[Ee]}(Dt)){const Bt=Gi(Dt.url);Bt||(this.navigated=!0,this.restoreHistory($,!0));const an=new De($.id,this.serializeUrl($.extractedUrl),Dt.message);if(O.next(an),Bt){const Mn=this.urlHandlingStrategy.merge(Dt.url,this.rawUrlTree),dn={skipLocationChange:$.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||is($.source)};this.scheduleNavigation(Mn,"imperative",null,dn,{resolve:$.resolve,reject:$.reject,promise:$.promise})}else $.resolve(!1)}else{this.restoreHistory($,!0);const Bt=new Ke($.id,this.serializeUrl($.extractedUrl),Dt);O.next(Bt);try{$.resolve(this.errorHandler(Dt))}catch(an){$.reject(an)}}return ne.E}))}))}resetRootComponentType(g){this.rootComponentType=g,this.routerState.root.component=this.rootComponentType}setTransition(g){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),g))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(g=>{const O="popstate"===g.type?"popstate":"hashchange";"popstate"===O&&setTimeout(()=>{var $;const Re={replaceUrl:!0},_t=null!==($=g.state)&&void 0!==$&&$.navigationId?g.state:null;if(_t){const Bt=Object.assign({},_t);delete Bt.navigationId,delete Bt.\u0275routerPageId,0!==Object.keys(Bt).length&&(Re.state=Bt)}const Dt=this.parseUrl(g.url);this.scheduleNavigation(Dt,O,_t,Re)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(g){this.events.next(g)}resetConfig(g){this.config=g.map($i),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(g,O={}){const{relativeTo:$,queryParams:Re,fragment:_t,queryParamsHandling:Dt,preserveFragment:Bt}=O,an=$||this.routerState.root,Mn=Bt?this.currentUrlTree.fragment:_t;let dn=null;switch(Dt){case"merge":dn=Object.assign(Object.assign({},this.currentUrlTree.queryParams),Re);break;case"preserve":dn=this.currentUrlTree.queryParams;break;default:dn=Re||null}return null!==dn&&(dn=this.removeEmptyProps(dn)),function ji(b,y,g,O,$){var Re;if(0===g.length)return wt(y.root,y.root,y.root,O,$);const Dt=function un(b){if("string"==typeof b[0]&&1===b.length&&"/"===b[0])return new Zt(!0,0,b);let y=0,g=!1;const O=b.reduce(($,Re,_t)=>{if("object"==typeof Re&&null!=Re){if(Re.outlets){const Dt={};return Ge(Re.outlets,(Bt,an)=>{Dt[an]="string"==typeof Bt?Bt.split("/"):Bt}),[...$,{outlets:Dt}]}if(Re.segmentPath)return[...$,Re.segmentPath]}return"string"!=typeof Re?[...$,Re]:0===_t?(Re.split("/").forEach((Dt,Bt)=>{0==Bt&&"."===Dt||(0==Bt&&""===Dt?g=!0:".."===Dt?y++:""!=Dt&&$.push(Dt))}),$):[...$,Re]},[]);return new Zt(g,y,O)}(g);return Dt.toRoot()?wt(y.root,y.root,new ye([],{}),O,$):function Bt(Mn){var dn;const kn=function li(b,y,g,O){return b.isAbsolute?new Tn(y.root,!0,0):-1===O?new Tn(g,g===y.root,0):function ci(b,y,g){let O=b,$=y,Re=g;for(;Re>$;){if(Re-=$,O=O.parent,!O)throw new Error("Invalid number of '../'");$=O.segments.length}return new Tn(O,!1,$-Re)}(g,O+(Ve(b.commands[0])?0:1),b.numberOfDoubleDots)}(Dt,y,null===(dn=b.snapshot)||void 0===dn?void 0:dn._urlSegment,Mn),Xn=kn.processChildren?js(kn.segmentGroup,kn.index,Dt.commands):ki(kn.segmentGroup,kn.index,Dt.commands);return wt(y.root,kn.segmentGroup,Xn,O,$)}(null===(Re=b.snapshot)||void 0===Re?void 0:Re._lastPathIndex)}(an,this.currentUrlTree,g,dn,null!=Mn?Mn:null)}navigateByUrl(g,O={skipLocationChange:!1}){const $=Gi(g)?g:this.parseUrl(g),Re=this.urlHandlingStrategy.merge($,this.rawUrlTree);return this.scheduleNavigation(Re,"imperative",null,O)}navigate(g,O={skipLocationChange:!1}){return function ba(b){for(let y=0;y<b.length;y++){const g=b[y];if(null==g)throw new Error(`The requested path contains ${g} segment at index ${y}`)}}(g),this.navigateByUrl(this.createUrlTree(g,O),O)}serializeUrl(g){return this.urlSerializer.serialize(g)}parseUrl(g){let O;try{O=this.urlSerializer.parse(g)}catch($){O=this.malformedUriErrorHandler($,this.urlSerializer,g)}return O}isActive(g,O){let $;if($=!0===O?Object.assign({},ya):!1===O?Object.assign({},Br):O,Gi(g))return D(this.currentUrlTree,g,$);const Re=this.parseUrl(g);return D(this.currentUrlTree,Re,$)}removeEmptyProps(g){return Object.keys(g).reduce((O,$)=>{const Re=g[$];return null!=Re&&(O[$]=Re),O},{})}processNavigations(){this.navigations.subscribe(g=>{var O;this.navigated=!0,this.lastSuccessfulId=g.id,this.currentPageId=g.targetPageId,this.events.next(new de(g.id,this.serializeUrl(g.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(O=this.titleStrategy)||void 0===O||O.updateTitle(this.routerState.snapshot),g.resolve(!0)},g=>{this.console.warn(`Unhandled Navigation Error: ${g}`)})}scheduleNavigation(g,O,$,Re,_t){var Dt,Bt;if(this.disposed)return Promise.resolve(!1);let an,Mn,dn;_t?(an=_t.resolve,Mn=_t.reject,dn=_t.promise):dn=new Promise((Ti,Bs)=>{an=Ti,Mn=Bs});const kn=++this.navigationId;let Xn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&($=this.location.getState()),Xn=$&&$.\u0275routerPageId?$.\u0275routerPageId:Re.replaceUrl||Re.skipLocationChange?null!==(Dt=this.browserPageId)&&void 0!==Dt?Dt:0:(null!==(Bt=this.browserPageId)&&void 0!==Bt?Bt:0)+1):Xn=0,this.setTransition({id:kn,targetPageId:Xn,source:O,restoredState:$,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:g,extras:Re,resolve:an,reject:Mn,promise:dn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),dn.catch(Ti=>Promise.reject(Ti))}setBrowserUrl(g,O){const $=this.urlSerializer.serialize(g),Re=Object.assign(Object.assign({},O.extras.state),this.generateNgRouterState(O.id,O.targetPageId));this.location.isCurrentPathEqualTo($)||O.extras.replaceUrl?this.location.replaceState($,"",Re):this.location.go($,"",Re)}restoreHistory(g,O=!1){var $,Re;if("computed"===this.canceledNavigationResolution){const _t=this.currentPageId-g.targetPageId;"popstate"!==g.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===($=this.currentNavigation)||void 0===$?void 0:$.finalUrl)||0===_t?this.currentUrlTree===(null===(Re=this.currentNavigation)||void 0===Re?void 0:Re.finalUrl)&&0===_t&&(this.resetState(g),this.browserUrlTree=g.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(_t)}else"replace"===this.canceledNavigationResolution&&(O&&this.resetState(g),this.resetUrlToCurrentUrlTree())}resetState(g){this.routerState=g.currentRouterState,this.currentUrlTree=g.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,g.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(g,O){const $=new De(g.id,this.serializeUrl(g.extractedUrl),O);this.triggerEvent($),g.resolve(!1)}generateNgRouterState(g,O){return"computed"===this.canceledNavigationResolution?{navigationId:g,\u0275routerPageId:O}:{navigationId:g}}}return b.\u0275fac=function(g){s.$Z()},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac}),b})();function is(b){return"imperative"!==b}let Nr=(()=>{class b{constructor(g,O,$,Re,_t){this.router=g,this.route=O,this.tabIndexAttribute=$,this.renderer=Re,this.el=_t,this.commands=null,this.onChanges=new ae.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(g){if(null!=this.tabIndexAttribute)return;const O=this.renderer,$=this.el.nativeElement;null!==g?O.setAttribute($,"tabindex",g):O.removeAttribute($,"tabindex")}ngOnChanges(g){this.onChanges.next(this)}set routerLink(g){null!=g?(this.commands=Array.isArray(g)?g:[g],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const g={skipLocationChange:(0,s.D6c)(this.skipLocationChange),replaceUrl:(0,s.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,g),!0}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:(0,s.D6c)(this.preserveFragment)})}}return b.\u0275fac=function(g){return new(g||b)(s.Y36(Li),s.Y36(wn),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},b.\u0275dir=s.lG2({type:b,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(g,O){1&g&&s.NdJ("click",function(){return O.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[s.TTD]}),b})(),nr=(()=>{class b{constructor(g,O,$){this.router=g,this.route=O,this.locationStrategy=$,this.commands=null,this.href=null,this.onChanges=new ae.x,this.subscription=g.events.subscribe(Re=>{Re instanceof de&&this.updateTargetUrlAndHref()})}set routerLink(g){this.commands=null!=g?Array.isArray(g)?g:[g]:null}ngOnChanges(g){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(g,O,$,Re,_t){if(0!==g||O||$||Re||_t||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const Dt={skipLocationChange:(0,s.D6c)(this.skipLocationChange),replaceUrl:(0,s.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Dt),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:(0,s.D6c)(this.preserveFragment)})}}return b.\u0275fac=function(g){return new(g||b)(s.Y36(Li),s.Y36(wn),s.Y36(_.S$))},b.\u0275dir=s.lG2({type:b,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(g,O){1&g&&s.NdJ("click",function(Re){return O.onClick(Re.button,Re.ctrlKey,Re.shiftKey,Re.altKey,Re.metaKey)}),2&g&&s.uIk("target",O.target)("href",O.href,s.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[s.TTD]}),b})(),ir=(()=>{class b{constructor(g,O,$,Re,_t,Dt){this.router=g,this.element=O,this.renderer=$,this.cdr=Re,this.link=_t,this.linkWithHref=Dt,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new s.vpe,this.routerEventsSubscription=g.events.subscribe(Bt=>{Bt instanceof de&&this.update()})}ngAfterContentInit(){(0,l.of)(this.links.changes,this.linksWithHrefs.changes,(0,l.of)(null)).pipe((0,B.J)()).subscribe(g=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var g;null===(g=this.linkInputChangesSubscription)||void 0===g||g.unsubscribe();const O=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter($=>!!$).map($=>$.onChanges);this.linkInputChangesSubscription=(0,u.D)(O).pipe((0,B.J)()).subscribe($=>{this.isActive!==this.isLinkActive(this.router)($)&&this.update()})}set routerLinkActive(g){const O=Array.isArray(g)?g:g.split(" ");this.classes=O.filter($=>!!$)}ngOnChanges(g){this.update()}ngOnDestroy(){var g;this.routerEventsSubscription.unsubscribe(),null===(g=this.linkInputChangesSubscription)||void 0===g||g.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const g=this.hasActiveLinks();this.isActive!==g&&(this.isActive=g,this.cdr.markForCheck(),this.classes.forEach(O=>{g?this.renderer.addClass(this.element.nativeElement,O):this.renderer.removeClass(this.element.nativeElement,O)}),g&&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(g))})}isLinkActive(g){const O=function Io(b){return!!b.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return $=>!!$.urlTree&&g.isActive($.urlTree,O)}hasActiveLinks(){const g=this.isLinkActive(this.router);return this.link&&g(this.link)||this.linkWithHref&&g(this.linkWithHref)||this.links.some(g)||this.linksWithHrefs.some(g)}}return b.\u0275fac=function(g){return new(g||b)(s.Y36(Li),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(Nr,8),s.Y36(nr,8))},b.\u0275dir=s.lG2({type:b,selectors:[["","routerLinkActive",""]],contentQueries:function(g,O,$){if(1&g&&(s.Suo($,Nr,5),s.Suo($,nr,5)),2&g){let Re;s.iGM(Re=s.CRH())&&(O.links=Re),s.iGM(Re=s.CRH())&&(O.linksWithHrefs=Re)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[s.TTD]}),b})();class Qr{buildTitle(y){var g;let O,$=y.root;for(;void 0!==$;)O=null!==(g=this.getResolvedTitleForRoute($))&&void 0!==g?g:O,$=$.children.find(Re=>Re.outlet===k);return O}getResolvedTitleForRoute(y){return y.data[Ao]}}let _r=(()=>{class b extends Qr{constructor(g){super(),this.title=g}updateTitle(g){const O=this.buildTitle(g);void 0!==O&&this.title.setTitle(O)}}return b.\u0275fac=function(g){return new(g||b)(s.LFG(A.Dx))},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})();class ao{}class Ss{preload(y,g){return(0,l.of)(null)}}let Ro=(()=>{class b{constructor(g,O,$,Re,_t){this.router=g,this.injector=$,this.preloadingStrategy=Re,this.loader=_t}setUpPreloading(){this.subscription=this.router.events.pipe((0,bt.h)(g=>g instanceof de),(0,pt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(g,O){var $,Re,_t;const Dt=[];for(const Bt of O){Bt.providers&&!Bt._injector&&(Bt._injector=(0,s.MMx)(Bt.providers,g,`Route: ${Bt.path}`));const an=null!==($=Bt._injector)&&void 0!==$?$:g,Mn=null!==(Re=Bt._loadedInjector)&&void 0!==Re?Re:an;Bt.loadChildren&&!Bt._loadedRoutes||Bt.loadComponent&&!Bt._loadedComponent?Dt.push(this.preloadConfig(an,Bt)):(Bt.children||Bt._loadedRoutes)&&Dt.push(this.processRoutes(Mn,null!==(_t=Bt.children)&&void 0!==_t?_t:Bt._loadedRoutes))}return(0,u.D)(Dt).pipe((0,B.J)())}preloadConfig(g,O){return this.preloadingStrategy.preload(O,()=>{let $;$=O.loadChildren&&void 0===O.canLoad?this.loader.loadChildren(g,O):(0,l.of)(null);const Re=$.pipe((0,it.z)(_t=>{var Dt;return null===_t?(0,l.of)(void 0):(O._loadedRoutes=_t.routes,O._loadedInjector=_t.injector,this.processRoutes(null!==(Dt=_t.injector)&&void 0!==Dt?Dt:g,_t.routes))}));if(O.loadComponent&&!O._loadedComponent){const _t=this.loader.loadComponent(O);return(0,u.D)([Re,_t]).pipe((0,B.J)())}return Re})}}return b.\u0275fac=function(g){return new(g||b)(s.LFG(Li),s.LFG(s.Sil),s.LFG(s.lqb),s.LFG(ao),s.LFG(gr))},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac}),b})(),Ls=(()=>{class b{constructor(g,O,$={}){this.router=g,this.viewportScroller=O,this.options=$,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},$.scrollPositionRestoration=$.scrollPositionRestoration||"disabled",$.anchorScrolling=$.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(g=>{g instanceof se?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=g.navigationTrigger,this.restoredId=g.restoredState?g.restoredState.navigationId:0):g instanceof de&&(this.lastId=g.id,this.scheduleScrollEvent(g,this.router.parseUrl(g.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(g=>{g instanceof xe&&(g.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(g.position):g.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(g.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(g,O){this.router.triggerEvent(new xe(g,"popstate"===this.lastSource?this.store[this.restoredId]:null,O))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return b.\u0275fac=function(g){s.$Z()},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac}),b})();const gs=new s.OlP("ROUTER_CONFIGURATION"),ls=new s.OlP("ROUTER_FORROOT_GUARD"),sr=[_.Ye,{provide:Fe,useClass:Ye},{provide:Li,useFactory:function co(b,y,g,O,$,Re,_t={},Dt,Bt,an,Mn){const dn=new Li(null,b,y,g,O,$,xt(Re));return an&&(dn.urlHandlingStrategy=an),Mn&&(dn.routeReuseStrategy=Mn),dn.titleStrategy=null!=Bt?Bt:Dt,function Jr(b,y){b.errorHandler&&(y.errorHandler=b.errorHandler),b.malformedUriErrorHandler&&(y.malformedUriErrorHandler=b.malformedUriErrorHandler),b.onSameUrlNavigation&&(y.onSameUrlNavigation=b.onSameUrlNavigation),b.paramsInheritanceStrategy&&(y.paramsInheritanceStrategy=b.paramsInheritanceStrategy),b.relativeLinkResolution&&(y.relativeLinkResolution=b.relativeLinkResolution),b.urlUpdateStrategy&&(y.urlUpdateStrategy=b.urlUpdateStrategy),b.canceledNavigationResolution&&(y.canceledNavigationResolution=b.canceledNavigationResolution)}(_t,dn),dn},deps:[Fe,Pi,_.Ye,s.zs3,s.Sil,tr,gs,_r,[Qr,new s.FiY],[class ro{},new s.FiY],[class ma{},new s.FiY]]},Pi,{provide:wn,useFactory:function yr(b){return b.routerState.root},deps:[Li]},Ro,Ss,class Oo{preload(y,g){return g().pipe((0,je.K)(()=>(0,l.of)(null)))}},{provide:gs,useValue:{enableTracing:!1}},gr];function ko(){return new s.PXZ("Router",Li)}let Ca=(()=>{class b{constructor(g,O){}static forRoot(g,O){return{ngModule:b,providers:[sr,rr(g),{provide:ls,useFactory:vr,deps:[[Li,new s.FiY,new s.tp0]]},{provide:gs,useValue:O||{}},{provide:_.S$,useFactory:Da,deps:[_.lw,[new s.tBr(_.mr),new s.FiY],gs]},{provide:Ls,useFactory:_s,deps:[Li,_.EM,gs]},{provide:ao,useExisting:O&&O.preloadingStrategy?O.preloadingStrategy:Ss},{provide:s.PXZ,multi:!0,useFactory:ko},[uo,{provide:s.ip1,multi:!0,useFactory:ho,deps:[uo]},{provide:po,useFactory:Po,deps:[uo]},{provide:s.tb,multi:!0,useExisting:po}]]}}static forChild(g){return{ngModule:b,providers:[rr(g)]}}}return b.\u0275fac=function(g){return new(g||b)(s.LFG(ls,8),s.LFG(Li,8))},b.\u0275mod=s.oAB({type:b}),b.\u0275inj=s.cJS({}),b})();function _s(b,y,g){return g.scrollOffset&&y.setOffset(g.scrollOffset),new Ls(b,y,g)}function Da(b,y,g={}){return g.useHash?new _.Do(b,y):new _.b0(b,y)}function vr(b){return"guarded"}function rr(b){return[{provide:s.deG,multi:!0,useValue:b},{provide:tr,multi:!0,useValue:b}]}let uo=(()=>{class b{constructor(g){this.injector=g,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ae.x}appInitializer(){return this.injector.get(_.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let O=null;const $=new Promise(Dt=>O=Dt),Re=this.injector.get(Li),_t=this.injector.get(gs);return"disabled"===_t.initialNavigation?(Re.setUpLocationChangeListener(),O(!0)):"enabledBlocking"===_t.initialNavigation?(Re.hooks.afterPreactivation=()=>this.initNavigation?(0,l.of)(null):(this.initNavigation=!0,O(!0),this.resultOfPreactivationDone),Re.initialNavigation()):O(!0),$})}bootstrapListener(g){const O=this.injector.get(gs),$=this.injector.get(Ro),Re=this.injector.get(Ls),_t=this.injector.get(Li),Dt=this.injector.get(s.z2F);g===Dt.components[0]&&(("enabledNonBlocking"===O.initialNavigation||void 0===O.initialNavigation)&&_t.initialNavigation(),$.setUpPreloading(),Re.init(),_t.resetRootComponentType(Dt.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return b.\u0275fac=function(g){return new(g||b)(s.LFG(s.zs3))},b.\u0275prov=s.Yz7({token:b,factory:b.\u0275fac}),b})();function ho(b){return b.appInitializer.bind(b)}function Po(b){return b.bootstrapListener.bind(b)}const po=new s.OlP("Router Initializer")},4376:(Yt,ut,c)=>{"use strict";c.d(ut,{A0:()=>It,ir:()=>Ee,jq:()=>F,w9:()=>H});var s=c(5e3),i=c(3075),h=c(2722),u=c(3601),l=c(8675),Me=c(8505),ie=c(8372),re=c(9300),ve=c(4004),X=c(6406),Ne=c(3101),ne=c(7579),Ce=c(4968),ae=c(6451),Ae=c(9808);const Be=["content"],Se=["scroll"],mt=["padding"],bt=function(Fe){return{searchTerm:Fe}};function Mt(Fe,Ye){if(1&Fe&&(s.TgZ(0,"div",6),s.GkF(1,7),s.qZA()),2&Fe){const R=s.oxw();s.xp6(1),s.Q6J("ngTemplateOutlet",R.headerTemplate)("ngTemplateOutletContext",s.VKq(2,bt,R.filterValue))}}function ke(Fe,Ye){if(1&Fe&&(s.TgZ(0,"div",8),s.GkF(1,7),s.qZA()),2&Fe){const R=s.oxw();s.xp6(1),s.Q6J("ngTemplateOutlet",R.footerTemplate)("ngTemplateOutletContext",s.VKq(2,bt,R.filterValue))}}const oe=["*"],he=["searchInput"];function le(Fe,Ye){if(1&Fe){const R=s.EpF();s.TgZ(0,"span",15),s.NdJ("click",function(){s.CHM(R);const pe=s.oxw().$implicit,fe=s.oxw(2);return s.KtG(fe.unselect(pe))}),s._uU(1,"\xd7"),s.qZA(),s._UZ(2,"span",16)}if(2&Fe){const R=s.oxw().$implicit,ee=s.oxw(2);s.xp6(2),s.Q6J("ngItemLabel",R.label)("escape",ee.escapeHTML)}}function We(Fe,Ye){}const we=function(Fe,Ye,R){return{item:Fe,clear:Ye,label:R}};function et(Fe,Ye){if(1&Fe&&(s.TgZ(0,"div",12),s.YNc(1,le,3,2,"ng-template",null,13,s.W1O),s.YNc(3,We,0,0,"ng-template",14),s.qZA()),2&Fe){const R=Ye.$implicit,ee=s.MAs(2),pe=s.oxw(2);s.ekj("ng-value-disabled",R.disabled),s.xp6(3),s.Q6J("ngTemplateOutlet",pe.labelTemplate||ee)("ngTemplateOutletContext",s.kEZ(4,we,R.value,pe.clearItem,R.label))}}function Xe(Fe,Ye){if(1&Fe&&(s.ynx(0),s.YNc(1,et,4,8,"div",11),s.BQk()),2&Fe){const R=s.oxw();s.xp6(1),s.Q6J("ngForOf",R.selectedItems)("ngForTrackBy",R.trackByOption)}}function _e(Fe,Ye){}const lt=function(Fe,Ye){return{items:Fe,clear:Ye}};function je(Fe,Ye){if(1&Fe&&s.YNc(0,_e,0,0,"ng-template",14),2&Fe){const R=s.oxw();s.Q6J("ngTemplateOutlet",R.multiLabelTemplate)("ngTemplateOutletContext",s.WLB(2,lt,R.selectedValues,R.clearItem))}}function pt(Fe,Ye){1&Fe&&s._UZ(0,"div",19)}function it(Fe,Ye){}function ft(Fe,Ye){if(1&Fe&&(s.ynx(0),s.YNc(1,pt,1,0,"ng-template",null,17,s.W1O),s.YNc(3,it,0,0,"ng-template",18),s.BQk()),2&Fe){const R=s.MAs(2),ee=s.oxw();s.xp6(3),s.Q6J("ngTemplateOutlet",ee.loadingSpinnerTemplate||R)}}function Ct(Fe,Ye){if(1&Fe&&(s.TgZ(0,"span",20)(1,"span",21),s._uU(2,"\xd7"),s.qZA()()),2&Fe){const R=s.oxw();s.s9C("title",R.clearAllText)}}function St(Fe,Ye){if(1&Fe&&s._UZ(0,"span",27),2&Fe){const R=s.oxw().$implicit,ee=s.oxw(2);s.Q6J("ngItemLabel",R.label)("escape",ee.escapeHTML)}}function Y(Fe,Ye){}const B=function(Fe,Ye,R,ee){return{item:Fe,item$:Ye,index:R,searchTerm:ee}};function _(Fe,Ye){if(1&Fe){const R=s.EpF();s.TgZ(0,"div",25),s.NdJ("click",function(){const fe=s.CHM(R).$implicit,ht=s.oxw(2);return s.KtG(ht.toggleItem(fe))})("mouseover",function(){const fe=s.CHM(R).$implicit,ht=s.oxw(2);return s.KtG(ht.onItemHover(fe))}),s.YNc(1,St,1,2,"ng-template",null,26,s.W1O),s.YNc(3,Y,0,0,"ng-template",14),s.qZA()}if(2&Fe){const R=Ye.$implicit,ee=s.MAs(2),pe=s.oxw(2);s.ekj("ng-option-disabled",R.disabled)("ng-option-selected",R.selected)("ng-optgroup",R.children)("ng-option",!R.children)("ng-option-child",!!R.parent)("ng-option-marked",R===pe.itemsList.markedItem),s.uIk("role",R.children?"group":"option")("aria-selected",R.selected)("id",null==R?null:R.htmlId),s.xp6(3),s.Q6J("ngTemplateOutlet",R.children?pe.optgroupTemplate||ee:pe.optionTemplate||ee)("ngTemplateOutletContext",s.l5B(17,B,R.value,R,R.index,pe.searchTerm))}}function A(Fe,Ye){if(1&Fe&&(s.TgZ(0,"span")(1,"span",30),s._uU(2),s.qZA(),s._uU(3),s.qZA()),2&Fe){const R=s.oxw(3);s.xp6(2),s.Oqu(R.addTagText),s.xp6(1),s.hij('"',R.searchTerm,'"')}}function J(Fe,Ye){}function se(Fe,Ye){if(1&Fe){const R=s.EpF();s.TgZ(0,"div",28),s.NdJ("mouseover",function(){s.CHM(R);const pe=s.oxw(2);return s.KtG(pe.itemsList.unmarkItem())})("click",function(){s.CHM(R);const pe=s.oxw(2);return s.KtG(pe.selectTag())}),s.YNc(1,A,4,2,"ng-template",null,29,s.W1O),s.YNc(3,J,0,0,"ng-template",14),s.qZA()}if(2&Fe){const R=s.MAs(2),ee=s.oxw(2);s.ekj("ng-option-marked",!ee.itemsList.markedItem),s.xp6(3),s.Q6J("ngTemplateOutlet",ee.tagTemplate||R)("ngTemplateOutletContext",s.VKq(4,bt,ee.searchTerm))}}function de(Fe,Ye){if(1&Fe&&(s.TgZ(0,"div",32),s._uU(1),s.qZA()),2&Fe){const R=s.oxw(3);s.xp6(1),s.Oqu(R.notFoundText)}}function De(Fe,Ye){}function Ke(Fe,Ye){if(1&Fe&&(s.ynx(0),s.YNc(1,de,2,1,"ng-template",null,31,s.W1O),s.YNc(3,De,0,0,"ng-template",14),s.BQk()),2&Fe){const R=s.MAs(2),ee=s.oxw(2);s.xp6(3),s.Q6J("ngTemplateOutlet",ee.notFoundTemplate||R)("ngTemplateOutletContext",s.VKq(2,bt,ee.searchTerm))}}function gt(Fe,Ye){if(1&Fe&&(s.TgZ(0,"div",32),s._uU(1),s.qZA()),2&Fe){const R=s.oxw(3);s.xp6(1),s.Oqu(R.typeToSearchText)}}function ze(Fe,Ye){}function Et(Fe,Ye){if(1&Fe&&(s.ynx(0),s.YNc(1,gt,2,1,"ng-template",null,33,s.W1O),s.YNc(3,ze,0,0,"ng-template",18),s.BQk()),2&Fe){const R=s.MAs(2),ee=s.oxw(2);s.xp6(3),s.Q6J("ngTemplateOutlet",ee.typeToSearchTemplate||R)}}function Nt(Fe,Ye){if(1&Fe&&(s.TgZ(0,"div",32),s._uU(1),s.qZA()),2&Fe){const R=s.oxw(3);s.xp6(1),s.Oqu(R.loadingText)}}function $t(Fe,Ye){}function ln(Fe,Ye){if(1&Fe&&(s.ynx(0),s.YNc(1,Nt,2,1,"ng-template",null,34,s.W1O),s.YNc(3,$t,0,0,"ng-template",14),s.BQk()),2&Fe){const R=s.MAs(2),ee=s.oxw(2);s.xp6(3),s.Q6J("ngTemplateOutlet",ee.loadingTextTemplate||R)("ngTemplateOutletContext",s.VKq(2,bt,ee.searchTerm))}}function gn(Fe,Ye){if(1&Fe){const R=s.EpF();s.TgZ(0,"ng-dropdown-panel",22),s.NdJ("update",function(pe){s.CHM(R);const fe=s.oxw();return s.KtG(fe.viewPortItems=pe)})("scroll",function(pe){s.CHM(R);const fe=s.oxw();return s.KtG(fe.scroll.emit(pe))})("scrollToEnd",function(pe){s.CHM(R);const fe=s.oxw();return s.KtG(fe.scrollToEnd.emit(pe))})("outsideClick",function(){s.CHM(R);const pe=s.oxw();return s.KtG(pe.close())}),s.ynx(1),s.YNc(2,_,4,22,"div",23),s.YNc(3,se,4,6,"div",24),s.BQk(),s.YNc(4,Ke,4,4,"ng-container",3),s.YNc(5,Et,4,1,"ng-container",3),s.YNc(6,ln,4,4,"ng-container",3),s.qZA()}if(2&Fe){const R=s.oxw();s.ekj("ng-select-multiple",R.multiple),s.Q6J("virtualScroll",R.virtualScroll)("bufferAmount",R.bufferAmount)("appendTo",R.appendTo)("position",R.dropdownPosition)("headerTemplate",R.headerTemplate)("footerTemplate",R.footerTemplate)("filterValue",R.searchTerm)("items",R.itemsList.filteredItems)("markedItem",R.itemsList.markedItem)("ngClass",R.appendTo?R.classes:null)("id",R.dropdownId),s.xp6(2),s.Q6J("ngForOf",R.viewPortItems)("ngForTrackBy",R.trackByOption),s.xp6(1),s.Q6J("ngIf",R.showAddTag),s.xp6(1),s.Q6J("ngIf",R.showNoItemsFound()),s.xp6(1),s.Q6J("ngIf",R.showTypeToSearch()),s.xp6(1),s.Q6J("ngIf",R.loading&&0===R.itemsList.filteredItems.length)}}const jt=/[&<>"']/g,cn=RegExp(jt.source),Qe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function xe(Fe){return null!=Fe}function q(Fe){return"object"==typeof Fe&&xe(Fe)}function W(Fe){return Fe instanceof Function}let Z=(()=>{class Fe{constructor(R){this.element=R,this.escape=!0}ngOnChanges(R){this.element.nativeElement.innerHTML=this.escape?function st(Fe){return Fe&&cn.test(Fe)?Fe.replace(jt,Ye=>Qe[Ye]):Fe}(this.ngItemLabel):this.ngItemLabel}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.SBq))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[s.TTD]}),Fe})(),Ee=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-option-tmp",""]]}),Fe})(),tt=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-optgroup-tmp",""]]}),Fe})(),qe=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-label-tmp",""]]}),Fe})(),kt=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-multi-label-tmp",""]]}),Fe})(),qt=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-header-tmp",""]]}),Fe})(),en=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-footer-tmp",""]]}),Fe})(),Lt=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-notfound-tmp",""]]}),Fe})(),xt=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-typetosearch-tmp",""]]}),Fe})(),Rt=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-loadingtext-tmp",""]]}),Fe})(),ge=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-tag-tmp",""]]}),Fe})(),Ge=(()=>{class Fe{constructor(R){this.template=R}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Rgc))},Fe.\u0275dir=s.lG2({type:Fe,selectors:[["","ng-loadingspinner-tmp",""]]}),Fe})();function rt(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const L={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function me(Fe){return Fe.replace(/[^\u0000-\u007E]/g,R=>L[R]||R)}class T{constructor(Ye,R){this._ngSelect=Ye,this._selectionModel=R,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let Ye=this.selectedItems.length-1;for(;Ye>=0;Ye--){const R=this.selectedItems[Ye];if(!R.disabled)return R}return null}setItems(Ye){this._items=Ye.map((R,ee)=>this.mapItem(R,ee)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(Ye){if(Ye.selected||this.maxItemsSelected)return;const R=this._ngSelect.multiple;R||this.clearSelected(),this._selectionModel.select(Ye,R,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(Ye)}unselect(Ye){!Ye.selected||(this._selectionModel.unselect(Ye,this._ngSelect.multiple),this._ngSelect.hideSelected&&xe(Ye.index)&&this._ngSelect.multiple&&this._showSelected(Ye))}findItem(Ye){let R;return R=this._ngSelect.compareWith?ee=>this._ngSelect.compareWith(ee.value,Ye):this._ngSelect.bindValue?ee=>!ee.children&&this.resolveNested(ee.value,this._ngSelect.bindValue)===Ye:ee=>ee.value===Ye||!ee.children&&ee.label&&ee.label===this.resolveNested(Ye,this._ngSelect.bindLabel),this._items.find(ee=>R(ee))}addItem(Ye){const R=this.mapItem(Ye,this._items.length);return this._items.push(R),this._filteredItems.push(R),R}clearSelected(Ye=!1){this._selectionModel.clear(Ye),this._items.forEach(R=>{R.selected=Ye&&R.selected&&R.disabled,R.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(Ye){return Ye=me(Ye).toLocaleLowerCase(),this.filteredItems.find(R=>me(R.label).toLocaleLowerCase().substr(0,Ye.length)===Ye)}filter(Ye){if(!Ye)return void this.resetFilteredItems();this._filteredItems=[],Ye=this._ngSelect.searchFn?Ye:me(Ye).toLocaleLowerCase();const R=this._ngSelect.searchFn||this._defaultSearchFn,ee=this._ngSelect.hideSelected;for(const pe of Array.from(this._groups.keys())){const fe=[];for(const ht of this._groups.get(pe))ee&&(ht.parent&&ht.parent.selected||ht.selected)||R(Ye,this._ngSelect.searchFn?ht.value:ht)&&fe.push(ht);if(fe.length>0){const[ht]=fe.slice(-1);if(ht.parent){const Pt=this._items.find(Ut=>Ut===ht.parent);this._filteredItems.push(Pt)}this._filteredItems.push(...fe)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(Ye=>!Ye.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(Ye){this._markedIndex=this._filteredItems.indexOf(Ye)}markSelectedOrDefault(Ye){if(0===this._filteredItems.length)return;const R=this._getLastMarkedIndex();this._markedIndex=R>-1?R:Ye?this.filteredItems.findIndex(ee=>!ee.disabled):-1}resolveNested(Ye,R){if(!q(Ye))return Ye;if(-1===R.indexOf("."))return Ye[R];{const ee=R.split(".");let pe=Ye;for(let fe=0,ht=ee.length;fe<ht;++fe){if(null==pe)return null;pe=pe[ee[fe]]}return pe}}mapItem(Ye,R){const ee=xe(Ye.$ngOptionLabel)?Ye.$ngOptionLabel:this.resolveNested(Ye,this._ngSelect.bindLabel),pe=xe(Ye.$ngOptionValue)?Ye.$ngOptionValue:Ye;return{index:R,label:xe(ee)?ee.toString():"",value:pe,disabled:Ye.disabled,htmlId:`${this._ngSelect.dropdownId}-${R}`}}mapSelectedItems(){const Ye=this._ngSelect.multiple;for(const R of this.selectedItems){const ee=this._ngSelect.bindValue?this.resolveNested(R.value,this._ngSelect.bindValue):R.value,pe=xe(ee)?this.findItem(ee):null;this._selectionModel.unselect(R,Ye),this._selectionModel.select(pe||R,Ye,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(R=>-1===this.selectedItems.indexOf(R)))}_showSelected(Ye){if(this._filteredItems.push(Ye),Ye.parent){const R=Ye.parent;this._filteredItems.find(pe=>pe===R)||this._filteredItems.push(R)}else if(Ye.children)for(const R of Ye.children)R.selected=!1,this._filteredItems.push(R);this._filteredItems=[...this._filteredItems.sort((R,ee)=>R.index-ee.index)]}_hideSelected(Ye){this._filteredItems=this._filteredItems.filter(R=>R!==Ye),Ye.parent?Ye.parent.children.every(ee=>ee.selected)&&(this._filteredItems=this._filteredItems.filter(ee=>ee!==Ye.parent)):Ye.children&&(this._filteredItems=this.filteredItems.filter(R=>R.parent!==Ye))}_defaultSearchFn(Ye,R){return me(R.label).toLocaleLowerCase().indexOf(Ye)>-1}_getNextItemIndex(Ye){return Ye>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(Ye){0===this._filteredItems.length||this._filteredItems.every(R=>R.disabled)||(this._markedIndex=this._getNextItemIndex(Ye),this.markedItem.disabled&&this._stepToItem(Ye))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const Ye=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&Ye<0?-1:Math.max(this.markedIndex,Ye)}_groupBy(Ye,R){const ee=new Map;if(0===Ye.length)return ee;if(Array.isArray(Ye[0].value[R])){for(const ht of Ye){const Pt=(ht.value[R]||[]).map((Ut,tn)=>this.mapItem(Ut,tn));ee.set(ht,Pt)}return ee}const pe=W(this._ngSelect.groupBy),fe=ht=>{const Pt=pe?R(ht.value):ht.value[R];return xe(Pt)?Pt:void 0};for(const ht of Ye){const Pt=fe(ht),Ut=ee.get(Pt);Ut?Ut.push(ht):ee.set(Pt,[ht])}return ee}_flatten(Ye){const R=W(this._ngSelect.groupBy),ee=[];for(const pe of Array.from(Ye.keys())){let fe=ee.length;if(void 0===pe){const yn=Ye.get(void 0)||[];ee.push(...yn.map(Gn=>(Gn.index=fe++,Gn)));continue}const ht=q(pe),Pt={label:ht?"":String(pe),children:void 0,parent:null,index:fe++,disabled:!this._ngSelect.selectableGroup,htmlId:rt()},Ut=R?this._ngSelect.bindLabel:this._ngSelect.groupBy,tn=this._ngSelect.groupValue||(()=>ht?pe.value:{[Ut]:pe}),fn=Ye.get(pe).map(yn=>(yn.parent=Pt,yn.children=void 0,yn.index=fe++,yn));Pt.children=fn,Pt.value=tn(pe,fn.map(yn=>yn.value)),ee.push(Pt),ee.push(...fn)}return ee}}var D=(()=>{return(Fe=D||(D={}))[Fe.Tab=9]="Tab",Fe[Fe.Enter=13]="Enter",Fe[Fe.Esc=27]="Esc",Fe[Fe.Space=32]="Space",Fe[Fe.ArrowUp=38]="ArrowUp",Fe[Fe.ArrowDown=40]="ArrowDown",Fe[Fe.Backspace=8]="Backspace",D;var Fe})();let z=(()=>{class Fe{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(R,ee,pe){const fe=this._dimensions,ht=fe.itemHeight*ee,Ut=Math.max(0,R)/ht*ee;let tn=Math.min(ee,Math.ceil(Ut)+(fe.itemsPerViewport+1));const yn=Math.max(0,tn-fe.itemsPerViewport);let Gn=Math.min(yn,Math.floor(Ut)),Un=fe.itemHeight*Math.ceil(Gn)-fe.itemHeight*Math.min(Gn,pe);return Un=isNaN(Un)?0:Un,Gn=isNaN(Gn)?-1:Gn,tn=isNaN(tn)?-1:tn,Gn-=pe,Gn=Math.max(0,Gn),tn+=pe,tn=Math.min(ee,tn),{topPadding:Un,scrollHeight:ht,start:Gn,end:tn}}setDimensions(R,ee){const pe=Math.max(1,Math.floor(ee/R));this._dimensions={itemHeight:R,panelHeight:ee,itemsPerViewport:pe}}getScrollTo(R,ee,pe){const{panelHeight:fe}=this.dimensions,ht=R+ee,Ut=pe+fe;return fe>=ht&&pe===R?null:ht>Ut?pe+ht-Ut:R<=pe?R:null}}return Fe.\u0275fac=function(R){return new(R||Fe)},Fe.\u0275prov=s.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})();const P=["top","right","bottom","left"],ue="undefined"!=typeof requestAnimationFrame?X.Z:Ne.E;let te=(()=>{class Fe{constructor(R,ee,pe,fe,ht){this._renderer=R,this._zone=ee,this._panelService=pe,this._document=ht,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new s.vpe,this.scroll=new s.vpe,this.scrollToEnd=new s.vpe,this.outsideClick=new s.vpe,this._destroy$=new ne.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=fe.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(R){R!==this._itemsLength&&(this._itemsLength=R,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:R,panelHeight:ee}=this._panelService.dimensions,pe=this.markedItem.index*R;return ee>pe?0:pe}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(R){if(R.items){const ee=R.items;this._onItemsChange(ee.currentValue,ee.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(R,ee=!1){if(!R)return;const pe=this.items.indexOf(R);if(pe<0||pe>=this.itemsLength)return;let fe;if(this.virtualScroll){const ht=this._panelService.dimensions.itemHeight;fe=this._panelService.getScrollTo(pe*ht,ht,this._lastScrollPosition)}else{const ht=this._dropdown.querySelector(`#${R.htmlId}`);fe=this._panelService.getScrollTo(ht.offsetTop,ht.clientHeight,ee?ht.offsetTop:this._lastScrollPosition)}xe(fe)&&(this._scrollablePanel.scrollTop=fe)}scrollToTag(){const R=this._scrollablePanel;R.scrollTop=R.scrollHeight-R.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),P.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(R){P.forEach(pe=>{const fe=`ng-select-${pe}`;this._renderer.removeClass(this._dropdown,fe),this._renderer.removeClass(this._select,fe)});const ee=`ng-select-${R}`;this._renderer.addClass(this._dropdown,ee),this._renderer.addClass(this._select,ee)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,Ce.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,h.R)(this._destroy$),(0,u.e)(0,ue)).subscribe(R=>{const ee=R.path||R.composedPath&&R.composedPath();this._onContentScrolled(ee&&0!==ee.length?ee[0].scrollTop:R.target.scrollTop)})})}_handleOutsideClick(){!this._document||this._zone.runOutsideAngular(()=>{(0,ae.T)((0,Ce.R)(this._document,"touchstart",{capture:!0}),(0,Ce.R)(this._document,"mousedown",{capture:!0})).pipe((0,h.R)(this._destroy$)).subscribe(R=>this._checkToClose(R))})}_checkToClose(R){if(this._select.contains(R.target)||this._dropdown.contains(R.target))return;const ee=R.path||R.composedPath&&R.composedPath();R.target&&R.target.shadowRoot&&ee&&ee[0]&&this._select.contains(ee[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(R,ee){this.items=R||[],this._scrollToEndFired=!1,this.itemsLength=R.length,this.virtualScroll?this._updateItemsRange(ee):(this._setVirtualHeight(),this._updateItems(ee))}_updateItems(R){this.update.emit(this.items),!1!==R&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,R)})})}_updateItemsRange(R){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{R?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(R){this.virtualScroll&&this._renderItemsRange(R),this._lastScrollPosition=R,this._fireScrollToEnd(R)}_updateVirtualHeight(R){this._updateScrollHeight&&(this._virtualPadding.style.height=`${R}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){!this._virtualPadding||(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(R=null){if(R&&this._lastScrollPosition===R)return;const ee=this._panelService.calculateItems(R=R||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(ee.scrollHeight),this._contentPanel.style.transform=`translateY(${ee.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(ee.start,ee.end)),this.scroll.emit({start:ee.start,end:ee.end})}),xe(R)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=R,this._lastScrollPosition=R)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[R]=this.items;return this.update.emit([R]),Promise.resolve().then(()=>{const pe=this._dropdown.querySelector(`#${R.htmlId}`).clientHeight;return this._virtualPadding.style.height=pe*this.itemsLength+"px",this._panelService.setDimensions(pe,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(R){this._scrollToEndFired||0===R||R+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(R){if("auto"!==this.position)return this.position;const ee=this._select.getBoundingClientRect(),pe=document.documentElement.scrollTop||document.body.scrollTop;return ee.top+window.pageYOffset+ee.height+R.getBoundingClientRect().height>pe+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const R=this._select.getBoundingClientRect(),ee=this._parent.getBoundingClientRect();this._dropdown.style.left=R.left-ee.left+"px",this._dropdown.style.width=R.width+"px",this._dropdown.style.minWidth=R.width+"px"}_updateYPosition(){const R=this._select.getBoundingClientRect(),ee=this._parent.getBoundingClientRect(),pe=R.height;"top"===this._currentPosition?(this._dropdown.style.bottom=ee.bottom-R.bottom+pe+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=R.top-ee.top+pe+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,Ce.R)(this._dropdown,"mousedown").pipe((0,h.R)(this._destroy$)).subscribe(R=>{"INPUT"!==R.target.tagName&&R.preventDefault()})})}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.Qsj),s.Y36(s.R0b),s.Y36(z),s.Y36(s.SBq),s.Y36(Ae.K0,8))},Fe.\u0275cmp=s.Xpm({type:Fe,selectors:[["ng-dropdown-panel"]],viewQuery:function(R,ee){if(1&R&&(s.Gf(Be,7,s.SBq),s.Gf(Se,7,s.SBq),s.Gf(mt,7,s.SBq)),2&R){let pe;s.iGM(pe=s.CRH())&&(ee.contentElementRef=pe.first),s.iGM(pe=s.CRH())&&(ee.scrollElementRef=pe.first),s.iGM(pe=s.CRH())&&(ee.paddingElementRef=pe.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[s.TTD],ngContentSelectors:oe,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(R,ee){1&R&&(s.F$t(),s.YNc(0,Mt,2,4,"div",0),s.TgZ(1,"div",1,2),s._UZ(3,"div",null,3),s.TgZ(5,"div",null,4),s.Hsn(7),s.qZA()(),s.YNc(8,ke,2,4,"div",5)),2&R&&(s.Q6J("ngIf",ee.headerTemplate),s.xp6(3),s.ekj("total-padding",ee.virtualScroll),s.xp6(2),s.ekj("scrollable-content",ee.virtualScroll&&ee.items.length),s.xp6(3),s.Q6J("ngIf",ee.footerTemplate))},dependencies:[Ae.O5,Ae.tP],encapsulation:2,changeDetection:0}),Fe})(),F=(()=>{class Fe{constructor(R){this.elementRef=R,this.stateChange$=new ne.x,this._disabled=!1}get disabled(){return this._disabled}set disabled(R){this._disabled=this._isDisabled(R)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(R){R.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(R){return null!=R&&"false"!=`${R}`}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.Y36(s.SBq))},Fe.\u0275cmp=s.Xpm({type:Fe,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[s.TTD],ngContentSelectors:oe,decls:1,vars:0,template:function(R,ee){1&R&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),Fe})(),G=(()=>{class Fe{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return Fe.\u0275fac=function(R){return new(R||Fe)},Fe.\u0275prov=s.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})(),j=(()=>{class Fe{warn(R){console.warn(R)}}return Fe.\u0275fac=function(R){return new(R||Fe)},Fe.\u0275prov=s.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();const ye=new s.OlP("ng-select-selection-model");let H=(()=>{class Fe{constructor(R,ee,pe,fe,ht,Pt,Ut){this.classes=R,this.autoFocus=ee,this.config=pe,this._cd=Pt,this._console=Ut,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=tn=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new s.vpe,this.focusEvent=new s.vpe,this.changeEvent=new s.vpe,this.openEvent=new s.vpe,this.closeEvent=new s.vpe,this.searchEvent=new s.vpe,this.clearEvent=new s.vpe,this.addEvent=new s.vpe,this.removeEvent=new s.vpe,this.scroll=new s.vpe,this.scrollToEnd=new s.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=rt(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new ne.x,this._keyPress$=new ne.x,this._onChange=tn=>{},this._onTouched=()=>{},this.clearItem=tn=>{const fn=this.selectedItems.find(yn=>yn.value===tn);this.unselect(fn)},this.trackByOption=(tn,fn)=>this.trackByFn?this.trackByFn(fn.value):fn,this._mergeGlobalConfig(pe),this.itemsList=new T(this,fe()),this.element=ht.nativeElement}get items(){return this._items}set items(R){null===R&&(R=[]),this._itemsAreUsed=!0,this._items=R}get compareWith(){return this._compareWith}set compareWith(R){if(null!=R&&!W(R))throw Error("`compareWith` must be a function.");this._compareWith=R}get clearSearchOnAdd(){return xe(this._clearSearchOnAdd)?this._clearSearchOnAdd:xe(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(R){this._clearSearchOnAdd=R}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(R=>R.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(R){R.multiple&&this.itemsList.clearSelected(),R.items&&this._setItems(R.items.currentValue||[]),R.isOpen&&(this._manualOpen=xe(R.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),xe(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(R){if(D[R.which]){if(!1===this.keyDownFn(R))return;this.handleKeyCode(R)}else R.key&&1===R.key.length&&this._keyPress$.next(R.key.toLocaleLowerCase())}handleKeyCode(R){switch(R.which){case D.ArrowDown:this._handleArrowDown(R);break;case D.ArrowUp:this._handleArrowUp(R);break;case D.Space:this._handleSpace(R);break;case D.Enter:this._handleEnter(R);break;case D.Tab:this._handleTab(R);break;case D.Esc:this.close(),R.preventDefault();break;case D.Backspace:this._handleBackspace()}}handleMousedown(R){const ee=R.target;"INPUT"!==ee.tagName&&R.preventDefault(),ee.classList.contains("ng-clear-wrapper")?this.handleClearClick():ee.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():ee.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){!this.clearable||(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(R){this.itemsList.clearSelected(),this._handleWriteValue(R),this._cd.markForCheck()}registerOnChange(R){this._onChange=R}registerOnTouched(R){this._onTouched=R}setDisabledState(R){this._disabled=R,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(R){!R||R.disabled||this.disabled||(this.multiple&&R.selected?this.unselect(R):this.select(R),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(R){R.selected||(this.itemsList.select(R),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(R.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(R){!R||(this.itemsList.unselect(R),this.focus(),this._updateNgModel(),this.removeEvent.emit(R))}selectTag(){let R;R=W(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const ee=pe=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(pe,null):this.itemsList.addItem(pe);!function k(Fe){return Fe instanceof Promise}(R)?R&&this.select(ee(R)):R.then(pe=>this.select(ee(pe))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const R=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(ee=>ee.label.toLowerCase()===R)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(ee=>ee.label.toLowerCase()===R))&&!this.loading}showNoItemsFound(){const R=0===this.itemsList.filteredItems.length;return(R&&!this._isTypeahead&&!this.loading||R&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(R){this._isComposing=!1,!this.searchWhileComposing&&this.filter(R)}filter(R){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=R,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(R),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:R,items:this.itemsList.filteredItems.map(ee=>ee.value)}),this.open())}onInputFocus(R){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(R),this.focused=!0)}onInputBlur(R){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(R),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(R){R.disabled||this.itemsList.markItem(R)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const R=this.selectedItems&&this.selectedItems[0];this.searchTerm=R&&R.label||null}_setItems(R){const ee=R[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=xe(ee)?!q(ee):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(R),R.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&xe(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const R=pe=>{this.items=pe.map(fe=>({$ngOptionValue:fe.value,$ngOptionLabel:fe.elementRef.nativeElement.innerHTML,disabled:fe.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},ee=()=>{const pe=(0,ae.T)(this.ngOptions.changes,this._destroy$);(0,ae.T)(...this.ngOptions.map(fe=>fe.stateChange$)).pipe((0,h.R)(pe)).subscribe(fe=>{const ht=this.itemsList.findItem(fe.value);ht.disabled=fe.disabled,ht.label=fe.label||ht.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,l.O)(this.ngOptions),(0,h.R)(this._destroy$)).subscribe(pe=>{this.bindLabel=this._defaultLabel,R(pe),ee()})}_isValidWriteValue(R){if(!xe(R)||this.multiple&&""===R||Array.isArray(R)&&0===R.length)return!1;const ee=pe=>!(!xe(this.compareWith)&&q(pe)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(pe)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(R)?R.every(pe=>ee(pe)):(this._console.warn("Multiple select ngModel should be array."),!1):ee(R)}_handleWriteValue(R){if(!this._isValidWriteValue(R))return;const ee=pe=>{let fe=this.itemsList.findItem(pe);if(fe)this.itemsList.select(fe);else{const ht=q(pe),Pt=!ht&&!this.bindValue;ht||Pt?this.itemsList.select(this.itemsList.mapItem(pe,null)):this.bindValue&&(fe={[this.bindLabel]:null,[this.bindValue]:pe},this.itemsList.select(this.itemsList.mapItem(fe,null)))}};this.multiple?R.forEach(pe=>ee(pe)):ee(R)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,h.R)(this._destroy$),(0,Me.b)(R=>this._pressedKeys.push(R)),(0,ie.b)(200),(0,re.h)(()=>this._pressedKeys.length>0),(0,ve.U)(()=>this._pressedKeys.join(""))).subscribe(R=>{const ee=this.itemsList.findByLabel(R);ee&&(this.isOpen?(this.itemsList.markItem(ee),this._scrollToMarked(),this._cd.markForCheck()):this.select(ee)),this._pressedKeys=[]})}_setInputAttributes(){const R=this.searchInput.nativeElement,ee=Object.assign({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(const pe of Object.keys(ee))R.setAttribute(pe,ee[pe])}_updateNgModel(){const R=[];for(const pe of this.selectedItems)if(this.bindValue){let fe=null;fe=pe.children?pe.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(pe.value,this.bindValue),R.push(fe)}else R.push(pe.value);const ee=this.selectedItems.map(pe=>pe.value);this.multiple?(this._onChange(R),this.changeEvent.emit(ee)):(this._onChange(xe(R[0])?R[0]:null),this.changeEvent.emit(ee[0])),this._cd.markForCheck()}_clearSearch(){!this.searchTerm||(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(R){this.searchTerm=R,this._isTypeahead&&this.typeahead.next(R)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(R){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),R.preventDefault()):this.showAddTag?(this.selectTag(),R.preventDefault()):this.close():this.close())}_handleEnter(R){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}R.preventDefault()}_handleSpace(R){this.isOpen||this._manualOpen||(this.open(),R.preventDefault())}_handleArrowDown(R){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),R.preventDefault()}_handleArrowUp(R){!this.isOpen||(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),R.preventDefault())}_nextItemIsTag(R){const ee=this.itemsList.markedIndex+R;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(ee<0||ee===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const R=this.searchTerm&&this.searchTerm.trim();return R&&R.length>=this.minTermLength}_mergeGlobalConfig(R){this.placeholder=this.placeholder||R.placeholder,this.notFoundText=this.notFoundText||R.notFoundText,this.typeToSearchText=this.typeToSearchText||R.typeToSearchText,this.addTagText=this.addTagText||R.addTagText,this.loadingText=this.loadingText||R.loadingText,this.clearAllText=this.clearAllText||R.clearAllText,this.virtualScroll=xe(this.virtualScroll)?this.virtualScroll:!!xe(R.disableVirtualScroll)&&!R.disableVirtualScroll,this.openOnEnter=xe(this.openOnEnter)?this.openOnEnter:R.openOnEnter,this.appendTo=this.appendTo||R.appendTo,this.bindValue=this.bindValue||R.bindValue,this.bindLabel=this.bindLabel||R.bindLabel,this.appearance=this.appearance||R.appearance}}return Fe.\u0275fac=function(R){return new(R||Fe)(s.$8M("class"),s.$8M("autofocus"),s.Y36(G),s.Y36(ye),s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(j))},Fe.\u0275cmp=s.Xpm({type:Fe,selectors:[["ng-select"]],contentQueries:function(R,ee,pe){if(1&R&&(s.Suo(pe,Ee,5,s.Rgc),s.Suo(pe,tt,5,s.Rgc),s.Suo(pe,qe,5,s.Rgc),s.Suo(pe,kt,5,s.Rgc),s.Suo(pe,qt,5,s.Rgc),s.Suo(pe,en,5,s.Rgc),s.Suo(pe,Lt,5,s.Rgc),s.Suo(pe,xt,5,s.Rgc),s.Suo(pe,Rt,5,s.Rgc),s.Suo(pe,ge,5,s.Rgc),s.Suo(pe,Ge,5,s.Rgc),s.Suo(pe,F,5)),2&R){let fe;s.iGM(fe=s.CRH())&&(ee.optionTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.optgroupTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.labelTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.multiLabelTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.headerTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.footerTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.notFoundTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.typeToSearchTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.loadingTextTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.tagTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.loadingSpinnerTemplate=fe.first),s.iGM(fe=s.CRH())&&(ee.ngOptions=fe)}},viewQuery:function(R,ee){if(1&R&&(s.Gf(te,5),s.Gf(he,7)),2&R){let pe;s.iGM(pe=s.CRH())&&(ee.dropdownPanel=pe.first),s.iGM(pe=s.CRH())&&(ee.searchInput=pe.first)}},hostVars:20,hostBindings:function(R,ee){1&R&&s.NdJ("keydown",function(fe){return ee.handleKeyDown(fe)}),2&R&&s.ekj("ng-select-typeahead",ee.typeahead)("ng-select-multiple",ee.multiple)("ng-select-taggable",ee.addTag)("ng-select-searchable",ee.searchable)("ng-select-clearable",ee.clearable)("ng-select-opened",ee.isOpen)("ng-select",ee.useDefaultClass)("ng-select-disabled",ee.disabled)("ng-select-filtered",ee.filtered)("ng-select-single",ee.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[s._Bn([{provide:i.JU,useExisting:(0,s.Gpc)(()=>Fe),multi:!0},z]),s.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(R,ee){if(1&R){const pe=s.EpF();s.TgZ(0,"div",0),s.NdJ("mousedown",function(ht){return ee.handleMousedown(ht)}),s.TgZ(1,"div",1)(2,"div",2),s._uU(3),s.qZA(),s.YNc(4,Xe,2,2,"ng-container",3),s.YNc(5,je,1,5,null,3),s.TgZ(6,"div",4)(7,"input",5,6),s.NdJ("input",function(){s.CHM(pe);const ht=s.MAs(8);return s.KtG(ee.filter(ht.value))})("compositionstart",function(){return ee.onCompositionStart()})("compositionend",function(){s.CHM(pe);const ht=s.MAs(8);return s.KtG(ee.onCompositionEnd(ht.value))})("focus",function(ht){return ee.onInputFocus(ht)})("blur",function(ht){return ee.onInputBlur(ht)})("change",function(ht){return ht.stopPropagation()}),s.qZA()()(),s.YNc(9,ft,4,1,"ng-container",3),s.YNc(10,Ct,3,1,"span",7),s.TgZ(11,"span",8),s._UZ(12,"span",9),s.qZA()(),s.YNc(13,gn,7,19,"ng-dropdown-panel",10)}2&R&&(s.ekj("ng-appearance-outline","outline"===ee.appearance)("ng-has-value",ee.hasValue),s.xp6(3),s.Oqu(ee.placeholder),s.xp6(1),s.Q6J("ngIf",(!ee.multiLabelTemplate||!ee.multiple)&&ee.selectedItems.length>0),s.xp6(1),s.Q6J("ngIf",ee.multiple&&ee.multiLabelTemplate&&ee.selectedValues.length>0),s.xp6(1),s.uIk("aria-expanded",ee.isOpen)("aria-owns",ee.isOpen?ee.dropdownId:null),s.xp6(1),s.Q6J("readOnly",!ee.searchable||ee.itemsList.maxItemsSelected)("disabled",ee.disabled)("value",ee.searchTerm?ee.searchTerm:""),s.uIk("id",ee.labelForId)("tabindex",ee.tabIndex)("aria-activedescendant",ee.isOpen?null==ee.itemsList||null==ee.itemsList.markedItem?null:ee.itemsList.markedItem.htmlId:null)("aria-controls",ee.isOpen?ee.dropdownId:null),s.xp6(2),s.Q6J("ngIf",ee.loading),s.xp6(1),s.Q6J("ngIf",ee.showClear()),s.xp6(3),s.Q6J("ngIf",ee.isOpen))},dependencies:[Ae.mk,Ae.sg,Ae.O5,Ae.tP,te,Z],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),Fe})();function Ue(){return new Je}class Je{constructor(){this._selected=[]}get value(){return this._selected}select(Ye,R,ee){if(Ye.selected=!0,(!Ye.children||!R&&ee)&&this._selected.push(Ye),R)if(Ye.parent){const pe=Ye.parent.children.length,fe=Ye.parent.children.filter(ht=>ht.selected).length;Ye.parent.selected=pe===fe}else Ye.children&&(this._setChildrenSelectedState(Ye.children,!0),this._removeChildren(Ye),this._selected=ee&&this._activeChildren(Ye)?[...this._selected.filter(pe=>pe.parent!==Ye),Ye]:[...this._selected,...Ye.children.filter(pe=>!pe.disabled)])}unselect(Ye,R){if(this._selected=this._selected.filter(ee=>ee!==Ye),Ye.selected=!1,R)if(Ye.parent&&Ye.parent.selected){const ee=Ye.parent.children;this._removeParent(Ye.parent),this._removeChildren(Ye.parent),this._selected.push(...ee.filter(pe=>pe!==Ye&&!pe.disabled)),Ye.parent.selected=!1}else Ye.children&&(this._setChildrenSelectedState(Ye.children,!1),this._removeChildren(Ye))}clear(Ye){this._selected=Ye?this._selected.filter(R=>R.disabled):[]}_setChildrenSelectedState(Ye,R){for(const ee of Ye)ee.disabled||(ee.selected=R)}_removeChildren(Ye){this._selected=[...this._selected.filter(R=>R.parent!==Ye),...Ye.children.filter(R=>R.parent===Ye&&R.disabled&&R.selected)]}_removeParent(Ye){this._selected=this._selected.filter(R=>R!==Ye)}_activeChildren(Ye){return Ye.children.every(R=>!R.disabled||R.selected)}}let It=(()=>{class Fe{}return Fe.\u0275fac=function(R){return new(R||Fe)},Fe.\u0275mod=s.oAB({type:Fe}),Fe.\u0275inj=s.cJS({providers:[{provide:ye,useValue:Ue}],imports:[Ae.ez]}),Fe})()},7582:(Yt,ut,c)=>{"use strict";function ne(it,ft,Ct,St){return new(Ct||(Ct=Promise))(function(B,_){function A(de){try{se(St.next(de))}catch(De){_(De)}}function J(de){try{se(St.throw(de))}catch(De){_(De)}}function se(de){de.done?B(de.value):function Y(B){return B instanceof Ct?B:new Ct(function(_){_(B)})}(de.value).then(A,J)}se((St=St.apply(it,ft||[])).next())})}function ke(it){return this instanceof ke?(this.v=it,this):new ke(it)}function oe(it,ft,Ct){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Y,St=Ct.apply(it,ft||[]),B=[];return Y={},_("next"),_("throw"),_("return"),Y[Symbol.asyncIterator]=function(){return this},Y;function _(Ke){St[Ke]&&(Y[Ke]=function(gt){return new Promise(function(ze,Et){B.push([Ke,gt,ze,Et])>1||A(Ke,gt)})})}function A(Ke,gt){try{!function J(Ke){Ke.value instanceof ke?Promise.resolve(Ke.value.v).then(se,de):De(B[0][2],Ke)}(St[Ke](gt))}catch(ze){De(B[0][3],ze)}}function se(Ke){A("next",Ke)}function de(Ke){A("throw",Ke)}function De(Ke,gt){Ke(gt),B.shift(),B.length&&A(B[0][0],B[0][1])}}function le(it){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ct,ft=it[Symbol.asyncIterator];return ft?ft.call(it):(it=function Be(it){var ft="function"==typeof Symbol&&Symbol.iterator,Ct=ft&&it[ft],St=0;if(Ct)return Ct.call(it);if(it&&"number"==typeof it.length)return{next:function(){return it&&St>=it.length&&(it=void 0),{value:it&&it[St++],done:!it}}};throw new TypeError(ft?"Object is not iterable.":"Symbol.iterator is not defined.")}(it),Ct={},St("next"),St("throw"),St("return"),Ct[Symbol.asyncIterator]=function(){return this},Ct);function St(B){Ct[B]=it[B]&&function(_){return new Promise(function(A,J){!function Y(B,_,A,J){Promise.resolve(J).then(function(se){B({value:se,done:A})},_)}(A,J,(_=it[B](_)).done,_.value)})}}}c.d(ut,{FC:()=>oe,KL:()=>le,mG:()=>ne,qq:()=>ke})}},Yt=>{Yt(Yt.s=7746)}]);

Zerion Mini Shell 1.0