"use strict";var Rr=(Rt,je,a)=>{if(je.has(Rt))throw TypeError("Cannot add the same private member more than once");je instanceof WeakSet?je.add(Rt):je.set(Rt,a)};(self.webpackChunkallied_apple_dpp_front=self.webpackChunkallied_apple_dpp_front||[]).push([[179],{4159:(Rt,je,a)=>{a.d(je,{e:()=>W});var r=a(262),i=a(2843),d=a(529),D=a(4650),u=a(2761),T=a(2487),F=a(3469),w=a(5037);let W=(()=>{class ae{constructor(le,me,fe,Se){this.router=le,this.api=me,this.cookies=fe,this.urlService=Se,this.key="_auth"}login(le){const me=this.urlService.getUrl("AUTH.tokenOAuth",{}),fe=Object.entries(le).reduce((Se,[Ze,Ne])=>Se.set(Ze,Ne),new d.LE);return this.api.post(me,fe,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).pipe((0,r.K)(Se=>(0,i._)(Se)))}logout(){this.cookies.delete(this.key),this.router.navigate(["/autenticacao"])}signup(le){const me=this.urlService.getUrl("AUTH.signup");return this.api.post(me,le).pipe((0,r.K)(fe=>(0,i._)(fe)))}confirmEmailPass(le){const me=this.urlService.getUrl("AUTH.confirmEmailResetPassword");return this.api.post(me,le).pipe((0,r.K)(fe=>(0,i._)(fe)))}resetPassEmailToken(le){const me=this.urlService.getUrl("AUTH.updatePasswordEmailToken");return this.api.post(me,le).pipe((0,r.K)(fe=>(0,i._)(fe)))}validationToResetToken(le){return new Promise((me,fe)=>{const Se=this.urlService.getUrl("AUTH.validationTokenForgetPassword");this.api.post(Se,le).subscribe({next:Ze=>{me(Ze)},error:Ze=>{fe(Ze)}})})}redoPassword(le){const me=this.urlService.getUrl("AUTH.updatePasswordLogged");return this.api.post(me,le).pipe((0,r.K)(fe=>(0,i._)(fe)))}getAuth(){return this.cookies.get(this.key)}isLoggedIn(){return!!this.getAuth()}authAction(le,me){let fe;return"approve-reseller"===le&&(fe=this.urlService.getUrl("AUTH.approveReseller")),"reprove-reseller"===le&&(fe=this.urlService.getUrl("AUTH.reproveReseller")),this.api.post(fe,me).pipe((0,r.K)(Se=>(0,i._)(Se)))}}return ae.\u0275fac=function(le){return new(le||ae)(D.LFG(u.F0),D.LFG(T.s),D.LFG(F.N),D.LFG(w.i))},ae.\u0275prov=D.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})()},8032:(Rt,je,a)=>{a.r(je),a.d(je,{CmsModule:()=>oe});var r=a(1481),i=a(6644),d=a(9814),D=a(4006),u=a(2761),T=a(1094),F=a(1516),w=a(5282),p=a(4650),W=a(1100),ae=a(4845);const se=["tableMaterial"];function le(x,h){if(1&x){const v=p.EpF();p.TgZ(0,"mat-button-toggle",15),p.NdJ("click",function(){const E=p.CHM(v).$implicit,O=p.oxw();return p.KtG(O.load(E.flag))}),p._uU(1),p.qZA()}if(2&x){const v=h.$implicit;p.Q6J("value",v.flag),p.xp6(1),p.Oqu(v.categorieName)}}function me(x,h){if(1&x){const v=p.EpF();p.TgZ(0,"app-table-material",16,17),p.NdJ("rowsData",function(b){p.CHM(v);const E=p.oxw();return p.KtG(E.actionTransitionData(b))}),p.qZA()}if(2&x){const v=p.oxw();p.Q6J("dataSource",v.materialData)}}function fe(x,h){if(1&x){const v=p.EpF();p.TgZ(0,"mat-card-actions",18)(1,"button",19),p.NdJ("click",function(){p.CHM(v);const b=p.oxw();return p.KtG(b.updateSort())}),p._uU(2," Salvar altera\xe7\xf5es "),p.qZA()()}if(2&x){const v=p.oxw();p.xp6(1),p.Q6J("disabled",v.controllerNewButton)}}let Se=(()=>{class x{constructor(v,c,b,E){this.router=v,this.route=c,this.materialService=b,this.snackBar=E,this.materialData=[],this.supportMatTypes=w.Z,this.controllerNewButton=!1}ngOnInit(){this.route.queryParams.subscribe(v=>{this.typeChoosen=v.type,this.controllerNewButton=!0,this.load(v.type?v.type:this.supportMatTypes.at(0)?.flag)})}load(v){this.router.navigate([],{relativeTo:this.route,queryParams:{type:v}}),this.materialService.getMaterials(v).subscribe({next:c=>{this.materialData=c.data.mediasZip},error:c=>{this.snackCall(c.errors[0])},complete:()=>{setTimeout(()=>{this.controllerNewButton=!1},500)}})}updateSort(){const v=this.materialData.map(c=>({id:c.id,posicao:c.posicao,nome:c.nome,categoria:c.categoria}));this.materialService.sortGroupMaterial({listaAtualiza:v}).subscribe({next:c=>{this.snackCall("Materiais atualizados com sucesso."),this.ngOnInit()},error:c=>{this.snackCall(c.errors[0])}})}snackCall(v){this.snackBar.open({message:v,duration:7e3})}actionTransitionData(v){this.controllerNewButton=v,this.materialData=this.materialData.filter(c=>!c.new)}preMaterial(v){this.materialData.length&&this.materialData.forEach((b,E)=>{b.posicao=E+2});const c={posicao:1,file:"",nome:"",categoria:"Comunica\xe7\xe3o / Marketing",tipoItem:v,new:!0};this.controllerNewButton=!0,this.materialData=[c,...this.materialData]}}return x.\u0275fac=function(v){return new(v||x)(p.Y36(u.F0),p.Y36(u.gz),p.Y36(W.$),p.Y36(ae.o))},x.\u0275cmp=p.Xpm({type:x,selectors:[["app-material-management"]],viewQuery:function(v,c){if(1&v&&p.Gf(se,5),2&v){let b;p.iGM(b=p.CRH())&&(c.tableMaterial=b.first)}},decls:23,vars:6,consts:[["title","Material de apoio"],[1,"content-body"],["fxLayoutGap","7px","fxLayout","row","fxLayout.xs","column","fxLayoutAlign","space-between center"],["fxFlex","77",1,"card-header"],[1,"mat-card-title"],["fxFlex","",1,"card-actions-header"],["mat-stroked-button","","color","primary",1,"mat-button--medium",3,"disabled","click"],[3,"ngSwitch"],[1,"filter-categorie"],[1,"label"],[1,"options-button"],["name","choosenCategorie",3,"value"],[3,"value","click",4,"ngFor","ngForOf"],[3,"dataSource","rowsData",4,"ngSwitchCase"],["class","mat-card-actions--align-end",4,"ngSwitchCase"],[3,"value","click"],[3,"dataSource","rowsData"],["tableMaterial",""],[1,"mat-card-actions--align-end"],["mat-raised-button","","color","primary",1,"mat-button--medium",3,"disabled","click"]],template:function(v,c){1&v&&(p._UZ(0,"app-title-cms",0),p.TgZ(1,"section",1)(2,"mat-card")(3,"mat-card-header",2)(4,"div",3)(5,"mat-card-title",4),p._uU(6,"Ordene, adicione, remova ou edite materiais de apoio."),p.qZA()(),p.TgZ(7,"div",5)(8,"button",6),p.NdJ("click",function(){return c.preMaterial(c.typeChoosen)}),p.TgZ(9,"mat-icon"),p._uU(10,"add"),p.qZA(),p._uU(11," Incluir Material de Apoio "),p.qZA()()(),p._UZ(12,"mat-divider"),p.TgZ(13,"mat-card-content",7)(14,"div",8)(15,"div",9)(16,"label"),p._uU(17,"Filtrar por: "),p.qZA()(),p.TgZ(18,"div",10)(19,"mat-button-toggle-group",11),p.YNc(20,le,2,2,"mat-button-toggle",12),p.qZA()()(),p.YNc(21,me,2,1,"app-table-material",13),p.YNc(22,fe,3,1,"mat-card-actions",14),p.qZA()()()),2&v&&(p.xp6(8),p.Q6J("disabled",c.controllerNewButton),p.xp6(5),p.Q6J("ngSwitch",c.materialData.length>0),p.xp6(6),p.Q6J("value",c.typeChoosen),p.xp6(1),p.Q6J("ngForOf",c.supportMatTypes),p.xp6(1),p.Q6J("ngSwitchCase",!0),p.xp6(1),p.Q6J("ngSwitchCase",!0))},styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.content-title[_ngcontent-%COMP%]{padding-bottom:1.5%;color:#033b71}.content-title[_ngcontent-%COMP%] .title-cms[_ngcontent-%COMP%]{font-size:24px;font-weight:600}.content-title[_ngcontent-%COMP%] .subtitle-cms[_ngcontent-%COMP%]{font-size:18px;font-weight:400}.mat-card[_ngcontent-%COMP%]{padding:0}.mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:18px;font-weight:400}.mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] .mat-card-subtitle[_ngcontent-%COMP%]{text-align:left;color:#003b71}.mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{padding:18px} .mat-card-header-text{margin:0!important}.card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}@media (max-width: 599.98px){.card-header[_ngcontent-%COMP%]{margin:5px 0 15px;text-align:center}}.card-actions-header[_ngcontent-%COMP%]{text-align:end}@media (max-width: 599.98px){.card-actions-header[_ngcontent-%COMP%]{margin-top:7px}}.mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{margin-bottom:0}.mat-button-toggle-group[_ngcontent-%COMP%]{justify-content:center;flex-wrap:wrap}table[_ngcontent-%COMP%]{width:100%}.filter-categorie[_ngcontent-%COMP%]{border-bottom:1px solid black;padding:5px 0 2%;display:flex;align-items:center;gap:10px}.filter-categorie[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:14px;font-weight:600}@media (max-width: 599.98px){.filter-categorie[_ngcontent-%COMP%]{padding:5px 0 5%;gap:0px;display:block;text-align:center}.filter-categorie[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin-bottom:1%}}.mat-card-actions[_ngcontent-%COMP%]{min-height:31px;margin:0!important}.mat-card-actions--align-end[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{float:right}']}),x})();var Ze=a(2902),Ne=a(4159);let gt=(()=>{class x{constructor(v,c){this.router=v,this.auth=c}canActivate(v,c){return"Admin"===JSON.parse(this.auth.getAuth())?.permission||this.router.parseUrl("/")}}return x.\u0275fac=function(v){return new(v||x)(p.LFG(u.F0),p.LFG(Ne.e))},x.\u0275prov=p.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"}),x})();var N=a(6265);let B=(()=>{class x{constructor(){}ngOnInit(){}}return x.\u0275fac=function(v){return new(v||x)},x.\u0275cmp=p.Xpm({type:x,selectors:[["app-cms"]],decls:1,vars:0,template:function(v,c){1&v&&p._UZ(0,"app-navigation-cms")},dependencies:[N.J]}),x})();var X=a(5861),ie=a(2289),pe=a(6126),we=a(5698),ne=a(778),ge=a(5412),Ve=a(9572),Je=a(7318),pt=a(4750),Ge=a(6895),At=a(1576),st=a(4859),_t=a(9549),et=a(7392),mt=a(4144),he=a(4385),G=a(3238),de=a(9602);function ye(x,h){if(1&x&&(p.TgZ(0,"mat-option",24),p._uU(1),p.qZA()),2&x){const v=h.$implicit;p.Q6J("value",v.value),p.xp6(1),p.hij(" ",v.viewValue," ")}}function xe(x,h){1&x&&(p.TgZ(0,"mat-form-field",3)(1,"mat-label"),p._uU(2,"Digite sua busca"),p.qZA(),p.ynx(3),p._UZ(4,"input",25),p.BQk(),p.qZA())}function Dt(x,h){if(1&x&&(p.TgZ(0,"mat-option",28),p._uU(1),p.qZA()),2&x){const v=h.$implicit;p.Q6J("value",v),p.xp6(1),p.hij(" ",v," ")}}function Fe(x,h){if(1&x&&(p.TgZ(0,"mat-form-field",3)(1,"mat-label"),p._uU(2,"Expectativa de fechamento"),p.qZA(),p.TgZ(3,"mat-select",26),p.YNc(4,Dt,2,2,"mat-option",27),p.qZA()()),2&x){const v=p.oxw();p.xp6(4),p.Q6J("ngForOf",v.periodPayment)}}let $e=(()=>{class x{constructor(v,c){this.fb=v,this.opportunities=c,this.handleFilter=new p.vpe,this.statuses=[{value:"null",viewValue:"Todas"},{value:"novas",viewValue:"Novas"},{value:"aprovadas",viewValue:"Aprovadas"},{value:"reprovadas",viewValue:"Reprovadas"}]}ngOnInit(){this.filter=this.fb.group({dataInicial:[""],dataFinal:[""],textStatus:[""]}),this.subfilter=this.fb.group({search:["",[D.kI.required]],text:["",[D.kI.required]]}),this.filter.valueChanges.subscribe(v=>{(v.dataFinal||v.textStatus)&&this.emitFilter()}),this.periodPayment=pt.o.generatePaymentPeriods()}onSearchChange(v){this.subfilter.controls.text.setValue("")}emitFilter(){const{dataInicial:v,dataFinal:c,textStatus:b}=this.filter.value;this.handleFilter.emit({dataInicial:v?new Date(v).toISOString():null,dataFinal:c?new Date(c).toISOString():null,textStatus:"null"===b?"":b,search:this.subfilter.value.search,text:this.subfilter.value.text})}searchItem(){this.subfilter.valid&&this.emitFilter()}exportReport(){const{dataInicial:v,dataFinal:c,textStatus:b}=this.filter.value,E={dataInicial:v?new Date(v).toISOString():"",dataFinal:c?new Date(c).toISOString():"",textStatus:"null"===b?"":b,search:this.subfilter.value.search,text:this.subfilter.value.text,exporta:!0};this.opportunities.export(E).subscribe({next:O=>{console.log(O)},error:O=>{console.error(O)}})}}return x.\u0275fac=function(v){return new(v||x)(p.Y36(D.qu),p.Y36(ne.U))},x.\u0275cmp=p.Xpm({type:x,selectors:[["app-filter-opportunities"]],outputs:{handleFilter:"handleFilter"},decls:44,vars:9,consts:[[1,"filter-opportunities"],["fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","10px",3,"formGroup"],["fxFlex","30%"],["appearance","outline"],[3,"formGroup","rangePicker"],["matStartDate","","formControlName","dataInicial","placeholder","Data inicial"],["matEndDate","","formControlName","dataFinal","placeholder","Data final"],["matSuffix","",3,"for"],["picker",""],["fxFlex","50%"],["formControlName","textStatus"],[3,"value",4,"ngFor","ngForOf"],["fxFlex","20%"],["mat-flat-button","","color","primary",1,"mat-button--large",3,"click"],["fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","10px",1,"subfilter",3,"formGroup"],["fxFlex","25%"],["formControlName","search",3,"selectionChange"],["value","revenda"],["value","pn"],["value","ef"],["fxFlex","55%"],["appearance","outline",4,"ngIf","ngIfElse"],["selectField",""],["mat-stroked-button","","color","warn",1,"mat-button--medium",3,"disabled","click"],[3,"value"],["matInput","","formControlName","text","name","text","placeholder","Digite sua busca",1,"search-value-input"],["formControlName","text"],["name","expectativaFechamento",3,"value",4,"ngFor","ngForOf"],["name","expectativaFechamento",3,"value"]],template:function(v,c){if(1&v&&(p.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-form-field",3)(4,"mat-label"),p._uU(5,"Filtrar por per\xedodo"),p.qZA(),p.TgZ(6,"mat-date-range-input",4)(7,"mat-label"),p._uU(8,"Escolha as datas"),p.qZA(),p._UZ(9,"input",5)(10,"input",6),p.qZA(),p._UZ(11,"mat-datepicker-toggle",7)(12,"mat-date-range-picker",null,8),p.qZA()(),p.TgZ(14,"div",9)(15,"mat-form-field",3)(16,"mat-label"),p._uU(17,"Status da Oportunidade"),p.qZA(),p.TgZ(18,"mat-select",10),p.YNc(19,ye,2,2,"mat-option",11),p.qZA()()(),p.TgZ(20,"div",12)(21,"button",13),p.NdJ("click",function(){return c.exportReport()}),p.TgZ(22,"mat-icon"),p._uU(23,"download"),p.qZA(),p._uU(24," Exportar Relat\xf3rio "),p.qZA()()(),p.TgZ(25,"div",14)(26,"div",15)(27,"mat-form-field",3)(28,"mat-label"),p._uU(29,"Pesquisar por"),p.qZA(),p.TgZ(30,"mat-select",16),p.NdJ("selectionChange",function(E){return c.onSearchChange(E)}),p.TgZ(31,"mat-option",17),p._uU(32,"Revenda"),p.qZA(),p.TgZ(33,"mat-option",18),p._uU(34,"Partnumber"),p.qZA(),p.TgZ(35,"mat-option",19),p._uU(36,"Expectativa de fechamento"),p.qZA()()()(),p.TgZ(37,"div",20),p.YNc(38,xe,5,0,"mat-form-field",21),p.YNc(39,Fe,5,1,"ng-template",null,22,p.W1O),p.qZA(),p.TgZ(41,"div",12)(42,"button",23),p.NdJ("click",function(){return c.searchItem()}),p._uU(43," Buscar "),p.qZA()()()()),2&v){const b=p.MAs(13),E=p.MAs(40);p.xp6(1),p.Q6J("formGroup",c.filter),p.xp6(5),p.Q6J("formGroup",c.filter)("rangePicker",b),p.xp6(5),p.Q6J("for",b),p.xp6(8),p.Q6J("ngForOf",c.statuses),p.xp6(6),p.Q6J("formGroup",c.subfilter),p.xp6(13),p.Q6J("ngIf","ef"!==c.subfilter.value.search)("ngIfElse",E),p.xp6(4),p.Q6J("disabled",!c.subfilter.valid)}},dependencies:[Ge.sg,Ge.O5,D.Fj,D.JJ,D.JL,D.sg,D.u,At.xw,At.SQ,At.Wh,At.yH,st.lW,_t.KE,_t.hX,_t.R9,et.Hw,mt.Nt,he.gD,G.ey,de.nW,de.wx,de.zY,de.By,de._g],styles:[".filter-opportunities[_ngcontent-%COMP%]{padding-bottom:3%}.filter-opportunities[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 10px}.filter-opportunities[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%], .filter-opportunities[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%} .mat-form-field-wrapper{padding-bottom:0!important}.subfilter[_ngcontent-%COMP%]{margin-top:1%}"]}),x})();const it=[{path:"cms",canActivate:[Ze.a,gt],component:B,children:[{path:"",component:Se},{path:"material-manager",component:Se},{path:"opportunities",component:(()=>{class x{constructor(v,c,b,E,O){this.breakpointObserver=v,this.opportunities=c,this.cdr=b,this.snack=E,this.dialog=O,this.panelConfig=[],this.pagination={currentPage:1,pageSize:10,totalItems:0},this.filters={search:"",text:"",textStatus:"",dataInicial:"",dataFinal:""}}ngOnInit(){this.adjustDisplayHeader(),this.listOpportunities(),this.breakpointObserver.observe([ie.u3.Handset,ie.u3.Web]).subscribe(()=>{this.adjustDisplayHeader()})}adjustDisplayHeader(){this.breakpointObserver.observe([ie.u3.Handset]).subscribe(v=>{this.panelConfig&&this.panelConfig.length>0&&this.panelConfig.forEach(c=>{c.items.forEach((b,E)=>{b.displayHeader=v.matches?0===E:E<4})})})}handleFilterOpportunities(v){this.filters=v,this.listOpportunities()}listOpportunities(){var v=this;const c={search:this.filters.search||"",text:this.filters.text||"",textStatus:this.filters.textStatus||"",page:this.pagination.currentPage,pageSize:this.pagination.pageSize};var b;this.filters.dataInicial&&(c.dataInicial=this.filters.dataInicial),this.filters.dataFinal&&(c.dataFinal=this.filters.dataFinal),this.opportunities.list(c).subscribe({next:(b=(0,X.Z)(function*(E){v.pagination=E.data.pagination,v.panelConfig=yield E.data.oportunidades.map(O=>v.mapOpportunityToPanel(O)),v.cdr.detectChanges()}),function(O){return b.apply(this,arguments)}),error:b=>{console.error(b)}})}changePage(v){this.pagination.currentPage=v,this.listOpportunities()}mapOpportunityToPanel(v){const{id:c,nome:b,email:E,telefone:O,cnpjRevenda:R,tipoRevenda:z,clienteFinal:Re,cnpjCliente:nt,expectativaFechamento:wt,aprovada:Tt,avaliada:jt,createdAt:en,produtos:cn}=v;let tt=[{text:"Conferir produtos",color:"primary"}];return jt||tt.push({text:"Aprovar",color:"primary",icon:"thumb_up"},{text:"Reprovar",color:"warn",icon:"thumb_down"}),{id:c,register_at:this.formatDate(en),status:Tt?"approved":jt?"refused":"open",items:this.mapItems(c,b,Re,wt,O,E,R,nt,z),actions:tt,products:this.mapProducts(cn)}}formatDate(v){return new Date(v).toLocaleDateString()}mapItems(v,c,b,E,O,R,z,Re,nt){return[{title:`#${v}`,label:"ID",displayHeader:!0},{title:c,label:"Nome do respons\xe1vel pela oportunidade",displayHeader:!0},{title:b,label:"Cliente final",displayHeader:!0},{title:E,label:"Expectativa de fechamento",displayHeader:!0},{title:O,label:"Contato do respons\xe1vel pela oportunidade"},{title:R,label:"E-mail"},{title:z,label:"CNPJ da Revenda"},{title:Re,label:"CNPJ do Cliente"},{title:nt,label:"Qual sua revenda?"}]}mapProducts(v){return v.map(c=>({product:c.produto,partnumber:c.partNumber,quantity:c.quantidade}))}managerStatus(v){var E,c=this;this.dialog.open(pe.c1,{width:"40%",maxWidth:"90%",minWidth:"40%",data:{title:(v.aprovada?"Aprova\xe7\xe3o":"Reprova\xe7\xe3o")+" de oportunidade",subtitle:`Voc\xea est\xe1 ${v.aprovada?"aprovando":"reprovando"} a oportunidade de revenda para ${v.nome}. \nAp\xf3s a ${v.aprovada?"aprova\xe7\xe3o":"reprova\xe7\xe3o"}, o respons\xe1vel ser\xe1 informado atrav\xe9s do e-mail cadastrado.\nDeseja confirmar?`,textAct:v.aprovada?"Aprovar":"Reprovar",colorAct:v.aprovada?"success":"danger"}}).afterClosed().subscribe({next:(E=(0,X.Z)(function*(O){if(O)try{yield c.opportunities.managerStatus({id_oportunidade:v.id_oportunidade,aprovada:v.aprovada}).pipe((0,we.q)(1)).toPromise(),c.snack.open({message:"Oportunidade "+(v.aprovada?"aprovada":"reprovada")})}catch(R){c.snack.open({message:R.error.errors})}finally{c.ngOnInit()}}),function(R){return E.apply(this,arguments)}),error:E=>{this.snack.open({message:E.error.errors})}})}}return x.\u0275fac=function(v){return new(v||x)(p.Y36(ie.Yg),p.Y36(ne.U),p.Y36(p.sBO),p.Y36(ae.o),p.Y36(ge.uw))},x.\u0275cmp=p.Xpm({type:x,selectors:[["app-opportunities-controller"]],decls:3,vars:2,consts:[["title","Gest\xe3o de oportunidades","subtitle","Aprove ou rejeite as solicita\xe7\xf5es de Oportunidade de Revenda."],[3,"handleFilter"],[3,"panels","pagination","pageChange","statusManage"]],template:function(v,c){1&v&&(p._UZ(0,"app-title-cms",0),p.TgZ(1,"app-filter-opportunities",1),p.NdJ("handleFilter",function(E){return c.handleFilterOpportunities(E)}),p.qZA(),p.TgZ(2,"app-expansion-panel",2),p.NdJ("pageChange",function(E){return c.changePage(E)})("statusManage",function(E){return c.managerStatus(E)}),p.qZA()),2&v&&(p.xp6(2),p.Q6J("panels",c.panelConfig)("pagination",c.pagination))},dependencies:[Ve.i,Je.A,$e]}),x})()}]}];let ue=(()=>{class x{}return x.\u0275fac=function(v){return new(v||x)},x.\u0275mod=p.oAB({type:x}),x.\u0275inj=p.cJS({imports:[u.Bz.forRoot(it,{scrollPositionRestoration:"enabled"}),u.Bz]}),x})();var Ke=a(1206),Qe=a(3626),Et=a(6491),Yt=a(5829);function Qt(x,h){1&x&&p._UZ(0,"mat-header-cell")}function Wt(x,h){if(1&x){const v=p.EpF();p.TgZ(0,"mat-icon",13),p.NdJ("mousedown",function(){p.CHM(v);const b=p.oxw(2);return p.KtG(b.dragDisabled=!1)}),p._uU(1,"reorder"),p.qZA()}}function Vt(x,h){if(1&x&&(p.TgZ(0,"mat-cell"),p.YNc(1,Wt,2,0,"mat-icon",12),p.qZA()),2&x){const v=h.$implicit;p.xp6(1),p.Q6J("ngIf",!v.new)}}function qe(x,h){1&x&&(p.TgZ(0,"mat-header-cell"),p._uU(1," Arquivo "),p.qZA())}function te(x,h){if(1&x){const v=p.EpF();p.TgZ(0,"input",17),p.NdJ("change",function(b){p.CHM(v);const E=p.oxw().index,O=p.oxw();return p.KtG(O.onFileSelected(b,E))}),p.qZA()}if(2&x){const v=p.oxw().index;p.Q6J("id","fileInput_"+v)}}function S(x,h){if(1&x&&p._UZ(0,"input",18),2&x){const v=p.oxw().$implicit;p.Q6J("value",v.linkS3?v.linkS3.split("/").pop():null==v.file?null:v.file.name)}}function M(x,h){if(1&x&&(p.TgZ(0,"mat-cell")(1,"mat-form-field",14),p.YNc(2,te,1,1,"input",15),p.YNc(3,S,1,1,"input",16),p.qZA()()),2&x){const v=h.$implicit;p.xp6(2),p.Q6J("ngIf",!v.linkS3),p.xp6(1),p.Q6J("ngIf",v.linkS3)}}function J(x,h){1&x&&(p.TgZ(0,"mat-header-cell"),p._uU(1," T\xedtulo do material de apoio "),p.qZA())}function Ue(x,h){if(1&x){const v=p.EpF();p.TgZ(0,"mat-cell")(1,"mat-form-field",19)(2,"input",20),p.NdJ("ngModelChange",function(b){const O=p.CHM(v).$implicit;return p.KtG(O.nome=b)})("ngModelChange",function(){const E=p.CHM(v).index,O=p.oxw();return p.KtG(O.inputChange(E))}),p.qZA()()()}if(2&x){const v=h.$implicit;p.xp6(2),p.Q6J("value",v.nome)("ngModel",v.nome)}}function Ae(x,h){1&x&&(p.TgZ(0,"mat-header-cell"),p._uU(1," Categoria "),p.qZA())}function Ee(x,h){if(1&x){const v=p.EpF();p.TgZ(0,"mat-cell")(1,"mat-form-field",19)(2,"mat-select",21),p.NdJ("keyup",function(){const E=p.CHM(v).index,O=p.oxw();return p.KtG(O.inputChange(E))}),p.TgZ(3,"mat-option",22),p._uU(4),p.qZA()()()()}if(2&x){const v=h.$implicit;p.xp6(2),p.Q6J("value",v.categoria),p.xp6(1),p.Q6J("value",v.categoria),p.xp6(1),p.Oqu(v.categoria)}}function De(x,h){1&x&&(p.TgZ(0,"mat-header-cell"),p._uU(1," A\xe7\xf5es "),p.qZA())}function ft(x,h){if(1&x){const v=p.EpF();p.TgZ(0,"div",25)(1,"button",26),p.NdJ("click",function(){p.CHM(v);const b=p.oxw().$implicit,E=p.oxw();return p.KtG(E.manageAct(b))}),p.TgZ(2,"mat-icon"),p._uU(3,"check"),p.qZA()(),p.TgZ(4,"button",26),p.NdJ("click",function(){p.CHM(v);const b=p.oxw(),E=b.$implicit,O=b.index,R=p.oxw();return p.KtG(R.discardRegister(E,O))}),p.TgZ(5,"mat-icon"),p._uU(6,"close"),p.qZA()()()}if(2&x){const v=p.oxw(2);p.xp6(1),p.Q6J("ngClass",v.attrStyle()),p.xp6(3),p.Q6J("ngClass",v.attrStyle("danger"))}}function vt(x,h){if(1&x){const v=p.EpF();p.TgZ(0,"button",27),p.NdJ("click",function(){p.CHM(v);const b=p.oxw().$implicit,E=p.oxw();return p.KtG(E.removeMaterial(b))}),p.TgZ(1,"mat-icon"),p._uU(2,"delete"),p.qZA(),p._uU(3," Excluir "),p.qZA()}if(2&x){const v=p.oxw(2);p.Q6J("ngClass",v.attrStyle("danger"))}}function St(x,h){if(1&x&&(p.TgZ(0,"mat-cell"),p.YNc(1,ft,7,2,"div",23),p.YNc(2,vt,4,1,"button",24),p.qZA()),2&x){const v=h.$implicit;p.xp6(1),p.Q6J("ngIf",null==v?null:v.new),p.xp6(1),p.Q6J("ngIf",!(null!=v&&v.new))}}function Bt(x,h){1&x&&p._UZ(0,"mat-header-row")}const on=function(x){return{"highlight-row":x}};function Nt(x,h){if(1&x&&p._UZ(0,"mat-row",28),2&x){const v=h.$implicit;p.Q6J("ngClass",p.VKq(2,on,null==v?null:v.new))("cdkDragData",v)}}let ht=(()=>{class x{constructor(v,c,b,E){this.materialService=v,this.snack=c,this.dialog=b,this.mmc=E,this.displayedColumns=["posicao","linkS3","nome","categoria","actions"],this.historyDataSource=[],this.dataSource=[],this.rowsData=new p.vpe,this.dragDisabled=!0,this.breakpointSmall=window.innerWidth>=1325,this.tableDataSource=new Qe.by([])}ngOnInit(){this.historyDataSource=JSON.parse(JSON.stringify(this.dataSource))}ngOnChanges(v){v.dataSource&&(this.tableDataSource=new Qe.by(this.dataSource))}onResize(v){this.breakpointSmall=window.innerWidth>=1325}drop(v){this.reorderAndRenumberDataSource(v.previousIndex,v.currentIndex)}reorderAndRenumberDataSource(v,c){(0,Ke.bA)(this.dataSource,v,c),this.dataSource.forEach((b,E)=>{b.posicao=E+1}),this.tableDataSource=new Qe.by(this.dataSource)}compareObjectsByProperties(v,c,b){for(const E of b)if(v[E]!==c[E])return!1;return!0}inputChange(v){if(this.tableDataSource.data[v].id){const c=this.historyDataSource.find(E=>E.id===this.tableDataSource.data[v].id);this.compareObjectsByProperties(this.tableDataSource.data[v],c,["categoria","nome"])?delete this.tableDataSource.data[v].new:this.tableDataSource.data[v].new=!0}}onFileSelected(v,c){const b=v.target.files[0];this.isFileValid(b)?((new FormData).append("file",b),this.tableDataSource.data[c].file=v.target.files[0]):this.snack.open({message:"Por favor, selecione um arquivo .zip"})}isFileValid(v){return v.name.endsWith(".zip")}manageAct(v){var c=this;return(0,X.Z)(function*(){try{v.id?(c.validateUpdate(v),yield c.updateMaterial(v)):(c.validateAdd(v),yield c.addMaterial(v)),c.refreshMaterialList()}catch(b){c.snack.open({message:c.getErrorMessage(b)})}})()}validateUpdate(v){if(!v.nome)throw new Error("Verifique se preencheu os campos corretamente e tente novamente.")}validateAdd(v){if(!v.nome||!v.file)throw new Error("Verifique se preencheu os campos corretamente e tente novamente.")}updateMaterial(v){var c=this;return(0,X.Z)(function*(){const b={id:v.id,posicao:v.posicao,nome:v.nome,categoria:v.categoria};yield c.materialService.updateMaterial(b).pipe((0,we.q)(1)).toPromise()})()}addMaterial(v){var c=this;return(0,X.Z)(function*(){delete v.new;const b=pt.c.objectToFormData(v);yield c.materialService.addMaterial(b).pipe((0,we.q)(1)).toPromise(),c.snack.open({message:"Material inserido com sucesso."})})()}getErrorMessage(v){return v?.errors?.Files?v.errors.Files[0]:"Ocorreu um erro ao processar o material. Por favor, tente novamente mais tarde."}removeMaterial(v){this.openDeleteConfirmationDialog(v.nome).afterClosed().subscribe(b=>{b&&this.performMaterialRemoval(v.id)})}openDeleteConfirmationDialog(v){return this.dialog.open(Et.c,{minWidth:"45%",data:{title:"Esclus\xe3o de Material de Apoio",subtitle:`Tem certeza que deseja excluir o Material de Apoio: ${v}?
Essa \xe9 uma a\xe7\xe3o irrevers\xedvel.`,colorAct:"danger",textAct:"Excluir Material de Apoio",textDeny:"Cancelar"}})}performMaterialRemoval(v){this.materialService.deleteMaterial(v).subscribe({next:()=>{this.refreshMaterialList(),this.showSnackbarMessage("Material removido com sucesso.")},error:c=>{this.showSnackbarMessage(c.errors)}})}refreshMaterialList(){this.mmc.ngOnInit()}showSnackbarMessage(v){this.snack.open({message:v})}discardRegister(v,c){const{posicao:b}=v;v.id?(delete this.tableDataSource.data[c].new,this.tableDataSource.data[c]=this.historyDataSource.filter(E=>E.id===this.tableDataSource.data[c].id)):this.tableDataSource.data=this.tableDataSource.data.filter(E=>E.posicao!==b),this.rowsData.emit(!1)}refreshTable(){this.tableDataSource.data=[...this.tableDataSource.data]}attrStyle(v){return{"close-button":!0,"mat-button--medium":this.breakpointSmall,"mat-button--small":!this.breakpointSmall,["mat-button--"+(v||"success")]:!0}}}return x.\u0275fac=function(v){return new(v||x)(p.Y36(W.$),p.Y36(ae.o),p.Y36(ge.uw),p.Y36(Se))},x.\u0275cmp=p.Xpm({type:x,selectors:[["app-table-material"]],hostBindings:function(v,c){1&v&&p.NdJ("resize",function(E){return c.onResize(E)},!1,p.Jf7)},inputs:{dataSource:"dataSource"},outputs:{rowsData:"rowsData"},features:[p.TTD],decls:20,vars:4,consts:[[1,"table-responsive"],["cdkDropList","","cdkDropListData","dataSource",3,"dataSource","cdkDropListDisabled","cdkDropListDropped"],["table",""],["matColumnDef","posicao","sticky",""],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","linkS3"],["matColumnDef","nome"],["matColumnDef","categoria"],["matColumnDef","actions"],[4,"matHeaderRowDef"],["cdkDrag","",3,"ngClass","cdkDragData",4,"matRowDef","matRowDefColumns"],["class","dragCursor",3,"mousedown",4,"ngIf"],[1,"dragCursor",3,"mousedown"],["appearance","outline"],["matInput","","class","custon-field","type","file",3,"id","change",4,"ngIf"],["matInput","","type","text","disabled","","readonly","","class","bg-blocked",3,"value",4,"ngIf"],["matInput","","type","file",1,"custon-field",3,"id","change"],["matInput","","type","text","disabled","","readonly","",1,"bg-blocked",3,"value"],["appearance","outline",1,"mat-form-field-outline--bg-white"],["matInput","","type","text","name","nome","placeholder","T\xedtulo do material","maxlength","50",3,"value","ngModel","ngModelChange"],["name","categoria","ngDefaultControl","",3,"value","keyup"],[3,"value"],["class","action-buttons",4,"ngIf"],["class","delete-button","mat-stroked-button","",3,"ngClass","click",4,"ngIf"],[1,"action-buttons"],["mat-stroked-button","",3,"ngClass","click"],["mat-stroked-button","",1,"delete-button",3,"ngClass","click"],["cdkDrag","",3,"ngClass","cdkDragData"]],template:function(v,c){1&v&&(p.TgZ(0,"div",0)(1,"mat-table",1,2),p.NdJ("cdkDropListDropped",function(E){return c.drop(E)}),p.ynx(3,3),p.YNc(4,Qt,1,0,"mat-header-cell",4),p.YNc(5,Vt,2,1,"mat-cell",5),p.BQk(),p.ynx(6,6),p.YNc(7,qe,2,0,"mat-header-cell",4),p.YNc(8,M,4,2,"mat-cell",5),p.BQk(),p.ynx(9,7),p.YNc(10,J,2,0,"mat-header-cell",4),p.YNc(11,Ue,3,2,"mat-cell",5),p.BQk(),p.ynx(12,8),p.YNc(13,Ae,2,0,"mat-header-cell",4),p.YNc(14,Ee,5,3,"mat-cell",5),p.BQk(),p.ynx(15,9),p.YNc(16,De,2,0,"mat-header-cell",4),p.YNc(17,St,3,2,"mat-cell",5),p.BQk(),p.YNc(18,Bt,1,0,"mat-header-row",10),p.YNc(19,Nt,1,4,"mat-row",11),p.qZA()()),2&v&&(p.xp6(1),p.Q6J("dataSource",c.tableDataSource)("cdkDropListDisabled",c.dragDisabled),p.xp6(17),p.Q6J("matHeaderRowDef",c.displayedColumns),p.xp6(1),p.Q6J("matRowDefColumns",c.displayedColumns))},dependencies:[Ge.mk,Ge.O5,D.Fj,D.JJ,D.nD,D.On,Yt.oO,st.lW,_t.KE,et.Hw,mt.Nt,he.gD,G.ey,Ke.Wj,Ke.Zt,Qe.BZ,Qe.fO,Qe.as,Qe.w1,Qe.Dz,Qe.nj,Qe.ge,Qe.ev,Qe.XQ,Qe.Gk],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.dragCursor[_ngcontent-%COMP%]:hover{cursor:grab}.mat-header-cell[_ngcontent-%COMP%]{font-size:14px;font-weight:700} .mat-form-field-wrapper{padding-bottom:0!important} .mat-form-field-outline-start{min-width:10px!important;background:#fff} .mat-form-field-outline-start--block{background:#f4f4f4}.mat-row[_ngcontent-%COMP%], .mat-footer-row[_ngcontent-%COMP%]{padding:1% 0}.mat-cell[_ngcontent-%COMP%]:nth-child(1), .mat-header-cell[_ngcontent-%COMP%]:nth-child(1){flex:0 0 5%;padding-left:15px!important}.mat-cell[_ngcontent-%COMP%]:nth-child(3), .mat-header-cell[_ngcontent-%COMP%]:nth-child(3){flex:0 0 30%}.mat-cell[_ngcontent-%COMP%]:nth-child(5), .mat-header-cell[_ngcontent-%COMP%]:nth-child(5){flex:0 0 15%} .mat-form-field-infix{width:auto!important}.delete-button[_ngcontent-%COMP%]{width:100%} .mat-form-field-outline-end{background:#fff} .mat-form-field-outline-end--block{background:#f4f4f4}@media (min-width: 1326px){.mat-form-field[_ngcontent-%COMP%]{width:90%}.mat-cell[_ngcontent-%COMP%]:nth-child(1), .mat-header-cell[_ngcontent-%COMP%]:nth-child(1){flex:0 0 3.3%}}@media (max-width: 1325px){.mat-form-field[_ngcontent-%COMP%]{width:90%;font-size:12px} .mat-form-field-appearance-outline .mat-form-field-wrapper{width:90%!important} .mat-form-field-appearance-outline .mat-form-field-infix{padding:.5em 0!important}.delete-button[_ngcontent-%COMP%]{width:100%}.action-buttons[_ngcontent-%COMP%]{gap:5px}.action-buttons[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%]{min-width:50px!important}.action-buttons[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:21px;line-height:24px}}@media (max-width: 1090px){.mat-form-field[_ngcontent-%COMP%]{width:95%}.mat-cell[_ngcontent-%COMP%]:nth-child(5), .mat-header-cell[_ngcontent-%COMP%]:nth-child(5){padding-right:5px!important}.mat-cell[_ngcontent-%COMP%]:nth-child(1), .mat-header-cell[_ngcontent-%COMP%]:nth-child(1){padding-left:5px!important}.mat-header-cell[_ngcontent-%COMP%]{font-size:12px}.action-buttons[_ngcontent-%COMP%] .mat-stroked-button[_ngcontent-%COMP%]{min-width:45px!important}}@media (max-width: 920px){.filter-categorie[_ngcontent-%COMP%]{padding-bottom:5%}.mat-cell[_ngcontent-%COMP%]:nth-child(3), .mat-header-cell[_ngcontent-%COMP%]:nth-child(3){flex:0 0 27.7%}}@media (max-width: 600px){.table-responsive[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.table-responsive[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.table-responsive[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%]{width:100%;max-width:100%;display:table;border-collapse:collapse;margin:0}.table-responsive[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%], .table-responsive[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{word-wrap:initial;line-break:unset;width:133px;white-space:nowrap;overflow:hidden}}.action-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;justify-content:space-between}@media (min-width: 1444px){.action-buttons[_ngcontent-%COMP%]{justify-content:flex-start}.action-buttons[_ngcontent-%COMP%] .mat-button--success[_ngcontent-%COMP%]{margin-right:15px}}.action-buttons[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%}.highlight-row[_ngcontent-%COMP%]{background-color:#f4f4f4!important}input[type=file][_ngcontent-%COMP%]{font-size:9px}']}),x})();var xt=a(2399),Oe=a(811),Xe=a(3546),Y=a(4850);let oe=(()=>{class x{}return x.\u0275fac=function(v){return new(v||x)},x.\u0275mod=p.oAB({type:x}),x.\u0275inj=p.cJS({imports:[r.b2,D.u5,D.UX,u.Bz,xt.m,d.o9,ue,i.h,F.PW,T.yI.forRoot()]}),x})();p.B6R(Se,function(){return[Ge.sg,Ge.RF,Ge.n9,Ve.i,At.xw,At.SQ,At.Wh,At.yH,st.lW,Oe.A9,Oe.Yi,et.Hw,Xe.a8,Xe.dk,Xe.dn,Xe.n5,Xe.hq,Y.d,ht]},[])},1100:(Rt,je,a)=>{a.d(je,{$:()=>w});var r=a(1135),i=a(262),d=a(2843),D=a(4750),u=a(4650),T=a(2487),F=a(5037);let w=(()=>{class p{constructor(ae,se){this.api=ae,this.urlService=se,this.dataSource=new r.X([]),this.dataSource$=this.dataSource.asObservable()}getMaterials(ae){const se=this.urlService.getUrl("CMS.listMaterials",{});return this.api.get(se,{tipoItem:ae}).pipe((0,i.K)(le=>(0,d._)(le)))}newLineMaterialTable(ae){const se=this.dataSource.getValue();this.dataSource.next([...se,ae])}addMaterial(ae){const se=this.urlService.getUrl("CMS.addMaterial",{});return this.api.post(se,ae,{...D.c.createHeadersForFormData()})}updateMaterial(ae){const se=this.urlService.getUrl("CMS.updateMaterial",{});return this.api.post(se,ae)}deleteMaterial(ae){const se=this.urlService.getUrl("CMS.removeMaterial",{});return this.api.delete(se,{body:{id:ae}})}sortGroupMaterial(ae){const se=this.urlService.getUrl("CMS.updateGroupMaterials",{});return this.api.post(se,ae)}}return p.\u0275fac=function(ae){return new(ae||p)(u.LFG(T.s),u.LFG(F.i))},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})()},61:(Rt,je,a)=>{a.r(je),a.d(je,{LandingModule:()=>Ie});var r=a(1481),i=a(4650);let d=(()=>{class ee{constructor(){}getDeviceType(){const Pt=window.innerWidth*(window.devicePixelRatio||1);return Pt<576?"mobile":Pt<992?"tablet":Pt<2e3?"desktop":"large"}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),D=(()=>{class ee{constructor(be){this.deviceService=be}getBanners(){const Pt=["_desktop","_desktop_2"];return({mobile:["_mobile","_mobile_2"],tablet:["_tablet","_tablet_2"],desktop:Pt,large:Pt}[this.deviceService.getDeviceType()]||[]).map(Fn=>({src:`banner_home${Fn}.jpg`,ref:Fn.includes("_2")?"/capacitacao":"/"}))}}return ee.\u0275fac=function(be){return new(be||ee)(i.LFG(d))},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var u=a(6998),T=a(4944),F=a(394),w=a(43),p=a(2761),W=a(6895),ae=a(1576),se=a(5829),le=a(3546);const me=function(ee){return[ee]};function fe(ee,Te){if(1&ee&&(i.TgZ(0,"mat-card",7)(1,"mat-card-content"),i._UZ(2,"img",8),i.TgZ(3,"h2"),i._uU(4),i.qZA()()()),2&ee){const be=Te.$implicit;i.Q6J("routerLink",i.VKq(7,me,"/"+be.flag))("ngClass.gt-sm","category-card")("ngClass.lt-md","category-card-small"),i.xp6(2),i.Q6J("src",be.img,i.LSH),i.xp6(1),i.Udp("line-height",21,"px"),i.xp6(1),i.Oqu(be.name)}}function Se(ee,Te){if(1&ee&&(i.ynx(0),i.TgZ(1,"div",5),i.YNc(2,fe,5,9,"mat-card",6),i.qZA(),i.BQk()),2&ee){const be=i.oxw();i.xp6(1),i.Udp("width",100,"%"),i.xp6(1),i.Q6J("ngForOf",be.categories)}}let Ze=(()=>{class ee{constructor(){this.categories=w.Ec}ngOnInit(){}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-categories-content"]],inputs:{subtitle:"subtitle",description:"description"},decls:7,vars:3,consts:[["fxLayout","row wrap","fxLayoutAlign","center center",1,"exploring-content"],["fxFlex.gt-lg","90","fxFlex.gt-sm","90","fxFlex.lt-md","90"],[1,"subtitle"],[1,"description"],[4,"ngIf"],["fxFlex","99","fxLayout","row wrap","fxLayoutGap.gt-sm","30px","fxFlexLayoutGap.lt-md","15px","fxLayoutAlign","center center",1,"categories-container"],["fxFlex.gt-sm","20","fxFlex.lt-md","45",3,"routerLink","ngClass.gt-sm","ngClass.lt-md",4,"ngFor","ngForOf"],["fxFlex.gt-sm","20","fxFlex.lt-md","45",3,"routerLink","ngClass.gt-sm","ngClass.lt-md"],[3,"src"]],template:function(be,ve){1&be&&(i.TgZ(0,"section",0)(1,"div",1)(2,"h2",2),i._uU(3),i.qZA(),i.TgZ(4,"h3",3),i._uU(5),i.qZA()(),i.YNc(6,Se,3,3,"ng-container",4),i.qZA()),2&be&&(i.xp6(3),i.Oqu(ve.subtitle),i.xp6(2),i.Oqu(ve.description),i.xp6(1),i.Q6J("ngIf",ve.categories&&ve.categories.length>0))},dependencies:[p.rH,W.sg,W.O5,ae.xw,ae.SQ,ae.Wh,ae.yH,se.oO,le.a8,le.dn],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.exploring-content[_ngcontent-%COMP%]{padding:2% 0 5%;text-align:center}.exploring-content[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{padding-bottom:2%;color:#003b71}.exploring-content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{padding-bottom:2%}.exploring-content[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{padding:5% 4%}.exploring-content[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]:hover{cursor:pointer}.exploring-content[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:1%}.exploring-content[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 960px){.exploring-content[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{margin:1%}}@media (max-width: 600px){.exploring-content[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{margin:2%;padding:5%}}','@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.categories-content[_ngcontent-%COMP%]{text-align:center}.categories-content[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{color:#003b71}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%]{padding:2% 0;width:auto}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{padding:1%}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]:hover{cursor:pointer}@media (max-width: 960px){.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{margin:1%}}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;margin:3% 0}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .categorie-name[_ngcontent-%COMP%]{font-size:19px}@media (max-width: 600px){.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .categorie-name[_ngcontent-%COMP%]{font-size:14px}}'],data:{animation:[F.V,(0,F.B)()]}}),ee})();function Ne(ee,Te){if(1&ee&&(i.TgZ(0,"mat-card",6)(1,"a",7)(2,"mat-card-content"),i._UZ(3,"img",8),i.TgZ(4,"h3",9),i._uU(5),i.qZA()()()()),2&ee){const be=Te.$implicit;i.xp6(1),i.Q6J("href","/categoria/"+be.flag,i.LSH),i.xp6(1),i.Udp("margin-bottom",0,"px"),i.xp6(1),i.Q6J("src",be.img,i.LSH),i.xp6(2),i.Oqu(be.name)}}let gt=(()=>{class ee{constructor(){this.categories=w.Dh}ngOnInit(){}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-categories-products"]],inputs:{subtitle:"subtitle",description:"description"},decls:8,vars:5,consts:[["fxLayout","row wrap","fxLayoutAlign","center center",1,"categories-content"],["fxFlex.gt-lg","65","fxFlex.gt-sm","80","fxFlex.lt-md","90"],[1,"subtitle"],[1,"description"],["fxflex","100","fxLayout","row wrap","fxLayoutGap.gt-sm","35px","fxLayoutAlign","center center",1,"categories-container"],["fxFlex.lt-md","30","fxFlex.gt-sm","30","fxLayout","column","class","mat-elevation-z5 mat-card--elevation",4,"ngFor","ngForOf"],["fxFlex.lt-md","30","fxFlex.gt-sm","30","fxLayout","column",1,"mat-elevation-z5","mat-card--elevation"],[2,"text-decoration","none","color","black",3,"href"],[3,"src"],[1,"categorie-name"]],template:function(be,ve){1&be&&(i.TgZ(0,"section",0)(1,"div",1)(2,"h2",2),i._uU(3),i.qZA(),i.TgZ(4,"h3",3),i._uU(5),i.qZA()(),i.TgZ(6,"div",4),i.YNc(7,Ne,6,5,"mat-card",5),i.qZA()()),2&be&&(i.xp6(2),i.Udp("padding-bottom",1,"%"),i.xp6(1),i.Oqu(ve.subtitle),i.xp6(2),i.hij(" ",ve.description," "),i.xp6(2),i.Q6J("ngForOf",ve.categories))},dependencies:[W.sg,ae.xw,ae.SQ,ae.Wh,ae.yH,le.a8,le.dn],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.categories-content[_ngcontent-%COMP%]{text-align:center}.categories-content[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{color:#003b71}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%]{padding:2% 0;width:auto}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{padding:1%}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]:hover{cursor:pointer}@media (max-width: 960px){.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{margin:1%}}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;margin:3% 0}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700}.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .categorie-name[_ngcontent-%COMP%]{font-size:19px}@media (max-width: 600px){.categories-content[_ngcontent-%COMP%] .categories-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .categorie-name[_ngcontent-%COMP%]{font-size:14px}}']}),ee})(),N=(()=>{class ee{constructor(be){this.bannerService=be,this.banners=[]}ngOnInit(){this.banners=this.bannerService.getBanners()}}return ee.\u0275fac=function(be){return new(be||ee)(i.Y36(D))},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-landing"]],decls:4,vars:5,consts:[[3,"images"],["title","O mundo Apple ao
seu alcance","subtitle","Cat\xe1logo com produtos exclusivos para potencializar ainda mais suas vendas."],[3,"subtitle","description"]],template:function(be,ve){1&be&&i._UZ(0,"app-banner-carousel",0)(1,"app-headline-content",1)(2,"app-categories-products",2)(3,"app-categories-content",2),2&be&&(i.Q6J("images",ve.banners),i.xp6(2),i.Q6J("subtitle","Navegue pelas categorias")("description","Encontre o produto ideal as necessidades dos seus clientes."),i.xp6(1),i.Q6J("subtitle","Explore conte\xfados")("description","Maximize seus conhecimentos, com informa\xe7\xf5es, treinamentos e materiais promocionais, tudo para tornar sua experi\xeancia de vendas ainda melhor."))},dependencies:[u.A,T.k,Ze,gt]}),ee})();const B={categorie:{name:"iPhones",flag:"smartphones",description:"Texto descritivo"},items:[{product:"iPhone 14",colors:["#48494d","#2b4e62","#f1f1f1","#ffc954","#e66b4a"],options:[{price:7590,color:"dark",imgRef:"assets/images/smartphones/iPhone_14.png",hexColor:"#48494d",selected:!0,descriptionPrice:"A partir de R$ 633,25/m\xeas ou R$ 7.590*",details:{sos:"SOS de Emerg\xeancia; Detec\xe7\xe3o de Acidente2",screen:"6,7 pol. ou 6,1 pol.; Tela Super Retina XDR1",camera:"Sistema avan\xe7ado de c\xe2mera dupla Grande-angular de 12 MPUltra-angular Photonic Engine para detalhes e cores incr\xedveisC\xe2mera frontal TrueDepthcom foco autom\xe1tico. Modo A\xe7\xe3o para v\xeddeos \xe0 m\xe3o livre mais est\xe1veis",battery:"At\xe9 26 horas dereprodu\xe7\xe3o de v\xeddeo3",network:"5G",subtitle:"",description:"Description: breve descri\xe7\xe3o introdut\xf3ria e suficiente para entendimento global do produto.",blockOptions:"FaceID"},brandInformation:[{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:1},{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:2},{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:1},{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:2}]}]},{product:"iPhone 14 Pro",colors:["#48494d","#2b4e62","#f1f1f1","#ffc954","#e66b4a"],options:[{price:7590,color:"dark",imgRef:"assets/images/smartphones/iPhone_14.png",hexColor:"#222",selected:!0,descriptionPrice:"A partir de R$ 633,25/m\xeas ou R$ 7.590*",details:{sos:"SOS de Emerg\xeancia; Detec\xe7\xe3o de Acidente2",screen:"6,7 pol. ou 6,1 pol.; Tela Super Retina XDR1",camera:"Sistema avan\xe7ado de c\xe2mera dupla Grande-angular de 12 MPUltra-angular Photonic Engine para detalhes e cores incr\xedveisC\xe2mera frontal TrueDepthcom foco autom\xe1tico. Modo A\xe7\xe3o para v\xeddeos \xe0 m\xe3o livre mais est\xe1veis",battery:"At\xe9 26 horas dereprodu\xe7\xe3o de v\xeddeo3",network:"5G",subtitle:"",description:"Description: breve descri\xe7\xe3o introdut\xf3ria e suficiente para entendimento global do produto.",blockOptions:"FaceID"},brandInformation:[{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:1},{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:2},{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:1},{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:2}]}]},{product:"iPhone 14 Pro Max",colors:["#48494d","#2b4e62","#f1f1f1","#ffc954","#e66b4a"],options:[{price:7590,color:"dark",imgRef:"assets/images/smartphones/iPhone_14.png",hexColor:"#222",selected:!0,descriptionPrice:"A partir de R$ 633,25/m\xeas ou R$ 7.590*",details:{sos:"SOS de Emerg\xeancia; Detec\xe7\xe3o de Acidente2",screen:"6,7 pol. ou 6,1 pol.; Tela Super Retina XDR1",camera:"Sistema avan\xe7ado de c\xe2mera dupla Grande-angular de 12 MPUltra-angular Photonic Engine para detalhes e cores incr\xedveisC\xe2mera frontal TrueDepthcom foco autom\xe1tico. Modo A\xe7\xe3o para v\xeddeos \xe0 m\xe3o livre mais est\xe1veis",battery:"At\xe9 26 horas dereprodu\xe7\xe3o de v\xeddeo3",network:"5G",subtitle:"",description:"Description: breve descri\xe7\xe3o introdut\xf3ria e suficiente para entendimento global do produto.",blockOptions:"FaceID"},brandInformation:[{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:1},{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:2},{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:1},{title:"caracter\xedsticas especiais",description:"Texto explicativo sobre uma caracter\xedstica que pode/precise ser destacada a fim de impressionar, acrescentar argumento ou qualquer outro motivo.",img:"http://lorempixel.com.br/450/280",imgOrder:2}]}]},{product:"iPhone 14 Mini",colors:["#48494d","#2b4e62","#f1f1f1","#ffc954","#e66b4a"],options:[{price:7590,color:"dark",imgRef:"assets/images/smartphones/iPhone_14.png",hexColor:"#222",selected:!0,descriptionPrice:"A partir de R$ 633,25/m\xeas ou R$ 7.590*",details:{sos:"SOS de Emerg\xeancia; Detec\xe7\xe3o de Acidente2",screen:"6,7 pol. ou 6,1 pol.; Tela Super Retina XDR1",camera:"Sistema avan\xe7ado de c\xe2mera dupla Grande-angular de 12 MPUltra-angular Photonic Engine para detalhes e cores incr\xedveisC\xe2mera frontal TrueDepthcom foco autom\xe1tico. Modo A\xe7\xe3o para v\xeddeos \xe0 m\xe3o livre mais est\xe1veis",battery:"At\xe9 26 horas dereprodu\xe7\xe3o de v\xeddeo3",network:"5G",subtitle:"",description:"Description: breve descri\xe7\xe3o introdut\xf3ria e suficiente para entendimento global do produto.",blockOptions:"FaceID"}}]}]};var X=a(7009),ie=a(4859);function pe(ee,Te){if(1&ee&&(i.TgZ(0,"p",2),i._uU(1),i.qZA()),2&ee){const be=i.oxw();i.xp6(1),i.Oqu(null==be.options?null:be.options.at(0).details.description)}}let we=(()=>{class ee{constructor(){}ngOnInit(){}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-list-options"]],inputs:{options:"options",inactivate:"inactivate"},decls:28,vars:8,consts:[["class","details-description",4,"ngIf"],[1,"price-description"],[1,"details-description"]],template:function(be,ve){1&be&&(i.YNc(0,pe,2,1,"p",0),i.TgZ(1,"ul")(2,"li")(3,"span"),i._uU(4,"Tela:"),i.qZA(),i._uU(5),i.qZA(),i.TgZ(6,"li")(7,"span"),i._uU(8,"SOS:"),i.qZA(),i._uU(9),i.qZA(),i.TgZ(10,"li")(11,"span"),i._uU(12,"C\xe2mera:"),i.qZA(),i._uU(13),i.qZA(),i.TgZ(14,"li")(15,"span"),i._uU(16,"Bateria:"),i.qZA(),i._uU(17),i.qZA(),i.TgZ(18,"li")(19,"span"),i._uU(20,"Bloqueio:"),i.qZA(),i._uU(21),i.qZA(),i.TgZ(22,"li")(23,"span"),i._uU(24,"Rede:"),i.qZA(),i._uU(25),i.qZA()(),i.TgZ(26,"p",1),i._uU(27),i.qZA()),2&be&&(i.Q6J("ngIf",!(null!=ve.inactivate&&ve.inactivate.description)),i.xp6(5),i.hij(" ",null==ve.options?null:ve.options.at(0).details.screen," "),i.xp6(4),i.hij(" ",null==ve.options?null:ve.options.at(0).details.sos," "),i.xp6(4),i.hij(" ",null==ve.options?null:ve.options.at(0).details.camera," "),i.xp6(4),i.hij(" ",null==ve.options?null:ve.options.at(0).details.battery," "),i.xp6(4),i.hij(" ",null==ve.options?null:ve.options.at(0).details.blockOptions," "),i.xp6(4),i.hij(" ",null==ve.options?null:ve.options.at(0).details.network," "),i.xp6(2),i.Oqu(null==ve.options?null:ve.options.at(0).descriptionPrice))},dependencies:[W.O5],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";ul[_ngcontent-%COMP%]{padding:0;margin-top:1%;list-style-type:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:1.5% 0;font-size:12px;line-height:14px}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#515154}.details-description[_ngcontent-%COMP%]{font-size:12px;line-height:16px}.price-description[_ngcontent-%COMP%]{font-size:11px;font-style:italic;color:#767676}']}),ee})();function ne(ee,Te){if(1&ee&&(i.TgZ(0,"section",1)(1,"div",2)(2,"h3",3),i._uU(3),i.qZA(),i.TgZ(4,"p",4),i._uU(5),i.qZA()(),i.TgZ(6,"div",5),i._UZ(7,"img",6),i.qZA()()),2&ee){const be=Te.$implicit;i.xp6(1),i.Q6J("fxFlexOrder.gt-sm",1==be.imgOrder?"2":be.imgOrder),i.xp6(2),i.Oqu(be.title),i.xp6(2),i.hij(" ",be.description," "),i.xp6(1),i.Q6J("fxFlexOrder.gt-sm",be.imgOrder),i.xp6(1),i.Q6J("src",be.img,i.LSH)}}let ge=(()=>{class ee{constructor(){}ngOnInit(){}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-information-pcontent"]],inputs:{information:"information"},decls:1,vars:1,consts:[["fxLayout","row wrap","fxLayoutAlign","center center","class","product-information-content",4,"ngFor","ngForOf"],["fxLayout","row wrap","fxLayoutAlign","center center",1,"product-information-content"],["fxFlex.gt-sm","50","fxFlex","100",1,"descrip-content",3,"fxFlexOrder.gt-sm"],[1,"subtitle"],[1,"description"],["fxFlex.gt-sm","50","fxFlex","100",3,"fxFlexOrder.gt-sm"],["width","100%","height","auto",3,"src"]],template:function(be,ve){1&be&&i.YNc(0,ne,8,5,"section",0),2&be&&i.Q6J("ngForOf",ve.information)},dependencies:[W.sg,ae.xw,ae.Wh,ae.r7,ae.yH],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.product-information-content[_ngcontent-%COMP%]{padding:1% 5%}.product-information-content[_ngcontent-%COMP%] .descrip-content[_ngcontent-%COMP%]{padding:0 2%}.product-information-content[_ngcontent-%COMP%] .descrip-content[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{margin-bottom:5%;font-size:30px}.product-information-content[_ngcontent-%COMP%] .descrip-content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:14px;font-weight:500}@media (max-width: 960px){.product-information-content[_ngcontent-%COMP%]{padding:1% 3%}.product-information-content[_ngcontent-%COMP%] .descrip-content[_ngcontent-%COMP%]{padding:3% 0}}.product-information-content[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:center;padding:2%}']}),ee})();const Ve=function(ee){return{background:ee}};function Je(ee,Te){1&ee&&i._UZ(0,"div",14),2&ee&&i.Akn(i.VKq(2,Ve,Te.$implicit))}const pt=function(){return{description:!0}},Ge=function(){return["/produto/"]};let At=(()=>{class ee{constructor(be,ve){this.activeRouter=be,this._snack=ve,this.activeRouter.params.subscribe({next:Pt=>{this.product=B.items.find(qt=>qt.product==Pt.product.split("-").join(" "))}})}ngOnInit(){}invoice(be){this._snack.open(`${be} adicionado.`,"OK",{duration:7e3,panelClass:"custom-snack"})}}return ee.\u0275fac=function(be){return new(be||ee)(i.Y36(p.gz),i.Y36(X.ux))},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-product-details"]],decls:20,vars:11,consts:[["fxLayout","row wrap","fxLayoutGap","10px","fxLayoutAlign","start center",1,"product-content"],["fxFlex.gt-sm","33","fxFlex","100",1,"img-content"],[3,"src","alt"],["fxFlex.gt-sm","60","fxflex","100"],[1,"subtitle"],[1,"descrip-content"],[1,"details-description"],[1,"colors-content"],["class","circle mat-elevation-z1","href","#",3,"style",4,"ngFor","ngForOf"],[3,"options","inactivate"],["fxLayout","row"],["mat-raised-button","","color","primary",1,"mat-button--small",3,"click"],["mat-button","","color","primary",1,"mat-button--small","underline",3,"routerLink"],[3,"information"],["href","#",1,"circle","mat-elevation-z1"]],template:function(be,ve){1&be&&(i.TgZ(0,"section",0)(1,"div",1),i._UZ(2,"img",2),i.qZA(),i.TgZ(3,"div",3)(4,"h1",4),i._uU(5),i.qZA(),i.TgZ(6,"div",5)(7,"p",6),i._uU(8),i.qZA(),i.TgZ(9,"div",7),i.YNc(10,Je,1,4,"div",8),i.qZA(),i._UZ(11,"app-list-options",9),i.qZA(),i.TgZ(12,"div",10)(13,"div")(14,"button",11),i.NdJ("click",function(){return ve.invoice(null==ve.product?null:ve.product.product)}),i._uU(15," Solicitar or\xe7amento agora! "),i.qZA()(),i.TgZ(16,"div")(17,"button",12),i._uU(18," ver mais > "),i.qZA()()()()(),i._UZ(19,"app-information-pcontent",13)),2&be&&(i.xp6(2),i.Q6J("src",null==ve.product?null:ve.product.options.at(0).imgRef,i.LSH)("alt",null==ve.product?null:ve.product.product),i.xp6(3),i.Oqu(null==ve.product?null:ve.product.product),i.xp6(3),i.hij(" ",null==ve.product?null:ve.product.options.at(0).details.description," "),i.xp6(2),i.Q6J("ngForOf",null==ve.product?null:ve.product.colors),i.xp6(1),i.Q6J("options",null==ve.product?null:ve.product.options)("inactivate",i.DdM(9,pt)),i.xp6(6),i.Q6J("routerLink",i.DdM(10,Ge)),i.xp6(2),i.Q6J("information",null==ve.product?null:ve.product.options.at(0).brandInformation))},dependencies:[p.rH,W.sg,ae.xw,ae.SQ,ae.Wh,ae.yH,ie.lW,we,ge],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.product-content[_ngcontent-%COMP%]{padding:5% 5% 3%}.product-content[_ngcontent-%COMP%] .img-content[_ngcontent-%COMP%]{text-align:center}.product-content[_ngcontent-%COMP%] .img-content[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:80%}@media (max-width: 600px){.product-content[_ngcontent-%COMP%] .img-content[_ngcontent-%COMP%]{padding-bottom:3%}}.product-content[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{font-weight:900}.product-content[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%], .product-content[_ngcontent-%COMP%] .details_description[_ngcontent-%COMP%]{margin-bottom:1%;text-align:left!important}.product-content[_ngcontent-%COMP%] .details_description[_ngcontent-%COMP%]{font-size:12px}.product-content[_ngcontent-%COMP%] .descrip-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;margin-top:1%;list-style-type:none}.product-content[_ngcontent-%COMP%] .descrip-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:1.3% 0;font-size:12px;line-height:14px}.product-content[_ngcontent-%COMP%] .descrip-content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#515154}.product-content[_ngcontent-%COMP%] .descrip-content[_ngcontent-%COMP%] .details-description[_ngcontent-%COMP%]{font-size:12px;line-height:16px}.product-content[_ngcontent-%COMP%] .descrip-content[_ngcontent-%COMP%] .price-description[_ngcontent-%COMP%]{font-size:11px;font-style:italic;color:#767676}.product-content[_ngcontent-%COMP%] .colors-content[_ngcontent-%COMP%]{gap:10px;display:flex}.product-content[_ngcontent-%COMP%] .colors-content[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{width:12px;height:12px;border-radius:20px}']}),ee})();var st=a(6526),_t=a(6290);let et=(()=>{class ee{constructor(){}ngOnInit(){}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-landing"]],decls:3,vars:0,template:function(be,ve){1&be&&i._UZ(0,"app-header")(1,"router-outlet")(2,"app-footer")},dependencies:[p.lC,st.c,_t.G]}),ee})();var mt=a(9362),he=a(5861);let G=(()=>{class ee{constructor(be,ve){this.sanitizer=be,this.routerParams=ve}ngOnInit(){var be=this;this.routerParams.params.subscribe(function(){var ve=(0,he.Z)(function*(Pt){be.params=Pt,be.urlSrc=be.sanitizer.bypassSecurityTrustResourceUrl("assets/apple-content/"+(yield Pt.categorie)+"/index.html")});return function(Pt){return ve.apply(this,arguments)}}())}}return ee.\u0275fac=function(be){return new(be||ee)(i.Y36(r.H7),i.Y36(p.gz))},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-apple-safehtml"]],decls:2,vars:3,consts:[["frameborder","0",2,"margin-bottom","1%",3,"src"],["subtitle","Navegue pelas categorias","description","Encontre o produto ideal as necessidades dos seus clientes."]],template:function(be,ve){1&be&&i._UZ(0,"iframe",0)(1,"app-categories-products",1),2&be&&(i.Tol("size-"+(null==ve.params?null:ve.params.categorie)),i.Q6J("src",ve.urlSrc,i.uOi))},dependencies:[gt],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";iframe[_ngcontent-%COMP%]{width:100%}.size-ipad[_ngcontent-%COMP%]{height:1999.92px}@media (max-width: 1085px){.size-ipad[_ngcontent-%COMP%]{height:1961.59px}}@media (max-width: 751px){.size-ipad[_ngcontent-%COMP%]{height:2102.22px}}.size-smartphones[_ngcontent-%COMP%]{height:2135.45px}@media (max-width: 1085px){.size-smartphones[_ngcontent-%COMP%]{height:2198.67px}}@media (max-width: 751px){.size-smartphones[_ngcontent-%COMP%]{height:2419.94px}}.size-mac[_ngcontent-%COMP%]{height:1643.14px}@media (max-width: 1085px){.size-mac[_ngcontent-%COMP%]{height:1707.45px}}@media (max-width: 751px){.size-mac[_ngcontent-%COMP%]{height:1779.5px}}']}),ee})();var de=a(2289),ye=a(4004),xe=a(5282),Dt=a(5037),Fe=a(1100),$e=a(4845),ce=a(445),it=a(811),ue=a(6338);function Ke(ee,Te){if(1&ee){const be=i.EpF();i.TgZ(0,"mat-button-toggle",7),i.NdJ("click",function(){const qt=i.CHM(be).$implicit,Cn=i.oxw();return i.KtG(Cn.changeOption(qt.flag))}),i._uU(1),i.qZA()}if(2&ee){const be=Te.$implicit,ve=i.oxw();i.Q6J("value",be.flag)("checked",ve.chooseOption===be.flag),i.xp6(1),i.Oqu(be.categorieName)}}function Qe(ee,Te){if(1&ee&&(i.TgZ(0,"mat-list")(1,"mat-list-item")(2,"p"),i._uU(3),i.qZA()()()),2&ee){const be=i.oxw();i.xp6(2),i.Udp("margin",0,"%"),i.xp6(1),i.hij(" Ainda n\xe3o possu\xedmos arquivos da categoria ",be.flagOpt[be.chooseOption],", atualizaremos em breve! ")}}const Et=function(ee){return{"mat-button--small":ee}};function Yt(ee,Te){if(1&ee&&(i.TgZ(0,"mat-list-item")(1,"div",9)(2,"div",10),i._UZ(3,"img",11),i.qZA(),i.TgZ(4,"div",12)(5,"div",13)(6,"h2",14),i._uU(7),i.qZA(),i.TgZ(8,"p",15),i._uU(9),i.TgZ(10,"span"),i._uU(11),i.ALo(12,"date"),i.qZA()()(),i.TgZ(13,"div",16)(14,"a",17),i.ALo(15,"async"),i._uU(16," Download.zip "),i.qZA()()()()()),2&ee){const be=Te.$implicit,ve=i.oxw(2);i.Udp("width",100,"%"),i.xp6(1),i.Udp("width",100,"%"),i.xp6(6),i.Oqu(be.nome),i.xp6(2),i.hij(" Pe\xe7as de ",be.categoria," "),i.xp6(2),i.AsE("",be.qtdImagens," items - ",i.xi3(12,10,be.updatedAt?be.updatedAt:be.createdAt,"dd/MM/YYYY HH:mm"),""),i.xp6(3),i.Q6J("ngClass",i.VKq(15,Et,i.lcZ(15,13,ve.isHandset)))("href",be.linkS3,i.LSH)}}function Qt(ee,Te){if(1&ee&&(i.TgZ(0,"mat-list"),i.YNc(1,Yt,17,17,"mat-list-item",8),i.qZA()),2&ee){const be=i.oxw();i.xp6(1),i.Q6J("ngForOf",be.listingMaterial)}}let Wt=(()=>{class ee{constructor(be,ve,Pt,qt){this.breakpointObserver=be,this.urlService=ve,this.materialService=Pt,this.snack=qt,this.supportMatCategories=xe.Z,this.chooseOption="mac",this.flagOpt={iphone:"iPhone",mac:"Mac",ipad:"iPad",others:"Outros arquivos"}}ngOnInit(){this.isHandset=this.breakpointObserver.observe(de.u3.Handset).pipe((0,ye.U)(be=>be.matches)),this.loadMaterial()}changeOption(be){this.listingMaterial=!1,this.chooseOption=be,this.urlService.upParameter(this.chooseOption),this.loadMaterial()}loadMaterial(){this.materialService.getMaterials(this.chooseOption).subscribe({next:be=>{this.listingMaterial=be.data.mediasZip},error:be=>{this.snack.open({message:be.errors[0]})}})}}return ee.\u0275fac=function(be){return new(be||ee)(i.Y36(de.Yg),i.Y36(Dt.i),i.Y36(Fe.$),i.Y36($e.o))},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-support-material"]],decls:13,vars:3,consts:[[1,"support-material-section"],[1,"headline-content"],[1,"title"],[1,"description"],["name","choosenCategorie"],[3,"value","checked","click",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value","checked","click"],[3,"width",4,"ngFor","ngForOf"],["fxLayout","row wrap","fxLayoutGap.gt-xs","10px","fxLayoutGap.xs","20px","fxLayoutAlign","space-between center center"],["fxFlex.gt-sm","10","fxFlex.xs","20",1,"img-content"],["src","assets/icons/zippack_icon.png","matListItemIcon",""],["fxFlex","","fxLayout","row wrap","fxLayoutAlign.gt-sm","space-around center","fxLayoutAlign","start center","fxLayoutGap","10px"],["fxFlex.xs","99","fxFlex.gt-xs","60","fxFlex.gt-md","70",1,"text-content"],["matListItemTitle",""],["matListItemLine",""],["fxFlex.xs","99","fxFlex.gt-xs","33","fxFlex.gt-md","20",1,"act"],["mat-raised-button","","color","warn","dir","rtl",3,"ngClass","href"]],template:function(be,ve){1&be&&(i.TgZ(0,"section",0)(1,"mat-card")(2,"mat-card-header")(3,"div",1)(4,"h1",2),i._uU(5,"Material de Apoio"),i.qZA(),i.TgZ(6,"h3",3),i._uU(7," Baixe os arquivos de Comunica\xe7\xe3o e Marketing separados por fam\xedlias de produtos Apple. "),i.qZA()()(),i.TgZ(8,"mat-card-content")(9,"mat-button-toggle-group",4),i.YNc(10,Ke,2,3,"mat-button-toggle",5),i.qZA(),i.YNc(11,Qe,4,3,"mat-list",6),i.YNc(12,Qt,2,1,"mat-list",6),i.qZA()()()),2&be&&(i.xp6(10),i.Q6J("ngForOf",ve.supportMatCategories),i.xp6(1),i.Q6J("ngIf",ve.listingMaterial&&!ve.listingMaterial.length),i.xp6(1),i.Q6J("ngIf",ve.listingMaterial&&ve.listingMaterial.length))},dependencies:[W.mk,W.sg,W.O5,ae.xw,ae.SQ,ae.Wh,ae.yH,se.oO,ie.zs,ce.Lv,it.A9,it.Yi,le.a8,le.dk,le.dn,ue.i$,ue.Tg,W.Ov,W.uU],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.support-material-section[_ngcontent-%COMP%]{background:#fff;padding:3% 7% 5%}.support-material-section[_ngcontent-%COMP%] .headline-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#a52868}@media (max-width: 960px){.support-material-section[_ngcontent-%COMP%]{padding:3%}}@media (min-width: 1920px) and (max-width: 1199px){.support-material-section[_ngcontent-%COMP%]{padding:3% 5% 5%}}@media (max-width: 400px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{padding:11px}}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-button-toggle-group[_ngcontent-%COMP%]{justify-content:center;flex-wrap:wrap}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%]{width:100%;justify-content:center}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] .headline-content[_ngcontent-%COMP%]{padding:3% 0}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] .headline-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:43px;padding-bottom:18px}@media (max-width: 600px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] .headline-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:30px;margin:3% 0 2%}}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] .mat-card-header-text[_ngcontent-%COMP%]{padding-top:3%;width:100%!important}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{padding:1% 3%}@media (max-width: 400px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{padding:0}}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%]{padding:5% 0 3%}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{border-radius:10px;padding:2% 0;cursor:pointer}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-list-item-content[_ngcontent-%COMP%]{padding:0!important}@media (max-width: 1280px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{padding:3% 0}}@media (max-width: 960px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{padding:4% 0}}@media (max-width: 600px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{padding:8% 0}}@media (max-width: 400px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{padding:13% 0}}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .mat-list-item-content[_ngcontent-%COMP%]{display:block;width:100%}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:#FFEFDC}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .act[_ngcontent-%COMP%], .support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%]{width:100%}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .img-content[_ngcontent-%COMP%]{margin:0 auto;text-align:center}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%]{font-weight:700}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:600}@media (max-width: 1080px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px}}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:13px;line-height:13px}@media (max-width: 1080px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:11px}}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:3px}@media (max-width: 960px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:15px!important}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:10px;margin-bottom:2%}}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .act[_ngcontent-%COMP%]{float:right;text-align:right}@media (max-width: 960px){.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .act[_ngcontent-%COMP%]{margin-bottom:2%}}.support-material-section[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%] .act[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%} .mat-card-header-text{margin:0!important}']}),ee})(),Vt=(()=>{class ee{constructor(){}ngOnInit(){}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-marketing"]],decls:2,vars:2,consts:[[1,"bg-color"]],template:function(be,ve){1&be&&i._UZ(0,"app-support-material")(1,"div",0),2&be&&(i.xp6(1),i.Udp("padding-top",3,"%"))},dependencies:[Wt],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.header-content[_ngcontent-%COMP%]{padding:5% 0}']}),ee})();var qe=a(2902),te=a(2340),S=a(4826);function M(ee,Te){if(1&ee&&(i.TgZ(0,"mat-card",5)(1,"mat-card-content",6)(2,"div",7)(3,"div")(4,"h3"),i._uU(5),i.qZA(),i.TgZ(6,"a",8),i._uU(7," Download PDF "),i.qZA()()(),i.TgZ(8,"div",9),i._UZ(9,"img",10),i.qZA()()()),2&ee){const be=i.oxw().$implicit;i.xp6(5),i.Oqu(be.title),i.xp6(1),i.Q6J("href",be.pdf,i.LSH),i.xp6(3),i.Q6J("src",be.img,i.LSH)("alt",be.title)}}function J(ee,Te){1&ee&&i.YNc(0,M,10,4,"ng-template",4)}function Ue(ee,Te){if(1&ee&&(i.TgZ(0,"mat-card",5)(1,"mat-card-content",6)(2,"div",7)(3,"div")(4,"h3"),i._uU(5),i.qZA(),i.TgZ(6,"a",8),i._uU(7," Download PDF "),i.qZA()()(),i.TgZ(8,"div",9),i._UZ(9,"img",10),i.qZA()()()),2&ee){const be=Te.$implicit;i.Udp("margin-bottom",3,"%"),i.xp6(5),i.Oqu(be.title),i.xp6(1),i.Q6J("href",be.pdf,i.LSH),i.xp6(3),i.Q6J("src",be.img,i.LSH)("alt",be.title)}}let De=(()=>{class ee{constructor(){this.items=[{title:"Compatibilidade do sistema Apple",img:"assets/images/capacity/compatibilidade.png",pdf:te.N.midiaBucket+"/Compatibilidade.pdf"},{title:"Seguran\xe7a da Plataforma",img:"assets/images/capacity/seguranca.png",pdf:te.N.midiaBucket+"/SegurancadaPlataforma.pdf"},{title:"Investimento inteligente",img:"assets/images/capacity/investimento.png",pdf:te.N.midiaBucket+"/InvestimentoInteligente.pdf"},{title:"Produtividade da equipe",img:"assets/images/capacity/produtividade.png",pdf:te.N.midiaBucket+"/Produtividade.pdf"},{title:"Vis\xe3o Geral",img:"assets/images/capacity/geral.png",pdf:te.N.midiaBucket+"/VisaoGeralM1.pdf"},{title:"Implementa\xe7\xe3o e gerenciamento",img:"assets/images/capacity/gerenciamento.png",pdf:te.N.midiaBucket+"/ImplementacaoeGerenciamento.pdf"}],this.customOptions={loop:!0,autoHeight:!0,stagePadding:-60,mouseDrag:!0,touchDrag:!0,pullDrag:!1,dots:!1,nav:!0,navText:["<",">"],responsive:{0:{items:2},1199:{items:3},1669:{items:4}}}}ngOnInit(){}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-capacity-carousel"]],decls:4,vars:3,consts:[["fxHide.lt-sm","",1,"carousel",3,"options"],[4,"ngFor","ngForOf"],["fxHide.gt-xs","",1,"carousel","content-cards"],["class","slide mat-card--elevation",3,"margin-bottom",4,"ngFor","ngForOf"],["carouselSlide",""],[1,"slide","mat-card--elevation"],["fxLayout","row","fxLayoutGap","5px","fxLayoutAlign","center center"],["fxFlex","",1,"topic"],["target","_blank","color","warn","mat-raised-button","",1,"mat-button--small",3,"href"],["fxFlex","",1,"img-representative"],[3,"src","alt"]],template:function(be,ve){1&be&&(i.TgZ(0,"owl-carousel-o",0),i.YNc(1,J,1,0,null,1),i.qZA(),i.TgZ(2,"section",2),i.YNc(3,Ue,10,6,"mat-card",3),i.qZA()),2&be&&(i.Q6J("options",ve.customOptions),i.xp6(1),i.Q6J("ngForOf",ve.items),i.xp6(2),i.Q6J("ngForOf",ve.items))},dependencies:[W.sg,S.Fy,S.Mp,ae.xw,ae.SQ,ae.Wh,ae.yH,se.b8,ie.zs,le.a8,le.dn],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.carousel[_ngcontent-%COMP%]{padding-bottom:10%}.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%]{padding:3%;margin-left:20%;margin-bottom:3%;width:auto;height:auto}.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%]:hover{background:#FFEFDC}@media (max-width: 600px){.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%]{margin-left:0!important;padding:3% 1%}}@media (max-width: 1215px){.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%]{margin-left:13%}}@media (min-width: 1920px){.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%]{margin-left:26%}}.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%]{padding:3% 2% 3% 3%;justify-content:center}.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:20px}@media (max-width: 960px){.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:17px;font-weight:700;line-height:18px}}.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%] .img-representative[_ngcontent-%COMP%]{text-align:center}.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%] .img-representative[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:164px;height:164px;margin:0 auto}@media (max-width: 960px){.carousel[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%] .img-representative[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:144px;height:144px}}.carousel[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{display:flex} .owl-carousel{background:#fff!important} .owl-carousel .owl-nav .ng-star-inserted{text-align:right!important;margin-right:7%}.content-cards[_ngcontent-%COMP%]{padding:5% 3%;background:#fff}@media (max-width: 600px){.content-cards[_ngcontent-%COMP%]{padding-top:0}}.content-cards[_ngcontent-%COMP%] ng-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{margin:0 auto}.content-cards[_ngcontent-%COMP%] ng-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%]{padding:3% 2% 3% 3%;justify-content:center}.content-cards[_ngcontent-%COMP%] ng-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:20px}@media (max-width: 960px){.content-cards[_ngcontent-%COMP%] ng-container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:17px;font-weight:700;line-height:18px}}']}),ee})(),vt=(()=>{class ee{constructor(){}ngOnInit(){}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-seed"]],decls:65,vars:0,consts:[[1,"seed-content"],[1,"content"],["fxLayout","column","fxLayoutAlign","center center"],[1,"title"],[1,"subtitle"],["href","https://train.apple.com/f_hUfO9vo2P79AmO","target","_blank"],[1,"center"],["src","assets/images/seed/qr-code-seed.png","width","256px","height","256px"],[1,"center","desktop"],["src","assets/images/seed/seed-desktop.png","width","1087px","height","280px"],[1,"center","mobile"],["src","assets/images/seed/seed-mobile.png","width","343px","height","394px"],[1,"subtitle","featured"],[1,"bolder"],["href","https://seedsales.apple.com/home/collection/R002065-pt_BR","target","_blank"],["href","https://seedsales.apple.com/home/collection/R002886-pt_BR","target","_blank"],["href","https://seedsales.apple.com/home/collection/R002446-pt_BR","target","_blank"],["href","https://seedsales.apple.com/home/collection/R005133-pt_BR","target","_blank"]],template:function(be,ve){1&be&&(i.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),i._uU(4,"SEED"),i.qZA()(),i.TgZ(5,"div")(6,"p",4),i._uU(7," Estamos muito felizes em construir juntos essa jornada de capacita\xe7\xe3o e treinamento para comercializa\xe7\xe3o do portf\xf3lio de produtos Apple para empresas. "),i.qZA(),i.TgZ(8,"p",4),i._uU(9," Como primeira etapa, se sua revenda n\xe3o \xe9 cadastrada, deve se cadastrar na plataforma SEED: "),i.qZA(),i.TgZ(10,"p",4),i._uU(11," 1. Escaneie o QR CODE ao lado ou acesse o link: "),i._UZ(12,"br"),i.TgZ(13,"a",5),i._uU(14,"https://train.apple.com/f_hUfO9vo2P79AmO"),i.qZA()(),i.TgZ(15,"div",6),i._UZ(16,"img",7),i.qZA(),i.TgZ(17,"p",4),i._uU(18," 2. Insira os seguintes dados: NOME DA REVENDA, NOME COMPLETO E EMAIL CORPORATIVO DA REVENDA "),i.qZA(),i.TgZ(19,"div",8),i._UZ(20,"img",9),i.qZA(),i.TgZ(21,"div",10),i._UZ(22,"img",11),i.qZA(),i.TgZ(23,"p",4),i._uU(24," Caso tenha qualquer problema ou d\xfavidas sobre o cadastro no SEED, nos avise e entre em contato com: seed.help@apple.com "),i.qZA(),i.TgZ(25,"p",12),i._uU(26," PARAB\xc9NS, agora que seu cadastro foi finalizado acesse as cole\xe7\xf5es de treinamento. "),i.qZA(),i.TgZ(27,"p",4),i._uU(28,"Alguns conte\xfados indicados:"),i.qZA(),i.TgZ(29,"p",4)(30,"span",13),i._uU(31,"APPLE AT WORK - no\xe7\xf5es b\xe1sicas"),i.qZA(),i._UZ(32,"br"),i.TgZ(33,"a",14),i._uU(34,"https://seedsales.apple.com/home/collection/R002065-pt_BR"),i.qZA(),i._UZ(35,"br"),i.TgZ(36,"span",13),i._uU(37,"Novidades para empresas"),i.qZA(),i._UZ(38,"br"),i.TgZ(39,"a",15),i._uU(40,"https://seedsales.apple.com/home/collection/R002886-pt_BR"),i.qZA(),i._UZ(41,"br"),i.TgZ(42,"span",13),i._uU(43,"Impacto Econ\xf4mico Total do Mac (TEI)"),i.qZA(),i._UZ(44,"br"),i.TgZ(45,"a",15),i._uU(46,"https://seedsales.apple.com/home/collection/R002886-pt_BR"),i.qZA(),i._UZ(47,"br"),i.TgZ(48,"span",13),i._uU(49,"Apple At Work - Expertise"),i.qZA(),i._UZ(50,"br"),i.TgZ(51,"a",16),i._uU(52,"https://seedsales.apple.com/home/collection/R002446-pt_BR"),i.qZA(),i._UZ(53,"br"),i.TgZ(54,"span",13),i._uU(55,"Migra\xe7\xe3o e upgrade de Mac para empresas"),i.qZA(),i._UZ(56,"br"),i.TgZ(57,"a",16),i._uU(58,"https://seedsales.apple.com/home/collection/R002446-pt_BR"),i.qZA(),i._UZ(59,"br"),i.TgZ(60,"span",13),i._uU(61,"Treinamento t\xe9cnico empresarial"),i.qZA(),i._UZ(62,"br"),i.TgZ(63,"a",17),i._uU(64,"https://seedsales.apple.com/home/collection/R005133-pt_BR"),i.qZA()()()()())},dependencies:[ae.xw,ae.Wh],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.seed-content[_ngcontent-%COMP%]{padding:3% 8%;text-align:center}@media (max-width: 960px){.seed-content[_ngcontent-%COMP%]{padding:5% 3%}}.content[_ngcontent-%COMP%]{text-align:left;padding:0 10%}@media (max-width: 960px){.content[_ngcontent-%COMP%]{text-align:center;padding:0 5%}}.title[_ngcontent-%COMP%]{color:#a52868;font-size:56px;font-weight:700;padding-bottom:2%}@media (max-width: 600px){.title[_ngcontent-%COMP%]{font-size:30px}}.subtitle[_ngcontent-%COMP%]{font-size:16px;padding-bottom:2%;word-wrap:break-word;color:#262626}.subtitle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#262626}@media (max-width: 600px){.subtitle[_ngcontent-%COMP%]{font-size:14px}}.featured[_ngcontent-%COMP%]{color:#a52868;font-weight:700}.bolder[_ngcontent-%COMP%]{font-weight:700}.center[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;align-items:center;padding-bottom:3%}@media (max-width: 960px){.desktop[_ngcontent-%COMP%]{display:none}}.mobile[_ngcontent-%COMP%]{display:none}@media (max-width: 960px){.mobile[_ngcontent-%COMP%]{display:flex}}']}),ee})(),St=(()=>{class ee{constructor(){}ngOnInit(){}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-training"]],decls:4,vars:0,consts:[[1,"bg-color"],["title","Capacita\xe7\xe3o","subtitle","Navegue pelos conte\xfados educativos que podem te ajudar a potencializar suas vendas","colorTitle","#a52868"]],template:function(be,ve){1&be&&(i.TgZ(0,"div",0),i._UZ(1,"app-headline-content",1),i.qZA(),i._UZ(2,"app-capacity-carousel")(3,"app-seed"))},dependencies:[u.A,De,vt]}),ee})();var Bt=a(4006),on=a(262),Nt=a(2843),ht=a(2487);let xt=(()=>{class ee{constructor(be,ve){this.urlService=be,this.api=ve}add(be){const ve=this.urlService.getUrl("DPP.addContact",{});return this.api.post(ve,be).pipe((0,on.K)(Pt=>(0,Nt._)(Pt)))}}return ee.\u0275fac=function(be){return new(be||ee)(i.LFG(Dt.i),i.LFG(ht.s))},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})();var Oe=a(9549),Xe=a(4144),Y=a(1094);let oe=(()=>{class ee{constructor(be,ve,Pt){this.fb=be,this.contact=ve,this.snack=Pt}ngOnInit(){this.contactForm=this.fb.group({completeName:["",Bt.kI.required],email:["",[Bt.kI.required,Bt.kI.email]],contact:["",Bt.kI.required],message:["",Bt.kI.required]})}submitForm(){var be=this;return(0,he.Z)(function*(){try{yield be.contact.add(be.contactForm.value).toPromise(),be.contactForm.reset(),be.snack.open({message:"Formul\xe1rio enviado com sucesso!"})}catch(ve){be.snack.open({message:ve.errors})}})()}}return ee.\u0275fac=function(be){return new(be||ee)(i.Y36(Bt.qu),i.Y36(xt),i.Y36($e.o))},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-contact-form"]],decls:31,vars:4,consts:[[1,"form-content"],["fxLayout","row wrap","fxLayoutAlign","center center",3,"formGroup"],["fxFlex","95%",1,"form-group"],["for","complete_name"],["appearance","outline"],["type","text","matInput","","formControlName","completeName","id","complete_name","placeholder","Nome completo*"],["for","email"],["type","email","matInput","","formControlName","email","id","email","placeholder","E-mail*"],["for","contact"],["type","text","matInput","","formControlName","contact","id","contact","placeholder","Telefone*","mask","(00) 0 0000 0000"],["for","mensagem"],["matInput","","formControlName","message","id","mensagem","rows","7"],["mat-raised-button","","color","warn","type","button",1,"mat-button--large",3,"disabled","click"]],template:function(be,ve){1&be&&(i.TgZ(0,"section",0)(1,"form",1)(2,"div",2)(3,"label",3)(4,"p"),i._uU(5,"Nome completo"),i.qZA()(),i.TgZ(6,"mat-form-field",4),i._UZ(7,"input",5),i.qZA()(),i.TgZ(8,"div",2)(9,"label",6)(10,"p"),i._uU(11,"E-mail"),i.qZA()(),i.TgZ(12,"mat-form-field",4),i._UZ(13,"input",7),i.qZA()(),i.TgZ(14,"div",2)(15,"label",8)(16,"p"),i._uU(17,"Telefone"),i.qZA()(),i.TgZ(18,"mat-form-field",4),i._UZ(19,"input",9),i.qZA()(),i.TgZ(20,"div",2)(21,"label",10)(22,"p"),i._uU(23,"Mensagem"),i.qZA()(),i.TgZ(24,"mat-form-field",4)(25,"mat-label"),i._uU(26,"Digite sua mensagem*"),i.qZA(),i._UZ(27,"textarea",11),i.qZA()(),i.TgZ(28,"div",2)(29,"button",12),i.NdJ("click",function(){return ve.submitForm()}),i._uU(30," Enviar mensagem "),i.qZA()()()()),2&be&&(i.xp6(1),i.Q6J("formGroup",ve.contactForm),i.xp6(28),i.Udp("width",100,"%"),i.Q6J("disabled",!ve.contactForm.valid))},dependencies:[Bt._Y,Bt.Fj,Bt.JJ,Bt.JL,ae.xw,ae.Wh,ae.yH,Bt.sg,Bt.u,ie.lW,Oe.KE,Oe.hX,Xe.Nt,Y.hx],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.form-content[_ngcontent-%COMP%]{padding:1% 0 5%}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{margin:0 auto;width:50%}@media (max-width: 1280px){.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:50%}}@media (max-width: 960px){.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:75%}}@media (max-width: 600px){.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:100%}}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}']}),ee})(),x=(()=>{class ee{constructor(){}ngOnInit(){}}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-contact"]],decls:2,vars:0,consts:[["title","Fale Conosco","subtitle","Deixe os seus dados e a sua mensagem abaixo e entraremos em contato o mais breve poss\xedvel!","colorTitle","#a52868"]],template:function(be,ve){1&be&&i._UZ(0,"app-headline-content",0)(1,"app-contact-form")},dependencies:[u.A,oe]}),ee})();var h=a(6126);const v=[{isHeader:!0,header:"Dados do cliente",flexLtMd:"100",flex:"45",label:"Nome do respons\xe1vel pela oportunidade",placeholder:"Insira seu nome",type:"text",name:"nome",formControlName:"nome"},{isHeader:!1,flexLtMd:"100",flex:"45",label:"Contato do respons\xe1vel pela oportunidade",placeholder:"Insira seu telefone",type:"text",name:"telefone",formControlName:"telefone",mask:"(00) 0 0000-0000"},{isHeader:!1,flexLtMd:"100",flex:"45",label:"CNPJ da Revenda?",placeholder:"Insira o CNPJ da Revenda",type:"text",name:"cnpjRevenda",formControlName:"cnpjRevenda",mask:"00.000.000/0000-00"},{isHeader:!1,flexLtMd:"100",flex:"45",label:"Qual a sua revenda?",placeholder:"Insira o tipo de revenda feita",type:"text",name:"tipoRevenda",formControlName:"tipoRevenda"},{isHeader:!1,flexLtMd:"100",flex:"45",label:"Cliente final",placeholder:"Informe o seu cliente final",type:"text",name:"clienteFinal",formControlName:"clienteFinal"},{isHeader:!1,flexLtMd:"100",flex:"45",label:"CNPJ do Cliente",placeholder:"Insira o CNPJ do Cliente",type:"text",name:"cnpjCliente",formControlName:"cnpjCliente",mask:"00.000.000/0000-00"}];var c=a(4750),b=a(4159),E=a(6709),O=a(4385),R=a(3238);function z(ee,Te){if(1&ee&&(i.TgZ(0,"h4"),i._uU(1),i.qZA()),2&ee){const be=i.oxw().$implicit;i.xp6(1),i.Oqu(be.header)}}function Re(ee,Te){if(1&ee&&(i.TgZ(0,"div",16),i.YNc(1,z,2,1,"h4",17),i.TgZ(2,"label")(3,"p"),i._uU(4),i.qZA()(),i.TgZ(5,"mat-form-field",8)(6,"mat-label"),i._uU(7),i.qZA(),i._UZ(8,"input",18),i.qZA()()),2&ee){const be=Te.$implicit;i.Q6J("fxFlex.lt-md",be.flexLtMd)("fxFlex",be.flex),i.xp6(1),i.Q6J("ngIf",be.isHeader),i.xp6(3),i.hij("",be.label," *"),i.xp6(3),i.Oqu(be.placeholder),i.xp6(1),i.Q6J("type",be.type)("name",be.name)("formControlName",be.formControlName)("placeholder",be.placeholder)("mask",be.mask)}}function nt(ee,Te){1&ee&&(i.TgZ(0,"h4"),i._uU(1,"Informa\xe7\xf5es para or\xe7amento"),i.qZA())}function wt(ee,Te){if(1&ee){const be=i.EpF();i.TgZ(0,"button",28),i.NdJ("click",function(){i.CHM(be);const Pt=i.oxw(2);return i.KtG(Pt.addProduct())}),i._uU(1," Incluir produto "),i.qZA()}}function Tt(ee,Te){if(1&ee){const be=i.EpF();i.TgZ(0,"div",19)(1,"div",20)(2,"div",21),i.YNc(3,nt,2,0,"h4",17),i.TgZ(4,"label")(5,"p"),i._uU(6),i.qZA()(),i.TgZ(7,"mat-form-field",22)(8,"mat-label"),i._uU(9,"Nome do produto"),i.qZA(),i._UZ(10,"input",23),i.qZA()(),i.TgZ(11,"div",24)(12,"label")(13,"p"),i._uU(14,"Partnumber *"),i.qZA()(),i.TgZ(15,"mat-form-field",22)(16,"mat-label"),i._uU(17,"Partnumber"),i.qZA(),i._UZ(18,"input",25),i.qZA()(),i.TgZ(19,"div",24)(20,"label")(21,"p"),i._uU(22,"Quantidade"),i.qZA()(),i.TgZ(23,"mat-form-field",22)(24,"mat-label"),i._uU(25,"Quantidade"),i.qZA(),i.TgZ(26,"input",26),i.NdJ("input",function(){i.CHM(be);const Pt=i.oxw();return i.KtG(Pt.checkNegativeValues())}),i.qZA()()(),i.TgZ(27,"div"),i.YNc(28,wt,2,0,"button",27),i.qZA()()()}if(2&ee){const be=Te.index,ve=i.oxw();i.Q6J("formGroupName",be),i.xp6(1),i.Udp("padding-bottom",3,"%"),i.xp6(2),i.Q6J("ngIf",!be),i.xp6(3),i.hij("Produto ",be+1,""),i.xp6(21),i.Udp("width",95,"%"),i.xp6(1),i.Q6J("ngIf",be===ve.productsController.controls.length-1)}}function jt(ee,Te){if(1&ee&&(i.TgZ(0,"mat-option",29),i._uU(1),i.qZA()),2&ee){const be=Te.$implicit;i.Q6J("value",be),i.xp6(1),i.hij(" ",be," ")}}let en=(()=>{class ee{constructor(be,ve){this.fb=be,this.authService=ve,this.submitForm=new i.vpe,this.clientFields=v,this.periodPayment=[]}ngOnInit(){const{email:be}=JSON.parse(this.authService.getAuth());this.opportunityForm=this.fb.group({nome:["",[Bt.kI.required]],email:[be,[Bt.kI.required]],telefone:["",[Bt.kI.required]],cnpjRevenda:["",[Bt.kI.required]],tipoRevenda:["",[Bt.kI.required]],clienteFinal:["",[Bt.kI.required]],cnpjCliente:["",[Bt.kI.required]],produtosArray:this.fb.array([this.newGroupForm()]),expectativaFechamento:["",[Bt.kI.required]],termosCondicao:["",[Bt.kI.required]]}),this.periodPayment=c.o.generatePaymentPeriods()}newGroupForm(){return this.fb.group({produto:["",[]],partNumber:["",[Bt.kI.required]],quantidade:["",[Bt.kI.min(1)]]})}get productsController(){return this.opportunityForm.get("produtosArray")}checkNegativeValues(){this.productsController.controls.forEach(ve=>{const Pt=ve.get("quantidade");Pt&&Pt.value<0&&Pt.setValue(0)})}addProduct(){this.productsController.push(this.newGroupForm())}onSubmit(){const be=this.opportunityForm.value;be.produtosArray.forEach(ve=>{ve.quantidade=ve.quantidade.toString()}),this.submitForm.emit(be)}resetForm(){for(this.opportunityForm.reset();1!==this.productsController.length;)this.productsController.removeAt(1)}}return ee.\u0275fac=function(be){return new(be||ee)(i.Y36(Bt.qu),i.Y36(b.e))},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-register-opportunity"]],outputs:{submitForm:"submitForm"},decls:27,vars:9,consts:[[1,"form-content"],[3,"formGroup","ngSubmit"],["fxLayout","row wrap","fxLayoutGap.lt-md","10px","fxLayoutGap.gt-sm","20px","fxLayoutAlign","center end",1,"document-content"],["class","form-group",3,"fxFlex.lt-md","fxFlex",4,"ngFor","ngForOf"],["formArrayName","produtosArray",1,"invoice-group"],[3,"formGroupName",4,"ngFor","ngForOf"],["fxLayout","row wrap","fxLayoutAlign","center end",1,"payment-content"],["fxFlex.lt-md","100","fxFlex","95",1,"form-group"],["appearance","outline"],["formControlName","expectativaFechamento"],["name","expectativaFechamento",3,"value",4,"ngFor","ngForOf"],[1,"text-wrap"],["color","warn","formControlName","termosCondicao"],["fxShow.lt-md","","fxHide.gt-sm",""],["fxHide.lt-md","","fxShow.gt-sm",""],["type","submit","mat-raised-button","","color","warn",1,"mat-button--large",3,"disabled"],[1,"form-group",3,"fxFlex.lt-md","fxFlex"],[4,"ngIf"],["matInput","",3,"type","name","formControlName","placeholder","mask"],[3,"formGroupName"],["fxLayout","row wrap","fxLayoutGap.lt-md","10px","fxLayoutGap.gt-sm","20px","fxLayoutAlign","center end"],["fxFlex.lt-md","100","fxFlex","45",1,"form-group"],["appearance","outline",1,"mat-form-field--no-padding"],["matInput","","type","text","name","produto","formControlName","produto"],["fxFlex.lt-md","47.5","fxFlex","20",1,"form-group","form-prod"],["matInput","","type","text","name","partNumber","formControlName","partNumber"],["matInput","","type","number","name","quantidade","formControlName","quantidade",3,"input"],["type","button","class","clean-button mat-button--small mat-button--link","mat-button","","disableRipple","","color","warn",3,"click",4,"ngIf"],["type","button","mat-button","","disableRipple","","color","warn",1,"clean-button","mat-button--small","mat-button--link",3,"click"],["name","expectativaFechamento",3,"value"]],template:function(be,ve){1&be&&(i.TgZ(0,"section",0)(1,"form",1),i.NdJ("ngSubmit",function(){return ve.onSubmit()}),i.TgZ(2,"div",2),i.YNc(3,Re,9,10,"div",3),i.qZA(),i.TgZ(4,"div",4),i.YNc(5,Tt,29,8,"div",5),i.qZA(),i.TgZ(6,"div",6)(7,"div",7)(8,"label")(9,"p"),i._uU(10,"Expectativa de Fechamento"),i.qZA()(),i.TgZ(11,"mat-form-field",8)(12,"mat-label"),i._uU(13,"Informe a previs\xe3o para pagamento"),i.qZA(),i.TgZ(14,"mat-select",9),i.YNc(15,jt,2,2,"mat-option",10),i.qZA()()(),i.TgZ(16,"div",7)(17,"div",11)(18,"mat-checkbox",12),i._uU(19," Aceito compartilhar as informa\xe7\xf5es preenchidas acima "),i._UZ(20,"br",13),i._uU(21,"com o time respons\xe1vel pela "),i._UZ(22,"br",14),i._uU(23," gest\xe3o do registro de oportunidades. "),i.qZA()()(),i.TgZ(24,"div",7)(25,"button",15),i._uU(26," Solicitar oportunidade "),i.qZA()()()()()),2&be&&(i.xp6(1),i.Q6J("formGroup",ve.opportunityForm),i.xp6(2),i.Q6J("ngForOf",ve.clientFields),i.xp6(2),i.Q6J("ngForOf",ve.productsController.controls),i.xp6(10),i.Q6J("ngForOf",ve.periodPayment),i.xp6(2),i.Udp("width",100,"%"),i.xp6(8),i.Udp("width",100,"%"),i.Q6J("disabled",ve.opportunityForm.invalid))},dependencies:[Bt._Y,Bt.Fj,Bt.wV,Bt.JJ,Bt.JL,W.sg,W.O5,ae.xw,ae.SQ,ae.Wh,ae.yH,se.b8,Bt.sg,Bt.u,Bt.x0,Bt.CE,ie.lW,E.oG,Oe.KE,Oe.hX,Xe.Nt,O.gD,R.ey,Y.hx],styles:[".mat-checkbox[_ngcontent-%COMP%]{padding-bottom:3%;line-height:17px}.mat-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{white-space:pre-wrap}.mat-checkbox[_ngcontent-%COMP%] .mat-checkbox-inner-container[_ngcontent-%COMP%]{height:20px;width:20px;border-radius:20px;margin-right:10px}@media (max-width: 600px){.form-content[_ngcontent-%COMP%]{width:90%!important;margin:0 auto}.form-content[_ngcontent-%COMP%] .mat-checkbox[_ngcontent-%COMP%]{font-size:12px!important;line-height:12px!important}.form-content[_ngcontent-%COMP%] .form-prod[_ngcontent-%COMP%]{padding-top:3%}}",'@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.form-content[_ngcontent-%COMP%]{padding:1% 0 5%}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{margin:0 auto;width:50%}@media (max-width: 1280px){.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:50%}}@media (max-width: 960px){.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:75%}}@media (max-width: 600px){.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:100%}}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:700}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .invoice-group[_ngcontent-%COMP%] .clean-button[_ngcontent-%COMP%]{padding-top:1%;text-decoration:underline;text-align:left;font-size:16px}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .payment-content[_ngcontent-%COMP%]{padding-top:2%}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin:0 auto!important}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .linkBack[_ngcontent-%COMP%]{padding:3%;text-align:center}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .linkBack[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#a52868;font-weight:600;text-decoration:none}']}),ee})();var cn=a(778);const ot=[{path:"",canActivate:[qe.a],component:et,children:[{path:"",component:N,pathMatch:"full"},{path:"quem-somos",component:h.EH},{path:"categoria/:categorie",component:G},{path:"produto/:product",component:At},{path:"orcamento",component:mt.F},{path:"marketing",component:Vt},{path:"capacitacao",component:St},{path:"contato",component:x},{path:"oportunidades",component:(()=>{class ee{constructor(be,ve,Pt){this.bannerService=be,this.opportunities=ve,this.snack=Pt,this.banners=[]}ngOnInit(){this.banners=this.bannerService.getBanners(),this.banners.pop()}onFormSubmit(be){this.opportunities.add(be).subscribe({next:()=>{this.snack.open({message:"Oportunidade registrada com sucesso"}),this.opportunityFormDirective.resetForm()},error:ve=>{this.snack.open({message:ve?.error?.errors})}})}}return ee.\u0275fac=function(be){return new(be||ee)(i.Y36(D),i.Y36(cn.U),i.Y36($e.o))},ee.\u0275cmp=i.Xpm({type:ee,selectors:[["app-opportunities"]],viewQuery:function(be,ve){if(1&be&&i.Gf(en,5),2&be){let Pt;i.iGM(Pt=i.CRH())&&(ve.opportunityFormDirective=Pt.first)}},decls:4,vars:2,consts:[[1,"banner"],["alt","Banner","width","100%",3,"src","routerLink"],["title","Registro de oportunidades"],[3,"submitForm"]],template:function(be,ve){if(1&be&&(i.ynx(0,0),i._UZ(1,"img",1),i.BQk(),i._UZ(2,"app-headline-content",2),i.TgZ(3,"app-register-opportunity",3),i.NdJ("submitForm",function(qt){return ve.onFormSubmit(qt)}),i.qZA()),2&be){let Pt,qt;i.xp6(1),i.Q6J("src","assets/images/banners/"+(null==(Pt=ve.banners.at(0))?null:Pt.src),i.LSH)("routerLink",null==(qt=ve.banners.at(0))?null:qt.ref)}},dependencies:[p.rH,u.A,en]}),ee})()}]}];let ze=(()=>{class ee{}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275mod=i.oAB({type:ee}),ee.\u0275inj=i.cJS({imports:[p.Bz.forRoot(ot),p.Bz]}),ee})();var Ct=a(6644),Ut=a(9814),at=a(1516),Pe=a(2399);let Ie=(()=>{class ee{}return ee.\u0275fac=function(be){return new(be||ee)},ee.\u0275mod=i.oAB({type:ee}),ee.\u0275inj=i.cJS({imports:[Bt.u5,p.Bz,Pe.m,r.b2,Ut.o9,Bt.UX,ze,Ct.h,at.PW,Y.yI.forRoot()]}),ee})()},6644:(Rt,je,a)=>{a.d(je,{h:()=>nr});var r=a(6895),i=a(4859),d=a(6709),D=a(3238),u=a(9549),T=a(7392),F=a(4144),w=a(4650),W=(a(2687),a(1281));a(5017),a(4006);let Ve=(()=>{class ct{}return ct.\u0275fac=function(U){return new(U||ct)},ct.\u0275mod=w.oAB({type:ct}),ct.\u0275inj=w.cJS({imports:[D.si,D.BQ,D.BQ]}),ct})();var Je=a(4385),pt=a(445),Ge=a(9521),At=a(3353),st=a(727);let Qe=(()=>{class ct{}return ct.\u0275fac=function(U){return new(U||ct)},ct.\u0275mod=w.oAB({type:ct}),ct.\u0275inj=w.cJS({imports:[r.ez,D.BQ,D.BQ]}),ct})();var Et=a(3546),Yt=a(3267),Qt=a(3683),Wt=a(4850),Vt=a(8255),qe=a(4080);let on=(()=>{class ct{}return ct.\u0275fac=function(U){return new(U||ct)},ct.\u0275mod=w.oAB({type:ct}),ct.\u0275inj=w.cJS({imports:[pt.vT]}),ct})();var Nt=a(7579);a(7340);let Ct=(()=>{class ct{constructor(){this.changes=new Nt.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return ct.\u0275fac=function(U){return new(U||ct)},ct.\u0275prov=w.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"}),ct})();const tn={provide:Ct,deps:[[new w.FiY,new w.tp0,Ct]],useFactory:function Ut(ct){return ct||new Ct}};let Ie=(()=>{class ct{}return ct.\u0275fac=function(U){return new(U||ct)},ct.\u0275mod=w.oAB({type:ct}),ct.\u0275inj=w.cJS({providers:[tn,D.rD],imports:[D.BQ,r.ez,qe.eL,i.ot,on,T.Ps,D.si,D.BQ]}),ct})();var ee=a(5412),Te=a(6338),be=a(3626),ve=a(4098);function Pt(ct,Ot){if(1&ct&&(w.O4$(),w._UZ(0,"circle",4)),2&ct){const U=w.oxw(),He=w.MAs(1);w.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+U._spinnerAnimationLabel)("stroke-dashoffset",U._getStrokeDashOffset(),"px")("stroke-dasharray",U._getStrokeCircumference(),"px")("stroke-width",U._getCircleStrokeWidth(),"%")("transform-origin",U._getCircleTransformOrigin(He)),w.uIk("r",U._getCircleRadius())}}function qt(ct,Ot){if(1&ct&&(w.O4$(),w._UZ(0,"circle",4)),2&ct){const U=w.oxw(),He=w.MAs(1);w.Udp("stroke-dashoffset",U._getStrokeDashOffset(),"px")("stroke-dasharray",U._getStrokeCircumference(),"px")("stroke-width",U._getCircleStrokeWidth(),"%")("transform-origin",U._getCircleTransformOrigin(He)),w.uIk("r",U._getCircleRadius())}}const jn=(0,D.pj)(class{constructor(ct){this._elementRef=ct}},"primary"),$n=new w.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function Mi(){return{diameter:100}}});class ii extends jn{constructor(Ot,U,He,It,Jt,Bn,Vn,Zn){super(Ot),this._document=He,this._diameter=100,this._value=0,this._resizeSubscription=st.w0.EMPTY,this.mode="determinate";const ei=ii._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),ei.has(He.head)||ei.set(He.head,new Set([100])),this._noopAnimations="NoopAnimations"===It&&!!Jt&&!Jt._forceAnimations,"mat-spinner"===Ot.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),Jt&&(Jt.color&&(this.color=this.defaultColor=Jt.color),Jt.diameter&&(this.diameter=Jt.diameter),Jt.strokeWidth&&(this.strokeWidth=Jt.strokeWidth)),U.isBrowser&&U.SAFARI&&Vn&&Bn&&Zn&&(this._resizeSubscription=Vn.change(150).subscribe(()=>{"indeterminate"===this.mode&&Zn.run(()=>Bn.markForCheck())}))}get diameter(){return this._diameter}set diameter(Ot){this._diameter=(0,W.su)(Ot),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(Ot){this._strokeWidth=(0,W.su)(Ot)}get value(){return"determinate"===this.mode?this._value:0}set value(Ot){this._value=Math.max(0,Math.min(100,(0,W.su)(Ot)))}ngOnInit(){const Ot=this._elementRef.nativeElement;this._styleRoot=(0,At.kV)(Ot)||this._document.head,this._attachStyleNode(),Ot.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const Ot=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${Ot} ${Ot}`}_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(Ot){const U=50*(Ot.currentScale??1);return`${U}% ${U}%`}_attachStyleNode(){const Ot=this._styleRoot,U=this._diameter,He=ii._diameters;let It=He.get(Ot);if(!It||!It.has(U)){const Jt=this._document.createElement("style");Jt.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Jt.textContent=this._getAnimationText(),Ot.appendChild(Jt),It||(It=new Set,He.set(Ot,It)),It.add(U)}}_getAnimationText(){const Ot=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*Ot).replace(/END_VALUE/g,""+.2*Ot).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}ii._diameters=new WeakMap,ii.\u0275fac=function(Ot){return new(Ot||ii)(w.Y36(w.SBq),w.Y36(At.t4),w.Y36(r.K0,8),w.Y36(w.QbO,8),w.Y36($n),w.Y36(w.sBO),w.Y36(ve.rL),w.Y36(w.R0b))},ii.\u0275cmp=w.Xpm({type:ii,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(Ot,U){2&Ot&&(w.uIk("aria-valuemin","determinate"===U.mode?0:null)("aria-valuemax","determinate"===U.mode?100:null)("aria-valuenow","determinate"===U.mode?U.value:null)("mode",U.mode),w.Udp("width",U.diameter,"px")("height",U.diameter,"px"),w.ekj("_mat-animation-noopable",U._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[w.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(Ot,U){1&Ot&&(w.O4$(),w.TgZ(0,"svg",0,1),w.YNc(2,Pt,1,11,"circle",2),w.YNc(3,qt,1,9,"circle",3),w.qZA()),2&Ot&&(w.Udp("width",U.diameter,"px")("height",U.diameter,"px"),w.Q6J("ngSwitch","indeterminate"===U.mode),w.uIk("viewBox",U._getViewBox()),w.xp6(2),w.Q6J("ngSwitchCase",!0),w.xp6(1),w.Q6J("ngSwitchCase",!1))},dependencies:[r.RF,r.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 Xn=(()=>{class ct{}return ct.\u0275fac=function(U){return new(U||ct)},ct.\u0275mod=w.oAB({type:ct}),ct.\u0275inj=w.cJS({imports:[D.BQ,r.ez,D.BQ]}),ct})();a(6451),a(5698),a(2722),a(8675);const Oi=new w.OlP("mat-chips-default-options");let gi=(()=>{class ct{}return ct.\u0275fac=function(U){return new(U||ct)},ct.\u0275mod=w.oAB({type:ct}),ct.\u0275inj=w.cJS({providers:[D.rD,{provide:Oi,useValue:{separatorKeyCodes:[Ge.K5]}}],imports:[D.BQ]}),ct})();var mr=a(8739),Ui=a(7084),Or=a(4654),_i=a(266),Yi=a(7009),gr=a(811),ki=a(1206),_r=a(9602);const tr=[i.ot,d.p9,gr.vV,u.lN,T.Ps,F.c,Ve,D.si,Je.LD,Qe,Et.QW,Yt.SJ,Qt.g0,Vt.Tx,Wt.t,ki._t,Ie,ee.Is,Te.ie,be.p0,Or.HT,Xn,gi,mr.TU,Ui.To,ve.Cl,_i.AV,Yi.ZX,_r.FA,D.XK];let nr=(()=>{class ct{}return ct.\u0275fac=function(U){return new(U||ct)},ct.\u0275mod=w.oAB({type:ct}),ct.\u0275inj=w.cJS({imports:[r.ez,tr,r.ez,i.ot,d.p9,gr.vV,u.lN,T.Ps,F.c,Ve,D.si,Je.LD,Qe,Et.QW,Yt.SJ,Qt.g0,Vt.Tx,Wt.t,ki._t,Ie,ee.Is,Te.ie,be.p0,Or.HT,Xn,gi,mr.TU,Ui.To,ve.Cl,_i.AV,Yi.ZX,_r.FA,D.XK]}),ct})()},394:(Rt,je,a)=>{a.d(je,{B:()=>i,V:()=>d});var r=a(7340);function i(D=333){return(0,r.X$)("fadeIn",[(0,r.SB)("void",(0,r.oB)({opacity:0})),(0,r.eR)(":enter",[(0,r.jt)(D,(0,r.oB)({opacity:1}))]),(0,r.eR)(":leave",[(0,r.jt)(D,(0,r.oB)({opacity:0}))])])}const d=(0,r.X$)("elevation",[(0,r.SB)("mat-elevation-z5",(0,r.oB)({"box-shadow":"0 2px 5px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.15)"})),(0,r.SB)("mat-elevation-z10",(0,r.oB)({"box-shadow":"0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 15px 0 rgba(0, 0, 0, 0.15)"})),(0,r.eR)("mat-elevation-z5 <=> mat-elevation-z10",(0,r.jt)("300ms ease-in-out"))])},9389:(Rt,je,a)=>{a.d(je,{X:()=>D});var r=a(4650),i=a(1576),d=a(3683);let D=(()=>{class u{constructor(){}ngOnInit(){}}return u.\u0275fac=function(F){return new(F||u)},u.\u0275cmp=r.Xpm({type:u,selectors:[["app-auth-header"]],decls:2,vars:0,consts:[["fxLayoutAlign","start center"],["src","assets/logos/logo_header_auth.png","width","auto",1,"logo"]],template:function(F,w){1&F&&(r.TgZ(0,"mat-toolbar",0),r._UZ(1,"img",1),r.qZA())},dependencies:[i.Wh,d.Ye],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.mat-toolbar[_ngcontent-%COMP%]{background-color:#003b71}.mat-toolbar[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{height:50%}.mat-toolbar[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:#f7f8f9;padding-right:1%}.mat-toolbar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f7f8f9;font-size:13px;padding-right:1%}.mat-toolbar[_ngcontent-%COMP%] .img-brand-dealer[_ngcontent-%COMP%]{max-height:50px}.mat-toolbar[_ngcontent-%COMP%] .img-brand-dealer[_ngcontent-%COMP%]:hover{cursor:pointer}@media (max-width: 600px){.mat-toolbar[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{height:33%}}']}),u})()},4944:(Rt,je,a)=>{a.d(je,{k:()=>ae});var r=a(4650),i=a(6895),d=a(2761),D=a(4826);function u(se,le){if(1&se&&(r.TgZ(0,"div",9)(1,"h1"),r._uU(2),r.TgZ(3,"span"),r._uU(4),r.qZA()(),r.TgZ(5,"p"),r._uU(6),r.qZA()()),2&se){const me=r.oxw(3).$implicit;r.xp6(2),r.hij(" ",me.infoBox.title," "),r.xp6(2),r.Oqu(me.infoBox.subtitle),r.xp6(2),r.Oqu(me.infoBox.description)}}function T(se,le){if(1&se&&(r.TgZ(0,"div",9)(1,"h1"),r._uU(2),r.TgZ(3,"span"),r._uU(4),r.qZA()(),r.TgZ(5,"p"),r._uU(6),r.qZA()()),2&se){const me=r.oxw(3).$implicit;r.xp6(2),r.hij(" ",me.infoBox.title," "),r.xp6(2),r.Oqu(me.infoBox.subtitle),r.xp6(2),r.Oqu(me.infoBox.description)}}function F(se,le){if(1&se&&(r.TgZ(0,"section",5)(1,"div",6),r.YNc(2,u,7,3,"div",7),r._UZ(3,"img",8),r.YNc(4,T,7,3,"div",7),r.qZA()()),2&se){const me=r.oxw(2).$implicit;r.xp6(2),r.Q6J("ngIf","before"===me.infoBox.position),r.xp6(1),r.Q6J("src","assets/images/banners/"+me.src,r.LSH)("routerLink",me.ref),r.xp6(1),r.Q6J("ngIf","after"===me.infoBox.position)}}function w(se,le){if(1&se&&(r.TgZ(0,"div",10),r._UZ(1,"img",8),r.qZA()),2&se){const me=r.oxw(2).$implicit;r.xp6(1),r.Q6J("src","assets/images/banners/"+me.src,r.LSH)("routerLink",me.ref)}}function p(se,le){if(1&se&&(r.YNc(0,F,5,4,"section",3),r.YNc(1,w,2,2,"div",4)),2&se){const me=r.oxw().$implicit;r.Q6J("ngIf",me.infoBox),r.xp6(1),r.Q6J("ngIf",!me.infoBox)}}function W(se,le){1&se&&r.YNc(0,p,2,2,"ng-template",2)}let ae=(()=>{class se{constructor(){this.images=[],this.indicators=!0,this.selectedIndex=0,this.customOptions={loop:!0,autoplay:!0,autoplayTimeout:8333,center:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,autoHeight:!0,dots:!0,responsive:{0:{items:1},400:{items:1},740:{items:1},940:{items:1}}}}ngOnInit(){}}return se.\u0275fac=function(me){return new(me||se)},se.\u0275cmp=r.Xpm({type:se,selectors:[["app-banner-carousel"]],inputs:{images:"images",indicators:"indicators"},decls:2,vars:2,consts:[[1,"carousel","primary",3,"options"],[4,"ngFor","ngForOf"],["carouselSlide",""],["class","slide-info",4,"ngIf"],["class","slide",4,"ngIf"],[1,"slide-info"],[1,"full-content"],["class","infoBox",4,"ngIf"],["alt","Banner",3,"src","routerLink"],[1,"infoBox"],[1,"slide"]],template:function(me,fe){1&me&&(r.TgZ(0,"owl-carousel-o",0),r.YNc(1,W,1,0,null,1),r.qZA()),2&me&&(r.Q6J("options",fe.customOptions),r.xp6(1),r.Q6J("ngForOf",fe.images))},dependencies:[i.sg,i.O5,d.rH,D.Fy,D.Mp],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.slide-info[_ngcontent-%COMP%]{display:flex;justify-content:center}.slide-info[_ngcontent-%COMP%] .full-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-size:1rem;color:#033b71;padding:16px;align-items:center;width:100%}@media (min-width: 960px){.slide-info[_ngcontent-%COMP%] .full-content[_ngcontent-%COMP%]{flex-direction:row;font-size:1.2rem;padding:0 3%}}@media (min-width: 1280px){.slide-info[_ngcontent-%COMP%] .full-content[_ngcontent-%COMP%]{padding:0 10%;font-size:1.3rem}}@media (min-width: 1500px){.slide-info[_ngcontent-%COMP%] .full-content[_ngcontent-%COMP%]{font-size:1.7rem}}.slide-info[_ngcontent-%COMP%] .full-content[_ngcontent-%COMP%] .infoBox[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}@media (min-width: 960px){.slide-info[_ngcontent-%COMP%] .full-content[_ngcontent-%COMP%] .infoBox[_ngcontent-%COMP%]{max-width:400px}}@media (min-width: 1500px){.slide-info[_ngcontent-%COMP%] .full-content[_ngcontent-%COMP%] .infoBox[_ngcontent-%COMP%]{max-width:500px}}.slide-info[_ngcontent-%COMP%] .full-content[_ngcontent-%COMP%] .infoBox[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.4em;font-weight:600;line-height:1}.slide-info[_ngcontent-%COMP%] .full-content[_ngcontent-%COMP%] .infoBox[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#a52868}.slide-info[_ngcontent-%COMP%] .full-content[_ngcontent-%COMP%] .infoBox[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.2;font-weight:500}']}),se})()},643:(Rt,je,a)=>{a.d(je,{G:()=>u});var r=a(5412),i=a(4650),d=a(4859),D=a(7392);let u=(()=>{class T{constructor(w,p){this.dialogRef=w,this.data=p}ngOnInit(){}}return T.\u0275fac=function(w){return new(w||T)(i.Y36(r.so),i.Y36(r.WI))},T.\u0275cmp=i.Xpm({type:T,selectors:[["app-dialog-basic"]],decls:13,vars:2,consts:[[1,"landing"],[1,"content-header"],["mat-icon-button","","mat-dialog-close","",1,"button-icon-close"],["mat-dialog-title",""],["align","center"],["color","warn","mat-raised-button","","mat-dialog-close","",1,"mat-button--large","block"]],template:function(w,p){1&w&&(i.TgZ(0,"div",0)(1,"div",1)(2,"button",2)(3,"mat-icon"),i._uU(4,"close"),i.qZA()()(),i.TgZ(5,"h1",3),i._uU(6),i.qZA(),i.TgZ(7,"mat-dialog-content")(8,"h3"),i._uU(9),i.qZA()(),i.TgZ(10,"mat-dialog-actions",4)(11,"button",5),i._uU(12," Ok! "),i.qZA()()()),2&w&&(i.xp6(6),i.Oqu(p.data.title),i.xp6(3),i.Oqu(p.data.subtitle))},dependencies:[d.lW,D.Hw,r.ZT,r.uh,r.xY,r.H8],styles:[".content-header[_ngcontent-%COMP%]{width:100%;height:50px}.content-header[_ngcontent-%COMP%] .button-icon-close[_ngcontent-%COMP%]{float:right}.block[_ngcontent-%COMP%]{width:100%}"]}),T})()},6491:(Rt,je,a)=>{a.d(je,{c:()=>F});var r=a(5412),i=a(4650),d=a(6895),D=a(4859),u=a(7392);function T(w,p){if(1&w){const W=i.EpF();i.TgZ(0,"button",7),i.NdJ("click",function(){i.CHM(W);const se=i.oxw();return i.KtG(se.confirm())}),i._uU(1),i.qZA()}if(2&w){const W=i.oxw();i.Gre("mat-button--medium mat-button--",W.data.colorAct,""),i.xp6(1),i.hij(" ",W.data.textAct," ")}}let F=(()=>{class w{constructor(W,ae){this.dialogRef=W,this.data=ae}ngOnInit(){}confirm(){this.dialogRef.close(!0)}}return w.\u0275fac=function(W){return new(W||w)(i.Y36(r.so),i.Y36(r.WI))},w.\u0275cmp=i.Xpm({type:w,selectors:[["app-dialog-cms"]],decls:13,vars:4,consts:[[1,"content-header"],["mat-dialog-title",""],["mat-icon-button","","mat-dialog-close","",1,"button-icon-close"],[3,"innerHTML"],["align","end"],["color","primary","mat-stroked-button","","mat-dialog-close","",1,"mat-button--medium"],["mat-stroked-button","",3,"class","click",4,"ngIf"],["mat-stroked-button","",3,"click"]],template:function(W,ae){1&W&&(i.TgZ(0,"div")(1,"div",0)(2,"h1",1),i._uU(3),i.qZA(),i.TgZ(4,"button",2)(5,"mat-icon"),i._uU(6,"close"),i.qZA()()(),i.TgZ(7,"mat-dialog-content"),i._UZ(8,"h3",3),i.qZA(),i.TgZ(9,"mat-dialog-actions",4)(10,"button",5),i._uU(11),i.qZA(),i.YNc(12,T,2,4,"button",6),i.qZA()()),2&W&&(i.xp6(3),i.Oqu(ae.data.title),i.xp6(5),i.Q6J("innerHTML",ae.data.subtitle,i.oJD),i.xp6(3),i.hij(" ",ae.data.textDeny?ae.data.textDeny:"Cancelar"," "),i.xp6(1),i.Q6J("ngIf",ae.data.textAct))},dependencies:[d.O5,D.lW,u.Hw,r.ZT,r.uh,r.xY,r.H8],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.content-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;vertical-align:middle;padding-bottom:3%}.content-header[_ngcontent-%COMP%] .mat-dialog-title[_ngcontent-%COMP%]{margin:0;line-height:40px;font-weight:700;color:#123e71}']}),w})()},1690:(Rt,je,a)=>{a.d(je,{S:()=>se});var r=a(5412),i=a(4650),d=a(6895),D=a(4859),u=a(7392),T=a(3626);function F(le,me){if(1&le&&(i.TgZ(0,"mat-header-cell"),i._uU(1),i.qZA()),2&le){const fe=i.oxw().$implicit,Se=i.oxw();i.xp6(1),i.Oqu(Se.columnHeaders[fe])}}function w(le,me){if(1&le&&(i.TgZ(0,"mat-cell"),i._uU(1),i.qZA()),2&le){const fe=me.$implicit,Se=i.oxw().$implicit;i.xp6(1),i.Oqu(fe[Se])}}function p(le,me){1&le&&(i.ynx(0,10),i.YNc(1,F,2,1,"mat-header-cell",11),i.YNc(2,w,2,1,"mat-cell",12),i.BQk()),2&le&&i.Q6J("matColumnDef",me.$implicit)}function W(le,me){1&le&&i._UZ(0,"mat-header-row")}function ae(le,me){1&le&&i._UZ(0,"mat-row")}let se=(()=>{class le{constructor(fe){this.data=fe,this.displayedColumns=["product","partnumber","quantity"],this.columnHeaders={product:"Produto",partnumber:"Partnumber",quantity:"Quantidade"},this.dataSource=[]}ngOnInit(){this.dataSource=this.data.products||[]}}return le.\u0275fac=function(fe){return new(fe||le)(i.Y36(r.WI))},le.\u0275cmp=i.Xpm({type:le,selectors:[["app-dialog-table"]],decls:17,vars:6,consts:[[1,"landing"],[1,"content-header"],["mat-dialog-title",""],["mat-icon-button","","mat-dialog-close","",1,"button-icon-close"],[3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["align","end"],["color","primary","mat-stroked-button","","mat-dialog-close",""],[3,"matColumnDef"],[4,"matHeaderCellDef"],[4,"matCellDef"]],template:function(fe,Se){1&fe&&(i.TgZ(0,"div",0)(1,"div",1)(2,"h2",2),i._uU(3),i.qZA(),i.TgZ(4,"button",3)(5,"mat-icon"),i._uU(6,"close"),i.qZA()()(),i.TgZ(7,"mat-dialog-content")(8,"h3"),i._uU(9),i.qZA(),i.TgZ(10,"mat-table",4),i.YNc(11,p,3,1,"ng-container",5),i.YNc(12,W,1,0,"mat-header-row",6),i.YNc(13,ae,1,0,"mat-row",7),i.qZA()(),i.TgZ(14,"mat-dialog-actions",8)(15,"button",9),i._uU(16," Fechar "),i.qZA()()()),2&fe&&(i.xp6(3),i.Oqu(Se.data.title),i.xp6(6),i.Oqu(Se.data.subtitle),i.xp6(1),i.Q6J("dataSource",Se.dataSource),i.xp6(1),i.Q6J("ngForOf",Se.displayedColumns),i.xp6(1),i.Q6J("matHeaderRowDef",Se.displayedColumns),i.xp6(1),i.Q6J("matRowDefColumns",Se.displayedColumns))},dependencies:[d.sg,D.lW,u.Hw,r.ZT,r.uh,r.xY,r.H8,T.BZ,T.fO,T.as,T.w1,T.Dz,T.nj,T.ge,T.ev,T.XQ,T.Gk],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.content-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%;height:50px;color:#033b71}.content-header[_ngcontent-%COMP%] h2[mat-dialog-title][_ngcontent-%COMP%]{margin:0;flex-grow:1;text-align:left;font-weight:600}.content-header[_ngcontent-%COMP%] .button-icon-close[_ngcontent-%COMP%]{float:right;margin-top:1%}.mat-header-cell[_ngcontent-%COMP%]{font-weight:700;color:#000}mat-row[_ngcontent-%COMP%], mat-footer-row[_ngcontent-%COMP%]{color:#000;font-weight:600}']}),le})()},3146:(Rt,je,a)=>{a.d(je,{u:()=>i});var r=a(4650);let i=(()=>{class d{constructor(){this.title="",this.label=""}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275cmp=r.Xpm({type:d,selectors:[["app-panel-informations"]],inputs:{title:"title",label:"label"},decls:5,vars:2,consts:[[1,"panel-informations"],[1,"title"]],template:function(u,T){1&u&&(r.TgZ(0,"div",0)(1,"p",1),r._uU(2),r.qZA(),r.TgZ(3,"span"),r._uU(4),r.qZA()()),2&u&&(r.xp6(2),r.Oqu(T.title),r.xp6(2),r.Oqu(T.label))},styles:[".panel-informations[_ngcontent-%COMP%]{line-height:21px}.panel-informations[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0;font-weight:700;text-align:left;font-size:15px;font-size:14px}@media (max-width: 1169px){.panel-informations[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px}}@media (max-width: 1319px){.panel-informations[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:13px}}@media (max-width: 600px){.panel-informations[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px}}.panel-informations[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#4c4c4c;text-align:left;font-size:13px}@media (max-width: 1319px){.panel-informations[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px}}@media (max-width: 1390px){.panel-informations[_ngcontent-%COMP%]{line-height:16px}}"]}),d})()},7318:(Rt,je,a)=>{a.d(je,{A:()=>pe});var r=a(4650),i=a(7084),d=a(1690),D=a(8739),u=a(5412),T=a(6895),F=a(1576),w=a(5829),p=a(4859),W=a(7392),ae=a(3146);function se(we,ne){if(1&we&&(r.TgZ(0,"div"),r._UZ(1,"app-panel-informations",10),r.qZA()),2&we){const ge=r.oxw().$implicit;r.xp6(1),r.Q6J("title",ge.title)("label",ge.label)}}function le(we,ne){if(1&we&&(r.ynx(0),r.YNc(1,se,2,2,"div",5),r.BQk()),2&we){const ge=ne.$implicit;r.xp6(1),r.Q6J("ngIf",ge.displayHeader)}}function me(we,ne){if(1&we&&(r.TgZ(0,"mat-expansion-panel-header")(1,"mat-panel-title"),r.YNc(2,le,2,1,"ng-container",0),r.qZA()()),2&we){const ge=r.oxw().$implicit;r.xp6(2),r.Q6J("ngForOf",ge.items)}}function fe(we,ne){if(1&we&&(r.TgZ(0,"div",12),r._UZ(1,"app-panel-informations",10),r.qZA()),2&we){const ge=r.oxw().$implicit;r.xp6(1),r.Q6J("title",ge.title)("label",ge.label)}}function Se(we,ne){if(1&we&&(r.ynx(0),r.YNc(1,fe,2,2,"div",11),r.BQk()),2&we){const ge=ne.$implicit,Ve=ne.last;r.xp6(1),r.Q6J("ngIf",!ge.displayHeader&&!Ve)}}function Ze(we,ne){if(1&we&&(r.TgZ(0,"span"),r._UZ(1,"app-panel-informations",10),r.qZA()),2&we){const ge=r.oxw().$implicit;r.xp6(1),r.Q6J("title",ge.title)("label",ge.label)}}function Ne(we,ne){if(1&we&&(r.ynx(0),r.YNc(1,Ze,2,2,"span",5),r.BQk()),2&we){const ge=ne.$implicit,Ve=ne.last;r.xp6(1),r.Q6J("ngIf",!ge.displayHeader&&Ve)}}function gt(we,ne){if(1&we&&(r.TgZ(0,"mat-icon"),r._uU(1),r.qZA()),2&we){const ge=r.oxw().$implicit;r.xp6(1),r.Oqu(ge.icon)}}const N=function(we,ne,ge){return{"simple-button":we,"success-button":ne,"warn-button":ge}};function B(we,ne){if(1&we){const ge=r.EpF();r.ynx(0),r.TgZ(1,"button",13),r.NdJ("click",function(){const pt=r.CHM(ge).$implicit,Ge=r.oxw().$implicit,At=r.oxw();return r.KtG(At.handleAction(pt.text,Ge))}),r.YNc(2,gt,2,1,"mat-icon",5),r._uU(3),r.qZA(),r.BQk()}if(2&we){const ge=ne.$implicit;r.xp6(1),r.Q6J("ngClass",r.kEZ(4,N,"Conferir produtos"===ge.text,"Aprovar"===ge.text,"Reprovar"===ge.text))("color",ge.color),r.xp6(1),r.Q6J("ngIf",ge.icon),r.xp6(1),r.hij(" ",ge.text," ")}}const X=function(we,ne,ge){return{"status-open":we,"status-approved":ne,"status-refused":ge}};function ie(we,ne){if(1&we&&(r.ynx(0),r.TgZ(1,"mat-accordion",2,3)(3,"mat-expansion-panel",4),r.YNc(4,me,3,1,"mat-expansion-panel-header",5),r.TgZ(5,"div",6),r.YNc(6,Se,2,1,"ng-container",0),r.qZA(),r.TgZ(7,"div",7)(8,"div",8),r.YNc(9,Ne,2,1,"ng-container",0),r.qZA(),r.TgZ(10,"div",9),r.YNc(11,B,4,8,"ng-container",0),r.qZA()()()(),r.BQk()),2&we){const ge=ne.$implicit,Ve=ne.index,Je=r.oxw();r.xp6(3),r.Q6J("disabled",!1)("ngClass",r.kEZ(6,X,"open"===ge.status,"approved"===ge.status,"refused"===ge.status)),r.xp6(1),r.Q6J("ngIf",Je.headerItems[Ve]),r.xp6(2),r.Q6J("ngForOf",ge.items),r.xp6(3),r.Q6J("ngForOf",ge.items),r.xp6(2),r.Q6J("ngForOf",ge.actions)}}let pe=(()=>{class we{constructor(ge){this.dialog=ge,this.panels=[],this.pageChange=new r.vpe,this.statusManage=new r.vpe,this.headerItems={}}get totalPages(){return Math.ceil(this.pagination.totalItems/this.pagination.pageSize)}ngOnInit(){this.panels.forEach((ge,Ve)=>{this.headerItems[Ve]=ge.items.find(Je=>Je.displayHeader)})}ngOnChanges(ge){ge.panels&&ge.panels.currentValue&&(this.headerItems={},this.panels.forEach((Ve,Je)=>{this.headerItems[Je]=Ve.items.find(pt=>pt.displayHeader)}))}handleAction(ge,Ve){if("Conferir produtos"===ge)return this.openProductModal(Ve);if(["Aprovar","Reprovar"].includes(ge)){const Je=Ve.items.find(pt=>"Nome do respons\xe1vel pela oportunidade"===pt.label)?.title;return this.statusManage.emit({nome:Je,id_oportunidade:Ve.id,aprovada:"Aprovar"===ge})}}onPaginateChange(ge){this.pageChange.emit({...ge})}openAll(){this.accordion.openAll()}closeAll(){this.accordion.closeAll()}openProductModal(ge){this.dialog.open(d.S,{data:{products:ge.products,title:`Produtos - Oportunidade ${ge.id}`,subtitle:"Confira os produtos, partnumber e quantidades na tabela abaixo."}})}}return we.\u0275fac=function(ge){return new(ge||we)(r.Y36(u.uw))},we.\u0275cmp=r.Xpm({type:we,selectors:[["app-expansion-panel"]],viewQuery:function(ge,Ve){if(1&ge&&(r.Gf(i.pp,5),r.Gf(D.NW,5)),2&ge){let Je;r.iGM(Je=r.CRH())&&(Ve.accordion=Je.first),r.iGM(Je=r.CRH())&&(Ve.paginator=Je.first)}},inputs:{panels:"panels",pagination:"pagination"},outputs:{pageChange:"pageChange",statusManage:"statusManage"},features:[r.TTD],decls:2,vars:3,consts:[[4,"ngFor","ngForOf"],[3,"length","pageSize","page"],["multi","",1,"headers-align"],["accordion","matAccordion"],[3,"disabled","ngClass"],[4,"ngIf"],["fxLayout","row wrap","fxLayoutAlign","start center",1,"info-line"],["fxLayout","row wrap","fxLayoutAlign","space-between center",1,"actions-line"],["fxFlex.gt-md","50%","fxFlex.lt-sm","100%"],["fxFlex.lt-sm","100%","fxLayout","row","fxLayoutAlign.gt-md","end center","fxLayoutAlign.lt-sm","center center",1,"actions"],[3,"title","label"],["class","infos","fxFlex.lt-sm","100%",4,"ngIf"],["fxFlex.lt-sm","100%",1,"infos"],["mat-button","",3,"ngClass","color","click"]],template:function(ge,Ve){1&ge&&(r.YNc(0,ie,12,10,"ng-container",0),r.TgZ(1,"mat-paginator",1),r.NdJ("page",function(pt){return Ve.onPaginateChange(pt)}),r.qZA()),2&ge&&(r.Q6J("ngForOf",Ve.panels),r.xp6(1),r.Q6J("length",Ve.pagination.totalItems)("pageSize",Ve.pagination.pageSize))},dependencies:[T.mk,T.sg,T.O5,F.xw,F.Wh,F.yH,w.oO,p.lW,W.Hw,D.NW,i.pp,i.ib,i.yz,i.yK,ae.u],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.action-buttons[_ngcontent-%COMP%]{padding-bottom:1%;display:flex;justify-content:space-between;margin-bottom:10px}.mat-expansion-panel[_ngcontent-%COMP%]{margin:1% 0}.mat-expansion-panel-header[_ngcontent-%COMP%]{height:74px}.headers-align[_ngcontent-%COMP%]{padding-top:3%}.mat-expansion-panel-header-title[_ngcontent-%COMP%], .mat-expansion-panel-header-description[_ngcontent-%COMP%]{font-size:13px;gap:3%}@media (min-width: 599px){.mat-expansion-panel-header-title[_ngcontent-%COMP%], .mat-expansion-panel-header-description[_ngcontent-%COMP%]{gap:1%}}@media (min-width: 959px){.mat-expansion-panel-header-title[_ngcontent-%COMP%], .mat-expansion-panel-header-description[_ngcontent-%COMP%]{gap:1%}}@media (min-width: 1429px){.mat-expansion-panel-header-title[_ngcontent-%COMP%], .mat-expansion-panel-header-description[_ngcontent-%COMP%]{gap:3%}}@media (min-width: 1619px){.mat-expansion-panel-header-title[_ngcontent-%COMP%], .mat-expansion-panel-header-description[_ngcontent-%COMP%]{gap:5%}}@media (min-width: 1920px){.mat-expansion-panel-header-title[_ngcontent-%COMP%], .mat-expansion-panel-header-description[_ngcontent-%COMP%]{gap:6%}} .mat-expansion-panel-body{display:flex;flex-direction:column}.info-line[_ngcontent-%COMP%]{margin-bottom:10px;gap:5%}@media (min-width: 599px){.info-line[_ngcontent-%COMP%]{gap:1%}}@media (min-width: 959px){.info-line[_ngcontent-%COMP%]{gap:1%}}@media (min-width: 1429px){.info-line[_ngcontent-%COMP%]{gap:3%}}@media (min-width: 1619px){.info-line[_ngcontent-%COMP%]{gap:5%}}@media (min-width: 1920px){.info-line[_ngcontent-%COMP%]{gap:6%}}@media (max-width: 600px){.info-line[_ngcontent-%COMP%]{margin-bottom:0}}@media (max-width: 600px){.infos[_ngcontent-%COMP%]{margin-bottom:3%}}.actions-line[_ngcontent-%COMP%]{margin-top:10px;gap:5%}@media (min-width: 599px){.actions-line[_ngcontent-%COMP%]{gap:1%}}@media (min-width: 959px){.actions-line[_ngcontent-%COMP%]{gap:1%}}@media (min-width: 1429px){.actions-line[_ngcontent-%COMP%]{gap:3%}}@media (min-width: 1619px){.actions-line[_ngcontent-%COMP%]{gap:5%}}@media (min-width: 1920px){.actions-line[_ngcontent-%COMP%]{gap:6%}}.actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:2%}@media (max-width: 600px){.actions[_ngcontent-%COMP%]{margin-top:4%;gap:1%;justify-content:center}}.simple-button[_ngcontent-%COMP%]{border:none;padding:0 10px 0 0!important;text-decoration:underline;color:#033b71;font-weight:600}.success-button[_ngcontent-%COMP%]{border:1px solid #03771C;color:#03771c}.warn-button[_ngcontent-%COMP%]{border:1px solid #B40000;color:#b40000}.success-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#03771c}.warn-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#b40000}.status-approved[_ngcontent-%COMP%]{background-color:#00f0341a}.status-refused[_ngcontent-%COMP%]{background-color:#ff00001a}.mat-expansion-panel-header.mat-expanded[_ngcontent-%COMP%]:focus, .mat-expansion-panel-header.mat-expanded[_ngcontent-%COMP%]:hover{background-color:none;background:none}.mat-accordion[_ngcontent-%COMP%] > .mat-expansion-panel-spacing[_ngcontent-%COMP%]:last-child, .mat-accordion[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child:not(.mat-expansion-panel){margin-bottom:1%}']}),we})()},6526:(Rt,je,a)=>{a.d(je,{c:()=>se});var r=a(43),i=a(4650),d=a(6895),D=a(2761),u=a(1576),T=a(4859);function F(le,me){if(1&le&&(i.TgZ(0,"button",10),i._uU(1),i.qZA()),2&le){const fe=i.oxw(2).$implicit;i.Q6J("routerLink",fe.target),i.xp6(1),i.hij(" ",fe.title," ")}}function w(le,me){if(1&le&&(i.TgZ(0,"a",11),i._uU(1),i.qZA()),2&le){const fe=i.oxw(2).$implicit;i.Q6J("href","mailto:"+fe.target,i.LSH),i.xp6(1),i.Oqu(fe.title)}}function p(le,me){if(1&le&&(i.TgZ(0,"li"),i.YNc(1,F,2,2,"button",8),i.YNc(2,w,2,2,"a",9),i.qZA()),2&le){const fe=i.oxw().$implicit;i.xp6(1),i.Q6J("ngIf","portaldpp@alliedbrasil.com.br"!==fe.target),i.xp6(1),i.Q6J("ngIf","portaldpp@alliedbrasil.com.br"===fe.target)}}function W(le,me){if(1&le&&(i.TgZ(0,"div"),i.YNc(1,p,3,2,"li",7),i.qZA()),2&le){const fe=me.index,Se=i.oxw().$implicit,Ze=i.oxw();i.xp6(1),i.Q6J("ngIf",Ze.footerLinks[fe].categorie==Se)}}function ae(le,me){if(1&le&&(i.TgZ(0,"div",5)(1,"ul")(2,"p"),i._uU(3),i.qZA(),i.YNc(4,W,2,1,"div",6),i.qZA()()),2&le){const fe=me.$implicit,Se=i.oxw();i.Udp("width",100,"%"),i.xp6(3),i.Oqu(fe),i.xp6(1),i.Q6J("ngForOf",Se.footerLinks)}}let se=(()=>{class le{constructor(){this.footerLinks=r.bP,this.options=[...new Set(this.footerLinks.map(fe=>fe.categorie))]}ngOnInit(){}}return le.\u0275fac=function(fe){return new(fe||le)},le.\u0275cmp=i.Xpm({type:le,selectors:[["app-footer"]],decls:5,vars:1,consts:[["fxLayout","row wrap","fxLayoutAlign","space-around center center"],["fxFlex","100","fxLayout","row wrap","fxLayoutAlign","start start"],["fxFlex.gt-sm","25","fxFlex.lt-sm","99"],["src","assets/logos/logo_footer.png","width","70%","alt","allied apple dpp",1,"logo"],["fxFlex.gt-sm","20","fxFlex.lt-sm","99",3,"width",4,"ngFor","ngForOf"],["fxFlex.gt-sm","20","fxFlex.lt-sm","99"],[4,"ngFor","ngForOf"],[4,"ngIf"],["class","mat-button--list","mat-button","",3,"routerLink",4,"ngIf"],["class","mat-button--list","mat-button","",3,"href",4,"ngIf"],["mat-button","",1,"mat-button--list",3,"routerLink"],["mat-button","",1,"mat-button--list",3,"href"]],template:function(fe,Se){1&fe&&(i.TgZ(0,"footer",0)(1,"div",1)(2,"div",2),i._UZ(3,"img",3),i.qZA(),i.YNc(4,ae,5,4,"div",4),i.qZA()()),2&fe&&(i.xp6(4),i.Q6J("ngForOf",Se.options))},dependencies:[d.sg,d.O5,D.rH,u.xw,u.Wh,u.yH,T.lW,T.zs],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";footer[_ngcontent-%COMP%]{padding:0 7%;background:url(footer.png);background-repeat:no-repeat;background-size:cover;background-color:#003b71;min-height:300px;width:auto}footer[_ngcontent-%COMP%] .m-hr[_ngcontent-%COMP%]{margin:3% 0 5%}@media (max-width: 960px){footer[_ngcontent-%COMP%]{padding:7% 5% 10% 20%}}@media (max-width: 600px){footer[_ngcontent-%COMP%]{max-height:610px;padding:6% 3% 5%;background:url(footer_mb.png);background-repeat:no-repeat;background-size:cover;background-color:#003b71}footer[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:3%}}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-block:0!important}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], footer[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:1px 0;list-style:none}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] p[_ngcontent-%COMP%], footer[_ngcontent-%COMP%] li[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;color:#fff;font-weight:600}@media (max-width: 600px){footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] p[_ngcontent-%COMP%], footer[_ngcontent-%COMP%] li[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:13px}}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%], footer[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]{padding:0;min-width:0;font-size:12px;color:#bebebe}@media (max-width: 600px){footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%], footer[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]{font-size:10px}}footer[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]:hover, footer[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]:hover{background:transparent!important}footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0!important;color:#bebebe}footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle;font-size:20px}footer[_ngcontent-%COMP%] .mat-button-focus-overlay[_ngcontent-%COMP%]{background:transparent!important}']}),le})()},6290:(Rt,je,a)=>{a.d(je,{G:()=>Ze});var r=a(4750),i=a(4650),d=a(4159),D=a(6895),u=a(2761),T=a(1576),F=a(5829),w=a(4859),p=a(7392),W=a(3683),ae=a(8255);const se=function(Ne){return{exact:Ne}};function le(Ne,gt){if(1&Ne&&(i.ynx(0),i.TgZ(1,"a",19),i._uU(2),i.qZA(),i.BQk()),2&Ne){const N=gt.$implicit;i.xp6(1),i.Q6J("routerLink",N.link)("routerLinkActiveOptions",i.VKq(3,se,N.exact||!1)),i.xp6(1),i.hij(" ",N.label," ")}}const me=function(){return["/cms/material-manager"]};function fe(Ne,gt){1&Ne&&(i.TgZ(0,"button",20),i._uU(1," Painel CMS "),i.qZA()),2&Ne&&i.Q6J("routerLink",i.DdM(1,me))}function Se(Ne,gt){if(1&Ne&&(i.ynx(0),i.TgZ(1,"button",21),i._uU(2),i.qZA(),i.BQk()),2&Ne){const N=gt.$implicit;i.xp6(1),i.Q6J("routerLink",N.link)("routerLinkActiveOptions",i.VKq(3,se,N.exact||!1)),i.xp6(1),i.hij(" ",N.label," ")}}let Ze=(()=>{class Ne{constructor(N){this.auth=N,this.menuItems=[{label:"Quem somos",link:"/quem-somos",exact:!0},{label:"Produtos",link:"/",exact:!0},{label:"Marketing",link:"/marketing"},{label:"Capacita\xe7\xe3o",link:"/capacitacao"},{label:"Oportunidades",link:"/oportunidades"},{label:"Or\xe7amento",link:"/orcamento"},{label:"Fale Conosco",link:"/contato"}]}cap(N){return r.o.capitalizeFirstLetter(N)}ngOnInit(){const N=this.auth.getAuth();try{this.user=JSON.parse(N)}catch(B){console.error("Error parsing auth data:",B)}}}return Ne.\u0275fac=function(N){return new(N||Ne)(i.Y36(d.e))},Ne.\u0275cmp=i.Xpm({type:Ne,selectors:[["app-header"]],decls:26,vars:6,consts:[["fxLayout","row wrap","fxLayoutGap.lt-md","10px","fxLayoutAlign","space-around center center"],["fxFlex.gt-sm","20","fxFlex.lt-md","80","routerLink","/",1,"logo-button"],["src","assets/logos/logo_header_pages.png","height","auto","width","80%",1,"logo"],["fxFlex","60","fxShow","","fxHide.lt-md","","fxLayoutAlign","center",1,"navbar-linkgroup"],[4,"ngFor","ngForOf"],["fxFlex","20","fxHide.lt-md","","fxLayoutGap","2%","fxLayoutAlign","center center",1,"profile-content"],["mat-button","",1,"mat-buttom-rounded",3,"matMenuTriggerFor"],["src","assets/icons/profile-icon.png"],[1,"mat-menu--no-padding"],["menu","matMenu"],["mat-menu-item","","class","logout-button",3,"routerLink",4,"ngIf"],["mat-menu-item","",1,"logout-button",3,"click"],[1,"text-content"],[1,"title"],["fxFlex.gt-sm","15","fxHide","","fxShow.lt-md","","fxLayoutAlign","end"],["mat-icon-button","","color","primary",1,"mat-button--modify",3,"matMenuTriggerFor"],["fxHide","","fxShow.lt-md","",1,"mb-menu"],["mbMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-button","","disableRipple","","routerLinkActive","active",3,"routerLink","routerLinkActiveOptions"],["mat-menu-item","",1,"logout-button",3,"routerLink"],["mat-menu-item","","routerLinkActive","active",3,"routerLink","routerLinkActiveOptions"]],template:function(N,B){if(1&N&&(i.TgZ(0,"mat-toolbar",0)(1,"div",1),i._UZ(2,"img",2),i.qZA(),i.TgZ(3,"div",3),i.YNc(4,le,3,5,"ng-container",4),i.qZA(),i.TgZ(5,"div",5)(6,"div")(7,"button",6),i._UZ(8,"img",7),i.qZA(),i.TgZ(9,"mat-menu",8,9),i.YNc(11,fe,2,2,"button",10),i.TgZ(12,"button",11),i.NdJ("click",function(){return B.auth.logout()}),i._uU(13," Sair "),i.qZA()()(),i.TgZ(14,"div",12)(15,"p",13),i._uU(16),i.qZA()()(),i.TgZ(17,"div",14)(18,"button",15)(19,"mat-icon"),i._uU(20,"menu"),i.qZA()(),i.TgZ(21,"mat-menu",16,17),i.YNc(23,Se,3,5,"ng-container",4),i.TgZ(24,"button",18),i.NdJ("click",function(){return B.auth.logout()}),i._uU(25,"Sair"),i.qZA()()()()),2&N){const X=i.MAs(10),ie=i.MAs(22);i.xp6(4),i.Q6J("ngForOf",B.menuItems),i.xp6(3),i.Q6J("matMenuTriggerFor",X),i.xp6(4),i.Q6J("ngIf","Admin"===(null==B.user?null:B.user.permission)),i.xp6(5),i.hij(" Ol\xe1, ",B.user?B.cap(null==B.user?null:B.user.first_name):"bem vindo(a)"," "),i.xp6(2),i.Q6J("matMenuTriggerFor",ie),i.xp6(5),i.Q6J("ngForOf",B.menuItems)}},dependencies:[D.sg,D.O5,u.rH,u.yS,u.Od,T.xw,T.SQ,T.Wh,T.yH,F.b8,w.lW,w.zs,p.Hw,W.Ye,ae.VK,ae.OP,ae.p6],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.mat-toolbar-row[_ngcontent-%COMP%], .mat-toolbar-single-row[_ngcontent-%COMP%]{padding:0}mat-toolbar[_ngcontent-%COMP%]{min-height:9%;color:#033b71!important;font-weight:600;background-color:#f4f4f4}mat-toolbar[_ngcontent-%COMP%] .mat-button--modify[_ngcontent-%COMP%]{border:none!important}mat-toolbar[_ngcontent-%COMP%] .logo-button[_ngcontent-%COMP%]{text-align:center}mat-toolbar[_ngcontent-%COMP%] .logo-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{vertical-align:middle!important}mat-toolbar[_ngcontent-%COMP%] .logo-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{cursor:pointer}@media (max-width: 960px){mat-toolbar[_ngcontent-%COMP%] .logo-button[_ngcontent-%COMP%]{text-align:left}mat-toolbar[_ngcontent-%COMP%] .logo-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30%}}@media (max-width: 600px){mat-toolbar[_ngcontent-%COMP%] .logo-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:50%}}mat-toolbar[_ngcontent-%COMP%] .navbar-linkgroup[_ngcontent-%COMP%]{color:#003b71}mat-toolbar[_ngcontent-%COMP%] .navbar-linkgroup[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{font-weight:700}mat-toolbar[_ngcontent-%COMP%] .profile-content[_ngcontent-%COMP%] .mat-buttom-rounded[_ngcontent-%COMP%]{border-radius:15px!important;padding:0!important;min-width:0px!important}mat-toolbar[_ngcontent-%COMP%] .profile-content[_ngcontent-%COMP%] .mat-buttom-rounded[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover{cursor:pointer}mat-toolbar[_ngcontent-%COMP%] .profile-content[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%]{font-size:14px}mat-toolbar[_ngcontent-%COMP%] .profile-content[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#000;font-weight:600;margin-bottom:0}mat-toolbar[_ngcontent-%COMP%] .profile-content[_ngcontent-%COMP%] .text-content[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{color:#0055f8;text-decoration:none}.mat-menu-item[_ngcontent-%COMP%]{color:#0055f8!important;font-weight:500}@media (max-width: 960px){.mat-menu-item[_ngcontent-%COMP%]{color:#033b71!important}}.mat-menu-item[_ngcontent-%COMP%] .logout-button[_ngcontent-%COMP%]{text-decoration:underline}.mb-menu[_ngcontent-%COMP%]{color:#003b71}.mb-menu[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{font-weight:700}']}),Ne})()},6998:(Rt,je,a)=>{a.d(je,{A:()=>D});var r=a(4650),i=a(1576);const d=function(u){return{color:u}};let D=(()=>{class u{constructor(){this.title="",this.subtitle="",this.colorTitle="#003B71"}}return u.\u0275fac=function(F){return new(F||u)},u.\u0275cmp=r.Xpm({type:u,selectors:[["app-headline-content"]],inputs:{title:"title",subtitle:"subtitle",colorTitle:"colorTitle"},decls:6,vars:6,consts:[["fxLayout","row wrap","fxLayoutAlign","center center",1,"headline-content"],["fxFlex.gt-lg","65","fxFlex.gt-sm","80","fxFlex.lt-md","90"],[1,"title"],[3,"innerHTML"],[1,"description"]],template:function(F,w){1&F&&(r.TgZ(0,"section",0)(1,"div",1)(2,"h1",2),r._UZ(3,"div",3),r.qZA(),r.TgZ(4,"h3",4),r._UZ(5,"div",3),r.qZA()()()),2&F&&(r.xp6(2),r.Akn(r.VKq(4,d,w.colorTitle)),r.xp6(1),r.Q6J("innerHTML",w.title,r.oJD),r.xp6(2),r.Q6J("innerHTML",w.subtitle,r.oJD))},dependencies:[i.xw,i.Wh,i.yH],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.headline-content[_ngcontent-%COMP%]{width:100%;padding:3.3% 0 2%;text-align:center}.headline-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{padding-bottom:1%}.headline-content[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{padding-bottom:2%}']}),u})()},6126:(Rt,je,a)=>{a.d(je,{EH:()=>Se,P3:()=>fe,Xm:()=>r.X,Q2:()=>le.Q,GE:()=>i.G,c1:()=>d.c,ci:()=>D.c,Gt:()=>u.G,Aj:()=>T.A,FF:()=>F.F,Jz:()=>w.J,lS:()=>me.l,e_:()=>se});var r=a(9389),i=a(643),d=a(6491),D=a(6526),u=a(6290),T=a(6998),F=a(9362),w=a(6265),p=a(4650),W=a(7009),ae=a(4859);let se=(()=>{class Ze{constructor(){this.snackBarRef=(0,p.f3M)(W.OX)}}return Ze.\u0275fac=function(gt){return new(gt||Ze)},Ze.\u0275cmp=p.Xpm({type:Ze,selectors:[["app-snack-bar-annotated"]],decls:4,vars:0,consts:[["matSnackBarLabel","",1,"message"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(gt,N){1>&&(p._UZ(0,"span",0),p.TgZ(1,"span",1)(2,"button",2),p.NdJ("click",function(){return N.snackBarRef.dismissWithAction()}),p._uU(3,"\u{1f355}"),p.qZA()())},dependencies:[ae.lW],styles:["[_nghost-%COMP%]{display:flex}"]}),Ze})();var le=a(7208),me=a(7922);let fe=(()=>{class Ze{constructor(){}ngOnInit(){}}return Ze.\u0275fac=function(gt){return new(gt||Ze)},Ze.\u0275cmp=p.Xpm({type:Ze,selectors:[["app-about-content"]],decls:22,vars:0,consts:[[1,"about-content"],[1,"title"],[1,"center"],["src","assets/images/about/about-desktop.png","alt","Sobre Apple DPP",1,"desktop"],["src","assets/images/about/about-mobile.png","alt","Sobre Apple DPP",1,"mobile"],[1,"text"],[1,"about-list","text"]],template:function(gt,N){1>&&(p.TgZ(0,"section",0)(1,"h1",1),p._uU(2,"Parceria Apple"),p.qZA(),p.TgZ(3,"div",2),p._UZ(4,"img",3),p.qZA(),p.TgZ(5,"div",2),p._UZ(6,"img",4),p.qZA(),p.TgZ(7,"p",5),p._uU(8," Allied DPP \xe9 um programa que chegou para proporcionar a sua revenda ferramentas para vendas, bem como treinamentos e capacita\xe7\xe3o de produtos Apple para empresas. "),p.qZA(),p.TgZ(9,"p",5),p._uU(10,"Aqui voc\xea conta com vantagens exclusivas do nosso DPP:"),p.qZA(),p.TgZ(11,"ul",6)(12,"li"),p._uU(13,"- Treinamentos"),p.qZA(),p.TgZ(14,"li"),p._uU(15,"- Pack de marketing"),p.qZA(),p.TgZ(16,"li"),p._uU(17,"- Gera\xe7\xe3o de demanda"),p.qZA(),p.TgZ(18,"li"),p._uU(19,"- A\xe7\xf5es Promocionais"),p.qZA(),p.TgZ(20,"li"),p._uU(21,"- RO\u2019s com pre\xe7os exclusivos"),p.qZA()()())},styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.about-content[_ngcontent-%COMP%]{width:100%;max-width:1360px;margin:0 auto;padding:0 3% 3%;display:flex;flex-direction:column;box-sizing:border-box}.title[_ngcontent-%COMP%]{font-size:40px;margin-bottom:2%}@media (max-width: 960px){.title[_ngcontent-%COMP%]{font-size:30px}}.text[_ngcontent-%COMP%]{font-size:16px}@media (max-width: 960px){.text[_ngcontent-%COMP%]{font-size:14px}}.center[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.about-list[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0}@media (max-width: 960px){.desktop[_ngcontent-%COMP%]{display:none}}.mobile[_ngcontent-%COMP%]{display:none}@media (max-width: 960px){.mobile[_ngcontent-%COMP%]{display:block}}']}),Ze})(),Se=(()=>{class Ze{constructor(){}ngOnInit(){}}return Ze.\u0275fac=function(gt){return new(gt||Ze)},Ze.\u0275cmp=p.Xpm({type:Ze,selectors:[["app-about"]],decls:2,vars:0,consts:[["title","Quem somos","subtitle","Fundada em 2001, a Allied se destaca como uma das principais empresas no cen\xe1rio brasileiro de eletr\xf4nicos de consumo, representando fabricantes de tecnologia renomados, como Apple. O objetivo principal da organiza\xe7\xe3o \xe9 fazer com que grandes marcas cheguem \xe0s principais empresas do Brasil.","colorTitle","#a52868"]],template:function(gt,N){1>&&p._UZ(0,"app-headline-content",0)(1,"app-about-content")},dependencies:[T.A,fe]}),Ze})()},7208:(Rt,je,a)=>{a.d(je,{Q:()=>_t});var r=a(4006),i=a(8505),d=a(262),D=a(2843),u=a(394),T=a(4650),F=a(4159),w=a(5037),p=a(2487);let W=(()=>{class et{constructor(he,G){this._urlService=he,this.api=G}add(he){const G=this._urlService.getUrl("DPP.addBudget",{});return this.api.post(G,he).pipe((0,d.K)(de=>(0,D._)(de)))}}return et.\u0275fac=function(he){return new(he||et)(T.LFG(w.i),T.LFG(p.s))},et.\u0275prov=T.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"}),et})();var ae=a(4845);let se=(()=>{class et{constructor(he,G){this.api=he,this._urlService=G}listStates(){const he=this._urlService.getUrl("IBGE.localesStates",{});return this.api.get(he,{orderBy:"nome"}).pipe((0,d.K)(G=>(0,D._)(G)))}}return et.\u0275fac=function(he){return new(he||et)(T.LFG(p.s),T.LFG(w.i))},et.\u0275prov=T.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"}),et})();var le=a(2761),me=a(6895),fe=a(1576),Se=a(4859),Ze=a(9549),Ne=a(4144),gt=a(4385),N=a(3238),B=a(1094);function X(et,mt){1&et&&(T.TgZ(0,"div",17)(1,"h4"),T._uU(2,"Dados do cliente:"),T.qZA(),T.TgZ(3,"label")(4,"p"),T._uU(5,"CNPJ"),T.qZA()(),T.TgZ(6,"mat-form-field",6)(7,"mat-label",22),T._uU(8,"CNPJ"),T.qZA(),T._UZ(9,"input",23),T.qZA()())}function ie(et,mt){1&et&&(T.TgZ(0,"div",17)(1,"label")(2,"p"),T._uU(3,"E-mail"),T.qZA()(),T.TgZ(4,"mat-form-field",6)(5,"mat-label",24),T._uU(6,"E-mail"),T.qZA(),T._UZ(7,"input",25),T.qZA()())}function pe(et,mt){1&et&&(T.TgZ(0,"h4"),T._uU(1,"Dados do cliente:"),T.qZA())}function we(et,mt){if(1&et&&(T.TgZ(0,"mat-option",26),T._uU(1),T.TgZ(2,"small"),T._uU(3),T.qZA()()),2&et){const he=mt.$implicit;T.Q6J("value",he.sigla),T.xp6(1),T.hij("",he.sigla," - "),T.xp6(2),T.Oqu(he.nome)}}function ne(et,mt){1&et&&(T.TgZ(0,"h4"),T._uU(1,"Pedidos do or\xe7amento:"),T.qZA())}function ge(et,mt){1&et&&(T.TgZ(0,"label")(1,"p"),T._uU(2,"Produto"),T.qZA()())}function Ve(et,mt){1&et&&(T.TgZ(0,"label")(1,"p"),T._uU(2,"Quantidade"),T.qZA()())}function Je(et,mt){if(1&et){const he=T.EpF();T.TgZ(0,"button",36),T.NdJ("click",function(){T.CHM(he);const de=T.oxw(2);return T.KtG(de.addProduct())}),T._uU(1," Incluir produto "),T.qZA()}}function pt(et,mt){if(1&et){const he=T.EpF();T.TgZ(0,"div",27)(1,"div",28)(2,"div",29),T.YNc(3,ne,2,0,"h4",5),T.YNc(4,ge,3,0,"label",5),T.TgZ(5,"mat-form-field",30)(6,"mat-label",31),T._uU(7,"Nome do produto"),T.qZA(),T._UZ(8,"input",32),T.qZA()(),T.TgZ(9,"div",33),T.YNc(10,Ve,3,0,"label",5),T.TgZ(11,"mat-form-field",30)(12,"mat-label"),T._uU(13,"Quantidade"),T.qZA(),T.TgZ(14,"input",34),T.NdJ("input",function(){T.CHM(he);const de=T.oxw();return T.KtG(de.checkNegativeValues())}),T.qZA()()(),T.TgZ(15,"div"),T.YNc(16,Je,2,0,"button",35),T.qZA()()()}if(2&et){const he=mt.index,G=T.oxw();T.xp6(1),T.Udp("padding-bottom",2,"%"),T.Q6J("@fadeIn",void 0)("formGroupName",he),T.xp6(2),T.Q6J("ngIf",!he),T.xp6(1),T.Q6J("ngIf",!he),T.xp6(6),T.Q6J("ngIf",!he),T.xp6(5),T.Udp("width",95,"%"),T.xp6(1),T.Q6J("ngIf",he===G.productsController.controls.length-1)}}const Ge=function(){return["/autenticacao"]};function At(et,mt){1&et&&(T.TgZ(0,"div",37)(1,"a",38),T._uU(2," Voltar "),T.qZA()()),2&et&&(T.Udp("width",94,"%"),T.xp6(1),T.Q6J("routerLink",T.DdM(3,Ge)))}let _t=(()=>{class et{constructor(he,G,de,ye,xe,Dt){this.fb=he,this.authService=G,this.budgetService=de,this.snackService=ye,this.localesService=xe,this.router=Dt,this.invoice=this.fb.group({estadoUf:["",[r.kI.required]],contribuinteIR:["",[r.kI.required]],produtos:this.fb.array([this.newGroupForm()]),formaPagamento:["",[]],mensagem:["",[r.kI.required,r.kI.maxLength(500)]],cnpj:["",this.auth?[]:[r.kI.pattern(/^\d{14}$/),r.kI.required]],email:["",this.auth?[]:[r.kI.email,r.kI.required]]}),this.authPage=this.router.url.includes("autenticacao")}ngOnInit(){this.loadStates(),this.loadAuthData()}loadStates(){this.states=this.localesService.listStates()}loadAuthData(){const he=this.authService.getAuth();if(he)try{this.auth=JSON.parse(he),this.auth&&this.invoice.patchValue({email:this.auth.email,cnpj:this.auth.cnpj})}catch(G){console.error("No authentication ",G)}}get productsController(){return this.invoice.get("produtos")}newGroupForm(){return this.fb.group({descricaoProduto:["",[]],quantidade:["",[r.kI.min(1)]]})}addProduct(){this.productsController.push(this.newGroupForm())}removeProduct(he){this.productsController.removeAt(he)}checkNegativeValues(){this.invoice.get("produtos").controls.forEach(G=>{const de=G.get("quantidade");de&&de.value<0&&de.setValue(0)})}saveBudget(he){const{email:G,estadoUf:de,contribuinteIR:ye,produtos:xe,formaPagamento:Dt,mensagem:Fe,cnpj:$e}=he;if(xe.some(Qe=>Qe.quantidade<=0))return this.snackService.open({message:"Nome do produto e quantidade obrigat\xf3rios.",duration:7e3});const it={email:G,estadoUf:de,contribuinteIR:ye,cnpj:$e},ue={produtos:xe.map(({descricaoProduto:Qe,quantidade:Et})=>({descricaoProduto:Qe,quantidade:Et})),cotacaoFormaPagamento:Dt};this.budgetService.add({cotacaoProdutos:{cotacaoDadosCliente:it,cotacaoPedidosOrcamento:ue,mensagem:Fe}}).pipe((0,i.b)(()=>{this.snackService.open({message:"Or\xe7amento solicitado com sucesso.",action:"Fechar",duration:7e3}),this.invoice.reset()}),(0,d.K)(Qe=>(console.error(Qe),this.snackService.open({message:Qe.error?.errors||"Ocorreu um erro ao solicitar o or\xe7amento.",duration:7e3}),(0,D._)(Qe)))).subscribe()}}return et.\u0275fac=function(he){return new(he||et)(T.Y36(r.qu),T.Y36(F.e),T.Y36(W),T.Y36(ae.o),T.Y36(se),T.Y36(le.F0))},et.\u0275cmp=T.Xpm({type:et,selectors:[["app-budget-form"]],decls:50,vars:12,consts:[[1,"form-content"],[3,"formGroup"],["fxLayout","row wrap","fxLayoutGap.lt-md","10","fxLayoutGap.gt-sm","20","fxLayoutAlign","center end",1,"document-content"],["fxFlex","95","class","form-group",4,"ngIf"],["fxFlex","45",1,"form-group"],[4,"ngIf"],["appearance","outline"],["for","estadoUf"],["id","state","name","estadoUf","formControlName","estadoUf","ngDefaultControl",""],[3,"value",4,"ngFor","ngForOf"],["for","contribuinteIR"],["name","contribuinteIR","formControlName","contribuinteIR","ngDefaultControl",""],["value","Sim"],["value","N\xe3o"],["formArrayName","produtos",1,"invoice-group"],["class","dynamic-form",4,"ngFor","ngForOf"],["fxLayout","row wrap","fxLayoutAlign","center end",1,"payment-content"],["fxFlex","95",1,"form-group"],["matInput","","type","text","name","formaPagamento","formControlName","formaPagamento"],["matInput","","type","text","name","mensagem","rows","7","formControlName","mensagem"],["mat-raised-button","","color","warn",1,"mat-button--large",3,"disabled","click"],["class","linkBack",3,"width",4,"ngIf"],["for","cnpj"],["matInput","","type","text","name","cnpj","formControlName","cnpj","placeholder","Digite o CNPJ","mask","000.000.000/0000-0"],["for","email"],["matInput","","type","email","name","email","formControlName","email","placeholder","Digite o email"],[3,"value"],[1,"dynamic-form"],["fxLayout","row wrap","fxLayoutGap.lt-md","10","fxLayoutGap.gt-sm","20","fxLayoutAlign","center end",3,"formGroupName"],["fxFlex.lt-md","60","fxFlex.gt-sm","60",1,"form-group"],["appearance","outline",1,"mat-form-field--no-padding"],["for","descricaoProduto"],["matInput","","type","text","name","descricaoProduto","formControlName","descricaoProduto"],["fxFlex.lt-md","30","fxFlex.gt-sm","30",1,"form-group"],["matInput","","type","number","name","quantidade","formControlName","quantidade",3,"input"],["type","button","class","clean-button mat-button--small mat-button--link","mat-button","","disableRipple","","color","warn",3,"click",4,"ngIf"],["type","button","mat-button","","disableRipple","","color","warn",1,"clean-button","mat-button--small","mat-button--link",3,"click"],[1,"linkBack"],[3,"routerLink"]],template:function(he,G){1&he&&(T.TgZ(0,"section",0)(1,"form",1)(2,"div",2),T.YNc(3,X,10,0,"div",3),T.YNc(4,ie,8,0,"div",3),T.TgZ(5,"div",4),T.YNc(6,pe,2,0,"h4",5),T.TgZ(7,"label")(8,"p"),T._uU(9,"Estado"),T.qZA()(),T.TgZ(10,"mat-form-field",6)(11,"mat-label",7),T._uU(12,"UF"),T.qZA(),T.TgZ(13,"mat-select",8),T.YNc(14,we,4,3,"mat-option",9),T.ALo(15,"async"),T.qZA()()(),T.TgZ(16,"div",4)(17,"label")(18,"p"),T._uU(19,"Contribuinte I.E"),T.qZA()(),T.TgZ(20,"mat-form-field",6)(21,"mat-label",10),T._uU(22,"Contribuinte"),T.qZA(),T.TgZ(23,"mat-select",11)(24,"mat-option",12),T._uU(25,"Sim"),T.qZA(),T.TgZ(26,"mat-option",13),T._uU(27,"N\xe3o"),T.qZA()()()()(),T.TgZ(28,"div",14),T.YNc(29,pt,17,10,"div",15),T.qZA(),T.TgZ(30,"div",16)(31,"div",17)(32,"label")(33,"p"),T._uU(34,"Pagamento"),T.qZA()(),T.TgZ(35,"mat-form-field",6)(36,"mat-label"),T._uU(37,"Forma de pagamento"),T.qZA(),T._UZ(38,"input",18),T.qZA()(),T.TgZ(39,"div",17)(40,"label")(41,"p"),T._uU(42,"Mensagem"),T.qZA()(),T.TgZ(43,"mat-form-field",6)(44,"mat-label"),T._uU(45,"Digite sua mensagem"),T.qZA(),T._UZ(46,"textarea",19),T.qZA(),T.TgZ(47,"button",20),T.NdJ("click",function(){return G.saveBudget(G.invoice.value)}),T._uU(48," Solicitar or\xe7amento "),T.qZA(),T.YNc(49,At,3,4,"div",21),T.qZA()()()()),2&he&&(T.xp6(1),T.Q6J("formGroup",G.invoice),T.xp6(2),T.Q6J("ngIf",!G.auth),T.xp6(1),T.Q6J("ngIf",!G.auth),T.xp6(2),T.Q6J("ngIf",G.auth),T.xp6(8),T.Q6J("ngForOf",T.lcZ(15,10,G.states)),T.xp6(15),T.Q6J("ngForOf",G.productsController.controls),T.xp6(18),T.Udp("width",100,"%"),T.Q6J("disabled",!G.invoice.valid),T.xp6(2),T.Q6J("ngIf",G.authPage))},dependencies:[r._Y,r.Fj,r.wV,r.JJ,r.JL,me.sg,me.O5,le.yS,fe.xw,fe.SQ,fe.Wh,fe.yH,r.sg,r.u,r.x0,r.CE,Se.lW,Ze.KE,Ze.hX,Ne.Nt,gt.gD,N.ey,B.hx,me.Ov],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.form-content[_ngcontent-%COMP%]{padding:1% 0 5%}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{margin:0 auto;width:50%}@media (max-width: 1280px){.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:50%}}@media (max-width: 960px){.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:75%}}@media (max-width: 600px){.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:100%}}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:700}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .invoice-group[_ngcontent-%COMP%] .clean-button[_ngcontent-%COMP%]{padding-top:1%;text-decoration:underline;text-align:left;font-size:16px}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .payment-content[_ngcontent-%COMP%]{padding-top:2%}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin:0 auto!important}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .linkBack[_ngcontent-%COMP%]{padding:3%;text-align:center}.form-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .linkBack[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#a52868;font-weight:600;text-decoration:none}'],data:{animation:[(0,u.B)()]}}),et})()},9362:(Rt,je,a)=>{a.d(je,{F:()=>u});var r=a(4650),i=a(6998),d=a(7208),D=a(4944);let u=(()=>{class T{constructor(){this.banners=[]}ngOnInit(){this.setCarouselImages()}setCarouselImages(){this.banners=[{ref:"login_img",src:"login_img.png",infoBox:{title:"O mundo apple ao alcance do",subtitle:"seu neg\xf3cio",description:"A Allied \xe9 o distribuidor oficial apple no Brasil. Nosso compromisso \xe9 fornecer produtos de alta qualidade e o suporte necess\xe1rio para maximizar oportunidades",position:"before"}}]}}return T.\u0275fac=function(w){return new(w||T)},T.\u0275cmp=r.Xpm({type:T,selectors:[["app-invoice"]],decls:4,vars:1,consts:[[1,"invoice-section"],[3,"images"],["title","Solicite or\xe7amento","colorTitle","#a52868"]],template:function(w,p){1&w&&(r.TgZ(0,"section",0),r._UZ(1,"app-banner-carousel",1)(2,"app-headline-content",2)(3,"app-budget-form"),r.qZA()),2&w&&(r.xp6(1),r.Q6J("images",p.banners))},dependencies:[i.A,d.Q,D.k],styles:[".invoice-section[_ngcontent-%COMP%]{padding-top:7%}"]}),T})()},7922:(Rt,je,a)=>{a.d(je,{l:()=>p});var r=a(4750),i=a(4650),d=a(4159),D=a(2761),u=a(4859),T=a(7392),F=a(8255);const w=function(){return["/"]};let p=(()=>{class W{constructor(se){this.auth=se}ngOnInit(){const se=this.auth.getAuth();try{this.user=JSON.parse(se)}catch(le){console.error("Error parsing auth data:",le)}}cap(se){return r.o.capitalizeFirstLetter(se)}}return W.\u0275fac=function(se){return new(se||W)(i.Y36(d.e))},W.\u0275cmp=i.Xpm({type:W,selectors:[["app-profile-content"]],decls:15,vars:4,consts:[[1,"content-profile"],[1,"info"],[1,"name"],["mat-icon-button","",3,"matMenuTriggerFor"],[1,"mat-menu--no-padding"],["menu","matMenu"],["mat-menu-item","",1,"logout-button",3,"routerLink"],["mat-menu-item","",1,"logout-button",3,"click"]],template:function(se,le){if(1&se&&(i.TgZ(0,"div",0)(1,"div",1)(2,"p",2),i._uU(3),i.qZA(),i.TgZ(4,"small"),i._uU(5,"Administrador"),i.qZA()(),i.TgZ(6,"button",3)(7,"mat-icon"),i._uU(8,"more_vert"),i.qZA()(),i.TgZ(9,"mat-menu",4,5)(11,"button",6),i._uU(12," Portal DPP "),i.qZA(),i.TgZ(13,"button",7),i.NdJ("click",function(){return le.auth.logout()}),i._uU(14," Sair "),i.qZA()()()),2&se){const me=i.MAs(10);i.xp6(3),i.Oqu(le.cap(null==le.user?null:le.user.first_name)||"Ol\xe1,"),i.xp6(3),i.Q6J("matMenuTriggerFor",me),i.xp6(5),i.Q6J("routerLink",i.DdM(3,w))}},dependencies:[D.rH,u.lW,T.Hw,F.VK,F.OP,F.p6],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.content-profile[_ngcontent-%COMP%]{display:flex;align-items:center;border-left:solid 1px #D9DBDC;border-right:solid 1px #D9DBDC;font-size:16px;line-height:normal;padding:13px 5px 13px 20px;min-width:100px;width:auto}@media (max-width: 959.33px){.content-profile[_ngcontent-%COMP%]{background-color:#f5f5f5}}@media (max-width: 599.98px){.content-profile[_ngcontent-%COMP%]{background-color:#f5f5f5;margin-top:3px}}.content-profile[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1}.content-profile[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-bottom:0;color:#8391a1}']}),W})()},6265:(Rt,je,a)=>{a.d(je,{J:()=>ne});var r=a(2289),i=a(4004),d=a(7579),D=a(6063);class u extends d.x{constructor(Ve=1/0,Je=1/0,pt=D.l){super(),this._bufferSize=Ve,this._windowTime=Je,this._timestampProvider=pt,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Je===1/0,this._bufferSize=Math.max(1,Ve),this._windowTime=Math.max(1,Je)}next(Ve){const{isStopped:Je,_buffer:pt,_infiniteTimeWindow:Ge,_timestampProvider:At,_windowTime:st}=this;Je||(pt.push(Ve),!Ge&&pt.push(At.now()+st)),this._trimBuffer(),super.next(Ve)}_subscribe(Ve){this._throwIfClosed(),this._trimBuffer();const Je=this._innerSubscribe(Ve),{_infiniteTimeWindow:pt,_buffer:Ge}=this,At=Ge.slice();for(let st=0;stnew u(pt,Ve,Je),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ge})}var w=a(394),p=a(4650),W=a(4159),ae=a(6895),se=a(2761),le=a(1576),me=a(4859),fe=a(7392),Se=a(3267),Ze=a(3683),Ne=a(6338),gt=a(7922);function N(ge,Ve){1&ge&&(p.TgZ(0,"div"),p._UZ(1,"app-profile-content"),p.qZA())}function B(ge,Ve){1&ge&&p._UZ(0,"img",18)}function X(ge,Ve){1&ge&&p._UZ(0,"img",19),2&ge&&p.Q6J("@fadeIn",void 0)}function ie(ge,Ve){1&ge&&(p.TgZ(0,"div",20),p._UZ(1,"app-profile-content"),p.qZA())}const pe=function(){return["/cms/material-manager"]},we=function(){return["/cms/opportunities"]};let ne=(()=>{class ge{constructor(Je,pt,Ge){this.breakpointObserver=Je,this.auth=pt,this.mediaMatcher=Ge,this.isTablet$=this.breakpointObserver.observe(r.u3.Small).pipe((0,i.U)(st=>st.matches),F()),this.isHandset$=this.breakpointObserver.observe(r.u3.Handset).pipe((0,i.U)(st=>st.matches),F()),this.callBrand=!1;const At=this.auth.getAuth();try{this.user=JSON.parse(At)}catch(st){console.error("Error parsing auth data:",st)}}}return ge.\u0275fac=function(Je){return new(Je||ge)(p.Y36(r.Yg),p.Y36(W.e),p.Y36(r.vx))},ge.\u0275cmp=p.Xpm({type:ge,selectors:[["app-navigation-cms"]],decls:45,vars:35,consts:[[1,"sidenav-container"],["fixedInViewport","",1,"sidenav",3,"mode","opened"],["drawer",""],["src","assets/logos/logo_header_auth.png","width","100%","height","auto"],[4,"ngIf"],["mat-subheader",""],[3,"routerLink","routerLinkActive"],["matListItemIcon",""],["matListItemTitle",""],["color","light",1,"mat-elevation-z4"],["fxLayout","row","fxLayoutAlign","flex-start center",1,"toolbar-row"],["fxFlex","","fxLayoutGap","5px","fxLayoutAlign","start center","fxLayoutAlign.lt-sm","space-between center",1,"menu-button"],["src","assets/logos/logo_header_auth.png","width","50%","height","auto",4,"ngIf"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click"],["aria-label","Side nav toggle icon"],["src","assets/logos/logo_header_bl.png","width","30%","height","auto",4,"ngIf"],["fxFlex","","fxLayoutAlign","flex-end center","class","profile-navigation",4,"ngIf"],[1,"content-router"],["src","assets/logos/logo_header_auth.png","width","50%","height","auto"],["src","assets/logos/logo_header_bl.png","width","30%","height","auto"],["fxFlex","","fxLayoutAlign","flex-end center",1,"profile-navigation"]],template:function(Je,pt){if(1&Je){const Ge=p.EpF();p.TgZ(0,"mat-sidenav-container",0)(1,"mat-sidenav",1,2),p.ALo(3,"async"),p.ALo(4,"async"),p.ALo(5,"async"),p.ALo(6,"async"),p.ALo(7,"async"),p.ALo(8,"async"),p.TgZ(9,"mat-toolbar"),p._UZ(10,"img",3),p.qZA(),p.YNc(11,N,2,0,"div",4),p.ALo(12,"async"),p.TgZ(13,"mat-nav-list")(14,"mat-list")(15,"div",5)(16,"small"),p._uU(17,"Capacita\xe7\xe3o"),p.qZA()(),p.TgZ(18,"mat-list-item",6)(19,"mat-icon",7),p._uU(20,"folder"),p.qZA(),p.TgZ(21,"div",8),p._uU(22,"Material de apoio"),p.qZA()()(),p.TgZ(23,"mat-list")(24,"mat-list-item",6)(25,"mat-icon",7),p._uU(26,"group_add"),p.qZA(),p.TgZ(27,"div",8),p._uU(28,"Gest\xe3o de oportunidades"),p.qZA()()()()(),p.TgZ(29,"mat-sidenav-content")(30,"mat-toolbar",9)(31,"mat-toolbar-row",10)(32,"div",11),p.YNc(33,B,1,0,"img",12),p.ALo(34,"async"),p.ALo(35,"async"),p.TgZ(36,"button",13),p.NdJ("click",function(){p.CHM(Ge);const st=p.MAs(2);return p.KtG(st.toggle())}),p.TgZ(37,"mat-icon",14),p._uU(38,"menu"),p.qZA()(),p.YNc(39,X,1,1,"img",15),p.ALo(40,"async"),p.qZA(),p.YNc(41,ie,2,0,"div",16),p.ALo(42,"async"),p.qZA()(),p.TgZ(43,"main",17),p._UZ(44,"router-outlet"),p.qZA()()()}if(2&Je){const Ge=p.MAs(2);p.xp6(1),p.Q6J("mode",p.lcZ(5,15,pt.isTablet$)||p.lcZ(6,17,pt.isHandset$)?"over":"side")("opened",p.lcZ(7,19,pt.isTablet$)||!1===p.lcZ(8,21,pt.isHandset$)),p.uIk("role",p.lcZ(3,11,pt.isTablet$)||p.lcZ(4,13,pt.isHandset$)?"dialog":"navigation"),p.xp6(10),p.Q6J("ngIf",p.lcZ(12,23,pt.isHandset$)),p.xp6(7),p.Q6J("routerLink",p.DdM(33,pe))("routerLinkActive","mat-list-item--focus"),p.xp6(6),p.Q6J("routerLink",p.DdM(34,we))("routerLinkActive","mat-list-item--focus"),p.xp6(9),p.Q6J("ngIf",p.lcZ(34,25,pt.isHandset$)&&!p.lcZ(35,27,pt.isTablet$)),p.xp6(6),p.Q6J("ngIf",!Ge.opened&&!p.lcZ(40,29,pt.isHandset$)),p.xp6(2),p.Q6J("ngIf",!p.lcZ(42,31,pt.isHandset$))}},dependencies:[ae.O5,se.lC,se.rH,se.Od,le.xw,le.SQ,le.Wh,le.yH,me.lW,fe.Hw,Se.JX,Se.TM,Se.Rh,Ze.Ye,Ze.rD,Ne.i$,Ne.Hk,Ne.Tg,Ne.gs,gt.l,ae.Ov],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.sidenav-container[_ngcontent-%COMP%]{height:100%}.sidenav[_ngcontent-%COMP%]{width:300px;background:#003B71}.sidenav[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%]{padding:7% 10%;background:inherit}.sidenav[_ngcontent-%COMP%] .mat-nav-list[_ngcontent-%COMP%] > .mat-list[_ngcontent-%COMP%] > .mat-subheader[_ngcontent-%COMP%], .sidenav[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{color:#fff!important}.sidenav[_ngcontent-%COMP%] .mat-nav-list[_ngcontent-%COMP%] > .mat-list[_ngcontent-%COMP%] > .mat-subheader--focus[_ngcontent-%COMP%], .sidenav[_ngcontent-%COMP%] .mat-list-item--focus[_ngcontent-%COMP%]{background:rgba(0,0,0,.1411764706)}.sidenav[_ngcontent-%COMP%] .mat-nav-list[_ngcontent-%COMP%] > .mat-list[_ngcontent-%COMP%] > .mat-list-item[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:5%}.mat-toolbar[_ngcontent-%COMP%]{position:sticky;top:0;z-index:2}.mat-toolbar[_ngcontent-%COMP%] .mat-toolbar-row[_ngcontent-%COMP%]{padding-right:3%}@media (max-width: 599.98px){.mat-toolbar[_ngcontent-%COMP%]{background-color:#003b71!important;color:#fff!important}}.mat-menu-item[_ngcontent-%COMP%]{color:#0055f8!important;font-weight:500}@media (max-width: 960px){.mat-menu-item[_ngcontent-%COMP%]{color:#033b71!important}}.mat-menu-item[_ngcontent-%COMP%] .logout-button[_ngcontent-%COMP%]{text-decoration:underline}.content-router[_ngcontent-%COMP%]{padding:5%;text-align:justify}@media (max-width: 960px){.content-router[_ngcontent-%COMP%]{padding:5% 3%}}'],data:{animation:[(0,w.B)(555)]}}),ge})()},9572:(Rt,je,a)=>{a.d(je,{i:()=>D});var r=a(4650),i=a(6895);function d(u,T){if(1&u&&(r.TgZ(0,"p",3),r._uU(1),r.qZA()),2&u){const F=r.oxw();r.xp6(1),r.Oqu(F.subtitle)}}let D=(()=>{class u{constructor(){this.title="",this.subtitle=""}ngOnInit(){}}return u.\u0275fac=function(F){return new(F||u)},u.\u0275cmp=r.Xpm({type:u,selectors:[["app-title-cms"]],inputs:{title:"title",subtitle:"subtitle"},decls:4,vars:2,consts:[[1,"content-title"],[1,"title-cms"],["class","subtitle-cms",4,"ngIf"],[1,"subtitle-cms"]],template:function(F,w){1&F&&(r.TgZ(0,"section",0)(1,"h1",1),r._uU(2),r.qZA(),r.YNc(3,d,2,1,"p",2),r.qZA()),2&F&&(r.xp6(2),r.Oqu(w.title),r.xp6(1),r.Q6J("ngIf",w.subtitle))},dependencies:[i.O5],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.content-title[_ngcontent-%COMP%]{padding-bottom:1.5%;color:#033b71}.content-title[_ngcontent-%COMP%] .title-cms[_ngcontent-%COMP%]{font-size:24px;font-weight:600}.content-title[_ngcontent-%COMP%] .subtitle-cms[_ngcontent-%COMP%]{font-size:18px;font-weight:400}.mat-card[_ngcontent-%COMP%]{padding:0}.mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{font-size:18px;font-weight:400}.mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] .mat-card-subtitle[_ngcontent-%COMP%]{text-align:left;color:#003b71}.mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%], .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{padding:18px} .mat-card-header-text{margin:0!important}.content-title[_ngcontent-%COMP%]{text-align:left}']}),u})()},5282:(Rt,je,a)=>{a.d(je,{Z:()=>r});const r=[{categorieName:"iPhone",flag:"iphone"},{categorieName:"Mac",flag:"mac"},{categorieName:"iPad",flag:"ipad"},{categorieName:"Outros arquivos",flag:"others"}]},43:(Rt,je,a)=>{a.d(je,{Dh:()=>d,Ec:()=>D,bP:()=>i});const i=[{categorie:"Produtos",title:"Mac",target:"/categoria/mac"},{categorie:"Produtos",title:"iPad",target:"/categoria/ipad"},{categorie:"Produtos",title:"iPhone",target:"/categoria/smartphones"},{categorie:"Conte\xfados",title:"Marketing",target:"/marketing",out:!1},{categorie:"Conte\xfados",title:"Capacita\xe7\xe3o",target:"/marketing",out:!1},{categorie:"Fale conosco",title:"portaldpp@alliedbrasil.com.br",target:"portaldpp@alliedbrasil.com.br",out:!1},{categorie:"Fale conosco",title:"Formul\xe1rio",target:"/orcamento"}],d=[{name:"Mac",img:"assets/images/computers.png",flag:"mac"},{name:"iPhone",img:"assets/images/smartphones.png",flag:"smartphones"},{name:"iPad",img:"assets/images/ipads.png",flag:"ipad"}],D=[{name:"Marketing",img:"assets/icons/icon-mkt.png",flag:"marketing"},{name:"Capacita\xe7\xe3o",img:"assets/icons/icon-cap.png",flag:"capacitacao"}]},2487:(Rt,je,a)=>{a.d(je,{s:()=>D});var r=a(529),i=a(2340),d=a(4650);let D=(()=>{class u{constructor(F){this.http=F,this._environment=i.N}get(F,w,p){if(p||(p={params:new r.LE}),w){p.params=new r.LE;for(const W in w)p.params=p.params.set(W,w[W])}return this.http.get(F,p)}post(F,w,p){return this.http.post(F,w,p)}put(F,w,p){return this.http.put(F,w,p)}delete(F,w){return this.http.delete(F,w)}patch(F,w,p){return this.http.patch(F,w,p)}}return u.\u0275fac=function(F){return new(F||u)(d.LFG(r.eN))},u.\u0275prov=d.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},2902:(Rt,je,a)=>{a.d(je,{a:()=>D});var r=a(4650),i=a(4159),d=a(2761);let D=(()=>{class u{constructor(F,w){this.auth=F,this.router=w}canActivate(F,w){return!!this.auth.getAuth()||this.router.createUrlTree(["/autenticacao"])}}return u.\u0275fac=function(F){return new(F||u)(r.LFG(i.e),r.LFG(d.F0))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},778:(Rt,je,a)=>{a.d(je,{U:()=>F});var r=a(262),i=a(2843),d=a(4650),D=a(5037),u=a(2487),T=(()=>{return(w=T||(T={})).JSON="json",w.ARRAYBUFFER="arraybuffer",w.BLOB="blob",w.TEXT="text",T;var w})();let F=(()=>{class w{constructor(W,ae){this._urlService=W,this.api=ae}add(W){const ae=this._urlService.getUrl("DPP.addOpportunities",{});return this.api.post(ae,W).pipe((0,r.K)(se=>(0,i._)(se)))}list(W){const ae=this._urlService.getUrl("DPP.listOpportunities",{});return this.api.post(ae,W).pipe((0,r.K)(se=>(0,i._)(se)))}managerStatus(W){const ae=this._urlService.getUrl("DPP.manageOpportunities",{});return this.api.post(ae,W).pipe((0,r.K)(se=>(0,i._)(se)))}export(W){const ae=this._urlService.getUrl("DPP.exportOpportunities");return this.api.post(ae,W,T.ARRAYBUFFER)}}return w.\u0275fac=function(W){return new(W||w)(d.LFG(D.i),d.LFG(u.s))},w.\u0275prov=d.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},4845:(Rt,je,a)=>{a.d(je,{o:()=>d});var r=a(4650),i=a(7009);let d=(()=>{class D{constructor(T){this.snackbar=T,this.snackbarConfig={horizontalPosition:"end",verticalPosition:"top",duration:5e3}}open(T){const F={...this.snackbarConfig,duration:T.duration??this.snackbarConfig.duration,horizontalPosition:T.horizontalPosition??this.snackbarConfig.horizontalPosition,verticalPosition:T.verticalPosition??this.snackbarConfig.verticalPosition};this.snackbar.open(T.message,T.action??"Ok",F)}}return D.\u0275fac=function(T){return new(T||D)(r.LFG(i.ux))},D.\u0275prov=r.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})()},5037:(Rt,je,a)=>{a.d(je,{i:()=>u});var r=a(2340),i=a(4750),d=a(1135),D=a(4650);let u=(()=>{class T{constructor(){this.parameterSubject=new d.X("mac"),this.parametro$=this.parameterSubject.asObservable(),this.API_URL={AUTH:r.N.endpoints._api,DPP:r.N.endpoints._api,IBGE:r.N.endpoints.ibge,CMS:r.N.endpoints._api},this.URL_LIST={AUTH:{signup:"/Revendedor/cadastrar",tokenOAuth:"/Token/oauth",approveReseller:"/Revendedor/aprovarRevendedor",reproveReseller:"/Revendedor/reprovarRevendedor",updatePasswordLogged:"/Revendedor/alterarSenha",updatePasswordEmailToken:"/Revendedor/alterarSenhaToken",confirmEmailResetPassword:"/Revendedor/esqueciSenha",validationTokenForgetPassword:"/Revendedor/esqueciSenhaValidacaoToken"},DPP:{addBudget:"/Produto/cotacaoProdutos",addContact:"/Contato/faleconosco",addOpportunities:"/Oportunidade/cadastrar",listOpportunities:"/Oportunidade/listar",manageOpportunities:"/Oportunidade/avaliar",exportOpportunities:"/Oportunidade/exportar"},IBGE:{localesStates:"/localidades/estados"},CMS:{listMaterials:"/Media/obterMedias",addMaterial:"/Media/UploadFile",removeMaterial:"/Media/DeleteFile",updateMaterial:"/Media/atualizarMedia",updateGroupMaterials:"/Media/atualizarMultiplasMedias"}}}getUrl(w,p={},W=!1){const[ae,se]=w.split(".");let le="";return W?le=this.URL_LIST[ae][se]:se&&(le=this.API_URL[ae]+this.URL_LIST[ae][se]),i.o.parseKeyText(le,p)}upParameter(w){this.parameterSubject.next(w)}}return T.\u0275fac=function(w){return new(w||T)},T.\u0275prov=D.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},2399:(Rt,je,a)=>{a.d(je,{m:()=>X});var r=a(6895),i=a(529),d=a(4006),D=a(2761),u=a(1094),T=a(9814),w=(a(6126),a(6644)),p=a(1481),W=a(1516),ae=a(4826),le=(a(4944),a(4650));a(9549),a(4144),a(9572),a(7318),a(3146),a(1690);let X=(()=>{class ie{static forRoot(){return{ngModule:ie,providers:[]}}}return ie.\u0275fac=function(we){return new(we||ie)},ie.\u0275mod=le.oAB({type:ie}),ie.\u0275inj=le.cJS({imports:[d.u5,r.ez,D.Bz,p.b2,T.o9,i.JF,d.UX,w.h,W.PW,u.yI.forRoot(),ae.bB,d.u5,r.ez,D.Bz,p.b2,ae.bB,T.o9,d.UX,w.h,W.PW]}),ie})()},4750:(Rt,je,a)=>{a.d(je,{c:()=>d,o:()=>i});var r=a(529);class i{static generatePaymentPeriods(){const u=[],T=new Date,F={month:"long",year:"numeric"};for(let w=0;w<=6;w++){const W=new Date(T.getFullYear(),T.getMonth()+w).toLocaleDateString("pt-BR",F);u.push(W.charAt(0).toUpperCase()+W.slice(1))}return u}static capitalizeFirstLetter(u){return u.charAt(0).toUpperCase()+u.slice(1).toLowerCase()}static parseKeyText(u,T={}){const F=/({.*})/.test(u),w=Object.keys(T);if(F&&w.length)for(const p of w)Array.isArray(T[p])?u+=T[p].map(W=>`&${p}=${W}`).join(""):u=u.replace(`{${p}}`,T[p]);return u}static isEqualObject(u,T){return JSON.stringify(u)===JSON.stringify(T)}}class d{static objectToFormData(u){const T=new FormData;for(const F in u)if(u.hasOwnProperty(F)){const w=u[F];if(Array.isArray(w))for(const p of w)T.append(F,p);else T.append(F,w)}return T}static createHeadersForFormData(){return new r.WM({"Content-Type":"multipart/form-data"})}}},2340:(Rt,je,a)=>{a.d(je,{N:()=>r});const r={production:!1,endpoints:{_api:"https://hmg-api-allieddpp.alliedtech.com.br/api",ibge:"https://servicodados.ibge.gov.br/api/v1"},midiaBucket:"https://hmg-media.allieddpp.com.br",authApiUserBody:""}},4809:(Rt,je,a)=>{var gn,vn,Hn,hn,at,Pe,m,$,Ie,r=a(1481),i=a(4650),d=a(2761);const D=[{path:"cms",loadChildren:()=>Promise.resolve().then(a.bind(a,8032)).then(Te=>Te.CmsModule)},{path:"",loadChildren:()=>Promise.resolve().then(a.bind(a,61)).then(Te=>Te.LandingModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let u=(()=>{class Te{}return Te.\u0275fac=function(ve){return new(ve||Te)},Te.\u0275mod=i.oAB({type:Te}),Te.\u0275inj=i.cJS({imports:[d.Bz.forRoot(D,{scrollPositionRestoration:"top"}),d.Bz]}),Te})();var T=a(1135),F=a(7579),w=a(9300),p=a(2722),W=a(7340),ae=a(6895);const se=["overlay"];function le(Te,be){1&Te&&i._UZ(0,"div")}function me(Te,be){if(1&Te&&(i.TgZ(0,"div"),i.YNc(1,le,1,0,"div",6),i.qZA()),2&Te){const ve=i.oxw(2);i.Tol(ve.spinner.class),i.Udp("color",ve.spinner.color),i.xp6(1),i.Q6J("ngForOf",ve.spinner.divArray)}}function fe(Te,be){if(1&Te&&(i._UZ(0,"div",7),i.ALo(1,"safeHtml")),2&Te){const ve=i.oxw(2);i.Q6J("innerHTML",i.lcZ(1,1,ve.template),i.oJD)}}function Se(Te,be){if(1&Te&&(i.TgZ(0,"div",1,2),i.YNc(2,me,2,5,"div",3),i.YNc(3,fe,2,3,"div",4),i.TgZ(4,"div",5),i.Hsn(5),i.qZA()()),2&Te){const ve=i.oxw();i.Udp("background-color",ve.spinner.bdColor)("z-index",ve.spinner.zIndex)("position",ve.spinner.fullScreen?"fixed":"absolute"),i.Q6J("@.disabled",ve.disableAnimation)("@fadeIn","in"),i.xp6(2),i.Q6J("ngIf",!ve.template),i.xp6(1),i.Q6J("ngIf",ve.template),i.xp6(1),i.Udp("z-index",ve.spinner.zIndex)}}const Ne={"ball-8bits":16,"ball-atom":4,"ball-beat":3,"ball-circus":5,"ball-climbing-dot":4,"ball-clip-rotate":1,"ball-clip-rotate-multiple":2,"ball-clip-rotate-pulse":2,"ball-elastic-dots":5,"ball-fall":3,"ball-fussion":4,"ball-grid-beat":9,"ball-grid-pulse":9,"ball-newton-cradle":4,"ball-pulse":3,"ball-pulse-rise":5,"ball-pulse-sync":3,"ball-rotate":1,"ball-running-dots":5,"ball-scale":1,"ball-scale-multiple":3,"ball-scale-pulse":2,"ball-scale-ripple":1,"ball-scale-ripple-multiple":3,"ball-spin":8,"ball-spin-clockwise":8,"ball-spin-clockwise-fade":8,"ball-spin-clockwise-fade-rotating":8,"ball-spin-fade":8,"ball-spin-fade-rotating":8,"ball-spin-rotate":2,"ball-square-clockwise-spin":8,"ball-square-spin":8,"ball-triangle-path":3,"ball-zig-zag":2,"ball-zig-zag-deflect":2,cog:1,"cube-transition":2,fire:3,"line-scale":5,"line-scale-party":5,"line-scale-pulse-out":5,"line-scale-pulse-out-rapid":5,"line-spin-clockwise-fade":8,"line-spin-clockwise-fade-rotating":8,"line-spin-fade":8,"line-spin-fade-rotating":8,pacman:6,"square-jelly-box":2,"square-loader":1,"square-spin":1,timer:1,"triangle-skew-spin":1},N="primary";class B{constructor(be){Object.assign(this,be)}static create(be){return!be?.template&&!be?.type&&console.warn('[ngx-spinner]: Property "type" is missed. Please, provide animation type to component\n and ensure css is added to angular.json file'),new B(be)}}const yn=class{constructor(){this.spinnerObservable=new T.X(null)}getSpinner(be){return this.spinnerObservable.asObservable().pipe((0,w.h)(ve=>ve&&ve.name===be))}show(be=N,ve){return new Promise((Pt,qt)=>{setTimeout(()=>{ve&&Object.keys(ve).length?(ve.name=be,this.spinnerObservable.next(new B({...ve,show:!0})),Pt(!0)):(this.spinnerObservable.next(new B({name:be,show:!0})),Pt(!0))},10)})}hide(be=N,ve=10){return new Promise((Pt,qt)=>{setTimeout(()=>{this.spinnerObservable.next(new B({name:be,show:!1})),Pt(!0)},ve)})}};let X=yn;gn=new WeakMap,vn=new WeakMap,Rr(X,gn,yn.\u0275fac=function(ve){return new(ve||yn)}),Rr(X,vn,yn.\u0275prov=i.Yz7({token:yn,factory:yn.\u0275fac,providedIn:"root"}));const ie=new i.OlP("NGX_SPINNER_CONFIG"),Un=class{constructor(be){this._sanitizer=be}transform(be){if(be)return this._sanitizer.bypassSecurityTrustHtml(be)}};let pe=Un;Hn=new WeakMap,hn=new WeakMap,Rr(pe,Hn,Un.\u0275fac=function(ve){return new(ve||Un)(i.Y36(r.H7,16))}),Rr(pe,hn,Un.\u0275pipe=i.Yjl({name:"safeHtml",type:Un,pure:!0}));const Ye=class{constructor(be,ve,Pt,qt){this.spinnerService=be,this.changeDetector=ve,this.elementRef=Pt,this.globalConfig=qt,this.disableAnimation=!1,this.spinner=new B,this.ngUnsubscribe=new F.x,this.setDefaultOptions=()=>{const{type:Cn}=this.globalConfig??{};this.spinner=B.create({name:this.name,bdColor:this.bdColor,size:this.size,color:this.color,type:this.type??Cn,fullScreen:this.fullScreen,divArray:this.divArray,divCount:this.divCount,show:this.show,zIndex:this.zIndex,template:this.template,showSpinner:this.showSpinner})},this.bdColor="rgba(51,51,51,0.8)",this.zIndex=99999,this.color="#fff",this.size="large",this.fullScreen=!0,this.name=N,this.template=null,this.showSpinner=!1,this.divArray=[],this.divCount=0,this.show=!1}initObservable(){this.spinnerService.getSpinner(this.name).pipe((0,p.R)(this.ngUnsubscribe)).subscribe(be=>{this.setDefaultOptions(),Object.assign(this.spinner,be),be.show&&this.onInputChange(),this.changeDetector.detectChanges()})}ngOnInit(){this.setDefaultOptions(),this.initObservable()}isSpinnerZone(be){return be===this.elementRef.nativeElement.parentElement||be.parentNode&&this.isSpinnerZone(be.parentNode)}ngOnChanges(be){for(const ve in be)if(ve){const Pt=be[ve];if(Pt.isFirstChange())return;typeof Pt.currentValue<"u"&&Pt.currentValue!==Pt.previousValue&&""!==Pt.currentValue&&(this.spinner[ve]=Pt.currentValue,"showSpinner"===ve&&(Pt.currentValue?this.spinnerService.show(this.spinner.name,this.spinner):this.spinnerService.hide(this.spinner.name)),"name"===ve&&this.initObservable())}}getClass(be,ve){this.spinner.divCount=Ne[be],this.spinner.divArray=Array(this.spinner.divCount).fill(0).map((qt,Cn)=>Cn);let Pt="";switch(ve.toLowerCase()){case"small":Pt="la-sm";break;case"medium":Pt="la-2x";break;case"large":Pt="la-3x"}return"la-"+be+" "+Pt}onInputChange(){this.spinner.class=this.getClass(this.spinner.type,this.spinner.size)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}};let we=Ye;at=new WeakMap,Pe=new WeakMap,Rr(we,at,Ye.\u0275fac=function(ve){return new(ve||Ye)(i.Y36(X),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(ie,8))}),Rr(we,Pe,Ye.\u0275cmp=i.Xpm({type:Ye,selectors:[["ngx-spinner"]],viewQuery:function(ve,Pt){if(1&ve&&i.Gf(se,5),2&ve){let qt;i.iGM(qt=i.CRH())&&(Pt.spinnerDOM=qt.first)}},inputs:{bdColor:"bdColor",size:"size",color:"color",type:"type",fullScreen:"fullScreen",name:"name",zIndex:"zIndex",template:"template",showSpinner:"showSpinner",disableAnimation:"disableAnimation"},features:[i.TTD],ngContentSelectors:["*"],decls:1,vars:1,consts:[["class","ngx-spinner-overlay",3,"background-color","z-index","position",4,"ngIf"],[1,"ngx-spinner-overlay"],["overlay",""],[3,"class","color",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"loading-text"],[4,"ngFor","ngForOf"],[3,"innerHTML"]],template:function(ve,Pt){1&ve&&(i.F$t(),i.YNc(0,Se,6,12,"div",0)),2&ve&&i.Q6J("ngIf",Pt.spinner.show)},dependencies:[ae.sg,ae.O5,pe],styles:[".ngx-spinner-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%}.ngx-spinner-overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.loading-text){top:50%;left:50%;margin:0;position:absolute;transform:translate(-50%,-50%)}.loading-text[_ngcontent-%COMP%]{position:absolute;top:60%;left:50%;transform:translate(-50%,-60%)}"],data:{animation:[(0,W.X$)("fadeIn",[(0,W.SB)("in",(0,W.oB)({opacity:1})),(0,W.eR)(":enter",[(0,W.oB)({opacity:0}),(0,W.jt)(300)]),(0,W.eR)(":leave",(0,W.jt)(200,(0,W.oB)({opacity:0})))])]},changeDetection:0}));const ee=class{static forRoot(be){return{ngModule:ee,providers:[{provide:ie,useValue:be}]}}};let ne=ee;m=new WeakMap,$=new WeakMap,Ie=new WeakMap,Rr(ne,m,ee.\u0275fac=function(ve){return new(ve||ee)}),Rr(ne,$,ee.\u0275mod=i.oAB({type:ee})),Rr(ne,Ie,ee.\u0275inj=i.cJS({imports:[ae.ez]}));let ge=(()=>{class Te{constructor(){this.title="allied-dpp"}}return Te.\u0275fac=function(ve){return new(ve||Te)},Te.\u0275cmp=i.Xpm({type:Te,selectors:[["app-root"]],decls:2,vars:0,consts:[["type","ball-scale-multiple"]],template:function(ve,Pt){1&ve&&i._UZ(0,"router-outlet")(1,"ngx-spinner",0)},dependencies:[d.lC,we]}),Te})();const Ve=void 0,pt=["pt",[["AM","PM"],Ve,Ve],Ve,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."],["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."]],Ve,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],Ve,[["a.C.","d.C."],Ve,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",Ve,Ve,Ve],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],BYN:[Ve,"\u0440."],JPY:["JP\xa5","\xa5"],PHP:[Ve,"\u20b1"],PTE:["Esc."],RON:[Ve,"L"],SYP:[Ve,"S\xa3"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function Je(Te){const ve=Math.floor(Math.abs(Te)),Pt=Te.toString().replace(/^[^.]*\.?/,"").length,qt=parseInt(Te.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return ve===Math.floor(ve)&&ve>=0&&ve<=1?1:0===qt&&0!==ve&&ve%1e6==0&&0===Pt||!(qt>=0&&qt<=5)?4:5}];var Ge=a(6644),At=a(1516),st=a(529),_t=a(4826),et=a(8032),mt=a(262),he=a(2843),G=a(4159),de=a(4845);const ye=["/Token/oauth","/Renvededor/esqueciSenhaValidacaoToken","/Revendedor/esqueciSenha"],xe=["/marketing-capacitacao"];let Dt=(()=>{class Te{constructor(ve,Pt,qt){this.authService=ve,this._snack=Pt,this.router=qt}intercept(ve,Pt){return ve=this.treatmentRequest(ve),xe.includes(this.router.url)||window.scrollTo({top:0,behavior:"smooth"}),Pt.handle(ve).pipe((0,mt.K)(Cn=>(401===Cn.status&&(this.authService.logout(),this._snack.open({message:"Sess\xe3o expirada, entre novamente."})),(0,he._)(Cn))))}treatmentRequest(ve){const Pt=ve.url.split("/api").at(-1);if(!ye.includes(Pt)){const qt=JSON.parse(this.authService.getAuth()||"[]");ve=ve.clone({setHeaders:{Authorization:`Bearer ${qt?.token}`}})}return ve}}return Te.\u0275fac=function(ve){return new(ve||Te)(i.LFG(G.e),i.LFG(de.o),i.LFG(d.F0))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})();var Fe=a(8746);let $e=(()=>{class Te{constructor(ve){this.spinnerService=ve}intercept(ve,Pt){return this.spinnerService.show(),Pt.handle(ve).pipe((0,Fe.x)(()=>{this.spinnerService.hide()}))}}return Te.\u0275fac=function(ve){return new(ve||Te)(i.LFG(X))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac}),Te})();var ce=a(4006);var ue=a(394),Ke=a(5412),Qe=a(4859),Et=a(9549),Yt=a(7392),Qt=a(4144);function Wt(Te,be){if(1&Te&&(i.TgZ(0,"form",7)(1,"mat-form-field",8)(2,"mat-label"),i._uU(3,"E-mail corporativo"),i.qZA(),i._UZ(4,"input",9),i.qZA()()),2&Te){const ve=i.oxw();i.Q6J("formGroup",ve.confirmEmail)}}function Vt(Te,be){1&Te&&(i.TgZ(0,"div",10),i._UZ(1,"img",11),i.TgZ(2,"p",12),i._uU(3,"E-mail enviado!"),i.qZA(),i.TgZ(4,"p"),i._uU(5,"Um e-mail foi enviado para recupera\xe7\xe3o de senha."),i.qZA()()),2&Te&&i.Q6J("@fadeIn",void 0)}function qe(Te,be){if(1&Te){const ve=i.EpF();i.TgZ(0,"mat-dialog-actions",13)(1,"button",14),i.NdJ("click",function(){i.CHM(ve);const qt=i.oxw();return i.KtG(qt.confirm(qt.confirmEmail.value))}),i._uU(2," Enviar! "),i.qZA()()}if(2&Te){const ve=i.oxw();i.xp6(1),i.Q6J("disabled",!ve.confirmEmail.valid)}}let te=(()=>{class Te{constructor(ve,Pt,qt){this.fb=ve,this._auth=Pt,this.dialogRef=qt,this.check=!1,this.confirmEmail=this.fb.group({email:["",[ce.kI.required,ce.kI.email]]})}ngOnInit(){}confirm(ve){this._auth.confirmEmailPass(ve).subscribe({next:Pt=>{this.check=Pt.success,this.check&&setTimeout(()=>this.dialogRef.close(),7e3)},error:Pt=>{console.error(Pt)}})}}return Te.\u0275fac=function(ve){return new(ve||Te)(i.Y36(ce.qu),i.Y36(G.e),i.Y36(Ke.so))},Te.\u0275cmp=i.Xpm({type:Te,selectors:[["app-md-email-reset"]],decls:11,vars:4,consts:[[3,"ngSwitch"],[1,"content-header"],["mat-icon-button","","mat-dialog-close","",1,"button-icon-close"],["mat-dialog-title","",1,"title-md"],[3,"formGroup",4,"ngSwitchCase"],["class","check-content",4,"ngSwitchCase"],["align","center",4,"ngSwitchCase"],[3,"formGroup"],["appearance","outline"],["type","email","matInput","","name","email","formControlName","email"],[1,"check-content"],["src","assets/icons/check-circle.png","width","40px","height","40px"],[1,"send"],["align","center"],["color","warn","mat-raised-button","",1,"mat-button--large",3,"disabled","click"]],template:function(ve,Pt){1&ve&&(i.TgZ(0,"div",0)(1,"div",1)(2,"button",2)(3,"mat-icon"),i._uU(4,"close"),i.qZA()()(),i.TgZ(5,"h1",3),i._uU(6,"Recuperar senha"),i.qZA(),i.TgZ(7,"mat-dialog-content"),i.YNc(8,Wt,5,1,"form",4),i.YNc(9,Vt,6,1,"div",5),i.qZA(),i.YNc(10,qe,3,1,"mat-dialog-actions",6),i.qZA()),2&ve&&(i.Q6J("ngSwitch",Pt.check),i.xp6(8),i.Q6J("ngSwitchCase",!1),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},dependencies:[ce._Y,ce.Fj,ce.JJ,ce.JL,ae.RF,ae.n9,ce.sg,ce.u,Qe.lW,Et.KE,Et.hX,Yt.Hw,Qt.Nt,Ke.ZT,Ke.uh,Ke.xY,Ke.H8],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.content-header[_ngcontent-%COMP%]{width:100%;height:50px}.content-header[_ngcontent-%COMP%] .button-icon-close[_ngcontent-%COMP%]{float:right}.title-md[_ngcontent-%COMP%]{text-align:center;font-weight:700;font-size:35px}form[_ngcontent-%COMP%]{padding:0% 5% 0}form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{margin-bottom:-1.25em}form[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{color:red}mat-dialog-actions[_ngcontent-%COMP%]{margin-top:0;padding:0 5% 3%}@media (max-width: 600px){mat-dialog-actions[_ngcontent-%COMP%]{padding:0 1% 3%}}mat-dialog-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}.mat-dialog-container[_ngcontent-%COMP%]{padding-top:15px!important}.check-content[_ngcontent-%COMP%]{margin:0 auto;padding:1% 0 6%;text-align:center}.check-content[_ngcontent-%COMP%] .send[_ngcontent-%COMP%]{font-size:15px;color:#a52868;padding-bottom:2%}'],data:{animation:[(0,ue.B)()]}}),Te})();var S=a(5861),M=a(6805);function Ue(Te,be){1&Te&&(i.TgZ(0,"div",7),i._UZ(1,"img",8),i.TgZ(2,"p",9),i._uU(3,"Senha atualizada!"),i.qZA(),i._UZ(4,"hr"),i.TgZ(5,"p"),i._uU(6,"A partir de agora o acesso ao portal ser\xe1 com esta nova senha."),i.qZA()()),2&Te&&i.Q6J("@fadeIn",void 0)}function Ae(Te,be){1&Te&&(i.TgZ(0,"mat-error"),i._uU(1," A senha deve ter no m\xednimo 6 caracteres. "),i.qZA())}function Ee(Te,be){1&Te&&(i.TgZ(0,"mat-error"),i._uU(1," As senhas devem ser iguais. "),i.qZA())}function De(Te,be){if(1&Te){const ve=i.EpF();i.TgZ(0,"form",10)(1,"mat-form-field",11)(2,"mat-label"),i._uU(3,"Senha"),i.qZA(),i._UZ(4,"input",12),i.TgZ(5,"mat-icon",13),i.NdJ("click",function(){i.CHM(ve);const qt=i.oxw();return i.KtG(qt.eyePass=!qt.eyePass)}),i._uU(6),i.qZA(),i.YNc(7,Ae,2,0,"mat-error",14),i.qZA(),i.TgZ(8,"mat-form-field",11)(9,"mat-label"),i._uU(10,"Confirmar Senha"),i.qZA(),i._UZ(11,"input",15),i.TgZ(12,"mat-icon",13),i.NdJ("click",function(){i.CHM(ve);const qt=i.oxw();return i.KtG(qt.eyePassConfirm=!qt.eyePassConfirm)}),i._uU(13),i.qZA(),i.YNc(14,Ee,2,0,"mat-error",14),i.qZA()()}if(2&Te){const ve=i.oxw();let Pt,qt;i.Q6J("formGroup",ve.form),i.xp6(4),i.Q6J("type",ve.eyePass?"password":"text"),i.xp6(2),i.Oqu(ve.eyePass?"visibility":"visibility_off"),i.xp6(1),i.Q6J("ngIf",null==(Pt=ve.form.get("novaSenha"))?null:Pt.invalid),i.xp6(4),i.Q6J("type",ve.eyePassConfirm?"password":"text"),i.xp6(2),i.Oqu(ve.eyePassConfirm?"visibility":"visibility_off"),i.xp6(1),i.Q6J("ngIf",(null==(qt=ve.form.get("confirmacaoSenha"))?null:qt.dirty)&&(null==(qt=ve.form.get("confirmacaoSenha"))?null:qt.invalid)&&ve.form.hasError("passwordMismatch"))}}function ft(Te,be){if(1&Te){const ve=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){i.CHM(ve);const qt=i.oxw();return i.KtG(qt.setOperation(qt.form.value,qt.data.action))}),i._uU(1," Atualizar "),i.qZA()}if(2&Te){const ve=i.oxw();i.Udp("margin-top",2,"%"),i.Q6J("disabled",!ve.form.valid)}}var vt=(()=>{return(Te=vt||(vt={})).REFACTOR="refactor",Te.CREATE="create",vt;var Te})();let St=(()=>{class Te{constructor(ve,Pt,qt,Cn,Fn,jn){this.router=ve,this.fb=Pt,this._auth=qt,this._snack=Cn,this.data=Fn,this.dialogRef=jn,this.eyePass=!0,this.eyePassConfirm=!0,this.confirmPasswordError=!1,this.check=!1}ngOnInit(){this.form=this.fb.group({email:[this.data.user_email,[]],novaSenha:["",[ce.kI.required,ce.kI.minLength(6)]],confirmacaoSenha:["",[ce.kI.required,ce.kI.minLength(6)]],reset_token:["",[]]},{validators:this.passwordMatchValidator})}setOperation(ve,Pt){const qt={refactor:this.reset.bind(this),create:this.create.bind(this)};if(Pt in qt)return qt[Pt](ve)}reset(ve){var Pt=this;return(0,S.Z)(function*(){try{const{data:qt}=yield Pt._auth.validationToResetToken({email:ve.email,esqueciSenhaToken:Pt.data.forget_password_token});ve.reset_token=qt.resetToken;const Cn=yield function J(Te,be){const ve="object"==typeof be;return new Promise((Pt,qt)=>{let Fn,Cn=!1;Te.subscribe({next:jn=>{Fn=jn,Cn=!0},error:qt,complete:()=>{Cn?Pt(Fn):ve?Pt(be.defaultValue):qt(new M.K)}})})}(Pt._auth.resetPassEmailToken(ve)),{success:Fn}=Cn;Fn&&Pt.handleSuccessReset()}catch(qt){console.error(qt),Pt.handleErrorReset(qt.error)}})()}create(ve){const{reset_token:Pt,actualPass:qt,...Cn}=ve,Fn={...Cn,primeiroAcesso:!0,senhaAtual:qt};this._auth.redoPassword(Fn).pipe((0,mt.K)(jn=>(console.error(jn),this.handleErrorReset(jn.error.errors),(0,he._)(jn)))).subscribe(({success:jn})=>{jn&&(this.handleSuccessReset(),this.dialogRef.close())})}handleSuccessReset(){this.check=!0,setTimeout(()=>{this.dialogRef.close(),this.data.action===vt.REFACTOR&&this.redirectToAuth()},5e3)}redirectToAuth(){this.router.navigate(["/autenticacao"])}handleErrorReset(ve){this._snack.open({message:this.getErrorMessage(ve),duration:1e4,verticalPosition:"bottom",horizontalPosition:"center"}),this.form.reset()}getErrorMessage(ve){return 401===ve?.status?"Acesso n\xe3o autorizado.":"Ocorreu um erro ao processar a solicita\xe7\xe3o."}passwordMatchValidator(ve){const Pt=ve.get("novaSenha")?.value,qt=ve.get("confirmacaoSenha")?.value;return Pt===qt?(ve.get("confirmacaoSenha")?.setErrors(null),null):(ve.get("confirmacaoSenha")?.setErrors({passwordMismatch:!0}),{passwordMismatch:!0})}}return Te.\u0275fac=function(ve){return new(ve||Te)(i.Y36(d.F0),i.Y36(ce.qu),i.Y36(G.e),i.Y36(de.o),i.Y36(Ke.WI),i.Y36(Ke.so))},Te.\u0275cmp=i.Xpm({type:Te,selectors:[["app-md-reset-pass"]],decls:10,vars:8,consts:[[3,"ngSwitch"],["mat-dialog-title","",1,"title-md"],[2,"text-align","center"],["class","check-content",4,"ngIf"],[3,"formGroup",4,"ngIf"],["align","center"],["color","warn","mat-raised-button","","class","mat-button--large",3,"disabled","margin-top","click",4,"ngIf"],[1,"check-content"],["src","assets/icons/check-circle.png","width","40px","height","40px"],[1,"send"],[3,"formGroup"],["appearance","outline"],["matInput","","name","novaSenha","formControlName","novaSenha",3,"type"],["matSuffix","",3,"click"],[4,"ngIf"],["matInput","","name","confirmacaoSenha","formControlName","confirmacaoSenha",3,"type"],["color","warn","mat-raised-button","",1,"mat-button--large",3,"disabled","click"]],template:function(ve,Pt){1&ve&&(i.TgZ(0,"div",0)(1,"h1",1),i._uU(2),i.qZA(),i.TgZ(3,"p",2),i._uU(4),i.qZA(),i.TgZ(5,"mat-dialog-content"),i.YNc(6,Ue,7,1,"div",3),i.YNc(7,De,15,7,"form",4),i.qZA(),i.TgZ(8,"mat-dialog-actions",5),i.YNc(9,ft,2,3,"button",6),i.qZA()()),2&ve&&(i.Q6J("ngSwitch",Pt.data.action),i.xp6(1),i.Udp("margin-top",5,"%"),i.xp6(1),i.hij(" ","refactor"===Pt.data.action?"Redefinir senha":"Crie sua senha"," "),i.xp6(2),i.hij(" ","refactor"===Pt.data.action?"Para sua seguran\xe7a, escolha uma nova senha:":"Escolha uma nova senha:"," "),i.xp6(2),i.Q6J("ngIf",Pt.check),i.xp6(1),i.Q6J("ngIf",!Pt.check),i.xp6(2),i.Q6J("ngIf",!Pt.check))},dependencies:[ce._Y,ce.Fj,ce.JJ,ce.JL,ae.O5,ae.RF,ce.sg,ce.u,Qe.lW,Et.TO,Et.KE,Et.hX,Et.R9,Yt.Hw,Qt.Nt,Ke.uh,Ke.xY,Ke.H8],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.content-header[_ngcontent-%COMP%]{width:100%;height:50px}.content-header[_ngcontent-%COMP%] .button-icon-close[_ngcontent-%COMP%]{float:right}.title-md[_ngcontent-%COMP%]{text-align:center;font-weight:700;font-size:35px}form[_ngcontent-%COMP%]{padding:0% 5% 0}form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper[_ngcontent-%COMP%]{margin-bottom:-1.25em}form[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{color:red}mat-dialog-actions[_ngcontent-%COMP%]{margin-top:0;padding:0 5% 3%}@media (max-width: 600px){mat-dialog-actions[_ngcontent-%COMP%]{padding:0 1% 3%}}mat-dialog-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}.mat-dialog-container[_ngcontent-%COMP%]{padding-top:15px!important}.check-content[_ngcontent-%COMP%]{margin:0 auto;padding:1% 0 6%;text-align:center}.check-content[_ngcontent-%COMP%] .send[_ngcontent-%COMP%]{font-size:15px;color:#a52868;padding-bottom:2%}'],data:{animation:[]}}),Te})();var Bt=a(9841),on=a(3469);let Nt=(()=>{class Te{constructor(){}ngOnInit(){}}return Te.\u0275fac=function(ve){return new(ve||Te)},Te.\u0275cmp=i.Xpm({type:Te,selectors:[["app-information-content"]],decls:29,vars:1,consts:[[1,"dpp-details"],[1,"title"],[1,"subtitle"],["src","assets/images/banners/login_img.png","width","90%"],[1,"description"],["mat-stroked-button","","color","warn",1,"mat-button--large",3,"routerLink"]],template:function(ve,Pt){1&ve&&(i.TgZ(0,"div",0)(1,"section",1)(2,"h1"),i._uU(3," Apple Distributor "),i._UZ(4,"br"),i._uU(5," Partner Program "),i.qZA(),i.TgZ(6,"h3",2)(7,"span"),i._uU(8,"O mundo Apple ao alcance do "),i.qZA(),i._uU(9,"seu neg\xf3cio "),i.qZA()(),i._UZ(10,"img",3),i.TgZ(11,"h3",4),i._uU(12," Bem-vindos ao Programa de Parceiros Apple e Allied Brasil (DPP). "),i._UZ(13,"br"),i.TgZ(14,"span"),i._uU(15," O programa proporciona a seus parceiros, as melhores oportunidades para a compra de produtos Apple, auxiliando revendas a expandir ainda mais seus neg\xf3cios, dando-lhes uma vantagem competitiva em rela\xe7\xe3o aos concorrentes. "),i.qZA()(),i.TgZ(16,"ul")(17,"li"),i._uU(18,"Ofertas Exclusivas em produtos e acess\xf3rios Apple."),i.qZA(),i.TgZ(19,"li"),i._uU(20,"Treinamento Especializado para aprimorar as t\xe9cnicas de vendas."),i.qZA(),i.TgZ(21,"li"),i._uU(22,"Suporte de Marketing com materiais de comunica\xe7\xe3o."),i.qZA(),i.TgZ(23,"li"),i._uU(24,"Campanhas de Incentivo exclusiva para os parceiros do programa."),i.qZA()(),i.TgZ(25,"h3",4),i._uU(26," Torne-se um parceiro para aproveitar benef\xedcios exclusivos que s\xf3 o DPP Apple com a Allied Brasil pode proporcionar. "),i.qZA(),i.TgZ(27,"button",5),i._uU(28," Solicite um or\xe7amento "),i.qZA()()),2&ve&&(i.xp6(27),i.Q6J("routerLink","/autenticacao/orcamento"))},dependencies:[d.rH,Qe.lW],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.dpp-details[_ngcontent-%COMP%]{padding:12px}.dpp-details[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#a52868;font-size:1.5rem}@media (min-width: 400px){.dpp-details[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.8rem}}@media (min-width: 600px){.dpp-details[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:2.3rem}}@media (min-width: 960px){.dpp-details[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:2.2rem}}.dpp-details[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:1em;font-weight:700}.dpp-details[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{padding:2% 0;color:#a52868;margin-bottom:0;font-size:.6em}.dpp-details[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#003b71;font-weight:400}.dpp-details[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding:2% 0}.dpp-details[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{text-align:left}.dpp-details[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:disc;display:flex;flex-direction:column;gap:8px;padding:3% 0 3% 3%}.dpp-details[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .dpp-details[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{text-align:left;font-size:17px}@media (max-width: 600px){.dpp-details[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .dpp-details[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;line-height:16px}}']}),Te})(),ht=(()=>{class Te{constructor(ve,Pt,qt,Cn,Fn,jn,$n){this.router=ve,this.fb=Pt,this.auth=qt,this.dialog=Cn,this.cookies=Fn,this.snackbar=jn,this.activeRoute=$n,this.eyePass=!0}ngOnInit(){this.loginForm=this.fb.group({Email:["",[ce.kI.required,ce.kI.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")]],Password:["",[ce.kI.required,ce.kI.minLength(6)]]}),(0,Bt.a)([this.activeRoute.params,this.activeRoute.queryParams]).subscribe(([ve,Pt])=>{const{parameter:qt}=ve;this.queryParams=Pt,qt&&this.manipulateUser(qt,this.queryParams)},ve=>{console.error(ve)})}login(ve){this.auth.login(ve).subscribe({next:Pt=>{const{access_token:qt,revendedorLogin:Cn,first_name:Fn}=Pt.data;this.cookies.set("_auth",JSON.stringify({first_name:Fn,permission:Cn.perfil,token:qt,email:Cn.email,cnpj:Cn.cnpj}),{secure:!0,sameSite:"Strict"}),this.handleSuccessResponse(Cn,ve.Password)},error:Pt=>{this.handleErrorResponse(Pt)}})}resetPassword(){this.dialog.open(te,{maxWidth:"90%",minWidth:"43%"})}manipulateUser(ve,Pt){this.auth.authAction(ve,Pt).subscribe({next:qt=>{qt.success&&this.snackbar.open({duration:15e3,message:`Revendedor ${"approve-reseller"===ve?"aprovado":"reprovado"} com sucesso.`}),this.router.navigate(["/autenticacao"])},error:qt=>{console.error(qt),this.router.navigate(["/autenticacao"])}})}handleSuccessResponse(ve,Pt){const{primeiroAcesso:qt,email:Cn}=ve||{};this.router.navigate(["/"]),qt&&this.dialog.open(St,{minWidth:"30%",maxWidth:"95%",panelClass:"custom-backdrop",disableClose:!0,data:{action:"create",user_email:Cn,actualPass:Pt}})}handleErrorResponse(ve){this.snackbar.open({action:"OK",duration:7e3,message:ve.error?.errors})}}return Te.\u0275fac=function(ve){return new(ve||Te)(i.Y36(d.F0),i.Y36(ce.qu),i.Y36(G.e),i.Y36(Ke.uw),i.Y36(on.N),i.Y36(de.o),i.Y36(d.gz))},Te.\u0275cmp=i.Xpm({type:Te,selectors:[["app-login"]],decls:26,vars:8,consts:[[1,"auth-content"],[1,"info-content"],[1,"information-content"],[1,"login-content"],[1,"form-content",3,"formGroup"],[1,"title-form"],["appearance","outline"],["type","email","name","Email","formControlName","Email","autocomplete","email","matInput",""],["appearance","outline",1,"pass-field","mat-form-field--subscript-off"],["name","current-password","formControlName","Password","autocomplete","current-password","matInput","",3,"type"],["matSuffix","",3,"click"],[1,"hint"],["type","button","disableRipple","","mat-button","",1,"mat-button--link",3,"click"],["type","submit","mat-raised-button","","color","warn",1,"mat-button--large","submit-button",3,"disabled","click"],[1,"signup-text"],["href","javascript:void(0)","routerLink","cadastrar",1,"signup-button"]],template:function(ve,Pt){1&ve&&(i.TgZ(0,"section",0)(1,"div",1),i._UZ(2,"app-information-content",2),i.qZA(),i.TgZ(3,"div",3)(4,"form",4)(5,"h1",5),i._uU(6,"Acesso do revendedor"),i.qZA(),i.TgZ(7,"mat-form-field",6)(8,"mat-label"),i._uU(9,"E-mail corporativo"),i.qZA(),i._UZ(10,"input",7),i.qZA(),i.TgZ(11,"mat-form-field",8)(12,"mat-label"),i._uU(13,"Senha"),i.qZA(),i._UZ(14,"input",9),i.TgZ(15,"mat-icon",10),i.NdJ("click",function(){return Pt.eyePass=!Pt.eyePass}),i._uU(16),i.qZA()(),i.TgZ(17,"mat-hint",11)(18,"button",12),i.NdJ("click",function(){return Pt.resetPassword()}),i._uU(19," Esqueceu sua senha? "),i.qZA()(),i.TgZ(20,"button",13),i.NdJ("click",function(){return Pt.login(Pt.loginForm.value)}),i._uU(21," Login "),i.qZA(),i.TgZ(22,"h4",14),i._uU(23," N\xe3o tem conta? "),i.TgZ(24,"a",15),i._uU(25,"Solicite seu acesso"),i.qZA()()()()()),2&ve&&(i.xp6(4),i.Q6J("formGroup",Pt.loginForm),i.xp6(3),i.Udp("padding-bottom",2,"%"),i.xp6(7),i.Q6J("type",Pt.eyePass?"password":"text"),i.xp6(2),i.Oqu(Pt.eyePass?"visibility_off":"visibility"),i.xp6(4),i.Udp("width",100,"%"),i.Q6J("disabled",!Pt.loginForm.valid))},dependencies:[ce._Y,ce.Fj,ce.JJ,ce.JL,d.yS,ce.sg,ce.u,Qe.lW,Et.KE,Et.bx,Et.hX,Et.R9,Yt.Hw,Qt.Nt,Nt],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.auth-content[_ngcontent-%COMP%]{gap:32px;display:flex;flex-direction:column;padding:2px}@media (min-width: 960px){.auth-content[_ngcontent-%COMP%]{padding:64px 32px;flex-direction:row;justify-content:space-around}}.auth-content[_ngcontent-%COMP%] .info-content[_ngcontent-%COMP%]{max-width:1024px}.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (min-width: 960px){.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%]{min-width:320px}}@media (min-width: 1280px){.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%]{min-width:494px}}.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%]{width:100%;max-width:494px}.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%] .pass-field[_ngcontent-%COMP%]{margin:-1.25em 0}.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%] .hint[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:center}@media (min-width: 960px){.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%] .hint[_ngcontent-%COMP%]{justify-content:flex-end}}.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%] .title-form[_ngcontent-%COMP%]{font-size:32px;font-weight:600;padding-bottom:4%}@media only screen and (min-width: 960px) and (max-width: 1280px){.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%] .title-form[_ngcontent-%COMP%]{font-size:25px}}.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]{margin-bottom:2.5%}@media (max-width: 600px){.auth-content[_ngcontent-%COMP%] .login-content[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%] .title-form[_ngcontent-%COMP%]{font-size:1.3rem;text-align:center}}.signup-text[_ngcontent-%COMP%]{font-weight:700;color:#000}.signup-text[_ngcontent-%COMP%] .signup-button[_ngcontent-%COMP%]{color:#a52868;text-decoration:none}']}),Te})(),xt=(()=>{class Te{constructor(ve,Pt){this.activeRouter=ve,this.dialog=Pt}ngOnInit(){this.activeRouter.queryParams.subscribe({next:ve=>{this.dialog.open(St,{data:{...ve,action:"refactor"},minWidth:"30%",maxWidth:"95%",disableClose:!0})}})}}return Te.\u0275fac=function(ve){return new(ve||Te)(i.Y36(d.gz),i.Y36(Ke.uw))},Te.\u0275cmp=i.Xpm({type:Te,selectors:[["app-reset"]],decls:0,vars:0,template:function(ve,Pt){}}),Te})();var Oe=a(1576),Xe=a(5829),Y=a(643),oe=a(1094);function x(Te,be){if(1&Te&&(i.TgZ(0,"mat-hint",10),i._uU(1),i.qZA()),2&Te){const ve=i.oxw();i.xp6(1),i.hij(" M\xe1ximo ",ve.codigoAppleMaxLength," caracteres ")}}let h=(()=>{class Te{constructor(ve,Pt,qt,Cn,Fn){this.router=ve,this.fb=Pt,this.auth=qt,this.snack=Cn,this.dialog=Fn,this.codigoAppleMaxLength=7}ngOnInit(){this.signup=this.fb.group({nome:["",[ce.kI.required]],razaoSocial:["",[ce.kI.required]],email:["",[ce.kI.required,ce.kI.email]],cnpj:["",[ce.kI.required]],codigoApple:["",[ce.kI.pattern(/^\d+$/),ce.kI.maxLength(this.codigoAppleMaxLength)]],perfil:["Revendedor"]}),this.setupCodigoAppleValidation()}setupCodigoAppleValidation(){const ve=this.signup.controls.codigoApple;ve.valueChanges.subscribe(Pt=>{Pt&&Pt.length>this.codigoAppleMaxLength&&ve.setValue(Pt.slice(0,this.codigoAppleMaxLength)),isNaN(Pt)&&ve.setValue("")})}get isCodigoAppleValid(){const ve=this.signup.controls.codigoApple;return ve&&ve.valid&&ve.value&&ve.value.length<=this.codigoAppleMaxLength}invoice(ve){this.auth.signup(ve).subscribe({next:Pt=>{this.handleSuccessResponse()},error:Pt=>{this.handleErrorResponse(Pt)},complete:()=>{this.signup.reset()}})}handleSuccessResponse(){this.dialog.open(Y.G,{minWidth:"40%",maxWidth:"90%",data:{title:"Pr\xe9-cadastro realizado!",subtitle:"Em breve retornaremos com uma resposta sobre seu cadastro. Atente-se ao seu e-mail."}}).afterClosed().subscribe(()=>{this.router.navigate(["/autenticacao"])})}handleErrorResponse(ve){this.snack.open({action:"OK",duration:7e3,message:ve.error?.errors})}}return Te.\u0275fac=function(ve){return new(ve||Te)(i.Y36(d.F0),i.Y36(ce.qu),i.Y36(G.e),i.Y36(de.o),i.Y36(Ke.uw))},Te.\u0275cmp=i.Xpm({type:Te,selectors:[["app-form-signup"]],decls:26,vars:3,consts:[[1,"form-container",3,"formGroup"],[1,"title-form"],["appearance","outline"],["matInput","","name","email","formControlName","email","placeholder","contato@comercial.com.br"],["matInput","","name","razaoSocial","formControlName","razaoSocial","placeholder","Nome da empresa"],["matInput","","name","cnpj","formControlName","cnpj","mask","00.000.000/0000-00","placeholder","00.000.000/0000-00"],["matInput","","name","nome","formControlName","nome","placeholder","Andy da Silva Sauro"],["matInput","","type","text","inputmode","numeric","name","codigoApple","placeholder","0000000","formControlName","codigoApple"],["class","error-hint",4,"ngIf"],["color","warn","mat-raised-button","",1,"mat-button--large","submit-button",3,"disabled","click"],[1,"error-hint"]],template:function(ve,Pt){1&ve&&(i.TgZ(0,"form",0)(1,"h1",1),i._uU(2,"Fa\xe7a seu pr\xe9-cadastro"),i.qZA(),i.TgZ(3,"mat-label"),i._uU(4,"E-mail *"),i.qZA(),i.TgZ(5,"mat-form-field",2),i._UZ(6,"input",3),i.qZA(),i.TgZ(7,"mat-label"),i._uU(8,"Raz\xe3o Social *"),i.qZA(),i.TgZ(9,"mat-form-field",2),i._UZ(10,"input",4),i.qZA(),i.TgZ(11,"mat-label"),i._uU(12,"CNPJ *"),i.qZA(),i.TgZ(13,"mat-form-field",2),i._UZ(14,"input",5),i.qZA(),i.TgZ(15,"mat-label"),i._uU(16,"Nome completo *"),i.qZA(),i.TgZ(17,"mat-form-field",2),i._UZ(18,"input",6),i.qZA(),i.TgZ(19,"mat-label"),i._uU(20,"ID"),i.qZA(),i.TgZ(21,"mat-form-field",2),i._UZ(22,"input",7),i.YNc(23,x,2,1,"mat-hint",8),i.qZA(),i.TgZ(24,"button",9),i.NdJ("click",function(){return Pt.invoice(Pt.signup.value)}),i._uU(25," Solicitar acesso de parceria "),i.qZA()()),2&ve&&(i.Q6J("formGroup",Pt.signup),i.xp6(23),i.Q6J("ngIf",!Pt.isCodigoAppleValid),i.xp6(1),i.Q6J("disabled",!Pt.signup.valid))},dependencies:[ce._Y,ce.Fj,ce.JJ,ce.JL,ae.O5,ce.sg,ce.u,Qe.lW,Et.KE,Et.bx,Et.hX,Qt.Nt,oe.hx],styles:['@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.form-container[_ngcontent-%COMP%]{width:60%;margin:0 auto;text-align:left;display:flex;flex-direction:column}@media (max-width: 960px){.form-container[_ngcontent-%COMP%]{width:70%}.form-container[_ngcontent-%COMP%] .title-form[_ngcontent-%COMP%]{font-size:1.5rem!important}}@media (max-width: 600px){.form-container[_ngcontent-%COMP%]{width:85%}}.form-container[_ngcontent-%COMP%] .title-form[_ngcontent-%COMP%]{text-align:left;font-size:26px;font-weight:600}@media (max-width: 600px){.form-container[_ngcontent-%COMP%] .title-form[_ngcontent-%COMP%]{font-size:1.3rem!important;text-align:center}}.form-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:100%}.form-container[_ngcontent-%COMP%] mat-label[_ngcontent-%COMP%]{color:#8391a1}.form-container[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin-bottom:-1.1em}.form-container[_ngcontent-%COMP%] .submit-button[_ngcontent-%COMP%]{margin:4% 0 3%;float:right}']}),Te})();const v='@import"https://rsms.me/inter/inter.css";@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";.auth-content[_ngcontent-%COMP%] .content-form[_ngcontent-%COMP%]{padding:0 0 60px}@media (max-width: 600px){.auth-content[_ngcontent-%COMP%]{padding-top:7%}.auth-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:2rem}}.auth-content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{padding:5% 2% 4%;margin-bottom:0}@media (max-width: 1280px){.auth-content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:1rem;line-height:25px}}.back-button-content[_ngcontent-%COMP%]{width:60%;margin:0 auto;padding:0 0 2%;text-align:left}@media (max-width: 600px){.back-button-content[_ngcontent-%COMP%]{margin:0;padding:0 0 3% 3%}}.back-button-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:15px;font-weight:600;color:#033b71}.back-button-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-decoration:underline}';let c=(()=>{class Te{constructor(){}ngOnInit(){}}return Te.\u0275fac=function(ve){return new(ve||Te)},Te.\u0275cmp=i.Xpm({type:Te,selectors:[["app-signup"]],decls:7,vars:6,consts:[["fxLayout","row wrap","fxLayoutAlign","space-around center center",1,"auth-content"],["fxFlex.xl","40","fxFlex.lg","50","fxFlex.md","50","fxFlex.sm","100","fxFlex.xs","100","fxLayout","column","fxLayoutAlign","center center"],["fxHide.gt-md",""],["fxFlex.xl","40","fxFlex.lg","50","fxFlex.md","50","fxFlex.sm","100","fxFlex.xs","100","fxLayout","column","fxLayoutAlign","center center",1,"content-form"],["fxHide.lt-sm",""]],template:function(ve,Pt){1&ve&&(i.TgZ(0,"section",0)(1,"div",1),i._UZ(2,"back-button",2)(3,"app-information-content"),i.qZA(),i.TgZ(4,"div",3),i._UZ(5,"back-button",4)(6,"app-form-signup"),i.qZA()()),2&ve&&(i.xp6(2),i.Udp("width",100,"%"),i.xp6(3),i.Udp("width",100,"%"),i.xp6(1),i.Udp("width",100,"%"))},dependencies:function(){return[Oe.xw,Oe.Wh,Oe.yH,Xe.b8,h,b,Nt]},styles:[v]}),Te})(),b=(()=>{class Te{}return Te.\u0275fac=function(ve){return new(ve||Te)},Te.\u0275cmp=i.Xpm({type:Te,selectors:[["back-button"]],decls:6,vars:0,consts:[[1,"back-button-content"],["routerLink","/autenticaco","disableRipple","","mat-button","",1,"mat-button--link"]],template:function(ve,Pt){1&ve&&(i.TgZ(0,"div",0)(1,"button",1)(2,"mat-icon"),i._uU(3,"keyboard_backspace"),i.qZA(),i.TgZ(4,"span"),i._uU(5,"Voltar para login"),i.qZA()()())},dependencies:[d.rH,Qe.lW,Yt.Hw],styles:[v]}),Te})();var E=a(9389);let O=(()=>{class Te{constructor(){}ngOnInit(){}}return Te.\u0275fac=function(ve){return new(ve||Te)},Te.\u0275cmp=i.Xpm({type:Te,selectors:[["app-auth"]],decls:2,vars:0,template:function(ve,Pt){1&ve&&i._UZ(0,"app-auth-header")(1,"router-outlet")},dependencies:[d.lC,E.X]}),Te})();const Re=[{path:"autenticacao",canActivate:[(()=>{class Te{constructor(ve,Pt){this.cookies=ve,this.router=Pt}canActivate(ve,Pt){return!this.cookies.get("_auth")||this.router.createUrlTree(["/"])}}return Te.\u0275fac=function(ve){return new(ve||Te)(i.LFG(on.N),i.LFG(d.F0))},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te})()],component:O,children:[{path:"",component:ht},{path:"cadastrar",component:c},{path:"recuperacao-senha",component:xt},{path:"orcamento",component:a(9362).F}]},{path:"autenticacao/action/:parameter",component:ht}];let nt=(()=>{class Te{}return Te.\u0275fac=function(ve){return new(ve||Te)},Te.\u0275mod=i.oAB({type:Te}),Te.\u0275inj=i.cJS({imports:[d.Bz.forRoot(Re,{scrollPositionRestoration:"enabled"}),d.Bz]}),Te})();var wt=a(9814),Tt=a(2399);let tt=(()=>{class Te{}return Te.\u0275fac=function(ve){return new(ve||Te)},Te.\u0275mod=i.oAB({type:Te}),Te.\u0275inj=i.cJS({imports:[ce.u5,d.Bz,Tt.m,r.b2,wt.o9,nt,ce.UX,Ge.h,At.PW,oe.yI.forRoot()]}),Te})();var ot=a(61),ze=a(2340);let Ct=(()=>{class Te{constructor(){}loadGTM(){if(ze.N.production){const ve=document.createElement("script");ve.innerHTML="(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-W2VR4QPK');",document.head.appendChild(ve)}}}return Te.\u0275fac=function(ve){return new(ve||Te)},Te.\u0275prov=i.Yz7({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te})();var Ut=a(3238);(0,ae.qS)(pt,"pt");let tn=(()=>{class Te{}return Te.\u0275fac=function(ve){return new(ve||Te)},Te.\u0275mod=i.oAB({type:Te,bootstrap:[ge]}),Te.\u0275inj=i.cJS({providers:[Ct,{provide:i.ip1,useFactory:be=>()=>be.loadGTM(),deps:[Ct],multi:!0},{provide:st.TP,useClass:Dt,multi:!0},{provide:st.TP,useClass:$e,multi:!0},{provide:i.soG,useValue:"pt"},{provide:Ut.sG,useValue:{parse:{dateInput:"DD/MM/YYYY"},display:{dateInput:"DD/MM/YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}}}],imports:[et.CmsModule,tt,Tt.m,ae.ez,r.b2,ot.LandingModule,_t.bB,st.JF,u,ne,Ge.h,At.PW]}),Te})();ze.N.production&&(0,i.G48)(),r.q6().bootstrapModule(tn).catch(Te=>console.error(Te))},1135:(Rt,je,a)=>{a.d(je,{X:()=>i});var r=a(7579);class i extends r.x{constructor(D){super(),this._value=D}get value(){return this.getValue()}_subscribe(D){const u=super._subscribe(D);return!u.closed&&D.next(this._value),u}getValue(){const{hasError:D,thrownError:u,_value:T}=this;if(D)throw u;return this._throwIfClosed(),T}next(D){super.next(this._value=D)}}},9751:(Rt,je,a)=>{a.d(je,{y:()=>w});var r=a(930),i=a(727),d=a(8822),D=a(9635),u=a(2416),T=a(576),F=a(2806);let w=(()=>{class se{constructor(me){me&&(this._subscribe=me)}lift(me){const fe=new se;return fe.source=this,fe.operator=me,fe}subscribe(me,fe,Se){const Ze=function ae(se){return se&&se instanceof r.Lv||function W(se){return se&&(0,T.m)(se.next)&&(0,T.m)(se.error)&&(0,T.m)(se.complete)}(se)&&(0,i.Nn)(se)}(me)?me:new r.Hp(me,fe,Se);return(0,F.x)(()=>{const{operator:Ne,source:gt}=this;Ze.add(Ne?Ne.call(Ze,gt):gt?this._subscribe(Ze):this._trySubscribe(Ze))}),Ze}_trySubscribe(me){try{return this._subscribe(me)}catch(fe){me.error(fe)}}forEach(me,fe){return new(fe=p(fe))((Se,Ze)=>{const Ne=new r.Hp({next:gt=>{try{me(gt)}catch(N){Ze(N),Ne.unsubscribe()}},error:Ze,complete:Se});this.subscribe(Ne)})}_subscribe(me){var fe;return null===(fe=this.source)||void 0===fe?void 0:fe.subscribe(me)}[d.L](){return this}pipe(...me){return(0,D.U)(me)(this)}toPromise(me){return new(me=p(me))((fe,Se)=>{let Ze;this.subscribe(Ne=>Ze=Ne,Ne=>Se(Ne),()=>fe(Ze))})}}return se.create=le=>new se(le),se})();function p(se){var le;return null!==(le=se??u.v.Promise)&&void 0!==le?le:Promise}},7579:(Rt,je,a)=>{a.d(je,{x:()=>F});var r=a(9751),i=a(727);const D=(0,a(3888).d)(p=>function(){p(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var u=a(8737),T=a(2806);let F=(()=>{class p extends r.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ae){const se=new w(this,this);return se.operator=ae,se}_throwIfClosed(){if(this.closed)throw new D}next(ae){(0,T.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const se of this.currentObservers)se.next(ae)}})}error(ae){(0,T.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ae;const{observers:se}=this;for(;se.length;)se.shift().error(ae)}})}complete(){(0,T.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ae}=this;for(;ae.length;)ae.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ae;return(null===(ae=this.observers)||void 0===ae?void 0:ae.length)>0}_trySubscribe(ae){return this._throwIfClosed(),super._trySubscribe(ae)}_subscribe(ae){return this._throwIfClosed(),this._checkFinalizedStatuses(ae),this._innerSubscribe(ae)}_innerSubscribe(ae){const{hasError:se,isStopped:le,observers:me}=this;return se||le?i.Lc:(this.currentObservers=null,me.push(ae),new i.w0(()=>{this.currentObservers=null,(0,u.P)(me,ae)}))}_checkFinalizedStatuses(ae){const{hasError:se,thrownError:le,isStopped:me}=this;se?ae.error(le):me&&ae.complete()}asObservable(){const ae=new r.y;return ae.source=this,ae}}return p.create=(W,ae)=>new w(W,ae),p})();class w extends F{constructor(W,ae){super(),this.destination=W,this.source=ae}next(W){var ae,se;null===(se=null===(ae=this.destination)||void 0===ae?void 0:ae.next)||void 0===se||se.call(ae,W)}error(W){var ae,se;null===(se=null===(ae=this.destination)||void 0===ae?void 0:ae.error)||void 0===se||se.call(ae,W)}complete(){var W,ae;null===(ae=null===(W=this.destination)||void 0===W?void 0:W.complete)||void 0===ae||ae.call(W)}_subscribe(W){var ae,se;return null!==(se=null===(ae=this.source)||void 0===ae?void 0:ae.subscribe(W))&&void 0!==se?se:i.Lc}}},930:(Rt,je,a)=>{a.d(je,{Hp:()=>Se,Lv:()=>se});var r=a(576),i=a(727),d=a(2416),D=a(7849),u=a(5032);const T=p("C",void 0,void 0);function p(B,X,ie){return{kind:B,value:X,error:ie}}var W=a(3410),ae=a(2806);class se extends i.w0{constructor(X){super(),this.isStopped=!1,X?(this.destination=X,(0,i.Nn)(X)&&X.add(this)):this.destination=N}static create(X,ie,pe){return new Se(X,ie,pe)}next(X){this.isStopped?gt(function w(B){return p("N",B,void 0)}(X),this):this._next(X)}error(X){this.isStopped?gt(function F(B){return p("E",void 0,B)}(X),this):(this.isStopped=!0,this._error(X))}complete(){this.isStopped?gt(T,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(X){this.destination.next(X)}_error(X){try{this.destination.error(X)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const le=Function.prototype.bind;function me(B,X){return le.call(B,X)}class fe{constructor(X){this.partialObserver=X}next(X){const{partialObserver:ie}=this;if(ie.next)try{ie.next(X)}catch(pe){Ze(pe)}}error(X){const{partialObserver:ie}=this;if(ie.error)try{ie.error(X)}catch(pe){Ze(pe)}else Ze(X)}complete(){const{partialObserver:X}=this;if(X.complete)try{X.complete()}catch(ie){Ze(ie)}}}class Se extends se{constructor(X,ie,pe){let we;if(super(),(0,r.m)(X)||!X)we={next:X??void 0,error:ie??void 0,complete:pe??void 0};else{let ne;this&&d.v.useDeprecatedNextContext?(ne=Object.create(X),ne.unsubscribe=()=>this.unsubscribe(),we={next:X.next&&me(X.next,ne),error:X.error&&me(X.error,ne),complete:X.complete&&me(X.complete,ne)}):we=X}this.destination=new fe(we)}}function Ze(B){d.v.useDeprecatedSynchronousErrorHandling?(0,ae.O)(B):(0,D.h)(B)}function gt(B,X){const{onStoppedNotification:ie}=d.v;ie&&W.z.setTimeout(()=>ie(B,X))}const N={closed:!0,next:u.Z,error:function Ne(B){throw B},complete:u.Z}},727:(Rt,je,a)=>{a.d(je,{Lc:()=>T,w0:()=>u,Nn:()=>F});var r=a(576);const d=(0,a(3888).d)(p=>function(ae){p(this),this.message=ae?`${ae.length} errors occurred during unsubscription:\n${ae.map((se,le)=>`${le+1}) ${se.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ae});var D=a(8737);class u{constructor(W){this.initialTeardown=W,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let W;if(!this.closed){this.closed=!0;const{_parentage:ae}=this;if(ae)if(this._parentage=null,Array.isArray(ae))for(const me of ae)me.remove(this);else ae.remove(this);const{initialTeardown:se}=this;if((0,r.m)(se))try{se()}catch(me){W=me instanceof d?me.errors:[me]}const{_finalizers:le}=this;if(le){this._finalizers=null;for(const me of le)try{w(me)}catch(fe){W=W??[],fe instanceof d?W=[...W,...fe.errors]:W.push(fe)}}if(W)throw new d(W)}}add(W){var ae;if(W&&W!==this)if(this.closed)w(W);else{if(W instanceof u){if(W.closed||W._hasParent(this))return;W._addParent(this)}(this._finalizers=null!==(ae=this._finalizers)&&void 0!==ae?ae:[]).push(W)}}_hasParent(W){const{_parentage:ae}=this;return ae===W||Array.isArray(ae)&&ae.includes(W)}_addParent(W){const{_parentage:ae}=this;this._parentage=Array.isArray(ae)?(ae.push(W),ae):ae?[ae,W]:W}_removeParent(W){const{_parentage:ae}=this;ae===W?this._parentage=null:Array.isArray(ae)&&(0,D.P)(ae,W)}remove(W){const{_finalizers:ae}=this;ae&&(0,D.P)(ae,W),W instanceof u&&W._removeParent(this)}}u.EMPTY=(()=>{const p=new u;return p.closed=!0,p})();const T=u.EMPTY;function F(p){return p instanceof u||p&&"closed"in p&&(0,r.m)(p.remove)&&(0,r.m)(p.add)&&(0,r.m)(p.unsubscribe)}function w(p){(0,r.m)(p)?p():p.unsubscribe()}},2416:(Rt,je,a)=>{a.d(je,{v:()=>r});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(Rt,je,a)=>{a.d(je,{c:()=>T});var r=a(9751),i=a(727),d=a(8343),D=a(5403),u=a(4482);class T extends r.y{constructor(w,p){super(),this.source=w,this.subjectFactory=p,this._subject=null,this._refCount=0,this._connection=null,(0,u.A)(w)&&(this.lift=w.lift)}_subscribe(w){return this.getSubject().subscribe(w)}getSubject(){const w=this._subject;return(!w||w.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:w}=this;this._subject=this._connection=null,w?.unsubscribe()}connect(){let w=this._connection;if(!w){w=this._connection=new i.w0;const p=this.getSubject();w.add(this.source.subscribe((0,D.x)(p,void 0,()=>{this._teardown(),p.complete()},W=>{this._teardown(),p.error(W)},()=>this._teardown()))),w.closed&&(this._connection=null,w=i.w0.EMPTY)}return w}refCount(){return(0,d.x)()(this)}}},9841:(Rt,je,a)=>{a.d(je,{a:()=>W});var r=a(9751),i=a(4742),d=a(2076),D=a(4671),u=a(3268),T=a(3269),F=a(1810),w=a(5403),p=a(9672);function W(...le){const me=(0,T.yG)(le),fe=(0,T.jO)(le),{args:Se,keys:Ze}=(0,i.D)(le);if(0===Se.length)return(0,d.D)([],me);const Ne=new r.y(function ae(le,me,fe=D.y){return Se=>{se(me,()=>{const{length:Ze}=le,Ne=new Array(Ze);let gt=Ze,N=Ze;for(let B=0;B{const X=(0,d.D)(le[B],me);let ie=!1;X.subscribe((0,w.x)(Se,pe=>{Ne[B]=pe,ie||(ie=!0,N--),N||Se.next(fe(Ne.slice()))},()=>{--gt||Se.complete()}))},Se)},Se)}}(Se,me,Ze?gt=>(0,F.n)(Ze,gt):D.y));return fe?Ne.pipe((0,u.Z)(fe)):Ne}function se(le,me,fe){le?(0,p.f)(fe,le,me):me()}},7272:(Rt,je,a)=>{a.d(je,{z:()=>u});var r=a(8189),d=a(3269),D=a(2076);function u(...T){return function i(){return(0,r.J)(1)}()((0,D.D)(T,(0,d.yG)(T)))}},9770:(Rt,je,a)=>{a.d(je,{P:()=>d});var r=a(9751),i=a(8421);function d(D){return new r.y(u=>{(0,i.Xf)(D()).subscribe(u)})}},515:(Rt,je,a)=>{a.d(je,{E:()=>i});const i=new(a(9751).y)(u=>u.complete())},4128:(Rt,je,a)=>{a.d(je,{D:()=>w});var r=a(9751),i=a(4742),d=a(8421),D=a(3269),u=a(5403),T=a(3268),F=a(1810);function w(...p){const W=(0,D.jO)(p),{args:ae,keys:se}=(0,i.D)(p),le=new r.y(me=>{const{length:fe}=ae;if(!fe)return void me.complete();const Se=new Array(fe);let Ze=fe,Ne=fe;for(let gt=0;gt{N||(N=!0,Ne--),Se[gt]=B},()=>Ze--,void 0,()=>{(!Ze||!N)&&(Ne||me.next(se?(0,F.n)(se,Se):Se),me.complete())}))}});return W?le.pipe((0,T.Z)(W)):le}},2076:(Rt,je,a)=>{a.d(je,{D:()=>pe});var r=a(8421),i=a(9672),d=a(4482),D=a(5403);function u(we,ne=0){return(0,d.e)((ge,Ve)=>{ge.subscribe((0,D.x)(Ve,Je=>(0,i.f)(Ve,we,()=>Ve.next(Je),ne),()=>(0,i.f)(Ve,we,()=>Ve.complete(),ne),Je=>(0,i.f)(Ve,we,()=>Ve.error(Je),ne)))})}function T(we,ne=0){return(0,d.e)((ge,Ve)=>{Ve.add(we.schedule(()=>ge.subscribe(Ve),ne))})}var p=a(9751),ae=a(2202),se=a(576);function me(we,ne){if(!we)throw new Error("Iterable cannot be null");return new p.y(ge=>{(0,i.f)(ge,ne,()=>{const Ve=we[Symbol.asyncIterator]();(0,i.f)(ge,ne,()=>{Ve.next().then(Je=>{Je.done?ge.complete():ge.next(Je.value)})},0,!0)})})}var fe=a(3670),Se=a(8239),Ze=a(1144),Ne=a(6495),gt=a(2206),N=a(4532),B=a(3260);function pe(we,ne){return ne?function ie(we,ne){if(null!=we){if((0,fe.c)(we))return function F(we,ne){return(0,r.Xf)(we).pipe(T(ne),u(ne))}(we,ne);if((0,Ze.z)(we))return function W(we,ne){return new p.y(ge=>{let Ve=0;return ne.schedule(function(){Ve===we.length?ge.complete():(ge.next(we[Ve++]),ge.closed||this.schedule())})})}(we,ne);if((0,Se.t)(we))return function w(we,ne){return(0,r.Xf)(we).pipe(T(ne),u(ne))}(we,ne);if((0,gt.D)(we))return me(we,ne);if((0,Ne.T)(we))return function le(we,ne){return new p.y(ge=>{let Ve;return(0,i.f)(ge,ne,()=>{Ve=we[ae.h](),(0,i.f)(ge,ne,()=>{let Je,pt;try{({value:Je,done:pt}=Ve.next())}catch(Ge){return void ge.error(Ge)}pt?ge.complete():ge.next(Je)},0,!0)}),()=>(0,se.m)(Ve?.return)&&Ve.return()})}(we,ne);if((0,B.L)(we))return function X(we,ne){return me((0,B.Q)(we),ne)}(we,ne)}throw(0,N.z)(we)}(we,ne):(0,r.Xf)(we)}},4968:(Rt,je,a)=>{a.d(je,{R:()=>W});var r=a(8421),i=a(9751),d=a(5577),D=a(1144),u=a(576),T=a(3268);const F=["addListener","removeListener"],w=["addEventListener","removeEventListener"],p=["on","off"];function W(fe,Se,Ze,Ne){if((0,u.m)(Ze)&&(Ne=Ze,Ze=void 0),Ne)return W(fe,Se,Ze).pipe((0,T.Z)(Ne));const[gt,N]=function me(fe){return(0,u.m)(fe.addEventListener)&&(0,u.m)(fe.removeEventListener)}(fe)?w.map(B=>X=>fe[B](Se,X,Ze)):function se(fe){return(0,u.m)(fe.addListener)&&(0,u.m)(fe.removeListener)}(fe)?F.map(ae(fe,Se)):function le(fe){return(0,u.m)(fe.on)&&(0,u.m)(fe.off)}(fe)?p.map(ae(fe,Se)):[];if(!gt&&(0,D.z)(fe))return(0,d.z)(B=>W(B,Se,Ze))((0,r.Xf)(fe));if(!gt)throw new TypeError("Invalid event target");return new i.y(B=>{const X=(...ie)=>B.next(1N(X)})}function ae(fe,Se){return Ze=>Ne=>fe[Ze](Se,Ne)}},8421:(Rt,je,a)=>{a.d(je,{Xf:()=>le});var r=a(655),i=a(1144),d=a(8239),D=a(9751),u=a(3670),T=a(2206),F=a(4532),w=a(6495),p=a(3260),W=a(576),ae=a(7849),se=a(8822);function le(B){if(B instanceof D.y)return B;if(null!=B){if((0,u.c)(B))return function me(B){return new D.y(X=>{const ie=B[se.L]();if((0,W.m)(ie.subscribe))return ie.subscribe(X);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(B);if((0,i.z)(B))return function fe(B){return new D.y(X=>{for(let ie=0;ie{B.then(ie=>{X.closed||(X.next(ie),X.complete())},ie=>X.error(ie)).then(null,ae.h)})}(B);if((0,T.D)(B))return Ne(B);if((0,w.T)(B))return function Ze(B){return new D.y(X=>{for(const ie of B)if(X.next(ie),X.closed)return;X.complete()})}(B);if((0,p.L)(B))return function gt(B){return Ne((0,p.Q)(B))}(B)}throw(0,F.z)(B)}function Ne(B){return new D.y(X=>{(function N(B,X){var ie,pe,we,ne;return(0,r.mG)(this,void 0,void 0,function*(){try{for(ie=(0,r.KL)(B);!(pe=yield ie.next()).done;)if(X.next(pe.value),X.closed)return}catch(ge){we={error:ge}}finally{try{pe&&!pe.done&&(ne=ie.return)&&(yield ne.call(ie))}finally{if(we)throw we.error}}X.complete()})})(B,X).catch(ie=>X.error(ie))})}},6451:(Rt,je,a)=>{a.d(je,{T:()=>T});var r=a(8189),i=a(8421),d=a(515),D=a(3269),u=a(2076);function T(...F){const w=(0,D.yG)(F),p=(0,D._6)(F,1/0),W=F;return W.length?1===W.length?(0,i.Xf)(W[0]):(0,r.J)(p)((0,u.D)(W,w)):d.E}},9646:(Rt,je,a)=>{a.d(je,{of:()=>d});var r=a(3269),i=a(2076);function d(...D){const u=(0,r.yG)(D);return(0,i.D)(D,u)}},2843:(Rt,je,a)=>{a.d(je,{_:()=>d});var r=a(9751),i=a(576);function d(D,u){const T=(0,i.m)(D)?D:()=>D,F=w=>w.error(T());return new r.y(u?w=>u.schedule(F,0,w):F)}},5963:(Rt,je,a)=>{a.d(je,{H:()=>u});var r=a(9751),i=a(4986),d=a(3532);function u(T=0,F,w=i.P){let p=-1;return null!=F&&((0,d.K)(F)?w=F:p=F),new r.y(W=>{let ae=function D(T){return T instanceof Date&&!isNaN(T)}(T)?+T-w.now():T;ae<0&&(ae=0);let se=0;return w.schedule(function(){W.closed||(W.next(se++),0<=p?this.schedule(void 0,p):W.complete())},ae)})}},5403:(Rt,je,a)=>{a.d(je,{x:()=>i});var r=a(930);function i(D,u,T,F,w){return new d(D,u,T,F,w)}class d extends r.Lv{constructor(u,T,F,w,p,W){super(u),this.onFinalize=p,this.shouldUnsubscribe=W,this._next=T?function(ae){try{T(ae)}catch(se){u.error(se)}}:super._next,this._error=w?function(ae){try{w(ae)}catch(se){u.error(se)}finally{this.unsubscribe()}}:super._error,this._complete=F?function(){try{F()}catch(ae){u.error(ae)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var u;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:T}=this;super.unsubscribe(),!T&&(null===(u=this.onFinalize)||void 0===u||u.call(this))}}}},262:(Rt,je,a)=>{a.d(je,{K:()=>D});var r=a(8421),i=a(5403),d=a(4482);function D(u){return(0,d.e)((T,F)=>{let W,w=null,p=!1;w=T.subscribe((0,i.x)(F,void 0,void 0,ae=>{W=(0,r.Xf)(u(ae,D(u)(T))),w?(w.unsubscribe(),w=null,W.subscribe(F)):p=!0})),p&&(w.unsubscribe(),w=null,W.subscribe(F))})}},4351:(Rt,je,a)=>{a.d(je,{b:()=>d});var r=a(5577),i=a(576);function d(D,u){return(0,i.m)(u)?(0,r.z)(D,u,1):(0,r.z)(D,1)}},8372:(Rt,je,a)=>{a.d(je,{b:()=>D});var r=a(4986),i=a(4482),d=a(5403);function D(u,T=r.z){return(0,i.e)((F,w)=>{let p=null,W=null,ae=null;const se=()=>{if(p){p.unsubscribe(),p=null;const me=W;W=null,w.next(me)}};function le(){const me=ae+u,fe=T.now();if(fe{W=me,ae=T.now(),p||(p=T.schedule(le,u),w.add(p))},()=>{se(),w.complete()},void 0,()=>{W=p=null}))})}},6590:(Rt,je,a)=>{a.d(je,{d:()=>d});var r=a(4482),i=a(5403);function d(D){return(0,r.e)((u,T)=>{let F=!1;u.subscribe((0,i.x)(T,w=>{F=!0,T.next(w)},()=>{F||T.next(D),T.complete()}))})}},1005:(Rt,je,a)=>{a.d(je,{g:()=>se});var r=a(4986),i=a(7272),d=a(5698),D=a(4482),u=a(5403),T=a(5032),w=a(9718),p=a(5577);function W(le,me){return me?fe=>(0,i.z)(me.pipe((0,d.q)(1),function F(){return(0,D.e)((le,me)=>{le.subscribe((0,u.x)(me,T.Z))})}()),fe.pipe(W(le))):(0,p.z)((fe,Se)=>le(fe,Se).pipe((0,d.q)(1),(0,w.h)(fe)))}var ae=a(5963);function se(le,me=r.z){const fe=(0,ae.H)(le,me);return W(()=>fe)}},1884:(Rt,je,a)=>{a.d(je,{x:()=>D});var r=a(4671),i=a(4482),d=a(5403);function D(T,F=r.y){return T=T??u,(0,i.e)((w,p)=>{let W,ae=!0;w.subscribe((0,d.x)(p,se=>{const le=F(se);(ae||!T(W,le))&&(ae=!1,W=le,p.next(se))}))})}function u(T,F){return T===F}},9300:(Rt,je,a)=>{a.d(je,{h:()=>d});var r=a(4482),i=a(5403);function d(D,u){return(0,r.e)((T,F)=>{let w=0;T.subscribe((0,i.x)(F,p=>D.call(u,p,w++)&&F.next(p)))})}},8746:(Rt,je,a)=>{a.d(je,{x:()=>i});var r=a(4482);function i(d){return(0,r.e)((D,u)=>{try{D.subscribe(u)}finally{u.add(d)}})}},590:(Rt,je,a)=>{a.d(je,{P:()=>F});var r=a(6805),i=a(9300),d=a(5698),D=a(6590),u=a(8068),T=a(4671);function F(w,p){const W=arguments.length>=2;return ae=>ae.pipe(w?(0,i.h)((se,le)=>w(se,le,ae)):T.y,(0,d.q)(1),W?(0,D.d)(p):(0,u.T)(()=>new r.K))}},4004:(Rt,je,a)=>{a.d(je,{U:()=>d});var r=a(4482),i=a(5403);function d(D,u){return(0,r.e)((T,F)=>{let w=0;T.subscribe((0,i.x)(F,p=>{F.next(D.call(u,p,w++))}))})}},9718:(Rt,je,a)=>{a.d(je,{h:()=>i});var r=a(4004);function i(d){return(0,r.U)(()=>d)}},8189:(Rt,je,a)=>{a.d(je,{J:()=>d});var r=a(5577),i=a(4671);function d(D=1/0){return(0,r.z)(i.y,D)}},5577:(Rt,je,a)=>{a.d(je,{z:()=>w});var r=a(4004),i=a(8421),d=a(4482),D=a(9672),u=a(5403),F=a(576);function w(p,W,ae=1/0){return(0,F.m)(W)?w((se,le)=>(0,r.U)((me,fe)=>W(se,me,le,fe))((0,i.Xf)(p(se,le))),ae):("number"==typeof W&&(ae=W),(0,d.e)((se,le)=>function T(p,W,ae,se,le,me,fe,Se){const Ze=[];let Ne=0,gt=0,N=!1;const B=()=>{N&&!Ze.length&&!Ne&&W.complete()},X=pe=>Ne{me&&W.next(pe),Ne++;let we=!1;(0,i.Xf)(ae(pe,gt++)).subscribe((0,u.x)(W,ne=>{le?.(ne),me?X(ne):W.next(ne)},()=>{we=!0},void 0,()=>{if(we)try{for(Ne--;Ze.length&&Neie(ne)):ie(ne)}B()}catch(ne){W.error(ne)}}))};return p.subscribe((0,u.x)(W,X,()=>{N=!0,B()})),()=>{Se?.()}}(se,le,p,ae)))}},8343:(Rt,je,a)=>{a.d(je,{x:()=>d});var r=a(4482),i=a(5403);function d(){return(0,r.e)((D,u)=>{let T=null;D._refCount++;const F=(0,i.x)(u,void 0,void 0,void 0,()=>{if(!D||D._refCount<=0||0<--D._refCount)return void(T=null);const w=D._connection,p=T;T=null,w&&(!p||w===p)&&w.unsubscribe(),u.unsubscribe()});D.subscribe(F),F.closed||(T=D.connect())})}},7359:(Rt,je,a)=>{a.d(je,{U:()=>i});var r=a(5403);function i(d,D,u,T,F){return(w,p)=>{let W=u,ae=D,se=0;w.subscribe((0,r.x)(p,le=>{const me=se++;ae=W?d(ae,le,me):(W=!0,le),T&&p.next(ae)},F&&(()=>{W&&p.next(ae),p.complete()})))}}},3099:(Rt,je,a)=>{a.d(je,{B:()=>u});var r=a(8421),i=a(7579),d=a(930),D=a(4482);function u(F={}){const{connector:w=(()=>new i.x),resetOnError:p=!0,resetOnComplete:W=!0,resetOnRefCountZero:ae=!0}=F;return se=>{let le,me,fe,Se=0,Ze=!1,Ne=!1;const gt=()=>{me?.unsubscribe(),me=void 0},N=()=>{gt(),le=fe=void 0,Ze=Ne=!1},B=()=>{const X=le;N(),X?.unsubscribe()};return(0,D.e)((X,ie)=>{Se++,!Ne&&!Ze&>();const pe=fe=fe??w();ie.add(()=>{Se--,0===Se&&!Ne&&!Ze&&(me=T(B,ae))}),pe.subscribe(ie),!le&&Se>0&&(le=new d.Hp({next:we=>pe.next(we),error:we=>{Ne=!0,gt(),me=T(N,p,we),pe.error(we)},complete:()=>{Ze=!0,gt(),me=T(N,W),pe.complete()}}),(0,r.Xf)(X).subscribe(le))})(se)}}function T(F,w,...p){if(!0===w)return void F();if(!1===w)return;const W=new d.Hp({next:()=>{W.unsubscribe(),F()}});return w(...p).subscribe(W)}},5684:(Rt,je,a)=>{a.d(je,{T:()=>i});var r=a(9300);function i(d){return(0,r.h)((D,u)=>d<=u)}},8675:(Rt,je,a)=>{a.d(je,{O:()=>D});var r=a(7272),i=a(3269),d=a(4482);function D(...u){const T=(0,i.yG)(u);return(0,d.e)((F,w)=>{(T?(0,r.z)(u,F,T):(0,r.z)(u,F)).subscribe(w)})}},3900:(Rt,je,a)=>{a.d(je,{w:()=>D});var r=a(8421),i=a(4482),d=a(5403);function D(u,T){return(0,i.e)((F,w)=>{let p=null,W=0,ae=!1;const se=()=>ae&&!p&&w.complete();F.subscribe((0,d.x)(w,le=>{p?.unsubscribe();let me=0;const fe=W++;(0,r.Xf)(u(le,fe)).subscribe(p=(0,d.x)(w,Se=>w.next(T?T(le,Se,fe,me++):Se),()=>{p=null,se()}))},()=>{ae=!0,se()}))})}},5698:(Rt,je,a)=>{a.d(je,{q:()=>D});var r=a(515),i=a(4482),d=a(5403);function D(u){return u<=0?()=>r.E:(0,i.e)((T,F)=>{let w=0;T.subscribe((0,d.x)(F,p=>{++w<=u&&(F.next(p),u<=w&&F.complete())}))})}},2722:(Rt,je,a)=>{a.d(je,{R:()=>u});var r=a(4482),i=a(5403),d=a(8421),D=a(5032);function u(T){return(0,r.e)((F,w)=>{(0,d.Xf)(T).subscribe((0,i.x)(w,()=>w.complete(),D.Z)),!w.closed&&F.subscribe(w)})}},2529:(Rt,je,a)=>{a.d(je,{o:()=>d});var r=a(4482),i=a(5403);function d(D,u=!1){return(0,r.e)((T,F)=>{let w=0;T.subscribe((0,i.x)(F,p=>{const W=D(p,w++);(W||u)&&F.next(p),!W&&F.complete()}))})}},8505:(Rt,je,a)=>{a.d(je,{b:()=>u});var r=a(576),i=a(4482),d=a(5403),D=a(4671);function u(T,F,w){const p=(0,r.m)(T)||F||w?{next:T,error:F,complete:w}:T;return p?(0,i.e)((W,ae)=>{var se;null===(se=p.subscribe)||void 0===se||se.call(p);let le=!0;W.subscribe((0,d.x)(ae,me=>{var fe;null===(fe=p.next)||void 0===fe||fe.call(p,me),ae.next(me)},()=>{var me;le=!1,null===(me=p.complete)||void 0===me||me.call(p),ae.complete()},me=>{var fe;le=!1,null===(fe=p.error)||void 0===fe||fe.call(p,me),ae.error(me)},()=>{var me,fe;le&&(null===(me=p.unsubscribe)||void 0===me||me.call(p)),null===(fe=p.finalize)||void 0===fe||fe.call(p)}))}):D.y}},8068:(Rt,je,a)=>{a.d(je,{T:()=>D});var r=a(6805),i=a(4482),d=a(5403);function D(T=u){return(0,i.e)((F,w)=>{let p=!1;F.subscribe((0,d.x)(w,W=>{p=!0,w.next(W)},()=>p?w.complete():w.error(T())))})}function u(){return new r.K}},4408:(Rt,je,a)=>{a.d(je,{o:()=>u});var r=a(727);class i extends r.w0{constructor(F,w){super()}schedule(F,w=0){return this}}const d={setInterval(T,F,...w){const{delegate:p}=d;return p?.setInterval?p.setInterval(T,F,...w):setInterval(T,F,...w)},clearInterval(T){const{delegate:F}=d;return(F?.clearInterval||clearInterval)(T)},delegate:void 0};var D=a(8737);class u extends i{constructor(F,w){super(F,w),this.scheduler=F,this.work=w,this.pending=!1}schedule(F,w=0){var p;if(this.closed)return this;this.state=F;const W=this.id,ae=this.scheduler;return null!=W&&(this.id=this.recycleAsyncId(ae,W,w)),this.pending=!0,this.delay=w,this.id=null!==(p=this.id)&&void 0!==p?p:this.requestAsyncId(ae,this.id,w),this}requestAsyncId(F,w,p=0){return d.setInterval(F.flush.bind(F,this),p)}recycleAsyncId(F,w,p=0){if(null!=p&&this.delay===p&&!1===this.pending)return w;null!=w&&d.clearInterval(w)}execute(F,w){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const p=this._execute(F,w);if(p)return p;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(F,w){let W,p=!1;try{this.work(F)}catch(ae){p=!0,W=ae||new Error("Scheduled action threw falsy error")}if(p)return this.unsubscribe(),W}unsubscribe(){if(!this.closed){const{id:F,scheduler:w}=this,{actions:p}=w;this.work=this.state=this.scheduler=null,this.pending=!1,(0,D.P)(p,this),null!=F&&(this.id=this.recycleAsyncId(w,F,null)),this.delay=null,super.unsubscribe()}}}},7565:(Rt,je,a)=>{a.d(je,{v:()=>d});var r=a(6063);class i{constructor(u,T=i.now){this.schedulerActionCtor=u,this.now=T}schedule(u,T=0,F){return new this.schedulerActionCtor(this,u).schedule(F,T)}}i.now=r.l.now;class d extends i{constructor(u,T=i.now){super(u,T),this.actions=[],this._active=!1}flush(u){const{actions:T}=this;if(this._active)return void T.push(u);let F;this._active=!0;do{if(F=u.execute(u.state,u.delay))break}while(u=T.shift());if(this._active=!1,F){for(;u=T.shift();)u.unsubscribe();throw F}}}},6406:(Rt,je,a)=>{a.d(je,{Z:()=>F});var r=a(4408),i=a(727);const d={schedule(p){let W=requestAnimationFrame,ae=cancelAnimationFrame;const{delegate:se}=d;se&&(W=se.requestAnimationFrame,ae=se.cancelAnimationFrame);const le=W(me=>{ae=void 0,p(me)});return new i.w0(()=>ae?.(le))},requestAnimationFrame(...p){const{delegate:W}=d;return(W?.requestAnimationFrame||requestAnimationFrame)(...p)},cancelAnimationFrame(...p){const{delegate:W}=d;return(W?.cancelAnimationFrame||cancelAnimationFrame)(...p)},delegate:void 0};var u=a(7565);const F=new class T extends u.v{flush(W){this._active=!0;const ae=this._scheduled;this._scheduled=void 0;const{actions:se}=this;let le;W=W||se.shift();do{if(le=W.execute(W.state,W.delay))break}while((W=se[0])&&W.id===ae&&se.shift());if(this._active=!1,le){for(;(W=se[0])&&W.id===ae&&se.shift();)W.unsubscribe();throw le}}}(class D extends r.o{constructor(W,ae){super(W,ae),this.scheduler=W,this.work=ae}requestAsyncId(W,ae,se=0){return null!==se&&se>0?super.requestAsyncId(W,ae,se):(W.actions.push(this),W._scheduled||(W._scheduled=d.requestAnimationFrame(()=>W.flush(void 0))))}recycleAsyncId(W,ae,se=0){var le;if(null!=se?se>0:this.delay>0)return super.recycleAsyncId(W,ae,se);const{actions:me}=W;null!=ae&&(null===(le=me[me.length-1])||void 0===le?void 0:le.id)!==ae&&(d.cancelAnimationFrame(ae),W._scheduled=void 0)}})},3101:(Rt,je,a)=>{a.d(je,{E:()=>me});var r=a(4408);let d,i=1;const D={};function u(Se){return Se in D&&(delete D[Se],!0)}const T={setImmediate(Se){const Ze=i++;return D[Ze]=!0,d||(d=Promise.resolve()),d.then(()=>u(Ze)&&Se()),Ze},clearImmediate(Se){u(Se)}},{setImmediate:w,clearImmediate:p}=T,W={setImmediate(...Se){const{delegate:Ze}=W;return(Ze?.setImmediate||w)(...Se)},clearImmediate(Se){const{delegate:Ze}=W;return(Ze?.clearImmediate||p)(Se)},delegate:void 0};var se=a(7565);const me=new class le extends se.v{flush(Ze){this._active=!0;const Ne=this._scheduled;this._scheduled=void 0;const{actions:gt}=this;let N;Ze=Ze||gt.shift();do{if(N=Ze.execute(Ze.state,Ze.delay))break}while((Ze=gt[0])&&Ze.id===Ne&>.shift());if(this._active=!1,N){for(;(Ze=gt[0])&&Ze.id===Ne&>.shift();)Ze.unsubscribe();throw N}}}(class ae extends r.o{constructor(Ze,Ne){super(Ze,Ne),this.scheduler=Ze,this.work=Ne}requestAsyncId(Ze,Ne,gt=0){return null!==gt&>>0?super.requestAsyncId(Ze,Ne,gt):(Ze.actions.push(this),Ze._scheduled||(Ze._scheduled=W.setImmediate(Ze.flush.bind(Ze,void 0))))}recycleAsyncId(Ze,Ne,gt=0){var N;if(null!=gt?gt>0:this.delay>0)return super.recycleAsyncId(Ze,Ne,gt);const{actions:B}=Ze;null!=Ne&&(null===(N=B[B.length-1])||void 0===N?void 0:N.id)!==Ne&&(W.clearImmediate(Ne),Ze._scheduled=void 0)}})},4986:(Rt,je,a)=>{a.d(je,{P:()=>D,z:()=>d});var r=a(4408);const d=new(a(7565).v)(r.o),D=d},6063:(Rt,je,a)=>{a.d(je,{l:()=>r});const r={now:()=>(r.delegate||Date).now(),delegate:void 0}},3410:(Rt,je,a)=>{a.d(je,{z:()=>r});const r={setTimeout(i,d,...D){const{delegate:u}=r;return u?.setTimeout?u.setTimeout(i,d,...D):setTimeout(i,d,...D)},clearTimeout(i){const{delegate:d}=r;return(d?.clearTimeout||clearTimeout)(i)},delegate:void 0}},2202:(Rt,je,a)=>{a.d(je,{h:()=>i});const i=function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Rt,je,a)=>{a.d(je,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Rt,je,a)=>{a.d(je,{K:()=>i});const i=(0,a(3888).d)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(Rt,je,a)=>{a.d(je,{_6:()=>T,jO:()=>D,yG:()=>u});var r=a(576),i=a(3532);function d(F){return F[F.length-1]}function D(F){return(0,r.m)(d(F))?F.pop():void 0}function u(F){return(0,i.K)(d(F))?F.pop():void 0}function T(F,w){return"number"==typeof d(F)?F.pop():w}},4742:(Rt,je,a)=>{a.d(je,{D:()=>u});const{isArray:r}=Array,{getPrototypeOf:i,prototype:d,keys:D}=Object;function u(F){if(1===F.length){const w=F[0];if(r(w))return{args:w,keys:null};if(function T(F){return F&&"object"==typeof F&&i(F)===d}(w)){const p=D(w);return{args:p.map(W=>w[W]),keys:p}}}return{args:F,keys:null}}},8737:(Rt,je,a)=>{function r(i,d){if(i){const D=i.indexOf(d);0<=D&&i.splice(D,1)}}a.d(je,{P:()=>r})},3888:(Rt,je,a)=>{function r(i){const D=i(u=>{Error.call(u),u.stack=(new Error).stack});return D.prototype=Object.create(Error.prototype),D.prototype.constructor=D,D}a.d(je,{d:()=>r})},1810:(Rt,je,a)=>{function r(i,d){return i.reduce((D,u,T)=>(D[u]=d[T],D),{})}a.d(je,{n:()=>r})},2806:(Rt,je,a)=>{a.d(je,{O:()=>D,x:()=>d});var r=a(2416);let i=null;function d(u){if(r.v.useDeprecatedSynchronousErrorHandling){const T=!i;if(T&&(i={errorThrown:!1,error:null}),u(),T){const{errorThrown:F,error:w}=i;if(i=null,F)throw w}}else u()}function D(u){r.v.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=u)}},9672:(Rt,je,a)=>{function r(i,d,D,u=0,T=!1){const F=d.schedule(function(){D(),T?i.add(this.schedule(null,u)):this.unsubscribe()},u);if(i.add(F),!T)return F}a.d(je,{f:()=>r})},4671:(Rt,je,a)=>{function r(i){return i}a.d(je,{y:()=>r})},1144:(Rt,je,a)=>{a.d(je,{z:()=>r});const r=i=>i&&"number"==typeof i.length&&"function"!=typeof i},2206:(Rt,je,a)=>{a.d(je,{D:()=>i});var r=a(576);function i(d){return Symbol.asyncIterator&&(0,r.m)(d?.[Symbol.asyncIterator])}},576:(Rt,je,a)=>{function r(i){return"function"==typeof i}a.d(je,{m:()=>r})},3670:(Rt,je,a)=>{a.d(je,{c:()=>d});var r=a(8822),i=a(576);function d(D){return(0,i.m)(D[r.L])}},6495:(Rt,je,a)=>{a.d(je,{T:()=>d});var r=a(2202),i=a(576);function d(D){return(0,i.m)(D?.[r.h])}},8239:(Rt,je,a)=>{a.d(je,{t:()=>i});var r=a(576);function i(d){return(0,r.m)(d?.then)}},3260:(Rt,je,a)=>{a.d(je,{L:()=>D,Q:()=>d});var r=a(655),i=a(576);function d(u){return(0,r.FC)(this,arguments,function*(){const F=u.getReader();try{for(;;){const{value:w,done:p}=yield(0,r.qq)(F.read());if(p)return yield(0,r.qq)(void 0);yield yield(0,r.qq)(w)}}finally{F.releaseLock()}})}function D(u){return(0,i.m)(u?.getReader)}},3532:(Rt,je,a)=>{a.d(je,{K:()=>i});var r=a(576);function i(d){return d&&(0,r.m)(d.schedule)}},4482:(Rt,je,a)=>{a.d(je,{A:()=>i,e:()=>d});var r=a(576);function i(D){return(0,r.m)(D?.lift)}function d(D){return u=>{if(i(u))return u.lift(function(T){try{return D(T,this)}catch(F){this.error(F)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Rt,je,a)=>{a.d(je,{Z:()=>D});var r=a(4004);const{isArray:i}=Array;function D(u){return(0,r.U)(T=>function d(u,T){return i(T)?u(...T):u(T)}(u,T))}},5032:(Rt,je,a)=>{function r(){}a.d(je,{Z:()=>r})},9635:(Rt,je,a)=>{a.d(je,{U:()=>d,z:()=>i});var r=a(4671);function i(...D){return d(D)}function d(D){return 0===D.length?r.y:1===D.length?D[0]:function(T){return D.reduce((F,w)=>w(F),T)}}},7849:(Rt,je,a)=>{a.d(je,{h:()=>d});var r=a(2416),i=a(3410);function d(D){i.z.setTimeout(()=>{const{onUnhandledError:u}=r.v;if(!u)throw D;u(D)})}},4532:(Rt,je,a)=>{function r(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.`)}a.d(je,{z:()=>r})},655:(Rt,je,a)=>{function se(st,_t,et,mt){return new(et||(et=Promise))(function(G,de){function ye(Fe){try{Dt(mt.next(Fe))}catch($e){de($e)}}function xe(Fe){try{Dt(mt.throw(Fe))}catch($e){de($e)}}function Dt(Fe){Fe.done?G(Fe.value):function he(G){return G instanceof et?G:new et(function(de){de(G)})}(Fe.value).then(ye,xe)}Dt((mt=mt.apply(st,_t||[])).next())})}function B(st){return this instanceof B?(this.v=st,this):new B(st)}function X(st,_t,et){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var he,mt=et.apply(st,_t||[]),G=[];return he={},de("next"),de("throw"),de("return"),he[Symbol.asyncIterator]=function(){return this},he;function de(ce){mt[ce]&&(he[ce]=function(it){return new Promise(function(ue,Ke){G.push([ce,it,ue,Ke])>1||ye(ce,it)})})}function ye(ce,it){try{!function xe(ce){ce.value instanceof B?Promise.resolve(ce.value.v).then(Dt,Fe):$e(G[0][2],ce)}(mt[ce](it))}catch(ue){$e(G[0][3],ue)}}function Dt(ce){ye("next",ce)}function Fe(ce){ye("throw",ce)}function $e(ce,it){ce(it),G.shift(),G.length&&ye(G[0][0],G[0][1])}}function pe(st){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var et,_t=st[Symbol.asyncIterator];return _t?_t.call(st):(st=function Se(st){var _t="function"==typeof Symbol&&Symbol.iterator,et=_t&&st[_t],mt=0;if(et)return et.call(st);if(st&&"number"==typeof st.length)return{next:function(){return st&&mt>=st.length&&(st=void 0),{value:st&&st[mt++],done:!st}}};throw new TypeError(_t?"Object is not iterable.":"Symbol.iterator is not defined.")}(st),et={},mt("next"),mt("throw"),mt("return"),et[Symbol.asyncIterator]=function(){return this},et);function mt(G){et[G]=st[G]&&function(de){return new Promise(function(ye,xe){!function he(G,de,ye,xe){Promise.resolve(xe).then(function(Dt){G({value:Dt,done:ye})},de)}(ye,xe,(de=st[G](de)).done,de.value)})}}}a.d(je,{FC:()=>X,KL:()=>pe,mG:()=>se,qq:()=>B})},7340:(Rt,je,a)=>{a.d(je,{F4:()=>W,IO:()=>fe,LC:()=>i,SB:()=>p,X$:()=>D,ZE:()=>gt,ZN:()=>Ne,_j:()=>r,eR:()=>ae,jt:()=>u,k1:()=>N,l3:()=>d,oB:()=>w,pV:()=>le,ru:()=>T,vP:()=>F});class r{}class i{}const d="*";function D(B,X){return{type:7,name:B,definitions:X,options:{}}}function u(B,X=null){return{type:4,styles:X,timings:B}}function T(B,X=null){return{type:3,steps:B,options:X}}function F(B,X=null){return{type:2,steps:B,options:X}}function w(B){return{type:6,styles:B,offset:null}}function p(B,X,ie){return{type:0,name:B,styles:X,options:ie}}function W(B){return{type:5,steps:B}}function ae(B,X,ie=null){return{type:1,expr:B,animation:X,options:ie}}function le(B=null){return{type:9,options:B}}function fe(B,X,ie=null){return{type:11,selector:B,animation:X,options:ie}}function Ze(B){Promise.resolve().then(B)}class Ne{constructor(X=0,ie=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=X+ie}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}onStart(X){this._originalOnStartFns.push(X),this._onStartFns.push(X)}onDone(X){this._originalOnDoneFns.push(X),this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ze(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(X=>X()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(X){this._position=this.totalTime?X*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(X){const ie="start"==X?this._onStartFns:this._onDoneFns;ie.forEach(pe=>pe()),ie.length=0}}class gt{constructor(X){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=X;let ie=0,pe=0,we=0;const ne=this.players.length;0==ne?Ze(()=>this._onFinish()):this.players.forEach(ge=>{ge.onDone(()=>{++ie==ne&&this._onFinish()}),ge.onDestroy(()=>{++pe==ne&&this._onDestroy()}),ge.onStart(()=>{++we==ne&&this._onStart()})}),this.totalTime=this.players.reduce((ge,Ve)=>Math.max(ge,Ve.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}init(){this.players.forEach(X=>X.init())}onStart(X){this._onStartFns.push(X)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(X=>X()),this._onStartFns=[])}onDone(X){this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(X=>X.play())}pause(){this.players.forEach(X=>X.pause())}restart(){this.players.forEach(X=>X.restart())}finish(){this._onFinish(),this.players.forEach(X=>X.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(X=>X.destroy()),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this.players.forEach(X=>X.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(X){const ie=X*this.totalTime;this.players.forEach(pe=>{const we=pe.totalTime?Math.min(1,ie/pe.totalTime):1;pe.setPosition(we)})}getPosition(){const X=this.players.reduce((ie,pe)=>null===ie||pe.totalTime>ie.totalTime?pe:ie,null);return null!=X?X.getPosition():0}beforeDestroy(){this.players.forEach(X=>{X.beforeDestroy&&X.beforeDestroy()})}triggerCallback(X){const ie="start"==X?this._onStartFns:this._onDoneFns;ie.forEach(pe=>pe()),ie.length=0}}const N="!"},2687:(Rt,je,a)=>{a.d(je,{$s:()=>Ve,Em:()=>st,Kd:()=>St,X6:()=>te,ic:()=>et,kH:()=>xt,mK:()=>Et,qV:()=>Qe,qm:()=>oe,rt:()=>x,s1:()=>At,tE:()=>ht,yG:()=>S});var r=a(6895),i=a(4650),d=a(3353),D=a(7579),u=a(727),T=a(1135),F=a(9646),w=a(9521),p=a(8505),W=a(8372),ae=a(9300),se=a(4004),le=a(5698),me=a(5684),fe=a(1884),Se=a(2722),Ze=a(1281),Ne=a(9643),gt=a(2289);function ie(h,v){return(h.getAttribute(v)||"").match(/\S+/g)||[]}const we="cdk-describedby-message",ne="cdk-describedby-host";let ge=0,Ve=(()=>{class h{constructor(c,b){this._platform=b,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+ge++,this._document=c,this._id=(0,i.f3M)(i.AFp)+"-"+ge++}describe(c,b,E){if(!this._canBeDescribed(c,b))return;const O=Je(b,E);"string"!=typeof b?(pt(b,this._id),this._messageRegistry.set(O,{messageElement:b,referenceCount:0})):this._messageRegistry.has(O)||this._createMessageElement(b,E),this._isElementDescribedByMessage(c,O)||this._addMessageReference(c,O)}removeDescription(c,b,E){if(!b||!this._isElementNode(c))return;const O=Je(b,E);if(this._isElementDescribedByMessage(c,O)&&this._removeMessageReference(c,O),"string"==typeof b){const R=this._messageRegistry.get(O);R&&0===R.referenceCount&&this._deleteMessageElement(O)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const c=this._document.querySelectorAll(`[${ne}="${this._id}"]`);for(let b=0;b0!=E.indexOf(we));c.setAttribute("aria-describedby",b.join(" "))}_addMessageReference(c,b){const E=this._messageRegistry.get(b);(function B(h,v,c){const b=ie(h,v);b.some(E=>E.trim()==c.trim())||(b.push(c.trim()),h.setAttribute(v,b.join(" ")))})(c,"aria-describedby",E.messageElement.id),c.setAttribute(ne,this._id),E.referenceCount++}_removeMessageReference(c,b){const E=this._messageRegistry.get(b);E.referenceCount--,function X(h,v,c){const E=ie(h,v).filter(O=>O!=c.trim());E.length?h.setAttribute(v,E.join(" ")):h.removeAttribute(v)}(c,"aria-describedby",E.messageElement.id),c.removeAttribute(ne)}_isElementDescribedByMessage(c,b){const E=ie(c,"aria-describedby"),O=this._messageRegistry.get(b),R=O&&O.messageElement.id;return!!R&&-1!=E.indexOf(R)}_canBeDescribed(c,b){if(!this._isElementNode(c))return!1;if(b&&"object"==typeof b)return!0;const E=null==b?"":`${b}`.trim(),O=c.getAttribute("aria-label");return!(!E||O&&O.trim()===E)}_isElementNode(c){return c.nodeType===this._document.ELEMENT_NODE}}return h.\u0275fac=function(c){return new(c||h)(i.LFG(r.K0),i.LFG(d.t4))},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function Je(h,v){return"string"==typeof h?`${v||""}/${h}`:h}function pt(h,v){h.id||(h.id=`${we}-${v}-${ge++}`)}class Ge{constructor(v){this._items=v,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new D.x,this._typeaheadSubscription=u.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=c=>c.disabled,this._pressedLetters=[],this.tabOut=new D.x,this.change=new D.x,v instanceof i.n_E&&v.changes.subscribe(c=>{if(this._activeItem){const E=c.toArray().indexOf(this._activeItem);E>-1&&E!==this._activeItemIndex&&(this._activeItemIndex=E)}})}skipPredicate(v){return this._skipPredicateFn=v,this}withWrap(v=!0){return this._wrap=v,this}withVerticalOrientation(v=!0){return this._vertical=v,this}withHorizontalOrientation(v){return this._horizontal=v,this}withAllowedModifierKeys(v){return this._allowedModifierKeys=v,this}withTypeAhead(v=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,p.b)(c=>this._pressedLetters.push(c)),(0,W.b)(v),(0,ae.h)(()=>this._pressedLetters.length>0),(0,se.U)(()=>this._pressedLetters.join(""))).subscribe(c=>{const b=this._getItemsArray();for(let E=1;E!v[O]||this._allowedModifierKeys.indexOf(O)>-1);switch(c){case w.Mf:return void this.tabOut.next();case w.JH:if(this._vertical&&E){this.setNextItemActive();break}return;case w.LH:if(this._vertical&&E){this.setPreviousItemActive();break}return;case w.SV:if(this._horizontal&&E){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case w.oh:if(this._horizontal&&E){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case w.Sd:if(this._homeAndEnd&&E){this.setFirstItemActive();break}return;case w.uR:if(this._homeAndEnd&&E){this.setLastItemActive();break}return;default:return void((E||(0,w.Vb)(v,"shiftKey"))&&(v.key&&1===v.key.length?this._letterKeyStream.next(v.key.toLocaleUpperCase()):(c>=w.A&&c<=w.Z||c>=w.xE&&c<=w.aO)&&this._letterKeyStream.next(String.fromCharCode(c))))}this._pressedLetters=[],v.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(v){const c=this._getItemsArray(),b="number"==typeof v?v:c.indexOf(v);this._activeItem=c[b]??null,this._activeItemIndex=b}_setActiveItemByDelta(v){this._wrap?this._setActiveInWrapMode(v):this._setActiveInDefaultMode(v)}_setActiveInWrapMode(v){const c=this._getItemsArray();for(let b=1;b<=c.length;b++){const E=(this._activeItemIndex+v*b+c.length)%c.length;if(!this._skipPredicateFn(c[E]))return void this.setActiveItem(E)}}_setActiveInDefaultMode(v){this._setActiveItemByIndex(this._activeItemIndex+v,v)}_setActiveItemByIndex(v,c){const b=this._getItemsArray();if(b[v]){for(;this._skipPredicateFn(b[v]);)if(!b[v+=c])return;this.setActiveItem(v)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class At extends Ge{setActiveItem(v){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(v),this.activeItem&&this.activeItem.setActiveStyles()}}class st extends Ge{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(v){return this._origin=v,this}setActiveItem(v){super.setActiveItem(v),this.activeItem&&this.activeItem.focus(this._origin)}}let et=(()=>{class h{constructor(c){this._platform=c}isDisabled(c){return c.hasAttribute("disabled")}isVisible(c){return function he(h){return!!(h.offsetWidth||h.offsetHeight||"function"==typeof h.getClientRects&&h.getClientRects().length)}(c)&&"visible"===getComputedStyle(c).visibility}isTabbable(c){if(!this._platform.isBrowser)return!1;const b=function mt(h){try{return h.frameElement}catch{return null}}(function ue(h){return h.ownerDocument&&h.ownerDocument.defaultView||window}(c));if(b&&(-1===$e(b)||!this.isVisible(b)))return!1;let E=c.nodeName.toLowerCase(),O=$e(c);return c.hasAttribute("contenteditable")?-1!==O:!("iframe"===E||"object"===E||this._platform.WEBKIT&&this._platform.IOS&&!function ce(h){let v=h.nodeName.toLowerCase(),c="input"===v&&h.type;return"text"===c||"password"===c||"select"===v||"textarea"===v}(c))&&("audio"===E?!!c.hasAttribute("controls")&&-1!==O:"video"===E?-1!==O&&(null!==O||this._platform.FIREFOX||c.hasAttribute("controls")):c.tabIndex>=0)}isFocusable(c,b){return function it(h){return!function de(h){return function xe(h){return"input"==h.nodeName.toLowerCase()}(h)&&"hidden"==h.type}(h)&&(function G(h){let v=h.nodeName.toLowerCase();return"input"===v||"select"===v||"button"===v||"textarea"===v}(h)||function ye(h){return function Dt(h){return"a"==h.nodeName.toLowerCase()}(h)&&h.hasAttribute("href")}(h)||h.hasAttribute("contenteditable")||Fe(h))}(c)&&!this.isDisabled(c)&&(b?.ignoreVisibility||this.isVisible(c))}}return h.\u0275fac=function(c){return new(c||h)(i.LFG(d.t4))},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();function Fe(h){if(!h.hasAttribute("tabindex")||void 0===h.tabIndex)return!1;let v=h.getAttribute("tabindex");return!(!v||isNaN(parseInt(v,10)))}function $e(h){if(!Fe(h))return null;const v=parseInt(h.getAttribute("tabindex")||"",10);return isNaN(v)?-1:v}class Ke{constructor(v,c,b,E,O=!1){this._element=v,this._checker=c,this._ngZone=b,this._document=E,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,O||this.attachAnchors()}get enabled(){return this._enabled}set enabled(v){this._enabled=v,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(v,this._startAnchor),this._toggleAnchorTabIndex(v,this._endAnchor))}destroy(){const v=this._startAnchor,c=this._endAnchor;v&&(v.removeEventListener("focus",this.startAnchorListener),v.remove()),c&&(c.removeEventListener("focus",this.endAnchorListener),c.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(v){return new Promise(c=>{this._executeOnStable(()=>c(this.focusInitialElement(v)))})}focusFirstTabbableElementWhenReady(v){return new Promise(c=>{this._executeOnStable(()=>c(this.focusFirstTabbableElement(v)))})}focusLastTabbableElementWhenReady(v){return new Promise(c=>{this._executeOnStable(()=>c(this.focusLastTabbableElement(v)))})}_getRegionBoundary(v){const c=this._element.querySelectorAll(`[cdk-focus-region-${v}], [cdkFocusRegion${v}], [cdk-focus-${v}]`);return"start"==v?c.length?c[0]:this._getFirstTabbableElement(this._element):c.length?c[c.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(v){const c=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(c){if(!this._checker.isFocusable(c)){const b=this._getFirstTabbableElement(c);return b?.focus(v),!!b}return c.focus(v),!0}return this.focusFirstTabbableElement(v)}focusFirstTabbableElement(v){const c=this._getRegionBoundary("start");return c&&c.focus(v),!!c}focusLastTabbableElement(v){const c=this._getRegionBoundary("end");return c&&c.focus(v),!!c}hasAttached(){return this._hasAttached}_getFirstTabbableElement(v){if(this._checker.isFocusable(v)&&this._checker.isTabbable(v))return v;const c=v.children;for(let b=0;b=0;b--){const E=c[b].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(c[b]):null;if(E)return E}return null}_createAnchor(){const v=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,v),v.classList.add("cdk-visually-hidden"),v.classList.add("cdk-focus-trap-anchor"),v.setAttribute("aria-hidden","true"),v}_toggleAnchorTabIndex(v,c){v?c.setAttribute("tabindex","0"):c.removeAttribute("tabindex")}toggleAnchors(v){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(v,this._startAnchor),this._toggleAnchorTabIndex(v,this._endAnchor))}_executeOnStable(v){this._ngZone.isStable?v():this._ngZone.onStable.pipe((0,le.q)(1)).subscribe(v)}}let Qe=(()=>{class h{constructor(c,b,E){this._checker=c,this._ngZone=b,this._document=E}create(c,b=!1){return new Ke(c,this._checker,this._ngZone,this._document,b)}}return h.\u0275fac=function(c){return new(c||h)(i.LFG(et),i.LFG(i.R0b),i.LFG(r.K0))},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),Et=(()=>{class h{constructor(c,b,E){this._elementRef=c,this._focusTrapFactory=b,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(c){this.focusTrap.enabled=(0,Ze.Ig)(c)}get autoCapture(){return this._autoCapture}set autoCapture(c){this._autoCapture=(0,Ze.Ig)(c)}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(c){const b=c.autoCapture;b&&!b.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,d.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return h.\u0275fac=function(c){return new(c||h)(i.Y36(i.SBq),i.Y36(Qe),i.Y36(r.K0))},h.\u0275dir=i.lG2({type:h,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.TTD]}),h})();function te(h){return 0===h.buttons||0===h.offsetX&&0===h.offsetY}function S(h){const v=h.touches&&h.touches[0]||h.changedTouches&&h.changedTouches[0];return!(!v||-1!==v.identifier||null!=v.radiusX&&1!==v.radiusX||null!=v.radiusY&&1!==v.radiusY)}const M=new i.OlP("cdk-input-modality-detector-options"),J={ignoreKeys:[w.zL,w.jx,w.b2,w.MW,w.JU]},Ae=(0,d.i$)({passive:!0,capture:!0});let Ee=(()=>{class h{constructor(c,b,E,O){this._platform=c,this._mostRecentTarget=null,this._modality=new T.X(null),this._lastTouchMs=0,this._onKeydown=R=>{this._options?.ignoreKeys?.some(z=>z===R.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(R))},this._onMousedown=R=>{Date.now()-this._lastTouchMs<650||(this._modality.next(te(R)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(R))},this._onTouchstart=R=>{S(R)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(R))},this._options={...J,...O},this.modalityDetected=this._modality.pipe((0,me.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,fe.x)()),c.isBrowser&&b.runOutsideAngular(()=>{E.addEventListener("keydown",this._onKeydown,Ae),E.addEventListener("mousedown",this._onMousedown,Ae),E.addEventListener("touchstart",this._onTouchstart,Ae)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ae),document.removeEventListener("mousedown",this._onMousedown,Ae),document.removeEventListener("touchstart",this._onTouchstart,Ae))}}return h.\u0275fac=function(c){return new(c||h)(i.LFG(d.t4),i.LFG(i.R0b),i.LFG(r.K0),i.LFG(M,8))},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const De=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function ft(){return null}}),vt=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let St=(()=>{class h{constructor(c,b,E,O){this._ngZone=b,this._defaultOptions=O,this._document=E,this._liveElement=c||this._createLiveElement()}announce(c,...b){const E=this._defaultOptions;let O,R;return 1===b.length&&"number"==typeof b[0]?R=b[0]:[O,R]=b,this.clear(),clearTimeout(this._previousTimeout),O||(O=E&&E.politeness?E.politeness:"polite"),null==R&&E&&(R=E.duration),this._liveElement.setAttribute("aria-live",O),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(z=>this._currentResolve=z)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=c,"number"==typeof R&&(this._previousTimeout=setTimeout(()=>this.clear(),R)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const c="cdk-live-announcer-element",b=this._document.getElementsByClassName(c),E=this._document.createElement("div");for(let O=0;O{class h{constructor(c,b,E,O,R){this._ngZone=c,this._platform=b,this._inputModalityDetector=E,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 D.x,this._rootNodeFocusAndBlurListener=z=>{for(let nt=(0,d.sA)(z);nt;nt=nt.parentElement)"focus"===z.type?this._onFocus(z,nt):this._onBlur(z,nt)},this._document=O,this._detectionMode=R?.detectionMode||0}monitor(c,b=!1){const E=(0,Ze.fI)(c);if(!this._platform.isBrowser||1!==E.nodeType)return(0,F.of)(null);const O=(0,d.kV)(E)||this._getDocument(),R=this._elementInfo.get(E);if(R)return b&&(R.checkChildren=!0),R.subject;const z={checkChildren:b,subject:new D.x,rootNode:O};return this._elementInfo.set(E,z),this._registerGlobalListeners(z),z.subject}stopMonitoring(c){const b=(0,Ze.fI)(c),E=this._elementInfo.get(b);E&&(E.subject.complete(),this._setClasses(b),this._elementInfo.delete(b),this._removeGlobalListeners(E))}focusVia(c,b,E){const O=(0,Ze.fI)(c);O===this._getDocument().activeElement?this._getClosestElementsInfo(O).forEach(([z,Re])=>this._originChanged(z,b,Re)):(this._setOrigin(b),"function"==typeof O.focus&&O.focus(E))}ngOnDestroy(){this._elementInfo.forEach((c,b)=>this.stopMonitoring(b))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(c){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(c)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:c&&this._isLastInteractionFromInputLabel(c)?"mouse":"program"}_shouldBeAttributedToTouch(c){return 1===this._detectionMode||!!c?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(c,b){c.classList.toggle("cdk-focused",!!b),c.classList.toggle("cdk-touch-focused","touch"===b),c.classList.toggle("cdk-keyboard-focused","keyboard"===b),c.classList.toggle("cdk-mouse-focused","mouse"===b),c.classList.toggle("cdk-program-focused","program"===b)}_setOrigin(c,b=!1){this._ngZone.runOutsideAngular(()=>{this._origin=c,this._originFromTouchInteraction="touch"===c&&b,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(c,b){const E=this._elementInfo.get(b),O=(0,d.sA)(c);!E||!E.checkChildren&&b!==O||this._originChanged(b,this._getFocusOrigin(O),E)}_onBlur(c,b){const E=this._elementInfo.get(b);!E||E.checkChildren&&c.relatedTarget instanceof Node&&b.contains(c.relatedTarget)||(this._setClasses(b),this._emitOrigin(E,null))}_emitOrigin(c,b){c.subject.observers.length&&this._ngZone.run(()=>c.subject.next(b))}_registerGlobalListeners(c){if(!this._platform.isBrowser)return;const b=c.rootNode,E=this._rootNodeFocusListenerCount.get(b)||0;E||this._ngZone.runOutsideAngular(()=>{b.addEventListener("focus",this._rootNodeFocusAndBlurListener,Nt),b.addEventListener("blur",this._rootNodeFocusAndBlurListener,Nt)}),this._rootNodeFocusListenerCount.set(b,E+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Se.R)(this._stopInputModalityDetector)).subscribe(O=>{this._setOrigin(O,!0)}))}_removeGlobalListeners(c){const b=c.rootNode;if(this._rootNodeFocusListenerCount.has(b)){const E=this._rootNodeFocusListenerCount.get(b);E>1?this._rootNodeFocusListenerCount.set(b,E-1):(b.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Nt),b.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Nt),this._rootNodeFocusListenerCount.delete(b))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(c,b,E){this._setClasses(c,b),this._emitOrigin(E,b),this._lastFocusOrigin=b}_getClosestElementsInfo(c){const b=[];return this._elementInfo.forEach((E,O)=>{(O===c||E.checkChildren&&O.contains(c))&&b.push([O,E])}),b}_isLastInteractionFromInputLabel(c){const{_mostRecentTarget:b,mostRecentModality:E}=this._inputModalityDetector;if("mouse"!==E||!b||b===c||"INPUT"!==c.nodeName&&"TEXTAREA"!==c.nodeName||c.disabled)return!1;const O=c.labels;if(O)for(let R=0;R{class h{constructor(c,b){this._elementRef=c,this._focusMonitor=b,this._focusOrigin=null,this.cdkFocusChange=new i.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const c=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(c,1===c.nodeType&&c.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(b=>{this._focusOrigin=b,this.cdkFocusChange.emit(b)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return h.\u0275fac=function(c){return new(c||h)(i.Y36(i.SBq),i.Y36(ht))},h.\u0275dir=i.lG2({type:h,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),h})();const Oe="cdk-high-contrast-black-on-white",Xe="cdk-high-contrast-white-on-black",Y="cdk-high-contrast-active";let oe=(()=>{class h{constructor(c,b){this._platform=c,this._document=b,this._breakpointSubscription=(0,i.f3M)(gt.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const c=this._document.createElement("div");c.style.backgroundColor="rgb(1,2,3)",c.style.position="absolute",this._document.body.appendChild(c);const b=this._document.defaultView||window,E=b&&b.getComputedStyle?b.getComputedStyle(c):null,O=(E&&E.backgroundColor||"").replace(/ /g,"");switch(c.remove(),O){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 c=this._document.body.classList;c.remove(Y,Oe,Xe),this._hasCheckedHighContrastMode=!0;const b=this.getHighContrastMode();1===b?c.add(Y,Oe):2===b&&c.add(Y,Xe)}}}return h.\u0275fac=function(c){return new(c||h)(i.LFG(d.t4),i.LFG(r.K0))},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),x=(()=>{class h{constructor(c){c._applyBodyHighContrastModeCssClasses()}}return h.\u0275fac=function(c){return new(c||h)(i.LFG(oe))},h.\u0275mod=i.oAB({type:h}),h.\u0275inj=i.cJS({imports:[Ne.Q8]}),h})()},445:(Rt,je,a)=>{a.d(je,{Is:()=>F,Lv:()=>w,vT:()=>p});var r=a(4650),i=a(6895);const d=new r.OlP("cdk-dir-doc",{providedIn:"root",factory:function D(){return(0,r.f3M)(i.K0)}}),u=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function T(W){const ae=W?.toLowerCase()||"";return"auto"===ae&&typeof navigator<"u"&&navigator?.language?u.test(navigator.language)?"rtl":"ltr":"rtl"===ae?"rtl":"ltr"}let F=(()=>{class W{constructor(se){if(this.value="ltr",this.change=new r.vpe,se){const me=se.documentElement?se.documentElement.dir:null;this.value=T((se.body?se.body.dir:null)||me||"ltr")}}ngOnDestroy(){this.change.complete()}}return W.\u0275fac=function(se){return new(se||W)(r.LFG(d,8))},W.\u0275prov=r.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),w=(()=>{class W{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new r.vpe}get dir(){return this._dir}set dir(se){const le=this._dir;this._dir=T(se),this._rawDir=se,le!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}return W.\u0275fac=function(se){return new(se||W)},W.\u0275dir=r.lG2({type:W,selectors:[["","dir",""]],hostVars:1,hostBindings:function(se,le){2&se&&r.uIk("dir",le._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[r._Bn([{provide:F,useExisting:W}])]}),W})(),p=(()=>{class W{}return W.\u0275fac=function(se){return new(se||W)},W.\u0275mod=r.oAB({type:W}),W.\u0275inj=r.cJS({}),W})()},1281:(Rt,je,a)=>{a.d(je,{Eq:()=>u,HM:()=>T,Ig:()=>i,du:()=>w,fI:()=>F,su:()=>d,t6:()=>D});var r=a(4650);function i(p){return null!=p&&"false"!=`${p}`}function d(p,W=0){return D(p)?Number(p):W}function D(p){return!isNaN(parseFloat(p))&&!isNaN(Number(p))}function u(p){return Array.isArray(p)?p:[p]}function T(p){return null==p?"":"string"==typeof p?p:`${p}px`}function F(p){return p instanceof r.SBq?p.nativeElement:p}function w(p,W=/\s+/){const ae=[];if(null!=p){const se=Array.isArray(p)?p:`${p}`.split(W);for(const le of se){const me=`${le}`.trim();me&&ae.push(me)}}return ae}},5017:(Rt,je,a)=>{a.d(je,{A8:()=>ae,Ov:()=>p,Z9:()=>u,eX:()=>w,k:()=>se,o2:()=>D,yy:()=>F});var r=a(4033),i=a(7579),d=a(4650);class D{}function u(le){return le&&"function"==typeof le.connect&&!(le instanceof r.c)}class F{applyChanges(me,fe,Se,Ze,Ne){me.forEachOperation((gt,N,B)=>{let X,ie;if(null==gt.previousIndex){const pe=Se(gt,N,B);X=fe.createEmbeddedView(pe.templateRef,pe.context,pe.index),ie=1}else null==B?(fe.remove(N),ie=3):(X=fe.get(N),fe.move(X,B),ie=2);Ne&&Ne({context:X?.context,operation:ie,record:gt})})}detach(){}}class w{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(me,fe,Se,Ze,Ne){me.forEachOperation((gt,N,B)=>{let X,ie;null==gt.previousIndex?(X=this._insertView(()=>Se(gt,N,B),B,fe,Ze(gt)),ie=X?1:0):null==B?(this._detachAndCacheView(N,fe),ie=3):(X=this._moveView(N,B,fe,Ze(gt)),ie=2),Ne&&Ne({context:X?.context,operation:ie,record:gt})})}detach(){for(const me of this._viewCache)me.destroy();this._viewCache=[]}_insertView(me,fe,Se,Ze){const Ne=this._insertViewFromCache(fe,Se);if(Ne)return void(Ne.context.$implicit=Ze);const gt=me();return Se.createEmbeddedView(gt.templateRef,gt.context,gt.index)}_detachAndCacheView(me,fe){const Se=fe.detach(me);this._maybeCacheView(Se,fe)}_moveView(me,fe,Se,Ze){const Ne=Se.get(me);return Se.move(Ne,fe),Ne.context.$implicit=Ze,Ne}_maybeCacheView(me,fe){if(this._viewCache.lengththis._markSelected(Ne)):this._markSelected(fe[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...me){this._verifyValueAssignment(me),me.forEach(Se=>this._markSelected(Se));const fe=this._hasQueuedChanges();return this._emitChangeEvent(),fe}deselect(...me){this._verifyValueAssignment(me),me.forEach(Se=>this._unmarkSelected(Se));const fe=this._hasQueuedChanges();return this._emitChangeEvent(),fe}setSelection(...me){this._verifyValueAssignment(me);const fe=this.selected,Se=new Set(me);me.forEach(Ne=>this._markSelected(Ne)),fe.filter(Ne=>!Se.has(Ne)).forEach(Ne=>this._unmarkSelected(Ne));const Ze=this._hasQueuedChanges();return this._emitChangeEvent(),Ze}toggle(me){return this.isSelected(me)?this.deselect(me):this.select(me)}clear(me=!0){this._unmarkAll();const fe=this._hasQueuedChanges();return me&&this._emitChangeEvent(),fe}isSelected(me){if(this.compareWith){for(const fe of this._selection)if(this.compareWith(fe,me))return!0;return!1}return this._selection.has(me)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(me){this._multiple&&this.selected&&this._selected.sort(me)}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(me){this.isSelected(me)||(this._multiple||this._unmarkAll(),this.isSelected(me)||this._selection.add(me),this._emitChanges&&this._selectedToEmit.push(me))}_unmarkSelected(me){this.isSelected(me)&&(this._selection.delete(me),this._emitChanges&&this._deselectedToEmit.push(me))}_unmarkAll(){this.isEmpty()||this._selection.forEach(me=>this._unmarkSelected(me))}_verifyValueAssignment(me){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let ae=(()=>{class le{constructor(){this._listeners=[]}notify(fe,Se){for(let Ze of this._listeners)Ze(fe,Se)}listen(fe){return this._listeners.push(fe),()=>{this._listeners=this._listeners.filter(Se=>fe!==Se)}}ngOnDestroy(){this._listeners=[]}}return le.\u0275fac=function(fe){return new(fe||le)},le.\u0275prov=d.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();const se=new d.OlP("_ViewRepeater")},1206:(Rt,je,a)=>{a.d(je,{Zt:()=>c,Wj:()=>xt,_t:()=>b,bA:()=>Qe});var r=a(4650),i=a(6895),d=a(4098),D=a(3353),u=a(1281),T=a(2687),F=a(7579),w=a(727),p=a(4986),W=a(5963),se=a(6406),le=a(9751),me=a(6451),fe=a(2722),Se=a(8675),Ze=a(4004),Ne=a(5698),gt=a(8505),N=a(3900),B=a(445);function X(E,O,R){for(let z in O)if(O.hasOwnProperty(z)){const Re=O[z];Re?E.setProperty(z,Re,R?.has(z)?"important":""):E.removeProperty(z)}return E}function ie(E,O){const R=O?"":"none";X(E.style,{"touch-action":O?"":"none","-webkit-user-drag":O?"":"none","-webkit-tap-highlight-color":O?"":"transparent","user-select":R,"-ms-user-select":R,"-webkit-user-select":R,"-moz-user-select":R})}function pe(E,O,R){X(E.style,{position:O?"":"fixed",top:O?"":"0",opacity:O?"":"0",left:O?"":"-999em"},R)}function we(E,O){return O&&"none"!=O?E+" "+O:E}function ne(E){const O=E.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(E)*O}function Ve(E,O){return E.getPropertyValue(O).split(",").map(z=>z.trim())}function Je(E){const O=E.getBoundingClientRect();return{top:O.top,right:O.right,bottom:O.bottom,left:O.left,width:O.width,height:O.height,x:O.x,y:O.y}}function pt(E,O,R){const{top:z,bottom:Re,left:nt,right:wt}=E;return R>=z&&R<=Re&&O>=nt&&O<=wt}function Ge(E,O,R){E.top+=O,E.bottom=E.top+E.height,E.left+=R,E.right=E.left+E.width}function At(E,O,R,z){const{top:Re,right:nt,bottom:wt,left:Tt,width:jt,height:en}=E,cn=jt*O,tt=en*O;return z>Re-tt&&zTt-cn&&R{this.positions.set(R,{scrollPosition:{top:R.scrollTop,left:R.scrollLeft},clientRect:Je(R)})})}handleScroll(O){const R=(0,D.sA)(O),z=this.positions.get(R);if(!z)return null;const Re=z.scrollPosition;let nt,wt;if(R===this._document){const en=this.getViewportScrollPosition();nt=en.top,wt=en.left}else nt=R.scrollTop,wt=R.scrollLeft;const Tt=Re.top-nt,jt=Re.left-wt;return this.positions.forEach((en,cn)=>{en.clientRect&&R!==cn&&R.contains(cn)&&Ge(en.clientRect,Tt,jt)}),Re.top=nt,Re.left=wt,{top:Tt,left:jt}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function _t(E){const O=E.cloneNode(!0),R=O.querySelectorAll("[id]"),z=E.nodeName.toLowerCase();O.removeAttribute("id");for(let Re=0;Re{if(this.beforeStarted.next(),this._handles.length){const jt=this._getTargetHandle(Tt);jt&&!this._disabledHandles.has(jt)&&!this.disabled&&this._initializeDragSequence(jt,Tt)}else this.disabled||this._initializeDragSequence(this._rootElement,Tt)},this._pointerMove=Tt=>{const jt=this._getPointerPositionOnPage(Tt);if(!this._hasStartedDragging){if(Math.abs(jt.x-this._pickupPositionOnPage.x)+Math.abs(jt.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const ze=Date.now()>=this._dragStartTime+this._getDragStartDelay(Tt),Ct=this._dropContainer;if(!ze)return void this._endDragSequence(Tt);(!Ct||!Ct.isDragging()&&!Ct.isReceiving())&&(Tt.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Tt)))}return}Tt.preventDefault();const en=this._getConstrainedPointerPosition(jt);if(this._hasMoved=!0,this._lastKnownPointerPosition=jt,this._updatePointerDirectionDelta(en),this._dropContainer)this._updateActiveDropContainer(en,jt);else{const cn=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,tt=this._activeTransform;tt.x=en.x-cn.x+this._passiveTransform.x,tt.y=en.y-cn.y+this._passiveTransform.y,this._applyRootElementTransform(tt.x,tt.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:en,event:Tt,distance:this._getDragDistance(en),delta:this._pointerDirectionDelta})})},this._pointerUp=Tt=>{this._endDragSequence(Tt)},this._nativeDragStart=Tt=>{if(this._handles.length){const jt=this._getTargetHandle(Tt);jt&&!this._disabledHandles.has(jt)&&!this.disabled&&Tt.preventDefault()}else this.disabled||Tt.preventDefault()},this.withRootElement(O).withParent(R.parentDragRef||null),this._parentPositions=new st(z),wt.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(O){const R=(0,u.Ig)(O);R!==this._disabled&&(this._disabled=R,this._toggleNativeDragInteractions(),this._handles.forEach(z=>ie(z,R)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(O){this._handles=O.map(z=>(0,u.fI)(z)),this._handles.forEach(z=>ie(z,this.disabled)),this._toggleNativeDragInteractions();const R=new Set;return this._disabledHandles.forEach(z=>{this._handles.indexOf(z)>-1&&R.add(z)}),this._disabledHandles=R,this}withPreviewTemplate(O){return this._previewTemplate=O,this}withPlaceholderTemplate(O){return this._placeholderTemplate=O,this}withRootElement(O){const R=(0,u.fI)(O);return R!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{R.addEventListener("mousedown",this._pointerDown,ye),R.addEventListener("touchstart",this._pointerDown,de),R.addEventListener("dragstart",this._nativeDragStart,ye)}),this._initialTransform=void 0,this._rootElement=R),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(O){return this._boundaryElement=O?(0,u.fI)(O):null,this._resizeSubscription.unsubscribe(),O&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(O){return this._parentDragRef=O,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.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(O){!this._disabledHandles.has(O)&&this._handles.indexOf(O)>-1&&(this._disabledHandles.add(O),ie(O,!0))}enableHandle(O){this._disabledHandles.has(O)&&(this._disabledHandles.delete(O),ie(O,this.disabled))}withDirection(O){return this._direction=O,this}_withDropContainer(O){this._dropContainer=O}getFreeDragPosition(){const O=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:O.x,y:O.y}}setFreeDragPosition(O){return this._activeTransform={x:0,y:0},this._passiveTransform.x=O.x,this._passiveTransform.y=O.y,this._dropContainer||this._applyRootElementTransform(O.x,O.y),this}withPreviewContainer(O){return this._previewContainer=O,this}_sortFromLastPointerPosition(){const O=this._lastKnownPointerPosition;O&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(O),O)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(O){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:O}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(O),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const R=this._getPointerPositionOnPage(O);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(R),dropPoint:R,event:O})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(O){it(O)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const R=this._dropContainer;if(R){const z=this._rootElement,Re=z.parentNode,nt=this._placeholder=this._createPlaceholderElement(),wt=this._anchor=this._anchor||this._document.createComment(""),Tt=this._getShadowRoot();Re.insertBefore(wt,z),this._initialTransform=z.style.transform||"",this._preview=this._createPreviewElement(),pe(z,!1,Dt),this._document.body.appendChild(Re.replaceChild(nt,z)),this._getPreviewInsertionPoint(Re,Tt).appendChild(this._preview),this.started.next({source:this,event:O}),R.start(),this._initialContainer=R,this._initialIndex=R.getItemIndex(this)}else this.started.next({source:this,event:O}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(R?R.getScrollableParents():[])}_initializeDragSequence(O,R){this._parentDragRef&&R.stopPropagation();const z=this.isDragging(),Re=it(R),nt=!Re&&0!==R.button,wt=this._rootElement,Tt=(0,D.sA)(R),jt=!Re&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),en=Re?(0,T.yG)(R):(0,T.X6)(R);if(Tt&&Tt.draggable&&"mousedown"===R.type&&R.preventDefault(),z||nt||jt||en)return;if(this._handles.length){const ot=wt.style;this._rootElementTapHighlight=ot.webkitTapHighlightColor||"",ot.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(ot=>this._updateOnScroll(ot)),this._boundaryElement&&(this._boundaryRect=Je(this._boundaryElement));const cn=this._previewTemplate;this._pickupPositionInElement=cn&&cn.template&&!cn.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,O,R);const tt=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(R);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:tt.x,y:tt.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,R)}_cleanupDragArtifacts(O){pe(this._rootElement,!0,Dt),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 R=this._dropContainer,z=R.getItemIndex(this),Re=this._getPointerPositionOnPage(O),nt=this._getDragDistance(Re),wt=R._isOverContainer(Re.x,Re.y);this.ended.next({source:this,distance:nt,dropPoint:Re,event:O}),this.dropped.next({item:this,currentIndex:z,previousIndex:this._initialIndex,container:R,previousContainer:this._initialContainer,isPointerOverContainer:wt,distance:nt,dropPoint:Re,event:O}),R.drop(this,z,this._initialIndex,this._initialContainer,wt,nt,Re,O),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:O,y:R},{x:z,y:Re}){let nt=this._initialContainer._getSiblingContainerFromPosition(this,O,R);!nt&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(O,R)&&(nt=this._initialContainer),nt&&nt!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=nt,this._dropContainer.enter(this,O,R,nt===this._initialContainer&&nt.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:nt,currentIndex:nt.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(z,Re),this._dropContainer._sortItem(this,O,R,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(O,R):this._applyPreviewTransform(O-this._pickupPositionInElement.x,R-this._pickupPositionInElement.y))}_createPreviewElement(){const O=this._previewTemplate,R=this.previewClass,z=O?O.template:null;let Re;if(z&&O){const nt=O.matchSize?this._initialClientRect:null,wt=O.viewContainer.createEmbeddedView(z,O.context);wt.detectChanges(),Re=ue(wt,this._document),this._previewRef=wt,O.matchSize?Ke(Re,nt):Re.style.transform=$e(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else Re=_t(this._rootElement),Ke(Re,this._initialClientRect),this._initialTransform&&(Re.style.transform=this._initialTransform);return X(Re.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},Dt),ie(Re,!1),Re.classList.add("cdk-drag-preview"),Re.setAttribute("dir",this._direction),R&&(Array.isArray(R)?R.forEach(nt=>Re.classList.add(nt)):Re.classList.add(R)),Re}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const O=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(O.left,O.top);const R=function ge(E){const O=getComputedStyle(E),R=Ve(O,"transition-property"),z=R.find(Tt=>"transform"===Tt||"all"===Tt);if(!z)return 0;const Re=R.indexOf(z),nt=Ve(O,"transition-duration"),wt=Ve(O,"transition-delay");return ne(nt[Re])+ne(wt[Re])}(this._preview);return 0===R?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(z=>{const Re=wt=>{(!wt||(0,D.sA)(wt)===this._preview&&"transform"===wt.propertyName)&&(this._preview?.removeEventListener("transitionend",Re),z(),clearTimeout(nt))},nt=setTimeout(Re,1.5*R);this._preview.addEventListener("transitionend",Re)}))}_createPlaceholderElement(){const O=this._placeholderTemplate,R=O?O.template:null;let z;return R?(this._placeholderRef=O.viewContainer.createEmbeddedView(R,O.context),this._placeholderRef.detectChanges(),z=ue(this._placeholderRef,this._document)):z=_t(this._rootElement),z.style.pointerEvents="none",z.classList.add("cdk-drag-placeholder"),z}_getPointerPositionInElement(O,R,z){const Re=R===this._rootElement?null:R,nt=Re?Re.getBoundingClientRect():O,wt=it(z)?z.targetTouches[0]:z,Tt=this._getViewportScrollPosition();return{x:nt.left-O.left+(wt.pageX-nt.left-Tt.left),y:nt.top-O.top+(wt.pageY-nt.top-Tt.top)}}_getPointerPositionOnPage(O){const R=this._getViewportScrollPosition(),z=it(O)?O.touches[0]||O.changedTouches[0]||{pageX:0,pageY:0}:O,Re=z.pageX-R.left,nt=z.pageY-R.top;if(this._ownerSVGElement){const wt=this._ownerSVGElement.getScreenCTM();if(wt){const Tt=this._ownerSVGElement.createSVGPoint();return Tt.x=Re,Tt.y=nt,Tt.matrixTransform(wt.inverse())}}return{x:Re,y:nt}}_getConstrainedPointerPosition(O){const R=this._dropContainer?this._dropContainer.lockAxis:null;let{x:z,y:Re}=this.constrainPosition?this.constrainPosition(O,this,this._initialClientRect,this._pickupPositionInElement):O;if("x"===this.lockAxis||"x"===R?Re=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===R)&&(z=this._pickupPositionOnPage.x),this._boundaryRect){const{x:nt,y:wt}=this._pickupPositionInElement,Tt=this._boundaryRect,{width:jt,height:en}=this._getPreviewRect(),cn=Tt.top+wt,tt=Tt.bottom-(en-wt);z=ce(z,Tt.left+nt,Tt.right-(jt-nt)),Re=ce(Re,cn,tt)}return{x:z,y:Re}}_updatePointerDirectionDelta(O){const{x:R,y:z}=O,Re=this._pointerDirectionDelta,nt=this._pointerPositionAtLastDirectionChange,wt=Math.abs(R-nt.x),Tt=Math.abs(z-nt.y);return wt>this._config.pointerDirectionChangeThreshold&&(Re.x=R>nt.x?1:-1,nt.x=R),Tt>this._config.pointerDirectionChangeThreshold&&(Re.y=z>nt.y?1:-1,nt.y=z),Re}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const O=this._handles.length>0||!this.isDragging();O!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=O,ie(this._rootElement,O))}_removeRootElementListeners(O){O.removeEventListener("mousedown",this._pointerDown,ye),O.removeEventListener("touchstart",this._pointerDown,de),O.removeEventListener("dragstart",this._nativeDragStart,ye)}_applyRootElementTransform(O,R){const z=$e(O,R),Re=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=Re.transform&&"none"!=Re.transform?Re.transform:""),Re.transform=we(z,this._initialTransform)}_applyPreviewTransform(O,R){const z=this._previewTemplate?.template?void 0:this._initialTransform,Re=$e(O,R);this._preview.style.transform=we(Re,z)}_getDragDistance(O){const R=this._pickupPositionOnPage;return R?{x:O.x-R.x,y:O.y-R.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:O,y:R}=this._passiveTransform;if(0===O&&0===R||this.isDragging()||!this._boundaryElement)return;const z=this._rootElement.getBoundingClientRect(),Re=this._boundaryElement.getBoundingClientRect();if(0===Re.width&&0===Re.height||0===z.width&&0===z.height)return;const nt=Re.left-z.left,wt=z.right-Re.right,Tt=Re.top-z.top,jt=z.bottom-Re.bottom;Re.width>z.width?(nt>0&&(O+=nt),wt>0&&(O-=wt)):O=0,Re.height>z.height?(Tt>0&&(R+=Tt),jt>0&&(R-=jt)):R=0,(O!==this._passiveTransform.x||R!==this._passiveTransform.y)&&this.setFreeDragPosition({y:R,x:O})}_getDragStartDelay(O){const R=this.dragStartDelay;return"number"==typeof R?R:it(O)?R.touch:R?R.mouse:0}_updateOnScroll(O){const R=this._parentPositions.handleScroll(O);if(R){const z=(0,D.sA)(O);this._boundaryRect&&z!==this._boundaryElement&&z.contains(this._boundaryElement)&&Ge(this._boundaryRect,R.top,R.left),this._pickupPositionOnPage.x+=R.left,this._pickupPositionOnPage.y+=R.top,this._dropContainer||(this._activeTransform.x-=R.left,this._activeTransform.y-=R.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,D.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(O,R){const z=this._previewContainer||"global";if("parent"===z)return O;if("global"===z){const Re=this._document;return R||Re.fullscreenElement||Re.webkitFullscreenElement||Re.mozFullScreenElement||Re.msFullscreenElement||Re.body}return(0,u.fI)(z)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(O){return this._handles.find(R=>O.target&&(O.target===R||R.contains(O.target)))}}function $e(E,O){return`translate3d(${Math.round(E)}px, ${Math.round(O)}px, 0)`}function ce(E,O,R){return Math.max(O,Math.min(R,E))}function it(E){return"t"===E.type[0]}function ue(E,O){const R=E.rootNodes;if(1===R.length&&R[0].nodeType===O.ELEMENT_NODE)return R[0];const z=O.createElement("div");return R.forEach(Re=>z.appendChild(Re)),z}function Ke(E,O){E.style.width=`${O.width}px`,E.style.height=`${O.height}px`,E.style.transform=$e(O.left,O.top)}function Qe(E,O,R){const z=Qt(O,E.length-1),Re=Qt(R,E.length-1);if(z===Re)return;const nt=E[z],wt=Re0)return null;const Tt="horizontal"===this.orientation,jt=nt.findIndex(tn=>tn.drag===O),en=nt[wt],tt=en.clientRect,ot=jt>wt?1:-1,ze=this._getItemOffsetPx(nt[jt].clientRect,tt,ot),Ct=this._getSiblingOffsetPx(jt,nt,ot),Ut=nt.slice();return Qe(nt,jt,wt),nt.forEach((tn,gn)=>{if(Ut[gn]===tn)return;const vn=tn.drag===O,yn=vn?ze:Ct,Hn=vn?O.getPlaceholderElement():tn.drag.getRootElement();tn.offset+=yn,Tt?(Hn.style.transform=we(`translate3d(${Math.round(tn.offset)}px, 0, 0)`,tn.initialTransform),Ge(tn.clientRect,0,yn)):(Hn.style.transform=we(`translate3d(0, ${Math.round(tn.offset)}px, 0)`,tn.initialTransform),Ge(tn.clientRect,yn,0))}),this._previousSwap.overlaps=pt(tt,R,z),this._previousSwap.drag=en.drag,this._previousSwap.delta=Tt?Re.x:Re.y,{previousIndex:jt,currentIndex:wt}}enter(O,R,z,Re){const nt=null==Re||Re<0?this._getItemIndexFromPointerPosition(O,R,z):Re,wt=this._activeDraggables,Tt=wt.indexOf(O),jt=O.getPlaceholderElement();let en=wt[nt];if(en===O&&(en=wt[nt+1]),!en&&(null==nt||-1===nt||nt-1&&wt.splice(Tt,1),en&&!this._dragDropRegistry.isDragging(en)){const cn=en.getRootElement();cn.parentElement.insertBefore(jt,cn),wt.splice(nt,0,O)}else(0,u.fI)(this._element).appendChild(jt),wt.push(O);jt.style.transform="",this._cacheItemPositions()}withItems(O){this._activeDraggables=O.slice(),this._cacheItemPositions()}withSortPredicate(O){this._sortPredicate=O}reset(){this._activeDraggables.forEach(O=>{const R=O.getRootElement();if(R){const z=this._itemPositions.find(Re=>Re.drag===O)?.initialTransform;R.style.transform=z||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(O){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(z=>z.drag===O)}updateOnScroll(O,R){this._itemPositions.forEach(({clientRect:z})=>{Ge(z,O,R)}),this._itemPositions.forEach(({drag:z})=>{this._dragDropRegistry.isDragging(z)&&z._sortFromLastPointerPosition()})}_cacheItemPositions(){const O="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(R=>{const z=R.getVisibleElement();return{drag:R,offset:0,initialTransform:z.style.transform||"",clientRect:Je(z)}}).sort((R,z)=>O?R.clientRect.left-z.clientRect.left:R.clientRect.top-z.clientRect.top)}_getItemOffsetPx(O,R,z){const Re="horizontal"===this.orientation;let nt=Re?R.left-O.left:R.top-O.top;return-1===z&&(nt+=Re?R.width-O.width:R.height-O.height),nt}_getSiblingOffsetPx(O,R,z){const Re="horizontal"===this.orientation,nt=R[O].clientRect,wt=R[O+-1*z];let Tt=nt[Re?"width":"height"]*z;if(wt){const jt=Re?"left":"top",en=Re?"right":"bottom";-1===z?Tt-=wt.clientRect[jt]-nt[en]:Tt+=nt[jt]-wt.clientRect[en]}return Tt}_shouldEnterAsFirstChild(O,R){if(!this._activeDraggables.length)return!1;const z=this._itemPositions,Re="horizontal"===this.orientation;if(z[0].drag!==this._activeDraggables[0]){const wt=z[z.length-1].clientRect;return Re?O>=wt.right:R>=wt.bottom}{const wt=z[0].clientRect;return Re?O<=wt.left:R<=wt.top}}_getItemIndexFromPointerPosition(O,R,z,Re){const nt="horizontal"===this.orientation,wt=this._itemPositions.findIndex(({drag:Tt,clientRect:jt})=>{if(Tt===O)return!1;if(Re){const en=nt?Re.x:Re.y;if(Tt===this._previousSwap.drag&&this._previousSwap.overlaps&&en===this._previousSwap.delta)return!1}return nt?R>=Math.floor(jt.left)&&R=Math.floor(jt.top)&&z!0,this.sortPredicate=()=>!0,this.beforeStarted=new F.x,this.entered=new F.x,this.exited=new F.x,this.dropped=new F.x,this.sorted=new F.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=w.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new F.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function ae(E=0,O=p.z){return E<0&&(E=0),(0,W.H)(E,E,O)}(0,se.Z).pipe((0,fe.R)(this._stopScrollTimers)).subscribe(()=>{const wt=this._scrollNode,Tt=this.autoScrollStep;1===this._verticalScrollDirection?wt.scrollBy(0,-Tt):2===this._verticalScrollDirection&&wt.scrollBy(0,Tt),1===this._horizontalScrollDirection?wt.scrollBy(-Tt,0):2===this._horizontalScrollDirection&&wt.scrollBy(Tt,0)})},this.element=(0,u.fI)(O),this._document=z,this.withScrollableParents([this.element]),R.registerDropContainer(this),this._parentPositions=new st(z),this._sortStrategy=new Wt(this.element,R),this._sortStrategy.withSortPredicate((wt,Tt)=>this.sortPredicate(wt,Tt,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(O,R,z,Re){this._draggingStarted(),null==Re&&this.sortingDisabled&&(Re=this._draggables.indexOf(O)),this._sortStrategy.enter(O,R,z,Re),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:O,container:this,currentIndex:this.getItemIndex(O)})}exit(O){this._reset(),this.exited.next({item:O,container:this})}drop(O,R,z,Re,nt,wt,Tt,jt={}){this._reset(),this.dropped.next({item:O,currentIndex:R,previousIndex:z,container:this,previousContainer:Re,isPointerOverContainer:nt,distance:wt,dropPoint:Tt,event:jt})}withItems(O){const R=this._draggables;return this._draggables=O,O.forEach(z=>z._withDropContainer(this)),this.isDragging()&&(R.filter(Re=>Re.isDragging()).every(Re=>-1===O.indexOf(Re))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(O){return this._sortStrategy.direction=O,this}connectedTo(O){return this._siblings=O.slice(),this}withOrientation(O){return this._sortStrategy.orientation=O,this}withScrollableParents(O){const R=(0,u.fI)(this.element);return this._scrollableElements=-1===O.indexOf(R)?[R,...O]:O.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(O){return this._isDragging?this._sortStrategy.getItemIndex(O):this._draggables.indexOf(O)}isReceiving(){return this._activeSiblings.size>0}_sortItem(O,R,z,Re){if(this.sortingDisabled||!this._clientRect||!At(this._clientRect,.05,R,z))return;const nt=this._sortStrategy.sort(O,R,z,Re);nt&&this.sorted.next({previousIndex:nt.previousIndex,currentIndex:nt.currentIndex,container:this,item:O})}_startScrollingIfNecessary(O,R){if(this.autoScrollDisabled)return;let z,Re=0,nt=0;if(this._parentPositions.positions.forEach((wt,Tt)=>{Tt===this._document||!wt.clientRect||z||At(wt.clientRect,.05,O,R)&&([Re,nt]=function J(E,O,R,z){const Re=S(O,z),nt=M(O,R);let wt=0,Tt=0;if(Re){const jt=E.scrollTop;1===Re?jt>0&&(wt=1):E.scrollHeight-jt>E.clientHeight&&(wt=2)}if(nt){const jt=E.scrollLeft;1===nt?jt>0&&(Tt=1):E.scrollWidth-jt>E.clientWidth&&(Tt=2)}return[wt,Tt]}(Tt,wt.clientRect,O,R),(Re||nt)&&(z=Tt))}),!Re&&!nt){const{width:wt,height:Tt}=this._viewportRuler.getViewportSize(),jt={width:wt,height:Tt,top:0,right:wt,bottom:Tt,left:0};Re=S(jt,R),nt=M(jt,O),z=window}z&&(Re!==this._verticalScrollDirection||nt!==this._horizontalScrollDirection||z!==this._scrollNode)&&(this._verticalScrollDirection=Re,this._horizontalScrollDirection=nt,this._scrollNode=z,(Re||nt)&&z?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const O=(0,u.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=O.msScrollSnapType||O.scrollSnapType||"",O.scrollSnapType=O.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const O=(0,u.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(O).clientRect}_reset(){this._isDragging=!1;const O=(0,u.fI)(this.element).style;O.scrollSnapType=O.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(R=>R._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(O,R){return null!=this._clientRect&&pt(this._clientRect,O,R)}_getSiblingContainerFromPosition(O,R,z){return this._siblings.find(Re=>Re._canReceive(O,R,z))}_canReceive(O,R,z){if(!this._clientRect||!pt(this._clientRect,R,z)||!this.enterPredicate(O,this))return!1;const Re=this._getShadowRoot().elementFromPoint(R,z);if(!Re)return!1;const nt=(0,u.fI)(this.element);return Re===nt||nt.contains(Re)}_startReceiving(O,R){const z=this._activeSiblings;!z.has(O)&&R.every(Re=>this.enterPredicate(Re,this)||this._draggables.indexOf(Re)>-1)&&(z.add(O),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(O){this._activeSiblings.delete(O),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(O=>{if(this.isDragging()){const R=this._parentPositions.handleScroll(O);R&&this._sortStrategy.updateOnScroll(R.top,R.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const O=(0,D.kV)((0,u.fI)(this.element));this._cachedShadowRoot=O||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const O=this._sortStrategy.getActiveItemsSnapshot().filter(R=>R.isDragging());this._siblings.forEach(R=>R._startReceiving(this,O))}}function S(E,O){const{top:R,bottom:z,height:Re}=E,nt=.05*Re;return O>=R-nt&&O<=R+nt?1:O>=z-nt&&O<=z+nt?2:0}function M(E,O){const{left:R,right:z,width:Re}=E,nt=.05*Re;return O>=R-nt&&O<=R+nt?1:O>=z-nt&&O<=z+nt?2:0}const Ue=(0,D.i$)({passive:!1,capture:!0});let Ae=(()=>{class E{constructor(R,z){this._ngZone=R,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=Re=>Re.isDragging(),this.pointerMove=new F.x,this.pointerUp=new F.x,this.scroll=new F.x,this._preventDefaultWhileDragging=Re=>{this._activeDragInstances.length>0&&Re.preventDefault()},this._persistentTouchmoveListener=Re=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&Re.preventDefault(),this.pointerMove.next(Re))},this._document=z}registerDropContainer(R){this._dropInstances.has(R)||this._dropInstances.add(R)}registerDragItem(R){this._dragInstances.add(R),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Ue)})}removeDropContainer(R){this._dropInstances.delete(R)}removeDragItem(R){this._dragInstances.delete(R),this.stopDragging(R),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Ue)}startDragging(R,z){if(!(this._activeDragInstances.indexOf(R)>-1)&&(this._activeDragInstances.push(R),1===this._activeDragInstances.length)){const Re=z.type.startsWith("touch");this._globalListeners.set(Re?"touchend":"mouseup",{handler:nt=>this.pointerUp.next(nt),options:!0}).set("scroll",{handler:nt=>this.scroll.next(nt),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Ue}),Re||this._globalListeners.set("mousemove",{handler:nt=>this.pointerMove.next(nt),options:Ue}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((nt,wt)=>{this._document.addEventListener(wt,nt.handler,nt.options)})})}}stopDragging(R){const z=this._activeDragInstances.indexOf(R);z>-1&&(this._activeDragInstances.splice(z,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(R){return this._activeDragInstances.indexOf(R)>-1}scrolled(R){const z=[this.scroll];return R&&R!==this._document&&z.push(new le.y(Re=>this._ngZone.runOutsideAngular(()=>{const wt=Tt=>{this._activeDragInstances.length&&Re.next(Tt)};return R.addEventListener("scroll",wt,!0),()=>{R.removeEventListener("scroll",wt,!0)}}))),(0,me.T)(...z)}ngOnDestroy(){this._dragInstances.forEach(R=>this.removeDragItem(R)),this._dropInstances.forEach(R=>this.removeDropContainer(R)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((R,z)=>{this._document.removeEventListener(z,R.handler,R.options)}),this._globalListeners.clear()}}return E.\u0275fac=function(R){return new(R||E)(r.LFG(r.R0b),r.LFG(i.K0))},E.\u0275prov=r.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const Ee={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let De=(()=>{class E{constructor(R,z,Re,nt){this._document=R,this._ngZone=z,this._viewportRuler=Re,this._dragDropRegistry=nt}createDrag(R,z=Ee){return new Fe(R,z,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(R){return new te(R,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return E.\u0275fac=function(R){return new(R||E)(r.LFG(i.K0),r.LFG(r.R0b),r.LFG(d.rL),r.LFG(Ae))},E.\u0275prov=r.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const ft=new r.OlP("CDK_DRAG_PARENT"),vt=new r.OlP("CdkDropListGroup"),Bt=new r.OlP("CDK_DRAG_CONFIG");let Nt=0;const ht=new r.OlP("CdkDropList");let xt=(()=>{class E{constructor(R,z,Re,nt,wt,Tt,jt){this.element=R,this._changeDetectorRef=Re,this._scrollDispatcher=nt,this._dir=wt,this._group=Tt,this._destroyed=new F.x,this.connectedTo=[],this.id="cdk-drop-list-"+Nt++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new r.vpe,this.entered=new r.vpe,this.exited=new r.vpe,this.sorted=new r.vpe,this._unsortedItems=new Set,this._dropListRef=z.createDropList(R),this._dropListRef.data=this,jt&&this._assignDefaults(jt),this._dropListRef.enterPredicate=(en,cn)=>this.enterPredicate(en.data,cn.data),this._dropListRef.sortPredicate=(en,cn,tt)=>this.sortPredicate(en,cn.data,tt.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),E._dropLists.push(this),Tt&&Tt._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(R){this._dropListRef.disabled=this._disabled=(0,u.Ig)(R)}addItem(R){this._unsortedItems.add(R),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(R){this._unsortedItems.delete(R),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((R,z)=>R._dragRef.getVisibleElement().compareDocumentPosition(z._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const R=E._dropLists.indexOf(this);R>-1&&E._dropLists.splice(R,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(R){this._dir&&this._dir.change.pipe((0,Se.O)(this._dir.value),(0,fe.R)(this._destroyed)).subscribe(z=>R.withDirection(z)),R.beforeStarted.subscribe(()=>{const z=(0,u.Eq)(this.connectedTo).map(Re=>"string"==typeof Re?E._dropLists.find(wt=>wt.id===Re):Re);if(this._group&&this._group._items.forEach(Re=>{-1===z.indexOf(Re)&&z.push(Re)}),!this._scrollableParentsResolved){const Re=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(nt=>nt.getElementRef().nativeElement);this._dropListRef.withScrollableParents(Re),this._scrollableParentsResolved=!0}R.disabled=this.disabled,R.lockAxis=this.lockAxis,R.sortingDisabled=(0,u.Ig)(this.sortingDisabled),R.autoScrollDisabled=(0,u.Ig)(this.autoScrollDisabled),R.autoScrollStep=(0,u.su)(this.autoScrollStep,2),R.connectedTo(z.filter(Re=>Re&&Re!==this).map(Re=>Re._dropListRef)).withOrientation(this.orientation)})}_handleEvents(R){R.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),R.entered.subscribe(z=>{this.entered.emit({container:this,item:z.item.data,currentIndex:z.currentIndex})}),R.exited.subscribe(z=>{this.exited.emit({container:this,item:z.item.data}),this._changeDetectorRef.markForCheck()}),R.sorted.subscribe(z=>{this.sorted.emit({previousIndex:z.previousIndex,currentIndex:z.currentIndex,container:this,item:z.item.data})}),R.dropped.subscribe(z=>{this.dropped.emit({previousIndex:z.previousIndex,currentIndex:z.currentIndex,previousContainer:z.previousContainer.data,container:z.container.data,item:z.item.data,isPointerOverContainer:z.isPointerOverContainer,distance:z.distance,dropPoint:z.dropPoint,event:z.event}),this._changeDetectorRef.markForCheck()})}_assignDefaults(R){const{lockAxis:z,draggingDisabled:Re,sortingDisabled:nt,listAutoScrollDisabled:wt,listOrientation:Tt}=R;this.disabled=Re??!1,this.sortingDisabled=nt??!1,this.autoScrollDisabled=wt??!1,this.orientation=Tt||"vertical",z&&(this.lockAxis=z)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(R=>R._dragRef))}}return E._dropLists=[],E.\u0275fac=function(R){return new(R||E)(r.Y36(r.SBq),r.Y36(De),r.Y36(r.sBO),r.Y36(d.mF),r.Y36(B.Is,8),r.Y36(vt,12),r.Y36(Bt,8))},E.\u0275dir=r.lG2({type:E,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(R,z){2&R&&(r.uIk("id",z.id),r.ekj("cdk-drop-list-disabled",z.disabled)("cdk-drop-list-dragging",z._dropListRef.isDragging())("cdk-drop-list-receiving",z._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[r._Bn([{provide:vt,useValue:void 0},{provide:ht,useExisting:E}])]}),E})();const Oe=new r.OlP("CdkDragHandle"),Y=new r.OlP("CdkDragPlaceholder"),x=new r.OlP("CdkDragPreview");let c=(()=>{class E{constructor(R,z,Re,nt,wt,Tt,jt,en,cn,tt,ot){this.element=R,this.dropContainer=z,this._ngZone=nt,this._viewContainerRef=wt,this._dir=jt,this._changeDetectorRef=cn,this._selfHandle=tt,this._parentDrag=ot,this._destroyed=new F.x,this.started=new r.vpe,this.released=new r.vpe,this.ended=new r.vpe,this.entered=new r.vpe,this.exited=new r.vpe,this.dropped=new r.vpe,this.moved=new le.y(ze=>{const Ct=this._dragRef.moved.pipe((0,Ze.U)(Ut=>({source:this,pointerPosition:Ut.pointerPosition,event:Ut.event,delta:Ut.delta,distance:Ut.distance}))).subscribe(ze);return()=>{Ct.unsubscribe()}}),this._dragRef=en.createDrag(R,{dragStartThreshold:Tt&&null!=Tt.dragStartThreshold?Tt.dragStartThreshold:5,pointerDirectionChangeThreshold:Tt&&null!=Tt.pointerDirectionChangeThreshold?Tt.pointerDirectionChangeThreshold:5,zIndex:Tt?.zIndex}),this._dragRef.data=this,E._dragInstances.push(this),Tt&&this._assignDefaults(Tt),z&&(this._dragRef._withDropContainer(z._dropListRef),z.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(R){this._disabled=(0,u.Ig)(R),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(R){this._dragRef.setFreeDragPosition(R)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Ne.q)(1),(0,fe.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(R){const z=R.rootElementSelector,Re=R.freeDragPosition;z&&!z.firstChange&&this._updateRootElement(),Re&&!Re.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const R=E._dragInstances.indexOf(this);R>-1&&E._dragInstances.splice(R,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const R=this.element.nativeElement;let z=R;this.rootElementSelector&&(z=void 0!==R.closest?R.closest(this.rootElementSelector):R.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(z||R)}_getBoundaryElement(){const R=this.boundaryElement;return R?"string"==typeof R?this.element.nativeElement.closest(R):(0,u.fI)(R):null}_syncInputs(R){R.beforeStarted.subscribe(()=>{if(!R.isDragging()){const z=this._dir,Re=this.dragStartDelay,nt=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,wt=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;R.disabled=this.disabled,R.lockAxis=this.lockAxis,R.dragStartDelay="object"==typeof Re&&Re?Re:(0,u.su)(Re),R.constrainPosition=this.constrainPosition,R.previewClass=this.previewClass,R.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(nt).withPreviewTemplate(wt).withPreviewContainer(this.previewContainer||"global"),z&&R.withDirection(z.value)}}),R.beforeStarted.pipe((0,Ne.q)(1)).subscribe(()=>{if(this._parentDrag)return void R.withParent(this._parentDrag._dragRef);let z=this.element.nativeElement.parentElement;for(;z;){if(z.classList.contains("cdk-drag")){R.withParent(E._dragInstances.find(Re=>Re.element.nativeElement===z)?._dragRef||null);break}z=z.parentElement}})}_handleEvents(R){R.started.subscribe(z=>{this.started.emit({source:this,event:z.event}),this._changeDetectorRef.markForCheck()}),R.released.subscribe(z=>{this.released.emit({source:this,event:z.event})}),R.ended.subscribe(z=>{this.ended.emit({source:this,distance:z.distance,dropPoint:z.dropPoint,event:z.event}),this._changeDetectorRef.markForCheck()}),R.entered.subscribe(z=>{this.entered.emit({container:z.container.data,item:this,currentIndex:z.currentIndex})}),R.exited.subscribe(z=>{this.exited.emit({container:z.container.data,item:this})}),R.dropped.subscribe(z=>{this.dropped.emit({previousIndex:z.previousIndex,currentIndex:z.currentIndex,previousContainer:z.previousContainer.data,container:z.container.data,isPointerOverContainer:z.isPointerOverContainer,item:this,distance:z.distance,dropPoint:z.dropPoint,event:z.event})})}_assignDefaults(R){const{lockAxis:z,dragStartDelay:Re,constrainPosition:nt,previewClass:wt,boundaryElement:Tt,draggingDisabled:jt,rootElementSelector:en,previewContainer:cn}=R;this.disabled=jt??!1,this.dragStartDelay=Re||0,z&&(this.lockAxis=z),nt&&(this.constrainPosition=nt),wt&&(this.previewClass=wt),Tt&&(this.boundaryElement=Tt),en&&(this.rootElementSelector=en),cn&&(this.previewContainer=cn)}_setupHandlesListener(){this._handles.changes.pipe((0,Se.O)(this._handles),(0,gt.b)(R=>{const z=R.filter(Re=>Re._parentDrag===this).map(Re=>Re.element);this._selfHandle&&this.rootElementSelector&&z.push(this.element),this._dragRef.withHandles(z)}),(0,N.w)(R=>(0,me.T)(...R.map(z=>z._stateChanges.pipe((0,Se.O)(z))))),(0,fe.R)(this._destroyed)).subscribe(R=>{const z=this._dragRef,Re=R.element.nativeElement;R.disabled?z.disableHandle(Re):z.enableHandle(Re)})}}return E._dragInstances=[],E.\u0275fac=function(R){return new(R||E)(r.Y36(r.SBq),r.Y36(ht,12),r.Y36(i.K0),r.Y36(r.R0b),r.Y36(r.s_b),r.Y36(Bt,8),r.Y36(B.Is,8),r.Y36(De),r.Y36(r.sBO),r.Y36(Oe,10),r.Y36(ft,12))},E.\u0275dir=r.lG2({type:E,selectors:[["","cdkDrag",""]],contentQueries:function(R,z,Re){if(1&R&&(r.Suo(Re,x,5),r.Suo(Re,Y,5),r.Suo(Re,Oe,5)),2&R){let nt;r.iGM(nt=r.CRH())&&(z._previewTemplate=nt.first),r.iGM(nt=r.CRH())&&(z._placeholderTemplate=nt.first),r.iGM(nt=r.CRH())&&(z._handles=nt)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(R,z){2&R&&r.ekj("cdk-drag-disabled",z.disabled)("cdk-drag-dragging",z._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:[r._Bn([{provide:ft,useExisting:E}]),r.TTD]}),E})(),b=(()=>{class E{}return E.\u0275fac=function(R){return new(R||E)},E.\u0275mod=r.oAB({type:E}),E.\u0275inj=r.cJS({providers:[De],imports:[d.ZD]}),E})()},9521:(Rt,je,a)=>{a.d(je,{A:()=>de,JH:()=>N,JU:()=>T,K5:()=>u,Ku:()=>le,LH:()=>Ne,L_:()=>se,MW:()=>vt,Mf:()=>d,SV:()=>gt,Sd:()=>Se,VM:()=>me,Vb:()=>Mi,Z:()=>ft,ZH:()=>i,aO:()=>_t,b2:()=>$n,hY:()=>ae,jx:()=>F,oh:()=>Ze,uR:()=>fe,xE:()=>we,yY:()=>pe,zL:()=>w});const i=8,d=9,u=13,T=16,F=17,w=18,ae=27,se=32,le=33,me=34,fe=35,Se=36,Ze=37,Ne=38,gt=39,N=40,pe=46,we=48,_t=57,de=65,ft=90,vt=91,$n=224;function Mi(Nn,...ii){return ii.length?ii.some(Xn=>Nn[Xn]):Nn.altKey||Nn.shiftKey||Nn.ctrlKey||Nn.metaKey}},2289:(Rt,je,a)=>{a.d(je,{Yg:()=>N,u3:()=>X,vx:()=>Ze});var r=a(4650),i=a(1281),d=a(7579),D=a(9841),u=a(7272),T=a(9751),F=a(5698),w=a(5684),p=a(8372),W=a(4004),ae=a(8675),se=a(2722),le=a(3353);const fe=new Set;let Se,Ze=(()=>{class ie{constructor(we){this._platform=we,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):gt}matchMedia(we){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ne(ie){if(!fe.has(ie))try{Se||(Se=document.createElement("style"),Se.setAttribute("type","text/css"),document.head.appendChild(Se)),Se.sheet&&(Se.sheet.insertRule(`@media ${ie} {body{ }}`,0),fe.add(ie))}catch(pe){console.error(pe)}}(we),this._matchMedia(we)}}return ie.\u0275fac=function(we){return new(we||ie)(r.LFG(le.t4))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function gt(ie){return{matches:"all"===ie||""===ie,media:ie,addListener:()=>{},removeListener:()=>{}}}let N=(()=>{class ie{constructor(we,ne){this._mediaMatcher=we,this._zone=ne,this._queries=new Map,this._destroySubject=new d.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(we){return B((0,i.Eq)(we)).some(ge=>this._registerQuery(ge).mql.matches)}observe(we){const ge=B((0,i.Eq)(we)).map(Je=>this._registerQuery(Je).observable);let Ve=(0,D.a)(ge);return Ve=(0,u.z)(Ve.pipe((0,F.q)(1)),Ve.pipe((0,w.T)(1),(0,p.b)(0))),Ve.pipe((0,W.U)(Je=>{const pt={matches:!1,breakpoints:{}};return Je.forEach(({matches:Ge,query:At})=>{pt.matches=pt.matches||Ge,pt.breakpoints[At]=Ge}),pt}))}_registerQuery(we){if(this._queries.has(we))return this._queries.get(we);const ne=this._mediaMatcher.matchMedia(we),Ve={observable:new T.y(Je=>{const pt=Ge=>this._zone.run(()=>Je.next(Ge));return ne.addListener(pt),()=>{ne.removeListener(pt)}}).pipe((0,ae.O)(ne),(0,W.U)(({matches:Je})=>({query:we,matches:Je})),(0,se.R)(this._destroySubject)),mql:ne};return this._queries.set(we,Ve),Ve}}return ie.\u0275fac=function(we){return new(we||ie)(r.LFG(Ze),r.LFG(r.R0b))},ie.\u0275prov=r.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function B(ie){return ie.map(pe=>pe.split(",")).reduce((pe,we)=>pe.concat(we)).map(pe=>pe.trim())}const X={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},9643:(Rt,je,a)=>{a.d(je,{Q8:()=>p,wD:()=>w});var r=a(1281),i=a(4650),d=a(9751),D=a(7579),u=a(8372);let T=(()=>{class W{create(se){return typeof MutationObserver>"u"?null:new MutationObserver(se)}}return W.\u0275fac=function(se){return new(se||W)},W.\u0275prov=i.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),F=(()=>{class W{constructor(se){this._mutationObserverFactory=se,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((se,le)=>this._cleanupObserver(le))}observe(se){const le=(0,r.fI)(se);return new d.y(me=>{const Se=this._observeElement(le).subscribe(me);return()=>{Se.unsubscribe(),this._unobserveElement(le)}})}_observeElement(se){if(this._observedElements.has(se))this._observedElements.get(se).count++;else{const le=new D.x,me=this._mutationObserverFactory.create(fe=>le.next(fe));me&&me.observe(se,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(se,{observer:me,stream:le,count:1})}return this._observedElements.get(se).stream}_unobserveElement(se){this._observedElements.has(se)&&(this._observedElements.get(se).count--,this._observedElements.get(se).count||this._cleanupObserver(se))}_cleanupObserver(se){if(this._observedElements.has(se)){const{observer:le,stream:me}=this._observedElements.get(se);le&&le.disconnect(),me.complete(),this._observedElements.delete(se)}}}return W.\u0275fac=function(se){return new(se||W)(i.LFG(T))},W.\u0275prov=i.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),w=(()=>{class W{constructor(se,le,me){this._contentObserver=se,this._elementRef=le,this._ngZone=me,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(se){this._disabled=(0,r.Ig)(se),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(se){this._debounce=(0,r.su)(se),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const se=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?se.pipe((0,u.b)(this.debounce)):se).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return W.\u0275fac=function(se){return new(se||W)(i.Y36(F),i.Y36(i.SBq),i.Y36(i.R0b))},W.\u0275dir=i.lG2({type:W,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),W})(),p=(()=>{class W{}return W.\u0275fac=function(se){return new(se||W)},W.\u0275mod=i.oAB({type:W}),W.\u0275inj=i.cJS({providers:[T]}),W})()},8184:(Rt,je,a)=>{a.d(je,{Iu:()=>_t,U8:()=>Vt,X_:()=>pe,Xj:()=>st,_G:()=>he,aV:()=>ue,pI:()=>Yt,xu:()=>Et});var r=a(4098),i=a(6895),d=a(4650),D=a(1281),u=a(3353),T=a(445),F=a(4080),w=a(7579),p=a(727),W=a(6451),ae=a(5698),se=a(2722),le=a(2529),me=a(9521);const fe=(0,u.Mq)();class Se{constructor(S,M){this._viewportRuler=S,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=M}attach(){}enable(){if(this._canBeEnabled()){const S=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=S.style.left||"",this._previousHTMLStyles.top=S.style.top||"",S.style.left=(0,D.HM)(-this._previousScrollPosition.left),S.style.top=(0,D.HM)(-this._previousScrollPosition.top),S.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const S=this._document.documentElement,J=S.style,Ue=this._document.body.style,Ae=J.scrollBehavior||"",Ee=Ue.scrollBehavior||"";this._isEnabled=!1,J.left=this._previousHTMLStyles.left,J.top=this._previousHTMLStyles.top,S.classList.remove("cdk-global-scrollblock"),fe&&(J.scrollBehavior=Ue.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),fe&&(J.scrollBehavior=Ae,Ue.scrollBehavior=Ee)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const M=this._document.body,J=this._viewportRuler.getViewportSize();return M.scrollHeight>J.height||M.scrollWidth>J.width}}class Ne{constructor(S,M,J,Ue){this._scrollDispatcher=S,this._ngZone=M,this._viewportRuler=J,this._config=Ue,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(S){this._overlayRef=S}enable(){if(this._scrollSubscription)return;const S=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=S.subscribe(()=>{const M=this._viewportRuler.getViewportScrollPosition().top;Math.abs(M-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=S.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class gt{enable(){}disable(){}attach(){}}function N(te,S){return S.some(M=>te.bottomM.bottom||te.rightM.right)}function B(te,S){return S.some(M=>te.topM.bottom||te.leftM.right)}class X{constructor(S,M,J,Ue){this._scrollDispatcher=S,this._viewportRuler=M,this._ngZone=J,this._config=Ue,this._scrollSubscription=null}attach(S){this._overlayRef=S}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 M=this._overlayRef.overlayElement.getBoundingClientRect(),{width:J,height:Ue}=this._viewportRuler.getViewportSize();N(M,[{width:J,height:Ue,bottom:Ue,right:J,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 ie=(()=>{class te{constructor(M,J,Ue,Ae){this._scrollDispatcher=M,this._viewportRuler=J,this._ngZone=Ue,this.noop=()=>new gt,this.close=Ee=>new Ne(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ee),this.block=()=>new Se(this._viewportRuler,this._document),this.reposition=Ee=>new X(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ee),this._document=Ae}}return te.\u0275fac=function(M){return new(M||te)(d.LFG(r.mF),d.LFG(r.rL),d.LFG(d.R0b),d.LFG(i.K0))},te.\u0275prov=d.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();class pe{constructor(S){if(this.scrollStrategy=new gt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,S){const M=Object.keys(S);for(const J of M)void 0!==S[J]&&(this[J]=S[J])}}}class ge{constructor(S,M){this.connectionPair=S,this.scrollableViewProperties=M}}let pt=(()=>{class te{constructor(M){this._attachedOverlays=[],this._document=M}ngOnDestroy(){this.detach()}add(M){this.remove(M),this._attachedOverlays.push(M)}remove(M){const J=this._attachedOverlays.indexOf(M);J>-1&&this._attachedOverlays.splice(J,1),0===this._attachedOverlays.length&&this.detach()}}return te.\u0275fac=function(M){return new(M||te)(d.LFG(i.K0))},te.\u0275prov=d.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),Ge=(()=>{class te extends pt{constructor(M,J){super(M),this._ngZone=J,this._keydownListener=Ue=>{const Ae=this._attachedOverlays;for(let Ee=Ae.length-1;Ee>-1;Ee--)if(Ae[Ee]._keydownEvents.observers.length>0){const De=Ae[Ee]._keydownEvents;this._ngZone?this._ngZone.run(()=>De.next(Ue)):De.next(Ue);break}}}add(M){super.add(M),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 te.\u0275fac=function(M){return new(M||te)(d.LFG(i.K0),d.LFG(d.R0b,8))},te.\u0275prov=d.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),At=(()=>{class te extends pt{constructor(M,J,Ue){super(M),this._platform=J,this._ngZone=Ue,this._cursorStyleIsSet=!1,this._pointerDownListener=Ae=>{this._pointerDownEventTarget=(0,u.sA)(Ae)},this._clickListener=Ae=>{const Ee=(0,u.sA)(Ae),De="click"===Ae.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ee;this._pointerDownEventTarget=null;const ft=this._attachedOverlays.slice();for(let vt=ft.length-1;vt>-1;vt--){const St=ft[vt];if(St._outsidePointerEvents.observers.length<1||!St.hasAttached())continue;if(St.overlayElement.contains(Ee)||St.overlayElement.contains(De))break;const Bt=St._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Bt.next(Ae)):Bt.next(Ae)}}}add(M){if(super.add(M),!this._isAttached){const J=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(J)):this._addEventListeners(J),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=J.style.cursor,J.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const M=this._document.body;M.removeEventListener("pointerdown",this._pointerDownListener,!0),M.removeEventListener("click",this._clickListener,!0),M.removeEventListener("auxclick",this._clickListener,!0),M.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(M.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(M){M.addEventListener("pointerdown",this._pointerDownListener,!0),M.addEventListener("click",this._clickListener,!0),M.addEventListener("auxclick",this._clickListener,!0),M.addEventListener("contextmenu",this._clickListener,!0)}}return te.\u0275fac=function(M){return new(M||te)(d.LFG(i.K0),d.LFG(u.t4),d.LFG(d.R0b,8))},te.\u0275prov=d.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),st=(()=>{class te{constructor(M,J){this._platform=J,this._document=M}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const M="cdk-overlay-container";if(this._platform.isBrowser||(0,u.Oy)()){const Ue=this._document.querySelectorAll(`.${M}[platform="server"], .${M}[platform="test"]`);for(let Ae=0;Aethis._backdropClick.next(Bt),this._backdropTransitionendHandler=Bt=>{this._disposeBackdrop(Bt.target)},this._keydownEvents=new w.x,this._outsidePointerEvents=new w.x,Ue.scrollStrategy&&(this._scrollStrategy=Ue.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ue.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(S){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const M=this._portalOutlet.attach(S);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 M?.onDestroy&&M.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),M}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const S=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),S}dispose(){const S=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,S&&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(S){S!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=S,this.hasAttached()&&(S.attach(this),this.updatePosition()))}updateSize(S){this._config={...this._config,...S},this._updateElementSize()}setDirection(S){this._config={...this._config,direction:S},this._updateElementDirection()}addPanelClass(S){this._pane&&this._toggleClasses(this._pane,S,!0)}removePanelClass(S){this._pane&&this._toggleClasses(this._pane,S,!1)}getDirection(){const S=this._config.direction;return S?"string"==typeof S?S:S.value:"ltr"}updateScrollStrategy(S){S!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=S,this.hasAttached()&&(S.attach(this),S.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const S=this._pane.style;S.width=(0,D.HM)(this._config.width),S.height=(0,D.HM)(this._config.height),S.minWidth=(0,D.HM)(this._config.minWidth),S.minHeight=(0,D.HM)(this._config.minHeight),S.maxWidth=(0,D.HM)(this._config.maxWidth),S.maxHeight=(0,D.HM)(this._config.maxHeight)}_togglePointerEvents(S){this._pane.style.pointerEvents=S?"":"none"}_attachBackdrop(){const S="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(S)})}):this._backdropElement.classList.add(S)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const S=this._backdropElement;if(S){if(this._animationsDisabled)return void this._disposeBackdrop(S);S.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{S.addEventListener("transitionend",this._backdropTransitionendHandler)}),S.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(S)},500))}}_toggleClasses(S,M,J){const Ue=(0,D.Eq)(M||[]).filter(Ae=>!!Ae);Ue.length&&(J?S.classList.add(...Ue):S.classList.remove(...Ue))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const S=this._ngZone.onStable.pipe((0,se.R)((0,W.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()),S.unsubscribe())})})}_disposeScrollStrategy(){const S=this._scrollStrategy;S&&(S.disable(),S.detach&&S.detach())}_disposeBackdrop(S){S&&(S.removeEventListener("click",this._backdropClickHandler),S.removeEventListener("transitionend",this._backdropTransitionendHandler),S.remove(),this._backdropElement===S&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const et="cdk-overlay-connected-position-bounding-box",mt=/([A-Za-z%]+)$/;class he{constructor(S,M,J,Ue,Ae){this._viewportRuler=M,this._document=J,this._platform=Ue,this._overlayContainer=Ae,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 w.x,this._resizeSubscription=p.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(S)}get positions(){return this._preferredPositions}attach(S){this._validatePositions(),S.hostElement.classList.add(et),this._overlayRef=S,this._boundingBox=S.hostElement,this._pane=S.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 S=this._originRect,M=this._overlayRect,J=this._viewportRect,Ue=this._containerRect,Ae=[];let Ee;for(let De of this._preferredPositions){let ft=this._getOriginPoint(S,Ue,De),vt=this._getOverlayPoint(ft,M,De),St=this._getOverlayFit(vt,M,J,De);if(St.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(De,ft);this._canFitWithFlexibleDimensions(St,vt,J)?Ae.push({position:De,origin:ft,overlayRect:M,boundingBoxRect:this._calculateBoundingBoxRect(ft,De)}):(!Ee||Ee.overlayFit.visibleAreaft&&(ft=St,De=vt)}return this._isPushed=!1,void this._applyPosition(De.position,De.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ee.position,Ee.originPoint);this._applyPosition(Ee.position,Ee.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&G(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(et),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const S=this._lastPosition;if(S){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const M=this._getOriginPoint(this._originRect,this._containerRect,S);this._applyPosition(S,M)}else this.apply()}withScrollableContainers(S){return this._scrollables=S,this}withPositions(S){return this._preferredPositions=S,-1===S.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(S){return this._viewportMargin=S,this}withFlexibleDimensions(S=!0){return this._hasFlexibleDimensions=S,this}withGrowAfterOpen(S=!0){return this._growAfterOpen=S,this}withPush(S=!0){return this._canPush=S,this}withLockedPosition(S=!0){return this._positionLocked=S,this}setOrigin(S){return this._origin=S,this}withDefaultOffsetX(S){return this._offsetX=S,this}withDefaultOffsetY(S){return this._offsetY=S,this}withTransformOriginOn(S){return this._transformOriginSelector=S,this}_getOriginPoint(S,M,J){let Ue,Ae;if("center"==J.originX)Ue=S.left+S.width/2;else{const Ee=this._isRtl()?S.right:S.left,De=this._isRtl()?S.left:S.right;Ue="start"==J.originX?Ee:De}return M.left<0&&(Ue-=M.left),Ae="center"==J.originY?S.top+S.height/2:"top"==J.originY?S.top:S.bottom,M.top<0&&(Ae-=M.top),{x:Ue,y:Ae}}_getOverlayPoint(S,M,J){let Ue,Ae;return Ue="center"==J.overlayX?-M.width/2:"start"===J.overlayX?this._isRtl()?-M.width:0:this._isRtl()?0:-M.width,Ae="center"==J.overlayY?-M.height/2:"top"==J.overlayY?0:-M.height,{x:S.x+Ue,y:S.y+Ae}}_getOverlayFit(S,M,J,Ue){const Ae=ye(M);let{x:Ee,y:De}=S,ft=this._getOffset(Ue,"x"),vt=this._getOffset(Ue,"y");ft&&(Ee+=ft),vt&&(De+=vt);let on=0-De,Nt=De+Ae.height-J.height,ht=this._subtractOverflows(Ae.width,0-Ee,Ee+Ae.width-J.width),xt=this._subtractOverflows(Ae.height,on,Nt),Oe=ht*xt;return{visibleArea:Oe,isCompletelyWithinViewport:Ae.width*Ae.height===Oe,fitsInViewportVertically:xt===Ae.height,fitsInViewportHorizontally:ht==Ae.width}}_canFitWithFlexibleDimensions(S,M,J){if(this._hasFlexibleDimensions){const Ue=J.bottom-M.y,Ae=J.right-M.x,Ee=de(this._overlayRef.getConfig().minHeight),De=de(this._overlayRef.getConfig().minWidth),vt=S.fitsInViewportHorizontally||null!=De&&De<=Ae;return(S.fitsInViewportVertically||null!=Ee&&Ee<=Ue)&&vt}return!1}_pushOverlayOnScreen(S,M,J){if(this._previousPushAmount&&this._positionLocked)return{x:S.x+this._previousPushAmount.x,y:S.y+this._previousPushAmount.y};const Ue=ye(M),Ae=this._viewportRect,Ee=Math.max(S.x+Ue.width-Ae.width,0),De=Math.max(S.y+Ue.height-Ae.height,0),ft=Math.max(Ae.top-J.top-S.y,0),vt=Math.max(Ae.left-J.left-S.x,0);let St=0,Bt=0;return St=Ue.width<=Ae.width?vt||-Ee:S.xht&&!this._isInitialRender&&!this._growAfterOpen&&(Ee=S.y-ht/2)}if("end"===M.overlayX&&!Ue||"start"===M.overlayX&&Ue)on=J.width-S.x+this._viewportMargin,St=S.x-this._viewportMargin;else if("start"===M.overlayX&&!Ue||"end"===M.overlayX&&Ue)Bt=S.x,St=J.right-S.x;else{const Nt=Math.min(J.right-S.x+J.left,S.x),ht=this._lastBoundingBoxSize.width;St=2*Nt,Bt=S.x-Nt,St>ht&&!this._isInitialRender&&!this._growAfterOpen&&(Bt=S.x-ht/2)}return{top:Ee,left:Bt,bottom:De,right:on,width:St,height:Ae}}_setBoundingBoxStyles(S,M){const J=this._calculateBoundingBoxRect(S,M);!this._isInitialRender&&!this._growAfterOpen&&(J.height=Math.min(J.height,this._lastBoundingBoxSize.height),J.width=Math.min(J.width,this._lastBoundingBoxSize.width));const Ue={};if(this._hasExactPosition())Ue.top=Ue.left="0",Ue.bottom=Ue.right=Ue.maxHeight=Ue.maxWidth="",Ue.width=Ue.height="100%";else{const Ae=this._overlayRef.getConfig().maxHeight,Ee=this._overlayRef.getConfig().maxWidth;Ue.height=(0,D.HM)(J.height),Ue.top=(0,D.HM)(J.top),Ue.bottom=(0,D.HM)(J.bottom),Ue.width=(0,D.HM)(J.width),Ue.left=(0,D.HM)(J.left),Ue.right=(0,D.HM)(J.right),Ue.alignItems="center"===M.overlayX?"center":"end"===M.overlayX?"flex-end":"flex-start",Ue.justifyContent="center"===M.overlayY?"center":"bottom"===M.overlayY?"flex-end":"flex-start",Ae&&(Ue.maxHeight=(0,D.HM)(Ae)),Ee&&(Ue.maxWidth=(0,D.HM)(Ee))}this._lastBoundingBoxSize=J,G(this._boundingBox.style,Ue)}_resetBoundingBoxStyles(){G(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){G(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(S,M){const J={},Ue=this._hasExactPosition(),Ae=this._hasFlexibleDimensions,Ee=this._overlayRef.getConfig();if(Ue){const St=this._viewportRuler.getViewportScrollPosition();G(J,this._getExactOverlayY(M,S,St)),G(J,this._getExactOverlayX(M,S,St))}else J.position="static";let De="",ft=this._getOffset(M,"x"),vt=this._getOffset(M,"y");ft&&(De+=`translateX(${ft}px) `),vt&&(De+=`translateY(${vt}px)`),J.transform=De.trim(),Ee.maxHeight&&(Ue?J.maxHeight=(0,D.HM)(Ee.maxHeight):Ae&&(J.maxHeight="")),Ee.maxWidth&&(Ue?J.maxWidth=(0,D.HM)(Ee.maxWidth):Ae&&(J.maxWidth="")),G(this._pane.style,J)}_getExactOverlayY(S,M,J){let Ue={top:"",bottom:""},Ae=this._getOverlayPoint(M,this._overlayRect,S);return this._isPushed&&(Ae=this._pushOverlayOnScreen(Ae,this._overlayRect,J)),"bottom"===S.overlayY?Ue.bottom=this._document.documentElement.clientHeight-(Ae.y+this._overlayRect.height)+"px":Ue.top=(0,D.HM)(Ae.y),Ue}_getExactOverlayX(S,M,J){let Ee,Ue={left:"",right:""},Ae=this._getOverlayPoint(M,this._overlayRect,S);return this._isPushed&&(Ae=this._pushOverlayOnScreen(Ae,this._overlayRect,J)),Ee=this._isRtl()?"end"===S.overlayX?"left":"right":"end"===S.overlayX?"right":"left","right"===Ee?Ue.right=this._document.documentElement.clientWidth-(Ae.x+this._overlayRect.width)+"px":Ue.left=(0,D.HM)(Ae.x),Ue}_getScrollVisibility(){const S=this._getOriginRect(),M=this._pane.getBoundingClientRect(),J=this._scrollables.map(Ue=>Ue.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:B(S,J),isOriginOutsideView:N(S,J),isOverlayClipped:B(M,J),isOverlayOutsideView:N(M,J)}}_subtractOverflows(S,...M){return M.reduce((J,Ue)=>J-Math.max(Ue,0),S)}_getNarrowedViewportRect(){const S=this._document.documentElement.clientWidth,M=this._document.documentElement.clientHeight,J=this._viewportRuler.getViewportScrollPosition();return{top:J.top+this._viewportMargin,left:J.left+this._viewportMargin,right:J.left+S-this._viewportMargin,bottom:J.top+M-this._viewportMargin,width:S-2*this._viewportMargin,height:M-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(S,M){return"x"===M?S.offsetX??this._offsetX:S.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(S){this._pane&&(0,D.Eq)(S).forEach(M=>{""!==M&&-1===this._appliedPanelClasses.indexOf(M)&&(this._appliedPanelClasses.push(M),this._pane.classList.add(M))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(S=>{this._pane.classList.remove(S)}),this._appliedPanelClasses=[])}_getOriginRect(){const S=this._origin;if(S instanceof d.SBq)return S.nativeElement.getBoundingClientRect();if(S instanceof Element)return S.getBoundingClientRect();const M=S.width||0,J=S.height||0;return{top:S.y,bottom:S.y+J,left:S.x,right:S.x+M,height:J,width:M}}}function G(te,S){for(let M in S)S.hasOwnProperty(M)&&(te[M]=S[M]);return te}function de(te){if("number"!=typeof te&&null!=te){const[S,M]=te.split(mt);return M&&"px"!==M?null:parseFloat(S)}return te||null}function ye(te){return{top:Math.floor(te.top),right:Math.floor(te.right),bottom:Math.floor(te.bottom),left:Math.floor(te.left),width:Math.floor(te.width),height:Math.floor(te.height)}}const Fe="cdk-global-overlay-wrapper";class $e{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(S){const M=S.getConfig();this._overlayRef=S,this._width&&!M.width&&S.updateSize({width:this._width}),this._height&&!M.height&&S.updateSize({height:this._height}),S.hostElement.classList.add(Fe),this._isDisposed=!1}top(S=""){return this._bottomOffset="",this._topOffset=S,this._alignItems="flex-start",this}left(S=""){return this._xOffset=S,this._xPosition="left",this}bottom(S=""){return this._topOffset="",this._bottomOffset=S,this._alignItems="flex-end",this}right(S=""){return this._xOffset=S,this._xPosition="right",this}start(S=""){return this._xOffset=S,this._xPosition="start",this}end(S=""){return this._xOffset=S,this._xPosition="end",this}width(S=""){return this._overlayRef?this._overlayRef.updateSize({width:S}):this._width=S,this}height(S=""){return this._overlayRef?this._overlayRef.updateSize({height:S}):this._height=S,this}centerHorizontally(S=""){return this.left(S),this._xPosition="center",this}centerVertically(S=""){return this.top(S),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const S=this._overlayRef.overlayElement.style,M=this._overlayRef.hostElement.style,J=this._overlayRef.getConfig(),{width:Ue,height:Ae,maxWidth:Ee,maxHeight:De}=J,ft=!("100%"!==Ue&&"100vw"!==Ue||Ee&&"100%"!==Ee&&"100vw"!==Ee),vt=!("100%"!==Ae&&"100vh"!==Ae||De&&"100%"!==De&&"100vh"!==De),St=this._xPosition,Bt=this._xOffset,on="rtl"===this._overlayRef.getConfig().direction;let Nt="",ht="",xt="";ft?xt="flex-start":"center"===St?(xt="center",on?ht=Bt:Nt=Bt):on?"left"===St||"end"===St?(xt="flex-end",Nt=Bt):("right"===St||"start"===St)&&(xt="flex-start",ht=Bt):"left"===St||"start"===St?(xt="flex-start",Nt=Bt):("right"===St||"end"===St)&&(xt="flex-end",ht=Bt),S.position=this._cssPosition,S.marginLeft=ft?"0":Nt,S.marginTop=vt?"0":this._topOffset,S.marginBottom=this._bottomOffset,S.marginRight=ft?"0":ht,M.justifyContent=xt,M.alignItems=vt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const S=this._overlayRef.overlayElement.style,M=this._overlayRef.hostElement,J=M.style;M.classList.remove(Fe),J.justifyContent=J.alignItems=S.marginTop=S.marginBottom=S.marginLeft=S.marginRight=S.position="",this._overlayRef=null,this._isDisposed=!0}}let ce=(()=>{class te{constructor(M,J,Ue,Ae){this._viewportRuler=M,this._document=J,this._platform=Ue,this._overlayContainer=Ae}global(){return new $e}flexibleConnectedTo(M){return new he(M,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return te.\u0275fac=function(M){return new(M||te)(d.LFG(r.rL),d.LFG(i.K0),d.LFG(u.t4),d.LFG(st))},te.\u0275prov=d.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),it=0,ue=(()=>{class te{constructor(M,J,Ue,Ae,Ee,De,ft,vt,St,Bt,on,Nt){this.scrollStrategies=M,this._overlayContainer=J,this._componentFactoryResolver=Ue,this._positionBuilder=Ae,this._keyboardDispatcher=Ee,this._injector=De,this._ngZone=ft,this._document=vt,this._directionality=St,this._location=Bt,this._outsideClickDispatcher=on,this._animationsModuleType=Nt}create(M){const J=this._createHostElement(),Ue=this._createPaneElement(J),Ae=this._createPortalOutlet(Ue),Ee=new pe(M);return Ee.direction=Ee.direction||this._directionality.value,new _t(Ae,J,Ue,Ee,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(M){const J=this._document.createElement("div");return J.id="cdk-overlay-"+it++,J.classList.add("cdk-overlay-pane"),M.appendChild(J),J}_createHostElement(){const M=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(M),M}_createPortalOutlet(M){return this._appRef||(this._appRef=this._injector.get(d.z2F)),new F.u0(M,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return te.\u0275fac=function(M){return new(M||te)(d.LFG(ie),d.LFG(st),d.LFG(d._Vd),d.LFG(ce),d.LFG(Ge),d.LFG(d.zs3),d.LFG(d.R0b),d.LFG(i.K0),d.LFG(T.Is),d.LFG(i.Ye),d.LFG(At),d.LFG(d.QbO,8))},te.\u0275prov=d.Yz7({token:te,factory:te.\u0275fac}),te})();const Ke=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Qe=new d.OlP("cdk-connected-overlay-scroll-strategy");let Et=(()=>{class te{constructor(M){this.elementRef=M}}return te.\u0275fac=function(M){return new(M||te)(d.Y36(d.SBq))},te.\u0275dir=d.lG2({type:te,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),te})(),Yt=(()=>{class te{constructor(M,J,Ue,Ae,Ee){this._overlay=M,this._dir=Ee,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=p.w0.EMPTY,this._attachSubscription=p.w0.EMPTY,this._detachSubscription=p.w0.EMPTY,this._positionSubscription=p.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new d.vpe,this.positionChange=new d.vpe,this.attach=new d.vpe,this.detach=new d.vpe,this.overlayKeydown=new d.vpe,this.overlayOutsideClick=new d.vpe,this._templatePortal=new F.UE(J,Ue),this._scrollStrategyFactory=Ae,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(M){this._offsetX=M,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(M){this._offsetY=M,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(M){this._hasBackdrop=(0,D.Ig)(M)}get lockPosition(){return this._lockPosition}set lockPosition(M){this._lockPosition=(0,D.Ig)(M)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(M){this._flexibleDimensions=(0,D.Ig)(M)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(M){this._growAfterOpen=(0,D.Ig)(M)}get push(){return this._push}set push(M){this._push=(0,D.Ig)(M)}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(M){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),M.origin&&this.open&&this._position.apply()),M.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ke);const M=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=M.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=M.detachments().subscribe(()=>this.detach.emit()),M.keydownEvents().subscribe(J=>{this.overlayKeydown.next(J),J.keyCode===me.hY&&!this.disableClose&&!(0,me.Vb)(J)&&(J.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(J=>{this.overlayOutsideClick.next(J)})}_buildConfig(){const M=this._position=this.positionStrategy||this._createPositionStrategy(),J=new pe({direction:this._dir,positionStrategy:M,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(J.width=this.width),(this.height||0===this.height)&&(J.height=this.height),(this.minWidth||0===this.minWidth)&&(J.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(J.minHeight=this.minHeight),this.backdropClass&&(J.backdropClass=this.backdropClass),this.panelClass&&(J.panelClass=this.panelClass),J}_updatePositionStrategy(M){const J=this.positions.map(Ue=>({originX:Ue.originX,originY:Ue.originY,overlayX:Ue.overlayX,overlayY:Ue.overlayY,offsetX:Ue.offsetX||this.offsetX,offsetY:Ue.offsetY||this.offsetY,panelClass:Ue.panelClass||void 0}));return M.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(J).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const M=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(M),M}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Et?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(M=>{this.backdropClick.emit(M)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,le.o)(()=>this.positionChange.observers.length>0)).subscribe(M=>{this.positionChange.emit(M),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return te.\u0275fac=function(M){return new(M||te)(d.Y36(ue),d.Y36(d.Rgc),d.Y36(d.s_b),d.Y36(Qe),d.Y36(T.Is,8))},te.\u0275dir=d.lG2({type:te,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:[d.TTD]}),te})();const Wt={provide:Qe,deps:[ue],useFactory:function Qt(te){return()=>te.scrollStrategies.reposition()}};let Vt=(()=>{class te{}return te.\u0275fac=function(M){return new(M||te)},te.\u0275mod=d.oAB({type:te}),te.\u0275inj=d.cJS({providers:[ue,Wt],imports:[T.vT,F.eL,r.Cl,r.Cl]}),te})()},3353:(Rt,je,a)=>{a.d(je,{Mq:()=>me,Oy:()=>B,_i:()=>fe,ht:()=>gt,i$:()=>ae,kV:()=>Ne,qK:()=>w,sA:()=>N,t4:()=>D});var r=a(4650),i=a(6895);let d;try{d=typeof Intl<"u"&&Intl.v8BreakIterator}catch{d=!1}let T,D=(()=>{class X{constructor(pe){this._platformId=pe,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&&!d)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return X.\u0275fac=function(pe){return new(pe||X)(r.LFG(r.Lbi))},X.\u0275prov=r.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();const F=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function w(){if(T)return T;if("object"!=typeof document||!document)return T=new Set(F),T;let X=document.createElement("input");return T=new Set(F.filter(ie=>(X.setAttribute("type",ie),X.type===ie))),T}let p,se,le,Se;function ae(X){return function W(){if(null==p&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>p=!0}))}finally{p=p||!1}return p}()?X:!!X.capture}function me(){if(null==le){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return le=!1,le;if("scrollBehavior"in document.documentElement.style)le=!0;else{const X=Element.prototype.scrollTo;le=!!X&&!/\{\s*\[native code\]\s*\}/.test(X.toString())}}return le}function fe(){if("object"!=typeof document||!document)return 0;if(null==se){const X=document.createElement("div"),ie=X.style;X.dir="rtl",ie.width="1px",ie.overflow="auto",ie.visibility="hidden",ie.pointerEvents="none",ie.position="absolute";const pe=document.createElement("div"),we=pe.style;we.width="2px",we.height="1px",X.appendChild(pe),document.body.appendChild(X),se=0,0===X.scrollLeft&&(X.scrollLeft=1,se=0===X.scrollLeft?1:2),X.remove()}return se}function Ne(X){if(function Ze(){if(null==Se){const X=typeof document<"u"?document.head:null;Se=!(!X||!X.createShadowRoot&&!X.attachShadow)}return Se}()){const ie=X.getRootNode?X.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ie instanceof ShadowRoot)return ie}return null}function gt(){let X=typeof document<"u"&&document?document.activeElement:null;for(;X&&X.shadowRoot;){const ie=X.shadowRoot.activeElement;if(ie===X)break;X=ie}return X}function N(X){return X.composedPath?X.composedPath()[0]:X.target}function B(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(Rt,je,a)=>{a.d(je,{C5:()=>W,Pl:()=>gt,UE:()=>ae,eL:()=>B,en:()=>le,u0:()=>fe});var r=a(4650),i=a(6895);class p{attach(pe){return this._attachedHost=pe,pe.attach(this)}detach(){let pe=this._attachedHost;null!=pe&&(this._attachedHost=null,pe.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(pe){this._attachedHost=pe}}class W extends p{constructor(pe,we,ne,ge){super(),this.component=pe,this.viewContainerRef=we,this.injector=ne,this.componentFactoryResolver=ge}}class ae extends p{constructor(pe,we,ne,ge){super(),this.templateRef=pe,this.viewContainerRef=we,this.context=ne,this.injector=ge}get origin(){return this.templateRef.elementRef}attach(pe,we=this.context){return this.context=we,super.attach(pe)}detach(){return this.context=void 0,super.detach()}}class se extends p{constructor(pe){super(),this.element=pe instanceof r.SBq?pe.nativeElement:pe}}class le{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(pe){return pe instanceof W?(this._attachedPortal=pe,this.attachComponentPortal(pe)):pe instanceof ae?(this._attachedPortal=pe,this.attachTemplatePortal(pe)):this.attachDomPortal&&pe instanceof se?(this._attachedPortal=pe,this.attachDomPortal(pe)):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(pe){this._disposeFn=pe}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class fe extends le{constructor(pe,we,ne,ge,Ve){super(),this.outletElement=pe,this._componentFactoryResolver=we,this._appRef=ne,this._defaultInjector=ge,this.attachDomPortal=Je=>{const pt=Je.element,Ge=this._document.createComment("dom-portal");pt.parentNode.insertBefore(Ge,pt),this.outletElement.appendChild(pt),this._attachedPortal=Je,super.setDisposeFn(()=>{Ge.parentNode&&Ge.parentNode.replaceChild(pt,Ge)})},this._document=Ve}attachComponentPortal(pe){const ne=(pe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(pe.component);let ge;return pe.viewContainerRef?(ge=pe.viewContainerRef.createComponent(ne,pe.viewContainerRef.length,pe.injector||pe.viewContainerRef.injector),this.setDisposeFn(()=>ge.destroy())):(ge=ne.create(pe.injector||this._defaultInjector||r.zs3.NULL),this._appRef.attachView(ge.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ge.hostView),ge.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ge)),this._attachedPortal=pe,ge}attachTemplatePortal(pe){let we=pe.viewContainerRef,ne=we.createEmbeddedView(pe.templateRef,pe.context,{injector:pe.injector});return ne.rootNodes.forEach(ge=>this.outletElement.appendChild(ge)),ne.detectChanges(),this.setDisposeFn(()=>{let ge=we.indexOf(ne);-1!==ge&&we.remove(ge)}),this._attachedPortal=pe,ne}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(pe){return pe.hostView.rootNodes[0]}}let gt=(()=>{class ie extends le{constructor(we,ne,ge){super(),this._componentFactoryResolver=we,this._viewContainerRef=ne,this._isInitialized=!1,this.attached=new r.vpe,this.attachDomPortal=Ve=>{const Je=Ve.element,pt=this._document.createComment("dom-portal");Ve.setAttachedHost(this),Je.parentNode.insertBefore(pt,Je),this._getRootNode().appendChild(Je),this._attachedPortal=Ve,super.setDisposeFn(()=>{pt.parentNode&&pt.parentNode.replaceChild(Je,pt)})},this._document=ge}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 ne=null!=we.viewContainerRef?we.viewContainerRef:this._viewContainerRef,Ve=(we.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(we.component),Je=ne.createComponent(Ve,ne.length,we.injector||ne.injector);return ne!==this._viewContainerRef&&this._getRootNode().appendChild(Je.hostView.rootNodes[0]),super.setDisposeFn(()=>Je.destroy()),this._attachedPortal=we,this._attachedRef=Je,this.attached.emit(Je),Je}attachTemplatePortal(we){we.setAttachedHost(this);const ne=this._viewContainerRef.createEmbeddedView(we.templateRef,we.context,{injector:we.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=we,this._attachedRef=ne,this.attached.emit(ne),ne}_getRootNode(){const we=this._viewContainerRef.element.nativeElement;return we.nodeType===we.ELEMENT_NODE?we:we.parentNode}}return ie.\u0275fac=function(we){return new(we||ie)(r.Y36(r._Vd),r.Y36(r.s_b),r.Y36(i.K0))},ie.\u0275dir=r.lG2({type:ie,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r.qOj]}),ie})(),B=(()=>{class ie{}return ie.\u0275fac=function(we){return new(we||ie)},ie.\u0275mod=r.oAB({type:ie}),ie.\u0275inj=r.cJS({}),ie})()},4098:(Rt,je,a)=>{a.d(je,{PQ:()=>Je,ZD:()=>xe,mF:()=>Ve,Cl:()=>Dt,rL:()=>Ge});var r=a(1281),i=a(4650),d=a(7579),D=a(9646),u=a(9751),T=a(4968),p=(a(6406),a(3101),a(4986)),W=a(4482),ae=a(8421),se=a(5403),me=a(5963);function fe(Fe,$e=p.z){return function le(Fe){return(0,W.e)(($e,ce)=>{let it=!1,ue=null,Ke=null,Qe=!1;const Et=()=>{if(Ke?.unsubscribe(),Ke=null,it){it=!1;const Qt=ue;ue=null,ce.next(Qt)}Qe&&ce.complete()},Yt=()=>{Ke=null,Qe&&ce.complete()};$e.subscribe((0,se.x)(ce,Qt=>{it=!0,ue=Qt,Ke||(0,ae.Xf)(Fe(Qt)).subscribe(Ke=(0,se.x)(ce,Et,Yt))},()=>{Qe=!0,(!it||!Ke||Ke.closed)&&ce.complete()}))})}(()=>(0,me.H)(Fe,$e))}var Se=a(9300),Ze=a(2722),Ne=a(3353),gt=a(6895),N=a(445);let Ve=(()=>{class Fe{constructor(ce,it,ue){this._ngZone=ce,this._platform=it,this._scrolled=new d.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ue}register(ce){this.scrollContainers.has(ce)||this.scrollContainers.set(ce,ce.elementScrolled().subscribe(()=>this._scrolled.next(ce)))}deregister(ce){const it=this.scrollContainers.get(ce);it&&(it.unsubscribe(),this.scrollContainers.delete(ce))}scrolled(ce=20){return this._platform.isBrowser?new u.y(it=>{this._globalSubscription||this._addGlobalListener();const ue=ce>0?this._scrolled.pipe(fe(ce)).subscribe(it):this._scrolled.subscribe(it);return this._scrolledCount++,()=>{ue.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,D.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ce,it)=>this.deregister(it)),this._scrolled.complete()}ancestorScrolled(ce,it){const ue=this.getAncestorScrollContainers(ce);return this.scrolled(it).pipe((0,Se.h)(Ke=>!Ke||ue.indexOf(Ke)>-1))}getAncestorScrollContainers(ce){const it=[];return this.scrollContainers.forEach((ue,Ke)=>{this._scrollableContainsElement(Ke,ce)&&it.push(Ke)}),it}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ce,it){let ue=(0,r.fI)(it),Ke=ce.getElementRef().nativeElement;do{if(ue==Ke)return!0}while(ue=ue.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ce=this._getWindow();return(0,T.R)(ce.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Fe.\u0275fac=function(ce){return new(ce||Fe)(i.LFG(i.R0b),i.LFG(Ne.t4),i.LFG(gt.K0,8))},Fe.\u0275prov=i.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})(),Je=(()=>{class Fe{constructor(ce,it,ue,Ke){this.elementRef=ce,this.scrollDispatcher=it,this.ngZone=ue,this.dir=Ke,this._destroyed=new d.x,this._elementScrolled=new u.y(Qe=>this.ngZone.runOutsideAngular(()=>(0,T.R)(this.elementRef.nativeElement,"scroll").pipe((0,Ze.R)(this._destroyed)).subscribe(Qe)))}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(ce){const it=this.elementRef.nativeElement,ue=this.dir&&"rtl"==this.dir.value;null==ce.left&&(ce.left=ue?ce.end:ce.start),null==ce.right&&(ce.right=ue?ce.start:ce.end),null!=ce.bottom&&(ce.top=it.scrollHeight-it.clientHeight-ce.bottom),ue&&0!=(0,Ne._i)()?(null!=ce.left&&(ce.right=it.scrollWidth-it.clientWidth-ce.left),2==(0,Ne._i)()?ce.left=ce.right:1==(0,Ne._i)()&&(ce.left=ce.right?-ce.right:ce.right)):null!=ce.right&&(ce.left=it.scrollWidth-it.clientWidth-ce.right),this._applyScrollToOptions(ce)}_applyScrollToOptions(ce){const it=this.elementRef.nativeElement;(0,Ne.Mq)()?it.scrollTo(ce):(null!=ce.top&&(it.scrollTop=ce.top),null!=ce.left&&(it.scrollLeft=ce.left))}measureScrollOffset(ce){const it="left",Ke=this.elementRef.nativeElement;if("top"==ce)return Ke.scrollTop;if("bottom"==ce)return Ke.scrollHeight-Ke.clientHeight-Ke.scrollTop;const Qe=this.dir&&"rtl"==this.dir.value;return"start"==ce?ce=Qe?"right":it:"end"==ce&&(ce=Qe?it:"right"),Qe&&2==(0,Ne._i)()?ce==it?Ke.scrollWidth-Ke.clientWidth-Ke.scrollLeft:Ke.scrollLeft:Qe&&1==(0,Ne._i)()?ce==it?Ke.scrollLeft+Ke.scrollWidth-Ke.clientWidth:-Ke.scrollLeft:ce==it?Ke.scrollLeft:Ke.scrollWidth-Ke.clientWidth-Ke.scrollLeft}}return Fe.\u0275fac=function(ce){return new(ce||Fe)(i.Y36(i.SBq),i.Y36(Ve),i.Y36(i.R0b),i.Y36(N.Is,8))},Fe.\u0275dir=i.lG2({type:Fe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Fe})(),Ge=(()=>{class Fe{constructor(ce,it,ue){this._platform=ce,this._change=new d.x,this._changeListener=Ke=>{this._change.next(Ke)},this._document=ue,it.runOutsideAngular(()=>{if(ce.isBrowser){const Ke=this._getWindow();Ke.addEventListener("resize",this._changeListener),Ke.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ce=this._getWindow();ce.removeEventListener("resize",this._changeListener),ce.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ce={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ce}getViewportRect(){const ce=this.getViewportScrollPosition(),{width:it,height:ue}=this.getViewportSize();return{top:ce.top,left:ce.left,bottom:ce.top+ue,right:ce.left+it,height:ue,width:it}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ce=this._document,it=this._getWindow(),ue=ce.documentElement,Ke=ue.getBoundingClientRect();return{top:-Ke.top||ce.body.scrollTop||it.scrollY||ue.scrollTop||0,left:-Ke.left||ce.body.scrollLeft||it.scrollX||ue.scrollLeft||0}}change(ce=20){return ce>0?this._change.pipe(fe(ce)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ce=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ce.innerWidth,height:ce.innerHeight}:{width:0,height:0}}}return Fe.\u0275fac=function(ce){return new(ce||Fe)(i.LFG(Ne.t4),i.LFG(i.R0b),i.LFG(gt.K0,8))},Fe.\u0275prov=i.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})(),xe=(()=>{class Fe{}return Fe.\u0275fac=function(ce){return new(ce||Fe)},Fe.\u0275mod=i.oAB({type:Fe}),Fe.\u0275inj=i.cJS({}),Fe})(),Dt=(()=>{class Fe{}return Fe.\u0275fac=function(ce){return new(ce||Fe)},Fe.\u0275mod=i.oAB({type:Fe}),Fe.\u0275inj=i.cJS({imports:[N.vT,xe,N.vT,xe]}),Fe})()},4654:(Rt,je,a)=>{a.d(je,{pN:()=>X,hD:()=>st,O_:()=>pe,Kb:()=>it,fo:()=>Je,QJ:()=>At,Z4:()=>ne,qM:()=>Ke,fe:()=>$e,Af:()=>Ge,D5:()=>we,xN:()=>ue,s$:()=>xe,r2:()=>Et,_J:()=>Qe,Sq:()=>ce,zC:()=>Nt,HT:()=>Xe,Hx:()=>xt,T$:()=>De,$E:()=>vt,FT:()=>ft,bH:()=>St,pF:()=>Ae,nl:()=>et,oF:()=>mt});var r=a(445),i=a(1281),d=a(5017),D=a(3353),u=a(4098),T=a(6895),F=a(4650),w=a(7579),p=a(2076),W=a(1135),ae=a(9751),se=a(576),me=a(9646),fe=a(2722),Se=a(5698);const Ze=[[["caption"]],[["colgroup"],["col"]]],Ne=["caption","colgroup, col"];function gt(Y,oe){if(1&Y&&(F.TgZ(0,"th",3),F._uU(1),F.qZA()),2&Y){const x=F.oxw();F.Udp("text-align",x.justify),F.xp6(1),F.hij(" ",x.headerText," ")}}function N(Y,oe){if(1&Y&&(F.TgZ(0,"td",4),F._uU(1),F.qZA()),2&Y){const x=oe.$implicit,h=F.oxw();F.Udp("text-align",h.justify),F.xp6(1),F.hij(" ",h.dataAccessor(x,h.name)," ")}}function B(Y){return class extends Y{constructor(...oe){super(...oe),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(oe){const x=this._sticky;this._sticky=(0,i.Ig)(oe),this._hasStickyChanged=x!==this._sticky}hasStickyChanged(){const oe=this._hasStickyChanged;return this._hasStickyChanged=!1,oe}resetStickyChanged(){this._hasStickyChanged=!1}}}const X=new F.OlP("CDK_TABLE"),ie=new F.OlP("text-column-options");let pe=(()=>{class Y{constructor(x){this.template=x}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.Rgc))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","cdkCellDef",""]]}),Y})(),we=(()=>{class Y{constructor(x){this.template=x}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.Rgc))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","cdkHeaderCellDef",""]]}),Y})(),ne=(()=>{class Y{constructor(x){this.template=x}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.Rgc))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","cdkFooterCellDef",""]]}),Y})();class ge{}const Ve=B(ge);let Je=(()=>{class Y extends Ve{constructor(x){super(),this._table=x,this._stickyEnd=!1}get name(){return this._name}set name(x){this._setNameInput(x)}get stickyEnd(){return this._stickyEnd}set stickyEnd(x){const h=this._stickyEnd;this._stickyEnd=(0,i.Ig)(x),this._hasStickyChanged=h!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(x){x&&(this._name=x,this.cssClassFriendlyName=x.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(X,8))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","cdkColumnDef",""]],contentQueries:function(x,h,v){if(1&x&&(F.Suo(v,pe,5),F.Suo(v,we,5),F.Suo(v,ne,5)),2&x){let c;F.iGM(c=F.CRH())&&(h.cell=c.first),F.iGM(c=F.CRH())&&(h.headerCell=c.first),F.iGM(c=F.CRH())&&(h.footerCell=c.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[F._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Y}]),F.qOj]}),Y})();class pt{constructor(oe,x){x.nativeElement.classList.add(...oe._columnCssClassName)}}let Ge=(()=>{class Y extends pt{constructor(x,h){super(x,h)}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(Je),F.Y36(F.SBq))},Y.\u0275dir=F.lG2({type:Y,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[F.qOj]}),Y})(),At=(()=>{class Y extends pt{constructor(x,h){if(super(x,h),1===x._table?._elementRef.nativeElement.nodeType){const v=x._table._elementRef.nativeElement.getAttribute("role");h.nativeElement.setAttribute("role","grid"===v||"treegrid"===v?"gridcell":"cell")}}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(Je),F.Y36(F.SBq))},Y.\u0275dir=F.lG2({type:Y,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[F.qOj]}),Y})(),st=(()=>{class Y extends pt{constructor(x,h){if(super(x,h),1===x._table?._elementRef.nativeElement.nodeType){const v=x._table._elementRef.nativeElement.getAttribute("role");h.nativeElement.setAttribute("role","grid"===v||"treegrid"===v?"gridcell":"cell")}}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(Je),F.Y36(F.SBq))},Y.\u0275dir=F.lG2({type:Y,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[F.qOj]}),Y})();class _t{constructor(){this.tasks=[],this.endTasks=[]}}const et=new F.OlP("_COALESCED_STYLE_SCHEDULER");let mt=(()=>{class Y{constructor(x){this._ngZone=x,this._currentSchedule=null,this._destroyed=new w.x}schedule(x){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(x)}scheduleEnd(x){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(x)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new _t,this._getScheduleObservable().pipe((0,fe.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const x=this._currentSchedule;this._currentSchedule=new _t;for(const h of x.tasks)h();for(const h of x.endTasks)h()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,p.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,Se.q)(1))}}return Y.\u0275fac=function(x){return new(x||Y)(F.LFG(F.R0b))},Y.\u0275prov=F.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),G=(()=>{class Y{constructor(x,h){this.template=x,this._differs=h}ngOnChanges(x){if(!this._columnsDiffer){const h=x.columns&&x.columns.currentValue||[];this._columnsDiffer=this._differs.find(h).create(),this._columnsDiffer.diff(h)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(x){return this instanceof xe?x.headerCell.template:this instanceof $e?x.footerCell.template:x.cell.template}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.Rgc),F.Y36(F.ZZ4))},Y.\u0275dir=F.lG2({type:Y,features:[F.TTD]}),Y})();class de extends G{}const ye=B(de);let xe=(()=>{class Y extends ye{constructor(x,h,v){super(x,h),this._table=v}ngOnChanges(x){super.ngOnChanges(x)}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.Rgc),F.Y36(F.ZZ4),F.Y36(X,8))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[F.qOj,F.TTD]}),Y})();class Dt extends G{}const Fe=B(Dt);let $e=(()=>{class Y extends Fe{constructor(x,h,v){super(x,h),this._table=v}ngOnChanges(x){super.ngOnChanges(x)}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.Rgc),F.Y36(F.ZZ4),F.Y36(X,8))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[F.qOj,F.TTD]}),Y})(),ce=(()=>{class Y extends G{constructor(x,h,v){super(x,h),this._table=v}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.Rgc),F.Y36(F.ZZ4),F.Y36(X,8))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[F.qOj]}),Y})(),it=(()=>{class Y{constructor(x){this._viewContainer=x,Y.mostRecentCellOutlet=this}ngOnDestroy(){Y.mostRecentCellOutlet===this&&(Y.mostRecentCellOutlet=null)}}return Y.mostRecentCellOutlet=null,Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.s_b))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","cdkCellOutlet",""]]}),Y})(),ue=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275cmp=F.Xpm({type:Y,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(x,h){1&x&&F.GkF(0,0)},dependencies:[it],encapsulation:2}),Y})(),Ke=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275cmp=F.Xpm({type:Y,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(x,h){1&x&&F.GkF(0,0)},dependencies:[it],encapsulation:2}),Y})(),Qe=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275cmp=F.Xpm({type:Y,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(x,h){1&x&&F.GkF(0,0)},dependencies:[it],encapsulation:2}),Y})(),Et=(()=>{class Y{constructor(x){this.templateRef=x,this._contentClassName="cdk-no-data-row"}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.Rgc))},Y.\u0275dir=F.lG2({type:Y,selectors:[["ng-template","cdkNoDataRow",""]]}),Y})();const Yt=["top","bottom","left","right"];class Qt{constructor(oe,x,h,v,c=!0,b=!0,E){this._isNativeHtmlTable=oe,this._stickCellCss=x,this.direction=h,this._coalescedStyleScheduler=v,this._isBrowser=c,this._needsPositionStickyOnElement=b,this._positionListener=E,this._cachedCellWidths=[],this._borderCellCss={top:`${x}-border-elem-top`,bottom:`${x}-border-elem-bottom`,left:`${x}-border-elem-left`,right:`${x}-border-elem-right`}}clearStickyPositioning(oe,x){const h=[];for(const v of oe)if(v.nodeType===v.ELEMENT_NODE){h.push(v);for(let c=0;c{for(const v of h)this._removeStickyStyle(v,x)})}updateStickyColumns(oe,x,h,v=!0){if(!oe.length||!this._isBrowser||!x.some(nt=>nt)&&!h.some(nt=>nt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const c=oe[0],b=c.children.length,E=this._getCellWidths(c,v),O=this._getStickyStartColumnPositions(E,x),R=this._getStickyEndColumnPositions(E,h),z=x.lastIndexOf(!0),Re=h.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const nt="rtl"===this.direction,wt=nt?"right":"left",Tt=nt?"left":"right";for(const jt of oe)for(let en=0;enx[en]?jt:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Re?[]:E.slice(Re).map((jt,en)=>h[en+Re]?jt:null).reverse()}))})}stickRows(oe,x,h){if(!this._isBrowser)return;const v="bottom"===h?oe.slice().reverse():oe,c="bottom"===h?x.slice().reverse():x,b=[],E=[],O=[];for(let z=0,Re=0;z{for(let z=0;z{x.some(v=>!v)?this._removeStickyStyle(h,["bottom"]):this._addStickyStyle(h,"bottom",0,!1)})}_removeStickyStyle(oe,x){for(const v of x)oe.style[v]="",oe.classList.remove(this._borderCellCss[v]);Yt.some(v=>-1===x.indexOf(v)&&oe.style[v])?oe.style.zIndex=this._getCalculatedZIndex(oe):(oe.style.zIndex="",this._needsPositionStickyOnElement&&(oe.style.position=""),oe.classList.remove(this._stickCellCss))}_addStickyStyle(oe,x,h,v){oe.classList.add(this._stickCellCss),v&&oe.classList.add(this._borderCellCss[x]),oe.style[x]=`${h}px`,oe.style.zIndex=this._getCalculatedZIndex(oe),this._needsPositionStickyOnElement&&(oe.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(oe){const x={top:100,bottom:10,left:1,right:1};let h=0;for(const v of Yt)oe.style[v]&&(h+=x[v]);return h?`${h}`:""}_getCellWidths(oe,x=!0){if(!x&&this._cachedCellWidths.length)return this._cachedCellWidths;const h=[],v=oe.children;for(let c=0;c0;c--)x[c]&&(h[c]=v,v+=oe[c]);return h}}const Ae=new F.OlP("CDK_SPL");let De=(()=>{class Y{constructor(x,h){this.viewContainer=x,this.elementRef=h}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.s_b),F.Y36(F.SBq))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","rowOutlet",""]]}),Y})(),ft=(()=>{class Y{constructor(x,h){this.viewContainer=x,this.elementRef=h}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.s_b),F.Y36(F.SBq))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","headerRowOutlet",""]]}),Y})(),vt=(()=>{class Y{constructor(x,h){this.viewContainer=x,this.elementRef=h}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.s_b),F.Y36(F.SBq))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","footerRowOutlet",""]]}),Y})(),St=(()=>{class Y{constructor(x,h){this.viewContainer=x,this.elementRef=h}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.s_b),F.Y36(F.SBq))},Y.\u0275dir=F.lG2({type:Y,selectors:[["","noDataRowOutlet",""]]}),Y})(),Nt=(()=>{class Y{constructor(x,h,v,c,b,E,O,R,z,Re,nt,wt){this._differs=x,this._changeDetectorRef=h,this._elementRef=v,this._dir=b,this._platform=O,this._viewRepeater=R,this._coalescedStyleScheduler=z,this._viewportRuler=Re,this._stickyPositioningListener=nt,this._ngZone=wt,this._onDestroy=new w.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 F.vpe,this.viewChange=new W.X({start:0,end:Number.MAX_VALUE}),c||this._elementRef.nativeElement.setAttribute("role","table"),this._document=E,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(x){this._trackByFn=x}get dataSource(){return this._dataSource}set dataSource(x){this._dataSource!==x&&this._switchDataSource(x)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(x){this._multiTemplateDataRows=(0,i.Ig)(x),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(x){this._fixedLayout=(0,i.Ig)(x),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((x,h)=>this.trackBy?this.trackBy(h.dataIndex,h.data):h),this._viewportRuler.change().pipe((0,fe.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const h=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||h,this._forceRecalculateCellWidths=h,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(x=>{x.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,d.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const x=this._dataDiffer.diff(this._renderRows);if(!x)return this._updateNoDataRow(),void this.contentChanged.next();const h=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(x,h,(v,c,b)=>this._getEmbeddedViewArgs(v.item,b),v=>v.item.data,v=>{1===v.operation&&v.context&&this._renderCellTemplateForItem(v.record.item.rowDef,v.context)}),this._updateRowIndexContext(),x.forEachIdentityChange(v=>{h.get(v.currentIndex).context.$implicit=v.item.data}),this._updateNoDataRow(),this._ngZone&&F.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,Se.q)(1),(0,fe.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(x){this._customColumnDefs.add(x)}removeColumnDef(x){this._customColumnDefs.delete(x)}addRowDef(x){this._customRowDefs.add(x)}removeRowDef(x){this._customRowDefs.delete(x)}addHeaderRowDef(x){this._customHeaderRowDefs.add(x),this._headerRowDefChanged=!0}removeHeaderRowDef(x){this._customHeaderRowDefs.delete(x),this._headerRowDefChanged=!0}addFooterRowDef(x){this._customFooterRowDefs.add(x),this._footerRowDefChanged=!0}removeFooterRowDef(x){this._customFooterRowDefs.delete(x),this._footerRowDefChanged=!0}setNoDataRow(x){this._customNoDataRow=x}updateStickyHeaderRowStyles(){const x=this._getRenderedRows(this._headerRowOutlet),v=this._elementRef.nativeElement.querySelector("thead");v&&(v.style.display=x.length?"":"none");const c=this._headerRowDefs.map(b=>b.sticky);this._stickyStyler.clearStickyPositioning(x,["top"]),this._stickyStyler.stickRows(x,c,"top"),this._headerRowDefs.forEach(b=>b.resetStickyChanged())}updateStickyFooterRowStyles(){const x=this._getRenderedRows(this._footerRowOutlet),v=this._elementRef.nativeElement.querySelector("tfoot");v&&(v.style.display=x.length?"":"none");const c=this._footerRowDefs.map(b=>b.sticky);this._stickyStyler.clearStickyPositioning(x,["bottom"]),this._stickyStyler.stickRows(x,c,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,c),this._footerRowDefs.forEach(b=>b.resetStickyChanged())}updateStickyColumnStyles(){const x=this._getRenderedRows(this._headerRowOutlet),h=this._getRenderedRows(this._rowOutlet),v=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...x,...h,...v],["left","right"]),this._stickyColumnStylesNeedReset=!1),x.forEach((c,b)=>{this._addStickyColumnStyles([c],this._headerRowDefs[b])}),this._rowDefs.forEach(c=>{const b=[];for(let E=0;E{this._addStickyColumnStyles([c],this._footerRowDefs[b])}),Array.from(this._columnDefsByName.values()).forEach(c=>c.resetStickyChanged())}_getAllRenderRows(){const x=[],h=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let v=0;v{const E=v&&v.has(b)?v.get(b):[];if(E.length){const O=E.shift();return O.dataIndex=h,O}return{data:x,rowDef:b,dataIndex:h}})}_cacheColumnDefs(){this._columnDefsByName.clear(),ht(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(h=>{this._columnDefsByName.has(h.name),this._columnDefsByName.set(h.name,h)})}_cacheRowDefs(){this._headerRowDefs=ht(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=ht(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=ht(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const x=this._rowDefs.filter(h=>!h.when);this._defaultRowDef=x[0]}_renderUpdatedColumns(){const x=(b,E)=>b||!!E.getColumnsDiff(),h=this._rowDefs.reduce(x,!1);h&&this._forceRenderDataRows();const v=this._headerRowDefs.reduce(x,!1);v&&this._forceRenderHeaderRows();const c=this._footerRowDefs.reduce(x,!1);return c&&this._forceRenderFooterRows(),h||v||c}_switchDataSource(x){this._data=[],(0,d.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),x||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=x}_observeRenderChanges(){if(!this.dataSource)return;let x;(0,d.Z9)(this.dataSource)?x=this.dataSource.connect(this):function le(Y){return!!Y&&(Y instanceof ae.y||(0,se.m)(Y.lift)&&(0,se.m)(Y.subscribe))}(this.dataSource)?x=this.dataSource:Array.isArray(this.dataSource)&&(x=(0,me.of)(this.dataSource)),this._renderChangeSubscription=x.pipe((0,fe.R)(this._onDestroy)).subscribe(h=>{this._data=h||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((x,h)=>this._renderRow(this._headerRowOutlet,x,h)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((x,h)=>this._renderRow(this._footerRowOutlet,x,h)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(x,h){const v=Array.from(h.columns||[]).map(E=>this._columnDefsByName.get(E)),c=v.map(E=>E.sticky),b=v.map(E=>E.stickyEnd);this._stickyStyler.updateStickyColumns(x,c,b,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(x){const h=[];for(let v=0;v!c.when||c.when(h,x));else{let c=this._rowDefs.find(b=>b.when&&b.when(h,x))||this._defaultRowDef;c&&v.push(c)}return v}_getEmbeddedViewArgs(x,h){return{templateRef:x.rowDef.template,context:{$implicit:x.data},index:h}}_renderRow(x,h,v,c={}){const b=x.viewContainer.createEmbeddedView(h.template,c,v);return this._renderCellTemplateForItem(h,c),b}_renderCellTemplateForItem(x,h){for(let v of this._getCellTemplates(x))it.mostRecentCellOutlet&&it.mostRecentCellOutlet._viewContainer.createEmbeddedView(v,h);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const x=this._rowOutlet.viewContainer;for(let h=0,v=x.length;h{const v=this._columnDefsByName.get(h);return x.extractCellTemplate(v)}):[]}_applyNativeTableSections(){const x=this._document.createDocumentFragment(),h=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const v of h){const c=this._document.createElement(v.tag);c.setAttribute("role","rowgroup");for(const b of v.outlets)c.appendChild(b.elementRef.nativeElement);x.appendChild(c)}this._elementRef.nativeElement.appendChild(x)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const x=(h,v)=>h||v.hasStickyChanged();this._headerRowDefs.reduce(x,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(x,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(x,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Qt(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,me.of)()).pipe((0,fe.R)(this._onDestroy)).subscribe(h=>{this._stickyStyler.direction=h,this.updateStickyColumnStyles()})}_getOwnDefs(x){return x.filter(h=>!h._table||h._table===this)}_updateNoDataRow(){const x=this._customNoDataRow||this._noDataRow;if(!x)return;const h=0===this._rowOutlet.viewContainer.length;if(h===this._isShowingNoDataRow)return;const v=this._noDataRowOutlet.viewContainer;if(h){const c=v.createEmbeddedView(x.templateRef),b=c.rootNodes[0];1===c.rootNodes.length&&b?.nodeType===this._document.ELEMENT_NODE&&(b.setAttribute("role","row"),b.classList.add(x._contentClassName))}else v.clear();this._isShowingNoDataRow=h}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(F.ZZ4),F.Y36(F.sBO),F.Y36(F.SBq),F.$8M("role"),F.Y36(r.Is,8),F.Y36(T.K0),F.Y36(D.t4),F.Y36(d.k),F.Y36(et),F.Y36(u.rL),F.Y36(Ae,12),F.Y36(F.R0b,8))},Y.\u0275cmp=F.Xpm({type:Y,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(x,h,v){if(1&x&&(F.Suo(v,Et,5),F.Suo(v,Je,5),F.Suo(v,ce,5),F.Suo(v,xe,5),F.Suo(v,$e,5)),2&x){let c;F.iGM(c=F.CRH())&&(h._noDataRow=c.first),F.iGM(c=F.CRH())&&(h._contentColumnDefs=c),F.iGM(c=F.CRH())&&(h._contentRowDefs=c),F.iGM(c=F.CRH())&&(h._contentHeaderRowDefs=c),F.iGM(c=F.CRH())&&(h._contentFooterRowDefs=c)}},viewQuery:function(x,h){if(1&x&&(F.Gf(De,7),F.Gf(ft,7),F.Gf(vt,7),F.Gf(St,7)),2&x){let v;F.iGM(v=F.CRH())&&(h._rowOutlet=v.first),F.iGM(v=F.CRH())&&(h._headerRowOutlet=v.first),F.iGM(v=F.CRH())&&(h._footerRowOutlet=v.first),F.iGM(v=F.CRH())&&(h._noDataRowOutlet=v.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(x,h){2&x&&F.ekj("cdk-table-fixed-layout",h.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[F._Bn([{provide:X,useExisting:Y},{provide:d.k,useClass:d.yy},{provide:et,useClass:mt},{provide:Ae,useValue:null}])],ngContentSelectors:Ne,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(x,h){1&x&&(F.F$t(Ze),F.Hsn(0),F.Hsn(1,1),F.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[De,ft,vt,St],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),Y})();function ht(Y,oe){return Y.concat(Array.from(oe))}let xt=(()=>{class Y{constructor(x,h){this._table=x,this._options=h,this.justify="start",this._options=h||{}}get name(){return this._name}set name(x){this._name=x,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((x,h)=>x[h])),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 x=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(x):x[0].toUpperCase()+x.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return Y.\u0275fac=function(x){return new(x||Y)(F.Y36(Nt,8),F.Y36(ie,8))},Y.\u0275cmp=F.Xpm({type:Y,selectors:[["cdk-text-column"]],viewQuery:function(x,h){if(1&x&&(F.Gf(Je,7),F.Gf(pe,7),F.Gf(we,7)),2&x){let v;F.iGM(v=F.CRH())&&(h.columnDef=v.first),F.iGM(v=F.CRH())&&(h.cell=v.first),F.iGM(v=F.CRH())&&(h.headerCell=v.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(x,h){1&x&&(F.ynx(0,0),F.YNc(1,gt,2,3,"th",1),F.YNc(2,N,2,3,"td",2),F.BQk())},dependencies:[pe,we,Je,st,Ge],encapsulation:2}),Y})(),Xe=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275mod=F.oAB({type:Y}),Y.\u0275inj=F.cJS({imports:[u.Cl]}),Y})()},6895:(Rt,je,a)=>{a.d(je,{Do:()=>N,ED:()=>Ai,EM:()=>Jn,HT:()=>u,JF:()=>rr,K0:()=>F,Mx:()=>be,NF:()=>Bn,O5:()=>Nn,Ov:()=>Ni,PC:()=>Xi,PM:()=>Vn,RF:()=>Ii,S$:()=>Ze,V_:()=>W,Ye:()=>B,b0:()=>gt,bD:()=>U,ez:()=>Ot,mk:()=>ve,n9:()=>xi,q:()=>d,qS:()=>Te,sg:()=>jn,tP:()=>pr,uU:()=>Hi,w_:()=>T});var r=a(4650);let i=null;function d(){return i}function u(I){i||(i=I)}class T{}const F=new r.OlP("DocumentToken");let w=(()=>{class I{historyGo(k){throw new Error("Not implemented")}}return I.\u0275fac=function(k){return new(k||I)},I.\u0275prov=r.Yz7({token:I,factory:function(){return function p(){return(0,r.LFG)(ae)}()},providedIn:"platform"}),I})();const W=new r.OlP("Location Initialized");let ae=(()=>{class I extends w{constructor(k){super(),this._doc=k,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(k){const _e=d().getGlobalEventTarget(this._doc,"window");return _e.addEventListener("popstate",k,!1),()=>_e.removeEventListener("popstate",k)}onHashChange(k){const _e=d().getGlobalEventTarget(this._doc,"window");return _e.addEventListener("hashchange",k,!1),()=>_e.removeEventListener("hashchange",k)}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(k){this.location.pathname=k}pushState(k,_e,dt){se()?this._history.pushState(k,_e,dt):this.location.hash=dt}replaceState(k,_e,dt){se()?this._history.replaceState(k,_e,dt):this.location.hash=dt}forward(){this._history.forward()}back(){this._history.back()}historyGo(k=0){this._history.go(k)}getState(){return this._history.state}}return I.\u0275fac=function(k){return new(k||I)(r.LFG(F))},I.\u0275prov=r.Yz7({token:I,factory:function(){return function le(){return new ae((0,r.LFG)(F))}()},providedIn:"platform"}),I})();function se(){return!!window.history.pushState}function me(I,q){if(0==I.length)return q;if(0==q.length)return I;let k=0;return I.endsWith("/")&&k++,q.startsWith("/")&&k++,2==k?I+q.substring(1):1==k?I+q:I+"/"+q}function fe(I){const q=I.match(/#|\?|$/),k=q&&q.index||I.length;return I.slice(0,k-("/"===I[k-1]?1:0))+I.slice(k)}function Se(I){return I&&"?"!==I[0]?"?"+I:I}let Ze=(()=>{class I{historyGo(k){throw new Error("Not implemented")}}return I.\u0275fac=function(k){return new(k||I)},I.\u0275prov=r.Yz7({token:I,factory:function(){return(0,r.f3M)(gt)},providedIn:"root"}),I})();const Ne=new r.OlP("appBaseHref");let gt=(()=>{class I extends Ze{constructor(k,_e){super(),this._platformLocation=k,this._removeListenerFns=[],this._baseHref=_e??this._platformLocation.getBaseHrefFromDOM()??(0,r.f3M)(F).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(k){this._removeListenerFns.push(this._platformLocation.onPopState(k),this._platformLocation.onHashChange(k))}getBaseHref(){return this._baseHref}prepareExternalUrl(k){return me(this._baseHref,k)}path(k=!1){const _e=this._platformLocation.pathname+Se(this._platformLocation.search),dt=this._platformLocation.hash;return dt&&k?`${_e}${dt}`:_e}pushState(k,_e,dt,Lt){const zt=this.prepareExternalUrl(dt+Se(Lt));this._platformLocation.pushState(k,_e,zt)}replaceState(k,_e,dt,Lt){const zt=this.prepareExternalUrl(dt+Se(Lt));this._platformLocation.replaceState(k,_e,zt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(k=0){this._platformLocation.historyGo?.(k)}}return I.\u0275fac=function(k){return new(k||I)(r.LFG(w),r.LFG(Ne,8))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),N=(()=>{class I extends Ze{constructor(k,_e){super(),this._platformLocation=k,this._baseHref="",this._removeListenerFns=[],null!=_e&&(this._baseHref=_e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(k){this._removeListenerFns.push(this._platformLocation.onPopState(k),this._platformLocation.onHashChange(k))}getBaseHref(){return this._baseHref}path(k=!1){let _e=this._platformLocation.hash;return null==_e&&(_e="#"),_e.length>0?_e.substring(1):_e}prepareExternalUrl(k){const _e=me(this._baseHref,k);return _e.length>0?"#"+_e:_e}pushState(k,_e,dt,Lt){let zt=this.prepareExternalUrl(dt+Se(Lt));0==zt.length&&(zt=this._platformLocation.pathname),this._platformLocation.pushState(k,_e,zt)}replaceState(k,_e,dt,Lt){let zt=this.prepareExternalUrl(dt+Se(Lt));0==zt.length&&(zt=this._platformLocation.pathname),this._platformLocation.replaceState(k,_e,zt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(k=0){this._platformLocation.historyGo?.(k)}}return I.\u0275fac=function(k){return new(k||I)(r.LFG(w),r.LFG(Ne,8))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),B=(()=>{class I{constructor(k){this._subject=new r.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=k;const _e=this._locationStrategy.getBaseHref();this._baseHref=fe(pe(_e)),this._locationStrategy.onPopState(dt=>{this._subject.emit({url:this.path(!0),pop:!0,state:dt.state,type:dt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(k=!1){return this.normalize(this._locationStrategy.path(k))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(k,_e=""){return this.path()==this.normalize(k+Se(_e))}normalize(k){return I.stripTrailingSlash(function ie(I,q){return I&&q.startsWith(I)?q.substring(I.length):q}(this._baseHref,pe(k)))}prepareExternalUrl(k){return k&&"/"!==k[0]&&(k="/"+k),this._locationStrategy.prepareExternalUrl(k)}go(k,_e="",dt=null){this._locationStrategy.pushState(dt,"",k,_e),this._notifyUrlChangeListeners(this.prepareExternalUrl(k+Se(_e)),dt)}replaceState(k,_e="",dt=null){this._locationStrategy.replaceState(dt,"",k,_e),this._notifyUrlChangeListeners(this.prepareExternalUrl(k+Se(_e)),dt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(k=0){this._locationStrategy.historyGo?.(k)}onUrlChange(k){return this._urlChangeListeners.push(k),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(_e=>{this._notifyUrlChangeListeners(_e.url,_e.state)})),()=>{const _e=this._urlChangeListeners.indexOf(k);this._urlChangeListeners.splice(_e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(k="",_e){this._urlChangeListeners.forEach(dt=>dt(k,_e))}subscribe(k,_e,dt){return this._subject.subscribe({next:k,error:_e,complete:dt})}}return I.normalizeQueryParams=Se,I.joinWithSlash=me,I.stripTrailingSlash=fe,I.\u0275fac=function(k){return new(k||I)(r.LFG(Ze))},I.\u0275prov=r.Yz7({token:I,factory:function(){return function X(){return new B((0,r.LFG)(Ze))}()},providedIn:"root"}),I})();function pe(I){return I.replace(/\/index.html$/,"")}var Ve=(()=>((Ve=Ve||{})[Ve.Format=0]="Format",Ve[Ve.Standalone=1]="Standalone",Ve))(),Je=(()=>((Je=Je||{})[Je.Narrow=0]="Narrow",Je[Je.Abbreviated=1]="Abbreviated",Je[Je.Wide=2]="Wide",Je[Je.Short=3]="Short",Je))(),pt=(()=>((pt=pt||{})[pt.Short=0]="Short",pt[pt.Medium=1]="Medium",pt[pt.Long=2]="Long",pt[pt.Full=3]="Full",pt))(),Ge=(()=>((Ge=Ge||{})[Ge.Decimal=0]="Decimal",Ge[Ge.Group=1]="Group",Ge[Ge.List=2]="List",Ge[Ge.PercentSign=3]="PercentSign",Ge[Ge.PlusSign=4]="PlusSign",Ge[Ge.MinusSign=5]="MinusSign",Ge[Ge.Exponential=6]="Exponential",Ge[Ge.SuperscriptingExponent=7]="SuperscriptingExponent",Ge[Ge.PerMille=8]="PerMille",Ge[Ge.Infinity=9]="Infinity",Ge[Ge.NaN=10]="NaN",Ge[Ge.TimeSeparator=11]="TimeSeparator",Ge[Ge.CurrencyDecimal=12]="CurrencyDecimal",Ge[Ge.CurrencyGroup=13]="CurrencyGroup",Ge))();function ye(I,q){return Vt((0,r.cg1)(I)[r.wAp.DateFormat],q)}function xe(I,q){return Vt((0,r.cg1)(I)[r.wAp.TimeFormat],q)}function Dt(I,q){return Vt((0,r.cg1)(I)[r.wAp.DateTimeFormat],q)}function Fe(I,q){const k=(0,r.cg1)(I),_e=k[r.wAp.NumberSymbols][q];if(typeof _e>"u"){if(q===Ge.CurrencyDecimal)return k[r.wAp.NumberSymbols][Ge.Decimal];if(q===Ge.CurrencyGroup)return k[r.wAp.NumberSymbols][Ge.Group]}return _e}function Et(I){if(!I[r.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${I[r.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Vt(I,q){for(let k=q;k>-1;k--)if(typeof I[k]<"u")return I[k];throw new Error("Locale data API: locale data undefined")}function qe(I){const[q,k]=I.split(":");return{hours:+q,minutes:+k}}const J=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ue={},Ae=/((?:[^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 Ee=(()=>((Ee=Ee||{})[Ee.Short=0]="Short",Ee[Ee.ShortGMT=1]="ShortGMT",Ee[Ee.Long=2]="Long",Ee[Ee.Extended=3]="Extended",Ee))(),De=(()=>((De=De||{})[De.FullYear=0]="FullYear",De[De.Month=1]="Month",De[De.Date=2]="Date",De[De.Hours=3]="Hours",De[De.Minutes=4]="Minutes",De[De.Seconds=5]="Seconds",De[De.FractionalSeconds=6]="FractionalSeconds",De[De.Day=7]="Day",De))(),ft=(()=>((ft=ft||{})[ft.DayPeriods=0]="DayPeriods",ft[ft.Days=1]="Days",ft[ft.Months=2]="Months",ft[ft.Eras=3]="Eras",ft))();function vt(I,q,k,_e){let dt=function wt(I){if(jt(I))return I;if("number"==typeof I&&!isNaN(I))return new Date(I);if("string"==typeof I){if(I=I.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(I)){const[dt,Lt=1,zt=1]=I.split("-").map(dn=>+dn);return St(dt,Lt-1,zt)}const k=parseFloat(I);if(!isNaN(I-k))return new Date(k);let _e;if(_e=I.match(J))return function Tt(I){const q=new Date(0);let k=0,_e=0;const dt=I[8]?q.setUTCFullYear:q.setFullYear,Lt=I[8]?q.setUTCHours:q.setHours;I[9]&&(k=Number(I[9]+I[10]),_e=Number(I[9]+I[11])),dt.call(q,Number(I[1]),Number(I[2])-1,Number(I[3]));const zt=Number(I[4]||0)-k,dn=Number(I[5]||0)-_e,bn=Number(I[6]||0),Rn=Math.floor(1e3*parseFloat("0."+(I[7]||0)));return Lt.call(q,zt,dn,bn,Rn),q}(_e)}const q=new Date(I);if(!jt(q))throw new Error(`Unable to convert "${I}" into a date`);return q}(I);q=Bt(k,q)||q;let dn,zt=[];for(;q;){if(dn=Ae.exec(q),!dn){zt.push(q);break}{zt=zt.concat(dn.slice(1));const Gn=zt.pop();if(!Gn)break;q=Gn}}let bn=dt.getTimezoneOffset();_e&&(bn=z(_e,bn),dt=function nt(I,q,k){const _e=k?-1:1,dt=I.getTimezoneOffset();return function Re(I,q){return(I=new Date(I.getTime())).setMinutes(I.getMinutes()+q),I}(I,_e*(z(q,dt)-dt))}(dt,_e,!0));let Rn="";return zt.forEach(Gn=>{const Dn=function R(I){if(O[I])return O[I];let q;switch(I){case"G":case"GG":case"GGG":q=Xe(ft.Eras,Je.Abbreviated);break;case"GGGG":q=Xe(ft.Eras,Je.Wide);break;case"GGGGG":q=Xe(ft.Eras,Je.Narrow);break;case"y":q=xt(De.FullYear,1,0,!1,!0);break;case"yy":q=xt(De.FullYear,2,0,!0,!0);break;case"yyy":q=xt(De.FullYear,3,0,!1,!0);break;case"yyyy":q=xt(De.FullYear,4,0,!1,!0);break;case"Y":q=E(1);break;case"YY":q=E(2,!0);break;case"YYY":q=E(3);break;case"YYYY":q=E(4);break;case"M":case"L":q=xt(De.Month,1,1);break;case"MM":case"LL":q=xt(De.Month,2,1);break;case"MMM":q=Xe(ft.Months,Je.Abbreviated);break;case"MMMM":q=Xe(ft.Months,Je.Wide);break;case"MMMMM":q=Xe(ft.Months,Je.Narrow);break;case"LLL":q=Xe(ft.Months,Je.Abbreviated,Ve.Standalone);break;case"LLLL":q=Xe(ft.Months,Je.Wide,Ve.Standalone);break;case"LLLLL":q=Xe(ft.Months,Je.Narrow,Ve.Standalone);break;case"w":q=b(1);break;case"ww":q=b(2);break;case"W":q=b(1,!0);break;case"d":q=xt(De.Date,1);break;case"dd":q=xt(De.Date,2);break;case"c":case"cc":q=xt(De.Day,1);break;case"ccc":q=Xe(ft.Days,Je.Abbreviated,Ve.Standalone);break;case"cccc":q=Xe(ft.Days,Je.Wide,Ve.Standalone);break;case"ccccc":q=Xe(ft.Days,Je.Narrow,Ve.Standalone);break;case"cccccc":q=Xe(ft.Days,Je.Short,Ve.Standalone);break;case"E":case"EE":case"EEE":q=Xe(ft.Days,Je.Abbreviated);break;case"EEEE":q=Xe(ft.Days,Je.Wide);break;case"EEEEE":q=Xe(ft.Days,Je.Narrow);break;case"EEEEEE":q=Xe(ft.Days,Je.Short);break;case"a":case"aa":case"aaa":q=Xe(ft.DayPeriods,Je.Abbreviated);break;case"aaaa":q=Xe(ft.DayPeriods,Je.Wide);break;case"aaaaa":q=Xe(ft.DayPeriods,Je.Narrow);break;case"b":case"bb":case"bbb":q=Xe(ft.DayPeriods,Je.Abbreviated,Ve.Standalone,!0);break;case"bbbb":q=Xe(ft.DayPeriods,Je.Wide,Ve.Standalone,!0);break;case"bbbbb":q=Xe(ft.DayPeriods,Je.Narrow,Ve.Standalone,!0);break;case"B":case"BB":case"BBB":q=Xe(ft.DayPeriods,Je.Abbreviated,Ve.Format,!0);break;case"BBBB":q=Xe(ft.DayPeriods,Je.Wide,Ve.Format,!0);break;case"BBBBB":q=Xe(ft.DayPeriods,Je.Narrow,Ve.Format,!0);break;case"h":q=xt(De.Hours,1,-12);break;case"hh":q=xt(De.Hours,2,-12);break;case"H":q=xt(De.Hours,1);break;case"HH":q=xt(De.Hours,2);break;case"m":q=xt(De.Minutes,1);break;case"mm":q=xt(De.Minutes,2);break;case"s":q=xt(De.Seconds,1);break;case"ss":q=xt(De.Seconds,2);break;case"S":q=xt(De.FractionalSeconds,1);break;case"SS":q=xt(De.FractionalSeconds,2);break;case"SSS":q=xt(De.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":q=oe(Ee.Short);break;case"ZZZZZ":q=oe(Ee.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":q=oe(Ee.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":q=oe(Ee.Long);break;default:return null}return O[I]=q,q}(Gn);Rn+=Dn?Dn(dt,k,bn):"''"===Gn?"'":Gn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Rn}function St(I,q,k){const _e=new Date(0);return _e.setFullYear(I,q,k),_e.setHours(0,0,0),_e}function Bt(I,q){const k=function st(I){return(0,r.cg1)(I)[r.wAp.LocaleId]}(I);if(Ue[k]=Ue[k]||{},Ue[k][q])return Ue[k][q];let _e="";switch(q){case"shortDate":_e=ye(I,pt.Short);break;case"mediumDate":_e=ye(I,pt.Medium);break;case"longDate":_e=ye(I,pt.Long);break;case"fullDate":_e=ye(I,pt.Full);break;case"shortTime":_e=xe(I,pt.Short);break;case"mediumTime":_e=xe(I,pt.Medium);break;case"longTime":_e=xe(I,pt.Long);break;case"fullTime":_e=xe(I,pt.Full);break;case"short":const dt=Bt(I,"shortTime"),Lt=Bt(I,"shortDate");_e=on(Dt(I,pt.Short),[dt,Lt]);break;case"medium":const zt=Bt(I,"mediumTime"),dn=Bt(I,"mediumDate");_e=on(Dt(I,pt.Medium),[zt,dn]);break;case"long":const bn=Bt(I,"longTime"),Rn=Bt(I,"longDate");_e=on(Dt(I,pt.Long),[bn,Rn]);break;case"full":const Gn=Bt(I,"fullTime"),Dn=Bt(I,"fullDate");_e=on(Dt(I,pt.Full),[Gn,Dn])}return _e&&(Ue[k][q]=_e),_e}function on(I,q){return q&&(I=I.replace(/\{([^}]+)}/g,function(k,_e){return null!=q&&_e in q?q[_e]:k})),I}function Nt(I,q,k="-",_e,dt){let Lt="";(I<0||dt&&I<=0)&&(dt?I=1-I:(I=-I,Lt=k));let zt=String(I);for(;zt.length0||dn>-k)&&(dn+=k),I===De.Hours)0===dn&&-12===k&&(dn=12);else if(I===De.FractionalSeconds)return function ht(I,q){return Nt(I,3).substring(0,q)}(dn,q);const bn=Fe(zt,Ge.MinusSign);return Nt(dn,q,bn,_e,dt)}}function Xe(I,q,k=Ve.Format,_e=!1){return function(dt,Lt){return function Y(I,q,k,_e,dt,Lt){switch(k){case ft.Months:return function mt(I,q,k){const _e=(0,r.cg1)(I),Lt=Vt([_e[r.wAp.MonthsFormat],_e[r.wAp.MonthsStandalone]],q);return Vt(Lt,k)}(q,dt,_e)[I.getMonth()];case ft.Days:return function et(I,q,k){const _e=(0,r.cg1)(I),Lt=Vt([_e[r.wAp.DaysFormat],_e[r.wAp.DaysStandalone]],q);return Vt(Lt,k)}(q,dt,_e)[I.getDay()];case ft.DayPeriods:const zt=I.getHours(),dn=I.getMinutes();if(Lt){const Rn=function Yt(I){const q=(0,r.cg1)(I);return Et(q),(q[r.wAp.ExtraData][2]||[]).map(_e=>"string"==typeof _e?qe(_e):[qe(_e[0]),qe(_e[1])])}(q),Gn=function Qt(I,q,k){const _e=(0,r.cg1)(I);Et(_e);const Lt=Vt([_e[r.wAp.ExtraData][0],_e[r.wAp.ExtraData][1]],q)||[];return Vt(Lt,k)||[]}(q,dt,_e),Dn=Rn.findIndex(Yn=>{if(Array.isArray(Yn)){const[In,si]=Yn,Wi=zt>=In.hours&&dn>=In.minutes,Bi=zt0?Math.floor(dt/60):Math.ceil(dt/60);switch(I){case Ee.Short:return(dt>=0?"+":"")+Nt(zt,2,Lt)+Nt(Math.abs(dt%60),2,Lt);case Ee.ShortGMT:return"GMT"+(dt>=0?"+":"")+Nt(zt,1,Lt);case Ee.Long:return"GMT"+(dt>=0?"+":"")+Nt(zt,2,Lt)+":"+Nt(Math.abs(dt%60),2,Lt);case Ee.Extended:return 0===_e?"Z":(dt>=0?"+":"")+Nt(zt,2,Lt)+":"+Nt(Math.abs(dt%60),2,Lt);default:throw new Error(`Unknown zone width "${I}"`)}}}function c(I){return St(I.getFullYear(),I.getMonth(),I.getDate()+(4-I.getDay()))}function b(I,q=!1){return function(k,_e){let dt;if(q){const Lt=new Date(k.getFullYear(),k.getMonth(),1).getDay()-1,zt=k.getDate();dt=1+Math.floor((zt+Lt)/7)}else{const Lt=c(k),zt=function v(I){const q=St(I,0,1).getDay();return St(I,0,1+(q<=4?4:11)-q)}(Lt.getFullYear()),dn=Lt.getTime()-zt.getTime();dt=1+Math.round(dn/6048e5)}return Nt(dt,I,Fe(_e,Ge.MinusSign))}}function E(I,q=!1){return function(k,_e){return Nt(c(k).getFullYear(),I,Fe(_e,Ge.MinusSign),q)}}const O={};function z(I,q){I=I.replace(/:/g,"");const k=Date.parse("Jan 01, 1970 00:00:00 "+I)/6e4;return isNaN(k)?q:k}function jt(I){return I instanceof Date&&!isNaN(I.valueOf())}function Te(I,q,k){return(0,r.dwT)(I,q,k)}function be(I,q){q=encodeURIComponent(q);for(const k of I.split(";")){const _e=k.indexOf("="),[dt,Lt]=-1==_e?[k,""]:[k.slice(0,_e),k.slice(_e+1)];if(dt.trim()===q)return decodeURIComponent(Lt)}return null}let ve=(()=>{class I{constructor(k,_e,dt,Lt){this._iterableDiffers=k,this._keyValueDiffers=_e,this._ngEl=dt,this._renderer=Lt,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(k){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof k?k.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(k){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof k?k.split(/\s+/):k,this._rawClass&&((0,r.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const k=this._iterableDiffer.diff(this._rawClass);k&&this._applyIterableChanges(k)}else if(this._keyValueDiffer){const k=this._keyValueDiffer.diff(this._rawClass);k&&this._applyKeyValueChanges(k)}}_applyKeyValueChanges(k){k.forEachAddedItem(_e=>this._toggleClass(_e.key,_e.currentValue)),k.forEachChangedItem(_e=>this._toggleClass(_e.key,_e.currentValue)),k.forEachRemovedItem(_e=>{_e.previousValue&&this._toggleClass(_e.key,!1)})}_applyIterableChanges(k){k.forEachAddedItem(_e=>{if("string"!=typeof _e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,r.AaK)(_e.item)}`);this._toggleClass(_e.item,!0)}),k.forEachRemovedItem(_e=>this._toggleClass(_e.item,!1))}_applyClasses(k){k&&(Array.isArray(k)||k instanceof Set?k.forEach(_e=>this._toggleClass(_e,!0)):Object.keys(k).forEach(_e=>this._toggleClass(_e,!!k[_e])))}_removeClasses(k){k&&(Array.isArray(k)||k instanceof Set?k.forEach(_e=>this._toggleClass(_e,!1)):Object.keys(k).forEach(_e=>this._toggleClass(_e,!1)))}_toggleClass(k,_e){(k=k.trim())&&k.split(/\s+/g).forEach(dt=>{_e?this._renderer.addClass(this._ngEl.nativeElement,dt):this._renderer.removeClass(this._ngEl.nativeElement,dt)})}}return I.\u0275fac=function(k){return new(k||I)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),I})();class Fn{constructor(q,k,_e,dt){this.$implicit=q,this.ngForOf=k,this.index=_e,this.count=dt}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 jn=(()=>{class I{constructor(k,_e,dt){this._viewContainer=k,this._template=_e,this._differs=dt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(k){this._ngForOf=k,this._ngForOfDirty=!0}set ngForTrackBy(k){this._trackByFn=k}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(k){k&&(this._template=k)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const k=this._ngForOf;!this._differ&&k&&(this._differ=this._differs.find(k).create(this.ngForTrackBy))}if(this._differ){const k=this._differ.diff(this._ngForOf);k&&this._applyChanges(k)}}_applyChanges(k){const _e=this._viewContainer;k.forEachOperation((dt,Lt,zt)=>{if(null==dt.previousIndex)_e.createEmbeddedView(this._template,new Fn(dt.item,this._ngForOf,-1,-1),null===zt?void 0:zt);else if(null==zt)_e.remove(null===Lt?void 0:Lt);else if(null!==Lt){const dn=_e.get(Lt);_e.move(dn,zt),$n(dn,dt)}});for(let dt=0,Lt=_e.length;dt{$n(_e.get(dt.currentIndex),dt)})}static ngTemplateContextGuard(k,_e){return!0}}return I.\u0275fac=function(k){return new(k||I)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),I})();function $n(I,q){I.context.$implicit=q.item}let Nn=(()=>{class I{constructor(k,_e){this._viewContainer=k,this._context=new ii,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=_e}set ngIf(k){this._context.$implicit=this._context.ngIf=k,this._updateView()}set ngIfThen(k){Xn("ngIfThen",k),this._thenTemplateRef=k,this._thenViewRef=null,this._updateView()}set ngIfElse(k){Xn("ngIfElse",k),this._elseTemplateRef=k,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(k,_e){return!0}}return I.\u0275fac=function(k){return new(k||I)(r.Y36(r.s_b),r.Y36(r.Rgc))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),I})();class ii{constructor(){this.$implicit=null,this.ngIf=null}}function Xn(I,q){if(q&&!q.createEmbeddedView)throw new Error(`${I} must be a TemplateRef, but received '${(0,r.AaK)(q)}'.`)}class mi{constructor(q,k){this._viewContainerRef=q,this._templateRef=k,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(q){q&&!this._created?this.create():!q&&this._created&&this.destroy()}}let Ii=(()=>{class I{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(k){this._ngSwitch=k,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(k){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(k)}_matchCase(k){const _e=k==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||_e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),_e}_updateDefaultCases(k){if(this._defaultViews&&k!==this._defaultUsed){this._defaultUsed=k;for(let _e=0;_e{class I{constructor(k,_e,dt){this.ngSwitch=dt,dt._addCase(),this._view=new mi(k,_e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return I.\u0275fac=function(k){return new(k||I)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(Ii,9))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),I})(),Ai=(()=>{class I{constructor(k,_e,dt){dt._addDefault(new mi(k,_e))}}return I.\u0275fac=function(k){return new(k||I)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(Ii,9))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngSwitchDefault",""]],standalone:!0}),I})(),Xi=(()=>{class I{constructor(k,_e,dt){this._ngEl=k,this._differs=_e,this._renderer=dt,this._ngStyle=null,this._differ=null}set ngStyle(k){this._ngStyle=k,!this._differ&&k&&(this._differ=this._differs.find(k).create())}ngDoCheck(){if(this._differ){const k=this._differ.diff(this._ngStyle);k&&this._applyChanges(k)}}_setStyle(k,_e){const[dt,Lt]=k.split("."),zt=-1===dt.indexOf("-")?void 0:r.JOm.DashCase;null!=_e?this._renderer.setStyle(this._ngEl.nativeElement,dt,Lt?`${_e}${Lt}`:_e,zt):this._renderer.removeStyle(this._ngEl.nativeElement,dt,zt)}_applyChanges(k){k.forEachRemovedItem(_e=>this._setStyle(_e.key,null)),k.forEachAddedItem(_e=>this._setStyle(_e.key,_e.currentValue)),k.forEachChangedItem(_e=>this._setStyle(_e.key,_e.currentValue))}}return I.\u0275fac=function(k){return new(k||I)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),I})(),pr=(()=>{class I{constructor(k){this._viewContainerRef=k,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(k){if(k.ngTemplateOutlet||k.ngTemplateOutletInjector){const _e=this._viewContainerRef;if(this._viewRef&&_e.remove(_e.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:dt,ngTemplateOutletContext:Lt,ngTemplateOutletInjector:zt}=this;this._viewRef=_e.createEmbeddedView(dt,Lt,zt?{injector:zt}:void 0)}else this._viewRef=null}else this._viewRef&&k.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return I.\u0275fac=function(k){return new(k||I)(r.Y36(r.s_b))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[r.TTD]}),I})();function hi(I,q){return new r.vHH(2100,!1)}class Cr{createSubscription(q,k){return q.subscribe({next:k,error:_e=>{throw _e}})}dispose(q){q.unsubscribe()}}class ds{createSubscription(q,k){return q.then(k,_e=>{throw _e})}dispose(q){}}const er=new ds,ji=new Cr;let Ni=(()=>{class I{constructor(k){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=k}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(k){return this._obj?k!==this._obj?(this._dispose(),this.transform(k)):this._latestValue:(k&&this._subscribe(k),this._latestValue)}_subscribe(k){this._obj=k,this._strategy=this._selectStrategy(k),this._subscription=this._strategy.createSubscription(k,_e=>this._updateLatestValue(k,_e))}_selectStrategy(k){if((0,r.QGY)(k))return er;if((0,r.F4k)(k))return ji;throw hi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(k,_e){k===this._obj&&(this._latestValue=_e,this._ref.markForCheck())}}return I.\u0275fac=function(k){return new(k||I)(r.Y36(r.sBO,16))},I.\u0275pipe=r.Yjl({name:"async",type:I,pure:!1,standalone:!0}),I})();const Mr=new r.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Hi=(()=>{class I{constructor(k,_e){this.locale=k,this.defaultTimezone=_e}transform(k,_e="mediumDate",dt,Lt){if(null==k||""===k||k!=k)return null;try{return vt(k,_e,Lt||this.locale,dt??this.defaultTimezone??void 0)}catch(zt){throw hi()}}}return I.\u0275fac=function(k){return new(k||I)(r.Y36(r.soG,16),r.Y36(Mr,24))},I.\u0275pipe=r.Yjl({name:"date",type:I,pure:!0,standalone:!0}),I})(),Ot=(()=>{class I{}return I.\u0275fac=function(k){return new(k||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({}),I})();const U="browser";function Bn(I){return I===U}function Vn(I){return"server"===I}let Jn=(()=>{class I{}return I.\u0275prov=(0,r.Yz7)({token:I,providedIn:"root",factory:()=>new ir((0,r.LFG)(F),window)}),I})();class ir{constructor(q,k){this.document=q,this.window=k,this.offset=()=>[0,0]}setOffset(q){this.offset=Array.isArray(q)?()=>q:q}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(q){this.supportsScrolling()&&this.window.scrollTo(q[0],q[1])}scrollToAnchor(q){if(!this.supportsScrolling())return;const k=function pi(I,q){const k=I.getElementById(q)||I.getElementsByName(q)[0];if(k)return k;if("function"==typeof I.createTreeWalker&&I.body&&(I.body.createShadowRoot||I.body.attachShadow)){const _e=I.createTreeWalker(I.body,NodeFilter.SHOW_ELEMENT);let dt=_e.currentNode;for(;dt;){const Lt=dt.shadowRoot;if(Lt){const zt=Lt.getElementById(q)||Lt.querySelector(`[name="${q}"]`);if(zt)return zt}dt=_e.nextNode()}}return null}(this.document,q);k&&(this.scrollToElement(k),k.focus())}setHistoryScrollRestoration(q){if(this.supportScrollRestoration()){const k=this.window.history;k&&k.scrollRestoration&&(k.scrollRestoration=q)}}scrollToElement(q){const k=q.getBoundingClientRect(),_e=k.left+this.window.pageXOffset,dt=k.top+this.window.pageYOffset,Lt=this.offset();this.window.scrollTo(_e-Lt[0],dt-Lt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const q=$i(this.window.history)||$i(Object.getPrototypeOf(this.window.history));return!(!q||!q.writable&&!q.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function $i(I){return Object.getOwnPropertyDescriptor(I,"scrollRestoration")}class rr{}},529:(Rt,je,a)=>{a.d(je,{JF:()=>M,LE:()=>Ne,TP:()=>et,WM:()=>W,eN:()=>st});var r=a(6895),i=a(4650),d=a(9646),D=a(9751),u=a(4351),T=a(9300),F=a(4004);class w{}class p{}class W{constructor(Ee){this.normalizedNames=new Map,this.lazyUpdate=null,Ee?this.lazyInit="string"==typeof Ee?()=>{this.headers=new Map,Ee.split("\n").forEach(De=>{const ft=De.indexOf(":");if(ft>0){const vt=De.slice(0,ft),St=vt.toLowerCase(),Bt=De.slice(ft+1).trim();this.maybeSetNormalizedName(vt,St),this.headers.has(St)?this.headers.get(St).push(Bt):this.headers.set(St,[Bt])}})}:()=>{this.headers=new Map,Object.keys(Ee).forEach(De=>{let ft=Ee[De];const vt=De.toLowerCase();"string"==typeof ft&&(ft=[ft]),ft.length>0&&(this.headers.set(vt,ft),this.maybeSetNormalizedName(De,vt))})}:this.headers=new Map}has(Ee){return this.init(),this.headers.has(Ee.toLowerCase())}get(Ee){this.init();const De=this.headers.get(Ee.toLowerCase());return De&&De.length>0?De[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ee){return this.init(),this.headers.get(Ee.toLowerCase())||null}append(Ee,De){return this.clone({name:Ee,value:De,op:"a"})}set(Ee,De){return this.clone({name:Ee,value:De,op:"s"})}delete(Ee,De){return this.clone({name:Ee,value:De,op:"d"})}maybeSetNormalizedName(Ee,De){this.normalizedNames.has(De)||this.normalizedNames.set(De,Ee)}init(){this.lazyInit&&(this.lazyInit instanceof W?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ee=>this.applyUpdate(Ee)),this.lazyUpdate=null))}copyFrom(Ee){Ee.init(),Array.from(Ee.headers.keys()).forEach(De=>{this.headers.set(De,Ee.headers.get(De)),this.normalizedNames.set(De,Ee.normalizedNames.get(De))})}clone(Ee){const De=new W;return De.lazyInit=this.lazyInit&&this.lazyInit instanceof W?this.lazyInit:this,De.lazyUpdate=(this.lazyUpdate||[]).concat([Ee]),De}applyUpdate(Ee){const De=Ee.name.toLowerCase();switch(Ee.op){case"a":case"s":let ft=Ee.value;if("string"==typeof ft&&(ft=[ft]),0===ft.length)return;this.maybeSetNormalizedName(Ee.name,De);const vt=("a"===Ee.op?this.headers.get(De):void 0)||[];vt.push(...ft),this.headers.set(De,vt);break;case"d":const St=Ee.value;if(St){let Bt=this.headers.get(De);if(!Bt)return;Bt=Bt.filter(on=>-1===St.indexOf(on)),0===Bt.length?(this.headers.delete(De),this.normalizedNames.delete(De)):this.headers.set(De,Bt)}else this.headers.delete(De),this.normalizedNames.delete(De)}}forEach(Ee){this.init(),Array.from(this.normalizedNames.keys()).forEach(De=>Ee(this.normalizedNames.get(De),this.headers.get(De)))}}class se{encodeKey(Ee){return Se(Ee)}encodeValue(Ee){return Se(Ee)}decodeKey(Ee){return decodeURIComponent(Ee)}decodeValue(Ee){return decodeURIComponent(Ee)}}const me=/%(\d[a-f0-9])/gi,fe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Se(Ae){return encodeURIComponent(Ae).replace(me,(Ee,De)=>fe[De]??Ee)}function Ze(Ae){return`${Ae}`}class Ne{constructor(Ee={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ee.encoder||new se,Ee.fromString){if(Ee.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function le(Ae,Ee){const De=new Map;return Ae.length>0&&Ae.replace(/^\?/,"").split("&").forEach(vt=>{const St=vt.indexOf("="),[Bt,on]=-1==St?[Ee.decodeKey(vt),""]:[Ee.decodeKey(vt.slice(0,St)),Ee.decodeValue(vt.slice(St+1))],Nt=De.get(Bt)||[];Nt.push(on),De.set(Bt,Nt)}),De}(Ee.fromString,this.encoder)}else Ee.fromObject?(this.map=new Map,Object.keys(Ee.fromObject).forEach(De=>{const ft=Ee.fromObject[De],vt=Array.isArray(ft)?ft.map(Ze):[Ze(ft)];this.map.set(De,vt)})):this.map=null}has(Ee){return this.init(),this.map.has(Ee)}get(Ee){this.init();const De=this.map.get(Ee);return De?De[0]:null}getAll(Ee){return this.init(),this.map.get(Ee)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ee,De){return this.clone({param:Ee,value:De,op:"a"})}appendAll(Ee){const De=[];return Object.keys(Ee).forEach(ft=>{const vt=Ee[ft];Array.isArray(vt)?vt.forEach(St=>{De.push({param:ft,value:St,op:"a"})}):De.push({param:ft,value:vt,op:"a"})}),this.clone(De)}set(Ee,De){return this.clone({param:Ee,value:De,op:"s"})}delete(Ee,De){return this.clone({param:Ee,value:De,op:"d"})}toString(){return this.init(),this.keys().map(Ee=>{const De=this.encoder.encodeKey(Ee);return this.map.get(Ee).map(ft=>De+"="+this.encoder.encodeValue(ft)).join("&")}).filter(Ee=>""!==Ee).join("&")}clone(Ee){const De=new Ne({encoder:this.encoder});return De.cloneFrom=this.cloneFrom||this,De.updates=(this.updates||[]).concat(Ee),De}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ee=>this.map.set(Ee,this.cloneFrom.map.get(Ee))),this.updates.forEach(Ee=>{switch(Ee.op){case"a":case"s":const De=("a"===Ee.op?this.map.get(Ee.param):void 0)||[];De.push(Ze(Ee.value)),this.map.set(Ee.param,De);break;case"d":if(void 0===Ee.value){this.map.delete(Ee.param);break}{let ft=this.map.get(Ee.param)||[];const vt=ft.indexOf(Ze(Ee.value));-1!==vt&&ft.splice(vt,1),ft.length>0?this.map.set(Ee.param,ft):this.map.delete(Ee.param)}}}),this.cloneFrom=this.updates=null)}}class N{constructor(){this.map=new Map}set(Ee,De){return this.map.set(Ee,De),this}get(Ee){return this.map.has(Ee)||this.map.set(Ee,Ee.defaultValue()),this.map.get(Ee)}delete(Ee){return this.map.delete(Ee),this}has(Ee){return this.map.has(Ee)}keys(){return this.map.keys()}}function X(Ae){return typeof ArrayBuffer<"u"&&Ae instanceof ArrayBuffer}function ie(Ae){return typeof Blob<"u"&&Ae instanceof Blob}function pe(Ae){return typeof FormData<"u"&&Ae instanceof FormData}class ne{constructor(Ee,De,ft,vt){let St;if(this.url=De,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ee.toUpperCase(),function B(Ae){switch(Ae){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||vt?(this.body=void 0!==ft?ft:null,St=vt):St=ft,St&&(this.reportProgress=!!St.reportProgress,this.withCredentials=!!St.withCredentials,St.responseType&&(this.responseType=St.responseType),St.headers&&(this.headers=St.headers),St.context&&(this.context=St.context),St.params&&(this.params=St.params)),this.headers||(this.headers=new W),this.context||(this.context=new N),this.params){const Bt=this.params.toString();if(0===Bt.length)this.urlWithParams=De;else{const on=De.indexOf("?");this.urlWithParams=De+(-1===on?"?":onOe.set(Xe,Ee.setHeaders[Xe]),Nt)),Ee.setParams&&(ht=Object.keys(Ee.setParams).reduce((Oe,Xe)=>Oe.set(Xe,Ee.setParams[Xe]),ht)),new ne(De,ft,St,{params:ht,headers:Nt,context:xt,reportProgress:on,responseType:vt,withCredentials:Bt})}}var ge=(()=>((ge=ge||{})[ge.Sent=0]="Sent",ge[ge.UploadProgress=1]="UploadProgress",ge[ge.ResponseHeader=2]="ResponseHeader",ge[ge.DownloadProgress=3]="DownloadProgress",ge[ge.Response=4]="Response",ge[ge.User=5]="User",ge))();class Ve{constructor(Ee,De=200,ft="OK"){this.headers=Ee.headers||new W,this.status=void 0!==Ee.status?Ee.status:De,this.statusText=Ee.statusText||ft,this.url=Ee.url||null,this.ok=this.status>=200&&this.status<300}}class Je extends Ve{constructor(Ee={}){super(Ee),this.type=ge.ResponseHeader}clone(Ee={}){return new Je({headers:Ee.headers||this.headers,status:void 0!==Ee.status?Ee.status:this.status,statusText:Ee.statusText||this.statusText,url:Ee.url||this.url||void 0})}}class pt extends Ve{constructor(Ee={}){super(Ee),this.type=ge.Response,this.body=void 0!==Ee.body?Ee.body:null}clone(Ee={}){return new pt({body:void 0!==Ee.body?Ee.body:this.body,headers:Ee.headers||this.headers,status:void 0!==Ee.status?Ee.status:this.status,statusText:Ee.statusText||this.statusText,url:Ee.url||this.url||void 0})}}class Ge extends Ve{constructor(Ee){super(Ee,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ee.url||"(unknown url)"}`:`Http failure response for ${Ee.url||"(unknown url)"}: ${Ee.status} ${Ee.statusText}`,this.error=Ee.error||null}}function At(Ae,Ee){return{body:Ee,headers:Ae.headers,context:Ae.context,observe:Ae.observe,params:Ae.params,reportProgress:Ae.reportProgress,responseType:Ae.responseType,withCredentials:Ae.withCredentials}}let st=(()=>{class Ae{constructor(De){this.handler=De}request(De,ft,vt={}){let St;if(De instanceof ne)St=De;else{let Nt,ht;Nt=vt.headers instanceof W?vt.headers:new W(vt.headers),vt.params&&(ht=vt.params instanceof Ne?vt.params:new Ne({fromObject:vt.params})),St=new ne(De,ft,void 0!==vt.body?vt.body:null,{headers:Nt,context:vt.context,params:ht,reportProgress:vt.reportProgress,responseType:vt.responseType||"json",withCredentials:vt.withCredentials})}const Bt=(0,d.of)(St).pipe((0,u.b)(Nt=>this.handler.handle(Nt)));if(De instanceof ne||"events"===vt.observe)return Bt;const on=Bt.pipe((0,T.h)(Nt=>Nt instanceof pt));switch(vt.observe||"body"){case"body":switch(St.responseType){case"arraybuffer":return on.pipe((0,F.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Nt.body}));case"blob":return on.pipe((0,F.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof Blob))throw new Error("Response is not a Blob.");return Nt.body}));case"text":return on.pipe((0,F.U)(Nt=>{if(null!==Nt.body&&"string"!=typeof Nt.body)throw new Error("Response is not a string.");return Nt.body}));default:return on.pipe((0,F.U)(Nt=>Nt.body))}case"response":return on;default:throw new Error(`Unreachable: unhandled observe type ${vt.observe}}`)}}delete(De,ft={}){return this.request("DELETE",De,ft)}get(De,ft={}){return this.request("GET",De,ft)}head(De,ft={}){return this.request("HEAD",De,ft)}jsonp(De,ft){return this.request("JSONP",De,{params:(new Ne).append(ft,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(De,ft={}){return this.request("OPTIONS",De,ft)}patch(De,ft,vt={}){return this.request("PATCH",De,At(vt,ft))}post(De,ft,vt={}){return this.request("POST",De,At(vt,ft))}put(De,ft,vt={}){return this.request("PUT",De,At(vt,ft))}}return Ae.\u0275fac=function(De){return new(De||Ae)(i.LFG(w))},Ae.\u0275prov=i.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})();class _t{constructor(Ee,De){this.next=Ee,this.interceptor=De}handle(Ee){return this.interceptor.intercept(Ee,this.next)}}const et=new i.OlP("HTTP_INTERCEPTORS");let mt=(()=>{class Ae{intercept(De,ft){return ft.handle(De)}}return Ae.\u0275fac=function(De){return new(De||Ae)},Ae.\u0275prov=i.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})();const it=/^\)\]\}',?\n/;let Ke=(()=>{class Ae{constructor(De){this.xhrFactory=De}handle(De){if("JSONP"===De.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new D.y(ft=>{const vt=this.xhrFactory.build();if(vt.open(De.method,De.urlWithParams),De.withCredentials&&(vt.withCredentials=!0),De.headers.forEach((Y,oe)=>vt.setRequestHeader(Y,oe.join(","))),De.headers.has("Accept")||vt.setRequestHeader("Accept","application/json, text/plain, */*"),!De.headers.has("Content-Type")){const Y=De.detectContentTypeHeader();null!==Y&&vt.setRequestHeader("Content-Type",Y)}if(De.responseType){const Y=De.responseType.toLowerCase();vt.responseType="json"!==Y?Y:"text"}const St=De.serializeBody();let Bt=null;const on=()=>{if(null!==Bt)return Bt;const Y=vt.statusText||"OK",oe=new W(vt.getAllResponseHeaders()),x=function ue(Ae){return"responseURL"in Ae&&Ae.responseURL?Ae.responseURL:/^X-Request-URL:/m.test(Ae.getAllResponseHeaders())?Ae.getResponseHeader("X-Request-URL"):null}(vt)||De.url;return Bt=new Je({headers:oe,status:vt.status,statusText:Y,url:x}),Bt},Nt=()=>{let{headers:Y,status:oe,statusText:x,url:h}=on(),v=null;204!==oe&&(v=typeof vt.response>"u"?vt.responseText:vt.response),0===oe&&(oe=v?200:0);let c=oe>=200&&oe<300;if("json"===De.responseType&&"string"==typeof v){const b=v;v=v.replace(it,"");try{v=""!==v?JSON.parse(v):null}catch(E){v=b,c&&(c=!1,v={error:E,text:v})}}c?(ft.next(new pt({body:v,headers:Y,status:oe,statusText:x,url:h||void 0})),ft.complete()):ft.error(new Ge({error:v,headers:Y,status:oe,statusText:x,url:h||void 0}))},ht=Y=>{const{url:oe}=on(),x=new Ge({error:Y,status:vt.status||0,statusText:vt.statusText||"Unknown Error",url:oe||void 0});ft.error(x)};let xt=!1;const Oe=Y=>{xt||(ft.next(on()),xt=!0);let oe={type:ge.DownloadProgress,loaded:Y.loaded};Y.lengthComputable&&(oe.total=Y.total),"text"===De.responseType&&!!vt.responseText&&(oe.partialText=vt.responseText),ft.next(oe)},Xe=Y=>{let oe={type:ge.UploadProgress,loaded:Y.loaded};Y.lengthComputable&&(oe.total=Y.total),ft.next(oe)};return vt.addEventListener("load",Nt),vt.addEventListener("error",ht),vt.addEventListener("timeout",ht),vt.addEventListener("abort",ht),De.reportProgress&&(vt.addEventListener("progress",Oe),null!==St&&vt.upload&&vt.upload.addEventListener("progress",Xe)),vt.send(St),ft.next({type:ge.Sent}),()=>{vt.removeEventListener("error",ht),vt.removeEventListener("abort",ht),vt.removeEventListener("load",Nt),vt.removeEventListener("timeout",ht),De.reportProgress&&(vt.removeEventListener("progress",Oe),null!==St&&vt.upload&&vt.upload.removeEventListener("progress",Xe)),vt.readyState!==vt.DONE&&vt.abort()}})}}return Ae.\u0275fac=function(De){return new(De||Ae)(i.LFG(r.JF))},Ae.\u0275prov=i.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})();const Qe=new i.OlP("XSRF_COOKIE_NAME"),Et=new i.OlP("XSRF_HEADER_NAME");class Yt{}let Qt=(()=>{class Ae{constructor(De,ft,vt){this.doc=De,this.platform=ft,this.cookieName=vt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const De=this.doc.cookie||"";return De!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(De,this.cookieName),this.lastCookieString=De),this.lastToken}}return Ae.\u0275fac=function(De){return new(De||Ae)(i.LFG(r.K0),i.LFG(i.Lbi),i.LFG(Qe))},Ae.\u0275prov=i.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})(),Wt=(()=>{class Ae{constructor(De,ft){this.tokenService=De,this.headerName=ft}intercept(De,ft){const vt=De.url.toLowerCase();if("GET"===De.method||"HEAD"===De.method||vt.startsWith("http://")||vt.startsWith("https://"))return ft.handle(De);const St=this.tokenService.getToken();return null!==St&&!De.headers.has(this.headerName)&&(De=De.clone({headers:De.headers.set(this.headerName,St)})),ft.handle(De)}}return Ae.\u0275fac=function(De){return new(De||Ae)(i.LFG(Yt),i.LFG(Et))},Ae.\u0275prov=i.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})(),Vt=(()=>{class Ae{constructor(De,ft){this.backend=De,this.injector=ft,this.chain=null}handle(De){if(null===this.chain){const ft=this.injector.get(et,[]);this.chain=ft.reduceRight((vt,St)=>new _t(vt,St),this.backend)}return this.chain.handle(De)}}return Ae.\u0275fac=function(De){return new(De||Ae)(i.LFG(p),i.LFG(i.zs3))},Ae.\u0275prov=i.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})(),S=(()=>{class Ae{static disable(){return{ngModule:Ae,providers:[{provide:Wt,useClass:mt}]}}static withOptions(De={}){return{ngModule:Ae,providers:[De.cookieName?{provide:Qe,useValue:De.cookieName}:[],De.headerName?{provide:Et,useValue:De.headerName}:[]]}}}return Ae.\u0275fac=function(De){return new(De||Ae)},Ae.\u0275mod=i.oAB({type:Ae}),Ae.\u0275inj=i.cJS({providers:[Wt,{provide:et,useExisting:Wt,multi:!0},{provide:Yt,useClass:Qt},{provide:Qe,useValue:"XSRF-TOKEN"},{provide:Et,useValue:"X-XSRF-TOKEN"}]}),Ae})(),M=(()=>{class Ae{}return Ae.\u0275fac=function(De){return new(De||Ae)},Ae.\u0275mod=i.oAB({type:Ae}),Ae.\u0275inj=i.cJS({providers:[st,{provide:w,useClass:Vt},Ke,{provide:p,useExisting:Ke}],imports:[S.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Ae})()},4650:(Rt,je,a)=>{a.d(je,{$8M:()=>Is,$Z:()=>Mh,AFp:()=>Nm,ALo:()=>im,AaK:()=>w,Akn:()=>zr,AsE:()=>Kc,B6R:()=>v,BQk:()=>Qa,CHM:()=>ps,CRH:()=>fm,CZH:()=>ll,CqO:()=>pp,D6c:()=>CD,DdM:()=>$f,EJc:()=>LC,EiD:()=>Uu,EpF:()=>up,F$t:()=>vp,F4k:()=>hp,FYo:()=>eh,FiY:()=>Yo,G48:()=>iD,Gf:()=>hm,GfV:()=>th,GkF:()=>Vc,Gpc:()=>ae,Gre:()=>Qp,Hsn:()=>yp,Ikx:()=>Qc,JOm:()=>ss,JVY:()=>w_,Jf7:()=>nh,KtG:()=>qr,L6k:()=>E_,LAX:()=>A_,LFG:()=>Si,LSH:()=>Wl,Lbi:()=>IC,Lck:()=>k0,MAs:()=>dp,MMx:()=>od,NdJ:()=>Uc,O4$:()=>Pn,OlP:()=>qn,Oqu:()=>Wc,PXZ:()=>JC,Q6J:()=>Lc,QGY:()=>Hc,QP$:()=>jt,QbO:()=>kC,Qsj:()=>ov,R0b:()=>kr,RDi:()=>v_,Rgc:()=>ma,SBq:()=>ta,Sil:()=>NC,Suo:()=>pm,TTD:()=>gr,TgZ:()=>Za,Tol:()=>Fp,Udp:()=>Yc,VKq:()=>Zf,W1O:()=>vm,WFA:()=>Gc,WLB:()=>Wf,X6Q:()=>nD,XFs:()=>Vt,Xpm:()=>h,Xts:()=>Ql,Y36:()=>mo,YKP:()=>Bf,YNc:()=>cp,Yjl:()=>Re,Yz7:()=>xe,Z0I:()=>ce,ZZ4:()=>Td,_Bn:()=>Lf,_UZ:()=>Nc,_Vd:()=>ea,_c5:()=>yD,_uU:()=>Gp,aQg:()=>Pd,c2e:()=>RC,cJS:()=>Fe,cg1:()=>qc,d8E:()=>Jc,dDg:()=>ZC,dqk:()=>vt,dwT:()=>kb,eBb:()=>S_,eFA:()=>Jm,ekj:()=>$c,eoX:()=>Wm,evT:()=>ih,f3M:()=>Qd,g9A:()=>Hm,h0i:()=>To,hGG:()=>bD,hij:()=>qa,iGM:()=>um,ifc:()=>ft,ip1:()=>Bm,jDz:()=>Vf,kEZ:()=>Kf,kL8:()=>lf,kcU:()=>Sn,l5B:()=>Qf,lG2:()=>z,lcZ:()=>rm,lqb:()=>Zs,lri:()=>$m,mCW:()=>Pa,n5z:()=>gl,n_E:()=>il,oAB:()=>E,oJD:()=>Gu,oxw:()=>_p,pB0:()=>O_,q3G:()=>Di,qLn:()=>na,qOj:()=>Ic,qZA:()=>Wa,qbA:()=>Jf,qzn:()=>co,rWj:()=>Zm,s9C:()=>zc,sBO:()=>rD,sIi:()=>sa,s_b:()=>sl,soG:()=>cl,tb:()=>Um,tp0:()=>$o,uIk:()=>Fc,uOi:()=>Kl,vHH:()=>fe,vpe:()=>cs,wAp:()=>En,xi3:()=>sm,xp6:()=>dh,ynx:()=>Ka,z2F:()=>dl,z3N:()=>bs,zSh:()=>Xl,zs3:()=>Ws});var r=a(7579),i=a(727),d=a(9751),D=a(6451),u=a(3099);function T(e){for(let t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function F(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function w(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(w).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 p(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const W=T({__forward_ref__:T});function ae(e){return e.__forward_ref__=ae,e.toString=function(){return w(this())},e}function se(e){return le(e)?e():e}function le(e){return"function"==typeof e&&e.hasOwnProperty(W)&&e.__forward_ref__===ae}class fe extends Error{constructor(t,n){super(function Se(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Ze(e){return"string"==typeof e?e:null==e?"":String(e)}function X(e,t){throw new fe(-201,!1)}function mt(e,t){null==e&&function he(e,t,n,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${n} ${s} ${t} <=Actual]`))}(t,e,null,"!=")}function xe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Fe(e){return{providers:e.providers||[],imports:e.imports||[]}}function $e(e){return it(e,Et)||it(e,Qt)}function ce(e){return null!==$e(e)}function it(e,t){return e.hasOwnProperty(t)?e[t]:null}function Qe(e){return e&&(e.hasOwnProperty(Yt)||e.hasOwnProperty(Wt))?e[Yt]:null}const Et=T({\u0275prov:T}),Yt=T({\u0275inj:T}),Qt=T({ngInjectableDef:T}),Wt=T({ngInjectorDef:T});var Vt=(()=>((Vt=Vt||{})[Vt.Default=0]="Default",Vt[Vt.Host=1]="Host",Vt[Vt.Self=2]="Self",Vt[Vt.SkipSelf=4]="SkipSelf",Vt[Vt.Optional=8]="Optional",Vt))();let qe;function S(e){const t=qe;return qe=e,t}function M(e,t,n){const s=$e(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:n&Vt.Optional?null:void 0!==t?t:void X(w(e))}function Ue(e){return{toString:e}.toString()}var Ae=(()=>((Ae=Ae||{})[Ae.OnPush=0]="OnPush",Ae[Ae.Default=1]="Default",Ae))(),ft=(()=>{return(e=ft||(ft={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",ft;var e})();const vt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),on={},Nt=[],ht=T({\u0275cmp:T}),xt=T({\u0275dir:T}),Oe=T({\u0275pipe:T}),Xe=T({\u0275mod:T}),Y=T({\u0275fac:T}),oe=T({__NG_ELEMENT_ID__:T});let x=0;function h(e){return Ue(()=>{const n=!0===e.standalone,s={},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:s,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ae.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Nt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ft.Emulated,id:"c"+x++,styles:e.styles||Nt,_:null,setInput:null,schemas:e.schemas||null,tView:null},l=e.dependencies,f=e.features;return o.inputs=R(e.inputs,s),o.outputs=R(e.outputs),f&&f.forEach(P=>P(o)),o.directiveDefs=l?()=>("function"==typeof l?l():l).map(c).filter(b):null,o.pipeDefs=l?()=>("function"==typeof l?l():l).map(Tt).filter(b):null,o})}function v(e,t,n){const s=e.\u0275cmp;s.directiveDefs=()=>("function"==typeof t?t():t).map(c),s.pipeDefs=()=>("function"==typeof n?n():n).map(Tt)}function c(e){return nt(e)||wt(e)}function b(e){return null!==e}function E(e){return Ue(()=>({type:e.type,bootstrap:e.bootstrap||Nt,declarations:e.declarations||Nt,imports:e.imports||Nt,exports:e.exports||Nt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function R(e,t){if(null==e)return on;const n={};for(const s in e)if(e.hasOwnProperty(s)){let o=e[s],l=o;Array.isArray(o)&&(l=o[1],o=o[0]),n[o]=s,t&&(t[o]=l)}return n}const z=h;function Re(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 nt(e){return e[ht]||null}function wt(e){return e[xt]||null}function Tt(e){return e[Oe]||null}function jt(e){const t=nt(e)||wt(e)||Tt(e);return null!==t&&t.standalone}function en(e,t){const n=e[Xe]||null;if(!n&&!0===t)throw new Error(`Type ${w(e)} does not have '\u0275mod' property.`);return n}const m=16;function Xn(e){return Array.isArray(e)&&"object"==typeof e[1]}function mi(e){return Array.isArray(e)&&!0===e[1]}function Ii(e){return 0!=(8&e.flags)}function xi(e){return 2==(2&e.flags)}function Ai(e){return 1==(1&e.flags)}function ci(e){return null!==e.template}function qi(e){return 0!=(256&e[2])}function _i(e,t){return e.hasOwnProperty(Y)?e[Y]:null}class Yi{constructor(t,n,s){this.previousValue=t,this.currentValue=n,this.firstChange=s}isFirstChange(){return this.firstChange}}function gr(){return ki}function ki(e){return e.type.prototype.ngOnChanges&&(e.setInput=tr),_r}function _r(){const e=ct(this),t=e?.current;if(t){const n=e.previous;if(n===on)e.previous=t;else for(let s in t)n[s]=t[s];e.current=null,this.ngOnChanges(t)}}function tr(e,t,n,s){const o=ct(e)||function Ot(e,t){return e[nr]=t}(e,{previous:on,current:null}),l=o.current||(o.current={}),f=o.previous,P=this.declaredInputs[n],L=f[P];l[P]=new Yi(L&&L.currentValue,t,f===on),e[s]=t}gr.ngInherit=!0;const nr="__ngSimpleChanges__";function ct(e){return e[nr]||null}function Mn(e){for(;Array.isArray(e);)e=e[0];return e}function $i(e,t){return Mn(t[e])}function pi(e,t){return Mn(t[e.index])}function rr(e,t){return e.data[t]}function sr(e,t){return e[t]}function oi(e,t){const n=t[e];return Xn(n)?n:n[0]}function Ri(e){return 64==(64&e[2])}function Ei(e,t){return null==t?null:e[t]}function Fi(e){e[18]=0}function xr(e,t){e[5]+=t;let n=e,s=e[3];for(;null!==s&&(1===t&&1===n[5]||-1===t&&0===n[5]);)s[5]+=t,n=s,s=s[3]}const fn={lFrame:Me(null),bindingsEnabled:!0};function Zi(){return fn.bindingsEnabled}function Kt(){return fn.lFrame.lView}function Tn(){return fn.lFrame.tView}function ps(e){return fn.lFrame.contextLView=e,e[8]}function qr(e){return fn.lFrame.contextLView=null,e}function ri(){let e=Q();for(;null!==e&&64===e.type;)e=e.parent;return e}function Q(){return fn.lFrame.currentTNode}function V(e,t){const n=fn.lFrame;n.currentTNode=e,n.isParent=t}function Be(){return fn.lFrame.isParent}function Ht(){fn.lFrame.isParent=!1}function ai(){const e=fn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Br(){return fn.lFrame.bindingIndex++}function lr(e){const t=fn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function As(e,t){const n=fn.lFrame;n.bindingIndex=n.bindingRootIndex=e,fs(t)}function fs(e){fn.lFrame.currentDirectiveIndex=e}function es(e){const t=fn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function ts(){return fn.lFrame.currentQueryIndex}function yr(e){fn.lFrame.currentQueryIndex=e}function Ce(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function g(e,t,n){if(n&Vt.SkipSelf){let o=t,l=e;for(;!(o=o.parent,null!==o||n&Vt.Host||(o=Ce(l),null===o||(l=l[15],10&o.type))););if(null===o)return!1;t=o,e=l}const s=fn.lFrame=j();return s.currentTNode=t,s.lView=e,!0}function y(e){const t=j(),n=e[1];fn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function j(){const e=fn.lFrame,t=null===e?null:e.child;return null===t?Me(e):t}function Me(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 We(){const e=fn.lFrame;return fn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const yt=We;function bt(){const e=We();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 rn(){return fn.lFrame.selectedIndex}function an(e){fn.lFrame.selectedIndex=e}function mn(){const e=fn.lFrame;return rr(e.tView,e.selectedIndex)}function Pn(){fn.lFrame.currentNamespace="svg"}function Sn(){!function zn(){fn.lFrame.currentNamespace=null}()}function di(e,t){for(let n=t.directiveStart,s=t.directiveEnd;n=s)break}else t[L]<0&&(e[18]+=65536),(P>11>16&&(3&e[2])===t){e[2]+=2048;try{l.call(P)}finally{}}}else try{l.call(P)}finally{}}class Ti{constructor(t,n,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=s}}function _e(e,t,n){let s=0;for(;st){f=l-1;break}}}for(;l>16}(e),s=t;for(;n>0;)s=s[15],n--;return s}let Yn=!0;function In(e){const t=Yn;return Yn=e,t}let Tr=0;const ui={};function Vr(e,t){const n=Ps(e,t);if(-1!==n)return n;const s=t[1];s.firstCreatePass&&(e.injectorIndex=t.length,Ts(s.data,e),Ts(t,null),Ts(s.blueprint,null));const o=to(e,t),l=e.injectorIndex;if(bn(o)){const f=Rn(o),P=Dn(o,t),L=P[1].data;for(let re=0;re<8;re++)t[l+re]=P[f+re]|L[f+re]}return t[l+8]=o,l}function Ts(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ps(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function to(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,s=null,o=t;for(;null!==o;){if(s=Bo(o),null===s)return-1;if(n++,o=o[15],-1!==s.injectorIndex)return s.injectorIndex|n<<16}return-1}function no(e,t,n){!function is(e,t,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(oe)&&(s=n[oe]),null==s&&(s=n[oe]=Tr++);const o=255&s;t.data[e+(o>>5)]|=1<=0?255&t:Ud:t}(n);if("function"==typeof l){if(!g(t,e,s))return s&Vt.Host?_a(o,0,s):va(t,n,s,o);try{const f=l(s);if(null!=f||s&Vt.Optional)return f;X()}finally{yt()}}else if("number"==typeof l){let f=null,P=Ps(e,t),L=-1,re=s&Vt.Host?t[m][6]:null;for((-1===P||s&Vt.SkipSelf)&&(L=-1===P?to(e,t):t[P+8],-1!==L&&ya(s,!1)?(f=t[1],P=Rn(L),t=Dn(L,t)):P=-1);-1!==P;){const ke=t[1];if(Ro(l,P,ke.data)){const rt=ml(P,t,n,f,s,re);if(rt!==ui)return rt}L=t[P+8],-1!==L&&ya(s,t[1].data[P+8]===re)&&Ro(l,P,t)?(f=ke,P=Rn(L),t=Dn(L,t)):P=-1}}return o}function ml(e,t,n,s,o,l){const f=t[1],P=f.data[e+8],ke=Hs(P,f,n,null==s?xi(P)&&Yn:s!=f&&0!=(3&P.type),o&Vt.Host&&l===P);return null!==ke?rs(t,f,ke,P):ui}function Hs(e,t,n,s,o){const l=e.providerIndexes,f=t.data,P=1048575&l,L=e.directiveStart,ke=l>>20,Mt=o?P+ke:e.directiveEnd;for(let kt=s?P:P+ke;kt=L&&Zt.type===n)return kt}if(o){const kt=f[L];if(kt&&ci(kt)&&kt.type===n)return L}return null}function rs(e,t,n,s){let o=e[n];const l=t.data;if(function Vs(e){return e instanceof Ti}(o)){const f=o;f.resolving&&function gt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new fe(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ne(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ze(e)}(l[n]));const P=In(f.canSeeViewProviders);f.resolving=!0;const L=f.injectImpl?S(f.injectImpl):null;g(e,s,Vt.Default);try{o=e[n]=f.factory(void 0,l,e,s),t.firstCreatePass&&n>=s.directiveStart&&function ti(e,t,n){const{ngOnChanges:s,ngOnInit:o,ngDoCheck:l}=t.type.prototype;if(s){const f=ki(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,f),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,f)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l))}(n,l[n],t)}finally{null!==L&&S(L),In(P),f.resolving=!1,yt()}}return o}function Ro(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[Y]||Fo(t),s=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==s;){const l=o[Y]||Fo(o);if(l&&l!==n)return l;o=Object.getPrototypeOf(o)}return l=>new l})}function Fo(e){return le(e)?()=>{const t=Fo(se(e));return t&&t()}:_i(e)}function Bo(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Is(e){return function fl(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const s=n.length;let o=0;for(;o{const s=function ba(e){return function(...n){if(e){const s=e(...n);for(const o in s)this[o]=s[o]}}}(t);function o(...l){if(this instanceof o)return s.apply(this,l),this;const f=new o(...l);return P.annotation=f,P;function P(L,re,ke){const rt=L.hasOwnProperty(gs)?L[gs]:Object.defineProperty(L,gs,{value:[]})[gs];for(;rt.length<=ke;)rt.push(null);return(rt[ke]=rt[ke]||[]).push(f),L}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class qn{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=xe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function dr(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Pr(n,t):t(n))}function Ca(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Uo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function C(e,t){const n=[];for(let s=0;s=0?e[1|s]=n:(s=~s,function H(e,t,n,s){let o=e.length;if(o==t)e.push(n,s);else if(1===o)e.push(s,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]=s}}(e,s,t,n)),s}function Gt(e,t){const n=sn(e,t);if(n>=0)return e[1|n]}function sn(e,t){return function pn(e,t,n){let s=0,o=e.length>>n;for(;o!==s;){const l=s+(o-s>>1),f=e[l<t?o=l:s=l+1}return~(o<((ss=ss||{})[ss.Important=1]="Important",ss[ss.DashCase=2]="DashCase",ss))();const El=new Map;let Hg=0;const Al="__ngContext__";function Qi(e,t){Xn(t)?(e[Al]=t[20],function Gg(e){El.set(e[20],e)}(t)):e[Al]=t}function Tl(e,t){return undefined(e,t)}function Qo(e){const t=e[3];return mi(t)?t[3]:t}function Pl(e){return gu(e[13])}function Il(e){return gu(e[4])}function gu(e){for(;null!==e&&!mi(e);)e=e[4];return e}function lo(e,t,n,s,o){if(null!=s){let l,f=!1;mi(s)?l=s:Xn(s)&&(f=!0,s=s[0]);const P=Mn(s);0===e&&null!==n?null==o?Du(t,n,P):zs(t,n,P,o||null,!0):1===e&&null!==n?zs(t,n,P,o||null,!0):2===e?function Vl(e,t,n){const s=Ea(e,t);s&&function d_(e,t,n,s){e.removeChild(t,n,s)}(e,s,t,n)}(t,P,f):3===e&&t.destroyNode(P),null!=l&&function p_(e,t,n,s,o){const l=n[7];l!==Mn(n)&&lo(t,e,s,l,o);for(let P=10;P0&&(e[n-1][4]=s[4]);const l=Uo(e,10+t);!function n_(e,t){Jo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(s[1],s);const f=l[19];null!==f&&f.detachView(l[1]),s[3]=null,s[4]=null,s[2]&=-65}return s}function yu(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Jo(e,t,n,3,null,null),function s_(e){let t=e[13];if(!t)return Ll(e[1],e);for(;t;){let n=null;if(Xn(t))n=t[13];else{const s=t[10];s&&(n=s)}if(!n){for(;t&&!t[4]&&t!==e;)Xn(t)&&Ll(t[1],t),t=t[3];null===t&&(t=e),Xn(t)&&Ll(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ll(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function c_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let s=0;s=0?s[o=re]():s[o=-re].unsubscribe(),l+=2}else{const f=s[o=n[l+1]];n[l].call(f)}if(null!==s){for(let l=o+1;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return Oa}()?.createHTML(e)||e}function v_(e){zl=e}function jl(){if(void 0===Ta&&(Ta=null,vt.trustedTypes))try{Ta=vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ta}function Iu(e){return jl()?.createHTML(e)||e}function Ru(e){return jl()?.createScriptURL(e)||e}class Ys{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class y_ extends Ys{getTypeName(){return"HTML"}}class b_ extends Ys{getTypeName(){return"Style"}}class C_ extends Ys{getTypeName(){return"Script"}}class D_ extends Ys{getTypeName(){return"URL"}}class M_ extends Ys{getTypeName(){return"ResourceURL"}}function bs(e){return e instanceof Ys?e.changingThisBreaksApplicationSecurity:e}function co(e,t){const n=function x_(e){return e instanceof Ys&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function w_(e){return new y_(e)}function E_(e){return new b_(e)}function S_(e){return new C_(e)}function A_(e){return new D_(e)}function O_(e){return new M_(e)}class T_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(js(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class P_{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 s=this.inertDocument.createElement("body");n.appendChild(s)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=js(t),n;const s=this.inertDocument.createElement("body");return s.innerHTML=js(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(s),s}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0"),!0}endElement(t){const n=t.nodeName.toLowerCase();Yl.hasOwnProperty(n)&&!Lu.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Hu(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 L_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,B_=/([^\#-~ |!])/g;function Hu(e){return e.replace(/&/g,"&").replace(L_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(B_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Ia;function Uu(e,t){let n=null;try{Ia=Ia||function Fu(e){const t=new P_(e);return function I_(){try{return!!(new window.DOMParser).parseFromString(js(""),"text/html")}catch{return!1}}()?new T_(t):t}(e);let s=t?String(t):"";n=Ia.getInertBodyElement(s);let o=5,l=s;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,s=l,l=n.innerHTML,n=Ia.getInertBodyElement(s)}while(s!==l);return js((new F_).sanitizeChildren(Zl(n)||n))}finally{if(n){const s=Zl(n)||n;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function Zl(e){return"content"in e&&function N_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Di=(()=>((Di=Di||{})[Di.NONE=0]="NONE",Di[Di.HTML=1]="HTML",Di[Di.STYLE=2]="STYLE",Di[Di.SCRIPT=3]="SCRIPT",Di[Di.URL=4]="URL",Di[Di.RESOURCE_URL=5]="RESOURCE_URL",Di))();function Gu(e){const t=Xo();return t?Iu(t.sanitize(Di.HTML,e)||""):co(e,"HTML")?Iu(bs(e)):Uu(function Pu(){return void 0!==zl?zl:typeof document<"u"?document:void 0}(),Ze(e))}function Wl(e){const t=Xo();return t?t.sanitize(Di.URL,e)||"":co(e,"URL")?bs(e):Pa(Ze(e))}function Kl(e){const t=Xo();if(t)return Ru(t.sanitize(Di.RESOURCE_URL,e)||"");if(co(e,"ResourceURL"))return Ru(bs(e));throw new fe(904,!1)}function Xo(){const e=Kt();return e&&e[12]}const Ql=new qn("ENVIRONMENT_INITIALIZER"),zu=new qn("INJECTOR",-1),ju=new qn("INJECTOR_DEF_TYPES");class Yu{get(t,n=Go){if(n===Go){const s=new Error(`NullInjectorError: No provider for ${w(t)}!`);throw s.name="NullInjectorError",s}return n}}function Y_(...e){return{\u0275providers:$u(0,e)}}function $u(e,...t){const n=[],s=new Set;let o;return Pr(t,l=>{const f=l;Jl(f,n,[],s)&&(o||(o=[]),o.push(f))}),void 0!==o&&Zu(o,n),n}function Zu(e,t){for(let n=0;n{t.push(l)})}}function Jl(e,t,n,s){if(!(e=se(e)))return!1;let o=null,l=Qe(e);const f=!l&&nt(e);if(l||f){if(f&&!f.standalone)return!1;o=e}else{const L=e.ngModule;if(l=Qe(L),!l)return!1;o=L}const P=s.has(o);if(f){if(P)return!1;if(s.add(o),f.dependencies){const L="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const re of L)Jl(re,t,n,s)}}else{if(!l)return!1;{if(null!=l.imports&&!P){let re;s.add(o);try{Pr(l.imports,ke=>{Jl(ke,t,n,s)&&(re||(re=[]),re.push(ke))})}finally{}void 0!==re&&Zu(re,t)}if(!P){const re=_i(o)||(()=>new o);t.push({provide:o,useFactory:re,deps:Nt},{provide:ju,useValue:o,multi:!0},{provide:Ql,useValue:()=>Si(o),multi:!0})}const L=l.providers;null==L||P||Pr(L,ke=>{t.push(ke)})}}return o!==e&&void 0!==e.providers}const $_=T({provide:String,useValue:T});function ql(e){return null!==e&&"object"==typeof e&&$_ in e}function $s(e){return"function"==typeof e}const Xl=new qn("Set Injector scope."),ka={},W_={};let ec;function Ra(){return void 0===ec&&(ec=new Yu),ec}class Zs{}class Qu extends Zs{constructor(t,n,s,o){super(),this.parent=n,this.source=s,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,nc(t,f=>this.processProvider(f)),this.records.set(zu,uo(void 0,this)),o.has("environment")&&this.records.set(Zs,uo(void 0,this));const l=this.records.get(Xl);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(ju.multi,Nt,Vt.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)}runInContext(t){this.assertNotDestroyed();const n=oo(this),s=S(void 0);try{return t()}finally{oo(n),S(s)}}get(t,n=Go,s=Vt.Default){this.assertNotDestroyed();const o=oo(this),l=S(void 0);try{if(!(s&Vt.SkipSelf)){let P=this.records.get(t);if(void 0===P){const L=function X_(e){return"function"==typeof e||"object"==typeof e&&e instanceof qn}(t)&&$e(t);P=L&&this.injectableDefInScope(L)?uo(tc(t),ka):null,this.records.set(t,P)}if(null!=P)return this.hydrate(t,P)}return(s&Vt.Self?Ra():this.parent).get(t,n=s&Vt.Optional&&n===Go?null:n)}catch(f){if("NullInjectorError"===f.name){if((f[Ma]=f[Ma]||[]).unshift(w(t)),o)throw f;return function Mg(e,t,n,s){const o=e[Ma];throw t[Wd]&&o.unshift(t[Wd]),e.message=function xg(e,t,n,s=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=w(t);if(Array.isArray(t))o=t.map(w).join(" -> ");else if("object"==typeof t){let l=[];for(let f in t)if(t.hasOwnProperty(f)){let P=t[f];l.push(f+":"+("string"==typeof P?JSON.stringify(P):w(P)))}o=`{${l.join(", ")}}`}return`${n}${s?"("+s+")":""}[${o}]: ${e.replace(yg,"\n ")}`}("\n"+e.message,o,n,s),e.ngTokenPath=o,e[Ma]=null,e}(f,t,"R3InjectorError",this.source)}throw f}finally{S(l),oo(o)}}resolveInjectorInitializers(){const t=oo(this),n=S(void 0);try{const s=this.get(Ql.multi,Nt,Vt.Self);for(const o of s)o()}finally{oo(t),S(n)}}toString(){const t=[],n=this.records;for(const s of n.keys())t.push(w(s));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new fe(205,!1)}processProvider(t){let n=$s(t=se(t))?t:se(t&&t.provide);const s=function Q_(e){return ql(e)?uo(void 0,e.useValue):uo(Ju(e),ka)}(t);if($s(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=uo(void 0,ka,!0),o.factory=()=>Cl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,s)}hydrate(t,n){return n.value===ka&&(n.value=W_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function q_(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=se(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function tc(e){const t=$e(e),n=null!==t?t.factory:_i(e);if(null!==n)return n;if(e instanceof qn)throw new fe(204,!1);if(e instanceof Function)return function K_(e){const t=e.length;if(t>0)throw C(t,"?"),new fe(204,!1);const n=function ue(e){const t=e&&(e[Et]||e[Qt]);if(t){const n=function Ke(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 fe(204,!1)}function Ju(e,t,n){let s;if($s(e)){const o=se(e);return _i(o)||tc(o)}if(ql(e))s=()=>se(e.useValue);else if(function Ku(e){return!(!e||!e.useFactory)}(e))s=()=>e.useFactory(...Cl(e.deps||[]));else if(function Wu(e){return!(!e||!e.useExisting)}(e))s=()=>Si(se(e.useExisting));else{const o=se(e&&(e.useClass||e.provide));if(!function J_(e){return!!e.deps}(e))return _i(o)||tc(o);s=()=>new o(...Cl(e.deps))}return s}function uo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ev(e){return!!e.\u0275providers}function nc(e,t){for(const n of e)Array.isArray(n)?nc(n,t):ev(n)?nc(n.\u0275providers,t):t(n)}class qu{}class iv{resolveComponentFactory(t){throw function nv(e){const t=Error(`No component factory found for ${w(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ea=(()=>{class e{}return e.NULL=new iv,e})();function rv(){return ho(ri(),Kt())}function ho(e,t){return new ta(pi(e,t))}let ta=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=rv,e})();function sv(e){return e instanceof ta?e.nativeElement:e}class eh{}let ov=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function av(){const e=Kt(),n=oi(ri().index,e);return(Xn(n)?n:e)[11]}(),e})(),lv=(()=>{class e{}return e.\u0275prov=xe({token:e,providedIn:"root",factory:()=>null}),e})();class th{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const cv=new th("14.3.0"),ic={};function sc(e){return e.ngOriginalError}class na{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&&sc(t);for(;n&&sc(n);)n=sc(n);return n||null}}function nh(e){return e.ownerDocument.defaultView}function ih(e){return e.ownerDocument}function Ds(e){return e instanceof Function?e():e}function sh(e,t,n){let s=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const l=t.length;if(o+l===s||e.charCodeAt(o+l)<=32)return o}n=o+1}}const oh="ng-template";function vv(e,t,n){let s=0;for(;sl?"":o[rt+1].toLowerCase();const kt=8&s?Mt:null;if(kt&&-1!==sh(kt,re,0)||2&s&&re!==Mt){if(Ur(s))return!1;f=!0}}}}else{if(!f&&!Ur(s)&&!Ur(L))return!1;if(f&&Ur(L))continue;f=!1,s=L|1&s}}return Ur(s)||f}function Ur(e){return 0==(1&e)}function Cv(e,t,n,s){if(null===t)return-1;let o=0;if(s||!n){let l=!1;for(;o-1)for(n++;n0?'="'+P+'"':"")+"]"}else 8&s?o+="."+f:4&s&&(o+=" "+f);else""!==o&&!Ur(f)&&(t+=ch(l,o),o=""),s=f,l=l||!Ur(s);n++}return""!==o&&(t+=ch(l,o)),t}const kn={};function dh(e){uh(Tn(),Kt(),rn()+e,!1)}function uh(e,t,n,s){if(!s)if(3==(3&t[2])){const l=e.preOrderCheckHooks;null!==l&&ni(t,l,n)}else{const l=e.preOrderHooks;null!==l&&cr(t,l,0,n)}an(n)}function mh(e,t=null,n=null,s){const o=gh(e,t,n,s);return o.resolveInjectorInitializers(),o}function gh(e,t=null,n=null,s,o=new Set){const l=[n||Nt,Y_(e)];return s=s||("object"==typeof e?void 0:w(e)),new Qu(l,t||Ra(),s||null,o)}let Ws=(()=>{class e{static create(n,s){if(Array.isArray(n))return mh({name:""},s,n,"");{const o=n.name??"";return mh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Go,e.NULL=new Yu,e.\u0275prov=xe({token:e,providedIn:"any",factory:()=>Si(zu)}),e.__NG_ELEMENT_ID__=-1,e})();function mo(e,t=Vt.Default){const n=Kt();return null===n?Si(e,t):ko(ri(),n,se(e),t)}function Mh(){throw new Error("invalid")}function La(e,t){return e<<17|t<<2}function Gr(e){return e>>17&32767}function dc(e){return 2|e}function Ms(e){return(131068&e)>>2}function uc(e,t){return-131069&e|t<<2}function hc(e){return 1|e}function Rh(e,t){const n=e.contentQueries;if(null!==n)for(let s=0;s22&&uh(e,t,22,!1),n(s,o)}finally{an(l)}}function Lh(e,t,n){if(Ii(t)){const o=t.directiveEnd;for(let l=t.directiveStart;l0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(P)!=L&&P.push(L),P.push(s,o,f)}}function zh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function jh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function _y(e,t,n){if(n){if(t.exportAs)for(let s=0;s0&&Sc(n)}}function Sc(e){for(let s=Pl(e);null!==s;s=Il(s))for(let o=10;o0&&Sc(l)}const n=e[1].components;if(null!==n)for(let s=0;s0&&Sc(o)}}function xy(e,t){const n=oi(t,e),s=n[1];(function wy(e,t){for(let n=t.length;n-1&&(Fl(t,s),Uo(n,s))}this._attachedToViewContainer=!1}yu(this._lView[1],this._lView)}onDestroy(t){Nh(this._lView[1],this._lView,null,t)}markForCheck(){Ac(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ga(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new fe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function r_(e,t){Jo(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new fe(902,!1);this._appRef=t}}class Ey extends ia{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ga(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Pc extends ea{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=nt(t);return new ra(n,this.ngModule)}}function qh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Ay{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,s){const o=this.injector.get(t,ic,s);return o!==ic||n===ic?o:this.parentInjector.get(t,n,s)}}class ra extends qu{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Sv(e){return e.map(Ev).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return qh(this.componentDef.inputs)}get outputs(){return qh(this.componentDef.outputs)}create(t,n,s,o){let l=(o=o||this.ngModule)instanceof Zs?o:o?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const f=l?new Ay(t,l):t,P=f.get(eh,null);if(null===P)throw new fe(407,!1);const L=f.get(lv,null),re=P.createRenderer(null,this.componentDef),ke=this.componentDef.selectors[0][0]||"div",rt=s?function ay(e,t,n){return e.selectRootElement(t,n===ft.ShadowDom)}(re,s,this.componentDef.encapsulation):Rl(re,ke,function Sy(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(ke)),Mt=this.componentDef.onPush?288:272,kt=xc(0,null,null,1,0,null,null,null,null,null),Zt=Va(null,kt,null,Mt,null,null,P,re,L,f,null);let nn,ln;y(Zt);try{const _n=function Py(e,t,n,s,o,l){const f=n[1];n[22]=e;const L=go(f,22,2,"#host",null),re=L.mergedAttrs=t.hostAttrs;null!==re&&(za(L,re,!0),null!==e&&(_e(o,e,re),null!==L.classes&&Ul(o,e,L.classes),null!==L.styles&&Tu(o,e,L.styles)));const ke=s.createRenderer(e,t),rt=Va(n,Bh(t),null,t.onPush?32:16,n[22],L,s,ke,l||null,null,null);return f.firstCreatePass&&(no(Vr(L,n),f,t.type),jh(f,L),Yh(L,n.length,1)),Ua(n,rt),n[22]=rt}(rt,this.componentDef,Zt,P,re);if(rt)if(s)_e(re,rt,["ng-version",cv.full]);else{const{attrs:wn,classes:Xt}=function Av(e){const t=[],n=[];let s=1,o=2;for(;s0&&Ul(re,rt,Xt.join(" "))}if(ln=rr(kt,22),void 0!==n){const wn=ln.projection=[];for(let Xt=0;Xt=0;s--){const o=e[s];o.hostVars=t+=o.hostVars,o.hostAttrs=zt(o.hostAttrs,n=zt(n,o.hostAttrs))}}(s)}function kc(e){return e===on?{}:e===Nt?[]:e}function Fy(e,t){const n=e.viewQuery;e.viewQuery=n?(s,o)=>{t(s,o),n(s,o)}:t}function Ly(e,t){const n=e.contentQueries;e.contentQueries=n?(s,o,l)=>{t(s,o,l),n(s,o,l)}:t}function By(e,t){const n=e.hostBindings;e.hostBindings=n?(s,o)=>{t(s,o),n(s,o)}:t}let Ya=null;function Ks(){if(!Ya){const e=vt.Symbol;if(e&&e.iterator)Ya=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nP(Mn(Qn[s.index])):s.index;let An=null;if(!P&&L&&(An=function Ky(e,t,n,s){const o=e.cleanup;if(null!=o)for(let l=0;lL?P[L]:null}"string"==typeof f&&(l+=2)}return null}(e,t,o,s.index)),null!==An)(An.__ngLastListenerFn__||An).__ngNextListenerFn__=l,An.__ngLastListenerFn__=l,kt=!1;else{l=gp(s,t,rt,l,!1);const Qn=n.listen(_n,o,l);Mt.push(l,Qn),ke&&ke.push(o,Xt,wn,wn+1)}}else l=gp(s,t,rt,l,!1);const Zt=s.outputs;let nn;if(kt&&null!==Zt&&(nn=Zt[o])){const ln=nn.length;if(ln)for(let _n=0;_n0;)t=t[15],e--;return t}(e,fn.lFrame.contextLView))[8]}(e)}function Qy(e,t){let n=null;const s=function Dv(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=0}const Pi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Op(e){return e.substring(Pi.key,Pi.keyEnd)}function eb(e){return e.substring(Pi.value,Pi.valueEnd)}function Tp(e,t){const n=Pi.textEnd;return n===t?-1:(t=Pi.keyEnd=function ib(e,t,n){for(;t32;)t++;return t}(e,Pi.key=t,n),So(e,t,n))}function Pp(e,t){const n=Pi.textEnd;let s=Pi.key=So(e,t,n);return n===s?-1:(s=Pi.keyEnd=function rb(e,t,n){let s;for(;t=65&&(-33&s)<=90||s>=48&&s<=57);)t++;return t}(e,s,n),s=kp(e,s,n),s=Pi.value=So(e,s,n),s=Pi.valueEnd=function sb(e,t,n){let s=-1,o=-1,l=-1,f=t,P=f;for(;f32&&(P=f),l=o,o=s,s=-33&L}return P}(e,s,n),kp(e,s,n))}function Ip(e){Pi.key=0,Pi.keyEnd=0,Pi.value=0,Pi.valueEnd=0,Pi.textEnd=e.length}function So(e,t,n){for(;t=0;n=Pp(t,n))Np(e,Op(t),eb(t))}function Fp(e){Yr(ut,ls,e,!0)}function ls(e,t){for(let n=function tb(e){return Ip(e),Tp(e,So(e,0,Pi.textEnd))}(t);n>=0;n=Tp(t,n))ut(e,Op(t),!0)}function jr(e,t,n,s){const o=Kt(),l=Tn(),f=lr(2);l.firstUpdatePass&&Bp(l,e,f,s),t!==kn&&Ji(o,f,t)&&Vp(l,l.data[rn()],o,o[11],e,o[f+1]=function pb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=w(bs(e)))),e}(t,n),s,f)}function Yr(e,t,n,s){const o=Tn(),l=lr(2);o.firstUpdatePass&&Bp(o,null,l,s);const f=Kt();if(n!==kn&&Ji(f,l,n)){const P=o.data[rn()];if(Up(P,s)&&!Lp(o,l)){let L=s?P.classesWithoutHost:P.stylesWithoutHost;null!==L&&(n=p(L,n||"")),Bc(o,P,f,n,s)}else!function hb(e,t,n,s,o,l,f,P){o===kn&&(o=Nt);let L=0,re=0,ke=0=e.expandoStartIndex}function Bp(e,t,n,s){const o=e.data;if(null===o[n+1]){const l=o[rn()],f=Lp(e,n);Up(l,s)&&null===t&&!f&&(t=!1),t=function ab(e,t,n,s){const o=es(e);let l=s?t.residualClasses:t.residualStyles;if(null===o)0===(s?t.classBindings:t.styleBindings)&&(n=aa(n=Zc(null,e,t,n,s),t.attrs,s),l=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==o)if(n=Zc(o,e,t,n,s),null===l){let L=function lb(e,t,n){const s=n?t.classBindings:t.styleBindings;if(0!==Ms(s))return e[Gr(s)]}(e,t,s);void 0!==L&&Array.isArray(L)&&(L=Zc(null,e,t,L[1],s),L=aa(L,t.attrs,s),function cb(e,t,n,s){e[Gr(n?t.classBindings:t.styleBindings)]=s}(e,t,s,L))}else l=function db(e,t,n){let s;const o=t.directiveEnd;for(let l=1+t.directiveStylingLast;l0)&&(re=!0)}else ke=n;if(o)if(0!==L){const Mt=Gr(e[P+1]);e[s+1]=La(Mt,P),0!==Mt&&(e[Mt+1]=uc(e[Mt+1],s)),e[P+1]=function Zv(e,t){return 131071&e|t<<17}(e[P+1],s)}else e[s+1]=La(P,0),0!==P&&(e[P+1]=uc(e[P+1],s)),P=s;else e[s+1]=La(L,0),0===P?P=s:e[L+1]=uc(e[L+1],s),L=s;re&&(e[s+1]=dc(e[s+1])),Ap(e,ke,s,!0),Ap(e,ke,s,!1),function qy(e,t,n,s,o){const l=o?e.residualClasses:e.residualStyles;null!=l&&"string"==typeof t&&sn(l,t)>=0&&(n[s+1]=hc(n[s+1]))}(t,ke,e,s,l),f=La(P,L),l?t.classBindings=f:t.styleBindings=f}(o,l,t,n,f,s)}}function Zc(e,t,n,s,o){let l=null;const f=n.directiveEnd;let P=n.directiveStylingLast;for(-1===P?P=n.directiveStart:P++;P0;){const L=e[o],re=Array.isArray(L),ke=re?L[1]:L,rt=null===ke;let Mt=n[o+1];Mt===kn&&(Mt=rt?Nt:void 0);let kt=rt?Gt(Mt,s):ke===s?Mt:void 0;if(re&&!Ja(kt)&&(kt=Gt(L,s)),Ja(kt)&&(P=kt,f))return P;const Zt=e[o+1];o=f?Gr(Zt):Ms(Zt)}if(null!==t){let L=l?t.residualClasses:t.residualStyles;null!=L&&(P=Gt(L,s))}return P}function Ja(e){return void 0!==e}function Up(e,t){return 0!=(e.flags&(t?16:32))}function Gp(e,t=""){const n=Kt(),s=Tn(),o=e+22,l=s.firstCreatePass?go(s,o,1,t,null):s.data[o],f=n[o]=function kl(e,t){return e.createText(t)}(n[11],t);Sa(s,n,f,l),V(l,!1)}function Wc(e){return qa("",e,""),Wc}function qa(e,t,n){const s=Kt(),o=yo(s,e,t,n);return o!==kn&&xs(s,rn(),o),qa}function Kc(e,t,n,s,o){const l=Kt(),f=bo(l,e,t,n,s,o);return f!==kn&&xs(l,rn(),f),Kc}function Qp(e,t,n){Yr(ut,ls,yo(Kt(),e,t,n),!0)}function Qc(e,t,n){const s=Kt();return Ji(s,Br(),t)&&Ar(Tn(),mn(),s,e,t,s[11],n,!0),Qc}function Jc(e,t,n){const s=Kt();if(Ji(s,Br(),t)){const l=Tn(),f=mn();Ar(l,f,s,e,t,Qh(es(l.data),f,s),n,!0)}return Jc}const Js=void 0;var Ib=["en",[["a","p"],["AM","PM"],Js],[["AM","PM"],Js,Js],[["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"]],Js,[["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"]],Js,[["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}",Js,"{1} 'at' {0}",Js],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Pb(e){const n=Math.floor(Math.abs(e)),s=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===s?1:5}];let Ao={};function kb(e,t,n){"string"!=typeof t&&(n=t,t=e[En.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ao[t]=e,n&&(Ao[t][En.ExtraData]=n)}function qc(e){const t=function Rb(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=cf(t);if(n)return n;const s=t.split("-")[0];if(n=cf(s),n)return n;if("en"===s)return Ib;throw new fe(701,!1)}function lf(e){return qc(e)[En.PluralCase]}function cf(e){return e in Ao||(Ao[e]=vt.ng&&vt.ng.common&&vt.ng.common.locales&&vt.ng.common.locales[e]),Ao[e]}var En=(()=>((En=En||{})[En.LocaleId=0]="LocaleId",En[En.DayPeriodsFormat=1]="DayPeriodsFormat",En[En.DayPeriodsStandalone=2]="DayPeriodsStandalone",En[En.DaysFormat=3]="DaysFormat",En[En.DaysStandalone=4]="DaysStandalone",En[En.MonthsFormat=5]="MonthsFormat",En[En.MonthsStandalone=6]="MonthsStandalone",En[En.Eras=7]="Eras",En[En.FirstDayOfWeek=8]="FirstDayOfWeek",En[En.WeekendRange=9]="WeekendRange",En[En.DateFormat=10]="DateFormat",En[En.TimeFormat=11]="TimeFormat",En[En.DateTimeFormat=12]="DateTimeFormat",En[En.NumberSymbols=13]="NumberSymbols",En[En.NumberFormats=14]="NumberFormats",En[En.CurrencyCode=15]="CurrencyCode",En[En.CurrencySymbol=16]="CurrencySymbol",En[En.CurrencyName=17]="CurrencyName",En[En.Currencies=18]="Currencies",En[En.Directionality=19]="Directionality",En[En.PluralCase=20]="PluralCase",En[En.ExtraData=21]="ExtraData",En))();const Oo="en-US";let df=Oo;function td(e,t,n,s,o){if(e=se(e),Array.isArray(e))for(let l=0;l>20;if($s(e)||!e.multi){const kt=new Ti(L,o,mo),Zt=id(P,t,o?ke:ke+Mt,rt);-1===Zt?(no(Vr(re,f),l,P),nd(l,e,t.length),t.push(P),re.directiveStart++,re.directiveEnd++,o&&(re.providerIndexes+=1048576),n.push(kt),f.push(kt)):(n[Zt]=kt,f[Zt]=kt)}else{const kt=id(P,t,ke+Mt,rt),Zt=id(P,t,ke,ke+Mt),nn=kt>=0&&n[kt],ln=Zt>=0&&n[Zt];if(o&&!ln||!o&&!nn){no(Vr(re,f),l,P);const _n=function I0(e,t,n,s,o){const l=new Ti(e,n,mo);return l.multi=[],l.index=t,l.componentProviders=0,Ff(l,o,s&&!n),l}(o?P0:T0,n.length,o,s,L);!o&&ln&&(n[Zt].providerFactory=_n),nd(l,e,t.length,0),t.push(P),re.directiveStart++,re.directiveEnd++,o&&(re.providerIndexes+=1048576),n.push(_n),f.push(_n)}else nd(l,e,kt>-1?kt:Zt,Ff(n[o?Zt:kt],L,!o&&s));!o&&s&&ln&&n[Zt].componentProviders++}}}function nd(e,t,n,s){const o=$s(t),l=function Z_(e){return!!e.useClass}(t);if(o||l){const L=(l?se(t.useClass):t).prototype.ngOnDestroy;if(L){const re=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const ke=re.indexOf(n);-1===ke?re.push(n,[s,L]):re[ke+1].push(s,L)}else re.push(n,L)}}}function Ff(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function id(e,t,n,s){for(let o=n;o{n.providersResolver=(s,o)=>function O0(e,t,n){const s=Tn();if(s.firstCreatePass){const o=ci(e);td(n,s.data,s.blueprint,o,!0),td(t,s.data,s.blueprint,o,!1)}}(s,o?o(e):e,t)}}class To{}class Bf{}function k0(e,t){return new Nf(e,t??null)}class Nf extends To{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Pc(this);const s=en(t);this._bootstrapComponents=Ds(s.bootstrap),this._r3Injector=gh(t,n,[{provide:To,useValue:this},{provide:ea,useValue:this.componentFactoryResolver}],w(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class sd extends Bf{constructor(t){super(),this.moduleType=t}create(t){return new Nf(this.moduleType,t)}}class R0 extends To{constructor(t,n,s){super(),this.componentFactoryResolver=new Pc(this),this.instance=null;const o=new Qu([...t,{provide:To,useValue:this},{provide:ea,useValue:this.componentFactoryResolver}],n||Ra(),s,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function od(e,t,n=null){return new R0(e,t,n).injector}let F0=(()=>{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 s=$u(0,n.type),o=s.length>0?od([s],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=xe({token:e,providedIn:"environment",factory:()=>new e(Si(Zs))}),e})();function Vf(e){e.getStandaloneInjector=t=>t.get(F0).getOrCreateStandaloneInjector(e)}function $f(e,t,n){const s=ai()+e,o=Kt();return o[s]===kn?as(o,s,n?t.call(n):t()):oa(o,s)}function Zf(e,t,n,s){return qf(Kt(),ai(),e,t,n,s)}function Wf(e,t,n,s,o){return Xf(Kt(),ai(),e,t,n,s,o)}function Kf(e,t,n,s,o,l){return function em(e,t,n,s,o,l,f,P){const L=t+n;return function $a(e,t,n,s,o){const l=Qs(e,t,n,s);return Ji(e,t+2,o)||l}(e,L,o,l,f)?as(e,L+3,P?s.call(P,o,l,f):s(o,l,f)):pa(e,L+3)}(Kt(),ai(),e,t,n,s,o,l)}function Qf(e,t,n,s,o,l,f){return function tm(e,t,n,s,o,l,f,P,L){const re=t+n;return Ir(e,re,o,l,f,P)?as(e,re+4,L?s.call(L,o,l,f,P):s(o,l,f,P)):pa(e,re+4)}(Kt(),ai(),e,t,n,s,o,l,f)}function Jf(e,t,n,s,o,l,f,P){const L=ai()+e,re=Kt(),ke=Ir(re,L,n,s,o,l);return Ji(re,L+4,f)||ke?as(re,L+5,P?t.call(P,n,s,o,l,f):t(n,s,o,l,f)):oa(re,L+5)}function pa(e,t){const n=e[t];return n===kn?void 0:n}function qf(e,t,n,s,o,l){const f=t+n;return Ji(e,f,o)?as(e,f+1,l?s.call(l,o):s(o)):pa(e,f+1)}function Xf(e,t,n,s,o,l,f){const P=t+n;return Qs(e,P,o,l)?as(e,P+2,f?s.call(f,o,l):s(o,l)):pa(e,P+2)}function im(e,t){const n=Tn();let s;const o=e+22;n.firstCreatePass?(s=function W0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const s=t[n];if(e===s.name)return s}}(t,n.pipeRegistry),n.data[o]=s,s.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,s.onDestroy)):s=n.data[o];const l=s.factory||(s.factory=_i(s.type)),f=S(mo);try{const P=In(!1),L=l();return In(P),function $y(e,t,n,s){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=s}(n,Kt(),o,L),L}finally{S(f)}}function rm(e,t,n){const s=e+22,o=Kt(),l=sr(o,s);return fa(o,s)?qf(o,ai(),t,l.transform,n,l):l.transform(n)}function sm(e,t,n,s){const o=e+22,l=Kt(),f=sr(l,o);return fa(l,o)?Xf(l,ai(),t,f.transform,n,s,f):f.transform(n,s)}function fa(e,t){return e[1].data[t].pure}function ld(e){return t=>{setTimeout(e,void 0,t)}}const cs=class q0 extends r.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,s){let o=t,l=n||(()=>null),f=s;if(t&&"object"==typeof t){const L=t;o=L.next?.bind(L),l=L.error?.bind(L),f=L.complete?.bind(L)}this.__isAsync&&(l=ld(l),o&&(o=ld(o)),f&&(f=ld(f)));const P=super.subscribe({next:o,error:l,complete:f});return t instanceof i.w0&&t.add(P),P}};function X0(){return this._results[Ks()]()}class il{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=Ks(),s=il.prototype;s[n]||(s[n]=X0)}get changes(){return this._changes||(this._changes=new cs)}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 s=this;s.dirty=!1;const o=dr(t);(this._changesDetected=!function yl(e,t,n){if(e.length!==t.length)return!1;for(let s=0;s{class e{}return e.__NG_ELEMENT_ID__=nC,e})();const eC=ma,tC=class extends eC{constructor(t,n,s){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=s}createEmbeddedView(t,n){const s=this._declarationTContainer.tViews,o=Va(this._declarationLView,s,t,16,null,s.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(s)),Cc(s,o,t),new ia(o)}};function nC(){return rl(ri(),Kt())}function rl(e,t){return 4&e.type?new tC(t,e,ho(e,t)):null}let sl=(()=>{class e{}return e.__NG_ELEMENT_ID__=iC,e})();function iC(){return lm(ri(),Kt())}const rC=sl,om=class extends rC{constructor(t,n,s){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=s}get element(){return ho(this._hostTNode,this._hostLView)}get injector(){return new ms(this._hostTNode,this._hostLView)}get parentInjector(){const t=to(this._hostTNode,this._hostLView);if(bn(t)){const n=Dn(t,this._hostLView),s=Rn(t);return new ms(n[1].data[s+8],n)}return new ms(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=am(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,s){let o,l;"number"==typeof s?o=s:null!=s&&(o=s.index,l=s.injector);const f=t.createEmbeddedView(n||{},l);return this.insert(f,o),f}createComponent(t,n,s,o,l){const f=t&&!function Gs(e){return"function"==typeof e}(t);let P;if(f)P=n;else{const rt=n||{};P=rt.index,s=rt.injector,o=rt.projectableNodes,l=rt.environmentInjector||rt.ngModuleRef}const L=f?t:new ra(nt(t)),re=s||this.parentInjector;if(!l&&null==L.ngModule){const Mt=(f?re:this.parentInjector).get(Zs,null);Mt&&(l=Mt)}const ke=L.create(re,o,void 0,l);return this.insert(ke.hostView,P),ke}insert(t,n){const s=t._lView,o=s[1];if(function wi(e){return mi(e[3])}(s)){const ke=this.indexOf(t);if(-1!==ke)this.detach(ke);else{const rt=s[3],Mt=new om(rt,rt[6],rt[3]);Mt.detach(Mt.indexOf(t))}}const l=this._adjustIndex(n),f=this._lContainer;!function o_(e,t,n,s){const o=10+s,l=n.length;s>0&&(n[o-1][4]=t),s0)s.push(f[P/2]);else{const re=l[P+1],ke=t[-L];for(let rt=10;rt{class e{constructor(n){this.appInits=n,this.resolve=al,this.reject=al,this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,o)=>{this.resolve=s,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],s=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{l.subscribe({complete:P,error:L})});n.push(f)}}Promise.all(n).then(()=>{s()}).catch(o=>{this.reject(o)}),0===n.length&&s(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Si(Bm,8))},e.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Nm=new qn("AppId",{providedIn:"root",factory:function Vm(){return`${yd()}${yd()}${yd()}`}});function yd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Hm=new qn("Platform Initializer"),IC=new qn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Um=new qn("appBootstrapListener"),kC=new qn("AnimationModuleType");let RC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const cl=new qn("LocaleId",{providedIn:"root",factory:()=>Qd(cl,Vt.Optional|Vt.SkipSelf)||function FC(){return typeof $localize<"u"&&$localize.locale||Oo}()}),LC=new qn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class BC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let NC=(()=>{class e{compileModuleSync(n){return new sd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const s=this.compileModuleSync(n),l=Ds(en(n).declarations).reduce((f,P)=>{const L=nt(P);return L&&f.push(new ra(L)),f},[]);return new BC(s,l)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const UC=(()=>Promise.resolve(0))();function bd(e){typeof Zone>"u"?UC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class kr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:s=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new cs(!1),this.onMicrotaskEmpty=new cs(!1),this.onStable=new cs(!1),this.onError=new cs(!1),typeof Zone>"u")throw new fe(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const l=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new l("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!s&&n,o.shouldCoalesceRunChangeDetection=s,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function GC(){let e=vt.requestAnimationFrame,t=vt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const s=t[Zone.__symbol__("OriginalDelegate")];s&&(t=s)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function YC(e){const t=()=>{!function jC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(vt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Dd(e),e.isCheckStableRunning=!0,Cd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Dd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,s,o,l,f,P)=>{try{return jm(e),n.invokeTask(o,l,f,P)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||e.shouldCoalesceRunChangeDetection)&&t(),Ym(e)}},onInvoke:(n,s,o,l,f,P,L)=>{try{return jm(e),n.invoke(o,l,f,P,L)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ym(e)}},onHasTask:(n,s,o,l)=>{n.hasTask(o,l),s===o&&("microTask"==l.change?(e._hasPendingMicrotasks=l.microTask,Dd(e),Cd(e)):"macroTask"==l.change&&(e.hasPendingMacrotasks=l.macroTask))},onHandleError:(n,s,o,l)=>(n.handleError(o,l),e.runOutsideAngular(()=>e.onError.emit(l)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!kr.isInAngularZone())throw new fe(909,!1)}static assertNotInAngularZone(){if(kr.isInAngularZone())throw new fe(909,!1)}run(t,n,s){return this._inner.run(t,n,s)}runTask(t,n,s,o){const l=this._inner,f=l.scheduleEventTask("NgZoneEvent: "+o,t,zC,al,al);try{return l.runTask(f,n,s)}finally{l.cancelTask(f)}}runGuarded(t,n,s){return this._inner.runGuarded(t,n,s)}runOutsideAngular(t){return this._outer.run(t)}}const zC={};function Cd(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 Dd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ym(e){e._nesting--,Cd(e)}class $C{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new cs,this.onMicrotaskEmpty=new cs,this.onStable=new cs,this.onError=new cs}run(t,n,s){return t.apply(n,s)}runGuarded(t,n,s){return t.apply(n,s)}runOutsideAngular(t){return t()}runTask(t,n,s,o){return t.apply(n,s)}}const $m=new qn(""),Zm=new qn("");let Md,ZC=(()=>{class e{constructor(n,s,o){this._ngZone=n,this.registry=s,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Md||(function WC(e){Md=e}(o),o.addToWindow(s)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{kr.assertNotInAngularZone(),bd(()=>{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())bd(()=>{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(s=>!s.updateCb||!s.updateCb(n)||(clearTimeout(s.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,s,o){let l=-1;s&&s>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==l),n(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:o})}whenStable(n,s,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,s,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,s,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(Si(kr),Si(Wm),Si(Zm))},e.\u0275prov=xe({token:e,factory:e.\u0275fac}),e})(),Wm=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,s){this._applications.set(n,s)}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,s=!0){return Md?.findTestabilityInTree(this,n,s)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Ls=null;const Km=new qn("AllowMultipleToken"),xd=new qn("PlatformDestroyListeners");class JC{constructor(t,n){this.name=t,this.token=n}}function Jm(e,t,n=[]){const s=`Platform: ${t}`,o=new qn(s);return(l=[])=>{let f=wd();if(!f||f.injector.get(Km,!1)){const P=[...n,...l,{provide:o,useValue:!0}];e?e(P):function qC(e){if(Ls&&!Ls.get(Km,!1))throw new fe(400,!1);Ls=e;const t=e.get(Xm);(function Qm(e){const t=e.get(Hm,null);t&&t.forEach(n=>n())})(e)}(function qm(e=[],t){return Ws.create({name:t,providers:[{provide:Xl,useValue:"platform"},{provide:xd,useValue:new Set([()=>Ls=null])},...e]})}(P,s))}return function eD(e){const t=wd();if(!t)throw new fe(401,!1);return t}()}}function wd(){return Ls?.get(Xm)??null}let Xm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,s){const o=function tg(e,t){let n;return n="noop"===e?new $C:("zone.js"===e?void 0:e)||new kr(t),n}(s?.ngZone,function eg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(s)),l=[{provide:kr,useValue:o}];return o.run(()=>{const f=Ws.create({providers:l,parent:this.injector,name:n.moduleType.name}),P=n.create(f),L=P.injector.get(na,null);if(!L)throw new fe(402,!1);return o.runOutsideAngular(()=>{const re=o.onError.subscribe({next:ke=>{L.handleError(ke)}});P.onDestroy(()=>{ul(this._modules,P),re.unsubscribe()})}),function ng(e,t,n){try{const s=n();return Hc(s)?s.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(L,o,()=>{const re=P.injector.get(ll);return re.runInitializers(),re.donePromise.then(()=>(function uf(e){mt(e,"Expected localeId to be defined"),"string"==typeof e&&(df=e.toLowerCase().replace(/_/g,"-"))}(P.injector.get(cl,Oo)||Oo),this._moduleDoBootstrap(P),P))})})}bootstrapModule(n,s=[]){const o=ig({},s);return function KC(e,t,n){const s=new sd(n);return Promise.resolve(s)}(0,0,n).then(l=>this.bootstrapModuleFactory(l,o))}_moduleDoBootstrap(n){const s=n.injector.get(dl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>s.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new fe(403,!1);n.instance.ngDoBootstrap(s)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new fe(404,!1);this._modules.slice().forEach(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const n=this._injector.get(xd,null);n&&(n.forEach(s=>s()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Si(Ws))},e.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function ig(e,t){return Array.isArray(t)?t.reduce(ig,e):{...e,...t}}let dl=(()=>{class e{constructor(n,s,o){this._zone=n,this._injector=s,this._exceptionHandler=o,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 l=new d.y(P=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{P.next(this._stable),P.complete()})}),f=new d.y(P=>{let L;this._zone.runOutsideAngular(()=>{L=this._zone.onStable.subscribe(()=>{kr.assertNotInAngularZone(),bd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,P.next(!0))})})});const re=this._zone.onUnstable.subscribe(()=>{kr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{P.next(!1)}))});return()=>{L.unsubscribe(),re.unsubscribe()}});this.isStable=(0,D.T)(l,f.pipe((0,u.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,s){const o=n instanceof qu;if(!this._injector.get(ll).done)throw!o&&jt(n),new fe(405,false);let f;f=o?n:this._injector.get(ea).resolveComponentFactory(n),this.componentTypes.push(f.componentType);const P=function QC(e){return e.isBoundToModule}(f)?void 0:this._injector.get(To),re=f.create(Ws.NULL,[],s||f.selector,P),ke=re.location.nativeElement,rt=re.injector.get($m,null);return rt?.registerApplication(ke),re.onDestroy(()=>{this.detachView(re.hostView),ul(this.components,re),rt?.unregisterApplication(ke)}),this._loadComponent(re),re}tick(){if(this._runningTick)throw new fe(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const s=n;this._views.push(s),s.attachToAppRef(this)}detachView(n){const s=n;ul(this._views,s),s.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Um,[]).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),()=>ul(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new fe(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Si(kr),Si(Zs),Si(na))},e.\u0275prov=xe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ul(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let sg=!0,og=!1;function nD(){return og=!0,sg}function iD(){if(og)throw new Error("Cannot enable prod mode after platform setup.");sg=!1}let rD=(()=>{class e{}return e.__NG_ELEMENT_ID__=sD,e})();function sD(e){return function oD(e,t,n){if(xi(e)&&!n){const s=oi(e.index,t);return new ia(s,s)}return 47&e.type?new ia(t[m],t):null}(ri(),Kt(),16==(16&e))}class dg{constructor(){}supports(t){return sa(t)}create(t){return new hD(t)}}const uD=(e,t)=>t;class hD{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||uD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,s=this._removalsHead,o=0,l=null;for(;n||s;){const f=!s||n&&n.currentIndex{f=this._trackByFn(o,P),null!==n&&Object.is(n.trackById,f)?(s&&(n=this._verifyReinsertion(n,P,f,o)),Object.is(n.item,P)||this._addIdentityChange(n,P)):(n=this._mismatch(n,P,f,o),s=!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,s,o){let l;return null===t?l=this._itTail:(l=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,l,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,l,o)):t=this._addAfter(new pD(n,s),l,o),t}_verifyReinsertion(t,n,s,o){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==l?t=this._reinsertAfter(l,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,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,l=t._nextRemoved;return null===o?this._removalsHead=l:o._nextRemoved=l,null===l?this._removalsTail=o:l._prevRemoved=o,this._insertAfter(t,n,s),this._addToMoves(t,s),t}_moveAfter(t,n,s){return this._unlink(t),this._insertAfter(t,n,s),this._addToMoves(t,s),t}_addAfter(t,n,s){return this._insertAfter(t,n,s),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,s){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 ug),this._linkedRecords.put(t),t.currentIndex=s,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,s=t._next;return null===n?this._itHead=s:n._next=s,null===s?this._itTail=n:s._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 ug),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 pD{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 fD{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 s;for(s=this._head;null!==s;s=s._nextDup)if((null===n||n<=s.currentIndex)&&Object.is(s.trackById,t))return s;return null}remove(t){const n=t._prevDup,s=t._nextDup;return null===n?this._head=s:n._nextDup=s,null===s?this._tail=n:s._prevDup=n,null===this._head}}class ug{constructor(){this.map=new Map}put(t){const n=t.trackById;let s=this.map.get(n);s||(s=new fD,this.map.set(n,s)),s.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 hg(e,t,n){const s=e.previousIndex;if(null===s)return s;let o=0;return n&&s{if(n&&n.key===o)this._maybeAddToChanges(n,s),this._appendAfter=n,n=n._next;else{const l=this._getOrCreateRecordForKey(o,s);n=this._insertBeforeOrAppend(n,l)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let s=n;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const s=t._prev;return n._next=t,n._prev=s,t._prev=n,s&&(s._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 l=o._prev,f=o._next;return l&&(l._next=f),f&&(f._prev=l),o._next=null,o._prev=null,o}const s=new gD(t);return this._records.set(t,s),s.currentValue=n,this._addToAdditions(s),s}_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(s=>n(t[s],s))}}class gD{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 fg(){return new Td([new dg])}let Td=(()=>{class e{constructor(n){this.factories=n}static create(n,s){if(null!=s){const o=s.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:s=>e.create(n,s||fg()),deps:[[e,new $o,new Yo]]}}find(n){const s=this.factories.find(o=>o.supports(n));if(null!=s)return s;throw new fe(901,!1)}}return e.\u0275prov=xe({token:e,providedIn:"root",factory:fg}),e})();function mg(){return new Pd([new pg])}let Pd=(()=>{class e{constructor(n){this.factories=n}static create(n,s){if(s){const o=s.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:s=>e.create(n,s||mg()),deps:[[e,new $o,new Yo]]}}find(n){const s=this.factories.find(o=>o.supports(n));if(s)return s;throw new fe(901,!1)}}return e.\u0275prov=xe({token:e,providedIn:"root",factory:mg}),e})();const yD=Jm(null,"core",[]);let bD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Si(dl))},e.\u0275mod=E({type:e}),e.\u0275inj=Fe({}),e})();function CD(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},5863:(Rt,je,a)=>{function r(W){for(let ae in W){let se=W[ae]??"";switch(ae){case"display":W.display="flex"===se?["-webkit-flex","flex"]:"inline-flex"===se?["-webkit-inline-flex","inline-flex"]:se;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":W["-webkit-"+ae]=se;break;case"flex-direction":W["-webkit-flex-direction"]=se,W["flex-direction"]=se;break;case"order":W.order=W["-webkit-"+ae]=isNaN(+se)?"0":se}}return W}a.d(je,{Ar:()=>D,GK:()=>r,iQ:()=>d,kt:()=>p,tj:()=>T});const i="inline",d=["row","column","row-reverse","column-reverse"];function D(W){let[ae,se,le]=u(W);return function w(W,ae=null,se=!1){return{display:se?"inline-flex":"flex","box-sizing":"border-box","flex-direction":W,"flex-wrap":ae||null}}(ae,se,le)}function u(W){W=W?.toLowerCase()??"";let[ae,se,le]=W.split(" ");return d.find(me=>me===ae)||(ae=d[0]),se===i&&(se=le!==i?le:"",le=i),[ae,F(se),!!le]}function T(W){let[ae]=u(W);return ae.indexOf("row")>-1}function F(W){if(W)switch(W.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":W="wrap-reverse";break;case"no":case"none":case"nowrap":W="nowrap";break;default:W="wrap"}return W}function p(W,...ae){if(null==W)throw TypeError("Cannot convert undefined or null to object");for(let se of ae)if(null!=se)for(let le in se)se.hasOwnProperty(le)&&(W[le]=se[le]);return W}},2233:(Rt,je,a)=>{a.d(je,{Bs:()=>gt,FL:()=>Nt,IR:()=>le,Ot:()=>St,QI:()=>B,RK:()=>X,WU:()=>Ze,g5:()=>Se,iR:()=>S,wY:()=>Ne,yB:()=>qe});var r=a(4650),i=a(6895),d=a(1135),D=a(9751),u=a(6451),T=a(7579),F=a(5863),w=a(9300),p=a(8505);const ae={provide:r.tb,useFactory:function W(ht,xt){return()=>{if((0,i.NF)(xt)){const Oe=Array.from(ht.querySelectorAll(`[class*=${se}]`)),Xe=/\bflex-layout-.+?\b/g;Oe.forEach(Y=>{Y.classList.contains(`${se}ssr`)&&Y.parentNode?Y.parentNode.removeChild(Y):Y.className.replace(Xe,"")})}}},deps:[i.K0,r.Lbi],multi:!0},se="flex-layout-";let le=(()=>{class ht{}return ht.\u0275fac=function(Oe){return new(Oe||ht)},ht.\u0275mod=r.oAB({type:ht}),ht.\u0275inj=r.cJS({providers:[ae]}),ht})();class me{constructor(xt=!1,Oe="all",Xe="",Y="",oe=0){this.matches=xt,this.mediaQuery=Oe,this.mqAlias=Xe,this.suffix=Y,this.priority=oe,this.property=""}clone(){return new me(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let fe=(()=>{class ht{constructor(){this.stylesheet=new Map}addStyleToElement(Oe,Xe,Y){const oe=this.stylesheet.get(Oe);oe?oe.set(Xe,Y):this.stylesheet.set(Oe,new Map([[Xe,Y]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Oe,Xe){const Y=this.stylesheet.get(Oe);let oe="";if(Y){const x=Y.get(Xe);("number"==typeof x||"string"==typeof x)&&(oe=x+"")}return oe}}return ht.\u0275fac=function(Oe){return new(Oe||ht)},ht.\u0275prov=r.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"}),ht})();const Se={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Ze=new r.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Se}),Ne=new r.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),gt=new r.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function N(ht,xt){return ht=ht?.clone()??new me,xt&&(ht.mqAlias=xt.alias,ht.mediaQuery=xt.mediaQuery,ht.suffix=xt.suffix,ht.priority=xt.priority),ht}class B{constructor(){this.shouldCache=!0}sideEffect(xt,Oe,Xe){}}let X=(()=>{class ht{constructor(Oe,Xe,Y,oe){this._serverStylesheet=Oe,this._serverModuleLoaded=Xe,this._platformId=Y,this.layoutConfig=oe}applyStyleToElement(Oe,Xe,Y=null){let oe={};"string"==typeof Xe&&(oe[Xe]=Y,Xe=oe),oe=this.layoutConfig.disableVendorPrefixes?Xe:(0,F.GK)(Xe),this._applyMultiValueStyleToElement(oe,Oe)}applyStyleToElements(Oe,Xe=[]){const Y=this.layoutConfig.disableVendorPrefixes?Oe:(0,F.GK)(Oe);Xe.forEach(oe=>{this._applyMultiValueStyleToElement(Y,oe)})}getFlowDirection(Oe){const Xe="flex-direction";let Y=this.lookupStyle(Oe,Xe);return[Y||"row",this.lookupInlineStyle(Oe,Xe)||(0,i.PM)(this._platformId)&&this._serverModuleLoaded?Y:""]}hasWrap(Oe){return"wrap"===this.lookupStyle(Oe,"flex-wrap")}lookupAttributeValue(Oe,Xe){return Oe.getAttribute(Xe)??""}lookupInlineStyle(Oe,Xe){return(0,i.NF)(this._platformId)?Oe.style.getPropertyValue(Xe):function ie(ht,xt){return ne(ht)[xt]??""}(Oe,Xe)}lookupStyle(Oe,Xe,Y=!1){let oe="";return Oe&&((oe=this.lookupInlineStyle(Oe,Xe))||((0,i.NF)(this._platformId)?Y||(oe=getComputedStyle(Oe).getPropertyValue(Xe)):this._serverModuleLoaded&&(oe=this._serverStylesheet.getStyleForElement(Oe,Xe)))),oe?oe.trim():""}_applyMultiValueStyleToElement(Oe,Xe){Object.keys(Oe).sort().forEach(Y=>{const oe=Oe[Y],x=Array.isArray(oe)?oe:[oe];x.sort();for(let h of x)h=h?h+"":"",(0,i.NF)(this._platformId)||!this._serverModuleLoaded?(0,i.NF)(this._platformId)?Xe.style.setProperty(Y,h):pe(Xe,Y,h):this._serverStylesheet.addStyleToElement(Xe,Y,h)})}}return ht.\u0275fac=function(Oe){return new(Oe||ht)(r.LFG(fe),r.LFG(Ne),r.LFG(r.Lbi),r.LFG(Ze))},ht.\u0275prov=r.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"}),ht})();function pe(ht,xt,Oe){xt=xt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const Xe=ne(ht);Xe[xt]=Oe??"",function we(ht,xt){let Oe="";for(const Xe in xt)xt[Xe]&&(Oe+=`${Xe}:${xt[Xe]};`);ht.setAttribute("style",Oe)}(ht,Xe)}function ne(ht){const xt={},Oe=ht.getAttribute("style");if(Oe){const Xe=Oe.split(/;+/g);for(let Y=0;Y0){const x=oe.indexOf(":");if(-1===x)throw new Error(`Invalid CSS style: ${oe}`);xt[oe.substr(0,x).trim()]=oe.substr(x+1).trim()}}}return xt}function ge(ht,xt){return(xt&&xt.priority||0)-(ht&&ht.priority||0)}function Ve(ht,xt){return(ht.priority||0)-(xt.priority||0)}let Je=(()=>{class ht{constructor(Oe,Xe,Y){this._zone=Oe,this._platformId=Xe,this._document=Y,this.source=new d.X(new me(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Oe=[];return this.registry.forEach((Xe,Y)=>{Xe.matches&&Oe.push(Y)}),Oe}isActive(Oe){return this.registry.get(Oe)?.matches??this.registerQuery(Oe).some(Y=>Y.matches)}observe(Oe,Xe=!1){if(Oe&&Oe.length){const Y=this._observable$.pipe((0,w.h)(x=>!Xe||Oe.indexOf(x.mediaQuery)>-1)),oe=new D.y(x=>{const h=this.registerQuery(Oe);if(h.length){const v=h.pop();h.forEach(c=>{x.next(c)}),this.source.next(v)}x.complete()});return(0,u.T)(oe,Y)}return this._observable$}registerQuery(Oe){const Xe=Array.isArray(Oe)?Oe:[Oe],Y=[];return function Ge(ht,xt){const Oe=ht.filter(Xe=>!pt[Xe]);if(Oe.length>0){const Xe=Oe.join(", ");try{const Y=xt.createElement("style");Y.setAttribute("type","text/css"),Y.styleSheet||Y.appendChild(xt.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${Xe} {.fx-query-test{ }}\n`)),xt.head.appendChild(Y),Oe.forEach(oe=>pt[oe]=Y)}catch(Y){console.error(Y)}}}(Xe,this._document),Xe.forEach(oe=>{const x=v=>{this._zone.run(()=>this.source.next(new me(v.matches,oe)))};let h=this.registry.get(oe);h||(h=this.buildMQL(oe),h.addListener(x),this.pendingRemoveListenerFns.push(()=>h.removeListener(x)),this.registry.set(oe,h)),h.matches&&Y.push(new me(!0,oe))}),Y}ngOnDestroy(){let Oe;for(;Oe=this.pendingRemoveListenerFns.pop();)Oe()}buildMQL(Oe){return function st(ht,xt){return xt&&window.matchMedia("all").addListener?window.matchMedia(ht):function At(ht){const xt=new EventTarget;return xt.matches="all"===ht||""===ht,xt.media=ht,xt.addListener=()=>{},xt.removeListener=()=>{},xt.addEventListener=()=>{},xt.dispatchEvent=()=>!1,xt.onchange=null,xt}(ht)}(Oe,(0,i.NF)(this._platformId))}}return ht.\u0275fac=function(Oe){return new(Oe||ht)(r.LFG(r.R0b),r.LFG(r.Lbi),r.LFG(i.K0))},ht.\u0275prov=r.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"}),ht})();const pt={},_t=[{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}],et="(orientation: portrait) and (max-width: 599.98px)",mt="(orientation: landscape) and (max-width: 959.98px)",he="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",G="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",de="(orientation: portrait) and (min-width: 840px)",ye="(orientation: landscape) and (min-width: 1280px)",xe={HANDSET:`${et}, ${mt}`,TABLET:`${he} , ${G}`,WEB:`${de}, ${ye} `,HANDSET_PORTRAIT:`${et}`,TABLET_PORTRAIT:`${he} `,WEB_PORTRAIT:`${de}`,HANDSET_LANDSCAPE:`${mt}`,TABLET_LANDSCAPE:`${G}`,WEB_LANDSCAPE:`${ye}`},Dt=[{alias:"handset",priority:2e3,mediaQuery:xe.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:xe.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:xe.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:xe.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:xe.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:xe.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:xe.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:xe.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:xe.WEB_PORTRAIT,overlapping:!0}],Fe=/(\.|-|_)/g;function $e(ht){let xt=ht.length>0?ht.charAt(0):"",Oe=ht.length>1?ht.slice(1):"";return xt.toUpperCase()+Oe}const Ke=new r.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const ht=(0,r.f3M)(gt),xt=(0,r.f3M)(Ze),Oe=[].concat.apply([],(ht||[]).map(Y=>Array.isArray(Y)?Y:[Y]));return function ue(ht,xt=[]){const Oe={};return ht.forEach(Xe=>{Oe[Xe.alias]=Xe}),xt.forEach(Xe=>{Oe[Xe.alias]?(0,F.kt)(Oe[Xe.alias],Xe):Oe[Xe.alias]=Xe}),function it(ht){return ht.forEach(xt=>{xt.suffix||(xt.suffix=function ce(ht){return ht.replace(Fe,"|").split("|").map($e).join("")}(xt.alias),xt.overlapping=!!xt.overlapping)}),ht}(Object.keys(Oe).map(Xe=>Oe[Xe]))}((xt.disableDefaultBps?[]:_t).concat(xt.addOrientationBps?Dt:[]),Oe)}});let Qe=(()=>{class ht{constructor(Oe){this.findByMap=new Map,this.items=[...Oe].sort(Ve)}findByAlias(Oe){return Oe?this.findWithPredicate(Oe,Xe=>Xe.alias===Oe):null}findByQuery(Oe){return this.findWithPredicate(Oe,Xe=>Xe.mediaQuery===Oe)}get overlappings(){return this.items.filter(Oe=>Oe.overlapping)}get aliases(){return this.items.map(Oe=>Oe.alias)}get suffixes(){return this.items.map(Oe=>Oe?.suffix??"")}findWithPredicate(Oe,Xe){let Y=this.findByMap.get(Oe);return Y||(Y=this.items.find(Xe)??null,this.findByMap.set(Oe,Y)),Y??null}}return ht.\u0275fac=function(Oe){return new(Oe||ht)(r.LFG(Ke))},ht.\u0275prov=r.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"}),ht})();const Et="print",Yt={alias:Et,mediaQuery:Et,priority:1e3};let Qt=(()=>{class ht{constructor(Oe,Xe,Y){this.breakpoints=Oe,this.layoutConfig=Xe,this._document=Y,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new Wt,this.deactivations=[]}withPrintQuery(Oe){return[...Oe,Et]}isPrintEvent(Oe){return Oe.mediaQuery.startsWith(Et)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Oe=>this.breakpoints.findByAlias(Oe)).filter(Oe=>null!==Oe)}getEventBreakpoints({mediaQuery:Oe}){const Xe=this.breakpoints.findByQuery(Oe);return(Xe?[...this.printBreakPoints,Xe]:this.printBreakPoints).sort(ge)}updateEvent(Oe){let Xe=this.breakpoints.findByQuery(Oe.mediaQuery);return this.isPrintEvent(Oe)&&(Xe=this.getEventBreakpoints(Oe)[0],Oe.mediaQuery=Xe?.mediaQuery??""),N(Oe,Xe)}registerBeforeAfterPrintHooks(Oe){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const Xe=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Oe,this.getEventBreakpoints(new me(!0,Et))),Oe.updateStyles())},Y=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Oe),Oe.updateStyles())};this._document.defaultView.addEventListener("beforeprint",Xe),this._document.defaultView.addEventListener("afterprint",Y),this.beforePrintEventListeners.push(Xe),this.afterPrintEventListeners.push(Y)}interceptEvents(Oe){return Xe=>{this.isPrintEvent(Xe)?Xe.matches&&!this.isPrinting?(this.startPrinting(Oe,this.getEventBreakpoints(Xe)),Oe.updateStyles()):!Xe.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Oe),Oe.updateStyles()):this.collectActivations(Oe,Xe)}}blockPropagation(){return Oe=>!(this.isPrinting||this.isPrintEvent(Oe))}startPrinting(Oe,Xe){this.isPrinting=!0,this.formerActivations=Oe.activatedBreakpoints,Oe.activatedBreakpoints=this.queue.addPrintBreakpoints(Xe)}stopPrinting(Oe){Oe.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Oe,Xe){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!Xe.matches){const Y=this.breakpoints.findByQuery(Xe.mediaQuery);if(Y){const oe=this.formerActivations&&this.formerActivations.includes(Y),x=!this.formerActivations&&Oe.activatedBreakpoints.includes(Y);(oe||x)&&(this.deactivations.push(Y),this.deactivations.sort(ge))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Oe=>this._document.defaultView.removeEventListener("beforeprint",Oe)),this.afterPrintEventListeners.forEach(Oe=>this._document.defaultView.removeEventListener("afterprint",Oe)))}}return ht.\u0275fac=function(Oe){return new(Oe||ht)(r.LFG(Qe),r.LFG(Ze),r.LFG(i.K0))},ht.\u0275prov=r.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"}),ht})();class Wt{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(xt){return xt.push(Yt),xt.sort(ge),xt.forEach(Oe=>this.addBreakpoint(Oe)),this.printBreakpoints}addBreakpoint(xt){xt&&void 0===this.printBreakpoints.find(Xe=>Xe.mediaQuery===xt.mediaQuery)&&(this.printBreakpoints=function Vt(ht){return ht?.mediaQuery.startsWith(Et)??!1}(xt)?[xt,...this.printBreakpoints]:[...this.printBreakpoints,xt])}clear(){this.printBreakpoints=[]}}let qe=(()=>{class ht{constructor(Oe,Xe,Y){this.matchMedia=Oe,this.breakpoints=Xe,this.hook=Y,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 T.x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Oe){this._activatedBreakpoints=[...Oe]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Oe){this._useFallbacks=Oe}onMediaChange(Oe){const Xe=this.findByQuery(Oe.mediaQuery);if(Xe){Oe=N(Oe,Xe);const Y=this.activatedBreakpoints.indexOf(Xe);Oe.matches&&-1===Y?(this._activatedBreakpoints.push(Xe),this._activatedBreakpoints.sort(ge),this.updateStyles()):!Oe.matches&&-1!==Y&&(this._activatedBreakpoints.splice(Y,1),this._activatedBreakpoints.sort(ge),this.updateStyles())}}init(Oe,Xe,Y,oe,x=[]){te(this.updateMap,Oe,Xe,Y),te(this.clearMap,Oe,Xe,oe),this.buildElementKeyMap(Oe,Xe),this.watchExtraTriggers(Oe,Xe,x)}getValue(Oe,Xe,Y){const oe=this.elementMap.get(Oe);if(oe){const x=void 0!==Y?oe.get(Y):this.getActivatedValues(oe,Xe);if(x)return x.get(Xe)}}hasValue(Oe,Xe){const Y=this.elementMap.get(Oe);if(Y){const oe=this.getActivatedValues(Y,Xe);if(oe)return void 0!==oe.get(Xe)||!1}return!1}setValue(Oe,Xe,Y,oe){let x=this.elementMap.get(Oe);if(x){const v=(x.get(oe)??new Map).set(Xe,Y);x.set(oe,v),this.elementMap.set(Oe,x)}else x=(new Map).set(oe,(new Map).set(Xe,Y)),this.elementMap.set(Oe,x);const h=this.getValue(Oe,Xe);void 0!==h&&this.updateElement(Oe,Xe,h)}trackValue(Oe,Xe){return this.subject.asObservable().pipe((0,w.h)(Y=>Y.element===Oe&&Y.key===Xe))}updateStyles(){this.elementMap.forEach((Oe,Xe)=>{const Y=new Set(this.elementKeyMap.get(Xe));let oe=this.getActivatedValues(Oe);oe&&oe.forEach((x,h)=>{this.updateElement(Xe,h,x),Y.delete(h)}),Y.forEach(x=>{if(oe=this.getActivatedValues(Oe,x),oe){const h=oe.get(x);this.updateElement(Xe,x,h)}else this.clearElement(Xe,x)})})}clearElement(Oe,Xe){const Y=this.clearMap.get(Oe);if(Y){const oe=Y.get(Xe);oe&&(oe(),this.subject.next({element:Oe,key:Xe,value:""}))}}updateElement(Oe,Xe,Y){const oe=this.updateMap.get(Oe);if(oe){const x=oe.get(Xe);x&&(x(Y),this.subject.next({element:Oe,key:Xe,value:Y}))}}releaseElement(Oe){const Xe=this.watcherMap.get(Oe);Xe&&(Xe.forEach(oe=>oe.unsubscribe()),this.watcherMap.delete(Oe));const Y=this.elementMap.get(Oe);Y&&(Y.forEach((oe,x)=>Y.delete(x)),this.elementMap.delete(Oe))}triggerUpdate(Oe,Xe){const Y=this.elementMap.get(Oe);if(Y){const oe=this.getActivatedValues(Y,Xe);oe&&(Xe?this.updateElement(Oe,Xe,oe.get(Xe)):oe.forEach((x,h)=>this.updateElement(Oe,h,x)))}}buildElementKeyMap(Oe,Xe){let Y=this.elementKeyMap.get(Oe);Y||(Y=new Set,this.elementKeyMap.set(Oe,Y)),Y.add(Xe)}watchExtraTriggers(Oe,Xe,Y){if(Y&&Y.length){let oe=this.watcherMap.get(Oe);if(oe||(oe=new Map,this.watcherMap.set(Oe,oe)),!oe.get(Xe)){const h=(0,u.T)(...Y).subscribe(()=>{const v=this.getValue(Oe,Xe);this.updateElement(Oe,Xe,v)});oe.set(Xe,h)}}}findByQuery(Oe){return this.breakpoints.findByQuery(Oe)}getActivatedValues(Oe,Xe){for(let oe=0;oeXe.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Oe)).pipe((0,p.b)(this.hook.interceptEvents(this)),(0,w.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return ht.\u0275fac=function(Oe){return new(Oe||ht)(r.LFG(Je),r.LFG(Qe),r.LFG(Qt))},ht.\u0275prov=r.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"}),ht})();function te(ht,xt,Oe,Xe){if(void 0!==Xe){const Y=ht.get(xt)??new Map;Y.set(Oe,Xe),ht.set(xt,Y)}}let S=(()=>{class ht{constructor(Oe,Xe,Y,oe){this.elementRef=Oe,this.styleBuilder=Xe,this.styler=Y,this.marshal=oe,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new T.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(Oe){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Oe,this.marshal.activatedAlias)}ngOnChanges(Oe){Object.keys(Oe).forEach(Xe=>{if(-1!==this.inputs.indexOf(Xe)){const Y=Xe.split(".").slice(1).join(".");this.setValue(Oe[Xe].currentValue,Y)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Oe=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Oe)}addStyles(Oe,Xe){const Y=this.styleBuilder,oe=Y.shouldCache;let x=this.styleCache.get(Oe);(!x||!oe)&&(x=Y.buildStyles(Oe,Xe),oe&&this.styleCache.set(Oe,x)),this.mru={...x},this.applyStyleToElement(x),Y.sideEffect(Oe,x,Xe)}clearStyles(){Object.keys(this.mru).forEach(Oe=>{this.mru[Oe]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Oe,Xe=!1){if(Oe){const[Y,oe]=this.styler.getFlowDirection(Oe);if(!oe&&Xe){const x=(0,F.Ar)(Y);this.styler.applyStyleToElements(x,[Oe])}return Y.trim()}return"row"}hasWrap(Oe){return this.styler.hasWrap(Oe)}applyStyleToElement(Oe,Xe,Y=this.nativeElement){this.styler.applyStyleToElement(Y,Oe,Xe)}setValue(Oe,Xe){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Oe,Xe)}updateWithValue(Oe){this.currentValue!==Oe&&(this.addStyles(Oe),this.currentValue=Oe)}}return ht.\u0275fac=function(Oe){return new(Oe||ht)(r.Y36(r.SBq),r.Y36(B),r.Y36(X),r.Y36(qe))},ht.\u0275dir=r.lG2({type:ht,features:[r.TTD]}),ht})();function St(ht,xt="1",Oe="1"){let Xe=[xt,Oe,ht],Y=ht.indexOf("calc");if(Y>0){Xe[2]=Bt(ht.substring(Y).trim());let oe=ht.substr(0,Y).trim().split(" ");2==oe.length&&(Xe[0]=oe[0],Xe[1]=oe[1])}else if(0==Y)Xe[2]=Bt(ht.trim());else{let oe=ht.split(" ");Xe=3===oe.length?oe:[xt,Oe,ht]}return Xe}function Bt(ht){return ht.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function Nt(ht,xt){if(void 0===xt)return ht;const Oe=Xe=>{const Y=+Xe.slice(0,-"x".length);return ht.endsWith("x")&&!isNaN(Y)?`${Y*xt.value}${xt.unit}`:ht};return ht.includes(" ")?ht.split(" ").map(Oe).join(" "):Oe(ht)}EventTarget},5829:(Rt,je,a)=>{a.d(je,{aT:()=>mt,b8:()=>X,oO:()=>Se});var r=a(4650),i=a(2233),d=a(6895),D=a(1281),u=a(2722);a(1481);let le=(()=>{class he extends i.iR{constructor(de,ye,xe,Dt,Fe,$e,ce){super(de,null,ye,xe),this.ngClassInstance=ce,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new d.mk(Dt,Fe,de,$e)),this.init(),this.setValue("","")}set klass(de){this.ngClassInstance.klass=de,this.setValue(de,"")}updateWithValue(de){this.ngClassInstance.ngClass=de,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return he.\u0275fac=function(de){return new(de||he)(r.Y36(r.SBq),r.Y36(i.RK),r.Y36(i.yB),r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.Qsj),r.Y36(d.mk,10))},he.\u0275dir=r.lG2({type:he,inputs:{klass:["class","klass"]},features:[r.qOj]}),he})();const me=["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 Se=(()=>{class he extends le{constructor(){super(...arguments),this.inputs=me}}return he.\u0275fac=function(){let G;return function(ye){return(G||(G=r.n5z(he)))(ye||he)}}(),he.\u0275dir=r.lG2({type:he,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:[r.qOj]}),he})(),Ze=(()=>{class he extends i.QI{buildStyles(de,ye){return{display:"true"===de?ye.display||(ye.isServer?"initial":""):"none"}}}return he.\u0275fac=function(){let G;return function(ye){return(G||(G=r.n5z(he)))(ye||he)}}(),he.\u0275prov=r.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),he})(),Ne=(()=>{class he extends i.iR{constructor(de,ye,xe,Dt,Fe,$e,ce){super(de,ye,xe,Dt),this.layoutConfig=Fe,this.platformId=$e,this.serverModuleLoaded=ce,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const de=Array.from(this.nativeElement.children);for(let xe=0;xe{if(-1!==this.inputs.indexOf(ye)){const xe=ye.split("."),Dt=xe.slice(1).join("."),Fe=de[ye].currentValue;let $e=""===Fe||0!==Fe&&(0,D.Ig)(Fe);"fxHide"===xe[0]&&($e=!$e),this.setValue($e,Dt)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(de=>{this.marshal.trackValue(this.nativeElement,de).pipe((0,u.R)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(de=!0){if(""===de)return;const ye=(0,d.PM)(this.platformId);this.addStyles(de?"true":"false",{display:this.display,isServer:ye}),ye&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return he.\u0275fac=function(de){return new(de||he)(r.Y36(r.SBq),r.Y36(Ze),r.Y36(i.RK),r.Y36(i.yB),r.Y36(i.WU),r.Y36(r.Lbi),r.Y36(i.wY))},he.\u0275dir=r.lG2({type:he,features:[r.qOj,r.TTD]}),he})();const gt=new WeakMap,N=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];let X=(()=>{class he extends Ne{constructor(){super(...arguments),this.inputs=N}}return he.\u0275fac=function(){let G;return function(ye){return(G||(G=r.n5z(he)))(ye||he)}}(),he.\u0275dir=r.lG2({type:he,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[r.qOj]}),he})(),mt=(()=>{class he{}return he.\u0275fac=function(de){return new(de||he)},he.\u0275mod=r.oAB({type:he}),he.\u0275inj=r.cJS({imports:[i.IR]}),he})()},1576:(Rt,je,a)=>{a.d(je,{SQ:()=>Ne,Wh:()=>St,ae:()=>x,r7:()=>Dt,xw:()=>ae,yH:()=>At});var r=a(4650),i=a(445),d=a(2233),D=a(5863),u=a(7579),T=a(2722);let F=(()=>{class h extends d.QI{buildStyles(c,{display:b}){const E=(0,D.Ar)(c);return{...E,display:"none"===b?b:E.display}}}return h.\u0275fac=function(){let v;return function(b){return(v||(v=r.n5z(h)))(b||h)}}(),h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const w=["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 W=(()=>{class h extends d.iR{constructor(c,b,E,O,R){super(c,E,b,O),this._config=R,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(c){const E=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=se.get(E)??new Map,se.set(E,this.styleCache),this.currentValue!==c&&(this.addStyles(c,{display:E}),this.currentValue=c)}}return h.\u0275fac=function(c){return new(c||h)(r.Y36(r.SBq),r.Y36(d.RK),r.Y36(F),r.Y36(d.yB),r.Y36(d.WU))},h.\u0275dir=r.lG2({type:h,features:[r.qOj]}),h})(),ae=(()=>{class h extends W{constructor(){super(...arguments),this.inputs=w}}return h.\u0275fac=function(){let v;return function(b){return(v||(v=r.n5z(h)))(b||h)}}(),h.\u0275dir=r.lG2({type:h,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:[r.qOj]}),h})();const se=new Map,le={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let me=(()=>{class h extends d.QI{constructor(c,b){super(),this._styler=c,this._config=b}buildStyles(c,b){return c.endsWith(ie)?(c=c.slice(0,c.indexOf(ie)),function we(h,v){const[c,b]=h.split(" "),O=nt=>`-${nt}`;let R="0px",z=O(b??c),Re="0px";return"rtl"===v?Re=O(c):R=O(c),{margin:`0px ${R} ${z} ${Re}`}}(c=(0,d.FL)(c,this._config.multiplier),b.directionality)):{}}sideEffect(c,b,E){const O=E.items;if(c.endsWith(ie)){c=c.slice(0,c.indexOf(ie));const R=function pe(h,v){const[c,b]=h.split(" ");let O="0px",z="0px";return"rtl"===v?z=c:O=c,{padding:`0px ${O} ${b??c} ${z}`}}(c=(0,d.FL)(c,this._config.multiplier),E.directionality);this._styler.applyStyleToElements(R,E.items)}else{c=(0,d.FL)(c,this._config.multiplier),c=this.addFallbackUnit(c);const R=O.pop(),z=function ge(h,v){const c=ne(v.directionality,v.layout),b={...le};return b[c]=h,b}(c,E);this._styler.applyStyleToElements(z,O),this._styler.applyStyleToElements(le,[R])}}addFallbackUnit(c){return isNaN(+c)?c:`${c}${this._config.defaultUnit}`}}return h.\u0275fac=function(c){return new(c||h)(r.LFG(d.RK),r.LFG(d.WU))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const fe=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let Ze=(()=>{class h extends d.iR{constructor(c,b,E,O,R,z){super(c,R,O,z),this.zone=b,this.directionality=E,this.styleUtils=O,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new u.x;const Re=[this.directionality.change,this.observerSubject.asObservable()];this.init(Re),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,T.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const c=this.nativeElement.children,b=[];for(let E=c.length;E--;)b[E]=c[E];return b}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(c){const E=c.value.split(" ");this.layout=E[0],D.iQ.find(O=>O===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(c){const b=this.childrenNodes.filter(E=>1===E.nodeType&&this.willDisplay(E)).sort((E,O)=>{const R=+this.styler.lookupStyle(E,"order"),z=+this.styler.lookupStyle(O,"order");return isNaN(R)||isNaN(z)||R===z?0:R>z?1:-1});if(b.length>0){const E=this.directionality.value,O=this.layout;"row"===O&&"rtl"===E?this.styleCache=gt:"row"===O&&"rtl"!==E?this.styleCache=B:"column"===O&&"rtl"===E?this.styleCache=N:"column"===O&&"rtl"!==E&&(this.styleCache=X),this.addStyles(c,{directionality:E,items:b,layout:O})}}clearStyles(){const c=Object.keys(this.mru).length>0,b=c?"padding":ne(this.directionality.value,this.layout);c&&super.clearStyles(),this.styleUtils.applyStyleToElements({[b]:""},this.childrenNodes)}willDisplay(c){const b=this.marshal.getValue(c,"show-hide");return!0===b||void 0===b&&"none"!==this.styleUtils.lookupStyle(c,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(c=>{c.some(E=>E.addedNodes&&E.addedNodes.length>0||E.removedNodes&&E.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return h.\u0275fac=function(c){return new(c||h)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(i.Is),r.Y36(d.RK),r.Y36(me),r.Y36(d.yB))},h.\u0275dir=r.lG2({type:h,features:[r.qOj]}),h})(),Ne=(()=>{class h extends Ze{constructor(){super(...arguments),this.inputs=fe}}return h.\u0275fac=function(){let v;return function(b){return(v||(v=r.n5z(h)))(b||h)}}(),h.\u0275dir=r.lG2({type:h,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[r.qOj]}),h})();const gt=new Map,N=new Map,B=new Map,X=new Map,ie=" grid";function ne(h,v){switch(v){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===h?"margin-left":"margin-right";case"row-reverse":return"rtl"===h?"margin-right":"margin-left"}}let Ve=(()=>{class h extends d.QI{constructor(c){super(),this.layoutConfig=c}buildStyles(c,b){let[E,O,...R]=c.split(" "),z=R.join(" ");const Re=b.direction.indexOf("column")>-1?"column":"row",nt=(0,D.tj)(Re)?"max-width":"max-height",wt=(0,D.tj)(Re)?"min-width":"min-height",Tt=String(z).indexOf("calc")>-1,jt=Tt||"auto"===z,en=String(z).indexOf("%")>-1&&!Tt,cn=String(z).indexOf("px")>-1||String(z).indexOf("rem")>-1||String(z).indexOf("em")>-1||String(z).indexOf("vw")>-1||String(z).indexOf("vh")>-1;let tt=Tt||cn;E="0"==E?0:E,O="0"==O?0:O;const ot=!E&&!O;let ze={};const Ct={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(z||""){case"":const Ut=!1!==this.layoutConfig.useColumnBasisZero;z="row"===Re?"0%":Ut?"0.000000001px":"auto";break;case"initial":case"nogrow":E=0,z="auto";break;case"grow":z="100%";break;case"noshrink":O=0,z="auto";break;case"auto":break;case"none":E=0,O=0,z="auto";break;default:!tt&&!en&&!isNaN(z)&&(z+="%"),"0%"===z&&(tt=!0),"0px"===z&&(z="0%"),ze=(0,D.kt)(Ct,Tt?{"flex-grow":E,"flex-shrink":O,"flex-basis":tt?z:"100%"}:{flex:`${E} ${O} ${tt?z:"100%"}`})}return ze.flex||ze["flex-grow"]||(ze=(0,D.kt)(Ct,Tt?{"flex-grow":E,"flex-shrink":O,"flex-basis":z}:{flex:`${E} ${O} ${z}`})),"0%"!==z&&"0px"!==z&&"0.000000001px"!==z&&"auto"!==z&&(ze[wt]=ot||tt&&E?z:null,ze[nt]=ot||!jt&&O?z:null),ze[wt]||ze[nt]?b.hasWrap&&(ze[Tt?"flex-basis":"flex"]=ze[nt]?Tt?ze[nt]:`${E} ${O} ${ze[nt]}`:Tt?ze[wt]:`${E} ${O} ${ze[wt]}`):ze=(0,D.kt)(Ct,Tt?{"flex-grow":E,"flex-shrink":O,"flex-basis":z}:{flex:`${E} ${O} ${z}`}),(0,D.kt)(ze,{"box-sizing":"border-box"})}}return h.\u0275fac=function(c){return new(c||h)(r.LFG(d.WU))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const Je=["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 Ge=(()=>{class h extends d.iR{constructor(c,b,E,O,R){super(c,O,b,R),this.layoutConfig=E,this.marshal=R,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(c){this.flexShrink=c||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(c){this.flexGrow=c||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,T.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,T.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(c){const E=c.value.split(" ");this.direction=E[0],this.wrap=void 0!==E[1]&&"wrap"===E[1],this.triggerUpdate()}updateWithValue(c){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 E=this.direction,O=E.startsWith("row"),R=this.wrap;O&&R?this.styleCache=et:O&&!R?this.styleCache=st:!O&&R?this.styleCache=mt:!O&&!R&&(this.styleCache=_t);const z=String(c).replace(";",""),Re=(0,d.Ot)(z,this.flexGrow,this.flexShrink);this.addStyles(Re.join(" "),{direction:E,hasWrap:R})}triggerReflow(){const c=this.activatedValue;if(void 0!==c){const b=(0,d.Ot)(c+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,b.join(" "))}}}return h.\u0275fac=function(c){return new(c||h)(r.Y36(r.SBq),r.Y36(d.RK),r.Y36(d.WU),r.Y36(Ve),r.Y36(d.yB))},h.\u0275dir=r.lG2({type:h,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[r.qOj]}),h})(),At=(()=>{class h extends Ge{constructor(){super(...arguments),this.inputs=Je}}return h.\u0275fac=function(){let v;return function(b){return(v||(v=r.n5z(h)))(b||h)}}(),h.\u0275dir=r.lG2({type:h,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:[r.qOj]}),h})();const st=new Map,_t=new Map,et=new Map,mt=new Map;let he=(()=>{class h extends d.QI{buildStyles(c){return{order:c&&parseInt(c,10)||""}}}return h.\u0275fac=function(){let v;return function(b){return(v||(v=r.n5z(h)))(b||h)}}(),h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const G=["fxFlexOrder","fxFlexOrder.xs","fxFlexOrder.sm","fxFlexOrder.md","fxFlexOrder.lg","fxFlexOrder.xl","fxFlexOrder.lt-sm","fxFlexOrder.lt-md","fxFlexOrder.lt-lg","fxFlexOrder.lt-xl","fxFlexOrder.gt-xs","fxFlexOrder.gt-sm","fxFlexOrder.gt-md","fxFlexOrder.gt-lg"];let ye=(()=>{class h extends d.iR{constructor(c,b,E,O){super(c,E,b,O),this.DIRECTIVE_KEY="flex-order",this.styleCache=xe,this.init()}}return h.\u0275fac=function(c){return new(c||h)(r.Y36(r.SBq),r.Y36(d.RK),r.Y36(he),r.Y36(d.yB))},h.\u0275dir=r.lG2({type:h,features:[r.qOj]}),h})();const xe=new Map;let Dt=(()=>{class h extends ye{constructor(){super(...arguments),this.inputs=G}}return h.\u0275fac=function(){let v;return function(b){return(v||(v=r.n5z(h)))(b||h)}}(),h.\u0275dir=r.lG2({type:h,selectors:[["","fxFlexOrder",""],["","fxFlexOrder.xs",""],["","fxFlexOrder.sm",""],["","fxFlexOrder.md",""],["","fxFlexOrder.lg",""],["","fxFlexOrder.xl",""],["","fxFlexOrder.lt-sm",""],["","fxFlexOrder.lt-md",""],["","fxFlexOrder.lt-lg",""],["","fxFlexOrder.lt-xl",""],["","fxFlexOrder.gt-xs",""],["","fxFlexOrder.gt-sm",""],["","fxFlexOrder.gt-md",""],["","fxFlexOrder.gt-lg",""]],inputs:{fxFlexOrder:"fxFlexOrder","fxFlexOrder.xs":"fxFlexOrder.xs","fxFlexOrder.sm":"fxFlexOrder.sm","fxFlexOrder.md":"fxFlexOrder.md","fxFlexOrder.lg":"fxFlexOrder.lg","fxFlexOrder.xl":"fxFlexOrder.xl","fxFlexOrder.lt-sm":"fxFlexOrder.lt-sm","fxFlexOrder.lt-md":"fxFlexOrder.lt-md","fxFlexOrder.lt-lg":"fxFlexOrder.lt-lg","fxFlexOrder.lt-xl":"fxFlexOrder.lt-xl","fxFlexOrder.gt-xs":"fxFlexOrder.gt-xs","fxFlexOrder.gt-sm":"fxFlexOrder.gt-sm","fxFlexOrder.gt-md":"fxFlexOrder.gt-md","fxFlexOrder.gt-lg":"fxFlexOrder.gt-lg"},features:[r.qOj]}),h})(),Ee=(()=>{class h extends d.QI{buildStyles(c,b){const E={},[O,R]=c.split(" ");switch(O){case"center":E["justify-content"]="center";break;case"space-around":E["justify-content"]="space-around";break;case"space-between":E["justify-content"]="space-between";break;case"space-evenly":E["justify-content"]="space-evenly";break;case"end":case"flex-end":E["justify-content"]="flex-end";break;default:E["justify-content"]="flex-start"}switch(R){case"start":case"flex-start":E["align-items"]=E["align-content"]="flex-start";break;case"center":E["align-items"]=E["align-content"]="center";break;case"end":case"flex-end":E["align-items"]=E["align-content"]="flex-end";break;case"space-between":E["align-content"]="space-between",E["align-items"]="stretch";break;case"space-around":E["align-content"]="space-around",E["align-items"]="stretch";break;case"baseline":E["align-content"]="stretch",E["align-items"]="baseline";break;default:E["align-items"]=E["align-content"]="stretch"}return(0,D.kt)(E,{display:b.inline?"inline-flex":"flex","flex-direction":b.layout,"box-sizing":"border-box","max-width":"stretch"===R?(0,D.tj)(b.layout)?null:"100%":null,"max-height":"stretch"===R&&(0,D.tj)(b.layout)?"100%":null})}}return h.\u0275fac=function(){let v;return function(b){return(v||(v=r.n5z(h)))(b||h)}}(),h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const De=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let vt=(()=>{class h extends d.iR{constructor(c,b,E,O){super(c,E,b,O),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,T.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(c){const b=this.layout||"row",E=this.inline;"row"===b&&E?this.styleCache=xt:"row"!==b||E?"row-reverse"===b&&E?this.styleCache=Xe:"row-reverse"!==b||E?"column"===b&&E?this.styleCache=Oe:"column"!==b||E?"column-reverse"===b&&E?this.styleCache=Y:"column-reverse"===b&&!E&&(this.styleCache=ht):this.styleCache=on:this.styleCache=Nt:this.styleCache=Bt,this.addStyles(c,{layout:b,inline:E})}onLayoutChange(c){const b=c.value.split(" ");this.layout=b[0],this.inline=c.value.includes("inline"),D.iQ.find(E=>E===this.layout)||(this.layout="row"),this.triggerUpdate()}}return h.\u0275fac=function(c){return new(c||h)(r.Y36(r.SBq),r.Y36(d.RK),r.Y36(Ee),r.Y36(d.yB))},h.\u0275dir=r.lG2({type:h,features:[r.qOj]}),h})(),St=(()=>{class h extends vt{constructor(){super(...arguments),this.inputs=De}}return h.\u0275fac=function(){let v;return function(b){return(v||(v=r.n5z(h)))(b||h)}}(),h.\u0275dir=r.lG2({type:h,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[r.qOj]}),h})();const Bt=new Map,on=new Map,Nt=new Map,ht=new Map,xt=new Map,Oe=new Map,Xe=new Map,Y=new Map;let x=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275mod=r.oAB({type:h}),h.\u0275inj=r.cJS({imports:[d.IR,i.vT]}),h})()},9814:(Rt,je,a)=>{a.d(je,{o9:()=>Un});var r=a(4650),i=a(2233),d=a(5829),D=a(1576);a(1281);let yn=(()=>{class at{}return at.\u0275fac=function(Ye){return new(Ye||at)},at.\u0275mod=r.oAB({type:at}),at.\u0275inj=r.cJS({imports:[i.IR]}),at})();var Hn=a(6895);let Un=(()=>{class at{constructor(Ye,m){(0,Hn.PM)(m)&&!Ye&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(Ye,m=[]){return{ngModule:at,providers:Ye.serverLoaded?[{provide:i.WU,useValue:{...i.g5,...Ye}},{provide:i.Bs,useValue:m,multi:!0},{provide:i.wY,useValue:!0}]:[{provide:i.WU,useValue:{...i.g5,...Ye}},{provide:i.Bs,useValue:m,multi:!0}]}}}return at.\u0275fac=function(Ye){return new(Ye||at)(r.LFG(i.wY),r.LFG(r.Lbi))},at.\u0275mod=r.oAB({type:at}),at.\u0275inj=r.cJS({imports:[D.ae,d.aT,yn,D.ae,d.aT,yn]}),at})()},4006:(Rt,je,a)=>{a.d(je,{CE:()=>Ui,Cf:()=>Ne,F:()=>Cn,Fj:()=>me,JJ:()=>Vt,JL:()=>qe,JU:()=>w,On:()=>Xi,UX:()=>ar,Zs:()=>rr,_Y:()=>pr,a5:()=>Et,gN:()=>Qe,kI:()=>B,nD:()=>Ei,qu:()=>Tn,sg:()=>fr,u:()=>Yi,u5:()=>Jr,wV:()=>hi,x0:()=>gi});var r=a(4650),i=a(6895),d=a(2076),D=a(4128),u=a(4004);let T=(()=>{class Q{constructor(V,Be){this._renderer=V,this._elementRef=Be,this.onChange=Ht=>{},this.onTouched=()=>{}}setProperty(V,Be){this._renderer.setProperty(this._elementRef.nativeElement,V,Be)}registerOnTouched(V){this.onTouched=V}registerOnChange(V){this.onChange=V}setDisabledState(V){this.setProperty("disabled",V)}}return Q.\u0275fac=function(V){return new(V||Q)(r.Y36(r.Qsj),r.Y36(r.SBq))},Q.\u0275dir=r.lG2({type:Q}),Q})(),F=(()=>{class Q extends T{}return Q.\u0275fac=function(){let Z;return function(Be){return(Z||(Z=r.n5z(Q)))(Be||Q)}}(),Q.\u0275dir=r.lG2({type:Q,features:[r.qOj]}),Q})();const w=new r.OlP("NgValueAccessor"),ae={provide:w,useExisting:(0,r.Gpc)(()=>me),multi:!0},le=new r.OlP("CompositionEventMode");let me=(()=>{class Q extends T{constructor(V,Be,Ht){super(V,Be),this._compositionMode=Ht,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function se(){const Q=(0,i.q)()?(0,i.q)().getUserAgent():"";return/android (\d+)/.test(Q.toLowerCase())}())}writeValue(V){this.setProperty("value",V??"")}_handleInput(V){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(V)}_compositionStart(){this._composing=!0}_compositionEnd(V){this._composing=!1,this._compositionMode&&this.onChange(V)}}return Q.\u0275fac=function(V){return new(V||Q)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(le,8))},Q.\u0275dir=r.lG2({type:Q,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(V,Be){1&V&&r.NdJ("input",function(un){return Be._handleInput(un.target.value)})("blur",function(){return Be.onTouched()})("compositionstart",function(){return Be._compositionStart()})("compositionend",function(un){return Be._compositionEnd(un.target.value)})},features:[r._Bn([ae]),r.qOj]}),Q})();function Se(Q){return null==Q||("string"==typeof Q||Array.isArray(Q))&&0===Q.length}function Ze(Q){return null!=Q&&"number"==typeof Q.length}const Ne=new r.OlP("NgValidators"),gt=new r.OlP("NgAsyncValidators"),N=/^(?=.{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 B{static min(Z){return function X(Q){return Z=>{if(Se(Z.value)||Se(Q))return null;const V=parseFloat(Z.value);return!isNaN(V)&&V{if(Se(Z.value)||Se(Q))return null;const V=parseFloat(Z.value);return!isNaN(V)&&V>Q?{max:{max:Q,actual:Z.value}}:null}}(Z)}static required(Z){return pe(Z)}static requiredTrue(Z){return we(Z)}static email(Z){return function ne(Q){return Se(Q.value)||N.test(Q.value)?null:{email:!0}}(Z)}static minLength(Z){return function ge(Q){return Z=>Se(Z.value)||!Ze(Z.value)?null:Z.value.length{if(Se(Be.value))return null;const Ht=Be.value;return Z.test(Ht)?null:{pattern:{requiredPattern:V,actualValue:Ht}}}}(Z)}static nullValidator(Z){return null}static compose(Z){return he(Z)}static composeAsync(Z){return de(Z)}}function pe(Q){return Se(Q.value)?{required:!0}:null}function we(Q){return!0===Q.value?null:{required:!0}}function Ve(Q){return Z=>Ze(Z.value)&&Z.value.length>Q?{maxlength:{requiredLength:Q,actualLength:Z.value.length}}:null}function pt(Q){return null}function Ge(Q){return null!=Q}function At(Q){return(0,r.QGY)(Q)?(0,d.D)(Q):Q}function st(Q){let Z={};return Q.forEach(V=>{Z=null!=V?{...Z,...V}:Z}),0===Object.keys(Z).length?null:Z}function _t(Q,Z){return Z.map(V=>V(Q))}function mt(Q){return Q.map(Z=>function et(Q){return!Q.validate}(Z)?Z:V=>Z.validate(V))}function he(Q){if(!Q)return null;const Z=Q.filter(Ge);return 0==Z.length?null:function(V){return st(_t(V,Z))}}function G(Q){return null!=Q?he(mt(Q)):null}function de(Q){if(!Q)return null;const Z=Q.filter(Ge);return 0==Z.length?null:function(V){const Be=_t(V,Z).map(At);return(0,D.D)(Be).pipe((0,u.U)(st))}}function ye(Q){return null!=Q?de(mt(Q)):null}function xe(Q,Z){return null===Q?[Z]:Array.isArray(Q)?[...Q,Z]:[Q,Z]}function Dt(Q){return Q._rawValidators}function Fe(Q){return Q._rawAsyncValidators}function $e(Q){return Q?Array.isArray(Q)?Q:[Q]:[]}function ce(Q,Z){return Array.isArray(Q)?Q.includes(Z):Q===Z}function it(Q,Z){const V=$e(Z);return $e(Q).forEach(Ht=>{ce(V,Ht)||V.push(Ht)}),V}function ue(Q,Z){return $e(Z).filter(V=>!ce(Q,V))}class Ke{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(Z){this._rawValidators=Z||[],this._composedValidatorFn=G(this._rawValidators)}_setAsyncValidators(Z){this._rawAsyncValidators=Z||[],this._composedAsyncValidatorFn=ye(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Z){this._onDestroyCallbacks.push(Z)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Z=>Z()),this._onDestroyCallbacks=[]}reset(Z){this.control&&this.control.reset(Z)}hasError(Z,V){return!!this.control&&this.control.hasError(Z,V)}getError(Z,V){return this.control?this.control.getError(Z,V):null}}class Qe extends Ke{get formDirective(){return null}get path(){return null}}class Et extends Ke{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Yt{constructor(Z){this._cd=Z}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Vt=(()=>{class Q extends Yt{constructor(V){super(V)}}return Q.\u0275fac=function(V){return new(V||Q)(r.Y36(Et,2))},Q.\u0275dir=r.lG2({type:Q,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(V,Be){2&V&&r.ekj("ng-untouched",Be.isUntouched)("ng-touched",Be.isTouched)("ng-pristine",Be.isPristine)("ng-dirty",Be.isDirty)("ng-valid",Be.isValid)("ng-invalid",Be.isInvalid)("ng-pending",Be.isPending)},features:[r.qOj]}),Q})(),qe=(()=>{class Q extends Yt{constructor(V){super(V)}}return Q.\u0275fac=function(V){return new(V||Q)(r.Y36(Qe,10))},Q.\u0275dir=r.lG2({type:Q,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(V,Be){2&V&&r.ekj("ng-untouched",Be.isUntouched)("ng-touched",Be.isTouched)("ng-pristine",Be.isPristine)("ng-dirty",Be.isDirty)("ng-valid",Be.isValid)("ng-invalid",Be.isInvalid)("ng-pending",Be.isPending)("ng-submitted",Be.isSubmitted)},features:[r.qOj]}),Q})();const Y="VALID",oe="INVALID",x="PENDING",h="DISABLED";function v(Q){return(O(Q)?Q.validators:Q)||null}function c(Q){return Array.isArray(Q)?G(Q):Q||null}function b(Q,Z){return(O(Z)?Z.asyncValidators:Q)||null}function E(Q){return Array.isArray(Q)?ye(Q):Q||null}function O(Q){return null!=Q&&!Array.isArray(Q)&&"object"==typeof Q}function R(Q,Z,V){const Be=Q.controls;if(!(Z?Object.keys(Be):Be).length)throw new r.vHH(1e3,"");if(!Be[V])throw new r.vHH(1001,"")}function z(Q,Z,V){Q._forEachChild((Be,Ht)=>{if(void 0===V[Ht])throw new r.vHH(1002,"")})}class Re{constructor(Z,V){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=Z,this._rawAsyncValidators=V,this._composedValidatorFn=c(this._rawValidators),this._composedAsyncValidatorFn=E(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(Z){this._rawValidators=this._composedValidatorFn=Z}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Z){this._rawAsyncValidators=this._composedAsyncValidatorFn=Z}get parent(){return this._parent}get valid(){return this.status===Y}get invalid(){return this.status===oe}get pending(){return this.status==x}get disabled(){return this.status===h}get enabled(){return this.status!==h}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Z){this._rawValidators=Z,this._composedValidatorFn=c(Z)}setAsyncValidators(Z){this._rawAsyncValidators=Z,this._composedAsyncValidatorFn=E(Z)}addValidators(Z){this.setValidators(it(Z,this._rawValidators))}addAsyncValidators(Z){this.setAsyncValidators(it(Z,this._rawAsyncValidators))}removeValidators(Z){this.setValidators(ue(Z,this._rawValidators))}removeAsyncValidators(Z){this.setAsyncValidators(ue(Z,this._rawAsyncValidators))}hasValidator(Z){return ce(this._rawValidators,Z)}hasAsyncValidator(Z){return ce(this._rawAsyncValidators,Z)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Z={}){this.touched=!0,this._parent&&!Z.onlySelf&&this._parent.markAsTouched(Z)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Z=>Z.markAllAsTouched())}markAsUntouched(Z={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(V=>{V.markAsUntouched({onlySelf:!0})}),this._parent&&!Z.onlySelf&&this._parent._updateTouched(Z)}markAsDirty(Z={}){this.pristine=!1,this._parent&&!Z.onlySelf&&this._parent.markAsDirty(Z)}markAsPristine(Z={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(V=>{V.markAsPristine({onlySelf:!0})}),this._parent&&!Z.onlySelf&&this._parent._updatePristine(Z)}markAsPending(Z={}){this.status=x,!1!==Z.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Z.onlySelf&&this._parent.markAsPending(Z)}disable(Z={}){const V=this._parentMarkedDirty(Z.onlySelf);this.status=h,this.errors=null,this._forEachChild(Be=>{Be.disable({...Z,onlySelf:!0})}),this._updateValue(),!1!==Z.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Z,skipPristineCheck:V}),this._onDisabledChange.forEach(Be=>Be(!0))}enable(Z={}){const V=this._parentMarkedDirty(Z.onlySelf);this.status=Y,this._forEachChild(Be=>{Be.enable({...Z,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Z.emitEvent}),this._updateAncestors({...Z,skipPristineCheck:V}),this._onDisabledChange.forEach(Be=>Be(!1))}_updateAncestors(Z){this._parent&&!Z.onlySelf&&(this._parent.updateValueAndValidity(Z),Z.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Z){this._parent=Z}getRawValue(){return this.value}updateValueAndValidity(Z={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Y||this.status===x)&&this._runAsyncValidator(Z.emitEvent)),!1!==Z.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Z.onlySelf&&this._parent.updateValueAndValidity(Z)}_updateTreeValidity(Z={emitEvent:!0}){this._forEachChild(V=>V._updateTreeValidity(Z)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Z.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?h:Y}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Z){if(this.asyncValidator){this.status=x,this._hasOwnPendingAsyncValidator=!0;const V=At(this.asyncValidator(this));this._asyncValidationSubscription=V.subscribe(Be=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Be,{emitEvent:Z})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Z,V={}){this.errors=Z,this._updateControlsErrors(!1!==V.emitEvent)}get(Z){let V=Z;return null==V||(Array.isArray(V)||(V=V.split(".")),0===V.length)?null:V.reduce((Be,Ht)=>Be&&Be._find(Ht),this)}getError(Z,V){const Be=V?this.get(V):this;return Be&&Be.errors?Be.errors[Z]:null}hasError(Z,V){return!!this.getError(Z,V)}get root(){let Z=this;for(;Z._parent;)Z=Z._parent;return Z}_updateControlsErrors(Z){this.status=this._calculateStatus(),Z&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Z)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?h:this.errors?oe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(x)?x:this._anyControlsHaveStatus(oe)?oe:Y}_anyControlsHaveStatus(Z){return this._anyControls(V=>V.status===Z)}_anyControlsDirty(){return this._anyControls(Z=>Z.dirty)}_anyControlsTouched(){return this._anyControls(Z=>Z.touched)}_updatePristine(Z={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Z.onlySelf&&this._parent._updatePristine(Z)}_updateTouched(Z={}){this.touched=this._anyControlsTouched(),this._parent&&!Z.onlySelf&&this._parent._updateTouched(Z)}_registerOnCollectionChange(Z){this._onCollectionChange=Z}_setUpdateStrategy(Z){O(Z)&&null!=Z.updateOn&&(this._updateOn=Z.updateOn)}_parentMarkedDirty(Z){return!Z&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Z){return null}}class nt extends Re{constructor(Z,V,Be){super(v(V),b(Be,V)),this.controls=Z,this._initObservables(),this._setUpdateStrategy(V),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Z,V){return this.controls[Z]?this.controls[Z]:(this.controls[Z]=V,V.setParent(this),V._registerOnCollectionChange(this._onCollectionChange),V)}addControl(Z,V,Be={}){this.registerControl(Z,V),this.updateValueAndValidity({emitEvent:Be.emitEvent}),this._onCollectionChange()}removeControl(Z,V={}){this.controls[Z]&&this.controls[Z]._registerOnCollectionChange(()=>{}),delete this.controls[Z],this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}setControl(Z,V,Be={}){this.controls[Z]&&this.controls[Z]._registerOnCollectionChange(()=>{}),delete this.controls[Z],V&&this.registerControl(Z,V),this.updateValueAndValidity({emitEvent:Be.emitEvent}),this._onCollectionChange()}contains(Z){return this.controls.hasOwnProperty(Z)&&this.controls[Z].enabled}setValue(Z,V={}){z(this,0,Z),Object.keys(Z).forEach(Be=>{R(this,!0,Be),this.controls[Be].setValue(Z[Be],{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V)}patchValue(Z,V={}){null!=Z&&(Object.keys(Z).forEach(Be=>{const Ht=this.controls[Be];Ht&&Ht.patchValue(Z[Be],{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V))}reset(Z={},V={}){this._forEachChild((Be,Ht)=>{Be.reset(Z[Ht],{onlySelf:!0,emitEvent:V.emitEvent})}),this._updatePristine(V),this._updateTouched(V),this.updateValueAndValidity(V)}getRawValue(){return this._reduceChildren({},(Z,V,Be)=>(Z[Be]=V.getRawValue(),Z))}_syncPendingControls(){let Z=this._reduceChildren(!1,(V,Be)=>!!Be._syncPendingControls()||V);return Z&&this.updateValueAndValidity({onlySelf:!0}),Z}_forEachChild(Z){Object.keys(this.controls).forEach(V=>{const Be=this.controls[V];Be&&Z(Be,V)})}_setUpControls(){this._forEachChild(Z=>{Z.setParent(this),Z._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Z){for(const[V,Be]of Object.entries(this.controls))if(this.contains(V)&&Z(Be))return!0;return!1}_reduceValue(){return this._reduceChildren({},(V,Be,Ht)=>((Be.enabled||this.disabled)&&(V[Ht]=Be.value),V))}_reduceChildren(Z,V){let Be=Z;return this._forEachChild((Ht,un)=>{Be=V(Be,Ht,un)}),Be}_allControlsDisabled(){for(const Z of Object.keys(this.controls))if(this.controls[Z].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Z){return this.controls.hasOwnProperty(Z)?this.controls[Z]:null}}class jt extends nt{}function cn(Q,Z){return[...Z.path,Q]}function tt(Q,Z){Ut(Q,Z),Z.valueAccessor.writeValue(Q.value),Q.disabled&&Z.valueAccessor.setDisabledState?.(!0),function gn(Q,Z){Z.valueAccessor.registerOnChange(V=>{Q._pendingValue=V,Q._pendingChange=!0,Q._pendingDirty=!0,"change"===Q.updateOn&&yn(Q,Z)})}(Q,Z),function Hn(Q,Z){const V=(Be,Ht)=>{Z.valueAccessor.writeValue(Be),Ht&&Z.viewToModelUpdate(Be)};Q.registerOnChange(V),Z._registerOnDestroy(()=>{Q._unregisterOnChange(V)})}(Q,Z),function vn(Q,Z){Z.valueAccessor.registerOnTouched(()=>{Q._pendingTouched=!0,"blur"===Q.updateOn&&Q._pendingChange&&yn(Q,Z),"submit"!==Q.updateOn&&Q.markAsTouched()})}(Q,Z),function Ct(Q,Z){if(Z.valueAccessor.setDisabledState){const V=Be=>{Z.valueAccessor.setDisabledState(Be)};Q.registerOnDisabledChange(V),Z._registerOnDestroy(()=>{Q._unregisterOnDisabledChange(V)})}}(Q,Z)}function ot(Q,Z,V=!0){const Be=()=>{};Z.valueAccessor&&(Z.valueAccessor.registerOnChange(Be),Z.valueAccessor.registerOnTouched(Be)),tn(Q,Z),Q&&(Z._invokeOnDestroyCallbacks(),Q._registerOnCollectionChange(()=>{}))}function ze(Q,Z){Q.forEach(V=>{V.registerOnValidatorChange&&V.registerOnValidatorChange(Z)})}function Ut(Q,Z){const V=Dt(Q);null!==Z.validator?Q.setValidators(xe(V,Z.validator)):"function"==typeof V&&Q.setValidators([V]);const Be=Fe(Q);null!==Z.asyncValidator?Q.setAsyncValidators(xe(Be,Z.asyncValidator)):"function"==typeof Be&&Q.setAsyncValidators([Be]);const Ht=()=>Q.updateValueAndValidity();ze(Z._rawValidators,Ht),ze(Z._rawAsyncValidators,Ht)}function tn(Q,Z){let V=!1;if(null!==Q){if(null!==Z.validator){const Ht=Dt(Q);if(Array.isArray(Ht)&&Ht.length>0){const un=Ht.filter(On=>On!==Z.validator);un.length!==Ht.length&&(V=!0,Q.setValidators(un))}}if(null!==Z.asyncValidator){const Ht=Fe(Q);if(Array.isArray(Ht)&&Ht.length>0){const un=Ht.filter(On=>On!==Z.asyncValidator);un.length!==Ht.length&&(V=!0,Q.setAsyncValidators(un))}}}const Be=()=>{};return ze(Z._rawValidators,Be),ze(Z._rawAsyncValidators,Be),V}function yn(Q,Z){Q._pendingDirty&&Q.markAsDirty(),Q.setValue(Q._pendingValue,{emitModelToViewChange:!1}),Z.viewToModelUpdate(Q._pendingValue),Q._pendingChange=!1}function hn(Q,Z){Ut(Q,Z)}function $(Q,Z){if(!Q.hasOwnProperty("model"))return!1;const V=Q.model;return!!V.isFirstChange()||!Object.is(Z,V.currentValue)}function ee(Q,Z){Q._syncPendingControls(),Z.forEach(V=>{const Be=V.control;"submit"===Be.updateOn&&Be._pendingChange&&(V.viewToModelUpdate(Be._pendingValue),Be._pendingChange=!1)})}function Te(Q,Z){if(!Z)return null;let V,Be,Ht;return Array.isArray(Z),Z.forEach(un=>{un.constructor===me?V=un:function Ie(Q){return Object.getPrototypeOf(Q.constructor)===F}(un)?Be=un:Ht=un}),Ht||Be||V||null}const Pt={provide:Qe,useExisting:(0,r.Gpc)(()=>Cn)},qt=(()=>Promise.resolve())();let Cn=(()=>{class Q extends Qe{constructor(V,Be){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new r.vpe,this.form=new nt({},G(V),ye(Be))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(V){qt.then(()=>{const Be=this._findContainer(V.path);V.control=Be.registerControl(V.name,V.control),tt(V.control,V),V.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(V)})}getControl(V){return this.form.get(V.path)}removeControl(V){qt.then(()=>{const Be=this._findContainer(V.path);Be&&Be.removeControl(V.name),this._directives.delete(V)})}addFormGroup(V){qt.then(()=>{const Be=this._findContainer(V.path),Ht=new nt({});hn(Ht,V),Be.registerControl(V.name,Ht),Ht.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(V){qt.then(()=>{const Be=this._findContainer(V.path);Be&&Be.removeControl(V.name)})}getFormGroup(V){return this.form.get(V.path)}updateModel(V,Be){qt.then(()=>{this.form.get(V.path).setValue(Be)})}setValue(V){this.control.setValue(V)}onSubmit(V){return this.submitted=!0,ee(this.form,this._directives),this.ngSubmit.emit(V),"dialog"===V?.target?.method}onReset(){this.resetForm()}resetForm(V){this.form.reset(V),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(V){return V.pop(),V.length?this.form.get(V):this.form}}return Q.\u0275fac=function(V){return new(V||Q)(r.Y36(Ne,10),r.Y36(gt,10))},Q.\u0275dir=r.lG2({type:Q,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(V,Be){1&V&&r.NdJ("submit",function(un){return Be.onSubmit(un)})("reset",function(){return Be.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([Pt]),r.qOj]}),Q})();function Fn(Q,Z){const V=Q.indexOf(Z);V>-1&&Q.splice(V,1)}function jn(Q){return"object"==typeof Q&&null!==Q&&2===Object.keys(Q).length&&"value"in Q&&"disabled"in Q}const $n=class extends Re{constructor(Z=null,V,Be){super(v(V),b(Be,V)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Z),this._setUpdateStrategy(V),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),O(V)&&(V.nonNullable||V.initialValueIsDefault)&&(this.defaultValue=jn(Z)?Z.value:Z)}setValue(Z,V={}){this.value=this._pendingValue=Z,this._onChange.length&&!1!==V.emitModelToViewChange&&this._onChange.forEach(Be=>Be(this.value,!1!==V.emitViewToModelChange)),this.updateValueAndValidity(V)}patchValue(Z,V={}){this.setValue(Z,V)}reset(Z=this.defaultValue,V={}){this._applyFormState(Z),this.markAsPristine(V),this.markAsUntouched(V),this.setValue(this.value,V),this._pendingChange=!1}_updateValue(){}_anyControls(Z){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Z){this._onChange.push(Z)}_unregisterOnChange(Z){Fn(this._onChange,Z)}registerOnDisabledChange(Z){this._onDisabledChange.push(Z)}_unregisterOnDisabledChange(Z){Fn(this._onDisabledChange,Z)}_forEachChild(Z){}_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(Z){jn(Z)?(this.value=this._pendingValue=Z.value,Z.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Z}};let ii=(()=>{class Q extends Qe{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return cn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return Q.\u0275fac=function(){let Z;return function(Be){return(Z||(Z=r.n5z(Q)))(Be||Q)}}(),Q.\u0275dir=r.lG2({type:Q,features:[r.qOj]}),Q})();const qi={provide:Et,useExisting:(0,r.Gpc)(()=>Xi)},Zr=(()=>Promise.resolve())();let Xi=(()=>{class Q extends Et{constructor(V,Be,Ht,un,On){super(),this._changeDetectorRef=On,this.control=new $n,this._registered=!1,this.update=new r.vpe,this._parent=V,this._setValidators(Be),this._setAsyncValidators(Ht),this.valueAccessor=Te(0,un)}ngOnChanges(V){if(this._checkForErrors(),!this._registered||"name"in V){if(this._registered&&(this._checkName(),this.formDirective)){const Be=V.name.previousValue;this.formDirective.removeControl({name:Be,path:this._getPath(Be)})}this._setUpControl()}"isDisabled"in V&&this._updateDisabled(V),$(V,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(V){this.viewModel=V,this.update.emit(V)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){tt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(V){Zr.then(()=>{this.control.setValue(V,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(V){const Be=V.isDisabled.currentValue,Ht=0!==Be&&(0,r.D6c)(Be);Zr.then(()=>{Ht&&!this.control.disabled?this.control.disable():!Ht&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(V){return this._parent?cn(V,this._parent):[V]}}return Q.\u0275fac=function(V){return new(V||Q)(r.Y36(Qe,9),r.Y36(Ne,10),r.Y36(gt,10),r.Y36(w,10),r.Y36(r.sBO,8))},Q.\u0275dir=r.lG2({type:Q,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([qi]),r.qOj,r.TTD]}),Q})(),pr=(()=>{class Q{}return Q.\u0275fac=function(V){return new(V||Q)},Q.\u0275dir=r.lG2({type:Q,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),Q})();const Wr={provide:w,useExisting:(0,r.Gpc)(()=>hi),multi:!0};let hi=(()=>{class Q extends F{writeValue(V){this.setProperty("value",V??"")}registerOnChange(V){this.onChange=Be=>{V(""==Be?null:parseFloat(Be))}}}return Q.\u0275fac=function(){let Z;return function(Be){return(Z||(Z=r.n5z(Q)))(Be||Q)}}(),Q.\u0275dir=r.lG2({type:Q,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(V,Be){1&V&&r.NdJ("input",function(un){return Be.onChange(un.target.value)})("blur",function(){return Be.onTouched()})},features:[r._Bn([Wr]),r.qOj]}),Q})(),er=(()=>{class Q{}return Q.\u0275fac=function(V){return new(V||Q)},Q.\u0275mod=r.oAB({type:Q}),Q.\u0275inj=r.cJS({}),Q})();const Dr=new r.OlP("NgModelWithFormControlWarning"),Hi={provide:Qe,useExisting:(0,r.Gpc)(()=>fr)};let fr=(()=>{class Q extends Qe{constructor(V,Be){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.vpe,this._setValidators(V),this._setAsyncValidators(Be)}ngOnChanges(V){this._checkFormPresent(),V.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(tn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(V){const Be=this.form.get(V.path);return tt(Be,V),Be.updateValueAndValidity({emitEvent:!1}),this.directives.push(V),Be}getControl(V){return this.form.get(V.path)}removeControl(V){ot(V.control||null,V,!1),function be(Q,Z){const V=Q.indexOf(Z);V>-1&&Q.splice(V,1)}(this.directives,V)}addFormGroup(V){this._setUpFormContainer(V)}removeFormGroup(V){this._cleanUpFormContainer(V)}getFormGroup(V){return this.form.get(V.path)}addFormArray(V){this._setUpFormContainer(V)}removeFormArray(V){this._cleanUpFormContainer(V)}getFormArray(V){return this.form.get(V.path)}updateModel(V,Be){this.form.get(V.path).setValue(Be)}onSubmit(V){return this.submitted=!0,ee(this.form,this.directives),this.ngSubmit.emit(V),"dialog"===V?.target?.method}onReset(){this.resetForm()}resetForm(V){this.form.reset(V),this.submitted=!1}_updateDomValue(){this.directives.forEach(V=>{const Be=V.control,Ht=this.form.get(V.path);Be!==Ht&&(ot(Be||null,V),(Q=>Q instanceof $n)(Ht)&&(tt(Ht,V),V.control=Ht))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(V){const Be=this.form.get(V.path);hn(Be,V),Be.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(V){if(this.form){const Be=this.form.get(V.path);Be&&function Un(Q,Z){return tn(Q,Z)}(Be,V)&&Be.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ut(this.form,this),this._oldForm&&tn(this._oldForm,this)}_checkFormPresent(){}}return Q.\u0275fac=function(V){return new(V||Q)(r.Y36(Ne,10),r.Y36(gt,10))},Q.\u0275dir=r.lG2({type:Q,selectors:[["","formGroup",""]],hostBindings:function(V,Be){1&V&&r.NdJ("submit",function(un){return Be.onSubmit(un)})("reset",function(){return Be.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([Hi]),r.qOj,r.TTD]}),Q})();const Fr={provide:Qe,useExisting:(0,r.Gpc)(()=>gi)};let gi=(()=>{class Q extends ii{constructor(V,Be,Ht){super(),this._parent=V,this._setValidators(Be),this._setAsyncValidators(Ht)}_checkParentType(){Or(this._parent)}}return Q.\u0275fac=function(V){return new(V||Q)(r.Y36(Qe,13),r.Y36(Ne,10),r.Y36(gt,10))},Q.\u0275dir=r.lG2({type:Q,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r._Bn([Fr]),r.qOj]}),Q})();const mr={provide:Qe,useExisting:(0,r.Gpc)(()=>Ui)};let Ui=(()=>{class Q extends Qe{constructor(V,Be,Ht){super(),this._parent=V,this._setValidators(Be),this._setAsyncValidators(Ht)}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 cn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Or(this._parent)}}return Q.\u0275fac=function(V){return new(V||Q)(r.Y36(Qe,13),r.Y36(Ne,10),r.Y36(gt,10))},Q.\u0275dir=r.lG2({type:Q,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r._Bn([mr]),r.qOj]}),Q})();function Or(Q){return!(Q instanceof gi||Q instanceof fr||Q instanceof Ui)}const _i={provide:Et,useExisting:(0,r.Gpc)(()=>Yi)};let Yi=(()=>{class Q extends Et{constructor(V,Be,Ht,un,On){super(),this._ngModelWarningConfig=On,this._added=!1,this.update=new r.vpe,this._ngModelWarningSent=!1,this._parent=V,this._setValidators(Be),this._setAsyncValidators(Ht),this.valueAccessor=Te(0,un)}set isDisabled(V){}ngOnChanges(V){this._added||this._setUpControl(),$(V,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(V){this.viewModel=V,this.update.emit(V)}get path(){return cn(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 Q._ngModelWarningSentOnce=!1,Q.\u0275fac=function(V){return new(V||Q)(r.Y36(Qe,13),r.Y36(Ne,10),r.Y36(gt,10),r.Y36(w,10),r.Y36(Dr,8))},Q.\u0275dir=r.lG2({type:Q,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([_i]),r.qOj,r.TTD]}),Q})();let Zn=(()=>{class Q{constructor(){this._validator=pt}ngOnChanges(V){if(this.inputName in V){const Be=this.normalizeInput(V[this.inputName].currentValue);this._enabled=this.enabled(Be),this._validator=this._enabled?this.createValidator(Be):pt,this._onChange&&this._onChange()}}validate(V){return this._validator(V)}registerOnValidatorChange(V){this._onChange=V}enabled(V){return null!=V}}return Q.\u0275fac=function(V){return new(V||Q)},Q.\u0275dir=r.lG2({type:Q,features:[r.TTD]}),Q})();const $i={provide:Ne,useExisting:(0,r.Gpc)(()=>us),multi:!0},pi={provide:Ne,useExisting:(0,r.Gpc)(()=>rr),multi:!0};let us=(()=>{class Q extends Zn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=r.D6c,this.createValidator=V=>pe}enabled(V){return V}}return Q.\u0275fac=function(){let Z;return function(Be){return(Z||(Z=r.n5z(Q)))(Be||Q)}}(),Q.\u0275dir=r.lG2({type:Q,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(V,Be){2&V&&r.uIk("required",Be._enabled?"":null)},inputs:{required:"required"},features:[r._Bn([$i]),r.qOj]}),Q})(),rr=(()=>{class Q extends us{constructor(){super(...arguments),this.createValidator=V=>we}}return Q.\u0275fac=function(){let Z;return function(Be){return(Z||(Z=r.n5z(Q)))(Be||Q)}}(),Q.\u0275dir=r.lG2({type:Q,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(V,Be){2&V&&r.uIk("required",Be._enabled?"":null)},features:[r._Bn([pi]),r.qOj]}),Q})();const wi={provide:Ne,useExisting:(0,r.Gpc)(()=>Ei),multi:!0};let Ei=(()=>{class Q extends Zn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=V=>function Bn(Q){return"number"==typeof Q?Q:parseInt(Q,10)}(V),this.createValidator=V=>Ve(V)}}return Q.\u0275fac=function(){let Z;return function(Be){return(Z||(Z=r.n5z(Q)))(Be||Q)}}(),Q.\u0275dir=r.lG2({type:Q,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(V,Be){2&V&&r.uIk("maxlength",Be._enabled?Be.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r._Bn([wi]),r.qOj]}),Q})(),hs=(()=>{class Q{}return Q.\u0275fac=function(V){return new(V||Q)},Q.\u0275mod=r.oAB({type:Q}),Q.\u0275inj=r.cJS({imports:[er]}),Q})(),Jr=(()=>{class Q{}return Q.\u0275fac=function(V){return new(V||Q)},Q.\u0275mod=r.oAB({type:Q}),Q.\u0275inj=r.cJS({imports:[hs]}),Q})(),ar=(()=>{class Q{static withConfig(V){return{ngModule:Q,providers:[{provide:Dr,useValue:V.warnOnNgModelWithFormControl}]}}}return Q.\u0275fac=function(V){return new(V||Q)},Q.\u0275mod=r.oAB({type:Q}),Q.\u0275inj=r.cJS({imports:[hs]}),Q})();class Zi extends Re{constructor(Z,V,Be){super(v(V),b(Be,V)),this.controls=Z,this._initObservables(),this._setUpdateStrategy(V),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Z){return this.controls[this._adjustIndex(Z)]}push(Z,V={}){this.controls.push(Z),this._registerControl(Z),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}insert(Z,V,Be={}){this.controls.splice(Z,0,V),this._registerControl(V),this.updateValueAndValidity({emitEvent:Be.emitEvent})}removeAt(Z,V={}){let Be=this._adjustIndex(Z);Be<0&&(Be=0),this.controls[Be]&&this.controls[Be]._registerOnCollectionChange(()=>{}),this.controls.splice(Be,1),this.updateValueAndValidity({emitEvent:V.emitEvent})}setControl(Z,V,Be={}){let Ht=this._adjustIndex(Z);Ht<0&&(Ht=0),this.controls[Ht]&&this.controls[Ht]._registerOnCollectionChange(()=>{}),this.controls.splice(Ht,1),V&&(this.controls.splice(Ht,0,V),this._registerControl(V)),this.updateValueAndValidity({emitEvent:Be.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Z,V={}){z(this,0,Z),Z.forEach((Be,Ht)=>{R(this,!1,Ht),this.at(Ht).setValue(Be,{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V)}patchValue(Z,V={}){null!=Z&&(Z.forEach((Be,Ht)=>{this.at(Ht)&&this.at(Ht).patchValue(Be,{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V))}reset(Z=[],V={}){this._forEachChild((Be,Ht)=>{Be.reset(Z[Ht],{onlySelf:!0,emitEvent:V.emitEvent})}),this._updatePristine(V),this._updateTouched(V),this.updateValueAndValidity(V)}getRawValue(){return this.controls.map(Z=>Z.getRawValue())}clear(Z={}){this.controls.length<1||(this._forEachChild(V=>V._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Z.emitEvent}))}_adjustIndex(Z){return Z<0?Z+this.length:Z}_syncPendingControls(){let Z=this.controls.reduce((V,Be)=>!!Be._syncPendingControls()||V,!1);return Z&&this.updateValueAndValidity({onlySelf:!0}),Z}_forEachChild(Z){this.controls.forEach((V,Be)=>{Z(V,Be)})}_updateValue(){this.value=this.controls.filter(Z=>Z.enabled||this.disabled).map(Z=>Z.value)}_anyControls(Z){return this.controls.some(V=>V.enabled&&Z(V))}_setUpControls(){this._forEachChild(Z=>this._registerControl(Z))}_allControlsDisabled(){for(const Z of this.controls)if(Z.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Z){Z.setParent(this),Z._registerOnCollectionChange(this._onCollectionChange)}_find(Z){return this.at(Z)??null}}function Kt(Q){return!!Q&&(void 0!==Q.asyncValidators||void 0!==Q.validators||void 0!==Q.updateOn)}let Tn=(()=>{class Q{constructor(){this.useNonNullable=!1}get nonNullable(){const V=new Q;return V.useNonNullable=!0,V}group(V,Be=null){const Ht=this._reduceControls(V);let un={};return Kt(Be)?un=Be:null!==Be&&(un.validators=Be.validator,un.asyncValidators=Be.asyncValidator),new nt(Ht,un)}record(V,Be=null){const Ht=this._reduceControls(V);return new jt(Ht,Be)}control(V,Be,Ht){let un={};return this.useNonNullable?(Kt(Be)?un=Be:(un.validators=Be,un.asyncValidators=Ht),new $n(V,{...un,nonNullable:!0})):new $n(V,Be,Ht)}array(V,Be,Ht){const un=V.map(On=>this._createControl(On));return new Zi(un,Be,Ht)}_reduceControls(V){const Be={};return Object.keys(V).forEach(Ht=>{Be[Ht]=this._createControl(V[Ht])}),Be}_createControl(V){return V instanceof $n||V instanceof Re?V:Array.isArray(V)?this.control(V[0],V.length>1?V[1]:null,V.length>2?V[2]:null):this.control(V)}}return Q.\u0275fac=function(V){return new(V||Q)},Q.\u0275prov=r.Yz7({token:Q,factory:Q.\u0275fac,providedIn:ar}),Q})()},811:(Rt,je,a)=>{a.d(je,{A9:()=>me,Yi:()=>Se,vV:()=>Ze});var r=a(2687),i=a(1281),d=a(5017),D=a(4650),u=a(4006),T=a(3238);const F=["button"],w=["*"],p=new D.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),W=new D.OlP("MatButtonToggleGroup"),ae={provide:u.JU,useExisting:(0,D.Gpc)(()=>me),multi:!0};let se=0;class le{constructor(gt,N){this.source=gt,this.value=N}}let me=(()=>{class Ne{constructor(N,B){this._changeDetector=N,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+se++,this.valueChange=new D.vpe,this.change=new D.vpe,this.appearance=B&&B.appearance?B.appearance:"standard"}get name(){return this._name}set name(N){this._name=N,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(N){this._vertical=(0,i.Ig)(N)}get value(){const N=this._selectionModel?this._selectionModel.selected:[];return this.multiple?N.map(B=>B.value):N[0]?N[0].value:void 0}set value(N){this._setSelectionByValue(N),this.valueChange.emit(this.value)}get selected(){const N=this._selectionModel?this._selectionModel.selected:[];return this.multiple?N:N[0]||null}get multiple(){return this._multiple}set multiple(N){this._multiple=(0,i.Ig)(N),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(N){this._disabled=(0,i.Ig)(N),this._markButtonsForCheck()}ngOnInit(){this._selectionModel=new d.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(N=>N.checked))}writeValue(N){this.value=N,this._changeDetector.markForCheck()}registerOnChange(N){this._controlValueAccessorChangeFn=N}registerOnTouched(N){this._onTouched=N}setDisabledState(N){this.disabled=N}_emitChangeEvent(N){const B=new le(N,this.value);this._controlValueAccessorChangeFn(B.value),this.change.emit(B)}_syncButtonToggle(N,B,X=!1,ie=!1){!this.multiple&&this.selected&&!N.checked&&(this.selected.checked=!1),this._selectionModel?B?this._selectionModel.select(N):this._selectionModel.deselect(N):ie=!0,ie?Promise.resolve().then(()=>this._updateModelValue(N,X)):this._updateModelValue(N,X)}_isSelected(N){return this._selectionModel&&this._selectionModel.isSelected(N)}_isPrechecked(N){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(B=>null!=N.value&&B===N.value):N.value===this._rawValue)}_setSelectionByValue(N){this._rawValue=N,this._buttonToggles&&(this.multiple&&N?(Array.isArray(N),this._clearSelection(),N.forEach(B=>this._selectValue(B))):(this._clearSelection(),this._selectValue(N)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(N=>N.checked=!1)}_selectValue(N){const B=this._buttonToggles.find(X=>null!=X.value&&X.value===N);B&&(B.checked=!0,this._selectionModel.select(B))}_updateModelValue(N,B){B&&this._emitChangeEvent(N),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(N=>N._markForCheck())}}return Ne.\u0275fac=function(N){return new(N||Ne)(D.Y36(D.sBO),D.Y36(p,8))},Ne.\u0275dir=D.lG2({type:Ne,selectors:[["mat-button-toggle-group"]],contentQueries:function(N,B,X){if(1&N&&D.Suo(X,Se,5),2&N){let ie;D.iGM(ie=D.CRH())&&(B._buttonToggles=ie)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(N,B){2&N&&(D.uIk("aria-disabled",B.disabled),D.ekj("mat-button-toggle-vertical",B.vertical)("mat-button-toggle-group-appearance-standard","standard"===B.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[D._Bn([ae,{provide:W,useExisting:Ne}])]}),Ne})();const fe=(0,T.Kr)(class{});let Se=(()=>{class Ne extends fe{constructor(N,B,X,ie,pe,we){super(),this._changeDetectorRef=B,this._elementRef=X,this._focusMonitor=ie,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new D.vpe;const ne=Number(pe);this.tabIndex=ne||0===ne?ne:null,this.buttonToggleGroup=N,this.appearance=we&&we.appearance?we.appearance:"standard"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(N){this._appearance=N}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(N){const B=(0,i.Ig)(N);B!==this._checked&&(this._checked=B,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(N){this._disabled=(0,i.Ig)(N)}ngOnInit(){const N=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+se++,N&&(N._isPrechecked(this)?this.checked=!0:N._isSelected(this)!==this._checked&&N._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const N=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),N&&N._isSelected(this)&&N._syncButtonToggle(this,!1,!1,!0)}focus(N){this._buttonElement.nativeElement.focus(N)}_onButtonClick(){const N=!!this._isSingleSelector()||!this._checked;N!==this._checked&&(this._checked=N,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new le(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return Ne.\u0275fac=function(N){return new(N||Ne)(D.Y36(W,8),D.Y36(D.sBO),D.Y36(D.SBq),D.Y36(r.tE),D.$8M("tabindex"),D.Y36(p,8))},Ne.\u0275cmp=D.Xpm({type:Ne,selectors:[["mat-button-toggle"]],viewQuery:function(N,B){if(1&N&&D.Gf(F,5),2&N){let X;D.iGM(X=D.CRH())&&(B._buttonElement=X.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(N,B){1&N&&D.NdJ("focus",function(){return B.focus()}),2&N&&(D.uIk("aria-label",null)("aria-labelledby",null)("id",B.id)("name",null),D.ekj("mat-button-toggle-standalone",!B.buttonToggleGroup)("mat-button-toggle-checked",B.checked)("mat-button-toggle-disabled",B.disabled)("mat-button-toggle-appearance-standard","standard"===B.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[D.qOj],ngContentSelectors:w,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(N,B){if(1&N&&(D.F$t(),D.TgZ(0,"button",0,1),D.NdJ("click",function(){return B._onButtonClick()}),D.TgZ(2,"span",2),D.Hsn(3),D.qZA()(),D._UZ(4,"span",3)(5,"span",4)),2&N){const X=D.MAs(1);D.Q6J("id",B.buttonId)("disabled",B.disabled||null),D.uIk("tabindex",B.disabled?-1:B.tabIndex)("aria-pressed",B.checked)("name",B._getButtonName())("aria-label",B.ariaLabel)("aria-labelledby",B.ariaLabelledby),D.xp6(5),D.Q6J("matRippleTrigger",X)("matRippleDisabled",B.disableRipple||B.disabled)}},dependencies:[T.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),Ne})(),Ze=(()=>{class Ne{}return Ne.\u0275fac=function(N){return new(N||Ne)},Ne.\u0275mod=D.oAB({type:Ne}),Ne.\u0275inj=D.cJS({imports:[T.BQ,T.si,T.BQ]}),Ne})()},4859:(Rt,je,a)=>{a.d(je,{lW:()=>W,ot:()=>se,zs:()=>ae});var r=a(4650),i=a(3238),d=a(2687);const D=["mat-button",""],u=["*"],w=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],p=(0,i.pj)((0,i.Id)((0,i.Kr)(class{constructor(le){this._elementRef=le}})));let W=(()=>{class le extends p{constructor(fe,Se,Ze){super(fe),this._focusMonitor=Se,this._animationMode=Ze,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const Ne of w)this._hasHostAttributes(Ne)&&this._getHostElement().classList.add(Ne);fe.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(fe,Se){fe?this._focusMonitor.focusVia(this._getHostElement(),fe,Se):this._getHostElement().focus(Se)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...fe){return fe.some(Se=>this._getHostElement().hasAttribute(Se))}}return le.\u0275fac=function(fe){return new(fe||le)(r.Y36(r.SBq),r.Y36(d.tE),r.Y36(r.QbO,8))},le.\u0275cmp=r.Xpm({type:le,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(fe,Se){if(1&fe&&r.Gf(i.wG,5),2&fe){let Ze;r.iGM(Ze=r.CRH())&&(Se.ripple=Ze.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(fe,Se){2&fe&&(r.uIk("disabled",Se.disabled||null),r.ekj("_mat-animation-noopable","NoopAnimations"===Se._animationMode)("mat-button-disabled",Se.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.qOj],attrs:D,ngContentSelectors:u,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(fe,Se){1&fe&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1)(3,"span",2)),2&fe&&(r.xp6(2),r.ekj("mat-button-ripple-round",Se.isRoundButton||Se.isIconButton),r.Q6J("matRippleDisabled",Se._isRippleDisabled())("matRippleCentered",Se.isIconButton)("matRippleTrigger",Se._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}),le})(),ae=(()=>{class le extends W{constructor(fe,Se,Ze,Ne){super(Se,fe,Ze),this._ngZone=Ne,this._haltDisabledEvents=gt=>{this.disabled&&(gt.preventDefault(),gt.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return le.\u0275fac=function(fe){return new(fe||le)(r.Y36(d.tE),r.Y36(r.SBq),r.Y36(r.QbO,8),r.Y36(r.R0b,8))},le.\u0275cmp=r.Xpm({type:le,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(fe,Se){2&fe&&(r.uIk("tabindex",Se.disabled?-1:Se.tabIndex)("disabled",Se.disabled||null)("aria-disabled",Se.disabled.toString()),r.ekj("_mat-animation-noopable","NoopAnimations"===Se._animationMode)("mat-button-disabled",Se.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[r.qOj],attrs:D,ngContentSelectors:u,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(fe,Se){1&fe&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1)(3,"span",2)),2&fe&&(r.xp6(2),r.ekj("mat-button-ripple-round",Se.isRoundButton||Se.isIconButton),r.Q6J("matRippleDisabled",Se._isRippleDisabled())("matRippleCentered",Se.isIconButton)("matRippleTrigger",Se._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}),le})(),se=(()=>{class le{}return le.\u0275fac=function(fe){return new(fe||le)},le.\u0275mod=r.oAB({type:le}),le.\u0275inj=r.cJS({imports:[i.si,i.BQ,i.BQ]}),le})()},3546:(Rt,je,a)=>{a.d(je,{QW:()=>ie,a8:()=>N,dk:()=>B,dn:()=>p,hq:()=>se,n5:()=>W});var r=a(4650),i=a(3238);const d=["*",[["mat-card-footer"]]],D=["*","mat-card-footer"],u=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],T=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let p=(()=>{class pe{}return pe.\u0275fac=function(ne){return new(ne||pe)},pe.\u0275dir=r.lG2({type:pe,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),pe})(),W=(()=>{class pe{}return pe.\u0275fac=function(ne){return new(ne||pe)},pe.\u0275dir=r.lG2({type:pe,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),pe})(),se=(()=>{class pe{constructor(){this.align="start"}}return pe.\u0275fac=function(ne){return new(ne||pe)},pe.\u0275dir=r.lG2({type:pe,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(ne,ge){2&ne&&r.ekj("mat-card-actions-align-end","end"===ge.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),pe})(),N=(()=>{class pe{constructor(ne){this._animationMode=ne}}return pe.\u0275fac=function(ne){return new(ne||pe)(r.Y36(r.QbO,8))},pe.\u0275cmp=r.Xpm({type:pe,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(ne,ge){2&ne&&r.ekj("_mat-animation-noopable","NoopAnimations"===ge._animationMode)},exportAs:["matCard"],ngContentSelectors:D,decls:2,vars:0,template:function(ne,ge){1&ne&&(r.F$t(d),r.Hsn(0),r.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}),pe})(),B=(()=>{class pe{}return pe.\u0275fac=function(ne){return new(ne||pe)},pe.\u0275cmp=r.Xpm({type:pe,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:T,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(ne,ge){1&ne&&(r.F$t(u),r.Hsn(0),r.TgZ(1,"div",0),r.Hsn(2,1),r.qZA(),r.Hsn(3,2))},encapsulation:2,changeDetection:0}),pe})(),ie=(()=>{class pe{}return pe.\u0275fac=function(ne){return new(ne||pe)},pe.\u0275mod=r.oAB({type:pe}),pe.\u0275inj=r.cJS({imports:[i.BQ,i.BQ]}),pe})()},6709:(Rt,je,a)=>{a.d(je,{oG:()=>gt,p9:()=>ie});var r=a(2687),i=a(1281),d=a(4650),D=a(4006),u=a(3238),T=a(9643);const F=["input"],w=["label"],p=function(pe){return{enterDuration:pe}},W=["*"],ae=new d.OlP("mat-checkbox-default-options",{providedIn:"root",factory:se});function se(){return{color:"accent",clickAction:"check-indeterminate"}}let le=0;const me=se(),fe={provide:D.JU,useExisting:(0,d.Gpc)(()=>gt),multi:!0};class Se{}const Ze=(0,u.sb)((0,u.pj)((0,u.Kr)((0,u.Id)(class{constructor(pe){this._elementRef=pe}}))));let Ne=(()=>{class pe extends Ze{constructor(ne,ge,Ve,Je,pt,Ge,At){super(ge),this._changeDetectorRef=Ve,this._ngZone=Je,this._animationMode=Ge,this._options=At,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new d.vpe,this.indeterminateChange=new d.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||me,this.color=this.defaultColor=this._options.color||me.color,this.tabIndex=parseInt(pt)||0,this.id=this._uniqueId=`${ne}${++le}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(ne){this._required=(0,i.Ig)(ne)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ne){const ge=(0,i.Ig)(ne);ge!=this.checked&&(this._checked=ge,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ne){const ge=(0,i.Ig)(ne);ge!==this.disabled&&(this._disabled=ge,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ne){const ge=ne!=this._indeterminate;this._indeterminate=(0,i.Ig)(ne),ge&&(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(ne){this.checked=!!ne}registerOnChange(ne){this._controlValueAccessorChangeFn=ne}registerOnTouched(ne){this._onTouched=ne}setDisabledState(ne){this.disabled=ne}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(ne){let ge=this._currentCheckState,Ve=this._getAnimationTargetElement();if(ge!==ne&&Ve&&(this._currentAnimationClass&&Ve.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ge,ne),this._currentCheckState=ne,this._currentAnimationClass.length>0)){Ve.classList.add(this._currentAnimationClass);const Je=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{Ve.classList.remove(Je)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const ne=this._options?.clickAction;this.disabled||"noop"===ne?!this.disabled&&"noop"===ne&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ne&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(ne){ne.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ne,ge){if("NoopAnimations"===this._animationMode)return"";switch(ne){case 0:if(1===ge)return this._animationClasses.uncheckedToChecked;if(3==ge)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===ge?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===ge?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===ge?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ne){const ge=this._inputElement;ge&&(ge.nativeElement.indeterminate=ne)}}return pe.\u0275fac=function(ne){d.$Z()},pe.\u0275dir=d.lG2({type:pe,viewQuery:function(ne,ge){if(1&ne&&(d.Gf(F,5),d.Gf(w,5),d.Gf(u.wG,5)),2&ne){let Ve;d.iGM(Ve=d.CRH())&&(ge._inputElement=Ve.first),d.iGM(Ve=d.CRH())&&(ge._labelElement=Ve.first),d.iGM(Ve=d.CRH())&&(ge.ripple=Ve.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:[d.qOj]}),pe})(),gt=(()=>{class pe extends Ne{constructor(ne,ge,Ve,Je,pt,Ge,At){super("mat-checkbox-",ne,ge,Je,pt,Ge,At),this._focusMonitor=Ve,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(ne){const ge=new Se;return ge.source=this,ge.checked=ne,ge}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(ne=>{ne||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(ne){ne.stopPropagation(),super._handleInputClick()}focus(ne,ge){ne?this._focusMonitor.focusVia(this._inputElement,ne,ge):this._inputElement.nativeElement.focus(ge)}}return pe.\u0275fac=function(ne){return new(ne||pe)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(r.tE),d.Y36(d.R0b),d.$8M("tabindex"),d.Y36(d.QbO,8),d.Y36(ae,8))},pe.\u0275cmp=d.Xpm({type:pe,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(ne,ge){2&ne&&(d.Ikx("id",ge.id),d.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),d.ekj("mat-checkbox-indeterminate",ge.indeterminate)("mat-checkbox-checked",ge.checked)("mat-checkbox-disabled",ge.disabled)("mat-checkbox-label-before","before"==ge.labelPosition)("_mat-animation-noopable","NoopAnimations"===ge._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[d._Bn([fe]),d.qOj],ngContentSelectors:W,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(ne,ge){if(1&ne&&(d.F$t(),d.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),d.NdJ("change",function(Je){return ge._onInteractionEvent(Je)})("click",function(Je){return ge._onInputClick(Je)}),d.qZA(),d.TgZ(5,"span",5),d._UZ(6,"span",6),d.qZA(),d._UZ(7,"span",7),d.TgZ(8,"span",8),d.O4$(),d.TgZ(9,"svg",9),d._UZ(10,"path",10),d.qZA(),d.kcU(),d._UZ(11,"span",11),d.qZA()(),d.TgZ(12,"span",12,13),d.NdJ("cdkObserveContent",function(){return ge._onLabelTextChange()}),d.TgZ(14,"span",14),d._uU(15,"\xa0"),d.qZA(),d.Hsn(16),d.qZA()()),2&ne){const Ve=d.MAs(1),Je=d.MAs(13);d.uIk("for",ge.inputId),d.xp6(2),d.ekj("mat-checkbox-inner-container-no-side-margin",!Je.textContent||!Je.textContent.trim()),d.xp6(1),d.Q6J("id",ge.inputId)("required",ge.required)("checked",ge.checked)("disabled",ge.disabled)("tabIndex",ge.tabIndex),d.uIk("value",ge.value)("name",ge.name)("aria-label",ge.ariaLabel||null)("aria-labelledby",ge.ariaLabelledby)("aria-checked",ge._getAriaChecked())("aria-describedby",ge.ariaDescribedby),d.xp6(2),d.Q6J("matRippleTrigger",Ve)("matRippleDisabled",ge._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",d.VKq(19,p,"NoopAnimations"===ge._animationMode?0:150))}},dependencies:[u.wG,T.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}),pe})(),X=(()=>{class pe{}return pe.\u0275fac=function(ne){return new(ne||pe)},pe.\u0275mod=d.oAB({type:pe}),pe.\u0275inj=d.cJS({}),pe})(),ie=(()=>{class pe{}return pe.\u0275fac=function(ne){return new(ne||pe)},pe.\u0275mod=d.oAB({type:pe}),pe.\u0275inj=d.cJS({imports:[u.si,u.BQ,T.Q8,X,u.BQ,X]}),pe})()},3238:(Rt,je,a)=>{a.d(je,{_A:()=>_t,rD:()=>Fe,sG:()=>et,K7:()=>vt,HF:()=>Ae,Y2:()=>te,BQ:()=>X,X2:()=>$e,uc:()=>ue,XK:()=>xe,ey:()=>ht,Ng:()=>Xe,nP:()=>J,us:()=>Ue,wG:()=>S,si:()=>M,IR:()=>Vt,CB:()=>xt,jH:()=>Oe,pj:()=>ge,Kr:()=>Ve,Id:()=>ne,FD:()=>pt,dB:()=>Ge,sb:()=>Je,E0:()=>ce});var r=a(4650),i=a(2687),d=a(445),u=a(6895),T=a(3353),F=a(1281),w=a(9751),p=a(7579),W=a(8675),ae=a(9521);function me(Y,oe){if(1&Y&&r._UZ(0,"mat-pseudo-checkbox",4),2&Y){const x=r.oxw();r.Q6J("state",x.selected?"checked":"unchecked")("disabled",x.disabled)}}function fe(Y,oe){if(1&Y&&(r.TgZ(0,"span",5),r._uU(1),r.qZA()),2&Y){const x=r.oxw();r.xp6(1),r.hij("(",x.group.label,")")}}const Se=["*"],B=new r.OlP("mat-sanity-checks",{providedIn:"root",factory:function N(){return!0}});let X=(()=>{class Y{constructor(x,h,v){this._sanityChecks=h,this._document=v,this._hasDoneGlobalChecks=!1,x._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(x){return!(0,T.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[x])}}return Y.\u0275fac=function(x){return new(x||Y)(r.LFG(i.qm),r.LFG(B,8),r.LFG(u.K0))},Y.\u0275mod=r.oAB({type:Y}),Y.\u0275inj=r.cJS({imports:[d.vT,d.vT]}),Y})();function ne(Y){return class extends Y{constructor(...oe){super(...oe),this._disabled=!1}get disabled(){return this._disabled}set disabled(oe){this._disabled=(0,F.Ig)(oe)}}}function ge(Y,oe){return class extends Y{constructor(...x){super(...x),this.defaultColor=oe,this.color=oe}get color(){return this._color}set color(x){const h=x||this.defaultColor;h!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),h&&this._elementRef.nativeElement.classList.add(`mat-${h}`),this._color=h)}}}function Ve(Y){return class extends Y{constructor(...oe){super(...oe),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(oe){this._disableRipple=(0,F.Ig)(oe)}}}function Je(Y,oe=0){return class extends Y{constructor(...x){super(...x),this._tabIndex=oe,this.defaultTabIndex=oe}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(x){this._tabIndex=null!=x?(0,F.su)(x):this.defaultTabIndex}}}function pt(Y){return class extends Y{constructor(...oe){super(...oe),this.errorState=!1}updateErrorState(){const oe=this.errorState,c=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);c!==oe&&(this.errorState=c,this.stateChanges.next())}}}function Ge(Y){return class extends Y{constructor(...oe){super(...oe),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new w.y(x=>{this._isInitialized?this._notifySubscriber(x):this._pendingSubscribers.push(x)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(oe){oe.next(),oe.complete()}}}const At=new r.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function st(){return(0,r.f3M)(r.soG)}});class _t{constructor(){this._localeChanges=new p.x,this.localeChanges=this._localeChanges}getValidDateOrNull(oe){return this.isDateInstance(oe)&&this.isValid(oe)?oe:null}deserialize(oe){return null==oe||this.isDateInstance(oe)&&this.isValid(oe)?oe:this.invalid()}setLocale(oe){this.locale=oe,this._localeChanges.next()}compareDate(oe,x){return this.getYear(oe)-this.getYear(x)||this.getMonth(oe)-this.getMonth(x)||this.getDate(oe)-this.getDate(x)}sameDate(oe,x){if(oe&&x){let h=this.isValid(oe),v=this.isValid(x);return h&&v?!this.compareDate(oe,x):h==v}return oe==x}clampDate(oe,x,h){return x&&this.compareDate(oe,x)<0?x:h&&this.compareDate(oe,h)>0?h:oe}}const et=new r.OlP("mat-date-formats"),mt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function he(Y,oe){const x=Array(Y);for(let h=0;h{class Y extends _t{constructor(x,h){super(),this.useUtcForDisplay=!1,super.setLocale(x)}getYear(x){return x.getFullYear()}getMonth(x){return x.getMonth()}getDate(x){return x.getDate()}getDayOfWeek(x){return x.getDay()}getMonthNames(x){const h=new Intl.DateTimeFormat(this.locale,{month:x,timeZone:"utc"});return he(12,v=>this._format(h,new Date(2017,v,1)))}getDateNames(){const x=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return he(31,h=>this._format(x,new Date(2017,0,h+1)))}getDayOfWeekNames(x){const h=new Intl.DateTimeFormat(this.locale,{weekday:x,timeZone:"utc"});return he(7,v=>this._format(h,new Date(2017,0,v+1)))}getYearName(x){const h=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(h,x)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(x){return this.getDate(this._createDateWithOverflow(this.getYear(x),this.getMonth(x)+1,0))}clone(x){return new Date(x.getTime())}createDate(x,h,v){let c=this._createDateWithOverflow(x,h,v);return c.getMonth(),c}today(){return new Date}parse(x,h){return"number"==typeof x?new Date(x):x?new Date(Date.parse(x)):null}format(x,h){if(!this.isValid(x))throw Error("NativeDateAdapter: Cannot format invalid date.");const v=new Intl.DateTimeFormat(this.locale,{...h,timeZone:"utc"});return this._format(v,x)}addCalendarYears(x,h){return this.addCalendarMonths(x,12*h)}addCalendarMonths(x,h){let v=this._createDateWithOverflow(this.getYear(x),this.getMonth(x)+h,this.getDate(x));return this.getMonth(v)!=((this.getMonth(x)+h)%12+12)%12&&(v=this._createDateWithOverflow(this.getYear(v),this.getMonth(v),0)),v}addCalendarDays(x,h){return this._createDateWithOverflow(this.getYear(x),this.getMonth(x),this.getDate(x)+h)}toIso8601(x){return[x.getUTCFullYear(),this._2digit(x.getUTCMonth()+1),this._2digit(x.getUTCDate())].join("-")}deserialize(x){if("string"==typeof x){if(!x)return null;if(mt.test(x)){let h=new Date(x);if(this.isValid(h))return h}}return super.deserialize(x)}isDateInstance(x){return x instanceof Date}isValid(x){return!isNaN(x.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(x,h,v){const c=new Date;return c.setFullYear(x,h,v),c.setHours(0,0,0,0),c}_2digit(x){return("00"+x).slice(-2)}_format(x,h){const v=new Date;return v.setUTCFullYear(h.getFullYear(),h.getMonth(),h.getDate()),v.setUTCHours(h.getHours(),h.getMinutes(),h.getSeconds(),h.getMilliseconds()),x.format(v)}}return Y.\u0275fac=function(x){return new(x||Y)(r.LFG(At,8),r.LFG(T.t4))},Y.\u0275prov=r.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const de={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 ye=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275mod=r.oAB({type:Y}),Y.\u0275inj=r.cJS({providers:[{provide:_t,useClass:G}]}),Y})(),xe=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275mod=r.oAB({type:Y}),Y.\u0275inj=r.cJS({providers:[{provide:et,useValue:de}],imports:[ye]}),Y})(),Fe=(()=>{class Y{isErrorState(x,h){return!!(x&&x.invalid&&(x.touched||h&&h.submitted))}}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275prov=r.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y})(),$e=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275dir=r.lG2({type:Y,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Y})();function ce(Y,oe,x="mat"){Y.changes.pipe((0,W.O)(Y)).subscribe(({length:h})=>{it(oe,`${x}-2-line`,!1),it(oe,`${x}-3-line`,!1),it(oe,`${x}-multi-line`,!1),2===h||3===h?it(oe,`${x}-${h}-line`,!0):h>3&&it(oe,`${x}-multi-line`,!0)})}function it(Y,oe,x){Y.nativeElement.classList.toggle(oe,x)}let ue=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275mod=r.oAB({type:Y}),Y.\u0275inj=r.cJS({imports:[X,X]}),Y})();class Ke{constructor(oe,x,h,v=!1){this._renderer=oe,this.element=x,this.config=h,this._animationForciblyDisabledThroughCss=v,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Qe={enterDuration:225,exitDuration:150},Yt=(0,T.i$)({passive:!0}),Qt=["mousedown","touchstart"],Wt=["mouseup","mouseleave","touchend","touchcancel"];class Vt{constructor(oe,x,h,v){this._target=oe,this._ngZone=x,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,v.isBrowser&&(this._containerElement=(0,F.fI)(h))}fadeInRipple(oe,x,h={}){const v=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),c={...Qe,...h.animation};h.centered&&(oe=v.left+v.width/2,x=v.top+v.height/2);const b=h.radius||function qe(Y,oe,x){const h=Math.max(Math.abs(Y-x.left),Math.abs(Y-x.right)),v=Math.max(Math.abs(oe-x.top),Math.abs(oe-x.bottom));return Math.sqrt(h*h+v*v)}(oe,x,v),E=oe-v.left,O=x-v.top,R=c.enterDuration,z=document.createElement("div");z.classList.add("mat-ripple-element"),z.style.left=E-b+"px",z.style.top=O-b+"px",z.style.height=2*b+"px",z.style.width=2*b+"px",null!=h.color&&(z.style.backgroundColor=h.color),z.style.transitionDuration=`${R}ms`,this._containerElement.appendChild(z);const Re=window.getComputedStyle(z),wt=Re.transitionDuration,Tt="none"===Re.transitionProperty||"0s"===wt||"0s, 0s"===wt,jt=new Ke(this,z,h,Tt);z.style.transform="scale3d(1, 1, 1)",jt.state=0,h.persistent||(this._mostRecentTransientRipple=jt);let en=null;return!Tt&&(R||c.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const cn=()=>this._finishRippleTransition(jt),tt=()=>this._destroyRipple(jt);z.addEventListener("transitionend",cn),z.addEventListener("transitioncancel",tt),en={onTransitionEnd:cn,onTransitionCancel:tt}}),this._activeRipples.set(jt,en),(Tt||!R)&&this._finishRippleTransition(jt),jt}fadeOutRipple(oe){if(2===oe.state||3===oe.state)return;const x=oe.element,h={...Qe,...oe.config.animation};x.style.transitionDuration=`${h.exitDuration}ms`,x.style.opacity="0",oe.state=2,(oe._animationForciblyDisabledThroughCss||!h.exitDuration)&&this._finishRippleTransition(oe)}fadeOutAll(){this._getActiveRipples().forEach(oe=>oe.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(oe=>{oe.config.persistent||oe.fadeOut()})}setupTriggerEvents(oe){const x=(0,F.fI)(oe);!x||x===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=x,this._registerEvents(Qt))}handleEvent(oe){"mousedown"===oe.type?this._onMousedown(oe):"touchstart"===oe.type?this._onTouchStart(oe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Wt),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(oe){0===oe.state?this._startFadeOutTransition(oe):2===oe.state&&this._destroyRipple(oe)}_startFadeOutTransition(oe){const x=oe===this._mostRecentTransientRipple,{persistent:h}=oe.config;oe.state=1,!h&&(!x||!this._isPointerDown)&&oe.fadeOut()}_destroyRipple(oe){const x=this._activeRipples.get(oe)??null;this._activeRipples.delete(oe),this._activeRipples.size||(this._containerRect=null),oe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),oe.state=3,null!==x&&(oe.element.removeEventListener("transitionend",x.onTransitionEnd),oe.element.removeEventListener("transitioncancel",x.onTransitionCancel)),oe.element.remove()}_onMousedown(oe){const x=(0,i.X6)(oe),h=this._lastTouchStartEvent&&Date.now(){!oe.config.persistent&&(1===oe.state||oe.config.terminateOnPointerUp&&0===oe.state)&&oe.fadeOut()}))}_registerEvents(oe){this._ngZone.runOutsideAngular(()=>{oe.forEach(x=>{this._triggerElement.addEventListener(x,this,Yt)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(Qt.forEach(oe=>{this._triggerElement.removeEventListener(oe,this,Yt)}),this._pointerUpEventsRegistered&&Wt.forEach(oe=>{this._triggerElement.removeEventListener(oe,this,Yt)}))}}const te=new r.OlP("mat-ripple-global-options");let S=(()=>{class Y{constructor(x,h,v,c,b){this._elementRef=x,this._animationMode=b,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=c||{},this._rippleRenderer=new Vt(this,h,x,v)}get disabled(){return this._disabled}set disabled(x){x&&this.fadeOutAllNonPersistent(),this._disabled=x,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(x){this._trigger=x,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:{...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(x,h=0,v){return"number"==typeof x?this._rippleRenderer.fadeInRipple(x,h,{...this.rippleConfig,...v}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...x})}}return Y.\u0275fac=function(x){return new(x||Y)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(T.t4),r.Y36(te,8),r.Y36(r.QbO,8))},Y.\u0275dir=r.lG2({type:Y,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(x,h){2&x&&r.ekj("mat-ripple-unbounded",h.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"]}),Y})(),M=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275mod=r.oAB({type:Y}),Y.\u0275inj=r.cJS({imports:[X,X]}),Y})(),J=(()=>{class Y{constructor(x){this._animationMode=x,this.state="unchecked",this.disabled=!1}}return Y.\u0275fac=function(x){return new(x||Y)(r.Y36(r.QbO,8))},Y.\u0275cmp=r.Xpm({type:Y,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(x,h){2&x&&r.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===h.state)("mat-pseudo-checkbox-checked","checked"===h.state)("mat-pseudo-checkbox-disabled",h.disabled)("_mat-animation-noopable","NoopAnimations"===h._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(x,h){},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}),Y})(),Ue=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275mod=r.oAB({type:Y}),Y.\u0275inj=r.cJS({imports:[X]}),Y})();const Ae=new r.OlP("MAT_OPTION_PARENT_COMPONENT"),vt=new r.OlP("MatOptgroup");let Bt=0;class on{constructor(oe,x=!1){this.source=oe,this.isUserInput=x}}let Nt=(()=>{class Y{constructor(x,h,v,c){this._element=x,this._changeDetectorRef=h,this._parent=v,this.group=c,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Bt++,this.onSelectionChange=new r.vpe,this._stateChanges=new p.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(x){this._disabled=(0,F.Ig)(x)}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(x,h){const v=this._getHostElement();"function"==typeof v.focus&&v.focus(h)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(x){(x.keyCode===ae.K5||x.keyCode===ae.L_)&&!(0,ae.Vb)(x)&&(this._selectViaInteraction(),x.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 x=this.viewValue;x!==this._mostRecentViewValue&&(this._mostRecentViewValue=x,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(x=!1){this.onSelectionChange.emit(new on(this,x))}}return Y.\u0275fac=function(x){r.$Z()},Y.\u0275dir=r.lG2({type:Y,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Y})(),ht=(()=>{class Y extends Nt{constructor(x,h,v,c){super(x,h,v,c)}}return Y.\u0275fac=function(x){return new(x||Y)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(Ae,8),r.Y36(vt,8))},Y.\u0275cmp=r.Xpm({type:Y,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(x,h){1&x&&r.NdJ("click",function(){return h._selectViaInteraction()})("keydown",function(c){return h._handleKeydown(c)}),2&x&&(r.Ikx("id",h.id),r.uIk("tabindex",h._getTabIndex())("aria-selected",h._getAriaSelected())("aria-disabled",h.disabled.toString()),r.ekj("mat-selected",h.selected)("mat-option-multiple",h.multiple)("mat-active",h.active)("mat-option-disabled",h.disabled))},exportAs:["matOption"],features:[r.qOj],ngContentSelectors:Se,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(x,h){1&x&&(r.F$t(),r.YNc(0,me,1,2,"mat-pseudo-checkbox",0),r.TgZ(1,"span",1),r.Hsn(2),r.qZA(),r.YNc(3,fe,2,1,"span",2),r._UZ(4,"div",3)),2&x&&(r.Q6J("ngIf",h.multiple),r.xp6(3),r.Q6J("ngIf",h.group&&h.group._inert),r.xp6(1),r.Q6J("matRippleTrigger",h._getHostElement())("matRippleDisabled",h.disabled||h.disableRipple))},dependencies:[S,u.O5,J],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}),Y})();function xt(Y,oe,x){if(x.length){let h=oe.toArray(),v=x.toArray(),c=0;for(let b=0;bx+h?Math.max(0,Y-h+oe):x}let Xe=(()=>{class Y{}return Y.\u0275fac=function(x){return new(x||Y)},Y.\u0275mod=r.oAB({type:Y}),Y.\u0275inj=r.cJS({imports:[M,u.ez,X,Ue]}),Y})()},9602:(Rt,je,a)=>{a.d(je,{By:()=>tn,FA:()=>at,_g:()=>yn,nW:()=>tt,wx:()=>vn,zY:()=>Ut});var r=a(2687),i=a(8184),d=a(4080),D=a(6895),u=a(4650),T=a(4859),F=a(4098),w=a(3238),p=a(7579),W=a(727),ae=a(6451),se=a(9646),le=a(9521),me=a(445),fe=a(5698),Se=a(8675),Ze=a(9300),Ne=a(1281),gt=a(3353),N=a(7340),B=a(4006),X=a(9549);a(4144);const pe=["mat-calendar-body",""];function we(Pe,Ye){if(1&Pe&&(u.TgZ(0,"tr",2)(1,"td",3),u._uU(2),u.qZA()()),2&Pe){const m=u.oxw();u.xp6(1),u.Udp("padding-top",m._cellPadding)("padding-bottom",m._cellPadding),u.uIk("colspan",m.numCols),u.xp6(1),u.hij(" ",m.label," ")}}function ne(Pe,Ye){if(1&Pe&&(u.TgZ(0,"td",3),u._uU(1),u.qZA()),2&Pe){const m=u.oxw(2);u.Udp("padding-top",m._cellPadding)("padding-bottom",m._cellPadding),u.uIk("colspan",m._firstRowOffset),u.xp6(1),u.hij(" ",m._firstRowOffset>=m.labelMinRequiredCells?m.label:""," ")}}function ge(Pe,Ye){if(1&Pe){const m=u.EpF();u.TgZ(0,"td",7)(1,"button",8),u.NdJ("click",function(Ie){const Te=u.CHM(m).$implicit,be=u.oxw(2);return u.KtG(be._cellClicked(Te,Ie))})("focus",function(Ie){const Te=u.CHM(m).$implicit,be=u.oxw(2);return u.KtG(be._emitActiveDateChange(Te,Ie))}),u.TgZ(2,"div",9),u._uU(3),u.qZA(),u._UZ(4,"div",10),u.qZA()()}if(2&Pe){const m=Ye.$implicit,$=Ye.index,Ie=u.oxw().index,ee=u.oxw();u.Udp("width",ee._cellWidth)("padding-top",ee._cellPadding)("padding-bottom",ee._cellPadding),u.uIk("data-mat-row",Ie)("data-mat-col",$),u.xp6(1),u.ekj("mat-calendar-body-disabled",!m.enabled)("mat-calendar-body-active",ee._isActiveCell(Ie,$))("mat-calendar-body-range-start",ee._isRangeStart(m.compareValue))("mat-calendar-body-range-end",ee._isRangeEnd(m.compareValue))("mat-calendar-body-in-range",ee._isInRange(m.compareValue))("mat-calendar-body-comparison-bridge-start",ee._isComparisonBridgeStart(m.compareValue,Ie,$))("mat-calendar-body-comparison-bridge-end",ee._isComparisonBridgeEnd(m.compareValue,Ie,$))("mat-calendar-body-comparison-start",ee._isComparisonStart(m.compareValue))("mat-calendar-body-comparison-end",ee._isComparisonEnd(m.compareValue))("mat-calendar-body-in-comparison-range",ee._isInComparisonRange(m.compareValue))("mat-calendar-body-preview-start",ee._isPreviewStart(m.compareValue))("mat-calendar-body-preview-end",ee._isPreviewEnd(m.compareValue))("mat-calendar-body-in-preview",ee._isInPreview(m.compareValue)),u.Q6J("ngClass",m.cssClasses)("tabindex",ee._isActiveCell(Ie,$)?0:-1),u.uIk("aria-label",m.ariaLabel)("aria-disabled",!m.enabled||null)("aria-pressed",ee._isSelected(m.compareValue))("aria-current",ee.todayValue===m.compareValue?"date":null),u.xp6(1),u.ekj("mat-calendar-body-selected",ee._isSelected(m.compareValue))("mat-calendar-body-comparison-identical",ee._isComparisonIdentical(m.compareValue))("mat-calendar-body-today",ee.todayValue===m.compareValue),u.xp6(1),u.hij(" ",m.displayValue," ")}}function Ve(Pe,Ye){if(1&Pe&&(u.TgZ(0,"tr",4),u.YNc(1,ne,2,6,"td",5),u.YNc(2,ge,5,47,"td",6),u.qZA()),2&Pe){const m=Ye.$implicit,$=Ye.index,Ie=u.oxw();u.xp6(1),u.Q6J("ngIf",0===$&&Ie._firstRowOffset),u.xp6(1),u.Q6J("ngForOf",m)}}function Je(Pe,Ye){if(1&Pe&&(u.TgZ(0,"th",5)(1,"span",6),u._uU(2),u.qZA(),u.TgZ(3,"span",7),u._uU(4),u.qZA()()),2&Pe){const m=Ye.$implicit;u.xp6(2),u.Oqu(m.long),u.xp6(2),u.Oqu(m.narrow)}}const pt=["*"];function Ge(Pe,Ye){}function At(Pe,Ye){if(1&Pe){const m=u.EpF();u.TgZ(0,"mat-month-view",5),u.NdJ("activeDateChange",function(Ie){u.CHM(m);const ee=u.oxw();return u.KtG(ee.activeDate=Ie)})("_userSelection",function(Ie){u.CHM(m);const ee=u.oxw();return u.KtG(ee._dateSelected(Ie))}),u.qZA()}if(2&Pe){const m=u.oxw();u.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 st(Pe,Ye){if(1&Pe){const m=u.EpF();u.TgZ(0,"mat-year-view",6),u.NdJ("activeDateChange",function(Ie){u.CHM(m);const ee=u.oxw();return u.KtG(ee.activeDate=Ie)})("monthSelected",function(Ie){u.CHM(m);const ee=u.oxw();return u.KtG(ee._monthSelectedInYearView(Ie))})("selectedChange",function(Ie){u.CHM(m);const ee=u.oxw();return u.KtG(ee._goToDateInView(Ie,"month"))}),u.qZA()}if(2&Pe){const m=u.oxw();u.Q6J("activeDate",m.activeDate)("selected",m.selected)("dateFilter",m.dateFilter)("maxDate",m.maxDate)("minDate",m.minDate)("dateClass",m.dateClass)}}function _t(Pe,Ye){if(1&Pe){const m=u.EpF();u.TgZ(0,"mat-multi-year-view",7),u.NdJ("activeDateChange",function(Ie){u.CHM(m);const ee=u.oxw();return u.KtG(ee.activeDate=Ie)})("yearSelected",function(Ie){u.CHM(m);const ee=u.oxw();return u.KtG(ee._yearSelectedInMultiYearView(Ie))})("selectedChange",function(Ie){u.CHM(m);const ee=u.oxw();return u.KtG(ee._goToDateInView(Ie,"year"))}),u.qZA()}if(2&Pe){const m=u.oxw();u.Q6J("activeDate",m.activeDate)("selected",m.selected)("dateFilter",m.dateFilter)("maxDate",m.maxDate)("minDate",m.minDate)("dateClass",m.dateClass)}}function et(Pe,Ye){}const mt=["button"];function he(Pe,Ye){1&Pe&&(u.O4$(),u.TgZ(0,"svg",3),u._UZ(1,"path",4),u.qZA())}const G=[[["","matDatepickerToggleIcon",""]]],de=["[matDatepickerToggleIcon]"],ye=[[["input","matStartDate",""]],[["input","matEndDate",""]]],xe=["input[matStartDate]","input[matEndDate]"];let $e=(()=>{class Pe{constructor(){this.changes=new p.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,$){return`${m} \u2013 ${$}`}formatYearRangeLabel(m,$){return`${m} to ${$}`}}return Pe.\u0275fac=function(m){return new(m||Pe)},Pe.\u0275prov=u.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})();class ce{constructor(Ye,m,$,Ie,ee={},Te=Ye,be){this.value=Ye,this.displayValue=m,this.ariaLabel=$,this.enabled=Ie,this.cssClasses=ee,this.compareValue=Te,this.rawValue=be}}let it=(()=>{class Pe{constructor(m,$){this._elementRef=m,this._ngZone=$,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new u.vpe,this.previewChange=new u.vpe,this.activeDateChange=new u.vpe,this._enterHandler=Ie=>{if(this._skipNextFocus&&"focus"===Ie.type)this._skipNextFocus=!1;else if(Ie.target&&this.isRange){const ee=this._getCellFromElement(Ie.target);ee&&this._ngZone.run(()=>this.previewChange.emit({value:ee.enabled?ee: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}))},$.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,$){m.enabled&&this.selectedValueChange.emit({value:m.value,event:$})}_emitActiveDateChange(m,$){m.enabled&&this.activeDateChange.emit({value:m.value,event:$})}_isSelected(m){return this.startValue===m||this.endValue===m}ngOnChanges(m){const $=m.numCols,{rows:Ie,numCols:ee}=this;(m.rows||$)&&(this._firstRowOffset=Ie&&Ie.length&&Ie[0].length?ee-Ie[0].length:0),(m.cellAspectRatio||$||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ee+"%"),($||!this._cellWidth)&&(this._cellWidth=100/ee+"%")}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,$){let Ie=m*this.numCols+$;return m&&(Ie-=this._firstRowOffset),Ie==this.activeCell}_focusActiveCell(m=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,fe.q)(1)).subscribe(()=>{setTimeout(()=>{const $=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");$&&(m||(this._skipNextFocus=!0),$.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(m){return Ke(m,this.startValue,this.endValue)}_isRangeEnd(m){return Qe(m,this.startValue,this.endValue)}_isInRange(m){return Et(m,this.startValue,this.endValue,this.isRange)}_isComparisonStart(m){return Ke(m,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(m,$,Ie){if(!this._isComparisonStart(m)||this._isRangeStart(m)||!this._isInRange(m))return!1;let ee=this.rows[$][Ie-1];if(!ee){const Te=this.rows[$-1];ee=Te&&Te[Te.length-1]}return ee&&!this._isRangeEnd(ee.compareValue)}_isComparisonBridgeEnd(m,$,Ie){if(!this._isComparisonEnd(m)||this._isRangeEnd(m)||!this._isInRange(m))return!1;let ee=this.rows[$][Ie+1];if(!ee){const Te=this.rows[$+1];ee=Te&&Te[0]}return ee&&!this._isRangeStart(ee.compareValue)}_isComparisonEnd(m){return Qe(m,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(m){return Et(m,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(m){return this.comparisonStart===this.comparisonEnd&&m===this.comparisonStart}_isPreviewStart(m){return Ke(m,this.previewStart,this.previewEnd)}_isPreviewEnd(m){return Qe(m,this.previewStart,this.previewEnd)}_isInPreview(m){return Et(m,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(m){let $;if(ue(m)?$=m:ue(m.parentNode)&&($=m.parentNode),$){const Ie=$.getAttribute("data-mat-row"),ee=$.getAttribute("data-mat-col");if(Ie&&ee)return this.rows[parseInt(Ie)][parseInt(ee)]}return null}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36(u.SBq),u.Y36(u.R0b))},Pe.\u0275cmp=u.Xpm({type:Pe,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:[u.TTD],attrs:pe,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,$){1&m&&(u.YNc(0,we,3,6,"tr",0),u.YNc(1,Ve,3,2,"tr",1)),2&m&&(u.Q6J("ngIf",$._firstRowOffset<$.labelMinRequiredCells),u.xp6(1),u.Q6J("ngForOf",$.rows))},dependencies:[D.mk,D.sg,D.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}),Pe})();function ue(Pe){return"TD"===Pe.nodeName}function Ke(Pe,Ye,m){return null!==m&&Ye!==m&&Pe=Ye&&Pe===m}function Et(Pe,Ye,m,$){return $&&null!==Ye&&null!==m&&Ye!==m&&Pe>=Ye&&Pe<=m}class Yt{constructor(Ye,m){this.start=Ye,this.end=m}}let Qt=(()=>{class Pe{constructor(m,$){this.selection=m,this._adapter=$,this._selectionChanged=new p.x,this.selectionChanged=this._selectionChanged,this.selection=m}updateSelection(m,$){const Ie=this.selection;this.selection=m,this._selectionChanged.next({selection:m,source:$,oldValue:Ie})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(m){return this._adapter.isDateInstance(m)&&this._adapter.isValid(m)}}return Pe.\u0275fac=function(m){u.$Z()},Pe.\u0275prov=u.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})(),Wt=(()=>{class Pe extends Qt{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 Pe(this._adapter);return m.updateSelection(this.selection,this),m}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.LFG(w._A))},Pe.\u0275prov=u.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})(),Vt=(()=>{class Pe extends Qt{constructor(m){super(new Yt(null,null),m)}add(m){let{start:$,end:Ie}=this.selection;null==$?$=m:null==Ie?Ie=m:($=m,Ie=null),super.updateSelection(new Yt($,Ie),this)}isValid(){const{start:m,end:$}=this.selection;return null==m&&null==$||(null!=m&&null!=$?this._isValidDateInstance(m)&&this._isValidDateInstance($)&&this._adapter.compareDate(m,$)<=0:(null==m||this._isValidDateInstance(m))&&(null==$||this._isValidDateInstance($)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const m=new Pe(this._adapter);return m.updateSelection(this.selection,this),m}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.LFG(w._A))},Pe.\u0275prov=u.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const te={provide:Qt,deps:[[new u.FiY,new u.tp0,Qt],w._A],useFactory:function qe(Pe,Ye){return Pe||new Wt(Ye)}},M={provide:Qt,deps:[[new u.FiY,new u.tp0,Qt],w._A],useFactory:function S(Pe,Ye){return Pe||new Vt(Ye)}},J=new u.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Ue=(()=>{class Pe{constructor(m){this._dateAdapter=m}selectionFinished(m,$){let{start:Ie,end:ee}=$;return null==Ie?Ie=m:null==ee&&m&&this._dateAdapter.compareDate(m,Ie)>=0?ee=m:(Ie=m,ee=null),new Yt(Ie,ee)}createPreview(m,$){let Ie=null,ee=null;return $.start&&!$.end&&m&&(Ie=$.start,ee=m),new Yt(Ie,ee)}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.LFG(w._A))},Pe.\u0275prov=u.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const Ee={provide:J,deps:[[new u.FiY,new u.tp0,J],w._A],useFactory:function Ae(Pe,Ye){return Pe||new Ue(Ye)}};let ft=(()=>{class Pe{constructor(m,$,Ie,ee,Te){this._changeDetectorRef=m,this._dateFormats=$,this._dateAdapter=Ie,this._dir=ee,this._rangeStrategy=Te,this._rerenderSubscription=W.w0.EMPTY,this.selectedChange=new u.vpe,this._userSelection=new u.vpe,this.activeDateChange=new u.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(m){const $=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($,this._activeDate)||this._init()}get selected(){return this._selected}set selected(m){this._selected=m instanceof Yt?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,Se.O)(null)).subscribe(()=>this._init())}ngOnChanges(m){const $=m.comparisonStart||m.comparisonEnd;$&&!$.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(m){const $=m.value,Ie=this._getDateFromDayOfMonth($);let ee,Te;this._selected instanceof Yt?(ee=this._getDateInCurrentMonth(this._selected.start),Te=this._getDateInCurrentMonth(this._selected.end)):ee=Te=this._getDateInCurrentMonth(this._selected),(ee!==$||Te!==$)&&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 $=this._activeDate,Ie=this._isRtl();switch(m.keyCode){case le.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ie?1:-1);break;case le.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ie?-1:1);break;case le.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case le.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case le.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case le.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case le.Ku:this.activeDate=m.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case le.VM:this.activeDate=m.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case le.K5:case le.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&m.preventDefault());case le.hY:return void(null!=this._previewEnd&&!(0,le.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($,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),m.preventDefault()}_handleCalendarBodyKeyup(m){(m.keyCode===le.L_||m.keyCode===le.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:$}){if(this._rangeStrategy){const ee=this._rangeStrategy.createPreview($?$.rawValue:null,this.selected,m);this._previewStart=this._getCellCompareValue(ee.start),this._previewEnd=this._getCellCompareValue(ee.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(),$=this._dateAdapter.getDayOfWeekNames("narrow");let ee=this._dateAdapter.getDayOfWeekNames("long").map((Te,be)=>({long:Te,narrow:$[be]}));this._weekdays=ee.slice(m).concat(ee.slice(0,m))}_createWeekCells(){const m=this._dateAdapter.getNumDaysInMonth(this.activeDate),$=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ie=0,ee=this._firstWeekOffset;Ie=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,$){return!(!m||!$||this._dateAdapter.getMonth(m)!=this._dateAdapter.getMonth($)||this._dateAdapter.getYear(m)!=this._dateAdapter.getYear($))}_getCellCompareValue(m){if(m){const $=this._dateAdapter.getYear(m),Ie=this._dateAdapter.getMonth(m),ee=this._dateAdapter.getDate(m);return new Date($,Ie,ee).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(m){m instanceof Yt?(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 Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36(u.sBO),u.Y36(w.sG,8),u.Y36(w._A,8),u.Y36(me.Is,8),u.Y36(J,8))},Pe.\u0275cmp=u.Xpm({type:Pe,selectors:[["mat-month-view"]],viewQuery:function(m,$){if(1&m&&u.Gf(it,5),2&m){let Ie;u.iGM(Ie=u.CRH())&&($._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:[u.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,$){1&m&&(u.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),u.YNc(3,Je,5,2,"th",2),u.qZA(),u.TgZ(4,"tr"),u._UZ(5,"th",3),u.qZA()(),u.TgZ(6,"tbody",4),u.NdJ("selectedValueChange",function(ee){return $._dateSelected(ee)})("activeDateChange",function(ee){return $._updateActiveDate(ee)})("previewChange",function(ee){return $._previewChanged(ee)})("keyup",function(ee){return $._handleCalendarBodyKeyup(ee)})("keydown",function(ee){return $._handleCalendarBodyKeydown(ee)}),u.qZA()()),2&m&&(u.xp6(3),u.Q6J("ngForOf",$._weekdays),u.xp6(3),u.Q6J("label",$._monthLabel)("rows",$._weeks)("todayValue",$._todayDate)("startValue",$._rangeStart)("endValue",$._rangeEnd)("comparisonStart",$._comparisonRangeStart)("comparisonEnd",$._comparisonRangeEnd)("previewStart",$._previewStart)("previewEnd",$._previewEnd)("isRange",$._isRange)("labelMinRequiredCells",3)("activeCell",$._dateAdapter.getDate($.activeDate)-1))},dependencies:[D.sg,it],encapsulation:2,changeDetection:0}),Pe})(),Bt=(()=>{class Pe{constructor(m,$,Ie){this._changeDetectorRef=m,this._dateAdapter=$,this._dir=Ie,this._rerenderSubscription=W.w0.EMPTY,this.selectedChange=new u.vpe,this.yearSelected=new u.vpe,this.activeDateChange=new u.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(m){let $=this._activeDate;const Ie=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ie,this.minDate,this.maxDate),on(this._dateAdapter,$,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(m){this._selected=m instanceof Yt?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,Se.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const $=this._dateAdapter.getYear(this._activeDate)-Nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Ie=0,ee=[];Ie<24;Ie++)ee.push($+Ie),4==ee.length&&(this._years.push(ee.map(Te=>this._createCellForYear(Te))),ee=[]);this._changeDetectorRef.markForCheck()}_yearSelected(m){const $=m.value,Ie=this._dateAdapter.createDate($,0,1),ee=this._getDateFromYear($);this.yearSelected.emit(Ie),this.selectedChange.emit(ee)}_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 $=this._activeDate,Ie=this._isRtl();switch(m.keyCode){case le.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ie?1:-1);break;case le.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ie?-1:1);break;case le.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case le.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case le.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case le.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case le.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,m.altKey?-240:-24);break;case le.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,m.altKey?240:24);break;case le.K5:case le.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate($,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),m.preventDefault()}_handleCalendarBodyKeyup(m){(m.keyCode===le.L_||m.keyCode===le.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:m}),this._selectionKeyPressed=!1)}_getActiveCell(){return Nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(m){const $=this._dateAdapter.getMonth(this.activeDate),Ie=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(m,$,1));return this._dateAdapter.createDate(m,$,Math.min(this._dateAdapter.getDate(this.activeDate),Ie))}_createCellForYear(m){const $=this._dateAdapter.createDate(m,0,1),Ie=this._dateAdapter.getYearName($),ee=this.dateClass?this.dateClass($,"multi-year"):void 0;return new ce(m,Ie,Ie,this._shouldEnableYear(m),ee)}_shouldEnableYear(m){if(null==m||this.maxDate&&m>this._dateAdapter.getYear(this.maxDate)||this.minDate&&m{class Pe{constructor(m,$,Ie,ee){this._changeDetectorRef=m,this._dateFormats=$,this._dateAdapter=Ie,this._dir=ee,this._rerenderSubscription=W.w0.EMPTY,this.selectedChange=new u.vpe,this.monthSelected=new u.vpe,this.activeDateChange=new u.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(m){let $=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($)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(m){this._selected=m instanceof Yt?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,Se.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(m){const $=m.value,Ie=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),$,1);this.monthSelected.emit(Ie);const ee=this._getDateFromMonth($);this.selectedChange.emit(ee)}_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 $=this._activeDate,Ie=this._isRtl();switch(m.keyCode){case le.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ie?1:-1);break;case le.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ie?-1:1);break;case le.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case le.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case le.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case le.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case le.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,m.altKey?-10:-1);break;case le.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,m.altKey?10:1);break;case le.K5:case le.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate($,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),m.preventDefault()}_handleCalendarBodyKeyup(m){(m.keyCode===le.L_||m.keyCode===le.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($=>$.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 $=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),m,1),Ie=this._dateAdapter.getNumDaysInMonth($);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),m,Math.min(this._dateAdapter.getDate(this.activeDate),Ie))}_createCellForMonth(m,$){const Ie=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),m,1),ee=this._dateAdapter.format(Ie,this._dateFormats.display.monthYearA11yLabel),Te=this.dateClass?this.dateClass(Ie,"year"):void 0;return new ce(m,$.toLocaleUpperCase(),ee,this._shouldEnableMonth(m),Te)}_shouldEnableMonth(m){const $=this._dateAdapter.getYear(this.activeDate);if(null==m||this._isYearAndMonthAfterMaxDate($,m)||this._isYearAndMonthBeforeMinDate($,m))return!1;if(!this.dateFilter)return!0;for(let ee=this._dateAdapter.createDate($,m,1);this._dateAdapter.getMonth(ee)==m;ee=this._dateAdapter.addCalendarDays(ee,1))if(this.dateFilter(ee))return!0;return!1}_isYearAndMonthAfterMaxDate(m,$){if(this.maxDate){const Ie=this._dateAdapter.getYear(this.maxDate),ee=this._dateAdapter.getMonth(this.maxDate);return m>Ie||m===Ie&&$>ee}return!1}_isYearAndMonthBeforeMinDate(m,$){if(this.minDate){const Ie=this._dateAdapter.getYear(this.minDate),ee=this._dateAdapter.getMonth(this.minDate);return m{class Pe{constructor(m,$,Ie,ee,Te){this._intl=m,this.calendar=$,this._dateAdapter=Ie,this._dateFormats=ee,this._buttonDescriptionId="mat-calendar-button-"+Xe++,this.calendar.stateChanges.subscribe(()=>Te.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 $=this._dateAdapter.getYear(this.calendar.activeDate)-Nt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Ie=$+24-1,ee=this._dateAdapter.getYearName(this._dateAdapter.createDate($,0,1)),Te=this._dateAdapter.getYearName(this._dateAdapter.createDate(Ie,0,1));return this._intl.formatYearRange(ee,Te)}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,$){return"month"==this.calendar.currentView?this._dateAdapter.getYear(m)==this._dateAdapter.getYear($)&&this._dateAdapter.getMonth(m)==this._dateAdapter.getMonth($):"year"==this.calendar.currentView?this._dateAdapter.getYear(m)==this._dateAdapter.getYear($):on(this._dateAdapter,m,$,this.calendar.minDate,this.calendar.maxDate)}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36($e),u.Y36((0,u.Gpc)(()=>oe)),u.Y36(w._A,8),u.Y36(w.sG,8),u.Y36(u.sBO))},Pe.\u0275cmp=u.Xpm({type:Pe,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:pt,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,$){1&m&&(u.F$t(),u.TgZ(0,"div",0)(1,"div",1)(2,"button",2),u.NdJ("click",function(){return $.currentPeriodClicked()}),u.TgZ(3,"span"),u._uU(4),u.qZA(),u.O4$(),u.TgZ(5,"svg",3),u._UZ(6,"polygon",4),u.qZA()(),u.kcU(),u._UZ(7,"div",5),u.Hsn(8),u.TgZ(9,"button",6),u.NdJ("click",function(){return $.previousClicked()}),u.qZA(),u.TgZ(10,"button",7),u.NdJ("click",function(){return $.nextClicked()}),u.qZA()()()),2&m&&(u.xp6(2),u.uIk("aria-label",$.periodButtonLabel)("aria-describedby",$._buttonDescriptionId),u.xp6(1),u.uIk("id",$._buttonDescriptionId),u.xp6(1),u.Oqu($.periodButtonText),u.xp6(1),u.ekj("mat-calendar-invert","month"!==$.calendar.currentView),u.xp6(4),u.Q6J("disabled",!$.previousEnabled()),u.uIk("aria-label",$.prevButtonLabel),u.xp6(1),u.Q6J("disabled",!$.nextEnabled()),u.uIk("aria-label",$.nextButtonLabel))},dependencies:[T.lW],encapsulation:2,changeDetection:0}),Pe})(),oe=(()=>{class Pe{constructor(m,$,Ie,ee){this._dateAdapter=$,this._dateFormats=Ie,this._changeDetectorRef=ee,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new u.vpe,this.yearSelected=new u.vpe,this.monthSelected=new u.vpe,this.viewChanged=new u.vpe(!0),this._userSelection=new u.vpe,this.stateChanges=new p.x,this._intlChanges=m.changes.subscribe(()=>{ee.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 Yt?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 $=this._currentView!==m?m:null;this._currentView=m,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),$&&this.viewChanged.emit($)}ngAfterContentInit(){this._calendarHeaderPortal=new d.C5(this.headerComponent||Y),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 $=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,ee=$||Ie||m.dateFilter;if(ee&&!ee.firstChange){const Te=this._getCurrentViewComponent();Te&&(this._changeDetectorRef.detectChanges(),Te._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(m){const $=m.value;(this.selected instanceof Yt||$&&!this._dateAdapter.sameDate($,this.selected))&&this.selectedChange.emit($),this._userSelection.emit(m)}_yearSelectedInMultiYearView(m){this.yearSelected.emit(m)}_monthSelectedInYearView(m){this.monthSelected.emit(m)}_goToDateInView(m,$){this.activeDate=m,this.currentView=$}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36($e),u.Y36(w._A,8),u.Y36(w.sG,8),u.Y36(u.sBO))},Pe.\u0275cmp=u.Xpm({type:Pe,selectors:[["mat-calendar"]],viewQuery:function(m,$){if(1&m&&(u.Gf(ft,5),u.Gf(Oe,5),u.Gf(Bt,5)),2&m){let Ie;u.iGM(Ie=u.CRH())&&($.monthView=Ie.first),u.iGM(Ie=u.CRH())&&($.yearView=Ie.first),u.iGM(Ie=u.CRH())&&($.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:[u._Bn([te]),u.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,$){1&m&&(u.YNc(0,Ge,0,0,"ng-template",0),u.TgZ(1,"div",1),u.YNc(2,At,1,8,"mat-month-view",2),u.YNc(3,st,1,6,"mat-year-view",3),u.YNc(4,_t,1,6,"mat-multi-year-view",4),u.qZA()),2&m&&(u.Q6J("cdkPortalOutlet",$._calendarHeaderPortal),u.xp6(1),u.Q6J("ngSwitch",$.currentView),u.xp6(1),u.Q6J("ngSwitchCase","month"),u.xp6(1),u.Q6J("ngSwitchCase","year"),u.xp6(1),u.Q6J("ngSwitchCase","multi-year"))},dependencies:[D.RF,D.n9,r.kH,d.Pl,ft,Oe,Bt],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}),Pe})();const x={transformPanel:(0,N.X$)("transformPanel",[(0,N.eR)("void => enter-dropdown",(0,N.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,N.F4)([(0,N.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,N.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,N.eR)("void => enter-dialog",(0,N.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,N.F4)([(0,N.oB)({opacity:0,transform:"scale(0.7)"}),(0,N.oB)({transform:"none",opacity:1})]))),(0,N.eR)("* => void",(0,N.jt)("100ms linear",(0,N.oB)({opacity:0})))]),fadeInCalendar:(0,N.X$)("fadeInCalendar",[(0,N.SB)("void",(0,N.oB)({opacity:0})),(0,N.SB)("enter",(0,N.oB)({opacity:1})),(0,N.eR)("void => *",(0,N.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let h=0;const v=new u.OlP("mat-datepicker-scroll-strategy"),b={provide:v,deps:[i.aV],useFactory:function c(Pe){return()=>Pe.scrollStrategies.reposition()}},E=(0,w.pj)(class{constructor(Pe){this._elementRef=Pe}});let O=(()=>{class Pe extends E{constructor(m,$,Ie,ee,Te,be){super(m),this._changeDetectorRef=$,this._globalModel=Ie,this._dateAdapter=ee,this._rangeSelectionStrategy=Te,this._subscriptions=new W.w0,this._animationDone=new p.x,this._actionsPortal=null,this._closeButtonText=be.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 $=this._model.selection,Ie=m.value,ee=$ instanceof Yt;if(ee&&this._rangeSelectionStrategy){const Te=this._rangeSelectionStrategy.selectionFinished(Ie,$,m.event);this._model.updateSelection(Te,this)}else Ie&&(ee||!this._dateAdapter.sameDate(Ie,$))&&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,$){this._model=m?this._globalModel.clone():this._globalModel,this._actionsPortal=m,$&&this._changeDetectorRef.detectChanges()}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(Qt),u.Y36(w._A),u.Y36(J,8),u.Y36($e))},Pe.\u0275cmp=u.Xpm({type:Pe,selectors:[["mat-datepicker-content"]],viewQuery:function(m,$){if(1&m&&u.Gf(oe,5),2&m){let Ie;u.iGM(Ie=u.CRH())&&($._calendar=Ie.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(m,$){1&m&&u.WFA("@transformPanel.done",function(){return $._animationDone.next()}),2&m&&(u.d8E("@transformPanel",$._animationState),u.ekj("mat-datepicker-content-touch",$.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[u.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,$){if(1&m&&(u.TgZ(0,"div",0)(1,"mat-calendar",1),u.NdJ("yearSelected",function(ee){return $.datepicker._selectYear(ee)})("monthSelected",function(ee){return $.datepicker._selectMonth(ee)})("viewChanged",function(ee){return $.datepicker._viewChanged(ee)})("_userSelection",function(ee){return $._handleUserSelection(ee)}),u.qZA(),u.YNc(2,et,0,0,"ng-template",2),u.TgZ(3,"button",3),u.NdJ("focus",function(){return $._closeButtonFocused=!0})("blur",function(){return $._closeButtonFocused=!1})("click",function(){return $.datepicker.close()}),u._uU(4),u.qZA()()),2&m){let Ie;u.ekj("mat-datepicker-content-container-with-custom-header",$.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",$._actionsPortal),u.uIk("aria-modal",!0)("aria-labelledby",null!==(Ie=$._dialogLabelId)&&void 0!==Ie?Ie:void 0),u.xp6(1),u.Q6J("id",$.datepicker.id)("ngClass",$.datepicker.panelClass)("startAt",$.datepicker.startAt)("startView",$.datepicker.startView)("minDate",$.datepicker._getMinDate())("maxDate",$.datepicker._getMaxDate())("dateFilter",$.datepicker._getDateFilter())("headerComponent",$.datepicker.calendarHeaderComponent)("selected",$._getSelected())("dateClass",$.datepicker.dateClass)("comparisonStart",$.comparisonStart)("comparisonEnd",$.comparisonEnd)("@fadeInCalendar","enter"),u.xp6(1),u.Q6J("cdkPortalOutlet",$._actionsPortal),u.xp6(1),u.ekj("cdk-visually-hidden",!$._closeButtonFocused),u.Q6J("color",$.color||"primary"),u.xp6(1),u.Oqu($._closeButtonText)}},dependencies:[D.mk,T.lW,r.mK,d.Pl,oe],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:[x.transformPanel,x.fadeInCalendar]},changeDetection:0}),Pe})(),R=(()=>{class Pe{constructor(m,$,Ie,ee,Te,be,ve){this._overlay=m,this._ngZone=$,this._viewContainerRef=Ie,this._dateAdapter=Te,this._dir=be,this._model=ve,this._inputStateChanges=W.w0.EMPTY,this._document=(0,u.f3M)(D.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new u.vpe,this.monthSelected=new u.vpe,this.viewChanged=new u.vpe(!0),this.openedStream=new u.vpe,this.closedStream=new u.vpe,this._opened=!1,this.id="mat-datepicker-"+h++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new p.x,this._scrollStrategy=ee}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,Ne.Ig)(m)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(m){const $=(0,Ne.Ig)(m);$!==this._disabled&&(this._disabled=$,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(m){this._restoreFocus=(0,Ne.Ig)(m)}get panelClass(){return this._panelClass}set panelClass(m){this._panelClass=(0,Ne.du)(m)}get opened(){return this._opened}set opened(m){(0,Ne.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 $=m.xPosition||m.yPosition;if($&&!$.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){this._actionsPortal=m,this._componentRef?.instance._assignActions(m,!0)}removeActions(m){m===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,gt.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,$=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Ie,location:ee}=this._componentRef;Ie._startExitAnimation(),Ie._animationDone.pipe((0,fe.q)(1)).subscribe(()=>{const Te=this._document.activeElement;m&&(!Te||Te===this._document.activeElement||ee.nativeElement.contains(Te))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}m?setTimeout($):$()}_applyPendingSelection(){this._componentRef?.instance?._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,$=new d.C5(O,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(ee=>{ee&&ee.preventDefault(),this.close()}),Ie.keydownEvents().subscribe(ee=>{const Te=ee.keyCode;(Te===le.LH||Te===le.JH||Te===le.oh||Te===le.SV||Te===le.Ku||Te===le.VM)&&ee.preventDefault()}),this._componentRef=Ie.attach($),this._forwardContentValues(this._componentRef.instance),m||this._ngZone.onStable.pipe((0,fe.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 $="end"===this.xPosition?"end":"start",Ie="start"===$?"end":"start",ee="above"===this.yPosition?"bottom":"top",Te="top"===ee?"bottom":"top";return m.withPositions([{originX:$,originY:Te,overlayX:$,overlayY:ee},{originX:$,originY:ee,overlayX:$,overlayY:Te},{originX:Ie,originY:Te,overlayX:Ie,overlayY:ee},{originX:Ie,originY:ee,overlayX:Ie,overlayY:Te}])}_getCloseStream(m){return(0,ae.T)(m.backdropClick(),m.detachments(),m.keydownEvents().pipe((0,Ze.h)($=>$.keyCode===le.hY&&!(0,le.Vb)($)||this.datepickerInput&&(0,le.Vb)($,"altKey")&&$.keyCode===le.LH)))}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36(i.aV),u.Y36(u.R0b),u.Y36(u.s_b),u.Y36(v),u.Y36(w._A,8),u.Y36(me.Is,8),u.Y36(Qt))},Pe.\u0275dir=u.lG2({type:Pe,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:[u.TTD]}),Pe})();class Re{constructor(Ye,m){this.target=Ye,this.targetElement=m,this.value=this.target.value}}let nt=(()=>{class Pe{constructor(m,$,Ie){this._elementRef=m,this._dateAdapter=$,this._dateFormats=Ie,this.dateChange=new u.vpe,this.dateInput=new u.vpe,this.stateChanges=new p.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=W.w0.EMPTY,this._localeSubscription=W.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=ee=>{const Te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ee.value));return!Te||this._matchesFilter(Te)?null:{matDatepickerFilter:!0}},this._minValidator=ee=>{const Te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ee.value)),be=this._getMinDate();return!be||!Te||this._dateAdapter.compareDate(be,Te)<=0?null:{matDatepickerMin:{min:be,actual:Te}}},this._maxValidator=ee=>{const Te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ee.value)),be=this._getMaxDate();return!be||!Te||this._dateAdapter.compareDate(be,Te)>=0?null:{matDatepickerMax:{max:be,actual:Te}}},this._lastValueValid=!1,this._localeSubscription=$.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 $=(0,Ne.Ig)(m),Ie=this._elementRef.nativeElement;this._disabled!==$&&(this._disabled=$,this.stateChanges.next(void 0)),$&&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($=>{if(this._shouldHandleChangeEvent($)){const Ie=this._getValueFromModel($.selection);this._lastValueValid=this._isValidValue(Ie),this._cvaOnChange(Ie),this._onTouched(),this._formatValue(Ie),this.dateInput.emit(new Re(this,this._elementRef.nativeElement)),this.dateChange.emit(new Re(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(m){wt(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===le.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),m.preventDefault())}_onInput(m){const $=this._lastValueValid;let Ie=this._dateAdapter.parse(m,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ie),Ie=this._dateAdapter.getValidDateOrNull(Ie);const ee=!this._dateAdapter.sameDate(Ie,this.value);!Ie||ee?this._cvaOnChange(Ie):(m&&!this.value&&this._cvaOnChange(Ie),$!==this._lastValueValid&&this._validatorOnChange()),ee&&(this._assignValue(Ie),this.dateInput.emit(new Re(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Re(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 $=this._getDateFilter();return!$||$(m)}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36(u.SBq),u.Y36(w._A,8),u.Y36(w.sG,8))},Pe.\u0275dir=u.lG2({type:Pe,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u.TTD]}),Pe})();function wt(Pe,Ye){const m=Object.keys(Pe);for(let $ of m){const{previousValue:Ie,currentValue:ee}=Pe[$];if(!Ye.isDateInstance(Ie)||!Ye.isDateInstance(ee))return!0;if(!Ye.sameDate(Ie,ee))return!0}return!1}let cn=(()=>{class Pe{}return Pe.\u0275fac=function(m){return new(m||Pe)},Pe.\u0275dir=u.lG2({type:Pe,selectors:[["","matDatepickerToggleIcon",""]]}),Pe})(),tt=(()=>{class Pe{constructor(m,$,Ie){this._intl=m,this._changeDetectorRef=$,this._stateChanges=W.w0.EMPTY;const ee=Number(Ie);this.tabIndex=ee||0===ee?ee:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(m){this._disabled=(0,Ne.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,se.of)(),$=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,se.of)(),Ie=this.datepicker?(0,ae.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,se.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,ae.T)(this._intl.changes,m,$,Ie).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36($e),u.Y36(u.sBO),u.$8M("tabindex"))},Pe.\u0275cmp=u.Xpm({type:Pe,selectors:[["mat-datepicker-toggle"]],contentQueries:function(m,$,Ie){if(1&m&&u.Suo(Ie,cn,5),2&m){let ee;u.iGM(ee=u.CRH())&&($._customIcon=ee.first)}},viewQuery:function(m,$){if(1&m&&u.Gf(mt,5),2&m){let Ie;u.iGM(Ie=u.CRH())&&($._button=Ie.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(m,$){1&m&&u.NdJ("click",function(ee){return $._open(ee)}),2&m&&(u.uIk("tabindex",null)("data-mat-calendar",$.datepicker?$.datepicker.id:null),u.ekj("mat-datepicker-toggle-active",$.datepicker&&$.datepicker.opened)("mat-accent",$.datepicker&&"accent"===$.datepicker.color)("mat-warn",$.datepicker&&"warn"===$.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[u.TTD],ngContentSelectors:de,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,$){1&m&&(u.F$t(G),u.TgZ(0,"button",0,1),u.YNc(2,he,2,0,"svg",2),u.Hsn(3),u.qZA()),2&m&&(u.Q6J("disabled",$.disabled)("disableRipple",$.disableRipple),u.uIk("aria-haspopup",$.datepicker?"dialog":null)("aria-label",$.ariaLabel||$._intl.openCalendarLabel)("tabindex",$.disabled?-1:$.tabIndex),u.xp6(2),u.Q6J("ngIf",!$._customIcon))},dependencies:[D.O5,T.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}),Pe})();const ot=new u.OlP("MAT_DATE_RANGE_INPUT_PARENT"),Ct=(0,w.FD)((()=>{class Pe extends nt{constructor(m,$,Ie,ee,Te,be,ve,Pt){super($,ve,Pt),this._rangeInput=m,this._elementRef=$,this._defaultErrorStateMatcher=Ie,this._injector=ee,this._parentForm=Te,this._parentFormGroup=be,this._dir=(0,u.f3M)(me.Is,u.XFs.Optional)}ngOnInit(){const m=this._injector.get(B.a5,null,u.XFs.Self|u.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),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36(ot),u.Y36(u.SBq),u.Y36(w.rD),u.Y36(u.zs3),u.Y36(B.F,8),u.Y36(B.sg,8),u.Y36(w._A,8),u.Y36(w.sG,8))},Pe.\u0275dir=u.lG2({type:Pe,features:[u.qOj]}),Pe})());let Ut=(()=>{class Pe extends Ct{constructor(m,$,Ie,ee,Te,be,ve,Pt){super(m,$,Ie,ee,Te,be,ve,Pt),this._startValidator=qt=>{const Cn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(qt.value)),Fn=this._model?this._model.selection.end:null;return!Cn||!Fn||this._dateAdapter.compareDate(Cn,Fn)<=0?null:{matStartDateInvalid:{end:Fn,actual:Cn}}},this._validator=B.kI.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(m){return m.start}_shouldHandleChangeEvent(m){return!(!super._shouldHandleChangeEvent(m)||(m.oldValue?.start?m.selection.start&&!this._dateAdapter.compareDate(m.oldValue.start,m.selection.start):!m.selection.start))}_assignValueToModel(m){if(this._model){const $=new Yt(m,this._model.selection.end);this._model.updateSelection($,this)}}_formatValue(m){super._formatValue(m),this._rangeInput._handleChildValueChange()}getMirrorValue(){const m=this._elementRef.nativeElement,$=m.value;return $.length>0?$:m.placeholder}_onKeydown(m){const $=this._rangeInput._endInput,Ie=this._elementRef.nativeElement,ee="rtl"!==this._dir?.value;(m.keyCode===le.SV&&ee||m.keyCode===le.oh&&!ee)&&Ie.selectionStart===Ie.value.length&&Ie.selectionEnd===Ie.value.length?(m.preventDefault(),$._elementRef.nativeElement.setSelectionRange(0,0),$.focus()):super._onKeydown(m)}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36(ot),u.Y36(u.SBq),u.Y36(w.rD),u.Y36(u.zs3),u.Y36(B.F,8),u.Y36(B.sg,8),u.Y36(w._A,8),u.Y36(w.sG,8))},Pe.\u0275dir=u.lG2({type:Pe,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(m,$){1&m&&u.NdJ("input",function(ee){return $._onInput(ee.target.value)})("change",function(){return $._onChange()})("keydown",function(ee){return $._onKeydown(ee)})("blur",function(){return $._onBlur()}),2&m&&(u.Ikx("disabled",$.disabled),u.uIk("id",$._rangeInput.id)("aria-haspopup",$._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==$._rangeInput.rangePicker?null:$._rangeInput.rangePicker.opened)&&$._rangeInput.rangePicker.id||null)("min",$._getMinDate()?$._dateAdapter.toIso8601($._getMinDate()):null)("max",$._getMaxDate()?$._dateAdapter.toIso8601($._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u._Bn([{provide:B.JU,useExisting:Pe,multi:!0},{provide:B.Cf,useExisting:Pe,multi:!0}]),u.qOj]}),Pe})(),tn=(()=>{class Pe extends Ct{constructor(m,$,Ie,ee,Te,be,ve,Pt){super(m,$,Ie,ee,Te,be,ve,Pt),this._endValidator=qt=>{const Cn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(qt.value)),Fn=this._model?this._model.selection.start:null;return!Cn||!Fn||this._dateAdapter.compareDate(Cn,Fn)>=0?null:{matEndDateInvalid:{start:Fn,actual:Cn}}},this._validator=B.kI.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(m){return m.end}_shouldHandleChangeEvent(m){return!(!super._shouldHandleChangeEvent(m)||(m.oldValue?.end?m.selection.end&&!this._dateAdapter.compareDate(m.oldValue.end,m.selection.end):!m.selection.end))}_assignValueToModel(m){if(this._model){const $=new Yt(this._model.selection.start,m);this._model.updateSelection($,this)}}_onKeydown(m){const $=this._rangeInput._startInput,Ie=this._elementRef.nativeElement,ee="rtl"!==this._dir?.value;if(m.keyCode!==le.ZH||Ie.value)if((m.keyCode===le.oh&&ee||m.keyCode===le.SV&&!ee)&&0===Ie.selectionStart&&0===Ie.selectionEnd){m.preventDefault();const Te=$._elementRef.nativeElement.value.length;$._elementRef.nativeElement.setSelectionRange(Te,Te),$.focus()}else super._onKeydown(m);else $.focus()}}return Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36(ot),u.Y36(u.SBq),u.Y36(w.rD),u.Y36(u.zs3),u.Y36(B.F,8),u.Y36(B.sg,8),u.Y36(w._A,8),u.Y36(w.sG,8))},Pe.\u0275dir=u.lG2({type:Pe,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(m,$){1&m&&u.NdJ("input",function(ee){return $._onInput(ee.target.value)})("change",function(){return $._onChange()})("keydown",function(ee){return $._onKeydown(ee)})("blur",function(){return $._onBlur()}),2&m&&(u.Ikx("disabled",$.disabled),u.uIk("aria-haspopup",$._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==$._rangeInput.rangePicker?null:$._rangeInput.rangePicker.opened)&&$._rangeInput.rangePicker.id||null)("min",$._getMinDate()?$._dateAdapter.toIso8601($._getMinDate()):null)("max",$._getMaxDate()?$._dateAdapter.toIso8601($._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[u._Bn([{provide:B.JU,useExisting:Pe,multi:!0},{provide:B.Cf,useExisting:Pe,multi:!0}]),u.qOj]}),Pe})(),gn=0,vn=(()=>{class Pe{constructor(m,$,Ie,ee,Te){if(this._changeDetectorRef=m,this._elementRef=$,this._dateAdapter=ee,this._formField=Te,this._closedSubscription=W.w0.EMPTY,this.id="mat-date-range-input-"+gn++,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 p.x,Te?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){const be=$.nativeElement.classList;be.add("mat-mdc-input-element"),be.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(){const m=this._startInput?._getPlaceholder()||"",$=this._endInput?._getPlaceholder()||"";return m||$?`${m} ${this.separator} ${$}`:""}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(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return!!this._required}set required(m){this._required=(0,Ne.Ig)(m)}get dateFilter(){return this._dateFilter}set dateFilter(m){const $=this._startInput,Ie=this._endInput,ee=$&&$._matchesFilter($.value),Te=Ie&&Ie._matchesFilter($.value);this._dateFilter=m,$&&$._matchesFilter($.value)!==ee&&$._validatorOnChange(),Ie&&Ie._matchesFilter(Ie.value)!==Te&&Ie._validatorOnChange()}get min(){return this._min}set min(m){const $=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m));this._dateAdapter.sameDate($,this._min)||(this._min=$,this._revalidate())}get max(){return this._max}set max(m){const $=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(m));this._dateAdapter.sameDate($,this._max)||(this._max=$,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(m){const $=(0,Ne.Ig)(m);$!==this._groupDisabled&&(this._groupDisabled=$,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(),$=!!this._endInput&&this._endInput.isEmpty();return m&&$}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,ae.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(m){wt(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 Pe.\u0275fac=function(m){return new(m||Pe)(u.Y36(u.sBO),u.Y36(u.SBq),u.Y36(B.gN,10),u.Y36(w._A,8),u.Y36(X.G_,8))},Pe.\u0275cmp=u.Xpm({type:Pe,selectors:[["mat-date-range-input"]],contentQueries:function(m,$,Ie){if(1&m&&(u.Suo(Ie,Ut,5),u.Suo(Ie,tn,5)),2&m){let ee;u.iGM(ee=u.CRH())&&($._startInput=ee.first),u.iGM(ee=u.CRH())&&($._endInput=ee.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(m,$){2&m&&(u.uIk("id",null)("aria-labelledby",$._getAriaLabelledby())("aria-describedby",$._ariaDescribedBy)("data-mat-calendar",$.rangePicker?$.rangePicker.id:null),u.ekj("mat-date-range-input-hide-placeholders",$._shouldHidePlaceholders())("mat-date-range-input-required",$.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[u._Bn([{provide:X.Eo,useExisting:Pe},{provide:ot,useExisting:Pe}]),u.TTD],ngContentSelectors:xe,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,$){1&m&&(u.F$t(ye),u.TgZ(0,"div",0),u.NdJ("cdkFocusChange",function(ee){return $._updateFocus(ee)}),u.TgZ(1,"div",1),u.Hsn(2),u.TgZ(3,"span",2),u._uU(4),u.qZA()(),u.TgZ(5,"span",3),u._uU(6),u.qZA(),u.TgZ(7,"div",4),u.Hsn(8,1),u.qZA()()),2&m&&(u.xp6(4),u.Oqu($._getInputMirrorValue()),u.xp6(1),u.ekj("mat-date-range-input-separator-hidden",$._shouldHideSeparator()),u.xp6(1),u.Oqu($.separator))},dependencies:[r.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}),Pe})(),yn=(()=>{class Pe extends R{_forwardContentValues(m){super._forwardContentValues(m);const $=this.datepickerInput;$&&(m.comparisonStart=$.comparisonStart,m.comparisonEnd=$.comparisonEnd)}}return Pe.\u0275fac=function(){let Ye;return function($){return(Ye||(Ye=u.n5z(Pe)))($||Pe)}}(),Pe.\u0275cmp=u.Xpm({type:Pe,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[u._Bn([M,Ee,{provide:R,useExisting:Pe}]),u.qOj],decls:0,vars:0,template:function(m,$){},encapsulation:2,changeDetection:0}),Pe})(),at=(()=>{class Pe{}return Pe.\u0275fac=function(m){return new(m||Pe)},Pe.\u0275mod=u.oAB({type:Pe}),Pe.\u0275inj=u.cJS({providers:[$e,b],imports:[D.ez,T.ot,i.U8,r.rt,d.eL,w.BQ,F.ZD]}),Pe})()},5412:(Rt,je,a)=>{a.d(je,{WI:()=>ye,uw:()=>Ke,H8:()=>Wt,ZT:()=>Et,xY:()=>Qt,Is:()=>qe,so:()=>G,uh:()=>Yt});var r=a(2687),i=a(8184),d=a(3353),D=a(4080),u=a(6895),T=a(4650),F=a(9521),w=a(7579),p=a(9770),W=a(9646),ae=a(445),se=a(8675);function le(te,S){}class me{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 Se=(()=>{class te extends D.en{constructor(M,J,Ue,Ae,Ee,De,ft,vt){super(),this._elementRef=M,this._focusTrapFactory=J,this._config=Ae,this._interactivityChecker=Ee,this._ngZone=De,this._overlayRef=ft,this._focusMonitor=vt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=St=>{this._portalOutlet.hasAttached();const Bt=this._portalOutlet.attachDomPortal(St);return this._contentAttached(),Bt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=Ue}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(M){this._portalOutlet.hasAttached();const J=this._portalOutlet.attachComponentPortal(M);return this._contentAttached(),J}attachTemplatePortal(M){this._portalOutlet.hasAttached();const J=this._portalOutlet.attachTemplatePortal(M);return this._contentAttached(),J}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(M,J){this._interactivityChecker.isFocusable(M)||(M.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ue=()=>{M.removeEventListener("blur",Ue),M.removeEventListener("mousedown",Ue),M.removeAttribute("tabindex")};M.addEventListener("blur",Ue),M.addEventListener("mousedown",Ue)})),M.focus(J)}_focusByCssSelector(M,J){let Ue=this._elementRef.nativeElement.querySelector(M);Ue&&this._forceFocus(Ue,J)}_trapFocus(){const M=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||M.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(J=>{J||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 M=this._config.restoreFocus;let J=null;if("string"==typeof M?J=this._document.querySelector(M):"boolean"==typeof M?J=M?this._elementFocusedBeforeDialogWasOpened:null:M&&(J=M),this._config.restoreFocus&&J&&"function"==typeof J.focus){const Ue=(0,d.ht)(),Ae=this._elementRef.nativeElement;(!Ue||Ue===this._document.body||Ue===Ae||Ae.contains(Ue))&&(this._focusMonitor?(this._focusMonitor.focusVia(J,this._closeInteractionType),this._closeInteractionType=null):J.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const M=this._elementRef.nativeElement,J=(0,d.ht)();return M===J||M.contains(J)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,d.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return te.\u0275fac=function(M){return new(M||te)(T.Y36(T.SBq),T.Y36(r.qV),T.Y36(u.K0,8),T.Y36(me),T.Y36(r.ic),T.Y36(T.R0b),T.Y36(i.Iu),T.Y36(r.tE))},te.\u0275cmp=T.Xpm({type:te,selectors:[["cdk-dialog-container"]],viewQuery:function(M,J){if(1&M&&T.Gf(D.Pl,7),2&M){let Ue;T.iGM(Ue=T.CRH())&&(J._portalOutlet=Ue.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(M,J){2&M&&T.uIk("id",J._config.id||null)("role",J._config.role)("aria-modal",J._config.ariaModal)("aria-labelledby",J._config.ariaLabel?null:J._ariaLabelledBy)("aria-label",J._config.ariaLabel)("aria-describedby",J._config.ariaDescribedBy||null)},features:[T.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(M,J){1&M&&T.YNc(0,le,0,0,"ng-template",0)},dependencies:[D.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),te})();class Ze{constructor(S,M){this.overlayRef=S,this.config=M,this.closed=new w.x,this.disableClose=M.disableClose,this.backdropClick=S.backdropClick(),this.keydownEvents=S.keydownEvents(),this.outsidePointerEvents=S.outsidePointerEvents(),this.id=M.id,this.keydownEvents.subscribe(J=>{J.keyCode===F.hY&&!this.disableClose&&!(0,F.Vb)(J)&&(J.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(S,M){if(this.containerInstance){const J=this.closed;this.containerInstance._closeInteractionType=M?.focusOrigin||"program",this.overlayRef.dispose(),J.next(S),J.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(S="",M=""){return this.overlayRef.updateSize({width:S,height:M}),this}addPanelClass(S){return this.overlayRef.addPanelClass(S),this}removePanelClass(S){return this.overlayRef.removePanelClass(S),this}}const Ne=new T.OlP("DialogScrollStrategy"),gt=new T.OlP("DialogData"),N=new T.OlP("DefaultDialogConfig"),X={provide:Ne,deps:[i.aV],useFactory:function B(te){return()=>te.scrollStrategies.block()}};let ie=0,pe=(()=>{class te{constructor(M,J,Ue,Ae,Ee,De){this._overlay=M,this._injector=J,this._defaultOptions=Ue,this._parentDialog=Ae,this._overlayContainer=Ee,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new w.x,this._afterOpenedAtThisLevel=new w.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,p.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,se.O)(void 0))),this._scrollStrategy=De}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(M,J){(J={...this._defaultOptions||new me,...J}).id=J.id||"cdk-dialog-"+ie++,J.id&&this.getDialogById(J.id);const Ae=this._getOverlayConfig(J),Ee=this._overlay.create(Ae),De=new Ze(Ee,J),ft=this._attachContainer(Ee,De,J);return De.containerInstance=ft,this._attachDialogContent(M,De,ft,J),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(De),De.closed.subscribe(()=>this._removeOpenDialog(De,!0)),this.afterOpened.next(De),De}closeAll(){we(this.openDialogs,M=>M.close())}getDialogById(M){return this.openDialogs.find(J=>J.id===M)}ngOnDestroy(){we(this._openDialogsAtThisLevel,M=>{!1===M.config.closeOnDestroy&&this._removeOpenDialog(M,!1)}),we(this._openDialogsAtThisLevel,M=>M.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(M){const J=new i.X_({positionStrategy:M.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:M.scrollStrategy||this._scrollStrategy(),panelClass:M.panelClass,hasBackdrop:M.hasBackdrop,direction:M.direction,minWidth:M.minWidth,minHeight:M.minHeight,maxWidth:M.maxWidth,maxHeight:M.maxHeight,width:M.width,height:M.height,disposeOnNavigation:M.closeOnNavigation});return M.backdropClass&&(J.backdropClass=M.backdropClass),J}_attachContainer(M,J,Ue){const Ae=Ue.injector||Ue.viewContainerRef?.injector,Ee=[{provide:me,useValue:Ue},{provide:Ze,useValue:J},{provide:i.Iu,useValue:M}];let De;Ue.container?"function"==typeof Ue.container?De=Ue.container:(De=Ue.container.type,Ee.push(...Ue.container.providers(Ue))):De=Se;const ft=new D.C5(De,Ue.viewContainerRef,T.zs3.create({parent:Ae||this._injector,providers:Ee}),Ue.componentFactoryResolver);return M.attach(ft).instance}_attachDialogContent(M,J,Ue,Ae){if(M instanceof T.Rgc){const Ee=this._createInjector(Ae,J,Ue,void 0);let De={$implicit:Ae.data,dialogRef:J};Ae.templateContext&&(De={...De,..."function"==typeof Ae.templateContext?Ae.templateContext():Ae.templateContext}),Ue.attachTemplatePortal(new D.UE(M,null,De,Ee))}else{const Ee=this._createInjector(Ae,J,Ue,this._injector),De=Ue.attachComponentPortal(new D.C5(M,Ae.viewContainerRef,Ee,Ae.componentFactoryResolver));J.componentInstance=De.instance}}_createInjector(M,J,Ue,Ae){const Ee=M.injector||M.viewContainerRef?.injector,De=[{provide:gt,useValue:M.data},{provide:Ze,useValue:J}];return M.providers&&("function"==typeof M.providers?De.push(...M.providers(J,M,Ue)):De.push(...M.providers)),M.direction&&(!Ee||!Ee.get(ae.Is,null,T.XFs.Optional))&&De.push({provide:ae.Is,useValue:{value:M.direction,change:(0,W.of)()}}),T.zs3.create({parent:Ee||Ae,providers:De})}_removeOpenDialog(M,J){const Ue=this.openDialogs.indexOf(M);Ue>-1&&(this.openDialogs.splice(Ue,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Ae,Ee)=>{Ae?Ee.setAttribute("aria-hidden",Ae):Ee.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),J&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const M=this._overlayContainer.getContainerElement();if(M.parentElement){const J=M.parentElement.children;for(let Ue=J.length-1;Ue>-1;Ue--){const Ae=J[Ue];Ae!==M&&"SCRIPT"!==Ae.nodeName&&"STYLE"!==Ae.nodeName&&!Ae.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Ae,Ae.getAttribute("aria-hidden")),Ae.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const M=this._parentDialog;return M?M._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return te.\u0275fac=function(M){return new(M||te)(T.LFG(i.aV),T.LFG(T.zs3),T.LFG(N,8),T.LFG(te,12),T.LFG(i.Xj),T.LFG(Ne))},te.\u0275prov=T.Yz7({token:te,factory:te.\u0275fac}),te})();function we(te,S){let M=te.length;for(;M--;)S(te[M])}let ne=(()=>{class te{}return te.\u0275fac=function(M){return new(M||te)},te.\u0275mod=T.oAB({type:te}),te.\u0275inj=T.cJS({providers:[pe,X],imports:[i.U8,D.eL,r.rt,D.eL]}),te})();var ge=a(3238),Ve=a(6451),Je=a(9300),pt=a(5698),Ge=a(7340);function At(te,S){}const st={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},_t={dialogContainer:(0,Ge.X$)("dialogContainer",[(0,Ge.SB)("void, exit",(0,Ge.oB)({opacity:0,transform:"scale(0.7)"})),(0,Ge.SB)("enter",(0,Ge.oB)({transform:"none"})),(0,Ge.eR)("* => enter",(0,Ge.ru)([(0,Ge.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,Ge.oB)({transform:"none",opacity:1})),(0,Ge.IO)("@*",(0,Ge.pV)(),{optional:!0})]),st),(0,Ge.eR)("* => void, * => exit",(0,Ge.ru)([(0,Ge.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Ge.oB)({opacity:0})),(0,Ge.IO)("@*",(0,Ge.pV)(),{optional:!0})]),st)])};class et{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=st.params.enterAnimationDuration,this.exitAnimationDuration=st.params.exitAnimationDuration}}let mt=(()=>{class te extends Se{constructor(M,J,Ue,Ae,Ee,De,ft,vt){super(M,J,Ue,Ae,Ee,De,ft,vt),this._animationStateChanged=new T.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(M){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:M})}}return te.\u0275fac=function(M){return new(M||te)(T.Y36(T.SBq),T.Y36(r.qV),T.Y36(u.K0,8),T.Y36(et),T.Y36(r.ic),T.Y36(T.R0b),T.Y36(i.Iu),T.Y36(r.tE))},te.\u0275cmp=T.Xpm({type:te,selectors:[["ng-component"]],features:[T.qOj],decls:0,vars:0,template:function(M,J){},encapsulation:2}),te})(),he=(()=>{class te extends mt{constructor(M,J,Ue,Ae,Ee,De,ft,vt,St){super(M,J,Ue,Ae,Ee,De,ft,St),this._changeDetectorRef=vt,this._state="enter"}_onAnimationDone({toState:M,totalTime:J}){"enter"===M?this._openAnimationDone(J):"exit"===M&&this._animationStateChanged.next({state:"closed",totalTime:J})}_onAnimationStart({toState:M,totalTime:J}){"enter"===M?this._animationStateChanged.next({state:"opening",totalTime:J}):("exit"===M||"void"===M)&&this._animationStateChanged.next({state:"closing",totalTime:J})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||st.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||st.params.exitAnimationDuration}}}}return te.\u0275fac=function(M){return new(M||te)(T.Y36(T.SBq),T.Y36(r.qV),T.Y36(u.K0,8),T.Y36(et),T.Y36(r.ic),T.Y36(T.R0b),T.Y36(i.Iu),T.Y36(T.sBO),T.Y36(r.tE))},te.\u0275cmp=T.Xpm({type:te,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(M,J){1&M&&T.WFA("@dialogContainer.start",function(Ae){return J._onAnimationStart(Ae)})("@dialogContainer.done",function(Ae){return J._onAnimationDone(Ae)}),2&M&&(T.Ikx("id",J._config.id),T.uIk("aria-modal",J._config.ariaModal)("role",J._config.role)("aria-labelledby",J._config.ariaLabel?null:J._ariaLabelledBy)("aria-label",J._config.ariaLabel)("aria-describedby",J._config.ariaDescribedBy||null),T.d8E("@dialogContainer",J._getAnimationState()))},features:[T.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(M,J){1&M&&T.YNc(0,At,0,0,"ng-template",0)},dependencies:[D.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:[_t.dialogContainer]}}),te})();class G{constructor(S,M,J){this._ref=S,this._containerInstance=J,this._afterOpened=new w.x,this._beforeClosed=new w.x,this._state=0,this.disableClose=M.disableClose,this.id=S.id,J._animationStateChanged.pipe((0,Je.h)(Ue=>"opened"===Ue.state),(0,pt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),J._animationStateChanged.pipe((0,Je.h)(Ue=>"closed"===Ue.state),(0,pt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),S.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Ve.T)(this.backdropClick(),this.keydownEvents().pipe((0,Je.h)(Ue=>Ue.keyCode===F.hY&&!this.disableClose&&!(0,F.Vb)(Ue)))).subscribe(Ue=>{this.disableClose||(Ue.preventDefault(),de(this,"keydown"===Ue.type?"keyboard":"mouse"))})}close(S){this._result=S,this._containerInstance._animationStateChanged.pipe((0,Je.h)(M=>"closing"===M.state),(0,pt.q)(1)).subscribe(M=>{this._beforeClosed.next(S),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),M.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(S){let M=this._ref.config.positionStrategy;return S&&(S.left||S.right)?S.left?M.left(S.left):M.right(S.right):M.centerHorizontally(),S&&(S.top||S.bottom)?S.top?M.top(S.top):M.bottom(S.bottom):M.centerVertically(),this._ref.updatePosition(),this}updateSize(S="",M=""){return this._ref.updateSize(S,M),this}addPanelClass(S){return this._ref.addPanelClass(S),this}removePanelClass(S){return this._ref.removePanelClass(S),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function de(te,S,M){return te._closeInteractionType=S,te.close(M)}const ye=new T.OlP("MatDialogData"),xe=new T.OlP("mat-dialog-default-options"),Dt=new T.OlP("mat-dialog-scroll-strategy"),ce={provide:Dt,deps:[i.aV],useFactory:function $e(te){return()=>te.scrollStrategies.block()}};let it=0,ue=(()=>{class te{constructor(M,J,Ue,Ae,Ee,De,ft,vt,St,Bt){this._overlay=M,this._defaultOptions=Ue,this._parentDialog=Ae,this._dialogRefConstructor=ft,this._dialogContainerType=vt,this._dialogDataToken=St,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new w.x,this._afterOpenedAtThisLevel=new w.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,p.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,se.O)(void 0))),this._scrollStrategy=De,this._dialog=J.get(pe)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const M=this._parentDialog;return M?M._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(M,J){let Ue;(J={...this._defaultOptions||new et,...J}).id=J.id||`${this._idPrefix}${it++}`,J.scrollStrategy=J.scrollStrategy||this._scrollStrategy();const Ae=this._dialog.open(M,{...J,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:et,useValue:J},{provide:me,useValue:J}]},templateContext:()=>({dialogRef:Ue}),providers:(Ee,De,ft)=>(Ue=new this._dialogRefConstructor(Ee,J,ft),Ue.updatePosition(J?.position),[{provide:this._dialogContainerType,useValue:ft},{provide:this._dialogDataToken,useValue:De.data},{provide:this._dialogRefConstructor,useValue:Ue}])});return Ue.componentInstance=Ae.componentInstance,this.openDialogs.push(Ue),this.afterOpened.next(Ue),Ue.afterClosed().subscribe(()=>{const Ee=this.openDialogs.indexOf(Ue);Ee>-1&&(this.openDialogs.splice(Ee,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ue}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(M){return this.openDialogs.find(J=>J.id===M)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(M){let J=M.length;for(;J--;)M[J].close()}}return te.\u0275fac=function(M){T.$Z()},te.\u0275prov=T.Yz7({token:te,factory:te.\u0275fac}),te})(),Ke=(()=>{class te extends ue{constructor(M,J,Ue,Ae,Ee,De,ft,vt){super(M,J,Ae,De,ft,Ee,G,he,ye,vt)}}return te.\u0275fac=function(M){return new(M||te)(T.LFG(i.aV),T.LFG(T.zs3),T.LFG(u.Ye,8),T.LFG(xe,8),T.LFG(Dt),T.LFG(te,12),T.LFG(i.Xj),T.LFG(T.QbO,8))},te.\u0275prov=T.Yz7({token:te,factory:te.\u0275fac}),te})(),Qe=0,Et=(()=>{class te{constructor(M,J,Ue){this.dialogRef=M,this._elementRef=J,this._dialog=Ue,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Vt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(M){const J=M._matDialogClose||M._matDialogCloseResult;J&&(this.dialogResult=J.currentValue)}_onButtonClick(M){de(this.dialogRef,0===M.screenX&&0===M.screenY?"keyboard":"mouse",this.dialogResult)}}return te.\u0275fac=function(M){return new(M||te)(T.Y36(G,8),T.Y36(T.SBq),T.Y36(Ke))},te.\u0275dir=T.lG2({type:te,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(M,J){1&M&&T.NdJ("click",function(Ae){return J._onButtonClick(Ae)}),2&M&&T.uIk("aria-label",J.ariaLabel||null)("type",J.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[T.TTD]}),te})(),Yt=(()=>{class te{constructor(M,J,Ue){this._dialogRef=M,this._elementRef=J,this._dialog=Ue,this.id="mat-dialog-title-"+Qe++}ngOnInit(){this._dialogRef||(this._dialogRef=Vt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const M=this._dialogRef._containerInstance;M&&!M._ariaLabelledBy&&(M._ariaLabelledBy=this.id)})}}return te.\u0275fac=function(M){return new(M||te)(T.Y36(G,8),T.Y36(T.SBq),T.Y36(Ke))},te.\u0275dir=T.lG2({type:te,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(M,J){2&M&&T.Ikx("id",J.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),te})(),Qt=(()=>{class te{}return te.\u0275fac=function(M){return new(M||te)},te.\u0275dir=T.lG2({type:te,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),te})(),Wt=(()=>{class te{constructor(){this.align="start"}}return te.\u0275fac=function(M){return new(M||te)},te.\u0275dir=T.lG2({type:te,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(M,J){2&M&&T.ekj("mat-dialog-actions-align-center","center"===J.align)("mat-dialog-actions-align-end","end"===J.align)},inputs:{align:"align"}}),te})();function Vt(te,S){let M=te.nativeElement.parentElement;for(;M&&!M.classList.contains("mat-dialog-container");)M=M.parentElement;return M?S.find(J=>J.id===M.id):null}let qe=(()=>{class te{}return te.\u0275fac=function(M){return new(M||te)},te.\u0275mod=T.oAB({type:te}),te.\u0275inj=T.cJS({providers:[Ke,ce],imports:[ne,i.U8,D.eL,ge.BQ,ge.BQ]}),te})()},4850:(Rt,je,a)=>{a.d(je,{d:()=>D,t:()=>u});var r=a(4650),i=a(1281),d=a(3238);let D=(()=>{class T{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(w){this._vertical=(0,i.Ig)(w)}get inset(){return this._inset}set inset(w){this._inset=(0,i.Ig)(w)}}return T.\u0275fac=function(w){return new(w||T)},T.\u0275cmp=r.Xpm({type:T,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(w,p){2&w&&(r.uIk("aria-orientation",p.vertical?"vertical":"horizontal"),r.ekj("mat-divider-vertical",p.vertical)("mat-divider-horizontal",!p.vertical)("mat-divider-inset",p.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(w,p){},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}),T})(),u=(()=>{class T{}return T.\u0275fac=function(w){return new(w||T)},T.\u0275mod=r.oAB({type:T}),T.\u0275inj=r.cJS({imports:[d.BQ,d.BQ]}),T})()},7084:(Rt,je,a)=>{a.d(je,{pp:()=>ce,To:()=>it,ib:()=>G,yz:()=>Dt,yK:()=>$e});var r=a(4650),i=a(5017),d=a(1281),D=a(7579),u=a(727);let T=0;const F=new r.OlP("CdkAccordion");let w=(()=>{class ue{constructor(){this._stateChanges=new D.x,this._openCloseAllActions=new D.x,this.id="cdk-accordion-"+T++,this._multi=!1}get multi(){return this._multi}set multi(Qe){this._multi=(0,d.Ig)(Qe)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(Qe){this._stateChanges.next(Qe)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return ue.\u0275fac=function(Qe){return new(Qe||ue)},ue.\u0275dir=r.lG2({type:ue,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[r._Bn([{provide:F,useExisting:ue}]),r.TTD]}),ue})(),p=0,W=(()=>{class ue{constructor(Qe,Et,Yt){this.accordion=Qe,this._changeDetectorRef=Et,this._expansionDispatcher=Yt,this._openCloseAllSubscription=u.w0.EMPTY,this.closed=new r.vpe,this.opened=new r.vpe,this.destroyed=new r.vpe,this.expandedChange=new r.vpe,this.id="cdk-accordion-child-"+p++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Yt.listen((Qt,Wt)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===Wt&&this.id!==Qt&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(Qe){Qe=(0,d.Ig)(Qe),this._expanded!==Qe&&(this._expanded=Qe,this.expandedChange.emit(Qe),Qe?(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(Qe){this._disabled=(0,d.Ig)(Qe)}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(Qe=>{this.disabled||(this.expanded=Qe)})}}return ue.\u0275fac=function(Qe){return new(Qe||ue)(r.Y36(F,12),r.Y36(r.sBO),r.Y36(i.A8))},ue.\u0275dir=r.lG2({type:ue,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[r._Bn([{provide:F,useValue:void 0}])]}),ue})(),ae=(()=>{class ue{}return ue.\u0275fac=function(Qe){return new(Qe||ue)},ue.\u0275mod=r.oAB({type:ue}),ue.\u0275inj=r.cJS({}),ue})();var se=a(4080),le=a(6895),me=a(3238),fe=a(2687),Se=a(1884),Ze=a(8675),Ne=a(9300),gt=a(5698),N=a(9521),B=a(515),X=a(6451),ie=a(7340);const pe=["body"];function we(ue,Ke){}const ne=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],ge=["mat-expansion-panel-header","*","mat-action-row"];function Ve(ue,Ke){if(1&ue&&r._UZ(0,"span",2),2&ue){const Qe=r.oxw();r.Q6J("@indicatorRotate",Qe._getExpandedState())}}const Je=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],pt=["mat-panel-title","mat-panel-description","*"],Ge=new r.OlP("MAT_ACCORDION"),At="225ms cubic-bezier(0.4,0.0,0.2,1)",st={indicatorRotate:(0,ie.X$)("indicatorRotate",[(0,ie.SB)("collapsed, void",(0,ie.oB)({transform:"rotate(0deg)"})),(0,ie.SB)("expanded",(0,ie.oB)({transform:"rotate(180deg)"})),(0,ie.eR)("expanded <=> collapsed, void => collapsed",(0,ie.jt)(At))]),bodyExpansion:(0,ie.X$)("bodyExpansion",[(0,ie.SB)("collapsed, void",(0,ie.oB)({height:"0px",visibility:"hidden"})),(0,ie.SB)("expanded",(0,ie.oB)({height:"*",visibility:"visible"})),(0,ie.eR)("expanded <=> collapsed, void => collapsed",(0,ie.jt)(At))])},_t=new r.OlP("MAT_EXPANSION_PANEL");let et=(()=>{class ue{constructor(Qe,Et){this._template=Qe,this._expansionPanel=Et}}return ue.\u0275fac=function(Qe){return new(Qe||ue)(r.Y36(r.Rgc),r.Y36(_t,8))},ue.\u0275dir=r.lG2({type:ue,selectors:[["ng-template","matExpansionPanelContent",""]]}),ue})(),mt=0;const he=new r.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let G=(()=>{class ue extends W{constructor(Qe,Et,Yt,Qt,Wt,Vt,qe){super(Qe,Et,Yt),this._viewContainerRef=Qt,this._animationMode=Vt,this._hideToggle=!1,this.afterExpand=new r.vpe,this.afterCollapse=new r.vpe,this._inputChanges=new D.x,this._headerId="mat-expansion-panel-header-"+mt++,this._bodyAnimationDone=new D.x,this.accordion=Qe,this._document=Wt,this._bodyAnimationDone.pipe((0,Se.x)((te,S)=>te.fromState===S.fromState&&te.toState===S.toState)).subscribe(te=>{"void"!==te.fromState&&("expanded"===te.toState?this.afterExpand.emit():"collapsed"===te.toState&&this.afterCollapse.emit())}),qe&&(this.hideToggle=qe.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Qe){this._hideToggle=(0,d.Ig)(Qe)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Qe){this._togglePosition=Qe}_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,Ze.O)(null),(0,Ne.h)(()=>this.expanded&&!this._portal),(0,gt.q)(1)).subscribe(()=>{this._portal=new se.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Qe){this._inputChanges.next(Qe)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Qe=this._document.activeElement,Et=this._body.nativeElement;return Qe===Et||Et.contains(Qe)}return!1}}return ue.\u0275fac=function(Qe){return new(Qe||ue)(r.Y36(Ge,12),r.Y36(r.sBO),r.Y36(i.A8),r.Y36(r.s_b),r.Y36(le.K0),r.Y36(r.QbO,8),r.Y36(he,8))},ue.\u0275cmp=r.Xpm({type:ue,selectors:[["mat-expansion-panel"]],contentQueries:function(Qe,Et,Yt){if(1&Qe&&r.Suo(Yt,et,5),2&Qe){let Qt;r.iGM(Qt=r.CRH())&&(Et._lazyContent=Qt.first)}},viewQuery:function(Qe,Et){if(1&Qe&&r.Gf(pe,5),2&Qe){let Yt;r.iGM(Yt=r.CRH())&&(Et._body=Yt.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(Qe,Et){2&Qe&&r.ekj("mat-expanded",Et.expanded)("_mat-animation-noopable","NoopAnimations"===Et._animationMode)("mat-expansion-panel-spacing",Et._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[r._Bn([{provide:Ge,useValue:void 0},{provide:_t,useExisting:ue}]),r.qOj,r.TTD],ngContentSelectors:ge,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(Qe,Et){1&Qe&&(r.F$t(ne),r.Hsn(0),r.TgZ(1,"div",0,1),r.NdJ("@bodyExpansion.done",function(Qt){return Et._bodyAnimationDone.next(Qt)}),r.TgZ(3,"div",2),r.Hsn(4,1),r.YNc(5,we,0,0,"ng-template",3),r.qZA(),r.Hsn(6,2),r.qZA()),2&Qe&&(r.xp6(1),r.Q6J("@bodyExpansion",Et._getExpandedState())("id",Et.id),r.uIk("aria-labelledby",Et._headerId),r.xp6(4),r.Q6J("cdkPortalOutlet",Et._portal))},dependencies:[se.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:[st.bodyExpansion]},changeDetection:0}),ue})();class ye{}const xe=(0,me.sb)(ye);let Dt=(()=>{class ue extends xe{constructor(Qe,Et,Yt,Qt,Wt,Vt,qe){super(),this.panel=Qe,this._element=Et,this._focusMonitor=Yt,this._changeDetectorRef=Qt,this._animationMode=Vt,this._parentChangeSubscription=u.w0.EMPTY;const te=Qe.accordion?Qe.accordion._stateChanges.pipe((0,Ne.h)(S=>!(!S.hideToggle&&!S.togglePosition))):B.E;this.tabIndex=parseInt(qe||"")||0,this._parentChangeSubscription=(0,X.T)(Qe.opened,Qe.closed,te,Qe._inputChanges.pipe((0,Ne.h)(S=>!!(S.hideToggle||S.disabled||S.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Qe.closed.pipe((0,Ne.h)(()=>Qe._containsFocus())).subscribe(()=>Yt.focusVia(Et,"program")),Wt&&(this.expandedHeight=Wt.expandedHeight,this.collapsedHeight=Wt.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 Qe=this._isExpanded();return Qe&&this.expandedHeight?this.expandedHeight:!Qe&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Qe){switch(Qe.keyCode){case N.L_:case N.K5:(0,N.Vb)(Qe)||(Qe.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Qe))}}focus(Qe,Et){Qe?this._focusMonitor.focusVia(this._element,Qe,Et):this._element.nativeElement.focus(Et)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Qe=>{Qe&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return ue.\u0275fac=function(Qe){return new(Qe||ue)(r.Y36(G,1),r.Y36(r.SBq),r.Y36(fe.tE),r.Y36(r.sBO),r.Y36(he,8),r.Y36(r.QbO,8),r.$8M("tabindex"))},ue.\u0275cmp=r.Xpm({type:ue,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(Qe,Et){1&Qe&&r.NdJ("click",function(){return Et._toggle()})("keydown",function(Qt){return Et._keydown(Qt)}),2&Qe&&(r.uIk("id",Et.panel._headerId)("tabindex",Et.tabIndex)("aria-controls",Et._getPanelId())("aria-expanded",Et._isExpanded())("aria-disabled",Et.panel.disabled),r.Udp("height",Et._getHeaderHeight()),r.ekj("mat-expanded",Et._isExpanded())("mat-expansion-toggle-indicator-after","after"===Et._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Et._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Et._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[r.qOj],ngContentSelectors:pt,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(Qe,Et){1&Qe&&(r.F$t(Je),r.TgZ(0,"span",0),r.Hsn(1),r.Hsn(2,1),r.Hsn(3,2),r.qZA(),r.YNc(4,Ve,1,1,"span",1)),2&Qe&&(r.ekj("mat-content-hide-toggle",!Et._showToggle()),r.xp6(4),r.Q6J("ngIf",Et._showToggle()))},dependencies:[le.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:[st.indicatorRotate]},changeDetection:0}),ue})(),$e=(()=>{class ue{}return ue.\u0275fac=function(Qe){return new(Qe||ue)},ue.\u0275dir=r.lG2({type:ue,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),ue})(),ce=(()=>{class ue extends w{constructor(){super(...arguments),this._ownHeaders=new r.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(Qe){this._hideToggle=(0,d.Ig)(Qe)}ngAfterContentInit(){this._headers.changes.pipe((0,Ze.O)(this._headers)).subscribe(Qe=>{this._ownHeaders.reset(Qe.filter(Et=>Et.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new fe.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(Qe){this._keyManager.onKeydown(Qe)}_handleHeaderFocus(Qe){this._keyManager.updateActiveItem(Qe)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return ue.\u0275fac=function(){let Ke;return function(Et){return(Ke||(Ke=r.n5z(ue)))(Et||ue)}}(),ue.\u0275dir=r.lG2({type:ue,selectors:[["mat-accordion"]],contentQueries:function(Qe,Et,Yt){if(1&Qe&&r.Suo(Yt,Dt,5),2&Qe){let Qt;r.iGM(Qt=r.CRH())&&(Et._headers=Qt)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(Qe,Et){2&Qe&&r.ekj("mat-accordion-multi",Et.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[r._Bn([{provide:Ge,useExisting:ue}]),r.qOj]}),ue})(),it=(()=>{class ue{}return ue.\u0275fac=function(Qe){return new(Qe||ue)},ue.\u0275mod=r.oAB({type:ue}),ue.\u0275inj=r.cJS({imports:[le.ez,me.BQ,ae,se.eL]}),ue})()},9549:(Rt,je,a)=>{a.d(je,{Eo:()=>et,G_:()=>Wt,KE:()=>Vt,R9:()=>ue,TO:()=>st,bx:()=>xe,hX:()=>Dt,lN:()=>qe});var r=a(9643),i=a(6895),d=a(4650),D=a(3238),u=a(445),T=a(1281),F=a(7579),w=a(6451),p=a(4968),W=a(8675),ae=a(2722),se=a(5698),le=a(7340),me=a(3353);const fe=["connectionContainer"],Se=["inputContainer"],Ze=["label"];function Ne(te,S){1&te&&(d.ynx(0),d.TgZ(1,"div",14),d._UZ(2,"div",15)(3,"div",16)(4,"div",17),d.qZA(),d.TgZ(5,"div",18),d._UZ(6,"div",15)(7,"div",16)(8,"div",17),d.qZA(),d.BQk())}function gt(te,S){if(1&te){const M=d.EpF();d.TgZ(0,"div",19),d.NdJ("cdkObserveContent",function(){d.CHM(M);const Ue=d.oxw();return d.KtG(Ue.updateOutlineGap())}),d.Hsn(1,1),d.qZA()}if(2&te){const M=d.oxw();d.Q6J("cdkObserveContentDisabled","outline"!=M.appearance)}}function N(te,S){if(1&te&&(d.ynx(0),d.Hsn(1,2),d.TgZ(2,"span"),d._uU(3),d.qZA(),d.BQk()),2&te){const M=d.oxw(2);d.xp6(3),d.Oqu(M._control.placeholder)}}function B(te,S){1&te&&d.Hsn(0,3,["*ngSwitchCase","true"])}function X(te,S){1&te&&(d.TgZ(0,"span",23),d._uU(1," *"),d.qZA())}function ie(te,S){if(1&te){const M=d.EpF();d.TgZ(0,"label",20,21),d.NdJ("cdkObserveContent",function(){d.CHM(M);const Ue=d.oxw();return d.KtG(Ue.updateOutlineGap())}),d.YNc(2,N,4,1,"ng-container",12),d.YNc(3,B,1,0,"ng-content",12),d.YNc(4,X,2,0,"span",22),d.qZA()}if(2&te){const M=d.oxw();d.ekj("mat-empty",M._control.empty&&!M._shouldAlwaysFloat())("mat-form-field-empty",M._control.empty&&!M._shouldAlwaysFloat())("mat-accent","accent"==M.color)("mat-warn","warn"==M.color),d.Q6J("cdkObserveContentDisabled","outline"!=M.appearance)("id",M._labelId)("ngSwitch",M._hasLabel()),d.uIk("for",M._control.id)("aria-owns",M._control.id),d.xp6(2),d.Q6J("ngSwitchCase",!1),d.xp6(1),d.Q6J("ngSwitchCase",!0),d.xp6(1),d.Q6J("ngIf",!M.hideRequiredMarker&&M._control.required&&!M._control.disabled)}}function pe(te,S){1&te&&(d.TgZ(0,"div",24),d.Hsn(1,4),d.qZA())}function we(te,S){if(1&te&&(d.TgZ(0,"div",25),d._UZ(1,"span",26),d.qZA()),2&te){const M=d.oxw();d.xp6(1),d.ekj("mat-accent","accent"==M.color)("mat-warn","warn"==M.color)}}function ne(te,S){if(1&te&&(d.TgZ(0,"div"),d.Hsn(1,5),d.qZA()),2&te){const M=d.oxw();d.Q6J("@transitionMessages",M._subscriptAnimationState)}}function ge(te,S){if(1&te&&(d.TgZ(0,"div",30),d._uU(1),d.qZA()),2&te){const M=d.oxw(2);d.Q6J("id",M._hintLabelId),d.xp6(1),d.Oqu(M.hintLabel)}}function Ve(te,S){if(1&te&&(d.TgZ(0,"div",27),d.YNc(1,ge,2,2,"div",28),d.Hsn(2,6),d._UZ(3,"div",29),d.Hsn(4,7),d.qZA()),2&te){const M=d.oxw();d.Q6J("@transitionMessages",M._subscriptAnimationState),d.xp6(1),d.Q6J("ngIf",M.hintLabel)}}const Je=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],pt=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ge=0;const At=new d.OlP("MatError");let st=(()=>{class te{constructor(M,J){this.id="mat-error-"+Ge++,M||J.nativeElement.setAttribute("aria-live","polite")}}return te.\u0275fac=function(M){return new(M||te)(d.$8M("aria-live"),d.Y36(d.SBq))},te.\u0275dir=d.lG2({type:te,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(M,J){2&M&&d.uIk("id",J.id)},inputs:{id:"id"},features:[d._Bn([{provide:At,useExisting:te}])]}),te})();const _t={transitionMessages:(0,le.X$)("transitionMessages",[(0,le.SB)("enter",(0,le.oB)({opacity:1,transform:"translateY(0%)"})),(0,le.eR)("void => enter",[(0,le.oB)({opacity:0,transform:"translateY(-5px)"}),(0,le.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let et=(()=>{class te{}return te.\u0275fac=function(M){return new(M||te)},te.\u0275dir=d.lG2({type:te}),te})(),de=0;const ye=new d.OlP("MatHint");let xe=(()=>{class te{constructor(){this.align="start",this.id="mat-hint-"+de++}}return te.\u0275fac=function(M){return new(M||te)},te.\u0275dir=d.lG2({type:te,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(M,J){2&M&&(d.uIk("id",J.id)("align",null),d.ekj("mat-form-field-hint-end","end"===J.align))},inputs:{align:"align",id:"id"},features:[d._Bn([{provide:ye,useExisting:te}])]}),te})(),Dt=(()=>{class te{}return te.\u0275fac=function(M){return new(M||te)},te.\u0275dir=d.lG2({type:te,selectors:[["mat-label"]]}),te})(),Fe=(()=>{class te{}return te.\u0275fac=function(M){return new(M||te)},te.\u0275dir=d.lG2({type:te,selectors:[["mat-placeholder"]]}),te})();const $e=new d.OlP("MatPrefix"),it=new d.OlP("MatSuffix");let ue=(()=>{class te{}return te.\u0275fac=function(M){return new(M||te)},te.\u0275dir=d.lG2({type:te,selectors:[["","matSuffix",""]],features:[d._Bn([{provide:it,useExisting:te}])]}),te})(),Ke=0;const Yt=(0,D.pj)(class{constructor(te){this._elementRef=te}},"primary"),Qt=new d.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Wt=new d.OlP("MatFormField");let Vt=(()=>{class te extends Yt{constructor(M,J,Ue,Ae,Ee,De,ft){super(M),this._changeDetectorRef=J,this._dir=Ue,this._defaults=Ae,this._platform=Ee,this._ngZone=De,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new F.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Ke++,this._labelId="mat-form-field-label-"+Ke++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==ft,this.appearance=Ae?.appearance||"legacy",Ae&&(this._hideRequiredMarker=Boolean(Ae.hideRequiredMarker),Ae.color&&(this.color=this.defaultColor=Ae.color))}get appearance(){return this._appearance}set appearance(M){const J=this._appearance;this._appearance=M||this._defaults?.appearance||"legacy","outline"===this._appearance&&J!==M&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(M){this._hideRequiredMarker=(0,T.Ig)(M)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(M){this._hintLabel=M,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(M){M!==this._floatLabel&&(this._floatLabel=M||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(M){this._explicitFormFieldControl=M}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const M=this._control;M.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${M.controlType}`),M.stateChanges.pipe((0,W.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),M.ngControl&&M.ngControl.valueChanges&&M.ngControl.valueChanges.pipe((0,ae.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ae.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,w.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,W.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,W.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,ae.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(M){const J=this._control?this._control.ngControl:null;return J&&J[M]}_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,p.R)(this._label.nativeElement,"transitionend").pipe((0,se.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 M=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&M.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const J=this._hintChildren?this._hintChildren.find(Ae=>"start"===Ae.align):null,Ue=this._hintChildren?this._hintChildren.find(Ae=>"end"===Ae.align):null;J?M.push(J.id):this._hintLabel&&M.push(this._hintLabelId),Ue&&M.push(Ue.id)}else this._errorChildren&&M.push(...this._errorChildren.map(J=>J.id));this._control.setDescribedByIds(M)}}_validateControlChild(){}updateOutlineGap(){const M=this._label?this._label.nativeElement:null,J=this._connectionContainerRef.nativeElement,Ue=".mat-form-field-outline-start",Ae=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!M||!M.children.length||!M.textContent.trim()){const St=J.querySelectorAll(`${Ue}, ${Ae}`);for(let Bt=0;Bt0?.75*ht+10:0}for(let St=0;St{class te{}return te.\u0275fac=function(M){return new(M||te)},te.\u0275mod=d.oAB({type:te}),te.\u0275inj=d.cJS({imports:[i.ez,D.BQ,r.Q8,D.BQ]}),te})()},7392:(Rt,je,a)=>{a.d(je,{Hw:()=>de,Ps:()=>ye});var r=a(4650),i=a(3238),d=a(1281),D=a(6895),u=a(9646),T=a(2843),F=a(4128),w=a(727),p=a(8505),W=a(4004),ae=a(262),se=a(8746),le=a(3099),me=a(5698),fe=a(529),Se=a(1481);const Ze=["*"];let Ne;function N(xe){return function gt(){if(void 0===Ne&&(Ne=null,typeof window<"u")){const xe=window;void 0!==xe.trustedTypes&&(Ne=xe.trustedTypes.createPolicy("angular#components",{createHTML:Dt=>Dt}))}return Ne}()?.createHTML(xe)||xe}function B(xe){return Error(`Unable to find icon with the name "${xe}"`)}function ie(xe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${xe}".`)}function pe(xe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${xe}".`)}class we{constructor(Dt,Fe,$e){this.url=Dt,this.svgText=Fe,this.options=$e}}let ne=(()=>{class xe{constructor(Fe,$e,ce,it){this._httpClient=Fe,this._sanitizer=$e,this._errorHandler=it,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=ce}addSvgIcon(Fe,$e,ce){return this.addSvgIconInNamespace("",Fe,$e,ce)}addSvgIconLiteral(Fe,$e,ce){return this.addSvgIconLiteralInNamespace("",Fe,$e,ce)}addSvgIconInNamespace(Fe,$e,ce,it){return this._addSvgIconConfig(Fe,$e,new we(ce,null,it))}addSvgIconResolver(Fe){return this._resolvers.push(Fe),this}addSvgIconLiteralInNamespace(Fe,$e,ce,it){const ue=this._sanitizer.sanitize(r.q3G.HTML,ce);if(!ue)throw pe(ce);const Ke=N(ue);return this._addSvgIconConfig(Fe,$e,new we("",Ke,it))}addSvgIconSet(Fe,$e){return this.addSvgIconSetInNamespace("",Fe,$e)}addSvgIconSetLiteral(Fe,$e){return this.addSvgIconSetLiteralInNamespace("",Fe,$e)}addSvgIconSetInNamespace(Fe,$e,ce){return this._addSvgIconSetConfig(Fe,new we($e,null,ce))}addSvgIconSetLiteralInNamespace(Fe,$e,ce){const it=this._sanitizer.sanitize(r.q3G.HTML,$e);if(!it)throw pe($e);const ue=N(it);return this._addSvgIconSetConfig(Fe,new we("",ue,ce))}registerFontClassAlias(Fe,$e=Fe){return this._fontCssClassesByAlias.set(Fe,$e),this}classNameForFontAlias(Fe){return this._fontCssClassesByAlias.get(Fe)||Fe}setDefaultFontSetClass(...Fe){return this._defaultFontSetClass=Fe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Fe){const $e=this._sanitizer.sanitize(r.q3G.RESOURCE_URL,Fe);if(!$e)throw ie(Fe);const ce=this._cachedIconsByUrl.get($e);return ce?(0,u.of)(Je(ce)):this._loadSvgIconFromConfig(new we(Fe,null)).pipe((0,p.b)(it=>this._cachedIconsByUrl.set($e,it)),(0,W.U)(it=>Je(it)))}getNamedSvgIcon(Fe,$e=""){const ce=pt($e,Fe);let it=this._svgIconConfigs.get(ce);if(it)return this._getSvgFromConfig(it);if(it=this._getIconConfigFromResolvers($e,Fe),it)return this._svgIconConfigs.set(ce,it),this._getSvgFromConfig(it);const ue=this._iconSetConfigs.get($e);return ue?this._getSvgFromIconSetConfigs(Fe,ue):(0,T._)(B(ce))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Fe){return Fe.svgText?(0,u.of)(Je(this._svgElementFromConfig(Fe))):this._loadSvgIconFromConfig(Fe).pipe((0,W.U)($e=>Je($e)))}_getSvgFromIconSetConfigs(Fe,$e){const ce=this._extractIconWithNameFromAnySet(Fe,$e);if(ce)return(0,u.of)(ce);const it=$e.filter(ue=>!ue.svgText).map(ue=>this._loadSvgIconSetFromConfig(ue).pipe((0,ae.K)(Ke=>{const Et=`Loading icon set URL: ${this._sanitizer.sanitize(r.q3G.RESOURCE_URL,ue.url)} failed: ${Ke.message}`;return this._errorHandler.handleError(new Error(Et)),(0,u.of)(null)})));return(0,F.D)(it).pipe((0,W.U)(()=>{const ue=this._extractIconWithNameFromAnySet(Fe,$e);if(!ue)throw B(Fe);return ue}))}_extractIconWithNameFromAnySet(Fe,$e){for(let ce=$e.length-1;ce>=0;ce--){const it=$e[ce];if(it.svgText&&it.svgText.toString().indexOf(Fe)>-1){const ue=this._svgElementFromConfig(it),Ke=this._extractSvgIconFromSet(ue,Fe,it.options);if(Ke)return Ke}}return null}_loadSvgIconFromConfig(Fe){return this._fetchIcon(Fe).pipe((0,p.b)($e=>Fe.svgText=$e),(0,W.U)(()=>this._svgElementFromConfig(Fe)))}_loadSvgIconSetFromConfig(Fe){return Fe.svgText?(0,u.of)(null):this._fetchIcon(Fe).pipe((0,p.b)($e=>Fe.svgText=$e))}_extractSvgIconFromSet(Fe,$e,ce){const it=Fe.querySelector(`[id="${$e}"]`);if(!it)return null;const ue=it.cloneNode(!0);if(ue.removeAttribute("id"),"svg"===ue.nodeName.toLowerCase())return this._setSvgAttributes(ue,ce);if("symbol"===ue.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ue),ce);const Ke=this._svgElementFromString(N(""));return Ke.appendChild(ue),this._setSvgAttributes(Ke,ce)}_svgElementFromString(Fe){const $e=this._document.createElement("DIV");$e.innerHTML=Fe;const ce=$e.querySelector("svg");if(!ce)throw Error(" tag not found");return ce}_toSvgElement(Fe){const $e=this._svgElementFromString(N("")),ce=Fe.attributes;for(let it=0;itN(Et)),(0,se.x)(()=>this._inProgressUrlFetches.delete(ue)),(0,le.B)());return this._inProgressUrlFetches.set(ue,Qe),Qe}_addSvgIconConfig(Fe,$e,ce){return this._svgIconConfigs.set(pt(Fe,$e),ce),this}_addSvgIconSetConfig(Fe,$e){const ce=this._iconSetConfigs.get(Fe);return ce?ce.push($e):this._iconSetConfigs.set(Fe,[$e]),this}_svgElementFromConfig(Fe){if(!Fe.svgElement){const $e=this._svgElementFromString(Fe.svgText);this._setSvgAttributes($e,Fe.options),Fe.svgElement=$e}return Fe.svgElement}_getIconConfigFromResolvers(Fe,$e){for(let ce=0;ceDt?Dt.pathname+Dt.search:""}}}),mt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],he=mt.map(xe=>`[${xe}]`).join(", "),G=/^url\(['"]?#(.*?)['"]?\)$/;let de=(()=>{class xe extends At{constructor(Fe,$e,ce,it,ue,Ke){super(Fe),this._iconRegistry=$e,this._location=it,this._errorHandler=ue,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=w.w0.EMPTY,Ke&&(Ke.color&&(this.color=this.defaultColor=Ke.color),Ke.fontSet&&(this.fontSet=Ke.fontSet)),ce||Fe.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Fe){this._inline=(0,d.Ig)(Fe)}get svgIcon(){return this._svgIcon}set svgIcon(Fe){Fe!==this._svgIcon&&(Fe?this._updateSvgIcon(Fe):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Fe)}get fontSet(){return this._fontSet}set fontSet(Fe){const $e=this._cleanupFontValue(Fe);$e!==this._fontSet&&(this._fontSet=$e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Fe){const $e=this._cleanupFontValue(Fe);$e!==this._fontIcon&&(this._fontIcon=$e,this._updateFontIconClasses())}_splitIconName(Fe){if(!Fe)return["",""];const $e=Fe.split(":");switch($e.length){case 1:return["",$e[0]];case 2:return $e;default:throw Error(`Invalid icon name: "${Fe}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Fe=this._elementsWithExternalReferences;if(Fe&&Fe.size){const $e=this._location.getPathname();$e!==this._previousPath&&(this._previousPath=$e,this._prependPathToReferences($e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Fe){this._clearSvgElement();const $e=this._location.getPathname();this._previousPath=$e,this._cacheChildrenWithExternalReferences(Fe),this._prependPathToReferences($e),this._elementRef.nativeElement.appendChild(Fe)}_clearSvgElement(){const Fe=this._elementRef.nativeElement;let $e=Fe.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();$e--;){const ce=Fe.childNodes[$e];(1!==ce.nodeType||"svg"===ce.nodeName.toLowerCase())&&ce.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Fe=this._elementRef.nativeElement,$e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(ce=>ce.length>0);this._previousFontSetClass.forEach(ce=>Fe.classList.remove(ce)),$e.forEach(ce=>Fe.classList.add(ce)),this._previousFontSetClass=$e,this.fontIcon!==this._previousFontIconClass&&!$e.includes("mat-ligature-font")&&(this._previousFontIconClass&&Fe.classList.remove(this._previousFontIconClass),this.fontIcon&&Fe.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Fe){return"string"==typeof Fe?Fe.trim().split(" ")[0]:Fe}_prependPathToReferences(Fe){const $e=this._elementsWithExternalReferences;$e&&$e.forEach((ce,it)=>{ce.forEach(ue=>{it.setAttribute(ue.name,`url('${Fe}#${ue.value}')`)})})}_cacheChildrenWithExternalReferences(Fe){const $e=Fe.querySelectorAll(he),ce=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let it=0;it<$e.length;it++)mt.forEach(ue=>{const Ke=$e[it],Qe=Ke.getAttribute(ue),Et=Qe?Qe.match(G):null;if(Et){let Yt=ce.get(Ke);Yt||(Yt=[],ce.set(Ke,Yt)),Yt.push({name:ue,value:Et[1]})}})}_updateSvgIcon(Fe){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Fe){const[$e,ce]=this._splitIconName(Fe);$e&&(this._svgNamespace=$e),ce&&(this._svgName=ce),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ce,$e).pipe((0,me.q)(1)).subscribe(it=>this._setSvgElement(it),it=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${$e}:${ce}! ${it.message}`))})}}}return xe.\u0275fac=function(Fe){return new(Fe||xe)(r.Y36(r.SBq),r.Y36(ne),r.$8M("aria-hidden"),r.Y36(_t),r.Y36(r.qLn),r.Y36(st,8))},xe.\u0275cmp=r.Xpm({type:xe,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Fe,$e){2&Fe&&(r.uIk("data-mat-icon-type",$e._usingFontIcon()?"font":"svg")("data-mat-icon-name",$e._svgName||$e.fontIcon)("data-mat-icon-namespace",$e._svgNamespace||$e.fontSet)("fontIcon",$e._usingFontIcon()?$e.fontIcon:null),r.ekj("mat-icon-inline",$e.inline)("mat-icon-no-color","primary"!==$e.color&&"accent"!==$e.color&&"warn"!==$e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[r.qOj],ngContentSelectors:Ze,decls:1,vars:0,template:function(Fe,$e){1&Fe&&(r.F$t(),r.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}),xe})(),ye=(()=>{class xe{}return xe.\u0275fac=function(Fe){return new(Fe||xe)},xe.\u0275mod=r.oAB({type:xe}),xe.\u0275inj=r.cJS({imports:[i.BQ,i.BQ]}),xe})()},4144:(Rt,je,a)=>{a.d(je,{Jk:()=>fe,Nt:()=>gt,c:()=>N});var r=a(1281),i=a(3353),d=a(4650),D=a(515),u=a(7579);const T=(0,i.i$)({passive:!0});let F=(()=>{class B{constructor(ie,pe){this._platform=ie,this._ngZone=pe,this._monitoredElements=new Map}monitor(ie){if(!this._platform.isBrowser)return D.E;const pe=(0,r.fI)(ie),we=this._monitoredElements.get(pe);if(we)return we.subject;const ne=new u.x,ge="cdk-text-field-autofilled",Ve=Je=>{"cdk-text-field-autofill-start"!==Je.animationName||pe.classList.contains(ge)?"cdk-text-field-autofill-end"===Je.animationName&&pe.classList.contains(ge)&&(pe.classList.remove(ge),this._ngZone.run(()=>ne.next({target:Je.target,isAutofilled:!1}))):(pe.classList.add(ge),this._ngZone.run(()=>ne.next({target:Je.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{pe.addEventListener("animationstart",Ve,T),pe.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(pe,{subject:ne,unlisten:()=>{pe.removeEventListener("animationstart",Ve,T)}}),ne}stopMonitoring(ie){const pe=(0,r.fI)(ie),we=this._monitoredElements.get(pe);we&&(we.unlisten(),we.subject.complete(),pe.classList.remove("cdk-text-field-autofill-monitored"),pe.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(pe))}ngOnDestroy(){this._monitoredElements.forEach((ie,pe)=>this.stopMonitoring(pe))}}return B.\u0275fac=function(ie){return new(ie||B)(d.LFG(i.t4),d.LFG(d.R0b))},B.\u0275prov=d.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),W=(()=>{class B{}return B.\u0275fac=function(ie){return new(ie||B)},B.\u0275mod=d.oAB({type:B}),B.\u0275inj=d.cJS({}),B})();var ae=a(4006),se=a(3238),le=a(9549);const fe=new d.OlP("MAT_INPUT_VALUE_ACCESSOR"),Se=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Ze=0;const Ne=(0,se.FD)(class{constructor(B,X,ie,pe){this._defaultErrorStateMatcher=B,this._parentForm=X,this._parentFormGroup=ie,this.ngControl=pe,this.stateChanges=new u.x}});let gt=(()=>{class B extends Ne{constructor(ie,pe,we,ne,ge,Ve,Je,pt,Ge,At){super(Ve,ne,ge,we),this._elementRef=ie,this._platform=pe,this._autofillMonitor=pt,this._formField=At,this._uid="mat-input-"+Ze++,this.focused=!1,this.stateChanges=new u.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(et=>(0,i.qK)().has(et)),this._iOSKeyupListener=et=>{const mt=et.target;!mt.value&&0===mt.selectionStart&&0===mt.selectionEnd&&(mt.setSelectionRange(1,1),mt.setSelectionRange(0,0))};const st=this._elementRef.nativeElement,_t=st.nodeName.toLowerCase();this._inputValueAccessor=Je||st,this._previousNativeValue=this.value,this.id=this.id,pe.IOS&&Ge.runOutsideAngular(()=>{ie.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===_t,this._isTextarea="textarea"===_t,this._isInFormField=!!At,this._isNativeSelect&&(this.controlType=st.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(ie){this._disabled=(0,r.Ig)(ie),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ie){this._id=ie||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(ae.kI.required)??!1}set required(ie){this._required=(0,r.Ig)(ie)}get type(){return this._type}set type(ie){this._type=ie||"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(ie){ie!==this.value&&(this._inputValueAccessor.value=ie,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ie){this._readonly=(0,r.Ig)(ie)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ie=>{this.autofilled=ie.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(ie){this._elementRef.nativeElement.focus(ie)}_focusChanged(ie){ie!==this.focused&&(this.focused=ie,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const ie=this._formField,pe=ie&&"legacy"===ie.appearance&&!ie._hasLabel?.()?null:this.placeholder;if(pe!==this._previousPlaceholder){const we=this._elementRef.nativeElement;this._previousPlaceholder=pe,pe?we.setAttribute("placeholder",pe):we.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const ie=this._elementRef.nativeElement.value;this._previousNativeValue!==ie&&(this._previousNativeValue=ie,this.stateChanges.next())}_validateType(){Se.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ie=this._elementRef.nativeElement.validity;return ie&&ie.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ie=this._elementRef.nativeElement,pe=ie.options[0];return this.focused||ie.multiple||!this.empty||!!(ie.selectedIndex>-1&&pe&&pe.label)}return this.focused||!this.empty}setDescribedByIds(ie){ie.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ie.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ie=this._elementRef.nativeElement;return this._isNativeSelect&&(ie.multiple||ie.size>1)}}return B.\u0275fac=function(ie){return new(ie||B)(d.Y36(d.SBq),d.Y36(i.t4),d.Y36(ae.a5,10),d.Y36(ae.F,8),d.Y36(ae.sg,8),d.Y36(se.rD),d.Y36(fe,10),d.Y36(F),d.Y36(d.R0b),d.Y36(le.G_,8))},B.\u0275dir=d.lG2({type:B,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(ie,pe){1&ie&&d.NdJ("focus",function(){return pe._focusChanged(!0)})("blur",function(){return pe._focusChanged(!1)})("input",function(){return pe._onInput()}),2&ie&&(d.Ikx("disabled",pe.disabled)("required",pe.required),d.uIk("id",pe.id)("data-placeholder",pe.placeholder)("name",pe.name||null)("readonly",pe.readonly&&!pe._isNativeSelect||null)("aria-invalid",pe.empty&&pe.required?null:pe.errorState)("aria-required",pe.required),d.ekj("mat-input-server",pe._isServer)("mat-native-select-inline",pe._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:[d._Bn([{provide:le.Eo,useExisting:B}]),d.qOj,d.TTD]}),B})(),N=(()=>{class B{}return B.\u0275fac=function(ie){return new(ie||B)},B.\u0275mod=d.oAB({type:B}),B.\u0275inj=d.cJS({providers:[se.rD],imports:[W,le.lN,se.BQ,W,le.lN]}),B})()},6338:(Rt,je,a)=>{a.d(je,{Hk:()=>we,Tg:()=>pt,gs:()=>Je,i$:()=>ne,ie:()=>he});var r=a(6895),i=a(4650),d=a(3238),D=a(1281),u=a(7579),T=a(2722),se=(a(8675),a(2687),a(5017),a(9521),a(4006),a(4850));const le=["*"],fe=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Se=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],B=(0,d.Id)((0,d.Kr)(class{})),X=(0,d.Kr)(class{}),ie=new i.OlP("MatList"),pe=new i.OlP("MatNavList");let we=(()=>{class G extends B{constructor(){super(...arguments),this._stateChanges=new u.x}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=i.n5z(G)))(xe||G)}}(),G.\u0275cmp=i.Xpm({type:G,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:pe,useExisting:G}]),i.qOj,i.TTD],ngContentSelectors:le,decls:1,vars:0,template:function(ye,xe){1&ye&&(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}),G})(),ne=(()=>{class G extends B{constructor(ye){super(),this._elementRef=ye,this._stateChanges=new u.x,"action-list"===this._getListType()&&(ye.nativeElement.classList.add("mat-action-list"),ye.nativeElement.setAttribute("role","group"))}_getListType(){const ye=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===ye?"list":"mat-action-list"===ye?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return G.\u0275fac=function(ye){return new(ye||G)(i.Y36(i.SBq))},G.\u0275cmp=i.Xpm({type:G,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[i._Bn([{provide:ie,useExisting:G}]),i.qOj,i.TTD],ngContentSelectors:le,decls:1,vars:0,template:function(ye,xe){1&ye&&(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}),G})(),ge=(()=>{class G{}return G.\u0275fac=function(ye){return new(ye||G)},G.\u0275dir=i.lG2({type:G,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),G})(),Ve=(()=>{class G{}return G.\u0275fac=function(ye){return new(ye||G)},G.\u0275dir=i.lG2({type:G,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),G})(),Je=(()=>{class G{}return G.\u0275fac=function(ye){return new(ye||G)},G.\u0275dir=i.lG2({type:G,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-subheader"]}),G})(),pt=(()=>{class G extends X{constructor(ye,xe,Dt,Fe){super(),this._element=ye,this._isInteractiveList=!1,this._destroyed=new u.x,this._disabled=!1,this._isInteractiveList=!!(Dt||Fe&&"action-list"===Fe._getListType()),this._list=Dt||Fe;const $e=this._getHostElement();"button"===$e.nodeName.toLowerCase()&&!$e.hasAttribute("type")&&$e.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,T.R)(this._destroyed)).subscribe(()=>{xe.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(ye){this._disabled=(0,D.Ig)(ye)}ngAfterContentInit(){(0,d.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 G.\u0275fac=function(ye){return new(ye||G)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(pe,8),i.Y36(ie,8))},G.\u0275cmp=i.Xpm({type:G,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(ye,xe,Dt){if(1&ye&&(i.Suo(Dt,ge,5),i.Suo(Dt,Ve,5),i.Suo(Dt,d.X2,5)),2&ye){let Fe;i.iGM(Fe=i.CRH())&&(xe._avatar=Fe.first),i.iGM(Fe=i.CRH())&&(xe._icon=Fe.first),i.iGM(Fe=i.CRH())&&(xe._lines=Fe)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(ye,xe){2&ye&&i.ekj("mat-list-item-disabled",xe.disabled)("mat-list-item-with-avatar",xe._avatar||xe._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:Se,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(ye,xe){1&ye&&(i.F$t(fe),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&ye&&(i.xp6(1),i.Q6J("matRippleTrigger",xe._getHostElement())("matRippleDisabled",xe._isRippleDisabled()))},dependencies:[d.wG],encapsulation:2,changeDetection:0}),G})(),he=(()=>{class G{}return G.\u0275fac=function(ye){return new(ye||G)},G.\u0275mod=i.oAB({type:G}),G.\u0275inj=i.cJS({imports:[d.uc,d.si,d.BQ,d.us,r.ez,d.uc,d.BQ,d.us,se.t]}),G})()},8255:(Rt,je,a)=>{a.d(je,{OP:()=>de,Tx:()=>Qt,VK:()=>$e,p6:()=>Yt});var r=a(2687),i=a(1281),d=a(9521),D=a(4650),u=a(7579),T=a(727),F=a(6451),w=a(9646),p=a(3101),W=a(8675),ae=a(3900),se=a(5698),le=a(2722),me=a(9300),fe=a(1005),Se=a(7340),Ze=a(4080),Ne=a(6895),gt=a(3238),N=a(445),B=a(8184),X=a(3353),ie=a(4098);const pe=["mat-menu-item",""];function we(Wt,Vt){1&Wt&&(D.O4$(),D.TgZ(0,"svg",2),D._UZ(1,"polygon",3),D.qZA())}const ne=["*"];function ge(Wt,Vt){if(1&Wt){const qe=D.EpF();D.TgZ(0,"div",0),D.NdJ("keydown",function(S){D.CHM(qe);const M=D.oxw();return D.KtG(M._handleKeydown(S))})("click",function(){D.CHM(qe);const S=D.oxw();return D.KtG(S.closed.emit("click"))})("@transformMenu.start",function(S){D.CHM(qe);const M=D.oxw();return D.KtG(M._onAnimationStart(S))})("@transformMenu.done",function(S){D.CHM(qe);const M=D.oxw();return D.KtG(M._onAnimationDone(S))}),D.TgZ(1,"div",1),D.Hsn(2),D.qZA()()}if(2&Wt){const qe=D.oxw();D.Q6J("id",qe.panelId)("ngClass",qe._classList)("@transformMenu",qe._panelAnimationState),D.uIk("aria-label",qe.ariaLabel||null)("aria-labelledby",qe.ariaLabelledby||null)("aria-describedby",qe.ariaDescribedby||null)}}const Ve={transformMenu:(0,Se.X$)("transformMenu",[(0,Se.SB)("void",(0,Se.oB)({opacity:0,transform:"scale(0.8)"})),(0,Se.eR)("void => enter",(0,Se.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Se.oB)({opacity:1,transform:"scale(1)"}))),(0,Se.eR)("* => void",(0,Se.jt)("100ms 25ms linear",(0,Se.oB)({opacity:0})))]),fadeInItems:(0,Se.X$)("fadeInItems",[(0,Se.SB)("showing",(0,Se.oB)({opacity:1})),(0,Se.eR)("void => *",[(0,Se.oB)({opacity:0}),(0,Se.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ge=new D.OlP("MatMenuContent"),he=new D.OlP("MAT_MENU_PANEL"),G=(0,gt.Kr)((0,gt.Id)(class{}));let de=(()=>{class Wt extends G{constructor(qe,te,S,M,J){super(),this._elementRef=qe,this._document=te,this._focusMonitor=S,this._parentMenu=M,this._changeDetectorRef=J,this.role="menuitem",this._hovered=new u.x,this._focused=new u.x,this._highlighted=!1,this._triggersSubmenu=!1,M?.addItem?.(this)}focus(qe,te){this._focusMonitor&&qe?this._focusMonitor.focusVia(this._getHostElement(),qe,te):this._getHostElement().focus(te),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(){const qe=this._elementRef.nativeElement.cloneNode(!0),te=qe.querySelectorAll("mat-icon, .material-icons");for(let S=0;S{class Wt{constructor(qe,te,S,M){this._elementRef=qe,this._ngZone=te,this._defaultOptions=S,this._changeDetectorRef=M,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new D.n_E,this._tabSubscription=T.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new u.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new D.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Dt++}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 te=this._previousPanelClass;te&&te.length&&te.split(" ").forEach(S=>{this._classList[S]=!1}),this._previousPanelClass=qe,qe&&qe.length&&(qe.split(" ").forEach(S=>{this._classList[S]=!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 r.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,W.O)(this._directDescendantItems),(0,ae.w)(qe=>(0,F.T)(...qe.map(te=>te._focused)))).subscribe(qe=>this._keyManager.updateActiveItem(qe)),this._directDescendantItems.changes.subscribe(qe=>{const te=this._keyManager;if("enter"===this._panelAnimationState&&te.activeItem?._hasFocus()){const S=qe.toArray(),M=Math.max(0,Math.min(S.length-1,te.activeItemIndex||0));S[M]&&!S[M].disabled?te.setActiveItem(M):te.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,W.O)(this._directDescendantItems),(0,ae.w)(te=>(0,F.T)(...te.map(S=>S._hovered))))}addItem(qe){}removeItem(qe){}_handleKeydown(qe){const te=qe.keyCode,S=this._keyManager;switch(te){case d.hY:(0,d.Vb)(qe)||(qe.preventDefault(),this.closed.emit("keydown"));break;case d.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case d.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(te===d.LH||te===d.JH)&&S.setFocusOrigin("keyboard"),void S.onKeydown(qe)}qe.stopPropagation()}focusFirstItem(qe="program"){this._ngZone.onStable.pipe((0,se.q)(1)).subscribe(()=>{let te=null;if(this._directDescendantItems.length&&(te=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!te||!te.contains(document.activeElement)){const S=this._keyManager;S.setFocusOrigin(qe).setFirstItemActive(),!S.activeItem&&te&&te.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(qe){const te=Math.min(this._baseElevation+qe,24),S=`${this._elevationPrefix}${te}`,M=Object.keys(this._classList).find(J=>J.startsWith(this._elevationPrefix));(!M||M===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[S]=!0,this._previousElevation=S)}setPositionClasses(qe=this.xPosition,te=this.yPosition){const S=this._classList;S["mat-menu-before"]="before"===qe,S["mat-menu-after"]="after"===qe,S["mat-menu-above"]="above"===te,S["mat-menu-below"]="below"===te,this._changeDetectorRef?.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,W.O)(this._allItems)).subscribe(qe=>{this._directDescendantItems.reset(qe.filter(te=>te._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return Wt.\u0275fac=function(qe){return new(qe||Wt)(D.Y36(D.SBq),D.Y36(D.R0b),D.Y36(ye),D.Y36(D.sBO))},Wt.\u0275dir=D.lG2({type:Wt,contentQueries:function(qe,te,S){if(1&qe&&(D.Suo(S,Ge,5),D.Suo(S,de,5),D.Suo(S,de,4)),2&qe){let M;D.iGM(M=D.CRH())&&(te.lazyContent=M.first),D.iGM(M=D.CRH())&&(te._allItems=M),D.iGM(M=D.CRH())&&(te.items=M)}},viewQuery:function(qe,te){if(1&qe&&D.Gf(D.Rgc,5),2&qe){let S;D.iGM(S=D.CRH())&&(te.templateRef=S.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"}}),Wt})(),$e=(()=>{class Wt extends Fe{constructor(qe,te,S,M){super(qe,te,S,M),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return Wt.\u0275fac=function(qe){return new(qe||Wt)(D.Y36(D.SBq),D.Y36(D.R0b),D.Y36(ye),D.Y36(D.sBO))},Wt.\u0275cmp=D.Xpm({type:Wt,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(qe,te){2&qe&&D.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[D._Bn([{provide:he,useExisting:Wt}]),D.qOj],ngContentSelectors:ne,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,te){1&qe&&(D.F$t(),D.YNc(0,ge,3,6,"ng-template"))},dependencies:[Ne.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:[Ve.transformMenu,Ve.fadeInItems]},changeDetection:0}),Wt})();const ce=new D.OlP("mat-menu-scroll-strategy"),ue={provide:ce,deps:[B.aV],useFactory:function it(Wt){return()=>Wt.scrollStrategies.reposition()}},Qe=(0,X.i$)({passive:!0});let Et=(()=>{class Wt{constructor(qe,te,S,M,J,Ue,Ae,Ee,De){this._overlay=qe,this._element=te,this._viewContainerRef=S,this._menuItemInstance=Ue,this._dir=Ae,this._focusMonitor=Ee,this._ngZone=De,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=T.w0.EMPTY,this._hoverSubscription=T.w0.EMPTY,this._menuCloseSubscription=T.w0.EMPTY,this._handleTouchStart=ft=>{(0,r.yG)(ft)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new D.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new D.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=M,this._parentMaterialMenu=J instanceof Fe?J:void 0,te.nativeElement.addEventListener("touchstart",this._handleTouchStart,Qe),Ue&&(Ue._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(te=>{this._destroyMenu(te),("click"===te||"tab"===te)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(te)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Qe),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 te=this._createOverlay(qe),S=te.getConfig(),M=S.positionStrategy;this._setPosition(qe,M),S.hasBackdrop=qe.hasBackdrop??!this.triggersSubmenu(),te.attach(this._getPortal(qe)),qe.lazyContent&&qe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(qe),qe instanceof Fe&&(qe._startAnimation(),qe._directDescendantItems.changes.pipe((0,le.R)(qe.close)).subscribe(()=>{M.withLockedPosition(!1).reapplyLastPosition(),M.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(qe,te){this._focusMonitor&&qe?this._focusMonitor.focusVia(this._element,qe,te):this._element.nativeElement.focus(te)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(qe){if(!this._overlayRef||!this.menuOpen)return;const te=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===qe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,te instanceof Fe?(te._resetAnimation(),te.lazyContent?te._animationDone.pipe((0,me.h)(S=>"void"===S.toState),(0,se.q)(1),(0,le.R)(te.lazyContent._attached)).subscribe({next:()=>te.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),te?.lazyContent?.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 te=0,S=qe.parentMenu;for(;S;)te++,S=S.parentMenu;qe.setElevation(te)}}_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 te=this._getOverlayConfig(qe);this._subscribeToPositions(qe,te.positionStrategy),this._overlayRef=this._overlay.create(te),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(qe){return new B.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,te){qe.setPositionClasses&&te.positionChanges.subscribe(S=>{const M="start"===S.connectionPair.overlayX?"after":"before",J="top"===S.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>qe.setPositionClasses(M,J)):qe.setPositionClasses(M,J)})}_setPosition(qe,te){let[S,M]="before"===qe.xPosition?["end","start"]:["start","end"],[J,Ue]="above"===qe.yPosition?["bottom","top"]:["top","bottom"],[Ae,Ee]=[J,Ue],[De,ft]=[S,M],vt=0;if(this.triggersSubmenu()){if(ft=S="before"===qe.xPosition?"start":"end",M=De="end"===S?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const St=this._parentMaterialMenu.items.first;this._parentInnerPadding=St?St._getHostElement().offsetTop:0}vt="bottom"===J?this._parentInnerPadding:-this._parentInnerPadding}}else qe.overlapTrigger||(Ae="top"===J?"bottom":"top",Ee="top"===Ue?"bottom":"top");te.withPositions([{originX:S,originY:Ae,overlayX:De,overlayY:J,offsetY:vt},{originX:M,originY:Ae,overlayX:ft,overlayY:J,offsetY:vt},{originX:S,originY:Ee,overlayX:De,overlayY:Ue,offsetY:-vt},{originX:M,originY:Ee,overlayX:ft,overlayY:Ue,offsetY:-vt}])}_menuClosingActions(){const qe=this._overlayRef.backdropClick(),te=this._overlayRef.detachments(),S=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,w.of)(),M=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,me.h)(J=>J!==this._menuItemInstance),(0,me.h)(()=>this._menuOpen)):(0,w.of)();return(0,F.T)(qe,S,M,te)}_handleMousedown(qe){(0,r.X6)(qe)||(this._openedBy=0===qe.button?"mouse":void 0,this.triggersSubmenu()&&qe.preventDefault())}_handleKeydown(qe){const te=qe.keyCode;(te===d.K5||te===d.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(te===d.SV&&"ltr"===this.dir||te===d.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,me.h)(qe=>qe===this._menuItemInstance&&!qe.disabled),(0,fe.g)(0,p.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Fe&&this.menu._isAnimating?this.menu._animationDone.pipe((0,se.q)(1),(0,fe.g)(0,p.E),(0,le.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(qe){return(!this._portal||this._portal.templateRef!==qe.templateRef)&&(this._portal=new Ze.UE(qe.templateRef,this._viewContainerRef)),this._portal}}return Wt.\u0275fac=function(qe){return new(qe||Wt)(D.Y36(B.aV),D.Y36(D.SBq),D.Y36(D.s_b),D.Y36(ce),D.Y36(he,8),D.Y36(de,10),D.Y36(N.Is,8),D.Y36(r.tE),D.Y36(D.R0b))},Wt.\u0275dir=D.lG2({type:Wt,hostVars:3,hostBindings:function(qe,te){1&qe&&D.NdJ("click",function(M){return te._handleClick(M)})("mousedown",function(M){return te._handleMousedown(M)})("keydown",function(M){return te._handleKeydown(M)}),2&qe&&D.uIk("aria-haspopup",te.menu?"menu":null)("aria-expanded",te.menuOpen||null)("aria-controls",te.menuOpen?te.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"}}),Wt})(),Yt=(()=>{class Wt extends Et{}return Wt.\u0275fac=function(){let Vt;return function(te){return(Vt||(Vt=D.n5z(Wt)))(te||Wt)}}(),Wt.\u0275dir=D.lG2({type:Wt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[D.qOj]}),Wt})(),Qt=(()=>{class Wt{}return Wt.\u0275fac=function(qe){return new(qe||Wt)},Wt.\u0275mod=D.oAB({type:Wt}),Wt.\u0275inj=D.cJS({providers:[ue],imports:[Ne.ez,gt.BQ,gt.si,B.U8,ie.ZD,gt.BQ]}),Wt})()},8739:(Rt,je,a)=>{a.d(je,{NW:()=>pe,TU:()=>we});var r=a(6895),i=a(4650),d=a(3238),D=a(4859),u=a(4385),T=a(266),F=a(1281),w=a(7579),p=a(9549);function W(ne,ge){if(1&ne&&(i.TgZ(0,"mat-option",19),i._uU(1),i.qZA()),2&ne){const Ve=ge.$implicit;i.Q6J("value",Ve),i.xp6(1),i.hij(" ",Ve," ")}}function ae(ne,ge){if(1&ne){const Ve=i.EpF();i.TgZ(0,"mat-form-field",16)(1,"mat-select",17),i.NdJ("selectionChange",function(pt){i.CHM(Ve);const Ge=i.oxw(2);return i.KtG(Ge._changePageSize(pt.value))}),i.YNc(2,W,2,2,"mat-option",18),i.qZA()()}if(2&ne){const Ve=i.oxw(2);i.Q6J("appearance",Ve._formFieldAppearance)("color",Ve.color),i.xp6(1),i.Q6J("value",Ve.pageSize)("disabled",Ve.disabled)("panelClass",Ve.selectConfig.panelClass||"")("disableOptionCentering",Ve.selectConfig.disableOptionCentering)("aria-label",Ve._intl.itemsPerPageLabel),i.xp6(1),i.Q6J("ngForOf",Ve._displayedPageSizeOptions)}}function se(ne,ge){if(1&ne&&(i.TgZ(0,"div",20),i._uU(1),i.qZA()),2&ne){const Ve=i.oxw(2);i.xp6(1),i.Oqu(Ve.pageSize)}}function le(ne,ge){if(1&ne&&(i.TgZ(0,"div",12)(1,"div",13),i._uU(2),i.qZA(),i.YNc(3,ae,3,8,"mat-form-field",14),i.YNc(4,se,2,1,"div",15),i.qZA()),2&ne){const Ve=i.oxw();i.xp6(2),i.hij(" ",Ve._intl.itemsPerPageLabel," "),i.xp6(1),i.Q6J("ngIf",Ve._displayedPageSizeOptions.length>1),i.xp6(1),i.Q6J("ngIf",Ve._displayedPageSizeOptions.length<=1)}}function me(ne,ge){if(1&ne){const Ve=i.EpF();i.TgZ(0,"button",21),i.NdJ("click",function(){i.CHM(Ve);const pt=i.oxw();return i.KtG(pt.firstPage())}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",22),i.qZA()()}if(2&ne){const Ve=i.oxw();i.Q6J("matTooltip",Ve._intl.firstPageLabel)("matTooltipDisabled",Ve._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Ve._previousButtonsDisabled()),i.uIk("aria-label",Ve._intl.firstPageLabel)}}function fe(ne,ge){if(1&ne){const Ve=i.EpF();i.O4$(),i.kcU(),i.TgZ(0,"button",23),i.NdJ("click",function(){i.CHM(Ve);const pt=i.oxw();return i.KtG(pt.lastPage())}),i.O4$(),i.TgZ(1,"svg",7),i._UZ(2,"path",24),i.qZA()()}if(2&ne){const Ve=i.oxw();i.Q6J("matTooltip",Ve._intl.lastPageLabel)("matTooltipDisabled",Ve._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Ve._nextButtonsDisabled()),i.uIk("aria-label",Ve._intl.lastPageLabel)}}let Se=(()=>{class ne{constructor(){this.changes=new w.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(Ve,Je,pt)=>{if(0==pt||0==Je)return`0 of ${pt}`;const Ge=Ve*Je;return`${Ge+1} \u2013 ${Ge<(pt=Math.max(pt,0))?Math.min(Ge+Je,pt):Ge+Je} of ${pt}`}}}return ne.\u0275fac=function(Ve){return new(Ve||ne)},ne.\u0275prov=i.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})();const Ne={provide:Se,deps:[[new i.FiY,new i.tp0,Se]],useFactory:function Ze(ne){return ne||new Se}},B=new i.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),X=(0,d.Id)((0,d.dB)(class{}));let ie=(()=>{class ne extends X{constructor(Ve,Je,pt){if(super(),this._intl=Ve,this._changeDetectorRef=Je,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new i.vpe,this._intlChanges=Ve.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),pt){const{pageSize:Ge,pageSizeOptions:At,hidePageSize:st,showFirstLastButtons:_t}=pt;null!=Ge&&(this._pageSize=Ge),null!=At&&(this._pageSizeOptions=At),null!=st&&(this._hidePageSize=st),null!=_t&&(this._showFirstLastButtons=_t)}}get pageIndex(){return this._pageIndex}set pageIndex(Ve){this._pageIndex=Math.max((0,F.su)(Ve),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Ve){this._length=(0,F.su)(Ve),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Ve){this._pageSize=Math.max((0,F.su)(Ve),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Ve){this._pageSizeOptions=(Ve||[]).map(Je=>(0,F.su)(Je)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Ve){this._hidePageSize=(0,F.Ig)(Ve)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Ve){this._showFirstLastButtons=(0,F.Ig)(Ve)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Ve=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Ve)}previousPage(){if(!this.hasPreviousPage())return;const Ve=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Ve)}firstPage(){if(!this.hasPreviousPage())return;const Ve=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Ve)}lastPage(){if(!this.hasNextPage())return;const Ve=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Ve)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Ve=this.getNumberOfPages()-1;return this.pageIndexVe-Je),this._changeDetectorRef.markForCheck())}_emitPageEvent(Ve){this.page.emit({previousPageIndex:Ve,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return ne.\u0275fac=function(Ve){i.$Z()},ne.\u0275dir=i.lG2({type:ne,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[i.qOj]}),ne})(),pe=(()=>{class ne extends ie{constructor(Ve,Je,pt){super(Ve,Je,pt),pt&&null!=pt.formFieldAppearance&&(this._formFieldAppearance=pt.formFieldAppearance)}}return ne.\u0275fac=function(Ve){return new(Ve||ne)(i.Y36(Se),i.Y36(i.sBO),i.Y36(B,8))},ne.\u0275cmp=i.Xpm({type:ne,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(Ve,Je){1&Ve&&(i.TgZ(0,"div",0)(1,"div",1),i.YNc(2,le,5,3,"div",2),i.TgZ(3,"div",3)(4,"div",4),i._uU(5),i.qZA(),i.YNc(6,me,3,5,"button",5),i.TgZ(7,"button",6),i.NdJ("click",function(){return Je.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 Je.nextPage()}),i.O4$(),i.TgZ(11,"svg",7),i._UZ(12,"path",10),i.qZA()(),i.YNc(13,fe,3,5,"button",11),i.qZA()()()),2&Ve&&(i.xp6(2),i.Q6J("ngIf",!Je.hidePageSize),i.xp6(3),i.hij(" ",Je._intl.getRangeLabel(Je.pageIndex,Je.pageSize,Je.length)," "),i.xp6(1),i.Q6J("ngIf",Je.showFirstLastButtons),i.xp6(1),i.Q6J("matTooltip",Je._intl.previousPageLabel)("matTooltipDisabled",Je._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Je._previousButtonsDisabled()),i.uIk("aria-label",Je._intl.previousPageLabel),i.xp6(3),i.Q6J("matTooltip",Je._intl.nextPageLabel)("matTooltipDisabled",Je._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Je._nextButtonsDisabled()),i.uIk("aria-label",Je._intl.nextPageLabel),i.xp6(3),i.Q6J("ngIf",Je.showFirstLastButtons))},dependencies:[r.sg,r.O5,D.lW,p.KE,u.gD,d.ey,T.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}),ne})(),we=(()=>{class ne{}return ne.\u0275fac=function(Ve){return new(Ve||ne)},ne.\u0275mod=i.oAB({type:ne}),ne.\u0275inj=i.cJS({providers:[Ne],imports:[r.ez,D.ot,u.LD,T.AV,d.BQ]}),ne})()},4385:(Rt,je,a)=>{a.d(je,{LD:()=>Vt,gD:()=>Wt});var r=a(8184),i=a(6895),d=a(4650),D=a(3238),u=a(9549),T=a(4098),F=a(2687),w=a(445),p=a(1281),W=a(5017),ae=a(9521),se=a(4006),le=a(7579),me=a(9770),fe=a(6451),Se=a(8675),Ze=a(3900),Ne=a(5698),gt=a(9300),N=a(4004),B=a(1884),X=a(2722),ie=a(7340);const pe=["trigger"],we=["panel"];function ne(qe,te){if(1&qe&&(d.TgZ(0,"span",8),d._uU(1),d.qZA()),2&qe){const S=d.oxw();d.xp6(1),d.Oqu(S.placeholder)}}function ge(qe,te){if(1&qe&&(d.TgZ(0,"span",12),d._uU(1),d.qZA()),2&qe){const S=d.oxw(2);d.xp6(1),d.Oqu(S.triggerValue)}}function Ve(qe,te){1&qe&&d.Hsn(0,0,["*ngSwitchCase","true"])}function Je(qe,te){if(1&qe&&(d.TgZ(0,"span",9),d.YNc(1,ge,2,1,"span",10),d.YNc(2,Ve,1,0,"ng-content",11),d.qZA()),2&qe){const S=d.oxw();d.Q6J("ngSwitch",!!S.customTrigger),d.xp6(2),d.Q6J("ngSwitchCase",!0)}}function pt(qe,te){if(1&qe){const S=d.EpF();d.TgZ(0,"div",13)(1,"div",14,15),d.NdJ("@transformPanel.done",function(J){d.CHM(S);const Ue=d.oxw();return d.KtG(Ue._panelDoneAnimatingStream.next(J.toState))})("keydown",function(J){d.CHM(S);const Ue=d.oxw();return d.KtG(Ue._handleKeydown(J))}),d.Hsn(3,1),d.qZA()()}if(2&qe){const S=d.oxw();d.Q6J("@transformPanelWrap",void 0),d.xp6(1),d.Gre("mat-select-panel ",S._getPanelTheme(),""),d.Udp("transform-origin",S._transformOrigin)("font-size",S._triggerFontSize,"px"),d.Q6J("ngClass",S.panelClass)("@transformPanel",S.multiple?"showing-multiple":"showing"),d.uIk("id",S.id+"-panel")("aria-multiselectable",S.multiple)("aria-label",S.ariaLabel||null)("aria-labelledby",S._getPanelAriaLabelledby())}}const Ge=[[["mat-select-trigger"]],"*"],At=["mat-select-trigger","*"],st={transformPanelWrap:(0,ie.X$)("transformPanelWrap",[(0,ie.eR)("* => void",(0,ie.IO)("@transformPanel",[(0,ie.pV)()],{optional:!0}))]),transformPanel:(0,ie.X$)("transformPanel",[(0,ie.SB)("void",(0,ie.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,ie.SB)("showing",(0,ie.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,ie.SB)("showing-multiple",(0,ie.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,ie.eR)("void => *",(0,ie.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,ie.eR)("* => void",(0,ie.jt)("100ms 25ms linear",(0,ie.oB)({opacity:0})))])};let he=0;const G=256,$e=new d.OlP("mat-select-scroll-strategy"),it=new d.OlP("MAT_SELECT_CONFIG"),ue={provide:$e,deps:[r.aV],useFactory:function ce(qe){return()=>qe.scrollStrategies.reposition()}};class Ke{constructor(te,S){this.source=te,this.value=S}}const Qe=(0,D.Kr)((0,D.sb)((0,D.Id)((0,D.FD)(class{constructor(qe,te,S,M,J){this._elementRef=qe,this._defaultErrorStateMatcher=te,this._parentForm=S,this._parentFormGroup=M,this.ngControl=J,this.stateChanges=new le.x}})))),Et=new d.OlP("MatSelectTrigger");let Qt=(()=>{class qe extends Qe{constructor(S,M,J,Ue,Ae,Ee,De,ft,vt,St,Bt,on,Nt,ht){super(Ae,Ue,De,ft,St),this._viewportRuler=S,this._changeDetectorRef=M,this._ngZone=J,this._dir=Ee,this._parentFormField=vt,this._liveAnnouncer=Nt,this._defaultOptions=ht,this._panelOpen=!1,this._compareWith=(xt,Oe)=>xt===Oe,this._uid="mat-select-"+he++,this._triggerAriaLabelledBy=null,this._destroy=new le.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+he++,this._panelDoneAnimatingStream=new le.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,me.P)(()=>{const xt=this.options;return xt?xt.changes.pipe((0,Se.O)(xt),(0,Ze.w)(()=>(0,fe.T)(...xt.map(Oe=>Oe.onSelectionChange)))):this._ngZone.onStable.pipe((0,Ne.q)(1),(0,Ze.w)(()=>this.optionSelectionChanges))}),this.openedChange=new d.vpe,this._openedStream=this.openedChange.pipe((0,gt.h)(xt=>xt),(0,N.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,gt.h)(xt=>!xt),(0,N.U)(()=>{})),this.selectionChange=new d.vpe,this.valueChange=new d.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=ht?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=ht.typeaheadDebounceInterval),this._scrollStrategyFactory=on,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Bt)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(S){this._placeholder=S,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(se.kI.required)??!1}set required(S){this._required=(0,p.Ig)(S),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(S){this._multiple=(0,p.Ig)(S)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(S){this._disableOptionCentering=(0,p.Ig)(S)}get compareWith(){return this._compareWith}set compareWith(S){this._compareWith=S,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(S){this._assignValue(S)&&this._onChange(S)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(S){this._typeaheadDebounceInterval=(0,p.su)(S)}get id(){return this._id}set id(S){this._id=S||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new W.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,B.x)(),(0,X.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,X.R)(this._destroy)).subscribe(S=>{S.added.forEach(M=>M.select()),S.removed.forEach(M=>M.deselect())}),this.options.changes.pipe((0,Se.O)(null),(0,X.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const S=this._getTriggerAriaLabelledby(),M=this.ngControl;if(S!==this._triggerAriaLabelledBy){const J=this._elementRef.nativeElement;this._triggerAriaLabelledBy=S,S?J.setAttribute("aria-labelledby",S):J.removeAttribute("aria-labelledby")}M&&(this._previousControl!==M.control&&(void 0!==this._previousControl&&null!==M.disabled&&M.disabled!==this.disabled&&(this.disabled=M.disabled),this._previousControl=M.control),this.updateErrorState())}ngOnChanges(S){(S.disabled||S.userAriaDescribedBy)&&this.stateChanges.next(),S.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(S){this._assignValue(S)}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}setDisabledState(S){this.disabled=S,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const S=this._selectionModel.selected.map(M=>M.viewValue);return this._isRtl()&&S.reverse(),S.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(S){this.disabled||(this.panelOpen?this._handleOpenKeydown(S):this._handleClosedKeydown(S))}_handleClosedKeydown(S){const M=S.keyCode,J=M===ae.JH||M===ae.LH||M===ae.oh||M===ae.SV,Ue=M===ae.K5||M===ae.L_,Ae=this._keyManager;if(!Ae.isTyping()&&Ue&&!(0,ae.Vb)(S)||(this.multiple||S.altKey)&&J)S.preventDefault(),this.open();else if(!this.multiple){const Ee=this.selected;Ae.onKeydown(S);const De=this.selected;De&&Ee!==De&&this._liveAnnouncer.announce(De.viewValue,1e4)}}_handleOpenKeydown(S){const M=this._keyManager,J=S.keyCode,Ue=J===ae.JH||J===ae.LH,Ae=M.isTyping();if(Ue&&S.altKey)S.preventDefault(),this.close();else if(Ae||J!==ae.K5&&J!==ae.L_||!M.activeItem||(0,ae.Vb)(S))if(!Ae&&this._multiple&&J===ae.A&&S.ctrlKey){S.preventDefault();const Ee=this.options.some(De=>!De.disabled&&!De.selected);this.options.forEach(De=>{De.disabled||(Ee?De.select():De.deselect())})}else{const Ee=M.activeItemIndex;M.onKeydown(S),this._multiple&&Ue&&S.shiftKey&&M.activeItem&&M.activeItemIndex!==Ee&&M.activeItem._selectViaInteraction()}else S.preventDefault(),M.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,Ne.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(S){if(this._selectionModel.selected.forEach(M=>M.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&S)Array.isArray(S),S.forEach(M=>this._selectOptionByValue(M)),this._sortValues();else{const M=this._selectOptionByValue(S);M?this._keyManager.updateActiveItem(M):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(S){const M=this.options.find(J=>{if(this._selectionModel.isSelected(J))return!1;try{return null!=J.value&&this._compareWith(J.value,S)}catch{return!1}});return M&&this._selectionModel.select(M),M}_assignValue(S){return!!(S!==this._value||this._multiple&&Array.isArray(S))&&(this.options&&this._setSelectionByValue(S),this._value=S,!0)}_initKeyManager(){this._keyManager=new F.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,X.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,X.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 S=(0,fe.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,X.R)(S)).subscribe(M=>{this._onSelect(M.source,M.isUserInput),M.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,fe.T)(...this.options.map(M=>M._stateChanges)).pipe((0,X.R)(S)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(S,M){const J=this._selectionModel.isSelected(S);null!=S.value||this._multiple?(J!==S.selected&&(S.selected?this._selectionModel.select(S):this._selectionModel.deselect(S)),M&&this._keyManager.setActiveItem(S),this.multiple&&(this._sortValues(),M&&this.focus())):(S.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(S.value)),J!==this._selectionModel.isSelected(S)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const S=this.options.toArray();this._selectionModel.sort((M,J)=>this.sortComparator?this.sortComparator(M,J,S):S.indexOf(M)-S.indexOf(J)),this.stateChanges.next()}}_propagateChanges(S){let M=null;M=this.multiple?this.selected.map(J=>J.value):this.selected?this.selected.value:S,this._value=M,this.valueChange.emit(M),this._onChange(M),this.selectionChange.emit(this._getChangeEvent(M)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(S){this._elementRef.nativeElement.focus(S)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const S=this._parentFormField?.getLabelId();return this.ariaLabelledby?(S?S+" ":"")+this.ariaLabelledby:S}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const S=this._parentFormField?.getLabelId();let M=(S?S+" ":"")+this._valueId;return this.ariaLabelledby&&(M+=" "+this.ariaLabelledby),M}_panelDoneAnimating(S){this.openedChange.emit(S)}setDescribedByIds(S){S.length?this._elementRef.nativeElement.setAttribute("aria-describedby",S.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(S){return new(S||qe)(d.Y36(T.rL),d.Y36(d.sBO),d.Y36(d.R0b),d.Y36(D.rD),d.Y36(d.SBq),d.Y36(w.Is,8),d.Y36(se.F,8),d.Y36(se.sg,8),d.Y36(u.G_,8),d.Y36(se.a5,10),d.$8M("tabindex"),d.Y36($e),d.Y36(F.Kd),d.Y36(it,8))},qe.\u0275dir=d.lG2({type:qe,viewQuery:function(S,M){if(1&S&&(d.Gf(pe,5),d.Gf(we,5),d.Gf(r.pI,5)),2&S){let J;d.iGM(J=d.CRH())&&(M.trigger=J.first),d.iGM(J=d.CRH())&&(M.panel=J.first),d.iGM(J=d.CRH())&&(M._overlayDir=J.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:[d.qOj,d.TTD]}),qe})(),Wt=(()=>{class qe extends Qt{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(S,M,J){const Ue=this._getItemHeight();return Math.min(Math.max(0,Ue*S-M+Ue/2),J)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,X.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,Ne.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(S){const M=(0,D.CB)(S,this.options,this.optionGroups),J=this._getItemHeight();this.panel.nativeElement.scrollTop=0===S&&1===M?0:(0,D.jH)((S+M)*J,J,this.panel.nativeElement.scrollTop,G)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(S){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(S)}_getChangeEvent(S){return new Ke(this,S)}_calculateOverlayOffsetX(){const S=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),M=this._viewportRuler.getViewportSize(),J=this._isRtl(),Ue=this.multiple?56:32;let Ae;if(this.multiple)Ae=40;else if(this.disableOptionCentering)Ae=16;else{let ft=this._selectionModel.selected[0]||this.options.first;Ae=ft&&ft.group?32:16}J||(Ae*=-1);const Ee=0-(S.left+Ae-(J?Ue:0)),De=S.right+Ae-M.width+(J?0:Ue);Ee>0?Ae+=Ee+8:De>0&&(Ae-=De+8),this._overlayDir.offsetX=Math.round(Ae),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(S,M,J){const Ue=this._getItemHeight(),Ae=(Ue-this._triggerRect.height)/2,Ee=Math.floor(G/Ue);let De;return this.disableOptionCentering?0:(De=0===this._scrollTop?S*Ue:this._scrollTop===J?(S-(this._getItemCount()-Ee))*Ue+(Ue-(this._getItemCount()*Ue-G)%Ue):M-Ue/2,Math.round(-1*De-Ae))}_checkOverlayWithinViewport(S){const M=this._getItemHeight(),J=this._viewportRuler.getViewportSize(),Ue=this._triggerRect.top-8,Ae=J.height-this._triggerRect.bottom-8,Ee=Math.abs(this._offsetY),ft=Math.min(this._getItemCount()*M,G)-Ee-this._triggerRect.height;ft>Ae?this._adjustPanelUp(ft,Ae):Ee>Ue?this._adjustPanelDown(Ee,Ue,S):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(S,M){const J=Math.round(S-M);this._scrollTop-=J,this._offsetY-=J,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(S,M,J){const Ue=Math.round(S-M);if(this._scrollTop+=Ue,this._offsetY+=Ue,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=J)return this._scrollTop=J,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const S=this._getItemHeight(),M=this._getItemCount(),J=Math.min(M*S,G),Ae=M*S-J;let Ee;Ee=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Ee+=(0,D.CB)(Ee,this.options,this.optionGroups);const De=J/2;this._scrollTop=this._calculateOverlayScroll(Ee,De,Ae),this._offsetY=this._calculateOverlayOffsetY(Ee,De,Ae),this._checkOverlayWithinViewport(Ae)}_getOriginBasedOnOption(){const S=this._getItemHeight(),M=(S-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-M+S/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return qe.\u0275fac=function(){let te;return function(M){return(te||(te=d.n5z(qe)))(M||qe)}}(),qe.\u0275cmp=d.Xpm({type:qe,selectors:[["mat-select"]],contentQueries:function(S,M,J){if(1&S&&(d.Suo(J,Et,5),d.Suo(J,D.ey,5),d.Suo(J,D.K7,5)),2&S){let Ue;d.iGM(Ue=d.CRH())&&(M.customTrigger=Ue.first),d.iGM(Ue=d.CRH())&&(M.options=Ue),d.iGM(Ue=d.CRH())&&(M.optionGroups=Ue)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(S,M){1&S&&d.NdJ("keydown",function(Ue){return M._handleKeydown(Ue)})("focus",function(){return M._onFocus()})("blur",function(){return M._onBlur()}),2&S&&(d.uIk("id",M.id)("tabindex",M.tabIndex)("aria-controls",M.panelOpen?M.id+"-panel":null)("aria-expanded",M.panelOpen)("aria-label",M.ariaLabel||null)("aria-required",M.required.toString())("aria-disabled",M.disabled.toString())("aria-invalid",M.errorState)("aria-activedescendant",M._getAriaActiveDescendant()),d.ekj("mat-select-disabled",M.disabled)("mat-select-invalid",M.errorState)("mat-select-required",M.required)("mat-select-empty",M.empty)("mat-select-multiple",M.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d._Bn([{provide:u.Eo,useExisting:qe},{provide:D.HF,useExisting:qe}]),d.qOj],ngContentSelectors:At,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(S,M){if(1&S&&(d.F$t(Ge),d.TgZ(0,"div",0,1),d.NdJ("click",function(){return M.toggle()}),d.TgZ(3,"div",2),d.YNc(4,ne,2,1,"span",3),d.YNc(5,Je,3,2,"span",4),d.qZA(),d.TgZ(6,"div",5),d._UZ(7,"div",6),d.qZA()(),d.YNc(8,pt,4,14,"ng-template",7),d.NdJ("backdropClick",function(){return M.close()})("attach",function(){return M._onAttached()})("detach",function(){return M.close()})),2&S){const J=d.MAs(1);d.uIk("aria-owns",M.panelOpen?M.id+"-panel":null),d.xp6(3),d.Q6J("ngSwitch",M.empty),d.uIk("id",M._valueId),d.xp6(1),d.Q6J("ngSwitchCase",!0),d.xp6(1),d.Q6J("ngSwitchCase",!1),d.xp6(3),d.Q6J("cdkConnectedOverlayPanelClass",M._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",M._scrollStrategy)("cdkConnectedOverlayOrigin",J)("cdkConnectedOverlayOpen",M.panelOpen)("cdkConnectedOverlayPositions",M._positions)("cdkConnectedOverlayMinWidth",null==M._triggerRect?null:M._triggerRect.width)("cdkConnectedOverlayOffsetY",M._offsetY)}},dependencies:[i.mk,i.RF,i.n9,i.ED,r.pI,r.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:[st.transformPanelWrap,st.transformPanel]},changeDetection:0}),qe})(),Vt=(()=>{class qe{}return qe.\u0275fac=function(S){return new(S||qe)},qe.\u0275mod=d.oAB({type:qe}),qe.\u0275inj=d.cJS({providers:[ue],imports:[i.ez,r.U8,D.Ng,D.BQ,T.ZD,u.lN,D.Ng,D.BQ]}),qe})()},3267:(Rt,je,a)=>{a.d(je,{JX:()=>Dt,Rh:()=>xe,SJ:()=>$e,TM:()=>Fe});var r=a(4098),i=a(6895),d=a(4650),D=a(3238),u=a(2687),T=a(445),F=a(1281),w=a(9521),p=a(3353),W=a(7579),ae=a(4968),se=a(6451),le=a(9300),me=a(4004),fe=a(9718),Se=a(2722),Ze=a(1884),Ne=a(5698),gt=a(8675),N=a(8372),B=a(7340);const X=["*"],ie=["content"];function pe(ce,it){if(1&ce){const ue=d.EpF();d.TgZ(0,"div",2),d.NdJ("click",function(){d.CHM(ue);const Qe=d.oxw();return d.KtG(Qe._onBackdropClicked())}),d.qZA()}if(2&ce){const ue=d.oxw();d.ekj("mat-drawer-shown",ue._isShowingBackdrop())}}function we(ce,it){1&ce&&(d.TgZ(0,"mat-drawer-content"),d.Hsn(1,2),d.qZA())}const ne=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],ge=["mat-drawer","mat-drawer-content","*"];function Ve(ce,it){if(1&ce){const ue=d.EpF();d.TgZ(0,"div",2),d.NdJ("click",function(){d.CHM(ue);const Qe=d.oxw();return d.KtG(Qe._onBackdropClicked())}),d.qZA()}if(2&ce){const ue=d.oxw();d.ekj("mat-drawer-shown",ue._isShowingBackdrop())}}function Je(ce,it){1&ce&&(d.TgZ(0,"mat-sidenav-content"),d.Hsn(1,2),d.qZA())}const pt=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ge=["mat-sidenav","mat-sidenav-content","*"],st={transformDrawer:(0,B.X$)("transform",[(0,B.SB)("open, open-instant",(0,B.oB)({transform:"none",visibility:"visible"})),(0,B.SB)("void",(0,B.oB)({"box-shadow":"none",visibility:"hidden"})),(0,B.eR)("void => open-instant",(0,B.jt)("0ms")),(0,B.eR)("void <=> open, open-instant => void",(0,B.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},et=new d.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function he(){return!1}}),mt=new d.OlP("MAT_DRAWER_CONTAINER");let G=(()=>{class ce extends r.PQ{constructor(ue,Ke,Qe,Et,Yt){super(Qe,Et,Yt),this._changeDetectorRef=ue,this._container=Ke}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return ce.\u0275fac=function(ue){return new(ue||ce)(d.Y36(d.sBO),d.Y36((0,d.Gpc)(()=>ye)),d.Y36(d.SBq),d.Y36(r.mF),d.Y36(d.R0b))},ce.\u0275cmp=d.Xpm({type:ce,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(ue,Ke){2&ue&&d.Udp("margin-left",Ke._container._contentMargins.left,"px")("margin-right",Ke._container._contentMargins.right,"px")},features:[d._Bn([{provide:r.PQ,useExisting:ce}]),d.qOj],ngContentSelectors:X,decls:1,vars:0,template:function(ue,Ke){1&ue&&(d.F$t(),d.Hsn(0))},encapsulation:2,changeDetection:0}),ce})(),de=(()=>{class ce{constructor(ue,Ke,Qe,Et,Yt,Qt,Wt,Vt){this._elementRef=ue,this._focusTrapFactory=Ke,this._focusMonitor=Qe,this._platform=Et,this._ngZone=Yt,this._interactivityChecker=Qt,this._doc=Wt,this._container=Vt,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new W.x,this._animationEnd=new W.x,this._animationState="void",this.openedChange=new d.vpe(!0),this._openedStream=this.openedChange.pipe((0,le.h)(qe=>qe),(0,me.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,le.h)(qe=>qe.fromState!==qe.toState&&0===qe.toState.indexOf("open")),(0,fe.h)(void 0)),this._closedStream=this.openedChange.pipe((0,le.h)(qe=>!qe),(0,me.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,le.h)(qe=>qe.fromState!==qe.toState&&"void"===qe.toState),(0,fe.h)(void 0)),this._destroyed=new W.x,this.onPositionChanged=new d.vpe,this._modeChanged=new W.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,ae.R)(this._elementRef.nativeElement,"keydown").pipe((0,le.h)(qe=>qe.keyCode===w.hY&&!this.disableClose&&!(0,w.Vb)(qe)),(0,Se.R)(this._destroyed)).subscribe(qe=>this._ngZone.run(()=>{this.close(),qe.stopPropagation(),qe.preventDefault()}))}),this._animationEnd.pipe((0,Ze.x)((qe,te)=>qe.fromState===te.fromState&&qe.toState===te.toState)).subscribe(qe=>{const{fromState:te,toState:S}=qe;(0===S.indexOf("open")&&"void"===te||"void"===S&&0===te.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(ue){(ue="end"===ue?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ue),this._position=ue,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ue){this._mode=ue,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ue){this._disableClose=(0,F.Ig)(ue)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(ue){("true"===ue||"false"===ue||null==ue)&&(ue=(0,F.Ig)(ue)),this._autoFocus=ue}get opened(){return this._opened}set opened(ue){this.toggle((0,F.Ig)(ue))}_forceFocus(ue,Ke){this._interactivityChecker.isFocusable(ue)||(ue.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Qe=()=>{ue.removeEventListener("blur",Qe),ue.removeEventListener("mousedown",Qe),ue.removeAttribute("tabindex")};ue.addEventListener("blur",Qe),ue.addEventListener("mousedown",Qe)})),ue.focus(Ke)}_focusByCssSelector(ue,Ke){let Qe=this._elementRef.nativeElement.querySelector(ue);Qe&&this._forceFocus(Qe,Ke)}_takeFocus(){if(!this._focusTrap)return;const ue=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Ke=>{!Ke&&"function"==typeof this._elementRef.nativeElement.focus&&ue.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ue){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ue):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ue=this._doc.activeElement;return!!ue&&this._elementRef.nativeElement.contains(ue)}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(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(ue){return this.toggle(!0,ue)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ue=!this.opened,Ke){ue&&Ke&&(this._openedVia=Ke);const Qe=this._setOpen(ue,!ue&&this._isFocusWithinDrawer(),this._openedVia||"program");return ue||(this._openedVia=null),Qe}_setOpen(ue,Ke,Qe){return this._opened=ue,ue?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Ke&&this._restoreFocus(Qe)),this._updateFocusTrapState(),new Promise(Et=>{this.openedChange.pipe((0,Ne.q)(1)).subscribe(Yt=>Et(Yt?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(ue){const Ke=this._elementRef.nativeElement,Qe=Ke.parentNode;"end"===ue?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Qe.insertBefore(this._anchor,Ke)),Qe.appendChild(Ke)):this._anchor&&this._anchor.parentNode.insertBefore(Ke,this._anchor)}}return ce.\u0275fac=function(ue){return new(ue||ce)(d.Y36(d.SBq),d.Y36(u.qV),d.Y36(u.tE),d.Y36(p.t4),d.Y36(d.R0b),d.Y36(u.ic),d.Y36(i.K0,8),d.Y36(mt,8))},ce.\u0275cmp=d.Xpm({type:ce,selectors:[["mat-drawer"]],viewQuery:function(ue,Ke){if(1&ue&&d.Gf(ie,5),2&ue){let Qe;d.iGM(Qe=d.CRH())&&(Ke._content=Qe.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(ue,Ke){1&ue&&d.WFA("@transform.start",function(Et){return Ke._animationStarted.next(Et)})("@transform.done",function(Et){return Ke._animationEnd.next(Et)}),2&ue&&(d.uIk("align",null),d.d8E("@transform",Ke._animationState),d.ekj("mat-drawer-end","end"===Ke.position)("mat-drawer-over","over"===Ke.mode)("mat-drawer-push","push"===Ke.mode)("mat-drawer-side","side"===Ke.mode)("mat-drawer-opened",Ke.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:X,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ue,Ke){1&ue&&(d.F$t(),d.TgZ(0,"div",0,1),d.Hsn(2),d.qZA())},dependencies:[r.PQ],encapsulation:2,data:{animation:[st.transformDrawer]},changeDetection:0}),ce})(),ye=(()=>{class ce{constructor(ue,Ke,Qe,Et,Yt,Qt=!1,Wt){this._dir=ue,this._element=Ke,this._ngZone=Qe,this._changeDetectorRef=Et,this._animationMode=Wt,this._drawers=new d.n_E,this.backdropClick=new d.vpe,this._destroyed=new W.x,this._doCheckSubject=new W.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new W.x,ue&&ue.change.pipe((0,Se.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Yt.change().pipe((0,Se.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=Qt}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ue){this._autosize=(0,F.Ig)(ue)}get hasBackdrop(){return this._backdropOverride??(!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode)}set hasBackdrop(ue){this._backdropOverride=null==ue?null:(0,F.Ig)(ue)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,gt.O)(this._allDrawers),(0,Se.R)(this._destroyed)).subscribe(ue=>{this._drawers.reset(ue.filter(Ke=>!Ke._container||Ke._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,gt.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ue=>{this._watchDrawerToggle(ue),this._watchDrawerPosition(ue),this._watchDrawerMode(ue)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,N.b)(10),(0,Se.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(ue=>ue.open())}close(){this._drawers.forEach(ue=>ue.close())}updateContentMargins(){let ue=0,Ke=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ue+=this._left._getWidth();else if("push"==this._left.mode){const Qe=this._left._getWidth();ue+=Qe,Ke-=Qe}if(this._right&&this._right.opened)if("side"==this._right.mode)Ke+=this._right._getWidth();else if("push"==this._right.mode){const Qe=this._right._getWidth();Ke+=Qe,ue-=Qe}ue=ue||null,Ke=Ke||null,(ue!==this._contentMargins.left||Ke!==this._contentMargins.right)&&(this._contentMargins={left:ue,right:Ke},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ue){ue._animationStarted.pipe((0,le.h)(Ke=>Ke.fromState!==Ke.toState),(0,Se.R)(this._drawers.changes)).subscribe(Ke=>{"open-instant"!==Ke.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ue.mode&&ue.openedChange.pipe((0,Se.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ue.opened))}_watchDrawerPosition(ue){!ue||ue.onPositionChanged.pipe((0,Se.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,Ne.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(ue){ue&&ue._modeChanged.pipe((0,Se.R)((0,se.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ue){const Ke=this._element.nativeElement.classList,Qe="mat-drawer-container-has-open";ue?Ke.add(Qe):Ke.remove(Qe)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ue=>{"end"==ue.position?this._end=ue:this._start=ue}),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(ue=>ue&&!ue.disableClose&&this._canHaveBackdrop(ue)).forEach(ue=>ue._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(ue){return"side"!==ue.mode||!!this._backdropOverride}_isDrawerOpen(ue){return null!=ue&&ue.opened}}return ce.\u0275fac=function(ue){return new(ue||ce)(d.Y36(T.Is,8),d.Y36(d.SBq),d.Y36(d.R0b),d.Y36(d.sBO),d.Y36(r.rL),d.Y36(et),d.Y36(d.QbO,8))},ce.\u0275cmp=d.Xpm({type:ce,selectors:[["mat-drawer-container"]],contentQueries:function(ue,Ke,Qe){if(1&ue&&(d.Suo(Qe,G,5),d.Suo(Qe,de,5)),2&ue){let Et;d.iGM(Et=d.CRH())&&(Ke._content=Et.first),d.iGM(Et=d.CRH())&&(Ke._allDrawers=Et)}},viewQuery:function(ue,Ke){if(1&ue&&d.Gf(G,5),2&ue){let Qe;d.iGM(Qe=d.CRH())&&(Ke._userContent=Qe.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ue,Ke){2&ue&&d.ekj("mat-drawer-container-explicit-backdrop",Ke._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[d._Bn([{provide:mt,useExisting:ce}])],ngContentSelectors:ge,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(ue,Ke){1&ue&&(d.F$t(ne),d.YNc(0,pe,1,2,"div",0),d.Hsn(1),d.Hsn(2,1),d.YNc(3,we,2,0,"mat-drawer-content",1)),2&ue&&(d.Q6J("ngIf",Ke.hasBackdrop),d.xp6(3),d.Q6J("ngIf",!Ke._content))},dependencies:[i.O5,G],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}),ce})(),xe=(()=>{class ce extends G{constructor(ue,Ke,Qe,Et,Yt){super(ue,Ke,Qe,Et,Yt)}}return ce.\u0275fac=function(ue){return new(ue||ce)(d.Y36(d.sBO),d.Y36((0,d.Gpc)(()=>Fe)),d.Y36(d.SBq),d.Y36(r.mF),d.Y36(d.R0b))},ce.\u0275cmp=d.Xpm({type:ce,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(ue,Ke){2&ue&&d.Udp("margin-left",Ke._container._contentMargins.left,"px")("margin-right",Ke._container._contentMargins.right,"px")},features:[d._Bn([{provide:r.PQ,useExisting:ce}]),d.qOj],ngContentSelectors:X,decls:1,vars:0,template:function(ue,Ke){1&ue&&(d.F$t(),d.Hsn(0))},encapsulation:2,changeDetection:0}),ce})(),Dt=(()=>{class ce extends de{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(ue){this._fixedInViewport=(0,F.Ig)(ue)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(ue){this._fixedTopGap=(0,F.su)(ue)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(ue){this._fixedBottomGap=(0,F.su)(ue)}}return ce.\u0275fac=function(){let it;return function(Ke){return(it||(it=d.n5z(ce)))(Ke||ce)}}(),ce.\u0275cmp=d.Xpm({type:ce,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(ue,Ke){2&ue&&(d.uIk("align",null),d.Udp("top",Ke.fixedInViewport?Ke.fixedTopGap:null,"px")("bottom",Ke.fixedInViewport?Ke.fixedBottomGap:null,"px"),d.ekj("mat-drawer-end","end"===Ke.position)("mat-drawer-over","over"===Ke.mode)("mat-drawer-push","push"===Ke.mode)("mat-drawer-side","side"===Ke.mode)("mat-drawer-opened",Ke.opened)("mat-sidenav-fixed",Ke.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[d.qOj],ngContentSelectors:X,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ue,Ke){1&ue&&(d.F$t(),d.TgZ(0,"div",0,1),d.Hsn(2),d.qZA())},dependencies:[r.PQ],encapsulation:2,data:{animation:[st.transformDrawer]},changeDetection:0}),ce})(),Fe=(()=>{class ce extends ye{}return ce.\u0275fac=function(){let it;return function(Ke){return(it||(it=d.n5z(ce)))(Ke||ce)}}(),ce.\u0275cmp=d.Xpm({type:ce,selectors:[["mat-sidenav-container"]],contentQueries:function(ue,Ke,Qe){if(1&ue&&(d.Suo(Qe,xe,5),d.Suo(Qe,Dt,5)),2&ue){let Et;d.iGM(Et=d.CRH())&&(Ke._content=Et.first),d.iGM(Et=d.CRH())&&(Ke._allDrawers=Et)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ue,Ke){2&ue&&d.ekj("mat-drawer-container-explicit-backdrop",Ke._backdropOverride)},exportAs:["matSidenavContainer"],features:[d._Bn([{provide:mt,useExisting:ce}]),d.qOj],ngContentSelectors:Ge,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(ue,Ke){1&ue&&(d.F$t(pt),d.YNc(0,Ve,1,2,"div",0),d.Hsn(1),d.Hsn(2,1),d.YNc(3,Je,2,0,"mat-sidenav-content",1)),2&ue&&(d.Q6J("ngIf",Ke.hasBackdrop),d.xp6(3),d.Q6J("ngIf",!Ke._content))},dependencies:[i.O5,xe],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}),ce})(),$e=(()=>{class ce{}return ce.\u0275fac=function(ue){return new(ue||ce)},ce.\u0275mod=d.oAB({type:ce}),ce.\u0275inj=d.cJS({imports:[i.ez,D.BQ,r.ZD,r.ZD,D.BQ]}),ce})()},7009:(Rt,je,a)=>{a.d(je,{OX:()=>gt,ZX:()=>pe,ux:()=>Ve});var r=a(8184),i=a(4080),d=a(6895),D=a(4650),u=a(3238),T=a(4859),F=a(7579),w=a(3353),p=a(5698),W=a(2722),ae=a(7340),se=a(2687),le=a(2289);function me(Je,pt){if(1&Je){const Ge=D.EpF();D.TgZ(0,"div",2)(1,"button",3),D.NdJ("click",function(){D.CHM(Ge);const st=D.oxw();return D.KtG(st.action())}),D._uU(2),D.qZA()()}if(2&Je){const Ge=D.oxw();D.xp6(2),D.Oqu(Ge.data.action)}}function fe(Je,pt){}const Se=new D.OlP("MatSnackBarData");class Ze{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const Ne=Math.pow(2,31)-1;class gt{constructor(pt,Ge){this._overlayRef=Ge,this._afterDismissed=new F.x,this._afterOpened=new F.x,this._onAction=new F.x,this._dismissedByAction=!1,this.containerInstance=pt,pt._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(pt){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(pt,Ne))}_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 N=(()=>{class Je{constructor(Ge,At){this.snackBarRef=Ge,this.data=At}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return Je.\u0275fac=function(Ge){return new(Ge||Je)(D.Y36(gt),D.Y36(Se))},Je.\u0275cmp=D.Xpm({type:Je,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(Ge,At){1&Ge&&(D.TgZ(0,"span",0),D._uU(1),D.qZA(),D.YNc(2,me,3,1,"div",1)),2&Ge&&(D.xp6(1),D.Oqu(At.data.message),D.xp6(1),D.Q6J("ngIf",At.hasAction))},dependencies:[d.O5,T.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}),Je})();const B={snackBarState:(0,ae.X$)("state",[(0,ae.SB)("void, hidden",(0,ae.oB)({transform:"scale(0.8)",opacity:0})),(0,ae.SB)("visible",(0,ae.oB)({transform:"scale(1)",opacity:1})),(0,ae.eR)("* => visible",(0,ae.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,ae.eR)("* => void, * => hidden",(0,ae.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,ae.oB)({opacity:0})))])};let X=(()=>{class Je extends i.en{constructor(Ge,At,st,_t,et){super(),this._ngZone=Ge,this._elementRef=At,this._changeDetectorRef=st,this._platform=_t,this.snackBarConfig=et,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new F.x,this._onExit=new F.x,this._onEnter=new F.x,this._animationState="void",this.attachDomPortal=mt=>{this._assertNotAttached();const he=this._portalOutlet.attachDomPortal(mt);return this._afterPortalAttached(),he},this._live="assertive"!==et.politeness||et.announcementMessage?"off"===et.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(Ge){this._assertNotAttached();const At=this._portalOutlet.attachComponentPortal(Ge);return this._afterPortalAttached(),At}attachTemplatePortal(Ge){this._assertNotAttached();const At=this._portalOutlet.attachTemplatePortal(Ge);return this._afterPortalAttached(),At}onAnimationEnd(Ge){const{fromState:At,toState:st}=Ge;if(("void"===st&&"void"!==At||"hidden"===st)&&this._completeExit(),"visible"===st){const _t=this._onEnter;this._ngZone.run(()=>{_t.next(),_t.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,p.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const Ge=this._elementRef.nativeElement,At=this.snackBarConfig.panelClass;At&&(Array.isArray(At)?At.forEach(st=>Ge.classList.add(st)):Ge.classList.add(At))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const Ge=this._elementRef.nativeElement.querySelector("[aria-hidden]"),At=this._elementRef.nativeElement.querySelector("[aria-live]");if(Ge&&At){let st=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&Ge.contains(document.activeElement)&&(st=document.activeElement),Ge.removeAttribute("aria-hidden"),At.appendChild(Ge),st?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return Je.\u0275fac=function(Ge){return new(Ge||Je)(D.Y36(D.R0b),D.Y36(D.SBq),D.Y36(D.sBO),D.Y36(w.t4),D.Y36(Ze))},Je.\u0275dir=D.lG2({type:Je,viewQuery:function(Ge,At){if(1&Ge&&D.Gf(i.Pl,7),2&Ge){let st;D.iGM(st=D.CRH())&&(At._portalOutlet=st.first)}},features:[D.qOj]}),Je})(),ie=(()=>{class Je extends X{_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 Je.\u0275fac=function(){let pt;return function(At){return(pt||(pt=D.n5z(Je)))(At||Je)}}(),Je.\u0275cmp=D.Xpm({type:Je,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(Ge,At){1&Ge&&D.WFA("@state.done",function(_t){return At.onAnimationEnd(_t)}),2&Ge&&D.d8E("@state",At._animationState)},features:[D.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(Ge,At){1&Ge&&(D.TgZ(0,"div",0),D.YNc(1,fe,0,0,"ng-template",1),D.qZA(),D._UZ(2,"div")),2&Ge&&(D.xp6(2),D.uIk("aria-live",At._live)("role",At._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:[B.snackBarState]}}),Je})(),pe=(()=>{class Je{}return Je.\u0275fac=function(Ge){return new(Ge||Je)},Je.\u0275mod=D.oAB({type:Je}),Je.\u0275inj=D.cJS({imports:[r.U8,i.eL,d.ez,T.ot,u.BQ,u.BQ]}),Je})();const we=new D.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function ne(){return new Ze}});let ge=(()=>{class Je{constructor(Ge,At,st,_t,et,mt){this._overlay=Ge,this._live=At,this._injector=st,this._breakpointObserver=_t,this._parentSnackBar=et,this._defaultConfig=mt,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const Ge=this._parentSnackBar;return Ge?Ge._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(Ge){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=Ge:this._snackBarRefAtThisLevel=Ge}openFromComponent(Ge,At){return this._attach(Ge,At)}openFromTemplate(Ge,At){return this._attach(Ge,At)}open(Ge,At="",st){const _t={...this._defaultConfig,...st};return _t.data={message:Ge,action:At},_t.announcementMessage===Ge&&(_t.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,_t)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(Ge,At){const _t=D.zs3.create({parent:At&&At.viewContainerRef&&At.viewContainerRef.injector||this._injector,providers:[{provide:Ze,useValue:At}]}),et=new i.C5(this.snackBarContainerComponent,At.viewContainerRef,_t),mt=Ge.attach(et);return mt.instance.snackBarConfig=At,mt.instance}_attach(Ge,At){const st={...new Ze,...this._defaultConfig,...At},_t=this._createOverlay(st),et=this._attachSnackBarContainer(_t,st),mt=new gt(et,_t);if(Ge instanceof D.Rgc){const he=new i.UE(Ge,null,{$implicit:st.data,snackBarRef:mt});mt.instance=et.attachTemplatePortal(he)}else{const he=this._createInjector(st,mt),G=new i.C5(Ge,void 0,he),de=et.attachComponentPortal(G);mt.instance=de.instance}return this._breakpointObserver.observe(le.u3.HandsetPortrait).pipe((0,W.R)(_t.detachments())).subscribe(he=>{_t.overlayElement.classList.toggle(this.handsetCssClass,he.matches)}),st.announcementMessage&&et._onAnnounce.subscribe(()=>{this._live.announce(st.announcementMessage,st.politeness)}),this._animateSnackBar(mt,st),this._openedSnackBarRef=mt,this._openedSnackBarRef}_animateSnackBar(Ge,At){Ge.afterDismissed().subscribe(()=>{this._openedSnackBarRef==Ge&&(this._openedSnackBarRef=null),At.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{Ge.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):Ge.containerInstance.enter(),At.duration&&At.duration>0&&Ge.afterOpened().subscribe(()=>Ge._dismissAfter(At.duration))}_createOverlay(Ge){const At=new r.X_;At.direction=Ge.direction;let st=this._overlay.position().global();const _t="rtl"===Ge.direction,et="left"===Ge.horizontalPosition||"start"===Ge.horizontalPosition&&!_t||"end"===Ge.horizontalPosition&&_t,mt=!et&&"center"!==Ge.horizontalPosition;return et?st.left("0"):mt?st.right("0"):st.centerHorizontally(),"top"===Ge.verticalPosition?st.top("0"):st.bottom("0"),At.positionStrategy=st,this._overlay.create(At)}_createInjector(Ge,At){return D.zs3.create({parent:Ge&&Ge.viewContainerRef&&Ge.viewContainerRef.injector||this._injector,providers:[{provide:gt,useValue:At},{provide:Se,useValue:Ge.data}]})}}return Je.\u0275fac=function(Ge){return new(Ge||Je)(D.LFG(r.aV),D.LFG(se.Kd),D.LFG(D.zs3),D.LFG(le.Yg),D.LFG(Je,12),D.LFG(we))},Je.\u0275prov=D.Yz7({token:Je,factory:Je.\u0275fac}),Je})(),Ve=(()=>{class Je extends ge{constructor(Ge,At,st,_t,et,mt){super(Ge,At,st,_t,et,mt),this.simpleSnackBarComponent=N,this.snackBarContainerComponent=ie,this.handsetCssClass="mat-snack-bar-handset"}}return Je.\u0275fac=function(Ge){return new(Ge||Je)(D.LFG(r.aV),D.LFG(se.Kd),D.LFG(D.zs3),D.LFG(le.Yg),D.LFG(Je,12),D.LFG(we))},Je.\u0275prov=D.Yz7({token:Je,factory:Je.\u0275fac,providedIn:pe}),Je})()},3626:(Rt,je,a)=>{a.d(je,{BZ:()=>Ze,Dz:()=>Ne,Gk:()=>pt,XQ:()=>Ve,as:()=>we,by:()=>he,ev:()=>pe,fO:()=>gt,ge:()=>X,nj:()=>ge,p0:()=>_t,w1:()=>B});var r=a(4650),i=a(4654),d=a(5017),D=a(3238),u=a(1281),T=a(1135),F=a(7579),w=a(6451),p=a(9646),W=a(9841),ae=a(4004);const se=[[["caption"]],[["colgroup"],["col"]]],le=["caption","colgroup, col"];let Ze=(()=>{class G extends i.zC{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=r.n5z(G)))(xe||G)}}(),G.\u0275cmp=r.Xpm({type:G,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(ye,xe){2&ye&&r.ekj("mat-table-fixed-layout",xe.fixedLayout)},exportAs:["matTable"],features:[r._Bn([{provide:d.k,useClass:d.yy},{provide:i.zC,useExisting:G},{provide:i.pN,useExisting:G},{provide:i.nl,useClass:i.oF},{provide:i.pF,useValue:null}]),r.qOj],ngContentSelectors:le,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ye,xe){1&ye&&(r.F$t(se),r.Hsn(0),r.Hsn(1,1),r.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}),G})(),Ne=(()=>{class G extends i.O_{}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=r.n5z(G)))(xe||G)}}(),G.\u0275dir=r.lG2({type:G,selectors:[["","matCellDef",""]],features:[r._Bn([{provide:i.O_,useExisting:G}]),r.qOj]}),G})(),gt=(()=>{class G extends i.D5{}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=r.n5z(G)))(xe||G)}}(),G.\u0275dir=r.lG2({type:G,selectors:[["","matHeaderCellDef",""]],features:[r._Bn([{provide:i.D5,useExisting:G}]),r.qOj]}),G})(),B=(()=>{class G extends i.fo{get name(){return this._name}set name(ye){this._setNameInput(ye)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=r.n5z(G)))(xe||G)}}(),G.\u0275dir=r.lG2({type:G,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[r._Bn([{provide:i.fo,useExisting:G},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:G}]),r.qOj]}),G})(),X=(()=>{class G extends i.Af{}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=r.n5z(G)))(xe||G)}}(),G.\u0275dir=r.lG2({type:G,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[r.qOj]}),G})(),pe=(()=>{class G extends i.hD{}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=r.n5z(G)))(xe||G)}}(),G.\u0275dir=r.lG2({type:G,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[r.qOj]}),G})(),we=(()=>{class G extends i.s${}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=r.n5z(G)))(xe||G)}}(),G.\u0275dir=r.lG2({type:G,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[r._Bn([{provide:i.s$,useExisting:G}]),r.qOj]}),G})(),ge=(()=>{class G extends i.Sq{}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=r.n5z(G)))(xe||G)}}(),G.\u0275dir=r.lG2({type:G,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[r._Bn([{provide:i.Sq,useExisting:G}]),r.qOj]}),G})(),Ve=(()=>{class G extends i.xN{}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=r.n5z(G)))(xe||G)}}(),G.\u0275cmp=r.Xpm({type:G,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[r._Bn([{provide:i.xN,useExisting:G}]),r.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,xe){1&ye&&r.GkF(0,0)},dependencies:[i.Kb],encapsulation:2}),G})(),pt=(()=>{class G extends i._J{}return G.\u0275fac=function(){let de;return function(xe){return(de||(de=r.n5z(G)))(xe||G)}}(),G.\u0275cmp=r.Xpm({type:G,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[r._Bn([{provide:i._J,useExisting:G}]),r.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ye,xe){1&ye&&r.GkF(0,0)},dependencies:[i.Kb],encapsulation:2}),G})(),_t=(()=>{class G{}return G.\u0275fac=function(ye){return new(ye||G)},G.\u0275mod=r.oAB({type:G}),G.\u0275inj=r.cJS({imports:[i.HT,D.BQ,D.BQ]}),G})();class mt extends d.o2{constructor(de=[]){super(),this._renderData=new T.X([]),this._filter=new T.X(""),this._internalPageChanges=new F.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ye,xe)=>{const Dt=ye[xe];if((0,u.t6)(Dt)){const Fe=Number(Dt);return Fe<9007199254740991?Fe:Dt}return Dt},this.sortData=(ye,xe)=>{const Dt=xe.active,Fe=xe.direction;return Dt&&""!=Fe?ye.sort(($e,ce)=>{let it=this.sortingDataAccessor($e,Dt),ue=this.sortingDataAccessor(ce,Dt);const Ke=typeof it,Qe=typeof ue;Ke!==Qe&&("number"===Ke&&(it+=""),"number"===Qe&&(ue+=""));let Et=0;return null!=it&&null!=ue?it>ue?Et=1:it{const Dt=Object.keys(ye).reduce(($e,ce)=>$e+ye[ce]+"\u25ec","").toLowerCase(),Fe=xe.trim().toLowerCase();return-1!=Dt.indexOf(Fe)},this._data=new T.X(de),this._updateChangeSubscription()}get data(){return this._data.value}set data(de){de=Array.isArray(de)?de:[],this._data.next(de),this._renderChangesSubscription||this._filterData(de)}get filter(){return this._filter.value}set filter(de){this._filter.next(de),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(de){this._sort=de,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(de){this._paginator=de,this._updateChangeSubscription()}_updateChangeSubscription(){const de=this._sort?(0,w.T)(this._sort.sortChange,this._sort.initialized):(0,p.of)(null),ye=this._paginator?(0,w.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,p.of)(null),Dt=(0,W.a)([this._data,this._filter]).pipe((0,ae.U)(([ce])=>this._filterData(ce))),Fe=(0,W.a)([Dt,de]).pipe((0,ae.U)(([ce])=>this._orderData(ce))),$e=(0,W.a)([Fe,ye]).pipe((0,ae.U)(([ce])=>this._pageData(ce)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=$e.subscribe(ce=>this._renderData.next(ce))}_filterData(de){return this.filteredData=null==this.filter||""===this.filter?de:de.filter(ye=>this.filterPredicate(ye,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(de){return this.sort?this.sortData(de.slice(),this.sort):de}_pageData(de){if(!this.paginator)return de;const ye=this.paginator.pageIndex*this.paginator.pageSize;return de.slice(ye,ye+this.paginator.pageSize)}_updatePaginator(de){Promise.resolve().then(()=>{const ye=this.paginator;if(ye&&(ye.length=de,ye.pageIndex>0)){const xe=Math.ceil(ye.length/ye.pageSize)-1||0,Dt=Math.min(ye.pageIndex,xe);Dt!==ye.pageIndex&&(ye.pageIndex=Dt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class he extends mt{}},3683:(Rt,je,a)=>{a.d(je,{Ye:()=>p,g0:()=>ae,rD:()=>w});var r=a(4650),i=a(3238),d=a(3353),D=a(6895);const u=["*",[["mat-toolbar-row"]]],T=["*","mat-toolbar-row"],F=(0,i.pj)(class{constructor(se){this._elementRef=se}});let w=(()=>{class se{}return se.\u0275fac=function(me){return new(me||se)},se.\u0275dir=r.lG2({type:se,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),se})(),p=(()=>{class se extends F{constructor(me,fe,Se){super(me),this._platform=fe,this._document=Se}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return se.\u0275fac=function(me){return new(me||se)(r.Y36(r.SBq),r.Y36(d.t4),r.Y36(D.K0))},se.\u0275cmp=r.Xpm({type:se,selectors:[["mat-toolbar"]],contentQueries:function(me,fe,Se){if(1&me&&r.Suo(Se,w,5),2&me){let Ze;r.iGM(Ze=r.CRH())&&(fe._toolbarRows=Ze)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(me,fe){2&me&&r.ekj("mat-toolbar-multiple-rows",fe._toolbarRows.length>0)("mat-toolbar-single-row",0===fe._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[r.qOj],ngContentSelectors:T,decls:2,vars:0,template:function(me,fe){1&me&&(r.F$t(u),r.Hsn(0),r.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}),se})(),ae=(()=>{class se{}return se.\u0275fac=function(me){return new(me||se)},se.\u0275mod=r.oAB({type:se}),se.\u0275inj=r.cJS({imports:[i.BQ,i.BQ]}),se})()},266:(Rt,je,a)=>{a.d(je,{AV:()=>st,gM:()=>pt});var r=a(8184),i=a(2687),d=a(6895),D=a(4650),u=a(3238),T=a(4098),F=a(445),w=a(1281),p=a(9521),W=a(2289),ae=a(3353),se=a(4080),le=a(7579),me=a(2722),fe=a(5698);a(7340);const Ze=["tooltip"],N="tooltip-panel",B=(0,ae.i$)({passive:!0}),pe=new D.OlP("mat-tooltip-scroll-strategy"),ne={provide:pe,deps:[r.aV],useFactory:function we(et){return()=>et.scrollStrategies.reposition({scrollThrottle:20})}},ge=new D.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Ve(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Je=(()=>{class et{constructor(he,G,de,ye,xe,Dt,Fe,$e,ce,it,ue,Ke){this._overlay=he,this._elementRef=G,this._scrollDispatcher=de,this._viewContainerRef=ye,this._ngZone=xe,this._platform=Dt,this._ariaDescriber=Fe,this._focusMonitor=$e,this._dir=it,this._defaultOptions=ue,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 le.x,this._scrollStrategy=ce,this._document=Ke,ue&&(ue.position&&(this.position=ue.position),ue.touchGestures&&(this.touchGestures=ue.touchGestures)),it.change.pipe((0,me.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(he){he!==this._position&&(this._position=he,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(he){this._disabled=(0,w.Ig)(he),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(he){this._showDelay=(0,w.su)(he)}get hideDelay(){return this._hideDelay}set hideDelay(he){this._hideDelay=(0,w.su)(he),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(he){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=he?String(he).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(he){this._tooltipClass=he,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,me.R)(this._destroyed)).subscribe(he=>{he?"keyboard"===he&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const he=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([G,de])=>{he.removeEventListener(G,de,B)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(he,this.message,"tooltip"),this._focusMonitor.stopMonitoring(he)}show(he=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const G=this._createOverlay();this._detach(),this._portal=this._portal||new se.C5(this._tooltipComponent,this._viewContainerRef);const de=this._tooltipInstance=G.attach(this._portal).instance;de._triggerElement=this._elementRef.nativeElement,de._mouseLeaveHideDelay=this._hideDelay,de.afterHidden().pipe((0,me.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),de.show(he)}hide(he=this.hideDelay){const G=this._tooltipInstance;G&&(G.isVisible()?G.hide(he):(G._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const he=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),G=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(he);return G.positionChanges.pipe((0,me.R)(this._destroyed)).subscribe(de=>{this._updateCurrentPositionClass(de.connectionPair),this._tooltipInstance&&de.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:G,panelClass:`${this._cssClassPrefix}-${N}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,me.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,me.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,me.R)(this._destroyed)).subscribe(de=>{this._isTooltipVisible()&&de.keyCode===p.hY&&!(0,p.Vb)(de)&&(de.preventDefault(),de.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.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(he){const G=he.getConfig().positionStrategy,de=this._getOrigin(),ye=this._getOverlayPosition();G.withPositions([this._addOffset({...de.main,...ye.main}),this._addOffset({...de.fallback,...ye.fallback})])}_addOffset(he){return he}_getOrigin(){const he=!this._dir||"ltr"==this._dir.value,G=this.position;let de;"above"==G||"below"==G?de={originX:"center",originY:"above"==G?"top":"bottom"}:"before"==G||"left"==G&&he||"right"==G&&!he?de={originX:"start",originY:"center"}:("after"==G||"right"==G&&he||"left"==G&&!he)&&(de={originX:"end",originY:"center"});const{x:ye,y:xe}=this._invertPosition(de.originX,de.originY);return{main:de,fallback:{originX:ye,originY:xe}}}_getOverlayPosition(){const he=!this._dir||"ltr"==this._dir.value,G=this.position;let de;"above"==G?de={overlayX:"center",overlayY:"bottom"}:"below"==G?de={overlayX:"center",overlayY:"top"}:"before"==G||"left"==G&&he||"right"==G&&!he?de={overlayX:"end",overlayY:"center"}:("after"==G||"right"==G&&he||"left"==G&&!he)&&(de={overlayX:"start",overlayY:"center"});const{x:ye,y:xe}=this._invertPosition(de.overlayX,de.overlayY);return{main:de,fallback:{overlayX:ye,overlayY:xe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,fe.q)(1),(0,me.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(he){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=he,this._tooltipInstance._markForCheck())}_invertPosition(he,G){return"above"===this.position||"below"===this.position?"top"===G?G="bottom":"bottom"===G&&(G="top"):"end"===he?he="start":"start"===he&&(he="end"),{x:he,y:G}}_updateCurrentPositionClass(he){const{overlayY:G,originX:de,originY:ye}=he;let xe;if(xe="center"===G?this._dir&&"rtl"===this._dir.value?"end"===de?"left":"right":"start"===de?"left":"right":"bottom"===G&&"top"===ye?"above":"below",xe!==this._currentPosition){const Dt=this._overlayRef;if(Dt){const Fe=`${this._cssClassPrefix}-${N}-`;Dt.removePanelClass(Fe+this._currentPosition),Dt.addPanelClass(Fe+xe)}this._currentPosition=xe}}_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 he=[];if(this._platformSupportsMouseEvents())he.push(["mouseleave",G=>{const de=G.relatedTarget;(!de||!this._overlayRef?.overlayElement.contains(de))&&this.hide()}],["wheel",G=>this._wheelListener(G)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const G=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};he.push(["touchend",G],["touchcancel",G])}this._addListeners(he),this._passiveListeners.push(...he)}_addListeners(he){he.forEach(([G,de])=>{this._elementRef.nativeElement.addEventListener(G,de,B)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(he){if(this._isTooltipVisible()){const G=this._document.elementFromPoint(he.clientX,he.clientY),de=this._elementRef.nativeElement;G!==de&&!de.contains(G)&&this.hide()}}_disableNativeGesturesIfNecessary(){const he=this.touchGestures;if("off"!==he){const G=this._elementRef.nativeElement,de=G.style;("on"===he||"INPUT"!==G.nodeName&&"TEXTAREA"!==G.nodeName)&&(de.userSelect=de.msUserSelect=de.webkitUserSelect=de.MozUserSelect="none"),("on"===he||!G.draggable)&&(de.webkitUserDrag="none"),de.touchAction="none",de.webkitTapHighlightColor="transparent"}}}return et.\u0275fac=function(he){D.$Z()},et.\u0275dir=D.lG2({type:et,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),et})(),pt=(()=>{class et extends Je{constructor(he,G,de,ye,xe,Dt,Fe,$e,ce,it,ue,Ke){super(he,G,de,ye,xe,Dt,Fe,$e,ce,it,ue,Ke),this._tooltipComponent=At}}return et.\u0275fac=function(he){return new(he||et)(D.Y36(r.aV),D.Y36(D.SBq),D.Y36(T.mF),D.Y36(D.s_b),D.Y36(D.R0b),D.Y36(ae.t4),D.Y36(i.$s),D.Y36(i.tE),D.Y36(pe),D.Y36(F.Is,8),D.Y36(ge,8),D.Y36(d.K0))},et.\u0275dir=D.lG2({type:et,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[D.qOj]}),et})(),Ge=(()=>{class et{constructor(he,G){this._changeDetectorRef=he,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new le.x,this._animationsDisabled="NoopAnimations"===G}show(he){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},he)}hide(he){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},he)}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:he}){(!he||!this._triggerElement.contains(he))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:he}){(he===this._showAnimation||he===this._hideAnimation)&&this._finalizeAnimation(he===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(he){he?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(he){const G=this._tooltip.nativeElement,de=this._showAnimation,ye=this._hideAnimation;if(G.classList.remove(he?ye:de),G.classList.add(he?de:ye),this._isVisible=he,he&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const xe=getComputedStyle(G);("0s"===xe.getPropertyValue("animation-duration")||"none"===xe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}he&&this._onShow(),this._animationsDisabled&&(G.classList.add("_mat-animation-noopable"),this._finalizeAnimation(he))}}return et.\u0275fac=function(he){return new(he||et)(D.Y36(D.sBO),D.Y36(D.QbO,8))},et.\u0275dir=D.lG2({type:et}),et})(),At=(()=>{class et extends Ge{constructor(he,G,de){super(he,de),this._breakpointObserver=G,this._isHandset=this._breakpointObserver.observe(W.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return et.\u0275fac=function(he){return new(he||et)(D.Y36(D.sBO),D.Y36(W.Yg),D.Y36(D.QbO,8))},et.\u0275cmp=D.Xpm({type:et,selectors:[["mat-tooltip-component"]],viewQuery:function(he,G){if(1&he&&D.Gf(Ze,7),2&he){let de;D.iGM(de=D.CRH())&&(G._tooltip=de.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(he,G){1&he&&D.NdJ("mouseleave",function(ye){return G._handleMouseLeave(ye)}),2&he&&D.Udp("zoom",G.isVisible()?1:null)},features:[D.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(he,G){if(1&he&&(D.TgZ(0,"div",0,1),D.NdJ("animationend",function(ye){return G._handleAnimationEnd(ye)}),D.ALo(2,"async"),D._uU(3),D.qZA()),2&he){let de;D.ekj("mat-tooltip-handset",null==(de=D.lcZ(2,4,G._isHandset))?null:de.matches),D.Q6J("ngClass",G.tooltipClass),D.xp6(3),D.Oqu(G.message)}},dependencies:[d.mk,d.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}),et})(),st=(()=>{class et{}return et.\u0275fac=function(he){return new(he||et)},et.\u0275mod=D.oAB({type:et}),et.\u0275inj=D.cJS({providers:[ne],imports:[i.rt,d.ez,r.U8,u.BQ,u.BQ,T.ZD]}),et})()},1516:(Rt,je,a)=>{a.d(je,{PW:()=>fs});var r=a(4650),i=a(1481),d=a(7340);function u(Ce){return new r.vHH(3e3,!1)}function Dt(){return typeof window<"u"&&typeof window.document<"u"}function Fe(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function $e(Ce){switch(Ce.length){case 0:return new d.ZN;case 1:return Ce[0];default:return new d.ZE(Ce)}}function ce(Ce,g,y,j,Me=new Map,We=new Map){const yt=[],bt=[];let Ft=-1,$t=null;if(j.forEach(rn=>{const an=rn.get("offset"),mn=an==Ft,Pn=mn&&$t||new Map;rn.forEach((xn,Sn)=>{let zn=Sn,Wn=xn;if("offset"!==Sn)switch(zn=g.normalizePropertyName(zn,yt),Wn){case d.k1:Wn=Me.get(Sn);break;case d.l3:Wn=We.get(Sn);break;default:Wn=g.normalizeStyleValue(Sn,zn,Wn,yt)}Pn.set(zn,Wn)}),mn||bt.push(Pn),$t=Pn,Ft=an}),yt.length)throw function Je(Ce){return new r.vHH(3502,!1)}();return bt}function it(Ce,g,y,j){switch(g){case"start":Ce.onStart(()=>j(y&&ue(y,"start",Ce)));break;case"done":Ce.onDone(()=>j(y&&ue(y,"done",Ce)));break;case"destroy":Ce.onDestroy(()=>j(y&&ue(y,"destroy",Ce)))}}function ue(Ce,g,y){const We=Ke(Ce.element,Ce.triggerName,Ce.fromState,Ce.toState,g||Ce.phaseName,y.totalTime??Ce.totalTime,!!y.disabled),yt=Ce._data;return null!=yt&&(We._data=yt),We}function Ke(Ce,g,y,j,Me="",We=0,yt){return{element:Ce,triggerName:g,fromState:y,toState:j,phaseName:Me,totalTime:We,disabled:!!yt}}function Qe(Ce,g,y){let j=Ce.get(g);return j||Ce.set(g,j=y),j}function Et(Ce){const g=Ce.indexOf(":");return[Ce.substring(1,g),Ce.slice(g+1)]}let Yt=(Ce,g)=>!1,Qt=(Ce,g,y)=>[],Wt=null;function Vt(Ce){const g=Ce.parentNode||Ce.host;return g===Wt?null:g}(Fe()||typeof Element<"u")&&(Dt()?(Wt=(()=>document.documentElement)(),Yt=(Ce,g)=>{for(;g;){if(g===Ce)return!0;g=Vt(g)}return!1}):Yt=(Ce,g)=>Ce.contains(g),Qt=(Ce,g,y)=>{if(y)return Array.from(Ce.querySelectorAll(g));const j=Ce.querySelector(g);return j?[j]:[]});let S=null,M=!1;const Ee=Yt,De=Qt;let vt=(()=>{class Ce{validateStyleProperty(y){return function J(Ce){S||(S=function Ae(){return typeof document<"u"?document.body:null}()||{},M=!!S.style&&"WebkitAppearance"in S.style);let g=!0;return S.style&&!function te(Ce){return"ebkit"==Ce.substring(1,6)}(Ce)&&(g=Ce in S.style,!g&&M&&(g="Webkit"+Ce.charAt(0).toUpperCase()+Ce.slice(1)in S.style)),g}(y)}matchesElement(y,j){return!1}containsElement(y,j){return Ee(y,j)}getParentElement(y){return Vt(y)}query(y,j,Me){return De(y,j,Me)}computeStyle(y,j,Me){return Me||""}animate(y,j,Me,We,yt,bt=[],Ft){return new d.ZN(Me,We)}}return Ce.\u0275fac=function(y){return new(y||Ce)},Ce.\u0275prov=r.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),St=(()=>{class Ce{}return Ce.NOOP=new vt,Ce})();const ht="ng-enter",xt="ng-leave",Oe="ng-trigger",Xe=".ng-trigger",Y="ng-animating",oe=".ng-animating";function x(Ce){if("number"==typeof Ce)return Ce;const g=Ce.match(/^(-?[\.\d]+)(m?s)/);return!g||g.length<2?0:h(parseFloat(g[1]),g[2])}function h(Ce,g){return"s"===g?1e3*Ce:Ce}function v(Ce,g,y){return Ce.hasOwnProperty("duration")?Ce:function c(Ce,g,y){let Me,We=0,yt="";if("string"==typeof Ce){const bt=Ce.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===bt)return g.push(u()),{duration:0,delay:0,easing:""};Me=h(parseFloat(bt[1]),bt[2]);const Ft=bt[3];null!=Ft&&(We=h(parseFloat(Ft),bt[4]));const $t=bt[5];$t&&(yt=$t)}else Me=Ce;if(!y){let bt=!1,Ft=g.length;Me<0&&(g.push(function T(){return new r.vHH(3100,!1)}()),bt=!0),We<0&&(g.push(function F(){return new r.vHH(3101,!1)}()),bt=!0),bt&&g.splice(Ft,0,u())}return{duration:Me,delay:We,easing:yt}}(Ce,g,y)}function b(Ce,g={}){return Object.keys(Ce).forEach(y=>{g[y]=Ce[y]}),g}function E(Ce){const g=new Map;return Object.keys(Ce).forEach(y=>{g.set(y,Ce[y])}),g}function z(Ce,g=new Map,y){if(y)for(let[j,Me]of y)g.set(j,Me);for(let[j,Me]of Ce)g.set(j,Me);return g}function Re(Ce,g,y){return y?g+":"+y+";":""}function nt(Ce){let g="";for(let y=0;y{const We=Ut(Me);y&&!y.has(Me)&&y.set(Me,Ce.style[We]),Ce.style[We]=j}),Fe()&&nt(Ce))}function Tt(Ce,g){Ce.style&&(g.forEach((y,j)=>{const Me=Ut(j);Ce.style[Me]=""}),Fe()&&nt(Ce))}function jt(Ce){return Array.isArray(Ce)?1==Ce.length?Ce[0]:(0,d.vP)(Ce):Ce}const cn=new RegExp("{{\\s*(.+?)\\s*}}","g");function tt(Ce){let g=[];if("string"==typeof Ce){let y;for(;y=cn.exec(Ce);)g.push(y[1]);cn.lastIndex=0}return g}function ot(Ce,g,y){const j=Ce.toString(),Me=j.replace(cn,(We,yt)=>{let bt=g[yt];return null==bt&&(y.push(function p(Ce){return new r.vHH(3003,!1)}()),bt=""),bt.toString()});return Me==j?Ce:Me}function ze(Ce){const g=[];let y=Ce.next();for(;!y.done;)g.push(y.value),y=Ce.next();return g}const Ct=/-+([a-z0-9])/g;function Ut(Ce){return Ce.replace(Ct,(...g)=>g[1].toUpperCase())}function tn(Ce){return Ce.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function yn(Ce,g,y){switch(g.type){case 7:return Ce.visitTrigger(g,y);case 0:return Ce.visitState(g,y);case 1:return Ce.visitTransition(g,y);case 2:return Ce.visitSequence(g,y);case 3:return Ce.visitGroup(g,y);case 4:return Ce.visitAnimate(g,y);case 5:return Ce.visitKeyframes(g,y);case 6:return Ce.visitStyle(g,y);case 8:return Ce.visitReference(g,y);case 9:return Ce.visitAnimateChild(g,y);case 10:return Ce.visitAnimateRef(g,y);case 11:return Ce.visitQuery(g,y);case 12:return Ce.visitStagger(g,y);default:throw function W(Ce){return new r.vHH(3004,!1)}()}}function Hn(Ce,g){return window.getComputedStyle(Ce)[g]}function ee(Ce,g){const y=[];return"string"==typeof Ce?Ce.split(/\s*,\s*/).forEach(j=>function Te(Ce,g,y){if(":"==Ce[0]){const Ft=function be(Ce,g){switch(Ce){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(y,j)=>parseFloat(j)>parseFloat(y);case":decrement":return(y,j)=>parseFloat(j) *"}}(Ce,y);if("function"==typeof Ft)return void g.push(Ft);Ce=Ft}const j=Ce.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==j||j.length<4)return y.push(function pe(Ce){return new r.vHH(3015,!1)}()),g;const Me=j[1],We=j[2],yt=j[3];g.push(qt(Me,yt));"<"==We[0]&&!("*"==Me&&"*"==yt)&&g.push(qt(yt,Me))}(j,y,g)):y.push(Ce),y}const ve=new Set(["true","1"]),Pt=new Set(["false","0"]);function qt(Ce,g){const y=ve.has(Ce)||Pt.has(Ce),j=ve.has(g)||Pt.has(g);return(Me,We)=>{let yt="*"==Ce||Ce==Me,bt="*"==g||g==We;return!yt&&y&&"boolean"==typeof Me&&(yt=Me?ve.has(Ce):Pt.has(Ce)),!bt&&j&&"boolean"==typeof We&&(bt=We?ve.has(g):Pt.has(g)),yt&&bt}}const Fn=new RegExp("s*:selfs*,?","g");function jn(Ce,g,y,j){return new Mi(Ce).build(g,y,j)}class Mi{constructor(g){this._driver=g}build(g,y,j){const Me=new Xn(y);return this._resetContextStyleTimingState(Me),yn(this,jt(g),Me)}_resetContextStyleTimingState(g){g.currentQuerySelector="",g.collectedStyles=new Map,g.collectedStyles.set("",new Map),g.currentTime=0}visitTrigger(g,y){let j=y.queryCount=0,Me=y.depCount=0;const We=[],yt=[];return"@"==g.name.charAt(0)&&y.errors.push(function se(){return new r.vHH(3006,!1)}()),g.definitions.forEach(bt=>{if(this._resetContextStyleTimingState(y),0==bt.type){const Ft=bt,$t=Ft.name;$t.toString().split(/\s*,\s*/).forEach(rn=>{Ft.name=rn,We.push(this.visitState(Ft,y))}),Ft.name=$t}else if(1==bt.type){const Ft=this.visitTransition(bt,y);j+=Ft.queryCount,Me+=Ft.depCount,yt.push(Ft)}else y.errors.push(function le(){return new r.vHH(3007,!1)}())}),{type:7,name:g.name,states:We,transitions:yt,queryCount:j,depCount:Me,options:null}}visitState(g,y){const j=this.visitStyle(g.styles,y),Me=g.options&&g.options.params||null;if(j.containsDynamicStyles){const We=new Set,yt=Me||{};j.styles.forEach(bt=>{bt instanceof Map&&bt.forEach(Ft=>{tt(Ft).forEach($t=>{yt.hasOwnProperty($t)||We.add($t)})})}),We.size&&(ze(We.values()),y.errors.push(function me(Ce,g){return new r.vHH(3008,!1)}()))}return{type:0,name:g.name,style:j,options:Me?{params:Me}:null}}visitTransition(g,y){y.queryCount=0,y.depCount=0;const j=yn(this,jt(g.animation),y);return{type:1,matchers:ee(g.expr,y.errors),animation:j,queryCount:y.queryCount,depCount:y.depCount,options:xi(g.options)}}visitSequence(g,y){return{type:2,steps:g.steps.map(j=>yn(this,j,y)),options:xi(g.options)}}visitGroup(g,y){const j=y.currentTime;let Me=0;const We=g.steps.map(yt=>{y.currentTime=j;const bt=yn(this,yt,y);return Me=Math.max(Me,y.currentTime),bt});return y.currentTime=Me,{type:3,steps:We,options:xi(g.options)}}visitAnimate(g,y){const j=function Ii(Ce,g){if(Ce.hasOwnProperty("duration"))return Ce;if("number"==typeof Ce)return Ai(v(Ce,g).duration,0,"");const y=Ce;if(y.split(/\s+/).some(We=>"{"==We.charAt(0)&&"{"==We.charAt(1))){const We=Ai(0,0,"");return We.dynamic=!0,We.strValue=y,We}const Me=v(y,g);return Ai(Me.duration,Me.delay,Me.easing)}(g.timings,y.errors);y.currentAnimateTimings=j;let Me,We=g.styles?g.styles:(0,d.oB)({});if(5==We.type)Me=this.visitKeyframes(We,y);else{let yt=g.styles,bt=!1;if(!yt){bt=!0;const $t={};j.easing&&($t.easing=j.easing),yt=(0,d.oB)($t)}y.currentTime+=j.duration+j.delay;const Ft=this.visitStyle(yt,y);Ft.isEmptyStep=bt,Me=Ft}return y.currentAnimateTimings=null,{type:4,timings:j,style:Me,options:null}}visitStyle(g,y){const j=this._makeStyleAst(g,y);return this._validateStyleAst(j,y),j}_makeStyleAst(g,y){const j=[],Me=Array.isArray(g.styles)?g.styles:[g.styles];for(let bt of Me)"string"==typeof bt?bt===d.l3?j.push(bt):y.errors.push(new r.vHH(3002,!1)):j.push(E(bt));let We=!1,yt=null;return j.forEach(bt=>{if(bt instanceof Map&&(bt.has("easing")&&(yt=bt.get("easing"),bt.delete("easing")),!We))for(let Ft of bt.values())if(Ft.toString().indexOf("{{")>=0){We=!0;break}}),{type:6,styles:j,easing:yt,offset:g.offset,containsDynamicStyles:We,options:null}}_validateStyleAst(g,y){const j=y.currentAnimateTimings;let Me=y.currentTime,We=y.currentTime;j&&We>0&&(We-=j.duration+j.delay),g.styles.forEach(yt=>{"string"!=typeof yt&&yt.forEach((bt,Ft)=>{const $t=y.collectedStyles.get(y.currentQuerySelector),rn=$t.get(Ft);let an=!0;rn&&(We!=Me&&We>=rn.startTime&&Me<=rn.endTime&&(y.errors.push(function Ze(Ce,g,y,j,Me){return new r.vHH(3010,!1)}()),an=!1),We=rn.startTime),an&&$t.set(Ft,{startTime:We,endTime:Me}),y.options&&function en(Ce,g,y){const j=g.params||{},Me=tt(Ce);Me.length&&Me.forEach(We=>{j.hasOwnProperty(We)||y.push(function w(Ce){return new r.vHH(3001,!1)}())})}(bt,y.options,y.errors)})})}visitKeyframes(g,y){const j={type:5,styles:[],options:null};if(!y.currentAnimateTimings)return y.errors.push(function Ne(){return new r.vHH(3011,!1)}()),j;let We=0;const yt=[];let bt=!1,Ft=!1,$t=0;const rn=g.steps.map(Wn=>{const ti=this._makeStyleAst(Wn,y);let di=null!=ti.offset?ti.offset:function mi(Ce){if("string"==typeof Ce)return null;let g=null;if(Array.isArray(Ce))Ce.forEach(y=>{if(y instanceof Map&&y.has("offset")){const j=y;g=parseFloat(j.get("offset")),j.delete("offset")}});else if(Ce instanceof Map&&Ce.has("offset")){const y=Ce;g=parseFloat(y.get("offset")),y.delete("offset")}return g}(ti.styles),ni=0;return null!=di&&(We++,ni=ti.offset=di),Ft=Ft||ni<0||ni>1,bt=bt||ni<$t,$t=ni,yt.push(ni),ti});Ft&&y.errors.push(function gt(){return new r.vHH(3012,!1)}()),bt&&y.errors.push(function N(){return new r.vHH(3200,!1)}());const an=g.steps.length;let mn=0;We>0&&We{const di=mn>0?ti==Pn?1:mn*ti:yt[ti],ni=di*zn;y.currentTime=xn+Sn.delay+ni,Sn.duration=ni,this._validateStyleAst(Wn,y),Wn.offset=di,j.styles.push(Wn)}),j}visitReference(g,y){return{type:8,animation:yn(this,jt(g.animation),y),options:xi(g.options)}}visitAnimateChild(g,y){return y.depCount++,{type:9,options:xi(g.options)}}visitAnimateRef(g,y){return{type:10,animation:this.visitReference(g.animation,y),options:xi(g.options)}}visitQuery(g,y){const j=y.currentQuerySelector,Me=g.options||{};y.queryCount++,y.currentQuery=g;const[We,yt]=function Nn(Ce){const g=!!Ce.split(/\s*,\s*/).find(y=>":self"==y);return g&&(Ce=Ce.replace(Fn,"")),Ce=Ce.replace(/@\*/g,Xe).replace(/@\w+/g,y=>Xe+"-"+y.slice(1)).replace(/:animating/g,oe),[Ce,g]}(g.selector);y.currentQuerySelector=j.length?j+" "+We:We,Qe(y.collectedStyles,y.currentQuerySelector,new Map);const bt=yn(this,jt(g.animation),y);return y.currentQuery=null,y.currentQuerySelector=j,{type:11,selector:We,limit:Me.limit||0,optional:!!Me.optional,includeSelf:yt,animation:bt,originalSelector:g.selector,options:xi(g.options)}}visitStagger(g,y){y.currentQuery||y.errors.push(function X(){return new r.vHH(3013,!1)}());const j="full"===g.timings?{duration:0,delay:0,easing:"full"}:v(g.timings,y.errors,!0);return{type:12,animation:yn(this,jt(g.animation),y),timings:j,options:null}}}class Xn{constructor(g){this.errors=g,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function xi(Ce){return Ce?(Ce=b(Ce)).params&&(Ce.params=function ii(Ce){return Ce?b(Ce):null}(Ce.params)):Ce={},Ce}function Ai(Ce,g,y){return{duration:Ce,delay:g,easing:y}}function ci(Ce,g,y,j,Me,We,yt=null,bt=!1){return{type:1,element:Ce,keyframes:g,preStyleProps:y,postStyleProps:j,duration:Me,delay:We,totalTime:Me+We,easing:yt,subTimeline:bt}}class qi{constructor(){this._map=new Map}get(g){return this._map.get(g)||[]}append(g,y){let j=this._map.get(g);j||this._map.set(g,j=[]),j.push(...y)}has(g){return this._map.has(g)}clear(){this._map.clear()}}const pr=new RegExp(":enter","g"),hi=new RegExp(":leave","g");function Cr(Ce,g,y,j,Me,We=new Map,yt=new Map,bt,Ft,$t=[]){return(new ds).buildKeyframes(Ce,g,y,j,Me,We,yt,bt,Ft,$t)}class ds{buildKeyframes(g,y,j,Me,We,yt,bt,Ft,$t,rn=[]){$t=$t||new qi;const an=new ji(g,y,$t,Me,We,rn,[]);an.options=Ft;const mn=Ft.delay?x(Ft.delay):0;an.currentTimeline.delayNextStep(mn),an.currentTimeline.setStyles([yt],null,an.errors,Ft),yn(this,j,an);const Pn=an.timelines.filter(xn=>xn.containsAnimation());if(Pn.length&&bt.size){let xn;for(let Sn=Pn.length-1;Sn>=0;Sn--){const zn=Pn[Sn];if(zn.element===y){xn=zn;break}}xn&&!xn.allowOnlyTimelineStyles()&&xn.setStyles([bt],null,an.errors,Ft)}return Pn.length?Pn.map(xn=>xn.buildKeyframes()):[ci(y,[],[],[],0,mn,"",!1)]}visitTrigger(g,y){}visitState(g,y){}visitTransition(g,y){}visitAnimateChild(g,y){const j=y.subInstructions.get(y.element);if(j){const Me=y.createSubContext(g.options),We=y.currentTimeline.currentTime,yt=this._visitSubInstructions(j,Me,Me.options);We!=yt&&y.transformIntoNewTimeline(yt)}y.previousNode=g}visitAnimateRef(g,y){const j=y.createSubContext(g.options);j.transformIntoNewTimeline(),this._applyAnimationRefDelays([g.options,g.animation.options],y,j),this.visitReference(g.animation,j),y.transformIntoNewTimeline(j.currentTimeline.currentTime),y.previousNode=g}_applyAnimationRefDelays(g,y,j){for(const Me of g){const We=Me?.delay;if(We){const yt="number"==typeof We?We:x(ot(We,Me?.params??{},y.errors));j.delayNextStep(yt)}}}_visitSubInstructions(g,y,j){let We=y.currentTimeline.currentTime;const yt=null!=j.duration?x(j.duration):null,bt=null!=j.delay?x(j.delay):null;return 0!==yt&&g.forEach(Ft=>{const $t=y.appendInstructionToTimeline(Ft,yt,bt);We=Math.max(We,$t.duration+$t.delay)}),We}visitReference(g,y){y.updateOptions(g.options,!0),yn(this,g.animation,y),y.previousNode=g}visitSequence(g,y){const j=y.subContextCount;let Me=y;const We=g.options;if(We&&(We.params||We.delay)&&(Me=y.createSubContext(We),Me.transformIntoNewTimeline(),null!=We.delay)){6==Me.previousNode.type&&(Me.currentTimeline.snapshotCurrentStyles(),Me.previousNode=er);const yt=x(We.delay);Me.delayNextStep(yt)}g.steps.length&&(g.steps.forEach(yt=>yn(this,yt,Me)),Me.currentTimeline.applyStylesToKeyframe(),Me.subContextCount>j&&Me.transformIntoNewTimeline()),y.previousNode=g}visitGroup(g,y){const j=[];let Me=y.currentTimeline.currentTime;const We=g.options&&g.options.delay?x(g.options.delay):0;g.steps.forEach(yt=>{const bt=y.createSubContext(g.options);We&&bt.delayNextStep(We),yn(this,yt,bt),Me=Math.max(Me,bt.currentTimeline.currentTime),j.push(bt.currentTimeline)}),j.forEach(yt=>y.currentTimeline.mergeTimelineCollectedStyles(yt)),y.transformIntoNewTimeline(Me),y.previousNode=g}_visitTiming(g,y){if(g.dynamic){const j=g.strValue;return v(y.params?ot(j,y.params,y.errors):j,y.errors)}return{duration:g.duration,delay:g.delay,easing:g.easing}}visitAnimate(g,y){const j=y.currentAnimateTimings=this._visitTiming(g.timings,y),Me=y.currentTimeline;j.delay&&(y.incrementTime(j.delay),Me.snapshotCurrentStyles());const We=g.style;5==We.type?this.visitKeyframes(We,y):(y.incrementTime(j.duration),this.visitStyle(We,y),Me.applyStylesToKeyframe()),y.currentAnimateTimings=null,y.previousNode=g}visitStyle(g,y){const j=y.currentTimeline,Me=y.currentAnimateTimings;!Me&&j.hasCurrentStyleProperties()&&j.forwardFrame();const We=Me&&Me.easing||g.easing;g.isEmptyStep?j.applyEmptyStep(We):j.setStyles(g.styles,We,y.errors,y.options),y.previousNode=g}visitKeyframes(g,y){const j=y.currentAnimateTimings,Me=y.currentTimeline.duration,We=j.duration,bt=y.createSubContext().currentTimeline;bt.easing=j.easing,g.styles.forEach(Ft=>{bt.forwardTime((Ft.offset||0)*We),bt.setStyles(Ft.styles,Ft.easing,y.errors,y.options),bt.applyStylesToKeyframe()}),y.currentTimeline.mergeTimelineCollectedStyles(bt),y.transformIntoNewTimeline(Me+We),y.previousNode=g}visitQuery(g,y){const j=y.currentTimeline.currentTime,Me=g.options||{},We=Me.delay?x(Me.delay):0;We&&(6===y.previousNode.type||0==j&&y.currentTimeline.hasCurrentStyleProperties())&&(y.currentTimeline.snapshotCurrentStyles(),y.previousNode=er);let yt=j;const bt=y.invokeQuery(g.selector,g.originalSelector,g.limit,g.includeSelf,!!Me.optional,y.errors);y.currentQueryTotal=bt.length;let Ft=null;bt.forEach(($t,rn)=>{y.currentQueryIndex=rn;const an=y.createSubContext(g.options,$t);We&&an.delayNextStep(We),$t===y.element&&(Ft=an.currentTimeline),yn(this,g.animation,an),an.currentTimeline.applyStylesToKeyframe(),yt=Math.max(yt,an.currentTimeline.currentTime)}),y.currentQueryIndex=0,y.currentQueryTotal=0,y.transformIntoNewTimeline(yt),Ft&&(y.currentTimeline.mergeTimelineCollectedStyles(Ft),y.currentTimeline.snapshotCurrentStyles()),y.previousNode=g}visitStagger(g,y){const j=y.parentContext,Me=y.currentTimeline,We=g.timings,yt=Math.abs(We.duration),bt=yt*(y.currentQueryTotal-1);let Ft=yt*y.currentQueryIndex;switch(We.duration<0?"reverse":We.easing){case"reverse":Ft=bt-Ft;break;case"full":Ft=j.currentStaggerTime}const rn=y.currentTimeline;Ft&&rn.delayNextStep(Ft);const an=rn.currentTime;yn(this,g.animation,y),y.previousNode=g,j.currentStaggerTime=Me.currentTime-an+(Me.startTime-j.currentTimeline.startTime)}}const er={};class ji{constructor(g,y,j,Me,We,yt,bt,Ft){this._driver=g,this.element=y,this.subInstructions=j,this._enterClassName=Me,this._leaveClassName=We,this.errors=yt,this.timelines=bt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=er,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ft||new Ni(this._driver,y,0),bt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(g,y){if(!g)return;const j=g;let Me=this.options;null!=j.duration&&(Me.duration=x(j.duration)),null!=j.delay&&(Me.delay=x(j.delay));const We=j.params;if(We){let yt=Me.params;yt||(yt=this.options.params={}),Object.keys(We).forEach(bt=>{(!y||!yt.hasOwnProperty(bt))&&(yt[bt]=ot(We[bt],yt,this.errors))})}}_copyOptions(){const g={};if(this.options){const y=this.options.params;if(y){const j=g.params={};Object.keys(y).forEach(Me=>{j[Me]=y[Me]})}}return g}createSubContext(g=null,y,j){const Me=y||this.element,We=new ji(this._driver,Me,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Me,j||0));return We.previousNode=this.previousNode,We.currentAnimateTimings=this.currentAnimateTimings,We.options=this._copyOptions(),We.updateOptions(g),We.currentQueryIndex=this.currentQueryIndex,We.currentQueryTotal=this.currentQueryTotal,We.parentContext=this,this.subContextCount++,We}transformIntoNewTimeline(g){return this.previousNode=er,this.currentTimeline=this.currentTimeline.fork(this.element,g),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(g,y,j){const Me={duration:y??g.duration,delay:this.currentTimeline.currentTime+(j??0)+g.delay,easing:""},We=new Oi(this._driver,g.element,g.keyframes,g.preStyleProps,g.postStyleProps,Me,g.stretchStartingKeyframe);return this.timelines.push(We),Me}incrementTime(g){this.currentTimeline.forwardTime(this.currentTimeline.duration+g)}delayNextStep(g){g>0&&this.currentTimeline.delayNextStep(g)}invokeQuery(g,y,j,Me,We,yt){let bt=[];if(Me&&bt.push(this.element),g.length>0){g=(g=g.replace(pr,"."+this._enterClassName)).replace(hi,"."+this._leaveClassName);let $t=this._driver.query(this.element,g,1!=j);0!==j&&($t=j<0?$t.slice($t.length+j,$t.length):$t.slice(0,j)),bt.push(...$t)}return!We&&0==bt.length&&yt.push(function ie(Ce){return new r.vHH(3014,!1)}()),bt}}class Ni{constructor(g,y,j,Me){this._driver=g,this.element=y,this.startTime=j,this._elementTimelineStylesLookup=Me,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(y),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(y,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(g){const y=1===this._keyframes.size&&this._pendingStyles.size;this.duration||y?(this.forwardTime(this.currentTime+g),y&&this.snapshotCurrentStyles()):this.startTime+=g}fork(g,y){return this.applyStylesToKeyframe(),new Ni(this._driver,g,y||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(g){this.applyStylesToKeyframe(),this.duration=g,this._loadKeyframe()}_updateStyle(g,y){this._localTimelineStyles.set(g,y),this._globalTimelineStyles.set(g,y),this._styleSummary.set(g,{time:this.currentTime,value:y})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(g){g&&this._previousKeyframe.set("easing",g);for(let[y,j]of this._globalTimelineStyles)this._backFill.set(y,j||d.l3),this._currentKeyframe.set(y,d.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(g,y,j,Me){y&&this._previousKeyframe.set("easing",y);const We=Me&&Me.params||{},yt=function Dr(Ce,g){const y=new Map;let j;return Ce.forEach(Me=>{if("*"===Me){j=j||g.keys();for(let We of j)y.set(We,d.l3)}else z(Me,y)}),y}(g,this._globalTimelineStyles);for(let[bt,Ft]of yt){const $t=ot(Ft,We,j);this._pendingStyles.set(bt,$t),this._localTimelineStyles.has(bt)||this._backFill.set(bt,this._globalTimelineStyles.get(bt)??d.l3),this._updateStyle(bt,$t)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((g,y)=>{this._currentKeyframe.set(y,g)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((g,y)=>{this._currentKeyframe.has(y)||this._currentKeyframe.set(y,g)}))}snapshotCurrentStyles(){for(let[g,y]of this._localTimelineStyles)this._pendingStyles.set(g,y),this._updateStyle(g,y)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const g=[];for(let y in this._currentKeyframe)g.push(y);return g}mergeTimelineCollectedStyles(g){g._styleSummary.forEach((y,j)=>{const Me=this._styleSummary.get(j);(!Me||y.time>Me.time)&&this._updateStyle(j,y.value)})}buildKeyframes(){this.applyStylesToKeyframe();const g=new Set,y=new Set,j=1===this._keyframes.size&&0===this.duration;let Me=[];this._keyframes.forEach((bt,Ft)=>{const $t=z(bt,new Map,this._backFill);$t.forEach((rn,an)=>{rn===d.k1?g.add(an):rn===d.l3&&y.add(an)}),j||$t.set("offset",Ft/this.duration),Me.push($t)});const We=g.size?ze(g.values()):[],yt=y.size?ze(y.values()):[];if(j){const bt=Me[0],Ft=new Map(bt);bt.set("offset",0),Ft.set("offset",1),Me=[bt,Ft]}return ci(this.element,Me,We,yt,this.duration,this.startTime,this.easing,!1)}}class Oi extends Ni{constructor(g,y,j,Me,We,yt,bt=!1){super(g,y,yt.delay),this.keyframes=j,this.preStyleProps=Me,this.postStyleProps=We,this._stretchStartingKeyframe=bt,this.timings={duration:yt.duration,delay:yt.delay,easing:yt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let g=this.keyframes,{delay:y,duration:j,easing:Me}=this.timings;if(this._stretchStartingKeyframe&&y){const We=[],yt=j+y,bt=y/yt,Ft=z(g[0]);Ft.set("offset",0),We.push(Ft);const $t=z(g[0]);$t.set("offset",Vi(bt)),We.push($t);const rn=g.length-1;for(let an=1;an<=rn;an++){let mn=z(g[an]);const Pn=mn.get("offset");mn.set("offset",Vi((y+Pn*j)/yt)),We.push(mn)}j=yt,y=0,Me="",g=We}return ci(this.element,g,this.preStyleProps,this.postStyleProps,j,y,Me,!0)}}function Vi(Ce,g=3){const y=Math.pow(10,g-1);return Math.round(Ce*y)/y}class Mr{}const fr=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 Fr extends Mr{normalizePropertyName(g,y){return Ut(g)}normalizeStyleValue(g,y,j,Me){let We="";const yt=j.toString().trim();if(fr.has(y)&&0!==j&&"0"!==j)if("number"==typeof j)We="px";else{const bt=j.match(/^[+-]?[\d\.]+([a-z]*)$/);bt&&0==bt[1].length&&Me.push(function ae(Ce,g){return new r.vHH(3005,!1)}())}return yt+We}}function gi(Ce,g,y,j,Me,We,yt,bt,Ft,$t,rn,an,mn){return{type:0,element:Ce,triggerName:g,isRemovalTransition:Me,fromState:y,fromStyles:We,toState:j,toStyles:yt,timelines:bt,queriedElements:Ft,preStyleProps:$t,postStyleProps:rn,totalTime:an,errors:mn}}const mr={};class Ui{constructor(g,y,j){this._triggerName=g,this.ast=y,this._stateStyles=j}match(g,y,j,Me){return function _i(Ce,g,y,j,Me){return Ce.some(We=>We(g,y,j,Me))}(this.ast.matchers,g,y,j,Me)}buildStyles(g,y,j){let Me=this._stateStyles.get("*");return void 0!==g&&(Me=this._stateStyles.get(g?.toString())||Me),Me?Me.buildStyles(y,j):new Map}build(g,y,j,Me,We,yt,bt,Ft,$t,rn){const an=[],mn=this.ast.options&&this.ast.options.params||mr,xn=this.buildStyles(j,bt&&bt.params||mr,an),Sn=Ft&&Ft.params||mr,zn=this.buildStyles(Me,Sn,an),Wn=new Set,ti=new Map,di=new Map,ni="void"===Me,cr={params:Yi(Sn,mn),delay:this.ast.options?.delay},Gi=rn?[]:Cr(g,y,this.ast.animation,We,yt,xn,zn,cr,$t,an);let vi=0;if(Gi.forEach(yi=>{vi=Math.max(yi.duration+yi.delay,vi)}),an.length)return gi(y,this._triggerName,j,Me,ni,xn,zn,[],[],ti,di,vi,an);Gi.forEach(yi=>{const Ti=yi.element,Vs=Qe(ti,Ti,new Set);yi.preStyleProps.forEach(zi=>Vs.add(zi));const Nr=Qe(di,Ti,new Set);yi.postStyleProps.forEach(zi=>Nr.add(zi)),Ti!==y&&Wn.add(Ti)});const br=ze(Wn.values());return gi(y,this._triggerName,j,Me,ni,xn,zn,Gi,br,ti,di,vi)}}function Yi(Ce,g){const y=b(g);for(const j in Ce)Ce.hasOwnProperty(j)&&null!=Ce[j]&&(y[j]=Ce[j]);return y}class gr{constructor(g,y,j){this.styles=g,this.defaultParams=y,this.normalizer=j}buildStyles(g,y){const j=new Map,Me=b(this.defaultParams);return Object.keys(g).forEach(We=>{const yt=g[We];null!==yt&&(Me[We]=yt)}),this.styles.styles.forEach(We=>{"string"!=typeof We&&We.forEach((yt,bt)=>{yt&&(yt=ot(yt,Me,y));const Ft=this.normalizer.normalizePropertyName(bt,y);yt=this.normalizer.normalizeStyleValue(bt,Ft,yt,y),j.set(Ft,yt)})}),j}}class _r{constructor(g,y,j){this.name=g,this.ast=y,this._normalizer=j,this.transitionFactories=[],this.states=new Map,y.states.forEach(Me=>{this.states.set(Me.name,new gr(Me.style,Me.options&&Me.options.params||{},j))}),nr(this.states,"true","1"),nr(this.states,"false","0"),y.transitions.forEach(Me=>{this.transitionFactories.push(new Ui(g,Me,this.states))}),this.fallbackTransition=function tr(Ce,g,y){return new Ui(Ce,{type:1,animation:{type:2,steps:[],options:null},matchers:[(yt,bt)=>!0],options:null,queryCount:0,depCount:0},g)}(g,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(g,y,j,Me){return this.transitionFactories.find(yt=>yt.match(g,y,j,Me))||null}matchStyles(g,y,j){return this.fallbackTransition.buildStyles(g,y,j)}}function nr(Ce,g,y){Ce.has(g)?Ce.has(y)||Ce.set(y,Ce.get(g)):Ce.has(y)&&Ce.set(g,Ce.get(y))}const ct=new qi;class Ot{constructor(g,y,j){this.bodyNode=g,this._driver=y,this._normalizer=j,this._animations=new Map,this._playersById=new Map,this.players=[]}register(g,y){const j=[],We=jn(this._driver,y,j,[]);if(j.length)throw function pt(Ce){return new r.vHH(3503,!1)}();this._animations.set(g,We)}_buildPlayer(g,y,j){const Me=g.element,We=ce(0,this._normalizer,0,g.keyframes,y,j);return this._driver.animate(Me,We,g.duration,g.delay,g.easing,[],!0)}create(g,y,j={}){const Me=[],We=this._animations.get(g);let yt;const bt=new Map;if(We?(yt=Cr(this._driver,y,We,ht,xt,new Map,new Map,j,ct,Me),yt.forEach(rn=>{const an=Qe(bt,rn.element,new Map);rn.postStyleProps.forEach(mn=>an.set(mn,null))})):(Me.push(function Ge(){return new r.vHH(3300,!1)}()),yt=[]),Me.length)throw function At(Ce){return new r.vHH(3504,!1)}();bt.forEach((rn,an)=>{rn.forEach((mn,Pn)=>{rn.set(Pn,this._driver.computeStyle(an,Pn,d.l3))})});const $t=$e(yt.map(rn=>{const an=bt.get(rn.element);return this._buildPlayer(rn,new Map,an)}));return this._playersById.set(g,$t),$t.onDestroy(()=>this.destroy(g)),this.players.push($t),$t}destroy(g){const y=this._getPlayer(g);y.destroy(),this._playersById.delete(g);const j=this.players.indexOf(y);j>=0&&this.players.splice(j,1)}_getPlayer(g){const y=this._playersById.get(g);if(!y)throw function st(Ce){return new r.vHH(3301,!1)}();return y}listen(g,y,j,Me){const We=Ke(y,"","","");return it(this._getPlayer(g),j,We,Me),()=>{}}command(g,y,j,Me){if("register"==j)return void this.register(g,Me[0]);if("create"==j)return void this.create(g,y,Me[0]||{});const We=this._getPlayer(g);switch(j){case"play":We.play();break;case"pause":We.pause();break;case"reset":We.reset();break;case"restart":We.restart();break;case"finish":We.finish();break;case"init":We.init();break;case"setPosition":We.setPosition(parseFloat(Me[0]));break;case"destroy":this.destroy(g)}}}const U="ng-animate-queued",It="ng-animate-disabled",Zn=[],ei={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Jn="__ng_removed";class ir{constructor(g,y=""){this.namespaceId=y;const j=g&&g.hasOwnProperty("value");if(this.value=function Es(Ce){return Ce??null}(j?g.value:g),j){const We=b(g);delete We.value,this.options=We}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(g){const y=g.params;if(y){const j=this.options.params;Object.keys(y).forEach(Me=>{null==j[Me]&&(j[Me]=y[Me])})}}}const $i="void",pi=new ir($i);class us{constructor(g,y,j){this.id=g,this.hostElement=y,this._engine=j,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+g,fn(y,this._hostClassName)}listen(g,y,j,Me){if(!this._triggers.has(y))throw function _t(Ce,g){return new r.vHH(3302,!1)}();if(null==j||0==j.length)throw function et(Ce){return new r.vHH(3303,!1)}();if(!function wi(Ce){return"start"==Ce||"done"==Ce}(j))throw function mt(Ce,g){return new r.vHH(3400,!1)}();const We=Qe(this._elementListeners,g,[]),yt={name:y,phase:j,callback:Me};We.push(yt);const bt=Qe(this._engine.statesByElement,g,new Map);return bt.has(y)||(fn(g,Oe),fn(g,Oe+"-"+y),bt.set(y,pi)),()=>{this._engine.afterFlush(()=>{const Ft=We.indexOf(yt);Ft>=0&&We.splice(Ft,1),this._triggers.has(y)||bt.delete(y)})}}register(g,y){return!this._triggers.has(g)&&(this._triggers.set(g,y),!0)}_getTrigger(g){const y=this._triggers.get(g);if(!y)throw function he(Ce){return new r.vHH(3401,!1)}();return y}trigger(g,y,j,Me=!0){const We=this._getTrigger(y),yt=new sr(this.id,y,g);let bt=this._engine.statesByElement.get(g);bt||(fn(g,Oe),fn(g,Oe+"-"+y),this._engine.statesByElement.set(g,bt=new Map));let Ft=bt.get(y);const $t=new ir(j,this.id);if(!(j&&j.hasOwnProperty("value"))&&Ft&&$t.absorbOptions(Ft.options),bt.set(y,$t),Ft||(Ft=pi),$t.value!==$i&&Ft.value===$t.value){if(!function ar(Ce,g){const y=Object.keys(Ce),j=Object.keys(g);if(y.length!=j.length)return!1;for(let Me=0;Me{Tt(g,zn),wt(g,Wn)})}return}const mn=Qe(this._engine.playersByElement,g,[]);mn.forEach(Sn=>{Sn.namespaceId==this.id&&Sn.triggerName==y&&Sn.queued&&Sn.destroy()});let Pn=We.matchTransition(Ft.value,$t.value,g,$t.params),xn=!1;if(!Pn){if(!Me)return;Pn=We.fallbackTransition,xn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:y,transition:Pn,fromState:Ft,toState:$t,player:yt,isFallbackTransition:xn}),xn||(fn(g,U),yt.onStart(()=>{or(g,U)})),yt.onDone(()=>{let Sn=this.players.indexOf(yt);Sn>=0&&this.players.splice(Sn,1);const zn=this._engine.playersByElement.get(g);if(zn){let Wn=zn.indexOf(yt);Wn>=0&&zn.splice(Wn,1)}}),this.players.push(yt),mn.push(yt),yt}deregister(g){this._triggers.delete(g),this._engine.statesByElement.forEach(y=>y.delete(g)),this._elementListeners.forEach((y,j)=>{this._elementListeners.set(j,y.filter(Me=>Me.name!=g))})}clearElementCache(g){this._engine.statesByElement.delete(g),this._elementListeners.delete(g);const y=this._engine.playersByElement.get(g);y&&(y.forEach(j=>j.destroy()),this._engine.playersByElement.delete(g))}_signalRemovalForInnerTriggers(g,y){const j=this._engine.driver.query(g,Xe,!0);j.forEach(Me=>{if(Me[Jn])return;const We=this._engine.fetchNamespacesByElement(Me);We.size?We.forEach(yt=>yt.triggerLeaveAnimation(Me,y,!1,!0)):this.clearElementCache(Me)}),this._engine.afterFlushAnimationsDone(()=>j.forEach(Me=>this.clearElementCache(Me)))}triggerLeaveAnimation(g,y,j,Me){const We=this._engine.statesByElement.get(g),yt=new Map;if(We){const bt=[];if(We.forEach((Ft,$t)=>{if(yt.set($t,Ft.value),this._triggers.has($t)){const rn=this.trigger(g,$t,$i,Me);rn&&bt.push(rn)}}),bt.length)return this._engine.markElementAsRemoved(this.id,g,!0,y,yt),j&&$e(bt).onDone(()=>this._engine.processLeaveNode(g)),!0}return!1}prepareLeaveAnimationListeners(g){const y=this._elementListeners.get(g),j=this._engine.statesByElement.get(g);if(y&&j){const Me=new Set;y.forEach(We=>{const yt=We.name;if(Me.has(yt))return;Me.add(yt);const Ft=this._triggers.get(yt).fallbackTransition,$t=j.get(yt)||pi,rn=new ir($i),an=new sr(this.id,yt,g);this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:yt,transition:Ft,fromState:$t,toState:rn,player:an,isFallbackTransition:!0})})}}removeNode(g,y){const j=this._engine;if(g.childElementCount&&this._signalRemovalForInnerTriggers(g,y),this.triggerLeaveAnimation(g,y,!0))return;let Me=!1;if(j.totalAnimations){const We=j.players.length?j.playersByQueriedElement.get(g):[];if(We&&We.length)Me=!0;else{let yt=g;for(;yt=yt.parentNode;)if(j.statesByElement.get(yt)){Me=!0;break}}}if(this.prepareLeaveAnimationListeners(g),Me)j.markElementAsRemoved(this.id,g,!1,y);else{const We=g[Jn];(!We||We===ei)&&(j.afterFlush(()=>this.clearElementCache(g)),j.destroyInnerAnimations(g),j._onRemovalComplete(g,y))}}insertNode(g,y){fn(g,this._hostClassName)}drainQueuedTransitions(g){const y=[];return this._queue.forEach(j=>{const Me=j.player;if(Me.destroyed)return;const We=j.element,yt=this._elementListeners.get(We);yt&&yt.forEach(bt=>{if(bt.name==j.triggerName){const Ft=Ke(We,j.triggerName,j.fromState.value,j.toState.value);Ft._data=g,it(j.player,bt.phase,Ft,bt.callback)}}),Me.markedForDestroy?this._engine.afterFlush(()=>{Me.destroy()}):y.push(j)}),this._queue=[],y.sort((j,Me)=>{const We=j.transition.ast.depCount,yt=Me.transition.ast.depCount;return 0==We||0==yt?We-yt:this._engine.driver.containsElement(j.element,Me.element)?1:-1})}destroy(g){this.players.forEach(y=>y.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,g)}elementContainsData(g){let y=!1;return this._elementListeners.has(g)&&(y=!0),y=!!this._queue.find(j=>j.element===g)||y,y}}class rr{constructor(g,y,j){this.bodyNode=g,this.driver=y,this._normalizer=j,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=(Me,We)=>{}}_onRemovalComplete(g,y){this.onRemovalComplete(g,y)}get queuedPlayers(){const g=[];return this._namespaceList.forEach(y=>{y.players.forEach(j=>{j.queued&&g.push(j)})}),g}createNamespace(g,y){const j=new us(g,y,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,y)?this._balanceNamespaceList(j,y):(this.newHostElements.set(y,j),this.collectEnterElement(y)),this._namespaceLookup[g]=j}_balanceNamespaceList(g,y){const j=this._namespaceList,Me=this.namespacesByHostElement;if(j.length-1>=0){let yt=!1,bt=this.driver.getParentElement(y);for(;bt;){const Ft=Me.get(bt);if(Ft){const $t=j.indexOf(Ft);j.splice($t+1,0,g),yt=!0;break}bt=this.driver.getParentElement(bt)}yt||j.unshift(g)}else j.push(g);return Me.set(y,g),g}register(g,y){let j=this._namespaceLookup[g];return j||(j=this.createNamespace(g,y)),j}registerTrigger(g,y,j){let Me=this._namespaceLookup[g];Me&&Me.register(y,j)&&this.totalAnimations++}destroy(g,y){if(!g)return;const j=this._fetchNamespace(g);this.afterFlush(()=>{this.namespacesByHostElement.delete(j.hostElement),delete this._namespaceLookup[g];const Me=this._namespaceList.indexOf(j);Me>=0&&this._namespaceList.splice(Me,1)}),this.afterFlushAnimationsDone(()=>j.destroy(y))}_fetchNamespace(g){return this._namespaceLookup[g]}fetchNamespacesByElement(g){const y=new Set,j=this.statesByElement.get(g);if(j)for(let Me of j.values())if(Me.namespaceId){const We=this._fetchNamespace(Me.namespaceId);We&&y.add(We)}return y}trigger(g,y,j,Me){if(Ri(y)){const We=this._fetchNamespace(g);if(We)return We.trigger(y,j,Me),!0}return!1}insertNode(g,y,j,Me){if(!Ri(y))return;const We=y[Jn];if(We&&We.setForRemoval){We.setForRemoval=!1,We.setForMove=!0;const yt=this.collectedLeaveElements.indexOf(y);yt>=0&&this.collectedLeaveElements.splice(yt,1)}if(g){const yt=this._fetchNamespace(g);yt&&yt.insertNode(y,j)}Me&&this.collectEnterElement(y)}collectEnterElement(g){this.collectedEnterElements.push(g)}markElementAsDisabled(g,y){y?this.disabledNodes.has(g)||(this.disabledNodes.add(g),fn(g,It)):this.disabledNodes.has(g)&&(this.disabledNodes.delete(g),or(g,It))}removeNode(g,y,j,Me){if(Ri(y)){const We=g?this._fetchNamespace(g):null;if(We?We.removeNode(y,Me):this.markElementAsRemoved(g,y,!1,Me),j){const yt=this.namespacesByHostElement.get(y);yt&&yt.id!==g&&yt.removeNode(y,Me)}}else this._onRemovalComplete(y,Me)}markElementAsRemoved(g,y,j,Me,We){this.collectedLeaveElements.push(y),y[Jn]={namespaceId:g,setForRemoval:Me,hasAnimation:j,removedBeforeQueried:!1,previousTriggersValues:We}}listen(g,y,j,Me,We){return Ri(y)?this._fetchNamespace(g).listen(y,j,Me,We):()=>{}}_buildInstruction(g,y,j,Me,We){return g.transition.build(this.driver,g.element,g.fromState.value,g.toState.value,j,Me,g.fromState.options,g.toState.options,y,We)}destroyInnerAnimations(g){let y=this.driver.query(g,Xe,!0);y.forEach(j=>this.destroyActiveAnimationsForElement(j)),0!=this.playersByQueriedElement.size&&(y=this.driver.query(g,oe,!0),y.forEach(j=>this.finishActiveQueriedAnimationOnElement(j)))}destroyActiveAnimationsForElement(g){const y=this.playersByElement.get(g);y&&y.forEach(j=>{j.queued?j.markedForDestroy=!0:j.destroy()})}finishActiveQueriedAnimationOnElement(g){const y=this.playersByQueriedElement.get(g);y&&y.forEach(j=>j.finish())}whenRenderingDone(){return new Promise(g=>{if(this.players.length)return $e(this.players).onDone(()=>g());g()})}processLeaveNode(g){const y=g[Jn];if(y&&y.setForRemoval){if(g[Jn]=ei,y.namespaceId){this.destroyInnerAnimations(g);const j=this._fetchNamespace(y.namespaceId);j&&j.clearElementCache(g)}this._onRemovalComplete(g,y.setForRemoval)}g.classList?.contains(It)&&this.markElementAsDisabled(g,!1),this.driver.query(g,".ng-animate-disabled",!0).forEach(j=>{this.markElementAsDisabled(j,!1)})}flush(g=-1){let y=[];if(this.newHostElements.size&&(this.newHostElements.forEach((j,Me)=>this._balanceNamespaceList(j,Me)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let j=0;jj()),this._flushFns=[],this._whenQuietFns.length){const j=this._whenQuietFns;this._whenQuietFns=[],y.length?$e(y).onDone(()=>{j.forEach(Me=>Me())}):j.forEach(Me=>Me())}}reportError(g){throw function G(Ce){return new r.vHH(3402,!1)}()}_flushAnimations(g,y){const j=new qi,Me=[],We=new Map,yt=[],bt=new Map,Ft=new Map,$t=new Map,rn=new Set;this.disabledNodes.forEach(I=>{rn.add(I);const q=this.driver.query(I,".ng-animate-queued",!0);for(let k=0;k{const k=ht+Sn++;xn.set(q,k),I.forEach(_e=>fn(_e,k))});const zn=[],Wn=new Set,ti=new Set;for(let I=0;IWn.add(_e)):ti.add(q))}const di=new Map,ni=xr(mn,Array.from(Wn));ni.forEach((I,q)=>{const k=xt+Sn++;di.set(q,k),I.forEach(_e=>fn(_e,k))}),g.push(()=>{Pn.forEach((I,q)=>{const k=xn.get(q);I.forEach(_e=>or(_e,k))}),ni.forEach((I,q)=>{const k=di.get(q);I.forEach(_e=>or(_e,k))}),zn.forEach(I=>{this.processLeaveNode(I)})});const cr=[],Gi=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(y).forEach(k=>{const _e=k.player,dt=k.element;if(cr.push(_e),this.collectedEnterElements.length){const Dn=dt[Jn];if(Dn&&Dn.setForMove){if(Dn.previousTriggersValues&&Dn.previousTriggersValues.has(k.triggerName)){const Yn=Dn.previousTriggersValues.get(k.triggerName),In=this.statesByElement.get(k.element);if(In&&In.has(k.triggerName)){const si=In.get(k.triggerName);si.value=Yn,In.set(k.triggerName,si)}}return void _e.destroy()}}const Lt=!an||!this.driver.containsElement(an,dt),zt=di.get(dt),dn=xn.get(dt),bn=this._buildInstruction(k,j,dn,zt,Lt);if(bn.errors&&bn.errors.length)return void Gi.push(bn);if(Lt)return _e.onStart(()=>Tt(dt,bn.fromStyles)),_e.onDestroy(()=>wt(dt,bn.toStyles)),void Me.push(_e);if(k.isFallbackTransition)return _e.onStart(()=>Tt(dt,bn.fromStyles)),_e.onDestroy(()=>wt(dt,bn.toStyles)),void Me.push(_e);const Rn=[];bn.timelines.forEach(Dn=>{Dn.stretchStartingKeyframe=!0,this.disabledNodes.has(Dn.element)||Rn.push(Dn)}),bn.timelines=Rn,j.append(dt,bn.timelines),yt.push({instruction:bn,player:_e,element:dt}),bn.queriedElements.forEach(Dn=>Qe(bt,Dn,[]).push(_e)),bn.preStyleProps.forEach((Dn,Yn)=>{if(Dn.size){let In=Ft.get(Yn);In||Ft.set(Yn,In=new Set),Dn.forEach((si,Wi)=>In.add(Wi))}}),bn.postStyleProps.forEach((Dn,Yn)=>{let In=$t.get(Yn);In||$t.set(Yn,In=new Set),Dn.forEach((si,Wi)=>In.add(Wi))})});if(Gi.length){const I=[];Gi.forEach(q=>{I.push(function ye(Ce,g){return new r.vHH(3505,!1)}())}),cr.forEach(q=>q.destroy()),this.reportError(I)}const vi=new Map,br=new Map;yt.forEach(I=>{const q=I.element;j.has(q)&&(br.set(q,q),this._beforeAnimationBuild(I.player.namespaceId,I.instruction,vi))}),Me.forEach(I=>{const q=I.element;this._getPreviousPlayers(q,!1,I.namespaceId,I.triggerName,null).forEach(_e=>{Qe(vi,q,[]).push(_e),_e.destroy()})});const yi=zn.filter(I=>Zi(I,Ft,$t)),Ti=new Map;Fi(Ti,this.driver,ti,$t,d.l3).forEach(I=>{Zi(I,Ft,$t)&&yi.push(I)});const Nr=new Map;Pn.forEach((I,q)=>{Fi(Nr,this.driver,new Set(I),Ft,d.k1)}),yi.forEach(I=>{const q=Ti.get(I),k=Nr.get(I);Ti.set(I,new Map([...Array.from(q?.entries()??[]),...Array.from(k?.entries()??[])]))});const zi=[],ns=[],Os={};yt.forEach(I=>{const{element:q,player:k,instruction:_e}=I;if(j.has(q)){if(rn.has(q))return k.onDestroy(()=>wt(q,_e.toStyles)),k.disabled=!0,k.overrideTotalTime(_e.totalTime),void Me.push(k);let dt=Os;if(br.size>1){let zt=q;const dn=[];for(;zt=zt.parentNode;){const bn=br.get(zt);if(bn){dt=bn;break}dn.push(zt)}dn.forEach(bn=>br.set(bn,dt))}const Lt=this._buildAnimation(k.namespaceId,_e,vi,We,Nr,Ti);if(k.setRealPlayer(Lt),dt===Os)zi.push(k);else{const zt=this.playersByElement.get(dt);zt&&zt.length&&(k.parentPlayer=$e(zt)),Me.push(k)}}else Tt(q,_e.fromStyles),k.onDestroy(()=>wt(q,_e.toStyles)),ns.push(k),rn.has(q)&&Me.push(k)}),ns.forEach(I=>{const q=We.get(I.element);if(q&&q.length){const k=$e(q);I.setRealPlayer(k)}}),Me.forEach(I=>{I.parentPlayer?I.syncPlayerEvents(I.parentPlayer):I.destroy()});for(let I=0;I!Lt.destroyed);dt.length?Qr(this,q,dt):this.processLeaveNode(q)}return zn.length=0,zi.forEach(I=>{this.players.push(I),I.onDone(()=>{I.destroy();const q=this.players.indexOf(I);this.players.splice(q,1)}),I.play()}),zi}elementContainsData(g,y){let j=!1;const Me=y[Jn];return Me&&Me.setForRemoval&&(j=!0),this.playersByElement.has(y)&&(j=!0),this.playersByQueriedElement.has(y)&&(j=!0),this.statesByElement.has(y)&&(j=!0),this._fetchNamespace(g).elementContainsData(y)||j}afterFlush(g){this._flushFns.push(g)}afterFlushAnimationsDone(g){this._whenQuietFns.push(g)}_getPreviousPlayers(g,y,j,Me,We){let yt=[];if(y){const bt=this.playersByQueriedElement.get(g);bt&&(yt=bt)}else{const bt=this.playersByElement.get(g);if(bt){const Ft=!We||We==$i;bt.forEach($t=>{$t.queued||!Ft&&$t.triggerName!=Me||yt.push($t)})}}return(j||Me)&&(yt=yt.filter(bt=>!(j&&j!=bt.namespaceId||Me&&Me!=bt.triggerName))),yt}_beforeAnimationBuild(g,y,j){const We=y.element,yt=y.isRemovalTransition?void 0:g,bt=y.isRemovalTransition?void 0:y.triggerName;for(const Ft of y.timelines){const $t=Ft.element,rn=$t!==We,an=Qe(j,$t,[]);this._getPreviousPlayers($t,rn,yt,bt,y.toState).forEach(Pn=>{const xn=Pn.getRealPlayer();xn.beforeDestroy&&xn.beforeDestroy(),Pn.destroy(),an.push(Pn)})}Tt(We,y.fromStyles)}_buildAnimation(g,y,j,Me,We,yt){const bt=y.triggerName,Ft=y.element,$t=[],rn=new Set,an=new Set,mn=y.timelines.map(xn=>{const Sn=xn.element;rn.add(Sn);const zn=Sn[Jn];if(zn&&zn.removedBeforeQueried)return new d.ZN(xn.duration,xn.delay);const Wn=Sn!==Ft,ti=function hs(Ce){const g=[];return Jr(Ce,g),g}((j.get(Sn)||Zn).map(vi=>vi.getRealPlayer())).filter(vi=>!!vi.element&&vi.element===Sn),di=We.get(Sn),ni=yt.get(Sn),cr=ce(0,this._normalizer,0,xn.keyframes,di,ni),Gi=this._buildPlayer(xn,cr,ti);if(xn.subTimeline&&Me&&an.add(Sn),Wn){const vi=new sr(g,bt,Sn);vi.setRealPlayer(Gi),$t.push(vi)}return Gi});$t.forEach(xn=>{Qe(this.playersByQueriedElement,xn.element,[]).push(xn),xn.onDone(()=>function oi(Ce,g,y){let j=Ce.get(g);if(j){if(j.length){const Me=j.indexOf(y);j.splice(Me,1)}0==j.length&&Ce.delete(g)}return j}(this.playersByQueriedElement,xn.element,xn))}),rn.forEach(xn=>fn(xn,Y));const Pn=$e(mn);return Pn.onDestroy(()=>{rn.forEach(xn=>or(xn,Y)),wt(Ft,y.toStyles)}),an.forEach(xn=>{Qe(Me,xn,[]).push(Pn)}),Pn}_buildPlayer(g,y,j){return y.length>0?this.driver.animate(g.element,y,g.duration,g.delay,g.easing,j):new d.ZN(g.duration,g.delay)}}class sr{constructor(g,y,j){this.namespaceId=g,this.triggerName=y,this.element=j,this._player=new d.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(g){this._containsRealPlayer||(this._player=g,this._queuedCallbacks.forEach((y,j)=>{y.forEach(Me=>it(g,j,void 0,Me))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(g.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(g){this.totalTime=g}syncPlayerEvents(g){const y=this._player;y.triggerCallback&&g.onStart(()=>y.triggerCallback("start")),g.onDone(()=>this.finish()),g.onDestroy(()=>this.destroy())}_queueEvent(g,y){Qe(this._queuedCallbacks,g,[]).push(y)}onDone(g){this.queued&&this._queueEvent("done",g),this._player.onDone(g)}onStart(g){this.queued&&this._queueEvent("start",g),this._player.onStart(g)}onDestroy(g){this.queued&&this._queueEvent("destroy",g),this._player.onDestroy(g)}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(g){this.queued||this._player.setPosition(g)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(g){const y=this._player;y.triggerCallback&&y.triggerCallback(g)}}function Ri(Ce){return Ce&&1===Ce.nodeType}function Ei(Ce,g){const y=Ce.style.display;return Ce.style.display=g??"none",y}function Fi(Ce,g,y,j,Me){const We=[];y.forEach(Ft=>We.push(Ei(Ft)));const yt=[];j.forEach((Ft,$t)=>{const rn=new Map;Ft.forEach(an=>{const mn=g.computeStyle($t,an,Me);rn.set(an,mn),(!mn||0==mn.length)&&($t[Jn]=Mn,yt.push($t))}),Ce.set($t,rn)});let bt=0;return y.forEach(Ft=>Ei(Ft,We[bt++])),yt}function xr(Ce,g){const y=new Map;if(Ce.forEach(bt=>y.set(bt,[])),0==g.length)return y;const Me=new Set(g),We=new Map;function yt(bt){if(!bt)return 1;let Ft=We.get(bt);if(Ft)return Ft;const $t=bt.parentNode;return Ft=y.has($t)?$t:Me.has($t)?1:yt($t),We.set(bt,Ft),Ft}return g.forEach(bt=>{const Ft=yt(bt);1!==Ft&&y.get(Ft).push(bt)}),y}function fn(Ce,g){Ce.classList?.add(g)}function or(Ce,g){Ce.classList?.remove(g)}function Qr(Ce,g,y){$e(y).onDone(()=>Ce.processLeaveNode(g))}function Jr(Ce,g){for(let y=0;yMe.add(We)):g.set(Ce,j),y.delete(Ce),!0}class Lr{constructor(g,y,j){this.bodyNode=g,this._driver=y,this._normalizer=j,this._triggerCache={},this.onRemovalComplete=(Me,We)=>{},this._transitionEngine=new rr(g,y,j),this._timelineEngine=new Ot(g,y,j),this._transitionEngine.onRemovalComplete=(Me,We)=>this.onRemovalComplete(Me,We)}registerTrigger(g,y,j,Me,We){const yt=g+"-"+Me;let bt=this._triggerCache[yt];if(!bt){const Ft=[],rn=jn(this._driver,We,Ft,[]);if(Ft.length)throw function Ve(Ce,g){return new r.vHH(3404,!1)}();bt=function ki(Ce,g,y){return new _r(Ce,g,y)}(Me,rn,this._normalizer),this._triggerCache[yt]=bt}this._transitionEngine.registerTrigger(y,Me,bt)}register(g,y){this._transitionEngine.register(g,y)}destroy(g,y){this._transitionEngine.destroy(g,y)}onInsert(g,y,j,Me){this._transitionEngine.insertNode(g,y,j,Me)}onRemove(g,y,j,Me){this._transitionEngine.removeNode(g,y,Me||!1,j)}disableAnimations(g,y){this._transitionEngine.markElementAsDisabled(g,y)}process(g,y,j,Me){if("@"==j.charAt(0)){const[We,yt]=Et(j);this._timelineEngine.command(We,y,yt,Me)}else this._transitionEngine.trigger(g,y,j,Me)}listen(g,y,j,Me,We){if("@"==j.charAt(0)){const[yt,bt]=Et(j);return this._timelineEngine.listen(yt,y,bt,We)}return this._transitionEngine.listen(g,y,j,Me,We)}flush(g=-1){this._transitionEngine.flush(g)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Kt=(()=>{class Ce{constructor(y,j,Me){this._element=y,this._startStyles=j,this._endStyles=Me,this._state=0;let We=Ce.initialStylesByElement.get(y);We||Ce.initialStylesByElement.set(y,We=new Map),this._initialStyles=We}start(){this._state<1&&(this._startStyles&&wt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(wt(this._element,this._initialStyles),this._endStyles&&(wt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ce.initialStylesByElement.delete(this._element),this._startStyles&&(Tt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Tt(this._element,this._endStyles),this._endStyles=null),wt(this._element,this._initialStyles),this._state=3)}}return Ce.initialStylesByElement=new WeakMap,Ce})();function Tn(Ce){let g=null;return Ce.forEach((y,j)=>{(function ps(Ce){return"display"===Ce||"position"===Ce})(j)&&(g=g||new Map,g.set(j,y))}),g}class qr{constructor(g,y,j,Me){this.element=g,this.keyframes=y,this.options=j,this._specialStyles=Me,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=j.duration,this._delay=j.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(g=>g()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const g=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,g,this.options),this._finalKeyframe=g.length?g[g.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(g){const y=[];return g.forEach(j=>{y.push(Object.fromEntries(j))}),y}_triggerWebAnimation(g,y,j){return g.animate(this._convertKeyframesToObject(y),j)}onStart(g){this._originalOnStartFns.push(g),this._onStartFns.push(g)}onDone(g){this._originalOnDoneFns.push(g),this._onDoneFns.push(g)}onDestroy(g){this._onDestroyFns.push(g)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(g=>g()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(g=>g()),this._onDestroyFns=[])}setPosition(g){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=g*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const g=new Map;this.hasStarted()&&this._finalKeyframe.forEach((j,Me)=>{"offset"!==Me&&g.set(Me,this._finished?j:Hn(this.element,Me))}),this.currentSnapshot=g}triggerCallback(g){const y="start"===g?this._onStartFns:this._onDoneFns;y.forEach(j=>j()),y.length=0}}class ri{validateStyleProperty(g){return!0}validateAnimatableStyleProperty(g){return!0}matchesElement(g,y){return!1}containsElement(g,y){return Ee(g,y)}getParentElement(g){return Vt(g)}query(g,y,j){return De(g,y,j)}computeStyle(g,y,j){return window.getComputedStyle(g)[y]}animate(g,y,j,Me,We,yt=[]){const Ft={duration:j,delay:Me,fill:0==Me?"both":"forwards"};We&&(Ft.easing=We);const $t=new Map,rn=yt.filter(Pn=>Pn instanceof qr);(function gn(Ce,g){return 0===Ce||0===g})(j,Me)&&rn.forEach(Pn=>{Pn.currentSnapshot.forEach((xn,Sn)=>$t.set(Sn,xn))});let an=function O(Ce){return Ce.length?Ce[0]instanceof Map?Ce:Ce.map(g=>E(g)):[]}(y).map(Pn=>z(Pn));an=function vn(Ce,g,y){if(y.size&&g.length){let j=g[0],Me=[];if(y.forEach((We,yt)=>{j.has(yt)||Me.push(yt),j.set(yt,We)}),Me.length)for(let We=1;Weyt.set(bt,Hn(Ce,bt)))}}return g}(g,an,$t);const mn=function Bs(Ce,g){let y=null,j=null;return Array.isArray(g)&&g.length?(y=Tn(g[0]),g.length>1&&(j=Tn(g[g.length-1]))):g instanceof Map&&(y=Tn(g)),y||j?new Kt(Ce,y,j):null}(g,an);return new qr(g,an,Ft,mn)}}var Q=a(6895);let Z=(()=>{class Ce extends d._j{constructor(y,j){super(),this._nextAnimationId=0,this._renderer=y.createRenderer(j.body,{id:"0",encapsulation:r.ifc.None,styles:[],data:{animation:[]}})}build(y){const j=this._nextAnimationId.toString();this._nextAnimationId++;const Me=Array.isArray(y)?(0,d.vP)(y):y;return Ht(this._renderer,null,j,"register",[Me]),new V(j,this._renderer)}}return Ce.\u0275fac=function(y){return new(y||Ce)(r.LFG(r.FYo),r.LFG(Q.K0))},Ce.\u0275prov=r.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();class V extends d.LC{constructor(g,y){super(),this._id=g,this._renderer=y}create(g,y){return new Be(this._id,g,y||{},this._renderer)}}class Be{constructor(g,y,j,Me){this.id=g,this.element=y,this._renderer=Me,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",j)}_listen(g,y){return this._renderer.listen(this.element,`@@${this.id}:${g}`,y)}_command(g,...y){return Ht(this._renderer,this.element,this.id,g,y)}onDone(g){this._listen("done",g)}onStart(g){this._listen("start",g)}onDestroy(g){this._listen("destroy",g)}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(g){this._command("setPosition",g)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Ht(Ce,g,y,j,Me){return Ce.setProperty(g,`@@${y}:${j}`,Me)}const On="@.disabled";let Li=(()=>{class Ce{constructor(y,j,Me){this.delegate=y,this.engine=j,this._zone=Me,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),j.onRemovalComplete=(We,yt)=>{const bt=yt?.parentNode(We);bt&&yt.removeChild(bt,We)}}createRenderer(y,j){const We=this.delegate.createRenderer(y,j);if(!(y&&j&&j.data&&j.data.animation)){let rn=this._rendererCache.get(We);return rn||(rn=new wr("",We,this.engine,()=>this._rendererCache.delete(We)),this._rendererCache.set(We,rn)),rn}const yt=j.id,bt=j.id+"-"+this._currentId;this._currentId++,this.engine.register(bt,y);const Ft=rn=>{Array.isArray(rn)?rn.forEach(Ft):this.engine.registerTrigger(yt,bt,y,rn.name,rn)};return j.data.animation.forEach(Ft),new ai(this,bt,We,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(y,j,Me){y>=0&&yj(Me)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(We=>{const[yt,bt]=We;yt(bt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([j,Me]))}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 Ce.\u0275fac=function(y){return new(y||Ce)(r.LFG(r.FYo),r.LFG(Lr),r.LFG(r.R0b))},Ce.\u0275prov=r.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();class wr{constructor(g,y,j,Me){this.namespaceId=g,this.delegate=y,this.engine=j,this._onDestroy=Me,this.destroyNode=this.delegate.destroyNode?We=>y.destroyNode(We):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(g,y){return this.delegate.createElement(g,y)}createComment(g){return this.delegate.createComment(g)}createText(g){return this.delegate.createText(g)}appendChild(g,y){this.delegate.appendChild(g,y),this.engine.onInsert(this.namespaceId,y,g,!1)}insertBefore(g,y,j,Me=!0){this.delegate.insertBefore(g,y,j),this.engine.onInsert(this.namespaceId,y,g,Me)}removeChild(g,y,j){this.engine.onRemove(this.namespaceId,y,this.delegate,j)}selectRootElement(g,y){return this.delegate.selectRootElement(g,y)}parentNode(g){return this.delegate.parentNode(g)}nextSibling(g){return this.delegate.nextSibling(g)}setAttribute(g,y,j,Me){this.delegate.setAttribute(g,y,j,Me)}removeAttribute(g,y,j){this.delegate.removeAttribute(g,y,j)}addClass(g,y){this.delegate.addClass(g,y)}removeClass(g,y){this.delegate.removeClass(g,y)}setStyle(g,y,j,Me){this.delegate.setStyle(g,y,j,Me)}removeStyle(g,y,j){this.delegate.removeStyle(g,y,j)}setProperty(g,y,j){"@"==y.charAt(0)&&y==On?this.disableAnimations(g,!!j):this.delegate.setProperty(g,y,j)}setValue(g,y){this.delegate.setValue(g,y)}listen(g,y,j){return this.delegate.listen(g,y,j)}disableAnimations(g,y){this.engine.disableAnimations(g,y)}}class ai extends wr{constructor(g,y,j,Me,We){super(y,j,Me,We),this.factory=g,this.namespaceId=y}setProperty(g,y,j){"@"==y.charAt(0)?"."==y.charAt(1)&&y==On?this.disableAnimations(g,j=void 0===j||!!j):this.engine.process(this.namespaceId,g,y.slice(1),j):this.delegate.setProperty(g,y,j)}listen(g,y,j){if("@"==y.charAt(0)){const Me=function vr(Ce){switch(Ce){case"body":return document.body;case"document":return document;case"window":return window;default:return Ce}}(g);let We=y.slice(1),yt="";return"@"!=We.charAt(0)&&([We,yt]=function Ns(Ce){const g=Ce.indexOf(".");return[Ce.substring(0,g),Ce.slice(g+1)]}(We)),this.engine.listen(this.namespaceId,Me,We,yt,bt=>{this.factory.scheduleListenerCallback(bt._data||-1,j,bt)})}return this.delegate.listen(g,y,j)}}const Ss=[{provide:d._j,useClass:Z},{provide:Mr,useFactory:function lr(){return new Fr}},{provide:Lr,useClass:(()=>{class Ce extends Lr{constructor(y,j,Me,We){super(y.body,j,Me)}ngOnDestroy(){this.flush()}}return Ce.\u0275fac=function(y){return new(y||Ce)(r.LFG(Q.K0),r.LFG(St),r.LFG(Mr),r.LFG(r.z2F))},Ce.\u0275prov=r.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})()},{provide:r.FYo,useFactory:function eo(Ce,g,y){return new Li(Ce,g,y)},deps:[i.se,Lr,r.R0b]}],As=[{provide:St,useFactory:()=>new ri},{provide:r.QbO,useValue:"BrowserAnimations"},...Ss],Xr=[{provide:St,useClass:vt},{provide:r.QbO,useValue:"NoopAnimations"},...Ss];let fs=(()=>{class Ce{static withConfig(y){return{ngModule:Ce,providers:y.disableAnimations?Xr:As}}}return Ce.\u0275fac=function(y){return new(y||Ce)},Ce.\u0275mod=r.oAB({type:Ce}),Ce.\u0275inj=r.cJS({providers:As,imports:[i.b2]}),Ce})()},1481:(Rt,je,a)=>{a.d(je,{Dx:()=>Ae,H7:()=>Tt,Qz:()=>fe,b2:()=>te,q6:()=>Qt,se:()=>Ge});var r=a(6895),i=a(4650);class d extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class D extends d{static makeCurrent(){(0,r.HT)(new D)}onAndCancel(ot,ze,Ct){return ot.addEventListener(ze,Ct,!1),()=>{ot.removeEventListener(ze,Ct,!1)}}dispatchEvent(ot,ze){ot.dispatchEvent(ze)}remove(ot){ot.parentNode&&ot.parentNode.removeChild(ot)}createElement(ot,ze){return(ze=ze||this.getDefaultDocument()).createElement(ot)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ot){return ot.nodeType===Node.ELEMENT_NODE}isShadowRoot(ot){return ot instanceof DocumentFragment}getGlobalEventTarget(ot,ze){return"window"===ze?window:"document"===ze?ot:"body"===ze?ot.body:null}getBaseHref(ot){const ze=function T(){return u=u||document.querySelector("base"),u?u.getAttribute("href"):null}();return null==ze?null:function w(tt){F=F||document.createElement("a"),F.setAttribute("href",tt);const ot=F.pathname;return"/"===ot.charAt(0)?ot:`/${ot}`}(ze)}resetBaseElement(){u=null}getUserAgent(){return window.navigator.userAgent}getCookie(ot){return(0,r.Mx)(document.cookie,ot)}}let F,u=null;const p=new i.OlP("TRANSITION_ID"),ae=[{provide:i.ip1,useFactory:function W(tt,ot,ze){return()=>{ze.get(i.CZH).donePromise.then(()=>{const Ct=(0,r.q)(),Ut=ot.querySelectorAll(`style[ng-transition="${tt}"]`);for(let tn=0;tn{class tt{build(){return new XMLHttpRequest}}return tt.\u0275fac=function(ze){return new(ze||tt)},tt.\u0275prov=i.Yz7({token:tt,factory:tt.\u0275fac}),tt})();const me=new i.OlP("EventManagerPlugins");let fe=(()=>{class tt{constructor(ze,Ct){this._zone=Ct,this._eventNameToPlugin=new Map,ze.forEach(Ut=>Ut.manager=this),this._plugins=ze.slice().reverse()}addEventListener(ze,Ct,Ut){return this._findPluginFor(Ct).addEventListener(ze,Ct,Ut)}addGlobalEventListener(ze,Ct,Ut){return this._findPluginFor(Ct).addGlobalEventListener(ze,Ct,Ut)}getZone(){return this._zone}_findPluginFor(ze){const Ct=this._eventNameToPlugin.get(ze);if(Ct)return Ct;const Ut=this._plugins;for(let tn=0;tn{class tt{constructor(){this._stylesSet=new Set}addStyles(ze){const Ct=new Set;ze.forEach(Ut=>{this._stylesSet.has(Ut)||(this._stylesSet.add(Ut),Ct.add(Ut))}),this.onStylesAdded(Ct)}onStylesAdded(ze){}getAllStyles(){return Array.from(this._stylesSet)}}return tt.\u0275fac=function(ze){return new(ze||tt)},tt.\u0275prov=i.Yz7({token:tt,factory:tt.\u0275fac}),tt})(),Ne=(()=>{class tt extends Ze{constructor(ze){super(),this._doc=ze,this._hostNodes=new Map,this._hostNodes.set(ze.head,[])}_addStylesToHost(ze,Ct,Ut){ze.forEach(tn=>{const gn=this._doc.createElement("style");gn.textContent=tn,Ut.push(Ct.appendChild(gn))})}addHost(ze){const Ct=[];this._addStylesToHost(this._stylesSet,ze,Ct),this._hostNodes.set(ze,Ct)}removeHost(ze){const Ct=this._hostNodes.get(ze);Ct&&Ct.forEach(gt),this._hostNodes.delete(ze)}onStylesAdded(ze){this._hostNodes.forEach((Ct,Ut)=>{this._addStylesToHost(ze,Ut,Ct)})}ngOnDestroy(){this._hostNodes.forEach(ze=>ze.forEach(gt))}}return tt.\u0275fac=function(ze){return new(ze||tt)(i.LFG(r.K0))},tt.\u0275prov=i.Yz7({token:tt,factory:tt.\u0275fac}),tt})();function gt(tt){(0,r.q)().remove(tt)}const N={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/"},B=/%COMP%/g;function Ve(tt,ot,ze){for(let Ct=0;Ct{if("__ngUnwrap__"===ot)return tt;!1===tt(ot)&&(ot.preventDefault(),ot.returnValue=!1)}}let Ge=(()=>{class tt{constructor(ze,Ct,Ut){this.eventManager=ze,this.sharedStylesHost=Ct,this.appId=Ut,this.rendererByCompId=new Map,this.defaultRenderer=new At(ze)}createRenderer(ze,Ct){if(!ze||!Ct)return this.defaultRenderer;switch(Ct.encapsulation){case i.ifc.Emulated:{let Ut=this.rendererByCompId.get(Ct.id);return Ut||(Ut=new mt(this.eventManager,this.sharedStylesHost,Ct,this.appId),this.rendererByCompId.set(Ct.id,Ut)),Ut.applyToHost(ze),Ut}case 1:case i.ifc.ShadowDom:return new he(this.eventManager,this.sharedStylesHost,ze,Ct);default:if(!this.rendererByCompId.has(Ct.id)){const Ut=Ve(Ct.id,Ct.styles,[]);this.sharedStylesHost.addStyles(Ut),this.rendererByCompId.set(Ct.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return tt.\u0275fac=function(ze){return new(ze||tt)(i.LFG(fe),i.LFG(Ne),i.LFG(i.AFp))},tt.\u0275prov=i.Yz7({token:tt,factory:tt.\u0275fac}),tt})();class At{constructor(ot){this.eventManager=ot,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ot,ze){return ze?document.createElementNS(N[ze]||ze,ot):document.createElement(ot)}createComment(ot){return document.createComment(ot)}createText(ot){return document.createTextNode(ot)}appendChild(ot,ze){(et(ot)?ot.content:ot).appendChild(ze)}insertBefore(ot,ze,Ct){ot&&(et(ot)?ot.content:ot).insertBefore(ze,Ct)}removeChild(ot,ze){ot&&ot.removeChild(ze)}selectRootElement(ot,ze){let Ct="string"==typeof ot?document.querySelector(ot):ot;if(!Ct)throw new Error(`The selector "${ot}" did not match any elements`);return ze||(Ct.textContent=""),Ct}parentNode(ot){return ot.parentNode}nextSibling(ot){return ot.nextSibling}setAttribute(ot,ze,Ct,Ut){if(Ut){ze=Ut+":"+ze;const tn=N[Ut];tn?ot.setAttributeNS(tn,ze,Ct):ot.setAttribute(ze,Ct)}else ot.setAttribute(ze,Ct)}removeAttribute(ot,ze,Ct){if(Ct){const Ut=N[Ct];Ut?ot.removeAttributeNS(Ut,ze):ot.removeAttribute(`${Ct}:${ze}`)}else ot.removeAttribute(ze)}addClass(ot,ze){ot.classList.add(ze)}removeClass(ot,ze){ot.classList.remove(ze)}setStyle(ot,ze,Ct,Ut){Ut&(i.JOm.DashCase|i.JOm.Important)?ot.style.setProperty(ze,Ct,Ut&i.JOm.Important?"important":""):ot.style[ze]=Ct}removeStyle(ot,ze,Ct){Ct&i.JOm.DashCase?ot.style.removeProperty(ze):ot.style[ze]=""}setProperty(ot,ze,Ct){ot[ze]=Ct}setValue(ot,ze){ot.nodeValue=ze}listen(ot,ze,Ct){return"string"==typeof ot?this.eventManager.addGlobalEventListener(ot,ze,Je(Ct)):this.eventManager.addEventListener(ot,ze,Je(Ct))}}function et(tt){return"TEMPLATE"===tt.tagName&&void 0!==tt.content}class mt extends At{constructor(ot,ze,Ct,Ut){super(ot),this.component=Ct;const tn=Ve(Ut+"-"+Ct.id,Ct.styles,[]);ze.addStyles(tn),this.contentAttr=function ne(tt){return"_ngcontent-%COMP%".replace(B,tt)}(Ut+"-"+Ct.id),this.hostAttr=function ge(tt){return"_nghost-%COMP%".replace(B,tt)}(Ut+"-"+Ct.id)}applyToHost(ot){super.setAttribute(ot,this.hostAttr,"")}createElement(ot,ze){const Ct=super.createElement(ot,ze);return super.setAttribute(Ct,this.contentAttr,""),Ct}}class he extends At{constructor(ot,ze,Ct,Ut){super(ot),this.sharedStylesHost=ze,this.hostEl=Ct,this.shadowRoot=Ct.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const tn=Ve(Ut.id,Ut.styles,[]);for(let gn=0;gn{class tt extends Se{constructor(ze){super(ze)}supports(ze){return!0}addEventListener(ze,Ct,Ut){return ze.addEventListener(Ct,Ut,!1),()=>this.removeEventListener(ze,Ct,Ut)}removeEventListener(ze,Ct,Ut){return ze.removeEventListener(Ct,Ut)}}return tt.\u0275fac=function(ze){return new(ze||tt)(i.LFG(r.K0))},tt.\u0275prov=i.Yz7({token:tt,factory:tt.\u0275fac}),tt})();const de=["alt","control","meta","shift"],ye={"\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"},xe={alt:tt=>tt.altKey,control:tt=>tt.ctrlKey,meta:tt=>tt.metaKey,shift:tt=>tt.shiftKey};let Dt=(()=>{class tt extends Se{constructor(ze){super(ze)}supports(ze){return null!=tt.parseEventName(ze)}addEventListener(ze,Ct,Ut){const tn=tt.parseEventName(Ct),gn=tt.eventCallback(tn.fullKey,Ut,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.q)().onAndCancel(ze,tn.domEventName,gn))}static parseEventName(ze){const Ct=ze.toLowerCase().split("."),Ut=Ct.shift();if(0===Ct.length||"keydown"!==Ut&&"keyup"!==Ut)return null;const tn=tt._normalizeKey(Ct.pop());let gn="",vn=Ct.indexOf("code");if(vn>-1&&(Ct.splice(vn,1),gn="code."),de.forEach(Hn=>{const hn=Ct.indexOf(Hn);hn>-1&&(Ct.splice(hn,1),gn+=Hn+".")}),gn+=tn,0!=Ct.length||0===tn.length)return null;const yn={};return yn.domEventName=Ut,yn.fullKey=gn,yn}static matchEventFullKeyCode(ze,Ct){let Ut=ye[ze.key]||ze.key,tn="";return Ct.indexOf("code.")>-1&&(Ut=ze.code,tn="code."),!(null==Ut||!Ut)&&(Ut=Ut.toLowerCase()," "===Ut?Ut="space":"."===Ut&&(Ut="dot"),de.forEach(gn=>{gn!==Ut&&(0,xe[gn])(ze)&&(tn+=gn+".")}),tn+=Ut,tn===Ct)}static eventCallback(ze,Ct,Ut){return tn=>{tt.matchEventFullKeyCode(tn,ze)&&Ut.runGuarded(()=>Ct(tn))}}static _normalizeKey(ze){return"esc"===ze?"escape":ze}}return tt.\u0275fac=function(ze){return new(ze||tt)(i.LFG(r.K0))},tt.\u0275prov=i.Yz7({token:tt,factory:tt.\u0275fac}),tt})();const Qt=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:r.bD},{provide:i.g9A,useValue:function Ke(){D.makeCurrent()},multi:!0},{provide:r.K0,useFactory:function Et(){return(0,i.RDi)(document),document},deps:[]}]),Wt=new i.OlP(""),Vt=[{provide:i.rWj,useClass:class se{addToWindow(ot){i.dqk.getAngularTestability=(Ct,Ut=!0)=>{const tn=ot.findTestabilityInTree(Ct,Ut);if(null==tn)throw new Error("Could not find testability for element.");return tn},i.dqk.getAllAngularTestabilities=()=>ot.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>ot.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(Ct=>{const Ut=i.dqk.getAllAngularTestabilities();let tn=Ut.length,gn=!1;const vn=function(yn){gn=gn||yn,tn--,0==tn&&Ct(gn)};Ut.forEach(function(yn){yn.whenStable(vn)})})}findTestabilityInTree(ot,ze,Ct){return null==ze?null:ot.getTestability(ze)??(Ct?(0,r.q)().isShadowRoot(ze)?this.findTestabilityInTree(ot,ze.host,!0):this.findTestabilityInTree(ot,ze.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]}],qe=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function Qe(){return new i.qLn},deps:[]},{provide:me,useClass:G,multi:!0,deps:[r.K0,i.R0b,i.Lbi]},{provide:me,useClass:Dt,multi:!0,deps:[r.K0]},{provide:Ge,useClass:Ge,deps:[fe,Ne,i.AFp]},{provide:i.FYo,useExisting:Ge},{provide:Ze,useExisting:Ne},{provide:Ne,useClass:Ne,deps:[r.K0]},{provide:fe,useClass:fe,deps:[me,i.R0b]},{provide:r.JF,useClass:le,deps:[]},[]];let te=(()=>{class tt{constructor(ze){}static withServerTransition(ze){return{ngModule:tt,providers:[{provide:i.AFp,useValue:ze.appId},{provide:p,useExisting:i.AFp},ae]}}}return tt.\u0275fac=function(ze){return new(ze||tt)(i.LFG(Wt,12))},tt.\u0275mod=i.oAB({type:tt}),tt.\u0275inj=i.cJS({providers:[...qe,...Vt],imports:[r.ez,i.hGG]}),tt})(),Ae=(()=>{class tt{constructor(ze){this._doc=ze}getTitle(){return this._doc.title}setTitle(ze){this._doc.title=ze||""}}return tt.\u0275fac=function(ze){return new(ze||tt)(i.LFG(r.K0))},tt.\u0275prov=i.Yz7({token:tt,factory:function(ze){let Ct=null;return Ct=ze?new ze:function Ue(){return new Ae((0,i.LFG)(r.K0))}(),Ct},providedIn:"root"}),tt})();typeof window<"u"&&window;let Tt=(()=>{class tt{}return tt.\u0275fac=function(ze){return new(ze||tt)},tt.\u0275prov=i.Yz7({token:tt,factory:function(ze){let Ct=null;return Ct=ze?new(ze||tt):i.LFG(en),Ct},providedIn:"root"}),tt})(),en=(()=>{class tt extends Tt{constructor(ze){super(),this._doc=ze}sanitize(ze,Ct){if(null==Ct)return null;switch(ze){case i.q3G.NONE:return Ct;case i.q3G.HTML:return(0,i.qzn)(Ct,"HTML")?(0,i.z3N)(Ct):(0,i.EiD)(this._doc,String(Ct)).toString();case i.q3G.STYLE:return(0,i.qzn)(Ct,"Style")?(0,i.z3N)(Ct):Ct;case i.q3G.SCRIPT:if((0,i.qzn)(Ct,"Script"))return(0,i.z3N)(Ct);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.qzn)(Ct,"URL")?(0,i.z3N)(Ct):(0,i.mCW)(String(Ct));case i.q3G.RESOURCE_URL:if((0,i.qzn)(Ct,"ResourceURL"))return(0,i.z3N)(Ct);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${ze} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(ze){return(0,i.JVY)(ze)}bypassSecurityTrustStyle(ze){return(0,i.L6k)(ze)}bypassSecurityTrustScript(ze){return(0,i.eBb)(ze)}bypassSecurityTrustUrl(ze){return(0,i.LAX)(ze)}bypassSecurityTrustResourceUrl(ze){return(0,i.pB0)(ze)}}return tt.\u0275fac=function(ze){return new(ze||tt)(i.LFG(r.K0))},tt.\u0275prov=i.Yz7({token:tt,factory:function(ze){let Ct=null;return Ct=ze?new ze:function jt(tt){return new en(tt.get(r.K0))}(i.LFG(i.zs3)),Ct},providedIn:"root"}),tt})()},2761:(Rt,je,a)=>{a.d(je,{gz:()=>Hi,F0:()=>bi,rH:()=>rs,Od:()=>Ro,yS:()=>io,Bz:()=>Ci,lC:()=>Vn});var r=a(4650),i=a(2076),d=a(9646),D=a(1135),u=a(6805),T=a(9841),F=a(7272),w=a(9770),p=a(9635),W=a(2843),ae=a(9751),se=a(515),le=a(4033),me=a(7579),fe=a(6895),Se=a(4004),Ze=a(3900),Ne=a(5698),gt=a(8675),N=a(9300),B=a(5577),X=a(590),ie=a(4351),pe=a(8505),we=a(262),ne=a(4482),ge=a(7359);function Ve(C,A){return(0,ne.e)((0,ge.U)(C,A,arguments.length>=2,!0))}var Je=a(5403);function pt(C){return C<=0?()=>se.E:(0,ne.e)((A,_)=>{let H=[];A.subscribe((0,Je.x)(_,K=>{H.push(K),C{for(const K of H)_.next(K);_.complete()},void 0,()=>{H=null}))})}var Ge=a(8068),At=a(6590),st=a(4671);function _t(C,A){const _=arguments.length>=2;return H=>H.pipe(C?(0,N.h)((K,Le)=>C(K,Le,H)):st.y,pt(1),_?(0,At.d)(A):(0,Ge.T)(()=>new u.K))}var et=a(2529),mt=a(9718),he=a(8746),G=a(8343),de=a(8189),ye=a(1481);const xe="primary",Dt=Symbol("RouteTitle");class Fe{constructor(A){this.params=A||{}}has(A){return Object.prototype.hasOwnProperty.call(this.params,A)}get(A){if(this.has(A)){const _=this.params[A];return Array.isArray(_)?_[0]:_}return null}getAll(A){if(this.has(A)){const _=this.params[A];return Array.isArray(_)?_:[_]}return[]}get keys(){return Object.keys(this.params)}}function $e(C){return new Fe(C)}function ce(C,A,_){const H=_.path.split("/");if(H.length>C.length||"full"===_.pathMatch&&(A.hasChildren()||H.lengthH[Le]===K)}return C===A}function Qe(C){return Array.prototype.concat.apply([],C)}function Et(C){return C.length>0?C[C.length-1]:null}function Qt(C,A){for(const _ in C)C.hasOwnProperty(_)&&A(C[_],_)}function Wt(C){return(0,r.CqO)(C)?C:(0,r.QGY)(C)?(0,i.D)(Promise.resolve(C)):(0,d.of)(C)}const te={exact:function Ue(C,A,_){if(!Nt(C.segments,A.segments)||!ft(C.segments,A.segments,_)||C.numberOfChildren!==A.numberOfChildren)return!1;for(const H in A.children)if(!C.children[H]||!Ue(C.children[H],A.children[H],_))return!1;return!0},subset:Ee},S={exact:function J(C,A){return ue(C,A)},subset:function Ae(C,A){return Object.keys(A).length<=Object.keys(C).length&&Object.keys(A).every(_=>Ke(C[_],A[_]))},ignored:()=>!0};function M(C,A,_){return te[_.paths](C.root,A.root,_.matrixParams)&&S[_.queryParams](C.queryParams,A.queryParams)&&!("exact"===_.fragment&&C.fragment!==A.fragment)}function Ee(C,A,_){return De(C,A,A.segments,_)}function De(C,A,_,H){if(C.segments.length>_.length){const K=C.segments.slice(0,_.length);return!(!Nt(K,_)||A.hasChildren()||!ft(K,_,H))}if(C.segments.length===_.length){if(!Nt(C.segments,_)||!ft(C.segments,_,H))return!1;for(const K in A.children)if(!C.children[K]||!Ee(C.children[K],A.children[K],H))return!1;return!0}{const K=_.slice(0,C.segments.length),Le=_.slice(C.segments.length);return!!(Nt(C.segments,K)&&ft(C.segments,K,H)&&C.children[xe])&&De(C.children[xe],A,Le,H)}}function ft(C,A,_){return A.every((H,K)=>S[_](C[K].parameters,H.parameters))}class vt{constructor(A,_,H){this.root=A,this.queryParams=_,this.fragment=H}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$e(this.queryParams)),this._queryParamMap}toString(){return Xe.serialize(this)}}class St{constructor(A,_){this.segments=A,this.children=_,this.parent=null,Qt(_,(H,K)=>H.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Y(this)}}class Bt{constructor(A,_){this.path=A,this.parameters=_}get parameterMap(){return this._parameterMap||(this._parameterMap=$e(this.parameters)),this._parameterMap}toString(){return O(this)}}function Nt(C,A){return C.length===A.length&&C.every((_,H)=>_.path===A[H].path)}let xt=(()=>{class C{}return C.\u0275fac=function(_){return new(_||C)},C.\u0275prov=r.Yz7({token:C,factory:function(){return new Oe},providedIn:"root"}),C})();class Oe{parse(A){const _=new cn(A);return new vt(_.parseRootSegment(),_.parseQueryParams(),_.parseFragment())}serialize(A){const _=`/${oe(A.root,!0)}`,H=function z(C){const A=Object.keys(C).map(_=>{const H=C[_];return Array.isArray(H)?H.map(K=>`${h(_)}=${h(K)}`).join("&"):`${h(_)}=${h(H)}`}).filter(_=>!!_);return A.length?`?${A.join("&")}`:""}(A.queryParams);return`${_}${H}${"string"==typeof A.fragment?`#${function v(C){return encodeURI(C)}(A.fragment)}`:""}`}}const Xe=new Oe;function Y(C){return C.segments.map(A=>O(A)).join("/")}function oe(C,A){if(!C.hasChildren())return Y(C);if(A){const _=C.children[xe]?oe(C.children[xe],!1):"",H=[];return Qt(C.children,(K,Le)=>{Le!==xe&&H.push(`${Le}:${oe(K,!1)}`)}),H.length>0?`${_}(${H.join("//")})`:_}{const _=function ht(C,A){let _=[];return Qt(C.children,(H,K)=>{K===xe&&(_=_.concat(A(H,K)))}),Qt(C.children,(H,K)=>{K!==xe&&(_=_.concat(A(H,K)))}),_}(C,(H,K)=>K===xe?[oe(C.children[xe],!1)]:[`${K}:${oe(H,!1)}`]);return 1===Object.keys(C.children).length&&null!=C.children[xe]?`${Y(C)}/${_[0]}`:`${Y(C)}/(${_.join("//")})`}}function x(C){return encodeURIComponent(C).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function h(C){return x(C).replace(/%3B/gi,";")}function c(C){return x(C).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function b(C){return decodeURIComponent(C)}function E(C){return b(C.replace(/\+/g,"%20"))}function O(C){return`${c(C.path)}${function R(C){return Object.keys(C).map(A=>`;${c(A)}=${c(C[A])}`).join("")}(C.parameters)}`}const Re=/^[^\/()?;=#]+/;function nt(C){const A=C.match(Re);return A?A[0]:""}const wt=/^[^=?&#]+/,jt=/^[^&#]+/;class cn{constructor(A){this.url=A,this.remaining=A}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new St([],{}):new St([],this.parseChildren())}parseQueryParams(){const A={};if(this.consumeOptional("?"))do{this.parseQueryParam(A)}while(this.consumeOptional("&"));return A}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const A=[];for(this.peekStartsWith("(")||A.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),A.push(this.parseSegment());let _={};this.peekStartsWith("/(")&&(this.capture("/"),_=this.parseParens(!0));let H={};return this.peekStartsWith("(")&&(H=this.parseParens(!1)),(A.length>0||Object.keys(_).length>0)&&(H[xe]=new St(A,_)),H}parseSegment(){const A=nt(this.remaining);if(""===A&&this.peekStartsWith(";"))throw new r.vHH(4009,!1);return this.capture(A),new Bt(b(A),this.parseMatrixParams())}parseMatrixParams(){const A={};for(;this.consumeOptional(";");)this.parseParam(A);return A}parseParam(A){const _=nt(this.remaining);if(!_)return;this.capture(_);let H="";if(this.consumeOptional("=")){const K=nt(this.remaining);K&&(H=K,this.capture(H))}A[b(_)]=b(H)}parseQueryParam(A){const _=function Tt(C){const A=C.match(wt);return A?A[0]:""}(this.remaining);if(!_)return;this.capture(_);let H="";if(this.consumeOptional("=")){const lt=function en(C){const A=C.match(jt);return A?A[0]:""}(this.remaining);lt&&(H=lt,this.capture(H))}const K=E(_),Le=E(H);if(A.hasOwnProperty(K)){let lt=A[K];Array.isArray(lt)||(lt=[lt],A[K]=lt),lt.push(Le)}else A[K]=Le}parseParens(A){const _={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const H=nt(this.remaining),K=this.remaining[H.length];if("/"!==K&&")"!==K&&";"!==K)throw new r.vHH(4010,!1);let Le;H.indexOf(":")>-1?(Le=H.slice(0,H.indexOf(":")),this.capture(Le),this.capture(":")):A&&(Le=xe);const lt=this.parseChildren();_[Le]=1===Object.keys(lt).length?lt[xe]:new St([],lt),this.consumeOptional("//")}return _}peekStartsWith(A){return this.remaining.startsWith(A)}consumeOptional(A){return!!this.peekStartsWith(A)&&(this.remaining=this.remaining.substring(A.length),!0)}capture(A){if(!this.consumeOptional(A))throw new r.vHH(4011,!1)}}function tt(C){return C.segments.length>0?new St([],{[xe]:C}):C}function ot(C){const A={};for(const H of Object.keys(C.children)){const Le=ot(C.children[H]);(Le.segments.length>0||Le.hasChildren())&&(A[H]=Le)}return function ze(C){if(1===C.numberOfChildren&&C.children[xe]){const A=C.children[xe];return new St(C.segments.concat(A.segments),A.children)}return C}(new St(C.segments,A))}function Ct(C){return C instanceof vt}function yn(C,A,_,H,K){if(0===_.length)return Un(A.root,A.root,A.root,H,K);const Le=function Ye(C){if("string"==typeof C[0]&&1===C.length&&"/"===C[0])return new Pe(!0,0,C);let A=0,_=!1;const H=C.reduce((K,Le,lt)=>{if("object"==typeof Le&&null!=Le){if(Le.outlets){const ut={};return Qt(Le.outlets,(Gt,sn)=>{ut[sn]="string"==typeof Gt?Gt.split("/"):Gt}),[...K,{outlets:ut}]}if(Le.segmentPath)return[...K,Le.segmentPath]}return"string"!=typeof Le?[...K,Le]:0===lt?(Le.split("/").forEach((ut,Gt)=>{0==Gt&&"."===ut||(0==Gt&&""===ut?_=!0:".."===ut?A++:""!=ut&&K.push(ut))}),K):[...K,Le]},[]);return new Pe(_,A,H)}(_);return Le.toRoot()?Un(A.root,A.root,new St([],{}),H,K):function lt(Gt){const sn=function Ie(C,A,_,H){if(C.isAbsolute)return new m(A.root,!0,0);if(-1===H)return new m(_,_===A.root,0);return function ee(C,A,_){let H=C,K=A,Le=_;for(;Le>K;){if(Le-=K,H=H.parent,!H)throw new r.vHH(4005,!1);K=H.segments.length}return new m(H,!1,K-Le)}(_,H+(Hn(C.commands[0])?0:1),C.numberOfDoubleDots)}(Le,A,C.snapshot?._urlSegment,Gt),Ln=sn.processChildren?ve(sn.segmentGroup,sn.index,Le.commands):be(sn.segmentGroup,sn.index,Le.commands);return Un(A.root,sn.segmentGroup,Ln,H,K)}(C.snapshot?._lastPathIndex)}function Hn(C){return"object"==typeof C&&null!=C&&!C.outlets&&!C.segmentPath}function hn(C){return"object"==typeof C&&null!=C&&C.outlets}function Un(C,A,_,H,K){let lt,Le={};H&&Qt(H,(Gt,sn)=>{Le[sn]=Array.isArray(Gt)?Gt.map(Ln=>`${Ln}`):`${Gt}`}),lt=C===A?_:at(C,A,_);const ut=tt(ot(lt));return new vt(ut,Le,K)}function at(C,A,_){const H={};return Qt(C.children,(K,Le)=>{H[Le]=K===A?_:at(K,A,_)}),new St(C.segments,H)}class Pe{constructor(A,_,H){if(this.isAbsolute=A,this.numberOfDoubleDots=_,this.commands=H,A&&H.length>0&&Hn(H[0]))throw new r.vHH(4003,!1);const K=H.find(hn);if(K&&K!==Et(H))throw new r.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class m{constructor(A,_,H){this.segmentGroup=A,this.processChildren=_,this.index=H}}function be(C,A,_){if(C||(C=new St([],{})),0===C.segments.length&&C.hasChildren())return ve(C,A,_);const H=function Pt(C,A,_){let H=0,K=A;const Le={match:!1,pathIndex:0,commandIndex:0};for(;K=_.length)return Le;const lt=C.segments[K],ut=_[H];if(hn(ut))break;const Gt=`${ut}`,sn=H<_.length-1?_[H+1]:null;if(K>0&&void 0===Gt)break;if(Gt&&sn&&"object"==typeof sn&&void 0===sn.outlets){if(!jn(Gt,sn,lt))return Le;H+=2}else{if(!jn(Gt,{},lt))return Le;H++}K++}return{match:!0,pathIndex:K,commandIndex:H}}(C,A,_),K=_.slice(H.commandIndex);if(H.match&&H.pathIndex{"string"==typeof Le&&(Le=[Le]),null!==Le&&(K[lt]=be(C.children[lt],A,Le))}),Qt(C.children,(Le,lt)=>{void 0===H[lt]&&(K[lt]=Le)}),new St(C.segments,K)}}function qt(C,A,_){const H=C.segments.slice(0,A);let K=0;for(;K<_.length;){const Le=_[K];if(hn(Le)){const Gt=Cn(Le.outlets);return new St(H,Gt)}if(0===K&&Hn(_[0])){H.push(new Bt(C.segments[A].path,Fn(_[0]))),K++;continue}const lt=hn(Le)?Le.outlets[xe]:`${Le}`,ut=K<_.length-1?_[K+1]:null;lt&&ut&&Hn(ut)?(H.push(new Bt(lt,Fn(ut))),K+=2):(H.push(new Bt(lt,{})),K++)}return new St(H,{})}function Cn(C){const A={};return Qt(C,(_,H)=>{"string"==typeof _&&(_=[_]),null!==_&&(A[H]=qt(new St([],{}),0,_))}),A}function Fn(C){const A={};return Qt(C,(_,H)=>A[H]=`${_}`),A}function jn(C,A,_){return C==_.path&&ue(A,_.parameters)}class $n{constructor(A,_){this.id=A,this.url=_}}class Mi extends $n{constructor(A,_,H="imperative",K=null){super(A,_),this.type=0,this.navigationTrigger=H,this.restoredState=K}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Nn extends $n{constructor(A,_,H){super(A,_),this.urlAfterRedirects=H,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ii extends $n{constructor(A,_,H,K){super(A,_),this.reason=H,this.code=K,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xn extends $n{constructor(A,_,H,K){super(A,_),this.error=H,this.target=K,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class mi extends $n{constructor(A,_,H,K){super(A,_),this.urlAfterRedirects=H,this.state=K,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ii extends $n{constructor(A,_,H,K){super(A,_),this.urlAfterRedirects=H,this.state=K,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xi extends $n{constructor(A,_,H,K,Le){super(A,_),this.urlAfterRedirects=H,this.state=K,this.shouldActivate=Le,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ai extends $n{constructor(A,_,H,K){super(A,_),this.urlAfterRedirects=H,this.state=K,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ci extends $n{constructor(A,_,H,K){super(A,_),this.urlAfterRedirects=H,this.state=K,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qi{constructor(A){this.route=A,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Zr{constructor(A){this.route=A,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xi{constructor(A){this.snapshot=A,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pr{constructor(A){this.snapshot=A,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wr{constructor(A){this.snapshot=A,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hi{constructor(A){this.snapshot=A,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cr{constructor(A,_,H){this.routerEvent=A,this.position=_,this.anchor=H,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class er{constructor(A){this._root=A}get root(){return this._root.value}parent(A){const _=this.pathFromRoot(A);return _.length>1?_[_.length-2]:null}children(A){const _=ji(A,this._root);return _?_.children.map(H=>H.value):[]}firstChild(A){const _=ji(A,this._root);return _&&_.children.length>0?_.children[0].value:null}siblings(A){const _=Ni(A,this._root);return _.length<2?[]:_[_.length-2].children.map(K=>K.value).filter(K=>K!==A)}pathFromRoot(A){return Ni(A,this._root).map(_=>_.value)}}function ji(C,A){if(C===A.value)return A;for(const _ of A.children){const H=ji(C,_);if(H)return H}return null}function Ni(C,A){if(C===A.value)return[A];for(const _ of A.children){const H=Ni(C,_);if(H.length)return H.unshift(A),H}return[]}class Oi{constructor(A,_){this.value=A,this.children=_}toString(){return`TreeNode(${this.value})`}}function Vi(C){const A={};return C&&C.children.forEach(_=>A[_.value.outlet]=_),A}class Dr extends er{constructor(A,_){super(A),this.snapshot=_,Ui(this,A)}toString(){return this.snapshot.toString()}}function Kr(C,A){const _=function Mr(C,A){const lt=new gi([],{},{},"",{},xe,A,null,C.root,-1,{});return new mr("",new Oi(lt,[]))}(C,A),H=new D.X([new Bt("",{})]),K=new D.X({}),Le=new D.X({}),lt=new D.X({}),ut=new D.X(""),Gt=new Hi(H,K,lt,ut,Le,xe,A,_.root);return Gt.snapshot=_.root,new Dr(new Oi(Gt,[]),_)}class Hi{constructor(A,_,H,K,Le,lt,ut,Gt){this.url=A,this.params=_,this.queryParams=H,this.fragment=K,this.data=Le,this.outlet=lt,this.component=ut,this.title=this.data?.pipe((0,Se.U)(sn=>sn[Dt]))??(0,d.of)(void 0),this._futureSnapshot=Gt}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,Se.U)(A=>$e(A)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Se.U)(A=>$e(A)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function fr(C,A="emptyOnly"){const _=C.pathFromRoot;let H=0;if("always"!==A)for(H=_.length-1;H>=1;){const K=_[H],Le=_[H-1];if(K.routeConfig&&""===K.routeConfig.path)H--;else{if(Le.component)break;H--}}return function Fr(C){return C.reduce((A,_)=>({params:{...A.params,..._.params},data:{...A.data,..._.data},resolve:{..._.data,...A.resolve,..._.routeConfig?.data,..._._resolvedData}}),{params:{},data:{},resolve:{}})}(_.slice(H))}class gi{constructor(A,_,H,K,Le,lt,ut,Gt,sn,Ln,pn,Kn){this.url=A,this.params=_,this.queryParams=H,this.fragment=K,this.data=Le,this.outlet=lt,this.component=ut,this.title=this.data?.[Dt],this.routeConfig=Gt,this._urlSegment=sn,this._lastPathIndex=Ln,this._correctedLastPathIndex=Kn??Ln,this._resolve=pn}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=$e(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$e(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(H=>H.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mr extends er{constructor(A,_){super(_),this.url=A,Ui(this,_)}toString(){return Or(this._root)}}function Ui(C,A){A.value._routerState=C,A.children.forEach(_=>Ui(C,_))}function Or(C){const A=C.children.length>0?` { ${C.children.map(Or).join(", ")} } `:"";return`${C.value}${A}`}function _i(C){if(C.snapshot){const A=C.snapshot,_=C._futureSnapshot;C.snapshot=_,ue(A.queryParams,_.queryParams)||C.queryParams.next(_.queryParams),A.fragment!==_.fragment&&C.fragment.next(_.fragment),ue(A.params,_.params)||C.params.next(_.params),function it(C,A){if(C.length!==A.length)return!1;for(let _=0;_ue(_.parameters,A[H].parameters))}(C.url,A.url);return _&&!(!C.parent!=!A.parent)&&(!C.parent||Yi(C.parent,A.parent))}function ki(C,A,_){if(_&&C.shouldReuseRoute(A.value,_.value.snapshot)){const H=_.value;H._futureSnapshot=A.value;const K=function _r(C,A,_){return A.children.map(H=>{for(const K of _.children)if(C.shouldReuseRoute(H.value,K.value.snapshot))return ki(C,H,K);return ki(C,H)})}(C,A,_);return new Oi(H,K)}{if(C.shouldAttach(A.value)){const Le=C.retrieve(A.value);if(null!==Le){const lt=Le.route;return lt.value._futureSnapshot=A.value,lt.children=A.children.map(ut=>ki(C,ut)),lt}}const H=function tr(C){return new Hi(new D.X(C.url),new D.X(C.params),new D.X(C.queryParams),new D.X(C.fragment),new D.X(C.data),C.outlet,C.component,C)}(A.value),K=A.children.map(Le=>ki(C,Le));return new Oi(H,K)}}const nr="ngNavigationCancelingError";function ct(C,A){const{redirectTo:_,navigationBehaviorOptions:H}=Ct(A)?{redirectTo:A,navigationBehaviorOptions:void 0}:A,K=Ot(!1,0,A);return K.url=_,K.navigationBehaviorOptions=H,K}function Ot(C,A,_){const H=new Error("NavigationCancelingError: "+(C||""));return H[nr]=!0,H.cancellationCode=A,_&&(H.url=_),H}function U(C){return He(C)&&Ct(C.url)}function He(C){return C&&C[nr]}class It{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Jt,this.attachRef=null}}let Jt=(()=>{class C{constructor(){this.contexts=new Map}onChildOutletCreated(_,H){const K=this.getOrCreateContext(_);K.outlet=H,this.contexts.set(_,K)}onChildOutletDestroyed(_){const H=this.getContext(_);H&&(H.outlet=null,H.attachRef=null)}onOutletDeactivated(){const _=this.contexts;return this.contexts=new Map,_}onOutletReAttached(_){this.contexts=_}getOrCreateContext(_){let H=this.getContext(_);return H||(H=new It,this.contexts.set(_,H)),H}getContext(_){return this.contexts.get(_)||null}}return C.\u0275fac=function(_){return new(_||C)},C.\u0275prov=r.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();const Bn=!1;let Vn=(()=>{class C{constructor(_,H,K,Le,lt){this.parentContexts=_,this.location=H,this.changeDetector=Le,this.environmentInjector=lt,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.attachEvents=new r.vpe,this.detachEvents=new r.vpe,this.name=K||xe,_.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const _=this.parentContexts.getContext(this.name);_&&_.route&&(_.attachRef?this.attach(_.attachRef,_.route):this.activateWith(_.route,_.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new r.vHH(4012,Bn);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new r.vHH(4012,Bn);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new r.vHH(4012,Bn);this.location.detach();const _=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(_.instance),_}attach(_,H){this.activated=_,this._activatedRoute=H,this.location.insert(_.hostView),this.attachEvents.emit(_.instance)}deactivate(){if(this.activated){const _=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(_)}}activateWith(_,H){if(this.isActivated)throw new r.vHH(4013,Bn);this._activatedRoute=_;const K=this.location,lt=_._futureSnapshot.component,ut=this.parentContexts.getOrCreateContext(this.name).children,Gt=new Zn(_,ut,K.injector);if(H&&function ei(C){return!!C.resolveComponentFactory}(H)){const sn=H.resolveComponentFactory(lt);this.activated=K.createComponent(sn,K.length,Gt)}else this.activated=K.createComponent(lt,{index:K.length,injector:Gt,environmentInjector:H??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return C.\u0275fac=function(_){return new(_||C)(r.Y36(Jt),r.Y36(r.s_b),r.$8M("name"),r.Y36(r.sBO),r.Y36(r.lqb))},C.\u0275dir=r.lG2({type:C,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),C})();class Zn{constructor(A,_,H){this.route=A,this.childContexts=_,this.parent=H}get(A,_){return A===Hi?this.route:A===Jt?this.childContexts:this.parent.get(A,_)}}let Mn=(()=>{class C{}return C.\u0275fac=function(_){return new(_||C)},C.\u0275cmp=r.Xpm({type:C,selectors:[["ng-component"]],standalone:!0,features:[r.jDz],decls:1,vars:0,template:function(_,H){1&_&&r._UZ(0,"router-outlet")},dependencies:[Vn],encapsulation:2}),C})();function Jn(C,A){return C.providers&&!C._injector&&(C._injector=(0,r.MMx)(C.providers,A,`Route: ${C.path}`)),C._injector??A}function Ri(C){const A=C.children&&C.children.map(Ri),_=A?{...C,children:A}:{...C};return!_.component&&!_.loadComponent&&(A||_.loadChildren)&&_.outlet&&_.outlet!==xe&&(_.component=Mn),_}function wi(C){return C.outlet||xe}function Ei(C,A){const _=C.filter(H=>wi(H)===A);return _.push(...C.filter(H=>wi(H)!==A)),_}function Fi(C){if(!C)return null;if(C.routeConfig?._injector)return C.routeConfig._injector;for(let A=C.parent;A;A=A.parent){const _=A.routeConfig;if(_?._loadedInjector)return _._loadedInjector;if(_?._injector)return _._injector}return null}class fn{constructor(A,_,H,K){this.routeReuseStrategy=A,this.futureState=_,this.currState=H,this.forwardEvent=K}activate(A){const _=this.futureState._root,H=this.currState?this.currState._root:null;this.deactivateChildRoutes(_,H,A),_i(this.futureState.root),this.activateChildRoutes(_,H,A)}deactivateChildRoutes(A,_,H){const K=Vi(_);A.children.forEach(Le=>{const lt=Le.value.outlet;this.deactivateRoutes(Le,K[lt],H),delete K[lt]}),Qt(K,(Le,lt)=>{this.deactivateRouteAndItsChildren(Le,H)})}deactivateRoutes(A,_,H){const K=A.value,Le=_?_.value:null;if(K===Le)if(K.component){const lt=H.getContext(K.outlet);lt&&this.deactivateChildRoutes(A,_,lt.children)}else this.deactivateChildRoutes(A,_,H);else Le&&this.deactivateRouteAndItsChildren(_,H)}deactivateRouteAndItsChildren(A,_){A.value.component&&this.routeReuseStrategy.shouldDetach(A.value.snapshot)?this.detachAndStoreRouteSubtree(A,_):this.deactivateRouteAndOutlet(A,_)}detachAndStoreRouteSubtree(A,_){const H=_.getContext(A.value.outlet),K=H&&A.value.component?H.children:_,Le=Vi(A);for(const lt of Object.keys(Le))this.deactivateRouteAndItsChildren(Le[lt],K);if(H&&H.outlet){const lt=H.outlet.detach(),ut=H.children.onOutletDeactivated();this.routeReuseStrategy.store(A.value.snapshot,{componentRef:lt,route:A,contexts:ut})}}deactivateRouteAndOutlet(A,_){const H=_.getContext(A.value.outlet),K=H&&A.value.component?H.children:_,Le=Vi(A);for(const lt of Object.keys(Le))this.deactivateRouteAndItsChildren(Le[lt],K);H&&H.outlet&&(H.outlet.deactivate(),H.children.onOutletDeactivated(),H.attachRef=null,H.resolver=null,H.route=null)}activateChildRoutes(A,_,H){const K=Vi(_);A.children.forEach(Le=>{this.activateRoutes(Le,K[Le.value.outlet],H),this.forwardEvent(new hi(Le.value.snapshot))}),A.children.length&&this.forwardEvent(new pr(A.value.snapshot))}activateRoutes(A,_,H){const K=A.value,Le=_?_.value:null;if(_i(K),K===Le)if(K.component){const lt=H.getOrCreateContext(K.outlet);this.activateChildRoutes(A,_,lt.children)}else this.activateChildRoutes(A,_,H);else if(K.component){const lt=H.getOrCreateContext(K.outlet);if(this.routeReuseStrategy.shouldAttach(K.snapshot)){const ut=this.routeReuseStrategy.retrieve(K.snapshot);this.routeReuseStrategy.store(K.snapshot,null),lt.children.onOutletReAttached(ut.contexts),lt.attachRef=ut.componentRef,lt.route=ut.route.value,lt.outlet&<.outlet.attach(ut.componentRef,ut.route.value),_i(ut.route.value),this.activateChildRoutes(A,null,lt.children)}else{const ut=Fi(K.snapshot),Gt=ut?.get(r._Vd)??null;lt.attachRef=null,lt.route=K,lt.resolver=Gt,lt.injector=ut,lt.outlet&<.outlet.activateWith(K,lt.injector),this.activateChildRoutes(A,null,lt.children)}}else this.activateChildRoutes(A,null,H)}}class or{constructor(A){this.path=A,this.route=this.path[this.path.length-1]}}class Qr{constructor(A,_){this.component=A,this.route=_}}function hs(C,A,_){const H=C._root;return Zi(H,A?A._root:null,_,[H.value])}function ar(C,A){const _=Symbol(),H=A.get(C,_);return H===_?"function"!=typeof C||(0,r.Z0I)(C)?A.get(C):C:H}function Zi(C,A,_,H,K={canDeactivateChecks:[],canActivateChecks:[]}){const Le=Vi(A);return C.children.forEach(lt=>{(function Lr(C,A,_,H,K={canDeactivateChecks:[],canActivateChecks:[]}){const Le=C.value,lt=A?A.value:null,ut=_?_.getContext(C.value.outlet):null;if(lt&&Le.routeConfig===lt.routeConfig){const Gt=function Bs(C,A,_){if("function"==typeof _)return _(C,A);switch(_){case"pathParamsChange":return!Nt(C.url,A.url);case"pathParamsOrQueryParamsChange":return!Nt(C.url,A.url)||!ue(C.queryParams,A.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yi(C,A)||!ue(C.queryParams,A.queryParams);default:return!Yi(C,A)}}(lt,Le,Le.routeConfig.runGuardsAndResolvers);Gt?K.canActivateChecks.push(new or(H)):(Le.data=lt.data,Le._resolvedData=lt._resolvedData),Zi(C,A,Le.component?ut?ut.children:null:_,H,K),Gt&&ut&&ut.outlet&&ut.outlet.isActivated&&K.canDeactivateChecks.push(new Qr(ut.outlet.component,lt))}else lt&&Kt(A,ut,K),K.canActivateChecks.push(new or(H)),Zi(C,null,Le.component?ut?ut.children:null:_,H,K)})(lt,Le[lt.value.outlet],_,H.concat([lt.value]),K),delete Le[lt.value.outlet]}),Qt(Le,(lt,ut)=>Kt(lt,_.getContext(ut),K)),K}function Kt(C,A,_){const H=Vi(C),K=C.value;Qt(H,(Le,lt)=>{Kt(Le,K.component?A?A.children.getContext(lt):null:A,_)}),_.canDeactivateChecks.push(new Qr(K.component&&A&&A.outlet&&A.outlet.isActivated?A.outlet.component:null,K))}function Tn(C){return"function"==typeof C}function un(C){return C instanceof u.K||"EmptyError"===C?.name}const On=Symbol("INITIAL_VALUE");function Li(){return(0,Ze.w)(C=>(0,T.a)(C.map(A=>A.pipe((0,Ne.q)(1),(0,gt.O)(On)))).pipe((0,Se.U)(A=>{for(const _ of A)if(!0!==_){if(_===On)return On;if(!1===_||_ instanceof vt)return _}return!0}),(0,N.h)(A=>A!==On),(0,Ne.q)(1)))}function Xr(C){return(0,p.z)((0,pe.b)(A=>{if(Ct(A))throw ct(0,A)}),(0,Se.U)(A=>!0===A))}const es={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ts(C,A,_,H,K){const Le=yr(C,A,_);return Le.matched?function fs(C,A,_,H){const K=A.canMatch;if(!K||0===K.length)return(0,d.of)(!0);const Le=K.map(lt=>{const ut=ar(lt,C);return Wt(function V(C){return C&&Tn(C.canMatch)}(ut)?ut.canMatch(A,_):C.runInContext(()=>ut(A,_)))});return(0,d.of)(Le).pipe(Li(),Xr())}(H=Jn(A,H),A,_).pipe((0,Se.U)(lt=>!0===lt?Le:{...es})):(0,d.of)(Le)}function yr(C,A,_){if(""===A.path)return"full"===A.pathMatch&&(C.hasChildren()||_.length>0)?{...es}:{matched:!0,consumedSegments:[],remainingSegments:_,parameters:{},positionalParamSegments:{}};const K=(A.matcher||ce)(_,C,A);if(!K)return{...es};const Le={};Qt(K.posParams,(ut,Gt)=>{Le[Gt]=ut.path});const lt=K.consumed.length>0?{...Le,...K.consumed[K.consumed.length-1].parameters}:Le;return{matched:!0,consumedSegments:K.consumed,remainingSegments:_.slice(K.consumed.length),parameters:lt,positionalParamSegments:K.posParams??{}}}function Ce(C,A,_,H,K="corrected"){if(_.length>0&&function j(C,A,_){return _.some(H=>We(C,A,H)&&wi(H)!==xe)}(C,_,H)){const lt=new St(A,function y(C,A,_,H){const K={};K[xe]=H,H._sourceSegment=C,H._segmentIndexShift=A.length;for(const Le of _)if(""===Le.path&&wi(Le)!==xe){const lt=new St([],{});lt._sourceSegment=C,lt._segmentIndexShift=A.length,K[wi(Le)]=lt}return K}(C,A,H,new St(_,C.children)));return lt._sourceSegment=C,lt._segmentIndexShift=A.length,{segmentGroup:lt,slicedSegments:[]}}if(0===_.length&&function Me(C,A,_){return _.some(H=>We(C,A,H))}(C,_,H)){const lt=new St(C.segments,function g(C,A,_,H,K,Le){const lt={};for(const ut of H)if(We(C,_,ut)&&!K[wi(ut)]){const Gt=new St([],{});Gt._sourceSegment=C,Gt._segmentIndexShift="legacy"===Le?C.segments.length:A.length,lt[wi(ut)]=Gt}return{...K,...lt}}(C,A,_,H,C.children,K));return lt._sourceSegment=C,lt._segmentIndexShift=A.length,{segmentGroup:lt,slicedSegments:_}}const Le=new St(C.segments,C.children);return Le._sourceSegment=C,Le._segmentIndexShift=A.length,{segmentGroup:Le,slicedSegments:_}}function We(C,A,_){return(!(C.hasChildren()||A.length>0)||"full"!==_.pathMatch)&&""===_.path}function yt(C,A,_,H){return!!(wi(C)===H||H!==xe&&We(A,_,C))&&("**"===C.path||yr(A,C,_).matched)}function bt(C,A,_){return 0===A.length&&!C.children[_]}const Ft=!1;class $t{constructor(A){this.segmentGroup=A||null}}class rn{constructor(A){this.urlTree=A}}function an(C){return(0,W._)(new $t(C))}function mn(C){return(0,W._)(new rn(C))}class zn{constructor(A,_,H,K,Le){this.injector=A,this.configLoader=_,this.urlSerializer=H,this.urlTree=K,this.config=Le,this.allowRedirects=!0}apply(){const A=Ce(this.urlTree.root,[],[],this.config).segmentGroup,_=new St(A.segments,A.children);return this.expandSegmentGroup(this.injector,this.config,_,xe).pipe((0,Se.U)(Le=>this.createUrlTree(ot(Le),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,we.K)(Le=>{if(Le instanceof rn)return this.allowRedirects=!1,this.match(Le.urlTree);throw Le instanceof $t?this.noMatchError(Le):Le}))}match(A){return this.expandSegmentGroup(this.injector,this.config,A.root,xe).pipe((0,Se.U)(K=>this.createUrlTree(ot(K),A.queryParams,A.fragment))).pipe((0,we.K)(K=>{throw K instanceof $t?this.noMatchError(K):K}))}noMatchError(A){return new r.vHH(4002,Ft)}createUrlTree(A,_,H){const K=tt(A);return new vt(K,_,H)}expandSegmentGroup(A,_,H,K){return 0===H.segments.length&&H.hasChildren()?this.expandChildren(A,_,H).pipe((0,Se.U)(Le=>new St([],Le))):this.expandSegment(A,H,_,H.segments,K,!0)}expandChildren(A,_,H){const K=[];for(const Le of Object.keys(H.children))"primary"===Le?K.unshift(Le):K.push(Le);return(0,i.D)(K).pipe((0,ie.b)(Le=>{const lt=H.children[Le],ut=Ei(_,Le);return this.expandSegmentGroup(A,ut,lt,Le).pipe((0,Se.U)(Gt=>({segment:Gt,outlet:Le})))}),Ve((Le,lt)=>(Le[lt.outlet]=lt.segment,Le),{}),_t())}expandSegment(A,_,H,K,Le,lt){return(0,i.D)(H).pipe((0,ie.b)(ut=>this.expandSegmentAgainstRoute(A,_,H,ut,K,Le,lt).pipe((0,we.K)(sn=>{if(sn instanceof $t)return(0,d.of)(null);throw sn}))),(0,X.P)(ut=>!!ut),(0,we.K)((ut,Gt)=>{if(un(ut))return bt(_,K,Le)?(0,d.of)(new St([],{})):an(_);throw ut}))}expandSegmentAgainstRoute(A,_,H,K,Le,lt,ut){return yt(K,_,Le,lt)?void 0===K.redirectTo?this.matchSegmentAgainstRoute(A,_,K,Le,lt):ut&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(A,_,H,K,Le,lt):an(_):an(_)}expandSegmentAgainstRouteUsingRedirect(A,_,H,K,Le,lt){return"**"===K.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(A,H,K,lt):this.expandRegularSegmentAgainstRouteUsingRedirect(A,_,H,K,Le,lt)}expandWildCardWithParamsAgainstRouteUsingRedirect(A,_,H,K){const Le=this.applyRedirectCommands([],H.redirectTo,{});return H.redirectTo.startsWith("/")?mn(Le):this.lineralizeSegments(H,Le).pipe((0,B.z)(lt=>{const ut=new St(lt,{});return this.expandSegment(A,ut,_,lt,K,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(A,_,H,K,Le,lt){const{matched:ut,consumedSegments:Gt,remainingSegments:sn,positionalParamSegments:Ln}=yr(_,K,Le);if(!ut)return an(_);const pn=this.applyRedirectCommands(Gt,K.redirectTo,Ln);return K.redirectTo.startsWith("/")?mn(pn):this.lineralizeSegments(K,pn).pipe((0,B.z)(Kn=>this.expandSegment(A,_,H,Kn.concat(sn),lt,!1)))}matchSegmentAgainstRoute(A,_,H,K,Le){return"**"===H.path?(A=Jn(H,A),H.loadChildren?(H._loadedRoutes?(0,d.of)({routes:H._loadedRoutes,injector:H._loadedInjector}):this.configLoader.loadChildren(A,H)).pipe((0,Se.U)(ut=>(H._loadedRoutes=ut.routes,H._loadedInjector=ut.injector,new St(K,{})))):(0,d.of)(new St(K,{}))):ts(_,H,K,A).pipe((0,Ze.w)(({matched:lt,consumedSegments:ut,remainingSegments:Gt})=>lt?this.getChildConfig(A=H._injector??A,H,K).pipe((0,B.z)(Ln=>{const pn=Ln.injector??A,Kn=Ln.routes,{segmentGroup:Ki,slicedSegments:Hr}=Ce(_,ut,Gt,Kn),vs=new St(Ki.segments,Ki.children);if(0===Hr.length&&vs.hasChildren())return this.expandChildren(pn,Kn,vs).pipe((0,Se.U)(so=>new St(ut,so)));if(0===Kn.length&&0===Hr.length)return(0,d.of)(new St(ut,{}));const Sr=wi(H)===Le;return this.expandSegment(pn,vs,Kn,Hr,Sr?xe:Le,!0).pipe((0,Se.U)(ys=>new St(ut.concat(ys.segments),ys.children)))})):an(_)))}getChildConfig(A,_,H){return _.children?(0,d.of)({routes:_.children,injector:A}):_.loadChildren?void 0!==_._loadedRoutes?(0,d.of)({routes:_._loadedRoutes,injector:_._loadedInjector}):function As(C,A,_,H){const K=A.canLoad;if(void 0===K||0===K.length)return(0,d.of)(!0);const Le=K.map(lt=>{const ut=ar(lt,C);return Wt(function qr(C){return C&&Tn(C.canLoad)}(ut)?ut.canLoad(A,_):C.runInContext(()=>ut(A,_)))});return(0,d.of)(Le).pipe(Li(),Xr())}(A,_,H).pipe((0,B.z)(K=>K?this.configLoader.loadChildren(A,_).pipe((0,pe.b)(Le=>{_._loadedRoutes=Le.routes,_._loadedInjector=Le.injector})):function xn(C){return(0,W._)(Ot(Ft,3))}())):(0,d.of)({routes:[],injector:A})}lineralizeSegments(A,_){let H=[],K=_.root;for(;;){if(H=H.concat(K.segments),0===K.numberOfChildren)return(0,d.of)(H);if(K.numberOfChildren>1||!K.children[xe])return(0,W._)(new r.vHH(4e3,Ft));K=K.children[xe]}}applyRedirectCommands(A,_,H){return this.applyRedirectCreateUrlTree(_,this.urlSerializer.parse(_),A,H)}applyRedirectCreateUrlTree(A,_,H,K){const Le=this.createSegmentGroup(A,_.root,H,K);return new vt(Le,this.createQueryParams(_.queryParams,this.urlTree.queryParams),_.fragment)}createQueryParams(A,_){const H={};return Qt(A,(K,Le)=>{if("string"==typeof K&&K.startsWith(":")){const ut=K.substring(1);H[Le]=_[ut]}else H[Le]=K}),H}createSegmentGroup(A,_,H,K){const Le=this.createSegments(A,_.segments,H,K);let lt={};return Qt(_.children,(ut,Gt)=>{lt[Gt]=this.createSegmentGroup(A,ut,H,K)}),new St(Le,lt)}createSegments(A,_,H,K){return _.map(Le=>Le.path.startsWith(":")?this.findPosParam(A,Le,K):this.findOrReturn(Le,H))}findPosParam(A,_,H){const K=H[_.path.substring(1)];if(!K)throw new r.vHH(4001,Ft);return K}findOrReturn(A,_){let H=0;for(const K of _){if(K.path===A.path)return _.splice(H),K;H++}return A}}class di{}class Gi{constructor(A,_,H,K,Le,lt,ut,Gt){this.injector=A,this.rootComponentType=_,this.config=H,this.urlTree=K,this.url=Le,this.paramsInheritanceStrategy=lt,this.relativeLinkResolution=ut,this.urlSerializer=Gt}recognize(){const A=Ce(this.urlTree.root,[],[],this.config.filter(_=>void 0===_.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,A,xe).pipe((0,Se.U)(_=>{if(null===_)return null;const H=new gi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},xe,this.rootComponentType,null,this.urlTree.root,-1,{}),K=new Oi(H,_),Le=new mr(this.url,K);return this.inheritParamsAndData(Le._root),Le}))}inheritParamsAndData(A){const _=A.value,H=fr(_,this.paramsInheritanceStrategy);_.params=Object.freeze(H.params),_.data=Object.freeze(H.data),A.children.forEach(K=>this.inheritParamsAndData(K))}processSegmentGroup(A,_,H,K){return 0===H.segments.length&&H.hasChildren()?this.processChildren(A,_,H):this.processSegment(A,_,H,H.segments,K)}processChildren(A,_,H){return(0,i.D)(Object.keys(H.children)).pipe((0,ie.b)(K=>{const Le=H.children[K],lt=Ei(_,K);return this.processSegmentGroup(A,lt,Le,K)}),Ve((K,Le)=>K&&Le?(K.push(...Le),K):null),(0,et.o)(K=>null!==K),(0,At.d)(null),_t(),(0,Se.U)(K=>{if(null===K)return null;const Le=Ti(K);return function vi(C){C.sort((A,_)=>A.value.outlet===xe?-1:_.value.outlet===xe?1:A.value.outlet.localeCompare(_.value.outlet))}(Le),Le}))}processSegment(A,_,H,K,Le){return(0,i.D)(_).pipe((0,ie.b)(lt=>this.processSegmentAgainstRoute(lt._injector??A,lt,H,K,Le)),(0,X.P)(lt=>!!lt),(0,we.K)(lt=>{if(un(lt))return bt(H,K,Le)?(0,d.of)([]):(0,d.of)(null);throw lt}))}processSegmentAgainstRoute(A,_,H,K,Le){if(_.redirectTo||!yt(_,H,K,Le))return(0,d.of)(null);let lt;if("**"===_.path){const ut=K.length>0?Et(K).parameters:{},Gt=zi(H)+K.length,sn=new gi(K,ut,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Os(_),wi(_),_.component??_._loadedComponent??null,_,Nr(H),Gt,I(_),Gt);lt=(0,d.of)({snapshot:sn,consumedSegments:[],remainingSegments:[]})}else lt=ts(H,_,K,A).pipe((0,Se.U)(({matched:ut,consumedSegments:Gt,remainingSegments:sn,parameters:Ln})=>{if(!ut)return null;const pn=zi(H)+Gt.length;return{snapshot:new gi(Gt,Ln,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Os(_),wi(_),_.component??_._loadedComponent??null,_,Nr(H),pn,I(_),pn),consumedSegments:Gt,remainingSegments:sn}}));return lt.pipe((0,Ze.w)(ut=>{if(null===ut)return(0,d.of)(null);const{snapshot:Gt,consumedSegments:sn,remainingSegments:Ln}=ut;A=_._injector??A;const pn=_._loadedInjector??A,Kn=function br(C){return C.children?C.children:C.loadChildren?C._loadedRoutes:[]}(_),{segmentGroup:Ki,slicedSegments:Hr}=Ce(H,sn,Ln,Kn.filter(Sr=>void 0===Sr.redirectTo),this.relativeLinkResolution);if(0===Hr.length&&Ki.hasChildren())return this.processChildren(pn,Kn,Ki).pipe((0,Se.U)(Sr=>null===Sr?null:[new Oi(Gt,Sr)]));if(0===Kn.length&&0===Hr.length)return(0,d.of)([new Oi(Gt,[])]);const vs=wi(_)===Le;return this.processSegment(pn,Kn,Ki,Hr,vs?xe:Le).pipe((0,Se.U)(Sr=>null===Sr?null:[new Oi(Gt,Sr)]))}))}}function yi(C){const A=C.value.routeConfig;return A&&""===A.path&&void 0===A.redirectTo}function Ti(C){const A=[],_=new Set;for(const H of C){if(!yi(H)){A.push(H);continue}const K=A.find(Le=>H.value.routeConfig===Le.value.routeConfig);void 0!==K?(K.children.push(...H.children),_.add(K)):A.push(H)}for(const H of _){const K=Ti(H.children);A.push(new Oi(H.value,K))}return A.filter(H=>!_.has(H))}function Nr(C){let A=C;for(;A._sourceSegment;)A=A._sourceSegment;return A}function zi(C){let A=C,_=A._segmentIndexShift??0;for(;A._sourceSegment;)A=A._sourceSegment,_+=A._segmentIndexShift??0;return _-1}function Os(C){return C.data||{}}function I(C){return C.resolve||{}}function dn(C){return"string"==typeof C.title||null===C.title}function bn(C){return(0,Ze.w)(A=>{const _=C(A);return _?(0,i.D)(_).pipe((0,Se.U)(()=>A)):(0,d.of)(A)})}let Rn=(()=>{class C{buildTitle(_){let H,K=_.root;for(;void 0!==K;)H=this.getResolvedTitleForRoute(K)??H,K=K.children.find(Le=>Le.outlet===xe);return H}getResolvedTitleForRoute(_){return _.data[Dt]}}return C.\u0275fac=function(_){return new(_||C)},C.\u0275prov=r.Yz7({token:C,factory:function(){return(0,r.f3M)(Gn)},providedIn:"root"}),C})(),Gn=(()=>{class C extends Rn{constructor(_){super(),this.title=_}updateTitle(_){const H=this.buildTitle(_);void 0!==H&&this.title.setTitle(H)}}return C.\u0275fac=function(_){return new(_||C)(r.LFG(ye.Dx))},C.\u0275prov=r.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();class Yn{}class si extends class In{shouldDetach(A){return!1}store(A,_){}shouldAttach(A){return!1}retrieve(A){return null}shouldReuseRoute(A,_){return A.routeConfig===_.routeConfig}}{}const Bi=new r.OlP("",{providedIn:"root",factory:()=>({})}),ui=new r.OlP("ROUTES");let is=(()=>{class C{constructor(_,H){this.injector=_,this.compiler=H,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(_){if(this.componentLoaders.get(_))return this.componentLoaders.get(_);if(_._loadedComponent)return(0,d.of)(_._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(_);const H=Wt(_.loadComponent()).pipe((0,pe.b)(Le=>{this.onLoadEndListener&&this.onLoadEndListener(_),_._loadedComponent=Le}),(0,he.x)(()=>{this.componentLoaders.delete(_)})),K=new le.c(H,()=>new me.x).pipe((0,G.x)());return this.componentLoaders.set(_,K),K}loadChildren(_,H){if(this.childrenLoaders.get(H))return this.childrenLoaders.get(H);if(H._loadedRoutes)return(0,d.of)({routes:H._loadedRoutes,injector:H._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(H);const Le=this.loadModuleFactoryOrRoutes(H.loadChildren).pipe((0,Se.U)(ut=>{this.onLoadEndListener&&this.onLoadEndListener(H);let Gt,sn,Ln=!1;Array.isArray(ut)?sn=ut:(Gt=ut.create(_).injector,sn=Qe(Gt.get(ui,[],r.XFs.Self|r.XFs.Optional)));return{routes:sn.map(Ri),injector:Gt}}),(0,he.x)(()=>{this.childrenLoaders.delete(H)})),lt=new le.c(Le,()=>new me.x).pipe((0,G.x)());return this.childrenLoaders.set(H,lt),lt}loadModuleFactoryOrRoutes(_){return Wt(_()).pipe((0,B.z)(H=>H instanceof r.YKP||Array.isArray(H)?(0,d.of)(H):(0,i.D)(this.compiler.compileModuleAsync(H))))}}return C.\u0275fac=function(_){return new(_||C)(r.LFG(r.zs3),r.LFG(r.Sil))},C.\u0275prov=r.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();class Vr{}class Ts{shouldProcessUrl(A){return!0}extract(A){return A}merge(A,_){return A}}function to(C){throw C}function no(C,A,_){return A.parse("/")}const fl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_a={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function ko(){const C=(0,r.f3M)(xt),A=(0,r.f3M)(Jt),_=(0,r.f3M)(fe.Ye),H=(0,r.f3M)(r.zs3),K=(0,r.f3M)(r.Sil),Le=(0,r.f3M)(ui,{optional:!0})??[],lt=(0,r.f3M)(Bi,{optional:!0})??{},ut=(0,r.f3M)(Gn),Gt=(0,r.f3M)(Rn,{optional:!0}),sn=(0,r.f3M)(Vr,{optional:!0}),Ln=(0,r.f3M)(Yn,{optional:!0}),pn=new bi(null,C,A,_,H,K,Qe(Le));return sn&&(pn.urlHandlingStrategy=sn),Ln&&(pn.routeReuseStrategy=Ln),pn.titleStrategy=Gt??ut,function va(C,A){C.errorHandler&&(A.errorHandler=C.errorHandler),C.malformedUriErrorHandler&&(A.malformedUriErrorHandler=C.malformedUriErrorHandler),C.onSameUrlNavigation&&(A.onSameUrlNavigation=C.onSameUrlNavigation),C.paramsInheritanceStrategy&&(A.paramsInheritanceStrategy=C.paramsInheritanceStrategy),C.relativeLinkResolution&&(A.relativeLinkResolution=C.relativeLinkResolution),C.urlUpdateStrategy&&(A.urlUpdateStrategy=C.urlUpdateStrategy),C.canceledNavigationResolution&&(A.canceledNavigationResolution=C.canceledNavigationResolution)}(lt,pn),pn}let bi=(()=>{class C{constructor(_,H,K,Le,lt,ut,Gt){this.rootComponentType=_,this.urlSerializer=H,this.rootContexts=K,this.location=Le,this.config=Gt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new me.x,this.errorHandler=to,this.malformedUriErrorHandler=no,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,d.of)(void 0),this.urlHandlingStrategy=new Ts,this.routeReuseStrategy=new si,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=lt.get(is),this.configLoader.onLoadEndListener=Kn=>this.triggerEvent(new Zr(Kn)),this.configLoader.onLoadStartListener=Kn=>this.triggerEvent(new qi(Kn)),this.ngModule=lt.get(r.h0i),this.console=lt.get(r.c2e);const pn=lt.get(r.R0b);this.isNgZoneEnabled=pn instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(Gt),this.currentUrlTree=function qe(){return new vt(new St([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Kr(this.currentUrlTree,this.rootComponentType),this.transitions=new D.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(){return this.location.getState()?.\u0275routerPageId}setupNavigations(_){const H=this.events;return _.pipe((0,N.h)(K=>0!==K.id),(0,Se.U)(K=>({...K,extractedUrl:this.urlHandlingStrategy.extract(K.rawUrl)})),(0,Ze.w)(K=>{let Le=!1,lt=!1;return(0,d.of)(K).pipe((0,pe.b)(ut=>{this.currentNavigation={id:ut.id,initialUrl:ut.rawUrl,extractedUrl:ut.extractedUrl,trigger:ut.source,extras:ut.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ze.w)(ut=>{const Gt=this.browserUrlTree.toString(),sn=!this.navigated||ut.extractedUrl.toString()!==Gt||Gt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||sn)&&this.urlHandlingStrategy.shouldProcessUrl(ut.rawUrl))return Hs(ut.source)&&(this.browserUrlTree=ut.extractedUrl),(0,d.of)(ut).pipe((0,Ze.w)(pn=>{const Kn=this.transitions.getValue();return H.next(new Mi(pn.id,this.serializeUrl(pn.extractedUrl),pn.source,pn.restoredState)),Kn!==this.transitions.getValue()?se.E:Promise.resolve(pn)}),function Wn(C,A,_,H){return(0,Ze.w)(K=>function Sn(C,A,_,H,K){return new zn(C,A,_,H,K).apply()}(C,A,_,K.extractedUrl,H).pipe((0,Se.U)(Le=>({...K,urlAfterRedirects:Le}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,pe.b)(pn=>{this.currentNavigation={...this.currentNavigation,finalUrl:pn.urlAfterRedirects},K.urlAfterRedirects=pn.urlAfterRedirects}),function q(C,A,_,H,K,Le){return(0,B.z)(lt=>function cr(C,A,_,H,K,Le,lt="emptyOnly",ut="legacy"){return new Gi(C,A,_,H,K,lt,ut,Le).recognize().pipe((0,Ze.w)(Gt=>null===Gt?function ni(C){return new ae.y(A=>A.error(C))}(new di):(0,d.of)(Gt)))}(C,A,_,lt.urlAfterRedirects,H.serialize(lt.urlAfterRedirects),H,K,Le).pipe((0,Se.U)(ut=>({...lt,targetSnapshot:ut}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,pe.b)(pn=>{if(K.targetSnapshot=pn.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!pn.extras.skipLocationChange){const Ki=this.urlHandlingStrategy.merge(pn.urlAfterRedirects,pn.rawUrl);this.setBrowserUrl(Ki,pn)}this.browserUrlTree=pn.urlAfterRedirects}const Kn=new mi(pn.id,this.serializeUrl(pn.extractedUrl),this.serializeUrl(pn.urlAfterRedirects),pn.targetSnapshot);H.next(Kn)}));if(sn&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Kn,extractedUrl:Ki,source:Hr,restoredState:vs,extras:Sr}=ut,Da=new Mi(Kn,this.serializeUrl(Ki),Hr,vs);H.next(Da);const ys=Kr(Ki,this.rootComponentType).snapshot;return K={...ut,targetSnapshot:ys,urlAfterRedirects:Ki,extras:{...Sr,skipLocationChange:!1,replaceUrl:!1}},(0,d.of)(K)}return this.rawUrlTree=ut.rawUrl,ut.resolve(null),se.E}),(0,pe.b)(ut=>{const Gt=new Ii(ut.id,this.serializeUrl(ut.extractedUrl),this.serializeUrl(ut.urlAfterRedirects),ut.targetSnapshot);this.triggerEvent(Gt)}),(0,Se.U)(ut=>K={...ut,guards:hs(ut.targetSnapshot,ut.currentSnapshot,this.rootContexts)}),function wr(C,A){return(0,B.z)(_=>{const{targetSnapshot:H,currentSnapshot:K,guards:{canActivateChecks:Le,canDeactivateChecks:lt}}=_;return 0===lt.length&&0===Le.length?(0,d.of)({..._,guardsResult:!0}):function ai(C,A,_,H){return(0,i.D)(C).pipe((0,B.z)(K=>function Ss(C,A,_,H,K){const Le=A&&A.routeConfig?A.routeConfig.canDeactivate:null;if(!Le||0===Le.length)return(0,d.of)(!0);const lt=Le.map(ut=>{const Gt=Fi(A)??K,sn=ar(ut,Gt);return Wt(function Z(C){return C&&Tn(C.canDeactivate)}(sn)?sn.canDeactivate(C,A,_,H):Gt.runInContext(()=>sn(C,A,_,H))).pipe((0,X.P)())});return(0,d.of)(lt).pipe(Li())}(K.component,K.route,_,A,H)),(0,X.P)(K=>!0!==K,!0))}(lt,H,K,C).pipe((0,B.z)(ut=>ut&&function ps(C){return"boolean"==typeof C}(ut)?function vr(C,A,_,H){return(0,i.D)(A).pipe((0,ie.b)(K=>(0,F.z)(function Br(C,A){return null!==C&&A&&A(new Xi(C)),(0,d.of)(!0)}(K.route.parent,H),function Ns(C,A){return null!==C&&A&&A(new Wr(C)),(0,d.of)(!0)}(K.route,H),function eo(C,A,_){const H=A[A.length-1],Le=A.slice(0,A.length-1).reverse().map(lt=>function Jr(C){const A=C.routeConfig?C.routeConfig.canActivateChild:null;return A&&0!==A.length?{node:C,guards:A}:null}(lt)).filter(lt=>null!==lt).map(lt=>(0,w.P)(()=>{const ut=lt.guards.map(Gt=>{const sn=Fi(lt.node)??_,Ln=ar(Gt,sn);return Wt(function Q(C){return C&&Tn(C.canActivateChild)}(Ln)?Ln.canActivateChild(H,C):sn.runInContext(()=>Ln(H,C))).pipe((0,X.P)())});return(0,d.of)(ut).pipe(Li())}));return(0,d.of)(Le).pipe(Li())}(C,K.path,_),function lr(C,A,_){const H=A.routeConfig?A.routeConfig.canActivate:null;if(!H||0===H.length)return(0,d.of)(!0);const K=H.map(Le=>(0,w.P)(()=>{const lt=Fi(A)??_,ut=ar(Le,lt);return Wt(function ri(C){return C&&Tn(C.canActivate)}(ut)?ut.canActivate(A,C):lt.runInContext(()=>ut(A,C))).pipe((0,X.P)())}));return(0,d.of)(K).pipe(Li())}(C,K.route,_))),(0,X.P)(K=>!0!==K,!0))}(H,Le,C,A):(0,d.of)(ut)),(0,Se.U)(ut=>({..._,guardsResult:ut})))})}(this.ngModule.injector,ut=>this.triggerEvent(ut)),(0,pe.b)(ut=>{if(K.guardsResult=ut.guardsResult,Ct(ut.guardsResult))throw ct(0,ut.guardsResult);const Gt=new xi(ut.id,this.serializeUrl(ut.extractedUrl),this.serializeUrl(ut.urlAfterRedirects),ut.targetSnapshot,!!ut.guardsResult);this.triggerEvent(Gt)}),(0,N.h)(ut=>!!ut.guardsResult||(this.restoreHistory(ut),this.cancelNavigationTransition(ut,"",3),!1)),bn(ut=>{if(ut.guards.canActivateChecks.length)return(0,d.of)(ut).pipe((0,pe.b)(Gt=>{const sn=new Ai(Gt.id,this.serializeUrl(Gt.extractedUrl),this.serializeUrl(Gt.urlAfterRedirects),Gt.targetSnapshot);this.triggerEvent(sn)}),(0,Ze.w)(Gt=>{let sn=!1;return(0,d.of)(Gt).pipe(function k(C,A){return(0,B.z)(_=>{const{targetSnapshot:H,guards:{canActivateChecks:K}}=_;if(!K.length)return(0,d.of)(_);let Le=0;return(0,i.D)(K).pipe((0,ie.b)(lt=>function _e(C,A,_,H){const K=C.routeConfig,Le=C._resolve;return void 0!==K?.title&&!dn(K)&&(Le[Dt]=K.title),function dt(C,A,_,H){const K=function Lt(C){return[...Object.keys(C),...Object.getOwnPropertySymbols(C)]}(C);if(0===K.length)return(0,d.of)({});const Le={};return(0,i.D)(K).pipe((0,B.z)(lt=>function zt(C,A,_,H){const K=Fi(A)??H,Le=ar(C,K);return Wt(Le.resolve?Le.resolve(A,_):K.runInContext(()=>Le(A,_)))}(C[lt],A,_,H).pipe((0,X.P)(),(0,pe.b)(ut=>{Le[lt]=ut}))),pt(1),(0,mt.h)(Le),(0,we.K)(lt=>un(lt)?se.E:(0,W._)(lt)))}(Le,C,A,H).pipe((0,Se.U)(lt=>(C._resolvedData=lt,C.data=fr(C,_).resolve,K&&dn(K)&&(C.data[Dt]=K.title),null)))}(lt.route,H,C,A)),(0,pe.b)(()=>Le++),pt(1),(0,B.z)(lt=>Le===K.length?(0,d.of)(_):se.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,pe.b)({next:()=>sn=!0,complete:()=>{sn||(this.restoreHistory(Gt),this.cancelNavigationTransition(Gt,"",2))}}))}),(0,pe.b)(Gt=>{const sn=new ci(Gt.id,this.serializeUrl(Gt.extractedUrl),this.serializeUrl(Gt.urlAfterRedirects),Gt.targetSnapshot);this.triggerEvent(sn)}))}),bn(ut=>{const Gt=sn=>{const Ln=[];sn.routeConfig?.loadComponent&&!sn.routeConfig._loadedComponent&&Ln.push(this.configLoader.loadComponent(sn.routeConfig).pipe((0,pe.b)(pn=>{sn.component=pn}),(0,Se.U)(()=>{})));for(const pn of sn.children)Ln.push(...Gt(pn));return Ln};return(0,T.a)(Gt(ut.targetSnapshot.root)).pipe((0,At.d)(),(0,Ne.q)(1))}),bn(()=>this.afterPreactivation()),(0,Se.U)(ut=>{const Gt=function gr(C,A,_){const H=ki(C,A._root,_?_._root:void 0);return new Dr(H,A)}(this.routeReuseStrategy,ut.targetSnapshot,ut.currentRouterState);return K={...ut,targetRouterState:Gt}}),(0,pe.b)(ut=>{this.currentUrlTree=ut.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ut.urlAfterRedirects,ut.rawUrl),this.routerState=ut.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ut.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ut),this.browserUrlTree=ut.urlAfterRedirects)}),((C,A,_)=>(0,Se.U)(H=>(new fn(A,H.targetRouterState,H.currentRouterState,_).activate(C),H)))(this.rootContexts,this.routeReuseStrategy,ut=>this.triggerEvent(ut)),(0,pe.b)({next(){Le=!0},complete(){Le=!0}}),(0,he.x)(()=>{Le||lt||this.cancelNavigationTransition(K,"",1),this.currentNavigation?.id===K.id&&(this.currentNavigation=null)}),(0,we.K)(ut=>{if(lt=!0,He(ut)){U(ut)||(this.navigated=!0,this.restoreHistory(K,!0));const Gt=new ii(K.id,this.serializeUrl(K.extractedUrl),ut.message,ut.cancellationCode);if(H.next(Gt),U(ut)){const sn=this.urlHandlingStrategy.merge(ut.url,this.rawUrlTree),Ln={skipLocationChange:K.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Hs(K.source)};this.scheduleNavigation(sn,"imperative",null,Ln,{resolve:K.resolve,reject:K.reject,promise:K.promise})}else K.resolve(!1)}else{this.restoreHistory(K,!0);const Gt=new Xn(K.id,this.serializeUrl(K.extractedUrl),ut,K.targetSnapshot??void 0);H.next(Gt);try{K.resolve(this.errorHandler(ut))}catch(sn){K.reject(sn)}}return se.E}))}))}resetRootComponentType(_){this.rootComponentType=_,this.routerState.root.component=this.rootComponentType}setTransition(_){this.transitions.next({...this.transitions.value,..._})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(_=>{const H="popstate"===_.type?"popstate":"hashchange";"popstate"===H&&setTimeout(()=>{const K={replaceUrl:!0},Le=_.state?.navigationId?_.state:null;if(Le){const ut={...Le};delete ut.navigationId,delete ut.\u0275routerPageId,0!==Object.keys(ut).length&&(K.state=ut)}const lt=this.parseUrl(_.url);this.scheduleNavigation(lt,H,Le,K)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(_){this.events.next(_)}resetConfig(_){this.config=_.map(Ri),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(_,H={}){const{relativeTo:K,queryParams:Le,fragment:lt,queryParamsHandling:ut,preserveFragment:Gt}=H,sn=K||this.routerState.root,Ln=Gt?this.currentUrlTree.fragment:lt;let pn=null;switch(ut){case"merge":pn={...this.currentUrlTree.queryParams,...Le};break;case"preserve":pn=this.currentUrlTree.queryParams;break;default:pn=Le||null}return null!==pn&&(pn=this.removeEmptyProps(pn)),yn(sn,this.currentUrlTree,_,pn,Ln??null)}navigateByUrl(_,H={skipLocationChange:!1}){const K=Ct(_)?_:this.parseUrl(_),Le=this.urlHandlingStrategy.merge(K,this.rawUrlTree);return this.scheduleNavigation(Le,"imperative",null,H)}navigate(_,H={skipLocationChange:!1}){return function ml(C){for(let A=0;A{const Le=_[K];return null!=Le&&(H[K]=Le),H},{})}processNavigations(){this.navigations.subscribe(_=>{this.navigated=!0,this.lastSuccessfulId=_.id,this.currentPageId=_.targetPageId,this.events.next(new Nn(_.id,this.serializeUrl(_.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),_.resolve(!0)},_=>{this.console.warn(`Unhandled Navigation Error: ${_}`)})}scheduleNavigation(_,H,K,Le,lt){if(this.disposed)return Promise.resolve(!1);let ut,Gt,sn;lt?(ut=lt.resolve,Gt=lt.reject,sn=lt.promise):sn=new Promise((Kn,Ki)=>{ut=Kn,Gt=Ki});const Ln=++this.navigationId;let pn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(K=this.location.getState()),pn=K&&K.\u0275routerPageId?K.\u0275routerPageId:Le.replaceUrl||Le.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):pn=0,this.setTransition({id:Ln,targetPageId:pn,source:H,restoredState:K,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:_,extras:Le,resolve:ut,reject:Gt,promise:sn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),sn.catch(Kn=>Promise.reject(Kn))}setBrowserUrl(_,H){const K=this.urlSerializer.serialize(_),Le={...H.extras.state,...this.generateNgRouterState(H.id,H.targetPageId)};this.location.isCurrentPathEqualTo(K)||H.extras.replaceUrl?this.location.replaceState(K,"",Le):this.location.go(K,"",Le)}restoreHistory(_,H=!1){if("computed"===this.canceledNavigationResolution){const K=this.currentPageId-_.targetPageId;"popstate"!==_.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===K?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===K&&(this.resetState(_),this.browserUrlTree=_.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(K)}else"replace"===this.canceledNavigationResolution&&(H&&this.resetState(_),this.resetUrlToCurrentUrlTree())}resetState(_){this.routerState=_.currentRouterState,this.currentUrlTree=_.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,_.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(_,H,K){const Le=new ii(_.id,this.serializeUrl(_.extractedUrl),H,K);this.triggerEvent(Le),_.resolve(!1)}generateNgRouterState(_,H){return"computed"===this.canceledNavigationResolution?{navigationId:_,\u0275routerPageId:H}:{navigationId:_}}}return C.\u0275fac=function(_){r.$Z()},C.\u0275prov=r.Yz7({token:C,factory:function(){return ko()},providedIn:"root"}),C})();function Hs(C){return"imperative"!==C}let rs=(()=>{class C{constructor(_,H,K,Le,lt){this.router=_,this.route=H,this.tabIndexAttribute=K,this.renderer=Le,this.el=lt,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new me.x,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(_){this._preserveFragment=(0,r.D6c)(_)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(_){this._skipLocationChange=(0,r.D6c)(_)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(_){this._replaceUrl=(0,r.D6c)(_)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(_){if(null!=this.tabIndexAttribute)return;const H=this.renderer,K=this.el.nativeElement;null!==_?H.setAttribute(K,"tabindex",_):H.removeAttribute(K,"tabindex")}ngOnChanges(_){this.onChanges.next(this)}set routerLink(_){null!=_?(this.commands=Array.isArray(_)?_:[_],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!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:this.preserveFragment})}}return C.\u0275fac=function(_){return new(_||C)(r.Y36(bi),r.Y36(Hi),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq))},C.\u0275dir=r.lG2({type:C,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(_,H){1&_&&r.NdJ("click",function(){return H.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[r.TTD]}),C})(),io=(()=>{class C{constructor(_,H,K){this.router=_,this.route=H,this.locationStrategy=K,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new me.x,this.subscription=_.events.subscribe(Le=>{Le instanceof Nn&&this.updateTargetUrlAndHref()})}set preserveFragment(_){this._preserveFragment=(0,r.D6c)(_)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(_){this._skipLocationChange=(0,r.D6c)(_)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(_){this._replaceUrl=(0,r.D6c)(_)}get replaceUrl(){return this._replaceUrl}set routerLink(_){this.commands=null!=_?Array.isArray(_)?_:[_]:null}ngOnChanges(_){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(_,H,K,Le,lt){return!!(0!==_||H||K||Le||lt||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!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:this.preserveFragment})}}return C.\u0275fac=function(_){return new(_||C)(r.Y36(bi),r.Y36(Hi),r.Y36(fe.S$))},C.\u0275dir=r.lG2({type:C,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(_,H){1&_&&r.NdJ("click",function(Le){return H.onClick(Le.button,Le.ctrlKey,Le.shiftKey,Le.altKey,Le.metaKey)}),2&_&&r.uIk("target",H.target)("href",H.href,r.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[r.TTD]}),C})(),Ro=(()=>{class C{constructor(_,H,K,Le,lt,ut){this.router=_,this.element=H,this.renderer=K,this.cdr=Le,this.link=lt,this.linkWithHref=ut,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new r.vpe,this.routerEventsSubscription=_.events.subscribe(Gt=>{Gt instanceof Nn&&this.update()})}ngAfterContentInit(){(0,d.of)(this.links.changes,this.linksWithHrefs.changes,(0,d.of)(null)).pipe((0,de.J)()).subscribe(_=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const _=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(H=>!!H).map(H=>H.onChanges);this.linkInputChangesSubscription=(0,i.D)(_).pipe((0,de.J)()).subscribe(H=>{this.isActive!==this.isLinkActive(this.router)(H)&&this.update()})}set routerLinkActive(_){const H=Array.isArray(_)?_:_.split(" ");this.classes=H.filter(K=>!!K)}ngOnChanges(_){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const _=this.hasActiveLinks();this.isActive!==_&&(this.isActive=_,this.cdr.markForCheck(),this.classes.forEach(H=>{_?this.renderer.addClass(this.element.nativeElement,H):this.renderer.removeClass(this.element.nativeElement,H)}),_&&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(_))})}isLinkActive(_){const H=function ya(C){return!!C.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return K=>!!K.urlTree&&_.isActive(K.urlTree,H)}hasActiveLinks(){const _=this.isLinkActive(this.router);return this.link&&_(this.link)||this.linkWithHref&&_(this.linkWithHref)||this.links.some(_)||this.linksWithHrefs.some(_)}}return C.\u0275fac=function(_){return new(_||C)(r.Y36(bi),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(rs,8),r.Y36(io,8))},C.\u0275dir=r.lG2({type:C,selectors:[["","routerLinkActive",""]],contentQueries:function(_,H,K){if(1&_&&(r.Suo(K,rs,5),r.Suo(K,io,5)),2&_){let Le;r.iGM(Le=r.CRH())&&(H.links=Le),r.iGM(Le=r.CRH())&&(H.linksWithHrefs=Le)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[r.TTD]}),C})();class ms{}let Fo=(()=>{class C{constructor(_,H,K,Le,lt){this.router=_,this.injector=K,this.preloadingStrategy=Le,this.loader=lt}setUpPreloading(){this.subscription=this.router.events.pipe((0,N.h)(_=>_ instanceof Nn),(0,ie.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(_,H){const K=[];for(const Le of H){Le.providers&&!Le._injector&&(Le._injector=(0,r.MMx)(Le.providers,_,`Route: ${Le.path}`));const lt=Le._injector??_,ut=Le._loadedInjector??lt;Le.loadChildren&&!Le._loadedRoutes&&void 0===Le.canLoad||Le.loadComponent&&!Le._loadedComponent?K.push(this.preloadConfig(lt,Le)):(Le.children||Le._loadedRoutes)&&K.push(this.processRoutes(ut,Le.children??Le._loadedRoutes))}return(0,i.D)(K).pipe((0,de.J)())}preloadConfig(_,H){return this.preloadingStrategy.preload(H,()=>{let K;K=H.loadChildren&&void 0===H.canLoad?this.loader.loadChildren(_,H):(0,d.of)(null);const Le=K.pipe((0,B.z)(lt=>null===lt?(0,d.of)(void 0):(H._loadedRoutes=lt.routes,H._loadedInjector=lt.injector,this.processRoutes(lt.injector??_,lt.routes))));if(H.loadComponent&&!H._loadedComponent){const lt=this.loader.loadComponent(H);return(0,i.D)([Le,lt]).pipe((0,de.J)())}return Le})}}return C.\u0275fac=function(_){return new(_||C)(r.LFG(bi),r.LFG(r.Sil),r.LFG(r.lqb),r.LFG(ms),r.LFG(is))},C.\u0275prov=r.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();const Lo=new r.OlP("");let Bo=(()=>{class C{constructor(_,H,K={}){this.router=_,this.viewportScroller=H,this.options=K,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},K.scrollPositionRestoration=K.scrollPositionRestoration||"disabled",K.anchorScrolling=K.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(_=>{_ instanceof Mi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=_.navigationTrigger,this.restoredId=_.restoredState?_.restoredState.navigationId:0):_ instanceof Nn&&(this.lastId=_.id,this.scheduleScrollEvent(_,this.router.parseUrl(_.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(_=>{_ instanceof Cr&&(_.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(_.position):_.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(_.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(_,H){this.router.triggerEvent(new Cr(_,"popstate"===this.lastSource?this.store[this.restoredId]:null,H))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return C.\u0275fac=function(_){r.$Z()},C.\u0275prov=r.Yz7({token:C,factory:C.\u0275fac}),C})();function Er(C,A){return{\u0275kind:C,\u0275providers:A}}function ro(C){return[{provide:ui,multi:!0,useValue:C}]}function _s(){const C=(0,r.f3M)(r.zs3);return A=>{const _=C.get(r.z2F);if(A!==_.components[0])return;const H=C.get(bi),K=C.get(_l);1===C.get(No)&&H.initialNavigation(),C.get(vl,null,r.XFs.Optional)?.setUpPreloading(),C.get(Lo,null,r.XFs.Optional)?.init(),H.resetRootComponentType(_.componentTypes[0]),K.closed||(K.next(),K.unsubscribe())}}const _l=new r.OlP("",{factory:()=>new me.x}),No=new r.OlP("",{providedIn:"root",factory:()=>1});const vl=new r.OlP("");function jd(C){return Er(0,[{provide:vl,useExisting:Fo},{provide:ms,useExisting:C}])}const ks=new r.OlP("ROUTER_FORROOT_GUARD"),Yd=[fe.Ye,{provide:xt,useClass:Oe},{provide:bi,useFactory:ko},Jt,{provide:Hi,useFactory:function gs(C){return C.routerState.root},deps:[bi]},is];function $d(){return new r.PXZ("Router",bi)}let Ci=(()=>{class C{constructor(_){}static forRoot(_,H){return{ngModule:C,providers:[Yd,[],ro(_),{provide:ks,useFactory:yl,deps:[[bi,new r.FiY,new r.tp0]]},{provide:Bi,useValue:H||{}},H?.useHash?{provide:fe.S$,useClass:fe.Do}:{provide:fe.S$,useClass:fe.b0},{provide:Lo,useFactory:()=>{const C=(0,r.f3M)(bi),A=(0,r.f3M)(fe.EM),_=(0,r.f3M)(Bi);return _.scrollOffset&&A.setOffset(_.scrollOffset),new Bo(C,A,_)}},H?.preloadingStrategy?jd(H.preloadingStrategy).\u0275providers:[],{provide:r.PXZ,multi:!0,useFactory:$d},H?.initialNavigation?dr(H):[],[{provide:Pr,useFactory:_s},{provide:r.tb,multi:!0,useExisting:Pr}]]}}static forChild(_){return{ngModule:C,providers:[ro(_)]}}}return C.\u0275fac=function(_){return new(_||C)(r.LFG(ks,8))},C.\u0275mod=r.oAB({type:C}),C.\u0275inj=r.cJS({imports:[Mn]}),C})();function yl(C){return"guarded"}function dr(C){return["disabled"===C.initialNavigation?Er(3,[{provide:r.ip1,multi:!0,useFactory:()=>{const A=(0,r.f3M)(bi);return()=>{A.setUpLocationChangeListener()}}},{provide:No,useValue:2}]).\u0275providers:[],"enabledBlocking"===C.initialNavigation?Er(2,[{provide:No,useValue:0},{provide:r.ip1,multi:!0,deps:[r.zs3],useFactory:A=>{const _=A.get(fe.V_,Promise.resolve());let H=!1;return()=>_.then(()=>new Promise(Le=>{const lt=A.get(bi),ut=A.get(_l);(function K(Le){A.get(bi).events.pipe((0,N.h)(ut=>ut instanceof Nn||ut instanceof ii||ut instanceof Xn),(0,Se.U)(ut=>ut instanceof Nn||ut instanceof ii&&(0===ut.code||1===ut.code)&&null),(0,N.h)(ut=>null!==ut),(0,Ne.q)(1)).subscribe(()=>{Le()})})(()=>{Le(!0),H=!0}),lt.afterPreactivation=()=>(Le(!0),H||ut.closed?(0,d.of)(void 0):ut),lt.initialNavigation()}))}}]).\u0275providers:[]]}const Pr=new r.OlP("")},3469:(Rt,je,a)=>{var D,u;a.d(je,{N:()=>d});var r=a(4650),i=a(6895);const T=class{constructor(w,p){this.document=w,this.platformId=p,this.documentIsAccessible=(0,i.NF)(this.platformId)}static getCookieRegExp(w){const p=w.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+p+"|;\\s*"+p+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(w){try{return decodeURIComponent(w)}catch{return w}}check(w){return!!this.documentIsAccessible&&(w=encodeURIComponent(w),T.getCookieRegExp(w).test(this.document.cookie))}get(w){if(this.documentIsAccessible&&this.check(w)){w=encodeURIComponent(w);const W=T.getCookieRegExp(w).exec(this.document.cookie);return W[1]?T.safeDecodeURIComponent(W[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const w={},p=this.document;return p.cookie&&""!==p.cookie&&p.cookie.split(";").forEach(W=>{const[ae,se]=W.split("=");w[T.safeDecodeURIComponent(ae.replace(/^ /,""))]=T.safeDecodeURIComponent(se)}),w}set(w,p,W,ae,se,le,me){if(!this.documentIsAccessible)return;if("number"==typeof W||W instanceof Date||ae||se||le||me)return void this.set(w,p,{expires:W,path:ae,domain:se,secure:le,sameSite:me||"Lax"});let fe=encodeURIComponent(w)+"="+encodeURIComponent(p)+";";const Se=W||{};Se.expires&&(fe+="number"==typeof Se.expires?"expires="+new Date((new Date).getTime()+1e3*Se.expires*60*60*24).toUTCString()+";":"expires="+Se.expires.toUTCString()+";"),Se.path&&(fe+="path="+Se.path+";"),Se.domain&&(fe+="domain="+Se.domain+";"),!1===Se.secure&&"None"===Se.sameSite&&(Se.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${w} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),Se.secure&&(fe+="secure;"),Se.sameSite||(Se.sameSite="Lax"),fe+="sameSite="+Se.sameSite+";",this.document.cookie=fe}delete(w,p,W,ae,se="Lax"){if(!this.documentIsAccessible)return;const le=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(w,"",{expires:le,path:p,domain:W,secure:ae,sameSite:se})}deleteAll(w,p,W,ae="Lax"){if(!this.documentIsAccessible)return;const se=this.getAll();for(const le in se)se.hasOwnProperty(le)&&this.delete(le,w,p,W,ae)}};let d=T;D=new WeakMap,u=new WeakMap,Rr(d,D,T.\u0275fac=function(p){return new(p||T)(r.LFG(i.K0),r.LFG(r.Lbi))}),Rr(d,u,T.\u0275prov=r.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}))},1094:(Rt,je,a)=>{a.d(je,{hx:()=>le,yI:()=>Se});var r=a(5861),i=a(4650),d=a(4006),D=a(6895);const u=new i.OlP("ngx-mask config"),T=new i.OlP("new ngx-mask config"),F=new i.OlP("initial ngx-mask config"),w={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,triggerOnMaskChange:!1,maskFilled:new i.vpe,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},p=["Hh:m0:s0","Hh:m0","m0:s0"],W=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let ae=(()=>{class Ne{constructor(N){this._config=N,this.maskExpression="",this.actualValue="",this.shownMaskExpression="",this._formatWithSeparators=(B,X,ie,pe)=>{let we=[],ne="";if(Array.isArray(ie)){const Ge=new RegExp(ie.map(At=>"[\\^$.|?*+()".indexOf(At)>=0?`\\${At}`:At).join("|"));we=B.split(Ge),ne=B.match(Ge)?.[0]??""}else we=B.split(ie),ne=ie;const ge=we.length>1?`${ne}${we[1]}`:"";let Ve=we[0];const Je=this.separatorLimit.replace(/\s/g,"");Je&&+Je&&(Ve="-"===Ve[0]?`-${Ve.slice(1,Ve.length).slice(0,Je.length)}`:Ve.slice(0,Je.length));const pt=/(\d+)(\d{3})/;for(;X&&pt.test(Ve);)Ve=Ve.replace(pt,"$1"+X+"$2");return void 0===pe?Ve+ge:0===pe?Ve:Ve+ge.substr(0,pe+1)},this.percentage=B=>Number(B)>=0&&Number(B)<=100,this.getPrecision=B=>{const X=B.split(".");return X.length>1?Number(X[X.length-1]):1/0},this.checkAndRemoveSuffix=B=>{for(let X=this.suffix?.length-1;X>=0;X--){const ie=this.suffix.substr(X,this.suffix?.length);if(B.includes(ie)&&(X-1<0||!B.includes(this.suffix.substr(X-1,this.suffix?.length))))return B.replace(ie,"")}return B},this.checkInputPrecision=(B,X,ie)=>{if(X<1/0){if(Array.isArray(ie)){const ne=ie.find(ge=>ge!==this.thousandSeparator);ie=ne||ie[0]}const pe=new RegExp(this._charToRegExpExpression(ie)+`\\d{${X}}.*$`),we=B.match(pe);we&&we[0].length-1>X&&(B=B.substring(0,B.length-(we[0].length-1-X))),0===X&&this._compareOrIncludes(B[B.length-1],ie,this.thousandSeparator)&&(B=B.substring(0,B.length-1))}return B},this._shift=new Set,this.clearIfNotMatch=this._config.clearIfNotMatch,this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.maskSpecialCharacters=this._config.specialCharacters,this.maskAvailablePatterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.hiddenInput=this._config.hiddenInput,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime}applyMaskWithPattern(N,B){const[X,ie]=B;return this.customPattern=ie,this.applyMask(N,X)}applyMask(N,B,X=0,ie=!1,pe=!1,we=(()=>{})){if(!B||"string"!=typeof N)return"";let ne=0,ge="",Ve=!1,Je=!1,pt=1,Ge=!1;N.slice(0,this.prefix.length)===this.prefix&&(N=N.slice(this.prefix.length,N.length)),this.suffix&&N?.length>0&&(N=this.checkAndRemoveSuffix(N));const At=N.toString().split("");"IP"===B&&(this.ipError=At.filter(G=>"."===G).length<3&&At.length<7,B="099.099.099.099");const st=[];for(let G=0;G11?"00.000.000/0000-00":"000.000.000-00"),B.startsWith("percent")){if(N.match("[a-z]|[A-Z]")||N.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)){N=this._stripToDecimal(N);const G=this.getPrecision(B);N=this.checkInputPrecision(N,G,this.decimalMarker)}N.indexOf(".")>0&&!this.percentage(N.substring(0,N.indexOf(".")))&&(N=`${N.substring(0,N.indexOf(".")-1)}${N.substring(N.indexOf("."),N.length)}`),ge=this.percentage(N)?N:N.substring(0,N.length-1)}else if(B.startsWith("separator")){(N.match("[w\u0430-\u044f\u0410-\u042f]")||N.match("[\u0401\u0451\u0410-\u044f]")||N.match("[a-z]|[A-Z]")||N.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\[\]:";<>.?\/]/)||N.match("[^A-Za-z0-9,]"))&&(N=this._stripToDecimal(N)),N=N.length>1&&"0"===N[0]&&!this._compareOrIncludes(N[1],this.decimalMarker,this.thousandSeparator)&&!pe?N.slice(1,N.length):N,pe&&(N=this._compareOrIncludes(N[N.length-1],this.decimalMarker,this.thousandSeparator)?N.slice(0,N.length-1):N);const G=this._charToRegExpExpression(this.thousandSeparator);let de='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(G,"");if(Array.isArray(this.decimalMarker))for(const ce of this.decimalMarker)de=de.replace(this._charToRegExpExpression(ce),"");else de=de.replace(this._charToRegExpExpression(this.decimalMarker),"");const ye=new RegExp("["+de+"]");(N.match(ye)||1===N.length&&this._compareOrIncludes(N,this.decimalMarker,this.thousandSeparator))&&(N=N.substring(0,N.length-1));const xe=this.getPrecision(B),Dt=(N=this.checkInputPrecision(N,xe,this.decimalMarker)).replace(new RegExp(G,"g"),"");ge=this._formatWithSeparators(Dt,this.thousandSeparator,this.decimalMarker,xe);const Fe=ge.indexOf(",")-N.indexOf(","),$e=ge.length-N.length;if($e>0&&","!==ge[X]){Je=!0;let ce=0;do{this._shift.add(X+ce),ce++}while(ce<$e)}else 0!==Fe&&X>0&&!(ge.indexOf(",")>=X&&X>3)||!(ge.indexOf(".")>=X&&X>3)&&$e<=0?(this._shift.clear(),Je=!0,pt=$e,this._shift.add(X+=$e)):this._shift.clear()}else for(let G=0,de=At[0];G2){ne+=1,this._shiftStep(B,ne,At.length),G--,this.leadZeroDateTime&&(ge+="0");continue}if("h"===B[ne]&&"2"===ge&&Number(de)>3){ne+=1,G--;continue}if("m"===B[ne]&&Number(de)>5){ne+=1,this._shiftStep(B,ne,At.length),G--,this.leadZeroDateTime&&(ge+="0");continue}if("s"===B[ne]&&Number(de)>5){ne+=1,this._shiftStep(B,ne,At.length),G--,this.leadZeroDateTime&&(ge+="0");continue}const ye=31;if("d"===B[ne]&&(Number(de)>3&&this.leadZeroDateTime||Number(N.slice(ne,ne+2))>ye||"/"===N[ne+1])){ne+=1,this._shiftStep(B,ne,At.length),G--,this.leadZeroDateTime&&(ge+="0");continue}if("M"===B[ne]){const Dt=0===ne&&(Number(de)>2||Number(N.slice(ne,ne+2))>12||"/"===N[ne+1]),Fe=N.slice(ne-3,ne-1).includes("/")&&("/"===N[ne-2]&&Number(N.slice(ne-1,ne+1))>12&&"/"!==N[ne]||"/"===N[ne]||"/"===N[ne-3]&&Number(N.slice(ne-2,ne))>12&&"/"!==N[ne-1]||"/"===N[ne-1]),$e=Number(N.slice(ne-3,ne-1))<=ye&&!N.slice(ne-3,ne-1).includes("/")&&"/"===N[ne-1]&&(Number(N.slice(ne,ne+2))>12||"/"===N[ne+1]),ce=Number(N.slice(ne-3,ne-1))>ye&&!N.slice(ne-3,ne-1).includes("/")&&!N.slice(ne-2,ne).includes("/")&&Number(N.slice(ne-2,ne))>12,it=Number(N.slice(ne-3,ne-1))<=ye&&!N.slice(ne-3,ne-1).includes("/")&&"/"!==N[ne-1]&&Number(N.slice(ne-1,ne+1))>12;if(Number(de)>1&&this.leadZeroDateTime||Dt||Fe||$e||ce||it){ne+=1,this._shiftStep(B,ne,At.length),G--,this.leadZeroDateTime&&(ge+="0");continue}}ge+=de,ne++}else" "===de&&" "===B[ne]?(ge+=de,ne++):-1!==this.maskSpecialCharacters.indexOf(B[ne])?(ge+=B[ne],ne++,this._shiftStep(B,ne,At.length),G--):this.maskSpecialCharacters.indexOf(de)>-1&&this.maskAvailablePatterns[B[ne]]&&this.maskAvailablePatterns[B[ne]]?.optional?(!!At[ne]&&"099.099.099.099"!==B&&"000.000.000-00"!==B&&"00.000.000/0000-00"!==B&&!B.match(/^9+\.0+$/)&&(ge+=At[ne]),ne++,G--):"*"===this.maskExpression[ne+1]&&this._findSpecialChar(this.maskExpression[ne+2])&&this._findSpecialChar(de)===this.maskExpression[ne+2]&&Ve||"?"===this.maskExpression[ne+1]&&this._findSpecialChar(this.maskExpression[ne+2])&&this._findSpecialChar(de)===this.maskExpression[ne+2]&&Ve?(ne+=3,ge+=de):this.showMaskTyped&&this.maskSpecialCharacters.indexOf(de)<0&&de!==this.placeHolderCharacter&&(Ge=!0);ge.length+1===B.length&&-1!==this.maskSpecialCharacters.indexOf(B[B.length-1])&&(ge+=B[B.length-1]);let _t=X+1;for(;this._shift.has(_t);)pt++,_t++;let et=ie&&!B.startsWith("separator")?ne:this._shift.has(X)?pt:0;Ge&&et--,we(et,Je),pt<0&&this._shift.clear();let mt=!1;pe&&(mt=At.every(G=>this.maskSpecialCharacters.includes(G)));let he=`${this.prefix}${mt?"":ge}${this.suffix}`;return 0===ge.length&&(he=`${this.prefix}${ge}`),he}_findSpecialChar(N){return this.maskSpecialCharacters.find(B=>B===N)}_checkSymbolMask(N,B){return this.maskAvailablePatterns=this.customPattern?this.customPattern:this.maskAvailablePatterns,this.maskAvailablePatterns[B]&&this.maskAvailablePatterns[B].pattern&&this.maskAvailablePatterns[B].pattern.test(N)}_stripToDecimal(N){return N.split("").filter((B,X)=>B.match("^-?\\d")||B.match("\\s")||"."===B||","===B||"-"===B&&0===X&&this.allowNegativeNumbers).join("")}_charToRegExpExpression(N){return N&&(" "===N?"\\s":"[\\^$.|?*+()".indexOf(N)>=0?`\\${N}`:N)}_shiftStep(N,B,X){const ie=/[*?]/g.test(N.slice(0,B))?X:B;this._shift.add(ie+this.prefix.length||0)}_compareOrIncludes(N,B,X){return Array.isArray(B)?B.filter(ie=>ie!==X).includes(N):N===B}}return Ne.\u0275fac=function(N){return new(N||Ne)(i.LFG(u))},Ne.\u0275prov=i.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),se=(()=>{class Ne extends ae{constructor(N,B,X,ie){super(B),this.document=N,this._config=B,this._elementRef=X,this._renderer=ie,this.maskExpression="",this.isNumberValue=!1,this.placeHolderCharacter="_",this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this.triggerOnMaskChange=!1,this.onChange=pe=>{}}applyMask(N,B,X=0,ie=!1,pe=!1,we=(()=>{})){if(!B)return N!==this.actualValue?this.actualValue:N;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(N||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(N||"#")),!N&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown;const ne=N&&"number"==typeof this.selStart?N[this.selStart]:"";let ge="";if(this.hiddenInput&&!this.writingValue){let Ge=this.actualValue.split("");""!==N&&Ge.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(N.length>Ge.length?Ge.splice(this.selStart,0,ne):N.length!this._compareOrIncludes(Ge,this.decimalMarker,this.thousandSeparator))),this.formControlResult(Ve),!this.showMaskTyped)return this.hiddenInput&&Ve&&Ve.length?this.hideInput(Ve,this.maskExpression):Ve;const Je=Ve.length,pt=this.prefix+this.maskIsShown;if(this.maskExpression.includes("H")){const Ge=this._numberSkipedSymbols(Ve);return Ve+pt.slice(Je+Ge)}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?Ve+pt:Ve+pt.slice(Je)}_numberSkipedSymbols(N){const B=/(^|\D)(\d\D)/g;let X=B.exec(N),ie=0;for(;null!=X;)ie+=1,X=B.exec(N);return ie}applyValueChanges(N,B,X,ie=(()=>{})){const pe=this._elementRef.nativeElement;pe.value=this.applyMask(pe.value,this.maskExpression,N,B,X,ie),pe!==this._getActiveElement()&&this.clearIfNotMatchFn()}hideInput(N,B){return N.split("").map((X,ie)=>this.maskAvailablePatterns&&this.maskAvailablePatterns[B[ie]]&&this.maskAvailablePatterns[B[ie]]?.symbol?this.maskAvailablePatterns[B[ie]]?.symbol:X).join("")}getActualValue(N){const B=N.split("").filter((X,ie)=>this._checkSymbolMask(X,this.maskExpression[ie])||this.maskSpecialCharacters.includes(this.maskExpression[ie])&&X===this.maskExpression[ie]);return B.join("")===N?B.join(""):N}shiftTypedSymbols(N){let B="";return(N&&N.split("").map((ie,pe)=>{if(this.maskSpecialCharacters.includes(N[pe+1])&&N[pe+1]!==this.maskExpression[pe+1])return B=ie,N[pe+1];if(B.length){const we=B;return B="",we}return ie})||[]).join("")}numberToString(N){return N||0===N?Number(N).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}):String(N)}showMaskInInput(N){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(N){if("IP"===this.maskExpression)return this._checkForIp(N);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(N)}return this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const N=this._elementRef.nativeElement;this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==N.value.replace(/_/g,"").length&&(this.formElementProperty=["value",""],this.applyMask(N.value,this.maskExpression))}set formElementProperty([N,B]){Promise.resolve().then(()=>this._renderer.setProperty(this._elementRef.nativeElement,N,B))}checkSpecialCharAmount(N){return N.split("").filter(X=>this._findSpecialChar(X)).length}removeMask(N){return this._removeMask(this._removeSuffix(this._removePrefix(N)),this.maskSpecialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(N){if("#"===N)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const B=[];for(let X=0;X3&&B.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:B.length>6&&B.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(N){const B=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,X=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===N)return B;const ie=[];for(let pe=0;pe3&&ie.length<=6?B.slice(ie.length+1,B.length):ie.length>6&&ie.length<=9?B.slice(ie.length+2,B.length):ie.length>9&&ie.length<11?B.slice(ie.length+3,B.length):11===ie.length?"":12===ie.length?X.slice(17===N.length?16:15,X.length):ie.length>12&&ie.length<=14?X.slice(ie.length+4,X.length):""}_getActiveElement(N=this.document){const B=N?.activeElement?.shadowRoot;return B?.activeElement?this._getActiveElement(B):N.activeElement}formControlResult(N){this.writingValue||!this.triggerOnMaskChange&&this.maskChanged?this.maskChanged=!1:Array.isArray(this.dropSpecialCharacters)?this.onChange(this._toNumber(this._removeMask(this._removeSuffix(this._removePrefix(N)),this.dropSpecialCharacters))):this.onChange(this.dropSpecialCharacters?this._toNumber(this._checkSymbols(N)):this._removeSuffix(N))}_toNumber(N){if(!this.isNumberValue||""===N)return N;const B=Number(N);return Number.isNaN(B)?N:B}_removeMask(N,B){return N&&N.replace(this._regExpForRemove(B),"")}_removePrefix(N){return this.prefix?N&&N.replace(this.prefix,""):N}_removeSuffix(N){return this.suffix?N&&N.replace(this.suffix,""):N}_retrieveSeparatorValue(N){return this._removeMask(this._removeSuffix(this._removePrefix(N)),this.maskSpecialCharacters)}_regExpForRemove(N){return new RegExp(N.map(B=>`\\${B}`).join("|"),"gi")}_checkSymbols(N){if(""===N)return N;const B=this._retrieveSeparatorPrecision(this.maskExpression);let X=this._retrieveSeparatorValue(N);return"."!==this.decimalMarker&&!Array.isArray(this.decimalMarker)&&(X=X.replace(this.decimalMarker,".")),this.isNumberValue?B?N===this.decimalMarker?null:this._checkPrecision(this.maskExpression,X):Number(X):X}_retrieveSeparatorPrecision(N){const B=N.match(new RegExp("^separator\\.([^d]*)"));return B?Number(B[1]):null}_checkPrecision(N,B){return N.indexOf("2")>0?Number(B).toFixed(2):Number(B)}}return Ne.\u0275fac=function(N){return new(N||Ne)(i.LFG(D.K0),i.LFG(u),i.LFG(i.SBq),i.LFG(i.Qsj))},Ne.\u0275prov=i.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),le=(()=>{class Ne{constructor(N,B,X){this.document=N,this._maskService=B,this._config=X,this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.triggerOnMaskChange=null,this.maskFilled=new i.vpe,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._justPasted=!1,this.onChange=ie=>{},this.onTouch=()=>{}}ngOnChanges(N){const{maskExpression:B,specialCharacters:X,patterns:ie,prefix:pe,suffix:we,thousandSeparator:ne,decimalMarker:ge,dropSpecialCharacters:Ve,hiddenInput:Je,showMaskTyped:pt,placeHolderCharacter:Ge,shownMaskExpression:At,showTemplate:st,clearIfNotMatch:_t,validation:et,separatorLimit:mt,allowNegativeNumbers:he,leadZeroDateTime:G,triggerOnMaskChange:de}=N;if(B&&(B.currentValue!==B.previousValue&&!B.firstChange&&(this._maskService.maskChanged=!0),B.currentValue&&B.currentValue.split("||").length>1?(this._maskExpressionArray=B.currentValue.split("||").sort((ye,xe)=>ye.length-xe.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=B.currentValue||"",this._maskService.maskExpression=this._maskValue)),X){if(!X.currentValue||!Array.isArray(X.currentValue))return;this._maskService.maskSpecialCharacters=X.currentValue||[]}ie&&ie.currentValue&&(this._maskService.maskAvailablePatterns=ie.currentValue),pe&&(this._maskService.prefix=pe.currentValue),we&&(this._maskService.suffix=we.currentValue),ne&&(this._maskService.thousandSeparator=ne.currentValue),ge&&(this._maskService.decimalMarker=ge.currentValue),Ve&&(this._maskService.dropSpecialCharacters=Ve.currentValue),Je&&(this._maskService.hiddenInput=Je.currentValue),pt&&(this._maskService.showMaskTyped=pt.currentValue),Ge&&(this._maskService.placeHolderCharacter=Ge.currentValue),At&&(this._maskService.shownMaskExpression=At.currentValue),st&&(this._maskService.showTemplate=st.currentValue),_t&&(this._maskService.clearIfNotMatch=_t.currentValue),et&&(this._maskService.validation=et.currentValue),mt&&(this._maskService.separatorLimit=mt.currentValue),he&&(this._maskService.allowNegativeNumbers=he.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.maskSpecialCharacters=this._maskService.maskSpecialCharacters.filter(ye=>"-"!==ye))),G&&(this._maskService.leadZeroDateTime=G.currentValue),de&&(this._maskService.triggerOnMaskChange=de.currentValue),this._applyMask()}validate({value:N}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(N);if(this._maskService.cpfCnpjError)return this._createValidationError(N);if(this._maskValue.startsWith("separator")||W.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(p.includes(this._maskValue))return this._validateTime(N);if(N&&N.toString().length>=1){let B=0;for(const X in this._maskService.maskAvailablePatterns)if(this._maskService.maskAvailablePatterns[X].optional&&(this._maskValue.indexOf(X)!==this._maskValue.lastIndexOf(X)?B+=this._maskValue.split("").filter(pe=>pe===X).join("").length:-1!==this._maskValue.indexOf(X)&&B++,-1!==this._maskValue.indexOf(X)&&N.toString().length>=this._maskValue.indexOf(X)||B===this._maskValue.length))return null;if(1===this._maskValue.indexOf("{")&&N.toString().length===this._maskValue.length+Number(this._maskValue.split("{")[1].split("}")[0])-4||1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null;if(this._maskValue.indexOf("*")>1&&N.toString().length1&&N.toString().length{this._justPasted=!1,ie=ne,pe=ge}),this._getActiveElement()!==B)return;this._position=1===this._position&&1===this._inputValue.length?null:this._position;let we=this._position?this._inputValue.length+X+ie:X+("Backspace"!==this._code||pe?ie:0);we>this._getActualInputLength()&&(we=this._getActualInputLength()),we<0&&(we=0),B.setSelectionRange(we,we),this._position=null}onBlur(){this._maskValue&&this._maskService.clearIfNotMatchFn(),this.onTouch()}onClick(N){if(!this._maskValue)return;const B=N.target;null!==B&&null!==B.selectionStart&&B.selectionStart===B.selectionEnd&&B.selectionStart>this._maskService.prefix.length&&38!==N.keyCode&&this._maskService.showMaskTyped&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),B.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===B.value?(B.focus(),B.setSelectionRange(0,0)):B.selectionStart>this._maskService.actualValue.length&&B.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const pe=B.value&&B.value!==this._maskService.prefix?B.value:this._maskService.prefix+this._maskService.maskIsShown;B.value!==pe&&(B.value=pe),(B.selectionStart||B.selectionEnd)<=this._maskService.prefix.length?B.selectionStart=this._maskService.prefix.length:B.selectionEnd>this._getActualInputLength()&&(B.selectionEnd=this._getActualInputLength())}onKeyDown(N){if(!this._maskValue)return;this._code=N.code?N.code:N.key;const B=N.target;if(this._inputValue=B.value,this._setMask(),38===N.keyCode&&N.preventDefault(),37===N.keyCode||8===N.keyCode||46===N.keyCode){if(8===N.keyCode&&0===B.value.length&&(B.selectionStart=B.selectionEnd),8===N.keyCode&&0!==B.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&B.selectionStart<=this.prefix.length)B.setSelectionRange(this.prefix.length,B.selectionEnd);else if(this._inputValue.length!==B.selectionStart&&1!==B.selectionStart)for(;this.specialCharacters.includes(this._inputValue[B.selectionStart-1].toString())&&(this.prefix.length>=1&&B.selectionStart>this.prefix.length||0===this.prefix.length);)B.setSelectionRange(B.selectionStart-1,B.selectionEnd);this.checkSelectionOnDeletion(B),this._maskService.prefix.length&&B.selectionStart<=this._maskService.prefix.length&&B.selectionEnd<=this._maskService.prefix.length&&N.preventDefault();const X=B.selectionStart;8===N.keyCode&&!B.readOnly&&0===X&&B.selectionEnd===B.value.length&&0!==B.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length{if(this._start="{"===X?ie:this._start,"}"!==X)return this._maskService._findSpecialChar(X)?B+X:B;this._end=ie;const pe=Number(N.slice(this._start+1,this._end));return B+new Array(pe+1).join(N[this._start-1])},"")||N}_applyMask(){this._maskService.maskExpression=this._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(N){const B=this._maskValue.split("").filter(X=>":"!==X).length;return N&&(0==+N[N.length-1]&&N.length0&&this._maskExpressionArray.some(N=>{const B=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(N)?.length;if(this._inputValue&&B)return this._maskValue=N,this.maskExpression=N,this._maskService.maskExpression=N,B;this._maskValue=this._maskExpressionArray[this._maskExpressionArray.length-1],this.maskExpression=this._maskExpressionArray[this._maskExpressionArray.length-1],this._maskService.maskExpression=this._maskExpressionArray[this._maskExpressionArray.length-1]})}}return Ne.\u0275fac=function(N){return new(N||Ne)(i.Y36(D.K0),i.Y36(se),i.Y36(u))},Ne.\u0275dir=i.lG2({type:Ne,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(N,B){1&N&&i.NdJ("paste",function(){return B.onPaste()})("ngModelChange",function(ie){return B.onModelChange(ie)})("input",function(ie){return B.onInput(ie)})("blur",function(){return B.onBlur()})("click",function(ie){return B.onClick(ie)})("keydown",function(ie){return B.onKeyDown(ie)})},inputs:{maskExpression:["mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",triggerOnMaskChange:"triggerOnMaskChange"},outputs:{maskFilled:"maskFilled"},exportAs:["mask","ngxMask"],features:[i._Bn([{provide:d.JU,useExisting:(0,i.Gpc)(()=>Ne),multi:!0},{provide:d.Cf,useExisting:(0,i.Gpc)(()=>Ne),multi:!0},se]),i.TTD]}),Ne})();function fe(Ne,gt){return gt instanceof Function?{...Ne,...gt()}:{...Ne,...gt}}let Se=(()=>{class Ne{static forRoot(N){return{ngModule:Ne,providers:[{provide:T,useValue:N},{provide:F,useValue:w},{provide:u,useFactory:fe,deps:[F,T]},ae]}}static forChild(){return{ngModule:Ne}}}return Ne.\u0275fac=function(N){return new(N||Ne)},Ne.\u0275mod=i.oAB({type:Ne}),Ne.\u0275inj=i.cJS({}),Ne})();const Ze=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};Ze.KeyboardEvent||(Ze.KeyboardEvent=function(Ne,gt){})},4826:(Rt,je,a)=>{a.d(je,{Fy:()=>Nt,bB:()=>oe,Mp:()=>St});var r=a(4650),i=a(6895),d=a(7579),D=a(6451),u=a(9646),T=a(2076),F=a(8505),w=a(9300),p=a(3900),W=a(590),ae=a(5698),se=a(5684),le=a(4004),me=a(7359),fe=a(4482);const Ze=(h,v)=>(h.push(v),h);var gt=a(1005),N=a(2761),B=a(1481),X=a(7340);function ie(h,v){}const pe=function(h,v){return{$implicit:h,index:v}};function we(h,v){if(1&h&&r.YNc(0,ie,0,0,"ng-template",4),2&h){const c=r.oxw(),b=c.$implicit,E=c.index,O=r.oxw();r.Q6J("ngTemplateOutlet",b.tplRef)("ngTemplateOutletContext",r.WLB(2,pe,O.preparePublicSlide(b),E))}}const ne=function(h,v,c,b){return{width:h,"margin-left":v,"margin-right":c,left:b}};function ge(h,v){if(1&h){const c=r.EpF();r.ynx(0),r.TgZ(1,"div",2),r.NdJ("animationend",function(){const O=r.CHM(c).$implicit,R=r.oxw();return r.KtG(R.clear(O.id))}),r.YNc(2,we,1,5,null,3),r.qZA(),r.BQk()}if(2&h){const c=v.$implicit;r.xp6(1),r.Q6J("ngClass",c.classes)("ngStyle",r.l5B(4,ne,c.width+"px",c.marginL?c.marginL+"px":"",c.marginR?c.marginR+"px":"",c.left))("@autoHeight",c.heightState),r.xp6(1),r.Q6J("ngIf",c.load)}}const Ve=function(h,v,c,b,E){return{width:h,transform:v,transition:c,"padding-left":b,"padding-right":E}},Je=function(h,v){return{isMouseDragable:h,isTouchDragable:v}};function pt(h,v){if(1&h&&(r.TgZ(0,"div",4),r._UZ(1,"owl-stage",5),r.qZA()),2&h){const c=r.oxw();r.xp6(1),r.Q6J("owlDraggable",r.WLB(3,Je,null==c.owlDOMData?null:c.owlDOMData.isMouseDragable,null==c.owlDOMData?null:c.owlDOMData.isTouchDragable))("stageData",c.stageData)("slidesData",c.slidesData)}}const Ge=function(h,v){return{active:h,"owl-dot-text":v}};function At(h,v){if(1&h){const c=r.EpF();r.TgZ(0,"div",11),r.NdJ("click",function(){const O=r.CHM(c).$implicit,R=r.oxw(2);return r.KtG(R.moveByDot(O.id))}),r._UZ(1,"span",12),r.qZA()}if(2&h){const c=v.$implicit;r.Q6J("ngClass",r.WLB(2,Ge,c.active,c.showInnerContent)),r.xp6(1),r.Q6J("innerHTML",c.innerContent,r.oJD)}}const st=function(h){return{disabled:h}};function _t(h,v){if(1&h){const c=r.EpF();r.ynx(0),r.TgZ(1,"div",6)(2,"div",7),r.NdJ("click",function(){r.CHM(c);const E=r.oxw();return r.KtG(E.prev())}),r.qZA(),r.TgZ(3,"div",8),r.NdJ("click",function(){r.CHM(c);const E=r.oxw();return r.KtG(E.next())}),r.qZA()(),r.TgZ(4,"div",9),r.YNc(5,At,2,5,"div",10),r.qZA(),r.BQk()}if(2&h){const c=r.oxw();r.xp6(1),r.Q6J("ngClass",r.VKq(7,st,null==c.navData?null:c.navData.disabled)),r.xp6(1),r.Q6J("ngClass",r.VKq(9,st,null==c.navData||null==c.navData.prev?null:c.navData.prev.disabled))("innerHTML",null==c.navData||null==c.navData.prev?null:c.navData.prev.htmlText,r.oJD),r.xp6(1),r.Q6J("ngClass",r.VKq(11,st,null==c.navData||null==c.navData.next?null:c.navData.next.disabled))("innerHTML",null==c.navData||null==c.navData.next?null:c.navData.next.htmlText,r.oJD),r.xp6(1),r.Q6J("ngClass",r.VKq(13,st,null==c.dotsData?null:c.dotsData.disabled)),r.xp6(1),r.Q6J("ngForOf",null==c.dotsData?null:c.dotsData.dots)}}const et=function(h,v,c,b,E){return{"owl-rtl":h,"owl-loaded":v,"owl-responsive":c,"owl-drag":b,"owl-grab":E}};class mt{constructor(){this.items=3,this.skip_validateItems=!1,this.loop=!1,this.center=!1,this.rewind=!1,this.mouseDrag=!0,this.touchDrag=!0,this.pullDrag=!0,this.freeDrag=!1,this.margin=0,this.stagePadding=0,this.merge=!1,this.mergeFit=!0,this.autoWidth=!1,this.startPosition=0,this.rtl=!1,this.smartSpeed=250,this.fluidSpeed=!1,this.dragEndSpeed=!1,this.responsive={},this.responsiveRefreshRate=200,this.nav=!1,this.navText=["prev","next"],this.navSpeed=!1,this.slideBy=1,this.dots=!0,this.dotsEach=!1,this.dotsData=!1,this.dotsSpeed=!1,this.autoplay=!1,this.autoplayTimeout=5e3,this.autoplayHoverPause=!1,this.autoplaySpeed=!1,this.autoplayMouseleaveTimeout=1,this.lazyLoad=!1,this.lazyLoadEager=0,this.slideTransition="",this.animateOut=!1,this.animateIn=!1,this.autoHeight=!1,this.URLhashListener=!1}}class he{constructor(){this.items="number",this.skip_validateItems="boolean",this.loop="boolean",this.center="boolean",this.rewind="boolean",this.mouseDrag="boolean",this.touchDrag="boolean",this.pullDrag="boolean",this.freeDrag="boolean",this.margin="number",this.stagePadding="number",this.merge="boolean",this.mergeFit="boolean",this.autoWidth="boolean",this.startPosition="number|string",this.rtl="boolean",this.smartSpeed="number",this.fluidSpeed="boolean",this.dragEndSpeed="number|boolean",this.responsive={},this.responsiveRefreshRate="number",this.nav="boolean",this.navText="string[]",this.navSpeed="number|boolean",this.slideBy="number|string",this.dots="boolean",this.dotsEach="number|boolean",this.dotsData="boolean",this.dotsSpeed="number|boolean",this.autoplay="boolean",this.autoplayTimeout="number",this.autoplayHoverPause="boolean",this.autoplaySpeed="number|boolean",this.autoplayMouseleaveTimeout="number",this.lazyLoad="boolean",this.lazyLoadEager="number",this.slideTransition="string",this.animateOut="string|boolean",this.animateIn="string|boolean",this.autoHeight="boolean",this.URLhashListener="boolean"}}let G=(()=>{class h{constructor(c){this.errorHandler=c}log(c,...b){(0,r.X6Q)()&&console.log(c,...b)}error(c){this.errorHandler.handleError(c)}warn(c,...b){console.warn(c,...b)}}return h.\u0275fac=function(c){return new(c||h)(r.LFG(r.qLn))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})();var ye=(()=>{return(h=ye||(ye={})).Event="event",h.State="state",ye;var h})(),xe=(()=>{return(h=xe||(xe={})).Default="default",h.Inner="inner",h.Outer="outer",xe;var h})();let $e=(()=>{class h{constructor(c){this.logger=c,this._viewSettingsShipper$=new d.x,this._initializedCarousel$=new d.x,this._changeSettingsCarousel$=new d.x,this._changedSettingsCarousel$=new d.x,this._translateCarousel$=new d.x,this._translatedCarousel$=new d.x,this._resizeCarousel$=new d.x,this._resizedCarousel$=new d.x,this._refreshCarousel$=new d.x,this._refreshedCarousel$=new d.x,this._dragCarousel$=new d.x,this._draggedCarousel$=new d.x,this.settings={items:0},this.owlDOMData={rtl:!1,isResponsive:!1,isRefreshed:!1,isLoaded:!1,isLoading:!1,isMouseDragable:!1,isGrab:!1,isTouchDragable:!1},this.stageData={transform:"translate3d(0px,0px,0px)",transition:"0s",width:0,paddingL:0,paddingR:0},this._items=[],this._widths=[],this._supress={},this._plugins={},this._current=null,this._clones=[],this._mergers=[],this._speed=null,this._coordinates=[],this._breakpoint=null,this.clonedIdPrefix="cloned-",this._options={},this._invalidated={},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},this._pipe=[{filter:["width","items","settings"],run:b=>{b.current=this._items&&this._items[this.relative(this._current)].id}},{filter:["width","items","settings"],run:b=>{const E=this.settings.margin||"",R=this.settings.rtl,z={"margin-left":R?E:"","margin-right":R?"":E};!this.settings.autoWidth||this.slidesData.forEach(Re=>{Re.marginL=z["margin-left"],Re.marginR=z["margin-right"]}),b.css=z}},{filter:["width","items","settings"],run:b=>{const E=+(this.width()/this.settings.items).toFixed(3)-this.settings.margin,O=!this.settings.autoWidth,R=[];let z=null,Re=this._items.length;for(b.items={merge:!1,width:E};Re-- >0;)z=this._mergers[Re],z=this.settings.mergeFit&&Math.min(z,this.settings.items)||z,b.items.merge=z>1||b.items.merge,R[Re]=O?E*z:this._items[Re].width?this._items[Re].width:E;this._widths=R,this.slidesData.forEach((nt,wt)=>{nt.width=this._widths[wt],nt.marginR=b.css["margin-right"],nt.marginL=b.css["margin-left"]})}},{filter:["items","settings"],run:()=>{const b=[],E=this._items,O=this.settings,R=Math.max(2*O.items,4),z=2*Math.ceil(E.length/2);let Re=[],nt=[],wt=O.loop&&E.length?O.rewind?R:Math.max(R,z):0;for(wt/=2;wt-- >0;)b.push(this.normalize(b.length/2,!0)),Re.push({...this.slidesData[b[b.length-1]]}),b.push(this.normalize(E.length-1-(b.length-1)/2,!0)),nt.unshift({...this.slidesData[b[b.length-1]]});this._clones=b,Re=Re.map(Tt=>(Tt.id=`${this.clonedIdPrefix}${Tt.id}`,Tt.isActive=!1,Tt.isCloned=!0,Tt)),nt=nt.map(Tt=>(Tt.id=`${this.clonedIdPrefix}${Tt.id}`,Tt.isActive=!1,Tt.isCloned=!0,Tt)),this.slidesData=nt.concat(this.slidesData).concat(Re)}},{filter:["width","items","settings"],run:()=>{const b=this.settings.rtl?1:-1,E=this._clones.length+this._items.length,O=[];let R=-1,z=0,Re=0;for(;++R{const b=this.settings.stagePadding,E=this._coordinates,O={width:Math.ceil(Math.abs(E[E.length-1]))+2*b,"padding-left":b||"","padding-right":b||""};this.stageData.width=O.width,this.stageData.paddingL=O["padding-left"],this.stageData.paddingR=O["padding-right"]}},{filter:["width","items","settings"],run:b=>{let E=b.current?this.slidesData.findIndex(O=>O.id===b.current):0;E=Math.max(this.minimum(),Math.min(this.maximum(),E)),this.reset(E)}},{filter:["position"],run:()=>{this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:()=>{const b=this.settings.rtl?1:-1,E=2*this.settings.stagePadding,O=[];let R,z,Re,nt,wt,Tt;if(R=this.coordinates(this.current()),"number"==typeof R?R+=E:R=0,z=R+this.width()*b,-1===b&&this.settings.center){const jt=this._coordinates.filter(en=>this.settings.items%2==1?en>=R:en>R);R=jt.length?jt[jt.length-1]:R}for(wt=0,Tt=this._coordinates.length;wt",z)||this._op(nt,"<",R)&&this._op(nt,">",z))&&O.push(wt);this.slidesData.forEach(jt=>(jt.isActive=!1,jt)),O.forEach(jt=>{this.slidesData[jt].isActive=!0}),this.settings.center&&(this.slidesData.forEach(jt=>(jt.isCentered=!1,jt)),this.slidesData[this.current()].isCentered=!0)}}]}get invalidated(){return this._invalidated}get states(){return this._states}getViewCurSettings(){return this._viewSettingsShipper$.asObservable()}getInitializedState(){return this._initializedCarousel$.asObservable()}getChangeState(){return this._changeSettingsCarousel$.asObservable()}getChangedState(){return this._changedSettingsCarousel$.asObservable()}getTranslateState(){return this._translateCarousel$.asObservable()}getTranslatedState(){return this._translatedCarousel$.asObservable()}getResizeState(){return this._resizeCarousel$.asObservable()}getResizedState(){return this._resizedCarousel$.asObservable()}getRefreshState(){return this._refreshCarousel$.asObservable()}getRefreshedState(){return this._refreshedCarousel$.asObservable()}getDragState(){return this._dragCarousel$.asObservable()}getDraggedState(){return this._draggedCarousel$.asObservable()}setOptions(c){const b=new mt,E=this._validateOptions(c,b);this._options={...b,...E}}_validateOptions(c,b){const E={...c},O=new he,R=(z,Re)=>(this.logger.log(`options.${Re} must be type of ${z}; ${Re}=${c[Re]} skipped to defaults: ${Re}=${b[Re]}`),b[Re]);for(const z in E)if(E.hasOwnProperty(z))if("number"===O[z])this._isNumeric(E[z])?(E[z]=+E[z],E[z]="items"===z?this._validateItems(E[z],E.skip_validateItems):E[z]):E[z]=R(O[z],z);else if("boolean"===O[z]&&"boolean"!=typeof E[z])E[z]=R(O[z],z);else if("number|boolean"!==O[z]||this._isNumberOrBoolean(E[z]))if("number|string"!==O[z]||this._isNumberOrString(E[z]))if("string|boolean"!==O[z]||this._isStringOrBoolean(E[z])){if("string[]"===O[z])if(Array.isArray(E[z])){let Re=!1;E[z].forEach(nt=>{Re="string"==typeof nt}),Re||(E[z]=R(O[z],z))}else E[z]=R(O[z],z)}else E[z]=R(O[z],z);else E[z]=R(O[z],z);else E[z]=R(O[z],z);return E}_validateItems(c,b){let E=c;return c>this._items.length?b?this.logger.log("The option 'items' in your options is bigger than the number of slides. The navigation got disabled"):(E=this._items.length,this.logger.log("The option 'items' in your options is bigger than the number of slides. This option is updated to the current number of slides and the navigation got disabled")):c===this._items.length&&(this.settings.dots||this.settings.nav)&&this.logger.log("Option 'items' in your options is equal to the number of slides. So the navigation got disabled"),E}setCarouselWidth(c){this._width=c}setup(c,b,E){this.setCarouselWidth(c),this.setItems(b),this._defineSlidesData(),this.setOptions(E),this.settings={...this._options},this.setOptionsForViewport(),this._trigger("change",{property:{name:"settings",value:this.settings}}),this.invalidate("settings"),this._trigger("changed",{property:{name:"settings",value:this.settings}})}setOptionsForViewport(){const c=this._width,b=this._options.responsive;let E=-1;if(!Object.keys(b).length)return;if(!c)return void(this.settings.items=1);for(const R in b)b.hasOwnProperty(R)&&+R<=c&&+R>E&&(E=Number(R));this.settings={...this._options,...b[E],items:b[E]&&b[E].items?this._validateItems(b[E].items,this._options.skip_validateItems):this._options.items},delete this.settings.responsive,this.owlDOMData.isResponsive=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag;const O=[];this._items.forEach(R=>{O.push(this.settings.merge?R.dataMerge:1)}),this._mergers=O,this._breakpoint=E,this.invalidate("settings")}initialize(c){this.enter("initializing"),this.owlDOMData.rtl=this.settings.rtl,this._mergers.length&&(this._mergers=[]),c.forEach(b=>{this._mergers.push(this.settings.merge?b.dataMerge:1)}),this._clones=[],this.reset(this._isNumeric(this.settings.startPosition)?+this.settings.startPosition:0),this.invalidate("items"),this.refresh(),this.owlDOMData.isLoaded=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag,this.sendChanges(),this.leave("initializing"),this._trigger("initialized")}sendChanges(){this._viewSettingsShipper$.next({owlDOMData:this.owlDOMData,stageData:this.stageData,slidesData:this.slidesData,navData:this.navData,dotsData:this.dotsData})}_optionsLogic(){this.settings.autoWidth&&(this.settings.stagePadding=0,this.settings.merge=!1)}update(){let c=0;const b=this._pipe.length,E=R=>this._invalidated[R],O={};for(;c0)&&this._pipe[c].run(O),c++}this.slidesData.forEach(R=>R.classes=this.setCurSlideClasses(R)),this.sendChanges(),this._invalidated={},this.is("valid")||this.enter("valid")}width(c){switch(c=c||xe.Default){case xe.Inner:case xe.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}}refresh(){this.enter("refreshing"),this._trigger("refresh"),this._defineSlidesData(),this.setOptionsForViewport(),this._optionsLogic(),this.update(),this.leave("refreshing"),this._trigger("refreshed")}onResize(c){if(!this._items.length)return!1;this.setCarouselWidth(c),this.enter("resizing"),this._trigger("resize"),this.invalidate("width"),this.refresh(),this.leave("resizing"),this._trigger("resized")}prepareDragging(c){let E,b=null;return E=this.stageData.transform.replace(/.*\(|\)| |[^,-\d]\w|\)/g,"").split(","),b={x:+E[0],y:+E[1]},this.is("animating")&&this.invalidate("position"),"mousedown"===c.type&&(this.owlDOMData.isGrab=!0),this.speed(0),b}enterDragging(){this.enter("dragging"),this._trigger("drag")}defineNewCoordsDrag(c,b){let E=null,O=null,R=null;const z=this.difference(b.pointer,this.pointer(c)),Re=this.difference(b.stage.start,z);return!!this.is("dragging")&&(this.settings.loop?(E=this.coordinates(this.minimum()),O=+this.coordinates(this.maximum()+1)-E,Re.x=((Re.x-E)%O+O)%O+E):(E=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),O=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),R=this.settings.pullDrag?-1*z.x/5:0,Re.x=Math.max(Math.min(Re.x,E+R),O+R)),Re)}finishDragging(c,b,E){const R=this.difference(b.pointer,this.pointer(c)),z=b.stage.current,Re=["right","left"][+(this.settings.rtl?R.x<+this.settings.rtl:R.x>+this.settings.rtl)];let nt,wt,Tt;(0!==R.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(+this.settings.dragEndSpeed||this.settings.smartSpeed),nt=this.closest(z.x,0!==R.x?Re:b.direction),wt=this.current(),Tt=this.current(-1===nt?void 0:nt),wt!==Tt&&(this.invalidate("position"),this.update()),b.direction=Re,(Math.abs(R.x)>3||(new Date).getTime()-b.time>300)&&E()),this.is("dragging")&&(this.leave("dragging"),this._trigger("dragged"))}closest(c,b){const O=this.width();let R=this.coordinates(),z=-1;this.settings.center&&(R=R.map(Re=>(0===Re&&(Re+=1e-6),Re)));for(let Re=0;ReR[Re]-30&&cR[Re]-O-30&&c",R[Re+1]||R[Re]-O)?z="left"===b?Re+1:Re:null===b&&c>R[Re]-30&&c",R[this.minimum()])?z=c=this.minimum():this._op(c,"<",R[this.maximum()])&&(z=c=this.maximum())),z}animate(c){const b=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),b&&(this.enter("animating"),this._trigger("translate")),this.stageData.transform="translate3d("+c+"px,0px,0px)",this.stageData.transition=this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}is(c){return this._states.current[c]&&this._states.current[c]>0}current(c){return void 0===c?this._current:0!==this._items.length?(c=this.normalize(c),this._current!==c&&(this._trigger("change",{property:{name:"position",value:c}}),this._current=c,this.invalidate("position"),this._trigger("changed",{property:{name:"position",value:this._current}})),this._current):void 0}invalidate(c){return"string"==typeof c&&(this._invalidated[c]=!0,this.is("valid")&&this.leave("valid")),Object.keys(this._invalidated)}reset(c){void 0!==(c=this.normalize(c))&&(this._speed=0,this._current=c,this._suppress(["translate","translated"]),this.animate(this.coordinates(c)),this._release(["translate","translated"]))}normalize(c,b){const E=this._items.length,O=b?0:this._clones.length;return!this._isNumeric(c)||E<1?c=void 0:(c<0||c>=E+O)&&(c=((c-O/2)%E+E)%E+O/2),c}relative(c){return this.normalize(c-=this._clones.length/2,!0)}maximum(c=!1){const b=this.settings;let O,R,z,E=this._coordinates.length;if(b.loop)E=this._clones.length/2+this._items.length-1;else if(b.autoWidth||b.merge){for(O=this._items.length,R=this.slidesData[--O].width,z=this._width;O-- >0&&(R+=+this.slidesData[O].width+this.settings.margin,!(R>z)););E=O+1}else E=b.center?this._items.length-1:this._items.length-b.items;return c&&(E-=this._clones.length/2),Math.max(E,0)}minimum(c=!1){return c?0:this._clones.length/2}items(c){return void 0===c?this._items.slice():(c=this.normalize(c,!0),[this._items[c]])}mergers(c){return void 0===c?this._mergers.slice():(c=this.normalize(c,!0),this._mergers[c])}clones(c){const b=this._clones.length/2,E=b+this._items.length,O=R=>R%2==0?E+R/2:b-(R+1)/2;return void 0===c?this._clones.map((R,z)=>O(z)):this._clones.map((R,z)=>R===c?O(z):null).filter(R=>R)}speed(c){return void 0!==c&&(this._speed=c),this._speed}coordinates(c){let O,R,b=1,E=c-1;return void 0===c?(R=this._coordinates.map((z,Re)=>this.coordinates(Re)),R):(this.settings.center?(this.settings.rtl&&(b=-1,E=c+1),O=this._coordinates[c],O+=(this.width()-O+(this._coordinates[E]||0))/2*b):O=this._coordinates[E]||0,O=Math.ceil(O),O)}_duration(c,b,E){return 0===E?0:Math.min(Math.max(Math.abs(b-c),1),6)*Math.abs(+E||this.settings.smartSpeed)}to(c,b){let E=this.current(),O=null,R=c-this.relative(E),z=this.maximum(),Re=0;const nt=+(R>0)-+(R<0),wt=this._items.length,Tt=this.minimum();this.settings.loop?(!this.settings.rewind&&Math.abs(R)>wt/2&&(R+=-1*nt*wt),O=(((c=E+R)-Tt)%wt+wt)%wt+Tt,O!==c&&O-R<=z&&O-R>0&&(E=O-R,c=O,Re=30,this.reset(E),this.sendChanges())):this.settings.rewind?(z+=1,c=(c%z+z)%z):c=Math.max(Tt,Math.min(z,c)),setTimeout(()=>{this.speed(this._duration(E,c,b)),this.current(c),this.update()},Re)}next(c){c=c||!1,this.to(this.relative(this.current())+1,c)}prev(c){c=c||!1,this.to(this.relative(this.current())-1,c)}onTransitionEnd(c){if(void 0!==c)return!1;this.leave("animating"),this._trigger("translated")}_viewport(){let c;return this._width?c=this._width:this.logger.log("Can not detect viewport width."),c}setItems(c){this._items=c}_defineSlidesData(){let c;this.slidesData&&this.slidesData.length&&(c=new Map,this.slidesData.forEach(b=>{b.load&&c.set(b.id,b.load)})),this.slidesData=this._items.map(b=>({id:`${b.id}`,isActive:!1,tplRef:b.tplRef,dataMerge:b.dataMerge,width:0,isCloned:!1,load:!!c&&c.get(b.id),hashFragment:b.dataHash}))}setCurSlideClasses(c){const b={active:c.isActive,center:c.isCentered,cloned:c.isCloned,animated:c.isAnimated,"owl-animated-in":c.isDefAnimatedIn,"owl-animated-out":c.isDefAnimatedOut};return this.settings.animateIn&&(b[this.settings.animateIn]=c.isCustomAnimatedIn),this.settings.animateOut&&(b[this.settings.animateOut]=c.isCustomAnimatedOut),b}_op(c,b,E){const O=this.settings.rtl;switch(b){case"<":return O?c>E:c":return O?cE;case">=":return O?c<=E:c>=E;case"<=":return O?c>=E:c<=E}}_trigger(c,b,E,O,R){switch(c){case"initialized":this._initializedCarousel$.next(c);break;case"change":this._changeSettingsCarousel$.next(b);break;case"changed":this._changedSettingsCarousel$.next(b);break;case"drag":this._dragCarousel$.next(c);break;case"dragged":this._draggedCarousel$.next(c);break;case"resize":this._resizeCarousel$.next(c);break;case"resized":this._resizedCarousel$.next(c);break;case"refresh":this._refreshCarousel$.next(c);break;case"refreshed":this._refreshedCarousel$.next(c);break;case"translate":this._translateCarousel$.next(c);break;case"translated":this._translatedCarousel$.next(c)}}enter(c){[c].concat(this._states.tags[c]||[]).forEach(b=>{void 0===this._states.current[b]&&(this._states.current[b]=0),this._states.current[b]++})}leave(c){[c].concat(this._states.tags[c]||[]).forEach(b=>{(0===this._states.current[b]||this._states.current[b])&&this._states.current[b]--})}register(c){c.type===ye.State&&(this._states.tags[c.name]=this._states.tags[c.name]?this._states.tags[c.name].concat(c.tags):c.tags,this._states.tags[c.name]=this._states.tags[c.name].filter((b,E)=>this._states.tags[c.name].indexOf(b)===E))}_suppress(c){c.forEach(b=>{this._supress[b]=!0})}_release(c){c.forEach(b=>{delete this._supress[b]})}pointer(c){const b={x:null,y:null};return(c=(c=c.originalEvent||c||window.event).touches&&c.touches.length?c.touches[0]:c.changedTouches&&c.changedTouches.length?c.changedTouches[0]:c).pageX?(b.x=c.pageX,b.y=c.pageY):(b.x=c.clientX,b.y=c.clientY),b}_isNumeric(c){return!isNaN(parseFloat(c))}_isNumberOrBoolean(c){return this._isNumeric(c)||"boolean"==typeof c}_isNumberOrString(c){return this._isNumeric(c)||"string"==typeof c}_isStringOrBoolean(c){return"string"==typeof c||"boolean"==typeof c}difference(c,b){return null===c||null===b?{x:0,y:0}:{x:c.x-b.x,y:c.y-b.y}}}return h.\u0275fac=function(c){return new(c||h)(r.LFG(G))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})(),ce=(()=>{class h{constructor(c){this.carouselService=c,this._initialized=!1,this._pages=[],this._navData={disabled:!1,prev:{disabled:!1,htmlText:""},next:{disabled:!1,htmlText:""}},this._dotsData={disabled:!1,dots:[]},this.spyDataStreams()}ngOnDestroy(){this.navSubscription.unsubscribe()}spyDataStreams(){const c=this.carouselService.getInitializedState().pipe((0,F.b)(R=>{this.initialize(),this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),b=this.carouselService.getChangedState().pipe((0,w.h)(R=>"position"===R.property.name),(0,F.b)(R=>{this.update()})),E=this.carouselService.getRefreshedState().pipe((0,F.b)(()=>{this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),O=(0,D.T)(c,b,E);this.navSubscription=O.subscribe(()=>{})}initialize(){this._navData.disabled=!0,this._navData.prev.htmlText=this.carouselService.settings.navText[0],this._navData.next.htmlText=this.carouselService.settings.navText[1],this._dotsData.disabled=!0,this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}_updateNavPages(){let c,b,E;const O=this.carouselService.clones().length/2,R=O+this.carouselService.items().length,z=this.carouselService.maximum(!0),Re=[],nt=this.carouselService.settings;let wt=nt.center||nt.autoWidth||nt.dotsData?1:Math.floor(Number(nt.dotsEach))||Math.floor(nt.items);if(wt=+wt,"page"!==nt.slideBy&&(nt.slideBy=Math.min(+nt.slideBy,nt.items)),nt.dots||"page"===nt.slideBy)for(c=O,b=0,E=0;c=wt||0===b){if(Re.push({start:Math.min(z,c-O),end:c-O+wt-1}),Math.min(z,c-O)===z)break;b=0,++E}b+=this.carouselService.mergers(this.carouselService.relative(c))}this._pages=Re}draw(){let c;const b=this.carouselService.settings,E=this.carouselService.items(),O=E.length<=b.items;if(this._navData.disabled=!b.nav||O,this._dotsData.disabled=!b.dots||O,b.dots)if(c=this._pages.length-this._dotsData.dots.length,b.dotsData&&0!==c)this._dotsData.dots=[],E.forEach(R=>{this._dotsData.dots.push({active:!1,id:`dot-${R.id}`,innerContent:R.dotContent,showInnerContent:!0})});else if(c>0){const R=this._dotsData.dots.length>0?this._dotsData.dots.length:0;for(let z=0;z=this.carouselService.maximum(!0)),this.carouselService.navData=this._navData}_updateDots(){let c;!this.carouselService.settings.dots||(this._dotsData.dots.forEach(b=>{!0===b.active&&(b.active=!1)}),c=this._current(),this._dotsData.dots.length&&(this._dotsData.dots[c].active=!0),this.carouselService.dotsData=this._dotsData)}_current(){const c=this.carouselService.relative(this.carouselService.current());let b;const E=this._pages.filter((O,R)=>O.start<=c&&O.end>=c).pop();return b=this._pages.findIndex(O=>O.start===E.start&&O.end===E.end),b}_getPosition(c){let b,E;const O=this.carouselService.settings;return"page"===O.slideBy?(b=this._current(),E=this._pages.length,c?++b:--b,b=this._pages[(b%E+E)%E].start):(b=this.carouselService.relative(this.carouselService.current()),E=this.carouselService.items().length,c?b+=+O.slideBy:b-=+O.slideBy),b}next(c){this.carouselService.to(this._getPosition(!0),c)}prev(c){this.carouselService.to(this._getPosition(!1),c)}to(c,b,E){let O;!E&&this._pages.length?(O=this._pages.length,this.carouselService.to(this._pages[(c%O+O)%O].start,b)):this.carouselService.to(c,b)}moveByDot(c){const b=this._dotsData.dots.findIndex(E=>c===E.id);this.to(b,this.carouselService.settings.dotsSpeed)}toSlideById(c){const b=this.carouselService.slidesData.findIndex(E=>E.id===c&&!1===E.isCloned);-1===b||b===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(b),!1)}}return h.\u0275fac=function(c){return new(c||h)(r.LFG($e))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})();const it=new r.OlP("WindowToken");class ue{get nativeWindow(){throw new Error("Not implemented.")}}const Qt=[{provide:ue,useClass:(()=>{class h extends ue{constructor(){super()}get nativeWindow(){return window}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})()},{provide:it,useFactory:function Qe(h,v){return(0,i.NF)(v)?h.nativeWindow:{setTimeout:(b,E)=>{},clearTimeout:b=>{}}},deps:[ue,r.Lbi]}],Wt=new r.OlP("DocumentToken");class Vt{get nativeDocument(){throw new Error("Not implemented.")}}const J=[{provide:Vt,useClass:(()=>{class h extends Vt{constructor(){super()}get nativeDocument(){return document}}return h.\u0275fac=function(c){return new(c||h)},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})()},{provide:Wt,useFactory:function te(h,v){return(0,i.NF)(v)?h.nativeDocument:{hidden:!1,visibilityState:"visible"}},deps:[Vt,r.Lbi]}];let Ue=(()=>{class h{constructor(c,b,E,O){this.carouselService=c,this.ngZone=O,this._timeout=null,this._paused=!1,this._isAutoplayStopped=!1,this.winRef=b,this.docRef=E,this.spyDataStreams()}get isAutoplayStopped(){return this._isAutoplayStopped}set isAutoplayStopped(c){this._isAutoplayStopped=c}ngOnDestroy(){this.autoplaySubscription.unsubscribe()}spyDataStreams(){const c=this.carouselService.getInitializedState().pipe((0,F.b)(()=>{this.carouselService.settings.autoplay&&this.play()})),b=this.carouselService.getChangedState().pipe((0,F.b)(R=>{this._handleChangeObservable(R)})),E=this.carouselService.getResizedState().pipe((0,F.b)(()=>{this.carouselService.settings.autoplay&&!this._isAutoplayStopped?this.play():this.stop()})),O=(0,D.T)(c,b,E);this.autoplaySubscription=O.subscribe(()=>{})}play(c,b){this._paused&&(this._paused=!1,this._setAutoPlayInterval(this.carouselService.settings.autoplayMouseleaveTimeout)),!this.carouselService.is("rotating")&&(this.carouselService.enter("rotating"),this._setAutoPlayInterval())}_getNextTimeout(c,b){return this._timeout&&this.winRef.clearTimeout(this._timeout),this._isArtificialAutoplayTimeout=!!c,this.ngZone.runOutsideAngular(()=>this.winRef.setTimeout(()=>{this.ngZone.run(()=>{this._paused||this.carouselService.is("busy")||this.carouselService.is("interacting")||this.docRef.hidden||this.carouselService.next(b||this.carouselService.settings.autoplaySpeed)})},c||this.carouselService.settings.autoplayTimeout))}_setAutoPlayInterval(c){this._timeout=this._getNextTimeout(c)}stop(){!this.carouselService.is("rotating")||(this._paused=!0,this.winRef.clearTimeout(this._timeout),this.carouselService.leave("rotating"))}pause(){!this.carouselService.is("rotating")||(this._paused=!0)}_handleChangeObservable(c){"settings"===c.property.name?this.carouselService.settings.autoplay?this.play():this.stop():"position"===c.property.name&&this.carouselService.settings.autoplay&&this._setAutoPlayInterval()}_playAfterTranslated(){(0,u.of)("translated").pipe((0,p.w)(c=>this.carouselService.getTranslatedState()),(0,W.P)(),(0,w.h)(()=>this._isArtificialAutoplayTimeout),(0,F.b)(()=>this._setAutoPlayInterval())).subscribe(()=>{})}startPausing(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&this.pause()}startPlayingMouseLeave(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}startPlayingTouchEnd(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}}return h.\u0275fac=function(c){return new(c||h)(r.LFG($e),r.LFG(it),r.LFG(Wt),r.LFG(r.R0b))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})(),Ae=(()=>{class h{constructor(c){this.carouselService=c,this.spyDataStreams()}ngOnDestroy(){this.lazyLoadSubscription.unsubscribe()}spyDataStreams(){const c=this.carouselService.getInitializedState().pipe((0,F.b)(()=>{const R=this.carouselService.settings&&!this.carouselService.settings.lazyLoad;this.carouselService.slidesData.forEach(z=>z.load=!!R)})),b=this.carouselService.getChangeState(),E=this.carouselService.getResizedState(),O=(0,D.T)(c,b,E).pipe((0,F.b)(R=>this._defineLazyLoadSlides(R)));this.lazyLoadSubscription=O.subscribe(()=>{})}_defineLazyLoadSlides(c){if(this.carouselService.settings&&this.carouselService.settings.lazyLoad&&(c.property&&"position"===c.property.name||"initialized"===c||"resized"===c)){const b=this.carouselService.settings,E=this.carouselService.clones().length;let O=b.center&&Math.ceil(b.items/2)||b.items,R=b.center&&-1*O||0,z=(c.property&&void 0!==c.property.value?c.property.value:this.carouselService.current())+R;for(b.lazyLoadEager>0&&(O+=b.lazyLoadEager,b.loop&&(z-=b.lazyLoadEager,O++));R++this._load(Re)),z++}}_load(c){this.carouselService.slidesData[c].load||(this.carouselService.slidesData[c].load=!0)}}return h.\u0275fac=function(c){return new(c||h)(r.LFG($e))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})(),Ee=(()=>{class h{constructor(c){this.carouselService=c,this.swapping=!0,this.previous=void 0,this.next=void 0,this.spyDataStreams()}ngOnDestroy(){this.animateSubscription.unsubscribe()}spyDataStreams(){const c=this.carouselService.getChangeState().pipe((0,F.b)(nt=>{"position"===nt.property.name&&(this.previous=this.carouselService.current(),this.next=nt.property.value)})),b=this.carouselService.getDragState(),E=this.carouselService.getDraggedState(),O=this.carouselService.getTranslatedState(),R=(0,D.T)(b,E,O).pipe((0,F.b)(nt=>this.swapping="translated"===nt)),z=this.carouselService.getTranslateState().pipe((0,F.b)(nt=>{this.swapping&&(this.carouselService._options.animateOut||this.carouselService._options.animateIn)&&this._swap()})),Re=(0,D.T)(c,z,R).pipe();this.animateSubscription=Re.subscribe(()=>{})}_swap(){if(1!==this.carouselService.settings.items)return;let c;this.carouselService.speed(0);const b=this.carouselService.slidesData[this.previous],E=this.carouselService.slidesData[this.next],O=this.carouselService.settings.animateIn,R=this.carouselService.settings.animateOut;this.carouselService.current()!==this.previous&&(R&&(c=+this.carouselService.coordinates(this.previous)-+this.carouselService.coordinates(this.next),this.carouselService.slidesData.forEach(z=>{z.id===b.id&&(z.left=`${c}px`,z.isAnimated=!0,z.isDefAnimatedOut=!0,z.isCustomAnimatedOut=!0)})),O&&this.carouselService.slidesData.forEach(z=>{z.id===E.id&&(z.isAnimated=!0,z.isDefAnimatedIn=!0,z.isCustomAnimatedIn=!0)}))}clear(c){this.carouselService.slidesData.forEach(b=>{b.id===c&&(b.left="",b.isAnimated=!1,b.isDefAnimatedOut=!1,b.isCustomAnimatedOut=!1,b.isDefAnimatedIn=!1,b.isCustomAnimatedIn=!1,b.classes=this.carouselService.setCurSlideClasses(b))}),this.carouselService.onTransitionEnd()}}return h.\u0275fac=function(c){return new(c||h)(r.LFG($e))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})(),De=(()=>{class h{constructor(c){this.carouselService=c,this.spyDataStreams()}ngOnDestroy(){this.autoHeightSubscription.unsubscribe()}spyDataStreams(){const c=this.carouselService.getInitializedState().pipe((0,F.b)(R=>{this.carouselService.settings.autoHeight?this.update():this.carouselService.slidesData.forEach(z=>z.heightState="full")})),b=this.carouselService.getChangedState().pipe((0,F.b)(R=>{this.carouselService.settings.autoHeight&&"position"===R.property.name&&this.update()})),E=this.carouselService.getRefreshedState().pipe((0,F.b)(R=>{this.carouselService.settings.autoHeight&&this.update()})),O=(0,D.T)(c,b,E);this.autoHeightSubscription=O.subscribe(()=>{})}update(){const c=this.carouselService.settings.items;let b=this.carouselService.current(),E=b+c;this.carouselService.settings.center&&(b=c%2==1?b-(c-1)/2:b-c/2,E=c%2==1?b+c:b+c+1),this.carouselService.slidesData.forEach((O,R)=>{O.heightState=R>=b&&R{class h{constructor(c,b,E){this.carouselService=c,this.route=b,this.router=E,this.spyDataStreams(),this.route||(this.route={fragment:(0,u.of)("no route").pipe((0,ae.q)(1))}),this.router||(this.router={navigate:(O,R)=>{}})}ngOnDestroy(){this.hashSubscription.unsubscribe()}spyDataStreams(){const c=this.carouselService.getInitializedState().pipe((0,F.b)(()=>this.listenToRoute())),b=this.carouselService.getChangedState().pipe((0,F.b)(O=>{if(this.carouselService.settings.URLhashListener&&"position"===O.property.name){const R=this.carouselService.current(),z=this.carouselService.slidesData[R].hashFragment;if(!z||z===this.currentHashFragment)return;this.router.navigate(["./"],{fragment:z,relativeTo:this.route})}})),E=(0,D.T)(c,b);this.hashSubscription=E.subscribe(()=>{})}rewind(c){const b=this.carouselService.slidesData.findIndex(E=>E.hashFragment===c&&!1===E.isCloned);-1===b||b===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(b),!1)}listenToRoute(){this.route.fragment.pipe((0,se.T)("URLHash"===this.carouselService.settings.startPosition?0:2)).subscribe(b=>{this.currentHashFragment=b,this.rewind(b)})}}return h.\u0275fac=function(c){return new(c||h)(r.LFG($e),r.LFG(N.gz,8),r.LFG(N.F0,8))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})(),vt=0,St=(()=>{class h{constructor(c){this.tplRef=c,this.id="owl-slide-"+vt++,this._dataMerge=1,this.width=0,this.dotContent="",this.dataHash=""}set dataMerge(c){this._dataMerge=this.isNumeric(c)?c:1}get dataMerge(){return this._dataMerge}isNumeric(c){return!isNaN(parseFloat(c))}}return h.\u0275fac=function(c){return new(c||h)(r.Y36(r.Rgc))},h.\u0275dir=r.lG2({type:h,selectors:[["ng-template","carouselSlide",""]],inputs:{id:"id",dataMerge:"dataMerge",width:"width",dotContent:"dotContent",dataHash:"dataHash"}}),h})(),Bt=(()=>{class h{constructor(c){this.eventManager=c,this.resizeSubject=new d.x,this.eventManager.addGlobalEventListener("window","resize",this.onResize.bind(this)),this.eventManager.addGlobalEventListener("window","onload",this.onLoaded.bind(this))}get onResize$(){return this.resizeSubject.asObservable()}onResize(c){this.resizeSubject.next(c.target)}onLoaded(c){this.windowWidth=c.target}}return h.\u0275fac=function(c){return new(c||h)(r.LFG(B.Qz))},h.\u0275prov=r.Yz7({token:h,factory:h.\u0275fac}),h})(),on=(()=>{class h{constructor(c,b,E,O,R){this.zone=c,this.el=b,this.renderer=E,this.carouselService=O,this.animateService=R,this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1},this._oneDragMove$=new d.x,this.preparePublicSlide=z=>{const Re={...z};return delete Re.tplRef,Re},this.bindOneMouseTouchMove=z=>{this._oneMouseTouchMove(z)},this.bindOnDragMove=z=>{this._onDragMove(z)},this.bindOnDragEnd=z=>{this._onDragEnd(z)},this._oneClickHandler=()=>{this.listenerOneClick=this.renderer.listen(this._drag.target,"click",()=>!1),this.listenerOneClick()}}onMouseDown(c){this.owlDraggable.isMouseDragable&&this._onDragStart(c)}onTouchStart(c){if(c.targetTouches.length>=2)return!1;this.owlDraggable.isTouchDragable&&this._onDragStart(c)}onTouchCancel(c){this._onDragEnd(c)}onDragStart(){if(this.owlDraggable.isMouseDragable)return!1}onSelectStart(){if(this.owlDraggable.isMouseDragable)return!1}ngOnInit(){this._oneMoveSubsription=this._oneDragMove$.pipe((0,W.P)()).subscribe(()=>{this._sendChanges()})}ngOnDestroy(){this._oneMoveSubsription.unsubscribe()}_onDragStart(c){let b=null;3!==c.which&&(b=this._prepareDragging(c),this._drag.time=(new Date).getTime(),this._drag.target=c.target,this._drag.stage.start=b,this._drag.stage.current=b,this._drag.pointer=this._pointer(c),this.listenerMouseUp=this.renderer.listen(document,"mouseup",this.bindOnDragEnd),this.listenerTouchEnd=this.renderer.listen(document,"touchend",this.bindOnDragEnd),this.zone.runOutsideAngular(()=>{this.listenerOneMouseMove=this.renderer.listen(document,"mousemove",this.bindOneMouseTouchMove),this.listenerOneTouchMove=this.renderer.listen(document,"touchmove",this.bindOneMouseTouchMove)}))}_oneMouseTouchMove(c){const b=this._difference(this._drag.pointer,this._pointer(c));this.listenerATag&&this.listenerATag(),!(Math.abs(b.x)<3&&Math.abs(b.y)<3&&this._is("valid"))&&(Math.abs(b.x)<3&&Math.abs(b.x)!1))}_onDragMove(c){let b;const E=this.carouselService.defineNewCoordsDrag(c,this._drag);!1!==E&&(b=E,c.preventDefault(),this._drag.stage.current=b,this._animate(b.x-this._drag.stage.start.x))}_animate(c){this.renderer.setStyle(this.el.nativeElement.children[0],"transform",`translate3d(${c}px,0px,0px`),this.renderer.setStyle(this.el.nativeElement.children[0],"transition","0s")}_onDragEnd(c){this.carouselService.owlDOMData.isGrab=!1,this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving&&(this.renderer.setStyle(this.el.nativeElement.children[0],"transform",""),this.renderer.setStyle(this.el.nativeElement.children[0],"transition",this.carouselService.speed(+this.carouselService.settings.dragEndSpeed||this.carouselService.settings.smartSpeed)/1e3+"s"),this._finishDragging(c),this.listenerMouseMove(),this.listenerTouchMove()),this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1},this.listenerMouseUp(),this.listenerTouchEnd()}_prepareDragging(c){return this.carouselService.prepareDragging(c)}_finishDragging(c){this.carouselService.finishDragging(c,this._drag,this._oneClickHandler)}_pointer(c){return this.carouselService.pointer(c)}_difference(c,b){return this.carouselService.difference(c,b)}_is(c){return this.carouselService.is(c)}_enter(c){this.carouselService.enter(c)}_sendChanges(){this.carouselService.sendChanges()}onTransitionEnd(){this.carouselService.onTransitionEnd()}_enterDragging(){this.carouselService.enterDragging()}clear(c){this.animateService.clear(c)}}return h.\u0275fac=function(c){return new(c||h)(r.Y36(r.R0b),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36($e),r.Y36(Ee))},h.\u0275cmp=r.Xpm({type:h,selectors:[["owl-stage"]],hostBindings:function(c,b){1&c&&r.NdJ("mousedown",function(O){return b.onMouseDown(O)})("touchstart",function(O){return b.onTouchStart(O)})("touchcancel",function(O){return b.onTouchCancel(O)})("dragstart",function(){return b.onDragStart()})("selectstart",function(){return b.onSelectStart()})},inputs:{owlDraggable:"owlDraggable",stageData:"stageData",slidesData:"slidesData"},decls:3,vars:8,consts:[[1,"owl-stage",3,"ngStyle","transitionend"],[4,"ngFor","ngForOf"],[1,"owl-item",3,"ngClass","ngStyle","animationend"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(c,b){1&c&&(r.TgZ(0,"div")(1,"div",0),r.NdJ("transitionend",function(){return b.onTransitionEnd()}),r.YNc(2,ge,3,9,"ng-container",1),r.qZA()()),2&c&&(r.xp6(1),r.Q6J("ngStyle",r.qbA(2,Ve,b.stageData.width+"px",b.stageData.transform,b.stageData.transition,b.stageData.paddingL?b.stageData.paddingL+"px":"",b.stageData.paddingR?b.stageData.paddingR+"px":"")),r.xp6(1),r.Q6J("ngForOf",b.slidesData))},dependencies:[i.mk,i.sg,i.O5,i.tP,i.PC],encapsulation:2,data:{animation:[(0,X.X$)("autoHeight",[(0,X.SB)("nulled",(0,X.oB)({height:0})),(0,X.SB)("full",(0,X.oB)({height:"*"})),(0,X.eR)("full => nulled",[(0,X.jt)("700ms 350ms")]),(0,X.eR)("nulled => full",[(0,X.jt)(350)])])]}}),h})(),Nt=(()=>{class h{constructor(c,b,E,O,R,z,Re,nt,wt,Tt,jt,en){this.el=c,this.resizeService=b,this.carouselService=E,this.navigationService=O,this.autoplayService=R,this.lazyLoadService=z,this.animateService=Re,this.autoHeightService=nt,this.hashService=wt,this.logger=Tt,this.changeDetectorRef=jt,this.translated=new r.vpe,this.dragging=new r.vpe,this.change=new r.vpe,this.changed=new r.vpe,this.initialized=new r.vpe,this.slidesData=[],this.carouselLoaded=!1,this.docRef=en}onVisibilityChange(c){if(this.carouselService.settings.autoplay)switch(this.docRef.visibilityState){case"visible":!this.autoplayService.isAutoplayStopped&&this.autoplayService.play();break;case"hidden":this.autoplayService.pause()}}ngOnInit(){this.spyDataStreams(),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}ngOnChanges(){this.prevOptions!==this.options&&(this.prevOptions&&this.slides?.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray())):this.prevOptions&&!this.slides?.toArray().length?(this.carouselLoaded=!1,this.logger.log("There are no slides to show. So the carousel won't be re-rendered")):this.carouselLoaded=!1,this.prevOptions=this.options)}ngAfterContentInit(){this.slides.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray()),this._winResizeWatcher()):this.logger.log("There are no slides to show. So the carousel won't be rendered"),this._slidesChangesSubscription=this.slides.changes.pipe((0,F.b)(c=>{c.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,c.toArray(),this.options),this.carouselService.initialize(c.toArray())):(this.carouselLoaded=!1,this.logger.log("There are no slides to show. So the carousel won't be re-rendered"))})).subscribe(()=>{})}ngOnDestroy(){this.resizeSubscription&&this.resizeSubscription.unsubscribe(),this._slidesChangesSubscription&&this._slidesChangesSubscription.unsubscribe(),this._allObservSubscription&&this._allObservSubscription.unsubscribe()}spyDataStreams(){this._viewCurSettings$=this.carouselService.getViewCurSettings().pipe((0,F.b)(c=>{this.owlDOMData=c.owlDOMData,this.stageData=c.stageData,this.slidesData=c.slidesData,this.carouselLoaded||(this.carouselLoaded=!0),this.navData=c.navData,this.dotsData=c.dotsData,this.changeDetectorRef.markForCheck()})),this._initializedCarousel$=this.carouselService.getInitializedState().pipe((0,F.b)(()=>{this.gatherTranslatedData(),this.initialized.emit(this.slidesOutputData)})),this._translatedCarousel$=this.carouselService.getTranslatedState().pipe((0,F.b)(()=>{this.gatherTranslatedData(),this.translated.emit(this.slidesOutputData)})),this._changeCarousel$=this.carouselService.getChangeState().pipe((0,F.b)(()=>{this.gatherTranslatedData(),this.change.emit(this.slidesOutputData)})),this._changedCarousel$=this.carouselService.getChangeState().pipe((0,p.w)(c=>{const b=(0,u.of)(c).pipe((0,w.h)(()=>"position"===c.property.name),(0,p.w)(()=>(0,T.D)(this.slidesData)),(0,se.T)(c.property.value),(0,ae.q)(this.carouselService.settings.items),(0,le.U)(E=>{const O=this.carouselService.clonedIdPrefix,R=E.id.indexOf(O)>=0?E.id.slice(O.length):E.id;return{...E,id:R,isActive:!0}}),function Ne(){return(0,fe.e)((h,v)=>{(function Se(h,v){return(0,fe.e)((0,me.U)(h,v,arguments.length>=2,!1,!0))})(Ze,[])(h).subscribe(v)})}(),(0,le.U)(E=>({slides:E,startPosition:this.carouselService.relative(c.property.value)})));return(0,D.T)(b)}),(0,F.b)(c=>{this.gatherTranslatedData(),this.changed.emit(c.slides.length?c:this.slidesOutputData)})),this._draggingCarousel$=this.carouselService.getDragState().pipe((0,F.b)(()=>{this.gatherTranslatedData(),this.dragging.emit({dragging:!0,data:this.slidesOutputData})}),(0,p.w)(()=>this.carouselService.getDraggedState().pipe((0,le.U)(()=>!!this.carouselService.is("animating")))),(0,p.w)(c=>c?this.carouselService.getTranslatedState().pipe((0,W.P)()):(0,u.of)("not animating")),(0,F.b)(()=>{this.dragging.emit({dragging:!1,data:this.slidesOutputData})})),this._carouselMerge$=(0,D.T)(this._viewCurSettings$,this._translatedCarousel$,this._draggingCarousel$,this._changeCarousel$,this._changedCarousel$,this._initializedCarousel$),this._allObservSubscription=this._carouselMerge$.subscribe(()=>{})}_winResizeWatcher(){Object.keys(this.carouselService._options.responsive).length&&(this.resizeSubscription=this.resizeService.onResize$.pipe((0,w.h)(()=>this.carouselWindowWidth!==this.el.nativeElement.querySelector(".owl-carousel").clientWidth),(0,gt.g)(this.carouselService.settings.responsiveRefreshRate)).subscribe(()=>{this.carouselService.onResize(this.el.nativeElement.querySelector(".owl-carousel").clientWidth),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}))}onTransitionEnd(){this.carouselService.onTransitionEnd()}next(){!this.carouselLoaded||this.navigationService.next(this.carouselService.settings.navSpeed)}prev(){!this.carouselLoaded||this.navigationService.prev(this.carouselService.settings.navSpeed)}moveByDot(c){!this.carouselLoaded||this.navigationService.moveByDot(c)}to(c){!this.carouselLoaded||this.navigationService.toSlideById(c)}gatherTranslatedData(){let c;const b=this.carouselService.clonedIdPrefix,E=this.slidesData.filter(O=>!0===O.isActive).map(O=>({id:O.id.indexOf(b)>=0?O.id.slice(b.length):O.id,width:O.width,marginL:O.marginL,marginR:O.marginR,center:O.isCentered}));c=this.carouselService.relative(this.carouselService.current()),this.slidesOutputData={startPosition:c,slides:E}}startPausing(){this.autoplayService.startPausing()}startPlayML(){this.autoplayService.startPlayingMouseLeave()}startPlayTE(){this.autoplayService.startPlayingTouchEnd()}stopAutoplay(){this.autoplayService.isAutoplayStopped=!0,this.autoplayService.stop()}startAutoplay(){this.autoplayService.isAutoplayStopped=!1,this.autoplayService.play()}}return h.\u0275fac=function(c){return new(c||h)(r.Y36(r.SBq),r.Y36(Bt),r.Y36($e),r.Y36(ce),r.Y36(Ue),r.Y36(Ae),r.Y36(Ee),r.Y36(De),r.Y36(ft),r.Y36(G),r.Y36(r.sBO),r.Y36(Wt))},h.\u0275cmp=r.Xpm({type:h,selectors:[["owl-carousel-o"]],contentQueries:function(c,b,E){if(1&c&&r.Suo(E,St,4),2&c){let O;r.iGM(O=r.CRH())&&(b.slides=O)}},hostBindings:function(c,b){1&c&&r.NdJ("visibilitychange",function(O){return b.onVisibilityChange(O)},!1,r.evT)},inputs:{options:"options"},outputs:{translated:"translated",dragging:"dragging",change:"change",changed:"changed",initialized:"initialized"},features:[r._Bn([ce,Ue,$e,Ae,Ee,De,ft]),r.TTD],decls:4,vars:9,consts:[[1,"owl-carousel","owl-theme",3,"ngClass","mouseover","mouseleave","touchstart","touchend"],["owlCarousel",""],["class","owl-stage-outer",4,"ngIf"],[4,"ngIf"],[1,"owl-stage-outer"],[3,"owlDraggable","stageData","slidesData"],[1,"owl-nav",3,"ngClass"],[1,"owl-prev",3,"ngClass","innerHTML","click"],[1,"owl-next",3,"ngClass","innerHTML","click"],[1,"owl-dots",3,"ngClass"],["class","owl-dot",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"owl-dot",3,"ngClass","click"],[3,"innerHTML"]],template:function(c,b){1&c&&(r.TgZ(0,"div",0,1),r.NdJ("mouseover",function(){return b.startPausing()})("mouseleave",function(){return b.startPlayML()})("touchstart",function(){return b.startPausing()})("touchend",function(){return b.startPlayTE()}),r.YNc(2,pt,2,6,"div",2),r.YNc(3,_t,6,15,"ng-container",3),r.qZA()),2&c&&(r.Q6J("ngClass",r.qbA(3,et,null==b.owlDOMData?null:b.owlDOMData.rtl,null==b.owlDOMData?null:b.owlDOMData.isLoaded,null==b.owlDOMData?null:b.owlDOMData.isResponsive,null==b.owlDOMData?null:b.owlDOMData.isMouseDragable,null==b.owlDOMData?null:b.owlDOMData.isGrab)),r.xp6(2),r.Q6J("ngIf",b.carouselLoaded),r.xp6(1),r.Q6J("ngIf",b.slides.toArray().length))},dependencies:[i.mk,i.sg,i.O5,on],styles:[".owl-theme[_ngcontent-%COMP%]{display:block}"],changeDetection:0}),h})(),oe=(()=>{class h{}return h.\u0275fac=function(c){return new(c||h)},h.\u0275mod=r.oAB({type:h}),h.\u0275inj=r.cJS({providers:[Qt,Bt,J,G],imports:[i.ez]}),h})()},5861:(Rt,je,a)=>{function r(d,D,u,T,F,w,p){try{var W=d[w](p),ae=W.value}catch(se){return void u(se)}W.done?D(ae):Promise.resolve(ae).then(T,F)}function i(d){return function(){var D=this,u=arguments;return new Promise(function(T,F){var w=d.apply(D,u);function p(ae){r(w,T,F,p,W,"next",ae)}function W(ae){r(w,T,F,p,W,"throw",ae)}p(void 0)})}}a.d(je,{Z:()=>i})}},Rt=>{Rt(Rt.s=4809)}]);