(self.webpackChunktootukassa=self.webpackChunktootukassa||[]).push([[792],{2138:(_t,ge,f)=>{"use strict";f.d(ge,{Z:()=>Yt});var n=f(467),r=f(177),y=f(4710),F=f(5312),g=f(5027),A=f(5964),M=f(4438),B=f(6100),V=f(1413),T=f(983),N=f(1594),U=f(5558),b=f(8141),G=f(9437);let ce=(()=>{class Vt{constructor(jt,Ot){this.appRef=jt,this.router=Ot,this.isUpdateNeeded=new V.B,this.isUpdateNeeded$=this.isUpdateNeeded.asObservable()}watch(){this.startPolling(),this.handleUpdate()}startPolling(){this.appRef.isStable.pipe((0,N.$)(jt=>jt),(0,U.n)(()=>this.router.events),(0,A.p)(jt=>jt instanceof y.Z),(0,b.M)(()=>this.checkIfUpdateIsNeeded()),(0,G.W)(jt=>(console.error("Failed to check for app updates",jt),T.w))).subscribe()}checkIfUpdateIsNeeded(){var jt=this;const Ot=new Date;(!this.lastUpdateCheck||Ot.getTime()-this.lastUpdateCheck.getTime()>9e5)&&fetch("/api/version",{cache:"no-store"}).then(function(){var ut=(0,n.A)(function*(tt){const{appVersion:rt}=yield tt.json();"68"!=rt&&jt.isUpdateNeeded.next(!0),jt.lastUpdateCheck=Ot});return function(tt){return ut.apply(this,arguments)}}())}handleUpdate(){this.isUpdateNeeded$.pipe((0,N.$)(jt=>!0===jt),(0,U.n)(()=>this.router.events),(0,N.$)(jt=>jt instanceof y.wF),(0,b.M)(()=>window.location.reload())).subscribe()}static#e=this.\u0275fac=function(Ot){return new(Ot||Vt)(M.KVO(M.o8S),M.KVO(y.Ix))};static#t=this.\u0275prov=M.jDH({token:Vt,factory:Vt.\u0275fac,providedIn:"root"})}return Vt})();var J=f(3060),Se=f(6628),Ne=f(345),ot=f(3850),dt=f(4312),He=f(9213);let Ge=(()=>{class Vt{constructor(jt,Ot){this.registry=jt,this.sanitizer=Ot,this.namespace="tk"}setUp(){this.registry.setDefaultFontSetClass("material-icons-outlined"),this.registerTkIcons()}registerTkIcons(){this.addSvgIcon("alert","/assets/icons/ico_alert_danger.svg"),this.addSvgIcon("calendar","/assets/icons/ico_calendar.svg"),this.addSvgIcon("check","/assets/icons/ico_check_n.svg"),this.addSvgIcon("check-circled","/assets/icons/ico_check_circled.svg"),this.addSvgIcon("chevron-up","/assets/icons/ico_chevron_up.svg"),this.addSvgIcon("chevron-down","/assets/icons/ico_chevron_down.svg"),this.addSvgIcon("chevron-up","/assets/icons/ico_chevron_up.svg"),this.addSvgIcon("chevron-left","/assets/icons/ico_chevron_left.svg"),this.addSvgIcon("chevron-right","/assets/icons/ico_chevron_right.svg"),this.addSvgIcon("close","/assets/icons/ico_close.svg"),this.addSvgIcon("datepicker-calendar","/assets/icons/ico_datepicker_calendar.svg"),this.addSvgIcon("ddoc","/assets/icons/ico_ddoc.svg"),this.addSvgIcon("document","/assets/icons/ico_document.svg"),this.addSvgIcon("download","/assets/icons/ico_download.svg"),this.addSvgIcon("ext-link","/assets/icons/ico_ext_link.svg"),this.addSvgIcon("info","/assets/icons/ico_alert_info.svg"),this.addSvgIcon("mail","/assets/icons/ico_mail.svg"),this.addSvgIcon("more-info","/assets/icons/ico_more_info.svg"),this.addSvgIcon("upload","/assets/icons/ico_upload.svg"),this.addSvgIcon("warning","/assets/icons/ico_warning.svg"),this.addSvgIcon("search","/assets/icons/ico_search.svg"),this.addSvgIcon("menu","/assets/icons/ico_menu.svg")}addSvgIcon(jt,Ot){const nt=this.sanitizer.bypassSecurityTrustResourceUrl(Ot);this.registry.addSvgIconInNamespace(this.namespace,jt,nt)}static#e=this.\u0275fac=function(Ot){return new(Ot||Vt)(M.KVO(He.tp),M.KVO(Ne.up))};static#t=this.\u0275prov=M.jDH({token:Vt,factory:Vt.\u0275fac,providedIn:"root"})}return Vt})();var se=f(7570),Ae=f(3300),we=f(3855);function ue(Vt,qt){if(1&Vt){const jt=M.RV6();M.j41(0,"a",4),M.bIt("click",function(nt){M.eBV(jt);const ut=M.XpG(2);return M.Njj(ut.navigateToAnchor(nt))}),M.EFF(1),M.k0s()}if(2&Vt){const jt=M.XpG().$implicit,Ot=M.XpG();M.Y8G("href",Ot.selfServiceMenuAnchor,M.B4B),M.R7$(),M.SpI(" ",jt("fegeneral/accessibilityLink/toSelfServiceMenu")," ")}}function Oe(Vt,qt){if(1&Vt&&(M.j41(0,"a",7),M.EFF(1),M.k0s()),2&Vt){const jt=qt.ngIf;M.Y8G("routerLink",null==jt.accessibilityPage.url?null:jt.accessibilityPage.url.path),M.R7$(),M.JRh(jt.accessibilityPage.title)}}function Ye(Vt,qt){if(1&Vt){const jt=M.RV6();M.j41(0,"p",3)(1,"a",4),M.bIt("click",function(nt){M.eBV(jt);const ut=M.XpG();return M.Njj(ut.navigateToAnchor(nt))}),M.EFF(2),M.k0s(),M.DNE(3,ue,2,2,"a",5),M.j41(4,"a",4),M.bIt("click",function(nt){M.eBV(jt);const ut=M.XpG();return M.Njj(ut.navigateToAnchor(nt))}),M.EFF(5),M.k0s(),M.DNE(6,Oe,2,2,"a",6),M.nI1(7,"async"),M.k0s()}if(2&Vt){const jt=qt.$implicit,Ot=M.XpG();M.R7$(),M.Y8G("href",Ot.contentAnchor,M.B4B),M.R7$(),M.SpI(" ",jt("fegeneral/accessibilityLink/toContent")," "),M.R7$(),M.Y8G("ngIf",Ot.user),M.R7$(),M.Y8G("href",Ot.mainMenuAnchor,M.B4B),M.R7$(),M.SpI(" ",jt("fegeneral/accessibilityLink/toMainMenu")," "),M.R7$(),M.Y8G("ngIf",M.bMT(7,6,Ot.appService.globalSettings$))}}function yt(Vt,qt){1&Vt&&M.nrm(0,"tk-back-to-top")}let Yt=(()=>{class Vt{constructor(jt,Ot,nt,ut,tt,rt,Ft,Le,pe,Pe,et,Pt){this.appService=jt,this.viewportScroller=Ot,this.appUpdateService=nt,this.router=ut,this.translateService=tt,this.scriptService=rt,this.title=Ft,this.metaService=Le,this._ngZone=pe,this.document=Pe,this.userService=et,this.contentAnchor="#content",this.selfServiceMenuAnchor="#selfServiceMenu",this.mainMenuAnchor="#mainmenu",Pt.setUp()}ngOnInit(){var jt=this;return(0,n.A)(function*(){jt.handleScrollOnNavigation(),jt.handleMetaOnNavigation(),jt.appUpdateService.watch(),jt.addMatomo(),jt.userService.user$.subscribe(nt=>jt.user=nt),jt.document.documentElement.lang=jt.translateService.getActiveLang();let Ot=jt.router.url;jt.router.events.pipe((0,A.p)(nt=>nt instanceof y.wF)).subscribe(nt=>{jt.sendPageView(Ot,nt.urlAfterRedirects),Ot=nt.urlAfterRedirects})})()}handleScrollOnNavigation(){let jt=this.router.url;this.router.events.pipe((0,A.p)(Ot=>Ot instanceof y.OY)).subscribe(Ot=>{let nt="";if(Ot.routerEvent instanceof y.lW||(nt=Ot.routerEvent.urlAfterRedirects),Ot.position){const ut=Ot.position;setTimeout(()=>this.viewportScroller.scrollToPosition(ut))}else Ot.anchor?this.viewportScroller.scrollToAnchor(Ot.anchor):(this.viewportScroller.scrollToPosition([0,0]),jt=nt)})}static getBaseRoute(jt){return jt.split("?")[0]}handleMetaOnNavigation(){this.router.events.pipe((0,A.p)(jt=>jt instanceof y.wF)).subscribe(()=>{this.metaService.swipeTags(),this.metaService.setDefaultTitle()})}sendPageView(jt,Ot){F.c.matomoSiteId&&jt!==Ot&&this._ngZone.runOutsideAngular(()=>{window._paq.push(["setCustomUrl",Ot]),window._paq.push(["setReferrerUrl",jt]),window._paq.push(["setDocumentTitle",this.title.getTitle()]),window._paq.push(["trackPageView"])})}addMatomo(){F.c.matomoSiteId&&(window._paq=[],window._paq.push(["setReferrerUrl",""]),window._paq.push(["trackPageView"]),window._paq.push(["setTrackerUrl","//matomo.tootukassa.ee/matomo.php"]),window._paq.push(["setSiteId",F.c.matomoSiteId]),this.scriptService.loadScript("https://matomo.tootukassa.ee/matomo.js").subscribe())}navigateToAnchor(jt){jt.preventDefault();const nt=jt.target.getAttribute("href");nt&&(this.viewportScroller.scrollToAnchor(nt.replace("#","")),this.focusAnchorLink(nt))}focusAnchorLink(jt){const Ot=this.document.querySelector(jt);if(!Ot)return;let nt;nt="/"===(0,g.Mp)(this.router.url)&&"#content"===jt?Ot.querySelector("input"):Ot.querySelector("a"),nt?.focus()}static#e=this.\u0275fac=function(Ot){return new(Ot||Vt)(M.rXU(B.d),M.rXU(r.Xr),M.rXU(ce),M.rXU(y.Ix),M.rXU(J.JO),M.rXU(Se.fL),M.rXU(Ne.hE),M.rXU(ot.R),M.rXU(M.SKi),M.rXU(r.qQ),M.rXU(dt.D),M.rXU(Ge))};static#t=this.\u0275cmp=M.VBU({type:Vt,selectors:[["tk-root"]],decls:4,vars:0,consts:[["class","absolute h-0",4,"transloco"],["tkErrorOutput",""],[4,"tkHideInSSR"],[1,"absolute","h-0"],[1,"sr-only","focus:not-sr-only",3,"click","href"],["class","sr-only focus:not-sr-only",3,"href","click",4,"ngIf"],["class","sr-only focus:not-sr-only",3,"routerLink",4,"ngIf"],[1,"sr-only","focus:not-sr-only",3,"routerLink"]],template:function(Ot,nt){1&Ot&&(M.j41(0,"div"),M.DNE(1,Ye,8,8,"p",0),M.nrm(2,"router-outlet",1),M.DNE(3,yt,1,0,"tk-back-to-top",2),M.k0s())},dependencies:[se.x,r.bT,Ae.F,J.bA,we.z,y.n3,y.Wk,r.Jj],encapsulation:2})}return Vt})()},6100:(_t,ge,f)=>{"use strict";f.d(ge,{d:()=>R});var n=f(177),r=f(4710),y=f(7473),F=f(3647),g=f(4787),A=f(3473),M=f(2771),B=f(1413),V=f(4668),T=f(5964),N=f(6354),U=f(4438),b=f(3060),G=f(4925);let R=(()=>{class ce{constructor(Se,Ne,ot,dt,He){this.apollo=Se,this.router=Ne,this.translateService=ot,this._doc=dt,this._languageSwitchLinks=new M.m,this.languageSwitchLinks=this._languageSwitchLinks.asObservable(),this._globalSettings=new B.B,this.globalSettings$=this._globalSettings.asObservable().pipe((0,V.t)()),this._destroyed=new B.B,!He.stopped&&(this.getGlobalConfig(),this.registerNavigationBackgroundTasks(),this.translateService.events$.pipe((0,T.p)(Ge=>"langChanged"===Ge.type),(0,N.T)(Ge=>Ge.payload)).subscribe(()=>this.getGlobalConfig()))}ngOnDestroy(){this._destroyed.next(!0)}getGlobalConfig(){this.apollo.query({query:A.J1` query globalConfig { GlobalSettings { id accessibilityPage { title url { path } } socials { label type url { path } } cookieInformationPage { url { path } } barometerMethodPage { uuid title url { path } } } } `}).pipe((0,N.T)(Se=>Se.data.GlobalSettings)).subscribe(Se=>{this._globalSettings.next(Se)})}setLanguageSwitchLinks(Se){this._languageSwitchLinks.next(Se)}translateRoute(Se,Ne="et",ot=!1,dt=void 0){const He=this.translateService.getAvailableLangs(),Ge=dt||this.translateService.getActiveLang(),se=this.getRouteTranslations(Ne),Ae=this.getRouteTranslations(Ge),we=new URL(Se,this._doc?.location.origin),ue=we.pathname.split("/");return He.includes(ue[1])||(ue[0]=Ne),we.pathname=ue.map(Oe=>{if(He.includes(Oe))return Ne;const Ye=Object.entries(Ae).find(Yt=>Yt[1]===Oe);return Ye?se[Ye[0]]??Oe:Oe}).join("/"),ot?we.pathname:we.toString()}translatePathToLanguage(Se,Ne="et"){return this.translateRoute(Se,Ne,!0)}getRouteTranslations(Se){return{et:F,en:y,ru:g}[Se].ROUTES}registerNavigationBackgroundTasks(){this.router.events.pipe((0,T.p)(Se=>Se instanceof r.wF)).subscribe(()=>{this.setLanguageSwitchLinks([])})}static#e=this.\u0275fac=function(Ne){return new(Ne||ce)(U.KVO(A.Ic),U.KVO(r.Ix),U.KVO(b.JO),U.KVO(n.qQ),U.KVO(G.I))};static#t=this.\u0275prov=U.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})()},7570:(_t,ge,f)=>{"use strict";f.d(ge,{x:()=>T});var n=f(177),r=f(3060),y=f(3726),F=f(6354),g=f(8141),A=f(4438);const M=["button"];function B(N,U){if(1&N&&(A.j41(0,"span",4),A.EFF(1),A.k0s()),2&N){const b=U.$implicit;A.R7$(),A.SpI(" ",b("fegeneral/backToTop")," ")}}let T=(()=>{class N{constructor(){this.showTriggered=!1,this.show$=(0,y.R)(window,"scroll").pipe((0,F.T)(b=>(window.scrollY>4*window.innerHeight?this.showTriggered=!0:this.showTriggered&&(this.showTriggered=window.scrollY>150),this.showTriggered)),(0,g.M)(b=>{b?document.body.classList.add("show-to-top"):document.body.classList.remove("show-to-top")}))}scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}ngAfterViewInit(){document.documentElement.style.setProperty("--btt-width",getComputedStyle(this.buttonEl.nativeElement).width)}static#e=this.\u0275fac=function(G){return new(G||N)};static#t=this.\u0275cmp=A.VBU({type:N,selectors:[["tk-back-to-top"]],viewQuery:function(G,R){if(1&G&&A.GBs(M,5),2&G){let ce;A.mGM(ce=A.lsd())&&(R.buttonEl=ce.first)}},standalone:!0,features:[A.aNF],decls:6,vars:6,consts:[["button",""],["id","back-to-top",1,"btt-btn","translate","fixed","bottom-5","right-2","z-35","flex","space-x-1","rounded-full","border","border-tk_blue","bg-white","bg-center","bg-no-repeat","px-3","py-2","outline-none","transition","duration-500","ease-in-out","hover:border-tk_blue_highlighted","hover:bg-tk_grey_100","focus:border-tk_blue_shaded","focus:ring-2","focus:ring-tk_blue_shaded","focus:ring-offset-1","lg:bottom-2",3,"click","ngClass","disabled"],["class","inline-block h-4 leading-5 text-tk_blue",4,"transloco"],[1,"bg-ico-chevron_tk-blue","inline-block","size-5","rotate-90","bg-cover","bg-no-repeat"],[1,"inline-block","h-4","leading-5","text-tk_blue"]],template:function(G,R){if(1&G){const ce=A.RV6();A.j41(0,"button",1,0),A.nI1(2,"async"),A.nI1(3,"async"),A.bIt("click",function(){return A.eBV(ce),A.Njj(R.scrollToTop())}),A.DNE(4,B,2,1,"span",2),A.nrm(5,"span",3),A.k0s()}2&G&&A.Y8G("ngClass",A.bMT(2,2,R.show$)?"translate-y-0":"translate-y-[200%]")("disabled",!1===A.bMT(3,4,R.show$))},dependencies:[n.MD,n.YU,n.Jj,r.bA],styles:["#back-to-top[_ngcontent-%COMP%]:focus span[_ngcontent-%COMP%]{color:rgba(0,70,128,var(--tw-text-opacity))}#back-to-top[_ngcontent-%COMP%]:focus > span.bg-ico-chevron_tk-blue[_ngcontent-%COMP%]{background-image:url(ico-chevron_tk-blue_shaded.e81098f76552924e.svg)}.bg-ico-chevron_tk-blue[_ngcontent-%COMP%]{background-image:url(ico-chevron_tk-blue.ff7f7851a805920c.svg)}"]})}return N})()},6096:(_t,ge,f)=>{"use strict";f.d(ge,{z:()=>A});var n=f(4438),r=f(177),y=f(4824),F=f(6442);function g(M,B){1&M&&(n.j41(0,"header",12)(1,"div",13)(2,"div",14),n.nrm(3,"tk-tootukassa-logo"),n.k0s()()())}let A=(()=>{class M{constructor(V){this._loc=V,this.minor=!1}goBack(){this._loc.back()}static#e=this.\u0275fac=function(T){return new(T||M)(n.rXU(r.aZ))};static#t=this.\u0275cmp=n.VBU({type:M,selectors:[["tk-error-page"]],inputs:{minor:"minor"},decls:31,vars:1,consts:[[1,"col-span-12"],["class","flex border-b border-tk_grey_300 bg-white p-5",4,"ngIf"],[1,"col-span-12","w-full","pb-12","pt-6"],[1,"mt-8","space-y-9"],["role","alert",1,"sr-only"],[1,"page-content","mx-6","mb-9","max-w-4xl","xl:mx-auto"],[1,"mb-4","font-roboto","text-2xl","font-bold","leading-7"],[1,"flex","flex-col","items-start","space-y-2","sm:flex-row","sm:space-x-2","sm:space-y-0"],["href","/et",1,"btn","btn-primary-outlined","btn-lg"],["role","button","tabindex","0",1,"btn","btn-primary-outlined","btn-lg",3,"click"],["href","/ru",1,"btn","btn-primary-outlined","btn-lg"],["href","/en",1,"btn","btn-primary-outlined","btn-lg"],[1,"flex","border-b","border-tk_grey_300","bg-white","p-5"],[1,"max-w-desktop","m-auto","flex","grow","justify-between"],[1,"mr-4","flex","w-1/2","grow","items-center","gap-4"]],template:function(T,N){1&T&&(n.j41(0,"div",0),n.DNE(1,g,4,0,"header",1),n.j41(2,"main",2)(3,"div",3)(4,"div",4),n.EFF(5," Midagi l\xe4ks valesti. \u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a. Something went wrong "),n.k0s(),n.j41(6,"div",5)(7,"h1",6),n.EFF(8,"Midagi l\xe4ks valesti"),n.k0s(),n.j41(9,"div",7)(10,"a",8),n.EFF(11,"T\xf6\xf6tukassa avalehele"),n.k0s(),n.j41(12,"a",9),n.bIt("click",function(){return N.goBack()}),n.EFF(13," Tagasi "),n.k0s()()(),n.j41(14,"div",5)(15,"h1",6),n.EFF(16,"\u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a"),n.k0s(),n.j41(17,"div",7)(18,"a",10),n.EFF(19,"\u041d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"),n.k0s(),n.j41(20,"a",9),n.bIt("click",function(){return N.goBack()}),n.EFF(21," \u041d\u0430\u0437\u0430\u0434 "),n.k0s()()(),n.j41(22,"div",5)(23,"h1",6),n.EFF(24,"Something went wrong"),n.k0s(),n.j41(25,"div",7)(26,"a",11),n.EFF(27,"Home"),n.k0s(),n.j41(28,"a",9),n.bIt("click",function(){return N.goBack()}),n.EFF(29," Back "),n.k0s()()()()(),n.nrm(30,"tk-error-footer"),n.k0s()),2&T&&(n.R7$(),n.Y8G("ngIf",!N.minor))},dependencies:[r.bT,y.l,F.l],encapsulation:2})}return M})()},4925:(_t,ge,f)=>{"use strict";f.d(ge,{I:()=>M});var n=f(6096),r=f(4438),y=f(6442),F=f(177);let g=(()=>{class B{static#e=this.\u0275fac=function(N){return new(N||B)};static#t=this.\u0275cmp=r.VBU({type:B,selectors:[["tk-maintenance-page"]],inputs:{from:"from",to:"to"},decls:37,vars:24,consts:[[1,"flex","justify-between","border-b","border-tk_grey_300","bg-white","p-5"],[1,"mr-4","flex","w-1/2","grow","items-center"],["href","#",1,"inline-block","h-11","w-48","rounded","bg-logo-tk","bg-contain","bg-no-repeat","outline-none","focus:ring-2","focus:ring-tk_blue_shaded","focus:ring-offset-8"],[1,"hidden"],[1,""],[1,"ml-4","flex","w-1/2","grow","items-center","justify-end","justify-self-end"],[1,"pb-12","pt-6"],[1,"mt-8","space-y-9"],[1,"page-content","mx-6","max-w-4xl","xl:mx-auto"],[1,"mb-4","font-roboto","text-2xl","font-bold","leading-7"]],template:function(N,U){1&N&&(r.j41(0,"header",0)(1,"div",1)(2,"a",2)(3,"span",3),r.EFF(4,"T\xf6\xf6tukassa"),r.k0s()()(),r.nrm(5,"div",4)(6,"div",5),r.k0s(),r.j41(7,"main",6)(8,"div",7)(9,"div",8)(10,"h1",9),r.EFF(11," Hea kodulehe ja iseteeninduse kasutaja "),r.k0s(),r.j41(12,"p"),r.EFF(13),r.nI1(14,"date"),r.nI1(15,"date"),r.k0s(),r.j41(16,"p"),r.EFF(17,"Eesti T\xf6\xf6tukassa"),r.k0s()(),r.j41(18,"div",8)(19,"h1",9),r.EFF(20,"\u0423\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442!"),r.k0s(),r.j41(21,"p"),r.EFF(22),r.nI1(23,"date"),r.nI1(24,"date"),r.k0s(),r.j41(25,"p"),r.EFF(26,"\u042d\u0441\u0442\u043e\u043d\u0441\u043a\u0430\u044f \u043a\u0430\u0441\u0441\u0430 \u043f\u043e \u0431\u0435\u0437\u0440\u0430\u0431\u043e\u0442\u0438\u0446\u0435"),r.k0s()(),r.j41(27,"div",8)(28,"h1",9),r.EFF(29,"Dear guest!"),r.k0s(),r.j41(30,"p"),r.EFF(31),r.nI1(32,"date"),r.nI1(33,"date"),r.k0s(),r.j41(34,"p"),r.EFF(35,"Estonian Unemployment Insurance Fund"),r.k0s()()()(),r.nrm(36,"tk-error-footer")),2&N&&(r.R7$(13),r.Lme(" E-riik edeneb. Meie e-t\xf6\xf6tukassas paigaldatakse t\xe4na kell ",r.i5U(14,6,U.from,"HH:mm"),"\u2013",r.i5U(15,9,U.to,"HH:mm")," uuendusi. P\xe4rast paigaldust\xf6\xf6de l\xf5ppu olete oodatud taas meie e-teenuseid kasutama. "),r.R7$(9),r.Lme(" \u042d-\u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u043e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u0421\u0435\u0433\u043e\u0434\u043d\u044f, c ",r.i5U(23,12,U.from,"HH:mm"),"\u2013",r.i5U(24,15,U.to,"HH:mm"),", \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u043f\u043e\u0440\u0442\u0430\u043b\u0435 e-t\xf6\xf6tukassa \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f. \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439, \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u044d-\u0443\u0441\u043b\u0443\u0433\u0430\u043c\u0438. "),r.R7$(9),r.Lme(" E-government is renewing. Our self service portal is also getting updates today from ",r.i5U(32,18,U.from,"h:mm a"),"\u2013",r.i5U(33,21,U.to,"h:mm a"),". After the upgrade's installation works you are welcome to use our e-services again. "))},dependencies:[y.l,F.vh],encapsulation:2})}return B})();var A=f(3473);let M=(()=>{class B{constructor(T){this.apollo=T,this._stopped=!1}get stopped(){return this._stopped}stopApp(){this._stopped=!0,this.apollo.client.stop()}handleCriticalError(T){setTimeout(()=>B.displayMessage(T,this.criticalOutputRef))}handleMinorError(T){setTimeout(()=>B.displayMessage(T,this.minorOutputRef,!0))}handleMaintenanceError(T,N){setTimeout(()=>this.displayMaintenancePage(T,N))}setOutPutRef(T){this.criticalOutputRef=T}setMinorOutPutRef(T){this.minorOutputRef=T}static displayMessage(T,N,U=!1){if(!N)return console.error({error:T});const b=B.renderComponent(n.z,N);b&&(b.instance.minor=U)}displayMaintenancePage(T,N){if(!this.criticalOutputRef)return;const U=B.renderComponent(g,this.criticalOutputRef);U&&(U.instance.from=T,U.instance.to=N)}static renderComponent(T,N){return N.clear(),N.createComponent(T)}static#e=this.\u0275fac=function(N){return new(N||B)(r.KVO(A.Ic))};static#t=this.\u0275prov=r.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8358:(_t,ge,f)=>{"use strict";f.d(ge,{a:()=>g,r:()=>F});var n=f(4438),r=f(4710),y=f(177);const F=150;let g=(()=>{class A{constructor(B){this.router=B,this.showLogos=!0}onWindowScroll(){this.showLogos=window.scrollY<=F}static#e=this.\u0275fac=function(V){return new(V||A)(n.rXU(r.Ix))};static#t=this.\u0275cmp=n.VBU({type:A,selectors:[["tk-eures-esf-logos"]],hostBindings:function(V,T){1&V&&n.bIt("scroll",function(){return T.onWindowScroll()},!1,n.tSv)},decls:3,vars:1,consts:[[1,"print-hide","fixed","bottom-0","right-0","z-35","mt-[-108px]","flex","flex-col","items-center","justify-center","bg-white","p-5px","shadow","transition-all","duration-200","ease-out",3,"ngClass"],["href","https://eures.europa.eu/index_en","target","_blank","aria-label","EURES logo",1,"-mb-5px","ml-2px","mr-3px","mt-2px","inline-block","h-17","w-[55px]","bg-logo-eures","bg-center","bg-no-repeat"],["role","img","aria-label","Rahastanud Euroopa Liit \u2013 NextGenerationEU logo",1,"-mb-10px","ml-2px","mr-3px","mt-2px","inline-block","h-44","w-[90px]","bg-logo-nextgen","bg-cover","bg-center","bg-no-repeat"]],template:function(V,T){1&V&&(n.j41(0,"div",0),n.nrm(1,"a",1)(2,"div",2),n.k0s()),2&V&&n.Y8G("ngClass",T.showLogos?"showEuresEsfLogos":"hideEuresEsfLogos")},dependencies:[y.YU],styles:[".hideEuresEsfLogos[_ngcontent-%COMP%]{transition:right 1s ease;right:-250px}.showEuresEsfLogos[_ngcontent-%COMP%]{transition:right .7s ease}"]})}return A})()},1734:(_t,ge,f)=>{"use strict";f.d(ge,{n:()=>we});var n=f(4438),r=f(7116),y=f(177),F=f(4099),g=f(3060);let A=(()=>{class ue{static#e=this.\u0275fac=function(yt){return new(yt||ue)};static#t=this.\u0275cmp=n.VBU({type:ue,selectors:[["tk-eures-esf-logo-images"]],decls:3,vars:0,consts:[["role","img","aria-label","Rahastanud Euroopa Liit \u2013 NextGenerationEU logo",1,"mb-3px","ml-2px","mr-3px","mt-2px","inline-block","h-44","w-[112px]","rounded","bg-logo-nextgen","bg-cover","bg-center","bg-no-repeat","focus:outline-none","focus:ring-2","focus:ring-tk_blue_shaded"],["role","img","aria-label","Rahastanud Euroopa Liit \u2013 NextGenerationEU logo",1,"mb-3px","ml-2px","mr-3px","mt-2px","inline-block","h-20","w-[180px]","rounded","bg-logo-nextgen-mobile","bg-cover","bg-center","bg-no-repeat","focus:outline-none","focus:ring-2","focus:ring-tk_blue_shaded"],["href","https://eures.europa.eu/index_en","aria-label","EURES logo","target","_blank",1,"mb-3px","ml-2px","mr-3px","mt-2px","inline-block","h-17","w-[55px]","rounded","bg-logo-eures","bg-center","bg-no-repeat","focus:outline-none","focus:ring-2","focus:ring-tk_blue_shaded"]],template:function(yt,Yt){1&yt&&n.nrm(0,"div",0)(1,"div",1)(2,"a",2)},styles:["@media (max-width: 1023px){.bg-logo-nextgen[_ngcontent-%COMP%]{display:none}}@media (min-width: 1024px){.bg-logo-nextgen-mobile[_ngcontent-%COMP%]{display:none}}"]})}return ue})();var M=f(2614),B=f(4710);function V(ue,Oe){if(1&ue&&n.nrm(0,"a",13),2&ue){const Ye=n.XpG().ngIf,yt=n.XpG().$implicit;n.Y8G("href",Ye.path,n.B4B)("innerHTML",yt.title,n.npT)}}function T(ue,Oe){if(1&ue&&n.nrm(0,"a",14),2&ue){const Ye=n.XpG(2).$implicit,yt=n.XpG(2);n.Y8G("href",yt.utils.getSelfServiceLoginUrl(yt.translateService.getActiveLang()),n.B4B)("innerHTML",Ye.title,n.npT)}}function N(ue,Oe){if(1&ue&&n.nrm(0,"a",15),2&ue){const Ye=n.XpG().ngIf,yt=n.XpG().$implicit;n.Y8G("routerLink",Ye.path)("innerHTML",yt.title,n.npT)}}function U(ue,Oe){if(1&ue&&(n.qex(0),n.DNE(1,V,1,2,"a",10)(2,T,1,2,"a",11)(3,N,1,2,"a",12),n.bVm()),2&ue){const Ye=Oe.ngIf,yt=n.XpG(3);n.R7$(),n.Y8G("ngIf",Ye.external),n.R7$(),n.Y8G("ngIf",yt.utils.isSelfServiceUrl(Ye)),n.R7$(),n.Y8G("ngIf",!Ye.external&&!yt.utils.isSelfServiceUrl(Ye))}}function b(ue,Oe){if(1&ue&&(n.j41(0,"li"),n.DNE(1,U,4,3,"ng-container",9),n.k0s()),2&ue){const Ye=Oe.$implicit;n.R7$(),n.Y8G("ngIf",Ye&&Ye.url)}}function G(ue,Oe){if(1&ue&&(n.j41(0,"div",5),n.nrm(1,"h3",6),n.j41(2,"ul",7),n.DNE(3,b,2,1,"li",8),n.k0s()()),2&ue){const Ye=Oe.$implicit;n.R7$(),n.Y8G("innerHTML",null==Ye?null:Ye.title,n.npT),n.R7$(2),n.Y8G("ngForOf",null==Ye?null:Ye.children)}}let R=(()=>{class ue{constructor(Ye){this.translateService=Ye,this.utils=F}static#e=this.\u0275fac=function(yt){return new(yt||ue)(n.rXU(g.JO))};static#t=this.\u0275cmp=n.VBU({type:ue,selectors:[["tk-footer-primary"]],inputs:{menu:"menu"},decls:5,vars:2,consts:[["tkEditable","",3,"adminLinks"],[1,"mx-6","grid","max-w-6xl","grid-cols-1","gap-4","py-12","sm:grid-cols-2","md:grid-cols-4","md:space-y-0","lg:grid-cols-5","xl:mx-auto"],["class","col-span-1",4,"ngFor","ngForOf"],[1,"col-span-1","sm:col-span-2","md:col-span-4","lg:col-span-1"],[1,"mx-auto","flex","items-center","justify-center","lg:flex-col-reverse"],[1,"col-span-1"],[1,"mb-4","font-nunito","text-xl","font-extrabold","text-tk_grey_900",3,"innerHTML"],[1,"space-y-2","text-base"],[4,"ngFor","ngForOf"],[4,"ngIf"],["target","_blank","class","page-element text-tk_text hover:text-tk_link hover:underline",3,"href","innerHTML",4,"ngIf"],["class","page-element text-tk_text hover:text-tk_link hover:underline",3,"href","innerHTML",4,"ngIf"],["class","page-element text-tk_text hover:text-tk_link hover:underline",3,"routerLink","innerHTML",4,"ngIf"],["target","_blank",1,"page-element","text-tk_text","hover:text-tk_link","hover:underline",3,"href","innerHTML"],[1,"page-element","text-tk_text","hover:text-tk_link","hover:underline",3,"href","innerHTML"],[1,"page-element","text-tk_text","hover:text-tk_link","hover:underline",3,"routerLink","innerHTML"]],template:function(yt,Yt){1&yt&&(n.j41(0,"div",0)(1,"div",1),n.DNE(2,G,4,2,"div",2),n.j41(3,"div",3),n.nrm(4,"tk-eures-esf-logo-images",4),n.k0s()()()),2&yt&&(n.Y8G("adminLinks",Yt.menu.adminLinks),n.R7$(2),n.Y8G("ngForOf",Yt.menu.items))},dependencies:[y.Sq,y.bT,A,M.y,B.Wk],encapsulation:2})}return ue})();var ce=f(6100),J=f(345),Se=f(4191),Ne=f(4464),ot=f(4824);function dt(ue,Oe){if(1&ue&&(n.j41(0,"li")(1,"a",9)(2,"span",10),n.EFF(3),n.k0s()()()),2&ue){const Ye=Oe.$implicit,yt=n.XpG(2);n.R7$(),n.HbH(yt.types[Ye.type].className),n.Y8G("href",yt.sanitizer.bypassSecurityTrustUrl(Ye.url.path),n.B4B)("title",yt.types[Ye.type].title),n.BMQ("aria-label",yt.types[Ye.type].title),n.R7$(2),n.JRh(yt.types[Ye.type].title)}}function He(ue,Oe){if(1&ue&&(n.j41(0,"div",11)(1,"span",12)(2,"span",10),n.EFF(3),n.k0s()(),n.j41(4,"a",13),n.EFF(5),n.k0s()()),2&ue){const Ye=n.XpG().$implicit,yt=n.XpG();n.R7$(3),n.SpI("",Ye("fegeneral/footer/social/phone/screenreader"),":"),n.R7$(),n.FS9("title",Ye("fegeneral/footer/social/phone/title")),n.Y8G("href",yt.phone1.href,n.B4B),n.R7$(),n.SpI(" ",yt.phoneNumberService.formatPhoneNumber(yt.phone1.title)," ")}}function Ge(ue,Oe){if(1&ue&&(n.qex(0),n.j41(1,"div",1)(2,"div",2),n.nrm(3,"tk-tootukassa-logo",3),n.j41(4,"div",4)(5,"ul",5),n.DNE(6,dt,4,6,"li",6),n.k0s(),n.DNE(7,He,6,4,"div",7),n.j41(8,"div",8),n.nrm(9,"tk-language-switch-links"),n.k0s()()()(),n.bVm()),2&ue){const Ye=n.XpG();n.R7$(6),n.Y8G("ngForOf",Ye.iconSocial),n.R7$(),n.Y8G("ngIf",Ye.phone1)}}let se=(()=>{class ue{constructor(Ye,yt,Yt){this.appService=Ye,this.sanitizer=yt,this.phoneNumberService=Yt,this.iconSocial=[],this.types={fb:{className:"bg-ico_facebook",title:"Facebook"},ig:{className:"bg-ico_instagram",title:"Instagram"},yt:{className:"bg-ico_youtube",title:"Youtube"},twitter:{className:"bg-ico_twitter",title:"Twitter"},linkedin:{className:"bg-ico_linkedin",title:"Linkedin"},vimeo:{className:"bg-ico_vimeo",title:"Vimeo"}}}ngOnInit(){this.appService.globalSettings$.subscribe(Ye=>{Ye?.socials&&(this.iconSocial=Ye.socials.filter(yt=>yt&&Object.keys(this.types).includes(yt.type)),Ye.socials.filter(yt=>yt&&yt.type.includes("phone")&&yt.url?.path).forEach(yt=>{const Yt=yt.url.path,Vt=Yt?.replace(/tel:|\+372/g,"");this[yt.type]={href:Yt,title:Vt}}))})}static#e=this.\u0275fac=function(yt){return new(yt||ue)(n.rXU(ce.d),n.rXU(J.up),n.rXU(Se.V))};static#t=this.\u0275cmp=n.VBU({type:ue,selectors:[["tk-footer-secondary"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"flex","flex-row","justify-center","border-t","border-tk_grey_300","p-5","align-middle","lg:justify-between"],[1,"max-w-desktop","m-auto","flex","grow","justify-between"],[1,"hidden","lg:inline-block"],[1,"flex","w-full","flex-col","space-y-5","md:w-auto","lg:flex-row","lg:space-y-0"],[1,"flex","h-8","gap-2","self-center","lg:mr-8"],[4,"ngFor","ngForOf"],["class","flex h-8 self-center text-base leading-8 text-tk_grey_900 lg:mr-8",4,"ngIf"],[1,"mr-4","hidden","h-8","items-center","space-x-2","self-center","leading-8","lg:flex"],["target","_blank",1,"socialmedia-icon",3,"href","title"],[1,"hidden"],[1,"flex","h-8","self-center","text-base","leading-8","text-tk_grey_900","lg:mr-8"],[1,"size-8","bg-ico_phone","bg-center","bg-no-repeat"],[1,"page-element","cursor-pointer","text-tk_grey_900","hover:text-tk_red","hover:underline",3,"title","href"]],template:function(yt,Yt){1&yt&&n.DNE(0,Ge,10,2,"ng-container",0)},dependencies:[y.Sq,y.bT,Ne.h,ot.l,g.bA],encapsulation:2})}return ue})();function Ae(ue,Oe){if(1&ue&&(n.j41(0,"footer",1),n.nrm(1,"tk-footer-primary",2)(2,"tk-footer-secondary"),n.k0s()),2&ue){const Ye=Oe.ngIf;n.R7$(),n.Y8G("menu",Ye)}}let we=(()=>{class ue{constructor(Ye){this.menuService=Ye,this.menu$=this.menuService.getFooterMenu()}static#e=this.\u0275fac=function(yt){return new(yt||ue)(n.rXU(r.$))};static#t=this.\u0275cmp=n.VBU({type:ue,selectors:[["tk-footer"]],decls:2,vars:3,consts:[["class","border-t-4 border-tk_brand",4,"ngIf"],[1,"border-t-4","border-tk_brand"],[3,"menu"]],template:function(yt,Yt){1&yt&&(n.DNE(0,Ae,3,1,"footer",0),n.nI1(1,"async")),2&yt&&n.Y8G("ngIf",n.bMT(1,1,Yt.menu$))},dependencies:[y.bT,R,se,y.Jj],encapsulation:2})}return ue})()},9661:(_t,ge,f)=>{"use strict";f.d(ge,{k:()=>g});var n=f(177),r=f(4710),y=f(3887),F=f(4438);let g=(()=>{class A{static#e=this.\u0275fac=function(V){return new(V||A)};static#t=this.\u0275mod=F.$C({type:A});static#n=this.\u0275inj=F.G2t({imports:[n.MD,y.G,r.iI]})}return A})()},3688:(_t,ge,f)=>{"use strict";f.d(ge,{l:()=>Me});var n=f(4438),r=f(8295),y=f(177),F=f(6100),g=f(4412);let A=(()=>{class ne{constructor(){this._isSubMenuVisible=new g.t(!1),this.isSubMenuVisible$=this._isSubMenuVisible.asObservable()}toggleSubMenuVisibility(oe){this._isSubMenuVisible.next(oe)}static#e=this.\u0275fac=function(Te){return new(Te||ne)};static#t=this.\u0275prov=n.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})();var M=f(4710),B=f(4464),V=f(4824),T=f(9417),N=f(1544),U=f(3060);function b(ne,Je){if(1&ne){const oe=n.RV6();n.qex(0),n.j41(1,"form",1),n.bIt("submit",function(ht){n.eBV(oe);const $t=n.XpG();return n.Njj($t.goSearch(ht))}),n.j41(2,"div",2)(3,"label",3),n.EFF(4),n.k0s(),n.nrm(5,"input",4),n.j41(6,"button",5)(7,"span",3),n.EFF(8),n.k0s()()()(),n.bVm()}if(2&ne){const oe=Je.$implicit,Te=n.XpG();n.R7$(),n.Y8G("ngClass",Te.isMobileMenu?"mb-6":""),n.R7$(3),n.JRh(oe("fegeneral/header/search/screenreader")),n.R7$(),n.FS9("placeholder",oe("fegeneral/header/search/placeholder")),n.Y8G("formControl",Te.searchTerm)("ngClass",Te.isMobileMenu?"bg-white":"bg-transparent"),n.R7$(3),n.JRh(oe("fegeneral/buttons/search"))}}let G=(()=>{class ne{constructor(oe,Te){this.router=oe,this.localizeRouterService=Te,this.searchTerm=new T.hs}goSearch(oe){this.router.navigate([this.localizeRouterService.translateRoute("/otsing")],{queryParams:{q:this.searchTerm.value}}),this.searchTerm.reset(),oe.preventDefault()}static#e=this.\u0275fac=function(Te){return new(Te||ne)(n.rXU(M.Ix),n.rXU(N.QG))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-header-search"]],inputs:{isMobileMenu:"isMobileMenu"},decls:1,vars:0,consts:[[4,"transloco"],["method","get",3,"submit","ngClass"],[1,"relative","flex","h-10","w-full","justify-center","justify-self-center"],[1,"sr-only"],["type","text","name","q",1,"size-full","rounded-md","border","border-grey-700","pr-11","font-normal","outline-none","placeholder:text-placeholder","focus:border-blue-shaded","focus:ring-1","focus:ring-blue-shaded",3,"placeholder","formControl","ngClass"],[1,"header-search-button","absolute","end-3"]],template:function(Te,ht){1&Te&&n.DNE(0,b,9,6,"ng-container",0)},dependencies:[y.YU,T.qT,T.me,T.BC,T.cb,T.cV,T.l_,U.bA],encapsulation:2})}return ne})();var R=f(5312),ce=f(7376),J=f(4312),Se=f(7116),Ne=f(4099),ot=f(2427);let dt=(()=>{class ne{constructor(oe,Te,ht){this.router=oe,this.translateService=Te,this.localizeRouterService=ht,this.isMobileMenu=!1}get backLink(){return this.isSelfServiceUrl?this.localizeRouterService.translateRoute("/"):R.c.selfServiceURL+"/"+Ne.FrontEndToSelfServiceLanguageMap[this.translateService.getActiveLang()]}get title(){return this.translateService.translate(this.isSelfServiceUrl?"fegeneral/header/backlink/selfservice":"fegeneral/header/backlink/portal")}get isSelfServiceUrl(){return this.router.url.includes(R.c.selfServiceURLPath)}static#e=this.\u0275fac=function(Te){return new(Te||ne)(n.rXU(M.Ix),n.rXU(U.JO),n.rXU(N.QG))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-menu-header-backlink"]],inputs:{isMobileMenu:"isMobileMenu"},decls:4,vars:3,consts:[[1,"flex","items-center","gap-xs","py-3px","text-sm","text-grey-900","hover:text-primary","focus-visible:rounded-md","focus-visible:outline-none","focus-visible:ring-2","focus-visible:ring-primary","active:text-primary-active",3,"href","ngClass"],["icon","chevron-left"],[1,"font-bold"]],template:function(Te,ht){1&Te&&(n.j41(0,"a",0),n.nrm(1,"ui-icon",1),n.j41(2,"span",2),n.EFF(3),n.k0s()()),2&Te&&(n.Y8G("href",ht.backLink,n.B4B)("ngClass",ht.isMobileMenu?"mt-2 mb-6":""),n.R7$(3),n.JRh(ht.title))},dependencies:[y.YU,ot.R],encapsulation:2})}return ne})();const He=["navElement"],Ge=["subMenu"],se=["overlay"],Ae=ne=>({"z-[70]":ne});function we(ne,Je){if(1&ne){const oe=n.RV6();n.j41(0,"li",14),n.bIt("click",function(ht){const $t=n.eBV(oe).$implicit,Kn=n.XpG(3);return n.Njj(Kn.toggleMenu($t,ht))}),n.j41(1,"a",15),n.EFF(2),n.k0s()()}if(2&ne){const oe=Je.$implicit,Te=n.XpG(3);n.Y8G("ngClass",Te.getListItemClass(oe)),n.R7$(),n.Y8G("href",Te.getMenuItemUri(oe.uri),n.B4B),n.R7$(),n.SpI(" ",oe.name," ")}}function ue(ne,Je){if(1&ne&&(n.j41(0,"nav",8,0)(2,"div",9),n.nrm(3,"tk-menu-header-backlink",10),n.k0s(),n.j41(4,"ul",11),n.DNE(5,we,3,3,"li",12),n.k0s(),n.nrm(6,"div",13),n.k0s()),2&ne){const oe=Je.ngIf;n.R7$(5),n.Y8G("ngForOf",oe)}}function Oe(ne,Je){if(1&ne&&(n.j41(0,"div",24)(1,"a",25),n.EFF(2),n.k0s()()),2&ne){const oe=Je.$implicit,Te=n.XpG(5);n.Y8G("ngClass",Te.getClass(oe)),n.R7$(),n.Y8G("href",Te.getMenuItemUri(oe.uri),n.B4B),n.R7$(),n.SpI(" ",oe.name," ")}}function Ye(ne,Je){if(1&ne&&(n.qex(0),n.j41(1,"div",21)(2,"a",22),n.EFF(3),n.k0s()(),n.DNE(4,Oe,3,3,"div",23),n.bVm()),2&ne){const oe=Je.$implicit,Te=n.XpG(4);n.R7$(),n.Y8G("ngClass",Te.getClass(oe)),n.R7$(),n.Y8G("href",Te.getMenuItemUri(oe.uri),n.B4B),n.R7$(),n.SpI(" ",oe.name," "),n.R7$(),n.Y8G("ngForOf",oe.children)}}function yt(ne,Je){if(1&ne&&(n.qex(0),n.j41(1,"div",20),n.DNE(2,Ye,5,4,"ng-container",19),n.k0s(),n.bVm()),2&ne){const oe=Je.$implicit;n.R7$(2),n.Y8G("ngForOf",oe)}}function Yt(ne,Je){if(1&ne&&(n.j41(0,"div",16,1)(2,"div",17)(3,"div",18),n.DNE(4,yt,3,1,"ng-container",19),n.k0s()()()),2&ne){const oe=n.XpG(2);n.R7$(4),n.Y8G("ngForOf",oe.subMenuItems)}}function Vt(ne,Je){1&ne&&n.nrm(0,"div",26,2)}function qt(ne,Je){if(1&ne&&(n.qex(0),n.j41(1,"div",4),n.DNE(2,ue,7,1,"nav",5),n.nI1(3,"async"),n.k0s(),n.DNE(4,Yt,5,1,"div",6)(5,Vt,2,0,"div",7),n.bVm()),2&ne){const oe=n.XpG();n.R7$(),n.Y8G("ngClass",n.eq3(6,Ae,oe.isSubMenuOpen)),n.R7$(),n.Y8G("ngIf",n.bMT(3,4,oe.menu$)),n.R7$(2),n.Y8G("ngIf",oe.selectedMenuItem),n.R7$(),n.Y8G("ngIf",oe.selectedMenuItem)}}let jt=(()=>{class ne{constructor(oe,Te,ht,$t,Kn,Qn,ni){this.userService=oe,this.router=Te,this.menuService=ht,this.localizeRouterService=$t,this.renderer=Kn,this.desktopSelfServiceMenuService=Qn,this.screenSizeService=ni,this.menu$=this.menuService.getSelfServiceMenu(),this.isSmallScreen$=this.screenSizeService.smallerThanDesktop(),this.subMenuItems=[],this.isSubMenuOpen=!1}ngOnInit(){this.documentClickListener=this.renderer.listen("document","click",oe=>{this.selectedMenuItem&&this.onDocumentClick(oe)}),this.desktopSelfServiceMenuService.isSubMenuVisible$.subscribe(oe=>{this.isSubMenuOpen=oe}),this.isSmallScreen$.subscribe(()=>{this.closeSubMenu()})}onDocumentClick(oe){const Te=oe.target;this.subMenuElement.nativeElement.contains(Te)||this.navElement.nativeElement.contains(Te)||this.closeSubMenu()}getMenuItemUri(oe){return R.c.baseURL+oe}toggleMenu(oe,Te){if(Te.preventDefault(),oe.children&&0==oe.children.length)return this.setSelectedMenuItem(void 0),void(window.location.href=this.getMenuItemUri(oe.uri));this.selectedMenuItem&&this.selectedMenuItem.name===oe.name?this.closeSubMenu():(this.setSelectedMenuItem(oe),this.openSubMenu())}openSubMenu(){this.subMenuItems=this.getSubMenuItems(),setTimeout(()=>{this.subMenuElement&&this.subMenuElement.nativeElement.focus()},0)}getSubMenuItems(){const Te=[];let ht=[];return this.selectedMenuItem.children.filter($t=>null!=$t).forEach($t=>{$t.children&&$t.children.length>0?(ht.length>0&&(Te.push(ht),ht=[]),Te.push([$t])):$t.isCutOffPoint?(Te.push(ht),ht=[$t]):ht.push($t)}),ht.length>0&&Te.push(ht),Te}getClass(oe){return oe&&this.router.url.startsWith(this.localizeRouterService.translateRoute(oe.uri))?"active-menuitem":""}getListItemClass(oe){return(0,ce.compact)([this.selectedMenuItem===oe?"menu-opened":"",oe&&this.localizeRouterService.translateRoute(oe.uri)===this.router.url?"in-active-trail":""]).join(" ")}closeSubMenu(){this.setSelectedMenuItem(void 0)}setSelectedMenuItem(oe){this.selectedMenuItem=oe,this.desktopSelfServiceMenuService.toggleSubMenuVisibility(void 0!==oe)}ngOnDestroy(){this.documentClickListener&&this.documentClickListener()}static#e=this.\u0275fac=function(Te){return new(Te||ne)(n.rXU(J.D),n.rXU(M.Ix),n.rXU(Se.$),n.rXU(N.QG),n.rXU(n.sFG),n.rXU(A),n.rXU(r.D))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-desktop-self-service-menu"]],viewQuery:function(Te,ht){if(1&Te&&(n.GBs(He,5),n.GBs(Ge,5),n.GBs(se,5)),2&Te){let $t;n.mGM($t=n.lsd())&&(ht.navElement=$t.first),n.mGM($t=n.lsd())&&(ht.subMenuElement=$t.first),n.mGM($t=n.lsd())&&(ht.overlayElement=$t.first)}},decls:2,vars:3,consts:[["navElement",""],["subMenu",""],["overlay",""],[4,"ngIf"],[1,"relative","flex","items-center","border-b","border-grey-300","bg-white",3,"ngClass"],["id","selfServiceMenu","class","relative m-auto hidden w-full max-w-desktop items-center justify-center desktop:flex",4,"ngIf"],["class","absolute left-0 z-[60] w-full bg-menu p-6 outline-none","tabindex","-1",4,"ngIf"],["class","modal-overlay",4,"ngIf"],["id","selfServiceMenu",1,"relative","m-auto","hidden","w-full","max-w-desktop","items-center","justify-center","desktop:flex"],[1,"w-52"],[1,"flex","flex-none"],[1,"mx-auto","flex","grow","items-center","justify-center","space-x-2","xl:space-x-4"],["class","top-menu-item-container",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"flex","w-52","flex-none"],[1,"top-menu-item-container",3,"click","ngClass"],[1,"menuitem-1",3,"href"],["tabindex","-1",1,"absolute","left-0","z-[60]","w-full","bg-menu","p-6","outline-none"],[1,"flex","justify-center"],[1,"flex","flex-wrap","gap-x-8"],[4,"ngFor","ngForOf"],[1,"min-w-[13.125rem]","max-w-[17.5rem]","flex-1","space-y-2","text-left"],[1,"menuitem-container","w-[17.5rem]",3,"ngClass"],[1,"menuitem-2",3,"href"],["class","menuitem-container",3,"ngClass",4,"ngFor","ngForOf"],[1,"menuitem-container",3,"ngClass"],[1,"menuitem-3",3,"href"],[1,"modal-overlay"]],template:function(Te,ht){1&Te&&(n.DNE(0,qt,6,8,"ng-container",3),n.nI1(1,"async")),2&Te&&n.Y8G("ngIf",n.bMT(1,1,ht.userService.user$))},dependencies:[y.YU,y.Sq,y.bT,dt,y.Jj],styles:['.top-menu-item-container[_ngcontent-%COMP%]{position:relative;display:flex;min-height:3.625rem;align-items:center;padding:.25rem .75rem}.top-menu-item-container[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(204 61 0 / var(--tw-text-opacity));text-decoration-line:underline}.top-menu-item-container[_ngcontent-%COMP%]:active a[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(140 36 1 / var(--tw-text-opacity))}.top-menu-item-container[_ngcontent-%COMP%]:has(:focus-visible){z-index:70;border-radius:.25rem;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(0 90 163 / var(--tw-ring-opacity))}.in-active-trail[_ngcontent-%COMP%]:has(a:focus-visible):after{bottom:0}.in-active-trail[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-1px;left:0;height:.25rem;width:100%;--tw-bg-opacity: 1;background-color:rgb(245 89 0 / var(--tw-bg-opacity))}.in-active-trail[_ngcontent-%COMP%]:has(a:focus-visible):after{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.menu-opened[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 233 222 / var(--tw-bg-opacity))}.menu-opened[_ngcontent-%COMP%]:before{content:"";position:absolute;bottom:-.375rem;left:0;height:.375rem;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 233 222 / var(--tw-bg-opacity))}.menu-opened[_ngcontent-%COMP%]:has(a:focus-visible):before{visibility:hidden}.menuitem-1[_ngcontent-%COMP%]{text-align:center;font-weight:500;--tw-text-opacity: 1;color:rgb(40 51 56 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.menuitem-2[_ngcontent-%COMP%]{position:relative;display:block;width:-moz-fit-content;width:fit-content;padding-top:.25rem;padding-bottom:.25rem;font-weight:700;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.menuitem-3[_ngcontent-%COMP%]{position:relative;display:block;width:-moz-fit-content;width:fit-content;padding-top:.25rem;padding-bottom:.25rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.menuitem-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding-left:.313rem}']})}return ne})();var Ot=f(9924),nt=f(6553),ut=f(7097),tt=f(467),rt=f(3207),Ft=f(2510);function Le(ne,Je){if(1&ne){const oe=n.RV6();n.qex(0),n.j41(1,"button",1),n.bIt("click",function(){n.eBV(oe);const ht=n.XpG();return n.Njj(ht.logout())}),n.EFF(2),n.k0s(),n.bVm()}if(2&ne){const oe=Je.$implicit;n.R7$(2),n.SpI(" ",oe("fegeneral/buttons/logout")," ")}}let pe=(()=>{class ne{get logoutUrl(){return R.c.selfServiceURL+"/user/logout"}logout(){window.location=this.logoutUrl}static#e=this.\u0275fac=function(Te){return new(Te||ne)};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-logout-btn"]],inputs:{logoutText:"logoutText"},decls:1,vars:0,consts:[[4,"transloco"],["ui-button","","variant","negative",3,"click"]],template:function(Te,ht){1&Te&&n.DNE(0,Le,3,1,"ng-container",0)},dependencies:[U.bA,nt.Q],encapsulation:2})}return ne})();function Pe(ne,Je){1&ne&&(n.j41(0,"div",3)(1,"div",4),n.nrm(2,"div")(3,"div")(4,"div")(5,"div"),n.k0s()())}function et(ne,Je){if(1&ne){const oe=n.RV6();n.j41(0,"div")(1,"label",11)(2,"input",12),n.mxI("ngModelChange",function(ht){n.eBV(oe);const $t=n.XpG(5);return n.DH7($t.selectedRole,ht)||($t.selectedRole=ht),n.Njj(ht)}),n.k0s(),n.j41(3,"span",13),n.EFF(4),n.k0s()()()}if(2&ne){const oe=Je.$implicit,Te=n.XpG(5);n.R7$(2),n.R50("ngModel",Te.selectedRole),n.Y8G("value",Te.makeRoleId(oe)),n.R7$(2),n.JRh(null==oe?null:oe.name)}}function Pt(ne,Je){if(1&ne&&(n.j41(0,"fieldset",21)(1,"legend"),n.EFF(2),n.k0s(),n.DNE(3,et,5,3,"div",22),n.k0s()),2&ne){const oe=n.XpG(3).$implicit,Te=n.XpG();n.R7$(2),n.SpI(" ",oe("fegeneral/header/roleSwitcher/myRepresentatives")," "),n.R7$(),n.Y8G("ngForOf",Te.roleSelectorRoles.personRepresentativeRoles)}}function Fn(ne,Je){if(1&ne){const oe=n.RV6();n.j41(0,"div")(1,"label",11)(2,"input",24),n.mxI("ngModelChange",function(ht){n.eBV(oe);const $t=n.XpG(6);return n.DH7($t.selectedRole,ht)||($t.selectedRole=ht),n.Njj(ht)}),n.k0s(),n.j41(3,"span",13),n.EFF(4),n.k0s()()()}if(2&ne){const oe=Je.$implicit,Te=n.XpG(6);n.R7$(2),n.Y8G("value",Te.makeRoleId(oe)),n.R50("ngModel",Te.selectedRole),n.R7$(2),n.JRh(null==oe?null:oe.name)}}function ei(ne,Je){if(1&ne&&(n.qex(0),n.DNE(1,Fn,5,3,"div",22),n.bVm()),2&ne){const oe=n.XpG(5);n.R7$(),n.Y8G("ngForOf",oe.roleSelectorRoles.companyRoles)}}function gn(ne,Je){if(1&ne){const oe=n.RV6();n.qex(0),n.j41(1,"ng-select",25),n.mxI("ngModelChange",function(ht){n.eBV(oe);const $t=n.XpG(5);return n.DH7($t.selectedRole,ht)||($t.selectedRole=ht),n.Njj(ht)}),n.k0s(),n.bVm()}if(2&ne){const oe=n.XpG(5);n.R7$(),n.Y8G("items",oe.companySelectOptions)("clearable",!1),n.R50("ngModel",oe.selectedRole)}}function pi(ne,Je){if(1&ne&&(n.j41(0,"fieldset",23)(1,"legend"),n.EFF(2),n.k0s(),n.DNE(3,ei,2,1,"ng-container",2)(4,gn,2,3,"ng-container",2),n.k0s()),2&ne){const oe=n.XpG(3).$implicit,Te=n.XpG();n.R7$(2),n.SpI(" ",oe("fegeneral/header/roleSwitcher/myCompanies")," "),n.R7$(),n.Y8G("ngIf",(null==Te.roleSelectorRoles||null==Te.roleSelectorRoles.companyRoles?null:Te.roleSelectorRoles.companyRoles.length)<10),n.R7$(),n.Y8G("ngIf",(null==Te.roleSelectorRoles||null==Te.roleSelectorRoles.companyRoles?null:Te.roleSelectorRoles.companyRoles.length)>=10)}}function hi(ne,Je){if(1&ne){const oe=n.RV6();n.qex(0),n.j41(1,"fieldset",10)(2,"legend"),n.EFF(3),n.k0s(),n.qex(4),n.j41(5,"label",11)(6,"input",12),n.mxI("ngModelChange",function(ht){n.eBV(oe);const $t=n.XpG(3);return n.DH7($t.selectedRole,ht)||($t.selectedRole=ht),n.Njj(ht)}),n.k0s(),n.j41(7,"span",13),n.EFF(8),n.k0s()(),n.bVm(),n.k0s(),n.DNE(9,Pt,4,2,"fieldset",14)(10,pi,5,3,"fieldset",15),n.qex(11),n.j41(12,"label",16)(13,"input",17),n.mxI("ngModelChange",function(ht){n.eBV(oe);const $t=n.XpG(3);return n.DH7($t.rememberRoleSelection,ht)||($t.rememberRoleSelection=ht),n.Njj(ht)}),n.k0s(),n.j41(14,"span",13),n.EFF(15),n.k0s()(),n.bVm(),n.j41(16,"div",18)(17,"button",19),n.bIt("click",function(){n.eBV(oe);const ht=n.XpG(3);return n.Njj(ht.changeRole())}),n.EFF(18),n.k0s(),n.j41(19,"button",20),n.bIt("click",function(ht){n.eBV(oe);const $t=n.XpG(3);return n.Njj($t.toggle.emit(ht))}),n.EFF(20),n.k0s()(),n.bVm()}if(2&ne){const oe=n.XpG(2).$implicit,Te=n.XpG();n.R7$(3),n.SpI(" ",oe("fegeneral/header/roleSwitcher/myself")," "),n.R7$(3),n.R50("ngModel",Te.selectedRole),n.Y8G("value",Te.makeRoleId(Te.roleSelectorRoles.personRole)),n.R7$(2),n.JRh(null==Te.roleSelectorRoles.personRole?null:Te.roleSelectorRoles.personRole.name),n.R7$(),n.Y8G("ngIf",null==Te.roleSelectorRoles||null==Te.roleSelectorRoles.personRepresentativeRoles?null:Te.roleSelectorRoles.personRepresentativeRoles.length),n.R7$(),n.Y8G("ngIf",null==Te.roleSelectorRoles||null==Te.roleSelectorRoles.companyRoles?null:Te.roleSelectorRoles.companyRoles.length),n.R7$(3),n.R50("ngModel",Te.rememberRoleSelection),n.R7$(2),n.JRh(oe("fegeneral/header/roleSwitcher/rememberMe")),n.R7$(3),n.SpI(" ",oe("fegeneral/header/roleSwitcher/button/choose")," "),n.R7$(2),n.SpI(" ",oe("fegeneral/header/roleSwitcher/button/cancel")," ")}}function xi(ne,Je){if(1&ne&&(n.j41(0,"div")(1,"div",5)(2,"span",6)(3,"span",7),n.EFF(4),n.k0s(),n.j41(5,"span",8),n.EFF(6),n.k0s()(),n.nrm(7,"tk-logout-btn",9),n.k0s(),n.DNE(8,hi,21,10,"ng-container",2),n.k0s()),2&ne){const oe=n.XpG(2);n.R7$(4),n.SpI(" ",null==oe.user.role?null:oe.user.role.name," "),n.R7$(2),n.SpI("(",oe.getCurrentRoleId(),")"),n.R7$(2),n.Y8G("ngIf",oe.hasRoles())}}function ti(ne,Je){if(1&ne&&(n.qex(0),n.DNE(1,Pe,6,0,"div",1)(2,xi,9,3,"div",2),n.bVm()),2&ne){const oe=n.XpG();n.R7$(),n.Y8G("ngIf",oe.loadingRoles),n.R7$(),n.Y8G("ngIf",!oe.loadingRoles&&oe.roleSelectorRoles&&oe.user)}}let ki=(()=>{class ne{constructor(){this.userService=(0,n.WQX)(J.D),this.translateService=(0,n.WQX)(U.JO),this.toggle=new n.bkB,this.loadingRoles=!1,this.companySelectOptions=[],this.selfServiceURL=R.c.selfServiceURL,this.currentRoleId="",this.rememberRoleSelection=!1}ngOnInit(){var oe=this;return(0,tt.A)(function*(){oe.userService.user$.subscribe(Te=>oe.user=Te),yield oe.initializeRoleSelector()})()}getCurrentRoleId(){switch(this.user.role?.type){case"COMPANY":return this.user.role?.regcode;case"PERSON_REPRESENTATIVE":return this.user.role?.representeeIdcode;default:return this.user.idcode}}initializeRoleSelector(){var oe=this;return(0,tt.A)(function*(){if(oe.loadingRoles=!0,oe.roleSelectorRoles=yield(0,rt.s)(oe.userService.getUserRoles()),null===oe.roleSelectorRoles)return oe.loadingRoles=!1,void(oe.user=void 0);oe.companySelectOptions=oe.makeSelectOptions(oe.roleSelectorRoles?.companyRoles),oe.selectedRole=oe.makeRoleId(oe.user?.role),oe.currentRoleId=oe.getCurrentRoleId(),oe.loadingRoles=!1})()}changeRole(){const oe=Ne.FrontEndToSelfServiceLanguageMap[this.translateService.getActiveLang()];window.location.href=R.c.selfServiceURL+"/"+oe+"/asutus/volitused/sisene/"+this.selectedRole+"?rememberSelection="+(this.rememberRoleSelection?1:0)}makeRoleId(oe){return oe?oe.id+"|"+oe.type.toLowerCase():""}makeSelectOptions(oe){return oe?oe.filter(Te=>!!Te).map(Te=>({...Te,id:this.makeRoleId(Te),name:Te.name})):[]}hasRoles(){return(this.roleSelectorRoles?.companyRoles?.length??0)>0||(this.roleSelectorRoles?.personRepresentativeRoles?.length??0)>0}static#e=this.\u0275fac=function(Te){return new(Te||ne)};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-role-selector"]],inputs:{userMenuOpen:"userMenuOpen"},outputs:{toggle:"toggle"},decls:1,vars:0,consts:[[4,"transloco"],["class","flex h-20 w-80 justify-center",4,"ngIf"],[4,"ngIf"],[1,"flex","h-20","w-80","justify-center"],[1,"lds-ring","self-center"],[1,"flex","flex-row","justify-between"],[1,"flex","flex-1","flex-col","items-start","gap-y-1","pr-4"],[1,"body-lg-bold","break-words","tracking-[-0.01125rem]","text-black"],[1,"text-sm","text-black"],[1,"whitespace-nowrap","pt-1"],[1,"my-4","space-y-1"],[1,"radio-label"],["type","radio",3,"ngModelChange","ngModel","value"],[1,"ml-2"],["class","mb-4 space-y-1",4,"ngIf"],["class","mb-4",4,"ngIf"],[1,"mb-4","inline-flex","w-full","items-start"],["type","checkbox",1,"form-checkbox","mt-1","rounded-sm","border-grey-700","checked:bg-blue","hover:checked:bg-blue-shaded",3,"ngModelChange","ngModel"],[1,"flex","flex-row","space-x-4"],["ui-button","","size","sm",3,"click"],["ui-button","","size","sm","variant","negative",3,"click"],[1,"mb-4","space-y-1"],[4,"ngFor","ngForOf"],[1,"mb-4"],["name","selectedRole","type","radio",3,"ngModelChange","value","ngModel"],["bindValue","id","bindLabel","name",1,"roleSelect",3,"ngModelChange","items","clearable","ngModel"]],template:function(Te,ht){1&Te&&n.DNE(0,ti,3,2,"ng-container",0)},dependencies:[y.Sq,y.bT,T.me,T.Zm,T.Fm,T.BC,T.vS,Ft.vr,pe,U.bA,nt.Q],styles:['h1[_ngcontent-%COMP%]{margin-bottom:1.5rem;font-family:Nunito Sans,sans-serif;font-size:1.75rem;font-weight:700;line-height:2.1875rem}@media (min-width: 768px){h1[_ngcontent-%COMP%]{font-size:3rem;line-height:3.75rem}}h2[_ngcontent-%COMP%]{margin-bottom:1rem;font-family:Nunito Sans,sans-serif;font-size:1.5rem;font-weight:800;line-height:1.875rem}@media (min-width: 768px){h2[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.8125rem}}h3[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.25rem;font-weight:700;line-height:1.5625rem}@media (min-width: 768px){h3[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.875rem}}h4[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.125rem;font-weight:700;line-height:1.40625rem}h5[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1rem;font-weight:700;line-height:1.25rem}p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.body-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.body-xs-medium[_ngcontent-%COMP%]{font-weight:500;font-size:.75rem;line-height:1rem}.body-xs-medium[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:.875rem;width:.875rem}.body-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.body-sm-bold[_ngcontent-%COMP%]{font-weight:700;font-size:.875rem;line-height:1.25rem}.mobile-body-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 768px){.mobile-body-sm[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}}.body-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.body-lg-bold[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.75rem}a[_ngcontent-%COMP%]{text-decoration-line:underline}a[_ngcontent-%COMP%]:hover{text-decoration-line:none}a[_ngcontent-%COMP%]:focus{border-radius:3px;padding-left:.125rem;padding-right:.125rem;padding-top:3px;padding-bottom:3px;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(0 90 163 / var(--tw-ring-opacity))}a[_ngcontent-%COMP%]:active{font-weight:700}.panel-heading-small[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:700;line-height:1.4rem}@media (min-width: 768px){.panel-heading-small[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.875rem}}.panel-heading-medium[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;line-height:1.875rem}.modal-heading[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:1.5rem;font-weight:800;line-height:1.875rem}@media (min-width: 768px){.modal-heading[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.813rem}}a[target=_blank][_ngcontent-%COMP%]{display:inline-flex;align-items:center;--tw-text-opacity: 1;color:rgb(204 61 0 / var(--tw-text-opacity))}a[target=_blank][_ngcontent-%COMP%]:after{content:"";mask:url(ico_ext_link.d4f887425672e9de.svg);-webkit-mask-size:contain;mask-size:contain;background-color:currentColor;margin-left:.25rem;--tw-translate-y: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.body-xs[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:.875rem;width:.875rem}.mobile-body-sm[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:1rem;width:1rem}@media (min-width: 768px){.mobile-body-sm[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:1.25rem;width:1.25rem}}legend[_ngcontent-%COMP%]{font-weight:500;--tw-text-opacity: 1;color:rgb(40 51 56 / var(--tw-text-opacity))}.radio-label[_ngcontent-%COMP%]{display:inline-flex;align-items:center}input[type=radio][_ngcontent-%COMP%]{border-radius:9999px;--tw-border-opacity: 1;border-color:rgb(97 114 125 / var(--tw-border-opacity))}input[type=radio][_ngcontent-%COMP%]:checked{--tw-bg-opacity: 1;background-color:rgb(0 90 163 / var(--tw-bg-opacity))}input[type=radio][_ngcontent-%COMP%]:checked:hover{--tw-bg-opacity: 1;background-color:rgb(0 70 128 / var(--tw-bg-opacity))}']})}return ne})();const Zi=["host"];function mn(ne,Je){if(1&ne){const oe=n.RV6();n.j41(0,"div",8)(1,"tk-role-selector",9),n.bIt("toggle",function(ht){n.eBV(oe);const $t=n.XpG(2);return n.Njj($t.onUserButtonClick(ht))}),n.EFF(2,">"),n.k0s()()}}function an(ne,Je){if(1&ne){const oe=n.RV6();n.j41(0,"div",3,1)(2,"button",4),n.bIt("click",function(ht){n.eBV(oe);const $t=n.XpG();return n.Njj($t.onUserButtonClick(ht))}),n.j41(3,"span",5),n.EFF(4),n.k0s(),n.nrm(5,"ui-icon",6),n.k0s(),n.DNE(6,mn,3,0,"div",7),n.k0s()}if(2&ne){let oe;const Te=n.XpG();n.R7$(4),n.JRh(null!==(oe=null==Te.user.role?null:Te.user.role.name)&&void 0!==oe?oe:""),n.R7$(),n.Y8G("icon",Te.roleSelectorOpen?"chevron-up":"chevron-down"),n.R7$(),n.Y8G("ngIf",Te.roleSelectorOpen)}}function me(ne,Je){1&ne&&n.nrm(0,"tk-login-btn")}function Ue(ne,Je){if(1&ne&&n.DNE(0,me,1,0,"tk-login-btn",10),2&ne){const oe=n.XpG();n.Y8G("ngIf",null===oe.user)}}let st=(()=>{class ne{constructor(oe){this.userService=oe,this.returnOnLogin=!1,this.selfServiceURL=R.c.selfServiceURL,this.roleSelectorOpen=!1}ngOnInit(){this.userService.user$.subscribe(oe=>this.user=oe)}onUserButtonClick(oe){oe.preventDefault(),this.roleSelectorOpen=!this.roleSelectorOpen}onMouseDown(oe){this.hostRef?.nativeElement.contains(oe.target)||(this.roleSelectorOpen=!1)}static#e=this.\u0275fac=function(Te){return new(Te||ne)(n.rXU(J.D))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-user-button"]],viewQuery:function(Te,ht){if(1&Te&&n.GBs(Zi,5),2&Te){let $t;n.mGM($t=n.lsd())&&(ht.hostRef=$t.first)}},hostBindings:function(Te,ht){1&Te&&n.bIt("mousedown",function(Kn){return ht.onMouseDown(Kn)},!1,n.tSv)},inputs:{returnOnLogin:"returnOnLogin"},decls:3,vars:2,consts:[["noUser",""],["host",""],["class","relative",4,"ngIf","ngIfElse"],[1,"relative"],["ui-button","","variant","secondary","size","lg",1,"max-w-60",3,"click"],[1,"truncate"],["iconPositionEnd","",3,"icon"],["class","absolute right-0 top-14 z-[60] w-[20.938rem] space-y-4 rounded-md border border-grey-300 bg-white p-4 shadow before:absolute before:-top-3 before:right-4 before:inline-block before:h-4 before:w-5 before:bg-roleswitcher_arrow before:bg-no-repeat before:content-['']",4,"ngIf"],[1,"absolute","right-0","top-14","z-[60]","w-[20.938rem]","space-y-4","rounded-md","border","border-grey-300","bg-white","p-4","shadow","before:absolute","before:-top-3","before:right-4","before:inline-block","before:h-4","before:w-5","before:bg-roleswitcher_arrow","before:bg-no-repeat","before:content-['']"],[3,"toggle"],[4,"ngIf"]],template:function(Te,ht){if(1&Te&&n.DNE(0,an,7,3,"div",2)(1,Ue,1,1,"ng-template",null,0,n.C5r),2&Te){const $t=n.sdS(2);n.Y8G("ngIf",ht.user)("ngIfElse",$t)}},dependencies:[y.bT,Ot.N,nt.Q,ut.p,ot.R,ki],encapsulation:2})}return ne})();const zt=ne=>({"z-50":ne});function Lt(ne,Je){if(1&ne&&(n.j41(0,"a",9),n.EFF(1),n.k0s()),2&ne){const oe=n.XpG();n.Y8G("routerLink",null==oe.accessibilityPage.url?null:oe.accessibilityPage.url.path),n.R7$(),n.SpI(" ",oe.accessibilityPage.title," ")}}let fn=(()=>{class ne{constructor(oe,Te){this.appService=oe,this.desktopSelfServiceMenuService=Te,this.isSubMenuOpen=!1}ngOnInit(){this.appService.globalSettings$.subscribe(oe=>{oe.accessibilityPage?.url?.path&&(this.accessibilityPage=oe.accessibilityPage)}),this.desktopSelfServiceMenuService.isSubMenuVisible$.subscribe(oe=>{this.isSubMenuOpen=oe})}static#e=this.\u0275fac=function(Te){return new(Te||ne)(n.rXU(F.d),n.rXU(A))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-desktop-menu"]],decls:13,vars:5,consts:[[1,"header-lg",3,"ngClass"],[1,"m-auto","flex","max-w-desktop","grow","items-center","justify-between"],[1,"mr-4","flex","w-1/2","grow","items-center","gap-x-8"],[1,"flex","h-11","flex-col","justify-center","justify-self-center"],["class","header-link underline",3,"routerLink",4,"ngIf"],[1,"w-full","max-w-[25rem]"],[3,"isMobileMenu"],[1,"ml-4","flex","w-1/2","grow","items-center","justify-end","gap-x-8","justify-self-end"],[1,"items-middle","flex"],[1,"header-link","underline",3,"routerLink"]],template:function(Te,ht){1&Te&&(n.j41(0,"header",0)(1,"div",1)(2,"div",2),n.nrm(3,"tk-tootukassa-logo"),n.j41(4,"div",3),n.DNE(5,Lt,2,2,"a",4),n.k0s()(),n.j41(6,"div",5),n.nrm(7,"tk-header-search",6),n.k0s(),n.j41(8,"div",7)(9,"div",8),n.nrm(10,"tk-language-switch-links"),n.k0s(),n.nrm(11,"tk-user-button"),n.k0s()()(),n.nrm(12,"tk-desktop-self-service-menu")),2&Te&&(n.Y8G("ngClass",n.eq3(3,zt,ht.isSubMenuOpen)),n.R7$(5),n.Y8G("ngIf",ht.accessibilityPage),n.R7$(2),n.Y8G("isMobileMenu",!1))},dependencies:[y.YU,y.bT,M.Wk,B.h,V.l,G,jt,st],encapsulation:2})}return ne})();var jn=f(5964),Kt=f(52),En=f(5495);function ft(ne,Je){if(1&ne){const oe=n.RV6();n.j41(0,"nav",3)(1,"div",4)(2,"tk-dropdown-menu-item",5),n.bIt("toggle",function(){n.eBV(oe);const ht=n.XpG(3);return n.Njj(ht.toggleMenuOpen())}),n.k0s()()()}if(2&ne){const oe=Je.ngIf,Te=n.XpG(3);n.Y8G("ngClass",Te.isMenuOpen?"pb-md self-service-menu-opened":"py-5"),n.R7$(2),n.Y8G("isOpened",Te.isMenuOpen)("menuItem",Te.getMainMenuItem(oe))}}function Tt(ne,Je){if(1&ne&&(n.qex(0),n.DNE(1,ft,3,3,"nav",2),n.nI1(2,"async"),n.bVm()),2&ne){const oe=n.XpG(2);n.R7$(),n.Y8G("ngIf",n.bMT(2,1,oe.menu$))}}function Qt(ne,Je){if(1&ne&&(n.qex(0),n.DNE(1,Tt,3,3,"ng-container",1),n.nI1(2,"async"),n.bVm()),2&ne){const oe=n.XpG();n.R7$(),n.Y8G("ngIf",n.bMT(2,1,oe.userService.user$))}}let Tn=(()=>{class ne{constructor(oe,Te,ht){this.userService=oe,this.menuService=Te,this.translateService=ht,this.menu$=this.menuService.getSelfServiceMenu(),this.toggle=new n.bkB}getMainMenuItem(oe){return{children:oe,isCutOffPoint:!1,level:0,name:this.translateService.translate("fegeneral/header/mainMenu/selfservice"),uri:R.c.selfServiceURLPath}}toggleMenuOpen(){this.toggle.emit()}static#e=this.\u0275fac=function(Te){return new(Te||ne)(n.rXU(J.D),n.rXU(Se.$),n.rXU(U.JO))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-mobile-self-service-menu"]],inputs:{isMenuOpen:"isMenuOpen"},outputs:{toggle:"toggle"},decls:1,vars:0,consts:[[4,"transloco"],[4,"ngIf"],["class","mobile-self-service-menu mb-8 rounded-md outline-none outline-1 outline-offset-0 outline-grey-300",3,"ngClass",4,"ngIf"],[1,"mobile-self-service-menu","mb-8","rounded-md","outline-none","outline-1","outline-offset-0","outline-grey-300",3,"ngClass"],[1,"mr-3.5","pl-3"],[3,"toggle","isOpened","menuItem"]],template:function(Te,ht){1&Te&&n.DNE(0,Qt,3,3,"ng-container",0)},dependencies:[y.YU,y.bT,U.bA,En.l,y.Jj],encapsulation:2})}return ne})();var Xn=f(6354);function Bn(ne,Je){if(1&ne&&(n.j41(0,"li",4)(1,"a",5),n.nrm(2,"span",6)(3,"ui-icon",7),n.k0s()()),2&ne){const oe=Je.$implicit,Te=n.XpG(2);n.Y8G("ngClass",Te.path===oe.url.path?"active-menuitem":""),n.R7$(),n.Y8G("routerLink",oe.url.path),n.R7$(),n.Y8G("innerHTML",oe.title,n.npT)}}function Ii(ne,Je){if(1&ne&&(n.j41(0,"nav",1)(1,"ul",2),n.DNE(2,Bn,4,3,"li",3),n.k0s()()),2&ne){const oe=Je.ngIf;n.R7$(2),n.Y8G("ngForOf",oe)}}let qn=(()=>{class ne{constructor(oe,Te){this.menuService=oe,this.location=Te,this.menuItems$=this.menuService.getMainMenu().pipe((0,Xn.T)(ht=>ht.items))}get path(){return this.location.path()}static#e=this.\u0275fac=function(Te){return new(Te||ne)(n.rXU(Se.$),n.rXU(y.aZ))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-mobile-main-menu"]],decls:2,vars:3,consts:[["class","ml-3",4,"ngIf"],[1,"ml-3"],[1,"flex","flex-col","gap-sm"],["class","menuitem-container mr-3.5",3,"ngClass",4,"ngFor","ngForOf"],[1,"menuitem-container","mr-3.5",3,"ngClass"],[1,"relative","flex","justify-between","py-1","pl-[0.438rem]","font-bold","text-black","outline-none",3,"routerLink"],[3,"innerHTML"],["icon","chevron-right",1,"self-center","text-accent"]],template:function(Te,ht){1&Te&&(n.DNE(0,Ii,3,1,"nav",0),n.nI1(1,"async")),2&Te&&n.Y8G("ngIf",n.bMT(1,1,ht.menuItems$))},dependencies:[y.YU,y.Sq,y.bT,M.Wk,ot.R,y.Jj],encapsulation:2})}return ne})();var Qi=f(484);function sn(ne,Je){if(1&ne&&(n.j41(0,"nav",1),n.nrm(1,"tk-left-menu-accordion",2),n.k0s()),2&ne){const oe=Je.ngIf;n.R7$(),n.Y8G("menu",oe)("showMenuName",!0)}}let oi=(()=>{class ne{constructor(oe,Te,ht,$t){this.menuService=oe,this.appService=Te,this.router=ht,this.location=$t,this.activeMenu$=this.menuService.activeMenu$}static#e=this.\u0275fac=function(Te){return new(Te||ne)(n.rXU(Se.$),n.rXU(F.d),n.rXU(M.Ix),n.rXU(y.aZ))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-mobile-active-menu"]],decls:2,vars:3,consts:[["class","mb-8",4,"ngIf"],[1,"mb-8"],[3,"menu","showMenuName"]],template:function(Te,ht){1&Te&&(n.DNE(0,sn,2,2,"nav",0),n.nI1(1,"async")),2&Te&&n.Y8G("ngIf",n.bMT(1,1,ht.activeMenu$))},dependencies:[y.bT,Qi.A,y.Jj],encapsulation:2})}return ne})();function Zt(ne,Je){1&ne&&(n.j41(0,"div",4)(1,"div",5),n.nrm(2,"div")(3,"div")(4,"div")(5,"div"),n.k0s()())}function Cn(ne,Je){if(1&ne&&(n.j41(0,"span",8)(1,"span",9),n.EFF(2),n.k0s(),n.j41(3,"span",10),n.EFF(4),n.k0s()()),2&ne){const oe=n.XpG(3);n.R7$(2),n.SpI(" ",null==oe.user.role?null:oe.user.role.name," "),n.R7$(2),n.SpI("(",oe.getCurrentRoleId(),")")}}function Dn(ne,Je){}function Re(ne,Je){if(1&ne){const oe=n.RV6();n.j41(0,"div")(1,"label",16)(2,"input",17),n.mxI("ngModelChange",function(ht){n.eBV(oe);const $t=n.XpG(6);return n.DH7($t.selectedRole,ht)||($t.selectedRole=ht),n.Njj(ht)}),n.k0s(),n.j41(3,"span",18),n.EFF(4),n.k0s()()()}if(2&ne){const oe=Je.$implicit,Te=n.XpG(6);n.R7$(2),n.R50("ngModel",Te.selectedRole),n.Y8G("value",Te.makeRoleId(oe)),n.R7$(2),n.JRh(null==oe?null:oe.name)}}function Be(ne,Je){if(1&ne&&(n.j41(0,"fieldset",25)(1,"legend"),n.EFF(2),n.k0s(),n.DNE(3,Re,5,3,"div",26),n.k0s()),2&ne){const oe=n.XpG(4).$implicit,Te=n.XpG();n.R7$(2),n.SpI(" ",oe("fegeneral/header/roleSwitcher/myRepresentatives")," "),n.R7$(),n.Y8G("ngForOf",Te.roleSelectorRoles.personRepresentativeRoles)}}function ee(ne,Je){if(1&ne){const oe=n.RV6();n.j41(0,"div")(1,"label",16)(2,"input",27),n.mxI("ngModelChange",function(ht){n.eBV(oe);const $t=n.XpG(7);return n.DH7($t.selectedRole,ht)||($t.selectedRole=ht),n.Njj(ht)}),n.k0s(),n.j41(3,"span",18),n.EFF(4),n.k0s()()()}if(2&ne){const oe=Je.$implicit,Te=n.XpG(7);n.R7$(2),n.Y8G("value",Te.makeRoleId(oe)),n.R50("ngModel",Te.selectedRole),n.R7$(2),n.JRh(null==oe?null:oe.name)}}function ye(ne,Je){if(1&ne&&(n.qex(0),n.DNE(1,ee,5,3,"div",26),n.bVm()),2&ne){const oe=n.XpG(6);n.R7$(),n.Y8G("ngForOf",oe.roleSelectorRoles.companyRoles)}}function at(ne,Je){if(1&ne){const oe=n.RV6();n.qex(0),n.j41(1,"ng-select",28),n.mxI("ngModelChange",function(ht){n.eBV(oe);const $t=n.XpG(6);return n.DH7($t.selectedRole,ht)||($t.selectedRole=ht),n.Njj(ht)}),n.k0s(),n.bVm()}if(2&ne){const oe=n.XpG(6);n.R7$(),n.Y8G("items",oe.companySelectOptions)("clearable",!1),n.R50("ngModel",oe.selectedRole)}}function Wt(ne,Je){if(1&ne&&(n.j41(0,"fieldset",25)(1,"legend"),n.EFF(2),n.k0s(),n.DNE(3,ye,2,1,"ng-container",14)(4,at,2,3,"ng-container",14),n.k0s()),2&ne){const oe=n.XpG(4).$implicit,Te=n.XpG();n.R7$(2),n.SpI(" ",oe("fegeneral/header/roleSwitcher/myCompanies")," "),n.R7$(),n.Y8G("ngIf",(null==Te.roleSelectorRoles||null==Te.roleSelectorRoles.companyRoles?null:Te.roleSelectorRoles.companyRoles.length)<10),n.R7$(),n.Y8G("ngIf",(null==Te.roleSelectorRoles||null==Te.roleSelectorRoles.companyRoles?null:Te.roleSelectorRoles.companyRoles.length)>=10)}}function Et(ne,Je){if(1&ne){const oe=n.RV6();n.qex(0),n.j41(1,"fieldset",15)(2,"legend"),n.EFF(3),n.k0s(),n.qex(4),n.j41(5,"label",16)(6,"input",17),n.mxI("ngModelChange",function(ht){n.eBV(oe);const $t=n.XpG(4);return n.DH7($t.selectedRole,ht)||($t.selectedRole=ht),n.Njj(ht)}),n.k0s(),n.j41(7,"span",18),n.EFF(8),n.k0s()(),n.bVm(),n.k0s(),n.DNE(9,Be,4,2,"fieldset",19)(10,Wt,5,3,"fieldset",19),n.qex(11),n.j41(12,"label",20)(13,"input",21),n.mxI("ngModelChange",function(ht){n.eBV(oe);const $t=n.XpG(4);return n.DH7($t.rememberRoleSelection,ht)||($t.rememberRoleSelection=ht),n.Njj(ht)}),n.k0s(),n.j41(14,"span",18),n.EFF(15),n.k0s()(),n.bVm(),n.j41(16,"div",22)(17,"button",23),n.bIt("click",function(){n.eBV(oe);const ht=n.XpG(4);return n.Njj(ht.changeRole())}),n.EFF(18),n.k0s(),n.j41(19,"button",24),n.bIt("click",function(){n.eBV(oe);const ht=n.XpG(4);return n.Njj(ht.toggle.emit())}),n.EFF(20),n.k0s()(),n.bVm()}if(2&ne){const oe=n.XpG(3).$implicit,Te=n.XpG();n.R7$(3),n.SpI(" ",oe("fegeneral/header/roleSwitcher/myself")," "),n.R7$(3),n.R50("ngModel",Te.selectedRole),n.Y8G("value",Te.makeRoleId(Te.roleSelectorRoles.personRole)),n.R7$(2),n.JRh(null==Te.roleSelectorRoles.personRole?null:Te.roleSelectorRoles.personRole.name),n.R7$(),n.Y8G("ngIf",null==Te.roleSelectorRoles||null==Te.roleSelectorRoles.personRepresentativeRoles?null:Te.roleSelectorRoles.personRepresentativeRoles.length),n.R7$(),n.Y8G("ngIf",null==Te.roleSelectorRoles||null==Te.roleSelectorRoles.companyRoles?null:Te.roleSelectorRoles.companyRoles.length),n.R7$(3),n.R50("ngModel",Te.rememberRoleSelection),n.R7$(2),n.JRh(oe("fegeneral/header/roleSwitcher/rememberMe")),n.R7$(3),n.SpI(" ",oe("fegeneral/header/roleSwitcher/button/choose")," "),n.R7$(2),n.SpI(" ",oe("fegeneral/header/roleSwitcher/button/cancel")," ")}}function Dt(ne,Je){if(1&ne){const oe=n.RV6();n.qex(0),n.j41(1,"button",11),n.bIt("click",function(){n.eBV(oe);const ht=n.XpG(3);return n.Njj(ht.toggle.emit())}),n.DNE(2,Dn,0,0,"ng-template",12),n.nrm(3,"ui-icon",13),n.k0s(),n.DNE(4,Et,21,10,"ng-container",14),n.bVm()}if(2&ne){n.XpG();const oe=n.sdS(2),Te=n.XpG(2);n.R7$(2),n.Y8G("ngTemplateOutlet",oe),n.R7$(),n.Y8G("icon",Te.userMenuOpen?"chevron-up":"chevron-down"),n.R7$(),n.Y8G("ngIf",Te.userMenuOpen)}}function Qe(ne,Je){if(1&ne&&(n.j41(0,"div",6),n.DNE(1,Cn,5,2,"ng-template",null,0,n.C5r)(3,Dt,5,3,"ng-container",7),n.k0s()),2&ne){const oe=n.sdS(2),Te=n.XpG(2);n.R7$(3),n.Y8G("ngIf",Te.hasRoles())("ngIfElse",oe)}}function Mt(ne,Je){if(1&ne&&(n.qex(0),n.DNE(1,Zt,6,0,"div",2)(2,Qe,4,2,"div",3),n.bVm()),2&ne){const oe=n.XpG();n.R7$(),n.Y8G("ngIf",oe.loadingRoles),n.R7$(),n.Y8G("ngIf",!oe.loadingRoles&&oe.roleSelectorRoles&&oe.user)}}let wn=(()=>{class ne extends ki{static#e=this.\u0275fac=(()=>{let oe;return function(ht){return(oe||(oe=n.xGo(ne)))(ht||ne)}})();static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-mobile-role-selector"]],features:[n.Vt3],decls:1,vars:0,consts:[["nameBlock",""],[4,"transloco"],["class","flex h-20 justify-center",4,"ngIf"],["class","pt-4",4,"ngIf"],[1,"flex","h-20","justify-center"],[1,"lds-ring","self-center"],[1,"pt-4"],[4,"ngIf","ngIfElse"],[1,"flex","flex-col","items-start","gap-y-1"],[1,"body-lg-bold","text-start","tracking-[-0.01125rem]","text-black"],[1,"text-sm","text-black"],[1,"flex","w-full","justify-between","pr-3","focus-visible:rounded-md","focus-visible:outline-none","focus-visible:ring-2","focus-visible:ring-primary",3,"click"],[3,"ngTemplateOutlet"],[1,"self-center","text-accent",3,"icon"],[4,"ngIf"],[1,"my-4","space-y-1"],[1,"radio-label"],["type","radio",3,"ngModelChange","ngModel","value"],[1,"ml-2"],["class","mb-4 space-y-1",4,"ngIf"],[1,"mb-4","inline-flex","w-full","items-start"],["type","checkbox",1,"form-checkbox","mt-1","rounded-sm","border-grey-700","checked:bg-blue","hover:checked:bg-blue-shaded",3,"ngModelChange","ngModel"],[1,"flex","flex-col","items-center","space-y-4"],["ui-button","",1,"w-full",3,"click"],["ui-button","","variant","negative",1,"w-full",3,"click"],[1,"mb-4","space-y-1"],[4,"ngFor","ngForOf"],["name","selectedRole","type","radio",3,"ngModelChange","value","ngModel"],["bindValue","id","bindLabel","name",1,"roleSelect",3,"ngModelChange","items","clearable","ngModel"]],template:function(Te,ht){1&Te&&n.DNE(0,Mt,3,2,"ng-container",1)},dependencies:[y.Sq,y.bT,y.T3,T.me,T.Zm,T.Fm,T.BC,T.vS,Ft.vr,U.bA,nt.Q,ot.R],styles:['h1[_ngcontent-%COMP%]{margin-bottom:1.5rem;font-family:Nunito Sans,sans-serif;font-size:1.75rem;font-weight:700;line-height:2.1875rem}@media (min-width: 768px){h1[_ngcontent-%COMP%]{font-size:3rem;line-height:3.75rem}}h2[_ngcontent-%COMP%]{margin-bottom:1rem;font-family:Nunito Sans,sans-serif;font-size:1.5rem;font-weight:800;line-height:1.875rem}@media (min-width: 768px){h2[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.8125rem}}h3[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.25rem;font-weight:700;line-height:1.5625rem}@media (min-width: 768px){h3[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.875rem}}h4[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.125rem;font-weight:700;line-height:1.40625rem}h5[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1rem;font-weight:700;line-height:1.25rem}p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.body-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.body-xs-medium[_ngcontent-%COMP%]{font-weight:500;font-size:.75rem;line-height:1rem}.body-xs-medium[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:.875rem;width:.875rem}.body-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.body-sm-bold[_ngcontent-%COMP%]{font-weight:700;font-size:.875rem;line-height:1.25rem}.mobile-body-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 768px){.mobile-body-sm[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}}.body-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.body-lg-bold[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.75rem}a[_ngcontent-%COMP%]{text-decoration-line:underline}a[_ngcontent-%COMP%]:hover{text-decoration-line:none}a[_ngcontent-%COMP%]:focus{border-radius:3px;padding-left:.125rem;padding-right:.125rem;padding-top:3px;padding-bottom:3px;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(0 90 163 / var(--tw-ring-opacity))}a[_ngcontent-%COMP%]:active{font-weight:700}.panel-heading-small[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:700;line-height:1.4rem}@media (min-width: 768px){.panel-heading-small[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.875rem}}.panel-heading-medium[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;line-height:1.875rem}.modal-heading[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:1.5rem;font-weight:800;line-height:1.875rem}@media (min-width: 768px){.modal-heading[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.813rem}}a[target=_blank][_ngcontent-%COMP%]{display:inline-flex;align-items:center;--tw-text-opacity: 1;color:rgb(204 61 0 / var(--tw-text-opacity))}a[target=_blank][_ngcontent-%COMP%]:after{content:"";mask:url(ico_ext_link.d4f887425672e9de.svg);-webkit-mask-size:contain;mask-size:contain;background-color:currentColor;margin-left:.25rem;--tw-translate-y: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.body-xs[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:.875rem;width:.875rem}.mobile-body-sm[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:1rem;width:1rem}@media (min-width: 768px){.mobile-body-sm[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:1.25rem;width:1.25rem}}legend[_ngcontent-%COMP%]{font-weight:500;--tw-text-opacity: 1;color:rgb(40 51 56 / var(--tw-text-opacity))}.radio-label[_ngcontent-%COMP%]{display:inline-flex;align-items:center}input[type=radio][_ngcontent-%COMP%]{border-radius:9999px;--tw-border-opacity: 1;border-color:rgb(97 114 125 / var(--tw-border-opacity))}input[type=radio][_ngcontent-%COMP%]:checked{--tw-bg-opacity: 1;background-color:rgb(0 90 163 / var(--tw-bg-opacity))}input[type=radio][_ngcontent-%COMP%]:checked:hover{--tw-bg-opacity: 1;background-color:rgb(0 70 128 / var(--tw-bg-opacity))}']})}return ne})(),lt=(()=>{class ne{static#e=this.\u0275fac=function(Te){return new(Te||ne)};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-menu-btn"]],inputs:{iconClass:"iconClass",srText:"srText"},decls:4,vars:3,consts:[[1,"flex"],[3,"size","icon"],[1,"sr-only"]],template:function(Te,ht){1&Te&&(n.j41(0,"button",0),n.nrm(1,"ui-icon",1),n.j41(2,"span",2),n.EFF(3),n.k0s()()),2&Te&&(n.R7$(),n.Y8G("size","xl")("icon",ht.iconClass),n.R7$(2),n.JRh(ht.srText))},dependencies:[ot.R],encapsulation:2})}return ne})();var kt=f(9969),re=f(4055);const ze=["*"],bt=(ne,Je,oe,Te)=>({"right-0":ne,"left-0":Je,"w-full":oe,"w-[360px]":Te}),Ut=ne=>({initialPosition:ne}),An=(ne,Je)=>({value:ne,params:Je});function Di(ne,Je){if(1&ne){const oe=n.RV6();n.j41(0,"div",4),n.bIt("click",function(){n.eBV(oe);const ht=n.XpG(2);return n.Njj(ht.close())}),n.k0s()}if(2&ne){const oe=n.XpG(2);n.Y8G("ngClass",oe.isSmallDevice?"fixed inset-0 z-40":"modal-overlay")}}function Bi(ne,Je){if(1&ne&&(n.j41(0,"div",7),n.SdG(1),n.k0s()),2&ne){const oe=n.XpG(3);n.Y8G("ngClass",oe.isSmallDevice?"no-scrollbar mt-sm":"h-full")}}function gr(ne,Je){if(1&ne&&(n.j41(0,"div",5),n.DNE(1,Bi,2,1,"div",6),n.k0s()),2&ne){const oe=n.XpG(2);n.Y8G("ngClass",n.ziG(3,bt,"right"===oe.from,"right"!==oe.from,oe.isSmallDevice,!oe.isSmallDevice))("@slideInOut",n.l_i(10,An,oe.open,n.eq3(8,Ut,oe.initialPosition))),n.R7$(),n.Y8G("ngIf",oe.open)}}function vr(ne,Je){if(1&ne){const oe=n.RV6();n.qex(0),n.j41(1,"div",1),n.bIt("swipeLeft",function(){n.eBV(oe);const ht=n.XpG();return n.Njj(ht.swipeLeft())})("swipeRight",function(){n.eBV(oe);const ht=n.XpG();return n.Njj(ht.swipeRight())}),n.DNE(2,Di,1,1,"div",2)(3,gr,2,13,"div",3),n.k0s(),n.bVm()}if(2&ne){const oe=n.XpG();n.R7$(2),n.Y8G("ngIf",oe.open),n.R7$(),n.Y8G("ngIf",oe.open)}}let Oi=(()=>{class ne{constructor(){this.from="right",this.open=!1,this.swipeCloseEvent=new n.bkB,this.isSmallDevice=null}get initialPosition(){return"right"===this.from?"100%":"-100%"}close(){this.swipeCloseEvent.emit(!1)}swipeLeft(){"right"!==this.from&&this.swipeCloseEvent.emit(!1)}swipeRight(){"left"!==this.from&&this.swipeCloseEvent.emit(!1)}static#e=this.\u0275fac=function(Te){return new(Te||ne)};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-slide-in"]],inputs:{from:"from",open:"open",isSmallDevice:"isSmallDevice"},outputs:{swipeCloseEvent:"swipeCloseEvent"},ngContentSelectors:ze,decls:1,vars:0,consts:[[4,"transloco"],["tkSwipe","",3,"swipeLeft","swipeRight"],[3,"ngClass","click",4,"ngIf"],["class","fixed inset-y-0 top-[56px] z-40 flex flex-col bg-white shadow-[inset_0_4px_4px_0_rgba(0,0,0,0.05)]",3,"ngClass",4,"ngIf"],[3,"click","ngClass"],[1,"fixed","inset-y-0","top-[56px]","z-40","flex","flex-col","bg-white","shadow-[inset_0_4px_4px_0_rgba(0,0,0,0.05)]",3,"ngClass"],["class","no-scrollbar mt-sm flex flex-col justify-start overflow-y-auto p-4",3,"ngClass",4,"ngIf"],[1,"no-scrollbar","mt-sm","flex","flex-col","justify-start","overflow-y-auto","p-4",3,"ngClass"]],template:function(Te,ht){1&Te&&(n.NAR(),n.DNE(0,vr,4,2,"ng-container",0))},dependencies:[y.YU,y.bT,re.W,U.bA],encapsulation:2,data:{animation:[(0,kt.hZ)("slideInOut",[(0,kt.kY)(":enter",[(0,kt.iF)({transform:"translateX({{initialPosition}})"}),(0,kt.i0)("200ms ease-in",(0,kt.iF)({transform:"translateX(0%)"}))]),(0,kt.kY)(":leave",[(0,kt.i0)("200ms ease-in",(0,kt.iF)({transform:"translateX({{initialPosition}})"}))])])]}})}return ne})();function kr(ne,Je){1&ne&&(n.qex(0),n.nrm(1,"tk-menu-header-backlink",7),n.bVm()),2&ne&&(n.R7$(),n.Y8G("isMobileMenu",!0))}function Or(ne,Je){1&ne&&n.nrm(0,"tk-logout-btn")}function ho(ne,Je){1&ne&&n.eu8(0)}function jo(ne,Je){1&ne&&n.nrm(0,"tk-login-btn")}function lo(ne,Je){if(1&ne&&n.DNE(0,jo,1,0,"tk-login-btn",6),2&ne){const oe=n.XpG(3);n.Y8G("ngIf",!oe.user)}}function to(ne,Je){if(1&ne&&n.DNE(0,ho,1,0,"ng-container",10)(1,lo,1,1,"ng-template",null,1,n.C5r),2&ne){const oe=n.sdS(2),Te=n.XpG(2);n.Y8G("ngIf",void 0===Te.user)("ngIfElse",oe)}}function pt(ne,Je){if(1&ne){const oe=n.RV6();n.qex(0),n.j41(1,"header",3),n.nrm(2,"tk-tootukassa-logo"),n.j41(3,"tk-menu-btn",4),n.bIt("click",function(){n.eBV(oe);const ht=n.XpG();return n.Njj(ht.toggleMenu(!ht.menuOpen))}),n.k0s()(),n.j41(4,"tk-slide-in",5),n.nI1(5,"async"),n.bIt("swipeCloseEvent",function(ht){n.eBV(oe);const $t=n.XpG();return n.Njj($t.toggleMenu(ht))}),n.DNE(6,kr,2,1,"ng-container",6),n.nrm(7,"tk-header-search",7),n.j41(8,"div",8)(9,"div",9),n.nrm(10,"tk-language-switch-links"),n.k0s(),n.DNE(11,Or,1,0,"tk-logout-btn",10)(12,to,3,2,"ng-template",null,0,n.C5r),n.k0s(),n.j41(14,"tk-mobile-role-selector",11),n.bIt("toggle",function(){n.eBV(oe);const ht=n.XpG();return n.Njj(ht.toggleUserMenu(ht.userMenuOpen))}),n.k0s(),n.j41(15,"div",12),n.nI1(16,"async"),n.j41(17,"tk-mobile-self-service-menu",13),n.bIt("toggle",function(){n.eBV(oe);const ht=n.XpG();return n.Njj(ht.toggleSelfServiceMenu(ht.selfServiceMenuOpen))}),n.k0s(),n.nrm(18,"tk-mobile-active-menu")(19,"tk-mobile-main-menu"),n.k0s()(),n.bVm()}if(2&ne){const oe=Je.$implicit,Te=n.sdS(13),ht=n.XpG();n.R7$(),n.Y8G("ngClass",ht.menuOpen?"z-50":"z-30"),n.R7$(),n.HbH("h-8 my-3"),n.R7$(),n.Y8G("iconClass",ht.menuOpen?"close":"menu")("srText",oe("fegeneral/mobileMenu/menu")),n.R7$(),n.Y8G("open",ht.menuOpen)("isSmallDevice",n.bMT(5,14,ht.isSmallDevice$)),n.R7$(2),n.Y8G("ngIf",ht.user),n.R7$(),n.Y8G("isMobileMenu",!0),n.R7$(4),n.Y8G("ngIf",ht.user)("ngIfElse",Te),n.R7$(3),n.Y8G("userMenuOpen",ht.userMenuOpen),n.R7$(),n.Y8G("ngClass",n.bMT(16,16,ht.isSmallDevice$)?"justify-center":"justify-start"),n.R7$(2),n.Y8G("isMenuOpen",ht.selfServiceMenuOpen)}}let Ce=(()=>{class ne{constructor(oe,Te,ht,$t,Kn){this.mobileMenuService=oe,this.userService=Te,this.screenSizeService=ht,this.renderer=$t,this.router=Kn,this.isSmallDevice$=this.screenSizeService.isMobile(),this.isDesktop$=this.screenSizeService.isDesktop(),this.handlePageScrollLockRemovalConditions()}ngOnInit(){this.userService.user$.subscribe(oe=>this.user=oe)}ngOnDestroy(){this.mobileMenuService.closeAll()}get menuOpen(){return this.mobileMenuService.menuOpen}get userMenuOpen(){return this.mobileMenuService.userMenuOpen}get selfServiceMenuOpen(){return this.mobileMenuService.selfServiceMenuOpen}toggleMenu(oe){this.mobileMenuService.toggleMenu(oe),this.lockPageScroll(oe)}toggleUserMenu(oe){this.mobileMenuService.toggleUserMenu(!oe)}toggleSelfServiceMenu(oe){this.mobileMenuService.toggleSelfServiceMenu(!oe)}handlePageScrollLockRemovalConditions(){this.removePageScrollLockOnNavigationEvents(),this.removePageScrollLockOnLargeScreen()}removePageScrollLockOnNavigationEvents(){return this.router.events.pipe((0,jn.p)(oe=>oe instanceof M.wF)).subscribe(()=>{this.lockPageScroll(!1)})}removePageScrollLockOnLargeScreen(){return this.isDesktop$.subscribe(oe=>{oe&&this.lockPageScroll(!1)})}lockPageScroll(oe){oe?this.renderer.addClass(document.documentElement,"no-scroll"):this.renderer.removeClass(document.documentElement,"no-scroll")}static#e=this.\u0275fac=function(Te){return new(Te||ne)(n.rXU(Kt.d),n.rXU(J.D),n.rXU(r.D),n.rXU(n.sFG),n.rXU(M.Ix))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-mobile-menu"]],decls:1,vars:0,consts:[["noUser",""],["notLoggedIn",""],[4,"transloco"],[1,"header-mobile",3,"ngClass"],[3,"click","iconClass","srText"],["from","right",3,"swipeCloseEvent","open","isSmallDevice"],[4,"ngIf"],[3,"isMobileMenu"],[1,"flex","flex-row","items-center","justify-between"],[1,"items-middle","flex"],[4,"ngIf","ngIfElse"],[3,"toggle","userMenuOpen"],[1,"mt-8","flex","grow","flex-col",3,"ngClass"],[3,"toggle","isMenuOpen"]],template:function(Te,ht){1&Te&&n.DNE(0,pt,20,18,"ng-container",2)},dependencies:[y.YU,y.bT,B.h,V.l,Ot.N,pe,U.bA,G,Tn,qn,oi,wn,lt,Oi,dt,y.Jj],styles:[".header-mobile[_ngcontent-%COMP%]{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-left:.75rem;padding-right:.75rem}@media (min-width: 1280px){.header-mobile[_ngcontent-%COMP%]{display:none}}"]})}return ne})();function le(ne,Je){1&ne&&n.nrm(0,"tk-mobile-menu")}let Me=(()=>{class ne{constructor(oe){this.screenSize=oe,this.isMobile$=this.screenSize.smallerThanDesktop()}static#e=this.\u0275fac=function(Te){return new(Te||ne)(n.rXU(r.D))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["tk-header"]],decls:3,vars:3,consts:[[4,"ngIf"]],template:function(Te,ht){1&Te&&(n.nrm(0,"tk-desktop-menu"),n.DNE(1,le,1,0,"tk-mobile-menu",0),n.nI1(2,"async")),2&Te&&(n.R7$(),n.Y8G("ngIf",n.bMT(2,1,ht.isMobile$)))},dependencies:[y.bT,fn,Ce,y.Jj],encapsulation:2})}return ne})()},5753:(_t,ge,f)=>{"use strict";f.d(ge,{G:()=>b});var n=f(177),r=f(9417),y=f(4710),F=f(5495),g=f(1544),A=f(2510),M=f(362),B=f(3887),V=f(6810),T=f(8972),N=f(2506),U=f(4438);let b=(()=>{class G{static#e=this.\u0275fac=function(J){return new(J||G)};static#t=this.\u0275mod=U.$C({type:G});static#n=this.\u0275inj=U.G2t({imports:[n.MD,r.YN,A.MQ,r.X1,y.iI,B.G,g.XE,V.h,M.c,T.t,F.l,N.o]})}return G})()},52:(_t,ge,f)=>{"use strict";f.d(ge,{d:()=>F});var n=f(4710),r=f(5964),y=f(4438);let F=(()=>{class g{constructor(M){this.router=M,this.menuOpen=!1,this.userMenuOpen=!1,this.selfServiceMenuOpen=!1,this.registerCloseMenusOnNavigationTasks()}registerCloseMenusOnNavigationTasks(){this.router.events.pipe((0,r.p)(M=>M instanceof n.wF)).subscribe(()=>{this.closeAll()})}toggleMenu(M){this.menuOpen=M,M||(this.toggleUserMenu(!1),this.toggleSelfServiceMenu(!1))}toggleUserMenu(M){this.userMenuOpen=M}toggleSelfServiceMenu(M){this.selfServiceMenuOpen=M}closeAll(){this.toggleMenu(!1)}static#e=this.\u0275fac=function(B){return new(B||g)(y.KVO(n.Ix))};static#t=this.\u0275prov=y.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},5495:(_t,ge,f)=>{"use strict";f.d(ge,{l:()=>G});var n=f(177),r=f(4438),y=f(5312),F=f(2506),g=f(7376),M=f(4710),B=f(1544),V=f(2427);const T=["*"];function N(R,ce){if(1&R&&r.nrm(0,"ui-icon",4),2&R){const J=r.XpG();r.Y8G("icon",J.iconClass)}}function U(R,ce){1&R&&r.nrm(0,"tk-dropdown-menu-item",6),2&R&&r.Y8G("menuItem",ce.$implicit)}function b(R,ce){if(1&R&&(r.j41(0,"div"),r.DNE(1,U,1,1,"tk-dropdown-menu-item",5),r.k0s()),2&R){const J=r.XpG();r.R7$(),r.Y8G("ngForOf",J.menuItem.children)}}let G=(()=>{class R{constructor(J,Se){this.router=J,this.localizeRouterService=Se,this.isOpened=!1,this.toggle=new r.bkB}getMenuItemUri(J){return y.c.baseURL+J}handleClick(J){if(this.menuLevel<2&&this.hasChildren)return J.preventDefault(),this.isOpened=!this.isOpened,void(0===this.menuLevel&&this.toggle.emit())}get hasChildren(){return this.menuItem.children.length>0}get areChildrenVisible(){return this.menuLevel>1||this.isOpened}get menuLevel(){return this.menuItem.level}get containerClass(){return(0,g.compact)([this.menuLevel>0?"menuitem-container":"",this.checkIfInTrail(this.menuItem)?"active-menuitem ":"","menuitem-"+this.menuLevel]).join(" ")}get linkClass(){let J="";switch(this.menuLevel){case 1:J="pl-[0.438rem]";break;case 2:J="pl-[1.188rem]";break;case 3:J="pl-[1.938rem]"}return(0,g.compact)([this.menuLevel<3?"font-bold":"",0===this.menuLevel?"text-[1.125rem] leading-[1.75rem]":"py-1 mb-sm",0===this.menuLevel&&this.isOpened?"py-5 focus-visible:outline-blue focus-visible:outline-offset-0 focus-visible:rounded-sm":"",3===this.menuLevel?"text-sm":"",J]).join(" ")}checkIfInTrail(J){if(0===this.menuLevel)return!1;if(this.isInActiveTrail(J.uri))return!0;if(!J.children||0===J.children.length)return!1;for(const Se of J.children)if(Se&&this.checkIfInTrail(Se))return!0;return!1}isInActiveTrail(J){return this.router.url.startsWith(this.localizeRouterService.translateRoute(J))}get iconClass(){return this.hasChildren?this.isOpened?"chevron-up":"chevron-down":"chevron-right"}static#e=this.\u0275fac=function(Se){return new(Se||R)(r.rXU(M.Ix),r.rXU(B.QG))};static#t=this.\u0275cmp=r.VBU({type:R,selectors:[["tk-dropdown-menu-item"]],inputs:{isOpened:"isOpened",menuItem:"menuItem"},outputs:{toggle:"toggle"},standalone:!0,features:[r.aNF],ngContentSelectors:T,decls:7,vars:6,consts:[[3,"ngClass"],[1,"relative","flex","items-center","justify-between","text-black","focus-visible:outline-none",3,"click","href","ngClass"],["class","text-accent",3,"icon",4,"ngIf"],[4,"ngIf"],[1,"text-accent",3,"icon"],[3,"menuItem",4,"ngFor","ngForOf"],[3,"menuItem"]],template:function(Se,Ne){1&Se&&(r.NAR(),r.qex(0),r.SdG(1),r.j41(2,"div",0)(3,"a",1),r.bIt("click",function(dt){return Ne.handleClick(dt)}),r.EFF(4),r.DNE(5,N,1,1,"ui-icon",2),r.k0s()(),r.DNE(6,b,2,1,"div",3),r.bVm()),2&Se&&(r.R7$(2),r.Y8G("ngClass",Ne.containerClass),r.R7$(),r.Y8G("href",Ne.getMenuItemUri(Ne.menuItem.uri),r.B4B)("ngClass",Ne.linkClass),r.R7$(),r.SpI(" ",Ne.menuItem.name," "),r.R7$(),r.Y8G("ngIf",Ne.menuLevel<2),r.R7$(),r.Y8G("ngIf",Ne.areChildrenVisible))},dependencies:[R,n.MD,n.YU,n.Sq,n.bT,F.o,V.R],encapsulation:2})}return R})()},1544:(_t,ge,f)=>{"use strict";f.d(ge,{L3:()=>n.L3,XE:()=>r.XE,QG:()=>g.Q,hU:()=>n.hU});var n=f(4803),r=f(6689),g=(f(9954),f(849),f(7708));f(4438),f(4710),f(4262)},4803:(_t,ge,f)=>{"use strict";f.d(ge,{L3:()=>B,aS:()=>r,cy:()=>F,hU:()=>T,iq:()=>y});var n=f(4438);const r=new n.nKC("LOCALIZE_ROUTER_FORROOT_GUARD"),y=new n.nKC("RAW_ROUTES");var F=function(N){return N.LocalStorage="LocalStorage",N.SessionStorage="SessionStorage",N.Cookie="Cookie",N}(F||{});const B=new n.nKC("LOCALIZE_ROUTER_CONFIG",{providedIn:"root",factory:()=>({})}),V={translateRoute:!1,useCachedLang:!0,alwaysSetPrefix:!0,cacheMechanism:F.LocalStorage,cacheName:"LOCALIZE_DEFAULT_LANGUAGE",defaultLangFunction:void 0,cookieFormat:"{{value}};{{expires}}",initialNavigation:!1,prefix:"ROUTES.",escapePrefix:"!"};function T(N=V){return{...V,...N}}},6689:(_t,ge,f)=>{"use strict";f.d(ge,{XE:()=>b});var n=f(177),r=f(4438),y=f(4710),F=f(3060),g=f(7376);class A{constructor(){}shouldDetach(ce){return!1}store(ce,J){}shouldAttach(ce){return!1}retrieve(ce){return{}}shouldReuseRoute(ce,J){return!(!ce||!J)&&this.getKey(ce)===this.getKey(J)}getKey(ce){if(ce.firstChild?.routeConfig?.path&&-1!==ce.firstChild.routeConfig.path.indexOf("**"))return"WILDCARD";if(!(ce.data.localizeRouter||ce.data.skipRouteLocalization||ce.parent&&ce.parent.parent))return"LANG";if(ce.routeConfig?.matcher){let Se=`${this.getKey(ce.parent)}/${ce.routeConfig.matcher.name}`;return ce.data.discriminantPathKey&&(Se=`${Se}-${ce.data.discriminantPathKey}`),Se}if(ce.data.localizeRouter){let Se=`${this.getKey(ce.parent)}/${ce.data.localizeRouter.path}`;return ce.data.discriminantPathKey&&(Se=`${Se}-${ce.data.discriminantPathKey}`),Se}let J=ce.routeConfig?.path??"";return ce.parent&&(J=`${this.getKey(ce.parent)}/${ce.routeConfig?.path}`),ce.data.discriminantPathKey&&(J=`${J}-${ce.data.discriminantPathKey}`),J}}var M=f(4803),B=f(9954),V=f(7708),T=f(4262);let N=(()=>{class R{constructor(J){this.injector=J}appInitializer(){return this.parser.load(this.routes).then(()=>{const Se=this.injector.get(V.Q),Ne=this.injector.get(y.Ix),ot=this.injector.get(M.L3);return Se.init(),new Promise(ot.initialNavigation?dt=>{const He=Ne.navigationTransitions.afterPreactivation;let Ge=!0;Ne.navigationTransitions.afterPreactivation=()=>(Ge&&(dt(),Ge=!1,Se.hooks._initializedSubject.next(!0),Se.hooks._initializedSubject.complete()),He())}:dt=>{dt(),Se.hooks._initializedSubject.next(!0),Se.hooks._initializedSubject.complete()})})}generateInitializer(J,Se){return this.parser=J,this.routes=Se.reduce((Ne,ot)=>Ne.concat(ot)),this.appInitializer}static#e=this.\u0275fac=function(Se){return new(Se||R)(r.KVO(r.zZn))};static#t=this.\u0275prov=r.jDH({token:R,factory:R.\u0275fac})}return R})();function U(R,ce,J){const Se=(0,g.cloneDeep)(J);return R.generateInitializer(ce,Se).bind(R)}let b=(()=>{class R{static forRoot(J,Se={}){return{ngModule:R,providers:[{provide:y.Ix,useClass:T.d},{provide:M.aS,useFactory:G,deps:[[R,new r.Xx1,new r.kdw]]},{provide:M.iq,multi:!0,useValue:J},Se.parser||{provide:B.x,useClass:B.E,deps:[F.JO,n.aZ,M.L3]},V.Q,N,{provide:r.hnV,multi:!0,useFactory:U,deps:[N,B.x,M.iq]},{provide:y.b,useClass:A}]}}static forChild(J){return{ngModule:R,providers:[{provide:M.iq,multi:!0,useValue:J}]}}static#e=this.\u0275fac=function(Se){return new(Se||R)};static#t=this.\u0275mod=r.$C({type:R});static#n=this.\u0275inj=r.G2t({imports:[n.MD,y.iI,F.Q8]})}return R})();function G(R){if(R)throw new Error("LocalizeRouterModule.forRoot() called twice. Lazy loaded modules should use LocalizeRouterModule.forChild() instead.");return"guarded"}},9954:(_t,ge,f)=>{"use strict";f.d(ge,{E:()=>T,x:()=>V});var n=f(177),r=f(1626),y=f(3060),F=f(4843),g=f(1985),A=f(4803),M=f(4438);let V=(()=>{class N{constructor(b,G,R){this.translate=b,this.location=G,this.settings=R}init(b){if(this.routes=b,!this.locales||!this.locales.length)return Promise.resolve();const G=this.getLocationLang(),R=this._getBrowserLang();this.defaultLang=this.settings.defaultLangFunction?this.settings.defaultLangFunction(this.locales,this._cachedLang,R):this._cachedLang||R||this.locales[0];const ce=G||this.defaultLang;this.translate.setDefaultLang(ce),this.translate.setActiveLang(ce);let J=[];if(this.settings.alwaysSetPrefix){const Se={path:"",redirectTo:this.defaultLang,pathMatch:"full"},Ne=b.findIndex(ot=>"**"===ot.path);-1!==Ne&&(this._wildcardRoute=b.splice(Ne,1)[0]),J=this.routes.splice(0,this.routes.length,Se)}else J=[...this.routes];for(let Se=J.length-1;Se>=0;Se--)J[Se].data&&J[Se].data?.skipRouteLocalization&&(this.settings.alwaysSetPrefix&&this.routes.push(J[Se]),(void 0===J[Se].redirectTo||!J[Se].data?.skipRouteLocalization.localizeRedirectTo)&&J.splice(Se,1));return J&&J.length&&(this.locales.length>1||this.settings.alwaysSetPrefix)&&(this._languageRoute={children:J},this.routes.unshift(this._languageRoute)),this._wildcardRoute&&this.settings.alwaysSetPrefix&&this.routes.push(this._wildcardRoute),(0,F._)(this.translateRoutes(ce))}initChildRoutes(b){return this._translateRouteTree(b),b}translateRoutes(b){return new g.c(G=>{this._cachedLang=b,this._languageRoute&&(this._languageRoute.path=b),this.translate.load(b).subscribe(R=>{this._translationObject=R,this.currentLang=b,this._languageRoute?(this._translateRouteTree(this._languageRoute.children??[],!0),this._wildcardRoute&&this._wildcardRoute.redirectTo&&this._translateProperty(this._wildcardRoute,"redirectTo",!0)):this._translateRouteTree(this.routes,!0),G.next(void 0),G.complete()})})}_translateRouteTree(b,G){b.forEach(R=>{const ce=R.data&&R.data.skipRouteLocalization;if(R.redirectTo&&(!ce||ce.localizeRedirectTo)){const Se=0===R.redirectTo.indexOf("/")||G;this._translateProperty(R,"redirectTo",Se)}ce||(null!=R.path&&this._translateProperty(R,"path"),R.children&&this._translateRouteTree(R.children),R.loadChildren&&R._loadedRoutes?.length&&this._translateRouteTree(R._loadedRoutes))})}_translateProperty(b,G,R){const ce=b.data=b.data||{};ce.localizeRouter||(ce.localizeRouter={}),ce.localizeRouter[G]||(ce.localizeRouter={...ce.localizeRouter,[G]:b[G]});const J=this.translateRoute(ce.localizeRouter[G]);b[G]=R?this.addPrefixToUrl(J):J}get urlPrefix(){return this.settings.alwaysSetPrefix||this.currentLang!==this.defaultLang?this.currentLang||this.defaultLang:""}addPrefixToUrl(b){const G=b.split("?"),R=1===G[0].length&&"/"===G[0];G[0]=G[0].replace(/\/$/,"");const ce=G.join("?");return""===this.urlPrefix?ce:ce.startsWith("/")||R?`/${this.urlPrefix}${ce}`:`${this.urlPrefix}/${ce}`}translateRoute(b){const G=b.split("?");if(G.length>2)throw Error("There should be only one query parameter block in the URL");return G[0].split("/").map(ce=>ce.length?this.translateText(ce):ce).filter(ce=>void 0!==ce).join("/")+(G.length>1?`?${G[1]}`:"")}getLocationLang(b){const G=(b||this.location.path()).split(/[\?;]/);let R=[];return G.length>0&&(R=G[0].split("/")),R.length>1&&-1!==this.locales.indexOf(R[1])?R[1]:R.length&&-1!==this.locales.indexOf(R[0])?R[0]:null}_getBrowserLang(){return this._returnIfInLocales((0,y.Hz)())}get _cachedLang(){if(this.settings.useCachedLang){if(this.settings.cacheMechanism===A.cy.LocalStorage)return this._cacheWithLocalStorage();if(this.settings.cacheMechanism===A.cy.SessionStorage)return this._cacheWithSessionStorage();if(this.settings.cacheMechanism===A.cy.Cookie)return this._cacheWithCookies()}}set _cachedLang(b){this.settings.useCachedLang&&(this.settings.cacheMechanism===A.cy.LocalStorage&&this._cacheWithLocalStorage(b),this.settings.cacheMechanism===A.cy.SessionStorage&&this._cacheWithSessionStorage(b),this.settings.cacheMechanism===A.cy.Cookie&&this._cacheWithCookies(b))}_cacheWithLocalStorage(b){try{if(typeof window>"u"||typeof window.localStorage>"u")return;return b?void window.localStorage.setItem(this.settings.cacheName,b):this._returnIfInLocales(window.localStorage.getItem(this.settings.cacheName))}catch{return}}_cacheWithSessionStorage(b){try{if(typeof window>"u"||typeof window.sessionStorage>"u")return;return b?void window.sessionStorage.setItem(this.settings.cacheName,b):this._returnIfInLocales(window.sessionStorage.getItem(this.settings.cacheName))}catch{return}}_cacheWithCookies(b){try{if(typeof document>"u"||typeof document.cookie>"u")return;const G=encodeURIComponent(this.settings.cacheName);if(b){let J=`${this.settings.cookieFormat}`;return J=J.replace("{{value}}",`${G}=${encodeURIComponent(b)}`).replace(/{{expires:?(\d+)?}}/g,(Se,Ne)=>{const ot=void 0===Ne?30:parseInt(Ne,10),dt=new Date;return dt.setTime(dt.getTime()+864e5*ot),`expires=${dt.toUTCString()}`}),void(document.cookie=J)}const ce=new RegExp("(?:^"+G+"|;\\s*"+G+")=(.*?)(?:;|$)","g").exec(document.cookie);return decodeURIComponent(ce[1])}catch{return}}_returnIfInLocales(b){if(b&&-1!==this.locales?.indexOf(b))return b}translateText(b){if(this.escapePrefix&&b.startsWith(this.escapePrefix))return b.replace(this.escapePrefix,"");{if(!this._translationObject||!this.settings.translateRoute)return b;const G=(0,y.Bq)(this.translate.getTranslation(this.currentLang)),R=this.prefix+b;if(Object.keys(G).find(J=>J===R)){const J=this.translate.translate(R,{},this.currentLang);return J!==R?J:b}return b}}chooseQueryParams(b,G){return b?.queryParams||G||{}}formatQueryParams(b){return new r.Nl({fromObject:b}).toString()}getPrefix(){return this.prefix}getEscapePrefix(){return this.escapePrefix}static#e=this.\u0275fac=function(G){return new(G||N)(M.KVO(y.JO),M.KVO(n.aZ),M.KVO(A.L3))};static#t=this.\u0275prov=M.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),T=(()=>{class N extends V{constructor(b,G,R){super(b,G,R),this.locales=b.getAvailableLangs(),this.prefix=R.prefix,this.escapePrefix=R.escapePrefix}load(b){return new Promise(G=>{this.init(b).then(G)})}static#e=this.\u0275fac=function(G){return new(G||N)(M.KVO(y.JO),M.KVO(n.aZ),M.KVO(A.L3))};static#t=this.\u0275prov=M.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},849:(_t,ge,f)=>{"use strict";f.d(ge,{t:()=>A});var n=f(7376),y=f(4438),F=f(7708);let A=(()=>{class M{constructor(V,T){this.localize=V,this._ref=T,this.value="",this.subscription=this.localize.routerEvents.subscribe(()=>{this.transform(this.lastKey)})}ngOnDestroy(){this.subscription?.unsubscribe()}transform(V){if(!V||0===V.length||!this.localize.parser.currentLang)return V;if((0,n.isEqual)(V,this.lastKey)&&(0,n.isEqual)(this.lastLanguage,this.localize.parser.currentLang))return this.value;this.lastKey=V,this.lastLanguage=this.localize.parser.currentLang,this.value=this.localize.translateRoute(V),this.lastKey=V;const T=this._ref._view;return T&&128&T.state||setTimeout(()=>{this._ref.detectChanges()},0),this.value}static#e=this.\u0275fac=function(T){return new(T||M)(y.rXU(F.Q,16),y.rXU(y.gRc,16))};static#t=this.\u0275pipe=y.EJ8({name:"localize",type:M,pure:!1})}return M})()},7708:(_t,ge,f)=>{"use strict";f.d(ge,{Q:()=>U});var n=f(4710),r=f(7376),y=f(1413),F=f(2771),g=f(5964),A=f(9974),M=f(4360),V=f(4803),T=f(9954),N=f(4438);let U=(()=>{class b{constructor(R,ce,J,Se){this.parser=R,this.settings=ce,this.router=J,this.route=Se,this.routerEvents=new y.B;const Ne=new F.m(1);this.hooks={_initializedSubject:Ne,initialized:Ne.asObservable()}}init(){this.applyConfigToRouter(this.parser.routes),this.router.events.pipe((0,g.p)(R=>R instanceof n.Z),function B(){return(0,A.N)((b,G)=>{let R,ce=!1;b.subscribe((0,M._)(G,J=>{const Se=R;R=J,ce&&G.next([Se,J]),ce=!0}))})}()).subscribe(this._routeChanged()),this.settings.initialNavigation&&this.router.initialNavigation()}changeLanguage(R,ce,J){if(R!==this.parser.currentLang){const Se=this.router.routerState.snapshot.root;this.parser.translateRoutes(R).subscribe(()=>{let Ne=this.traverseRouteSnapshot(Se);if(Ne.toString().startsWith("/")||(Ne=`/${Ne}`),Ne=this.translateRoute(Ne),!this.settings.alwaysSetPrefix){let He=Ne.split("/");const Ge=He.indexOf(this.parser.currentLang);if(this.parser.currentLang===this.parser.defaultLang)(0===Ge||1===Ge&&""===He[0])&&(He=He.slice(0,Ge).concat(He.slice(Ge+1)));else if(-1===Ge){const se=""===He[0]?1:0;He=He.slice(0,se).concat(this.parser.currentLang,He.slice(se))}Ne=He.join("/")}Ne=Ne.replace(/\/+/g,"/");const ot=Ne.lastIndexOf("/");ot>0&&ot===Ne.length-1&&(Ne=Ne.slice(0,-1));const dt=this.parser.chooseQueryParams(ce,this.route.snapshot.queryParams);if(this.applyConfigToRouter(this.parser.routes),this.lastExtras=ce,J){const He=ce?{...ce}:{};dt&&(He.queryParams=dt),this.router.navigate([Ne],He)}else{let He=this.parser.formatQueryParams(dt);He=He?`?${He}`:"",this.router.navigateByUrl(`${Ne}${He}`,ce)}})}}traverseRouteSnapshot(R){return R.firstChild&&R.routeConfig?`${this.parseSegmentValue(R)}/${this.traverseRouteSnapshot(R.firstChild)}`:R.firstChild?this.traverseRouteSnapshot(R.firstChild):this.parseSegmentValue(R)}buildUrlFromSegments(R,ce){return ce.map((J,Se)=>0===J.indexOf(":")?R.url[Se].path:J).join("/")}parseSegmentValue(R){if(R.routeConfig&&R.routeConfig.matcher){const ce=this.parseSegmentValueMatcher(R);return this.buildUrlFromSegments(R,ce)}if(R.data.localizeRouter){const J=R.data.localizeRouter.path.split("/");return this.buildUrlFromSegments(R,J)}if(R.parent&&R.parent.parent){const J=R.routeConfig?.path?.split("/")??[];return this.buildUrlFromSegments(R,J)}return""}parseSegmentValueMatcher(R){const ce=R.data&&R.data.localizeMatcher&&R.data.localizeMatcher.params||{};return R.url.map(J=>{const Se=J.path,Ne=J.localizedParamName;return(Ne&&ce[Ne]?ce[Ne](Se):null)||`${this.parser.getEscapePrefix()}${Se}`})}translateRoute(R){if("string"==typeof R){const J=this.parser.translateRoute(R);return R.indexOf("/")?J:this.parser.addPrefixToUrl(J)}const ce=[];return R.forEach((J,Se)=>{if("string"==typeof J){const Ne=this.parser.translateRoute(J);Se||J.indexOf("/")?ce.push(Ne):ce.push(this.parser.addPrefixToUrl(Ne))}else ce.push(J)}),ce}_routeChanged(){return([R,ce])=>{const J=this.parser.getLocationLang(R.url)||this.parser.defaultLang,Se=this.parser.getLocationLang(ce.url)||this.parser.defaultLang,Ne=this.lastExtras;Se!==J&&this.latestUrl!==ce.url&&(this.latestUrl=ce.url,this.cancelCurrentNavigation(),this.parser.translateRoutes(Se).subscribe(()=>{this.applyConfigToRouter(this.parser.routes),this.parser.translate.setActiveLang(Se),this.lastExtras=void 0,this.router.navigateByUrl(ce.url,Ne),this.routerEvents.next(Se)})),this.latestUrl=ce.url}}cancelCurrentNavigation(){const R=this.router.getCurrentNavigation(),ce=this.router.serializeUrl(R.extractedUrl);this.router.events.next(new n.j5(R.id,ce,"")),this.router.navigationTransitions.transitions.next({...this.router.navigationTransitions.transitions.getValue(),id:0})}applyConfigToRouter(R){this.router.resetConfig((0,r.cloneDeep)(R))}static#e=this.\u0275fac=function(ce){return new(ce||b)(N.KVO(T.x),N.KVO(V.L3),N.KVO(n.Ix),N.KVO(n.nX))};static#t=this.\u0275prov=N.jDH({token:b,factory:b.\u0275fac})}return b})()},4262:(_t,ge,f)=>{"use strict";f.d(ge,{d:()=>R});var n=f(177),r=f(4438),y=f(4710),g=f(7673),A=f(2806),M=f(17),B=f(1413),V=f(4402),T=f(6354),N=f(1397),U=f(980),b=f(9898),G=f(9954);let R=(()=>{class ot extends y.Ix{constructor(){super(),this.platformId=(0,r.WQX)(r.Agw),this.compiler=(0,r.WQX)(r.Ql9),this.localize=(0,r.WQX)(G.x),this.childrenLoaders=new WeakMap,this.loadModuleFactoryOrRoutes=(se,Ae)=>function Ne(ot){return(0,V.A)(ot)?ot:function F(ot){return!!ot&&"function"==typeof ot.then}(ot)?(0,A.H)(Promise.resolve(ot)):(0,g.of)(ot)}(Ae.loadChildren()).pipe((0,T.T)(Se),(0,N.Z)(we=>we instanceof r.Co$||Array.isArray(we)?(0,g.of)(we):(0,A.H)(this.compiler.compileModuleAsync(we))),(0,T.T)(we=>{let ue,Oe;if(this.onLoadEndListener&&this.onLoadEndListener(Ae),Array.isArray(we))Oe=this.localize.initChildRoutes([].concat(...we));else{ue=we.create(se).injector;const yt=ue.get.bind(ue);ue.get=(Yt,Vt,qt)=>{const jt=yt(Yt,Vt,qt);return Yt===y.bw?this.localize.initChildRoutes([].concat(...jt)):jt},Oe=ue.get(y.bw,[],{optional:!0,self:!0}).reduce((Yt,Vt)=>Yt.concat(Vt),[])}return{routes:Oe.map(ce),injector:ue}})),((0,n.UE)(this.platformId)?this.navigationTransitions.configLoader.__proto__:this.navigationTransitions.configLoader).loadChildren=(se,Ae)=>{if(this.childrenLoaders.get(Ae))return this.childrenLoaders.get(Ae);if(Ae._loadedRoutes)return(0,g.of)({routes:Ae._loadedRoutes,injector:Ae._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Ae);const ue=this.loadModuleFactoryOrRoutes(se,Ae).pipe((0,U.j)(()=>{this.childrenLoaders.delete(Ae)})),Oe=new M.G(ue,()=>new B.B).pipe((0,b.B)());return this.childrenLoaders.set(Ae,Oe),Oe}}static#e=this.\u0275fac=function(Ge){return new(Ge||ot)};static#t=this.\u0275prov=r.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})();function ce(ot){const dt=ot.children&&ot.children.map(ce),He=dt?{...ot,children:dt}:{...ot};return!He.component&&!He.loadComponent&&(dt||He.loadChildren)&&He.outlet&&He.outlet!==y.Xk&&(He.component=y.we),He}function Se(ot){return function J(ot){return ot&&"object"==typeof ot&&"default"in ot}(ot)?ot.default:ot}},7116:(_t,ge,f)=>{"use strict";f.d(ge,{$:()=>V});var n=f(4710),y=(f(8973),f(3473)),F=f(4412),g=f(6354),A=f(5964),M=f(4438),B=f(177);let V=(()=>{class T{constructor(U,b,G){this.apollo=U,this.router=b,this.location=G,this._activeMenu=new F.t(void 0),this.activeMenu$=this._activeMenu.asObservable(),this.registerActiveMenuResetter()}getMainMenu(){return this.getMenu("main")}getFooterMenu(){return this.getMenu("footer")}getServicesAndBenefitsMenu(){return this.getMenu("services-and-benefits")}getEmployeesAndContactsMenu(){return this.getMenu("employees-and-contacts")}getMenu(U){return this.apollo.query({query:y.J1` query getMenu($name: String!) { menu(name: $name) { name showMenuTitle adminLinks { title url { path } } items { title icon { ...menuIcon } url { path external } bannerImage { backgroundColor image { url { path } } } children { title icon { ...menuIcon } url { path external } } } } } fragment menuIcon on MediaMenuIcon { name image { url { path external } } } `,variables:{name:U}}).pipe((0,g.T)(b=>b.data?.menu),(0,g.T)(b=>this.mapMenuToUI(b)),(0,g.T)(b=>this.activateMenuItems(b)))}getSelfServiceMenu(){return this.apollo.query({query:y.J1` query selfServiceMenu { mainMenuQuery { ...MenuFields children { ...MenuFields children { ...MenuFields children { ...MenuFields } } } } } fragment MenuFields on MainMenu { name uri level isCutOffPoint } `}).pipe((0,g.T)(U=>U.data.mainMenuQuery))}registerActiveMenuResetter(){this.router.events.pipe((0,A.p)(U=>U instanceof n.wF)).subscribe(()=>{this._activeMenu.next(void 0)})}setActiveMenu(U){this._activeMenu.next(U)}mapMenuToUI(U){return{id:U.id,name:U.name,adminLinks:U.adminLinks,showMenuTitle:U.showMenuTitle,items:this.mapUIMenuItems(U.items)}}mapUIMenuItems(U){return U?U.filter(Boolean).map(R=>({id:R.id,title:R.title,children:this.mapUIMenuItems(R.children),active:!1,expand:!1,url:R.url,icon:R.icon,bannerImage:R.bannerImage,inActiveTrail:R.inActiveTrail})):[]}activateMenuItems(U){return U?.items&&U.items.map(b=>this.activateMenuItem(b)),U}activateMenuItem(U){return U.active=U.expand=U.url.path==this.location.path(),U.children.length&&(U.children=U.children.map(b=>{const G=this.activateMenuItem(b);return(G.active||G.expand)&&(U.expand=U.active=!0),G})),U}static#e=this.\u0275fac=function(b){return new(b||T)(M.KVO(y.Ic),M.KVO(n.Ix),M.KVO(B.aZ))};static#t=this.\u0275prov=M.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},3850:(_t,ge,f)=>{"use strict";f.d(ge,{R:()=>M});var n=f(177),r=f(3473),y=f(3207),F=f(6354),g=f(4438),A=f(345);let M=(()=>{class B{constructor(T,N,U,b){this.meta=T,this.title=N,this.apollo=U,this._doc=b,this.defaultTitle="T\xf6\xf6tukassa",this.allowedMetaSelectors=['name="title"','name="description"','name="robots"','property="og:site_name"','property="og:type"','property="og:url"','property="og:title"','property="og:description"','property="og:image"','property="og:locale"','property="article:publisher"'],this.allowedLinkSelectors=['rel="canonical"']}setMetatags(T){T&&T.forEach(N=>{if(N){const U=JSON.parse(N.attributes);"meta"===N.tag?(this.setTitle(U),this.addAllowedMetatags(U)):"link"===N.tag&&this.addAllowedLinks(U)}})}addAllowedLinks(T){this.allowedLinkSelectors.forEach(N=>{T.rel&&'rel="'+T.rel+'"'===N&&this.addLink(T.rel,T.href)})}addAllowedMetatags(T){this.allowedMetaSelectors.forEach(N=>{T.name&&'name="'+T.name+'"'===N?this.meta.addTag({name:T.name,content:T.content}):T.property&&'property="'+T.property+'"'===N&&this.meta.addTag({property:T.property,content:T.content})})}setTitle(T){T.name&&"title"===T.name&&this.title.setTitle(T.content)}setMetatagsByType(T){(0,y.s)(this.getMetatagsByType(T)).then(N=>this.setMetatags(N??null))}getMetatagsByType(T){return this.apollo.query({query:r.J1` query metatagsQuery($type: MetatagType!) { metatags(type: $type) { attributes tag } } `,variables:{type:T}}).pipe((0,F.T)(N=>N.data.metatags))}addLink(T,N){this.removeLink('rel="'+T+'"');const U=this._doc.createElement("link");U.setAttribute("rel",T),this._doc.head.appendChild(U),U.setAttribute("href",N)}removeLink(T){this._doc.querySelector("link["+T+"]")?.remove()}swipeTags(){this.allowedMetaSelectors.forEach(T=>{this.meta.removeTag(T)}),this.allowedLinkSelectors.forEach(T=>{this.removeLink(T)})}setDefaultTitle(){this.title.setTitle(this.defaultTitle)}static#e=this.\u0275fac=function(N){return new(N||B)(g.KVO(A.W8),g.KVO(A.hE),g.KVO(r.Ic),g.KVO(n.qQ))};static#t=this.\u0275prov=g.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},8295:(_t,ge,f)=>{"use strict";f.d(ge,{D:()=>F});var n=f(6354),r=f(4438),y=f(9327);let F=(()=>{class g{constructor(M){this.observer=M}isMobile(){return this.matches("(max-width: 767px)")}isTablet(){return this.matches("(min-width: 768px) and (max-width: 1024px)")}isLaptop(){return this.matches("(min-width: 1024px) and (max-width: 1279px)")}isDesktop(){return this.matches("(min-width: 1280px)")}biggerThanLaptop(){return this.matches("(min-width: 1024px)")}smallerThanLaptop(){return this.matches("(max-width: 1024px)")}smallerThanDesktop(){return this.matches("(max-width: 1279px)")}matches(M){return this.observer.observe(M).pipe((0,n.T)(B=>B.matches))}static#e=this.\u0275fac=function(B){return new(B||g)(r.KVO(y.QP))};static#t=this.\u0275prov=r.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},785:(_t,ge,f)=>{"use strict";f.d(ge,{E:()=>Vt});var n=f(4438),r=f(4925),y=f(8295),F=f(52),g=f(177),A=f(1734),M=f(3688),B=f(4710),V=f(628),T=f(4055),N=f(6968),U=f(6096),b=f(8358),G=f(5964),R=f(6354),ce=f(7116),J=f(3060);const Se=(qt,jt)=>({"tab-underline":qt,"hover-underline":jt}),Ne=qt=>({"filter grayscale brightness-125":qt});function ot(qt,jt){if(1&qt&&n.nrm(0,"img",12),2&qt){const Ot=n.XpG().$implicit;n.Y8G("alt",Ot.title)("src",null==Ot.icon||null==Ot.icon.image||null==Ot.icon.image.url?null:Ot.icon.image.url.path,n.B4B)("ngClass",n.eq3(3,Ne,!Ot.active))}}function dt(qt,jt){if(1&qt){const Ot=n.RV6();n.j41(0,"li",7)(1,"a",8),n.bIt("click",function(){const ut=n.eBV(Ot).$implicit;return n.Njj(ut.active=!0)}),n.DNE(2,ot,1,5,"img",9),n.j41(3,"span",10),n.nrm(4,"span",11),n.k0s()()()}if(2&qt){const Ot=jt.$implicit;n.R7$(),n.Y8G("routerLink",Ot.url.path),n.R7$(),n.Y8G("ngIf",null==Ot.icon||null==Ot.icon.image||null==Ot.icon.image.url?null:Ot.icon.image.url.path),n.R7$(2),n.Y8G("innerHTML",Ot.title,n.npT)("ngClass",n.l_i(4,Se,Ot.active,!Ot.active))}}function He(qt,jt){if(1&qt&&(n.j41(0,"div",1)(1,"div",2)(2,"h1",3),n.EFF(3),n.k0s(),n.j41(4,"nav",4)(5,"ul",5),n.DNE(6,dt,5,7,"li",6),n.k0s()()()()),2&qt){const Ot=n.XpG();n.xc7("--bg-img",Ot.activeMenuBannerUrl)("--bg-color",null==Ot.activeMenu||null==Ot.activeMenu.bannerImage?null:Ot.activeMenu.bannerImage.backgroundColor),n.R7$(3),n.SpI(" ",null==Ot.activeMenu?null:Ot.activeMenu.title," "),n.R7$(3),n.Y8G("ngForOf",null==Ot.activeMenu?null:Ot.activeMenu.children)}}let Ge=(()=>{class qt{get activeMenuBannerUrl(){return this.activeMenu?.bannerImage?`url(${this.activeMenu?.bannerImage?.image?.url?.path})`:""}static#e=this.\u0275fac=function(nt){return new(nt||qt)};static#t=this.\u0275cmp=n.VBU({type:qt,selectors:[["tk-sub-menu"]],inputs:{activeMenu:"activeMenu"},decls:1,vars:1,consts:[["role","main","class","landingpage-header relative z-30 bg-no-repeat print:bg-transparent",3,"--bg-img","--bg-color",4,"ngIf"],["role","main",1,"landingpage-header","relative","z-30","bg-no-repeat","print:bg-transparent"],[1,"md:","relative","grid","max-w-6xl","grid-cols-12","gap-6","px-6","pb-7","pt-11","md:py-21","xl:mx-auto","xl:px-0"],[1,"col-span-12","break-normal","font-nunito","text-4xl","font-extrabold","text-white","md:w-2/3","md:text-6xl","lg:text-7xl"],[1,"relative","col-span-full"],[1,"grid","grid-cols-1","gap-4","md:grid-cols-12","md:gap-6"],["class","col-span-full md:col-span-3",4,"ngFor","ngForOf"],[1,"col-span-full","md:col-span-3"],[1,"flex","h-full","flex-row","rounded-md","bg-white","px-4","py-5",3,"click","routerLink"],["class","hidden size-17 lg2:inline-block",3,"alt","src","ngClass",4,"ngIf"],[1,"self-center","text-base","font-medium","leading-snug","text-tk_text"],[1,"pb-3px",3,"innerHTML","ngClass"],[1,"hidden","size-17","lg2:inline-block",3,"alt","src","ngClass"]],template:function(nt,ut){1&nt&&n.DNE(0,He,7,6,"div",0),2&nt&&n.Y8G("ngIf",null==ut.activeMenu?null:ut.activeMenu.children)},dependencies:[g.YU,g.Sq,g.bT,B.Wk],encapsulation:2})}return qt})();const se=(qt,jt)=>({"tab-underline":qt,"hover-underline":jt});function Ae(qt,jt){if(1&qt&&(n.j41(0,"li")(1,"a",4),n.nrm(2,"img",5)(3,"span",6),n.k0s()()),2&qt){const Ot=jt.$implicit;n.R7$(),n.Y8G("routerLink",Ot.url.path),n.R7$(),n.Y8G("alt",Ot.title)("src",null==Ot.icon||null==Ot.icon.image||null==Ot.icon.image.url?null:Ot.icon.image.url.path,n.B4B),n.R7$(),n.Y8G("innerHTML",Ot.title,n.npT)("ngClass",n.l_i(5,se,Ot.active,!Ot.active))}}function we(qt,jt){if(1&qt&&(n.j41(0,"nav",1)(1,"ul",2),n.DNE(2,Ae,4,8,"li",3),n.k0s()()),2&qt){const Ot=n.XpG();n.R7$(2),n.Y8G("ngForOf",Ot.menu.items)}}let ue=(()=>{class qt{static#e=this.\u0275fac=function(nt){return new(nt||qt)};static#t=this.\u0275cmp=n.VBU({type:qt,selectors:[["tk-main-menu"]],inputs:{menu:"menu"},decls:1,vars:1,consts:[["class","hidden border-b border-tk_grey_300 desktop:block",4,"ngIf"],[1,"hidden","border-b","border-tk_grey_300","desktop:block"],[1,"mx-auto","grid","max-w-6xl","grid-cols-4","gap-6"],[4,"ngFor","ngForOf"],[1,"group","flex","flex-col","items-center","py-5",3,"routerLink"],[1,"mb-2","size-17",3,"alt","src"],[1,"pb-3px","text-center","text-lg","text-black","xl:text-1xl",3,"innerHTML","ngClass"]],template:function(nt,ut){1&nt&&n.DNE(0,we,3,1,"nav",0),2&nt&&n.Y8G("ngIf",ut.menu)},dependencies:[g.YU,g.Sq,g.bT,B.Wk],encapsulation:2})}return qt})();function Oe(qt,jt){if(1&qt&&n.nrm(0,"tk-main-menu",2),2&qt){const Ot=n.XpG();n.Y8G("menu",Ot.menu)}}let Ye=(()=>{class qt{constructor(Ot,nt,ut){this.menuService=Ot,this.router=nt,this.translateService=ut}ngOnInit(){this.getMenu(),this.translateService.events$.pipe((0,G.p)(Ot=>"langChanged"===Ot.type),(0,R.T)(Ot=>Ot.payload)).subscribe(()=>this.getMenu()),this.router.events.pipe((0,G.p)(Ot=>Ot instanceof B.wF)).subscribe(()=>{this.menu=this.menuService.activateMenuItems(this.menu),this.findActiveMain()})}getMenu(){this.menuService.getMainMenu().subscribe(Ot=>{this.menu=Ot,this.findActiveMain()})}findActiveMain(){this.menu&&(this.activeMenu=this.menu.items.find(Ot=>Ot.active||Ot.expand))}static#e=this.\u0275fac=function(nt){return new(nt||qt)(n.rXU(ce.$),n.rXU(B.Ix),n.rXU(J.JO))};static#t=this.\u0275cmp=n.VBU({type:qt,selectors:[["tk-nav"]],decls:2,vars:2,consts:[[3,"menu",4,"ngIf"],[3,"activeMenu"],[3,"menu"]],template:function(nt,ut){1&nt&&(n.DNE(0,Oe,1,1,"tk-main-menu",0),n.nrm(1,"tk-sub-menu",1)),2&nt&&(n.Y8G("ngIf",ut.menu),n.R7$(),n.Y8G("activeMenu",ut.activeMenu))},dependencies:[g.bT,Ge,ue],encapsulation:2})}return qt})();function yt(qt,jt){if(1&qt){const Ot=n.RV6();n.qex(0),n.j41(1,"div",1),n.bIt("swipeFromRightEdge",function(){n.eBV(Ot);const ut=n.XpG();return n.Njj(ut.openMobileMenu())}),n.nrm(2,"tk-cookie-consent")(3,"tk-header")(4,"tk-nav",2)(5,"tk-eures-esf-logos")(6,"tk-helpdesk"),n.j41(7,"main",3),n.nrm(8,"router-outlet"),n.k0s(),n.nrm(9,"tk-footer"),n.k0s(),n.bVm()}}function Yt(qt,jt){1&qt&&(n.qex(0),n.nrm(1,"tk-error-page"),n.bVm())}let Vt=(()=>{class qt{constructor(Ot,nt,ut){this.errorService=Ot,this.screenSize=nt,this.mobileMenuService=ut,this.stopped=this.errorService.stopped,this.isMobile=!1,this.isMobile$=this.screenSize.smallerThanLaptop()}ngOnInit(){this.isMobile$.subscribe(Ot=>this.isMobile=Ot)}openMobileMenu(){this.isMobile&&this.mobileMenuService.toggleMenu(!0)}static#e=this.\u0275fac=function(nt){return new(nt||qt)(n.rXU(r.I),n.rXU(y.D),n.rXU(F.d))};static#t=this.\u0275cmp=n.VBU({type:qt,selectors:[["tk-shell"]],decls:2,vars:2,consts:[[4,"ngIf"],["tkSwipe","",3,"swipeFromRightEdge"],["id","mainmenu"],["id","content",1,"sm:min-h-screen","md:min-h-0"]],template:function(nt,ut){1&nt&&n.DNE(0,yt,10,0,"ng-container",0)(1,Yt,2,0,"ng-container",0),2&nt&&(n.Y8G("ngIf",!ut.stopped),n.R7$(),n.Y8G("ngIf",ut.stopped))},dependencies:[g.bT,A.n,M.l,B.n3,V._,T.W,N.m,U.z,b.a,Ye],styles:["router-outlet[_ngcontent-%COMP%] + *{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:1.5rem}"]})}return qt})()},4312:(_t,ge,f)=>{"use strict";f.d(ge,{D:()=>B});var n=f(4710),r=f(3473),y=f(4412),F=f(4668),g=f(5964),A=f(6354),M=f(4438);let B=(()=>{class V{constructor(N,U){this.apollo=N,this.router=U,this._user=new y.t(void 0),this.user$=this._user.asObservable().pipe((0,F.t)()),this.updateUser(),this.router.events.pipe((0,g.p)(b=>b instanceof n.Z)).subscribe(()=>{this.updateUser()})}updateUser(){this.apollo.query({query:r.J1` query UserData { loginUserQuery { idcode email role { id name type regcode representeeIdcode } } } `,fetchPolicy:"no-cache",errorPolicy:"all"}).subscribe(N=>{const U=N.data.loginUserQuery??null;this.areDifferentUsers(this.currentUser,U)&&this._user.next(U)},()=>{this._user.next(void 0)})}get currentUser(){return this._user.getValue()}areDifferentUsers(N,U){return!(N&&U||N===U)||N?.role?.id!==U?.role?.id}getUserRoles(){return this.apollo.query({query:r.J1` query userRoles { loginUserRolesQuery { personRole { ...role } companyRoles { ...role } personRepresentativeRoles { ...role } } } fragment role on LoginUserRole { id name type } `,fetchPolicy:"no-cache"}).pipe((0,A.T)(N=>N.data.loginUserRolesQuery))}static#e=this.\u0275fac=function(U){return new(U||V)(M.KVO(r.Ic),M.KVO(n.Ix))};static#t=this.\u0275prov=M.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}return V})()},4355:(_t,ge,f)=>{"use strict";f.d(ge,{Rk:()=>M,VK:()=>g,fL:()=>B,gH:()=>y,sY:()=>A,zD:()=>r});var r=function(V){return V.EMAIL="EMAIL",V.MAIL="MAIL",V}(r||{}),y=function(V){return V.UNEDUCATED="IS_UNEDUCATED",V.EDUCATION_OUTDATED="IS_EDUCATION_OUTDATED",V.HEALTH_PROBLEM="IS_HEALTH_PROBLEM",V.OIL_SHALE_SECTOR="IS_OIL_SHALE_SECTOR",V}(y||{}),F=function(V){return V.TRADE="TRADE",V.APPLIED_HIGHER="APPLIED_HIGHER",V.BACHELOR="BACHELOR",V}(F||{});const g=[{key:r.EMAIL,valueTranslationKey:"formalstudysubsidy.feselfservice/formalstudysubsidy/applicantData/decisionSendType/email"},{key:r.MAIL,valueTranslationKey:"formalstudysubsidy.feselfservice/formalstudysubsidy/applicantData/decisionSendType/mail"}],A=[{value:y.UNEDUCATED,translationKey:"formalstudysubsidy.feselfservice/formalstudysubsidy/studyData/educationConfirmation/uneducated"},{value:y.EDUCATION_OUTDATED,translationKey:"formalstudysubsidy.feselfservice/formalstudysubsidy/studyData/educationConfirmation/educationOutdated"},{value:y.HEALTH_PROBLEM,translationKey:"formalstudysubsidy.feselfservice/formalstudysubsidy/studyData/educationConfirmation/healthIssue"},{value:y.OIL_SHALE_SECTOR,translationKey:"formalstudysubsidy.feselfservice/formalstudysubsidy/studyData/educationConfirmation/oilShaleSector"}],M=[{key:F.TRADE,valueTranslationKey:"formalstudysubsidy.feselfservice/formalstudysubsidy/studyData/educationType/trade"},{key:F.APPLIED_HIGHER,valueTranslationKey:"formalstudysubsidy.feselfservice/formalstudysubsidy/studyData/educationType/appliedHigher"},{key:F.BACHELOR,valueTranslationKey:"formalstudysubsidy.feselfservice/formalstudysubsidy/studyData/educationType/bachelor"}],B="/v1/person/application/tkformalstudysubsidy"},8376:(_t,ge,f)=>{"use strict";f.d(ge,{B:()=>n});const n=20},5572:(_t,ge,f)=>{"use strict";f.d(ge,{f:()=>A});var n=f(4355),r=f(1626),y=f(4438),F=f(5312);class g{constructor(){this.httpClient=(0,y.WQX)(r.Qq)}get path(){return F.c.selfServiceBackEndURL+this.applicationPath}addFile(B,V){const T=new FormData;return T.append("file",V),this.httpClient.post(`${this.path}/${B}/attached-files`,T,{reportProgress:!0,observe:"events"})}getFile(B,V){return this.httpClient.get(`${this.path}/${B}/attached-files/${V}`,{responseType:"blob"})}deleteFile(B,V){return this.httpClient.delete(`${this.path}/${B}/attached-files/${V}`)}getSentFiles(B){return this.httpClient.get(`${this.path}/${B}/sent-files`)}}let A=(()=>{class M extends g{get applicationPath(){return n.fL}static#e=this.\u0275fac=(()=>{let V;return function(N){return(V||(V=y.xGo(M)))(N||M)}})();static#t=this.\u0275prov=y.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},2950:(_t,ge,f)=>{"use strict";f.d(ge,{v:()=>r});const r=new(f(4438).nKC)("file.service.interface")},6049:(_t,ge,f)=>{"use strict";f.d(ge,{$:()=>U});var n=f(4312),r=f(4355),y=function(b){return b[b.BAD_REQUEST=400]="BAD_REQUEST",b[b.VALIDATION_ERROR=422]="VALIDATION_ERROR",b[b.SERVER_ERROR=500]="SERVER_ERROR",b}(y||{}),F=f(5312),g=f(8810),A=f(1397),M=f(5964),B=f(9437),V=f(4438),T=f(7442),N=f(3060);let U=(()=>{class b{constructor(R,ce,J){this.messageService=R,this.translateService=ce,this.injector=J,this.URLS_TO_INTERCEPT=[F.c.selfServiceBackEndURL+r.fL+"+"],this.handleError=Se=>(Se.status===y.BAD_REQUEST?this.displayValidationErrors(Se):this.messageService.setErrorMessage(this.getGeneralErrorMessage()),(0,g.$)(()=>new Error(this.getGeneralErrorMessage())))}intercept(R,ce){return this.isInterceptable(R.url)?this.injector.get(n.D).user$.pipe((0,M.p)(Se=>null!=Se),(0,A.Z)(Se=>(R=R.clone({headers:R.headers.append("X-Test-Isikukood",Se.idcode)}),ce.handle(R).pipe((0,B.W)(this.handleError))))):ce.handle(R)}isInterceptable(R){return this.URLS_TO_INTERCEPT.some(ce=>new RegExp(ce).test(R))}displayValidationErrors(R){const ce=R.error;Array.isArray(ce)?Object.entries(ce).forEach(([J,Se],Ne)=>{this.messageService.setErrorMessage(J+": "+Se.code)}):this.messageService.setErrorMessage(this.getGeneralErrorMessage())}getGeneralErrorMessage(){return this.translateService.translate("selfservice.feselfservice/application/error/general")}static#e=this.\u0275fac=function(ce){return new(ce||b)(V.KVO(T.b),V.KVO(N.JO),V.KVO(V.zZn))};static#t=this.\u0275prov=V.jDH({token:b,factory:b.\u0275fac})}return b})()},5648:(_t,ge,f)=>{"use strict";f.d(ge,{e:()=>F});var n=f(3473),r=f(6354),y=f(4438);let F=(()=>{class g{constructor(M){this.apollo=M}getContentPage(M){return this.apollo.query({query:n.J1` query contentpage($uuid: String!) { contentPage(uuid: $uuid) { ... on ContentPage { id title body { summary value } files { id name ... on MediaFile { fileData { url { path } } } } languageSwitchLinks { title url { path } } corMenu adminLinks { title url { path } } infoAccordions { bundle title body { value } } } } } `,variables:{uuid:M}}).pipe((0,r.T)(B=>B.data.contentPage))}static#e=this.\u0275fac=function(B){return new(B||g)(y.KVO(n.Ic))};static#t=this.\u0275prov=y.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},2680:(_t,ge,f)=>{"use strict";f.d(ge,{A:()=>g});var n=f(6032),r=f(3473),y=f(6354),F=f(4438);let g=(()=>{class A{constructor(B){this.apollo=B}searchJobOffers(B,V,T){return T=A.sanitizeJobOfferSearchInput(T),this.apollo.query({query:r.J1` query jobOfferSearch( $first: Int $cursor: Cursor $searchInput: InputToopakkumineAvalikOtsingDTO ) { jobOffersQuery(first: $first, after: $cursor, searchInput: $searchInput) { edges { id nimetus alias ametinimetusTapsustus aadressid kandideerimineKp brandNimi asutusNimi asutusId pilt onKodusTootamine onTaiskohaga onOsakohaga kinnitamineKp kandideerimineAeg eemaldamineAeg konsultandiTeavitamiseAeg kandideerimineKutsumineAeg kandideerimineLoobumineAeg kandideerimineSuunamineAeg kandideerimineTagasilukkamineAeg salvestamineAeg vaatamineAeg } pageInfo { endCursor hasNextPage totalCount } } } `,variables:{first:B,cursor:V,searchInput:T}}).pipe((0,y.T)(N=>N.data.jobOffersQuery))}getEmployer(B){return this.apollo.query({query:r.J1` query employerQuery($id: Int!) { employerQuery(toopakkujaId: $id) { id nimi registrikood tutvustus logod { failLiik mimeTyyp failId failiSisu } kontaktid { kontaktLiik vaartus } } } `,variables:{id:B}}).pipe((0,y.T)(V=>V.data.employerQuery))}getPublicJobOfferById(B){return this.apollo.query({query:r.J1` query jobofferquery($id: Int!) { publicJobOfferQuery(jobOfferId: $id) { id empisId asutusId brandId toopakkujaBrand { nimi } koduleht nimetus ametinimetusTapsustus staatusKood onPeamineLogoNahtav kandideerimineKp avalikKontaktisik { nimi email ametikoht telefon } tookohaAndmed { kohtadeArv onKodusTootamine toosuhteKestusKood tahtaegTapsustus koormus onOsakohaga onTaiskohaga onVahetustega onOositi tooaegTapsustus tooleAsuminePaev tooleAsumineKuu tooleAsumineAasta tootasuAlates tootasuKuni onPalkAvalik tootasuTapsustus tooylesanded omaltPooltPakume } noudedKandidaadile { varasemTookogemus haridusTase arvutiOskusTase arvutiOskusTapsustus nouded lisainfoKandideerijale linkKeskkonda muuDokumentKirjeldus onNoutudYksKeel hariduseValdkonnad kandideerimiseDokumendid ametitunnistused kutsetunnistused juhiload keeleoskused { onNoutud keel taseKirjas taseKones } } rekvisiidid { kinnitamiseKp lisamiseKp } aadressid { adrId adobId postiindeks aadressTekst aadressTapsustus } logod { asutusFailId } toopakkuja { nimi registrikood tutvustus } metatags { tag attributes } tolked { tolgeKood vaartusEn vaartusRu } } } `,variables:{id:B}}).pipe((0,y.T)(V=>V.data.publicJobOfferQuery))}findClassifiers(B){return this.apollo.query({query:r.J1` query classifierQuery($code: String!, $criteria: [String]) { empisDomainCodeListQuery( searchInput: { domeen: $code, sisaldabKriteeriumit: $criteria } ) { kood vaartus } } `,variables:{code:B,criteria:B===n.yG.EDUCATION_LEVEL?[n.u8.JOBOFFER]:null}}).pipe((0,y.T)(V=>V.data.empisDomainCodeListQuery?.filter(T=>!!T.kood)))}getIscoList(){return this.apollo.query({query:r.J1` query iscoGroups { iscoGroups(level: 1) { id nimetus } } `}).pipe((0,y.T)(B=>B.data.iscoGroups))}getSearchStatistics(B){const V=r.J1` query jobSearchStatistics($searchInput: InputToopakkumineAvalikOtsingDTO!) { jobOffersStatistics(searchInput: $searchInput) { kokku tookohti } } `,T={searchInput:B?A.sanitizeJobOfferSearchInput(B):{}};return this.apollo.query({query:V,variables:T}).pipe((0,y.T)(N=>N.data.jobOffersStatistics))}static sanitizeJobOfferSearchInput(B){return B.kaugtoo=this.intOrDefault(B.kaugtoo,0),B.palkAvalik=this.intOrDefault(B.palkAvalik,0),B.eestiToopakkumine=this.intOrDefault(B.eestiToopakkumine,0),B.kinnitamiseVanusPaeviMaks=this.intOrDefault(B.kinnitamiseVanusPaeviMaks),B.varasemTookogemusAastaidMin=this.intOrDefault(B.varasemTookogemusAastaidMin),B.varasemTookogemusAastaidMaks=this.intOrDefault(B.varasemTookogemusAastaidMaks),B}static intOrDefault(B,V=null){return null!=B?parseInt(B):V}mark(B){return this.apollo.mutate({mutation:r.J1` mutation markJobOffer($id: Int!) { jobSeekerMarkJobOffer(jobOfferId: $id) } `,variables:{id:B}}).pipe((0,y.T)(V=>V.data.jobSeekerMarkJobOffer))}discard(B){return this.apollo.mutate({mutation:r.J1` mutation discardJobOffer($id: Int!) { jobSeekerDiscardJobOffer(jobOfferId: $id) } `,variables:{id:B}}).pipe((0,y.T)(V=>V.data.jobSeekerDiscardJobOffer))}decline(B){return this.apollo.mutate({mutation:r.J1` mutation declineJobOffer($id: Int!) { jobSeekerDeclineJobOffer(jobOfferId: $id) } `,variables:{id:B}}).pipe((0,y.T)(V=>V.data.jobSeekerDeclineJobOffer))}getJobSeekerActionLog(B){return this.apollo.query({query:r.J1` query jobSeekerActionLog($jobOfferId: Int!) { jobSeekerActionsForJobOfferQuery(jobOfferId: $jobOfferId) { liik tegevusAeg lisainfo failid { id nimi } } } `,variables:{jobOfferId:B},fetchPolicy:"no-cache"}).pipe((0,y.T)(V=>V.data.jobSeekerActionsForJobOfferQuery))}getJobSeekerOfferView(B){return this.apollo.query({query:r.J1` query jobSeekerJobOffer($jobOfferId: Int!) { jobSeekerJobOfferQuery(jobOfferId: $jobOfferId) { id empisId asutusId brandId toopakkujaBrand { nimi } koduleht nimetus ametinimetusTapsustus onPeamineLogoNahtav kandideerimineKp staatusKood avalikKontaktisik { nimi email ametikoht telefon } tookohaAndmed { kohtadeArv onKodusTootamine toosuhteKestusKood tahtaegTapsustus koormus onOsakohaga onTaiskohaga onVahetustega onOositi tooaegTapsustus tooleAsuminePaev tooleAsumineKuu tooleAsumineAasta tootasuAlates tootasuKuni onPalkAvalik tootasuTapsustus tooylesanded omaltPooltPakume } noudedKandidaadile { varasemTookogemus haridusTase arvutiOskusTase arvutiOskusTapsustus nouded lisainfoKandideerijale linkKeskkonda muuDokumentKirjeldus onNoutudYksKeel hariduseValdkonnad kandideerimiseDokumendid ametitunnistused kutsetunnistused juhiload keeleoskused { onNoutud keel taseKirjas taseKones } } rekvisiidid { kinnitamiseKp lisamiseKp } aadressid { adrId adobId postiindeks aadressTekst aadressTapsustus } logod { asutusFailId } toopakkuja { nimi registrikood tutvustus } tolked { tolgeKood vaartusEn vaartusRu } } } `,variables:{jobOfferId:B}}).pipe((0,y.T)(V=>V.data?.jobSeekerJobOfferQuery))}getJobSeekerActionsForJobOffer(B){return this.apollo.query({query:r.J1` query jobSeekerActionsForOffer($jobOfferId: Int!) { jobSeekerActionsForJobOfferQuery(jobOfferId: $jobOfferId) { id liik tegevusAeg lisainfo toopakkumineId toopakkumineNimetus failid { id nimi } } } `,variables:{jobOfferId:B},fetchPolicy:"no-cache"}).pipe((0,y.T)(V=>V.data.jobSeekerActionsForJobOfferQuery))}getJobSeekerCV(){return this.apollo.query({query:r.J1` query getJobSeekerCv { jobSeekerCvQuery { id email } } `,fetchPolicy:"no-cache"}).pipe((0,y.T)(B=>B.data.jobSeekerCvQuery))}sendJobSeekerPageView(B){return this.apollo.mutate({mutation:r.J1` mutation sendJobSeekerJobOfferPageView($jobOfferId: Int!) { sendJobSeekerJobOfferPageView(jobOfferId: $jobOfferId) } `,variables:{jobOfferId:B}}).pipe((0,y.T)(V=>V.data.sendJobOfferPageView))}sendPageView(B){return this.apollo.mutate({mutation:r.J1` mutation sendPublicJobOfferView($jobOfferId: Int!) { sendJobOfferPageView(jobOfferId: $jobOfferId) } `,variables:{jobOfferId:B}}).pipe((0,y.T)(V=>V.data.sendJobOfferPageView))}getJobSeekerEmployerLog(B){return this.apollo.query({query:r.J1` query employerLog($employerId: Int!) { jobSeekerActionsForEmployerQuery(employerId: $employerId) { liik tegevusAeg lisainfo toopakkumineId toopakkumineNimetus failid { nimi } } } `,variables:{employerId:B}})}getJobSeekerLogActionBody(B){return this.apollo.query({query:r.J1` query noticeBody($jobOfferId: Int!, $actionId: Int!, $actionType: String!) { jobSeekerJobOfferActionDetailsQuery( jobOfferId: $jobOfferId actionId: $actionId actionType: $actionType ) { keha } } `,variables:{jobOfferId:B.toopakkumineId,actionId:B.id,actionType:B.liik}}).pipe((0,y.T)(V=>V.data.jobSeekerJobOfferActionDetailsQuery.keha))}getEmailBody(B){return this.apollo.query({query:r.J1` query jobOfferEmailBody($jobOfferId: Int!) { publicJobOfferEmailContentQuery(jobOfferId: $jobOfferId) { keha } } `,variables:{jobOfferId:B}}).pipe((0,y.T)(V=>V.data.publicJobOfferEmailContentQuery))}shareByEmail(B,V,T){return this.apollo.mutate({mutation:r.J1` mutation sendJobofferEmail($id: Int!, $email: InputEmailDTO) { sharePublicJobOffer(jobOfferId: $id, emailInput: $email) } `,variables:{id:B,email:V},context:{headers:{"x-turnstile-token":T}}})}getMatchingJobOffers(B,V,T){return this.apollo.query({query:r.J1` query matchingJobOffers($after: Cursor, $first: Int!, $hash: String!) { jobSeekerMatchingJobOffersQuery(after: $after, first: $first, hash: $hash) { token total sentTime jobOffers { id nimetus alias ametinimetusTapsustus aadressid kandideerimineKp brandNimi asutusNimi asutusId pilt onKodusTootamine onTaiskohaga onOsakohaga kinnitamineKp kandideerimineAeg eemaldamineAeg konsultandiTeavitamiseAeg kandideerimineKutsumineAeg kandideerimineLoobumineAeg kandideerimineSuunamineAeg kandideerimineTagasilukkamineAeg salvestamineAeg vaatamineAeg } } } `,variables:{after:B,first:V,hash:T}}).pipe((0,y.T)(N=>N.data.jobSeekerMatchingJobOffersQuery))}applyJobOffer(B,V=null,T=null,N=null){return this.apollo.mutate({mutation:r.J1` mutation applyJobOffer( $additionalInfo: String $email: String $file: [Upload] $jobOfferId: Int! ) { jobSeekerApplyJobOffer( additionalInfo: $additionalInfo email: $email file: $file jobOfferId: $jobOfferId ) } `,variables:{additionalInfo:N,email:T,file:V,jobOfferId:B},context:{useMultipart:!0}}).pipe((0,y.T)(U=>U.data.jobSeekerApplyJobOffer))}static#e=this.\u0275fac=function(V){return new(V||A)(F.KVO(r.Ic))};static#t=this.\u0275prov=F.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},362:(_t,ge,f)=>{"use strict";f.d(ge,{c:()=>Ft});var n=f(177),r=f(4355),y=f(5572),F=f(2950),g=f(3060),A=f(4663),M=f(2145),B=f(8972),V=f(7050),T=f(9166),N=f(1226),U=f(9496),b=f(4438),G=f(6553),R=f(5584),ce=f(1625),J=f(5945),Se=f(8575),Ne=f(2180),ot=f(3665);const dt=["application",""],He=Le=>({educationDurationYears:Le}),Ge=Le=>({educationDurationMonths:Le});function se(Le,pe){if(1&Le&&(b.qex(0),b.j41(1,"dt",3),b.EFF(2),b.k0s(),b.j41(3,"dd",4),b.EFF(4),b.k0s(),b.bVm()),2&Le){const Pe=b.XpG(2).$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/bankAccount/ownerName")," "),b.R7$(2),b.Lme(" ",et.application.bankAccount.ownerFirstName," ",et.application.bankAccount.ownerLastName," ")}}function Ae(Le,pe){if(1&Le&&(b.qex(0),b.j41(1,"dt",3),b.EFF(2),b.k0s(),b.j41(3,"dd",4),b.EFF(4),b.k0s(),b.bVm()),2&Le){const Pe=b.XpG(2).$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/bankAccount/backName")," "),b.R7$(2),b.JRh(et.application.bankAccount.bankName)}}function we(Le,pe){if(1&Le&&(b.qex(0),b.j41(1,"dt",3),b.EFF(2),b.k0s(),b.j41(3,"dd",4),b.EFF(4),b.k0s(),b.bVm()),2&Le){const Pe=b.XpG(2).$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/bankAccount/swift")," "),b.R7$(2),b.JRh(et.application.bankAccount.swift)}}function ue(Le,pe){if(1&Le&&(b.j41(0,"ui-column")(1,"h3"),b.EFF(2),b.k0s(),b.j41(3,"dl",2)(4,"dt",3),b.EFF(5),b.k0s(),b.j41(6,"dd",4),b.EFF(7),b.k0s(),b.DNE(8,se,5,3,"ng-container",5)(9,Ae,5,2,"ng-container",5)(10,we,5,2,"ng-container",5),b.k0s()()),2&Le){const Pe=b.XpG().$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/bankAccount")," "),b.R7$(3),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/bankAccount/number")," "),b.R7$(2),b.JRh(et.application.bankAccount.iban),b.R7$(),b.Y8G("ngIf",et.application.bankAccount.isDifferentOwner),b.R7$(),b.Y8G("ngIf",et.application.bankAccount.bankName),b.R7$(),b.Y8G("ngIf",et.application.bankAccount.swift)}}function Oe(Le,pe){if(1&Le&&(b.j41(0,"p",7),b.EFF(1),b.k0s()),2&Le){const Pe=pe.$implicit,et=b.XpG().$implicit;b.R7$(),b.SpI(" ",et(Pe.translationKey)," ")}}function Ye(Le,pe){if(1&Le&&(b.qex(0),b.j41(1,"dt",3),b.EFF(2),b.k0s(),b.j41(3,"dd",4),b.EFF(4),b.k0s(),b.bVm()),2&Le){const Pe=b.XpG().$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/educationType")," "),b.R7$(2),b.SpI(" ",Pe(et.educationType.valueTranslationKey)," ")}}function yt(Le,pe){if(1&Le&&(b.qex(0),b.j41(1,"dt",3),b.EFF(2),b.k0s(),b.j41(3,"dd",4),b.EFF(4),b.k0s(),b.bVm()),2&Le){const Pe=b.XpG().$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/educationInstitutionName")," "),b.R7$(2),b.JRh(et.application.educationInstitutionName)}}function Yt(Le,pe){if(1&Le&&(b.qex(0),b.j41(1,"dt",3),b.EFF(2),b.k0s(),b.j41(3,"dd",4),b.EFF(4),b.k0s(),b.bVm()),2&Le){const Pe=b.XpG().$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/educationSpeciality")," "),b.R7$(2),b.JRh(et.application.educationSpeciality)}}function Vt(Le,pe){if(1&Le&&(b.qex(0),b.j41(1,"dt",3),b.EFF(2),b.k0s(),b.j41(3,"dd",4),b.EFF(4),b.nI1(5,"tkDate"),b.k0s(),b.bVm()),2&Le){const Pe=b.XpG().$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/educationStartDate")," "),b.R7$(2),b.JRh(b.bMT(5,2,et.application.educationStartDate))}}function qt(Le,pe){if(1&Le&&(b.qex(0),b.EFF(1),b.bVm()),2&Le){const Pe=b.XpG(2).$implicit,et=b.XpG();b.R7$(),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/educationDurationYears",b.eq3(1,He,et.application.educationDurationYears))," ")}}function jt(Le,pe){if(1&Le&&(b.qex(0),b.EFF(1),b.bVm()),2&Le){const Pe=b.XpG(2).$implicit,et=b.XpG();b.R7$(),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/educationDurationMonths",b.eq3(1,Ge,et.application.educationDurationMonths))," ")}}function Ot(Le,pe){if(1&Le&&(b.qex(0),b.j41(1,"dt",3),b.EFF(2),b.k0s(),b.j41(3,"dd",4),b.DNE(4,qt,2,3,"ng-container",5)(5,jt,2,3,"ng-container",5),b.k0s(),b.bVm()),2&Le){const Pe=b.XpG().$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/educationDuration")," "),b.R7$(2),b.Y8G("ngIf",et.application.educationDurationYears),b.R7$(),b.Y8G("ngIf",et.application.educationDurationMonths)}}function nt(Le,pe){if(1&Le&&(b.qex(0),b.j41(1,"dt",8),b.EFF(2),b.k0s(),b.j41(3,"dd",9),b.EFF(4),b.k0s(),b.bVm()),2&Le){const Pe=b.XpG().$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/additionalInfo")," "),b.R7$(2),b.JRh(et.application.additionalInfo)}}function ut(Le,pe){if(1&Le){const Pe=b.RV6();b.j41(0,"li")(1,"button",11),b.bIt("click",function(){const Pt=b.eBV(Pe).$implicit,Fn=b.XpG(3);return b.Njj(Fn.downloadFile(Pt.id,Pt.name))}),b.EFF(2),b.k0s()()}if(2&Le){const Pe=pe.$implicit;b.R7$(2),b.SpI(" ",Pe.name," ")}}function tt(Le,pe){if(1&Le&&(b.j41(0,"ui-column")(1,"h3"),b.EFF(2),b.k0s(),b.j41(3,"ul"),b.DNE(4,ut,3,1,"li",10),b.k0s()()),2&Le){const Pe=b.XpG().$implicit,et=b.XpG();b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/applicationFiles")," "),b.R7$(2),b.Y8G("ngForOf",et.application.files)}}function rt(Le,pe){if(1&Le&&(b.qex(0),b.j41(1,"ui-column",1)(2,"ui-column")(3,"h2"),b.EFF(4),b.k0s(),b.j41(5,"dl",2)(6,"dt",3),b.EFF(7),b.k0s(),b.j41(8,"dd",4),b.EFF(9,"Seda meil pole"),b.k0s(),b.j41(10,"dt",3),b.EFF(11),b.k0s(),b.j41(12,"dd",4),b.EFF(13,"Seda meil pole"),b.k0s(),b.j41(14,"dt",3),b.EFF(15),b.k0s(),b.j41(16,"dd",4),b.EFF(17,"Seda ka ei ole"),b.k0s()()(),b.j41(18,"ui-column")(19,"h3"),b.EFF(20),b.k0s(),b.j41(21,"dl",2)(22,"dt",3),b.EFF(23),b.k0s(),b.j41(24,"dd",4),b.EFF(25),b.k0s(),b.j41(26,"dt",3),b.EFF(27),b.k0s(),b.j41(28,"dd",4),b.EFF(29),b.k0s(),b.j41(30,"dt",3),b.EFF(31),b.k0s(),b.j41(32,"dd",4),b.EFF(33),b.k0s(),b.j41(34,"dt",3),b.EFF(35),b.k0s(),b.j41(36,"dd",4),b.EFF(37),b.k0s()()(),b.DNE(38,ue,11,6,"ui-column",5),b.j41(39,"ui-column")(40,"h2"),b.EFF(41),b.k0s(),b.j41(42,"ui-label"),b.EFF(43),b.k0s(),b.DNE(44,Oe,2,1,"p",6),b.k0s(),b.j41(45,"ui-column")(46,"h3"),b.EFF(47),b.k0s(),b.j41(48,"dl",2),b.DNE(49,Ye,5,2,"ng-container",5)(50,yt,5,2,"ng-container",5)(51,Yt,5,2,"ng-container",5)(52,Vt,6,4,"ng-container",5)(53,Ot,6,3,"ng-container",5)(54,nt,5,2,"ng-container",5),b.k0s()(),b.DNE(55,tt,5,2,"ui-column",5),b.k0s(),b.bVm()),2&Le){const Pe=pe.$implicit,et=b.XpG();b.R7$(4),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/title")," "),b.R7$(3),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/firstName")," "),b.R7$(4),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/lastName")," "),b.R7$(4),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/idcode")," "),b.R7$(5),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/contacts")," "),b.R7$(3),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/email")," "),b.R7$(2),b.JRh(et.application.email),b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/phone")," "),b.R7$(2),b.JRh(et.application.phone),b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/address")," "),b.R7$(2),b.JRh(null==et.application.address?null:et.application.address.addressText),b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/applicantData/decisionSendType")," "),b.R7$(2),b.SpI(" ",Pe(et.decisionSendType.valueTranslationKey)," "),b.R7$(),b.Y8G("ngIf",et.application.bankAccount),b.R7$(3),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/title")," "),b.R7$(2),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/studyData/confirmationBlock/title")," "),b.R7$(),b.Y8G("ngForOf",et.checkedConfirmations),b.R7$(3),b.SpI(" ",Pe("formalstudysubsidy.feselfservice/formalstudysubsidy/details/studyingData/educationData")," "),b.R7$(2),b.Y8G("ngIf",et.educationType),b.R7$(),b.Y8G("ngIf",et.application.educationInstitutionName),b.R7$(),b.Y8G("ngIf",et.application.educationSpeciality),b.R7$(),b.Y8G("ngIf",et.application.educationStartDate),b.R7$(),b.Y8G("ngIf",et.application.educationDurationMonths||et.application.educationDurationYears),b.R7$(),b.Y8G("ngIf",et.application.additionalInfo),b.R7$(),b.Y8G("ngIf",null==et.application.files?null:et.application.files.length)}}let Ft=(()=>{class Le{constructor(Pe){this.fileService=Pe}ngOnInit(){this.checkedConfirmations=r.sY.filter(Pe=>this.application.educationConfirmations?.includes(Pe.value)),this.educationType=r.Rk.find(Pe=>this.application.educationType===Pe.key),this.decisionSendType=r.VK.find(Pe=>this.application.decisionSendType===Pe.key)}downloadFile(Pe,et){this.fileService.getFile(this.application.applicationId,Pe).subscribe(Pt=>{(0,M.u)(Pt,et)})}static#e=this.\u0275fac=function(et){return new(et||Le)(b.rXU(F.v))};static#t=this.\u0275cmp=b.VBU({type:Le,selectors:[["tk-application-details","application",""]],inputs:{application:"application"},standalone:!0,features:[b.Jv_([{provide:F.v,useClass:y.f}]),b.aNF],attrs:dt,decls:1,vars:0,consts:[[4,"transloco"],[1,"gap-y-2","tablet:gap-y-6"],["uiDl",""],["uiDt",""],["uiDd",""],[4,"ngIf"],["class","mobile-body-sm !mb-2",4,"ngFor","ngForOf"],[1,"mobile-body-sm","!mb-2"],["uiDt","",1,"pb-1"],["uiDd","","large",""],[4,"ngFor","ngForOf"],["ui-button","","variant","link","size","md","type","button",1,"mobile-body-sm","mb-2","break-all",3,"click"]],template:function(et,Pt){1&et&&b.DNE(0,rt,56,25,"ng-container",0)},dependencies:[B.t,G.Q,V.q,n.MD,n.Sq,n.bT,A.z,R.i,T.b,ce.e,J.U,Se.y,U.R,Ne.I,g.bA,N.L,ot.C],encapsulation:2})}return Le})()},3244:(_t,ge,f)=>{"use strict";f.d(ge,{V:()=>F});var n=f(4438),r=f(177);const y=["*"];let F=(()=>{class g{constructor(M){this.scroller=M,this.selectedPanelId=null}ngAfterViewInit(){this.scroller.setOffset([0,60]),setTimeout(()=>{this.selectedPanelId&&this.scroller.scrollToAnchor(this.selectedPanelId)},0)}static#e=this.\u0275fac=function(B){return new(B||g)(n.rXU(r.Xr))};static#t=this.\u0275cmp=n.VBU({type:g,selectors:[["tk-accordion-content"]],inputs:{selectedPanelId:"selectedPanelId"},ngContentSelectors:y,decls:1,vars:0,template:function(B,V){1&B&&(n.NAR(),n.SdG(0))},encapsulation:2})}return g})()},2776:(_t,ge,f)=>{"use strict";f.d(ge,{l:()=>M});var n=f(4438),r=f(2299),y=f(177);function F(B,V){if(1&B){const T=n.RV6();n.j41(0,"button",2),n.bIt("click",function(){n.eBV(T);const U=n.XpG();return n.Njj(U.goBack(U.backLink))}),n.nrm(1,"span",3),n.EFF(2),n.k0s()}if(2&B){const T=n.XpG();n.R7$(2),n.SpI(" ",T.backLink.currentLangText,"\n")}}function g(B,V){if(1&B&&(n.qex(0),n.j41(1,"a",5),n.nrm(2,"span",3),n.EFF(3),n.k0s(),n.bVm()),2&B){const T=n.XpG(2);n.R7$(),n.Y8G("href",T.fallback.url,n.B4B),n.R7$(2),n.SpI("",T.fallback.title," ")}}function A(B,V){if(1&B&&n.DNE(0,g,4,2,"ng-container",4),2&B){const T=n.XpG();n.Y8G("ngIf",T.fallback)}}let M=(()=>{class B{constructor(T){this.service=T,this.backLink=T.getCurrentBackLink()}goBack(T){this.service.goBack(T)}static#e=this.\u0275fac=function(N){return new(N||B)(n.rXU(r.t))};static#t=this.\u0275cmp=n.VBU({type:B,selectors:[["tk-back-link"]],inputs:{fallback:"fallback"},decls:3,vars:2,consts:[["fallbackTemplate",""],["class","inline-block max-w-xxs truncate font-medium text-black hover:text-tk_link md:max-w-none",3,"click",4,"ngIf","ngIfElse"],[1,"inline-block","max-w-xxs","truncate","font-medium","text-black","hover:text-tk_link","md:max-w-none",3,"click"],[1,"mr-1","inline-block","size-3","bg-ico-back-link-chevron","bg-contain"],[4,"ngIf"],[1,"inline-block","max-w-xxs","truncate","font-medium","text-black","hover:text-tk_link","md:max-w-none",3,"href"]],template:function(N,U){if(1&N&&n.DNE(0,F,3,1,"button",1)(1,A,1,1,"ng-template",null,0,n.C5r),2&N){const b=n.sdS(2);n.Y8G("ngIf",U.backLink)("ngIfElse",b)}},dependencies:[y.bT],encapsulation:2,changeDetection:0})}return B})()},2299:(_t,ge,f)=>{"use strict";f.d(ge,{t:()=>N});var n=f(177),r=f(4438),y=f(4710),F=f(5027);let g=(()=>{class U{static#e=this.type="BackLinkTranslationKey";constructor(G,R,ce,J,Se,Ne,ot){this.state=G,this.scroll=R,this.queryParams=ce,this.path=J,this.translation=Se,this.translateService=Ne,this.localizeRouterService=ot,this.path=(0,F.RL)(this.path)}isCurrentPath(G){return G===this.localizeRouterService.translateRoute(this.path)}get currentLangPath(){return this.localizeRouterService.translateRoute(this.path).toString()}get currentLangText(){return this.translateService.translate(this.translation.key,this.translation.interpolateParams)}get toJsonObject(){return{type:U.type,state:this.state,queryParams:this.queryParams,scroll:this.scroll,path:this.path,key:this.translation.key,interpolateParams:this.translation.interpolateParams}}}return U})(),A=(()=>{class U{static#e=this.type="BackLinkTranslations";constructor(G,R,ce,J,Se){this.state=G,this.scroll=R,this.queryParams=ce,this.translations=J,this.currentTranslation=this.translations.find(Ne=>Ne.language===Se.getActiveLang())}isCurrentPath(G){return G===this.currentLangPath}get currentLangPath(){return this.currentTranslation?.url??""}get currentLangText(){return this.currentTranslation?.translation??""}get toJsonObject(){return{type:U.type,state:this.state,scroll:this.scroll,queryParams:this.queryParams,translations:this.translations}}}return U})();var M=f(5964),B=f(6100),V=f(3060),T=f(1544);let N=(()=>{class U{constructor(G,R,ce,J,Se,Ne,ot,dt){this.activatedRoute=G,this.router=R,this.ngZone=ce,this.viewPortScroller=J,this.appService=Se,this.translateService=Ne,this.platformId=ot,this.localizeRouterService=dt,this.STORAGE_KEY="backLinks",this.backLinkList=new Array,R.events.pipe((0,M.p)(He=>He instanceof y.Z||He instanceof y.wF)).subscribe(He=>{if(He instanceof y.Z){const Ge=R.getCurrentNavigation();if(Ge&&"popstate"===He.navigationTrigger){const se=this.getCurrentBackLink(),Ae=se?.scroll;Ge.extras.state={...se?.state,scroll:Ae},Ae&&setTimeout(()=>this.viewPortScroller.scrollToPosition(Ae))}}He instanceof y.wF&&this.resetLinksFromURL(He.url)}),this.restoreBackLinks()}setLinkWithTranslationKey(G,R,ce){this.backLinkList.push(new g(ce,this.viewPortScroller.getScrollPosition(),this.activatedRoute.snapshot.queryParams,this.appService.translatePathToLanguage(this.router.url),{key:G,interpolateParams:R},this.translateService,this.localizeRouterService)),this.storeBackLinks()}setLinkWithTranslations(G,R){this.backLinkList.push(new A(R,this.viewPortScroller.getScrollPosition(),this.activatedRoute.snapshot.queryParams,G,this.translateService)),this.storeBackLinks()}resetLinksFromURL(G){let R;R="/"===(0,F.Mp)(G)?0:this.backLinkList.findIndex(ce=>ce.isCurrentPath((0,F.cq)(G))),R>-1&&(this.backLinkList=this.backLinkList.slice(0,R),this.storeBackLinks())}goBack(G){this.ngZone.run(R=>{const{state:ce,queryParams:J}=G;this.router.navigate([G.currentLangPath],{state:ce,queryParams:J}).then(()=>{setTimeout(()=>this.viewPortScroller.scrollToPosition(G.scroll))})})}getCurrentBacklinkState(){return this.getCurrentBackLink()?.state}setCurrentBacklinkState(G){const R=this.getCurrentBackLink();R&&(R.state=G,this.storeBackLinks())}getCurrentBackLink(){return this.backLinkList[this.backLinkList.length-1]}resetState(){this.backLinkList.forEach(G=>{G.state=void 0}),this.storeBackLinks()}restoreBackLinks(){if((0,n.Vy)(this.platformId))return;const G=JSON.parse(sessionStorage.getItem(this.STORAGE_KEY)||"[]");this.backLinkList=G.reduce((R,ce)=>this.addLinkToArray(R,ce),[])}addLinkToArray(G,R){return R.type===A.type?G.push(new A(R.state,R.scroll,R.queryParams,R.translations,this.translateService)):R.type===g.type&&G.push(new g(R.state,R.scroll,R.queryParams,R.path,{key:R.key,interpolateParams:R.interpolateParams},this.translateService,this.localizeRouterService)),G}storeBackLinks(){const G=this.backLinkList.map(R=>R.toJsonObject);sessionStorage.setItem(this.STORAGE_KEY,JSON.stringify(G))}static#e=this.\u0275fac=function(R){return new(R||U)(r.KVO(y.nX),r.KVO(y.Ix),r.KVO(r.SKi),r.KVO(n.Xr),r.KVO(B.d),r.KVO(V.JO),r.KVO(r.Agw),r.KVO(T.QG))};static#t=this.\u0275prov=r.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})()},8964:(_t,ge,f)=>{"use strict";f.d(ge,{n:()=>N});var n=f(4099),r=f(4438),y=f(177),F=f(4710);function g(U,b){if(1&U&&(r.j41(0,"span"),r.EFF(1),r.k0s()),2&U){const G=r.XpG(2);r.R7$(),r.JRh(G.text)}}function A(U,b){if(1&U&&(r.j41(0,"a",3),r.DNE(1,g,2,1,"span",4),r.nrm(2,"span",5),r.k0s()),2&U){const G=r.XpG();r.Y8G("ngClass",G.textClass)("routerLink",G.url.path),r.R7$(),r.Y8G("ngIf",G.text),r.R7$(),r.Y8G("ngClass",G.iconClass)}}function M(U,b){if(1&U&&(r.j41(0,"span"),r.EFF(1),r.k0s()),2&U){const G=r.XpG(2);r.R7$(),r.JRh(G.text)}}function B(U,b){if(1&U&&(r.j41(0,"a",6),r.DNE(1,M,2,1,"span",4),r.nrm(2,"span",5),r.k0s()),2&U){const G=r.XpG();r.Y8G("ngClass",G.textClass)("href",G.url.path,r.B4B),r.BMQ("target",G.external?"_blank":"_self"),r.R7$(),r.Y8G("ngIf",G.text),r.R7$(),r.Y8G("ngClass",G.iconClass)}}function V(U,b){if(1&U&&(r.j41(0,"span"),r.EFF(1),r.k0s()),2&U){const G=r.XpG(2);r.R7$(),r.JRh(G.text)}}function T(U,b){if(1&U&&(r.j41(0,"button",7),r.DNE(1,V,2,1,"span",4),r.nrm(2,"span",5),r.k0s()),2&U){const G=r.XpG();r.Y8G("ngClass",G.textClass),r.R7$(),r.Y8G("ngIf",G.text),r.R7$(),r.Y8G("ngClass",G.iconClass)}}let N=(()=>{class U{constructor(){this.text="",this.textClass="",this.iconClass=""}get external(){return this.url?.external}get selfservice(){return n.isSelfServiceUrl(this.url)}get internalUrl(){return!(this.selfservice||this.external||!this.url)}static#e=this.\u0275fac=function(R){return new(R||U)};static#t=this.\u0275cmp=r.VBU({type:U,selectors:[["tk-btn-icon-right"]],inputs:{text:"text",textClass:"textClass",iconClass:"iconClass",url:"url"},decls:3,vars:3,consts:[[3,"ngClass","routerLink",4,"ngIf"],[3,"ngClass","href",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass","routerLink"],[4,"ngIf"],[1,"bg-contain",3,"ngClass"],[3,"ngClass","href"],[3,"ngClass"]],template:function(R,ce){1&R&&r.DNE(0,A,3,4,"a",0)(1,B,3,5,"a",1)(2,T,3,3,"button",2),2&R&&(r.Y8G("ngIf",ce.internalUrl),r.R7$(),r.Y8G("ngIf",!ce.internalUrl&&ce.url),r.R7$(),r.Y8G("ngIf",!ce.url))},dependencies:[y.YU,y.bT,F.Wk],encapsulation:2})}return U})()},6959:(_t,ge,f)=>{"use strict";f.d(ge,{Kp:()=>r,M4:()=>y,i5:()=>F});var n=f(4438);let r=(()=>{class g{constructor(){this.clickOrPressEvent=new n.bkB}onClickOrPress(M){M.preventDefault(),M.stopPropagation(),this.clickOrPressEvent.emit(this.clickOrPress)}static#e=this.\u0275fac=function(B){return new(B||g)};static#t=this.\u0275dir=n.FsC({type:g,selectors:[["","tkClickOrPress",""]],hostBindings:function(B,V){1&B&&n.bIt("keydown.enter",function(N){return V.onClickOrPress(N)})("keydown.space",function(N){return V.onClickOrPress(N)})("click",function(N){return V.onClickOrPress(N)})},inputs:{clickOrPress:[n.Mj6.None,"tkClickOrPress","clickOrPress"]},outputs:{clickOrPressEvent:"tkClickOrPress"}})}return g})(),y=(()=>{class g{constructor(){this.clickOrPressEnterEvent=new n.bkB}onEnterDown(M){M.preventDefault(),M.stopPropagation(),this.clickOrPressEnterEvent.emit(this.clickOrPressEnter)}static#e=this.\u0275fac=function(B){return new(B||g)};static#t=this.\u0275dir=n.FsC({type:g,selectors:[["","tkClickOrPressEnter",""]],hostBindings:function(B,V){1&B&&n.bIt("keydown.enter",function(N){return V.onEnterDown(N)})("click",function(N){return V.onEnterDown(N)})},inputs:{clickOrPressEnter:[n.Mj6.None,"tkClickOrPressEnter","clickOrPressEnter"]},outputs:{clickOrPressEnterEvent:"tkClickOrPressEnter"}})}return g})(),F=(()=>{class g{constructor(){this.clickOrPressSpaceEvent=new n.bkB}onSpaceDown(M){M.preventDefault(),M.stopPropagation(),this.clickOrPressSpaceEvent.emit(this.clickOrPressSpace)}static#e=this.\u0275fac=function(B){return new(B||g)};static#t=this.\u0275dir=n.FsC({type:g,selectors:[["","tkClickOrPressSpace",""]],hostBindings:function(B,V){1&B&&n.bIt("keydown.space",function(N){return V.onSpaceDown(N)})("click",function(N){return V.onSpaceDown(N)})},inputs:{clickOrPressSpace:[n.Mj6.None,"tkClickOrPressSpace","clickOrPressSpace"]},outputs:{clickOrPressSpaceEvent:"tkClickOrPressSpace"}})}return g})()},628:(_t,ge,f)=>{"use strict";f.d(ge,{_:()=>T});var n=f(6354),r=f(4438),y=f(2490),F=f(6100),g=f(177),A=f(4710),M=f(3060);function B(N,U){if(1&N){const b=r.RV6();r.j41(0,"div",2)(1,"div",3)(2,"p",4),r.EFF(3),r.k0s(),r.j41(4,"div",5)(5,"button",6),r.bIt("click",function(){r.eBV(b);const R=r.XpG(2);return r.Njj(R.consentToCookies())}),r.EFF(6),r.k0s(),r.j41(7,"a",7),r.nI1(8,"async"),r.EFF(9),r.k0s()()()()}if(2&N){const b=r.XpG().$implicit,G=r.XpG();r.R7$(3),r.SpI(" ",b("fegeneral/cookie/compliance/popup/info")," "),r.R7$(3),r.SpI(" ",b("fegeneral/cookie/compliance/popup/info/agree")," "),r.R7$(),r.Y8G("routerLink",r.bMT(8,4,G.moreInfoUrl$)),r.R7$(2),r.SpI(" ",b("fegeneral/cookie/compliance/popup/info/moreinfo")," ")}}function V(N,U){if(1&N&&(r.qex(0),r.DNE(1,B,10,6,"div",1),r.bVm()),2&N){const b=r.XpG();r.R7$(),r.Y8G("ngIf",!b.hasConsent)}}let T=(()=>{class N{constructor(b,G){this.cookieService=b,this.appService=G,this.hasConsent=!1,this.moreInfoUrl$=this.appService.globalSettings$.pipe((0,n.T)(R=>R.cookieInformationPage?.url?.path))}ngOnInit(){this.hasConsent=this.cookieService.check("eu-cookie-compliance-tootukassa")}consentToCookies(){this.cookieService.set("eu-cookie-compliance-tootukassa","2",90),this.hasConsent=!0}static#e=this.\u0275fac=function(G){return new(G||N)(r.rXU(y.O),r.rXU(F.d))};static#t=this.\u0275cmp=r.VBU({type:N,selectors:[["tk-cookie-consent"]],decls:1,vars:0,consts:[[4,"transloco"],["class","fixed inset-x-0 bottom-0 z-9999 bg-tk_grey_700 py-8 opacity-95",4,"ngIf"],[1,"fixed","inset-x-0","bottom-0","z-9999","bg-tk_grey_700","py-8","opacity-95"],[1,"mx-6","flex","max-w-6xl","flex-col","items-center","space-y-6","md:flex-row","md:space-x-6","md:space-y-0","xl:mx-auto"],[1,"text-base","font-normal","text-white"],[1,"cc-buttons","flex","flex-row","flex-nowrap","space-x-2"],[1,"btn","btn-primary-dark","btn-lg","cc-btn","cursor-pointer","justify-center","whitespace-nowrap",3,"click"],[1,"btn","btn-secondary-dark","btn-lg","cc-btn","whitespace-nowrap",3,"routerLink"]],template:function(G,R){1&G&&r.DNE(0,V,2,1,"ng-container",0)},dependencies:[g.bT,A.Wk,M.bA,g.Jj],styles:["@media screen and (max-width: 400px){.cc-btn[_ngcontent-%COMP%]{margin-bottom:10px;margin-left:0!important}.cc-buttons[_ngcontent-%COMP%]{flex-direction:column}}"]})}return N})()},8180:(_t,ge,f)=>{"use strict";f.d(ge,{X:()=>r});var n=f(4438);let r=(()=>{class y{transform(g,...A){return g?g[0].toUpperCase()+g.slice(1):""}static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275pipe=n.EJ8({name:"capitalizeFirstLetter",type:y,pure:!0})}return y})()},4663:(_t,ge,f)=>{"use strict";f.d(ge,{z:()=>y});var n=f(177),r=f(4438);let y=(()=>{class F{static#e=this.\u0275fac=function(M){return new(M||F)};static#t=this.\u0275mod=r.$C({type:F});static#n=this.\u0275inj=r.G2t({imports:[n.MD]})}return F})()},5584:(_t,ge,f)=>{"use strict";f.d(ge,{i:()=>y});var n=f(177),r=f(4438);let y=(()=>{class F{constructor(A){this._locale=A,this.FORMAT="dd.MM.YYYY",this.stockDatePipe=new n.vh(A)}transform(A,M=this.FORMAT){return this.stockDatePipe.transform(A,M)}static#e=this.\u0275fac=function(M){return new(M||F)(r.rXU(r.xe9,16))};static#t=this.\u0275pipe=r.EJ8({name:"tkDate",type:F,pure:!0})}return F})()},5731:(_t,ge,f)=>{"use strict";f.d(ge,{T:()=>y});var n=f(4438),r=f(345);let y=(()=>{class F{constructor(A){this.sanitizer=A}transform(A,...M){return A?this.sanitizer.bypassSecurityTrustHtml(A):""}static#e=this.\u0275fac=function(M){return new(M||F)(n.rXU(r.up,16))};static#t=this.\u0275pipe=n.EJ8({name:"tkTrustedHTML",type:F,pure:!0})}return F})()},5231:(_t,ge,f)=>{"use strict";f.d(ge,{p:()=>r});var n=f(4438);let r=(()=>{class y{static stringToDate(g=""){const B=g.match(/^(\d{1,2})\.(\d{1,2})\.(\d{4,6})$/),V=g.match(/^(\d{4,6})-(\d{1,2})-(\d{1,2})$/),T=B??V;if(!T)return;let N,U,b;[N,U,b]=B?[T[3],T[2],T[1]]:[T[1],T[2],T[3]];const G=new Date;return G.setFullYear(Number(N)),G.setMonth(Number(U)-1),G.setDate(Number(b)),G}static dateToEEString(g){return g.toLocaleDateString("et-EE",{day:"2-digit",month:"2-digit",year:"numeric"})}static dateToISOString(g){return g.toISOString().substring(0,10)}static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275prov=n.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},1979:(_t,ge,f)=>{"use strict";f.d(ge,{I:()=>N});var n=f(4438),r=f(9417),y=f(6057),F=f(2102),g=f(9213),A=f(9631),M=f(3060);let B=(()=>{class U extends y.qG{constructor(G){super(),this.translateService=G,this.closeCalendarLabel=this.translateService.translate("fegeneral/datepicker/button/close")}static#e=this.\u0275fac=function(R){return new(R||U)(n.KVO(M.JO))};static#t=this.\u0275prov=n.jDH({token:U,factory:U.\u0275fac})}return U})();var V=f(8875),T=f(6600);let N=(()=>{class U{constructor(G,R){this.dateAdapter=G,this.translateService=R,this._currentYear=(new Date).getFullYear(),this.placeholder="",this.minDate=new Date(this._currentYear-3,0,1),this.maxDate=new Date,this.value=null,this.valueChange=new n.bkB,this.group=new r.J3({date:new r.hs}),this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this.group.valueChanges.subscribe(()=>{this.onSelectionChange()}),this.value&&this.group.setValue({date:this.value}),this.setLocale()}ngOnChanges(G){G.value.currentValue||this.writeValue(null)}writeValue(G){this.group.patchValue({date:G})}registerOnChange(G){this.onChange=G}registerOnTouched(G){this.onTouched=G}onSelectionChange(){const G=this.group.value.date;this.onChange(G),this.valueChange.emit(G)}onFocus(){}onBlur(){this.onSelectionChange()}setLocale(){switch(this.translateService.getActiveLang()){case V.RH:this.dateAdapter.setLocale(V.TN);break;case V.x6:this.dateAdapter.setLocale(V.Fx);break;default:this.dateAdapter.setLocale(V.Ti)}}static#e=this.\u0275fac=function(R){return new(R||U)(n.rXU(T.MJ),n.rXU(M.JO))};static#t=this.\u0275cmp=n.VBU({type:U,selectors:[["tk-date-picker"]],inputs:{placeholder:"placeholder",value:"value"},outputs:{valueChange:"valueChange"},standalone:!0,features:[n.Jv_([{provide:r.kq,useExisting:(0,n.Rfq)(()=>U),multi:!0},{provide:y.qG,useClass:B}]),n.OA$,n.aNF],decls:8,vars:7,consts:[["picker",""],[3,"formGroup"],["appearance","outline",1,"w-full"],["matInput","","formControlName","date",3,"focus","blur","min","max","matDatepicker","placeholder"],["matSuffix","",3,"disableRipple","for"],["matDatepickerToggleIcon",""],["src","/assets/icons/ico_calendar.svg"]],template:function(R,ce){if(1&R){const J=n.RV6();n.j41(0,"form",1)(1,"mat-form-field",2)(2,"input",3),n.bIt("focus",function(){return n.eBV(J),n.Njj(ce.onFocus())})("blur",function(){return n.eBV(J),n.Njj(ce.onBlur())}),n.k0s(),n.j41(3,"mat-datepicker-toggle",4)(4,"mat-icon",5),n.nrm(5,"img",6),n.k0s()(),n.nrm(6,"mat-datepicker",null,0),n.k0s()()}if(2&R){const J=n.sdS(7);n.Y8G("formGroup",ce.group),n.R7$(2),n.Y8G("min",ce.minDate)("max",ce.maxDate)("matDatepicker",J)("placeholder",ce.placeholder),n.R7$(),n.Y8G("disableRipple",!0)("for",J)}},dependencies:[y.bZ,y.X6,y.Vh,y.bU,y.Wl,F.RG,F.rl,F.yw,A.fS,A.fg,r.X1,r.qT,r.me,r.BC,r.cb,r.j4,r.JD,g.An],encapsulation:2})}return U})()},2614:(_t,ge,f)=>{"use strict";f.d(ge,{y:()=>M});var n=f(4438),r=f(177);const y=["container"];function F(B,V){if(1&B&&(n.j41(0,"li")(1,"a",7),n.EFF(2),n.k0s()()),2&B){const T=V.$implicit;n.R7$(),n.Y8G("href",null==T.url?null:T.url.path,n.B4B),n.R7$(),n.JRh(T.title)}}function g(B,V){if(1&B&&(n.j41(0,"ul",5),n.DNE(1,F,3,2,"li",6),n.k0s()),2&B){const T=n.XpG();n.R7$(),n.Y8G("ngForOf",T.adminLinks)}}let A=(()=>{class B{constructor(){this.dropdownOpen=!1}ngOnInit(){this.editableRef&&this.editableRef.nativeElement.addEventListener("mousedown",this.onMouseDown.bind(this))}onMouseDown(T){this.dropRef.nativeElement.contains(T.target)||(this.dropdownOpen=!1)}static#e=this.\u0275fac=function(N){return new(N||B)};static#t=this.\u0275cmp=n.VBU({type:B,selectors:[["tk-admin-options"]],viewQuery:function(N,U){if(1&N&&n.GBs(y,5),2&N){let b;n.mGM(b=n.lsd())&&(U.dropRef=b.first)}},inputs:{adminLinks:"adminLinks"},decls:6,vars:1,consts:[["container",""],[1,"edit-options"],["href","javascript:",1,"menu-button",3,"click"],[1,"sr-only"],["class","absolute right-0 w-32 space-y-2 rounded bg-white p-2 text-sm shadow",4,"ngIf"],[1,"absolute","right-0","w-32","space-y-2","rounded","bg-white","p-2","text-sm","shadow"],[4,"ngFor","ngForOf"],[1,"block","text-tk_grey_900","hover:text-tk_red",3,"href"]],template:function(N,U){if(1&N){const b=n.RV6();n.j41(0,"div",1,0)(2,"a",2),n.bIt("click",function(){return n.eBV(b),n.Njj(U.dropdownOpen=!U.dropdownOpen)}),n.j41(3,"span",3),n.EFF(4,"Muuda"),n.k0s()(),n.DNE(5,g,2,1,"ul",4),n.k0s()}2&N&&(n.R7$(5),n.Y8G("ngIf",U.dropdownOpen))},dependencies:[r.Sq,r.bT],styles:["tk-admin-options{display:contents}\n"],encapsulation:2})}return B})(),M=(()=>{class B{constructor(T,N){this._elementRef=T,this._viewRef=N}ngOnChanges(T){T.adminLinks&&(this.adminLinks=T.adminLinks.currentValue,this.applyAdminLinkLogic())}applyAdminLinkLogic(){const T=this._elementRef.nativeElement;this.adminLinks?(T.classList.add("editable"),this.linksDropdownRef||this.addAdminOptionComponent()):T.classList.remove("editable")}addAdminOptionComponent(){const T=this._viewRef;T.clear();const N=T.createComponent(A);N.instance.adminLinks=this.adminLinks,N.instance.editableRef=this._elementRef,this.linksDropdownRef=N;const U=this._elementRef.nativeElement;U.insertBefore(N.location.nativeElement,U.firstChild)}onMouseLeave(){this.linksDropdownRef&&(this.linksDropdownRef.instance.dropdownOpen=!1)}static#e=this.\u0275fac=function(N){return new(N||B)(n.rXU(n.aKT),n.rXU(n.c1b))};static#t=this.\u0275dir=n.FsC({type:B,selectors:[["","tkEditable",""]],hostBindings:function(N,U){1&N&&n.bIt("mouseleave",function(){return U.onMouseLeave()})},inputs:{adminLinks:"adminLinks"},features:[n.OA$]})}return B})()},6032:(_t,ge,f)=>{"use strict";f.d(ge,{_v:()=>y,u8:()=>r,yG:()=>n});var n=function(F){return F.TRAINING_METHOD_CODE="KOOLITUS_OPPEVORM",F.DRIVERS_LICENSE="JUHILUBA",F.LANGUAGE="KEEL",F.LANGUAGE_LEVEL="KEELE_TASE",F.EDUCATION_LEVEL="HARIDUS_TASE",F.FILE_TYPE="FAILI_TYYP",F}(n||{}),r=function(F){return F.EURO_LANGUAGE_LEVEL="EURO_KEELE_TASE",F.JOBOFFER="TOOPAKKUMINE",F}(r||{});function y(F){return Object.fromEntries(F.map(g=>[g.kood,g.vaartus]))}},2092:(_t,ge,f)=>{"use strict";f.d(ge,{A:()=>n});var n=function(r){return r.EST="et",r.ENG="en",r.RUS="ru",r}(n||{})},6442:(_t,ge,f)=>{"use strict";f.d(ge,{l:()=>r});var n=f(4438);let r=(()=>{class y{static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275cmp=n.VBU({type:y,selectors:[["tk-error-footer"]],decls:17,vars:0,consts:[[1,"panel","mx-4","mb-8","max-w-5xl","space-y-2","p-6","xl:mx-auto"],[1,"text-xl","font-bold"],[1,"flex","flex-col","items-start","justify-start","md:flex-row","md:space-x-4"],[1,"font-bold","leading-7"],["href","tel:7773000",1,"page-element","cursor-pointer","underline","hover:text-tk_red","hover:no-underline"],["href","mailto:info@tootukassa.ee",1,"page-element","cursor-pointer","underline","hover:text-tk_red","hover:no-underline"]],template:function(A,M){1&A&&(n.j41(0,"footer",0)(1,"h2",1),n.EFF(2,"Teenindame teid"),n.k0s(),n.j41(3,"div",2)(4,"span"),n.EFF(5," Infotelefon vastab teie k\xf5nedele E-N 8:15 \u2013 16:30, R 8:15 \u2013 15:00, kuu viimasel reedel 8:15 \u2013 12:00 "),n.k0s()(),n.j41(6,"div",2)(7,"span")(8,"span",3),n.EFF(9,"Telefon"),n.k0s(),n.j41(10,"a",4),n.EFF(11," 777 3000 "),n.k0s()(),n.j41(12,"span")(13,"span",3),n.EFF(14,"E-post"),n.k0s(),n.j41(15,"a",5),n.EFF(16," info@tootukassa.ee "),n.k0s()()()())},encapsulation:2})}return y})()},3855:(_t,ge,f)=>{"use strict";f.d(ge,{z:()=>y});var n=f(4438),r=f(4925);let y=(()=>{class F{constructor(A,M){this.errorService=A,this.viewContainerRef=M,this.minor=!1}ngOnInit(){this.minor?this.errorService.setMinorOutPutRef(this.viewContainerRef):this.errorService.setOutPutRef(this.viewContainerRef)}static#e=this.\u0275fac=function(M){return new(M||F)(n.rXU(r.I),n.rXU(n.c1b))};static#t=this.\u0275dir=n.FsC({type:F,selectors:[["","tkErrorOutput",""]],inputs:{minor:"minor"},standalone:!0})}return F})()},8596:(_t,ge,f)=>{"use strict";f.d(ge,{X:()=>A});var n=f(4438),r=f(177),y=f(3060);function F(M,B){if(1&M&&(n.j41(0,"li")(1,"a",5),n.nrm(2,"span",6),n.EFF(3),n.k0s()()),2&M){const V=B.$implicit;n.R7$(),n.Y8G("href",null==V||null==V.fileData||null==V.fileData.url?null:V.fileData.url.path,n.B4B),n.R7$(2),n.SpI(" ",null==V?null:V.name," ")}}function g(M,B){if(1&M&&(n.qex(0),n.j41(1,"div",1)(2,"h3",2),n.EFF(3),n.k0s(),n.j41(4,"ul",3),n.DNE(5,F,4,2,"li",4),n.k0s()(),n.bVm()),2&M){const V=B.$implicit,T=n.XpG();n.R7$(3),n.SpI(" ",V("fegeneral/content/fileArea/heading")," "),n.R7$(2),n.Y8G("ngForOf",T.files)}}let A=(()=>{class M{static#e=this.\u0275fac=function(T){return new(T||M)};static#t=this.\u0275cmp=n.VBU({type:M,selectors:[["tk-file-area"]],inputs:{files:"files"},decls:1,vars:0,consts:[[4,"transloco"],[1,"mb-4","rounded","border-2","border-solid","border-tk_grey_300","p-6"],[1,"mb-2","text-lg","font-medium"],[1,"space-y-2","text-sm"],[4,"ngFor","ngForOf"],["target","_blank","download","","rel","nofollow",1,"flex","text-tk_grey_700","hover:text-tk_link",3,"href"],[1,"mr-1","inline-block","h-5","min-w-4","bg-ico-document","bg-contain","bg-center","bg-no-repeat"]],template:function(T,N){1&T&&n.DNE(0,g,6,2,"ng-container",0)},dependencies:[r.Sq,y.bA],encapsulation:2})}return M})()},6968:(_t,ge,f)=>{"use strict";f.d(ge,{m:()=>Ge});var n=f(467),r=f(8358),y=f(3060),F=f(3207),g=f(4438);const A_helpDeskId_ANONYMOUS={ET:"Chat EST",RU:"Chat RUS"},A_helpDeskId_LOGGED_IN={ET:"Chat EST",RU:"Chat Auth RUS"};var M=f(7376);function V(se){return{ChatButton:se["helpdesk.fehelpdesk/ChatStarted"],ChatStarted:se["helpdesk.fehelpdesk/ChatStarted"],ChatEnded:se["helpdesk.fehelpdesk/ChatEnded"],AgentNameDefault:se["helpdesk.fehelpdesk/AgentNameDefault"],AgentConnected:"<%Agent%> "+se["helpdesk.fehelpdesk/AgentConnected"],AgentDisconnected:"<%Agent%> "+se["helpdesk.fehelpdesk/AgentDisconnected"],BotNameDefault:se["helpdesk.fehelpdesk/BotNameDefault"],BotConnected:"<%Bot%> "+se["helpdesk.fehelpdesk/BotConnected"],BotDisconnected:"<%Bot%> "+se["helpdesk.fehelpdesk/BotDisconnected"],SupervisorNameDefault:se["helpdesk.fehelpdesk/SupervisorNameDefault"],SupervisorConnected:"<%Agent%> "+se["helpdesk.fehelpdesk/SupervisorConnected"],SupervisorDisconnected:"<%Agent%> "+se["helpdesk.fehelpdesk/SupervisorDisconnected"],AgentTyping:se["helpdesk.fehelpdesk/AgentTyping"],AriaAgentTyping:se["helpdesk.fehelpdesk/AriaAgentTyping"],AgentUnavailable:se["helpdesk.fehelpdesk/AgentUnavailable"],ChatTitle:se["helpdesk.fehelpdesk/ChatTitle"],ChatEnd:se["helpdesk.fehelpdesk/ChatEnd"],ChatClose:se["helpdesk.fehelpdesk/ChatClose"],ChatMinimize:se["helpdesk.fehelpdesk/ChatMinimize"],ChatFormFirstName:se["helpdesk.fehelpdesk/ChatFormFirstName"],ChatFormLastName:se["helpdesk.fehelpdesk/ChatFormLastName"],ChatFormNickname:se["helpdesk.fehelpdesk/ChatFormNickname"],ChatFormEmail:se["helpdesk.fehelpdesk/ChatFormEmail"],ChatFormSubject:se["helpdesk.fehelpdesk/ChatFormSubject"],ChatFormPlaceholderFirstName:se["helpdesk.fehelpdesk/ChatFormPlaceholderFirstName"],ChatFormPlaceholderLastName:se["helpdesk.fehelpdesk/ChatFormPlaceholderLastName"],ChatFormPlaceholderNickname:se["helpdesk.fehelpdesk/ChatFormPlaceholderNickname"],ChatFormPlaceholderEmail:se["helpdesk.fehelpdesk/ChatFormPlaceholderEmail"],ChatFormPlaceholderSubject:se["helpdesk.fehelpdesk/ChatFormPlaceholderSubject"],ChatFormSubmit:se["helpdesk.fehelpdesk/ChatFormSubmit"],AriaChatFormSubmit:se["helpdesk.fehelpdesk/AriaChatFormSubmit"],ChatFormCancel:se["helpdesk.fehelpdesk/ChatFormCancel"],AriaChatFormCancel:se["helpdesk.fehelpdesk/AriaChatFormCancel"],ChatFormClose:se["helpdesk.fehelpdesk/ChatFormClose"],ChatInputPlaceholder:se["helpdesk.fehelpdesk/ChatInputPlaceholder"],ChatInputSend:se["helpdesk.fehelpdesk/ChatInputSend"],AriaChatInputSend:se["helpdesk.fehelpdesk/AriaChatInputSend"],ChatEndQuestion:se["helpdesk.fehelpdesk/ChatEndQuestion"],ChatEndCancel:se["helpdesk.fehelpdesk/ChatEndCancel"],ChatEndConfirm:se["helpdesk.fehelpdesk/ChatEndConfirm"],AriaChatEndCancel:se["helpdesk.fehelpdesk/AriaChatEndCancel"],AriaChatEndConfirm:se["helpdesk.fehelpdesk/AriaChatEndConfirm"],ConfirmCloseWindow:se["helpdesk.fehelpdesk/ConfirmCloseWindow"],ConfirmCloseCancel:se["helpdesk.fehelpdesk/ConfirmCloseCancel"],ConfirmCloseConfirm:se["helpdesk.fehelpdesk/ConfirmCloseConfirm"],AriaConfirmCloseCancel:se["helpdesk.fehelpdesk/AriaConfirmCloseCancel"],AriaConfirmCloseConfirm:se["helpdesk.fehelpdesk/AriaConfirmCloseConfirm"],ActionsDownload:se["helpdesk.fehelpdesk/ActionsDownload"],ActionsEmail:se["helpdesk.fehelpdesk/ActionsEmail"],ActionsPrint:se["helpdesk.fehelpdesk/ActionsPrint"],ActionsCobrowseStart:se["helpdesk.fehelpdesk/ActionsCobrowseStart"],AriaActionsCobrowseStartTitle:se["helpdesk.fehelpdesk/AriaActionsCobrowseStartTitle"],ActionsSendFile:se["helpdesk.fehelpdesk/ActionsSendFile"],AriaActionsSendFileTitle:se["helpdesk.fehelpdesk/AriaActionsSendFileTitle"],ActionsEmoji:se["helpdesk.fehelpdesk/ActionsEmoji"],ActionsCobrowseStop:se["helpdesk.fehelpdesk/ActionsCobrowseStop"],ActionsVideo:se["helpdesk.fehelpdesk/ActionsVideo"],ActionsTransfer:se["helpdesk.fehelpdesk/ActionsTransfer"],ActionsInvite:se["helpdesk.fehelpdesk/ActionsInvite"],InstructionsTransfer:se.Instry,InstructionsInvite:se.Instr,InviteTitle:se["helpdesk.fehelpdesk/InviteTitle"],InviteBody:se["helpdesk.fehelpdesk/InviteBody"],InviteReject:se["helpdesk.fehelpdesk/InviteReject"],InviteAccept:se["helpdesk.fehelpdesk/InviteAccept"],AriaInviteAccept:se["helpdesk.fehelpdesk/AriaInviteAccept"],AriaInviteReject:se["helpdesk.fehelpdesk/AriaInviteReject"],ChatError:se["helpdesk.fehelpdesk/ChatError"],ChatErrorButton:se["helpdesk.fehelpdesk/ChatErrorButton"],AriaChatErrorButton:se["helpdesk.fehelpdesk/AriaChatErrorButton"],ChatErrorPrimaryButton:se["helpdesk.fehelpdesk/ChatErrorPrimaryButton"],ChatErrorDefaultButton:se["helpdesk.fehelpdesk/ChatErrorDefaultButton"],AriaChatErrorPrimaryButton:se["helpdesk.fehelpdesk/AriaChatErrorPrimaryButton"],AriaChatErrorDefaultButton:se["helpdesk.fehelpdesk/AriaChatErrorDefaultButton"],DownloadButton:se["helpdesk.fehelpdesk/DownloadButton"],AriaDownloadButton:se["helpdesk.fehelpdesk/AriaDownloadButton"],FileSent:se["helpdesk.fehelpdesk/FileSent"],FileTransferRetry:se["helpdesk.fehelpdesk/FileTransferRetry"],AriaFileTransferRetry:se["helpdesk.fehelpdesk/AriaFileTransferRetry"],FileTransferError:se["helpdesk.fehelpdesk/FileTransferError"],AriaFileTransferError:se["helpdesk.fehelpdesk/AriaFileTransferError"],FileTransferCancel:se["helpdesk.fehelpdesk/FileTransferCancel"],AriaFileTransferCancel:se["helpdesk.fehelpdesk/AriaFileTransferCancel"],RestoreTimeoutTitle:se["helpdesk.fehelpdesk/RestoreTimeoutTitle"],RestoreTimeoutBody:se["helpdesk.fehelpdesk/RestoreTimeoutBody"],RestoreTimeoutReject:se["helpdesk.fehelpdesk/RestoreTimeoutReject"],RestoreTimeoutAccept:se["helpdesk.fehelpdesk/RestoreTimeoutAccept"],AriaRestoreTimeoutAccept:se["helpdesk.fehelpdesk/AriaRestoreTimeoutAccept"],AriaRestoreTimeoutReject:se["helpdesk.fehelpdesk/AriaRestoreTimeoutReject"],EndConfirmBody:se["helpdesk.fehelpdesk/EndConfirmBody"],EndConfirmAccept:se["helpdesk.fehelpdesk/EndConfirmAccept"],EndConfirmReject:se["helpdesk.fehelpdesk/EndConfirmReject"],AriaEndConfirmAccept:se["helpdesk.fehelpdesk/AriaEndConfirmAccept"],AriaEndConfirmReject:se["helpdesk.fehelpdesk/AriaEndConfirmReject"],SurveyOfferQuestion:se["helpdesk.fehelpdesk/SurveyOfferQuestion"],ShowSurveyAccept:se["helpdesk.fehelpdesk/ShowSurveyAccept"],ShowSurveyReject:se["helpdesk.fehelpdesk/ShowSurveyReject"],AriaShowSurveyAccept:se["helpdesk.fehelpdesk/AriaShowSurveyAccept"],AriaShowSurveyReject:se["helpdesk.fehelpdesk/AriaShowSurveyReject"],UnreadMessagesTitle:se["helpdesk.fehelpdesk/UnreadMessagesTitle"],AriaYouSaid:se["helpdesk.fehelpdesk/AriaYouSaid"],AriaSaid:se["helpdesk.fehelpdesk/AriaSaid"],AriaSystemSaid:se["helpdesk.fehelpdesk/AriaSystemSaid"],AriaWindowLabel:se["helpdesk.fehelpdesk/AriaWindowLabel"],AriaMinimize:se["helpdesk.fehelpdesk/AriaMinimize"],AriaMaximize:se["helpdesk.fehelpdesk/AriaMaximize"],AriaClose:se["helpdesk.fehelpdesk/AriaClose"],AriaEmojiStatusOpen:se["helpdesk.fehelpdesk/AriaEmojiStatusOpen"],AriaEmojiStatusClose:se["helpdesk.fehelpdesk/AriaEmojiStatusClose"],AriaEmoji:se["helpdesk.fehelpdesk/AriaEmoji"],AriaCharRemaining:se["helpdesk.fehelpdesk/AriaCharRemaining"],AriaMessageInput:se["helpdesk.fehelpdesk/AriaMessageInput"],AsyncChatEnd:se["helpdesk.fehelpdesk/AsyncChatEnd"],AsyncChatClose:se["helpdesk.fehelpdesk/AsyncChatClose"],AriaAsyncChatEnd:se["helpdesk.fehelpdesk/AriaAsyncChatEnd"],AriaAsyncChatClose:se["helpdesk.fehelpdesk/AriaAsyncChatClose"],DayLabels:[se["helpdesk.fehelpdesk/DayLabels/Sunday"],se["helpdesk.fehelpdesk/DayLabels/Monday"],se["helpdesk.fehelpdesk/DayLabels/Tuesday"],se["helpdesk.fehelpdesk/DayLabels/Wednesday"],se["helpdesk.fehelpdesk/DayLabels/Thursday"],se["helpdesk.fehelpdesk/DayLabels/Friday"],se["helpdesk.fehelpdesk/DayLabels/Saturday"]],MonthLabels:[se["helpdesk.fehelpdesk/MonthLabels/January"],se["helpdesk.fehelpdesk/MonthLabels/February"],se["helpdesk.fehelpdesk/MonthLabels/March"],se["helpdesk.fehelpdesk/MonthLabels/April"],se["helpdesk.fehelpdesk/MonthLabels/May"],se["helpdesk.fehelpdesk/MonthLabels/June"],se["helpdesk.fehelpdesk/MonthLabels/July"],se["helpdesk.fehelpdesk/MonthLabels/August"],se["helpdesk.fehelpdesk/MonthLabels/September"],se["helpdesk.fehelpdesk/MonthLabels/October"],se["helpdesk.fehelpdesk/MonthLabels/November"],se["helpdesk.fehelpdesk/MonthLabels/December"]],todayLabel:se["helpdesk.fehelpdesk/todayLabel"],Errors:{102:se["helpdesk.fehelpdesk/Errors/102"],103:se["helpdesk.fehelpdesk/Errors/103"],161:se["helpdesk.fehelpdesk/Errors/161"],201:se["helpdesk.fehelpdesk/Errors/201/FileNotSent"]+'<br/><strong><p class="filename" title="<%FilenameFull%>">"<%FilenameTruncated%>"</p></strong><p class="cx-advice">'+se["helpdesk.fehelpdesk/Errors/201/LimitExceeded"]+"(<%MaxFilesAllowed%>).</p>",202:se["helpdesk.fehelpdesk/Errors/202/FileNotSent"]+'<br/><strong><p class="filename" title="<%FilenameFull%>">"<%FilenameTruncated%>"</p></strong><p class="cx-advice">'+se["helpdesk.fehelpdesk/Errors/202/LimitExceeded"]+"(<%MaxAttachmentsSize%>).</p>",203:se["helpdesk.fehelpdesk/Errors/203/FileNotSent"]+'<br/><strong><p class="filename" title="<%FilenameFull%>">"<%FilenameTruncated%"</p></strong><p class="cx-advice">'+se["helpdesk.fehelpdesk/Errors/203/FileTypeNotAllowed"]+"</p>",204:se["helpdesk.fehelpdesk/Errors/204"],240:se["helpdesk.fehelpdesk/Errors/240"],364:se["helpdesk.fehelpdesk/Errors/364"],401:se["helpdesk.fehelpdesk/Errors/401"],404:se["helpdesk.fehelpdesk/Errors/404"],500:se["helpdesk.fehelpdesk/Errors/500"],503:se["helpdesk.fehelpdesk/Errors/503"],ChatUnavailable:se["helpdesk.fehelpdesk/Errors/ChatUnavailable"],CriticalFault:se["helpdesk.fehelpdesk/Errors/CriticalFault"],StartFailed:se["helpdesk.fehelpdesk/Errors/StartFailed"],MessageFailed:se["helpdesk.fehelpdesk/Errors/MessageFailed"],RestoreFailed:se["helpdesk.fehelpdesk/Errors/RestoreFailed"],TransferFailed:se["helpdesk.fehelpdesk/Errors/TransferFailed"],FileTransferSizeError:se["helpdesk.fehelpdesk/Errors/FileTransferSizeError/FileNotSent"]+'<br/><strong><p class="filename" title="<%FilenameFull%>">"<%FilenameTruncated%>"</p></strong><p class="cx-advice">'+se["helpdesk.fehelpdesk/Errors/FileTransferSizeError/FileSizeTooLarge"]+"(<%MaxSizePerFile%>).</p>",InviteFailed:se["helpdesk.fehelpdesk/Errors/InviteFailed"],ChatServerWentOffline:se["helpdesk.fehelpdesk/Errors/ChatServerWentOffline"],RestoredOffline:se["helpdesk.fehelpdesk/Errors/RestoredOffline"],Disconnected:'<div style="text-align:center">'+se["helpdesk.fehelpdesk/Errors/Disconnected"]+"</div>",Reconnected:'<div style="text-align:center">'+se["helpdesk.fehelpdesk/Errors/Reconnected"]+"</div>",FileSendFailed:se["helpdesk.fehelpdesk/Errors/FileSendFailed/FileNotSent"]+'<br/><strong><p class="filename" title="<%FilenameFull%>"><%FilenameTruncated%></p></strong><p class="cx-advice">'+se["helpdesk.fehelpdesk/Errors/FileSendFailed/TryAgain"]+"</p>",Generic:"<div style='text-align:center'>"+se["helpdesk.fehelpdesk/Errors/Generic"]+"</div>","purecloud-v2-sockets-400":se["helpdesk.fehelpdesk/Errors/purecloud-v2-sockets-400"],"purecloud-v2-sockets-500":se["helpdesk.fehelpdesk/Errors/purecloud-v2-sockets-500"],"purecloud-v2-sockets-503":se["helpdesk.fehelpdesk/Errors/purecloud-v2-sockets-503"]}}}var T=f(4843),N=f(2092),U=f(4312);let b=(()=>{class se{constructor(we,ue){this.userService=we,this.translate=ue,this.translations={},this.helpdeskId=""}updateHelpdeskId(){if(this.user){const we=A_helpDeskId_LOGGED_IN;this.helpdeskId=this.translate.getActiveLang()===N.A.RUS?we.RU:we.ET}else{const we=A_helpDeskId_ANONYMOUS;this.helpdeskId=this.translate.getActiveLang()===N.A.RUS?we.RU:we.ET}window._genesys&&(window._genesys.widgets.webchat.transport.interactionData.routing.targetAddress=this.helpdeskId)}getTranslations(){var we=this;return(0,n.A)(function*(){yield(0,T._)(we.translate.selectTranslate("fehelpdesk/ChatTitle",{},{scope:"helpdesk"})),0==Object.keys(we.translations).length&&(we.translations=function B(se){const Ae=["helpdesk.fehelpdesk/ChatTitle","helpdesk.fehelpdesk/ChatStarted","helpdesk.fehelpdesk/ChatEnded","helpdesk.fehelpdesk/AgentNameDefault","helpdesk.fehelpdesk/AgentConnected","helpdesk.fehelpdesk/AgentDisconnected","helpdesk.fehelpdesk/BotNameDefault","helpdesk.fehelpdesk/BotConnected","helpdesk.fehelpdesk/BotDisconnected","helpdesk.fehelpdesk/SupervisorNameDefault","helpdesk.fehelpdesk/SupervisorConnected","helpdesk.fehelpdesk/SupervisorDisconnected","helpdesk.fehelpdesk/AgentTyping","helpdesk.fehelpdesk/AriaAgentTyping","helpdesk.fehelpdesk/AgentUnavailable","helpdesk.fehelpdesk/ChatTitle","helpdesk.fehelpdesk/ChatEnd","helpdesk.fehelpdesk/ChatClose","helpdesk.fehelpdesk/ChatMinimize","helpdesk.fehelpdesk/ChatFormFirstName","helpdesk.fehelpdesk/ChatFormLastName","helpdesk.fehelpdesk/ChatFormEmail","helpdesk.fehelpdesk/ChatFormSubject","helpdesk.fehelpdesk/ChatFormPlaceholderFirstName","helpdesk.fehelpdesk/ChatFormPlaceholderLastName","helpdesk.fehelpdesk/ChatFormPlaceholderNickname","helpdesk.fehelpdesk/ChatFormPlaceholderEmail","helpdesk.fehelpdesk/ChatFormPlaceholderSubject","helpdesk.fehelpdesk/ChatFormSubmit","helpdesk.fehelpdesk/AriaChatFormSubmit","helpdesk.fehelpdesk/ChatFormCancel","helpdesk.fehelpdesk/AriaChatFormCancel","helpdesk.fehelpdesk/ChatFormClose","helpdesk.fehelpdesk/ChatInputPlaceholder","helpdesk.fehelpdesk/ChatInputSend","helpdesk.fehelpdesk/AriaChatInputSend","helpdesk.fehelpdesk/ChatEndQuestion","helpdesk.fehelpdesk/ChatEndCancel","helpdesk.fehelpdesk/ChatEndConfirm","helpdesk.fehelpdesk/AriaChatEndCancel","helpdesk.fehelpdesk/AriaChatEndConfirm","helpdesk.fehelpdesk/ConfirmCloseWindow","helpdesk.fehelpdesk/ConfirmCloseCancel","helpdesk.fehelpdesk/ConfirmCloseConfirm","helpdesk.fehelpdesk/AriaConfirmCloseCancel","helpdesk.fehelpdesk/AriaConfirmCloseConfirm","helpdesk.fehelpdesk/ActionsDownload","helpdesk.fehelpdesk/ActionsEmail","helpdesk.fehelpdesk/ActionsPrint","helpdesk.fehelpdesk/ActionsCobrowseStart","helpdesk.fehelpdesk/AriaActionsCobrowseStartTitle","helpdesk.fehelpdesk/ActionsSendFile","helpdesk.fehelpdesk/AriaActionsSendFileTitle","helpdesk.fehelpdesk/ActionsEmoji","helpdesk.fehelpdesk/ActionsCobrowseStop","helpdesk.fehelpdesk/ActionsVideo","helpdesk.fehelpdesk/ActionsTransfer","helpdesk.fehelpdesk/ActionsInvite","helpdesk.fehelpdesk/InstructionsTransfer","helpdesk.fehelpdesk/InstructionsInvite","helpdesk.fehelpdesk/InviteTitle","helpdesk.fehelpdesk/InviteBody","helpdesk.fehelpdesk/InviteReject","helpdesk.fehelpdesk/InviteAccept","helpdesk.fehelpdesk/AriaInviteAccept","helpdesk.fehelpdesk/AriaInviteReject","helpdesk.fehelpdesk/ChatError","helpdesk.fehelpdesk/ChatErrorButton","helpdesk.fehelpdesk/AriaChatErrorButton","helpdesk.fehelpdesk/ChatErrorPrimaryButton","helpdesk.fehelpdesk/ChatErrorDefaultButton","helpdesk.fehelpdesk/AriaChatErrorPrimaryButton","helpdesk.fehelpdesk/AriaChatErrorDefaultButton","helpdesk.fehelpdesk/DownloadButton","helpdesk.fehelpdesk/AriaDownloadButton","helpdesk.fehelpdesk/FileSent","helpdesk.fehelpdesk/FileTransferRetry","helpdesk.fehelpdesk/AriaFileTransferRetry","helpdesk.fehelpdesk/FileTransferError","helpdesk.fehelpdesk/AriaFileTransferError","helpdesk.fehelpdesk/FileTransferCancel","helpdesk.fehelpdesk/AriaFileTransferCancel","helpdesk.fehelpdesk/RestoreTimeoutTitle","helpdesk.fehelpdesk/RestoreTimeoutBody","helpdesk.fehelpdesk/RestoreTimeoutReject","helpdesk.fehelpdesk/RestoreTimeoutAccept","helpdesk.fehelpdesk/AriaRestoreTimeoutAccept","helpdesk.fehelpdesk/AriaRestoreTimeoutReject","helpdesk.fehelpdesk/EndConfirmBody","helpdesk.fehelpdesk/EndConfirmAccept","helpdesk.fehelpdesk/EndConfirmReject","helpdesk.fehelpdesk/AriaEndConfirmAccept","helpdesk.fehelpdesk/AriaEndConfirmReject","helpdesk.fehelpdesk/SurveyOfferQuestion","helpdesk.fehelpdesk/ShowSurveyAccept","helpdesk.fehelpdesk/ShowSurveyReject","helpdesk.fehelpdesk/AriaShowSurveyAccept","helpdesk.fehelpdesk/AriaShowSurveyReject","helpdesk.fehelpdesk/UnreadMessagesTitle","helpdesk.fehelpdesk/AriaYouSaid","helpdesk.fehelpdesk/AriaSaid","helpdesk.fehelpdesk/AriaSystemSaid","helpdesk.fehelpdesk/AriaWindowLabel","helpdesk.fehelpdesk/AriaMinimize","helpdesk.fehelpdesk/AriaMaximize","helpdesk.fehelpdesk/AriaClose","helpdesk.fehelpdesk/AriaEmojiStatusOpen","helpdesk.fehelpdesk/AriaEmojiStatusClose","helpdesk.fehelpdesk/AriaEmoji","helpdesk.fehelpdesk/AriaCharRemaining","helpdesk.fehelpdesk/AriaMessageInput","helpdesk.fehelpdesk/AsyncChatEnd","helpdesk.fehelpdesk/AsyncChatClose","helpdesk.fehelpdesk/AriaAsyncChatEnd","helpdesk.fehelpdesk/AriaAsyncChatClose","helpdesk.fehelpdesk/DayLabels/Sunday","helpdesk.fehelpdesk/DayLabels/Monday","helpdesk.fehelpdesk/DayLabels/Tuesday","helpdesk.fehelpdesk/DayLabels/Wednesday","helpdesk.fehelpdesk/DayLabels/Thursday","helpdesk.fehelpdesk/DayLabels/Friday","helpdesk.fehelpdesk/DayLabels/Saturday","helpdesk.fehelpdesk/MonthLabels/January","helpdesk.fehelpdesk/MonthLabels/February","helpdesk.fehelpdesk/MonthLabels/March","helpdesk.fehelpdesk/MonthLabels/April","helpdesk.fehelpdesk/MonthLabels/May","helpdesk.fehelpdesk/MonthLabels/June","helpdesk.fehelpdesk/MonthLabels/July","helpdesk.fehelpdesk/MonthLabels/August","helpdesk.fehelpdesk/MonthLabels/September","helpdesk.fehelpdesk/MonthLabels/October","helpdesk.fehelpdesk/MonthLabels/November","helpdesk.fehelpdesk/MonthLabels/December","helpdesk.fehelpdesk/todayLabel","helpdesk.fehelpdesk/Errors/102","helpdesk.fehelpdesk/Errors/103","helpdesk.fehelpdesk/Errors/161","helpdesk.fehelpdesk/Errors/201/FileNotSent","helpdesk.fehelpdesk/Errors/201/LimitExceeded","helpdesk.fehelpdesk/Errors/202/FileNotSent","helpdesk.fehelpdesk/Errors/202/LimitExceeded","helpdesk.fehelpdesk/Errors/203/FileNotSent","helpdesk.fehelpdesk/Errors/203/FileTypeNotAllowed","helpdesk.fehelpdesk/Errors/204","helpdesk.fehelpdesk/Errors/240","helpdesk.fehelpdesk/Errors/364","helpdesk.fehelpdesk/Errors/401","helpdesk.fehelpdesk/Errors/404","helpdesk.fehelpdesk/Errors/500","helpdesk.fehelpdesk/Errors/503","helpdesk.fehelpdesk/Errors/ChatUnavailable","helpdesk.fehelpdesk/Errors/CriticalFault","helpdesk.fehelpdesk/Errors/StartFailed","helpdesk.fehelpdesk/Errors/MessageFailed","helpdesk.fehelpdesk/Errors/RestoreFailed","helpdesk.fehelpdesk/Errors/TransferFailed","helpdesk.fehelpdesk/Errors/FileTransferSizeError/FileNotSent","helpdesk.fehelpdesk/Errors/FileTransferSizeError/FileSizeTooLarge","helpdesk.fehelpdesk/Errors/InviteFailed","helpdesk.fehelpdesk/Errors/ChatServerWentOffline","helpdesk.fehelpdesk/Errors/RestoredOffline","helpdesk.fehelpdesk/Errors/Disconnected","helpdesk.fehelpdesk/Errors/Reconnected","helpdesk.fehelpdesk/Errors/FileSendFailed/FileNotSent","helpdesk.fehelpdesk/Errors/FileSendFailed/TryAgain","helpdesk.fehelpdesk/Errors/Generic","helpdesk.fehelpdesk/Errors/purecloud-v2-sockets-400","helpdesk.fehelpdesk/Errors/purecloud-v2-sockets-500","helpdesk.fehelpdesk/Errors/purecloud-v2-sockets-503","helpdesk.fehelpdesk/form/placeholder/firstName","helpdesk.fehelpdesk/form/label/firstName","helpdesk.fehelpdesk/Errors/102","helpdesk.fehelpdesk/form/placeholder/email","helpdesk.fehelpdesk/form/label/email","helpdesk.fehelpdesk/Errors/364","helpdesk.fehelpdesk/form/title/transcript","helpdesk.fehelpdesk/form/label/transcript"];return(0,M.zipObject)(Ae,se.translate(Ae))}(we.translate))})()}initCXBus(){var we=this;return(0,n.A)(function*(){return we.userService.user$.subscribe(ue=>{we.user=ue,we.updateHelpdeskId()}),we.customPlugin||(yield we.getTranslations(),window.CXBus.configure({debug:!1,pluginsPath:"https://apps.mypurecloud.de/widgets/9.0/plugins/"}),window.CXBus.loadPlugin("widgets-core"),window._genesys={widgets:{main:{timeFormat:24,theme:"light",lang:"en",i18n:{en:{webchat:V(we.translations)}},mobileMode:"auto",mobileModeBreakpoint:600},webchat:{transport:{type:"purecloud-v2-sockets",dataURL:"https://api.mypurecloud.de",deploymentKey:"4d49e8cf-0f0e-4725-9f33-1028c56baf3b",orgGuid:"0cd00fc8-ca7d-408c-8fba-e5dbba93383a",interactionData:{routing:{targetType:"QUEUE",targetAddress:"",priority:2}}},markdown:!0}}},we.customPlugin=window.CXBus.registerPlugin("Custom")),we.customPlugin})()}getAdvancedConfig(){const we=this.translations,ue=["cx_webchat_form_firstname","cx_webchat_form_email"];return{form:{autoSubmit:!1,firstname:this.user?.role?.name,email:""},formJSON:{wrapper:'<table class="helpdesk-table"></table>',inputs:[{id:"cx_webchat_form_firstname",name:"firstname",maxlength:"100",placeholder:we["helpdesk.fehelpdesk/form/placeholder/firstName"],label:we["helpdesk.fehelpdesk/form/label/firstName"],validateWhileTyping:!1,validate:function(Oe,Ye,yt){if(Oe.currentTarget&&ue.includes(Oe.currentTarget.id))return!0;{const Yt=document.getElementById("nameErrorField");return null!=Yt&&(yt&&yt.val()?(Yt.innerHTML="",!0):(yt&&(Yt.innerHTML="<th></th><td>"+we["helpdesk.fehelpdesk/Errors/102"]+"</td>"),!1))}}},{id:"cx_webchat_form_email",name:"email",maxlength:"100",placeholder:we["helpdesk.fehelpdesk/form/placeholder/email"],label:we["helpdesk.fehelpdesk/form/label/email"],wrapper:'<tr><th>{label}</th><td>{input}</td></tr><tr id="nameErrorField"></tr><tr id="emailErrorField"></tr>',validateWhileTyping:!1,validate:function(Oe,Ye,yt){if(Oe.currentTarget&&ue.includes(Oe.currentTarget.id))return!0;{const Yt=/^\w+([\.+~-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/,Vt=document.getElementById("emailErrorField");return null!=Vt&&(yt&&yt.val()&&Yt.test(yt.val())?(Vt.innerHTML="",!0):(yt&&(Vt.innerHTML="<th></th><td>"+we["helpdesk.fehelpdesk/Errors/364"]+"</td>"),!1))}}},{id:"cx_webchat_form_transcript",name:"transcript",type:"checkbox",title:we["helpdesk.fehelpdesk/form/title/transcript"],label:we["helpdesk.fehelpdesk/form/label/transcript"]}]}}}static#e=this.\u0275fac=function(ue){return new(ue||se)(g.KVO(U.D),g.KVO(y.JO))};static#t=this.\u0275prov=g.jDH({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})();var G=f(6628),R=f(177),ce=f(5351);function J(se,Ae){if(1&se){const we=g.RV6();g.qex(0),g.j41(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),g.EFF(5),g.k0s(),g.j41(6,"p",5),g.EFF(7),g.k0s(),g.j41(8,"div",6)(9,"div",7)(10,"button",8),g.bIt("click",function(){g.eBV(we);const Oe=g.XpG();return g.Njj(Oe.acceptSession(!1))}),g.EFF(11),g.k0s(),g.j41(12,"button",9),g.bIt("click",function(){g.eBV(we);const Oe=g.XpG();return g.Njj(Oe.acceptSession(!0))}),g.EFF(13),g.k0s()()()()()(),g.bVm()}if(2&se){const we=Ae.$implicit;g.R7$(5),g.SpI(" ",we("helpdesk.fehelpdesk/acceptSessionModal/title")," "),g.R7$(2),g.SpI(" ",we("helpdesk.fehelpdesk/acceptSessionModal/description")," "),g.R7$(4),g.SpI(" ",we("helpdesk.fehelpdesk/acceptSessionModal/deny")," "),g.R7$(2),g.SpI(" ",we("helpdesk.fehelpdesk/acceptSessionModal/accept")," ")}}let Se=(()=>{class se{constructor(we){this.dialogRef=we}acceptSession(we){this.dialogRef.close(we)}static#e=this.\u0275fac=function(ue){return new(ue||se)(g.rXU(ce.CP))};static#t=this.\u0275cmp=g.VBU({type:se,selectors:[["tk-accept-cobrowse-modal"]],features:[g.Jv_([(0,y.bF)("helpdesk")])],decls:1,vars:0,consts:[[4,"transloco"],[1,"bg-white"],[1,"flex","items-start","justify-between","p-6"],[1,"grow-0","space-y-4"],[1,"text-2xl","font-bold","leading-7"],[1,"mt-2"],[1,"col-span-full","flex","flex-wrap"],[1,"relative","mt-4","flex","w-full","flex-row","space-x-2"],[1,"btn","btn-lg","btn-primary-outlined","btn-lg",3,"click"],[1,"btn","btn-primary","btn-lg",3,"click"]],template:function(ue,Oe){1&ue&&g.DNE(0,J,14,4,"ng-container",0)},dependencies:[y.bA],encapsulation:2})}return se})();var Ne=f(2490);let ot=(()=>{class se{constructor(we,ue,Oe,Ye,yt){this.document=we,this.dialog=ue,this.translateService=Oe,this.zone=Ye,this.cookieService=yt}start(){window.CobrowseIO.license="_I4oLPGKxdW0PQ",window.CobrowseIO.client()}addCustomCobrowseUI(){this.addSessionControls(),this.addConfirmSessionModal(),this.setUserCustomData()}endCobrowse(){return this.endCurrentSession(),window.CobrowseIO.hideSessionControls(),window.CobrowseIO.stop()}addSessionControls(){window.CobrowseIO.showSessionControls=()=>{this.document.body.appendChild(this.createSessionControlButton()),this.document.body.classList.add("screenShareBorder")},window.CobrowseIO.hideSessionControls=()=>{const we=this.getSessionControlButton();this.document.body.classList.remove("screenShareBorder"),we&&we.remove()}}createSessionControlButton(){const we=this.document.createElement("div");return we.id="sessionControl",we.textContent=this.translateService.translate("helpdesk.fehelpdesk/stopCobrowsing"),we.addEventListener("click",()=>{this.endCurrentSession()}),we}getSessionControlButton(){return this.document.getElementById("sessionControl")}addConfirmSessionModal(){window.CobrowseIO.confirmSession=()=>(this.setUserCustomData(),new Promise(we=>{this.zone.run(()=>{this.dialog.open(Se,{width:"50%",maxWidth:"720px",autoFocus:!1}).afterClosed().subscribe(ue=>{we(ue)})})}))}setUserCustomData(){const we=window.CobrowseIO.customData;we.firstname="",we.email="",we.device_name="",we.genesys_conversation_id=this.cookieService.get("_genesys.widgets.webchat.state.purecloud-v2-sockets.ConversationID"),window.CobrowseIO.customData=we}endCurrentSession(){window.CobrowseIO.currentSession&&window.CobrowseIO.currentSession.end()}static#e=this.\u0275fac=function(ue){return new(ue||se)(g.KVO(R.qQ),g.KVO(ce.bZ),g.KVO(y.JO),g.KVO(g.SKi),g.KVO(Ne.O))};static#t=this.\u0275prov=g.jDH({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})();function dt(se,Ae){if(1&se){const we=g.RV6();g.j41(0,"button",3),g.bIt("click",function(){g.eBV(we);const Oe=g.XpG(2);return g.Njj(Oe.openChat())}),g.EFF(1),g.k0s()}if(2&se){const we=g.XpG().$implicit,ue=g.XpG();g.Y8G("ngClass",ue.euresEsfLogosVisible?"chat-bubble-eures":"chat-bubble-no-eures"),g.BMQ("aria-label",we("helpdesk.fehelpdesk/ChatButton/ariaLabel")),g.R7$(),g.SpI(" ",we("helpdesk.fehelpdesk/ChatButton")," ")}}function He(se,Ae){if(1&se&&(g.qex(0),g.j41(1,"div",1),g.DNE(2,dt,2,3,"button",2),g.k0s(),g.bVm()),2&se){const we=g.XpG();g.R7$(2),g.Y8G("ngIf",we.show)}}let Ge=(()=>{class se{constructor(we,ue,Oe,Ye){this.helpdeskService=we,this.cdRef=ue,this.scriptService=Oe,this.cobrowseService=Ye,this.euresEsfLogosVisible=!0,this.show=!0}ngOnInit(){var we=this;return(0,n.A)(function*(){yield we.loadScripts()})()}loadScripts(){var we=this;return(0,n.A)(function*(){yield(0,F.s)(we.scriptService.loadScript("https://apps.mypurecloud.de/widgets/9.0/cxbus.min.js")),we.customPlugin=yield we.helpdeskService.initCXBus(),yield we.loadCobrowseScripts()})()}loadCobrowseScripts(){var we=this;return(0,n.A)(function*(){yield(0,F.s)(we.scriptService.loadScript("https://js.cobrowse.io/CobrowseIO.js")),we.cobrowseService.start(),we.addChatEventHandlers()})()}openChat(){this.customPlugin.command("WebChat.open",this.helpdeskService.getAdvancedConfig()),this.addChatEventHandlers()}addChatEventHandlers(){this.customPlugin.subscribe("WebChat.opened",()=>{this.show=!1,this.cdRef.detectChanges()}),this.customPlugin.subscribe("WebChatService.clientConnected",()=>{window.CobrowseIO.start(),this.cobrowseService.addCustomCobrowseUI()}),this.customPlugin.subscribe("WebChatService.clientDisconnected",()=>{this.cobrowseService.endCobrowse()}),this.customPlugin.before("WebChat.open",we=>0===Object.keys(we).length?this.helpdeskService.getAdvancedConfig():we),this.customPlugin.subscribe("WebChat.closed",()=>{this.show=!0,this.cdRef.detectChanges()})}onWindowScroll(){this.euresEsfLogosVisible=window.scrollY<=r.r}onClick(we){if(we.target.matches(".cx-titlebar, .cx-titlebar .cx-icon, .cx-title")){const ue=document.querySelector(".cx-button-maximize");ue&&ue.click()}}static#e=this.\u0275fac=function(ue){return new(ue||se)(g.rXU(b),g.rXU(g.gRc),g.rXU(G.fL),g.rXU(ot))};static#t=this.\u0275cmp=g.VBU({type:se,selectors:[["tk-helpdesk"]],hostBindings:function(ue,Oe){1&ue&&g.bIt("scroll",function(){return Oe.onWindowScroll()},!1,g.tSv)("click",function(yt){return Oe.onClick(yt)},!1,g.EBC)},features:[g.Jv_([(0,y.bF)("helpdesk")])],decls:1,vars:0,consts:[[4,"transloco"],["role","group"],["class","chat-bubble main z-35","role","img",3,"ngClass","click",4,"ngIf"],["role","img",1,"chat-bubble","main","z-35",3,"click","ngClass"]],template:function(ue,Oe){1&ue&&g.DNE(0,He,3,1,"ng-container",0)},dependencies:[R.YU,R.bT,y.bA],styles:['.chat-bubble[_ngcontent-%COMP%]{color:#fff;display:flex;position:fixed;bottom:0;right:0;padding:.625rem 0 0}.chat-bubble.main[_ngcontent-%COMP%]{background:#f56600;border:1px solid #bf3101;border-bottom:0;border-radius:50%;width:3.5rem;font-size:1.25rem;font-weight:400;height:3.5rem;margin-bottom:1rem;margin-right:1rem;padding-top:.625rem;bottom:0;font-family:Roboto,sans-serif;line-height:1.875rem;cursor:pointer;transition:right .7s ease;right:var(--chat-right-offset, var(--chat-min-right-offset, 1.5rem))!important}.chat-bubble-eures[_ngcontent-%COMP%]{--chat-right-offset: 6rem}.chat-bubble.main[_ngcontent-%COMP%]:before{background:url(ico_chat_neg.8024906e8770adc1.svg) no-repeat center!important;margin-left:.69rem;float:left;content:" ";height:1.875rem;width:1.875rem;margin-right:.56rem}.chat-bubble.main[_ngcontent-%COMP%]:hover{margin-bottom:1rem!important;transition:all .1s ease-in;background:#cc3d00}@media only screen and (min-width: 981px){.chat-bubble.main[_ngcontent-%COMP%]{border-radius:.125rem .125rem 0 0;width:18.75rem;text-indent:0;margin-bottom:-.25rem!important}.chat-bubble.main[_ngcontent-%COMP%]:hover{margin-bottom:0!important}}@media only screen and (max-width: 980px){.chat-bubble.main[_ngcontent-%COMP%]{font-size:0}}']})}return se})()},3300:(_t,ge,f)=>{"use strict";f.d(ge,{F:()=>y});var n=f(177),r=f(4438);let y=(()=>{class F{constructor(A,M,B){this.viewContainer=A,this.templateRef=M,this.platformId=B}ngOnInit(){(0,n.Vy)(this.platformId)?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef)}static#e=this.\u0275fac=function(M){return new(M||F)(r.rXU(r.c1b),r.rXU(r.C4Q),r.rXU(r.Agw))};static#t=this.\u0275dir=r.FsC({type:F,selectors:[["","tkHideInSSR",""]]})}return F})()},4464:(_t,ge,f)=>{"use strict";f.d(ge,{h:()=>B});var n=f(4438),r=f(6100),y=f(4710),F=f(3060),g=f(2299),A=f(177);function M(V,T){if(1&V){const N=n.RV6();n.j41(0,"li")(1,"a",2),n.bIt("click",function(b){const G=n.eBV(N).$implicit,R=n.XpG();return n.Njj(R.languageLinkClickEvent(b,G))}),n.EFF(2),n.k0s()()}if(2&V){const N=T.$implicit;n.R7$(),n.Y8G("href",null==N.url?null:N.url.path,n.B4B),n.R7$(),n.SpI(" ",N.title," ")}}let B=(()=>{class V{constructor(N,U,b,G,R){this.appService=N,this.router=U,this.activatedRoute=b,this.translateService=G,this.backLinkService=R,this.defaultLinks=[{title:"EST",url:{path:"",external:!1}},{title:"ENG",url:{path:"",external:!1}},{title:"RUS",url:{path:"",external:!1}}],this.languageLinks=[],this.titleToCodeMap={EST:"et",ENG:"en",RUS:"ru"}}ngOnInit(){this.languageSwitchLinks$=this.appService.languageSwitchLinks,this.shouldAddDefaultLinks()&&this.assignLinks([]),this.languageSwitchLinks$.subscribe(N=>{this.assignLinks(N)})}assignLinks(N){this.languageLinks=N.length>0?N:this.defaultLinks.map(U=>(U.url={path:this.appService.translateRoute(this.router.url,this.titleToCodeMap[U.title]),external:!1},U)),this.languageLinks=this.languageLinks.filter(U=>this.titleToCodeMap[U.title]!==this.translateService.getActiveLang())}languageLinkClickEvent(N,U){N.preventDefault(),this.backLinkService.resetState(),window.location=U.url?.path?U.url?.path:"/"+this.titleToCodeMap[U.title]}shouldAddDefaultLinks(){const N=this.activatedRoute.firstChild?.routeConfig?.path??this.activatedRoute.routeConfig?.path;if(null==N||"**"==N)return!1;const U=this.translateService.translateObject("ROUTES"),b=Object.values(U);return N.split("/").every(ce=>b.includes(ce)||":"==ce.charAt(0))||""===N}static#e=this.\u0275fac=function(U){return new(U||V)(n.rXU(r.d),n.rXU(y.Ix),n.rXU(y.nX),n.rXU(F.JO),n.rXU(g.t))};static#t=this.\u0275cmp=n.VBU({type:V,selectors:[["tk-language-switch-links"]],decls:2,vars:1,consts:[[1,"flex","space-x-2"],[4,"ngFor","ngForOf"],[1,"header-link",3,"click","href"]],template:function(U,b){1&U&&(n.j41(0,"ul",0),n.DNE(1,M,3,2,"li",1),n.k0s()),2&U&&(n.R7$(),n.Y8G("ngForOf",b.languageLinks))},dependencies:[A.Sq],encapsulation:2})}return V})()},484:(_t,ge,f)=>{"use strict";f.d(ge,{A:()=>G});var n=f(4438),r=f(177),y=f(4710),F=f(2427),g=f(2614),A=f(6959),M=f(8180);const B=R=>({"active-menuitem":R});function V(R,ce){if(1&R&&n.nrm(0,"h2",4),2&R){const J=n.XpG();n.Y8G("innerHTML",J.menu.name,n.npT)}}function T(R,ce){if(1&R){const J=n.RV6();n.j41(0,"ui-icon",11),n.bIt("tkClickOrPressSpace",function(){n.eBV(J);const Ne=n.XpG().$implicit;return n.Njj(Ne.expand=!Ne.expand)}),n.k0s()}if(2&R){const J=n.XpG().$implicit;n.Y8G("icon",J.expand?"chevron-up":"chevron-down")}}function N(R,ce){if(1&R&&(n.j41(0,"li",14),n.nrm(1,"a",15),n.nI1(2,"capitalizeFirstLetter"),n.k0s()),2&R){const J=ce.$implicit;n.Y8G("ngClass",n.eq3(5,B,J.active)),n.R7$(),n.Y8G("routerLink",J.url.path)("innerHTML",n.bMT(2,3,J.title),n.npT)}}function U(R,ce){if(1&R&&(n.j41(0,"ul",12),n.DNE(1,N,3,7,"li",13),n.k0s()),2&R){const J=n.XpG().$implicit;n.R7$(),n.Y8G("ngForOf",J.children)}}function b(R,ce){if(1&R&&(n.j41(0,"li")(1,"div",5)(2,"div",6),n.nrm(3,"a",7),n.nI1(4,"capitalizeFirstLetter"),n.k0s(),n.j41(5,"div",8),n.DNE(6,T,1,1,"ui-icon",9),n.k0s()(),n.DNE(7,U,2,1,"ul",10),n.k0s()),2&R){const J=ce.$implicit;n.R7$(2),n.Y8G("ngClass",n.eq3(7,B,J.active)),n.R7$(),n.Y8G("routerLink",J.url.path)("innerHTML",n.bMT(4,5,J.title),n.npT),n.R7$(3),n.Y8G("ngIf",J.children&&J.children.length),n.R7$(),n.Y8G("ngIf",J&&J.expand)}}let G=(()=>{class R{static#e=this.\u0275fac=function(Se){return new(Se||R)};static#t=this.\u0275cmp=n.VBU({type:R,selectors:[["tk-left-menu-accordion"]],inputs:{menu:"menu",showMenuName:"showMenuName"},decls:4,vars:3,consts:[["tkEditable","",1,"rounded-md","pb-4","pl-3","pr-3.5","pt-5","outline-none","outline-1","outline-offset-0","outline-grey-300",3,"adminLinks"],["class","pb-5 text-lg font-bold",3,"innerHTML",4,"ngIf"],[1,"space-y-1"],[4,"ngFor","ngForOf"],[1,"pb-5","text-lg","font-bold",3,"innerHTML"],[1,"flex","items-center"],[1,"menuitem-container","menuitem-1","mb-sm","mr-2.5","flex","flex-1","items-center",3,"ngClass"],[1,"menu-link","grow","pl-[0.438rem]","font-bold",3,"routerLink","innerHTML"],[1,"icon-container"],["tabindex","0","class","menu-item-arrow text-accent",3,"icon","tkClickOrPressSpace",4,"ngIf"],["class","my-1 select-none",4,"ngIf"],["tabindex","0",1,"menu-item-arrow","text-accent",3,"tkClickOrPressSpace","icon"],[1,"my-1","select-none"],["class","menuitem-container menuitem-2 mb-sm",3,"ngClass",4,"ngFor","ngForOf"],[1,"menuitem-container","menuitem-2","mb-sm",3,"ngClass"],[1,"menu-link","flex","justify-between","pl-[1.188rem]",3,"routerLink","innerHTML"]],template:function(Se,Ne){1&Se&&(n.j41(0,"div",0),n.DNE(1,V,1,1,"h2",1),n.j41(2,"ul",2),n.DNE(3,b,8,9,"li",3),n.k0s()()),2&Se&&(n.Y8G("adminLinks",Ne.menu.adminLinks),n.R7$(),n.Y8G("ngIf",Ne.showMenuName),n.R7$(2),n.Y8G("ngForOf",Ne.menu.items))},dependencies:[r.YU,r.Sq,r.bT,y.Wk,F.R,g.y,A.i5,M.X],styles:[".menu-link[_ngcontent-%COMP%]{position:relative;padding-top:.25rem;padding-bottom:.25rem;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.menu-link[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(204 61 0 / var(--tw-text-opacity));text-decoration-line:underline}.menu-item-arrow[_ngcontent-%COMP%]{outline:2px solid transparent;outline-offset:2px}.icon-container[_ngcontent-%COMP%]{margin-bottom:var(--small);display:flex;height:2rem;align-items:center}.icon-container[_ngcontent-%COMP%]:has(:focus-visible){border-radius:.125rem;outline:2px solid transparent;outline-offset:0px;outline-color:#005aa3}"]})}return R})()},9924:(_t,ge,f)=>{"use strict";f.d(ge,{N:()=>M});var n=f(4099),r=f(4438),y=f(3060),F=f(4710),g=f(8964);function A(B,V){if(1&B&&(r.qex(0),r.nrm(1,"tk-btn-icon-right",1),r.bVm()),2&B){const T=V.$implicit,N=r.XpG();r.R7$(),r.Y8G("text",N.loginText||T("fegeneral/buttons/selfService"))("textClass","flex h-10 cursor-pointer items-center justify-center whitespace-nowrap rounded-full bg-primary pl-4 pr-3 text-lg font-bold text-white outline-none ring-primary-active hover:bg-primary-highlighted focus-visible:bg-primary-active focus-visible:ring-2 focus-visible:ring-offset-2 active:bg-primary-active")("iconClass","btn-icon-arrow-right")("url",N.loginLink)}}let M=(()=>{class B{constructor(T,N){this.translateService=T,this.router=N,this.returnOnLogin=!1}get loginLink(){const T=this.returnOnLogin?{[n.SelfServiceQueryParam.RETURN]:this.router.url,[n.SelfServiceQueryParam.FRONT_PAGE]:"1"}:void 0;return{path:(0,n.getSelfServiceLoginUrl)(this.translateService.getActiveLang(),T),external:!1}}static#e=this.\u0275fac=function(N){return new(N||B)(r.rXU(y.JO),r.rXU(F.Ix))};static#t=this.\u0275cmp=r.VBU({type:B,selectors:[["tk-login-btn"]],inputs:{loginText:"loginText",returnOnLogin:"returnOnLogin"},decls:1,vars:0,consts:[[4,"transloco"],[3,"text","textClass","iconClass","url"]],template:function(N,U){1&N&&r.DNE(0,A,2,4,"ng-container",0)},dependencies:[y.bA,g.n],encapsulation:2})}return B})()},7442:(_t,ge,f)=>{"use strict";f.d(ge,{b:()=>A});var n=f(4710),r=f(4412),y=f(5964),F=f(6416),g=f(4438);let A=(()=>{class M{constructor(V){this.messageList=[],this._messageList=new r.t([]),V.events.pipe((0,y.p)(T=>T instanceof n.Z)).subscribe(()=>this.clearMessages())}get messages(){return this._messageList.asObservable()}setSuccessMessage(V){this.setMessage(V,F.G.SUCCESS)}setErrorMessage(V){this.setMessage(V,F.G.ERROR)}clearMessages(){this.messageList=[],this._messageList.next(this.messageList)}setMessage(V,T){this.messageList.push({message:V,type:T}),this._messageList.next(this.messageList)}static#e=this.\u0275fac=function(T){return new(T||M)(g.KVO(n.Ix))};static#t=this.\u0275prov=g.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},6416:(_t,ge,f)=>{"use strict";f.d(ge,{G:()=>n});var n=function(r){return r.SUCCESS="SUCCESS",r.ERROR="ERROR",r}(n||{})},3864:(_t,ge,f)=>{"use strict";f.d(ge,{G:()=>F});var n=f(177),r=f(4438),y=f(4099);let F=(()=>{class g{constructor(M,B){this.el=M,this.platformId=B}ngOnInit(){this.cleanEmail()}cleanEmail(){if(this.tkObfuscatedEmail&&(0,n.UE)(this.platformId)){const M=(0,y.rot13)(this.tkObfuscatedEmail),B=this.el.nativeElement;B.href="mailto:"+M,B.innerHTML=M}}static#e=this.\u0275fac=function(B){return new(B||g)(r.rXU(r.aKT),r.rXU(r.Agw))};static#t=this.\u0275dir=r.FsC({type:g,selectors:[["a","tkObfuscatedEmail",""]],inputs:{tkObfuscatedEmail:"tkObfuscatedEmail"}})}return g})()},1735:(_t,ge,f)=>{"use strict";f.d(ge,{U:()=>V});var n=f(4438),r=f(177);let y=(()=>{class T{static#e=this.\u0275fac=function(b){return new(b||T)};static#t=this.\u0275cmp=n.VBU({type:T,selectors:[["tk-page-content-title"]],inputs:{title:"title"},decls:1,vars:1,consts:[[1,"pb-2","font-nunito","text-2xl","font-extrabold","tracking-tight","lg:text-4xl",3,"innerHTML"]],template:function(b,G){1&b&&n.nrm(0,"h1",0),2&b&&n.Y8G("innerHTML",G.title,n.npT)},encapsulation:2})}return T})();var F=f(8596),g=f(2614),A=f(5731);function M(T,N){if(1&T&&n.nrm(0,"tk-file-area",6),2&T){const U=n.XpG(2);n.Y8G("files",U.page.files)}}function B(T,N){if(1&T&&(n.j41(0,"div",1),n.nrm(1,"tk-page-content-title",2)(2,"div",3),n.nI1(3,"tkTrustedHTML"),n.DNE(4,M,1,1,"tk-file-area",4),n.nrm(5,"div",5),n.nI1(6,"tkTrustedHTML"),n.k0s()),2&T){const U=n.XpG();n.Y8G("adminLinks",U.page.adminLinks),n.R7$(),n.Y8G("title",U.page.title),n.R7$(),n.HbH(null!=U.page.body&&U.page.body.summary?"pb-4":"pb-2"),n.Y8G("innerHTML",n.bMT(3,7,null==U.page.body?null:U.page.body.summary),n.npT),n.R7$(2),n.Y8G("ngIf",U.page.files),n.R7$(),n.Y8G("innerHTML",n.bMT(6,9,null==U.page.body?null:U.page.body.value),n.npT)}}let V=(()=>{class T{static#e=this.\u0275fac=function(b){return new(b||T)};static#t=this.\u0275cmp=n.VBU({type:T,selectors:[["tk-page-content"]],inputs:{page:"page"},decls:1,vars:1,consts:[["tkEditable","",3,"adminLinks",4,"ngIf"],["tkEditable","",3,"adminLinks"],[3,"title"],[1,"page-content","page-content-summary",3,"innerHTML"],[3,"files",4,"ngIf"],[1,"page-content",3,"innerHTML"],[3,"files"]],template:function(b,G){1&b&&n.DNE(0,B,7,11,"div",0),2&b&&n.Y8G("ngIf",G.page)},dependencies:[r.bT,y,F.X,g.y,A.T],encapsulation:2,changeDetection:0})}return T})()},4191:(_t,ge,f)=>{"use strict";f.d(ge,{V:()=>r});var n=f(4438);let r=(()=>{class y{constructor(){}formatPhoneNumber(g){if(!g)return"";let A=g.replace(/\s/g,""),M="";if(A.startsWith("+")&&(M=A.slice(0,4),A=A.slice(4)),8==A.length||7==A.length){const B=8==A.length?4:3;A=A.slice(0,B)+" "+A.slice(B)}return"+372"!=M&&(A=M+" "+A),A}static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275prov=n.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},4872:(_t,ge,f)=>{"use strict";f.d(ge,{H:()=>A});var n=f(4710),r=f(5964),y=f(1594),F=f(4438),g=f(177);let A=(()=>{class M{constructor(V,T){this.router=V,this.viewportScroller=T,this.navStartEvent$=this.router.events.pipe((0,r.p)(N=>N instanceof n.Z&&this.router.url.split("?")[0]!==N.url.split("?")[0]),(0,y.$)())}setQueryParams(V,T=!0){this.router.navigate([],{queryParams:V,queryParamsHandling:"merge",replaceUrl:!0}).then(()=>{T&&this.viewportScroller.scrollToPosition([0,0])})}static#e=this.\u0275fac=function(T){return new(T||M)(F.KVO(n.Ix),F.KVO(g.Xr))};static#t=this.\u0275prov=F.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},3887:(_t,ge,f)=>{"use strict";f.d(ge,{G:()=>Se});var n=f(177),r=f(9417),y=f(4518),F=f(5351),g=f(9213),A=f(9183),M=f(4710),B=f(1544),V=f(2510),T=f(1979),N=f(8972),U=f(2506),b=f(6703),G=f(4331),R=f(2490),ce=f(4663),J=f(4438);let Se=(()=>{class Ne{static#e=this.\u0275fac=function(He){return new(He||Ne)};static#t=this.\u0275mod=J.$C({type:Ne});static#n=this.\u0275inj=J.G2t({providers:[R.O],imports:[n.MD,B.XE,M.iI,V.MQ,r.X1,ce.z,y.jL,A.D6,F.hM,g.m_,r.YN,G.I,b.T,T.I,N.t,U.o,V.MQ]})}return Ne})()},4055:(_t,ge,f)=>{"use strict";f.d(ge,{W:()=>y});var n=f(177),r=f(4438);let y=(()=>{class F{constructor(A,M){this._viewContainerRef=A,this._document=M,this.swipeCoord=[0,0],this.swipeLeft=new r.bkB,this.swipeRight=new r.bkB,this.swipeFromLeftEdge=new r.bkB,this.swipeFromRightEdge=new r.bkB,this.initializeEventListeners()}initializeEventListeners(){const A=this._viewContainerRef.element.nativeElement;A.addEventListener("touchstart",M=>{this.swipe(M,"start")},{passive:!0}),A.addEventListener("touchend",M=>{this.swipe(M,"end")},{passive:!0})}swipe(A,M){const B=[A.changedTouches[0].clientX,A.changedTouches[0].clientY],V=(new Date).getTime();if("start"===M)this.swipeCoord=B,this.swipeTime=V;else if("end"===M){const T=[B[0]-this.swipeCoord[0],B[1]-this.swipeCoord[1]];if(V-this.swipeTime<1e3&&Math.abs(T[0])>30&&Math.abs(T[0])>Math.abs(3*T[1])){let U=T[0]<0?"left":"right";const b=this._document.documentElement.clientWidth/5;switch(("right"==U&&this.swipeCoord[0]<b||"left"==U&&this.swipeCoord[0]>this._document.documentElement.clientWidth-b)&&(U+="edge"),U){case"left":this.swipeLeft.emit();break;case"right":this.swipeRight.emit();break;case"leftedge":this.swipeFromRightEdge.emit();break;case"rightedge":this.swipeFromLeftEdge.emit()}}}}static#e=this.\u0275fac=function(M){return new(M||F)(r.rXU(r.c1b),r.rXU(n.qQ))};static#t=this.\u0275dir=r.FsC({type:F,selectors:[["","tkSwipe",""]],outputs:{swipeLeft:"swipeLeft",swipeRight:"swipeRight",swipeFromLeftEdge:"swipeFromLeftEdge",swipeFromRightEdge:"swipeFromRightEdge"}})}return F})()},4824:(_t,ge,f)=>{"use strict";f.d(ge,{l:()=>g});var n=f(4438),r=f(177),y=f(4710),F=f(849);let g=(()=>{class A{static#e=this.\u0275fac=function(V){return new(V||A)};static#t=this.\u0275cmp=n.VBU({type:A,selectors:[["tk-tootukassa-logo"]],inputs:{class:"class"},decls:4,vars:4,consts:[["aria-label","Eesti T\xf6\xf6tukassa logo",1,"tk-logo",3,"routerLink"],[1,"h-11","w-48","bg-logo-tk","bg-contain","bg-no-repeat",3,"ngClass"]],template:function(V,T){1&V&&(n.j41(0,"h1")(1,"a",0),n.nI1(2,"localize"),n.nrm(3,"div",1),n.k0s()()),2&V&&(n.R7$(),n.FS9("routerLink",n.bMT(2,2,"/")),n.R7$(2),n.Y8G("ngClass",T.class))},dependencies:[r.YU,y.Wk,F.t],encapsulation:2})}return A})()},5395:(_t,ge,f)=>{"use strict";function n(y){return"boolean"==typeof y?y:null!=y&&"false"!==y}function r(y,F=NaN){return isNaN(parseFloat(y))||isNaN(Number(y))?F:Number(y)}f.d(ge,{G:()=>n,R:()=>r})},2145:(_t,ge,f)=>{"use strict";function n(y,F){const g=document.createElement("a");g.href=URL.createObjectURL(y),g.setAttribute("download",F),g.click()}function r(y){const F=/filename\*=UTF-8''([\w%\-.]+)(?:; ?|$)/i,g=/^filename=(["']?)(.*?[^\\])\1(?:; ?|$)/i;let A="";if(F.test(y))A=decodeURIComponent(F.exec(y)[1]);else{const M=y.toLowerCase().indexOf("filename=");if(M>=0){const B=y.slice(M),V=g.exec(B);null!=V&&V[2]&&(A=V[2])}}return A}f.d(ge,{W:()=>r,u:()=>n})},5027:(_t,ge,f)=>{"use strict";f.d(ge,{Mp:()=>F,RL:()=>y,cq:()=>g});var n=f(2092);const r=[n.A.EST.toString(),n.A.ENG.toString(),n.A.RUS.toString()];function y(A){return g(F(A))}function F(A){const M=A.split("/").filter(Boolean);return r.includes(M[0])?`/${M.slice(1).join("/")}`:A}function g(A){return A.split("?")?A.split("?")[0]:""}},4099:(_t,ge,f)=>{"use strict";f.r(ge),f.d(ge,{FrontEndToSelfServiceLanguageMap:()=>y,IS_LOCAL_DEV:()=>F,SelfServiceQueryParam:()=>g,deObfuscateEmailsInHTML:()=>N,formatToIntArray:()=>M,formatToStringArray:()=>A,getPageInfo:()=>U,getSelfServiceLoginUrl:()=>V,getSelfServiceUrlByLanguage:()=>b,isSelfServiceUrl:()=>B,rot13:()=>T});var n=f(8376),r=f(5312);const y={et:"",en:"eng",ru:"ru"},F=()=>!r.c.production&&!r.c.auth;var g=function(G){return G.RETURN="return",G.PERSON="isik",G.REPRESENDATIVE_IDCODE="esindaja",G.COMPANY_REGCODE="asutus",G.EURES="eures",G.CONSULTATION="on_noustamine",G.FRONT_PAGE="koduleht",G}(g||{});function A(G){return G?"string"==typeof G?[String(G)]:G.map(R=>String(R)):null}function M(G){return G?G?"string"==typeof G?[parseInt(G)]:G.map(R=>parseInt(R.toString())):[]:null}function B(G){return G&&G.path.startsWith(r.c.selfServiceURLPath)}function V(G,R){const ce=y[G];let J=ce.length?`/etootukassa/${ce}/logi-sisse`:"/etootukassa/logi-sisse";if(!R)return J;let Se="?";for(const Ne in R)J+=`${Se}${Ne}=${Ne===g.RETURN?btoa(R[Ne]):R[Ne]}`,Se="&";return J}function T(G){const J=Ne=>"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".indexOf(Ne);return G.split("").map(Ne=>J(Ne)>-1?"NOPQRSTUVWXYZABCDEFGHIJKLMnopqrstuvwxyzabcdefghijklm"[J(Ne)]:Ne).join("")}function N(G){const R=document.createElement("html");R.innerHTML=G;const ce=R.querySelectorAll("a[obfuscated-email]");for(const J of Array.from(ce)){const Se=J.getAttribute("obfuscated-email");if(!Se)continue;const Ne=T(Se);J.setAttribute("href",`mailto:${Ne}`),J.removeAttribute("obfuscated-email"),J.textContent=Ne}return R.innerHTML}function U(G){const R=G.resultsTotal??0,Se=R-(G.pageNumber??1)*(G.resultsPerPage??n.B);return{remainingItems:Se,totalCount:R,endCursor:null,hasNextPage:Se>0}}function b(G){let R=y[G];return""!==R&&(R="/"+R),r.c.selfServiceURL+R}},6810:(_t,ge,f)=>{"use strict";f.d(ge,{h:()=>F});var n=f(177),r=f(2506),y=f(4438);let F=(()=>{class g{static#e=this.\u0275fac=function(B){return new(B||g)};static#t=this.\u0275mod=y.$C({type:g});static#n=this.\u0275inj=y.G2t({imports:[n.MD,r.o]})}return g})()},6553:(_t,ge,f)=>{"use strict";f.d(ge,{Q:()=>B});var n=f(2427),r=f(7376),F=f(4438);const g=["ui-button",""],A=[[["ui-icon",3,"iconPositionEnd",""]],"*",[["ui-icon","iconPositionEnd",""]]],M=["ui-icon:not([iconPositionEnd])","*","ui-icon[iconPositionEnd]"];let B=(()=>{class V{constructor(){this.variant="primary",this._size="lg"}get size(){return this._size}set size(N){this._size!==N&&(this._size=N,this.syncIconSize())}get class(){return(0,r.compact)([this.variant,this.size]).join(" ")}ngAfterContentInit(){this.syncIconSize()}syncIconSize(){const N="sm"===this._size?"md":this._size;this.iconChildren?.forEach(U=>U.size=N)}static#e=this.\u0275fac=function(U){return new(U||V)};static#t=this.\u0275cmp=F.VBU({type:V,selectors:[["button","ui-button",""],["a","ui-button",""]],contentQueries:function(U,b,G){if(1&U&&F.wni(G,n.b,5),2&U){let R;F.mGM(R=F.lsd())&&(b.iconChildren=R)}},hostVars:2,hostBindings:function(U,b){2&U&&F.HbH(b.class)},inputs:{variant:"variant",size:"size"},attrs:g,ngContentSelectors:M,decls:3,vars:0,template:function(U,b){1&U&&(F.NAR(A),F.SdG(0),F.SdG(1,1),F.SdG(2,2))},styles:['h1[_ngcontent-%COMP%]{margin-bottom:1.5rem;font-family:Nunito Sans,sans-serif;font-size:1.75rem;font-weight:700;line-height:2.1875rem}@media (min-width: 768px){h1[_ngcontent-%COMP%]{font-size:3rem;line-height:3.75rem}}h2[_ngcontent-%COMP%]{margin-bottom:1rem;font-family:Nunito Sans,sans-serif;font-size:1.5rem;font-weight:800;line-height:1.875rem}@media (min-width: 768px){h2[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.8125rem}}h3[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.25rem;font-weight:700;line-height:1.5625rem}@media (min-width: 768px){h3[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.875rem}}h4[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1.125rem;font-weight:700;line-height:1.40625rem}h5[_ngcontent-%COMP%]{margin-bottom:1rem;font-size:1rem;font-weight:700;line-height:1.25rem}p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.body-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.body-xs-medium[_ngcontent-%COMP%]{font-weight:500;font-size:.75rem;line-height:1rem}.body-xs-medium[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:.875rem;width:.875rem}.body-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.body-sm-bold[_ngcontent-%COMP%]{font-weight:700;font-size:.875rem;line-height:1.25rem}.mobile-body-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}@media (min-width: 768px){.mobile-body-sm[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}}.body-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.body-lg-bold[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.75rem}a[_ngcontent-%COMP%]{text-decoration-line:underline}a[_ngcontent-%COMP%]:hover{text-decoration-line:none}a[_ngcontent-%COMP%]:focus{border-radius:3px;padding-left:.125rem;padding-right:.125rem;padding-top:3px;padding-bottom:3px;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(0 90 163 / var(--tw-ring-opacity))}a[_ngcontent-%COMP%]:active{font-weight:700}.panel-heading-small[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:700;line-height:1.4rem}@media (min-width: 768px){.panel-heading-small[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.875rem}}.panel-heading-medium[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;line-height:1.875rem}.modal-heading[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif;font-size:1.5rem;font-weight:800;line-height:1.875rem}@media (min-width: 768px){.modal-heading[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.813rem}}a[target=_blank][_ngcontent-%COMP%]{display:inline-flex;align-items:center;--tw-text-opacity: 1;color:rgb(204 61 0 / var(--tw-text-opacity))}a[target=_blank][_ngcontent-%COMP%]:after{content:"";mask:url(ico_ext_link.d4f887425672e9de.svg);-webkit-mask-size:contain;mask-size:contain;background-color:currentColor;margin-left:.25rem;--tw-translate-y: -1px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.body-xs[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:.875rem;width:.875rem}.mobile-body-sm[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:1rem;width:1rem}@media (min-width: 768px){.mobile-body-sm[_ngcontent-%COMP%] > a[target=_blank][_ngcontent-%COMP%]:after{height:1.25rem;width:1.25rem}}[_nghost-%COMP%]:not(.link):not(.ghost-link){display:inline-flex;align-items:center;justify-content:center;overflow-wrap:break-word;border-radius:9999px;font-family:Roboto,sans-serif;font-weight:700;outline:2px solid transparent;outline-offset:2px}[_nghost-%COMP%]:not(.link):not(.ghost-link):focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-offset-width: 2px}[_nghost-%COMP%]:not(.link):not(.ghost-link).primary:not(:disabled){--tw-bg-opacity: 1;background-color:rgb(0 90 163 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-ring-opacity: 1;--tw-ring-color: rgb(0 61 117 / var(--tw-ring-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).primary:not(:disabled):hover{--tw-bg-opacity: 1;background-color:rgb(0 95 184 / var(--tw-bg-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).primary:not(:disabled):focus-visible{--tw-bg-opacity: 1;background-color:rgb(0 61 117 / var(--tw-bg-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).primary:not(:disabled):active{--tw-bg-opacity: 1;background-color:rgb(0 61 117 / var(--tw-bg-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).primary:disabled{--tw-bg-opacity: 1;background-color:rgb(97 114 125 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[_nghost-%COMP%]:not(.link):not(.ghost-link).secondary:not(:disabled){border-width:1px;--tw-border-opacity: 1;border-color:rgb(0 90 163 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(0 90 163 / var(--tw-text-opacity));--tw-ring-opacity: 1;--tw-ring-color: rgb(0 61 117 / var(--tw-ring-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).secondary:not(:disabled):hover{--tw-bg-opacity: 1;background-color:rgb(244 246 249 / var(--tw-bg-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).secondary:not(:disabled):focus-visible{--tw-border-opacity: 1;border-color:rgb(0 61 117 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(0 61 117 / var(--tw-text-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).secondary:not(:disabled):active{--tw-border-opacity: 1;border-color:rgb(0 61 117 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(0 61 117 / var(--tw-text-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).secondary:disabled{border-width:1px;--tw-border-opacity: 1;border-color:rgb(216 227 233 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(244 246 249 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(129 151 166 / var(--tw-text-opacity));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[_nghost-%COMP%]:not(.link):not(.ghost-link).ghost:not(:disabled){background-color:transparent;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));--tw-ring-opacity: 1;--tw-ring-color: rgb(0 70 128 / var(--tw-ring-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).ghost:not(:disabled):hover{--tw-bg-opacity: 1;background-color:rgb(244 246 249 / var(--tw-bg-opacity));text-decoration-line:underline;text-decoration-style:solid}[_nghost-%COMP%]:not(.link):not(.ghost-link).ghost:disabled{background-color:transparent;--tw-text-opacity: 1;color:rgb(97 114 125 / var(--tw-text-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).negative:not(:disabled){border-width:1px;--tw-border-opacity: 1;border-color:rgb(191 49 1 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(191 49 1 / var(--tw-text-opacity));--tw-ring-opacity: 1;--tw-ring-color: rgb(191 49 1 / var(--tw-ring-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).negative:not(:disabled):hover{--tw-bg-opacity: 1;background-color:rgb(244 246 249 / var(--tw-bg-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).negative:not(:disabled):active{--tw-border-opacity: 1;border-color:rgb(140 36 1 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(140 36 1 / var(--tw-text-opacity))}[_nghost-%COMP%]:not(.link):not(.ghost-link).negative:disabled{border-width:1px;--tw-border-opacity: 1;border-color:rgb(97 114 125 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(97 114 125 / var(--tw-text-opacity));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[_nghost-%COMP%]:not(.link):not(.ghost-link).sm{column-gap:.25rem;padding-left:.75rem;padding-right:.75rem;padding-top:3px;padding-bottom:3px;font-weight:700;font-size:.875rem;line-height:1.25rem}[_nghost-%COMP%]:not(.link):not(.ghost-link).sm:has(ui-icon:not([iconPositionEnd])), [_nghost-%COMP%]:not(.link):not(.ghost-link).sm:has(ui-count-badge){padding-left:.5rem}[_nghost-%COMP%]:not(.link):not(.ghost-link).sm:has(ui-icon[iconPositionEnd]){padding-right:.5rem}[_nghost-%COMP%]:not(.link):not(.ghost-link).md{column-gap:.375rem;padding:.125rem .875rem;font-weight:700}[_nghost-%COMP%]:not(.link):not(.ghost-link).md:has(ui-icon:not([iconPositionEnd])), [_nghost-%COMP%]:not(.link):not(.ghost-link).md:has(ui-count-badge){padding-left:.75rem}[_nghost-%COMP%]:not(.link):not(.ghost-link).md:has(ui-icon[iconPositionEnd]){padding-right:.75rem}[_nghost-%COMP%]:not(.link):not(.ghost-link).lg{column-gap:.5rem;padding:.375rem 1rem;font-weight:700;font-size:1.125rem;line-height:1.75rem}[_nghost-%COMP%]:not(.link):not(.ghost-link).lg:has(ui-icon:not([iconPositionEnd])), [_nghost-%COMP%]:not(.link):not(.ghost-link).lg:has(ui-count-badge){padding-left:.75rem}[_nghost-%COMP%]:not(.link):not(.ghost-link).lg:has(ui-icon[iconPositionEnd]){padding-right:.75rem}.link[_nghost-%COMP%]{display:inline-flex;align-items:center;justify-content:flex-start;column-gap:.25rem;border-radius:.125rem;background-color:transparent;text-align:left}.link[_nghost-%COMP%]:not(:disabled){justify-content:flex-start;border-radius:.125rem;--tw-text-opacity: 1;color:rgb(204 61 0 / var(--tw-text-opacity));text-decoration-line:underline;text-underline-offset:2px;outline:2px solid transparent;outline-offset:2px}.link[_nghost-%COMP%]:not(:disabled):hover{text-decoration-line:none}.link[_nghost-%COMP%]:not(:disabled):focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(0 90 163 / var(--tw-ring-opacity))}.link[_nghost-%COMP%]:not(:disabled):active{--tw-text-opacity: 1;color:rgb(140 36 1 / var(--tw-text-opacity))}.ghost-link[_nghost-%COMP%]{display:inline-flex;align-items:center;justify-content:flex-start;column-gap:.375rem;overflow-wrap:break-word;border-radius:.125rem;padding-top:3px;padding-bottom:3px;padding-left:.125rem;padding-right:.125rem;font-family:Roboto,sans-serif;font-weight:700;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(204 61 0 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.ghost-link[_nghost-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(191 49 1 / var(--tw-text-opacity))}.ghost-link[_nghost-%COMP%]:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(0 90 163 / var(--tw-ring-opacity))}.ghost-link[_nghost-%COMP%]:active{--tw-text-opacity: 1;color:rgb(140 36 1 / var(--tw-text-opacity))}.ghost-link[_nghost-%COMP%]:disabled{padding-left:0;padding-right:0;--tw-text-opacity: 1;color:rgb(175 185 191 / var(--tw-text-opacity))}.sm[_nghost-%COMP%]{font-size:.875rem;line-height:1.25rem}.lg[_nghost-%COMP%]{font-size:1.125rem;line-height:1.75rem}'],changeDetection:0})}return V})()},8972:(_t,ge,f)=>{"use strict";f.d(ge,{t:()=>y});var n=f(177),r=f(4438);let y=(()=>{class F{static#e=this.\u0275fac=function(M){return new(M||F)};static#t=this.\u0275mod=r.$C({type:F});static#n=this.\u0275inj=r.G2t({imports:[n.MD]})}return F})()},7097:(_t,ge,f)=>{"use strict";f.d(ge,{p:()=>r});var n=f(4438);let r=(()=>{class y{static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275dir=n.FsC({type:y,selectors:[["ui-icon","iconPositionEnd",""]]})}return y})()},7050:(_t,ge,f)=>{"use strict";f.d(ge,{q:()=>y});var n=f(177),r=f(4438);let y=(()=>{class F{static#e=this.\u0275fac=function(M){return new(M||F)};static#t=this.\u0275mod=r.$C({type:F});static#n=this.\u0275inj=r.G2t({imports:[n.MD]})}return F})()},1625:(_t,ge,f)=>{"use strict";f.d(ge,{e:()=>y});var n=f(5395),r=f(4438);let y=(()=>{class F{constructor(){this._large=!1}get large(){return this._large}set large(A){this._large=(0,n.G)(A)}get class(){return"col-span-12 mobile-body-sm "+(this._large?"tablet:col-span-2 tablet:-mt-4":"mb-4 tablet:mt-0 tablet:mb-0 tablet:col-span-1")}static#e=this.\u0275fac=function(M){return new(M||F)};static#t=this.\u0275dir=r.FsC({type:F,selectors:[["dd","uiDd",""]],hostVars:2,hostBindings:function(M,B){2&M&&r.HbH(B.class)},inputs:{large:"large"}})}return F})()},5945:(_t,ge,f)=>{"use strict";f.d(ge,{U:()=>r});var n=f(4438);let r=(()=>{class y{constructor(){this.class="grid items-baseline tablet:gap-4 grid-cols-[fit-content(14rem),_1fr]"}static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275dir=n.FsC({type:y,selectors:[["dl","uiDl",""]],hostVars:2,hostBindings:function(A,M){2&A&&n.HbH(M.class)}})}return y})()},9166:(_t,ge,f)=>{"use strict";f.d(ge,{b:()=>y});var n=f(177),r=f(4438);let y=(()=>{class F{static#e=this.\u0275fac=function(M){return new(M||F)};static#t=this.\u0275mod=r.$C({type:F});static#n=this.\u0275inj=r.G2t({imports:[n.MD]})}return F})()},8575:(_t,ge,f)=>{"use strict";f.d(ge,{y:()=>r});var n=f(4438);let r=(()=>{class y{constructor(){this.class="font-medium mobile-body-sm text-grey-900"}static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275dir=n.FsC({type:y,selectors:[["dt","uiDt",""]],hostVars:2,hostBindings:function(A,M){2&A&&n.HbH(M.class)}})}return y})()},3665:(_t,ge,f)=>{"use strict";f.d(ge,{C:()=>r});var n=f(4438);let r=(()=>{class y{constructor(){this.class="font-medium inline-block flex items-center mobile-body-sm"}static#e=this.\u0275fac=function(A){return new(A||y)};static#t=this.\u0275dir=n.FsC({type:y,selectors:[["ui-label"]],hostVars:2,hostBindings:function(A,M){2&A&&n.HbH(M.class)}})}return y})()},1226:(_t,ge,f)=>{"use strict";f.d(ge,{L:()=>g});var n=f(7987),r=f(177),y=f(9213),F=f(4438);let g=(()=>{class A{static#e=this.\u0275fac=function(V){return new(V||A)};static#t=this.\u0275mod=F.$C({type:A});static#n=this.\u0275inj=F.G2t({imports:[r.MD,y.m_,n.z_]})}return A})()},2427:(_t,ge,f)=>{"use strict";f.d(ge,{R:()=>g,b:()=>F});var n=f(4438),r=f(9213);const y=["icon",""],F=new n.nKC("IconComponent");let g=(()=>{class A{constructor(){this.size="md"}get class(){return`${this.size} inline-block shrink-0`}static#e=this.\u0275fac=function(V){return new(V||A)};static#t=this.\u0275cmp=n.VBU({type:A,selectors:[["ui-icon","icon",""]],hostVars:2,hostBindings:function(V,T){2&V&&n.HbH(T.class)},inputs:{icon:"icon",size:"size"},features:[n.Jv_([{provide:F,useExisting:A}])],attrs:y,decls:1,vars:1,consts:[[3,"svgIcon"]],template:function(V,T){1&V&&n.nrm(0,"mat-icon",0),2&V&&n.Y8G("svgIcon","tk:"+T.icon)},dependencies:[r.An],styles:[".xs[_nghost-%COMP%]{height:.75rem;width:.75rem}.xs[_nghost-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:.75rem;width:.75rem}.sm[_nghost-%COMP%]{height:1rem;width:1rem}.sm[_nghost-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:3rem}.md[_nghost-%COMP%]{height:1.25rem;width:1.25rem}.md[_nghost-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.25rem;width:1.25rem;font-size:4rem}.lg[_nghost-%COMP%]{height:1.5rem;width:1.5rem}.lg[_nghost-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.5rem;width:1.5rem;font-size:5rem}.xl[_nghost-%COMP%]{height:1.75rem;width:1.75rem}.xl[_nghost-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem;font-size:6rem}"]})}return A})()},2506:(_t,ge,f)=>{"use strict";f.d(ge,{o:()=>F});var n=f(177),r=f(9213),y=f(4438);let F=(()=>{class g{static#e=this.\u0275fac=function(B){return new(B||g)};static#t=this.\u0275mod=y.$C({type:g});static#n=this.\u0275inj=y.G2t({imports:[n.MD,r.m_]})}return g})()},2180:(_t,ge,f)=>{"use strict";f.d(ge,{I:()=>y});var n=f(4438);const r=["*"];let y=(()=>{class F{constructor(){this.class="flex flex-col h-full"}static#e=this.\u0275fac=function(M){return new(M||F)};static#t=this.\u0275cmp=n.VBU({type:F,selectors:[["ui-column"]],hostVars:2,hostBindings:function(M,B){2&M&&n.HbH(B.class)},ngContentSelectors:r,decls:1,vars:0,template:function(M,B){1&M&&(n.NAR(),n.SdG(0))},encapsulation:2})}return F})()},9496:(_t,ge,f)=>{"use strict";f.d(ge,{R:()=>F});var n=f(177),r=f(3887),y=f(4438);let F=(()=>{class g{static#e=this.\u0275fac=function(B){return new(B||g)};static#t=this.\u0275mod=y.$C({type:g});static#n=this.\u0275inj=y.G2t({imports:[n.MD,r.G]})}return g})()},6703:(_t,ge,f)=>{"use strict";f.d(ge,{T:()=>V});var n=f(177),r=f(3060),y=f(4438);function F(T,N){if(1&T&&(y.j41(0,"span",7),y.EFF(1),y.k0s()),2&T){const U=y.XpG(4);y.R7$(),y.JRh(null==U.pageInfo?null:U.pageInfo.remainingItems)}}function g(T,N){if(1&T&&(y.j41(0,"span")(1,"span"),y.EFF(2),y.k0s(),y.DNE(3,F,2,1,"span",6),y.k0s()),2&T){const U=y.XpG(2).$implicit,b=y.XpG();y.R7$(2),y.JRh(U("fegeneral/paginator/loadmore")),y.R7$(),y.Y8G("ngIf",null==b.pageInfo?null:b.pageInfo.remainingItems)}}function A(T,N){if(1&T&&(y.j41(0,"span",8),y.nrm(1,"span",9),y.j41(2,"span",10),y.EFF(3),y.k0s()()),2&T){const U=y.XpG(2).$implicit;y.R7$(3),y.JRh(U("fegeneral/paginator/loading"))}}function M(T,N){if(1&T&&(y.j41(0,"div",2)(1,"span",3),y.DNE(2,g,4,2,"span",4)(3,A,4,1,"span",5),y.k0s()()),2&T){const U=y.XpG(2);y.R7$(2),y.Y8G("ngIf",!U.loading),y.R7$(),y.Y8G("ngIf",U.loading)}}function B(T,N){if(1&T&&(y.qex(0),y.DNE(1,M,4,2,"div",1),y.bVm()),2&T){const U=y.XpG();y.R7$(),y.Y8G("ngIf",U.pageInfo&&U.pageInfo.hasNextPage||U.loading)}}let V=(()=>{class T{constructor(){this.loading=!0}static#e=this.\u0275fac=function(b){return new(b||T)};static#t=this.\u0275cmp=y.VBU({type:T,selectors:[["tk-load-more"]],inputs:{loading:"loading",pageInfo:"pageInfo"},standalone:!0,features:[y.aNF],decls:1,vars:0,consts:[[4,"transloco"],["tabindex","0","role","button",4,"ngIf"],["tabindex","0","role","button"],[1,"load-more","panel","flex","w-full","grow","cursor-pointer","justify-center","space-x-1","p-3","text-center","text-black"],[4,"ngIf"],["class","flex items-center justify-center",4,"ngIf"],["class","mx-2 inline-block h-6 rounded-full bg-grey-700 px-2 text-sm leading-6 text-white",4,"ngIf"],[1,"mx-2","inline-block","h-6","rounded-full","bg-grey-700","px-2","text-sm","leading-6","text-white"],[1,"flex","items-center","justify-center"],[1,"mr-2","inline-block","size-4","animate-spin","bg-ico_loader","bg-contain","bg-no-repeat"],["aria-live","assertive"]],template:function(b,G){1&b&&y.DNE(0,B,2,1,"ng-container",0)},dependencies:[n.MD,n.bT,r.bA],encapsulation:2})}return T})()},4331:(_t,ge,f)=>{"use strict";f.d(ge,{I:()=>ce});var n=f(177),r=f(4438),y=f(9417),F=f(3060),g=f(2510),A=f(1413);function M(J,Se){}function B(J,Se){if(1&J&&r.EFF(0),2&J){const Ne=Se.item,ot=r.XpG(3);r.SpI(" ",Ne[ot.bindLabel]," ")}}function V(J,Se){1&J&&r.DNE(0,B,1,1,"ng-template",7)}function T(J,Se){if(1&J&&(r.nrm(0,"input",9),r.EFF(1)),2&J){const Ne=Se.item,ot=Se.item$,dt=r.XpG(3);r.Y8G("checked",ot.selected)("value",Ne[dt.bindKey]),r.R7$(),r.SpI(" ",Ne[dt.bindLabel]," ")}}function N(J,Se){1&J&&r.DNE(0,T,2,3,"ng-template",8)}function U(J,Se){if(1&J&&(r.nrm(0,"input",10),r.EFF(1)),2&J){const Ne=Se.item,ot=Se.item$,dt=Se.index,He=r.XpG(3);r.Mz_("id","domainitem-",dt,""),r.Y8G("checked",ot.selected),r.R7$(),r.SpI(" ",Ne[He.bindLabel]," ")}}function b(J,Se){1&J&&r.DNE(0,U,2,4,"ng-template",8)}function G(J,Se){if(1&J){const Ne=r.RV6();r.j41(0,"li",11)(1,"span",12),r.EFF(2),r.k0s(),r.j41(3,"span",13),r.bIt("click",function(){const dt=r.eBV(Ne).$implicit,He=r.XpG(2);return r.Njj(He.removeSelectedOption(dt))}),r.j41(4,"span",14),r.EFF(5),r.k0s()()()}if(2&J){const Ne=Se.$implicit,ot=r.XpG().$implicit,dt=r.XpG();r.R7$(2),r.JRh(dt.optionsMap[Ne]),r.R7$(3),r.JRh(ot("fegeneral/tooltip/remove"))}}function R(J,Se){if(1&J&&(r.qex(0),r.j41(1,"div",1)(2,"ng-select",2),r.DNE(3,M,0,0,"ng-template",3)(4,V,1,0,null,4)(5,N,1,0,null,4)(6,b,1,0,null,4),r.k0s(),r.j41(7,"ul",5),r.DNE(8,G,6,2,"li",6),r.k0s()(),r.bVm()),2&J){let Ne,ot,dt,He,Ge;const se=r.XpG();r.R7$(),r.Y8G("formGroup",se.group),r.R7$(),r.Y8G("formControl",se.select)("labelForId",se.labelForId)("closeOnSelect",!1)("clearable",!1)("multiple",!0)("searchable",!0)("items",null!==(Ne=se.options)&&void 0!==Ne?Ne:null)("bindLabel",se.bindLabel)("bindValue",se.bindKey)("searchFn",se.searchFn)("typeahead",se.typeahead)("groupBy",se.groupBy)("notFoundText",null!==(ot=se.notFoundText)&&void 0!==ot?ot:"")("placeholder",null!==(dt=se.placeholderText)&&void 0!==dt?dt:"")("loadingText",null!==(He=se.loadingText)&&void 0!==He?He:"")("typeToSearchText",null!==(Ge=se.typeToSearchText)&&void 0!==Ge?Ge:""),r.R7$(2),r.Y8G("ngIf",se.groupBy),r.R7$(),r.Y8G("ngIf",se.groupBy),r.R7$(),r.Y8G("ngIf",!se.groupBy),r.R7$(2),r.Y8G("ngForOf",se.select.value)}}let ce=(()=>{class J{constructor(){this.bindLabel="value",this.bindKey="key",this.typeahead=new A.B,this.groupBy="",this.value=[],this.valueChange=new r.bkB,this.select=new y.hs([]),this.group=new y.J3({select:this.select}),this.optionsMap={},this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this.group.valueChanges.subscribe(Ne=>{this.onSelectionChange()}),this.value&&this.group.setValue({select:this.value})}ngOnChanges(Ne){(Ne.options||Ne.value)&&(Ne.options&&this.makeOptionsMap(),this.onSelectionChange(),this.writeValue(this.value))}registerOnChange(Ne){this.onChange=Ne}writeValue(Ne){this.group.patchValue({select:Ne})}registerOnTouched(Ne){this.onTouched=Ne}onSelectionChange(){const Ne=this.group.value.select;this.onChange(Ne),this.valueChange.emit(Ne)}setDisabledState(Ne){Ne?this.group.disable():this.group.enable()}removeSelectedOption(Ne){this.select.value?.splice(this.select.value.indexOf(Ne),1),this.group.patchValue({select:this.group.value.select})}makeOptionsMap(){let Ne={};this.groupBy?Ne=this.flattenOptions(this.groupBy):this.options?.forEach(ot=>{Ne[ot[this.bindKey]]=ot[this.bindLabel]}),this.optionsMap=Ne}flattenOptions(Ne){const ot={};return this.options?.forEach(dt=>{dt[Ne].forEach(He=>{ot[He[this.bindKey]]=He[this.bindLabel]})}),ot}onBlur(){this.onTouched()}static#e=this.\u0275fac=function(ot){return new(ot||J)};static#t=this.\u0275cmp=r.VBU({type:J,selectors:[["tk-multiselect-dropdown"]],hostBindings:function(ot,dt){1&ot&&r.bIt("blur",function(){return dt.onBlur()})},inputs:{options:"options",bindLabel:"bindLabel",bindKey:"bindKey",labelForId:"labelForId",searchFn:"searchFn",typeahead:"typeahead",groupBy:"groupBy",notFoundText:"notFoundText",placeholderText:"placeholderText",loadingText:"loadingText",typeToSearchText:"typeToSearchText",value:"value"},outputs:{valueChange:"valueChange"},standalone:!0,features:[r.Jv_([{provide:y.kq,useExisting:(0,r.Rfq)(()=>J),multi:!0}]),r.OA$,r.aNF],decls:1,vars:0,consts:[[4,"transloco"],[3,"formGroup"],[1,"tkSelect",3,"formControl","labelForId","closeOnSelect","clearable","multiple","searchable","items","bindLabel","bindValue","searchFn","typeahead","groupBy","notFoundText","placeholder","loadingText","typeToSearchText"],["ng-multi-label-tmp",""],[4,"ngIf"],[1,"flex","flex-wrap","space-y-2"],["class","mr-1 flex max-w-xxs items-center rounded-full border border-solid border-grey-500 bg-grey-100 pl-3 pr-2 transition first:mt-2 hover:bg-grey-300",4,"ngFor","ngForOf"],["ng-optgroup-tmp",""],["ng-option-tmp",""],["type","checkbox",3,"checked","value"],["type","checkbox",1,"pointer-events-none",3,"id","checked"],[1,"mr-1","flex","max-w-xxs","items-center","rounded-full","border","border-solid","border-grey-500","bg-grey-100","pl-3","pr-2","transition","first:mt-2","hover:bg-grey-300"],[1,"mr-1","shrink","truncate","text-sm","leading-7"],[1,"inline-block","size-4","shrink-0","bg-ico-close-dark","bg-contain","hover:brightness-75",3,"click"],[1,"hidden"]],template:function(ot,dt){1&ot&&r.DNE(0,R,9,21,"ng-container",0)},dependencies:[n.MD,n.Sq,n.bT,y.X1,y.BC,y.cb,y.l_,y.j4,F.bA,g.MQ,g.vr,g.bh,g.Uq,g.EY],encapsulation:2,changeDetection:0})}return J})()},8875:(_t,ge,f)=>{"use strict";f.d(ge,{Fx:()=>A,RH:()=>r,Ry:()=>n,TN:()=>g,Ti:()=>F,x6:()=>y});const n="et",r="en",y="ru",F="et-ET",g="en-EN",A="ru-RU"},5312:(_t,ge,f)=>{"use strict";f.d(ge,{c:()=>n});const n={production:!0,baseURL:"https://www.tootukassa.ee",selfServiceURL:"https://www.tootukassa.ee/etootukassa",selfServiceBackEndURL:"https://www.tootukassa.ee/selfservice-backend",selfServiceEnabled:!1,selfServiceURLPath:"/etootukassa",graphqlEndpoint:"https://www.tootukassa.ee/web/graphql",googleSearchKeys:{et:"47bd1ea71ced92ac0",en:"e66eb9211d02ebc4e",ru:"60b6b43479900586e"},turnstileSiteKey:"0x4AAAAAAAjquuX_DsAPf9PD",apiToken:"8796092b-0c0d-4c9f-9197-0f32506d0615",matomoSiteId:"9"}},8973:(_t,ge,f)=>{"use strict";f.d(ge,{JQ:()=>y,UZ:()=>g,eU:()=>r});var r=function(A){return A.LabourBalance="LABOUR_BALANCE",A.LabourDemand="LABOUR_DEMAND",A}(r||{}),y=function(A){return A.LargeSurplus="LARGE_SURPLUS",A.Surplus="SURPLUS",A.Stable="STABLE",A.Deficit="DEFICIT",A.LargeDeficit="LARGE_DEFICIT",A.SuddenIncrease="SUDDEN_INCREASE",A.Increase="INCREASE",A.Decrease="DECREASE",A.SuddenDecrease="SUDDEN_DECREASE",A.NoInformation="NO_INFORMATION",A}(y||{}),g=function(A){return A.Front="FRONT",A.Events="EVENTS",A.EventsArchive="EVENTS_ARCHIVE",A.Joboffers="JOBOFFERS",A.News="NEWS",A.Peersupport="PEERSUPPORT",A.Rehabilitation="REHABILITATION",A.RehabilitationProgrammes="REHABILITATION_PROGRAMMES",A.Consults="CONSULTS",A.Contacts="CONTACTS",A.Offices="OFFICES",A.Trainers="TRAINERS",A.Trainings="TRAININGS",A.BarometerMap="BAROMETER_MAP",A.BarometerMethod="BAROMETER_METHOD",A.BarometerPoster="BAROMETER_POSTER",A.BarometerTable="BAROMETER_TABLE",A.Search="SEARCH",A}(g||{})},4142:(_t,ge,f)=>{"use strict";var n=f(345),r=f(4438),y=f(5312),F=f(177),g=f(1626),A=f(9969);function B(o){return new r.wOt(3e3,!1)}function Pt(o){switch(o.length){case 0:return new A.sf;case 1:return o[0];default:return new A.ui(o)}}function Fn(o,c,s=new Map,l=new Map){const h=[],_=[];let D=-1,L=null;if(c.forEach(H=>{const K=H.get("offset"),X=K==D,Q=X&&L||new Map;H.forEach((ve,ke)=>{let Fe=ke,it=ve;if("offset"!==ke)switch(Fe=o.normalizePropertyName(Fe,h),it){case A.FX:it=s.get(ke);break;case A.kp:it=l.get(ke);break;default:it=o.normalizeStyleValue(ke,Fe,it,h)}Q.set(Fe,it)}),X||_.push(Q),L=Q,D=K}),h.length)throw function Vt(o){return new r.wOt(3502,!1)}();return _}function ei(o,c,s,l){switch(c){case"start":o.onStart(()=>l(s&&gn(s,"start",o)));break;case"done":o.onDone(()=>l(s&&gn(s,"done",o)));break;case"destroy":o.onDestroy(()=>l(s&&gn(s,"destroy",o)))}}function gn(o,c,s){const _=pi(o.element,o.triggerName,o.fromState,o.toState,c||o.phaseName,s.totalTime??o.totalTime,!!s.disabled),D=o._data;return null!=D&&(_._data=D),_}function pi(o,c,s,l,h="",_=0,D){return{element:o,triggerName:c,fromState:s,toState:l,phaseName:h,totalTime:_,disabled:!!D}}function hi(o,c,s){let l=o.get(c);return l||o.set(c,l=s),l}function xi(o){const c=o.indexOf(":");return[o.substring(1,c),o.slice(c+1)]}const ti=typeof document>"u"?null:document.documentElement;function ki(o){const c=o.parentNode||o.host||null;return c===ti?null:c}let mn=null,an=!1;function zt(o,c){for(;c;){if(c===o)return!0;c=ki(c)}return!1}function Lt(o,c,s){if(s)return Array.from(o.querySelectorAll(c));const l=o.querySelector(c);return l?[l]:[]}let jn=(()=>{class o{validateStyleProperty(s){return function me(o){mn||(mn=function st(){return typeof document<"u"?document.body:null}()||{},an=!!mn.style&&"WebkitAppearance"in mn.style);let c=!0;return mn.style&&!function Zi(o){return"ebkit"==o.substring(1,6)}(o)&&(c=o in mn.style,!c&&an&&(c="Webkit"+o.charAt(0).toUpperCase()+o.slice(1)in mn.style)),c}(s)}matchesElement(s,l){return!1}containsElement(s,l){return zt(s,l)}getParentElement(s){return ki(s)}query(s,l,h){return Lt(s,l,h)}computeStyle(s,l,h){return h||""}animate(s,l,h,_,D,L=[],H){return new A.sf(h,_)}static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac})}return o})();class Kt{static#e=this.NOOP=new jn}class En{}const Tt=1e3,Xn="ng-enter",Bn="ng-leave",Ii="ng-trigger",qn=".ng-trigger",Qi="ng-animating",sn=".ng-animating";function oi(o){if("number"==typeof o)return o;const c=o.match(/^(-?[\.\d]+)(m?s)/);return!c||c.length<2?0:Zt(parseFloat(c[1]),c[2])}function Zt(o,c){return"s"===c?o*Tt:o}function Cn(o,c,s){return o.hasOwnProperty("duration")?o:function Dn(o,c,s){let h,_=0,D="";if("string"==typeof o){const L=o.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===L)return c.push(B()),{duration:0,delay:0,easing:""};h=Zt(parseFloat(L[1]),L[2]);const H=L[3];null!=H&&(_=Zt(parseFloat(H),L[4]));const K=L[5];K&&(D=K)}else h=o;if(!s){let L=!1,H=c.length;h<0&&(c.push(function V(){return new r.wOt(3100,!1)}()),L=!0),_<0&&(c.push(function T(){return new r.wOt(3101,!1)}()),L=!0),L&&c.splice(H,0,B())}return{duration:h,delay:_,easing:D}}(o,c,s)}function ee(o,c,s){c.forEach((l,h)=>{const _=wn(h);s&&!s.has(h)&&s.set(h,o.style[_]),o.style[_]=l})}function ye(o,c){c.forEach((s,l)=>{const h=wn(l);o.style[h]=""})}function at(o){return Array.isArray(o)?1==o.length?o[0]:(0,A.K2)(o):o}const Et=new RegExp("{{\\s*(.+?)\\s*}}","g");function Dt(o){let c=[];if("string"==typeof o){let s;for(;s=Et.exec(o);)c.push(s[1]);Et.lastIndex=0}return c}function Qe(o,c,s){const l=`${o}`,h=l.replace(Et,(_,D)=>{let L=c[D];return null==L&&(s.push(function U(o){return new r.wOt(3003,!1)}()),L=""),L.toString()});return h==l?o:h}const Mt=/-+([a-z0-9])/g;function wn(o){return o.replace(Mt,(...c)=>c[1].toUpperCase())}function ze(o,c,s){switch(c.type){case A.If.Trigger:return o.visitTrigger(c,s);case A.If.State:return o.visitState(c,s);case A.If.Transition:return o.visitTransition(c,s);case A.If.Sequence:return o.visitSequence(c,s);case A.If.Group:return o.visitGroup(c,s);case A.If.Animate:return o.visitAnimate(c,s);case A.If.Keyframes:return o.visitKeyframes(c,s);case A.If.Style:return o.visitStyle(c,s);case A.If.Reference:return o.visitReference(c,s);case A.If.AnimateChild:return o.visitAnimateChild(c,s);case A.If.AnimateRef:return o.visitAnimateRef(c,s);case A.If.Query:return o.visitQuery(c,s);case A.If.Stagger:return o.visitStagger(c,s);default:throw function b(o){return new r.wOt(3004,!1)}()}}function bt(o,c){return window.getComputedStyle(o)[c]}const Ut=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class An extends En{normalizePropertyName(c,s){return wn(c)}normalizeStyleValue(c,s,l,h){let _="";const D=l.toString().trim();if(Ut.has(s)&&0!==l&&"0"!==l)if("number"==typeof l)_="px";else{const L=l.match(/^[+-]?[\d\.]+([a-z]*)$/);L&&0==L[1].length&&h.push(function G(o,c){return new r.wOt(3005,!1)}())}return D+_}}const Or="*";const to=new Set(["true","1"]),pt=new Set(["false","0"]);function Ce(o,c){const s=to.has(o)||pt.has(o),l=to.has(c)||pt.has(c);return(h,_)=>{let D=o==Or||o==h,L=c==Or||c==_;return!D&&s&&"boolean"==typeof h&&(D=h?to.has(o):pt.has(o)),!L&&l&&"boolean"==typeof _&&(L=_?to.has(c):pt.has(c)),D&&L}}const Me=new RegExp("s*:selfs*,?","g");function ne(o,c,s,l){return new oe(o).build(c,s,l)}class oe{constructor(c){this._driver=c}build(c,s,l){const h=new $t(s);return this._resetContextStyleTimingState(h),ze(this,at(c),h)}_resetContextStyleTimingState(c){c.currentQuerySelector="",c.collectedStyles=new Map,c.collectedStyles.set("",new Map),c.currentTime=0}visitTrigger(c,s){let l=s.queryCount=0,h=s.depCount=0;const _=[],D=[];return"@"==c.name.charAt(0)&&s.errors.push(function R(){return new r.wOt(3006,!1)}()),c.definitions.forEach(L=>{if(this._resetContextStyleTimingState(s),L.type==A.If.State){const H=L,K=H.name;K.toString().split(/\s*,\s*/).forEach(X=>{H.name=X,_.push(this.visitState(H,s))}),H.name=K}else if(L.type==A.If.Transition){const H=this.visitTransition(L,s);l+=H.queryCount,h+=H.depCount,D.push(H)}else s.errors.push(function ce(){return new r.wOt(3007,!1)}())}),{type:A.If.Trigger,name:c.name,states:_,transitions:D,queryCount:l,depCount:h,options:null}}visitState(c,s){const l=this.visitStyle(c.styles,s),h=c.options&&c.options.params||null;if(l.containsDynamicStyles){const _=new Set,D=h||{};l.styles.forEach(L=>{L instanceof Map&&L.forEach(H=>{Dt(H).forEach(K=>{D.hasOwnProperty(K)||_.add(K)})})}),_.size&&s.errors.push(function J(o,c){return new r.wOt(3008,!1)}(0,_.values()))}return{type:A.If.State,name:c.name,style:l,options:h?{params:h}:null}}visitTransition(c,s){s.queryCount=0,s.depCount=0;const l=ze(this,at(c.animation),s),h=function ho(o,c){const s=[];return"string"==typeof o?o.split(/\s*,\s*/).forEach(l=>function jo(o,c,s){if(":"==o[0]){const H=function lo(o,c){switch(o){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,l)=>parseFloat(l)>parseFloat(s);case":decrement":return(s,l)=>parseFloat(l)<parseFloat(s);default:return c.push(function Oe(o){return new r.wOt(3016,!1)}()),"* => *"}}(o,s);if("function"==typeof H)return void c.push(H);o=H}const l=o.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==l||l.length<4)return s.push(function ue(o){return new r.wOt(3015,!1)}()),c;const h=l[1],_=l[2],D=l[3];c.push(Ce(h,D)),"<"==_[0]&&(h!=Or||D!=Or)&&c.push(Ce(D,h))}(l,s,c)):s.push(o),s}(c.expr,s.errors);return{type:A.If.Transition,matchers:h,animation:l,queryCount:s.queryCount,depCount:s.depCount,options:ni(c.options)}}visitSequence(c,s){return{type:A.If.Sequence,steps:c.steps.map(l=>ze(this,l,s)),options:ni(c.options)}}visitGroup(c,s){const l=s.currentTime;let h=0;const _=c.steps.map(D=>{s.currentTime=l;const L=ze(this,D,s);return h=Math.max(h,s.currentTime),L});return s.currentTime=h,{type:A.If.Group,steps:_,options:ni(c.options)}}visitAnimate(c,s){const l=function Qn(o,c){if(o.hasOwnProperty("duration"))return o;if("number"==typeof o)return Ni(Cn(o,c).duration,0,"");const s=o;if(s.split(/\s+/).some(_=>"{"==_.charAt(0)&&"{"==_.charAt(1))){const _=Ni(0,0,"");return _.dynamic=!0,_.strValue=s,_}const h=Cn(s,c);return Ni(h.duration,h.delay,h.easing)}(c.timings,s.errors);s.currentAnimateTimings=l;let h,_=c.styles?c.styles:(0,A.iF)({});if(_.type==A.If.Keyframes)h=this.visitKeyframes(_,s);else{let D=c.styles,L=!1;if(!D){L=!0;const K={};l.easing&&(K.easing=l.easing),D=(0,A.iF)(K)}s.currentTime+=l.duration+l.delay;const H=this.visitStyle(D,s);H.isEmptyStep=L,h=H}return s.currentAnimateTimings=null,{type:A.If.Animate,timings:l,style:h,options:null}}visitStyle(c,s){const l=this._makeStyleAst(c,s);return this._validateStyleAst(l,s),l}_makeStyleAst(c,s){const l=[],h=Array.isArray(c.styles)?c.styles:[c.styles];for(let L of h)"string"==typeof L?L===A.kp?l.push(L):s.errors.push(new r.wOt(3002,!1)):l.push(new Map(Object.entries(L)));let _=!1,D=null;return l.forEach(L=>{if(L instanceof Map&&(L.has("easing")&&(D=L.get("easing"),L.delete("easing")),!_))for(let H of L.values())if(H.toString().indexOf("{{")>=0){_=!0;break}}),{type:A.If.Style,styles:l,easing:D,offset:c.offset,containsDynamicStyles:_,options:null}}_validateStyleAst(c,s){const l=s.currentAnimateTimings;let h=s.currentTime,_=s.currentTime;l&&_>0&&(_-=l.duration+l.delay),c.styles.forEach(D=>{"string"!=typeof D&&D.forEach((L,H)=>{const K=s.collectedStyles.get(s.currentQuerySelector),X=K.get(H);let Q=!0;X&&(_!=h&&_>=X.startTime&&h<=X.endTime&&(s.errors.push(function ot(o,c,s,l,h){return new r.wOt(3010,!1)}()),Q=!1),_=X.startTime),Q&&K.set(H,{startTime:_,endTime:h}),s.options&&function Wt(o,c,s){const l=c.params||{},h=Dt(o);h.length&&h.forEach(_=>{l.hasOwnProperty(_)||s.push(function N(o){return new r.wOt(3001,!1)}())})}(L,s.options,s.errors)})})}visitKeyframes(c,s){const l={type:A.If.Keyframes,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function dt(){return new r.wOt(3011,!1)}()),l;let _=0;const D=[];let L=!1,H=!1,K=0;const X=c.steps.map(It=>{const Rt=this._makeStyleAst(It,s);let xt=null!=Rt.offset?Rt.offset:function Kn(o){if("string"==typeof o)return null;let c=null;if(Array.isArray(o))o.forEach(s=>{if(s instanceof Map&&s.has("offset")){const l=s;c=parseFloat(l.get("offset")),l.delete("offset")}});else if(o instanceof Map&&o.has("offset")){const s=o;c=parseFloat(s.get("offset")),s.delete("offset")}return c}(Rt.styles),nn=0;return null!=xt&&(_++,nn=Rt.offset=xt),H=H||nn<0||nn>1,L=L||nn<K,K=nn,D.push(nn),Rt});H&&s.errors.push(function He(){return new r.wOt(3012,!1)}()),L&&s.errors.push(function Ge(){return new r.wOt(3200,!1)}());const Q=c.steps.length;let ve=0;_>0&&_<Q?s.errors.push(function se(){return new r.wOt(3202,!1)}()):0==_&&(ve=1/(Q-1));const ke=Q-1,Fe=s.currentTime,it=s.currentAnimateTimings,qe=it.duration;return X.forEach((It,Rt)=>{const xt=ve>0?Rt==ke?1:ve*Rt:D[Rt],nn=xt*qe;s.currentTime=Fe+it.delay+nn,it.duration=nn,this._validateStyleAst(It,s),It.offset=xt,l.styles.push(It)}),l}visitReference(c,s){return{type:A.If.Reference,animation:ze(this,at(c.animation),s),options:ni(c.options)}}visitAnimateChild(c,s){return s.depCount++,{type:A.If.AnimateChild,options:ni(c.options)}}visitAnimateRef(c,s){return{type:A.If.AnimateRef,animation:this.visitReference(c.animation,s),options:ni(c.options)}}visitQuery(c,s){const l=s.currentQuerySelector,h=c.options||{};s.queryCount++,s.currentQuery=c;const[_,D]=function Te(o){const c=!!o.split(/\s*,\s*/).find(s=>":self"==s);return c&&(o=o.replace(Me,"")),o=o.replace(/@\*/g,qn).replace(/@\w+/g,s=>qn+"-"+s.slice(1)).replace(/:animating/g,sn),[o,c]}(c.selector);s.currentQuerySelector=l.length?l+" "+_:_,hi(s.collectedStyles,s.currentQuerySelector,new Map);const L=ze(this,at(c.animation),s);return s.currentQuery=null,s.currentQuerySelector=l,{type:A.If.Query,selector:_,limit:h.limit||0,optional:!!h.optional,includeSelf:D,animation:L,originalSelector:c.selector,options:ni(c.options)}}visitStagger(c,s){s.currentQuery||s.errors.push(function Ae(){return new r.wOt(3013,!1)}());const l="full"===c.timings?{duration:0,delay:0,easing:"full"}:Cn(c.timings,s.errors,!0);return{type:A.If.Stagger,animation:ze(this,at(c.animation),s),timings:l,options:null}}}class $t{constructor(c){this.errors=c,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ni(o){return o?(o={...o}).params&&(o.params=function ht(o){return o?{...o}:null}(o.params)):o={},o}function Ni(o,c,s){return{duration:o,delay:c,easing:s}}function Ui(o,c,s,l,h,_,D=null,L=!1){return{type:1,element:o,keyframes:c,preStyleProps:s,postStyleProps:l,duration:h,delay:_,totalTime:h+_,easing:D,subTimeline:L}}class rr{constructor(){this._map=new Map}get(c){return this._map.get(c)||[]}append(c,s){let l=this._map.get(c);l||this._map.set(c,l=[]),l.push(...s)}has(c){return this._map.has(c)}clear(){this._map.clear()}}const jr=new RegExp(":enter","g"),Ur=new RegExp(":leave","g");function Ji(o,c,s,l,h,_=new Map,D=new Map,L,H,K=[]){return(new po).buildKeyframes(o,c,s,l,h,_,D,L,H,K)}class po{buildKeyframes(c,s,l,h,_,D,L,H,K,X=[]){K=K||new rr;const Q=new Mi(c,s,K,h,_,X,[]);Q.options=H;const ve=H.delay?oi(H.delay):0;Q.currentTimeline.delayNextStep(ve),Q.currentTimeline.setStyles([D],null,Q.errors,H),ze(this,l,Q);const ke=Q.timelines.filter(Fe=>Fe.containsAnimation());if(ke.length&&L.size){let Fe;for(let it=ke.length-1;it>=0;it--){const qe=ke[it];if(qe.element===s){Fe=qe;break}}Fe&&!Fe.allowOnlyTimelineStyles()&&Fe.setStyles([L],null,Q.errors,H)}return ke.length?ke.map(Fe=>Fe.buildKeyframes()):[Ui(s,[],[],[],0,ve,"",!1)]}visitTrigger(c,s){}visitState(c,s){}visitTransition(c,s){}visitAnimateChild(c,s){const l=s.subInstructions.get(s.element);if(l){const h=s.createSubContext(c.options),_=s.currentTimeline.currentTime,D=this._visitSubInstructions(l,h,h.options);_!=D&&s.transformIntoNewTimeline(D)}s.previousNode=c}visitAnimateRef(c,s){const l=s.createSubContext(c.options);l.transformIntoNewTimeline(),this._applyAnimationRefDelays([c.options,c.animation.options],s,l),this.visitReference(c.animation,l),s.transformIntoNewTimeline(l.currentTimeline.currentTime),s.previousNode=c}_applyAnimationRefDelays(c,s,l){for(const h of c){const _=h?.delay;if(_){const D="number"==typeof _?_:oi(Qe(_,h?.params??{},s.errors));l.delayNextStep(D)}}}_visitSubInstructions(c,s,l){let _=s.currentTimeline.currentTime;const D=null!=l.duration?oi(l.duration):null,L=null!=l.delay?oi(l.delay):null;return 0!==D&&c.forEach(H=>{const K=s.appendInstructionToTimeline(H,D,L);_=Math.max(_,K.duration+K.delay)}),_}visitReference(c,s){s.updateOptions(c.options,!0),ze(this,c.animation,s),s.previousNode=c}visitSequence(c,s){const l=s.subContextCount;let h=s;const _=c.options;if(_&&(_.params||_.delay)&&(h=s.createSubContext(_),h.transformIntoNewTimeline(),null!=_.delay)){h.previousNode.type==A.If.Style&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=no);const D=oi(_.delay);h.delayNextStep(D)}c.steps.length&&(c.steps.forEach(D=>ze(this,D,h)),h.currentTimeline.applyStylesToKeyframe(),h.subContextCount>l&&h.transformIntoNewTimeline()),s.previousNode=c}visitGroup(c,s){const l=[];let h=s.currentTimeline.currentTime;const _=c.options&&c.options.delay?oi(c.options.delay):0;c.steps.forEach(D=>{const L=s.createSubContext(c.options);_&&L.delayNextStep(_),ze(this,D,L),h=Math.max(h,L.currentTimeline.currentTime),l.push(L.currentTimeline)}),l.forEach(D=>s.currentTimeline.mergeTimelineCollectedStyles(D)),s.transformIntoNewTimeline(h),s.previousNode=c}_visitTiming(c,s){if(c.dynamic){const l=c.strValue;return Cn(s.params?Qe(l,s.params,s.errors):l,s.errors)}return{duration:c.duration,delay:c.delay,easing:c.easing}}visitAnimate(c,s){const l=s.currentAnimateTimings=this._visitTiming(c.timings,s),h=s.currentTimeline;l.delay&&(s.incrementTime(l.delay),h.snapshotCurrentStyles());const _=c.style;_.type==A.If.Keyframes?this.visitKeyframes(_,s):(s.incrementTime(l.duration),this.visitStyle(_,s),h.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=c}visitStyle(c,s){const l=s.currentTimeline,h=s.currentAnimateTimings;!h&&l.hasCurrentStyleProperties()&&l.forwardFrame();const _=h&&h.easing||c.easing;c.isEmptyStep?l.applyEmptyStep(_):l.setStyles(c.styles,_,s.errors,s.options),s.previousNode=c}visitKeyframes(c,s){const l=s.currentAnimateTimings,h=s.currentTimeline.duration,_=l.duration,L=s.createSubContext().currentTimeline;L.easing=l.easing,c.styles.forEach(H=>{L.forwardTime((H.offset||0)*_),L.setStyles(H.styles,H.easing,s.errors,s.options),L.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(L),s.transformIntoNewTimeline(h+_),s.previousNode=c}visitQuery(c,s){const l=s.currentTimeline.currentTime,h=c.options||{},_=h.delay?oi(h.delay):0;_&&(s.previousNode.type===A.If.Style||0==l&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=no);let D=l;const L=s.invokeQuery(c.selector,c.originalSelector,c.limit,c.includeSelf,!!h.optional,s.errors);s.currentQueryTotal=L.length;let H=null;L.forEach((K,X)=>{s.currentQueryIndex=X;const Q=s.createSubContext(c.options,K);_&&Q.delayNextStep(_),K===s.element&&(H=Q.currentTimeline),ze(this,c.animation,Q),Q.currentTimeline.applyStylesToKeyframe(),D=Math.max(D,Q.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(D),H&&(s.currentTimeline.mergeTimelineCollectedStyles(H),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=c}visitStagger(c,s){const l=s.parentContext,h=s.currentTimeline,_=c.timings,D=Math.abs(_.duration),L=D*(s.currentQueryTotal-1);let H=D*s.currentQueryIndex;switch(_.duration<0?"reverse":_.easing){case"reverse":H=L-H;break;case"full":H=l.currentStaggerTime}const X=s.currentTimeline;H&&X.delayNextStep(H);const Q=X.currentTime;ze(this,c.animation,s),s.previousNode=c,l.currentStaggerTime=h.currentTime-Q+(h.startTime-l.currentTimeline.startTime)}}const no={};class Mi{constructor(c,s,l,h,_,D,L,H){this._driver=c,this.element=s,this.subInstructions=l,this._enterClassName=h,this._leaveClassName=_,this.errors=D,this.timelines=L,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=no,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=H||new Li(this._driver,s,0),L.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(c,s){if(!c)return;const l=c;let h=this.options;null!=l.duration&&(h.duration=oi(l.duration)),null!=l.delay&&(h.delay=oi(l.delay));const _=l.params;if(_){let D=h.params;D||(D=this.options.params={}),Object.keys(_).forEach(L=>{(!s||!D.hasOwnProperty(L))&&(D[L]=Qe(_[L],D,this.errors))})}}_copyOptions(){const c={};if(this.options){const s=this.options.params;if(s){const l=c.params={};Object.keys(s).forEach(h=>{l[h]=s[h]})}}return c}createSubContext(c=null,s,l){const h=s||this.element,_=new Mi(this._driver,h,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(h,l||0));return _.previousNode=this.previousNode,_.currentAnimateTimings=this.currentAnimateTimings,_.options=this._copyOptions(),_.updateOptions(c),_.currentQueryIndex=this.currentQueryIndex,_.currentQueryTotal=this.currentQueryTotal,_.parentContext=this,this.subContextCount++,_}transformIntoNewTimeline(c){return this.previousNode=no,this.currentTimeline=this.currentTimeline.fork(this.element,c),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(c,s,l){const h={duration:s??c.duration,delay:this.currentTimeline.currentTime+(l??0)+c.delay,easing:""},_=new _n(this._driver,c.element,c.keyframes,c.preStyleProps,c.postStyleProps,h,c.stretchStartingKeyframe);return this.timelines.push(_),h}incrementTime(c){this.currentTimeline.forwardTime(this.currentTimeline.duration+c)}delayNextStep(c){c>0&&this.currentTimeline.delayNextStep(c)}invokeQuery(c,s,l,h,_,D){let L=[];if(h&&L.push(this.element),c.length>0){c=(c=c.replace(jr,"."+this._enterClassName)).replace(Ur,"."+this._leaveClassName);let K=this._driver.query(this.element,c,1!=l);0!==l&&(K=l<0?K.slice(K.length+l,K.length):K.slice(0,l)),L.push(...K)}return!_&&0==L.length&&D.push(function we(o){return new r.wOt(3014,!1)}()),L}}class Li{constructor(c,s,l,h){this._driver=c,this.element=s,this.startTime=l,this._elementTimelineStylesLookup=h,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(c){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+c),s&&this.snapshotCurrentStyles()):this.startTime+=c}fork(c,s){return this.applyStylesToKeyframe(),new Li(this._driver,c,s||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(c){this.applyStylesToKeyframe(),this.duration=c,this._loadKeyframe()}_updateStyle(c,s){this._localTimelineStyles.set(c,s),this._globalTimelineStyles.set(c,s),this._styleSummary.set(c,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(c){c&&this._previousKeyframe.set("easing",c);for(let[s,l]of this._globalTimelineStyles)this._backFill.set(s,l||A.kp),this._currentKeyframe.set(s,A.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(c,s,l,h){s&&this._previousKeyframe.set("easing",s);const _=h&&h.params||{},D=function Sa(o,c){const s=new Map;let l;return o.forEach(h=>{if("*"===h){l??=c.keys();for(let _ of l)s.set(_,A.kp)}else for(let[_,D]of h)s.set(_,D)}),s}(c,this._globalTimelineStyles);for(let[L,H]of D){const K=Qe(H,_,l);this._pendingStyles.set(L,K),this._localTimelineStyles.has(L)||this._backFill.set(L,this._globalTimelineStyles.get(L)??A.kp),this._updateStyle(L,K)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((c,s)=>{this._currentKeyframe.set(s,c)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((c,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,c)}))}snapshotCurrentStyles(){for(let[c,s]of this._localTimelineStyles)this._pendingStyles.set(c,s),this._updateStyle(c,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const c=[];for(let s in this._currentKeyframe)c.push(s);return c}mergeTimelineCollectedStyles(c){c._styleSummary.forEach((s,l)=>{const h=this._styleSummary.get(l);(!h||s.time>h.time)&&this._updateStyle(l,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const c=new Set,s=new Set,l=1===this._keyframes.size&&0===this.duration;let h=[];this._keyframes.forEach((L,H)=>{const K=new Map([...this._backFill,...L]);K.forEach((X,Q)=>{X===A.FX?c.add(Q):X===A.kp&&s.add(Q)}),l||K.set("offset",H/this.duration),h.push(K)});const _=[...c.values()],D=[...s.values()];if(l){const L=h[0],H=new Map(L);L.set("offset",0),H.set("offset",1),h=[L,H]}return Ui(this.element,h,_,D,this.duration,this.startTime,this.easing,!1)}}class _n extends Li{constructor(c,s,l,h,_,D,L=!1){super(c,s,D.delay),this.keyframes=l,this.preStyleProps=h,this.postStyleProps=_,this._stretchStartingKeyframe=L,this.timings={duration:D.duration,delay:D.delay,easing:D.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let c=this.keyframes,{delay:s,duration:l,easing:h}=this.timings;if(this._stretchStartingKeyframe&&s){const _=[],D=l+s,L=s/D,H=new Map(c[0]);H.set("offset",0),_.push(H);const K=new Map(c[0]);K.set("offset",Ds(L)),_.push(K);const X=c.length-1;for(let Q=1;Q<=X;Q++){let ve=new Map(c[Q]);const ke=ve.get("offset");ve.set("offset",Ds((s+ke*l)/D)),_.push(ve)}l=D,s=0,h="",c=_}return Ui(this.element,c,this.preStyleProps,this.postStyleProps,l,s,h,!0)}}function Ds(o,c=3){const s=Math.pow(10,c-1);return Math.round(o*s)/s}function as(o,c,s,l,h,_,D,L,H,K,X,Q,ve){return{type:0,element:o,triggerName:c,isRemovalTransition:h,fromState:s,fromStyles:_,toState:l,toStyles:D,timelines:L,queriedElements:H,preStyleProps:K,postStyleProps:X,totalTime:Q,errors:ve}}const Os={};class ns{constructor(c,s,l){this._triggerName=c,this.ast=s,this._stateStyles=l}match(c,s,l,h){return function mt(o,c,s,l,h){return o.some(_=>_(c,s,l,h))}(this.ast.matchers,c,s,l,h)}buildStyles(c,s,l){let h=this._stateStyles.get("*");return void 0!==c&&(h=this._stateStyles.get(c?.toString())||h),h?h.buildStyles(s,l):new Map}build(c,s,l,h,_,D,L,H,K,X){const Q=[],ve=this.ast.options&&this.ast.options.params||Os,Fe=this.buildStyles(l,L&&L.params||Os,Q),it=H&&H.params||Os,qe=this.buildStyles(h,it,Q),It=new Set,Rt=new Map,xt=new Map,nn="void"===h,yn={params:Ln(it,ve),delay:this.ast.options?.delay},Mn=X?[]:Ji(c,s,this.ast.animation,_,D,Fe,qe,yn,K,Q);let kn=0;return Mn.forEach(rn=>{kn=Math.max(rn.duration+rn.delay,kn)}),Q.length?as(s,this._triggerName,l,h,nn,Fe,qe,[],[],Rt,xt,kn,Q):(Mn.forEach(rn=>{const ln=rn.element,xn=hi(Rt,ln,new Set);rn.preStyleProps.forEach(Zn=>xn.add(Zn));const vn=hi(xt,ln,new Set);rn.postStyleProps.forEach(Zn=>vn.add(Zn)),ln!==s&&It.add(ln)}),as(s,this._triggerName,l,h,nn,Fe,qe,Mn,[...It.values()],Rt,xt,kn))}}function Ln(o,c){const s={...c};return Object.entries(o).forEach(([l,h])=>{null!=h&&(s[l]=h)}),s}class O{constructor(c,s,l){this.styles=c,this.defaultParams=s,this.normalizer=l}buildStyles(c,s){const l=new Map,h=Ln(c,this.defaultParams);return this.styles.styles.forEach(_=>{"string"!=typeof _&&_.forEach((D,L)=>{D&&(D=Qe(D,h,s));const H=this.normalizer.normalizePropertyName(L,s);D=this.normalizer.normalizeStyleValue(L,H,D,s),l.set(L,D)})}),l}}class ae{constructor(c,s,l){this.name=c,this.ast=s,this._normalizer=l,this.transitionFactories=[],this.states=new Map,s.states.forEach(h=>{this.states.set(h.name,new O(h.style,h.options&&h.options.params||{},l))}),Ht(this.states,"true","1"),Ht(this.states,"false","0"),s.transitions.forEach(h=>{this.transitionFactories.push(new ns(c,h,this.states))}),this.fallbackTransition=function Xe(o,c,s){return new ns(o,{type:A.If.Transition,animation:{type:A.If.Sequence,steps:[],options:null},matchers:[(D,L)=>!0],options:null,queryCount:0,depCount:0},c)}(c,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(c,s,l,h){return this.transitionFactories.find(D=>D.match(c,s,l,h))||null}matchStyles(c,s,l){return this.fallbackTransition.buildStyles(c,s,l)}}function Ht(o,c,s){o.has(c)?o.has(s)||o.set(s,o.get(c)):o.has(s)&&o.set(c,o.get(s))}const wi=new rr;class Nr{constructor(c,s,l){this.bodyNode=c,this._driver=s,this._normalizer=l,this._animations=new Map,this._playersById=new Map,this.players=[]}register(c,s){const l=[],_=ne(this._driver,s,l,[]);if(l.length)throw function qt(o){return new r.wOt(3503,!1)}();this._animations.set(c,_)}_buildPlayer(c,s,l){const h=c.element,_=Fn(this._normalizer,c.keyframes,s,l);return this._driver.animate(h,_,c.duration,c.delay,c.easing,[],!0)}create(c,s,l={}){const h=[],_=this._animations.get(c);let D;const L=new Map;if(_?(D=Ji(this._driver,s,_,Xn,Bn,new Map,new Map,l,wi,h),D.forEach(X=>{const Q=hi(L,X.element,new Map);X.postStyleProps.forEach(ve=>Q.set(ve,null))})):(h.push(function jt(){return new r.wOt(3300,!1)}()),D=[]),h.length)throw function Ot(o){return new r.wOt(3504,!1)}();L.forEach((X,Q)=>{X.forEach((ve,ke)=>{X.set(ke,this._driver.computeStyle(Q,ke,A.kp))})});const K=Pt(D.map(X=>{const Q=L.get(X.element);return this._buildPlayer(X,new Map,Q)}));return this._playersById.set(c,K),K.onDestroy(()=>this.destroy(c)),this.players.push(K),K}destroy(c){const s=this._getPlayer(c);s.destroy(),this._playersById.delete(c);const l=this.players.indexOf(s);l>=0&&this.players.splice(l,1)}_getPlayer(c){const s=this._playersById.get(c);if(!s)throw function nt(o){return new r.wOt(3301,!1)}();return s}listen(c,s,l,h){const _=pi(s,"","","");return ei(this._getPlayer(c),l,_,h),()=>{}}command(c,s,l,h){if("register"==l)return void this.register(c,h[0]);if("create"==l)return void this.create(c,s,h[0]||{});const _=this._getPlayer(c);switch(l){case"play":_.play();break;case"pause":_.pause();break;case"reset":_.reset();break;case"restart":_.restart();break;case"finish":_.finish();break;case"init":_.init();break;case"setPosition":_.setPosition(parseFloat(h[0]));break;case"destroy":this.destroy(c)}}}const io="ng-animate-queued",Ko="ng-animate-disabled",fr=[],ca={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ro={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ko="__ng_removed";class Ri{get params(){return this.options.params}constructor(c,s=""){this.namespaceId=s;const l=c&&c.hasOwnProperty("value");if(this.value=function wo(o){return o??null}(l?c.value:c),l){const{value:_,...D}=c;this.options=D}else this.options={};this.options.params||(this.options.params={})}absorbOptions(c){const s=c.params;if(s){const l=this.options.params;Object.keys(s).forEach(h=>{null==l[h]&&(l[h]=s[h])})}}}const Xo="void",da=new Ri(Xo);class go{constructor(c,s,l){this.id=c,this.hostElement=s,this._engine=l,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+c,Uo(s,this._hostClassName)}listen(c,s,l,h){if(!this._triggers.has(s))throw function ut(o,c){return new r.wOt(3302,!1)}();if(null==l||0==l.length)throw function tt(o){return new r.wOt(3303,!1)}();if(!function Va(o){return"start"==o||"done"==o}(l))throw function rt(o,c){return new r.wOt(3400,!1)}();const _=hi(this._elementListeners,c,[]),D={name:s,phase:l,callback:h};_.push(D);const L=hi(this._engine.statesByElement,c,new Map);return L.has(s)||(Uo(c,Ii),Uo(c,Ii+"-"+s),L.set(s,da)),()=>{this._engine.afterFlush(()=>{const H=_.indexOf(D);H>=0&&_.splice(H,1),this._triggers.has(s)||L.delete(s)})}}register(c,s){return!this._triggers.has(c)&&(this._triggers.set(c,s),!0)}_getTrigger(c){const s=this._triggers.get(c);if(!s)throw function Ft(o){return new r.wOt(3401,!1)}();return s}trigger(c,s,l,h=!0){const _=this._getTrigger(s),D=new Xr(this.id,s,c);let L=this._engine.statesByElement.get(c);L||(Uo(c,Ii),Uo(c,Ii+"-"+s),this._engine.statesByElement.set(c,L=new Map));let H=L.get(s);const K=new Ri(l,this.id);if(!(l&&l.hasOwnProperty("value"))&&H&&K.absorbOptions(H.options),L.set(s,K),H||(H=da),K.value!==Xo&&H.value===K.value){if(!function Dl(o,c){const s=Object.keys(o),l=Object.keys(c);if(s.length!=l.length)return!1;for(let h=0;h<s.length;h++){const _=s[h];if(!c.hasOwnProperty(_)||o[_]!==c[_])return!1}return!0}(H.params,K.params)){const it=[],qe=_.matchStyles(H.value,H.params,it),It=_.matchStyles(K.value,K.params,it);it.length?this._engine.reportError(it):this._engine.afterFlush(()=>{ye(c,qe),ee(c,It)})}return}const ve=hi(this._engine.playersByElement,c,[]);ve.forEach(it=>{it.namespaceId==this.id&&it.triggerName==s&&it.queued&&it.destroy()});let ke=_.matchTransition(H.value,K.value,c,K.params),Fe=!1;if(!ke){if(!h)return;ke=_.fallbackTransition,Fe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:s,transition:ke,fromState:H,toState:K,player:D,isFallbackTransition:Fe}),Fe||(Uo(c,io),D.onStart(()=>{Hr(c,io)})),D.onDone(()=>{let it=this.players.indexOf(D);it>=0&&this.players.splice(it,1);const qe=this._engine.playersByElement.get(c);if(qe){let It=qe.indexOf(D);It>=0&&qe.splice(It,1)}}),this.players.push(D),ve.push(D),D}deregister(c){this._triggers.delete(c),this._engine.statesByElement.forEach(s=>s.delete(c)),this._elementListeners.forEach((s,l)=>{this._elementListeners.set(l,s.filter(h=>h.name!=c))})}clearElementCache(c){this._engine.statesByElement.delete(c),this._elementListeners.delete(c);const s=this._engine.playersByElement.get(c);s&&(s.forEach(l=>l.destroy()),this._engine.playersByElement.delete(c))}_signalRemovalForInnerTriggers(c,s){const l=this._engine.driver.query(c,qn,!0);l.forEach(h=>{if(h[ko])return;const _=this._engine.fetchNamespacesByElement(h);_.size?_.forEach(D=>D.triggerLeaveAnimation(h,s,!1,!0)):this.clearElementCache(h)}),this._engine.afterFlushAnimationsDone(()=>l.forEach(h=>this.clearElementCache(h)))}triggerLeaveAnimation(c,s,l,h){const _=this._engine.statesByElement.get(c),D=new Map;if(_){const L=[];if(_.forEach((H,K)=>{if(D.set(K,H.value),this._triggers.has(K)){const X=this.trigger(c,K,Xo,h);X&&L.push(X)}}),L.length)return this._engine.markElementAsRemoved(this.id,c,!0,s,D),l&&Pt(L).onDone(()=>this._engine.processLeaveNode(c)),!0}return!1}prepareLeaveAnimationListeners(c){const s=this._elementListeners.get(c),l=this._engine.statesByElement.get(c);if(s&&l){const h=new Set;s.forEach(_=>{const D=_.name;if(h.has(D))return;h.add(D);const H=this._triggers.get(D).fallbackTransition,K=l.get(D)||da,X=new Ri(Xo),Q=new Xr(this.id,D,c);this._engine.totalQueuedPlayers++,this._queue.push({element:c,triggerName:D,transition:H,fromState:K,toState:X,player:Q,isFallbackTransition:!0})})}}removeNode(c,s){const l=this._engine;if(c.childElementCount&&this._signalRemovalForInnerTriggers(c,s),this.triggerLeaveAnimation(c,s,!0))return;let h=!1;if(l.totalAnimations){const _=l.players.length?l.playersByQueriedElement.get(c):[];if(_&&_.length)h=!0;else{let D=c;for(;D=D.parentNode;)if(l.statesByElement.get(D)){h=!0;break}}}if(this.prepareLeaveAnimationListeners(c),h)l.markElementAsRemoved(this.id,c,!1,s);else{const _=c[ko];(!_||_===ca)&&(l.afterFlush(()=>this.clearElementCache(c)),l.destroyInnerAnimations(c),l._onRemovalComplete(c,s))}}insertNode(c,s){Uo(c,this._hostClassName)}drainQueuedTransitions(c){const s=[];return this._queue.forEach(l=>{const h=l.player;if(h.destroyed)return;const _=l.element,D=this._elementListeners.get(_);D&&D.forEach(L=>{if(L.name==l.triggerName){const H=pi(_,l.triggerName,l.fromState.value,l.toState.value);H._data=c,ei(l.player,L.phase,H,L.callback)}}),h.markedForDestroy?this._engine.afterFlush(()=>{h.destroy()}):s.push(l)}),this._queue=[],s.sort((l,h)=>{const _=l.transition.ast.depCount,D=h.transition.ast.depCount;return 0==_||0==D?_-D:this._engine.driver.containsElement(l.element,h.element)?1:-1})}destroy(c){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,c)}}class Ba{_onRemovalComplete(c,s){this.onRemovalComplete(c,s)}constructor(c,s,l,h){this.bodyNode=c,this.driver=s,this._normalizer=l,this.scheduler=h,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(_,D)=>{}}get queuedPlayers(){const c=[];return this._namespaceList.forEach(s=>{s.players.forEach(l=>{l.queued&&c.push(l)})}),c}createNamespace(c,s){const l=new go(c,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(l,s):(this.newHostElements.set(s,l),this.collectEnterElement(s)),this._namespaceLookup[c]=l}_balanceNamespaceList(c,s){const l=this._namespaceList,h=this.namespacesByHostElement;if(l.length-1>=0){let D=!1,L=this.driver.getParentElement(s);for(;L;){const H=h.get(L);if(H){const K=l.indexOf(H);l.splice(K+1,0,c),D=!0;break}L=this.driver.getParentElement(L)}D||l.unshift(c)}else l.push(c);return h.set(s,c),c}register(c,s){let l=this._namespaceLookup[c];return l||(l=this.createNamespace(c,s)),l}registerTrigger(c,s,l){let h=this._namespaceLookup[c];h&&h.register(s,l)&&this.totalAnimations++}destroy(c,s){c&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const l=this._fetchNamespace(c);this.namespacesByHostElement.delete(l.hostElement);const h=this._namespaceList.indexOf(l);h>=0&&this._namespaceList.splice(h,1),l.destroy(s),delete this._namespaceLookup[c]}))}_fetchNamespace(c){return this._namespaceLookup[c]}fetchNamespacesByElement(c){const s=new Set,l=this.statesByElement.get(c);if(l)for(let h of l.values())if(h.namespaceId){const _=this._fetchNamespace(h.namespaceId);_&&s.add(_)}return s}trigger(c,s,l,h){if(ls(s)){const _=this._fetchNamespace(c);if(_)return _.trigger(s,l,h),!0}return!1}insertNode(c,s,l,h){if(!ls(s))return;const _=s[ko];if(_&&_.setForRemoval){_.setForRemoval=!1,_.setForMove=!0;const D=this.collectedLeaveElements.indexOf(s);D>=0&&this.collectedLeaveElements.splice(D,1)}if(c){const D=this._fetchNamespace(c);D&&D.insertNode(s,l)}h&&this.collectEnterElement(s)}collectEnterElement(c){this.collectedEnterElements.push(c)}markElementAsDisabled(c,s){s?this.disabledNodes.has(c)||(this.disabledNodes.add(c),Uo(c,Ko)):this.disabledNodes.has(c)&&(this.disabledNodes.delete(c),Hr(c,Ko))}removeNode(c,s,l){if(ls(s)){this.scheduler?.notify();const h=c?this._fetchNamespace(c):null;h?h.removeNode(s,l):this.markElementAsRemoved(c,s,!1,l);const _=this.namespacesByHostElement.get(s);_&&_.id!==c&&_.removeNode(s,l)}else this._onRemovalComplete(s,l)}markElementAsRemoved(c,s,l,h,_){this.collectedLeaveElements.push(s),s[ko]={namespaceId:c,setForRemoval:h,hasAnimation:l,removedBeforeQueried:!1,previousTriggersValues:_}}listen(c,s,l,h,_){return ls(s)?this._fetchNamespace(c).listen(s,l,h,_):()=>{}}_buildInstruction(c,s,l,h,_){return c.transition.build(this.driver,c.element,c.fromState.value,c.toState.value,l,h,c.fromState.options,c.toState.options,s,_)}destroyInnerAnimations(c){let s=this.driver.query(c,qn,!0);s.forEach(l=>this.destroyActiveAnimationsForElement(l)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(c,sn,!0),s.forEach(l=>this.finishActiveQueriedAnimationOnElement(l)))}destroyActiveAnimationsForElement(c){const s=this.playersByElement.get(c);s&&s.forEach(l=>{l.queued?l.markedForDestroy=!0:l.destroy()})}finishActiveQueriedAnimationOnElement(c){const s=this.playersByQueriedElement.get(c);s&&s.forEach(l=>l.finish())}whenRenderingDone(){return new Promise(c=>{if(this.players.length)return Pt(this.players).onDone(()=>c());c()})}processLeaveNode(c){const s=c[ko];if(s&&s.setForRemoval){if(c[ko]=ca,s.namespaceId){this.destroyInnerAnimations(c);const l=this._fetchNamespace(s.namespaceId);l&&l.clearElementCache(c)}this._onRemovalComplete(c,s.setForRemoval)}c.classList?.contains(Ko)&&this.markElementAsDisabled(c,!1),this.driver.query(c,".ng-animate-disabled",!0).forEach(l=>{this.markElementAsDisabled(l,!1)})}flush(c=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((l,h)=>this._balanceNamespaceList(l,h)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let l=0;l<this.collectedEnterElements.length;l++)Uo(this.collectedEnterElements[l],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const l=[];try{s=this._flushAnimations(l,c)}finally{for(let h=0;h<l.length;h++)l[h]()}}else for(let l=0;l<this.collectedLeaveElements.length;l++)this.processLeaveNode(this.collectedLeaveElements[l]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(l=>l()),this._flushFns=[],this._whenQuietFns.length){const l=this._whenQuietFns;this._whenQuietFns=[],s.length?Pt(s).onDone(()=>{l.forEach(h=>h())}):l.forEach(h=>h())}}reportError(c){throw function Le(o){return new r.wOt(3402,!1)}()}_flushAnimations(c,s){const l=new rr,h=[],_=new Map,D=[],L=new Map,H=new Map,K=new Map,X=new Set;this.disabledNodes.forEach(Xt=>{X.add(Xt);const Pn=this.driver.query(Xt,".ng-animate-queued",!0);for(let Wn=0;Wn<Pn.length;Wn++)X.add(Pn[Wn])});const Q=this.bodyNode,ve=Array.from(this.statesByElement.keys()),ke=So(ve,this.collectedEnterElements),Fe=new Map;let it=0;ke.forEach((Xt,Pn)=>{const Wn=Xn+it++;Fe.set(Pn,Wn),Xt.forEach(yi=>Uo(yi,Wn))});const qe=[],It=new Set,Rt=new Set;for(let Xt=0;Xt<this.collectedLeaveElements.length;Xt++){const Pn=this.collectedLeaveElements[Xt],Wn=Pn[ko];Wn&&Wn.setForRemoval&&(qe.push(Pn),It.add(Pn),Wn.hasAnimation?this.driver.query(Pn,".ng-star-inserted",!0).forEach(yi=>It.add(yi)):Rt.add(Pn))}const xt=new Map,nn=So(ve,Array.from(It));nn.forEach((Xt,Pn)=>{const Wn=Bn+it++;xt.set(Pn,Wn),Xt.forEach(yi=>Uo(yi,Wn))}),c.push(()=>{ke.forEach((Xt,Pn)=>{const Wn=Fe.get(Pn);Xt.forEach(yi=>Hr(yi,Wn))}),nn.forEach((Xt,Pn)=>{const Wn=xt.get(Pn);Xt.forEach(yi=>Hr(yi,Wn))}),qe.forEach(Xt=>{this.processLeaveNode(Xt)})});const yn=[],Mn=[];for(let Xt=this._namespaceList.length-1;Xt>=0;Xt--)this._namespaceList[Xt].drainQueuedTransitions(s).forEach(Wn=>{const yi=Wn.player,ir=Wn.element;if(yn.push(yi),this.collectedEnterElements.length){const bs=ir[ko];if(bs&&bs.setForMove){if(bs.previousTriggersValues&&bs.previousTriggersValues.has(Wn.triggerName)){const Yl=bs.previousTriggersValues.get(Wn.triggerName),wa=this.statesByElement.get(Wn.element);if(wa&&wa.has(Wn.triggerName)){const Ql=wa.get(Wn.triggerName);Ql.value=Yl,wa.set(Wn.triggerName,Ql)}}return void yi.destroy()}}const vs=!Q||!this.driver.containsElement(Q,ir),Vo=xt.get(ir),Na=Fe.get(ir),Wr=this._buildInstruction(Wn,l,Na,Vo,vs);if(Wr.errors&&Wr.errors.length)return void Mn.push(Wr);if(vs)return yi.onStart(()=>ye(ir,Wr.fromStyles)),yi.onDestroy(()=>ee(ir,Wr.toStyles)),void h.push(yi);if(Wn.isFallbackTransition)return yi.onStart(()=>ye(ir,Wr.fromStyles)),yi.onDestroy(()=>ee(ir,Wr.toStyles)),void h.push(yi);const la=[];Wr.timelines.forEach(bs=>{bs.stretchStartingKeyframe=!0,this.disabledNodes.has(bs.element)||la.push(bs)}),Wr.timelines=la,l.append(ir,Wr.timelines),D.push({instruction:Wr,player:yi,element:ir}),Wr.queriedElements.forEach(bs=>hi(L,bs,[]).push(yi)),Wr.preStyleProps.forEach((bs,Yl)=>{if(bs.size){let wa=H.get(Yl);wa||H.set(Yl,wa=new Set),bs.forEach((Ql,Jl)=>wa.add(Jl))}}),Wr.postStyleProps.forEach((bs,Yl)=>{let wa=K.get(Yl);wa||K.set(Yl,wa=new Set),bs.forEach((Ql,Jl)=>wa.add(Jl))})});if(Mn.length){const Xt=[];Mn.forEach(Pn=>{Xt.push(function Pe(o,c){return new r.wOt(3505,!1)}())}),yn.forEach(Pn=>Pn.destroy()),this.reportError(Xt)}const kn=new Map,rn=new Map;D.forEach(Xt=>{const Pn=Xt.element;l.has(Pn)&&(rn.set(Pn,Pn),this._beforeAnimationBuild(Xt.player.namespaceId,Xt.instruction,kn))}),h.forEach(Xt=>{const Pn=Xt.element;this._getPreviousPlayers(Pn,!1,Xt.namespaceId,Xt.triggerName,null).forEach(yi=>{hi(kn,Pn,[]).push(yi),yi.destroy()})});const ln=qe.filter(Xt=>Zr(Xt,H,K)),xn=new Map;ua(xn,this.driver,Rt,K,A.kp).forEach(Xt=>{Zr(Xt,H,K)&&ln.push(Xt)});const Zn=new Map;ke.forEach((Xt,Pn)=>{ua(Zn,this.driver,new Set(Xt),H,A.FX)}),ln.forEach(Xt=>{const Pn=xn.get(Xt),Wn=Zn.get(Xt);xn.set(Xt,new Map([...Pn?.entries()??[],...Wn?.entries()??[]]))});const fi=[],_r=[],Yi={};D.forEach(Xt=>{const{element:Pn,player:Wn,instruction:yi}=Xt;if(l.has(Pn)){if(X.has(Pn))return Wn.onDestroy(()=>ee(Pn,yi.toStyles)),Wn.disabled=!0,Wn.overrideTotalTime(yi.totalTime),void h.push(Wn);let ir=Yi;if(rn.size>1){let Vo=Pn;const Na=[];for(;Vo=Vo.parentNode;){const Wr=rn.get(Vo);if(Wr){ir=Wr;break}Na.push(Vo)}Na.forEach(Wr=>rn.set(Wr,ir))}const vs=this._buildAnimation(Wn.namespaceId,yi,kn,_,Zn,xn);if(Wn.setRealPlayer(vs),ir===Yi)fi.push(Wn);else{const Vo=this.playersByElement.get(ir);Vo&&Vo.length&&(Wn.parentPlayer=Pt(Vo)),h.push(Wn)}}else ye(Pn,yi.fromStyles),Wn.onDestroy(()=>ee(Pn,yi.toStyles)),_r.push(Wn),X.has(Pn)&&h.push(Wn)}),_r.forEach(Xt=>{const Pn=_.get(Xt.element);if(Pn&&Pn.length){const Wn=Pt(Pn);Xt.setRealPlayer(Wn)}}),h.forEach(Xt=>{Xt.parentPlayer?Xt.syncPlayerEvents(Xt.parentPlayer):Xt.destroy()});for(let Xt=0;Xt<qe.length;Xt++){const Pn=qe[Xt],Wn=Pn[ko];if(Hr(Pn,Bn),Wn&&Wn.hasAnimation)continue;let yi=[];if(L.size){let vs=L.get(Pn);vs&&vs.length&&yi.push(...vs);let Vo=this.driver.query(Pn,sn,!0);for(let Na=0;Na<Vo.length;Na++){let Wr=L.get(Vo[Na]);Wr&&Wr.length&&yi.push(...Wr)}}const ir=yi.filter(vs=>!vs.destroyed);ir.length?Ps(this,Pn,ir):this.processLeaveNode(Pn)}return qe.length=0,fi.forEach(Xt=>{this.players.push(Xt),Xt.onDone(()=>{Xt.destroy();const Pn=this.players.indexOf(Xt);this.players.splice(Pn,1)}),Xt.play()}),fi}afterFlush(c){this._flushFns.push(c)}afterFlushAnimationsDone(c){this._whenQuietFns.push(c)}_getPreviousPlayers(c,s,l,h,_){let D=[];if(s){const L=this.playersByQueriedElement.get(c);L&&(D=L)}else{const L=this.playersByElement.get(c);if(L){const H=!_||_==Xo;L.forEach(K=>{K.queued||!H&&K.triggerName!=h||D.push(K)})}}return(l||h)&&(D=D.filter(L=>!(l&&l!=L.namespaceId||h&&h!=L.triggerName))),D}_beforeAnimationBuild(c,s,l){const _=s.element,D=s.isRemovalTransition?void 0:c,L=s.isRemovalTransition?void 0:s.triggerName;for(const H of s.timelines){const K=H.element,X=K!==_,Q=hi(l,K,[]);this._getPreviousPlayers(K,X,D,L,s.toState).forEach(ke=>{const Fe=ke.getRealPlayer();Fe.beforeDestroy&&Fe.beforeDestroy(),ke.destroy(),Q.push(ke)})}ye(_,s.fromStyles)}_buildAnimation(c,s,l,h,_,D){const L=s.triggerName,H=s.element,K=[],X=new Set,Q=new Set,ve=s.timelines.map(Fe=>{const it=Fe.element;X.add(it);const qe=it[ko];if(qe&&qe.removedBeforeQueried)return new A.sf(Fe.duration,Fe.delay);const It=it!==H,Rt=function nl(o){const c=[];return Fr(o,c),c}((l.get(it)||fr).map(kn=>kn.getRealPlayer())).filter(kn=>!!kn.element&&kn.element===it),xt=_.get(it),nn=D.get(it),yn=Fn(this._normalizer,Fe.keyframes,xt,nn),Mn=this._buildPlayer(Fe,yn,Rt);if(Fe.subTimeline&&h&&Q.add(it),It){const kn=new Xr(c,L,it);kn.setRealPlayer(Mn),K.push(kn)}return Mn});K.forEach(Fe=>{hi(this.playersByQueriedElement,Fe.element,[]).push(Fe),Fe.onDone(()=>function Rs(o,c,s){let l=o.get(c);if(l){if(l.length){const h=l.indexOf(s);l.splice(h,1)}0==l.length&&o.delete(c)}return l}(this.playersByQueriedElement,Fe.element,Fe))}),X.forEach(Fe=>Uo(Fe,Qi));const ke=Pt(ve);return ke.onDestroy(()=>{X.forEach(Fe=>Hr(Fe,Qi)),ee(H,s.toStyles)}),Q.forEach(Fe=>{hi(h,Fe,[]).push(ke)}),ke}_buildPlayer(c,s,l){return s.length>0?this.driver.animate(c.element,s,c.duration,c.delay,c.easing,l):new A.sf(c.duration,c.delay)}}class Xr{constructor(c,s,l){this.namespaceId=c,this.triggerName=s,this.element=l,this._player=new A.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(c){this._containsRealPlayer||(this._player=c,this._queuedCallbacks.forEach((s,l)=>{s.forEach(h=>ei(c,l,void 0,h))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(c.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(c){this.totalTime=c}syncPlayerEvents(c){const s=this._player;s.triggerCallback&&c.onStart(()=>s.triggerCallback("start")),c.onDone(()=>this.finish()),c.onDestroy(()=>this.destroy())}_queueEvent(c,s){hi(this._queuedCallbacks,c,[]).push(s)}onDone(c){this.queued&&this._queueEvent("done",c),this._player.onDone(c)}onStart(c){this.queued&&this._queueEvent("start",c),this._player.onStart(c)}onDestroy(c){this.queued&&this._queueEvent("destroy",c),this._player.onDestroy(c)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(c){this.queued||this._player.setPosition(c)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(c){const s=this._player;s.triggerCallback&&s.triggerCallback(c)}}function ls(o){return o&&1===o.nodeType}function _o(o,c){const s=o.style.display;return o.style.display=c??"none",s}function ua(o,c,s,l,h){const _=[];s.forEach(H=>_.push(_o(H)));const D=[];l.forEach((H,K)=>{const X=new Map;H.forEach(Q=>{const ve=c.computeStyle(K,Q,h);X.set(Q,ve),(!ve||0==ve.length)&&(K[ko]=ro,D.push(K))}),o.set(K,X)});let L=0;return s.forEach(H=>_o(H,_[L++])),D}function So(o,c){const s=new Map;if(o.forEach(L=>s.set(L,[])),0==c.length)return s;const h=new Set(c),_=new Map;function D(L){if(!L)return 1;let H=_.get(L);if(H)return H;const K=L.parentNode;return H=s.has(K)?K:h.has(K)?1:D(K),_.set(L,H),H}return c.forEach(L=>{const H=D(L);1!==H&&s.get(H).push(L)}),s}function Uo(o,c){o.classList?.add(c)}function Hr(o,c){o.classList?.remove(c)}function Ps(o,c,s){Pt(s).onDone(()=>o.processLeaveNode(c))}function Fr(o,c){for(let s=0;s<o.length;s++){const l=o[s];l instanceof A.ui?Fr(l.players,c):c.push(l)}}function Zr(o,c,s){const l=s.get(o);if(!l)return!1;let h=c.get(o);return h?l.forEach(_=>h.add(_)):c.set(o,l),s.delete(o),!0}class ja{constructor(c,s,l,h){this._driver=s,this._normalizer=l,this._triggerCache={},this.onRemovalComplete=(_,D)=>{},this._transitionEngine=new Ba(c.body,s,l,h),this._timelineEngine=new Nr(c.body,s,l),this._transitionEngine.onRemovalComplete=(_,D)=>this.onRemovalComplete(_,D)}registerTrigger(c,s,l,h,_){const D=c+"-"+h;let L=this._triggerCache[D];if(!L){const H=[],X=ne(this._driver,_,H,[]);if(H.length)throw function Yt(o,c){return new r.wOt(3404,!1)}();L=function be(o,c,s){return new ae(o,c,s)}(h,X,this._normalizer),this._triggerCache[D]=L}this._transitionEngine.registerTrigger(s,h,L)}register(c,s){this._transitionEngine.register(c,s)}destroy(c,s){this._transitionEngine.destroy(c,s)}onInsert(c,s,l,h){this._transitionEngine.insertNode(c,s,l,h)}onRemove(c,s,l){this._transitionEngine.removeNode(c,s,l)}disableAnimations(c,s){this._transitionEngine.markElementAsDisabled(c,s)}process(c,s,l,h){if("@"==l.charAt(0)){const[_,D]=xi(l);this._timelineEngine.command(_,s,D,h)}else this._transitionEngine.trigger(c,s,l,h)}listen(c,s,l,h,_){if("@"==l.charAt(0)){const[D,L]=xi(l);return this._timelineEngine.listen(D,s,L,_)}return this._transitionEngine.listen(c,s,l,h,_)}flush(c=-1){this._transitionEngine.flush(c)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(c){this._transitionEngine.afterFlushAnimationsDone(c)}}class Yr{static#e=this.initialStylesByElement=new WeakMap;constructor(c,s,l){this._element=c,this._startStyles=s,this._endStyles=l,this._state=0;let h=Yr.initialStylesByElement.get(c);h||Yr.initialStylesByElement.set(c,h=new Map),this._initialStyles=h}start(){this._state<1&&(this._startStyles&&ee(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ee(this._element,this._initialStyles),this._endStyles&&(ee(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Yr.initialStylesByElement.delete(this._element),this._startStyles&&(ye(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ye(this._element,this._endStyles),this._endStyles=null),ee(this._element,this._initialStyles),this._state=3)}}function qr(o){let c=null;return o.forEach((s,l)=>{(function $o(o){return"display"===o||"position"===o})(l)&&(c=c||new Map,c.set(l,s))}),c}class wr{constructor(c,s,l,h){this.element=c,this.keyframes=s,this.options=l,this._specialStyles=h,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=l.duration,this._delay=l.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(c=>c()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const c=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,c,this.options),this._finalKeyframe=c.length?c[c.length-1]:new Map;const s=()=>this._onFinish();this.domPlayer.addEventListener("finish",s),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",s)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(c){const s=[];return c.forEach(l=>{s.push(Object.fromEntries(l))}),s}_triggerWebAnimation(c,s,l){return c.animate(this._convertKeyframesToObject(s),l)}onStart(c){this._originalOnStartFns.push(c),this._onStartFns.push(c)}onDone(c){this._originalOnDoneFns.push(c),this._onDoneFns.push(c)}onDestroy(c){this._onDestroyFns.push(c)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(c=>c()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(c=>c()),this._onDestroyFns=[])}setPosition(c){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=c*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const c=new Map;this.hasStarted()&&this._finalKeyframe.forEach((l,h)=>{"offset"!==h&&c.set(h,this._finished?l:bt(this.element,h))}),this.currentSnapshot=c}triggerCallback(c){const s="start"===c?this._onStartFns:this._onDoneFns;s.forEach(l=>l()),s.length=0}}class Fs{validateStyleProperty(c){return!0}validateAnimatableStyleProperty(c){return!0}matchesElement(c,s){return!1}containsElement(c,s){return zt(c,s)}getParentElement(c){return ki(c)}query(c,s,l){return Lt(c,s,l)}computeStyle(c,s,l){return bt(c,s)}animate(c,s,l,h,_,D=[]){const H={duration:l,delay:h,fill:0==h?"both":"forwards"};_&&(H.easing=_);const K=new Map,X=D.filter(ke=>ke instanceof wr);(function kt(o,c){return 0===o||0===c})(l,h)&&X.forEach(ke=>{ke.currentSnapshot.forEach((Fe,it)=>K.set(it,Fe))});let Q=function Re(o){return o.length?o[0]instanceof Map?o:o.map(c=>new Map(Object.entries(c))):[]}(s).map(ke=>new Map(ke));Q=function re(o,c,s){if(s.size&&c.length){let l=c[0],h=[];if(s.forEach((_,D)=>{l.has(D)||h.push(D),l.set(D,_)}),h.length)for(let _=1;_<c.length;_++){let D=c[_];h.forEach(L=>D.set(L,bt(o,L)))}}return c}(c,Q,K);const ve=function Ss(o,c){let s=null,l=null;return Array.isArray(c)&&c.length?(s=qr(c[0]),c.length>1&&(l=qr(c[c.length-1]))):c instanceof Map&&(s=qr(c)),s||l?new Yr(o,s,l):null}(c,Q);return new wr(c,Q,H,ve)}}const Ws="@.disabled";class ha{constructor(c,s,l,h){this.namespaceId=c,this.delegate=s,this.engine=l,this._onDestroy=h,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(c){this.delegate.destroyNode?.(c)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(c,s){return this.delegate.createElement(c,s)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}appendChild(c,s){this.delegate.appendChild(c,s),this.engine.onInsert(this.namespaceId,s,c,!1)}insertBefore(c,s,l,h=!0){this.delegate.insertBefore(c,s,l),this.engine.onInsert(this.namespaceId,s,c,h)}removeChild(c,s,l){this.engine.onRemove(this.namespaceId,s,this.delegate)}selectRootElement(c,s){return this.delegate.selectRootElement(c,s)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,s,l,h){this.delegate.setAttribute(c,s,l,h)}removeAttribute(c,s,l){this.delegate.removeAttribute(c,s,l)}addClass(c,s){this.delegate.addClass(c,s)}removeClass(c,s){this.delegate.removeClass(c,s)}setStyle(c,s,l,h){this.delegate.setStyle(c,s,l,h)}removeStyle(c,s,l){this.delegate.removeStyle(c,s,l)}setProperty(c,s,l){"@"==s.charAt(0)&&s==Ws?this.disableAnimations(c,!!l):this.delegate.setProperty(c,s,l)}setValue(c,s){this.delegate.setValue(c,s)}listen(c,s,l){return this.delegate.listen(c,s,l)}disableAnimations(c,s){this.engine.disableAnimations(c,s)}}class cs extends ha{constructor(c,s,l,h,_){super(s,l,h,_),this.factory=c,this.namespaceId=s}setProperty(c,s,l){"@"==s.charAt(0)?"."==s.charAt(1)&&s==Ws?this.disableAnimations(c,l=void 0===l||!!l):this.engine.process(this.namespaceId,c,s.slice(1),l):this.delegate.setProperty(c,s,l)}listen(c,s,l){if("@"==s.charAt(0)){const h=function ds(o){switch(o){case"body":return document.body;case"document":return document;case"window":return window;default:return o}}(c);let _=s.slice(1),D="";return"@"!=_.charAt(0)&&([_,D]=function Ls(o){const c=o.indexOf(".");return[o.substring(0,c),o.slice(c+1)]}(_)),this.engine.listen(this.namespaceId,h,_,D,L=>{this.factory.scheduleListenerCallback(L._data||-1,l,L)})}return this.delegate.listen(c,s,l)}}class Ao{constructor(c,s,l){this.delegate=c,this.engine=s,this._zone=l,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,s.onRemovalComplete=(h,_)=>{const D=_?.parentNode(h);D&&_.removeChild(D,h)}}createRenderer(c,s){const h=this.delegate.createRenderer(c,s);if(!c||!s?.data?.animation){const K=this._rendererCache;let X=K.get(h);return X||(X=new ha("",h,this.engine,()=>K.delete(h)),K.set(h,X)),X}const _=s.id,D=s.id+"-"+this._currentId;this._currentId++,this.engine.register(D,c);const L=K=>{Array.isArray(K)?K.forEach(L):this.engine.registerTrigger(_,D,c,K.name,K)};return s.data.animation.forEach(L),new cs(this,D,h,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(c,s,l){if(c>=0&&c<this._microtaskId)return void this._zone.run(()=>s(l));const h=this._animationCallbacksBuffer;0==h.length&&queueMicrotask(()=>{this._zone.run(()=>{h.forEach(_=>{const[D,L]=_;D(L)}),this._animationCallbacksBuffer=[]})}),h.push([s,l])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}let Go=(()=>{class o extends ja{constructor(s,l,h){super(s,l,h,(0,r.WQX)(r.An2,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(F.qQ),r.KVO(Kt),r.KVO(En))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac})}return o})();const Ee=[{provide:En,useFactory:function Ks(){return new An}},{provide:ja,useClass:Go},{provide:r._9s,useFactory:function fe(o,c,s){return new Ao(o,c,s)},deps:[n.B7,ja,r.SKi]}],Y=[{provide:Kt,useFactory:()=>new Fs},{provide:r.bc$,useValue:"BrowserAnimations"},...Ee],Ve=[{provide:Kt,useClass:jn},{provide:r.bc$,useValue:"NoopAnimations"},...Ee];let Ct=(()=>{class o{static withConfig(s){return{ngModule:o,providers:s.disableAnimations?Ve:Y}}static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({providers:Y,imports:[n.Bb]})}return o})();var P=f(4710),te=f(7570);const de=void 0,wt=["et",[["AM","PM"],de,de],de,[["P","E","T","K","N","R","L"],de,["P\xfchap\xe4ev","Esmasp\xe4ev","Teisip\xe4ev","Kolmap\xe4ev","Neljap\xe4ev","Reede","Laup\xe4ev"],["P","E","T","K","N","R","L"]],de,[["J","V","M","A","M","J","J","A","S","O","N","D"],["jaan","veebr","m\xe4rts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],["jaanuar","veebruar","m\xe4rts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"]],de,[["eKr","pKr"],de,["enne Kristust","p\xe4rast Kristust"]],1,[6,0],["dd.MM.yy","d. MMM y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",de,de,de],[",","\xa0",";","%","+","\u2212","\xd710^","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:["AU$","$"],EEK:["kr"],PHP:[de,"\u20b1"],THB:["\u0e3f"],TWD:["NT$"]},"ltr",function Ke(o){const s=Math.floor(Math.abs(o)),l=o.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===l?1:5}],en=void 0,hn=["ru",[["AM","PM"],en,en],en,[["\u0412","\u041f","\u0412","\u0421","\u0427","\u041f","\u0421"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043e\u0442\u0430"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"]],en,[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440.","\u0430\u043f\u0440.","\u043c\u0430\u044f","\u0438\u044e\u043d.","\u0438\u044e\u043b.","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044f","\u0444\u0435\u0432\u0440\u0430\u043b\u044f","\u043c\u0430\u0440\u0442\u0430","\u0430\u043f\u0440\u0435\u043b\u044f","\u043c\u0430\u044f","\u0438\u044e\u043d\u044f","\u0438\u044e\u043b\u044f","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f","\u043e\u043a\u0442\u044f\u0431\u0440\u044f","\u043d\u043e\u044f\u0431\u0440\u044f","\u0434\u0435\u043a\u0430\u0431\u0440\u044f"]],[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440.","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044c","\u0444\u0435\u0432\u0440\u0430\u043b\u044c","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0435\u043b\u044c","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u043e\u043a\u0442\u044f\u0431\u0440\u044c","\u043d\u043e\u044f\u0431\u0440\u044c","\u0434\u0435\u043a\u0430\u0431\u0440\u044c"]],[["\u0434\u043e \u043d.\u044d.","\u043d.\u044d."],["\u0434\u043e \u043d. \u044d.","\u043d. \u044d."],["\u0434\u043e \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430","\u043e\u0442 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430"]],1,[6,0],["dd.MM.y","d MMM y '\u0433'.","d MMMM y '\u0433'.","EEEE, d MMMM y '\u0433'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",en,en,en],[",","\xa0",";","%","+","-","E","\xd7","\u2030","\u221e","\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"RUB","\u20bd","\u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 \u0440\u0443\u0431\u043b\u044c",{BYN:[en,"\u0440."],GEL:[en,"\u10da"],PHP:[en,"\u20b1"],RON:[en,"L"],RUB:["\u20bd"],RUR:["\u0440."],THB:["\u0e3f"],TMT:["\u0422\u041c\u0422"],TWD:["NT$"],UAH:["\u20b4"],XXX:["XXXX"]},"ltr",function Gt(o){const s=Math.floor(Math.abs(o)),l=o.toString().replace(/^[^.]*\.?/,"").length;return 0===l&&s%10==1&&s%100!=11?1:0===l&&s%10===Math.floor(s%10)&&s%10>=2&&s%10<=4&&!(s%100>=12&&s%100<=14)?3:0===l&&s%10==0||0===l&&s%10===Math.floor(s%10)&&s%10>=5&&s%10<=9||0===l&&s%100===Math.floor(s%100)&&s%100>=11&&s%100<=14?4:5}];var $n=f(6600),In=f(6049),Rn=f(3887);const ii={parse:{dateInput:"dd.MM.YYYY"},display:{dateInput:"dd.MM.YYYY",monthLabel:"MMM",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let ri=(()=>{class o extends $n.xW{parse(s){const l=s.match(/^(\d{2})\.(\d{2})\.(\d{4})$/);if(l){const[h,_,D,L]=l,H=Number(_),K=Number(D)-1,X=Number(L);return new Date(X,K,H)}return null}format(s,l){const h=new F.vh(this.locale);return l===ii.display.dateInput?h.transform(s,ii.display.dateInput)||"":l===ii.display.monthYearLabel?h.transform(s,ii.display.monthYearLabel)||"":super.format(s,l)}getMonthNames(s){return["jaan","veebr","m\xe4rts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"]}static#e=this.\u0275fac=(()=>{let s;return function(h){return(s||(s=r.xGo(o)))(h||o)}})();static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac})}return o})();var ai=f(8875),Ei=f(8008),Gn=f(1635),vi=f(1289),tr=f(6373),yr=f(9860),bi=f(6108),Pi=function(){function o(){this.getFragmentDoc=(0,tr.LV)(bi.ct)}return o.prototype.batch=function(c){var h,s=this;return this.performTransaction(function(){return h=c.update(s)},"string"==typeof c.optimistic?c.optimistic:!1===c.optimistic?null:void 0),h},o.prototype.recordOptimisticTransaction=function(c,s){this.performTransaction(c,s)},o.prototype.transformDocument=function(c){return c},o.prototype.transformForLink=function(c){return c},o.prototype.identify=function(c){},o.prototype.gc=function(){return[]},o.prototype.modify=function(c){return!1},o.prototype.readQuery=function(c,s){return void 0===s&&(s=!!c.optimistic),this.read((0,Gn.Cl)((0,Gn.Cl)({},c),{rootId:c.id||"ROOT_QUERY",optimistic:s}))},o.prototype.readFragment=function(c,s){return void 0===s&&(s=!!c.optimistic),this.read((0,Gn.Cl)((0,Gn.Cl)({},c),{query:this.getFragmentDoc(c.fragment,c.fragmentName),rootId:c.id,optimistic:s}))},o.prototype.writeQuery=function(c){var s=c.id,l=c.data,h=(0,Gn.Tt)(c,["id","data"]);return this.write(Object.assign(h,{dataId:s||"ROOT_QUERY",result:l}))},o.prototype.writeFragment=function(c){var s=c.id,l=c.data,h=c.fragment,_=c.fragmentName,D=(0,Gn.Tt)(c,["id","data","fragment","fragmentName"]);return this.write(Object.assign(D,{query:this.getFragmentDoc(h,_),dataId:s,result:l}))},o.prototype.updateQuery=function(c,s){return this.batch({update:function(l){var h=l.readQuery(c),_=s(h);return null==_?h:(l.writeQuery((0,Gn.Cl)((0,Gn.Cl)({},c),{data:_})),_)}})},o.prototype.updateFragment=function(c,s){return this.batch({update:function(l){var h=l.readFragment(c),_=s(h);return null==_?h:(l.writeFragment((0,Gn.Cl)((0,Gn.Cl)({},c),{data:_})),_)}})},o}(),Si=function(o){function c(s,l,h,_){var D,L=o.call(this,s)||this;if(L.message=s,L.path=l,L.query=h,L.variables=_,Array.isArray(L.path)){L.missing=L.message;for(var H=L.path.length-1;H>=0;--H)L.missing=((D={})[L.path[H]]=L.missing,D)}else L.missing=L.path;return L.__proto__=c.prototype,L}return(0,Gn.C6)(c,o),c}(Error),si=f(1367),Vi=f(1601),Oo=f(1955),us=f(6500),oo=f(120),vo=f(4229),Ts=f(1115),Nt=f(4183),pn=f(1181);function ji(o){return __DEV__&&function un(o){var c=new Set([o]);return c.forEach(function(s){(0,pn.U)(s)&&function gi(o){if(__DEV__&&!Object.isFrozen(o))try{Object.freeze(o)}catch(c){if(c instanceof TypeError)return null;throw c}return o}(s)===s&&Object.getOwnPropertyNames(s).forEach(function(l){(0,pn.U)(s[l])&&c.add(s[l])})}),o}(o),o}var Sr=f(4420),Ai=f(7715),Gi=Object.prototype.hasOwnProperty;function Ro(o){return null==o}function il(o,c){var s=o.__typename,l=o.id,h=o._id;if("string"==typeof s&&(c&&(c.keyObject=Ro(l)?Ro(h)?void 0:{_id:h}:{id:l}),Ro(l)&&!Ro(h)&&(l=h),!Ro(l)))return"".concat(s,":").concat("number"==typeof l||"string"==typeof l?l:JSON.stringify(l))}var Po={dataIdFromObject:il,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Cc(o){var c=o.canonizeResults;return void 0===c?Po.canonizeResults:c}var Ma=/^[_a-z][_0-9a-z]*/i;function Ys(o){var c=o.match(Ma);return c?c[0]:o}function Ir(o,c,s){return!!(0,pn.U)(c)&&((0,Ai.c)(c)?c.every(function(l){return Ir(o,l,s)}):o.selections.every(function(l){if((0,si.dt)(l)&&(0,Nt.MS)(l,s)){var h=(0,si.ue)(l);return Gi.call(c,h)&&(!l.selectionSet||Ir(l.selectionSet,c[h],s))}return!0}))}function Ns(o){return(0,pn.U)(o)&&!(0,si.A_)(o)&&!(0,Ai.c)(o)}function pa(o,c){var s=(0,bi.JG)((0,vo.zK)(o));return{fragmentMap:s,lookupFragment:function(l){var h=s[l];return!h&&c&&(h=c.lookup(l)),h||null}}}var o,c,Qs=Object.create(null),Ia=function(){return Qs},ql=Object.create(null),ka=function(){function o(c,s){var l=this;this.policies=c,this.group=s,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(h,_){return ji((0,si.A_)(h)?l.get(h.__ref,_):h&&h[_])},this.canRead=function(h){return(0,si.A_)(h)?l.has(h.__ref):"object"==typeof h},this.toReference=function(h,_){if("string"==typeof h)return(0,si.WU)(h);if((0,si.A_)(h))return h;var D=l.policies.identify(h)[0];if(D){var L=(0,si.WU)(D);return _&&l.merge(D,h),L}}}return o.prototype.toObject=function(){return(0,Gn.Cl)({},this.data)},o.prototype.has=function(c){return void 0!==this.lookup(c,!0)},o.prototype.get=function(c,s){if(this.group.depend(c,s),Gi.call(this.data,c)){var l=this.data[c];if(l&&Gi.call(l,s))return l[s]}return"__typename"===s&&Gi.call(this.policies.rootTypenamesById,c)?this.policies.rootTypenamesById[c]:this instanceof Js?this.parent.get(c,s):void 0},o.prototype.lookup=function(c,s){return s&&this.group.depend(c,"__exists"),Gi.call(this.data,c)?this.data[c]:this instanceof Js?this.parent.lookup(c,s):this.policies.rootTypenamesById[c]?Object.create(null):void 0},o.prototype.merge=function(c,s){var h,l=this;(0,si.A_)(c)&&(c=c.__ref),(0,si.A_)(s)&&(s=s.__ref);var _="string"==typeof c?this.lookup(h=c):c,D="string"==typeof s?this.lookup(h=s):s;if(D){__DEV__?(0,vi.V1)("string"==typeof h,"store.merge expects a string ID"):(0,vi.V1)("string"==typeof h,1);var L=new Ts.ZI(Rl).merge(_,D);if(this.data[h]=L,L!==_&&(delete this.refs[h],this.group.caching)){var H=Object.create(null);_||(H.__exists=1),Object.keys(D).forEach(function(K){if(!_||_[K]!==L[K]){H[K]=1;var X=Ys(K);X!==K&&!l.policies.hasKeyArgs(L.__typename,X)&&(H[X]=1),void 0===L[K]&&!(l instanceof Js)&&delete L[K]}}),H.__typename&&!(_&&_.__typename)&&this.policies.rootTypenamesById[h]===L.__typename&&delete H.__typename,Object.keys(H).forEach(function(K){return l.group.dirty(h,K)})}}},o.prototype.modify=function(c,s){var l=this,h=this.lookup(c);if(h){var _=Object.create(null),D=!1,L=!0,H={DELETE:Qs,INVALIDATE:ql,isReference:si.A_,toReference:this.toReference,canRead:this.canRead,readField:function(K,X){return l.policies.readField("string"==typeof K?{fieldName:K,from:X||(0,si.WU)(c)}:K,{store:l})}};if(Object.keys(h).forEach(function(K){var X=Ys(K),Q=h[K];if(void 0!==Q){var ve="function"==typeof s?s:s[K]||s[X];if(ve){var ke=ve===Ia?Qs:ve(ji(Q),(0,Gn.Cl)((0,Gn.Cl)({},H),{fieldName:X,storeFieldName:K,storage:l.getStorage(c,K)}));ke===ql?l.group.dirty(c,K):(ke===Qs&&(ke=void 0),ke!==Q&&(_[K]=ke,D=!0,Q=ke))}void 0!==Q&&(L=!1)}}),D)return this.merge(c,_),L&&(this instanceof Js?this.data[c]=void 0:delete this.data[c],this.group.dirty(c,"__exists")),!0}return!1},o.prototype.delete=function(c,s,l){var h,_=this.lookup(c);if(_){var D=this.getFieldValue(_,"__typename"),L=s&&l?this.policies.getStoreFieldName({typename:D,fieldName:s,args:l}):s;return this.modify(c,L?((h={})[L]=Ia,h):Ia)}return!1},o.prototype.evict=function(c,s){var l=!1;return c.id&&(Gi.call(this.data,c.id)&&(l=this.delete(c.id,c.fieldName,c.args)),this instanceof Js&&this!==s&&(l=this.parent.evict(c,s)||l),(c.fieldName||l)&&this.group.dirty(c.id,c.fieldName||"__exists")),l},o.prototype.clear=function(){this.replace(null)},o.prototype.extract=function(){var c=this,s=this.toObject(),l=[];return this.getRootIdSet().forEach(function(h){Gi.call(c.policies.rootTypenamesById,h)||l.push(h)}),l.length&&(s.__META={extraRootIds:l.sort()}),s},o.prototype.replace=function(c){var s=this;if(Object.keys(this.data).forEach(function(_){c&&Gi.call(c,_)||s.delete(_)}),c){var l=c.__META,h=(0,Gn.Tt)(c,["__META"]);Object.keys(h).forEach(function(_){s.merge(_,h[_])}),l&&l.extraRootIds.forEach(this.retain,this)}},o.prototype.retain=function(c){return this.rootIds[c]=(this.rootIds[c]||0)+1},o.prototype.release=function(c){if(this.rootIds[c]>0){var s=--this.rootIds[c];return s||delete this.rootIds[c],s}return 0},o.prototype.getRootIdSet=function(c){return void 0===c&&(c=new Set),Object.keys(this.rootIds).forEach(c.add,c),this instanceof Js?this.parent.getRootIdSet(c):Object.keys(this.policies.rootTypenamesById).forEach(c.add,c),c},o.prototype.gc=function(){var c=this,s=this.getRootIdSet(),l=this.toObject();s.forEach(function(D){Gi.call(l,D)&&(Object.keys(c.findChildRefIds(D)).forEach(s.add,s),delete l[D])});var h=Object.keys(l);if(h.length){for(var _=this;_ instanceof Js;)_=_.parent;h.forEach(function(D){return _.delete(D)})}return h},o.prototype.findChildRefIds=function(c){if(!Gi.call(this.refs,c)){var s=this.refs[c]=Object.create(null),l=this.data[c];if(!l)return s;var h=new Set([l]);h.forEach(function(_){(0,si.A_)(_)&&(s[_.__ref]=!0),(0,pn.U)(_)&&Object.keys(_).forEach(function(D){var L=_[D];(0,pn.U)(L)&&h.add(L)})})}return this.refs[c]},o.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},o}(),fs=function(){function o(c,s){void 0===s&&(s=null),this.caching=c,this.parent=s,this.d=null,this.resetCaching()}return o.prototype.resetCaching=function(){this.d=this.caching?(0,tr.yN)():null,this.keyMaker=new Sr.b(us.et)},o.prototype.depend=function(c,s){if(this.d){this.d(rl(c,s));var l=Ys(s);l!==s&&this.d(rl(c,l)),this.parent&&this.parent.depend(c,s)}},o.prototype.dirty=function(c,s){this.d&&this.d.dirty(rl(c,s),"__exists"===s?"forget":"setDirty")},o}();function rl(o,c){return c+"#"+o}function Ol(o,c){Oa(o)&&o.group.depend(c,"__exists")}c=function(s){function l(h){var D=h.resultCaching,H=h.seed,K=s.call(this,h.policies,new fs(void 0===D||D))||this;return K.stump=new Aa(K),K.storageTrie=new Sr.b(us.et),H&&K.replace(H),K}return(0,Gn.C6)(l,s),l.prototype.addLayer=function(h,_){return this.stump.addLayer(h,_)},l.prototype.removeLayer=function(){return this},l.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},l}(o=ka||(ka={})),o.Root=c;var Js=function(o){function c(s,l,h,_){var D=o.call(this,l.policies,_)||this;return D.id=s,D.parent=l,D.replay=h,D.group=_,h(D),D}return(0,Gn.C6)(c,o),c.prototype.addLayer=function(s,l){return new c(s,this,l,this.group)},c.prototype.removeLayer=function(s){var l=this,h=this.parent.removeLayer(s);return s===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(_){var D=l.data[_],L=h.lookup(_);L?D?D!==L&&Object.keys(D).forEach(function(H){(0,yr.L)(D[H],L[H])||l.group.dirty(_,H)}):(l.group.dirty(_,"__exists"),Object.keys(L).forEach(function(H){l.group.dirty(_,H)})):l.delete(_)}),h):h===this.parent?this:h.addLayer(this.id,this.replay)},c.prototype.toObject=function(){return(0,Gn.Cl)((0,Gn.Cl)({},this.parent.toObject()),this.data)},c.prototype.findChildRefIds=function(s){var l=this.parent.findChildRefIds(s);return Gi.call(this.data,s)?(0,Gn.Cl)((0,Gn.Cl)({},l),o.prototype.findChildRefIds.call(this,s)):l},c.prototype.getStorage=function(){for(var s=this.parent;s.parent;)s=s.parent;return s.getStorage.apply(s,arguments)},c}(ka),Aa=function(o){function c(s){return o.call(this,"EntityStore.Stump",s,function(){},new fs(s.group.caching,s.group))||this}return(0,Gn.C6)(c,o),c.prototype.removeLayer=function(){return this},c.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},c}(Js);function Rl(o,c,s){var l=o[s],h=c[s];return(0,yr.L)(l,h)?l:h}function Oa(o){return!!(o instanceof ka&&o.group.caching)}var k=f(5985);function xe(o){return[o.selectionSet,o.objectOrReference,o.context,o.context.canonizeResults]}var Z=function(){function o(c){var s=this;this.knownResults=new(us.et?WeakMap:Map),this.config=(0,oo.o)(c,{addTypename:!1!==c.addTypename,canonizeResults:Cc(c)}),this.canon=c.canon||new k.$,this.executeSelectionSet=(0,tr.LV)(function(l){var h,_=l.context.canonizeResults,D=xe(l);D[3]=!_;var L=(h=s.executeSelectionSet).peek.apply(h,D);return L?_?(0,Gn.Cl)((0,Gn.Cl)({},L),{result:s.canon.admit(L.result)}):L:(Ol(l.context.store,l.enclosingRef.__ref),s.execSelectionSetImpl(l))},{max:this.config.resultCacheMaxSize,keyArgs:xe,makeCacheKey:function(l,h,_,D){if(Oa(_.store))return _.store.makeCacheKey(l,(0,si.A_)(h)?h.__ref:h,_.varString,D)}}),this.executeSubSelectedArray=(0,tr.LV)(function(l){return Ol(l.context.store,l.enclosingRef.__ref),s.execSubSelectedArrayImpl(l)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(l){var h=l.field,_=l.array,D=l.context;if(Oa(D.store))return D.store.makeCacheKey(h,_,D.varString)}})}return o.prototype.resetCanon=function(){this.canon=new k.$},o.prototype.diffQueryAgainstStore=function(c){var s=c.store,l=c.query,h=c.rootId,_=void 0===h?"ROOT_QUERY":h,D=c.variables,L=c.returnPartialData,H=void 0===L||L,K=c.canonizeResults,X=void 0===K?this.config.canonizeResults:K,Q=this.config.cache.policies;D=(0,Gn.Cl)((0,Gn.Cl)({},(0,vo.wY)((0,vo.AT)(l))),D);var Fe,ve=(0,si.WU)(_),ke=this.executeSelectionSet({selectionSet:(0,vo.Vn)(l).selectionSet,objectOrReference:ve,enclosingRef:ve,context:(0,Gn.Cl)({store:s,query:l,policies:Q,variables:D,varString:(0,k.M)(D),canonizeResults:X},pa(l,this.config.fragments))});if(ke.missing&&(Fe=[new Si(_e(ke.missing),ke.missing,l,D)],!H))throw Fe[0];return{result:ke.result,complete:!Fe,missing:Fe}},o.prototype.isFresh=function(c,s,l,h){if(Oa(h.store)&&this.knownResults.get(c)===l){var _=this.executeSelectionSet.peek(l,s,h,this.canon.isKnown(c));if(_&&c===_.result)return!0}return!1},o.prototype.execSelectionSetImpl=function(c){var s=this,l=c.selectionSet,h=c.objectOrReference,_=c.enclosingRef,D=c.context;if((0,si.A_)(h)&&!D.policies.rootTypenamesById[h.__ref]&&!D.store.has(h.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(h.__ref," object")};var ve,L=D.variables,H=D.policies,X=D.store.getFieldValue(h,"__typename"),Q=[],ke=new Ts.ZI;function Fe(xt,nn){var yn;return xt.missing&&(ve=ke.merge(ve,((yn={})[nn]=xt.missing,yn))),xt.result}this.config.addTypename&&"string"==typeof X&&!H.rootIdsByTypename[X]&&Q.push({__typename:X});var it=new Set(l.selections);it.forEach(function(xt){var nn,yn;if((0,Nt.MS)(xt,L))if((0,si.dt)(xt)){var Mn=H.readField({fieldName:xt.name.value,field:xt,variables:D.variables,from:h},D),kn=(0,si.ue)(xt);void 0===Mn?Vi.XY.added(xt)||(ve=ke.merge(ve,((nn={})[kn]="Can't find field '".concat(xt.name.value,"' on ").concat((0,si.A_)(h)?h.__ref+" object":"object "+JSON.stringify(h,null,2)),nn))):(0,Ai.c)(Mn)?Mn=Fe(s.executeSubSelectedArray({field:xt,array:Mn,enclosingRef:_,context:D}),kn):xt.selectionSet?null!=Mn&&(Mn=Fe(s.executeSelectionSet({selectionSet:xt.selectionSet,objectOrReference:Mn,enclosingRef:(0,si.A_)(Mn)?Mn:_,context:D}),kn)):D.canonizeResults&&(Mn=s.canon.pass(Mn)),void 0!==Mn&&Q.push(((yn={})[kn]=Mn,yn))}else{var rn=(0,bi.HQ)(xt,D.lookupFragment);if(!rn&&xt.kind===Oo.b.FRAGMENT_SPREAD)throw __DEV__?new vi.zU("No fragment named ".concat(xt.name.value)):new vi.zU(5);rn&&H.fragmentMatches(rn,X)&&rn.selectionSet.selections.forEach(it.add,it)}});var It={result:(0,Ts.IM)(Q),missing:ve},Rt=D.canonizeResults?this.canon.admit(It):ji(It);return Rt.result&&this.knownResults.set(Rt.result,l),Rt},o.prototype.execSubSelectedArrayImpl=function(c){var L,s=this,l=c.field,h=c.array,_=c.enclosingRef,D=c.context,H=new Ts.ZI;function K(X,Q){var ve;return X.missing&&(L=H.merge(L,((ve={})[Q]=X.missing,ve))),X.result}return l.selectionSet&&(h=h.filter(D.store.canRead)),h=h.map(function(X,Q){return null===X?null:(0,Ai.c)(X)?K(s.executeSubSelectedArray({field:l,array:X,enclosingRef:_,context:D}),Q):l.selectionSet?K(s.executeSelectionSet({selectionSet:l.selectionSet,objectOrReference:X,enclosingRef:(0,si.A_)(X)?X:_,context:D}),Q):(__DEV__&&function ct(o,c,s){if(!c.selectionSet){var l=new Set([s]);l.forEach(function(h){(0,pn.U)(h)&&(__DEV__?(0,vi.V1)(!(0,si.A_)(h),"Missing selection set for object of type ".concat(function Ta(o,c){return(0,si.A_)(c)?o.get(c.__ref,"__typename"):c&&c.__typename}(o,h)," returned for query field ").concat(c.name.value)):(0,vi.V1)(!(0,si.A_)(h),6),Object.values(h).forEach(l.add,l))})}}(D.store,l,X),X)}),{result:D.canonizeResults?this.canon.admit(h):h,missing:L}},o}();function _e(o){try{JSON.stringify(o,function(c,s){if("string"==typeof s)throw s;return s})}catch(c){return c}}var dn=f(4246),On=f(9977),Cr=f(4141),Rr=Object.create(null);function Lr(o){var c=JSON.stringify(o);return Rr[c]||(Rr[c]=Object.create(null))}function dr(o){var c=Lr(o);return c.keyFieldsFn||(c.keyFieldsFn=function(s,l){var h=function(D,L){return l.readField(L,D)},_=l.keyObject=or(o,function(D){var L=sr(l.storeObject,D,h);return void 0===L&&s!==l.storeObject&&Gi.call(s,D[0])&&(L=sr(s,D,$r)),__DEV__?(0,vi.V1)(void 0!==L,"Missing field '".concat(D.join("."),"' while extracting keyFields from ").concat(JSON.stringify(s))):(0,vi.V1)(void 0!==L,2),L});return"".concat(l.typename,":").concat(JSON.stringify(_))})}function so(o){var c=Lr(o);return c.keyArgsFn||(c.keyArgsFn=function(s,l){var h=l.field,_=l.variables,D=l.fieldName,L=or(o,function(K){var X=K[0],Q=X.charAt(0);if("@"!==Q)if("$"!==Q){if(s)return sr(s,K)}else{var it=X.slice(1);if(_&&Gi.call(_,it)){var qe=K.slice(0);return qe[0]=it,sr(_,qe)}}else if(h&&(0,Ai.E)(h.directives)){var ve=X.slice(1),ke=h.directives.find(function(It){return It.name.value===ve}),Fe=ke&&(0,si.MB)(ke,_);return Fe&&sr(Fe,K.slice(1))}}),H=JSON.stringify(L);return(s||"{}"!==H)&&(D+=":"+H),D})}function or(o,c){var s=new Ts.ZI;return hr(o).reduce(function(l,h){var _,D=c(h);if(void 0!==D){for(var L=h.length-1;L>=0;--L)(_={})[h[L]]=D,D=_;l=s.merge(l,D)}return l},Object.create(null))}function hr(o){var c=Lr(o);if(!c.paths){var s=c.paths=[],l=[];o.forEach(function(h,_){(0,Ai.c)(h)?(hr(h).forEach(function(D){return s.push(l.concat(D))}),l.length=0):(l.push(h),(0,Ai.c)(o[_+1])||(s.push(l.slice(0)),l.length=0))})}return c.paths}function $r(o,c){return o[c]}function sr(o,c,s){return s=s||$r,Yn(c.reduce(function l(h,_){return(0,Ai.c)(h)?h.map(function(D){return l(D,_)}):h&&s(h,_)},o))}function Yn(o){return(0,pn.U)(o)?(0,Ai.c)(o)?o.map(Yn):or(Object.keys(o).sort(),function(c){return sr(o,c)}):o}function Ci(o){return void 0!==o.args?o.args:o.field?(0,si.MB)(o.field,o.variables):null}si.o5.setStringify(k.M);var Br=function(){},bo=function(o,c){return c.fieldName},Qr=function(o,c,s){return(0,s.mergeObjects)(o,c)},To=function(o,c){return c},Bs=function(){function o(c){this.config=c,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,Gn.Cl)({dataIdFromObject:il},c),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),c.possibleTypes&&this.addPossibleTypes(c.possibleTypes),c.typePolicies&&this.addTypePolicies(c.typePolicies)}return o.prototype.identify=function(c,s){var l,h=this,_=s&&(s.typename||(null===(l=s.storeObject)||void 0===l?void 0:l.__typename))||c.__typename;if(_===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var H,D=s&&s.storeObject||c,L=(0,Gn.Cl)((0,Gn.Cl)({},s),{typename:_,storeObject:D,readField:s&&s.readField||function(){var ve=yo(arguments,D);return h.readField(ve,{store:h.cache.data,variables:ve.variables})}}),K=_&&this.getTypePolicy(_),X=K&&K.keyFn||this.config.dataIdFromObject;X;){var Q=X((0,Gn.Cl)((0,Gn.Cl)({},c),D),L);if(!(0,Ai.c)(Q)){H=Q;break}X=dr(Q)}return H=H?String(H):void 0,L.keyObject?[H,L.keyObject]:[H]},o.prototype.addTypePolicies=function(c){var s=this;Object.keys(c).forEach(function(l){var h=c[l],_=h.queryType,D=h.mutationType,L=h.subscriptionType,H=(0,Gn.Tt)(h,["queryType","mutationType","subscriptionType"]);_&&s.setRootTypename("Query",l),D&&s.setRootTypename("Mutation",l),L&&s.setRootTypename("Subscription",l),Gi.call(s.toBeAdded,l)?s.toBeAdded[l].push(H):s.toBeAdded[l]=[H]})},o.prototype.updateTypePolicy=function(c,s){var l=this,h=this.getTypePolicy(c),_=s.keyFields,D=s.fields;function L(H,K){H.merge="function"==typeof K?K:!0===K?Qr:!1===K?To:H.merge}L(h,s.merge),h.keyFn=!1===_?Br:(0,Ai.c)(_)?dr(_):"function"==typeof _?_:h.keyFn,D&&Object.keys(D).forEach(function(H){var K=l.getFieldPolicy(c,H,!0),X=D[H];if("function"==typeof X)K.read=X;else{var Q=X.keyArgs,ve=X.read,ke=X.merge;K.keyFn=!1===Q?bo:(0,Ai.c)(Q)?so(Q):"function"==typeof Q?Q:K.keyFn,"function"==typeof ve&&(K.read=ve),L(K,ke)}K.read&&K.merge&&(K.keyFn=K.keyFn||bo)})},o.prototype.setRootTypename=function(c,s){void 0===s&&(s=c);var l="ROOT_"+c.toUpperCase(),h=this.rootTypenamesById[l];s!==h&&(__DEV__?(0,vi.V1)(!h||h===c,"Cannot change root ".concat(c," __typename more than once")):(0,vi.V1)(!h||h===c,3),h&&delete this.rootIdsByTypename[h],this.rootIdsByTypename[s]=l,this.rootTypenamesById[l]=s)},o.prototype.addPossibleTypes=function(c){var s=this;this.usingPossibleTypes=!0,Object.keys(c).forEach(function(l){s.getSupertypeSet(l,!0),c[l].forEach(function(h){s.getSupertypeSet(h,!0).add(l);var _=h.match(Ma);(!_||_[0]!==h)&&s.fuzzySubtypes.set(h,new RegExp(h))})})},o.prototype.getTypePolicy=function(c){var s=this;if(!Gi.call(this.typePolicies,c)){var l=this.typePolicies[c]=Object.create(null);l.fields=Object.create(null);var h=this.supertypeMap.get(c);h&&h.size&&h.forEach(function(D){var L=s.getTypePolicy(D),H=L.fields,K=(0,Gn.Tt)(L,["fields"]);Object.assign(l,K),Object.assign(l.fields,H)})}var _=this.toBeAdded[c];return _&&_.length&&_.splice(0).forEach(function(D){s.updateTypePolicy(c,D)}),this.typePolicies[c]},o.prototype.getFieldPolicy=function(c,s,l){if(c){var h=this.getTypePolicy(c).fields;return h[s]||l&&(h[s]=Object.create(null))}},o.prototype.getSupertypeSet=function(c,s){var l=this.supertypeMap.get(c);return!l&&s&&this.supertypeMap.set(c,l=new Set),l},o.prototype.fragmentMatches=function(c,s,l,h){var _=this;if(!c.typeCondition)return!0;if(!s)return!1;var D=c.typeCondition.name.value;if(s===D)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(D))for(var L=this.getSupertypeSet(s,!0),H=[L],K=function(Fe){var it=_.getSupertypeSet(Fe,!1);it&&it.size&&H.indexOf(it)<0&&H.push(it)},X=!(!l||!this.fuzzySubtypes.size),Q=!1,ve=0;ve<H.length;++ve){var ke=H[ve];if(ke.has(D))return L.has(D)||(Q&&__DEV__&&vi.V1.warn("Inferring subtype ".concat(s," of supertype ").concat(D)),L.add(D)),!0;ke.forEach(K),X&&ve===H.length-1&&Ir(c.selectionSet,l,h)&&(X=!1,Q=!0,this.fuzzySubtypes.forEach(function(Fe,it){var qe=s.match(Fe);qe&&qe[0]===s&&K(it)}))}return!1},o.prototype.hasKeyArgs=function(c,s){var l=this.getFieldPolicy(c,s,!1);return!(!l||!l.keyFn)},o.prototype.getStoreFieldName=function(c){var _,s=c.typename,l=c.fieldName,h=this.getFieldPolicy(s,l,!1),D=h&&h.keyFn;if(D&&s)for(var L={typename:s,fieldName:l,field:c.field||null,variables:c.variables},H=Ci(c);D;){var K=D(H,L);if(!(0,Ai.c)(K)){_=K||l;break}D=so(K)}return void 0===_&&(_=c.field?(0,si.Ii)(c.field,c.variables):(0,si.o5)(l,Ci(c))),!1===_?l:l===Ys(_)?_:l+":"+_},o.prototype.readField=function(c,s){var l=c.from;if(l&&(c.field||c.fieldName)){if(void 0===c.typename){var _=s.store.getFieldValue(l,"__typename");_&&(c.typename=_)}var D=this.getStoreFieldName(c),L=Ys(D),H=s.store.getFieldValue(l,D),K=this.getFieldPolicy(c.typename,L,!1),X=K&&K.read;if(X){var Q=Pr(this,l,c,s,s.store.getStorage((0,si.A_)(l)?l.__ref:l,D));return Cr.bl.withValue(this.cache,X,[H,Q])}return H}},o.prototype.getReadFunction=function(c,s){var l=this.getFieldPolicy(c,s,!1);return l&&l.read},o.prototype.getMergeFunction=function(c,s,l){var h=this.getFieldPolicy(c,s,!1),_=h&&h.merge;return!_&&l&&(_=(h=this.getTypePolicy(l))&&h.merge),_},o.prototype.runMergeFunction=function(c,s,l,h,_){var D=l.field,L=l.typename,H=l.merge;return H===Qr?is(h.store)(c,s):H===To?s:(h.overwrite&&(c=void 0),H(c,s,Pr(this,void 0,{typename:L,fieldName:D.name.value,field:D,variables:h.variables},h,_||Object.create(null))))},o}();function Pr(o,c,s,l,h){var _=o.getStoreFieldName(s),D=Ys(_),L=s.variables||l.variables,H=l.store,K=H.toReference,X=H.canRead;return{args:Ci(s),field:s.field||null,fieldName:D,storeFieldName:_,variables:L,isReference:si.A_,toReference:K,storage:h,cache:o.cache,canRead:X,readField:function(){return o.readField(yo(arguments,c,L),l)},mergeObjects:is(l.store)}}function yo(o,c,s){var D,l=o[0];return"string"==typeof l?D={fieldName:l,from:o.length>1?o[1]:c}:(D=(0,Gn.Cl)({},l),Gi.call(D,"from")||(D.from=c)),__DEV__&&void 0===D.from&&__DEV__&&vi.V1.warn("Undefined 'from' passed to readField with arguments ".concat(function di(o){var c=(0,On.v)("stringifyForDisplay");return JSON.stringify(o,function(s,l){return void 0===l?c:l}).split(JSON.stringify(c)).join("<undefined>")}(Array.from(o)))),void 0===D.variables&&(D.variables=s),D}function is(o){return function(s,l){if((0,Ai.c)(s)||(0,Ai.c)(l))throw __DEV__?new vi.zU("Cannot automatically merge arrays"):new vi.zU(4);if((0,pn.U)(s)&&(0,pn.U)(l)){var h=o.getFieldValue(s,"__typename"),_=o.getFieldValue(l,"__typename");if(h&&_&&h!==_)return l;if((0,si.A_)(s)&&Ns(l))return o.merge(s.__ref,l),s;if(Ns(s)&&(0,si.A_)(l))return o.merge(s,l.__ref),l;if(Ns(s)&&Ns(l))return(0,Gn.Cl)((0,Gn.Cl)({},s),l)}return l}}function Ti(o,c,s){var l="".concat(c).concat(s),h=o.flavors.get(l);return h||o.flavors.set(l,h=o.clientOnly===c&&o.deferred===s?o:(0,Gn.Cl)((0,Gn.Cl)({},o),{clientOnly:c,deferred:s})),h}var ec=function(){function o(c,s,l){this.cache=c,this.reader=s,this.fragments=l}return o.prototype.writeToStore=function(c,s){var l=this,h=s.query,_=s.result,D=s.dataId,L=s.variables,H=s.overwrite,K=(0,vo.Vu)(h),X=function Ms(){return new Ts.ZI}();L=(0,Gn.Cl)((0,Gn.Cl)({},(0,vo.wY)(K)),L);var Q=(0,Gn.Cl)((0,Gn.Cl)({store:c,written:Object.create(null),merge:function(ke,Fe){return X.merge(ke,Fe)},variables:L,varString:(0,k.M)(L)},pa(h,this.fragments)),{overwrite:!!H,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),ve=this.processSelectionSet({result:_||Object.create(null),dataId:D,selectionSet:K.selectionSet,mergeTree:{map:new Map},context:Q});if(!(0,si.A_)(ve))throw __DEV__?new vi.zU("Could not identify object ".concat(JSON.stringify(_))):new vi.zU(7);return Q.incomingById.forEach(function(ke,Fe){var it=ke.storeObject,qe=ke.mergeTree,It=ke.fieldNodeSet,Rt=(0,si.WU)(Fe);if(qe&&qe.map.size){var xt=l.applyMerges(qe,Rt,it,Q);if((0,si.A_)(xt))return;it=xt}if(__DEV__&&!Q.overwrite){var nn=Object.create(null);It.forEach(function(kn){kn.selectionSet&&(nn[kn.name.value]=!0)}),Object.keys(it).forEach(function(kn){(function(kn){return!0===nn[Ys(kn)]})(kn)&&!function(kn){var rn=qe&&qe.map.get(kn);return!!(rn&&rn.info&&rn.info.merge)}(kn)&&function Fl(o,c,s,l){var h=function(Q){var ve=l.getFieldValue(Q,s);return"object"==typeof ve&&ve},_=h(o);if(_){var D=h(c);if(D&&!(0,si.A_)(_)&&!(0,yr.L)(_,D)&&!Object.keys(_).every(function(Q){return void 0!==l.getFieldValue(D,Q)})){var L=l.getFieldValue(o,"__typename")||l.getFieldValue(c,"__typename"),H=Ys(s),K="".concat(L,".").concat(H);if(!rs.has(K)){rs.add(K);var X=[];!(0,Ai.c)(_)&&!(0,Ai.c)(D)&&[_,D].forEach(function(Q){var ve=l.getFieldValue(Q,"__typename");"string"==typeof ve&&!X.includes(ve)&&X.push(ve)}),__DEV__&&vi.V1.warn("Cache data may be lost when replacing the ".concat(H," field of a ").concat(L," object.\n\nThis could cause additional (usually avoidable) network requests to fetch data that were otherwise cached.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(X.length?"either ensure all objects of type "+X.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(K," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(_).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(D).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}}}}(Rt,it,kn,Q.store)})}c.merge(Fe,it)}),c.retain(ve.__ref),ve},o.prototype.processSelectionSet=function(c){var s=this,l=c.dataId,h=c.result,_=c.selectionSet,D=c.context,L=c.mergeTree,H=this.cache.policies,K=Object.create(null),X=l&&H.rootTypenamesById[l]||(0,si.D$)(h,_,D.fragmentMap)||l&&D.store.get(l,"__typename");"string"==typeof X&&(K.__typename=X);var Q=function(){var xt=yo(arguments,K,D.variables);if((0,si.A_)(xt.from)){var nn=D.incomingById.get(xt.from.__ref);if(nn){var yn=H.readField((0,Gn.Cl)((0,Gn.Cl)({},xt),{from:nn.storeObject}),D);if(void 0!==yn)return yn}}return H.readField(xt,D)},ve=new Set;this.flattenFields(_,h,D,X).forEach(function(xt,nn){var yn,Mn=(0,si.ue)(nn),kn=h[Mn];if(ve.add(nn),void 0!==kn){var rn=H.getStoreFieldName({typename:X,fieldName:nn.name.value,field:nn,variables:xt.variables}),ln=Pl(L,rn),xn=s.processFieldValue(kn,nn,nn.selectionSet?Ti(xt,!1,!1):xt,ln),vn=void 0;nn.selectionSet&&((0,si.A_)(xn)||Ns(xn))&&(vn=Q("__typename",xn));var Zn=H.getMergeFunction(X,nn.name.value,vn);Zn?ln.info={field:nn,typename:X,merge:Zn}:ma(L,rn),K=xt.merge(K,((yn={})[rn]=xn,yn))}else __DEV__&&!xt.clientOnly&&!xt.deferred&&!Vi.XY.added(nn)&&!H.getReadFunction(X,nn.name.value)&&__DEV__&&vi.V1.error("Missing field '".concat((0,si.ue)(nn),"' while writing result ").concat(JSON.stringify(h,null,2)).substring(0,1e3))});try{var ke=H.identify(h,{typename:X,selectionSet:_,fragmentMap:D.fragmentMap,storeObject:K,readField:Q}),it=ke[1];l=l||ke[0],it&&(K=D.merge(K,it))}catch(xt){if(!l)throw xt}if("string"==typeof l){var qe=(0,si.WU)(l),It=D.written[l]||(D.written[l]=[]);if(It.indexOf(_)>=0||(It.push(_),this.reader&&this.reader.isFresh(h,qe,_,D)))return qe;var Rt=D.incomingById.get(l);return Rt?(Rt.storeObject=D.merge(Rt.storeObject,K),Rt.mergeTree=co(Rt.mergeTree,L),ve.forEach(function(xt){return Rt.fieldNodeSet.add(xt)})):D.incomingById.set(l,{storeObject:K,mergeTree:Ua(L)?void 0:L,fieldNodeSet:ve}),qe}return K},o.prototype.processFieldValue=function(c,s,l,h){var _=this;return s.selectionSet&&null!==c?(0,Ai.c)(c)?c.map(function(D,L){var H=_.processFieldValue(D,s,l,Pl(h,L));return ma(h,L),H}):this.processSelectionSet({result:c,selectionSet:s.selectionSet,context:l,mergeTree:h}):__DEV__?(0,dn.m)(c):c},o.prototype.flattenFields=function(c,s,l,h){void 0===h&&(h=(0,si.D$)(s,c,l.fragmentMap));var _=new Map,D=this.cache.policies,L=new Sr.b(!1);return function H(K,X){var Q=L.lookup(K,X.clientOnly,X.deferred);Q.visited||(Q.visited=!0,K.selections.forEach(function(ve){if((0,Nt.MS)(ve,l.variables)){var ke=X.clientOnly,Fe=X.deferred;if(!(ke&&Fe)&&(0,Ai.E)(ve.directives)&&ve.directives.forEach(function(It){var Rt=It.name.value;if("client"===Rt&&(ke=!0),"defer"===Rt){var xt=(0,si.MB)(It,l.variables);(!xt||!1!==xt.if)&&(Fe=!0)}}),(0,si.dt)(ve)){var it=_.get(ve);it&&(ke=ke&&it.clientOnly,Fe=Fe&&it.deferred),_.set(ve,Ti(l,ke,Fe))}else{var qe=(0,bi.HQ)(ve,l.lookupFragment);if(!qe&&ve.kind===Oo.b.FRAGMENT_SPREAD)throw __DEV__?new vi.zU("No fragment named ".concat(ve.name.value)):new vi.zU(8);qe&&D.fragmentMatches(qe,h,s,l.variables)&&H(qe.selectionSet,Ti(l,ke,Fe))}}}))}(c,l),_},o.prototype.applyMerges=function(c,s,l,h,_){var D,L=this;if(c.map.size&&!(0,si.A_)(l)){var H=(0,Ai.c)(l)||!(0,si.A_)(s)&&!Ns(s)?void 0:s,K=l;H&&!_&&(_=[(0,si.A_)(H)?H.__ref:H]);var X,Q=function(ve,ke){return(0,Ai.c)(ve)?"number"==typeof ke?ve[ke]:void 0:h.store.getFieldValue(ve,String(ke))};c.map.forEach(function(ve,ke){var Fe=Q(H,ke),it=Q(K,ke);if(void 0!==it){_&&_.push(ke);var qe=L.applyMerges(ve,Fe,it,h,_);qe!==it&&(X=X||new Map).set(ke,qe),_&&(0,vi.V1)(_.pop()===ke)}}),X&&(l=(0,Ai.c)(K)?K.slice(0):(0,Gn.Cl)({},K),X.forEach(function(ve,ke){l[ke]=ve}))}return c.info?this.cache.policies.runMergeFunction(s,l,c.info,h,_&&(D=h.store).getStorage.apply(D,_)):l},o}(),Id=[];function Pl(o,c){var s=o.map;return s.has(c)||s.set(c,Id.pop()||{map:new Map}),s.get(c)}function co(o,c){if(o===c||!c||Ua(c))return o;if(!o||Ua(o))return c;var s=o.info&&c.info?(0,Gn.Cl)((0,Gn.Cl)({},o.info),c.info):o.info||c.info,l=o.map.size&&c.map.size,_={info:s,map:l?new Map:o.map.size?o.map:c.map};if(l){var D=new Set(c.map.keys());o.map.forEach(function(L,H){_.map.set(H,co(L,c.map.get(H))),D.delete(H)}),D.forEach(function(L){_.map.set(L,co(c.map.get(L),o.map.get(L)))})}return _}function Ua(o){return!o||!(o.info||o.map.size)}function ma(o,c){var s=o.map,l=s.get(c);l&&Ua(l)&&(Id.push(l),s.delete(c))}var rs=new Set,$e=function(o){function c(s){void 0===s&&(s={});var l=o.call(this)||this;return l.watches=new Set,l.typenameDocumentCache=new Map,l.makeVar=Cr.UT,l.txCount=0,l.config=function Xs(o){return(0,oo.o)(Po,o)}(s),l.addTypename=!!l.config.addTypename,l.policies=new Bs({cache:l,dataIdFromObject:l.config.dataIdFromObject,possibleTypes:l.config.possibleTypes,typePolicies:l.config.typePolicies}),l.init(),l}return(0,Gn.C6)(c,o),c.prototype.init=function(){var s=this.data=new ka.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=s.stump,this.resetResultCache()},c.prototype.resetResultCache=function(s){var l=this,h=this.storeReader,_=this.config.fragments;this.storeWriter=new ec(this,this.storeReader=new Z({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Cc(this.config),canon:s?void 0:h&&h.canon,fragments:_}),_),this.maybeBroadcastWatch=(0,tr.LV)(function(D,L){return l.broadcastWatch(D,L)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(D){var L=D.optimistic?l.optimisticData:l.data;if(Oa(L))return L.makeCacheKey(D.query,D.callback,(0,k.M)({optimistic:D.optimistic,id:D.id,variables:D.variables}))}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(D){return D.resetCaching()})},c.prototype.restore=function(s){return this.init(),s&&this.data.replace(s),this},c.prototype.extract=function(s){return void 0===s&&(s=!1),(s?this.optimisticData:this.data).extract()},c.prototype.read=function(s){var l=s.returnPartialData,h=void 0!==l&&l;try{return this.storeReader.diffQueryAgainstStore((0,Gn.Cl)((0,Gn.Cl)({},s),{store:s.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:h})).result||null}catch(_){if(_ instanceof Si)return null;throw _}},c.prototype.write=function(s){try{return++this.txCount,this.storeWriter.writeToStore(this.data,s)}finally{! --this.txCount&&!1!==s.broadcast&&this.broadcastWatches()}},c.prototype.modify=function(s){if(Gi.call(s,"id")&&!s.id)return!1;var l=s.optimistic?this.optimisticData:this.data;try{return++this.txCount,l.modify(s.id||"ROOT_QUERY",s.fields)}finally{! --this.txCount&&!1!==s.broadcast&&this.broadcastWatches()}},c.prototype.diff=function(s){return this.storeReader.diffQueryAgainstStore((0,Gn.Cl)((0,Gn.Cl)({},s),{store:s.optimistic?this.optimisticData:this.data,rootId:s.id||"ROOT_QUERY",config:this.config}))},c.prototype.watch=function(s){var l=this;return this.watches.size||(0,Cr.MS)(this),this.watches.add(s),s.immediate&&this.maybeBroadcastWatch(s),function(){l.watches.delete(s)&&!l.watches.size&&(0,Cr.WR)(l),l.maybeBroadcastWatch.forget(s)}},c.prototype.gc=function(s){k.M.reset();var l=this.optimisticData.gc();return s&&!this.txCount&&(s.resetResultCache?this.resetResultCache(s.resetResultIdentities):s.resetResultIdentities&&this.storeReader.resetCanon()),l},c.prototype.retain=function(s,l){return(l?this.optimisticData:this.data).retain(s)},c.prototype.release=function(s,l){return(l?this.optimisticData:this.data).release(s)},c.prototype.identify=function(s){if((0,si.A_)(s))return s.__ref;try{return this.policies.identify(s)[0]}catch(l){__DEV__&&vi.V1.warn(l)}},c.prototype.evict=function(s){if(!s.id){if(Gi.call(s,"id"))return!1;s=(0,Gn.Cl)((0,Gn.Cl)({},s),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(s,this.data)}finally{! --this.txCount&&!1!==s.broadcast&&this.broadcastWatches()}},c.prototype.reset=function(s){var l=this;return this.init(),k.M.reset(),s&&s.discardWatches?(this.watches.forEach(function(h){return l.maybeBroadcastWatch.forget(h)}),this.watches.clear(),(0,Cr.WR)(this)):this.broadcastWatches(),Promise.resolve()},c.prototype.removeOptimistic=function(s){var l=this.optimisticData.removeLayer(s);l!==this.optimisticData&&(this.optimisticData=l,this.broadcastWatches())},c.prototype.batch=function(s){var K,l=this,h=s.update,_=s.optimistic,D=void 0===_||_,L=s.removeOptimistic,H=s.onWatchUpdated,X=function(ve){var Fe=l.data,it=l.optimisticData;++l.txCount,ve&&(l.data=l.optimisticData=ve);try{return K=h(l)}finally{--l.txCount,l.data=Fe,l.optimisticData=it}},Q=new Set;return H&&!this.txCount&&this.broadcastWatches((0,Gn.Cl)((0,Gn.Cl)({},s),{onWatchUpdated:function(ve){return Q.add(ve),!1}})),"string"==typeof D?this.optimisticData=this.optimisticData.addLayer(D,X):!1===D?X(this.data):X(),"string"==typeof L&&(this.optimisticData=this.optimisticData.removeLayer(L)),H&&Q.size?(this.broadcastWatches((0,Gn.Cl)((0,Gn.Cl)({},s),{onWatchUpdated:function(ve,ke){var Fe=H.call(this,ve,ke);return!1!==Fe&&Q.delete(ve),Fe}})),Q.size&&Q.forEach(function(ve){return l.maybeBroadcastWatch.dirty(ve)})):this.broadcastWatches(s),K},c.prototype.performTransaction=function(s,l){return this.batch({update:s,optimistic:l||null!==l})},c.prototype.transformDocument=function(s){if(this.addTypename){var l=this.typenameDocumentCache.get(s);return l||(l=(0,Vi.XY)(s),this.typenameDocumentCache.set(s,l),this.typenameDocumentCache.set(l,l)),l}return s},c.prototype.transformForLink=function(s){var l=this.config.fragments;return l?l.transform(s):s},c.prototype.broadcastWatches=function(s){var l=this;this.txCount||this.watches.forEach(function(h){return l.maybeBroadcastWatch(h,s)})},c.prototype.broadcastWatch=function(s,l){var h=s.lastDiff,_=this.diff(s);l&&(s.optimistic&&"string"==typeof l.optimistic&&(_.fromOptimisticTransaction=!0),l.onWatchUpdated&&!1===l.onWatchUpdated.call(this,s,_,h))||(!h||!(0,yr.L)(h.result,_.result))&&s.callback(s.lastDiff=_,h)},c}(Pi),Yo=f(7994);function $a(o){return new Ei.C(function(c,s){return new Yo.c(function(l){var h,_,D;try{h=s(c).subscribe({next:function(L){L.errors&&(D=o({graphQLErrors:L.errors,response:L,operation:c,forward:s}))?_=D.subscribe({next:l.next.bind(l),error:l.error.bind(l),complete:l.complete.bind(l)}):l.next(L)},error:function(L){(D=o({operation:c,networkError:L,graphQLErrors:L&&L.result&&L.result.errors,forward:s}))?_=D.subscribe({next:l.next.bind(l),error:l.error.bind(l),complete:l.complete.bind(l)}):l.error(L)},complete:function(){D||l.complete.bind(l)()}})}catch(L){o({networkError:L,operation:c,forward:s}),l.error(L)}return function(){h&&h.unsubscribe(),_&&h.unsubscribe()}})})}!function(o){function c(s){var l=o.call(this)||this;return l.link=$a(s),l}(0,Gn.C6)(c,o),c.prototype.request=function(s,l){return this.link.request(s,l)}}(Ei.C);var li=f(4925),ga=f(1544),ol=f(4099),Tr=f(3473),_a=f(3246),sl=f(1985),Eo=function(){function o(c){var s=c.batchDebounce,l=c.batchInterval,h=c.batchMax,_=c.batchHandler,D=c.batchKey;this.batchesByKey=new Map,this.scheduledBatchTimerByKey=new Map,this.batchDebounce=s,this.batchInterval=l,this.batchMax=h||0,this.batchHandler=_,this.batchKey=D||function(){return""}}return o.prototype.enqueueRequest=function(c){var s=this,l=(0,Gn.Cl)((0,Gn.Cl)({},c),{next:[],error:[],complete:[],subscribers:new Set}),h=this.batchKey(c.operation);return l.observable||(l.observable=new Yo.c(function(_){var D=s.batchesByKey.get(h);D||s.batchesByKey.set(h,D=new Set);var L=0===D.size,H=0===l.subscribers.size;return l.subscribers.add(_),H&&D.add(l),_.next&&l.next.push(_.next.bind(_)),_.error&&l.error.push(_.error.bind(_)),_.complete&&l.complete.push(_.complete.bind(_)),(L||s.batchDebounce)&&s.scheduleQueueConsumption(h),D.size===s.batchMax&&s.consumeQueue(h),function(){var K;l.subscribers.delete(_)&&l.subscribers.size<1&&D.delete(l)&&D.size<1&&(s.consumeQueue(h),null===(K=D.subscription)||void 0===K||K.unsubscribe())}})),l.observable},o.prototype.consumeQueue=function(c){void 0===c&&(c="");var s=this.batchesByKey.get(c);if(this.batchesByKey.delete(c),s&&s.size){var l=[],h=[],_=[],D=[],L=[],H=[];s.forEach(function(Q){l.push(Q.operation),h.push(Q.forward),_.push(Q.observable),D.push(Q.next),L.push(Q.error),H.push(Q.complete)});var K=this.batchHandler(l,h)||Yo.c.of(),X=function(Q){L.forEach(function(ve){ve&&ve.forEach(function(ke){return ke(Q)})})};return s.subscription=K.subscribe({next:function(Q){if(Array.isArray(Q)||(Q=[Q]),D.length!==Q.length){var ve=new Error("server returned results with length ".concat(Q.length,", expected length of ").concat(D.length));return ve.result=Q,X(ve)}Q.forEach(function(ke,Fe){D[Fe]&&D[Fe].forEach(function(it){return it(ke)})})},error:X,complete:function(){H.forEach(function(Q){Q&&Q.forEach(function(ve){return ve()})})}}),_}},o.prototype.scheduleQueueConsumption=function(c){var s=this;clearTimeout(this.scheduledBatchTimerByKey.get(c)),this.scheduledBatchTimerByKey.set(c,setTimeout(function(){s.consumeQueue(c),s.scheduledBatchTimerByKey.delete(c)},this.batchInterval))},o}();!function(o){function c(s){var l=o.call(this)||this,h=s||{},D=h.batchInterval,H=h.batchMax,X=h.batchHandler,ve=h.batchKey;return l.batcher=new Eo({batchDebounce:h.batchDebounce,batchInterval:void 0===D?10:D,batchMax:void 0===H?0:H,batchHandler:void 0===X?function(){return null}:X,batchKey:void 0===ve?function(){return""}:ve}),s.batchHandler.length<=1&&(l.request=function(Fe){return l.batcher.enqueueRequest({operation:Fe})}),l}(0,Gn.C6)(c,o),c.prototype.request=function(s,l){return this.batcher.enqueueRequest({operation:s,forward:l})}}(Ei.C);class Dc extends Ei.C{httpClient;options;requester;print=_a.y;constructor(c,s){super(),this.httpClient=c,this.options=s,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=l=>new Yo.c(h=>{const _=l.getContext(),D=(Rt,xt)=>function qo(...o){const c=o.find(s=>typeof s<"u");return typeof c>"u"?o[o.length-1]:c}(_[Rt],this.options[Rt],xt);let L=D("method","POST");const H=D("includeQuery",!0),K=D("includeExtensions",!1),X=D("uri","graphql"),Q=D("withCredentials"),ve=D("useMultipart"),ke=!0===this.options.useGETForQueries,Fe=l.query.definitions.some(Rt=>"OperationDefinition"===Rt.kind&&"query"===Rt.operation);ke&&Fe&&(L="GET");const it={method:L,url:"function"==typeof X?X(l):X,body:{operationName:l.operationName,variables:l.variables},options:{withCredentials:Q,useMultipart:ve,headers:this.options.headers}};K&&(it.body.extensions=l.extensions),H&&(it.body.query=this.print(l.query));const qe=function al(o){let c=o.headers&&o.headers instanceof g.Lr?o.headers:new g.Lr(o.headers);if(o.clientAwareness){const{name:s,version:l}=o.clientAwareness;s&&!c.has("apollographql-client-name")&&(c=c.set("apollographql-client-name",s)),l&&!c.has("apollographql-client-version")&&(c=c.set("apollographql-client-version",l))}return c}(_);it.options.headers=((o,c)=>o&&c?c.keys().reduce((l,h)=>l.set(h,c.getAll(h)),o):c||o)(it.options.headers,qe);const It=((o,c,s)=>{const l=-1!==["POST","PUT","PATCH"].indexOf(o.method.toUpperCase()),_=o.body.length;let L,D=o.options&&o.options.useMultipart;if(D){if(_)return new sl.c(K=>K.error(new Error("File upload is not available when combined with Batching")));if(!l)return new sl.c(K=>K.error(new Error("File upload is not available when GET is used")));if(!s)return new sl.c(K=>K.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));L=s(o.body),D=!!L.files.size}let H={};if(_){if(!l)return new sl.c(K=>K.error(new Error("Batching is not available for GET requests")));H={body:o.body}}else H=l?{body:D?L.clone:o.body}:{params:Object.keys(o.body).reduce((Q,ve)=>{const ke=o.body[ve];return Q[ve]=-1!==["variables","extensions"].indexOf(ve.toLowerCase())?JSON.stringify(ke):ke,Q},{})};if(D&&l){const K=new FormData;K.append("operations",JSON.stringify(H.body));const X={},Q=L.files;let ve=0;Q.forEach(ke=>{X[++ve]=ke}),K.append("map",JSON.stringify(X)),ve=0,Q.forEach((ke,Fe)=>{K.append(++ve+"",Fe,Fe.name)}),H.body=K}return c.request(o.method,o.url,{observe:"response",responseType:"json",reportProgress:!1,...H,...o.options})})(it,this.httpClient,this.options.extractFiles).subscribe({next:Rt=>{l.setContext({response:Rt}),h.next(Rt.body)},error:Rt=>h.error(Rt),complete:()=>h.complete()});return()=>{It.closed||It.unsubscribe()}})}request(c){return this.requester(c)}}let va=(()=>{class o{httpClient;constructor(s){this.httpClient=s}create(s){return new Dc(this.httpClient,s)}static \u0275fac=function(l){return new(l||o)(r.KVO(g.Qq))};static \u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var kd=f(4965),ku=f.n(kd);const Ad={possibleTypes:{Node:["ContentPage","ServiceLandingPage","ServicePage","News","Event"],ContentEntity:["ContentPage","User","MediaFile","File","BannerImage","Image","MediaMenuIcon","MediaServiceLandingPageImage","ServiceLandingPage","Step","Tab","ServicePage","News","Event","TargetGroup","MediaJobOfferImage","Offices","Departments","MediaContentImage","AdditionalInfoWBlocks","AdditionalInfoBlock","SimpleInfoBlock","SimpleInfoBlockWImage","EventsInfoBlock","JobSearchInfoBlock"],Media:["MediaFile","BannerImage","MediaMenuIcon","MediaServiceLandingPageImage","MediaJobOfferImage","MediaContentImage"],AdditionalInfo:["AdditionalInfoWBlocks","SimpleInfoBlock","SimpleInfoBlockWImage","EventsInfoBlock","JobSearchInfoBlock"],Connection:["NewsConnection","EventsConnection"],Edge:["NewsEdge","EventEdge"],EntityConnection:["ToopakkumineAvalikOtsingConnection"],APIEdge:["ToopakkumineAvalikOtsingListElementDTO"],TaxonomyTerm:["Offices","Departments"]}},w=(0,r.zw6)("maxAge.schedule");class W extends Ei.C{constructor(c,s,l){if(super(),this.options=c,this.transferState=s,this.cache=l,this.scheduled=new Map,s.hasKey(w)){const _=s.get(w,null);this.scheduled=new Map(_)}else{const _=l.extract().maxageSchedule;_&&(this.scheduled=_),s.onSerialize(w,()=>(l.restore({...l.extract(),maxageSchedule:this.scheduled}),Array.from(this.scheduled.entries())))}}request(c,s){const l=c.getContext();if("query"!==(0,vo.Vn)(c.query).operation||!l.maxAge)return s(c);const _=this.toKey(c),D=this.options.cache.readQuery({query:c.query,variables:c.variables});if(this.shouldUseNetwork(_)||!D){const L=new Date,H="string"==typeof l.maxAge?function hm(o){const c={ms:1};return c.s=1e3*c.ms,c.m=60*c.s,c.h=60*c.m,c.d=24*c.h,c.w=7*c.d,parseInt(o.replace(/[a-z]+/i,""),10)*c[o.replace(/\d+/,"")]}(l.maxAge):l.maxAge,K=new Date(L.getTime()+H);return c.setContext({cached:!1}),this.schedule(_,K),s(c)}return new Yo.c(L=>{try{c.setContext({cached:!0}),L.next({data:D}),L.complete()}catch(H){L.error(H)}})}shouldUseNetwork(c){return this.isExpired(c)||!this.scheduled.has(c)}isExpired(c){return this.scheduled.get(c)<new Date}schedule(c,s){this.scheduled.set(c,s)}toKey(c){return this.options.toKey?this.options.toKey(c):c.operationName}}const S=new r.nKC("apollo-cache"),z=(0,r.zw6)("apollo.state");function he(o,c,s,l,h){const _=s.hasKey(z);let D=new g.Lr;if(_){const X=s.get(z,null);c=c.restore(X)}else{if(y.c.auth){const{user:X,pass:Q}=y.c.auth,ve=btoa(`${X}:${Q}`);D=D.set("authorization","Basic "+ve)}s.onSerialize(z,()=>{const X=c.extract(),Q=["menu","global","Global","banner","translation","news","maxage"];let ve=X.ROOT_QUERY;const ke=Object.fromEntries(Object.entries(X).filter(([Fe,it])=>Q.some(qe=>Fe.startsWith(qe))));return ve&&(ve=Object.fromEntries(Object.entries(ve).filter(([Fe,it])=>Q.some(qe=>Fe.startsWith(qe)))),ke.ROOT_QUERY=ve),c.restore(ke),X})}const L=new Ei.C((X,Q)=>{const ve=h.get(ga.QG).parser,ke=X.getContext().headers;return X.setContext({headers:{"x-paringu-keel":ve.currentLang??"et",operationName:X.operationName,...ke}}),Q(X)}),H=["globalConfig","getMenu"],K=$a(({response:X,operation:Q,graphQLErrors:ve,networkError:ke})=>{if(ve&&ve.forEach(({message:Fe,locations:it,path:qe})=>console.log(`[GraphQL error]: Message: ${Fe}`,{operation:Q,locations:it,path:qe})),ke){const Fe=h.get(li.I);H.includes(Q.operationName)&&Fe.handleCriticalError({networkError:ke,operation:Q}),X&&(X.errors=void 0)}});return{link:L.concat(K).concat(l).concat(o.create({uri:y.c.graphqlEndpoint,withCredentials:!0,extractFiles:ku(),headers:D})),cache:c,ssrMode:!_,credentials:"Cookies",defaultOptions:{query:{context:{maxAge:"5m"},fetchPolicy:"network-only",errorPolicy:"all"},watchQuery:{fetchPolicy:"network-only",errorPolicy:"all"},mutate:{errorPolicy:"all"}}}}let je=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({providers:[{provide:S,useFactory:s=>{const l=(0,F.UE)(s);function h(L){return L&&(0,ol.rot13)(L)}const _={fields:{email:{merge:(L,H)=>L||(l?h(H):H)},contactEmail:{read:L=>l?h(L):L}}};return new $e({typePolicies:{Text:{fields:{summary:{merge:(L,H)=>L||(l?(0,ol.deObfuscateEmailsInHTML)(H):H)},value:{merge:(L,H)=>L||(l?(0,ol.deObfuscateEmailsInHTML)(H):H)}}},GlobalConfig:{keyFields:!1},ServiceLandingPage:{keyFields:!1},BarometerMapPeriod:{keyFields:!1},TrainerSearchResultItem:_,Training:_,ToopakkumineAvalikKontaktisikDTO:_,ToopakkumineKontaktisikDTO:_},possibleTypes:Ad.possibleTypes})},deps:[r.Agw]},{provide:W,useFactory:(s,l)=>new W({cache:s,toKey:h=>h.operationName+JSON.stringify(h.variables)},l,s),deps:[S,r.pJN]},{provide:Tr.$Y,useFactory:he,deps:[va,S,r.pJN,W,r.zZn]}],imports:[Tr._9,Tr._9]})}return o})();var gt=f(9661),cn=f(5753);function tn(o,c){if(c.length<o)throw new TypeError(o+" argument"+(o>1?"s":"")+" required, but only "+c.length+" present")}function ui(o){tn(1,arguments);var c=Object.prototype.toString.call(o);return o instanceof Date||"object"==typeof o&&"[object Date]"===c?new Date(o.getTime()):"number"==typeof o||"[object Number]"===c?new Date(o):(("string"==typeof o||"[object String]"===c)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function lr(o){if(null===o||!0===o||!1===o)return NaN;var c=Number(o);return isNaN(c)?c:c<0?Math.ceil(c):Math.floor(c)}Math.pow(10,8);var Zs={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ph=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ed=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,mh=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Vl(o){return o?parseInt(o):1}function es(o){return o&&parseFloat(o.replace(",","."))||0}var tc=[31,null,31,30,31,30,31,31,30,31,30,31];function eo(o){return o%400==0||o%4==0&&o%100!=0}var _m=f(8810),Sc=f(983),Tc=f(9437);let Fu=(()=>{class o{constructor(s){this.errorService=s,this.HEADER_MAINTENANCE_START="x-maintenance-start",this.HEADER_MAINTENANCE_END="x-maintenance-end"}intercept(s,l){return l.handle(s).pipe((0,Tc.W)(h=>this.isMaintenance(h)?this.handleMaintenance(h):(0,_m.$)(h)))}isMaintenance(s){return 503===s.status}handleMaintenance(s){const l=function ar(o){tn(1,arguments);var c=ui(o);return c.setMinutes(0,0,0),c}(new Date),h=this.parse(s.headers.get(this.HEADER_MAINTENANCE_START),l),_=this.parse(s.headers.get(this.HEADER_MAINTENANCE_END),function ll(o,c){return tn(2,arguments),function Do(o,c){tn(2,arguments);var s=ui(o).getTime(),l=lr(c);return new Date(s+l)}(o,36e5*lr(c))}(l,1));return this.errorService.stopApp(),this.errorService.handleMaintenanceError(h,_),Sc.w}parse(s,l){const h=s?function Bl(o,c){tn(1,arguments);var s=c||{},l=null==s.additionalDigits?2:lr(s.additionalDigits);if(2!==l&&1!==l&&0!==l)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof o&&"[object String]"!==Object.prototype.toString.call(o))return new Date(NaN);var _,h=function gh(o){var l,c={},s=o.split(Zs.dateTimeDelimiter);if(s.length>2)return c;if(/:/.test(s[0])?l=s[0]:(c.date=s[0],l=s[1],Zs.timeZoneDelimiter.test(c.date)&&(c.date=o.split(Zs.timeZoneDelimiter)[0],l=o.substr(c.date.length,o.length))),l){var h=Zs.timezone.exec(l);h?(c.time=l.replace(h[1],""),c.timezone=h[1]):c.time=l}return c}(o);if(h.date){var D=function Is(o,c){var s=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+c)+"})|(\\d{2}|[+-]\\d{"+(2+c)+"})$)"),l=o.match(s);if(!l)return{year:NaN,restDateString:""};var h=l[1]?parseInt(l[1]):null,_=l[2]?parseInt(l[2]):null;return{year:null===_?h:100*_,restDateString:o.slice((l[1]||l[2]).length)}}(h.date,l);_=function Gr(o,c){if(null===c)return new Date(NaN);var s=o.match(ph);if(!s)return new Date(NaN);var l=!!s[4],h=Vl(s[1]),_=Vl(s[2])-1,D=Vl(s[3]),L=Vl(s[4]),H=Vl(s[5])-1;if(l)return function gm(o,c,s){return c>=1&&c<=53&&s>=0&&s<=6}(0,L,H)?function za(o,c,s){var l=new Date(0);l.setUTCFullYear(o,0,4);var _=7*(c-1)+s+1-(l.getUTCDay()||7);return l.setUTCDate(l.getUTCDate()+_),l}(c,L,H):new Date(NaN);var K=new Date(0);return function Ru(o,c,s){return c>=0&&c<=11&&s>=1&&s<=(tc[c]||(eo(o)?29:28))}(c,_,D)&&function Pu(o,c){return c>=1&&c<=(eo(o)?366:365)}(c,h)?(K.setUTCFullYear(c,_,Math.max(h,D)),K):new Date(NaN)}(D.restDateString,D.year)}if(!_||isNaN(_.getTime()))return new Date(NaN);var K,L=_.getTime(),H=0;if(h.time&&(H=function qs(o){var c=o.match(ed);if(!c)return NaN;var s=es(c[1]),l=es(c[2]),h=es(c[3]);return function dl(o,c,s){return 24===o?0===c&&0===s:s>=0&&s<60&&c>=0&&c<60&&o>=0&&o<25}(s,l,h)?36e5*s+6e4*l+1e3*h:NaN}(h.time),isNaN(H)))return new Date(NaN);if(!h.timezone){var X=new Date(L+H),Q=new Date(0);return Q.setFullYear(X.getUTCFullYear(),X.getUTCMonth(),X.getUTCDate()),Q.setHours(X.getUTCHours(),X.getUTCMinutes(),X.getUTCSeconds(),X.getUTCMilliseconds()),Q}return K=function Rd(o){if("Z"===o)return 0;var c=o.match(mh);if(!c)return 0;var s="+"===c[1]?-1:1,l=parseInt(c[2]),h=c[3]&&parseInt(c[3])||0;return function Pd(o,c){return c>=0&&c<=59}(0,h)?s*(36e5*l+6e4*h):NaN}(h.timezone),isNaN(K)?new Date(NaN):new Date(L+H+K)}(s):l;return isNaN(h.getTime())?l:h}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(li.I))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac})}return o})(),td=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[F.MD,P.iI]})}return o})();(0,F.EO)(wt,ai.Ry),(0,F.EO)(hn,ai.x6);let jl=(()=>{class o{constructor(s){((o,c)=>{if(o)throw new Error(`${c} has already been loaded. Import ${c} modules in the AppModule only.`)})(s,"CoreModule")}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(o,12))};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({providers:[{provide:g.a7,useClass:Fu,multi:!0},{provide:g.a7,useClass:In.$,multi:!0},{provide:r.xe9,useValue:"et"},{provide:$n.Ju,useValue:"et"},{provide:$n.MJ,useClass:ri},{provide:$n.de,useValue:ii}],imports:[F.MD,gt.k,je,cn.G,td,P.iI,Rn.G]})}return o})();var ul=f(1413),Wa=f(6977);let Wi=(()=>{class o{constructor(s,l,h){this.http=s,this.document=l,this.platformId=h,this._unsubscribe=new ul.B,this.unsubscribe$=this._unsubscribe.asObservable()}handleError(s){if((0,F.Vy)(this.platformId))return;const l={message:s.stack??s.toString()};if((0,ol.IS_LOCAL_DEV)())return console.error(l);const h={headers:this.getHeaders()};this.http.post("/api/log",l,h).pipe((0,Wa.Q)(this.unsubscribe$)).subscribe({error:_=>{console.error(_)}})}getHeaders(){let s=new g.Lr({"Content-Type":"application/json","X-Api-Token":y.c.apiToken,Authorization:""});if(y.c.auth){const{user:l,pass:h}=y.c.auth,_=btoa(`${l}:${h}`);s=s.set("Authorization","Basic "+_)}return s}ngOnDestroy(){this._unsubscribe.next(!0)}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(g.Qq),r.KVO(F.qQ,8),r.KVO(r.Agw))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var uo=f(3060),g_=f(2138);let vm=(()=>{class o{constructor(s){this.translateService=s}ngOnInit(){const s=this.translateService.getActiveLang();if(s){const l=ol.FrontEndToSelfServiceLanguageMap[s];void 0!==l&&(window.location.href=y.c.selfServiceURL+"/"+l)}}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(uo.JO))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["ng-component"]],standalone:!0,features:[r.aNF],decls:0,vars:0,template:function(l,h){},encapsulation:2})}return o})();var Fd=f(6096);new r.nKC("REQUEST");const Ld=new r.nKC("RESPONSE");let nc=(()=>{class o{constructor(s,l,h){this.router=s,this.platformId=l,this.res=h}setStatusCode(s){return!(!(0,F.Vy)(this.platformId)||this.res?.headersSent||!this.res||(this.res.statusCode=s,0))}redirect(s,l=302){(0,F.Vy)(this.platformId)&&!this.res?.headersSent&&this.res?this.res?.redirect(l,s):this.router.navigateByUrl(s,{replaceUrl:!0})}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(P.Ix),r.KVO(r.Agw),r.KVO(Ld,8))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Lu=(()=>{class o{constructor(s,l,h){this.router=s,this.localizer=l,this.server=h}ngOnInit(){const s=this.router.url.split("/")[1];-1===this.localizer.parser.locales.indexOf(s)&&this.server.redirect("/"+this.localizer.translateRoute(this.router.url),404)}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(P.Ix),r.rXU(ga.QG),r.rXU(nc))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["ng-component"]],decls:0,vars:0,template:function(l,h){},encapsulation:2})}return o})();var _h=f(785),fl=f(8973),nd=f(7116),hs=f(6354);let bn=(()=>{class o{constructor(s){this.apollo=s}getTaxonomyTag(s){return this.apollo.query({query:Tr.J1` query taxonomy($path: String!) { route(path: $path) { ... on Departments { tag languageSwitchLinks { title url { path } } } ... on TaxonomyTerm { tag label languageSwitchLinks { title url { path } } } } } `,variables:{path:s}}).pipe((0,hs.T)(l=>l.data.route))}getBranchesForRegion(s){return this.apollo.query({query:Tr.J1` query departmentQuery($departmentName: String!) { departmentQuery(departmentName: $departmentName) { name contactsClosedByDefault bureaus { name email phone skype description address openingHours imageUrl contacts { name phone profession email } } } } `,variables:{departmentName:s}}).pipe((0,hs.T)(l=>l.data.departmentQuery))}getAllRegions(){return this.apollo.query({query:Tr.J1` query departmentQuery { departmentListQuery { name contactsClosedByDefault bureaus { name email phone skype description address openingHours imageUrl contacts { name phone profession email } } } } `}).pipe((0,hs.T)(s=>s.data.departmentListQuery))}getDepartment(s){return this.apollo.query({query:Tr.J1` query mainOfficeQuery($structureName: String!) { mainOfficeQuery(structureName: $structureName) { name contacts { name phone profession email } } } `,variables:{structureName:s}}).pipe((0,hs.T)(l=>l.data.mainOfficeQuery))}getDepartments(){return this.apollo.query({query:Tr.J1` query mainOfficeList { mainOfficeListQuery { name contacts { name phone profession email } } } `}).pipe((0,hs.T)(s=>s.data.mainOfficeListQuery))}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(Tr.Ic))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var pr=f(3850),ic=f(6100),Ul=f(2776),Vr=f(484),Nu=f(3864),Ka=f(6959),Vs=f(5731);function id(o,c){if(1&o&&(r.j41(0,"li",6)(1,"span",12),r.EFF(2),r.k0s(),r.j41(3,"span")(4,"a",17),r.EFF(5),r.k0s()()()),2&o){const s=r.XpG().$implicit,l=r.XpG();r.R7$(2),r.SpI(" ",s("fegeneral/contacts/bureau/field/skype")," "),r.R7$(2),r.Y8G("href",l.dangerousSkypeUrl(),r.B4B),r.R7$(),r.JRh(l.bureau.skype)}}function Bu(o,c){if(1&o&&(r.j41(0,"tr",27)(1,"td",28),r.EFF(2),r.k0s(),r.j41(3,"td",29),r.EFF(4),r.k0s(),r.j41(5,"td",30),r.nrm(6,"a",9),r.k0s(),r.j41(7,"td",30),r.EFF(8),r.k0s()()),2&o){const s=c.$implicit;r.R7$(2),r.SpI(" ",s.name," "),r.R7$(2),r.SpI(" ",s.profession," "),r.R7$(2),r.Y8G("tkObfuscatedEmail",s.email),r.R7$(2),r.SpI(" ",s.phone," ")}}function Vu(o,c){if(1&o&&(r.j41(0,"div")(1,"table",21)(2,"thead",22)(3,"tr")(4,"th",23),r.EFF(5),r.k0s(),r.j41(6,"th",24),r.EFF(7),r.k0s(),r.j41(8,"th",25),r.EFF(9),r.k0s(),r.j41(10,"th",24),r.EFF(11),r.k0s()()(),r.j41(12,"tbody"),r.DNE(13,Bu,9,4,"tr",26),r.k0s()()()),2&o){const s=r.XpG(2).$implicit,l=r.XpG();r.R7$(5),r.SpI(" ",s("fegeneral/contacts/bureau/contacts/field/name")," "),r.R7$(2),r.SpI(" ",s("fegeneral/contacts/bureau/contacts/field/profession")," "),r.R7$(2),r.SpI(" ",s("fegeneral/contacts/bureau/contacts/field/email")," "),r.R7$(2),r.SpI(" ",s("fegeneral/contacts/bureau/contacts/field/phone")," "),r.R7$(2),r.Y8G("ngForOf",l.validEntries(l.bureau.contacts))}}function Mr(o,c){if(1&o){const s=r.RV6();r.j41(0,"div")(1,"button",18),r.bIt("tkClickOrPress",function(){r.eBV(s);const h=r.XpG(2);return r.Njj(h.toggleContactsOpen())}),r.nrm(2,"span",19),r.j41(3,"span",20),r.EFF(4),r.k0s()(),r.DNE(5,Vu,14,5,"div",16),r.k0s()}if(2&o){const s=r.XpG().$implicit,l=r.XpG();r.R7$(),r.BMQ("aria-expanded",l.contactsOpen),r.R7$(),r.HbH(l.contactsOpen?"":"transform rotate-180"),r.R7$(2),r.SpI(" ",s("fegeneral/contacts/bureau/contacts/heading")," "),r.R7$(),r.Y8G("ngIf",l.contactsOpen)}}function vh(o,c){if(1&o&&(r.qex(0),r.j41(1,"div",1)(2,"div",2)(3,"h4",3),r.EFF(4),r.k0s(),r.j41(5,"div",4)(6,"ul",5)(7,"li",6)(8,"span",7),r.EFF(9),r.k0s(),r.j41(10,"span",8),r.nrm(11,"a",9),r.k0s()(),r.j41(12,"li",6)(13,"span",7),r.EFF(14),r.k0s(),r.j41(15,"span"),r.EFF(16),r.k0s()(),r.j41(17,"li",6)(18,"span",10),r.EFF(19),r.k0s(),r.j41(20,"span"),r.EFF(21),r.k0s()(),r.DNE(22,id,6,3,"li",11),r.j41(23,"li",6)(24,"span",12),r.EFF(25),r.k0s(),r.j41(26,"span",13),r.EFF(27),r.nrm(28,"span",14),r.nI1(29,"tkTrustedHTML"),r.k0s()()(),r.nrm(30,"img",15),r.k0s(),r.DNE(31,Mr,6,5,"div",16),r.k0s()(),r.bVm()),2&o){const s=c.$implicit,l=r.XpG();r.R7$(4),r.JRh(l.bureau.name),r.R7$(5),r.SpI(" ",s("fegeneral/contacts/bureau/field/email")," "),r.R7$(2),r.Y8G("tkObfuscatedEmail",l.bureau.email),r.R7$(3),r.SpI(" ",s("fegeneral/contacts/bureau/field/address")," "),r.R7$(2),r.JRh(l.bureau.address),r.R7$(3),r.SpI(" ",s("fegeneral/contacts/bureau/field/phone")," "),r.R7$(2),r.JRh(l.bureau.phone),r.R7$(),r.Y8G("ngIf",l.bureau.skype),r.R7$(3),r.JRh(s("fegeneral/contacts/bureau/field/openHours")),r.R7$(2),r.SpI(" ",l.bureau.openingHours," "),r.R7$(),r.Y8G("innerHTML",r.bMT(29,14,l.bureau.description),r.npT),r.R7$(2),r.FS9("alt",l.bureau.name),r.Y8G("src",l.bureau.imageUrl,r.B4B),r.R7$(),r.Y8G("ngIf",null==l.bureau.contacts?null:l.bureau.contacts.length)}}let js=(()=>{class o{constructor(s){this.sanitizer=s,this.contactsOpen=!1}validEntries(s){return s?s.filter(l=>null!=l):[]}dangerousSkypeUrl(){return this.sanitizer.bypassSecurityTrustUrl("skype:"+this.bureau.skype)}toggleContactsOpen(){this.contactsOpen=!this.contactsOpen}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(n.up))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-bureau"]],inputs:{bureau:"bureau",contactsOpen:"contactsOpen"},decls:1,vars:0,consts:[[4,"transloco"],[1,"col-span-10","w-full"],[1,"panel","mb-4"],[1,"text-xl","font-bold","leading-6","text-tk_grey_900"],[1,"my-4","flex","content-start","justify-between"],[1,"space-y-3","text-sm","leading-5","md:space-y-0","md:leading-7"],[1,"flex","flex-col","md:flex-row","md:space-x-4"],[1,"font-medium","md:w-32"],[1,"leading-6","md:leading-7"],[3,"tkObfuscatedEmail"],[1,"w-32","font-medium"],["class","flex flex-col md:flex-row md:space-x-4",4,"ngIf"],[1,"w-32","font-bold"],[1,"w-80","whitespace-pre-line"],[1,"italic","opacity-60",3,"innerHTML"],["onload","this.classList.add('md:block');",1,"hidden","h-auto","w-60","self-start",3,"src","alt"],[4,"ngIf"],[3,"href"],[1,"group","flex","cursor-pointer","text-lg","font-medium","text-tk_grey_900","hover:underline",3,"tkClickOrPress"],[1,"mr-2","inline-block","size-4","self-center","bg-ico-vert-chevron","bg-center","bg-no-repeat","group-hover:-mb-1px"],[1,"self-center"],[1,"w-full","text-sm"],[1,"hidden","md:table-header-group"],[1,"border-b","border-tk_grey_300","px-3","py-2","text-left",2,"width","25%"],[1,"border-b","border-tk_grey_300","px-3","py-2","text-left",2,"width","20%"],[1,"border-b","border-tk_grey_300","px-3","py-2","text-left",2,"width","35%"],["class","flex flex-col border-t border-tk_grey_300 md:table-row md:border-0",4,"ngFor","ngForOf"],[1,"flex","flex-col","border-t","border-tk_grey_300","md:table-row","md:border-0"],[1,"border-tk_grey_300","px-3","pb-2","pt-4","text-left","font-bold","leading-4","md:border-b","md:py-2","md:font-normal","md:leading-5"],[1,"border-tk_grey_300","px-3","py-2","text-left","leading-4","md:border-b","md:leading-5"],[1,"border-tk_grey_300","px-3","pb-4","pt-2","text-left","leading-4","md:border-b","md:py-2","md:leading-5"]],template:function(l,h){1&l&&r.DNE(0,vh,32,16,"ng-container",0)},dependencies:[F.Sq,F.bT,Nu.G,Ka.Kp,uo.bA,Vs.T],encapsulation:2})}return o})();var ea=f(8180);function ju(o,c){if(1&o&&(r.j41(0,"h1",11),r.EFF(1),r.k0s()),2&o){const s=r.XpG().$implicit;r.R7$(),r.SpI(" ",s("fegeneral/contacts/bureau/heading")," ")}}function Xa(o,c){if(1&o&&(r.j41(0,"h1",11),r.EFF(1),r.k0s()),2&o){const s=r.XpG().$implicit;r.R7$(),r.SpI(" ",s("fegeneral/contacts/heading")," ")}}function Sl(o,c){1&o&&r.nrm(0,"tk-left-menu-accordion",12),2&o&&r.Y8G("menu",c.ngIf)}function Ra(o,c){if(1&o&&(r.j41(0,"h2",13),r.EFF(1),r.k0s()),2&o){const s=r.XpG().$implicit;r.R7$(),r.SpI(" ",s("fegeneral/contacts/bureaus/heading")," ")}}function bh(o,c){if(1&o&&r.nrm(0,"div",15),2&o){const s=r.XpG(2).$implicit;r.Y8G("innerHTML",s("fegeneral/contacts/mainOffice/generalContact"),r.npT)}}function Nd(o,c){if(1&o&&(r.qex(0),r.DNE(1,bh,1,1,"div",14),r.bVm()),2&o){const s=r.XpG().$implicit;r.R7$(),r.Y8G("ngIf",s("fegeneral/contacts/mainOffice/generalContact"))}}function Uu(o,c){if(1&o&&r.nrm(0,"tk-bureau",18),2&o){const s=r.XpG().$implicit,l=r.XpG().$implicit;r.Y8G("bureau",s)("contactsOpen",!l.contactsClosedByDefault)}}function Bd(o,c){if(1&o&&(r.j41(0,"div"),r.DNE(1,Uu,1,2,"tk-bureau",17),r.k0s()),2&o){const s=c.$implicit;r.R7$(),r.Y8G("ngIf",s)}}function Vd(o,c){if(1&o&&(r.j41(0,"div")(1,"h3",16),r.EFF(2),r.k0s(),r.DNE(3,Bd,2,1,"div",9),r.k0s()),2&o){const s=c.$implicit;r.R7$(2),r.JRh(s.name),r.R7$(),r.Y8G("ngForOf",s.bureaus)}}function Us(o,c){if(1&o&&r.nrm(0,"a",34),2&o){const s=r.XpG().$implicit;r.Y8G("tkObfuscatedEmail",null==s?null:s.email)}}function Ya(o,c){if(1&o&&(r.j41(0,"tr",28)(1,"td",29),r.EFF(2),r.k0s(),r.j41(3,"td",30),r.EFF(4),r.k0s(),r.j41(5,"td",31),r.DNE(6,Us,1,1,"a",32),r.k0s(),r.j41(7,"td",33),r.EFF(8),r.k0s()()),2&o){const s=c.$implicit;r.R7$(2),r.SpI(" ",null==s?null:s.name," "),r.R7$(2),r.SpI(" ",null==s?null:s.profession," "),r.R7$(2),r.Y8G("ngIf",null==s?null:s.email),r.R7$(2),r.SpI(" ",null==s?null:s.phone," ")}}function $u(o,c){if(1&o&&(r.j41(0,"div",8)(1,"h2",21),r.EFF(2),r.nI1(3,"capitalizeFirstLetter"),r.k0s(),r.j41(4,"table",22)(5,"thead",23)(6,"tr")(7,"th",24),r.EFF(8),r.k0s(),r.j41(9,"th",25),r.EFF(10),r.k0s(),r.j41(11,"th",26),r.EFF(12),r.k0s(),r.j41(13,"th",25),r.EFF(14),r.k0s()()(),r.j41(15,"tbody"),r.DNE(16,Ya,9,4,"tr",27),r.k0s()()()),2&o){const s=r.XpG().$implicit,l=r.XpG().$implicit;r.R7$(2),r.SpI(" ",r.bMT(3,6,s.name)," "),r.R7$(6),r.SpI(" ",l("fegeneral/contacts/department/field/name")," "),r.R7$(2),r.SpI(" ",l("fegeneral/contacts/department/field/profession")," "),r.R7$(2),r.SpI(" ",l("fegeneral/contacts/department/field/email")," "),r.R7$(2),r.SpI(" ",l("fegeneral/contacts/department/field/phone")," "),r.R7$(2),r.Y8G("ngForOf",s.contacts)}}function Hu(o,c){if(1&o&&(r.j41(0,"div",19),r.DNE(1,$u,17,8,"div",20),r.k0s()),2&o){const s=c.$implicit;r.R7$(),r.Y8G("ngIf",s)}}function Mc(o,c){if(1&o&&(r.qex(0),r.j41(1,"div",1),r.nrm(2,"tk-back-link",2),r.DNE(3,ju,2,1,"h1",3)(4,Xa,2,1,"h1",3)(5,Sl,1,1,"tk-left-menu-accordion",4),r.nI1(6,"async"),r.j41(7,"main",5),r.DNE(8,Ra,2,1,"h2",6)(9,Nd,2,1,"ng-container",7),r.j41(10,"div",8),r.DNE(11,Vd,4,2,"div",9),r.k0s(),r.DNE(12,Hu,2,1,"div",10),r.k0s()(),r.bVm()),2&o){const s=r.XpG();r.R7$(3),r.Y8G("ngIf",s.region||s.allBranches),r.R7$(),r.Y8G("ngIf",s.department||s.allDepartments),r.R7$(),r.Y8G("ngIf",r.bMT(6,7,s.menu$)),r.R7$(3),r.Y8G("ngIf",s.regions.length>0),r.R7$(),r.Y8G("ngIf",s.allDepartments||s.allBranches),r.R7$(2),r.Y8G("ngForOf",s.regions),r.R7$(),r.Y8G("ngForOf",s.departments)}}let Ic=(()=>{class o{constructor(s,l,h,_,D,L,H){this.menuService=s,this.route=l,this.router=h,this.contactsService=_,this.metaService=D,this.appService=L,this.location=H,this.menu$=this.menuService.getEmployeesAndContactsMenu(),this.departments=[],this.regions=[],this._destroyed=new ul.B,this.destroyed$=this._destroyed.asObservable()}ngOnInit(){this.menu$.pipe((0,Wa.Q)(this.destroyed$)).subscribe(s=>{this.menuService.setActiveMenu(s)}),this.route.params.pipe((0,Wa.Q)(this.destroyed$)).subscribe(s=>{this.region=s.region,this.department=s.department}),this.route.data.pipe((0,Wa.Q)(this.destroyed$)).subscribe(s=>{this.allDepartments=s.allDepartments,this.allBranches=s.allBranches}),this.allBranches||this.allDepartments?this.allBranches?(this.contactsService.getAllRegions().subscribe(s=>this.regions=s),this.metaService.setMetatagsByType(fl.UZ.Offices)):this.allDepartments&&(this.contactsService.getDepartments().subscribe(s=>this.departments=s),this.metaService.setMetatagsByType(fl.UZ.Contacts)):this.contactsService.getTaxonomyTag(this.location.path()).subscribe(s=>{const l=s.tag;s.languageSwitchLinks&&this.appService.setLanguageSwitchLinks(s.languageSwitchLinks),this.region?(this.contactsService.getBranchesForRegion(l).subscribe(h=>this.regions.push(h)),this.metaService.setMetatagsByType(fl.UZ.Offices)):this.department&&(this.contactsService.getDepartment(l).subscribe(h=>this.departments.push(h)),this.metaService.setMetatagsByType(fl.UZ.Contacts))}),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(nd.$),r.rXU(P.nX),r.rXU(P.Ix),r.rXU(bn),r.rXU(pr.R),r.rXU(ic.d),r.rXU(F.aZ))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-contacts-page"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"col-span-10","mx-auto","grid","w-full","max-w-6xl","grid-cols-10","gap-4","p-6"],[1,"row-span-1","row-start-1"],["class","col-span-12 font-nunito text-4xl font-extrabold tracking-tight text-tk_brand md:text-5xl lg:col-span-10",4,"ngIf"],["class","col-span-3 hidden lg:block",3,"menu",4,"ngIf"],[1,"col-span-12","flex","flex-col","lg:col-span-7","lg:mx-0","lg:block"],["class","font-nunito text-4xl font-bold text-tk_grey_900",4,"ngIf"],[4,"ngIf"],[1,"page-content"],[4,"ngFor","ngForOf"],["class","page-content pb-4",4,"ngFor","ngForOf"],[1,"col-span-12","font-nunito","text-4xl","font-extrabold","tracking-tight","text-tk_brand","md:text-5xl","lg:col-span-10"],[1,"col-span-3","hidden","lg:block",3,"menu"],[1,"font-nunito","text-4xl","font-bold","text-tk_grey_900"],["class","page-content my-4",3,"innerHTML",4,"ngIf"],[1,"page-content","my-4",3,"innerHTML"],[1,"mb-4","mt-6","font-roboto","text-2xl","font-bold","text-tk_grey_900"],[3,"bureau","contactsOpen",4,"ngIf"],[3,"bureau","contactsOpen"],[1,"page-content","pb-4"],["class","page-content",4,"ngIf"],[1,"font-nunito","text-tk_grey_900"],[1,"w-full","text-sm"],[1,"hidden","md:table-header-group"],[1,"border-b","border-tk_grey_300","px-3","py-2","text-left",2,"width","25%"],[1,"border-b","border-tk_grey_300","px-3","py-2","text-left",2,"width","20%"],[1,"border-b","border-tk_grey_300","px-3","py-2","text-left",2,"width","35%"],["class","flex flex-col border-t border-tk_grey_300 md:table-row md:border-0",4,"ngFor","ngForOf"],[1,"flex","flex-col","border-t","border-tk_grey_300","md:table-row","md:border-0"],[1,"border-tk_grey_300","px-3","pb-2","pt-4","text-left","font-bold","leading-4","md:border-b","md:py-2","md:font-normal","md:leading-5"],[1,"border-tk_grey_300","px-3","py-2","text-left","leading-4","md:border-b","md:leading-5"],[1,"border-tk_grey_300","px-3","pb-4","pt-2","text-left","leading-4","md:border-b","md:py-2","md:leading-5"],[3,"tkObfuscatedEmail",4,"ngIf"],[1,"whitespace-nowrap","border-tk_grey_300","px-3","py-2","text-left","leading-4","md:border-b","md:leading-5"],[3,"tkObfuscatedEmail"]],template:function(l,h){1&l&&r.DNE(0,Mc,13,9,"ng-container",0)},dependencies:[F.Sq,F.bT,Ul.l,Vr.A,Nu.G,uo.bA,js,F.Jj,ea.X],encapsulation:2})}return o})();var hl=f(467),jd=f(3207),Ud=f(5964),rd=f(5648),Tl=f(1735),ps=f(3244);function ta(o,c){if(1&o&&(r.j41(0,"tk-accordion-content",8)(1,"div",9),r.nrm(2,"div",10),r.nI1(3,"tkTrustedHTML"),r.k0s()()),2&o){const s=r.XpG().$implicit,l=r.XpG();r.Y8G("selectedPanelId",null!=l.selectedInfoAccordion?l.selectedInfoAccordion.toString():null),r.R7$(2),r.Y8G("innerHTML",r.bMT(3,2,null==s||null==s.body?null:s.body.value),r.npT)}}function ao(o,c){if(1&o){const s=r.RV6();r.j41(0,"li",2)(1,"button",3),r.bIt("click",function(){const h=r.eBV(s).index,_=r.XpG();return r.Njj(_.changeselectedInfoAccordion(h))}),r.j41(2,"span",4),r.nrm(3,"span",5),r.j41(4,"span",6),r.EFF(5),r.k0s()()(),r.DNE(6,ta,4,4,"tk-accordion-content",7),r.k0s()}if(2&o){const s=c.$implicit,l=c.index,h=r.XpG();r.R7$(2),r.Y8G("id",l),r.R7$(),r.Y8G("ngClass",l===h.selectedInfoAccordion?"transform rotate-0":"transform rotate-180"),r.R7$(2),r.JRh(null==s?null:s.title),r.R7$(),r.Y8G("ngIf",l===h.selectedInfoAccordion)}}let $d=(()=>{class o{constructor(){}changeselectedInfoAccordion(s){this.selectedInfoAccordion=s===this.selectedInfoAccordion?void 0:s}static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-info-accordion"]],inputs:{infos:"infos"},decls:2,vars:1,consts:[[1,"shadow-box","list-none","space-y-4"],["class","panel p-0",4,"ngFor","ngForOf"],[1,"panel","p-0"],["type","button",1,"group","w-full","text-left",3,"click"],[1,"flex","items-center","justify-start","space-x-3","p-4",3,"id"],[1,"size-4","bg-ico-vert-chevron","bg-center","bg-no-repeat","group-hover:-mt-2px",3,"ngClass"],[1,"text-2xs","font-medium","text-tk_grey_900","group-hover:text-tk_text"],[3,"selectedPanelId",4,"ngIf"],[3,"selectedPanelId"],[1,"mx-6","mb-6","md:mx-10"],[1,"page-content",3,"innerHTML"]],template:function(l,h){1&l&&(r.j41(0,"ul",0),r.DNE(1,ao,7,4,"li",1),r.k0s()),2&l&&(r.R7$(),r.Y8G("ngForOf",h.infos))},dependencies:[F.YU,F.Sq,F.bT,ps.V,Vs.T],encapsulation:2})}return o})();function Gu(o,c){if(1&o&&(r.j41(0,"div",7),r.nrm(1,"span",8),r.k0s()),2&o){const s=r.XpG();r.R7$(),r.Y8G("innerHTML",null==s.menu?null:s.menu.name,r.npT)}}function yh(o,c){if(1&o&&(r.j41(0,"div",9),r.nrm(1,"tk-left-menu-accordion",10),r.k0s()),2&o){const s=r.XpG();r.R7$(),r.Y8G("menu",s.menu)}}function ym(o,c){if(1&o&&r.nrm(0,"tk-page-content",11),2&o){const s=r.XpG();r.Y8G("page",s.activeContent)}}function Eh(o,c){if(1&o&&(r.j41(0,"div"),r.nrm(1,"tk-info-accordion",12),r.k0s()),2&o){const s=r.XpG();r.R7$(),r.Y8G("infos",s.activeContent.infoAccordions)}}let zu=(()=>{class o{constructor(s,l,h,_){this.menuService=s,this.contentPageService=l,this.location=h,this.app=_,this.activeUrl=this.location.path(),this._destroy=new ul.B}ngOnDestroy(){this._destroy.next(null)}ngOnInit(){this.uuid&&this.navigate(this.uuid,this.activeUrl)}navigate(s,l){this.contentPageService.getContentPage(s).subscribe(h=>{this.activeContent=h,this.activeUrl=l,this.location.replaceState(l),h?.corMenu&&this.menuService.getMenu(h.corMenu).subscribe(_=>{this.menu=_,this.menuService.setActiveMenu(_)})})}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(nd.$),r.rXU(rd.e),r.rXU(F.aZ),r.rXU(ic.d))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-content-page"]],decls:7,vars:5,consts:[[1,"col-span-12","mx-auto","grid","w-full","max-w-6xl","grid-cols-10","gap-6","px-6","xl:px-0"],[1,"row-span-1","row-start-1"],["class","col-span-12",4,"ngIf"],["class","col-span-3 hidden lg:block",4,"ngIf"],[1,"col-span-12","flex","flex-col","lg:block",3,"ngClass"],["class","page-content",3,"page",4,"ngIf"],[4,"ngIf"],[1,"col-span-12"],[1,"page-title",3,"innerHTML"],[1,"col-span-3","hidden","lg:block"],[3,"menu"],[1,"page-content",3,"page"],[3,"infos"]],template:function(l,h){1&l&&(r.j41(0,"div",0),r.nrm(1,"tk-back-link",1),r.DNE(2,Gu,2,1,"div",2)(3,yh,2,1,"div",3),r.j41(4,"main",4),r.DNE(5,ym,1,1,"tk-page-content",5)(6,Eh,2,1,"div",6),r.k0s()()),2&l&&(r.R7$(2),r.Y8G("ngIf",null==h.menu?null:h.menu.showMenuTitle),r.R7$(),r.Y8G("ngIf",h.menu),r.R7$(),r.Y8G("ngClass",h.menu?"lg:mx-0 lg:col-span-7":""),r.R7$(),r.Y8G("ngIf",h.activeContent),r.R7$(),r.Y8G("ngIf",h.activeContent&&h.activeContent.infoAccordions.length>0))},dependencies:[F.YU,F.bT,Ul.l,Vr.A,Tl.U,$d],styles:[".olMapViewport>div{width:100%}"]})}return o})(),rc=(()=>{class o{constructor(s){this.apollo=s}getEvent(s){return this.apollo.query({query:Tr.J1` query event($uuid: String!) { event(uuid: $uuid) { id uuid title adminLinks { title url { path } } body { value } eventLocation eventDate { startDate endDate } eventTargetGroup { id label } languageSwitchLinks { title url { path } } } } `,variables:{uuid:s}}).pipe((0,hs.T)(l=>l.data.event))}getEventsList(s=10,l,h){return this.apollo.query({query:Tr.J1` query eventList($first: Int, $cursor: Cursor, $filter: EventsFilter) { eventsQuery(first: $first, after: $cursor, filter: $filter) { nodes { id uuid title eventDate { startDate endDate } eventLocation eventTargetGroup { id uuid label } url { path } } pageInfo { endCursor hasNextPage totalCount } } } `,variables:{first:s,cursor:l,filter:h}}).pipe((0,hs.T)(_=>_.data.eventsQuery))}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(Tr.Ic))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var na=f(2614),oc=f(5584);function od(o,c){if(1&o&&(r.j41(0,"span"),r.EFF(1),r.nI1(2,"tkDate"),r.k0s()),2&o){const s=r.XpG().ngIf;r.R7$(),r.SpI("\u2013 ",r.bMT(2,1,null==s.eventDate?null:s.eventDate.endDate),"")}}function ms(o,c){if(1&o&&(r.j41(0,"main",2)(1,"h1",3),r.EFF(2),r.k0s(),r.j41(3,"div",4)(4,"ul",5)(5,"li",6)(6,"span",7),r.EFF(7),r.k0s(),r.j41(8,"span",8),r.EFF(9),r.nI1(10,"tkDate"),r.DNE(11,od,3,3,"span",9),r.k0s()(),r.j41(12,"li",6)(13,"span",7),r.EFF(14),r.k0s(),r.j41(15,"span",8),r.EFF(16),r.k0s()(),r.j41(17,"li")(18,"span",7),r.EFF(19),r.k0s(),r.j41(20,"span",8),r.EFF(21),r.k0s()()(),r.nrm(22,"div",10),r.k0s(),r.nrm(23,"tk-back-link",11),r.k0s()),2&o){const s=c.ngIf,l=r.XpG().$implicit,h=r.XpG();r.Y8G("adminLinks",null==s?null:s.adminLinks),r.R7$(2),r.SpI(" ",null==s?null:s.title," "),r.R7$(5),r.JRh(l("fegeneral/events/item/date")),r.R7$(2),r.SpI("",r.bMT(10,10,null==s.eventDate?null:s.eventDate.startDate)," "),r.R7$(2),r.Y8G("ngIf",(null==s.eventDate?null:s.eventDate.endDate)!=(null==s.eventDate?null:s.eventDate.startDate)),r.R7$(3),r.SpI(" ",l("fegeneral/events/item/targetgroups")," "),r.R7$(2),r.SpI(" ",null==s.eventTargetGroup?null:s.eventTargetGroup.label," "),r.R7$(3),r.SpI(" ",l("fegeneral/events/item/location")," "),r.R7$(2),r.JRh(s.eventLocation),r.R7$(),r.Y8G("innerHTML",h.dangerousHTML(s.body.value),r.npT)}}function ba(o,c){if(1&o&&(r.qex(0),r.DNE(1,ms,24,12,"main",1),r.nI1(2,"async"),r.bVm()),2&o){const s=r.XpG();r.R7$(),r.Y8G("ngIf",r.bMT(2,1,s.event$))}}let Wu=(()=>{class o{constructor(s,l){this.eventService=s,this.sanitizer=l}ngOnInit(){this.event$=this.eventService.getEvent(this.uuid)}dangerousHTML(s){return this.sanitizer.bypassSecurityTrustHtml(s)}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(rc),r.rXU(n.up))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-event-details-page"]],inputs:{uuid:"uuid"},decls:1,vars:0,consts:[[4,"transloco"],["class","col-span-12 mx-auto grid w-full max-w-4xl grid-cols-12 gap-6 px-6 pb-12 pt-6 xl:mx-auto xl:px-0","tkEditable","",3,"adminLinks",4,"ngIf"],["tkEditable","",1,"col-span-12","mx-auto","grid","w-full","max-w-4xl","grid-cols-12","gap-6","px-6","pb-12","pt-6","xl:mx-auto","xl:px-0",3,"adminLinks"],[1,"col-span-12","font-nunito","text-4xl","font-extrabold","tracking-tight","text-tk_grey_900","md:text-4xl"],[1,"col-span-12","flex","flex-col","space-y-4"],[1,"flex","flex-col","space-y-2","text-base","md:flex-row","md:space-y-0"],[1,"w-52","shrink-0"],[1,"block","font-medium","leading-relaxed","text-tk_grey_900"],[1,"block","leading-relaxed","text-tk_grey_900"],[4,"ngIf"],[1,"page-content",3,"innerHTML"],[1,"row-span-1","row-start-1"]],template:function(l,h){1&l&&r.DNE(0,ba,3,3,"ng-container",0)},dependencies:[F.bT,Ul.l,na.y,uo.bA,F.Jj,oc.i],styles:[".image-style-large{width:100%}\n"],encapsulation:2,changeDetection:0})}return o})(),Ku=(()=>{class o{constructor(){this.period=new ul.B,this.period$=this.period.asObservable()}setPeriod(s,l){this.period.next(s||l?{start:s,end:l}:null)}static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),sc=(()=>{class o{constructor(s,l){this.apollo=s,this.dateService=l,this.dateService.period$.subscribe(h=>{this.period=h})}getLatestNews(s=3){return this.apollo.query({query:Tr.J1` query LatestNews($first: Int!) { newsQuery(first: $first) { nodes { body { summary value } title created url { path } } } } `,variables:{first:s}}).pipe((0,hs.T)(l=>l.data.newsQuery.nodes))}getNews(s){return this.apollo.query({query:Tr.J1` query AllNews($first: Int!, $endCursor: Cursor, $period: Period) { newsQuery(first: $first, after: $endCursor, period: $period) { nodes { uuid body { summary value } title created url { path } } pageInfo { endCursor hasNextPage totalCount } } } `,variables:{first:10,endCursor:s,period:this.period}}).pipe((0,hs.T)(l=>l.data.newsQuery))}getArticle(s){return this.apollo.query({query:Tr.J1` query Article($uuid: String!) { news(uuid: $uuid) { id url { path } title created body { summary value } adminLinks { title url { path } } languageSwitchLinks { title url { path } } } } `,variables:{uuid:s}}).pipe((0,hs.T)(l=>l.data.news))}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(Tr.Ic),r.KVO(Ku))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function kc(o,c){if(1&o&&(r.nrm(0,"div",6),r.nI1(1,"tkTrustedHTML")),2&o){const s=r.XpG().ngIf;r.Y8G("innerHTML",r.bMT(1,1,null==s.body?null:s.body.summary),r.npT)}}function ac(o,c){if(1&o&&(r.j41(0,"main",1)(1,"h1",2),r.EFF(2),r.k0s(),r.j41(3,"span",3),r.EFF(4),r.nI1(5,"tkDate"),r.k0s(),r.j41(6,"div",4),r.DNE(7,kc,2,3,"div",5),r.nrm(8,"div",6),r.nI1(9,"tkTrustedHTML"),r.k0s(),r.nrm(10,"tk-back-link",7),r.k0s()),2&o){const s=c.ngIf;r.Y8G("adminLinks",s.adminLinks),r.R7$(2),r.SpI(" ",s.title," "),r.R7$(2),r.SpI("Lisatud ",r.bMT(5,5,s.created),""),r.R7$(3),r.Y8G("ngIf",null==s.body?null:s.body.summary),r.R7$(),r.Y8G("innerHTML",r.bMT(9,7,null==s.body?null:s.body.value),r.npT)}}let Ac=(()=>{class o{constructor(s){this.newsService=s,this.uuid=""}ngOnInit(){var s=this;return(0,hl.A)(function*(){s.uuid&&(s.article$=s.newsService.getArticle(s.uuid))})()}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(sc))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-news-article-page"]],decls:2,vars:3,consts:[["class","col-span-12 grid w-full max-w-4xl grid-cols-12 gap-6 px-6 pb-12 pt-6 xl:mx-auto xl:px-0","tkEditable","",3,"adminLinks",4,"ngIf"],["tkEditable","",1,"col-span-12","grid","w-full","max-w-4xl","grid-cols-12","gap-6","px-6","pb-12","pt-6","xl:mx-auto","xl:px-0",3,"adminLinks"],[1,"col-span-12","font-nunito","text-4xl","font-extrabold","tracking-tight","text-tk_grey_900","md:text-4xl"],[1,"col-span-full","text-tk_grey_700"],[1,"col-span-full"],["class","page-content",3,"innerHTML",4,"ngIf"],[1,"page-content",3,"innerHTML"],[1,"row-span-1","row-start-1"]],template:function(l,h){1&l&&(r.DNE(0,ac,11,9,"main",0),r.nI1(1,"async")),2&l&&r.Y8G("ngIf",r.bMT(1,1,h.article$))},dependencies:[F.bT,Ul.l,na.y,F.Jj,oc.i,Vs.T],encapsulation:2,changeDetection:0})}return o})(),Em=(()=>{class o{constructor(s){this.apollo=s}getServicePage(s){return this.apollo.query({query:Tr.J1` query servicepage($path: String!) { route(path: $path) { ... on ServicePage { id title body { summary value } files { id name ... on MediaFile { fileData { url { path } } } } languageSwitchLinks { title url { path } } adminLinks { title url { path } } infoAccordions { bundle title body { value } } } } } `,variables:{path:s}}).pipe((0,hs.T)(l=>l.data.route))}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(Tr.Ic))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function Hd(o,c){if(1&o&&(r.j41(0,"div",9),r.nrm(1,"tk-left-menu-accordion",10),r.k0s()),2&o){const s=r.XpG();r.R7$(),r.Y8G("menu",s.menu)}}function Oc(o,c){if(1&o&&(r.j41(0,"div"),r.nrm(1,"tk-info-accordion",11),r.k0s()),2&o){const s=r.XpG();r.R7$(),r.Y8G("infos",s.activeContent.infoAccordions)}}let sd=(()=>{class o{constructor(s,l,h,_){this.menuService=s,this.servicePageService=l,this.location=h,this.app=_,this.activeUrl=this.location.path()}ngOnInit(){this.navigate(this.activeUrl),this.menuService.getServicesAndBenefitsMenu().subscribe(s=>{this.menu=s,this.menuService.setActiveMenu(s)})}navigate(s){this.servicePageService.getServicePage(s).subscribe(l=>{this.activeContent=l,this.activeUrl=s,this.location.replaceState(s)})}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(nd.$),r.rXU(Em),r.rXU(F.aZ),r.rXU(ic.d))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-services-and-benefits"]],decls:9,vars:4,consts:[[1,"col-span-12","mx-auto","grid","w-full","max-w-6xl","grid-cols-10","gap-6","px-6","pb-12","pt-6","xl:px-0"],[1,"row-span-1","row-start-1"],[1,"col-span-12"],[1,"page-title",3,"innerHTML"],["class","col-span-3 hidden lg:block",4,"ngIf"],[1,"col-span-12","flex","flex-col","lg:col-span-7","lg:mx-0","lg:block"],[1,"page-content"],[3,"page"],[4,"ngIf"],[1,"col-span-3","hidden","lg:block"],[3,"menu"],[3,"infos"]],template:function(l,h){1&l&&(r.j41(0,"div",0),r.nrm(1,"tk-back-link",1),r.j41(2,"div",2),r.nrm(3,"span",3),r.k0s(),r.DNE(4,Hd,2,1,"div",4),r.j41(5,"main",5)(6,"div",6),r.nrm(7,"tk-page-content",7),r.k0s(),r.DNE(8,Oc,2,1,"div",8),r.k0s()()),2&l&&(r.R7$(3),r.Y8G("innerHTML",null==h.menu?null:h.menu.name,r.npT),r.R7$(),r.Y8G("ngIf",h.menu),r.R7$(3),r.Y8G("page",h.activeContent),r.R7$(),r.Y8G("ngIf",h.activeContent&&h.activeContent.infoAccordions.length>0))},dependencies:[F.bT,Ul.l,Vr.A,Tl.U,$d],encapsulation:2})}return o})();var Cm=f(2092);let Dm=(()=>{class o{constructor(s){this.apollo=s}getServiceLandingPageByPath(s){return this.apollo.query({query:Tr.J1` query ServiceLandingPage($uuid: String!) { serviceLandingPage(uuid: $uuid) { id title backLinkTexts { language value } adminLinks { title url { path } } languageSwitchLinks { title url { path } } servicesTitle additionalInfos { bundle ...additionalInfoWBlocks ...simpleInfoBlock ...simpleInfoBlockWithImage ...eventBlock ...jobSearchBlock } tabs { title description services { title body { value summary } url { path external } adminLinks { title url { path } } files { name ... on MediaFile { fileData { ...fileData } } } } } stepsTitle steps { title description { format summary value } link { title url { path external } } } } } fragment additionalInfoWBlocks on AdditionalInfoWBlocks { title blocks { title link { title url { path external } } description { value } } } fragment simpleInfoBlock on SimpleInfoBlock { title body { value } } fragment simpleInfoBlockWithImage on SimpleInfoBlockWImage { title body { value } image { label image { url { path external } } alt } link { title url { path external } } } fragment jobSearchBlock on JobSearchInfoBlock { jobOffers { edges { id nimetus asutusNimi kandideerimineKp aadressid } illustrativeImages { image { url { path } } } } } fragment eventBlock on EventsInfoBlock { title leftTitle rightTitle nextEvent { ...eventData } importantEvent { ...eventData } } fragment eventData on Event { title body { summary } eventDate { startDate endDate } url { path } } fragment fileData on File { url { path } } `,variables:{uuid:s}}).pipe((0,hs.T)(l=>l.data.serviceLandingPage))}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(Tr.Ic))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Gd=f(2299),pl=f(4872),lc=f(2771);let Rc=(()=>{class o{constructor(){this.selectedService=new lc.m(1),this.selectedTab=new lc.m(1),this.selectedService$=this.selectedService.asObservable(),this.selectedTab$=this.selectedTab.asObservable()}setSelectedService(s){this.selectedService.next(s)}setSelectedTab(s){this.selectedTab.next(s)}static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var $l=f(8964);let Pc=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-step-text-block"]],inputs:{step:"step"},decls:5,vars:6,consts:[[1,"mb-2","text-1xl","font-normal","tracking-tight","lg:text-3-1xl"],[3,"innerHTML"],[3,"text","textClass","iconClass","url"]],template:function(l,h){1&l&&(r.j41(0,"div")(1,"h3",0),r.EFF(2),r.k0s(),r.nrm(3,"div",1),r.k0s(),r.nrm(4,"tk-btn-icon-right",2)),2&l&&(r.R7$(2),r.JRh(null==h.step?null:h.step.title),r.R7$(),r.Y8G("innerHTML",null==h.step||null==h.step.description?null:h.step.description.value,r.npT),r.R7$(),r.Y8G("text",null==h.step||null==h.step.link?null:h.step.link.title)("textClass","step-content-block-title")("iconClass","btn-icon-arrow-right")("url",null==h.step||null==h.step.link?null:h.step.link.url))},dependencies:[$l.n],encapsulation:2})}return o})();function zd(o,c){if(1&o&&(r.j41(0,"h1",4),r.EFF(1),r.k0s()),2&o){const s=r.XpG();r.R7$(),r.JRh(s.service.stepsTitle)}}function xm(o,c){if(1&o&&r.nrm(0,"tk-step-text-block",5),2&o){const s=c.$implicit,l=r.XpG();r.Y8G("ngClass",3===l.service.steps.length?"col-span-4":"col-span-6")("step",s)}}let ad=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-steps"]],inputs:{service:"service"},decls:4,vars:2,consts:[[1,"mx-6","flex","max-w-6xl","flex-col","xl:mx-auto"],["class","page-title",4,"ngIf"],[1,"my-4","space-y-4","lg:grid","lg:grid-cols-12","lg:gap-6","lg:space-y-0"],["class","panel-highlighted flex flex-col justify-between space-y-4",3,"ngClass","step",4,"ngFor","ngForOf"],[1,"page-title"],[1,"panel-highlighted","flex","flex-col","justify-between","space-y-4",3,"ngClass","step"]],template:function(l,h){1&l&&(r.j41(0,"div",0),r.DNE(1,zd,2,1,"h1",1),r.j41(2,"div",2),r.DNE(3,xm,1,2,"tk-step-text-block",3),r.k0s()()),2&l&&(r.R7$(),r.Y8G("ngIf",h.service.stepsTitle),r.R7$(2),r.Y8G("ngForOf",h.service.steps))},dependencies:[F.YU,F.Sq,F.bT,Pc],encapsulation:2})}return o})();const Xu=o=>({"border-b-2 border-tk_brand":o});function Yu(o,c){if(1&o){const s=r.RV6();r.j41(0,"li",3)(1,"p",4),r.bIt("tkClickOrPressEnter",function(){const h=r.eBV(s).index,_=r.XpG();return r.Njj(_.tabService.setSelectedTab(h))}),r.EFF(2),r.k0s()()}if(2&o){const s=c.$implicit,l=c.index,h=r.XpG();r.R7$(),r.Y8G("ngClass",r.eq3(2,Xu,h.selectedTab===l)),r.R7$(),r.SpI(" ",null==s?null:s.title," ")}}let ml=(()=>{class o{constructor(s){this.tabService=s,this.selectedTab=0}ngOnInit(){this.tabService.selectedTab$.subscribe(s=>{this.selectedTab=s})}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(Rc))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-tabs-nav"]],inputs:{tabs:"tabs"},decls:3,vars:1,consts:[[1,"border-b-2","border-tk_grey_300"],[1,"flex","space-x-2px","md:space-x-0"],["class","grow md:grow-0",4,"ngFor","ngForOf"],[1,"grow","md:grow-0"],["tabindex","0",1,"-mb-2px","inline-block","w-full","cursor-pointer","bg-tk_grey_100","px-4","py-2","text-center","text-base","font-bold","leading-5","text-tk_grey_900","md:bg-white","md:text-lg",3,"tkClickOrPressEnter","ngClass"]],template:function(l,h){1&l&&(r.j41(0,"nav",0)(1,"ul",1),r.DNE(2,Yu,3,4,"li",2),r.k0s()()),2&l&&(r.R7$(2),r.Y8G("ngForOf",h.tabs))},dependencies:[F.YU,F.Sq,Ka.M4],encapsulation:2})}return o})();var Ch=f(8596);const Pa=o=>({service:o});function Wd(o,c){if(1&o&&(r.nrm(0,"div",7),r.nI1(1,"tkTrustedHTML")),2&o){const s=r.XpG(2).$implicit;r.Y8G("innerHTML",r.bMT(1,1,null==s?null:s.description),r.npT)}}function Qu(o,c){if(1&o&&r.nrm(0,"tk-file-area",20),2&o){const s=r.XpG(3).$implicit;r.Y8G("files",s.files)}}function Kd(o,c){if(1&o&&(r.j41(0,"tk-accordion-content",14)(1,"div",15)(2,"div",16)(3,"div",17),r.nrm(4,"div",7),r.nI1(5,"tkTrustedHTML"),r.nrm(6,"tk-btn-icon-right",18),r.k0s(),r.DNE(7,Qu,1,1,"tk-file-area",19),r.k0s()()()),2&o){const s=r.XpG().ngIf,l=r.XpG().$implicit,h=r.XpG(3).$implicit;r.Y8G("selectedPanelId",s.service?s.service:null),r.R7$(2),r.Y8G("ngClass",l.files?"grid md:grid-cols-3 gap-6 w-full":" "),r.R7$(2),r.Y8G("innerHTML",r.bMT(5,6,null==l.body?null:l.body.summary),r.npT),r.R7$(2),r.Y8G("text",h("fegeneral/accordionContent/button/readMore"))("url",l.url),r.R7$(),r.Y8G("ngIf",l.files)}}function Xd(o,c){if(1&o){const s=r.RV6();r.qex(0),r.j41(1,"button",9),r.bIt("click",function(){const h=r.eBV(s).ngIf,_=r.XpG().index,D=r.XpG(2).index,L=r.XpG(2);return r.Njj(L.changeSelectedService(L.getServiceId(D,_),h.service))}),r.j41(2,"span",10),r.nrm(3,"span",11),r.j41(4,"span",12),r.EFF(5),r.k0s()()(),r.DNE(6,Kd,8,8,"tk-accordion-content",13),r.bVm()}if(2&o){const s=c.ngIf,l=r.XpG(),h=l.$implicit,_=l.index,D=r.XpG(2).index,L=r.XpG(2);r.R7$(2),r.Y8G("id",L.getServiceId(D,_)),r.R7$(),r.Y8G("ngClass",s.service===L.getServiceId(D,_)?"transform rotate-0":"transform rotate-180"),r.R7$(2),r.JRh(h.title),r.R7$(),r.Y8G("ngIf",s.service===L.getServiceId(D,_))}}function wm(o,c){if(1&o&&(r.j41(0,"li",8),r.DNE(1,Xd,7,4,"ng-container",3),r.nI1(2,"async"),r.k0s()),2&o){const s=r.XpG(4);r.R7$(),r.Y8G("ngIf",r.eq3(3,Pa,r.bMT(2,1,s.selectedService$)))}}function Dh(o,c){if(1&o&&(r.qex(0),r.DNE(1,Wd,2,3,"div",4),r.j41(2,"ul",5),r.DNE(3,wm,3,5,"li",6),r.k0s(),r.bVm()),2&o){const s=r.XpG().$implicit;r.R7$(),r.Y8G("ngIf",null==s?null:s.description),r.R7$(2),r.Y8G("ngForOf",null==s?null:s.services)}}function gl(o,c){if(1&o&&(r.j41(0,"div"),r.DNE(1,Dh,4,2,"ng-container",3),r.k0s()),2&o){const s=c.index,l=r.XpG(2);r.R7$(),r.Y8G("ngIf",s===l.selectedTab)}}function Yd(o,c){if(1&o&&(r.qex(0),r.j41(1,"div",1),r.DNE(2,gl,2,1,"div",2),r.k0s(),r.bVm()),2&o){const s=r.XpG();r.R7$(2),r.Y8G("ngForOf",s.tabs)}}let Qd=(()=>{class o{constructor(s){this.tabService=s,this.selectedTab=0,this.selectedService$=this.tabService.selectedService$}ngOnInit(){this.tabService.selectedTab$.subscribe(s=>{this.selectedTab=s,this.tabs[s]&&1==this.tabs[s]?.services?.length&&this.tabService.setSelectedService(s+"0")})}getServiceId(s,l){return s.toString()+l.toString()}changeSelectedService(s,l){this.tabService.setSelectedService(s==l?null:s)}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(Rc))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-tab-content"]],inputs:{tabs:"tabs"},decls:1,vars:0,consts:[[4,"transloco"],[1,"py-4","md:py-6"],[4,"ngFor","ngForOf"],[4,"ngIf"],["class","page-content",3,"innerHTML",4,"ngIf"],[1,"shadow-box","space-y-4"],["class","panel p-0",4,"ngFor","ngForOf"],[1,"page-content",3,"innerHTML"],[1,"panel","p-0"],["type","button",1,"group","w-full","text-left",3,"click"],[1,"flex","items-center","justify-start","space-x-3","p-4",3,"id"],[1,"size-4","bg-ico-vert-chevron","bg-center","bg-no-repeat","group-hover:-mt-2px",3,"ngClass"],[1,"text-2xs","font-medium","text-tk_grey_900","group-hover:text-tk_text"],[3,"selectedPanelId",4,"ngIf"],[3,"selectedPanelId"],[1,"mx-6","mb-6","md:mx-10"],[3,"ngClass"],[1,"col-span-full","space-y-4","md:col-span-2","md:space-y-8"],["iconClass","inline-block w-4 h-4 ml-2 bg-ico-arrow-right bg-no-repeat bg bg-center","textClass","flex w-full md:w-min h-10 px-5 bg-tk_blue hover:bg-tk_blue_highlighted focus:ring-2 focus:ring-offset-2 outline-none focus:bg-tk_blue_shaded focus:ring-tk_blue_shaded text-white font-bold rounded-full items-center justify-center whitespace-nowrap no-underline",3,"text","url"],["class","tk-file-area-component page-content col-span-full md:col-span-1",3,"files",4,"ngIf"],[1,"tk-file-area-component","page-content","col-span-full","md:col-span-1",3,"files"]],template:function(l,h){1&l&&r.DNE(0,Yd,3,1,"ng-container",0)},dependencies:[F.YU,F.Sq,F.bT,$l.n,Ch.X,ps.V,uo.bA,F.Jj,Vs.T],styles:["@media (max-width: 1024px){.tk-file-area-component[_ngcontent-%COMP%]{display:none}}"]})}return o})();function Ju(o,c){if(1&o&&r.nrm(0,"tk-tabs-nav",5),2&o){const s=r.XpG(2);r.Y8G("tabs",s.service.tabs)}}function cc(o,c){if(1&o&&(r.j41(0,"div",3),r.DNE(1,Ju,1,1,"tk-tabs-nav",4),r.nrm(2,"tk-tab-content",5),r.k0s()),2&o){const s=r.XpG();r.R7$(),r.Y8G("ngIf",s.service.tabs.length>1),r.R7$(),r.Y8G("tabs",s.service.tabs)}}let Fa=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-tabs"]],inputs:{service:"service"},decls:4,vars:2,consts:[[1,"mx-6","flex","max-w-6xl","flex-col","xl:mx-auto"],[1,"landing-page-subtitle"],["class","mb-6",4,"ngIf"],[1,"mb-6"],[3,"tabs",4,"ngIf"],[3,"tabs"]],template:function(l,h){1&l&&(r.j41(0,"div",0)(1,"h2",1),r.EFF(2),r.k0s(),r.DNE(3,cc,3,2,"div",2),r.k0s()),2&l&&(r.R7$(2),r.JRh(h.service.servicesTitle),r.R7$(),r.Y8G("ngIf",h.service.tabs))},dependencies:[F.bT,ml,Qd],encapsulation:2})}return o})();function zi(o,c){if(1&o&&(r.j41(0,"a",6),r.EFF(1),r.nrm(2,"span",7),r.k0s()),2&o){const s=r.XpG().$implicit;r.Y8G("routerLink",null==s.link.url?null:s.link.url.path),r.R7$(),r.SpI(" ",s.link.title," ")}}function ld(o,c){if(1&o&&(r.j41(0,"a",8),r.EFF(1),r.nrm(2,"span",7),r.k0s()),2&o){const s=r.XpG().$implicit;r.Y8G("href",null==s.link.url?null:s.link.url.path,r.B4B),r.R7$(),r.SpI(" ",s.link.title," ")}}function Jd(o,c){if(1&o&&(r.j41(0,"div",1)(1,"div")(2,"h3",2),r.EFF(3),r.k0s(),r.nrm(4,"div",3),r.k0s(),r.DNE(5,zi,3,2,"a",4)(6,ld,3,2,"a",5),r.k0s()),2&o){const s=c.$implicit,l=r.XpG();r.HbH(l.blocks.length%2==0?"col-span-6":"col-span-4"),r.R7$(3),r.JRh(s.title),r.R7$(),r.Y8G("innerHTML",s.description.value,r.npT),r.R7$(),r.Y8G("ngIf",!(null!=s.link.url&&s.link.url.external)),r.R7$(),r.Y8G("ngIf",null==s.link.url?null:s.link.url.external)}}let La=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-content-block"]],inputs:{blocks:"blocks"},decls:1,vars:1,consts:[["class","panel-highlighted flex flex-col justify-between space-y-4",3,"class",4,"ngFor","ngForOf"],[1,"panel-highlighted","flex","flex-col","justify-between","space-y-4"],[1,"mb-2","text-1xl","font-normal","tracking-tight","lg:text-3-1xl"],[1,"page-content",3,"innerHTML"],["class","group flex h-10 items-center justify-center self-end whitespace-nowrap rounded-full pl-4 pr-2 font-bold text-tk_grey_900 outline-none hover:underline focus:ring-2 focus:ring-tk_grey_700 focus:ring-offset-2",3,"routerLink",4,"ngIf"],["target","_blank","class","group flex h-10 items-center justify-center self-end whitespace-nowrap rounded-full pl-4 pr-2 font-bold text-tk_grey_900 outline-none hover:underline focus:ring-2 focus:ring-tk_grey_700 focus:ring-offset-2",3,"href",4,"ngIf"],[1,"group","flex","h-10","items-center","justify-center","self-end","whitespace-nowrap","rounded-full","pl-4","pr-2","font-bold","text-tk_grey_900","outline-none","hover:underline","focus:ring-2","focus:ring-tk_grey_700","focus:ring-offset-2",3,"routerLink"],[1,"bg","ml-2","inline-block","size-4","border-r","border-transparent","bg-ico-hor-chevron","bg-center","bg-no-repeat","group-hover:border-l","group-hover:border-r-0"],["target","_blank",1,"group","flex","h-10","items-center","justify-center","self-end","whitespace-nowrap","rounded-full","pl-4","pr-2","font-bold","text-tk_grey_900","outline-none","hover:underline","focus:ring-2","focus:ring-tk_grey_700","focus:ring-offset-2",3,"href"]],template:function(l,h){1&l&&r.DNE(0,Jd,7,6,"div",0),2&l&&r.Y8G("ngForOf",h.blocks)},dependencies:[F.Sq,F.bT,P.Wk],encapsulation:2})}return o})();function Fc(o,c){if(1&o&&r.nrm(0,"tk-content-block",3),2&o){const s=r.XpG();r.Y8G("blocks",s.additionalInfo.blocks)}}let Fo=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-additional-info-blocks"]],inputs:{additionalInfo:"additionalInfo"},decls:4,vars:2,consts:[[1,"mx-6","mb-4","max-w-6xl","xl:mx-auto"],[1,"landing-page-subtitle"],["class","mb-8 space-y-4 lg:grid lg:grid-cols-12 lg:gap-6 lg:space-y-0",3,"blocks",4,"ngIf"],[1,"mb-8","space-y-4","lg:grid","lg:grid-cols-12","lg:gap-6","lg:space-y-0",3,"blocks"]],template:function(l,h){1&l&&(r.j41(0,"div",0)(1,"h2",1),r.EFF(2),r.k0s(),r.DNE(3,Fc,1,1,"tk-content-block",2),r.k0s()),2&l&&(r.R7$(2),r.SpI(" ",h.additionalInfo.title," "),r.R7$(),r.Y8G("ngIf",h.additionalInfo.blocks))},dependencies:[F.bT,La],encapsulation:2})}return o})();var cd=f(849);const os=()=>["/sundmused"];function Zu(o,c){if(1&o&&(r.j41(0,"span"),r.EFF(1),r.nI1(2,"tkDate"),r.k0s()),2&o){const s=c.ngIf;r.R7$(),r.SpI(" - ",r.i5U(2,1,s,"dd.MM.YYYY")," ")}}function Sm(o,c){if(1&o&&(r.j41(0,"div",8)(1,"h3",9),r.EFF(2),r.k0s(),r.j41(3,"a",10),r.EFF(4),r.nrm(5,"span",11),r.k0s(),r.j41(6,"span",12),r.EFF(7),r.nI1(8,"tkDate"),r.DNE(9,Zu,3,4,"span",13),r.k0s(),r.j41(10,"a",14),r.nI1(11,"localize"),r.EFF(12),r.nrm(13,"span",15),r.k0s()()),2&o){const s=r.XpG(2).$implicit,l=r.XpG();r.R7$(2),r.SpI(" ",l.additionalInfo.leftTitle," "),r.R7$(),r.Y8G("routerLink",null==l.additionalInfo.nextEvent.url?null:l.additionalInfo.nextEvent.url.path),r.R7$(),r.SpI(" ",l.additionalInfo.nextEvent.title,""),r.R7$(3),r.SpI(" ",r.i5U(8,7,null==l.additionalInfo.nextEvent.eventDate?null:l.additionalInfo.nextEvent.eventDate.startDate,"dd.MM.YYYY")," "),r.R7$(2),r.Y8G("ngIf",(null==l.additionalInfo.nextEvent.eventDate?null:l.additionalInfo.nextEvent.eventDate.startDate)!==(null==l.additionalInfo.nextEvent.eventDate?null:l.additionalInfo.nextEvent.eventDate.endDate)&&(null==l.additionalInfo.nextEvent.eventDate?null:l.additionalInfo.nextEvent.eventDate.endDate)),r.R7$(),r.Y8G("routerLink",r.bMT(11,10,r.lJ4(12,os))),r.R7$(2),r.SpI(" ",s("fegeneral/eventsBlock/viewAllEvents")," ")}}function qu(o,c){if(1&o&&(r.j41(0,"span"),r.EFF(1),r.nI1(2,"tkDate"),r.k0s()),2&o){const s=c.ngIf;r.R7$(),r.SpI(" - ",r.i5U(2,1,s,"dd.MM.YYYY")," ")}}function Zd(o,c){if(1&o&&(r.j41(0,"div",8)(1,"h3",9),r.EFF(2),r.k0s(),r.j41(3,"a",10),r.EFF(4),r.nrm(5,"span",11),r.k0s(),r.j41(6,"span",12),r.EFF(7),r.nI1(8,"tkDate"),r.DNE(9,qu,3,4,"span",13),r.k0s(),r.j41(10,"a",14),r.nI1(11,"localize"),r.EFF(12),r.nrm(13,"span",15),r.k0s()()),2&o){const s=r.XpG(2).$implicit,l=r.XpG();r.R7$(2),r.SpI(" ",l.additionalInfo.rightTitle," "),r.R7$(),r.Y8G("routerLink",null==l.additionalInfo.importantEvent.url?null:l.additionalInfo.importantEvent.url.path),r.R7$(),r.SpI(" ",l.additionalInfo.importantEvent.title,""),r.R7$(3),r.SpI(" ",r.i5U(8,7,null==l.additionalInfo.importantEvent.eventDate?null:l.additionalInfo.importantEvent.eventDate.startDate,"dd.MM.YYYY")," "),r.R7$(2),r.Y8G("ngIf",(null==l.additionalInfo.importantEvent.eventDate?null:l.additionalInfo.importantEvent.eventDate.startDate)!==(null==l.additionalInfo.importantEvent.eventDate?null:l.additionalInfo.importantEvent.eventDate.endDate)&&(null==l.additionalInfo.importantEvent.eventDate?null:l.additionalInfo.importantEvent.eventDate.endDate)),r.R7$(),r.Y8G("routerLink",r.bMT(11,10,r.lJ4(12,os))),r.R7$(2),r.SpI(" ",s("fegeneral/eventsBlock/viewAllEvents")," ")}}function xh(o,c){if(1&o&&(r.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"h2",5),r.EFF(4),r.k0s(),r.j41(5,"div",6),r.DNE(6,Sm,14,13,"div",7)(7,Zd,14,13,"div",7),r.k0s()()()()),2&o){const s=r.XpG(2);r.R7$(4),r.SpI(" ",s.additionalInfo.title," "),r.R7$(2),r.Y8G("ngIf",s.additionalInfo.nextEvent),r.R7$(),r.Y8G("ngIf",s.additionalInfo.importantEvent)}}function wh(o,c){if(1&o&&(r.qex(0),r.DNE(1,xh,8,3,"div",1),r.bVm()),2&o){const s=r.XpG();r.R7$(),r.Y8G("ngIf",s.additionalInfo.nextEvent||s.additionalInfo.importantEvent)}}let ef=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-additional-info-events"]],inputs:{additionalInfo:"additionalInfo"},decls:1,vars:0,consts:[[4,"transloco"],["style","background-color: #0a2049","class","bg-center bg-no-repeat",4,"ngIf"],[1,"bg-center","bg-no-repeat",2,"background-color","#0a2049"],[1,"max-w-6xl","py-6","md:pb-24","md:pt-10","xl:mx-auto"],[1,"mx-6","flex","max-w-6xl","flex-col","xl:mx-auto"],[1,"pb-4","pt-6","font-nunito","text-3-1xl","font-extrabold","leading-tight","text-white","lg:text-4-1xl"],[1,"grid","grid-cols-4","gap-6","md:grid-cols-12"],["class","col-span-6 flex flex-col rounded-md bg-white p-6 md:px-6 md:py-8",4,"ngIf"],[1,"col-span-6","flex","flex-col","rounded-md","bg-white","p-6","md:px-6","md:py-8"],[1,"mb-4","font-nunito","text-2xl","font-extrabold","leading-9","md:text-4xl"],[1,"group","mb-1","text-base","leading-6","text-tk_grey_900","hover:underline","md:text-xl",3,"routerLink"],[1,"ml-2","inline-block","size-4","border-r","border-transparent","bg-ico-hor-chevron","bg-center","bg-no-repeat","group-hover:border-l","group-hover:border-r-0"],[1,"text-tk_grey_700"],[4,"ngIf"],[1,"group","-mb-3","-mr-3","mt-4","flex","h-10","items-center","justify-center","self-end","whitespace-nowrap","rounded-full","pl-4","pr-2","text-sm","font-bold","text-tk_text","outline-none","hover:underline","focus:ring-2","focus:ring-tk_grey_700","focus:ring-offset-2",3,"routerLink"],[1,"bg","ml-2","inline-block","size-4","border-r","border-transparent","bg-ico-hor-chevron","bg-center","bg-no-repeat","group-hover:border-l","group-hover:border-r-0"]],template:function(l,h){1&l&&r.DNE(0,wh,2,1,"ng-container",0)},dependencies:[F.bT,P.Wk,uo.bA,cd.t,oc.i],encapsulation:2})}return o})();var qd=f(2680),fo=f(9417),Mo=f(7673),tf=f(8793),nf=f(8141),eu=f(152),Tm=f(3294),Sh=f(5558),Hl=f(2510),Th=f(9213);const Mh=o=>({vacancies:o}),Ih=o=>({"rounded-b-none":o});function kh(o,c){1&o&&r.EFF(0),2&o&&r.SpI(" ",c.item.label," ")}function ya(o,c){1&o&&r.EFF(0),2&o&&r.SpI(" ",c.item.location," ")}function __(o,c){if(1&o&&(r.j41(0,"div",15)(1,"span"),r.EFF(2),r.k0s(),r.j41(3,"span",16),r.EFF(4),r.k0s()()),2&o){const s=c.item;r.R7$(2),r.JRh(s.location),r.R7$(2),r.JRh(s.locationArea)}}function rf(o,c){if(1&o&&(r.j41(0,"span",24),r.EFF(1),r.k0s()),2&o){const s=c.$implicit,l=r.XpG(4);r.R7$(),r.SpI(" ",l.trimAddress(s)," ")}}function Mm(o,c){if(1&o&&(r.j41(0,"a",19),r.nI1(1,"localize"),r.nrm(2,"img",20),r.j41(3,"div",21)(4,"h3",22),r.EFF(5),r.nI1(6,"capitalizeFirstLetter"),r.k0s(),r.j41(7,"span",23),r.EFF(8),r.nI1(9,"tkDate"),r.k0s(),r.j41(10,"span",24),r.EFF(11),r.k0s(),r.DNE(12,rf,2,1,"span",25),r.k0s()()),2&o){const s=c.$implicit,l=c.index,h=r.XpG(2).$implicit,_=r.XpG();r.Y8G("routerLink",r.bMT(1,8,"/toopakkumised/"+s.id)),r.R7$(2),r.Y8G("src",_.illustrationUrls[l],r.B4B)("alt",s.nimetus),r.R7$(3),r.SpI(" ",r.bMT(6,10,s.nimetus)," "),r.R7$(3),r.Lme(" ",h("joboffer.fejoboffer/quicksearch/item/application_deadline")," : ",r.bMT(9,12,s.kandideerimineKp)," "),r.R7$(3),r.JRh(s.asutusNimi),r.R7$(),r.Y8G("ngForOf",s.aadressid)}}function sf(o,c){if(1&o&&(r.j41(0,"div",17),r.DNE(1,Mm,13,14,"a",18),r.k0s()),2&o){const s=r.XpG(2);r.R7$(),r.Y8G("ngForOf",s.jobOffers)}}function Qa(o,c){if(1&o){const s=r.RV6();r.qex(0),r.j41(1,"div",2)(2,"h2",3),r.EFF(3),r.k0s(),r.j41(4,"form",4),r.bIt("submit",function(){r.eBV(s);const h=r.XpG();return r.Njj(h.search())}),r.j41(5,"div",5)(6,"div",6),r.nrm(7,"input",7),r.j41(8,"ng-select",8,0),r.nI1(10,"async"),r.DNE(11,kh,1,1,"ng-template",9)(12,ya,1,1,"ng-template",10)(13,__,5,2,"ng-template",11),r.k0s()(),r.j41(14,"button",12),r.EFF(15),r.j41(16,"mat-icon",13),r.EFF(17,"search"),r.k0s()()()(),r.DNE(18,sf,2,1,"div",14),r.k0s(),r.bVm()}if(2&o){const s=c.$implicit,l=r.sdS(9),h=r.XpG();r.R7$(3),r.SpI(" ",h.vacancies?s("joboffer.fejoboffer/quicksearch/title/numeric",r.eq3(18,Mh,h.vacancies)):s("joboffer.fejoboffer/quicksearch/title",r.eq3(20,Mh,h.vacancies))," "),r.R7$(),r.Y8G("formGroup",h.searchForm),r.R7$(2),r.Y8G("ngClass",r.eq3(22,Ih,l.isOpen)),r.R7$(),r.FS9("placeholder",s("joboffer.fejoboffer/quicksearch/search/placeholder")),r.R7$(),r.FS9("clearAllText",s("joboffer.fejoboffer/quicksearch/locations/clearAll")),r.FS9("loadingText",s("joboffer.fejoboffer/quicksearch/locations/loading")),r.FS9("notFoundText",s("joboffer.fejoboffer/quicksearch/locations/notFound")),r.FS9("typeToSearchText",s("joboffer.fejoboffer/quicksearch/locations/typeToSearch")),r.FS9("placeholder",s("joboffer.fejoboffer/quicksearch/locations/placeholder")),r.Y8G("items",r.bMT(10,16,h.locations$))("typeahead",h.autocompleteTrigger)("minTermLength",2)("loading",h.locationsLoading),r.BMQ("aria-label",s("joboffer.fejoboffer/quicksearch/locations/placeholder")),r.R7$(7),r.SpI(" ",s("joboffer.fejoboffer/quicksearch/button/search")," "),r.R7$(3),r.Y8G("ngIf",h.jobOffers.length>0)}}let tu=(()=>{class o{constructor(s,l,h,_,D){this.router=s,this.apollo=l,this.localizedRouterService=h,this._doc=_,this.translateService=D,this.jobOffers=[],this.illustrationUrls=[],this.locations$=(0,Mo.of)([]),this.autocompleteTrigger=new ul.B,this.searchForm=new fo.J3({otsisona:new fo.hs,asukohad:new fo.hs,eestiToopakkumine:new fo.hs(1)}),this.locationsLoading=!1}ngOnInit(){this.loadLocations()}ngAfterViewInit(){this.addLocationSelectBoxAriaLabel()}search(){this.router.navigate([this.localizedRouterService.translateRoute("/toopakkumised")],{queryParams:this.searchForm.value})}loadLocations(){this.locations$=(0,tf.x)((0,Mo.of)([]),this.autocompleteTrigger.pipe((0,nf.M)(()=>this.locationsLoading=!0),(0,eu.B)(200),(0,Tm.F)(),(0,Sh.n)(s=>this.fetchLocations(s).pipe((0,Tc.W)(()=>(0,Mo.of)([])),(0,nf.M)(()=>this.locationsLoading=!1)))))}fetchLocations(s){return s?this.apollo.query({query:Tr.J1` query jobBlockLocations($searchKey: String!) { LocationAutocompleteQuery(searchKey: $searchKey) { label locations { key location locationArea } } } `,variables:{searchKey:s}}).pipe((0,hs.T)(l=>l.data.LocationAutocompleteQuery)):(0,Mo.of)([])}trimAddress(s){return s?s.split(",").slice(0,2).map(l=>l.trim()).join(", "):""}addLocationSelectBoxAriaLabel(){const s=this._doc.querySelector("ng-select div[role=combobox] input[type=text]");this.translateService.selectTranslate("fejoboffer/quicksearch/locations/ariaLabel",{},{scope:"joboffer"}).pipe((0,nf.M)(l=>s?.setAttribute("aria-label",l))).subscribe()}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(P.Ix),r.rXU(Tr.Ic),r.rXU(ga.QG),r.rXU(F.qQ),r.rXU(uo.JO))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-job-search-block"]],inputs:{vacancies:"vacancies",jobOffers:"jobOffers",illustrationUrls:"illustrationUrls"},features:[r.Jv_([(0,uo.bF)("joboffer")])],decls:1,vars:0,consts:[["selectElement",""],[4,"transloco"],[1,"mx-6","mb-4","flex","max-w-6xl","flex-col","xl:mx-auto"],[1,"pb-4","pt-6","font-nunito","text-3-1xl","font-extrabold","leading-tight","text-tk_brand","lg:text-4-1xl"],["action","",3,"submit","formGroup"],[1,"tkSelect","mb-6","flex","flex-col","md:flex-row","md:rounded-md","md:border","md:border-solid","md:border-tk_input_border"],[1,"z-30","flex","grow","flex-col","rounded-md","border","border-solid","border-tk_input_border","md:flex-row","md:border-0",3,"ngClass"],["type","text","formControlName","otsisona",1,"z-30","m-0","flex","grow","rounded-t-md","border-0","border-b","border-tk_input_border","bg-transparent","font-normal","focus:ring-tk_blue","md:w-4/6","md:rounded-none","md:rounded-l-md","md:border-b-0","md:border-r","md:text-lg",3,"placeholder"],["groupBy","locations","formControlName","asukohad","bindLabel","location","bindValue","key",1,"ng-select","rounded-mb","job-search-select","size-full","h-full","grow","cursor-pointer","border-0","border-tk_input_border","focus-within:border-tk_blue","md:w-1/3",3,"items","typeahead","minTermLength","loading","clearAllText","loadingText","notFoundText","typeToSearchText","placeholder"],["ng-optgroup-tmp",""],["ng-label-tmp",""],["ng-option-tmp",""],[1,"btn","btn-primary","btn-lg","my-2","flex","justify-center","md:m-2"],[1,"-mr-1","ml-2"],["class","mb-4 grid grid-cols-4 grid-rows-3 gap-6 lg:grid-cols-12 lg:grid-rows-1",4,"ngIf"],[1,"flex","flex-row","justify-between"],[1,"text-tk_grey_500"],[1,"mb-4","grid","grid-cols-4","grid-rows-3","gap-6","lg:grid-cols-12","lg:grid-rows-1"],["class","group col-span-4 row-span-1 flex flex-col",3,"routerLink",4,"ngFor","ngForOf"],[1,"group","col-span-4","row-span-1","flex","flex-col",3,"routerLink"],[1,"rounded-t-md","object-cover",3,"src","alt"],[1,"flex","flex-col","justify-self-stretch","rounded-b-md","border-2","border-t-0","border-tk_grey_300","bg-white","px-6","py-8","transition","group-hover:border-tk_grey_500"],[1,"flex","h-13","flex-col","justify-center","text-2xl","font-medium","leading-7","text-tk_text"],[1,"mb-2","text-base","text-tk_grey_700"],[1,"block","text-base","text-tk_text"],["class","block text-base text-tk_text",4,"ngFor","ngForOf"]],template:function(l,h){1&l&&r.DNE(0,Qa,19,24,"ng-container",1)},dependencies:[F.YU,F.Sq,F.bT,P.Wk,Hl.vr,Hl.bh,Hl.Uq,Hl.ZZ,fo.qT,fo.me,fo.BC,fo.cb,fo.j4,fo.JD,uo.bA,Th.An,F.Jj,cd.t,ea.X,oc.i],encapsulation:2})}return o})();const Ja=()=>[];let af=(()=>{class o{constructor(s){this.jobOffersService=s,this.statistics$=this.jobOffersService.getSearchStatistics({eestiToopakkumine:1})}getIllustrations(){const s=this.additionalInfo.jobOffers?.illustrativeImages;return s?s.map(l=>l?.image?.url?.path).filter(l=>null!=l):[]}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(qd.A))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-additional-info-job-search"]],inputs:{additionalInfo:"additionalInfo"},decls:2,vars:6,consts:[[3,"vacancies","illustrationUrls","jobOffers"]],template:function(l,h){if(1&l&&(r.nrm(0,"tk-job-search-block",0),r.nI1(1,"async")),2&l){let _,D;r.Y8G("vacancies",null!==(_=null==(_=r.bMT(1,3,h.statistics$))?null:_.tookohti)&&void 0!==_?_:0)("illustrationUrls",h.getIllustrations())("jobOffers",null!==(D=null==h.additionalInfo.jobOffers?null:h.additionalInfo.jobOffers.edges)&&void 0!==D?D:r.lJ4(5,Ja))}},dependencies:[tu,F.Jj],encapsulation:2})}return o})(),Ah=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-additional-info-text"]],inputs:{additionalInfo:"additionalInfo"},decls:6,vars:2,consts:[[1,"mx-6","flex","max-w-6xl","flex-col","xl:mx-auto"],[1,"landing-page-subtitle"],[1,"grid","w-full","gap-6","lg:grid-cols-3"],[1,"col-span-full","space-y-4","md:space-y-8"],[1,"page-content",3,"innerHTML"]],template:function(l,h){1&l&&(r.j41(0,"div",0)(1,"h2",1),r.EFF(2),r.k0s(),r.j41(3,"div",2)(4,"div",3),r.nrm(5,"div",4),r.k0s()()()),2&l&&(r.R7$(2),r.SpI(" ",h.additionalInfo.title," "),r.R7$(3),r.Y8G("innerHTML",h.additionalInfo.body.value,r.npT))},encapsulation:2})}return o})();function lf(o,c){if(1&o&&(r.j41(0,"a",8),r.EFF(1),r.nrm(2,"span",9),r.k0s()),2&o){const s=r.XpG();r.Y8G("routerLink",null==s.additionalInfo.link||null==s.additionalInfo.link.url?null:s.additionalInfo.link.url.path),r.R7$(),r.SpI(" ",null==s.additionalInfo.link?null:s.additionalInfo.link.title," ")}}let cf=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-additional-info-text-image"]],inputs:{additionalInfo:"additionalInfo"},decls:9,vars:5,consts:[[1,"mx-6","my-2","flex","max-w-6xl","flex-col","xl:mx-auto"],[1,"landing-page-subtitle"],[1,"mb-4","grid","gap-6","space-y-4","py-2","md:grid-cols-12","lg:space-y-0","lg:py-8"],[1,"col-span-12","flex","flex-col","justify-between","space-y-4","md:col-span-4"],[1,"w-full",3,"src","alt"],[1,"col-span-12","flex","flex-col","justify-center","space-y-4","md:col-span-8"],[1,"page-content",3,"innerHTML"],["class","flex h-10 w-full items-center justify-center whitespace-nowrap rounded-full bg-tk_blue px-5 font-bold text-white outline-none hover:bg-tk_blue_highlighted focus:bg-tk_blue_shaded focus:ring-2 focus:ring-tk_blue_shaded focus:ring-offset-2 md:w-min",3,"routerLink",4,"ngIf"],[1,"flex","h-10","w-full","items-center","justify-center","whitespace-nowrap","rounded-full","bg-tk_blue","px-5","font-bold","text-white","outline-none","hover:bg-tk_blue_highlighted","focus:bg-tk_blue_shaded","focus:ring-2","focus:ring-tk_blue_shaded","focus:ring-offset-2","md:w-min",3,"routerLink"],[1,"bg","ml-2","inline-block","size-4","bg-ico-arrow-right","bg-center","bg-no-repeat"]],template:function(l,h){1&l&&(r.j41(0,"div",0)(1,"h2",1),r.EFF(2),r.k0s(),r.j41(3,"div",2)(4,"div",3),r.nrm(5,"img",4),r.k0s(),r.j41(6,"div",5),r.nrm(7,"div",6),r.DNE(8,lf,3,2,"a",7),r.k0s()()()),2&l&&(r.R7$(2),r.JRh(h.additionalInfo.title),r.R7$(3),r.Y8G("src",null==h.additionalInfo.image.image||null==h.additionalInfo.image.image.url?null:h.additionalInfo.image.image.url.path,r.B4B)("alt",h.additionalInfo.image.alt),r.R7$(2),r.Y8G("innerHTML",h.additionalInfo.body.value,r.npT),r.R7$(),r.Y8G("ngIf",null==h.additionalInfo.link?null:h.additionalInfo.link.url))},dependencies:[F.bT,P.Wk],encapsulation:2})}return o})(),dd=(()=>{class o{static#e=this.onlyText="additional_info_block_only_text";static#t=this.blocks="service_page_additional_info";static#n=this.withImage="additional_info_block_with_image";static#i=this.events="service_page_events";static#r=this.jobSearch="job_offers_block"}return o})();const Ml=["additionalContainer"];function Lc(o,c){}let v_=(()=>{class o{constructor(){this.bundleToComponentMap={[dd.onlyText]:Ah,[dd.withImage]:cf,[dd.blocks]:Fo,[dd.events]:ef,[dd.jobSearch]:af}}ngOnInit(){this.renderAdditionalInfoComponents()}renderAdditionalInfoComponents(){for(const s of this.additionalInfos){if(!s)continue;const l=this.createComponentFromInfo(s);if(!l)return;this.container.insert(l.hostView)}}createComponentFromInfo(s){const l=this.bundleToComponentMap[s.bundle];if(!l)return null;const h=this.container.createComponent(l);return h.instance.additionalInfo=s,h}static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-additional-info"]],viewQuery:function(l,h){if(1&l&&r.GBs(Ml,7,r.c1b),2&l){let _;r.mGM(_=r.lsd())&&(h.container=_.first)}},inputs:{additionalInfos:"additionalInfos"},decls:3,vars:0,consts:[["additionalContainer",""]],template:function(l,h){1&l&&(r.j41(0,"div"),r.DNE(1,Lc,0,0,"ng-template",null,0,r.C5r),r.k0s())},encapsulation:2})}return o})();function Oh(o,c){if(1&o&&r.nrm(0,"tk-additional-info",4),2&o){const s=r.XpG(2);r.Y8G("additionalInfos",s.service.additionalInfos)}}function Nc(o,c){if(1&o&&(r.j41(0,"div",1),r.nrm(1,"tk-steps",2)(2,"tk-tabs",2),r.DNE(3,Oh,1,1,"tk-additional-info",3),r.k0s()),2&o){const s=r.XpG();r.Y8G("adminLinks",s.service.adminLinks),r.R7$(),r.Y8G("service",s.service),r.R7$(),r.Y8G("service",s.service),r.R7$(),r.Y8G("ngIf",s.service.additionalInfos)}}let ud=(()=>{class o{constructor(s,l,h,_,D,L){this.landingService=s,this.app=l,this.backlinkService=h,this.routerService=_,this.tabsService=D,this.errorService=L,this.tabState={selectedTab:null,selectedService:null},this.tabSubscriptions=[]}ngOnInit(){var s=this;return(0,hl.A)(function*(){if(s.restoreStateFromRouteState(),s.subscribeToTabState(),!s.service){const l=yield(0,jd.s)(s.landingService.getServiceLandingPageByPath(s.uuid)).catch(()=>{s.errorService.handleMinorError("Could not load service landing page")});l&&(s.service=l)}s.applyBacklinkToRouteEvents()})()}ngOnDestroy(){this.unSubscribeFromTabState()}applyBacklinkToRouteEvents(){this.routerService.navStartEvent$.subscribe(()=>{this.registerBackLink()})}subscribeToTabState(){this.tabSubscriptions.push(this.tabsService.selectedTab$.subscribe(s=>this.tabState.selectedTab=s),this.tabsService.selectedService$.subscribe(s=>this.tabState.selectedService=s))}unSubscribeFromTabState(){this.tabSubscriptions.forEach(s=>s.unsubscribe())}registerBackLink(){const s=new Array;this.service.backLinkTexts?.forEach(l=>{const h={language:l.language,translation:l.value,url:this.service.languageSwitchLinks?.find(_=>_&&l.language===Cm.A[_.title])?.url?.path};s.push(h)}),this.backlinkService.setLinkWithTranslations(s,{service:this.service,tabState:this.tabState})}restoreStateFromRouteState(){const s=this.currentNavigation?.extras?.state;this.tabsService.setSelectedTab(0),this.tabsService.setSelectedService(null),s&&(Object.assign(this,s),this.tabsService.setSelectedTab(s.tabState?.selectedTab),this.tabsService.setSelectedService(s.tabState?.selectedService))}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(Dm),r.rXU(ic.d),r.rXU(Gd.t),r.rXU(pl.H),r.rXU(Rc),r.rXU(li.I))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-service-landing-page"]],inputs:{uuid:"uuid",path:"path"},decls:1,vars:1,consts:[["class","col-span-12 pb-12 pt-6","tkEditable","",3,"adminLinks",4,"ngIf"],["tkEditable","",1,"col-span-12","pb-12","pt-6",3,"adminLinks"],[3,"service"],[3,"additionalInfos",4,"ngIf"],[3,"additionalInfos"]],template:function(l,h){1&l&&r.DNE(0,Nc,4,4,"div",0),2&l&&r.Y8G("ngIf",h.service)},dependencies:[F.bT,na.y,ad,Fa,v_],encapsulation:2})}return o})(),df=(()=>{class o{constructor(s){this.viewRef=s}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(r.c1b))};static#t=this.\u0275dir=r.FsC({type:o,selectors:[["","tkDynamic",""]]})}return o})(),Im=(()=>{class o{constructor(s){this.apollo=s}getContentTypeFromPath(s){return this.apollo.query({query:Tr.J1` query RouteQuery($path: String!) { route(path: $path) { id uuid url { path } language { id } __typename ... on Node { metatags { tag attributes } languageSwitchLinks { url { path external } title } } } } `,variables:{path:s},errorPolicy:"all"}).pipe((0,hs.T)(l=>{if(l.errors)throw l.errors;return l.data?.route}))}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(Tr.Ic))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var uf=f(3855);function _l(o,c){}let Rh=(()=>{class o{constructor(s,l,h,_,D,L,H,K){this.componentService=s,this.router=l,this.appService=h,this.server=_,this.errorService=D,this.translateService=L,this.metaService=H,this.location=K,this.destroyed=new ul.B,this.currentNavigation=this.router.getCurrentNavigation(),this.componentMap={undefined:Fd.z,ServicePage:sd,ServiceLandingPage:ud,ContentPage:zu,Event:Wu,ErrorPage:Fd.z,News:Ac}}ngOnInit(){var s=this;return(0,hl.A)(function*(){yield s.renderPageFromUrl(s.location.path()),s.listenToNavigationEnd().subscribe(function(){var l=(0,hl.A)(function*(h){s.dynHost.viewRef.clear(),s.currentNavigation=s.router.getCurrentNavigation(),yield s.renderPageFromUrl(h.url)});return function(h){return l.apply(this,arguments)}}())})()}ngOnDestroy(){this.destroyed.next(null),this.destroyed.complete()}listenToNavigationEnd(){return this.router.events.pipe((0,Ud.p)(s=>s instanceof P.wF),(0,Wa.Q)(this.destroyed))}renderPageFromUrl(s){var l=this;return(0,hl.A)(function*(){let h;try{h=yield(0,jd.s)(l.componentService.getContentTypeFromPath(s)),h?.languageSwitchLinks&&l.appService.setLanguageSwitchLinks(h.languageSwitchLinks),h?.metatags&&l.metaService.setMetatags(h.metatags),l.redirectOnRouteMismatch(h)}catch(L){if(L?.length>0)return l.errorService.handleMinorError("Could not load component "+s),void l.server.setStatusCode(500);console.log("Couldn't get a component",{error:L}),l.server.setStatusCode(404),h={__typename:"ErrorPage",uuid:""}}if(!h)return console.log("Couldn't find component type for path",s),l.server.setStatusCode(404),void l.errorService.handleMinorError("Page not found");const _=l.mapContentTypeToPageComponent(h?.__typename),D=l.renderPageComponent(_);D.instance.path=s,D.instance.uuid=h.uuid,D.instance.currentNavigation=l.currentNavigation})()}renderPageComponent(s){const l=this.dynHost.viewRef;return l.clear(),l.createComponent(s)}mapContentTypeToPageComponent(s){let l=this.componentMap[s];return l||(console.log("Couldn't find page for type",s),l=Fd.z),l}redirectOnRouteMismatch(s){const l=s?.url?.path,h=s?.language?.id;l!==this.location.path()&&h===this.translateService.getActiveLang()&&l&&this.server.redirect(l,301)}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(Im),r.rXU(P.Ix),r.rXU(ic.d),r.rXU(nc),r.rXU(li.I),r.rXU(uo.JO),r.rXU(pr.R),r.rXU(F.aZ))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-dynamic-page"]],viewQuery:function(l,h){if(1&l&&r.GBs(df,7),2&l){let _;r.mGM(_=r.lsd())&&(h.dynHost=_.first)}},decls:1,vars:1,consts:[["tkDynamic","","tkErrorOutput","",3,"minor"]],template:function(l,h){1&l&&r.DNE(0,_l,0,0,"ng-template",0),2&l&&r.Y8G("minor",!0)},dependencies:[uf.z,df],styles:["[_nghost-%COMP%] > *{grid-column:span 10 / span 10;display:grid;width:100%;grid-template-columns:repeat(10,minmax(0,1fr));gap:1.5rem;padding-top:1.5rem;padding-bottom:3rem}@media (min-width: 1200px){[_nghost-%COMP%] > *{margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}}"]})}return o})();var fd=f(6703);const hd=()=>["/sundmused"],km=()=>["/sundmused/arhiiv"];function Ph(o,c){if(1&o&&(r.j41(0,"span"),r.EFF(1),r.nI1(2,"tkDate"),r.k0s()),2&o){const s=r.XpG().$implicit;r.R7$(),r.SpI(" \u2013 ",r.bMT(2,1,null==s.eventDate?null:s.eventDate.endDate),"")}}function ff(o,c){if(1&o&&(r.j41(0,"span",17),r.EFF(1),r.k0s()),2&o){const s=r.XpG().$implicit;r.R7$(),r.JRh(s.eventTargetGroup.label)}}function pd(o,c){if(1&o){const s=r.RV6();r.j41(0,"div",11)(1,"h2",12),r.EFF(2),r.k0s(),r.j41(3,"div",13)(4,"ul",14)(5,"li",15)(6,"span",16),r.EFF(7),r.k0s(),r.j41(8,"span",17),r.EFF(9),r.nI1(10,"tkDate"),r.DNE(11,Ph,3,3,"span",9),r.k0s()(),r.j41(12,"li",15)(13,"span",16),r.EFF(14),r.k0s(),r.DNE(15,ff,2,1,"span",18),r.k0s(),r.j41(16,"li")(17,"span",16),r.EFF(18),r.k0s(),r.j41(19,"span",17),r.EFF(20),r.k0s()()(),r.j41(21,"a",19),r.bIt("click",function(h){const _=r.eBV(s).$implicit;return r.XpG(2).goToEvent(_),r.Njj(h.preventDefault())}),r.EFF(22),r.nrm(23,"span",20),r.k0s()()()}if(2&o){const s=c.$implicit,l=r.XpG().$implicit;r.R7$(2),r.JRh(s.title),r.R7$(5),r.SpI(" ",l("fegeneral/events/item/date"),""),r.R7$(2),r.JRh(r.bMT(10,10,null==s.eventDate?null:s.eventDate.startDate)),r.R7$(2),r.Y8G("ngIf",(null==s.eventDate?null:s.eventDate.endDate)!=(null==s.eventDate?null:s.eventDate.startDate)),r.R7$(3),r.SpI(" ",l("fegeneral/events/item/targetgroups")," "),r.R7$(),r.Y8G("ngIf",s.eventTargetGroup),r.R7$(3),r.SpI(" ",l("fegeneral/events/item/location")," "),r.R7$(2),r.JRh(s.eventLocation),r.R7$(),r.Y8G("routerLink",null==s||null==s.url?null:s.url.path),r.R7$(),r.SpI(" ",l("fegeneral/events/item/readmore")," ")}}function md(o,c){1&o&&(r.j41(0,"div"),r.EFF(1,"S\xfcndmusi ei leitud"),r.k0s())}function hf(o,c){if(1&o){const s=r.RV6();r.qex(0),r.j41(1,"main",1),r.nrm(2,"tk-back-link",2),r.j41(3,"div",3)(4,"h1",4),r.EFF(5),r.k0s(),r.j41(6,"div",5)(7,"a",6),r.nI1(8,"localize"),r.EFF(9),r.k0s()()(),r.j41(10,"div",7),r.DNE(11,pd,24,12,"div",8)(12,md,2,0,"div",9),r.j41(13,"tk-load-more",10),r.bIt("click",function(){r.eBV(s);const h=r.XpG();return r.Njj(!h.loading&&h.loadMore())}),r.k0s()()(),r.bVm()}if(2&o){const s=c.$implicit,l=r.XpG();r.R7$(5),r.SpI(" ",s("fegeneral/events/title")," "),r.R7$(2),r.Y8G("routerLink",r.bMT(8,7,l.pastEvents?r.lJ4(9,hd):r.lJ4(10,km))),r.R7$(2),r.JRh(s(l.pastEvents?"fegeneral/events/filter/upcoming":"fegeneral/events/filter/pastevents")),r.R7$(2),r.Y8G("ngForOf",l.events),r.R7$(),r.Y8G("ngIf",!(l.loading||null!=l.events&&l.events.length)),r.R7$(),r.Y8G("loading",l.loading)("pageInfo",l.pageInfo)}}let Lh=(()=>{class o{constructor(s,l,h,_,D,L,H){this.eventService=s,this.router=l,this.routerService=h,this.activatedRoute=_,this.backLinkService=D,this.metaService=L,this.localizeRouterService=H,this.pastEvents=!1,this.events=[],this.loading=!1,this.page=1,this.routedState=history.state}ngOnInit(){this.routedState.events&&this.restoreComponentStateFromRoute(),this.activatedRoute.data.subscribe(s=>{this.pastEvents=!!s.pastEvents}),this.events.length||this.getEvents(),this.metaService.setMetatagsByType(this.pastEvents?fl.UZ.EventsArchive:fl.UZ.Events),this.applyBacklinkToRouteEvents()}getEvents(s){const l=s?10:10*this.page;this.loading=!0,this.eventService.getEventsList(l,s,{pastEvents:this.pastEvents,targetGroupId:null}).subscribe(_=>{if(!_)return this.loading=!1,void(this.pageInfo=void 0);this.events.push(..._.nodes),this.pageInfo={..._.pageInfo,remainingItems:_.pageInfo.totalCount-this.events.length},this.loading=!1})}loadMore(){this.getEvents(this.pageInfo?.endCursor),this.page+=1}goToEvent(s){this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.navigateByUrl(s?.url?.path)}restoreComponentStateFromRoute(){Object.assign(this,this.routedState)}applyBacklinkToRouteEvents(){this.routerService.navStartEvent$.subscribe(s=>{["/sundmused","/sundmused/arhiiv"].some(h=>this.localizeRouterService.translateRoute(h)===s.url)||this.backLinkService.setLinkWithTranslationKey("fegeneral/events/backlink",void 0,{events:this.events,pageInfo:this.pageInfo,page:this.page})})}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(rc),r.rXU(P.Ix),r.rXU(pl.H),r.rXU(P.nX),r.rXU(Gd.t),r.rXU(pr.R),r.rXU(ga.QG))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-event-list-page"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"col-span-12","grid","w-full","max-w-4xl","grid-cols-12","gap-6","px-6","pb-12","pt-6","md:mx-auto","xl:px-0"],[1,"row-span-1","row-start-1"],[1,"col-span-12","flex","flex-col","space-y-4","md:flex-row","md:justify-between","md:space-y-0"],[1,"col-span-12","font-nunito","text-4xl","font-extrabold","tracking-tight","text-tk_brand","md:text-5xl"],[1,"flex","flex-col","content-center","space-y-2","md:flex-row","md:space-x-2","md:space-y-0"],[1,"btn","btn-lg","btn-primary-outlined","justify-center","hover:bg-white",3,"routerLink"],[1,"col-span-12","flex","flex-col","space-y-4"],["class","panel w-full p-6",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"click","loading","pageInfo"],[1,"panel","w-full","p-6"],[1,"pb-2","text-xl","font-bold","leading-7","md:text-2xl"],[1,"flex","justify-between"],[1,"flex","flex-col","space-y-2","text-sm","md:flex-row","md:space-y-0"],[1,"w-44","shrink-0"],[1,"block","font-medium","leading-relaxed","text-tk_grey_900"],[1,"block","leading-relaxed","text-tk_grey_900"],["class","block leading-relaxed text-tk_grey_900",4,"ngIf"],[1,"group","-mb-3","-mr-3","flex","h-10","items-center","justify-center","self-end","whitespace-nowrap","rounded-full","pl-4","pr-2","font-bold","text-tk_grey_900","outline-none","hover:underline","focus:ring-2","focus:ring-tk_grey_700","focus:ring-offset-2",3,"click","routerLink"],[1,"bg","ml-2","inline-block","size-4","bg-ico-hor-chevron","bg-center","bg-no-repeat"]],template:function(l,h){1&l&&r.DNE(0,hf,14,11,"ng-container",0)},dependencies:[F.Sq,F.bT,P.Wk,Ul.l,fd.T,uo.bA,oc.i,cd.t],encapsulation:2})}return o})();function pf(o){return null!==o&&"object"==typeof o&&"constructor"in o&&o.constructor===Object}function nu(o={},c={}){Object.keys(c).forEach(s=>{typeof o[s]>"u"?o[s]=c[s]:pf(c[s])&&pf(o[s])&&Object.keys(c[s]).length>0&&nu(o[s],c[s])})}const Nh={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function gs(){const o=typeof document<"u"?document:{};return nu(o,Nh),o}const ia={document:Nh,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:o=>typeof setTimeout>"u"?(o(),null):setTimeout(o,0),cancelAnimationFrame(o){typeof setTimeout>"u"||clearTimeout(o)}};function zo(){const o=typeof window<"u"?window:{};return nu(o,ia),o}class Lo extends Array{constructor(c){"number"==typeof c?super(c):(super(...c||[]),function Bh(o){const c=o.__proto__;Object.defineProperty(o,"__proto__",{get:()=>c,set(s){c.__proto__=s}})}(this))}}function Wo(o=[]){const c=[];return o.forEach(s=>{Array.isArray(s)?c.push(...Wo(s)):c.push(s)}),c}function Bc(o,c){return Array.prototype.filter.call(o,c)}function cr(o,c){const s=zo(),l=gs();let h=[];if(!c&&o instanceof Lo)return o;if(!o)return new Lo(h);if("string"==typeof o){const _=o.trim();if(_.indexOf("<")>=0&&_.indexOf(">")>=0){let D="div";0===_.indexOf("<li")&&(D="ul"),0===_.indexOf("<tr")&&(D="tbody"),(0===_.indexOf("<td")||0===_.indexOf("<th"))&&(D="tr"),0===_.indexOf("<tbody")&&(D="table"),0===_.indexOf("<option")&&(D="select");const L=l.createElement(D);L.innerHTML=_;for(let H=0;H<L.childNodes.length;H+=1)h.push(L.childNodes[H])}else h=function Am(o,c){if("string"!=typeof o)return[o];const s=[],l=c.querySelectorAll(o);for(let h=0;h<l.length;h+=1)s.push(l[h]);return s}(o.trim(),c||l)}else if(o.nodeType||o===s||o===l)h.push(o);else if(Array.isArray(o)){if(o instanceof Lo)return o;h=o}return new Lo(function Vh(o){const c=[];for(let s=0;s<o.length;s+=1)-1===c.indexOf(o[s])&&c.push(o[s]);return c}(h))}cr.fn=Lo.prototype;const Tf="resize scroll".split(" ");function xo(o){return function c(...s){if(typeof s[0]>"u"){for(let l=0;l<this.length;l+=1)Tf.indexOf(o)<0&&(o in this[l]?this[l][o]():cr(this[l]).trigger(o));return this}return this.on(o,...s)}}xo("click"),xo("blur"),xo("focus"),xo("focusin"),xo("focusout"),xo("keyup"),xo("keydown"),xo("keypress"),xo("submit"),xo("change"),xo("mousedown"),xo("mousemove"),xo("mouseup"),xo("mouseenter"),xo("mouseleave"),xo("mouseout"),xo("mouseover"),xo("touchstart"),xo("touchend"),xo("touchmove"),xo("resize"),xo("scroll");const Rf={addClass:function Om(...o){const c=Wo(o.map(s=>s.split(" ")));return this.forEach(s=>{s.classList.add(...c)}),this},removeClass:function jh(...o){const c=Wo(o.map(s=>s.split(" ")));return this.forEach(s=>{s.classList.remove(...c)}),this},hasClass:function Uh(...o){const c=Wo(o.map(s=>s.split(" ")));return Bc(this,s=>c.filter(l=>s.classList.contains(l)).length>0).length>0},toggleClass:function gf(...o){const c=Wo(o.map(s=>s.split(" ")));this.forEach(s=>{c.forEach(l=>{s.classList.toggle(l)})})},attr:function Rm(o,c){if(1===arguments.length&&"string"==typeof o)return this[0]?this[0].getAttribute(o):void 0;for(let s=0;s<this.length;s+=1)if(2===arguments.length)this[s].setAttribute(o,c);else for(const l in o)this[s][l]=o[l],this[s].setAttribute(l,o[l]);return this},removeAttr:function Pm(o){for(let c=0;c<this.length;c+=1)this[c].removeAttribute(o);return this},transform:function $h(o){for(let c=0;c<this.length;c+=1)this[c].style.transform=o;return this},transition:function Hh(o){for(let c=0;c<this.length;c+=1)this[c].style.transitionDuration="string"!=typeof o?`${o}ms`:o;return this},on:function Gh(...o){let[c,s,l,h]=o;function _(K){const X=K.target;if(!X)return;const Q=K.target.dom7EventData||[];if(Q.indexOf(K)<0&&Q.unshift(K),cr(X).is(s))l.apply(X,Q);else{const ve=cr(X).parents();for(let ke=0;ke<ve.length;ke+=1)cr(ve[ke]).is(s)&&l.apply(ve[ke],Q)}}function D(K){const X=K&&K.target&&K.target.dom7EventData||[];X.indexOf(K)<0&&X.unshift(K),l.apply(this,X)}"function"==typeof o[1]&&([c,l,h]=o,s=void 0),h||(h=!1);const L=c.split(" ");let H;for(let K=0;K<this.length;K+=1){const X=this[K];if(s)for(H=0;H<L.length;H+=1){const Q=L[H];X.dom7LiveListeners||(X.dom7LiveListeners={}),X.dom7LiveListeners[Q]||(X.dom7LiveListeners[Q]=[]),X.dom7LiveListeners[Q].push({listener:l,proxyListener:_}),X.addEventListener(Q,_,h)}else for(H=0;H<L.length;H+=1){const Q=L[H];X.dom7Listeners||(X.dom7Listeners={}),X.dom7Listeners[Q]||(X.dom7Listeners[Q]=[]),X.dom7Listeners[Q].push({listener:l,proxyListener:D}),X.addEventListener(Q,D,h)}}return this},off:function zh(...o){let[c,s,l,h]=o;"function"==typeof o[1]&&([c,l,h]=o,s=void 0),h||(h=!1);const _=c.split(" ");for(let D=0;D<_.length;D+=1){const L=_[D];for(let H=0;H<this.length;H+=1){const K=this[H];let X;if(!s&&K.dom7Listeners?X=K.dom7Listeners[L]:s&&K.dom7LiveListeners&&(X=K.dom7LiveListeners[L]),X&&X.length)for(let Q=X.length-1;Q>=0;Q-=1){const ve=X[Q];l&&ve.listener===l||l&&ve.listener&&ve.listener.dom7proxy&&ve.listener.dom7proxy===l?(K.removeEventListener(L,ve.proxyListener,h),X.splice(Q,1)):l||(K.removeEventListener(L,ve.proxyListener,h),X.splice(Q,1))}}}return this},trigger:function Bm(...o){const c=zo(),s=o[0].split(" "),l=o[1];for(let h=0;h<s.length;h+=1){const _=s[h];for(let D=0;D<this.length;D+=1){const L=this[D];if(c.CustomEvent){const H=new c.CustomEvent(_,{detail:l,bubbles:!0,cancelable:!0});L.dom7EventData=o.filter((K,X)=>X>0),L.dispatchEvent(H),L.dom7EventData=[],delete L.dom7EventData}}}return this},transitionEnd:function Vm(o){const c=this;return o&&c.on("transitionend",function s(l){l.target===this&&(o.call(this,l),c.off("transitionend",s))}),this},outerWidth:function Wh(o){if(this.length>0){if(o){const c=this.styles();return this[0].offsetWidth+parseFloat(c.getPropertyValue("margin-right"))+parseFloat(c.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function Xh(o){if(this.length>0){if(o){const c=this.styles();return this[0].offsetHeight+parseFloat(c.getPropertyValue("margin-top"))+parseFloat(c.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function vf(){const o=zo();return this[0]?o.getComputedStyle(this[0],null):{}},offset:function D_(){if(this.length>0){const o=zo(),c=gs(),s=this[0],l=s.getBoundingClientRect(),h=c.body;return{top:l.top+(s===o?o.scrollY:s.scrollTop)-(s.clientTop||h.clientTop||0),left:l.left+(s===o?o.scrollX:s.scrollLeft)-(s.clientLeft||h.clientLeft||0)}}return null},css:function $m(o,c){const s=zo();let l;if(1===arguments.length){if("string"!=typeof o){for(l=0;l<this.length;l+=1)for(const h in o)this[l].style[h]=o[h];return this}if(this[0])return s.getComputedStyle(this[0],null).getPropertyValue(o)}if(2===arguments.length&&"string"==typeof o){for(l=0;l<this.length;l+=1)this[l].style[o]=c;return this}return this},each:function Gl(o){return o?(this.forEach((c,s)=>{o.apply(c,[c,s])}),this):this},html:function Hm(o){if(typeof o>"u")return this[0]?this[0].innerHTML:null;for(let c=0;c<this.length;c+=1)this[c].innerHTML=o;return this},text:function bf(o){if(typeof o>"u")return this[0]?this[0].textContent.trim():null;for(let c=0;c<this.length;c+=1)this[c].textContent=o;return this},is:function yf(o){const c=zo(),s=gs(),l=this[0];let h,_;if(!l||typeof o>"u")return!1;if("string"==typeof o){if(l.matches)return l.matches(o);if(l.webkitMatchesSelector)return l.webkitMatchesSelector(o);if(l.msMatchesSelector)return l.msMatchesSelector(o);for(h=cr(o),_=0;_<h.length;_+=1)if(h[_]===l)return!0;return!1}if(o===s)return l===s;if(o===c)return l===c;if(o.nodeType||o instanceof Lo){for(h=o.nodeType?[o]:o,_=0;_<h.length;_+=1)if(h[_]===l)return!0;return!1}return!1},index:function Ef(){let c,o=this[0];if(o){for(c=0;null!==(o=o.previousSibling);)1===o.nodeType&&(c+=1);return c}},eq:function Gm(o){if(typeof o>"u")return this;const c=this.length;if(o>c-1)return cr([]);if(o<0){const s=c+o;return cr(s<0?[]:[this[s]])}return cr([this[o]])},append:function zm(...o){let c;const s=gs();for(let l=0;l<o.length;l+=1){c=o[l];for(let h=0;h<this.length;h+=1)if("string"==typeof c){const _=s.createElement("div");for(_.innerHTML=c;_.firstChild;)this[h].appendChild(_.firstChild)}else if(c instanceof Lo)for(let _=0;_<c.length;_+=1)this[h].appendChild(c[_]);else this[h].appendChild(c)}return this},prepend:function Wm(o){const c=gs();let s,l;for(s=0;s<this.length;s+=1)if("string"==typeof o){const h=c.createElement("div");for(h.innerHTML=o,l=h.childNodes.length-1;l>=0;l-=1)this[s].insertBefore(h.childNodes[l],this[s].childNodes[0])}else if(o instanceof Lo)for(l=0;l<o.length;l+=1)this[s].insertBefore(o[l],this[s].childNodes[0]);else this[s].insertBefore(o,this[s].childNodes[0]);return this},next:function Km(o){return this.length>0?o?this[0].nextElementSibling&&cr(this[0].nextElementSibling).is(o)?cr([this[0].nextElementSibling]):cr([]):cr(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):cr([])},nextAll:function Cf(o){const c=[];let s=this[0];if(!s)return cr([]);for(;s.nextElementSibling;){const l=s.nextElementSibling;o?cr(l).is(o)&&c.push(l):c.push(l),s=l}return cr(c)},prev:function Df(o){if(this.length>0){const c=this[0];return o?c.previousElementSibling&&cr(c.previousElementSibling).is(o)?cr([c.previousElementSibling]):cr([]):cr(c.previousElementSibling?[c.previousElementSibling]:[])}return cr([])},prevAll:function Vc(o){const c=[];let s=this[0];if(!s)return cr([]);for(;s.previousElementSibling;){const l=s.previousElementSibling;o?cr(l).is(o)&&c.push(l):c.push(l),s=l}return cr(c)},parent:function xf(o){const c=[];for(let s=0;s<this.length;s+=1)null!==this[s].parentNode&&(o?cr(this[s].parentNode).is(o)&&c.push(this[s].parentNode):c.push(this[s].parentNode));return cr(c)},parents:function gd(o){const c=[];for(let s=0;s<this.length;s+=1){let l=this[s].parentNode;for(;l;)o?cr(l).is(o)&&c.push(l):c.push(l),l=l.parentNode}return cr(c)},closest:function ru(o){let c=this;return typeof o>"u"?cr([]):(c.is(o)||(c=c.parents(o).eq(0)),c)},find:function jc(o){const c=[];for(let s=0;s<this.length;s+=1){const l=this[s].querySelectorAll(o);for(let h=0;h<l.length;h+=1)c.push(l[h])}return cr(c)},children:function ou(o){const c=[];for(let s=0;s<this.length;s+=1){const l=this[s].children;for(let h=0;h<l.length;h+=1)(!o||cr(l[h]).is(o))&&c.push(l[h])}return cr(c)},filter:function Yh(o){return cr(Bc(this,o))},remove:function su(){for(let o=0;o<this.length;o+=1)this[o].parentNode&&this[o].parentNode.removeChild(this[o]);return this}};Object.keys(Rf).forEach(o=>{Object.defineProperty(cr.fn,o,{value:Rf[o],writable:!0})});const Jr=cr;function uc(o,c=0){return setTimeout(o,c)}function fc(){return Date.now()}function bd(o){return"object"==typeof o&&null!==o&&o.constructor&&"Object"===Object.prototype.toString.call(o).slice(8,-1)}function hc(o){return typeof window<"u"&&typeof window.HTMLElement<"u"?o instanceof HTMLElement:o&&(1===o.nodeType||11===o.nodeType)}function Ea(...o){const c=Object(o[0]),s=["__proto__","constructor","prototype"];for(let l=1;l<o.length;l+=1){const h=o[l];if(null!=h&&!hc(h)){const _=Object.keys(Object(h)).filter(D=>s.indexOf(D)<0);for(let D=0,L=_.length;D<L;D+=1){const H=_[D],K=Object.getOwnPropertyDescriptor(h,H);void 0!==K&&K.enumerable&&(bd(c[H])&&bd(h[H])?h[H].__swiper__?c[H]=h[H]:Ea(c[H],h[H]):!bd(c[H])&&bd(h[H])?(c[H]={},h[H].__swiper__?c[H]=h[H]:Ea(c[H],h[H])):c[H]=h[H])}}}return c}function uu(o,c,s){o.style.setProperty(c,s)}function rp({swiper:o,targetPosition:c,side:s}){const l=zo(),h=-o.translate;let D,_=null;const L=o.params.speed;o.wrapperEl.style.scrollSnapType="none",l.cancelAnimationFrame(o.cssModeFrameID);const H=c>h?"next":"prev",K=(Q,ve)=>"next"===H&&Q>=ve||"prev"===H&&Q<=ve,X=()=>{D=(new Date).getTime(),null===_&&(_=D);const Q=Math.max(Math.min((D-_)/L,1),0),ve=.5-Math.cos(Q*Math.PI)/2;let ke=h+ve*(c-h);if(K(ke,c)&&(ke=c),o.wrapperEl.scrollTo({[s]:ke}),K(ke,c))return o.wrapperEl.style.overflow="hidden",o.wrapperEl.style.scrollSnapType="",setTimeout(()=>{o.wrapperEl.style.overflow="",o.wrapperEl.scrollTo({[s]:ke})}),void l.cancelAnimationFrame(o.cssModeFrameID);o.cssModeFrameID=l.requestAnimationFrame(X)};X()}let Pf,zl,Ff;function vl(){return Pf||(Pf=function Za(){const o=zo(),c=gs();return{smoothScroll:c.documentElement&&"scrollBehavior"in c.documentElement.style,touch:!!("ontouchstart"in o||o.DocumentTouch&&c instanceof o.DocumentTouch),passiveListener:function(){let l=!1;try{const h=Object.defineProperty({},"passive",{get(){l=!0}});o.addEventListener("testPassiveListener",null,h)}catch{}return l}(),gestures:"ongesturestart"in o}}()),Pf}const eg={on(o,c,s){const l=this;if("function"!=typeof c)return l;const h=s?"unshift":"push";return o.split(" ").forEach(_=>{l.eventsListeners[_]||(l.eventsListeners[_]=[]),l.eventsListeners[_][h](c)}),l},once(o,c,s){const l=this;if("function"!=typeof c)return l;function h(..._){l.off(o,h),h.__emitterProxy&&delete h.__emitterProxy,c.apply(l,_)}return h.__emitterProxy=c,l.on(o,h,s)},onAny(o,c){const s=this;if("function"!=typeof o)return s;const l=c?"unshift":"push";return s.eventsAnyListeners.indexOf(o)<0&&s.eventsAnyListeners[l](o),s},offAny(o){const c=this;if(!c.eventsAnyListeners)return c;const s=c.eventsAnyListeners.indexOf(o);return s>=0&&c.eventsAnyListeners.splice(s,1),c},off(o,c){const s=this;return s.eventsListeners&&o.split(" ").forEach(l=>{typeof c>"u"?s.eventsListeners[l]=[]:s.eventsListeners[l]&&s.eventsListeners[l].forEach((h,_)=>{(h===c||h.__emitterProxy&&h.__emitterProxy===c)&&s.eventsListeners[l].splice(_,1)})}),s},emit(...o){const c=this;if(!c.eventsListeners)return c;let s,l,h;return"string"==typeof o[0]||Array.isArray(o[0])?(s=o[0],l=o.slice(1,o.length),h=c):(s=o[0].events,l=o[0].data,h=o[0].context||c),l.unshift(h),(Array.isArray(s)?s:s.split(" ")).forEach(D=>{c.eventsAnyListeners&&c.eventsAnyListeners.length&&c.eventsAnyListeners.forEach(L=>{L.apply(h,[D,...l])}),c.eventsListeners&&c.eventsListeners[D]&&c.eventsListeners[D].forEach(L=>{L.apply(h,l)})}),c}},Io={updateSize:function tg(){const o=this;let c,s;const l=o.$el;c=typeof o.params.width<"u"&&null!==o.params.width?o.params.width:l[0].clientWidth,s=typeof o.params.height<"u"&&null!==o.params.height?o.params.height:l[0].clientHeight,!(0===c&&o.isHorizontal()||0===s&&o.isVertical())&&(c=c-parseInt(l.css("padding-left")||0,10)-parseInt(l.css("padding-right")||0,10),s=s-parseInt(l.css("padding-top")||0,10)-parseInt(l.css("padding-bottom")||0,10),Number.isNaN(c)&&(c=0),Number.isNaN(s)&&(s=0),Object.assign(o,{width:c,height:s,size:o.isHorizontal()?c:s}))},updateSlides:function ng(){const o=this;function c(xn){return o.isHorizontal()?xn:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[xn]}function s(xn,vn){return parseFloat(xn.getPropertyValue(c(vn))||0)}const l=o.params,{$wrapperEl:h,size:_,rtlTranslate:D,wrongRTL:L}=o,H=o.virtual&&l.virtual.enabled,K=H?o.virtual.slides.length:o.slides.length,X=h.children(`.${o.params.slideClass}`),Q=H?o.virtual.slides.length:X.length;let ve=[];const ke=[],Fe=[];let it=l.slidesOffsetBefore;"function"==typeof it&&(it=l.slidesOffsetBefore.call(o));let qe=l.slidesOffsetAfter;"function"==typeof qe&&(qe=l.slidesOffsetAfter.call(o));const It=o.snapGrid.length,Rt=o.slidesGrid.length;let xt=l.spaceBetween,nn=-it,yn=0,Mn=0;if(typeof _>"u")return;"string"==typeof xt&&xt.indexOf("%")>=0&&(xt=parseFloat(xt.replace("%",""))/100*_),o.virtualSize=-xt,X.css(D?{marginLeft:"",marginBottom:"",marginTop:""}:{marginRight:"",marginBottom:"",marginTop:""}),l.centeredSlides&&l.cssMode&&(uu(o.wrapperEl,"--swiper-centered-offset-before",""),uu(o.wrapperEl,"--swiper-centered-offset-after",""));const kn=l.grid&&l.grid.rows>1&&o.grid;let rn;kn&&o.grid.initSlides(Q);const ln="auto"===l.slidesPerView&&l.breakpoints&&Object.keys(l.breakpoints).filter(xn=>typeof l.breakpoints[xn].slidesPerView<"u").length>0;for(let xn=0;xn<Q;xn+=1){rn=0;const vn=X.eq(xn);if(kn&&o.grid.updateSlide(xn,vn,Q,c),"none"!==vn.css("display")){if("auto"===l.slidesPerView){ln&&(X[xn].style[c("width")]="");const Zn=getComputedStyle(vn[0]),fi=vn[0].style.transform,_r=vn[0].style.webkitTransform;if(fi&&(vn[0].style.transform="none"),_r&&(vn[0].style.webkitTransform="none"),l.roundLengths)rn=o.isHorizontal()?vn.outerWidth(!0):vn.outerHeight(!0);else{const Yi=s(Zn,"width"),Xt=s(Zn,"padding-left"),Pn=s(Zn,"padding-right"),Wn=s(Zn,"margin-left"),yi=s(Zn,"margin-right"),ir=Zn.getPropertyValue("box-sizing");if(ir&&"border-box"===ir)rn=Yi+Wn+yi;else{const{clientWidth:vs,offsetWidth:Vo}=vn[0];rn=Yi+Xt+Pn+Wn+yi+(Vo-vs)}}fi&&(vn[0].style.transform=fi),_r&&(vn[0].style.webkitTransform=_r),l.roundLengths&&(rn=Math.floor(rn))}else rn=(_-(l.slidesPerView-1)*xt)/l.slidesPerView,l.roundLengths&&(rn=Math.floor(rn)),X[xn]&&(X[xn].style[c("width")]=`${rn}px`);X[xn]&&(X[xn].swiperSlideSize=rn),Fe.push(rn),l.centeredSlides?(nn=nn+rn/2+yn/2+xt,0===yn&&0!==xn&&(nn=nn-_/2-xt),0===xn&&(nn=nn-_/2-xt),Math.abs(nn)<.001&&(nn=0),l.roundLengths&&(nn=Math.floor(nn)),Mn%l.slidesPerGroup==0&&ve.push(nn),ke.push(nn)):(l.roundLengths&&(nn=Math.floor(nn)),(Mn-Math.min(o.params.slidesPerGroupSkip,Mn))%o.params.slidesPerGroup==0&&ve.push(nn),ke.push(nn),nn=nn+rn+xt),o.virtualSize+=rn+xt,yn=rn,Mn+=1}}if(o.virtualSize=Math.max(o.virtualSize,_)+qe,D&&L&&("slide"===l.effect||"coverflow"===l.effect)&&h.css({width:`${o.virtualSize+l.spaceBetween}px`}),l.setWrapperSize&&h.css({[c("width")]:`${o.virtualSize+l.spaceBetween}px`}),kn&&o.grid.updateWrapperSize(rn,ve,c),!l.centeredSlides){const xn=[];for(let vn=0;vn<ve.length;vn+=1){let Zn=ve[vn];l.roundLengths&&(Zn=Math.floor(Zn)),ve[vn]<=o.virtualSize-_&&xn.push(Zn)}ve=xn,Math.floor(o.virtualSize-_)-Math.floor(ve[ve.length-1])>1&&ve.push(o.virtualSize-_)}if(0===ve.length&&(ve=[0]),0!==l.spaceBetween){const xn=o.isHorizontal()&&D?"marginLeft":c("marginRight");X.filter((vn,Zn)=>!l.cssMode||Zn!==X.length-1).css({[xn]:`${xt}px`})}if(l.centeredSlides&&l.centeredSlidesBounds){let xn=0;Fe.forEach(Zn=>{xn+=Zn+(l.spaceBetween?l.spaceBetween:0)}),xn-=l.spaceBetween;const vn=xn-_;ve=ve.map(Zn=>Zn<0?-it:Zn>vn?vn+qe:Zn)}if(l.centerInsufficientSlides){let xn=0;if(Fe.forEach(vn=>{xn+=vn+(l.spaceBetween?l.spaceBetween:0)}),xn-=l.spaceBetween,xn<_){const vn=(_-xn)/2;ve.forEach((Zn,fi)=>{ve[fi]=Zn-vn}),ke.forEach((Zn,fi)=>{ke[fi]=Zn+vn})}}if(Object.assign(o,{slides:X,snapGrid:ve,slidesGrid:ke,slidesSizesGrid:Fe}),l.centeredSlides&&l.cssMode&&!l.centeredSlidesBounds){uu(o.wrapperEl,"--swiper-centered-offset-before",-ve[0]+"px"),uu(o.wrapperEl,"--swiper-centered-offset-after",o.size/2-Fe[Fe.length-1]/2+"px");const xn=-o.snapGrid[0],vn=-o.slidesGrid[0];o.snapGrid=o.snapGrid.map(Zn=>Zn+xn),o.slidesGrid=o.slidesGrid.map(Zn=>Zn+vn)}Q!==K&&o.emit("slidesLengthChange"),ve.length!==It&&(o.params.watchOverflow&&o.checkOverflow(),o.emit("snapGridLengthChange")),ke.length!==Rt&&o.emit("slidesGridLengthChange"),l.watchSlidesProgress&&o.updateSlidesOffset()},updateAutoHeight:function ig(o){const c=this,s=[],l=c.virtual&&c.params.virtual.enabled;let _,h=0;"number"==typeof o?c.setTransition(o):!0===o&&c.setTransition(c.params.speed);const D=L=>l?c.slides.filter(H=>parseInt(H.getAttribute("data-swiper-slide-index"),10)===L)[0]:c.slides.eq(L)[0];if("auto"!==c.params.slidesPerView&&c.params.slidesPerView>1)if(c.params.centeredSlides)c.visibleSlides.each(L=>{s.push(L)});else for(_=0;_<Math.ceil(c.params.slidesPerView);_+=1){const L=c.activeIndex+_;if(L>c.slides.length&&!l)break;s.push(D(L))}else s.push(D(c.activeIndex));for(_=0;_<s.length;_+=1)if(typeof s[_]<"u"){const L=s[_].offsetHeight;h=L>h?L:h}(h||0===h)&&c.$wrapperEl.css("height",`${h}px`)},updateSlidesOffset:function fu(){const o=this,c=o.slides;for(let s=0;s<c.length;s+=1)c[s].swiperSlideOffset=o.isHorizontal()?c[s].offsetLeft:c[s].offsetTop},updateSlidesProgress:function qa(o=this&&this.translate||0){const c=this,s=c.params,{slides:l,rtlTranslate:h,snapGrid:_}=c;if(0===l.length)return;typeof l[0].swiperSlideOffset>"u"&&c.updateSlidesOffset();let D=-o;h&&(D=o),l.removeClass(s.slideVisibleClass),c.visibleSlidesIndexes=[],c.visibleSlides=[];for(let L=0;L<l.length;L+=1){const H=l[L];let K=H.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(K-=l[0].swiperSlideOffset);const X=(D+(s.centeredSlides?c.minTranslate():0)-K)/(H.swiperSlideSize+s.spaceBetween),Q=(D-_[0]+(s.centeredSlides?c.minTranslate():0)-K)/(H.swiperSlideSize+s.spaceBetween),ve=-(D-K),ke=ve+c.slidesSizesGrid[L];(ve>=0&&ve<c.size-1||ke>1&&ke<=c.size||ve<=0&&ke>=c.size)&&(c.visibleSlides.push(H),c.visibleSlidesIndexes.push(L),l.eq(L).addClass(s.slideVisibleClass)),H.progress=h?-X:X,H.originalProgress=h?-Q:Q}c.visibleSlides=Jr(c.visibleSlides)},updateProgress:function yd(o){const c=this;typeof o>"u"&&(o=c&&c.translate&&c.translate*(c.rtlTranslate?-1:1)||0);const s=c.params,l=c.maxTranslate()-c.minTranslate();let{progress:h,isBeginning:_,isEnd:D}=c;const L=_,H=D;0===l?(h=0,_=!0,D=!0):(h=(o-c.minTranslate())/l,_=h<=0,D=h>=1),Object.assign(c,{progress:h,isBeginning:_,isEnd:D}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&c.updateSlidesProgress(o),_&&!L&&c.emit("reachBeginning toEdge"),D&&!H&&c.emit("reachEnd toEdge"),(L&&!_||H&&!D)&&c.emit("fromEdge"),c.emit("progress",h)},updateSlidesClasses:function bl(){const o=this,{slides:c,params:s,$wrapperEl:l,activeIndex:h,realIndex:_}=o,D=o.virtual&&s.virtual.enabled;let L;c.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`),L=D?o.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${h}"]`):c.eq(h),L.addClass(s.slideActiveClass),s.loop&&(L.hasClass(s.slideDuplicateClass)?l.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${_}"]`).addClass(s.slideDuplicateActiveClass):l.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${_}"]`).addClass(s.slideDuplicateActiveClass));let H=L.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass);s.loop&&0===H.length&&(H=c.eq(0),H.addClass(s.slideNextClass));let K=L.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass);s.loop&&0===K.length&&(K=c.eq(-1),K.addClass(s.slidePrevClass)),s.loop&&(H.hasClass(s.slideDuplicateClass)?l.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${H.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass):l.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${H.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass),K.hasClass(s.slideDuplicateClass)?l.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${K.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass):l.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${K.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)),o.emitSlidesClasses()},updateActiveIndex:function Lf(o){const c=this,s=c.rtlTranslate?c.translate:-c.translate,{slidesGrid:l,snapGrid:h,params:_,activeIndex:D,realIndex:L,snapIndex:H}=c;let X,K=o;if(typeof K>"u"){for(let ve=0;ve<l.length;ve+=1)typeof l[ve+1]<"u"?s>=l[ve]&&s<l[ve+1]-(l[ve+1]-l[ve])/2?K=ve:s>=l[ve]&&s<l[ve+1]&&(K=ve+1):s>=l[ve]&&(K=ve);_.normalizeSlideIndex&&(K<0||typeof K>"u")&&(K=0)}if(h.indexOf(s)>=0)X=h.indexOf(s);else{const ve=Math.min(_.slidesPerGroupSkip,K);X=ve+Math.floor((K-ve)/_.slidesPerGroup)}if(X>=h.length&&(X=h.length-1),K===D)return void(X!==H&&(c.snapIndex=X,c.emit("snapIndexChange")));const Q=parseInt(c.slides.eq(K).attr("data-swiper-slide-index")||K,10);Object.assign(c,{snapIndex:X,realIndex:Q,previousIndex:D,activeIndex:K}),c.emit("activeIndexChange"),c.emit("snapIndexChange"),L!==Q&&c.emit("realIndexChange"),(c.initialized||c.params.runCallbacksOnInit)&&c.emit("slideChange")},updateClickedSlide:function Ed(o){const c=this,s=c.params,l=Jr(o).closest(`.${s.slideClass}`)[0];let _,h=!1;if(l)for(let D=0;D<c.slides.length;D+=1)if(c.slides[D]===l){h=!0,_=D;break}if(!l||!h)return c.clickedSlide=void 0,void(c.clickedIndex=void 0);c.clickedSlide=l,c.clickedIndex=c.virtual&&c.params.virtual.enabled?parseInt(Jr(l).attr("data-swiper-slide-index"),10):_,s.slideToClickedSlide&&void 0!==c.clickedIndex&&c.clickedIndex!==c.activeIndex&&c.slideToClickedSlide()}},F_={getTranslate:function Bo(o=(this.isHorizontal()?"x":"y")){const{params:s,rtlTranslate:l,translate:h,$wrapperEl:_}=this;if(s.virtualTranslate)return l?-h:h;if(s.cssMode)return h;let D=function ip(o,c="x"){const s=zo();let l,h,_;const D=function np(o){const c=zo();let s;return c.getComputedStyle&&(s=c.getComputedStyle(o,null)),!s&&o.currentStyle&&(s=o.currentStyle),s||(s=o.style),s}(o);return s.WebKitCSSMatrix?(h=D.transform||D.webkitTransform,h.split(",").length>6&&(h=h.split(", ").map(L=>L.replace(",",".")).join(", ")),_=new s.WebKitCSSMatrix("none"===h?"":h)):(_=D.MozTransform||D.OTransform||D.MsTransform||D.msTransform||D.transform||D.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),l=_.toString().split(",")),"x"===c&&(h=s.WebKitCSSMatrix?_.m41:16===l.length?parseFloat(l[12]):parseFloat(l[4])),"y"===c&&(h=s.WebKitCSSMatrix?_.m42:16===l.length?parseFloat(l[13]):parseFloat(l[5])),h||0}(_[0],o);return l&&(D=-D),D||0},setTranslate:function rg(o,c){const s=this,{rtlTranslate:l,params:h,$wrapperEl:_,wrapperEl:D,progress:L}=s;let Q,H=0,K=0;s.isHorizontal()?H=l?-o:o:K=o,h.roundLengths&&(H=Math.floor(H),K=Math.floor(K)),h.cssMode?D[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-H:-K:h.virtualTranslate||_.transform(`translate3d(${H}px, ${K}px, 0px)`),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?H:K;const ve=s.maxTranslate()-s.minTranslate();Q=0===ve?0:(o-s.minTranslate())/ve,Q!==L&&s.updateProgress(o),s.emit("setTranslate",s.translate,c)},minTranslate:function Nf(){return-this.snapGrid[0]},maxTranslate:function Bf(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function P_(o=0,c=this.params.speed,s=!0,l=!0,h){const _=this,{params:D,wrapperEl:L}=_;if(_.animating&&D.preventInteractionOnTransition)return!1;const H=_.minTranslate(),K=_.maxTranslate();let X;if(X=l&&o>H?H:l&&o<K?K:o,_.updateProgress(X),D.cssMode){const Q=_.isHorizontal();if(0===c)L[Q?"scrollLeft":"scrollTop"]=-X;else{if(!_.support.smoothScroll)return rp({swiper:_,targetPosition:-X,side:Q?"left":"top"}),!0;L.scrollTo({[Q?"left":"top"]:-X,behavior:"smooth"})}return!0}return 0===c?(_.setTransition(0),_.setTranslate(X),s&&(_.emit("beforeTransitionStart",c,h),_.emit("transitionEnd"))):(_.setTransition(c),_.setTranslate(X),s&&(_.emit("beforeTransitionStart",c,h),_.emit("transitionStart")),_.animating||(_.animating=!0,_.onTranslateToWrapperTransitionEnd||(_.onTranslateToWrapperTransitionEnd=function(ve){!_||_.destroyed||ve.target===this&&(_.$wrapperEl[0].removeEventListener("transitionend",_.onTranslateToWrapperTransitionEnd),_.$wrapperEl[0].removeEventListener("webkitTransitionEnd",_.onTranslateToWrapperTransitionEnd),_.onTranslateToWrapperTransitionEnd=null,delete _.onTranslateToWrapperTransitionEnd,s&&_.emit("transitionEnd"))}),_.$wrapperEl[0].addEventListener("transitionend",_.onTranslateToWrapperTransitionEnd),_.$wrapperEl[0].addEventListener("webkitTransitionEnd",_.onTranslateToWrapperTransitionEnd))),!0}};function sp({swiper:o,runCallbacks:c,direction:s,step:l}){const{activeIndex:h,previousIndex:_}=o;let D=s;if(D||(D=h>_?"next":h<_?"prev":"reset"),o.emit(`transition${l}`),c&&h!==_){if("reset"===D)return void o.emit(`slideResetTransition${l}`);o.emit(`slideChangeTransition${l}`),o.emit("next"===D?`slideNextTransition${l}`:`slidePrevTransition${l}`)}}const Vf={setTransition:function op(o,c){const s=this;s.params.cssMode||s.$wrapperEl.transition(o),s.emit("setTransition",o,c)},transitionStart:function ap(o=!0,c){const s=this,{params:l}=s;l.cssMode||(l.autoHeight&&s.updateAutoHeight(),sp({swiper:s,runCallbacks:o,direction:c,step:"Start"}))},transitionEnd:function Cd(o=!0,c){const s=this,{params:l}=s;s.animating=!1,!l.cssMode&&(s.setTransition(0),sp({swiper:s,runCallbacks:o,direction:c,step:"End"}))}},cp={slideTo:function og(o=0,c=this.params.speed,s=!0,l,h){if("number"!=typeof o&&"string"!=typeof o)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof o}] given.`);if("string"==typeof o){const xt=parseInt(o,10);if(!isFinite(xt))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${o}] given.`);o=xt}const _=this;let D=o;D<0&&(D=0);const{params:L,snapGrid:H,slidesGrid:K,previousIndex:X,activeIndex:Q,rtlTranslate:ve,wrapperEl:ke,enabled:Fe}=_;if(_.animating&&L.preventInteractionOnTransition||!Fe&&!l&&!h)return!1;const it=Math.min(_.params.slidesPerGroupSkip,D);let qe=it+Math.floor((D-it)/_.params.slidesPerGroup);qe>=H.length&&(qe=H.length-1),(Q||L.initialSlide||0)===(X||0)&&s&&_.emit("beforeSlideChangeStart");const It=-H[qe];if(_.updateProgress(It),L.normalizeSlideIndex)for(let xt=0;xt<K.length;xt+=1){const nn=-Math.floor(100*It),yn=Math.floor(100*K[xt]),Mn=Math.floor(100*K[xt+1]);typeof K[xt+1]<"u"?nn>=yn&&nn<Mn-(Mn-yn)/2?D=xt:nn>=yn&&nn<Mn&&(D=xt+1):nn>=yn&&(D=xt)}if(_.initialized&&D!==Q&&(!_.allowSlideNext&&It<_.translate&&It<_.minTranslate()||!_.allowSlidePrev&&It>_.translate&&It>_.maxTranslate()&&(Q||0)!==D))return!1;let Rt;if(Rt=D>Q?"next":D<Q?"prev":"reset",ve&&-It===_.translate||!ve&&It===_.translate)return _.updateActiveIndex(D),L.autoHeight&&_.updateAutoHeight(),_.updateSlidesClasses(),"slide"!==L.effect&&_.setTranslate(It),"reset"!==Rt&&(_.transitionStart(s,Rt),_.transitionEnd(s,Rt)),!1;if(L.cssMode){const xt=_.isHorizontal(),nn=ve?It:-It;if(0===c){const yn=_.virtual&&_.params.virtual.enabled;yn&&(_.wrapperEl.style.scrollSnapType="none",_._immediateVirtual=!0),ke[xt?"scrollLeft":"scrollTop"]=nn,yn&&requestAnimationFrame(()=>{_.wrapperEl.style.scrollSnapType="",_._swiperImmediateVirtual=!1})}else{if(!_.support.smoothScroll)return rp({swiper:_,targetPosition:nn,side:xt?"left":"top"}),!0;ke.scrollTo({[xt?"left":"top"]:nn,behavior:"smooth"})}return!0}return _.setTransition(c),_.setTranslate(It),_.updateActiveIndex(D),_.updateSlidesClasses(),_.emit("beforeTransitionStart",c,l),_.transitionStart(s,Rt),0===c?_.transitionEnd(s,Rt):_.animating||(_.animating=!0,_.onSlideToWrapperTransitionEnd||(_.onSlideToWrapperTransitionEnd=function(nn){!_||_.destroyed||nn.target===this&&(_.$wrapperEl[0].removeEventListener("transitionend",_.onSlideToWrapperTransitionEnd),_.$wrapperEl[0].removeEventListener("webkitTransitionEnd",_.onSlideToWrapperTransitionEnd),_.onSlideToWrapperTransitionEnd=null,delete _.onSlideToWrapperTransitionEnd,_.transitionEnd(s,Rt))}),_.$wrapperEl[0].addEventListener("transitionend",_.onSlideToWrapperTransitionEnd),_.$wrapperEl[0].addEventListener("webkitTransitionEnd",_.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function jf(o=0,c=this.params.speed,s=!0,l){const h=this;let _=o;return h.params.loop&&(_+=h.loopedSlides),h.slideTo(_,c,s,l)},slideNext:function Dd(o=this.params.speed,c=!0,s){const l=this,{animating:h,enabled:_,params:D}=l;if(!_)return l;let L=D.slidesPerGroup;"auto"===D.slidesPerView&&1===D.slidesPerGroup&&D.slidesPerGroupAuto&&(L=Math.max(l.slidesPerViewDynamic("current",!0),1));const H=l.activeIndex<D.slidesPerGroupSkip?1:L;if(D.loop){if(h&&D.loopPreventsSlide)return!1;l.loopFix(),l._clientLeft=l.$wrapperEl[0].clientLeft}return l.slideTo(D.rewind&&l.isEnd?0:l.activeIndex+H,o,c,s)},slidePrev:function Ca(o=this.params.speed,c=!0,s){const l=this,{params:h,animating:_,snapGrid:D,slidesGrid:L,rtlTranslate:H,enabled:K}=l;if(!K)return l;if(h.loop){if(_&&h.loopPreventsSlide)return!1;l.loopFix(),l._clientLeft=l.$wrapperEl[0].clientLeft}function Q(qe){return qe<0?-Math.floor(Math.abs(qe)):Math.floor(qe)}const ve=Q(H?l.translate:-l.translate),ke=D.map(qe=>Q(qe));let Fe=D[ke.indexOf(ve)-1];if(typeof Fe>"u"&&h.cssMode){let qe;D.forEach((It,Rt)=>{ve>=It&&(qe=Rt)}),typeof qe<"u"&&(Fe=D[qe>0?qe-1:qe])}let it=0;return typeof Fe<"u"&&(it=L.indexOf(Fe),it<0&&(it=l.activeIndex-1),"auto"===h.slidesPerView&&1===h.slidesPerGroup&&h.slidesPerGroupAuto&&(it=it-l.slidesPerViewDynamic("previous",!0)+1,it=Math.max(it,0))),l.slideTo(h.rewind&&l.isBeginning?l.slides.length-1:it,o,c,s)},slideReset:function Uc(o=this.params.speed,c=!0,s){return this.slideTo(this.activeIndex,o,c,s)},slideToClosest:function lp(o=this.params.speed,c=!0,s,l=.5){const h=this;let _=h.activeIndex;const D=Math.min(h.params.slidesPerGroupSkip,_),L=D+Math.floor((_-D)/h.params.slidesPerGroup),H=h.rtlTranslate?h.translate:-h.translate;if(H>=h.snapGrid[L]){const K=h.snapGrid[L];H-K>(h.snapGrid[L+1]-K)*l&&(_+=h.params.slidesPerGroup)}else{const K=h.snapGrid[L-1];H-K<=(h.snapGrid[L]-K)*l&&(_-=h.params.slidesPerGroup)}return _=Math.max(_,0),_=Math.min(_,h.slidesGrid.length-1),h.slideTo(_,o,c,s)},slideToClickedSlide:function hu(){const o=this,{params:c,$wrapperEl:s}=o,l="auto"===c.slidesPerView?o.slidesPerViewDynamic():c.slidesPerView;let _,h=o.clickedIndex;if(c.loop){if(o.animating)return;_=parseInt(Jr(o.clickedSlide).attr("data-swiper-slide-index"),10),c.centeredSlides?h<o.loopedSlides-l/2||h>o.slides.length-o.loopedSlides+l/2?(o.loopFix(),h=s.children(`.${c.slideClass}[data-swiper-slide-index="${_}"]:not(.${c.slideDuplicateClass})`).eq(0).index(),uc(()=>{o.slideTo(h)})):o.slideTo(h):h>o.slides.length-l?(o.loopFix(),h=s.children(`.${c.slideClass}[data-swiper-slide-index="${_}"]:not(.${c.slideDuplicateClass})`).eq(0).index(),uc(()=>{o.slideTo(h)})):o.slideTo(h)}else o.slideTo(h)}},yl={loopCreate:function Uf(){const o=this,c=gs(),{params:s,$wrapperEl:l}=o,h=l.children().length>0?Jr(l.children()[0].parentNode):l;h.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove();let _=h.children(`.${s.slideClass}`);if(s.loopFillGroupWithBlank){const H=s.slidesPerGroup-_.length%s.slidesPerGroup;if(H!==s.slidesPerGroup){for(let K=0;K<H;K+=1){const X=Jr(c.createElement("div")).addClass(`${s.slideClass} ${s.slideBlankClass}`);h.append(X)}_=h.children(`.${s.slideClass}`)}}"auto"===s.slidesPerView&&!s.loopedSlides&&(s.loopedSlides=_.length),o.loopedSlides=Math.ceil(parseFloat(s.loopedSlides||s.slidesPerView,10)),o.loopedSlides+=s.loopAdditionalSlides,o.loopedSlides>_.length&&(o.loopedSlides=_.length);const D=[],L=[];_.each((H,K)=>{const X=Jr(H);K<o.loopedSlides&&L.push(H),K<_.length&&K>=_.length-o.loopedSlides&&D.push(H),X.attr("data-swiper-slide-index",K)});for(let H=0;H<L.length;H+=1)h.append(Jr(L[H].cloneNode(!0)).addClass(s.slideDuplicateClass));for(let H=D.length-1;H>=0;H-=1)h.prepend(Jr(D[H].cloneNode(!0)).addClass(s.slideDuplicateClass))},loopFix:function sg(){const o=this;o.emit("beforeLoopFix");const{activeIndex:c,slides:s,loopedSlides:l,allowSlidePrev:h,allowSlideNext:_,snapGrid:D,rtlTranslate:L}=o;let H;o.allowSlidePrev=!0,o.allowSlideNext=!0;const X=-D[c]-o.getTranslate();c<l?(H=s.length-3*l+c,H+=l,o.slideTo(H,0,!1,!0)&&0!==X&&o.setTranslate((L?-o.translate:o.translate)-X)):c>=s.length-l&&(H=-s.length+c+l,H+=l,o.slideTo(H,0,!1,!0)&&0!==X&&o.setTranslate((L?-o.translate:o.translate)-X)),o.allowSlidePrev=h,o.allowSlideNext=_,o.emit("loopFix")},loopDestroy:function Wl(){const{$wrapperEl:c,params:s,slides:l}=this;c.children(`.${s.slideClass}.${s.slideDuplicateClass},.${s.slideClass}.${s.slideBlankClass}`).remove(),l.removeAttr("data-swiper-slide-index")}};function ag(o){const c=this,s=gs(),l=zo(),h=c.touchEventsData,{params:_,touches:D,enabled:L}=c;if(!L||c.animating&&_.preventInteractionOnTransition)return;!c.animating&&_.cssMode&&_.loop&&c.loopFix();let H=o;H.originalEvent&&(H=H.originalEvent);let K=Jr(H.target);if("wrapper"===_.touchEventsTarget&&!K.closest(c.wrapperEl).length||(h.isTouchEvent="touchstart"===H.type,!h.isTouchEvent&&"which"in H&&3===H.which)||!h.isTouchEvent&&"button"in H&&H.button>0||h.isTouched&&h.isMoved)return;_.noSwipingClass&&""!==_.noSwipingClass&&H.target&&H.target.shadowRoot&&o.path&&o.path[0]&&(K=Jr(o.path[0]));const Q=_.noSwipingSelector?_.noSwipingSelector:`.${_.noSwipingClass}`;if(_.noSwiping&&(H.target&&H.target.shadowRoot?function dp(o,c=this){return function s(l){return l&&l!==gs()&&l!==zo()?(l.assignedSlot&&(l=l.assignedSlot),l.closest(o)||s(l.getRootNode().host)):null}(c)}(Q,H.target):K.closest(Q)[0]))return void(c.allowClick=!0);if(_.swipeHandler&&!K.closest(_.swipeHandler)[0])return;D.currentX="touchstart"===H.type?H.targetTouches[0].pageX:H.pageX,D.currentY="touchstart"===H.type?H.targetTouches[0].pageY:H.pageY;const ke=D.currentX,Fe=D.currentY,it=_.edgeSwipeDetection||_.iOSEdgeSwipeDetection,qe=_.edgeSwipeThreshold||_.iOSEdgeSwipeThreshold;if(it&&(ke<=qe||ke>=l.innerWidth-qe)){if("prevent"!==it)return;o.preventDefault()}if(Object.assign(h,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),D.startX=ke,D.startY=Fe,h.touchStartTime=fc(),c.allowClick=!0,c.updateSize(),c.swipeDirection=void 0,_.threshold>0&&(h.allowThresholdMove=!1),"touchstart"!==H.type){let It=!0;K.is(h.focusableElements)&&(It=!1),s.activeElement&&Jr(s.activeElement).is(h.focusableElements)&&s.activeElement!==K[0]&&s.activeElement.blur(),(_.touchStartForcePreventDefault||It&&c.allowTouchMove&&_.touchStartPreventDefault)&&!K[0].isContentEditable&&H.preventDefault()}c.emit("touchStart",H)}function zr(o){const c=gs(),s=this,l=s.touchEventsData,{params:h,touches:_,rtlTranslate:D,enabled:L}=s;if(!L)return;let H=o;if(H.originalEvent&&(H=H.originalEvent),!l.isTouched)return void(l.startMoving&&l.isScrolling&&s.emit("touchMoveOpposite",H));if(l.isTouchEvent&&"touchmove"!==H.type)return;const K="touchmove"===H.type&&H.targetTouches&&(H.targetTouches[0]||H.changedTouches[0]),X="touchmove"===H.type?K.pageX:H.pageX,Q="touchmove"===H.type?K.pageY:H.pageY;if(H.preventedByNestedSwiper)return _.startX=X,void(_.startY=Q);if(!s.allowTouchMove)return s.allowClick=!1,void(l.isTouched&&(Object.assign(_,{startX:X,startY:Q,currentX:X,currentY:Q}),l.touchStartTime=fc()));if(l.isTouchEvent&&h.touchReleaseOnEdges&&!h.loop)if(s.isVertical()){if(Q<_.startY&&s.translate<=s.maxTranslate()||Q>_.startY&&s.translate>=s.minTranslate())return l.isTouched=!1,void(l.isMoved=!1)}else if(X<_.startX&&s.translate<=s.maxTranslate()||X>_.startX&&s.translate>=s.minTranslate())return;if(l.isTouchEvent&&c.activeElement&&H.target===c.activeElement&&Jr(H.target).is(l.focusableElements))return l.isMoved=!0,void(s.allowClick=!1);if(l.allowTouchCallbacks&&s.emit("touchMove",H),H.targetTouches&&H.targetTouches.length>1)return;_.currentX=X,_.currentY=Q;const ve=_.currentX-_.startX,ke=_.currentY-_.startY;if(s.params.threshold&&Math.sqrt(ve**2+ke**2)<s.params.threshold)return;if(typeof l.isScrolling>"u"){let It;s.isHorizontal()&&_.currentY===_.startY||s.isVertical()&&_.currentX===_.startX?l.isScrolling=!1:ve*ve+ke*ke>=25&&(It=180*Math.atan2(Math.abs(ke),Math.abs(ve))/Math.PI,l.isScrolling=s.isHorizontal()?It>h.touchAngle:90-It>h.touchAngle)}if(l.isScrolling&&s.emit("touchMoveOpposite",H),typeof l.startMoving>"u"&&(_.currentX!==_.startX||_.currentY!==_.startY)&&(l.startMoving=!0),l.isScrolling)return void(l.isTouched=!1);if(!l.startMoving)return;s.allowClick=!1,!h.cssMode&&H.cancelable&&H.preventDefault(),h.touchMoveStopPropagation&&!h.nested&&H.stopPropagation(),l.isMoved||(h.loop&&!h.cssMode&&s.loopFix(),l.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),l.allowMomentumBounce=!1,h.grabCursor&&(!0===s.allowSlideNext||!0===s.allowSlidePrev)&&s.setGrabCursor(!0),s.emit("sliderFirstMove",H)),s.emit("sliderMove",H),l.isMoved=!0;let Fe=s.isHorizontal()?ve:ke;_.diff=Fe,Fe*=h.touchRatio,D&&(Fe=-Fe),s.swipeDirection=Fe>0?"prev":"next",l.currentTranslate=Fe+l.startTranslate;let it=!0,qe=h.resistanceRatio;if(h.touchReleaseOnEdges&&(qe=0),Fe>0&&l.currentTranslate>s.minTranslate()?(it=!1,h.resistance&&(l.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+l.startTranslate+Fe)**qe)):Fe<0&&l.currentTranslate<s.maxTranslate()&&(it=!1,h.resistance&&(l.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-l.startTranslate-Fe)**qe)),it&&(H.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&l.currentTranslate<l.startTranslate&&(l.currentTranslate=l.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&l.currentTranslate>l.startTranslate&&(l.currentTranslate=l.startTranslate),!s.allowSlidePrev&&!s.allowSlideNext&&(l.currentTranslate=l.startTranslate),h.threshold>0){if(!(Math.abs(Fe)>h.threshold||l.allowThresholdMove))return void(l.currentTranslate=l.startTranslate);if(!l.allowThresholdMove)return l.allowThresholdMove=!0,_.startX=_.currentX,_.startY=_.currentY,l.currentTranslate=l.startTranslate,void(_.diff=s.isHorizontal()?_.currentX-_.startX:_.currentY-_.startY)}!h.followFinger||h.cssMode||((h.freeMode&&h.freeMode.enabled&&s.freeMode||h.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&h.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(l.currentTranslate),s.setTranslate(l.currentTranslate))}function lg(o){const c=this,s=c.touchEventsData,{params:l,touches:h,rtlTranslate:_,slidesGrid:D,enabled:L}=c;if(!L)return;let H=o;if(H.originalEvent&&(H=H.originalEvent),s.allowTouchCallbacks&&c.emit("touchEnd",H),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&l.grabCursor&&c.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);l.grabCursor&&s.isMoved&&s.isTouched&&(!0===c.allowSlideNext||!0===c.allowSlidePrev)&&c.setGrabCursor(!1);const K=fc(),X=K-s.touchStartTime;if(c.allowClick){const qe=H.path||H.composedPath&&H.composedPath();c.updateClickedSlide(qe&&qe[0]||H.target),c.emit("tap click",H),X<300&&K-s.lastClickTime<300&&c.emit("doubleTap doubleClick",H)}if(s.lastClickTime=fc(),uc(()=>{c.destroyed||(c.allowClick=!0)}),!s.isTouched||!s.isMoved||!c.swipeDirection||0===h.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let Q;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,Q=l.followFinger?_?c.translate:-c.translate:-s.currentTranslate,l.cssMode)return;if(c.params.freeMode&&l.freeMode.enabled)return void c.freeMode.onTouchEnd({currentPos:Q});let ve=0,ke=c.slidesSizesGrid[0];for(let qe=0;qe<D.length;qe+=qe<l.slidesPerGroupSkip?1:l.slidesPerGroup){const It=qe<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;typeof D[qe+It]<"u"?Q>=D[qe]&&Q<D[qe+It]&&(ve=qe,ke=D[qe+It]-D[qe]):Q>=D[qe]&&(ve=qe,ke=D[D.length-1]-D[D.length-2])}const Fe=(Q-D[ve])/ke,it=ve<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;if(X>l.longSwipesMs){if(!l.longSwipes)return void c.slideTo(c.activeIndex);"next"===c.swipeDirection&&c.slideTo(Fe>=l.longSwipesRatio?ve+it:ve),"prev"===c.swipeDirection&&c.slideTo(Fe>1-l.longSwipesRatio?ve+it:ve)}else{if(!l.shortSwipes)return void c.slideTo(c.activeIndex);!c.navigation||H.target!==c.navigation.nextEl&&H.target!==c.navigation.prevEl?("next"===c.swipeDirection&&c.slideTo(ve+it),"prev"===c.swipeDirection&&c.slideTo(ve)):c.slideTo(H.target===c.navigation.nextEl?ve+it:ve)}}function mu(){const o=this,{params:c,el:s}=o;if(s&&0===s.offsetWidth)return;c.breakpoints&&o.setBreakpoint();const{allowSlideNext:l,allowSlidePrev:h,snapGrid:_}=o;o.allowSlideNext=!0,o.allowSlidePrev=!0,o.updateSize(),o.updateSlides(),o.updateSlidesClasses(),o.slideTo(("auto"===c.slidesPerView||c.slidesPerView>1)&&o.isEnd&&!o.isBeginning&&!o.params.centeredSlides?o.slides.length-1:o.activeIndex,0,!1,!0),o.autoplay&&o.autoplay.running&&o.autoplay.paused&&o.autoplay.run(),o.allowSlidePrev=h,o.allowSlideNext=l,o.params.watchOverflow&&_!==o.snapGrid&&o.checkOverflow()}function $f(o){const c=this;c.enabled&&(c.allowClick||(c.params.preventClicks&&o.preventDefault(),c.params.preventClicksPropagation&&c.animating&&(o.stopPropagation(),o.stopImmediatePropagation())))}function L_(){const o=this,{wrapperEl:c,rtlTranslate:s,enabled:l}=o;if(!l)return;let h;o.previousTranslate=o.translate,o.translate=o.isHorizontal()?-c.scrollLeft:-c.scrollTop,-0===o.translate&&(o.translate=0),o.updateActiveIndex(),o.updateSlidesClasses();const _=o.maxTranslate()-o.minTranslate();h=0===_?0:(o.translate-o.minTranslate())/_,h!==o.progress&&o.updateProgress(s?-o.translate:o.translate),o.emit("setTranslate",o.translate,!1)}let $c=!1;function cg(){}const up=(o,c)=>{const s=gs(),{params:l,touchEvents:h,el:_,wrapperEl:D,device:L,support:H}=o,K=!!l.nested,X="on"===c?"addEventListener":"removeEventListener",Q=c;if(H.touch){const ve=!("touchstart"!==h.start||!H.passiveListener||!l.passiveListeners)&&{passive:!0,capture:!1};_[X](h.start,o.onTouchStart,ve),_[X](h.move,o.onTouchMove,H.passiveListener?{passive:!1,capture:K}:K),_[X](h.end,o.onTouchEnd,ve),h.cancel&&_[X](h.cancel,o.onTouchEnd,ve)}else _[X](h.start,o.onTouchStart,!1),s[X](h.move,o.onTouchMove,K),s[X](h.end,o.onTouchEnd,!1);(l.preventClicks||l.preventClicksPropagation)&&_[X]("click",o.onClick,!0),l.cssMode&&D[X]("scroll",o.onScroll),o[Q](l.updateOnWindowResize?L.ios||L.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",mu,!0)},ug={attachEvents:function dg(){const o=this,c=gs(),{params:s,support:l}=o;o.onTouchStart=ag.bind(o),o.onTouchMove=zr.bind(o),o.onTouchEnd=lg.bind(o),s.cssMode&&(o.onScroll=L_.bind(o)),o.onClick=$f.bind(o),l.touch&&!$c&&(c.addEventListener("touchstart",cg),$c=!0),up(o,"on")},detachEvents:function fp(){up(this,"off")}},hp=(o,c)=>o.grid&&c.grid&&c.grid.rows>1,pg={setBreakpoint:function fg(){const o=this,{activeIndex:c,initialized:s,loopedSlides:l=0,params:h,$el:_}=o,D=h.breakpoints;if(!D||D&&0===Object.keys(D).length)return;const L=o.getBreakpoint(D,o.params.breakpointsBase,o.el);if(!L||o.currentBreakpoint===L)return;const K=(L in D?D[L]:void 0)||o.originalParams,X=hp(o,h),Q=hp(o,K),ve=h.enabled;X&&!Q?(_.removeClass(`${h.containerModifierClass}grid ${h.containerModifierClass}grid-column`),o.emitContainerClasses()):!X&&Q&&(_.addClass(`${h.containerModifierClass}grid`),(K.grid.fill&&"column"===K.grid.fill||!K.grid.fill&&"column"===h.grid.fill)&&_.addClass(`${h.containerModifierClass}grid-column`),o.emitContainerClasses());const ke=K.direction&&K.direction!==h.direction,Fe=h.loop&&(K.slidesPerView!==h.slidesPerView||ke);ke&&s&&o.changeDirection(),Ea(o.params,K);const it=o.params.enabled;Object.assign(o,{allowTouchMove:o.params.allowTouchMove,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev}),ve&&!it?o.disable():!ve&&it&&o.enable(),o.currentBreakpoint=L,o.emit("_beforeBreakpoint",K),Fe&&s&&(o.loopDestroy(),o.loopCreate(),o.updateSlides(),o.slideTo(c-l+o.loopedSlides,0,!1)),o.emit("breakpoint",K)},getBreakpoint:function hg(o,c="window",s){if(!o||"container"===c&&!s)return;let l=!1;const h=zo(),_="window"===c?h.innerHeight:s.clientHeight,D=Object.keys(o).map(L=>{if("string"==typeof L&&0===L.indexOf("@")){const H=parseFloat(L.substr(1));return{value:_*H,point:L}}return{value:L,point:L}});D.sort((L,H)=>parseInt(L.value,10)-parseInt(H.value,10));for(let L=0;L<D.length;L+=1){const{point:H,value:K}=D[L];"window"===c?h.matchMedia(`(min-width: ${K}px)`).matches&&(l=H):K<=s.clientWidth&&(l=H)}return l||"max"}},N_={addClasses:function Hf(){const o=this,{classNames:c,params:s,rtl:l,$el:h,device:_,support:D}=o,L=function mg(o,c){const s=[];return o.forEach(l=>{"object"==typeof l?Object.keys(l).forEach(h=>{l[h]&&s.push(c+h)}):"string"==typeof l&&s.push(c+l)}),s}(["initialized",s.direction,{"pointer-events":!D.touch},{"free-mode":o.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:l},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:_.android},{ios:_.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides}],s.containerModifierClass);c.push(...L),h.addClass([...c].join(" ")),o.emitContainerClasses()},removeClasses:function pp(){const{$el:c,classNames:s}=this;c.removeClass(s.join(" ")),this.emitContainerClasses()}},V_={loadImage:function xd(o,c,s,l,h,_){const D=zo();let L;function H(){_&&_()}Jr(o).parent("picture")[0]||o.complete&&h||!c?H():(L=new D.Image,L.onload=H,L.onerror=H,l&&(L.sizes=l),s&&(L.srcset=s),c&&(L.src=c))},preloadImages:function B_(){const o=this;function c(){typeof o>"u"||null===o||!o||o.destroyed||(void 0!==o.imagesLoaded&&(o.imagesLoaded+=1),o.imagesLoaded===o.imagesToLoad.length&&(o.params.updateOnImagesReady&&o.update(),o.emit("imagesReady")))}o.imagesToLoad=o.$el.find("img");for(let s=0;s<o.imagesToLoad.length;s+=1){const l=o.imagesToLoad[s];o.loadImage(l,l.currentSrc||l.getAttribute("src"),l.srcset||l.getAttribute("srcset"),l.sizes||l.getAttribute("sizes"),!0,c)}}},oa={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function gg(o,c){return function(l={}){const h=Object.keys(l)[0],_=l[h];"object"==typeof _&&null!==_?(["navigation","pagination","scrollbar"].indexOf(h)>=0&&!0===o[h]&&(o[h]={auto:!0}),h in o&&"enabled"in _?(!0===o[h]&&(o[h]={enabled:!0}),"object"==typeof o[h]&&!("enabled"in o[h])&&(o[h].enabled=!0),o[h]||(o[h]={enabled:!1}),Ea(c,l)):Ea(c,l)):Ea(c,l)}}const Hc={eventsEmitter:eg,update:Io,translate:F_,transition:Vf,slide:cp,loop:yl,grabCursor:{setGrabCursor:function Er(o){const c=this;if(c.support.touch||!c.params.simulateTouch||c.params.watchOverflow&&c.isLocked||c.params.cssMode)return;const s="container"===c.params.touchEventsTarget?c.el:c.wrapperEl;s.style.cursor="move",s.style.cursor=o?"-webkit-grabbing":"-webkit-grab",s.style.cursor=o?"-moz-grabbin":"-moz-grab",s.style.cursor=o?"grabbing":"grab"},unsetGrabCursor:function pu(){const o=this;o.support.touch||o.params.watchOverflow&&o.isLocked||o.params.cssMode||(o["container"===o.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:ug,breakpoints:pg,checkOverflow:{checkOverflow:function j_(){const o=this,{isLocked:c,params:s}=o,{slidesOffsetBefore:l}=s;if(l){const h=o.slides.length-1;o.isLocked=o.size>o.slidesGrid[h]+o.slidesSizesGrid[h]+2*l}else o.isLocked=1===o.snapGrid.length;!0===s.allowSlideNext&&(o.allowSlideNext=!o.isLocked),!0===s.allowSlidePrev&&(o.allowSlidePrev=!o.isLocked),c&&c!==o.isLocked&&(o.isEnd=!1),c!==o.isLocked&&o.emit(o.isLocked?"lock":"unlock")}},classes:N_,images:V_},Gc={};class $s{constructor(...c){let s,l;if(1===c.length&&c[0].constructor&&"Object"===Object.prototype.toString.call(c[0]).slice(8,-1)?l=c[0]:[s,l]=c,l||(l={}),l=Ea({},l),s&&!l.el&&(l.el=s),l.el&&Jr(l.el).length>1){const L=[];return Jr(l.el).each(H=>{const K=Ea({},l,{el:H});L.push(new $s(K))}),L}const h=this;h.__swiper__=!0,h.support=vl(),h.device=function mr(o={}){return zl||(zl=function pc({userAgent:o}={}){const c=vl(),s=zo(),l=s.navigator.platform,h=o||s.navigator.userAgent,_={ios:!1,android:!1},D=s.screen.width,L=s.screen.height,H=h.match(/(Android);?[\s\/]+([\d.]+)?/);let K=h.match(/(iPad).*OS\s([\d_]+)/);const X=h.match(/(iPod)(.*OS\s([\d_]+))?/),Q=!K&&h.match(/(iPhone\sOS|iOS)\s([\d_]+)/),ve="Win32"===l;let ke="MacIntel"===l;return!K&&ke&&c.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${D}x${L}`)>=0&&(K=h.match(/(Version)\/([\d.]+)/),K||(K=[0,1,"13_0_0"]),ke=!1),H&&!ve&&(_.os="android",_.android=!0),(K||Q||X)&&(_.os="ios",_.ios=!0),_}(o)),zl}({userAgent:l.userAgent}),h.browser=function No(){return Ff||(Ff=function ra(){const o=zo();return{isSafari:function c(){const s=o.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(o.navigator.userAgent)}}()),Ff}(),h.eventsListeners={},h.eventsAnyListeners=[],h.modules=[...h.__modules__],l.modules&&Array.isArray(l.modules)&&h.modules.push(...l.modules);const _={};h.modules.forEach(L=>{L({swiper:h,extendParams:gg(l,_),on:h.on.bind(h),once:h.once.bind(h),off:h.off.bind(h),emit:h.emit.bind(h)})});const D=Ea({},oa,_);return h.params=Ea({},D,Gc,l),h.originalParams=Ea({},h.params),h.passedParams=Ea({},l),h.params&&h.params.on&&Object.keys(h.params.on).forEach(L=>{h.on(L,h.params.on[L])}),h.params&&h.params.onAny&&h.onAny(h.params.onAny),h.$=Jr,Object.assign(h,{enabled:h.params.enabled,el:s,classNames:[],slides:Jr(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===h.params.direction,isVertical:()=>"vertical"===h.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:h.params.allowSlideNext,allowSlidePrev:h.params.allowSlidePrev,touchEvents:function(){const H=["touchstart","touchmove","touchend","touchcancel"],K=["pointerdown","pointermove","pointerup"];return h.touchEventsTouch={start:H[0],move:H[1],end:H[2],cancel:H[3]},h.touchEventsDesktop={start:K[0],move:K[1],end:K[2]},h.support.touch||!h.params.simulateTouch?h.touchEventsTouch:h.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:h.params.focusableElements,lastClickTime:fc(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:h.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),h.emit("_swiper"),h.params.init&&h.init(),h}enable(){const c=this;c.enabled||(c.enabled=!0,c.params.grabCursor&&c.setGrabCursor(),c.emit("enable"))}disable(){const c=this;c.enabled&&(c.enabled=!1,c.params.grabCursor&&c.unsetGrabCursor(),c.emit("disable"))}setProgress(c,s){const l=this;c=Math.min(Math.max(c,0),1);const h=l.minTranslate(),D=(l.maxTranslate()-h)*c+h;l.translateTo(D,typeof s>"u"?0:s),l.updateActiveIndex(),l.updateSlidesClasses()}emitContainerClasses(){const c=this;if(!c.params._emitClasses||!c.el)return;const s=c.el.className.split(" ").filter(l=>0===l.indexOf("swiper")||0===l.indexOf(c.params.containerModifierClass));c.emit("_containerClasses",s.join(" "))}getSlideClasses(c){const s=this;return c.className.split(" ").filter(l=>0===l.indexOf("swiper-slide")||0===l.indexOf(s.params.slideClass)).join(" ")}emitSlidesClasses(){const c=this;if(!c.params._emitClasses||!c.el)return;const s=[];c.slides.each(l=>{const h=c.getSlideClasses(l);s.push({slideEl:l,classNames:h}),c.emit("_slideClass",l,h)}),c.emit("_slideClasses",s)}slidesPerViewDynamic(c="current",s=!1){const{params:h,slides:_,slidesGrid:D,slidesSizesGrid:L,size:H,activeIndex:K}=this;let X=1;if(h.centeredSlides){let ve,Q=_[K].swiperSlideSize;for(let ke=K+1;ke<_.length;ke+=1)_[ke]&&!ve&&(Q+=_[ke].swiperSlideSize,X+=1,Q>H&&(ve=!0));for(let ke=K-1;ke>=0;ke-=1)_[ke]&&!ve&&(Q+=_[ke].swiperSlideSize,X+=1,Q>H&&(ve=!0))}else if("current"===c)for(let Q=K+1;Q<_.length;Q+=1)(s?D[Q]+L[Q]-D[K]<H:D[Q]-D[K]<H)&&(X+=1);else for(let Q=K-1;Q>=0;Q-=1)D[K]-D[Q]<H&&(X+=1);return X}update(){const c=this;if(!c||c.destroyed)return;const{snapGrid:s,params:l}=c;function h(){const L=Math.min(Math.max(c.rtlTranslate?-1*c.translate:c.translate,c.maxTranslate()),c.minTranslate());c.setTranslate(L),c.updateActiveIndex(),c.updateSlidesClasses()}let _;l.breakpoints&&c.setBreakpoint(),c.updateSize(),c.updateSlides(),c.updateProgress(),c.updateSlidesClasses(),c.params.freeMode&&c.params.freeMode.enabled?(h(),c.params.autoHeight&&c.updateAutoHeight()):(_=c.slideTo(("auto"===c.params.slidesPerView||c.params.slidesPerView>1)&&c.isEnd&&!c.params.centeredSlides?c.slides.length-1:c.activeIndex,0,!1,!0),_||h()),l.watchOverflow&&s!==c.snapGrid&&c.checkOverflow(),c.emit("update")}changeDirection(c,s=!0){const l=this,h=l.params.direction;return c||(c="horizontal"===h?"vertical":"horizontal"),c===h||"horizontal"!==c&&"vertical"!==c||(l.$el.removeClass(`${l.params.containerModifierClass}${h}`).addClass(`${l.params.containerModifierClass}${c}`),l.emitContainerClasses(),l.params.direction=c,l.slides.each(_=>{"vertical"===c?_.style.width="":_.style.height=""}),l.emit("changeDirection"),s&&l.update()),l}mount(c){const s=this;if(s.mounted)return!0;const l=Jr(c||s.params.el);if(!(c=l[0]))return!1;c.swiper=s;const h=()=>`.${(s.params.wrapperClass||"").trim().split(" ").join(".")}`;let D=(()=>{if(c&&c.shadowRoot&&c.shadowRoot.querySelector){const L=Jr(c.shadowRoot.querySelector(h()));return L.children=H=>l.children(H),L}return l.children(h())})();if(0===D.length&&s.params.createElements){const H=gs().createElement("div");D=Jr(H),H.className=s.params.wrapperClass,l.append(H),l.children(`.${s.params.slideClass}`).each(K=>{D.append(K)})}return Object.assign(s,{$el:l,el:c,$wrapperEl:D,wrapperEl:D[0],mounted:!0,rtl:"rtl"===c.dir.toLowerCase()||"rtl"===l.css("direction"),rtlTranslate:"horizontal"===s.params.direction&&("rtl"===c.dir.toLowerCase()||"rtl"===l.css("direction")),wrongRTL:"-webkit-box"===D.css("display")}),!0}init(c){const s=this;return s.initialized||!1===s.mount(c)||(s.emit("beforeInit"),s.params.breakpoints&&s.setBreakpoint(),s.addClasses(),s.params.loop&&s.loopCreate(),s.updateSize(),s.updateSlides(),s.params.watchOverflow&&s.checkOverflow(),s.params.grabCursor&&s.enabled&&s.setGrabCursor(),s.params.preloadImages&&s.preloadImages(),s.slideTo(s.params.loop?s.params.initialSlide+s.loopedSlides:s.params.initialSlide,0,s.params.runCallbacksOnInit,!1,!0),s.attachEvents(),s.initialized=!0,s.emit("init"),s.emit("afterInit")),s}destroy(c=!0,s=!0){const l=this,{params:h,$el:_,$wrapperEl:D,slides:L}=l;return typeof l.params>"u"||l.destroyed||(l.emit("beforeDestroy"),l.initialized=!1,l.detachEvents(),h.loop&&l.loopDestroy(),s&&(l.removeClasses(),_.removeAttr("style"),D.removeAttr("style"),L&&L.length&&L.removeClass([h.slideVisibleClass,h.slideActiveClass,h.slideNextClass,h.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),l.emit("destroy"),Object.keys(l.eventsListeners).forEach(H=>{l.off(H)}),!1!==c&&(l.$el[0].swiper=null,function R_(o){const c=o;Object.keys(c).forEach(s=>{try{c[s]=null}catch{}try{delete c[s]}catch{}})}(l)),l.destroyed=!0),null}static extendDefaults(c){Ea(Gc,c)}static get extendedDefaults(){return Gc}static get defaults(){return oa}static installModule(c){$s.prototype.__modules__||($s.prototype.__modules__=[]);const s=$s.prototype.__modules__;"function"==typeof c&&s.indexOf(c)<0&&s.push(c)}static use(c){return Array.isArray(c)?(c.forEach(s=>$s.installModule(s)),$s):($s.installModule(c),$s)}}Object.keys(Hc).forEach(o=>{Object.keys(Hc[o]).forEach(c=>{$s.prototype[c]=Hc[o][c]})}),$s.use([function qm({swiper:o,on:c,emit:s}){const l=zo();let h=null;const _=()=>{!o||o.destroyed||!o.initialized||(s("beforeResize"),s("resize"))},H=()=>{!o||o.destroyed||!o.initialized||s("orientationchange")};c("init",()=>{o.params.resizeObserver&&typeof l.ResizeObserver<"u"?!o||o.destroyed||!o.initialized||(h=new ResizeObserver(K=>{const{width:X,height:Q}=o;let ve=X,ke=Q;K.forEach(({contentBoxSize:Fe,contentRect:it,target:qe})=>{qe&&qe!==o.el||(ve=it?it.width:(Fe[0]||Fe).inlineSize,ke=it?it.height:(Fe[0]||Fe).blockSize)}),(ve!==X||ke!==Q)&&_()}),h.observe(o.el)):(l.addEventListener("resize",_),l.addEventListener("orientationchange",H))}),c("destroy",()=>{h&&h.unobserve&&o.el&&(h.unobserve(o.el),h=null),l.removeEventListener("resize",_),l.removeEventListener("orientationchange",H)})},function Il({swiper:o,extendParams:c,on:s,emit:l}){const h=[],_=zo(),D=(K,X={})=>{const ve=new(_.MutationObserver||_.WebkitMutationObserver)(ke=>{if(1===ke.length)return void l("observerUpdate",ke[0]);const Fe=function(){l("observerUpdate",ke[0])};_.requestAnimationFrame?_.requestAnimationFrame(Fe):_.setTimeout(Fe,0)});ve.observe(K,{attributes:typeof X.attributes>"u"||X.attributes,childList:typeof X.childList>"u"||X.childList,characterData:typeof X.characterData>"u"||X.characterData}),h.push(ve)};c({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",()=>{if(o.params.observer){if(o.params.observeParents){const K=o.$el.parents();for(let X=0;X<K.length;X+=1)D(K[X])}D(o.$el[0],{childList:o.params.observeSlideChildren}),D(o.$wrapperEl[0],{attributes:!1})}}),s("destroy",()=>{h.forEach(K=>{K.disconnect()}),h.splice(0,h.length)})}]);const zc=$s;function Gf(o,c,s,l){const h=gs();return o.params.createElements&&Object.keys(l).forEach(_=>{if(!s[_]&&!0===s.auto){let D=o.$el.children(`.${l[_]}`)[0];D||(D=h.createElement("div"),D.className=l[_],o.$el.append(D)),s[_]=D,c[_]=D}}),s}function Wc({swiper:o,extendParams:c,on:s,emit:l}){function h(Q){let ve;return Q&&(ve=Jr(Q),o.params.uniqueNavElements&&"string"==typeof Q&&ve.length>1&&1===o.$el.find(Q).length&&(ve=o.$el.find(Q))),ve}function _(Q,ve){const ke=o.params.navigation;Q&&Q.length>0&&(Q[ve?"addClass":"removeClass"](ke.disabledClass),Q[0]&&"BUTTON"===Q[0].tagName&&(Q[0].disabled=ve),o.params.watchOverflow&&o.enabled&&Q[o.isLocked?"addClass":"removeClass"](ke.lockClass))}function D(){if(o.params.loop)return;const{$nextEl:Q,$prevEl:ve}=o.navigation;_(ve,o.isBeginning&&!o.params.rewind),_(Q,o.isEnd&&!o.params.rewind)}function L(Q){Q.preventDefault(),(!o.isBeginning||o.params.loop||o.params.rewind)&&o.slidePrev()}function H(Q){Q.preventDefault(),(!o.isEnd||o.params.loop||o.params.rewind)&&o.slideNext()}function K(){const Q=o.params.navigation;if(o.params.navigation=Gf(o,o.originalParams.navigation,o.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!Q.nextEl&&!Q.prevEl)return;const ve=h(Q.nextEl),ke=h(Q.prevEl);ve&&ve.length>0&&ve.on("click",H),ke&&ke.length>0&&ke.on("click",L),Object.assign(o.navigation,{$nextEl:ve,nextEl:ve&&ve[0],$prevEl:ke,prevEl:ke&&ke[0]}),o.enabled||(ve&&ve.addClass(Q.lockClass),ke&&ke.addClass(Q.lockClass))}function X(){const{$nextEl:Q,$prevEl:ve}=o.navigation;Q&&Q.length&&(Q.off("click",H),Q.removeClass(o.params.navigation.disabledClass)),ve&&ve.length&&(ve.off("click",L),ve.removeClass(o.params.navigation.disabledClass))}c({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}}),o.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},s("init",()=>{K(),D()}),s("toEdge fromEdge lock unlock",()=>{D()}),s("destroy",()=>{X()}),s("enable disable",()=>{const{$nextEl:Q,$prevEl:ve}=o.navigation;Q&&Q[o.enabled?"removeClass":"addClass"](o.params.navigation.lockClass),ve&&ve[o.enabled?"removeClass":"addClass"](o.params.navigation.lockClass)}),s("click",(Q,ve)=>{const{$nextEl:ke,$prevEl:Fe}=o.navigation,it=ve.target;if(o.params.navigation.hideOnClick&&!Jr(it).is(Fe)&&!Jr(it).is(ke)){if(o.pagination&&o.params.pagination&&o.params.pagination.clickable&&(o.pagination.el===it||o.pagination.el.contains(it)))return;let qe;ke?qe=ke.hasClass(o.params.navigation.hiddenClass):Fe&&(qe=Fe.hasClass(o.params.navigation.hiddenClass)),l(!0===qe?"navigationShow":"navigationHide"),ke&&ke.toggleClass(o.params.navigation.hiddenClass),Fe&&Fe.toggleClass(o.params.navigation.hiddenClass)}}),Object.assign(o.navigation,{update:D,init:K,destroy:X})}function ss(o=""){return`.${o.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function kl({swiper:o,extendParams:c,on:s,emit:l}){const h="swiper-pagination";c({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:ke=>ke,formatFractionTotal:ke=>ke,bulletClass:`${h}-bullet`,bulletActiveClass:`${h}-bullet-active`,modifierClass:`${h}-`,currentClass:`${h}-current`,totalClass:`${h}-total`,hiddenClass:`${h}-hidden`,progressbarFillClass:`${h}-progressbar-fill`,progressbarOppositeClass:`${h}-progressbar-opposite`,clickableClass:`${h}-clickable`,lockClass:`${h}-lock`,horizontalClass:`${h}-horizontal`,verticalClass:`${h}-vertical`}}),o.pagination={el:null,$el:null,bullets:[]};let _,D=0;function L(){return!o.params.pagination.el||!o.pagination.el||!o.pagination.$el||0===o.pagination.$el.length}function H(ke,Fe){const{bulletActiveClass:it}=o.params.pagination;ke[Fe]().addClass(`${it}-${Fe}`)[Fe]().addClass(`${it}-${Fe}-${Fe}`)}function K(){const ke=o.rtl,Fe=o.params.pagination;if(L())return;const it=o.virtual&&o.params.virtual.enabled?o.virtual.slides.length:o.slides.length,qe=o.pagination.$el;let It;const Rt=o.params.loop?Math.ceil((it-2*o.loopedSlides)/o.params.slidesPerGroup):o.snapGrid.length;if(o.params.loop?(It=Math.ceil((o.activeIndex-o.loopedSlides)/o.params.slidesPerGroup),It>it-1-2*o.loopedSlides&&(It-=it-2*o.loopedSlides),It>Rt-1&&(It-=Rt),It<0&&"bullets"!==o.params.paginationType&&(It=Rt+It)):It=typeof o.snapIndex<"u"?o.snapIndex:o.activeIndex||0,"bullets"===Fe.type&&o.pagination.bullets&&o.pagination.bullets.length>0){const xt=o.pagination.bullets;let nn,yn,Mn;if(Fe.dynamicBullets&&(_=xt.eq(0)[o.isHorizontal()?"outerWidth":"outerHeight"](!0),qe.css(o.isHorizontal()?"width":"height",_*(Fe.dynamicMainBullets+4)+"px"),Fe.dynamicMainBullets>1&&void 0!==o.previousIndex&&(D+=It-(o.previousIndex-o.loopedSlides||0),D>Fe.dynamicMainBullets-1?D=Fe.dynamicMainBullets-1:D<0&&(D=0)),nn=Math.max(It-D,0),yn=nn+(Math.min(xt.length,Fe.dynamicMainBullets)-1),Mn=(yn+nn)/2),xt.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(kn=>`${Fe.bulletActiveClass}${kn}`).join(" ")),qe.length>1)xt.each(kn=>{const rn=Jr(kn),ln=rn.index();ln===It&&rn.addClass(Fe.bulletActiveClass),Fe.dynamicBullets&&(ln>=nn&&ln<=yn&&rn.addClass(`${Fe.bulletActiveClass}-main`),ln===nn&&H(rn,"prev"),ln===yn&&H(rn,"next"))});else{const kn=xt.eq(It),rn=kn.index();if(kn.addClass(Fe.bulletActiveClass),Fe.dynamicBullets){const ln=xt.eq(nn),xn=xt.eq(yn);for(let vn=nn;vn<=yn;vn+=1)xt.eq(vn).addClass(`${Fe.bulletActiveClass}-main`);if(o.params.loop)if(rn>=xt.length){for(let vn=Fe.dynamicMainBullets;vn>=0;vn-=1)xt.eq(xt.length-vn).addClass(`${Fe.bulletActiveClass}-main`);xt.eq(xt.length-Fe.dynamicMainBullets-1).addClass(`${Fe.bulletActiveClass}-prev`)}else H(ln,"prev"),H(xn,"next");else H(ln,"prev"),H(xn,"next")}}if(Fe.dynamicBullets){const kn=Math.min(xt.length,Fe.dynamicMainBullets+4),rn=(_*kn-_)/2-Mn*_,ln=ke?"right":"left";xt.css(o.isHorizontal()?ln:"top",`${rn}px`)}}if("fraction"===Fe.type&&(qe.find(ss(Fe.currentClass)).text(Fe.formatFractionCurrent(It+1)),qe.find(ss(Fe.totalClass)).text(Fe.formatFractionTotal(Rt))),"progressbar"===Fe.type){let xt;xt=Fe.progressbarOpposite?o.isHorizontal()?"vertical":"horizontal":o.isHorizontal()?"horizontal":"vertical";const nn=(It+1)/Rt;let yn=1,Mn=1;"horizontal"===xt?yn=nn:Mn=nn,qe.find(ss(Fe.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${yn}) scaleY(${Mn})`).transition(o.params.speed)}"custom"===Fe.type&&Fe.renderCustom?(qe.html(Fe.renderCustom(o,It+1,Rt)),l("paginationRender",qe[0])):l("paginationUpdate",qe[0]),o.params.watchOverflow&&o.enabled&&qe[o.isLocked?"addClass":"removeClass"](Fe.lockClass)}function X(){const ke=o.params.pagination;if(L())return;const Fe=o.virtual&&o.params.virtual.enabled?o.virtual.slides.length:o.slides.length,it=o.pagination.$el;let qe="";if("bullets"===ke.type){let It=o.params.loop?Math.ceil((Fe-2*o.loopedSlides)/o.params.slidesPerGroup):o.snapGrid.length;o.params.freeMode&&o.params.freeMode.enabled&&!o.params.loop&&It>Fe&&(It=Fe);for(let Rt=0;Rt<It;Rt+=1)qe+=ke.renderBullet?ke.renderBullet.call(o,Rt,ke.bulletClass):`<${ke.bulletElement} class="${ke.bulletClass}"></${ke.bulletElement}>`;it.html(qe),o.pagination.bullets=it.find(ss(ke.bulletClass))}"fraction"===ke.type&&(qe=ke.renderFraction?ke.renderFraction.call(o,ke.currentClass,ke.totalClass):`<span class="${ke.currentClass}"></span> / <span class="${ke.totalClass}"></span>`,it.html(qe)),"progressbar"===ke.type&&(qe=ke.renderProgressbar?ke.renderProgressbar.call(o,ke.progressbarFillClass):`<span class="${ke.progressbarFillClass}"></span>`,it.html(qe)),"custom"!==ke.type&&l("paginationRender",o.pagination.$el[0])}function Q(){o.params.pagination=Gf(o,o.originalParams.pagination,o.params.pagination,{el:"swiper-pagination"});const ke=o.params.pagination;if(!ke.el)return;let Fe=Jr(ke.el);0!==Fe.length&&(o.params.uniqueNavElements&&"string"==typeof ke.el&&Fe.length>1&&(Fe=o.$el.find(ke.el),Fe.length>1&&(Fe=Fe.filter(it=>Jr(it).parents(".swiper")[0]===o.el))),"bullets"===ke.type&&ke.clickable&&Fe.addClass(ke.clickableClass),Fe.addClass(ke.modifierClass+ke.type),Fe.addClass(ke.modifierClass+o.params.direction),"bullets"===ke.type&&ke.dynamicBullets&&(Fe.addClass(`${ke.modifierClass}${ke.type}-dynamic`),D=0,ke.dynamicMainBullets<1&&(ke.dynamicMainBullets=1)),"progressbar"===ke.type&&ke.progressbarOpposite&&Fe.addClass(ke.progressbarOppositeClass),ke.clickable&&Fe.on("click",ss(ke.bulletClass),function(qe){qe.preventDefault();let It=Jr(this).index()*o.params.slidesPerGroup;o.params.loop&&(It+=o.loopedSlides),o.slideTo(It)}),Object.assign(o.pagination,{$el:Fe,el:Fe[0]}),o.enabled||Fe.addClass(ke.lockClass))}function ve(){const ke=o.params.pagination;if(L())return;const Fe=o.pagination.$el;Fe.removeClass(ke.hiddenClass),Fe.removeClass(ke.modifierClass+ke.type),Fe.removeClass(ke.modifierClass+o.params.direction),o.pagination.bullets&&o.pagination.bullets.removeClass&&o.pagination.bullets.removeClass(ke.bulletActiveClass),ke.clickable&&Fe.off("click",ss(ke.bulletClass))}s("init",()=>{Q(),X(),K()}),s("activeIndexChange",()=>{(o.params.loop||typeof o.snapIndex>"u")&&K()}),s("snapIndexChange",()=>{o.params.loop||K()}),s("slidesLengthChange",()=>{o.params.loop&&(X(),K())}),s("snapGridLengthChange",()=>{o.params.loop||(X(),K())}),s("destroy",()=>{ve()}),s("enable disable",()=>{const{$el:ke}=o.pagination;ke&&ke[o.enabled?"removeClass":"addClass"](o.params.pagination.lockClass)}),s("lock unlock",()=>{K()}),s("click",(ke,Fe)=>{const it=Fe.target,{$el:qe}=o.pagination;if(o.params.pagination.el&&o.params.pagination.hideOnClick&&qe.length>0&&!Jr(it).hasClass(o.params.pagination.bulletClass)){if(o.navigation&&(o.navigation.nextEl&&it===o.navigation.nextEl||o.navigation.prevEl&&it===o.navigation.prevEl))return;const It=qe.hasClass(o.params.pagination.hiddenClass);l(!0===It?"paginationShow":"paginationHide"),qe.toggleClass(o.params.pagination.hiddenClass)}}),Object.assign(o.pagination,{render:X,update:K,init:Q,destroy:ve})}function gu({swiper:o,extendParams:c,on:s,emit:l}){let h;function _(){const it=o.slides.eq(o.activeIndex);let qe=o.params.autoplay.delay;it.attr("data-swiper-autoplay")&&(qe=it.attr("data-swiper-autoplay")||o.params.autoplay.delay),clearTimeout(h),h=uc(()=>{let It;o.params.autoplay.reverseDirection?o.params.loop?(o.loopFix(),It=o.slidePrev(o.params.speed,!0,!0),l("autoplay")):o.isBeginning?o.params.autoplay.stopOnLastSlide?L():(It=o.slideTo(o.slides.length-1,o.params.speed,!0,!0),l("autoplay")):(It=o.slidePrev(o.params.speed,!0,!0),l("autoplay")):o.params.loop?(o.loopFix(),It=o.slideNext(o.params.speed,!0,!0),l("autoplay")):o.isEnd?o.params.autoplay.stopOnLastSlide?L():(It=o.slideTo(0,o.params.speed,!0,!0),l("autoplay")):(It=o.slideNext(o.params.speed,!0,!0),l("autoplay")),(o.params.cssMode&&o.autoplay.running||!1===It)&&_()},qe)}function D(){return!(typeof h<"u"||o.autoplay.running||(o.autoplay.running=!0,l("autoplayStart"),_(),0))}function L(){return!(!o.autoplay.running||typeof h>"u"||(h&&(clearTimeout(h),h=void 0),o.autoplay.running=!1,l("autoplayStop"),0))}function H(it){o.autoplay.running&&(o.autoplay.paused||(h&&clearTimeout(h),o.autoplay.paused=!0,0!==it&&o.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(qe=>{o.$wrapperEl[0].addEventListener(qe,X)}):(o.autoplay.paused=!1,_())))}function K(){const it=gs();"hidden"===it.visibilityState&&o.autoplay.running&&H(),"visible"===it.visibilityState&&o.autoplay.paused&&(_(),o.autoplay.paused=!1)}function X(it){!o||o.destroyed||!o.$wrapperEl||it.target===o.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(qe=>{o.$wrapperEl[0].removeEventListener(qe,X)}),o.autoplay.paused=!1,o.autoplay.running?_():L())}function Q(){o.params.autoplay.disableOnInteraction?L():H(),["transitionend","webkitTransitionEnd"].forEach(it=>{o.$wrapperEl[0].removeEventListener(it,X)})}function ve(){o.params.autoplay.disableOnInteraction||(o.autoplay.paused=!1,_())}o.autoplay={running:!1,paused:!1},c({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),s("init",()=>{o.params.autoplay.enabled&&(D(),gs().addEventListener("visibilitychange",K),function ke(){o.params.autoplay.pauseOnMouseEnter&&(o.$el.on("mouseenter",Q),o.$el.on("mouseleave",ve))}())}),s("beforeTransitionStart",(it,qe,It)=>{o.autoplay.running&&(It||!o.params.autoplay.disableOnInteraction?o.autoplay.pause(qe):L())}),s("sliderFirstMove",()=>{o.autoplay.running&&(o.params.autoplay.disableOnInteraction?L():H())}),s("touchEnd",()=>{o.params.cssMode&&o.autoplay.paused&&!o.params.autoplay.disableOnInteraction&&_()}),s("destroy",()=>{(function Fe(){o.$el.off("mouseenter",Q),o.$el.off("mouseleave",ve)})(),o.autoplay.running&&L(),gs().removeEventListener("visibilitychange",K)}),Object.assign(o.autoplay,{pause:H,run:_,start:D,stop:L})}const Cg=["prevElRef"],Dg=["nextElRef"],Ep=["scrollbarElRef"],xg=["paginationElRef"],wg=[[["","slot","container-start"]],[["","slot","wrapper-start"]],[["","slot","wrapper-end"]],[["","slot","container-end"]]],Sg=["[slot=container-start]","[slot=wrapper-start]","[slot=wrapper-end]","[slot=container-end]"],Cp=o=>({loopSlides:o,key:"prepend"}),wd=o=>({loopSlides:o,key:""}),_u=o=>({loopSlides:o,key:"append"}),vu=o=>({$implicit:o});function Tg(o,c){1&o&&(r.qex(0),r.nrm(1,"div",10,1)(3,"div",11,2),r.bVm())}function Mg(o,c){1&o&&r.nrm(0,"div",12,3)}function Wf(o,c){1&o&&r.nrm(0,"div",13,4)}function Dp(o,c){}function mc(o,c){1&o&&r.DNE(0,Dp,0,0,"ng-template")}function xp(o,c){}function wp(o,c){1&o&&r.DNE(0,xp,0,0,"ng-template")}function Ig(o,c){}function $_(o,c){1&o&&r.DNE(0,Ig,0,0,"ng-template")}function bu(o,c){}function kg(o,c){if(1&o&&(r.j41(0,"div",8),r.DNE(1,bu,0,0,"ng-template",18),r.k0s()),2&o){const s=r.XpG().$implicit,l=r.XpG(2);r.Y8G("ngClass",l.zoomContainerClass),r.R7$(),r.Y8G("ngTemplateOutlet",s.template)("ngTemplateOutletContext",r.eq3(3,vu,s.slideData))}}function yu(o,c){}function Kf(o,c){if(1&o&&(r.qex(0),r.DNE(1,yu,0,0,"ng-template",18),r.bVm()),2&o){const s=r.XpG().$implicit;r.R7$(),r.Y8G("ngTemplateOutlet",s.template)("ngTemplateOutletContext",r.eq3(2,vu,s.slideData))}}function Xf(o,c){if(1&o&&(r.j41(0,"div",15),r.DNE(1,kg,2,5,"div",16)(2,Kf,2,4,"ng-container",17),r.k0s()),2&o){const s=c.$implicit,l=r.XpG().key,h=r.XpG();r.Aen(h.style),r.Y8G("ngClass",(s.class?s.class+" ":"")+h.slideClass+(""!==l?" "+h.slideDuplicateClass:""))("ngSwitch",s.zoom),r.BMQ("data-swiper-slide-index",s.virtualIndex?s.virtualIndex:s.slideIndex)("data-swiper-autoplay",s.autoplayDelay),r.R7$(),r.Y8G("ngSwitchCase",!0)}}function Yf(o,c){1&o&&(r.DNE(0,Xf,3,7,"div",14),r.nI1(1,"async")),2&o&&r.Y8G("ngForOf",r.bMT(1,1,c.loopSlides))}function gc(o){return"object"==typeof o&&null!==o&&o.constructor&&"Object"===Object.prototype.toString.call(o).slice(8,-1)}function Sd(o,c,s){return!0===Td(o)&&c&&!c.el||!("boolean"!=typeof c&&c.el!==s?.nativeElement&&("string"==typeof c.el||"object"==typeof c.el))}function sa(o,c){const s=["__proto__","constructor","prototype"];Object.keys(c).filter(l=>s.indexOf(l)<0).forEach(l=>{typeof o[l]>"u"?o[l]=c[l]:o[l]&&!c[l]||(gc(c[l])&&gc(o[l])&&Object.keys(c[l]).length>0?c[l].__swiper__?o[l]=c[l]:sa(o[l],c[l]):o[l]=c[l])})}function Td(o){return null!=o&&"false"!=`${o}`}const Qf=["pagination","navigation","scrollbar","virtual"];function Kl(o,c={}){return gc(o)?o:!0===Td(o)&&c}const ks=["init","enabled","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","_grid","_slidesPerGroup","_slidesPerGroupSkip","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopFillGroupWithBlank","loopPreventsSlide","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","on"];function Yc(o={}){const c={on:{}},l={};sa(c,zc.defaults),sa(c,zc.extendedDefaults),c._emitClasses=!0,c.init=!1;const h={},_=ks.map(D=>D.replace(/_/,""));return Object.keys(o).forEach(D=>{const L=D.replace(/^_/,"");_.indexOf(L)>=0?gc(o[D])?(c[L]={},l[L]={},sa(c[L],o[D]),sa(l[L],o[D])):(c[L]=o[D],l[L]=o[D]):h[L]=o[D]}),["navigation","pagination","scrollbar"].forEach(D=>{!0===c[D]&&(c[D]={}),!1===c[D]&&delete c[D]}),{params:c,passedParams:l,rest:h}}ks.map(o=>o.replace(/_/,""));let Sp=(()=>{class o{constructor(s){this.template=s,this.class="",this.autoplayDelay=null,this.slideData={isActive:!1,isPrev:!1,isNext:!1,isVisible:!1,isDuplicate:!1}}set zoom(s){this._zoom=Td(s)}get zoom(){return this._zoom}get classNames(){return this._classNames}set classNames(s){this._classNames!==s&&(this._classNames=s,this.slideData={isActive:this._hasClass(["swiper-slide-active","swiper-slide-duplicate-active"]),isVisible:this._hasClass(["swiper-slide-visible"]),isDuplicate:this._hasClass(["swiper-slide-duplicate"]),isPrev:this._hasClass(["swiper-slide-prev","swiper-slide-duplicate-prev"]),isNext:this._hasClass(["swiper-slide-next","swiper-slide-duplicate-next"])})}_hasClass(s){return s.some(l=>this._classNames.indexOf(l)>=0)}}return o.\u0275fac=function(s){return new(s||o)(r.rXU(r.C4Q))},o.\u0275dir=r.FsC({type:o,selectors:[["ng-template","swiperSlide",""]],inputs:{virtualIndex:"virtualIndex",class:"class",autoplayDelay:[r.Mj6.None,"data-swiper-autoplay","autoplayDelay"],zoom:"zoom"}}),o})(),Tp=(()=>{class o{constructor(s,l,h,_){this._ngZone=s,this.elementRef=l,this._changeDetectorRef=h,this._platformId=_,this.slideClass="swiper-slide",this.wrapperClass="swiper-wrapper",this.showNavigation=!0,this.showPagination=!0,this.showScrollbar=!0,this.s__beforeBreakpoint=new r.bkB,this.s__containerClasses=new r.bkB,this.s__slideClass=new r.bkB,this.s__swiper=new r.bkB,this.s_activeIndexChange=new r.bkB,this.s_afterInit=new r.bkB,this.s_autoplay=new r.bkB,this.s_autoplayStart=new r.bkB,this.s_autoplayStop=new r.bkB,this.s_beforeDestroy=new r.bkB,this.s_beforeInit=new r.bkB,this.s_beforeLoopFix=new r.bkB,this.s_beforeResize=new r.bkB,this.s_beforeSlideChangeStart=new r.bkB,this.s_beforeTransitionStart=new r.bkB,this.s_breakpoint=new r.bkB,this.s_changeDirection=new r.bkB,this.s_click=new r.bkB,this.s_doubleTap=new r.bkB,this.s_doubleClick=new r.bkB,this.s_destroy=new r.bkB,this.s_fromEdge=new r.bkB,this.s_hashChange=new r.bkB,this.s_hashSet=new r.bkB,this.s_imagesReady=new r.bkB,this.s_init=new r.bkB,this.s_keyPress=new r.bkB,this.s_lazyImageLoad=new r.bkB,this.s_lazyImageReady=new r.bkB,this.s_loopFix=new r.bkB,this.s_momentumBounce=new r.bkB,this.s_navigationHide=new r.bkB,this.s_navigationShow=new r.bkB,this.s_observerUpdate=new r.bkB,this.s_orientationchange=new r.bkB,this.s_paginationHide=new r.bkB,this.s_paginationRender=new r.bkB,this.s_paginationShow=new r.bkB,this.s_paginationUpdate=new r.bkB,this.s_progress=new r.bkB,this.s_reachBeginning=new r.bkB,this.s_reachEnd=new r.bkB,this.s_realIndexChange=new r.bkB,this.s_resize=new r.bkB,this.s_scroll=new r.bkB,this.s_scrollbarDragEnd=new r.bkB,this.s_scrollbarDragMove=new r.bkB,this.s_scrollbarDragStart=new r.bkB,this.s_setTransition=new r.bkB,this.s_setTranslate=new r.bkB,this.s_slideChange=new r.bkB,this.s_slideChangeTransitionEnd=new r.bkB,this.s_slideChangeTransitionStart=new r.bkB,this.s_slideNextTransitionEnd=new r.bkB,this.s_slideNextTransitionStart=new r.bkB,this.s_slidePrevTransitionEnd=new r.bkB,this.s_slidePrevTransitionStart=new r.bkB,this.s_slideResetTransitionStart=new r.bkB,this.s_slideResetTransitionEnd=new r.bkB,this.s_sliderMove=new r.bkB,this.s_sliderFirstMove=new r.bkB,this.s_slidesLengthChange=new r.bkB,this.s_slidesGridLengthChange=new r.bkB,this.s_snapGridLengthChange=new r.bkB,this.s_snapIndexChange=new r.bkB,this.s_tap=new r.bkB,this.s_toEdge=new r.bkB,this.s_touchEnd=new r.bkB,this.s_touchMove=new r.bkB,this.s_touchMoveOpposite=new r.bkB,this.s_touchStart=new r.bkB,this.s_transitionEnd=new r.bkB,this.s_transitionStart=new r.bkB,this.s_update=new r.bkB,this.s_zoomChange=new r.bkB,this.s_lock=new r.bkB,this.s_unlock=new r.bkB,this.s_swiper=new r.bkB,this.indexChange=new r.bkB,this._activeSlides=new ul.B,this.containerClasses="swiper",this.slidesChanges=D=>{this.slides=D.map((L,H)=>(L.slideIndex=H,L.classNames=this.slideClass||"",L)),this.loop&&!this.loopedSlides&&this.calcLoopedSlides(),this.virtual?this.swiperRef&&this.swiperRef.virtual&&this._ngZone.runOutsideAngular(()=>{this.swiperRef.virtual.slides=this.slides,this.swiperRef.virtual.update(!0)}):this.loopedSlides&&(this.prependSlides=(0,Mo.of)(this.slides.slice(this.slides.length-this.loopedSlides)),this.appendSlides=(0,Mo.of)(this.slides.slice(0,this.loopedSlides))),this._changeDetectorRef.detectChanges()},this.style=null,this.updateVirtualSlides=D=>{!this.swiperRef||this.currentVirtualData&&this.currentVirtualData.from===D.from&&this.currentVirtualData.to===D.to&&this.currentVirtualData.offset===D.offset||(this.style=this.swiperRef.isHorizontal()?{[this.swiperRef.rtlTranslate?"right":"left"]:`${D.offset}px`}:{top:`${D.offset}px`},this.currentVirtualData=D,this._activeSlides.next(D.slides),this._ngZone.run(()=>{this._changeDetectorRef.detectChanges()}),this._ngZone.runOutsideAngular(()=>{this.swiperRef.updateSlides(),this.swiperRef.updateProgress(),this.swiperRef.updateSlidesClasses(),this.swiperRef.lazy&&this.swiperRef.params.lazy.enabled&&this.swiperRef.lazy.load(),this.swiperRef.virtual.update(!0)}))}}set navigation(s){var l,h,_;const D="boolean"!=typeof this._navigation&&""!==this._navigation?null===(l=this._navigation)||void 0===l?void 0:l.nextEl:null,L="boolean"!=typeof this._navigation&&""!==this._navigation?null===(h=this._navigation)||void 0===h?void 0:h.prevEl:null;this._navigation=Kl(s,{nextEl:D||null,prevEl:L||null}),this.showNavigation=!(!0!==Td(s)||this._navigation&&"boolean"!=typeof this._navigation&&this._navigation.prevEl!==(null===(_=this._prevElRef)||void 0===_?void 0:_.nativeElement)&&(null!==this._navigation.prevEl||null!==this._navigation.nextEl)&&("string"==typeof this._navigation.nextEl||"string"==typeof this._navigation.prevEl||"object"==typeof this._navigation.nextEl||"object"==typeof this._navigation.prevEl))}get navigation(){return this._navigation}set pagination(s){var l;const h="boolean"!=typeof this._pagination&&""!==this._pagination?null===(l=this._pagination)||void 0===l?void 0:l.el:null;this._pagination=Kl(s,{el:h||null}),this.showPagination=Sd(s,this._pagination,this._paginationElRef)}get pagination(){return this._pagination}set scrollbar(s){var l;const h="boolean"!=typeof this._scrollbar&&""!==this._scrollbar?null===(l=this._scrollbar)||void 0===l?void 0:l.el:null;this._scrollbar=Kl(s,{el:h||null}),this.showScrollbar=Sd(s,this._scrollbar,this._scrollbarElRef)}get scrollbar(){return this._scrollbar}set virtual(s){this._virtual=Kl(s)}get virtual(){return this._virtual}set index(s){console.warn("`[(index)]` prop is deprecated and will be removed in upcoming versions"),this.setIndex(s)}set config(s){this.updateSwiper(s);const{params:l}=Yc(s);Object.assign(this,l)}set prevElRef(s){this._prevElRef=s,this._setElement(s,this.navigation,"navigation","prevEl")}set nextElRef(s){this._nextElRef=s,this._setElement(s,this.navigation,"navigation","nextEl")}set scrollbarElRef(s){this._scrollbarElRef=s,this._setElement(s,this.scrollbar,"scrollbar")}set paginationElRef(s){this._paginationElRef=s,this._setElement(s,this.pagination,"pagination")}get activeSlides(){return this.virtual?this._activeSlides:(0,Mo.of)(this.slides)}get zoomContainerClass(){return this.zoom&&"boolean"!=typeof this.zoom?this.zoom.containerClass:"swiper-zoom-container"}_setElement(s,l,h,_="el"){if(!l||!s)return;if(s.nativeElement){if(l[_]===s.nativeElement)return;l[_]=s.nativeElement}const D={};D[h]=!0,this.updateInitSwiper(D)}ngOnInit(){const{params:s}=Yc(this);Object.assign(this,s)}ngAfterViewInit(){this.childrenSlidesInit(),this.initSwiper(),this._changeDetectorRef.detectChanges(),setTimeout(()=>{this.s_swiper.emit(this.swiperRef)})}childrenSlidesInit(){this.slidesChanges(this.slidesEl),this.slidesEl.changes.subscribe(this.slidesChanges)}get isSwiperActive(){return this.swiperRef&&!this.swiperRef.destroyed}initSwiper(){const{params:s}=Yc(this);Object.assign(this,s),this._ngZone.runOutsideAngular(()=>{s.init=!1,s.virtual||(s.observer=!0),s.onAny=(H,...K)=>{const X=this["s_"+H];X&&X.emit(...K)},Object.assign(s.on,{_containerClasses:(H,K)=>{setTimeout(()=>{this.containerClasses=K})},_slideClasses:(H,K)=>{K.forEach(({slideEl:X,classNames:Q},ve)=>{const ke=X.getAttribute("data-swiper-slide-index"),Fe=ke?parseInt(ke):ve;if(this.virtual){const it=this.slides.find(qe=>qe.virtualIndex&&qe.virtualIndex===Fe);if(it)return void(it.classNames=Q)}this.slides[Fe]&&(this.slides[Fe].classNames=Q)}),this._changeDetectorRef.detectChanges()}});const D=new zc(s);if(D.loopCreate=()=>{},D.loopDestroy=()=>{},s.loop&&(D.loopedSlides=this.loopedSlides),D.virtual&&typeof D.params.virtual<"u"&&"boolean"!=typeof D.params.virtual&&D.params.virtual.enabled){D.virtual.slides=this.slides;const H={cache:!1,slides:this.slides,renderExternal:this.updateVirtualSlides,renderExternalUpdate:!1};sa(D.params.virtual,H),sa(D.originalParams.virtual,H)}(0,F.UE)(this._platformId)&&(this.swiperRef=D.init(this.elementRef.nativeElement),this.swiperRef.virtual&&typeof this.swiperRef.params.virtual<"u"&&"boolean"!=typeof this.swiperRef.params.virtual&&this.swiperRef.params.virtual.enabled&&this.swiperRef.virtual.update(!0),this._changeDetectorRef.detectChanges(),D.on("slideChange",()=>{this.indexChange.emit(this.swiperRef.realIndex)}))})}ngOnChanges(s){this.updateSwiper(s),this._changeDetectorRef.detectChanges()}updateInitSwiper(s){s&&this.swiperRef&&!this.swiperRef.destroyed&&this._ngZone.runOutsideAngular(()=>{const{pagination:h,navigation:_,scrollbar:D,thumbs:H}=this.swiperRef;s.pagination&&(this.pagination&&"boolean"!=typeof this.pagination&&this.pagination.el&&h&&!h.el?(this.updateParameter("pagination",this.pagination),h.init(),h.render(),h.update()):(h.destroy(),h.el=null)),s.scrollbar&&(this.scrollbar&&"boolean"!=typeof this.scrollbar&&this.scrollbar.el&&D&&!D.el?(this.updateParameter("scrollbar",this.scrollbar),D.init(),D.updateSize(),D.setTranslate()):(D.destroy(),D.el=null)),s.navigation&&(this.navigation&&"boolean"!=typeof this.navigation&&this.navigation.prevEl&&this.navigation.nextEl&&_&&!_.prevEl&&!_.nextEl?(this.updateParameter("navigation",this.navigation),_.init(),_.update()):_.prevEl&&_.nextEl&&(_.destroy(),_.nextEl=null,_.prevEl=null)),s.thumbs&&this.thumbs&&this.thumbs.swiper&&(this.updateParameter("thumbs",this.thumbs),H.init()&&H.update(!0)),s.controller&&this.controller&&this.controller.control&&(this.swiperRef.controller.control=this.controller.control),this.swiperRef.update()})}updateSwiper(s){this._ngZone.runOutsideAngular(()=>{var l,h;if(!s.config&&s&&this.swiperRef&&!this.swiperRef.destroyed){for(const _ in s){if(Qf.indexOf(_)>=0)continue;const D=null!==(h=null===(l=s[_])||void 0===l?void 0:l.currentValue)&&void 0!==h?h:s[_];this.updateParameter(_,D)}s.allowSlideNext&&(this.swiperRef.allowSlideNext=this.allowSlideNext),s.allowSlidePrev&&(this.swiperRef.allowSlidePrev=this.allowSlidePrev),s.direction&&this.swiperRef.changeDirection(this.direction,!1),s.breakpoints&&(this.loop&&!this.loopedSlides&&this.calcLoopedSlides(),this.swiperRef.currentBreakpoint=null,this.swiperRef.setBreakpoint()),(s.thumbs||s.controller)&&this.updateInitSwiper(s),this.swiperRef.update()}})}calcLoopedSlides(){if(!this.loop)return;let s=this.slidesPerView;if(this.breakpoints){const h=zc.prototype.getBreakpoint(this.breakpoints),_=h in this.breakpoints?this.breakpoints[h]:void 0;_&&_.slidesPerView&&(s=_.slidesPerView)}if("auto"===s)return this.loopedSlides=this.slides.length,this.slides.length;let l=this.loopedSlides||s;return l?(this.loopAdditionalSlides&&(l+=this.loopAdditionalSlides),l>this.slides.length&&(l=this.slides.length),this.loopedSlides=l,l):void 0}updateParameter(s,l){if(!this.swiperRef||this.swiperRef.destroyed)return;const h=s.replace(/^_/,""),_=gc(this.swiperRef.params[h]);"enabled"!==h?_&&gc(l)?sa(this.swiperRef.params[h],l):this.swiperRef.params[h]=l:!0===l?this.swiperRef.enable():!1===l&&this.swiperRef.disable()}setIndex(s,l,h){this.isSwiperActive?s!==this.swiperRef.activeIndex&&this._ngZone.runOutsideAngular(()=>{this.loop?this.swiperRef.slideToLoop(s,l,!h):this.swiperRef.slideTo(s,l,!h)}):this.initialSlide=s}ngOnDestroy(){this._ngZone.runOutsideAngular(()=>{var s;null===(s=this.swiperRef)||void 0===s||s.destroy(!0,!1)})}}return o.\u0275fac=function(s){return new(s||o)(r.rXU(r.SKi),r.rXU(r.aKT),r.rXU(r.gRc),r.rXU(r.Agw))},o.\u0275cmp=r.VBU({type:o,selectors:[["swiper"],["","swiper",""]],contentQueries:function(s,l,h){if(1&s&&r.wni(h,Sp,4),2&s){let _;r.mGM(_=r.lsd())&&(l.slidesEl=_)}},viewQuery:function(s,l){if(1&s&&(r.GBs(Cg,5),r.GBs(Dg,5),r.GBs(Ep,5),r.GBs(xg,5)),2&s){let h;r.mGM(h=r.lsd())&&(l.prevElRef=h.first),r.mGM(h=r.lsd())&&(l.nextElRef=h.first),r.mGM(h=r.lsd())&&(l.scrollbarElRef=h.first),r.mGM(h=r.lsd())&&(l.paginationElRef=h.first)}},hostVars:2,hostBindings:function(s,l){2&s&&r.HbH(l.containerClasses)},inputs:{enabled:"enabled",on:"on",direction:"direction",touchEventsTarget:"touchEventsTarget",initialSlide:"initialSlide",speed:"speed",cssMode:"cssMode",updateOnWindowResize:"updateOnWindowResize",resizeObserver:"resizeObserver",nested:"nested",focusableElements:"focusableElements",width:"width",height:"height",preventInteractionOnTransition:"preventInteractionOnTransition",userAgent:"userAgent",url:"url",edgeSwipeDetection:"edgeSwipeDetection",edgeSwipeThreshold:"edgeSwipeThreshold",freeMode:"freeMode",autoHeight:"autoHeight",setWrapperSize:"setWrapperSize",virtualTranslate:"virtualTranslate",effect:"effect",breakpoints:"breakpoints",spaceBetween:"spaceBetween",slidesPerView:"slidesPerView",grid:"grid",slidesPerGroup:"slidesPerGroup",slidesPerGroupSkip:"slidesPerGroupSkip",centeredSlides:"centeredSlides",centeredSlidesBounds:"centeredSlidesBounds",slidesOffsetBefore:"slidesOffsetBefore",slidesOffsetAfter:"slidesOffsetAfter",normalizeSlideIndex:"normalizeSlideIndex",centerInsufficientSlides:"centerInsufficientSlides",watchOverflow:"watchOverflow",roundLengths:"roundLengths",touchRatio:"touchRatio",touchAngle:"touchAngle",simulateTouch:"simulateTouch",shortSwipes:"shortSwipes",longSwipes:"longSwipes",longSwipesRatio:"longSwipesRatio",longSwipesMs:"longSwipesMs",followFinger:"followFinger",allowTouchMove:"allowTouchMove",threshold:"threshold",touchMoveStopPropagation:"touchMoveStopPropagation",touchStartPreventDefault:"touchStartPreventDefault",touchStartForcePreventDefault:"touchStartForcePreventDefault",touchReleaseOnEdges:"touchReleaseOnEdges",uniqueNavElements:"uniqueNavElements",resistance:"resistance",resistanceRatio:"resistanceRatio",watchSlidesProgress:"watchSlidesProgress",grabCursor:"grabCursor",preventClicks:"preventClicks",preventClicksPropagation:"preventClicksPropagation",slideToClickedSlide:"slideToClickedSlide",preloadImages:"preloadImages",updateOnImagesReady:"updateOnImagesReady",loop:"loop",loopAdditionalSlides:"loopAdditionalSlides",loopedSlides:"loopedSlides",loopFillGroupWithBlank:"loopFillGroupWithBlank",loopPreventsSlide:"loopPreventsSlide",rewind:"rewind",allowSlidePrev:"allowSlidePrev",allowSlideNext:"allowSlideNext",swipeHandler:"swipeHandler",noSwiping:"noSwiping",noSwipingClass:"noSwipingClass",noSwipingSelector:"noSwipingSelector",passiveListeners:"passiveListeners",containerModifierClass:"containerModifierClass",slideClass:"slideClass",slideBlankClass:"slideBlankClass",slideActiveClass:"slideActiveClass",slideDuplicateActiveClass:"slideDuplicateActiveClass",slideVisibleClass:"slideVisibleClass",slideDuplicateClass:"slideDuplicateClass",slideNextClass:"slideNextClass",slideDuplicateNextClass:"slideDuplicateNextClass",slidePrevClass:"slidePrevClass",slideDuplicatePrevClass:"slideDuplicatePrevClass",wrapperClass:"wrapperClass",runCallbacksOnInit:"runCallbacksOnInit",observeParents:"observeParents",observeSlideChildren:"observeSlideChildren",a11y:"a11y",autoplay:"autoplay",controller:"controller",coverflowEffect:"coverflowEffect",cubeEffect:"cubeEffect",fadeEffect:"fadeEffect",flipEffect:"flipEffect",creativeEffect:"creativeEffect",cardsEffect:"cardsEffect",hashNavigation:"hashNavigation",history:"history",keyboard:"keyboard",lazy:"lazy",mousewheel:"mousewheel",parallax:"parallax",thumbs:"thumbs",zoom:"zoom",class:"class",id:"id",navigation:"navigation",pagination:"pagination",scrollbar:"scrollbar",virtual:"virtual",index:"index",config:"config"},outputs:{s__beforeBreakpoint:"_beforeBreakpoint",s__containerClasses:"_containerClasses",s__slideClass:"_slideClass",s__swiper:"_swiper",s_activeIndexChange:"activeIndexChange",s_afterInit:"afterInit",s_autoplay:"autoplay",s_autoplayStart:"autoplayStart",s_autoplayStop:"autoplayStop",s_beforeDestroy:"beforeDestroy",s_beforeInit:"beforeInit",s_beforeLoopFix:"beforeLoopFix",s_beforeResize:"beforeResize",s_beforeSlideChangeStart:"beforeSlideChangeStart",s_beforeTransitionStart:"beforeTransitionStart",s_breakpoint:"breakpoint",s_changeDirection:"changeDirection",s_click:"click",s_doubleTap:"doubleTap",s_doubleClick:"doubleClick",s_destroy:"destroy",s_fromEdge:"fromEdge",s_hashChange:"hashChange",s_hashSet:"hashSet",s_imagesReady:"imagesReady",s_init:"init",s_keyPress:"keyPress",s_lazyImageLoad:"lazyImageLoad",s_lazyImageReady:"lazyImageReady",s_loopFix:"loopFix",s_momentumBounce:"momentumBounce",s_navigationHide:"navigationHide",s_navigationShow:"navigationShow",s_observerUpdate:"observerUpdate",s_orientationchange:"orientationchange",s_paginationHide:"paginationHide",s_paginationRender:"paginationRender",s_paginationShow:"paginationShow",s_paginationUpdate:"paginationUpdate",s_progress:"progress",s_reachBeginning:"reachBeginning",s_reachEnd:"reachEnd",s_realIndexChange:"realIndexChange",s_resize:"resize",s_scroll:"scroll",s_scrollbarDragEnd:"scrollbarDragEnd",s_scrollbarDragMove:"scrollbarDragMove",s_scrollbarDragStart:"scrollbarDragStart",s_setTransition:"setTransition",s_setTranslate:"setTranslate",s_slideChange:"slideChange",s_slideChangeTransitionEnd:"slideChangeTransitionEnd",s_slideChangeTransitionStart:"slideChangeTransitionStart",s_slideNextTransitionEnd:"slideNextTransitionEnd",s_slideNextTransitionStart:"slideNextTransitionStart",s_slidePrevTransitionEnd:"slidePrevTransitionEnd",s_slidePrevTransitionStart:"slidePrevTransitionStart",s_slideResetTransitionStart:"slideResetTransitionStart",s_slideResetTransitionEnd:"slideResetTransitionEnd",s_sliderMove:"sliderMove",s_sliderFirstMove:"sliderFirstMove",s_slidesLengthChange:"slidesLengthChange",s_slidesGridLengthChange:"slidesGridLengthChange",s_snapGridLengthChange:"snapGridLengthChange",s_snapIndexChange:"snapIndexChange",s_tap:"tap",s_toEdge:"toEdge",s_touchEnd:"touchEnd",s_touchMove:"touchMove",s_touchMoveOpposite:"touchMoveOpposite",s_touchStart:"touchStart",s_transitionEnd:"transitionEnd",s_transitionStart:"transitionStart",s_update:"update",s_zoomChange:"zoomChange",s_lock:"lock",s_unlock:"unlock",s_swiper:"swiper",indexChange:"indexChange"},features:[r.OA$],ngContentSelectors:Sg,decls:13,vars:17,consts:[["slidesTemplate",""],["prevElRef",""],["nextElRef",""],["scrollbarElRef",""],["paginationElRef",""],[4,"ngIf"],["class","swiper-scrollbar",4,"ngIf"],["class","swiper-pagination",4,"ngIf"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"swiper-button-prev"],[1,"swiper-button-next"],[1,"swiper-scrollbar"],[1,"swiper-pagination"],[3,"ngClass","style","ngSwitch",4,"ngFor","ngForOf"],[3,"ngClass","ngSwitch"],[3,"ngClass",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(s,l){if(1&s&&(r.NAR(wg),r.SdG(0),r.DNE(1,Tg,5,0,"ng-container",5)(2,Mg,2,0,"div",6)(3,Wf,2,0,"div",7),r.j41(4,"div",8),r.SdG(5,1),r.DNE(6,mc,1,0,null,9)(7,wp,1,0,null,9)(8,$_,1,0,null,9),r.SdG(9,2),r.k0s(),r.SdG(10,3),r.DNE(11,Yf,2,3,"ng-template",null,0,r.C5r)),2&s){const h=r.sdS(12);r.R7$(),r.Y8G("ngIf",l.navigation&&l.showNavigation),r.R7$(),r.Y8G("ngIf",l.scrollbar&&l.showScrollbar),r.R7$(),r.Y8G("ngIf",l.pagination&&l.showPagination),r.R7$(),r.Y8G("ngClass",l.wrapperClass),r.BMQ("id",l.id),r.R7$(2),r.Y8G("ngTemplateOutlet",h)("ngTemplateOutletContext",r.eq3(11,Cp,l.prependSlides)),r.R7$(),r.Y8G("ngTemplateOutlet",h)("ngTemplateOutletContext",r.eq3(13,wd,l.activeSlides)),r.R7$(),r.Y8G("ngTemplateOutlet",h)("ngTemplateOutletContext",r.eq3(15,_u,l.appendSlides))}},dependencies:[F.bT,F.YU,F.T3,F.Sq,F.ux,F.e1,F.fG,F.Jj],styles:["\n swiper {\n display: block;\n }\n "],encapsulation:2,changeDetection:0}),o})(),Ag=(()=>{class o{}return o.\u0275fac=function(s){return new(s||o)},o.\u0275mod=r.$C({type:o}),o.\u0275inj=r.G2t({imports:[[F.MD]]}),o})();const Jf=["prevSwiperButton"],Og=["nextSwiperButton"];function Cu(o,c){if(1&o&&(r.j41(0,"div")(1,"a",12),r.nrm(2,"img",13),r.k0s()()),2&o){const s=r.XpG(2).$implicit,l=r.XpG(3);r.xc7("background-color",s.backgroundColor),r.R7$(),r.BMQ("aria-label",s.link?s.alt:null)("href",s.link?s.link.path:null,r.B4B)("role",s.link?null:"none"),r.R7$(),r.Y8G("alt",s.alt)("src",l.isMobile?null==s.mobileImage.url?null:s.mobileImage.url.path:null==s.desktopImage.url?null:s.desktopImage.url.path,r.B4B),r.BMQ("role",s.link?null:"img")}}function Mp(o,c){if(1&o&&r.DNE(0,Cu,3,8,"div",11),2&o){const s=r.XpG().$implicit;r.Y8G("ngIf",s)}}function ur(o,c){1&o&&r.DNE(0,Mp,1,1,"ng-template",10)}function Ip(o,c){if(1&o){const s=r.RV6();r.j41(0,"swiper",8),r.bIt("swiper",function(h){r.eBV(s);const _=r.XpG(2);return r.Njj(_.onSwiperInit(h))}),r.DNE(1,ur,1,0,null,9),r.k0s()}if(2&o){const s=r.XpG(2);r.Y8G("config",s.config),r.R7$(),r.Y8G("ngForOf",null==s.bannerList?null:s.bannerList.items)}}function kp(o,c){if(1&o){const s=r.RV6();r.qex(0),r.j41(1,"button",14),r.bIt("click",function(){r.eBV(s);const h=r.XpG(2);return r.Njj(h.toggleSwiperPlaying())}),r.nrm(2,"span"),r.k0s(),r.j41(3,"div",15,0),r.bIt("tkClickOrPressSpace",function(){r.eBV(s);const h=r.XpG(2);return r.Njj(h.swipePrevious())}),r.k0s(),r.nrm(5,"div",16),r.j41(6,"div",17,1),r.bIt("tkClickOrPressSpace",function(){r.eBV(s);const h=r.XpG(2);return r.Njj(h.swipeNext())}),r.k0s(),r.bVm()}if(2&o){const s=r.XpG().$implicit,l=r.XpG();r.R7$(),r.BMQ("aria-label",null!=l.swiper&&null!=l.swiper.autoplay&&l.swiper.autoplay.running?"Pause":"Play"),r.R7$(),r.HbH(null!=l.swiper&&null!=l.swiper.autoplay&&l.swiper.autoplay.running?"inline-block w-6 h-6 bg-ico_pause bg-no-repeat bg-center":"inline-block w-6 h-6 bg-ico_play bg-no-repeat bg-center"),r.R7$(),r.BMQ("aria-label",s("fegeneral/carousel/slide/previous")),r.R7$(3),r.BMQ("aria-label",s("fegeneral/carousel/slide/next"))}}function _c(o,c){if(1&o){const s=r.RV6();r.qex(0),r.j41(1,"div",3)(2,"div",4),r.bIt("mouseenter",function(){r.eBV(s);const h=r.XpG();return r.Njj(h.pauseOnMouseEnter())})("mouseleave",function(){r.eBV(s);const h=r.XpG();return r.Njj(h.unPauseOnMouseLeave())})("focusin",function(){r.eBV(s);const h=r.XpG();return r.Njj(h.pauseOnFocusEnter())})("focusout",function(){r.eBV(s);const h=r.XpG();return r.Njj(h.unPauseOnFocusLeave())}),r.DNE(3,Ip,2,2,"swiper",5),r.k0s(),r.j41(4,"div",6),r.DNE(5,kp,8,5,"ng-container",7),r.k0s()(),r.bVm()}if(2&o){const s=r.XpG();r.R7$(),r.Y8G("adminLinks",null==s.bannerList?null:s.bannerList.adminLinks),r.R7$(),r.HbH(s.isMobile?"mobile-container":"desktop-container"),r.R7$(),r.Y8G("ngIf",s.bannerList),r.R7$(2),r.Y8G("ngIf",(null==s.bannerList||null==s.bannerList.items?null:s.bannerList.items.length)>1)}}let Zf=(()=>{class o{constructor(s){this.document=s,this.isMobile=!1,this.windowWidth=9999,this.config={direction:"horizontal",grabCursor:!0,updateOnWindowResize:!0,loop:!0,autoplay:{delay:7e3,disableOnInteraction:!1},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".pagination",bulletClass:"inline-block rounded-full ring-2 ring-tk_grey_700 w-3 h-3",bulletActiveClass:"bg-tk_grey_700 border-2 border-white",clickable:!0}},this.pausedByMouseEvent=!1,this.pausedByFocusEvent=!1}ngOnInit(){zc.use([gu,Wc,kl]),this.getWindowWidth()}onSwiperInit(s){this.bannerList?.items?.length<=1&&s.disable(),this.swiper=s}toggleSwiperPlaying(){this.swiper&&(this.swiper.autoplay.running?this.swiper.autoplay.stop():this.swiper.autoplay.start())}getWindowWidth(){this.windowWidth=this.document.body.clientWidth,this.isMobile=this.windowWidth<=640}pauseOnMouseEnter(){!1!==this.swiper?.autoplay.running&&(this.swiper?.autoplay.stop(),this.pausedByMouseEvent=!0)}unPauseOnMouseLeave(){this.pausedByMouseEvent&&(this.swiper?.autoplay.start(),this.pausedByMouseEvent=!1)}pauseOnFocusEnter(){!1!==this.swiper?.autoplay.running&&(this.swiper?.autoplay.stop(),this.pausedByFocusEvent=!0)}unPauseOnFocusLeave(){this.pausedByFocusEvent&&(this.swiper?.autoplay.start(),this.pausedByFocusEvent=!1)}swipePrevious(){this.prevSwiperButton?.nativeElement&&this.prevSwiperButton.nativeElement.click()}swipeNext(){this.nextSwiperButton?.nativeElement&&this.nextSwiperButton.nativeElement.click()}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(F.qQ))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-banner-carousel"]],viewQuery:function(l,h){if(1&l&&(r.GBs(Jf,5),r.GBs(Og,5)),2&l){let _;r.mGM(_=r.lsd())&&(h.prevSwiperButton=_.first),r.mGM(_=r.lsd())&&(h.nextSwiperButton=_.first)}},hostBindings:function(l,h){1&l&&r.bIt("resize",function(D){return h.getWindowWidth(D)},!1,r.tSv)},inputs:{bannerList:"bannerList"},standalone:!0,features:[r.aNF],decls:1,vars:0,consts:[["prevSwiperButton",""],["nextSwiperButton",""],[4,"transloco"],["tkEditable","",3,"adminLinks"],[3,"mouseenter","mouseleave","focusin","focusout"],[3,"config","swiper",4,"ngIf"],[1,"mt-2","flex","min-h-[12px]","justify-center","align-middle"],[4,"ngIf"],[3,"swiper","config"],[4,"ngFor","ngForOf"],["swiperSlide",""],[3,"background-color",4,"ngIf"],["target","_blank",1,"max-w-desktop","mx-auto","block"],[3,"alt","src"],[1,"mr-3","h-6","rounded","bg-tk_grey_300","hover:bg-tk_grey_500","focus:ring-2","focus:ring-tk_blue",3,"click"],["tabindex","0",1,"swiper-button-prev","size-6","bg-ico_slider_arrow","bg-center","bg-no-repeat",3,"tkClickOrPressSpace"],[1,"pagination","gap-2"],["tabindex","0",1,"swiper-button-next","size-6","rotate-180","bg-ico_slider_arrow","bg-center","bg-no-repeat",3,"tkClickOrPressSpace"]],template:function(l,h){1&l&&r.DNE(0,_c,6,5,"ng-container",2)},dependencies:[F.MD,F.Sq,F.bT,Rn.G,na.y,Ka.i5,Ag,Tp,Sp,uo.bA],styles:[".pagination[_ngcontent-%COMP%]{margin-left:.75rem;margin-right:.75rem;display:flex;align-items:center}.pagination[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.mobile-container[_ngcontent-%COMP%]{min-height:560px}.desktop-container[_ngcontent-%COMP%]{min-height:400px}"]})}return o})();var Ap=f(6697);const Rg=()=>["/uudised"];function Qc(o,c){if(1&o&&(r.j41(0,"a",8)(1,"span",9)(2,"span",10),r.EFF(3),r.k0s()(),r.j41(4,"span",11),r.EFF(5),r.nI1(6,"tkDate"),r.k0s()()),2&o){const s=c.$implicit;r.Y8G("routerLink",null==s||null==s.url?null:s.url.path),r.R7$(3),r.JRh(s.title),r.R7$(2),r.JRh(r.bMT(6,3,s.created))}}function Xl(o,c){if(1&o&&(r.j41(0,"div",4),r.DNE(1,Qc,7,5,"a",5),r.j41(2,"a",6),r.nI1(3,"localize"),r.j41(4,"span",7),r.EFF(5),r.k0s()()()),2&o){const s=r.XpG().$implicit,l=r.XpG();r.R7$(),r.Y8G("ngForOf",l.news),r.R7$(),r.Y8G("routerLink",r.bMT(3,3,r.lJ4(5,Rg))),r.R7$(3),r.SpI(" ",s("fegeneral/frontpage/news/viewMore")," ")}}function qf(o,c){if(1&o&&(r.j41(0,"div",4)(1,"p"),r.EFF(2),r.k0s()()),2&o){const s=r.XpG(2);r.R7$(2),r.JRh(s.errorMessage)}}function Md(o,c){if(1&o&&(r.qex(0),r.j41(1,"h3",2),r.EFF(2),r.k0s(),r.DNE(3,Xl,6,6,"div",3)(4,qf,3,1,"ng-template",null,0,r.C5r),r.bVm()),2&o){const s=c.$implicit,l=r.sdS(5),h=r.XpG();r.R7$(2),r.SpI(" ",s("fegeneral/frontpage/news/title")," "),r.R7$(),r.Y8G("ngIf",null==h.news?null:h.news.length)("ngIfElse",l)}}let Op=(()=>{class o{constructor(s,l){this.newsService=s,this.translateService=l,this.error=!1,this.loading=!0}ngOnInit(){this.getNews()}getNews(){this.newsService.getLatestNews(3).pipe((0,Ap.s)(1)).subscribe(s=>{this.news=s,this.loading=!1},()=>{this.error=!0,this.loading=!1})}get errorMessage(){return this.translateService.translate(this.loading?"fegeneral/frontpage/news/loading":this.error?"fegeneral/frontpage/news/error":"fegeneral/frontpage/news/notFound")}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(sc),r.rXU(uo.JO))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-news-block"]],decls:1,vars:0,consts:[["noNews",""],[4,"transloco"],[1,"mb-4","mt-6","font-nunito","text-3-1xl","font-extrabold","tracking-tight","text-tk_grey_900","md:text-4xl"],["class","flex flex-col space-y-4",4,"ngIf","ngIfElse"],[1,"flex","flex-col","space-y-4"],["class","panel flex min-h-13 flex-col px-3 py-2",3,"routerLink",4,"ngFor","ngForOf"],[1,"group","col-span-1","flex","self-end",3,"routerLink"],[1,"flex","h-4","text-sm","font-bold","leading-4","text-tk_text","transition-all","after:relative","after:ml-2","after:inline-block","after:size-4","after:bg-ico-hor-chevron","after:bg-center","after:bg-no-repeat","after:content-['']","group-hover:after:-right-1px"],[1,"panel","flex","min-h-13","flex-col","px-3","py-2",3,"routerLink"],[1,"group"],[1,"inline","h-4","grow","text-sm","font-medium","leading-5","text-tk_grey_900","transition-all","after:relative","after:-bottom-3px","after:ml-2","after:inline-block","after:size-4","after:bg-ico-hor-chevron","after:bg-center","after:bg-no-repeat","after:content-['']","group-hover:after:-right-1px"],[1,"pt-2px","text-sm","font-normal","text-tk_grey_700"]],template:function(l,h){1&l&&r.DNE(0,Md,6,3,"ng-container",1)},dependencies:[F.Sq,F.bT,P.Wk,uo.bA,oc.i,cd.t],encapsulation:2})}return o})();function eh(o,c){if(1&o&&(r.j41(0,"a",6),r.nrm(1,"img",7),r.j41(2,"span",8),r.EFF(3),r.k0s()()),2&o){const s=r.XpG().$implicit;r.Y8G("routerLink",s.url.path),r.R7$(),r.Y8G("alt",s.title)("src",null==s.icon||null==s.icon.image||null==s.icon.image.url?null:s.icon.image.url.path,r.B4B),r.R7$(2),r.JRh(s.title)}}function th(o,c){if(1&o&&(r.j41(0,"a",9),r.nrm(1,"img",7),r.j41(2,"span",8),r.EFF(3),r.k0s()()),2&o){const s=r.XpG().$implicit;r.Y8G("href",s.url.path,r.B4B),r.R7$(),r.Y8G("alt",s.title)("src",null==s.icon||null==s.icon.image||null==s.icon.image.url?null:s.icon.image.url.path,r.B4B),r.R7$(2),r.JRh(s.title)}}function nh(o,c){if(1&o&&(r.j41(0,"div"),r.DNE(1,eh,4,4,"a",4)(2,th,4,4,"a",5),r.k0s()),2&o){const s=c.$implicit;r.R7$(),r.Y8G("ngIf",!s.url.external),r.R7$(),r.Y8G("ngIf",s.url.external)}}function Rp(o,c){if(1&o&&(r.qex(0),r.j41(1,"h3",1),r.EFF(2),r.k0s(),r.j41(3,"div",2),r.DNE(4,nh,3,2,"div",3),r.k0s(),r.bVm()),2&o){const s=c.$implicit,l=r.XpG();r.R7$(2),r.SpI(" ",s("fegeneral/frontpage/shortcuts/title")," "),r.R7$(2),r.Y8G("ngForOf",l.shortcuts)}}let ih=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-shortcuts-block"]],inputs:{shortcuts:"shortcuts"},decls:1,vars:0,consts:[[4,"transloco"],[1,"mb-4","mt-6","font-nunito","text-3-1xl","font-extrabold","tracking-tight","text-tk_grey_900","md:text-4xl"],[1,"grid","grid-cols-1","grid-rows-8","gap-4","md:grid-flow-col","md:grid-cols-2","md:grid-rows-4"],[4,"ngFor","ngForOf"],["class","panel group col-span-1 flex items-center px-3 py-4",3,"routerLink",4,"ngIf"],["target","_blank","class","panel group col-span-1 flex items-center px-3 py-4",3,"href",4,"ngIf"],[1,"panel","group","col-span-1","flex","items-center","px-3","py-4",3,"routerLink"],[1,"mr-4","size-13",3,"alt","src"],[1,"flex","h-4","text-sm","font-bold","leading-4","text-tk_text","transition-all","after:relative","after:ml-2","after:inline-block","after:size-4","after:bg-ico-hor-chevron","after:bg-center","after:bg-no-repeat","after:content-['']","group-hover:after:-right-1px"],["target","_blank",1,"panel","group","col-span-1","flex","items-center","px-3","py-4",3,"href"]],template:function(l,h){1&l&&r.DNE(0,Rp,5,2,"ng-container",0)},dependencies:[F.Sq,F.bT,P.Wk,uo.bA],encapsulation:2})}return o})(),Pg=(()=>{class o{constructor(s,l,h,_,D){this.apollo=s,this.menuService=l,this.routerService=h,this.backlinkService=_,this.metaService=D}ngOnInit(){this.getBanners(),this.getShortcuts(),this.getJobPositions(),this.applyBacklinkToRouteEvents(),this.metaService.setMetatagsByType(fl.UZ.Front)}getBanners(){this.apollo.query({query:Tr.J1` query Banners { banner { total adminLinks { title url { path } } items { alt link { path } backgroundColor desktopImage { url { path } } mobileImage { url { path } } } } } `}).subscribe(s=>{this.banners=s.data.banner})}getShortcuts(){this.menuService.getMenu("shortcuts").subscribe(s=>{this.shortcutsMenu=s,this.shortcuts=s?.items?.filter(l=>l)??[]})}getJobPositions(){this.apollo.query({query:Tr.J1` query jobs { jobOffersQuery(searchInput: { eestiToopakkumine: 1 }) { jobOffersStatistics { tookohti } } } `}).subscribe(s=>{this.jobPositions=s.data.jobOffersQuery?.jobOffersStatistics?.tookohti??0})}applyBacklinkToRouteEvents(){this.routerService.navStartEvent$.subscribe(()=>{this.registerBackLink()})}registerBackLink(){this.backlinkService.setLinkWithTranslationKey("fegeneral/frontpage/backlink")}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(Tr.Ic),r.rXU(nd.$),r.rXU(pl.H),r.rXU(Gd.t),r.rXU(pr.R))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-front-page"]],decls:8,vars:4,consts:[[1,"col-span-10","pb-6"],[3,"bannerList"],[3,"vacancies"],[1,"mx-6","grid","max-w-6xl","grid-cols-1","gap-4","lg:grid-cols-12","xl:mx-auto"],[1,"lg:col-span-4"],["tkEditable","",1,"col-span-1","lg:col-span-8",3,"adminLinks"],[3,"shortcuts"]],template:function(l,h){1&l&&(r.j41(0,"div",0),r.nrm(1,"tk-banner-carousel",1)(2,"tk-job-search-block",2),r.j41(3,"div",3)(4,"div",4),r.nrm(5,"tk-news-block"),r.k0s(),r.j41(6,"div",5),r.nrm(7,"tk-shortcuts-block",6),r.k0s()()()),2&l&&(r.R7$(),r.Y8G("bannerList",h.banners),r.R7$(),r.Y8G("vacancies",h.jobPositions),r.R7$(4),r.Y8G("adminLinks",null==h.shortcutsMenu?null:h.shortcutsMenu.adminLinks),r.R7$(),r.Y8G("shortcuts",h.shortcuts))},dependencies:[Zf,tu,na.y,Op,ih],encapsulation:2})}return o})(),rh=(()=>{class o{constructor(s){this.newsService=s,this.pageInfo=null,this.loading=!1,this.newsBlocks=[],this.news=new ul.B,this.news$=this.news.asObservable()}getNews(s=!1){this.loading=!0,this.newsService.getNews(this.pageInfo?.endCursor).pipe((0,Tc.W)((l,h)=>l?(0,Mo.of)({edges:[],nodes:[],pageInfo:{hasNextPage:!1,endCursor:null,totalCount:0}}):h)).subscribe({next:l=>{const h=l?.nodes;if(h?.length>0&&(this.newsBlocks=s?[...this.newsBlocks,...h]:h),!l)return this.loading=!1,this.pageInfo=null,void(s||(this.newsBlocks=[]));this.pageInfo={...l.pageInfo,remainingItems:l.pageInfo.totalCount>0?l.pageInfo.totalCount-this.newsBlocks.length:void 0},this.news.next(this.newsBlocks),this.loading=!1},error:()=>{this.loading=!1,this.pageInfo=null,s||(this.newsBlocks=[])}})}getNewsFromStart(){this.pageInfo=null,this.newsBlocks=[],this.news.next([]),this.getNews()}static#e=this.\u0275fac=function(l){return new(l||o)(r.KVO(sc))};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();var Du=f(5231),Pp=f(1594),Fp=f(1979);function Fg(o,c){if(1&o){const s=r.RV6();r.qex(0),r.j41(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"label",5),r.EFF(6),r.k0s(),r.j41(7,"div",6)(8,"tk-date-picker",7),r.mxI("valueChange",function(h){r.eBV(s);const _=r.XpG();return r.DH7(_.startDate,h)||(_.startDate=h),r.Njj(h)}),r.k0s(),r.j41(9,"tk-date-picker",7),r.mxI("valueChange",function(h){r.eBV(s);const _=r.XpG();return r.DH7(_.endDate,h)||(_.endDate=h),r.Njj(h)}),r.k0s()()()(),r.j41(10,"div",8)(11,"a",9),r.bIt("tkClickOrPress",function(){r.eBV(s);const h=r.XpG();return r.Njj(h.removeDates())}),r.EFF(12),r.k0s(),r.j41(13,"a",10),r.bIt("tkClickOrPress",function(){r.eBV(s);const h=r.XpG();return r.Njj(h.search())}),r.EFF(14),r.k0s()()()(),r.bVm()}if(2&o){const s=c.$implicit,l=r.XpG();r.R7$(6),r.SpI(" ",s("fegeneral/news/filter/period"),""),r.R7$(2),r.Y8G("placeholder",s("fegeneral/news/filter/period/start/placeholder")),r.R50("value",l.startDate),r.R7$(),r.Y8G("placeholder",s("fegeneral/news/filter/period/end/placeholder")),r.R50("value",l.endDate),r.R7$(3),r.JRh(s("fegeneral/news/filter/button/empty")),r.R7$(2),r.JRh(s("fegeneral/news/filter/button/search"))}}let Lg=(()=>{class o{constructor(s,l,h,_){this.dateService=s,this.newsPageService=l,this.routerService=h,this.activeRoute=_,this.startDate=null,this.endDate=null,this.skipLoad=!1}ngOnInit(){var s=this;this.activeRoute.queryParams.pipe((0,Pp.$)()).subscribe(function(){var l=(0,hl.A)(function*(h){const _=Du.p.stringToDate(h.dateStart??void 0),D=Du.p.stringToDate(h.dateEnd??void 0);_&&(s.startDate=_),D&&(s.endDate=D),s.sendDatesToService(s.startDate,s.endDate,s.skipLoad),s.skipLoad&&(s.skipLoad=!1)});return function(h){return l.apply(this,arguments)}}())}search(){this.sendDatesToService(this.startDate,this.endDate)}sendDatesToService(s,l,h=!1){const _=s?Du.p.dateToEEString(s):null,D=l?Du.p.dateToEEString(l):null;this.dateService.setPeriod(_,D),h||(this.newsPageService.getNewsFromStart(),this.routerService.setQueryParams({dateStart:_,dateEnd:D}))}removeDates(){this.startDate=null,this.endDate=null,this.sendDatesToService(null,null,this.skipLoad)}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(Ku),r.rXU(rh),r.rXU(pl.H),r.rXU(P.nX))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-sidebar"]],inputs:{startDate:"startDate",endDate:"endDate",skipLoad:"skipLoad"},decls:1,vars:0,consts:[[4,"transloco"],[1,"col-span-12","lg:col-span-3"],[1,"panel"],[1,"flex","flex-col",2,"align-content","stretch"],[1,"col-span-full","flex","flex-wrap"],[1,"mb-2","w-full","font-medium","text-tk_text"],[1,"grid","grid-cols-2","gap-2"],[3,"valueChange","placeholder","value"],[1,"-mx-6","-mb-6","mt-4","flex","justify-end","space-x-2","border-t","border-solid","border-tk_grey_300","px-6","py-4"],["tabindex","0",1,"btn","btn-lg","btn-link","cursor-pointer",3,"tkClickOrPress"],["tabindex","0",1,"btn","btn-lg","btn-primary","cursor-pointer",3,"tkClickOrPress"]],template:function(l,h){1&l&&r.DNE(0,Fg,15,7,"ng-container",0)},dependencies:[Ka.Kp,uo.bA,Fp.I],encapsulation:2})}return o})();function Ng(o,c){if(1&o){const s=r.RV6();r.j41(0,"div",2)(1,"h2",3),r.EFF(2),r.k0s(),r.j41(3,"div",4),r.nrm(4,"p",5),r.nI1(5,"tkTrustedHTML"),r.j41(6,"a",6),r.bIt("click",function(h){return r.eBV(s),r.Njj(h.preventDefault())}),r.EFF(7),r.nrm(8,"span",7),r.k0s()()()}if(2&o){const s=r.XpG().$implicit,l=r.XpG();r.R7$(2),r.JRh(l.article.title),r.R7$(2),r.Y8G("innerHTML",r.bMT(5,5,null==l.article.body?null:l.article.body.summary),r.npT),r.R7$(2),r.Y8G("routerLink",null==l.article.url?null:l.article.url.path),r.BMQ("aria-label",l.getArticleAriaLabel(l.article.title)),r.R7$(),r.SpI(" ",s("fegeneral/news/item/readmore")," ")}}function Lp(o,c){if(1&o&&(r.qex(0),r.DNE(1,Ng,9,7,"div",1),r.bVm()),2&o){const s=r.XpG();r.R7$(),r.Y8G("ngIf",s.article)}}let Np=(()=>{class o{constructor(s){this.translateService=s}getArticleAriaLabel(s){return this.translateService.translate("fegeneral/news/item/readMoreArticle")+' "'+s+'"'}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(uo.JO))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-news-block"]],inputs:{article:"article"},decls:1,vars:0,consts:[[4,"transloco"],["class","panel mb-4 w-full",4,"ngIf"],[1,"panel","mb-4","w-full"],[1,"pb-2","text-xl","font-bold","leading-7","md:text-2xl"],[1,"flex","flex-col","justify-between"],[1,"page-content",3,"innerHTML"],[1,"group","-mb-3","-mr-3","flex","h-10","items-center","justify-center","self-end","whitespace-nowrap","rounded-full","pl-4","pr-2","font-bold","text-tk_grey_900","outline-none","hover:underline","focus:ring-2","focus:ring-tk_grey_700","focus:ring-offset-2",3,"click","routerLink"],[1,"bg","ml-2","inline-block","size-4","bg-ico-hor-chevron","bg-center","bg-no-repeat"]],template:function(l,h){1&l&&r.DNE(0,Lp,2,1,"ng-container",0)},dependencies:[F.bT,P.Wk,uo.bA,Vs.T],encapsulation:2})}return o})();function Bg(o,c){if(1&o){const s=r.RV6();r.j41(0,"tk-news-block",6),r.bIt("openNewsArticle",function(){const h=r.eBV(s).$implicit,_=r.XpG(2);return r.Njj(_.openNewsArticle.emit(h))}),r.k0s()}2&o&&r.Y8G("article",c.$implicit)}function Vg(o,c){if(1&o&&(r.j41(0,"p",7),r.EFF(1),r.k0s()),2&o){const s=r.XpG().$implicit;r.R7$(),r.SpI(" ",s("fegeneral/news/notfound")," ")}}function aa(o,c){if(1&o){const s=r.RV6();r.qex(0),r.j41(1,"div",1)(2,"div",2),r.DNE(3,Bg,1,1,"tk-news-block",3)(4,Vg,2,1,"p",4),r.j41(5,"tk-load-more",5),r.bIt("tkClickOrPress",function(){r.eBV(s);const h=r.XpG();return r.Njj(h.newsPageService.getNews(!0))}),r.k0s()()(),r.bVm()}if(2&o){const s=r.XpG();r.R7$(3),r.Y8G("ngForOf",s.news),r.R7$(),r.Y8G("ngIf",!s.isNewsLoading&&!s.news.length),r.R7$(),r.Y8G("pageInfo",s.newsPageService.pageInfo)("loading",s.newsPageService.loading)}}let u=(()=>{class o{constructor(s){this.newsPageService=s,this.news=[],this.openNewsArticle=new r.bkB}get isNewsLoading(){return this.newsPageService.loading}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(rh))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-content"]],inputs:{news:"news"},outputs:{openNewsArticle:"openNewsArticle"},decls:1,vars:0,consts:[[4,"transloco"],[1,"col-span-12","flex","flex-col","lg:col-span-7","lg:mx-0","lg:block"],[1,"col-span-12","flex","flex-col"],[3,"article","openNewsArticle",4,"ngFor","ngForOf"],["role","alert","aria-live","assertive",4,"ngIf"],[3,"tkClickOrPress","pageInfo","loading"],[3,"openNewsArticle","article"],["role","alert","aria-live","assertive"]],template:function(l,h){1&l&&r.DNE(0,aa,6,4,"ng-container",0)},dependencies:[F.Sq,F.bT,fd.T,Ka.Kp,uo.bA,Np],encapsulation:2})}return o})();function m(o,c){if(1&o&&(r.qex(0),r.j41(1,"main",1),r.nrm(2,"tk-back-link",2),r.j41(3,"h1",3),r.EFF(4),r.k0s(),r.nrm(5,"tk-sidebar",4)(6,"tk-content",5),r.k0s(),r.bVm()),2&o){const s=c.$implicit,l=r.XpG();r.R7$(4),r.JRh(s("fegeneral/news/title")),r.R7$(),r.Y8G("skipLoad",l.skipInitialLoad),r.R7$(),r.Y8G("news",l.news)}}let C=(()=>{class o{constructor(s,l,h,_){this.newsPageService=s,this.backLinkService=l,this.routerService=h,this.metaService=_,this.news=[],this.routedState=history.state,this.skipInitialLoad=!!this.routedState.news}ngOnInit(){this.restoreComponentStateFromRoute(),this.newsPageService.news$.subscribe(s=>this.news=s),this.metaService.setMetatagsByType(fl.UZ.News),this.applyBacklinkToRouteEvents()}applyBacklinkToRouteEvents(){this.routerService.navStartEvent$.subscribe(()=>{this.backLinkService.setLinkWithTranslationKey("fegeneral/news/backlink",void 0,{news:this.news})})}restoreComponentStateFromRoute(){Object.assign(this,this.routedState)}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(rh),r.rXU(Gd.t),r.rXU(pl.H),r.rXU(pr.R))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-news"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"col-span-12","grid","max-w-6xl","grid-cols-10","gap-6","px-6","pb-12","pt-6","xl:mx-auto","xl:px-0"],[1,"row-span-1","row-start-1"],[1,"page-title"],[1,"col-span-12","lg:col-span-3",3,"skipLoad"],[1,"col-span-12","flex","flex-col","lg:col-span-7","lg:mx-0","lg:block",3,"news"]],template:function(l,h){1&l&&r.DNE(0,m,7,3,"ng-container",0)},dependencies:[Ul.l,uo.bA,Lg,u],encapsulation:2})}return o})();function q(o,c){if(1&o){const s=r.RV6();r.qex(0),r.j41(1,"main",1)(2,"h1",2),r.EFF(3),r.k0s(),r.j41(4,"div",3)(5,"form",4),r.bIt("submit",function(h){r.eBV(s);const _=r.XpG();return r.Njj(_.search(h))}),r.j41(6,"div",5)(7,"label",6),r.EFF(8),r.k0s(),r.nrm(9,"input",7),r.j41(10,"button",8)(11,"span",9),r.EFF(12),r.k0s()()()(),r.nrm(13,"div",10),r.k0s()(),r.bVm()}if(2&o){const s=c.$implicit,l=r.XpG();r.R7$(3),r.SpI(" ",s("fegeneral/search/heading")," "),r.R7$(5),r.SpI("",s("fegeneral/search/placeholder"),":"),r.R7$(),r.FS9("placeholder",s("fegeneral/search/placeholder")),r.Y8G("value",l.q)("formControl",l.searchTerm),r.R7$(3),r.JRh(s("fegeneral/search/sr-search"))}}let Ie=(()=>{class o{constructor(s,l,h,_){this.router=s,this.activeRoute=l,this.translateService=h,this.metaService=_,this.q="",this.searchTerm=new fo.hs}ngOnInit(){this.q=this.activeRoute.snapshot.queryParams.q??"",this.searchTerm.setValue(this.q),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.metaService.setMetatagsByType(fl.UZ.Search)}ngAfterViewInit(){this.loadScriptsSearchBox()}loadScriptsSearchBox(){const s=y.c.googleSearchKeys[this.translateService.getActiveLang()],l=document.createElement("script");l.type="text/javascript",l.async=!0,l.src="https://cse.google.com/cse.js?cx="+s;const h=document.getElementsByTagName("script")[0];h.parentNode.insertBefore(l,h),window.__gcse={initializationCallback:this.initializeSearch}}initializeSearch(){window.google.search.cse.element.render({div:"searchResults",tag:"searchresults-only",gname:"searchResults",attributes:{queryParameterName:"q",autoSearchOnLoad:!0,enableHistory:!1,newWindow:!1,personalizedAds:!1}})}search(s){this.router.navigate([],{queryParams:{q:this.searchTerm.value}}),s.preventDefault()}static#e=this.\u0275fac=function(l){return new(l||o)(r.rXU(P.Ix),r.rXU(P.nX),r.rXU(uo.JO),r.rXU(pr.R))};static#t=this.\u0275cmp=r.VBU({type:o,selectors:[["tk-search-page"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"col-span-10","grid","w-full","max-w-4xl","grid-cols-12","gap-6","px-6","pb-12","pt-6","xl:mx-auto","xl:px-0"],[1,"col-span-12","font-nunito","text-5xl","font-extrabold","tracking-tight","text-tk_brand","md:text-5xl","lg:col-span-10"],[1,"page-content","col-span-12","flex","flex-col","lg:col-span-12","lg:mx-0","lg:block"],["method","GET",3,"submit"],[1,"header-search","relative","flex"],["for","page-search",1,"sr-only"],["type","text","id","page-search","name","q",1,"header-search-field","w-full","pr-9",3,"placeholder","value","formControl"],[1,"header-search-button","absolute","end-2.5"],[1,"sr-only"],["role","alert","id","searchResults"]],template:function(l,h){1&l&&r.DNE(0,q,14,6,"ng-container",0)},dependencies:[fo.qT,fo.me,fo.BC,fo.cb,fo.l_,uo.bA],encapsulation:2})}return o})();const vt=[{path:"toopakkumised",loadChildren:()=>Promise.all([f.e(85),f.e(76),f.e(912)]).then(f.bind(f,6912)).then(o=>o.JoboffersModule)},{path:"koolitused",loadChildren:()=>Promise.all([f.e(85),f.e(592),f.e(935)]).then(f.bind(f,9316)).then(o=>o.TrainingsModule)},{path:"koolitajad",loadChildren:()=>Promise.all([f.e(592),f.e(882)]).then(f.bind(f,4882)).then(o=>o.TrainersModule)},{path:"tagasi-etootukassasse",component:vm},{path:"etootukassa",canActivate:[()=>y.c.selfServiceEnabled],loadChildren:()=>f.e(889).then(f.bind(f,6889)).then(o=>o.SelfServiceModule)},{path:"",component:_h.E,children:[{path:"uudised",component:C},{path:"sundmused",component:Lh},{path:"sundmused/arhiiv",component:Lh,data:{pastEvents:!0}},{path:"otsing",component:Ie},{path:"error",component:Fd.z},{path:"kontaktid/esindused/:region",component:Ic},{path:"kontaktid/esindused",component:Ic,data:{allBranches:!0}},{path:"kontaktid/juhatus-ja-noukogu",component:Rh},{path:"kontaktid/keskkontor",component:Ic,data:{allDepartments:!0}},{path:"kontaktid/:department",component:Ic},{path:"rehabilitatsioon",loadChildren:()=>Promise.all([f.e(76),f.e(277)]).then(f.bind(f,2277)).then(o=>o.RehabilitationModule)},{path:"kogemusnoustaja",loadChildren:()=>Promise.all([f.e(76),f.e(840)]).then(f.bind(f,9840)).then(o=>o.PeersupportModule)},{path:"noustamisteenused",loadChildren:()=>Promise.all([f.e(76),f.e(350)]).then(f.bind(f,6969)).then(o=>o.ConsultServiceModule)},{path:"baromeeter",loadChildren:()=>f.e(714).then(f.bind(f,3714)).then(o=>o.BarometerModule)},{path:"",component:Pg,pathMatch:"full"},{path:"**",component:Rh,pathMatch:"full"}]},{path:"**",component:Lu,pathMatch:"full"}];var At=f(4663);let Jt=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[F.MD,Rn.G,At.z]})}return o})();var Nn=f(6628);let Vn=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[F.MD,P.iI,Rn.G,Nn.pK]})}return o})(),zn=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[F.MD,At.z,P.iI,Rn.G,ga.XE]})}return o})(),mi=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[Zf,F.MD,Rn.G,P.iI,At.z,ga.XE]})}return o})(),Fi=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[F.MD,P.iI,Rn.G,At.z,Fp.I]})}return o})(),Ki=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[F.MD,P.iI,Rn.G]})}return o})(),Dr=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[F.MD,Rn.G,P.iI,ga.XE,At.z]})}return o})(),Xi=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o});static#n=this.\u0275inj=r.G2t({imports:[F.MD,Vn,zn,mi,Fi,fo.X1,Ki,Dr,Rn.G]})}return o})(),nr=(()=>{class o{getTranslation(s){return(0,hl.A)(function*(){return(yield f(7995)(`./${s}.json`)).default})()}static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275prov=r.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();f(6689);let xa=(()=>{class o{static#e=this.\u0275fac=function(l){return new(l||o)};static#t=this.\u0275mod=r.$C({type:o,bootstrap:[g_.Z]});static#n=this.\u0275inj=r.G2t({providers:[{provide:"ENVIRONMENT",useValue:y.c},{provide:r.zcH,useClass:Wi},{provide:r.sZ2,useValue:"serverApp"},(0,n.$x)(),(0,g.$R)((0,g.ZZ)()),(0,uo.$o)({config:{availableLangs:["et","en","ru"],defaultLang:"et",fallbackLang:"et",prodMode:y.c.production,missingHandler:{useFallbackTranslation:!0}},loader:nr}),{provide:ga.L3,useValue:(0,ga.hU)({translateRoute:!0,alwaysSetPrefix:!0,defaultLangFunction:s=>s[0],initialNavigation:!0})}],imports:[te.x,Ct,n.Bb,F.MD,Jt,jl,je,g.q1,Xi,Rn.G,uo.Q8,P.iI.forRoot(vt,{initialNavigation:"disabled",onSameUrlNavigation:"reload"}),ga.XE.forRoot(vt)]})}return o})();y.c.production&&(0,r.SmG)(),document.addEventListener("DOMContentLoaded",()=>{n.sG().bootstrapModule(xa).catch(o=>console.error(o))})},4135:_t=>{"use strict";_t.exports=class{constructor({uri:f,name:n,type:r}){this.uri=f,this.name=n,this.type=r}}},4965:(_t,ge,f)=>{"use strict";const n=f(7150);_t.exports=function(y,F="",g=n){const A=new Map,M=new Map;return{clone:function B(V,T,N){let U=V;if(g(V)){U=null;const b=A.get(V);b?b.push(T):A.set(V,[T])}else{const b=Array.isArray(V)||typeof FileList<"u"&&V instanceof FileList;if(b||V&&V.constructor===Object){const R=M.has(V);if(R?U=M.get(V):(U=b?[]:{},M.set(V,U)),!N.has(V)){const ce=T?`${T}.`:"",J=new Set(N).add(V);if(b){let Se=0;for(const Ne of V){const ot=B(Ne,ce+Se++,J);R||U.push(ot)}}else for(const Se in V){const Ne=B(V[Se],ce+Se,J);R||(U[Se]=Ne)}}}}return U}(y,F,new Set),files:A}}},7150:(_t,ge,f)=>{"use strict";const n=f(4135);_t.exports=function(y){return typeof File<"u"&&y instanceof File||typeof Blob<"u"&&y instanceof Blob||y instanceof n}},7376:function(_t,ge,f){var n;_t=f.nmd(_t),function(){var r,A="Expected a function",B="__lodash_hash_undefined__",T="__lodash_placeholder__",qt=1/0,jt=9007199254740991,ut=4294967295,Ft=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Le="[object Arguments]",pe="[object Array]",et="[object Boolean]",Pt="[object Date]",ei="[object Error]",gn="[object Function]",pi="[object GeneratorFunction]",hi="[object Map]",xi="[object Number]",ki="[object Object]",Zi="[object Promise]",an="[object RegExp]",me="[object Set]",Ue="[object String]",st="[object Symbol]",Lt="[object WeakMap]",jn="[object ArrayBuffer]",Kt="[object DataView]",En="[object Float32Array]",ft="[object Float64Array]",Tt="[object Int8Array]",Qt="[object Int16Array]",Tn="[object Int32Array]",Xn="[object Uint8Array]",Bn="[object Uint8ClampedArray]",Ii="[object Uint16Array]",qn="[object Uint32Array]",Qi=/\b__p \+= '';/g,sn=/\b(__p \+=) '' \+/g,oi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Zt=/&(?:amp|lt|gt|quot|#39);/g,Cn=/[&<>"']/g,Dn=RegExp(Zt.source),Re=RegExp(Cn.source),Be=/<%-([\s\S]+?)%>/g,ee=/<%([\s\S]+?)%>/g,ye=/<%=([\s\S]+?)%>/g,at=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Wt=/^\w*$/,Et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Dt=/[\\^$.*+?()[\]{}|]/g,Qe=RegExp(Dt.source),Mt=/^\s+/,wn=/\s/,lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,kt=/\{\n\/\* \[wrapped with (.+)\] \*/,re=/,? & /,ze=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,bt=/[()=,{}\[\]\/\s]/,Ut=/\\(\\)?/g,An=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Di=/\w*$/,Bi=/^[-+]0x[0-9a-f]+$/i,gr=/^0b[01]+$/i,vr=/^\[object .+?Constructor\]$/,Oi=/^0o[0-7]+$/i,kr=/^(?:0|[1-9]\d*)$/,Or=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ho=/($^)/,jo=/['\n\r\u2028\u2029\\]/g,lo="\\ud800-\\udfff",le="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Me="\\u2700-\\u27bf",ne="a-z\\xdf-\\xf6\\xf8-\\xff",$t="A-Z\\xc0-\\xd6\\xd8-\\xde",Kn="\\ufe0e\\ufe0f",Qn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ni="["+lo+"]",Ui="["+Qn+"]",rr="["+le+"]",$i="\\d+",br="["+Me+"]",jr="["+ne+"]",ts="[^"+lo+Qn+$i+Me+ne+$t+"]",Ur="\\ud83c[\\udffb-\\udfff]",po="[^"+lo+"]",no="(?:\\ud83c[\\udde6-\\uddff]){2}",Mi="[\\ud800-\\udbff][\\udc00-\\udfff]",Li="["+$t+"]",Ds="(?:"+jr+"|"+ts+")",Sa="(?:"+Li+"|"+ts+")",as="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Os="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ns="(?:"+rr+"|"+Ur+")?",Hi="["+Kn+"]?",be=Hi+ns+"(?:\\u200d(?:"+[po,no,Mi].join("|")+")"+Hi+ns+")*",ae="(?:"+[br,no,Mi].join("|")+")"+be,Xe="(?:"+[po+rr+"?",rr,no,Mi,Ni].join("|")+")",Ht=RegExp("['\u2019]","g"),wi=RegExp(rr,"g"),Nr=RegExp(Ur+"(?="+Ur+")|"+Xe+be,"g"),io=RegExp([Li+"?"+jr+"+"+as+"(?="+[Ui,Li,"$"].join("|")+")",Sa+"+"+Os+"(?="+[Ui,Li+Ds,"$"].join("|")+")",Li+"?"+Ds+"+"+as,Li+"+"+Os,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$i,ae].join("|"),"g"),mo=RegExp("[\\u200d"+lo+le+Kn+"]"),Ko=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ws=-1,xr={};xr[En]=xr[ft]=xr[Tt]=xr[Qt]=xr[Tn]=xr[Xn]=xr[Bn]=xr[Ii]=xr[qn]=!0,xr[Le]=xr[pe]=xr[jn]=xr[et]=xr[Kt]=xr[Pt]=xr[ei]=xr[gn]=xr[hi]=xr[xi]=xr[ki]=xr[an]=xr[me]=xr[Ue]=xr[Lt]=!1;var fr={};fr[Le]=fr[pe]=fr[jn]=fr[Kt]=fr[et]=fr[Pt]=fr[En]=fr[ft]=fr[Tt]=fr[Qt]=fr[Tn]=fr[hi]=fr[xi]=fr[ki]=fr[an]=fr[me]=fr[Ue]=fr[st]=fr[Xn]=fr[Bn]=fr[Ii]=fr[qn]=!0,fr[ei]=fr[gn]=fr[Lt]=!1;var Ri={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xo=parseFloat,da=parseInt,go="object"==typeof global&&global&&global.Object===Object&&global,Ba="object"==typeof self&&self&&self.Object===Object&&self,Xr=go||Ba||Function("return this")(),Rs=ge&&!ge.nodeType&&ge,wo=Rs&&_t&&!_t.nodeType&&_t,ls=wo&&wo.exports===Rs,Va=ls&&go.process,_o=function(){try{return wo&&wo.require&&wo.require("util").types||Va&&Va.binding&&Va.binding("util")}catch{}}(),ua=_o&&_o.isArrayBuffer,So=_o&&_o.isDate,Uo=_o&&_o.isMap,Hr=_o&&_o.isRegExp,Ps=_o&&_o.isSet,nl=_o&&_o.isTypedArray;function Fr(Nt,pn,un){switch(un.length){case 0:return Nt.call(pn);case 1:return Nt.call(pn,un[0]);case 2:return Nt.call(pn,un[0],un[1]);case 3:return Nt.call(pn,un[0],un[1],un[2])}return Nt.apply(pn,un)}function Dl(Nt,pn,un,gi){for(var ji=-1,Sr=null==Nt?0:Nt.length;++ji<Sr;){var Ai=Nt[ji];pn(gi,Ai,un(Ai),Nt)}return gi}function Zr(Nt,pn){for(var un=-1,gi=null==Nt?0:Nt.length;++un<gi&&!1!==pn(Nt[un],un,Nt););return Nt}function ja(Nt,pn){for(var un=null==Nt?0:Nt.length;un--&&!1!==pn(Nt[un],un,Nt););return Nt}function Ss(Nt,pn){for(var un=-1,gi=null==Nt?0:Nt.length;++un<gi;)if(!pn(Nt[un],un,Nt))return!1;return!0}function Yr(Nt,pn){for(var un=-1,gi=null==Nt?0:Nt.length,ji=0,Sr=[];++un<gi;){var Ai=Nt[un];pn(Ai,un,Nt)&&(Sr[ji++]=Ai)}return Sr}function qr(Nt,pn){return!(null==Nt||!Nt.length)&&Ao(Nt,pn,0)>-1}function $o(Nt,pn,un){for(var gi=-1,ji=null==Nt?0:Nt.length;++gi<ji;)if(un(pn,Nt[gi]))return!0;return!1}function wr(Nt,pn){for(var un=-1,gi=null==Nt?0:Nt.length,ji=Array(gi);++un<gi;)ji[un]=pn(Nt[un],un,Nt);return ji}function Fs(Nt,pn){for(var un=-1,gi=pn.length,ji=Nt.length;++un<gi;)Nt[ji+un]=pn[un];return Nt}function fa(Nt,pn,un,gi){var ji=-1,Sr=null==Nt?0:Nt.length;for(gi&&Sr&&(un=Nt[++ji]);++ji<Sr;)un=pn(un,Nt[ji],ji,Nt);return un}function Ho(Nt,pn,un,gi){var ji=null==Nt?0:Nt.length;for(gi&&ji&&(un=Nt[--ji]);ji--;)un=pn(un,Nt[ji],ji,Nt);return un}function qi(Nt,pn){for(var un=-1,gi=null==Nt?0:Nt.length;++un<gi;)if(pn(Nt[un],un,Nt))return!0;return!1}var Ws=Ee("length");function ds(Nt,pn,un){var gi;return un(Nt,function(ji,Sr,Ai){if(pn(ji,Sr,Ai))return gi=Sr,!1}),gi}function Ls(Nt,pn,un,gi){for(var ji=Nt.length,Sr=un+(gi?1:-1);gi?Sr--:++Sr<ji;)if(pn(Nt[Sr],Sr,Nt))return Sr;return-1}function Ao(Nt,pn,un){return pn==pn?function yr(Nt,pn,un){for(var gi=un-1,ji=Nt.length;++gi<ji;)if(Nt[gi]===pn)return gi;return-1}(Nt,pn,un):Ls(Nt,Ks,un)}function Go(Nt,pn,un,gi){for(var ji=un-1,Sr=Nt.length;++ji<Sr;)if(gi(Nt[ji],pn))return ji;return-1}function Ks(Nt){return Nt!=Nt}function fe(Nt,pn){var un=null==Nt?0:Nt.length;return un?_i(Nt,pn)/un:NaN}function Ee(Nt){return function(pn){return null==pn?r:pn[Nt]}}function Y(Nt){return function(pn){return null==Nt?r:Nt[pn]}}function Ve(Nt,pn,un,gi,ji){return ji(Nt,function(Sr,Ai,Gi){un=gi?(gi=!1,Sr):pn(un,Sr,Ai,Gi)}),un}function _i(Nt,pn){for(var un,gi=-1,ji=Nt.length;++gi<ji;){var Sr=pn(Nt[gi]);Sr!==r&&(un=un===r?Sr:un+Sr)}return un}function j(Nt,pn){for(var un=-1,gi=Array(Nt);++un<Nt;)gi[un]=pn(un);return gi}function P(Nt){return Nt&&Nt.slice(0,si(Nt)+1).replace(Mt,"")}function te(Nt){return function(pn){return Nt(pn)}}function de(Nt,pn){return wr(pn,function(un){return Nt[un]})}function Ke(Nt,pn){return Nt.has(pn)}function wt(Nt,pn){for(var un=-1,gi=Nt.length;++un<gi&&Ao(pn,Nt[un],0)>-1;);return un}function en(Nt,pn){for(var un=Nt.length;un--&&Ao(pn,Nt[un],0)>-1;);return un}var hn=Y({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),$n=Y({"&":"&","<":"<",">":">",'"':""","'":"'"});function Un(Nt){return"\\"+Ri[Nt]}function Rn(Nt){return mo.test(Nt)}function ai(Nt){var pn=-1,un=Array(Nt.size);return Nt.forEach(function(gi,ji){un[++pn]=[ji,gi]}),un}function Ei(Nt,pn){return function(un){return Nt(pn(un))}}function Gn(Nt,pn){for(var un=-1,gi=Nt.length,ji=0,Sr=[];++un<gi;){var Ai=Nt[un];(Ai===pn||Ai===T)&&(Nt[un]=T,Sr[ji++]=un)}return Sr}function vi(Nt){var pn=-1,un=Array(Nt.size);return Nt.forEach(function(gi){un[++pn]=gi}),un}function Pi(Nt){return Rn(Nt)?function Oo(Nt){for(var pn=Nr.lastIndex=0;Nr.test(Nt);)++pn;return pn}(Nt):Ws(Nt)}function Si(Nt){return Rn(Nt)?function us(Nt){return Nt.match(Nr)||[]}(Nt):function ha(Nt){return Nt.split("")}(Nt)}function si(Nt){for(var pn=Nt.length;pn--&&wn.test(Nt.charAt(pn)););return pn}var Vi=Y({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Ts=function Nt(pn){var u,un=(pn=null==pn?Xr:Ts.defaults(Xr.Object(),pn,Ts.pick(Xr,xs))).Array,gi=pn.Date,ji=pn.Error,Sr=pn.Function,Ai=pn.Math,Gi=pn.Object,Ro=pn.RegExp,il=pn.String,Po=pn.TypeError,Xs=un.prototype,Ta=Gi.prototype,Ma=pn["__core-js_shared__"],Ys=Sr.prototype.toString,Ir=Ta.hasOwnProperty,Ns=0,Ms=(u=/[^.]+$/.exec(Ma&&Ma.keys&&Ma.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",pa=Ta.toString,Qs=Ys.call(Gi),Ia=Xr._,ql=Ro("^"+Ys.call(Ir).replace(Dt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ka=ls?pn.Buffer:r,fs=pn.Symbol,rl=pn.Uint8Array,Ol=ka?ka.allocUnsafe:r,Js=Ei(Gi.getPrototypeOf,Gi),Aa=Gi.create,Rl=Ta.propertyIsEnumerable,Oa=Xs.splice,k=fs?fs.isConcatSpreadable:r,xe=fs?fs.iterator:r,Z=fs?fs.toStringTag:r,_e=function(){try{var u=La(Gi,"defineProperty");return u({},"",{}),u}catch{}}(),ct=pn.clearTimeout!==Xr.clearTimeout&&pn.clearTimeout,dn=gi&&gi.now!==Xr.Date.now&&gi.now,On=pn.setTimeout!==Xr.setTimeout&&pn.setTimeout,di=Ai.ceil,Cr=Ai.floor,Rr=Gi.getOwnPropertySymbols,Lr=ka?ka.isBuffer:r,dr=pn.isFinite,so=Xs.join,or=Ei(Gi.keys,Gi),hr=Ai.max,$r=Ai.min,sr=gi.now,Yn=pn.parseInt,Ci=Ai.random,Br=Xs.reverse,bo=La(pn,"DataView"),Qr=La(pn,"Map"),To=La(pn,"Promise"),Bs=La(pn,"Set"),Pr=La(pn,"WeakMap"),yo=La(Gi,"create"),is=Pr&&new Pr,Ti={},ec=Lc(bo),Id=Lc(Qr),Pl=Lc(To),co=Lc(Bs),Ua=Lc(Pr),ma=fs?fs.prototype:r,rs=ma?ma.valueOf:r,Fl=ma?ma.toString:r;function $e(u){if(Bo(u)&&!mr(u)&&!(u instanceof li)){if(u instanceof Qo)return u;if(Ir.call(u,"__wrapped__"))return Oh(u)}return new Qo(u)}var Yo=function(){function u(){}return function(m){if(!Io(m))return{};if(Aa)return Aa(m);u.prototype=m;var C=new u;return u.prototype=r,C}}();function $a(){}function Qo(u,m){this.__wrapped__=u,this.__actions__=[],this.__chain__=!!m,this.__index__=0,this.__values__=r}function li(u){this.__wrapped__=u,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ut,this.__views__=[]}function _a(u){var m=-1,C=null==u?0:u.length;for(this.clear();++m<C;){var q=u[m];this.set(q[0],q[1])}}function qo(u){var m=-1,C=null==u?0:u.length;for(this.clear();++m<C;){var q=u[m];this.set(q[0],q[1])}}function wl(u){var m=-1,C=null==u?0:u.length;for(this.clear();++m<C;){var q=u[m];this.set(q[0],q[1])}}function w(u){var m=-1,C=null==u?0:u.length;for(this.__data__=new wl;++m<C;)this.add(u[m])}function z(u){var m=this.__data__=new qo(u);this.size=m.size}function ui(u,m){var C=mr(u),q=!C&&pc(u),Ie=!C&&!q&&Il(u),Ze=!C&&!q&&!Ie&&Uc(u),vt=C||q||Ie||Ze,At=vt?j(u.length,il):[],Jt=At.length;for(var Nn in u)(m||Ir.call(u,Nn))&&(!vt||!("length"==Nn||Ie&&("offset"==Nn||"parent"==Nn)||Ze&&("buffer"==Nn||"byteLength"==Nn||"byteOffset"==Nn)||fo(Nn,Jt)))&&At.push(Nn);return At}function ar(u){var m=u.length;return m?u[id(0,m-1)]:r}function lr(u,m){return cf(ms(u),xc(m,0,u.length))}function Do(u){return cf(ms(u))}function Ll(u,m,C){(C!==r&&!Za(u[m],C)||C===r&&!(m in u))&&cl(u,m,C)}function ll(u,m,C){var q=u[m];(!Ir.call(u,m)||!Za(q,C)||C===r&&!(m in u))&&cl(u,m,C)}function Nl(u,m){for(var C=u.length;C--;)if(Za(u[C][0],m))return C;return-1}function Od(u,m,C,q){return Bl(u,function(Ie,Ze,vt){m(q,Ie,C(Ie),vt)}),q}function Ha(u,m){return u&&ba(m,_s(m),u)}function cl(u,m,C){"__proto__"==m&&_e?_e(u,m,{configurable:!0,enumerable:!0,value:C,writable:!0}):u[m]=C}function Ou(u,m){for(var C=-1,q=m.length,Ie=un(q),Ze=null==u;++C<q;)Ie[C]=Ze?r:pp(u,m[C]);return Ie}function xc(u,m,C){return u==u&&(C!==r&&(u=u<=C?u:C),m!==r&&(u=u>=m?u:m)),u}function Ga(u,m,C,q,Ie,Ze){var vt,At=1&m,Jt=2&m,Nn=4&m;if(C&&(vt=Ie?C(u,q,Ie,Ze):C(u)),vt!==r)return vt;if(!Io(u))return u;var Vn=mr(u);if(Vn){if(vt=function Zd(u){var m=u.length,C=new u.constructor(m);return m&&"string"==typeof u[0]&&Ir.call(u,"index")&&(C.index=u.index,C.input=u.input),C}(u),!At)return ms(u,vt)}else{var zn=os(u),mi=zn==gn||zn==pi;if(Il(u))return $d(u,At);if(zn==ki||zn==Le||mi&&!Ie){if(vt=Jt||mi?{}:xh(u),!At)return Jt?function Ku(u,m){return ba(u,cd(u),m)}(u,function Au(u,m){return u&&ba(m,oa(m),u)}(vt,u)):function Wu(u,m){return ba(u,Fo(u),m)}(u,Ha(vt,u))}else{if(!fr[zn])return Ie?u:{};vt=function wh(u,m,C){var q=u.constructor;switch(m){case jn:return Gu(u);case et:case Pt:return new q(+u);case Kt:return function yh(u,m){var C=m?Gu(u.buffer):u.buffer;return new u.constructor(C,u.byteOffset,u.byteLength)}(u,C);case En:case ft:case Tt:case Qt:case Tn:case Xn:case Bn:case Ii:case qn:return zu(u,C);case hi:return new q;case xi:case Ue:return new q(u);case an:return function ym(u){var m=new u.constructor(u.source,Di.exec(u));return m.lastIndex=u.lastIndex,m}(u);case me:return new q;case st:return function Eh(u){return rs?Gi(rs.call(u)):{}}(u)}}(u,zn,At)}}Ze||(Ze=new z);var Fi=Ze.get(u);if(Fi)return Fi;Ze.set(u,vt),jf(u)?u.forEach(function(Xi){vt.add(Ga(Xi,m,C,Xi,u,Ze))}):rg(u)&&u.forEach(function(Xi,nr){vt.set(nr,Ga(Xi,m,C,nr,u,Ze))});var Dr=Vn?r:(Nn?Jt?Qd:Yd:Jt?oa:_s)(u);return Zr(Dr||u,function(Xi,nr){Dr&&(Xi=u[nr=Xi]),ll(vt,nr,Ga(Xi,m,C,nr,u,Ze))}),vt}function hh(u,m,C){var q=C.length;if(null==u)return!q;for(u=Gi(u);q--;){var Ie=C[q],vt=u[Ie];if(vt===r&&!(Ie in u)||!(0,m[Ie])(vt))return!1}return!0}function mm(u,m,C){if("function"!=typeof u)throw new Po(A);return Ja(function(){u.apply(r,C)},m)}function wc(u,m,C,q){var Ie=-1,Ze=qr,vt=!0,At=u.length,Jt=[],Nn=m.length;if(!At)return Jt;C&&(m=wr(m,te(C))),q?(Ze=$o,vt=!1):m.length>=200&&(Ze=Ke,vt=!1,m=new w(m));e:for(;++Ie<At;){var Vn=u[Ie],zn=null==C?Vn:C(Vn);if(Vn=q||0!==Vn?Vn:0,vt&&zn==zn){for(var mi=Nn;mi--;)if(m[mi]===zn)continue e;Jt.push(Vn)}else Ze(m,zn,q)||Jt.push(Vn)}return Jt}$e.templateSettings={escape:Be,evaluate:ee,interpolate:ye,variable:"",imports:{_:$e}},($e.prototype=$a.prototype).constructor=$e,(Qo.prototype=Yo($a.prototype)).constructor=Qo,(li.prototype=Yo($a.prototype)).constructor=li,_a.prototype.clear=function sl(){this.__data__=yo?yo(null):{},this.size=0},_a.prototype.delete=function Eo(u){var m=this.has(u)&&delete this.__data__[u];return this.size-=m?1:0,m},_a.prototype.get=function qc(u){var m=this.__data__;if(yo){var C=m[u];return C===B?r:C}return Ir.call(m,u)?m[u]:r},_a.prototype.has=function Jo(u){var m=this.__data__;return yo?m[u]!==r:Ir.call(m,u)},_a.prototype.set=function Zo(u,m){var C=this.__data__;return this.size+=this.has(u)?0:1,C[u]=yo&&m===r?B:m,this},qo.prototype.clear=function al(){this.__data__=[],this.size=0},qo.prototype.delete=function Dc(u){var m=this.__data__,C=Nl(m,u);return!(C<0||(C==m.length-1?m.pop():Oa.call(m,C,1),--this.size,0))},qo.prototype.get=function va(u){var m=this.__data__,C=Nl(m,u);return C<0?r:m[C][1]},qo.prototype.has=function xl(u){return Nl(this.__data__,u)>-1},qo.prototype.set=function fh(u,m){var C=this.__data__,q=Nl(C,u);return q<0?(++this.size,C.push([u,m])):C[q][1]=m,this},wl.prototype.clear=function kd(){this.size=0,this.__data__={hash:new _a,map:new(Qr||qo),string:new _a}},wl.prototype.delete=function ku(u){var m=ld(this,u).delete(u);return this.size-=m?1:0,m},wl.prototype.get=function fm(u){return ld(this,u).get(u)},wl.prototype.has=function Ad(u){return ld(this,u).has(u)},wl.prototype.set=function hm(u,m){var C=ld(this,u),q=C.size;return C.set(u,m),this.size+=C.size==q?0:1,this},w.prototype.add=w.prototype.push=function W(u){return this.__data__.set(u,B),this},w.prototype.has=function S(u){return this.__data__.has(u)},z.prototype.clear=function he(){this.__data__=new qo,this.size=0},z.prototype.delete=function je(u){var m=this.__data__,C=m.delete(u);return this.size=m.size,C},z.prototype.get=function gt(u){return this.__data__.get(u)},z.prototype.has=function cn(u){return this.__data__.has(u)},z.prototype.set=function tn(u,m){var C=this.__data__;if(C instanceof qo){var q=C.__data__;if(!Qr||q.length<199)return q.push([u,m]),this.size=++C.size,this;C=this.__data__=new wl(q)}return C.set(u,m),this.size=C.size,this};var Bl=ac(qs),Zs=ac(es,!0);function ph(u,m){var C=!0;return Bl(u,function(q,Ie,Ze){return C=!!m(q,Ie,Ze)}),C}function ed(u,m,C){for(var q=-1,Ie=u.length;++q<Ie;){var Ze=u[q],vt=m(Ze);if(null!=vt&&(At===r?vt==vt&&!Ca(vt):C(vt,At)))var At=vt,Jt=Ze}return Jt}function gh(u,m){var C=[];return Bl(u,function(q,Ie,Ze){m(q,Ie,Ze)&&C.push(q)}),C}function Is(u,m,C,q,Ie){var Ze=-1,vt=u.length;for(C||(C=qd),Ie||(Ie=[]);++Ze<vt;){var At=u[Ze];m>0&&C(At)?m>1?Is(At,m-1,C,q,Ie):Fs(Ie,At):q||(Ie[Ie.length]=At)}return Ie}var Gr=Ac(),Vl=Ac(!0);function qs(u,m){return u&&Gr(u,m,_s)}function es(u,m){return u&&Vl(u,m,_s)}function Rd(u,m){return Yr(m,function(C){return bl(u[C])})}function za(u,m){for(var C=0,q=(m=Tl(m,u)).length;null!=u&&C<q;)u=u[Ml(m[C++])];return C&&C==q?u:r}function tc(u,m,C){var q=m(u);return mr(u)?q:Fs(q,C(u))}function eo(u){return null==u?u===r?"[object Undefined]":"[object Null]":Z&&Z in Gi(u)?function Fc(u){var m=Ir.call(u,Z),C=u[Z];try{u[Z]=r;var q=!0}catch{}var Ie=pa.call(u);return q&&(m?u[Z]=C:delete u[Z]),Ie}(u):function __(u){return pa.call(u)}(u)}function Ru(u,m){return u>m}function Pu(u,m){return null!=u&&Ir.call(u,m)}function gm(u,m){return null!=u&&m in Gi(u)}function Pd(u,m,C){for(var q=C?$o:qr,Ie=u[0].length,Ze=u.length,vt=Ze,At=un(Ze),Jt=1/0,Nn=[];vt--;){var Vn=u[vt];vt&&m&&(Vn=wr(Vn,te(m))),Jt=$r(Vn.length,Jt),At[vt]=!C&&(m||Ie>=120&&Vn.length>=120)?new w(vt&&Vn):r}Vn=u[0];var zn=-1,mi=At[0];e:for(;++zn<Ie&&Nn.length<Jt;){var Fi=Vn[zn],Ki=m?m(Fi):Fi;if(Fi=C||0!==Fi?Fi:0,!(mi?Ke(mi,Ki):q(Nn,Ki,C))){for(vt=Ze;--vt;){var Dr=At[vt];if(!(Dr?Ke(Dr,Ki):q(u[vt],Ki,C)))continue e}mi&&mi.push(Ki),Nn.push(Fi)}}return Nn}function Sc(u,m,C){var q=null==(u=Mm(u,m=Tl(m,u)))?u:u[Ml(Lo(m))];return null==q?r:Fr(q,u,C)}function Tc(u){return Bo(u)&&eo(u)==Le}function jl(u,m,C,q,Ie){return u===m||(null==u||null==m||!Bo(u)&&!Bo(m)?u!=u&&m!=m:function ul(u,m,C,q,Ie,Ze){var vt=mr(u),At=mr(m),Jt=vt?pe:os(u),Nn=At?pe:os(m),Vn=(Jt=Jt==Le?ki:Jt)==ki,zn=(Nn=Nn==Le?ki:Nn)==ki,mi=Jt==Nn;if(mi&&Il(u)){if(!Il(m))return!1;vt=!0,Vn=!1}if(mi&&!Vn)return Ze||(Ze=new z),vt||Uc(u)?Xd(u,m,C,q,Ie,Ze):function wm(u,m,C,q,Ie,Ze,vt){switch(C){case Kt:if(u.byteLength!=m.byteLength||u.byteOffset!=m.byteOffset)return!1;u=u.buffer,m=m.buffer;case jn:return!(u.byteLength!=m.byteLength||!Ze(new rl(u),new rl(m)));case et:case Pt:case xi:return Za(+u,+m);case ei:return u.name==m.name&&u.message==m.message;case an:case Ue:return u==m+"";case hi:var At=ai;case me:if(At||(At=vi),u.size!=m.size&&!(1&q))return!1;var Nn=vt.get(u);if(Nn)return Nn==m;q|=2,vt.set(u,m);var Vn=Xd(At(u),At(m),q,Ie,Ze,vt);return vt.delete(u),Vn;case st:if(rs)return rs.call(u)==rs.call(m)}return!1}(u,m,Jt,C,q,Ie,Ze);if(!(1&C)){var Fi=Vn&&Ir.call(u,"__wrapped__"),Ki=zn&&Ir.call(m,"__wrapped__");if(Fi||Ki){var Dr=Fi?u.value():u,Xi=Ki?m.value():m;return Ze||(Ze=new z),Ie(Dr,Xi,C,q,Ze)}}return!!mi&&(Ze||(Ze=new z),function Dh(u,m,C,q,Ie,Ze){var vt=1&C,At=Yd(u),Jt=At.length;if(Jt!=Yd(m).length&&!vt)return!1;for(var zn=Jt;zn--;){var mi=At[zn];if(!(vt?mi in m:Ir.call(m,mi)))return!1}var Fi=Ze.get(u),Ki=Ze.get(m);if(Fi&&Ki)return Fi==m&&Ki==u;var Dr=!0;Ze.set(u,m),Ze.set(m,u);for(var Xi=vt;++zn<Jt;){var nr=u[mi=At[zn]],Ar=m[mi];if(q)var xa=vt?q(Ar,nr,mi,m,u,Ze):q(nr,Ar,mi,u,m,Ze);if(!(xa===r?nr===Ar||Ie(nr,Ar,C,q,Ze):xa)){Dr=!1;break}Xi||(Xi="constructor"==mi)}if(Dr&&!Xi){var o=u.constructor,c=m.constructor;o!=c&&"constructor"in u&&"constructor"in m&&!("function"==typeof o&&o instanceof o&&"function"==typeof c&&c instanceof c)&&(Dr=!1)}return Ze.delete(u),Ze.delete(m),Dr}(u,m,C,q,Ie,Ze))}(u,m,C,q,jl,Ie))}function Wi(u,m,C,q){var Ie=C.length,Ze=Ie,vt=!q;if(null==u)return!Ze;for(u=Gi(u);Ie--;){var At=C[Ie];if(vt&&At[2]?At[1]!==u[At[0]]:!(At[0]in u))return!1}for(;++Ie<Ze;){var Jt=(At=C[Ie])[0],Nn=u[Jt],Vn=At[1];if(vt&&At[2]){if(Nn===r&&!(Jt in u))return!1}else{var zn=new z;if(q)var mi=q(Nn,Vn,Jt,u,m,zn);if(!(mi===r?jl(Vn,Nn,3,q,zn):mi))return!1}}return!0}function uo(u){return!(!Io(u)||function Tm(u){return!!Ms&&Ms in u}(u))&&(bl(u)?ql:vr).test(Lc(u))}function bm(u){return"function"==typeof u?u:null==u?ks:"object"==typeof u?mr(u)?nd(u[0],u[1]):fl(u):_c(u)}function Ld(u){if(!Hl(u))return or(u);var m=[];for(var C in Gi(u))Ir.call(u,C)&&"constructor"!=C&&m.push(C);return m}function Lu(u,m){return u<m}function _h(u,m){var C=-1,q=ra(u)?un(u.length):[];return Bl(u,function(Ie,Ze,vt){q[++C]=m(Ie,Ze,vt)}),q}function fl(u){var m=Jd(u);return 1==m.length&&m[0][2]?Mh(m[0][0],m[0][1]):function(C){return C===u||Wi(C,u,m)}}function nd(u,m){return tf(u)&&Th(m)?Mh(Ml(u),m):function(C){var q=pp(C,u);return q===r&&q===m?xd(C,u):jl(m,q,3)}}function hs(u,m,C,q,Ie){u!==m&&Gr(m,function(Ze,vt){if(Ie||(Ie=new z),Io(Ze))!function bn(u,m,C,q,Ie,Ze,vt){var At=Qa(u,C),Jt=Qa(m,C),Nn=vt.get(Jt);if(Nn)Ll(u,C,Nn);else{var Vn=Ze?Ze(At,Jt,C+"",u,m,vt):r,zn=Vn===r;if(zn){var mi=mr(Jt),Fi=!mi&&Il(Jt),Ki=!mi&&!Fi&&Uc(Jt);Vn=Jt,mi||Fi||Ki?mr(At)?Vn=At:No(At)?Vn=ms(At):Fi?(zn=!1,Vn=$d(Jt,!0)):Ki?(zn=!1,Vn=zu(Jt,!0)):Vn=[]:Cd(Jt)||pc(Jt)?(Vn=At,pc(At)?Vn=dp(At):(!Io(At)||bl(At))&&(Vn=xh(Jt))):zn=!1}zn&&(vt.set(Jt,Vn),Ie(Vn,Jt,q,Ze,vt),vt.delete(Jt)),Ll(u,C,Vn)}}(u,m,vt,C,hs,q,Ie);else{var At=q?q(Qa(u,vt),Ze,vt+"",u,m,Ie):r;At===r&&(At=Ze),Ll(u,vt,At)}},oa)}function pr(u,m){var C=u.length;if(C)return fo(m+=m<0?C:0,C)?u[m]:r}function ic(u,m,C){m=m.length?wr(m,function(Ze){return mr(Ze)?function(vt){return za(vt,1===Ze.length?Ze[0]:Ze)}:Ze}):[ks];var q=-1;return m=wr(m,te(zi())),function Ct(Nt,pn){var un=Nt.length;for(Nt.sort(pn);un--;)Nt[un]=Nt[un].value;return Nt}(_h(u,function(Ze,vt,At){return{criteria:wr(m,function(Nn){return Nn(Ze)}),index:++q,value:Ze}}),function(Ze,vt){return function na(u,m,C){for(var q=-1,Ie=u.criteria,Ze=m.criteria,vt=Ie.length,At=C.length;++q<vt;){var Jt=rc(Ie[q],Ze[q]);if(Jt)return q>=At?Jt:Jt*("desc"==C[q]?-1:1)}return u.index-m.index}(Ze,vt,C)})}function Vr(u,m,C){for(var q=-1,Ie=m.length,Ze={};++q<Ie;){var vt=m[q],At=za(u,vt);C(At,vt)&&ea(Ze,Tl(vt,u),At)}return Ze}function Ka(u,m,C,q){var Ie=q?Go:Ao,Ze=-1,vt=m.length,At=u;for(u===m&&(m=ms(m)),C&&(At=wr(u,te(C)));++Ze<vt;)for(var Jt=0,Nn=m[Ze],Vn=C?C(Nn):Nn;(Jt=Ie(At,Vn,Jt,q))>-1;)At!==u&&Oa.call(At,Jt,1),Oa.call(u,Jt,1);return u}function Vs(u,m){for(var C=u?m.length:0,q=C-1;C--;){var Ie=m[C];if(C==q||Ie!==Ze){var Ze=Ie;fo(Ie)?Oa.call(u,Ie,1):$u(u,Ie)}}return u}function id(u,m){return u+Cr(Ci()*(m-u+1))}function Vu(u,m){var C="";if(!u||m<1||m>jt)return C;do{m%2&&(C+=u),(m=Cr(m/2))&&(u+=u)}while(m);return C}function Mr(u,m){return af(rf(u,m,ks),u+"")}function vh(u){return ar(Kc(u))}function js(u,m){var C=Kc(u);return cf(C,xc(m,0,C.length))}function ea(u,m,C,q){if(!Io(u))return u;for(var Ie=-1,Ze=(m=Tl(m,u)).length,vt=Ze-1,At=u;null!=At&&++Ie<Ze;){var Jt=Ml(m[Ie]),Nn=C;if("__proto__"===Jt||"constructor"===Jt||"prototype"===Jt)return u;if(Ie!=vt){var Vn=At[Jt];(Nn=q?q(Vn,Jt,At):r)===r&&(Nn=Io(Vn)?Vn:fo(m[Ie+1])?[]:{})}ll(At,Jt,Nn),At=At[Jt]}return u}var ju=is?function(u,m){return is.set(u,m),u}:ks,Xa=_e?function(u,m){return _e(u,"toString",{configurable:!0,enumerable:!1,value:sa(m),writable:!0})}:ks;function Sl(u){return cf(Kc(u))}function Ra(u,m,C){var q=-1,Ie=u.length;m<0&&(m=-m>Ie?0:Ie+m),(C=C>Ie?Ie:C)<0&&(C+=Ie),Ie=m>C?0:C-m>>>0,m>>>=0;for(var Ze=un(Ie);++q<Ie;)Ze[q]=u[q+m];return Ze}function bh(u,m){var C;return Bl(u,function(q,Ie,Ze){return!(C=m(q,Ie,Ze))}),!!C}function Nd(u,m,C){var q=0,Ie=null==u?q:u.length;if("number"==typeof m&&m==m&&Ie<=2147483647){for(;q<Ie;){var Ze=q+Ie>>>1,vt=u[Ze];null!==vt&&!Ca(vt)&&(C?vt<=m:vt<m)?q=Ze+1:Ie=Ze}return Ie}return Uu(u,m,ks,C)}function Uu(u,m,C,q){var Ie=0,Ze=null==u?0:u.length;if(0===Ze)return 0;for(var vt=(m=C(m))!=m,At=null===m,Jt=Ca(m),Nn=m===r;Ie<Ze;){var Vn=Cr((Ie+Ze)/2),zn=C(u[Vn]),mi=zn!==r,Fi=null===zn,Ki=zn==zn,Dr=Ca(zn);if(vt)var Xi=q||Ki;else Xi=Nn?Ki&&(q||mi):At?Ki&&mi&&(q||!Fi):Jt?Ki&&mi&&!Fi&&(q||!Dr):!Fi&&!Dr&&(q?zn<=m:zn<m);Xi?Ie=Vn+1:Ze=Vn}return $r(Ze,4294967294)}function Bd(u,m){for(var C=-1,q=u.length,Ie=0,Ze=[];++C<q;){var vt=u[C],At=m?m(vt):vt;if(!C||!Za(At,Jt)){var Jt=At;Ze[Ie++]=0===vt?0:vt}}return Ze}function Vd(u){return"number"==typeof u?u:Ca(u)?NaN:+u}function Us(u){if("string"==typeof u)return u;if(mr(u))return wr(u,Us)+"";if(Ca(u))return Fl?Fl.call(u):"";var m=u+"";return"0"==m&&1/u==-qt?"-0":m}function Ya(u,m,C){var q=-1,Ie=qr,Ze=u.length,vt=!0,At=[],Jt=At;if(C)vt=!1,Ie=$o;else if(Ze>=200){var Nn=m?null:ml(u);if(Nn)return vi(Nn);vt=!1,Ie=Ke,Jt=new w}else Jt=m?[]:At;e:for(;++q<Ze;){var Vn=u[q],zn=m?m(Vn):Vn;if(Vn=C||0!==Vn?Vn:0,vt&&zn==zn){for(var mi=Jt.length;mi--;)if(Jt[mi]===zn)continue e;m&&Jt.push(zn),At.push(Vn)}else Ie(Jt,zn,C)||(Jt!==At&&Jt.push(zn),At.push(Vn))}return At}function $u(u,m){return null==(u=Mm(u,m=Tl(m,u)))||delete u[Ml(Lo(m))]}function Hu(u,m,C,q){return ea(u,m,C(za(u,m)),q)}function Mc(u,m,C,q){for(var Ie=u.length,Ze=q?Ie:-1;(q?Ze--:++Ze<Ie)&&m(u[Ze],Ze,u););return C?Ra(u,q?0:Ze,q?Ze+1:Ie):Ra(u,q?Ze+1:0,q?Ie:Ze)}function Ic(u,m){var C=u;return C instanceof li&&(C=C.value()),fa(m,function(q,Ie){return Ie.func.apply(Ie.thisArg,Fs([q],Ie.args))},C)}function hl(u,m,C){var q=u.length;if(q<2)return q?Ya(u[0]):[];for(var Ie=-1,Ze=un(q);++Ie<q;)for(var vt=u[Ie],At=-1;++At<q;)At!=Ie&&(Ze[Ie]=wc(Ze[Ie]||vt,u[At],m,C));return Ya(Is(Ze,1),m,C)}function jd(u,m,C){for(var q=-1,Ie=u.length,Ze=m.length,vt={};++q<Ie;)C(vt,u[q],q<Ze?m[q]:r);return vt}function Ud(u){return No(u)?u:[]}function rd(u){return"function"==typeof u?u:ks}function Tl(u,m){return mr(u)?u:tf(u,m)?[u]:dd(zr(u))}var ps=Mr;function ta(u,m,C){var q=u.length;return C=C===r?q:C,!m&&C>=q?u:Ra(u,m,C)}var ao=ct||function(u){return Xr.clearTimeout(u)};function $d(u,m){if(m)return u.slice();var C=u.length,q=Ol?Ol(C):new u.constructor(C);return u.copy(q),q}function Gu(u){var m=new u.constructor(u.byteLength);return new rl(m).set(new rl(u)),m}function zu(u,m){var C=m?Gu(u.buffer):u.buffer;return new u.constructor(C,u.byteOffset,u.length)}function rc(u,m){if(u!==m){var C=u!==r,q=null===u,Ie=u==u,Ze=Ca(u),vt=m!==r,At=null===m,Jt=m==m,Nn=Ca(m);if(!At&&!Nn&&!Ze&&u>m||Ze&&vt&&Jt&&!At&&!Nn||q&&vt&&Jt||!C&&Jt||!Ie)return 1;if(!q&&!Ze&&!Nn&&u<m||Nn&&C&&Ie&&!q&&!Ze||At&&C&&Ie||!vt&&Ie||!Jt)return-1}return 0}function oc(u,m,C,q){for(var Ie=-1,Ze=u.length,vt=C.length,At=-1,Jt=m.length,Nn=hr(Ze-vt,0),Vn=un(Jt+Nn),zn=!q;++At<Jt;)Vn[At]=m[At];for(;++Ie<vt;)(zn||Ie<Ze)&&(Vn[C[Ie]]=u[Ie]);for(;Nn--;)Vn[At++]=u[Ie++];return Vn}function od(u,m,C,q){for(var Ie=-1,Ze=u.length,vt=-1,At=C.length,Jt=-1,Nn=m.length,Vn=hr(Ze-At,0),zn=un(Vn+Nn),mi=!q;++Ie<Vn;)zn[Ie]=u[Ie];for(var Fi=Ie;++Jt<Nn;)zn[Fi+Jt]=m[Jt];for(;++vt<At;)(mi||Ie<Ze)&&(zn[Fi+C[vt]]=u[Ie++]);return zn}function ms(u,m){var C=-1,q=u.length;for(m||(m=un(q));++C<q;)m[C]=u[C];return m}function ba(u,m,C,q){var Ie=!C;C||(C={});for(var Ze=-1,vt=m.length;++Ze<vt;){var At=m[Ze],Jt=q?q(C[At],u[At],At,C,u):r;Jt===r&&(Jt=u[At]),Ie?cl(C,At,Jt):ll(C,At,Jt)}return C}function sc(u,m){return function(C,q){var Ie=mr(C)?Dl:Od,Ze=m?m():{};return Ie(C,u,zi(q,2),Ze)}}function kc(u){return Mr(function(m,C){var q=-1,Ie=C.length,Ze=Ie>1?C[Ie-1]:r,vt=Ie>2?C[2]:r;for(Ze=u.length>3&&"function"==typeof Ze?(Ie--,Ze):r,vt&&Mo(C[0],C[1],vt)&&(Ze=Ie<3?r:Ze,Ie=1),m=Gi(m);++q<Ie;){var At=C[q];At&&u(m,At,q,Ze)}return m})}function ac(u,m){return function(C,q){if(null==C)return C;if(!ra(C))return u(C,q);for(var Ie=C.length,Ze=m?Ie:-1,vt=Gi(C);(m?Ze--:++Ze<Ie)&&!1!==q(vt[Ze],Ze,vt););return C}}function Ac(u){return function(m,C,q){for(var Ie=-1,Ze=Gi(m),vt=q(m),At=vt.length;At--;){var Jt=vt[u?At:++Ie];if(!1===C(Ze[Jt],Jt,Ze))break}return m}}function Hd(u){return function(m){var C=Rn(m=zr(m))?Si(m):r,q=C?C[0]:m.charAt(0),Ie=C?ta(C,1).join(""):m.slice(1);return q[u]()+Ie}}function Oc(u){return function(m){return fa(Kf(Xc(m).replace(Ht,"")),u,"")}}function sd(u){return function(){var m=arguments;switch(m.length){case 0:return new u;case 1:return new u(m[0]);case 2:return new u(m[0],m[1]);case 3:return new u(m[0],m[1],m[2]);case 4:return new u(m[0],m[1],m[2],m[3]);case 5:return new u(m[0],m[1],m[2],m[3],m[4]);case 6:return new u(m[0],m[1],m[2],m[3],m[4],m[5]);case 7:return new u(m[0],m[1],m[2],m[3],m[4],m[5],m[6])}var C=Yo(u.prototype),q=u.apply(C,m);return Io(q)?q:C}}function Dm(u){return function(m,C,q){var Ie=Gi(m);if(!ra(m)){var Ze=zi(C,3);m=_s(m),C=function(At){return Ze(Ie[At],At,Ie)}}var vt=u(m,C,q);return vt>-1?Ie[Ze?m[vt]:vt]:r}}function Gd(u){return gl(function(m){var C=m.length,q=C,Ie=Qo.prototype.thru;for(u&&m.reverse();q--;){var Ze=m[q];if("function"!=typeof Ze)throw new Po(A);if(Ie&&!vt&&"wrapper"==cc(Ze))var vt=new Qo([],!0)}for(q=vt?q:C;++q<C;){var At=cc(Ze=m[q]),Jt="wrapper"==At?Ju(Ze):r;vt=Jt&&eu(Jt[0])&&424==Jt[1]&&!Jt[4].length&&1==Jt[9]?vt[cc(Jt[0])].apply(vt,Jt[3]):1==Ze.length&&eu(Ze)?vt[At]():vt.thru(Ze)}return function(){var Nn=arguments,Vn=Nn[0];if(vt&&1==Nn.length&&mr(Vn))return vt.plant(Vn).value();for(var zn=0,mi=C?m[zn].apply(this,Nn):Vn;++zn<C;)mi=m[zn].call(this,mi);return mi}})}function pl(u,m,C,q,Ie,Ze,vt,At,Jt,Nn){var Vn=128&m,zn=1&m,mi=2&m,Fi=24&m,Ki=512&m,Dr=mi?r:sd(u);return function Xi(){for(var nr=arguments.length,Ar=un(nr),xa=nr;xa--;)Ar[xa]=arguments[xa];if(Fi)var o=Fa(Xi),c=function Gt(Nt,pn){for(var un=Nt.length,gi=0;un--;)Nt[un]===pn&&++gi;return gi}(Ar,o);if(q&&(Ar=oc(Ar,q,Ie,Fi)),Ze&&(Ar=od(Ar,Ze,vt,Fi)),nr-=c,Fi&&nr<Nn){var s=Gn(Ar,o);return Xu(u,m,pl,Xi.placeholder,C,Ar,s,At,Jt,Nn-nr)}var l=zn?C:this,h=mi?l[u]:u;return nr=Ar.length,At?Ar=function sf(u,m){for(var C=u.length,q=$r(m.length,C),Ie=ms(u);q--;){var Ze=m[q];u[q]=fo(Ze,C)?Ie[Ze]:r}return u}(Ar,At):Ki&&nr>1&&Ar.reverse(),Vn&&Jt<nr&&(Ar.length=Jt),this&&this!==Xr&&this instanceof Xi&&(h=Dr||sd(h)),h.apply(l,Ar)}}function lc(u,m){return function(C,q){return function _m(u,m,C,q){return qs(u,function(Ie,Ze,vt){m(q,C(Ie),Ze,vt)}),q}(C,u,m(q),{})}}function Rc(u,m){return function(C,q){var Ie;if(C===r&&q===r)return m;if(C!==r&&(Ie=C),q!==r){if(Ie===r)return q;"string"==typeof C||"string"==typeof q?(C=Us(C),q=Us(q)):(C=Vd(C),q=Vd(q)),Ie=u(C,q)}return Ie}}function $l(u){return gl(function(m){return m=wr(m,te(zi())),Mr(function(C){var q=this;return u(m,function(Ie){return Fr(Ie,q,C)})})})}function Pc(u,m){var C=(m=m===r?" ":Us(m)).length;if(C<2)return C?Vu(m,u):m;var q=Vu(m,di(u/Pi(m)));return Rn(m)?ta(Si(q),0,u).join(""):q.slice(0,u)}function xm(u){return function(m,C,q){return q&&"number"!=typeof q&&Mo(m,C,q)&&(C=q=r),m=yl(m),C===r?(C=m,m=0):C=yl(C),function Bu(u,m,C,q){for(var Ie=-1,Ze=hr(di((m-u)/(C||1)),0),vt=un(Ze);Ze--;)vt[q?Ze:++Ie]=u,u+=C;return vt}(m,C,q=q===r?m<C?1:-1:yl(q),u)}}function ad(u){return function(m,C){return"string"==typeof m&&"string"==typeof C||(m=Da(m),C=Da(C)),u(m,C)}}function Xu(u,m,C,q,Ie,Ze,vt,At,Jt,Nn){var Vn=8&m;m|=Vn?32:64,4&(m&=~(Vn?64:32))||(m&=-4);var Dr=[u,m,Ie,Vn?Ze:r,Vn?vt:r,Vn?r:Ze,Vn?r:vt,At,Jt,Nn],Xi=C.apply(r,Dr);return eu(u)&&tu(Xi,Dr),Xi.placeholder=q,Ah(Xi,u,m)}function Yu(u){var m=Ai[u];return function(C,q){if(C=Da(C),(q=null==q?0:$r(Er(q),292))&&dr(C)){var Ie=(zr(C)+"e").split("e");return+((Ie=(zr(m(Ie[0]+"e"+(+Ie[1]+q)))+"e").split("e"))[0]+"e"+(+Ie[1]-q))}return m(C)}}var ml=Bs&&1/vi(new Bs([,-0]))[1]==qt?function(u){return new Bs(u)}:Cu;function Ch(u){return function(m){var C=os(m);return C==hi?ai(m):C==me?function tr(Nt){var pn=-1,un=Array(Nt.size);return Nt.forEach(function(gi){un[++pn]=[gi,gi]}),un}(m):function x(Nt,pn){return wr(pn,function(un){return[un,Nt[un]]})}(m,u(m))}}function Pa(u,m,C,q,Ie,Ze,vt,At){var Jt=2&m;if(!Jt&&"function"!=typeof u)throw new Po(A);var Nn=q?q.length:0;if(Nn||(m&=-97,q=Ie=r),vt=vt===r?vt:hr(Er(vt),0),At=At===r?At:Er(At),Nn-=Ie?Ie.length:0,64&m){var Vn=q,zn=Ie;q=Ie=r}var mi=Jt?r:Ju(u),Fi=[u,m,C,q,Ie,Vn,zn,Ze,vt,At];if(mi&&function kh(u,m){var C=u[1],q=m[1],Ie=C|q;if(!(Ie<131)&&!(128==q&&8==C||128==q&&256==C&&u[7].length<=m[8]||384==q&&m[7].length<=m[8]&&8==C))return u;1&q&&(u[2]=m[2],Ie|=1&C?0:4);var At=m[3];if(At){var Jt=u[3];u[3]=Jt?oc(Jt,At,m[4]):At,u[4]=Jt?Gn(u[3],T):m[4]}(At=m[5])&&(u[5]=(Jt=u[5])?od(Jt,At,m[6]):At,u[6]=Jt?Gn(u[5],T):m[6]),(At=m[7])&&(u[7]=At),128&q&&(u[8]=null==u[8]?m[8]:$r(u[8],m[8])),null==u[9]&&(u[9]=m[9]),u[0]=m[0],u[1]=Ie}(Fi,mi),u=Fi[0],m=Fi[1],C=Fi[2],q=Fi[3],Ie=Fi[4],!(At=Fi[9]=Fi[9]===r?Jt?0:u.length:hr(Fi[9]-Nn,0))&&24&m&&(m&=-25),m&&1!=m)Ki=8==m||16==m?function Cm(u,m,C){var q=sd(u);return function Ie(){for(var Ze=arguments.length,vt=un(Ze),At=Ze,Jt=Fa(Ie);At--;)vt[At]=arguments[At];var Nn=Ze<3&&vt[0]!==Jt&&vt[Ze-1]!==Jt?[]:Gn(vt,Jt);return(Ze-=Nn.length)<C?Xu(u,m,pl,Ie.placeholder,r,vt,Nn,r,r,C-Ze):Fr(this&&this!==Xr&&this instanceof Ie?q:u,this,vt)}}(u,m,At):32!=m&&33!=m||Ie.length?pl.apply(r,Fi):function zd(u,m,C,q){var Ie=1&m,Ze=sd(u);return function vt(){for(var At=-1,Jt=arguments.length,Nn=-1,Vn=q.length,zn=un(Vn+Jt),mi=this&&this!==Xr&&this instanceof vt?Ze:u;++Nn<Vn;)zn[Nn]=q[Nn];for(;Jt--;)zn[Nn++]=arguments[++At];return Fr(mi,Ie?C:this,zn)}}(u,m,C,q);else var Ki=function Em(u,m,C){var q=1&m,Ie=sd(u);return function Ze(){return(this&&this!==Xr&&this instanceof Ze?Ie:u).apply(q?C:this,arguments)}}(u,m,C);return Ah((mi?ju:tu)(Ki,Fi),u,m)}function Wd(u,m,C,q){return u===r||Za(u,Ta[C])&&!Ir.call(q,C)?m:u}function Qu(u,m,C,q,Ie,Ze){return Io(u)&&Io(m)&&(Ze.set(m,u),hs(u,m,r,Qu,Ze),Ze.delete(m)),u}function Kd(u){return Cd(u)?r:u}function Xd(u,m,C,q,Ie,Ze){var vt=1&C,At=u.length,Jt=m.length;if(At!=Jt&&!(vt&&Jt>At))return!1;var Nn=Ze.get(u),Vn=Ze.get(m);if(Nn&&Vn)return Nn==m&&Vn==u;var zn=-1,mi=!0,Fi=2&C?new w:r;for(Ze.set(u,m),Ze.set(m,u);++zn<At;){var Ki=u[zn],Dr=m[zn];if(q)var Xi=vt?q(Dr,Ki,zn,m,u,Ze):q(Ki,Dr,zn,u,m,Ze);if(Xi!==r){if(Xi)continue;mi=!1;break}if(Fi){if(!qi(m,function(nr,Ar){if(!Ke(Fi,Ar)&&(Ki===nr||Ie(Ki,nr,C,q,Ze)))return Fi.push(Ar)})){mi=!1;break}}else if(Ki!==Dr&&!Ie(Ki,Dr,C,q,Ze)){mi=!1;break}}return Ze.delete(u),Ze.delete(m),mi}function gl(u){return af(rf(u,r,md),u+"")}function Yd(u){return tc(u,_s,Fo)}function Qd(u){return tc(u,oa,cd)}var Ju=is?function(u){return is.get(u)}:Cu;function cc(u){for(var m=u.name+"",C=Ti[m],q=Ir.call(Ti,m)?C.length:0;q--;){var Ie=C[q],Ze=Ie.func;if(null==Ze||Ze==u)return Ie.name}return m}function Fa(u){return(Ir.call($e,"placeholder")?$e:u).placeholder}function zi(){var u=$e.iteratee||Eu;return u=u===Eu?bm:u,arguments.length?u(arguments[0],arguments[1]):u}function ld(u,m){var C=u.__data__;return function nf(u){var m=typeof u;return"string"==m||"number"==m||"symbol"==m||"boolean"==m?"__proto__"!==u:null===u}(m)?C["string"==typeof m?"string":"hash"]:C.map}function Jd(u){for(var m=_s(u),C=m.length;C--;){var q=m[C],Ie=u[q];m[C]=[q,Ie,Th(Ie)]}return m}function La(u,m){var C=function In(Nt,pn){return null==Nt?r:Nt[pn]}(u,m);return uo(C)?C:r}var Fo=Rr?function(u){return null==u?[]:(u=Gi(u),Yr(Rr(u),function(m){return Rl.call(u,m)}))}:Qc,cd=Rr?function(u){for(var m=[];u;)Fs(m,Fo(u)),u=Js(u);return m}:Qc,os=eo;function qu(u,m,C){for(var q=-1,Ie=(m=Tl(m,u)).length,Ze=!1;++q<Ie;){var vt=Ml(m[q]);if(!(Ze=null!=u&&C(u,vt)))break;u=u[vt]}return Ze||++q!=Ie?Ze:!!(Ie=null==u?0:u.length)&&Ed(Ie)&&fo(vt,Ie)&&(mr(u)||pc(u))}function xh(u){return"function"!=typeof u.constructor||Hl(u)?{}:Yo(Js(u))}function qd(u){return mr(u)||pc(u)||!!(k&&u&&u[k])}function fo(u,m){var C=typeof u;return!!(m=m??jt)&&("number"==C||"symbol"!=C&&kr.test(u))&&u>-1&&u%1==0&&u<m}function Mo(u,m,C){if(!Io(C))return!1;var q=typeof m;return!!("number"==q?ra(C)&&fo(m,C.length):"string"==q&&m in C)&&Za(C[m],u)}function tf(u,m){if(mr(u))return!1;var C=typeof u;return!("number"!=C&&"symbol"!=C&&"boolean"!=C&&null!=u&&!Ca(u))||Wt.test(u)||!at.test(u)||null!=m&&u in Gi(m)}function eu(u){var m=cc(u),C=$e[m];if("function"!=typeof C||!(m in li.prototype))return!1;if(u===C)return!0;var q=Ju(C);return!!q&&u===q[0]}(bo&&os(new bo(new ArrayBuffer(1)))!=Kt||Qr&&os(new Qr)!=hi||To&&os(To.resolve())!=Zi||Bs&&os(new Bs)!=me||Pr&&os(new Pr)!=Lt)&&(os=function(u){var m=eo(u),C=m==ki?u.constructor:r,q=C?Lc(C):"";if(q)switch(q){case ec:return Kt;case Id:return hi;case Pl:return Zi;case co:return me;case Ua:return Lt}return m});var Sh=Ma?bl:Xl;function Hl(u){var m=u&&u.constructor;return u===("function"==typeof m&&m.prototype||Ta)}function Th(u){return u==u&&!Io(u)}function Mh(u,m){return function(C){return null!=C&&C[u]===m&&(m!==r||u in Gi(C))}}function rf(u,m,C){return m=hr(m===r?u.length-1:m,0),function(){for(var q=arguments,Ie=-1,Ze=hr(q.length-m,0),vt=un(Ze);++Ie<Ze;)vt[Ie]=q[m+Ie];Ie=-1;for(var At=un(m+1);++Ie<m;)At[Ie]=q[Ie];return At[m]=C(vt),Fr(u,this,At)}}function Mm(u,m){return m.length<2?u:za(u,Ra(m,0,-1))}function Qa(u,m){if(("constructor"!==m||"function"!=typeof u[m])&&"__proto__"!=m)return u[m]}var tu=lf(ju),Ja=On||function(u,m){return Xr.setTimeout(u,m)},af=lf(Xa);function Ah(u,m,C){var q=m+"";return af(u,function ef(u,m){var C=m.length;if(!C)return u;var q=C-1;return m[q]=(C>1?"& ":"")+m[q],m=m.join(C>2?", ":" "),u.replace(lt,"{\n/* [wrapped with "+m+"] */\n")}(q,function v_(u,m){return Zr(Ft,function(C){var q="_."+C[0];m&C[1]&&!qr(u,q)&&u.push(q)}),u.sort()}(function Sm(u){var m=u.match(kt);return m?m[1].split(re):[]}(q),C)))}function lf(u){var m=0,C=0;return function(){var q=sr(),Ie=16-(q-C);if(C=q,Ie>0){if(++m>=800)return arguments[0]}else m=0;return u.apply(r,arguments)}}function cf(u,m){var C=-1,q=u.length,Ie=q-1;for(m=m===r?q:m;++C<m;){var Ze=id(C,Ie),vt=u[Ze];u[Ze]=u[C],u[C]=vt}return u.length=m,u}var dd=function Ih(u){var m=cu(u,function(q){return 500===C.size&&C.clear(),q}),C=m.cache;return m}(function(u){var m=[];return 46===u.charCodeAt(0)&&m.push(""),u.replace(Et,function(C,q,Ie,Ze){m.push(Ie?Ze.replace(Ut,"$1"):q||C)}),m});function Ml(u){if("string"==typeof u||Ca(u))return u;var m=u+"";return"0"==m&&1/u==-qt?"-0":m}function Lc(u){if(null!=u){try{return Ys.call(u)}catch{}try{return u+""}catch{}}return""}function Oh(u){if(u instanceof li)return u.clone();var m=new Qo(u.__wrapped__,u.__chain__);return m.__actions__=ms(u.__actions__),m.__index__=u.__index__,m.__values__=u.__values__,m}var Im=Mr(function(u,m){return No(u)?wc(u,Is(m,1,No,!0)):[]}),uf=Mr(function(u,m){var C=Lo(m);return No(C)&&(C=r),No(u)?wc(u,Is(m,1,No,!0),zi(C,2)):[]}),_l=Mr(function(u,m){var C=Lo(m);return No(C)&&(C=r),No(u)?wc(u,Is(m,1,No,!0),r,C):[]});function ff(u,m,C){var q=null==u?0:u.length;if(!q)return-1;var Ie=null==C?0:Er(C);return Ie<0&&(Ie=hr(q+Ie,0)),Ls(u,zi(m,3),Ie)}function pd(u,m,C){var q=null==u?0:u.length;if(!q)return-1;var Ie=q-1;return C!==r&&(Ie=Er(C),Ie=C<0?hr(q+Ie,0):$r(Ie,q-1)),Ls(u,zi(m,3),Ie,!0)}function md(u){return null!=u&&u.length?Is(u,1):[]}function pf(u){return u&&u.length?u[0]:r}var gs=Mr(function(u){var m=wr(u,Ud);return m.length&&m[0]===u[0]?Pd(m):[]}),ia=Mr(function(u){var m=Lo(u),C=wr(u,Ud);return m===Lo(C)?m=r:C.pop(),C.length&&C[0]===u[0]?Pd(C,zi(m,2)):[]}),zo=Mr(function(u){var m=Lo(u),C=wr(u,Ud);return(m="function"==typeof m?m:r)&&C.pop(),C.length&&C[0]===u[0]?Pd(C,r,m):[]});function Lo(u){var m=null==u?0:u.length;return m?u[m-1]:r}var Vh=Mr(mf);function mf(u,m){return u&&u.length&&m&&m.length?Ka(u,m):u}var Om=gl(function(u,m){var C=null==u?0:u.length,q=Ou(u,m);return Vs(u,wr(m,function(Ie){return fo(Ie,C)?+Ie:Ie}).sort(rc)),q});function gf(u){return null==u?u:Br.call(u)}var Bm=Mr(function(u){return Ya(Is(u,1,No,!0))}),C_=Mr(function(u){var m=Lo(u);return No(m)&&(m=r),Ya(Is(u,1,No,!0),zi(m,2))}),Vm=Mr(function(u){var m=Lo(u);return m="function"==typeof m?m:r,Ya(Is(u,1,No,!0),r,m)});function Kh(u){if(!u||!u.length)return[];var m=0;return u=Yr(u,function(C){if(No(C))return m=hr(C.length,m),!0}),j(m,function(C){return wr(u,Ee(C))})}function Xh(u,m){if(!u||!u.length)return[];var C=Kh(u);return null==m?C:wr(C,function(q){return Fr(m,r,q)})}var D_=Mr(function(u,m){return No(u)?wc(u,m):[]}),x_=Mr(function(u){return hl(Yr(u,No))}),Um=Mr(function(u){var m=Lo(u);return No(m)&&(m=r),hl(Yr(u,No),zi(m,2))}),vf=Mr(function(u){var m=Lo(u);return m="function"==typeof m?m:r,hl(Yr(u,No),r,m)}),$m=Mr(Kh),Hm=Mr(function(u){var m=u.length,C=m>1?u[m-1]:r;return C="function"==typeof C?(u.pop(),C):r,Xh(u,C)});function bf(u){var m=$e(u);return m.__chain__=!0,m}function Ef(u,m){return m(u)}var Gm=gl(function(u){var m=u.length,C=m?u[0]:0,q=this.__wrapped__,Ie=function(Ze){return Ou(Ze,u)};return!(m>1||this.__actions__.length)&&q instanceof li&&fo(C)?((q=q.slice(C,+C+(m?1:0))).__actions__.push({func:Ef,args:[Ie],thisArg:r}),new Qo(q,this.__chain__).thru(function(Ze){return m&&!Ze.length&&Ze.push(r),Ze})):this.thru(Ie)}),Cf=sc(function(u,m,C){Ir.call(u,C)?++u[C]:cl(u,C,1)}),Qh=Dm(ff),xf=Dm(pd);function ou(u,m){return(mr(u)?Zr:Bl)(u,zi(m,3))}function su(u,m){return(mr(u)?ja:Zs)(u,zi(m,3))}var wf=sc(function(u,m,C){Ir.call(u,C)?u[C].push(m):cl(u,C,[m])}),Jh=Mr(function(u,m,C){var q=-1,Ie="function"==typeof m,Ze=ra(u)?un(u.length):[];return Bl(u,function(vt){Ze[++q]=Ie?Fr(m,vt,C):Sc(vt,m,C)}),Ze}),au=sc(function(u,m,C){cl(u,C,m)});function Sf(u,m){return(mr(u)?wr:_h)(u,zi(m,3))}var M_=sc(function(u,m,C){u[C?0:1].push(m)},function(){return[[],[]]}),O_=Mr(function(u,m){if(null==u)return[];var C=m.length;return C>1&&Mo(u,m[0],m[1])?m=[]:C>2&&Mo(m[0],m[1],m[2])&&(m=[m[0]]),ic(u,Is(m,1),[])}),qh=dn||function(){return Xr.Date.now()};function _d(u,m,C){return m=C?r:m,Pa(u,128,r,r,r,r,m=u&&null==m?u.length:m)}function Qm(u,m){var C;if("function"!=typeof m)throw new Po(A);return u=Er(u),function(){return--u>0&&(C=m.apply(this,arguments)),u<=1&&(m=r),C}}var vd=Mr(function(u,m,C){var q=1;if(C.length){var Ie=Gn(C,Fa(vd));q|=32}return Pa(u,q,m,C,Ie)}),Mf=Mr(function(u,m,C){var q=3;if(C.length){var Ie=Gn(C,Fa(Mf));q|=32}return Pa(m,q,u,C,Ie)});function If(u,m,C){var q,Ie,Ze,vt,At,Jt,Nn=0,Vn=!1,zn=!1,mi=!0;if("function"!=typeof u)throw new Po(A);function Fi(s){var l=q,h=Ie;return q=Ie=r,Nn=s,vt=u.apply(h,l)}function Xi(s){var l=s-Jt;return Jt===r||l>=m||l<0||zn&&s-Nn>=Ze}function nr(){var s=qh();if(Xi(s))return Ar(s);At=Ja(nr,function Dr(s){var _=m-(s-Jt);return zn?$r(_,Ze-(s-Nn)):_}(s))}function Ar(s){return At=r,mi&&q?Fi(s):(q=Ie=r,vt)}function c(){var s=qh(),l=Xi(s);if(q=arguments,Ie=this,Jt=s,l){if(At===r)return function Ki(s){return Nn=s,At=Ja(nr,m),Vn?Fi(s):vt}(Jt);if(zn)return ao(At),At=Ja(nr,m),Fi(Jt)}return At===r&&(At=Ja(nr,m)),vt}return m=Da(m)||0,Io(C)&&(Vn=!!C.leading,Ze=(zn="maxWait"in C)?hr(Da(C.maxWait)||0,m):Ze,mi="trailing"in C?!!C.trailing:mi),c.cancel=function xa(){At!==r&&ao(At),Nn=0,q=Jt=Ie=At=r},c.flush=function o(){return At===r?vt:Ar(qh())},c}var kf=Mr(function(u,m){return mm(u,1,m)}),Af=Mr(function(u,m,C){return mm(u,Da(m)||0,C)});function cu(u,m){if("function"!=typeof u||null!=m&&"function"!=typeof m)throw new Po(A);var C=function(){var q=arguments,Ie=m?m.apply(this,q):q[0],Ze=C.cache;if(Ze.has(Ie))return Ze.get(Ie);var vt=u.apply(this,q);return C.cache=Ze.set(Ie,vt)||Ze,vt};return C.cache=new(cu.Cache||wl),C}function du(u){if("function"!=typeof u)throw new Po(A);return function(){var m=arguments;switch(m.length){case 0:return!u.call(this);case 1:return!u.call(this,m[0]);case 2:return!u.call(this,m[0],m[1]);case 3:return!u.call(this,m[0],m[1],m[2])}return!u.apply(this,m)}}cu.Cache=wl;var tp=ps(function(u,m){var C=(m=1==m.length&&mr(m[0])?wr(m[0],te(zi())):wr(Is(m,1),te(zi()))).length;return Mr(function(q){for(var Ie=-1,Ze=$r(q.length,C);++Ie<Ze;)q[Ie]=m[Ie].call(this,q[Ie]);return Fr(u,this,q)})}),dc=Mr(function(u,m){var C=Gn(m,Fa(dc));return Pa(u,32,r,m,C)}),Rf=Mr(function(u,m){var C=Gn(m,Fa(Rf));return Pa(u,64,r,m,C)}),Jr=gl(function(u,m){return Pa(u,256,r,r,r,m)});function Za(u,m){return u===m||u!=u&&m!=m}var vl=ad(Ru),zl=ad(function(u,m){return u>=m}),pc=Tc(function(){return arguments}())?Tc:function(u){return Bo(u)&&Ir.call(u,"callee")&&!Rl.call(u,"callee")},mr=un.isArray,Ff=ua?te(ua):function Fu(u){return Bo(u)&&eo(u)==jn};function ra(u){return null!=u&&Ed(u.length)&&!bl(u)}function No(u){return Bo(u)&&ra(u)}var Il=Lr||Xl,eg=So?te(So):function td(u){return Bo(u)&&eo(u)==Pt};function qa(u){if(!Bo(u))return!1;var m=eo(u);return m==ei||"[object DOMException]"==m||"string"==typeof u.message&&"string"==typeof u.name&&!Cd(u)}function bl(u){if(!Io(u))return!1;var m=eo(u);return m==gn||m==pi||"[object AsyncFunction]"==m||"[object Proxy]"==m}function Lf(u){return"number"==typeof u&&u==Er(u)}function Ed(u){return"number"==typeof u&&u>-1&&u%1==0&&u<=jt}function Io(u){var m=typeof u;return null!=u&&("object"==m||"function"==m)}function Bo(u){return null!=u&&"object"==typeof u}var rg=Uo?te(Uo):function Wa(u){return Bo(u)&&os(u)==hi};function ap(u){return"number"==typeof u||Bo(u)&&eo(u)==xi}function Cd(u){if(!Bo(u)||eo(u)!=ki)return!1;var m=Js(u);if(null===m)return!0;var C=Ir.call(m,"constructor")&&m.constructor;return"function"==typeof C&&C instanceof C&&Ys.call(C)==Qs}var Vf=Hr?te(Hr):function g_(u){return Bo(u)&&eo(u)==an},jf=Ps?te(Ps):function vm(u){return Bo(u)&&os(u)==me};function Dd(u){return"string"==typeof u||!mr(u)&&Bo(u)&&eo(u)==Ue}function Ca(u){return"symbol"==typeof u||Bo(u)&&eo(u)==st}var Uc=nl?te(nl):function Fd(u){return Bo(u)&&Ed(u.length)&&!!xr[eo(u)]},Uf=ad(Lu),sg=ad(function(u,m){return u<=m});function Wl(u){if(!u)return[];if(ra(u))return Dd(u)?Si(u):ms(u);if(xe&&u[xe])return function ri(Nt){for(var pn,un=[];!(pn=Nt.next()).done;)un.push(pn.value);return un}(u[xe]());var m=os(u);return(m==hi?ai:m==me?vi:Kc)(u)}function yl(u){return u?(u=Da(u))===qt||u===-qt?17976931348623157e292*(u<0?-1:1):u==u?u:0:0===u?u:0}function Er(u){var m=yl(u),C=m%1;return m==m?C?m-C:m:0}function pu(u){return u?xc(Er(u),0,ut):0}function Da(u){if("number"==typeof u)return u;if(Ca(u))return NaN;if(Io(u)){var m="function"==typeof u.valueOf?u.valueOf():u;u=Io(m)?m+"":m}if("string"!=typeof u)return 0===u?u:+u;u=P(u);var C=gr.test(u);return C||Oi.test(u)?da(u.slice(2),C?2:8):Bi.test(u)?NaN:+u}function dp(u){return ba(u,oa(u))}function zr(u){return null==u?"":Us(u)}var lg=kc(function(u,m){if(Hl(m)||ra(m))ba(m,_s(m),u);else for(var C in m)Ir.call(m,C)&&ll(u,C,m[C])}),mu=kc(function(u,m){ba(m,oa(m),u)}),$f=kc(function(u,m,C,q){ba(m,oa(m),u,q)}),L_=kc(function(u,m,C,q){ba(m,_s(m),u,q)}),$c=gl(Ou),up=Mr(function(u,m){u=Gi(u);var C=-1,q=m.length,Ie=q>2?m[2]:r;for(Ie&&Mo(m[0],m[1],Ie)&&(q=1);++C<q;)for(var Ze=m[C],vt=oa(Ze),At=-1,Jt=vt.length;++At<Jt;){var Nn=vt[At],Vn=u[Nn];(Vn===r||Za(Vn,Ta[Nn])&&!Ir.call(u,Nn))&&(u[Nn]=Ze[Nn])}return u}),dg=Mr(function(u){return u.push(r,Qu),Fr($s,r,u)});function pp(u,m,C){var q=null==u?r:za(u,m);return q===r?C:q}function xd(u,m){return null!=u&&qu(u,m,gm)}var B_=lc(function(u,m,C){null!=m&&"function"!=typeof m.toString&&(m=pa.call(m)),u[m]=C},sa(ks)),V_=lc(function(u,m,C){null!=m&&"function"!=typeof m.toString&&(m=pa.call(m)),Ir.call(u,m)?u[m].push(C):u[m]=[C]},zi),j_=Mr(Sc);function _s(u){return ra(u)?ui(u):Ld(u)}function oa(u){return ra(u)?ui(u,!0):function nc(u){if(!Io(u))return function ya(u){var m=[];if(null!=u)for(var C in Gi(u))m.push(C);return m}(u);var m=Hl(u),C=[];for(var q in u)"constructor"==q&&(m||!Ir.call(u,q))||C.push(q);return C}(u)}var Gc=kc(function(u,m,C){hs(u,m,C)}),$s=kc(function(u,m,C,q){hs(u,m,C,q)}),zc=gl(function(u,m){var C={};if(null==u)return C;var q=!1;m=wr(m,function(Ze){return Ze=Tl(Ze,u),q||(q=Ze.length>1),Ze}),ba(u,Qd(u),C),q&&(C=Ga(C,7,Kd));for(var Ie=m.length;Ie--;)$u(C,m[Ie]);return C}),vg=gl(function(u,m){return null==u?{}:function Ul(u,m){return Vr(u,m,function(C,q){return xd(u,q)})}(u,m)});function mp(u,m){if(null==u)return{};var C=wr(Qd(u),function(q){return[q]});return m=zi(m),Vr(u,C,function(q,Ie){return m(q,Ie[0])})}var kl=Ch(_s),gp=Ch(oa);function Kc(u){return null==u?[]:de(u,_s(u))}var vp=Oc(function(u,m,C){return m=m.toLowerCase(),u+(C?yg(m):m)});function yg(u){return yu(zr(u).toLowerCase())}function Xc(u){return(u=zr(u))&&u.replace(Or,hn).replace(wi,"")}var zf=Oc(function(u,m,C){return u+(C?"-":"")+m.toLowerCase()}),Cg=Oc(function(u,m,C){return u+(C?" ":"")+m.toLowerCase()}),Dg=Hd("toLowerCase"),_u=Oc(function(u,m,C){return u+(C?"_":"")+m.toLowerCase()}),Tg=Oc(function(u,m,C){return u+(C?" ":"")+yu(m)}),kg=Oc(function(u,m,C){return u+(C?" ":"")+m.toUpperCase()}),yu=Hd("toUpperCase");function Kf(u,m,C){return u=zr(u),(m=C?r:m)===r?function ii(Nt){return Ko.test(Nt)}(u)?function oo(Nt){return Nt.match(io)||[]}(u):function cs(Nt){return Nt.match(ze)||[]}(u):u.match(m)||[]}var Xf=Mr(function(u,m){try{return Fr(u,r,m)}catch(C){return qa(C)?C:new ji(C)}}),Yf=gl(function(u,m){return Zr(m,function(C){C=Ml(C),cl(u,C,vd(u[C],u))}),u});function sa(u){return function(){return u}}var Qf=Gd(),Kl=Gd(!0);function ks(u){return u}function Eu(u){return bm("function"==typeof u?u:Ga(u,1))}var Tp=Mr(function(u,m){return function(C){return Sc(C,u,m)}}),Ag=Mr(function(u,m){return function(C){return Sc(u,C,m)}});function Jf(u,m,C){var q=_s(m),Ie=Rd(m,q);null==C&&(!Io(m)||!Ie.length&&q.length)&&(C=m,m=u,u=this,Ie=Rd(m,_s(m)));var Ze=!(Io(C)&&"chain"in C&&!C.chain),vt=bl(u);return Zr(Ie,function(At){var Jt=m[At];u[At]=Jt,vt&&(u.prototype[At]=function(){var Nn=this.__chain__;if(Ze||Nn){var Vn=u(this.__wrapped__);return(Vn.__actions__=ms(this.__actions__)).push({func:Jt,args:arguments,thisArg:u}),Vn.__chain__=Nn,Vn}return Jt.apply(u,Fs([this.value()],arguments))})}),u}function Cu(){}var ur=$l(wr),Ip=$l(Ss),kp=$l(qi);function _c(u){return tf(u)?Ee(Ml(u)):function Nu(u){return function(m){return za(m,u)}}(u)}var Ap=xm(),Rg=xm(!0);function Qc(){return[]}function Xl(){return!1}var Rp=Rc(function(u,m){return u+m},0),ih=Yu("ceil"),Pg=Rc(function(u,m){return u/m},1),rh=Yu("floor"),Lp=Rc(function(u,m){return u*m},1),Np=Yu("round"),Bg=Rc(function(u,m){return u-m},0);return $e.after=function Nv(u,m){if("function"!=typeof m)throw new Po(A);return u=Er(u),function(){if(--u<1)return m.apply(this,arguments)}},$e.ary=_d,$e.assign=lg,$e.assignIn=mu,$e.assignInWith=$f,$e.assignWith=L_,$e.at=$c,$e.before=Qm,$e.bind=vd,$e.bindAll=Yf,$e.bindKey=Mf,$e.castArray=function bd(){if(!arguments.length)return[];var u=arguments[0];return mr(u)?u:[u]},$e.chain=bf,$e.chunk=function Nc(u,m,C){m=(C?Mo(u,m,C):m===r)?1:hr(Er(m),0);var q=null==u?0:u.length;if(!q||m<1)return[];for(var Ie=0,Ze=0,vt=un(di(q/m));Ie<q;)vt[Ze++]=Ra(u,Ie,Ie+=m);return vt},$e.compact=function ud(u){for(var m=-1,C=null==u?0:u.length,q=0,Ie=[];++m<C;){var Ze=u[m];Ze&&(Ie[q++]=Ze)}return Ie},$e.concat=function df(){var u=arguments.length;if(!u)return[];for(var m=un(u-1),C=arguments[0],q=u;q--;)m[q-1]=arguments[q];return Fs(mr(C)?ms(C):[C],Is(m,1))},$e.cond=function gc(u){var m=null==u?0:u.length,C=zi();return u=m?wr(u,function(q){if("function"!=typeof q[1])throw new Po(A);return[C(q[0]),q[1]]}):[],Mr(function(q){for(var Ie=-1;++Ie<m;){var Ze=u[Ie];if(Fr(Ze[0],this,q))return Fr(Ze[1],this,q)}})},$e.conforms=function Sd(u){return function pm(u){var m=_s(u);return function(C){return hh(C,u,m)}}(Ga(u,1))},$e.constant=sa,$e.countBy=Cf,$e.create=function cg(u,m){var C=Yo(u);return null==m?C:Ha(C,m)},$e.curry=function Jm(u,m,C){var q=Pa(u,8,r,r,r,r,r,m=C?r:m);return q.placeholder=Jm.placeholder,q},$e.curryRight=function ep(u,m,C){var q=Pa(u,16,r,r,r,r,r,m=C?r:m);return q.placeholder=ep.placeholder,q},$e.debounce=If,$e.defaults=up,$e.defaultsDeep=dg,$e.defer=kf,$e.delay=Af,$e.difference=Im,$e.differenceBy=uf,$e.differenceWith=_l,$e.drop=function Rh(u,m,C){var q=null==u?0:u.length;return q?Ra(u,(m=C||m===r?1:Er(m))<0?0:m,q):[]},$e.dropRight=function fd(u,m,C){var q=null==u?0:u.length;return q?Ra(u,0,(m=q-(m=C||m===r?1:Er(m)))<0?0:m):[]},$e.dropRightWhile=function hd(u,m){return u&&u.length?Mc(u,zi(m,3),!0,!0):[]},$e.dropWhile=function km(u,m){return u&&u.length?Mc(u,zi(m,3),!0):[]},$e.fill=function Ph(u,m,C,q){var Ie=null==u?0:u.length;return Ie?(C&&"number"!=typeof C&&Mo(u,m,C)&&(C=0,q=Ie),function mh(u,m,C,q){var Ie=u.length;for((C=Er(C))<0&&(C=-C>Ie?0:Ie+C),(q=q===r||q>Ie?Ie:Er(q))<0&&(q+=Ie),q=C>q?0:pu(q);C<q;)u[C++]=m;return u}(u,m,C,q)):[]},$e.filter=function Vc(u,m){return(mr(u)?Yr:gh)(u,zi(m,3))},$e.flatMap=function gd(u,m){return Is(Sf(u,m),1)},$e.flatMapDeep=function ru(u,m){return Is(Sf(u,m),qt)},$e.flatMapDepth=function jc(u,m,C){return C=C===r?1:Er(C),Is(Sf(u,m),C)},$e.flatten=md,$e.flattenDeep=function hf(u){return null!=u&&u.length?Is(u,qt):[]},$e.flattenDepth=function Fh(u,m){return null!=u&&u.length?Is(u,m=m===r?1:Er(m)):[]},$e.flip=function Zm(u){return Pa(u,512)},$e.flow=Qf,$e.flowRight=Kl,$e.fromPairs=function Lh(u){for(var m=-1,C=null==u?0:u.length,q={};++m<C;){var Ie=u[m];q[Ie[0]]=Ie[1]}return q},$e.functions=function mg(u){return null==u?[]:Rd(u,_s(u))},$e.functionsIn=function Hf(u){return null==u?[]:Rd(u,oa(u))},$e.groupBy=wf,$e.initial=function Nh(u){return null!=u&&u.length?Ra(u,0,-1):[]},$e.intersection=gs,$e.intersectionBy=ia,$e.intersectionWith=zo,$e.invert=B_,$e.invertBy=V_,$e.invokeMap=Jh,$e.iteratee=Eu,$e.keyBy=au,$e.keys=_s,$e.keysIn=oa,$e.map=Sf,$e.mapKeys=function gg(u,m){var C={};return m=zi(m,3),qs(u,function(q,Ie,Ze){cl(C,m(q,Ie,Ze),q)}),C},$e.mapValues=function Hc(u,m){var C={};return m=zi(m,3),qs(u,function(q,Ie,Ze){cl(C,Ie,m(q,Ie,Ze))}),C},$e.matches=function Yc(u){return fl(Ga(u,1))},$e.matchesProperty=function Sp(u,m){return nd(u,Ga(m,1))},$e.memoize=cu,$e.merge=Gc,$e.mergeWith=$s,$e.method=Tp,$e.methodOf=Ag,$e.mixin=Jf,$e.negate=du,$e.nthArg=function Mp(u){return u=Er(u),Mr(function(m){return pr(m,u)})},$e.omit=zc,$e.omitBy=function _g(u,m){return mp(u,du(zi(m)))},$e.once=function Of(u){return Qm(2,u)},$e.orderBy=function Xm(u,m,C,q){return null==u?[]:(mr(m)||(m=null==m?[]:[m]),mr(C=q?r:C)||(C=null==C?[]:[C]),ic(u,m,C))},$e.over=ur,$e.overArgs=tp,$e.overEvery=Ip,$e.overSome=kp,$e.partial=dc,$e.partialRight=Rf,$e.partition=M_,$e.pick=vg,$e.pickBy=mp,$e.property=_c,$e.propertyOf=function Zf(u){return function(m){return null==u?r:za(u,m)}},$e.pull=Vh,$e.pullAll=mf,$e.pullAllBy=function Am(u,m,C){return u&&u.length&&m&&m.length?Ka(u,m,zi(C,2)):u},$e.pullAllWith=function cr(u,m,C){return u&&u.length&&m&&m.length?Ka(u,m,r,C):u},$e.pullAt=Om,$e.range=Ap,$e.rangeRight=Rg,$e.rearg=Jr,$e.reject=function xo(u,m){return(mr(u)?Yr:gh)(u,du(zi(m,3)))},$e.remove=function jh(u,m){var C=[];if(!u||!u.length)return C;var q=-1,Ie=[],Ze=u.length;for(m=zi(m,3);++q<Ze;){var vt=u[q];m(vt,q,u)&&(C.push(vt),Ie.push(q))}return Vs(u,Ie),C},$e.rest=function R_(u,m){if("function"!=typeof u)throw new Po(A);return Mr(u,m=m===r?m:Er(m))},$e.reverse=gf,$e.sampleSize=function A_(u,m,C){return m=(C?Mo(u,m,C):m===r)?1:Er(m),(mr(u)?lr:js)(u,m)},$e.set=function Wc(u,m,C){return null==u?u:ea(u,m,C)},$e.setWith=function ss(u,m,C,q){return q="function"==typeof q?q:r,null==u?u:ea(u,m,C,q)},$e.shuffle=function lu(u){return(mr(u)?Do:Sl)(u)},$e.slice=function Uh(u,m,C){var q=null==u?0:u.length;return q?(C&&"number"!=typeof C&&Mo(u,m,C)?(m=0,C=q):(m=null==m?0:Er(m),C=C===r?q:Er(C)),Ra(u,m,C)):[]},$e.sortBy=O_,$e.sortedUniq=function Nm(u){return u&&u.length?Bd(u):[]},$e.sortedUniqBy=function _f(u,m){return u&&u.length?Bd(u,zi(m,2)):[]},$e.split=function vu(u,m,C){return C&&"number"!=typeof C&&Mo(u,m,C)&&(m=C=r),(C=C===r?ut:C>>>0)?(u=zr(u))&&("string"==typeof m||null!=m&&!Vf(m))&&!(m=Us(m))&&Rn(u)?ta(Si(u),0,C):u.split(m,C):[]},$e.spread=function uc(u,m){if("function"!=typeof u)throw new Po(A);return m=null==m?0:hr(Er(m),0),Mr(function(C){var q=C[m],Ie=ta(C,0,m);return q&&Fs(Ie,q),Fr(u,this,Ie)})},$e.tail=function $h(u){var m=null==u?0:u.length;return m?Ra(u,1,m):[]},$e.take=function Hh(u,m,C){return u&&u.length?Ra(u,0,(m=C||m===r?1:Er(m))<0?0:m):[]},$e.takeRight=function Gh(u,m,C){var q=null==u?0:u.length;return q?Ra(u,(m=q-(m=C||m===r?1:Er(m)))<0?0:m,q):[]},$e.takeRightWhile=function zh(u,m){return u&&u.length?Mc(u,zi(m,3),!1,!0):[]},$e.takeWhile=function E_(u,m){return u&&u.length?Mc(u,zi(m,3)):[]},$e.tap=function yf(u,m){return m(u),u},$e.throttle=function fc(u,m,C){var q=!0,Ie=!0;if("function"!=typeof u)throw new Po(A);return Io(C)&&(q="leading"in C?!!C.leading:q,Ie="trailing"in C?!!C.trailing:Ie),If(u,m,{leading:q,maxWait:m,trailing:Ie})},$e.thru=Ef,$e.toArray=Wl,$e.toPairs=kl,$e.toPairsIn=gp,$e.toPath=function th(u){return mr(u)?wr(u,Ml):Ca(u)?[u]:ms(dd(zr(u)))},$e.toPlainObject=dp,$e.transform=function Bv(u,m,C){var q=mr(u),Ie=q||Il(u)||Uc(u);if(m=zi(m,4),null==C){var Ze=u&&u.constructor;C=Ie?q?new Ze:[]:Io(u)&&bl(Ze)?Yo(Js(u)):{}}return(Ie?Zr:qs)(u,function(vt,At,Jt){return m(C,vt,At,Jt)}),C},$e.unary=function np(u){return _d(u,1)},$e.union=Bm,$e.unionBy=C_,$e.unionWith=Vm,$e.uniq=function jm(u){return u&&u.length?Ya(u):[]},$e.uniqBy=function Fv(u,m){return u&&u.length?Ya(u,zi(m,2)):[]},$e.uniqWith=function Wh(u,m){return m="function"==typeof m?m:r,u&&u.length?Ya(u,r,m):[]},$e.unset=function U_(u,m){return null==u||$u(u,m)},$e.unzip=Kh,$e.unzipWith=Xh,$e.update=function Vv(u,m,C){return null==u?u:Hu(u,m,rd(C))},$e.updateWith=function jv(u,m,C,q){return q="function"==typeof q?q:r,null==u?u:Hu(u,m,rd(C),q)},$e.values=Kc,$e.valuesIn=function bg(u){return null==u?[]:de(u,oa(u))},$e.without=D_,$e.words=Kf,$e.wrap=function ip(u,m){return dc(rd(m),u)},$e.xor=x_,$e.xorBy=Um,$e.xorWith=vf,$e.zip=$m,$e.zipObject=function Gl(u,m){return jd(u||[],m||[],ll)},$e.zipObjectDeep=function Yh(u,m){return jd(u||[],m||[],ea)},$e.zipWith=Hm,$e.entries=kl,$e.entriesIn=gp,$e.extend=mu,$e.extendWith=$f,Jf($e,$e),$e.add=Rp,$e.attempt=Xf,$e.camelCase=vp,$e.capitalize=yg,$e.ceil=ih,$e.clamp=function Uv(u,m,C){return C===r&&(C=m,m=r),C!==r&&(C=(C=Da(C))==C?C:0),m!==r&&(m=(m=Da(m))==m?m:0),xc(Da(u),m,C)},$e.clone=function hc(u){return Ga(u,4)},$e.cloneDeep=function uu(u){return Ga(u,5)},$e.cloneDeepWith=function rp(u,m){return Ga(u,5,m="function"==typeof m?m:r)},$e.cloneWith=function Ea(u,m){return Ga(u,4,m="function"==typeof m?m:r)},$e.conformsTo=function Pf(u,m){return null==m||hh(u,m,_s(m))},$e.deburr=Xc,$e.defaultTo=function Td(u,m){return null==u||u!=u?m:u},$e.divide=Pg,$e.endsWith=function bp(u,m,C){u=zr(u),m=Us(m);var q=u.length,Ie=C=C===r?q:xc(Er(C),0,q);return(C-=m.length)>=0&&u.slice(C,Ie)==m},$e.eq=Za,$e.escape=function Eg(u){return(u=zr(u))&&Re.test(u)?u.replace(Cn,$n):u},$e.escapeRegExp=function yp(u){return(u=zr(u))&&Qe.test(u)?u.replace(Dt,"\\$&"):u},$e.every=function Df(u,m,C){var q=mr(u)?Ss:ph;return C&&Mo(u,m,C)&&(m=r),q(u,zi(m,3))},$e.find=Qh,$e.findIndex=ff,$e.findKey=function fp(u,m){return ds(u,zi(m,3),qs)},$e.findLast=xf,$e.findLastIndex=pd,$e.findLastKey=function ug(u,m){return ds(u,zi(m,3),es)},$e.floor=rh,$e.forEach=ou,$e.forEachRight=su,$e.forIn=function hp(u,m){return null==u?u:Gr(u,zi(m,3),oa)},$e.forInRight=function fg(u,m){return null==u?u:Vl(u,zi(m,3),oa)},$e.forOwn=function hg(u,m){return u&&qs(u,zi(m,3))},$e.forOwnRight=function pg(u,m){return u&&es(u,zi(m,3))},$e.get=pp,$e.gt=vl,$e.gte=zl,$e.has=function N_(u,m){return null!=u&&qu(u,m,Pu)},$e.hasIn=xd,$e.head=pf,$e.identity=ks,$e.includes=function Lv(u,m,C,q){u=ra(u)?u:Kc(u),C=C&&!q?Er(C):0;var Ie=u.length;return C<0&&(C=hr(Ie+C,0)),Dd(u)?C<=Ie&&u.indexOf(m,C)>-1:!!Ie&&Ao(u,m,C)>-1},$e.indexOf=function nu(u,m,C){var q=null==u?0:u.length;if(!q)return-1;var Ie=null==C?0:Er(C);return Ie<0&&(Ie=hr(q+Ie,0)),Ao(u,m,Ie)},$e.inRange=function gu(u,m,C){return m=yl(m),C===r?(C=m,m=0):C=yl(C),function dl(u,m,C){return u>=$r(m,C)&&u<hr(m,C)}(u=Da(u),m,C)},$e.invoke=j_,$e.isArguments=pc,$e.isArray=mr,$e.isArrayBuffer=Ff,$e.isArrayLike=ra,$e.isArrayLikeObject=No,$e.isBoolean=function qm(u){return!0===u||!1===u||Bo(u)&&eo(u)==et},$e.isBuffer=Il,$e.isDate=eg,$e.isElement=function tg(u){return Bo(u)&&1===u.nodeType&&!Cd(u)},$e.isEmpty=function ng(u){if(null==u)return!0;if(ra(u)&&(mr(u)||"string"==typeof u||"function"==typeof u.splice||Il(u)||Uc(u)||pc(u)))return!u.length;var m=os(u);if(m==hi||m==me)return!u.size;if(Hl(u))return!Ld(u).length;for(var C in u)if(Ir.call(u,C))return!1;return!0},$e.isEqual=function ig(u,m){return jl(u,m)},$e.isEqualWith=function fu(u,m,C){var q=(C="function"==typeof C?C:r)?C(u,m):r;return q===r?jl(u,m,r,C):!!q},$e.isError=qa,$e.isFinite=function yd(u){return"number"==typeof u&&dr(u)},$e.isFunction=bl,$e.isInteger=Lf,$e.isLength=Ed,$e.isMap=rg,$e.isMatch=function Nf(u,m){return u===m||Wi(u,m,Jd(m))},$e.isMatchWith=function Bf(u,m,C){return C="function"==typeof C?C:r,Wi(u,m,Jd(m),C)},$e.isNaN=function P_(u){return ap(u)&&u!=+u},$e.isNative=function F_(u){if(Sh(u))throw new ji("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return uo(u)},$e.isNil=function sp(u){return null==u},$e.isNull=function op(u){return null===u},$e.isNumber=ap,$e.isObject=Io,$e.isObjectLike=Bo,$e.isPlainObject=Cd,$e.isRegExp=Vf,$e.isSafeInteger=function og(u){return Lf(u)&&u>=-jt&&u<=jt},$e.isSet=jf,$e.isString=Dd,$e.isSymbol=Ca,$e.isTypedArray=Uc,$e.isUndefined=function lp(u){return u===r},$e.isWeakMap=function hu(u){return Bo(u)&&os(u)==Lt},$e.isWeakSet=function cp(u){return Bo(u)&&"[object WeakSet]"==eo(u)},$e.join=function Bh(u,m){return null==u?"":so.call(u,m)},$e.kebabCase=zf,$e.last=Lo,$e.lastIndexOf=function Wo(u,m,C){var q=null==u?0:u.length;if(!q)return-1;var Ie=q;return C!==r&&(Ie=(Ie=Er(C))<0?hr(q+Ie,0):$r(Ie,q-1)),m==m?function bi(Nt,pn,un){for(var gi=un+1;gi--;)if(Nt[gi]===pn)return gi;return gi}(u,m,Ie):Ls(u,Ks,Ie,!0)},$e.lowerCase=Cg,$e.lowerFirst=Dg,$e.lt=Uf,$e.lte=sg,$e.max=function Du(u){return u&&u.length?ed(u,ks,Ru):r},$e.maxBy=function Pp(u,m){return u&&u.length?ed(u,zi(m,2),Ru):r},$e.mean=function Fp(u){return fe(u,ks)},$e.meanBy=function Fg(u,m){return fe(u,zi(m,2))},$e.min=function Lg(u){return u&&u.length?ed(u,ks,Lu):r},$e.minBy=function Ng(u,m){return u&&u.length?ed(u,zi(m,2),Lu):r},$e.stubArray=Qc,$e.stubFalse=Xl,$e.stubObject=function qf(){return{}},$e.stubString=function Md(){return""},$e.stubTrue=function Op(){return!0},$e.multiply=Lp,$e.nth=function Bc(u,m){return u&&u.length?pr(u,Er(m)):r},$e.noConflict=function Og(){return Xr._===this&&(Xr._=Ia),this},$e.noop=Cu,$e.now=qh,$e.pad=function Ep(u,m,C){u=zr(u);var q=(m=Er(m))?Pi(u):0;if(!m||q>=m)return u;var Ie=(m-q)/2;return Pc(Cr(Ie),C)+u+Pc(di(Ie),C)},$e.padEnd=function xg(u,m,C){u=zr(u);var q=(m=Er(m))?Pi(u):0;return m&&q<m?u+Pc(m-q,C):u},$e.padStart=function wg(u,m,C){u=zr(u);var q=(m=Er(m))?Pi(u):0;return m&&q<m?Pc(m-q,C)+u:u},$e.parseInt=function Sg(u,m,C){return C||null==m?m=0:m&&(m=+m),Yn(zr(u).replace(Mt,""),m||0)},$e.random=function _p(u,m,C){if(C&&"boolean"!=typeof C&&Mo(u,m,C)&&(m=C=r),C===r&&("boolean"==typeof m?(C=m,m=r):"boolean"==typeof u&&(C=u,u=r)),u===r&&m===r?(u=0,m=1):(u=yl(u),m===r?(m=u,u=0):m=yl(m)),u>m){var q=u;u=m,m=q}if(C||u%1||m%1){var Ie=Ci();return $r(u+Ie*(m-u+Xo("1e-"+((Ie+"").length-1))),m)}return id(u,m)},$e.reduce=function I_(u,m,C){var q=mr(u)?fa:Ve,Ie=arguments.length<3;return q(u,zi(m,4),C,Ie,Bl)},$e.reduceRight=function Tf(u,m,C){var q=mr(u)?Ho:Ve,Ie=arguments.length<3;return q(u,zi(m,4),C,Ie,Zs)},$e.repeat=function Cp(u,m,C){return m=(C?Mo(u,m,C):m===r)?1:Er(m),Vu(zr(u),m)},$e.replace=function wd(){var u=arguments,m=zr(u[0]);return u.length<3?m:m.replace(u[1],u[2])},$e.result=function Gf(u,m,C){var q=-1,Ie=(m=Tl(m,u)).length;for(Ie||(Ie=1,u=r);++q<Ie;){var Ze=null==u?r:u[Ml(m[q])];Ze===r&&(q=Ie,Ze=C),u=bl(Ze)?Ze.call(u):Ze}return u},$e.round=Np,$e.runInContext=Nt,$e.sample=function k_(u){return(mr(u)?ar:vh)(u)},$e.size=function Ym(u){if(null==u)return 0;if(ra(u))return Dd(u)?Pi(u):u.length;var m=os(u);return m==hi||m==me?u.size:Ld(u).length},$e.snakeCase=_u,$e.some=function Zh(u,m,C){var q=mr(u)?qi:bh;return C&&Mo(u,m,C)&&(m=r),q(u,zi(m,3))},$e.sortedIndex=function Rm(u,m){return Nd(u,m)},$e.sortedIndexBy=function Pm(u,m,C){return Uu(u,m,zi(C,2))},$e.sortedIndexOf=function b_(u,m){var C=null==u?0:u.length;if(C){var q=Nd(u,m);if(q<C&&Za(u[q],m))return q}return-1},$e.sortedLastIndex=function y_(u,m){return Nd(u,m,!0)},$e.sortedLastIndexBy=function Fm(u,m,C){return Uu(u,m,zi(C,2),!0)},$e.sortedLastIndexOf=function Lm(u,m){if(null!=u&&u.length){var q=Nd(u,m,!0)-1;if(Za(u[q],m))return q}return-1},$e.startCase=Tg,$e.startsWith=function Mg(u,m,C){return u=zr(u),C=null==C?0:xc(Er(C),0,u.length),m=Us(m),u.slice(C,C+m.length)==m},$e.subtract=Bg,$e.sum=function Vg(u){return u&&u.length?_i(u,ks):0},$e.sumBy=function aa(u,m){return u&&u.length?_i(u,zi(m,2)):0},$e.template=function Wf(u,m,C){var q=$e.templateSettings;C&&Mo(u,m,C)&&(m=r),u=zr(u),m=$f({},m,q,Wd);var At,Jt,Ie=$f({},m.imports,q.imports,Wd),Ze=_s(Ie),vt=de(Ie,Ze),Nn=0,Vn=m.interpolate||ho,zn="__p += '",mi=Ro((m.escape||ho).source+"|"+Vn.source+"|"+(Vn===ye?An:ho).source+"|"+(m.evaluate||ho).source+"|$","g"),Fi="//# sourceURL="+(Ir.call(m,"sourceURL")?(m.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ws+"]")+"\n";u.replace(mi,function(Xi,nr,Ar,xa,o,c){return Ar||(Ar=xa),zn+=u.slice(Nn,c).replace(jo,Un),nr&&(At=!0,zn+="' +\n__e("+nr+") +\n'"),o&&(Jt=!0,zn+="';\n"+o+";\n__p += '"),Ar&&(zn+="' +\n((__t = ("+Ar+")) == null ? '' : __t) +\n'"),Nn=c+Xi.length,Xi}),zn+="';\n";var Ki=Ir.call(m,"variable")&&m.variable;if(Ki){if(bt.test(Ki))throw new ji("Invalid `variable` option passed into `_.template`")}else zn="with (obj) {\n"+zn+"\n}\n";zn=(Jt?zn.replace(Qi,""):zn).replace(sn,"$1").replace(oi,"$1;"),zn="function("+(Ki||"obj")+") {\n"+(Ki?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(At?", __e = _.escape":"")+(Jt?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+zn+"return __p\n}";var Dr=Xf(function(){return Sr(Ze,Fi+"return "+zn).apply(r,vt)});if(Dr.source=zn,qa(Dr))throw Dr;return Dr},$e.times=function eh(u,m){if((u=Er(u))<1||u>jt)return[];var C=ut,q=$r(u,ut);m=zi(m),u-=ut;for(var Ie=j(q,m);++C<u;)m(C);return Ie},$e.toFinite=yl,$e.toInteger=Er,$e.toLength=pu,$e.toLower=function Dp(u){return zr(u).toLowerCase()},$e.toNumber=Da,$e.toSafeInteger=function ag(u){return u?xc(Er(u),-jt,jt):0===u?u:0},$e.toString=zr,$e.toUpper=function mc(u){return zr(u).toUpperCase()},$e.trim=function xp(u,m,C){if((u=zr(u))&&(C||m===r))return P(u);if(!u||!(m=Us(m)))return u;var q=Si(u),Ie=Si(m);return ta(q,wt(q,Ie),en(q,Ie)+1).join("")},$e.trimEnd=function wp(u,m,C){if((u=zr(u))&&(C||m===r))return u.slice(0,si(u)+1);if(!u||!(m=Us(m)))return u;var q=Si(u);return ta(q,0,en(q,Si(m))+1).join("")},$e.trimStart=function Ig(u,m,C){if((u=zr(u))&&(C||m===r))return u.replace(Mt,"");if(!u||!(m=Us(m)))return u;var q=Si(u);return ta(q,wt(q,Si(m))).join("")},$e.truncate=function $_(u,m){var C=30,q="...";if(Io(m)){var Ie="separator"in m?m.separator:Ie;C="length"in m?Er(m.length):C,q="omission"in m?Us(m.omission):q}var Ze=(u=zr(u)).length;if(Rn(u)){var vt=Si(u);Ze=vt.length}if(C>=Ze)return u;var At=C-Pi(q);if(At<1)return q;var Jt=vt?ta(vt,0,At).join(""):u.slice(0,At);if(Ie===r)return Jt+q;if(vt&&(At+=Jt.length-At),Vf(Ie)){if(u.slice(At).search(Ie)){var Nn,Vn=Jt;for(Ie.global||(Ie=Ro(Ie.source,zr(Di.exec(Ie))+"g")),Ie.lastIndex=0;Nn=Ie.exec(Vn);)var zn=Nn.index;Jt=Jt.slice(0,zn===r?At:zn)}}else if(u.indexOf(Us(Ie),At)!=At){var mi=Jt.lastIndexOf(Ie);mi>-1&&(Jt=Jt.slice(0,mi))}return Jt+q},$e.unescape=function bu(u){return(u=zr(u))&&Dn.test(u)?u.replace(Zt,Vi):u},$e.uniqueId=function nh(u){var m=++Ns;return zr(u)+m},$e.upperCase=kg,$e.upperFirst=yu,$e.each=ou,$e.eachRight=su,$e.first=pf,Jf($e,function(){var u={};return qs($e,function(m,C){Ir.call($e.prototype,C)||(u[C]=m)}),u}(),{chain:!1}),$e.VERSION="4.17.21",Zr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(u){$e[u].placeholder=$e}),Zr(["drop","take"],function(u,m){li.prototype[u]=function(C){C=C===r?1:hr(Er(C),0);var q=this.__filtered__&&!m?new li(this):this.clone();return q.__filtered__?q.__takeCount__=$r(C,q.__takeCount__):q.__views__.push({size:$r(C,ut),type:u+(q.__dir__<0?"Right":"")}),q},li.prototype[u+"Right"]=function(C){return this.reverse()[u](C).reverse()}}),Zr(["filter","map","takeWhile"],function(u,m){var C=m+1,q=1==C||3==C;li.prototype[u]=function(Ie){var Ze=this.clone();return Ze.__iteratees__.push({iteratee:zi(Ie,3),type:C}),Ze.__filtered__=Ze.__filtered__||q,Ze}}),Zr(["head","last"],function(u,m){var C="take"+(m?"Right":"");li.prototype[u]=function(){return this[C](1).value()[0]}}),Zr(["initial","tail"],function(u,m){var C="drop"+(m?"":"Right");li.prototype[u]=function(){return this.__filtered__?new li(this):this[C](1)}}),li.prototype.compact=function(){return this.filter(ks)},li.prototype.find=function(u){return this.filter(u).head()},li.prototype.findLast=function(u){return this.reverse().find(u)},li.prototype.invokeMap=Mr(function(u,m){return"function"==typeof u?new li(this):this.map(function(C){return Sc(C,u,m)})}),li.prototype.reject=function(u){return this.filter(du(zi(u)))},li.prototype.slice=function(u,m){u=Er(u);var C=this;return C.__filtered__&&(u>0||m<0)?new li(C):(u<0?C=C.takeRight(-u):u&&(C=C.drop(u)),m!==r&&(C=(m=Er(m))<0?C.dropRight(-m):C.take(m-u)),C)},li.prototype.takeRightWhile=function(u){return this.reverse().takeWhile(u).reverse()},li.prototype.toArray=function(){return this.take(ut)},qs(li.prototype,function(u,m){var C=/^(?:filter|find|map|reject)|While$/.test(m),q=/^(?:head|last)$/.test(m),Ie=$e[q?"take"+("last"==m?"Right":""):m],Ze=q||/^find/.test(m);Ie&&($e.prototype[m]=function(){var vt=this.__wrapped__,At=q?[1]:arguments,Jt=vt instanceof li,Nn=At[0],Vn=Jt||mr(vt),zn=function(nr){var Ar=Ie.apply($e,Fs([nr],At));return q&&mi?Ar[0]:Ar};Vn&&C&&"function"==typeof Nn&&1!=Nn.length&&(Jt=Vn=!1);var mi=this.__chain__,Ki=Ze&&!mi,Dr=Jt&&!this.__actions__.length;if(!Ze&&Vn){vt=Dr?vt:new li(this);var Xi=u.apply(vt,At);return Xi.__actions__.push({func:Ef,args:[zn],thisArg:r}),new Qo(Xi,mi)}return Ki&&Dr?u.apply(this,At):(Xi=this.thru(zn),Ki?q?Xi.value()[0]:Xi.value():Xi)})}),Zr(["pop","push","shift","sort","splice","unshift"],function(u){var m=Xs[u],C=/^(?:push|sort|unshift)$/.test(u)?"tap":"thru",q=/^(?:pop|shift)$/.test(u);$e.prototype[u]=function(){var Ie=arguments;if(q&&!this.__chain__){var Ze=this.value();return m.apply(mr(Ze)?Ze:[],Ie)}return this[C](function(vt){return m.apply(mr(vt)?vt:[],Ie)})}}),qs(li.prototype,function(u,m){var C=$e[m];if(C){var q=C.name+"";Ir.call(Ti,q)||(Ti[q]=[]),Ti[q].push({name:m,func:C})}}),Ti[pl(r,2).name]=[{name:"wrapper",func:r}],li.prototype.clone=function ga(){var u=new li(this.__wrapped__);return u.__actions__=ms(this.__actions__),u.__dir__=this.__dir__,u.__filtered__=this.__filtered__,u.__iteratees__=ms(this.__iteratees__),u.__takeCount__=this.__takeCount__,u.__views__=ms(this.__views__),u},li.prototype.reverse=function ol(){if(this.__filtered__){var u=new li(this);u.__dir__=-1,u.__filtered__=!0}else(u=this.clone()).__dir__*=-1;return u},li.prototype.value=function Tr(){var u=this.__wrapped__.value(),m=this.__dir__,C=mr(u),q=m<0,Ie=C?u.length:0,Ze=function Zu(u,m,C){for(var q=-1,Ie=C.length;++q<Ie;){var Ze=C[q],vt=Ze.size;switch(Ze.type){case"drop":u+=vt;break;case"dropRight":m-=vt;break;case"take":m=$r(m,u+vt);break;case"takeRight":u=hr(u,m-vt)}}return{start:u,end:m}}(0,Ie,this.__views__),vt=Ze.start,At=Ze.end,Jt=At-vt,Nn=q?At:vt-1,Vn=this.__iteratees__,zn=Vn.length,mi=0,Fi=$r(Jt,this.__takeCount__);if(!C||!q&&Ie==Jt&&Fi==Jt)return Ic(u,this.__actions__);var Ki=[];e:for(;Jt--&&mi<Fi;){for(var Dr=-1,Xi=u[Nn+=m];++Dr<zn;){var nr=Vn[Dr],xa=nr.type,o=(0,nr.iteratee)(Xi);if(2==xa)Xi=o;else if(!o){if(1==xa)continue e;break e}}Ki[mi++]=Xi}return Ki},$e.prototype.at=Gm,$e.prototype.chain=function zm(){return bf(this)},$e.prototype.commit=function w_(){return new Qo(this.value(),this.__chain__)},$e.prototype.next=function Wm(){this.__values__===r&&(this.__values__=Wl(this.value()));var u=this.__index__>=this.__values__.length;return{done:u,value:u?r:this.__values__[this.__index__++]}},$e.prototype.plant=function T_(u){for(var m,C=this;C instanceof $a;){var q=Oh(C);q.__index__=0,q.__values__=r,m?Ie.__wrapped__=q:m=q;var Ie=q;C=C.__wrapped__}return Ie.__wrapped__=u,m},$e.prototype.reverse=function iu(){var u=this.__wrapped__;if(u instanceof li){var m=u;return this.__actions__.length&&(m=new li(this)),(m=m.reverse()).__actions__.push({func:Ef,args:[gf],thisArg:r}),new Qo(m,this.__chain__)}return this.thru(gf)},$e.prototype.toJSON=$e.prototype.valueOf=$e.prototype.value=function Km(){return Ic(this.__wrapped__,this.__actions__)},$e.prototype.first=$e.prototype.head,xe&&($e.prototype[xe]=function S_(){return this}),$e}();Xr._=Ts,(n=function(){return Ts}.call(ge,f,ge,_t))!==r&&(_t.exports=n)}.call(this)},6373:(_t,ge,f)=>{"use strict";f.d(ge,{yN:()=>ut,LV:()=>Le});var n=function(){return Object.create(null)},r=Array.prototype,y=r.forEach,F=r.slice,g=function(){function pe(Pe,et){void 0===Pe&&(Pe=!0),void 0===et&&(et=n),this.weakness=Pe,this.makeData=et}return pe.prototype.lookup=function(){for(var Pe=[],et=0;et<arguments.length;et++)Pe[et]=arguments[et];return this.lookupArray(Pe)},pe.prototype.lookupArray=function(Pe){var et=this;return y.call(Pe,function(Pt){return et=et.getChildTrie(Pt)}),et.data||(et.data=this.makeData(F.call(Pe)))},pe.prototype.getChildTrie=function(Pe){var et=this.weakness&&function A(pe){switch(typeof pe){case"object":if(null===pe)break;case"function":return!0}return!1}(Pe)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),Pt=et.get(Pe);return Pt||et.set(Pe,Pt=new pe(this.weakness,this.makeData)),Pt},pe}(),M=f(2207);function B(){}var N,V=function(){function pe(Pe,et){void 0===Pe&&(Pe=1/0),void 0===et&&(et=B),this.max=Pe,this.dispose=et,this.map=new Map,this.newest=null,this.oldest=null}return pe.prototype.has=function(Pe){return this.map.has(Pe)},pe.prototype.get=function(Pe){var et=this.getNode(Pe);return et&&et.value},pe.prototype.getNode=function(Pe){var et=this.map.get(Pe);if(et&&et!==this.newest){var Pt=et.older,Fn=et.newer;Fn&&(Fn.older=Pt),Pt&&(Pt.newer=Fn),et.older=this.newest,et.older.newer=et,et.newer=null,this.newest=et,et===this.oldest&&(this.oldest=Fn)}return et},pe.prototype.set=function(Pe,et){var Pt=this.getNode(Pe);return Pt?Pt.value=et:(Pt={key:Pe,value:et,newer:null,older:this.newest},this.newest&&(this.newest.newer=Pt),this.newest=Pt,this.oldest=this.oldest||Pt,this.map.set(Pe,Pt),Pt.value)},pe.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},pe.prototype.delete=function(Pe){var et=this.map.get(Pe);return!!et&&(et===this.newest&&(this.newest=et.older),et===this.oldest&&(this.oldest=et.newer),et.newer&&(et.newer.older=et.older),et.older&&(et.older.newer=et.newer),this.map.delete(Pe),this.dispose(et.value,Pe),!0)},pe}(),T=new M.DX,U=Object.prototype.hasOwnProperty,b=void 0===(N=Array.from)?function(pe){var Pe=[];return pe.forEach(function(et){return Pe.push(et)}),Pe}:N;function G(pe){var Pe=pe.unsubscribe;"function"==typeof Pe&&(pe.unsubscribe=void 0,Pe())}var R=[],ce=100;function J(pe,Pe){if(!pe)throw new Error(Pe||"assertion failure")}function Ne(pe){switch(pe.length){case 0:throw new Error("unknown value");case 1:return pe[0];case 2:throw pe[1]}}var dt=function(){function pe(Pe){this.fn=Pe,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++pe.count}return pe.prototype.peek=function(){if(1===this.value.length&&!Ae(this))return He(this),this.value[0]},pe.prototype.recompute=function(Pe){return J(!this.recomputing,"already recomputing"),He(this),Ae(this)?function Ge(pe,Pe){return qt(pe),T.withValue(pe,se,[pe,Pe]),function Ot(pe,Pe){if("function"==typeof pe.subscribe)try{G(pe),pe.unsubscribe=pe.subscribe.apply(null,Pe)}catch{return pe.setDirty(),!1}return!0}(pe,Pe)&&function we(pe){pe.dirty=!1,!Ae(pe)&&Oe(pe)}(pe),Ne(pe.value)}(this,Pe):Ne(this.value)},pe.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,ue(this),G(this))},pe.prototype.dispose=function(){var Pe=this;this.setDirty(),qt(this),Ye(this,function(et,Pt){et.setDirty(),jt(et,Pe)})},pe.prototype.forget=function(){this.dispose()},pe.prototype.dependOn=function(Pe){Pe.add(this),this.deps||(this.deps=R.pop()||new Set),this.deps.add(Pe)},pe.prototype.forgetDeps=function(){var Pe=this;this.deps&&(b(this.deps).forEach(function(et){return et.delete(Pe)}),this.deps.clear(),R.push(this.deps),this.deps=null)},pe.count=0,pe}();function He(pe){var Pe=T.getValue();if(Pe)return pe.parents.add(Pe),Pe.childValues.has(pe)||Pe.childValues.set(pe,[]),Ae(pe)?yt(Pe,pe):Yt(Pe,pe),Pe}function se(pe,Pe){pe.recomputing=!0,pe.value.length=0;try{pe.value[0]=pe.fn.apply(null,Pe)}catch(et){pe.value[1]=et}pe.recomputing=!1}function Ae(pe){return pe.dirty||!(!pe.dirtyChildren||!pe.dirtyChildren.size)}function ue(pe){Ye(pe,yt)}function Oe(pe){Ye(pe,Yt)}function Ye(pe,Pe){var et=pe.parents.size;if(et)for(var Pt=b(pe.parents),Fn=0;Fn<et;++Fn)Pe(Pt[Fn],pe)}function yt(pe,Pe){J(pe.childValues.has(Pe)),J(Ae(Pe));var et=!Ae(pe);if(pe.dirtyChildren){if(pe.dirtyChildren.has(Pe))return}else pe.dirtyChildren=R.pop()||new Set;pe.dirtyChildren.add(Pe),et&&ue(pe)}function Yt(pe,Pe){J(pe.childValues.has(Pe)),J(!Ae(Pe));var et=pe.childValues.get(Pe);0===et.length?pe.childValues.set(Pe,function ot(pe){return pe.slice(0)}(Pe.value)):function Se(pe,Pe){var et=pe.length;return et>0&&et===Pe.length&&pe[et-1]===Pe[et-1]}(et,Pe.value)||pe.setDirty(),Vt(pe,Pe),!Ae(pe)&&Oe(pe)}function Vt(pe,Pe){var et=pe.dirtyChildren;et&&(et.delete(Pe),0===et.size&&(R.length<ce&&R.push(et),pe.dirtyChildren=null))}function qt(pe){pe.childValues.size>0&&pe.childValues.forEach(function(Pe,et){jt(pe,et)}),pe.forgetDeps(),J(null===pe.dirtyChildren)}function jt(pe,Pe){Pe.parents.delete(pe),pe.childValues.delete(Pe),Vt(pe,Pe)}var nt={setDirty:!0,dispose:!0,forget:!0};function ut(pe){var Pe=new Map,et=pe&&pe.subscribe;function Pt(Fn){var ei=T.getValue();if(ei){var gn=Pe.get(Fn);gn||Pe.set(Fn,gn=new Set),ei.dependOn(gn),"function"==typeof et&&(G(gn),gn.unsubscribe=et(Fn))}}return Pt.dirty=function(ei,gn){var pi=Pe.get(ei);if(pi){var hi=gn&&U.call(nt,gn)?gn:"setDirty";b(pi).forEach(function(xi){return xi[hi]()}),Pe.delete(ei),G(pi)}},Pt}function tt(){var pe=new g("function"==typeof WeakMap);return function(){return pe.lookupArray(arguments)}}tt();var Ft=new Set;function Le(pe,Pe){void 0===Pe&&(Pe=Object.create(null));var et=new V(Pe.max||Math.pow(2,16),function(xi){return xi.dispose()}),Pt=Pe.keyArgs,Fn=Pe.makeCacheKey||tt(),ei=function(){var xi=Fn.apply(null,Pt?Pt.apply(null,arguments):arguments);if(void 0===xi)return pe.apply(null,arguments);var ti=et.get(xi);ti||(et.set(xi,ti=new dt(pe)),ti.subscribe=Pe.subscribe,ti.forget=function(){return et.delete(xi)});var ki=ti.recompute(Array.prototype.slice.call(arguments));return et.set(xi,ti),Ft.add(et),T.hasValue()||(Ft.forEach(function(Zi){return Zi.clean()}),Ft.clear()),ki};function gn(xi){var ti=et.get(xi);ti&&ti.setDirty()}function pi(xi){var ti=et.get(xi);if(ti)return ti.peek()}function hi(xi){return et.delete(xi)}return Object.defineProperty(ei,"size",{get:function(){return et.map.size},configurable:!1,enumerable:!1}),ei.dirtyKey=gn,ei.dirty=function(){gn(Fn.apply(null,arguments))},ei.peekKey=pi,ei.peek=function(){return pi(Fn.apply(null,arguments))},ei.forgetKey=hi,ei.forget=function(){return hi(Fn.apply(null,arguments))},ei.makeCacheKey=Fn,ei.getKey=Pt?function(){return Fn.apply(null,Pt.apply(null,arguments))}:Fn,Object.freeze(ei)}},4412:(_t,ge,f)=>{"use strict";f.d(ge,{t:()=>r});var n=f(1413);class r extends n.B{constructor(F){super(),this._value=F}get value(){return this.getValue()}_subscribe(F){const g=super._subscribe(F);return!g.closed&&F.next(this._value),g}getValue(){const{hasError:F,thrownError:g,_value:A}=this;if(F)throw g;return this._throwIfClosed(),A}next(F){super.next(this._value=F)}}},1985:(_t,ge,f)=>{"use strict";f.d(ge,{c:()=>B});var n=f(7707),r=f(8359),y=f(3494),F=f(1203),g=f(1026),A=f(8071),M=f(9786);let B=(()=>{class U{constructor(G){G&&(this._subscribe=G)}lift(G){const R=new U;return R.source=this,R.operator=G,R}subscribe(G,R,ce){const J=function N(U){return U&&U instanceof n.vU||function T(U){return U&&(0,A.T)(U.next)&&(0,A.T)(U.error)&&(0,A.T)(U.complete)}(U)&&(0,r.Uv)(U)}(G)?G:new n.Ms(G,R,ce);return(0,M.Y)(()=>{const{operator:Se,source:Ne}=this;J.add(Se?Se.call(J,Ne):Ne?this._subscribe(J):this._trySubscribe(J))}),J}_trySubscribe(G){try{return this._subscribe(G)}catch(R){G.error(R)}}forEach(G,R){return new(R=V(R))((ce,J)=>{const Se=new n.Ms({next:Ne=>{try{G(Ne)}catch(ot){J(ot),Se.unsubscribe()}},error:J,complete:ce});this.subscribe(Se)})}_subscribe(G){var R;return null===(R=this.source)||void 0===R?void 0:R.subscribe(G)}[y.s](){return this}pipe(...G){return(0,F.m)(G)(this)}toPromise(G){return new(G=V(G))((R,ce)=>{let J;this.subscribe(Se=>J=Se,Se=>ce(Se),()=>R(J))})}}return U.create=b=>new U(b),U})();function V(U){var b;return null!==(b=U??g.$.Promise)&&void 0!==b?b:Promise}},2771:(_t,ge,f)=>{"use strict";f.d(ge,{m:()=>y});var n=f(1413),r=f(6129);class y extends n.B{constructor(g=1/0,A=1/0,M=r.U){super(),this._bufferSize=g,this._windowTime=A,this._timestampProvider=M,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=A===1/0,this._bufferSize=Math.max(1,g),this._windowTime=Math.max(1,A)}next(g){const{isStopped:A,_buffer:M,_infiniteTimeWindow:B,_timestampProvider:V,_windowTime:T}=this;A||(M.push(g),!B&&M.push(V.now()+T)),this._trimBuffer(),super.next(g)}_subscribe(g){this._throwIfClosed(),this._trimBuffer();const A=this._innerSubscribe(g),{_infiniteTimeWindow:M,_buffer:B}=this,V=B.slice();for(let T=0;T<V.length&&!g.closed;T+=M?1:2)g.next(V[T]);return this._checkFinalizedStatuses(g),A}_trimBuffer(){const{_bufferSize:g,_timestampProvider:A,_buffer:M,_infiniteTimeWindow:B}=this,V=(B?1:2)*g;if(g<1/0&&V<M.length&&M.splice(0,M.length-V),!B){const T=A.now();let N=0;for(let U=1;U<M.length&&M[U]<=T;U+=2)N=U;N&&M.splice(0,N+1)}}}},1413:(_t,ge,f)=>{"use strict";f.d(ge,{B:()=>M});var n=f(1985),r=f(8359);const F=(0,f(1853).L)(V=>function(){V(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var g=f(7908),A=f(9786);let M=(()=>{class V extends n.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(N){const U=new B(this,this);return U.operator=N,U}_throwIfClosed(){if(this.closed)throw new F}next(N){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const U of this.currentObservers)U.next(N)}})}error(N){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=N;const{observers:U}=this;for(;U.length;)U.shift().error(N)}})}complete(){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:N}=this;for(;N.length;)N.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var N;return(null===(N=this.observers)||void 0===N?void 0:N.length)>0}_trySubscribe(N){return this._throwIfClosed(),super._trySubscribe(N)}_subscribe(N){return this._throwIfClosed(),this._checkFinalizedStatuses(N),this._innerSubscribe(N)}_innerSubscribe(N){const{hasError:U,isStopped:b,observers:G}=this;return U||b?r.Kn:(this.currentObservers=null,G.push(N),new r.yU(()=>{this.currentObservers=null,(0,g.o)(G,N)}))}_checkFinalizedStatuses(N){const{hasError:U,thrownError:b,isStopped:G}=this;U?N.error(b):G&&N.complete()}asObservable(){const N=new n.c;return N.source=this,N}}return V.create=(T,N)=>new B(T,N),V})();class B extends M{constructor(T,N){super(),this.destination=T,this.source=N}next(T){var N,U;null===(U=null===(N=this.destination)||void 0===N?void 0:N.next)||void 0===U||U.call(N,T)}error(T){var N,U;null===(U=null===(N=this.destination)||void 0===N?void 0:N.error)||void 0===U||U.call(N,T)}complete(){var T,N;null===(N=null===(T=this.destination)||void 0===T?void 0:T.complete)||void 0===N||N.call(T)}_subscribe(T){var N,U;return null!==(U=null===(N=this.source)||void 0===N?void 0:N.subscribe(T))&&void 0!==U?U:r.Kn}}},7707:(_t,ge,f)=>{"use strict";f.d(ge,{Ms:()=>ce,vU:()=>U});var n=f(8071),r=f(8359),y=f(1026),F=f(5334),g=f(5343);const A=V("C",void 0,void 0);function V(dt,He,Ge){return{kind:dt,value:He,error:Ge}}var T=f(9270),N=f(9786);class U extends r.yU{constructor(He){super(),this.isStopped=!1,He?(this.destination=He,(0,r.Uv)(He)&&He.add(this)):this.destination=ot}static create(He,Ge,se){return new ce(He,Ge,se)}next(He){this.isStopped?Ne(function B(dt){return V("N",dt,void 0)}(He),this):this._next(He)}error(He){this.isStopped?Ne(function M(dt){return V("E",void 0,dt)}(He),this):(this.isStopped=!0,this._error(He))}complete(){this.isStopped?Ne(A,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(He){this.destination.next(He)}_error(He){try{this.destination.error(He)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b=Function.prototype.bind;function G(dt,He){return b.call(dt,He)}class R{constructor(He){this.partialObserver=He}next(He){const{partialObserver:Ge}=this;if(Ge.next)try{Ge.next(He)}catch(se){J(se)}}error(He){const{partialObserver:Ge}=this;if(Ge.error)try{Ge.error(He)}catch(se){J(se)}else J(He)}complete(){const{partialObserver:He}=this;if(He.complete)try{He.complete()}catch(Ge){J(Ge)}}}class ce extends U{constructor(He,Ge,se){let Ae;if(super(),(0,n.T)(He)||!He)Ae={next:He??void 0,error:Ge??void 0,complete:se??void 0};else{let we;this&&y.$.useDeprecatedNextContext?(we=Object.create(He),we.unsubscribe=()=>this.unsubscribe(),Ae={next:He.next&&G(He.next,we),error:He.error&&G(He.error,we),complete:He.complete&&G(He.complete,we)}):Ae=He}this.destination=new R(Ae)}}function J(dt){y.$.useDeprecatedSynchronousErrorHandling?(0,N.l)(dt):(0,F.m)(dt)}function Ne(dt,He){const{onStoppedNotification:Ge}=y.$;Ge&&T.f.setTimeout(()=>Ge(dt,He))}const ot={closed:!0,next:g.l,error:function Se(dt){throw dt},complete:g.l}},8359:(_t,ge,f)=>{"use strict";f.d(ge,{Kn:()=>A,yU:()=>g,Uv:()=>M});var n=f(8071);const y=(0,f(1853).L)(V=>function(N){V(this),this.message=N?`${N.length} errors occurred during unsubscription:\n${N.map((U,b)=>`${b+1}) ${U.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=N});var F=f(7908);class g{constructor(T){this.initialTeardown=T,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let T;if(!this.closed){this.closed=!0;const{_parentage:N}=this;if(N)if(this._parentage=null,Array.isArray(N))for(const G of N)G.remove(this);else N.remove(this);const{initialTeardown:U}=this;if((0,n.T)(U))try{U()}catch(G){T=G instanceof y?G.errors:[G]}const{_finalizers:b}=this;if(b){this._finalizers=null;for(const G of b)try{B(G)}catch(R){T=T??[],R instanceof y?T=[...T,...R.errors]:T.push(R)}}if(T)throw new y(T)}}add(T){var N;if(T&&T!==this)if(this.closed)B(T);else{if(T instanceof g){if(T.closed||T._hasParent(this))return;T._addParent(this)}(this._finalizers=null!==(N=this._finalizers)&&void 0!==N?N:[]).push(T)}}_hasParent(T){const{_parentage:N}=this;return N===T||Array.isArray(N)&&N.includes(T)}_addParent(T){const{_parentage:N}=this;this._parentage=Array.isArray(N)?(N.push(T),N):N?[N,T]:T}_removeParent(T){const{_parentage:N}=this;N===T?this._parentage=null:Array.isArray(N)&&(0,F.o)(N,T)}remove(T){const{_finalizers:N}=this;N&&(0,F.o)(N,T),T instanceof g&&T._removeParent(this)}}g.EMPTY=(()=>{const V=new g;return V.closed=!0,V})();const A=g.EMPTY;function M(V){return V instanceof g||V&&"closed"in V&&(0,n.T)(V.remove)&&(0,n.T)(V.add)&&(0,n.T)(V.unsubscribe)}function B(V){(0,n.T)(V)?V():V.unsubscribe()}},1026:(_t,ge,f)=>{"use strict";f.d(ge,{$:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4843:(_t,ge,f)=>{"use strict";f.d(ge,{_:()=>y});var n=f(9350),r=f(7707);function y(F,g){const A="object"==typeof g;return new Promise((M,B)=>{const V=new r.Ms({next:T=>{M(T),V.unsubscribe()},error:B,complete:()=>{A?M(g.defaultValue):B(new n.G)}});F.subscribe(V)})}},3207:(_t,ge,f)=>{"use strict";f.d(ge,{s:()=>r});var n=f(9350);function r(y,F){const g="object"==typeof F;return new Promise((A,M)=>{let V,B=!1;y.subscribe({next:T=>{V=T,B=!0},error:M,complete:()=>{B?A(V):g?A(F.defaultValue):M(new n.G)}})})}},17:(_t,ge,f)=>{"use strict";f.d(ge,{G:()=>A});var n=f(1985),r=f(8359),y=f(9898),F=f(4360),g=f(9974);class A extends n.c{constructor(B,V){super(),this.source=B,this.subjectFactory=V,this._subject=null,this._refCount=0,this._connection=null,(0,g.S)(B)&&(this.lift=B.lift)}_subscribe(B){return this.getSubject().subscribe(B)}getSubject(){const B=this._subject;return(!B||B.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:B}=this;this._subject=this._connection=null,B?.unsubscribe()}connect(){let B=this._connection;if(!B){B=this._connection=new r.yU;const V=this.getSubject();B.add(this.source.subscribe((0,F._)(V,void 0,()=>{this._teardown(),V.complete()},T=>{this._teardown(),V.error(T)},()=>this._teardown()))),B.closed&&(this._connection=null,B=r.yU.EMPTY)}return B}refCount(){return(0,y.B)()(this)}}},4572:(_t,ge,f)=>{"use strict";f.d(ge,{z:()=>T});var n=f(1985),r=f(3073),y=f(2806),F=f(3669),g=f(6450),A=f(9326),M=f(8496),B=f(4360),V=f(5225);function T(...b){const G=(0,A.lI)(b),R=(0,A.ms)(b),{args:ce,keys:J}=(0,r.D)(b);if(0===ce.length)return(0,y.H)([],G);const Se=new n.c(function N(b,G,R=F.D){return ce=>{U(G,()=>{const{length:J}=b,Se=new Array(J);let Ne=J,ot=J;for(let dt=0;dt<J;dt++)U(G,()=>{const He=(0,y.H)(b[dt],G);let Ge=!1;He.subscribe((0,B._)(ce,se=>{Se[dt]=se,Ge||(Ge=!0,ot--),ot||ce.next(R(Se.slice()))},()=>{--Ne||ce.complete()}))},ce)},ce)}}(ce,G,J?Ne=>(0,M.e)(J,Ne):F.D));return R?Se.pipe((0,g.I)(R)):Se}function U(b,G,R){b?(0,V.N)(R,b,G):G()}},8793:(_t,ge,f)=>{"use strict";f.d(ge,{x:()=>g});var n=f(6365),y=f(9326),F=f(2806);function g(...A){return function r(){return(0,n.U)(1)}()((0,F.H)(A,(0,y.lI)(A)))}},9030:(_t,ge,f)=>{"use strict";f.d(ge,{v:()=>y});var n=f(1985),r=f(8750);function y(F){return new n.c(g=>{(0,r.Tg)(F()).subscribe(g)})}},983:(_t,ge,f)=>{"use strict";f.d(ge,{w:()=>r});const r=new(f(1985).c)(g=>g.complete())},7468:(_t,ge,f)=>{"use strict";f.d(ge,{p:()=>B});var n=f(1985),r=f(3073),y=f(8750),F=f(9326),g=f(4360),A=f(6450),M=f(8496);function B(...V){const T=(0,F.ms)(V),{args:N,keys:U}=(0,r.D)(V),b=new n.c(G=>{const{length:R}=N;if(!R)return void G.complete();const ce=new Array(R);let J=R,Se=R;for(let Ne=0;Ne<R;Ne++){let ot=!1;(0,y.Tg)(N[Ne]).subscribe((0,g._)(G,dt=>{ot||(ot=!0,Se--),ce[Ne]=dt},()=>J--,void 0,()=>{(!J||!ot)&&(Se||G.next(U?(0,M.e)(U,ce):ce),G.complete())}))}});return T?b.pipe((0,A.I)(T)):b}},2806:(_t,ge,f)=>{"use strict";f.d(ge,{H:()=>Ge});var n=f(8750),r=f(941),y=f(9974);function F(se,Ae=0){return(0,y.N)((we,ue)=>{ue.add(se.schedule(()=>we.subscribe(ue),Ae))})}var M=f(1985),V=f(4761),T=f(8071),N=f(5225);function b(se,Ae){if(!se)throw new Error("Iterable cannot be null");return new M.c(we=>{(0,N.N)(we,Ae,()=>{const ue=se[Symbol.asyncIterator]();(0,N.N)(we,Ae,()=>{ue.next().then(Oe=>{Oe.done?we.complete():we.next(Oe.value)})},0,!0)})})}var G=f(5055),R=f(9858),ce=f(7441),J=f(5397),Se=f(7953),Ne=f(591),ot=f(5196);function Ge(se,Ae){return Ae?function He(se,Ae){if(null!=se){if((0,G.l)(se))return function g(se,Ae){return(0,n.Tg)(se).pipe(F(Ae),(0,r.Q)(Ae))}(se,Ae);if((0,ce.X)(se))return function B(se,Ae){return new M.c(we=>{let ue=0;return Ae.schedule(function(){ue===se.length?we.complete():(we.next(se[ue++]),we.closed||this.schedule())})})}(se,Ae);if((0,R.y)(se))return function A(se,Ae){return(0,n.Tg)(se).pipe(F(Ae),(0,r.Q)(Ae))}(se,Ae);if((0,Se.T)(se))return b(se,Ae);if((0,J.x)(se))return function U(se,Ae){return new M.c(we=>{let ue;return(0,N.N)(we,Ae,()=>{ue=se[V.l](),(0,N.N)(we,Ae,()=>{let Oe,Ye;try{({value:Oe,done:Ye}=ue.next())}catch(yt){return void we.error(yt)}Ye?we.complete():we.next(Oe)},0,!0)}),()=>(0,T.T)(ue?.return)&&ue.return()})}(se,Ae);if((0,ot.U)(se))return function dt(se,Ae){return b((0,ot.C)(se),Ae)}(se,Ae)}throw(0,Ne.L)(se)}(se,Ae):(0,n.Tg)(se)}},3726:(_t,ge,f)=>{"use strict";f.d(ge,{R:()=>T});var n=f(8750),r=f(1985),y=f(1397),F=f(7441),g=f(8071),A=f(6450);const M=["addListener","removeListener"],B=["addEventListener","removeEventListener"],V=["on","off"];function T(R,ce,J,Se){if((0,g.T)(J)&&(Se=J,J=void 0),Se)return T(R,ce,J).pipe((0,A.I)(Se));const[Ne,ot]=function G(R){return(0,g.T)(R.addEventListener)&&(0,g.T)(R.removeEventListener)}(R)?B.map(dt=>He=>R[dt](ce,He,J)):function U(R){return(0,g.T)(R.addListener)&&(0,g.T)(R.removeListener)}(R)?M.map(N(R,ce)):function b(R){return(0,g.T)(R.on)&&(0,g.T)(R.off)}(R)?V.map(N(R,ce)):[];if(!Ne&&(0,F.X)(R))return(0,y.Z)(dt=>T(dt,ce,J))((0,n.Tg)(R));if(!Ne)throw new TypeError("Invalid event target");return new r.c(dt=>{const He=(...Ge)=>dt.next(1<Ge.length?Ge:Ge[0]);return Ne(He),()=>ot(He)})}function N(R,ce){return J=>Se=>R[J](ce,Se)}},8750:(_t,ge,f)=>{"use strict";f.d(ge,{Tg:()=>b});var n=f(1635),r=f(7441),y=f(9858),F=f(1985),g=f(5055),A=f(7953),M=f(591),B=f(5397),V=f(5196),T=f(8071),N=f(5334),U=f(3494);function b(dt){if(dt instanceof F.c)return dt;if(null!=dt){if((0,g.l)(dt))return function G(dt){return new F.c(He=>{const Ge=dt[U.s]();if((0,T.T)(Ge.subscribe))return Ge.subscribe(He);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(dt);if((0,r.X)(dt))return function R(dt){return new F.c(He=>{for(let Ge=0;Ge<dt.length&&!He.closed;Ge++)He.next(dt[Ge]);He.complete()})}(dt);if((0,y.y)(dt))return function ce(dt){return new F.c(He=>{dt.then(Ge=>{He.closed||(He.next(Ge),He.complete())},Ge=>He.error(Ge)).then(null,N.m)})}(dt);if((0,A.T)(dt))return Se(dt);if((0,B.x)(dt))return function J(dt){return new F.c(He=>{for(const Ge of dt)if(He.next(Ge),He.closed)return;He.complete()})}(dt);if((0,V.U)(dt))return function Ne(dt){return Se((0,V.C)(dt))}(dt)}throw(0,M.L)(dt)}function Se(dt){return new F.c(He=>{(function ot(dt,He){var Ge,se,Ae,we;return(0,n.sH)(this,void 0,void 0,function*(){try{for(Ge=(0,n.xN)(dt);!(se=yield Ge.next()).done;)if(He.next(se.value),He.closed)return}catch(ue){Ae={error:ue}}finally{try{se&&!se.done&&(we=Ge.return)&&(yield we.call(Ge))}finally{if(Ae)throw Ae.error}}He.complete()})})(dt,He).catch(Ge=>He.error(Ge))})}},7786:(_t,ge,f)=>{"use strict";f.d(ge,{h:()=>A});var n=f(6365),r=f(8750),y=f(983),F=f(9326),g=f(2806);function A(...M){const B=(0,F.lI)(M),V=(0,F.R0)(M,1/0),T=M;return T.length?1===T.length?(0,r.Tg)(T[0]):(0,n.U)(V)((0,g.H)(T,B)):y.w}},7673:(_t,ge,f)=>{"use strict";f.d(ge,{of:()=>y});var n=f(9326),r=f(2806);function y(...F){const g=(0,n.lI)(F);return(0,r.H)(F,g)}},8810:(_t,ge,f)=>{"use strict";f.d(ge,{$:()=>y});var n=f(1985),r=f(8071);function y(F,g){const A=(0,r.T)(F)?F:()=>F,M=B=>B.error(A());return new n.c(g?B=>g.schedule(M,0,B):M)}},1584:(_t,ge,f)=>{"use strict";f.d(ge,{O:()=>g});var n=f(1985),r=f(3236),y=f(9470);function g(A=0,M,B=r.b){let V=-1;return null!=M&&((0,y.m)(M)?B=M:V=M),new n.c(T=>{let N=function F(A){return A instanceof Date&&!isNaN(A)}(A)?+A-B.now():A;N<0&&(N=0);let U=0;return B.schedule(function(){T.closed||(T.next(U++),0<=V?this.schedule(void 0,V):T.complete())},N)})}},4360:(_t,ge,f)=>{"use strict";f.d(ge,{_:()=>r});var n=f(7707);function r(F,g,A,M,B){return new y(F,g,A,M,B)}class y extends n.vU{constructor(g,A,M,B,V,T){super(g),this.onFinalize=V,this.shouldUnsubscribe=T,this._next=A?function(N){try{A(N)}catch(U){g.error(U)}}:super._next,this._error=B?function(N){try{B(N)}catch(U){g.error(U)}finally{this.unsubscribe()}}:super._error,this._complete=M?function(){try{M()}catch(N){g.error(N)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var g;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:A}=this;super.unsubscribe(),!A&&(null===(g=this.onFinalize)||void 0===g||g.call(this))}}}},3798:(_t,ge,f)=>{"use strict";f.d(ge,{Z:()=>M});var n=f(3236),r=f(9974),y=f(8750),F=f(4360),A=f(1584);function M(B,V=n.E){return function g(B){return(0,r.N)((V,T)=>{let N=!1,U=null,b=null,G=!1;const R=()=>{if(b?.unsubscribe(),b=null,N){N=!1;const J=U;U=null,T.next(J)}G&&T.complete()},ce=()=>{b=null,G&&T.complete()};V.subscribe((0,F._)(T,J=>{N=!0,U=J,b||(0,y.Tg)(B(J)).subscribe(b=(0,F._)(T,R,ce))},()=>{G=!0,(!N||!b||b.closed)&&T.complete()}))})}(()=>(0,A.O)(B,V))}},9437:(_t,ge,f)=>{"use strict";f.d(ge,{W:()=>F});var n=f(8750),r=f(4360),y=f(9974);function F(g){return(0,y.N)((A,M)=>{let T,B=null,V=!1;B=A.subscribe((0,r._)(M,void 0,void 0,N=>{T=(0,n.Tg)(g(N,F(g)(A))),B?(B.unsubscribe(),B=null,T.subscribe(M)):V=!0})),V&&(B.unsubscribe(),B=null,T.subscribe(M))})}},274:(_t,ge,f)=>{"use strict";f.d(ge,{H:()=>y});var n=f(1397),r=f(8071);function y(F,g){return(0,r.T)(g)?(0,n.Z)(F,g,1):(0,n.Z)(F,1)}},152:(_t,ge,f)=>{"use strict";f.d(ge,{B:()=>F});var n=f(3236),r=f(9974),y=f(4360);function F(g,A=n.E){return(0,r.N)((M,B)=>{let V=null,T=null,N=null;const U=()=>{if(V){V.unsubscribe(),V=null;const G=T;T=null,B.next(G)}};function b(){const G=N+g,R=A.now();if(R<G)return V=this.schedule(void 0,G-R),void B.add(V);U()}M.subscribe((0,y._)(B,G=>{T=G,N=A.now(),V||(V=A.schedule(b,g),B.add(V))},()=>{U(),B.complete()},void 0,()=>{T=V=null}))})}},9901:(_t,ge,f)=>{"use strict";f.d(ge,{U:()=>y});var n=f(9974),r=f(4360);function y(F){return(0,n.N)((g,A)=>{let M=!1;g.subscribe((0,r._)(A,B=>{M=!0,A.next(B)},()=>{M||A.next(F),A.complete()}))})}},3294:(_t,ge,f)=>{"use strict";f.d(ge,{F:()=>F});var n=f(3669),r=f(9974),y=f(4360);function F(A,M=n.D){return A=A??g,(0,r.N)((B,V)=>{let T,N=!0;B.subscribe((0,y._)(V,U=>{const b=M(U);(N||!A(T,b))&&(N=!1,T=b,V.next(U))}))})}function g(A,M){return A===M}},5964:(_t,ge,f)=>{"use strict";f.d(ge,{p:()=>y});var n=f(9974),r=f(4360);function y(F,g){return(0,n.N)((A,M)=>{let B=0;A.subscribe((0,r._)(M,V=>F.call(g,V,B++)&&M.next(V)))})}},980:(_t,ge,f)=>{"use strict";f.d(ge,{j:()=>r});var n=f(9974);function r(y){return(0,n.N)((F,g)=>{try{F.subscribe(g)}finally{g.add(y)}})}},1594:(_t,ge,f)=>{"use strict";f.d(ge,{$:()=>M});var n=f(9350),r=f(5964),y=f(6697),F=f(9901),g=f(3774),A=f(3669);function M(B,V){const T=arguments.length>=2;return N=>N.pipe(B?(0,r.p)((U,b)=>B(U,b,N)):A.D,(0,y.s)(1),T?(0,F.U)(V):(0,g.v)(()=>new n.G))}},6354:(_t,ge,f)=>{"use strict";f.d(ge,{T:()=>y});var n=f(9974),r=f(4360);function y(F,g){return(0,n.N)((A,M)=>{let B=0;A.subscribe((0,r._)(M,V=>{M.next(F.call(g,V,B++))}))})}},3703:(_t,ge,f)=>{"use strict";f.d(ge,{u:()=>r});var n=f(6354);function r(y){return(0,n.T)(()=>y)}},6365:(_t,ge,f)=>{"use strict";f.d(ge,{U:()=>y});var n=f(1397),r=f(3669);function y(F=1/0){return(0,n.Z)(r.D,F)}},1397:(_t,ge,f)=>{"use strict";f.d(ge,{Z:()=>B});var n=f(6354),r=f(8750),y=f(9974),F=f(5225),g=f(4360),M=f(8071);function B(V,T,N=1/0){return(0,M.T)(T)?B((U,b)=>(0,n.T)((G,R)=>T(U,G,b,R))((0,r.Tg)(V(U,b))),N):("number"==typeof T&&(N=T),(0,y.N)((U,b)=>function A(V,T,N,U,b,G,R,ce){const J=[];let Se=0,Ne=0,ot=!1;const dt=()=>{ot&&!J.length&&!Se&&T.complete()},He=se=>Se<U?Ge(se):J.push(se),Ge=se=>{G&&T.next(se),Se++;let Ae=!1;(0,r.Tg)(N(se,Ne++)).subscribe((0,g._)(T,we=>{b?.(we),G?He(we):T.next(we)},()=>{Ae=!0},void 0,()=>{if(Ae)try{for(Se--;J.length&&Se<U;){const we=J.shift();R?(0,F.N)(T,R,()=>Ge(we)):Ge(we)}dt()}catch(we){T.error(we)}}))};return V.subscribe((0,g._)(T,He,()=>{ot=!0,dt()})),()=>{ce?.()}}(U,b,V,N)))}},941:(_t,ge,f)=>{"use strict";f.d(ge,{Q:()=>F});var n=f(5225),r=f(9974),y=f(4360);function F(g,A=0){return(0,r.N)((M,B)=>{M.subscribe((0,y._)(B,V=>(0,n.N)(B,g,()=>B.next(V),A),()=>(0,n.N)(B,g,()=>B.complete(),A),V=>(0,n.N)(B,g,()=>B.error(V),A)))})}},9898:(_t,ge,f)=>{"use strict";f.d(ge,{B:()=>y});var n=f(9974),r=f(4360);function y(){return(0,n.N)((F,g)=>{let A=null;F._refCount++;const M=(0,r._)(g,void 0,void 0,void 0,()=>{if(!F||F._refCount<=0||0<--F._refCount)return void(A=null);const B=F._connection,V=A;A=null,B&&(!V||B===V)&&B.unsubscribe(),g.unsubscribe()});F.subscribe(M),M.closed||(A=F.connect())})}},7647:(_t,ge,f)=>{"use strict";f.d(ge,{u:()=>g});var n=f(8750),r=f(1413),y=f(7707),F=f(9974);function g(M={}){const{connector:B=(()=>new r.B),resetOnError:V=!0,resetOnComplete:T=!0,resetOnRefCountZero:N=!0}=M;return U=>{let b,G,R,ce=0,J=!1,Se=!1;const Ne=()=>{G?.unsubscribe(),G=void 0},ot=()=>{Ne(),b=R=void 0,J=Se=!1},dt=()=>{const He=b;ot(),He?.unsubscribe()};return(0,F.N)((He,Ge)=>{ce++,!Se&&!J&&Ne();const se=R=R??B();Ge.add(()=>{ce--,0===ce&&!Se&&!J&&(G=A(dt,N))}),se.subscribe(Ge),!b&&ce>0&&(b=new y.Ms({next:Ae=>se.next(Ae),error:Ae=>{Se=!0,Ne(),G=A(ot,V,Ae),se.error(Ae)},complete:()=>{J=!0,Ne(),G=A(ot,T),se.complete()}}),(0,n.Tg)(He).subscribe(b))})(U)}}function A(M,B,...V){if(!0===B)return void M();if(!1===B)return;const T=new y.Ms({next:()=>{T.unsubscribe(),M()}});return(0,n.Tg)(B(...V)).subscribe(T)}},4668:(_t,ge,f)=>{"use strict";f.d(ge,{t:()=>y});var n=f(2771),r=f(7647);function y(F,g,A){let M,B=!1;return F&&"object"==typeof F?({bufferSize:M=1/0,windowTime:g=1/0,refCount:B=!1,scheduler:A}=F):M=F??1/0,(0,r.u)({connector:()=>new n.m(M,g,A),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:B})}},5245:(_t,ge,f)=>{"use strict";f.d(ge,{i:()=>r});var n=f(5964);function r(y){return(0,n.p)((F,g)=>y<=g)}},9172:(_t,ge,f)=>{"use strict";f.d(ge,{Z:()=>F});var n=f(8793),r=f(9326),y=f(9974);function F(...g){const A=(0,r.lI)(g);return(0,y.N)((M,B)=>{(A?(0,n.x)(g,M,A):(0,n.x)(g,M)).subscribe(B)})}},5558:(_t,ge,f)=>{"use strict";f.d(ge,{n:()=>F});var n=f(8750),r=f(9974),y=f(4360);function F(g,A){return(0,r.N)((M,B)=>{let V=null,T=0,N=!1;const U=()=>N&&!V&&B.complete();M.subscribe((0,y._)(B,b=>{V?.unsubscribe();let G=0;const R=T++;(0,n.Tg)(g(b,R)).subscribe(V=(0,y._)(B,ce=>B.next(A?A(b,ce,R,G++):ce),()=>{V=null,U()}))},()=>{N=!0,U()}))})}},6697:(_t,ge,f)=>{"use strict";f.d(ge,{s:()=>F});var n=f(983),r=f(9974),y=f(4360);function F(g){return g<=0?()=>n.w:(0,r.N)((A,M)=>{let B=0;A.subscribe((0,y._)(M,V=>{++B<=g&&(M.next(V),g<=B&&M.complete())}))})}},6977:(_t,ge,f)=>{"use strict";f.d(ge,{Q:()=>g});var n=f(9974),r=f(4360),y=f(8750),F=f(5343);function g(A){return(0,n.N)((M,B)=>{(0,y.Tg)(A).subscribe((0,r._)(B,()=>B.complete(),F.l)),!B.closed&&M.subscribe(B)})}},8141:(_t,ge,f)=>{"use strict";f.d(ge,{M:()=>g});var n=f(8071),r=f(9974),y=f(4360),F=f(3669);function g(A,M,B){const V=(0,n.T)(A)||M||B?{next:A,error:M,complete:B}:A;return V?(0,r.N)((T,N)=>{var U;null===(U=V.subscribe)||void 0===U||U.call(V);let b=!0;T.subscribe((0,y._)(N,G=>{var R;null===(R=V.next)||void 0===R||R.call(V,G),N.next(G)},()=>{var G;b=!1,null===(G=V.complete)||void 0===G||G.call(V),N.complete()},G=>{var R;b=!1,null===(R=V.error)||void 0===R||R.call(V,G),N.error(G)},()=>{var G,R;b&&(null===(G=V.unsubscribe)||void 0===G||G.call(V)),null===(R=V.finalize)||void 0===R||R.call(V)}))}):F.D}},3774:(_t,ge,f)=>{"use strict";f.d(ge,{v:()=>F});var n=f(9350),r=f(9974),y=f(4360);function F(A=g){return(0,r.N)((M,B)=>{let V=!1;M.subscribe((0,y._)(B,T=>{V=!0,B.next(T)},()=>V?B.complete():B.error(A())))})}function g(){return new n.G}},6780:(_t,ge,f)=>{"use strict";f.d(ge,{R:()=>g});var n=f(8359);class r extends n.yU{constructor(M,B){super()}schedule(M,B=0){return this}}const y={setInterval(A,M,...B){const{delegate:V}=y;return V?.setInterval?V.setInterval(A,M,...B):setInterval(A,M,...B)},clearInterval(A){const{delegate:M}=y;return(M?.clearInterval||clearInterval)(A)},delegate:void 0};var F=f(7908);class g extends r{constructor(M,B){super(M,B),this.scheduler=M,this.work=B,this.pending=!1}schedule(M,B=0){var V;if(this.closed)return this;this.state=M;const T=this.id,N=this.scheduler;return null!=T&&(this.id=this.recycleAsyncId(N,T,B)),this.pending=!0,this.delay=B,this.id=null!==(V=this.id)&&void 0!==V?V:this.requestAsyncId(N,this.id,B),this}requestAsyncId(M,B,V=0){return y.setInterval(M.flush.bind(M,this),V)}recycleAsyncId(M,B,V=0){if(null!=V&&this.delay===V&&!1===this.pending)return B;null!=B&&y.clearInterval(B)}execute(M,B){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const V=this._execute(M,B);if(V)return V;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(M,B){let T,V=!1;try{this.work(M)}catch(N){V=!0,T=N||new Error("Scheduled action threw falsy error")}if(V)return this.unsubscribe(),T}unsubscribe(){if(!this.closed){const{id:M,scheduler:B}=this,{actions:V}=B;this.work=this.state=this.scheduler=null,this.pending=!1,(0,F.o)(V,this),null!=M&&(this.id=this.recycleAsyncId(B,M,null)),this.delay=null,super.unsubscribe()}}}},9687:(_t,ge,f)=>{"use strict";f.d(ge,{q:()=>y});var n=f(6129);class r{constructor(g,A=r.now){this.schedulerActionCtor=g,this.now=A}schedule(g,A=0,M){return new this.schedulerActionCtor(this,g).schedule(M,A)}}r.now=n.U.now;class y extends r{constructor(g,A=r.now){super(g,A),this.actions=[],this._active=!1}flush(g){const{actions:A}=this;if(this._active)return void A.push(g);let M;this._active=!0;do{if(M=g.execute(g.state,g.delay))break}while(g=A.shift());if(this._active=!1,M){for(;g=A.shift();)g.unsubscribe();throw M}}}},536:(_t,ge,f)=>{"use strict";f.d(ge,{X:()=>M});var n=f(6780),r=f(8359);const y={schedule(V){let T=requestAnimationFrame,N=cancelAnimationFrame;const{delegate:U}=y;U&&(T=U.requestAnimationFrame,N=U.cancelAnimationFrame);const b=T(G=>{N=void 0,V(G)});return new r.yU(()=>N?.(b))},requestAnimationFrame(...V){const{delegate:T}=y;return(T?.requestAnimationFrame||requestAnimationFrame)(...V)},cancelAnimationFrame(...V){const{delegate:T}=y;return(T?.cancelAnimationFrame||cancelAnimationFrame)(...V)},delegate:void 0};var g=f(9687);const M=new class A extends g.q{flush(T){this._active=!0;const N=this._scheduled;this._scheduled=void 0;const{actions:U}=this;let b;T=T||U.shift();do{if(b=T.execute(T.state,T.delay))break}while((T=U[0])&&T.id===N&&U.shift());if(this._active=!1,b){for(;(T=U[0])&&T.id===N&&U.shift();)T.unsubscribe();throw b}}}(class F extends n.R{constructor(T,N){super(T,N),this.scheduler=T,this.work=N}requestAsyncId(T,N,U=0){return null!==U&&U>0?super.requestAsyncId(T,N,U):(T.actions.push(this),T._scheduled||(T._scheduled=y.requestAnimationFrame(()=>T.flush(void 0))))}recycleAsyncId(T,N,U=0){var b;if(null!=U?U>0:this.delay>0)return super.recycleAsyncId(T,N,U);const{actions:G}=T;null!=N&&(null===(b=G[G.length-1])||void 0===b?void 0:b.id)!==N&&(y.cancelAnimationFrame(N),T._scheduled=void 0)}})},5007:(_t,ge,f)=>{"use strict";f.d(ge,{$:()=>G});var n=f(6780);let y,r=1;const F={};function g(ce){return ce in F&&(delete F[ce],!0)}const A={setImmediate(ce){const J=r++;return F[J]=!0,y||(y=Promise.resolve()),y.then(()=>g(J)&&ce()),J},clearImmediate(ce){g(ce)}},{setImmediate:B,clearImmediate:V}=A,T={setImmediate(...ce){const{delegate:J}=T;return(J?.setImmediate||B)(...ce)},clearImmediate(ce){const{delegate:J}=T;return(J?.clearImmediate||V)(ce)},delegate:void 0};var U=f(9687);const G=new class b extends U.q{flush(J){this._active=!0;const Se=this._scheduled;this._scheduled=void 0;const{actions:Ne}=this;let ot;J=J||Ne.shift();do{if(ot=J.execute(J.state,J.delay))break}while((J=Ne[0])&&J.id===Se&&Ne.shift());if(this._active=!1,ot){for(;(J=Ne[0])&&J.id===Se&&Ne.shift();)J.unsubscribe();throw ot}}}(class N extends n.R{constructor(J,Se){super(J,Se),this.scheduler=J,this.work=Se}requestAsyncId(J,Se,Ne=0){return null!==Ne&&Ne>0?super.requestAsyncId(J,Se,Ne):(J.actions.push(this),J._scheduled||(J._scheduled=T.setImmediate(J.flush.bind(J,void 0))))}recycleAsyncId(J,Se,Ne=0){var ot;if(null!=Ne?Ne>0:this.delay>0)return super.recycleAsyncId(J,Se,Ne);const{actions:dt}=J;null!=Se&&(null===(ot=dt[dt.length-1])||void 0===ot?void 0:ot.id)!==Se&&(T.clearImmediate(Se),J._scheduled===Se&&(J._scheduled=void 0))}})},3236:(_t,ge,f)=>{"use strict";f.d(ge,{E:()=>y,b:()=>F});var n=f(6780);const y=new(f(9687).q)(n.R),F=y},6129:(_t,ge,f)=>{"use strict";f.d(ge,{U:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},9270:(_t,ge,f)=>{"use strict";f.d(ge,{f:()=>n});const n={setTimeout(r,y,...F){const{delegate:g}=n;return g?.setTimeout?g.setTimeout(r,y,...F):setTimeout(r,y,...F)},clearTimeout(r){const{delegate:y}=n;return(y?.clearTimeout||clearTimeout)(r)},delegate:void 0}},4761:(_t,ge,f)=>{"use strict";f.d(ge,{l:()=>r});const r=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(_t,ge,f)=>{"use strict";f.d(ge,{s:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(_t,ge,f)=>{"use strict";f.d(ge,{G:()=>r});const r=(0,f(1853).L)(y=>function(){y(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(_t,ge,f)=>{"use strict";f.d(ge,{R0:()=>A,lI:()=>g,ms:()=>F});var n=f(8071),r=f(9470);function y(M){return M[M.length-1]}function F(M){return(0,n.T)(y(M))?M.pop():void 0}function g(M){return(0,r.m)(y(M))?M.pop():void 0}function A(M,B){return"number"==typeof y(M)?M.pop():B}},3073:(_t,ge,f)=>{"use strict";f.d(ge,{D:()=>g});const{isArray:n}=Array,{getPrototypeOf:r,prototype:y,keys:F}=Object;function g(M){if(1===M.length){const B=M[0];if(n(B))return{args:B,keys:null};if(function A(M){return M&&"object"==typeof M&&r(M)===y}(B)){const V=F(B);return{args:V.map(T=>B[T]),keys:V}}}return{args:M,keys:null}}},7908:(_t,ge,f)=>{"use strict";function n(r,y){if(r){const F=r.indexOf(y);0<=F&&r.splice(F,1)}}f.d(ge,{o:()=>n})},1853:(_t,ge,f)=>{"use strict";function n(r){const F=r(g=>{Error.call(g),g.stack=(new Error).stack});return F.prototype=Object.create(Error.prototype),F.prototype.constructor=F,F}f.d(ge,{L:()=>n})},8496:(_t,ge,f)=>{"use strict";function n(r,y){return r.reduce((F,g,A)=>(F[g]=y[A],F),{})}f.d(ge,{e:()=>n})},9786:(_t,ge,f)=>{"use strict";f.d(ge,{Y:()=>y,l:()=>F});var n=f(1026);let r=null;function y(g){if(n.$.useDeprecatedSynchronousErrorHandling){const A=!r;if(A&&(r={errorThrown:!1,error:null}),g(),A){const{errorThrown:M,error:B}=r;if(r=null,M)throw B}}else g()}function F(g){n.$.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=g)}},5225:(_t,ge,f)=>{"use strict";function n(r,y,F,g=0,A=!1){const M=y.schedule(function(){F(),A?r.add(this.schedule(null,g)):this.unsubscribe()},g);if(r.add(M),!A)return M}f.d(ge,{N:()=>n})},3669:(_t,ge,f)=>{"use strict";function n(r){return r}f.d(ge,{D:()=>n})},7441:(_t,ge,f)=>{"use strict";f.d(ge,{X:()=>n});const n=r=>r&&"number"==typeof r.length&&"function"!=typeof r},7953:(_t,ge,f)=>{"use strict";f.d(ge,{T:()=>r});var n=f(8071);function r(y){return Symbol.asyncIterator&&(0,n.T)(y?.[Symbol.asyncIterator])}},8071:(_t,ge,f)=>{"use strict";function n(r){return"function"==typeof r}f.d(ge,{T:()=>n})},5055:(_t,ge,f)=>{"use strict";f.d(ge,{l:()=>y});var n=f(3494),r=f(8071);function y(F){return(0,r.T)(F[n.s])}},5397:(_t,ge,f)=>{"use strict";f.d(ge,{x:()=>y});var n=f(4761),r=f(8071);function y(F){return(0,r.T)(F?.[n.l])}},4402:(_t,ge,f)=>{"use strict";f.d(ge,{A:()=>y});var n=f(1985),r=f(8071);function y(F){return!!F&&(F instanceof n.c||(0,r.T)(F.lift)&&(0,r.T)(F.subscribe))}},9858:(_t,ge,f)=>{"use strict";f.d(ge,{y:()=>r});var n=f(8071);function r(y){return(0,n.T)(y?.then)}},5196:(_t,ge,f)=>{"use strict";f.d(ge,{C:()=>y,U:()=>F});var n=f(1635),r=f(8071);function y(g){return(0,n.AQ)(this,arguments,function*(){const M=g.getReader();try{for(;;){const{value:B,done:V}=yield(0,n.N3)(M.read());if(V)return yield(0,n.N3)(void 0);yield yield(0,n.N3)(B)}}finally{M.releaseLock()}})}function F(g){return(0,r.T)(g?.getReader)}},9470:(_t,ge,f)=>{"use strict";f.d(ge,{m:()=>r});var n=f(8071);function r(y){return y&&(0,n.T)(y.schedule)}},9974:(_t,ge,f)=>{"use strict";f.d(ge,{N:()=>y,S:()=>r});var n=f(8071);function r(F){return(0,n.T)(F?.lift)}function y(F){return g=>{if(r(g))return g.lift(function(A){try{return F(A,this)}catch(M){this.error(M)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(_t,ge,f)=>{"use strict";f.d(ge,{I:()=>F});var n=f(6354);const{isArray:r}=Array;function F(g){return(0,n.T)(A=>function y(g,A){return r(A)?g(...A):g(A)}(g,A))}},5343:(_t,ge,f)=>{"use strict";function n(){}f.d(ge,{l:()=>n})},1203:(_t,ge,f)=>{"use strict";f.d(ge,{F:()=>r,m:()=>y});var n=f(3669);function r(...F){return y(F)}function y(F){return 0===F.length?n.D:1===F.length?F[0]:function(A){return F.reduce((M,B)=>B(M),A)}}},5334:(_t,ge,f)=>{"use strict";f.d(ge,{m:()=>y});var n=f(1026),r=f(9270);function y(F){r.f.setTimeout(()=>{const{onUnhandledError:g}=n.$;if(!g)throw F;g(F)})}},591:(_t,ge,f)=>{"use strict";function n(r){return new TypeError(`You provided ${null!==r&&"object"==typeof r?"an invalid object":`'${r}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}f.d(ge,{L:()=>n})},7995:(_t,ge,f)=>{var n={"./barometer/en.json":[8845,845],"./barometer/et.json":[2443,443],"./barometer/ru.json":[1911,911],"./en.json":[7473],"./et.json":[3647],"./formalstudysubsidy/en.json":[9007,7],"./formalstudysubsidy/et.json":[9057,438],"./formalstudysubsidy/ru.json":[9145,145],"./helpdesk/en.json":[4826,826],"./helpdesk/et.json":[224,224],"./helpdesk/ru.json":[7244,244],"./joboffer/en.json":[9981,981],"./joboffer/et.json":[2187,187],"./joboffer/ru.json":[375,375],"./ru.json":[4787],"./selfservice/en.json":[3895,895],"./selfservice/et.json":[4057,57],"./selfservice/ru.json":[8513,513],"./serviceprovider/en.json":[7202,202],"./serviceprovider/et.json":[9448,448],"./serviceprovider/ru.json":[4756,756],"./training/en.json":[9530,530],"./training/et.json":[2288,288],"./training/ru.json":[7724,724]};function r(y){if(!f.o(n,y))return Promise.resolve().then(()=>{var A=new Error("Cannot find module '"+y+"'");throw A.code="MODULE_NOT_FOUND",A});var F=n[y],g=F[0];return Promise.all(F.slice(1).map(f.e)).then(()=>f.t(g,19))}r.keys=()=>Object.keys(n),r.id=7995,_t.exports=r},9969:(_t,ge,f)=>{"use strict";f.d(ge,{FX:()=>we,If:()=>n,K2:()=>A,MA:()=>U,Os:()=>g,P:()=>G,hZ:()=>y,i0:()=>F,i7:()=>V,iF:()=>M,kY:()=>T,kp:()=>r,sf:()=>se,ui:()=>Ae,wk:()=>B});var n=function(ue){return ue[ue.State=0]="State",ue[ue.Transition=1]="Transition",ue[ue.Sequence=2]="Sequence",ue[ue.Group=3]="Group",ue[ue.Animate=4]="Animate",ue[ue.Keyframes=5]="Keyframes",ue[ue.Style=6]="Style",ue[ue.Trigger=7]="Trigger",ue[ue.Reference=8]="Reference",ue[ue.AnimateChild=9]="AnimateChild",ue[ue.AnimateRef=10]="AnimateRef",ue[ue.Query=11]="Query",ue[ue.Stagger=12]="Stagger",ue}(n||{});const r="*";function y(ue,Oe){return{type:n.Trigger,name:ue,definitions:Oe,options:{}}}function F(ue,Oe=null){return{type:n.Animate,styles:Oe,timings:ue}}function g(ue,Oe=null){return{type:n.Group,steps:ue,options:Oe}}function A(ue,Oe=null){return{type:n.Sequence,steps:ue,options:Oe}}function M(ue){return{type:n.Style,styles:ue,offset:null}}function B(ue,Oe,Ye){return{type:n.State,name:ue,styles:Oe,options:Ye}}function V(ue){return{type:n.Keyframes,steps:ue}}function T(ue,Oe,Ye=null){return{type:n.Transition,expr:ue,animation:Oe,options:Ye}}function U(ue=null){return{type:n.AnimateChild,options:ue}}function G(ue,Oe,Ye=null){return{type:n.Query,selector:ue,animation:Oe,options:Ye}}class se{constructor(Oe=0,Ye=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=Oe+Ye}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Oe=>Oe()),this._onDoneFns=[])}onStart(Oe){this._originalOnStartFns.push(Oe),this._onStartFns.push(Oe)}onDone(Oe){this._originalOnDoneFns.push(Oe),this._onDoneFns.push(Oe)}onDestroy(Oe){this._onDestroyFns.push(Oe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Oe=>Oe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Oe=>Oe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Oe){this._position=this.totalTime?Oe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Oe){const Ye="start"==Oe?this._onStartFns:this._onDoneFns;Ye.forEach(yt=>yt()),Ye.length=0}}class Ae{constructor(Oe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Oe;let Ye=0,yt=0,Yt=0;const Vt=this.players.length;0==Vt?queueMicrotask(()=>this._onFinish()):this.players.forEach(qt=>{qt.onDone(()=>{++Ye==Vt&&this._onFinish()}),qt.onDestroy(()=>{++yt==Vt&&this._onDestroy()}),qt.onStart(()=>{++Yt==Vt&&this._onStart()})}),this.totalTime=this.players.reduce((qt,jt)=>Math.max(qt,jt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Oe=>Oe()),this._onDoneFns=[])}init(){this.players.forEach(Oe=>Oe.init())}onStart(Oe){this._onStartFns.push(Oe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Oe=>Oe()),this._onStartFns=[])}onDone(Oe){this._onDoneFns.push(Oe)}onDestroy(Oe){this._onDestroyFns.push(Oe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Oe=>Oe.play())}pause(){this.players.forEach(Oe=>Oe.pause())}restart(){this.players.forEach(Oe=>Oe.restart())}finish(){this._onFinish(),this.players.forEach(Oe=>Oe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Oe=>Oe.destroy()),this._onDestroyFns.forEach(Oe=>Oe()),this._onDestroyFns=[])}reset(){this.players.forEach(Oe=>Oe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Oe){const Ye=Oe*this.totalTime;this.players.forEach(yt=>{const Yt=yt.totalTime?Math.min(1,Ye/yt.totalTime):1;yt.setPosition(Yt)})}getPosition(){const Oe=this.players.reduce((Ye,yt)=>null===Ye||yt.totalTime>Ye.totalTime?yt:Ye,null);return null!=Oe?Oe.getPosition():0}beforeDestroy(){this.players.forEach(Oe=>{Oe.beforeDestroy&&Oe.beforeDestroy()})}triggerCallback(Oe){const Ye="start"==Oe?this._onStartFns:this._onDoneFns;Ye.forEach(yt=>yt()),Ye.length=0}}const we="!"},8617:(_t,ge,f)=>{"use strict";f.d(ge,{Ae:()=>He,Bu:()=>qt,FN:()=>Ii,GX:()=>pi,Pd:()=>Dn,Q_:()=>Cn,Z7:()=>Ot,_G:()=>an,kB:()=>hi,px:()=>dt,vR:()=>qn,vr:()=>Oe,w6:()=>me});var n=f(177),r=f(4438),y=f(6860),F=f(1413),g=f(8359),A=f(4412),M=f(7673),B=f(7336),V=f(8141),T=f(152),N=f(5964),U=f(6354),b=f(6697),G=f(5245),R=f(3294),ce=f(6977),J=f(2318),Se=f(4085),Ne=f(9327);const ot=" ";function dt(Re,Be,ee){const ye=Ge(Re,Be);ee=ee.trim(),!ye.some(at=>at.trim()===ee)&&(ye.push(ee),Re.setAttribute(Be,ye.join(ot)))}function He(Re,Be,ee){const ye=Ge(Re,Be);ee=ee.trim();const at=ye.filter(Wt=>Wt!==ee);at.length?Re.setAttribute(Be,at.join(ot)):Re.removeAttribute(Be)}function Ge(Re,Be){return Re.getAttribute(Be)?.match(/\S+/g)??[]}const Ae="cdk-describedby-message",we="cdk-describedby-host";let ue=0,Oe=(()=>{class Re{constructor(ee,ye){this._platform=ye,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+ue++,this._document=ee,this._id=(0,r.WQX)(r.sZ2)+"-"+ue++}describe(ee,ye,at){if(!this._canBeDescribed(ee,ye))return;const Wt=Ye(ye,at);"string"!=typeof ye?(yt(ye,this._id),this._messageRegistry.set(Wt,{messageElement:ye,referenceCount:0})):this._messageRegistry.has(Wt)||this._createMessageElement(ye,at),this._isElementDescribedByMessage(ee,Wt)||this._addMessageReference(ee,Wt)}removeDescription(ee,ye,at){if(!ye||!this._isElementNode(ee))return;const Wt=Ye(ye,at);if(this._isElementDescribedByMessage(ee,Wt)&&this._removeMessageReference(ee,Wt),"string"==typeof ye){const Et=this._messageRegistry.get(Wt);Et&&0===Et.referenceCount&&this._deleteMessageElement(Wt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const ee=this._document.querySelectorAll(`[${we}="${this._id}"]`);for(let ye=0;ye<ee.length;ye++)this._removeCdkDescribedByReferenceIds(ee[ye]),ee[ye].removeAttribute(we);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(ee,ye){const at=this._document.createElement("div");yt(at,this._id),at.textContent=ee,ye&&at.setAttribute("role",ye),this._createMessagesContainer(),this._messagesContainer.appendChild(at),this._messageRegistry.set(Ye(ee,ye),{messageElement:at,referenceCount:0})}_deleteMessageElement(ee){this._messageRegistry.get(ee)?.messageElement?.remove(),this._messageRegistry.delete(ee)}_createMessagesContainer(){if(this._messagesContainer)return;const ee="cdk-describedby-message-container",ye=this._document.querySelectorAll(`.${ee}[platform="server"]`);for(let Wt=0;Wt<ye.length;Wt++)ye[Wt].remove();const at=this._document.createElement("div");at.style.visibility="hidden",at.classList.add(ee),at.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&at.setAttribute("platform","server"),this._document.body.appendChild(at),this._messagesContainer=at}_removeCdkDescribedByReferenceIds(ee){const ye=Ge(ee,"aria-describedby").filter(at=>0!=at.indexOf(Ae));ee.setAttribute("aria-describedby",ye.join(" "))}_addMessageReference(ee,ye){const at=this._messageRegistry.get(ye);dt(ee,"aria-describedby",at.messageElement.id),ee.setAttribute(we,this._id),at.referenceCount++}_removeMessageReference(ee,ye){const at=this._messageRegistry.get(ye);at.referenceCount--,He(ee,"aria-describedby",at.messageElement.id),ee.removeAttribute(we)}_isElementDescribedByMessage(ee,ye){const at=Ge(ee,"aria-describedby"),Wt=this._messageRegistry.get(ye),Et=Wt&&Wt.messageElement.id;return!!Et&&-1!=at.indexOf(Et)}_canBeDescribed(ee,ye){if(!this._isElementNode(ee))return!1;if(ye&&"object"==typeof ye)return!0;const at=null==ye?"":`${ye}`.trim(),Wt=ee.getAttribute("aria-label");return!(!at||Wt&&Wt.trim()===at)}_isElementNode(ee){return ee.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(ye){return new(ye||Re)(r.KVO(n.qQ),r.KVO(y.OD))};static#t=this.\u0275prov=r.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})();function Ye(Re,Be){return"string"==typeof Re?`${Be||""}/${Re}`:Re}function yt(Re,Be){Re.id||(Re.id=`${Ae}-${Be}-${ue++}`)}class Yt{constructor(Be,ee){this._items=Be,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new F.B,this._typeaheadSubscription=g.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=ye=>ye.disabled,this._pressedLetters=[],this.tabOut=new F.B,this.change=new F.B,Be instanceof r.rOR?this._itemChangesSubscription=Be.changes.subscribe(ye=>this._itemsChanged(ye.toArray())):(0,r.Hps)(Be)&&(this._effectRef=(0,r.QZP)(()=>this._itemsChanged(Be()),{injector:ee}))}skipPredicate(Be){return this._skipPredicateFn=Be,this}withWrap(Be=!0){return this._wrap=Be,this}withVerticalOrientation(Be=!0){return this._vertical=Be,this}withHorizontalOrientation(Be){return this._horizontal=Be,this}withAllowedModifierKeys(Be){return this._allowedModifierKeys=Be,this}withTypeAhead(Be=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,V.M)(ee=>this._pressedLetters.push(ee)),(0,T.B)(Be),(0,N.p)(()=>this._pressedLetters.length>0),(0,U.T)(()=>this._pressedLetters.join(""))).subscribe(ee=>{const ye=this._getItemsArray();for(let at=1;at<ye.length+1;at++){const Wt=(this._activeItemIndex+at)%ye.length,Et=ye[Wt];if(!this._skipPredicateFn(Et)&&0===Et.getLabel().toUpperCase().trim().indexOf(ee)){this.setActiveItem(Wt);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(Be=!0){return this._homeAndEnd=Be,this}withPageUpDown(Be=!0,ee=10){return this._pageUpAndDown={enabled:Be,delta:ee},this}setActiveItem(Be){const ee=this._activeItem;this.updateActiveItem(Be),this._activeItem!==ee&&this.change.next(this._activeItemIndex)}onKeydown(Be){const ee=Be.keyCode,at=["altKey","ctrlKey","metaKey","shiftKey"].every(Wt=>!Be[Wt]||this._allowedModifierKeys.indexOf(Wt)>-1);switch(ee){case B.wn:return void this.tabOut.next();case B.n6:if(this._vertical&&at){this.setNextItemActive();break}return;case B.i7:if(this._vertical&&at){this.setPreviousItemActive();break}return;case B.LE:if(this._horizontal&&at){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case B.UQ:if(this._horizontal&&at){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case B.yZ:if(this._homeAndEnd&&at){this.setFirstItemActive();break}return;case B.Kp:if(this._homeAndEnd&&at){this.setLastItemActive();break}return;case B.w_:if(this._pageUpAndDown.enabled&&at){const Wt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Wt>0?Wt:0,1);break}return;case B.dB:if(this._pageUpAndDown.enabled&&at){const Wt=this._activeItemIndex+this._pageUpAndDown.delta,Et=this._getItemsArray().length;this._setActiveItemByIndex(Wt<Et?Wt:Et-1,-1);break}return;default:return void((at||(0,B.rp)(Be,"shiftKey"))&&(Be.key&&1===Be.key.length?this._letterKeyStream.next(Be.key.toLocaleUpperCase()):(ee>=B.A&&ee<=B.Z||ee>=B.f2&&ee<=B.bn)&&this._letterKeyStream.next(String.fromCharCode(ee))))}this._pressedLetters=[],Be.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(Be){const ee=this._getItemsArray(),ye="number"==typeof Be?Be:ee.indexOf(Be);this._activeItem=ee[ye]??null,this._activeItemIndex=ye}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Be){this._wrap?this._setActiveInWrapMode(Be):this._setActiveInDefaultMode(Be)}_setActiveInWrapMode(Be){const ee=this._getItemsArray();for(let ye=1;ye<=ee.length;ye++){const at=(this._activeItemIndex+Be*ye+ee.length)%ee.length;if(!this._skipPredicateFn(ee[at]))return void this.setActiveItem(at)}}_setActiveInDefaultMode(Be){this._setActiveItemByIndex(this._activeItemIndex+Be,Be)}_setActiveItemByIndex(Be,ee){const ye=this._getItemsArray();if(ye[Be]){for(;this._skipPredicateFn(ye[Be]);)if(!ye[Be+=ee])return;this.setActiveItem(Be)}}_getItemsArray(){return(0,r.Hps)(this._items)?this._items():this._items instanceof r.rOR?this._items.toArray():this._items}_itemsChanged(Be){if(this._activeItem){const ee=Be.indexOf(this._activeItem);ee>-1&&ee!==this._activeItemIndex&&(this._activeItemIndex=ee)}}}class qt extends Yt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Be){return this._origin=Be,this}setActiveItem(Be){super.setActiveItem(Be),this.activeItem&&this.activeItem.focus(this._origin)}}let Ot=(()=>{class Re{constructor(ee){this._platform=ee}isDisabled(ee){return ee.hasAttribute("disabled")}isVisible(ee){return function ut(Re){return!!(Re.offsetWidth||Re.offsetHeight||"function"==typeof Re.getClientRects&&Re.getClientRects().length)}(ee)&&"visible"===getComputedStyle(ee).visibility}isTabbable(ee){if(!this._platform.isBrowser)return!1;const ye=function nt(Re){try{return Re.frameElement}catch{return null}}(function ei(Re){return Re.ownerDocument&&Re.ownerDocument.defaultView||window}(ee));if(ye&&(-1===et(ye)||!this.isVisible(ye)))return!1;let at=ee.nodeName.toLowerCase(),Wt=et(ee);return ee.hasAttribute("contenteditable")?-1!==Wt:!("iframe"===at||"object"===at||this._platform.WEBKIT&&this._platform.IOS&&!function Pt(Re){let Be=Re.nodeName.toLowerCase(),ee="input"===Be&&Re.type;return"text"===ee||"password"===ee||"select"===Be||"textarea"===Be}(ee))&&("audio"===at?!!ee.hasAttribute("controls")&&-1!==Wt:"video"===at?-1!==Wt&&(null!==Wt||this._platform.FIREFOX||ee.hasAttribute("controls")):ee.tabIndex>=0)}isFocusable(ee,ye){return function Fn(Re){return!function rt(Re){return function Le(Re){return"input"==Re.nodeName.toLowerCase()}(Re)&&"hidden"==Re.type}(Re)&&(function tt(Re){let Be=Re.nodeName.toLowerCase();return"input"===Be||"select"===Be||"button"===Be||"textarea"===Be}(Re)||function Ft(Re){return function pe(Re){return"a"==Re.nodeName.toLowerCase()}(Re)&&Re.hasAttribute("href")}(Re)||Re.hasAttribute("contenteditable")||Pe(Re))}(ee)&&!this.isDisabled(ee)&&(ye?.ignoreVisibility||this.isVisible(ee))}static#e=this.\u0275fac=function(ye){return new(ye||Re)(r.KVO(y.OD))};static#t=this.\u0275prov=r.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})();function Pe(Re){if(!Re.hasAttribute("tabindex")||void 0===Re.tabIndex)return!1;let Be=Re.getAttribute("tabindex");return!(!Be||isNaN(parseInt(Be,10)))}function et(Re){if(!Pe(Re))return null;const Be=parseInt(Re.getAttribute("tabindex")||"",10);return isNaN(Be)?-1:Be}class gn{get enabled(){return this._enabled}set enabled(Be){this._enabled=Be,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Be,this._startAnchor),this._toggleAnchorTabIndex(Be,this._endAnchor))}constructor(Be,ee,ye,at,Wt=!1){this._element=Be,this._checker=ee,this._ngZone=ye,this._document=at,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Wt||this.attachAnchors()}destroy(){const Be=this._startAnchor,ee=this._endAnchor;Be&&(Be.removeEventListener("focus",this.startAnchorListener),Be.remove()),ee&&(ee.removeEventListener("focus",this.endAnchorListener),ee.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(Be){return new Promise(ee=>{this._executeOnStable(()=>ee(this.focusInitialElement(Be)))})}focusFirstTabbableElementWhenReady(Be){return new Promise(ee=>{this._executeOnStable(()=>ee(this.focusFirstTabbableElement(Be)))})}focusLastTabbableElementWhenReady(Be){return new Promise(ee=>{this._executeOnStable(()=>ee(this.focusLastTabbableElement(Be)))})}_getRegionBoundary(Be){const ee=this._element.querySelectorAll(`[cdk-focus-region-${Be}], [cdkFocusRegion${Be}], [cdk-focus-${Be}]`);return"start"==Be?ee.length?ee[0]:this._getFirstTabbableElement(this._element):ee.length?ee[ee.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Be){const ee=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(ee){if(!this._checker.isFocusable(ee)){const ye=this._getFirstTabbableElement(ee);return ye?.focus(Be),!!ye}return ee.focus(Be),!0}return this.focusFirstTabbableElement(Be)}focusFirstTabbableElement(Be){const ee=this._getRegionBoundary("start");return ee&&ee.focus(Be),!!ee}focusLastTabbableElement(Be){const ee=this._getRegionBoundary("end");return ee&&ee.focus(Be),!!ee}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Be){if(this._checker.isFocusable(Be)&&this._checker.isTabbable(Be))return Be;const ee=Be.children;for(let ye=0;ye<ee.length;ye++){const at=ee[ye].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(ee[ye]):null;if(at)return at}return null}_getLastTabbableElement(Be){if(this._checker.isFocusable(Be)&&this._checker.isTabbable(Be))return Be;const ee=Be.children;for(let ye=ee.length-1;ye>=0;ye--){const at=ee[ye].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(ee[ye]):null;if(at)return at}return null}_createAnchor(){const Be=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Be),Be.classList.add("cdk-visually-hidden"),Be.classList.add("cdk-focus-trap-anchor"),Be.setAttribute("aria-hidden","true"),Be}_toggleAnchorTabIndex(Be,ee){Be?ee.setAttribute("tabindex","0"):ee.removeAttribute("tabindex")}toggleAnchors(Be){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Be,this._startAnchor),this._toggleAnchorTabIndex(Be,this._endAnchor))}_executeOnStable(Be){this._ngZone.isStable?Be():this._ngZone.onStable.pipe((0,b.s)(1)).subscribe(Be)}}let pi=(()=>{class Re{constructor(ee,ye,at){this._checker=ee,this._ngZone=ye,this._document=at}create(ee,ye=!1){return new gn(ee,this._checker,this._ngZone,this._document,ye)}static#e=this.\u0275fac=function(ye){return new(ye||Re)(r.KVO(Ot),r.KVO(r.SKi),r.KVO(n.qQ))};static#t=this.\u0275prov=r.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})(),hi=(()=>{class Re{get enabled(){return this.focusTrap?.enabled||!1}set enabled(ee){this.focusTrap&&(this.focusTrap.enabled=ee)}constructor(ee,ye,at){this._elementRef=ee,this._focusTrapFactory=ye,this._previouslyFocusedElement=null,(0,r.WQX)(y.OD).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(ee){const ye=ee.autoCapture;ye&&!ye.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,y.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(ye){return new(ye||Re)(r.rXU(r.aKT),r.rXU(pi),r.rXU(n.qQ))};static#t=this.\u0275dir=r.FsC({type:Re,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[r.Mj6.HasDecoratorInputTransform,"cdkTrapFocus","enabled",r.L39],autoCapture:[r.Mj6.HasDecoratorInputTransform,"cdkTrapFocusAutoCapture","autoCapture",r.L39]},exportAs:["cdkTrapFocus"],standalone:!0,features:[r.GFd,r.OA$]})}return Re})();function an(Re){return 0===Re.buttons||0===Re.detail}function me(Re){const Be=Re.touches&&Re.touches[0]||Re.changedTouches&&Re.changedTouches[0];return!(!Be||-1!==Be.identifier||null!=Be.radiusX&&1!==Be.radiusX||null!=Be.radiusY&&1!==Be.radiusY)}const Ue=new r.nKC("cdk-input-modality-detector-options"),st={ignoreKeys:[B.A$,B.W3,B.eg,B.Ge,B.FX]},Lt=(0,y.BQ)({passive:!0,capture:!0});let fn=(()=>{class Re{get mostRecentModality(){return this._modality.value}constructor(ee,ye,at,Wt){this._platform=ee,this._mostRecentTarget=null,this._modality=new A.t(null),this._lastTouchMs=0,this._onKeydown=Et=>{this._options?.ignoreKeys?.some(Dt=>Dt===Et.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,y.Fb)(Et))},this._onMousedown=Et=>{Date.now()-this._lastTouchMs<650||(this._modality.next(an(Et)?"keyboard":"mouse"),this._mostRecentTarget=(0,y.Fb)(Et))},this._onTouchstart=Et=>{me(Et)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,y.Fb)(Et))},this._options={...st,...Wt},this.modalityDetected=this._modality.pipe((0,G.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,R.F)()),ee.isBrowser&&ye.runOutsideAngular(()=>{at.addEventListener("keydown",this._onKeydown,Lt),at.addEventListener("mousedown",this._onMousedown,Lt),at.addEventListener("touchstart",this._onTouchstart,Lt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Lt),document.removeEventListener("mousedown",this._onMousedown,Lt),document.removeEventListener("touchstart",this._onTouchstart,Lt))}static#e=this.\u0275fac=function(ye){return new(ye||Re)(r.KVO(y.OD),r.KVO(r.SKi),r.KVO(n.qQ),r.KVO(Ue,8))};static#t=this.\u0275prov=r.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})();var Tn=function(Re){return Re[Re.IMMEDIATE=0]="IMMEDIATE",Re[Re.EVENTUAL=1]="EVENTUAL",Re}(Tn||{});const Xn=new r.nKC("cdk-focus-monitor-default-options"),Bn=(0,y.BQ)({passive:!0,capture:!0});let Ii=(()=>{class Re{constructor(ee,ye,at,Wt,Et){this._ngZone=ee,this._platform=ye,this._inputModalityDetector=at,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 F.B,this._rootNodeFocusAndBlurListener=Dt=>{for(let Mt=(0,y.Fb)(Dt);Mt;Mt=Mt.parentElement)"focus"===Dt.type?this._onFocus(Dt,Mt):this._onBlur(Dt,Mt)},this._document=Wt,this._detectionMode=Et?.detectionMode||Tn.IMMEDIATE}monitor(ee,ye=!1){const at=(0,Se.i8)(ee);if(!this._platform.isBrowser||1!==at.nodeType)return(0,M.of)();const Wt=(0,y.KT)(at)||this._getDocument(),Et=this._elementInfo.get(at);if(Et)return ye&&(Et.checkChildren=!0),Et.subject;const Dt={checkChildren:ye,subject:new F.B,rootNode:Wt};return this._elementInfo.set(at,Dt),this._registerGlobalListeners(Dt),Dt.subject}stopMonitoring(ee){const ye=(0,Se.i8)(ee),at=this._elementInfo.get(ye);at&&(at.subject.complete(),this._setClasses(ye),this._elementInfo.delete(ye),this._removeGlobalListeners(at))}focusVia(ee,ye,at){const Wt=(0,Se.i8)(ee);Wt===this._getDocument().activeElement?this._getClosestElementsInfo(Wt).forEach(([Dt,Qe])=>this._originChanged(Dt,ye,Qe)):(this._setOrigin(ye),"function"==typeof Wt.focus&&Wt.focus(at))}ngOnDestroy(){this._elementInfo.forEach((ee,ye)=>this.stopMonitoring(ye))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(ee){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ee)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ee&&this._isLastInteractionFromInputLabel(ee)?"mouse":"program"}_shouldBeAttributedToTouch(ee){return this._detectionMode===Tn.EVENTUAL||!!ee?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ee,ye){ee.classList.toggle("cdk-focused",!!ye),ee.classList.toggle("cdk-touch-focused","touch"===ye),ee.classList.toggle("cdk-keyboard-focused","keyboard"===ye),ee.classList.toggle("cdk-mouse-focused","mouse"===ye),ee.classList.toggle("cdk-program-focused","program"===ye)}_setOrigin(ee,ye=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ee,this._originFromTouchInteraction="touch"===ee&&ye,this._detectionMode===Tn.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ee,ye){const at=this._elementInfo.get(ye),Wt=(0,y.Fb)(ee);!at||!at.checkChildren&&ye!==Wt||this._originChanged(ye,this._getFocusOrigin(Wt),at)}_onBlur(ee,ye){const at=this._elementInfo.get(ye);!at||at.checkChildren&&ee.relatedTarget instanceof Node&&ye.contains(ee.relatedTarget)||(this._setClasses(ye),this._emitOrigin(at,null))}_emitOrigin(ee,ye){ee.subject.observers.length&&this._ngZone.run(()=>ee.subject.next(ye))}_registerGlobalListeners(ee){if(!this._platform.isBrowser)return;const ye=ee.rootNode,at=this._rootNodeFocusListenerCount.get(ye)||0;at||this._ngZone.runOutsideAngular(()=>{ye.addEventListener("focus",this._rootNodeFocusAndBlurListener,Bn),ye.addEventListener("blur",this._rootNodeFocusAndBlurListener,Bn)}),this._rootNodeFocusListenerCount.set(ye,at+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ce.Q)(this._stopInputModalityDetector)).subscribe(Wt=>{this._setOrigin(Wt,!0)}))}_removeGlobalListeners(ee){const ye=ee.rootNode;if(this._rootNodeFocusListenerCount.has(ye)){const at=this._rootNodeFocusListenerCount.get(ye);at>1?this._rootNodeFocusListenerCount.set(ye,at-1):(ye.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Bn),ye.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Bn),this._rootNodeFocusListenerCount.delete(ye))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ee,ye,at){this._setClasses(ee,ye),this._emitOrigin(at,ye),this._lastFocusOrigin=ye}_getClosestElementsInfo(ee){const ye=[];return this._elementInfo.forEach((at,Wt)=>{(Wt===ee||at.checkChildren&&Wt.contains(ee))&&ye.push([Wt,at])}),ye}_isLastInteractionFromInputLabel(ee){const{_mostRecentTarget:ye,mostRecentModality:at}=this._inputModalityDetector;if("mouse"!==at||!ye||ye===ee||"INPUT"!==ee.nodeName&&"TEXTAREA"!==ee.nodeName||ee.disabled)return!1;const Wt=ee.labels;if(Wt)for(let Et=0;Et<Wt.length;Et++)if(Wt[Et].contains(ye))return!0;return!1}static#e=this.\u0275fac=function(ye){return new(ye||Re)(r.KVO(r.SKi),r.KVO(y.OD),r.KVO(fn),r.KVO(n.qQ,8),r.KVO(Xn,8))};static#t=this.\u0275prov=r.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})(),qn=(()=>{class Re{constructor(ee,ye){this._elementRef=ee,this._focusMonitor=ye,this._focusOrigin=null,this.cdkFocusChange=new r.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ee=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ee,1===ee.nodeType&&ee.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(ye=>{this._focusOrigin=ye,this.cdkFocusChange.emit(ye)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(ye){return new(ye||Re)(r.rXU(r.aKT),r.rXU(Ii))};static#t=this.\u0275dir=r.FsC({type:Re,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}return Re})();var Qi=function(Re){return Re[Re.NONE=0]="NONE",Re[Re.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",Re[Re.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",Re}(Qi||{});const sn="cdk-high-contrast-black-on-white",oi="cdk-high-contrast-white-on-black",Zt="cdk-high-contrast-active";let Cn=(()=>{class Re{constructor(ee,ye){this._platform=ee,this._document=ye,this._breakpointSubscription=(0,r.WQX)(Ne.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Qi.NONE;const ee=this._document.createElement("div");ee.style.backgroundColor="rgb(1,2,3)",ee.style.position="absolute",this._document.body.appendChild(ee);const ye=this._document.defaultView||window,at=ye&&ye.getComputedStyle?ye.getComputedStyle(ee):null,Wt=(at&&at.backgroundColor||"").replace(/ /g,"");switch(ee.remove(),Wt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Qi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Qi.BLACK_ON_WHITE}return Qi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const ee=this._document.body.classList;ee.remove(Zt,sn,oi),this._hasCheckedHighContrastMode=!0;const ye=this.getHighContrastMode();ye===Qi.BLACK_ON_WHITE?ee.add(Zt,sn):ye===Qi.WHITE_ON_BLACK&&ee.add(Zt,oi)}}static#e=this.\u0275fac=function(ye){return new(ye||Re)(r.KVO(y.OD),r.KVO(n.qQ))};static#t=this.\u0275prov=r.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})(),Dn=(()=>{class Re{constructor(ee){ee._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(ye){return new(ye||Re)(r.KVO(Cn))};static#t=this.\u0275mod=r.$C({type:Re});static#n=this.\u0275inj=r.G2t({imports:[J.w5]})}return Re})()},8203:(_t,ge,f)=>{"use strict";f.d(ge,{dS:()=>M,jI:()=>V});var n=f(4438),r=f(177);const y=new n.nKC("cdk-dir-doc",{providedIn:"root",factory:function F(){return(0,n.WQX)(r.qQ)}}),g=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let M=(()=>{class T{constructor(U){this.value="ltr",this.change=new n.bkB,U&&(this.value=function A(T){const N=T?.toLowerCase()||"";return"auto"===N&&typeof navigator<"u"&&navigator?.language?g.test(navigator.language)?"rtl":"ltr":"rtl"===N?"rtl":"ltr"}((U.body?U.body.dir:null)||(U.documentElement?U.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(b){return new(b||T)(n.KVO(y,8))};static#t=this.\u0275prov=n.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})(),V=(()=>{class T{static#e=this.\u0275fac=function(b){return new(b||T)};static#t=this.\u0275mod=n.$C({type:T});static#n=this.\u0275inj=n.G2t({})}return T})()},4085:(_t,ge,f)=>{"use strict";f.d(ge,{FG:()=>g,OE:()=>y,a1:()=>A,cc:()=>B,he:()=>r,i8:()=>M});var n=f(4438);function r(V){return null!=V&&"false"!=`${V}`}function y(V,T=0){return function F(V){return!isNaN(parseFloat(V))&&!isNaN(Number(V))}(V)?Number(V):T}function g(V){return Array.isArray(V)?V:[V]}function A(V){return null==V?"":"string"==typeof V?V:`${V}px`}function M(V){return V instanceof n.aKT?V.nativeElement:V}function B(V,T=/\s+/){const N=[];if(null!=V){const U=Array.isArray(V)?V:`${V}`.split(T);for(const b of U){const G=`${b}`.trim();G&&N.push(G)}}return N}},7336:(_t,ge,f)=>{"use strict";f.d(ge,{A:()=>rt,A$:()=>B,FX:()=>A,Fm:()=>g,Ge:()=>En,Kp:()=>R,LE:()=>Ne,UQ:()=>J,W3:()=>M,Z:()=>Kt,_f:()=>N,bn:()=>jt,dB:()=>G,eg:()=>Kn,f2:()=>Ae,i7:()=>Se,n6:()=>ot,rp:()=>Qn,t6:()=>U,w_:()=>b,wn:()=>y,yZ:()=>ce});const y=9,g=13,A=16,M=17,B=18,N=27,U=32,b=33,G=34,R=35,ce=36,J=37,Se=38,Ne=39,ot=40,Ae=48,jt=57,rt=65,Kt=90,En=91,Kn=224;function Qn(ni,...Ni){return Ni.length?Ni.some(Ui=>ni[Ui]):ni.altKey||ni.shiftKey||ni.ctrlKey||ni.metaKey}},9327:(_t,ge,f)=>{"use strict";f.d(ge,{QP:()=>ot});var n=f(4438),r=f(4085),y=f(1413),F=f(4572),g=f(8793),A=f(1985),M=f(6697),B=f(5245),V=f(152),T=f(6354),N=f(9172),U=f(6977),b=f(6860);const R=new Set;let ce,J=(()=>{class Ge{constructor(Ae,we){this._platform=Ae,this._nonce=we,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ne}matchMedia(Ae){return(this._platform.WEBKIT||this._platform.BLINK)&&function Se(Ge,se){if(!R.has(Ge))try{ce||(ce=document.createElement("style"),se&&ce.setAttribute("nonce",se),ce.setAttribute("type","text/css"),document.head.appendChild(ce)),ce.sheet&&(ce.sheet.insertRule(`@media ${Ge} {body{ }}`,0),R.add(Ge))}catch(Ae){console.error(Ae)}}(Ae,this._nonce),this._matchMedia(Ae)}static#e=this.\u0275fac=function(we){return new(we||Ge)(n.KVO(b.OD),n.KVO(n.BIS,8))};static#t=this.\u0275prov=n.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"})}return Ge})();function Ne(Ge){return{matches:"all"===Ge||""===Ge,media:Ge,addListener:()=>{},removeListener:()=>{}}}let ot=(()=>{class Ge{constructor(Ae,we){this._mediaMatcher=Ae,this._zone=we,this._queries=new Map,this._destroySubject=new y.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Ae){return dt((0,r.FG)(Ae)).some(ue=>this._registerQuery(ue).mql.matches)}observe(Ae){const ue=dt((0,r.FG)(Ae)).map(Ye=>this._registerQuery(Ye).observable);let Oe=(0,F.z)(ue);return Oe=(0,g.x)(Oe.pipe((0,M.s)(1)),Oe.pipe((0,B.i)(1),(0,V.B)(0))),Oe.pipe((0,T.T)(Ye=>{const yt={matches:!1,breakpoints:{}};return Ye.forEach(({matches:Yt,query:Vt})=>{yt.matches=yt.matches||Yt,yt.breakpoints[Vt]=Yt}),yt}))}_registerQuery(Ae){if(this._queries.has(Ae))return this._queries.get(Ae);const we=this._mediaMatcher.matchMedia(Ae),Oe={observable:new A.c(Ye=>{const yt=Yt=>this._zone.run(()=>Ye.next(Yt));return we.addListener(yt),()=>{we.removeListener(yt)}}).pipe((0,N.Z)(we),(0,T.T)(({matches:Ye})=>({query:Ae,matches:Ye})),(0,U.Q)(this._destroySubject)),mql:we};return this._queries.set(Ae,Oe),Oe}static#e=this.\u0275fac=function(we){return new(we||Ge)(n.KVO(J),n.KVO(n.SKi))};static#t=this.\u0275prov=n.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"})}return Ge})();function dt(Ge){return Ge.map(se=>se.split(",")).reduce((se,Ae)=>se.concat(Ae)).map(se=>se.trim())}},2318:(_t,ge,f)=>{"use strict";f.d(ge,{w5:()=>A});var n=f(4438);let y=(()=>{class M{create(V){return typeof MutationObserver>"u"?null:new MutationObserver(V)}static#e=this.\u0275fac=function(T){return new(T||M)};static#t=this.\u0275prov=n.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),A=(()=>{class M{static#e=this.\u0275fac=function(T){return new(T||M)};static#t=this.\u0275mod=n.$C({type:M});static#n=this.\u0275inj=n.G2t({providers:[y]})}return M})()},7987:(_t,ge,f)=>{"use strict";f.d(ge,{Sf:()=>Vt,hJ:()=>ei,rR:()=>Ge,rW:()=>nt,yY:()=>qt,z_:()=>Zi});var n=f(5478),r=f(177),y=f(4438),F=f(4085),g=f(6860),A=f(5964),M=f(6697),B=f(6977),V=f(8203),T=f(6939),N=f(1413),U=f(8359),b=f(7786);const G=(0,g.CZ)();class R{constructor(me,Ue){this._viewportRuler=me,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ue}attach(){}enable(){if(this._canBeEnabled()){const me=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=me.style.left||"",this._previousHTMLStyles.top=me.style.top||"",me.style.left=(0,F.a1)(-this._previousScrollPosition.left),me.style.top=(0,F.a1)(-this._previousScrollPosition.top),me.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const me=this._document.documentElement,st=me.style,zt=this._document.body.style,Lt=st.scrollBehavior||"",fn=zt.scrollBehavior||"";this._isEnabled=!1,st.left=this._previousHTMLStyles.left,st.top=this._previousHTMLStyles.top,me.classList.remove("cdk-global-scrollblock"),G&&(st.scrollBehavior=zt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),G&&(st.scrollBehavior=Lt,zt.scrollBehavior=fn)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ue=this._document.body,st=this._viewportRuler.getViewportSize();return Ue.scrollHeight>st.height||Ue.scrollWidth>st.width}}class J{constructor(me,Ue,st,zt){this._scrollDispatcher=me,this._ngZone=Ue,this._viewportRuler=st,this._config=zt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(me){this._overlayRef=me}enable(){if(this._scrollSubscription)return;const me=this._scrollDispatcher.scrolled(0).pipe((0,A.p)(Ue=>!Ue||!this._overlayRef.overlayElement.contains(Ue.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=me.subscribe(()=>{const Ue=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ue-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=me.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Se{enable(){}disable(){}attach(){}}function Ne(an,me){return me.some(Ue=>an.bottom<Ue.top||an.top>Ue.bottom||an.right<Ue.left||an.left>Ue.right)}function ot(an,me){return me.some(Ue=>an.top<Ue.top||an.bottom>Ue.bottom||an.left<Ue.left||an.right>Ue.right)}class dt{constructor(me,Ue,st,zt){this._scrollDispatcher=me,this._viewportRuler=Ue,this._ngZone=st,this._config=zt,this._scrollSubscription=null}attach(me){this._overlayRef=me}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 Ue=this._overlayRef.overlayElement.getBoundingClientRect(),{width:st,height:zt}=this._viewportRuler.getViewportSize();Ne(Ue,[{width:st,height:zt,bottom:zt,right:st,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 He=(()=>{class an{constructor(Ue,st,zt,Lt){this._scrollDispatcher=Ue,this._viewportRuler=st,this._ngZone=zt,this.noop=()=>new Se,this.close=fn=>new J(this._scrollDispatcher,this._ngZone,this._viewportRuler,fn),this.block=()=>new R(this._viewportRuler,this._document),this.reposition=fn=>new dt(this._scrollDispatcher,this._viewportRuler,this._ngZone,fn),this._document=Lt}static#e=this.\u0275fac=function(st){return new(st||an)(y.KVO(n.R),y.KVO(n.Xj),y.KVO(y.SKi),y.KVO(r.qQ))};static#t=this.\u0275prov=y.jDH({token:an,factory:an.\u0275fac,providedIn:"root"})}return an})();class Ge{constructor(me){if(this.scrollStrategy=new Se,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,me){const Ue=Object.keys(me);for(const st of Ue)void 0!==me[st]&&(this[st]=me[st])}}}class we{constructor(me,Ue){this.connectionPair=me,this.scrollableViewProperties=Ue}}let Ye=(()=>{class an{constructor(Ue){this._attachedOverlays=[],this._document=Ue}ngOnDestroy(){this.detach()}add(Ue){this.remove(Ue),this._attachedOverlays.push(Ue)}remove(Ue){const st=this._attachedOverlays.indexOf(Ue);st>-1&&this._attachedOverlays.splice(st,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(st){return new(st||an)(y.KVO(r.qQ))};static#t=this.\u0275prov=y.jDH({token:an,factory:an.\u0275fac,providedIn:"root"})}return an})(),yt=(()=>{class an extends Ye{constructor(Ue,st){super(Ue),this._ngZone=st,this._keydownListener=zt=>{const Lt=this._attachedOverlays;for(let fn=Lt.length-1;fn>-1;fn--)if(Lt[fn]._keydownEvents.observers.length>0){const jn=Lt[fn]._keydownEvents;this._ngZone?this._ngZone.run(()=>jn.next(zt)):jn.next(zt);break}}}add(Ue){super.add(Ue),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)}static#e=this.\u0275fac=function(st){return new(st||an)(y.KVO(r.qQ),y.KVO(y.SKi,8))};static#t=this.\u0275prov=y.jDH({token:an,factory:an.\u0275fac,providedIn:"root"})}return an})(),Yt=(()=>{class an extends Ye{constructor(Ue,st,zt){super(Ue),this._platform=st,this._ngZone=zt,this._cursorStyleIsSet=!1,this._pointerDownListener=Lt=>{this._pointerDownEventTarget=(0,g.Fb)(Lt)},this._clickListener=Lt=>{const fn=(0,g.Fb)(Lt),jn="click"===Lt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:fn;this._pointerDownEventTarget=null;const Kt=this._attachedOverlays.slice();for(let En=Kt.length-1;En>-1;En--){const ft=Kt[En];if(ft._outsidePointerEvents.observers.length<1||!ft.hasAttached())continue;if(ft.overlayElement.contains(fn)||ft.overlayElement.contains(jn))break;const Tt=ft._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Tt.next(Lt)):Tt.next(Lt)}}}add(Ue){if(super.add(Ue),!this._isAttached){const st=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(st)):this._addEventListeners(st),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=st.style.cursor,st.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ue=this._document.body;Ue.removeEventListener("pointerdown",this._pointerDownListener,!0),Ue.removeEventListener("click",this._clickListener,!0),Ue.removeEventListener("auxclick",this._clickListener,!0),Ue.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ue.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ue){Ue.addEventListener("pointerdown",this._pointerDownListener,!0),Ue.addEventListener("click",this._clickListener,!0),Ue.addEventListener("auxclick",this._clickListener,!0),Ue.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(st){return new(st||an)(y.KVO(r.qQ),y.KVO(g.OD),y.KVO(y.SKi,8))};static#t=this.\u0275prov=y.jDH({token:an,factory:an.\u0275fac,providedIn:"root"})}return an})(),Vt=(()=>{class an{constructor(Ue,st){this._platform=st,this._document=Ue}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ue="cdk-overlay-container";if(this._platform.isBrowser||(0,g.v8)()){const zt=this._document.querySelectorAll(`.${Ue}[platform="server"], .${Ue}[platform="test"]`);for(let Lt=0;Lt<zt.length;Lt++)zt[Lt].remove()}const st=this._document.createElement("div");st.classList.add(Ue),(0,g.v8)()?st.setAttribute("platform","test"):this._platform.isBrowser||st.setAttribute("platform","server"),this._document.body.appendChild(st),this._containerElement=st}static#e=this.\u0275fac=function(st){return new(st||an)(y.KVO(r.qQ),y.KVO(g.OD))};static#t=this.\u0275prov=y.jDH({token:an,factory:an.\u0275fac,providedIn:"root"})}return an})();class qt{constructor(me,Ue,st,zt,Lt,fn,jn,Kt,En,ft=!1){this._portalOutlet=me,this._host=Ue,this._pane=st,this._config=zt,this._ngZone=Lt,this._keyboardDispatcher=fn,this._document=jn,this._location=Kt,this._outsideClickDispatcher=En,this._animationsDisabled=ft,this._backdropElement=null,this._backdropClick=new N.B,this._attachments=new N.B,this._detachments=new N.B,this._locationChanges=U.yU.EMPTY,this._backdropClickHandler=Tt=>this._backdropClick.next(Tt),this._backdropTransitionendHandler=Tt=>{this._disposeBackdrop(Tt.target)},this._keydownEvents=new N.B,this._outsidePointerEvents=new N.B,zt.scrollStrategy&&(this._scrollStrategy=zt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=zt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(me){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ue=this._portalOutlet.attach(me);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,M.s)(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 Ue?.onDestroy&&Ue.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ue}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const me=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),me}dispose(){const me=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,me&&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(me){me!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=me,this.hasAttached()&&(me.attach(this),this.updatePosition()))}updateSize(me){this._config={...this._config,...me},this._updateElementSize()}setDirection(me){this._config={...this._config,direction:me},this._updateElementDirection()}addPanelClass(me){this._pane&&this._toggleClasses(this._pane,me,!0)}removePanelClass(me){this._pane&&this._toggleClasses(this._pane,me,!1)}getDirection(){const me=this._config.direction;return me?"string"==typeof me?me:me.value:"ltr"}updateScrollStrategy(me){me!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=me,this.hasAttached()&&(me.attach(this),me.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const me=this._pane.style;me.width=(0,F.a1)(this._config.width),me.height=(0,F.a1)(this._config.height),me.minWidth=(0,F.a1)(this._config.minWidth),me.minHeight=(0,F.a1)(this._config.minHeight),me.maxWidth=(0,F.a1)(this._config.maxWidth),me.maxHeight=(0,F.a1)(this._config.maxHeight)}_togglePointerEvents(me){this._pane.style.pointerEvents=me?"":"none"}_attachBackdrop(){const me="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(me)})}):this._backdropElement.classList.add(me)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const me=this._backdropElement;if(me){if(this._animationsDisabled)return void this._disposeBackdrop(me);me.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{me.addEventListener("transitionend",this._backdropTransitionendHandler)}),me.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(me)},500))}}_toggleClasses(me,Ue,st){const zt=(0,F.FG)(Ue||[]).filter(Lt=>!!Lt);zt.length&&(st?me.classList.add(...zt):me.classList.remove(...zt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const me=this._ngZone.onStable.pipe((0,B.Q)((0,b.h)(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()),me.unsubscribe())})})}_disposeScrollStrategy(){const me=this._scrollStrategy;me&&(me.disable(),me.detach&&me.detach())}_disposeBackdrop(me){me&&(me.removeEventListener("click",this._backdropClickHandler),me.removeEventListener("transitionend",this._backdropTransitionendHandler),me.remove(),this._backdropElement===me&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const jt="cdk-overlay-connected-position-bounding-box",Ot=/([A-Za-z%]+)$/;class nt{get positions(){return this._preferredPositions}constructor(me,Ue,st,zt,Lt){this._viewportRuler=Ue,this._document=st,this._platform=zt,this._overlayContainer=Lt,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 N.B,this._resizeSubscription=U.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(me)}attach(me){this._validatePositions(),me.hostElement.classList.add(jt),this._overlayRef=me,this._boundingBox=me.hostElement,this._pane=me.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 me=this._originRect,Ue=this._overlayRect,st=this._viewportRect,zt=this._containerRect,Lt=[];let fn;for(let jn of this._preferredPositions){let Kt=this._getOriginPoint(me,zt,jn),En=this._getOverlayPoint(Kt,Ue,jn),ft=this._getOverlayFit(En,Ue,st,jn);if(ft.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(jn,Kt);this._canFitWithFlexibleDimensions(ft,En,st)?Lt.push({position:jn,origin:Kt,overlayRect:Ue,boundingBoxRect:this._calculateBoundingBoxRect(Kt,jn)}):(!fn||fn.overlayFit.visibleArea<ft.visibleArea)&&(fn={overlayFit:ft,overlayPoint:En,originPoint:Kt,position:jn,overlayRect:Ue})}if(Lt.length){let jn=null,Kt=-1;for(const En of Lt){const ft=En.boundingBoxRect.width*En.boundingBoxRect.height*(En.position.weight||1);ft>Kt&&(Kt=ft,jn=En)}return this._isPushed=!1,void this._applyPosition(jn.position,jn.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(fn.position,fn.originPoint);this._applyPosition(fn.position,fn.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ut(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(jt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const me=this._lastPosition;if(me){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ue=this._getOriginPoint(this._originRect,this._containerRect,me);this._applyPosition(me,Ue)}else this.apply()}withScrollableContainers(me){return this._scrollables=me,this}withPositions(me){return this._preferredPositions=me,-1===me.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(me){return this._viewportMargin=me,this}withFlexibleDimensions(me=!0){return this._hasFlexibleDimensions=me,this}withGrowAfterOpen(me=!0){return this._growAfterOpen=me,this}withPush(me=!0){return this._canPush=me,this}withLockedPosition(me=!0){return this._positionLocked=me,this}setOrigin(me){return this._origin=me,this}withDefaultOffsetX(me){return this._offsetX=me,this}withDefaultOffsetY(me){return this._offsetY=me,this}withTransformOriginOn(me){return this._transformOriginSelector=me,this}_getOriginPoint(me,Ue,st){let zt,Lt;if("center"==st.originX)zt=me.left+me.width/2;else{const fn=this._isRtl()?me.right:me.left,jn=this._isRtl()?me.left:me.right;zt="start"==st.originX?fn:jn}return Ue.left<0&&(zt-=Ue.left),Lt="center"==st.originY?me.top+me.height/2:"top"==st.originY?me.top:me.bottom,Ue.top<0&&(Lt-=Ue.top),{x:zt,y:Lt}}_getOverlayPoint(me,Ue,st){let zt,Lt;return zt="center"==st.overlayX?-Ue.width/2:"start"===st.overlayX?this._isRtl()?-Ue.width:0:this._isRtl()?0:-Ue.width,Lt="center"==st.overlayY?-Ue.height/2:"top"==st.overlayY?0:-Ue.height,{x:me.x+zt,y:me.y+Lt}}_getOverlayFit(me,Ue,st,zt){const Lt=rt(Ue);let{x:fn,y:jn}=me,Kt=this._getOffset(zt,"x"),En=this._getOffset(zt,"y");Kt&&(fn+=Kt),En&&(jn+=En);let Qt=0-jn,Tn=jn+Lt.height-st.height,Xn=this._subtractOverflows(Lt.width,0-fn,fn+Lt.width-st.width),Bn=this._subtractOverflows(Lt.height,Qt,Tn),Ii=Xn*Bn;return{visibleArea:Ii,isCompletelyWithinViewport:Lt.width*Lt.height===Ii,fitsInViewportVertically:Bn===Lt.height,fitsInViewportHorizontally:Xn==Lt.width}}_canFitWithFlexibleDimensions(me,Ue,st){if(this._hasFlexibleDimensions){const zt=st.bottom-Ue.y,Lt=st.right-Ue.x,fn=tt(this._overlayRef.getConfig().minHeight),jn=tt(this._overlayRef.getConfig().minWidth);return(me.fitsInViewportVertically||null!=fn&&fn<=zt)&&(me.fitsInViewportHorizontally||null!=jn&&jn<=Lt)}return!1}_pushOverlayOnScreen(me,Ue,st){if(this._previousPushAmount&&this._positionLocked)return{x:me.x+this._previousPushAmount.x,y:me.y+this._previousPushAmount.y};const zt=rt(Ue),Lt=this._viewportRect,fn=Math.max(me.x+zt.width-Lt.width,0),jn=Math.max(me.y+zt.height-Lt.height,0),Kt=Math.max(Lt.top-st.top-me.y,0),En=Math.max(Lt.left-st.left-me.x,0);let ft=0,Tt=0;return ft=zt.width<=Lt.width?En||-fn:me.x<this._viewportMargin?Lt.left-st.left-me.x:0,Tt=zt.height<=Lt.height?Kt||-jn:me.y<this._viewportMargin?Lt.top-st.top-me.y:0,this._previousPushAmount={x:ft,y:Tt},{x:me.x+ft,y:me.y+Tt}}_applyPosition(me,Ue){if(this._setTransformOrigin(me),this._setOverlayElementStyles(Ue,me),this._setBoundingBoxStyles(Ue,me),me.panelClass&&this._addPanelClasses(me.panelClass),this._positionChanges.observers.length){const st=this._getScrollVisibility();if(me!==this._lastPosition||!this._lastScrollVisibility||!function Ft(an,me){return an===me||an.isOriginClipped===me.isOriginClipped&&an.isOriginOutsideView===me.isOriginOutsideView&&an.isOverlayClipped===me.isOverlayClipped&&an.isOverlayOutsideView===me.isOverlayOutsideView}(this._lastScrollVisibility,st)){const zt=new we(me,st);this._positionChanges.next(zt)}this._lastScrollVisibility=st}this._lastPosition=me,this._isInitialRender=!1}_setTransformOrigin(me){if(!this._transformOriginSelector)return;const Ue=this._boundingBox.querySelectorAll(this._transformOriginSelector);let st,zt=me.overlayY;st="center"===me.overlayX?"center":this._isRtl()?"start"===me.overlayX?"right":"left":"start"===me.overlayX?"left":"right";for(let Lt=0;Lt<Ue.length;Lt++)Ue[Lt].style.transformOrigin=`${st} ${zt}`}_calculateBoundingBoxRect(me,Ue){const st=this._viewportRect,zt=this._isRtl();let Lt,fn,jn,ft,Tt,Qt;if("top"===Ue.overlayY)fn=me.y,Lt=st.height-fn+this._viewportMargin;else if("bottom"===Ue.overlayY)jn=st.height-me.y+2*this._viewportMargin,Lt=st.height-jn+this._viewportMargin;else{const Tn=Math.min(st.bottom-me.y+st.top,me.y),Xn=this._lastBoundingBoxSize.height;Lt=2*Tn,fn=me.y-Tn,Lt>Xn&&!this._isInitialRender&&!this._growAfterOpen&&(fn=me.y-Xn/2)}if("end"===Ue.overlayX&&!zt||"start"===Ue.overlayX&&zt)Qt=st.width-me.x+2*this._viewportMargin,ft=me.x-this._viewportMargin;else if("start"===Ue.overlayX&&!zt||"end"===Ue.overlayX&&zt)Tt=me.x,ft=st.right-me.x;else{const Tn=Math.min(st.right-me.x+st.left,me.x),Xn=this._lastBoundingBoxSize.width;ft=2*Tn,Tt=me.x-Tn,ft>Xn&&!this._isInitialRender&&!this._growAfterOpen&&(Tt=me.x-Xn/2)}return{top:fn,left:Tt,bottom:jn,right:Qt,width:ft,height:Lt}}_setBoundingBoxStyles(me,Ue){const st=this._calculateBoundingBoxRect(me,Ue);!this._isInitialRender&&!this._growAfterOpen&&(st.height=Math.min(st.height,this._lastBoundingBoxSize.height),st.width=Math.min(st.width,this._lastBoundingBoxSize.width));const zt={};if(this._hasExactPosition())zt.top=zt.left="0",zt.bottom=zt.right=zt.maxHeight=zt.maxWidth="",zt.width=zt.height="100%";else{const Lt=this._overlayRef.getConfig().maxHeight,fn=this._overlayRef.getConfig().maxWidth;zt.height=(0,F.a1)(st.height),zt.top=(0,F.a1)(st.top),zt.bottom=(0,F.a1)(st.bottom),zt.width=(0,F.a1)(st.width),zt.left=(0,F.a1)(st.left),zt.right=(0,F.a1)(st.right),zt.alignItems="center"===Ue.overlayX?"center":"end"===Ue.overlayX?"flex-end":"flex-start",zt.justifyContent="center"===Ue.overlayY?"center":"bottom"===Ue.overlayY?"flex-end":"flex-start",Lt&&(zt.maxHeight=(0,F.a1)(Lt)),fn&&(zt.maxWidth=(0,F.a1)(fn))}this._lastBoundingBoxSize=st,ut(this._boundingBox.style,zt)}_resetBoundingBoxStyles(){ut(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ut(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(me,Ue){const st={},zt=this._hasExactPosition(),Lt=this._hasFlexibleDimensions,fn=this._overlayRef.getConfig();if(zt){const ft=this._viewportRuler.getViewportScrollPosition();ut(st,this._getExactOverlayY(Ue,me,ft)),ut(st,this._getExactOverlayX(Ue,me,ft))}else st.position="static";let jn="",Kt=this._getOffset(Ue,"x"),En=this._getOffset(Ue,"y");Kt&&(jn+=`translateX(${Kt}px) `),En&&(jn+=`translateY(${En}px)`),st.transform=jn.trim(),fn.maxHeight&&(zt?st.maxHeight=(0,F.a1)(fn.maxHeight):Lt&&(st.maxHeight="")),fn.maxWidth&&(zt?st.maxWidth=(0,F.a1)(fn.maxWidth):Lt&&(st.maxWidth="")),ut(this._pane.style,st)}_getExactOverlayY(me,Ue,st){let zt={top:"",bottom:""},Lt=this._getOverlayPoint(Ue,this._overlayRect,me);return this._isPushed&&(Lt=this._pushOverlayOnScreen(Lt,this._overlayRect,st)),"bottom"===me.overlayY?zt.bottom=this._document.documentElement.clientHeight-(Lt.y+this._overlayRect.height)+"px":zt.top=(0,F.a1)(Lt.y),zt}_getExactOverlayX(me,Ue,st){let fn,zt={left:"",right:""},Lt=this._getOverlayPoint(Ue,this._overlayRect,me);return this._isPushed&&(Lt=this._pushOverlayOnScreen(Lt,this._overlayRect,st)),fn=this._isRtl()?"end"===me.overlayX?"left":"right":"end"===me.overlayX?"right":"left","right"===fn?zt.right=this._document.documentElement.clientWidth-(Lt.x+this._overlayRect.width)+"px":zt.left=(0,F.a1)(Lt.x),zt}_getScrollVisibility(){const me=this._getOriginRect(),Ue=this._pane.getBoundingClientRect(),st=this._scrollables.map(zt=>zt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ot(me,st),isOriginOutsideView:Ne(me,st),isOverlayClipped:ot(Ue,st),isOverlayOutsideView:Ne(Ue,st)}}_subtractOverflows(me,...Ue){return Ue.reduce((st,zt)=>st-Math.max(zt,0),me)}_getNarrowedViewportRect(){const me=this._document.documentElement.clientWidth,Ue=this._document.documentElement.clientHeight,st=this._viewportRuler.getViewportScrollPosition();return{top:st.top+this._viewportMargin,left:st.left+this._viewportMargin,right:st.left+me-this._viewportMargin,bottom:st.top+Ue-this._viewportMargin,width:me-2*this._viewportMargin,height:Ue-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(me,Ue){return"x"===Ue?null==me.offsetX?this._offsetX:me.offsetX:null==me.offsetY?this._offsetY:me.offsetY}_validatePositions(){}_addPanelClasses(me){this._pane&&(0,F.FG)(me).forEach(Ue=>{""!==Ue&&-1===this._appliedPanelClasses.indexOf(Ue)&&(this._appliedPanelClasses.push(Ue),this._pane.classList.add(Ue))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(me=>{this._pane.classList.remove(me)}),this._appliedPanelClasses=[])}_getOriginRect(){const me=this._origin;if(me instanceof y.aKT)return me.nativeElement.getBoundingClientRect();if(me instanceof Element)return me.getBoundingClientRect();const Ue=me.width||0,st=me.height||0;return{top:me.y,bottom:me.y+st,left:me.x,right:me.x+Ue,height:st,width:Ue}}}function ut(an,me){for(let Ue in me)me.hasOwnProperty(Ue)&&(an[Ue]=me[Ue]);return an}function tt(an){if("number"!=typeof an&&null!=an){const[me,Ue]=an.split(Ot);return Ue&&"px"!==Ue?null:parseFloat(me)}return an||null}function rt(an){return{top:Math.floor(an.top),right:Math.floor(an.right),bottom:Math.floor(an.bottom),left:Math.floor(an.left),width:Math.floor(an.width),height:Math.floor(an.height)}}const Pe="cdk-global-overlay-wrapper";class et{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(me){const Ue=me.getConfig();this._overlayRef=me,this._width&&!Ue.width&&me.updateSize({width:this._width}),this._height&&!Ue.height&&me.updateSize({height:this._height}),me.hostElement.classList.add(Pe),this._isDisposed=!1}top(me=""){return this._bottomOffset="",this._topOffset=me,this._alignItems="flex-start",this}left(me=""){return this._xOffset=me,this._xPosition="left",this}bottom(me=""){return this._topOffset="",this._bottomOffset=me,this._alignItems="flex-end",this}right(me=""){return this._xOffset=me,this._xPosition="right",this}start(me=""){return this._xOffset=me,this._xPosition="start",this}end(me=""){return this._xOffset=me,this._xPosition="end",this}width(me=""){return this._overlayRef?this._overlayRef.updateSize({width:me}):this._width=me,this}height(me=""){return this._overlayRef?this._overlayRef.updateSize({height:me}):this._height=me,this}centerHorizontally(me=""){return this.left(me),this._xPosition="center",this}centerVertically(me=""){return this.top(me),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const me=this._overlayRef.overlayElement.style,Ue=this._overlayRef.hostElement.style,st=this._overlayRef.getConfig(),{width:zt,height:Lt,maxWidth:fn,maxHeight:jn}=st,Kt=!("100%"!==zt&&"100vw"!==zt||fn&&"100%"!==fn&&"100vw"!==fn),En=!("100%"!==Lt&&"100vh"!==Lt||jn&&"100%"!==jn&&"100vh"!==jn),ft=this._xPosition,Tt=this._xOffset,Qt="rtl"===this._overlayRef.getConfig().direction;let Tn="",Xn="",Bn="";Kt?Bn="flex-start":"center"===ft?(Bn="center",Qt?Xn=Tt:Tn=Tt):Qt?"left"===ft||"end"===ft?(Bn="flex-end",Tn=Tt):("right"===ft||"start"===ft)&&(Bn="flex-start",Xn=Tt):"left"===ft||"start"===ft?(Bn="flex-start",Tn=Tt):("right"===ft||"end"===ft)&&(Bn="flex-end",Xn=Tt),me.position=this._cssPosition,me.marginLeft=Kt?"0":Tn,me.marginTop=En?"0":this._topOffset,me.marginBottom=this._bottomOffset,me.marginRight=Kt?"0":Xn,Ue.justifyContent=Bn,Ue.alignItems=En?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const me=this._overlayRef.overlayElement.style,Ue=this._overlayRef.hostElement,st=Ue.style;Ue.classList.remove(Pe),st.justifyContent=st.alignItems=me.marginTop=me.marginBottom=me.marginLeft=me.marginRight=me.position="",this._overlayRef=null,this._isDisposed=!0}}let Pt=(()=>{class an{constructor(Ue,st,zt,Lt){this._viewportRuler=Ue,this._document=st,this._platform=zt,this._overlayContainer=Lt}global(){return new et}flexibleConnectedTo(Ue){return new nt(Ue,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(st){return new(st||an)(y.KVO(n.Xj),y.KVO(r.qQ),y.KVO(g.OD),y.KVO(Vt))};static#t=this.\u0275prov=y.jDH({token:an,factory:an.\u0275fac,providedIn:"root"})}return an})(),Fn=0,ei=(()=>{class an{constructor(Ue,st,zt,Lt,fn,jn,Kt,En,ft,Tt,Qt,Tn){this.scrollStrategies=Ue,this._overlayContainer=st,this._componentFactoryResolver=zt,this._positionBuilder=Lt,this._keyboardDispatcher=fn,this._injector=jn,this._ngZone=Kt,this._document=En,this._directionality=ft,this._location=Tt,this._outsideClickDispatcher=Qt,this._animationsModuleType=Tn}create(Ue){const st=this._createHostElement(),zt=this._createPaneElement(st),Lt=this._createPortalOutlet(zt),fn=new Ge(Ue);return fn.direction=fn.direction||this._directionality.value,new qt(Lt,st,zt,fn,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ue){const st=this._document.createElement("div");return st.id="cdk-overlay-"+Fn++,st.classList.add("cdk-overlay-pane"),Ue.appendChild(st),st}_createHostElement(){const Ue=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ue),Ue}_createPortalOutlet(Ue){return this._appRef||(this._appRef=this._injector.get(y.o8S)),new T.aI(Ue,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(st){return new(st||an)(y.KVO(He),y.KVO(Vt),y.KVO(y.OM3),y.KVO(Pt),y.KVO(yt),y.KVO(y.zZn),y.KVO(y.SKi),y.KVO(r.qQ),y.KVO(V.dS),y.KVO(r.aZ),y.KVO(Yt),y.KVO(y.bc$,8))};static#t=this.\u0275prov=y.jDH({token:an,factory:an.\u0275fac,providedIn:"root"})}return an})();const ki={provide:new y.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const an=(0,y.WQX)(ei);return()=>an.scrollStrategies.reposition()}}),deps:[ei],useFactory:function ti(an){return()=>an.scrollStrategies.reposition()}};let Zi=(()=>{class an{static#e=this.\u0275fac=function(st){return new(st||an)};static#t=this.\u0275mod=y.$C({type:an});static#n=this.\u0275inj=y.G2t({providers:[ei,ki],imports:[V.jI,T.jc,n.E9,n.E9]})}return an})()},6860:(_t,ge,f)=>{"use strict";f.d(ge,{BQ:()=>N,CZ:()=>R,Fb:()=>dt,KT:()=>Ne,MU:()=>B,OD:()=>F,v8:()=>He,vc:()=>ot});var n=f(4438),r=f(177);let y;try{y=typeof Intl<"u"&&Intl.v8BreakIterator}catch{y=!1}let A,F=(()=>{class Ge{constructor(Ae){this._platformId=Ae,this.isBrowser=this._platformId?(0,r.UE)(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&&!y)&&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}static#e=this.\u0275fac=function(we){return new(we||Ge)(n.KVO(n.Agw))};static#t=this.\u0275prov=n.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"})}return Ge})();const M=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function B(){if(A)return A;if("object"!=typeof document||!document)return A=new Set(M),A;let Ge=document.createElement("input");return A=new Set(M.filter(se=>(Ge.setAttribute("type",se),Ge.type===se))),A}let V,G,J;function N(Ge){return function T(){if(null==V&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>V=!0}))}finally{V=V||!1}return V}()?Ge:!!Ge.capture}function R(){if(null==G){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return G=!1,G;if("scrollBehavior"in document.documentElement.style)G=!0;else{const Ge=Element.prototype.scrollTo;G=!!Ge&&!/\{\s*\[native code\]\s*\}/.test(Ge.toString())}}return G}function Ne(Ge){if(function Se(){if(null==J){const Ge=typeof document<"u"?document.head:null;J=!(!Ge||!Ge.createShadowRoot&&!Ge.attachShadow)}return J}()){const se=Ge.getRootNode?Ge.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&se instanceof ShadowRoot)return se}return null}function ot(){let Ge=typeof document<"u"&&document?document.activeElement:null;for(;Ge&&Ge.shadowRoot;){const se=Ge.shadowRoot.activeElement;if(se===Ge)break;Ge=se}return Ge}function dt(Ge){return Ge.composedPath?Ge.composedPath()[0]:Ge.target}function He(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(_t,ge,f)=>{"use strict";f.d(ge,{A8:()=>T,I3:()=>Ne,VA:()=>N,aI:()=>R,jc:()=>dt,lb:()=>b});var n=f(4438),r=f(177);class V{attach(se){return this._attachedHost=se,se.attach(this)}detach(){let se=this._attachedHost;null!=se&&(this._attachedHost=null,se.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(se){this._attachedHost=se}}class T extends V{constructor(se,Ae,we,ue,Oe){super(),this.component=se,this.viewContainerRef=Ae,this.injector=we,this.componentFactoryResolver=ue,this.projectableNodes=Oe}}class N extends V{constructor(se,Ae,we,ue){super(),this.templateRef=se,this.viewContainerRef=Ae,this.context=we,this.injector=ue}get origin(){return this.templateRef.elementRef}attach(se,Ae=this.context){return this.context=Ae,super.attach(se)}detach(){return this.context=void 0,super.detach()}}class U extends V{constructor(se){super(),this.element=se instanceof n.aKT?se.nativeElement:se}}class b{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(se){return se instanceof T?(this._attachedPortal=se,this.attachComponentPortal(se)):se instanceof N?(this._attachedPortal=se,this.attachTemplatePortal(se)):this.attachDomPortal&&se instanceof U?(this._attachedPortal=se,this.attachDomPortal(se)):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(se){this._disposeFn=se}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class R extends b{constructor(se,Ae,we,ue,Oe){super(),this.outletElement=se,this._componentFactoryResolver=Ae,this._appRef=we,this._defaultInjector=ue,this.attachDomPortal=Ye=>{const yt=Ye.element,Yt=this._document.createComment("dom-portal");yt.parentNode.insertBefore(Yt,yt),this.outletElement.appendChild(yt),this._attachedPortal=Ye,super.setDisposeFn(()=>{Yt.parentNode&&Yt.parentNode.replaceChild(yt,Yt)})},this._document=Oe}attachComponentPortal(se){const we=(se.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(se.component);let ue;return se.viewContainerRef?(ue=se.viewContainerRef.createComponent(we,se.viewContainerRef.length,se.injector||se.viewContainerRef.injector,se.projectableNodes||void 0),this.setDisposeFn(()=>ue.destroy())):(ue=we.create(se.injector||this._defaultInjector||n.zZn.NULL),this._appRef.attachView(ue.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ue.hostView),ue.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ue)),this._attachedPortal=se,ue}attachTemplatePortal(se){let Ae=se.viewContainerRef,we=Ae.createEmbeddedView(se.templateRef,se.context,{injector:se.injector});return we.rootNodes.forEach(ue=>this.outletElement.appendChild(ue)),we.detectChanges(),this.setDisposeFn(()=>{let ue=Ae.indexOf(we);-1!==ue&&Ae.remove(ue)}),this._attachedPortal=se,we}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(se){return se.hostView.rootNodes[0]}}let Ne=(()=>{class Ge extends b{constructor(Ae,we,ue){super(),this._componentFactoryResolver=Ae,this._viewContainerRef=we,this._isInitialized=!1,this.attached=new n.bkB,this.attachDomPortal=Oe=>{const Ye=Oe.element,yt=this._document.createComment("dom-portal");Oe.setAttachedHost(this),Ye.parentNode.insertBefore(yt,Ye),this._getRootNode().appendChild(Ye),this._attachedPortal=Oe,super.setDisposeFn(()=>{yt.parentNode&&yt.parentNode.replaceChild(Ye,yt)})},this._document=ue}get portal(){return this._attachedPortal}set portal(Ae){this.hasAttached()&&!Ae&&!this._isInitialized||(this.hasAttached()&&super.detach(),Ae&&super.attach(Ae),this._attachedPortal=Ae||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Ae){Ae.setAttachedHost(this);const we=null!=Ae.viewContainerRef?Ae.viewContainerRef:this._viewContainerRef,Oe=(Ae.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ae.component),Ye=we.createComponent(Oe,we.length,Ae.injector||we.injector,Ae.projectableNodes||void 0);return we!==this._viewContainerRef&&this._getRootNode().appendChild(Ye.hostView.rootNodes[0]),super.setDisposeFn(()=>Ye.destroy()),this._attachedPortal=Ae,this._attachedRef=Ye,this.attached.emit(Ye),Ye}attachTemplatePortal(Ae){Ae.setAttachedHost(this);const we=this._viewContainerRef.createEmbeddedView(Ae.templateRef,Ae.context,{injector:Ae.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Ae,this._attachedRef=we,this.attached.emit(we),we}_getRootNode(){const Ae=this._viewContainerRef.element.nativeElement;return Ae.nodeType===Ae.ELEMENT_NODE?Ae:Ae.parentNode}static#e=this.\u0275fac=function(we){return new(we||Ge)(n.rXU(n.OM3),n.rXU(n.c1b),n.rXU(r.qQ))};static#t=this.\u0275dir=n.FsC({type:Ge,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[n.Mj6.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[n.Vt3]})}return Ge})(),dt=(()=>{class Ge{static#e=this.\u0275fac=function(we){return new(we||Ge)};static#t=this.\u0275mod=n.$C({type:Ge});static#n=this.\u0275inj=n.G2t({})}return Ge})()},5478:(_t,ge,f)=>{"use strict";f.d(ge,{E9:()=>Ot,Gj:()=>jt,R:()=>dt,Xj:()=>se});var n=f(4085),r=f(4438),y=f(1413),F=f(7673),g=f(1985),A=f(3726),V=(f(536),f(5007),f(3798)),T=f(5964),N=f(6860),U=f(177),b=f(8203);let dt=(()=>{class nt{constructor(tt,rt,Ft){this._ngZone=tt,this._platform=rt,this._scrolled=new y.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ft}register(tt){this.scrollContainers.has(tt)||this.scrollContainers.set(tt,tt.elementScrolled().subscribe(()=>this._scrolled.next(tt)))}deregister(tt){const rt=this.scrollContainers.get(tt);rt&&(rt.unsubscribe(),this.scrollContainers.delete(tt))}scrolled(tt=20){return this._platform.isBrowser?new g.c(rt=>{this._globalSubscription||this._addGlobalListener();const Ft=tt>0?this._scrolled.pipe((0,V.Z)(tt)).subscribe(rt):this._scrolled.subscribe(rt);return this._scrolledCount++,()=>{Ft.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,F.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((tt,rt)=>this.deregister(rt)),this._scrolled.complete()}ancestorScrolled(tt,rt){const Ft=this.getAncestorScrollContainers(tt);return this.scrolled(rt).pipe((0,T.p)(Le=>!Le||Ft.indexOf(Le)>-1))}getAncestorScrollContainers(tt){const rt=[];return this.scrollContainers.forEach((Ft,Le)=>{this._scrollableContainsElement(Le,tt)&&rt.push(Le)}),rt}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(tt,rt){let Ft=(0,n.i8)(rt),Le=tt.getElementRef().nativeElement;do{if(Ft==Le)return!0}while(Ft=Ft.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const tt=this._getWindow();return(0,A.R)(tt.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(rt){return new(rt||nt)(r.KVO(r.SKi),r.KVO(N.OD),r.KVO(U.qQ,8))};static#t=this.\u0275prov=r.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),se=(()=>{class nt{constructor(tt,rt,Ft){this._platform=tt,this._change=new y.B,this._changeListener=Le=>{this._change.next(Le)},this._document=Ft,rt.runOutsideAngular(()=>{if(tt.isBrowser){const Le=this._getWindow();Le.addEventListener("resize",this._changeListener),Le.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const tt=this._getWindow();tt.removeEventListener("resize",this._changeListener),tt.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const tt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),tt}getViewportRect(){const tt=this.getViewportScrollPosition(),{width:rt,height:Ft}=this.getViewportSize();return{top:tt.top,left:tt.left,bottom:tt.top+Ft,right:tt.left+rt,height:Ft,width:rt}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const tt=this._document,rt=this._getWindow(),Ft=tt.documentElement,Le=Ft.getBoundingClientRect();return{top:-Le.top||tt.body.scrollTop||rt.scrollY||Ft.scrollTop||0,left:-Le.left||tt.body.scrollLeft||rt.scrollX||Ft.scrollLeft||0}}change(tt=20){return tt>0?this._change.pipe((0,V.Z)(tt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const tt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:tt.innerWidth,height:tt.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(rt){return new(rt||nt)(r.KVO(N.OD),r.KVO(r.SKi),r.KVO(U.qQ,8))};static#t=this.\u0275prov=r.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),jt=(()=>{class nt{static#e=this.\u0275fac=function(rt){return new(rt||nt)};static#t=this.\u0275mod=r.$C({type:nt});static#n=this.\u0275inj=r.G2t({})}return nt})(),Ot=(()=>{class nt{static#e=this.\u0275fac=function(rt){return new(rt||nt)};static#t=this.\u0275mod=r.$C({type:nt});static#n=this.\u0275inj=r.G2t({imports:[b.jI,jt,b.jI,jt]})}return nt})()},177:(_t,ge,f)=>{"use strict";f.d(ge,{AJ:()=>go,B3:()=>no,EO:()=>pt,Jj:()=>ns,MD:()=>da,N0:()=>nl,QT:()=>y,QX:()=>xr,Sm:()=>ce,Sq:()=>ht,T3:()=>Mi,UE:()=>wo,VF:()=>g,Vy:()=>ls,Xr:()=>So,YU:()=>ne,Yq:()=>jn,ZD:()=>F,_b:()=>Ce,aZ:()=>Se,bT:()=>Qn,e1:()=>br,fG:()=>jr,fw:()=>J,hb:()=>G,hj:()=>V,oe:()=>ca,qQ:()=>M,ux:()=>$i,vh:()=>Ht});var n=f(4438);let r=null;function y(){return r}function F(k){r??=k}class g{}const M=new n.nKC("");let B=(()=>{class k{historyGo(Z){throw new Error("")}static#e=this.\u0275fac=function(_e){return new(_e||k)};static#t=this.\u0275prov=n.jDH({token:k,factory:()=>(0,n.WQX)(T),providedIn:"platform"})}return k})();const V=new n.nKC("");let T=(()=>{class k extends B{constructor(){super(),this._doc=(0,n.WQX)(M),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(Z){const _e=y().getGlobalEventTarget(this._doc,"window");return _e.addEventListener("popstate",Z,!1),()=>_e.removeEventListener("popstate",Z)}onHashChange(Z){const _e=y().getGlobalEventTarget(this._doc,"window");return _e.addEventListener("hashchange",Z,!1),()=>_e.removeEventListener("hashchange",Z)}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(Z){this._location.pathname=Z}pushState(Z,_e,ct){this._history.pushState(Z,_e,ct)}replaceState(Z,_e,ct){this._history.replaceState(Z,_e,ct)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Z=0){this._history.go(Z)}getState(){return this._history.state}static#e=this.\u0275fac=function(_e){return new(_e||k)};static#t=this.\u0275prov=n.jDH({token:k,factory:()=>new k,providedIn:"platform"})}return k})();function N(k,xe){if(0==k.length)return xe;if(0==xe.length)return k;let Z=0;return k.endsWith("/")&&Z++,xe.startsWith("/")&&Z++,2==Z?k+xe.substring(1):1==Z?k+xe:k+"/"+xe}function U(k){const xe=k.match(/#|\?|$/),Z=xe&&xe.index||k.length;return k.slice(0,Z-("/"===k[Z-1]?1:0))+k.slice(Z)}function b(k){return k&&"?"!==k[0]?"?"+k:k}let G=(()=>{class k{historyGo(Z){throw new Error("")}static#e=this.\u0275fac=function(_e){return new(_e||k)};static#t=this.\u0275prov=n.jDH({token:k,factory:()=>(0,n.WQX)(ce),providedIn:"root"})}return k})();const R=new n.nKC("");let ce=(()=>{class k extends G{constructor(Z,_e){super(),this._platformLocation=Z,this._removeListenerFns=[],this._baseHref=_e??this._platformLocation.getBaseHrefFromDOM()??(0,n.WQX)(M).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Z){this._removeListenerFns.push(this._platformLocation.onPopState(Z),this._platformLocation.onHashChange(Z))}getBaseHref(){return this._baseHref}prepareExternalUrl(Z){return N(this._baseHref,Z)}path(Z=!1){const _e=this._platformLocation.pathname+b(this._platformLocation.search),ct=this._platformLocation.hash;return ct&&Z?`${_e}${ct}`:_e}pushState(Z,_e,ct,dn){const On=this.prepareExternalUrl(ct+b(dn));this._platformLocation.pushState(Z,_e,On)}replaceState(Z,_e,ct,dn){const On=this.prepareExternalUrl(ct+b(dn));this._platformLocation.replaceState(Z,_e,On)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Z=0){this._platformLocation.historyGo?.(Z)}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.KVO(B),n.KVO(R,8))};static#t=this.\u0275prov=n.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})(),J=(()=>{class k extends G{constructor(Z,_e){super(),this._platformLocation=Z,this._baseHref="",this._removeListenerFns=[],null!=_e&&(this._baseHref=_e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Z){this._removeListenerFns.push(this._platformLocation.onPopState(Z),this._platformLocation.onHashChange(Z))}getBaseHref(){return this._baseHref}path(Z=!1){const _e=this._platformLocation.hash??"#";return _e.length>0?_e.substring(1):_e}prepareExternalUrl(Z){const _e=N(this._baseHref,Z);return _e.length>0?"#"+_e:_e}pushState(Z,_e,ct,dn){let On=this.prepareExternalUrl(ct+b(dn));0==On.length&&(On=this._platformLocation.pathname),this._platformLocation.pushState(Z,_e,On)}replaceState(Z,_e,ct,dn){let On=this.prepareExternalUrl(ct+b(dn));0==On.length&&(On=this._platformLocation.pathname),this._platformLocation.replaceState(Z,_e,On)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Z=0){this._platformLocation.historyGo?.(Z)}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.KVO(B),n.KVO(R,8))};static#t=this.\u0275prov=n.jDH({token:k,factory:k.\u0275fac})}return k})(),Se=(()=>{class k{constructor(Z){this._subject=new n.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Z;const _e=this._locationStrategy.getBaseHref();this._basePath=function He(k){if(new RegExp("^(https?:)?//").test(k)){const[,Z]=k.split(/\/\/[^\/]+/);return Z}return k}(U(dt(_e))),this._locationStrategy.onPopState(ct=>{this._subject.emit({url:this.path(!0),pop:!0,state:ct.state,type:ct.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Z=!1){return this.normalize(this._locationStrategy.path(Z))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Z,_e=""){return this.path()==this.normalize(Z+b(_e))}normalize(Z){return k.stripTrailingSlash(function ot(k,xe){if(!k||!xe.startsWith(k))return xe;const Z=xe.substring(k.length);return""===Z||["/",";","?","#"].includes(Z[0])?Z:xe}(this._basePath,dt(Z)))}prepareExternalUrl(Z){return Z&&"/"!==Z[0]&&(Z="/"+Z),this._locationStrategy.prepareExternalUrl(Z)}go(Z,_e="",ct=null){this._locationStrategy.pushState(ct,"",Z,_e),this._notifyUrlChangeListeners(this.prepareExternalUrl(Z+b(_e)),ct)}replaceState(Z,_e="",ct=null){this._locationStrategy.replaceState(ct,"",Z,_e),this._notifyUrlChangeListeners(this.prepareExternalUrl(Z+b(_e)),ct)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Z=0){this._locationStrategy.historyGo?.(Z)}onUrlChange(Z){return this._urlChangeListeners.push(Z),this._urlChangeSubscription??=this.subscribe(_e=>{this._notifyUrlChangeListeners(_e.url,_e.state)}),()=>{const _e=this._urlChangeListeners.indexOf(Z);this._urlChangeListeners.splice(_e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Z="",_e){this._urlChangeListeners.forEach(ct=>ct(Z,_e))}subscribe(Z,_e,ct){return this._subject.subscribe({next:Z,error:_e,complete:ct})}static#e=this.normalizeQueryParams=b;static#t=this.joinWithSlash=N;static#n=this.stripTrailingSlash=U;static#i=this.\u0275fac=function(_e){return new(_e||k)(n.KVO(G))};static#r=this.\u0275prov=n.jDH({token:k,factory:()=>function Ne(){return new Se((0,n.KVO)(G))}(),providedIn:"root"})}return k})();function dt(k){return k.replace(/\/index.html$/,"")}const Ge={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var se=function(k){return k[k.Decimal=0]="Decimal",k[k.Percent=1]="Percent",k[k.Currency=2]="Currency",k[k.Scientific=3]="Scientific",k}(se||{}),we=function(k){return k[k.Format=0]="Format",k[k.Standalone=1]="Standalone",k}(we||{}),ue=function(k){return k[k.Narrow=0]="Narrow",k[k.Abbreviated=1]="Abbreviated",k[k.Wide=2]="Wide",k[k.Short=3]="Short",k}(ue||{}),Oe=function(k){return k[k.Short=0]="Short",k[k.Medium=1]="Medium",k[k.Long=2]="Long",k[k.Full=3]="Full",k}(Oe||{});const Ye={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function tt(k,xe){return ti((0,n.H5H)(k)[n.KH2.DateFormat],xe)}function rt(k,xe){return ti((0,n.H5H)(k)[n.KH2.TimeFormat],xe)}function Ft(k,xe){return ti((0,n.H5H)(k)[n.KH2.DateTimeFormat],xe)}function Le(k,xe){const Z=(0,n.H5H)(k),_e=Z[n.KH2.NumberSymbols][xe];if(typeof _e>"u"){if(xe===Ye.CurrencyDecimal)return Z[n.KH2.NumberSymbols][Ye.Decimal];if(xe===Ye.CurrencyGroup)return Z[n.KH2.NumberSymbols][Ye.Group]}return _e}function pe(k,xe){return(0,n.H5H)(k)[n.KH2.NumberFormats][xe]}function gn(k){if(!k[n.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${k[n.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ti(k,xe){for(let Z=xe;Z>-1;Z--)if(typeof k[Z]<"u")return k[Z];throw new Error("Locale data API: locale data undefined")}function ki(k){const[xe,Z]=k.split(":");return{hours:+xe,minutes:+Z}}const me=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ue={},st=/((?:[^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 zt=function(k){return k[k.Short=0]="Short",k[k.ShortGMT=1]="ShortGMT",k[k.Long=2]="Long",k[k.Extended=3]="Extended",k}(zt||{}),Lt=function(k){return k[k.FullYear=0]="FullYear",k[k.Month=1]="Month",k[k.Date=2]="Date",k[k.Hours=3]="Hours",k[k.Minutes=4]="Minutes",k[k.Seconds=5]="Seconds",k[k.FractionalSeconds=6]="FractionalSeconds",k[k.Day=7]="Day",k}(Lt||{}),fn=function(k){return k[k.DayPeriods=0]="DayPeriods",k[k.Days=1]="Days",k[k.Months=2]="Months",k[k.Eras=3]="Eras",k}(fn||{});function jn(k,xe,Z,_e){let ct=function Wt(k){if(Dt(k))return k;if("number"==typeof k&&!isNaN(k))return new Date(k);if("string"==typeof k){if(k=k.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(k)){const[ct,dn=1,On=1]=k.split("-").map(di=>+di);return Kt(ct,dn-1,On)}const Z=parseFloat(k);if(!isNaN(k-Z))return new Date(Z);let _e;if(_e=k.match(me))return function Et(k){const xe=new Date(0);let Z=0,_e=0;const ct=k[8]?xe.setUTCFullYear:xe.setFullYear,dn=k[8]?xe.setUTCHours:xe.setHours;k[9]&&(Z=Number(k[9]+k[10]),_e=Number(k[9]+k[11])),ct.call(xe,Number(k[1]),Number(k[2])-1,Number(k[3]));const On=Number(k[4]||0)-Z,di=Number(k[5]||0)-_e,Cr=Number(k[6]||0),Rr=Math.floor(1e3*parseFloat("0."+(k[7]||0)));return dn.call(xe,On,di,Cr,Rr),xe}(_e)}const xe=new Date(k);if(!Dt(xe))throw new Error(`Unable to convert "${k}" into a date`);return xe}(k);xe=En(Z,xe)||xe;let di,On=[];for(;xe;){if(di=st.exec(xe),!di){On.push(xe);break}{On=On.concat(di.slice(1));const Lr=On.pop();if(!Lr)break;xe=Lr}}let Cr=ct.getTimezoneOffset();_e&&(Cr=ee(_e,Cr),ct=function at(k,xe,Z){const _e=Z?-1:1,ct=k.getTimezoneOffset();return function ye(k,xe){return(k=new Date(k.getTime())).setMinutes(k.getMinutes()+xe),k}(k,_e*(ee(xe,ct)-ct))}(ct,_e,!0));let Rr="";return On.forEach(Lr=>{const dr=function Be(k){if(Re[k])return Re[k];let xe;switch(k){case"G":case"GG":case"GGG":xe=Bn(fn.Eras,ue.Abbreviated);break;case"GGGG":xe=Bn(fn.Eras,ue.Wide);break;case"GGGGG":xe=Bn(fn.Eras,ue.Narrow);break;case"y":xe=Tn(Lt.FullYear,1,0,!1,!0);break;case"yy":xe=Tn(Lt.FullYear,2,0,!0,!0);break;case"yyy":xe=Tn(Lt.FullYear,3,0,!1,!0);break;case"yyyy":xe=Tn(Lt.FullYear,4,0,!1,!0);break;case"Y":xe=Dn(1);break;case"YY":xe=Dn(2,!0);break;case"YYY":xe=Dn(3);break;case"YYYY":xe=Dn(4);break;case"M":case"L":xe=Tn(Lt.Month,1,1);break;case"MM":case"LL":xe=Tn(Lt.Month,2,1);break;case"MMM":xe=Bn(fn.Months,ue.Abbreviated);break;case"MMMM":xe=Bn(fn.Months,ue.Wide);break;case"MMMMM":xe=Bn(fn.Months,ue.Narrow);break;case"LLL":xe=Bn(fn.Months,ue.Abbreviated,we.Standalone);break;case"LLLL":xe=Bn(fn.Months,ue.Wide,we.Standalone);break;case"LLLLL":xe=Bn(fn.Months,ue.Narrow,we.Standalone);break;case"w":xe=Cn(1);break;case"ww":xe=Cn(2);break;case"W":xe=Cn(1,!0);break;case"d":xe=Tn(Lt.Date,1);break;case"dd":xe=Tn(Lt.Date,2);break;case"c":case"cc":xe=Tn(Lt.Day,1);break;case"ccc":xe=Bn(fn.Days,ue.Abbreviated,we.Standalone);break;case"cccc":xe=Bn(fn.Days,ue.Wide,we.Standalone);break;case"ccccc":xe=Bn(fn.Days,ue.Narrow,we.Standalone);break;case"cccccc":xe=Bn(fn.Days,ue.Short,we.Standalone);break;case"E":case"EE":case"EEE":xe=Bn(fn.Days,ue.Abbreviated);break;case"EEEE":xe=Bn(fn.Days,ue.Wide);break;case"EEEEE":xe=Bn(fn.Days,ue.Narrow);break;case"EEEEEE":xe=Bn(fn.Days,ue.Short);break;case"a":case"aa":case"aaa":xe=Bn(fn.DayPeriods,ue.Abbreviated);break;case"aaaa":xe=Bn(fn.DayPeriods,ue.Wide);break;case"aaaaa":xe=Bn(fn.DayPeriods,ue.Narrow);break;case"b":case"bb":case"bbb":xe=Bn(fn.DayPeriods,ue.Abbreviated,we.Standalone,!0);break;case"bbbb":xe=Bn(fn.DayPeriods,ue.Wide,we.Standalone,!0);break;case"bbbbb":xe=Bn(fn.DayPeriods,ue.Narrow,we.Standalone,!0);break;case"B":case"BB":case"BBB":xe=Bn(fn.DayPeriods,ue.Abbreviated,we.Format,!0);break;case"BBBB":xe=Bn(fn.DayPeriods,ue.Wide,we.Format,!0);break;case"BBBBB":xe=Bn(fn.DayPeriods,ue.Narrow,we.Format,!0);break;case"h":xe=Tn(Lt.Hours,1,-12);break;case"hh":xe=Tn(Lt.Hours,2,-12);break;case"H":xe=Tn(Lt.Hours,1);break;case"HH":xe=Tn(Lt.Hours,2);break;case"m":xe=Tn(Lt.Minutes,1);break;case"mm":xe=Tn(Lt.Minutes,2);break;case"s":xe=Tn(Lt.Seconds,1);break;case"ss":xe=Tn(Lt.Seconds,2);break;case"S":xe=Tn(Lt.FractionalSeconds,1);break;case"SS":xe=Tn(Lt.FractionalSeconds,2);break;case"SSS":xe=Tn(Lt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":xe=qn(zt.Short);break;case"ZZZZZ":xe=qn(zt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":xe=qn(zt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":xe=qn(zt.Long);break;default:return null}return Re[k]=xe,xe}(Lr);Rr+=dr?dr(ct,Z,Cr):"''"===Lr?"'":Lr.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Rr}function Kt(k,xe,Z){const _e=new Date(0);return _e.setFullYear(k,xe,Z),_e.setHours(0,0,0),_e}function En(k,xe){const Z=function Yt(k){return(0,n.H5H)(k)[n.KH2.LocaleId]}(k);if(Ue[Z]??={},Ue[Z][xe])return Ue[Z][xe];let _e="";switch(xe){case"shortDate":_e=tt(k,Oe.Short);break;case"mediumDate":_e=tt(k,Oe.Medium);break;case"longDate":_e=tt(k,Oe.Long);break;case"fullDate":_e=tt(k,Oe.Full);break;case"shortTime":_e=rt(k,Oe.Short);break;case"mediumTime":_e=rt(k,Oe.Medium);break;case"longTime":_e=rt(k,Oe.Long);break;case"fullTime":_e=rt(k,Oe.Full);break;case"short":const ct=En(k,"shortTime"),dn=En(k,"shortDate");_e=ft(Ft(k,Oe.Short),[ct,dn]);break;case"medium":const On=En(k,"mediumTime"),di=En(k,"mediumDate");_e=ft(Ft(k,Oe.Medium),[On,di]);break;case"long":const Cr=En(k,"longTime"),Rr=En(k,"longDate");_e=ft(Ft(k,Oe.Long),[Cr,Rr]);break;case"full":const Lr=En(k,"fullTime"),dr=En(k,"fullDate");_e=ft(Ft(k,Oe.Full),[Lr,dr])}return _e&&(Ue[Z][xe]=_e),_e}function ft(k,xe){return xe&&(k=k.replace(/\{([^}]+)}/g,function(Z,_e){return null!=xe&&_e in xe?xe[_e]:Z})),k}function Tt(k,xe,Z="-",_e,ct){let dn="";(k<0||ct&&k<=0)&&(ct?k=1-k:(k=-k,dn=Z));let On=String(k);for(;On.length<xe;)On="0"+On;return _e&&(On=On.slice(On.length-xe)),dn+On}function Tn(k,xe,Z=0,_e=!1,ct=!1){return function(dn,On){let di=function Xn(k,xe){switch(k){case Lt.FullYear:return xe.getFullYear();case Lt.Month:return xe.getMonth();case Lt.Date:return xe.getDate();case Lt.Hours:return xe.getHours();case Lt.Minutes:return xe.getMinutes();case Lt.Seconds:return xe.getSeconds();case Lt.FractionalSeconds:return xe.getMilliseconds();case Lt.Day:return xe.getDay();default:throw new Error(`Unknown DateType value "${k}".`)}}(k,dn);if((Z>0||di>-Z)&&(di+=Z),k===Lt.Hours)0===di&&-12===Z&&(di=12);else if(k===Lt.FractionalSeconds)return function Qt(k,xe){return Tt(k,3).substring(0,xe)}(di,xe);const Cr=Le(On,Ye.MinusSign);return Tt(di,xe,Cr,_e,ct)}}function Bn(k,xe,Z=we.Format,_e=!1){return function(ct,dn){return function Ii(k,xe,Z,_e,ct,dn){switch(Z){case fn.Months:return function jt(k,xe,Z){const _e=(0,n.H5H)(k),dn=ti([_e[n.KH2.MonthsFormat],_e[n.KH2.MonthsStandalone]],xe);return ti(dn,Z)}(xe,ct,_e)[k.getMonth()];case fn.Days:return function qt(k,xe,Z){const _e=(0,n.H5H)(k),dn=ti([_e[n.KH2.DaysFormat],_e[n.KH2.DaysStandalone]],xe);return ti(dn,Z)}(xe,ct,_e)[k.getDay()];case fn.DayPeriods:const On=k.getHours(),di=k.getMinutes();if(dn){const Rr=function pi(k){const xe=(0,n.H5H)(k);return gn(xe),(xe[n.KH2.ExtraData][2]||[]).map(_e=>"string"==typeof _e?ki(_e):[ki(_e[0]),ki(_e[1])])}(xe),Lr=function hi(k,xe,Z){const _e=(0,n.H5H)(k);gn(_e);const dn=ti([_e[n.KH2.ExtraData][0],_e[n.KH2.ExtraData][1]],xe)||[];return ti(dn,Z)||[]}(xe,ct,_e),dr=Rr.findIndex(so=>{if(Array.isArray(so)){const[or,hr]=so,$r=On>=or.hours&&di>=or.minutes,sr=On<hr.hours||On===hr.hours&&di<hr.minutes;if(or.hours<hr.hours){if($r&&sr)return!0}else if($r||sr)return!0}else if(so.hours===On&&so.minutes===di)return!0;return!1});if(-1!==dr)return Lr[dr]}return function Vt(k,xe,Z){const _e=(0,n.H5H)(k),dn=ti([_e[n.KH2.DayPeriodsFormat],_e[n.KH2.DayPeriodsStandalone]],xe);return ti(dn,Z)}(xe,ct,_e)[On<12?0:1];case fn.Eras:return function Ot(k,xe){return ti((0,n.H5H)(k)[n.KH2.Eras],xe)}(xe,_e)[k.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Z}`)}}(ct,dn,k,xe,Z,_e)}}function qn(k){return function(xe,Z,_e){const ct=-1*_e,dn=Le(Z,Ye.MinusSign),On=ct>0?Math.floor(ct/60):Math.ceil(ct/60);switch(k){case zt.Short:return(ct>=0?"+":"")+Tt(On,2,dn)+Tt(Math.abs(ct%60),2,dn);case zt.ShortGMT:return"GMT"+(ct>=0?"+":"")+Tt(On,1,dn);case zt.Long:return"GMT"+(ct>=0?"+":"")+Tt(On,2,dn)+":"+Tt(Math.abs(ct%60),2,dn);case zt.Extended:return 0===_e?"Z":(ct>=0?"+":"")+Tt(On,2,dn)+":"+Tt(Math.abs(ct%60),2,dn);default:throw new Error(`Unknown zone width "${k}"`)}}}const Qi=0,sn=4;function Zt(k){const xe=k.getDay(),Z=0===xe?-3:sn-xe;return Kt(k.getFullYear(),k.getMonth(),k.getDate()+Z)}function Cn(k,xe=!1){return function(Z,_e){let ct;if(xe){const dn=new Date(Z.getFullYear(),Z.getMonth(),1).getDay()-1,On=Z.getDate();ct=1+Math.floor((On+dn)/7)}else{const dn=Zt(Z),On=function oi(k){const xe=Kt(k,Qi,1).getDay();return Kt(k,0,1+(xe<=sn?sn:sn+7)-xe)}(dn.getFullYear()),di=dn.getTime()-On.getTime();ct=1+Math.round(di/6048e5)}return Tt(ct,k,Le(_e,Ye.MinusSign))}}function Dn(k,xe=!1){return function(Z,_e){return Tt(Zt(Z).getFullYear(),k,Le(_e,Ye.MinusSign),xe)}}const Re={};function ee(k,xe){k=k.replace(/:/g,"");const Z=Date.parse("Jan 01, 1970 00:00:00 "+k)/6e4;return isNaN(Z)?xe:Z}function Dt(k){return k instanceof Date&&!isNaN(k.valueOf())}const Qe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Mt=22,wn=".",lt="0",kt=";",re=",",ze="#";function An(k,xe,Z,_e,ct,dn,On=!1){let di="",Cr=!1;if(isFinite(k)){let Rr=function kr(k){let _e,ct,dn,On,di,xe=Math.abs(k)+"",Z=0;for((ct=xe.indexOf(wn))>-1&&(xe=xe.replace(wn,"")),(dn=xe.search(/e/i))>0?(ct<0&&(ct=dn),ct+=+xe.slice(dn+1),xe=xe.substring(0,dn)):ct<0&&(ct=xe.length),dn=0;xe.charAt(dn)===lt;dn++);if(dn===(di=xe.length))_e=[0],ct=1;else{for(di--;xe.charAt(di)===lt;)di--;for(ct-=dn,_e=[],On=0;dn<=di;dn++,On++)_e[On]=Number(xe.charAt(dn))}return ct>Mt&&(_e=_e.splice(0,Mt-1),Z=ct-1,ct=1),{digits:_e,exponent:Z,integerLen:ct}}(k);On&&(Rr=function Oi(k){if(0===k.digits[0])return k;const xe=k.digits.length-k.integerLen;return k.exponent?k.exponent+=2:(0===xe?k.digits.push(0,0):1===xe&&k.digits.push(0),k.integerLen+=2),k}(Rr));let Lr=xe.minInt,dr=xe.minFrac,so=xe.maxFrac;if(dn){const Ci=dn.match(Qe);if(null===Ci)throw new Error(`${dn} is not a valid digit info`);const Br=Ci[1],bo=Ci[3],Qr=Ci[5];null!=Br&&(Lr=ho(Br)),null!=bo&&(dr=ho(bo)),null!=Qr?so=ho(Qr):null!=bo&&dr>so&&(so=dr)}!function Or(k,xe,Z){if(xe>Z)throw new Error(`The minimum number of digits after fraction (${xe}) is higher than the maximum (${Z}).`);let _e=k.digits,ct=_e.length-k.integerLen;const dn=Math.min(Math.max(xe,ct),Z);let On=dn+k.integerLen,di=_e[On];if(On>0){_e.splice(Math.max(k.integerLen,On));for(let dr=On;dr<_e.length;dr++)_e[dr]=0}else{ct=Math.max(0,ct),k.integerLen=1,_e.length=Math.max(1,On=dn+1),_e[0]=0;for(let dr=1;dr<On;dr++)_e[dr]=0}if(di>=5)if(On-1<0){for(let dr=0;dr>On;dr--)_e.unshift(0),k.integerLen++;_e.unshift(1),k.integerLen++}else _e[On-1]++;for(;ct<Math.max(0,dn);ct++)_e.push(0);let Cr=0!==dn;const Rr=xe+k.integerLen,Lr=_e.reduceRight(function(dr,so,or,hr){return hr[or]=(so+=dr)<10?so:so-10,Cr&&(0===hr[or]&&or>=Rr?hr.pop():Cr=!1),so>=10?1:0},0);Lr&&(_e.unshift(Lr),k.integerLen++)}(Rr,dr,so);let or=Rr.digits,hr=Rr.integerLen;const $r=Rr.exponent;let sr=[];for(Cr=or.every(Ci=>!Ci);hr<Lr;hr++)or.unshift(0);for(;hr<0;hr++)or.unshift(0);hr>0?sr=or.splice(hr,or.length):(sr=or,or=[0]);const Yn=[];for(or.length>=xe.lgSize&&Yn.unshift(or.splice(-xe.lgSize,or.length).join(""));or.length>xe.gSize;)Yn.unshift(or.splice(-xe.gSize,or.length).join(""));or.length&&Yn.unshift(or.join("")),di=Yn.join(Le(Z,_e)),sr.length&&(di+=Le(Z,ct)+sr.join("")),$r&&(di+=Le(Z,Ye.Exponential)+"+"+$r)}else di=Le(Z,Ye.Infinity);return di=k<0&&!Cr?xe.negPre+di+xe.negSuf:xe.posPre+di+xe.posSuf,di}function vr(k,xe="-"){const Z={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},_e=k.split(kt),ct=_e[0],dn=_e[1],On=-1!==ct.indexOf(wn)?ct.split(wn):[ct.substring(0,ct.lastIndexOf(lt)+1),ct.substring(ct.lastIndexOf(lt)+1)],di=On[0],Cr=On[1]||"";Z.posPre=di.substring(0,di.indexOf(ze));for(let Lr=0;Lr<Cr.length;Lr++){const dr=Cr.charAt(Lr);dr===lt?Z.minFrac=Z.maxFrac=Lr+1:dr===ze?Z.maxFrac=Lr+1:Z.posSuf+=dr}const Rr=di.split(re);if(Z.gSize=Rr[1]?Rr[1].length:0,Z.lgSize=Rr[2]||Rr[1]?(Rr[2]||Rr[1]).length:0,dn){const Lr=ct.length-Z.posPre.length-Z.posSuf.length,dr=dn.indexOf(ze);Z.negPre=dn.substring(0,dr).replace(/'/g,""),Z.negSuf=dn.slice(dr+Lr).replace(/'/g,"")}else Z.negPre=xe+Z.posPre,Z.negSuf=Z.posSuf;return Z}function ho(k){const xe=parseInt(k);if(isNaN(xe))throw new Error("Invalid integer literal when parsing "+k);return xe}function pt(k,xe,Z){return(0,n.XSP)(k,xe,Z)}function Ce(k,xe){xe=encodeURIComponent(xe);for(const Z of k.split(";")){const _e=Z.indexOf("="),[ct,dn]=-1==_e?[Z,""]:[Z.slice(0,_e),Z.slice(_e+1)];if(ct.trim()===xe)return decodeURIComponent(dn)}return null}const le=/\s+/,Me=[];let ne=(()=>{class k{constructor(Z,_e){this._ngEl=Z,this._renderer=_e,this.initialClasses=Me,this.stateMap=new Map}set klass(Z){this.initialClasses=null!=Z?Z.trim().split(le):Me}set ngClass(Z){this.rawClass="string"==typeof Z?Z.trim().split(le):Z}ngDoCheck(){for(const _e of this.initialClasses)this._updateState(_e,!0);const Z=this.rawClass;if(Array.isArray(Z)||Z instanceof Set)for(const _e of Z)this._updateState(_e,!0);else if(null!=Z)for(const _e of Object.keys(Z))this._updateState(_e,!!Z[_e]);this._applyStateDiff()}_updateState(Z,_e){const ct=this.stateMap.get(Z);void 0!==ct?(ct.enabled!==_e&&(ct.changed=!0,ct.enabled=_e),ct.touched=!0):this.stateMap.set(Z,{enabled:_e,changed:!0,touched:!0})}_applyStateDiff(){for(const Z of this.stateMap){const _e=Z[0],ct=Z[1];ct.changed?(this._toggleClass(_e,ct.enabled),ct.changed=!1):ct.touched||(ct.enabled&&this._toggleClass(_e,!1),this.stateMap.delete(_e)),ct.touched=!1}}_toggleClass(Z,_e){(Z=Z.trim()).length>0&&Z.split(le).forEach(ct=>{_e?this._renderer.addClass(this._ngEl.nativeElement,ct):this._renderer.removeClass(this._ngEl.nativeElement,ct)})}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.aKT),n.rXU(n.sFG))};static#t=this.\u0275dir=n.FsC({type:k,selectors:[["","ngClass",""]],inputs:{klass:[n.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return k})();class Te{constructor(xe,Z,_e,ct){this.$implicit=xe,this.ngForOf=Z,this.index=_e,this.count=ct}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 ht=(()=>{class k{set ngForOf(Z){this._ngForOf=Z,this._ngForOfDirty=!0}set ngForTrackBy(Z){this._trackByFn=Z}get ngForTrackBy(){return this._trackByFn}constructor(Z,_e,ct){this._viewContainer=Z,this._template=_e,this._differs=ct,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Z){Z&&(this._template=Z)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Z=this._ngForOf;!this._differ&&Z&&(this._differ=this._differs.find(Z).create(this.ngForTrackBy))}if(this._differ){const Z=this._differ.diff(this._ngForOf);Z&&this._applyChanges(Z)}}_applyChanges(Z){const _e=this._viewContainer;Z.forEachOperation((ct,dn,On)=>{if(null==ct.previousIndex)_e.createEmbeddedView(this._template,new Te(ct.item,this._ngForOf,-1,-1),null===On?void 0:On);else if(null==On)_e.remove(null===dn?void 0:dn);else if(null!==dn){const di=_e.get(dn);_e.move(di,On),$t(di,ct)}});for(let ct=0,dn=_e.length;ct<dn;ct++){const di=_e.get(ct).context;di.index=ct,di.count=dn,di.ngForOf=this._ngForOf}Z.forEachIdentityChange(ct=>{$t(_e.get(ct.currentIndex),ct)})}static ngTemplateContextGuard(Z,_e){return!0}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.c1b),n.rXU(n.C4Q),n.rXU(n._q3))};static#t=this.\u0275dir=n.FsC({type:k,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return k})();function $t(k,xe){k.context.$implicit=xe.item}let Qn=(()=>{class k{constructor(Z,_e){this._viewContainer=Z,this._context=new ni,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=_e}set ngIf(Z){this._context.$implicit=this._context.ngIf=Z,this._updateView()}set ngIfThen(Z){Ni("ngIfThen",Z),this._thenTemplateRef=Z,this._thenViewRef=null,this._updateView()}set ngIfElse(Z){Ni("ngIfElse",Z),this._elseTemplateRef=Z,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(Z,_e){return!0}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.c1b),n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:k,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return k})();class ni{constructor(){this.$implicit=null,this.ngIf=null}}function Ni(k,xe){if(xe&&!xe.createEmbeddedView)throw new Error(`${k} must be a TemplateRef, but received '${(0,n.Tbb)(xe)}'.`)}class rr{constructor(xe,Z){this._viewContainerRef=xe,this._templateRef=Z,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(xe){xe&&!this._created?this.create():!xe&&this._created&&this.destroy()}}let $i=(()=>{class k{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Z){this._ngSwitch=Z,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Z){this._defaultViews.push(Z)}_matchCase(Z){const _e=Z===this._ngSwitch;return this._lastCasesMatched||=_e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),_e}_updateDefaultCases(Z){if(this._defaultViews.length>0&&Z!==this._defaultUsed){this._defaultUsed=Z;for(const _e of this._defaultViews)_e.enforceState(Z)}}static#e=this.\u0275fac=function(_e){return new(_e||k)};static#t=this.\u0275dir=n.FsC({type:k,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return k})(),br=(()=>{class k{constructor(Z,_e,ct){this.ngSwitch=ct,ct._addCase(),this._view=new rr(Z,_e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.c1b),n.rXU(n.C4Q),n.rXU($i,9))};static#t=this.\u0275dir=n.FsC({type:k,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return k})(),jr=(()=>{class k{constructor(Z,_e,ct){ct._addDefault(new rr(Z,_e))}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.c1b),n.rXU(n.C4Q),n.rXU($i,9))};static#t=this.\u0275dir=n.FsC({type:k,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return k})(),no=(()=>{class k{constructor(Z,_e,ct){this._ngEl=Z,this._differs=_e,this._renderer=ct,this._ngStyle=null,this._differ=null}set ngStyle(Z){this._ngStyle=Z,!this._differ&&Z&&(this._differ=this._differs.find(Z).create())}ngDoCheck(){if(this._differ){const Z=this._differ.diff(this._ngStyle);Z&&this._applyChanges(Z)}}_setStyle(Z,_e){const[ct,dn]=Z.split("."),On=-1===ct.indexOf("-")?void 0:n.czy.DashCase;null!=_e?this._renderer.setStyle(this._ngEl.nativeElement,ct,dn?`${_e}${dn}`:_e,On):this._renderer.removeStyle(this._ngEl.nativeElement,ct,On)}_applyChanges(Z){Z.forEachRemovedItem(_e=>this._setStyle(_e.key,null)),Z.forEachAddedItem(_e=>this._setStyle(_e.key,_e.currentValue)),Z.forEachChangedItem(_e=>this._setStyle(_e.key,_e.currentValue))}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.aKT),n.rXU(n.MKu),n.rXU(n.sFG))};static#t=this.\u0275dir=n.FsC({type:k,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return k})(),Mi=(()=>{class k{constructor(Z){this._viewContainerRef=Z,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Z){if(this._shouldRecreateView(Z)){const _e=this._viewContainerRef;if(this._viewRef&&_e.remove(_e.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const ct=this._createContextForwardProxy();this._viewRef=_e.createEmbeddedView(this.ngTemplateOutlet,ct,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Z){return!!Z.ngTemplateOutlet||!!Z.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Z,_e,ct)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,_e,ct),get:(Z,_e,ct)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,_e,ct)}})}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.c1b))};static#t=this.\u0275dir=n.FsC({type:k,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.OA$]})}return k})();function _n(k,xe){return new n.wOt(2100,!1)}class Ds{createSubscription(xe,Z){return(0,n.O8t)(()=>xe.subscribe({next:Z,error:_e=>{throw _e}}))}dispose(xe){(0,n.O8t)(()=>xe.unsubscribe())}}class Sa{createSubscription(xe,Z){return xe.then(Z,_e=>{throw _e})}dispose(xe){}}const as=new Sa,Os=new Ds;let ns=(()=>{class k{constructor(Z){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Z}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Z){if(!this._obj){if(Z)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Z)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Z!==this._obj?(this._dispose(),this.transform(Z)):this._latestValue}_subscribe(Z){this._obj=Z,this._strategy=this._selectStrategy(Z),this._subscription=this._strategy.createSubscription(Z,_e=>this._updateLatestValue(Z,_e))}_selectStrategy(Z){if((0,n.jNT)(Z))return as;if((0,n.zjR)(Z))return Os;throw _n()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Z,_e){Z===this._obj&&(this._latestValue=_e,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.gRc,16))};static#t=this.\u0275pipe=n.EJ8({name:"async",type:k,pure:!1,standalone:!0})}return k})();const ae=new n.nKC(""),Xe=new n.nKC("");let Ht=(()=>{class k{constructor(Z,_e,ct){this.locale=Z,this.defaultTimezone=_e,this.defaultOptions=ct}transform(Z,_e,ct,dn){if(null==Z||""===Z||Z!=Z)return null;try{return jn(Z,_e??this.defaultOptions?.dateFormat??"mediumDate",dn||this.locale,ct??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(On){throw _n()}}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.xe9,16),n.rXU(ae,24),n.rXU(Xe,24))};static#t=this.\u0275pipe=n.EJ8({name:"date",type:k,pure:!0,standalone:!0})}return k})(),xr=(()=>{class k{constructor(Z){this._locale=Z}transform(Z,_e,ct){if(!ro(Z))return null;ct||=this._locale;try{return function gr(k,xe,Z){return An(k,vr(pe(xe,se.Decimal),Le(xe,Ye.MinusSign)),xe,Ye.Group,Ye.Decimal,Z)}(ko(Z),ct,_e)}catch(dn){throw _n()}}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.xe9,16))};static#t=this.\u0275pipe=n.EJ8({name:"number",type:k,pure:!0,standalone:!0})}return k})(),ca=(()=>{class k{constructor(Z,_e="USD"){this._locale=Z,this._defaultCurrencyCode=_e}transform(Z,_e=this._defaultCurrencyCode,ct="symbol",dn,On){if(!ro(Z))return null;On||=this._locale,"boolean"==typeof ct&&(ct=ct?"symbol":"code");let di=_e||this._defaultCurrencyCode;"code"!==ct&&(di="symbol"===ct||"symbol-narrow"===ct?function Zi(k,xe,Z="en"){const _e=function Fn(k){return(0,n.H5H)(k)[n.KH2.Currencies]}(Z)[k]||Ge[k]||[],ct=_e[1];return"narrow"===xe&&"string"==typeof ct?ct:_e[0]||k}(di,"symbol"===ct?"wide":"narrow",On):ct);try{return function Di(k,xe,Z,_e,ct){const On=vr(pe(xe,se.Currency),Le(xe,Ye.MinusSign));return On.minFrac=function an(k){let xe;const Z=Ge[k];return Z&&(xe=Z[2]),"number"==typeof xe?xe:2}(_e),On.maxFrac=On.minFrac,An(k,On,xe,Ye.CurrencyGroup,Ye.CurrencyDecimal,ct).replace("\xa4",Z).replace("\xa4","").trim()}(ko(Z),On,di,_e,dn)}catch(Cr){throw _n()}}static#e=this.\u0275fac=function(_e){return new(_e||k)(n.rXU(n.xe9,16),n.rXU(n.Ocv,16))};static#t=this.\u0275pipe=n.EJ8({name:"currency",type:k,pure:!0,standalone:!0})}return k})();function ro(k){return!(null==k||""===k||k!=k)}function ko(k){if("string"==typeof k&&!isNaN(Number(k)-parseFloat(k)))return Number(k);if("number"!=typeof k)throw new Error(`${k} is not a number`);return k}let da=(()=>{class k{static#e=this.\u0275fac=function(_e){return new(_e||k)};static#t=this.\u0275mod=n.$C({type:k});static#n=this.\u0275inj=n.G2t({})}return k})();const go="browser",Ba="server";function wo(k){return k===go}function ls(k){return k===Ba}let So=(()=>{class k{static#e=this.\u0275prov=(0,n.jDH)({token:k,providedIn:"root",factory:()=>wo((0,n.WQX)(n.Agw))?new Uo((0,n.WQX)(M),window):new Ps})}return k})();class Uo{constructor(xe,Z){this.document=xe,this.window=Z,this.offset=()=>[0,0]}setOffset(xe){this.offset=Array.isArray(xe)?()=>xe:xe}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(xe){this.window.scrollTo(xe[0],xe[1])}scrollToAnchor(xe){const Z=function Hr(k,xe){const Z=k.getElementById(xe)||k.getElementsByName(xe)[0];if(Z)return Z;if("function"==typeof k.createTreeWalker&&k.body&&"function"==typeof k.body.attachShadow){const _e=k.createTreeWalker(k.body,NodeFilter.SHOW_ELEMENT);let ct=_e.currentNode;for(;ct;){const dn=ct.shadowRoot;if(dn){const On=dn.getElementById(xe)||dn.querySelector(`[name="${xe}"]`);if(On)return On}ct=_e.nextNode()}}return null}(this.document,xe);Z&&(this.scrollToElement(Z),Z.focus())}setHistoryScrollRestoration(xe){this.window.history.scrollRestoration=xe}scrollToElement(xe){const Z=xe.getBoundingClientRect(),_e=Z.left+this.window.pageXOffset,ct=Z.top+this.window.pageYOffset,dn=this.offset();this.window.scrollTo(_e-dn[0],ct-dn[1])}}class Ps{setOffset(xe){}getScrollPosition(){return[0,0]}scrollToPosition(xe){}scrollToAnchor(xe){}setHistoryScrollRestoration(xe){}}class nl{}},1626:(_t,ge,f)=>{"use strict";f.d(ge,{$R:()=>ye,$m:()=>to,Lr:()=>R,Nl:()=>Ge,Qq:()=>rt,ZZ:()=>lt,a7:()=>hi,cS:()=>Ot,hv:()=>Vt,q1:()=>re});var n=f(467),r=f(4438),y=f(7673),F=f(1985),g=f(2806),A=f(274),M=f(5964),B=f(6354),V=f(980),T=f(5558),N=f(8141),U=f(177);class b{}class G{}class R{constructor(le){this.normalizedNames=new Map,this.lazyUpdate=null,le?"string"==typeof le?this.lazyInit=()=>{this.headers=new Map,le.split("\n").forEach(Me=>{const ne=Me.indexOf(":");if(ne>0){const Je=Me.slice(0,ne),oe=Je.toLowerCase(),Te=Me.slice(ne+1).trim();this.maybeSetNormalizedName(Je,oe),this.headers.has(oe)?this.headers.get(oe).push(Te):this.headers.set(oe,[Te])}})}:typeof Headers<"u"&&le instanceof Headers?(this.headers=new Map,le.forEach((Me,ne)=>{this.setHeaderEntries(ne,Me)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(le).forEach(([Me,ne])=>{this.setHeaderEntries(Me,ne)})}:this.headers=new Map}has(le){return this.init(),this.headers.has(le.toLowerCase())}get(le){this.init();const Me=this.headers.get(le.toLowerCase());return Me&&Me.length>0?Me[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(le){return this.init(),this.headers.get(le.toLowerCase())||null}append(le,Me){return this.clone({name:le,value:Me,op:"a"})}set(le,Me){return this.clone({name:le,value:Me,op:"s"})}delete(le,Me){return this.clone({name:le,value:Me,op:"d"})}maybeSetNormalizedName(le,Me){this.normalizedNames.has(Me)||this.normalizedNames.set(Me,le)}init(){this.lazyInit&&(this.lazyInit instanceof R?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(le=>this.applyUpdate(le)),this.lazyUpdate=null))}copyFrom(le){le.init(),Array.from(le.headers.keys()).forEach(Me=>{this.headers.set(Me,le.headers.get(Me)),this.normalizedNames.set(Me,le.normalizedNames.get(Me))})}clone(le){const Me=new R;return Me.lazyInit=this.lazyInit&&this.lazyInit instanceof R?this.lazyInit:this,Me.lazyUpdate=(this.lazyUpdate||[]).concat([le]),Me}applyUpdate(le){const Me=le.name.toLowerCase();switch(le.op){case"a":case"s":let ne=le.value;if("string"==typeof ne&&(ne=[ne]),0===ne.length)return;this.maybeSetNormalizedName(le.name,Me);const Je=("a"===le.op?this.headers.get(Me):void 0)||[];Je.push(...ne),this.headers.set(Me,Je);break;case"d":const oe=le.value;if(oe){let Te=this.headers.get(Me);if(!Te)return;Te=Te.filter(ht=>-1===oe.indexOf(ht)),0===Te.length?(this.headers.delete(Me),this.normalizedNames.delete(Me)):this.headers.set(Me,Te)}else this.headers.delete(Me),this.normalizedNames.delete(Me)}}setHeaderEntries(le,Me){const ne=(Array.isArray(Me)?Me:[Me]).map(oe=>oe.toString()),Je=le.toLowerCase();this.headers.set(Je,ne),this.maybeSetNormalizedName(le,Je)}forEach(le){this.init(),Array.from(this.normalizedNames.keys()).forEach(Me=>le(this.normalizedNames.get(Me),this.headers.get(Me)))}}class J{encodeKey(le){return dt(le)}encodeValue(le){return dt(le)}decodeKey(le){return decodeURIComponent(le)}decodeValue(le){return decodeURIComponent(le)}}const Ne=/%(\d[a-f0-9])/gi,ot={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function dt(Ce){return encodeURIComponent(Ce).replace(Ne,(le,Me)=>ot[Me]??le)}function He(Ce){return`${Ce}`}class Ge{constructor(le={}){if(this.updates=null,this.cloneFrom=null,this.encoder=le.encoder||new J,le.fromString){if(le.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Se(Ce,le){const Me=new Map;return Ce.length>0&&Ce.replace(/^\?/,"").split("&").forEach(Je=>{const oe=Je.indexOf("="),[Te,ht]=-1==oe?[le.decodeKey(Je),""]:[le.decodeKey(Je.slice(0,oe)),le.decodeValue(Je.slice(oe+1))],$t=Me.get(Te)||[];$t.push(ht),Me.set(Te,$t)}),Me}(le.fromString,this.encoder)}else le.fromObject?(this.map=new Map,Object.keys(le.fromObject).forEach(Me=>{const ne=le.fromObject[Me],Je=Array.isArray(ne)?ne.map(He):[He(ne)];this.map.set(Me,Je)})):this.map=null}has(le){return this.init(),this.map.has(le)}get(le){this.init();const Me=this.map.get(le);return Me?Me[0]:null}getAll(le){return this.init(),this.map.get(le)||null}keys(){return this.init(),Array.from(this.map.keys())}append(le,Me){return this.clone({param:le,value:Me,op:"a"})}appendAll(le){const Me=[];return Object.keys(le).forEach(ne=>{const Je=le[ne];Array.isArray(Je)?Je.forEach(oe=>{Me.push({param:ne,value:oe,op:"a"})}):Me.push({param:ne,value:Je,op:"a"})}),this.clone(Me)}set(le,Me){return this.clone({param:le,value:Me,op:"s"})}delete(le,Me){return this.clone({param:le,value:Me,op:"d"})}toString(){return this.init(),this.keys().map(le=>{const Me=this.encoder.encodeKey(le);return this.map.get(le).map(ne=>Me+"="+this.encoder.encodeValue(ne)).join("&")}).filter(le=>""!==le).join("&")}clone(le){const Me=new Ge({encoder:this.encoder});return Me.cloneFrom=this.cloneFrom||this,Me.updates=(this.updates||[]).concat(le),Me}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(le=>this.map.set(le,this.cloneFrom.map.get(le))),this.updates.forEach(le=>{switch(le.op){case"a":case"s":const Me=("a"===le.op?this.map.get(le.param):void 0)||[];Me.push(He(le.value)),this.map.set(le.param,Me);break;case"d":if(void 0===le.value){this.map.delete(le.param);break}{let ne=this.map.get(le.param)||[];const Je=ne.indexOf(He(le.value));-1!==Je&&ne.splice(Je,1),ne.length>0?this.map.set(le.param,ne):this.map.delete(le.param)}}}),this.cloneFrom=this.updates=null)}}class Ae{constructor(){this.map=new Map}set(le,Me){return this.map.set(le,Me),this}get(le){return this.map.has(le)||this.map.set(le,le.defaultValue()),this.map.get(le)}delete(le){return this.map.delete(le),this}has(le){return this.map.has(le)}keys(){return this.map.keys()}}function ue(Ce){return typeof ArrayBuffer<"u"&&Ce instanceof ArrayBuffer}function Oe(Ce){return typeof Blob<"u"&&Ce instanceof Blob}function Ye(Ce){return typeof FormData<"u"&&Ce instanceof FormData}class Yt{constructor(le,Me,ne,Je){let oe;if(this.url=Me,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=le.toUpperCase(),function we(Ce){switch(Ce){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Je?(this.body=void 0!==ne?ne:null,oe=Je):oe=ne,oe&&(this.reportProgress=!!oe.reportProgress,this.withCredentials=!!oe.withCredentials,oe.responseType&&(this.responseType=oe.responseType),oe.headers&&(this.headers=oe.headers),oe.context&&(this.context=oe.context),oe.params&&(this.params=oe.params),this.transferCache=oe.transferCache),this.headers??=new R,this.context??=new Ae,this.params){const Te=this.params.toString();if(0===Te.length)this.urlWithParams=Me;else{const ht=Me.indexOf("?");this.urlWithParams=Me+(-1===ht?"?":ht<Me.length-1?"&":"")+Te}}else this.params=new Ge,this.urlWithParams=Me}serializeBody(){return null===this.body?null:"string"==typeof this.body||ue(this.body)||Oe(this.body)||Ye(this.body)||function yt(Ce){return typeof URLSearchParams<"u"&&Ce instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ge?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ye(this.body)?null:Oe(this.body)?this.body.type||null:ue(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ge?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(le={}){const Me=le.method||this.method,ne=le.url||this.url,Je=le.responseType||this.responseType,oe=le.transferCache??this.transferCache,Te=void 0!==le.body?le.body:this.body,ht=le.withCredentials??this.withCredentials,$t=le.reportProgress??this.reportProgress;let Kn=le.headers||this.headers,Qn=le.params||this.params;const ni=le.context??this.context;return void 0!==le.setHeaders&&(Kn=Object.keys(le.setHeaders).reduce((Ni,Ui)=>Ni.set(Ui,le.setHeaders[Ui]),Kn)),le.setParams&&(Qn=Object.keys(le.setParams).reduce((Ni,Ui)=>Ni.set(Ui,le.setParams[Ui]),Qn)),new Yt(Me,ne,Te,{params:Qn,headers:Kn,context:ni,reportProgress:$t,responseType:Je,withCredentials:ht,transferCache:oe})}}var Vt=function(Ce){return Ce[Ce.Sent=0]="Sent",Ce[Ce.UploadProgress=1]="UploadProgress",Ce[Ce.ResponseHeader=2]="ResponseHeader",Ce[Ce.DownloadProgress=3]="DownloadProgress",Ce[Ce.Response=4]="Response",Ce[Ce.User=5]="User",Ce}(Vt||{});class qt{constructor(le,Me=ut.Ok,ne="OK"){this.headers=le.headers||new R,this.status=void 0!==le.status?le.status:Me,this.statusText=le.statusText||ne,this.url=le.url||null,this.ok=this.status>=200&&this.status<300}}class jt extends qt{constructor(le={}){super(le),this.type=Vt.ResponseHeader}clone(le={}){return new jt({headers:le.headers||this.headers,status:void 0!==le.status?le.status:this.status,statusText:le.statusText||this.statusText,url:le.url||this.url||void 0})}}class Ot extends qt{constructor(le={}){super(le),this.type=Vt.Response,this.body=void 0!==le.body?le.body:null}clone(le={}){return new Ot({body:void 0!==le.body?le.body:this.body,headers:le.headers||this.headers,status:void 0!==le.status?le.status:this.status,statusText:le.statusText||this.statusText,url:le.url||this.url||void 0})}}class nt extends qt{constructor(le){super(le,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${le.url||"(unknown url)"}`:`Http failure response for ${le.url||"(unknown url)"}: ${le.status} ${le.statusText}`,this.error=le.error||null}}var ut=function(Ce){return Ce[Ce.Continue=100]="Continue",Ce[Ce.SwitchingProtocols=101]="SwitchingProtocols",Ce[Ce.Processing=102]="Processing",Ce[Ce.EarlyHints=103]="EarlyHints",Ce[Ce.Ok=200]="Ok",Ce[Ce.Created=201]="Created",Ce[Ce.Accepted=202]="Accepted",Ce[Ce.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Ce[Ce.NoContent=204]="NoContent",Ce[Ce.ResetContent=205]="ResetContent",Ce[Ce.PartialContent=206]="PartialContent",Ce[Ce.MultiStatus=207]="MultiStatus",Ce[Ce.AlreadyReported=208]="AlreadyReported",Ce[Ce.ImUsed=226]="ImUsed",Ce[Ce.MultipleChoices=300]="MultipleChoices",Ce[Ce.MovedPermanently=301]="MovedPermanently",Ce[Ce.Found=302]="Found",Ce[Ce.SeeOther=303]="SeeOther",Ce[Ce.NotModified=304]="NotModified",Ce[Ce.UseProxy=305]="UseProxy",Ce[Ce.Unused=306]="Unused",Ce[Ce.TemporaryRedirect=307]="TemporaryRedirect",Ce[Ce.PermanentRedirect=308]="PermanentRedirect",Ce[Ce.BadRequest=400]="BadRequest",Ce[Ce.Unauthorized=401]="Unauthorized",Ce[Ce.PaymentRequired=402]="PaymentRequired",Ce[Ce.Forbidden=403]="Forbidden",Ce[Ce.NotFound=404]="NotFound",Ce[Ce.MethodNotAllowed=405]="MethodNotAllowed",Ce[Ce.NotAcceptable=406]="NotAcceptable",Ce[Ce.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Ce[Ce.RequestTimeout=408]="RequestTimeout",Ce[Ce.Conflict=409]="Conflict",Ce[Ce.Gone=410]="Gone",Ce[Ce.LengthRequired=411]="LengthRequired",Ce[Ce.PreconditionFailed=412]="PreconditionFailed",Ce[Ce.PayloadTooLarge=413]="PayloadTooLarge",Ce[Ce.UriTooLong=414]="UriTooLong",Ce[Ce.UnsupportedMediaType=415]="UnsupportedMediaType",Ce[Ce.RangeNotSatisfiable=416]="RangeNotSatisfiable",Ce[Ce.ExpectationFailed=417]="ExpectationFailed",Ce[Ce.ImATeapot=418]="ImATeapot",Ce[Ce.MisdirectedRequest=421]="MisdirectedRequest",Ce[Ce.UnprocessableEntity=422]="UnprocessableEntity",Ce[Ce.Locked=423]="Locked",Ce[Ce.FailedDependency=424]="FailedDependency",Ce[Ce.TooEarly=425]="TooEarly",Ce[Ce.UpgradeRequired=426]="UpgradeRequired",Ce[Ce.PreconditionRequired=428]="PreconditionRequired",Ce[Ce.TooManyRequests=429]="TooManyRequests",Ce[Ce.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Ce[Ce.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Ce[Ce.InternalServerError=500]="InternalServerError",Ce[Ce.NotImplemented=501]="NotImplemented",Ce[Ce.BadGateway=502]="BadGateway",Ce[Ce.ServiceUnavailable=503]="ServiceUnavailable",Ce[Ce.GatewayTimeout=504]="GatewayTimeout",Ce[Ce.HttpVersionNotSupported=505]="HttpVersionNotSupported",Ce[Ce.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Ce[Ce.InsufficientStorage=507]="InsufficientStorage",Ce[Ce.LoopDetected=508]="LoopDetected",Ce[Ce.NotExtended=510]="NotExtended",Ce[Ce.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Ce}(ut||{});function tt(Ce,le){return{body:le,headers:Ce.headers,context:Ce.context,observe:Ce.observe,params:Ce.params,reportProgress:Ce.reportProgress,responseType:Ce.responseType,withCredentials:Ce.withCredentials,transferCache:Ce.transferCache}}let rt=(()=>{class Ce{constructor(Me){this.handler=Me}request(Me,ne,Je={}){let oe;if(Me instanceof Yt)oe=Me;else{let $t,Kn;$t=Je.headers instanceof R?Je.headers:new R(Je.headers),Je.params&&(Kn=Je.params instanceof Ge?Je.params:new Ge({fromObject:Je.params})),oe=new Yt(Me,ne,void 0!==Je.body?Je.body:null,{headers:$t,context:Je.context,params:Kn,reportProgress:Je.reportProgress,responseType:Je.responseType||"json",withCredentials:Je.withCredentials,transferCache:Je.transferCache})}const Te=(0,y.of)(oe).pipe((0,A.H)($t=>this.handler.handle($t)));if(Me instanceof Yt||"events"===Je.observe)return Te;const ht=Te.pipe((0,M.p)($t=>$t instanceof Ot));switch(Je.observe||"body"){case"body":switch(oe.responseType){case"arraybuffer":return ht.pipe((0,B.T)($t=>{if(null!==$t.body&&!($t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return $t.body}));case"blob":return ht.pipe((0,B.T)($t=>{if(null!==$t.body&&!($t.body instanceof Blob))throw new Error("Response is not a Blob.");return $t.body}));case"text":return ht.pipe((0,B.T)($t=>{if(null!==$t.body&&"string"!=typeof $t.body)throw new Error("Response is not a string.");return $t.body}));default:return ht.pipe((0,B.T)($t=>$t.body))}case"response":return ht;default:throw new Error(`Unreachable: unhandled observe type ${Je.observe}}`)}}delete(Me,ne={}){return this.request("DELETE",Me,ne)}get(Me,ne={}){return this.request("GET",Me,ne)}head(Me,ne={}){return this.request("HEAD",Me,ne)}jsonp(Me,ne){return this.request("JSONP",Me,{params:(new Ge).append(ne,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Me,ne={}){return this.request("OPTIONS",Me,ne)}patch(Me,ne,Je={}){return this.request("PATCH",Me,tt(Je,ne))}post(Me,ne,Je={}){return this.request("POST",Me,tt(Je,ne))}put(Me,ne,Je={}){return this.request("PUT",Me,tt(Je,ne))}static#e=this.\u0275fac=function(ne){return new(ne||Ce)(r.KVO(b))};static#t=this.\u0275prov=r.jDH({token:Ce,factory:Ce.\u0275fac})}return Ce})();const Ft=/^\)\]\}',?\n/;function pe(Ce){if(Ce.url)return Ce.url;const le="X-Request-URL".toLocaleLowerCase();return Ce.headers.get(le)}let Pe=(()=>{class Ce{constructor(){this.fetchImpl=(0,r.WQX)(et,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,r.WQX)(r.SKi)}handle(Me){return new F.c(ne=>{const Je=new AbortController;return this.doRequest(Me,Je.signal,ne).then(Pt,oe=>ne.error(new nt({error:oe}))),()=>Je.abort()})}doRequest(Me,ne,Je){var oe=this;return(0,n.A)(function*(){const Te=oe.createRequestInit(Me);let ht;try{const rr=oe.fetchImpl(Me.urlWithParams,{signal:ne,...Te});(function Fn(Ce){Ce.then(Pt,Pt)})(rr),Je.next({type:Vt.Sent}),ht=yield rr}catch(rr){return void Je.error(new nt({error:rr,status:rr.status??0,statusText:rr.statusText,url:Me.urlWithParams,headers:rr.headers}))}const $t=new R(ht.headers),Kn=ht.statusText,Qn=pe(ht)??Me.urlWithParams;let ni=ht.status,Ni=null;if(Me.reportProgress&&Je.next(new jt({headers:$t,status:ni,statusText:Kn,url:Qn})),ht.body){const rr=ht.headers.get("content-length"),$i=[],br=ht.body.getReader();let ts,Ur,jr=0;const Ji=typeof Zone<"u"&&Zone.current;yield oe.ngZone.runOutsideAngular((0,n.A)(function*(){for(;;){const{done:no,value:Mi}=yield br.read();if(no)break;if($i.push(Mi),jr+=Mi.length,Me.reportProgress){Ur="text"===Me.responseType?(Ur??"")+(ts??=new TextDecoder).decode(Mi,{stream:!0}):void 0;const Li=()=>Je.next({type:Vt.DownloadProgress,total:rr?+rr:void 0,loaded:jr,partialText:Ur});Ji?Ji.run(Li):Li()}}}));const po=oe.concatChunks($i,jr);try{const no=ht.headers.get("Content-Type")??"";Ni=oe.parseBody(Me,po,no)}catch(no){return void Je.error(new nt({error:no,headers:new R(ht.headers),status:ht.status,statusText:ht.statusText,url:pe(ht)??Me.urlWithParams}))}}0===ni&&(ni=Ni?ut.Ok:0),ni>=200&&ni<300?(Je.next(new Ot({body:Ni,headers:$t,status:ni,statusText:Kn,url:Qn})),Je.complete()):Je.error(new nt({error:Ni,headers:$t,status:ni,statusText:Kn,url:Qn}))})()}parseBody(Me,ne,Je){switch(Me.responseType){case"json":const oe=(new TextDecoder).decode(ne).replace(Ft,"");return""===oe?null:JSON.parse(oe);case"text":return(new TextDecoder).decode(ne);case"blob":return new Blob([ne],{type:Je});case"arraybuffer":return ne.buffer}}createRequestInit(Me){const ne={},Je=Me.withCredentials?"include":void 0;if(Me.headers.forEach((oe,Te)=>ne[oe]=Te.join(",")),ne.Accept??="application/json, text/plain, */*",!ne["Content-Type"]){const oe=Me.detectContentTypeHeader();null!==oe&&(ne["Content-Type"]=oe)}return{body:Me.serializeBody(),method:Me.method,headers:ne,credentials:Je}}concatChunks(Me,ne){const Je=new Uint8Array(ne);let oe=0;for(const Te of Me)Je.set(Te,oe),oe+=Te.length;return Je}static#e=this.\u0275fac=function(ne){return new(ne||Ce)};static#t=this.\u0275prov=r.jDH({token:Ce,factory:Ce.\u0275fac})}return Ce})();class et{}function Pt(){}function ei(Ce,le){return le(Ce)}function gn(Ce,le){return(Me,ne)=>le.intercept(Me,{handle:Je=>Ce(Je,ne)})}const hi=new r.nKC(""),xi=new r.nKC(""),ti=new r.nKC(""),ki=new r.nKC("");function Zi(){let Ce=null;return(le,Me)=>{null===Ce&&(Ce=((0,r.WQX)(hi,{optional:!0})??[]).reduceRight(gn,ei));const ne=(0,r.WQX)(r.TgB),Je=ne.add();return Ce(le,Me).pipe((0,V.j)(()=>ne.remove(Je)))}}let me=(()=>{class Ce extends b{constructor(Me,ne){super(),this.backend=Me,this.injector=ne,this.chain=null,this.pendingTasks=(0,r.WQX)(r.TgB);const Je=(0,r.WQX)(ki,{optional:!0});this.backend=Je??Me}handle(Me){if(null===this.chain){const Je=Array.from(new Set([...this.injector.get(xi),...this.injector.get(ti,[])]));this.chain=Je.reduceRight((oe,Te)=>function pi(Ce,le,Me){return(ne,Je)=>(0,r.N4e)(Me,()=>le(ne,oe=>Ce(oe,Je)))}(oe,Te,this.injector),ei)}const ne=this.pendingTasks.add();return this.chain(Me,Je=>this.backend.handle(Je)).pipe((0,V.j)(()=>this.pendingTasks.remove(ne)))}static#e=this.\u0275fac=function(ne){return new(ne||Ce)(r.KVO(G),r.KVO(r.uvJ))};static#t=this.\u0275prov=r.jDH({token:Ce,factory:Ce.\u0275fac})}return Ce})();const Tn=/^\)\]\}',?\n/;let Bn=(()=>{class Ce{constructor(Me){this.xhrFactory=Me}handle(Me){if("JSONP"===Me.method)throw new r.wOt(-2800,!1);const ne=this.xhrFactory;return(ne.\u0275loadImpl?(0,g.H)(ne.\u0275loadImpl()):(0,y.of)(null)).pipe((0,T.n)(()=>new F.c(oe=>{const Te=ne.build();if(Te.open(Me.method,Me.urlWithParams),Me.withCredentials&&(Te.withCredentials=!0),Me.headers.forEach(($i,br)=>Te.setRequestHeader($i,br.join(","))),Me.headers.has("Accept")||Te.setRequestHeader("Accept","application/json, text/plain, */*"),!Me.headers.has("Content-Type")){const $i=Me.detectContentTypeHeader();null!==$i&&Te.setRequestHeader("Content-Type",$i)}if(Me.responseType){const $i=Me.responseType.toLowerCase();Te.responseType="json"!==$i?$i:"text"}const ht=Me.serializeBody();let $t=null;const Kn=()=>{if(null!==$t)return $t;const $i=Te.statusText||"OK",br=new R(Te.getAllResponseHeaders()),jr=function Xn(Ce){return"responseURL"in Ce&&Ce.responseURL?Ce.responseURL:/^X-Request-URL:/m.test(Ce.getAllResponseHeaders())?Ce.getResponseHeader("X-Request-URL"):null}(Te)||Me.url;return $t=new jt({headers:br,status:Te.status,statusText:$i,url:jr}),$t},Qn=()=>{let{headers:$i,status:br,statusText:jr,url:ts}=Kn(),Ur=null;br!==ut.NoContent&&(Ur=typeof Te.response>"u"?Te.responseText:Te.response),0===br&&(br=Ur?ut.Ok:0);let Ji=br>=200&&br<300;if("json"===Me.responseType&&"string"==typeof Ur){const po=Ur;Ur=Ur.replace(Tn,"");try{Ur=""!==Ur?JSON.parse(Ur):null}catch(no){Ur=po,Ji&&(Ji=!1,Ur={error:no,text:Ur})}}Ji?(oe.next(new Ot({body:Ur,headers:$i,status:br,statusText:jr,url:ts||void 0})),oe.complete()):oe.error(new nt({error:Ur,headers:$i,status:br,statusText:jr,url:ts||void 0}))},ni=$i=>{const{url:br}=Kn(),jr=new nt({error:$i,status:Te.status||0,statusText:Te.statusText||"Unknown Error",url:br||void 0});oe.error(jr)};let Ni=!1;const Ui=$i=>{Ni||(oe.next(Kn()),Ni=!0);let br={type:Vt.DownloadProgress,loaded:$i.loaded};$i.lengthComputable&&(br.total=$i.total),"text"===Me.responseType&&Te.responseText&&(br.partialText=Te.responseText),oe.next(br)},rr=$i=>{let br={type:Vt.UploadProgress,loaded:$i.loaded};$i.lengthComputable&&(br.total=$i.total),oe.next(br)};return Te.addEventListener("load",Qn),Te.addEventListener("error",ni),Te.addEventListener("timeout",ni),Te.addEventListener("abort",ni),Me.reportProgress&&(Te.addEventListener("progress",Ui),null!==ht&&Te.upload&&Te.upload.addEventListener("progress",rr)),Te.send(ht),oe.next({type:Vt.Sent}),()=>{Te.removeEventListener("error",ni),Te.removeEventListener("abort",ni),Te.removeEventListener("load",Qn),Te.removeEventListener("timeout",ni),Me.reportProgress&&(Te.removeEventListener("progress",Ui),null!==ht&&Te.upload&&Te.upload.removeEventListener("progress",rr)),Te.readyState!==Te.DONE&&Te.abort()}})))}static#e=this.\u0275fac=function(ne){return new(ne||Ce)(r.KVO(U.N0))};static#t=this.\u0275prov=r.jDH({token:Ce,factory:Ce.\u0275fac})}return Ce})();const Ii=new r.nKC(""),Qi=new r.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),oi=new r.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Zt{}let Cn=(()=>{class Ce{constructor(Me,ne,Je){this.doc=Me,this.platform=ne,this.cookieName=Je,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Me=this.doc.cookie||"";return Me!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,U._b)(Me,this.cookieName),this.lastCookieString=Me),this.lastToken}static#e=this.\u0275fac=function(ne){return new(ne||Ce)(r.KVO(U.qQ),r.KVO(r.Agw),r.KVO(Qi))};static#t=this.\u0275prov=r.jDH({token:Ce,factory:Ce.\u0275fac})}return Ce})();function Dn(Ce,le){const Me=Ce.url.toLowerCase();if(!(0,r.WQX)(Ii)||"GET"===Ce.method||"HEAD"===Ce.method||Me.startsWith("http://")||Me.startsWith("https://"))return le(Ce);const ne=(0,r.WQX)(Zt).getToken(),Je=(0,r.WQX)(oi);return null!=ne&&!Ce.headers.has(Je)&&(Ce=Ce.clone({headers:Ce.headers.set(Je,ne)})),le(Ce)}var Be=function(Ce){return Ce[Ce.Interceptors=0]="Interceptors",Ce[Ce.LegacyInterceptors=1]="LegacyInterceptors",Ce[Ce.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ce[Ce.NoXsrfProtection=3]="NoXsrfProtection",Ce[Ce.JsonpSupport=4]="JsonpSupport",Ce[Ce.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ce[Ce.Fetch=6]="Fetch",Ce}(Be||{});function ee(Ce,le){return{\u0275kind:Ce,\u0275providers:le}}function ye(...Ce){const le=[rt,Bn,me,{provide:b,useExisting:me},{provide:G,useExisting:Bn},{provide:xi,useValue:Dn,multi:!0},{provide:Ii,useValue:!0},{provide:Zt,useClass:Cn}];for(const Me of Ce)le.push(...Me.\u0275providers);return(0,r.EmA)(le)}const Wt=new r.nKC("");function Et(){return ee(Be.LegacyInterceptors,[{provide:Wt,useFactory:Zi},{provide:xi,useExisting:Wt,multi:!0}])}function lt(){return ee(Be.Fetch,[Pe,{provide:G,useExisting:Pe},{provide:ki,useExisting:Pe}])}let re=(()=>{class Ce{static#e=this.\u0275fac=function(ne){return new(ne||Ce)};static#t=this.\u0275mod=r.$C({type:Ce});static#n=this.\u0275inj=r.G2t({providers:[ye(Et())]})}return Ce})();const bt="b",Ut="h",An="s",Di="st",Bi="u",gr="rt",vr=new r.nKC(""),Oi=["GET","HEAD"];function kr(Ce,le){const{isCacheActive:Me,...ne}=(0,r.WQX)(vr),{transferCache:Je,method:oe}=Ce;if(!Me||"POST"===oe&&!ne.includePostRequests&&!Je||"POST"!==oe&&!Oi.includes(oe)||!1===Je||!1===ne.filter?.(Ce))return le(Ce);const Te=(0,r.WQX)(r.pJN),ht=function jo(Ce){const{params:le,method:Me,responseType:ne,url:Je}=Ce,oe=ho(le);let Te=Ce.serializeBody();Te instanceof URLSearchParams?Te=ho(Te):"string"!=typeof Te&&(Te="");const $t=function lo(Ce){let le=0;for(const Me of Ce)le=Math.imul(31,le)+Me.charCodeAt(0)|0;return le+=2147483648,le.toString()}([Me,ne,Je,Te,oe].join("|"));return(0,r.zw6)($t)}(Ce),$t=Te.get(ht,null);let Kn=ne.includeHeaders;if("object"==typeof Je&&Je.includeHeaders&&(Kn=Je.includeHeaders),$t){const{[bt]:ni,[gr]:Ni,[Ut]:Ui,[An]:rr,[Di]:$i,[Bi]:br}=$t;let jr=ni;switch(Ni){case"arraybuffer":jr=(new TextEncoder).encode(ni).buffer;break;case"blob":jr=new Blob([ni])}let ts=new R(Ui);return(0,y.of)(new Ot({body:jr,headers:ts,status:rr,statusText:$i,url:br}))}const Qn=(0,U.Vy)((0,r.WQX)(r.Agw));return le(Ce).pipe((0,N.M)(ni=>{ni instanceof Ot&&Qn&&Te.set(ht,{[bt]:ni.body,[Ut]:Or(ni.headers,Kn),[An]:ni.status,[Di]:ni.statusText,[Bi]:ni.url||"",[gr]:Ce.responseType})}))}function Or(Ce,le){if(!le)return{};const Me={};for(const ne of le){const Je=Ce.getAll(ne);null!==Je&&(Me[ne]=Je)}return Me}function ho(Ce){return[...Ce.keys()].sort().map(le=>`${le}=${Ce.getAll(le)}`).join("&")}function to(Ce){return[{provide:vr,useFactory:()=>((0,r.ngT)("NgHttpTransferCache"),{isCacheActive:!0,...Ce})},{provide:ti,useValue:kr,multi:!0,deps:[r.pJN,vr]},{provide:r.iLQ,multi:!0,useFactory:()=>{const le=(0,r.WQX)(r.o8S),Me=(0,r.WQX)(vr);return()=>{(0,r.zuW)(le).then(()=>{Me.isCacheActive=!1})}}}]}},4438:(_t,ge,f)=>{"use strict";f.d(ge,{bc$:()=>Gm,iLQ:()=>uy,sZ2:()=>Yh,hnV:()=>wD,Hbi:()=>CI,o8S:()=>Mu,BIS:()=>zm,gRc:()=>VD,Ql9:()=>XM,OM3:()=>Wg,Ocv:()=>nI,abz:()=>Ja,Z63:()=>Ws,aKT:()=>ud,uvJ:()=>Ms,zcH:()=>Qa,bkB:()=>_l,$GK:()=>Hi,nKC:()=>Je,zZn:()=>ya,_q3:()=>by,MKu:()=>yy,xe9:()=>Tv,Co$:()=>C0,Vns:()=>sh,SKi:()=>As,Xx1:()=>ls,Agw:()=>yf,PLl:()=>bf,rOR:()=>fd,sFG:()=>Ux,_9s:()=>Ay,czy:()=>gu,WPN:()=>Wl,kdw:()=>_o,C4Q:()=>el,NYb:()=>$M,giA:()=>DD,pJN:()=>iu,RxE:()=>mD,c1b:()=>q_,gXe:()=>Ao,mal:()=>By,Af3:()=>k,L39:()=>ZI,Ol2:()=>fb,w6W:()=>U1,oH4:()=>FD,QZP:()=>gx,SmG:()=>aI,Rfq:()=>Dn,WQX:()=>Ri,Hps:()=>ab,QuC:()=>si,EmA:()=>Nt,zw6:()=>S_,Udg:()=>qI,fpN:()=>EI,HJs:()=>sk,N4e:()=>Rl,O8t:()=>tk,An2:()=>Y_,H3F:()=>gD,H8p:()=>Ta,KH2:()=>sm,TgB:()=>Up,wOt:()=>mn,WHO:()=>ED,e01:()=>CD,lNU:()=>Zi,h9k:()=>cp,$MX:()=>fu,ZF7:()=>zl,Kcf:()=>mr,e5t:()=>qm,UyX:()=>ra,cWb:()=>Ff,osQ:()=>No,H5H:()=>jb,Zy3:()=>an,mq5:()=>SE,JZv:()=>Xn,LfX:()=>jo,plB:()=>xu,jNT:()=>cy,zjR:()=>xD,ngT:()=>vc,XSP:()=>ES,TL$:()=>$m,Tbb:()=>sn,zUL:()=>Zt,rcV:()=>vl,zuW:()=>ID,M8M:()=>jI,Vt3:()=>cb,Mj6:()=>Go,GFd:()=>E0,OA$:()=>cl,Jv_:()=>LC,aNF:()=>NC,R7$:()=>Ip,BMQ:()=>Db,HbH:()=>cE,AVh:()=>kb,vxM:()=>bE,wni:()=>uC,VBU:()=>ri,FsC:()=>tr,jDH:()=>Oi,G2t:()=>Or,$C:()=>Gn,EJ8:()=>yr,rXU:()=>_c,nrm:()=>Lb,eu8:()=>Nb,bVm:()=>mv,qex:()=>pv,k0s:()=>hv,j41:()=>fv,RV6:()=>wE,xGo:()=>os,Mr5:()=>Bb,KVO:()=>ro,kS0:()=>Zd,QTQ:()=>Zf,bIt:()=>Hb,lsd:()=>pC,joV:()=>yh,qSk:()=>$d,XpG:()=>nC,nI1:()=>YC,bMT:()=>QC,i5U:()=>JC,brH:()=>ZC,SdG:()=>rC,NAR:()=>iC,Y8G:()=>Tb,FS9:()=>Wb,Mz_:()=>yv,FCK:()=>Kb,yjJ:()=>Xb,lJ4:()=>VC,eq3:()=>jC,l_i:()=>UC,sMw:()=>$C,ziG:()=>HC,mGM:()=>hC,sdS:()=>mC,Dyx:()=>CE,Z7z:()=>EE,fX1:()=>yE,Njj:()=>Ul,EBC:()=>mp,tSv:()=>vg,eBV:()=>ic,npT:()=>yl,B4B:()=>pu,n$t:()=>mu,Aen:()=>bc,xc7:()=>Ib,Kam:()=>Gb,zvX:()=>Vb,DNE:()=>$p,C5r:()=>qC,EFF:()=>wC,JRh:()=>Yb,SpI:()=>Ev,Lme:()=>Qb,DH7:()=>PC,mxI:()=>Zb,R50:()=>Jb,GBs:()=>fC}),f(467);let y=null,F=!1,g=1;const A=Symbol("SIGNAL");function M(e){const t=y;return y=e,t}const N={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function G(e){if((!se(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==g)){if(!e.producerMustRecompute(e)&&!ot(e))return e.dirty=!1,void(e.lastCleanEpoch=g);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=g}}function J(e){e.dirty=!0,function R(e){if(void 0===e.liveConsumerNode)return;const t=F;F=!0;try{for(const i of e.liveConsumerNode)i.dirty||J(i)}finally{F=t}}(e),e.consumerMarkedDirty?.(e)}function Se(e){return e&&(e.nextProducerIndex=0),M(e)}function Ne(e,t){if(M(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(se(e))for(let i=e.nextProducerIndex;i<e.producerNode.length;i++)Ge(e.producerNode[i],e.producerIndexOfThis[i]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ot(e){Ae(e);for(let t=0;t<e.producerNode.length;t++){const i=e.producerNode[t],a=e.producerLastReadVersion[t];if(a!==i.version||(G(i),a!==i.version))return!0}return!1}function dt(e){if(Ae(e),se(e))for(let t=0;t<e.producerNode.length;t++)Ge(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ge(e,t){if(function we(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Ae(e),1===e.liveConsumerNode.length)for(let a=0;a<e.producerNode.length;a++)Ge(e.producerNode[a],e.producerIndexOfThis[a]);const i=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[i],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[i],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const a=e.liveConsumerIndexOfThis[t],d=e.liveConsumerNode[t];Ae(d),d.producerIndexOfThis[a]=t}}function se(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ae(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let qt=null;const Pt=()=>{},Fn={...N,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Pt};var gn=f(1413),pi=f(8359),hi=f(4412),xi=f(6354),ti=f(1594);const Zi="https://g.co/ng/security#xss";class mn extends Error{constructor(t,i){super(an(t,i)),this.code=t}}function an(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function fn(e){return{toString:e}.toString()}const Kt="__parameters__";function Qt(e,t,i){return fn(()=>{const a=function Tt(e){return function(...i){if(e){const a=e(...i);for(const d in a)this[d]=a[d]}}}(t);function d(...p){if(this instanceof d)return a.apply(this,p),this;const v=new d(...p);return E.annotation=v,E;function E(I,ie,De){const We=I.hasOwnProperty(Kt)?I[Kt]:Object.defineProperty(I,Kt,{value:[]})[Kt];for(;We.length<=De;)We.push(null);return(We[De]=We[De]||[]).push(v),I}}return i&&(d.prototype=Object.create(i.prototype)),d.prototype.ngMetadataName=e,d.annotationCls=d,d})}const Xn=globalThis;function qn(e){for(let t in e)if(e[t]===qn)return t;throw Error("Could not find renamed property on target object.")}function Qi(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function sn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(sn).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 i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function oi(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function Zt(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const i=Math.round(t/2);return e.substring(0,i)+"..."+e.substring(e.length-i)}const Cn=qn({__forward_ref__:qn});function Dn(e){return e.__forward_ref__=Dn,e.toString=function(){return sn(this())},e}function Re(e){return Be(e)?e():e}function Be(e){return"function"==typeof e&&e.hasOwnProperty(Cn)&&e.__forward_ref__===Dn}function Oi(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Or(e){return{providers:e.providers||[],imports:e.imports||[]}}function ho(e){return lo(e,Ce)||lo(e,Me)}function jo(e){return null!==ho(e)}function lo(e,t){return e.hasOwnProperty(t)?e[t]:null}function pt(e){return e&&(e.hasOwnProperty(le)||e.hasOwnProperty(ne))?e[le]:null}const Ce=qn({\u0275prov:qn}),le=qn({\u0275inj:qn}),Me=qn({ngInjectableDef:qn}),ne=qn({ngInjectorDef:qn});class Je{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Oi({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function $i(e){return e&&!!e.\u0275providers}const br=qn({\u0275cmp:qn}),jr=qn({\u0275dir:qn}),ts=qn({\u0275pipe:qn}),Ur=qn({\u0275mod:qn}),Ji=qn({\u0275fac:qn}),po=qn({__NG_ELEMENT_ID__:qn}),no=qn({__NG_ENV_ID__:qn});function Mi(e){return"string"==typeof e?e:null==e?"":String(e)}function ns(e,t){throw new mn(-201,!1)}var Hi=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Hi||{});let mt;function Ln(){return mt}function O(e){const t=mt;return mt=e,t}function be(e,t,i){const a=ho(e);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:i&Hi.Optional?null:void 0!==t?t:void ns()}const Ht={},wi="__NG_DI_FLAG__",Nr="ngTempTokenPath",mo=/\n/gm,xs="__source";let ws;function fr(e){const t=ws;return ws=e,t}function ca(e,t=Hi.Default){if(void 0===ws)throw new mn(-203,!1);return null===ws?be(e,void 0,t):ws.get(e,t&Hi.Optional?null:void 0,t)}function ro(e,t=Hi.Default){return(Ln()||ca)(Re(e),t)}function Ri(e,t=Hi.Default){return ro(e,Xo(t))}function Xo(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function da(e){const t=[];for(let i=0;i<e.length;i++){const a=Re(e[i]);if(Array.isArray(a)){if(0===a.length)throw new mn(900,!1);let d,p=Hi.Default;for(let v=0;v<a.length;v++){const E=a[v],I=Ba(E);"number"==typeof I?-1===I?d=E.token:p|=I:d=E}t.push(ro(d,p))}else t.push(ro(a))}return t}function go(e,t){return e[wi]=t,e.prototype[wi]=t,e}function Ba(e){return e[wi]}const ls=go(Qt("Optional"),8),_o=go(Qt("SkipSelf"),4);function So(e,t){return e.hasOwnProperty(Ji)?e[Ji]:null}function Ps(e,t){e.forEach(i=>Array.isArray(i)?Ps(i,t):t(i))}function nl(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Fr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function qr(e,t,i){let a=wr(e,t);return a>=0?e[1|a]=i:(a=~a,function Ss(e,t,i,a){let d=e.length;if(d==t)e.push(i,a);else if(1===d)e.push(a,e[0]),e[0]=i;else{for(d--,e.push(e[d-1],e[d]);d>t;)e[d]=e[d-2],d--;e[t]=i,e[t+1]=a}}(e,a,t,i)),a}function $o(e,t){const i=wr(e,t);if(i>=0)return e[1|i]}function wr(e,t){return function fa(e,t,i){let a=0,d=e.length>>i;for(;d!==a;){const p=a+(d-a>>1),v=e[p<<i];if(t===v)return p<<i;v>t?d=p:a=p+1}return~(d<<i)}(e,t,1)}const Ho={},qi=[],Ws=new Je(""),ha=new Je("",-1),cs=new Je("");class ds{get(t,i=Ht){if(i===Ht){const a=new Error(`NullInjectorError: No provider for ${sn(t)}!`);throw a.name="NullInjectorError",a}return i}}var Ls=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ls||{}),Ao=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ao||{}),Go=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Go||{});function Ks(e,t,i){let a=e.length;for(;;){const d=e.indexOf(t,i);if(-1===d)return d;if(0===d||e.charCodeAt(d-1)<=32){const p=t.length;if(d+p===a||e.charCodeAt(d+p)<=32)return d}i=d+1}}function fe(e,t,i){let a=0;for(;a<i.length;){const d=i[a];if("number"==typeof d){if(0!==d)break;a++;const p=i[a++],v=i[a++],E=i[a++];e.setAttribute(t,v,E,p)}else{const p=d,v=i[++a];Y(p)?e.setProperty(t,p,v):e.setAttribute(t,p,v),a++}}return a}function Ee(e){return 3===e||4===e||6===e}function Y(e){return 64===e.charCodeAt(0)}function Ve(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let a=0;a<t.length;a++){const d=t[a];"number"==typeof d?i=d:0===i||Ct(e,i,d,null,-1===i||2===i?t[++a]:null)}}return e}function Ct(e,t,i,a,d){let p=0,v=e.length;if(-1===t)v=-1;else for(;p<e.length;){const E=e[p++];if("number"==typeof E){if(E===t){v=-1;break}if(E>t){v=p-1;break}}}for(;p<e.length;){const E=e[p];if("number"==typeof E)break;if(E===i){if(null===a)return void(null!==d&&(e[p+1]=d));if(a===e[p+1])return void(e[p+2]=d)}p++,null!==a&&p++,null!==d&&p++}-1!==v&&(e.splice(v,0,t),p=v+1),e.splice(p++,0,i),null!==a&&e.splice(p++,0,a),null!==d&&e.splice(p++,0,d)}const _i="ng-template";function j(e,t,i,a){let d=0;if(a){for(;d<t.length&&"string"==typeof t[d];d+=2)if("class"===t[d]&&-1!==Ks(t[d+1].toLowerCase(),i,0))return!0}else if(x(e))return!1;if(d=t.indexOf(1,d),d>-1){let p;for(;++d<t.length&&"string"==typeof(p=t[d]);)if(p.toLowerCase()===i)return!0}return!1}function x(e){return 4===e.type&&e.value!==_i}function P(e,t,i){return t===(4!==e.type||i?e.value:_i)}function te(e,t,i){let a=4;const d=e.attrs,p=null!==d?function Gt(e){for(let t=0;t<e.length;t++)if(Ee(e[t]))return t;return e.length}(d):0;let v=!1;for(let E=0;E<t.length;E++){const I=t[E];if("number"!=typeof I){if(!v)if(4&a){if(a=2|1&a,""!==I&&!P(e,I,i)||""===I&&1===t.length){if(de(a))return!1;v=!0}}else if(8&a){if(null===d||!j(e,d,I,i)){if(de(a))return!1;v=!0}}else{const ie=t[++E],De=Ke(I,d,x(e),i);if(-1===De){if(de(a))return!1;v=!0;continue}if(""!==ie){let We;if(We=De>p?"":d[De+1].toLowerCase(),2&a&&ie!==We){if(de(a))return!1;v=!0}}}}else{if(!v&&!de(a)&&!de(I))return!1;if(v&&de(I))continue;v=!1,a=I|1&a}}return de(a)||v}function de(e){return!(1&e)}function Ke(e,t,i,a){if(null===t)return-1;let d=0;if(a||!i){let p=!1;for(;d<t.length;){const v=t[d];if(v===e)return d;if(3===v||6===v)p=!0;else{if(1===v||2===v){let E=t[++d];for(;"string"==typeof E;)E=t[++d];continue}if(4===v)break;if(0===v){d+=4;continue}}d+=p?1:2}return-1}return function hn(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const a=e[i];if("number"==typeof a)return-1;if(a===t)return i;i++}return-1}(t,e)}function wt(e,t,i=!1){for(let a=0;a<t.length;a++)if(te(e,t[a],i))return!0;return!1}function $n(e,t){e:for(let i=0;i<t.length;i++){const a=t[i];if(e.length===a.length){for(let d=0;d<e.length;d++)if(e[d]!==a[d])continue e;return!0}}return!1}function Un(e,t){return e?":not("+t.trim()+")":t}function In(e){let t=e[0],i=1,a=2,d="",p=!1;for(;i<e.length;){let v=e[i];if("string"==typeof v)if(2&a){const E=e[++i];d+="["+v+(E.length>0?'="'+E+'"':"")+"]"}else 8&a?d+="."+v:4&a&&(d+=" "+v);else""!==d&&!de(v)&&(t+=Un(p,d),d=""),a=v,p=p||!de(a);i++}return""!==d&&(t+=Un(p,d)),t}function ri(e){return fn(()=>{const t=Oo(e),i={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ls.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ao.Emulated,styles:e.styles||qi,_:null,schemas:e.schemas||null,tView:null,id:""};us(i);const a=e.dependencies;return i.directiveDefs=oo(a,!1),i.pipeDefs=oo(a,!0),i.id=function Ts(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const d of i)t=Math.imul(31,t)+d.charCodeAt(0)|0;return t+=2147483648,"c"+t}(i),i})}function ai(e){return bi(e)||Pi(e)}function Ei(e){return null!==e}function Gn(e){return fn(()=>({type:e.type,bootstrap:e.bootstrap||qi,declarations:e.declarations||qi,imports:e.imports||qi,exports:e.exports||qi,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function vi(e,t){if(null==e)return Ho;const i={};for(const a in e)if(e.hasOwnProperty(a)){const d=e[a];let p,v,E=Go.None;Array.isArray(d)?(E=d[0],p=d[1],v=d[2]??p):(p=d,v=d),t?(i[p]=E!==Go.None?[a,E]:a,t[p]=v):i[p]=a}return i}function tr(e){return fn(()=>{const t=Oo(e);return us(t),t})}function yr(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 bi(e){return e[br]||null}function Pi(e){return e[jr]||null}function Si(e){return e[ts]||null}function si(e){const t=bi(e)||Pi(e)||Si(e);return null!==t&&t.standalone}function Vi(e,t){const i=e[Ur]||null;if(!i&&!0===t)throw new Error(`Type ${sn(e)} does not have '\u0275mod' property.`);return i}function Oo(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ho,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||qi,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vi(e.inputs,t),outputs:vi(e.outputs),debugInfo:null}}function us(e){e.features?.forEach(t=>t(e))}function oo(e,t){if(!e)return null;const i=t?Si:ai;return()=>("function"==typeof e?e():e).map(a=>i(a)).filter(Ei)}function Nt(e){return{\u0275providers:e}}function pn(...e){return{\u0275providers:un(0,e),\u0275fromNgModule:!0}}function un(e,...t){const i=[],a=new Set;let d;const p=v=>{i.push(v)};return Ps(t,v=>{const E=v;ji(E,p,[],a)&&(d||=[],d.push(E))}),void 0!==d&&gi(d,p),i}function gi(e,t){for(let i=0;i<e.length;i++){const{ngModule:a,providers:d}=e[i];Ai(d,p=>{t(p,a)})}}function ji(e,t,i,a){if(!(e=Re(e)))return!1;let d=null,p=pt(e);const v=!p&&bi(e);if(p||v){if(v&&!v.standalone)return!1;d=e}else{const I=e.ngModule;if(p=pt(I),!p)return!1;d=I}const E=a.has(d);if(v){if(E)return!1;if(a.add(d),v.dependencies){const I="function"==typeof v.dependencies?v.dependencies():v.dependencies;for(const ie of I)ji(ie,t,i,a)}}else{if(!p)return!1;{if(null!=p.imports&&!E){let ie;a.add(d);try{Ps(p.imports,De=>{ji(De,t,i,a)&&(ie||=[],ie.push(De))})}finally{}void 0!==ie&&gi(ie,t)}if(!E){const ie=So(d)||(()=>new d);t({provide:d,useFactory:ie,deps:qi},d),t({provide:cs,useValue:d,multi:!0},d),t({provide:Ws,useValue:()=>ro(d),multi:!0},d)}const I=p.providers;if(null!=I&&!E){const ie=e;Ai(I,De=>{t(De,ie)})}}}return d!==e&&void 0!==e.providers}function Ai(e,t){for(let i of e)$i(i)&&(i=i.\u0275providers),Array.isArray(i)?Ai(i,t):t(i)}const Gi=qn({provide:String,useValue:qn});function Ro(e){return null!==e&&"object"==typeof e&&Gi in e}function Xs(e){return"function"==typeof e}const Ta=new Je(""),Ma={},Ys={};let Ir;function Ns(){return void 0===Ir&&(Ir=new ds),Ir}class Ms{}class pa extends Ms{get destroyed(){return this._destroyed}constructor(t,i,a,d){super(),this.parent=i,this.source=a,this.scopes=d,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Aa(t,v=>this.processProvider(v)),this.records.set(ha,fs(void 0,this)),d.has("environment")&&this.records.set(Ms,fs(void 0,this));const p=this.records.get(Ta);null!=p&&"string"==typeof p.value&&this.scopes.add(p.value),this.injectorDefTypes=new Set(this.get(cs,qi,Hi.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=M(null);try{for(const a of this._ngOnDestroyHooks)a.ngOnDestroy();const i=this._onDestroyHooks;this._onDestroyHooks=[];for(const a of i)a()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const i=fr(this),a=O(void 0);try{return t()}finally{fr(i),O(a)}}get(t,i=Ht,a=Hi.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(no))return t[no](this);a=Xo(a);const p=fr(this),v=O(void 0);try{if(!(a&Hi.SkipSelf)){let I=this.records.get(t);if(void 0===I){const ie=function Js(e){return"function"==typeof e||"object"==typeof e&&e instanceof Je}(t)&&ho(t);I=ie&&this.injectableDefInScope(ie)?fs(Qs(t),Ma):null,this.records.set(t,I)}if(null!=I)return this.hydrate(t,I)}return(a&Hi.Self?Ns():this.parent).get(t,i=a&Hi.Optional&&i===Ht?null:i)}catch(E){if("NullInjectorError"===E.name){if((E[Nr]=E[Nr]||[]).unshift(sn(t)),p)throw E;return function Xr(e,t,i,a){const d=e[Nr];throw t[xs]&&d.unshift(t[xs]),e.message=function Rs(e,t,i,a=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let d=sn(t);if(Array.isArray(t))d=t.map(sn).join(" -> ");else if("object"==typeof t){let p=[];for(let v in t)if(t.hasOwnProperty(v)){let E=t[v];p.push(v+":"+("string"==typeof E?JSON.stringify(E):sn(E)))}d=`{${p.join(", ")}}`}return`${i}${a?"("+a+")":""}[${d}]: ${e.replace(mo,"\n ")}`}("\n"+e.message,d,i,a),e.ngTokenPath=d,e[Nr]=null,e}(E,t,"R3InjectorError",this.source)}throw E}finally{O(v),fr(p)}}resolveInjectorInitializers(){const t=M(null),i=fr(this),a=O(void 0);try{const p=this.get(Ws,qi,Hi.Self);for(const v of p)v()}finally{fr(i),O(a),M(t)}}toString(){const t=[],i=this.records;for(const a of i.keys())t.push(sn(a));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new mn(205,!1)}processProvider(t){let i=Xs(t=Re(t))?t:Re(t&&t.provide);const a=function ql(e){return Ro(e)?fs(void 0,e.useValue):fs(ka(e),Ma)}(t);if(!Xs(t)&&!0===t.multi){let d=this.records.get(i);d||(d=fs(void 0,Ma,!0),d.factory=()=>da(d.multi),this.records.set(i,d)),i=t,d.multi.push(t)}this.records.set(i,a)}hydrate(t,i){const a=M(null);try{return i.value===Ma&&(i.value=Ys,i.value=i.factory()),"object"==typeof i.value&&i.value&&function Ol(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{M(a)}}injectableDefInScope(t){if(!t.providedIn)return!1;const i=Re(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(t){const i=this._onDestroyHooks.indexOf(t);-1!==i&&this._onDestroyHooks.splice(i,1)}}function Qs(e){const t=ho(e),i=null!==t?t.factory:So(e);if(null!==i)return i;if(e instanceof Je)throw new mn(204,!1);if(e instanceof Function)return function Ia(e){if(e.length>0)throw new mn(204,!1);const i=function to(e){return e&&(e[Ce]||e[Me])||null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new mn(204,!1)}function ka(e,t,i){let a;if(Xs(e)){const d=Re(e);return So(d)||Qs(d)}if(Ro(e))a=()=>Re(e.useValue);else if(function Po(e){return!(!e||!e.useFactory)}(e))a=()=>e.useFactory(...da(e.deps||[]));else if(function il(e){return!(!e||!e.useExisting)}(e))a=()=>ro(Re(e.useExisting));else{const d=Re(e&&(e.useClass||e.provide));if(!function rl(e){return!!e.deps}(e))return So(d)||Qs(d);a=()=>new d(...da(e.deps))}return a}function fs(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Aa(e,t){for(const i of e)Array.isArray(i)?Aa(i,t):i&&$i(i)?Aa(i.\u0275providers,t):t(i)}function Rl(e,t){e instanceof pa&&e.assertNotDestroyed();const a=fr(e),d=O(void 0);try{return t()}finally{fr(a),O(d)}}function Oa(){return void 0!==Ln()||null!=function xr(){return ws}()}function k(e){if(!Oa())throw new mn(-203,!1)}const sr=0,Yn=1,Ci=2,Br=3,bo=4,Qr=5,To=6,Bs=7,Pr=8,yo=9,is=10,Ti=11,ec=12,Id=13,Pl=14,co=15,Ua=16,ma=17,rs=18,Fl=19,$e=20,Yo=21,$a=22,Qo=23,li=25,ga=1,ol=6,Tr=7,sl=9,Eo=10;var qc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(qc||{});function Jo(e){return Array.isArray(e)&&"object"==typeof e[ga]}function Zo(e){return Array.isArray(e)&&!0===e[ga]}function qo(e){return!!(4&e.flags)}function al(e){return e.componentOffset>-1}function Dc(e){return!(1&~e.flags)}function va(e){return!!e.template}function xl(e){return!!(512&e[Ci])}class Ha{constructor(t,i,a){this.previousValue=t,this.currentValue=i,this.firstChange=a}isFirstChange(){return this.firstChange}}function Au(e,t,i,a){null!==t?t.applyValueToInputSignal(t,a):e[i]=a}function cl(){return Ou}function Ou(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ga),xc}function xc(){const e=hh(this),t=e?.current;if(t){const i=e.previous;if(i===Ho)e.previous=t;else for(let a in t)i[a]=t[a];e.current=null,this.ngOnChanges(t)}}function Ga(e,t,i,a,d){const p=this.declaredInputs[a],v=hh(e)||function mm(e,t){return e[pm]=t}(e,{previous:Ho,current:null}),E=v.current||(v.current={}),I=v.previous,ie=I[p];E[p]=new Ha(ie&&ie.currentValue,i,I===Ho),Au(e,t,d,i)}cl.ngInherit=!0;const pm="__ngSimpleChanges__";function hh(e){return e[pm]||null}const Zs=function(e,t,i){},ph="svg";let mh=!1;function Gr(e){for(;Array.isArray(e);)e=e[sr];return e}function qs(e,t){return Gr(t[e])}function es(e,t){return Gr(t[e.index])}function za(e,t){return e.data[t]}function tc(e,t){return e[t]}function eo(e,t){const i=t[e];return Jo(i)?i:i[sr]}function Pu(e){return!(128&~e[Ci])}function dl(e,t){return null==t?null:e[t]}function Pd(e){e[ma]=0}function _m(e){1024&e[Ci]||(e[Ci]|=1024,Pu(e)&&td(e))}function Tc(e){return!!(9216&e[Ci]||e[Qo]?.dirty)}function Fu(e){e[is].changeDetectionScheduler?.notify(1),Tc(e)?td(e):64&e[Ci]&&(function gh(){return mh}()?(e[Ci]|=1024,td(e)):e[is].changeDetectionScheduler?.notify())}function td(e){e[is].changeDetectionScheduler?.notify();let t=Wa(e);for(;null!==t&&!(8192&t[Ci])&&(t[Ci]|=8192,Pu(t));)t=Wa(t)}function jl(e,t){if(!(256&~e[Ci]))throw new mn(911,!1);null===e[Yo]&&(e[Yo]=[]),e[Yo].push(t)}function Wa(e){const t=e[Br];return Zo(t)?t[Br]:t}const Wi={lFrame:hl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ld(){return Wi.bindingsEnabled}function nc(){return null!==Wi.skipHydrationRootTNode}function bn(){return Wi.lFrame.lView}function pr(){return Wi.lFrame.tView}function ic(e){return Wi.lFrame.contextLView=e,e[Pr]}function Ul(e){return Wi.lFrame.contextLView=null,e}function Vr(){let e=Nu();for(;null!==e&&64===e.type;)e=e.parent;return e}function Nu(){return Wi.lFrame.currentTNode}function Vs(e,t){const i=Wi.lFrame;i.currentTNode=e,i.isParent=t}function id(){return Wi.lFrame.isParent}function Bu(){Wi.lFrame.isParent=!1}function js(){const e=Wi.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ea(){return Wi.lFrame.bindingIndex}function Xa(){return Wi.lFrame.bindingIndex++}function Sl(e){const t=Wi.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function Nd(e,t){const i=Wi.lFrame;i.bindingIndex=i.bindingRootIndex=e,Bd(t)}function Bd(e){Wi.lFrame.currentDirectiveIndex=e}function Vd(e){const t=Wi.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Us(){return Wi.lFrame.currentQueryIndex}function Ya(e){Wi.lFrame.currentQueryIndex=e}function $u(e){const t=e[Yn];return 2===t.type?t.declTNode:1===t.type?e[Qr]:null}function Hu(e,t,i){if(i&Hi.SkipSelf){let d=t,p=e;for(;!(d=d.parent,null!==d||i&Hi.Host||(d=$u(p),null===d||(p=p[Pl],10&d.type))););if(null===d)return!1;t=d,e=p}const a=Wi.lFrame=Ic();return a.currentTNode=t,a.lView=e,!0}function Mc(e){const t=Ic(),i=e[Yn];Wi.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Ic(){const e=Wi.lFrame,t=null===e?null:e.child;return null===t?hl(e):t}function hl(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 jd(){const e=Wi.lFrame;return Wi.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ud=jd;function rd(){const e=jd();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 ps(){return Wi.lFrame.selectedIndex}function ta(e){Wi.lFrame.selectedIndex=e}function ao(){const e=Wi.lFrame;return za(e.tView,e.selectedIndex)}function $d(){Wi.lFrame.currentNamespace=ph}function yh(){!function ym(){Wi.lFrame.currentNamespace=null}()}function Eh(){return Wi.lFrame.currentNamespace}let zu=!0;function rc(){return zu}function na(e){zu=e}function od(e,t){for(let i=t.directiveStart,a=t.directiveEnd;i<a;i++){const p=e.data[i].type.prototype,{ngAfterContentInit:v,ngAfterContentChecked:E,ngAfterViewInit:I,ngAfterViewChecked:ie,ngOnDestroy:De}=p;v&&(e.contentHooks??=[]).push(-i,v),E&&((e.contentHooks??=[]).push(i,E),(e.contentCheckHooks??=[]).push(i,E)),I&&(e.viewHooks??=[]).push(-i,I),ie&&((e.viewHooks??=[]).push(i,ie),(e.viewCheckHooks??=[]).push(i,ie)),null!=De&&(e.destroyHooks??=[]).push(i,De)}}function ms(e,t,i){Ku(e,t,3,i)}function ba(e,t,i,a){(3&e[Ci])===i&&Ku(e,t,i,a)}function Wu(e,t){let i=e[Ci];(3&i)===t&&(i&=16383,i+=1,e[Ci]=i)}function Ku(e,t,i,a){const p=a??-1,v=t.length-1;let E=0;for(let I=void 0!==a?65535&e[ma]:0;I<v;I++)if("number"==typeof t[I+1]){if(E=t[I],null!=a&&E>=a)break}else t[I]<0&&(e[ma]+=65536),(E<p||-1==p)&&(kc(e,i,t,I),e[ma]=(4294901760&e[ma])+I+2),I++}function sc(e,t){Zs(4,e,t);const i=M(null);try{t.call(e)}finally{M(i),Zs(5,e,t)}}function kc(e,t,i,a){const d=i[a]<0,p=i[a+1],E=e[d?-i[a]:i[a]];d?e[Ci]>>14<e[ma]>>16&&(3&e[Ci])===t&&(e[Ci]+=16384,sc(E,p)):sc(E,p)}const ac=-1;class Ac{constructor(t,i,a){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=a}}function pl(e){return e!==ac}function lc(e){return 32767&e}function $l(e,t){let i=function Rc(e){return e>>16}(e),a=t;for(;i>0;)a=a[Pl],i--;return a}let Pc=!0;function zd(e){const t=Pc;return Pc=e,t}const ad=255,Xu=5;let Yu=0;const ml={};function Pa(e,t){const i=Qu(e,t);if(-1!==i)return i;const a=t[Yn];a.firstCreatePass&&(e.injectorIndex=t.length,Wd(a.data,e),Wd(t,null),Wd(a.blueprint,null));const d=Kd(e,t),p=e.injectorIndex;if(pl(d)){const v=lc(d),E=$l(d,t),I=E[Yn].data;for(let ie=0;ie<8;ie++)t[p+ie]=E[v+ie]|I[v+ie]}return t[p+8]=d,p}function Wd(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Kd(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,a=null,d=t;for(;null!==d;){if(a=qu(d),null===a)return ac;if(i++,d=d[Pl],-1!==a.injectorIndex)return a.injectorIndex|i<<16}return ac}function Xd(e,t,i){!function Ch(e,t,i){let a;"string"==typeof i?a=i.charCodeAt(0)||0:i.hasOwnProperty(po)&&(a=i[po]),null==a&&(a=i[po]=Yu++);const d=a&ad;t.data[e+(d>>Xu)]|=1<<d}(e,t,i)}function Dh(e,t,i){if(i&Hi.Optional||void 0!==e)return e;ns()}function gl(e,t,i,a){if(i&Hi.Optional&&void 0===a&&(a=null),!(i&(Hi.Self|Hi.Host))){const d=e[yo],p=O(void 0);try{return d?d.get(t,a,i&Hi.Optional):be(t,a,i&Hi.Optional)}finally{O(p)}}return Dh(a,0,i)}function Yd(e,t,i,a=Hi.Default,d){if(null!==e){if(2048&t[Ci]&&!(a&Hi.Self)){const v=function Sm(e,t,i,a,d){let p=e,v=t;for(;null!==p&&null!==v&&2048&v[Ci]&&!(512&v[Ci]);){const E=Qd(p,v,i,a|Hi.Self,ml);if(E!==ml)return E;let I=p.parent;if(!I){const ie=v[$e];if(ie){const De=ie.get(i,ml,a);if(De!==ml)return De}I=qu(v),v=v[Pl]}p=I}return d}(e,t,i,a,ml);if(v!==ml)return v}const p=Qd(e,t,i,a,ml);if(p!==ml)return p}return gl(t,i,a,d)}function Qd(e,t,i,a,d){const p=function zi(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(po)?e[po]:void 0;return"number"==typeof t?t>=0?t&ad:cd:t}(i);if("function"==typeof p){if(!Hu(t,e,a))return a&Hi.Host?Dh(d,0,a):gl(t,i,a,d);try{let v;if(v=p(a),null!=v||a&Hi.Optional)return v;ns()}finally{Ud()}}else if("number"==typeof p){let v=null,E=Qu(e,t),I=ac,ie=a&Hi.Host?t[co][Qr]:null;for((-1===E||a&Hi.SkipSelf)&&(I=-1===E?Kd(e,t):t[E+8],I!==ac&&Jd(a,!1)?(v=t[Yn],E=lc(I),t=$l(I,t)):E=-1);-1!==E;){const De=t[Yn];if(ld(p,E,De.data)){const We=Ju(E,t,i,v,a,ie);if(We!==ml)return We}I=t[E+8],I!==ac&&Jd(a,t[Yn].data[E+8]===ie)&&ld(p,E,t)?(v=De,E=lc(I),t=$l(I,t)):E=-1}}return d}function Ju(e,t,i,a,d,p){const v=t[Yn],E=v.data[e+8],De=cc(E,v,i,null==a?al(E)&&Pc:a!=v&&!!(3&E.type),d&Hi.Host&&p===E);return null!==De?Fa(t,v,De,E):ml}function cc(e,t,i,a,d){const p=e.providerIndexes,v=t.data,E=1048575&p,I=e.directiveStart,De=p>>20,St=d?E+De:e.directiveEnd;for(let Bt=a?E:E+De;Bt<St;Bt++){const on=v[Bt];if(Bt<I&&i===on||Bt>=I&&on.type===i)return Bt}if(d){const Bt=v[I];if(Bt&&va(Bt)&&Bt.type===i)return I}return null}function Fa(e,t,i,a){let d=e[i];const p=t.data;if(function Em(e){return e instanceof Ac}(d)){const v=d;v.resolving&&function Sa(e,t){throw t&&t.join(" > "),new mn(-200,e)}(function Li(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Mi(e)}(p[i]));const E=zd(v.canSeeViewProviders);v.resolving=!0;const ie=v.injectImpl?O(v.injectImpl):null;Hu(e,a,Hi.Default);try{d=e[i]=v.factory(void 0,p,e,a),t.firstCreatePass&&i>=a.directiveStart&&function oc(e,t,i){const{ngOnChanges:a,ngOnInit:d,ngDoCheck:p}=t.type.prototype;if(a){const v=Ou(t);(i.preOrderHooks??=[]).push(e,v),(i.preOrderCheckHooks??=[]).push(e,v)}d&&(i.preOrderHooks??=[]).push(0-e,d),p&&((i.preOrderHooks??=[]).push(e,p),(i.preOrderCheckHooks??=[]).push(e,p))}(i,p[i],t)}finally{null!==ie&&O(ie),zd(E),v.resolving=!1,Ud()}}return d}function ld(e,t,i){return!!(i[t+(e>>Xu)]&1<<e)}function Jd(e,t){return!(e&Hi.Self||e&Hi.Host&&t)}class Fo{constructor(t,i){this._tNode=t,this._lView=i}get(t,i,a){return Yd(this._tNode,this._lView,t,Xo(a),i)}}function cd(){return new Fo(Vr(),bn())}function os(e){return fn(()=>{const t=e.prototype.constructor,i=t[Ji]||Zu(t),a=Object.prototype;let d=Object.getPrototypeOf(e.prototype).constructor;for(;d&&d!==a;){const p=d[Ji]||Zu(d);if(p&&p!==i)return p;d=Object.getPrototypeOf(d)}return p=>new p})}function Zu(e){return Be(e)?()=>{const t=Zu(Re(e));return t&&t()}:So(e)}function qu(e){const t=e[Yn],i=t.type;return 2===i?t.declTNode:1===i?e[Qr]:null}function Zd(e){return function wm(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const a=i.length;let d=0;for(;d<a;){const p=i[d];if(Ee(p))break;if(0===p)d+=2;else if("number"==typeof p)for(d++;d<a&&"string"==typeof i[d];)d++;else{if(p===t)return i[d+1];d+=2}}}return null}(Vr(),e)}function Ih(e,t=null,i=null,a){const d=kh(e,t,i,a);return d.resolveInjectorInitializers(),d}function kh(e,t=null,i=null,a,d=new Set){const p=[i||qi,pn(e)];return a=a||("object"==typeof e?void 0:sn(e)),new pa(p,t||Ns(),a||null,d)}let ya=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ht;static#t=this.NULL=new ds;static create(i,a){if(Array.isArray(i))return Ih({name:""},a,i,"");{const d=i.name??"";return Ih({name:d},i.parent,i.providers,d)}}static#n=this.\u0275prov=Oi({token:e,providedIn:"any",factory:()=>ro(ha)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function sf(e){return e.ngOriginalError}class Qa{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&sf(t);for(;i&&sf(i);)i=sf(i);return i||null}}const tu=new Je("",{providedIn:"root",factory:()=>Ri(Qa).handleError.bind(void 0)});let Ja=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Ah;static#t=this.__NG_ENV_ID__=i=>i}return e})();class af extends Ja{constructor(t){super(),this._lView=t}onDestroy(t){return jl(this._lView,t),()=>function ul(e,t){if(null===e[Yo])return;const i=e[Yo].indexOf(t);-1!==i&&e[Yo].splice(i,1)}(this._lView,t)}}function Ah(){return new af(bn())}function Oh(){return Nc(Vr(),bn())}function Nc(e,t){return new ud(es(e,t))}let ud=(()=>{class e{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=Oh}return e})();function df(e){return e instanceof ud?e.nativeElement:e}function uf(e){return t=>{setTimeout(e,void 0,t)}}const _l=class Im extends gn.B{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Oa()&&(this.destroyRef=Ri(Ja,{optional:!0})??void 0)}emit(t){const i=M(null);try{super.next(t)}finally{M(i)}}subscribe(t,i,a){let d=t,p=i||(()=>null),v=a;if(t&&"object"==typeof t){const I=t;d=I.next?.bind(I),p=I.error?.bind(I),v=I.complete?.bind(I)}this.__isAsync&&(p=uf(p),d&&(d=uf(d)),v&&(v=uf(v)));const E=super.subscribe({next:d,error:p,complete:v});return t instanceof pi.yU&&t.add(E),E}};function Rh(){return this._results[Symbol.iterator]()}class fd{static#e=Symbol.iterator;get changes(){return this._changes??=new _l}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const i=fd.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=Rh)}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,i){return this._results.reduce(t,i)}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,i){this.dirty=!1;const a=function Hr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Uo(e,t,i){if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++){let d=e[a],p=t[a];if(i&&(d=i(d),p=i(p)),p!==d)return!1}return!0}(this._results,a,i))&&(this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}const hd="ngSkipHydration",km="ngskiphydration";function Ph(e){const t=e.mergedAttrs;if(null===t)return!1;for(let i=0;i<t.length;i+=2){const a=t[i];if("number"==typeof a)return!1;if("string"==typeof a&&a.toLowerCase()===km)return!0}return!1}function ff(e){return e.hasAttribute(hd)}function pd(e){return!(128&~e.flags)}const hf=new Map;let Fh=0;const Lo="__ngContext__";function Wo(e,t){Jo(t)?(e[Lo]=t[Fl],function pf(e){hf.set(e[Fl],e)}(t)):e[Lo]=t}function Fm(e){return Nm(e[ec])}function Lm(e){return Nm(e[bo])}function Nm(e){for(;null!==e&&!Zo(e);)e=e[bo];return e}let vf;function $m(e){vf=e}function Gl(){if(void 0!==vf)return vf;if(typeof document<"u")return document;throw new mn(210,!1)}const Yh=new Je("",{providedIn:"root",factory:()=>Hm}),Hm="ng",bf=new Je(""),yf=new Je("",{providedIn:"platform",factory:()=>"unknown"}),Gm=new Je(""),zm=new Je("",{providedIn:"root",factory:()=>Gl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function S_(e){return e}function T_(){const e=new iu;return"browser"===Ri(yf)&&(e.store=function Km(e,t){const i=e.getElementById(t+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(a){console.warn("Exception while restoring TransferState for app "+t,a)}return{}}(Gl(),Ri(Yh))),e}let iu=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Oi({token:e,providedIn:"root",factory:T_});get(i,a){return void 0!==this.store[i]?this.store[i]:a}set(i,a){this.store[i]=a}remove(i){delete this.store[i]}hasKey(i){return this.store.hasOwnProperty(i)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(i,a){this.onSerializeCallbacks[i]=a}toJson(){for(const i in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(i))try{this.store[i]=this.onSerializeCallbacks[i]()}catch(a){console.warn("Exception in onSerialize callback: ",a)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const Cf="h",Df="b";var Vc=function(e){return e.FirstChild="f",e.NextSibling="n",e}(Vc||{});const Qh="e",xf="t",gd="c",ru="x",jc="r",ou="i",su="n",wf="d",Jh="__nghData__",au="ngh",Sf="nghm";let Xm=()=>null;function M_(e,t,i=!1){let a=e.getAttribute(au);if(null==a)return null;const[d,p]=a.split("|");if(a=i?p:d,!a)return null;const E=i?d:p?`|${p}`:"";let I={};if(""!==a){const De=t.get(iu,null,{optional:!0});null!==De&&(I=De.get(Jh,[])[Number(a)])}const ie={data:I,firstChild:e.firstChild??null};return i&&(ie.firstChild=e,vd(ie,0,e.nextSibling)),E?e.setAttribute(au,E):e.removeAttribute(au),ie}function Tf(e,t,i=!1){return Xm(e,t,i)}function xo(e){let t=e._lView;return 2===t[Yn].type?null:(xl(t)&&(t=t[li]),t)}function vd(e,t,i){e.segmentHeads??={},e.segmentHeads[t]=i}function Mf(e,t){return e.segmentHeads?.[t]??null}function ep(e,t){return e.data[gd]?.[t]??null}function If(e,t){const i=ep(e,t)??[];let a=0;for(let d of i)a+=d[jc]*(d[ru]??1);return a}function kf(e,t){if(typeof e.disconnectedNodes>"u"){const i=e.data[wf];e.disconnectedNodes=i?new Set(i):null}return!!e.disconnectedNodes?.has(t)}const Af=new Je(""),cu=new Je("",{providedIn:"root",factory:()=>!1}),du=new Je("");let Of,uc;function dc(e){return function tp(){if(void 0===Of&&(Of=null,Xn.trustedTypes))try{Of=Xn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Of}()?.createHTML(e)||e}function fc(){if(void 0===uc&&(uc=null,Xn.trustedTypes))try{uc=Xn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return uc}function np(e){return fc()?.createHTML(e)||e}function bd(e){return fc()?.createScriptURL(e)||e}class hc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Zi})`}}class Ea extends hc{getTypeName(){return"HTML"}}class uu extends hc{getTypeName(){return"Style"}}class rp extends hc{getTypeName(){return"Script"}}class Pf extends hc{getTypeName(){return"URL"}}class Za extends hc{getTypeName(){return"ResourceURL"}}function vl(e){return e instanceof hc?e.changingThisBreaksApplicationSecurity:e}function zl(e,t){const i=function pc(e){return e instanceof hc&&e.getTypeName()||null}(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see ${Zi})`)}return i===t}function mr(e){return new Ea(e)}function Ff(e){return new uu(e)}function ra(e){return new rp(e)}function No(e){return new Pf(e)}function qm(e){return new Za(e)}class eg{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(dc(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch{return null}}}class tg{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const i=this.inertDocument.createElement("template");return i.innerHTML=dc(t),i}}const ig=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fu(e){return(e=String(e)).match(ig)?e:"unsafe:"+e}function qa(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function yd(...e){const t={};for(const i of e)for(const a in i)i.hasOwnProperty(a)&&(t[a]=!0);return t}const bl=qa("area,br,col,hr,img,wbr"),Lf=qa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ed=qa("rp,rt"),Nf=yd(bl,yd(Lf,qa("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),yd(Ed,qa("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),yd(Ed,Lf)),Bf=qa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),op=yd(Bf,qa("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),qa("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),sp=qa("script,style,template");class ap{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,a=!0,d=[];for(;i;)if(i.nodeType===Node.ELEMENT_NODE?a=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,a&&i.firstChild)d.push(i),i=og(i);else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let p=Vf(i);if(p){i=p;break}i=d.pop()}return this.buf.join("")}startElement(t){const i=jf(t).toLowerCase();if(!Nf.hasOwnProperty(i))return this.sanitizedSomething=!0,!sp.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const a=t.attributes;for(let d=0;d<a.length;d++){const p=a.item(d),v=p.name,E=v.toLowerCase();if(!op.hasOwnProperty(E)){this.sanitizedSomething=!0;continue}let I=p.value;Bf[E]&&(I=fu(I)),this.buf.push(" ",v,'="',lp(I),'"')}return this.buf.push(">"),!0}endElement(t){const i=jf(t).toLowerCase();Nf.hasOwnProperty(i)&&!bl.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(lp(t))}}function Vf(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Dd(t);return t}function og(e){const t=e.firstChild;if(t&&function Cd(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Dd(t);return t}function jf(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Dd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Ca=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Uc=/([^\#-~ |!])/g;function lp(e){return e.replace(/&/g,"&").replace(Ca,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Uc,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let hu;function cp(e,t){let i=null;try{hu=hu||function Il(e){const t=new tg(e);return function ng(){try{return!!(new window.DOMParser).parseFromString(dc(""),"text/html")}catch{return!1}}()?new eg(t):t}(e);let a=t?String(t):"";i=hu.getInertBodyElement(a);let d=5,p=a;do{if(0===d)throw new Error("Failed to sanitize html because the input is unstable");d--,a=p,p=i.innerHTML,i=hu.getInertBodyElement(a)}while(a!==p);return dc((new ap).sanitizeChildren(Uf(i)||i))}finally{if(i){const a=Uf(i)||i;for(;a.firstChild;)a.removeChild(a.firstChild)}}}function Uf(e){return"content"in e&&function sg(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Wl=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Wl||{});function yl(e){const t=$c();return t?np(t.sanitize(Wl.HTML,e)||""):zl(e,"HTML")?np(vl(e)):cp(Gl(),Mi(e))}function pu(e){const t=$c();return t?t.sanitize(Wl.URL,e)||"":zl(e,"URL")?vl(e):fu(Mi(e))}function Da(e){const t=$c();if(t)return bd(t.sanitize(Wl.RESOURCE_URL,e)||"");if(zl(e,"ResourceURL"))return bd(vl(e));throw new mn(904,!1)}function mu(e,t,i){return function lg(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Da:pu}(t,i)(e)}function $c(){const e=bn();return e&&e[is].sanitizer}const cg=/^>|^->|<!--|-->|--!>|<!-$/g,up=/(<|>)/g,dg="\u200b$1\u200b";function vg(e){return e.ownerDocument.defaultView}function mp(e){return e.ownerDocument}function ss(e){return e instanceof Function?e():e}function kl(e){return"browser"===(e??Ri(ya)).get(yf)}var gu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(gu||{});let _p;function vp(e,t){return _p(e,t)}function Xc(e,t,i,a,d){if(null!=a){let p,v=!1;Zo(a)?p=a:Jo(a)&&(v=!0,a=a[sr]);const E=Gr(a);0===e&&null!==i?null==d?xp(t,i,E):mc(t,i,E,d||null,!0):1===e&&null!==i?mc(t,i,E,d||null,!0):2===e?Kl(t,E,v):3===e&&t.destroyNode(E),null!=p&&function Ag(e,t,i,a,d){const p=i[Tr];p!==Gr(i)&&Xc(t,e,a,p,d);for(let E=Eo;E<i.length;E++){const I=i[E];Yc(I[Yn],I,e,t,a,p)}}(t,e,p,i,d)}}function bp(e,t){return e.createText(t)}function yp(e,t){return e.createComment(function fp(e){return e.replace(cg,t=>t.replace(up,dg))}(t))}function zf(e,t,i){return e.createElement(t,i)}function Ep(e,t){t[is].changeDetectionScheduler?.notify(1),Yc(e,t,t[Ti],2,null,null)}function Cp(e,t){const i=e[sl],a=i.indexOf(t);i.splice(a,1)}function wd(e,t){if(e.length<=Eo)return;const i=Eo+t,a=e[i];if(a){const d=a[Ua];null!==d&&d!==e&&Cp(d,a),t>0&&(e[i-1][bo]=a[bo]);const p=Fr(e,Eo+t);!function Cg(e,t){Ep(e,t),t[sr]=null,t[Qr]=null}(a[Yn],a);const v=p[rs];null!==v&&v.detachView(p[Yn]),a[Br]=null,a[bo]=null,a[Ci]&=-129}return a}function _u(e,t){if(!(256&t[Ci])){const i=t[Ti];i.destroyNode&&Yc(e,t,i,3,null,null),function xg(e){let t=e[ec];if(!t)return vu(e[Yn],e);for(;t;){let i=null;if(Jo(t))i=t[ec];else{const a=t[Eo];a&&(i=a)}if(!i){for(;t&&!t[bo]&&t!==e;)Jo(t)&&vu(t[Yn],t),t=t[Br];null===t&&(t=e),Jo(t)&&vu(t[Yn],t),i=t&&t[bo]}t=i}}(t)}}function vu(e,t){if(256&t[Ci])return;const i=M(null);try{t[Ci]&=-129,t[Ci]|=256,t[Qo]&&dt(t[Qo]),function Mg(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let a=0;a<i.length;a+=2){const d=t[i[a]];if(!(d instanceof Ac)){const p=i[a+1];if(Array.isArray(p))for(let v=0;v<p.length;v+=2){const E=d[p[v]],I=p[v+1];Zs(4,E,I);try{I.call(E)}finally{Zs(5,E,I)}}else{Zs(4,d,p);try{p.call(d)}finally{Zs(5,d,p)}}}}}(e,t),function Tg(e,t){const i=e.cleanup,a=t[Bs];if(null!==i)for(let p=0;p<i.length-1;p+=2)if("string"==typeof i[p]){const v=i[p+3];v>=0?a[v]():a[-v].unsubscribe(),p+=2}else i[p].call(a[i[p+1]]);null!==a&&(t[Bs]=null);const d=t[Yo];if(null!==d){t[Yo]=null;for(let p=0;p<d.length;p++)(0,d[p])()}}(e,t),1===t[Yn].type&&t[Ti].destroy();const a=t[Ua];if(null!==a&&Zo(t[Br])){a!==t[Br]&&Cp(a,t);const d=t[rs];null!==d&&d.detachView(e)}!function Nh(e){hf.delete(e[Fl])}(t)}finally{M(i)}}function Wf(e,t,i){return function Dp(e,t,i){let a=t;for(;null!==a&&40&a.type;)a=(t=a).parent;if(null===a)return i[sr];{const{componentOffset:d}=a;if(d>-1){const{encapsulation:p}=e.data[a.directiveStart+d];if(p===Ao.None||p===Ao.Emulated)return null}return es(a,i)}}(e,t.parent,i)}function mc(e,t,i,a,d){e.insertBefore(t,i,a,d)}function xp(e,t,i){e.appendChild(t,i)}function wp(e,t,i,a,d){null!==a?mc(e,t,i,a,d):xp(e,t,i)}function bu(e,t){return e.parentNode(t)}function yu(e,t,i){return Xf(e,t,i)}let Yf,Xf=function Kf(e,t,i){return 40&e.type?es(e,i):null};function Sd(e,t,i,a){const d=Wf(e,a,t),p=t[Ti],E=yu(a.parent||t[Qr],a,t);if(null!=d)if(Array.isArray(i))for(let I=0;I<i.length;I++)wp(p,d,i[I],E,!1);else wp(p,d,i,E,!1);void 0!==Yf&&Yf(p,a,t,i,d)}function sa(e,t){if(null!==t){const i=t.type;if(3&i)return es(t,e);if(4&i)return Qf(-1,e[t.index]);if(8&i){const a=t.child;if(null!==a)return sa(e,a);{const d=e[t.index];return Zo(d)?Qf(-1,d):Gr(d)}}if(32&i)return vp(t,e)()||Gr(e[t.index]);{const a=Td(e,t);return null!==a?Array.isArray(a)?a[0]:sa(Wa(e[co]),a):sa(e,t.next)}}return null}function Td(e,t){return null!==t?e[co][Qr].projection[t.projection]:null}function Qf(e,t){const i=Eo+e+1;if(i<t.length){const a=t[i],d=a[Yn].firstChild;if(null!==d)return sa(a,d)}return t[Tr]}function Kl(e,t,i){const a=bu(e,t);a&&function Ig(e,t,i,a){e.removeChild(t,i,a)}(e,a,t,i)}function ks(e){e.textContent=""}function Eu(e,t,i,a,d,p,v){for(;null!=i;){const E=a[i.index],I=i.type;if(v&&0===t&&(E&&Wo(Gr(E),a),i.flags|=2),32&~i.flags)if(8&I)Eu(e,t,i.child,a,d,p,!1),Xc(t,e,d,E,p);else if(32&I){const ie=vp(i,a);let De;for(;De=ie();)Xc(t,e,d,De,p);Xc(t,e,d,E,p)}else 16&I?Tp(e,t,a,i,d,p):Xc(t,e,d,E,p);i=v?i.projectionNext:i.next}}function Yc(e,t,i,a,d,p){Eu(i,a,e.firstChild,t,d,p,!1)}function Tp(e,t,i,a,d,p){const v=i[co],I=v[Qr].projection[a.projection];if(Array.isArray(I))for(let ie=0;ie<I.length;ie++)Xc(t,e,d,I[ie],p);else{let ie=I;const De=v[Br];pd(a)&&(ie.flags|=128),Eu(e,t,ie,De,d,p,!0)}}function Cu(e,t,i){""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function Mp(e,t,i){const{mergedAttrs:a,classes:d,styles:p}=i;null!==a&&fe(e,t,a),null!==d&&Cu(e,t,d),null!==p&&function Og(e,t,i){e.setAttribute(t,"style",i)}(e,t,p)}const ur={};function Ip(e=1){kp(pr(),bn(),ps()+e,!1)}function kp(e,t,i,a){if(!a)if(3&~t[Ci]){const p=e.preOrderHooks;null!==p&&ba(t,p,0,i)}else{const p=e.preOrderCheckHooks;null!==p&&ms(t,p,i)}ta(i)}function _c(e,t=Hi.Default){const i=bn();return null===i?ro(e,t):Yd(Vr(),i,Re(e),t)}function Zf(){throw new Error("invalid")}function Ap(e,t,i,a,d,p){const v=M(null);try{let E=null;d&Go.SignalBased&&(E=t[a][A]),null!==E&&void 0!==E.transformFn&&(p=E.transformFn(p)),d&Go.HasDecoratorInputTransform&&(p=e.inputTransforms[a].call(t,p)),null!==e.setInput?e.setInput(t,E,p,i,a):Au(t,E,a,p)}finally{M(v)}}function Qc(e,t,i,a,d,p,v,E,I,ie,De){const We=t.blueprint.slice();return We[sr]=d,We[Ci]=204|a,(null!==ie||e&&2048&e[Ci])&&(We[Ci]|=2048),Pd(We),We[Br]=We[Pl]=e,We[Pr]=i,We[is]=v||e&&e[is],We[Ti]=E||e&&e[Ti],We[yo]=I||e&&e[yo]||null,We[Qr]=p,We[Fl]=function Lh(){return Fh++}(),We[To]=De,We[$e]=ie,We[co]=2==t.type?e[co]:We,We}function Xl(e,t,i,a,d){let p=e.data[t];if(null===p)p=function qf(e,t,i,a,d){const p=Nu(),v=id(),I=e.data[t]=function Ng(e,t,i,a,d,p){let v=t?t.injectorIndex:-1,E=0;return nc()&&(E|=128),{type:i,index:a,insertBeforeIndex:null,injectorIndex:v,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:E,providerIndexes:0,value:d,attrs:p,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,v?p:p&&p.parent,i,t,a,d);return null===e.firstChild&&(e.firstChild=I),null!==p&&(v?null==p.child&&null!==I.parent&&(p.child=I):null===p.next&&(p.next=I,I.prev=p)),I}(e,t,i,a,d),function Ra(){return Wi.lFrame.inI18n}()&&(p.flags|=32);else if(64&p.type){p.type=i,p.value=a,p.attrs=d;const v=function Ka(){const e=Wi.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();p.injectorIndex=null===v?-1:v.injectorIndex}return Vs(p,!0),p}function Md(e,t,i,a){if(0===i)return-1;const d=t.length;for(let p=0;p<i;p++)t.push(a),e.blueprint.push(a),e.data.push(null);return d}function Op(e,t,i,a,d){const p=ps(),v=2&a;try{ta(-1),v&&t.length>li&&kp(e,t,li,!1),Zs(v?2:0,d),i(a,d)}finally{ta(p),Zs(v?3:1,d)}}function eh(e,t,i){if(qo(t)){const a=M(null);try{const p=t.directiveEnd;for(let v=t.directiveStart;v<p;v++){const E=e.data[v];E.contentQueries&&E.contentQueries(1,i[v],v)}}finally{M(a)}}}function th(e,t,i){Ld()&&(function At(e,t,i,a){const d=i.directiveStart,p=i.directiveEnd;al(i)&&function Xi(e,t,i){const a=es(t,e),d=Rp(i);let v=16;i.signals?v=4096:i.onPush&&(v=64);const E=l(e,Qc(e,d,null,v,a,t,null,e[is].rendererFactory.createRenderer(a,i),null,null,null));e[t.index]=E}(t,i,e.data[d+i.componentOffset]),e.firstCreatePass||Pa(i,t),Wo(a,t);const v=i.initialInputs;for(let E=d;E<p;E++){const I=e.data[E],ie=Fa(t,e,E,i);Wo(ie,t),null!==v&&xa(0,E-d,ie,I,0,v),va(I)&&(eo(i.index,t)[Pr]=Fa(t,e,E,i))}}(e,t,i,es(i,t)),!(64&~i.flags)&&Jt(e,t,i))}function nh(e,t,i=es){const a=t.localNames;if(null!==a){let d=t.index+1;for(let p=0;p<a.length;p+=2){const v=a[p+1],E=-1===v?i(t,e):e[v];e[d++]=E}}}function Rp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ih(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ih(e,t,i,a,d,p,v,E,I,ie,De){const We=li+a,St=We+d,Bt=function Pg(e,t){const i=[];for(let a=0;a<t;a++)i.push(a<e?null:ur);return i}(We,St),on="function"==typeof ie?ie():ie;return Bt[Yn]={type:e,blueprint:Bt,template:i,queries:null,viewQuery:E,declTNode:t,data:Bt.slice().fill(null,We),bindingStartIndex:We,expandoStartIndex:St,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof p?p():p,pipeRegistry:"function"==typeof v?v():v,firstChild:null,schemas:I,consts:on,incompleteFirstPass:!1,ssrId:De}}let Pp=()=>null;function Fp(e){ff(e)?ks(e):function A_(e){const t=Gl(),i=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(p){const v=function k_(e){return e.textContent?.replace(/\s/gm,"")}(p);return"ngetn"===v||"ngtns"===v?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let a;const d=[];for(;a=i.nextNode();)d.push(a);for(const p of d)"ngetn"===p.textContent?p.replaceWith(t.createTextNode("")):p.remove()}(e)}function Lp(e,t,i,a,d){for(let p in t){if(!t.hasOwnProperty(p))continue;const v=t[p];if(void 0===v)continue;a??={};let E,I=Go.None;Array.isArray(v)?(E=v[0],I=v[1]):E=v;let ie=p;if(null!==d){if(!d.hasOwnProperty(p))continue;ie=d[p]}0===e?Np(a,i,ie,E,I):Np(a,i,ie,E)}return a}function Np(e,t,i,a,d){let p;e.hasOwnProperty(i)?(p=e[i]).push(t,a):p=e[i]=[t,a],void 0!==d&&p.push(d)}function aa(e,t,i,a,d,p,v,E){const I=es(t,i);let De,ie=t.inputs;!E&&null!=ie&&(De=ie[a])?(X(e,i,De,a,d),al(t)&&function u(e,t){const i=eo(t,e);16&i[Ci]||(i[Ci]|=64)}(i,t.index)):3&t.type&&(a=function Vg(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(a),d=null!=v?v(d,t.value||"",a):d,p.setProperty(I,a,d))}function q(e,t,i,a){if(Ld()){const d=null===a?null:{"":-1},p=function Vn(e,t){const i=e.directiveRegistry;let a=null,d=null;if(i)for(let p=0;p<i.length;p++){const v=i[p];if(wt(t,v.selectors,!1))if(a||(a=[]),va(v))if(null!==v.findHostDirectiveDefs){const E=[];d=d||new Map,v.findHostDirectiveDefs(v,E,d),a.unshift(...E,v),zn(e,t,E.length)}else a.unshift(v),zn(e,t,0);else d=d||new Map,v.findHostDirectiveDefs?.(v,a,d),a.push(v)}return null===a?null:[a,d]}(e,i);let v,E;null===p?v=E=null:[v,E]=p,null!==v&&Ie(e,t,i,v,d,E),d&&function mi(e,t,i){if(t){const a=e.localNames=[];for(let d=0;d<t.length;d+=2){const p=i[t[d+1]];if(null==p)throw new mn(-301,!1);a.push(t[d],p)}}}(i,a,d)}i.mergedAttrs=Ve(i.mergedAttrs,i.attrs)}function Ie(e,t,i,a,d,p){for(let ie=0;ie<a.length;ie++)Xd(Pa(i,t),e,a[ie].type);!function Ki(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}(i,e.data.length,a.length);for(let ie=0;ie<a.length;ie++){const De=a[ie];De.providersResolver&&De.providersResolver(De)}let v=!1,E=!1,I=Md(e,t,a.length,null);for(let ie=0;ie<a.length;ie++){const De=a[ie];i.mergedAttrs=Ve(i.mergedAttrs,De.hostAttrs),Dr(e,i,t,I,De),Fi(I,De,d),null!==De.contentQueries&&(i.flags|=4),(null!==De.hostBindings||null!==De.hostAttrs||0!==De.hostVars)&&(i.flags|=64);const We=De.type.prototype;!v&&(We.ngOnChanges||We.ngOnInit||We.ngDoCheck)&&((e.preOrderHooks??=[]).push(i.index),v=!0),!E&&(We.ngOnChanges||We.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(i.index),E=!0),I++}!function Bg(e,t,i){const d=t.directiveEnd,p=e.data,v=t.attrs,E=[];let I=null,ie=null;for(let De=t.directiveStart;De<d;De++){const We=p[De],St=i?i.get(We):null,on=St?St.outputs:null;I=Lp(0,We.inputs,De,I,St?St.inputs:null),ie=Lp(1,We.outputs,De,ie,on);const Sn=null===I||null===v||x(t)?null:o(I,De,v);E.push(Sn)}null!==I&&(I.hasOwnProperty("class")&&(t.flags|=8),I.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=E,t.inputs=I,t.outputs=ie}(e,i,p)}function Jt(e,t,i){const a=i.directiveStart,d=i.directiveEnd,p=i.index,v=function Uu(){return Wi.lFrame.currentDirectiveIndex}();try{ta(p);for(let E=a;E<d;E++){const I=e.data[E],ie=t[E];Bd(E),(null!==I.hostBindings||0!==I.hostVars||null!==I.hostAttrs)&&Nn(I,ie)}}finally{ta(-1),Bd(v)}}function Nn(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function zn(e,t,i){t.componentOffset=i,(e.components??=[]).push(t.index)}function Fi(e,t,i){if(i){if(t.exportAs)for(let a=0;a<t.exportAs.length;a++)i[t.exportAs[a]]=e;va(t)&&(i[""]=e)}}function Dr(e,t,i,a,d){e.data[a]=d;const p=d.factory||(d.factory=So(d.type)),v=new Ac(p,va(d),_c);e.blueprint[a]=v,i[a]=v,function Ze(e,t,i,a,d){const p=d.hostBindings;if(p){let v=e.hostBindingOpCodes;null===v&&(v=e.hostBindingOpCodes=[]);const E=~t.index;(function vt(e){let t=e.length;for(;t>0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(v)!=E&&v.push(E),v.push(i,a,p)}}(e,t,a,Md(e,i,d.hostVars,ur),d)}function nr(e,t,i,a,d,p){const v=es(e,t);!function Ar(e,t,i,a,d,p,v){if(null==p)e.removeAttribute(t,d,i);else{const E=null==v?Mi(p):v(p,a||"",d);e.setAttribute(t,d,E,i)}}(t[Ti],v,p,e.value,i,a,d)}function xa(e,t,i,a,d,p){const v=p[t];if(null!==v)for(let E=0;E<v.length;)Ap(a,i,v[E++],v[E++],v[E++],v[E++])}function o(e,t,i){let a=null,d=0;for(;d<i.length;){const p=i[d];if(0!==p)if(5!==p){if("number"==typeof p)break;if(e.hasOwnProperty(p)){null===a&&(a=[]);const v=e[p];for(let E=0;E<v.length;E+=3)if(v[E]===t){a.push(p,v[E+1],v[E+2],i[d+1]);break}}d+=2}else d+=2;else d+=4}return a}function c(e,t,i,a){return[e,!0,0,t,null,a,null,i,null,null]}function s(e,t){const i=e.contentQueries;if(null!==i){const a=M(null);try{for(let d=0;d<i.length;d+=2){const v=i[d+1];if(-1!==v){const E=e.data[v];Ya(i[d]),E.contentQueries(2,t[v],v)}}}finally{M(a)}}}function l(e,t){return e[ec]?e[Id][bo]=t:e[ec]=t,e[Id]=t,t}function h(e,t,i){Ya(0);const a=M(null);try{t(e,i)}finally{M(a)}}function D(e){return e[Bs]||(e[Bs]=[])}function L(e){return e.cleanup||(e.cleanup=[])}function H(e,t,i){return(null===e||va(e))&&(i=function Vl(e){for(;Array.isArray(e);){if("object"==typeof e[ga])return e;e=e[sr]}return null}(i[t.index])),i[Ti]}function K(e,t){const i=e[yo],a=i?i.get(Qa,null):null;a&&a.handleError(t)}function X(e,t,i,a,d){for(let p=0;p<i.length;){const v=i[p++],E=i[p++],I=i[p++];Ap(e.data[v],t[v],a,E,I,d)}}function Q(e,t,i){const a=qs(t,e);!function Eg(e,t,i){e.setValue(t,i)}(e[Ti],a,i)}function ve(e,t){const i=eo(t,e),a=i[Yn];!function ke(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}(a,i);const d=i[sr];null!==d&&null===i[To]&&(i[To]=Tf(d,i[yo])),Fe(a,i,i[Pr])}function Fe(e,t,i){Mc(t);try{const a=e.viewQuery;null!==a&&h(1,a,i);const d=e.template;null!==d&&Op(e,t,d,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),t[rs]?.finishViewCreation(e),e.staticContentQueries&&s(e,t),e.staticViewQueries&&h(2,e.viewQuery,i);const p=e.components;null!==p&&function it(e,t){for(let i=0;i<t.length;i++)ve(e,t[i])}(t,p)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),a}finally{t[Ci]&=-5,rd()}}function qe(e,t,i,a){const d=M(null);try{const p=t.tView,I=Qc(e,p,i,4096&e[Ci]?4096:16,null,t,null,null,a?.injector??null,a?.embeddedViewInjector??null,a?.dehydratedView??null);I[Ua]=e[t.index];const De=e[rs];return null!==De&&(I[rs]=De.createEmbeddedView(p)),Fe(p,I,i),I}finally{M(d)}}function It(e,t){const i=Eo+t;if(i<e.length)return e[i]}function Rt(e,t){return!t||null===t.firstChild||pd(e)}function xt(e,t,i,a=!0){const d=t[Yn];if(function wg(e,t,i,a){const d=Eo+a,p=i.length;a>0&&(i[d-1][bo]=t),a<p-Eo?(t[bo]=i[d],nl(i,Eo+a,t)):(i.push(t),t[bo]=null),t[Br]=i;const v=t[Ua];null!==v&&i!==v&&function Sg(e,t){const i=e[sl];t[co]!==t[Br][Br][co]&&(e[Ci]|=qc.HasTransplantedViews),null===i?e[sl]=[t]:i.push(t)}(v,t);const E=t[rs];null!==E&&E.insertView(e),Fu(t),t[Ci]|=128}(d,t,e,i),a){const v=Qf(i,e),E=t[Ti],I=bu(E,e[Tr]);null!==I&&function Dg(e,t,i,a,d,p){a[sr]=d,a[Qr]=t,Yc(e,a,i,1,d,p)}(d,e[Qr],E,t,I,v)}const p=t[To];null!==p&&null!==p.firstChild&&(p.firstChild=null)}function nn(e,t){const i=wd(e,t);return void 0!==i&&_u(i[Yn],i),i}function yn(e,t,i,a,d=!1){for(;null!==i;){const p=t[i.index];null!==p&&a.push(Gr(p)),Zo(p)&&Mn(p,a);const v=i.type;if(8&v)yn(e,t,i.child,a);else if(32&v){const E=vp(i,t);let I;for(;I=E();)a.push(I)}else if(16&v){const E=Td(t,i);if(Array.isArray(E))a.push(...E);else{const I=Wa(t[co]);yn(I[Yn],I,E,a,!0)}}i=d?i.projectionNext:i.next}return a}function Mn(e,t){for(let i=Eo;i<e.length;i++){const a=e[i],d=a[Yn].firstChild;null!==d&&yn(a[Yn],a,d,t)}e[Tr]!==e[sr]&&t.push(e[Tr])}let kn=[];const vn={...N,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{td(e.lView)},consumerOnSignalRead(){this.lView[Qo]=this}},Zn=100;function fi(e,t=!0,i=0){const a=e[is],d=a.rendererFactory;d.begin?.();try{!function _r(e,t){Vo(e,t);let i=0;for(;Tc(e);){if(i===Zn)throw new mn(103,!1);i++,Vo(e,1)}}(e,i)}catch(v){throw t&&K(e,v),v}finally{d.end?.(),a.inlineEffectRunner?.flush()}}function Xt(e,t,i,a){const d=t[Ci];if(!(256&~d))return;t[is].inlineEffectRunner?.flush(),Mc(t);let v=null,E=null;(function Pn(e){return 2!==e.type})(e)&&(E=function rn(e){return e[Qo]??function ln(e){const t=kn.pop()??Object.create(vn);return t.lView=e,t}(e)}(t),v=Se(E));try{Pd(t),function ju(e){return Wi.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==i&&Op(e,t,i,2,a);const I=!(3&~d);if(I){const We=e.preOrderCheckHooks;null!==We&&ms(t,We,null)}else{const We=e.preOrderHooks;null!==We&&ba(t,We,0,null),Wu(t,0)}if(function yi(e){for(let t=Fm(e);null!==t;t=Lm(t)){if(!(t[Ci]&qc.HasTransplantedViews))continue;const i=t[sl];for(let a=0;a<i.length;a++){_m(i[a])}}}(t),Wn(t,0),null!==e.contentQueries&&s(e,t),I){const We=e.contentCheckHooks;null!==We&&ms(t,We)}else{const We=e.contentHooks;null!==We&&ba(t,We,1),Wu(t,1)}!function Rg(e,t){const i=e.hostBindingOpCodes;if(null!==i)try{for(let a=0;a<i.length;a++){const d=i[a];if(d<0)ta(~d);else{const p=d,v=i[++a],E=i[++a];Nd(v,p),E(2,t[p])}}}finally{ta(-1)}}(e,t);const ie=e.components;null!==ie&&Na(t,ie,0);const De=e.viewQuery;if(null!==De&&h(2,De,a),I){const We=e.viewCheckHooks;null!==We&&ms(t,We)}else{const We=e.viewHooks;null!==We&&ba(t,We,2),Wu(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[$a]){for(const We of t[$a])We();t[$a]=null}t[Ci]&=-73}catch(I){throw td(t),I}finally{null!==E&&(Ne(E,v),function xn(e){e.lView[Qo]!==e&&(e.lView=null,kn.push(e))}(E)),rd()}}function Wn(e,t){for(let i=Fm(e);null!==i;i=Lm(i))for(let a=Eo;a<i.length;a++)vs(i[a],t)}function ir(e,t,i){vs(eo(t,e),i)}function vs(e,t){Pu(e)&&Vo(e,t)}function Vo(e,t){const a=e[Yn],d=e[Ci],p=e[Qo];let v=!!(0===t&&16&d);if(v||=!!(64&d&&0===t),v||=!!(1024&d),v||=!(!p?.dirty||!ot(p)),p&&(p.dirty=!1),e[Ci]&=-9217,v)Xt(a,e,a.template,e[Pr]);else if(8192&d){Wn(e,1);const E=a.components;null!==E&&Na(e,E,1)}}function Na(e,t,i){for(let a=0;a<t.length;a++)ir(e,t[a],i)}function Wr(e){for(e[is].changeDetectionScheduler?.notify();e;){e[Ci]|=64;const t=Wa(e);if(xl(e)&&!t)return e;e=t}return null}class la{get rootNodes(){const t=this._lView,i=t[Yn];return yn(i,t,i.firstChild,[])}constructor(t,i,a=!0){this._lView=t,this._cdRefInjectingView=i,this.notifyErrorHandler=a,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Pr]}set context(t){this._lView[Pr]=t}get destroyed(){return!(256&~this._lView[Ci])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Br];if(Zo(t)){const i=t[8],a=i?i.indexOf(this):-1;a>-1&&(wd(t,a),Fr(i,a))}this._attachedToViewContainer=!1}_u(this._lView[Yn],this._lView)}onDestroy(t){jl(this._lView,t)}markForCheck(){Wr(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ci]&=-129}reattach(){Fu(this._lView),this._lView[Ci]|=128}detectChanges(){this._lView[Ci]|=1024,fi(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new mn(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ep(this._lView[Yn],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new mn(902,!1);this._appRef=t,Fu(this._lView)}}let el=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=wa}return e})();const bs=el,Yl=class extends bs{constructor(t,i,a){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=a}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,i){return this.createEmbeddedViewImpl(t,i)}createEmbeddedViewImpl(t,i,a){const d=qe(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:i,dehydratedView:a});return new la(d)}};function wa(){return Ql(Vr(),bn())}function Ql(e,t){return 4&e.type?new Yl(t,e,Nc(e,t)):null}function wy(e){const t=e[ol]??[],a=e[Br][Ti];for(const d of t)Dx(d,a);e[ol]=qi}function Dx(e,t){let i=0,a=e.firstChild;if(a){const d=e.data[jc];for(;i<d;){const p=a.nextSibling;Kl(t,a,!1),a=p,i++}}}function Sy(e){wy(e);for(let t=Eo;t<e.length;t++)W_(e[t])}function W_(e){!function xx(e){const t=e[To]?.i18nNodes;if(t){const i=e[Ti];for(const a of t.values())Kl(i,a,!1);e[To].i18nNodes=void 0}}(e);const t=e[Yn];for(let i=li;i<t.bindingStartIndex;i++)Zo(e[i])?Sy(e[i]):Jo(e[i])&&W_(e[i])}const Sx=new RegExp(`^(\\d+)*(${Df}|${Cf})*(.*)`);function Gv(e){return e.index-li}function K_(e,t,i,a){const d=Gv(a);let p=function kx(e,t){const i=e.i18nNodes;if(i){const a=i.get(t);return a&&i.delete(t),a}return null}(e,d);if(!p){const v=e.data[su];if(v?.[d])p=function Ox(e,t){const[i,...a]=function Mx(e){const t=e.match(Sx),[i,a,d,p]=t,v=a?parseInt(a,10):d,E=[];for(const[I,ie,De]of p.matchAll(/(f|n)(\d*)/g)){const We=parseInt(De,10)||1;E.push(ie,We)}return[v,...E]}(e);let d;return d=i===Cf?t[co][sr]:i===Df?function Gf(e){return e.ownerDocument.body}(t[co][sr]):Gr(t[Number(i)+li]),function Ax(e,t){let i=e;for(let a=0;a<t.length;a+=2){const d=t[a],p=t[a+1];for(let v=0;v<p;v++)switch(d){case Vc.FirstChild:i=i.firstChild;break;case Vc.NextSibling:i=i.nextSibling}}return i}(d,a)}(v[d],i);else if(t.firstChild===a)p=e.firstChild;else{const E=null===a.prev,I=a.prev??a.parent;if(function Ix(e){return!e.prev&&8===e.parent?.type}(a))p=Mf(e,Gv(a.parent));else{let ie=es(I,i);if(E)p=ie.firstChild;else{const De=Gv(I),We=Mf(e,De);p=2===I.type&&We?X_(If(e,De)+1,We):ie.nextSibling}}}}return p}function X_(e,t){let i=t;for(let a=0;a<e;a++)i=i.nextSibling;return i}let My=()=>null;function Lx(e,t){const i=e[ol];return t&&null!==i&&0!==i.length?i[0].data[ou]===t?i.shift():(wy(e),null):null}function Vp(e,t){return My(e,t)}class Y_{}class Bx{}class Iy{}class jx{resolveComponentFactory(t){throw function Vx(e){const t=Error(`No component factory found for ${sn(e)}.`);return t.ngComponent=e,t}(t)}}let Wg=(()=>{class e{static#e=this.NULL=new jx}return e})();class Ay{}let Ux=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function $x(){const e=bn(),i=eo(Vr().index,e);return(Jo(i)?i:e)[Ti]}()}return e})(),Hx=(()=>{class e{static#e=this.\u0275prov=Oi({token:e,providedIn:"root",factory:()=>null})}return e})();const Wv={},Oy=new Set;function vc(e){Oy.has(e)||(Oy.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Ry(...e){}class As{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _l(!1),this.onMicrotaskEmpty=new _l(!1),this.onStable=new _l(!1),this.onError=new _l(!1),typeof Zone>"u")throw new mn(908,!1);Zone.assertZonePatched();const d=this;d._nesting=0,d._outer=d._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(d._inner=d._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(d._inner=d._inner.fork(Zone.longStackTraceZoneSpec)),d.shouldCoalesceEventChangeDetection=!a&&i,d.shouldCoalesceRunChangeDetection=a,d.lastRequestAnimationFrameId=-1,d.nativeRequestAnimationFrame=function Gx(){const e="function"==typeof Xn.requestAnimationFrame;let t=Xn[e?"requestAnimationFrame":"setTimeout"],i=Xn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&i){const a=t[Zone.__symbol__("OriginalDelegate")];a&&(t=a);const d=i[Zone.__symbol__("OriginalDelegate")];d&&(i=d)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function Kx(e){const t=()=>{!function Wx(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Xn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Xv(e),e.isCheckStableRunning=!0,Kv(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Xv(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,a,d,p,v,E)=>{if(function Xx(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(E))return i.invokeTask(d,p,v,E);try{return Py(e),i.invokeTask(d,p,v,E)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===p.type||e.shouldCoalesceRunChangeDetection)&&t(),Fy(e)}},onInvoke:(i,a,d,p,v,E,I)=>{try{return Py(e),i.invoke(d,p,v,E,I)}finally{e.shouldCoalesceRunChangeDetection&&t(),Fy(e)}},onHasTask:(i,a,d,p)=>{i.hasTask(d,p),a===d&&("microTask"==p.change?(e._hasPendingMicrotasks=p.microTask,Xv(e),Kv(e)):"macroTask"==p.change&&(e.hasPendingMacrotasks=p.macroTask))},onHandleError:(i,a,d,p)=>(i.handleError(d,p),e.runOutsideAngular(()=>e.onError.emit(p)),!1)})}(d)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!As.isInAngularZone())throw new mn(909,!1)}static assertNotInAngularZone(){if(As.isInAngularZone())throw new mn(909,!1)}run(t,i,a){return this._inner.run(t,i,a)}runTask(t,i,a,d){const p=this._inner,v=p.scheduleEventTask("NgZoneEvent: "+d,t,zx,Ry,Ry);try{return p.runTask(v,i,a)}finally{p.cancelTask(v)}}runGuarded(t,i,a){return this._inner.runGuarded(t,i,a)}runOutsideAngular(t){return this._outer.run(t)}}const zx={};function Kv(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 Xv(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Py(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Fy(e){e._nesting--,Kv(e)}class Ly{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _l,this.onMicrotaskEmpty=new _l,this.onStable=new _l,this.onError=new _l}run(t,i,a){return t.apply(i,a)}runGuarded(t,i,a){return t.apply(i,a)}runOutsideAngular(t){return t()}runTask(t,i,a,d){return t.apply(i,a)}}var oh=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(oh||{});const Ny={destroy(){}};function By(e,t){!t&&k();const i=t?.injector??Ri(ya);if(!kl(i))return Ny;vc("NgAfterNextRender");const a=i.get(Kg),d=a.handler??=new jy,p=t?.phase??oh.MixedReadWrite,v=()=>{d.unregister(I),E()},E=i.get(Ja).onDestroy(v),I=Rl(i,()=>new Vy(p,()=>{v(),e()}));return d.register(I),{destroy:v}}class Vy{constructor(t,i){this.phase=t,this.callbackFn=i,this.zone=Ri(As),this.errorHandler=Ri(Qa,{optional:!0}),Ri(Y_,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class jy{constructor(){this.executingCallbacks=!1,this.buckets={[oh.EarlyRead]:new Set,[oh.Write]:new Set,[oh.MixedReadWrite]:new Set,[oh.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Kg=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const i=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const a of i)a()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Oi({token:e,providedIn:"root",factory:()=>new e})}return e})();function xu(e){return!!Vi(e)}function J_(e,t,i){let a=i?e.styles:null,d=i?e.classes:null,p=0;if(null!==t)for(let v=0;v<t.length;v++){const E=t[v];"number"==typeof E?p=E:1==p?d=oi(d,E):2==p&&(a=oi(a,E+": "+t[++v]+";"))}i?e.styles=a:e.stylesWithoutHost=a,i?e.classes=d:e.classesWithoutHost=d}class Hy extends Wg{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=bi(t);return new Qg(i,this.ngModule)}}function Gy(e){const t=[];for(const i in e){if(!e.hasOwnProperty(i))continue;const a=e[i];void 0!==a&&t.push({propName:Array.isArray(a)?a[0]:a,templateName:i})}return t}class Z_{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,a){a=Xo(a);const d=this.injector.get(t,Wv,a);return d!==Wv||i===Wv?d:this.parentInjector.get(t,i,a)}}class Qg extends Iy{get inputs(){const t=this.componentDef,i=t.inputTransforms,a=Gy(t.inputs);if(null!==i)for(const d of a)i.hasOwnProperty(d.propName)&&(d.transform=i[d.propName]);return a}get outputs(){return Gy(this.componentDef.outputs)}constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function Rn(e){return e.map(In).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}create(t,i,a,d){const p=M(null);try{let v=(d=d||this.ngModule)instanceof Ms?d:d?.injector;v&&null!==this.componentDef.getStandaloneInjector&&(v=this.componentDef.getStandaloneInjector(v)||v);const E=v?new Z_(t,v):t,I=E.get(Ay,null);if(null===I)throw new mn(407,!1);const ie=E.get(Hx,null),St={rendererFactory:I,sanitizer:ie,inlineEffectRunner:null,afterRenderEventManager:E.get(Kg,null),changeDetectionScheduler:E.get(Y_,null)},Bt=I.createRenderer(null,this.componentDef),on=this.componentDef.selectors[0][0]||"div",Sn=a?function rh(e,t,i,a){const p=a.get(cu,!1)||i===Ao.ShadowDom,v=e.selectRootElement(t,p);return function Du(e){Pp(e)}(v),v}(Bt,a,this.componentDef.encapsulation,E):zf(Bt,on,function qx(e){const t=e.toLowerCase();return"svg"===t?ph:"math"===t?"math":null}(on));let Jn=512;this.componentDef.signals?Jn|=4096:this.componentDef.onPush||(Jn|=16);let ci=null;null!==Sn&&(ci=Tf(Sn,E,!0));const Hn=ih(0,null,null,1,0,null,null,null,null,null,null),er=Qc(null,Hn,null,Jn,null,null,St,Bt,E,null,ci);let Kr,Co;Mc(er);try{const zs=this.componentDef;let Cl,um=null;zs.findHostDirectiveDefs?(Cl=[],um=new Map,zs.findHostDirectiveDefs(zs,Cl,um),Cl.push(zs)):Cl=[zs];const _x=function t1(e,t){const i=e[Yn],a=li;return e[a]=t,Xl(i,a,2,"#host",null)}(er,Sn),ak=function n1(e,t,i,a,d,p,v){const E=d[Yn];!function r1(e,t,i,a){for(const d of e)t.mergedAttrs=Ve(t.mergedAttrs,d.hostAttrs);null!==t.mergedAttrs&&(J_(t,t.mergedAttrs,!0),null!==i&&Mp(a,i,t))}(a,e,t,v);let I=null;null!==t&&(I=Tf(t,d[yo]));const ie=p.rendererFactory.createRenderer(t,i);let De=16;i.signals?De=4096:i.onPush&&(De=64);const We=Qc(d,Rp(i),null,De,d[e.index],e,p,ie,null,null,I);return E.firstCreatePass&&zn(E,e,a.length-1),l(d,We),d[e.index]=We}(_x,Sn,zs,Cl,er,St,Bt);Co=za(Hn,li),Sn&&function s1(e,t,i,a){if(a)fe(e,i,["ng-version","17.3.5"]);else{const{attrs:d,classes:p}=function ii(e){const t=[],i=[];let a=1,d=2;for(;a<e.length;){let p=e[a];if("string"==typeof p)2===d?""!==p&&t.push(p,e[++a]):8===d&&i.push(p);else{if(!de(d))break;d=p}a++}return{attrs:t,classes:i}}(t.selectors[0]);d&&fe(e,i,d),p&&p.length>0&&Cu(e,i,p.join(" "))}}(Bt,zs,Sn,a),void 0!==i&&function a1(e,t,i){const a=e.projection=[];for(let d=0;d<t.length;d++){const p=i[d];a.push(null!=p?Array.from(p):null)}}(Co,this.ngContentSelectors,i),Kr=function o1(e,t,i,a,d,p){const v=Vr(),E=d[Yn],I=es(v,d);Ie(E,d,v,i,null,a);for(let De=0;De<i.length;De++)Wo(Fa(d,E,v.directiveStart+De,v),d);Jt(E,d,v),I&&Wo(I,d);const ie=Fa(d,E,v.directiveStart+v.componentOffset,v);if(e[Pr]=d[Pr]=ie,null!==p)for(const De of p)De(ie,t);return eh(E,v,d),ie}(ak,zs,Cl,um,er,[l1]),Fe(Hn,er,null)}finally{rd()}return new e1(this.componentType,Kr,Nc(Co,er),er,Co)}finally{M(p)}}}class e1 extends Bx{constructor(t,i,a,d,p){super(),this.location=a,this._rootLView=d,this._tNode=p,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new la(d,void 0,!1),this.componentType=t}setInput(t,i){const a=this._tNode.inputs;let d;if(null!==a&&(d=a[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),i))return;const p=this._rootLView;X(p[Yn],p,d,t,i),this.previousInputValues.set(t,i),Wr(eo(this._tNode.index,p))}}get injector(){return new Fo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function l1(){const e=Vr();od(bn()[Yn],e)}let q_=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=c1}return e})();function c1(){return Ky(Vr(),bn())}const d1=q_,zy=class extends d1{constructor(t,i,a){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=a}get element(){return Nc(this._hostTNode,this._hostLView)}get injector(){return new Fo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Kd(this._hostTNode,this._hostLView);if(pl(t)){const i=$l(t,this._hostLView),a=lc(t);return new Fo(i[Yn].data[a+8],i)}return new Fo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Wy(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-Eo}createEmbeddedView(t,i,a){let d,p;"number"==typeof a?d=a:null!=a&&(d=a.index,p=a.injector);const v=Vp(this._lContainer,t.ssrId),E=t.createEmbeddedViewImpl(i||{},p,v);return this.insertImpl(E,d,Rt(this._hostTNode,v)),E}createComponent(t,i,a,d,p){const v=t&&!function di(e){return"function"==typeof e}(t);let E;if(v)E=i;else{const on=i||{};E=on.index,a=on.injector,d=on.projectableNodes,p=on.environmentInjector||on.ngModuleRef}const I=v?t:new Qg(bi(t)),ie=a||this.parentInjector;if(!p&&null==I.ngModule){const Sn=(v?ie:this.parentInjector).get(Ms,null);Sn&&(p=Sn)}const De=bi(I.componentType??{}),We=Vp(this._lContainer,De?.id??null),Bt=I.create(ie,d,We?.firstChild??null,p);return this.insertImpl(Bt.hostView,E,Rt(this._hostTNode,We)),Bt}insert(t,i){return this.insertImpl(t,i,!0)}insertImpl(t,i,a){const d=t._lView;if(function gm(e){return Zo(e[Br])}(d)){const E=this.indexOf(t);if(-1!==E)this.detach(E);else{const I=d[Br],ie=new zy(I,I[Qr],I[Br]);ie.detach(ie.indexOf(t))}}const p=this._adjustIndex(i),v=this._lContainer;return xt(v,d,p,a),t.attachToViewContainerRef(),nl(Zv(v),p,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Wy(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),a=wd(this._lContainer,i);a&&(Fr(Zv(this._lContainer),i),_u(a[Yn],a))}detach(t){const i=this._adjustIndex(t,-1),a=wd(this._lContainer,i);return a&&null!=Fr(Zv(this._lContainer),i)?new la(a):null}_adjustIndex(t,i=0){return t??this.length+i}};function Wy(e){return e[8]}function Zv(e){return e[8]||(e[8]=[])}function Ky(e,t){let i;const a=t[e.index];return Zo(a)?i=a:(i=c(a,t,null,e),t[e.index]=i,l(t,i)),Xy(i,t,e,a),new zy(i,e,t)}let Xy=Qy,qv=()=>!1;function Qy(e,t,i,a){if(e[Tr])return;let d;d=8&i.type?Gr(a):function u1(e,t){const i=e[Ti],a=i.createComment(""),d=es(t,e);return mc(i,bu(i,d),a,function kg(e,t){return e.nextSibling(t)}(i,d),!1),a}(t,i),e[Tr]=d}function f1(e,t,i){if(e[Tr]&&e[ol])return!0;const a=i[To],d=t.index-li;if(!a||function md(e){if(pd(e))return!0;let t=e.parent;for(;t;){if(pd(e)||Ph(t))return!0;t=t.parent}return!1}(t)||kf(a,d))return!1;const v=Mf(a,d),E=a.data[gd]?.[d],[I,ie]=function Fx(e,t){const i=[];for(const a of t)for(let d=0;d<(a[ru]??1);d++){const p={data:a,firstChild:null};a[jc]>0&&(p.firstChild=e,e=X_(a[jc],e)),i.push(p)}return[e,i]}(v,E);return e[Tr]=I,e[ol]=ie,!0}function h1(e,t,i,a){qv(e,i,t)||Qy(e,t,i,a)}class eb{constructor(t){this.queryList=t,this.matches=null}clone(){return new eb(this.queryList)}setDirty(){this.queryList.setDirty()}}class tb{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const a=null!==t.contentQueries?t.contentQueries[0]:i.length,d=[];for(let p=0;p<a;p++){const v=i.getByIndex(p);d.push(this.queries[v.indexInDeclarationView].clone())}return new tb(d)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)null!==sb(t,i).matches&&this.queries[i].setDirty()}}class Jy{constructor(t,i,a=null){this.flags=i,this.read=a,this.predicate="string"==typeof t?function b1(e){return e.split(",").map(t=>t.trim())}(t):t}}class nb{constructor(t=[]){this.queries=t}elementStart(t,i){for(let a=0;a<this.queries.length;a++)this.queries[a].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let a=0;a<this.length;a++){const d=null!==i?i.length:0,p=this.getByIndex(a).embeddedTView(t,d);p&&(p.indexInDeclarationView=a,null!==i?i.push(p):i=[p])}return null!==i?new nb(i):null}template(t,i){for(let a=0;a<this.queries.length;a++)this.queries[a].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class ib{constructor(t,i=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(t,i){this.isApplyingToNode(i)&&this.matchTNode(t,i)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,i){this.elementStart(t,i)}embeddedTView(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new ib(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const i=this._declarationNodeIndex;let a=t.parent;for(;null!==a&&8&a.type&&a.index!==i;)a=a.parent;return i===(null!==a?a.index:-1)}return this._appliesToNextNode}matchTNode(t,i){const a=this.metadata.predicate;if(Array.isArray(a))for(let d=0;d<a.length;d++){const p=a[d];this.matchTNodeWithReadOption(t,i,m1(i,p)),this.matchTNodeWithReadOption(t,i,cc(i,t,p,!1,!1))}else a===el?4&i.type&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,cc(i,t,a,!1,!1))}matchTNodeWithReadOption(t,i,a){if(null!==a){const d=this.metadata.read;if(null!==d)if(d===ud||d===q_||d===el&&4&i.type)this.addMatch(i.index,-2);else{const p=cc(i,t,d,!1,!1);null!==p&&this.addMatch(i.index,p)}else this.addMatch(i.index,a)}}addMatch(t,i){null===this.matches?this.matches=[t,i]:this.matches.push(t,i)}}function m1(e,t){const i=e.localNames;if(null!==i)for(let a=0;a<i.length;a+=2)if(i[a]===t)return i[a+1];return null}function _1(e,t,i,a){return-1===i?function g1(e,t){return 11&e.type?Nc(e,t):4&e.type?Ql(e,t):null}(t,e):-2===i?function v1(e,t,i){return i===ud?Nc(t,e):i===el?Ql(t,e):i===q_?Ky(t,e):void 0}(e,t,a):Fa(e,e[Yn],i,t)}function Zy(e,t,i,a){const d=t[rs].queries[a];if(null===d.matches){const p=e.data,v=i.matches,E=[];for(let I=0;null!==v&&I<v.length;I+=2){const ie=v[I];E.push(ie<0?null:_1(t,p[ie],v[I+1],i.metadata.read))}d.matches=E}return d.matches}function rb(e,t,i,a){const d=e.queries.getByIndex(i),p=d.matches;if(null!==p){const v=Zy(e,t,d,i);for(let E=0;E<p.length;E+=2){const I=p[E];if(I>0)a.push(v[E/2]);else{const ie=p[E+1],De=t[-I];for(let We=Eo;We<De.length;We++){const St=De[We];St[Ua]===St[Br]&&rb(St[Yn],St,ie,a)}if(null!==De[sl]){const We=De[sl];for(let St=0;St<We.length;St++){const Bt=We[St];rb(Bt[Yn],Bt,ie,a)}}}}}return a}function qy(e,t,i){const a=new fd(!(4&~i));return function Lg(e,t,i,a){const d=D(t);d.push(i),e.firstCreatePass&&L(e).push(a,d.length-1)}(e,t,a,a.destroy),(t[rs]??=new tb).queries.push(new eb(a))-1}function n0(e,t,i){null===e.queries&&(e.queries=new nb),e.queries.track(new ib(t,i))}function sb(e,t){return e.queries.getByIndex(t)}function r0(e,t){const i=e[Yn],a=sb(i,t);return a.crossesNgTemplate?rb(i,e,t,[]):Zy(i,e,a,t)}function ab(e){return"function"==typeof e&&void 0!==e[A]}function s0(e){return ab(e)&&"function"==typeof e.set}function cb(e){let t=function _0(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),i=!0;const a=[e];for(;t;){let d;if(va(e))d=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new mn(903,!1);d=t.\u0275dir}if(d){if(i){a.push(d);const v=e;v.inputs=tv(e.inputs),v.inputTransforms=tv(e.inputTransforms),v.declaredInputs=tv(e.declaredInputs),v.outputs=tv(e.outputs);const E=d.hostBindings;E&&F1(e,E);const I=d.viewQuery,ie=d.contentQueries;if(I&&R1(e,I),ie&&P1(e,ie),A1(e,d),Qi(e.outputs,d.outputs),va(d)&&d.data.animation){const De=e.data;De.animation=(De.animation||[]).concat(d.data.animation)}}const p=d.features;if(p)for(let v=0;v<p.length;v++){const E=p[v];E&&E.ngInherit&&E(e),E===cb&&(i=!1)}}t=Object.getPrototypeOf(t)}!function O1(e){let t=0,i=null;for(let a=e.length-1;a>=0;a--){const d=e[a];d.hostVars=t+=d.hostVars,d.hostAttrs=Ve(d.hostAttrs,i=Ve(i,d.hostAttrs))}}(a)}function A1(e,t){for(const i in t.inputs){if(!t.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;const a=t.inputs[i];if(void 0!==a&&(e.inputs[i]=a,e.declaredInputs[i]=t.declaredInputs[i],null!==t.inputTransforms)){const d=Array.isArray(a)?a[0]:a;if(!t.inputTransforms.hasOwnProperty(d))continue;e.inputTransforms??={},e.inputTransforms[d]=t.inputTransforms[d]}}}function tv(e){return e===Ho?{}:e===qi?[]:e}function R1(e,t){const i=e.viewQuery;e.viewQuery=i?(a,d)=>{t(a,d),i(a,d)}:t}function P1(e,t){const i=e.contentQueries;e.contentQueries=i?(a,d,p)=>{t(a,d,p),i(a,d,p)}:t}function F1(e,t){const i=e.hostBindings;e.hostBindings=i?(a,d)=>{t(a,d),i(a,d)}:t}function E0(e){const t=e.inputConfig,i={};for(const a in t)if(t.hasOwnProperty(a)){const d=t[a];Array.isArray(d)&&d[3]&&(i[a]=d[3])}e.inputTransforms=i}class sh{}class C0{}function U1(e,t){return new db(e,t??null,[])}class db extends sh{constructor(t,i,a){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Hy(this);const d=Vi(t);this._bootstrapComponents=ss(d.bootstrap),this._r3Injector=kh(t,i,[{provide:sh,useValue:this},{provide:Wg,useValue:this.componentFactoryResolver},...a],sn(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(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ub extends C0{constructor(t){super(),this.moduleType=t}create(t){return new db(this.moduleType,t,[])}}class D0 extends sh{constructor(t){super(),this.componentFactoryResolver=new Hy(this),this.instance=null;const i=new pa([...t.providers,{provide:sh,useValue:this},{provide:Wg,useValue:this.componentFactoryResolver}],t.parent||Ns(),t.debugName,new Set(["environment"]));this.injector=i,t.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function fb(e,t,i=null){return new D0({providers:e,parent:t,debugName:i,runEnvironmentInitializers:!0}).injector}let Up=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new hi.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Oi({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iv(e){return!!hb(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function hb(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Jc(e,t,i){return e[t]=i}function ys(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function ah(e,t,i,a){const d=ys(e,t,i);return ys(e,t+1,a)||d}function rv(e,t,i,a,d){const p=ah(e,t,i,a);return ys(e,t+2,d)||p}function qg(e){return!(32&~e.flags)}function $p(e,t,i,a,d,p,v,E){const I=bn(),ie=pr(),De=e+li,We=ie.firstCreatePass?function X1(e,t,i,a,d,p,v,E,I){const ie=t.consts,De=Xl(t,e,4,v||null,dl(ie,E));q(t,i,De,dl(ie,I)),od(t,De);const We=De.tView=ih(2,De,a,d,p,t.directiveRegistry,t.pipeRegistry,null,t.schemas,ie,null);return null!==t.queries&&(t.queries.template(t,De),We.queries=t.queries.embeddedTView(De)),De}(De,ie,I,t,i,a,d,p,v):ie.data[De];Vs(We,!1);const St=x0(ie,I,We,e);rc()&&Sd(ie,I,St,We),Wo(St,I);const Bt=c(St,I,St,We);return I[De]=Bt,l(I,Bt),function Yy(e,t,i){return qv(e,t,i)}(Bt,We,I),Dc(We)&&th(ie,I,We),null!=v&&nh(I,We,E),$p}let x0=w0;function w0(e,t,i,a){return na(!0),t[Ti].createComment("")}function Y1(e,t,i,a){const d=t[To],p=!d||nc()||qg(i)||kf(d,a);if(na(p),p)return w0(0,t);const v=d.data[xf]?.[a]??null;null!==v&&null!==i.tView&&null===i.tView.ssrId&&(i.tView.ssrId=v);const E=K_(d,e,t,i);return vd(d,a,E),X_(If(d,a),E)}function Db(e,t,i,a){const d=bn();return ys(d,Xa(),t)&&(pr(),nr(ao(),d,e,t,i,a)),Db}function Qp(e,t,i,a){return ys(e,Xa(),i)?t+Mi(i)+a:ur}function Jp(e,t,i,a,d,p){const E=ah(e,ea(),i,d);return Sl(2),E?t+Mi(i)+a+Mi(d)+p:ur}function dv(e,t){return e<<17|t<<2}function Tu(e){return e>>17&32767}function xb(e){return 2|e}function ch(e){return(131068&e)>>2}function wb(e,t){return-131069&e|t<<2}function Sb(e){return 1|e}function nE(e,t,i,a){const d=e[i+1],p=null===t;let v=a?Tu(d):ch(d),E=!1;for(;0!==v&&(!1===E||p);){const ie=e[v+1];Rw(e[v],t)&&(E=!0,e[v+1]=a?Sb(ie):xb(ie)),v=a?Tu(ie):ch(ie)}E&&(e[i+1]=a?xb(d):Sb(d))}function Rw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&wr(e,t)>=0}const Hs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function iE(e){return e.substring(Hs.key,Hs.keyEnd)}function Pw(e){return e.substring(Hs.value,Hs.valueEnd)}function rE(e,t){const i=Hs.textEnd;return i===t?-1:(t=Hs.keyEnd=function Nw(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,Hs.key=t,i),rm(e,t,i))}function oE(e,t){const i=Hs.textEnd;let a=Hs.key=rm(e,t,i);return i===a?-1:(a=Hs.keyEnd=function Bw(e,t,i){let a;for(;t<i&&(45===(a=e.charCodeAt(t))||95===a||(-33&a)>=65&&(-33&a)<=90||a>=48&&a<=57);)t++;return t}(e,a,i),a=aE(e,a,i),a=Hs.value=rm(e,a,i),a=Hs.valueEnd=function Vw(e,t,i){let a=-1,d=-1,p=-1,v=t,E=v;for(;v<i;){const I=e.charCodeAt(v++);if(59===I)return E;34===I||39===I?E=v=lE(e,I,v,i):t===v-4&&85===p&&82===d&&76===a&&40===I?E=v=lE(e,41,v,i):I>32&&(E=v),p=d,d=a,a=-33&I}return E}(e,a,i),aE(e,a,i))}function sE(e){Hs.key=0,Hs.keyEnd=0,Hs.value=0,Hs.valueEnd=0,Hs.textEnd=e.length}function rm(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function aE(e,t,i,a){return(t=rm(e,t,i))<i&&t++,t}function lE(e,t,i,a){let d=-1,p=i;for(;p<a;){const v=e.charCodeAt(p++);if(v==t&&92!==d)return p;d=92==v&&92===d?0:v}throw new Error}function Tb(e,t,i){const a=bn();return ys(a,Xa(),t)&&aa(pr(),ao(),a,e,t,a[Ti],i,!1),Tb}function Mb(e,t,i,a,d){const v=d?"class":"style";X(e,i,t.inputs[v],v,a)}function Ib(e,t,i){return yc(e,t,i,!1),Ib}function kb(e,t){return yc(e,t,null,!0),kb}function bc(e){Ec(fE,jw,e,!1)}function jw(e,t){for(let i=function Lw(e){return sE(e),oE(e,rm(e,0,Hs.textEnd))}(t);i>=0;i=oE(t,i))fE(e,iE(t),Pw(t))}function cE(e){Ec(Ww,Zc,e,!0)}function Zc(e,t){for(let i=function Fw(e){return sE(e),rE(e,rm(e,0,Hs.textEnd))}(t);i>=0;i=rE(t,i))qr(e,iE(t),!0)}function yc(e,t,i,a){const d=bn(),p=pr(),v=Sl(2);p.firstUpdatePass&&uE(p,e,v,a),t!==ur&&ys(d,v,t)&&hE(p,p.data[ps()],d,d[Ti],e,d[v+1]=function Xw(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=sn(vl(e)))),e}(t,i),a,v)}function Ec(e,t,i,a){const d=pr(),p=Sl(2);d.firstUpdatePass&&uE(d,null,p,a);const v=bn();if(i!==ur&&ys(v,p,i)){const E=d.data[ps()];if(mE(E,a)&&!dE(d,p)){let I=a?E.classesWithoutHost:E.stylesWithoutHost;null!==I&&(i=oi(I,i||"")),Mb(d,E,v,i,a)}else!function Kw(e,t,i,a,d,p,v,E){d===ur&&(d=qi);let I=0,ie=0,De=0<d.length?d[0]:null,We=0<p.length?p[0]:null;for(;null!==De||null!==We;){const St=I<d.length?d[I+1]:void 0,Bt=ie<p.length?p[ie+1]:void 0;let Sn,on=null;De===We?(I+=2,ie+=2,St!==Bt&&(on=We,Sn=Bt)):null===We||null!==De&&De<We?(I+=2,on=De):(ie+=2,on=We,Sn=Bt),null!==on&&hE(e,t,i,a,on,Sn,v,E),De=I<d.length?d[I]:null,We=ie<p.length?p[ie]:null}}(d,E,v,v[Ti],v[p+1],v[p+1]=function zw(e,t,i){if(null==i||""===i)return qi;const a=[],d=vl(i);if(Array.isArray(d))for(let p=0;p<d.length;p++)e(a,d[p],!0);else if("object"==typeof d)for(const p in d)d.hasOwnProperty(p)&&e(a,p,d[p]);else"string"==typeof d&&t(a,d);return a}(e,t,i),a,p)}}function dE(e,t){return t>=e.expandoStartIndex}function uE(e,t,i,a){const d=e.data;if(null===d[i+1]){const p=d[ps()],v=dE(e,i);mE(p,a)&&null===t&&!v&&(t=!1),t=function Uw(e,t,i,a){const d=Vd(e);let p=a?t.residualClasses:t.residualStyles;if(null===d)0===(a?t.classBindings:t.styleBindings)&&(i=i_(i=Ab(null,e,t,i,a),t.attrs,a),p=null);else{const v=t.directiveStylingLast;if(-1===v||e[v]!==d)if(i=Ab(d,e,t,i,a),null===p){let I=function $w(e,t,i){const a=i?t.classBindings:t.styleBindings;if(0!==ch(a))return e[Tu(a)]}(e,t,a);void 0!==I&&Array.isArray(I)&&(I=Ab(null,e,t,I[1],a),I=i_(I,t.attrs,a),function Hw(e,t,i,a){e[Tu(i?t.classBindings:t.styleBindings)]=a}(e,t,a,I))}else p=function Gw(e,t,i){let a;const d=t.directiveEnd;for(let p=1+t.directiveStylingLast;p<d;p++)a=i_(a,e[p].hostAttrs,i);return i_(a,t.attrs,i)}(e,t,a)}return void 0!==p&&(a?t.residualClasses=p:t.residualStyles=p),i}(d,p,t,a),function Aw(e,t,i,a,d,p){let v=p?t.classBindings:t.styleBindings,E=Tu(v),I=ch(v);e[a]=i;let De,ie=!1;if(Array.isArray(i)?(De=i[1],(null===De||wr(i,De)>0)&&(ie=!0)):De=i,d)if(0!==I){const St=Tu(e[E+1]);e[a+1]=dv(St,E),0!==St&&(e[St+1]=wb(e[St+1],a)),e[E+1]=function Iw(e,t){return 131071&e|t<<17}(e[E+1],a)}else e[a+1]=dv(E,0),0!==E&&(e[E+1]=wb(e[E+1],a)),E=a;else e[a+1]=dv(I,0),0===E?E=a:e[I+1]=wb(e[I+1],a),I=a;ie&&(e[a+1]=xb(e[a+1])),nE(e,De,a,!0),nE(e,De,a,!1),function Ow(e,t,i,a,d){const p=d?e.residualClasses:e.residualStyles;null!=p&&"string"==typeof t&&wr(p,t)>=0&&(i[a+1]=Sb(i[a+1]))}(t,De,e,a,p),v=dv(E,I),p?t.classBindings=v:t.styleBindings=v}(d,p,t,i,v,a)}}function Ab(e,t,i,a,d){let p=null;const v=i.directiveEnd;let E=i.directiveStylingLast;for(-1===E?E=i.directiveStart:E++;E<v&&(p=t[E],a=i_(a,p.hostAttrs,d),p!==e);)E++;return null!==e&&(i.directiveStylingLast=E),a}function i_(e,t,i){const a=i?1:2;let d=-1;if(null!==t)for(let p=0;p<t.length;p++){const v=t[p];"number"==typeof v?d=v:d===a&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),qr(e,v,!!i||t[++p]))}return void 0===e?null:e}function fE(e,t,i){qr(e,t,vl(i))}function Ww(e,t,i){const a=String(t);""!==a&&!a.includes(" ")&&qr(e,a,i)}function hE(e,t,i,a,d,p,v,E){if(!(3&t.type))return;const I=e.data,ie=I[E+1],De=function kw(e){return!(1&~e)}(ie)?pE(I,t,i,d,ch(ie),v):void 0;uv(De)||(uv(p)||function Mw(e){return!(2&~e)}(ie)&&(p=pE(I,null,i,d,E,v)),function Jf(e,t,i,a,d){if(t)d?e.addClass(i,a):e.removeClass(i,a);else{let p=-1===a.indexOf("-")?void 0:gu.DashCase;null==d?e.removeStyle(i,a,p):("string"==typeof d&&d.endsWith("!important")&&(d=d.slice(0,-10),p|=gu.Important),e.setStyle(i,a,d,p))}}(a,v,qs(ps(),i),d,p))}function pE(e,t,i,a,d,p){const v=null===t;let E;for(;d>0;){const I=e[d],ie=Array.isArray(I),De=ie?I[1]:I,We=null===De;let St=i[d+1];St===ur&&(St=We?qi:void 0);let Bt=We?$o(St,a):De===a?St:void 0;if(ie&&!uv(Bt)&&(Bt=$o(I,a)),uv(Bt)&&(E=Bt,v))return E;const on=e[d+1];d=v?Tu(on):ch(on)}if(null!==t){let I=p?t.residualClasses:t.residualStyles;null!=I&&(E=$o(I,a))}return E}function uv(e){return void 0!==e}function mE(e,t){return!!(e.flags&(t?8:16))}class oS{destroy(t){}updateValue(t,i){}swap(t,i){const a=Math.min(t,i),d=Math.max(t,i),p=this.detach(d);if(d-a>1){const v=this.detach(a);this.attach(a,p),this.attach(d,v)}else this.attach(a,p)}move(t,i){this.attach(i,this.detach(t))}}function Ob(e,t,i,a,d){return e===i&&Object.is(t,a)?1:Object.is(d(e,t),d(i,a))?-1:0}function Rb(e,t,i,a){return!(void 0===t||!t.has(a)||(e.attach(i,t.get(a)),t.delete(a),0))}function gE(e,t,i,a,d){if(Rb(e,t,a,i(a,d)))e.updateValue(a,d);else{const p=e.create(a,d);e.attach(a,p)}}function _E(e,t,i,a){const d=new Set;for(let p=t;p<=i;p++)d.add(a(p,e.at(p)));return d}class vE{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const i=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(i)?(this.kvMap.set(t,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,i){if(this.kvMap.has(t)){let a=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const d=this._vMap;for(;d.has(a);)a=d.get(a);d.set(a,i)}else this.kvMap.set(t,i)}forEach(t){for(let[i,a]of this.kvMap)if(t(a,i),void 0!==this._vMap){const d=this._vMap;for(;d.has(a);)a=d.get(a),t(a,i)}}}function bE(e,t,i){vc("NgControlFlow");const a=bn(),d=Xa(),p=Pb(a,li+e);if(ys(a,d,t)){const E=M(null);try{if(nn(p,0),-1!==t){const I=Fb(a[Yn],li+t),ie=Vp(p,I.tView.ssrId);xt(p,qe(a,I,i,{dehydratedView:ie}),0,Rt(I,ie))}}finally{M(E)}}else{const E=It(p,0);void 0!==E&&(E[Pr]=i)}}class aS{constructor(t,i,a){this.lContainer=t,this.$implicit=i,this.$index=a}get $count(){return this.lContainer.length-Eo}}function yE(e,t){return t}class cS{constructor(t,i,a){this.hasEmptyBlock=t,this.trackByFn=i,this.liveCollection=a}}function EE(e,t,i,a,d,p,v,E,I,ie,De,We,St){vc("NgControlFlow");const Bt=void 0!==I,on=bn(),Sn=E?v.bind(on[co][Pr]):v,Jn=new cS(Bt,Sn);on[li+e]=Jn,$p(e+1,t,i,a,d,p),Bt&&$p(e+2,I,ie,De,We,St)}class dS extends oS{constructor(t,i,a){super(),this.lContainer=t,this.hostLView=i,this.templateTNode=a,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Eo}at(t){return this.getLView(t)[Pr].$implicit}attach(t,i){const a=i[To];this.needsIndexUpdate||=t!==this.length,xt(this.lContainer,i,t,Rt(this.templateTNode,a))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function uS(e,t){return wd(e,t)}(this.lContainer,t)}create(t,i){const a=Vp(this.lContainer,this.templateTNode.tView.ssrId);return qe(this.hostLView,this.templateTNode,new aS(this.lContainer,i,t),{dehydratedView:a})}destroy(t){_u(t[Yn],t)}updateValue(t,i){this.getLView(t)[Pr].$implicit=i}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Pr].$index=t}getLView(t){return function fS(e,t){return It(e,t)}(this.lContainer,t)}}function CE(e){const t=M(null),i=ps();try{const a=bn(),d=a[Yn],p=a[i];if(void 0===p.liveCollection){const E=i+1,I=Pb(a,E),ie=Fb(d,E);p.liveCollection=new dS(I,a,ie)}else p.liveCollection.reset();const v=p.liveCollection;if(function sS(e,t,i){let a,d,p=0,v=e.length-1;if(Array.isArray(t)){let E=t.length-1;for(;p<=v&&p<=E;){const I=e.at(p),ie=t[p],De=Ob(p,I,p,ie,i);if(0!==De){De<0&&e.updateValue(p,ie),p++;continue}const We=e.at(v),St=t[E],Bt=Ob(v,We,E,St,i);if(0!==Bt){Bt<0&&e.updateValue(v,St),v--,E--;continue}const on=i(p,I),Sn=i(v,We),Jn=i(p,ie);if(Object.is(Jn,Sn)){const ci=i(E,St);Object.is(ci,on)?(e.swap(p,v),e.updateValue(v,St),E--,v--):e.move(v,p),e.updateValue(p,ie),p++}else if(a??=new vE,d??=_E(e,p,v,i),Rb(e,a,p,Jn))e.updateValue(p,ie),p++,v++;else if(d.has(Jn))a.set(on,e.detach(p)),v--;else{const ci=e.create(p,t[p]);e.attach(p,ci),p++,v++}}for(;p<=E;)gE(e,a,i,p,t[p]),p++}else if(null!=t){const E=t[Symbol.iterator]();let I=E.next();for(;!I.done&&p<=v;){const ie=e.at(p),De=I.value,We=Ob(p,ie,p,De,i);if(0!==We)We<0&&e.updateValue(p,De),p++,I=E.next();else{a??=new vE,d??=_E(e,p,v,i);const St=i(p,De);if(Rb(e,a,p,St))e.updateValue(p,De),p++,v++,I=E.next();else if(d.has(St)){const Bt=i(p,ie);a.set(Bt,e.detach(p)),v--}else e.attach(p,e.create(p,De)),p++,v++,I=E.next()}}for(;!I.done;)gE(e,a,i,e.length,I.value),I=E.next()}for(;p<=v;)e.destroy(e.detach(v--));a?.forEach(E=>{e.destroy(E)})}(v,e,p.trackByFn),v.updateIndexes(),p.hasEmptyBlock){const E=Xa(),I=0===v.length;if(ys(a,E,I)){const ie=i+2,De=Pb(a,ie);if(I){const We=Fb(d,ie),St=Vp(De,We.tView.ssrId);xt(De,qe(a,We,void 0,{dehydratedView:St}),0,Rt(We,St))}else nn(De,0)}}}finally{M(t)}}function Pb(e,t){return e[t]}function Fb(e,t){return za(e,t)}function fv(e,t,i,a){const d=bn(),p=pr(),v=li+e,E=d[Ti],I=p.firstCreatePass?function hS(e,t,i,a,d,p){const v=t.consts,I=Xl(t,e,2,a,dl(v,d));return q(t,i,I,dl(v,p)),null!==I.attrs&&J_(I,I.attrs,!1),null!==I.mergedAttrs&&J_(I,I.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,I),I}(v,p,d,t,i,a):p.data[v],ie=DE(p,d,I,E,t,e);d[v]=ie;const De=Dc(I);return Vs(I,!0),Mp(E,ie,I),!qg(I)&&rc()&&Sd(p,d,ie,I),0===function vm(){return Wi.lFrame.elementDepthCount}()&&Wo(ie,d),function Fd(){Wi.lFrame.elementDepthCount++}(),De&&(th(p,d,I),eh(p,I,d)),null!==a&&nh(d,I),fv}function hv(){let e=Vr();id()?Bu():(e=e.parent,Vs(e,!1));const t=e;(function Lu(e){return Wi.skipHydrationRootTNode===e})(t)&&function hs(){Wi.skipHydrationRootTNode=null}(),function bm(){Wi.lFrame.elementDepthCount--}();const i=pr();return i.firstCreatePass&&(od(i,e),qo(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function sd(e){return!!(8&e.flags)}(t)&&Mb(i,t,bn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Cm(e){return!!(16&e.flags)}(t)&&Mb(i,t,bn(),t.stylesWithoutHost,!1),hv}function Lb(e,t,i,a){return fv(e,t,i,a),hv(),Lb}let DE=(e,t,i,a,d,p)=>(na(!0),zf(a,d,Eh()));function pS(e,t,i,a,d,p){const v=t[To],E=!v||nc()||qg(i)||kf(v,p);if(na(E),E)return zf(a,d,Eh());const I=K_(v,e,t,i);return ep(v,p)&&vd(v,p,I.nextSibling),v&&(Ph(i)||ff(I))&&al(i)&&(function fl(e){Wi.skipHydrationRootTNode=e}(i),ks(I)),I}function pv(e,t,i){const a=bn(),d=pr(),p=e+li,v=d.firstCreatePass?function gS(e,t,i,a,d){const p=t.consts,v=dl(p,a),E=Xl(t,e,8,"ng-container",v);return null!==v&&J_(E,v,!0),q(t,i,E,dl(p,d)),null!==t.queries&&t.queries.elementStart(t,E),E}(p,d,a,t,i):d.data[p];Vs(v,!0);const E=xE(d,a,v,e);return a[p]=E,rc()&&Sd(d,a,E,v),Wo(E,a),Dc(v)&&(th(d,a,v),eh(d,v,a)),null!=i&&nh(a,v),pv}function mv(){let e=Vr();const t=pr();return id()?Bu():(e=e.parent,Vs(e,!1)),t.firstCreatePass&&(od(t,e),qo(e)&&t.queries.elementEnd(e)),mv}function Nb(e,t,i){return pv(e,t,i),mv(),Nb}let xE=(e,t,i,a)=>(na(!0),yp(t[Ti],""));function _S(e,t,i,a){let d;const p=t[To],v=!p||nc()||qg(i);if(na(v),v)return yp(t[Ti],"");const E=K_(p,e,t,i),I=function Jm(e,t){const i=e.data;let a=i[Qh]?.[t]??null;return null===a&&i[gd]?.[t]&&(a=If(e,t)),a}(p,a);return vd(p,a,E),d=X_(I,E),d}function wE(){return bn()}function Bb(e,t,i){const a=bn();return ys(a,Xa(),t)&&aa(pr(),ao(),a,e,t,a[Ti],i,!0),Bb}function Vb(e,t,i){const a=bn();if(ys(a,Xa(),t)){const p=pr(),v=ao();aa(p,v,a,e,t,H(Vd(p.data),v,a),i,!0)}return Vb}const dh=void 0;var yS=["en",[["a","p"],["AM","PM"],dh],[["AM","PM"],dh,dh],[["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"]],dh,[["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"]],dh,[["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}",dh,"{1} 'at' {0}",dh],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function bS(e){const i=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===a?1:5}];let om={};function ES(e,t,i){"string"!=typeof t&&(i=t,t=e[sm.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),om[t]=e,i&&(om[t][sm.ExtraData]=i)}function jb(e){const t=function CS(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=TE(t);if(i)return i;const a=t.split("-")[0];if(i=TE(a),i)return i;if("en"===a)return yS;throw new mn(701,!1)}function SE(e){return jb(e)[sm.PluralCase]}function TE(e){return e in om||(om[e]=Xn.ng&&Xn.ng.common&&Xn.ng.common.locales&&Xn.ng.common.locales[e]),om[e]}var sm=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(sm||{});const am="en-US";let ME=am;function NE(e,t,i){const a=e[Ti];switch(i){case Node.COMMENT_NODE:return yp(a,t);case Node.TEXT_NODE:return bp(a,t);case Node.ELEMENT_NODE:return zf(a,t,null)}}let a_=(e,t,i,a)=>(na(!0),NE(e,i,a));function LS(e,t,i,a){return na(!0),NE(e,i,a)}function Hb(e,t,i,a){const d=bn(),p=pr(),v=Vr();return zb(p,d,d[Ti],v,e,t,a),Hb}function Gb(e,t){const i=Vr(),a=bn(),d=pr();return zb(d,a,H(Vd(d.data),i,a),i,e,t),Gb}function zb(e,t,i,a,d,p,v){const E=Dc(a),ie=e.firstCreatePass&&L(e),De=t[Pr],We=D(t);let St=!0;if(3&a.type||v){const Sn=es(a,t),Jn=v?v(Sn):Sn,ci=We.length,Hn=v?Kr=>v(Gr(Kr[a.index])):a.index;let er=null;if(!v&&E&&(er=function vT(e,t,i,a){const d=e.cleanup;if(null!=d)for(let p=0;p<d.length-1;p+=2){const v=d[p];if(v===i&&d[p+1]===a){const E=t[Bs],I=d[p+2];return E.length>I?E[I]:null}"string"==typeof v&&(p+=2)}return null}(e,t,d,a.index)),null!==er)(er.__ngLastListenerFn__||er).__ngNextListenerFn__=p,er.__ngLastListenerFn__=p,St=!1;else{p=tC(a,t,De,p,!1);const Kr=i.listen(Jn,d,p);We.push(p,Kr),ie&&ie.push(d,Hn,ci,ci+1)}}else p=tC(a,t,De,p,!1);const Bt=a.outputs;let on;if(St&&null!==Bt&&(on=Bt[d])){const Sn=on.length;if(Sn)for(let Jn=0;Jn<Sn;Jn+=2){const Co=t[on[Jn]][on[Jn+1]].subscribe(p),zs=We.length;We.push(p,Co),ie&&ie.push(d,a.index,zs,-(zs+1))}}}function eC(e,t,i,a){const d=M(null);try{return Zs(6,t,i),!1!==i(a)}catch(p){return K(e,p),!1}finally{Zs(7,t,i),M(d)}}function tC(e,t,i,a,d){return function p(v){if(v===Function)return a;Wr(e.componentOffset>-1?eo(e.index,t):t);let I=eC(t,i,a,v),ie=p.__ngNextListenerFn__;for(;ie;)I=eC(t,i,ie,v)&&I,ie=ie.__ngNextListenerFn__;return d&&!1===I&&v.preventDefault(),I}}function nC(e=1){return function Tl(e){return(Wi.lFrame.contextLView=function Sc(e,t){for(;e>0;)t=t[Pl],e--;return t}(e,Wi.lFrame.contextLView))[Pr]}(e)}function bT(e,t){let i=null;const a=function en(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(!(1&i))return t[i+1]}return null}(e);for(let d=0;d<t.length;d++){const p=t[d];if("*"!==p){if(null===a?wt(e,p,!0):$n(a,p))return d}else i=d}return i}function iC(e){const t=bn()[co][Qr];if(!t.projection){const a=t.projection=function Dl(e,t){const i=[];for(let a=0;a<e;a++)i.push(t);return i}(e?e.length:1,null),d=a.slice();let p=t.child;for(;null!==p;){const v=e?bT(p,e):0;null!==v&&(d[v]?d[v].projectionNext=p:a[v]=p,d[v]=p),p=p.next}}}function rC(e,t=0,i){const a=bn(),d=pr(),p=Xl(d,li+e,16,null,i||null);null===p.projection&&(p.projection=t),Bu(),(!a[To]||nc())&&32&~p.flags&&function Sp(e,t,i){Tp(t[Ti],0,t,i,Wf(e,i,t),yu(i.parent||t[Qr],i,t))}(d,a,p)}function Wb(e,t,i){return yv(e,"",t,"",i),Wb}function yv(e,t,i,a,d){const p=bn(),v=Qp(p,t,i,a);return v!==ur&&aa(pr(),ao(),p,e,v,p[Ti],d,!1),yv}function Kb(e,t,i,a,d,p,v){const E=bn(),I=Jp(E,t,i,a,d,p);return I!==ur&&aa(pr(),ao(),E,e,I,E[Ti],v,!1),Kb}function Xb(e,t,i,a,d,p,v,E,I){const ie=bn(),De=function Zp(e,t,i,a,d,p,v,E){const ie=rv(e,ea(),i,d,v);return Sl(3),ie?t+Mi(i)+a+Mi(d)+p+Mi(v)+E:ur}(ie,t,i,a,d,p,v,E);return De!==ur&&aa(pr(),ao(),ie,e,De,ie[Ti],I,!1),Xb}function uC(e,t,i,a){!function t0(e,t,i,a){const d=pr();if(d.firstCreatePass){const p=Vr();n0(d,new Jy(t,i,a),p.index),function y1(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(i.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(d,e),!(2&~i)&&(d.staticContentQueries=!0)}return qy(d,bn(),i)}(e,t,i,a)}function fC(e,t,i){!function e0(e,t,i){const a=pr();return a.firstCreatePass&&(n0(a,new Jy(e,t,i),-1),!(2&~t)&&(a.staticViewQueries=!0)),qy(a,bn(),t)}(e,t,i)}function hC(e){const t=bn(),i=pr(),a=Us();Ya(a+1);const d=sb(i,a);if(e.dirty&&function Ru(e){return!(4&~e[Ci])}(t)===!(2&~d.metadata.flags)){if(null===d.matches)e.reset([]);else{const p=r0(t,a);e.reset(p,df),e.notifyOnChanges()}return!0}return!1}function pC(){return function ob(e,t){return e[rs].queries[t].queryList}(bn(),Us())}function mC(e){return tc(function Vu(){return Wi.lFrame.contextLView}(),li+e)}function wC(e,t=""){const i=bn(),a=pr(),d=e+li,p=a.firstCreatePass?Xl(a,d,1,t,null):a.data[d],v=SC(a,i,p,t,e);i[d]=v,rc()&&Sd(a,i,v,p),Vs(p,!1)}let SC=(e,t,i,a,d)=>(na(!0),bp(t[Ti],a));function RT(e,t,i,a,d){const p=t[To],v=!p||nc()||qg(i)||kf(p,d);return na(v),v?bp(t[Ti],a):K_(p,e,t,i)}function Yb(e){return Ev("",e,""),Yb}function Ev(e,t,i){const a=bn(),d=Qp(a,e,t,i);return d!==ur&&Q(a,ps(),d),Ev}function Qb(e,t,i,a,d){const p=bn(),v=Jp(p,e,t,i,a,d);return v!==ur&&Q(p,ps(),v),Qb}function Jb(e,t,i){s0(t)&&(t=t());const a=bn();return ys(a,Xa(),t)&&aa(pr(),ao(),a,e,t,a[Ti],i,!1),Jb}function PC(e,t){const i=s0(e);return i&&e.set(t),i}function Zb(e,t){const i=bn(),a=pr(),d=Vr();return zb(a,i,i[Ti],d,e,t),Zb}function qb(e,t,i,a,d){if(e=Re(e),Array.isArray(e))for(let p=0;p<e.length;p++)qb(e[p],t,i,a,d);else{const p=pr(),v=bn(),E=Vr();let I=Xs(e)?e:Re(e.provide);const ie=ka(e),De=1048575&E.providerIndexes,We=E.directiveStart,St=E.providerIndexes>>20;if(Xs(e)||!e.multi){const Bt=new Ac(ie,d,_c),on=ty(I,t,d?De:De+St,We);-1===on?(Xd(Pa(E,v),p,I),ey(p,e,t.length),t.push(I),E.directiveStart++,E.directiveEnd++,d&&(E.providerIndexes+=1048576),i.push(Bt),v.push(Bt)):(i[on]=Bt,v[on]=Bt)}else{const Bt=ty(I,t,De+St,We),on=ty(I,t,De,De+St),Jn=on>=0&&i[on];if(d&&!Jn||!d&&!(Bt>=0&&i[Bt])){Xd(Pa(E,v),p,I);const ci=function BT(e,t,i,a,d){const p=new Ac(e,i,_c);return p.multi=[],p.index=t,p.componentProviders=0,FC(p,d,a&&!i),p}(d?NT:LT,i.length,d,a,ie);!d&&Jn&&(i[on].providerFactory=ci),ey(p,e,t.length,0),t.push(I),E.directiveStart++,E.directiveEnd++,d&&(E.providerIndexes+=1048576),i.push(ci),v.push(ci)}else ey(p,e,Bt>-1?Bt:on,FC(i[d?on:Bt],ie,!d&&a));!d&&a&&Jn&&i[on].componentProviders++}}}function ey(e,t,i,a){const d=Xs(t),p=function Cc(e){return!!e.useClass}(t);if(d||p){const I=(p?Re(t.useClass):t).prototype.ngOnDestroy;if(I){const ie=e.destroyHooks||(e.destroyHooks=[]);if(!d&&t.multi){const De=ie.indexOf(i);-1===De?ie.push(i,[a,I]):ie[De+1].push(a,I)}else ie.push(i,I)}}}function FC(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function ty(e,t,i,a){for(let d=i;d<a;d++)if(t[d]===e)return d;return-1}function LT(e,t,i,a){return ny(this.multi,[])}function NT(e,t,i,a){const d=this.multi;let p;if(this.providerFactory){const v=this.providerFactory.componentProviders,E=Fa(i,i[Yn],this.providerFactory.index,a);p=E.slice(0,v),ny(d,p);for(let I=v;I<E.length;I++)p.push(E[I])}else p=[],ny(d,p);return p}function ny(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function LC(e,t=[]){return i=>{i.providersResolver=(a,d)=>function FT(e,t,i){const a=pr();if(a.firstCreatePass){const d=va(e);qb(i,a.data,a.blueprint,d,!0),qb(t,a.data,a.blueprint,d,!1)}}(a,d?d(e):e,t)}}let VT=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const a=un(0,i.type),d=a.length>0?fb([a],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,d)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Oi({token:e,providedIn:"environment",factory:()=>new e(ro(Ms))})}return e})();function NC(e){vc("NgStandalone"),e.getStandaloneInjector=t=>t.get(VT).getOrCreateStandaloneInjector(e)}function VC(e,t,i){const a=js()+e,d=bn();return d[a]===ur?Jc(d,a,i?t.call(i):t()):function Zg(e,t){return e[t]}(d,a)}function jC(e,t,i,a){return GC(bn(),js(),e,t,i,a)}function UC(e,t,i,a,d){return zC(bn(),js(),e,t,i,a,d)}function $C(e,t,i,a,d,p){return WC(bn(),js(),e,t,i,a,d,p)}function HC(e,t,i,a,d,p,v){return function KC(e,t,i,a,d,p,v,E,I){const ie=t+i;return function Zl(e,t,i,a,d,p){const v=ah(e,t,i,a);return ah(e,t+2,d,p)||v}(e,ie,d,p,v,E)?Jc(e,ie+4,I?a.call(I,d,p,v,E):a(d,p,v,E)):d_(e,ie+4)}(bn(),js(),e,t,i,a,d,p,v)}function d_(e,t){const i=e[t];return i===ur?void 0:i}function GC(e,t,i,a,d,p){const v=t+i;return ys(e,v,d)?Jc(e,v+1,p?a.call(p,d):a(d)):d_(e,v+1)}function zC(e,t,i,a,d,p,v){const E=t+i;return ah(e,E,d,p)?Jc(e,E+2,v?a.call(v,d,p):a(d,p)):d_(e,E+2)}function WC(e,t,i,a,d,p,v,E){const I=t+i;return rv(e,I,d,p,v)?Jc(e,I+3,E?a.call(E,d,p,v):a(d,p,v)):d_(e,I+3)}function YC(e,t){const i=pr();let a;const d=e+li;i.firstCreatePass?(a=function KT(e,t){if(t)for(let i=t.length-1;i>=0;i--){const a=t[i];if(e===a.name)return a}}(t,i.pipeRegistry),i.data[d]=a,a.onDestroy&&(i.destroyHooks??=[]).push(d,a.onDestroy)):a=i.data[d];const p=a.factory||(a.factory=So(a.type)),E=O(_c);try{const I=zd(!1),ie=p();return zd(I),function DT(e,t,i,a){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=a}(i,bn(),d,ie),ie}finally{O(E)}}function QC(e,t,i){const a=e+li,d=bn(),p=tc(d,a);return u_(d,a)?GC(d,js(),t,p.transform,i,p):p.transform(i)}function JC(e,t,i,a){const d=e+li,p=bn(),v=tc(p,d);return u_(p,d)?zC(p,js(),t,v.transform,i,a,v):v.transform(i,a)}function ZC(e,t,i,a,d){const p=e+li,v=bn(),E=tc(v,p);return u_(v,p)?WC(v,js(),t,E.transform,i,a,d,E):E.transform(i,a,d)}function u_(e,t){return e[Yn].data[t].pure}function qC(e,t){return Ql(e,t)}class mD{constructor(t){this.full=t;const i=t.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}}let gD=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Oi({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const ED=new Je(""),CD=new Je("");let ly,$M=(()=>{class e{constructor(i,a,d){this._ngZone=i,this.registry=a,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ly||(function HM(e){ly=e}(d),d.addToWindow(a)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{As.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb()}});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(a=>!a.updateCb||!a.updateCb(i)||(clearTimeout(a.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,a,d){let p=-1;a&&a>0&&(p=setTimeout(()=>{this._callbacks=this._callbacks.filter(v=>v.timeoutId!==p),i()},a)),this._callbacks.push({doneCb:i,timeoutId:p,updateCb:d})}whenStable(i,a,d){if(d&&!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(i,a,d),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,a,d){return[]}static#e=this.\u0275fac=function(a){return new(a||e)(ro(As),ro(DD),ro(CD))};static#t=this.\u0275prov=Oi({token:e,factory:e.\u0275fac})}return e})(),DD=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,a){this._applications.set(i,a)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,a=!0){return ly?.findTestabilityInTree(this,i,a)??null}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Oi({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function cy(e){return!!e&&"function"==typeof e.then}function xD(e){return!!e&&"function"==typeof e.subscribe}const wD=new Je("");let dy=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,a)=>{this.resolve=i,this.reject=a}),this.appInits=Ri(wD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const d of this.appInits){const p=d();if(cy(p))i.push(p);else if(xD(p)){const v=new Promise((E,I)=>{p.subscribe({complete:E,error:I})});i.push(v)}}const a=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{a()}).catch(d=>{this.reject(d)}),0===i.length&&a(),this.initialized=!0}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Oi({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const uy=new Je("");function MD(e,t){return Array.isArray(t)?t.reduce(MD,e):{...e,...t}}let Sv,Mu=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ri(tu),this.afterRenderEffectManager=Ri(Kg),this.externalTestViews=new Set,this.beforeRender=new gn.B,this.afterTick=new gn.B,this.componentTypes=[],this.components=[],this.isStable=Ri(Up).hasPendingTasks.pipe((0,xi.T)(i=>!i)),this._injector=Ri(Ms)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,a){const d=i instanceof Iy;if(!this._injector.get(dy).done)throw!d&&si(i),new mn(405,!1);let v;v=d?i:this._injector.get(Wg).resolveComponentFactory(i),this.componentTypes.push(v.componentType);const E=function GM(e){return e.isBoundToModule}(v)?void 0:this._injector.get(sh),ie=v.create(ya.NULL,[],a||v.selector,E),De=ie.location.nativeElement,We=ie.injector.get(ED,null);return We?.registerApplication(De),ie.onDestroy(()=>{this.detachView(ie.hostView),wv(this.components,ie),We?.unregisterApplication(De)}),this._loadComponent(ie),ie}tick(){this._tick(!0)}_tick(i){if(this._runningTick)throw new mn(101,!1);const a=M(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(i)}catch(d){this.internalErrorHandler(d)}finally{this.afterTick.next(),this._runningTick=!1,M(a)}}detectChangesInAttachedViews(i){let a=0;const d=this.afterRenderEffectManager;for(;;){if(a===Zn)throw new mn(103,!1);if(i){const p=0===a;this.beforeRender.next(p);for(let{_lView:v,notifyErrorHandler:E}of this._views)zM(v,p,E)}if(a++,d.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:p})=>fy(p))&&(d.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:p})=>fy(p))))break}}attachView(i){const a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){const a=i;wv(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const a=this._injector.get(uy,[]);[...this._bootstrapListeners,...a].forEach(d=>d(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>wv(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new mn(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Oi({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wv(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function ID(e){Sv??=new WeakMap;const t=Sv.get(e);if(t)return t;const i=e.isStable.pipe((0,ti.$)(a=>a)).toPromise().then(()=>{});return Sv.set(e,i),e.onDestroy(()=>Sv?.delete(e)),i}function zM(e,t,i){!t&&!fy(e)||function WM(e,t,i){let a;i?(a=0,e[Ci]|=1024):a=64&e[Ci]?0:1,fi(e,t,a)}(e,i,t)}function fy(e){return Tc(e)}class KM{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let XM=(()=>{class e{compileModuleSync(i){return new ub(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const a=this.compileModuleSync(i),p=ss(Vi(i).declarations).reduce((v,E)=>{const I=bi(E);return I&&v.push(new Qg(I)),v},[]);return new KM(a,p)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Oi({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JM=(()=>{class e{constructor(){this.zone=Ri(As),this.applicationRef=Ri(Mu)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Oi({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ZM(){const e=Ri(As),t=Ri(Qa);return i=>e.runOutsideAngular(()=>t.handleError(i))}let eI=(()=>{class e{constructor(){this.subscription=new pi.yU,this.initialized=!1,this.zone=Ri(As),this.pendingTasks=Ri(Up)}initialize(){if(this.initialized)return;this.initialized=!0;let i=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(i=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{As.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{As.assertInAngularZone(),i??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(a){return new(a||e)};static#t=this.\u0275prov=Oi({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Tv=new Je("",{providedIn:"root",factory:()=>Ri(Tv,Hi.Optional|Hi.SkipSelf)||function tI(){return typeof $localize<"u"&&$localize.locale||am}()}),nI=new Je("",{providedIn:"root",factory:()=>"USD"}),hy=new Je("");let RD=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,a){const d=function Yx(e="zone.js",t){return"noop"===e?new Ly:"zone.js"===e?new As(t):e}(a?.ngZone,function OD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:a?.ngZoneEventCoalescing,runCoalescing:a?.ngZoneRunCoalescing}));return d.run(()=>{const p=function $1(e,t,i){return new db(e,t,i)}(i.moduleType,this.injector,function AD(e){return[{provide:As,useFactory:e},{provide:Ws,multi:!0,useFactory:()=>{const t=Ri(JM,{optional:!0});return()=>t.initialize()}},{provide:Ws,multi:!0,useFactory:()=>{const t=Ri(eI);return()=>{t.initialize()}}},{provide:tu,useFactory:ZM}]}(()=>d)),v=p.injector.get(Qa,null);return d.runOutsideAngular(()=>{const E=d.onError.subscribe({next:I=>{v.handleError(I)}});p.onDestroy(()=>{wv(this._modules,p),E.unsubscribe()})}),function TD(e,t,i){try{const a=i();return cy(a)?a.catch(d=>{throw t.runOutsideAngular(()=>e.handleError(d)),d}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}(v,d,()=>{const E=p.injector.get(dy);return E.runInitializers(),E.donePromise.then(()=>(function IE(e){"string"==typeof e&&(ME=e.toLowerCase().replace(/_/g,"-"))}(p.injector.get(Tv,am)||am),this._moduleDoBootstrap(p),p))})})}bootstrapModule(i,a=[]){const d=MD({},a);return function QM(e,t,i){const a=new ub(i);return Promise.resolve(a)}(0,0,i).then(p=>this.bootstrapModuleFactory(p,d))}_moduleDoBootstrap(i){const a=i.injector.get(Mu);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(d=>a.bootstrap(d));else{if(!i.instance.ngDoBootstrap)throw new mn(-403,!1);i.instance.ngDoBootstrap(a)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new mn(404,!1);this._modules.slice().forEach(a=>a.destroy()),this._destroyListeners.forEach(a=>a());const i=this._injector.get(hy,null);i&&(i.forEach(a=>a()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(a){return new(a||e)(ro(ya))};static#t=this.\u0275prov=Oi({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Iu=null;const PD=new Je("");function FD(e,t,i=[]){const a=`Platform: ${t}`,d=new Je(a);return(p=[])=>{let v=py();if(!v||v.injector.get(PD,!1)){const E=[...i,...p,{provide:d,useValue:!0}];e?e(E):function rI(e){if(Iu&&!Iu.get(PD,!1))throw new mn(400,!1);(function SD(){!function Ot(e){qt=e}(()=>{throw new mn(600,!1)})})(),Iu=e;const t=e.get(RD);(function ND(e){e.get(bf,null)?.forEach(i=>i())})(e)}(function LD(e=[],t){return ya.create({name:t,providers:[{provide:Ta,useValue:"platform"},{provide:hy,useValue:new Set([()=>Iu=null])},...e]})}(E,a))}return function oI(e){const t=py();if(!t)throw new mn(401,!1);return t}()}}function py(){return Iu?.get(RD)??null}function aI(){}let VD=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=lI}return e})();function lI(e){return function cI(e,t,i){if(al(e)&&!i){const a=eo(e.index,t);return new la(a,a)}return 47&e.type?new la(t[co],t):null}(Vr(),bn(),!(16&~e))}class HD{constructor(){}supports(t){return iv(t)}create(t){return new pI(t)}}const hI=(e,t)=>t;class pI{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||hI}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,a=this._removalsHead,d=0,p=null;for(;i||a;){const v=!a||i&&i.currentIndex<zD(a,d,p)?i:a,E=zD(v,d,p),I=v.currentIndex;if(v===a)d--,a=a._nextRemoved;else if(i=i._next,null==v.previousIndex)d++;else{p||(p=[]);const ie=E-d,De=I-d;if(ie!=De){for(let St=0;St<ie;St++){const Bt=St<p.length?p[St]:p[St]=0,on=Bt+St;De<=on&&on<ie&&(p[St]=Bt+1)}p[v.previousIndex]=De-ie}}E!==I&&t(v,E,I)}}forEachPreviousItem(t){let i;for(i=this._previousItHead;null!==i;i=i._nextPrevious)t(i)}forEachAddedItem(t){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)t(i)}forEachMovedItem(t){let i;for(i=this._movesHead;null!==i;i=i._nextMoved)t(i)}forEachRemovedItem(t){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)t(i)}forEachIdentityChange(t){let i;for(i=this._identityChangesHead;null!==i;i=i._nextIdentityChange)t(i)}diff(t){if(null==t&&(t=[]),!iv(t))throw new mn(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let d,p,v,i=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(let E=0;E<this.length;E++)p=t[E],v=this._trackByFn(E,p),null!==i&&Object.is(i.trackById,v)?(a&&(i=this._verifyReinsertion(i,p,v,E)),Object.is(i.item,p)||this._addIdentityChange(i,p)):(i=this._mismatch(i,p,v,E),a=!0),i=i._next}else d=0,function W1(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[Symbol.iterator]();let a;for(;!(a=i.next()).done;)t(a.value)}}(t,E=>{v=this._trackByFn(d,E),null!==i&&Object.is(i.trackById,v)?(a&&(i=this._verifyReinsertion(i,E,v,d)),Object.is(i.item,E)||this._addIdentityChange(i,E)):(i=this._mismatch(i,E,v,d),a=!0),i=i._next,d++}),this.length=d;return this._truncate(i),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,i,a,d){let p;return null===t?p=this._itTail:(p=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,p,d)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(a,d))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,p,d)):t=this._addAfter(new mI(i,a),p,d),t}_verifyReinsertion(t,i,a,d){let p=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==p?t=this._reinsertAfter(p,t._prev,d):t.currentIndex!=d&&(t.currentIndex=d,this._addToMoves(t,d)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}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,i,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const d=t._prevRemoved,p=t._nextRemoved;return null===d?this._removalsHead=p:d._nextRemoved=p,null===p?this._removalsTail=d:p._prevRemoved=d,this._insertAfter(t,i,a),this._addToMoves(t,a),t}_moveAfter(t,i,a){return this._unlink(t),this._insertAfter(t,i,a),this._addToMoves(t,a),t}_addAfter(t,i,a){return this._insertAfter(t,i,a),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,a){const d=null===i?this._itHead:i._next;return t._next=d,t._prev=i,null===d?this._itTail=t:d._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new GD),this._linkedRecords.put(t),t.currentIndex=a,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,a=t._next;return null===i?this._itHead=a:i._next=a,null===a?this._itTail=i:a._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new GD),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,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class mI{constructor(t,i){this.item=t,this.trackById=i,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 gI{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,i){let a;for(a=this._head;null!==a;a=a._nextDup)if((null===i||i<=a.currentIndex)&&Object.is(a.trackById,t))return a;return null}remove(t){const i=t._prevDup,a=t._nextDup;return null===i?this._head=a:i._nextDup=a,null===a?this._tail=i:a._prevDup=i,null===this._head}}class GD{constructor(){this.map=new Map}put(t){const i=t.trackById;let a=this.map.get(i);a||(a=new gI,this.map.set(i,a)),a.add(t)}get(t,i){const d=this.map.get(t);return d?d.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function zD(e,t,i){const a=e.previousIndex;if(null===a)return a;let d=0;return i&&a<i.length&&(d=i[a]),a+t+d}class WD{constructor(){}supports(t){return t instanceof Map||hb(t)}create(){return new _I}}class _I{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let i;for(i=this._mapHead;null!==i;i=i._next)t(i)}forEachPreviousItem(t){let i;for(i=this._previousMapHead;null!==i;i=i._nextPrevious)t(i)}forEachChangedItem(t){let i;for(i=this._changesHead;null!==i;i=i._nextChanged)t(i)}forEachAddedItem(t){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)t(i)}forEachRemovedItem(t){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)t(i)}diff(t){if(t){if(!(t instanceof Map||hb(t)))throw new mn(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(t,(a,d)=>{if(i&&i.key===d)this._maybeAddToChanges(i,a),this._appendAfter=i,i=i._next;else{const p=this._getOrCreateRecordForKey(d,a);i=this._insertBeforeOrAppend(i,p)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let a=i;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const a=t._prev;return i._next=t,i._prev=a,t._prev=i,a&&(a._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const d=this._records.get(t);this._maybeAddToChanges(d,i);const p=d._prev,v=d._next;return p&&(p._next=v),v&&(v._prev=p),d._next=null,d._prev=null,d}const a=new vI(t);return this._records.set(t,a),a.currentValue=i,this._addToAdditions(a),a}_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,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,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,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(a=>i(t[a],a))}}class vI{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 KD(){return new by([new HD])}let by=(()=>{class e{static#e=this.\u0275prov=Oi({token:e,providedIn:"root",factory:KD});constructor(i){this.factories=i}static create(i,a){if(null!=a){const d=a.factories.slice();i=i.concat(d)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||KD()),deps:[[e,new _o,new ls]]}}find(i){const a=this.factories.find(d=>d.supports(i));if(null!=a)return a;throw new mn(901,!1)}}return e})();function XD(){return new yy([new WD])}let yy=(()=>{class e{static#e=this.\u0275prov=Oi({token:e,providedIn:"root",factory:XD});constructor(i){this.factories=i}static create(i,a){if(a){const d=a.factories.slice();i=i.concat(d)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||XD()),deps:[[e,new _o,new ls]]}}find(i){const a=this.factories.find(d=>d.supports(i));if(a)return a;throw new mn(901,!1)}}return e})();const EI=FD(null,"core",[]);let CI=(()=>{class e{constructor(i){}static#e=this.\u0275fac=function(a){return new(a||e)(ro(Mu))};static#t=this.\u0275mod=Gn({type:e});static#n=this.\u0275inj=Or({})}return e})(),lx=!1,cx=!1;function jI(){return Nt([{provide:Af,useFactory:()=>{let e=!0;return kl()&&(e=!!Ri(iu,{optional:!0})?.get(Jh,null)),e&&vc("NgHydration"),e}},{provide:Ws,useValue:()=>{cx=!!Ri(du,{optional:!0}),kl()&&Ri(Af)&&(function $I(){const e=Gl();let t;for(const i of e.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===Sf){t=i;break}if(!t)throw new mn(-507,!1)}(),function BI(){lx||(lx=!0,function I_(){Xm=M_}(),function mS(){DE=pS}(),function PT(){SC=RT}(),function vS(){xE=_S}(),function Q1(){x0=Y1}(),function p1(){Xy=h1,qv=f1}(),function Nx(){My=Lx}(),function Fg(){Pp=Fp}(),function NS(){a_=LS}())}())},multi:!0},{provide:cu,useFactory:()=>kl()&&Ri(Af)},{provide:uy,useFactory:()=>{if(kl()&&Ri(Af)){const e=Ri(Mu);return Ri(ya),()=>{(function VI(e,t){return ID(e)})(e).then(()=>{!function wx(e){const t=e._views;for(const i of t){const a=xo(i);null!==a&&null!==a[sr]&&(Jo(a)?W_(a):(W_(a[sr]),Sy(a)))}}(e)})}}return()=>{}},multi:!0}])}function ZI(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function qI(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function tk(e){const t=M(null);try{return e()}finally{M(t)}}const nk=new Je("",{providedIn:"root",factory:()=>Ri(ik)});let ik=(()=>{class e{static#e=this.\u0275prov=Oi({token:e,providedIn:"root",factory:()=>new rk})}return e})();class rk{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Ri(Up),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),null===this.taskId){const i=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(i),this.taskId=null})}}enqueue(t){const i=t.creationZone;this.queues.has(i)||this.queues.set(i,new Set);const a=this.queues.get(i);a.has(t)||(this.queuedEffectCount++,a.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,i]of this.queues)null===t?this.flushQueue(i):t.run(()=>this.flushQueue(i))}flushQueue(t){for(const i of t)t.delete(i),this.queuedEffectCount--,i.run()}}class ok{constructor(t,i,a,d,p,v){this.scheduler=t,this.effectFn=i,this.creationZone=a,this.injector=p,this.watcher=function et(e,t,i){const a=Object.create(Fn);i&&(a.consumerAllowSignalWrites=!0),a.fn=e,a.schedule=t;const d=I=>{a.cleanupFn=I};return a.ref={notify:()=>J(a),run:()=>{if(null===a.fn)return;if(function V(){return F}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(a.dirty=!1,a.hasRun&&!ot(a))return;a.hasRun=!0;const I=Se(a);try{a.cleanupFn(),a.cleanupFn=Pt,a.fn(d)}finally{Ne(a,I)}},cleanup:()=>a.cleanupFn(),destroy:()=>function v(I){(function p(I){return null===I.fn&&null===I.schedule})(I)||(dt(I),I.cleanupFn(),I.fn=null,I.schedule=null,I.cleanupFn=Pt)}(a),[A]:a},a.ref}(E=>this.runEffect(E),()=>this.schedule(),v),this.unregisterOnDestroy=d?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(i){this.injector.get(Qa,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function gx(e,t){vc("NgSignals"),!t?.injector&&k();const i=t?.injector??Ri(ya),a=!0!==t?.manualCleanup?i.get(Ja):null,d=new ok(i.get(nk),e,typeof Zone>"u"?null:Zone.current,a,i,t?.allowSignalWrites??!1),p=i.get(VD,null,{optional:!0});return p&&8&p._lView[Ci]?(p._lView[$a]??=[]).push(d.watcher.notify):d.watcher.notify(),d}function sk(e){const t=bi(e);if(!t)return null;const i=new Qg(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(_t,ge,f)=>{"use strict";f.d(ge,{$R:()=>wi,BC:()=>ki,Fm:()=>ns,J3:()=>Et,JD:()=>xs,MJ:()=>ni,Q0:()=>Ds,R_:()=>qr,X1:()=>Ks,YN:()=>Go,YS:()=>Hr,Yp:()=>Ho,ZU:()=>gn,Zm:()=>T,cV:()=>$t,cb:()=>Zi,cz:()=>J,gE:()=>at,hs:()=>Ni,j4:()=>Xe,k0:()=>ot,kq:()=>B,l_:()=>be,me:()=>G,ok:()=>cs,qT:()=>Li,tU:()=>Ss,vO:()=>pi,vS:()=>Mi,ze:()=>Ls});var n=f(4438),r=f(177),y=f(2806),F=f(7468),g=f(6354);let A=(()=>{class fe{constructor(Y,Ve){this._renderer=Y,this._elementRef=Ve,this.onChange=Ct=>{},this.onTouched=()=>{}}setProperty(Y,Ve){this._renderer.setProperty(this._elementRef.nativeElement,Y,Ve)}registerOnTouched(Y){this.onTouched=Y}registerOnChange(Y){this.onChange=Y}setDisabledState(Y){this.setProperty("disabled",Y)}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(n.sFG),n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:fe})}return fe})(),M=(()=>{class fe extends A{static#e=this.\u0275fac=(()=>{let Y;return function(Ct){return(Y||(Y=n.xGo(fe)))(Ct||fe)}})();static#t=this.\u0275dir=n.FsC({type:fe,features:[n.Vt3]})}return fe})();const B=new n.nKC(""),V={provide:B,useExisting:(0,n.Rfq)(()=>T),multi:!0};let T=(()=>{class fe extends M{writeValue(Y){this.setProperty("checked",Y)}static#e=this.\u0275fac=(()=>{let Y;return function(Ct){return(Y||(Y=n.xGo(fe)))(Ct||fe)}})();static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Ve,Ct){1&Ve&&n.bIt("change",function(j){return Ct.onChange(j.target.checked)})("blur",function(){return Ct.onTouched()})},features:[n.Jv_([V]),n.Vt3]})}return fe})();const N={provide:B,useExisting:(0,n.Rfq)(()=>G),multi:!0},b=new n.nKC("");let G=(()=>{class fe extends A{constructor(Y,Ve,Ct){super(Y,Ve),this._compositionMode=Ct,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function U(){const fe=(0,r.QT)()?(0,r.QT)().getUserAgent():"";return/android (\d+)/.test(fe.toLowerCase())}())}writeValue(Y){this.setProperty("value",Y??"")}_handleInput(Y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Y)}_compositionStart(){this._composing=!0}_compositionEnd(Y){this._composing=!1,this._compositionMode&&this.onChange(Y)}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(b,8))};static#t=this.\u0275dir=n.FsC({type:fe,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(Ve,Ct){1&Ve&&n.bIt("input",function(j){return Ct._handleInput(j.target.value)})("blur",function(){return Ct.onTouched()})("compositionstart",function(){return Ct._compositionStart()})("compositionend",function(j){return Ct._compositionEnd(j.target.value)})},features:[n.Jv_([N]),n.Vt3]})}return fe})();function R(fe){return null==fe||("string"==typeof fe||Array.isArray(fe))&&0===fe.length}function ce(fe){return null!=fe&&"number"==typeof fe.length}const J=new n.nKC(""),Se=new n.nKC(""),Ne=/^(?=.{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 ot{static min(Ee){return function dt(fe){return Ee=>{if(R(Ee.value)||R(fe))return null;const Y=parseFloat(Ee.value);return!isNaN(Y)&&Y<fe?{min:{min:fe,actual:Ee.value}}:null}}(Ee)}static max(Ee){return function He(fe){return Ee=>{if(R(Ee.value)||R(fe))return null;const Y=parseFloat(Ee.value);return!isNaN(Y)&&Y>fe?{max:{max:fe,actual:Ee.value}}:null}}(Ee)}static required(Ee){return Ge(Ee)}static requiredTrue(Ee){return function se(fe){return!0===fe.value?null:{required:!0}}(Ee)}static email(Ee){return function Ae(fe){return R(fe.value)||Ne.test(fe.value)?null:{email:!0}}(Ee)}static minLength(Ee){return function we(fe){return Ee=>R(Ee.value)||!ce(Ee.value)?null:Ee.value.length<fe?{minlength:{requiredLength:fe,actualLength:Ee.value.length}}:null}(Ee)}static maxLength(Ee){return ue(Ee)}static pattern(Ee){return Oe(Ee)}static nullValidator(Ee){return null}static compose(Ee){return nt(Ee)}static composeAsync(Ee){return tt(Ee)}}function Ge(fe){return R(fe.value)?{required:!0}:null}function ue(fe){return Ee=>ce(Ee.value)&&Ee.value.length>fe?{maxlength:{requiredLength:fe,actualLength:Ee.value.length}}:null}function Oe(fe){if(!fe)return Ye;let Ee,Y;return"string"==typeof fe?(Y="","^"!==fe.charAt(0)&&(Y+="^"),Y+=fe,"$"!==fe.charAt(fe.length-1)&&(Y+="$"),Ee=new RegExp(Y)):(Y=fe.toString(),Ee=fe),Ve=>{if(R(Ve.value))return null;const Ct=Ve.value;return Ee.test(Ct)?null:{pattern:{requiredPattern:Y,actualValue:Ct}}}}function Ye(fe){return null}function yt(fe){return null!=fe}function Yt(fe){return(0,n.jNT)(fe)?(0,y.H)(fe):fe}function Vt(fe){let Ee={};return fe.forEach(Y=>{Ee=null!=Y?{...Ee,...Y}:Ee}),0===Object.keys(Ee).length?null:Ee}function qt(fe,Ee){return Ee.map(Y=>Y(fe))}function Ot(fe){return fe.map(Ee=>function jt(fe){return!fe.validate}(Ee)?Ee:Y=>Ee.validate(Y))}function nt(fe){if(!fe)return null;const Ee=fe.filter(yt);return 0==Ee.length?null:function(Y){return Vt(qt(Y,Ee))}}function ut(fe){return null!=fe?nt(Ot(fe)):null}function tt(fe){if(!fe)return null;const Ee=fe.filter(yt);return 0==Ee.length?null:function(Y){const Ve=qt(Y,Ee).map(Yt);return(0,F.p)(Ve).pipe((0,g.T)(Vt))}}function rt(fe){return null!=fe?tt(Ot(fe)):null}function Ft(fe,Ee){return null===fe?[Ee]:Array.isArray(fe)?[...fe,Ee]:[fe,Ee]}function Le(fe){return fe._rawValidators}function pe(fe){return fe._rawAsyncValidators}function Pe(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function et(fe,Ee){return Array.isArray(fe)?fe.includes(Ee):fe===Ee}function Pt(fe,Ee){const Y=Pe(Ee);return Pe(fe).forEach(Ct=>{et(Y,Ct)||Y.push(Ct)}),Y}function Fn(fe,Ee){return Pe(Ee).filter(Y=>!et(fe,Y))}class ei{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(Ee){this._rawValidators=Ee||[],this._composedValidatorFn=ut(this._rawValidators)}_setAsyncValidators(Ee){this._rawAsyncValidators=Ee||[],this._composedAsyncValidatorFn=rt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ee){this._onDestroyCallbacks.push(Ee)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ee=>Ee()),this._onDestroyCallbacks=[]}reset(Ee=void 0){this.control&&this.control.reset(Ee)}hasError(Ee,Y){return!!this.control&&this.control.hasError(Ee,Y)}getError(Ee,Y){return this.control?this.control.getError(Ee,Y):null}}class gn extends ei{get formDirective(){return null}get path(){return null}}class pi extends ei{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class hi{constructor(Ee){this._cd=Ee}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 ki=(()=>{class fe extends hi{constructor(Y){super(Y)}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(pi,2))};static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ve,Ct){2&Ve&&n.AVh("ng-untouched",Ct.isUntouched)("ng-touched",Ct.isTouched)("ng-pristine",Ct.isPristine)("ng-dirty",Ct.isDirty)("ng-valid",Ct.isValid)("ng-invalid",Ct.isInvalid)("ng-pending",Ct.isPending)},features:[n.Vt3]})}return fe})(),Zi=(()=>{class fe extends hi{constructor(Y){super(Y)}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(gn,10))};static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ve,Ct){2&Ve&&n.AVh("ng-untouched",Ct.isUntouched)("ng-touched",Ct.isTouched)("ng-pristine",Ct.isPristine)("ng-dirty",Ct.isDirty)("ng-valid",Ct.isValid)("ng-invalid",Ct.isInvalid)("ng-pending",Ct.isPending)("ng-submitted",Ct.isSubmitted)},features:[n.Vt3]})}return fe})();const Ii="VALID",qn="INVALID",Qi="PENDING",sn="DISABLED";function oi(fe){return(Re(fe)?fe.validators:fe)||null}function Cn(fe,Ee){return(Re(Ee)?Ee.asyncValidators:fe)||null}function Re(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function Be(fe,Ee,Y){const Ve=fe.controls;if(!(Ee?Object.keys(Ve):Ve).length)throw new n.wOt(1e3,"");if(!Ve[Y])throw new n.wOt(1001,"")}function ee(fe,Ee,Y){fe._forEachChild((Ve,Ct)=>{if(void 0===Y[Ct])throw new n.wOt(1002,"")})}class ye{constructor(Ee,Y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Ee),this._assignAsyncValidators(Y)}get validator(){return this._composedValidatorFn}set validator(Ee){this._rawValidators=this._composedValidatorFn=Ee}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ee){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ee}get parent(){return this._parent}get valid(){return this.status===Ii}get invalid(){return this.status===qn}get pending(){return this.status==Qi}get disabled(){return this.status===sn}get enabled(){return this.status!==sn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ee){this._assignValidators(Ee)}setAsyncValidators(Ee){this._assignAsyncValidators(Ee)}addValidators(Ee){this.setValidators(Pt(Ee,this._rawValidators))}addAsyncValidators(Ee){this.setAsyncValidators(Pt(Ee,this._rawAsyncValidators))}removeValidators(Ee){this.setValidators(Fn(Ee,this._rawValidators))}removeAsyncValidators(Ee){this.setAsyncValidators(Fn(Ee,this._rawAsyncValidators))}hasValidator(Ee){return et(this._rawValidators,Ee)}hasAsyncValidator(Ee){return et(this._rawAsyncValidators,Ee)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ee={}){this.touched=!0,this._parent&&!Ee.onlySelf&&this._parent.markAsTouched(Ee)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ee=>Ee.markAllAsTouched())}markAsUntouched(Ee={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Y=>{Y.markAsUntouched({onlySelf:!0})}),this._parent&&!Ee.onlySelf&&this._parent._updateTouched(Ee)}markAsDirty(Ee={}){this.pristine=!1,this._parent&&!Ee.onlySelf&&this._parent.markAsDirty(Ee)}markAsPristine(Ee={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Y=>{Y.markAsPristine({onlySelf:!0})}),this._parent&&!Ee.onlySelf&&this._parent._updatePristine(Ee)}markAsPending(Ee={}){this.status=Qi,!1!==Ee.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ee.onlySelf&&this._parent.markAsPending(Ee)}disable(Ee={}){const Y=this._parentMarkedDirty(Ee.onlySelf);this.status=sn,this.errors=null,this._forEachChild(Ve=>{Ve.disable({...Ee,onlySelf:!0})}),this._updateValue(),!1!==Ee.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ee,skipPristineCheck:Y}),this._onDisabledChange.forEach(Ve=>Ve(!0))}enable(Ee={}){const Y=this._parentMarkedDirty(Ee.onlySelf);this.status=Ii,this._forEachChild(Ve=>{Ve.enable({...Ee,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ee.emitEvent}),this._updateAncestors({...Ee,skipPristineCheck:Y}),this._onDisabledChange.forEach(Ve=>Ve(!1))}_updateAncestors(Ee){this._parent&&!Ee.onlySelf&&(this._parent.updateValueAndValidity(Ee),Ee.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ee){this._parent=Ee}getRawValue(){return this.value}updateValueAndValidity(Ee={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ii||this.status===Qi)&&this._runAsyncValidator(Ee.emitEvent)),!1!==Ee.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ee.onlySelf&&this._parent.updateValueAndValidity(Ee)}_updateTreeValidity(Ee={emitEvent:!0}){this._forEachChild(Y=>Y._updateTreeValidity(Ee)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ee.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?sn:Ii}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ee){if(this.asyncValidator){this.status=Qi,this._hasOwnPendingAsyncValidator=!0;const Y=Yt(this.asyncValidator(this));this._asyncValidationSubscription=Y.subscribe(Ve=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ve,{emitEvent:Ee})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ee,Y={}){this.errors=Ee,this._updateControlsErrors(!1!==Y.emitEvent)}get(Ee){let Y=Ee;return null==Y||(Array.isArray(Y)||(Y=Y.split(".")),0===Y.length)?null:Y.reduce((Ve,Ct)=>Ve&&Ve._find(Ct),this)}getError(Ee,Y){const Ve=Y?this.get(Y):this;return Ve&&Ve.errors?Ve.errors[Ee]:null}hasError(Ee,Y){return!!this.getError(Ee,Y)}get root(){let Ee=this;for(;Ee._parent;)Ee=Ee._parent;return Ee}_updateControlsErrors(Ee){this.status=this._calculateStatus(),Ee&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ee)}_initObservables(){this.valueChanges=new n.bkB,this.statusChanges=new n.bkB}_calculateStatus(){return this._allControlsDisabled()?sn:this.errors?qn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Qi)?Qi:this._anyControlsHaveStatus(qn)?qn:Ii}_anyControlsHaveStatus(Ee){return this._anyControls(Y=>Y.status===Ee)}_anyControlsDirty(){return this._anyControls(Ee=>Ee.dirty)}_anyControlsTouched(){return this._anyControls(Ee=>Ee.touched)}_updatePristine(Ee={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ee.onlySelf&&this._parent._updatePristine(Ee)}_updateTouched(Ee={}){this.touched=this._anyControlsTouched(),this._parent&&!Ee.onlySelf&&this._parent._updateTouched(Ee)}_registerOnCollectionChange(Ee){this._onCollectionChange=Ee}_setUpdateStrategy(Ee){Re(Ee)&&null!=Ee.updateOn&&(this._updateOn=Ee.updateOn)}_parentMarkedDirty(Ee){return!Ee&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ee){return null}_assignValidators(Ee){this._rawValidators=Array.isArray(Ee)?Ee.slice():Ee,this._composedValidatorFn=function Zt(fe){return Array.isArray(fe)?ut(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(Ee){this._rawAsyncValidators=Array.isArray(Ee)?Ee.slice():Ee,this._composedAsyncValidatorFn=function Dn(fe){return Array.isArray(fe)?rt(fe):fe||null}(this._rawAsyncValidators)}}class at extends ye{constructor(Ee,Y,Ve){super(oi(Y),Cn(Ve,Y)),this.controls=Ee,this._initObservables(),this._setUpdateStrategy(Y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ee,Y){return this.controls[Ee]?this.controls[Ee]:(this.controls[Ee]=Y,Y.setParent(this),Y._registerOnCollectionChange(this._onCollectionChange),Y)}addControl(Ee,Y,Ve={}){this.registerControl(Ee,Y),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}removeControl(Ee,Y={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),delete this.controls[Ee],this.updateValueAndValidity({emitEvent:Y.emitEvent}),this._onCollectionChange()}setControl(Ee,Y,Ve={}){this.controls[Ee]&&this.controls[Ee]._registerOnCollectionChange(()=>{}),delete this.controls[Ee],Y&&this.registerControl(Ee,Y),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}contains(Ee){return this.controls.hasOwnProperty(Ee)&&this.controls[Ee].enabled}setValue(Ee,Y={}){ee(this,0,Ee),Object.keys(Ee).forEach(Ve=>{Be(this,!0,Ve),this.controls[Ve].setValue(Ee[Ve],{onlySelf:!0,emitEvent:Y.emitEvent})}),this.updateValueAndValidity(Y)}patchValue(Ee,Y={}){null!=Ee&&(Object.keys(Ee).forEach(Ve=>{const Ct=this.controls[Ve];Ct&&Ct.patchValue(Ee[Ve],{onlySelf:!0,emitEvent:Y.emitEvent})}),this.updateValueAndValidity(Y))}reset(Ee={},Y={}){this._forEachChild((Ve,Ct)=>{Ve.reset(Ee?Ee[Ct]:null,{onlySelf:!0,emitEvent:Y.emitEvent})}),this._updatePristine(Y),this._updateTouched(Y),this.updateValueAndValidity(Y)}getRawValue(){return this._reduceChildren({},(Ee,Y,Ve)=>(Ee[Ve]=Y.getRawValue(),Ee))}_syncPendingControls(){let Ee=this._reduceChildren(!1,(Y,Ve)=>!!Ve._syncPendingControls()||Y);return Ee&&this.updateValueAndValidity({onlySelf:!0}),Ee}_forEachChild(Ee){Object.keys(this.controls).forEach(Y=>{const Ve=this.controls[Y];Ve&&Ee(Ve,Y)})}_setUpControls(){this._forEachChild(Ee=>{Ee.setParent(this),Ee._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ee){for(const[Y,Ve]of Object.entries(this.controls))if(this.contains(Y)&&Ee(Ve))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Y,Ve,Ct)=>((Ve.enabled||this.disabled)&&(Y[Ct]=Ve.value),Y))}_reduceChildren(Ee,Y){let Ve=Ee;return this._forEachChild((Ct,_i)=>{Ve=Y(Ve,Ct,_i)}),Ve}_allControlsDisabled(){for(const Ee of Object.keys(this.controls))if(this.controls[Ee].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ee){return this.controls.hasOwnProperty(Ee)?this.controls[Ee]:null}}const Et=at;class Qe extends at{}const wn=new n.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>lt}),lt="always";function kt(fe,Ee){return[...Ee.path,fe]}function re(fe,Ee,Y=lt){An(fe,Ee),Ee.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===Y)&&Ee.valueAccessor.setDisabledState?.(fe.disabled),function Bi(fe,Ee){Ee.valueAccessor.registerOnChange(Y=>{fe._pendingValue=Y,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&vr(fe,Ee)})}(fe,Ee),function Oi(fe,Ee){const Y=(Ve,Ct)=>{Ee.valueAccessor.writeValue(Ve),Ct&&Ee.viewToModelUpdate(Ve)};fe.registerOnChange(Y),Ee._registerOnDestroy(()=>{fe._unregisterOnChange(Y)})}(fe,Ee),function gr(fe,Ee){Ee.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&vr(fe,Ee),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,Ee),function Ut(fe,Ee){if(Ee.valueAccessor.setDisabledState){const Y=Ve=>{Ee.valueAccessor.setDisabledState(Ve)};fe.registerOnDisabledChange(Y),Ee._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(Y)})}}(fe,Ee)}function ze(fe,Ee,Y=!0){const Ve=()=>{};Ee.valueAccessor&&(Ee.valueAccessor.registerOnChange(Ve),Ee.valueAccessor.registerOnTouched(Ve)),Di(fe,Ee),fe&&(Ee._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function bt(fe,Ee){fe.forEach(Y=>{Y.registerOnValidatorChange&&Y.registerOnValidatorChange(Ee)})}function An(fe,Ee){const Y=Le(fe);null!==Ee.validator?fe.setValidators(Ft(Y,Ee.validator)):"function"==typeof Y&&fe.setValidators([Y]);const Ve=pe(fe);null!==Ee.asyncValidator?fe.setAsyncValidators(Ft(Ve,Ee.asyncValidator)):"function"==typeof Ve&&fe.setAsyncValidators([Ve]);const Ct=()=>fe.updateValueAndValidity();bt(Ee._rawValidators,Ct),bt(Ee._rawAsyncValidators,Ct)}function Di(fe,Ee){let Y=!1;if(null!==fe){if(null!==Ee.validator){const Ct=Le(fe);if(Array.isArray(Ct)&&Ct.length>0){const _i=Ct.filter(j=>j!==Ee.validator);_i.length!==Ct.length&&(Y=!0,fe.setValidators(_i))}}if(null!==Ee.asyncValidator){const Ct=pe(fe);if(Array.isArray(Ct)&&Ct.length>0){const _i=Ct.filter(j=>j!==Ee.asyncValidator);_i.length!==Ct.length&&(Y=!0,fe.setAsyncValidators(_i))}}}const Ve=()=>{};return bt(Ee._rawValidators,Ve),bt(Ee._rawAsyncValidators,Ve),Y}function vr(fe,Ee){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),Ee.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function kr(fe,Ee){An(fe,Ee)}function Ce(fe,Ee){if(!fe.hasOwnProperty("model"))return!1;const Y=fe.model;return!!Y.isFirstChange()||!Object.is(Ee,Y.currentValue)}function Me(fe,Ee){fe._syncPendingControls(),Ee.forEach(Y=>{const Ve=Y.control;"submit"===Ve.updateOn&&Ve._pendingChange&&(Y.viewToModelUpdate(Ve._pendingValue),Ve._pendingChange=!1)})}function ne(fe,Ee){if(!Ee)return null;let Y,Ve,Ct;return Array.isArray(Ee),Ee.forEach(_i=>{_i.constructor===G?Y=_i:function le(fe){return Object.getPrototypeOf(fe.constructor)===M}(_i)?Ve=_i:Ct=_i}),Ct||Ve||Y||null}const Te={provide:gn,useExisting:(0,n.Rfq)(()=>$t)},ht=Promise.resolve();let $t=(()=>{class fe extends gn{constructor(Y,Ve,Ct){super(),this.callSetDisabledState=Ct,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.bkB,this.form=new at({},ut(Y),rt(Ve))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Y){ht.then(()=>{const Ve=this._findContainer(Y.path);Y.control=Ve.registerControl(Y.name,Y.control),re(Y.control,Y,this.callSetDisabledState),Y.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Y)})}getControl(Y){return this.form.get(Y.path)}removeControl(Y){ht.then(()=>{const Ve=this._findContainer(Y.path);Ve&&Ve.removeControl(Y.name),this._directives.delete(Y)})}addFormGroup(Y){ht.then(()=>{const Ve=this._findContainer(Y.path),Ct=new at({});kr(Ct,Y),Ve.registerControl(Y.name,Ct),Ct.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Y){ht.then(()=>{const Ve=this._findContainer(Y.path);Ve&&Ve.removeControl(Y.name)})}getFormGroup(Y){return this.form.get(Y.path)}updateModel(Y,Ve){ht.then(()=>{this.form.get(Y.path).setValue(Ve)})}setValue(Y){this.control.setValue(Y)}onSubmit(Y){return this.submitted=!0,Me(this.form,this._directives),this.ngSubmit.emit(Y),"dialog"===Y?.target?.method}onReset(){this.resetForm()}resetForm(Y=void 0){this.form.reset(Y),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Y){return Y.pop(),Y.length?this.form.get(Y):this.form}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(J,10),n.rXU(Se,10),n.rXU(wn,8))};static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ve,Ct){1&Ve&&n.bIt("submit",function(j){return Ct.onSubmit(j)})("reset",function(){return Ct.onReset()})},inputs:{options:[n.Mj6.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Jv_([Te]),n.Vt3]})}return fe})();function Kn(fe,Ee){const Y=fe.indexOf(Ee);Y>-1&&fe.splice(Y,1)}function Qn(fe){return"object"==typeof fe&&null!==fe&&2===Object.keys(fe).length&&"value"in fe&&"disabled"in fe}const ni=class extends ye{constructor(Ee=null,Y,Ve){super(oi(Y),Cn(Ve,Y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ee),this._setUpdateStrategy(Y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Re(Y)&&(Y.nonNullable||Y.initialValueIsDefault)&&(this.defaultValue=Qn(Ee)?Ee.value:Ee)}setValue(Ee,Y={}){this.value=this._pendingValue=Ee,this._onChange.length&&!1!==Y.emitModelToViewChange&&this._onChange.forEach(Ve=>Ve(this.value,!1!==Y.emitViewToModelChange)),this.updateValueAndValidity(Y)}patchValue(Ee,Y={}){this.setValue(Ee,Y)}reset(Ee=this.defaultValue,Y={}){this._applyFormState(Ee),this.markAsPristine(Y),this.markAsUntouched(Y),this.setValue(this.value,Y),this._pendingChange=!1}_updateValue(){}_anyControls(Ee){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ee){this._onChange.push(Ee)}_unregisterOnChange(Ee){Kn(this._onChange,Ee)}registerOnDisabledChange(Ee){this._onDisabledChange.push(Ee)}_unregisterOnDisabledChange(Ee){Kn(this._onDisabledChange,Ee)}_forEachChild(Ee){}_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(Ee){Qn(Ee)?(this.value=this._pendingValue=Ee.value,Ee.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ee}},Ni=ni;let rr=(()=>{class fe extends gn{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return kt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let Y;return function(Ct){return(Y||(Y=n.xGo(fe)))(Ct||fe)}})();static#t=this.\u0275dir=n.FsC({type:fe,features:[n.Vt3]})}return fe})();const po={provide:pi,useExisting:(0,n.Rfq)(()=>Mi)},no=Promise.resolve();let Mi=(()=>{class fe extends pi{constructor(Y,Ve,Ct,_i,j,x){super(),this._changeDetectorRef=j,this.callSetDisabledState=x,this.control=new ni,this._registered=!1,this.name="",this.update=new n.bkB,this._parent=Y,this._setValidators(Ve),this._setAsyncValidators(Ct),this.valueAccessor=ne(0,_i)}ngOnChanges(Y){if(this._checkForErrors(),!this._registered||"name"in Y){if(this._registered&&(this._checkName(),this.formDirective)){const Ve=Y.name.previousValue;this.formDirective.removeControl({name:Ve,path:this._getPath(Ve)})}this._setUpControl()}"isDisabled"in Y&&this._updateDisabled(Y),Ce(Y,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Y){this.viewModel=Y,this.update.emit(Y)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){re(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Y){no.then(()=>{this.control.setValue(Y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Y){const Ve=Y.isDisabled.currentValue,Ct=0!==Ve&&(0,n.L39)(Ve);no.then(()=>{Ct&&!this.control.disabled?this.control.disable():!Ct&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Y){return this._parent?kt(Y,this._parent):[Y]}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(gn,9),n.rXU(J,10),n.rXU(Se,10),n.rXU(B,10),n.rXU(n.gRc,8),n.rXU(wn,8))};static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[n.Mj6.None,"disabled","isDisabled"],model:[n.Mj6.None,"ngModel","model"],options:[n.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.Jv_([po]),n.Vt3,n.OA$]})}return fe})(),Li=(()=>{class fe{static#e=this.\u0275fac=function(Ve){return new(Ve||fe)};static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return fe})();const _n={provide:B,useExisting:(0,n.Rfq)(()=>Ds),multi:!0};let Ds=(()=>{class fe extends M{writeValue(Y){this.setProperty("value",Y??"")}registerOnChange(Y){this.onChange=Ve=>{Y(""==Ve?null:parseFloat(Ve))}}static#e=this.\u0275fac=(()=>{let Y;return function(Ct){return(Y||(Y=n.xGo(fe)))(Ct||fe)}})();static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ve,Ct){1&Ve&&n.bIt("input",function(j){return Ct.onChange(j.target.value)})("blur",function(){return Ct.onTouched()})},features:[n.Jv_([_n]),n.Vt3]})}return fe})();const Sa={provide:B,useExisting:(0,n.Rfq)(()=>ns),multi:!0};let Os=(()=>{class fe{constructor(){this._accessors=[]}add(Y,Ve){this._accessors.push([Y,Ve])}remove(Y){for(let Ve=this._accessors.length-1;Ve>=0;--Ve)if(this._accessors[Ve][1]===Y)return void this._accessors.splice(Ve,1)}select(Y){this._accessors.forEach(Ve=>{this._isSameGroup(Ve,Y)&&Ve[1]!==Y&&Ve[1].fireUncheck(Y.value)})}_isSameGroup(Y,Ve){return!!Y[0].control&&Y[0]._parent===Ve._control._parent&&Y[1].name===Ve.name}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)};static#t=this.\u0275prov=n.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})(),ns=(()=>{class fe extends M{constructor(Y,Ve,Ct,_i){super(Y,Ve),this._registry=Ct,this._injector=_i,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.WQX)(wn,{optional:!0})??lt}ngOnInit(){this._control=this._injector.get(pi),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(Y){this._state=Y===this.value,this.setProperty("checked",this._state)}registerOnChange(Y){this._fn=Y,this.onChange=()=>{Y(this.value),this._registry.select(this)}}setDisabledState(Y){(this.setDisabledStateFired||Y||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",Y),this.setDisabledStateFired=!0}fireUncheck(Y){this.writeValue(Y)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(Os),n.rXU(n.zZn))};static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Ve,Ct){1&Ve&&n.bIt("change",function(){return Ct.onChange()})("blur",function(){return Ct.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.Jv_([Sa]),n.Vt3]})}return fe})();const Ln=new n.nKC(""),O={provide:pi,useExisting:(0,n.Rfq)(()=>be)};let be=(()=>{class fe extends pi{set isDisabled(Y){}static#e=this._ngModelWarningSentOnce=!1;constructor(Y,Ve,Ct,_i,j){super(),this._ngModelWarningConfig=_i,this.callSetDisabledState=j,this.update=new n.bkB,this._ngModelWarningSent=!1,this._setValidators(Y),this._setAsyncValidators(Ve),this.valueAccessor=ne(0,Ct)}ngOnChanges(Y){if(this._isControlChanged(Y)){const Ve=Y.form.previousValue;Ve&&ze(Ve,this,!1),re(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ce(Y,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ze(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Y){this.viewModel=Y,this.update.emit(Y)}_isControlChanged(Y){return Y.hasOwnProperty("form")}static#t=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(J,10),n.rXU(Se,10),n.rXU(B,10),n.rXU(Ln,8),n.rXU(wn,8))};static#n=this.\u0275dir=n.FsC({type:fe,selectors:[["","formControl",""]],inputs:{form:[n.Mj6.None,"formControl","form"],isDisabled:[n.Mj6.None,"disabled","isDisabled"],model:[n.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.Jv_([O]),n.Vt3,n.OA$]})}return fe})();const ae={provide:gn,useExisting:(0,n.Rfq)(()=>Xe)};let Xe=(()=>{class fe extends gn{constructor(Y,Ve,Ct){super(),this.callSetDisabledState=Ct,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.bkB,this._setValidators(Y),this._setAsyncValidators(Ve)}ngOnChanges(Y){this._checkFormPresent(),Y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Di(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Y){const Ve=this.form.get(Y.path);return re(Ve,Y,this.callSetDisabledState),Ve.updateValueAndValidity({emitEvent:!1}),this.directives.push(Y),Ve}getControl(Y){return this.form.get(Y.path)}removeControl(Y){ze(Y.control||null,Y,!1),function Je(fe,Ee){const Y=fe.indexOf(Ee);Y>-1&&fe.splice(Y,1)}(this.directives,Y)}addFormGroup(Y){this._setUpFormContainer(Y)}removeFormGroup(Y){this._cleanUpFormContainer(Y)}getFormGroup(Y){return this.form.get(Y.path)}addFormArray(Y){this._setUpFormContainer(Y)}removeFormArray(Y){this._cleanUpFormContainer(Y)}getFormArray(Y){return this.form.get(Y.path)}updateModel(Y,Ve){this.form.get(Y.path).setValue(Ve)}onSubmit(Y){return this.submitted=!0,Me(this.form,this.directives),this.ngSubmit.emit(Y),"dialog"===Y?.target?.method}onReset(){this.resetForm()}resetForm(Y=void 0){this.form.reset(Y),this.submitted=!1}_updateDomValue(){this.directives.forEach(Y=>{const Ve=Y.control,Ct=this.form.get(Y.path);Ve!==Ct&&(ze(Ve||null,Y),(fe=>fe instanceof ni)(Ct)&&(re(Ct,Y,this.callSetDisabledState),Y.control=Ct))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Y){const Ve=this.form.get(Y.path);kr(Ve,Y),Ve.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Y){if(this.form){const Ve=this.form.get(Y.path);Ve&&function Or(fe,Ee){return Di(fe,Ee)}(Ve,Y)&&Ve.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){An(this.form,this),this._oldForm&&Di(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(J,10),n.rXU(Se,10),n.rXU(wn,8))};static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["","formGroup",""]],hostBindings:function(Ve,Ct){1&Ve&&n.bIt("submit",function(j){return Ct.onSubmit(j)})("reset",function(){return Ct.onReset()})},inputs:{form:[n.Mj6.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Jv_([ae]),n.Vt3,n.OA$]})}return fe})();const Ht={provide:gn,useExisting:(0,n.Rfq)(()=>wi)};let wi=(()=>{class fe extends rr{constructor(Y,Ve,Ct){super(),this.name=null,this._parent=Y,this._setValidators(Ve),this._setAsyncValidators(Ct)}_checkParentType(){mo(this._parent)}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(gn,13),n.rXU(J,10),n.rXU(Se,10))};static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["","formGroupName",""]],inputs:{name:[n.Mj6.None,"formGroupName","name"]},features:[n.Jv_([Ht]),n.Vt3]})}return fe})();const Nr={provide:gn,useExisting:(0,n.Rfq)(()=>io)};let io=(()=>{class fe extends gn{constructor(Y,Ve,Ct){super(),this.name=null,this._parent=Y,this._setValidators(Ve),this._setAsyncValidators(Ct)}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 kt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){mo(this._parent)}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(gn,13),n.rXU(J,10),n.rXU(Se,10))};static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["","formArrayName",""]],inputs:{name:[n.Mj6.None,"formArrayName","name"]},features:[n.Jv_([Nr]),n.Vt3]})}return fe})();function mo(fe){return!(fe instanceof wi||fe instanceof Xe||fe instanceof io)}const Ko={provide:pi,useExisting:(0,n.Rfq)(()=>xs)};let xs=(()=>{class fe extends pi{set isDisabled(Y){}static#e=this._ngModelWarningSentOnce=!1;constructor(Y,Ve,Ct,_i,j){super(),this._ngModelWarningConfig=j,this._added=!1,this.name=null,this.update=new n.bkB,this._ngModelWarningSent=!1,this._parent=Y,this._setValidators(Ve),this._setAsyncValidators(Ct),this.valueAccessor=ne(0,_i)}ngOnChanges(Y){this._added||this._setUpControl(),Ce(Y,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Y){this.viewModel=Y,this.update.emit(Y)}get path(){return kt(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}static#t=this.\u0275fac=function(Ve){return new(Ve||fe)(n.rXU(gn,13),n.rXU(J,10),n.rXU(Se,10),n.rXU(B,10),n.rXU(Ln,8))};static#n=this.\u0275dir=n.FsC({type:fe,selectors:[["","formControlName",""]],inputs:{name:[n.Mj6.None,"formControlName","name"],isDisabled:[n.Mj6.None,"disabled","isDisabled"],model:[n.Mj6.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.Jv_([Ko]),n.Vt3,n.OA$]})}return fe})();let wo=(()=>{class fe{constructor(){this._validator=Ye}ngOnChanges(Y){if(this.inputName in Y){const Ve=this.normalizeInput(Y[this.inputName].currentValue);this._enabled=this.enabled(Ve),this._validator=this._enabled?this.createValidator(Ve):Ye,this._onChange&&this._onChange()}}validate(Y){return this._validator(Y)}registerOnValidatorChange(Y){this._onChange=Y}enabled(Y){return null!=Y}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)};static#t=this.\u0275dir=n.FsC({type:fe,features:[n.OA$]})}return fe})();const So={provide:J,useExisting:(0,n.Rfq)(()=>Hr),multi:!0};let Hr=(()=>{class fe extends wo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.L39,this.createValidator=Y=>Ge}enabled(Y){return Y}static#e=this.\u0275fac=(()=>{let Y;return function(Ct){return(Y||(Y=n.xGo(fe)))(Ct||fe)}})();static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ve,Ct){2&Ve&&n.BMQ("required",Ct._enabled?"":null)},inputs:{required:"required"},features:[n.Jv_([So]),n.Vt3]})}return fe})();const ja={provide:J,useExisting:(0,n.Rfq)(()=>Ss),multi:!0};let Ss=(()=>{class fe extends wo{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Y=>function Xr(fe){return"number"==typeof fe?fe:parseInt(fe,10)}(Y),this.createValidator=Y=>ue(Y)}static#e=this.\u0275fac=(()=>{let Y;return function(Ct){return(Y||(Y=n.xGo(fe)))(Ct||fe)}})();static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Ve,Ct){2&Ve&&n.BMQ("maxlength",Ct._enabled?Ct.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.Jv_([ja]),n.Vt3]})}return fe})();const Yr={provide:J,useExisting:(0,n.Rfq)(()=>qr),multi:!0};let qr=(()=>{class fe extends wo{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=Y=>Y,this.createValidator=Y=>Oe(Y)}static#e=this.\u0275fac=(()=>{let Y;return function(Ct){return(Y||(Y=n.xGo(fe)))(Ct||fe)}})();static#t=this.\u0275dir=n.FsC({type:fe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(Ve,Ct){2&Ve&&n.BMQ("pattern",Ct._enabled?Ct.pattern:null)},inputs:{pattern:"pattern"},features:[n.Jv_([Yr]),n.Vt3]})}return fe})(),fa=(()=>{class fe{static#e=this.\u0275fac=function(Ve){return new(Ve||fe)};static#t=this.\u0275mod=n.$C({type:fe});static#n=this.\u0275inj=n.G2t({})}return fe})();class Ho extends ye{constructor(Ee,Y,Ve){super(oi(Y),Cn(Ve,Y)),this.controls=Ee,this._initObservables(),this._setUpdateStrategy(Y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ee){return this.controls[this._adjustIndex(Ee)]}push(Ee,Y={}){this.controls.push(Ee),this._registerControl(Ee),this.updateValueAndValidity({emitEvent:Y.emitEvent}),this._onCollectionChange()}insert(Ee,Y,Ve={}){this.controls.splice(Ee,0,Y),this._registerControl(Y),this.updateValueAndValidity({emitEvent:Ve.emitEvent})}removeAt(Ee,Y={}){let Ve=this._adjustIndex(Ee);Ve<0&&(Ve=0),this.controls[Ve]&&this.controls[Ve]._registerOnCollectionChange(()=>{}),this.controls.splice(Ve,1),this.updateValueAndValidity({emitEvent:Y.emitEvent})}setControl(Ee,Y,Ve={}){let Ct=this._adjustIndex(Ee);Ct<0&&(Ct=0),this.controls[Ct]&&this.controls[Ct]._registerOnCollectionChange(()=>{}),this.controls.splice(Ct,1),Y&&(this.controls.splice(Ct,0,Y),this._registerControl(Y)),this.updateValueAndValidity({emitEvent:Ve.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ee,Y={}){ee(this,0,Ee),Ee.forEach((Ve,Ct)=>{Be(this,!1,Ct),this.at(Ct).setValue(Ve,{onlySelf:!0,emitEvent:Y.emitEvent})}),this.updateValueAndValidity(Y)}patchValue(Ee,Y={}){null!=Ee&&(Ee.forEach((Ve,Ct)=>{this.at(Ct)&&this.at(Ct).patchValue(Ve,{onlySelf:!0,emitEvent:Y.emitEvent})}),this.updateValueAndValidity(Y))}reset(Ee=[],Y={}){this._forEachChild((Ve,Ct)=>{Ve.reset(Ee[Ct],{onlySelf:!0,emitEvent:Y.emitEvent})}),this._updatePristine(Y),this._updateTouched(Y),this.updateValueAndValidity(Y)}getRawValue(){return this.controls.map(Ee=>Ee.getRawValue())}clear(Ee={}){this.controls.length<1||(this._forEachChild(Y=>Y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ee.emitEvent}))}_adjustIndex(Ee){return Ee<0?Ee+this.length:Ee}_syncPendingControls(){let Ee=this.controls.reduce((Y,Ve)=>!!Ve._syncPendingControls()||Y,!1);return Ee&&this.updateValueAndValidity({onlySelf:!0}),Ee}_forEachChild(Ee){this.controls.forEach((Y,Ve)=>{Ee(Y,Ve)})}_updateValue(){this.value=this.controls.filter(Ee=>Ee.enabled||this.disabled).map(Ee=>Ee.value)}_anyControls(Ee){return this.controls.some(Y=>Y.enabled&&Ee(Y))}_setUpControls(){this._forEachChild(Ee=>this._registerControl(Ee))}_allControlsDisabled(){for(const Ee of this.controls)if(Ee.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ee){Ee.setParent(this),Ee._registerOnCollectionChange(this._onCollectionChange)}_find(Ee){return this.at(Ee)??null}}function ha(fe){return!!fe&&(void 0!==fe.asyncValidators||void 0!==fe.validators||void 0!==fe.updateOn)}let cs=(()=>{class fe{constructor(){this.useNonNullable=!1}get nonNullable(){const Y=new fe;return Y.useNonNullable=!0,Y}group(Y,Ve=null){const Ct=this._reduceControls(Y);let _i={};return ha(Ve)?_i=Ve:null!==Ve&&(_i.validators=Ve.validator,_i.asyncValidators=Ve.asyncValidator),new at(Ct,_i)}record(Y,Ve=null){const Ct=this._reduceControls(Y);return new Qe(Ct,Ve)}control(Y,Ve,Ct){let _i={};return this.useNonNullable?(ha(Ve)?_i=Ve:(_i.validators=Ve,_i.asyncValidators=Ct),new ni(Y,{..._i,nonNullable:!0})):new ni(Y,Ve,Ct)}array(Y,Ve,Ct){const _i=Y.map(j=>this._createControl(j));return new Ho(_i,Ve,Ct)}_reduceControls(Y){const Ve={};return Object.keys(Y).forEach(Ct=>{Ve[Ct]=this._createControl(Y[Ct])}),Ve}_createControl(Y){return Y instanceof ni||Y instanceof ye?Y:Array.isArray(Y)?this.control(Y[0],Y.length>1?Y[1]:null,Y.length>2?Y[2]:null):this.control(Y)}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)};static#t=this.\u0275prov=n.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})(),Ls=(()=>{class fe extends cs{group(Y,Ve=null){return super.group(Y,Ve)}control(Y,Ve,Ct){return super.control(Y,Ve,Ct)}array(Y,Ve,Ct){return super.array(Y,Ve,Ct)}static#e=this.\u0275fac=(()=>{let Y;return function(Ct){return(Y||(Y=n.xGo(fe)))(Ct||fe)}})();static#t=this.\u0275prov=n.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})(),Go=(()=>{class fe{static withConfig(Y){return{ngModule:fe,providers:[{provide:wn,useValue:Y.callSetDisabledState??lt}]}}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)};static#t=this.\u0275mod=n.$C({type:fe});static#n=this.\u0275inj=n.G2t({imports:[fa]})}return fe})(),Ks=(()=>{class fe{static withConfig(Y){return{ngModule:fe,providers:[{provide:Ln,useValue:Y.warnOnNgModelWithFormControl??"always"},{provide:wn,useValue:Y.callSetDisabledState??lt}]}}static#e=this.\u0275fac=function(Ve){return new(Ve||fe)};static#t=this.\u0275mod=n.$C({type:fe});static#n=this.\u0275inj=n.G2t({imports:[fa]})}return fe})()},4518:(_t,ge,f)=>{"use strict";f.d(ge,{jL:()=>Zi});var n=f(4438),r=f(6600),y=f(177),F=f(5478),g=f(7987);f(8617),f(6860),f(9969),f(8359),f(1413),f(9030),f(7786),f(7673),f(3726),f(7336),f(6939),f(9417),f(2102),f(9172),f(5558),f(6697),f(5964),f(6354),f(8141),f(3236),f(8793),f(9974),f(4360),f(5343),f(3703),f(1397),f(8750),f(1584),f(8203);const ti={provide:new n.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const mn=(0,n.WQX)(g.hJ);return()=>mn.scrollStrategies.reposition()}}),deps:[g.hJ],useFactory:function xi(mn){return()=>mn.scrollStrategies.reposition()}};let Zi=(()=>{class mn{static#e=this.\u0275fac=function(Ue){return new(Ue||mn)};static#t=this.\u0275mod=n.$C({type:mn});static#n=this.\u0275inj=n.G2t({providers:[ti],imports:[g.z_,r.Sy,r.yE,y.MD,F.Gj,r.Sy,r.yE]})}return mn})()},6600:(_t,ge,f)=>{"use strict";f.d(ge,{MJ:()=>ut,es:()=>ei,de:()=>tt,Ju:()=>Ot,yE:()=>se,Sy:()=>Zt,MI:()=>qn,Ej:()=>at,pZ:()=>En,xW:()=>Le,X0:()=>Vt,jb:()=>sn,TL:()=>oi});var n=f(4438),r=f(8617),y=f(8203),g=f(177),A=f(6860),M=f(4085),B=f(1413);const Ge=new n.nKC("mat-sanity-checks",{providedIn:"root",factory:function He(){return!0}});let se=(()=>{class Et{constructor(Qe,Mt,wn){this._sanityChecks=Mt,this._document=wn,this._hasDoneGlobalChecks=!1,Qe._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Qe){return!(0,A.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Qe])}static#e=this.\u0275fac=function(Mt){return new(Mt||Et)(n.KVO(r.Q_),n.KVO(Ge,8),n.KVO(g.qQ))};static#t=this.\u0275mod=n.$C({type:Et});static#n=this.\u0275inj=n.G2t({imports:[y.jI,y.jI]})}return Et})();class Vt{constructor(Dt,Qe,Mt,wn,lt){this._defaultMatcher=Dt,this.ngControl=Qe,this._parentFormGroup=Mt,this._parentForm=wn,this._stateChanges=lt,this.errorState=!1}updateErrorState(){const Dt=this.errorState,Qe=this._parentFormGroup||this._parentForm,Mt=this.matcher||this._defaultMatcher,wn=this.ngControl?this.ngControl.control:null,lt=Mt?.isErrorState(wn,Qe)??!1;lt!==Dt&&(this.errorState=lt,this._stateChanges.next())}}const Ot=new n.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function nt(){return(0,n.WQX)(n.xe9)}});class ut{constructor(){this._localeChanges=new B.B,this.localeChanges=this._localeChanges}getValidDateOrNull(Dt){return this.isDateInstance(Dt)&&this.isValid(Dt)?Dt:null}deserialize(Dt){return null==Dt||this.isDateInstance(Dt)&&this.isValid(Dt)?Dt:this.invalid()}setLocale(Dt){this.locale=Dt,this._localeChanges.next()}compareDate(Dt,Qe){return this.getYear(Dt)-this.getYear(Qe)||this.getMonth(Dt)-this.getMonth(Qe)||this.getDate(Dt)-this.getDate(Qe)}sameDate(Dt,Qe){if(Dt&&Qe){let Mt=this.isValid(Dt),wn=this.isValid(Qe);return Mt&&wn?!this.compareDate(Dt,Qe):Mt==wn}return Dt==Qe}clampDate(Dt,Qe,Mt){return Qe&&this.compareDate(Dt,Qe)<0?Qe:Mt&&this.compareDate(Dt,Mt)>0?Mt:Dt}}const tt=new n.nKC("mat-date-formats"),rt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Ft(Et,Dt){const Qe=Array(Et);for(let Mt=0;Mt<Et;Mt++)Qe[Mt]=Dt(Mt);return Qe}let Le=(()=>{class Et extends ut{constructor(Qe){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,n.WQX)(Ot,{optional:!0}),void 0!==Qe&&(this._matDateLocale=Qe),super.setLocale(this._matDateLocale)}getYear(Qe){return Qe.getFullYear()}getMonth(Qe){return Qe.getMonth()}getDate(Qe){return Qe.getDate()}getDayOfWeek(Qe){return Qe.getDay()}getMonthNames(Qe){const Mt=new Intl.DateTimeFormat(this.locale,{month:Qe,timeZone:"utc"});return Ft(12,wn=>this._format(Mt,new Date(2017,wn,1)))}getDateNames(){const Qe=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Ft(31,Mt=>this._format(Qe,new Date(2017,0,Mt+1)))}getDayOfWeekNames(Qe){const Mt=new Intl.DateTimeFormat(this.locale,{weekday:Qe,timeZone:"utc"});return Ft(7,wn=>this._format(Mt,new Date(2017,0,wn+1)))}getYearName(Qe){const Mt=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Mt,Qe)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Qe){return this.getDate(this._createDateWithOverflow(this.getYear(Qe),this.getMonth(Qe)+1,0))}clone(Qe){return new Date(Qe.getTime())}createDate(Qe,Mt,wn){let lt=this._createDateWithOverflow(Qe,Mt,wn);return lt.getMonth(),lt}today(){return new Date}parse(Qe,Mt){return"number"==typeof Qe?new Date(Qe):Qe?new Date(Date.parse(Qe)):null}format(Qe,Mt){if(!this.isValid(Qe))throw Error("NativeDateAdapter: Cannot format invalid date.");const wn=new Intl.DateTimeFormat(this.locale,{...Mt,timeZone:"utc"});return this._format(wn,Qe)}addCalendarYears(Qe,Mt){return this.addCalendarMonths(Qe,12*Mt)}addCalendarMonths(Qe,Mt){let wn=this._createDateWithOverflow(this.getYear(Qe),this.getMonth(Qe)+Mt,this.getDate(Qe));return this.getMonth(wn)!=((this.getMonth(Qe)+Mt)%12+12)%12&&(wn=this._createDateWithOverflow(this.getYear(wn),this.getMonth(wn),0)),wn}addCalendarDays(Qe,Mt){return this._createDateWithOverflow(this.getYear(Qe),this.getMonth(Qe),this.getDate(Qe)+Mt)}toIso8601(Qe){return[Qe.getUTCFullYear(),this._2digit(Qe.getUTCMonth()+1),this._2digit(Qe.getUTCDate())].join("-")}deserialize(Qe){if("string"==typeof Qe){if(!Qe)return null;if(rt.test(Qe)){let Mt=new Date(Qe);if(this.isValid(Mt))return Mt}}return super.deserialize(Qe)}isDateInstance(Qe){return Qe instanceof Date}isValid(Qe){return!isNaN(Qe.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Qe,Mt,wn){const lt=new Date;return lt.setFullYear(Qe,Mt,wn),lt.setHours(0,0,0,0),lt}_2digit(Qe){return("00"+Qe).slice(-2)}_format(Qe,Mt){const wn=new Date;return wn.setUTCFullYear(Mt.getFullYear(),Mt.getMonth(),Mt.getDate()),wn.setUTCHours(Mt.getHours(),Mt.getMinutes(),Mt.getSeconds(),Mt.getMilliseconds()),Qe.format(wn)}static#e=this.\u0275fac=function(Mt){return new(Mt||Et)(n.KVO(Ot,8))};static#t=this.\u0275prov=n.jDH({token:Et,factory:Et.\u0275fac})}return Et})(),ei=(()=>{class Et{isErrorState(Qe,Mt){return!!(Qe&&Qe.invalid&&(Qe.touched||Mt&&Mt.submitted))}static#e=this.\u0275fac=function(Mt){return new(Mt||Et)};static#t=this.\u0275prov=n.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"})}return Et})();var ti=function(Et){return Et[Et.FADING_IN=0]="FADING_IN",Et[Et.VISIBLE=1]="VISIBLE",Et[Et.FADING_OUT=2]="FADING_OUT",Et[Et.HIDDEN=3]="HIDDEN",Et}(ti||{});class ki{constructor(Dt,Qe,Mt,wn=!1){this._renderer=Dt,this.element=Qe,this.config=Mt,this._animationForciblyDisabledThroughCss=wn,this.state=ti.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const Zi=(0,A.BQ)({passive:!0,capture:!0});class mn{constructor(){this._events=new Map,this._delegateEventHandler=Dt=>{const Qe=(0,A.Fb)(Dt);Qe&&this._events.get(Dt.type)?.forEach((Mt,wn)=>{(wn===Qe||wn.contains(Qe))&&Mt.forEach(lt=>lt.handleEvent(Dt))})}}addHandler(Dt,Qe,Mt,wn){const lt=this._events.get(Qe);if(lt){const kt=lt.get(Mt);kt?kt.add(wn):lt.set(Mt,new Set([wn]))}else this._events.set(Qe,new Map([[Mt,new Set([wn])]])),Dt.runOutsideAngular(()=>{document.addEventListener(Qe,this._delegateEventHandler,Zi)})}removeHandler(Dt,Qe,Mt){const wn=this._events.get(Dt);if(!wn)return;const lt=wn.get(Qe);lt&&(lt.delete(Mt),0===lt.size&&wn.delete(Qe),0===wn.size&&(this._events.delete(Dt),document.removeEventListener(Dt,this._delegateEventHandler,Zi)))}}const an={enterDuration:225,exitDuration:150},Ue=(0,A.BQ)({passive:!0,capture:!0}),st=["mousedown","touchstart"],zt=["mouseup","mouseleave","touchend","touchcancel"];class Lt{static#e=this._eventManager=new mn;constructor(Dt,Qe,Mt,wn){this._target=Dt,this._ngZone=Qe,this._platform=wn,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,wn.isBrowser&&(this._containerElement=(0,M.i8)(Mt))}fadeInRipple(Dt,Qe,Mt={}){const wn=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),lt={...an,...Mt.animation};Mt.centered&&(Dt=wn.left+wn.width/2,Qe=wn.top+wn.height/2);const kt=Mt.radius||function fn(Et,Dt,Qe){const Mt=Math.max(Math.abs(Et-Qe.left),Math.abs(Et-Qe.right)),wn=Math.max(Math.abs(Dt-Qe.top),Math.abs(Dt-Qe.bottom));return Math.sqrt(Mt*Mt+wn*wn)}(Dt,Qe,wn),re=Dt-wn.left,ze=Qe-wn.top,bt=lt.enterDuration,Ut=document.createElement("div");Ut.classList.add("mat-ripple-element"),Ut.style.left=re-kt+"px",Ut.style.top=ze-kt+"px",Ut.style.height=2*kt+"px",Ut.style.width=2*kt+"px",null!=Mt.color&&(Ut.style.backgroundColor=Mt.color),Ut.style.transitionDuration=`${bt}ms`,this._containerElement.appendChild(Ut);const An=window.getComputedStyle(Ut),Bi=An.transitionDuration,gr="none"===An.transitionProperty||"0s"===Bi||"0s, 0s"===Bi||0===wn.width&&0===wn.height,vr=new ki(this,Ut,Mt,gr);Ut.style.transform="scale3d(1, 1, 1)",vr.state=ti.FADING_IN,Mt.persistent||(this._mostRecentTransientRipple=vr);let Oi=null;return!gr&&(bt||lt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const kr=()=>this._finishRippleTransition(vr),Or=()=>this._destroyRipple(vr);Ut.addEventListener("transitionend",kr),Ut.addEventListener("transitioncancel",Or),Oi={onTransitionEnd:kr,onTransitionCancel:Or}}),this._activeRipples.set(vr,Oi),(gr||!bt)&&this._finishRippleTransition(vr),vr}fadeOutRipple(Dt){if(Dt.state===ti.FADING_OUT||Dt.state===ti.HIDDEN)return;const Qe=Dt.element,Mt={...an,...Dt.config.animation};Qe.style.transitionDuration=`${Mt.exitDuration}ms`,Qe.style.opacity="0",Dt.state=ti.FADING_OUT,(Dt._animationForciblyDisabledThroughCss||!Mt.exitDuration)&&this._finishRippleTransition(Dt)}fadeOutAll(){this._getActiveRipples().forEach(Dt=>Dt.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Dt=>{Dt.config.persistent||Dt.fadeOut()})}setupTriggerEvents(Dt){const Qe=(0,M.i8)(Dt);!this._platform.isBrowser||!Qe||Qe===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Qe,st.forEach(Mt=>{Lt._eventManager.addHandler(this._ngZone,Mt,Qe,this)}))}handleEvent(Dt){"mousedown"===Dt.type?this._onMousedown(Dt):"touchstart"===Dt.type?this._onTouchStart(Dt):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{zt.forEach(Qe=>{this._triggerElement.addEventListener(Qe,this,Ue)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Dt){Dt.state===ti.FADING_IN?this._startFadeOutTransition(Dt):Dt.state===ti.FADING_OUT&&this._destroyRipple(Dt)}_startFadeOutTransition(Dt){const Qe=Dt===this._mostRecentTransientRipple,{persistent:Mt}=Dt.config;Dt.state=ti.VISIBLE,!Mt&&(!Qe||!this._isPointerDown)&&Dt.fadeOut()}_destroyRipple(Dt){const Qe=this._activeRipples.get(Dt)??null;this._activeRipples.delete(Dt),this._activeRipples.size||(this._containerRect=null),Dt===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Dt.state=ti.HIDDEN,null!==Qe&&(Dt.element.removeEventListener("transitionend",Qe.onTransitionEnd),Dt.element.removeEventListener("transitioncancel",Qe.onTransitionCancel)),Dt.element.remove()}_onMousedown(Dt){const Qe=(0,r._G)(Dt),Mt=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Qe&&!Mt&&(this._isPointerDown=!0,this.fadeInRipple(Dt.clientX,Dt.clientY,this._target.rippleConfig))}_onTouchStart(Dt){if(!this._target.rippleDisabled&&!(0,r.w6)(Dt)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Qe=Dt.changedTouches;if(Qe)for(let Mt=0;Mt<Qe.length;Mt++)this.fadeInRipple(Qe[Mt].clientX,Qe[Mt].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(Dt=>{!Dt.config.persistent&&(Dt.state===ti.VISIBLE||Dt.config.terminateOnPointerUp&&Dt.state===ti.FADING_IN)&&Dt.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const Dt=this._triggerElement;Dt&&(st.forEach(Qe=>Lt._eventManager.removeHandler(Qe,Dt,this)),this._pointerUpEventsRegistered&&zt.forEach(Qe=>Dt.removeEventListener(Qe,this,Ue)))}}const jn=new n.nKC("mat-ripple-global-options");let Kt=(()=>{class Et{get disabled(){return this._disabled}set disabled(Qe){Qe&&this.fadeOutAllNonPersistent(),this._disabled=Qe,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Qe){this._trigger=Qe,this._setupTriggerEventsIfEnabled()}constructor(Qe,Mt,wn,lt,kt){this._elementRef=Qe,this._animationMode=kt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=lt||{},this._rippleRenderer=new Lt(this,Mt,Qe,wn)}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(Qe,Mt=0,wn){return"number"==typeof Qe?this._rippleRenderer.fadeInRipple(Qe,Mt,{...this.rippleConfig,...wn}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Qe})}static#e=this.\u0275fac=function(Mt){return new(Mt||Et)(n.rXU(n.aKT),n.rXU(n.SKi),n.rXU(A.OD),n.rXU(jn,8),n.rXU(n.bc$,8))};static#t=this.\u0275dir=n.FsC({type:Et,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Mt,wn){2&Mt&&n.AVh("mat-ripple-unbounded",wn.unbounded)},inputs:{color:[n.Mj6.None,"matRippleColor","color"],unbounded:[n.Mj6.None,"matRippleUnbounded","unbounded"],centered:[n.Mj6.None,"matRippleCentered","centered"],radius:[n.Mj6.None,"matRippleRadius","radius"],animation:[n.Mj6.None,"matRippleAnimation","animation"],disabled:[n.Mj6.None,"matRippleDisabled","disabled"],trigger:[n.Mj6.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return Et})(),En=(()=>{class Et{static#e=this.\u0275fac=function(Mt){return new(Mt||Et)};static#t=this.\u0275mod=n.$C({type:Et});static#n=this.\u0275inj=n.G2t({imports:[se,se]})}return Et})(),Tt=(()=>{class Et{static#e=this.\u0275fac=function(Mt){return new(Mt||Et)};static#t=this.\u0275mod=n.$C({type:Et});static#n=this.\u0275inj=n.G2t({imports:[se]})}return Et})();class qn{constructor(Dt,Qe=!1){this.source=Dt,this.isUserInput=Qe}}function sn(Et,Dt,Qe){if(Qe.length){let Mt=Dt.toArray(),wn=Qe.toArray(),lt=0;for(let kt=0;kt<Et+1;kt++)Mt[kt].group&&Mt[kt].group===wn[lt]&<++;return lt}return 0}function oi(Et,Dt,Qe,Mt){return Et<Qe?Et:Et+Dt>Qe+Mt?Math.max(0,Et-Mt+Dt):Qe}let Zt=(()=>{class Et{static#e=this.\u0275fac=function(Mt){return new(Mt||Et)};static#t=this.\u0275mod=n.$C({type:Et});static#n=this.\u0275inj=n.G2t({imports:[En,se,Tt]})}return Et})();const Cn={capture:!0},Dn=["focus","click","mouseenter","touchstart"],Re="mat-ripple-loader-uninitialized",Be="mat-ripple-loader-class-name",ee="mat-ripple-loader-centered",ye="mat-ripple-loader-disabled";let at=(()=>{class Et{constructor(){this._document=(0,n.WQX)(g.qQ,{optional:!0}),this._animationMode=(0,n.WQX)(n.bc$,{optional:!0}),this._globalRippleOptions=(0,n.WQX)(jn,{optional:!0}),this._platform=(0,n.WQX)(A.OD),this._ngZone=(0,n.WQX)(n.SKi),this._hosts=new Map,this._onInteraction=Qe=>{if(!(Qe.target instanceof HTMLElement))return;const wn=Qe.target.closest(`[${Re}]`);wn&&this._createRipple(wn)},this._ngZone.runOutsideAngular(()=>{for(const Qe of Dn)this._document?.addEventListener(Qe,this._onInteraction,Cn)})}ngOnDestroy(){const Qe=this._hosts.keys();for(const Mt of Qe)this.destroyRipple(Mt);for(const Mt of Dn)this._document?.removeEventListener(Mt,this._onInteraction,Cn)}configureRipple(Qe,Mt){Qe.setAttribute(Re,""),(Mt.className||!Qe.hasAttribute(Be))&&Qe.setAttribute(Be,Mt.className||""),Mt.centered&&Qe.setAttribute(ee,""),Mt.disabled&&Qe.setAttribute(ye,"")}getRipple(Qe){return this._hosts.get(Qe)||this._createRipple(Qe)}setDisabled(Qe,Mt){const wn=this._hosts.get(Qe);wn?wn.disabled=Mt:Mt?Qe.setAttribute(ye,""):Qe.removeAttribute(ye)}_createRipple(Qe){if(!this._document)return;const Mt=this._hosts.get(Qe);if(Mt)return Mt;Qe.querySelector(".mat-ripple")?.remove();const wn=this._document.createElement("span");wn.classList.add("mat-ripple",Qe.getAttribute(Be)),Qe.append(wn);const lt=new Kt(new n.aKT(wn),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return lt._isInitialized=!0,lt.trigger=Qe,lt.centered=Qe.hasAttribute(ee),lt.disabled=Qe.hasAttribute(ye),this.attachRipple(Qe,lt),lt}attachRipple(Qe,Mt){Qe.removeAttribute(Re),this._hosts.set(Qe,Mt)}destroyRipple(Qe){const Mt=this._hosts.get(Qe);Mt&&(Mt.ngOnDestroy(),this._hosts.delete(Qe))}static#e=this.\u0275fac=function(Mt){return new(Mt||Et)};static#t=this.\u0275prov=n.jDH({token:Et,factory:Et.\u0275fac,providedIn:"root"})}return Et})()},6057:(_t,ge,f)=>{"use strict";f.d(ge,{Vh:()=>ht,bZ:()=>Ui,qG:()=>Ii,X6:()=>Hi,bU:()=>$i,Wl:()=>rr});var n=f(8617),r=f(7987),y=f(6939),F=f(177),g=f(4438),A=f(6860),M=f(6600);const B=["mat-button",""],V=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],T=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],ce=["mat-icon-button",""],J=["*"],Ne=new g.nKC("MAT_BUTTON_CONFIG"),dt=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let He=(()=>{class mt{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(O){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,O)}get disableRipple(){return this._disableRipple}set disableRipple(O){this._disableRipple=O,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(O){this._disabled=O,this._updateRippleDisabled()}constructor(O,be,ae,Xe){this._elementRef=O,this._platform=be,this._ngZone=ae,this._animationMode=Xe,this._focusMonitor=(0,g.WQX)(n.FN),this._rippleLoader=(0,g.WQX)(M.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const Ht=(0,g.WQX)(Ne,{optional:!0}),wi=O.nativeElement,Nr=wi.classList;this.disabledInteractive=Ht?.disabledInteractive??!1,this._rippleLoader?.configureRipple(wi,{className:"mat-mdc-button-ripple"});for(const{attribute:io,mdcClasses:mo}of dt)wi.hasAttribute(io)&&Nr.add(...mo)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(O="program",be){O?this._focusMonitor.focusVia(this._elementRef.nativeElement,O,be):this._elementRef.nativeElement.focus(be)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(be){g.QTQ()};static#t=this.\u0275dir=g.FsC({type:mt,inputs:{color:"color",disableRipple:[g.Mj6.HasDecoratorInputTransform,"disableRipple","disableRipple",g.L39],disabled:[g.Mj6.HasDecoratorInputTransform,"disabled","disabled",g.L39],ariaDisabled:[g.Mj6.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",g.L39],disabledInteractive:[g.Mj6.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",g.L39]},features:[g.GFd]})}return mt})(),Ae=(()=>{class mt extends He{constructor(O,be,ae,Xe){super(O,be,ae,Xe)}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(g.aKT),g.rXU(A.OD),g.rXU(g.SKi),g.rXU(g.bc$,8))};static#t=this.\u0275cmp=g.VBU({type:mt,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(be,ae){2&be&&(g.BMQ("disabled",ae._getDisabledAttribute())("aria-disabled",ae._getAriaDisabled()),g.HbH(ae.color?"mat-"+ae.color:""),g.AVh("mat-mdc-button-disabled",ae.disabled)("mat-mdc-button-disabled-interactive",ae.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mat-unthemed",!ae.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[g.Vt3,g.aNF],attrs:B,ngContentSelectors:T,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(be,ae){1&be&&(g.NAR(V),g.nrm(0,"span",0),g.SdG(1),g.j41(2,"span",1),g.SdG(3,1),g.k0s(),g.SdG(4,2),g.nrm(5,"span",2)(6,"span",3)),2&be&&g.AVh("mdc-button__ripple",!ae._isFab)("mdc-fab__ripple",ae._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return mt})(),jt=(()=>{class mt extends He{constructor(O,be,ae,Xe){super(O,be,ae,Xe),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(g.aKT),g.rXU(A.OD),g.rXU(g.SKi),g.rXU(g.bc$,8))};static#t=this.\u0275cmp=g.VBU({type:mt,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(be,ae){2&be&&(g.BMQ("disabled",ae._getDisabledAttribute())("aria-disabled",ae._getAriaDisabled()),g.HbH(ae.color?"mat-"+ae.color:""),g.AVh("mat-mdc-button-disabled",ae.disabled)("mat-mdc-button-disabled-interactive",ae.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===ae._animationMode)("mat-unthemed",!ae.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[g.Vt3,g.aNF],attrs:ce,ngContentSelectors:J,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(be,ae){1&be&&(g.NAR(),g.nrm(0,"span",0),g.SdG(1),g.nrm(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return mt})(),nt=(()=>{class mt{static#e=this.\u0275fac=function(be){return new(be||mt)};static#t=this.\u0275mod=g.$C({type:mt});static#n=this.\u0275inj=g.G2t({imports:[M.yE,M.pZ,M.yE]})}return mt})();var ut=f(5478),tt=f(1413),rt=f(8359),Ft=f(7786),Le=f(7673),pe=f(7336),Pe=f(8203),et=f(6697),Pt=f(9172),Fn=f(5964),ei=f(4085),gn=f(9969),pi=f(9417),hi=f(2102),xi=f(9631);const ti=["mat-calendar-body",""];function ki(mt,Ln){if(1&mt&&(g.j41(0,"tr",0)(1,"td",3),g.EFF(2),g.k0s()()),2&mt){const O=g.XpG();g.R7$(),g.xc7("padding-top",O._cellPadding)("padding-bottom",O._cellPadding),g.BMQ("colspan",O.numCols),g.R7$(),g.SpI(" ",O.label," ")}}function Zi(mt,Ln){if(1&mt&&(g.j41(0,"td",3),g.EFF(1),g.k0s()),2&mt){const O=g.XpG(2);g.xc7("padding-top",O._cellPadding)("padding-bottom",O._cellPadding),g.BMQ("colspan",O._firstRowOffset),g.R7$(),g.SpI(" ",O._firstRowOffset>=O.labelMinRequiredCells?O.label:""," ")}}function mn(mt,Ln){if(1&mt){const O=g.RV6();g.j41(0,"td",6)(1,"button",7),g.bIt("click",function(ae){const Xe=g.eBV(O).$implicit,Ht=g.XpG(2);return g.Njj(Ht._cellClicked(Xe,ae))})("focus",function(ae){const Xe=g.eBV(O).$implicit,Ht=g.XpG(2);return g.Njj(Ht._emitActiveDateChange(Xe,ae))}),g.j41(2,"span",8),g.EFF(3),g.k0s(),g.nrm(4,"span",9),g.k0s()()}if(2&mt){const O=Ln.$implicit,be=Ln.$index,ae=g.XpG().$index,Xe=g.XpG();g.xc7("width",Xe._cellWidth)("padding-top",Xe._cellPadding)("padding-bottom",Xe._cellPadding),g.BMQ("data-mat-row",ae)("data-mat-col",be),g.R7$(),g.AVh("mat-calendar-body-disabled",!O.enabled)("mat-calendar-body-active",Xe._isActiveCell(ae,be))("mat-calendar-body-range-start",Xe._isRangeStart(O.compareValue))("mat-calendar-body-range-end",Xe._isRangeEnd(O.compareValue))("mat-calendar-body-in-range",Xe._isInRange(O.compareValue))("mat-calendar-body-comparison-bridge-start",Xe._isComparisonBridgeStart(O.compareValue,ae,be))("mat-calendar-body-comparison-bridge-end",Xe._isComparisonBridgeEnd(O.compareValue,ae,be))("mat-calendar-body-comparison-start",Xe._isComparisonStart(O.compareValue))("mat-calendar-body-comparison-end",Xe._isComparisonEnd(O.compareValue))("mat-calendar-body-in-comparison-range",Xe._isInComparisonRange(O.compareValue))("mat-calendar-body-preview-start",Xe._isPreviewStart(O.compareValue))("mat-calendar-body-preview-end",Xe._isPreviewEnd(O.compareValue))("mat-calendar-body-in-preview",Xe._isInPreview(O.compareValue)),g.Y8G("ngClass",O.cssClasses)("tabindex",Xe._isActiveCell(ae,be)?0:-1),g.BMQ("aria-label",O.ariaLabel)("aria-disabled",!O.enabled||null)("aria-pressed",Xe._isSelected(O.compareValue))("aria-current",Xe.todayValue===O.compareValue?"date":null)("aria-describedby",Xe._getDescribedby(O.compareValue)),g.R7$(),g.AVh("mat-calendar-body-selected",Xe._isSelected(O.compareValue))("mat-calendar-body-comparison-identical",Xe._isComparisonIdentical(O.compareValue))("mat-calendar-body-today",Xe.todayValue===O.compareValue),g.R7$(),g.SpI(" ",O.displayValue," ")}}function an(mt,Ln){if(1&mt&&(g.j41(0,"tr",1),g.DNE(1,Zi,2,6,"td",4),g.Z7z(2,mn,5,48,"td",5,g.fX1),g.k0s()),2&mt){const O=Ln.$implicit,be=Ln.$index,ae=g.XpG();g.R7$(),g.vxM(1,0===be&&ae._firstRowOffset?1:-1),g.R7$(),g.Dyx(O)}}function me(mt,Ln){if(1&mt&&(g.j41(0,"th",2)(1,"span",6),g.EFF(2),g.k0s(),g.j41(3,"span",3),g.EFF(4),g.k0s()()),2&mt){const O=Ln.$implicit;g.R7$(2),g.JRh(O.long),g.R7$(2),g.JRh(O.narrow)}}const Ue=["*"];function st(mt,Ln){}function zt(mt,Ln){if(1&mt){const O=g.RV6();g.j41(0,"mat-month-view",2),g.mxI("activeDateChange",function(ae){g.eBV(O);const Xe=g.XpG();return g.DH7(Xe.activeDate,ae)||(Xe.activeDate=ae),g.Njj(ae)}),g.bIt("_userSelection",function(ae){g.eBV(O);const Xe=g.XpG();return g.Njj(Xe._dateSelected(ae))})("dragStarted",function(ae){g.eBV(O);const Xe=g.XpG();return g.Njj(Xe._dragStarted(ae))})("dragEnded",function(ae){g.eBV(O);const Xe=g.XpG();return g.Njj(Xe._dragEnded(ae))}),g.k0s()}if(2&mt){const O=g.XpG();g.R50("activeDate",O.activeDate),g.Y8G("selected",O.selected)("dateFilter",O.dateFilter)("maxDate",O.maxDate)("minDate",O.minDate)("dateClass",O.dateClass)("comparisonStart",O.comparisonStart)("comparisonEnd",O.comparisonEnd)("startDateAccessibleName",O.startDateAccessibleName)("endDateAccessibleName",O.endDateAccessibleName)("activeDrag",O._activeDrag)}}function Lt(mt,Ln){if(1&mt){const O=g.RV6();g.j41(0,"mat-year-view",3),g.mxI("activeDateChange",function(ae){g.eBV(O);const Xe=g.XpG();return g.DH7(Xe.activeDate,ae)||(Xe.activeDate=ae),g.Njj(ae)}),g.bIt("monthSelected",function(ae){g.eBV(O);const Xe=g.XpG();return g.Njj(Xe._monthSelectedInYearView(ae))})("selectedChange",function(ae){g.eBV(O);const Xe=g.XpG();return g.Njj(Xe._goToDateInView(ae,"month"))}),g.k0s()}if(2&mt){const O=g.XpG();g.R50("activeDate",O.activeDate),g.Y8G("selected",O.selected)("dateFilter",O.dateFilter)("maxDate",O.maxDate)("minDate",O.minDate)("dateClass",O.dateClass)}}function fn(mt,Ln){if(1&mt){const O=g.RV6();g.j41(0,"mat-multi-year-view",4),g.mxI("activeDateChange",function(ae){g.eBV(O);const Xe=g.XpG();return g.DH7(Xe.activeDate,ae)||(Xe.activeDate=ae),g.Njj(ae)}),g.bIt("yearSelected",function(ae){g.eBV(O);const Xe=g.XpG();return g.Njj(Xe._yearSelectedInMultiYearView(ae))})("selectedChange",function(ae){g.eBV(O);const Xe=g.XpG();return g.Njj(Xe._goToDateInView(ae,"year"))}),g.k0s()}if(2&mt){const O=g.XpG();g.R50("activeDate",O.activeDate),g.Y8G("selected",O.selected)("dateFilter",O.dateFilter)("maxDate",O.maxDate)("minDate",O.minDate)("dateClass",O.dateClass)}}function jn(mt,Ln){}const Kt=["button"],En=[[["","matDatepickerToggleIcon",""]]],ft=["[matDatepickerToggleIcon]"];function Tt(mt,Ln){1&mt&&(g.qSk(),g.j41(0,"svg",2),g.nrm(1,"path",3),g.k0s())}let Ii=(()=>{class mt{constructor(){this.changes=new tt.B,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(O,be){return`${O} \u2013 ${be}`}formatYearRangeLabel(O,be){return`${O} to ${be}`}static#e=this.\u0275fac=function(be){return new(be||mt)};static#t=this.\u0275prov=g.jDH({token:mt,factory:mt.\u0275fac,providedIn:"root"})}return mt})();class qn{constructor(Ln,O,be,ae,Xe={},Ht=Ln,wi){this.value=Ln,this.displayValue=O,this.ariaLabel=be,this.enabled=ae,this.cssClasses=Xe,this.compareValue=Ht,this.rawValue=wi}}let Qi=1;const sn=(0,A.BQ)({passive:!1,capture:!0}),oi=(0,A.BQ)({passive:!0,capture:!0}),Zt=(0,A.BQ)({passive:!0});let Cn=(()=>{class mt{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(O,be){this._elementRef=O,this._ngZone=be,this._platform=(0,g.WQX)(A.OD),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new g.bkB,this.previewChange=new g.bkB,this.activeDateChange=new g.bkB,this.dragStarted=new g.bkB,this.dragEnded=new g.bkB,this._didDragSinceMouseDown=!1,this._enterHandler=ae=>{if(this._skipNextFocus&&"focus"===ae.type)this._skipNextFocus=!1;else if(ae.target&&this.isRange){const Xe=this._getCellFromElement(ae.target);Xe&&this._ngZone.run(()=>this.previewChange.emit({value:Xe.enabled?Xe:null,event:ae}))}},this._touchmoveHandler=ae=>{if(!this.isRange)return;const Xe=at(ae),Ht=Xe?this._getCellFromElement(Xe):null;Xe!==ae.target&&(this._didDragSinceMouseDown=!0),Re(ae.target)&&ae.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Ht?.enabled?Ht:null,event:ae}))},this._leaveHandler=ae=>{null!==this.previewEnd&&this.isRange&&("blur"!==ae.type&&(this._didDragSinceMouseDown=!0),ae.target&&this._getCellFromElement(ae.target)&&(!ae.relatedTarget||!this._getCellFromElement(ae.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ae})))},this._mousedownHandler=ae=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const Xe=ae.target&&this._getCellFromElement(ae.target);!Xe||!this._isInRange(Xe.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Xe.rawValue,event:ae})})},this._mouseupHandler=ae=>{if(!this.isRange)return;const Xe=Re(ae.target);Xe?Xe.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Ht=this._getCellFromElement(Xe);this.dragEnded.emit({value:Ht?.rawValue??null,event:ae})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:ae})})},this._touchendHandler=ae=>{const Xe=at(ae);Xe&&this._mouseupHandler({target:Xe})},this._id="mat-calendar-body-"+Qi++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,be.runOutsideAngular(()=>{const ae=O.nativeElement;ae.addEventListener("touchmove",this._touchmoveHandler,sn),ae.addEventListener("mouseenter",this._enterHandler,oi),ae.addEventListener("focus",this._enterHandler,oi),ae.addEventListener("mouseleave",this._leaveHandler,oi),ae.addEventListener("blur",this._leaveHandler,oi),ae.addEventListener("mousedown",this._mousedownHandler,Zt),ae.addEventListener("touchstart",this._mousedownHandler,Zt),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(O,be){this._didDragSinceMouseDown||O.enabled&&this.selectedValueChange.emit({value:O.value,event:be})}_emitActiveDateChange(O,be){O.enabled&&this.activeDateChange.emit({value:O.value,event:be})}_isSelected(O){return this.startValue===O||this.endValue===O}ngOnChanges(O){const be=O.numCols,{rows:ae,numCols:Xe}=this;(O.rows||be)&&(this._firstRowOffset=ae&&ae.length&&ae[0].length?Xe-ae[0].length:0),(O.cellAspectRatio||be||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Xe+"%"),(be||!this._cellWidth)&&(this._cellWidth=100/Xe+"%")}ngOnDestroy(){const O=this._elementRef.nativeElement;O.removeEventListener("touchmove",this._touchmoveHandler,sn),O.removeEventListener("mouseenter",this._enterHandler,oi),O.removeEventListener("focus",this._enterHandler,oi),O.removeEventListener("mouseleave",this._leaveHandler,oi),O.removeEventListener("blur",this._leaveHandler,oi),O.removeEventListener("mousedown",this._mousedownHandler,Zt),O.removeEventListener("touchstart",this._mousedownHandler,Zt),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(O,be){let ae=O*this.numCols+be;return O&&(ae-=this._firstRowOffset),ae==this.activeCell}_focusActiveCell(O=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,et.s)(1)).subscribe(()=>{setTimeout(()=>{const be=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");be&&(O||(this._skipNextFocus=!0),be.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(O){return Be(O,this.startValue,this.endValue)}_isRangeEnd(O){return ee(O,this.startValue,this.endValue)}_isInRange(O){return ye(O,this.startValue,this.endValue,this.isRange)}_isComparisonStart(O){return Be(O,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(O,be,ae){if(!this._isComparisonStart(O)||this._isRangeStart(O)||!this._isInRange(O))return!1;let Xe=this.rows[be][ae-1];if(!Xe){const Ht=this.rows[be-1];Xe=Ht&&Ht[Ht.length-1]}return Xe&&!this._isRangeEnd(Xe.compareValue)}_isComparisonBridgeEnd(O,be,ae){if(!this._isComparisonEnd(O)||this._isRangeEnd(O)||!this._isInRange(O))return!1;let Xe=this.rows[be][ae+1];if(!Xe){const Ht=this.rows[be+1];Xe=Ht&&Ht[0]}return Xe&&!this._isRangeStart(Xe.compareValue)}_isComparisonEnd(O){return ee(O,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(O){return ye(O,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(O){return this.comparisonStart===this.comparisonEnd&&O===this.comparisonStart}_isPreviewStart(O){return Be(O,this.previewStart,this.previewEnd)}_isPreviewEnd(O){return ee(O,this.previewStart,this.previewEnd)}_isInPreview(O){return ye(O,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(O){return this.isRange?this.startValue===O&&this.endValue===O?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===O?this._startDateLabelId:this.endValue===O?this._endDateLabelId:null:null}_getCellFromElement(O){const be=Re(O);if(be){const ae=be.getAttribute("data-mat-row"),Xe=be.getAttribute("data-mat-col");if(ae&&Xe)return this.rows[parseInt(ae)][parseInt(Xe)]}return null}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(g.aKT),g.rXU(g.SKi))};static#t=this.\u0275cmp=g.VBU({type:mt,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",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],standalone:!0,features:[g.OA$,g.aNF],attrs:ti,decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(be,ae){1&be&&(g.DNE(0,ki,3,6,"tr",0),g.Z7z(1,an,4,1,"tr",1,g.fX1),g.j41(3,"label",2),g.EFF(4),g.k0s(),g.j41(5,"label",2),g.EFF(6),g.k0s()),2&be&&(g.vxM(0,ae._firstRowOffset<ae.labelMinRequiredCells?0:-1),g.R7$(),g.Dyx(ae.rows),g.R7$(2),g.Y8G("id",ae._startDateLabelId),g.R7$(),g.SpI(" ",ae.startDateAccessibleName,"\n"),g.R7$(),g.Y8G("id",ae._endDateLabelId),g.R7$(),g.SpI(" ",ae.endDateAccessibleName,"\n"))},dependencies:[F.YU],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.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;display:block;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{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.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}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.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;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.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}'],encapsulation:2,changeDetection:0})}return mt})();function Dn(mt){return"TD"===mt?.nodeName}function Re(mt){let Ln;return Dn(mt)?Ln=mt:Dn(mt.parentNode)?Ln=mt.parentNode:Dn(mt.parentNode?.parentNode)&&(Ln=mt.parentNode.parentNode),null!=Ln?.getAttribute("data-mat-row")?Ln:null}function Be(mt,Ln,O){return null!==O&&Ln!==O&&mt<O&&mt===Ln}function ee(mt,Ln,O){return null!==Ln&&Ln!==O&&mt>=Ln&&mt===O}function ye(mt,Ln,O,be){return be&&null!==Ln&&null!==O&&Ln!==O&&mt>=Ln&&mt<=O}function at(mt){const Ln=mt.changedTouches[0];return document.elementFromPoint(Ln.clientX,Ln.clientY)}class Wt{constructor(Ln,O){this.start=Ln,this.end=O}}let Et=(()=>{class mt{constructor(O,be){this.selection=O,this._adapter=be,this._selectionChanged=new tt.B,this.selectionChanged=this._selectionChanged,this.selection=O}updateSelection(O,be){const ae=this.selection;this.selection=O,this._selectionChanged.next({selection:O,source:be,oldValue:ae})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(O){return this._adapter.isDateInstance(O)&&this._adapter.isValid(O)}static#e=this.\u0275fac=function(be){g.QTQ()};static#t=this.\u0275prov=g.jDH({token:mt,factory:mt.\u0275fac})}return mt})(),Dt=(()=>{class mt extends Et{constructor(O){super(null,O)}add(O){super.updateSelection(O,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const O=new mt(this._adapter);return O.updateSelection(this.selection,this),O}static#e=this.\u0275fac=function(be){return new(be||mt)(g.KVO(M.MJ))};static#t=this.\u0275prov=g.jDH({token:mt,factory:mt.\u0275fac})}return mt})();const wn={provide:Et,deps:[[new g.Xx1,new g.kdw,Et],M.MJ],useFactory:function Mt(mt,Ln){return mt||new Dt(Ln)}},re=new g.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let Di=(()=>{class mt{get activeDate(){return this._activeDate}set activeDate(O){const be=this._activeDate,ae=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ae,this.minDate,this.maxDate),this._hasSameMonthAndYear(be,this._activeDate)||this._init()}get selected(){return this._selected}set selected(O){this._selected=O instanceof Wt?O:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(O){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}get maxDate(){return this._maxDate}set maxDate(O){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}constructor(O,be,ae,Xe,Ht){this._changeDetectorRef=O,this._dateFormats=be,this._dateAdapter=ae,this._dir=Xe,this._rangeStrategy=Ht,this._rerenderSubscription=rt.yU.EMPTY,this.activeDrag=null,this.selectedChange=new g.bkB,this._userSelection=new g.bkB,this.dragStarted=new g.bkB,this.dragEnded=new g.bkB,this.activeDateChange=new g.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Pt.Z)(null)).subscribe(()=>this._init())}ngOnChanges(O){const be=O.comparisonStart||O.comparisonEnd;be&&!be.firstChange&&this._setRanges(this.selected),O.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(O){const be=O.value,ae=this._getDateFromDayOfMonth(be);let Xe,Ht;this._selected instanceof Wt?(Xe=this._getDateInCurrentMonth(this._selected.start),Ht=this._getDateInCurrentMonth(this._selected.end)):Xe=Ht=this._getDateInCurrentMonth(this._selected),(Xe!==be||Ht!==be)&&this.selectedChange.emit(ae),this._userSelection.emit({value:ae,event:O.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(O){const ae=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(O.value),this._dateAdapter.compareDate(ae,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(O){const be=this._activeDate,ae=this._isRtl();switch(O.keyCode){case pe.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ae?1:-1);break;case pe.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ae?-1:1);break;case pe.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case pe.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case pe.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case pe.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case pe.w_:this.activeDate=O.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case pe.dB:this.activeDate=O.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case pe.Fm:case pe.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&O.preventDefault());case pe._f:return void(null!=this._previewEnd&&!(0,pe.rp)(O)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:O}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:O})),O.preventDefault(),O.stopPropagation()));default:return}this._dateAdapter.compareDate(be,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),O.preventDefault()}_handleCalendarBodyKeyup(O){(O.keyCode===pe.t6||O.keyCode===pe.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:O}),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 O=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(O)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(O){this._matCalendarBody._focusActiveCell(O)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:O,value:be}){if(this._rangeStrategy){const ae=be?be.rawValue:null,Xe=this._rangeStrategy.createPreview(ae,this.selected,O);if(this._previewStart=this._getCellCompareValue(Xe.start),this._previewEnd=this._getCellCompareValue(Xe.end),this.activeDrag&&ae){const Ht=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,ae,O);Ht&&(this._previewStart=this._getCellCompareValue(Ht.start),this._previewEnd=this._getCellCompareValue(Ht.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(O){if(this.activeDrag)if(O.value){const be=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,O.value,O.event);this.dragEnded.emit({value:be??null,event:O.event})}else this.dragEnded.emit({value:null,event:O.event})}_getDateFromDayOfMonth(O){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),O)}_initWeekdays(){const O=this._dateAdapter.getFirstDayOfWeek(),be=this._dateAdapter.getDayOfWeekNames("narrow");let Xe=this._dateAdapter.getDayOfWeekNames("long").map((Ht,wi)=>({long:Ht,narrow:be[wi]}));this._weekdays=Xe.slice(O).concat(Xe.slice(0,O))}_createWeekCells(){const O=this._dateAdapter.getNumDaysInMonth(this.activeDate),be=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ae=0,Xe=this._firstWeekOffset;ae<O;ae++,Xe++){7==Xe&&(this._weeks.push([]),Xe=0);const Ht=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),ae+1),wi=this._shouldEnableDate(Ht),Nr=this._dateAdapter.format(Ht,this._dateFormats.display.dateA11yLabel),io=this.dateClass?this.dateClass(Ht,"month"):void 0;this._weeks[this._weeks.length-1].push(new qn(ae+1,be[ae],Nr,wi,io,this._getCellCompareValue(Ht),Ht))}}_shouldEnableDate(O){return!!O&&(!this.minDate||this._dateAdapter.compareDate(O,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(O,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(O))}_getDateInCurrentMonth(O){return O&&this._hasSameMonthAndYear(O,this.activeDate)?this._dateAdapter.getDate(O):null}_hasSameMonthAndYear(O,be){return!(!O||!be||this._dateAdapter.getMonth(O)!=this._dateAdapter.getMonth(be)||this._dateAdapter.getYear(O)!=this._dateAdapter.getYear(be))}_getCellCompareValue(O){if(O){const be=this._dateAdapter.getYear(O),ae=this._dateAdapter.getMonth(O),Xe=this._dateAdapter.getDate(O);return new Date(be,ae,Xe).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(O){O instanceof Wt?(this._rangeStart=this._getCellCompareValue(O.start),this._rangeEnd=this._getCellCompareValue(O.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(O),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(O){return!this.dateFilter||this.dateFilter(O)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(g.gRc),g.rXU(M.de,8),g.rXU(M.MJ,8),g.rXU(Pe.dS,8),g.rXU(re,8))};static#t=this.\u0275cmp=g.VBU({type:mt,selectors:[["mat-month-view"]],viewQuery:function(be,ae){if(1&be&&g.GBs(Cn,5),2&be){let Xe;g.mGM(Xe=g.lsd())&&(ae._matCalendarBody=Xe.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],standalone:!0,features:[g.OA$,g.aNF],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(be,ae){1&be&&(g.j41(0,"table",0)(1,"thead",1)(2,"tr"),g.Z7z(3,me,5,2,"th",2,g.fX1),g.k0s(),g.j41(5,"tr",3),g.nrm(6,"th",4),g.k0s()(),g.j41(7,"tbody",5),g.bIt("selectedValueChange",function(Ht){return ae._dateSelected(Ht)})("activeDateChange",function(Ht){return ae._updateActiveDate(Ht)})("previewChange",function(Ht){return ae._previewChanged(Ht)})("dragStarted",function(Ht){return ae.dragStarted.emit(Ht)})("dragEnded",function(Ht){return ae._dragEnded(Ht)})("keyup",function(Ht){return ae._handleCalendarBodyKeyup(Ht)})("keydown",function(Ht){return ae._handleCalendarBodyKeydown(Ht)}),g.k0s()()),2&be&&(g.R7$(3),g.Dyx(ae._weekdays),g.R7$(4),g.Y8G("label",ae._monthLabel)("rows",ae._weeks)("todayValue",ae._todayDate)("startValue",ae._rangeStart)("endValue",ae._rangeEnd)("comparisonStart",ae._comparisonRangeStart)("comparisonEnd",ae._comparisonRangeEnd)("previewStart",ae._previewStart)("previewEnd",ae._previewEnd)("isRange",ae._isRange)("labelMinRequiredCells",3)("activeCell",ae._dateAdapter.getDate(ae.activeDate)-1)("startDateAccessibleName",ae.startDateAccessibleName)("endDateAccessibleName",ae.endDateAccessibleName))},dependencies:[Cn],encapsulation:2,changeDetection:0})}return mt})();const Bi=24;let vr=(()=>{class mt{get activeDate(){return this._activeDate}set activeDate(O){let be=this._activeDate;const ae=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ae,this.minDate,this.maxDate),Oi(this._dateAdapter,be,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(O){this._selected=O instanceof Wt?O:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O)),this._setSelectedYear(O)}get minDate(){return this._minDate}set minDate(O){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}get maxDate(){return this._maxDate}set maxDate(O){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}constructor(O,be,ae){this._changeDetectorRef=O,this._dateAdapter=be,this._dir=ae,this._rerenderSubscription=rt.yU.EMPTY,this.selectedChange=new g.bkB,this.yearSelected=new g.bkB,this.activeDateChange=new g.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Pt.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const be=this._dateAdapter.getYear(this._activeDate)-kr(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ae=0,Xe=[];ae<Bi;ae++)Xe.push(be+ae),4==Xe.length&&(this._years.push(Xe.map(Ht=>this._createCellForYear(Ht))),Xe=[]);this._changeDetectorRef.markForCheck()}_yearSelected(O){const be=O.value,ae=this._dateAdapter.createDate(be,0,1),Xe=this._getDateFromYear(be);this.yearSelected.emit(ae),this.selectedChange.emit(Xe)}_updateActiveDate(O){const ae=this._activeDate;this.activeDate=this._getDateFromYear(O.value),this._dateAdapter.compareDate(ae,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(O){const be=this._activeDate,ae=this._isRtl();switch(O.keyCode){case pe.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ae?1:-1);break;case pe.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ae?-1:1);break;case pe.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case pe.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case pe.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-kr(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case pe.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Bi-kr(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case pe.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,O.altKey?10*-Bi:-Bi);break;case pe.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,O.altKey?10*Bi:Bi);break;case pe.Fm:case pe.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),O.preventDefault()}_handleCalendarBodyKeyup(O){(O.keyCode===pe.t6||O.keyCode===pe.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:O}),this._selectionKeyPressed=!1)}_getActiveCell(){return kr(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(O){const be=this._dateAdapter.getMonth(this.activeDate),ae=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(O,be,1));return this._dateAdapter.createDate(O,be,Math.min(this._dateAdapter.getDate(this.activeDate),ae))}_createCellForYear(O){const be=this._dateAdapter.createDate(O,0,1),ae=this._dateAdapter.getYearName(be),Xe=this.dateClass?this.dateClass(be,"multi-year"):void 0;return new qn(O,ae,ae,this._shouldEnableYear(O),Xe)}_shouldEnableYear(O){if(null==O||this.maxDate&&O>this._dateAdapter.getYear(this.maxDate)||this.minDate&&O<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let ae=this._dateAdapter.createDate(O,0,1);this._dateAdapter.getYear(ae)==O;ae=this._dateAdapter.addCalendarDays(ae,1))if(this.dateFilter(ae))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(O){if(this._selectedYear=null,O instanceof Wt){const be=O.start||O.end;be&&(this._selectedYear=this._dateAdapter.getYear(be))}else O&&(this._selectedYear=this._dateAdapter.getYear(O))}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(g.gRc),g.rXU(M.MJ,8),g.rXU(Pe.dS,8))};static#t=this.\u0275cmp=g.VBU({type:mt,selectors:[["mat-multi-year-view"]],viewQuery:function(be,ae){if(1&be&&g.GBs(Cn,5),2&be){let Xe;g.mGM(Xe=g.lsd())&&(ae._matCalendarBody=Xe.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],standalone:!0,features:[g.aNF],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(be,ae){1&be&&(g.j41(0,"table",0)(1,"thead",1)(2,"tr"),g.nrm(3,"th",2),g.k0s()(),g.j41(4,"tbody",3),g.bIt("selectedValueChange",function(Ht){return ae._yearSelected(Ht)})("activeDateChange",function(Ht){return ae._updateActiveDate(Ht)})("keyup",function(Ht){return ae._handleCalendarBodyKeyup(Ht)})("keydown",function(Ht){return ae._handleCalendarBodyKeydown(Ht)}),g.k0s()()),2&be&&(g.R7$(4),g.Y8G("rows",ae._years)("todayValue",ae._todayYear)("startValue",ae._selectedYear)("endValue",ae._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",ae._getActiveCell()))},dependencies:[Cn],encapsulation:2,changeDetection:0})}return mt})();function Oi(mt,Ln,O,be,ae){const Xe=mt.getYear(Ln),Ht=mt.getYear(O),wi=Or(mt,be,ae);return Math.floor((Xe-wi)/Bi)===Math.floor((Ht-wi)/Bi)}function kr(mt,Ln,O,be){return function ho(mt,Ln){return(mt%Ln+Ln)%Ln}(mt.getYear(Ln)-Or(mt,O,be),Bi)}function Or(mt,Ln,O){let be=0;return O?be=mt.getYear(O)-Bi+1:Ln&&(be=mt.getYear(Ln)),be}let jo=(()=>{class mt{get activeDate(){return this._activeDate}set activeDate(O){let be=this._activeDate;const ae=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ae,this.minDate,this.maxDate),this._dateAdapter.getYear(be)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(O){this._selected=O instanceof Wt?O:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O)),this._setSelectedMonth(O)}get minDate(){return this._minDate}set minDate(O){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}get maxDate(){return this._maxDate}set maxDate(O){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}constructor(O,be,ae,Xe){this._changeDetectorRef=O,this._dateFormats=be,this._dateAdapter=ae,this._dir=Xe,this._rerenderSubscription=rt.yU.EMPTY,this.selectedChange=new g.bkB,this.monthSelected=new g.bkB,this.activeDateChange=new g.bkB,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Pt.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(O){const be=O.value,ae=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),be,1);this.monthSelected.emit(ae);const Xe=this._getDateFromMonth(be);this.selectedChange.emit(Xe)}_updateActiveDate(O){const ae=this._activeDate;this.activeDate=this._getDateFromMonth(O.value),this._dateAdapter.compareDate(ae,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(O){const be=this._activeDate,ae=this._isRtl();switch(O.keyCode){case pe.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ae?1:-1);break;case pe.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ae?-1:1);break;case pe.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case pe.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case pe.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case pe.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case pe.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,O.altKey?-10:-1);break;case pe.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,O.altKey?10:1);break;case pe.Fm:case pe.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(be,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),O.preventDefault()}_handleCalendarBodyKeyup(O){(O.keyCode===pe.t6||O.keyCode===pe.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:O}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let O=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(be=>be.map(ae=>this._createCellForMonth(ae,O[ae]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(O){return O&&this._dateAdapter.getYear(O)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(O):null}_getDateFromMonth(O){const be=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),O,1),ae=this._dateAdapter.getNumDaysInMonth(be);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),O,Math.min(this._dateAdapter.getDate(this.activeDate),ae))}_createCellForMonth(O,be){const ae=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),O,1),Xe=this._dateAdapter.format(ae,this._dateFormats.display.monthYearA11yLabel),Ht=this.dateClass?this.dateClass(ae,"year"):void 0;return new qn(O,be.toLocaleUpperCase(),Xe,this._shouldEnableMonth(O),Ht)}_shouldEnableMonth(O){const be=this._dateAdapter.getYear(this.activeDate);if(null==O||this._isYearAndMonthAfterMaxDate(be,O)||this._isYearAndMonthBeforeMinDate(be,O))return!1;if(!this.dateFilter)return!0;for(let Xe=this._dateAdapter.createDate(be,O,1);this._dateAdapter.getMonth(Xe)==O;Xe=this._dateAdapter.addCalendarDays(Xe,1))if(this.dateFilter(Xe))return!0;return!1}_isYearAndMonthAfterMaxDate(O,be){if(this.maxDate){const ae=this._dateAdapter.getYear(this.maxDate),Xe=this._dateAdapter.getMonth(this.maxDate);return O>ae||O===ae&&be>Xe}return!1}_isYearAndMonthBeforeMinDate(O,be){if(this.minDate){const ae=this._dateAdapter.getYear(this.minDate),Xe=this._dateAdapter.getMonth(this.minDate);return O<ae||O===ae&&be<Xe}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(O){this._selectedMonth=O instanceof Wt?this._getMonthInCurrentYear(O.start)||this._getMonthInCurrentYear(O.end):this._getMonthInCurrentYear(O)}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(g.gRc),g.rXU(M.de,8),g.rXU(M.MJ,8),g.rXU(Pe.dS,8))};static#t=this.\u0275cmp=g.VBU({type:mt,selectors:[["mat-year-view"]],viewQuery:function(be,ae){if(1&be&&g.GBs(Cn,5),2&be){let Xe;g.mGM(Xe=g.lsd())&&(ae._matCalendarBody=Xe.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],standalone:!0,features:[g.aNF],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(be,ae){1&be&&(g.j41(0,"table",0)(1,"thead",1)(2,"tr"),g.nrm(3,"th",2),g.k0s()(),g.j41(4,"tbody",3),g.bIt("selectedValueChange",function(Ht){return ae._monthSelected(Ht)})("activeDateChange",function(Ht){return ae._updateActiveDate(Ht)})("keyup",function(Ht){return ae._handleCalendarBodyKeyup(Ht)})("keydown",function(Ht){return ae._handleCalendarBodyKeydown(Ht)}),g.k0s()()),2&be&&(g.R7$(4),g.Y8G("label",ae._yearLabel)("rows",ae._months)("todayValue",ae._todayMonth)("startValue",ae._selectedMonth)("endValue",ae._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",ae._dateAdapter.getMonth(ae.activeDate)))},dependencies:[Cn],encapsulation:2,changeDetection:0})}return mt})(),lo=1,to=(()=>{class mt{constructor(O,be,ae,Xe,Ht){this._intl=O,this.calendar=be,this._dateAdapter=ae,this._dateFormats=Xe,this._id="mat-calendar-header-"+lo++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>Ht.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}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:-Bi)}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:Bi)}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(O,be){return"month"==this.calendar.currentView?this._dateAdapter.getYear(O)==this._dateAdapter.getYear(be)&&this._dateAdapter.getMonth(O)==this._dateAdapter.getMonth(be):"year"==this.calendar.currentView?this._dateAdapter.getYear(O)==this._dateAdapter.getYear(be):Oi(this._dateAdapter,O,be,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const be=this._dateAdapter.getYear(this.calendar.activeDate)-kr(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ae=be+Bi-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(be,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(ae,0,1))]}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(Ii),g.rXU((0,g.Rfq)(()=>pt)),g.rXU(M.MJ,8),g.rXU(M.de,8),g.rXU(g.gRc))};static#t=this.\u0275cmp=g.VBU({type:mt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[g.aNF],ngContentSelectors:Ue,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],[1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",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,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"]],template:function(be,ae){1&be&&(g.NAR(),g.j41(0,"div",0)(1,"div",1)(2,"label",2),g.EFF(3),g.k0s(),g.j41(4,"button",3),g.bIt("click",function(){return ae.currentPeriodClicked()}),g.j41(5,"span",4),g.EFF(6),g.k0s(),g.qSk(),g.j41(7,"svg",5),g.nrm(8,"polygon",6),g.k0s()(),g.joV(),g.nrm(9,"div",7),g.SdG(10),g.j41(11,"button",8),g.bIt("click",function(){return ae.previousClicked()}),g.k0s(),g.j41(12,"button",9),g.bIt("click",function(){return ae.nextClicked()}),g.k0s()()()),2&be&&(g.R7$(2),g.Y8G("id",ae._periodButtonLabelId),g.R7$(),g.JRh(ae.periodButtonDescription),g.R7$(),g.BMQ("aria-label",ae.periodButtonLabel)("aria-describedby",ae._periodButtonLabelId),g.R7$(2),g.JRh(ae.periodButtonText),g.R7$(),g.AVh("mat-calendar-invert","month"!==ae.calendar.currentView),g.R7$(4),g.Y8G("disabled",!ae.previousEnabled()),g.BMQ("aria-label",ae.prevButtonLabel),g.R7$(),g.Y8G("disabled",!ae.nextEnabled()),g.BMQ("aria-label",ae.nextButtonLabel))},dependencies:[Ae,jt],encapsulation:2,changeDetection:0})}return mt})(),pt=(()=>{class mt{get startAt(){return this._startAt}set startAt(O){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}get selected(){return this._selected}set selected(O){this._selected=O instanceof Wt?O:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}get minDate(){return this._minDate}set minDate(O){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}get maxDate(){return this._maxDate}set maxDate(O){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}get activeDate(){return this._clampedActiveDate}set activeDate(O){this._clampedActiveDate=this._dateAdapter.clampDate(O,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(O){const be=this._currentView!==O?O:null;this._currentView=O,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),be&&this.viewChanged.emit(be)}constructor(O,be,ae,Xe){this._dateAdapter=be,this._dateFormats=ae,this._changeDetectorRef=Xe,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new g.bkB,this.yearSelected=new g.bkB,this.monthSelected=new g.bkB,this.viewChanged=new g.bkB(!0),this._userSelection=new g.bkB,this._userDragDrop=new g.bkB,this._activeDrag=null,this.stateChanges=new tt.B,this._intlChanges=O.changes.subscribe(()=>{Xe.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new y.A8(this.headerComponent||to),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(O){const be=O.minDate&&!this._dateAdapter.sameDate(O.minDate.previousValue,O.minDate.currentValue)?O.minDate:void 0,ae=O.maxDate&&!this._dateAdapter.sameDate(O.maxDate.previousValue,O.maxDate.currentValue)?O.maxDate:void 0,Xe=be||ae||O.dateFilter;if(Xe&&!Xe.firstChange){const Ht=this._getCurrentViewComponent();Ht&&(this._changeDetectorRef.detectChanges(),Ht._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(O){const be=O.value;(this.selected instanceof Wt||be&&!this._dateAdapter.sameDate(be,this.selected))&&this.selectedChange.emit(be),this._userSelection.emit(O)}_yearSelectedInMultiYearView(O){this.yearSelected.emit(O)}_monthSelectedInYearView(O){this.monthSelected.emit(O)}_goToDateInView(O,be){this.activeDate=O,this.currentView=be}_dragStarted(O){this._activeDrag=O}_dragEnded(O){this._activeDrag&&(O.value&&this._userDragDrop.emit(O),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(Ii),g.rXU(M.MJ,8),g.rXU(M.de,8),g.rXU(g.gRc))};static#t=this.\u0275cmp=g.VBU({type:mt,selectors:[["mat-calendar"]],viewQuery:function(be,ae){if(1&be&&(g.GBs(Di,5),g.GBs(jo,5),g.GBs(vr,5)),2&be){let Xe;g.mGM(Xe=g.lsd())&&(ae.monthView=Xe.first),g.mGM(Xe=g.lsd())&&(ae.yearView=Xe.first),g.mGM(Xe=g.lsd())&&(ae.multiYearView=Xe.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",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],standalone:!0,features:[g.Jv_([wn]),g.OA$,g.aNF],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(be,ae){if(1&be&&(g.DNE(0,st,0,0,"ng-template",0),g.j41(1,"div",1),g.DNE(2,zt,1,11)(3,Lt,1,6)(4,fn,1,6),g.k0s()),2&be){let Xe;g.Y8G("cdkPortalOutlet",ae._calendarHeaderPortal),g.R7$(2),g.vxM(2,"month"===(Xe=ae.currentView)?2:"year"===Xe?3:"multi-year"===Xe?4:-1)}},dependencies:[y.I3,n.vR,Di,jo,vr],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.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-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.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;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.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;background:var(--mat-datepicker-calendar-header-divider-color)}.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})}return mt})();const Ce={transformPanel:(0,gn.hZ)("transformPanel",[(0,gn.kY)("void => enter-dropdown",(0,gn.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,gn.i7)([(0,gn.iF)({opacity:0,transform:"scale(1, 0.8)"}),(0,gn.iF)({opacity:1,transform:"scale(1, 1)"})]))),(0,gn.kY)("void => enter-dialog",(0,gn.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,gn.i7)([(0,gn.iF)({opacity:0,transform:"scale(0.7)"}),(0,gn.iF)({transform:"none",opacity:1})]))),(0,gn.kY)("* => void",(0,gn.i0)("100ms linear",(0,gn.iF)({opacity:0})))]),fadeInCalendar:(0,gn.hZ)("fadeInCalendar",[(0,gn.wk)("void",(0,gn.iF)({opacity:0})),(0,gn.wk)("enter",(0,gn.iF)({opacity:1})),(0,gn.kY)("void => *",(0,gn.i0)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let le=0;const Me=new g.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const mt=(0,g.WQX)(r.hJ);return()=>mt.scrollStrategies.reposition()}}),Je={provide:Me,deps:[r.hJ],useFactory:function ne(mt){return()=>mt.scrollStrategies.reposition()}};let oe=(()=>{class mt{constructor(O,be,ae,Xe,Ht,wi){this._elementRef=O,this._changeDetectorRef=be,this._globalModel=ae,this._dateAdapter=Xe,this._rangeSelectionStrategy=Ht,this._subscriptions=new rt.yU,this._animationDone=new tt.B,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=wi.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(O){const be=this._model.selection,ae=O.value,Xe=be instanceof Wt;if(Xe&&this._rangeSelectionStrategy){const Ht=this._rangeSelectionStrategy.selectionFinished(ae,be,O.event);this._model.updateSelection(Ht,this)}else ae&&(Xe||!this._dateAdapter.sameDate(ae,be))&&this._model.add(ae);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(O){this._model.updateSelection(O.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(O){this._isAnimating="start"===O.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(O,be){this._model=O?this._globalModel.clone():this._globalModel,this._actionsPortal=O,be&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(g.aKT),g.rXU(g.gRc),g.rXU(Et),g.rXU(M.MJ),g.rXU(re,8),g.rXU(Ii))};static#t=this.\u0275cmp=g.VBU({type:mt,selectors:[["mat-datepicker-content"]],viewQuery:function(be,ae){if(1&be&&g.GBs(pt,5),2&be){let Xe;g.mGM(Xe=g.lsd())&&(ae._calendar=Xe.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(be,ae){1&be&&g.Kam("@transformPanel.start",function(Ht){return ae._handleAnimationEvent(Ht)})("@transformPanel.done",function(Ht){return ae._handleAnimationEvent(Ht)}),2&be&&(g.zvX("@transformPanel",ae._animationState),g.HbH(ae.color?"mat-"+ae.color:""),g.AVh("mat-datepicker-content-touch",ae.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[g.aNF],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(be,ae){if(1&be&&(g.j41(0,"div",0)(1,"mat-calendar",1),g.bIt("yearSelected",function(Ht){return ae.datepicker._selectYear(Ht)})("monthSelected",function(Ht){return ae.datepicker._selectMonth(Ht)})("viewChanged",function(Ht){return ae.datepicker._viewChanged(Ht)})("_userSelection",function(Ht){return ae._handleUserSelection(Ht)})("_userDragDrop",function(Ht){return ae._handleUserDragDrop(Ht)}),g.k0s(),g.DNE(2,jn,0,0,"ng-template",2),g.j41(3,"button",3),g.bIt("focus",function(){return ae._closeButtonFocused=!0})("blur",function(){return ae._closeButtonFocused=!1})("click",function(){return ae.datepicker.close()}),g.EFF(4),g.k0s()()),2&be){let Xe;g.AVh("mat-datepicker-content-container-with-custom-header",ae.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",ae._actionsPortal),g.BMQ("aria-modal",!0)("aria-labelledby",null!==(Xe=ae._dialogLabelId)&&void 0!==Xe?Xe:void 0),g.R7$(),g.HbH(ae.datepicker.panelClass),g.Y8G("id",ae.datepicker.id)("startAt",ae.datepicker.startAt)("startView",ae.datepicker.startView)("minDate",ae.datepicker._getMinDate())("maxDate",ae.datepicker._getMaxDate())("dateFilter",ae.datepicker._getDateFilter())("headerComponent",ae.datepicker.calendarHeaderComponent)("selected",ae._getSelected())("dateClass",ae.datepicker.dateClass)("comparisonStart",ae.comparisonStart)("comparisonEnd",ae.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",ae.startDateAccessibleName)("endDateAccessibleName",ae.endDateAccessibleName),g.R7$(),g.Y8G("cdkPortalOutlet",ae._actionsPortal),g.R7$(),g.AVh("cdk-visually-hidden",!ae._closeButtonFocused),g.Y8G("color",ae.color||"primary"),g.R7$(),g.JRh(ae._closeButtonText)}},dependencies:[n.kB,pt,y.I3,Ae],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.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;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-touch-shape);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:[Ce.transformPanel,Ce.fadeInCalendar]},changeDetection:0})}return mt})(),Te=(()=>{class mt{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(O){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(O){this._color=O}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(O){O!==this._disabled&&(this._disabled=O,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(O){this._panelClass=(0,ei.cc)(O)}get opened(){return this._opened}set opened(O){O?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}constructor(O,be,ae,Xe,Ht,wi,Nr){this._overlay=O,this._ngZone=be,this._viewContainerRef=ae,this._dateAdapter=Ht,this._dir=wi,this._model=Nr,this._inputStateChanges=rt.yU.EMPTY,this._document=(0,g.WQX)(F.qQ),this.startView="month",this.touchUi=!1,this.xPosition="start",this.yPosition="below",this.restoreFocus=!0,this.yearSelected=new g.bkB,this.monthSelected=new g.bkB,this.viewChanged=new g.bkB(!0),this.openedStream=new g.bkB,this.closedStream=new g.bkB,this._opened=!1,this.id="mat-datepicker-"+le++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new tt.B,this._scrollStrategy=Xe}ngOnChanges(O){const be=O.xPosition||O.yPosition;if(be&&!be.firstChange&&this._overlayRef){const ae=this._overlayRef.getConfig().positionStrategy;ae instanceof r.rW&&(this._setConnectedPositions(ae),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(O){this._model.add(O)}_selectYear(O){this.yearSelected.emit(O)}_selectMonth(O){this.monthSelected.emit(O)}_viewChanged(O){this.viewChanged.emit(O)}registerInput(O){return this._inputStateChanges.unsubscribe(),this.datepickerInput=O,this._inputStateChanges=O.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(O){this._actionsPortal=O,this._componentRef?.instance._assignActions(O,!0)}removeActions(O){O===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,A.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const O=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,be=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:ae,location:Xe}=this._componentRef;ae._startExitAnimation(),ae._animationDone.pipe((0,et.s)(1)).subscribe(()=>{const Ht=this._document.activeElement;O&&(!Ht||Ht===this._document.activeElement||Xe.nativeElement.contains(Ht))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}O?setTimeout(be):be()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(O){O.datepicker=this,O.color=this.color,O._dialogLabelId=this.datepickerInput.getOverlayLabelId(),O._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const O=this.touchUi,be=new y.A8(oe,this._viewContainerRef),ae=this._overlayRef=this._overlay.create(new r.rR({positionStrategy:O?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[O?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:O?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(O?"dialog":"popup")}));this._getCloseStream(ae).subscribe(Xe=>{Xe&&Xe.preventDefault(),this.close()}),ae.keydownEvents().subscribe(Xe=>{const Ht=Xe.keyCode;(Ht===pe.i7||Ht===pe.n6||Ht===pe.UQ||Ht===pe.LE||Ht===pe.w_||Ht===pe.dB)&&Xe.preventDefault()}),this._componentRef=ae.attach(be),this._forwardContentValues(this._componentRef.instance),O||this._ngZone.onStable.pipe((0,et.s)(1)).subscribe(()=>ae.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const O=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(O)}_setConnectedPositions(O){const be="end"===this.xPosition?"end":"start",ae="start"===be?"end":"start",Xe="above"===this.yPosition?"bottom":"top",Ht="top"===Xe?"bottom":"top";return O.withPositions([{originX:be,originY:Ht,overlayX:be,overlayY:Xe},{originX:be,originY:Xe,overlayX:be,overlayY:Ht},{originX:ae,originY:Ht,overlayX:ae,overlayY:Xe},{originX:ae,originY:Xe,overlayX:ae,overlayY:Ht}])}_getCloseStream(O){const be=["ctrlKey","shiftKey","metaKey"];return(0,Ft.h)(O.backdropClick(),O.detachments(),O.keydownEvents().pipe((0,Fn.p)(ae=>ae.keyCode===pe._f&&!(0,pe.rp)(ae)||this.datepickerInput&&(0,pe.rp)(ae,"altKey")&&ae.keyCode===pe.i7&&be.every(Xe=>!(0,pe.rp)(ae,Xe)))))}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(r.hJ),g.rXU(g.SKi),g.rXU(g.c1b),g.rXU(Me),g.rXU(M.MJ,8),g.rXU(Pe.dS,8),g.rXU(Et))};static#t=this.\u0275dir=g.FsC({type:mt,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[g.Mj6.HasDecoratorInputTransform,"touchUi","touchUi",g.L39],disabled:[g.Mj6.HasDecoratorInputTransform,"disabled","disabled",g.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[g.Mj6.HasDecoratorInputTransform,"restoreFocus","restoreFocus",g.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[g.Mj6.HasDecoratorInputTransform,"opened","opened",g.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[g.GFd,g.OA$]})}return mt})(),ht=(()=>{class mt extends Te{static#e=this.\u0275fac=(()=>{let O;return function(ae){return(O||(O=g.xGo(mt)))(ae||mt)}})();static#t=this.\u0275cmp=g.VBU({type:mt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],standalone:!0,features:[g.Jv_([wn,{provide:Te,useExisting:mt}]),g.Vt3,g.aNF],decls:0,vars:0,template:function(be,ae){},encapsulation:2,changeDetection:0})}return mt})();class $t{constructor(Ln,O){this.target=Ln,this.targetElement=O,this.value=this.target.value}}let Kn=(()=>{class mt{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(O){this._assignValueProgrammatically(O)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(O){const be=O,ae=this._elementRef.nativeElement;this._disabled!==be&&(this._disabled=be,this.stateChanges.next(void 0)),be&&this._isInitialized&&ae.blur&&ae.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(O){this._model=O,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(be=>{if(this._shouldHandleChangeEvent(be)){const ae=this._getValueFromModel(be.selection);this._lastValueValid=this._isValidValue(ae),this._cvaOnChange(ae),this._onTouched(),this._formatValue(ae),this.dateInput.emit(new $t(this,this._elementRef.nativeElement)),this.dateChange.emit(new $t(this,this._elementRef.nativeElement))}})}constructor(O,be,ae){this._elementRef=O,this._dateAdapter=be,this._dateFormats=ae,this.dateChange=new g.bkB,this.dateInput=new g.bkB,this.stateChanges=new tt.B,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=rt.yU.EMPTY,this._localeSubscription=rt.yU.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Xe=>{const Ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Xe.value));return!Ht||this._matchesFilter(Ht)?null:{matDatepickerFilter:!0}},this._minValidator=Xe=>{const Ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Xe.value)),wi=this._getMinDate();return!wi||!Ht||this._dateAdapter.compareDate(wi,Ht)<=0?null:{matDatepickerMin:{min:wi,actual:Ht}}},this._maxValidator=Xe=>{const Ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Xe.value)),wi=this._getMaxDate();return!wi||!Ht||this._dateAdapter.compareDate(wi,Ht)>=0?null:{matDatepickerMax:{max:wi,actual:Ht}}},this._lastValueValid=!1,this._localeSubscription=be.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(O){(function Qn(mt,Ln){const O=Object.keys(mt);for(let be of O){const{previousValue:ae,currentValue:Xe}=mt[be];if(!Ln.isDateInstance(ae)||!Ln.isDateInstance(Xe))return!0;if(!Ln.sameDate(ae,Xe))return!0}return!1})(O,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(O){this._validatorOnChange=O}validate(O){return this._validator?this._validator(O):null}writeValue(O){this._assignValueProgrammatically(O)}registerOnChange(O){this._cvaOnChange=O}registerOnTouched(O){this._onTouched=O}setDisabledState(O){this.disabled=O}_onKeydown(O){(0,pe.rp)(O,"altKey")&&O.keyCode===pe.n6&&["ctrlKey","shiftKey","metaKey"].every(Xe=>!(0,pe.rp)(O,Xe))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),O.preventDefault())}_onInput(O){const be=this._lastValueValid;let ae=this._dateAdapter.parse(O,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ae),ae=this._dateAdapter.getValidDateOrNull(ae);const Xe=!this._dateAdapter.sameDate(ae,this.value);!ae||Xe?this._cvaOnChange(ae):(O&&!this.value&&this._cvaOnChange(ae),be!==this._lastValueValid&&this._validatorOnChange()),Xe&&(this._assignValue(ae),this.dateInput.emit(new $t(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new $t(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(O){this._elementRef.nativeElement.value=null!=O?this._dateAdapter.format(O,this._dateFormats.display.dateInput):""}_assignValue(O){this._model?(this._assignValueToModel(O),this._pendingValue=null):this._pendingValue=O}_isValidValue(O){return!O||this._dateAdapter.isValid(O)}_parentDisabled(){return!1}_assignValueProgrammatically(O){O=this._dateAdapter.deserialize(O),this._lastValueValid=this._isValidValue(O),O=this._dateAdapter.getValidDateOrNull(O),this._assignValue(O),this._formatValue(O)}_matchesFilter(O){const be=this._getDateFilter();return!be||be(O)}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(g.aKT),g.rXU(M.MJ,8),g.rXU(M.de,8))};static#t=this.\u0275dir=g.FsC({type:mt,inputs:{value:"value",disabled:[g.Mj6.HasDecoratorInputTransform,"disabled","disabled",g.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},standalone:!0,features:[g.GFd,g.OA$]})}return mt})();const ni={provide:pi.kq,useExisting:(0,g.Rfq)(()=>Ui),multi:!0},Ni={provide:pi.cz,useExisting:(0,g.Rfq)(()=>Ui),multi:!0};let Ui=(()=>{class mt extends Kn{set matDatepicker(O){O&&(this._datepicker=O,this._closedSubscription=O.closedStream.subscribe(()=>this._onTouched()),this._registerModel(O.registerInput(this)))}get min(){return this._min}set min(O){const be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O));this._dateAdapter.sameDate(be,this._min)||(this._min=be,this._validatorOnChange())}get max(){return this._max}set max(O){const be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(O));this._dateAdapter.sameDate(be,this._max)||(this._max=be,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(O){const be=this._matchesFilter(this.value);this._dateFilter=O,this._matchesFilter(this.value)!==be&&this._validatorOnChange()}constructor(O,be,ae,Xe){super(O,be,ae),this._formField=Xe,this._closedSubscription=rt.yU.EMPTY,this._validator=pi.k0.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(O){return O}_assignValueToModel(O){this._model&&this._model.updateSelection(O,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(O){return O.source!==this}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(g.aKT),g.rXU(M.MJ,8),g.rXU(M.de,8),g.rXU(hi.xb,8))};static#t=this.\u0275dir=g.FsC({type:mt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(be,ae){1&be&&g.bIt("input",function(Ht){return ae._onInput(Ht.target.value)})("change",function(){return ae._onChange()})("blur",function(){return ae._onBlur()})("keydown",function(Ht){return ae._onKeydown(Ht)}),2&be&&(g.Mr5("disabled",ae.disabled),g.BMQ("aria-haspopup",ae._datepicker?"dialog":null)("aria-owns",(null==ae._datepicker?null:ae._datepicker.opened)&&ae._datepicker.id||null)("min",ae.min?ae._dateAdapter.toIso8601(ae.min):null)("max",ae.max?ae._dateAdapter.toIso8601(ae.max):null)("data-mat-calendar",ae._datepicker?ae._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[g.Mj6.None,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],standalone:!0,features:[g.Jv_([ni,Ni,{provide:xi.Oh,useExisting:mt}]),g.Vt3]})}return mt})(),rr=(()=>{class mt{static#e=this.\u0275fac=function(be){return new(be||mt)};static#t=this.\u0275dir=g.FsC({type:mt,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0})}return mt})(),$i=(()=>{class mt{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(O){this._disabled=O}constructor(O,be,ae){this._intl=O,this._changeDetectorRef=be,this._stateChanges=rt.yU.EMPTY;const Xe=Number(ae);this.tabIndex=Xe||0===Xe?Xe:null}ngOnChanges(O){O.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(O){this.datepicker&&!this.disabled&&(this.datepicker.open(),O.stopPropagation())}_watchStateChanges(){const O=this.datepicker?this.datepicker.stateChanges:(0,Le.of)(),be=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,Le.of)(),ae=this.datepicker?(0,Ft.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,Le.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Ft.h)(this._intl.changes,O,be,ae).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(be){return new(be||mt)(g.rXU(Ii),g.rXU(g.gRc),g.kS0("tabindex"))};static#t=this.\u0275cmp=g.VBU({type:mt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(be,ae,Xe){if(1&be&&g.wni(Xe,rr,5),2&be){let Ht;g.mGM(Ht=g.lsd())&&(ae._customIcon=Ht.first)}},viewQuery:function(be,ae){if(1&be&&g.GBs(Kt,5),2&be){let Xe;g.mGM(Xe=g.lsd())&&(ae._button=Xe.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(be,ae){1&be&&g.bIt("click",function(Ht){return ae._open(Ht)}),2&be&&(g.BMQ("tabindex",null)("data-mat-calendar",ae.datepicker?ae.datepicker.id:null),g.AVh("mat-datepicker-toggle-active",ae.datepicker&&ae.datepicker.opened)("mat-accent",ae.datepicker&&"accent"===ae.datepicker.color)("mat-warn",ae.datepicker&&"warn"===ae.datepicker.color))},inputs:{datepicker:[g.Mj6.None,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[g.Mj6.None,"aria-label","ariaLabel"],disabled:[g.Mj6.HasDecoratorInputTransform,"disabled","disabled",g.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[g.GFd,g.OA$,g.aNF],ngContentSelectors:ft,decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",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(be,ae){1&be&&(g.NAR(En),g.j41(0,"button",1,0),g.DNE(2,Tt,2,0,":svg:svg",2),g.SdG(3),g.k0s()),2&be&&(g.Y8G("disabled",ae.disabled)("disableRipple",ae.disableRipple),g.BMQ("aria-haspopup",ae.datepicker?"dialog":null)("aria-label",ae.ariaLabel||ae._intl.openCalendarLabel)("tabindex",ae.disabled?-1:ae.tabIndex),g.R7$(2),g.vxM(2,ae._customIcon?-1:2))},dependencies:[jt],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return mt})(),Hi=(()=>{class mt{static#e=this.\u0275fac=function(be){return new(be||mt)};static#t=this.\u0275mod=g.$C({type:mt});static#n=this.\u0275inj=g.G2t({providers:[Ii,Je],imports:[F.MD,nt,r.z_,n.Pd,y.jc,M.yE,oe,$i,to,ut.Gj]})}return mt})()},5351:(_t,ge,f)=>{"use strict";f.d(ge,{Vh:()=>Fn,bZ:()=>ti,tx:()=>Zi,Yi:()=>me,hM:()=>Lt,CP:()=>et});var n=f(7987),r=f(177),y=f(4438),F=f(8617),g=f(6860),A=f(6939),M=f(7336),B=f(1413),V=f(9030),T=f(7673),N=f(8203),U=f(9172);function b(Kt,En){}class G{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,this.closeOnOverlayDetachments=!0}}let ce=(()=>{class Kt extends A.lb{constructor(ft,Tt,Qt,Tn,Xn,Bn,Ii,qn){super(),this._elementRef=ft,this._focusTrapFactory=Tt,this._config=Tn,this._interactivityChecker=Xn,this._ngZone=Bn,this._overlayRef=Ii,this._focusMonitor=qn,this._platform=(0,y.WQX)(g.OD),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,y.WQX)(y.gRc),this.attachDomPortal=Qi=>{this._portalOutlet.hasAttached();const sn=this._portalOutlet.attachDomPortal(Qi);return this._contentAttached(),sn},this._document=Qt,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(ft){this._ariaLabelledByQueue.push(ft),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(ft){const Tt=this._ariaLabelledByQueue.indexOf(ft);Tt>-1&&(this._ariaLabelledByQueue.splice(Tt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ft){this._portalOutlet.hasAttached();const Tt=this._portalOutlet.attachComponentPortal(ft);return this._contentAttached(),Tt}attachTemplatePortal(ft){this._portalOutlet.hasAttached();const Tt=this._portalOutlet.attachTemplatePortal(ft);return this._contentAttached(),Tt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ft,Tt){this._interactivityChecker.isFocusable(ft)||(ft.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Qt=()=>{ft.removeEventListener("blur",Qt),ft.removeEventListener("mousedown",Qt),ft.removeAttribute("tabindex")};ft.addEventListener("blur",Qt),ft.addEventListener("mousedown",Qt)})),ft.focus(Tt)}_focusByCssSelector(ft,Tt){let Qt=this._elementRef.nativeElement.querySelector(ft);Qt&&this._forceFocus(Qt,Tt)}_trapFocus(){const ft=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ft.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(Tt=>{Tt||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 ft=this._config.restoreFocus;let Tt=null;if("string"==typeof ft?Tt=this._document.querySelector(ft):"boolean"==typeof ft?Tt=ft?this._elementFocusedBeforeDialogWasOpened:null:ft&&(Tt=ft),this._config.restoreFocus&&Tt&&"function"==typeof Tt.focus){const Qt=(0,g.vc)(),Tn=this._elementRef.nativeElement;(!Qt||Qt===this._document.body||Qt===Tn||Tn.contains(Qt))&&(this._focusMonitor?(this._focusMonitor.focusVia(Tt,this._closeInteractionType),this._closeInteractionType=null):Tt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ft=this._elementRef.nativeElement,Tt=(0,g.vc)();return ft===Tt||ft.contains(Tt)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,g.vc)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(Tt){return new(Tt||Kt)(y.rXU(y.aKT),y.rXU(F.GX),y.rXU(r.qQ,8),y.rXU(G),y.rXU(F.Z7),y.rXU(y.SKi),y.rXU(n.yY),y.rXU(F.FN))};static#t=this.\u0275cmp=y.VBU({type:Kt,selectors:[["cdk-dialog-container"]],viewQuery:function(Tt,Qt){if(1&Tt&&y.GBs(A.I3,7),2&Tt){let Tn;y.mGM(Tn=y.lsd())&&(Qt._portalOutlet=Tn.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Tt,Qt){2&Tt&&y.BMQ("id",Qt._config.id||null)("role",Qt._config.role)("aria-modal",Qt._config.ariaModal)("aria-labelledby",Qt._config.ariaLabel?null:Qt._ariaLabelledByQueue[0])("aria-label",Qt._config.ariaLabel)("aria-describedby",Qt._config.ariaDescribedBy||null)},standalone:!0,features:[y.Vt3,y.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Tt,Qt){1&Tt&&y.DNE(0,b,0,0,"ng-template",0)},dependencies:[A.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return Kt})();class J{constructor(En,ft){this.overlayRef=En,this.config=ft,this.closed=new B.B,this.disableClose=ft.disableClose,this.backdropClick=En.backdropClick(),this.keydownEvents=En.keydownEvents(),this.outsidePointerEvents=En.outsidePointerEvents(),this.id=ft.id,this.keydownEvents.subscribe(Tt=>{Tt.keyCode===M._f&&!this.disableClose&&!(0,M.rp)(Tt)&&(Tt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=En.detachments().subscribe(()=>{!1!==ft.closeOnOverlayDetachments&&this.close()})}close(En,ft){if(this.containerInstance){const Tt=this.closed;this.containerInstance._closeInteractionType=ft?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Tt.next(En),Tt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(En="",ft=""){return this.overlayRef.updateSize({width:En,height:ft}),this}addPanelClass(En){return this.overlayRef.addPanelClass(En),this}removePanelClass(En){return this.overlayRef.removePanelClass(En),this}}const Se=new y.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const Kt=(0,y.WQX)(n.hJ);return()=>Kt.scrollStrategies.block()}}),Ne=new y.nKC("DialogData"),ot=new y.nKC("DefaultDialogConfig");let Ge=0,se=(()=>{class Kt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(ft,Tt,Qt,Tn,Xn,Bn){this._overlay=ft,this._injector=Tt,this._defaultOptions=Qt,this._parentDialog=Tn,this._overlayContainer=Xn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new B.B,this._afterOpenedAtThisLevel=new B.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,V.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,U.Z)(void 0))),this._scrollStrategy=Bn}open(ft,Tt){(Tt={...this._defaultOptions||new G,...Tt}).id=Tt.id||"cdk-dialog-"+Ge++,Tt.id&&this.getDialogById(Tt.id);const Tn=this._getOverlayConfig(Tt),Xn=this._overlay.create(Tn),Bn=new J(Xn,Tt),Ii=this._attachContainer(Xn,Bn,Tt);return Bn.containerInstance=Ii,this._attachDialogContent(ft,Bn,Ii,Tt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Bn),Bn.closed.subscribe(()=>this._removeOpenDialog(Bn,!0)),this.afterOpened.next(Bn),Bn}closeAll(){Ae(this.openDialogs,ft=>ft.close())}getDialogById(ft){return this.openDialogs.find(Tt=>Tt.id===ft)}ngOnDestroy(){Ae(this._openDialogsAtThisLevel,ft=>{!1===ft.config.closeOnDestroy&&this._removeOpenDialog(ft,!1)}),Ae(this._openDialogsAtThisLevel,ft=>ft.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ft){const Tt=new n.rR({positionStrategy:ft.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:ft.scrollStrategy||this._scrollStrategy(),panelClass:ft.panelClass,hasBackdrop:ft.hasBackdrop,direction:ft.direction,minWidth:ft.minWidth,minHeight:ft.minHeight,maxWidth:ft.maxWidth,maxHeight:ft.maxHeight,width:ft.width,height:ft.height,disposeOnNavigation:ft.closeOnNavigation});return ft.backdropClass&&(Tt.backdropClass=ft.backdropClass),Tt}_attachContainer(ft,Tt,Qt){const Tn=Qt.injector||Qt.viewContainerRef?.injector,Xn=[{provide:G,useValue:Qt},{provide:J,useValue:Tt},{provide:n.yY,useValue:ft}];let Bn;Qt.container?"function"==typeof Qt.container?Bn=Qt.container:(Bn=Qt.container.type,Xn.push(...Qt.container.providers(Qt))):Bn=ce;const Ii=new A.A8(Bn,Qt.viewContainerRef,y.zZn.create({parent:Tn||this._injector,providers:Xn}),Qt.componentFactoryResolver);return ft.attach(Ii).instance}_attachDialogContent(ft,Tt,Qt,Tn){if(ft instanceof y.C4Q){const Xn=this._createInjector(Tn,Tt,Qt,void 0);let Bn={$implicit:Tn.data,dialogRef:Tt};Tn.templateContext&&(Bn={...Bn,..."function"==typeof Tn.templateContext?Tn.templateContext():Tn.templateContext}),Qt.attachTemplatePortal(new A.VA(ft,null,Bn,Xn))}else{const Xn=this._createInjector(Tn,Tt,Qt,this._injector),Bn=Qt.attachComponentPortal(new A.A8(ft,Tn.viewContainerRef,Xn,Tn.componentFactoryResolver));Tt.componentRef=Bn,Tt.componentInstance=Bn.instance}}_createInjector(ft,Tt,Qt,Tn){const Xn=ft.injector||ft.viewContainerRef?.injector,Bn=[{provide:Ne,useValue:ft.data},{provide:J,useValue:Tt}];return ft.providers&&("function"==typeof ft.providers?Bn.push(...ft.providers(Tt,ft,Qt)):Bn.push(...ft.providers)),ft.direction&&(!Xn||!Xn.get(N.dS,null,{optional:!0}))&&Bn.push({provide:N.dS,useValue:{value:ft.direction,change:(0,T.of)()}}),y.zZn.create({parent:Xn||Tn,providers:Bn})}_removeOpenDialog(ft,Tt){const Qt=this.openDialogs.indexOf(ft);Qt>-1&&(this.openDialogs.splice(Qt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Tn,Xn)=>{Tn?Xn.setAttribute("aria-hidden",Tn):Xn.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Tt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ft=this._overlayContainer.getContainerElement();if(ft.parentElement){const Tt=ft.parentElement.children;for(let Qt=Tt.length-1;Qt>-1;Qt--){const Tn=Tt[Qt];Tn!==ft&&"SCRIPT"!==Tn.nodeName&&"STYLE"!==Tn.nodeName&&!Tn.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Tn,Tn.getAttribute("aria-hidden")),Tn.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ft=this._parentDialog;return ft?ft._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(Tt){return new(Tt||Kt)(y.KVO(n.hJ),y.KVO(y.zZn),y.KVO(ot,8),y.KVO(Kt,12),y.KVO(n.Sf),y.KVO(Se))};static#t=this.\u0275prov=y.jDH({token:Kt,factory:Kt.\u0275fac,providedIn:"root"})}return Kt})();function Ae(Kt,En){let ft=Kt.length;for(;ft--;)En(Kt[ft])}let we=(()=>{class Kt{static#e=this.\u0275fac=function(Tt){return new(Tt||Kt)};static#t=this.\u0275mod=y.$C({type:Kt});static#n=this.\u0275inj=y.G2t({providers:[se],imports:[n.z_,A.jc,F.Pd,A.jc]})}return Kt})();var ue=f(4085),Oe=f(7786),Ye=f(5964),yt=f(6697),Yt=f(6600);function qt(Kt,En){}f(9969);class jt{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.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Ot="mdc-dialog--open",nt="mdc-dialog--opening",ut="mdc-dialog--closing";let Ft=(()=>{class Kt extends ce{constructor(ft,Tt,Qt,Tn,Xn,Bn,Ii,qn,Qi){super(ft,Tt,Qt,Tn,Xn,Bn,Ii,Qi),this._animationMode=qn,this._animationStateChanged=new y.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?pe(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?pe(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Le,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(nt,Ot)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ot),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Ot),this._animationsEnabled?(this._hostElement.style.setProperty(Le,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ut)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(ft){this._actionSectionCount+=ft,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(nt,ut)}_waitForAnimationToComplete(ft,Tt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Tt,ft)}_requestAnimationFrame(ft){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(ft):ft()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ft){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ft})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(ft){const Tt=super.attachComponentPortal(ft);return Tt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),Tt}static#e=this.\u0275fac=function(Tt){return new(Tt||Kt)(y.rXU(y.aKT),y.rXU(F.GX),y.rXU(r.qQ,8),y.rXU(jt),y.rXU(F.Z7),y.rXU(y.SKi),y.rXU(n.yY),y.rXU(y.bc$,8),y.rXU(F.FN))};static#t=this.\u0275cmp=y.VBU({type:Kt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(Tt,Qt){2&Tt&&(y.Mr5("id",Qt._config.id),y.BMQ("aria-modal",Qt._config.ariaModal)("role",Qt._config.role)("aria-labelledby",Qt._config.ariaLabel?null:Qt._ariaLabelledByQueue[0])("aria-label",Qt._config.ariaLabel)("aria-describedby",Qt._config.ariaDescribedBy||null),y.AVh("_mat-animation-noopable",!Qt._animationsEnabled)("mat-mdc-dialog-container-with-actions",Qt._actionSectionCount>0))},standalone:!0,features:[y.Vt3,y.aNF],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Tt,Qt){1&Tt&&(y.j41(0,"div",0)(1,"div",1),y.DNE(2,qt,0,0,"ng-template",2),y.k0s()())},dependencies:[A.I3],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return Kt})();const Le="--mat-dialog-transition-duration";function pe(Kt){return null==Kt?null:"number"==typeof Kt?Kt:Kt.endsWith("ms")?(0,ue.OE)(Kt.substring(0,Kt.length-2)):Kt.endsWith("s")?1e3*(0,ue.OE)(Kt.substring(0,Kt.length-1)):"0"===Kt?0:null}var Pe=function(Kt){return Kt[Kt.OPEN=0]="OPEN",Kt[Kt.CLOSING=1]="CLOSING",Kt[Kt.CLOSED=2]="CLOSED",Kt}(Pe||{});class et{constructor(En,ft,Tt){this._ref=En,this._containerInstance=Tt,this._afterOpened=new B.B,this._beforeClosed=new B.B,this._state=Pe.OPEN,this.disableClose=ft.disableClose,this.id=En.id,En.addPanelClass("mat-mdc-dialog-panel"),Tt._animationStateChanged.pipe((0,Ye.p)(Qt=>"opened"===Qt.state),(0,yt.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Tt._animationStateChanged.pipe((0,Ye.p)(Qt=>"closed"===Qt.state),(0,yt.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),En.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Oe.h)(this.backdropClick(),this.keydownEvents().pipe((0,Ye.p)(Qt=>Qt.keyCode===M._f&&!this.disableClose&&!(0,M.rp)(Qt)))).subscribe(Qt=>{this.disableClose||(Qt.preventDefault(),Pt(this,"keydown"===Qt.type?"keyboard":"mouse"))})}close(En){this._result=En,this._containerInstance._animationStateChanged.pipe((0,Ye.p)(ft=>"closing"===ft.state),(0,yt.s)(1)).subscribe(ft=>{this._beforeClosed.next(En),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ft.totalTime+100)}),this._state=Pe.CLOSING,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(En){let ft=this._ref.config.positionStrategy;return En&&(En.left||En.right)?En.left?ft.left(En.left):ft.right(En.right):ft.centerHorizontally(),En&&(En.top||En.bottom)?En.top?ft.top(En.top):ft.bottom(En.bottom):ft.centerVertically(),this._ref.updatePosition(),this}updateSize(En="",ft=""){return this._ref.updateSize(En,ft),this}addPanelClass(En){return this._ref.addPanelClass(En),this}removePanelClass(En){return this._ref.removePanelClass(En),this}getState(){return this._state}_finishDialogClose(){this._state=Pe.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Pt(Kt,En,ft){return Kt._closeInteractionType=En,Kt.close(ft)}const Fn=new y.nKC("MatMdcDialogData"),ei=new y.nKC("mat-mdc-dialog-default-options"),gn=new y.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const Kt=(0,y.WQX)(n.hJ);return()=>Kt.scrollStrategies.block()}});let xi=0,ti=(()=>{class Kt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ft=this._parentDialog;return ft?ft._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(ft,Tt,Qt,Tn,Xn,Bn,Ii,qn){this._overlay=ft,this._defaultOptions=Tn,this._scrollStrategy=Xn,this._parentDialog=Bn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new B.B,this._afterOpenedAtThisLevel=new B.B,this.dialogConfigClass=jt,this.afterAllClosed=(0,V.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,U.Z)(void 0))),this._dialog=Tt.get(se),this._dialogRefConstructor=et,this._dialogContainerType=Ft,this._dialogDataToken=Fn}open(ft,Tt){let Qt;(Tt={...this._defaultOptions||new jt,...Tt}).id=Tt.id||"mat-mdc-dialog-"+xi++,Tt.scrollStrategy=Tt.scrollStrategy||this._scrollStrategy();const Tn=this._dialog.open(ft,{...Tt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Tt},{provide:G,useValue:Tt}]},templateContext:()=>({dialogRef:Qt}),providers:(Xn,Bn,Ii)=>(Qt=new this._dialogRefConstructor(Xn,Tt,Ii),Qt.updatePosition(Tt?.position),[{provide:this._dialogContainerType,useValue:Ii},{provide:this._dialogDataToken,useValue:Bn.data},{provide:this._dialogRefConstructor,useValue:Qt}])});return Qt.componentRef=Tn.componentRef,Qt.componentInstance=Tn.componentInstance,this.openDialogs.push(Qt),this.afterOpened.next(Qt),Qt.afterClosed().subscribe(()=>{const Xn=this.openDialogs.indexOf(Qt);Xn>-1&&(this.openDialogs.splice(Xn,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Qt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ft){return this.openDialogs.find(Tt=>Tt.id===ft)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ft){let Tt=ft.length;for(;Tt--;)ft[Tt].close()}static#e=this.\u0275fac=function(Tt){return new(Tt||Kt)(y.KVO(n.hJ),y.KVO(y.zZn),y.KVO(r.aZ,8),y.KVO(ei,8),y.KVO(gn),y.KVO(Kt,12),y.KVO(n.Sf),y.KVO(y.bc$,8))};static#t=this.\u0275prov=y.jDH({token:Kt,factory:Kt.\u0275fac,providedIn:"root"})}return Kt})(),Zi=(()=>{class Kt{constructor(ft,Tt,Qt){this.dialogRef=ft,this._elementRef=Tt,this._dialog=Qt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function st(Kt,En){let ft=Kt.nativeElement.parentElement;for(;ft&&!ft.classList.contains("mat-mdc-dialog-container");)ft=ft.parentElement;return ft?En.find(Tt=>Tt.id===ft.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(ft){const Tt=ft._matDialogClose||ft._matDialogCloseResult;Tt&&(this.dialogResult=Tt.currentValue)}_onButtonClick(ft){Pt(this.dialogRef,0===ft.screenX&&0===ft.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(Tt){return new(Tt||Kt)(y.rXU(et,8),y.rXU(y.aKT),y.rXU(ti))};static#t=this.\u0275dir=y.FsC({type:Kt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Tt,Qt){1&Tt&&y.bIt("click",function(Xn){return Qt._onButtonClick(Xn)}),2&Tt&&y.BMQ("aria-label",Qt.ariaLabel||null)("type",Qt.type)},inputs:{ariaLabel:[y.Mj6.None,"aria-label","ariaLabel"],type:"type",dialogResult:[y.Mj6.None,"mat-dialog-close","dialogResult"],_matDialogClose:[y.Mj6.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[y.OA$]})}return Kt})(),me=(()=>{class Kt{static#e=this.\u0275fac=function(Tt){return new(Tt||Kt)};static#t=this.\u0275dir=y.FsC({type:Kt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0})}return Kt})();let Lt=(()=>{class Kt{static#e=this.\u0275fac=function(Tt){return new(Tt||Kt)};static#t=this.\u0275mod=y.$C({type:Kt});static#n=this.\u0275inj=y.G2t({providers:[ti],imports:[we,n.z_,A.jc,Yt.yE,Yt.yE]})}return Kt})()},2102:(_t,ge,f)=>{"use strict";f.d(ge,{xb:()=>ft,rl:()=>qn,qT:()=>fn,RG:()=>Qi,yw:()=>ki});var n=f(4438),r=f(8203),y=f(6860),F=f(8359),g=f(1413),A=f(7786),M=f(6977),B=f(1985),V=f(5964),T=f(4668);class U{constructor(oi){this._box=oi,this._destroyed=new g.B,this._resizeSubject=new g.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Zt=>this._resizeSubject.next(Zt)))}observe(oi){return this._elementObservables.has(oi)||this._elementObservables.set(oi,new B.c(Zt=>{const Cn=this._resizeSubject.subscribe(Zt);return this._resizeObserver?.observe(oi,{box:this._box}),()=>{this._resizeObserver?.unobserve(oi),Cn.unsubscribe(),this._elementObservables.delete(oi)}}).pipe((0,V.p)(Zt=>Zt.some(Cn=>Cn.target===oi)),(0,T.t)({bufferSize:1,refCount:!0}),(0,M.Q)(this._destroyed))),this._elementObservables.get(oi)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let b=(()=>{class sn{constructor(){this._observers=new Map,this._ngZone=(0,n.WQX)(n.SKi)}ngOnDestroy(){for(const[,Zt]of this._observers)Zt.destroy();this._observers.clear()}observe(Zt,Cn){const Dn=Cn?.box||"content-box";return this._observers.has(Dn)||this._observers.set(Dn,new U(Dn)),this._observers.get(Dn).observe(Zt)}static#e=this.\u0275fac=function(Cn){return new(Cn||sn)};static#t=this.\u0275prov=n.jDH({token:sn,factory:sn.\u0275fac,providedIn:"root"})}return sn})();var G=f(4085),R=f(9969),ce=f(177),J=f(2318),Se=f(6600);const Ne=["notch"],ot=["matFormFieldNotchedOutline",""],dt=["*"],He=["textField"],Ge=["iconPrefixContainer"],se=["textPrefixContainer"],Ae=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],we=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function ue(sn,oi){1&sn&&n.nrm(0,"span",17)}function Oe(sn,oi){if(1&sn&&(n.j41(0,"label",16),n.SdG(1,1),n.DNE(2,ue,1,0,"span",17),n.k0s()),2&sn){const Zt=n.XpG(2);n.Y8G("floating",Zt._shouldLabelFloat())("monitorResize",Zt._hasOutline())("id",Zt._labelId),n.BMQ("for",Zt._control.id),n.R7$(2),n.vxM(2,!Zt.hideRequiredMarker&&Zt._control.required?2:-1)}}function Ye(sn,oi){if(1&sn&&n.DNE(0,Oe,3,5,"label",16),2&sn){const Zt=n.XpG();n.vxM(0,Zt._hasFloatingLabel()?0:-1)}}function yt(sn,oi){1&sn&&n.nrm(0,"div",5)}function Yt(sn,oi){}function Vt(sn,oi){if(1&sn&&n.DNE(0,Yt,0,0,"ng-template",11),2&sn){n.XpG(2);const Zt=n.sdS(1);n.Y8G("ngTemplateOutlet",Zt)}}function qt(sn,oi){if(1&sn&&(n.j41(0,"div",7),n.DNE(1,Vt,1,1,null,11),n.k0s()),2&sn){const Zt=n.XpG();n.Y8G("matFormFieldNotchedOutlineOpen",Zt._shouldLabelFloat()),n.R7$(),n.vxM(1,Zt._forceDisplayInfixLabel()?-1:1)}}function jt(sn,oi){1&sn&&(n.j41(0,"div",8,2),n.SdG(2,2),n.k0s())}function Ot(sn,oi){1&sn&&(n.j41(0,"div",9,3),n.SdG(2,3),n.k0s())}function nt(sn,oi){}function ut(sn,oi){if(1&sn&&n.DNE(0,nt,0,0,"ng-template",11),2&sn){n.XpG();const Zt=n.sdS(1);n.Y8G("ngTemplateOutlet",Zt)}}function tt(sn,oi){1&sn&&(n.j41(0,"div",12),n.SdG(1,4),n.k0s())}function rt(sn,oi){1&sn&&(n.j41(0,"div",13),n.SdG(1,5),n.k0s())}function Ft(sn,oi){1&sn&&n.nrm(0,"div",14)}function Le(sn,oi){if(1&sn&&(n.j41(0,"div",18),n.SdG(1,6),n.k0s()),2&sn){const Zt=n.XpG();n.Y8G("@transitionMessages",Zt._subscriptAnimationState)}}function pe(sn,oi){if(1&sn&&(n.j41(0,"mat-hint",20),n.EFF(1),n.k0s()),2&sn){const Zt=n.XpG(2);n.Y8G("id",Zt._hintLabelId),n.R7$(),n.JRh(Zt.hintLabel)}}function Pe(sn,oi){if(1&sn&&(n.j41(0,"div",19),n.DNE(1,pe,2,2,"mat-hint",20),n.SdG(2,7),n.nrm(3,"div",21),n.SdG(4,8),n.k0s()),2&sn){const Zt=n.XpG();n.Y8G("@transitionMessages",Zt._subscriptAnimationState),n.R7$(),n.vxM(1,Zt.hintLabel?1:-1)}}let et=(()=>{class sn{static#e=this.\u0275fac=function(Cn){return new(Cn||sn)};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["mat-label"]],standalone:!0})}return sn})();const Fn=new n.nKC("MatError");let gn=0,pi=(()=>{class sn{constructor(){this.align="start",this.id="mat-mdc-hint-"+gn++}static#e=this.\u0275fac=function(Cn){return new(Cn||sn)};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Cn,Dn){2&Cn&&(n.Mr5("id",Dn.id),n.BMQ("align",null),n.AVh("mat-mdc-form-field-hint-end","end"===Dn.align))},inputs:{align:"align",id:"id"},standalone:!0})}return sn})();const hi=new n.nKC("MatPrefix"),ti=new n.nKC("MatSuffix");let ki=(()=>{class sn{constructor(){this._isText=!1}set _isTextSelector(Zt){this._isText=!0}static#e=this.\u0275fac=function(Cn){return new(Cn||sn)};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[n.Mj6.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[n.Jv_([{provide:ti,useExisting:sn}])]})}return sn})();const Zi=new n.nKC("FloatingLabelParent");let mn=(()=>{class sn{get floating(){return this._floating}set floating(Zt){this._floating=Zt,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Zt){this._monitorResize=Zt,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Zt){this._elementRef=Zt,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,n.WQX)(b),this._ngZone=(0,n.WQX)(n.SKi),this._parent=(0,n.WQX)(Zi),this._resizeSubscription=new F.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function an(sn){if(null!==sn.offsetParent)return sn.scrollWidth;const Zt=sn.cloneNode(!0);Zt.style.setProperty("position","absolute"),Zt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Zt);const Cn=Zt.scrollWidth;return Zt.remove(),Cn}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(Cn){return new(Cn||sn)(n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Cn,Dn){2&Cn&&n.AVh("mdc-floating-label--float-above",Dn.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}return sn})();const me="mdc-line-ripple--active",Ue="mdc-line-ripple--deactivating";let st=(()=>{class sn{constructor(Zt,Cn){this._elementRef=Zt,this._handleTransitionEnd=Dn=>{const Re=this._elementRef.nativeElement.classList,Be=Re.contains(Ue);"opacity"===Dn.propertyName&&Be&&Re.remove(me,Ue)},Cn.runOutsideAngular(()=>{Zt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Zt=this._elementRef.nativeElement.classList;Zt.remove(Ue),Zt.add(me)}deactivate(){this._elementRef.nativeElement.classList.add(Ue)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(Cn){return new(Cn||sn)(n.rXU(n.aKT),n.rXU(n.SKi))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}return sn})(),zt=(()=>{class sn{constructor(Zt,Cn){this._elementRef=Zt,this._ngZone=Cn,this.open=!1}ngAfterViewInit(){const Zt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Zt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Zt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Zt.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Zt){this._notch.nativeElement.style.width=this.open&&Zt?`calc(${Zt}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(Cn){return new(Cn||sn)(n.rXU(n.aKT),n.rXU(n.SKi))};static#t=this.\u0275cmp=n.VBU({type:sn,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Cn,Dn){if(1&Cn&&n.GBs(Ne,5),2&Cn){let Re;n.mGM(Re=n.lsd())&&(Dn._notch=Re.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Cn,Dn){2&Cn&&n.AVh("mdc-notched-outline--notched",Dn.open)},inputs:{open:[n.Mj6.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[n.aNF],attrs:ot,ngContentSelectors:dt,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Cn,Dn){1&Cn&&(n.NAR(),n.nrm(0,"div",1),n.j41(1,"div",2,0),n.SdG(3),n.k0s(),n.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}return sn})();const Lt={transitionMessages:(0,R.hZ)("transitionMessages",[(0,R.wk)("enter",(0,R.iF)({opacity:1,transform:"translateY(0%)"})),(0,R.kY)("void => enter",[(0,R.iF)({opacity:0,transform:"translateY(-5px)"}),(0,R.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let fn=(()=>{class sn{static#e=this.\u0275fac=function(Cn){return new(Cn||sn)};static#t=this.\u0275dir=n.FsC({type:sn})}return sn})();const ft=new n.nKC("MatFormField"),Tt=new n.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Qt=0,qn=(()=>{class sn{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Zt){this._hideRequiredMarker=(0,G.he)(Zt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Zt){Zt!==this._floatLabel&&(this._floatLabel=Zt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Zt){const Cn=this._appearance;this._appearance=Zt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==Cn&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Zt){this._subscriptSizing=Zt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Zt){this._hintLabel=Zt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Zt){this._explicitFormFieldControl=Zt}constructor(Zt,Cn,Dn,Re,Be,ee,ye,at){this._elementRef=Zt,this._changeDetectorRef=Cn,this._ngZone=Dn,this._dir=Re,this._platform=Be,this._defaults=ee,this._animationMode=ye,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Qt++,this._hintLabelId="mat-mdc-hint-"+Qt++,this._subscriptAnimationState="",this._destroyed=new g.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,ee&&(ee.appearance&&(this.appearance=ee.appearance),this._hideRequiredMarker=!!ee?.hideRequiredMarker,ee.color&&(this.color=ee.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Zt=this._control;Zt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Zt.controlType}`),Zt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Zt.ngControl&&Zt.ngControl.valueChanges&&Zt.ngControl.valueChanges.pipe((0,M.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Zt=>!Zt._isText),this._hasTextPrefix=!!this._prefixChildren.find(Zt=>Zt._isText),this._hasIconSuffix=!!this._suffixChildren.find(Zt=>!Zt._isText),this._hasTextSuffix=!!this._suffixChildren.find(Zt=>Zt._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,A.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,M.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,M.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(Zt){const Cn=this._control?this._control.ngControl:null;return Cn&&Cn[Zt]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Zt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Zt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Cn=this._hintChildren?this._hintChildren.find(Re=>"start"===Re.align):null,Dn=this._hintChildren?this._hintChildren.find(Re=>"end"===Re.align):null;Cn?Zt.push(Cn.id):this._hintLabel&&Zt.push(this._hintLabelId),Dn&&Zt.push(Dn.id)}else this._errorChildren&&Zt.push(...this._errorChildren.map(Cn=>Cn.id));this._control.setDescribedByIds(Zt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Zt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Zt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Cn=this._iconPrefixContainer?.nativeElement,Dn=this._textPrefixContainer?.nativeElement,Re=Cn?.getBoundingClientRect().width??0,Be=Dn?.getBoundingClientRect().width??0;Zt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Re+Be}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Zt=this._elementRef.nativeElement;if(Zt.getRootNode){const Cn=Zt.getRootNode();return Cn&&Cn!==Zt}return document.documentElement.contains(Zt)}static#e=this.\u0275fac=function(Cn){return new(Cn||sn)(n.rXU(n.aKT),n.rXU(n.gRc),n.rXU(n.SKi),n.rXU(r.dS),n.rXU(y.OD),n.rXU(Tt,8),n.rXU(n.bc$,8),n.rXU(ce.qQ))};static#t=this.\u0275cmp=n.VBU({type:sn,selectors:[["mat-form-field"]],contentQueries:function(Cn,Dn,Re){if(1&Cn&&(n.wni(Re,et,5),n.wni(Re,et,7),n.wni(Re,fn,5),n.wni(Re,hi,5),n.wni(Re,ti,5),n.wni(Re,Fn,5),n.wni(Re,pi,5)),2&Cn){let Be;n.mGM(Be=n.lsd())&&(Dn._labelChildNonStatic=Be.first),n.mGM(Be=n.lsd())&&(Dn._labelChildStatic=Be.first),n.mGM(Be=n.lsd())&&(Dn._formFieldControl=Be.first),n.mGM(Be=n.lsd())&&(Dn._prefixChildren=Be),n.mGM(Be=n.lsd())&&(Dn._suffixChildren=Be),n.mGM(Be=n.lsd())&&(Dn._errorChildren=Be),n.mGM(Be=n.lsd())&&(Dn._hintChildren=Be)}},viewQuery:function(Cn,Dn){if(1&Cn&&(n.GBs(He,5),n.GBs(Ge,5),n.GBs(se,5),n.GBs(mn,5),n.GBs(zt,5),n.GBs(st,5)),2&Cn){let Re;n.mGM(Re=n.lsd())&&(Dn._textField=Re.first),n.mGM(Re=n.lsd())&&(Dn._iconPrefixContainer=Re.first),n.mGM(Re=n.lsd())&&(Dn._textPrefixContainer=Re.first),n.mGM(Re=n.lsd())&&(Dn._floatingLabel=Re.first),n.mGM(Re=n.lsd())&&(Dn._notchedOutline=Re.first),n.mGM(Re=n.lsd())&&(Dn._lineRipple=Re.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Cn,Dn){2&Cn&&n.AVh("mat-mdc-form-field-label-always-float",Dn._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Dn._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Dn._hasIconSuffix)("mat-form-field-invalid",Dn._control.errorState)("mat-form-field-disabled",Dn._control.disabled)("mat-form-field-autofilled",Dn._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Dn._animationMode)("mat-form-field-appearance-fill","fill"==Dn.appearance)("mat-form-field-appearance-outline","outline"==Dn.appearance)("mat-form-field-hide-placeholder",Dn._hasFloatingLabel()&&!Dn._shouldLabelFloat())("mat-focused",Dn._control.focused)("mat-primary","accent"!==Dn.color&&"warn"!==Dn.color)("mat-accent","accent"===Dn.color)("mat-warn","warn"===Dn.color)("ng-untouched",Dn._shouldForward("untouched"))("ng-touched",Dn._shouldForward("touched"))("ng-pristine",Dn._shouldForward("pristine"))("ng-dirty",Dn._shouldForward("dirty"))("ng-valid",Dn._shouldForward("valid"))("ng-invalid",Dn._shouldForward("invalid"))("ng-pending",Dn._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[n.Jv_([{provide:ft,useExisting:sn},{provide:Zi,useExisting:sn}]),n.aNF],ngContentSelectors:we,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(Cn,Dn){if(1&Cn){const Re=n.RV6();n.NAR(Ae),n.DNE(0,Ye,1,1,"ng-template",null,0,n.C5r),n.j41(2,"div",4,1),n.bIt("click",function(ee){return n.eBV(Re),n.Njj(Dn._control.onContainerClick(ee))}),n.DNE(4,yt,1,0,"div",5),n.j41(5,"div",6),n.DNE(6,qt,2,2,"div",7)(7,jt,3,0,"div",8)(8,Ot,3,0,"div",9),n.j41(9,"div",10),n.DNE(10,ut,1,1,null,11),n.SdG(11),n.k0s(),n.DNE(12,tt,2,0,"div",12)(13,rt,2,0,"div",13),n.k0s(),n.DNE(14,Ft,1,0,"div",14),n.k0s(),n.j41(15,"div",15),n.DNE(16,Le,2,1)(17,Pe,5,2),n.k0s()}if(2&Cn){let Re;n.R7$(2),n.AVh("mdc-text-field--filled",!Dn._hasOutline())("mdc-text-field--outlined",Dn._hasOutline())("mdc-text-field--no-label",!Dn._hasFloatingLabel())("mdc-text-field--disabled",Dn._control.disabled)("mdc-text-field--invalid",Dn._control.errorState),n.R7$(2),n.vxM(4,Dn._hasOutline()||Dn._control.disabled?-1:4),n.R7$(2),n.vxM(6,Dn._hasOutline()?6:-1),n.R7$(),n.vxM(7,Dn._hasIconPrefix?7:-1),n.R7$(),n.vxM(8,Dn._hasTextPrefix?8:-1),n.R7$(2),n.vxM(10,!Dn._hasOutline()||Dn._forceDisplayInfixLabel()?10:-1),n.R7$(2),n.vxM(12,Dn._hasTextSuffix?12:-1),n.R7$(),n.vxM(13,Dn._hasIconSuffix?13:-1),n.R7$(),n.vxM(14,Dn._hasOutline()?-1:14),n.R7$(),n.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Dn.subscriptSizing),n.R7$(),n.vxM(16,"error"===(Re=Dn._getDisplayedMessages())?16:"hint"===Re?17:-1)}},dependencies:[mn,zt,ce.T3,st,pi],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Lt.transitionMessages]},changeDetection:0})}return sn})(),Qi=(()=>{class sn{static#e=this.\u0275fac=function(Cn){return new(Cn||sn)};static#t=this.\u0275mod=n.$C({type:sn});static#n=this.\u0275inj=n.G2t({imports:[Se.yE,ce.MD,J.w5,Se.yE]})}return sn})()},9213:(_t,ge,f)=>{"use strict";f.d(ge,{An:()=>ut,m_:()=>tt,tp:()=>Ae});var n=f(4438),r=f(6600),y=f(177),F=f(7673),g=f(8810),A=f(7468),M=f(8359),B=f(8141),V=f(6354),T=f(9437),N=f(980),U=f(7647),b=f(6697),G=f(1626),R=f(345);const ce=["*"];let J;function Ne(rt){return function Se(){if(void 0===J&&(J=null,typeof window<"u")){const rt=window;void 0!==rt.trustedTypes&&(J=rt.trustedTypes.createPolicy("angular#components",{createHTML:Ft=>Ft}))}return J}()?.createHTML(rt)||rt}function ot(rt){return Error(`Unable to find icon with the name "${rt}"`)}function He(rt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${rt}".`)}function Ge(rt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${rt}".`)}class se{constructor(Ft,Le,pe){this.url=Ft,this.svgText=Le,this.options=pe}}let Ae=(()=>{class rt{constructor(Le,pe,Pe,et){this._httpClient=Le,this._sanitizer=pe,this._errorHandler=et,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=Pe}addSvgIcon(Le,pe,Pe){return this.addSvgIconInNamespace("",Le,pe,Pe)}addSvgIconLiteral(Le,pe,Pe){return this.addSvgIconLiteralInNamespace("",Le,pe,Pe)}addSvgIconInNamespace(Le,pe,Pe,et){return this._addSvgIconConfig(Le,pe,new se(Pe,null,et))}addSvgIconResolver(Le){return this._resolvers.push(Le),this}addSvgIconLiteralInNamespace(Le,pe,Pe,et){const Pt=this._sanitizer.sanitize(n.WPN.HTML,Pe);if(!Pt)throw Ge(Pe);const Fn=Ne(Pt);return this._addSvgIconConfig(Le,pe,new se("",Fn,et))}addSvgIconSet(Le,pe){return this.addSvgIconSetInNamespace("",Le,pe)}addSvgIconSetLiteral(Le,pe){return this.addSvgIconSetLiteralInNamespace("",Le,pe)}addSvgIconSetInNamespace(Le,pe,Pe){return this._addSvgIconSetConfig(Le,new se(pe,null,Pe))}addSvgIconSetLiteralInNamespace(Le,pe,Pe){const et=this._sanitizer.sanitize(n.WPN.HTML,pe);if(!et)throw Ge(pe);const Pt=Ne(et);return this._addSvgIconSetConfig(Le,new se("",Pt,Pe))}registerFontClassAlias(Le,pe=Le){return this._fontCssClassesByAlias.set(Le,pe),this}classNameForFontAlias(Le){return this._fontCssClassesByAlias.get(Le)||Le}setDefaultFontSetClass(...Le){return this._defaultFontSetClass=Le,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Le){const pe=this._sanitizer.sanitize(n.WPN.RESOURCE_URL,Le);if(!pe)throw He(Le);const Pe=this._cachedIconsByUrl.get(pe);return Pe?(0,F.of)(Oe(Pe)):this._loadSvgIconFromConfig(new se(Le,null)).pipe((0,B.M)(et=>this._cachedIconsByUrl.set(pe,et)),(0,V.T)(et=>Oe(et)))}getNamedSvgIcon(Le,pe=""){const Pe=Ye(pe,Le);let et=this._svgIconConfigs.get(Pe);if(et)return this._getSvgFromConfig(et);if(et=this._getIconConfigFromResolvers(pe,Le),et)return this._svgIconConfigs.set(Pe,et),this._getSvgFromConfig(et);const Pt=this._iconSetConfigs.get(pe);return Pt?this._getSvgFromIconSetConfigs(Le,Pt):(0,g.$)(ot(Pe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Le){return Le.svgText?(0,F.of)(Oe(this._svgElementFromConfig(Le))):this._loadSvgIconFromConfig(Le).pipe((0,V.T)(pe=>Oe(pe)))}_getSvgFromIconSetConfigs(Le,pe){const Pe=this._extractIconWithNameFromAnySet(Le,pe);if(Pe)return(0,F.of)(Pe);const et=pe.filter(Pt=>!Pt.svgText).map(Pt=>this._loadSvgIconSetFromConfig(Pt).pipe((0,T.W)(Fn=>{const gn=`Loading icon set URL: ${this._sanitizer.sanitize(n.WPN.RESOURCE_URL,Pt.url)} failed: ${Fn.message}`;return this._errorHandler.handleError(new Error(gn)),(0,F.of)(null)})));return(0,A.p)(et).pipe((0,V.T)(()=>{const Pt=this._extractIconWithNameFromAnySet(Le,pe);if(!Pt)throw ot(Le);return Pt}))}_extractIconWithNameFromAnySet(Le,pe){for(let Pe=pe.length-1;Pe>=0;Pe--){const et=pe[Pe];if(et.svgText&&et.svgText.toString().indexOf(Le)>-1){const Pt=this._svgElementFromConfig(et),Fn=this._extractSvgIconFromSet(Pt,Le,et.options);if(Fn)return Fn}}return null}_loadSvgIconFromConfig(Le){return this._fetchIcon(Le).pipe((0,B.M)(pe=>Le.svgText=pe),(0,V.T)(()=>this._svgElementFromConfig(Le)))}_loadSvgIconSetFromConfig(Le){return Le.svgText?(0,F.of)(null):this._fetchIcon(Le).pipe((0,B.M)(pe=>Le.svgText=pe))}_extractSvgIconFromSet(Le,pe,Pe){const et=Le.querySelector(`[id="${pe}"]`);if(!et)return null;const Pt=et.cloneNode(!0);if(Pt.removeAttribute("id"),"svg"===Pt.nodeName.toLowerCase())return this._setSvgAttributes(Pt,Pe);if("symbol"===Pt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Pt),Pe);const Fn=this._svgElementFromString(Ne("<svg></svg>"));return Fn.appendChild(Pt),this._setSvgAttributes(Fn,Pe)}_svgElementFromString(Le){const pe=this._document.createElement("DIV");pe.innerHTML=Le;const Pe=pe.querySelector("svg");if(!Pe)throw Error("<svg> tag not found");return Pe}_toSvgElement(Le){const pe=this._svgElementFromString(Ne("<svg></svg>")),Pe=Le.attributes;for(let et=0;et<Pe.length;et++){const{name:Pt,value:Fn}=Pe[et];"id"!==Pt&&pe.setAttribute(Pt,Fn)}for(let et=0;et<Le.childNodes.length;et++)Le.childNodes[et].nodeType===this._document.ELEMENT_NODE&&pe.appendChild(Le.childNodes[et].cloneNode(!0));return pe}_setSvgAttributes(Le,pe){return Le.setAttribute("fit",""),Le.setAttribute("height","100%"),Le.setAttribute("width","100%"),Le.setAttribute("preserveAspectRatio","xMidYMid meet"),Le.setAttribute("focusable","false"),pe&&pe.viewBox&&Le.setAttribute("viewBox",pe.viewBox),Le}_fetchIcon(Le){const{url:pe,options:Pe}=Le,et=Pe?.withCredentials??!1;if(!this._httpClient)throw function dt(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==pe)throw Error(`Cannot fetch icon from URL "${pe}".`);const Pt=this._sanitizer.sanitize(n.WPN.RESOURCE_URL,pe);if(!Pt)throw He(pe);const Fn=this._inProgressUrlFetches.get(Pt);if(Fn)return Fn;const ei=this._httpClient.get(Pt,{responseType:"text",withCredentials:et}).pipe((0,V.T)(gn=>Ne(gn)),(0,N.j)(()=>this._inProgressUrlFetches.delete(Pt)),(0,U.u)());return this._inProgressUrlFetches.set(Pt,ei),ei}_addSvgIconConfig(Le,pe,Pe){return this._svgIconConfigs.set(Ye(Le,pe),Pe),this}_addSvgIconSetConfig(Le,pe){const Pe=this._iconSetConfigs.get(Le);return Pe?Pe.push(pe):this._iconSetConfigs.set(Le,[pe]),this}_svgElementFromConfig(Le){if(!Le.svgElement){const pe=this._svgElementFromString(Le.svgText);this._setSvgAttributes(pe,Le.options),Le.svgElement=pe}return Le.svgElement}_getIconConfigFromResolvers(Le,pe){for(let Pe=0;Pe<this._resolvers.length;Pe++){const et=this._resolvers[Pe](pe,Le);if(et)return yt(et)?new se(et.url,null,et.options):new se(et,null)}}static#e=this.\u0275fac=function(pe){return new(pe||rt)(n.KVO(G.Qq,8),n.KVO(R.up),n.KVO(y.qQ,8),n.KVO(n.zcH))};static#t=this.\u0275prov=n.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})();function Oe(rt){return rt.cloneNode(!0)}function Ye(rt,Ft){return rt+":"+Ft}function yt(rt){return!(!rt.url||!rt.options)}const Yt=new n.nKC("MAT_ICON_DEFAULT_OPTIONS"),Vt=new n.nKC("mat-icon-location",{providedIn:"root",factory:function qt(){const rt=(0,n.WQX)(y.qQ),Ft=rt?rt.location:null;return{getPathname:()=>Ft?Ft.pathname+Ft.search:""}}}),jt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ot=jt.map(rt=>`[${rt}]`).join(", "),nt=/^url\(['"]?#(.*?)['"]?\)$/;let ut=(()=>{class rt{get color(){return this._color||this._defaultColor}set color(Le){this._color=Le}get svgIcon(){return this._svgIcon}set svgIcon(Le){Le!==this._svgIcon&&(Le?this._updateSvgIcon(Le):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Le)}get fontSet(){return this._fontSet}set fontSet(Le){const pe=this._cleanupFontValue(Le);pe!==this._fontSet&&(this._fontSet=pe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Le){const pe=this._cleanupFontValue(Le);pe!==this._fontIcon&&(this._fontIcon=pe,this._updateFontIconClasses())}constructor(Le,pe,Pe,et,Pt,Fn){this._elementRef=Le,this._iconRegistry=pe,this._location=et,this._errorHandler=Pt,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=M.yU.EMPTY,Fn&&(Fn.color&&(this.color=this._defaultColor=Fn.color),Fn.fontSet&&(this.fontSet=Fn.fontSet)),Pe||Le.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Le){if(!Le)return["",""];const pe=Le.split(":");switch(pe.length){case 1:return["",pe[0]];case 2:return pe;default:throw Error(`Invalid icon name: "${Le}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Le=this._elementsWithExternalReferences;if(Le&&Le.size){const pe=this._location.getPathname();pe!==this._previousPath&&(this._previousPath=pe,this._prependPathToReferences(pe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Le){this._clearSvgElement();const pe=this._location.getPathname();this._previousPath=pe,this._cacheChildrenWithExternalReferences(Le),this._prependPathToReferences(pe),this._elementRef.nativeElement.appendChild(Le)}_clearSvgElement(){const Le=this._elementRef.nativeElement;let pe=Le.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();pe--;){const Pe=Le.childNodes[pe];(1!==Pe.nodeType||"svg"===Pe.nodeName.toLowerCase())&&Pe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Le=this._elementRef.nativeElement,pe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Pe=>Pe.length>0);this._previousFontSetClass.forEach(Pe=>Le.classList.remove(Pe)),pe.forEach(Pe=>Le.classList.add(Pe)),this._previousFontSetClass=pe,this.fontIcon!==this._previousFontIconClass&&!pe.includes("mat-ligature-font")&&(this._previousFontIconClass&&Le.classList.remove(this._previousFontIconClass),this.fontIcon&&Le.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Le){return"string"==typeof Le?Le.trim().split(" ")[0]:Le}_prependPathToReferences(Le){const pe=this._elementsWithExternalReferences;pe&&pe.forEach((Pe,et)=>{Pe.forEach(Pt=>{et.setAttribute(Pt.name,`url('${Le}#${Pt.value}')`)})})}_cacheChildrenWithExternalReferences(Le){const pe=Le.querySelectorAll(Ot),Pe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let et=0;et<pe.length;et++)jt.forEach(Pt=>{const Fn=pe[et],ei=Fn.getAttribute(Pt),gn=ei?ei.match(nt):null;if(gn){let pi=Pe.get(Fn);pi||(pi=[],Pe.set(Fn,pi)),pi.push({name:Pt,value:gn[1]})}})}_updateSvgIcon(Le){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Le){const[pe,Pe]=this._splitIconName(Le);pe&&(this._svgNamespace=pe),Pe&&(this._svgName=Pe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Pe,pe).pipe((0,b.s)(1)).subscribe(et=>this._setSvgElement(et),et=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${pe}:${Pe}! ${et.message}`))})}}static#e=this.\u0275fac=function(pe){return new(pe||rt)(n.rXU(n.aKT),n.rXU(Ae),n.kS0("aria-hidden"),n.rXU(Vt),n.rXU(n.zcH),n.rXU(Yt,8))};static#t=this.\u0275cmp=n.VBU({type:rt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(pe,Pe){2&pe&&(n.BMQ("data-mat-icon-type",Pe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Pe._svgName||Pe.fontIcon)("data-mat-icon-namespace",Pe._svgNamespace||Pe.fontSet)("fontIcon",Pe._usingFontIcon()?Pe.fontIcon:null),n.HbH(Pe.color?"mat-"+Pe.color:""),n.AVh("mat-icon-inline",Pe.inline)("mat-icon-no-color","primary"!==Pe.color&&"accent"!==Pe.color&&"warn"!==Pe.color))},inputs:{color:"color",inline:[n.Mj6.HasDecoratorInputTransform,"inline","inline",n.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[n.GFd,n.aNF],ngContentSelectors:ce,decls:1,vars:0,template:function(pe,Pe){1&pe&&(n.NAR(),n.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return rt})(),tt=(()=>{class rt{static#e=this.\u0275fac=function(pe){return new(pe||rt)};static#t=this.\u0275mod=n.$C({type:rt});static#n=this.\u0275inj=n.G2t({imports:[r.yE,r.yE]})}return rt})()},9631:(_t,ge,f)=>{"use strict";f.d(ge,{Oh:()=>R,fg:()=>Se,fS:()=>Ne});var n=f(4085),r=f(6860),y=f(4438),F=f(983),g=f(1413);const A=(0,r.BQ)({passive:!0});let M=(()=>{class ot{constructor(He,Ge){this._platform=He,this._ngZone=Ge,this._monitoredElements=new Map}monitor(He){if(!this._platform.isBrowser)return F.w;const Ge=(0,n.i8)(He),se=this._monitoredElements.get(Ge);if(se)return se.subject;const Ae=new g.B,we="cdk-text-field-autofilled",ue=Oe=>{"cdk-text-field-autofill-start"!==Oe.animationName||Ge.classList.contains(we)?"cdk-text-field-autofill-end"===Oe.animationName&&Ge.classList.contains(we)&&(Ge.classList.remove(we),this._ngZone.run(()=>Ae.next({target:Oe.target,isAutofilled:!1}))):(Ge.classList.add(we),this._ngZone.run(()=>Ae.next({target:Oe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Ge.addEventListener("animationstart",ue,A),Ge.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Ge,{subject:Ae,unlisten:()=>{Ge.removeEventListener("animationstart",ue,A)}}),Ae}stopMonitoring(He){const Ge=(0,n.i8)(He),se=this._monitoredElements.get(Ge);se&&(se.unlisten(),se.subject.complete(),Ge.classList.remove("cdk-text-field-autofill-monitored"),Ge.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Ge))}ngOnDestroy(){this._monitoredElements.forEach((He,Ge)=>this.stopMonitoring(Ge))}static#e=this.\u0275fac=function(Ge){return new(Ge||ot)(y.KVO(r.OD),y.KVO(y.SKi))};static#t=this.\u0275prov=y.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})(),T=(()=>{class ot{static#e=this.\u0275fac=function(Ge){return new(Ge||ot)};static#t=this.\u0275mod=y.$C({type:ot});static#n=this.\u0275inj=y.G2t({})}return ot})();var N=f(9417),U=f(6600),b=f(2102);const R=new y.nKC("MAT_INPUT_VALUE_ACCESSOR"),ce=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let J=0,Se=(()=>{class ot{get disabled(){return this._disabled}set disabled(He){this._disabled=(0,n.he)(He),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(He){this._id=He||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(N.k0.required)??!1}set required(He){this._required=(0,n.he)(He)}get type(){return this._type}set type(He){this._type=He||"text",this._validateType(),!this._isTextarea&&(0,r.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(He){this._errorStateTracker.matcher=He}get value(){return this._inputValueAccessor.value}set value(He){He!==this.value&&(this._inputValueAccessor.value=He,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(He){this._readonly=(0,n.he)(He)}get errorState(){return this._errorStateTracker.errorState}set errorState(He){this._errorStateTracker.errorState=He}constructor(He,Ge,se,Ae,we,ue,Oe,Ye,yt,Yt){this._elementRef=He,this._platform=Ge,this.ngControl=se,this._autofillMonitor=Ye,this._formField=Yt,this._uid="mat-input-"+J++,this.focused=!1,this.stateChanges=new g.B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(jt=>(0,r.MU)().has(jt)),this._iOSKeyupListener=jt=>{const Ot=jt.target;!Ot.value&&0===Ot.selectionStart&&0===Ot.selectionEnd&&(Ot.setSelectionRange(1,1),Ot.setSelectionRange(0,0))};const Vt=this._elementRef.nativeElement,qt=Vt.nodeName.toLowerCase();this._inputValueAccessor=Oe||Vt,this._previousNativeValue=this.value,this.id=this.id,Ge.IOS&&yt.runOutsideAngular(()=>{He.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new U.X0(ue,se,we,Ae,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===qt,this._isTextarea="textarea"===qt,this._isInFormField=!!Yt,this._isNativeSelect&&(this.controlType=Vt.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(He=>{this.autofilled=He.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(He){this._elementRef.nativeElement.focus(He)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(He){He!==this.focused&&(this.focused=He,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const He=this._elementRef.nativeElement.value;this._previousNativeValue!==He&&(this._previousNativeValue=He,this.stateChanges.next())}_dirtyCheckPlaceholder(){const He=this._getPlaceholder();if(He!==this._previousPlaceholder){const Ge=this._elementRef.nativeElement;this._previousPlaceholder=He,He?Ge.setAttribute("placeholder",He):Ge.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ce.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let He=this._elementRef.nativeElement.validity;return He&&He.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const He=this._elementRef.nativeElement,Ge=He.options[0];return this.focused||He.multiple||!this.empty||!!(He.selectedIndex>-1&&Ge&&Ge.label)}return this.focused||!this.empty}setDescribedByIds(He){He.length?this._elementRef.nativeElement.setAttribute("aria-describedby",He.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const He=this._elementRef.nativeElement;return this._isNativeSelect&&(He.multiple||He.size>1)}static#e=this.\u0275fac=function(Ge){return new(Ge||ot)(y.rXU(y.aKT),y.rXU(r.OD),y.rXU(N.vO,10),y.rXU(N.cV,8),y.rXU(N.j4,8),y.rXU(U.es),y.rXU(R,10),y.rXU(M),y.rXU(y.SKi),y.rXU(b.xb,8))};static#t=this.\u0275dir=y.FsC({type:ot,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(Ge,se){1&Ge&&y.bIt("focus",function(){return se._focusChanged(!0)})("blur",function(){return se._focusChanged(!1)})("input",function(){return se._onInput()}),2&Ge&&(y.Mr5("id",se.id)("disabled",se.disabled)("required",se.required),y.BMQ("name",se.name||null)("readonly",se.readonly&&!se._isNativeSelect||null)("aria-invalid",se.empty&&se.required?null:se.errorState)("aria-required",se.required)("id",se.id),y.AVh("mat-input-server",se._isServer)("mat-mdc-form-field-textarea-control",se._isInFormField&&se._isTextarea)("mat-mdc-form-field-input-control",se._isInFormField)("mdc-text-field__input",se._isInFormField)("mat-mdc-native-select-inline",se._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[y.Mj6.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[y.Jv_([{provide:b.qT,useExisting:ot}]),y.OA$]})}return ot})(),Ne=(()=>{class ot{static#e=this.\u0275fac=function(Ge){return new(Ge||ot)};static#t=this.\u0275mod=y.$C({type:ot});static#n=this.\u0275inj=y.G2t({imports:[U.yE,b.RG,b.RG,T,U.yE]})}return ot})()},9183:(_t,ge,f)=>{"use strict";f.d(ge,{D6:()=>U,LG:()=>T});var n=f(4438),r=f(177),y=f(6600);const F=["determinateSpinner"];function g(b,G){if(1&b&&(n.qSk(),n.j41(0,"svg",11),n.nrm(1,"circle",12),n.k0s()),2&b){const R=n.XpG();n.BMQ("viewBox",R._viewBox()),n.R7$(),n.xc7("stroke-dasharray",R._strokeCircumference(),"px")("stroke-dashoffset",R._strokeCircumference()/2,"px")("stroke-width",R._circleStrokeWidth(),"%"),n.BMQ("r",R._circleRadius())}}const A=new n.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:function M(){return{diameter:B}}}),B=100;let T=(()=>{class b{get color(){return this._color||this._defaultColor}set color(R){this._color=R}constructor(R,ce,J){this._elementRef=R,this._defaultColor="primary",this._value=0,this._diameter=B,this._noopAnimations="NoopAnimations"===ce&&!!J&&!J._forceAnimations,this.mode="mat-spinner"===R.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",J&&(J.color&&(this.color=this._defaultColor=J.color),J.diameter&&(this.diameter=J.diameter),J.strokeWidth&&(this.strokeWidth=J.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(R){this._value=Math.max(0,Math.min(100,R||0))}get diameter(){return this._diameter}set diameter(R){this._diameter=R||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(R){this._strokeWidth=R||0}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const R=2*this._circleRadius()+this.strokeWidth;return`0 0 ${R} ${R}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function(ce){return new(ce||b)(n.rXU(n.aKT),n.rXU(n.bc$,8),n.rXU(A))};static#t=this.\u0275cmp=n.VBU({type:b,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(ce,J){if(1&ce&&n.GBs(F,5),2&ce){let Se;n.mGM(Se=n.lsd())&&(J._determinateCircle=Se.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(ce,J){2&ce&&(n.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===J.mode?J.value:null)("mode",J.mode),n.HbH("mat-"+J.color),n.xc7("width",J.diameter,"px")("height",J.diameter,"px")("--mdc-circular-progress-size",J.diameter+"px")("--mdc-circular-progress-active-indicator-width",J.diameter+"px"),n.AVh("_mat-animation-noopable",J._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===J.mode))},inputs:{color:"color",mode:"mode",value:[n.Mj6.HasDecoratorInputTransform,"value","value",n.Udg],diameter:[n.Mj6.HasDecoratorInputTransform,"diameter","diameter",n.Udg],strokeWidth:[n.Mj6.HasDecoratorInputTransform,"strokeWidth","strokeWidth",n.Udg]},exportAs:["matProgressSpinner"],standalone:!0,features:[n.GFd,n.aNF],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(ce,J){if(1&ce&&(n.DNE(0,g,2,8,"ng-template",null,0,n.C5r),n.j41(2,"div",2,1),n.qSk(),n.j41(4,"svg",3),n.nrm(5,"circle",4),n.k0s()(),n.joV(),n.j41(6,"div",5)(7,"div",6)(8,"div",7),n.eu8(9,8),n.k0s(),n.j41(10,"div",9),n.eu8(11,8),n.k0s(),n.j41(12,"div",10),n.eu8(13,8),n.k0s()()()),2&ce){const Se=n.sdS(1);n.R7$(4),n.BMQ("viewBox",J._viewBox()),n.R7$(),n.xc7("stroke-dasharray",J._strokeCircumference(),"px")("stroke-dashoffset",J._strokeDashOffset(),"px")("stroke-width",J._circleStrokeWidth(),"%"),n.BMQ("r",J._circleRadius()),n.R7$(4),n.Y8G("ngTemplateOutlet",Se),n.R7$(2),n.Y8G("ngTemplateOutlet",Se),n.R7$(2),n.Y8G("ngTemplateOutlet",Se)}},dependencies:[r.T3],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return b})(),U=(()=>{class b{static#e=this.\u0275fac=function(ce){return new(ce||b)};static#t=this.\u0275mod=n.$C({type:b});static#n=this.\u0275inj=n.G2t({imports:[r.MD,y.yE]})}return b})()},345:(_t,ge,f)=>{"use strict";f.d(ge,{$x:()=>oi,B7:()=>we,Bb:()=>xi,W8:()=>ti,hE:()=>Zi,sG:()=>ei,up:()=>Tn});var n=f(4438),r=f(177),y=f(1626);class F extends r.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class g extends F{static makeCurrent(){(0,r.ZD)(new g)}onAndCancel(Be,ee,ye){return Be.addEventListener(ee,ye),()=>{Be.removeEventListener(ee,ye)}}dispatchEvent(Be,ee){Be.dispatchEvent(ee)}remove(Be){Be.parentNode&&Be.parentNode.removeChild(Be)}createElement(Be,ee){return(ee=ee||this.getDefaultDocument()).createElement(Be)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Be){return Be.nodeType===Node.ELEMENT_NODE}isShadowRoot(Be){return Be instanceof DocumentFragment}getGlobalEventTarget(Be,ee){return"window"===ee?window:"document"===ee?Be:"body"===ee?Be.body:null}getBaseHref(Be){const ee=function M(){return A=A||document.querySelector("base"),A?A.getAttribute("href"):null}();return null==ee?null:function B(Re){return new URL(Re,document.baseURI).pathname}(ee)}resetBaseElement(){A=null}getUserAgent(){return window.navigator.userAgent}getCookie(Be){return(0,r._b)(document.cookie,Be)}}let A=null,T=(()=>{class Re{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(ye){return new(ye||Re)};static#t=this.\u0275prov=n.jDH({token:Re,factory:Re.\u0275fac})}return Re})();const N=new n.nKC("");let U=(()=>{class Re{constructor(ee,ye){this._zone=ye,this._eventNameToPlugin=new Map,ee.forEach(at=>{at.manager=this}),this._plugins=ee.slice().reverse()}addEventListener(ee,ye,at){return this._findPluginFor(ye).addEventListener(ee,ye,at)}getZone(){return this._zone}_findPluginFor(ee){let ye=this._eventNameToPlugin.get(ee);if(ye)return ye;if(ye=this._plugins.find(Wt=>Wt.supports(ee)),!ye)throw new n.wOt(5101,!1);return this._eventNameToPlugin.set(ee,ye),ye}static#e=this.\u0275fac=function(ye){return new(ye||Re)(n.KVO(N),n.KVO(n.SKi))};static#t=this.\u0275prov=n.jDH({token:Re,factory:Re.\u0275fac})}return Re})();class b{constructor(Be){this._doc=Be}}const G="ng-app-id";let R=(()=>{class Re{constructor(ee,ye,at,Wt={}){this.doc=ee,this.appId=ye,this.nonce=at,this.platformId=Wt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,r.Vy)(Wt),this.resetHostNodes()}addStyles(ee){for(const ye of ee)1===this.changeUsageCount(ye,1)&&this.onStyleAdded(ye)}removeStyles(ee){for(const ye of ee)this.changeUsageCount(ye,-1)<=0&&this.onStyleRemoved(ye)}ngOnDestroy(){const ee=this.styleNodesInDOM;ee&&(ee.forEach(ye=>ye.remove()),ee.clear());for(const ye of this.getAllStyles())this.onStyleRemoved(ye);this.resetHostNodes()}addHost(ee){this.hostNodes.add(ee);for(const ye of this.getAllStyles())this.addStyleToHost(ee,ye)}removeHost(ee){this.hostNodes.delete(ee)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(ee){for(const ye of this.hostNodes)this.addStyleToHost(ye,ee)}onStyleRemoved(ee){const ye=this.styleRef;ye.get(ee)?.elements?.forEach(at=>at.remove()),ye.delete(ee)}collectServerRenderedStyles(){const ee=this.doc.head?.querySelectorAll(`style[${G}="${this.appId}"]`);if(ee?.length){const ye=new Map;return ee.forEach(at=>{null!=at.textContent&&ye.set(at.textContent,at)}),ye}return null}changeUsageCount(ee,ye){const at=this.styleRef;if(at.has(ee)){const Wt=at.get(ee);return Wt.usage+=ye,Wt.usage}return at.set(ee,{usage:ye,elements:[]}),ye}getStyleElement(ee,ye){const at=this.styleNodesInDOM,Wt=at?.get(ye);if(Wt?.parentNode===ee)return at.delete(ye),Wt.removeAttribute(G),Wt;{const Et=this.doc.createElement("style");return this.nonce&&Et.setAttribute("nonce",this.nonce),Et.textContent=ye,this.platformIsServer&&Et.setAttribute(G,this.appId),ee.appendChild(Et),Et}}addStyleToHost(ee,ye){const at=this.getStyleElement(ee,ye),Wt=this.styleRef,Et=Wt.get(ye)?.elements;Et?Et.push(at):Wt.set(ye,{elements:[at],usage:1})}resetHostNodes(){const ee=this.hostNodes;ee.clear(),ee.add(this.doc.head)}static#e=this.\u0275fac=function(ye){return new(ye||Re)(n.KVO(r.qQ),n.KVO(n.sZ2),n.KVO(n.BIS,8),n.KVO(n.Agw))};static#t=this.\u0275prov=n.jDH({token:Re,factory:Re.\u0275fac})}return Re})();const ce={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},J=/%COMP%/g,He=new n.nKC("",{providedIn:"root",factory:()=>!0});function Ae(Re,Be){return Be.map(ee=>ee.replace(J,Re))}let we=(()=>{class Re{constructor(ee,ye,at,Wt,Et,Dt,Qe,Mt=null){this.eventManager=ee,this.sharedStylesHost=ye,this.appId=at,this.removeStylesOnCompDestroy=Wt,this.doc=Et,this.platformId=Dt,this.ngZone=Qe,this.nonce=Mt,this.rendererByCompId=new Map,this.platformIsServer=(0,r.Vy)(Dt),this.defaultRenderer=new ue(ee,Et,Qe,this.platformIsServer)}createRenderer(ee,ye){if(!ee||!ye)return this.defaultRenderer;this.platformIsServer&&ye.encapsulation===n.gXe.ShadowDom&&(ye={...ye,encapsulation:n.gXe.Emulated});const at=this.getOrCreateRenderer(ee,ye);return at instanceof qt?at.applyToHost(ee):at instanceof Vt&&at.applyStyles(),at}getOrCreateRenderer(ee,ye){const at=this.rendererByCompId;let Wt=at.get(ye.id);if(!Wt){const Et=this.doc,Dt=this.ngZone,Qe=this.eventManager,Mt=this.sharedStylesHost,wn=this.removeStylesOnCompDestroy,lt=this.platformIsServer;switch(ye.encapsulation){case n.gXe.Emulated:Wt=new qt(Qe,Mt,ye,this.appId,wn,Et,Dt,lt);break;case n.gXe.ShadowDom:return new Yt(Qe,Mt,ee,ye,Et,Dt,this.nonce,lt);default:Wt=new Vt(Qe,Mt,ye,wn,Et,Dt,lt)}at.set(ye.id,Wt)}return Wt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(ye){return new(ye||Re)(n.KVO(U),n.KVO(R),n.KVO(n.sZ2),n.KVO(He),n.KVO(r.qQ),n.KVO(n.Agw),n.KVO(n.SKi),n.KVO(n.BIS))};static#t=this.\u0275prov=n.jDH({token:Re,factory:Re.\u0275fac})}return Re})();class ue{constructor(Be,ee,ye,at){this.eventManager=Be,this.doc=ee,this.ngZone=ye,this.platformIsServer=at,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Be,ee){return ee?this.doc.createElementNS(ce[ee]||ee,Be):this.doc.createElement(Be)}createComment(Be){return this.doc.createComment(Be)}createText(Be){return this.doc.createTextNode(Be)}appendChild(Be,ee){(yt(Be)?Be.content:Be).appendChild(ee)}insertBefore(Be,ee,ye){Be&&(yt(Be)?Be.content:Be).insertBefore(ee,ye)}removeChild(Be,ee){Be&&Be.removeChild(ee)}selectRootElement(Be,ee){let ye="string"==typeof Be?this.doc.querySelector(Be):Be;if(!ye)throw new n.wOt(-5104,!1);return ee||(ye.textContent=""),ye}parentNode(Be){return Be.parentNode}nextSibling(Be){return Be.nextSibling}setAttribute(Be,ee,ye,at){if(at){ee=at+":"+ee;const Wt=ce[at];Wt?Be.setAttributeNS(Wt,ee,ye):Be.setAttribute(ee,ye)}else Be.setAttribute(ee,ye)}removeAttribute(Be,ee,ye){if(ye){const at=ce[ye];at?Be.removeAttributeNS(at,ee):Be.removeAttribute(`${ye}:${ee}`)}else Be.removeAttribute(ee)}addClass(Be,ee){Be.classList.add(ee)}removeClass(Be,ee){Be.classList.remove(ee)}setStyle(Be,ee,ye,at){at&(n.czy.DashCase|n.czy.Important)?Be.style.setProperty(ee,ye,at&n.czy.Important?"important":""):Be.style[ee]=ye}removeStyle(Be,ee,ye){ye&n.czy.DashCase?Be.style.removeProperty(ee):Be.style[ee]=""}setProperty(Be,ee,ye){null!=Be&&(Be[ee]=ye)}setValue(Be,ee){Be.nodeValue=ee}listen(Be,ee,ye){if("string"==typeof Be&&!(Be=(0,r.QT)().getGlobalEventTarget(this.doc,Be)))throw new Error(`Unsupported event target ${Be} for event ${ee}`);return this.eventManager.addEventListener(Be,ee,this.decoratePreventDefault(ye))}decoratePreventDefault(Be){return ee=>{if("__ngUnwrap__"===ee)return Be;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Be(ee)):Be(ee))&&ee.preventDefault()}}}function yt(Re){return"TEMPLATE"===Re.tagName&&void 0!==Re.content}class Yt extends ue{constructor(Be,ee,ye,at,Wt,Et,Dt,Qe){super(Be,Wt,Et,Qe),this.sharedStylesHost=ee,this.hostEl=ye,this.shadowRoot=ye.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mt=Ae(at.id,at.styles);for(const wn of Mt){const lt=document.createElement("style");Dt&<.setAttribute("nonce",Dt),lt.textContent=wn,this.shadowRoot.appendChild(lt)}}nodeOrShadowRoot(Be){return Be===this.hostEl?this.shadowRoot:Be}appendChild(Be,ee){return super.appendChild(this.nodeOrShadowRoot(Be),ee)}insertBefore(Be,ee,ye){return super.insertBefore(this.nodeOrShadowRoot(Be),ee,ye)}removeChild(Be,ee){return super.removeChild(this.nodeOrShadowRoot(Be),ee)}parentNode(Be){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Be)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Vt extends ue{constructor(Be,ee,ye,at,Wt,Et,Dt,Qe){super(Be,Wt,Et,Dt),this.sharedStylesHost=ee,this.removeStylesOnCompDestroy=at,this.styles=Qe?Ae(Qe,ye.styles):ye.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class qt extends Vt{constructor(Be,ee,ye,at,Wt,Et,Dt,Qe){const Mt=at+"-"+ye.id;super(Be,ee,ye,Wt,Et,Dt,Qe,Mt),this.contentAttr=function Ge(Re){return"_ngcontent-%COMP%".replace(J,Re)}(Mt),this.hostAttr=function se(Re){return"_nghost-%COMP%".replace(J,Re)}(Mt)}applyToHost(Be){this.applyStyles(),this.setAttribute(Be,this.hostAttr,"")}createElement(Be,ee){const ye=super.createElement(Be,ee);return super.setAttribute(ye,this.contentAttr,""),ye}}let jt=(()=>{class Re extends b{constructor(ee){super(ee)}supports(ee){return!0}addEventListener(ee,ye,at){return ee.addEventListener(ye,at,!1),()=>this.removeEventListener(ee,ye,at)}removeEventListener(ee,ye,at){return ee.removeEventListener(ye,at)}static#e=this.\u0275fac=function(ye){return new(ye||Re)(n.KVO(r.qQ))};static#t=this.\u0275prov=n.jDH({token:Re,factory:Re.\u0275fac})}return Re})();const Ot=["alt","control","meta","shift"],nt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ut={alt:Re=>Re.altKey,control:Re=>Re.ctrlKey,meta:Re=>Re.metaKey,shift:Re=>Re.shiftKey};let tt=(()=>{class Re extends b{constructor(ee){super(ee)}supports(ee){return null!=Re.parseEventName(ee)}addEventListener(ee,ye,at){const Wt=Re.parseEventName(ye),Et=Re.eventCallback(Wt.fullKey,at,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.QT)().onAndCancel(ee,Wt.domEventName,Et))}static parseEventName(ee){const ye=ee.toLowerCase().split("."),at=ye.shift();if(0===ye.length||"keydown"!==at&&"keyup"!==at)return null;const Wt=Re._normalizeKey(ye.pop());let Et="",Dt=ye.indexOf("code");if(Dt>-1&&(ye.splice(Dt,1),Et="code."),Ot.forEach(Mt=>{const wn=ye.indexOf(Mt);wn>-1&&(ye.splice(wn,1),Et+=Mt+".")}),Et+=Wt,0!=ye.length||0===Wt.length)return null;const Qe={};return Qe.domEventName=at,Qe.fullKey=Et,Qe}static matchEventFullKeyCode(ee,ye){let at=nt[ee.key]||ee.key,Wt="";return ye.indexOf("code.")>-1&&(at=ee.code,Wt="code."),!(null==at||!at)&&(at=at.toLowerCase()," "===at?at="space":"."===at&&(at="dot"),Ot.forEach(Et=>{Et!==at&&(0,ut[Et])(ee)&&(Wt+=Et+".")}),Wt+=at,Wt===ye)}static eventCallback(ee,ye,at){return Wt=>{Re.matchEventFullKeyCode(Wt,ee)&&at.runGuarded(()=>ye(Wt))}}static _normalizeKey(ee){return"esc"===ee?"escape":ee}static#e=this.\u0275fac=function(ye){return new(ye||Re)(n.KVO(r.qQ))};static#t=this.\u0275prov=n.jDH({token:Re,factory:Re.\u0275fac})}return Re})();const ei=(0,n.oH4)(n.fpN,"browser",[{provide:n.Agw,useValue:r.AJ},{provide:n.PLl,useValue:function Pe(){g.makeCurrent()},multi:!0},{provide:r.qQ,useFactory:function Pt(){return(0,n.TL$)(document),document},deps:[]}]),gn=new n.nKC(""),pi=[{provide:n.e01,useClass:class V{addToWindow(Be){n.JZv.getAngularTestability=(ye,at=!0)=>{const Wt=Be.findTestabilityInTree(ye,at);if(null==Wt)throw new n.wOt(5103,!1);return Wt},n.JZv.getAllAngularTestabilities=()=>Be.getAllTestabilities(),n.JZv.getAllAngularRootElements=()=>Be.getAllRootElements(),n.JZv.frameworkStabilizers||(n.JZv.frameworkStabilizers=[]),n.JZv.frameworkStabilizers.push(ye=>{const at=n.JZv.getAllAngularTestabilities();let Wt=at.length;const Et=function(){Wt--,0==Wt&&ye()};at.forEach(Dt=>{Dt.whenStable(Et)})})}findTestabilityInTree(Be,ee,ye){return null==ee?null:Be.getTestability(ee)??(ye?(0,r.QT)().isShadowRoot(ee)?this.findTestabilityInTree(Be,ee.host,!0):this.findTestabilityInTree(Be,ee.parentElement,!0):null)}},deps:[]},{provide:n.WHO,useClass:n.NYb,deps:[n.SKi,n.giA,n.e01]},{provide:n.NYb,useClass:n.NYb,deps:[n.SKi,n.giA,n.e01]}],hi=[{provide:n.H8p,useValue:"root"},{provide:n.zcH,useFactory:function et(){return new n.zcH},deps:[]},{provide:N,useClass:jt,multi:!0,deps:[r.qQ,n.SKi,n.Agw]},{provide:N,useClass:tt,multi:!0,deps:[r.qQ]},we,R,U,{provide:n._9s,useExisting:we},{provide:r.N0,useClass:T,deps:[]},[]];let xi=(()=>{class Re{constructor(ee){}static withServerTransition(ee){return{ngModule:Re,providers:[{provide:n.sZ2,useValue:ee.appId}]}}static#e=this.\u0275fac=function(ye){return new(ye||Re)(n.KVO(gn,12))};static#t=this.\u0275mod=n.$C({type:Re});static#n=this.\u0275inj=n.G2t({providers:[...hi,...pi],imports:[r.MD,n.Hbi]})}return Re})(),ti=(()=>{class Re{constructor(ee){this._doc=ee,this._dom=(0,r.QT)()}addTag(ee,ye=!1){return ee?this._getOrCreateElement(ee,ye):null}addTags(ee,ye=!1){return ee?ee.reduce((at,Wt)=>(Wt&&at.push(this._getOrCreateElement(Wt,ye)),at),[]):[]}getTag(ee){return ee&&this._doc.querySelector(`meta[${ee}]`)||null}getTags(ee){if(!ee)return[];const ye=this._doc.querySelectorAll(`meta[${ee}]`);return ye?[].slice.call(ye):[]}updateTag(ee,ye){if(!ee)return null;ye=ye||this._parseSelector(ee);const at=this.getTag(ye);return at?this._setMetaElementAttributes(ee,at):this._getOrCreateElement(ee,!0)}removeTag(ee){this.removeTagElement(this.getTag(ee))}removeTagElement(ee){ee&&this._dom.remove(ee)}_getOrCreateElement(ee,ye=!1){if(!ye){const Et=this._parseSelector(ee),Dt=this.getTags(Et).filter(Qe=>this._containsAttributes(ee,Qe))[0];if(void 0!==Dt)return Dt}const at=this._dom.createElement("meta");return this._setMetaElementAttributes(ee,at),this._doc.getElementsByTagName("head")[0].appendChild(at),at}_setMetaElementAttributes(ee,ye){return Object.keys(ee).forEach(at=>ye.setAttribute(this._getMetaKeyMap(at),ee[at])),ye}_parseSelector(ee){const ye=ee.name?"name":"property";return`${ye}="${ee[ye]}"`}_containsAttributes(ee,ye){return Object.keys(ee).every(at=>ye.getAttribute(this._getMetaKeyMap(at))===ee[at])}_getMetaKeyMap(ee){return ki[ee]||ee}static#e=this.\u0275fac=function(ye){return new(ye||Re)(n.KVO(r.qQ))};static#t=this.\u0275prov=n.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})();const ki={httpEquiv:"http-equiv"};let Zi=(()=>{class Re{constructor(ee){this._doc=ee}getTitle(){return this._doc.title}setTitle(ee){this._doc.title=ee||""}static#e=this.\u0275fac=function(ye){return new(ye||Re)(n.KVO(r.qQ))};static#t=this.\u0275prov=n.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})(),Tn=(()=>{class Re{static#e=this.\u0275fac=function(ye){return new(ye||Re)};static#t=this.\u0275prov=n.jDH({token:Re,factory:function(ye){let at=null;return at=ye?new(ye||Re):n.KVO(Xn),at},providedIn:"root"})}return Re})(),Xn=(()=>{class Re extends Tn{constructor(ee){super(),this._doc=ee}sanitize(ee,ye){if(null==ye)return null;switch(ee){case n.WPN.NONE:return ye;case n.WPN.HTML:return(0,n.ZF7)(ye,"HTML")?(0,n.rcV)(ye):(0,n.h9k)(this._doc,String(ye)).toString();case n.WPN.STYLE:return(0,n.ZF7)(ye,"Style")?(0,n.rcV)(ye):ye;case n.WPN.SCRIPT:if((0,n.ZF7)(ye,"Script"))return(0,n.rcV)(ye);throw new n.wOt(5200,!1);case n.WPN.URL:return(0,n.ZF7)(ye,"URL")?(0,n.rcV)(ye):(0,n.$MX)(String(ye));case n.WPN.RESOURCE_URL:if((0,n.ZF7)(ye,"ResourceURL"))return(0,n.rcV)(ye);throw new n.wOt(5201,!1);default:throw new n.wOt(5202,!1)}}bypassSecurityTrustHtml(ee){return(0,n.Kcf)(ee)}bypassSecurityTrustStyle(ee){return(0,n.cWb)(ee)}bypassSecurityTrustScript(ee){return(0,n.UyX)(ee)}bypassSecurityTrustUrl(ee){return(0,n.osQ)(ee)}bypassSecurityTrustResourceUrl(ee){return(0,n.e5t)(ee)}static#e=this.\u0275fac=function(ye){return new(ye||Re)(n.KVO(r.qQ))};static#t=this.\u0275prov=n.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})();var Bn=function(Re){return Re[Re.NoHttpTransferCache=0]="NoHttpTransferCache",Re[Re.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",Re}(Bn||{});function oi(...Re){const Be=[],ee=new Set,ye=ee.has(Bn.HttpTransferCacheOptions);for(const{\u0275providers:at,\u0275kind:Wt}of Re)ee.add(Wt),at.length&&Be.push(at);return(0,n.EmA)([[],(0,n.M8M)(),ee.has(Bn.NoHttpTransferCache)||ye?[]:(0,y.$m)({}),Be])}},4710:(_t,ge,f)=>{"use strict";f.d(ge,{nX:()=>Nr,j5:()=>Ni,wF:()=>Kn,lW:()=>Ui,Z:()=>$t,Xk:()=>pe,bw:()=>Ia,b:()=>_e,Ix:()=>or,Wk:()=>sr,iI:()=>Jo,n3:()=>ro,OY:()=>Ds,we:()=>ua});var n=f(4438),r=f(4402),y=f(2806),F=f(7673),g=f(4412),A=f(4572),M=f(9350),B=f(8793),V=f(9030),T=f(1203),N=f(8810),U=f(983),b=f(17),G=f(1413),R=f(8359),ce=f(177),J=f(6354),Se=f(5558),Ne=f(6697),ot=f(9172),dt=f(5964),He=f(1397),Ge=f(1594),se=f(274),Ae=f(8141),we=f(9437),ue=f(9974),Oe=f(4360);var Yt=f(9901);function Vt(w){return w<=0?()=>U.w:(0,ue.N)((W,S)=>{let z=[];W.subscribe((0,Oe._)(S,he=>{z.push(he),w<z.length&&z.shift()},()=>{for(const he of z)S.next(he);S.complete()},void 0,()=>{z=null}))})}var qt=f(3774),jt=f(3669),nt=f(3703),ut=f(980),tt=f(9898),rt=f(6977),Ft=f(6365),Le=f(345);const pe="primary",Pe=Symbol("RouteTitle");class et{constructor(W){this.params=W||{}}has(W){return Object.prototype.hasOwnProperty.call(this.params,W)}get(W){if(this.has(W)){const S=this.params[W];return Array.isArray(S)?S[0]:S}return null}getAll(W){if(this.has(W)){const S=this.params[W];return Array.isArray(S)?S:[S]}return[]}get keys(){return Object.keys(this.params)}}function Pt(w){return new et(w)}function Fn(w,W,S){const z=S.path.split("/");if(z.length>w.length||"full"===S.pathMatch&&(W.hasChildren()||z.length<w.length))return null;const he={};for(let je=0;je<z.length;je++){const gt=z[je],cn=w[je];if(gt.startsWith(":"))he[gt.substring(1)]=cn;else if(gt!==cn.path)return null}return{consumed:w.slice(0,z.length),posParams:he}}function gn(w,W){const S=w?pi(w):void 0,z=W?pi(W):void 0;if(!S||!z||S.length!=z.length)return!1;let he;for(let je=0;je<S.length;je++)if(he=S[je],!hi(w[he],W[he]))return!1;return!0}function pi(w){return[...Object.keys(w),...Object.getOwnPropertySymbols(w)]}function hi(w,W){if(Array.isArray(w)&&Array.isArray(W)){if(w.length!==W.length)return!1;const S=[...w].sort(),z=[...W].sort();return S.every((he,je)=>z[je]===he)}return w===W}function xi(w){return w.length>0?w[w.length-1]:null}function ti(w){return(0,r.A)(w)?w:(0,n.jNT)(w)?(0,y.H)(Promise.resolve(w)):(0,F.of)(w)}const ki={exact:function me(w,W,S){if(!ft(w.segments,W.segments)||!Lt(w.segments,W.segments,S)||w.numberOfChildren!==W.numberOfChildren)return!1;for(const z in W.children)if(!w.children[z]||!me(w.children[z],W.children[z],S))return!1;return!0},subset:st},Zi={exact:function an(w,W){return gn(w,W)},subset:function Ue(w,W){return Object.keys(W).length<=Object.keys(w).length&&Object.keys(W).every(S=>hi(w[S],W[S]))},ignored:()=>!0};function mn(w,W,S){return ki[S.paths](w.root,W.root,S.matrixParams)&&Zi[S.queryParams](w.queryParams,W.queryParams)&&!("exact"===S.fragment&&w.fragment!==W.fragment)}function st(w,W,S){return zt(w,W,W.segments,S)}function zt(w,W,S,z){if(w.segments.length>S.length){const he=w.segments.slice(0,S.length);return!(!ft(he,S)||W.hasChildren()||!Lt(he,S,z))}if(w.segments.length===S.length){if(!ft(w.segments,S)||!Lt(w.segments,S,z))return!1;for(const he in W.children)if(!w.children[he]||!st(w.children[he],W.children[he],z))return!1;return!0}{const he=S.slice(0,w.segments.length),je=S.slice(w.segments.length);return!!(ft(w.segments,he)&&Lt(w.segments,he,z)&&w.children[pe])&&zt(w.children[pe],W,je,z)}}function Lt(w,W,S){return W.every((z,he)=>Zi[S](w[he].parameters,z.parameters))}class fn{constructor(W=new jn([],{}),S={},z=null){this.root=W,this.queryParams=S,this.fragment=z}get queryParamMap(){return this._queryParamMap??=Pt(this.queryParams),this._queryParamMap}toString(){return Xn.serialize(this)}}class jn{constructor(W,S){this.segments=W,this.children=S,this.parent=null,Object.values(S).forEach(z=>z.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Bn(this)}}class Kt{constructor(W,S){this.path=W,this.parameters=S}get parameterMap(){return this._parameterMap??=Pt(this.parameters),this._parameterMap}toString(){return Dn(this)}}function ft(w,W){return w.length===W.length&&w.every((S,z)=>S.path===W[z].path)}let Qt=(()=>{class w{static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:()=>new Tn,providedIn:"root"})}return w})();class Tn{parse(W){const S=new wn(W);return new fn(S.parseRootSegment(),S.parseQueryParams(),S.parseFragment())}serialize(W){const S=`/${Ii(W.root,!0)}`,z=function Be(w){const W=Object.entries(w).map(([S,z])=>Array.isArray(z)?z.map(he=>`${Qi(S)}=${Qi(he)}`).join("&"):`${Qi(S)}=${Qi(z)}`).filter(S=>S);return W.length?`?${W.join("&")}`:""}(W.queryParams);return`${S}${z}${"string"==typeof W.fragment?`#${function sn(w){return encodeURI(w)}(W.fragment)}`:""}`}}const Xn=new Tn;function Bn(w){return w.segments.map(W=>Dn(W)).join("/")}function Ii(w,W){if(!w.hasChildren())return Bn(w);if(W){const S=w.children[pe]?Ii(w.children[pe],!1):"",z=[];return Object.entries(w.children).forEach(([he,je])=>{he!==pe&&z.push(`${he}:${Ii(je,!1)}`)}),z.length>0?`${S}(${z.join("//")})`:S}{const S=function Tt(w,W){let S=[];return Object.entries(w.children).forEach(([z,he])=>{z===pe&&(S=S.concat(W(he,z)))}),Object.entries(w.children).forEach(([z,he])=>{z!==pe&&(S=S.concat(W(he,z)))}),S}(w,(z,he)=>he===pe?[Ii(w.children[pe],!1)]:[`${he}:${Ii(z,!1)}`]);return 1===Object.keys(w.children).length&&null!=w.children[pe]?`${Bn(w)}/${S[0]}`:`${Bn(w)}/(${S.join("//")})`}}function qn(w){return encodeURIComponent(w).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qi(w){return qn(w).replace(/%3B/gi,";")}function oi(w){return qn(w).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zt(w){return decodeURIComponent(w)}function Cn(w){return Zt(w.replace(/\+/g,"%20"))}function Dn(w){return`${oi(w.path)}${function Re(w){return Object.entries(w).map(([W,S])=>`;${oi(W)}=${oi(S)}`).join("")}(w.parameters)}`}const ee=/^[^\/()?;#]+/;function ye(w){const W=w.match(ee);return W?W[0]:""}const at=/^[^\/()?;=#]+/,Et=/^[^=?&#]+/,Qe=/^[^&#]+/;class wn{constructor(W){this.url=W,this.remaining=W}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new jn([],{}):new jn([],this.parseChildren())}parseQueryParams(){const W={};if(this.consumeOptional("?"))do{this.parseQueryParam(W)}while(this.consumeOptional("&"));return W}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const W=[];for(this.peekStartsWith("(")||W.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),W.push(this.parseSegment());let S={};this.peekStartsWith("/(")&&(this.capture("/"),S=this.parseParens(!0));let z={};return this.peekStartsWith("(")&&(z=this.parseParens(!1)),(W.length>0||Object.keys(S).length>0)&&(z[pe]=new jn(W,S)),z}parseSegment(){const W=ye(this.remaining);if(""===W&&this.peekStartsWith(";"))throw new n.wOt(4009,!1);return this.capture(W),new Kt(Zt(W),this.parseMatrixParams())}parseMatrixParams(){const W={};for(;this.consumeOptional(";");)this.parseParam(W);return W}parseParam(W){const S=function Wt(w){const W=w.match(at);return W?W[0]:""}(this.remaining);if(!S)return;this.capture(S);let z="";if(this.consumeOptional("=")){const he=ye(this.remaining);he&&(z=he,this.capture(z))}W[Zt(S)]=Zt(z)}parseQueryParam(W){const S=function Dt(w){const W=w.match(Et);return W?W[0]:""}(this.remaining);if(!S)return;this.capture(S);let z="";if(this.consumeOptional("=")){const gt=function Mt(w){const W=w.match(Qe);return W?W[0]:""}(this.remaining);gt&&(z=gt,this.capture(z))}const he=Cn(S),je=Cn(z);if(W.hasOwnProperty(he)){let gt=W[he];Array.isArray(gt)||(gt=[gt],W[he]=gt),gt.push(je)}else W[he]=je}parseParens(W){const S={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const z=ye(this.remaining),he=this.remaining[z.length];if("/"!==he&&")"!==he&&";"!==he)throw new n.wOt(4010,!1);let je;z.indexOf(":")>-1?(je=z.slice(0,z.indexOf(":")),this.capture(je),this.capture(":")):W&&(je=pe);const gt=this.parseChildren();S[je]=1===Object.keys(gt).length?gt[pe]:new jn([],gt),this.consumeOptional("//")}return S}peekStartsWith(W){return this.remaining.startsWith(W)}consumeOptional(W){return!!this.peekStartsWith(W)&&(this.remaining=this.remaining.substring(W.length),!0)}capture(W){if(!this.consumeOptional(W))throw new n.wOt(4011,!1)}}function lt(w){return w.segments.length>0?new jn([],{[pe]:w}):w}function kt(w){const W={};for(const[z,he]of Object.entries(w.children)){const je=kt(he);if(z===pe&&0===je.segments.length&&je.hasChildren())for(const[gt,cn]of Object.entries(je.children))W[gt]=cn;else(je.segments.length>0||je.hasChildren())&&(W[z]=je)}return function re(w){if(1===w.numberOfChildren&&w.children[pe]){const W=w.children[pe];return new jn(w.segments.concat(W.segments),W.children)}return w}(new jn(w.segments,W))}function ze(w){return w instanceof fn}function Ut(w){let W;const he=lt(function S(je){const gt={};for(const tn of je.children){const ui=S(tn);gt[tn.outlet]=ui}const cn=new jn(je.url,gt);return je===w&&(W=cn),cn}(w.root));return W??he}function An(w,W,S,z){let he=w;for(;he.parent;)he=he.parent;if(0===W.length)return gr(he,he,he,S,z);const je=function kr(w){if("string"==typeof w[0]&&1===w.length&&"/"===w[0])return new Oi(!0,0,w);let W=0,S=!1;const z=w.reduce((he,je,gt)=>{if("object"==typeof je&&null!=je){if(je.outlets){const cn={};return Object.entries(je.outlets).forEach(([tn,ui])=>{cn[tn]="string"==typeof ui?ui.split("/"):ui}),[...he,{outlets:cn}]}if(je.segmentPath)return[...he,je.segmentPath]}return"string"!=typeof je?[...he,je]:0===gt?(je.split("/").forEach((cn,tn)=>{0==tn&&"."===cn||(0==tn&&""===cn?S=!0:".."===cn?W++:""!=cn&&he.push(cn))}),he):[...he,je]},[]);return new Oi(S,W,z)}(W);if(je.toRoot())return gr(he,he,new jn([],{}),S,z);const gt=function ho(w,W,S){if(w.isAbsolute)return new Or(W,!0,0);if(!S)return new Or(W,!1,NaN);if(null===S.parent)return new Or(S,!0,0);const z=Di(w.commands[0])?0:1;return function jo(w,W,S){let z=w,he=W,je=S;for(;je>he;){if(je-=he,z=z.parent,!z)throw new n.wOt(4005,!1);he=z.segments.length}return new Or(z,!1,he-je)}(S,S.segments.length-1+z,w.numberOfDoubleDots)}(je,he,w),cn=gt.processChildren?pt(gt.segmentGroup,gt.index,je.commands):to(gt.segmentGroup,gt.index,je.commands);return gr(he,gt.segmentGroup,cn,S,z)}function Di(w){return"object"==typeof w&&null!=w&&!w.outlets&&!w.segmentPath}function Bi(w){return"object"==typeof w&&null!=w&&w.outlets}function gr(w,W,S,z,he){let gt,je={};z&&Object.entries(z).forEach(([tn,ui])=>{je[tn]=Array.isArray(ui)?ui.map(ar=>`${ar}`):`${ui}`}),gt=w===W?S:vr(w,W,S);const cn=lt(kt(gt));return new fn(cn,je,he)}function vr(w,W,S){const z={};return Object.entries(w.children).forEach(([he,je])=>{z[he]=je===W?S:vr(je,W,S)}),new jn(w.segments,z)}class Oi{constructor(W,S,z){if(this.isAbsolute=W,this.numberOfDoubleDots=S,this.commands=z,W&&z.length>0&&Di(z[0]))throw new n.wOt(4003,!1);const he=z.find(Bi);if(he&&he!==xi(z))throw new n.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Or{constructor(W,S,z){this.segmentGroup=W,this.processChildren=S,this.index=z}}function to(w,W,S){if(w??=new jn([],{}),0===w.segments.length&&w.hasChildren())return pt(w,W,S);const z=function Ce(w,W,S){let z=0,he=W;const je={match:!1,pathIndex:0,commandIndex:0};for(;he<w.segments.length;){if(z>=S.length)return je;const gt=w.segments[he],cn=S[z];if(Bi(cn))break;const tn=`${cn}`,ui=z<S.length-1?S[z+1]:null;if(he>0&&void 0===tn)break;if(tn&&ui&&"object"==typeof ui&&void 0===ui.outlets){if(!Je(tn,ui,gt))return je;z+=2}else{if(!Je(tn,{},gt))return je;z++}he++}return{match:!0,pathIndex:he,commandIndex:z}}(w,W,S),he=S.slice(z.commandIndex);if(z.match&&z.pathIndex<w.segments.length){const je=new jn(w.segments.slice(0,z.pathIndex),{});return je.children[pe]=new jn(w.segments.slice(z.pathIndex),w.children),pt(je,0,he)}return z.match&&0===he.length?new jn(w.segments,{}):z.match&&!w.hasChildren()?le(w,W,S):z.match?pt(w,0,he):le(w,W,S)}function pt(w,W,S){if(0===S.length)return new jn(w.segments,{});{const z=function lo(w){return Bi(w[0])?w[0].outlets:{[pe]:w}}(S),he={};if(Object.keys(z).some(je=>je!==pe)&&w.children[pe]&&1===w.numberOfChildren&&0===w.children[pe].segments.length){const je=pt(w.children[pe],W,S);return new jn(w.segments,je.children)}return Object.entries(z).forEach(([je,gt])=>{"string"==typeof gt&&(gt=[gt]),null!==gt&&(he[je]=to(w.children[je],W,gt))}),Object.entries(w.children).forEach(([je,gt])=>{void 0===z[je]&&(he[je]=gt)}),new jn(w.segments,he)}}function le(w,W,S){const z=w.segments.slice(0,W);let he=0;for(;he<S.length;){const je=S[he];if(Bi(je)){const tn=Me(je.outlets);return new jn(z,tn)}if(0===he&&Di(S[0])){z.push(new Kt(w.segments[W].path,ne(S[0]))),he++;continue}const gt=Bi(je)?je.outlets[pe]:`${je}`,cn=he<S.length-1?S[he+1]:null;gt&&cn&&Di(cn)?(z.push(new Kt(gt,ne(cn))),he+=2):(z.push(new Kt(gt,{})),he++)}return new jn(z,{})}function Me(w){const W={};return Object.entries(w).forEach(([S,z])=>{"string"==typeof z&&(z=[z]),null!==z&&(W[S]=le(new jn([],{}),0,z))}),W}function ne(w){const W={};return Object.entries(w).forEach(([S,z])=>W[S]=`${z}`),W}function Je(w,W,S){return w==S.path&&gn(W,S.parameters)}const oe="imperative";var Te=function(w){return w[w.NavigationStart=0]="NavigationStart",w[w.NavigationEnd=1]="NavigationEnd",w[w.NavigationCancel=2]="NavigationCancel",w[w.NavigationError=3]="NavigationError",w[w.RoutesRecognized=4]="RoutesRecognized",w[w.ResolveStart=5]="ResolveStart",w[w.ResolveEnd=6]="ResolveEnd",w[w.GuardsCheckStart=7]="GuardsCheckStart",w[w.GuardsCheckEnd=8]="GuardsCheckEnd",w[w.RouteConfigLoadStart=9]="RouteConfigLoadStart",w[w.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",w[w.ChildActivationStart=11]="ChildActivationStart",w[w.ChildActivationEnd=12]="ChildActivationEnd",w[w.ActivationStart=13]="ActivationStart",w[w.ActivationEnd=14]="ActivationEnd",w[w.Scroll=15]="Scroll",w[w.NavigationSkipped=16]="NavigationSkipped",w}(Te||{});class ht{constructor(W,S){this.id=W,this.url=S}}class $t extends ht{constructor(W,S,z="imperative",he=null){super(W,S),this.type=Te.NavigationStart,this.navigationTrigger=z,this.restoredState=he}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Kn extends ht{constructor(W,S,z){super(W,S),this.urlAfterRedirects=z,this.type=Te.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Qn=function(w){return w[w.Redirect=0]="Redirect",w[w.SupersededByNewNavigation=1]="SupersededByNewNavigation",w[w.NoDataFromResolver=2]="NoDataFromResolver",w[w.GuardRejected=3]="GuardRejected",w}(Qn||{}),ni=function(w){return w[w.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",w[w.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",w}(ni||{});class Ni extends ht{constructor(W,S,z,he){super(W,S),this.reason=z,this.code=he,this.type=Te.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ui extends ht{constructor(W,S,z,he){super(W,S),this.reason=z,this.code=he,this.type=Te.NavigationSkipped}}class rr extends ht{constructor(W,S,z,he){super(W,S),this.error=z,this.target=he,this.type=Te.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class $i extends ht{constructor(W,S,z,he){super(W,S),this.urlAfterRedirects=z,this.state=he,this.type=Te.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class br extends ht{constructor(W,S,z,he){super(W,S),this.urlAfterRedirects=z,this.state=he,this.type=Te.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jr extends ht{constructor(W,S,z,he,je){super(W,S),this.urlAfterRedirects=z,this.state=he,this.shouldActivate=je,this.type=Te.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ts extends ht{constructor(W,S,z,he){super(W,S),this.urlAfterRedirects=z,this.state=he,this.type=Te.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ur extends ht{constructor(W,S,z,he){super(W,S),this.urlAfterRedirects=z,this.state=he,this.type=Te.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ji{constructor(W){this.route=W,this.type=Te.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class po{constructor(W){this.route=W,this.type=Te.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class no{constructor(W){this.snapshot=W,this.type=Te.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mi{constructor(W){this.snapshot=W,this.type=Te.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Li{constructor(W){this.snapshot=W,this.type=Te.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _n{constructor(W){this.snapshot=W,this.type=Te.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ds{constructor(W,S,z){this.routerEvent=W,this.position=S,this.anchor=z,this.type=Te.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Sa{}class as{constructor(W){this.url=W}}class ns{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Hi,this.attachRef=null}}let Hi=(()=>{class w{constructor(){this.contexts=new Map}onChildOutletCreated(S,z){const he=this.getOrCreateContext(S);he.outlet=z,this.contexts.set(S,he)}onChildOutletDestroyed(S){const z=this.getContext(S);z&&(z.outlet=null,z.attachRef=null)}onOutletDeactivated(){const S=this.contexts;return this.contexts=new Map,S}onOutletReAttached(S){this.contexts=S}getOrCreateContext(S){let z=this.getContext(S);return z||(z=new ns,this.contexts.set(S,z)),z}getContext(S){return this.contexts.get(S)||null}static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();class mt{constructor(W){this._root=W}get root(){return this._root.value}parent(W){const S=this.pathFromRoot(W);return S.length>1?S[S.length-2]:null}children(W){const S=Ln(W,this._root);return S?S.children.map(z=>z.value):[]}firstChild(W){const S=Ln(W,this._root);return S&&S.children.length>0?S.children[0].value:null}siblings(W){const S=O(W,this._root);return S.length<2?[]:S[S.length-2].children.map(he=>he.value).filter(he=>he!==W)}pathFromRoot(W){return O(W,this._root).map(S=>S.value)}}function Ln(w,W){if(w===W.value)return W;for(const S of W.children){const z=Ln(w,S);if(z)return z}return null}function O(w,W){if(w===W.value)return[W];for(const S of W.children){const z=O(w,S);if(z.length)return z.unshift(W),z}return[]}class be{constructor(W,S){this.value=W,this.children=S}toString(){return`TreeNode(${this.value})`}}function ae(w){const W={};return w&&w.children.forEach(S=>W[S.value.outlet]=S),W}class Xe extends mt{constructor(W,S){super(W),this.snapshot=S,xs(this,W)}toString(){return this.snapshot.toString()}}function Ht(w){const W=function wi(w){const je=new mo([],{},{},"",{},pe,w,null,{});return new Ko("",new be(je,[]))}(w),S=new g.t([new Kt("",{})]),z=new g.t({}),he=new g.t({}),je=new g.t({}),gt=new g.t(""),cn=new Nr(S,z,je,gt,he,pe,w,W.root);return cn.snapshot=W.root,new Xe(new be(cn,[]),W)}class Nr{constructor(W,S,z,he,je,gt,cn,tn){this.urlSubject=W,this.paramsSubject=S,this.queryParamsSubject=z,this.fragmentSubject=he,this.dataSubject=je,this.outlet=gt,this.component=cn,this._futureSnapshot=tn,this.title=this.dataSubject?.pipe((0,J.T)(ui=>ui[Pe]))??(0,F.of)(void 0),this.url=W,this.params=S,this.queryParams=z,this.fragment=he,this.data=je}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,J.T)(W=>Pt(W))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,J.T)(W=>Pt(W))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function io(w,W,S="emptyOnly"){let z;const{routeConfig:he}=w;return z=null===W||"always"!==S&&""!==he?.path&&(W.component||W.routeConfig?.loadComponent)?{params:{...w.params},data:{...w.data},resolve:{...w.data,...w._resolvedData??{}}}:{params:{...W.params,...w.params},data:{...W.data,...w.data},resolve:{...w.data,...W.data,...he?.data,...w._resolvedData}},he&&ca(he)&&(z.resolve[Pe]=he.title),z}class mo{get title(){return this.data?.[Pe]}constructor(W,S,z,he,je,gt,cn,tn,ui){this.url=W,this.params=S,this.queryParams=z,this.fragment=he,this.data=je,this.outlet=gt,this.component=cn,this.routeConfig=tn,this._resolve=ui}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Pt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Pt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(z=>z.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ko extends mt{constructor(W,S){super(S),this.url=W,xs(this,S)}toString(){return ws(this._root)}}function xs(w,W){W.value._routerState=w,W.children.forEach(S=>xs(w,S))}function ws(w){const W=w.children.length>0?` { ${w.children.map(ws).join(", ")} } `:"";return`${w.value}${W}`}function xr(w){if(w.snapshot){const W=w.snapshot,S=w._futureSnapshot;w.snapshot=S,gn(W.queryParams,S.queryParams)||w.queryParamsSubject.next(S.queryParams),W.fragment!==S.fragment&&w.fragmentSubject.next(S.fragment),gn(W.params,S.params)||w.paramsSubject.next(S.params),function ei(w,W){if(w.length!==W.length)return!1;for(let S=0;S<w.length;++S)if(!gn(w[S],W[S]))return!1;return!0}(W.url,S.url)||w.urlSubject.next(S.url),gn(W.data,S.data)||w.dataSubject.next(S.data)}else w.snapshot=w._futureSnapshot,w.dataSubject.next(w._futureSnapshot.data)}function fr(w,W){const S=gn(w.params,W.params)&&function En(w,W){return ft(w,W)&&w.every((S,z)=>gn(S.parameters,W[z].parameters))}(w.url,W.url);return S&&!(!w.parent!=!W.parent)&&(!w.parent||fr(w.parent,W.parent))}function ca(w){return"string"==typeof w.title||null===w.title}let ro=(()=>{class w{constructor(){this.activated=null,this._activatedRoute=null,this.name=pe,this.activateEvents=new n.bkB,this.deactivateEvents=new n.bkB,this.attachEvents=new n.bkB,this.detachEvents=new n.bkB,this.parentContexts=(0,n.WQX)(Hi),this.location=(0,n.WQX)(n.c1b),this.changeDetector=(0,n.WQX)(n.gRc),this.environmentInjector=(0,n.WQX)(n.uvJ),this.inputBinder=(0,n.WQX)(Ri,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(S){if(S.name){const{firstChange:z,previousValue:he}=S.name;if(z)return;this.isTrackedInParentContexts(he)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(he)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(S){return this.parentContexts.getContext(S)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const S=this.parentContexts.getContext(this.name);S?.route&&(S.attachRef?this.attach(S.attachRef,S.route):this.activateWith(S.route,S.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.wOt(4012,!1);this.location.detach();const S=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(S.instance),S}attach(S,z){this.activated=S,this._activatedRoute=z,this.location.insert(S.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(S.instance)}deactivate(){if(this.activated){const S=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(S)}}activateWith(S,z){if(this.isActivated)throw new n.wOt(4013,!1);this._activatedRoute=S;const he=this.location,gt=S.snapshot.component,cn=this.parentContexts.getOrCreateContext(this.name).children,tn=new ko(S,cn,he.injector);this.activated=he.createComponent(gt,{index:he.length,injector:tn,environmentInjector:z??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275dir=n.FsC({type:w,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.OA$]})}return w})();class ko{constructor(W,S,z){this.route=W,this.childContexts=S,this.parent=z,this.__ngOutletInjector=!0}get(W,S){return W===Nr?this.route:W===Hi?this.childContexts:this.parent.get(W,S)}}const Ri=new n.nKC("");let Xo=(()=>{class w{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(S){this.unsubscribeFromRouteData(S),this.subscribeToRouteData(S)}unsubscribeFromRouteData(S){this.outletDataSubscriptions.get(S)?.unsubscribe(),this.outletDataSubscriptions.delete(S)}subscribeToRouteData(S){const{activatedRoute:z}=S,he=(0,A.z)([z.queryParams,z.params,z.data]).pipe((0,Se.n)(([je,gt,cn],tn)=>(cn={...je,...gt,...cn},0===tn?(0,F.of)(cn):Promise.resolve(cn)))).subscribe(je=>{if(!S.isActivated||!S.activatedComponentRef||S.activatedRoute!==z||null===z.component)return void this.unsubscribeFromRouteData(S);const gt=(0,n.HJs)(z.component);if(gt)for(const{templateName:cn}of gt.inputs)S.activatedComponentRef.setInput(cn,je[cn]);else this.unsubscribeFromRouteData(S)});this.outletDataSubscriptions.set(S,he)}static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac})}return w})();function go(w,W,S){if(S&&w.shouldReuseRoute(W.value,S.value.snapshot)){const z=S.value;z._futureSnapshot=W.value;const he=function Ba(w,W,S){return W.children.map(z=>{for(const he of S.children)if(w.shouldReuseRoute(z.value,he.value.snapshot))return go(w,z,he);return go(w,z)})}(w,W,S);return new be(z,he)}{if(w.shouldAttach(W.value)){const je=w.retrieve(W.value);if(null!==je){const gt=je.route;return gt.value._futureSnapshot=W.value,gt.children=W.children.map(cn=>go(w,cn)),gt}}const z=function Xr(w){return new Nr(new g.t(w.url),new g.t(w.params),new g.t(w.queryParams),new g.t(w.fragment),new g.t(w.data),w.outlet,w.component,w)}(W.value),he=W.children.map(je=>go(w,je));return new be(z,he)}}const Rs="ngNavigationCancelingError";function wo(w,W){const{redirectTo:S,navigationBehaviorOptions:z}=ze(W)?{redirectTo:W,navigationBehaviorOptions:void 0}:W,he=ls(!1,Qn.Redirect);return he.url=S,he.navigationBehaviorOptions=z,he}function ls(w,W){const S=new Error(`NavigationCancelingError: ${w||""}`);return S[Rs]=!0,S.cancellationCode=W,S}function _o(w){return!!w&&w[Rs]}let ua=(()=>{class w{static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275cmp=n.VBU({type:w,selectors:[["ng-component"]],standalone:!0,features:[n.aNF],decls:1,vars:0,template:function(z,he){1&z&&n.nrm(0,"router-outlet")},dependencies:[ro],encapsulation:2})}return w})();function Ss(w){const W=w.children&&w.children.map(Ss),S=W?{...w,children:W}:{...w};return!S.component&&!S.loadComponent&&(W||S.loadChildren)&&S.outlet&&S.outlet!==pe&&(S.component=ua),S}function Yr(w){return w.outlet||pe}function $o(w){if(!w)return null;if(w.routeConfig?._injector)return w.routeConfig._injector;for(let W=w.parent;W;W=W.parent){const S=W.routeConfig;if(S?._loadedInjector)return S._loadedInjector;if(S?._injector)return S._injector}return null}class fa{constructor(W,S,z,he,je){this.routeReuseStrategy=W,this.futureState=S,this.currState=z,this.forwardEvent=he,this.inputBindingEnabled=je}activate(W){const S=this.futureState._root,z=this.currState?this.currState._root:null;this.deactivateChildRoutes(S,z,W),xr(this.futureState.root),this.activateChildRoutes(S,z,W)}deactivateChildRoutes(W,S,z){const he=ae(S);W.children.forEach(je=>{const gt=je.value.outlet;this.deactivateRoutes(je,he[gt],z),delete he[gt]}),Object.values(he).forEach(je=>{this.deactivateRouteAndItsChildren(je,z)})}deactivateRoutes(W,S,z){const he=W.value,je=S?S.value:null;if(he===je)if(he.component){const gt=z.getContext(he.outlet);gt&&this.deactivateChildRoutes(W,S,gt.children)}else this.deactivateChildRoutes(W,S,z);else je&&this.deactivateRouteAndItsChildren(S,z)}deactivateRouteAndItsChildren(W,S){W.value.component&&this.routeReuseStrategy.shouldDetach(W.value.snapshot)?this.detachAndStoreRouteSubtree(W,S):this.deactivateRouteAndOutlet(W,S)}detachAndStoreRouteSubtree(W,S){const z=S.getContext(W.value.outlet),he=z&&W.value.component?z.children:S,je=ae(W);for(const gt of Object.values(je))this.deactivateRouteAndItsChildren(gt,he);if(z&&z.outlet){const gt=z.outlet.detach(),cn=z.children.onOutletDeactivated();this.routeReuseStrategy.store(W.value.snapshot,{componentRef:gt,route:W,contexts:cn})}}deactivateRouteAndOutlet(W,S){const z=S.getContext(W.value.outlet),he=z&&W.value.component?z.children:S,je=ae(W);for(const gt of Object.values(je))this.deactivateRouteAndItsChildren(gt,he);z&&(z.outlet&&(z.outlet.deactivate(),z.children.onOutletDeactivated()),z.attachRef=null,z.route=null)}activateChildRoutes(W,S,z){const he=ae(S);W.children.forEach(je=>{this.activateRoutes(je,he[je.value.outlet],z),this.forwardEvent(new _n(je.value.snapshot))}),W.children.length&&this.forwardEvent(new Mi(W.value.snapshot))}activateRoutes(W,S,z){const he=W.value,je=S?S.value:null;if(xr(he),he===je)if(he.component){const gt=z.getOrCreateContext(he.outlet);this.activateChildRoutes(W,S,gt.children)}else this.activateChildRoutes(W,S,z);else if(he.component){const gt=z.getOrCreateContext(he.outlet);if(this.routeReuseStrategy.shouldAttach(he.snapshot)){const cn=this.routeReuseStrategy.retrieve(he.snapshot);this.routeReuseStrategy.store(he.snapshot,null),gt.children.onOutletReAttached(cn.contexts),gt.attachRef=cn.componentRef,gt.route=cn.route.value,gt.outlet&>.outlet.attach(cn.componentRef,cn.route.value),xr(cn.route.value),this.activateChildRoutes(W,null,gt.children)}else{const cn=$o(he.snapshot);gt.attachRef=null,gt.route=he,gt.injector=cn,gt.outlet&>.outlet.activateWith(he,gt.injector),this.activateChildRoutes(W,null,gt.children)}}else this.activateChildRoutes(W,null,z)}}class Ho{constructor(W){this.path=W,this.route=this.path[this.path.length-1]}}class qi{constructor(W,S){this.component=W,this.route=S}}function Ws(w,W,S){const z=w._root;return ds(z,W?W._root:null,S,[z.value])}function cs(w,W){const S=Symbol(),z=W.get(w,S);return z===S?"function"!=typeof w||(0,n.LfX)(w)?W.get(w):w:z}function ds(w,W,S,z,he={canDeactivateChecks:[],canActivateChecks:[]}){const je=ae(W);return w.children.forEach(gt=>{(function Ls(w,W,S,z,he={canDeactivateChecks:[],canActivateChecks:[]}){const je=w.value,gt=W?W.value:null,cn=S?S.getContext(w.value.outlet):null;if(gt&&je.routeConfig===gt.routeConfig){const tn=function Ao(w,W,S){if("function"==typeof S)return S(w,W);switch(S){case"pathParamsChange":return!ft(w.url,W.url);case"pathParamsOrQueryParamsChange":return!ft(w.url,W.url)||!gn(w.queryParams,W.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fr(w,W)||!gn(w.queryParams,W.queryParams);default:return!fr(w,W)}}(gt,je,je.routeConfig.runGuardsAndResolvers);tn?he.canActivateChecks.push(new Ho(z)):(je.data=gt.data,je._resolvedData=gt._resolvedData),ds(w,W,je.component?cn?cn.children:null:S,z,he),tn&&cn&&cn.outlet&&cn.outlet.isActivated&&he.canDeactivateChecks.push(new qi(cn.outlet.component,gt))}else gt&&Go(W,cn,he),he.canActivateChecks.push(new Ho(z)),ds(w,null,je.component?cn?cn.children:null:S,z,he)})(gt,je[gt.value.outlet],S,z.concat([gt.value]),he),delete je[gt.value.outlet]}),Object.entries(je).forEach(([gt,cn])=>Go(cn,S.getContext(gt),he)),he}function Go(w,W,S){const z=ae(w),he=w.value;Object.entries(z).forEach(([je,gt])=>{Go(gt,he.component?W?W.children.getContext(je):null:W,S)}),S.canDeactivateChecks.push(new qi(he.component&&W&&W.outlet&&W.outlet.isActivated?W.outlet.component:null,he))}function Ks(w){return"function"==typeof w}function j(w){return w instanceof M.G||"EmptyError"===w?.name}const x=Symbol("INITIAL_VALUE");function P(){return(0,Se.n)(w=>(0,A.z)(w.map(W=>W.pipe((0,Ne.s)(1),(0,ot.Z)(x)))).pipe((0,J.T)(W=>{for(const S of W)if(!0!==S){if(S===x)return x;if(!1===S||S instanceof fn)return S}return!0}),(0,dt.p)(W=>W!==x),(0,Ne.s)(1)))}function In(w){return(0,T.F)((0,Ae.M)(W=>{if(ze(W))throw wo(0,W)}),(0,J.T)(W=>!0===W))}class ii{constructor(W){this.segmentGroup=W||null}}class ri extends Error{constructor(W){super(),this.urlTree=W}}function ai(w){return(0,N.$)(new ii(w))}class tr{constructor(W,S){this.urlSerializer=W,this.urlTree=S}lineralizeSegments(W,S){let z=[],he=S.root;for(;;){if(z=z.concat(he.segments),0===he.numberOfChildren)return(0,F.of)(z);if(he.numberOfChildren>1||!he.children[pe])return(0,N.$)(new n.wOt(4e3,!1));he=he.children[pe]}}applyRedirectCommands(W,S,z){const he=this.applyRedirectCreateUrlTree(S,this.urlSerializer.parse(S),W,z);if(S.startsWith("/"))throw new ri(he);return he}applyRedirectCreateUrlTree(W,S,z,he){const je=this.createSegmentGroup(W,S.root,z,he);return new fn(je,this.createQueryParams(S.queryParams,this.urlTree.queryParams),S.fragment)}createQueryParams(W,S){const z={};return Object.entries(W).forEach(([he,je])=>{if("string"==typeof je&&je.startsWith(":")){const cn=je.substring(1);z[he]=S[cn]}else z[he]=je}),z}createSegmentGroup(W,S,z,he){const je=this.createSegments(W,S.segments,z,he);let gt={};return Object.entries(S.children).forEach(([cn,tn])=>{gt[cn]=this.createSegmentGroup(W,tn,z,he)}),new jn(je,gt)}createSegments(W,S,z,he){return S.map(je=>je.path.startsWith(":")?this.findPosParam(W,je,he):this.findOrReturn(je,z))}findPosParam(W,S,z){const he=z[S.path.substring(1)];if(!he)throw new n.wOt(4001,!1);return he}findOrReturn(W,S){let z=0;for(const he of S){if(he.path===W.path)return S.splice(z),he;z++}return W}}const yr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function bi(w,W,S,z,he){const je=Pi(w,W,S);return je.matched?(z=function So(w,W){return w.providers&&!w._injector&&(w._injector=(0,n.Ol2)(w.providers,W,`Route: ${w.path}`)),w._injector??W}(W,z),function Rn(w,W,S,z){const he=W.canMatch;if(!he||0===he.length)return(0,F.of)(!0);const je=he.map(gt=>{const cn=cs(gt,w);return ti(function _i(w){return w&&Ks(w.canMatch)}(cn)?cn.canMatch(W,S):(0,n.N4e)(w,()=>cn(W,S)))});return(0,F.of)(je).pipe(P(),In())}(z,W,S).pipe((0,J.T)(gt=>!0===gt?je:{...yr}))):(0,F.of)(je)}function Pi(w,W,S){if("**"===W.path)return function Si(w){return{matched:!0,parameters:w.length>0?xi(w).parameters:{},consumedSegments:w,remainingSegments:[],positionalParamSegments:{}}}(S);if(""===W.path)return"full"===W.pathMatch&&(w.hasChildren()||S.length>0)?{...yr}:{matched:!0,consumedSegments:[],remainingSegments:S,parameters:{},positionalParamSegments:{}};const he=(W.matcher||Fn)(S,w,W);if(!he)return{...yr};const je={};Object.entries(he.posParams??{}).forEach(([cn,tn])=>{je[cn]=tn.path});const gt=he.consumed.length>0?{...je,...he.consumed[he.consumed.length-1].parameters}:je;return{matched:!0,consumedSegments:he.consumed,remainingSegments:S.slice(he.consumed.length),parameters:gt,positionalParamSegments:he.posParams??{}}}function si(w,W,S,z){return S.length>0&&function us(w,W,S){return S.some(z=>vo(w,W,z)&&Yr(z)!==pe)}(w,S,z)?{segmentGroup:new jn(W,Oo(z,new jn(S,w.children))),slicedSegments:[]}:0===S.length&&function oo(w,W,S){return S.some(z=>vo(w,W,z))}(w,S,z)?{segmentGroup:new jn(w.segments,Vi(w,S,z,w.children)),slicedSegments:S}:{segmentGroup:new jn(w.segments,w.children),slicedSegments:S}}function Vi(w,W,S,z){const he={};for(const je of S)if(vo(w,W,je)&&!z[Yr(je)]){const gt=new jn([],{});he[Yr(je)]=gt}return{...z,...he}}function Oo(w,W){const S={};S[pe]=W;for(const z of w)if(""===z.path&&Yr(z)!==pe){const he=new jn([],{});S[Yr(z)]=he}return S}function vo(w,W,S){return(!(w.hasChildren()||W.length>0)||"full"!==S.pathMatch)&&""===S.path}class pn{}class ji{constructor(W,S,z,he,je,gt,cn){this.injector=W,this.configLoader=S,this.rootComponentType=z,this.config=he,this.urlTree=je,this.paramsInheritanceStrategy=gt,this.urlSerializer=cn,this.applyRedirects=new tr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(W){return new n.wOt(4002,`'${W.segmentGroup}'`)}recognize(){const W=si(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(W).pipe((0,J.T)(S=>{const z=new mo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},pe,this.rootComponentType,null,{}),he=new be(z,S),je=new Ko("",he),gt=function bt(w,W,S=null,z=null){return An(Ut(w),W,S,z)}(z,[],this.urlTree.queryParams,this.urlTree.fragment);return gt.queryParams=this.urlTree.queryParams,je.url=this.urlSerializer.serialize(gt),this.inheritParamsAndData(je._root,null),{state:je,tree:gt}}))}match(W){return this.processSegmentGroup(this.injector,this.config,W,pe).pipe((0,we.W)(z=>{if(z instanceof ri)return this.urlTree=z.urlTree,this.match(z.urlTree.root);throw z instanceof ii?this.noMatchError(z):z}))}inheritParamsAndData(W,S){const z=W.value,he=io(z,S,this.paramsInheritanceStrategy);z.params=Object.freeze(he.params),z.data=Object.freeze(he.data),W.children.forEach(je=>this.inheritParamsAndData(je,z))}processSegmentGroup(W,S,z,he){return 0===z.segments.length&&z.hasChildren()?this.processChildren(W,S,z):this.processSegment(W,S,z,z.segments,he,!0).pipe((0,J.T)(je=>je instanceof be?[je]:[]))}processChildren(W,S,z){const he=[];for(const je of Object.keys(z.children))"primary"===je?he.unshift(je):he.push(je);return(0,y.H)(he).pipe((0,se.H)(je=>{const gt=z.children[je],cn=function qr(w,W){const S=w.filter(z=>Yr(z)===W);return S.push(...w.filter(z=>Yr(z)!==W)),S}(S,je);return this.processSegmentGroup(W,cn,gt,je)}),function yt(w,W){return(0,ue.N)(function Ye(w,W,S,z,he){return(je,gt)=>{let cn=S,tn=W,ui=0;je.subscribe((0,Oe._)(gt,ar=>{const lr=ui++;tn=cn?w(tn,ar,lr):(cn=!0,ar),z&>.next(tn)},he&&(()=>{cn&>.next(tn),gt.complete()})))}}(w,W,arguments.length>=2,!0))}((je,gt)=>(je.push(...gt),je)),(0,Yt.U)(null),function Ot(w,W){const S=arguments.length>=2;return z=>z.pipe(w?(0,dt.p)((he,je)=>w(he,je,z)):jt.D,Vt(1),S?(0,Yt.U)(W):(0,qt.v)(()=>new M.G))}(),(0,He.Z)(je=>{if(null===je)return ai(z);const gt=Gi(je);return function Sr(w){w.sort((W,S)=>W.value.outlet===pe?-1:S.value.outlet===pe?1:W.value.outlet.localeCompare(S.value.outlet))}(gt),(0,F.of)(gt)}))}processSegment(W,S,z,he,je,gt){return(0,y.H)(S).pipe((0,se.H)(cn=>this.processSegmentAgainstRoute(cn._injector??W,S,cn,z,he,je,gt).pipe((0,we.W)(tn=>{if(tn instanceof ii)return(0,F.of)(null);throw tn}))),(0,Ge.$)(cn=>!!cn),(0,we.W)(cn=>{if(j(cn))return function Nt(w,W,S){return 0===W.length&&!w.children[S]}(z,he,je)?(0,F.of)(new pn):ai(z);throw cn}))}processSegmentAgainstRoute(W,S,z,he,je,gt,cn){return function Ts(w,W,S,z){return!!(Yr(w)===z||z!==pe&&vo(W,S,w))&&Pi(W,w,S).matched}(z,he,je,gt)?void 0===z.redirectTo?this.matchSegmentAgainstRoute(W,he,z,je,gt):this.allowRedirects&&cn?this.expandSegmentAgainstRouteUsingRedirect(W,he,S,z,je,gt):ai(he):ai(he)}expandSegmentAgainstRouteUsingRedirect(W,S,z,he,je,gt){const{matched:cn,consumedSegments:tn,positionalParamSegments:ui,remainingSegments:ar}=Pi(S,he,je);if(!cn)return ai(S);he.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const lr=this.applyRedirects.applyRedirectCommands(tn,he.redirectTo,ui);return this.applyRedirects.lineralizeSegments(he,lr).pipe((0,He.Z)(Do=>this.processSegment(W,z,S,Do.concat(ar),gt,!1)))}matchSegmentAgainstRoute(W,S,z,he,je){const gt=bi(S,z,he,W);return"**"===z.path&&(S.children={}),gt.pipe((0,Se.n)(cn=>cn.matched?this.getChildConfig(W=z._injector??W,z,he).pipe((0,Se.n)(({routes:tn})=>{const ui=z._loadedInjector??W,{consumedSegments:ar,remainingSegments:lr,parameters:Do}=cn,Ll=new mo(ar,Do,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function il(w){return w.data||{}}(z),Yr(z),z.component??z._loadedComponent??null,z,function Po(w){return w.resolve||{}}(z)),{segmentGroup:ll,slicedSegments:Nl}=si(S,ar,lr,tn);if(0===Nl.length&&ll.hasChildren())return this.processChildren(ui,tn,ll).pipe((0,J.T)(Ha=>null===Ha?null:new be(Ll,Ha)));if(0===tn.length&&0===Nl.length)return(0,F.of)(new be(Ll,[]));const Od=Yr(z)===je;return this.processSegment(ui,tn,ll,Nl,Od?pe:je,!0).pipe((0,J.T)(Ha=>new be(Ll,Ha instanceof be?[Ha]:[])))})):ai(S)))}getChildConfig(W,S,z){return S.children?(0,F.of)({routes:S.children,injector:W}):S.loadChildren?void 0!==S._loadedRoutes?(0,F.of)({routes:S._loadedRoutes,injector:S._loadedInjector}):function Un(w,W,S,z){const he=W.canLoad;if(void 0===he||0===he.length)return(0,F.of)(!0);const je=he.map(gt=>{const cn=cs(gt,w);return ti(function Ee(w){return w&&Ks(w.canLoad)}(cn)?cn.canLoad(W,S):(0,n.N4e)(w,()=>cn(W,S)))});return(0,F.of)(je).pipe(P(),In())}(W,S,z).pipe((0,He.Z)(he=>he?this.configLoader.loadChildren(W,S).pipe((0,Ae.M)(je=>{S._loadedRoutes=je.routes,S._loadedInjector=je.injector})):function vi(w){return(0,N.$)(ls(!1,Qn.GuardRejected))}())):(0,F.of)({routes:[],injector:W})}}function Ai(w){const W=w.value.routeConfig;return W&&""===W.path}function Gi(w){const W=[],S=new Set;for(const z of w){if(!Ai(z)){W.push(z);continue}const he=W.find(je=>z.value.routeConfig===je.value.routeConfig);void 0!==he?(he.children.push(...z.children),S.add(he)):W.push(z)}for(const z of S){const he=Gi(z.children);W.push(new be(z.value,he))}return W.filter(z=>!S.has(z))}function Ta(w){const W=w.children.map(S=>Ta(S)).flat();return[w,...W]}function Ns(w){return(0,Se.n)(W=>{const S=w(W);return S?(0,y.H)(S).pipe((0,J.T)(()=>W)):(0,F.of)(W)})}let Ms=(()=>{class w{buildTitle(S){let z,he=S.root;for(;void 0!==he;)z=this.getResolvedTitleForRoute(he)??z,he=he.children.find(je=>je.outlet===pe);return z}getResolvedTitleForRoute(S){return S.data[Pe]}static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:()=>(0,n.WQX)(pa),providedIn:"root"})}return w})(),pa=(()=>{class w extends Ms{constructor(S){super(),this.title=S}updateTitle(S){const z=this.buildTitle(S);void 0!==z&&this.title.setTitle(z)}static#e=this.\u0275fac=function(z){return new(z||w)(n.KVO(Le.hE))};static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();const Qs=new n.nKC("",{providedIn:"root",factory:()=>({})}),Ia=new n.nKC("");let ql=(()=>{class w{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.WQX)(n.Ql9)}loadComponent(S){if(this.componentLoaders.get(S))return this.componentLoaders.get(S);if(S._loadedComponent)return(0,F.of)(S._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(S);const z=ti(S.loadComponent()).pipe((0,J.T)(rl),(0,Ae.M)(je=>{this.onLoadEndListener&&this.onLoadEndListener(S),S._loadedComponent=je}),(0,ut.j)(()=>{this.componentLoaders.delete(S)})),he=new b.G(z,()=>new G.B).pipe((0,tt.B)());return this.componentLoaders.set(S,he),he}loadChildren(S,z){if(this.childrenLoaders.get(z))return this.childrenLoaders.get(z);if(z._loadedRoutes)return(0,F.of)({routes:z._loadedRoutes,injector:z._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(z);const je=function ka(w,W,S,z){return ti(w.loadChildren()).pipe((0,J.T)(rl),(0,He.Z)(he=>he instanceof n.Co$||Array.isArray(he)?(0,F.of)(he):(0,y.H)(W.compileModuleAsync(he))),(0,J.T)(he=>{z&&z(w);let je,gt,cn=!1;return Array.isArray(he)?(gt=he,!0):(je=he.create(S).injector,gt=je.get(Ia,[],{optional:!0,self:!0}).flat()),{routes:gt.map(Ss),injector:je}}))}(z,this.compiler,S,this.onLoadEndListener).pipe((0,ut.j)(()=>{this.childrenLoaders.delete(z)})),gt=new b.G(je,()=>new G.B).pipe((0,tt.B)());return this.childrenLoaders.set(z,gt),gt}static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();function rl(w){return function fs(w){return w&&"object"==typeof w&&"default"in w}(w)?w.default:w}let Ol=(()=>{class w{static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:()=>(0,n.WQX)(Js),providedIn:"root"})}return w})(),Js=(()=>{class w{shouldProcessUrl(S){return!0}extract(S){return S}merge(S,z){return S}static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();const Aa=new n.nKC(""),Rl=new n.nKC("");function Oa(w,W,S){const z=w.get(Rl),he=w.get(ce.qQ);return w.get(n.SKi).runOutsideAngular(()=>{if(!he.startViewTransition||z.skipNextTransition)return z.skipNextTransition=!1,Promise.resolve();let je;const gt=new Promise(ui=>{je=ui}),cn=he.startViewTransition(()=>(je(),function k(w){return new Promise(W=>{(0,n.mal)(W,{injector:w})})}(w))),{onViewTransitionCreated:tn}=z;return tn&&(0,n.N4e)(w,()=>tn({transition:cn,from:W,to:S})),gt})}let xe=(()=>{class w{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new G.B,this.transitionAbortSubject=new G.B,this.configLoader=(0,n.WQX)(ql),this.environmentInjector=(0,n.WQX)(n.uvJ),this.urlSerializer=(0,n.WQX)(Qt),this.rootContexts=(0,n.WQX)(Hi),this.location=(0,n.WQX)(ce.aZ),this.inputBindingEnabled=null!==(0,n.WQX)(Ri,{optional:!0}),this.titleStrategy=(0,n.WQX)(Ms),this.options=(0,n.WQX)(Qs,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.WQX)(Ol),this.createViewTransition=(0,n.WQX)(Aa,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,F.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=he=>this.events.next(new po(he)),this.configLoader.onLoadStartListener=he=>this.events.next(new Ji(he))}complete(){this.transitions?.complete()}handleNavigationRequest(S){const z=++this.navigationId;this.transitions?.next({...this.transitions.value,...S,id:z})}setupNavigations(S,z,he){return this.transitions=new g.t({id:0,currentUrlTree:z,currentRawUrl:z,extractedUrl:this.urlHandlingStrategy.extract(z),urlAfterRedirects:this.urlHandlingStrategy.extract(z),rawUrl:z,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:oe,restoredState:null,currentSnapshot:he.snapshot,targetSnapshot:null,currentRouterState:he,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,dt.p)(je=>0!==je.id),(0,J.T)(je=>({...je,extractedUrl:this.urlHandlingStrategy.extract(je.rawUrl)})),(0,Se.n)(je=>{let gt=!1,cn=!1;return(0,F.of)(je).pipe((0,Se.n)(tn=>{if(this.navigationId>je.id)return this.cancelNavigationTransition(je,"",Qn.SupersededByNewNavigation),U.w;this.currentTransition=je,this.currentNavigation={id:tn.id,initialUrl:tn.rawUrl,extractedUrl:tn.extractedUrl,trigger:tn.source,extras:tn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const ui=!S.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!ui&&"reload"!==(tn.extras.onSameUrlNavigation??S.onSameUrlNavigation)){const lr="";return this.events.next(new Ui(tn.id,this.urlSerializer.serialize(tn.rawUrl),lr,ni.IgnoredSameUrlNavigation)),tn.resolve(null),U.w}if(this.urlHandlingStrategy.shouldProcessUrl(tn.rawUrl))return(0,F.of)(tn).pipe((0,Se.n)(lr=>{const Do=this.transitions?.getValue();return this.events.next(new $t(lr.id,this.urlSerializer.serialize(lr.extractedUrl),lr.source,lr.restoredState)),Do!==this.transitions?.getValue()?U.w:Promise.resolve(lr)}),function Xs(w,W,S,z,he,je){return(0,He.Z)(gt=>function un(w,W,S,z,he,je,gt="emptyOnly"){return new ji(w,W,S,z,he,gt,je).recognize()}(w,W,S,z,gt.extractedUrl,he,je).pipe((0,J.T)(({state:cn,tree:tn})=>({...gt,targetSnapshot:cn,urlAfterRedirects:tn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,S.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Ae.M)(lr=>{je.targetSnapshot=lr.targetSnapshot,je.urlAfterRedirects=lr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:lr.urlAfterRedirects};const Do=new $i(lr.id,this.urlSerializer.serialize(lr.extractedUrl),this.urlSerializer.serialize(lr.urlAfterRedirects),lr.targetSnapshot);this.events.next(Do)}));if(ui&&this.urlHandlingStrategy.shouldProcessUrl(tn.currentRawUrl)){const{id:lr,extractedUrl:Do,source:Ll,restoredState:ll,extras:Nl}=tn,Od=new $t(lr,this.urlSerializer.serialize(Do),Ll,ll);this.events.next(Od);const Ha=Ht(this.rootComponentType).snapshot;return this.currentTransition=je={...tn,targetSnapshot:Ha,urlAfterRedirects:Do,extras:{...Nl,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Do,(0,F.of)(je)}{const lr="";return this.events.next(new Ui(tn.id,this.urlSerializer.serialize(tn.extractedUrl),lr,ni.IgnoredByUrlHandlingStrategy)),tn.resolve(null),U.w}}),(0,Ae.M)(tn=>{const ui=new br(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot);this.events.next(ui)}),(0,J.T)(tn=>(this.currentTransition=je={...tn,guards:Ws(tn.targetSnapshot,tn.currentSnapshot,this.rootContexts)},je)),function te(w,W){return(0,He.Z)(S=>{const{targetSnapshot:z,currentSnapshot:he,guards:{canActivateChecks:je,canDeactivateChecks:gt}}=S;return 0===gt.length&&0===je.length?(0,F.of)({...S,guardsResult:!0}):function de(w,W,S,z){return(0,y.H)(w).pipe((0,He.Z)(he=>function $n(w,W,S,z,he){const je=W&&W.routeConfig?W.routeConfig.canDeactivate:null;if(!je||0===je.length)return(0,F.of)(!0);const gt=je.map(cn=>{const tn=$o(W)??he,ui=cs(cn,tn);return ti(function Ct(w){return w&&Ks(w.canDeactivate)}(ui)?ui.canDeactivate(w,W,S,z):(0,n.N4e)(tn,()=>ui(w,W,S,z))).pipe((0,Ge.$)())});return(0,F.of)(gt).pipe(P())}(he.component,he.route,S,W,z)),(0,Ge.$)(he=>!0!==he,!0))}(gt,z,he,w).pipe((0,He.Z)(cn=>cn&&function fe(w){return"boolean"==typeof w}(cn)?function Ke(w,W,S,z){return(0,y.H)(W).pipe((0,se.H)(he=>(0,B.x)(function en(w,W){return null!==w&&W&&W(new no(w)),(0,F.of)(!0)}(he.route.parent,z),function wt(w,W){return null!==w&&W&&W(new Li(w)),(0,F.of)(!0)}(he.route,z),function hn(w,W,S){const z=W[W.length-1],je=W.slice(0,W.length-1).reverse().map(gt=>function ha(w){const W=w.routeConfig?w.routeConfig.canActivateChild:null;return W&&0!==W.length?{node:w,guards:W}:null}(gt)).filter(gt=>null!==gt).map(gt=>(0,V.v)(()=>{const cn=gt.guards.map(tn=>{const ui=$o(gt.node)??S,ar=cs(tn,ui);return ti(function Ve(w){return w&&Ks(w.canActivateChild)}(ar)?ar.canActivateChild(z,w):(0,n.N4e)(ui,()=>ar(z,w))).pipe((0,Ge.$)())});return(0,F.of)(cn).pipe(P())}));return(0,F.of)(je).pipe(P())}(w,he.path,S),function Gt(w,W,S){const z=W.routeConfig?W.routeConfig.canActivate:null;if(!z||0===z.length)return(0,F.of)(!0);const he=z.map(je=>(0,V.v)(()=>{const gt=$o(W)??S,cn=cs(je,gt);return ti(function Y(w){return w&&Ks(w.canActivate)}(cn)?cn.canActivate(W,w):(0,n.N4e)(gt,()=>cn(W,w))).pipe((0,Ge.$)())}));return(0,F.of)(he).pipe(P())}(w,he.route,S))),(0,Ge.$)(he=>!0!==he,!0))}(z,je,w,W):(0,F.of)(cn)),(0,J.T)(cn=>({...S,guardsResult:cn})))})}(this.environmentInjector,tn=>this.events.next(tn)),(0,Ae.M)(tn=>{if(je.guardsResult=tn.guardsResult,ze(tn.guardsResult))throw wo(0,tn.guardsResult);const ui=new jr(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects),tn.targetSnapshot,!!tn.guardsResult);this.events.next(ui)}),(0,dt.p)(tn=>!!tn.guardsResult||(this.cancelNavigationTransition(tn,"",Qn.GuardRejected),!1)),Ns(tn=>{if(tn.guards.canActivateChecks.length)return(0,F.of)(tn).pipe((0,Ae.M)(ui=>{const ar=new ts(ui.id,this.urlSerializer.serialize(ui.extractedUrl),this.urlSerializer.serialize(ui.urlAfterRedirects),ui.targetSnapshot);this.events.next(ar)}),(0,Se.n)(ui=>{let ar=!1;return(0,F.of)(ui).pipe(function Cc(w,W){return(0,He.Z)(S=>{const{targetSnapshot:z,guards:{canActivateChecks:he}}=S;if(!he.length)return(0,F.of)(S);const je=new Set(he.map(tn=>tn.route)),gt=new Set;for(const tn of je)if(!gt.has(tn))for(const ui of Ta(tn))gt.add(ui);let cn=0;return(0,y.H)(gt).pipe((0,se.H)(tn=>je.has(tn)?function Ma(w,W,S,z){const he=w.routeConfig,je=w._resolve;return void 0!==he?.title&&!ca(he)&&(je[Pe]=he.title),function Ys(w,W,S,z){const he=pi(w);if(0===he.length)return(0,F.of)({});const je={};return(0,y.H)(he).pipe((0,He.Z)(gt=>function Ir(w,W,S,z){const he=$o(W)??z,je=cs(w,he);return ti(je.resolve?je.resolve(W,S):(0,n.N4e)(he,()=>je(W,S)))}(w[gt],W,S,z).pipe((0,Ge.$)(),(0,Ae.M)(cn=>{je[gt]=cn}))),Vt(1),(0,nt.u)(je),(0,we.W)(gt=>j(gt)?U.w:(0,N.$)(gt)))}(je,w,W,z).pipe((0,J.T)(gt=>(w._resolvedData=gt,w.data=io(w,w.parent,S).resolve,null)))}(tn,z,w,W):(tn.data=io(tn,tn.parent,w).resolve,(0,F.of)(void 0))),(0,Ae.M)(()=>cn++),Vt(1),(0,He.Z)(tn=>cn===gt.size?(0,F.of)(S):U.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Ae.M)({next:()=>ar=!0,complete:()=>{ar||this.cancelNavigationTransition(ui,"",Qn.NoDataFromResolver)}}))}),(0,Ae.M)(ui=>{const ar=new Ur(ui.id,this.urlSerializer.serialize(ui.extractedUrl),this.urlSerializer.serialize(ui.urlAfterRedirects),ui.targetSnapshot);this.events.next(ar)}))}),Ns(tn=>{const ui=ar=>{const lr=[];ar.routeConfig?.loadComponent&&!ar.routeConfig._loadedComponent&&lr.push(this.configLoader.loadComponent(ar.routeConfig).pipe((0,Ae.M)(Do=>{ar.component=Do}),(0,J.T)(()=>{})));for(const Do of ar.children)lr.push(...ui(Do));return lr};return(0,A.z)(ui(tn.targetSnapshot.root)).pipe((0,Yt.U)(null),(0,Ne.s)(1))}),Ns(()=>this.afterPreactivation()),(0,Se.n)(()=>{const{currentSnapshot:tn,targetSnapshot:ui}=je,ar=this.createViewTransition?.(this.environmentInjector,tn.root,ui.root);return ar?(0,y.H)(ar).pipe((0,J.T)(()=>je)):(0,F.of)(je)}),(0,J.T)(tn=>{const ui=function da(w,W,S){const z=go(w,W._root,S?S._root:void 0);return new Xe(z,W)}(S.routeReuseStrategy,tn.targetSnapshot,tn.currentRouterState);return this.currentTransition=je={...tn,targetRouterState:ui},this.currentNavigation.targetRouterState=ui,je}),(0,Ae.M)(()=>{this.events.next(new Sa)}),((w,W,S,z)=>(0,J.T)(he=>(new fa(W,he.targetRouterState,he.currentRouterState,S,z).activate(w),he)))(this.rootContexts,S.routeReuseStrategy,tn=>this.events.next(tn),this.inputBindingEnabled),(0,Ne.s)(1),(0,Ae.M)({next:tn=>{gt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Kn(tn.id,this.urlSerializer.serialize(tn.extractedUrl),this.urlSerializer.serialize(tn.urlAfterRedirects))),this.titleStrategy?.updateTitle(tn.targetRouterState.snapshot),tn.resolve(!0)},complete:()=>{gt=!0}}),(0,rt.Q)(this.transitionAbortSubject.pipe((0,Ae.M)(tn=>{throw tn}))),(0,ut.j)(()=>{!gt&&!cn&&this.cancelNavigationTransition(je,"",Qn.SupersededByNewNavigation),this.currentTransition?.id===je.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,we.W)(tn=>{if(cn=!0,_o(tn))this.events.next(new Ni(je.id,this.urlSerializer.serialize(je.extractedUrl),tn.message,tn.cancellationCode)),function Va(w){return _o(w)&&ze(w.url)}(tn)?this.events.next(new as(tn.url)):je.resolve(!1);else{this.events.next(new rr(je.id,this.urlSerializer.serialize(je.extractedUrl),tn,je.targetSnapshot??void 0));try{je.resolve(S.errorHandler(tn))}catch(ui){this.options.resolveNavigationPromiseOnError?je.resolve(!1):je.reject(ui)}}return U.w}))}))}cancelNavigationTransition(S,z,he){const je=new Ni(S.id,this.urlSerializer.serialize(S.extractedUrl),z,he);this.events.next(je),S.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();function Z(w){return w!==oe}let _e=(()=>{class w{static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:()=>(0,n.WQX)(dn),providedIn:"root"})}return w})();class ct{shouldDetach(W){return!1}store(W,S){}shouldAttach(W){return!1}retrieve(W){return null}shouldReuseRoute(W,S){return W.routeConfig===S.routeConfig}}let dn=(()=>{class w extends ct{static#e=this.\u0275fac=(()=>{let S;return function(he){return(S||(S=n.xGo(w)))(he||w)}})();static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),On=(()=>{class w{static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:()=>(0,n.WQX)(di),providedIn:"root"})}return w})(),di=(()=>{class w extends On{constructor(){super(...arguments),this.location=(0,n.WQX)(ce.aZ),this.urlSerializer=(0,n.WQX)(Qt),this.options=(0,n.WQX)(Qs,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.WQX)(Ol),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new fn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ht(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(S){return this.location.subscribe(z=>{"popstate"===z.type&&S(z.url,z.state)})}handleRouterEvent(S,z){if(S instanceof $t)this.stateMemento=this.createStateMemento();else if(S instanceof Ui)this.rawUrlTree=z.initialUrl;else if(S instanceof $i){if("eager"===this.urlUpdateStrategy&&!z.extras.skipLocationChange){const he=this.urlHandlingStrategy.merge(z.finalUrl,z.initialUrl);this.setBrowserUrl(he,z)}}else S instanceof Sa?(this.currentUrlTree=z.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(z.finalUrl,z.initialUrl),this.routerState=z.targetRouterState,"deferred"===this.urlUpdateStrategy&&(z.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,z))):S instanceof Ni&&(S.code===Qn.GuardRejected||S.code===Qn.NoDataFromResolver)?this.restoreHistory(z):S instanceof rr?this.restoreHistory(z,!0):S instanceof Kn&&(this.lastSuccessfulId=S.id,this.currentPageId=this.browserPageId)}setBrowserUrl(S,z){const he=this.urlSerializer.serialize(S);if(this.location.isCurrentPathEqualTo(he)||z.extras.replaceUrl){const gt={...z.extras.state,...this.generateNgRouterState(z.id,this.browserPageId)};this.location.replaceState(he,"",gt)}else{const je={...z.extras.state,...this.generateNgRouterState(z.id,this.browserPageId+1)};this.location.go(he,"",je)}}restoreHistory(S,z=!1){if("computed"===this.canceledNavigationResolution){const je=this.currentPageId-this.browserPageId;0!==je?this.location.historyGo(je):this.currentUrlTree===S.finalUrl&&0===je&&(this.resetState(S),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(z&&this.resetState(S),this.resetUrlToCurrentUrlTree())}resetState(S){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,S.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(S,z){return"computed"===this.canceledNavigationResolution?{navigationId:S,\u0275routerPageId:z}:{navigationId:S}}static#e=this.\u0275fac=(()=>{let S;return function(he){return(S||(S=n.xGo(w)))(he||w)}})();static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();var Cr=function(w){return w[w.COMPLETE=0]="COMPLETE",w[w.FAILED=1]="FAILED",w[w.REDIRECTING=2]="REDIRECTING",w}(Cr||{});function Rr(w,W){w.events.pipe((0,dt.p)(S=>S instanceof Kn||S instanceof Ni||S instanceof rr||S instanceof Ui),(0,J.T)(S=>S instanceof Kn||S instanceof Ui?Cr.COMPLETE:S instanceof Ni&&(S.code===Qn.Redirect||S.code===Qn.SupersededByNewNavigation)?Cr.REDIRECTING:Cr.FAILED),(0,dt.p)(S=>S!==Cr.REDIRECTING),(0,Ne.s)(1)).subscribe(()=>{W()})}function Lr(w){throw w}const dr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},so={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let or=(()=>{class w{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,n.WQX)(n.H3F),this.stateManager=(0,n.WQX)(On),this.options=(0,n.WQX)(Qs,{optional:!0})||{},this.pendingTasks=(0,n.WQX)(n.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.WQX)(xe),this.urlSerializer=(0,n.WQX)(Qt),this.location=(0,n.WQX)(ce.aZ),this.urlHandlingStrategy=(0,n.WQX)(Ol),this._events=new G.B,this.errorHandler=this.options.errorHandler||Lr,this.navigated=!1,this.routeReuseStrategy=(0,n.WQX)(_e),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.WQX)(Ia,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.WQX)(Ri,{optional:!0}),this.eventsSubscription=new R.yU,this.isNgZoneEnabled=(0,n.WQX)(n.SKi)instanceof n.SKi&&n.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:S=>{this.console.warn(S)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const S=this.navigationTransitions.events.subscribe(z=>{try{const he=this.navigationTransitions.currentTransition,je=this.navigationTransitions.currentNavigation;if(null!==he&&null!==je)if(this.stateManager.handleRouterEvent(z,je),z instanceof Ni&&z.code!==Qn.Redirect&&z.code!==Qn.SupersededByNewNavigation)this.navigated=!0;else if(z instanceof Kn)this.navigated=!0;else if(z instanceof as){const gt=this.urlHandlingStrategy.merge(z.url,he.currentRawUrl),cn={info:he.extras.info,skipLocationChange:he.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Z(he.source)};this.scheduleNavigation(gt,oe,null,cn,{resolve:he.resolve,reject:he.reject,promise:he.promise})}(function $r(w){return!(w instanceof Sa||w instanceof as)})(z)&&this._events.next(z)}catch(he){this.navigationTransitions.transitionAbortSubject.next(he)}});this.eventsSubscription.add(S)}resetRootComponentType(S){this.routerState.root.component=S,this.navigationTransitions.rootComponentType=S}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),oe,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((S,z)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(S,"popstate",z)},0)})}navigateToSyncWithBrowser(S,z,he){const je={replaceUrl:!0},gt=he?.navigationId?he:null;if(he){const tn={...he};delete tn.navigationId,delete tn.\u0275routerPageId,0!==Object.keys(tn).length&&(je.state=tn)}const cn=this.parseUrl(S);this.scheduleNavigation(cn,z,gt,je)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(S){this.config=S.map(Ss),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(S,z={}){const{relativeTo:he,queryParams:je,fragment:gt,queryParamsHandling:cn,preserveFragment:tn}=z,ui=tn?this.currentUrlTree.fragment:gt;let lr,ar=null;switch(cn){case"merge":ar={...this.currentUrlTree.queryParams,...je};break;case"preserve":ar=this.currentUrlTree.queryParams;break;default:ar=je||null}null!==ar&&(ar=this.removeEmptyProps(ar));try{lr=Ut(he?he.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof S[0]||!S[0].startsWith("/"))&&(S=[]),lr=this.currentUrlTree.root}return An(lr,S,ar,ui??null)}navigateByUrl(S,z={skipLocationChange:!1}){const he=ze(S)?S:this.parseUrl(S),je=this.urlHandlingStrategy.merge(he,this.rawUrlTree);return this.scheduleNavigation(je,oe,null,z)}navigate(S,z={skipLocationChange:!1}){return function hr(w){for(let W=0;W<w.length;W++)if(null==w[W])throw new n.wOt(4008,!1)}(S),this.navigateByUrl(this.createUrlTree(S,z),z)}serializeUrl(S){return this.urlSerializer.serialize(S)}parseUrl(S){try{return this.urlSerializer.parse(S)}catch{return this.urlSerializer.parse("/")}}isActive(S,z){let he;if(he=!0===z?{...dr}:!1===z?{...so}:z,ze(S))return mn(this.currentUrlTree,S,he);const je=this.parseUrl(S);return mn(this.currentUrlTree,je,he)}removeEmptyProps(S){return Object.entries(S).reduce((z,[he,je])=>(null!=je&&(z[he]=je),z),{})}scheduleNavigation(S,z,he,je,gt){if(this.disposed)return Promise.resolve(!1);let cn,tn,ui;gt?(cn=gt.resolve,tn=gt.reject,ui=gt.promise):ui=new Promise((lr,Do)=>{cn=lr,tn=Do});const ar=this.pendingTasks.add();return Rr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ar))}),this.navigationTransitions.handleNavigationRequest({source:z,restoredState:he,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:S,extras:je,resolve:cn,reject:tn,promise:ui,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ui.catch(lr=>Promise.reject(lr))}static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),sr=(()=>{class w{constructor(S,z,he,je,gt,cn){this.router=S,this.route=z,this.tabIndexAttribute=he,this.renderer=je,this.el=gt,this.locationStrategy=cn,this.href=null,this.commands=null,this.onChanges=new G.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const tn=gt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===tn||"area"===tn,this.isAnchorElement?this.subscription=S.events.subscribe(ui=>{ui instanceof Kn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(S){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",S)}ngOnChanges(S){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(S){null!=S?(this.commands=Array.isArray(S)?S:[S],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(S,z,he,je,gt){const cn=this.urlTree;return!!(null===cn||this.isAnchorElement&&(0!==S||z||he||je||gt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(cn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const S=this.urlTree;this.href=null!==S&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(S)):null;const z=null===this.href?null:(0,n.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",z)}applyAttributeValue(S,z){const he=this.renderer,je=this.el.nativeElement;null!==z?he.setAttribute(je,S,z):he.removeAttribute(je,S)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(z){return new(z||w)(n.rXU(or),n.rXU(Nr),n.kS0("tabindex"),n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(ce.hb))};static#t=this.\u0275dir=n.FsC({type:w,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(z,he){1&z&&n.bIt("click",function(gt){return he.onClick(gt.button,gt.ctrlKey,gt.shiftKey,gt.altKey,gt.metaKey)}),2&z&&n.BMQ("target",he.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[n.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",n.L39],skipLocationChange:[n.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",n.L39],replaceUrl:[n.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",n.L39],routerLink:"routerLink"},standalone:!0,features:[n.GFd,n.OA$]})}return w})();class Br{}let To=(()=>{class w{constructor(S,z,he,je,gt){this.router=S,this.injector=he,this.preloadingStrategy=je,this.loader=gt}setUpPreloading(){this.subscription=this.router.events.pipe((0,dt.p)(S=>S instanceof Kn),(0,se.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(S,z){const he=[];for(const je of z){je.providers&&!je._injector&&(je._injector=(0,n.Ol2)(je.providers,S,`Route: ${je.path}`));const gt=je._injector??S,cn=je._loadedInjector??gt;(je.loadChildren&&!je._loadedRoutes&&void 0===je.canLoad||je.loadComponent&&!je._loadedComponent)&&he.push(this.preloadConfig(gt,je)),(je.children||je._loadedRoutes)&&he.push(this.processRoutes(cn,je.children??je._loadedRoutes))}return(0,y.H)(he).pipe((0,Ft.U)())}preloadConfig(S,z){return this.preloadingStrategy.preload(z,()=>{let he;he=z.loadChildren&&void 0===z.canLoad?this.loader.loadChildren(S,z):(0,F.of)(null);const je=he.pipe((0,He.Z)(gt=>null===gt?(0,F.of)(void 0):(z._loadedRoutes=gt.routes,z._loadedInjector=gt.injector,this.processRoutes(gt.injector??S,gt.routes))));if(z.loadComponent&&!z._loadedComponent){const gt=this.loader.loadComponent(z);return(0,y.H)([je,gt]).pipe((0,Ft.U)())}return je})}static#e=this.\u0275fac=function(z){return new(z||w)(n.KVO(or),n.KVO(n.Ql9),n.KVO(n.uvJ),n.KVO(Br),n.KVO(ql))};static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();const Bs=new n.nKC("");let Pr=(()=>{class w{constructor(S,z,he,je,gt={}){this.urlSerializer=S,this.transitions=z,this.viewportScroller=he,this.zone=je,this.options=gt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},gt.scrollPositionRestoration||="disabled",gt.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(S=>{S instanceof $t?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=S.navigationTrigger,this.restoredId=S.restoredState?S.restoredState.navigationId:0):S instanceof Kn?(this.lastId=S.id,this.scheduleScrollEvent(S,this.urlSerializer.parse(S.urlAfterRedirects).fragment)):S instanceof Ui&&S.code===ni.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(S,this.urlSerializer.parse(S.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(S=>{S instanceof Ds&&(S.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(S.position):S.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(S.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(S,z){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ds(S,"popstate"===this.lastSource?this.store[this.restoredId]:null,z))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(z){n.QTQ()};static#t=this.\u0275prov=n.jDH({token:w,factory:w.\u0275fac})}return w})();function Ti(w,W){return{\u0275kind:w,\u0275providers:W}}function Ua(){const w=(0,n.WQX)(n.zZn);return W=>{const S=w.get(n.o8S);if(W!==S.components[0])return;const z=w.get(or),he=w.get(ma);1===w.get(rs)&&z.initialNavigation(),w.get($a,null,n.$GK.Optional)?.setUpPreloading(),w.get(Bs,null,n.$GK.Optional)?.init(),z.resetRootComponentType(S.componentTypes[0]),he.closed||(he.next(),he.complete(),he.unsubscribe())}}const ma=new n.nKC("",{factory:()=>new G.B}),rs=new n.nKC("",{providedIn:"root",factory:()=>1}),$a=new n.nKC("");function Qo(w){return Ti(0,[{provide:$a,useExisting:To},{provide:Br,useExisting:w}])}function _a(w){return Ti(9,[{provide:Aa,useValue:Oa},{provide:Rl,useValue:{skipNextTransition:!!w?.skipInitialTransition,...w}}])}const Eo=new n.nKC("ROUTER_FORROOT_GUARD"),qc=[ce.aZ,{provide:Qt,useClass:Tn},or,Hi,{provide:Nr,useFactory:function is(w){return w.routerState.root},deps:[or]},ql,[]];let Jo=(()=>{class w{constructor(S){}static forRoot(S,z){return{ngModule:w,providers:[qc,[],{provide:Ia,multi:!0,useValue:S},{provide:Eo,useFactory:Dc,deps:[[or,new n.Xx1,new n.kdw]]},{provide:Qs,useValue:z||{}},z?.useHash?{provide:ce.hb,useClass:ce.fw}:{provide:ce.hb,useClass:ce.Sm},{provide:Bs,useFactory:()=>{const w=(0,n.WQX)(ce.Xr),W=(0,n.WQX)(n.SKi),S=(0,n.WQX)(Qs),z=(0,n.WQX)(xe),he=(0,n.WQX)(Qt);return S.scrollOffset&&w.setOffset(S.scrollOffset),new Pr(he,z,w,W,S)}},z?.preloadingStrategy?Qo(z.preloadingStrategy).\u0275providers:[],z?.initialNavigation?va(z):[],z?.bindToComponentInputs?Ti(8,[Xo,{provide:Ri,useExisting:Xo}]).\u0275providers:[],z?.enableViewTransitions?_a().\u0275providers:[],[{provide:xl,useFactory:Ua},{provide:n.iLQ,multi:!0,useExisting:xl}]]}}static forChild(S){return{ngModule:w,providers:[{provide:Ia,multi:!0,useValue:S}]}}static#e=this.\u0275fac=function(z){return new(z||w)(n.KVO(Eo,8))};static#t=this.\u0275mod=n.$C({type:w});static#n=this.\u0275inj=n.G2t({})}return w})();function Dc(w){return"guarded"}function va(w){return["disabled"===w.initialNavigation?Ti(3,[{provide:n.hnV,multi:!0,useFactory:()=>{const W=(0,n.WQX)(or);return()=>{W.setUpLocationChangeListener()}}},{provide:rs,useValue:2}]).\u0275providers:[],"enabledBlocking"===w.initialNavigation?Ti(2,[{provide:rs,useValue:0},{provide:n.hnV,multi:!0,deps:[n.zZn],useFactory:W=>{const S=W.get(ce.hj,Promise.resolve());return()=>S.then(()=>new Promise(z=>{const he=W.get(or),je=W.get(ma);Rr(he,()=>{z(!0)}),W.get(xe).afterPreactivation=()=>(z(!0),je.closed?(0,F.of)(void 0):je),he.initialNavigation()}))}}]).\u0275providers:[]]}const xl=new n.nKC("")},5985:(_t,ge,f)=>{"use strict";f.d(ge,{$:()=>B,M:()=>V});var T,N,n=f(1635),y=(f(1289),f(4420)),F=f(1181),g=f(6500),A=f(7715),B=function(){function b(){this.known=new(g.En?WeakSet:Set),this.pool=new y.b(g.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return b.prototype.isKnown=function(G){return(0,F.U)(G)&&this.known.has(G)},b.prototype.pass=function(G){if((0,F.U)(G)){var R=function M(b){return(0,F.U)(b)?(0,A.c)(b)?b.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(b)},b):b}(G);return this.passes.set(R,G),R}return G},b.prototype.admit=function(G){var R=this;if((0,F.U)(G)){var ce=this.passes.get(G);if(ce)return ce;switch(Object.getPrototypeOf(G)){case Array.prototype:if(this.known.has(G))return G;var Se=G.map(this.admit,this);return(Ne=this.pool.lookupArray(Se)).array||(this.known.add(Ne.array=Se),__DEV__&&Object.freeze(Se)),Ne.array;case null:case Object.prototype:if(this.known.has(G))return G;var ot=Object.getPrototypeOf(G),dt=[ot],He=this.sortedKeys(G);dt.push(He.json);var Ne,Ge=dt.length;if(He.sorted.forEach(function(we){dt.push(R.admit(G[we]))}),!(Ne=this.pool.lookupArray(dt)).object){var se=Ne.object=Object.create(ot);this.known.add(se),He.sorted.forEach(function(we,ue){se[we]=dt[Ge+ue]}),__DEV__&&Object.freeze(se)}return Ne.object}}return G},b.prototype.sortedKeys=function(G){var R=Object.keys(G),ce=this.pool.lookupArray(R);if(!ce.keys){R.sort();var J=JSON.stringify(R);(ce.keys=this.keysByJSON.get(J))||this.keysByJSON.set(J,ce.keys={sorted:R,json:J})}return ce.keys},b}(),V=Object.assign(function(b){if((0,F.U)(b)){void 0===T&&U();var G=T.admit(b),R=N.get(G);return void 0===R&&N.set(G,R=JSON.stringify(G)),R}return JSON.stringify(b)},{reset:U});function U(){T=new B,N=new(g.et?WeakMap:Map)}},4141:(_t,ge,f)=>{"use strict";f.d(ge,{MS:()=>M,UT:()=>B,WR:()=>A,bl:()=>y});var n=f(6373),y=new(f(2207).DX),F=new WeakMap;function g(T){var N=F.get(T);return N||F.set(T,N={vars:new Set,dep:(0,n.yN)()}),N}function A(T){g(T).vars.forEach(function(N){return N.forgetCache(T)})}function M(T){g(T).vars.forEach(function(N){return N.attachCache(T)})}function B(T){var N=new Set,U=new Set,b=function(R){if(arguments.length>0){if(T!==R){T=R,N.forEach(function(Se){g(Se).dep.dirty(b),function V(T){T.broadcastWatches&&T.broadcastWatches()}(Se)});var ce=Array.from(U);U.clear(),ce.forEach(function(Se){return Se(T)})}}else{var J=y.getValue();J&&(G(J),g(J).dep(b))}return T};b.onNextChange=function(R){return U.add(R),function(){U.delete(R)}};var G=b.attachCache=function(R){return N.add(R),g(R).vars.add(b),b};return b.forgetCache=function(R){return N.delete(R)},b}},8008:(_t,ge,f)=>{"use strict";f.d(ge,{C:()=>U});var n=f(1635),r=f(1289),y=f(7994),g=f(4229);function B(b,G){return G?G(b):y.c.of()}function V(b){return"function"==typeof b?new U(b):b}function T(b){return b.request.length<=1}var N=function(b){function G(R,ce){var J=b.call(this,R)||this;return J.link=ce,J}return(0,n.C6)(G,b),G}(Error),U=function(){function b(G){G&&(this.request=G)}return b.empty=function(){return new b(function(){return y.c.of()})},b.from=function(G){return 0===G.length?b.empty():G.map(V).reduce(function(R,ce){return R.concat(ce)})},b.split=function(G,R,ce){var J=V(R),Se=V(ce||new b(B));return T(J)&&T(Se)?new b(function(Ne){return G(Ne)?J.request(Ne)||y.c.of():Se.request(Ne)||y.c.of()}):new b(function(Ne,ot){return G(Ne)?J.request(Ne,ot)||y.c.of():Se.request(Ne,ot)||y.c.of()})},b.execute=function(G,R){return G.request(function F(b,G){var R=(0,n.Cl)({},b);return Object.defineProperty(G,"setContext",{enumerable:!1,value:function(Se){R=(0,n.Cl)((0,n.Cl)({},R),"function"==typeof Se?Se(R):Se)}}),Object.defineProperty(G,"getContext",{enumerable:!1,value:function(){return(0,n.Cl)({},R)}}),G}(R.context,function A(b){var G={variables:b.variables||{},extensions:b.extensions||{},operationName:b.operationName,query:b.query};return G.operationName||(G.operationName="string"!=typeof G.query?(0,g.n4)(G.query)||void 0:""),G}(function M(b){for(var G=["query","operationName","variables","extensions","context"],R=0,ce=Object.keys(b);R<ce.length;R++){var J=ce[R];if(G.indexOf(J)<0)throw __DEV__?new r.zU("illegal argument: ".concat(J)):new r.zU(27)}return b}(R))))||y.c.of()},b.concat=function(G,R){var ce=V(G);if(T(ce))return __DEV__&&r.V1.warn(new N("You are calling concat on a terminating link, which will have no effect",ce)),ce;var J=V(R);return T(J)?new b(function(Se){return ce.request(Se,function(Ne){return J.request(Ne)||y.c.of()})||y.c.of()}):new b(function(Se,Ne){return ce.request(Se,function(ot){return J.request(ot,Ne)||y.c.of()})||y.c.of()})},b.prototype.split=function(G,R,ce){return this.concat(b.split(G,R,ce||new b(B)))},b.prototype.concat=function(G){return b.concat(this,G)},b.prototype.request=function(G,R){throw __DEV__?new r.zU("request is not implemented"):new r.zU(22)},b.prototype.onError=function(G,R){if(R&&R.error)return R.error(G),!1;throw G},b.prototype.setOnError=function(G){return this.onError=G,this},b}()},7715:(_t,ge,f)=>{"use strict";f.d(ge,{E:()=>r,c:()=>n});var n=Array.isArray;function r(y){return Array.isArray(y)&&y.length>0}},6500:(_t,ge,f)=>{"use strict";f.d(ge,{En:()=>y,et:()=>r,ol:()=>F,uJ:()=>g});var n=f(1289),r="function"==typeof WeakMap&&"ReactNative"!==(0,n.no)(function(){return navigator.product}),y="function"==typeof WeakSet,F="function"==typeof Symbol&&"function"==typeof Symbol.for,g=F&&Symbol.asyncIterator;(0,n.no)(function(){return window.document.createElement}),(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},4246:(_t,ge,f)=>{"use strict";f.d(ge,{m:()=>r});var n=Object.prototype.toString;function r(F){return y(F)}function y(F,g){switch(n.call(F)){case"[object Array]":if((g=g||new Map).has(F))return g.get(F);var A=F.slice(0);return g.set(F,A),A.forEach(function(B,V){A[V]=y(B,g)}),A;case"[object Object]":if((g=g||new Map).has(F))return g.get(F);var M=Object.create(Object.getPrototypeOf(F));return g.set(F,M),Object.keys(F).forEach(function(B){M[B]=y(F[B],g)}),M;default:return F}}},120:(_t,ge,f)=>{"use strict";function n(){for(var r=[],y=0;y<arguments.length;y++)r[y]=arguments[y];var F=Object.create(null);return r.forEach(function(g){g&&Object.keys(g).forEach(function(A){var M=g[A];void 0!==M&&(F[A]=M)})}),F}f.d(ge,{o:()=>n})},9977:(_t,ge,f)=>{"use strict";f.d(ge,{v:()=>r});var n=new Map;function r(y){var F=n.get(y)||1;return n.set(y,F+1),"".concat(y,":").concat(F,":").concat(Math.random().toString(36).slice(2))}},1115:(_t,ge,f)=>{"use strict";f.d(ge,{D9:()=>F,IM:()=>g,ZI:()=>M});var n=f(1635),r=f(1181),y=Object.prototype.hasOwnProperty;function F(){for(var B=[],V=0;V<arguments.length;V++)B[V]=arguments[V];return g(B)}function g(B){var V=B[0]||{},T=B.length;if(T>1)for(var N=new M,U=1;U<T;++U)V=N.merge(V,B[U]);return V}var A=function(B,V,T){return this.merge(B[T],V[T])},M=function(){function B(V){void 0===V&&(V=A),this.reconciler=V,this.isObject=r.U,this.pastCopies=new Set}return B.prototype.merge=function(V,T){for(var N=this,U=[],b=2;b<arguments.length;b++)U[b-2]=arguments[b];return(0,r.U)(T)&&(0,r.U)(V)?(Object.keys(T).forEach(function(G){if(y.call(V,G)){var R=V[G];if(T[G]!==R){var ce=N.reconciler.apply(N,(0,n.fX)([V,T,G],U,!1));ce!==R&&((V=N.shallowCopyForMerge(V))[G]=ce)}}else(V=N.shallowCopyForMerge(V))[G]=T[G]}),V):T},B.prototype.shallowCopyForMerge=function(V){return(0,r.U)(V)&&(this.pastCopies.has(V)||(V=Array.isArray(V)?V.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(V)},V),this.pastCopies.add(V))),V},B}()},1181:(_t,ge,f)=>{"use strict";function n(r){return null!==r&&"object"==typeof r}f.d(ge,{U:()=>n})},1289:(_t,ge,f)=>{"use strict";f.d(ge,{zU:()=>g,V1:()=>A,no:()=>U});var n=f(1635),r="Invariant Violation",y=Object.setPrototypeOf,F=void 0===y?function(we,ue){return we.__proto__=ue,we}:y,g=function(we){function ue(Oe){void 0===Oe&&(Oe=r);var Ye=we.call(this,"number"==typeof Oe?r+": "+Oe+" (see https://github.com/apollographql/invariant-packages)":Oe)||this;return Ye.framesToPop=1,Ye.name=r,F(Ye,ue.prototype),Ye}return(0,n.C6)(ue,we),ue}(Error);function A(we,ue){if(!we)throw new g(ue)}var we,M=["debug","log","warn","error","silent"],B=M.indexOf("log");function V(we){return function(){if(M.indexOf(we)>=B)return(console[we]||console.log).apply(console,arguments)}}function U(we){try{return we()}catch{}}(we=A||(A={})).debug=V("debug"),we.log=V("log"),we.warn=V("warn"),we.error=V("error");const b=U(function(){return globalThis})||U(function(){return window})||U(function(){return self})||U(function(){return global})||U(function(){return U.constructor("return this")()});var G="__",R=[G,G].join("DEV");const J=function ce(){try{return!!__DEV__}catch{return Object.defineProperty(b,R,{value:"production"!==U(function(){return"production"}),enumerable:!1,configurable:!0,writable:!0}),b[R]}}();function Se(we){try{return we()}catch{}}var Ne=Se(function(){return globalThis})||Se(function(){return window})||Se(function(){return self})||Se(function(){return global})||Se(function(){return Se.constructor("return this")()}),ot=!1;!function dt(){Ne&&!Se(function(){return"production"})&&!Se(function(){return process})&&(Object.defineProperty(Ne,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),ot=!0)}(),f(1621),function se(){(function He(){ot&&(delete Ne.process,ot=!1)})()}(),function Ae(){__DEV__?A("boolean"==typeof J,J):A("boolean"==typeof J,39)}()},4183:(_t,ge,f)=>{"use strict";f.d(ge,{MS:()=>y,d8:()=>M,f2:()=>B});var n=f(1289),r=f(8540);function y(N,U){var b=N.directives;return!b||!b.length||function T(N){var U=[];return N&&N.length&&N.forEach(function(b){if(function V(N){var U=N.name.value;return"skip"===U||"include"===U}(b)){var G=b.arguments,R=b.name.value;__DEV__?(0,n.V1)(G&&1===G.length,"Incorrect number of arguments for the @".concat(R," directive.")):(0,n.V1)(G&&1===G.length,41);var ce=G[0];__DEV__?(0,n.V1)(ce.name&&"if"===ce.name.value,"Invalid argument for the @".concat(R," directive.")):(0,n.V1)(ce.name&&"if"===ce.name.value,42);var J=ce.value;__DEV__?(0,n.V1)(J&&("Variable"===J.kind||"BooleanValue"===J.kind),"Argument for the @".concat(R," directive must be a variable or a boolean value.")):(0,n.V1)(J&&("Variable"===J.kind||"BooleanValue"===J.kind),43),U.push({directive:b,ifArgument:ce})}}),U}(b).every(function(G){var R=G.directive,ce=G.ifArgument,J=!1;return"Variable"===ce.value.kind?(J=U&&U[ce.value.name.value],__DEV__?(0,n.V1)(void 0!==J,"Invalid variable referenced in @".concat(R.name.value," directive.")):(0,n.V1)(void 0!==J,40)):J=ce.value.value,"skip"===R.name.value?!J:J})}function M(N,U,b){var G=new Set(N),R=G.size;return(0,r.YR)(U,{Directive:function(ce){if(G.delete(ce.name.value)&&(!b||!G.size))return r.sP}}),b?!G.size:G.size<R}function B(N){return N&&M(["client","export"],N,!0)}},6108:(_t,ge,f)=>{"use strict";f.d(ge,{HQ:()=>g,JG:()=>F,ct:()=>y});var n=f(1635),r=f(1289);function y(A,M){var B=M,V=[];return A.definitions.forEach(function(N){if("OperationDefinition"===N.kind)throw __DEV__?new r.zU("Found a ".concat(N.operation," operation").concat(N.name?" named '".concat(N.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new r.zU(44);"FragmentDefinition"===N.kind&&V.push(N)}),typeof B>"u"&&(__DEV__?(0,r.V1)(1===V.length,"Found ".concat(V.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,r.V1)(1===V.length,45),B=V[0].name.value),(0,n.Cl)((0,n.Cl)({},A),{definitions:(0,n.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:B}}]}}],A.definitions,!0)})}function F(A){void 0===A&&(A=[]);var M={};return A.forEach(function(B){M[B.name.value]=B}),M}function g(A,M){switch(A.kind){case"InlineFragment":return A;case"FragmentSpread":var B=A.name.value;if("function"==typeof M)return M(B);var V=M&&M[B];return __DEV__?(0,r.V1)(V,"No fragment named ".concat(B)):(0,r.V1)(V,46),V||null;default:return null}}},4229:(_t,ge,f)=>{"use strict";f.d(ge,{AT:()=>M,E4:()=>B,Vn:()=>V,Vu:()=>F,n4:()=>g,sw:()=>y,wY:()=>T,zK:()=>A});var n=f(1289),r=f(1367);function y(N){__DEV__?(0,n.V1)(N&&"Document"===N.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,n.V1)(N&&"Document"===N.kind,47);var U=N.definitions.filter(function(b){return"FragmentDefinition"!==b.kind}).map(function(b){if("OperationDefinition"!==b.kind)throw __DEV__?new n.zU('Schema type definitions not allowed in queries. Found: "'.concat(b.kind,'"')):new n.zU(48);return b});return __DEV__?(0,n.V1)(U.length<=1,"Ambiguous GraphQL document: contains ".concat(U.length," operations")):(0,n.V1)(U.length<=1,49),N}function F(N){return y(N),N.definitions.filter(function(U){return"OperationDefinition"===U.kind})[0]}function g(N){return N.definitions.filter(function(U){return"OperationDefinition"===U.kind&&!!U.name}).map(function(U){return U.name.value})[0]||null}function A(N){return N.definitions.filter(function(U){return"FragmentDefinition"===U.kind})}function M(N){var U=F(N);return __DEV__?(0,n.V1)(U&&"query"===U.operation,"Must contain a query definition."):(0,n.V1)(U&&"query"===U.operation,50),U}function B(N){__DEV__?(0,n.V1)("Document"===N.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,n.V1)("Document"===N.kind,51),__DEV__?(0,n.V1)(N.definitions.length<=1,"Fragment must have exactly one definition."):(0,n.V1)(N.definitions.length<=1,52);var U=N.definitions[0];return __DEV__?(0,n.V1)("FragmentDefinition"===U.kind,"Must be a fragment definition."):(0,n.V1)("FragmentDefinition"===U.kind,53),U}function V(N){y(N);for(var U,b=0,G=N.definitions;b<G.length;b++){var R=G[b];if("OperationDefinition"===R.kind){var ce=R.operation;if("query"===ce||"mutation"===ce||"subscription"===ce)return R}"FragmentDefinition"===R.kind&&!U&&(U=R)}if(U)return U;throw __DEV__?new n.zU("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new n.zU(54)}function T(N){var U=Object.create(null),b=N&&N.variableDefinitions;return b&&b.length&&b.forEach(function(G){G.defaultValue&&(0,r.J)(U,G.variable.name,G.defaultValue)}),U}},1367:(_t,ge,f)=>{"use strict";f.d(ge,{A_:()=>g,D$:()=>se,Ii:()=>J,J:()=>ce,Kc:()=>A,MB:()=>He,WU:()=>F,dt:()=>Ae,kd:()=>we,o5:()=>Ne,ue:()=>Ge});var n=f(1289),r=f(1181),y=f(6108);function F(ue){return{__ref:String(ue)}}function g(ue){return!(!ue||"object"!=typeof ue||"string"!=typeof ue.__ref)}function A(ue){return(0,r.U)(ue)&&"Document"===ue.kind&&Array.isArray(ue.definitions)}function ce(ue,Oe,Ye,yt){if(function V(ue){return"IntValue"===ue.kind}(Ye)||function T(ue){return"FloatValue"===ue.kind}(Ye))ue[Oe.value]=Number(Ye.value);else if(function B(ue){return"BooleanValue"===ue.kind}(Ye)||function M(ue){return"StringValue"===ue.kind}(Ye))ue[Oe.value]=Ye.value;else if(function U(ue){return"ObjectValue"===ue.kind}(Ye)){var Yt={};Ye.fields.map(function(qt){return ce(Yt,qt.name,qt.value,yt)}),ue[Oe.value]=Yt}else if(function N(ue){return"Variable"===ue.kind}(Ye))ue[Oe.value]=(yt||{})[Ye.name.value];else if(function b(ue){return"ListValue"===ue.kind}(Ye))ue[Oe.value]=Ye.values.map(function(qt){var jt={};return ce(jt,Oe,qt,yt),jt[Oe.value]});else if(function G(ue){return"EnumValue"===ue.kind}(Ye))ue[Oe.value]=Ye.value;else{if(!function R(ue){return"NullValue"===ue.kind}(Ye))throw __DEV__?new n.zU('The inline argument "'.concat(Oe.value,'" of kind "').concat(Ye.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new n.zU(55);ue[Oe.value]=null}}function J(ue,Oe){var Ye=null;ue.directives&&(Ye={},ue.directives.forEach(function(Yt){Ye[Yt.name.value]={},Yt.arguments&&Yt.arguments.forEach(function(Vt){return ce(Ye[Yt.name.value],Vt.name,Vt.value,Oe)})}));var yt=null;return ue.arguments&&ue.arguments.length&&(yt={},ue.arguments.forEach(function(Yt){return ce(yt,Yt.name,Yt.value,Oe)})),Ne(ue.name.value,yt,Ye)}var Se=["connection","include","skip","client","rest","export"],Ne=Object.assign(function(ue,Oe,Ye){if(Oe&&Ye&&Ye.connection&&Ye.connection.key){if(Ye.connection.filter&&Ye.connection.filter.length>0){var yt=Ye.connection.filter?Ye.connection.filter:[];yt.sort();var Yt={};return yt.forEach(function(jt){Yt[jt]=Oe[jt]}),"".concat(Ye.connection.key,"(").concat(ot(Yt),")")}return Ye.connection.key}var Vt=ue;if(Oe){var qt=ot(Oe);Vt+="(".concat(qt,")")}return Ye&&Object.keys(Ye).forEach(function(jt){-1===Se.indexOf(jt)&&(Ye[jt]&&Object.keys(Ye[jt]).length?Vt+="@".concat(jt,"(").concat(ot(Ye[jt]),")"):Vt+="@".concat(jt))}),Vt},{setStringify:function(ue){var Oe=ot;return ot=ue,Oe}}),ot=function(Oe){return JSON.stringify(Oe,dt)};function dt(ue,Oe){return(0,r.U)(Oe)&&!Array.isArray(Oe)&&(Oe=Object.keys(Oe).sort().reduce(function(Ye,yt){return Ye[yt]=Oe[yt],Ye},{})),Oe}function He(ue,Oe){if(ue.arguments&&ue.arguments.length){var Ye={};return ue.arguments.forEach(function(yt){return ce(Ye,yt.name,yt.value,Oe)}),Ye}return null}function Ge(ue){return ue.alias?ue.alias.value:ue.name.value}function se(ue,Oe,Ye){for(var yt,Yt=0,Vt=Oe.selections;Yt<Vt.length;Yt++)if(Ae(qt=Vt[Yt])){if("__typename"===qt.name.value)return ue[Ge(qt)]}else yt?yt.push(qt):yt=[qt];if("string"==typeof ue.__typename)return ue.__typename;if(yt)for(var jt=0,Ot=yt;jt<Ot.length;jt++){var qt,nt=se(ue,(0,y.HQ)(qt=Ot[jt],Ye).selectionSet,Ye);if("string"==typeof nt)return nt}}function Ae(ue){return"Field"===ue.kind}function we(ue){return"InlineFragment"===ue.kind}},1601:(_t,ge,f)=>{"use strict";f.d(ge,{XY:()=>R,er:()=>se,hX:()=>J,zc:()=>Ge});var n=f(1635),r=f(1289),y=f(1955),F=f(8540),g=f(4229),A=f(1367),M=f(6108),B=f(7715),V={kind:y.b.FIELD,name:{kind:y.b.NAME,value:"__typename"}};function T(Ae,we){return!Ae||Ae.selectionSet.selections.every(function(ue){return ue.kind===y.b.FRAGMENT_SPREAD&&T(we[ue.name.value],we)})}function N(Ae){return T((0,g.Vu)(Ae)||(0,g.E4)(Ae),(0,M.JG)((0,g.zK)(Ae)))?null:Ae}function b(Ae){var we=new Map;return function(Oe){void 0===Oe&&(Oe=Ae);var Ye=we.get(Oe);return Ye||we.set(Oe,Ye={variables:new Set,fragmentSpreads:new Set}),Ye}}function G(Ae,we){for(var ue=b(""),Oe=b(""),Ye=function(Pe){for(var et=0,Pt=void 0;et<Pe.length&&(Pt=Pe[et]);++et)if(!(0,B.c)(Pt)){if(Pt.kind===y.b.OPERATION_DEFINITION)return ue(Pt.name&&Pt.name.value);if(Pt.kind===y.b.FRAGMENT_DEFINITION)return Oe(Pt.name.value)}return __DEV__&&r.V1.error("Could not find operation or fragment"),null},yt=0,Yt=we.definitions.length-1;Yt>=0;--Yt)we.definitions[Yt].kind===y.b.OPERATION_DEFINITION&&++yt;var Vt=function U(Ae){var we=new Set,ue=[];return Ae.forEach(function(Oe){Oe.name?we.add(Oe.name):Oe.test&&ue.push(Oe.test)}),function(Oe){return we.has(Oe.name.value)||ue.some(function(Ye){return Ye(Oe)})}}(Ae),qt=Ae.some(function(Pe){return Pe.remove}),jt=function(Pe){return qt&&Pe&&Pe.some(Vt)},Ot=new Map,nt=!1,ut={enter:function(Pe){if(jt(Pe.directives))return nt=!0,null}},tt=(0,F.YR)(we,{Field:ut,InlineFragment:ut,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(Pe,et,Pt,Fn,ei){var gn=Ye(ei);gn&&gn.variables.add(Pe.name.value)}},FragmentSpread:{enter:function(Pe,et,Pt,Fn,ei){if(jt(Pe.directives))return nt=!0,null;var gn=Ye(ei);gn&&gn.fragmentSpreads.add(Pe.name.value)}},FragmentDefinition:{enter:function(Pe,et,Pt,Fn){Ot.set(JSON.stringify(Fn),Pe)},leave:function(Pe,et,Pt,Fn){return Pe===Ot.get(JSON.stringify(Fn))?Pe:yt>0&&Pe.selectionSet.selections.every(function(gn){return gn.kind===y.b.FIELD&&"__typename"===gn.name.value})?(Oe(Pe.name.value).removed=!0,nt=!0,null):void 0}},Directive:{leave:function(Pe){if(Vt(Pe))return nt=!0,null}}});if(!nt)return we;var rt=function(Pe){return Pe.transitiveVars||(Pe.transitiveVars=new Set(Pe.variables),Pe.removed||Pe.fragmentSpreads.forEach(function(et){rt(Oe(et)).transitiveVars.forEach(function(Pt){Pe.transitiveVars.add(Pt)})})),Pe},Ft=new Set;tt.definitions.forEach(function(Pe){Pe.kind===y.b.OPERATION_DEFINITION?rt(ue(Pe.name&&Pe.name.value)).fragmentSpreads.forEach(function(et){Ft.add(et)}):Pe.kind===y.b.FRAGMENT_DEFINITION&&0===yt&&!Oe(Pe.name.value).removed&&Ft.add(Pe.name.value)}),Ft.forEach(function(Pe){rt(Oe(Pe)).fragmentSpreads.forEach(function(et){Ft.add(et)})});var pe={enter:function(Pe){if(function(Pe){return!(Ft.has(Pe)&&!Oe(Pe).removed)}(Pe.name.value))return null}};return N((0,F.YR)(tt,{FragmentSpread:pe,FragmentDefinition:pe,OperationDefinition:{leave:function(Pe){if(Pe.variableDefinitions){var et=rt(ue(Pe.name&&Pe.name.value)).transitiveVars;if(et.size<Pe.variableDefinitions.length)return(0,n.Cl)((0,n.Cl)({},Pe),{variableDefinitions:Pe.variableDefinitions.filter(function(Pt){return et.has(Pt.variable.name.value)})})}}}}))}var R=Object.assign(function(Ae){return(0,F.YR)(Ae,{SelectionSet:{enter:function(we,ue,Oe){if(!Oe||Oe.kind!==y.b.OPERATION_DEFINITION){var Ye=we.selections;if(Ye&&!Ye.some(function(Vt){return(0,A.dt)(Vt)&&("__typename"===Vt.name.value||0===Vt.name.value.lastIndexOf("__",0))})){var Yt=Oe;if(!((0,A.dt)(Yt)&&Yt.directives&&Yt.directives.some(function(Vt){return"export"===Vt.name.value})))return(0,n.Cl)((0,n.Cl)({},we),{selections:(0,n.fX)((0,n.fX)([],Ye,!0),[V],!1)})}}}}})},{added:function(Ae){return Ae===V}}),ce={test:function(Ae){var we="connection"===Ae.name.value;return we&&(!Ae.arguments||!Ae.arguments.some(function(ue){return"key"===ue.name.value}))&&__DEV__&&r.V1.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key."),we}};function J(Ae){return G([ce],(0,g.sw)(Ae))}function Ge(Ae){return"query"===(0,g.Vn)(Ae).operation?Ae:(0,F.YR)(Ae,{OperationDefinition:{enter:function(Ye){return(0,n.Cl)((0,n.Cl)({},Ye),{operation:"query"})}}})}function se(Ae){return(0,g.sw)(Ae),G([{test:function(ue){return"client"===ue.name.value},remove:!0}],Ae)}},3060:(_t,ge,f)=>{"use strict";f.d(ge,{bA:()=>Qe,Q8:()=>lt,JO:()=>Re,Bq:()=>ti,Hz:()=>lo,$o:()=>kt,bF:()=>bt});var n=f(4438),r=f(7673),y=f(6697),F=f(2806),g=f(6354),A=f(1413),M=f(4412),B=f(7468),V=f(9974),T=f(4360),N=f(3669),U=f(1584),b=f(8750),R=f(8141),ce=f(9437),J=f(4668),Se=f(5558),Ne=f(4572),ot=f(983),dt=f(1985),He=f(6977);function Ge(pt){pt||((0,n.Af3)(Ge),pt=(0,n.WQX)(n.abz));const Ce=new dt.c(le=>pt.onDestroy(le.next.bind(le)));return le=>le.pipe((0,He.Q)(Ce))}function Ye(pt){return pt&&pt.constructor&&"function"==typeof pt.constructor.isBuffer&&pt.constructor.isBuffer(pt)}function yt(pt){return pt}function Yt(pt,Ce){const le=(Ce=Ce||{}).delimiter||".",Me=Ce.maxDepth,ne=Ce.transformKey||yt,Je={};return function oe(Te,ht,$t){$t=$t||1,Object.keys(Te).forEach(function(Kn){const Qn=Te[Kn],ni=Ce.safe&&Array.isArray(Qn),Ni=Object.prototype.toString.call(Qn),Ui=Ye(Qn),rr="[object Object]"===Ni||"[object Array]"===Ni,$i=ht?ht+le+ne(Kn):ne(Kn);if(!ni&&!Ui&&rr&&Object.keys(Qn).length&&(!Ce.maxDepth||$t<Me))return oe(Qn,$i,$t+1);Je[$i]=Qn})}(pt),Je}function Vt(pt,Ce){const le=(Ce=Ce||{}).delimiter||".",Me=Ce.overwrite||!1,ne=Ce.transformKey||yt,Je={};if(Ye(pt)||"[object Object]"!==Object.prototype.toString.call(pt))return pt;function Te(Kn){const Qn=Number(Kn);return isNaN(Qn)||-1!==Kn.indexOf(".")||Ce.object?Kn:Qn}return pt=Object.keys(pt).reduce(function(Kn,Qn){const ni=Object.prototype.toString.call(pt[Qn]);return"[object Object]"!==ni&&"[object Array]"!==ni||function $t(Kn){const Qn=Object.prototype.toString.call(Kn);return!Kn||("[object Array]"===Qn?!Kn.length:"[object Object]"===Qn?!Object.keys(Kn).length:void 0)}(pt[Qn])?(Kn[Qn]=pt[Qn],Kn):function ht(Kn,Qn,ni){return Object.keys(ni).reduce(function(Ni,Ui){return Ni[Kn+le+Ui]=ni[Ui],Ni},Qn)}(Qn,Kn,Yt(pt[Qn],Ce))},{}),Object.keys(pt).forEach(function(Kn){const Qn=Kn.split(le).map(ne);let ni=Te(Qn.shift()),Ni=Te(Qn[0]),Ui=Je;for(;void 0!==Ni;){if("__proto__"===ni)return;const rr=Object.prototype.toString.call(Ui[ni]),$i="[object Object]"===rr||"[object Array]"===rr;if(!Me&&!$i&&typeof Ui[ni]<"u")return;(Me&&!$i||!Me&&null==Ui[ni])&&(Ui[ni]="number"!=typeof Ni||Ce.object?{}:[]),Ui=Ui[ni],Qn.length>0&&(ni=Te(Qn.shift()),Ni=Te(Qn[0]))}Ui[ni]=Vt(pt[Kn],Ce)}),Je}class qt{translations;constructor(Ce){this.translations=Ce}getTranslation(Ce){return(0,r.of)(this.translations.get(Ce)||{})}}const jt=new n.nKC("TRANSLOCO_LOADER");function Ot(pt,Ce){return pt&&(Object.prototype.hasOwnProperty.call(pt,Ce)?pt[Ce]:Ce.split(".").reduce((le,Me)=>le?.[Me],pt))}function ut(pt){return pt?Array.isArray(pt)?pt.length:pe(pt)?Object.keys(pt).length:pt?pt.length:0:0}function Ft(pt){return"string"==typeof pt}function pe(pt){return!!pt&&"object"==typeof pt&&!Array.isArray(pt)}function et(pt){return pt.replace(/(?:^\w|[A-Z]|\b\w)/g,(Ce,le)=>0==le?Ce.toLowerCase():Ce.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Pt(){return typeof window<"u"}function Fn(pt){return null==pt}function ei(pt){return!1===Fn(pt)}function pi(pt){return pt&&"string"==typeof pt.scope}function ti(pt){return Yt(pt,{safe:!0})}const ki=new n.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Zi}),Zi={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function mn(pt={}){return{...Zi,...pt,missingHandler:{...Zi.missingHandler,...pt.missingHandler},flatten:{...Zi.flatten,...pt.flatten}}}const an=new n.nKC("TRANSLOCO_TRANSPILER");let me=(()=>{class pt{config=(0,n.WQX)(ki,{optional:!0})??Zi;get interpolationMatcher(){return function Ue(pt){const[Ce,le]=pt.interpolation;return new RegExp(`${Ce}([^${Ce}${le}]*?)${le}`,"g")}(this.config)}transpile({value:le,params:Me={},translation:ne,key:Je}){if(Ft(le)){let oe,Te=le;for(;null!==(oe=this.interpolationMatcher.exec(Te));){const[ht,$t]=oe;Te=Te.replace(ht,()=>{const Kn=$t.trim(),Qn=Ot(Me,Kn);return ei(Qn)?Qn:ei(ne[Kn])?this.transpile({params:Me,translation:ne,key:Je,value:ne[Kn]}):""})}return Te}return Me&&(pe(le)?le=this.handleObject({value:le,params:Me,translation:ne,key:Je}):Array.isArray(le)&&(le=this.handleArray({value:le,params:Me,translation:ne,key:Je}))),le}handleObject({value:le,params:Me={},translation:ne,key:Je}){let oe=le;return Object.keys(Me).forEach(Te=>{const ht=this.transpile({value:Ot(oe,Te),params:Ot(Me,Te),translation:ne,key:Je});oe=function nt(pt,Ce,le){pt={...pt};const Me=Ce.split("."),ne=Me.length-1;return Me.reduce((Je,oe,Te)=>(Je[oe]=Te===ne?le:Array.isArray(Je[oe])?Je[oe].slice():{...Je[oe]},Je&&Je[oe]),pt),pt}(oe,Te,ht)}),oe}handleArray({value:le,...Me}){return le.map(ne=>this.transpile({value:ne,...Me}))}static \u0275fac=function(Me){return new(Me||pt)};static \u0275prov=n.jDH({token:pt,factory:pt.\u0275fac})}return pt})();const Lt=new n.nKC("TRANSLOCO_MISSING_HANDLER");let fn=(()=>{class pt{handle(le,Me){return Me.missingHandler.logMissingKey&&!Me.prodMode&&console.warn(`%c Missing translation for '${le}'`,"font-size: 12px; color: red"),le}static \u0275fac=function(Me){return new(Me||pt)};static \u0275prov=n.jDH({token:pt,factory:pt.\u0275fac})}return pt})();const jn=new n.nKC("TRANSLOCO_INTERCEPTOR");let Kt=(()=>{class pt{preSaveTranslation(le){return le}preSaveTranslationKey(le,Me){return Me}static \u0275fac=function(Me){return new(Me||pt)};static \u0275prov=n.jDH({token:pt,factory:pt.\u0275fac})}return pt})();const En=new n.nKC("TRANSLOCO_FALLBACK_STRATEGY");let Zt,ft=(()=>{class pt{userConfig;constructor(le){this.userConfig=le}getNextLangs(){const le=this.userConfig.fallbackLang;if(!le)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(le)?le:[le]}static \u0275fac=function(Me){return new(Me||pt)(n.KVO(ki))};static \u0275prov=n.jDH({token:pt,factory:pt.\u0275fac})}return pt})();function Tt(pt){if(!pt)return"";const Ce=pt.split("/");return Ce.pop(),Ce.join("/")}function Qt(pt){return pt?pt.split("/").pop():""}function Tn(pt,Ce,le="|"){if(Ft(pt)){const Me=pt.split(le),ne=Me.pop();return ne===Ce?[!0,Me.toString()]:[!1,ne]}return[!1,""]}function qn(pt,Ce){return function hi(pt){return pt&&pe(pt.loader)}(pt)?function Ii(pt,Ce){return Object.keys(pt).reduce((le,Me)=>(le[`${Ce}/${Me}`]=pt[Me],le),{})}(pt.loader,Ce):void 0}function Qi(pt){return{scope:Tt(pt)||null,langName:Qt(pt)}}function sn(pt){const{path:Ce,inlineLoader:le,mainLoader:Me,data:ne}=pt;if(le){if(!1===function rt(pt){return"function"==typeof pt}(le[Ce]))throw`You're using an inline loader but didn't provide a loader for ${Ce}`;return le[Ce]().then(oe=>oe.default?oe.default:oe)}return Me.getTranslation(Ce,ne)}let Re=(()=>{class pt{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new A.B;events$=this.events.asObservable();config;constructor(le,Me,ne,Je,oe,Te){this.loader=le,this.parser=Me,this.missingHandler=ne,this.interceptor=Je,this.fallbackStrategy=Te,this.loader||(this.loader=new qt(this.translations)),Zt=this,this.config=JSON.parse(JSON.stringify(oe)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new M.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.pipe(Ge()).subscribe(ht=>{"translationLoadSuccess"===ht.type&&ht.wasFailure&&this.setActiveLang(ht.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(le){this.defaultLang=le}getActiveLang(){return this.lang.getValue()}setActiveLang(le){return this.parser.onLangChanged?.(le),this.lang.next(le),this.events.next({type:"langChanged",payload:Qi(le)}),this}setAvailableLangs(le){this.availableLangs=le}getAvailableLangs(){return this.availableLangs}load(le,Me={}){const ne=this.cache.get(le);if(ne)return ne;let Je;const oe=this._isLangScoped(le);let Te;oe&&(Te=Tt(le));const ht={path:le,mainLoader:this.loader,inlineLoader:Me.inlineLoader,data:oe?{scope:Te}:void 0};if(this.useFallbackTranslation(le)){const Kn=oe?`${Te}/${this.firstFallbackLang}`:this.firstFallbackLang,Qn=function oi({mainLoader:pt,path:Ce,data:le,fallbackPath:Me,inlineLoader:ne}){return(Me?[Ce,Me]:[Ce]).map(oe=>{const Te=sn({path:oe,mainLoader:pt,inlineLoader:ne,data:le});return(0,F.H)(Te).pipe((0,g.T)(ht=>({translation:ht,lang:oe})))})}({...ht,fallbackPath:Kn});Je=(0,B.p)(Qn)}else{const Kn=sn(ht);Je=(0,F.H)(Kn)}const $t=Je.pipe(function G(pt=1/0){let Ce;Ce=pt&&"object"==typeof pt?pt:{count:pt};const{count:le=1/0,delay:Me,resetOnSuccess:ne=!1}=Ce;return le<=0?N.D:(0,V.N)((Je,oe)=>{let ht,Te=0;const $t=()=>{let Kn=!1;ht=Je.subscribe((0,T._)(oe,Qn=>{ne&&(Te=0),oe.next(Qn)},void 0,Qn=>{if(Te++<le){const ni=()=>{ht?(ht.unsubscribe(),ht=null,$t()):Kn=!0};if(null!=Me){const Ni="number"==typeof Me?(0,U.O)(Me):(0,b.Tg)(Me(Qn,Te)),Ui=(0,T._)(oe,()=>{Ui.unsubscribe(),ni()},()=>{oe.complete()});Ni.subscribe(Ui)}else ni()}else oe.error(Qn)})),Kn&&(ht.unsubscribe(),ht=null,$t())};$t()})}(this.config.failedRetries),(0,R.M)(Kn=>{Array.isArray(Kn)?Kn.forEach(Qn=>{this.handleSuccess(Qn.lang,Qn.translation),Qn.lang!==le&&this.cache.set(Qn.lang,(0,r.of)({}))}):this.handleSuccess(le,Kn)}),(0,ce.W)(Kn=>(this.config.prodMode||console.error(`Error while trying to load "${le}"`,Kn),this.handleFailure(le,Me))),(0,J.t)(1));return this.cache.set(le,$t),$t}translate(le,Me={},ne=this.getActiveLang()){if(!le)return le;const{scope:Je,resolveLang:oe}=this.resolveLangAndScope(ne);if(Array.isArray(le))return le.map($t=>this.translate(Je?`${Je}.${$t}`:$t,Me,oe));le=Je?`${Je}.${le}`:le;const Te=this.getTranslation(oe),ht=Te[le];return ht?this.parser.transpile({value:ht,params:Me,translation:Te,key:le}):this._handleMissingKey(le,ht,Me)}selectTranslate(le,Me,ne,Je=!1){let oe;const Te=($t,Kn)=>this.load($t,Kn).pipe((0,g.T)(()=>Je?this.translateObject(le,Me,$t):this.translate(le,Me,$t)));if(Fn(ne))return this.langChanges$.pipe((0,Se.n)($t=>Te($t)));if(pi(ne=Array.isArray(ne)?ne[0]:ne)){const $t=ne;ne=$t.scope,oe=qn($t,$t.scope)}if(this.isLang(ne)||this.isScopeWithLang(ne))return Te(ne);const ht=ne;return this.langChanges$.pipe((0,Se.n)($t=>Te(`${ht}/${$t}`,{inlineLoader:oe})))}isScopeWithLang(le){return this.isLang(Qt(le))}translateObject(le,Me={},ne=this.getActiveLang()){if(Ft(le)||Array.isArray(le)){const{resolveLang:oe,scope:Te}=this.resolveLangAndScope(ne);if(Array.isArray(le))return le.map(Kn=>this.translateObject(Te?`${Te}.${Kn}`:Kn,Me,oe));const ht=this.getTranslation(oe),$t=function xi(pt){return Vt(pt)}(this.getObjectByKey(ht,le=Te?`${Te}.${le}`:le));return function tt(pt){return 0===ut(pt)}($t)?this.translate(le,Me,ne):this.parser.transpile({value:$t,params:Me,translation:ht,key:le})}const Je=[];for(const[oe,Te]of this.getEntries(le))Je.push(this.translateObject(oe,Te,ne));return Je}selectTranslateObject(le,Me,ne){if(Ft(le)||Array.isArray(le))return this.selectTranslate(le,Me,ne,!0);const[[Je,oe],...Te]=this.getEntries(le);return this.selectTranslateObject(Je,oe,ne).pipe((0,g.T)(ht=>{const $t=[ht];for(const[Kn,Qn]of Te)$t.push(this.translateObject(Kn,Qn,ne));return $t}))}getTranslation(le){if(le){if(this.isLang(le))return this.translations.get(le)||{};{const{scope:Me,resolveLang:ne}=this.resolveLangAndScope(le),Je=this.translations.get(ne)||{};return this.getObjectByKey(Je,Me)}}return this.translations}selectTranslation(le){let Me=this.langChanges$;if(le){const ne=Qt(le)!==le;Me=this.isLang(le)||ne?(0,r.of)(le):this.langChanges$.pipe((0,g.T)(Je=>`${le}/${Je}`))}return Me.pipe((0,Se.n)(ne=>this.load(ne).pipe((0,g.T)(()=>this.getTranslation(ne)))))}setTranslation(le,Me=this.getActiveLang(),ne={}){const oe={merge:!0,emitChange:!0,...ne},Te=Tt(Me);let ht=le;Te&&(ht=ti({[this.getMappedScope(Te)]:le}));const $t=Te?Qt(Me):Me,Kn={...oe.merge&&this.getTranslation($t),...ht},Qn=this.config.flatten.aot?Kn:ti(Kn),ni=this.interceptor.preSaveTranslation(Qn,$t);this.translations.set($t,ni),oe.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(le,Me,ne={}){const Je=ne.lang||this.getActiveLang(),oe=this.interceptor.preSaveTranslationKey(le,Me,Je);this.setTranslation({[le]:oe},Je,{...ne,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:le}){const Me=Array.isArray(le)?le[0]:le;le&&this.useFallbackTranslation(Me)&&(this.firstFallbackLang=Me)}_handleMissingKey(le,Me,ne){if(this.config.missingHandler.allowEmpty&&""===Me)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const Je=this.translate(le,ne,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,Je}return this.missingHandler.handle(le,this.getMissingHandlerData(),ne)}_isLangScoped(le){return-1===this.getAvailableLangsIds().indexOf(le)}isLang(le){return-1!==this.getAvailableLangsIds().indexOf(le)}_loadDependencies(le,Me){const ne=Qt(le);return this._isLangScoped(le)&&!this.isLoadedTranslation(ne)?(0,Ne.z)([this.load(ne),this.load(le,{inlineLoader:Me})]):this.load(le,{inlineLoader:Me})}_completeScopeWithLang(le){return this._isLangScoped(le)&&!this.isLang(Qt(le))?`${le}/${this.getActiveLang()}`:le}_setScopeAlias(le,Me){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[le]=Me}ngOnDestroy(){this.cache.clear()}isLoadedTranslation(le){return ut(this.getTranslation(le))}getAvailableLangsIds(){return Ft(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(Me=>Me.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(le){return this.config.missingHandler.useFallbackTranslation&&le!==this.firstFallbackLang}handleSuccess(le,Me){this.setTranslation(Me,le,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:Qi(le)}),this.failedLangs.forEach(ne=>this.cache.delete(ne)),this.failedLangs.clear()}handleFailure(le,Me){Fn(Me.failedCounter)&&(Me.failedCounter=0,Me.fallbackLangs||(Me.fallbackLangs=this.fallbackStrategy.getNextLangs(le)));const ne=le.split("/"),oe=Me.fallbackLangs[Me.failedCounter];if(this.failedLangs.add(le),this.cache.has(oe))return this.handleSuccess(oe,this.getTranslation(oe)),ot.w;if(!oe||oe===ne[ne.length-1]){let $t="Unable to load translation and all the fallback languages";throw ne.length>1&&($t+=", did you misspelled the scope name?"),new Error($t)}let ht=oe;return ne.length>1&&(ne[ne.length-1]=oe,ht=ne.join("/")),Me.failedCounter++,this.events.next({type:"translationLoadFailure",payload:Qi(le)}),this.load(ht,Me)}getMappedScope(le){const{scopeMapping:Me={}}=this.config;return Me[le]||et(le)}resolveLangAndScope(le){let ne,Me=le;if(this._isLangScoped(le)){const Je=Qt(le),oe=this.isLang(Je);Me=oe?Je:this.getActiveLang(),ne=this.getMappedScope(oe?Tt(le):le)}return{scope:ne,resolveLang:Me}}getObjectByKey(le,Me){const ne={},Je=`${Me}.`;for(const oe in le)oe.startsWith(Je)&&(ne[oe.replace(Je,"")]=le[oe]);return ne}getEntries(le){return le instanceof Map?le.entries():Object.entries(le)}static \u0275fac=function(Me){return new(Me||pt)(n.KVO(jt,8),n.KVO(an),n.KVO(Lt),n.KVO(jn),n.KVO(ki),n.KVO(En))};static \u0275prov=n.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})(),Be=(()=>{class pt{html;static \u0275fac=function(Me){return new(Me||pt)};static \u0275cmp=n.VBU({type:pt,selectors:[["ng-component"]],inputs:{html:"html"},standalone:!0,features:[n.aNF],decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(Me,ne){1&Me&&n.nrm(0,"div",0),2&Me&&n.Y8G("innerHTML",ne.html,n.npT)},encapsulation:2})}return pt})();class ee{view;vcr;constructor(Ce,le){this.view=Ce,this.vcr=le}attachView(){if(this.view instanceof n.C4Q)this.vcr.createEmbeddedView(this.view);else if(Ft(this.view)){const Ce=this.vcr.createComponent(Be);Ce.instance.html=this.view,Ce.hostView.detectChanges()}else this.vcr.createComponent(this.view)}detachView(){this.vcr.clear()}}const ye=new n.nKC("TRANSLOCO_LANG"),at=new n.nKC("TRANSLOCO_LOADING_TEMPLATE"),Wt=new n.nKC("TRANSLOCO_SCOPE");class Et{initialized=!1;resolve({inline:Ce,provider:le,active:Me}){let ne=Me;if(this.initialized)return ne=Me,ne;if(le){const[,Je]=Tn(le,"static");ne=Je}if(Ce){const[,Je]=Tn(Ce,"static");ne=Je}return this.initialized=!0,ne}resolveLangBasedOnScope(Ce){return Tt(Ce)?Qt(Ce):Ce}resolveLangPath(Ce,le){return le?`${le}/${Ce}`:Ce}}class Dt{service;constructor(Ce){this.service=Ce}resolve(Ce){const{inline:le,provider:Me}=Ce;if(le)return le;if(Me){if(pi(Me)){const{scope:ne,alias:Je=et(ne)}=Me;return this.service._setScopeAlias(ne,Je),ne}return Me}}}let Qe=(()=>{class pt{destroyRef=(0,n.WQX)(n.abz);service=(0,n.WQX)(Re);tpl=(0,n.WQX)(n.C4Q,{optional:!0});providerLang=(0,n.WQX)(ye,{optional:!0});providerScope=(0,n.WQX)(Wt,{optional:!0});providedLoadingTpl=(0,n.WQX)(at,{optional:!0});cdr=(0,n.WQX)(n.gRc);host=(0,n.WQX)(n.aKT);vcr=(0,n.WQX)(n.c1b);renderer=(0,n.WQX)(n.sFG);view;memo=new Map;key;params={};inlineScope;inlineRead;prefix;inlineLang;inlineTpl;currentLang;loaderTplHandler;initialized=!1;path;langResolver=new Et;scopeResolver=new Dt(this.service);strategy=null===this.tpl?"attribute":"structural";static ngTemplateContextGuard(le,Me){return!0}ngOnInit(){const le=function Xn(pt,Ce){const[le]=Tn(Ce,"static");return!le&&!!pt.config.reRenderOnLangChange}(this.service,this.providerLang||this.inlineLang);if(this.service.langChanges$.pipe((0,Se.n)(Me=>{const ne=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:Me});return Array.isArray(this.providerScope)?(0,B.p)(this.providerScope.map(Je=>this.resolveScope(ne,Je))):this.resolveScope(ne,this.providerScope)}),function Bn(pt){return pt?Ce=>Ce:(0,y.s)(1)}(le),Ge(this.destroyRef)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),"attribute"===this.strategy?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.prefix||this.inlineRead),this.cdr.markForCheck(),this.initialized=!0}),!this.initialized){const Me=this.resolveLoadingContent();Me&&(this.loaderTplHandler=new ee(Me,this.vcr),this.loaderTplHandler.attachView())}}ngOnChanges(le){"attribute"===this.strategy&&Object.keys(le).some(ne=>!le[ne].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.service.translate(this.key,this.params,this.currentLang))}structuralStrategy(le,Me){this.memo.clear();const ne=this.getTranslateFn(le,Me);this.view?(this.view.context.$implicit=ne,this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:ne,currentLang:this.currentLang}))}getTranslateFn(le,Me){return(ne,Je)=>{const oe=Me?`${Me}.${ne}`:ne,Te=Je?`${oe}${JSON.stringify(Je)}`:oe;return this.memo.has(Te)||this.memo.set(Te,this.service.translate(oe,Je,le)),this.memo.get(Te)}}resolveLoadingContent(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.memo.clear()}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope(le,Me){const ne=this.scopeResolver.resolve({inline:this.inlineScope,provider:Me});this.path=this.langResolver.resolveLangPath(le,ne);const Je=qn(Me,ne);return this.service._loadDependencies(this.path,Je)}static \u0275fac=function(Me){return new(Me||pt)};static \u0275dir=n.FsC({type:pt,selectors:[["","transloco",""]],inputs:{key:[n.Mj6.None,"transloco","key"],params:[n.Mj6.None,"translocoParams","params"],inlineScope:[n.Mj6.None,"translocoScope","inlineScope"],inlineRead:[n.Mj6.None,"translocoRead","inlineRead"],prefix:[n.Mj6.None,"translocoPrefix","prefix"],inlineLang:[n.Mj6.None,"translocoLang","inlineLang"],inlineTpl:[n.Mj6.None,"translocoLoadingTpl","inlineTpl"]},standalone:!0,features:[n.OA$]})}return pt})(),lt=(()=>{class pt{static \u0275fac=function(Me){return new(Me||pt)};static \u0275mod=n.$C({type:pt});static \u0275inj=n.G2t({})}return pt})();function kt(pt){const Ce=[An(me),Bi(fn),gr(Kt),Di(ft)];return pt.config&&Ce.push(function re(pt){return(0,n.EmA)([{provide:ki,useValue:mn(pt)}])}(pt.config)),pt.loader&&Ce.push(function ze(pt){return(0,n.EmA)([{provide:jt,useClass:pt}])}(pt.loader)),Ce}function bt(...pt){return pt.map(Ce=>({provide:Wt,useValue:Ce,multi:!0}))}function An(pt){return(0,n.EmA)([{provide:an,useClass:pt,deps:[ki]}])}function Di(pt){return(0,n.EmA)([{provide:En,useClass:pt,deps:[ki]}])}function Bi(pt){return(0,n.EmA)([{provide:Lt,useClass:pt}])}function gr(pt){return(0,n.EmA)([{provide:jn,useClass:pt}])}function lo(){let pt=function to(){if(!Pt())return"";const pt=window.navigator;return pt.languages?.[0]??pt.language}();if(pt&&Pt())return-1!==pt.indexOf("-")&&(pt=pt.split("-")[0]),-1!==pt.indexOf("_")&&(pt=pt.split("_")[0]),pt}new n.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new n.nKC("TRANSLOCO_TEST_OPTIONS - Testing options")},2510:(_t,ge,f)=>{"use strict";f.d(ge,{EY:()=>ft,MQ:()=>wn,Uq:()=>jn,ZZ:()=>En,bh:()=>Kt,q8:()=>Qt,vr:()=>Dt,xt:()=>ye});var n=f(4438),r=f(9417),y=f(6977),F=f(3798),g=f(9172),A=f(8141),M=f(152),B=f(5964),V=f(6354),T=f(536),N=f(5007),U=f(1413),b=f(3726),G=f(7786),R=f(177);const ce=["content"],J=["scroll"],Se=["padding"],Ne=["*"],ot=lt=>({searchTerm:lt});function dt(lt,kt){if(1<&&(n.j41(0,"div",6),n.eu8(1,7),n.k0s()),2<){const re=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",re.headerTemplate)("ngTemplateOutletContext",n.eq3(2,ot,re.filterValue))}}function He(lt,kt){if(1<&&(n.j41(0,"div",8),n.eu8(1,7),n.k0s()),2<){const re=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",re.footerTemplate)("ngTemplateOutletContext",n.eq3(2,ot,re.filterValue))}}const Ge=["searchInput"],se=["clearButton"],Ae=(lt,kt,re)=>({item:lt,clear:kt,label:re}),we=(lt,kt)=>({items:lt,clear:kt}),ue=(lt,kt,re,ze)=>({item:lt,item$:kt,index:re,searchTerm:ze});function Oe(lt,kt){if(1<){const re=n.RV6();n.j41(0,"span",22),n.bIt("click",function(){n.eBV(re);const bt=n.XpG().$implicit,Ut=n.XpG(2);return n.Njj(Ut.unselect(bt))}),n.EFF(1,"\xd7"),n.k0s(),n.nrm(2,"span",23)}if(2<){const re=n.XpG().$implicit,ze=n.XpG(2);n.R7$(2),n.Y8G("ngItemLabel",re.label)("escape",ze.escapeHTML)}}function Ye(lt,kt){}function yt(lt,kt){if(1<&&(n.j41(0,"div",20),n.DNE(1,Oe,3,2,"ng-template",null,1,n.C5r)(3,Ye,0,0,"ng-template",21),n.k0s()),2<){const re=kt.$implicit,ze=n.sdS(2),bt=n.XpG(2);n.AVh("ng-value-disabled",re.disabled),n.R7$(3),n.Y8G("ngTemplateOutlet",bt.labelTemplate||ze)("ngTemplateOutletContext",n.sMw(4,Ae,re.value,bt.clearItem,re.label))}}function Yt(lt,kt){if(1<&&(n.qex(0),n.DNE(1,yt,4,8,"div",19),n.bVm()),2<){const re=n.XpG();n.R7$(),n.Y8G("ngForOf",re.selectedItems)("ngForTrackBy",re.trackByOption)}}function Vt(lt,kt){}function qt(lt,kt){if(1<&&n.DNE(0,Vt,0,0,"ng-template",21),2<){const re=n.XpG();n.Y8G("ngTemplateOutlet",re.multiLabelTemplate)("ngTemplateOutletContext",n.l_i(2,we,re.selectedValues,re.clearItem))}}function jt(lt,kt){1<&&n.nrm(0,"div",25)}function Ot(lt,kt){}function nt(lt,kt){if(1<&&(n.qex(0),n.DNE(1,jt,1,0,"ng-template",null,2,n.C5r)(3,Ot,0,0,"ng-template",24),n.bVm()),2<){const re=n.sdS(2),ze=n.XpG();n.R7$(3),n.Y8G("ngTemplateOutlet",ze.loadingSpinnerTemplate||re)}}function ut(lt,kt){if(1<&&(n.j41(0,"span",26,3)(2,"span",27),n.EFF(3,"\xd7"),n.k0s()()),2<){const re=n.XpG();n.FS9("title",re.clearAllText)}}function tt(lt,kt){if(1<&&n.nrm(0,"span",32),2<){const re=n.XpG().$implicit,ze=n.XpG(2);n.Y8G("ngItemLabel",re.label)("escape",ze.escapeHTML)}}function rt(lt,kt){}function Ft(lt,kt){if(1<){const re=n.RV6();n.j41(0,"div",31),n.bIt("click",function(){const bt=n.eBV(re).$implicit,Ut=n.XpG(2);return n.Njj(Ut.toggleItem(bt))})("mouseover",function(){const bt=n.eBV(re).$implicit,Ut=n.XpG(2);return n.Njj(Ut.onItemHover(bt))}),n.DNE(1,tt,1,2,"ng-template",null,4,n.C5r)(3,rt,0,0,"ng-template",21),n.k0s()}if(2<){const re=kt.$implicit,ze=n.sdS(2),bt=n.XpG(2);n.AVh("ng-option-disabled",re.disabled)("ng-option-selected",re.selected)("ng-optgroup",re.children)("ng-option",!re.children)("ng-option-child",!!re.parent)("ng-option-marked",re===bt.itemsList.markedItem),n.BMQ("role",re.children?"group":"option")("aria-selected",re.selected)("id",null==re?null:re.htmlId),n.R7$(3),n.Y8G("ngTemplateOutlet",re.children?bt.optgroupTemplate||ze:bt.optionTemplate||ze)("ngTemplateOutletContext",n.ziG(17,ue,re.value,re,re.index,bt.searchTerm))}}function Le(lt,kt){if(1<&&(n.j41(0,"span")(1,"span",34),n.EFF(2),n.k0s(),n.EFF(3),n.k0s()),2<){const re=n.XpG(3);n.R7$(2),n.JRh(re.addTagText),n.R7$(),n.SpI('"',re.searchTerm,'"')}}function pe(lt,kt){}function Pe(lt,kt){if(1<){const re=n.RV6();n.j41(0,"div",33),n.bIt("mouseover",function(){n.eBV(re);const bt=n.XpG(2);return n.Njj(bt.itemsList.unmarkItem())})("click",function(){n.eBV(re);const bt=n.XpG(2);return n.Njj(bt.selectTag())}),n.DNE(1,Le,4,2,"ng-template",null,5,n.C5r)(3,pe,0,0,"ng-template",21),n.k0s()}if(2<){const re=n.sdS(2),ze=n.XpG(2);n.AVh("ng-option-marked",!ze.itemsList.markedItem),n.R7$(3),n.Y8G("ngTemplateOutlet",ze.tagTemplate||re)("ngTemplateOutletContext",n.eq3(4,ot,ze.searchTerm))}}function et(lt,kt){if(1<&&(n.j41(0,"div",35),n.EFF(1),n.k0s()),2<){const re=n.XpG(3);n.R7$(),n.JRh(re.notFoundText)}}function Pt(lt,kt){}function Fn(lt,kt){if(1<&&(n.qex(0),n.DNE(1,et,2,1,"ng-template",null,6,n.C5r)(3,Pt,0,0,"ng-template",21),n.bVm()),2<){const re=n.sdS(2),ze=n.XpG(2);n.R7$(3),n.Y8G("ngTemplateOutlet",ze.notFoundTemplate||re)("ngTemplateOutletContext",n.eq3(2,ot,ze.searchTerm))}}function ei(lt,kt){if(1<&&(n.j41(0,"div",35),n.EFF(1),n.k0s()),2<){const re=n.XpG(3);n.R7$(),n.JRh(re.typeToSearchText)}}function gn(lt,kt){}function pi(lt,kt){if(1<&&(n.qex(0),n.DNE(1,ei,2,1,"ng-template",null,7,n.C5r)(3,gn,0,0,"ng-template",24),n.bVm()),2<){const re=n.sdS(2),ze=n.XpG(2);n.R7$(3),n.Y8G("ngTemplateOutlet",ze.typeToSearchTemplate||re)}}function hi(lt,kt){if(1<&&(n.j41(0,"div",35),n.EFF(1),n.k0s()),2<){const re=n.XpG(3);n.R7$(),n.JRh(re.loadingText)}}function xi(lt,kt){}function ti(lt,kt){if(1<&&(n.qex(0),n.DNE(1,hi,2,1,"ng-template",null,8,n.C5r)(3,xi,0,0,"ng-template",21),n.bVm()),2<){const re=n.sdS(2),ze=n.XpG(2);n.R7$(3),n.Y8G("ngTemplateOutlet",ze.loadingTextTemplate||re)("ngTemplateOutletContext",n.eq3(2,ot,ze.searchTerm))}}function ki(lt,kt){if(1<){const re=n.RV6();n.j41(0,"ng-dropdown-panel",28),n.bIt("update",function(bt){n.eBV(re);const Ut=n.XpG();return n.Njj(Ut.viewPortItems=bt)})("scroll",function(bt){n.eBV(re);const Ut=n.XpG();return n.Njj(Ut.scroll.emit(bt))})("scrollToEnd",function(bt){n.eBV(re);const Ut=n.XpG();return n.Njj(Ut.scrollToEnd.emit(bt))})("outsideClick",function(){n.eBV(re);const bt=n.XpG();return n.Njj(bt.close())}),n.qex(1),n.DNE(2,Ft,4,22,"div",29)(3,Pe,4,6,"div",30),n.bVm(),n.DNE(4,Fn,4,4,"ng-container",12)(5,pi,4,1,"ng-container",12)(6,ti,4,4,"ng-container",12),n.k0s()}if(2<){const re=n.XpG();n.AVh("ng-select-multiple",re.multiple),n.Y8G("virtualScroll",re.virtualScroll)("bufferAmount",re.bufferAmount)("appendTo",re.appendTo)("position",re.dropdownPosition)("headerTemplate",re.headerTemplate)("footerTemplate",re.footerTemplate)("filterValue",re.searchTerm)("items",re.itemsList.filteredItems)("markedItem",re.itemsList.markedItem)("ngClass",re.appendTo?re.classes:null)("id",re.dropdownId),n.R7$(2),n.Y8G("ngForOf",re.viewPortItems)("ngForTrackBy",re.trackByOption),n.R7$(),n.Y8G("ngIf",re.showAddTag),n.R7$(),n.Y8G("ngIf",re.showNoItemsFound()),n.R7$(),n.Y8G("ngIf",re.showTypeToSearch()),n.R7$(),n.Y8G("ngIf",re.loading&&0===re.itemsList.filteredItems.length)}}const Zi=/[&<>"']/g,mn=RegExp(Zi.source),an={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ue(lt){return null!=lt}function st(lt){return"object"==typeof lt&&Ue(lt)}function Lt(lt){return lt instanceof Function}let fn=(()=>{class lt{constructor(re){this.element=re,this.escape=!0}ngOnChanges(re){this.element.nativeElement.innerHTML=this.escape?function me(lt){return lt&&mn.test(lt)?lt.replace(Zi,kt=>an[kt]):lt}(this.ngItemLabel):this.ngItemLabel}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[n.OA$]})}return lt})(),jn=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-option-tmp",""]]})}return lt})(),Kt=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-optgroup-tmp",""]]})}return lt})(),En=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-label-tmp",""]]})}return lt})(),ft=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-multi-label-tmp",""]]})}return lt})(),Tt=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-header-tmp",""]]})}return lt})(),Qt=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-footer-tmp",""]]})}return lt})(),Tn=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-notfound-tmp",""]]})}return lt})(),Xn=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-typetosearch-tmp",""]]})}return lt})(),Bn=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-loadingtext-tmp",""]]})}return lt})(),Ii=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-tag-tmp",""]]})}return lt})(),qn=(()=>{class lt{constructor(re){this.template=re}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:lt,selectors:[["","ng-loadingspinner-tmp",""]]})}return lt})();function Qi(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const sn={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function oi(lt){return lt.replace(/[^\u0000-\u007E]/g,re=>sn[re]||re)}class Zt{constructor(kt,re){this._ngSelect=kt,this._selectionModel=re,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let kt=this.selectedItems.length-1;for(;kt>=0;kt--){const re=this.selectedItems[kt];if(!re.disabled)return re}return null}setItems(kt){this._items=kt.map((re,ze)=>this.mapItem(re,ze)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(kt){if(kt.selected||this.maxItemsSelected)return;const re=this._ngSelect.multiple;re||this.clearSelected(),this._selectionModel.select(kt,re,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(kt)}unselect(kt){kt.selected&&(this._selectionModel.unselect(kt,this._ngSelect.multiple),this._ngSelect.hideSelected&&Ue(kt.index)&&this._ngSelect.multiple&&this._showSelected(kt))}findItem(kt){let re;return re=this._ngSelect.compareWith?ze=>this._ngSelect.compareWith(ze.value,kt):this._ngSelect.bindValue?ze=>!ze.children&&this.resolveNested(ze.value,this._ngSelect.bindValue)===kt:ze=>ze.value===kt||!ze.children&&ze.label&&ze.label===this.resolveNested(kt,this._ngSelect.bindLabel),this._items.find(ze=>re(ze))}addItem(kt){const re=this.mapItem(kt,this._items.length);return this._items.push(re),this._filteredItems.push(re),re}clearSelected(kt=!1){this._selectionModel.clear(kt),this._items.forEach(re=>{re.selected=kt&&re.selected&&re.disabled,re.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(kt){return kt=oi(kt).toLocaleLowerCase(),this.filteredItems.find(re=>oi(re.label).toLocaleLowerCase().substr(0,kt.length)===kt)}filter(kt){if(!kt)return void this.resetFilteredItems();this._filteredItems=[],kt=this._ngSelect.searchFn?kt:oi(kt).toLocaleLowerCase();const re=this._ngSelect.searchFn||this._defaultSearchFn,ze=this._ngSelect.hideSelected;for(const bt of Array.from(this._groups.keys())){const Ut=[];for(const An of this._groups.get(bt))ze&&(An.parent&&An.parent.selected||An.selected)||re(kt,this._ngSelect.searchFn?An.value:An)&&Ut.push(An);if(Ut.length>0){const[An]=Ut.slice(-1);if(An.parent){const Di=this._items.find(Bi=>Bi===An.parent);this._filteredItems.push(Di)}this._filteredItems.push(...Ut)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(kt=>!kt.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(kt){this._markedIndex=this._filteredItems.indexOf(kt)}markSelectedOrDefault(kt){if(0===this._filteredItems.length)return;const re=this._getLastMarkedIndex();this._markedIndex=re>-1?re:kt?this.filteredItems.findIndex(ze=>!ze.disabled):-1}resolveNested(kt,re){if(!st(kt))return kt;if(-1===re.indexOf("."))return kt[re];{const ze=re.split(".");let bt=kt;for(let Ut=0,An=ze.length;Ut<An;++Ut){if(null==bt)return null;bt=bt[ze[Ut]]}return bt}}mapItem(kt,re){const ze=Ue(kt.$ngOptionLabel)?kt.$ngOptionLabel:this.resolveNested(kt,this._ngSelect.bindLabel),bt=Ue(kt.$ngOptionValue)?kt.$ngOptionValue:kt;return{index:re,label:Ue(ze)?ze.toString():"",value:bt,disabled:kt.disabled,htmlId:`${this._ngSelect.dropdownId}-${re}`}}mapSelectedItems(){const kt=this._ngSelect.multiple;for(const re of this.selectedItems){const ze=this._ngSelect.bindValue?this.resolveNested(re.value,this._ngSelect.bindValue):re.value,bt=Ue(ze)?this.findItem(ze):null;this._selectionModel.unselect(re,kt),this._selectionModel.select(bt||re,kt,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(re=>-1===this.selectedItems.indexOf(re)))}_showSelected(kt){if(this._filteredItems.push(kt),kt.parent){const re=kt.parent;this._filteredItems.find(bt=>bt===re)||this._filteredItems.push(re)}else if(kt.children)for(const re of kt.children)re.selected=!1,this._filteredItems.push(re);this._filteredItems=[...this._filteredItems.sort((re,ze)=>re.index-ze.index)]}_hideSelected(kt){this._filteredItems=this._filteredItems.filter(re=>re!==kt),kt.parent?kt.parent.children.every(ze=>ze.selected)&&(this._filteredItems=this._filteredItems.filter(ze=>ze!==kt.parent)):kt.children&&(this._filteredItems=this.filteredItems.filter(re=>re.parent!==kt))}_defaultSearchFn(kt,re){return oi(re.label).toLocaleLowerCase().indexOf(kt)>-1}_getNextItemIndex(kt){return kt>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(kt){0===this._filteredItems.length||this._filteredItems.every(re=>re.disabled)||(this._markedIndex=this._getNextItemIndex(kt),this.markedItem.disabled&&this._stepToItem(kt))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const kt=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&kt<0?-1:Math.max(this.markedIndex,kt)}_groupBy(kt,re){const ze=new Map;if(0===kt.length)return ze;if(Array.isArray(kt[0].value[re])){for(const An of kt){const Di=(An.value[re]||[]).map((Bi,gr)=>this.mapItem(Bi,gr));ze.set(An,Di)}return ze}const bt=Lt(this._ngSelect.groupBy),Ut=An=>{const Di=bt?re(An.value):An.value[re];return Ue(Di)?Di:void 0};for(const An of kt){const Di=Ut(An),Bi=ze.get(Di);Bi?Bi.push(An):ze.set(Di,[An])}return ze}_flatten(kt){const re=Lt(this._ngSelect.groupBy),ze=[];for(const bt of Array.from(kt.keys())){let Ut=ze.length;if(void 0===bt){const Oi=kt.get(void 0)||[];ze.push(...Oi.map(kr=>(kr.index=Ut++,kr)));continue}const An=st(bt),Di={label:An?"":String(bt),children:void 0,parent:null,index:Ut++,disabled:!this._ngSelect.selectableGroup,htmlId:Qi()},Bi=re?this._ngSelect.bindLabel:this._ngSelect.groupBy,gr=this._ngSelect.groupValue||(()=>An?bt.value:{[Bi]:bt}),vr=kt.get(bt).map(Oi=>(Oi.parent=Di,Oi.children=void 0,Oi.index=Ut++,Oi));Di.children=vr,Di.value=gr(bt,vr.map(Oi=>Oi.value)),ze.push(Di),ze.push(...vr)}return ze}}var Cn=function(lt){return lt[lt.Tab=9]="Tab",lt[lt.Enter=13]="Enter",lt[lt.Esc=27]="Esc",lt[lt.Space=32]="Space",lt[lt.ArrowUp=38]="ArrowUp",lt[lt.ArrowDown=40]="ArrowDown",lt[lt.Backspace=8]="Backspace",lt}(Cn||{});let Dn=(()=>{class lt{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(re,ze,bt){const Ut=this._dimensions,An=Ut.itemHeight*ze,Bi=Math.max(0,re)/An*ze;let gr=Math.min(ze,Math.ceil(Bi)+(Ut.itemsPerViewport+1));const Oi=Math.max(0,gr-Ut.itemsPerViewport);let kr=Math.min(Oi,Math.floor(Bi)),Or=Ut.itemHeight*Math.ceil(kr)-Ut.itemHeight*Math.min(kr,bt);return Or=isNaN(Or)?0:Or,kr=isNaN(kr)?-1:kr,gr=isNaN(gr)?-1:gr,kr-=bt,kr=Math.max(0,kr),gr+=bt,gr=Math.min(ze,gr),{topPadding:Or,scrollHeight:An,start:kr,end:gr}}setDimensions(re,ze){const bt=Math.max(1,Math.floor(ze/re));this._dimensions={itemHeight:re,panelHeight:ze,itemsPerViewport:bt}}getScrollTo(re,ze,bt){const{panelHeight:Ut}=this.dimensions,An=re+ze,Bi=bt+Ut;return Ut>=An&&bt===re?null:An>Bi?bt+An-Bi:re<=bt?re:null}static#e=this.\u0275fac=function(ze){return new(ze||lt)};static#t=this.\u0275prov=n.jDH({token:lt,factory:lt.\u0275fac})}return lt})();const Re=["top","right","bottom","left"],Be=typeof requestAnimationFrame<"u"?T.X:N.$;let ee=(()=>{class lt{constructor(re,ze,bt,Ut,An){this._renderer=re,this._zone=ze,this._panelService=bt,this._document=An,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new n.bkB,this.scroll=new n.bkB,this.scrollToEnd=new n.bkB,this.outsideClick=new n.bkB,this._destroy$=new U.B,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=Ut.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(re){re!==this._itemsLength&&(this._itemsLength=re,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:re,panelHeight:ze}=this._panelService.dimensions,bt=this.markedItem.index*re;return ze>bt?0:bt}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(re){if(re.items){const ze=re.items;this._onItemsChange(ze.currentValue,ze.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(re,ze=!1){if(!re)return;const bt=this.items.indexOf(re);if(bt<0||bt>=this.itemsLength)return;let Ut;if(this.virtualScroll){const An=this._panelService.dimensions.itemHeight;Ut=this._panelService.getScrollTo(bt*An,An,this._lastScrollPosition)}else{const An=this._dropdown.querySelector(`#${re.htmlId}`);Ut=this._panelService.getScrollTo(An.offsetTop,An.clientHeight,ze?An.offsetTop:this._lastScrollPosition)}Ue(Ut)&&(this._scrollablePanel.scrollTop=Ut)}scrollToTag(){const re=this._scrollablePanel;re.scrollTop=re.scrollHeight-re.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Re.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(re){Re.forEach(bt=>{const Ut=`ng-select-${bt}`;this._renderer.removeClass(this._dropdown,Ut),this._renderer.removeClass(this._select,Ut)});const ze=`ng-select-${re}`;this._renderer.addClass(this._dropdown,ze),this._renderer.addClass(this._select,ze)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,b.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,y.Q)(this._destroy$),(0,F.Z)(0,Be)).subscribe(re=>{const ze=re.path||re.composedPath&&re.composedPath();ze&&(0!==ze.length||re.target)&&this._onContentScrolled(ze&&0!==ze.length?ze[0].scrollTop:re.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,G.h)((0,b.R)(this._document,"touchstart",{capture:!0}),(0,b.R)(this._document,"mousedown",{capture:!0})).pipe((0,y.Q)(this._destroy$)).subscribe(re=>this._checkToClose(re))})}_checkToClose(re){if(this._select.contains(re.target)||this._dropdown.contains(re.target))return;const ze=re.path||re.composedPath&&re.composedPath();re.target&&re.target.shadowRoot&&ze&&ze[0]&&this._select.contains(ze[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(re,ze){this.items=re||[],this._scrollToEndFired=!1,this.itemsLength=re.length,this.virtualScroll?this._updateItemsRange(ze):(this._setVirtualHeight(),this._updateItems(ze))}_updateItems(re){this.update.emit(this.items),!1!==re&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,re)})})}_updateItemsRange(re){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{re?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(re){this.virtualScroll&&this._renderItemsRange(re),this._lastScrollPosition=re,this._fireScrollToEnd(re)}_updateVirtualHeight(re){this._updateScrollHeight&&(this._virtualPadding.style.height=`${re}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(re=null){if(re&&this._lastScrollPosition===re)return;const ze=this._panelService.calculateItems(re=re||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(ze.scrollHeight),this._contentPanel.style.transform=`translateY(${ze.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(ze.start,ze.end)),this.scroll.emit({start:ze.start,end:ze.end})}),Ue(re)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=re,this._lastScrollPosition=re)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[re]=this.items;return this.update.emit([re]),Promise.resolve().then(()=>{const bt=this._dropdown.querySelector(`#${re.htmlId}`).clientHeight;return this._virtualPadding.style.height=bt*this.itemsLength+"px",this._panelService.setDimensions(bt,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(re){this._scrollToEndFired||0===re||re+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(re){if("auto"!==this.position)return this.position;const ze=this._select.getBoundingClientRect(),bt=document.documentElement.scrollTop||document.body.scrollTop;return ze.top+window.pageYOffset+ze.height+re.getBoundingClientRect().height>bt+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const re=this._select.getBoundingClientRect(),ze=this._parent.getBoundingClientRect();this._dropdown.style.left=re.left-ze.left+"px",this._dropdown.style.width=re.width+"px",this._dropdown.style.minWidth=re.width+"px"}_updateYPosition(){const re=this._select.getBoundingClientRect(),ze=this._parent.getBoundingClientRect(),bt=re.height;"top"===this._currentPosition?(this._dropdown.style.bottom=ze.bottom-re.bottom+bt+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=re.top-ze.top+bt+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,b.R)(this._dropdown,"mousedown").pipe((0,y.Q)(this._destroy$)).subscribe(re=>{"INPUT"!==re.target.tagName&&re.preventDefault()})})}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.sFG),n.rXU(n.SKi),n.rXU(Dn),n.rXU(n.aKT),n.rXU(R.qQ,8))};static#t=this.\u0275cmp=n.VBU({type:lt,selectors:[["ng-dropdown-panel"]],viewQuery:function(ze,bt){if(1&ze&&(n.GBs(ce,7,n.aKT),n.GBs(J,7,n.aKT),n.GBs(Se,7,n.aKT)),2&ze){let Ut;n.mGM(Ut=n.lsd())&&(bt.contentElementRef=Ut.first),n.mGM(Ut=n.lsd())&&(bt.scrollElementRef=Ut.first),n.mGM(Ut=n.lsd())&&(bt.paddingElementRef=Ut.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[n.OA$],ngContentSelectors:Ne,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(ze,bt){1&ze&&(n.NAR(),n.DNE(0,dt,2,4,"div",3),n.j41(1,"div",4,0),n.nrm(3,"div",null,1),n.j41(5,"div",null,2),n.SdG(7),n.k0s()(),n.DNE(8,He,2,4,"div",5)),2&ze&&(n.Y8G("ngIf",bt.headerTemplate),n.R7$(3),n.AVh("total-padding",bt.virtualScroll),n.R7$(2),n.AVh("scrollable-content",bt.virtualScroll&&bt.items.length),n.R7$(3),n.Y8G("ngIf",bt.footerTemplate))},dependencies:[R.bT,R.T3],encapsulation:2,changeDetection:0})}return lt})(),ye=(()=>{class lt{get disabled(){return this._disabled}set disabled(re){this._disabled=this._isDisabled(re)}constructor(re){this.elementRef=re,this.stateChange$=new U.B,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(re){re.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(re){return null!=re&&"false"!=`${re}`}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.rXU(n.aKT))};static#t=this.\u0275cmp=n.VBU({type:lt,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[n.OA$],ngContentSelectors:Ne,decls:1,vars:0,template:function(ze,bt){1&ze&&(n.NAR(),n.SdG(0))},encapsulation:2,changeDetection:0})}return lt})(),at=(()=>{class lt{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static#e=this.\u0275fac=function(ze){return new(ze||lt)};static#t=this.\u0275prov=n.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}return lt})(),Wt=(()=>{class lt{warn(re){console.warn(re)}static#e=this.\u0275fac=function(ze){return new(ze||lt)};static#t=this.\u0275prov=n.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}return lt})();const Et=new n.nKC("ng-select-selection-model");let Dt=(()=>{class lt{get items(){return this._items}set items(re){null===re&&(re=[]),this._itemsAreUsed=!0,this._items=re}get compareWith(){return this._compareWith}set compareWith(re){if(null!=re&&!Lt(re))throw Error("`compareWith` must be a function.");this._compareWith=re}get clearSearchOnAdd(){return Ue(this._clearSearchOnAdd)?this._clearSearchOnAdd:Ue(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(re){this._clearSearchOnAdd=re}get deselectOnClick(){return Ue(this._deselectOnClick)?this._deselectOnClick:Ue(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(re){this._deselectOnClick=re}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(re,ze,bt,Ut,An,Di,Bi){this.classes=re,this.autoFocus=ze,this.config=bt,this._cd=Di,this._console=Bi,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=gr=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new n.bkB,this.focusEvent=new n.bkB,this.changeEvent=new n.bkB,this.openEvent=new n.bkB,this.closeEvent=new n.bkB,this.searchEvent=new n.bkB,this.clearEvent=new n.bkB,this.addEvent=new n.bkB,this.removeEvent=new n.bkB,this.scroll=new n.bkB,this.scrollToEnd=new n.bkB,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Qi(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new U.B,this._keyPress$=new U.B,this._onChange=gr=>{},this._onTouched=()=>{},this.clearItem=gr=>{const vr=this.selectedItems.find(Oi=>Oi.value===gr);this.unselect(vr)},this.trackByOption=(gr,vr)=>this.trackByFn?this.trackByFn(vr.value):vr,this._mergeGlobalConfig(bt),this.itemsList=new Zt(this,Ut()),this.element=An.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(re=>re.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(re){re.multiple&&this.itemsList.clearSelected(),re.items&&this._setItems(re.items.currentValue||[]),re.isOpen&&(this._manualOpen=Ue(re.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Ue(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(re){if(Cn[re.which]){if(!1===this.keyDownFn(re))return;this.handleKeyCode(re)}else re.key&&1===re.key.length&&this._keyPress$.next(re.key.toLocaleLowerCase())}handleKeyCode(re){this.clearButton&&this.clearButton.nativeElement===re.target?this.handleKeyCodeClear(re):this.handleKeyCodeInput(re)}handleKeyCodeInput(re){switch(re.which){case Cn.ArrowDown:this._handleArrowDown(re);break;case Cn.ArrowUp:this._handleArrowUp(re);break;case Cn.Space:this._handleSpace(re);break;case Cn.Enter:this._handleEnter(re);break;case Cn.Tab:this._handleTab(re);break;case Cn.Esc:this.close(),re.preventDefault();break;case Cn.Backspace:this._handleBackspace()}}handleKeyCodeClear(re){re.which===Cn.Enter&&(this.handleClearClick(),re.preventDefault())}handleMousedown(re){const ze=re.target;"INPUT"!==ze.tagName&&re.preventDefault(),ze.classList.contains("ng-clear-wrapper")?this.handleClearClick():ze.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():ze.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(re){this.itemsList.clearSelected(),this._handleWriteValue(re),this._cd.markForCheck()}registerOnChange(re){this._onChange=re}registerOnTouched(re){this._onTouched=re}setDisabledState(re){this._disabled=re,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(re){!re||re.disabled||this.disabled||(this.deselectOnClick&&re.selected?this.unselect(re):this.select(re),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(re){re.selected||(this.itemsList.select(re),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(re.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(re){re&&(this.itemsList.unselect(re),this.focus(),this._updateNgModel(),this.removeEvent.emit(re.value))}selectTag(){let re;re=Lt(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const ze=bt=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(bt,null):this.itemsList.addItem(bt);!function zt(lt){return lt instanceof Promise}(re)?re&&this.select(ze(re)):re.then(bt=>this.select(ze(bt))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}get showAddTag(){if(!this._validTerm)return!1;const re=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(ze=>ze.label.toLowerCase()===re)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(ze=>ze.label.toLowerCase()===re))&&!this.loading}showNoItemsFound(){const re=0===this.itemsList.filteredItems.length;return(re&&!this._isTypeahead&&!this.loading||re&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(re){this._isComposing=!1,!this.searchWhileComposing&&this.filter(re)}filter(re){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=re,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(re),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:re,items:this.itemsList.filteredItems.map(ze=>ze.value)}),this.open())}onInputFocus(re){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(re),this.focused=!0)}onInputBlur(re){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(re),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(re){re.disabled||this.itemsList.markItem(re)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const re=this.selectedItems&&this.selectedItems[0];this.searchTerm=re&&re.label||null}_setItems(re){const ze=re[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Ue(ze)?!st(ze):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(re),re.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Ue(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const re=bt=>{this.items=bt.map(Ut=>({$ngOptionValue:Ut.value,$ngOptionLabel:Ut.elementRef.nativeElement.innerHTML,disabled:Ut.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},ze=()=>{const bt=(0,G.h)(this.ngOptions.changes,this._destroy$);(0,G.h)(...this.ngOptions.map(Ut=>Ut.stateChange$)).pipe((0,y.Q)(bt)).subscribe(Ut=>{const An=this.itemsList.findItem(Ut.value);An.disabled=Ut.disabled,An.label=Ut.label||An.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,g.Z)(this.ngOptions),(0,y.Q)(this._destroy$)).subscribe(bt=>{this.bindLabel=this._defaultLabel,re(bt),ze()})}_isValidWriteValue(re){if(!Ue(re)||this.multiple&&""===re||Array.isArray(re)&&0===re.length)return!1;const ze=bt=>!(!Ue(this.compareWith)&&st(bt)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(bt)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(re)?re.every(bt=>ze(bt)):(this._console.warn("Multiple select ngModel should be array."),!1):ze(re)}_handleWriteValue(re){if(!this._isValidWriteValue(re))return;const ze=bt=>{let Ut=this.itemsList.findItem(bt);if(Ut)this.itemsList.select(Ut);else{const An=st(bt);An||!An&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(bt,null)):this.bindValue&&(Ut={[this.bindLabel]:null,[this.bindValue]:bt},this.itemsList.select(this.itemsList.mapItem(Ut,null)))}};this.multiple?re.forEach(bt=>ze(bt)):ze(re)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,y.Q)(this._destroy$),(0,A.M)(re=>this._pressedKeys.push(re)),(0,M.B)(200),(0,B.p)(()=>this._pressedKeys.length>0),(0,V.T)(()=>this._pressedKeys.join(""))).subscribe(re=>{const ze=this.itemsList.findByLabel(re);ze&&(this.isOpen?(this.itemsList.markItem(ze),this._scrollToMarked(),this._cd.markForCheck()):this.select(ze)),this._pressedKeys=[]})}_setInputAttributes(){const re=this.searchInput.nativeElement,ze={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const bt of Object.keys(ze))re.setAttribute(bt,ze[bt])}_updateNgModel(){const re=[];for(const bt of this.selectedItems)if(this.bindValue){let Ut=null;Ut=bt.children?bt.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(bt.value,this.bindValue),re.push(Ut)}else re.push(bt.value);const ze=this.selectedItems.map(bt=>bt.value);this.multiple?(this._onChange(re),this.changeEvent.emit(ze)):(this._onChange(Ue(re[0])?re[0]:null),this.changeEvent.emit(ze[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(re){this.searchTerm=re,this._isTypeahead&&this.typeahead.next(re)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(re){if(!1===this.isOpen)if(this.showClear())this.focusOnClear(),re.preventDefault();else if(!this.addTag)return;this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),re.preventDefault()):this.showAddTag?(this.selectTag(),re.preventDefault()):this.close():this.close()}_handleEnter(re){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}re.preventDefault()}_handleSpace(re){this.isOpen||this._manualOpen||(this.open(),re.preventDefault())}_handleArrowDown(re){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),re.preventDefault()}_handleArrowUp(re){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),re.preventDefault())}_nextItemIsTag(re){const ze=this.itemsList.markedIndex+re;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(ze<0||ze===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const re=this.searchTerm&&this.searchTerm.trim();return re&&re.length>=this.minTermLength}_mergeGlobalConfig(re){this.placeholder=this.placeholder||re.placeholder,this.notFoundText=this.notFoundText||re.notFoundText,this.typeToSearchText=this.typeToSearchText||re.typeToSearchText,this.addTagText=this.addTagText||re.addTagText,this.loadingText=this.loadingText||re.loadingText,this.clearAllText=this.clearAllText||re.clearAllText,this.virtualScroll=Ue(this.virtualScroll)?this.virtualScroll:!!Ue(re.disableVirtualScroll)&&!re.disableVirtualScroll,this.openOnEnter=Ue(this.openOnEnter)?this.openOnEnter:re.openOnEnter,this.appendTo=this.appendTo||re.appendTo,this.bindValue=this.bindValue||re.bindValue,this.bindLabel=this.bindLabel||re.bindLabel,this.appearance=this.appearance||re.appearance}static#e=this.\u0275fac=function(ze){return new(ze||lt)(n.kS0("class"),n.kS0("autofocus"),n.rXU(at),n.rXU(Et),n.rXU(n.aKT),n.rXU(n.gRc),n.rXU(Wt))};static#t=this.\u0275cmp=n.VBU({type:lt,selectors:[["ng-select"]],contentQueries:function(ze,bt,Ut){if(1&ze&&(n.wni(Ut,jn,5,n.C4Q),n.wni(Ut,Kt,5,n.C4Q),n.wni(Ut,En,5,n.C4Q),n.wni(Ut,ft,5,n.C4Q),n.wni(Ut,Tt,5,n.C4Q),n.wni(Ut,Qt,5,n.C4Q),n.wni(Ut,Tn,5,n.C4Q),n.wni(Ut,Xn,5,n.C4Q),n.wni(Ut,Bn,5,n.C4Q),n.wni(Ut,Ii,5,n.C4Q),n.wni(Ut,qn,5,n.C4Q),n.wni(Ut,ye,5)),2&ze){let An;n.mGM(An=n.lsd())&&(bt.optionTemplate=An.first),n.mGM(An=n.lsd())&&(bt.optgroupTemplate=An.first),n.mGM(An=n.lsd())&&(bt.labelTemplate=An.first),n.mGM(An=n.lsd())&&(bt.multiLabelTemplate=An.first),n.mGM(An=n.lsd())&&(bt.headerTemplate=An.first),n.mGM(An=n.lsd())&&(bt.footerTemplate=An.first),n.mGM(An=n.lsd())&&(bt.notFoundTemplate=An.first),n.mGM(An=n.lsd())&&(bt.typeToSearchTemplate=An.first),n.mGM(An=n.lsd())&&(bt.loadingTextTemplate=An.first),n.mGM(An=n.lsd())&&(bt.tagTemplate=An.first),n.mGM(An=n.lsd())&&(bt.loadingSpinnerTemplate=An.first),n.mGM(An=n.lsd())&&(bt.ngOptions=An)}},viewQuery:function(ze,bt){if(1&ze&&(n.GBs(ee,5),n.GBs(Ge,7),n.GBs(se,5)),2&ze){let Ut;n.mGM(Ut=n.lsd())&&(bt.dropdownPanel=Ut.first),n.mGM(Ut=n.lsd())&&(bt.searchInput=Ut.first),n.mGM(Ut=n.lsd())&&(bt.clearButton=Ut.first)}},hostVars:20,hostBindings:function(ze,bt){1&ze&&n.bIt("keydown",function(An){return bt.handleKeyDown(An)}),2&ze&&n.AVh("ng-select-typeahead",bt.typeahead)("ng-select-multiple",bt.multiple)("ng-select-taggable",bt.addTag)("ng-select-searchable",bt.searchable)("ng-select-clearable",bt.clearable)("ng-select-opened",bt.isOpen)("ng-select",bt.useDefaultClass)("ng-select-disabled",bt.disabled)("ng-select-filtered",bt.filtered)("ng-select-single",bt.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[n.Jv_([{provide:r.kq,useExisting:(0,n.Rfq)(()=>lt),multi:!0},Dn]),n.OA$],decls:14,vars:19,consts:[["searchInput",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"input","compositionstart","compositionend","focus","blur","change","readOnly","disabled","value"],["class","ng-clear-wrapper","tabindex","0",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],["tabindex","0",1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(ze,bt){if(1&ze){const Ut=n.RV6();n.j41(0,"div",9),n.bIt("mousedown",function(Di){return n.eBV(Ut),n.Njj(bt.handleMousedown(Di))}),n.j41(1,"div",10)(2,"div",11),n.EFF(3),n.k0s(),n.DNE(4,Yt,2,2,"ng-container",12)(5,qt,1,5,null,12),n.j41(6,"div",13)(7,"input",14,0),n.bIt("input",function(){n.eBV(Ut);const Di=n.sdS(8);return n.Njj(bt.filter(Di.value))})("compositionstart",function(){return n.eBV(Ut),n.Njj(bt.onCompositionStart())})("compositionend",function(){n.eBV(Ut);const Di=n.sdS(8);return n.Njj(bt.onCompositionEnd(Di.value))})("focus",function(Di){return n.eBV(Ut),n.Njj(bt.onInputFocus(Di))})("blur",function(Di){return n.eBV(Ut),n.Njj(bt.onInputBlur(Di))})("change",function(Di){return n.eBV(Ut),n.Njj(Di.stopPropagation())}),n.k0s()()(),n.DNE(9,nt,4,1,"ng-container",12)(10,ut,4,1,"span",15),n.j41(11,"span",16),n.nrm(12,"span",17),n.k0s()(),n.DNE(13,ki,7,19,"ng-dropdown-panel",18)}2&ze&&(n.AVh("ng-appearance-outline","outline"===bt.appearance)("ng-has-value",bt.hasValue),n.R7$(3),n.JRh(bt.placeholder),n.R7$(),n.Y8G("ngIf",(!bt.multiLabelTemplate||!bt.multiple)&&bt.selectedItems.length>0),n.R7$(),n.Y8G("ngIf",bt.multiple&&bt.multiLabelTemplate&&bt.selectedValues.length>0),n.R7$(),n.BMQ("aria-expanded",bt.isOpen)("aria-owns",bt.isOpen?bt.dropdownId:null),n.R7$(),n.Y8G("readOnly",!bt.searchable||bt.itemsList.maxItemsSelected)("disabled",bt.disabled)("value",bt.searchTerm?bt.searchTerm:""),n.BMQ("id",bt.labelForId)("tabindex",bt.tabIndex)("aria-activedescendant",bt.isOpen?null==bt.itemsList||null==bt.itemsList.markedItem?null:bt.itemsList.markedItem.htmlId:null)("aria-controls",bt.isOpen?bt.dropdownId:null),n.R7$(2),n.Y8G("ngIf",bt.loading),n.R7$(),n.Y8G("ngIf",bt.showClear()),n.R7$(3),n.Y8G("ngIf",bt.isOpen))},dependencies:[R.YU,R.Sq,R.bT,R.T3,ee,fn],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0})}return lt})();function Qe(){return new Mt}class Mt{constructor(){this._selected=[]}get value(){return this._selected}select(kt,re,ze){if(kt.selected=!0,(!kt.children||!re&&ze)&&this._selected.push(kt),re)if(kt.parent){const bt=kt.parent.children.length,Ut=kt.parent.children.filter(An=>An.selected).length;kt.parent.selected=bt===Ut}else kt.children&&(this._setChildrenSelectedState(kt.children,!0),this._removeChildren(kt),this._selected=ze&&this._activeChildren(kt)?[...this._selected.filter(bt=>bt.parent!==kt),kt]:[...this._selected,...kt.children.filter(bt=>!bt.disabled)])}unselect(kt,re){if(this._selected=this._selected.filter(ze=>ze!==kt),kt.selected=!1,re)if(kt.parent&&kt.parent.selected){const ze=kt.parent.children;this._removeParent(kt.parent),this._removeChildren(kt.parent),this._selected.push(...ze.filter(bt=>bt!==kt&&!bt.disabled)),kt.parent.selected=!1}else kt.children&&(this._setChildrenSelectedState(kt.children,!1),this._removeChildren(kt))}clear(kt){this._selected=kt?this._selected.filter(re=>re.disabled):[]}_setChildrenSelectedState(kt,re){for(const ze of kt)ze.disabled||(ze.selected=re)}_removeChildren(kt){this._selected=[...this._selected.filter(re=>re.parent!==kt),...kt.children.filter(re=>re.parent===kt&&re.disabled&&re.selected)]}_removeParent(kt){this._selected=this._selected.filter(re=>re!==kt)}_activeChildren(kt){return kt.children.every(re=>!re.disabled||re.selected)}}let wn=(()=>{class lt{static#e=this.\u0275fac=function(ze){return new(ze||lt)};static#t=this.\u0275mod=n.$C({type:lt});static#n=this.\u0275inj=n.G2t({providers:[{provide:Et,useValue:Qe}],imports:[R.MD]})}return lt})()},2207:(_t,ge,f)=>{"use strict";f.d(ge,{DX:()=>V});let n=null;const r={};let y=1;function g(J){try{return J()}catch{}}const A="@wry/context:Slot",B=g(()=>globalThis)||g(()=>global)||Object.create(null),V=B[A]||Array[A]||function(J){try{Object.defineProperty(B,A,{value:J,enumerable:!1,writable:!1,configurable:!0})}finally{return J}}(class{constructor(){this.id=["slot",y++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let Se=n;Se;Se=Se.parent)if(this.id in Se.slots){const Ne=Se.slots[this.id];if(Ne===r)break;return Se!==n&&(n.slots[this.id]=Ne),!0}return n&&(n.slots[this.id]=r),!1}getValue(){if(this.hasValue())return n.slots[this.id]}withValue(Se,Ne,ot,dt){const Ge=n;n={parent:Ge,slots:{__proto__:null,[this.id]:Se}};try{return Ne.apply(dt,ot)}finally{n=Ge}}static bind(Se){const Ne=n;return function(){const ot=n;try{return n=Ne,Se.apply(this,arguments)}finally{n=ot}}}static noContext(Se,Ne,ot){if(!n)return Se.apply(ot,Ne);{const dt=n;try{return n=null,Se.apply(ot,Ne)}finally{n=dt}}}})},9860:(_t,ge,f)=>{"use strict";f.d(ge,{L:()=>g});const{toString:n,hasOwnProperty:r}=Object.prototype,y=Function.prototype.toString,F=new Map;function g(b,G){try{return M(b,G)}finally{F.clear()}}function M(b,G){if(b===G)return!0;const R=n.call(b);if(R!==n.call(G))return!1;switch(R){case"[object Array]":if(b.length!==G.length)return!1;case"[object Object]":{if(U(b,G))return!0;const J=B(b),Se=B(G),Ne=J.length;if(Ne!==Se.length)return!1;for(let ot=0;ot<Ne;++ot)if(!r.call(G,J[ot]))return!1;for(let ot=0;ot<Ne;++ot){const dt=J[ot];if(!M(b[dt],G[dt]))return!1}return!0}case"[object Error]":return b.name===G.name&&b.message===G.message;case"[object Number]":if(b!=b)return G!=G;case"[object Boolean]":case"[object Date]":return+b==+G;case"[object RegExp]":case"[object String]":return b==`${G}`;case"[object Map]":case"[object Set]":{if(b.size!==G.size)return!1;if(U(b,G))return!0;const J=b.entries(),Se="[object Map]"===R;for(;;){const Ne=J.next();if(Ne.done)break;const[ot,dt]=Ne.value;if(!G.has(ot)||Se&&!M(dt,G.get(ot)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":b=new Uint8Array(b),G=new Uint8Array(G);case"[object DataView]":{let J=b.byteLength;if(J===G.byteLength)for(;J--&&b[J]===G[J];);return-1===J}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const J=y.call(b);return J===y.call(G)&&!function N(b,G){const R=b.length-G.length;return R>=0&&b.indexOf(G,R)===R}(J,T)}}return!1}function B(b){return Object.keys(b).filter(V,b)}function V(b){return void 0!==this[b]}const T="{ [native code] }";function U(b,G){let R=F.get(b);if(R){if(R.has(G))return!0}else F.set(b,R=new Set);return R.add(G),!1}},4420:(_t,ge,f)=>{"use strict";f.d(ge,{b:()=>g});const n=()=>Object.create(null),{forEach:r,slice:y}=Array.prototype,{hasOwnProperty:F}=Object.prototype;class g{constructor(B=!0,V=n){this.weakness=B,this.makeData=V}lookup(...B){return this.lookupArray(B)}lookupArray(B){let V=this;return r.call(B,T=>V=V.getChildTrie(T)),F.call(V,"data")?V.data:V.data=this.makeData(y.call(B))}peek(...B){return this.peekArray(B)}peekArray(B){let V=this;for(let T=0,N=B.length;V&&T<N;++T){const U=this.weakness&&A(B[T])?V.weak:V.strong;V=U&&U.get(B[T])}return V&&V.data}getChildTrie(B){const V=this.weakness&&A(B)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let T=V.get(B);return T||V.set(B,T=new g(this.weakness,this.makeData)),T}}function A(M){switch(typeof M){case"object":if(null===M)break;case"function":return!0}return!1}},3473:(_t,ge,f)=>{"use strict";f.d(ge,{$Y:()=>ha,Ic:()=>Ls,_9:()=>Ks,J1:()=>Ct});var n=f(4438),r=f(1985),y=f(6780),g=f(9687);const M=new class A extends g.q{}(class F extends y.R{constructor(x,P){super(x,P),this.scheduler=x,this.work=P}schedule(x,P=0){return P>0?super.schedule(x,P):(this.delay=P,this.state=x,this.scheduler.flush(this),this)}execute(x,P){return P>0||this.closed?super.execute(x,P):this._execute(x,P)}requestAsyncId(x,P,te=0){return null!=te&&te>0||null==te&&this.delay>0?super.requestAsyncId(x,P,te):(x.flush(this),0)}});var V=f(3494),T=f(2806),N=function(j){return j[j.loading=1]="loading",j[j.setVariables=2]="setVariables",j[j.fetchMore=3]="fetchMore",j[j.refetch=4]="refetch",j[j.poll=6]="poll",j[j.ready=7]="ready",j[j.error=8]="error",j}(N||{});function U(j){return!!j&&j<7}var b=f(1635),G=f(1289),R=f(8008),ce=R.C.execute,Se=f(8540),Ne=f(4183),ot=f(7994),dt=function(j,x){var P;try{P=JSON.stringify(j)}catch(de){var te=__DEV__?new G.zU("Network request failed. ".concat(x," is not serializable: ").concat(de.message)):new G.zU(24);throw te.parseError=de,te}return P},Ge=f(6500);function qt(j){var x={next:function(){return j.read()}};return Ge.uJ&&(x[Symbol.asyncIterator]=function(){return this}),x}function jt(j){var x=j;if(function se(j){return!!j.body}(j)&&(x=j.body),function we(j){return!(!Ge.uJ||!j[Symbol.asyncIterator])}(x))return function yt(j){var x,P=j[Symbol.asyncIterator]();return(x={next:function(){return P.next()}})[Symbol.asyncIterator]=function(){return this},x}(x);if(function Ae(j){return!!j.getReader}(x))return qt(x.getReader());if(function ue(j){return!!j.stream}(x))return qt(x.stream().getReader());if(function Oe(j){return!!j.arrayBuffer}(x))return function Vt(j){var x=!1,P={next:function(){return x?Promise.resolve({value:void 0,done:!0}):(x=!0,new Promise(function(te,de){j.then(function(Ke){te({value:Ke,done:!1})}).catch(de)}))}};return Ge.uJ&&(P[Symbol.asyncIterator]=function(){return this}),P}(x.arrayBuffer());if(function Ye(j){return!!j.pipe}(x))return function Yt(j){var x=null,P=null,te=!1,de=[],Ke=[];function wt(Un){if(!P){if(Ke.length){var In=Ke.shift();if(Array.isArray(In)&&In[0])return In[0]({value:Un,done:!1})}de.push(Un)}}function en(Un){P=Un,Ke.slice().forEach(function(Rn){Rn[1](Un)}),!x||x()}function Gt(){te=!0,Ke.slice().forEach(function(In){In[0]({value:void 0,done:!0})}),!x||x()}x=function(){x=null,j.removeListener("data",wt),j.removeListener("error",en),j.removeListener("end",Gt),j.removeListener("finish",Gt),j.removeListener("close",Gt)},j.on("data",wt),j.on("error",en),j.on("end",Gt),j.on("finish",Gt),j.on("close",Gt);var $n={next:function(){return function hn(){return new Promise(function(Un,In){return P?In(P):de.length?Un({value:de.shift(),done:!1}):te?Un({value:void 0,done:!0}):void Ke.push([Un,In])})}()}};return Ge.uJ&&($n[Symbol.asyncIterator]=function(){return this}),$n}(x);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var Ot=function(j,x,P){var te=new Error(P);throw te.name="ServerError",te.response=j,te.statusCode=j.status,te.result=x,te},nt=f(1181),ut=Symbol(),Le=function(j){function x(P){var te=P.graphQLErrors,de=P.protocolErrors,Ke=P.clientErrors,wt=P.networkError,en=P.errorMessage,Gt=P.extraInfo,hn=j.call(this,en)||this;return hn.name="ApolloError",hn.graphQLErrors=te||[],hn.protocolErrors=de||[],hn.clientErrors=Ke||[],hn.networkError=wt||null,hn.message=en||function(j){var x=(0,b.fX)((0,b.fX)((0,b.fX)([],j.graphQLErrors,!0),j.clientErrors,!0),j.protocolErrors,!0);return j.networkError&&x.push(j.networkError),x.map(function(P){return(0,nt.U)(P)&&P.message||"Error message not found."}).join("\n")}(hn),hn.extraInfo=Gt,hn.__proto__=x.prototype,hn}return(0,b.C6)(x,j),x}(Error),pe=f(7715),Pe=f(1115);function et(j){return"incremental"in j}function ei(j){return(0,nt.U)(j)&&"payload"in j}function gn(j,x){var P=j,te=new Pe.ZI;return et(x)&&(0,pe.E)(x.incremental)&&x.incremental.forEach(function(de){for(var Ke=de.data,wt=de.path,en=wt.length-1;en>=0;--en){var Gt=wt[en],$n=isNaN(+Gt)?{}:[];$n[Gt]=Ke,Ke=$n}P=te.merge(P,Ke)}),P}var pi=Object.prototype.hasOwnProperty;function xi(j){var x={};return j.split("\n").forEach(function(P){var te=P.indexOf(":");if(te>-1){var de=P.slice(0,te).trim().toLowerCase(),Ke=P.slice(te+1).trim();x[de]=Ke}}),x}function ti(j,x){j.status>=300&&Ot(j,function(){try{return JSON.parse(x)}catch{return x}}(),"Response not successful: Received status code ".concat(j.status));try{return JSON.parse(x)}catch(de){var te=de;throw te.name="ServerParseError",te.response=j,te.statusCode=j.status,te.bodyText=x,te}}function ki(j,x){var P,te;"AbortError"!==j.name&&(j.result&&j.result.errors&&j.result.data&&(null===(P=x.next)||void 0===P||P.call(x,j.result)),null===(te=x.error)||void 0===te||te.call(x,j))}var me=f(3246),Lt={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},fn=function(j,x){return x(j)};function Qt(j){return new ot.c(function(x){x.error(j)})}var Tn=f(4229),Xn=(0,G.no)(function(){return fetch}),Bn=function(j){void 0===j&&(j={});var x=j.uri,P=void 0===x?"/graphql":x,te=j.fetch,de=j.print,Ke=void 0===de?fn:de,wt=j.includeExtensions,en=j.preserveHeaderCase,Gt=j.useGETForQueries,hn=j.includeUnusedVariables,$n=void 0!==hn&&hn,Un=(0,b.Tt)(j,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&function(j){if(!j&&typeof fetch>"u")throw __DEV__?new G.zU("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new G.zU(23)}(te||Xn);var In={http:{includeExtensions:wt,preserveHeaderCase:en},options:Un.fetchOptions,credentials:Un.credentials,headers:Un.headers};return new R.C(function(Rn){var ii=function(j,x){return j.getContext().uri||("function"==typeof x?x(j):x||"/graphql")}(Rn,P),ri=Rn.getContext(),ai={};if(ri.clientAwareness){var Ei=ri.clientAwareness,Gn=Ei.name,vi=Ei.version;Gn&&(ai["apollographql-client-name"]=Gn),vi&&(ai["apollographql-client-version"]=vi)}var Vi,tr=(0,b.Cl)((0,b.Cl)({},ai),ri.headers),bi=function Kt(j,x){for(var P=[],te=2;te<arguments.length;te++)P[te-2]=arguments[te];var de={},Ke={};P.forEach(function(Un){de=(0,b.Cl)((0,b.Cl)((0,b.Cl)({},de),Un.options),{headers:(0,b.Cl)((0,b.Cl)({},de.headers),Un.headers)}),Un.credentials&&(de.credentials=Un.credentials),Ke=(0,b.Cl)((0,b.Cl)({},Ke),Un.http)}),de.headers&&(de.headers=function En(j,x){if(!x){var P=Object.create(null);return Object.keys(Object(j)).forEach(function(Ke){P[Ke.toLowerCase()]=j[Ke]}),P}var te=Object.create(null);Object.keys(Object(j)).forEach(function(Ke){te[Ke.toLowerCase()]={originalName:Ke,value:j[Ke]}});var de=Object.create(null);return Object.keys(te).forEach(function(Ke){de[te[Ke].originalName]=te[Ke].value}),de}(de.headers,Ke.preserveHeaderCase));var hn=j.query,$n={operationName:j.operationName,variables:j.variables};return Ke.includeExtensions&&($n.extensions=j.extensions),Ke.includeQuery&&($n.query=x(hn,me.y)),{options:de,body:$n}}(Rn,Ke,Lt,In,{http:ri.http,options:ri.fetchOptions,credentials:ri.credentials,headers:tr}),Pi=bi.options,Si=bi.body;if(Si.variables&&!$n){var si=new Set(Object.keys(Si.variables));(0,Se.YR)(Rn.query,{Variable:function(Ai,Gi,Ro){Ro&&"VariableDefinition"!==Ro.kind&&si.delete(Ai.name.value)}}),si.size&&(Si.variables=(0,b.Cl)({},Si.variables),si.forEach(function(Ai){delete Si.variables[Ai]}))}if(!Pi.signal){var Oo=function(){if(typeof AbortController>"u")return{controller:!1,signal:!1};var j=new AbortController;return{controller:j,signal:j.signal}}();(Vi=Oo.controller)&&(Pi.signal=Oo.signal)}var Ai,Nt="OperationDefinition"===(Ai=(0,Tn.Vn)(Rn.query)).kind&&"subscription"===Ai.operation,pn=(0,Ne.d8)(["defer"],Rn.query);if(Gt&&!Rn.query.definitions.some(function(Ai){return"OperationDefinition"===Ai.kind&&"mutation"===Ai.operation})&&(Pi.method="GET"),pn||Nt){Pi.headers=Pi.headers||{};var un="multipart/mixed;";Nt&&pn&&__DEV__&&G.V1.warn("Multipart-subscriptions do not support @defer"),Nt?un+="boundary=graphql;subscriptionSpec=1.0,application/json":pn&&(un+="deferSpec=20220824,application/json"),Pi.headers.accept=un}if("GET"===Pi.method){var gi=function Tt(j,x){var P=[],te=function(Un,In){P.push("".concat(Un,"=").concat(encodeURIComponent(In)))};if("query"in x&&te("query",x.query),x.operationName&&te("operationName",x.operationName),x.variables){var de=void 0;try{de=dt(x.variables,"Variables map")}catch(Un){return{parseError:Un}}te("variables",de)}if(x.extensions){var Ke=void 0;try{Ke=dt(x.extensions,"Extensions map")}catch(Un){return{parseError:Un}}te("extensions",Ke)}var wt="",en=j,Gt=j.indexOf("#");-1!==Gt&&(wt=j.substr(Gt),en=j.substr(0,Gt));var hn=-1===en.indexOf("?")?"?":"&";return{newURI:en+hn+P.join("&")+wt}}(ii,Si),ji=gi.newURI,Sr=gi.parseError;if(Sr)return Qt(Sr);ii=ji}else try{Pi.body=dt(Si,"Payload")}catch(Ai){return Qt(Ai)}return new ot.c(function(Ai){return(te||(0,G.no)(function(){return fetch})||Xn)(ii,Pi).then(function(Ro){var il;Rn.setContext({response:Ro});var Po=null===(il=Ro.headers)||void 0===il?void 0:il.get("content-type");return null!==Po&&/^multipart\/mixed/i.test(Po)?function hi(j,x){var P,te,de,Ke,wt;return(0,b.sH)(this,void 0,void 0,function(){var en,Gt,hn,$n,Un,In,Rn,ii,ri,ai,Ei,Gn,vi,tr,yr,bi,Pi,Si,si,Vi,Oo,us,oo;return(0,b.YH)(this,function(vo){switch(vo.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");en=new TextDecoder("utf-8"),Gt=null===(P=j.headers)||void 0===P?void 0:P.get("content-type"),hn="boundary=",$n=Gt?.includes(hn)?Gt?.substring(Gt?.indexOf(hn)+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",Un="\r\n--".concat($n),In="",Rn=jt(j),ii=!0,vo.label=1;case 1:return ii?[4,Rn.next()]:[3,3];case 2:for(ri=vo.sent(),Ei=ri.done,Gn="string"==typeof(ai=ri.value)?ai:en.decode(ai),vi=In.length-Un.length+1,ii=!Ei,tr=(In+=Gn).indexOf(Un,vi);tr>-1;){if(yr=void 0,us=[In.slice(0,tr),In.slice(tr+Un.length)],In=us[1],bi=(yr=us[0]).indexOf("\r\n\r\n"),Pi=xi(yr.slice(0,bi)),(Si=Pi["content-type"])&&-1===Si.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(si=yr.slice(bi))try{Vi=ti(j,si),Object.keys(Vi).length>1||"data"in Vi||"incremental"in Vi||"errors"in Vi||"payload"in Vi?ei(Vi)?(Oo={},"payload"in Vi&&(Oo=(0,b.Cl)({},Vi.payload)),"errors"in Vi&&(Oo=(0,b.Cl)((0,b.Cl)({},Oo),{extensions:(0,b.Cl)((0,b.Cl)({},"extensions"in Oo?Oo.extensions:null),(oo={},oo[ut]=Vi.errors,oo))})),null===(te=x.next)||void 0===te||te.call(x,Oo)):null===(de=x.next)||void 0===de||de.call(x,Vi):1===Object.keys(Vi).length&&"hasNext"in Vi&&!Vi.hasNext&&(null===(Ke=x.complete)||void 0===Ke||Ke.call(x))}catch(Ts){ki(Ts,x)}tr=In.indexOf(Un)}return[3,1];case 3:return null===(wt=x.complete)||void 0===wt||wt.call(x),[2]}})})}(Ro,Ai):function Zi(j,x,P){(function mn(j){return function(x){return x.text().then(function(P){return ti(x,P)}).then(function(P){return x.status>=300&&Ot(x,P,"Response not successful: Received status code ".concat(x.status)),!Array.isArray(P)&&!pi.call(P,"data")&&!pi.call(P,"errors")&&Ot(x,P,"Server response was missing for query '".concat(Array.isArray(j)?j.map(function(te){return te.operationName}):j.operationName,"'.")),P})}})(x)(j).then(function(te){var de,Ke;null===(de=P.next)||void 0===de||de.call(P,te),null===(Ke=P.complete)||void 0===Ke||Ke.call(P)}).catch(function(te){return ki(te,P)})}(Ro,Rn,Ai)}).catch(function(Ro){return ki(Ro,Ai)}),function(){Vi&&Vi.abort()}})})},Ii=function(j){function x(P){void 0===P&&(P={});var te=j.call(this,Bn(P).request)||this;return te.options=P,te}return(0,b.C6)(x,j),x}(R.C),qn=f(9860),Qi=f(5985);function sn(j,x,P){return new ot.c(function(te){var de=te.next,Ke=te.error,wt=te.complete,en=0,Gt=!1,hn={then:function(Rn){return new Promise(function(ii){return ii(Rn())})}};function $n(Rn,ii){return Rn?function(ri){++en;var ai=function(){return Rn(ri)};hn=hn.then(ai,ai).then(function(Ei){--en,de&&de.call(te,Ei),Gt&&Un.complete()},function(Ei){throw--en,Ei}).catch(function(Ei){Ke&&Ke.call(te,Ei)})}:function(ri){return ii&&ii.call(te,ri)}}var Un={next:$n(x,de),error:$n(P,Ke),complete:function(){Gt=!0,en||wt&&wt.call(te)}},In=j.subscribe(Un);return function(){return In.unsubscribe()}})}function oi(j){var x=Zt(j);return(0,pe.E)(x)}function Zt(j){var x=(0,pe.E)(j.errors)?j.errors.slice(0):[];return et(j)&&(0,pe.E)(j.incremental)&&j.incremental.forEach(function(P){P.errors&&x.push.apply(x,P.errors)}),x}var Cn=f(1601),Dn=f(1367),Re=f(9977);function Be(j,x,P){var te=[];j.forEach(function(de){return de[x]&&te.push(de)}),te.forEach(function(de){return de[x](P)})}function ee(j){function x(P){Object.defineProperty(j,P,{value:ot.c})}return Ge.ol&&Symbol.species&&x(Symbol.species),x("@@species"),j}function ye(j){return j&&"function"==typeof j.then}var at=function(j){function x(P){var te=j.call(this,function(de){return te.addObserver(de),function(){return te.removeObserver(de)}})||this;return te.observers=new Set,te.promise=new Promise(function(de,Ke){te.resolve=de,te.reject=Ke}),te.handlers={next:function(de){null!==te.sub&&(te.latest=["next",de],te.notify("next",de),Be(te.observers,"next",de))},error:function(de){var Ke=te.sub;null!==Ke&&(Ke&&setTimeout(function(){return Ke.unsubscribe()}),te.sub=null,te.latest=["error",de],te.reject(de),te.notify("error",de),Be(te.observers,"error",de))},complete:function(){var Ke=te.sub,wt=te.sources;if(null!==Ke){var Gt=(void 0===wt?[]:wt).shift();Gt?ye(Gt)?Gt.then(function(hn){return te.sub=hn.subscribe(te.handlers)}):te.sub=Gt.subscribe(te.handlers):(Ke&&setTimeout(function(){return Ke.unsubscribe()}),te.sub=null,te.latest&&"next"===te.latest[0]?te.resolve(te.latest[1]):te.resolve(),te.notify("complete"),Be(te.observers,"complete"))}}},te.nextResultListeners=new Set,te.cancel=function(de){te.reject(de),te.sources=[],te.handlers.complete()},te.promise.catch(function(de){}),"function"==typeof P&&(P=[new ot.c(P)]),ye(P)?P.then(function(de){return te.start(de)},te.handlers.error):te.start(P),te}return(0,b.C6)(x,j),x.prototype.start=function(P){void 0===this.sub&&(this.sources=Array.from(P),this.handlers.complete())},x.prototype.deliverLastMessage=function(P){if(this.latest){var te=this.latest[0],de=P[te];de&&de.call(P,this.latest[1]),null===this.sub&&"next"===te&&P.complete&&P.complete()}},x.prototype.addObserver=function(P){this.observers.has(P)||(this.deliverLastMessage(P),this.observers.add(P))},x.prototype.removeObserver=function(P){this.observers.delete(P)&&this.observers.size<1&&this.handlers.complete()},x.prototype.notify=function(P,te){var de=this.nextResultListeners;de.size&&(this.nextResultListeners=new Set,de.forEach(function(Ke){return Ke(P,te)}))},x.prototype.beforeNext=function(P){var te=!1;this.nextResultListeners.add(function(de,Ke){te||(te=!0,P(de,Ke))})},x}(ot.c);ee(at);var Wt=f(4246),Et=f(120),Dt=Object.assign,Qe=Object.hasOwnProperty,Mt=function(j){function x(P){var te=P.queryManager,de=P.queryInfo,Ke=P.options,wt=j.call(this,function(ai){try{var Ei=ai._subscription._observer;Ei&&!Ei.error&&(Ei.error=lt)}catch{}var Gn=!wt.observers.size;wt.observers.add(ai);var vi=wt.last;return vi&&vi.error?ai.error&&ai.error(vi.error):vi&&vi.result&&ai.next&&ai.next(vi.result),Gn&&wt.reobserve().catch(function(){}),function(){wt.observers.delete(ai)&&!wt.observers.size&&wt.tearDownQuery()}})||this;wt.observers=new Set,wt.subscriptions=new Set,wt.queryInfo=de,wt.queryManager=te,wt.waitForOwnResult=re(Ke.fetchPolicy),wt.isTornDown=!1;var en=te.defaultOptions.watchQuery,hn=(void 0===en?{}:en).fetchPolicy,$n=void 0===hn?"cache-first":hn,Un=Ke.fetchPolicy,In=void 0===Un?$n:Un,Rn=Ke.initialFetchPolicy,ii=void 0===Rn?"standby"===In?$n:In:Rn;wt.options=(0,b.Cl)((0,b.Cl)({},Ke),{initialFetchPolicy:ii,fetchPolicy:In}),wt.queryId=de.queryId||te.generateQueryId();var ri=(0,Tn.Vu)(wt.query);return wt.queryName=ri&&ri.name&&ri.name.value,wt}return(0,b.C6)(x,j),Object.defineProperty(x.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),x.prototype.result=function(){var P=this;return new Promise(function(te,de){var Ke={next:function(en){te(en),P.observers.delete(Ke),P.observers.size||P.queryManager.removeQuery(P.queryId),setTimeout(function(){wt.unsubscribe()},0)},error:de},wt=P.subscribe(Ke)})},x.prototype.getCurrentResult=function(P){void 0===P&&(P=!0);var te=this.getLastResult(!0),de=this.queryInfo.networkStatus||te&&te.networkStatus||N.ready,Ke=(0,b.Cl)((0,b.Cl)({},te),{loading:U(de),networkStatus:de}),wt=this.options.fetchPolicy,en=void 0===wt?"cache-first":wt;if(!re(en)&&!this.queryManager.transform(this.options.query).hasForcedResolvers)if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var Gt=this.queryInfo.getDiff();(Gt.complete||this.options.returnPartialData)&&(Ke.data=Gt.result),(0,qn.L)(Ke.data,{})&&(Ke.data=void 0),Gt.complete?(delete Ke.partial,Gt.complete&&Ke.networkStatus===N.loading&&("cache-first"===en||"cache-only"===en)&&(Ke.networkStatus=N.ready,Ke.loading=!1)):Ke.partial=!0,__DEV__&&!Gt.complete&&!this.options.partialRefetch&&!Ke.loading&&!Ke.data&&!Ke.error&&kt(Gt.missing)}return P&&this.updateLastResult(Ke),Ke},x.prototype.isDifferentFromLastResult=function(P,te){return!this.last||!(0,qn.L)(this.last.result,P)||te&&!(0,qn.L)(this.last.variables,te)},x.prototype.getLast=function(P,te){var de=this.last;if(de&&de[P]&&(!te||(0,qn.L)(de.variables,this.variables)))return de[P]},x.prototype.getLastResult=function(P){return this.getLast("result",P)},x.prototype.getLastError=function(P){return this.getLast("error",P)},x.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},x.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},x.prototype.refetch=function(P){var te,de={pollInterval:0},Ke=this.options.fetchPolicy;if(de.fetchPolicy="cache-and-network"===Ke?Ke:"no-cache"===Ke?"no-cache":"network-only",__DEV__&&P&&Qe.call(P,"variables")){var wt=(0,Tn.AT)(this.query),en=wt.variableDefinitions;(!en||!en.some(function(Gt){return"variables"===Gt.variable.name.value}))&&__DEV__&&G.V1.warn("Called refetch(".concat(JSON.stringify(P),") for query ").concat((null===(te=wt.name)||void 0===te?void 0:te.value)||JSON.stringify(wt),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return P&&!(0,qn.L)(this.options.variables,P)&&(de.variables=this.options.variables=(0,b.Cl)((0,b.Cl)({},this.options.variables),P)),this.queryInfo.resetLastWrite(),this.reobserve(de,N.refetch)},x.prototype.fetchMore=function(P){var te=this,de=(0,b.Cl)((0,b.Cl)({},P.query?P:(0,b.Cl)((0,b.Cl)((0,b.Cl)((0,b.Cl)({},this.options),{query:this.query}),P),{variables:(0,b.Cl)((0,b.Cl)({},this.options.variables),P.variables)})),{fetchPolicy:"no-cache"}),Ke=this.queryManager.generateQueryId(),wt=this.queryInfo,en=wt.networkStatus;wt.networkStatus=N.fetchMore,de.notifyOnNetworkStatusChange&&this.observe();var Gt=new Set;return this.queryManager.fetchQuery(Ke,de,N.fetchMore).then(function(hn){return te.queryManager.removeQuery(Ke),wt.networkStatus===N.fetchMore&&(wt.networkStatus=en),te.queryManager.cache.batch({update:function($n){var Un=P.updateQuery;Un?$n.updateQuery({query:te.query,variables:te.variables,returnPartialData:!0,optimistic:!1},function(In){return Un(In,{fetchMoreResult:hn.data,variables:de.variables})}):$n.writeQuery({query:de.query,variables:de.variables,data:hn.data})},onWatchUpdated:function($n){Gt.add($n.query)}}),hn}).finally(function(){Gt.has(te.query)||wn(te)})},x.prototype.subscribeToMore=function(P){var te=this,de=this.queryManager.startGraphQLSubscription({query:P.document,variables:P.variables,context:P.context}).subscribe({next:function(Ke){var wt=P.updateQuery;wt&&te.updateQuery(function(en,Gt){return wt(en,{subscriptionData:Ke,variables:Gt.variables})})},error:function(Ke){P.onError?P.onError(Ke):__DEV__&&G.V1.error("Unhandled GraphQL subscription error",Ke)}});return this.subscriptions.add(de),function(){te.subscriptions.delete(de)&&de.unsubscribe()}},x.prototype.setOptions=function(P){return this.reobserve(P)},x.prototype.setVariables=function(P){return(0,qn.L)(this.variables,P)?this.observers.size?this.result():Promise.resolve():(this.options.variables=P,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:P},N.setVariables):Promise.resolve())},x.prototype.updateQuery=function(P){var te=this.queryManager,Ke=P(te.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});Ke&&(te.cache.writeQuery({query:this.options.query,data:Ke,variables:this.variables}),te.broadcastQueries())},x.prototype.startPolling=function(P){this.options.pollInterval=P,this.updatePolling()},x.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},x.prototype.applyNextFetchPolicy=function(P,te){if(te.nextFetchPolicy){var de=te.fetchPolicy,Ke=void 0===de?"cache-first":de,wt=te.initialFetchPolicy,en=void 0===wt?Ke:wt;"standby"===Ke||(te.fetchPolicy="function"==typeof te.nextFetchPolicy?te.nextFetchPolicy(Ke,{reason:P,options:te,observable:this,initialFetchPolicy:en}):"variables-changed"===P?en:te.nextFetchPolicy)}return te.fetchPolicy},x.prototype.fetch=function(P,te){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,P,te)},x.prototype.updatePolling=function(){var P=this;if(!this.queryManager.ssrMode){var de=this.pollingInfo,Ke=this.options.pollInterval;if(!Ke)return void(de&&(clearTimeout(de.timeout),delete this.pollingInfo));if(!de||de.interval!==Ke){__DEV__?(0,G.V1)(Ke,"Attempted to start a polling query without a polling interval."):(0,G.V1)(Ke,13),(de||(this.pollingInfo={})).interval=Ke;var en=function(){P.pollingInfo&&(U(P.queryInfo.networkStatus)?Gt():P.reobserve({fetchPolicy:"no-cache"===P.options.initialFetchPolicy?"no-cache":"network-only"},N.poll).then(Gt,Gt))},Gt=function(){var hn=P.pollingInfo;hn&&(clearTimeout(hn.timeout),hn.timeout=setTimeout(en,hn.interval))};Gt()}}},x.prototype.updateLastResult=function(P,te){return void 0===te&&(te=this.variables),this.last=(0,b.Cl)((0,b.Cl)({},this.last),{result:this.queryManager.assumeImmutableResults?P:(0,Wt.m)(P),variables:te}),(0,pe.E)(P.errors)||delete this.last.error,this.last},x.prototype.reobserveAsConcast=function(P,te){var de=this;this.isTornDown=!1;var Ke=te===N.refetch||te===N.fetchMore||te===N.poll,wt=this.options.variables,en=this.options.fetchPolicy,Gt=(0,Et.o)(this.options,P||{}),hn=Ke?Gt:Dt(this.options,Gt);Ke||(this.updatePolling(),P&&P.variables&&!(0,qn.L)(P.variables,wt)&&"standby"!==hn.fetchPolicy&&hn.fetchPolicy===en&&(this.applyNextFetchPolicy("variables-changed",hn),void 0===te&&(te=N.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=re(hn.fetchPolicy));var $n=function(){de.concast===Rn&&(de.waitForOwnResult=!1)},Un=hn.variables&&(0,b.Cl)({},hn.variables),In=this.fetch(hn,te),Rn=In.concast,ri={next:function(ai){$n(),de.reportResult(ai,Un)},error:function(ai){$n(),de.reportError(ai,Un)}};return!Ke&&In.fromLink&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=Rn,this.observer=ri),Rn.addObserver(ri),Rn},x.prototype.reobserve=function(P,te){return this.reobserveAsConcast(P,te).promise},x.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},x.prototype.reportResult=function(P,te){var de=this.getLastError();(de||this.isDifferentFromLastResult(P,te))&&((de||!P.partial||this.options.returnPartialData)&&this.updateLastResult(P,te),Be(this.observers,"next",P))},x.prototype.reportError=function(P,te){var de=(0,b.Cl)((0,b.Cl)({},this.getLastResult()),{error:P,errors:P.graphQLErrors,networkStatus:N.error,loading:!1});this.updateLastResult(de,te),Be(this.observers,"error",this.last.error=P)},x.prototype.hasObservers=function(){return this.observers.size>0},x.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(P){return P.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},x}(ot.c);function wn(j){var x=j.options,P=x.fetchPolicy,te=x.nextFetchPolicy;return"cache-and-network"===P||"network-only"===P?j.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=te,"function"==typeof te?te.apply(this,arguments):P}}):j.reobserve()}function lt(j){__DEV__&&G.V1.error("Unhandled error",j.message,j.stack)}function kt(j){__DEV__&&j&&__DEV__&&G.V1.debug("Missing cache result fields: ".concat(JSON.stringify(j)),j)}function re(j){return"network-only"===j||"no-cache"===j||"standby"===j}ee(Mt);var ze=f(1955);function An(j){return j.kind===ze.b.FIELD||j.kind===ze.b.FRAGMENT_SPREAD||j.kind===ze.b.INLINE_FRAGMENT}var ho=f(6108),jo=f(4141),lo=function(){function j(x){var P=x.cache,te=x.client,de=x.resolvers,Ke=x.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=P,te&&(this.client=te),de&&this.addResolvers(de),Ke&&this.setFragmentMatcher(Ke)}return j.prototype.addResolvers=function(x){var P=this;this.resolvers=this.resolvers||{},Array.isArray(x)?x.forEach(function(te){P.resolvers=(0,Pe.D9)(P.resolvers,te)}):this.resolvers=(0,Pe.D9)(this.resolvers,x)},j.prototype.setResolvers=function(x){this.resolvers={},this.addResolvers(x)},j.prototype.getResolvers=function(){return this.resolvers||{}},j.prototype.runResolvers=function(x){var P=x.document,te=x.remoteResult,de=x.context,Ke=x.variables,wt=x.onlyRunForcedResolvers,en=void 0!==wt&&wt;return(0,b.sH)(this,void 0,void 0,function(){return(0,b.YH)(this,function(Gt){return P?[2,this.resolveDocument(P,te.data,de,Ke,this.fragmentMatcher,en).then(function(hn){return(0,b.Cl)((0,b.Cl)({},te),{data:hn.result})})]:[2,te]})})},j.prototype.setFragmentMatcher=function(x){this.fragmentMatcher=x},j.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},j.prototype.clientQuery=function(x){return(0,Ne.d8)(["client"],x)&&this.resolvers?x:null},j.prototype.serverQuery=function(x){return(0,Cn.er)(x)},j.prototype.prepareContext=function(x){var P=this.cache;return(0,b.Cl)((0,b.Cl)({},x),{cache:P,getCacheKey:function(te){return P.identify(te)}})},j.prototype.addExportedVariables=function(x,P,te){return void 0===P&&(P={}),void 0===te&&(te={}),(0,b.sH)(this,void 0,void 0,function(){return(0,b.YH)(this,function(de){return x?[2,this.resolveDocument(x,this.buildRootValueFromCache(x,P)||{},this.prepareContext(te),P).then(function(Ke){return(0,b.Cl)((0,b.Cl)({},P),Ke.exportedVariables)})]:[2,(0,b.Cl)({},P)]})})},j.prototype.shouldForceResolvers=function(x){var P=!1;return(0,Se.YR)(x,{Directive:{enter:function(te){if("client"===te.name.value&&te.arguments&&(P=te.arguments.some(function(de){return"always"===de.name.value&&"BooleanValue"===de.value.kind&&!0===de.value.value})))return Se.sP}}}),P},j.prototype.buildRootValueFromCache=function(x,P){return this.cache.diff({query:(0,Cn.zc)(x),variables:P,returnPartialData:!0,optimistic:!1}).result},j.prototype.resolveDocument=function(x,P,te,de,Ke,wt){return void 0===te&&(te={}),void 0===de&&(de={}),void 0===Ke&&(Ke=function(){return!0}),void 0===wt&&(wt=!1),(0,b.sH)(this,void 0,void 0,function(){var en,Gt,hn,$n,Un,In,Rn,ii,ri,ai;return(0,b.YH)(this,function(Gn){return en=(0,Tn.Vn)(x),Gt=(0,Tn.zK)(x),hn=(0,ho.JG)(Gt),$n=this.collectSelectionsToResolve(en,hn),In=(Un=en.operation)?Un.charAt(0).toUpperCase()+Un.slice(1):"Query",ii=(Rn=this).cache,ri=Rn.client,ai={fragmentMap:hn,context:(0,b.Cl)((0,b.Cl)({},te),{cache:ii,client:ri}),variables:de,fragmentMatcher:Ke,defaultOperationType:In,exportedVariables:{},selectionsToResolve:$n,onlyRunForcedResolvers:wt},[2,this.resolveSelectionSet(en.selectionSet,!1,P,ai).then(function(vi){return{result:vi,exportedVariables:ai.exportedVariables}})]})})},j.prototype.resolveSelectionSet=function(x,P,te,de){return(0,b.sH)(this,void 0,void 0,function(){var Ke,wt,en,Gt,$n=this;return(0,b.YH)(this,function(Un){return Ke=de.fragmentMap,wt=de.context,en=de.variables,Gt=[te],[2,Promise.all(x.selections.map(function(In){return(0,b.sH)($n,void 0,void 0,function(){var Rn;return(0,b.YH)(this,function(ri){return(P||de.selectionsToResolve.has(In))&&(0,Ne.MS)(In,en)?(0,Dn.dt)(In)?[2,this.resolveField(In,P,te,de).then(function(ai){var Ei;typeof ai<"u"&&Gt.push(((Ei={})[(0,Dn.ue)(In)]=ai,Ei))})]:((0,Dn.kd)(In)?Rn=In:(Rn=Ke[In.name.value],__DEV__?(0,G.V1)(Rn,"No fragment named ".concat(In.name.value)):(0,G.V1)(Rn,11)),Rn&&Rn.typeCondition&&de.fragmentMatcher(te,Rn.typeCondition.name.value,wt)?[2,this.resolveSelectionSet(Rn.selectionSet,P,te,de).then(function(ai){Gt.push(ai)})]:[2]):[2]})})})).then(function(){return(0,Pe.IM)(Gt)})]})})},j.prototype.resolveField=function(x,P,te,de){return(0,b.sH)(this,void 0,void 0,function(){var Ke,wt,en,Gt,hn,$n,Un,In,Rn,ii=this;return(0,b.YH)(this,function(ri){return te?(Ke=de.variables,wt=x.name.value,en=(0,Dn.ue)(x),Gt=wt!==en,hn=te[en]||te[wt],$n=Promise.resolve(hn),(!de.onlyRunForcedResolvers||this.shouldForceResolvers(x))&&(Un=te.__typename||de.defaultOperationType,(In=this.resolvers&&this.resolvers[Un])&&(Rn=In[Gt?wt:en])&&($n=Promise.resolve(jo.bl.withValue(this.cache,Rn,[te,(0,Dn.MB)(x,Ke),de.context,{field:x,fragmentMap:de.fragmentMap}])))),[2,$n.then(function(ai){var Ei,Gn;if(void 0===ai&&(ai=hn),x.directives&&x.directives.forEach(function(tr){"export"===tr.name.value&&tr.arguments&&tr.arguments.forEach(function(yr){"as"===yr.name.value&&"StringValue"===yr.value.kind&&(de.exportedVariables[yr.value.value]=ai)})}),!x.selectionSet||null==ai)return ai;var vi=null!==(Gn=null===(Ei=x.directives)||void 0===Ei?void 0:Ei.some(function(tr){return"client"===tr.name.value}))&&void 0!==Gn&&Gn;return Array.isArray(ai)?ii.resolveSubSelectedArray(x,P||vi,ai,de):x.selectionSet?ii.resolveSelectionSet(x.selectionSet,P||vi,ai,de):void 0})]):[2,null]})})},j.prototype.resolveSubSelectedArray=function(x,P,te,de){var Ke=this;return Promise.all(te.map(function(wt){return null===wt?null:Array.isArray(wt)?Ke.resolveSubSelectedArray(x,P,wt,de):x.selectionSet?Ke.resolveSelectionSet(x.selectionSet,P,wt,de):void 0}))},j.prototype.collectSelectionsToResolve=function(x,P){var te=function(wt){return!Array.isArray(wt)},de=this.selectionsToResolveCache;return function Ke(wt){if(!de.has(wt)){var en=new Set;de.set(wt,en),(0,Se.YR)(wt,{Directive:function(Gt,hn,$n,Un,In){"client"===Gt.name.value&&In.forEach(function(Rn){te(Rn)&&An(Rn)&&en.add(Rn)})},FragmentSpread:function(Gt,hn,$n,Un,In){var Rn=P[Gt.name.value];__DEV__?(0,G.V1)(Rn,"No fragment named ".concat(Gt.name.value)):(0,G.V1)(Rn,12);var ii=Ke(Rn);ii.size>0&&(In.forEach(function(ri){te(ri)&&An(ri)&&en.add(ri)}),en.add(Gt),ii.forEach(function(ri){en.add(ri)}))}})}return de.get(wt)}(x)},j}(),to=new(Ge.et?WeakMap:Map);function pt(j,x){var P=j[x];"function"==typeof P&&(j[x]=function(){return to.set(j,(to.get(j)+1)%1e15),P.apply(this,arguments)})}function Ce(j){j.notifyTimeout&&(clearTimeout(j.notifyTimeout),j.notifyTimeout=void 0)}var le=function(){function j(x,P){void 0===P&&(P=x.generateQueryId()),this.queryId=P,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var te=this.cache=x.cache;to.has(te)||(to.set(te,0),pt(te,"evict"),pt(te,"modify"),pt(te,"reset"))}return j.prototype.init=function(x){var P=x.networkStatus||N.loading;return this.variables&&this.networkStatus!==N.loading&&!(0,qn.L)(this.variables,x.variables)&&(P=N.setVariables),(0,qn.L)(x.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:x.document,variables:x.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:P}),x.observableQuery&&this.setObservableQuery(x.observableQuery),x.lastRequestId&&(this.lastRequestId=x.lastRequestId),this},j.prototype.reset=function(){Ce(this),this.dirty=!1},j.prototype.getDiff=function(x){void 0===x&&(x=this.variables);var P=this.getDiffOptions(x);if(this.lastDiff&&(0,qn.L)(P,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=x);var te=this.observableQuery;if(te&&"no-cache"===te.options.fetchPolicy)return{complete:!1};var de=this.cache.diff(P);return this.updateLastDiff(de,P),de},j.prototype.updateLastDiff=function(x,P){this.lastDiff=x?{diff:x,options:P||this.getDiffOptions()}:void 0},j.prototype.getDiffOptions=function(x){var P;return void 0===x&&(x=this.variables),{query:this.document,variables:x,returnPartialData:!0,optimistic:!0,canonizeResults:null===(P=this.observableQuery)||void 0===P?void 0:P.options.canonizeResults}},j.prototype.setDiff=function(x){var P=this,te=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(x),!this.dirty&&!(0,qn.L)(te&&te.result,x&&x.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return P.notify()},0)))},j.prototype.setObservableQuery=function(x){var P=this;x!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=x,x?(x.queryInfo=this,this.listeners.add(this.oqListener=function(){P.getDiff().fromOptimisticTransaction?x.observe():wn(x)})):delete this.oqListener)},j.prototype.notify=function(){var x=this;Ce(this),this.shouldNotify()&&this.listeners.forEach(function(P){return P(x)}),this.dirty=!1},j.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(U(this.networkStatus)&&this.observableQuery){var x=this.observableQuery.options.fetchPolicy;if("cache-only"!==x&&"cache-and-network"!==x)return!1}return!0},j.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=j.prototype.cancel,this.subscriptions.forEach(function(P){return P.unsubscribe()});var x=this.observableQuery;x&&x.stopPolling()}},j.prototype.cancel=function(){},j.prototype.updateWatch=function(x){var P=this;void 0===x&&(x=this.variables);var te=this.observableQuery;if(!te||"no-cache"!==te.options.fetchPolicy){var de=(0,b.Cl)((0,b.Cl)({},this.getDiffOptions(x)),{watcher:this,callback:function(Ke){return P.setDiff(Ke)}});(!this.lastWatch||!(0,qn.L)(de,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=de))}},j.prototype.resetLastWrite=function(){this.lastWrite=void 0},j.prototype.shouldWrite=function(x,P){var te=this.lastWrite;return!(te&&te.dmCount===to.get(this.cache)&&(0,qn.L)(P,te.variables)&&(0,qn.L)(x.data,te.result.data))},j.prototype.markResult=function(x,P,te,de){var Ke=this,wt=new Pe.ZI,en=(0,pe.E)(x.errors)?x.errors.slice(0):[];if(this.reset(),"incremental"in x&&(0,pe.E)(x.incremental)){var Gt=gn(this.getDiff().result,x);x.data=Gt}else if("hasNext"in x&&x.hasNext){var hn=this.getDiff();x.data=wt.merge(hn.result,x.data)}this.graphQLErrors=en,"no-cache"===te.fetchPolicy?this.updateLastDiff({result:x.data,complete:!0},this.getDiffOptions(te.variables)):0!==de&&(Me(x,te.errorPolicy)?this.cache.performTransaction(function($n){if(Ke.shouldWrite(x,te.variables))$n.writeQuery({query:P,data:x.data,variables:te.variables,overwrite:1===de}),Ke.lastWrite={result:x,variables:te.variables,dmCount:to.get(Ke.cache)};else if(Ke.lastDiff&&Ke.lastDiff.diff.complete)return void(x.data=Ke.lastDiff.diff.result);var Un=Ke.getDiffOptions(te.variables),In=$n.diff(Un);Ke.stopped||Ke.updateWatch(te.variables),Ke.updateLastDiff(In,Un),In.complete&&(x.data=In.result)}):this.lastWrite=void 0)},j.prototype.markReady=function(){return this.networkError=null,this.networkStatus=N.ready},j.prototype.markError=function(x){return this.networkStatus=N.error,this.lastWrite=void 0,this.reset(),x.graphQLErrors&&(this.graphQLErrors=x.graphQLErrors),x.networkError&&(this.networkError=x.networkError),x},j}();function Me(j,x){void 0===x&&(x="none");var P="ignore"===x||"all"===x,te=!oi(j);return!te&&P&&j.data&&(te=!0),te}var ne=Object.prototype.hasOwnProperty,Je=function(){function j(x){var P=x.cache,te=x.link,de=x.defaultOptions,Ke=x.queryDeduplication,wt=void 0!==Ke&&Ke,en=x.onBroadcast,Gt=x.ssrMode,hn=void 0!==Gt&&Gt,$n=x.clientAwareness,Un=void 0===$n?{}:$n,In=x.localState,Rn=x.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(Ge.et?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=P,this.link=te,this.defaultOptions=de||Object.create(null),this.queryDeduplication=wt,this.clientAwareness=Un,this.localState=In||new lo({cache:P}),this.ssrMode=hn,this.assumeImmutableResults=!!Rn,(this.onBroadcast=en)&&(this.mutationStore=Object.create(null))}return j.prototype.stop=function(){var x=this;this.queries.forEach(function(P,te){x.stopQueryNoBroadcast(te)}),this.cancelPendingFetches(__DEV__?new G.zU("QueryManager stopped while query was in flight"):new G.zU(14))},j.prototype.cancelPendingFetches=function(x){this.fetchCancelFns.forEach(function(P){return P(x)}),this.fetchCancelFns.clear()},j.prototype.mutate=function(x){var P,te,de=x.mutation,Ke=x.variables,wt=x.optimisticResponse,en=x.updateQueries,Gt=x.refetchQueries,hn=void 0===Gt?[]:Gt,$n=x.awaitRefetchQueries,Un=void 0!==$n&&$n,In=x.update,Rn=x.onQueryUpdated,ii=x.fetchPolicy,ri=void 0===ii?(null===(P=this.defaultOptions.mutate)||void 0===P?void 0:P.fetchPolicy)||"network-only":ii,ai=x.errorPolicy,Ei=void 0===ai?(null===(te=this.defaultOptions.mutate)||void 0===te?void 0:te.errorPolicy)||"none":ai,Gn=x.keepRootFields,vi=x.context;return(0,b.sH)(this,void 0,void 0,function(){var tr,yr,Pi,Si,si;return(0,b.YH)(this,function(Vi){switch(Vi.label){case 0:return __DEV__?(0,G.V1)(de,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,G.V1)(de,15),__DEV__?(0,G.V1)("network-only"===ri||"no-cache"===ri,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,G.V1)("network-only"===ri||"no-cache"===ri,16),tr=this.generateMutationId(),yr=this.transform(de),Pi=yr.hasClientExports,de=this.cache.transformForLink(yr.document),Ke=this.getVariables(de,Ke),Pi?[4,this.localState.addExportedVariables(de,Ke,vi)]:[3,2];case 1:Ke=Vi.sent(),Vi.label=2;case 2:return Si=this.mutationStore&&(this.mutationStore[tr]={mutation:de,variables:Ke,loading:!0,error:null}),wt&&this.markMutationOptimistic(wt,{mutationId:tr,document:de,variables:Ke,fetchPolicy:ri,errorPolicy:Ei,context:vi,updateQueries:en,update:In,keepRootFields:Gn}),this.broadcastQueries(),si=this,[2,new Promise(function(Oo,us){return sn(si.getObservableFromLink(de,(0,b.Cl)((0,b.Cl)({},vi),{optimisticResponse:wt}),Ke,!1),function(oo){if(oi(oo)&&"none"===Ei)throw new Le({graphQLErrors:Zt(oo)});Si&&(Si.loading=!1,Si.error=null);var vo=(0,b.Cl)({},oo);return"function"==typeof hn&&(hn=hn(vo)),"ignore"===Ei&&oi(vo)&&delete vo.errors,si.markMutationResult({mutationId:tr,result:vo,document:de,variables:Ke,fetchPolicy:ri,errorPolicy:Ei,context:vi,update:In,updateQueries:en,awaitRefetchQueries:Un,refetchQueries:hn,removeOptimistic:wt?tr:void 0,onQueryUpdated:Rn,keepRootFields:Gn})}).subscribe({next:function(oo){si.broadcastQueries(),(!("hasNext"in oo)||!1===oo.hasNext)&&Oo(oo)},error:function(oo){Si&&(Si.loading=!1,Si.error=oo),wt&&si.cache.removeOptimistic(tr),si.broadcastQueries(),us(oo instanceof Le?oo:new Le({networkError:oo}))}})})]}})})},j.prototype.markMutationResult=function(x,P){var te=this;void 0===P&&(P=this.cache);var de=x.result,Ke=[],wt="no-cache"===x.fetchPolicy;if(!wt&&Me(de,x.errorPolicy)){if(et(de)||Ke.push({result:de.data,dataId:"ROOT_MUTATION",query:x.document,variables:x.variables}),et(de)&&(0,pe.E)(de.incremental)){var en=P.diff({id:"ROOT_MUTATION",query:this.transform(x.document).asQuery,variables:x.variables,optimistic:!1,returnPartialData:!0}),Gt=void 0;en.result&&(Gt=gn(en.result,de)),typeof Gt<"u"&&(de.data=Gt,Ke.push({result:Gt,dataId:"ROOT_MUTATION",query:x.document,variables:x.variables}))}var hn=x.updateQueries;hn&&this.queries.forEach(function(Un,In){var Rn=Un.observableQuery,ii=Rn&&Rn.queryName;if(ii&&ne.call(hn,ii)){var ri=hn[ii],ai=te.queries.get(In),Ei=ai.document,Gn=ai.variables,vi=P.diff({query:Ei,variables:Gn,returnPartialData:!0,optimistic:!1}),tr=vi.result;if(vi.complete&&tr){var bi=ri(tr,{mutationResult:de,queryName:Ei&&(0,Tn.n4)(Ei)||void 0,queryVariables:Gn});bi&&Ke.push({result:bi,dataId:"ROOT_QUERY",query:Ei,variables:Gn})}}})}if(Ke.length>0||x.refetchQueries||x.update||x.onQueryUpdated||x.removeOptimistic){var $n=[];if(this.refetchQueries({updateCache:function(Un){wt||Ke.forEach(function(ri){return Un.write(ri)});var In=x.update,Rn=!function Fn(j){return et(j)||function Pt(j){return"hasNext"in j&&"data"in j}(j)}(de)||et(de)&&!de.hasNext;if(In){if(!wt){var ii=Un.diff({id:"ROOT_MUTATION",query:te.transform(x.document).asQuery,variables:x.variables,optimistic:!1,returnPartialData:!0});ii.complete&&("incremental"in(de=(0,b.Cl)((0,b.Cl)({},de),{data:ii.result}))&&delete de.incremental,"hasNext"in de&&delete de.hasNext)}Rn&&In(Un,de,{context:x.context,variables:x.variables})}!wt&&!x.keepRootFields&&Rn&&Un.modify({id:"ROOT_MUTATION",fields:function(ri,ai){return"__typename"===ai.fieldName?ri:ai.DELETE}})},include:x.refetchQueries,optimistic:!1,removeOptimistic:x.removeOptimistic,onQueryUpdated:x.onQueryUpdated||null}).forEach(function(Un){return $n.push(Un)}),x.awaitRefetchQueries||x.onQueryUpdated)return Promise.all($n).then(function(){return de})}return Promise.resolve(de)},j.prototype.markMutationOptimistic=function(x,P){var te=this,de="function"==typeof x?x(P.variables):x;return this.cache.recordOptimisticTransaction(function(Ke){try{te.markMutationResult((0,b.Cl)((0,b.Cl)({},P),{result:{data:de}}),Ke)}catch(wt){__DEV__&&G.V1.error(wt)}},P.mutationId)},j.prototype.fetchQuery=function(x,P,te){return this.fetchQueryObservable(x,P,te).promise},j.prototype.getQueryStore=function(){var x=Object.create(null);return this.queries.forEach(function(P,te){x[te]={variables:P.variables,networkStatus:P.networkStatus,networkError:P.networkError,graphQLErrors:P.graphQLErrors}}),x},j.prototype.resetErrors=function(x){var P=this.queries.get(x);P&&(P.networkError=void 0,P.graphQLErrors=[])},j.prototype.transform=function(x){var P=this.transformCache;if(!P.has(x)){var te=this.cache.transformDocument(x),de=(0,Cn.hX)(te),Ke=this.localState.clientQuery(te),wt=de&&this.localState.serverQuery(de),en={document:te,hasClientExports:(0,Ne.f2)(te),hasForcedResolvers:this.localState.shouldForceResolvers(te),clientQuery:Ke,serverQuery:wt,defaultVars:(0,Tn.wY)((0,Tn.Vu)(te)),asQuery:(0,b.Cl)((0,b.Cl)({},te),{definitions:te.definitions.map(function(hn){return"OperationDefinition"===hn.kind&&"query"!==hn.operation?(0,b.Cl)((0,b.Cl)({},hn),{operation:"query"}):hn})})},Gt=function(hn){hn&&!P.has(hn)&&P.set(hn,en)};Gt(x),Gt(te),Gt(Ke),Gt(wt)}return P.get(x)},j.prototype.getVariables=function(x,P){return(0,b.Cl)((0,b.Cl)({},this.transform(x).defaultVars),P)},j.prototype.watchQuery=function(x){typeof(x=(0,b.Cl)((0,b.Cl)({},x),{variables:this.getVariables(x.query,x.variables)})).notifyOnNetworkStatusChange>"u"&&(x.notifyOnNetworkStatusChange=!1);var P=new le(this),te=new Mt({queryManager:this,queryInfo:P,options:x});return this.queries.set(te.queryId,P),P.init({document:te.query,observableQuery:te,variables:te.variables}),te},j.prototype.query=function(x,P){var te=this;return void 0===P&&(P=this.generateQueryId()),__DEV__?(0,G.V1)(x.query,"query option is required. You must specify your GraphQL document in the query option."):(0,G.V1)(x.query,17),__DEV__?(0,G.V1)("Document"===x.query.kind,'You must wrap the query string in a "gql" tag.'):(0,G.V1)("Document"===x.query.kind,18),__DEV__?(0,G.V1)(!x.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,G.V1)(!x.returnPartialData,19),__DEV__?(0,G.V1)(!x.pollInterval,"pollInterval option only supported on watchQuery."):(0,G.V1)(!x.pollInterval,20),this.fetchQuery(P,x).finally(function(){return te.stopQuery(P)})},j.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},j.prototype.generateRequestId=function(){return this.requestIdCounter++},j.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},j.prototype.stopQueryInStore=function(x){this.stopQueryInStoreNoBroadcast(x),this.broadcastQueries()},j.prototype.stopQueryInStoreNoBroadcast=function(x){var P=this.queries.get(x);P&&P.stop()},j.prototype.clearStore=function(x){return void 0===x&&(x={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new G.zU("Store reset while query was in flight (not completed in link chain)"):new G.zU(21)),this.queries.forEach(function(P){P.observableQuery?P.networkStatus=N.loading:P.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(x)},j.prototype.getObservableQueries=function(x){var P=this;void 0===x&&(x="active");var te=new Map,de=new Map,Ke=new Set;return Array.isArray(x)&&x.forEach(function(wt){"string"==typeof wt?de.set(wt,!1):(0,Dn.Kc)(wt)?de.set(P.transform(wt).document,!1):(0,nt.U)(wt)&&wt.query&&Ke.add(wt)}),this.queries.forEach(function(wt,en){var Gt=wt.observableQuery,hn=wt.document;if(Gt){if("all"===x)return void te.set(en,Gt);var $n=Gt.queryName;if("standby"===Gt.options.fetchPolicy||"active"===x&&!Gt.hasObservers())return;("active"===x||$n&&de.has($n)||hn&&de.has(hn))&&(te.set(en,Gt),$n&&de.set($n,!0),hn&&de.set(hn,!0))}}),Ke.size&&Ke.forEach(function(wt){var en=(0,Re.v)("legacyOneTimeQuery"),Gt=P.getQuery(en).init({document:wt.query,variables:wt.variables}),hn=new Mt({queryManager:P,queryInfo:Gt,options:(0,b.Cl)((0,b.Cl)({},wt),{fetchPolicy:"network-only"})});(0,G.V1)(hn.queryId===en),Gt.setObservableQuery(hn),te.set(en,hn)}),__DEV__&&de.size&&de.forEach(function(wt,en){wt||__DEV__&&G.V1.warn("Unknown query ".concat("string"==typeof en?"named ":"").concat(JSON.stringify(en,null,2)," requested in refetchQueries options.include array"))}),te},j.prototype.reFetchObservableQueries=function(x){var P=this;void 0===x&&(x=!1);var te=[];return this.getObservableQueries(x?"all":"active").forEach(function(de,Ke){var wt=de.options.fetchPolicy;de.resetLastResults(),(x||"standby"!==wt&&"cache-only"!==wt)&&te.push(de.refetch()),P.getQuery(Ke).setDiff(null)}),this.broadcastQueries(),Promise.all(te)},j.prototype.setObservableQuery=function(x){this.getQuery(x.queryId).setObservableQuery(x)},j.prototype.startGraphQLSubscription=function(x){var P=this,te=x.query,de=x.fetchPolicy,Ke=x.errorPolicy,wt=x.variables,en=x.context,Gt=void 0===en?{}:en;te=this.transform(te).document,wt=this.getVariables(te,wt);var hn=function(Un){return P.getObservableFromLink(te,Gt,Un).map(function(In){"no-cache"!==de&&(Me(In,Ke)&&P.cache.write({query:te,result:In.data,dataId:"ROOT_SUBSCRIPTION",variables:Un}),P.broadcastQueries());var Rn=oi(In),ii=function tt(j){return!!j.extensions&&Array.isArray(j.extensions[ut])}(In);if(Rn||ii){var ri={};throw Rn&&(ri.graphQLErrors=In.errors),ii&&(ri.protocolErrors=In.extensions[ut]),new Le(ri)}return In})};if(this.transform(te).hasClientExports){var $n=this.localState.addExportedVariables(te,wt,Gt).then(hn);return new ot.c(function(Un){var In=null;return $n.then(function(Rn){return In=Rn.subscribe(Un)},Un.error),function(){return In&&In.unsubscribe()}})}return hn(wt)},j.prototype.stopQuery=function(x){this.stopQueryNoBroadcast(x),this.broadcastQueries()},j.prototype.stopQueryNoBroadcast=function(x){this.stopQueryInStoreNoBroadcast(x),this.removeQuery(x)},j.prototype.removeQuery=function(x){this.fetchCancelFns.delete(x),this.queries.has(x)&&(this.getQuery(x).stop(),this.queries.delete(x))},j.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(x){return x.notify()})},j.prototype.getLocalState=function(){return this.localState},j.prototype.getObservableFromLink=function(x,P,te,de){var wt,Ke=this;void 0===de&&(de=null!==(wt=P?.queryDeduplication)&&void 0!==wt?wt:this.queryDeduplication);var en,Gt=this.transform(x).serverQuery;if(Gt){var $n=this.inFlightLinkObservables,Un=this.link,In={query:Gt,variables:te,operationName:(0,Tn.n4)(Gt)||void 0,context:this.prepareContext((0,b.Cl)((0,b.Cl)({},P),{forceFetch:!de}))};if(P=In.context,de){var Rn=$n.get(Gt)||new Map;$n.set(Gt,Rn);var ii=(0,Qi.M)(te);if(!(en=Rn.get(ii))){var ri=new at([ce(Un,In)]);Rn.set(ii,en=ri),ri.beforeNext(function(){Rn.delete(ii)&&Rn.size<1&&$n.delete(Gt)})}}else en=new at([ce(Un,In)])}else en=new at([ot.c.of({data:{}})]),P=this.prepareContext(P);var ai=this.transform(x).clientQuery;return ai&&(en=sn(en,function(Ei){return Ke.localState.runResolvers({document:ai,remoteResult:Ei,context:P,variables:te})})),en},j.prototype.getResultsFromLink=function(x,P,te){var de=x.lastRequestId=this.generateRequestId(),Ke=this.cache.transformForLink(this.transform(x.document).document);return sn(this.getObservableFromLink(Ke,te.context,te.variables),function(wt){var en=Zt(wt),Gt=en.length>0;if(de>=x.lastRequestId){if(Gt&&"none"===te.errorPolicy)throw x.markError(new Le({graphQLErrors:en}));x.markResult(wt,Ke,te,P),x.markReady()}var hn={data:wt.data,loading:!1,networkStatus:N.ready};return Gt&&"ignore"!==te.errorPolicy&&(hn.errors=en,hn.networkStatus=N.error),hn},function(wt){var en=function rt(j){return j.hasOwnProperty("graphQLErrors")}(wt)?wt:new Le({networkError:wt});throw de>=x.lastRequestId&&x.markError(en),en})},j.prototype.fetchQueryObservable=function(x,P,te){return this.fetchConcastWithInfo(x,P,te).concast},j.prototype.fetchConcastWithInfo=function(x,P,te){var de=this;void 0===te&&(te=N.loading);var bi,Pi,Ke=this.transform(P.query).document,wt=this.getVariables(Ke,P.variables),en=this.getQuery(x),Gt=this.defaultOptions.watchQuery,hn=P.fetchPolicy,Un=P.errorPolicy,Rn=P.returnPartialData,ri=P.notifyOnNetworkStatusChange,Ei=P.context,vi=Object.assign({},P,{query:Ke,variables:wt,fetchPolicy:void 0===hn?Gt&&Gt.fetchPolicy||"cache-first":hn,errorPolicy:void 0===Un?Gt&&Gt.errorPolicy||"none":Un,returnPartialData:void 0!==Rn&&Rn,notifyOnNetworkStatusChange:void 0!==ri&&ri,context:void 0===Ei?{}:Ei}),tr=function(si){vi.variables=si;var Vi=de.fetchQueryByPolicy(en,vi,te);return"standby"!==vi.fetchPolicy&&Vi.sources.length>0&&en.observableQuery&&en.observableQuery.applyNextFetchPolicy("after-fetch",P),Vi},yr=function(){return de.fetchCancelFns.delete(x)};if(this.fetchCancelFns.set(x,function(si){yr(),setTimeout(function(){return bi.cancel(si)})}),this.transform(vi.query).hasClientExports)bi=new at(this.localState.addExportedVariables(vi.query,vi.variables,vi.context).then(tr).then(function(si){return si.sources})),Pi=!0;else{var Si=tr(vi.variables);Pi=Si.fromLink,bi=new at(Si.sources)}return bi.promise.then(yr,yr),{concast:bi,fromLink:Pi}},j.prototype.refetchQueries=function(x){var P=this,te=x.updateCache,de=x.include,Ke=x.optimistic,wt=void 0!==Ke&&Ke,en=x.removeOptimistic,Gt=void 0===en?wt?(0,Re.v)("refetchQueries"):void 0:en,hn=x.onQueryUpdated,$n=new Map;de&&this.getObservableQueries(de).forEach(function(In,Rn){$n.set(Rn,{oq:In,lastDiff:P.getQuery(Rn).getDiff()})});var Un=new Map;return te&&this.cache.batch({update:te,optimistic:wt&&Gt||!1,removeOptimistic:Gt,onWatchUpdated:function(In,Rn,ii){var ri=In.watcher instanceof le&&In.watcher.observableQuery;if(ri){if(hn){$n.delete(ri.queryId);var ai=hn(ri,Rn,ii);return!0===ai&&(ai=ri.refetch()),!1!==ai&&Un.set(ri,ai),ai}null!==hn&&$n.set(ri.queryId,{oq:ri,lastDiff:ii,diff:Rn})}}}),$n.size&&$n.forEach(function(In,Rn){var Ei,ii=In.oq,ri=In.lastDiff,ai=In.diff;if(hn){if(!ai){var Gn=ii.queryInfo;Gn.reset(),ai=Gn.getDiff()}Ei=hn(ii,ai,ri)}(!hn||!0===Ei)&&(Ei=ii.refetch()),!1!==Ei&&Un.set(ii,Ei),Rn.indexOf("legacyOneTimeQuery")>=0&&P.stopQueryNoBroadcast(Rn)}),Gt&&this.cache.removeOptimistic(Gt),Un},j.prototype.fetchQueryByPolicy=function(x,P,te){var de=this,Ke=P.query,wt=P.variables,en=P.fetchPolicy,Gt=P.refetchWritePolicy,hn=P.errorPolicy,$n=P.returnPartialData,Un=P.context,In=P.notifyOnNetworkStatusChange,Rn=x.networkStatus;x.init({document:this.transform(Ke).document,variables:wt,networkStatus:te});var ii=function(){return x.getDiff(wt)},ri=function(tr,yr){void 0===yr&&(yr=x.networkStatus||N.loading);var bi=tr.result;__DEV__&&!$n&&!(0,qn.L)(bi,{})&&kt(tr.missing);var Pi=function(Si){return ot.c.of((0,b.Cl)({data:Si,loading:U(yr),networkStatus:yr},tr.complete?null:{partial:!0}))};return bi&&de.transform(Ke).hasForcedResolvers?de.localState.runResolvers({document:Ke,remoteResult:{data:bi},context:Un,variables:wt,onlyRunForcedResolvers:!0}).then(function(Si){return Pi(Si.data||void 0)}):"none"===hn&&yr===N.refetch&&Array.isArray(tr.missing)?Pi(void 0):Pi(bi)},ai="no-cache"===en?0:te===N.refetch&&"merge"!==Gt?1:2,Ei=function(){return de.getResultsFromLink(x,ai,{variables:wt,context:Un,fetchPolicy:en,errorPolicy:hn})},Gn=In&&"number"==typeof Rn&&Rn!==te&&U(te);switch(en){default:case"cache-first":return(vi=ii()).complete?{fromLink:!1,sources:[ri(vi,x.markReady())]}:$n||Gn?{fromLink:!0,sources:[ri(vi),Ei()]}:{fromLink:!0,sources:[Ei()]};case"cache-and-network":var vi;return(vi=ii()).complete||$n||Gn?{fromLink:!0,sources:[ri(vi),Ei()]}:{fromLink:!0,sources:[Ei()]};case"cache-only":return{fromLink:!1,sources:[ri(ii(),x.markReady())]};case"network-only":return Gn?{fromLink:!0,sources:[ri(ii()),Ei()]}:{fromLink:!0,sources:[Ei()]};case"no-cache":return Gn?{fromLink:!0,sources:[ri(x.getDiff()),Ei()]}:{fromLink:!0,sources:[Ei()]};case"standby":return{fromLink:!1,sources:[]}}},j.prototype.getQuery=function(x){return x&&!this.queries.has(x)&&this.queries.set(x,new le(this,x)),this.queries.get(x)},j.prototype.prepareContext=function(x){void 0===x&&(x={});var P=this.localState.prepareContext(x);return(0,b.Cl)((0,b.Cl)({},P),{clientAwareness:this.clientAwareness})},j}();function oe(j,x){return(0,Et.o)(j,x,x.variables&&{variables:(0,b.Cl)((0,b.Cl)({},j&&j.variables),x.variables)})}var Te=!1,ht=function(){function j(x){var P=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var te=x.uri,wt=x.cache,en=x.ssrMode,Gt=void 0!==en&&en,hn=x.ssrForceFetchDelay,$n=void 0===hn?0:hn,Un=x.connectToDevTools,In=void 0===Un?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:Un,Rn=x.queryDeduplication,ii=void 0===Rn||Rn,ri=x.defaultOptions,ai=x.assumeImmutableResults,Ei=void 0!==ai&&ai,Gn=x.resolvers,vi=x.typeDefs,tr=x.fragmentMatcher,yr=x.name,bi=x.version,Pi=x.link;if(Pi||(Pi=te?new Ii({uri:te,credentials:x.credentials,headers:x.headers}):R.C.empty()),!wt)throw __DEV__?new G.zU("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new G.zU(9);if(this.link=Pi,this.cache=wt,this.disableNetworkFetches=Gt||$n>0,this.queryDeduplication=ii,this.defaultOptions=ri||Object.create(null),this.typeDefs=vi,$n&&setTimeout(function(){return P.disableNetworkFetches=!1},$n),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),In&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!Te&&In&&__DEV__&&(Te=!0,typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var Si=window.navigator,si=Si&&Si.userAgent,Vi=void 0;"string"==typeof si&&(si.indexOf("Chrome/")>-1?Vi="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":si.indexOf("Firefox/")>-1&&(Vi="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),Vi&&__DEV__&&G.V1.log("Download the Apollo DevTools for a better development experience: "+Vi)}this.version="3.7.17",this.localState=new lo({cache:wt,client:this,resolvers:Gn,fragmentMatcher:tr}),this.queryManager=new Je({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:ii,ssrMode:Gt,clientAwareness:{name:yr,version:bi},localState:this.localState,assumeImmutableResults:Ei,onBroadcast:In?function(){P.devToolsHookCb&&P.devToolsHookCb({action:{},state:{queries:P.queryManager.getQueryStore(),mutations:P.queryManager.mutationStore||{}},dataWithOptimisticResults:P.cache.extract(!0)})}:void 0})}return j.prototype.stop=function(){this.queryManager.stop()},j.prototype.watchQuery=function(x){return this.defaultOptions.watchQuery&&(x=oe(this.defaultOptions.watchQuery,x)),this.disableNetworkFetches&&("network-only"===x.fetchPolicy||"cache-and-network"===x.fetchPolicy)&&(x=(0,b.Cl)((0,b.Cl)({},x),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(x)},j.prototype.query=function(x){return this.defaultOptions.query&&(x=oe(this.defaultOptions.query,x)),__DEV__?(0,G.V1)("cache-and-network"!==x.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,G.V1)("cache-and-network"!==x.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===x.fetchPolicy&&(x=(0,b.Cl)((0,b.Cl)({},x),{fetchPolicy:"cache-first"})),this.queryManager.query(x)},j.prototype.mutate=function(x){return this.defaultOptions.mutate&&(x=oe(this.defaultOptions.mutate,x)),this.queryManager.mutate(x)},j.prototype.subscribe=function(x){return this.queryManager.startGraphQLSubscription(x)},j.prototype.readQuery=function(x,P){return void 0===P&&(P=!1),this.cache.readQuery(x,P)},j.prototype.readFragment=function(x,P){return void 0===P&&(P=!1),this.cache.readFragment(x,P)},j.prototype.writeQuery=function(x){var P=this.cache.writeQuery(x);return!1!==x.broadcast&&this.queryManager.broadcastQueries(),P},j.prototype.writeFragment=function(x){var P=this.cache.writeFragment(x);return!1!==x.broadcast&&this.queryManager.broadcastQueries(),P},j.prototype.__actionHookForDevTools=function(x){this.devToolsHookCb=x},j.prototype.__requestRaw=function(x){return ce(this.link,x)},j.prototype.resetStore=function(){var x=this;return Promise.resolve().then(function(){return x.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(x.resetStoreCallbacks.map(function(P){return P()}))}).then(function(){return x.reFetchObservableQueries()})},j.prototype.clearStore=function(){var x=this;return Promise.resolve().then(function(){return x.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(x.clearStoreCallbacks.map(function(P){return P()}))})},j.prototype.onResetStore=function(x){var P=this;return this.resetStoreCallbacks.push(x),function(){P.resetStoreCallbacks=P.resetStoreCallbacks.filter(function(te){return te!==x})}},j.prototype.onClearStore=function(x){var P=this;return this.clearStoreCallbacks.push(x),function(){P.clearStoreCallbacks=P.clearStoreCallbacks.filter(function(te){return te!==x})}},j.prototype.reFetchObservableQueries=function(x){return this.queryManager.reFetchObservableQueries(x)},j.prototype.refetchQueries=function(x){var P=this.queryManager.refetchQueries(x),te=[],de=[];P.forEach(function(wt,en){te.push(en),de.push(wt)});var Ke=Promise.all(de);return Ke.queries=te,Ke.results=de,Ke.catch(function(wt){__DEV__&&G.V1.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(wt))}),Ke},j.prototype.getObservableQueries=function(x){return void 0===x&&(x="active"),this.queryManager.getObservableQueries(x)},j.prototype.extract=function(x){return this.cache.extract(x)},j.prototype.restore=function(x){return this.cache.restore(x)},j.prototype.addResolvers=function(x){this.localState.addResolvers(x)},j.prototype.setResolvers=function(x){this.localState.setResolvers(x)},j.prototype.getResolvers=function(){return this.localState.getResolvers()},j.prototype.setLocalStateFragmentMatcher=function(x){this.localState.setFragmentMatcher(x)},j.prototype.setLink=function(x){this.link=this.queryManager.link=x},j}();function Kn(j,x){if(!j)throw new Error(x??"Unexpected invariant triggered.")}const Qn=/\r\n|[\n\r]/g;function ni(j,x){let P=0,te=1;for(const de of j.body.matchAll(Qn)){if("number"==typeof de.index||Kn(!1),de.index>=x)break;P=de.index+de[0].length,te+=1}return{line:te,column:x+1-P}}function Ui(j,x){const P=j.locationOffset.column-1,te="".padStart(P)+j.body,de=x.line-1,wt=x.line+(j.locationOffset.line-1),Gt=x.column+(1===x.line?P:0),hn=`${j.name}:${wt}:${Gt}\n`,$n=te.split(/\r\n|[\n\r]/g),Un=$n[de];if(Un.length>120){const In=Math.floor(Gt/80),Rn=Gt%80,ii=[];for(let ri=0;ri<Un.length;ri+=80)ii.push(Un.slice(ri,ri+80));return hn+rr([[`${wt} |`,ii[0]],...ii.slice(1,In+1).map(ri=>["|",ri]),["|","^".padStart(Rn)],["|",ii[In+1]]])}return hn+rr([[wt-1+" |",$n[de-1]],[`${wt} |`,Un],["|","^".padStart(Gt)],[`${wt+1} |`,$n[de+1]]])}function rr(j){const x=j.filter(([te,de])=>void 0!==de),P=Math.max(...x.map(([te])=>te.length));return x.map(([te,de])=>te.padStart(P)+(de?" "+de:"")).join("\n")}class br extends Error{constructor(x,...P){var te,de,Ke;const{nodes:wt,source:en,positions:Gt,path:hn,originalError:$n,extensions:Un}=function $i(j){const x=j[0];return null==x||"kind"in x||"length"in x?{nodes:x,source:j[1],positions:j[2],path:j[3],originalError:j[4],extensions:j[5]}:x}(P);super(x),this.name="GraphQLError",this.path=hn??void 0,this.originalError=$n??void 0,this.nodes=jr(Array.isArray(wt)?wt:wt?[wt]:void 0);const In=jr(null===(te=this.nodes)||void 0===te?void 0:te.map(ii=>ii.loc).filter(ii=>null!=ii));this.source=en??(null==In||null===(de=In[0])||void 0===de?void 0:de.source),this.positions=Gt??In?.map(ii=>ii.start),this.locations=Gt&&en?Gt.map(ii=>ni(en,ii)):In?.map(ii=>ni(ii.source,ii.start));const Rn=function $t(j){return"object"==typeof j&&null!==j}($n?.extensions)?$n?.extensions:void 0;this.extensions=null!==(Ke=Un??Rn)&&void 0!==Ke?Ke:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=$n&&$n.stack?Object.defineProperty(this,"stack",{value:$n.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,br):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let x=this.message;if(this.nodes)for(const P of this.nodes)P.loc&&(x+="\n\n"+Ui((j=P.loc).source,ni(j.source,j.start)));else if(this.source&&this.locations)for(const P of this.locations)x+="\n\n"+Ui(this.source,P);var j;return x}toJSON(){const x={message:this.message};return null!=this.locations&&(x.locations=this.locations),null!=this.path&&(x.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(x.extensions=this.extensions),x}}function jr(j){return void 0===j||0===j.length?void 0:j}function Ji(j,x,P){return new br(`Syntax Error: ${P}`,{source:j,positions:[x]})}var po=f(1222),no=function(j){return j.QUERY="QUERY",j.MUTATION="MUTATION",j.SUBSCRIPTION="SUBSCRIPTION",j.FIELD="FIELD",j.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",j.FRAGMENT_SPREAD="FRAGMENT_SPREAD",j.INLINE_FRAGMENT="INLINE_FRAGMENT",j.VARIABLE_DEFINITION="VARIABLE_DEFINITION",j.SCHEMA="SCHEMA",j.SCALAR="SCALAR",j.OBJECT="OBJECT",j.FIELD_DEFINITION="FIELD_DEFINITION",j.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",j.INTERFACE="INTERFACE",j.UNION="UNION",j.ENUM="ENUM",j.ENUM_VALUE="ENUM_VALUE",j.INPUT_OBJECT="INPUT_OBJECT",j.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",j}(no||{}),Mi=f(5174),Li=f(3725),_n=function(j){return j.SOF="<SOF>",j.EOF="<EOF>",j.BANG="!",j.DOLLAR="$",j.AMP="&",j.PAREN_L="(",j.PAREN_R=")",j.SPREAD="...",j.COLON=":",j.EQUALS="=",j.AT="@",j.BRACKET_L="[",j.BRACKET_R="]",j.BRACE_L="{",j.PIPE="|",j.BRACE_R="}",j.NAME="Name",j.INT="Int",j.FLOAT="Float",j.STRING="String",j.BLOCK_STRING="BlockString",j.COMMENT="Comment",j}(_n||{});class Ds{constructor(x){const P=new po.ou(_n.SOF,0,0,0,0);this.source=x,this.lastToken=P,this.token=P,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let x=this.token;if(x.kind!==_n.EOF)do{if(x.next)x=x.next;else{const P=O(this,x.end);x.next=P,P.prev=x,x=P}}while(x.kind===_n.COMMENT);return x}}function as(j){return j>=0&&j<=55295||j>=57344&&j<=1114111}function Os(j,x){return ns(j.charCodeAt(x))&&Hi(j.charCodeAt(x+1))}function ns(j){return j>=55296&&j<=56319}function Hi(j){return j>=56320&&j<=57343}function mt(j,x){const P=j.source.body.codePointAt(x);if(void 0===P)return _n.EOF;if(P>=32&&P<=126){const te=String.fromCodePoint(P);return'"'===te?"'\"'":`"${te}"`}return"U+"+P.toString(16).toUpperCase().padStart(4,"0")}function Ln(j,x,P,te,de){return new po.ou(x,P,te,j.line,1+P-j.lineStart,de)}function O(j,x){const P=j.source.body,te=P.length;let de=x;for(;de<te;){const Ke=P.charCodeAt(de);switch(Ke){case 65279:case 9:case 32:case 44:++de;continue;case 10:++de,++j.line,j.lineStart=de;continue;case 13:10===P.charCodeAt(de+1)?de+=2:++de,++j.line,j.lineStart=de;continue;case 35:return be(j,de);case 33:return Ln(j,_n.BANG,de,de+1);case 36:return Ln(j,_n.DOLLAR,de,de+1);case 38:return Ln(j,_n.AMP,de,de+1);case 40:return Ln(j,_n.PAREN_L,de,de+1);case 41:return Ln(j,_n.PAREN_R,de,de+1);case 46:if(46===P.charCodeAt(de+1)&&46===P.charCodeAt(de+2))return Ln(j,_n.SPREAD,de,de+3);break;case 58:return Ln(j,_n.COLON,de,de+1);case 61:return Ln(j,_n.EQUALS,de,de+1);case 64:return Ln(j,_n.AT,de,de+1);case 91:return Ln(j,_n.BRACKET_L,de,de+1);case 93:return Ln(j,_n.BRACKET_R,de,de+1);case 123:return Ln(j,_n.BRACE_L,de,de+1);case 124:return Ln(j,_n.PIPE,de,de+1);case 125:return Ln(j,_n.BRACE_R,de,de+1);case 34:return 34===P.charCodeAt(de+1)&&34===P.charCodeAt(de+2)?xs(j,de):Ht(j,de)}if((0,Li.yp)(Ke)||45===Ke)return ae(j,de,Ke);if((0,Li.un)(Ke))return ws(j,de);throw Ji(j.source,de,39===Ke?"Unexpected single quote character ('), did you mean to use a double quote (\")?":as(Ke)||Os(P,de)?`Unexpected character: ${mt(j,de)}.`:`Invalid character: ${mt(j,de)}.`)}return Ln(j,_n.EOF,te,te)}function be(j,x){const P=j.source.body,te=P.length;let de=x+1;for(;de<te;){const Ke=P.charCodeAt(de);if(10===Ke||13===Ke)break;if(as(Ke))++de;else{if(!Os(P,de))break;de+=2}}return Ln(j,_n.COMMENT,x,de,P.slice(x+1,de))}function ae(j,x,P){const te=j.source.body;let de=x,Ke=P,wt=!1;if(45===Ke&&(Ke=te.charCodeAt(++de)),48===Ke){if(Ke=te.charCodeAt(++de),(0,Li.yp)(Ke))throw Ji(j.source,de,`Invalid number, unexpected digit after 0: ${mt(j,de)}.`)}else de=Xe(j,de,Ke),Ke=te.charCodeAt(de);if(46===Ke&&(wt=!0,Ke=te.charCodeAt(++de),de=Xe(j,de,Ke),Ke=te.charCodeAt(de)),(69===Ke||101===Ke)&&(wt=!0,Ke=te.charCodeAt(++de),(43===Ke||45===Ke)&&(Ke=te.charCodeAt(++de)),de=Xe(j,de,Ke),Ke=te.charCodeAt(de)),46===Ke||(0,Li.un)(Ke))throw Ji(j.source,de,`Invalid number, expected digit but got: ${mt(j,de)}.`);return Ln(j,wt?_n.FLOAT:_n.INT,x,de,te.slice(x,de))}function Xe(j,x,P){if(!(0,Li.yp)(P))throw Ji(j.source,x,`Invalid number, expected digit but got: ${mt(j,x)}.`);const te=j.source.body;let de=x+1;for(;(0,Li.yp)(te.charCodeAt(de));)++de;return de}function Ht(j,x){const P=j.source.body,te=P.length;let de=x+1,Ke=de,wt="";for(;de<te;){const en=P.charCodeAt(de);if(34===en)return wt+=P.slice(Ke,de),Ln(j,_n.STRING,x,de+1,wt);if(92!==en){if(10===en||13===en)break;if(as(en))++de;else{if(!Os(P,de))throw Ji(j.source,de,`Invalid character within String: ${mt(j,de)}.`);de+=2}}else{wt+=P.slice(Ke,de);const Gt=117===P.charCodeAt(de+1)?123===P.charCodeAt(de+2)?wi(j,de):Nr(j,de):Ko(j,de);wt+=Gt.value,de+=Gt.size,Ke=de}}throw Ji(j.source,de,"Unterminated string.")}function wi(j,x){const P=j.source.body;let te=0,de=3;for(;de<12;){const Ke=P.charCodeAt(x+de++);if(125===Ke){if(de<5||!as(te))break;return{value:String.fromCodePoint(te),size:de}}if(te=te<<4|mo(Ke),te<0)break}throw Ji(j.source,x,`Invalid Unicode escape sequence: "${P.slice(x,x+de)}".`)}function Nr(j,x){const P=j.source.body,te=io(P,x+2);if(as(te))return{value:String.fromCodePoint(te),size:6};if(ns(te)&&92===P.charCodeAt(x+6)&&117===P.charCodeAt(x+7)){const de=io(P,x+8);if(Hi(de))return{value:String.fromCodePoint(te,de),size:12}}throw Ji(j.source,x,`Invalid Unicode escape sequence: "${P.slice(x,x+6)}".`)}function io(j,x){return mo(j.charCodeAt(x))<<12|mo(j.charCodeAt(x+1))<<8|mo(j.charCodeAt(x+2))<<4|mo(j.charCodeAt(x+3))}function mo(j){return j>=48&&j<=57?j-48:j>=65&&j<=70?j-55:j>=97&&j<=102?j-87:-1}function Ko(j,x){const P=j.source.body;switch(P.charCodeAt(x+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw Ji(j.source,x,`Invalid character escape sequence: "${P.slice(x,x+2)}".`)}function xs(j,x){const P=j.source.body,te=P.length;let de=j.lineStart,Ke=x+3,wt=Ke,en="";const Gt=[];for(;Ke<te;){const hn=P.charCodeAt(Ke);if(34===hn&&34===P.charCodeAt(Ke+1)&&34===P.charCodeAt(Ke+2)){en+=P.slice(wt,Ke),Gt.push(en);const $n=Ln(j,_n.BLOCK_STRING,x,Ke+3,(0,Mi.OC)(Gt).join("\n"));return j.line+=Gt.length-1,j.lineStart=de,$n}if(92!==hn||34!==P.charCodeAt(Ke+1)||34!==P.charCodeAt(Ke+2)||34!==P.charCodeAt(Ke+3))if(10!==hn&&13!==hn)if(as(hn))++Ke;else{if(!Os(P,Ke))throw Ji(j.source,Ke,`Invalid character within String: ${mt(j,Ke)}.`);Ke+=2}else en+=P.slice(wt,Ke),Gt.push(en),13===hn&&10===P.charCodeAt(Ke+1)?Ke+=2:++Ke,en="",wt=Ke,de=Ke;else en+=P.slice(wt,Ke),wt=Ke+1,Ke+=4}throw Ji(j.source,Ke,"Unterminated string.")}function ws(j,x){const P=j.source.body,te=P.length;let de=x+1;for(;de<te;){const Ke=P.charCodeAt(de);if(!(0,Li.xr)(Ke))break;++de}return Ln(j,_n.NAME,x,de,P.slice(x,de))}var xr=f(1621);class Ri{constructor(x,P={}){const te=(0,xr._)(x)?x:new xr.k(x);this._lexer=new Ds(te),this._options=P,this._tokenCounter=0}parseName(){const x=this.expectToken(_n.NAME);return this.node(x,{kind:ze.b.NAME,value:x.value})}parseDocument(){return this.node(this._lexer.token,{kind:ze.b.DOCUMENT,definitions:this.many(_n.SOF,this.parseDefinition,_n.EOF)})}parseDefinition(){if(this.peek(_n.BRACE_L))return this.parseOperationDefinition();const x=this.peekDescription(),P=x?this._lexer.lookahead():this._lexer.token;if(P.kind===_n.NAME){switch(P.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(x)throw Ji(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(P.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(P)}parseOperationDefinition(){const x=this._lexer.token;if(this.peek(_n.BRACE_L))return this.node(x,{kind:ze.b.OPERATION_DEFINITION,operation:po.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const P=this.parseOperationType();let te;return this.peek(_n.NAME)&&(te=this.parseName()),this.node(x,{kind:ze.b.OPERATION_DEFINITION,operation:P,name:te,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const x=this.expectToken(_n.NAME);switch(x.value){case"query":return po.cE.QUERY;case"mutation":return po.cE.MUTATION;case"subscription":return po.cE.SUBSCRIPTION}throw this.unexpected(x)}parseVariableDefinitions(){return this.optionalMany(_n.PAREN_L,this.parseVariableDefinition,_n.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:ze.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(_n.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(_n.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const x=this._lexer.token;return this.expectToken(_n.DOLLAR),this.node(x,{kind:ze.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:ze.b.SELECTION_SET,selections:this.many(_n.BRACE_L,this.parseSelection,_n.BRACE_R)})}parseSelection(){return this.peek(_n.SPREAD)?this.parseFragment():this.parseField()}parseField(){const x=this._lexer.token,P=this.parseName();let te,de;return this.expectOptionalToken(_n.COLON)?(te=P,de=this.parseName()):de=P,this.node(x,{kind:ze.b.FIELD,alias:te,name:de,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(_n.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(x){return this.optionalMany(_n.PAREN_L,x?this.parseConstArgument:this.parseArgument,_n.PAREN_R)}parseArgument(x=!1){const P=this._lexer.token,te=this.parseName();return this.expectToken(_n.COLON),this.node(P,{kind:ze.b.ARGUMENT,name:te,value:this.parseValueLiteral(x)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const x=this._lexer.token;this.expectToken(_n.SPREAD);const P=this.expectOptionalKeyword("on");return!P&&this.peek(_n.NAME)?this.node(x,{kind:ze.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(x,{kind:ze.b.INLINE_FRAGMENT,typeCondition:P?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const x=this._lexer.token;return this.expectKeyword("fragment"),this.node(x,!0===this._options.allowLegacyFragmentVariables?{kind:ze.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}:{kind:ze.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(x){const P=this._lexer.token;switch(P.kind){case _n.BRACKET_L:return this.parseList(x);case _n.BRACE_L:return this.parseObject(x);case _n.INT:return this.advanceLexer(),this.node(P,{kind:ze.b.INT,value:P.value});case _n.FLOAT:return this.advanceLexer(),this.node(P,{kind:ze.b.FLOAT,value:P.value});case _n.STRING:case _n.BLOCK_STRING:return this.parseStringLiteral();case _n.NAME:switch(this.advanceLexer(),P.value){case"true":return this.node(P,{kind:ze.b.BOOLEAN,value:!0});case"false":return this.node(P,{kind:ze.b.BOOLEAN,value:!1});case"null":return this.node(P,{kind:ze.b.NULL});default:return this.node(P,{kind:ze.b.ENUM,value:P.value})}case _n.DOLLAR:if(x){if(this.expectToken(_n.DOLLAR),this._lexer.token.kind===_n.NAME)throw Ji(this._lexer.source,P.start,`Unexpected variable "$${this._lexer.token.value}" in constant value.`);throw this.unexpected(P)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const x=this._lexer.token;return this.advanceLexer(),this.node(x,{kind:ze.b.STRING,value:x.value,block:x.kind===_n.BLOCK_STRING})}parseList(x){return this.node(this._lexer.token,{kind:ze.b.LIST,values:this.any(_n.BRACKET_L,()=>this.parseValueLiteral(x),_n.BRACKET_R)})}parseObject(x){return this.node(this._lexer.token,{kind:ze.b.OBJECT,fields:this.any(_n.BRACE_L,()=>this.parseObjectField(x),_n.BRACE_R)})}parseObjectField(x){const P=this._lexer.token,te=this.parseName();return this.expectToken(_n.COLON),this.node(P,{kind:ze.b.OBJECT_FIELD,name:te,value:this.parseValueLiteral(x)})}parseDirectives(x){const P=[];for(;this.peek(_n.AT);)P.push(this.parseDirective(x));return P}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(x){const P=this._lexer.token;return this.expectToken(_n.AT),this.node(P,{kind:ze.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(x)})}parseTypeReference(){const x=this._lexer.token;let P;if(this.expectOptionalToken(_n.BRACKET_L)){const te=this.parseTypeReference();this.expectToken(_n.BRACKET_R),P=this.node(x,{kind:ze.b.LIST_TYPE,type:te})}else P=this.parseNamedType();return this.expectOptionalToken(_n.BANG)?this.node(x,{kind:ze.b.NON_NULL_TYPE,type:P}):P}parseNamedType(){return this.node(this._lexer.token,{kind:ze.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(_n.STRING)||this.peek(_n.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const x=this._lexer.token,P=this.parseDescription();this.expectKeyword("schema");const te=this.parseConstDirectives(),de=this.many(_n.BRACE_L,this.parseOperationTypeDefinition,_n.BRACE_R);return this.node(x,{kind:ze.b.SCHEMA_DEFINITION,description:P,directives:te,operationTypes:de})}parseOperationTypeDefinition(){const x=this._lexer.token,P=this.parseOperationType();this.expectToken(_n.COLON);const te=this.parseNamedType();return this.node(x,{kind:ze.b.OPERATION_TYPE_DEFINITION,operation:P,type:te})}parseScalarTypeDefinition(){const x=this._lexer.token,P=this.parseDescription();this.expectKeyword("scalar");const te=this.parseName(),de=this.parseConstDirectives();return this.node(x,{kind:ze.b.SCALAR_TYPE_DEFINITION,description:P,name:te,directives:de})}parseObjectTypeDefinition(){const x=this._lexer.token,P=this.parseDescription();this.expectKeyword("type");const te=this.parseName(),de=this.parseImplementsInterfaces(),Ke=this.parseConstDirectives(),wt=this.parseFieldsDefinition();return this.node(x,{kind:ze.b.OBJECT_TYPE_DEFINITION,description:P,name:te,interfaces:de,directives:Ke,fields:wt})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(_n.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(_n.BRACE_L,this.parseFieldDefinition,_n.BRACE_R)}parseFieldDefinition(){const x=this._lexer.token,P=this.parseDescription(),te=this.parseName(),de=this.parseArgumentDefs();this.expectToken(_n.COLON);const Ke=this.parseTypeReference(),wt=this.parseConstDirectives();return this.node(x,{kind:ze.b.FIELD_DEFINITION,description:P,name:te,arguments:de,type:Ke,directives:wt})}parseArgumentDefs(){return this.optionalMany(_n.PAREN_L,this.parseInputValueDef,_n.PAREN_R)}parseInputValueDef(){const x=this._lexer.token,P=this.parseDescription(),te=this.parseName();this.expectToken(_n.COLON);const de=this.parseTypeReference();let Ke;this.expectOptionalToken(_n.EQUALS)&&(Ke=this.parseConstValueLiteral());const wt=this.parseConstDirectives();return this.node(x,{kind:ze.b.INPUT_VALUE_DEFINITION,description:P,name:te,type:de,defaultValue:Ke,directives:wt})}parseInterfaceTypeDefinition(){const x=this._lexer.token,P=this.parseDescription();this.expectKeyword("interface");const te=this.parseName(),de=this.parseImplementsInterfaces(),Ke=this.parseConstDirectives(),wt=this.parseFieldsDefinition();return this.node(x,{kind:ze.b.INTERFACE_TYPE_DEFINITION,description:P,name:te,interfaces:de,directives:Ke,fields:wt})}parseUnionTypeDefinition(){const x=this._lexer.token,P=this.parseDescription();this.expectKeyword("union");const te=this.parseName(),de=this.parseConstDirectives(),Ke=this.parseUnionMemberTypes();return this.node(x,{kind:ze.b.UNION_TYPE_DEFINITION,description:P,name:te,directives:de,types:Ke})}parseUnionMemberTypes(){return this.expectOptionalToken(_n.EQUALS)?this.delimitedMany(_n.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const x=this._lexer.token,P=this.parseDescription();this.expectKeyword("enum");const te=this.parseName(),de=this.parseConstDirectives(),Ke=this.parseEnumValuesDefinition();return this.node(x,{kind:ze.b.ENUM_TYPE_DEFINITION,description:P,name:te,directives:de,values:Ke})}parseEnumValuesDefinition(){return this.optionalMany(_n.BRACE_L,this.parseEnumValueDefinition,_n.BRACE_R)}parseEnumValueDefinition(){const x=this._lexer.token,P=this.parseDescription(),te=this.parseEnumValueName(),de=this.parseConstDirectives();return this.node(x,{kind:ze.b.ENUM_VALUE_DEFINITION,description:P,name:te,directives:de})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw Ji(this._lexer.source,this._lexer.token.start,`${Xo(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const x=this._lexer.token,P=this.parseDescription();this.expectKeyword("input");const te=this.parseName(),de=this.parseConstDirectives(),Ke=this.parseInputFieldsDefinition();return this.node(x,{kind:ze.b.INPUT_OBJECT_TYPE_DEFINITION,description:P,name:te,directives:de,fields:Ke})}parseInputFieldsDefinition(){return this.optionalMany(_n.BRACE_L,this.parseInputValueDef,_n.BRACE_R)}parseTypeSystemExtension(){const x=this._lexer.lookahead();if(x.kind===_n.NAME)switch(x.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(x)}parseSchemaExtension(){const x=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const P=this.parseConstDirectives(),te=this.optionalMany(_n.BRACE_L,this.parseOperationTypeDefinition,_n.BRACE_R);if(0===P.length&&0===te.length)throw this.unexpected();return this.node(x,{kind:ze.b.SCHEMA_EXTENSION,directives:P,operationTypes:te})}parseScalarTypeExtension(){const x=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const P=this.parseName(),te=this.parseConstDirectives();if(0===te.length)throw this.unexpected();return this.node(x,{kind:ze.b.SCALAR_TYPE_EXTENSION,name:P,directives:te})}parseObjectTypeExtension(){const x=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const P=this.parseName(),te=this.parseImplementsInterfaces(),de=this.parseConstDirectives(),Ke=this.parseFieldsDefinition();if(0===te.length&&0===de.length&&0===Ke.length)throw this.unexpected();return this.node(x,{kind:ze.b.OBJECT_TYPE_EXTENSION,name:P,interfaces:te,directives:de,fields:Ke})}parseInterfaceTypeExtension(){const x=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const P=this.parseName(),te=this.parseImplementsInterfaces(),de=this.parseConstDirectives(),Ke=this.parseFieldsDefinition();if(0===te.length&&0===de.length&&0===Ke.length)throw this.unexpected();return this.node(x,{kind:ze.b.INTERFACE_TYPE_EXTENSION,name:P,interfaces:te,directives:de,fields:Ke})}parseUnionTypeExtension(){const x=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const P=this.parseName(),te=this.parseConstDirectives(),de=this.parseUnionMemberTypes();if(0===te.length&&0===de.length)throw this.unexpected();return this.node(x,{kind:ze.b.UNION_TYPE_EXTENSION,name:P,directives:te,types:de})}parseEnumTypeExtension(){const x=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const P=this.parseName(),te=this.parseConstDirectives(),de=this.parseEnumValuesDefinition();if(0===te.length&&0===de.length)throw this.unexpected();return this.node(x,{kind:ze.b.ENUM_TYPE_EXTENSION,name:P,directives:te,values:de})}parseInputObjectTypeExtension(){const x=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const P=this.parseName(),te=this.parseConstDirectives(),de=this.parseInputFieldsDefinition();if(0===te.length&&0===de.length)throw this.unexpected();return this.node(x,{kind:ze.b.INPUT_OBJECT_TYPE_EXTENSION,name:P,directives:te,fields:de})}parseDirectiveDefinition(){const x=this._lexer.token,P=this.parseDescription();this.expectKeyword("directive"),this.expectToken(_n.AT);const te=this.parseName(),de=this.parseArgumentDefs(),Ke=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const wt=this.parseDirectiveLocations();return this.node(x,{kind:ze.b.DIRECTIVE_DEFINITION,description:P,name:te,arguments:de,repeatable:Ke,locations:wt})}parseDirectiveLocations(){return this.delimitedMany(_n.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const x=this._lexer.token,P=this.parseName();if(Object.prototype.hasOwnProperty.call(no,P.value))return P;throw this.unexpected(x)}node(x,P){return!0!==this._options.noLocation&&(P.loc=new po.aZ(x,this._lexer.lastToken,this._lexer.source)),P}peek(x){return this._lexer.token.kind===x}expectToken(x){const P=this._lexer.token;if(P.kind===x)return this.advanceLexer(),P;throw Ji(this._lexer.source,P.start,`Expected ${da(x)}, found ${Xo(P)}.`)}expectOptionalToken(x){return this._lexer.token.kind===x&&(this.advanceLexer(),!0)}expectKeyword(x){const P=this._lexer.token;if(P.kind!==_n.NAME||P.value!==x)throw Ji(this._lexer.source,P.start,`Expected "${x}", found ${Xo(P)}.`);this.advanceLexer()}expectOptionalKeyword(x){const P=this._lexer.token;return P.kind===_n.NAME&&P.value===x&&(this.advanceLexer(),!0)}unexpected(x){const P=x??this._lexer.token;return Ji(this._lexer.source,P.start,`Unexpected ${Xo(P)}.`)}any(x,P,te){this.expectToken(x);const de=[];for(;!this.expectOptionalToken(te);)de.push(P.call(this));return de}optionalMany(x,P,te){if(this.expectOptionalToken(x)){const de=[];do{de.push(P.call(this))}while(!this.expectOptionalToken(te));return de}return[]}many(x,P,te){this.expectToken(x);const de=[];do{de.push(P.call(this))}while(!this.expectOptionalToken(te));return de}delimitedMany(x,P){this.expectOptionalToken(x);const te=[];do{te.push(P.call(this))}while(this.expectOptionalToken(x));return te}advanceLexer(){const{maxTokens:x}=this._options,P=this._lexer.advance();if(void 0!==x&&P.kind!==_n.EOF&&(++this._tokenCounter,this._tokenCounter>x))throw Ji(this._lexer.source,P.start,`Document contains more that ${x} tokens. Parsing aborted.`)}}function Xo(j){const x=j.value;return da(j.kind)+(null!=x?` "${x}"`:"")}function da(j){return function Sa(j){return j===_n.BANG||j===_n.DOLLAR||j===_n.AMP||j===_n.PAREN_L||j===_n.PAREN_R||j===_n.SPREAD||j===_n.COLON||j===_n.EQUALS||j===_n.AT||j===_n.BRACKET_L||j===_n.BRACKET_R||j===_n.BRACE_L||j===_n.PIPE||j===_n.BRACE_R}(j)?`"${j}"`:j}var go=new Map,Ba=new Map,Xr=!0,Rs=!1;function wo(j){return j.replace(/[\s,]+/g," ").trim()}function ua(j){var x=wo(j);if(!go.has(x)){var P=function fr(j,x){return new Ri(j,x).parseDocument()}(j,{experimentalFragmentVariables:Rs,allowLegacyFragmentVariables:Rs});if(!P||"Document"!==P.kind)throw new Error("Not a valid GraphQL document.");go.set(x,function _o(j){var x=new Set(j.definitions);x.forEach(function(te){te.loc&&delete te.loc,Object.keys(te).forEach(function(de){var Ke=te[de];Ke&&"object"==typeof Ke&&x.add(Ke)})});var P=j.loc;return P&&(delete P.startToken,delete P.endToken),j}(function Va(j){var x=new Set,P=[];return j.definitions.forEach(function(te){if("FragmentDefinition"===te.kind){var de=te.name.value,Ke=function ls(j){return wo(j.source.body.substring(j.start,j.end))}(te.loc),wt=Ba.get(de);wt&&!wt.has(Ke)?Xr&&console.warn("Warning: fragment with name "+de+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):wt||Ba.set(de,wt=new Set),wt.add(Ke),x.has(Ke)||(x.add(Ke),P.push(te))}else P.push(te)}),(0,b.Cl)((0,b.Cl)({},j),{definitions:P})}(P)))}return go.get(x)}function So(j){for(var x=[],P=1;P<arguments.length;P++)x[P-1]=arguments[P];"string"==typeof j&&(j=[j]);var te=j[0];return x.forEach(function(de,Ke){te+=de&&"Document"===de.kind?de.loc.source.body:de,te+=j[Ke+1]}),ua(te)}var j,Fr_gql=So;(j=So||(So={})).gql=Fr_gql,j.resetCaches=function Uo(){go.clear(),Ba.clear()},j.disableFragmentWarnings=function Hr(){Xr=!1},j.enableExperimentalFragmentVariables=function Ps(){Rs=!0},j.disableExperimentalFragmentVariables=function nl(){Rs=!1},So.default=So;var Zr=f(6354),ja=f(9172),Ss=f(941);function Yr(j){return new r.c(x=>(j().then(P=>{x.closed||(x.next(P),x.complete())},P=>{x.closed||x.error(P)}),()=>x.unsubscribe()))}class $o{zone;constructor(x){this.zone=x}now=Date.now?Date.now:()=>+new Date;schedule(x,P=0,te){return this.zone.run(()=>M.schedule(x,P,te))}}function wr(j){return j[V.s]=()=>j,j}function Fs(j,x){return j.pipe((0,Ss.Q)(new $o(x)))}function fa(j,x,P){return j&&typeof j[x]<"u"?j[x]:P}class qi{obsQuery;valueChanges;queryId;constructor(x,P,te){this.obsQuery=x;const de=Fs((0,T.H)(wr(this.obsQuery)),P);this.valueChanges=te.useInitialLoading?de.pipe(function Ho(j){return function(P){return new r.c(function(de){const Ke=j.getCurrentResult(),{loading:wt,errors:en,error:Gt,partial:hn,data:$n}=Ke,{partialRefetch:Un,fetchPolicy:In}=j.options,Rn=en||Gt;return Un&&hn&&(!$n||0===Object.keys($n).length)&&"cache-only"!==In&&!wt&&!Rn&&de.next({...Ke,loading:!0,networkStatus:N.loading}),P.subscribe(de)})}}(this.obsQuery)):de,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(x){return this.obsQuery.refetch(x)}fetchMore(x){return this.obsQuery.fetchMore(x)}subscribeToMore(x){return this.obsQuery.subscribeToMore(x)}updateQuery(x){return this.obsQuery.updateQuery(x)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(x){return this.obsQuery.startPolling(x)}setOptions(x){return this.obsQuery.setOptions(x)}setVariables(x){return this.obsQuery.setVariables(x)}}const Ws=new n.nKC("APOLLO_FLAGS"),ha=new n.nKC("APOLLO_OPTIONS"),cs=new n.nKC("APOLLO_NAMED_OPTIONS");class ds{ngZone;flags;_client;useInitialLoading;useMutationLoading;constructor(x,P,te){this.ngZone=x,this.flags=P,this._client=te,this.useInitialLoading=fa(P,"useInitialLoading",!1),this.useMutationLoading=fa(P,"useMutationLoading",!1)}watchQuery(x){return new qi(this.ensureClient().watchQuery({...x}),this.ngZone,{useInitialLoading:this.useInitialLoading,...x})}query(x){return Yr(()=>this.ensureClient().query({...x}))}mutate(x){return function qr(j,x){return x?j.pipe((0,ja.Z)({loading:!0}),(0,Zr.T)(P=>({...P,loading:!!P.loading}))):j.pipe((0,Zr.T)(P=>({...P,loading:!1})))}(Yr(()=>this.ensureClient().mutate({...x})),x.useMutationLoading??this.useMutationLoading)}subscribe(x,P){const te=(0,T.H)(wr(this.ensureClient().subscribe({...x})));return P&&!0!==P.useZone?te:Fs(te,this.ngZone)}getClient(){return this.client}setClient(x){this.client=x}get client(){return this._client}set client(x){if(this._client)throw new Error("Client has been already defined");this._client=x}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let Ls=(()=>{class j extends ds{_ngZone;map=new Map;constructor(P,te,de,Ke){if(super(P,Ke),this._ngZone=P,te&&this.createDefault(te),de&&"object"==typeof de)for(let wt in de)de.hasOwnProperty(wt)&&this.create(de[wt],wt)}create(P,te){Ao(te)?this.createDefault(P):this.createNamed(te,P)}default(){return this}use(P){return Ao(P)?this.default():this.map.get(P)}createDefault(P){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new ht(P))}createNamed(P,te){if(this.map.has(P))throw new Error(`Client ${P} has been already created`);this.map.set(P,new ds(this._ngZone,this.flags,new ht(te)))}removeClient(P){Ao(P)?this._client=void 0:this.map.delete(P)}static \u0275fac=function(te){return new(te||j)(n.KVO(n.SKi),n.KVO(ha,8),n.KVO(cs,8),n.KVO(Ws,8))};static \u0275prov=n.jDH({token:j,factory:j.\u0275fac})}return j})();function Ao(j){return!j||"default"===j}const Go=[Ls];let Ks=(()=>{class j{static \u0275fac=function(te){return new(te||j)};static \u0275mod=n.$C({type:j});static \u0275inj=n.G2t({providers:Go})}return j})();const Ct=function Ve(j,...x){return So(j,...x)}},6005:(_t,ge,f)=>{"use strict";function n(r,y){if(!r)throw new Error(y)}f.d(ge,{U:()=>n})},7250:(_t,ge,f)=>{"use strict";f.d(ge,{N:()=>y});const n=10,r=2;function y(T){return F(T,[])}function F(T,N){switch(typeof T){case"string":return JSON.stringify(T);case"function":return T.name?`[function ${T.name}]`:"[function]";case"object":return function g(T,N){if(null===T)return"null";if(N.includes(T))return"[Circular]";const U=[...N,T];if(function A(T){return"function"==typeof T.toJSON}(T)){const b=T.toJSON();if(b!==T)return"string"==typeof b?b:F(b,U)}else if(Array.isArray(T))return function B(T,N){if(0===T.length)return"[]";if(N.length>r)return"[Array]";const U=Math.min(n,T.length),b=T.length-U,G=[];for(let R=0;R<U;++R)G.push(F(T[R],N));return 1===b?G.push("... 1 more item"):b>1&&G.push(`... ${b} more items`),"["+G.join(", ")+"]"}(T,U);return function M(T,N){const U=Object.entries(T);return 0===U.length?"{}":N.length>r?"["+function V(T){const N=Object.prototype.toString.call(T).replace(/^\[object /,"").replace(/]$/,"");if("Object"===N&&"function"==typeof T.constructor){const U=T.constructor.name;if("string"==typeof U&&""!==U)return U}return N}(T)+"]":"{ "+U.map(([G,R])=>G+": "+F(R,N)).join(", ")+" }"}(T,U)}(T,N);default:return String(T)}}},1222:(_t,ge,f)=>{"use strict";f.d(ge,{Ll:()=>g,aD:()=>y,aZ:()=>n,cE:()=>A,ou:()=>r});class n{constructor(B,V,T){this.start=B.start,this.end=V.end,this.startToken=B,this.endToken=V,this.source=T}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class r{constructor(B,V,T,N,U,b){this.kind=B,this.start=V,this.end=T,this.line=N,this.column=U,this.value=b,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const y={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},F=new Set(Object.keys(y));function g(M){const B=M?.kind;return"string"==typeof B&&F.has(B)}var A=function(M){return M.QUERY="query",M.MUTATION="mutation",M.SUBSCRIPTION="subscription",M}(A||{})},5174:(_t,ge,f)=>{"use strict";f.d(ge,{OC:()=>r,yo:()=>g});var n=f(3725);function r(A){var M;let B=Number.MAX_SAFE_INTEGER,V=null,T=-1;for(let U=0;U<A.length;++U){var N;const b=A[U],G=y(b);G!==b.length&&(V=null!==(N=V)&&void 0!==N?N:U,T=U,0!==U&&G<B&&(B=G))}return A.map((U,b)=>0===b?U:U.slice(B)).slice(null!==(M=V)&&void 0!==M?M:0,T+1)}function y(A){let M=0;for(;M<A.length&&(0,n.i0)(A.charCodeAt(M));)++M;return M}function g(A,M){const B=A.replace(/"""/g,'\\"""'),V=B.split(/\r\n|[\n\r]/g),T=1===V.length,N=V.length>1&&V.slice(1).every(Ne=>0===Ne.length||(0,n.i0)(Ne.charCodeAt(0))),U=B.endsWith('\\"""'),b=A.endsWith('"')&&!U,G=A.endsWith("\\"),R=b||G,ce=!(null!=M&&M.minimize)&&(!T||A.length>70||R||N||U);let J="";const Se=T&&(0,n.i0)(A.charCodeAt(0));return(ce&&!Se||N)&&(J+="\n"),J+=B,(ce||R)&&(J+="\n"),'"""'+J+'"""'}},3725:(_t,ge,f)=>{"use strict";function n(A){return 9===A||32===A}function r(A){return A>=48&&A<=57}function y(A){return A>=97&&A<=122||A>=65&&A<=90}function F(A){return y(A)||95===A}function g(A){return y(A)||r(A)||95===A}f.d(ge,{i0:()=>n,un:()=>F,xr:()=>g,yp:()=>r})},1955:(_t,ge,f)=>{"use strict";f.d(ge,{b:()=>n});var n=function(r){return r.NAME="Name",r.DOCUMENT="Document",r.OPERATION_DEFINITION="OperationDefinition",r.VARIABLE_DEFINITION="VariableDefinition",r.SELECTION_SET="SelectionSet",r.FIELD="Field",r.ARGUMENT="Argument",r.FRAGMENT_SPREAD="FragmentSpread",r.INLINE_FRAGMENT="InlineFragment",r.FRAGMENT_DEFINITION="FragmentDefinition",r.VARIABLE="Variable",r.INT="IntValue",r.FLOAT="FloatValue",r.STRING="StringValue",r.BOOLEAN="BooleanValue",r.NULL="NullValue",r.ENUM="EnumValue",r.LIST="ListValue",r.OBJECT="ObjectValue",r.OBJECT_FIELD="ObjectField",r.DIRECTIVE="Directive",r.NAMED_TYPE="NamedType",r.LIST_TYPE="ListType",r.NON_NULL_TYPE="NonNullType",r.SCHEMA_DEFINITION="SchemaDefinition",r.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",r.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",r.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",r.FIELD_DEFINITION="FieldDefinition",r.INPUT_VALUE_DEFINITION="InputValueDefinition",r.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",r.UNION_TYPE_DEFINITION="UnionTypeDefinition",r.ENUM_TYPE_DEFINITION="EnumTypeDefinition",r.ENUM_VALUE_DEFINITION="EnumValueDefinition",r.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",r.DIRECTIVE_DEFINITION="DirectiveDefinition",r.SCHEMA_EXTENSION="SchemaExtension",r.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",r.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",r.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",r.UNION_TYPE_EXTENSION="UnionTypeExtension",r.ENUM_TYPE_EXTENSION="EnumTypeExtension",r.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",r}(n||{})},3246:(_t,ge,f)=>{"use strict";f.d(ge,{y:()=>M});var n=f(5174);const y=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function F(R){return g[R.charCodeAt(0)]}const g=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var A=f(8540);function M(R){return(0,A.YR)(R,V)}const V={Name:{leave:R=>R.value},Variable:{leave:R=>"$"+R.name},Document:{leave:R=>T(R.definitions,"\n\n")},OperationDefinition:{leave(R){const ce=U("(",T(R.variableDefinitions,", "),")"),J=T([R.operation,T([R.name,ce]),T(R.directives," ")]," ");return("query"===J?"":J+" ")+R.selectionSet}},VariableDefinition:{leave:({variable:R,type:ce,defaultValue:J,directives:Se})=>R+": "+ce+U(" = ",J)+U(" ",T(Se," "))},SelectionSet:{leave:({selections:R})=>N(R)},Field:{leave({alias:R,name:ce,arguments:J,directives:Se,selectionSet:Ne}){const ot=U("",R,": ")+ce;let dt=ot+U("(",T(J,", "),")");return dt.length>80&&(dt=ot+U("(\n",b(T(J,"\n")),"\n)")),T([dt,T(Se," "),Ne]," ")}},Argument:{leave:({name:R,value:ce})=>R+": "+ce},FragmentSpread:{leave:({name:R,directives:ce})=>"..."+R+U(" ",T(ce," "))},InlineFragment:{leave:({typeCondition:R,directives:ce,selectionSet:J})=>T(["...",U("on ",R),T(ce," "),J]," ")},FragmentDefinition:{leave:({name:R,typeCondition:ce,variableDefinitions:J,directives:Se,selectionSet:Ne})=>`fragment ${R}${U("(",T(J,", "),")")} on ${ce} ${U("",T(Se," ")," ")}`+Ne},IntValue:{leave:({value:R})=>R},FloatValue:{leave:({value:R})=>R},StringValue:{leave:({value:R,block:ce})=>ce?(0,n.yo)(R):function r(R){return`"${R.replace(y,F)}"`}(R)},BooleanValue:{leave:({value:R})=>R?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:R})=>R},ListValue:{leave:({values:R})=>"["+T(R,", ")+"]"},ObjectValue:{leave:({fields:R})=>"{"+T(R,", ")+"}"},ObjectField:{leave:({name:R,value:ce})=>R+": "+ce},Directive:{leave:({name:R,arguments:ce})=>"@"+R+U("(",T(ce,", "),")")},NamedType:{leave:({name:R})=>R},ListType:{leave:({type:R})=>"["+R+"]"},NonNullType:{leave:({type:R})=>R+"!"},SchemaDefinition:{leave:({description:R,directives:ce,operationTypes:J})=>U("",R,"\n")+T(["schema",T(ce," "),N(J)]," ")},OperationTypeDefinition:{leave:({operation:R,type:ce})=>R+": "+ce},ScalarTypeDefinition:{leave:({description:R,name:ce,directives:J})=>U("",R,"\n")+T(["scalar",ce,T(J," ")]," ")},ObjectTypeDefinition:{leave:({description:R,name:ce,interfaces:J,directives:Se,fields:Ne})=>U("",R,"\n")+T(["type",ce,U("implements ",T(J," & ")),T(Se," "),N(Ne)]," ")},FieldDefinition:{leave:({description:R,name:ce,arguments:J,type:Se,directives:Ne})=>U("",R,"\n")+ce+(G(J)?U("(\n",b(T(J,"\n")),"\n)"):U("(",T(J,", "),")"))+": "+Se+U(" ",T(Ne," "))},InputValueDefinition:{leave:({description:R,name:ce,type:J,defaultValue:Se,directives:Ne})=>U("",R,"\n")+T([ce+": "+J,U("= ",Se),T(Ne," ")]," ")},InterfaceTypeDefinition:{leave:({description:R,name:ce,interfaces:J,directives:Se,fields:Ne})=>U("",R,"\n")+T(["interface",ce,U("implements ",T(J," & ")),T(Se," "),N(Ne)]," ")},UnionTypeDefinition:{leave:({description:R,name:ce,directives:J,types:Se})=>U("",R,"\n")+T(["union",ce,T(J," "),U("= ",T(Se," | "))]," ")},EnumTypeDefinition:{leave:({description:R,name:ce,directives:J,values:Se})=>U("",R,"\n")+T(["enum",ce,T(J," "),N(Se)]," ")},EnumValueDefinition:{leave:({description:R,name:ce,directives:J})=>U("",R,"\n")+T([ce,T(J," ")]," ")},InputObjectTypeDefinition:{leave:({description:R,name:ce,directives:J,fields:Se})=>U("",R,"\n")+T(["input",ce,T(J," "),N(Se)]," ")},DirectiveDefinition:{leave:({description:R,name:ce,arguments:J,repeatable:Se,locations:Ne})=>U("",R,"\n")+"directive @"+ce+(G(J)?U("(\n",b(T(J,"\n")),"\n)"):U("(",T(J,", "),")"))+(Se?" repeatable":"")+" on "+T(Ne," | ")},SchemaExtension:{leave:({directives:R,operationTypes:ce})=>T(["extend schema",T(R," "),N(ce)]," ")},ScalarTypeExtension:{leave:({name:R,directives:ce})=>T(["extend scalar",R,T(ce," ")]," ")},ObjectTypeExtension:{leave:({name:R,interfaces:ce,directives:J,fields:Se})=>T(["extend type",R,U("implements ",T(ce," & ")),T(J," "),N(Se)]," ")},InterfaceTypeExtension:{leave:({name:R,interfaces:ce,directives:J,fields:Se})=>T(["extend interface",R,U("implements ",T(ce," & ")),T(J," "),N(Se)]," ")},UnionTypeExtension:{leave:({name:R,directives:ce,types:J})=>T(["extend union",R,T(ce," "),U("= ",T(J," | "))]," ")},EnumTypeExtension:{leave:({name:R,directives:ce,values:J})=>T(["extend enum",R,T(ce," "),N(J)]," ")},InputObjectTypeExtension:{leave:({name:R,directives:ce,fields:J})=>T(["extend input",R,T(ce," "),N(J)]," ")}};function T(R,ce=""){var J;return null!==(J=R?.filter(Se=>Se).join(ce))&&void 0!==J?J:""}function N(R){return U("{\n",b(T(R,"\n")),"\n}")}function U(R,ce,J=""){return null!=ce&&""!==ce?R+ce+J:""}function b(R){return U(" ",R.replace(/\n/g,"\n "))}function G(R){var ce;return null!==(ce=R?.some(J=>J.includes("\n")))&&void 0!==ce&&ce}},1621:(_t,ge,f)=>{"use strict";f.d(ge,{k:()=>F,_:()=>g});var n=f(6005),r=f(7250);const y=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(M,B){return M instanceof B}:function(M,B){if(M instanceof B)return!0;if("object"==typeof M&&null!==M){var V;const T=B.prototype[Symbol.toStringTag];if(T===(Symbol.toStringTag in M?M[Symbol.toStringTag]:null===(V=M.constructor)||void 0===V?void 0:V.name)){const U=(0,r.N)(M);throw new Error(`Cannot use ${T} "${U}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class F{constructor(M,B="GraphQL request",V={line:1,column:1}){"string"==typeof M||(0,n.U)(!1,`Body must be a string. Received: ${(0,r.N)(M)}.`),this.body=M,this.name=B,this.locationOffset=V,this.locationOffset.line>0||(0,n.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,n.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function g(A){return y(A,F)}},8540:(_t,ge,f)=>{"use strict";f.d(ge,{YR:()=>A,sP:()=>g});var n=f(6005),r=f(7250),y=f(1222),F=f(1955);const g=Object.freeze({});function A(T,N,U=y.aD){const b=new Map;for(const ue of Object.values(F.b))b.set(ue,B(N,ue));let G,ot,dt,R=Array.isArray(T),ce=[T],J=-1,Se=[],Ne=T;const He=[],Ge=[];do{J++;const ue=J===ce.length,Oe=ue&&0!==Se.length;if(ue){if(ot=0===Ge.length?void 0:He[He.length-1],Ne=dt,dt=Ge.pop(),Oe)if(R){Ne=Ne.slice();let yt=0;for(const[Yt,Vt]of Se){const qt=Yt-yt;null===Vt?(Ne.splice(qt,1),yt++):Ne[qt]=Vt}}else{Ne=Object.defineProperties({},Object.getOwnPropertyDescriptors(Ne));for(const[yt,Yt]of Se)Ne[yt]=Yt}J=G.index,ce=G.keys,Se=G.edits,R=G.inArray,G=G.prev}else if(dt){if(ot=R?J:ce[J],Ne=dt[ot],null==Ne)continue;He.push(ot)}let Ye;if(!Array.isArray(Ne)){var se,Ae;(0,y.Ll)(Ne)||(0,n.U)(!1,`Invalid AST Node: ${(0,r.N)(Ne)}.`);const yt=ue?null===(se=b.get(Ne.kind))||void 0===se?void 0:se.leave:null===(Ae=b.get(Ne.kind))||void 0===Ae?void 0:Ae.enter;if(Ye=yt?.call(N,Ne,ot,dt,He,Ge),Ye===g)break;if(!1===Ye){if(!ue){He.pop();continue}}else if(void 0!==Ye&&(Se.push([ot,Ye]),!ue)){if(!(0,y.Ll)(Ye)){He.pop();continue}Ne=Ye}}var we;void 0===Ye&&Oe&&Se.push([ot,Ne]),ue?He.pop():(G={inArray:R,index:J,keys:ce,edits:Se,prev:G},R=Array.isArray(Ne),ce=R?Ne:null!==(we=U[Ne.kind])&&void 0!==we?we:[],J=-1,Se=[],dt&&Ge.push(dt),dt=Ne)}while(void 0!==G);return 0!==Se.length?Se[Se.length-1][1]:T}function B(T,N){const U=T[N];return"object"==typeof U?U:"function"==typeof U?{enter:U,leave:void 0}:{enter:T.enter,leave:T.leave}}},2490:(_t,ge,f)=>{"use strict";f.d(ge,{O:()=>y});var n=f(4438),r=f(177);let y=(()=>{class F{constructor(A,M){this.document=A,this.platformId=M,this.documentIsAccessible=(0,r.UE)(this.platformId)}static getCookieRegExp(A){const M=A.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+M+"|;\\s*"+M+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(A){try{return decodeURIComponent(A)}catch{return A}}check(A){return!!this.documentIsAccessible&&(A=encodeURIComponent(A),F.getCookieRegExp(A).test(this.document.cookie))}get(A){if(this.documentIsAccessible&&this.check(A)){A=encodeURIComponent(A);const B=F.getCookieRegExp(A).exec(this.document.cookie);return B[1]?F.safeDecodeURIComponent(B[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const A={},M=this.document;return M.cookie&&""!==M.cookie&&M.cookie.split(";").forEach(B=>{const[V,T]=B.split("=");A[F.safeDecodeURIComponent(V.replace(/^ /,""))]=F.safeDecodeURIComponent(T)}),A}set(A,M,B,V,T,N,U,b){if(!this.documentIsAccessible)return;if("number"==typeof B||B instanceof Date||V||T||N||U)return void this.set(A,M,{expires:B,path:V,domain:T,secure:N,sameSite:U||"Lax",partitioned:b});let G=encodeURIComponent(A)+"="+encodeURIComponent(M)+";";const R=B||{};R.expires&&(G+="number"==typeof R.expires?"expires="+new Date((new Date).getTime()+1e3*R.expires*60*60*24).toUTCString()+";":"expires="+R.expires.toUTCString()+";"),R.path&&(G+="path="+R.path+";"),R.domain&&(G+="domain="+R.domain+";"),!1===R.secure&&"None"===R.sameSite&&(R.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${A} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),R.secure&&(G+="secure;"),R.sameSite||(R.sameSite="Lax"),G+="sameSite="+R.sameSite+";",R.partitioned&&(G+="Partitioned;"),this.document.cookie=G}delete(A,M,B,V,T="Lax"){this.documentIsAccessible&&this.set(A,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:M,domain:B,secure:V,sameSite:T})}deleteAll(A,M,B,V="Lax"){if(!this.documentIsAccessible)return;const T=this.getAll();for(const N in T)T.hasOwnProperty(N)&&this.delete(N,A,M,B,V)}static#e=this.\u0275fac=function(M){return new(M||F)(n.KVO(r.qQ),n.KVO(n.Agw))};static#t=this.\u0275prov=n.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},6628:(_t,ge,f)=>{"use strict";f.d(ge,{fL:()=>A,pK:()=>B});var n=f(4438),r=f(1985),y=f(6697),F=f(4668),g=f(177);let A=(()=>{class V{constructor(N){this._document=N,this.scriptsLoaders={}}_loadScript(N,U,b="head"){return new r.c(G=>{const R=this._document.createElement("script");if(U)for(const J in U)U.hasOwnProperty(J)&&R.setAttribute(J,U[J]);R.onload=J=>{G.next(J),G.complete()},R.onerror=J=>{G.error(J)},R.src=N,("string"==typeof b?this._document.querySelector(b):b).appendChild(R)})}loadScript(N,U,b="head"){return this.scriptsLoaders[N]=this.scriptsLoaders[N]||this._loadScript(N,U,b).pipe((0,y.s)(1),(0,F.t)(1))}runScript(N,U,b="head"){return this._loadScript(N,U,b)}}return V.\u0275fac=function(N){return new(N||V)(n.KVO(g.qQ))},V.\u0275prov=n.jDH({token:V,factory:V.\u0275fac,providedIn:"root"}),V})(),B=(()=>{class V{}return V.\u0275fac=function(N){return new(N||V)},V.\u0275mod=n.$C({type:V}),V.\u0275inj=n.G2t({imports:[[g.MD]]}),V})()},7994:(_t,ge,f)=>{"use strict";function y(Ae,we){(null==we||we>Ae.length)&&(we=Ae.length);for(var ue=0,Oe=new Array(we);ue<we;ue++)Oe[ue]=Ae[ue];return Oe}function F(Ae,we){for(var ue=0;ue<we.length;ue++){var Oe=we[ue];Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,"value"in Oe&&(Oe.writable=!0),Object.defineProperty(Ae,Oe.key,Oe)}}function g(Ae,we,ue){return we&&F(Ae.prototype,we),ue&&F(Ae,ue),Object.defineProperty(Ae,"prototype",{writable:!1}),Ae}f.d(ge,{c:()=>se});var A=function(){return"function"==typeof Symbol},M=function(Ae){return A()&&!!Symbol[Ae]},B=function(Ae){return M(Ae)?Symbol[Ae]:"@@"+Ae};A()&&!M("observable")&&(Symbol.observable=Symbol("observable"));var V=B("iterator"),T=B("observable"),N=B("species");function U(Ae,we){var ue=Ae[we];if(null!=ue){if("function"!=typeof ue)throw new TypeError(ue+" is not a function");return ue}}function b(Ae){var we=Ae.constructor;return void 0!==we&&null===(we=we[N])&&(we=void 0),void 0!==we?we:se}function R(Ae){R.log?R.log(Ae):setTimeout(function(){throw Ae})}function ce(Ae){Promise.resolve().then(function(){try{Ae()}catch(we){R(we)}})}function J(Ae){var we=Ae._cleanup;if(void 0!==we&&(Ae._cleanup=void 0,we))try{if("function"==typeof we)we();else{var ue=U(we,"unsubscribe");ue&&ue.call(we)}}catch(Oe){R(Oe)}}function Se(Ae){Ae._observer=void 0,Ae._queue=void 0,Ae._state="closed"}function ot(Ae,we,ue){Ae._state="running";var Oe=Ae._observer;try{var Ye=U(Oe,we);switch(we){case"next":Ye&&Ye.call(Oe,ue);break;case"error":if(Se(Ae),!Ye)throw ue;Ye.call(Oe,ue);break;case"complete":Se(Ae),Ye&&Ye.call(Oe)}}catch(yt){R(yt)}"closed"===Ae._state?J(Ae):"running"===Ae._state&&(Ae._state="ready")}function dt(Ae,we,ue){if("closed"!==Ae._state){if("buffering"===Ae._state)return void Ae._queue.push({type:we,value:ue});if("ready"!==Ae._state)return Ae._state="buffering",Ae._queue=[{type:we,value:ue}],void ce(function(){return function Ne(Ae){var we=Ae._queue;if(we){Ae._queue=void 0,Ae._state="ready";for(var ue=0;ue<we.length&&(ot(Ae,we[ue].type,we[ue].value),"closed"!==Ae._state);++ue);}}(Ae)});ot(Ae,we,ue)}}var He=function(){function Ae(ue,Oe){this._cleanup=void 0,this._observer=ue,this._queue=void 0,this._state="initializing";var Ye=new Ge(this);try{this._cleanup=Oe.call(void 0,Ye)}catch(yt){Ye.error(yt)}"initializing"===this._state&&(this._state="ready")}return Ae.prototype.unsubscribe=function(){"closed"!==this._state&&(Se(this),J(this))},g(Ae,[{key:"closed",get:function(){return"closed"===this._state}}]),Ae}(),Ge=function(){function Ae(ue){this._subscription=ue}var we=Ae.prototype;return we.next=function(Oe){dt(this._subscription,"next",Oe)},we.error=function(Oe){dt(this._subscription,"error",Oe)},we.complete=function(){dt(this._subscription,"complete")},g(Ae,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),Ae}(),se=function(){function Ae(ue){if(!(this instanceof Ae))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof ue)throw new TypeError("Observable initializer must be a function");this._subscriber=ue}var we=Ae.prototype;return we.subscribe=function(Oe){return("object"!=typeof Oe||null===Oe)&&(Oe={next:Oe,error:arguments[1],complete:arguments[2]}),new He(Oe,this._subscriber)},we.forEach=function(Oe){var Ye=this;return new Promise(function(yt,Yt){if("function"==typeof Oe)var qt=Ye.subscribe({next:function(jt){try{Oe(jt,Vt)}catch(Ot){Yt(Ot),qt.unsubscribe()}},error:Yt,complete:yt});else Yt(new TypeError(Oe+" is not a function"));function Vt(){qt.unsubscribe(),yt()}})},we.map=function(Oe){var Ye=this;if("function"!=typeof Oe)throw new TypeError(Oe+" is not a function");return new(b(this))(function(Yt){return Ye.subscribe({next:function(Vt){try{Vt=Oe(Vt)}catch(qt){return Yt.error(qt)}Yt.next(Vt)},error:function(Vt){Yt.error(Vt)},complete:function(){Yt.complete()}})})},we.filter=function(Oe){var Ye=this;if("function"!=typeof Oe)throw new TypeError(Oe+" is not a function");return new(b(this))(function(Yt){return Ye.subscribe({next:function(Vt){try{if(!Oe(Vt))return}catch(qt){return Yt.error(qt)}Yt.next(Vt)},error:function(Vt){Yt.error(Vt)},complete:function(){Yt.complete()}})})},we.reduce=function(Oe){var Ye=this;if("function"!=typeof Oe)throw new TypeError(Oe+" is not a function");var yt=b(this),Yt=arguments.length>1,Vt=!1,jt=arguments[1];return new yt(function(Ot){return Ye.subscribe({next:function(nt){var ut=!Vt;if(Vt=!0,!ut||Yt)try{jt=Oe(jt,nt)}catch(tt){return Ot.error(tt)}else jt=nt},error:function(nt){Ot.error(nt)},complete:function(){if(!Vt&&!Yt)return Ot.error(new TypeError("Cannot reduce an empty sequence"));Ot.next(jt),Ot.complete()}})})},we.concat=function(){for(var Oe=this,Ye=arguments.length,yt=new Array(Ye),Yt=0;Yt<Ye;Yt++)yt[Yt]=arguments[Yt];var Vt=b(this);return new Vt(function(qt){var jt,Ot=0;return function nt(ut){jt=ut.subscribe({next:function(tt){qt.next(tt)},error:function(tt){qt.error(tt)},complete:function(){Ot===yt.length?(jt=void 0,qt.complete()):nt(Vt.from(yt[Ot++]))}})}(Oe),function(){jt&&(jt.unsubscribe(),jt=void 0)}})},we.flatMap=function(Oe){var Ye=this;if("function"!=typeof Oe)throw new TypeError(Oe+" is not a function");var yt=b(this);return new yt(function(Yt){var Vt=[],qt=Ye.subscribe({next:function(Ot){if(Oe)try{Ot=Oe(Ot)}catch(ut){return Yt.error(ut)}var nt=yt.from(Ot).subscribe({next:function(ut){Yt.next(ut)},error:function(ut){Yt.error(ut)},complete:function(){var ut=Vt.indexOf(nt);ut>=0&&Vt.splice(ut,1),jt()}});Vt.push(nt)},error:function(Ot){Yt.error(Ot)},complete:function(){jt()}});function jt(){qt.closed&&0===Vt.length&&Yt.complete()}return function(){Vt.forEach(function(Ot){return Ot.unsubscribe()}),qt.unsubscribe()}})},we[T]=function(){return this},Ae.from=function(Oe){var Ye="function"==typeof this?this:Ae;if(null==Oe)throw new TypeError(Oe+" is not an object");var yt=U(Oe,T);if(yt){var Yt=yt.call(Oe);if(Object(Yt)!==Yt)throw new TypeError(Yt+" is not an object");return function G(Ae){return Ae instanceof se}(Yt)&&Yt.constructor===Ye?Yt:new Ye(function(Vt){return Yt.subscribe(Vt)})}if(M("iterator")&&(yt=U(Oe,V)))return new Ye(function(Vt){ce(function(){if(!Vt.closed){for(var jt,qt=function n(Ae,we){var ue=typeof Symbol<"u"&&Ae[Symbol.iterator]||Ae["@@iterator"];if(ue)return(ue=ue.call(Ae)).next.bind(ue);if(Array.isArray(Ae)||(ue=function r(Ae,we){if(Ae){if("string"==typeof Ae)return y(Ae,we);var ue=Object.prototype.toString.call(Ae).slice(8,-1);if("Object"===ue&&Ae.constructor&&(ue=Ae.constructor.name),"Map"===ue||"Set"===ue)return Array.from(Ae);if("Arguments"===ue||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ue))return y(Ae,we)}}(Ae))||we&&Ae&&"number"==typeof Ae.length){ue&&(Ae=ue);var Oe=0;return function(){return Oe>=Ae.length?{done:!0}:{done:!1,value:Ae[Oe++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(yt.call(Oe));!(jt=qt()).done;)if(Vt.next(jt.value),Vt.closed)return;Vt.complete()}})});if(Array.isArray(Oe))return new Ye(function(Vt){ce(function(){if(!Vt.closed){for(var qt=0;qt<Oe.length;++qt)if(Vt.next(Oe[qt]),Vt.closed)return;Vt.complete()}})});throw new TypeError(Oe+" is not observable")},Ae.of=function(){for(var Oe=arguments.length,Ye=new Array(Oe),yt=0;yt<Oe;yt++)Ye[yt]=arguments[yt];return new("function"==typeof this?this:Ae)(function(Vt){ce(function(){if(!Vt.closed){for(var qt=0;qt<Ye.length;++qt)if(Vt.next(Ye[qt]),Vt.closed)return;Vt.complete()}})})},g(Ae,null,[{key:N,get:function(){return this}}]),Ae}();A()&&Object.defineProperty(se,Symbol("extensions"),{value:{symbol:T,hostReportError:R},configurable:!0})},467:(_t,ge,f)=>{"use strict";function n(y,F,g,A,M,B,V){try{var T=y[B](V),N=T.value}catch(U){return void g(U)}T.done?F(N):Promise.resolve(N).then(A,M)}function r(y){return function(){var F=this,g=arguments;return new Promise(function(A,M){var B=y.apply(F,g);function V(N){n(B,A,M,V,T,"next",N)}function T(N){n(B,A,M,V,T,"throw",N)}V(void 0)})}}f.d(ge,{A:()=>r})},1635:(_t,ge,f)=>{"use strict";f.d(ge,{AQ:()=>He,C6:()=>r,Cl:()=>y,N3:()=>dt,Tt:()=>F,YH:()=>b,fX:()=>ot,sH:()=>U,xN:()=>se});var n=function(nt,ut){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,rt){tt.__proto__=rt}||function(tt,rt){for(var Ft in rt)Object.prototype.hasOwnProperty.call(rt,Ft)&&(tt[Ft]=rt[Ft])})(nt,ut)};function r(nt,ut){if("function"!=typeof ut&&null!==ut)throw new TypeError("Class extends value "+String(ut)+" is not a constructor or null");function tt(){this.constructor=nt}n(nt,ut),nt.prototype=null===ut?Object.create(ut):(tt.prototype=ut.prototype,new tt)}var y=function(){return y=Object.assign||function(ut){for(var tt,rt=1,Ft=arguments.length;rt<Ft;rt++)for(var Le in tt=arguments[rt])Object.prototype.hasOwnProperty.call(tt,Le)&&(ut[Le]=tt[Le]);return ut},y.apply(this,arguments)};function F(nt,ut){var tt={};for(var rt in nt)Object.prototype.hasOwnProperty.call(nt,rt)&&ut.indexOf(rt)<0&&(tt[rt]=nt[rt]);if(null!=nt&&"function"==typeof Object.getOwnPropertySymbols){var Ft=0;for(rt=Object.getOwnPropertySymbols(nt);Ft<rt.length;Ft++)ut.indexOf(rt[Ft])<0&&Object.prototype.propertyIsEnumerable.call(nt,rt[Ft])&&(tt[rt[Ft]]=nt[rt[Ft]])}return tt}function U(nt,ut,tt,rt){return new(tt||(tt=Promise))(function(Le,pe){function Pe(Fn){try{Pt(rt.next(Fn))}catch(ei){pe(ei)}}function et(Fn){try{Pt(rt.throw(Fn))}catch(ei){pe(ei)}}function Pt(Fn){Fn.done?Le(Fn.value):function Ft(Le){return Le instanceof tt?Le:new tt(function(pe){pe(Le)})}(Fn.value).then(Pe,et)}Pt((rt=rt.apply(nt,ut||[])).next())})}function b(nt,ut){var rt,Ft,Le,pe,tt={label:0,sent:function(){if(1&Le[0])throw Le[1];return Le[1]},trys:[],ops:[]};return pe={next:Pe(0),throw:Pe(1),return:Pe(2)},"function"==typeof Symbol&&(pe[Symbol.iterator]=function(){return this}),pe;function Pe(Pt){return function(Fn){return function et(Pt){if(rt)throw new TypeError("Generator is already executing.");for(;pe&&(pe=0,Pt[0]&&(tt=0)),tt;)try{if(rt=1,Ft&&(Le=2&Pt[0]?Ft.return:Pt[0]?Ft.throw||((Le=Ft.return)&&Le.call(Ft),0):Ft.next)&&!(Le=Le.call(Ft,Pt[1])).done)return Le;switch(Ft=0,Le&&(Pt=[2&Pt[0],Le.value]),Pt[0]){case 0:case 1:Le=Pt;break;case 4:return tt.label++,{value:Pt[1],done:!1};case 5:tt.label++,Ft=Pt[1],Pt=[0];continue;case 7:Pt=tt.ops.pop(),tt.trys.pop();continue;default:if(!(Le=(Le=tt.trys).length>0&&Le[Le.length-1])&&(6===Pt[0]||2===Pt[0])){tt=0;continue}if(3===Pt[0]&&(!Le||Pt[1]>Le[0]&&Pt[1]<Le[3])){tt.label=Pt[1];break}if(6===Pt[0]&&tt.label<Le[1]){tt.label=Le[1],Le=Pt;break}if(Le&&tt.label<Le[2]){tt.label=Le[2],tt.ops.push(Pt);break}Le[2]&&tt.ops.pop(),tt.trys.pop();continue}Pt=ut.call(nt,tt)}catch(Fn){Pt=[6,Fn],Ft=0}finally{rt=Le=0}if(5&Pt[0])throw Pt[1];return{value:Pt[0]?Pt[1]:void 0,done:!0}}([Pt,Fn])}}}function ot(nt,ut,tt){if(tt||2===arguments.length)for(var Le,rt=0,Ft=ut.length;rt<Ft;rt++)(Le||!(rt in ut))&&(Le||(Le=Array.prototype.slice.call(ut,0,rt)),Le[rt]=ut[rt]);return nt.concat(Le||Array.prototype.slice.call(ut))}function dt(nt){return this instanceof dt?(this.v=nt,this):new dt(nt)}function He(nt,ut,tt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ft,rt=tt.apply(nt,ut||[]),Le=[];return Ft={},pe("next"),pe("throw"),pe("return"),Ft[Symbol.asyncIterator]=function(){return this},Ft;function pe(gn){rt[gn]&&(Ft[gn]=function(pi){return new Promise(function(hi,xi){Le.push([gn,pi,hi,xi])>1||Pe(gn,pi)})})}function Pe(gn,pi){try{!function et(gn){gn.value instanceof dt?Promise.resolve(gn.value.v).then(Pt,Fn):ei(Le[0][2],gn)}(rt[gn](pi))}catch(hi){ei(Le[0][3],hi)}}function Pt(gn){Pe("next",gn)}function Fn(gn){Pe("throw",gn)}function ei(gn,pi){gn(pi),Le.shift(),Le.length&&Pe(Le[0][0],Le[0][1])}}function se(nt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var tt,ut=nt[Symbol.asyncIterator];return ut?ut.call(nt):(nt=function ce(nt){var ut="function"==typeof Symbol&&Symbol.iterator,tt=ut&&nt[ut],rt=0;if(tt)return tt.call(nt);if(nt&&"number"==typeof nt.length)return{next:function(){return nt&&rt>=nt.length&&(nt=void 0),{value:nt&&nt[rt++],done:!nt}}};throw new TypeError(ut?"Object is not iterable.":"Symbol.iterator is not defined.")}(nt),tt={},rt("next"),rt("throw"),rt("return"),tt[Symbol.asyncIterator]=function(){return this},tt);function rt(Le){tt[Le]=nt[Le]&&function(pe){return new Promise(function(Pe,et){!function Ft(Le,pe,Pe,et){Promise.resolve(et).then(function(Pt){Le({value:Pt,done:Pe})},pe)}(Pe,et,(pe=nt[Le](pe)).done,pe.value)})}}}"function"==typeof SuppressedError&&SuppressedError},7473:_t=>{"use strict";_t.exports=JSON.parse('{"fegeneral/accessibilityLink/toContent":"Go to content","fegeneral/accessibilityLink/toMainMenu":"Go to main menu","fegeneral/accessibilityLink/toSelfServiceMenu":"Go to the self-service menu","fegeneral/accordionContent/button/readMore":"Read more","fegeneral/backLink/feserviceprovider/consult/providers":"Tagasi n\xf5ustamisteenuste osutajad lehele","fegeneral/backLink/feserviceprovider/peersupport/providers":"Back to page peer support providers","fegeneral/backLink/feserviceprovider/reha/programmes":"Back to work-related rehabilitation programmes","fegeneral/backLink/feserviceprovider/reha/providers":"Back to the work-related rehabilitation service providers page","fegeneral/backLink/fetraining/trainer":"Return to search for training card trainers","fegeneral/backLink/fetraining/trainer/details":"Return to detailed view of trainer","fegeneral/backLink/fetraining/training":"Return to training card training search","fegeneral/backLink/fetraining/training/details":"Return to detailed view of training","fegeneral/backToTop":"Up","fegeneral/buttons/search":"Search","fegeneral/buttons/selfService":"Log in","fegeneral/carousel/slide/next":"Next banner","fegeneral/carousel/slide/previous":"Previous banner","fegeneral/component/address/error/addressInvalid":"Address not found","fegeneral/component/address/error/clarificationMaxLength":"The address description cannot exceed {{ max }} characters. Currently the length is {{ actual }}","fegeneral/component/formField/error/required":"The field is required","fegeneral/contacts/bureau/contacts/field/email":"Email","fegeneral/contacts/bureau/contacts/field/name":"Name","fegeneral/contacts/bureau/contacts/field/phone":"Phone","fegeneral/contacts/bureau/contacts/field/profession":"Position","fegeneral/contacts/bureau/contacts/heading":"Contacts","fegeneral/contacts/bureau/field/address":"Address","fegeneral/contacts/bureau/field/email":"Email","fegeneral/contacts/bureau/field/openHours":"Opening hours","fegeneral/contacts/bureau/field/phone":"Phone","fegeneral/contacts/bureau/field/skype":"Skype","fegeneral/contacts/bureau/heading":"About T\xf6\xf6tukassa","fegeneral/contacts/bureaus/heading":"Offices","fegeneral/contacts/department/field/email":"Email","fegeneral/contacts/department/field/name":"Name","fegeneral/contacts/department/field/phone":"Phone","fegeneral/contacts/department/field/profession":"Position","fegeneral/contacts/heading":"Employees","fegeneral/contacts/mainOffice/generalContact":"<p>Phone: <strong>777 3000</strong><br>\\nE-mail:<strong> <a href=\\"mailto:info@tootukassa.ee\\">info@tootukassa.ee</a></strong><br>\\n<br>\\nIf you call us from abroad, please dial the number +372 777 3000<br>\\nThe phone answers your calls Mon-Thr 8:15 - 16:30, Fri 8:15 - 15:00, last Friday of the month 8:15 - 12:00<br>\\nThe chat is open Mon-Thr 8:15 - 16:30, Fri 8:15- 15:00, last Friday of the month 8:15 - 12:00<br>\\n<br>\\n<strong>Additional information about fees:</strong><br>\\nFees apply according to your service provider\'s pricelist. \\n<br><br><strong>NB! From October 31, the Lillek\xfcla office is closed and customers are served in the Tondi, T\xf5nism\xe4e and T\xe4hesaju offices.</strong></p>\\n","fegeneral/contacts/region/37":"Tallinn ja Harjumaa","fegeneral/contacts/region/39":"Hiiumaa","fegeneral/contacts/region/44":"Ida-Virumaa","fegeneral/contacts/region/49":"J\xf5gevamaa","fegeneral/contacts/region/51":"J\xe4rvamaa","fegeneral/contacts/region/57":"L\xe4\xe4nemaa","fegeneral/contacts/region/59":"L\xe4\xe4ne-Virumaa","fegeneral/contacts/region/65":"P\xf5lvamaa","fegeneral/contacts/region/67":"P\xe4rnumaa","fegeneral/contacts/region/70":"Raplamaa","fegeneral/contacts/region/74":"Saaremaa","fegeneral/contacts/region/78":"Tartumaa","fegeneral/contacts/region/82":"Valgamaa","fegeneral/contacts/region/84":"Viljandimaa","fegeneral/contacts/region/86":"V\xf5rumaa","fegeneral/contactsMap/tooltip/phone":"Phone","fegeneral/contactsMap/tooltip/email":"Email","fegeneral/contactsMap/tooltip/skype":"Skype","fegeneral/content/fileArea/heading":"Forms and documents","fegeneral/cookie/compliance/popup/info":"The Unemployment Insurance Fund\'s website uses cookies. You can opt out of cookies at any time, by changing the browser settings of the device you are using and deleting the saved cookies. Opting out of cookies may limit your ability to use the website.","fegeneral/cookie/compliance/popup/info/agree":"Understood","fegeneral/cookie/compliance/popup/info/moreinfo":"More information","fegeneral/datepicker/button/close":"Close","fegeneral/events/backlink":"Back to the list of events","fegeneral/events/filter/pastevents":"Past events","fegeneral/events/filter/upcoming":"Upcoming events","fegeneral/events/item/date":"Event time","fegeneral/events/item/location":"Event location","fegeneral/events/item/readmore":"Read more","fegeneral/events/item/targetgroups":"Target groups","fegeneral/events/title":"Events and fairs","fegeneral/eventsBlock/viewAllEvents":"See all events","fegeneral/file/upload/maxNumberOfFiles":"The maximum number of documents you can add is {{number}}","fegeneral/file/upload/maxSizeExceeded":"You tried to upload a file that is too large, the maximum file size allowed is 2Mb","fegeneral/file/upload/notAllowedType":"This file type is not allowed to be uploaded.","fegeneral/filter/period/end/placeholder":"To","fegeneral/filter/period/start/placeholder":"From","fegeneral/footer/social/facebook/title":"T\xf6\xf6tukassa\'s Facebook","fegeneral/footer/social/instagram/title":"T\xf6\xf6tukassa\'s Instagram","fegeneral/footer/social/linkedin/title":"T\xf6\xf6tukassa\'s LinkedIn","fegeneral/footer/social/phone/title":"Call the T\xf6\xf6tukass","fegeneral/footer/social/phone/screenreader":"Phone","fegeneral/footer/social/youtube/title":"T\xf6\xf6tukassa\'s Youtube","fegeneral/form/error/invalid":"The form contains errors. Please check the data.","fegeneral/frontpage/backlink":"Home","fegeneral/frontpage/news/error":"Error loading news","fegeneral/frontpage/news/loading":"Loading...","fegeneral/frontpage/news/notFound":"No news found","fegeneral/frontpage/news/title":"News","fegeneral/frontpage/news/viewMore":"All news","fegeneral/frontpage/shortcuts/title":"Find quickly","fegeneral/header/roleSwitcher/button/logout":"Log out","fegeneral/header/roleSwitcher/myRoles":"My roles","fegeneral/header/roleSwitcher/myCompanies":"My companies","fegeneral/header/roleSwitcher/button/choose":"Select","fegeneral/header/roleSwitcher/button/cancel":"Cancel","fegeneral/header/search/placeholder":"Internal website search","fegeneral/header/search/screenreader":"Internal website search","fegeneral/mobileMenu/close":"Close menu","fegeneral/mobileMenu/menu":"Menu","fegeneral/mobileMenu/userMenu":"User","fegeneral/news/backlink":"Back to the news list","fegeneral/news/filter/button/empty":"Cancel","fegeneral/news/filter/button/search":"Search","fegeneral/news/filter/period":"Period","fegeneral/news/filter/period/end/placeholder":"Until","fegeneral/news/filter/period/start/placeholder":"From","fegeneral/news/item/readMoreArticle":"Read more","fegeneral/news/item/readmore":"Read more","fegeneral/news/notfound":"No news found with these search terms","fegeneral/news/title":"News","fegeneral/paginator/loading":"Loading...","fegeneral/paginator/loadmore":"Load more","fegeneral/search/heading":"Search this site","fegeneral/search/minXcharacters":"Please enter at least {{minLength}} characters","fegeneral/search/placeholder":"Search this site","fegeneral/search/sr-search":"Search","fegeneral/header/mainMenu/selfservice":"e-t\xf6\xf6tukassa","fegeneral/tooltip/close":"Close","fegeneral/tooltip/remove":"Remove","feui/fileUpload/defaultError":"Failed to upload file.","feui/fileUpload/deleteError":"Failed to delete file!","feui/fileUpload/fileTooBigError":"The file is too large, please check the file size!","feui/fileUpload/maxFilesReachedError":"The file cannot be added. Too many files.","ROUTES":{"andmekaitse":"dataprotection","arhiiv":"archive","artikkel":"article","baromeeter":"barometer","esindused":"offices","juhatus-ja-noukogu":"management-board-and-supervisory-board","kaart":"map","keskkontor":"head-office","kogemusnoustaja":"peersupport","kontaktid":"contacts","koolitajad":"trainers","koolitused":"trainings","kysigekarjaarispetsialistilt":"ask-career-specialist","metoodika":"method","noustamisteenused":"counsellingservices","otsing":"search","poster":"poster","programmid":"programmes","rehabilitatsioon":"rehabilitation","sobivad":"matching","statistika":"statistika","sundmused":"events","tabel":"table","teenused":"services","toopakkumised":"joboffers","uudised":"news"},"fegeneral/header/roleSwitcher/myself":"I as a private individual","fegeneral/buttons/logout":"Log out","fegeneral/header/backlink/portal":"Back to e-t\xf6\xf6tukassa service","fegeneral/header/backlink/selfservice":"Back to the information portal","fegeneral/footer/social/vimeo/title":"Vimeo","fegeneral/header/roleSwitcher/myRepresentatives":"My represented entities","fegeneral/header/roleSwitcher/rememberMe":"For future logins to self-service, log in automatically with the selected role."}')},3647:_t=>{"use strict";_t.exports=JSON.parse('{"fegeneral/accessibilityLink/toContent":"Liigu sisu juurde","fegeneral/accessibilityLink/toMainMenu":"Liigu peamen\xfc\xfc juurde","fegeneral/accessibilityLink/toSelfServiceMenu":"Liigu iseteeninduse men\xfc\xfc juurde","fegeneral/accordionContent/button/readMore":"Loe rohkem","fegeneral/backLink/feserviceprovider/consult/providers":"Tagasi n\xf5ustamisteenuste osutajad lehele","fegeneral/backLink/feserviceprovider/peersupport/providers":"Tagasi kogemusn\xf5ustamise osutajad lehele","fegeneral/backLink/feserviceprovider/reha/programmes":"Tagasi t\xf6\xf6alase rehabilitatsiooni programmide lehele","fegeneral/backLink/feserviceprovider/reha/providers":"Tagasi t\xf6\xf6alase rehabilitatsiooni osutajad lehele","fegeneral/backLink/fetraining/trainer":"Tagasi koolituskaardi koolitajate otsingusse","fegeneral/backLink/fetraining/trainer/details":"Tagasi koolitaja detailvaate lehele","fegeneral/backLink/fetraining/training":"Tagasi koolituskaardi koolituste otsingusse","fegeneral/backLink/fetraining/training/details":"Tagasi koolituse detailvaate lehele","fegeneral/backToTop":"\xdcles","fegeneral/buttons/search":"Otsi","fegeneral/buttons/selfService":"E-t\xf6\xf6tukassasse","fegeneral/buttons/logout":"Logi v\xe4lja","fegeneral/carousel/slide/next":"J\xe4rgmine reklaamriba","fegeneral/carousel/slide/previous":"Eelmine reklaamriba","fegeneral/component/address/error/addressInvalid":"Aadressi ei leitud.","fegeneral/component/address/error/clarificationMaxLength":"Aadressi t\xe4psustus ei tohi olla pikem kui {{ max }} t\xe4hte. Hetkel on pikkus {{ actual }}.","fegeneral/component/formField/error/required":"V\xe4li on kohustuslik","fegeneral/contacts/bureau/contacts/field/email":"E-post","fegeneral/contacts/bureau/contacts/field/name":"Nimi","fegeneral/contacts/bureau/contacts/field/phone":"Telefon","fegeneral/contacts/bureau/contacts/field/profession":"Ametikoht","fegeneral/contacts/bureau/contacts/heading":"Kontaktid","fegeneral/contacts/bureau/field/address":"Aadress","fegeneral/contacts/bureau/field/email":"E-post","fegeneral/contacts/bureau/field/openHours":"Lahtiolekuajad","fegeneral/contacts/bureau/field/phone":"Telefon","fegeneral/contacts/bureau/field/skype":"Skype","fegeneral/contacts/bureau/heading":"T\xf6\xf6tukassast","fegeneral/contacts/bureaus/heading":"T\xf6\xf6tukassa esindused","fegeneral/contacts/department/field/email":"E-post","fegeneral/contacts/department/field/name":"Nimi","fegeneral/contacts/department/field/phone":"Telefon","fegeneral/contacts/department/field/profession":"Ametikoht","fegeneral/contacts/heading":"T\xf6\xf6tajad","fegeneral/contacts/mainOffice/generalContact":"<p>T\xf6\xf6tukassa infotelefon: <strong>777 3000</strong><br>\\n E-post:<strong> <a href=\\"mailto:info@tootukassa.ee\\">info@tootukassa.ee</a></strong><br>\\n <br>\\n V\xe4lismaalt helistades on number +372 777 3000<br>\\n Infotelefon vastab teie k\xf5nedele E-N 8:15 \u2013 16:30, R 8:15 \u2013 15:00, kuu viimasel reedel 8:15 \u2013 12:00<br>\\n Veebivestlus on avatud E-N 8:15 \u2013 16:30, R 8:15 \u2013 15:00, kuu viimasel reedel 8:15 \u2013 12:00\\n</p>\\n\\n<p><strong>Hinnainfo:</strong><br>\\n Numbrile 777 3000 helistamine on teie sideoperaatori paketip\xf5hise tavahinnaga.<br>\\n <br><strong>NB! 31. oktoobrist on Lillek\xfcla b\xfcroo suletud ja kliente teenindatakse Tondi, T\xf5nism\xe4e ja T\xe4hesaju b\xfcroos.</strong></p>","fegeneral/contactsMap/tooltip/email":"E-post","fegeneral/contacts/region/37":"Tallinn ja Harjumaa","fegeneral/contacts/region/39":"Hiiumaa","fegeneral/contacts/region/44":"Ida-Virumaa","fegeneral/contacts/region/49":"J\xf5gevamaa","fegeneral/contacts/region/51":"J\xe4rvamaa","fegeneral/contacts/region/57":"L\xe4\xe4nemaa","fegeneral/contacts/region/59":"L\xe4\xe4ne-Virumaa","fegeneral/contacts/region/65":"P\xf5lvamaa","fegeneral/contacts/region/67":"P\xe4rnumaa","fegeneral/contacts/region/70":"Raplamaa","fegeneral/contacts/region/74":"Saaremaa","fegeneral/contacts/region/78":"Tartumaa","fegeneral/contacts/region/82":"Valgamaa","fegeneral/contacts/region/84":"Viljandimaa","fegeneral/contacts/region/86":"V\xf5rumaa","fegeneral/contactsMap/tooltip/phone":"Telefon","fegeneral/contactsMap/tooltip/skype":"Skype","fegeneral/content/fileArea/heading":"Vormid ja dokumendid","fegeneral/cookie/compliance/popup/info":"T\xf6\xf6tukassa veebilehel kasutatakse k\xfcpsiseid. K\xfcpsistest saate loobuda igal ajal, muutes kasutatava seadme veebilehitseja seadistusi ja kustutades salvestatud k\xfcpsised. K\xfcpsistest loobumine v\xf5ib piirata veebilehe kasutusv\xf5imalusi.","fegeneral/cookie/compliance/popup/info/agree":"Sain aru","fegeneral/cookie/compliance/popup/info/moreinfo":"Rohkem infot","fegeneral/datepicker/button/close":"Sulge","fegeneral/events/backlink":"Tagasi s\xfcndmuste nimekirja","fegeneral/events/filter/pastevents":"Toimunud s\xfcndmused","fegeneral/events/filter/upcoming":"Eesolevad s\xfcndmused","fegeneral/events/item/date":"Toimumise aeg","fegeneral/events/item/location":"Toimumise koht","fegeneral/events/item/readmore":"Loe l\xe4hemalt","fegeneral/events/item/targetgroups":"Sihtr\xfchmad","fegeneral/events/title":"S\xfcndmused ja messid","fegeneral/eventsBlock/viewAllEvents":"Vaata k\xf5iki s\xfcndmusi","fegeneral/file/upload/maxNumberOfFiles":"Maksimaalne lisatavate dokumentide arv on {{number}}","fegeneral/file/upload/maxSizeExceeded":"\xdcritasite \xfcles laadida liiga suurt faili, maksimaalne lubatud faili suurus on 2Mb","fegeneral/file/upload/notAllowedType":"Seda liiki faili pole lubatud \xfcles laadida.","fegeneral/filter/period/end/placeholder":"Kuni","fegeneral/filter/period/start/placeholder":"Alates","fegeneral/footer/social/facebook/title":"T\xf6\xf6tukassa Facebook","fegeneral/footer/social/instagram/title":"T\xf6\xf6tukassa Instagram","fegeneral/footer/social/linkedin/title":"T\xf6\xf6tukassa LinkedIn","fegeneral/footer/social/phone/screenreader":"Telefon","fegeneral/footer/social/phone/title":"Helista t\xf6\xf6tukassasse","fegeneral/footer/social/vimeo/title":"Vimeo","fegeneral/footer/social/youtube/title":"T\xf6\xf6tukassa Youtube","fegeneral/form/error/invalid":"Vormil on vead. Palun kontrollige andmeid.","fegeneral/frontpage/backlink":"Tagasi avalehele","fegeneral/frontpage/news/error":"Viga uudiste laadimisel","fegeneral/frontpage/news/loading":"Laen...","fegeneral/frontpage/news/notFound":"Uudiseid ei leitud","fegeneral/frontpage/news/title":"Uudised","fegeneral/frontpage/news/viewMore":"K\xf5ik uudised","fegeneral/frontpage/shortcuts/title":"Otseteed","fegeneral/header/backlink/portal":"Tagasi e-t\xf6\xf6tukassasse","fegeneral/header/backlink/selfservice":"Tagasi infoportaali","fegeneral/header/mainMenu/selfservice":"E-t\xf6\xf6tukassa","fegeneral/header/roleSwitcher/button/logout":"V\xe4lju","fegeneral/header/roleSwitcher/myself":"Mina eraisikuna","fegeneral/header/roleSwitcher/myRepresentatives":"Minu esindatavad","fegeneral/header/roleSwitcher/rememberMe":"J\xe4rgmistel iseteeninduse sisenemistel logi automaatselt sisse valitud rollis.","fegeneral/header/roleSwitcher/myRoles":"Minu rollid","fegeneral/header/roleSwitcher/myCompanies":"Minu ettev\xf5tted","fegeneral/header/roleSwitcher/button/choose":"Vali","fegeneral/header/roleSwitcher/button/cancel":"Loobu","fegeneral/header/search/placeholder":"Otsi kodulehe sisust","fegeneral/header/search/screenreader":"Otsi kodulehe sisust","fegeneral/mobileMenu/close":"Sulge men\xfc\xfc","fegeneral/mobileMenu/menu":"Men\xfc\xfc","fegeneral/mobileMenu/userMenu":"Kasutaja","fegeneral/news/backlink":"Tagasi uudiste nimekirja","fegeneral/news/filter/button/empty":"T\xfchjenda","fegeneral/news/filter/button/search":"Otsi","fegeneral/news/filter/period":"Periood","fegeneral/news/filter/period/end/placeholder":"Kuni","fegeneral/news/filter/period/start/placeholder":"Alates","fegeneral/news/item/readMoreArticle":"Loe l\xe4hemalt artiklit","fegeneral/news/item/readmore":"Loe l\xe4hemalt","fegeneral/news/notfound":"Otsingule vastavaid uudiseid ei leitud","fegeneral/news/title":"Uudised","fegeneral/paginator/loading":"Laen...","fegeneral/paginator/loadmore":"Laadi veel","fegeneral/search/heading":"Otsi kodulehe sisust","fegeneral/search/minXcharacters":"Palun sisesta v\xe4hemalt {{minLength}} t\xe4hem\xe4rki","fegeneral/search/placeholder":"Otsi kodulehe sisust","fegeneral/search/sr-search":"Otsi","fegeneral/tooltip/close":"Sulge","fegeneral/tooltip/remove":"Eemalda","feui/fileUpload/defaultError":"Faili \xfcleslaadimine eba\xf5nnestus!","feui/fileUpload/deleteError":"Faili kustutamine eba\xf5nnestus!","feui/fileUpload/fileTooBigError":"Fail on liiga suur, palun kontrolli faili suurust!","feui/fileUpload/maxFilesReachedError":"Faili ei saa lisada. Liiga palju faile.","ROUTES":{"andmekaitse":"andmekaitse","arhiiv":"arhiiv","artikkel":"artikkel","baromeeter":"baromeeter","esindused":"esindused","juhatus-ja-noukogu":"juhatus-ja-noukogu","kaart":"kaart","keskkontor":"keskkontor","kogemusnoustaja":"kogemusnoustaja","kontaktid":"kontaktid","koolitajad":"koolitajad","koolitused":"koolitused","kysigekarjaarispetsialistilt":"kysige-karjaarispetsialistilt","metoodika":"metoodika","noustamisteenused":"noustamisteenused","otsing":"otsing","poster":"poster","programmid":"programmid","rehabilitatsioon":"rehabilitatsioon","sobivad":"sobivad","statistika":"statistika","sundmused":"sundmused","tabel":"tabel","teenused":"teenused","toopakkumised":"toopakkumised","uudised":"uudised"}}')},4787:_t=>{"use strict";_t.exports=JSON.parse('{"fegeneral/accessibilityLink/toContent":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044e","fegeneral/accessibilityLink/toMainMenu":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043c\u0435\u043d\u044e","fegeneral/accessibilityLink/toSelfServiceMenu":"\u041f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u043c\u0435\u043d\u044e \u0441\u0430\u043c\u043e\u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f","fegeneral/accordionContent/button/readMore":"\u0427\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435","fegeneral/backLink/feserviceprovider/consult/providers":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u043e\u0441\u0442\u0430\u0432\u0449\u0438\u043a\u043e\u0432 \u0443\u0441\u043b\u0443\u0433","fegeneral/backLink/feserviceprovider/peersupport/providers":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u043e\u0441\u0442\u0430\u0432\u0449\u0438\u043a\u043e\u0432 \u0443\u0441\u043b\u0443\u0433\u0438 \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u043b\u0438\u0447\u043d\u043e\u043c \u043e\u043f\u044b\u0442\u0435","fegeneral/backLink/feserviceprovider/reha/programmes":"\u041d\u0430\u0437\u0430\u0434 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0442\u0440\u0443\u0434\u043e\u0432\u043e\u0439 \u0440\u0435\u0430\u0431\u0438\u043b\u0438\u0442\u0430\u0446\u0438\u0438","fegeneral/backLink/feserviceprovider/reha/providers":"\u041d\u0430\u0437\u0430\u0434 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u043e\u0441\u0442\u0430\u0432\u0449\u0438\u043a\u043e\u0432 \u0443\u0441\u043b\u0443\u0433\u0438 \u0442\u0440\u0443\u0434\u043e\u0432\u043e\u0439 \u0440\u0435\u0430\u0431\u0438\u043b\u0438\u0442\u0430\u0446\u0438\u0438","fegeneral/backLink/fetraining/trainer":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u043a\u0430\u0440\u0442\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u0438\u0441\u043a\u0443 \u0443\u0447\u0435\u0431\u043d\u043e\u0433\u043e \u0437\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u044f","fegeneral/backLink/fetraining/trainer/details":"\u041d\u0430\u0437\u0430\u0434 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0431\u0437\u043e\u0440\u0430 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f","fegeneral/backLink/fetraining/training":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u043a\u0430\u0440\u0442\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u0438\u0441\u043a\u0443 \u043a\u0443\u0440\u0441\u043e\u0432","fegeneral/backLink/fetraining/training/details":"\u041d\u0430\u0437\u0430\u0434 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0431\u0437\u043e\u0440\u0430 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f","fegeneral/backToTop":"\u041d\u0430\u0432\u0435\u0440\u0445","fegeneral/buttons/search":"\u0418\u0441\u043a\u0430\u0442\u044c","fegeneral/buttons/selfService":"\u0412\u043e\u0439\u0442\u0438","fegeneral/carousel/slide/next":"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0439 \u0431\u0430\u043d\u043d\u0435\u0440","fegeneral/carousel/slide/previous":"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0439 \u0431\u0430\u043d\u043d\u0435\u0440","fegeneral/component/address/error/addressInvalid":"\u0410\u0434\u0440\u0435\u0441 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d.","fegeneral/component/address/error/clarificationMaxLength":"\u0423\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 {{ max }} \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0431\u044a\u0435\u043c \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 {{ actual }}","fegeneral/component/formField/error/required":"\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043b\u0435","fegeneral/contacts/bureau/contacts/field/email":"\u042d-\u043f\u043e\u0447\u0442\u0430","fegeneral/contacts/bureau/contacts/field/name":"\u0418\u043c\u044f","fegeneral/contacts/bureau/contacts/field/phone":"\u0422\u0435\u043b\u0435\u0444\u043e\u043d","fegeneral/contacts/bureau/contacts/field/profession":"\u0414\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c","fegeneral/contacts/bureau/contacts/heading":"\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b","fegeneral/contacts/bureau/field/address":"\u0410\u0434\u0440\u0435\u0441","fegeneral/contacts/bureau/field/email":"\u042d-\u043f\u043e\u0447\u0442\u0430","fegeneral/contacts/bureau/field/openHours":"\u0412\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b","fegeneral/contacts/bureau/field/phone":"\u0422\u0435\u043b\u0435\u0444\u043e\u043d","fegeneral/contacts/bureau/field/skype":"Skype","fegeneral/contacts/bureau/heading":"\u041e \u041a\u0430\u0441\u0441\u0435 \u043f\u043e \u0431\u0435\u0437\u0440\u0430\u0431\u043e\u0442\u0438\u0446\u0435","fegeneral/contacts/bureaus/heading":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430","fegeneral/contacts/department/field/email":"\u042d-\u043f\u043e\u0447\u0442\u0430","fegeneral/contacts/department/field/name":"\u0418\u043c\u044f","fegeneral/contacts/department/field/phone":"\u0422\u0435\u043b\u0435\u0444\u043e\u043d","fegeneral/contacts/department/field/profession":"\u0414\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c","fegeneral/contacts/heading":"\u0421\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0438","fegeneral/contacts/mainOffice/generalContact":"<p>\u0422\u0435\u043b\u0435\u0444\u043e\u043d: <strong>777 3000</strong> <br>\\n\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u043f\u043e\u0447\u0442\u0430: <a href=\\"mailto:info@tootukassa.ee\\"><strong>info@tootukassa.ee</strong></a><br>\\n<br>\\n\u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u0432\u043e\u043d\u0438\u0442\u0435 \u043d\u0430\u043c \u0438\u0437-\u0437\u0430 \u0433\u0440\u0430\u043d\u0438\u0446\u044b, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043d\u0430\u0431\u0435\u0440\u0438\u0442\u0435 \u043d\u043e\u043c\u0435\u0440 +372 777 3000<br>\\n\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u043d\u0430 \u0432\u0430\u0448\u0438 \u0437\u0432\u043e\u043d\u043a\u0438 \u041f\u043d-\u0427\u0442 8:15 - 16:30, \u041f\u0442 8:15 - 15:00, \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043f\u044f\u0442\u043d\u0438\u0446\u0430 \u043c\u0435\u0441\u044f\u0446\u0430 8:15 - 12:00<br>\\n\u0427\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u041f\u043d-\u0427\u0442 8:15 - 16:30, \u041f\u0442 8:15- 15:00, \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043f\u044f\u0442\u043d\u0438\u0446\u0430 \u043c\u0435\u0441\u044f\u0446\u0430 8:15 - 12:00<br>\\n<br>\\n<strong>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0442\u0430\u0440\u0438\u0444\u0430\u0445:</strong><br>\\n\u041f\u0440\u0438 \u0437\u0432\u043e\u043d\u043a\u0435 \u043d\u0430 \u043d\u043e\u043c\u0435\u0440 777 3000 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0446\u0435\u043d\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u0430\u043c\u0438 \u043f\u0430\u043a\u0435\u0442\u0430 \u0441\u0432\u044f\u0437\u0438.\\n<br><br><strong>NB! \u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 31 \u043e\u043a\u0442\u044f\u0431\u0440\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e \u0432 \u041b\u0438\u043b\u043b\u0435\u043a\u044e\u043b\u0430 \u0437\u0430\u043a\u0440\u044b\u0442\u043e, \u0430 \u043f\u0440\u0438\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0432\u0435\u0434\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430\u0445 \u0422\u043e\u043d\u0434\u0438, \u0422\u044b\u043d\u0438\u0441\u043c\u044f\u044d \u0438 \u0422\u044f\u0445\u0435\u0441\u0430\u044e.</strong></p>\\n","fegeneral/contacts/region/37":"Tallinn ja Harjumaa","fegeneral/contacts/region/39":"Hiiumaa","fegeneral/contacts/region/44":"Ida-Virumaa","fegeneral/contacts/region/49":"J\xf5gevamaa","fegeneral/contacts/region/51":"J\xe4rvamaa","fegeneral/contacts/region/57":"L\xe4\xe4nemaa","fegeneral/contacts/region/59":"L\xe4\xe4ne-Virumaa","fegeneral/contacts/region/65":"P\xf5lvamaa","fegeneral/contacts/region/67":"P\xe4rnumaa","fegeneral/contacts/region/70":"Raplamaa","fegeneral/contacts/region/74":"Saaremaa","fegeneral/contacts/region/78":"Tartumaa","fegeneral/contacts/region/82":"Valgamaa","fegeneral/contacts/region/84":"Viljandimaa","fegeneral/contacts/region/86":"V\xf5rumaa","fegeneral/contactsMap/tooltip/phone":"\u0422\u0435\u043b\u0435\u0444\u043e\u043d","fegeneral/contactsMap/tooltip/email":"\u042d-\u043f\u043e\u0447\u0442\u0430","fegeneral/contactsMap/tooltip/skype":"Skype","fegeneral/content/fileArea/heading":"\u0424\u043e\u0440\u043c\u044b \u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b","fegeneral/cookie/compliance/popup/info":"\u0412\u0435\u0431-\u0441\u0430\u0439\u0442 \u041a\u0430\u0441\u0441\u044b \u043f\u043e \u0431\u0435\u0437\u0440\u0430\u0431\u043e\u0442\u0438\u0446\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0444\u0430\u0439\u043b\u044b cookie. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0444\u0430\u0439\u043b\u043e\u0432 cookie \u0432 \u043b\u044e\u0431\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0432\u0430\u043c\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0443\u0434\u0430\u043b\u0438\u0432 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b cookie. \u041e\u0442\u043a\u0430\u0437 \u043e\u0442 \u0444\u0430\u0439\u043b\u043e\u0432 cookie \u043c\u043e\u0436\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0432\u0430\u0448\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0430.","fegeneral/cookie/compliance/popup/info/agree":"\u041f\u043e\u043d\u044f\u0442\u043d\u043e","fegeneral/cookie/compliance/popup/info/moreinfo":"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f","fegeneral/datepicker/button/close":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","fegeneral/events/backlink":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u0441\u043f\u0438\u0441\u043a\u0443 \u0441\u043e\u0431\u044b\u0442\u0438\u0439","fegeneral/events/filter/pastevents":"\u0421\u043e\u0441\u0442\u043e\u044f\u0432\u0448\u0438\u0435\u0441\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u044f","fegeneral/events/filter/upcoming":"\u041f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u0449\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f","fegeneral/events/item/date":"\u0412\u0440\u0435\u043c\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u044f","fegeneral/events/item/location":"\u041c\u0435\u0441\u0442\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f","fegeneral/events/item/readmore":"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435","fegeneral/events/item/targetgroups":"\u0426\u0435\u043b\u0435\u0432\u044b\u0435 \u0433\u0440\u0443\u043f\u043f\u044b","fegeneral/events/title":"\u0421\u043e\u0431\u044b\u0442\u0438\u044f \u0438 \u044f\u0440\u043c\u0430\u0440\u043a\u0438","fegeneral/eventsBlock/viewAllEvents":"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f","fegeneral/file/upload/maxNumberOfFiles":"\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432: {{number}}","fegeneral/file/upload/maxSizeExceeded":"\u0412\u044b \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0444\u0430\u0439\u043b, \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0444\u0430\u0439\u043b\u0430 - 2 \u041c\u0431","fegeneral/file/upload/notAllowedType":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u044d\u0442\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u0430.","fegeneral/filter/period/end/placeholder":"\u0414\u043e","fegeneral/filter/period/start/placeholder":"\u0421","fegeneral/footer/social/facebook/title":"Facebook \u041a\u0430\u0441\u0441\u044b \u043f\u043e \u0431\u0435\u0437\u0440\u0430\u0431\u043e\u0442\u0438\u0446\u0435","fegeneral/footer/social/instagram/title":"Instagram \u041a\u0430\u0441\u0441\u044b \u043f\u043e \u0431\u0435\u0437\u0440\u0430\u0431\u043e\u0442\u0438\u0446\u0435","fegeneral/footer/social/linkedin/title":"LinkedIn \u041a\u0430\u0441\u0441\u044b \u043f\u043e \u0431\u0435\u0437\u0440\u0430\u0431\u043e\u0442\u0438\u0446\u0435","fegeneral/footer/social/phone/title":"\u041f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u0435 \u0432 \u041a\u0430\u0441\u0441\u0443 \u043f\u043e \u0431\u0435\u0437\u0440\u0430\u0431\u043e\u0442\u0438\u0446\u0435","fegeneral/footer/social/phone/screenreader":"\u0422\u0435\u043b\u0435\u0444\u043e\u043d","fegeneral/footer/social/youtube/title":"Youtube \u041a\u0430\u0441\u0441\u044b \u043f\u043e \u0431\u0435\u0437\u0440\u0430\u0431\u043e\u0442\u0438\u0446\u0435","fegeneral/form/error/invalid":"\u0412 \u0444\u043e\u0440\u043c\u0435 \u0435\u0441\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435.","fegeneral/frontpage/backlink":"\u041d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443","fegeneral/frontpage/news/error":"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439","fegeneral/frontpage/news/loading":"\u0418\u0434\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430...","fegeneral/frontpage/news/notFound":"\u041d\u043e\u0432\u043e\u0441\u0442\u0435\u0439 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e","fegeneral/frontpage/news/title":"\u041d\u043e\u0432\u043e\u0441\u0442\u0438","fegeneral/frontpage/news/viewMore":"\u0412\u0441\u0435 \u043d\u043e\u0432\u043e\u0441\u0442\u0438","fegeneral/frontpage/shortcuts/title":"\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u043e\u0438\u0441\u043a","fegeneral/header/roleSwitcher/button/logout":"\u0412\u044b\u0439\u0442\u0438","fegeneral/header/roleSwitcher/myRoles":"\u041c\u043e\u0438 \u0440\u043e\u043b\u0438","fegeneral/header/roleSwitcher/myCompanies":"\u041c\u043e\u0438 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f\u0442\u0438\u044f","fegeneral/header/roleSwitcher/button/choose":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c","fegeneral/header/roleSwitcher/button/cancel":"\u041e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f","fegeneral/header/search/placeholder":"\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0443","fegeneral/header/search/screenreader":"\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0443","fegeneral/mobileMenu/close":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043c\u0435\u043d\u044e","fegeneral/mobileMenu/menu":"\u041c\u0435\u043d\u044e","fegeneral/mobileMenu/userMenu":"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c","fegeneral/news/backlink":"\u041d\u0430\u0437\u0430\u0434 \u043a \u0441\u043f\u0438\u0441\u043a\u0443 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439","fegeneral/news/filter/button/empty":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c","fegeneral/news/filter/button/search":"\u0418\u0441\u043a\u0430\u0442\u044c","fegeneral/news/filter/period":"\u041f\u0435\u0440\u0438\u043e\u0434","fegeneral/news/filter/period/end/placeholder":"\u0414\u043e","fegeneral/news/filter/period/start/placeholder":"\u041e\u0442","fegeneral/news/item/readMoreArticle":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u0432 \u0441\u043f\u0438\u0441\u043e\u043a","fegeneral/news/item/readmore":"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435","fegeneral/news/notfound":"\u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0432\u0430\u0448\u0435\u043c\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0443 \u043d\u043e\u0432\u043e\u0441\u0442\u0438 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u044b","fegeneral/news/title":"\u041d\u043e\u0432\u043e\u0441\u0442\u0438","fegeneral/paginator/loading":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...","fegeneral/paginator/loadmore":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435","fegeneral/search/heading":"\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0443","fegeneral/search/minXcharacters":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 {{minLength}} \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432","fegeneral/search/placeholder":"\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0443","fegeneral/search/sr-search":"\u0418\u0441\u043a\u0430\u0442\u044c","fegeneral/header/mainMenu/selfservice":"e-t\xf6\xf6tukassa","fegeneral/tooltip/close":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","fegeneral/tooltip/remove":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","feui/fileUpload/defaultError":"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b.","feui/fileUpload/deleteError":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c!","feui/fileUpload/fileTooBigError":"\u0424\u0430\u0439\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0440\u0430\u0437\u043c\u0435\u0440 \u0444\u0430\u0439\u043b\u0430!","feui/fileUpload/maxFilesReachedError":"\u0424\u0430\u0439\u043b \u043d\u0435\u043b\u044c\u0437\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c. \u0421\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u043e\u0432.","ROUTES":{"andmekaitse":"zashchita-dannykh","arhiiv":"arhiv","artikkel":"statya","baromeeter":"barometr","esindused":"ofisy","juhatus-ja-noukogu":"pravlenie-i-sovet","kaart":"karta","keskkontor":"golovnoy-ofis","kogemusnoustaja":"konsultanty-na-osnove-opyta","kontaktid":"kontakt","koolitajad":"organizatory-obucheniya","koolitused":"obucheniye","kysigekarjaarispetsialistilt":"zadayte-vopros-specialistu-po-karere","metoodika":"metodika","noustamisteenused":"konsultacionnyie-uslug","otsing":"poisk","poster":"plakat","programmid":"programmy","rehabilitatsioon":"reabilitatsiya","sobivad":"podhodyashiy","statistika":"statistika","sundmused":"sobytiya","tabel":"tablitsa","teenused":"uslugi","toopakkumised":"vakansii","uudised":"novosti"},"fegeneral/buttons/logout":"\u0412\u044b\u0439\u0442\u0438","fegeneral/footer/social/vimeo/title":"Vimeo","fegeneral/header/roleSwitcher/myself":"\u042f \u043a\u0430\u043a \u0447\u0430\u0441\u0442\u043d\u043e\u0435 \u043b\u0438\u0446\u043e","fegeneral/header/backlink/portal":"\u041d\u0430\u0437\u0430\u0434 \u043a e-t\xf6\xf6tukassa","fegeneral/header/backlink/selfservice":"\u041d\u0430\u0437\u0430\u0434 \u0432 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b","fegeneral/header/roleSwitcher/myRepresentatives":"\u041c\u043e\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0435 \u043b\u0438\u0446\u0430","fegeneral/header/roleSwitcher/rememberMe":"\u041f\u0440\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0432\u0445\u043e\u0434\u0430\u0445 \u0432 \u0441\u0430\u043c\u043e\u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u0432\u043e\u0439\u0442\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u0440\u043e\u043b\u0438."}')}},_t=>{_t(_t.s=4142)}]);