"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(""),this.buf.push(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("