"use strict";(self.webpackChunkpti=self.webpackChunkpti||[]).push([[179],{2468:(We,fe,_)=>{_.d(fe,{D:()=>se});var d=_(2340),D=_(8256),z=_(529);let se=(()=>{class ne{constructor(J){this.http=J,this.baseUrl=d.N.baseUrl}getAllApi(){throw new Error("Method not implemented.")}getSettingSection(){return this.http.get("assets/head.json")}getnews(){return this.http.get(`${this.baseUrl}/app-news`)}getbigstories(){return this.http.get(`${this.baseUrl}/big-stories`)}getnewsalerts(){return this.http.get(`${this.baseUrl}/news-alerts`)}getlatestnewshome(){return this.http.get(`${this.baseUrl}/latest-news`)}getphotoshome(){return this.http.get(`${this.baseUrl}/photo-data`)}getweekhistoryhome(){return this.http.get(`${this.baseUrl}/week-history`)}getvideoshome(){return this.http.get(`${this.baseUrl}/video-data`)}geteasthome(){return this.http.get(`${this.baseUrl}/east-news`)}getwesthome(){return this.http.get(`${this.baseUrl}/west-news`)}getsouthhome(){return this.http.get(`${this.baseUrl}/south-news`)}getnorthhome(){return this.http.get(`${this.baseUrl}/north-news`)}getfacthome(){return this.http.get(`${this.baseUrl}/factcheck`)}getpresshome(){return this.http.get(`${this.baseUrl}/pressrelease`)}getstory(J){return this.http.get(`${this.baseUrl}/app-news-details/${J}`)}getbigstory(J,_e){return this.http.get(`${this.baseUrl}/big-stories-details?id=${J}&full_story=${_e}`)}getnationaldata(){return this.http.get(`${this.baseUrl}/app-allnews/NAT`)}getinternational(){return this.http.get(`${this.baseUrl}/app-allnews/INT`)}getelection(){return this.http.get(`${this.baseUrl}/election-news`)}getfactcheck(){return this.http.get(`${this.baseUrl}/app-allnews/FactCheck`)}getMainURL(J){return this.http.get(`https://ptivideos.com/pti/old-url-info?urlInfo=${J}`)}gettodayphotos(){return this.http.get(`${this.baseUrl}/top-photo-desc`)}getsports(){return this.http.get(`${this.baseUrl}/app-allnews/SPO`)}getbusiness(){return this.http.get(`${this.baseUrl}/app-allnews/ECO`)}getlegal(){return this.http.get(`${this.baseUrl}/app-allnews/LGL`)}getCrime(){return this.http.get(`${this.baseUrl}/app-allnews/CRM`)}getentertainment(){return this.http.get(`${this.baseUrl}/app-allnews/ENT`)}gethealth(){return this.http.get(`${this.baseUrl}/app-allnews/HLS`)}getproducts(){return this.http.get(`${this.baseUrl}/product-data`)}getCountry(){return this.http.get(`${this.baseUrl}/get-country-data`)}getStates(J){return this.http.get(`${this.baseUrl}/get-state-data?country_id=${J}`)}getcontacts(){return this.http.get(`${this.baseUrl}/contact-us`)}geteditiordata(){return this.http.get(`${this.baseUrl}/editors-pick`)}registerEmail(J){return this.http.post(`${this.baseUrl}/register/email`,J)}registerOrg(J){return this.http.post(`${this.baseUrl}/pti/register`,J)}globalsearch(J){return this.http.get(`${this.baseUrl}/global-search?search=${J}`)}presssearch(J,_e,me){return this.http.get(`${this.baseUrl}/search-press-release?search=${J}&startdate=${_e}&enddate=${me}`)}factcheck(J){return this.http.post(`${this.baseUrl}/fact-check`,J)}subcheck(J){return this.http.post(`${this.baseUrl}/subscription`,J)}getprelease(J){return this.http.get(`${this.baseUrl}/press-release?start=${J}&length=9`)}getfactlist(J){return this.http.get(`${this.baseUrl}/week-fact-check?start=${J}&length=20`)}getfactCount(J){return this.http.get(`${this.baseUrl}/fact-check-count`)}getPressCount(J){return this.http.get(`${this.baseUrl}/press-release-count`)}getarchivallist(J){return this.http.get(`${this.baseUrl}/archival-fact-check?start=${J}&length=10`)}getAllApitest(){return this.http.get("https://jsonplaceholder.typicode.com/posts/1")}}return ne.\u0275fac=function(J){return new(J||ne)(D.LFG(z.eN))},ne.\u0275prov=D.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})()},2340:(We,fe,_)=>{_.d(fe,{N:()=>d});const d={production:!0,baseUrl:"https://api.ptivideos.com/pti"}},9752:(We,fe,_)=>{var d=_(1481),D=_(8256),z=_(8184),se=_(2468);const Te=[{path:"",loadChildren:()=>_.e(907).then(_.bind(_,2907)).then(O=>O.HomeModule)},{path:"home",loadChildren:()=>_.e(907).then(_.bind(_,2907)).then(O=>O.HomeModule)},{path:"fact-check",loadChildren:()=>Promise.all([_.e(242),_.e(333),_.e(291)]).then(_.bind(_,7291)).then(O=>O.FactCheckModule)},{path:"fact-check/ourteam",loadChildren:()=>Promise.all([_.e(242),_.e(333),_.e(223)]).then(_.bind(_,8223)).then(O=>O.OurTeamModule)},{path:"fact-check/methodology",loadChildren:()=>Promise.all([_.e(242),_.e(333),_.e(534)]).then(_.bind(_,3534)).then(O=>O.MethodologyModule)},{path:"fact-check/correctionpolicy",loadChildren:()=>Promise.all([_.e(242),_.e(333),_.e(169)]).then(_.bind(_,8169)).then(O=>O.CorrectionPolicyModule)},{path:"fact-check/aboutptifact",loadChildren:()=>Promise.all([_.e(242),_.e(333),_.e(7)]).then(_.bind(_,1007)).then(O=>O.AboutptifactModule)},{path:"fact-detail/:headline/:id",loadChildren:()=>Promise.all([_.e(242),_.e(797)]).then(_.bind(_,5797)).then(O=>O.FactDetailModule)},{path:"press-releases",loadChildren:()=>Promise.all([_.e(333),_.e(960)]).then(_.bind(_,1960)).then(O=>O.PressReleasesModule)},{path:"press-release/:headline/:id",loadChildren:()=>_.e(161).then(_.bind(_,6161)).then(O=>O.PressDetailModule)},{path:"press-detail/:headline/:id",loadChildren:()=>_.e(161).then(_.bind(_,6161)).then(O=>O.PressDetailModule)},{path:"signup",loadChildren:()=>_.e(221).then(_.bind(_,5221)).then(O=>O.SignupModule)},{path:"national-news",loadChildren:()=>_.e(368).then(_.bind(_,5368)).then(O=>O.NationalNewsModule)},{path:"international-news",loadChildren:()=>_.e(909).then(_.bind(_,7909)).then(O=>O.InternationalNewsModule)},{path:"photos",loadChildren:()=>_.e(154).then(_.bind(_,1154)).then(O=>O.PhotosModule)},{path:"story/:category/:headline/:id",loadChildren:()=>_.e(108).then(_.bind(_,5108)).then(O=>O.HomeDetailModule)},{path:"detail/:category/:headline/:id",loadChildren:()=>_.e(339).then(_.bind(_,8339)).then(O=>O.DetailModule)},{path:"legal",loadChildren:()=>_.e(319).then(_.bind(_,3319)).then(O=>O.LegalModule)},{path:"business",loadChildren:()=>_.e(153).then(_.bind(_,7153)).then(O=>O.BusinessModule)},{path:"entertainment",loadChildren:()=>_.e(1).then(_.bind(_,8001)).then(O=>O.EntertainmentModule)},{path:"sports",loadChildren:()=>_.e(250).then(_.bind(_,8250)).then(O=>O.SportsModule)},{path:"health-lifestyle",loadChildren:()=>_.e(854).then(_.bind(_,5854)).then(O=>O.HealthLifestyleModule)},{path:"about",loadChildren:()=>_.e(527).then(_.bind(_,7527)).then(O=>O.AboutModule)},{path:"contact",loadChildren:()=>_.e(649).then(_.bind(_,9649)).then(O=>O.ContactModule)},{path:"election",loadChildren:()=>_.e(133).then(_.bind(_,8133)).then(O=>O.ElectionModule)},{path:"products",loadChildren:()=>_.e(496).then(_.bind(_,8496)).then(O=>O.ProductsModule)},{path:"career",loadChildren:()=>_.e(792).then(_.bind(_,2792)).then(O=>O.CareerModule)},{path:"subscription",loadChildren:()=>Promise.all([_.e(242),_.e(48)]).then(_.bind(_,4048)).then(O=>O.SubscriptionModule)},{path:"corrections-policy",loadChildren:()=>_.e(738).then(_.bind(_,7738)).then(O=>O.CorrectionsPolicyModule)},{path:"public-notice",loadChildren:()=>_.e(874).then(_.bind(_,6874)).then(O=>O.PublicNoticeModule)},{path:"tenders",loadChildren:()=>_.e(144).then(_.bind(_,3005)).then(O=>O.TendersModule)},{path:"csr",loadChildren:()=>_.e(351).then(_.bind(_,2351)).then(O=>O.CsrModule)},{path:"editor-detail/:headline/:id",loadChildren:()=>_.e(726).then(_.bind(_,6960)).then(O=>O.EditorDetailModule)},{path:"editor-details/:headline/:id",loadChildren:()=>_.e(142).then(_.bind(_,8142)).then(O=>O.EditorDetailsModule)},{path:"press-details/:id",loadChildren:()=>_.e(286).then(_.bind(_,1286)).then(O=>O.PressDetailsModule)},{path:"history-details/:headline/:id",loadChildren:()=>_.e(329).then(_.bind(_,6329)).then(O=>O.HistoryDetailsModule)},{path:"dnpa-code-of-ethics",loadChildren:()=>_.e(313).then(_.bind(_,6313)).then(O=>O.DnpaCodeOfEthicsModule)},{path:"stories-detail/:category/:headline/:id/:svalue",loadChildren:()=>_.e(193).then(_.bind(_,7193)).then(O=>O.StoriesDetailModule)},{path:"stories-details",loadChildren:()=>_.e(851).then(_.bind(_,6851)).then(O=>O.StoriesDetailsModule)},{path:"crime",loadChildren:()=>_.e(228).then(_.bind(_,6228)).then(O=>O.CrimeModule)},{path:"ContactUs.aspx",loadChildren:()=>_.e(649).then(_.bind(_,9649)).then(O=>O.ContactModule)},{path:"newaboutus.aspx",loadChildren:()=>_.e(368).then(_.bind(_,5368)).then(O=>O.NationalNewsModule)},{path:"news/sports",loadChildren:()=>_.e(250).then(_.bind(_,8250)).then(O=>O.SportsModule)},{path:"factcheck/factcheck.aspx",loadChildren:()=>Promise.all([_.e(242),_.e(333),_.e(291)]).then(_.bind(_,7291)).then(O=>O.FactCheckModule)},{path:"news/national",loadChildren:()=>_.e(368).then(_.bind(_,5368)).then(O=>O.NationalNewsModule)},{path:"news/legal",loadChildren:()=>_.e(319).then(_.bind(_,3319)).then(O=>O.LegalModule)},{path:"news/business",loadChildren:()=>_.e(153).then(_.bind(_,7153)).then(O=>O.BusinessModule)},{path:"news/entertainment",loadChildren:()=>_.e(1).then(_.bind(_,8001)).then(O=>O.EntertainmentModule)},{path:"news/health-and-lifestyle",loadChildren:()=>_.e(854).then(_.bind(_,5854)).then(O=>O.HealthLifestyleModule)},{path:"news/international",loadChildren:()=>_.e(909).then(_.bind(_,7909)).then(O=>O.InternationalNewsModule)},{path:"tendernews.aspx",loadChildren:()=>_.e(250).then(_.bind(_,8250)).then(O=>O.SportsModule)},{path:"**",pathMatch:"full",component:(()=>{class O{constructor(V,L,Z){this._d=V,this._ar=L,this.router=Z,this.NA=!1}ngOnInit(){"/factcheck/ourteam.aspx?mod=3"==this.router.url?this.router.navigateByUrl("/fact-check/ourteam"):"/factcheck/aboutptifact.aspx?mod=2"==this.router.url?this.router.navigateByUrl("/fact-check/aboutptifact"):"/factcheck/correctionpolicy.aspx?mod=5"==this.router.url?this.router.navigateByUrl("/fact-check/correctionpolicy"):"/factcheck/methodology.aspx?mod=4"==this.router.url||"/factcheck/factcontact.aspx?mod=6"==this.router.url?this.router.navigateByUrl("/fact-check/methodology"):"/factcheck/factcheck.aspx"==this.router.url?this.router.navigateByUrl("/fact-check"):"/news/pti"==this.router.url?this.router.navigateByUrl("/press-releases"):this.getURLs(this.router.url)}getURLs(V){"/aboutptifact"==this.router.url?this.router.navigateByUrl("/fact-check/aboutptifact"):this._d.getMainURL(V).subscribe(L=>{console.log(L.status),console.log(L.news_type),console.log(L.id),console.log(L.headline),1==L.status?"fact_check"==L.news_type?(this.headM=L.headline.split("")[1].replace(/[&\/\\#, +()$~%.'":*?<>{}]/g,"-"),window.open("https://www.ptinews.com/fact-detail/"+this.headM+"/"+L.id,"_self")):"Text"==L.news_type?(this.headL=L.headline.replace(/[&\/\\#, +()$~%.'":*?<>{}]/g,"-"),window.open("https://www.ptinews.com/story/"+this.headL+"/"+L.id,"_self")):"press_release"==L.news_type&&(this.headL=L.headline.replace(/[&\/\\#, +()$~%.'":*?<>{}]/g,"-"),window.open("https://www.ptinews.com//press-release/"+this.headL+"/"+L.id,"_self")):"false"==localStorage.getItem("status")?(this.NA=!0,localStorage.setItem("status","true")):"/methodology"==this.router.url?this.router.navigateByUrl("/fact-check/methodology"):"/ourteam"==this.router.url?this.router.navigateByUrl("/fact-check/ourteam"):"/correctionpolicy"==this.router.url?this.router.navigateByUrl("/fact-check/correctionpolicy"):"/story/Amaze%C2%AE-for-Apps-solution-revolutionizes-enterprise-level-cloud--data-modernisation--Hexaware-corporate-VP/341510"==this.router.url?this.router.navigateByUrl("/story/BUSINESS/Amaze%C2%AE-for-Apps-solution-revolutionizes-enterprise-level-cloud--data-modernisation--Hexaware-corporate-VP/341510"):"/story/-hackathon-brainstorming-events-generate-solutions-for-real-world-biz-problems-firstsource-senior-vp-process-excellence-vishal-kapse/4/475909.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/gaming-is-the-true-democratisation-of-sport-loco-founder-anirudh-pandita/694109/1"):"/news/business/gaming-is-the-true-democratisation-of-sport-loco-founder-anirudh-pandita/4/506772.html"==this.router.url?this.router.navigateByUrl("/stories-detail/BUSINESS/gaming-is-the-true-democratisation-of-sport-loco-founder-anirudh-pandita/648734/1"):"/news/business/gaming-is-the-true-democratisation-of-sport-loco-founder-anirudh-pandita/4/506772.htmlPress Trust of India: Product vision is to democratise digital transactions: HyperVerge CEO Kedar Kulkarni (ptinews.com)"==this.router.url||"/news/business/to-thrive-in-cutthroat-digital-news-market-every-publishing-house-must-keep-upgrading-abp-network%E2%80%99s-chief-digital-officer/546215.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/product-vision-is-to-democratise-digital-transactions-hyperverge-ceo-kedar-kulkarni/629325/1"):"/news/business/to-thrive-in-cutthroat-digital-news-market-every-publishing-house-must-keep-upgrading-abp-network%E2%80%99s-chief-digital-officer/546215.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/to-thrive-in-cutthroat-digital-news-market-every-publishing-house-must-keep-upgrading-abp-network%E2%80%99s-chief-digital-officer/582282/1"):"/news/business/technology-will-bridge-gap-between-sports-and-sports-fans-dream-sports-cto-amit-sharma/549214.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/technology-will-bridge-gap-between-sports-and-sports-fans-dream-sports-cto-amit-sharma/577010/1"):"/story/narayana-healths-tech-choices-aimed-at-efficient-patient-care-infrastructure-better-clinical-care-quality-group-cfo-sandhya-j/554517.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/narayana-healths-tech-choices-aimed-at-efficient-patient-care-infrastructure-better-clinical-care-quality-group-cfo-sandhya-j/568605/1"):"/news/business/big-data-ai-and-ml-helping-us-create-better-connect-with-customers-ceo-of-health-insurance-company-niva-bupa-/558270.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/big-data-ai-and-ml-helping-us-create-better-connect-with-customers-ceo-of-health-insurance-company-niva-bupa-/562322/1"):"/news/business/india-strategic-market-for-us-will-continue-to-invest-in-region-software-provider-salesforces-hyperforce-product-director/563549.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/india-strategic-market-for-us-will-continue-to-invest-in-region-software-provider-salesforces-hyperforce-product-director/552729/1"):"/news/business/567291.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/unlimited-opportunities-for-manufacturing-of-medical-devices-in-india-ceo-of-ge-healthcare-south-asia/545861/1"):"/news/business/staying-ahead-in-hyper-competitive-market-requires-investing-in-cutting-edge-technology-zee-entertainment-enterprises-cto/4/573223.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/staying-ahead-in-hyper-competitive-market-requires-investing-in-cutting-edge-technology-zee-entertainment-enterprises-cto/535424/1"):"/news/business/580595.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/committed-to-using-ai-to-positively-disrupt-way-we-diagnose-treat-and-care-for-patients-kamineni-of-apollo-hospitals/522135/1"):"/news/business/591744.html"==this.router.url?this.router.navigateByUrl("/story/national/transformative-shift-underway-in-automotive-industry-cars-evolving-into-data-centres-mahindra-groups-bhuwan-lodha/502351/1"):"/news/business/enriching-human-lives-through-smart-technologies-the-robotics-way-hitech-robotic-systemz-ceo/623287.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/enriching-human-lives-through-smart-technologies-the-robotics-way-hitech-robotic-systemz-ceo/445564/1"):"/news/business/seeing-positive-trends-in-travel-continue-to-invest-in-technology-at-steady-pace-makemytrip-group-cto/631918.html"==this.router.url||"/news/business/our-tech-ai-investment-key-to-unlocking-power-of-%60humans--machines-in-office-of-the-cfo-highradius-cto/668429.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/seeing-positive-trends-in-travel-continue-to-invest-in-technology-at-steady-pace-makemytrip-group-cto/429611/1"):"/news/business/our-tech-ai-investment-key-to-unlocking-power-of-%60humans--machines-in-office-of-the-cfo-highradius-cto/668429.html"==this.router.url?this.router.navigateByUrl("/news/business/our-tech-ai-investment-key-to-unlocking-power-of-%60humans--machines-in-office-of-the-cfo-highradius-cto/668429.html"):"/news/business/amaze-for-apps-solution-revolutionizes-enterprise-level-cloud-data-modernisation-hexaware-corporate-vp/4/679522.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/our-tech-ai-investment-key-to-unlocking-power-of-%60humans--machines-in-office-of-the-cfo-highradius-cto/361949/1"):"/news/business/amaze-for-apps-solution-revolutionizes-enterprise-level-cloud-data-modernisation-hexaware-corporate-vp/4/679522.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/amaze-for-apps-solution-revolutionizes-enterprise-level-cloud-data-modernisation-hexaware-corporate-vp/341510/1"):"/news/business/tally-prime-on-aws-equals-ease-of-doing-business-tally-partner-and-cloudburst-drive-winner-swastik-solutions/711003.html"==this.router.url?this.router.navigateByUrl("/stories-detail/business/tally-prime-on-aws-equals-ease-of-doing-business-tally-partner-and-cloudburst-drive-winner-swastik-solutions/304147/1"):window.open("https://old.ptinews.com"+this.router.url,"_self")})}}return O.\u0275fac=function(V){return new(V||O)(D.Y36(se.D),D.Y36(z.gz),D.Y36(z.F0))},O.\u0275cmp=D.Xpm({type:O,selectors:[["app-pagenotfound"]],decls:4,vars:0,consts:[[1,"container"],[1,"row"],[1,"col-12","text-center"],["src","assets/images/404.png","alt","",1,"pop"]],template:function(V,L){1&V&&(D.TgZ(0,"div",0)(1,"div",1)(2,"div",2),D._UZ(3,"img",3),D.qZA()()())},styles:[".pop[_ngcontent-%COMP%]{width:50%}.main-footer[_ngcontent-%COMP%]{background-color:#3a3a3a;padding:30px 0;margin-top:20px;position:absolute;bottom:0;width:100%}hr[_ngcontent-%COMP%]{border-top-color:#707070}.text-white-custom[_ngcontent-%COMP%]{color:#d0d0d0;font-size:18px}.footer-menu[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}.footer-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#d0d0d0;text-decoration:none;font-size:16px}.footer-last[_ngcontent-%COMP%]{text-align:right}.footer-logo[_ngcontent-%COMP%]{margin-bottom:15px}.footer-logo1[_ngcontent-%COMP%]{margin-bottom:10px}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#d0d0d0;font-size:14px}.w-70[_ngcontent-%COMP%]{width:70%}@media screen and (min-width: 0) and (max-width: 600px){.footer-last[_ngcontent-%COMP%]{text-align:initial}}@media screen and (min-width: 1025px) and (max-width: 1366px){.main-footer[_ngcontent-%COMP%]{position:absolute;bottom:unset}}"]}),O})()}];let J=(()=>{class O{}return O.\u0275fac=function(V){return new(V||O)},O.\u0275mod=D.oAB({type:O}),O.\u0275inj=D.cJS({imports:[z.Bz.forRoot(Te),z.Bz]}),O})();var _e=_(6895);function me(O,R){if(1&O){const V=D.EpF();D.ynx(0),D.TgZ(1,"a",40),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw(2);return D.KtG(Z.navv())}),D._uU(2),D.qZA(),D.BQk()}if(2&O){const V=D.oxw().$implicit;D.xp6(1),D.MGl("routerLink","/",V.path,""),D.xp6(1),D.hij(" ",V.name," ")}}function le(O,R){if(1&O&&(D.TgZ(0,"a",41),D._uU(1),D.qZA()),2&O){const V=D.oxw().$implicit;D.xp6(1),D.hij(" ",V.name," ")}}function ce(O,R){if(1&O&&(D.TgZ(0,"ul",36)(1,"li",37),D.YNc(2,me,3,2,"ng-container",38),D.YNc(3,le,2,1,"ng-template",null,39,D.W1O),D.qZA()()),2&O){const V=R.$implicit,L=D.MAs(4);D.xp6(2),D.Q6J("ngIf","local"==V.link)("ngIfElse",L)}}function De(O,R){if(1&O){const V=D.EpF();D.ynx(0),D.TgZ(1,"li",47),D.NdJ("click",function(){const q=D.CHM(V).$implicit,ue=D.oxw(2);return D.KtG(ue.goto(q.id,q.category,q.headline))}),D._uU(2),D.qZA(),D.BQk()}if(2&O){const V=R.$implicit;D.xp6(2),D.Oqu(V.headline)}}function qe(O,R){if(1&O){const V=D.EpF();D.ynx(0),D.TgZ(1,"div",42)(2,"div",43)(3,"input",44),D.NdJ("keyup",function(Z){D.CHM(V);const q=D.oxw();return D.KtG(q.getsearchdata(Z.target))}),D.qZA()(),D.TgZ(4,"ul",45),D.YNc(5,De,3,1,"ng-container",46),D.qZA()(),D.BQk()}if(2&O){const V=D.oxw();D.xp6(5),D.Q6J("ngForOf",V.searchdata)}}const ye=function(O){return{"show-scrollTop":O}};let ge=(()=>{class O{constructor(V,L,Z){this._fd=V,this.router=L,this.location=Z,this.links=[],this.searchdata=[],this.windowScrolled=!1,this.show=!1}ngOnInit(){this._fd.getSettingSection().subscribe(V=>{this.links=V.links})}onWindowScroll(){document.body.scrollTop>100||document.documentElement.scrollTop>100?(document.getElementById("menu-bar")?.classList.add("fixed-menu"),document.getElementById("sub-menu-logo")?.classList.remove("sub-menu-logo")):(document.getElementById("menu-bar")?.classList.remove("fixed-menu"),document.getElementById("sub-menu-logo")?.classList.add("sub-menu-logo"))}onWindowScrolly(){window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop>100?this.windowScrolled=!0:(this.windowScrolled&&window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop<10)&&(this.windowScrolled=!1)}scrollToTop(){(document.documentElement.scrollTop||document.body.scrollTop)>0&&window.scrollTo(0,0)}openNav(){$("#mySidepanel").css("display","block")}closeNav(){$("#mySidepanel").css("display","none")}openSearch(){this.show=!this.show,this.show?(document.getElementById("search-bar")?.classList.remove("fa-search"),document.getElementById("search-bar")?.classList.add("fa-close")):(document.getElementById("search-bar")?.classList.remove("fa-close"),document.getElementById("search-bar")?.classList.add("fa-search"))}openSearch1(){this.show=!this.show,this.show?(document.getElementById("search-bar1")?.classList.remove("fa-search"),document.getElementById("search-bar1")?.classList.add("fa-close")):(document.getElementById("search-bar1")?.classList.remove("fa-close"),document.getElementById("search-bar1")?.classList.add("fa-search"))}getsearchdata(V){this._fd.globalsearch(V.value).subscribe(L=>{this.searchdata=null!=L.data||""!=L.data?L.data:""})}goto(V,L,Z){var ue=this.router.url;if(this.cate=L.toLowerCase(),-1==ue.search("news")){$("#g-search").hide(),document.getElementById("search-bar")?.classList.remove("fa-close"),document.getElementById("search-bar")?.classList.add("fa-search"),this.show=!1,this.searchdata="";let Ce=Z.replace(/[&\/\\#, +()$~%.'":*?<>{}]/g,"-");this.router.navigateByUrl("/story/"+this.cate+"/"+Ce+"/"+V)}else{$("#g-search").hide(),document.getElementById("search-bar")?.classList.remove("fa-close"),document.getElementById("search-bar")?.classList.add("fa-search"),this.show=!1,this.searchdata="";let Ce=Z.replace(/[&\/\\#, +()$~%.'":*?<>{}]/g,"-");this.router.navigateByUrl("/detail/"+this.cate+"/"+Ce+"/"+V)}}navv(){window.innerWidth<992&&"block"==$(".nav-link").css("display")&&!$(this).siblings().length&&$(".navbar-collapse").collapse("toggle")}}return O.\u0275fac=function(V){return new(V||O)(D.Y36(se.D),D.Y36(z.F0),D.Y36(_e.Ye))},O.\u0275cmp=D.Xpm({type:O,selectors:[["app-header"]],hostBindings:function(V,L){1&V&&D.NdJ("scroll",function(){return L.onWindowScrolly()},!1,D.Jf7)},decls:61,vars:5,consts:[[1,"container"],[1,"na"],[1,"row"],[1,"col-md-3"],["routerLink","/home"],["src","assets/images/logo.jpeg","alt","Press Trust Of India","title","Press Trust Of India",1,"navbar-brand-logo","navbar-brand-logo-normal"],[1,"col-sm-6","logoHeading"],["src","assets/images/imgpsh_fullsize_anim3.png","alt","Press Trust Of India","title","Press Trust Of India",2,"width","100%"],[1,"col-sm-3","header-btn"],[1,"butns"],["routerLink","../election"],[1,"butns","mt-1"],["href","https://subscriptions.ptinews.com/"],[1,"butns2","mt-1"],["routerLink","../subscription"],["id","menu-bar",1,"menu-bar"],[1,"navbar","navbar-expand-lg","navbar-light"],["routerLink","/home",1,"full-logo-m"],["src","assets/images/full-logo.png","alt","Press Trust Of India","title","Press Trust Of India",1,"navbar-brand-logo","navbar-brand-logo-normal","mobile",2,"width","100%"],[1,"mobile"],["id","search-bar1",1,"fa","fa-search",3,"click"],["type","button","data-toggle","collapse","data-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler","collapsed"],[1,"my-1","mx-2","close"],[1,"navbar-toggler-icon"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],["src","assets/images/logo.jpeg","alt","Press Trust Of India","title","Press Trust Of India","id","sub-menu-logo",1,"sub-menu-logo"],["class","navbar-nav mr-auto",4,"ngFor","ngForOf"],[1,"mo"],[1,"form-inline","desktop","my-2","my-lg-0"],["id","search-bar",1,"fa","fa-search",3,"click"],[4,"ngIf"],["id","mySidepanel",1,"sidepanel"],["href","javascript:void(0)",1,"closebtn",3,"click"],[1,"scroll-to-top",3,"ngClass"],["type","button",1,"btn","scroll",2,"color","#E50019",3,"click"],[1,"fas","fa-chevron-up",2,"font-size","28px","color","#E50019"],[1,"navbar-nav","mr-auto"],[1,"nav-item"],[4,"ngIf","ngIfElse"],["outer",""],["routerLinkActive","activeLink",1,"nav-link",3,"routerLink","click"],["href","https://bhasha.ptinews.com/","target","_blank",1,"nav-link"],["id","g-search",1,"container","position-relative"],[1,"form-group","mb-0","search-input"],["type","text","placeholder","Enter a keyword to search","name","","id","",1,"form-control",3,"keyup"],[1,"dynamiclist"],[4,"ngFor","ngForOf"],[3,"click"]],template:function(V,L){1&V&&(D.TgZ(0,"header")(1,"nav")(2,"div",0)(3,"div",1)(4,"div",2)(5,"div",3)(6,"a",4),D._UZ(7,"img",5),D.qZA()(),D.TgZ(8,"div",6),D._UZ(9,"img",7),D.qZA(),D.TgZ(10,"div",8)(11,"button",9)(12,"a",10),D._uU(13,"Election"),D.qZA()(),D._UZ(14,"br"),D.TgZ(15,"button",11)(16,"a",12),D._uU(17,"Login"),D.qZA()(),D._UZ(18,"br"),D.TgZ(19,"button",13)(20,"a",14),D._uU(21,"Subscribe"),D.qZA()()()()()(),D.TgZ(22,"div",15)(23,"div",0)(24,"nav",16)(25,"a",17),D._UZ(26,"img",18),D.qZA(),D.TgZ(27,"div",19)(28,"i",20),D.NdJ("click",function(){return L.openSearch1()}),D.qZA(),D._uU(29," \xa0 "),D.qZA(),D.TgZ(30,"button",21)(31,"span",22),D._uU(32,"X"),D.qZA(),D._UZ(33,"span",23),D.qZA(),D.TgZ(34,"div",24)(35,"a",4),D._UZ(36,"img",25),D.qZA(),D.YNc(37,ce,5,2,"ul",26),D.TgZ(38,"div",27)(39,"div",8)(40,"button",9)(41,"a",10),D._uU(42,"Election"),D.qZA()(),D._UZ(43,"br"),D.TgZ(44,"button",11)(45,"a",12),D._uU(46,"Login"),D.qZA()(),D._UZ(47,"br"),D.TgZ(48,"button",13)(49,"a",14),D._uU(50,"Subscribe"),D.qZA()()()(),D.TgZ(51,"div",28)(52,"i",29),D.NdJ("click",function(){return L.openSearch()}),D.qZA(),D._uU(53," \xa0 "),D.qZA()()()()(),D.YNc(54,qe,6,1,"ng-container",30),D.TgZ(55,"div",31)(56,"a",32),D.NdJ("click",function(){return L.closeNav()}),D._uU(57,"\xd7"),D.qZA()(),D.TgZ(58,"div",33)(59,"button",34),D.NdJ("click",function(){return L.scrollToTop()}),D._UZ(60,"i",35),D.qZA()()()()),2&V&&(D.xp6(37),D.Q6J("ngForOf",L.links),D.xp6(17),D.Q6J("ngIf",L.show),D.xp6(4),D.Q6J("ngClass",D.VKq(3,ye,L.windowScrolled)))},dependencies:[_e.mk,_e.sg,_e.O5,z.yS,z.Od],styles:['body[_ngcontent-%COMP%]{overflow-x:hidden}.menu-bar[_ngcontent-%COMP%]{position:relative;box-shadow:0 3px 6px #00000029}.scroll[_ngcontent-%COMP%]{border-radius:50%!important;background-color:#fff;height:50px;width:50px}.scroll-to-top[_ngcontent-%COMP%]{position:fixed;bottom:15px;right:15px;opacity:0;background-color:transparent;z-index:2;box-shadow:3px 2em 3em #e50019;border-radius:50%}.show-scrollTop[_ngcontent-%COMP%]{opacity:1;transition:all .2s ease-in-out}.btn[_ngcontent-%COMP%]:focus{box-shadow:none}nav[_ngcontent-%COMP%]{padding-right:0;padding-left:0}.fixed-menu[_ngcontent-%COMP%]{position:fixed;top:0;width:100%;background-color:#fff;z-index:999999}.navbar-toggler[_ngcontent-%COMP%] > .close[_ngcontent-%COMP%]{display:inline}.navbar-toggler.collapsed[_ngcontent-%COMP%] > .close[_ngcontent-%COMP%], .navbar-toggler[_ngcontent-%COMP%]:not(.collapsed) > .navbar-toggler-icon[_ngcontent-%COMP%]{display:none}.butns[_ngcontent-%COMP%]{border:1px solid black;border-radius:25px;padding:5px;color:#000;cursor:pointer;letter-spacing:1px;width:50%;background-color:#fff;margin-top:30px}.butns2[_ngcontent-%COMP%]{border:1px solid #e50019;border-radius:25px;padding:5px;color:#fff;cursor:pointer;letter-spacing:1px;width:50%;background-color:#e50019}.butns[_ngcontent-%COMP%]:hover{background-color:#e50019;border:1px solid #E50019;color:#fff}.butns2[_ngcontent-%COMP%]:hover{background-color:#fff;border:1px solid #000;color:#000}.butns[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{color:#fff}.butns2[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{color:#000}a[_ngcontent-%COMP%]{font-style:"Nunito Sans";list-style:none;text-decoration:none}.butns[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;font-family:Light}.butns2[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.header-btn[_ngcontent-%COMP%]{width:10%;float:right;text-align:right}.logoHeading[_ngcontent-%COMP%]{text-align:center}.logoHeading[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:#e50019;font-weight:800;font-size:32px}.logoHeading[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:32px;font-weight:700}.nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{color:#000;font-family:Light;font-size:13px}.activeLink[_ngcontent-%COMP%]{font-weight:700;color:#e50019!important;border-bottom:2px solid #E50019;width:-moz-fit-content;width:fit-content;margin:auto}.nav-item[_ngcontent-%COMP%]:hover .nav-link[_ngcontent-%COMP%]{color:#e50019;border-bottom:2px solid #E50019}.navbar-nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{text-align:center}.mobile[_ngcontent-%COMP%]{display:none}.desktop[_ngcontent-%COMP%]{display:block}#search[_ngcontent-%COMP%]{height:30px}#sub-menu-logo[_ngcontent-%COMP%]{height:60px;margin-right:10px}.sub-menu-logo[_ngcontent-%COMP%], #mySidepanel[_ngcontent-%COMP%]{display:none}.sidepanel[_ngcontent-%COMP%]{width:250px;position:fixed;z-index:99999999;height:100vh;top:0;right:0;background-color:#fff;overflow-x:hidden;transition:.5s;padding-top:60px;box-shadow:#64646f33 0 7px 29px}.sidepanel[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;font-size:20px;color:#000;display:block;transition:.3s}.sidepanel[_ngcontent-%COMP%] .closebtn[_ngcontent-%COMP%]{position:absolute;top:0;right:25px;font-size:36px}#search-bar[_ngcontent-%COMP%]{font-size:20px}.search-input[_ngcontent-%COMP%]{position:absolute;width:30%;left:auto;right:10px;z-index:99}.dynamiclist[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none}.dynamiclist[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#000;border:1px solid #ddd;margin-top:-1px;background-color:#f6f6f6;padding:10px;text-decoration:none;font-size:14px;display:block;cursor:pointer}.dynamiclist[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#eee}.dynamiclist[_ngcontent-%COMP%]{position:absolute;z-index:99;background:white;overflow:auto;padding:0;-webkit-box-orient:vertical;width:30%;max-height:200px;left:auto;right:10px;top:38px;box-shadow:#959da533 0 8px 24px}.dynamiclist[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px;background:#f1f1f1}.dynamiclist[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#E50019}.dynamiclist[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#E50019}.mo[_ngcontent-%COMP%]{display:none}@media screen and (min-width: 0) and (max-width: 992px){.na[_ngcontent-%COMP%]{display:none}.mo[_ngcontent-%COMP%]{display:block}.butns[_ngcontent-%COMP%]{margin-top:0;width:100%}.butns2[_ngcontent-%COMP%]{width:100%}.header-btn[_ngcontent-%COMP%]{width:40%;text-align:center}.mobile[_ngcontent-%COMP%]{display:flex}.desktop[_ngcontent-%COMP%]{display:none}header[_ngcontent-%COMP%]{margin-top:0}nav[_ngcontent-%COMP%]{margin-top:0}.navbar-light[_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%]{border:none}.search-input[_ngcontent-%COMP%]{width:70%}.full-logo-m[_ngcontent-%COMP%]{width:200px}}@media screen and (min-width: 992px) and (max-width: 1366px){.nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{font-size:12px}.header-btn[_ngcontent-%COMP%]{width:10%;text-align:center}}@media (min-width: 768px) and (max-width: 990px){.header-btn[_ngcontent-%COMP%]{width:50%;float:none;text-align:center;margin:0 auto}}@media (max-width: 767px){header[_ngcontent-%COMP%]{text-align:center}nav[_ngcontent-%COMP%]{padding-right:0;padding-left:0}.header-btn[_ngcontent-%COMP%]{width:50%;float:none;text-align:center;margin:0 auto}.na[_ngcontent-%COMP%]{display:none}.navbar-brand-logo-normal[_ngcontent-%COMP%]{width:100%;margin:auto}.dots[_ngcontent-%COMP%]{width:28px}h3[_ngcontent-%COMP%]{font-size:22px!important}h4[_ngcontent-%COMP%]{font-size:18px!important}p[_ngcontent-%COMP%]{font-size:16px!important}.bigstory1[_ngcontent-%COMP%]{height:auto}.press[_ngcontent-%COMP%]{width:15%}#search-bar1[_ngcontent-%COMP%]{margin-top:5px}}']}),O})();function nt(O,R){if(1&O){const V=D.EpF();D.TgZ(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"ul",5)(5,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(6,"a",7),D._uU(7," HOME "),D.qZA()(),D.TgZ(8,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(9,"a",8),D._uU(10," DNPA CODE OF ETHICS "),D.qZA()(),D.TgZ(11,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(12,"a",9),D._uU(13,"TENDERS"),D.qZA()(),D.TgZ(14,"li")(15,"a",10),D._uU(16," PUBLIC NOTICES"),D.qZA()(),D.TgZ(17,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(18,"a",11),D._uU(19," CSR DECLARATION "),D.qZA()(),D.TgZ(20,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(21,"a",12),D._uU(22," CORRECTIONS POLICY "),D.qZA()()()(),D.TgZ(23,"div",4)(24,"ul",5)(25,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(26,"a",13),D._uU(27," ABOUT PTI "),D.qZA()(),D.TgZ(28,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(29,"a",14),D._uU(30," PTI PRODUCTS "),D.qZA()(),D.TgZ(31,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(32,"a",15),D._uU(33," SUBSCRIPTION ENQUIRY "),D.qZA()(),D.TgZ(34,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(35,"a",16),D._uU(36," PRESS RELEASES "),D.qZA()(),D.TgZ(37,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(38,"a",17),D._uU(39," CAREERS "),D.qZA()(),D.TgZ(40,"li",6),D.NdJ("click",function(){D.CHM(V);const Z=D.oxw();return D.KtG(Z.scrollToTop())}),D.TgZ(41,"a",18),D._uU(42," CONTACT US "),D.qZA()()()(),D.TgZ(43,"div",19)(44,"div",20)(45,"a",7),D._UZ(46,"img",21),D.qZA()(),D.TgZ(47,"div",22)(48,"a",7),D._UZ(49,"img",23),D.qZA()(),D.TgZ(50,"div",24)(51,"p",25),D._uU(52,"PTI Building, 4, Parliament Street, New Delhi 110001, India."),D.qZA(),D.TgZ(53,"p",25),D._uU(54,"011-23716621-24, 41394400"),D.qZA(),D.TgZ(55,"div",26)(56,"a",27),D._UZ(57,"img",28),D.qZA(),D._uU(58," \xa0 "),D.TgZ(59,"a",29),D._UZ(60,"img",30),D.qZA(),D._uU(61," \xa0 "),D.TgZ(62,"a",31),D._UZ(63,"img",32),D.qZA()()()()(),D._UZ(64,"hr"),D.TgZ(65,"div",3)(66,"div",33)(67,"p",34),D._uU(68,"\xa9 2023 The Press Trust of India (PTI). All rights reserved. All images, videos and content are proprietary of PTI"),D.qZA()()()()()}}let Me=(()=>{class O{constructor(V){this.router=V,this.loop=!1}onWindowScroll(V){this.loop=0!=document.documentElement.scrollTop}scrollToTop(){(document.documentElement.scrollTop||document.body.scrollTop)>0&&window.scrollTo(0,0)}ngOnInit(){setTimeout(()=>{"/csr"==this.router.url&&(this.loop=!0)},500)}}return O.\u0275fac=function(V){return new(V||O)(D.Y36(z.F0))},O.\u0275cmp=D.Xpm({type:O,selectors:[["app-footer"]],hostBindings:function(V,L){1&V&&D.NdJ("scroll",function(q){return L.onWindowScroll(q)},!1,D.Jf7)},decls:1,vars:1,consts:[["class","main-footer",4,"ngIf"],[1,"main-footer"],[1,"container"],[1,"row"],[1,"col-lg-3","col-md-3"],[1,"footer-menu"],[3,"click"],["routerLink","/home"],["routerLink","/dnpa-code-of-ethics"],["routerLink","/tenders"],["routerLink","/public-notice"],["routerLink","/csr"],["routerLink","/corrections-policy"],["routerLink","/about"],["routerLink","/products"],["routerLink","/subscription"],["routerLink","/press-releases"],["routerLink","/career"],["routerLink","/contact"],[1,"col-lg-6","col-md-6","footer-last"],[1,"footer-logo"],["src","assets/images/logo_2.png","alt","Press Trust Of India","title","Press Trust Of India",1,"img-fluid"],[1,"footer-logo1"],["src","assets/images/logo1_new.png","alt","Press Trust Of India","title","Press Trust Of India",1,"img-fluid","w-70"],[1,"info"],[1,"mb-0"],[1,"info-icons","mt-1"],["href","https://www.facebook.com/PressTrustofIndia?mibextid=ZbWKwL","target","_blank"],["src","assets/images/icons/fbb.png","alt","pti facebook","title","pti facebook"],["href","https://twitter.com/PTI_NEWS","target","_blank"],["src","assets/images/icons/twi.png","alt","pti x","alt","pti x "],["href","https://www.instagram.com/ptiphotos/","target","_blank"],["src","assets/images/icons/inst.png","alt","pti instagram","title","pti instagram"],[1,"copyright","text-center","m-auto"],[1,"text-white-custom"]],template:function(V,L){1&V&&D.YNc(0,nt,69,0,"div",0),2&V&&D.Q6J("ngIf",L.loop)},dependencies:[_e.O5,z.yS],styles:[".main-footer[_ngcontent-%COMP%]{background-color:#3a3a3a;padding:30px 0;margin-top:20px}hr[_ngcontent-%COMP%]{border-top-color:#707070}.text-white-custom[_ngcontent-%COMP%]{color:#d0d0d0;font-size:18px}.footer-menu[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}.footer-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#d0d0d0;text-decoration:none;font-size:16px}.footer-last[_ngcontent-%COMP%]{text-align:right}.footer-logo[_ngcontent-%COMP%]{margin-bottom:15px}.footer-logo1[_ngcontent-%COMP%]{margin-bottom:10px}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#d0d0d0;font-size:14px}.w-70[_ngcontent-%COMP%]{width:70%}@media screen and (min-width: 0) and (max-width: 600px){.footer-last[_ngcontent-%COMP%]{text-align:initial}}"]}),O})();function Ne(O,R){1&O&&D._UZ(0,"app-header")}function ke(O,R){1&O&&D._UZ(0,"app-footer")}let et=(()=>{class O{constructor(V){this._router=V,this.title="PTI"}onActive(){window.scroll(0,0)}}return O.\u0275fac=function(V){return new(V||O)(D.Y36(z.F0))},O.\u0275cmp=D.Xpm({type:O,selectors:[["app-root"]],decls:3,vars:2,consts:[[4,"ngIf"],[3,"activate"]],template:function(V,L){1&V&&(D.YNc(0,Ne,1,0,"app-header",0),D.TgZ(1,"router-outlet",1),D.NdJ("activate",function(){return L.onActive()}),D.qZA(),D.YNc(2,ke,1,0,"app-footer",0)),2&V&&(D.Q6J("ngIf","/signup"!=L._router.url),D.xp6(2),D.Q6J("ngIf","/csr"!==L._router.url&&"/tenders"!==L._router.url&&"/career"!==L._router.url&&"/corrections-policy"!==L._router.url&&"/dnpa-code-of-ethics"!==L._router.url&&"/public-notice"!==L._router.url))},dependencies:[_e.O5,z.lC,ge,Me]}),O})();var oe=_(529),Be=_(433),je=_(7683);let Ie=(()=>{class O{}return O.\u0275fac=function(V){return new(V||O)},O.\u0275mod=D.oAB({type:O,bootstrap:[et]}),O.\u0275inj=D.cJS({imports:[d.b2,J,z.Bz,oe.JF,Be.u5,Be.UX,je.h]}),O})();_(2340).N.production&&(0,D.G48)(),d.q6().bootstrapModule(Ie).catch(O=>console.error(O))},7683:(We,fe,_)=>{_.d(fe,{h:()=>Te});var d=_(6895),D=_(8256);let Te=(()=>{class J{}return J.\u0275fac=function(me){return new(me||J)},J.\u0275mod=D.oAB({type:J}),J.\u0275inj=D.cJS({imports:[d.ez]}),J})()},9751:(We,fe,_)=>{_.d(fe,{y:()=>_e});var d=_(2961),D=_(727),z=_(8822),se=_(9635),ne=_(2416),Te=_(576),J=_(2806);let _e=(()=>{class De{constructor(ye){ye&&(this._subscribe=ye)}lift(ye){const ge=new De;return ge.source=this,ge.operator=ye,ge}subscribe(ye,ge,nt){const Me=function ce(De){return De&&De instanceof d.Lv||function le(De){return De&&(0,Te.m)(De.next)&&(0,Te.m)(De.error)&&(0,Te.m)(De.complete)}(De)&&(0,D.Nn)(De)}(ye)?ye:new d.Hp(ye,ge,nt);return(0,J.x)(()=>{const{operator:Ne,source:ke}=this;Me.add(Ne?Ne.call(Me,ke):ke?this._subscribe(Me):this._trySubscribe(Me))}),Me}_trySubscribe(ye){try{return this._subscribe(ye)}catch(ge){ye.error(ge)}}forEach(ye,ge){return new(ge=me(ge))((nt,Me)=>{let Ne;Ne=this.subscribe(ke=>{try{ye(ke)}catch(et){Me(et),Ne?.unsubscribe()}},Me,nt)})}_subscribe(ye){var ge;return null===(ge=this.source)||void 0===ge?void 0:ge.subscribe(ye)}[z.L](){return this}pipe(...ye){return(0,se.U)(ye)(this)}toPromise(ye){return new(ye=me(ye))((ge,nt)=>{let Me;this.subscribe(Ne=>Me=Ne,Ne=>nt(Ne),()=>ge(Me))})}}return De.create=qe=>new De(qe),De})();function me(De){var qe;return null!==(qe=De??ne.v.Promise)&&void 0!==qe?qe:Promise}},7579:(We,fe,_)=>{_.d(fe,{x:()=>J});var d=_(9751),D=_(727);const se=(0,_(3888).d)(me=>function(){me(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=_(8737),Te=_(2806);let J=(()=>{class me extends d.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ce){const De=new _e(this,this);return De.operator=ce,De}_throwIfClosed(){if(this.closed)throw new se}next(ce){(0,Te.x)(()=>{if(this._throwIfClosed(),!this.isStopped){const De=this.observers.slice();for(const qe of De)qe.next(ce)}})}error(ce){(0,Te.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ce;const{observers:De}=this;for(;De.length;)De.shift().error(ce)}})}complete(){(0,Te.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ce}=this;for(;ce.length;)ce.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var ce;return(null===(ce=this.observers)||void 0===ce?void 0:ce.length)>0}_trySubscribe(ce){return this._throwIfClosed(),super._trySubscribe(ce)}_subscribe(ce){return this._throwIfClosed(),this._checkFinalizedStatuses(ce),this._innerSubscribe(ce)}_innerSubscribe(ce){const{hasError:De,isStopped:qe,observers:ye}=this;return De||qe?D.Lc:(ye.push(ce),new D.w0(()=>(0,ne.P)(ye,ce)))}_checkFinalizedStatuses(ce){const{hasError:De,thrownError:qe,isStopped:ye}=this;De?ce.error(qe):ye&&ce.complete()}asObservable(){const ce=new d.y;return ce.source=this,ce}}return me.create=(le,ce)=>new _e(le,ce),me})();class _e extends J{constructor(le,ce){super(),this.destination=le,this.source=ce}next(le){var ce,De;null===(De=null===(ce=this.destination)||void 0===ce?void 0:ce.next)||void 0===De||De.call(ce,le)}error(le){var ce,De;null===(De=null===(ce=this.destination)||void 0===ce?void 0:ce.error)||void 0===De||De.call(ce,le)}complete(){var le,ce;null===(ce=null===(le=this.destination)||void 0===le?void 0:le.complete)||void 0===ce||ce.call(le)}_subscribe(le){var ce,De;return null!==(De=null===(ce=this.source)||void 0===ce?void 0:ce.subscribe(le))&&void 0!==De?De:D.Lc}}},2961:(We,fe,_)=>{_.d(fe,{Hp:()=>qe,Lv:()=>De});var d=_(576),D=_(727),z=_(2416),se=_(7849);function ne(){}const Te=me("C",void 0,void 0);function me(Ne,ke,et){return{kind:Ne,value:ke,error:et}}var le=_(3410),ce=_(2806);class De extends D.w0{constructor(ke){super(),this.isStopped=!1,ke?(this.destination=ke,(0,D.Nn)(ke)&&ke.add(this)):this.destination=Me}static create(ke,et,oe){return new qe(ke,et,oe)}next(ke){this.isStopped?nt(function _e(Ne){return me("N",Ne,void 0)}(ke),this):this._next(ke)}error(ke){this.isStopped?nt(function J(Ne){return me("E",void 0,Ne)}(ke),this):(this.isStopped=!0,this._error(ke))}complete(){this.isStopped?nt(Te,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ke){this.destination.next(ke)}_error(ke){try{this.destination.error(ke)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class qe extends De{constructor(ke,et,oe){let Be;if(super(),(0,d.m)(ke))Be=ke;else if(ke){let je;({next:Be,error:et,complete:oe}=ke),this&&z.v.useDeprecatedNextContext?(je=Object.create(ke),je.unsubscribe=()=>this.unsubscribe()):je=ke,Be=Be?.bind(je),et=et?.bind(je),oe=oe?.bind(je)}this.destination={next:Be?ye(Be):ne,error:ye(et??ge),complete:oe?ye(oe):ne}}}function ye(Ne,ke){return(...et)=>{try{Ne(...et)}catch(oe){z.v.useDeprecatedSynchronousErrorHandling?(0,ce.O)(oe):(0,se.h)(oe)}}}function ge(Ne){throw Ne}function nt(Ne,ke){const{onStoppedNotification:et}=z.v;et&&le.z.setTimeout(()=>et(Ne,ke))}const Me={closed:!0,next:ne,error:ge,complete:ne}},727:(We,fe,_)=>{_.d(fe,{Lc:()=>Te,w0:()=>ne,Nn:()=>J});var d=_(576);const z=(0,_(3888).d)(me=>function(ce){me(this),this.message=ce?`${ce.length} errors occurred during unsubscription:\n${ce.map((De,qe)=>`${qe+1}) ${De.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ce});var se=_(8737);class ne{constructor(le){this.initialTeardown=le,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let le;if(!this.closed){this.closed=!0;const{_parentage:ce}=this;if(ce)if(this._parentage=null,Array.isArray(ce))for(const ye of ce)ye.remove(this);else ce.remove(this);const{initialTeardown:De}=this;if((0,d.m)(De))try{De()}catch(ye){le=ye instanceof z?ye.errors:[ye]}const{_teardowns:qe}=this;if(qe){this._teardowns=null;for(const ye of qe)try{_e(ye)}catch(ge){le=le??[],ge instanceof z?le=[...le,...ge.errors]:le.push(ge)}}if(le)throw new z(le)}}add(le){var ce;if(le&&le!==this)if(this.closed)_e(le);else{if(le instanceof ne){if(le.closed||le._hasParent(this))return;le._addParent(this)}(this._teardowns=null!==(ce=this._teardowns)&&void 0!==ce?ce:[]).push(le)}}_hasParent(le){const{_parentage:ce}=this;return ce===le||Array.isArray(ce)&&ce.includes(le)}_addParent(le){const{_parentage:ce}=this;this._parentage=Array.isArray(ce)?(ce.push(le),ce):ce?[ce,le]:le}_removeParent(le){const{_parentage:ce}=this;ce===le?this._parentage=null:Array.isArray(ce)&&(0,se.P)(ce,le)}remove(le){const{_teardowns:ce}=this;ce&&(0,se.P)(ce,le),le instanceof ne&&le._removeParent(this)}}ne.EMPTY=(()=>{const me=new ne;return me.closed=!0,me})();const Te=ne.EMPTY;function J(me){return me instanceof ne||me&&"closed"in me&&(0,d.m)(me.remove)&&(0,d.m)(me.add)&&(0,d.m)(me.unsubscribe)}function _e(me){(0,d.m)(me)?me():me.unsubscribe()}},2416:(We,fe,_)=>{_.d(fe,{v:()=>d});const d={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},515:(We,fe,_)=>{_.d(fe,{E:()=>D});const D=new(_(9751).y)(ne=>ne.complete())},2076:(We,fe,_)=>{_.d(fe,{D:()=>Ie});var d=_(8421),D=_(9672),z=_(4482),se=_(5403);function ne(we,O=0){return(0,z.e)((R,V)=>{R.subscribe(new se.Q(V,L=>(0,D.f)(V,we,()=>V.next(L),O),()=>(0,D.f)(V,we,()=>V.complete(),O),L=>(0,D.f)(V,we,()=>V.error(L),O)))})}function Te(we,O=0){return(0,z.e)((R,V)=>{V.add(we.schedule(()=>R.subscribe(V),O))})}var me=_(9751),ce=_(2202),De=_(576);function ye(we,O){if(!we)throw new Error("Iterable cannot be null");return new me.y(R=>{(0,D.f)(R,O,()=>{const V=we[Symbol.asyncIterator]();(0,D.f)(R,O,()=>{V.next().then(L=>{L.done?R.complete():R.next(L.value)})},0,!0)})})}var ge=_(3670),nt=_(8239),Me=_(1144),Ne=_(6495),ke=_(2206),et=_(4532),oe=_(3260);function Ie(we,O){return O?function je(we,O){if(null!=we){if((0,ge.c)(we))return function J(we,O){return(0,d.Xf)(we).pipe(Te(O),ne(O))}(we,O);if((0,Me.z)(we))return function le(we,O){return new me.y(R=>{let V=0;return O.schedule(function(){V===we.length?R.complete():(R.next(we[V++]),R.closed||this.schedule())})})}(we,O);if((0,nt.t)(we))return function _e(we,O){return(0,d.Xf)(we).pipe(Te(O),ne(O))}(we,O);if((0,ke.D)(we))return ye(we,O);if((0,Ne.T)(we))return function qe(we,O){return new me.y(R=>{let V;return(0,D.f)(R,O,()=>{V=we[ce.h](),(0,D.f)(R,O,()=>{let L,Z;try{({value:L,done:Z}=V.next())}catch(q){return void R.error(q)}Z?R.complete():R.next(L)},0,!0)}),()=>(0,De.m)(V?.return)&&V.return()})}(we,O);if((0,oe.L)(we))return function Be(we,O){return ye((0,oe.Q)(we),O)}(we,O)}throw(0,et.z)(we)}(we,O):(0,d.Xf)(we)}},8421:(We,fe,_)=>{_.d(fe,{Xf:()=>qe});var d=_(5987),D=_(1144),z=_(8239),se=_(9751),ne=_(3670),Te=_(2206),J=_(4532),_e=_(6495),me=_(3260),le=_(576),ce=_(7849),De=_(8822);function qe(oe){if(oe instanceof se.y)return oe;if(null!=oe){if((0,ne.c)(oe))return function ye(oe){return new se.y(Be=>{const je=oe[De.L]();if((0,le.m)(je.subscribe))return je.subscribe(Be);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(oe);if((0,D.z)(oe))return function ge(oe){return new se.y(Be=>{for(let je=0;je{oe.then(je=>{Be.closed||(Be.next(je),Be.complete())},je=>Be.error(je)).then(null,ce.h)})}(oe);if((0,Te.D)(oe))return Ne(oe);if((0,_e.T)(oe))return function Me(oe){return new se.y(Be=>{for(const je of oe)if(Be.next(je),Be.closed)return;Be.complete()})}(oe);if((0,me.L)(oe))return function ke(oe){return Ne((0,me.Q)(oe))}(oe)}throw(0,J.z)(oe)}function Ne(oe){return new se.y(Be=>{(function et(oe,Be){var je,Ie,we,O;return(0,d.mG)(this,void 0,void 0,function*(){try{for(je=(0,d.KL)(oe);!(Ie=yield je.next()).done;)if(Be.next(Ie.value),Be.closed)return}catch(R){we={error:R}}finally{try{Ie&&!Ie.done&&(O=je.return)&&(yield O.call(je))}finally{if(we)throw we.error}}Be.complete()})})(oe,Be).catch(je=>Be.error(je))})}},9646:(We,fe,_)=>{_.d(fe,{of:()=>z});var d=_(7669),D=_(2076);function z(...se){const ne=(0,d.yG)(se);return(0,D.D)(se,ne)}},5403:(We,fe,_)=>{_.d(fe,{Q:()=>D});var d=_(2961);class D extends d.Lv{constructor(se,ne,Te,J,_e){super(se),this.onFinalize=_e,this._next=ne?function(me){try{ne(me)}catch(le){se.error(le)}}:super._next,this._error=J?function(me){try{J(me)}catch(le){se.error(le)}finally{this.unsubscribe()}}:super._error,this._complete=Te?function(){try{Te()}catch(me){se.error(me)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var se;const{closed:ne}=this;super.unsubscribe(),!ne&&(null===(se=this.onFinalize)||void 0===se||se.call(this))}}},4351:(We,fe,_)=>{_.d(fe,{b:()=>z});var d=_(5577),D=_(576);function z(se,ne){return(0,D.m)(ne)?(0,d.z)(se,ne,1):(0,d.z)(se,1)}},9300:(We,fe,_)=>{_.d(fe,{h:()=>z});var d=_(4482),D=_(5403);function z(se,ne){return(0,d.e)((Te,J)=>{let _e=0;Te.subscribe(new D.Q(J,me=>se.call(ne,me,_e++)&&J.next(me)))})}},4004:(We,fe,_)=>{_.d(fe,{U:()=>z});var d=_(4482),D=_(5403);function z(se,ne){return(0,d.e)((Te,J)=>{let _e=0;Te.subscribe(new D.Q(J,me=>{J.next(se.call(ne,me,_e++))}))})}},8189:(We,fe,_)=>{_.d(fe,{J:()=>z});var d=_(5577),D=_(4671);function z(se=1/0){return(0,d.z)(D.y,se)}},5577:(We,fe,_)=>{_.d(fe,{z:()=>_e});var d=_(4004),D=_(8421),z=_(4482),se=_(9672),ne=_(5403),J=_(576);function _e(me,le,ce=1/0){return(0,J.m)(le)?_e((De,qe)=>(0,d.U)((ye,ge)=>le(De,ye,qe,ge))((0,D.Xf)(me(De,qe))),ce):("number"==typeof le&&(ce=le),(0,z.e)((De,qe)=>function Te(me,le,ce,De,qe,ye,ge,nt){const Me=[];let Ne=0,ke=0,et=!1;const oe=()=>{et&&!Me.length&&!Ne&&le.complete()},Be=Ie=>Ne{ye&&le.next(Ie),Ne++;let we=!1;(0,D.Xf)(ce(Ie,ke++)).subscribe(new ne.Q(le,O=>{qe?.(O),ye?Be(O):le.next(O)},()=>{we=!0},void 0,()=>{if(we)try{for(Ne--;Me.length&&Neje(O)):je(O)}oe()}catch(O){le.error(O)}}))};return me.subscribe(new ne.Q(le,Be,()=>{et=!0,oe()})),()=>{nt?.()}}(De,qe,me,ce)))}},5698:(We,fe,_)=>{_.d(fe,{q:()=>se});var d=_(515),D=_(4482),z=_(5403);function se(ne){return ne<=0?()=>d.E:(0,D.e)((Te,J)=>{let _e=0;Te.subscribe(new z.Q(J,me=>{++_e<=ne&&(J.next(me),ne<=_e&&J.complete())}))})}},3410:(We,fe,_)=>{_.d(fe,{z:()=>d});const d={setTimeout(...D){const{delegate:z}=d;return(z?.setTimeout||setTimeout)(...D)},clearTimeout(D){const{delegate:z}=d;return(z?.clearTimeout||clearTimeout)(D)},delegate:void 0}},2202:(We,fe,_)=>{_.d(fe,{h:()=>D});const D=function d(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(We,fe,_)=>{_.d(fe,{L:()=>d});const d="function"==typeof Symbol&&Symbol.observable||"@@observable"},7669:(We,fe,_)=>{_.d(fe,{_6:()=>Te,jO:()=>se,yG:()=>ne});var d=_(576);function z(J){return J[J.length-1]}function se(J){return(0,d.m)(z(J))?J.pop():void 0}function ne(J){return function D(J){return J&&(0,d.m)(J.schedule)}(z(J))?J.pop():void 0}function Te(J,_e){return"number"==typeof z(J)?J.pop():_e}},4742:(We,fe,_)=>{_.d(fe,{D:()=>ne});const{isArray:d}=Array,{getPrototypeOf:D,prototype:z,keys:se}=Object;function ne(J){if(1===J.length){const _e=J[0];if(d(_e))return{args:_e,keys:null};if(function Te(J){return J&&"object"==typeof J&&D(J)===z}(_e)){const me=se(_e);return{args:me.map(le=>_e[le]),keys:me}}}return{args:J,keys:null}}},8737:(We,fe,_)=>{function d(D,z){if(D){const se=D.indexOf(z);0<=se&&D.splice(se,1)}}_.d(fe,{P:()=>d})},3888:(We,fe,_)=>{function d(D){const se=D(ne=>{Error.call(ne),ne.stack=(new Error).stack});return se.prototype=Object.create(Error.prototype),se.prototype.constructor=se,se}_.d(fe,{d:()=>d})},1810:(We,fe,_)=>{function d(D,z){return D.reduce((se,ne,Te)=>(se[ne]=z[Te],se),{})}_.d(fe,{n:()=>d})},2806:(We,fe,_)=>{_.d(fe,{O:()=>se,x:()=>z});var d=_(2416);let D=null;function z(ne){if(d.v.useDeprecatedSynchronousErrorHandling){const Te=!D;if(Te&&(D={errorThrown:!1,error:null}),ne(),Te){const{errorThrown:J,error:_e}=D;if(D=null,J)throw _e}}else ne()}function se(ne){d.v.useDeprecatedSynchronousErrorHandling&&D&&(D.errorThrown=!0,D.error=ne)}},9672:(We,fe,_)=>{function d(D,z,se,ne=0,Te=!1){const J=z.schedule(function(){se(),Te?D.add(this.schedule(null,ne)):this.unsubscribe()},ne);if(D.add(J),!Te)return J}_.d(fe,{f:()=>d})},4671:(We,fe,_)=>{function d(D){return D}_.d(fe,{y:()=>d})},1144:(We,fe,_)=>{_.d(fe,{z:()=>d});const d=D=>D&&"number"==typeof D.length&&"function"!=typeof D},2206:(We,fe,_)=>{_.d(fe,{D:()=>D});var d=_(576);function D(z){return Symbol.asyncIterator&&(0,d.m)(z?.[Symbol.asyncIterator])}},576:(We,fe,_)=>{function d(D){return"function"==typeof D}_.d(fe,{m:()=>d})},3670:(We,fe,_)=>{_.d(fe,{c:()=>z});var d=_(8822),D=_(576);function z(se){return(0,D.m)(se[d.L])}},6495:(We,fe,_)=>{_.d(fe,{T:()=>z});var d=_(2202),D=_(576);function z(se){return(0,D.m)(se?.[d.h])}},8239:(We,fe,_)=>{_.d(fe,{t:()=>D});var d=_(576);function D(z){return(0,d.m)(z?.then)}},3260:(We,fe,_)=>{_.d(fe,{L:()=>se,Q:()=>z});var d=_(5987),D=_(576);function z(ne){return(0,d.FC)(this,arguments,function*(){const J=ne.getReader();try{for(;;){const{value:_e,done:me}=yield(0,d.qq)(J.read());if(me)return yield(0,d.qq)(void 0);yield yield(0,d.qq)(_e)}}finally{J.releaseLock()}})}function se(ne){return(0,D.m)(ne?.getReader)}},4482:(We,fe,_)=>{_.d(fe,{A:()=>D,e:()=>z});var d=_(576);function D(se){return(0,d.m)(se?.lift)}function z(se){return ne=>{if(D(ne))return ne.lift(function(Te){try{return se(Te,this)}catch(J){this.error(J)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(We,fe,_)=>{_.d(fe,{Z:()=>se});var d=_(4004);const{isArray:D}=Array;function se(ne){return(0,d.U)(Te=>function z(ne,Te){return D(Te)?ne(...Te):ne(Te)}(ne,Te))}},9635:(We,fe,_)=>{_.d(fe,{U:()=>z,z:()=>D});var d=_(4671);function D(...se){return z(se)}function z(se){return 0===se.length?d.y:1===se.length?se[0]:function(Te){return se.reduce((J,_e)=>_e(J),Te)}}},7849:(We,fe,_)=>{_.d(fe,{h:()=>z});var d=_(2416),D=_(3410);function z(se){D.z.setTimeout(()=>{const{onUnhandledError:ne}=d.v;if(!ne)throw se;ne(se)})}},4532:(We,fe,_)=>{function d(D){return new TypeError(`You provided ${null!==D&&"object"==typeof D?"an invalid object":`'${D}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}_.d(fe,{z:()=>d})},5987:(We,fe,_)=>{function _e(R,V,L,Z){return new(L||(L=Promise))(function(ue,Ce){function tt(yt){try{He(Z.next(yt))}catch(Ot){Ce(Ot)}}function Rt(yt){try{He(Z.throw(yt))}catch(Ot){Ce(Ot)}}function He(yt){yt.done?ue(yt.value):function q(ue){return ue instanceof L?ue:new L(function(Ce){Ce(ue)})}(yt.value).then(tt,Rt)}He((Z=Z.apply(R,V||[])).next())})}function Me(R){return this instanceof Me?(this.v=R,this):new Me(R)}function Ne(R,V,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var q,Z=L.apply(R,V||[]),ue=[];return q={},Ce("next"),Ce("throw"),Ce("return"),q[Symbol.asyncIterator]=function(){return this},q;function Ce(bt){Z[bt]&&(q[bt]=function(qt){return new Promise(function(yn,Xt){ue.push([bt,qt,yn,Xt])>1||tt(bt,qt)})})}function tt(bt,qt){try{!function Rt(bt){bt.value instanceof Me?Promise.resolve(bt.value.v).then(He,yt):Ot(ue[0][2],bt)}(Z[bt](qt))}catch(yn){Ot(ue[0][3],yn)}}function He(bt){tt("next",bt)}function yt(bt){tt("throw",bt)}function Ot(bt,qt){bt(qt),ue.shift(),ue.length&&tt(ue[0][0],ue[0][1])}}function et(R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L,V=R[Symbol.asyncIterator];return V?V.call(R):(R=function De(R){var V="function"==typeof Symbol&&Symbol.iterator,L=V&&R[V],Z=0;if(L)return L.call(R);if(R&&"number"==typeof R.length)return{next:function(){return R&&Z>=R.length&&(R=void 0),{value:R&&R[Z++],done:!R}}};throw new TypeError(V?"Object is not iterable.":"Symbol.iterator is not defined.")}(R),L={},Z("next"),Z("throw"),Z("return"),L[Symbol.asyncIterator]=function(){return this},L);function Z(ue){L[ue]=R[ue]&&function(Ce){return new Promise(function(tt,Rt){!function q(ue,Ce,tt,Rt){Promise.resolve(Rt).then(function(He){ue({value:He,done:tt})},Ce)}(tt,Rt,(Ce=R[ue](Ce)).done,Ce.value)})}}}_.d(fe,{FC:()=>Ne,KL:()=>et,mG:()=>_e,qq:()=>Me})},6895:(We,fe,_)=>{_.d(fe,{Do:()=>et,EM:()=>Br,HT:()=>ne,JF:()=>Xr,JJ:()=>En,K0:()=>J,Mx:()=>Jr,O5:()=>po,OU:()=>Hn,PC:()=>Fo,S$:()=>Me,V_:()=>le,Ye:()=>oe,b0:()=>ke,bD:()=>Mn,ez:()=>Uo,mk:()=>Xn,q:()=>z,sg:()=>On,w_:()=>Te});var d=_(8256);let D=null;function z(){return D}function ne(h){D||(D=h)}class Te{}const J=new d.OlP("DocumentToken");let _e=(()=>{class h{historyGo(m){throw new Error("Not implemented")}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=d.Yz7({token:h,factory:function(){return function me(){return(0,d.LFG)(ce)}()},providedIn:"platform"}),h})();const le=new d.OlP("Location Initialized");let ce=(()=>{class h extends _e{constructor(m){super(),this._doc=m,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return z().getBaseHref(this._doc)}onPopState(m){const M=z().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",m,!1),()=>M.removeEventListener("popstate",m)}onHashChange(m){const M=z().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",m,!1),()=>M.removeEventListener("hashchange",m)}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(m){this.location.pathname=m}pushState(m,M,F){De()?this._history.pushState(m,M,F):this.location.hash=F}replaceState(m,M,F){De()?this._history.replaceState(m,M,F):this.location.hash=F}forward(){this._history.forward()}back(){this._history.back()}historyGo(m=0){this._history.go(m)}getState(){return this._history.state}}return h.\u0275fac=function(m){return new(m||h)(d.LFG(J))},h.\u0275prov=d.Yz7({token:h,factory:function(){return function qe(){return new ce((0,d.LFG)(J))}()},providedIn:"platform"}),h})();function De(){return!!window.history.pushState}function ye(h,w){if(0==h.length)return w;if(0==w.length)return h;let m=0;return h.endsWith("/")&&m++,w.startsWith("/")&&m++,2==m?h+w.substring(1):1==m?h+w:h+"/"+w}function ge(h){const w=h.match(/#|\?|$/),m=w&&w.index||h.length;return h.slice(0,m-("/"===h[m-1]?1:0))+h.slice(m)}function nt(h){return h&&"?"!==h[0]?"?"+h:h}let Me=(()=>{class h{historyGo(m){throw new Error("Not implemented")}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275prov=d.Yz7({token:h,factory:function(){return(0,d.f3M)(ke)},providedIn:"root"}),h})();const Ne=new d.OlP("appBaseHref");let ke=(()=>{class h extends Me{constructor(m,M){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=M??this._platformLocation.getBaseHrefFromDOM()??(0,d.f3M)(J).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}prepareExternalUrl(m){return ye(this._baseHref,m)}path(m=!1){const M=this._platformLocation.pathname+nt(this._platformLocation.search),F=this._platformLocation.hash;return F&&m?`${M}${F}`:M}pushState(m,M,F,K){const te=this.prepareExternalUrl(F+nt(K));this._platformLocation.pushState(m,M,te)}replaceState(m,M,F,K){const te=this.prepareExternalUrl(F+nt(K));this._platformLocation.replaceState(m,M,te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}}return h.\u0275fac=function(m){return new(m||h)(d.LFG(_e),d.LFG(Ne,8))},h.\u0275prov=d.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),et=(()=>{class h extends Me{constructor(m,M){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}path(m=!1){let M=this._platformLocation.hash;return null==M&&(M="#"),M.length>0?M.substring(1):M}prepareExternalUrl(m){const M=ye(this._baseHref,m);return M.length>0?"#"+M:M}pushState(m,M,F,K){let te=this.prepareExternalUrl(F+nt(K));0==te.length&&(te=this._platformLocation.pathname),this._platformLocation.pushState(m,M,te)}replaceState(m,M,F,K){let te=this.prepareExternalUrl(F+nt(K));0==te.length&&(te=this._platformLocation.pathname),this._platformLocation.replaceState(m,M,te)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}}return h.\u0275fac=function(m){return new(m||h)(d.LFG(_e),d.LFG(Ne,8))},h.\u0275prov=d.Yz7({token:h,factory:h.\u0275fac}),h})(),oe=(()=>{class h{constructor(m){this._subject=new d.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const M=this._locationStrategy.getBaseHref();this._baseHref=ge(Ie(M)),this._locationStrategy.onPopState(F=>{this._subject.emit({url:this.path(!0),pop:!0,state:F.state,type:F.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,M=""){return this.path()==this.normalize(m+nt(M))}normalize(m){return h.stripTrailingSlash(function je(h,w){return h&&w.startsWith(h)?w.substring(h.length):w}(this._baseHref,Ie(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,M="",F=null){this._locationStrategy.pushState(F,"",m,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+nt(M)),F)}replaceState(m,M="",F=null){this._locationStrategy.replaceState(F,"",m,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+nt(M)),F)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(m=0){this._locationStrategy.historyGo?.(m)}onUrlChange(m){return this._urlChangeListeners.push(m),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(M=>{this._notifyUrlChangeListeners(M.url,M.state)})),()=>{const M=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(M,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",M){this._urlChangeListeners.forEach(F=>F(m,M))}subscribe(m,M,F){return this._subject.subscribe({next:m,error:M,complete:F})}}return h.normalizeQueryParams=nt,h.joinWithSlash=ye,h.stripTrailingSlash=ge,h.\u0275fac=function(m){return new(m||h)(d.LFG(Me))},h.\u0275prov=d.Yz7({token:h,factory:function(){return function Be(){return new oe((0,d.LFG)(Me))}()},providedIn:"root"}),h})();function Ie(h){return h.replace(/\/index.html$/,"")}var O=(()=>((O=O||{})[O.Decimal=0]="Decimal",O[O.Percent=1]="Percent",O[O.Currency=2]="Currency",O[O.Scientific=3]="Scientific",O))(),q=(()=>((q=q||{})[q.Decimal=0]="Decimal",q[q.Group=1]="Group",q[q.List=2]="List",q[q.PercentSign=3]="PercentSign",q[q.PlusSign=4]="PlusSign",q[q.MinusSign=5]="MinusSign",q[q.Exponential=6]="Exponential",q[q.SuperscriptingExponent=7]="SuperscriptingExponent",q[q.PerMille=8]="PerMille",q[q.Infinity=9]="Infinity",q[q.NaN=10]="NaN",q[q.TimeSeparator=11]="TimeSeparator",q[q.CurrencyDecimal=12]="CurrencyDecimal",q[q.CurrencyGroup=13]="CurrencyGroup",q))();function Mt(h,w){const m=(0,d.cg1)(h),M=m[d.wAp.NumberSymbols][w];if(typeof M>"u"){if(w===q.CurrencyDecimal)return m[d.wAp.NumberSymbols][q.Decimal];if(w===q.CurrencyGroup)return m[d.wAp.NumberSymbols][q.Group]}return M}const Tn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,j=".",H="0";function xn(h){const w=parseInt(h);if(isNaN(w))throw new Error("Invalid integer literal when parsing "+h);return w}function Jr(h,w){w=encodeURIComponent(w);for(const m of h.split(";")){const M=m.indexOf("="),[F,K]=-1==M?[m,""]:[m.slice(0,M),m.slice(M+1)];if(F.trim()===w)return decodeURIComponent(K)}return null}let Xn=(()=>{class h{constructor(m,M,F,K){this._iterableDiffers=m,this._keyValueDiffers=M,this._ngEl=F,this._renderer=K,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(m){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof m?m.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(m){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof m?m.split(/\s+/):m,this._rawClass&&((0,d.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const m=this._iterableDiffer.diff(this._rawClass);m&&this._applyIterableChanges(m)}else if(this._keyValueDiffer){const m=this._keyValueDiffer.diff(this._rawClass);m&&this._applyKeyValueChanges(m)}}_applyKeyValueChanges(m){m.forEachAddedItem(M=>this._toggleClass(M.key,M.currentValue)),m.forEachChangedItem(M=>this._toggleClass(M.key,M.currentValue)),m.forEachRemovedItem(M=>{M.previousValue&&this._toggleClass(M.key,!1)})}_applyIterableChanges(m){m.forEachAddedItem(M=>{if("string"!=typeof M.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,d.AaK)(M.item)}`);this._toggleClass(M.item,!0)}),m.forEachRemovedItem(M=>this._toggleClass(M.item,!1))}_applyClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach(M=>this._toggleClass(M,!0)):Object.keys(m).forEach(M=>this._toggleClass(M,!!m[M])))}_removeClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach(M=>this._toggleClass(M,!1)):Object.keys(m).forEach(M=>this._toggleClass(M,!1)))}_toggleClass(m,M){(m=m.trim())&&m.split(/\s+/g).forEach(F=>{M?this._renderer.addClass(this._ngEl.nativeElement,F):this._renderer.removeClass(this._ngEl.nativeElement,F)})}}return h.\u0275fac=function(m){return new(m||h)(d.Y36(d.ZZ4),d.Y36(d.aQg),d.Y36(d.SBq),d.Y36(d.Qsj))},h.\u0275dir=d.lG2({type:h,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),h})();class or{constructor(w,m,M,F){this.$implicit=w,this.ngForOf=m,this.index=M,this.count=F}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 On=(()=>{class h{constructor(m,M,F){this._viewContainer=m,this._template=M,this._differs=F,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(m){m&&(this._template=m)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const m=this._ngForOf;!this._differ&&m&&(this._differ=this._differs.find(m).create(this.ngForTrackBy))}if(this._differ){const m=this._differ.diff(this._ngForOf);m&&this._applyChanges(m)}}_applyChanges(m){const M=this._viewContainer;m.forEachOperation((F,K,te)=>{if(null==F.previousIndex)M.createEmbeddedView(this._template,new or(F.item,this._ngForOf,-1,-1),null===te?void 0:te);else if(null==te)M.remove(null===K?void 0:K);else if(null!==K){const Pe=M.get(K);M.move(Pe,te),hn(Pe,F)}});for(let F=0,K=M.length;F{hn(M.get(F.currentIndex),F)})}static ngTemplateContextGuard(m,M){return!0}}return h.\u0275fac=function(m){return new(m||h)(d.Y36(d.s_b),d.Y36(d.Rgc),d.Y36(d.ZZ4))},h.\u0275dir=d.lG2({type:h,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),h})();function hn(h,w){h.context.$implicit=w.item}let po=(()=>{class h{constructor(m,M){this._viewContainer=m,this._context=new dt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){Or("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){Or("ngIfElse",m),this._elseTemplateRef=m,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(m,M){return!0}}return h.\u0275fac=function(m){return new(m||h)(d.Y36(d.s_b),d.Y36(d.Rgc))},h.\u0275dir=d.lG2({type:h,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),h})();class dt{constructor(){this.$implicit=null,this.ngIf=null}}function Or(h,w){if(w&&!w.createEmbeddedView)throw new Error(`${h} must be a TemplateRef, but received '${(0,d.AaK)(w)}'.`)}let Fo=(()=>{class h{constructor(m,M,F){this._ngEl=m,this._differs=M,this._renderer=F,this._ngStyle=null,this._differ=null}set ngStyle(m){this._ngStyle=m,!this._differ&&m&&(this._differ=this._differs.find(m).create())}ngDoCheck(){if(this._differ){const m=this._differ.diff(this._ngStyle);m&&this._applyChanges(m)}}_setStyle(m,M){const[F,K]=m.split("."),te=-1===F.indexOf("-")?void 0:d.JOm.DashCase;null!=M?this._renderer.setStyle(this._ngEl.nativeElement,F,K?`${M}${K}`:M,te):this._renderer.removeStyle(this._ngEl.nativeElement,F,te)}_applyChanges(m){m.forEachRemovedItem(M=>this._setStyle(M.key,null)),m.forEachAddedItem(M=>this._setStyle(M.key,M.currentValue)),m.forEachChangedItem(M=>this._setStyle(M.key,M.currentValue))}}return h.\u0275fac=function(m){return new(m||h)(d.Y36(d.SBq),d.Y36(d.aQg),d.Y36(d.Qsj))},h.\u0275dir=d.lG2({type:h,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),h})();function Bt(h,w){return new d.vHH(2100,!1)}let En=(()=>{class h{constructor(m){this._locale=m}transform(m,M,F){if(!function Lr(h){return!(null==h||""===h||h!=h)}(m))return null;F=F||this._locale;try{return function Ke(h,w,m){return function rt(h,w,m,M,F,K,te=!1){let Pe="",mt=!1;if(isFinite(h)){let ht=function kn(h){let M,F,K,te,Pe,w=Math.abs(h)+"",m=0;for((F=w.indexOf(j))>-1&&(w=w.replace(j,"")),(K=w.search(/e/i))>0?(F<0&&(F=K),F+=+w.slice(K+1),w=w.substring(0,K)):F<0&&(F=w.length),K=0;w.charAt(K)===H;K++);if(K===(Pe=w.length))M=[0],F=1;else{for(Pe--;w.charAt(Pe)===H;)Pe--;for(F-=K,M=[],te=0;K<=Pe;K++,te++)M[te]=Number(w.charAt(K))}return F>22&&(M=M.splice(0,21),m=F-1,F=1),{digits:M,exponent:m,integerLen:F}}(h);te&&(ht=function Zt(h){if(0===h.digits[0])return h;const w=h.digits.length-h.integerLen;return h.exponent?h.exponent+=2:(0===w?h.digits.push(0,0):1===w&&h.digits.push(0),h.integerLen+=2),h}(ht));let Dt=w.minInt,lt=w.minFrac,Vt=w.maxFrac;if(K){const In=K.match(Tn);if(null===In)throw new Error(`${K} is not a valid digit info`);const Zo=In[1],dr=In[3],ro=In[5];null!=Zo&&(Dt=xn(Zo)),null!=dr&&(lt=xn(dr)),null!=ro?Vt=xn(ro):null!=dr&<>Vt&&(Vt=lt)}!function Ft(h,w,m){if(w>m)throw new Error(`The minimum number of digits after fraction (${w}) is higher than the maximum (${m}).`);let M=h.digits,F=M.length-h.integerLen;const K=Math.min(Math.max(w,F),m);let te=K+h.integerLen,Pe=M[te];if(te>0){M.splice(Math.max(h.integerLen,te));for(let lt=te;lt=5)if(te-1<0){for(let lt=0;lt>te;lt--)M.unshift(0),h.integerLen++;M.unshift(1),h.integerLen++}else M[te-1]++;for(;F=ht?Jt.pop():mt=!1),Vt>=10?1:0},0);Dt&&(M.unshift(Dt),h.integerLen++)}(ht,lt,Vt);let Ct=ht.digits,Jt=ht.integerLen;const nr=ht.exponent;let Gn=[];for(mt=Ct.every(In=>!In);Jt0?Gn=Ct.splice(Jt,Ct.length):(Gn=Ct,Ct=[0]);const wr=[];for(Ct.length>=w.lgSize&&wr.unshift(Ct.splice(-w.lgSize,Ct.length).join(""));Ct.length>w.gSize;)wr.unshift(Ct.splice(-w.gSize,Ct.length).join(""));Ct.length&&wr.unshift(Ct.join("")),Pe=wr.join(Mt(m,M)),Gn.length&&(Pe+=Mt(m,F)+Gn.join("")),nr&&(Pe+=Mt(m,q.Exponential)+"+"+nr)}else Pe=Mt(m,q.Infinity);return Pe=h<0&&!mt?w.negPre+Pe+w.negSuf:w.posPre+Pe+w.posSuf,Pe}(h,function gt(h,w="-"){const m={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},M=h.split(";"),F=M[0],K=M[1],te=-1!==F.indexOf(j)?F.split(j):[F.substring(0,F.lastIndexOf(H)+1),F.substring(F.lastIndexOf(H)+1)],Pe=te[0],mt=te[1]||"";m.posPre=Pe.substring(0,Pe.indexOf("#"));for(let Dt=0;Dt{class h{transform(m,M,F){if(null==m)return null;if(!this.supports(m))throw Bt();return m.slice(M,F)}supports(m){return"string"==typeof m||Array.isArray(m)}}return h.\u0275fac=function(m){return new(m||h)},h.\u0275pipe=d.Yjl({name:"slice",type:h,pure:!1,standalone:!0}),h})(),Uo=(()=>{class h{}return h.\u0275fac=function(m){return new(m||h)},h.\u0275mod=d.oAB({type:h}),h.\u0275inj=d.cJS({}),h})();const Mn="browser";let Br=(()=>{class h{}return h.\u0275prov=(0,d.Yz7)({token:h,providedIn:"root",factory:()=>new qr((0,d.LFG)(J),window)}),h})();class qr{constructor(w,m){this.document=w,this.window=m,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const m=function Hr(h,w){const m=h.getElementById(w)||h.getElementsByName(w)[0];if(m)return m;if("function"==typeof h.createTreeWalker&&h.body&&(h.body.createShadowRoot||h.body.attachShadow)){const M=h.createTreeWalker(h.body,NodeFilter.SHOW_ELEMENT);let F=M.currentNode;for(;F;){const K=F.shadowRoot;if(K){const te=K.getElementById(w)||K.querySelector(`[name="${w}"]`);if(te)return te}F=M.nextNode()}}return null}(this.document,w);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(w){if(this.supportScrollRestoration()){const m=this.window.history;m&&m.scrollRestoration&&(m.scrollRestoration=w)}}scrollToElement(w){const m=w.getBoundingClientRect(),M=m.left+this.window.pageXOffset,F=m.top+this.window.pageYOffset,K=this.offset();this.window.scrollTo(M-K[0],F-K[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const w=tn(this.window.history)||tn(Object.getPrototypeOf(this.window.history));return!(!w||!w.writable&&!w.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function tn(h){return Object.getOwnPropertyDescriptor(h,"scrollRestoration")}class Xr{}},529:(We,fe,_)=>{_.d(fe,{JF:()=>Qn,eN:()=>Ce});var d=_(6895),D=_(8256),z=_(9646),se=_(9751),ne=_(4351),Te=_(9300),J=_(4004);class _e{}class me{}class le{constructor(k){this.normalizedNames=new Map,this.lazyUpdate=null,k?this.lazyInit="string"==typeof k?()=>{this.headers=new Map,k.split("\n").forEach(T=>{const X=T.indexOf(":");if(X>0){const ie=T.slice(0,X),be=ie.toLowerCase(),$e=T.slice(X+1).trim();this.maybeSetNormalizedName(ie,be),this.headers.has(be)?this.headers.get(be).push($e):this.headers.set(be,[$e])}})}:()=>{this.headers=new Map,Object.keys(k).forEach(T=>{let X=k[T];const ie=T.toLowerCase();"string"==typeof X&&(X=[X]),X.length>0&&(this.headers.set(ie,X),this.maybeSetNormalizedName(T,ie))})}:this.headers=new Map}has(k){return this.init(),this.headers.has(k.toLowerCase())}get(k){this.init();const T=this.headers.get(k.toLowerCase());return T&&T.length>0?T[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(k){return this.init(),this.headers.get(k.toLowerCase())||null}append(k,T){return this.clone({name:k,value:T,op:"a"})}set(k,T){return this.clone({name:k,value:T,op:"s"})}delete(k,T){return this.clone({name:k,value:T,op:"d"})}maybeSetNormalizedName(k,T){this.normalizedNames.has(T)||this.normalizedNames.set(T,k)}init(){this.lazyInit&&(this.lazyInit instanceof le?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(k=>this.applyUpdate(k)),this.lazyUpdate=null))}copyFrom(k){k.init(),Array.from(k.headers.keys()).forEach(T=>{this.headers.set(T,k.headers.get(T)),this.normalizedNames.set(T,k.normalizedNames.get(T))})}clone(k){const T=new le;return T.lazyInit=this.lazyInit&&this.lazyInit instanceof le?this.lazyInit:this,T.lazyUpdate=(this.lazyUpdate||[]).concat([k]),T}applyUpdate(k){const T=k.name.toLowerCase();switch(k.op){case"a":case"s":let X=k.value;if("string"==typeof X&&(X=[X]),0===X.length)return;this.maybeSetNormalizedName(k.name,T);const ie=("a"===k.op?this.headers.get(T):void 0)||[];ie.push(...X),this.headers.set(T,ie);break;case"d":const be=k.value;if(be){let $e=this.headers.get(T);if(!$e)return;$e=$e.filter(St=>-1===be.indexOf(St)),0===$e.length?(this.headers.delete(T),this.normalizedNames.delete(T)):this.headers.set(T,$e)}else this.headers.delete(T),this.normalizedNames.delete(T)}}forEach(k){this.init(),Array.from(this.normalizedNames.keys()).forEach(T=>k(this.normalizedNames.get(T),this.headers.get(T)))}}class De{encodeKey(k){return nt(k)}encodeValue(k){return nt(k)}decodeKey(k){return decodeURIComponent(k)}decodeValue(k){return decodeURIComponent(k)}}const ye=/%(\d[a-f0-9])/gi,ge={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function nt(re){return encodeURIComponent(re).replace(ye,(k,T)=>ge[T]??k)}function Me(re){return`${re}`}class Ne{constructor(k={}){if(this.updates=null,this.cloneFrom=null,this.encoder=k.encoder||new De,k.fromString){if(k.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function qe(re,k){const T=new Map;return re.length>0&&re.replace(/^\?/,"").split("&").forEach(ie=>{const be=ie.indexOf("="),[$e,St]=-1==be?[k.decodeKey(ie),""]:[k.decodeKey(ie.slice(0,be)),k.decodeValue(ie.slice(be+1))],Le=T.get($e)||[];Le.push(St),T.set($e,Le)}),T}(k.fromString,this.encoder)}else k.fromObject?(this.map=new Map,Object.keys(k.fromObject).forEach(T=>{const X=k.fromObject[T],ie=Array.isArray(X)?X.map(Me):[Me(X)];this.map.set(T,ie)})):this.map=null}has(k){return this.init(),this.map.has(k)}get(k){this.init();const T=this.map.get(k);return T?T[0]:null}getAll(k){return this.init(),this.map.get(k)||null}keys(){return this.init(),Array.from(this.map.keys())}append(k,T){return this.clone({param:k,value:T,op:"a"})}appendAll(k){const T=[];return Object.keys(k).forEach(X=>{const ie=k[X];Array.isArray(ie)?ie.forEach(be=>{T.push({param:X,value:be,op:"a"})}):T.push({param:X,value:ie,op:"a"})}),this.clone(T)}set(k,T){return this.clone({param:k,value:T,op:"s"})}delete(k,T){return this.clone({param:k,value:T,op:"d"})}toString(){return this.init(),this.keys().map(k=>{const T=this.encoder.encodeKey(k);return this.map.get(k).map(X=>T+"="+this.encoder.encodeValue(X)).join("&")}).filter(k=>""!==k).join("&")}clone(k){const T=new Ne({encoder:this.encoder});return T.cloneFrom=this.cloneFrom||this,T.updates=(this.updates||[]).concat(k),T}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(k=>this.map.set(k,this.cloneFrom.map.get(k))),this.updates.forEach(k=>{switch(k.op){case"a":case"s":const T=("a"===k.op?this.map.get(k.param):void 0)||[];T.push(Me(k.value)),this.map.set(k.param,T);break;case"d":if(void 0===k.value){this.map.delete(k.param);break}{let X=this.map.get(k.param)||[];const ie=X.indexOf(Me(k.value));-1!==ie&&X.splice(ie,1),X.length>0?this.map.set(k.param,X):this.map.delete(k.param)}}}),this.cloneFrom=this.updates=null)}}class et{constructor(){this.map=new Map}set(k,T){return this.map.set(k,T),this}get(k){return this.map.has(k)||this.map.set(k,k.defaultValue()),this.map.get(k)}delete(k){return this.map.delete(k),this}has(k){return this.map.has(k)}keys(){return this.map.keys()}}function Be(re){return typeof ArrayBuffer<"u"&&re instanceof ArrayBuffer}function je(re){return typeof Blob<"u"&&re instanceof Blob}function Ie(re){return typeof FormData<"u"&&re instanceof FormData}class O{constructor(k,T,X,ie){let be;if(this.url=T,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=k.toUpperCase(),function oe(re){switch(re){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ie?(this.body=void 0!==X?X:null,be=ie):be=X,be&&(this.reportProgress=!!be.reportProgress,this.withCredentials=!!be.withCredentials,be.responseType&&(this.responseType=be.responseType),be.headers&&(this.headers=be.headers),be.context&&(this.context=be.context),be.params&&(this.params=be.params)),this.headers||(this.headers=new le),this.context||(this.context=new et),this.params){const $e=this.params.toString();if(0===$e.length)this.urlWithParams=T;else{const St=T.indexOf("?");this.urlWithParams=T+(-1===St?"?":Stqn.set(Ge,k.setHeaders[Ge]),Le)),k.setParams&&(ut=Object.keys(k.setParams).reduce((qn,Ge)=>qn.set(Ge,k.setParams[Ge]),ut)),new O(T,X,be,{params:ut,headers:Le,context:pt,reportProgress:St,responseType:ie,withCredentials:$e})}}var R=(()=>((R=R||{})[R.Sent=0]="Sent",R[R.UploadProgress=1]="UploadProgress",R[R.ResponseHeader=2]="ResponseHeader",R[R.DownloadProgress=3]="DownloadProgress",R[R.Response=4]="Response",R[R.User=5]="User",R))();class V{constructor(k,T=200,X="OK"){this.headers=k.headers||new le,this.status=void 0!==k.status?k.status:T,this.statusText=k.statusText||X,this.url=k.url||null,this.ok=this.status>=200&&this.status<300}}class L extends V{constructor(k={}){super(k),this.type=R.ResponseHeader}clone(k={}){return new L({headers:k.headers||this.headers,status:void 0!==k.status?k.status:this.status,statusText:k.statusText||this.statusText,url:k.url||this.url||void 0})}}class Z extends V{constructor(k={}){super(k),this.type=R.Response,this.body=void 0!==k.body?k.body:null}clone(k={}){return new Z({body:void 0!==k.body?k.body:this.body,headers:k.headers||this.headers,status:void 0!==k.status?k.status:this.status,statusText:k.statusText||this.statusText,url:k.url||this.url||void 0})}}class q extends V{constructor(k){super(k,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${k.url||"(unknown url)"}`:`Http failure response for ${k.url||"(unknown url)"}: ${k.status} ${k.statusText}`,this.error=k.error||null}}function ue(re,k){return{body:k,headers:re.headers,context:re.context,observe:re.observe,params:re.params,reportProgress:re.reportProgress,responseType:re.responseType,withCredentials:re.withCredentials}}let Ce=(()=>{class re{constructor(T){this.handler=T}request(T,X,ie={}){let be;if(T instanceof O)be=T;else{let Le,ut;Le=ie.headers instanceof le?ie.headers:new le(ie.headers),ie.params&&(ut=ie.params instanceof Ne?ie.params:new Ne({fromObject:ie.params})),be=new O(T,X,void 0!==ie.body?ie.body:null,{headers:Le,context:ie.context,params:ut,reportProgress:ie.reportProgress,responseType:ie.responseType||"json",withCredentials:ie.withCredentials})}const $e=(0,z.of)(be).pipe((0,ne.b)(Le=>this.handler.handle(Le)));if(T instanceof O||"events"===ie.observe)return $e;const St=$e.pipe((0,Te.h)(Le=>Le instanceof Z));switch(ie.observe||"body"){case"body":switch(be.responseType){case"arraybuffer":return St.pipe((0,J.U)(Le=>{if(null!==Le.body&&!(Le.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Le.body}));case"blob":return St.pipe((0,J.U)(Le=>{if(null!==Le.body&&!(Le.body instanceof Blob))throw new Error("Response is not a Blob.");return Le.body}));case"text":return St.pipe((0,J.U)(Le=>{if(null!==Le.body&&"string"!=typeof Le.body)throw new Error("Response is not a string.");return Le.body}));default:return St.pipe((0,J.U)(Le=>Le.body))}case"response":return St;default:throw new Error(`Unreachable: unhandled observe type ${ie.observe}}`)}}delete(T,X={}){return this.request("DELETE",T,X)}get(T,X={}){return this.request("GET",T,X)}head(T,X={}){return this.request("HEAD",T,X)}jsonp(T,X){return this.request("JSONP",T,{params:(new Ne).append(X,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(T,X={}){return this.request("OPTIONS",T,X)}patch(T,X,ie={}){return this.request("PATCH",T,ue(ie,X))}post(T,X,ie={}){return this.request("POST",T,ue(ie,X))}put(T,X,ie={}){return this.request("PUT",T,ue(ie,X))}}return re.\u0275fac=function(T){return new(T||re)(D.LFG(_e))},re.\u0275prov=D.Yz7({token:re,factory:re.\u0275fac}),re})();class tt{constructor(k,T){this.next=k,this.interceptor=T}handle(k){return this.interceptor.intercept(k,this.next)}}const Rt=new D.OlP("HTTP_INTERCEPTORS");let He=(()=>{class re{intercept(T,X){return X.handle(T)}}return re.\u0275fac=function(T){return new(T||re)},re.\u0275prov=D.Yz7({token:re,factory:re.\u0275fac}),re})();const at=/^\)\]\}',?\n/;let Zn=(()=>{class re{constructor(T){this.xhrFactory=T}handle(T){if("JSONP"===T.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new se.y(X=>{const ie=this.xhrFactory.build();if(ie.open(T.method,T.urlWithParams),T.withCredentials&&(ie.withCredentials=!0),T.headers.forEach((Xe,vt)=>ie.setRequestHeader(Xe,vt.join(","))),T.headers.has("Accept")||ie.setRequestHeader("Accept","application/json, text/plain, */*"),!T.headers.has("Content-Type")){const Xe=T.detectContentTypeHeader();null!==Xe&&ie.setRequestHeader("Content-Type",Xe)}if(T.responseType){const Xe=T.responseType.toLowerCase();ie.responseType="json"!==Xe?Xe:"text"}const be=T.serializeBody();let $e=null;const St=()=>{if(null!==$e)return $e;const Xe=ie.statusText||"OK",vt=new le(ie.getAllResponseHeaders()),Sn=function Ar(re){return"responseURL"in re&&re.responseURL?re.responseURL:/^X-Request-URL:/m.test(re.getAllResponseHeaders())?re.getResponseHeader("X-Request-URL"):null}(ie)||T.url;return $e=new L({headers:vt,status:ie.status,statusText:Xe,url:Sn}),$e},Le=()=>{let{headers:Xe,status:vt,statusText:Sn,url:Yt}=St(),Ve=null;204!==vt&&(Ve=typeof ie.response>"u"?ie.responseText:ie.response),0===vt&&(vt=Ve?200:0);let ze=vt>=200&&vt<300;if("json"===T.responseType&&"string"==typeof Ve){const rn=Ve;Ve=Ve.replace(at,"");try{Ve=""!==Ve?JSON.parse(Ve):null}catch(on){Ve=rn,ze&&(ze=!1,Ve={error:on,text:Ve})}}ze?(X.next(new Z({body:Ve,headers:Xe,status:vt,statusText:Sn,url:Yt||void 0})),X.complete()):X.error(new q({error:Ve,headers:Xe,status:vt,statusText:Sn,url:Yt||void 0}))},ut=Xe=>{const{url:vt}=St(),Sn=new q({error:Xe,status:ie.status||0,statusText:ie.statusText||"Unknown Error",url:vt||void 0});X.error(Sn)};let pt=!1;const qn=Xe=>{pt||(X.next(St()),pt=!0);let vt={type:R.DownloadProgress,loaded:Xe.loaded};Xe.lengthComputable&&(vt.total=Xe.total),"text"===T.responseType&&!!ie.responseText&&(vt.partialText=ie.responseText),X.next(vt)},Ge=Xe=>{let vt={type:R.UploadProgress,loaded:Xe.loaded};Xe.lengthComputable&&(vt.total=Xe.total),X.next(vt)};return ie.addEventListener("load",Le),ie.addEventListener("error",ut),ie.addEventListener("timeout",ut),ie.addEventListener("abort",ut),T.reportProgress&&(ie.addEventListener("progress",qn),null!==be&&ie.upload&&ie.upload.addEventListener("progress",Ge)),ie.send(be),X.next({type:R.Sent}),()=>{ie.removeEventListener("error",ut),ie.removeEventListener("abort",ut),ie.removeEventListener("load",Le),ie.removeEventListener("timeout",ut),T.reportProgress&&(ie.removeEventListener("progress",qn),null!==be&&ie.upload&&ie.upload.removeEventListener("progress",Ge)),ie.readyState!==ie.DONE&&ie.abort()}})}}return re.\u0275fac=function(T){return new(T||re)(D.LFG(d.JF))},re.\u0275prov=D.Yz7({token:re,factory:re.\u0275fac}),re})();const Kn=new D.OlP("XSRF_COOKIE_NAME"),It=new D.OlP("XSRF_HEADER_NAME");class Jn{}let dn=(()=>{class re{constructor(T,X,ie){this.doc=T,this.platform=X,this.cookieName=ie,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const T=this.doc.cookie||"";return T!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,d.Mx)(T,this.cookieName),this.lastCookieString=T),this.lastToken}}return re.\u0275fac=function(T){return new(T||re)(D.LFG(d.K0),D.LFG(D.Lbi),D.LFG(Kn))},re.\u0275prov=D.Yz7({token:re,factory:re.\u0275fac}),re})(),_n=(()=>{class re{constructor(T,X){this.tokenService=T,this.headerName=X}intercept(T,X){const ie=T.url.toLowerCase();if("GET"===T.method||"HEAD"===T.method||ie.startsWith("http://")||ie.startsWith("https://"))return X.handle(T);const be=this.tokenService.getToken();return null!==be&&!T.headers.has(this.headerName)&&(T=T.clone({headers:T.headers.set(this.headerName,be)})),X.handle(T)}}return re.\u0275fac=function(T){return new(T||re)(D.LFG(Jn),D.LFG(It))},re.\u0275prov=D.Yz7({token:re,factory:re.\u0275fac}),re})(),Re=(()=>{class re{constructor(T,X){this.backend=T,this.injector=X,this.chain=null}handle(T){if(null===this.chain){const X=this.injector.get(Rt,[]);this.chain=X.reduceRight((ie,be)=>new tt(ie,be),this.backend)}return this.chain.handle(T)}}return re.\u0275fac=function(T){return new(T||re)(D.LFG(me),D.LFG(D.zs3))},re.\u0275prov=D.Yz7({token:re,factory:re.\u0275fac}),re})(),Gt=(()=>{class re{static disable(){return{ngModule:re,providers:[{provide:_n,useClass:He}]}}static withOptions(T={}){return{ngModule:re,providers:[T.cookieName?{provide:Kn,useValue:T.cookieName}:[],T.headerName?{provide:It,useValue:T.headerName}:[]]}}}return re.\u0275fac=function(T){return new(T||re)},re.\u0275mod=D.oAB({type:re}),re.\u0275inj=D.cJS({providers:[_n,{provide:Rt,useExisting:_n,multi:!0},{provide:Jn,useClass:dn},{provide:Kn,useValue:"XSRF-TOKEN"},{provide:It,useValue:"X-XSRF-TOKEN"}]}),re})(),Qn=(()=>{class re{}return re.\u0275fac=function(T){return new(T||re)},re.\u0275mod=D.oAB({type:re}),re.\u0275inj=D.cJS({providers:[Ce,{provide:_e,useClass:Re},Zn,{provide:me,useExisting:Zn}],imports:[Gt.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),re})()},8256:(We,fe,_)=>{_.d(fe,{tb:()=>$g,AFp:()=>Bg,ip1:()=>Ug,CZH:()=>ml,hGG:()=>Sw,z2F:()=>vl,sBO:()=>dw,Sil:()=>WE,_Vd:()=>Xs,EJc:()=>GE,Xts:()=>lu,SBq:()=>ea,lqb:()=>Fi,qLn:()=>ta,vpe:()=>ho,XFs:()=>T,OlP:()=>Nt,zs3:()=>Li,ZZ4:()=>kc,aQg:()=>Vc,soG:()=>yl,YKP:()=>$p,h0i:()=>Is,PXZ:()=>iw,R0b:()=>Sr,FiY:()=>Gs,Lbi:()=>HE,g9A:()=>jg,Qsj:()=>av,FYo:()=>lf,JOm:()=>ao,q3G:()=>nn,tp0:()=>zs,Rgc:()=>pa,dDg:()=>tw,eoX:()=>Jg,GfV:()=>uf,s_b:()=>hl,ifc:()=>Ge,MMx:()=>fc,Lck:()=>V0,eFA:()=>Xg,G48:()=>cw,Gpc:()=>et,f3M:()=>td,_c5:()=>Iw,c2e:()=>jE,zSh:()=>du,wAp:()=>Ye,vHH:()=>Ie,lri:()=>Zg,rWj:()=>Kg,EiD:()=>Wd,mCW:()=>Ua,qzn:()=>ss,JVY:()=>Iy,pB0:()=>xy,eBb:()=>Ay,L6k:()=>Sy,LAX:()=>Ty,D6c:()=>Aw,cg1:()=>oc,kL8:()=>pp,dqk:()=>Xe,Z0I:()=>Re,sIi:()=>oa,CqO:()=>Eh,QGY:()=>Qu,QP$:()=>Ze,F4k:()=>Ch,RDi:()=>Dy,AaK:()=>Me,z3N:()=>To,qOj:()=>Gu,TTD:()=>kr,_Bn:()=>jp,jDz:()=>zp,xp6:()=>yf,uIk:()=>Yu,ekj:()=>ec,Suo:()=>gg,Xpm:()=>Tr,lG2:()=>H,Yz7:()=>It,cJS:()=>dn,oAB:()=>Tn,Yjl:()=>x,Y36:()=>ds,_UZ:()=>Ju,BQk:()=>ol,ynx:()=>rl,qZA:()=>nl,TgZ:()=>tl,EpF:()=>Dh,n5z:()=>ks,LFG:()=>cn,$8M:()=>Aa,$Z:()=>xf,NdJ:()=>qu,CRH:()=>mg,oxw:()=>Ih,ALo:()=>ig,xi3:()=>sg,Dn7:()=>ag,Q6J:()=>Zu,s9C:()=>Xu,MGl:()=>il,VKq:()=>qp,WLB:()=>Xp,iGM:()=>hg,MAs:()=>yh,KtG:()=>C,Jf7:()=>cf,CHM:()=>kt,oJD:()=>Yd,LSH:()=>au,kYT:()=>xr,YNc:()=>mh,W1O:()=>Cg,_uU:()=>Kh,Oqu:()=>nc,hij:()=>al,AsE:()=>rc,Gf:()=>pg});var d=_(7579),D=_(727),z=_(9751),se=_(8189),ne=_(8421),Te=_(515),J=_(7669),_e=_(2076),le=_(5698),ce=_(2961),De=_(4482);function ye(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe((0,le.q)(1)).subscribe(()=>e())}function ge(e){for(let t in e)if(e[t]===ge)return t;throw Error("Could not find renamed property on target object.")}function nt(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Me(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Me).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ke=ge({__forward_ref__:ge});function et(e){return e.__forward_ref__=et,e.toString=function(){return Me(this())},e}function oe(e){return Be(e)?e():e}function Be(e){return"function"==typeof e&&e.hasOwnProperty(ke)&&e.__forward_ref__===et}class Ie extends Error{constructor(t,n){super(function we(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function O(e){return"string"==typeof e?e:null==e?"":String(e)}function q(e,t){throw new Ie(-201,!1)}function Tt(e,t){null==e&&function at(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function It(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function _n(e){return fn(e,pr)||fn(e,re)}function Re(e){return null!==_n(e)}function fn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Qn(e){return e&&(e.hasOwnProperty(zt)||e.hasOwnProperty(k))?e[zt]:null}const pr=ge({\u0275prov:ge}),zt=ge({\u0275inj:ge}),re=ge({ngInjectableDef:ge}),k=ge({ngInjectorDef:ge});var T=(()=>((T=T||{})[T.Default=0]="Default",T[T.Host=1]="Host",T[T.Self=2]="Self",T[T.SkipSelf=4]="SkipSelf",T[T.Optional=8]="Optional",T))();let X;function be(e){const t=X;return X=e,t}function $e(e,t,n){const r=_n(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==t?t:void q(Me(e))}function Le(e){return{toString:e}.toString()}var ut=(()=>((ut=ut||{})[ut.OnPush=0]="OnPush",ut[ut.Default=1]="Default",ut))(),Ge=(()=>{return(e=Ge||(Ge={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ge;var e})();const Xe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Yt={},Ve=[],ze=ge({\u0275cmp:ge}),rn=ge({\u0275dir:ge}),on=ge({\u0275pipe:ge}),sn=ge({\u0275mod:ge}),en=ge({\u0275fac:ge}),vn=ge({__NG_ELEMENT_ID__:ge});let gr=0;function Tr(e){return Le(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ut.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Ve,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ge.Emulated,id:"c"+gr++,styles:e.styles||Ve,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,s=e.features;return o.inputs=j(e.inputs,r),o.outputs=j(e.outputs),s&&s.forEach(c=>c(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(An).filter(Ln):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(xe).filter(Ln):null,o})}function An(e){return B(e)||Q(e)}function Ln(e){return null!==e}function Tn(e){return Le(()=>({type:e.type,bootstrap:e.bootstrap||Ve,declarations:e.declarations||Ve,imports:e.imports||Ve,exports:e.exports||Ve,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xr(e,t){return Le(()=>{const n=rt(e,!0);n.declarations=t.declarations||Ve,n.imports=t.imports||Ve,n.exports=t.exports||Ve})}function j(e,t){if(null==e)return Yt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const H=Tr;function x(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 B(e){return e[ze]||null}function Q(e){return e[rn]||null}function xe(e){return e[on]||null}function Ze(e){const t=B(e)||Q(e)||xe(e);return null!==t&&t.standalone}function rt(e,t){const n=e[sn]||null;if(!n&&!0===t)throw new Error(`Type ${Me(e)} does not have '\u0275mod' property.`);return n}function Lt(e){return Array.isArray(e)&&"object"==typeof e[1]}function bn(e){return Array.isArray(e)&&!0===e[1]}function Bt(e){return 0!=(8&e.flags)}function er(e){return 2==(2&e.flags)}function Rr(e){return 1==(1&e.flags)}function Cn(e){return null!==e.template}function Lo(e){return 0!=(256&e[2])}function Mn(e,t){return e.hasOwnProperty(en)?e[en]:null}class Do{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function kr(){return Vr}function Vr(e){return e.type.prototype.ngOnChanges&&(e.setInput=Bo),Co}function Co(){const e=Ur(this),t=e?.current;if(t){const n=e.previous;if(n===Yt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Bo(e,t,n,r){const o=Ur(e)||function xs(e,t){return e[Ho]=t}(e,{previous:Yt,current:null}),i=o.current||(o.current={}),s=o.previous,c=this.declaredInputs[n],p=s[c];i[c]=new Do(p&&p.currentValue,t,s===Yt),e[r]=t}kr.ngInherit=!0;const Ho="__ngSimpleChanges__";function Ur(e){return e[Ho]||null}function xt(e){for(;Array.isArray(e);)e=e[0];return e}function ar(e,t){return xt(t[e])}function Ht(e,t){return xt(t[e.index])}function vr(e,t){return e.data[t]}function jr(e,t){return e[t]}function pn(e,t){const n=t[e];return Lt(n)?n:n[0]}function lr(e){return 64==(64&e[2])}function jn(e,t){return null==t?null:e[t]}function ui(e){e[18]=0}function wo(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Fe={lFrame:zo(null),bindingsEnabled:!0};function no(){return Fe.bindingsEnabled}function ae(){return Fe.lFrame.lView}function it(){return Fe.lFrame.tView}function kt(e){return Fe.lFrame.contextLView=e,e[8]}function C(e){return Fe.lFrame.contextLView=null,e}function y(){let e=g();for(;null!==e&&64===e.type;)e=e.parent;return e}function g(){return Fe.lFrame.currentTNode}function Y(e,t){const n=Fe.lFrame;n.currentTNode=e,n.isParent=t}function Se(){return Fe.lFrame.isParent}function Et(){Fe.lFrame.isParent=!1}function jt(){const e=Fe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function tr(){return Fe.lFrame.bindingIndex++}function Er(e){const t=Fe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Yi(e,t){const n=Fe.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zi(t)}function Zi(e){Fe.lFrame.currentDirectiveIndex=e}function pi(){return Fe.lFrame.currentQueryIndex}function gi(e){Fe.lFrame.currentQueryIndex=e}function va(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function mi(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&T.Host||(o=va(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Fe.lFrame=vi();return r.currentTNode=t,r.lView=e,!0}function yi(e){const t=vi(),n=e[1];Fe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function vi(){const e=Fe.lFrame,t=null===e?null:e.child;return null===t?zo(e):t}function zo(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 Ps(){const e=Fe.lFrame;return Fe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ns=Ps;function Ki(){const e=Ps();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 gn(){return Fe.lFrame.selectedIndex}function cr(e){Fe.lFrame.selectedIndex=e}function At(){const e=Fe.lFrame;return vr(e.tView,e.selectedIndex)}function Ci(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[p]<0&&(e[18]+=65536),(c>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(c)}finally{}}}else try{i.call(c)}finally{}}const m=-1;class M{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Vt(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ro=!0;function _i(e){const t=ro;return ro=e,t}let bl=0;const _r={};function oo(e,t){const n=bi(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ji(r.data,e),Ji(t,null),Ji(r.blueprint,null));const o=Ko(e,t),i=e.injectorIndex;if(wr(o)){const s=In(o),c=dr(o,t),p=c[1].data;for(let E=0;E<8;E++)t[i+E]=c[s+E]|p[s+E]}return t[i+8]=o,i}function Ji(e,t){e.push(0,0,0,0,0,0,0,0,t)}function bi(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ko(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Al(o),null===r)return m;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return m}function Qi(e,t,n){!function Ml(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(vn)&&(r=n[vn]),null==r&&(r=n[vn]=bl++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:Xi:t}(n);if("function"==typeof i){if(!mi(t,e,r))return r&T.Host?Mi(o,0,r):_a(t,n,r,o);try{const s=i(r);if(null!=s||r&T.Optional)return s;q()}finally{Ns()}}else if("number"==typeof i){let s=null,c=bi(e,t),p=m,E=r&T.Host?t[16][6]:null;for((-1===c||r&T.SkipSelf)&&(p=-1===c?Ko(e,t):t[c+8],p!==m&&Ls(r,!1)?(s=t[1],c=In(p),t=dr(p,t)):c=-1);-1!==c;){const I=t[1];if(Ia(i,c,I.data)){const A=Sl(c,t,n,s,r,E);if(A!==_r)return A}p=t[c+8],p!==m&&Ls(r,t[1].data[c+8]===E)&&Ia(i,c,t)?(s=I,c=In(p),t=dr(p,t)):c=-1}}return o}function Sl(e,t,n,r,o,i){const s=t[1],c=s.data[e+8],I=qi(c,s,n,null==r?er(c)&&ro:r!=s&&0!=(3&c.type),o&T.Host&&i===c);return null!==I?Jo(t,s,I,c):_r}function qi(e,t,n,r,o){const i=e.providerIndexes,s=t.data,c=1048575&i,p=e.directiveStart,I=i>>20,U=o?c+I:e.directiveEnd;for(let G=r?c:c+I;G=p&&ee.type===n)return G}if(o){const G=s[p];if(G&&Cn(G)&&G.type===n)return p}return null}function Jo(e,t,n,r){let o=e[n];const i=t.data;if(function F(e){return e instanceof M}(o)){const s=o;s.resolving&&function V(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Ie(-200,`Circular dependency in DI detected for ${e}${n}`)}(function R(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():O(e)}(i[n]));const c=_i(s.canSeeViewProviders);s.resolving=!0;const p=s.injectImpl?be(s.injectImpl):null;mi(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Ea(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Vr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==p&&be(p),_i(c),s.resolving=!1,Ns()}}return o}function Ia(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[en]||Vs(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[en]||Vs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Vs(e){return Be(e)?()=>{const t=Vs(oe(e));return t&&t()}:Mn(e)}function Al(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Aa(e){return function Il(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const r=function Ta(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return c.annotation=s,c;function c(p,E,I){const A=p.hasOwnProperty(so)?p[so]:Object.defineProperty(p,so,{value:[]})[so];for(;A.length<=I;)A.push(null);return(A[I]=A[I]||[]).push(s),p}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class Nt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=It({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function zn(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?$r(n,t):t(n))}function Oa(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ts(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function f(e,t,n){let r=b(e,t);return r>=0?e[1|r]=n:(r=~r,function qc(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function v(e,t){const n=b(e,t);if(n>=0)return e[1|n]}function b(e,t){return function N(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((ao=ao||{})[ao.Important=1]="Important",ao[ao.DashCase=2]="DashCase",ao))();const Ul=new Map;let Hm=0;const Hl="__ngContext__";function Rn(e,t){Lt(t)?(e[Hl]=t[20],function $m(e){Ul.set(e[20],e)}(t)):e[Hl]=t}function $l(e,t){return undefined(e,t)}function Ks(e){const t=e[3];return bn(t)?t[3]:t}function Gl(e){return Ed(e[13])}function zl(e){return Ed(e[4])}function Ed(e){for(;null!==e&&!bn(e);)e=e[4];return e}function is(e,t,n,r,o){if(null!=r){let i,s=!1;bn(r)?i=r:Lt(r)&&(s=!0,r=r[0]);const c=xt(r);0===e&&null!==n?null==o?Sd(t,n,c):Oi(t,n,c,o||null,!0):1===e&&null!==n?Oi(t,n,c,o||null,!0):2===e?function ql(e,t,n){const r=Ra(e,t);r&&function dy(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,c,s):3===e&&t.destroyNode(c),null!=i&&function py(e,t,n,r,o){const i=n[7];i!==xt(n)&&is(t,e,r,i,o);for(let c=10;c0&&(e[n-1][4]=r[4]);const i=ts(e,10+t);!function ry(e,t){Js(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function bd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Js(e,t,n,3,null,null),function sy(e){let t=e[13];if(!t)return Kl(e[1],e);for(;t;){let n=null;if(Lt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Lt(t)&&Kl(t[1],t),t=t[3];null===t&&(t=e),Lt(t)&&Kl(t[1],t),n=t&&t[4]}t=n}}(t)}}function Kl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function cy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=E]():r[o=-E].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;ie,createScript:e=>e,createScriptURL:e=>e})}catch{}return ka}()?.createHTML(e)||e}function Dy(e){nu=e}function kd(e){return function ru(){if(void 0===Va&&(Va=null,Xe.trustedTypes))try{Va=Xe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Va}()?.createHTML(e)||e}class Ni{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Cy extends Ni{getTypeName(){return"HTML"}}class Ey extends Ni{getTypeName(){return"Style"}}class wy extends Ni{getTypeName(){return"Script"}}class _y extends Ni{getTypeName(){return"URL"}}class by extends Ni{getTypeName(){return"ResourceURL"}}function To(e){return e instanceof Ni?e.changingThisBreaksApplicationSecurity:e}function ss(e,t){const n=function My(e){return e instanceof Ni&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Iy(e){return new Cy(e)}function Sy(e){return new Ey(e)}function Ay(e){return new wy(e)}function Ty(e){return new _y(e)}function xy(e){return new by(e)}class Oy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Pi(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Py{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Pi(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Pi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0"),!0}endElement(t){const n=t.nodeName.toLowerCase();ou.hasOwnProperty(n)&&!Hd.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(zd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const ky=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Vy=/([^\#-~ |!])/g;function zd(e){return e.replace(/&/g,"&").replace(ky,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Vy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Ba;function Wd(e,t){let n=null;try{Ba=Ba||function Bd(e){const t=new Py(e);return function Ny(){try{return!!(new window.DOMParser).parseFromString(Pi(""),"text/html")}catch{return!1}}()?new Oy(t):t}(e);let r=t?String(t):"";n=Ba.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Ba.getInertBodyElement(r)}while(r!==i);return Pi((new Ly).sanitizeChildren(su(n)||n))}finally{if(n){const r=su(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function su(e){return"content"in e&&function Uy(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var nn=(()=>((nn=nn||{})[nn.NONE=0]="NONE",nn[nn.HTML=1]="HTML",nn[nn.STYLE=2]="STYLE",nn[nn.SCRIPT=3]="SCRIPT",nn[nn.URL=4]="URL",nn[nn.RESOURCE_URL=5]="RESOURCE_URL",nn))();function Yd(e){const t=qs();return t?kd(t.sanitize(nn.HTML,e)||""):ss(e,"HTML")?kd(To(e)):Wd(function Ld(){return void 0!==nu?nu:typeof document<"u"?document:void 0}(),O(e))}function au(e){const t=qs();return t?t.sanitize(nn.URL,e)||"":ss(e,"URL")?To(e):Ua(O(e))}function qs(){const e=ae();return e&&e[12]}const lu=new Nt("ENVIRONMENT_INITIALIZER"),Kd=new Nt("INJECTOR",-1),Jd=new Nt("INJECTOR_DEF_TYPES");class Qd{get(t,n=qo){if(n===qo){const r=new Error(`NullInjectorError: No provider for ${Me(t)}!`);throw r.name="NullInjectorError",r}return n}}function Wy(...e){return{\u0275providers:qd(0,e)}}function qd(e,...t){const n=[],r=new Set;let o;return $r(t,i=>{const s=i;uu(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Xd(o,n),n}function Xd(e,t){for(let n=0;n{t.push(i)})}}function uu(e,t,n,r){if(!(e=oe(e)))return!1;let o=null,i=Qn(e);const s=!i&&B(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const p=e.ngModule;if(i=Qn(p),!i)return!1;o=p}const c=r.has(o);if(s){if(c)return!1;if(r.add(o),s.dependencies){const p="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const E of p)uu(E,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!c){let E;r.add(o);try{$r(i.imports,I=>{uu(I,t,n,r)&&(E||(E=[]),E.push(I))})}finally{}void 0!==E&&Xd(E,t)}if(!c){const E=Mn(o)||(()=>new o);t.push({provide:o,useFactory:E,deps:Ve},{provide:Jd,useValue:o,multi:!0},{provide:lu,useValue:()=>cn(o),multi:!0})}const p=i.providers;null==p||c||$r(p,I=>{t.push(I)})}}return o!==e&&void 0!==e.providers}const Yy=ge({provide:String,useValue:ge});function cu(e){return null!==e&&"object"==typeof e&&Yy in e}function Ri(e){return"function"==typeof e}const du=new Nt("Set Injector scope."),Ha={},Ky={};let fu;function ja(){return void 0===fu&&(fu=new Qd),fu}class Fi{}class nf extends Fi{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,pu(t,s=>this.processProvider(s)),this.records.set(Kd,as(void 0,this)),o.has("environment")&&this.records.set(Fi,as(void 0,this));const i=this.records.get(du);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Jd.multi,Ve,T.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=rs(this),r=be(void 0);try{return t()}finally{rs(n),be(r)}}get(t,n=qo,r=T.Default){this.assertNotDestroyed();const o=rs(this),i=be(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(void 0===c){const p=function ev(e){return"function"==typeof e||"object"==typeof e&&e instanceof Nt}(t)&&_n(t);c=p&&this.injectableDefInScope(p)?as(hu(t),Ha):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(r&T.Self?ja():this.parent).get(t,n=r&T.Optional&&n===qo?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[ns]=s[ns]||[]).unshift(Me(t)),o)throw s;return function bm(e,t,n,r){const o=e[ns];throw t[Xc]&&o.unshift(t[Xc]),e.message=function Mm(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Me(t);if(Array.isArray(t))o=t.map(Me).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let c=t[s];i.push(s+":"+("string"==typeof c?JSON.stringify(c):Me(c)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Cm,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ns]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{be(i),rs(o)}}resolveInjectorInitializers(){const t=rs(this),n=be(void 0);try{const r=this.get(lu.multi,Ve,T.Self);for(const o of r)o()}finally{rs(t),be(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Me(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ie(205,!1)}processProvider(t){let n=Ri(t=oe(t))?t:oe(t&&t.provide);const r=function Qy(e){return cu(e)?as(void 0,e.useValue):as(rf(e),Ha)}(t);if(Ri(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=as(void 0,Ha,!0),o.factory=()=>Rl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ha&&(n.value=Ky,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Xy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=oe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function hu(e){const t=_n(e),n=null!==t?t.factory:Mn(e);if(null!==n)return n;if(e instanceof Nt)throw new Ie(204,!1);if(e instanceof Function)return function Jy(e){const t=e.length;if(t>0)throw function xi(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new Ie(204,!1)}function rf(e,t,n){let r;if(Ri(e)){const o=oe(e);return Mn(o)||hu(o)}if(cu(e))r=()=>oe(e.useValue);else if(function tf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Rl(e.deps||[]));else if(function ef(e){return!(!e||!e.useExisting)}(e))r=()=>cn(oe(e.useExisting));else{const o=oe(e&&(e.useClass||e.provide));if(!function qy(e){return!!e.deps}(e))return Mn(o)||hu(o);r=()=>new o(...Rl(e.deps))}return r}function as(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function tv(e){return!!e.\u0275providers}function pu(e,t){for(const n of e)Array.isArray(n)?pu(n,t):tv(n)?pu(n.\u0275providers,t):t(n)}class sf{}class ov{resolveComponentFactory(t){throw function rv(e){const t=Error(`No component factory found for ${Me(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Xs=(()=>{class e{}return e.NULL=new ov,e})();function iv(){return ls(y(),ae())}function ls(e,t){return new ea(Ht(e,t))}let ea=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=iv,e})();function sv(e){return e instanceof ea?e.nativeElement:e}class lf{}let av=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function lv(){const e=ae(),n=pn(y().index,e);return(Lt(n)?n:e)[11]}(),e})(),uv=(()=>{class e{}return e.\u0275prov=It({token:e,providedIn:"root",factory:()=>null}),e})();class uf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const cv=new uf("14.3.0"),gu={};function yu(e){return e.ngOriginalError}class ta{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&yu(t);for(;n&&yu(n);)n=yu(n);return n||null}}function cf(e){return e.ownerDocument.defaultView}function Oo(e){return e instanceof Function?e():e}function ff(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const hf="ng-template";function Cv(e,t,n){let r=0;for(;ri?"":o[A+1].toLowerCase();const G=8&r?U:null;if(G&&-1!==ff(G,E,0)||2&r&&E!==U){if(Gr(r))return!1;s=!0}}}}else{if(!s&&!Gr(r)&&!Gr(p))return!1;if(s&&Gr(p))continue;s=!1,r=p|1&r}}return Gr(r)||s}function Gr(e){return 0==(1&e)}function _v(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+c+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Gr(s)&&(t+=mf(i,o),o=""),r=s,i=i||!Gr(r);n++}return""!==o&&(t+=mf(i,o)),t}const st={};function yf(e){vf(it(),ae(),gn()+e,!1)}function vf(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Ei(t,i,n)}else{const i=e.preOrderHooks;null!==i&&wi(t,i,0,n)}cr(n)}function wf(e,t=null,n=null,r){const o=_f(e,t,n,r);return o.resolveInjectorInitializers(),o}function _f(e,t=null,n=null,r,o=new Set){const i=[n||Ve,Wy(e)];return r=r||("object"==typeof e?void 0:Me(e)),new nf(i,t||ja(),r||null,o)}let Li=(()=>{class e{static create(n,r){if(Array.isArray(n))return wf({name:""},r,n,"");{const o=n.name??"";return wf({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=qo,e.NULL=new Qd,e.\u0275prov=It({token:e,providedIn:"any",factory:()=>cn(Kd)}),e.__NG_ELEMENT_ID__=-1,e})();function ds(e,t=T.Default){const n=ae();return null===n?cn(e,t):ba(y(),n,oe(e),t)}function xf(){throw new Error("invalid")}function Ga(e,t){return e<<17|t<<2}function zr(e){return e>>17&32767}function wu(e){return 2|e}function Po(e){return(131068&e)>>2}function _u(e,t){return-131069&e|t<<2}function bu(e){return 1|e}function Hf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&vf(e,t,22,!1),n(r,o)}finally{cr(i)}}function $f(e,t,n){if(Bt(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=p&&c.push(p),c.push(r,o,s)}}function Jf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Qf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function DD(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&Uu(n)}}function Uu(e){for(let r=Gl(e);null!==r;r=zl(r))for(let o=10;o0&&Uu(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Uu(o)}}function ID(e,t){const n=pn(t,e),r=n[1];(function SD(e,t){for(let n=t.length;n-1&&(Zl(t,r),ts(n,r))}this._attachedToViewContainer=!1}bd(this._lView[1],this._lView)}onDestroy(t){zf(this._lView[1],this._lView,null,t)}markForCheck(){Bu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ja(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ie(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function iy(e,t){Js(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Ie(902,!1);this._appRef=t}}class AD extends na{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ja(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class $u extends Xs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=B(t);return new ra(n,this.ngModule)}}function ih(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class xD{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,gu,r);return o!==gu||n===gu?o:this.parentInjector.get(t,n,r)}}class ra extends sf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Tv(e){return e.map(Av).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return ih(this.componentDef.inputs)}get outputs(){return ih(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Fi?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new xD(t,i):t,c=s.get(lf,null);if(null===c)throw new Ie(407,!1);const p=s.get(uv,null),E=c.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",A=r?function uD(e,t,n){return e.selectRootElement(t,n===Ge.ShadowDom)}(E,r,this.componentDef.encapsulation):Yl(E,I,function TD(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),U=this.componentDef.onPush?288:272,G=Lu(0,null,null,1,0,null,null,null,null,null),ee=Ya(null,G,null,U,null,null,c,E,p,s,null);let pe,Ee;yi(ee);try{const Oe=function ND(e,t,n,r,o,i){const s=n[1];n[22]=e;const p=fs(s,22,2,"#host",null),E=p.mergedAttrs=t.hostAttrs;null!==E&&(Qa(p,E,!0),null!==e&&(Vt(o,e,E),null!==p.classes&&eu(o,e,p.classes),null!==p.styles&&Fd(o,e,p.styles)));const I=r.createRenderer(e,t),A=Ya(n,Gf(t),null,t.onPush?32:16,n[22],p,r,I,i||null,null,null);return s.firstCreatePass&&(Qi(oo(p,n),s,t.type),Qf(s,p),qf(p,n.length,1)),Ka(n,A),n[22]=A}(A,this.componentDef,ee,c,E);if(A)if(r)Vt(E,A,["ng-version",cv.full]);else{const{attrs:Ue,classes:de}=function xv(e){const t=[],n=[];let r=1,o=2;for(;r0&&eu(E,A,de.join(" "))}if(Ee=vr(G,22),void 0!==n){const Ue=Ee.projection=[];for(let de=0;de=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=nr(o.hostAttrs,n=nr(n,o.hostAttrs))}}(r)}function zu(e){return e===Yt?{}:e===Ve?[]:e}function kD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function VD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function UD(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let Xa=null;function ki(){if(!Xa){const e=Xe.Symbol;if(e&&e.iterator)Xa=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nc(xt(_t[r.index])):r.index;let Qe=null;if(!c&&p&&(Qe=function QD(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;ip?c[p]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==Qe)(Qe.__ngLastListenerFn__||Qe).__ngNextListenerFn__=i,Qe.__ngLastListenerFn__=i,G=!1;else{i=Mh(r,t,A,i,!1);const _t=n.listen(Oe,o,i);U.push(i,_t),I&&I.push(o,de,Ue,Ue+1)}}else i=Mh(r,t,A,i,!1);const ee=r.outputs;let pe;if(G&&null!==ee&&(pe=ee[o])){const Ee=pe.length;if(Ee)for(let Oe=0;Oe0;)t=t[15],e--;return t}(e,Fe.lFrame.contextLView))[8]}(e)}function Xu(e,t,n){return il(e,"",t,"",n),Xu}function il(e,t,n,r,o){const i=ae(),s=gs(i,t,n,r);return s!==st&&hr(it(),At(),i,e,s,i[11],o,!1),il}function Fh(e,t,n,r,o){const i=e[n+1],s=null===t;let c=r?zr(i):Po(i),p=!1;for(;0!==c&&(!1===p||s);){const I=e[c+1];rC(e[c],t)&&(p=!0,e[c+1]=r?bu(I):wu(I)),c=r?zr(I):Po(I)}p&&(e[n+1]=r?wu(i):bu(i))}function rC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&b(e,t)>=0}function ec(e,t){return function Wr(e,t,n,r){const o=ae(),i=it(),s=Er(2);i.firstUpdatePass&&function Gh(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[gn()],s=function $h(e,t){return t>=e.expandoStartIndex}(e,n);(function Zh(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function fC(e,t,n,r){const o=function hi(e){const t=Fe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=sa(n=tc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=tc(o,e,t,n,r),null===i){let p=function hC(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Po(r))return e[zr(r)]}(e,t,r);void 0!==p&&Array.isArray(p)&&(p=tc(null,e,t,p[1],r),p=sa(p,t.attrs,r),function pC(e,t,n,r){e[zr(n?t.classBindings:t.styleBindings)]=r}(e,t,r,p))}else i=function gC(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(E=!0)}else I=n;if(o)if(0!==p){const U=zr(e[c+1]);e[r+1]=Ga(U,c),0!==U&&(e[U+1]=_u(e[U+1],r)),e[c+1]=function Kv(e,t){return 131071&e|t<<17}(e[c+1],r)}else e[r+1]=Ga(c,0),0!==c&&(e[c+1]=_u(e[c+1],r)),c=r;else e[r+1]=Ga(p,0),0===c?c=r:e[p+1]=_u(e[p+1],r),p=r;E&&(e[r+1]=wu(e[r+1])),Fh(e,I,r,!0),Fh(e,I,r,!1),function nC(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&b(i,t)>=0&&(n[r+1]=bu(n[r+1]))}(t,I,e,r,i),s=Ga(c,p),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==st&&Fn(o,s,t)&&function Wh(e,t,n,r,o,i,s,c){if(!(3&t.type))return;const p=e.data,E=p[c+1];sl(function Nf(e){return 1==(1&e)}(E)?Yh(p,t,n,o,Po(E),s):void 0)||(sl(i)||function Pf(e){return 2==(2&e)}(E)&&(i=Yh(p,null,n,o,c,s)),function gy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:ao.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ao.Important),e.setStyle(n,r,o,i))}}(r,s,ar(gn(),n),o,i))}(i,i.data[gn()],o,o[11],e,o[s+1]=function vC(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Me(To(e)))),e}(t,n),r,s)}(e,t,null,!0),ec}function tc(e,t,n,r,o){let i=null;const s=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c0;){const p=e[o],E=Array.isArray(p),I=E?p[1]:p,A=null===I;let U=n[o+1];U===st&&(U=A?Ve:void 0);let G=A?v(U,r):I===r?U:void 0;if(E&&!sl(G)&&(G=v(p,r)),sl(G)&&(c=G,s))return c;const ee=e[o+1];o=s?zr(ee):Po(ee)}if(null!==t){let p=i?t.residualClasses:t.residualStyles;null!=p&&(c=v(p,r))}return c}function sl(e){return void 0!==e}function Kh(e,t=""){const n=ae(),r=it(),o=e+22,i=r.firstCreatePass?fs(r,o,1,t,null):r.data[o],s=n[o]=function Wl(e,t){return e.createText(t)}(n[11],t);Fa(r,n,s,i),Y(i,!1)}function nc(e){return al("",e,""),nc}function al(e,t,n){const r=ae(),o=gs(r,e,t,n);return o!==st&&No(r,gn(),o),al}function rc(e,t,n,r,o){const i=ae(),s=ms(i,e,t,n,r,o);return s!==st&&No(i,gn(),s),rc}const Ui=void 0;var VC=["en",[["a","p"],["AM","PM"],Ui],[["AM","PM"],Ui,Ui],[["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"]],Ui,[["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"]],Ui,[["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}",Ui,"{1} 'at' {0}",Ui],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function kC(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let bs={};function oc(e){const t=function UC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=gp(t);if(n)return n;const r=t.split("-")[0];if(n=gp(r),n)return n;if("en"===r)return VC;throw new Ie(701,!1)}function pp(e){return oc(e)[Ye.PluralCase]}function gp(e){return e in bs||(bs[e]=Xe.ng&&Xe.ng.common&&Xe.ng.common.locales&&Xe.ng.common.locales[e]),bs[e]}var Ye=(()=>((Ye=Ye||{})[Ye.LocaleId=0]="LocaleId",Ye[Ye.DayPeriodsFormat=1]="DayPeriodsFormat",Ye[Ye.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ye[Ye.DaysFormat=3]="DaysFormat",Ye[Ye.DaysStandalone=4]="DaysStandalone",Ye[Ye.MonthsFormat=5]="MonthsFormat",Ye[Ye.MonthsStandalone=6]="MonthsStandalone",Ye[Ye.Eras=7]="Eras",Ye[Ye.FirstDayOfWeek=8]="FirstDayOfWeek",Ye[Ye.WeekendRange=9]="WeekendRange",Ye[Ye.DateFormat=10]="DateFormat",Ye[Ye.TimeFormat=11]="TimeFormat",Ye[Ye.DateTimeFormat=12]="DateTimeFormat",Ye[Ye.NumberSymbols=13]="NumberSymbols",Ye[Ye.NumberFormats=14]="NumberFormats",Ye[Ye.CurrencyCode=15]="CurrencyCode",Ye[Ye.CurrencySymbol=16]="CurrencySymbol",Ye[Ye.CurrencyName=17]="CurrencyName",Ye[Ye.Currencies=18]="Currencies",Ye[Ye.Directionality=19]="Directionality",Ye[Ye.PluralCase=20]="PluralCase",Ye[Ye.ExtraData=21]="ExtraData",Ye))();const Ms="en-US";let mp=Ms;function ac(e,t,n,r,o){if(e=oe(e),Array.isArray(e))for(let i=0;i>20;if(Ri(e)||!e.multi){const G=new M(p,o,ds),ee=uc(c,t,o?I:I+U,A);-1===ee?(Qi(oo(E,s),i,c),lc(i,e,t.length),t.push(c),E.directiveStart++,E.directiveEnd++,o&&(E.providerIndexes+=1048576),n.push(G),s.push(G)):(n[ee]=G,s[ee]=G)}else{const G=uc(c,t,I+U,A),ee=uc(c,t,I,I+U),pe=G>=0&&n[G],Ee=ee>=0&&n[ee];if(o&&!Ee||!o&&!pe){Qi(oo(E,s),i,c);const Oe=function k0(e,t,n,r,o){const i=new M(e,n,ds);return i.multi=[],i.index=t,i.componentProviders=0,Hp(i,o,r&&!n),i}(o?L0:F0,n.length,o,r,p);!o&&Ee&&(n[ee].providerFactory=Oe),lc(i,e,t.length,0),t.push(c),E.directiveStart++,E.directiveEnd++,o&&(E.providerIndexes+=1048576),n.push(Oe),s.push(Oe)}else lc(i,e,G>-1?G:ee,Hp(n[o?ee:G],p,!o&&r));!o&&r&&Ee&&n[ee].componentProviders++}}}function lc(e,t,n,r){const o=Ri(t),i=function Zy(e){return!!e.useClass}(t);if(o||i){const p=(i?oe(t.useClass):t).prototype.ngOnDestroy;if(p){const E=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const I=E.indexOf(n);-1===I?E.push(n,[r,p]):E[I+1].push(r,p)}else E.push(n,p)}}}function Hp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function uc(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function R0(e,t,n){const r=it();if(r.firstCreatePass){const o=Cn(e);ac(n,r.data,r.blueprint,o,!0),ac(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Is{}class $p{}function V0(e,t){return new Gp(e,t??null)}class Gp extends Is{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new $u(this);const r=rt(t);this._bootstrapComponents=Oo(r.bootstrap),this._r3Injector=_f(t,n,[{provide:Is,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver}],Me(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class dc extends $p{constructor(t){super(),this.moduleType=t}create(t){return new Gp(this.moduleType,t)}}class U0 extends Is{constructor(t,n,r){super(),this.componentFactoryResolver=new $u(this),this.instance=null;const o=new nf([...t,{provide:Is,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver}],n||ja(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function fc(e,t,n=null){return new U0(e,t,n).injector}let B0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=qd(0,n.type),o=r.length>0?fc([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=It({token:e,providedIn:"environment",factory:()=>new e(cn(Fi))}),e})();function zp(e){e.getStandaloneInjector=t=>t.get(B0).getOrCreateStandaloneInjector(e)}function qp(e,t,n,r){return function eg(e,t,n,r,o,i){const s=t+n;return Fn(e,s,o)?uo(e,s+1,i?r.call(i,o):r(o)):fa(e,s+1)}(ae(),jt(),e,t,n,r)}function Xp(e,t,n,r,o){return tg(ae(),jt(),e,t,n,r,o)}function fa(e,t){const n=e[t];return n===st?void 0:n}function tg(e,t,n,r,o,i,s){const c=t+n;return Vi(e,c,o,i)?uo(e,c+2,s?r.call(s,o,i):r(o,i)):fa(e,c+2)}function ng(e,t,n,r,o,i,s,c){const p=t+n;return function el(e,t,n,r,o){const i=Vi(e,t,n,r);return Fn(e,t+2,o)||i}(e,p,o,i,s)?uo(e,p+3,c?r.call(c,o,i,s):r(o,i,s)):fa(e,p+3)}function ig(e,t){const n=it();let r;const o=e+22;n.firstCreatePass?(r=function rE(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Mn(r.type)),s=be(ds);try{const c=_i(!1),p=i();return _i(c),function ZD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ae(),o,p),p}finally{be(s)}}function sg(e,t,n,r){const o=e+22,i=ae(),s=jr(i,o);return ha(i,o)?tg(i,jt(),t,s.transform,n,r,s):s.transform(n,r)}function ag(e,t,n,r,o){const i=e+22,s=ae(),c=jr(s,i);return ha(s,i)?ng(s,jt(),t,c.transform,n,r,o,c):c.transform(n,r,o)}function ha(e,t){return e[1].data[t].pure}function pc(e){return t=>{setTimeout(e,void 0,t)}}const ho=class aE extends d.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const p=t;o=p.next?.bind(p),i=p.error?.bind(p),s=p.complete?.bind(p)}this.__isAsync&&(i=pc(i),o&&(o=pc(o)),s&&(s=pc(s)));const c=super.subscribe({next:o,error:i,complete:s});return t instanceof D.w0&&t.add(c),c}};function lE(){return this._results[ki()]()}class gc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=ki(),r=gc.prototype;r[n]||(r[n]=lE)}get changes(){return this._changes||(this._changes=new ho)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=zn(t);(this._changesDetected=!function Pl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=dE,e})();const uE=pa,cE=class extends uE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Ya(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),Nu(r,o,t),new na(o)}};function dE(){return fl(y(),ae())}function fl(e,t){return 4&e.type?new cE(t,e,ls(e,t)):null}let hl=(()=>{class e{}return e.__NG_ELEMENT_ID__=fE,e})();function fE(){return cg(y(),ae())}const hE=hl,lg=class extends hE{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ls(this._hostTNode,this._hostLView)}get injector(){return new io(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ko(this._hostTNode,this._hostLView);if(wr(t)){const n=dr(t,this._hostLView),r=In(t);return new io(n[1].data[r+8],n)}return new io(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ug(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function Ti(e){return"function"==typeof e}(t);let c;if(s)c=n;else{const A=n||{};c=A.index,r=A.injector,o=A.projectableNodes,i=A.environmentInjector||A.ngModuleRef}const p=s?t:new ra(B(t)),E=r||this.parentInjector;if(!i&&null==p.ngModule){const U=(s?E:this.parentInjector).get(Fi,null);U&&(i=U)}const I=p.create(E,o,void 0,i);return this.insert(I.hostView,c),I}insert(t,n){const r=t._lView,o=r[1];if(function li(e){return bn(e[3])}(r)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const A=r[3],U=new lg(A,A[6],A[3]);U.detach(U.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function ay(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(s[c/2]);else{const E=i[c+1],I=t[-p];for(let A=10;A{class e{constructor(n){this.appInits=n,this.resolve=gl,this.reject=gl,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:c,error:p})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(cn(Ug,8))},e.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Bg=new Nt("AppId",{providedIn:"root",factory:function Hg(){return`${Ic()}${Ic()}${Ic()}`}});function Ic(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const jg=new Nt("Platform Initializer"),HE=new Nt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),$g=new Nt("appBootstrapListener");let jE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const yl=new Nt("LocaleId",{providedIn:"root",factory:()=>td(yl,T.Optional|T.SkipSelf)||function $E(){return typeof $localize<"u"&&$localize.locale||Ms}()}),GE=new Nt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class zE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let WE=(()=>{class e{compileModuleSync(n){return new dc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Oo(rt(n).declarations).reduce((s,c)=>{const p=B(c);return p&&s.push(new ra(p)),s},[]);return new zE(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const KE=(()=>Promise.resolve(0))();function Sc(e){typeof Zone>"u"?KE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Sr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ho(!1),this.onMicrotaskEmpty=new ho(!1),this.onStable=new ho(!1),this.onError=new ho(!1),typeof Zone>"u")throw new Ie(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new i("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function JE(){let e=Xe.requestAnimationFrame,t=Xe.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function XE(e){const t=()=>{!function qE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Xe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Tc(e),e.isCheckStableRunning=!0,Ac(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Tc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,c)=>{try{return Wg(e),n.invokeTask(o,i,s,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Yg(e)}},onInvoke:(n,r,o,i,s,c,p)=>{try{return Wg(e),n.invoke(o,i,s,c,p)}finally{e.shouldCoalesceRunChangeDetection&&t(),Yg(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Tc(e),Ac(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Sr.isInAngularZone())throw new Ie(909,!1)}static assertNotInAngularZone(){if(Sr.isInAngularZone())throw new Ie(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,QE,gl,gl);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const QE={};function Ac(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 Tc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Wg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Yg(e){e._nesting--,Ac(e)}class ew{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ho,this.onMicrotaskEmpty=new ho,this.onStable=new ho,this.onError=new ho}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Zg=new Nt(""),Kg=new Nt("");let xc,tw=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,xc||(function nw(e){xc=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Sr.assertNotInAngularZone(),Sc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Sc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(cn(Sr),cn(Jg),cn(Kg))},e.\u0275prov=It({token:e,factory:e.\u0275fac}),e})(),Jg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return xc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),ti=null;const Qg=new Nt("AllowMultipleToken"),Oc=new Nt("PlatformDestroyListeners");class iw{constructor(t,n){this.name=t,this.token=n}}function Xg(e,t,n=[]){const r=`Platform: ${t}`,o=new Nt(r);return(i=[])=>{let s=Pc();if(!s||s.injector.get(Qg,!1)){const c=[...n,...i,{provide:o,useValue:!0}];e?e(c):function sw(e){if(ti&&!ti.get(Qg,!1))throw new Ie(400,!1);ti=e;const t=e.get(tm);(function qg(e){const t=e.get(jg,null);t&&t.forEach(n=>n())})(e)}(function em(e=[],t){return Li.create({name:t,providers:[{provide:du,useValue:"platform"},{provide:Oc,useValue:new Set([()=>ti=null])},...e]})}(c,r))}return function lw(e){const t=Pc();if(!t)throw new Ie(401,!1);return t}()}}function Pc(){return ti?.get(tm)??null}let tm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function rm(e,t){let n;return n="noop"===e?new ew:("zone.js"===e?void 0:e)||new Sr(t),n}(r?.ngZone,function nm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Sr,useValue:o}];return o.run(()=>{const s=Li.create({providers:i,parent:this.injector,name:n.moduleType.name}),c=n.create(s),p=c.injector.get(ta,null);if(!p)throw new Ie(402,!1);return o.runOutsideAngular(()=>{const E=o.onError.subscribe({next:I=>{p.handleError(I)}});c.onDestroy(()=>{Dl(this._modules,c),E.unsubscribe()})}),function om(e,t,n){try{const r=n();return Qu(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(p,o,()=>{const E=c.injector.get(ml);return E.runInitializers(),E.donePromise.then(()=>(function yp(e){Tt(e,"Expected localeId to be defined"),"string"==typeof e&&(mp=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(yl,Ms)||Ms),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=im({},r);return function rw(e,t,n){const r=new dc(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(vl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Ie(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ie(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Oc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(cn(Li))},e.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function im(e,t){return Array.isArray(t)?t.reduce(im,e):{...e,...t}}let vl=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new z.y(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),s=new z.y(c=>{let p;this._zone.runOutsideAngular(()=>{p=this._zone.onStable.subscribe(()=>{Sr.assertNotInAngularZone(),Sc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const E=this._zone.onUnstable.subscribe(()=>{Sr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{p.unsubscribe(),E.unsubscribe()}});this.isStable=function me(...e){const t=(0,J.yG)(e),n=(0,J._6)(e,1/0),r=e;return r.length?1===r.length?(0,ne.Xf)(r[0]):(0,se.J)(n)((0,_e.D)(r,t)):Te.E}(i,s.pipe(function qe(e={}){const{connector:t=(()=>new d.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,c=null,p=null,E=0,I=!1,A=!1;const U=()=>{c?.unsubscribe(),c=null},G=()=>{U(),s=p=null,I=A=!1},ee=()=>{const pe=s;G(),pe?.unsubscribe()};return(0,De.e)((pe,Ee)=>{E++,!A&&!I&&U();const Oe=p=p??t();Ee.add(()=>{E--,0===E&&!A&&!I&&(c=ye(ee,o))}),Oe.subscribe(Ee),s||(s=new ce.Hp({next:Ue=>Oe.next(Ue),error:Ue=>{A=!0,U(),c=ye(G,n,Ue),Oe.error(Ue)},complete:()=>{I=!0,U(),c=ye(G,r),Oe.complete()}}),(0,_e.D)(pe).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof sf;if(!this._injector.get(ml).done)throw!o&&Ze(n),new Ie(405,false);let s;s=o?n:this._injector.get(Xs).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const c=function ow(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Is),E=s.create(Li.NULL,[],r||s.selector,c),I=E.location.nativeElement,A=E.injector.get(Zg,null);return A?.registerApplication(I),E.onDestroy(()=>{this.detachView(E.hostView),Dl(this.components,E),A?.unregisterApplication(I)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new Ie(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Dl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get($g,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Dl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Ie(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(cn(Sr),cn(Fi),cn(ta))},e.\u0275prov=It({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Dl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let am=!0;function cw(){am=!1}let dw=(()=>{class e{}return e.__NG_ELEMENT_ID__=fw,e})();function fw(e){return function hw(e,t,n){if(er(e)&&!n){const r=pn(e.index,t);return new na(r,r)}return 47&e.type?new na(t[16],t):null}(y(),ae(),16==(16&e))}class fm{constructor(){}supports(t){return oa(t)}create(t){return new Dw(t)}}const vw=(e,t)=>t;class Dw{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||vw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,c),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,c,s,o)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Cw(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new hm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new hm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Cw{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Ew{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class hm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Ew,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function pm(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new _w(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class _w{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 mm(){return new kc([new fm])}let kc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||mm()),deps:[[e,new zs,new Gs]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Ie(901,!1)}}return e.\u0275prov=It({token:e,providedIn:"root",factory:mm}),e})();function ym(){return new Vc([new gm])}let Vc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ym()),deps:[[e,new zs,new Gs]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Ie(901,!1)}}return e.\u0275prov=It({token:e,providedIn:"root",factory:ym}),e})();const Iw=Xg(null,"core",[]);let Sw=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(cn(vl))},e.\u0275mod=Tn({type:e}),e.\u0275inj=dn({}),e})();function Aw(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},433:(We,fe,_)=>{_.d(fe,{Fj:()=>oe,qu:()=>Go,u:()=>Uo,sg:()=>En,u5:()=>to,JU:()=>ge,a5:()=>Gt,JJ:()=>re,JL:()=>k,YN:()=>Co,wV:()=>go,UX:()=>_o,Q7:()=>ar,QS:()=>it,p4:()=>Pr,nJ:()=>x,kI:()=>V,_Y:()=>ni,Kr:()=>qr});var d=_(8256),D=_(6895),z=_(2076),se=_(9751),ne=_(4742),Te=_(8421),J=_(7669),_e=_(5403),me=_(3268),le=_(1810),De=_(4004);let qe=(()=>{class C{constructor(g,S){this._renderer=g,this._elementRef=S,this.onChange=Y=>{},this.onTouched=()=>{}}setProperty(g,S){this._renderer.setProperty(this._elementRef.nativeElement,g,S)}registerOnTouched(g){this.onTouched=g}registerOnChange(g){this.onChange=g}setDisabledState(g){this.setProperty("disabled",g)}}return C.\u0275fac=function(g){return new(g||C)(d.Y36(d.Qsj),d.Y36(d.SBq))},C.\u0275dir=d.lG2({type:C}),C})(),ye=(()=>{class C extends qe{}return C.\u0275fac=function(){let y;return function(S){return(y||(y=d.n5z(C)))(S||C)}}(),C.\u0275dir=d.lG2({type:C,features:[d.qOj]}),C})();const ge=new d.OlP("NgValueAccessor"),Ne={provide:ge,useExisting:(0,d.Gpc)(()=>oe),multi:!0},et=new d.OlP("CompositionEventMode");let oe=(()=>{class C extends qe{constructor(g,S,Y){super(g,S),this._compositionMode=Y,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ke(){const C=(0,D.q)()?(0,D.q)().getUserAgent():"";return/android (\d+)/.test(C.toLowerCase())}())}writeValue(g){this.setProperty("value",g??"")}_handleInput(g){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(g)}_compositionStart(){this._composing=!0}_compositionEnd(g){this._composing=!1,this._compositionMode&&this.onChange(g)}}return C.\u0275fac=function(g){return new(g||C)(d.Y36(d.Qsj),d.Y36(d.SBq),d.Y36(et,8))},C.\u0275dir=d.lG2({type:C,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(g,S){1&g&&d.NdJ("input",function(Se){return S._handleInput(Se.target.value)})("blur",function(){return S.onTouched()})("compositionstart",function(){return S._compositionStart()})("compositionend",function(Se){return S._compositionEnd(Se.target.value)})},features:[d._Bn([Ne]),d.qOj]}),C})();function je(C){return null==C||("string"==typeof C||Array.isArray(C))&&0===C.length}function Ie(C){return null!=C&&"number"==typeof C.length}const we=new d.OlP("NgValidators"),O=new d.OlP("NgAsyncValidators"),R=/^(?=.{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 V{static min(y){return function L(C){return y=>{if(je(y.value)||je(C))return null;const g=parseFloat(y.value);return!isNaN(g)&&g{if(je(y.value)||je(C))return null;const g=parseFloat(y.value);return!isNaN(g)&&g>C?{max:{max:C,actual:y.value}}:null}}(y)}static required(y){return q(y)}static requiredTrue(y){return function ue(C){return!0===C.value?null:{required:!0}}(y)}static email(y){return function Ce(C){return je(C.value)||R.test(C.value)?null:{email:!0}}(y)}static minLength(y){return function tt(C){return y=>je(y.value)||!Ie(y.value)?null:y.value.lengthIe(y.value)&&y.value.length>C?{maxlength:{requiredLength:C,actualLength:y.value.length}}:null}(y)}static pattern(y){return function He(C){if(!C)return yt;let y,g;return"string"==typeof C?(g="","^"!==C.charAt(0)&&(g+="^"),g+=C,"$"!==C.charAt(C.length-1)&&(g+="$"),y=new RegExp(g)):(g=C.toString(),y=C),S=>{if(je(S.value))return null;const Y=S.value;return y.test(Y)?null:{pattern:{requiredPattern:g,actualValue:Y}}}}(y)}static nullValidator(y){return null}static compose(y){return Ut(y)}static composeAsync(y){return at(y)}}function q(C){return je(C.value)?{required:!0}:null}function yt(C){return null}function Ot(C){return null!=C}function bt(C){return(0,d.QGY)(C)?(0,z.D)(C):C}function qt(C){let y={};return C.forEach(g=>{y=null!=g?{...y,...g}:y}),0===Object.keys(y).length?null:y}function yn(C,y){return y.map(g=>g(C))}function Mt(C){return C.map(y=>function Xt(C){return!C.validate}(y)?y:g=>y.validate(g))}function Ut(C){if(!C)return null;const y=C.filter(Ot);return 0==y.length?null:function(g){return qt(yn(g,y))}}function Tt(C){return null!=C?Ut(Mt(C)):null}function at(C){if(!C)return null;const y=C.filter(Ot);return 0==y.length?null:function(g){return function ce(...C){const y=(0,J.jO)(C),{args:g,keys:S}=(0,ne.D)(C),Y=new se.y(Se=>{const{length:Et}=g;if(!Et)return void Se.complete();const $n=new Array(Et);let Dr=Et,bo=Et;for(let Cr=0;Cr{jt||(jt=!0,bo--),$n[Cr]=wn},()=>Dr--,void 0,()=>{(!Dr||!jt)&&(bo||Se.next(S?(0,le.n)(S,$n):$n),Se.complete())}))}});return y?Y.pipe((0,me.Z)(y)):Y}(yn(g,y).map(bt)).pipe((0,De.U)(qt))}}function Ar(C){return null!=C?at(Mt(C)):null}function Zn(C,y){return null===C?[y]:Array.isArray(C)?[...C,y]:[C,y]}function Kn(C){return C._rawValidators}function It(C){return C._rawAsyncValidators}function Jn(C){return C?Array.isArray(C)?C:[C]:[]}function dn(C,y){return Array.isArray(C)?C.includes(y):C===y}function _n(C,y){const g=Jn(y);return Jn(C).forEach(Y=>{dn(g,Y)||g.push(Y)}),g}function Re(C,y){return Jn(y).filter(g=>!dn(C,g))}class fn{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(y){this._rawValidators=y||[],this._composedValidatorFn=Tt(this._rawValidators)}_setAsyncValidators(y){this._rawAsyncValidators=y||[],this._composedAsyncValidatorFn=Ar(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(y){this._onDestroyCallbacks.push(y)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(y=>y()),this._onDestroyCallbacks=[]}reset(y){this.control&&this.control.reset(y)}hasError(y,g){return!!this.control&&this.control.hasError(y,g)}getError(y,g){return this.control?this.control.getError(y,g):null}}class $t extends fn{get formDirective(){return null}get path(){return null}}class Gt extends fn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Qn{constructor(y){this._cd=y}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 re=(()=>{class C extends Qn{constructor(g){super(g)}}return C.\u0275fac=function(g){return new(g||C)(d.Y36(Gt,2))},C.\u0275dir=d.lG2({type:C,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(g,S){2&g&&d.ekj("ng-untouched",S.isUntouched)("ng-touched",S.isTouched)("ng-pristine",S.isPristine)("ng-dirty",S.isDirty)("ng-valid",S.isValid)("ng-invalid",S.isInvalid)("ng-pending",S.isPending)},features:[d.qOj]}),C})(),k=(()=>{class C extends Qn{constructor(g){super(g)}}return C.\u0275fac=function(g){return new(g||C)(d.Y36($t,10))},C.\u0275dir=d.lG2({type:C,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(g,S){2&g&&d.ekj("ng-untouched",S.isUntouched)("ng-touched",S.isTouched)("ng-pristine",S.isPristine)("ng-dirty",S.isDirty)("ng-valid",S.isValid)("ng-invalid",S.isInvalid)("ng-pending",S.isPending)("ng-submitted",S.isSubmitted)},features:[d.qOj]}),C})();const on="VALID",sn="INVALID",en="PENDING",vn="DISABLED";function gr(C){return(Ln(C)?C.validators:C)||null}function Tr(C){return Array.isArray(C)?Tt(C):C||null}function rr(C,y){return(Ln(y)?y.asyncValidators:C)||null}function An(C){return Array.isArray(C)?Ar(C):C||null}function Ln(C){return null!=C&&!Array.isArray(C)&&"object"==typeof C}function Tn(C,y,g){const S=C.controls;if(!(y?Object.keys(S):S).length)throw new d.vHH(1e3,"");if(!S[g])throw new d.vHH(1001,"")}function xr(C,y,g){C._forEachChild((S,Y)=>{if(void 0===g[Y])throw new d.vHH(1002,"")})}class j{constructor(y,g){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=y,this._rawAsyncValidators=g,this._composedValidatorFn=Tr(this._rawValidators),this._composedAsyncValidatorFn=An(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(y){this._rawValidators=this._composedValidatorFn=y}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(y){this._rawAsyncValidators=this._composedAsyncValidatorFn=y}get parent(){return this._parent}get valid(){return this.status===on}get invalid(){return this.status===sn}get pending(){return this.status==en}get disabled(){return this.status===vn}get enabled(){return this.status!==vn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(y){this._rawValidators=y,this._composedValidatorFn=Tr(y)}setAsyncValidators(y){this._rawAsyncValidators=y,this._composedAsyncValidatorFn=An(y)}addValidators(y){this.setValidators(_n(y,this._rawValidators))}addAsyncValidators(y){this.setAsyncValidators(_n(y,this._rawAsyncValidators))}removeValidators(y){this.setValidators(Re(y,this._rawValidators))}removeAsyncValidators(y){this.setAsyncValidators(Re(y,this._rawAsyncValidators))}hasValidator(y){return dn(this._rawValidators,y)}hasAsyncValidator(y){return dn(this._rawAsyncValidators,y)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(y={}){this.touched=!0,this._parent&&!y.onlySelf&&this._parent.markAsTouched(y)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(y=>y.markAllAsTouched())}markAsUntouched(y={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}markAsDirty(y={}){this.pristine=!1,this._parent&&!y.onlySelf&&this._parent.markAsDirty(y)}markAsPristine(y={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(g=>{g.markAsPristine({onlySelf:!0})}),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}markAsPending(y={}){this.status=en,!1!==y.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!y.onlySelf&&this._parent.markAsPending(y)}disable(y={}){const g=this._parentMarkedDirty(y.onlySelf);this.status=vn,this.errors=null,this._forEachChild(S=>{S.disable({...y,onlySelf:!0})}),this._updateValue(),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...y,skipPristineCheck:g}),this._onDisabledChange.forEach(S=>S(!0))}enable(y={}){const g=this._parentMarkedDirty(y.onlySelf);this.status=on,this._forEachChild(S=>{S.enable({...y,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent}),this._updateAncestors({...y,skipPristineCheck:g}),this._onDisabledChange.forEach(S=>S(!1))}_updateAncestors(y){this._parent&&!y.onlySelf&&(this._parent.updateValueAndValidity(y),y.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(y){this._parent=y}getRawValue(){return this.value}updateValueAndValidity(y={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===on||this.status===en)&&this._runAsyncValidator(y.emitEvent)),!1!==y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!y.onlySelf&&this._parent.updateValueAndValidity(y)}_updateTreeValidity(y={emitEvent:!0}){this._forEachChild(g=>g._updateTreeValidity(y)),this.updateValueAndValidity({onlySelf:!0,emitEvent:y.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vn:on}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(y){if(this.asyncValidator){this.status=en,this._hasOwnPendingAsyncValidator=!0;const g=bt(this.asyncValidator(this));this._asyncValidationSubscription=g.subscribe(S=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(S,{emitEvent:y})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(y,g={}){this.errors=y,this._updateControlsErrors(!1!==g.emitEvent)}get(y){let g=y;return null==g||(Array.isArray(g)||(g=g.split(".")),0===g.length)?null:g.reduce((S,Y)=>S&&S._find(Y),this)}getError(y,g){const S=g?this.get(g):this;return S&&S.errors?S.errors[y]:null}hasError(y,g){return!!this.getError(y,g)}get root(){let y=this;for(;y._parent;)y=y._parent;return y}_updateControlsErrors(y){this.status=this._calculateStatus(),y&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(y)}_initObservables(){this.valueChanges=new d.vpe,this.statusChanges=new d.vpe}_calculateStatus(){return this._allControlsDisabled()?vn:this.errors?sn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(en)?en:this._anyControlsHaveStatus(sn)?sn:on}_anyControlsHaveStatus(y){return this._anyControls(g=>g.status===y)}_anyControlsDirty(){return this._anyControls(y=>y.dirty)}_anyControlsTouched(){return this._anyControls(y=>y.touched)}_updatePristine(y={}){this.pristine=!this._anyControlsDirty(),this._parent&&!y.onlySelf&&this._parent._updatePristine(y)}_updateTouched(y={}){this.touched=this._anyControlsTouched(),this._parent&&!y.onlySelf&&this._parent._updateTouched(y)}_registerOnCollectionChange(y){this._onCollectionChange=y}_setUpdateStrategy(y){Ln(y)&&null!=y.updateOn&&(this._updateOn=y.updateOn)}_parentMarkedDirty(y){return!y&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(y){return null}}class H extends j{constructor(y,g,S){super(gr(g),rr(S,g)),this.controls=y,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(y,g){return this.controls[y]?this.controls[y]:(this.controls[y]=g,g.setParent(this),g._registerOnCollectionChange(this._onCollectionChange),g)}addControl(y,g,S={}){this.registerControl(y,g),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}removeControl(y,g={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}setControl(y,g,S={}){this.controls[y]&&this.controls[y]._registerOnCollectionChange(()=>{}),delete this.controls[y],g&&this.registerControl(y,g),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}contains(y){return this.controls.hasOwnProperty(y)&&this.controls[y].enabled}setValue(y,g={}){xr(this,0,y),Object.keys(y).forEach(S=>{Tn(this,!0,S),this.controls[S].setValue(y[S],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(y,g={}){null!=y&&(Object.keys(y).forEach(S=>{const Y=this.controls[S];Y&&Y.patchValue(y[S],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(y={},g={}){this._forEachChild((S,Y)=>{S.reset(y[Y],{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this._reduceChildren({},(y,g,S)=>(y[S]=g.getRawValue(),y))}_syncPendingControls(){let y=this._reduceChildren(!1,(g,S)=>!!S._syncPendingControls()||g);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){Object.keys(this.controls).forEach(g=>{const S=this.controls[g];S&&y(S,g)})}_setUpControls(){this._forEachChild(y=>{y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(y){for(const[g,S]of Object.entries(this.controls))if(this.contains(g)&&y(S))return!0;return!1}_reduceValue(){return this._reduceChildren({},(g,S,Y)=>((S.enabled||this.disabled)&&(g[Y]=S.value),g))}_reduceChildren(y,g){let S=y;return this._forEachChild((Y,Se)=>{S=g(S,Y,Se)}),S}_allControlsDisabled(){for(const y of Object.keys(this.controls))if(this.controls[y].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(y){return this.controls.hasOwnProperty(y)?this.controls[y]:null}}const x=H;class Q extends H{}function rt(C,y){gt(C,y),y.valueAccessor.writeValue(C.value),C.disabled&&y.valueAccessor.setDisabledState?.(!0),function kn(C,y){y.valueAccessor.registerOnChange(g=>{C._pendingValue=g,C._pendingChange=!0,C._pendingDirty=!0,"change"===C.updateOn&&xn(C,y)})}(C,y),function ct(C,y){const g=(S,Y)=>{y.valueAccessor.writeValue(S),Y&&y.viewToModelUpdate(S)};C.registerOnChange(g),y._registerOnDestroy(()=>{C._unregisterOnChange(g)})}(C,y),function Ft(C,y){y.valueAccessor.registerOnTouched(()=>{C._pendingTouched=!0,"blur"===C.updateOn&&C._pendingChange&&xn(C,y),"submit"!==C.updateOn&&C.markAsTouched()})}(C,y),function Ke(C,y){if(y.valueAccessor.setDisabledState){const g=S=>{y.valueAccessor.setDisabledState(S)};C.registerOnDisabledChange(g),y._registerOnDestroy(()=>{C._unregisterOnDisabledChange(g)})}}(C,y)}function ft(C,y,g=!0){const S=()=>{};y.valueAccessor&&(y.valueAccessor.registerOnChange(S),y.valueAccessor.registerOnTouched(S)),Zt(C,y),C&&(y._invokeOnDestroyCallbacks(),C._registerOnCollectionChange(()=>{}))}function ve(C,y){C.forEach(g=>{g.registerOnValidatorChange&&g.registerOnValidatorChange(y)})}function gt(C,y){const g=Kn(C);null!==y.validator?C.setValidators(Zn(g,y.validator)):"function"==typeof g&&C.setValidators([g]);const S=It(C);null!==y.asyncValidator?C.setAsyncValidators(Zn(S,y.asyncValidator)):"function"==typeof S&&C.setAsyncValidators([S]);const Y=()=>C.updateValueAndValidity();ve(y._rawValidators,Y),ve(y._rawAsyncValidators,Y)}function Zt(C,y){let g=!1;if(null!==C){if(null!==y.validator){const Y=Kn(C);if(Array.isArray(Y)&&Y.length>0){const Se=Y.filter(Et=>Et!==y.validator);Se.length!==Y.length&&(g=!0,C.setValidators(Se))}}if(null!==y.asyncValidator){const Y=It(C);if(Array.isArray(Y)&&Y.length>0){const Se=Y.filter(Et=>Et!==y.asyncValidator);Se.length!==Y.length&&(g=!0,C.setAsyncValidators(Se))}}}const S=()=>{};return ve(y._rawValidators,S),ve(y._rawAsyncValidators,S),g}function xn(C,y){C._pendingDirty&&C.markAsDirty(),C.setValue(C._pendingValue,{emitModelToViewChange:!1}),y.viewToModelUpdate(C._pendingValue),C._pendingChange=!1}function Qr(C,y){const g=C.indexOf(y);g>-1&&C.splice(g,1)}function Un(C){return"object"==typeof C&&null!==C&&2===Object.keys(C).length&&"value"in C&&"disabled"in C}const Dn=class extends j{constructor(y=null,g,S){super(gr(g),rr(S,g)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(y),this._setUpdateStrategy(g),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ln(g)&&(g.nonNullable||g.initialValueIsDefault)&&(this.defaultValue=Un(y)?y.value:y)}setValue(y,g={}){this.value=this._pendingValue=y,this._onChange.length&&!1!==g.emitModelToViewChange&&this._onChange.forEach(S=>S(this.value,!1!==g.emitViewToModelChange)),this.updateValueAndValidity(g)}patchValue(y,g={}){this.setValue(y,g)}reset(y=this.defaultValue,g={}){this._applyFormState(y),this.markAsPristine(g),this.markAsUntouched(g),this.setValue(this.value,g),this._pendingChange=!1}_updateValue(){}_anyControls(y){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(y){this._onChange.push(y)}_unregisterOnChange(y){Qr(this._onChange,y)}registerOnDisabledChange(y){this._onDisabledChange.push(y)}_unregisterOnDisabledChange(y){Qr(this._onDisabledChange,y)}_forEachChild(y){}_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(y){Un(y)?(this.value=this._pendingValue=y.value,y.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=y}},Pr=Dn;let ni=(()=>{class C{}return C.\u0275fac=function(g){return new(g||C)},C.\u0275dir=d.lG2({type:C,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),C})();const ri={provide:ge,useExisting:(0,d.Gpc)(()=>go),multi:!0};let go=(()=>{class C extends ye{writeValue(g){this.setProperty("value",g??"")}registerOnChange(g){this.onChange=S=>{g(""==S?null:parseFloat(S))}}}return C.\u0275fac=function(){let y;return function(S){return(y||(y=d.n5z(C)))(S||C)}}(),C.\u0275dir=d.lG2({type:C,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(g,S){1&g&&d.NdJ("input",function(Se){return S.onChange(Se.target.value)})("blur",function(){return S.onTouched()})},features:[d._Bn([ri]),d.qOj]}),C})(),oi=(()=>{class C{}return C.\u0275fac=function(g){return new(g||C)},C.\u0275mod=d.oAB({type:C}),C.\u0275inj=d.cJS({}),C})();const Vo=new d.OlP("NgModelWithFormControlWarning"),yo={provide:$t,useExisting:(0,d.Gpc)(()=>En)};let En=(()=>{class C extends $t{constructor(g,S){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new d.vpe,this._setValidators(g),this._setAsyncValidators(S)}ngOnChanges(g){this._checkFormPresent(),g.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Zt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(g){const S=this.form.get(g.path);return rt(S,g),S.updateValueAndValidity({emitEvent:!1}),this.directives.push(g),S}getControl(g){return this.form.get(g.path)}removeControl(g){ft(g.control||null,g,!1),function hn(C,y){const g=C.indexOf(y);g>-1&&C.splice(g,1)}(this.directives,g)}addFormGroup(g){this._setUpFormContainer(g)}removeFormGroup(g){this._cleanUpFormContainer(g)}getFormGroup(g){return this.form.get(g.path)}addFormArray(g){this._setUpFormContainer(g)}removeFormArray(g){this._cleanUpFormContainer(g)}getFormArray(g){return this.form.get(g.path)}updateModel(g,S){this.form.get(g.path).setValue(S)}onSubmit(g){return this.submitted=!0,function or(C,y){C._syncPendingControls(),y.forEach(g=>{const S=g.control;"submit"===S.updateOn&&S._pendingChange&&(g.viewToModelUpdate(S._pendingValue),S._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(g),"dialog"===g?.target?.method}onReset(){this.resetForm()}resetForm(g){this.form.reset(g),this.submitted=!1}_updateDomValue(){this.directives.forEach(g=>{const S=g.control,Y=this.form.get(g.path);S!==Y&&(ft(S||null,g),(C=>C instanceof Dn)(Y)&&(rt(Y,g),g.control=Y))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(g){const S=this.form.get(g.path);(function Vn(C,y){gt(C,y)})(S,g),S.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(g){if(this.form){const S=this.form.get(g.path);S&&function Kr(C,y){return Zt(C,y)}(S,g)&&S.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gt(this.form,this),this._oldForm&&Zt(this._oldForm,this)}_checkFormPresent(){}}return C.\u0275fac=function(g){return new(g||C)(d.Y36(we,10),d.Y36(O,10))},C.\u0275dir=d.lG2({type:C,selectors:[["","formGroup",""]],hostBindings:function(g,S){1&g&&d.NdJ("submit",function(Se){return S.onSubmit(Se)})("reset",function(){return S.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[d._Bn([yo]),d.qOj,d.TTD]}),C})();const zi={provide:Gt,useExisting:(0,d.Gpc)(()=>Uo)};let Uo=(()=>{class C extends Gt{constructor(g,S,Y,Se,Et){super(),this._ngModelWarningConfig=Et,this._added=!1,this.update=new d.vpe,this._ngModelWarningSent=!1,this._parent=g,this._setValidators(S),this._setAsyncValidators(Y),this.valueAccessor=function On(C,y){if(!y)return null;let g,S,Y;return Array.isArray(y),y.forEach(Se=>{Se.constructor===oe?g=Se:function Pt(C){return Object.getPrototypeOf(C.constructor)===ye}(Se)?S=Se:Y=Se}),Y||S||g||null}(0,Se)}set isDisabled(g){}ngOnChanges(g){this._added||this._setUpControl(),function an(C,y){if(!C.hasOwnProperty("model"))return!1;const g=C.model;return!!g.isFirstChange()||!Object.is(y,g.currentValue)}(g,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}get path(){return function Ze(C,y){return[...y.path,C]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return C._ngModelWarningSentOnce=!1,C.\u0275fac=function(g){return new(g||C)(d.Y36($t,13),d.Y36(we,10),d.Y36(O,10),d.Y36(ge,10),d.Y36(Vo,8))},C.\u0275dir=d.lG2({type:C,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[d._Bn([zi]),d.qOj,d.TTD]}),C})();const Mn={provide:ge,useExisting:(0,d.Gpc)(()=>Vr),multi:!0};function Do(C,y){return null==C?`${y}`:(y&&"object"==typeof y&&(y="Object"),`${C}: ${y}`.slice(0,50))}let Vr=(()=>{class C extends ye{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(g){this._compareWith=g}writeValue(g){this.value=g;const Y=Do(this._getOptionId(g),g);this.setProperty("value",Y)}registerOnChange(g){this.onChange=S=>{this.value=this._getOptionValue(S),g(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(g){for(const S of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(S),g))return S;return null}_getOptionValue(g){const S=function kr(C){return C.split(":")[0]}(g);return this._optionMap.has(S)?this._optionMap.get(S):g}}return C.\u0275fac=function(){let y;return function(S){return(y||(y=d.n5z(C)))(S||C)}}(),C.\u0275dir=d.lG2({type:C,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(g,S){1&g&&d.NdJ("change",function(Se){return S.onChange(Se.target.value)})("blur",function(){return S.onTouched()})},inputs:{compareWith:"compareWith"},features:[d._Bn([Mn]),d.qOj]}),C})(),Co=(()=>{class C{constructor(g,S,Y){this._element=g,this._renderer=S,this._select=Y,this._select&&(this.id=this._select._registerOption())}set ngValue(g){null!=this._select&&(this._select._optionMap.set(this.id,g),this._setElementValue(Do(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._setElementValue(g),this._select&&this._select.writeValue(this._select.value)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return C.\u0275fac=function(g){return new(g||C)(d.Y36(d.SBq),d.Y36(d.Qsj),d.Y36(Vr,9))},C.\u0275dir=d.lG2({type:C,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),C})();const Bo={provide:ge,useExisting:(0,d.Gpc)(()=>Br),multi:!0};function Ho(C,y){return null==C?`${y}`:("string"==typeof y&&(y=`'${y}'`),y&&"object"==typeof y&&(y="Object"),`${C}: ${y}`.slice(0,50))}let Br=(()=>{class C extends ye{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(g){this._compareWith=g}writeValue(g){let S;if(this.value=g,Array.isArray(g)){const Y=g.map(Se=>this._getOptionId(Se));S=(Se,Et)=>{Se._setSelected(Y.indexOf(Et.toString())>-1)}}else S=(Y,Se)=>{Y._setSelected(!1)};this._optionMap.forEach(S)}registerOnChange(g){this.onChange=S=>{const Y=[],Se=S.selectedOptions;if(void 0!==Se){const Et=Se;for(let $n=0;$n{class C{constructor(g,S,Y){this._element=g,this._renderer=S,this._select=Y,this._select&&(this.id=this._select._registerOption(this))}set ngValue(g){null!=this._select&&(this._value=g,this._setElementValue(Ho(this.id,g)),this._select.writeValue(this._select.value))}set value(g){this._select?(this._value=g,this._setElementValue(Ho(this.id,g)),this._select.writeValue(this._select.value)):this._setElementValue(g)}_setElementValue(g){this._renderer.setProperty(this._element.nativeElement,"value",g)}_setSelected(g){this._renderer.setProperty(this._element.nativeElement,"selected",g)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return C.\u0275fac=function(g){return new(g||C)(d.Y36(d.SBq),d.Y36(d.Qsj),d.Y36(Br,9))},C.\u0275dir=d.lG2({type:C,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),C})(),sr=(()=>{class C{constructor(){this._validator=yt}ngOnChanges(g){if(this.inputName in g){const S=this.normalizeInput(g[this.inputName].currentValue);this._enabled=this.enabled(S),this._validator=this._enabled?this.createValidator(S):yt,this._onChange&&this._onChange()}}validate(g){return this._validator(g)}registerOnValidatorChange(g){this._onChange=g}enabled(g){return null!=g}}return C.\u0275fac=function(g){return new(g||C)},C.\u0275dir=d.lG2({type:C,features:[d.TTD]}),C})();const Eo={provide:we,useExisting:(0,d.Gpc)(()=>ar),multi:!0};let ar=(()=>{class C extends sr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=d.D6c,this.createValidator=g=>q}enabled(g){return g}}return C.\u0275fac=function(){let y;return function(S){return(y||(y=d.n5z(C)))(S||C)}}(),C.\u0275dir=d.lG2({type:C,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(g,S){2&g&&d.uIk("required",S._enabled?"":null)},inputs:{required:"required"},features:[d._Bn([Eo]),d.qOj]}),C})(),eo=(()=>{class C{}return C.\u0275fac=function(g){return new(g||C)},C.\u0275mod=d.oAB({type:C}),C.\u0275inj=d.cJS({imports:[oi]}),C})(),to=(()=>{class C{}return C.\u0275fac=function(g){return new(g||C)},C.\u0275mod=d.oAB({type:C}),C.\u0275inj=d.cJS({imports:[eo]}),C})(),_o=(()=>{class C{static withConfig(g){return{ngModule:C,providers:[{provide:Vo,useValue:g.warnOnNgModelWithFormControl}]}}}return C.\u0275fac=function(g){return new(g||C)},C.\u0275mod=d.oAB({type:C}),C.\u0275inj=d.cJS({imports:[eo]}),C})();class ci extends j{constructor(y,g,S){super(gr(g),rr(S,g)),this.controls=y,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(y){return this.controls[this._adjustIndex(y)]}push(y,g={}){this.controls.push(y),this._registerControl(y),this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}insert(y,g,S={}){this.controls.splice(y,0,g),this._registerControl(g),this.updateValueAndValidity({emitEvent:S.emitEvent})}removeAt(y,g={}){let S=this._adjustIndex(y);S<0&&(S=0),this.controls[S]&&this.controls[S]._registerOnCollectionChange(()=>{}),this.controls.splice(S,1),this.updateValueAndValidity({emitEvent:g.emitEvent})}setControl(y,g,S={}){let Y=this._adjustIndex(y);Y<0&&(Y=0),this.controls[Y]&&this.controls[Y]._registerOnCollectionChange(()=>{}),this.controls.splice(Y,1),g&&(this.controls.splice(Y,0,g),this._registerControl(g)),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(y,g={}){xr(this,0,y),y.forEach((S,Y)=>{Tn(this,!1,Y),this.at(Y).setValue(S,{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(y,g={}){null!=y&&(y.forEach((S,Y)=>{this.at(Y)&&this.at(Y).patchValue(S,{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(y=[],g={}){this._forEachChild((S,Y)=>{S.reset(y[Y],{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this.controls.map(y=>y.getRawValue())}clear(y={}){this.controls.length<1||(this._forEachChild(g=>g._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:y.emitEvent}))}_adjustIndex(y){return y<0?y+this.length:y}_syncPendingControls(){let y=this.controls.reduce((g,S)=>!!S._syncPendingControls()||g,!1);return y&&this.updateValueAndValidity({onlySelf:!0}),y}_forEachChild(y){this.controls.forEach((g,S)=>{y(g,S)})}_updateValue(){this.value=this.controls.filter(y=>y.enabled||this.disabled).map(y=>y.value)}_anyControls(y){return this.controls.some(g=>g.enabled&&y(g))}_setUpControls(){this._forEachChild(y=>this._registerControl(y))}_allControlsDisabled(){for(const y of this.controls)if(y.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(y){y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange)}_find(y){return this.at(y)??null}}function $o(C){return!!C&&(void 0!==C.asyncValidators||void 0!==C.validators||void 0!==C.updateOn)}let Go=(()=>{class C{constructor(){this.useNonNullable=!1}get nonNullable(){const g=new C;return g.useNonNullable=!0,g}group(g,S=null){const Y=this._reduceControls(g);let Se={};return $o(S)?Se=S:null!==S&&(Se.validators=S.validator,Se.asyncValidators=S.asyncValidator),new H(Y,Se)}record(g,S=null){const Y=this._reduceControls(g);return new Q(Y,S)}control(g,S,Y){let Se={};return this.useNonNullable?($o(S)?Se=S:(Se.validators=S,Se.asyncValidators=Y),new Dn(g,{...Se,nonNullable:!0})):new Dn(g,S,Y)}array(g,S,Y){const Se=g.map(Et=>this._createControl(Et));return new ci(Se,S,Y)}_reduceControls(g){const S={};return Object.keys(g).forEach(Y=>{S[Y]=this._createControl(g[Y])}),S}_createControl(g){return g instanceof Dn||g instanceof j?g:Array.isArray(g)?this.control(g[0],g.length>1?g[1]:null,g.length>2?g[2]:null):this.control(g)}}return C.\u0275fac=function(g){return new(g||C)},C.\u0275prov=d.Yz7({token:C,factory:C.\u0275fac,providedIn:_o}),C})(),it=(()=>{class C extends Go{group(g,S=null){return super.group(g,S)}control(g,S,Y){return super.control(g,S,Y)}array(g,S,Y){return super.array(g,S,Y)}}return C.\u0275fac=function(){let y;return function(S){return(y||(y=d.n5z(C)))(S||C)}}(),C.\u0275prov=d.Yz7({token:C,factory:C.\u0275fac,providedIn:_o}),C})()},1481:(We,fe,_)=>{_.d(fe,{Dx:()=>re,H7:()=>An,b2:()=>$t,h_:()=>Qn,q6:()=>dn});var d=_(6895),D=_(8256);class z extends d.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class se extends z{static makeCurrent(){(0,d.HT)(new se)}onAndCancel(H,x,B){return H.addEventListener(x,B,!1),()=>{H.removeEventListener(x,B,!1)}}dispatchEvent(H,x){H.dispatchEvent(x)}remove(H){H.parentNode&&H.parentNode.removeChild(H)}createElement(H,x){return(x=x||this.getDefaultDocument()).createElement(H)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(H){return H.nodeType===Node.ELEMENT_NODE}isShadowRoot(H){return H instanceof DocumentFragment}getGlobalEventTarget(H,x){return"window"===x?window:"document"===x?H:"body"===x?H.body:null}getBaseHref(H){const x=function Te(){return ne=ne||document.querySelector("base"),ne?ne.getAttribute("href"):null}();return null==x?null:function _e(j){J=J||document.createElement("a"),J.setAttribute("href",j);const H=J.pathname;return"/"===H.charAt(0)?H:`/${H}`}(x)}resetBaseElement(){ne=null}getUserAgent(){return window.navigator.userAgent}getCookie(H){return(0,d.Mx)(document.cookie,H)}}let J,ne=null;const me=new D.OlP("TRANSITION_ID"),ce=[{provide:D.ip1,useFactory:function le(j,H,x){return()=>{x.get(D.CZH).donePromise.then(()=>{const B=(0,d.q)(),Q=H.querySelectorAll(`style[ng-transition="${j}"]`);for(let xe=0;xe{class j{build(){return new XMLHttpRequest}}return j.\u0275fac=function(x){return new(x||j)},j.\u0275prov=D.Yz7({token:j,factory:j.\u0275fac}),j})();const ye=new D.OlP("EventManagerPlugins");let ge=(()=>{class j{constructor(x,B){this._zone=B,this._eventNameToPlugin=new Map,x.forEach(Q=>Q.manager=this),this._plugins=x.slice().reverse()}addEventListener(x,B,Q){return this._findPluginFor(B).addEventListener(x,B,Q)}addGlobalEventListener(x,B,Q){return this._findPluginFor(B).addGlobalEventListener(x,B,Q)}getZone(){return this._zone}_findPluginFor(x){const B=this._eventNameToPlugin.get(x);if(B)return B;const Q=this._plugins;for(let xe=0;xe{class j{constructor(){this._stylesSet=new Set}addStyles(x){const B=new Set;x.forEach(Q=>{this._stylesSet.has(Q)||(this._stylesSet.add(Q),B.add(Q))}),this.onStylesAdded(B)}onStylesAdded(x){}getAllStyles(){return Array.from(this._stylesSet)}}return j.\u0275fac=function(x){return new(x||j)},j.\u0275prov=D.Yz7({token:j,factory:j.\u0275fac}),j})(),Ne=(()=>{class j extends Me{constructor(x){super(),this._doc=x,this._hostNodes=new Map,this._hostNodes.set(x.head,[])}_addStylesToHost(x,B,Q){x.forEach(xe=>{const Ze=this._doc.createElement("style");Ze.textContent=xe,Q.push(B.appendChild(Ze))})}addHost(x){const B=[];this._addStylesToHost(this._stylesSet,x,B),this._hostNodes.set(x,B)}removeHost(x){const B=this._hostNodes.get(x);B&&B.forEach(ke),this._hostNodes.delete(x)}onStylesAdded(x){this._hostNodes.forEach((B,Q)=>{this._addStylesToHost(x,Q,B)})}ngOnDestroy(){this._hostNodes.forEach(x=>x.forEach(ke))}}return j.\u0275fac=function(x){return new(x||j)(D.LFG(d.K0))},j.\u0275prov=D.Yz7({token:j,factory:j.\u0275fac}),j})();function ke(j){(0,d.q)().remove(j)}const et={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/"},oe=/%COMP%/g;function V(j,H,x){for(let B=0;B{if("__ngUnwrap__"===H)return j;!1===j(H)&&(H.preventDefault(),H.returnValue=!1)}}let q=(()=>{class j{constructor(x,B,Q){this.eventManager=x,this.sharedStylesHost=B,this.appId=Q,this.rendererByCompId=new Map,this.defaultRenderer=new ue(x)}createRenderer(x,B){if(!x||!B)return this.defaultRenderer;switch(B.encapsulation){case D.ifc.Emulated:{let Q=this.rendererByCompId.get(B.id);return Q||(Q=new He(this.eventManager,this.sharedStylesHost,B,this.appId),this.rendererByCompId.set(B.id,Q)),Q.applyToHost(x),Q}case 1:case D.ifc.ShadowDom:return new yt(this.eventManager,this.sharedStylesHost,x,B);default:if(!this.rendererByCompId.has(B.id)){const Q=V(B.id,B.styles,[]);this.sharedStylesHost.addStyles(Q),this.rendererByCompId.set(B.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return j.\u0275fac=function(x){return new(x||j)(D.LFG(ge),D.LFG(Ne),D.LFG(D.AFp))},j.\u0275prov=D.Yz7({token:j,factory:j.\u0275fac}),j})();class ue{constructor(H){this.eventManager=H,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(H,x){return x?document.createElementNS(et[x]||x,H):document.createElement(H)}createComment(H){return document.createComment(H)}createText(H){return document.createTextNode(H)}appendChild(H,x){(Rt(H)?H.content:H).appendChild(x)}insertBefore(H,x,B){H&&(Rt(H)?H.content:H).insertBefore(x,B)}removeChild(H,x){H&&H.removeChild(x)}selectRootElement(H,x){let B="string"==typeof H?document.querySelector(H):H;if(!B)throw new Error(`The selector "${H}" did not match any elements`);return x||(B.textContent=""),B}parentNode(H){return H.parentNode}nextSibling(H){return H.nextSibling}setAttribute(H,x,B,Q){if(Q){x=Q+":"+x;const xe=et[Q];xe?H.setAttributeNS(xe,x,B):H.setAttribute(x,B)}else H.setAttribute(x,B)}removeAttribute(H,x,B){if(B){const Q=et[B];Q?H.removeAttributeNS(Q,x):H.removeAttribute(`${B}:${x}`)}else H.removeAttribute(x)}addClass(H,x){H.classList.add(x)}removeClass(H,x){H.classList.remove(x)}setStyle(H,x,B,Q){Q&(D.JOm.DashCase|D.JOm.Important)?H.style.setProperty(x,B,Q&D.JOm.Important?"important":""):H.style[x]=B}removeStyle(H,x,B){B&D.JOm.DashCase?H.style.removeProperty(x):H.style[x]=""}setProperty(H,x,B){H[x]=B}setValue(H,x){H.nodeValue=x}listen(H,x,B){return"string"==typeof H?this.eventManager.addGlobalEventListener(H,x,L(B)):this.eventManager.addEventListener(H,x,L(B))}}function Rt(j){return"TEMPLATE"===j.tagName&&void 0!==j.content}class He extends ue{constructor(H,x,B,Q){super(H),this.component=B;const xe=V(Q+"-"+B.id,B.styles,[]);x.addStyles(xe),this.contentAttr=function O(j){return"_ngcontent-%COMP%".replace(oe,j)}(Q+"-"+B.id),this.hostAttr=function R(j){return"_nghost-%COMP%".replace(oe,j)}(Q+"-"+B.id)}applyToHost(H){super.setAttribute(H,this.hostAttr,"")}createElement(H,x){const B=super.createElement(H,x);return super.setAttribute(B,this.contentAttr,""),B}}class yt extends ue{constructor(H,x,B,Q){super(H),this.sharedStylesHost=x,this.hostEl=B,this.shadowRoot=B.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const xe=V(Q.id,Q.styles,[]);for(let Ze=0;Ze{class j extends nt{constructor(x){super(x)}supports(x){return!0}addEventListener(x,B,Q){return x.addEventListener(B,Q,!1),()=>this.removeEventListener(x,B,Q)}removeEventListener(x,B,Q){return x.removeEventListener(B,Q)}}return j.\u0275fac=function(x){return new(x||j)(D.LFG(d.K0))},j.\u0275prov=D.Yz7({token:j,factory:j.\u0275fac}),j})();const bt=["alt","control","meta","shift"],qt={"\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"},yn={alt:j=>j.altKey,control:j=>j.ctrlKey,meta:j=>j.metaKey,shift:j=>j.shiftKey};let Xt=(()=>{class j extends nt{constructor(x){super(x)}supports(x){return null!=j.parseEventName(x)}addEventListener(x,B,Q){const xe=j.parseEventName(B),Ze=j.eventCallback(xe.fullKey,Q,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,d.q)().onAndCancel(x,xe.domEventName,Ze))}static parseEventName(x){const B=x.toLowerCase().split("."),Q=B.shift();if(0===B.length||"keydown"!==Q&&"keyup"!==Q)return null;const xe=j._normalizeKey(B.pop());let Ze="",rt=B.indexOf("code");if(rt>-1&&(B.splice(rt,1),Ze="code."),bt.forEach(ve=>{const Ke=B.indexOf(ve);Ke>-1&&(B.splice(Ke,1),Ze+=ve+".")}),Ze+=xe,0!=B.length||0===xe.length)return null;const ft={};return ft.domEventName=Q,ft.fullKey=Ze,ft}static matchEventFullKeyCode(x,B){let Q=qt[x.key]||x.key,xe="";return B.indexOf("code.")>-1&&(Q=x.code,xe="code."),!(null==Q||!Q)&&(Q=Q.toLowerCase()," "===Q?Q="space":"."===Q&&(Q="dot"),bt.forEach(Ze=>{Ze!==Q&&(0,yn[Ze])(x)&&(xe+=Ze+".")}),xe+=Q,xe===B)}static eventCallback(x,B,Q){return xe=>{j.matchEventFullKeyCode(xe,x)&&Q.runGuarded(()=>B(xe))}}static _normalizeKey(x){return"esc"===x?"escape":x}}return j.\u0275fac=function(x){return new(x||j)(D.LFG(d.K0))},j.\u0275prov=D.Yz7({token:j,factory:j.\u0275fac}),j})();const dn=(0,D.eFA)(D._c5,"browser",[{provide:D.Lbi,useValue:d.bD},{provide:D.g9A,useValue:function Zn(){se.makeCurrent()},multi:!0},{provide:d.K0,useFactory:function It(){return(0,D.RDi)(document),document},deps:[]}]),_n=new D.OlP(""),Re=[{provide:D.rWj,useClass:class De{addToWindow(H){D.dqk.getAngularTestability=(B,Q=!0)=>{const xe=H.findTestabilityInTree(B,Q);if(null==xe)throw new Error("Could not find testability for element.");return xe},D.dqk.getAllAngularTestabilities=()=>H.getAllTestabilities(),D.dqk.getAllAngularRootElements=()=>H.getAllRootElements(),D.dqk.frameworkStabilizers||(D.dqk.frameworkStabilizers=[]),D.dqk.frameworkStabilizers.push(B=>{const Q=D.dqk.getAllAngularTestabilities();let xe=Q.length,Ze=!1;const rt=function(ft){Ze=Ze||ft,xe--,0==xe&&B(Ze)};Q.forEach(function(ft){ft.whenStable(rt)})})}findTestabilityInTree(H,x,B){return null==x?null:H.getTestability(x)??(B?(0,d.q)().isShadowRoot(x)?this.findTestabilityInTree(H,x.host,!0):this.findTestabilityInTree(H,x.parentElement,!0):null)}},deps:[]},{provide:D.lri,useClass:D.dDg,deps:[D.R0b,D.eoX,D.rWj]},{provide:D.dDg,useClass:D.dDg,deps:[D.R0b,D.eoX,D.rWj]}],fn=[{provide:D.zSh,useValue:"root"},{provide:D.qLn,useFactory:function Kn(){return new D.qLn},deps:[]},{provide:ye,useClass:Ot,multi:!0,deps:[d.K0,D.R0b,D.Lbi]},{provide:ye,useClass:Xt,multi:!0,deps:[d.K0]},{provide:q,useClass:q,deps:[ge,Ne,D.AFp]},{provide:D.FYo,useExisting:q},{provide:Me,useExisting:Ne},{provide:Ne,useClass:Ne,deps:[d.K0]},{provide:ge,useClass:ge,deps:[ye,D.R0b]},{provide:d.JF,useClass:qe,deps:[]},[]];let $t=(()=>{class j{constructor(x){}static withServerTransition(x){return{ngModule:j,providers:[{provide:D.AFp,useValue:x.appId},{provide:me,useExisting:D.AFp},ce]}}}return j.\u0275fac=function(x){return new(x||j)(D.LFG(_n,12))},j.\u0275mod=D.oAB({type:j}),j.\u0275inj=D.cJS({providers:[...fn,...Re],imports:[d.ez,D.hGG]}),j})(),Qn=(()=>{class j{constructor(x){this._doc=x,this._dom=(0,d.q)()}addTag(x,B=!1){return x?this._getOrCreateElement(x,B):null}addTags(x,B=!1){return x?x.reduce((Q,xe)=>(xe&&Q.push(this._getOrCreateElement(xe,B)),Q),[]):[]}getTag(x){return x&&this._doc.querySelector(`meta[${x}]`)||null}getTags(x){if(!x)return[];const B=this._doc.querySelectorAll(`meta[${x}]`);return B?[].slice.call(B):[]}updateTag(x,B){if(!x)return null;B=B||this._parseSelector(x);const Q=this.getTag(B);return Q?this._setMetaElementAttributes(x,Q):this._getOrCreateElement(x,!0)}removeTag(x){this.removeTagElement(this.getTag(x))}removeTagElement(x){x&&this._dom.remove(x)}_getOrCreateElement(x,B=!1){if(!B){const Ze=this._parseSelector(x),rt=this.getTags(Ze).filter(ft=>this._containsAttributes(x,ft))[0];if(void 0!==rt)return rt}const Q=this._dom.createElement("meta");return this._setMetaElementAttributes(x,Q),this._doc.getElementsByTagName("head")[0].appendChild(Q),Q}_setMetaElementAttributes(x,B){return Object.keys(x).forEach(Q=>B.setAttribute(this._getMetaKeyMap(Q),x[Q])),B}_parseSelector(x){const B=x.name?"name":"property";return`${B}="${x[B]}"`}_containsAttributes(x,B){return Object.keys(x).every(Q=>B.getAttribute(this._getMetaKeyMap(Q))===x[Q])}_getMetaKeyMap(x){return pr[x]||x}}return j.\u0275fac=function(x){return new(x||j)(D.LFG(d.K0))},j.\u0275prov=D.Yz7({token:j,factory:function(x){let B=null;return B=x?new x:function Gt(){return new Qn((0,D.LFG)(d.K0))}(),B},providedIn:"root"}),j})();const pr={httpEquiv:"http-equiv"};let re=(()=>{class j{constructor(x){this._doc=x}getTitle(){return this._doc.title}setTitle(x){this._doc.title=x||""}}return j.\u0275fac=function(x){return new(x||j)(D.LFG(d.K0))},j.\u0275prov=D.Yz7({token:j,factory:function(x){let B=null;return B=x?new x:function zt(){return new re((0,D.LFG)(d.K0))}(),B},providedIn:"root"}),j})();typeof window<"u"&&window;let An=(()=>{class j{}return j.\u0275fac=function(x){return new(x||j)},j.\u0275prov=D.Yz7({token:j,factory:function(x){let B=null;return B=x?new(x||j):D.LFG(Tn),B},providedIn:"root"}),j})(),Tn=(()=>{class j extends An{constructor(x){super(),this._doc=x}sanitize(x,B){if(null==B)return null;switch(x){case D.q3G.NONE:return B;case D.q3G.HTML:return(0,D.qzn)(B,"HTML")?(0,D.z3N)(B):(0,D.EiD)(this._doc,String(B)).toString();case D.q3G.STYLE:return(0,D.qzn)(B,"Style")?(0,D.z3N)(B):B;case D.q3G.SCRIPT:if((0,D.qzn)(B,"Script"))return(0,D.z3N)(B);throw new Error("unsafe value used in a script context");case D.q3G.URL:return(0,D.qzn)(B,"URL")?(0,D.z3N)(B):(0,D.mCW)(String(B));case D.q3G.RESOURCE_URL:if((0,D.qzn)(B,"ResourceURL"))return(0,D.z3N)(B);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${x} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(x){return(0,D.JVY)(x)}bypassSecurityTrustStyle(x){return(0,D.L6k)(x)}bypassSecurityTrustScript(x){return(0,D.eBb)(x)}bypassSecurityTrustUrl(x){return(0,D.LAX)(x)}bypassSecurityTrustResourceUrl(x){return(0,D.pB0)(x)}}return j.\u0275fac=function(x){return new(x||j)(D.LFG(d.K0))},j.\u0275prov=D.Yz7({token:j,factory:function(x){let B=null;return B=x?new x:function Ln(j){return new Tn(j.get(d.K0))}(D.LFG(D.zs3)),B},providedIn:"root"}),j})()},8184:(We,fe,_)=>{_.d(fe,{gz:()=>Hn,F0:()=>ln,Od:()=>ks,yS:()=>Xi,Bz:()=>Pl,lC:()=>Eo});var d=_(8256),D=_(2076),z=_(9646),se=_(7579);class ne extends se.x{constructor(u){super(),this._value=u}get value(){return this.getValue()}_subscribe(u){const a=super._subscribe(u);return!a.closed&&u.next(this._value),a}getValue(){const{hasError:u,thrownError:a,_value:f}=this;if(u)throw a;return this._throwIfClosed(),f}next(u){super.next(this._value=u)}}const J=(0,_(3888).d)(l=>function(){l(this),this.name="EmptyError",this.message="no elements in sequence"});var _e=_(9751),me=_(4742),le=_(4671),ce=_(3268),De=_(7669),qe=_(1810),ye=_(5403),ge=_(9672);function nt(...l){const u=(0,De.yG)(l),a=(0,De.jO)(l),{args:f,keys:v}=(0,me.D)(l);if(0===f.length)return(0,D.D)([],u);const b=new _e.y(function Me(l,u,a=le.y){return f=>{Ne(u,()=>{const{length:v}=l,b=new Array(v);let P=v,N=v;for(let W=0;W{const he=(0,D.D)(l[W],u);let Je=!1;he.subscribe(new ye.Q(f,Ae=>{b[W]=Ae,Je||(Je=!0,N--),N||f.next(a(b.slice()))},()=>{--P||f.complete()}))},f)},f)}}(f,u,v?P=>(0,qe.n)(v,P):le.y));return a?b.pipe((0,ce.Z)(a)):b}function Ne(l,u,a){l?(0,ge.f)(a,l,u):u()}var ke=_(8189);function oe(...l){return function et(){return(0,ke.J)(1)}()((0,D.D)(l,(0,De.yG)(l)))}var Be=_(8421);function je(l){return new _e.y(u=>{(0,Be.Xf)(l()).subscribe(u)})}var Ie=_(9635),we=_(576);function O(l,u){const a=(0,we.m)(l)?l:()=>l,f=v=>v.error(a());return new _e.y(u?v=>u.schedule(f,0,v):f)}var R=_(515),V=_(727),L=_(4482);function Z(){return(0,L.e)((l,u)=>{let a=null;l._refCount++;const f=new ye.Q(u,void 0,void 0,void 0,()=>{if(!l||l._refCount<=0||0<--l._refCount)return void(a=null);const v=l._connection,b=a;a=null,v&&(!b||v===b)&&v.unsubscribe(),u.unsubscribe()});l.subscribe(f),f.closed||(a=l.connect())})}class q extends _e.y{constructor(u,a){super(),this.source=u,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,L.A)(u)&&(this.lift=u.lift)}_subscribe(u){return this.getSubject().subscribe(u)}getSubject(){const u=this._subject;return(!u||u.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:u}=this;this._subject=this._connection=null,u?.unsubscribe()}connect(){let u=this._connection;if(!u){u=this._connection=new V.w0;const a=this.getSubject();u.add(this.source.subscribe(new ye.Q(a,void 0,()=>{this._teardown(),a.complete()},f=>{this._teardown(),a.error(f)},()=>this._teardown()))),u.closed&&(this._connection=null,u=V.w0.EMPTY)}return u}refCount(){return Z()(this)}}var ue=_(6895),Ce=_(4004);function tt(l,u){return(0,L.e)((a,f)=>{let v=null,b=0,P=!1;const N=()=>P&&!v&&f.complete();a.subscribe(new ye.Q(f,W=>{v?.unsubscribe();let he=0;const Je=b++;(0,Be.Xf)(l(W,Je)).subscribe(v=new ye.Q(f,Ae=>f.next(u?u(W,Ae,Je,he++):Ae),()=>{v=null,N()}))},()=>{P=!0,N()}))})}var Rt=_(5698),yt=_(9300),Ot=_(5577);function bt(l){return(0,L.e)((u,a)=>{let f=!1;u.subscribe(new ye.Q(a,v=>{f=!0,a.next(v)},()=>{f||a.next(l),a.complete()}))})}function qt(l=yn){return(0,L.e)((u,a)=>{let f=!1;u.subscribe(new ye.Q(a,v=>{f=!0,a.next(v)},()=>f?a.complete():a.error(l())))})}function yn(){return new J}function Xt(l,u){const a=arguments.length>=2;return f=>f.pipe(l?(0,yt.h)((v,b)=>l(v,b,f)):le.y,(0,Rt.q)(1),a?bt(u):qt(()=>new J))}var Mt=_(4351);function Ut(l,u,a){const f=(0,we.m)(l)||u||a?{next:l,error:u,complete:a}:l;return f?(0,L.e)((v,b)=>{var P;null===(P=f.subscribe)||void 0===P||P.call(f);let N=!0;v.subscribe(new ye.Q(b,W=>{var he;null===(he=f.next)||void 0===he||he.call(f,W),b.next(W)},()=>{var W;N=!1,null===(W=f.complete)||void 0===W||W.call(f),b.complete()},W=>{var he;N=!1,null===(he=f.error)||void 0===he||he.call(f,W),b.error(W)},()=>{var W,he;N&&(null===(W=f.unsubscribe)||void 0===W||W.call(f)),null===(he=f.finalize)||void 0===he||he.call(f)}))}):le.y}function Tt(l){return(0,L.e)((u,a)=>{let b,f=null,v=!1;f=u.subscribe(new ye.Q(a,void 0,void 0,P=>{b=(0,Be.Xf)(l(P,Tt(l)(u))),f?(f.unsubscribe(),f=null,b.subscribe(a)):v=!0})),v&&(f.unsubscribe(),f=null,b.subscribe(a))})}function at(l,u,a,f,v){return(b,P)=>{let N=a,W=u,he=0;b.subscribe(new ye.Q(P,Je=>{const Ae=he++;W=N?l(W,Je,Ae):(N=!0,Je),f&&P.next(W)},v&&(()=>{N&&P.next(W),P.complete()})))}}function Ar(l,u){return(0,L.e)(at(l,u,arguments.length>=2,!0))}function Zn(l){return l<=0?()=>R.E:(0,L.e)((u,a)=>{let f=[];u.subscribe(new ye.Q(a,v=>{f.push(v),l{for(const v of f)a.next(v);a.complete()},void 0,()=>{f=null}))})}function Kn(l,u){const a=arguments.length>=2;return f=>f.pipe(l?(0,yt.h)((v,b)=>l(v,b,f)):le.y,Zn(1),a?bt(u):qt(()=>new J))}function dn(l){return(0,L.e)((u,a)=>{try{u.subscribe(a)}finally{a.add(l)}})}var _n=_(1481);const Re="primary",fn=Symbol("RouteTitle");class $t{constructor(u){this.params=u||{}}has(u){return Object.prototype.hasOwnProperty.call(this.params,u)}get(u){if(this.has(u)){const a=this.params[u];return Array.isArray(a)?a[0]:a}return null}getAll(u){if(this.has(u)){const a=this.params[u];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function Gt(l){return new $t(l)}function Qn(l,u,a){const f=a.path.split("/");if(f.length>l.length||"full"===a.pathMatch&&(u.hasChildren()||f.lengthf[b]===v)}return l===u}function k(l){return Array.prototype.concat.apply([],l)}function T(l){return l.length>0?l[l.length-1]:null}function ie(l,u){for(const a in l)l.hasOwnProperty(a)&&u(l[a],a)}function be(l){return(0,d.CqO)(l)?l:(0,d.QGY)(l)?(0,D.D)(Promise.resolve(l)):(0,z.of)(l)}const Le={exact:function Ge(l,u,a){if(!sn(l.segments,u.segments)||!Yt(l.segments,u.segments,a)||l.numberOfChildren!==u.numberOfChildren)return!1;for(const f in u.children)if(!l.children[f]||!Ge(l.children[f],u.children[f],a))return!1;return!0},subset:vt},ut={exact:function qn(l,u){return zt(l,u)},subset:function Xe(l,u){return Object.keys(u).length<=Object.keys(l).length&&Object.keys(u).every(a=>re(l[a],u[a]))},ignored:()=>!0};function pt(l,u,a){return Le[a.paths](l.root,u.root,a.matrixParams)&&ut[a.queryParams](l.queryParams,u.queryParams)&&!("exact"===a.fragment&&l.fragment!==u.fragment)}function vt(l,u,a){return Sn(l,u,u.segments,a)}function Sn(l,u,a,f){if(l.segments.length>a.length){const v=l.segments.slice(0,a.length);return!(!sn(v,a)||u.hasChildren()||!Yt(v,a,f))}if(l.segments.length===a.length){if(!sn(l.segments,a)||!Yt(l.segments,a,f))return!1;for(const v in u.children)if(!l.children[v]||!vt(l.children[v],u.children[v],f))return!1;return!0}{const v=a.slice(0,l.segments.length),b=a.slice(l.segments.length);return!!(sn(l.segments,v)&&Yt(l.segments,v,f)&&l.children[Re])&&Sn(l.children[Re],u,b,f)}}function Yt(l,u,a){return u.every((f,v)=>ut[a](l[v].parameters,f.parameters))}class Ve{constructor(u,a,f){this.root=u,this.queryParams=a,this.fragment=f}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Gt(this.queryParams)),this._queryParamMap}toString(){return Tr.serialize(this)}}class ze{constructor(u,a){this.segments=u,this.children=a,this.parent=null,ie(a,(f,v)=>f.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rr(this)}}class rn{constructor(u,a){this.path=u,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=Gt(this.parameters)),this._parameterMap}toString(){return B(this)}}function sn(l,u){return l.length===u.length&&l.every((a,f)=>a.path===u[f].path)}let vn=(()=>{class l{}return l.\u0275fac=function(a){return new(a||l)},l.\u0275prov=d.Yz7({token:l,factory:function(){return new gr},providedIn:"root"}),l})();class gr{parse(u){const a=new Zt(u);return new Ve(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(u){const a=`/${An(u.root,!0)}`,f=function xe(l){const u=Object.keys(l).map(a=>{const f=l[a];return Array.isArray(f)?f.map(v=>`${Tn(a)}=${Tn(v)}`).join("&"):`${Tn(a)}=${Tn(f)}`}).filter(a=>!!a);return u.length?`?${u.join("&")}`:""}(u.queryParams);return`${a}${f}${"string"==typeof u.fragment?`#${function xr(l){return encodeURI(l)}(u.fragment)}`:""}`}}const Tr=new gr;function rr(l){return l.segments.map(u=>B(u)).join("/")}function An(l,u){if(!l.hasChildren())return rr(l);if(u){const a=l.children[Re]?An(l.children[Re],!1):"",f=[];return ie(l.children,(v,b)=>{b!==Re&&f.push(`${b}:${An(v,!1)}`)}),f.length>0?`${a}(${f.join("//")})`:a}{const a=function en(l,u){let a=[];return ie(l.children,(f,v)=>{v===Re&&(a=a.concat(u(f,v)))}),ie(l.children,(f,v)=>{v!==Re&&(a=a.concat(u(f,v)))}),a}(l,(f,v)=>v===Re?[An(l.children[Re],!1)]:[`${v}:${An(f,!1)}`]);return 1===Object.keys(l.children).length&&null!=l.children[Re]?`${rr(l)}/${a[0]}`:`${rr(l)}/(${a.join("//")})`}}function Ln(l){return encodeURIComponent(l).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Tn(l){return Ln(l).replace(/%3B/gi,";")}function j(l){return Ln(l).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function H(l){return decodeURIComponent(l)}function x(l){return H(l.replace(/\+/g,"%20"))}function B(l){return`${j(l.path)}${function Q(l){return Object.keys(l).map(u=>`;${j(u)}=${j(l[u])}`).join("")}(l.parameters)}`}const Ze=/^[^\/()?;=#]+/;function rt(l){const u=l.match(Ze);return u?u[0]:""}const ft=/^[^=?&#]+/,Ke=/^[^&#]+/;class Zt{constructor(u){this.url=u,this.remaining=u}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ze([],{}):new ze([],this.parseChildren())}parseQueryParams(){const u={};if(this.consumeOptional("?"))do{this.parseQueryParam(u)}while(this.consumeOptional("&"));return u}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const u=[];for(this.peekStartsWith("(")||u.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),u.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let f={};return this.peekStartsWith("(")&&(f=this.parseParens(!1)),(u.length>0||Object.keys(a).length>0)&&(f[Re]=new ze(u,a)),f}parseSegment(){const u=rt(this.remaining);if(""===u&&this.peekStartsWith(";"))throw new d.vHH(4009,!1);return this.capture(u),new rn(H(u),this.parseMatrixParams())}parseMatrixParams(){const u={};for(;this.consumeOptional(";");)this.parseParam(u);return u}parseParam(u){const a=rt(this.remaining);if(!a)return;this.capture(a);let f="";if(this.consumeOptional("=")){const v=rt(this.remaining);v&&(f=v,this.capture(f))}u[H(a)]=H(f)}parseQueryParam(u){const a=function ve(l){const u=l.match(ft);return u?u[0]:""}(this.remaining);if(!a)return;this.capture(a);let f="";if(this.consumeOptional("=")){const P=function gt(l){const u=l.match(Ke);return u?u[0]:""}(this.remaining);P&&(f=P,this.capture(f))}const v=x(a),b=x(f);if(u.hasOwnProperty(v)){let P=u[v];Array.isArray(P)||(P=[P],u[v]=P),P.push(b)}else u[v]=b}parseParens(u){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const f=rt(this.remaining),v=this.remaining[f.length];if("/"!==v&&")"!==v&&";"!==v)throw new d.vHH(4010,!1);let b;f.indexOf(":")>-1?(b=f.slice(0,f.indexOf(":")),this.capture(b),this.capture(":")):u&&(b=Re);const P=this.parseChildren();a[b]=1===Object.keys(P).length?P[Re]:new ze([],P),this.consumeOptional("//")}return a}peekStartsWith(u){return this.remaining.startsWith(u)}consumeOptional(u){return!!this.peekStartsWith(u)&&(this.remaining=this.remaining.substring(u.length),!0)}capture(u){if(!this.consumeOptional(u))throw new d.vHH(4011,!1)}}function kn(l){return l.segments.length>0?new ze([],{[Re]:l}):l}function Ft(l){const u={};for(const f of Object.keys(l.children)){const b=Ft(l.children[f]);(b.segments.length>0||b.hasChildren())&&(u[f]=b)}return function xn(l){if(1===l.numberOfChildren&&l.children[Re]){const u=l.children[Re];return new ze(l.segments.concat(u.segments),u.children)}return l}(new ze(l.segments,u))}function ct(l){return l instanceof Ve}function Xn(l,u,a,f,v){if(0===a.length)return Pt(u.root,u.root,u.root,f,v);const b=function hn(l){if("string"==typeof l[0]&&1===l.length&&"/"===l[0])return new On(!0,0,l);let u=0,a=!1;const f=l.reduce((v,b,P)=>{if("object"==typeof b&&null!=b){if(b.outlets){const N={};return ie(b.outlets,(W,he)=>{N[he]="string"==typeof W?W.split("/"):W}),[...v,{outlets:N}]}if(b.segmentPath)return[...v,b.segmentPath]}return"string"!=typeof b?[...v,b]:0===P?(b.split("/").forEach((N,W)=>{0==W&&"."===N||(0==W&&""===N?a=!0:".."===N?u++:""!=N&&v.push(N))}),v):[...v,b]},[]);return new On(a,u,f)}(a);return b.toRoot()?Pt(u.root,u.root,new ze([],{}),f,v):function P(W){const he=function dt(l,u,a,f){if(l.isAbsolute)return new Pn(u.root,!0,0);if(-1===f)return new Pn(a,a===u.root,0);return function Or(l,u,a){let f=l,v=u,b=a;for(;b>v;){if(b-=v,f=f.parent,!f)throw new d.vHH(4005,!1);v=f.segments.length}return new Pn(f,!1,v-b)}(a,f+(mr(l.commands[0])?0:1),l.numberOfDoubleDots)}(b,u,l.snapshot?._urlSegment,W),Je=he.processChildren?Dn(he.segmentGroup,he.index,b.commands):Un(he.segmentGroup,he.index,b.commands);return Pt(u.root,he.segmentGroup,Je,f,v)}(l.snapshot?._lastPathIndex)}function mr(l){return"object"==typeof l&&null!=l&&!l.outlets&&!l.segmentPath}function an(l){return"object"==typeof l&&null!=l&&l.outlets}function Pt(l,u,a,f,v){let P,b={};f&&ie(f,(W,he)=>{b[he]=Array.isArray(W)?W.map(Je=>`${Je}`):`${W}`}),P=l===u?a:or(l,u,a);const N=kn(Ft(P));return new Ve(N,b,v)}function or(l,u,a){const f={};return ie(l.children,(v,b)=>{f[b]=v===u?a:or(v,u,a)}),new ze(l.segments,f)}class On{constructor(u,a,f){if(this.isAbsolute=u,this.numberOfDoubleDots=a,this.commands=f,u&&f.length>0&&mr(f[0]))throw new d.vHH(4003,!1);const v=f.find(an);if(v&&v!==T(f))throw new d.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Pn{constructor(u,a,f){this.segmentGroup=u,this.processChildren=a,this.index=f}}function Un(l,u,a){if(l||(l=new ze([],{})),0===l.segments.length&&l.hasChildren())return Dn(l,u,a);const f=function Pr(l,u,a){let f=0,v=u;const b={match:!1,pathIndex:0,commandIndex:0};for(;v=a.length)return b;const P=l.segments[v],N=a[f];if(an(N))break;const W=`${N}`,he=f0&&void 0===W)break;if(W&&he&&"object"==typeof he&&void 0===he.outlets){if(!Fo(W,he,P))return b;f+=2}else{if(!Fo(W,{},P))return b;f++}v++}return{match:!0,pathIndex:v,commandIndex:f}}(l,u,a),v=a.slice(f.commandIndex);if(f.match&&f.pathIndex{"string"==typeof b&&(b=[b]),null!==b&&(v[P]=Un(l.children[P],u,b))}),ie(l.children,(b,P)=>{void 0===f[P]&&(v[P]=b)}),new ze(l.segments,v)}}function Nr(l,u,a){const f=l.segments.slice(0,u);let v=0;for(;v{"string"==typeof a&&(a=[a]),null!==a&&(u[f]=Nr(new ze([],{}),0,a))}),u}function Kt(l){const u={};return ie(l,(a,f)=>u[f]=`${a}`),u}function Fo(l,u,a){return l==a.path&&zt(u,a.parameters)}class Lt{constructor(u,a){this.id=u,this.url=a}}class bn extends Lt{constructor(u,a,f="imperative",v=null){super(u,a),this.type=0,this.navigationTrigger=f,this.restoredState=v}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Bt extends Lt{constructor(u,a,f){super(u,a),this.urlAfterRedirects=f,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class er extends Lt{constructor(u,a,f,v){super(u,a),this.reason=f,this.code=v,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Rr extends Lt{constructor(u,a,f,v){super(u,a),this.error=f,this.target=v,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Cn extends Lt{constructor(u,a,f,v){super(u,a),this.urlAfterRedirects=f,this.state=v,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Lo extends Lt{constructor(u,a,f,v){super(u,a),this.urlAfterRedirects=f,this.state=v,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ni extends Lt{constructor(u,a,f,v,b){super(u,a),this.urlAfterRedirects=f,this.state=v,this.shouldActivate=b,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ri extends Lt{constructor(u,a,f,v){super(u,a),this.urlAfterRedirects=f,this.state=v,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class go extends Lt{constructor(u,a,f,v){super(u,a),this.urlAfterRedirects=f,this.state=v,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ji{constructor(u){this.route=u,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ts{constructor(u){this.route=u,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class oi{constructor(u){this.snapshot=u,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $i{constructor(u){this.snapshot=u,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ii{constructor(u){this.snapshot=u,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gi{constructor(u){this.snapshot=u,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ko{constructor(u,a,f){this.routerEvent=u,this.position=a,this.anchor=f,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class si{constructor(u){this._root=u}get root(){return this._root.value}parent(u){const a=this.pathFromRoot(u);return a.length>1?a[a.length-2]:null}children(u){const a=mo(u,this._root);return a?a.children.map(f=>f.value):[]}firstChild(u){const a=mo(u,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(u){const a=yo(u,this._root);return a.length<2?[]:a[a.length-2].children.map(v=>v.value).filter(v=>v!==u)}pathFromRoot(u){return yo(u,this._root).map(a=>a.value)}}function mo(l,u){if(l===u.value)return u;for(const a of u.children){const f=mo(l,a);if(f)return f}return null}function yo(l,u){if(l===u.value)return[u];for(const a of u.children){const f=yo(l,a);if(f.length)return f.unshift(u),f}return[]}class En{constructor(u,a){this.value=u,this.children=a}toString(){return`TreeNode(${this.value})`}}function Fr(l){const u={};return l&&l.children.forEach(a=>u[a.value.outlet]=a),u}class vo extends si{constructor(u,a){super(u),this.snapshot=a,kr(this,u)}toString(){return this.snapshot.toString()}}function Lr(l,u){const a=function ir(l,u){const P=new Mn([],{},{},"",{},Re,u,null,l.root,-1,{});return new Do("",new En(P,[]))}(l,u),f=new ne([new rn("",{})]),v=new ne({}),b=new ne({}),P=new ne({}),N=new ne(""),W=new Hn(f,v,P,N,b,Re,u,a.root);return W.snapshot=a.root,new vo(new En(W,[]),a)}class Hn{constructor(u,a,f,v,b,P,N,W){this.url=u,this.params=a,this.queryParams=f,this.fragment=v,this.data=b,this.outlet=P,this.component=N,this.title=this.data?.pipe((0,Ce.U)(he=>he[fn]))??(0,z.of)(void 0),this._futureSnapshot=W}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Ce.U)(u=>Gt(u)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ce.U)(u=>Gt(u)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function zi(l,u="emptyOnly"){const a=l.pathFromRoot;let f=0;if("always"!==u)for(f=a.length-1;f>=1;){const v=a[f],b=a[f-1];if(v.routeConfig&&""===v.routeConfig.path)f--;else{if(b.component)break;f--}}return function Uo(l){return l.reduce((u,a)=>({params:{...u.params,...a.params},data:{...u.data,...a.data},resolve:{...a.data,...u.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(f))}class Mn{constructor(u,a,f,v,b,P,N,W,he,Je,Ae,wt){this.url=u,this.params=a,this.queryParams=f,this.fragment=v,this.data=b,this.outlet=P,this.component=N,this.title=this.data?.[fn],this.routeConfig=W,this._urlSegment=he,this._lastPathIndex=Je,this._correctedLastPathIndex=wt??Je,this._resolve=Ae}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Gt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Gt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(f=>f.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Do extends si{constructor(u,a){super(a),this.url=u,kr(this,a)}toString(){return Vr(this._root)}}function kr(l,u){u.value._routerState=l,u.children.forEach(a=>kr(l,a))}function Vr(l){const u=l.children.length>0?` { ${l.children.map(Vr).join(", ")} } `:"";return`${l.value}${u}`}function Co(l){if(l.snapshot){const u=l.snapshot,a=l._futureSnapshot;l.snapshot=a,zt(u.queryParams,a.queryParams)||l.queryParams.next(a.queryParams),u.fragment!==a.fragment&&l.fragment.next(a.fragment),zt(u.params,a.params)||l.params.next(a.params),function pr(l,u){if(l.length!==u.length)return!1;for(let a=0;azt(a.parameters,u[f].parameters))}(l.url,u.url);return a&&!(!l.parent!=!u.parent)&&(!l.parent||Bo(l.parent,u.parent))}function Ur(l,u,a){if(a&&l.shouldReuseRoute(u.value,a.value.snapshot)){const f=a.value;f._futureSnapshot=u.value;const v=function xs(l,u,a){return u.children.map(f=>{for(const v of a.children)if(l.shouldReuseRoute(f.value,v.value.snapshot))return Ur(l,f,v);return Ur(l,f)})}(l,u,a);return new En(f,v)}{if(l.shouldAttach(u.value)){const b=l.retrieve(u.value);if(null!==b){const P=b.route;return P.value._futureSnapshot=u.value,P.children=u.children.map(N=>Ur(l,N)),P}}const f=function Br(l){return new Hn(new ne(l.url),new ne(l.params),new ne(l.queryParams),new ne(l.fragment),new ne(l.data),l.outlet,l.component,l)}(u.value),v=u.children.map(b=>Ur(l,b));return new En(f,v)}}const qr="ngNavigationCancelingError";function tn(l,u){const{redirectTo:a,navigationBehaviorOptions:f}=ct(u)?{redirectTo:u,navigationBehaviorOptions:void 0}:u,v=Hr(!1,0,u);return v.url=a,v.navigationBehaviorOptions=f,v}function Hr(l,u,a){const f=new Error("NavigationCancelingError: "+(l||""));return f[qr]=!0,f.cancellationCode=u,a&&(f.url=a),f}function sr(l){return Xr(l)&&ct(l.url)}function Xr(l){return l&&l[qr]}class ai{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new yr,this.attachRef=null}}let yr=(()=>{class l{constructor(){this.contexts=new Map}onChildOutletCreated(a,f){const v=this.getOrCreateContext(a);v.outlet=f,this.contexts.set(a,v)}onChildOutletDestroyed(a){const f=this.getContext(a);f&&(f.outlet=null,f.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let f=this.getContext(a);return f||(f=new ai,this.contexts.set(a,f)),f}getContext(a){return this.contexts.get(a)||null}}return l.\u0275fac=function(a){return new(a||l)},l.\u0275prov=d.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();const xt=!1;let Eo=(()=>{class l{constructor(a,f,v,b,P){this.parentContexts=a,this.location=f,this.changeDetector=b,this.environmentInjector=P,this.activated=null,this._activatedRoute=null,this.activateEvents=new d.vpe,this.deactivateEvents=new d.vpe,this.attachEvents=new d.vpe,this.detachEvents=new d.vpe,this.name=v||Re,a.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const a=this.parentContexts.getContext(this.name);a&&a.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new d.vHH(4012,xt);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new d.vHH(4012,xt);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new d.vHH(4012,xt);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,f){this.activated=a,this._activatedRoute=f,this.location.insert(a.hostView),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,f){if(this.isActivated)throw new d.vHH(4013,xt);this._activatedRoute=a;const v=this.location,P=a._futureSnapshot.component,N=this.parentContexts.getOrCreateContext(this.name).children,W=new Wi(a,N,v.injector);if(f&&function ar(l){return!!l.resolveComponentFactory}(f)){const he=f.resolveComponentFactory(P);this.activated=v.createComponent(he,v.length,W)}else this.activated=v.createComponent(P,{index:v.length,injector:W,environmentInjector:f??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return l.\u0275fac=function(a){return new(a||l)(d.Y36(yr),d.Y36(d.s_b),d.$8M("name"),d.Y36(d.sBO),d.Y36(d.lqb))},l.\u0275dir=d.lG2({type:l,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),l})();class Wi{constructor(u,a,f){this.route=u,this.childContexts=a,this.parent=f}get(u,a){return u===Hn?this.route:u===yr?this.childContexts:this.parent.get(u,a)}}let Ht=(()=>{class l{}return l.\u0275fac=function(a){return new(a||l)},l.\u0275cmp=d.Xpm({type:l,selectors:[["ng-component"]],standalone:!0,features:[d.jDz],decls:1,vars:0,template:function(a,f){1&a&&d._UZ(0,"router-outlet")},dependencies:[Eo],encapsulation:2}),l})();function jo(l,u){return l.providers&&!l._injector&&(l._injector=(0,d.MMx)(l.providers,u,`Route: ${l.path}`)),l._injector??u}function wo(l){const u=l.children&&l.children.map(wo),a=u?{...l,children:u}:{...l};return!a.component&&!a.loadComponent&&(u||a.loadChildren)&&a.outlet&&a.outlet!==Re&&(a.component=Ht),a}function Fe(l){return l.outlet||Re}function eo(l,u){const a=l.filter(f=>Fe(f)===u);return a.push(...l.filter(f=>Fe(f)!==u)),a}function to(l){if(!l)return null;if(l.routeConfig?._injector)return l.routeConfig._injector;for(let u=l.parent;u;u=u.parent){const a=u.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class ci{constructor(u,a,f,v){this.routeReuseStrategy=u,this.futureState=a,this.currState=f,this.forwardEvent=v}activate(u){const a=this.futureState._root,f=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,f,u),Co(this.futureState.root),this.activateChildRoutes(a,f,u)}deactivateChildRoutes(u,a,f){const v=Fr(a);u.children.forEach(b=>{const P=b.value.outlet;this.deactivateRoutes(b,v[P],f),delete v[P]}),ie(v,(b,P)=>{this.deactivateRouteAndItsChildren(b,f)})}deactivateRoutes(u,a,f){const v=u.value,b=a?a.value:null;if(v===b)if(v.component){const P=f.getContext(v.outlet);P&&this.deactivateChildRoutes(u,a,P.children)}else this.deactivateChildRoutes(u,a,f);else b&&this.deactivateRouteAndItsChildren(a,f)}deactivateRouteAndItsChildren(u,a){u.value.component&&this.routeReuseStrategy.shouldDetach(u.value.snapshot)?this.detachAndStoreRouteSubtree(u,a):this.deactivateRouteAndOutlet(u,a)}detachAndStoreRouteSubtree(u,a){const f=a.getContext(u.value.outlet),v=f&&u.value.component?f.children:a,b=Fr(u);for(const P of Object.keys(b))this.deactivateRouteAndItsChildren(b[P],v);if(f&&f.outlet){const P=f.outlet.detach(),N=f.children.onOutletDeactivated();this.routeReuseStrategy.store(u.value.snapshot,{componentRef:P,route:u,contexts:N})}}deactivateRouteAndOutlet(u,a){const f=a.getContext(u.value.outlet),v=f&&u.value.component?f.children:a,b=Fr(u);for(const P of Object.keys(b))this.deactivateRouteAndItsChildren(b[P],v);f&&f.outlet&&(f.outlet.deactivate(),f.children.onOutletDeactivated(),f.attachRef=null,f.resolver=null,f.route=null)}activateChildRoutes(u,a,f){const v=Fr(a);u.children.forEach(b=>{this.activateRoutes(b,v[b.value.outlet],f),this.forwardEvent(new Gi(b.value.snapshot))}),u.children.length&&this.forwardEvent(new $i(u.value.snapshot))}activateRoutes(u,a,f){const v=u.value,b=a?a.value:null;if(Co(v),v===b)if(v.component){const P=f.getOrCreateContext(v.outlet);this.activateChildRoutes(u,a,P.children)}else this.activateChildRoutes(u,a,f);else if(v.component){const P=f.getOrCreateContext(v.outlet);if(this.routeReuseStrategy.shouldAttach(v.snapshot)){const N=this.routeReuseStrategy.retrieve(v.snapshot);this.routeReuseStrategy.store(v.snapshot,null),P.children.onOutletReAttached(N.contexts),P.attachRef=N.componentRef,P.route=N.route.value,P.outlet&&P.outlet.attach(N.componentRef,N.route.value),Co(N.route.value),this.activateChildRoutes(u,null,P.children)}else{const N=to(v.snapshot),W=N?.get(d._Vd)??null;P.attachRef=null,P.route=v,P.resolver=W,P.injector=N,P.outlet&&P.outlet.activateWith(v,P.injector),this.activateChildRoutes(u,null,P.children)}}else this.activateChildRoutes(u,null,f)}}class di{constructor(u){this.path=u,this.route=this.path[this.path.length-1]}}class no{constructor(u,a){this.component=u,this.route=a}}function $o(l,u,a){const f=l._root;return it(f,u?u._root:null,a,[f.value])}function ae(l,u){const a=Symbol(),f=u.get(l,a);return f===a?"function"!=typeof l||(0,d.Z0I)(l)?u.get(l):l:f}function it(l,u,a,f,v={canDeactivateChecks:[],canActivateChecks:[]}){const b=Fr(u);return l.children.forEach(P=>{(function kt(l,u,a,f,v={canDeactivateChecks:[],canActivateChecks:[]}){const b=l.value,P=u?u.value:null,N=a?a.getContext(l.value.outlet):null;if(P&&b.routeConfig===P.routeConfig){const W=function C(l,u,a){if("function"==typeof a)return a(l,u);switch(a){case"pathParamsChange":return!sn(l.url,u.url);case"pathParamsOrQueryParamsChange":return!sn(l.url,u.url)||!zt(l.queryParams,u.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Bo(l,u)||!zt(l.queryParams,u.queryParams);default:return!Bo(l,u)}}(P,b,b.routeConfig.runGuardsAndResolvers);W?v.canActivateChecks.push(new di(f)):(b.data=P.data,b._resolvedData=P._resolvedData),it(l,u,b.component?N?N.children:null:a,f,v),W&&N&&N.outlet&&N.outlet.isActivated&&v.canDeactivateChecks.push(new no(N.outlet.component,P))}else P&&y(u,N,v),v.canActivateChecks.push(new di(f)),it(l,null,b.component?N?N.children:null:a,f,v)})(P,b[P.value.outlet],a,f.concat([P.value]),v),delete b[P.value.outlet]}),ie(b,(P,N)=>y(P,a.getContext(N),v)),v}function y(l,u,a){const f=Fr(l),v=l.value;ie(f,(b,P)=>{y(b,v.component?u?u.children.getContext(P):null:u,a)}),a.canDeactivateChecks.push(new no(v.component&&u&&u.outlet&&u.outlet.isActivated?u.outlet.component:null,v))}function g(l){return"function"==typeof l}function jt(l){return l instanceof J||"EmptyError"===l?.name}const wn=Symbol("INITIAL_VALUE");function ur(){return tt(l=>nt(l.map(u=>u.pipe((0,Rt.q)(1),function He(...l){const u=(0,De.yG)(l);return(0,L.e)((a,f)=>{(u?oe(l,a,u):oe(l,a)).subscribe(f)})}(wn)))).pipe((0,Ce.U)(u=>{for(const a of u)if(!0!==a){if(a===wn)return wn;if(!1===a||a instanceof Ve)return a}return!0}),(0,yt.h)(u=>u!==wn),(0,Rt.q)(1)))}function gi(l){return(0,Ie.z)(Ut(u=>{if(ct(u))throw tn(0,u)}),(0,Ce.U)(u=>!0===u))}const mi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function yi(l,u,a,f,v){const b=vi(l,u,a);return b.matched?function va(l,u,a,f){const v=u.canMatch;if(!v||0===v.length)return(0,z.of)(!0);const b=v.map(P=>{const N=ae(P,l);return be(function Dr(l){return l&&g(l.canMatch)}(N)?N.canMatch(u,a):l.runInContext(()=>N(u,a)))});return(0,z.of)(b).pipe(ur(),gi())}(f=jo(u,f),u,a).pipe((0,Ce.U)(P=>!0===P?b:{...mi})):(0,z.of)(b)}function vi(l,u,a){if(""===u.path)return"full"===u.pathMatch&&(l.hasChildren()||a.length>0)?{...mi}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const v=(u.matcher||Qn)(a,l,u);if(!v)return{...mi};const b={};ie(v.posParams,(N,W)=>{b[W]=N.path});const P=v.consumed.length>0?{...b,...v.consumed[v.consumed.length-1].parameters}:b;return{matched:!0,consumedSegments:v.consumed,remainingSegments:a.slice(v.consumed.length),parameters:P,positionalParamSegments:v.posParams??{}}}function zo(l,u,a,f,v="corrected"){if(a.length>0&&function Ki(l,u,a){return a.some(f=>Wo(l,u,f)&&Fe(f)!==Re)}(l,a,f)){const P=new ze(u,function Ns(l,u,a,f){const v={};v[Re]=f,f._sourceSegment=l,f._segmentIndexShift=u.length;for(const b of a)if(""===b.path&&Fe(b)!==Re){const P=new ze([],{});P._sourceSegment=l,P._segmentIndexShift=u.length,v[Fe(b)]=P}return v}(l,u,f,new ze(a,l.children)));return P._sourceSegment=l,P._segmentIndexShift=u.length,{segmentGroup:P,slicedSegments:[]}}if(0===a.length&&function Da(l,u,a){return a.some(f=>Wo(l,u,f))}(l,a,f)){const P=new ze(l.segments,function Ps(l,u,a,f,v,b){const P={};for(const N of f)if(Wo(l,a,N)&&!v[Fe(N)]){const W=new ze([],{});W._sourceSegment=l,W._segmentIndexShift="legacy"===b?l.segments.length:u.length,P[Fe(N)]=W}return{...v,...P}}(l,u,a,f,l.children,v));return P._sourceSegment=l,P._segmentIndexShift=u.length,{segmentGroup:P,slicedSegments:a}}const b=new ze(l.segments,l.children);return b._sourceSegment=l,b._segmentIndexShift=u.length,{segmentGroup:b,slicedSegments:a}}function Wo(l,u,a){return(!(l.hasChildren()||u.length>0)||"full"!==a.pathMatch)&&""===a.path}function gn(l,u,a,f){return!!(Fe(l)===f||f!==Re&&Wo(u,a,l))&&("**"===l.path||vi(u,l,a).matched)}function cr(l,u,a){return 0===u.length&&!l.children[a]}const At=!1;class Di{constructor(u){this.segmentGroup=u||null}}class Rs{constructor(u){this.urlTree=u}}function Yo(l){return O(new Di(l))}function Fs(l){return O(new Rs(l))}class Ei{constructor(u,a,f,v,b){this.injector=u,this.configLoader=a,this.urlSerializer=f,this.urlTree=v,this.config=b,this.allowRedirects=!0}apply(){const u=zo(this.urlTree.root,[],[],this.config).segmentGroup,a=new ze(u.segments,u.children);return this.expandSegmentGroup(this.injector,this.config,a,Re).pipe((0,Ce.U)(b=>this.createUrlTree(Ft(b),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Tt(b=>{if(b instanceof Rs)return this.allowRedirects=!1,this.match(b.urlTree);throw b instanceof Di?this.noMatchError(b):b}))}match(u){return this.expandSegmentGroup(this.injector,this.config,u.root,Re).pipe((0,Ce.U)(v=>this.createUrlTree(Ft(v),u.queryParams,u.fragment))).pipe(Tt(v=>{throw v instanceof Di?this.noMatchError(v):v}))}noMatchError(u){return new d.vHH(4002,At)}createUrlTree(u,a,f){const v=kn(u);return new Ve(v,a,f)}expandSegmentGroup(u,a,f,v){return 0===f.segments.length&&f.hasChildren()?this.expandChildren(u,a,f).pipe((0,Ce.U)(b=>new ze([],b))):this.expandSegment(u,f,a,f.segments,v,!0)}expandChildren(u,a,f){const v=[];for(const b of Object.keys(f.children))"primary"===b?v.unshift(b):v.push(b);return(0,D.D)(v).pipe((0,Mt.b)(b=>{const P=f.children[b],N=eo(a,b);return this.expandSegmentGroup(u,N,P,b).pipe((0,Ce.U)(W=>({segment:W,outlet:b})))}),Ar((b,P)=>(b[P.outlet]=P.segment,b),{}),Kn())}expandSegment(u,a,f,v,b,P){return(0,D.D)(f).pipe((0,Mt.b)(N=>this.expandSegmentAgainstRoute(u,a,f,N,v,b,P).pipe(Tt(he=>{if(he instanceof Di)return(0,z.of)(null);throw he}))),Xt(N=>!!N),Tt((N,W)=>{if(jt(N))return cr(a,v,b)?(0,z.of)(new ze([],{})):Yo(a);throw N}))}expandSegmentAgainstRoute(u,a,f,v,b,P,N){return gn(v,a,b,P)?void 0===v.redirectTo?this.matchSegmentAgainstRoute(u,a,v,b,P):N&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(u,a,f,v,b,P):Yo(a):Yo(a)}expandSegmentAgainstRouteUsingRedirect(u,a,f,v,b,P){return"**"===v.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(u,f,v,P):this.expandRegularSegmentAgainstRouteUsingRedirect(u,a,f,v,b,P)}expandWildCardWithParamsAgainstRouteUsingRedirect(u,a,f,v){const b=this.applyRedirectCommands([],f.redirectTo,{});return f.redirectTo.startsWith("/")?Fs(b):this.lineralizeSegments(f,b).pipe((0,Ot.z)(P=>{const N=new ze(P,{});return this.expandSegment(u,N,a,P,v,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(u,a,f,v,b,P){const{matched:N,consumedSegments:W,remainingSegments:he,positionalParamSegments:Je}=vi(a,v,b);if(!N)return Yo(a);const Ae=this.applyRedirectCommands(W,v.redirectTo,Je);return v.redirectTo.startsWith("/")?Fs(Ae):this.lineralizeSegments(v,Ae).pipe((0,Ot.z)(wt=>this.expandSegment(u,a,f,wt.concat(he),P,!1)))}matchSegmentAgainstRoute(u,a,f,v,b){return"**"===f.path?(u=jo(f,u),f.loadChildren?(f._loadedRoutes?(0,z.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):this.configLoader.loadChildren(u,f)).pipe((0,Ce.U)(N=>(f._loadedRoutes=N.routes,f._loadedInjector=N.injector,new ze(v,{})))):(0,z.of)(new ze(v,{}))):yi(a,f,v,u).pipe(tt(({matched:P,consumedSegments:N,remainingSegments:W})=>P?this.getChildConfig(u=f._injector??u,f,v).pipe((0,Ot.z)(Je=>{const Ae=Je.injector??u,wt=Je.routes,{segmentGroup:Nn,slicedSegments:fr}=zo(a,N,W,wt),br=new ze(Nn.segments,Nn.children);if(0===fr.length&&br.hasChildren())return this.expandChildren(Ae,wt,br).pipe((0,Ce.U)(ns=>new ze(N,ns)));if(0===wt.length&&0===fr.length)return(0,z.of)(new ze(N,{}));const Mr=Fe(f)===b;return this.expandSegment(Ae,br,wt,fr,Mr?Re:b,!0).pipe((0,Ce.U)(Ao=>new ze(N.concat(Ao.segments),Ao.children)))})):Yo(a)))}getChildConfig(u,a,f){return a.children?(0,z.of)({routes:a.children,injector:u}):a.loadChildren?void 0!==a._loadedRoutes?(0,z.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function pi(l,u,a,f){const v=u.canLoad;if(void 0===v||0===v.length)return(0,z.of)(!0);const b=v.map(P=>{const N=ae(P,l);return be(function Y(l){return l&&g(l.canLoad)}(N)?N.canLoad(u,a):l.runInContext(()=>N(u,a)))});return(0,z.of)(b).pipe(ur(),gi())}(u,a,f).pipe((0,Ot.z)(v=>v?this.configLoader.loadChildren(u,a).pipe(Ut(b=>{a._loadedRoutes=b.routes,a._loadedInjector=b.injector})):function Ea(l){return O(Hr(At,3))}())):(0,z.of)({routes:[],injector:u})}lineralizeSegments(u,a){let f=[],v=a.root;for(;;){if(f=f.concat(v.segments),0===v.numberOfChildren)return(0,z.of)(f);if(v.numberOfChildren>1||!v.children[Re])return O(new d.vHH(4e3,At));v=v.children[Re]}}applyRedirectCommands(u,a,f){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),u,f)}applyRedirectCreateUrlTree(u,a,f,v){const b=this.createSegmentGroup(u,a.root,f,v);return new Ve(b,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(u,a){const f={};return ie(u,(v,b)=>{if("string"==typeof v&&v.startsWith(":")){const N=v.substring(1);f[b]=a[N]}else f[b]=v}),f}createSegmentGroup(u,a,f,v){const b=this.createSegments(u,a.segments,f,v);let P={};return ie(a.children,(N,W)=>{P[W]=this.createSegmentGroup(u,N,f,v)}),new ze(b,P)}createSegments(u,a,f,v){return a.map(b=>b.path.startsWith(":")?this.findPosParam(u,b,v):this.findOrReturn(b,f))}findPosParam(u,a,f){const v=f[a.path.substring(1)];if(!v)throw new d.vHH(4001,At);return v}findOrReturn(u,a){let f=0;for(const v of a){if(v.path===u.path)return a.splice(f),v;f++}return u}}class h{}class M{constructor(u,a,f,v,b,P,N,W){this.injector=u,this.rootComponentType=a,this.config=f,this.urlTree=v,this.url=b,this.paramsInheritanceStrategy=P,this.relativeLinkResolution=N,this.urlSerializer=W}recognize(){const u=zo(this.urlTree.root,[],[],this.config.filter(a=>void 0===a.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,u,Re).pipe((0,Ce.U)(a=>{if(null===a)return null;const f=new Mn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Re,this.rootComponentType,null,this.urlTree.root,-1,{}),v=new En(f,a),b=new Do(this.url,v);return this.inheritParamsAndData(b._root),b}))}inheritParamsAndData(u){const a=u.value,f=zi(a,this.paramsInheritanceStrategy);a.params=Object.freeze(f.params),a.data=Object.freeze(f.data),u.children.forEach(v=>this.inheritParamsAndData(v))}processSegmentGroup(u,a,f,v){return 0===f.segments.length&&f.hasChildren()?this.processChildren(u,a,f):this.processSegment(u,a,f,f.segments,v)}processChildren(u,a,f){return(0,D.D)(Object.keys(f.children)).pipe((0,Mt.b)(v=>{const b=f.children[v],P=eo(a,v);return this.processSegmentGroup(u,P,b,v)}),Ar((v,b)=>v&&b?(v.push(...b),v):null),function It(l,u=!1){return(0,L.e)((a,f)=>{let v=0;a.subscribe(new ye.Q(f,b=>{const P=l(b,v++);(P||u)&&f.next(b),!P&&f.complete()}))})}(v=>null!==v),bt(null),Kn(),(0,Ce.U)(v=>{if(null===v)return null;const b=Pe(v);return function F(l){l.sort((u,a)=>u.value.outlet===Re?-1:a.value.outlet===Re?1:u.value.outlet.localeCompare(a.value.outlet))}(b),b}))}processSegment(u,a,f,v,b){return(0,D.D)(a).pipe((0,Mt.b)(P=>this.processSegmentAgainstRoute(P._injector??u,P,f,v,b)),Xt(P=>!!P),Tt(P=>{if(jt(P))return cr(f,v,b)?(0,z.of)([]):(0,z.of)(null);throw P}))}processSegmentAgainstRoute(u,a,f,v,b){if(a.redirectTo||!gn(a,f,v,b))return(0,z.of)(null);let P;if("**"===a.path){const N=v.length>0?T(v).parameters:{},W=Dt(f)+v.length,he=new Mn(v,N,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Vt(a),Fe(a),a.component??a._loadedComponent??null,a,ht(f),W,Ct(a),W);P=(0,z.of)({snapshot:he,consumedSegments:[],remainingSegments:[]})}else P=yi(f,a,v,u).pipe((0,Ce.U)(({matched:N,consumedSegments:W,remainingSegments:he,parameters:Je})=>{if(!N)return null;const Ae=Dt(f)+W.length;return{snapshot:new Mn(W,Je,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Vt(a),Fe(a),a.component??a._loadedComponent??null,a,ht(f),Ae,Ct(a),Ae),consumedSegments:W,remainingSegments:he}}));return P.pipe(tt(N=>{if(null===N)return(0,z.of)(null);const{snapshot:W,consumedSegments:he,remainingSegments:Je}=N;u=a._injector??u;const Ae=a._loadedInjector??u,wt=function K(l){return l.children?l.children:l.loadChildren?l._loadedRoutes:[]}(a),{segmentGroup:Nn,slicedSegments:fr}=zo(f,he,Je,wt.filter(Mr=>void 0===Mr.redirectTo),this.relativeLinkResolution);if(0===fr.length&&Nn.hasChildren())return this.processChildren(Ae,wt,Nn).pipe((0,Ce.U)(Mr=>null===Mr?null:[new En(W,Mr)]));if(0===wt.length&&0===fr.length)return(0,z.of)([new En(W,[])]);const br=Fe(a)===b;return this.processSegment(Ae,wt,Nn,fr,br?Re:b).pipe((0,Ce.U)(Mr=>null===Mr?null:[new En(W,Mr)]))}))}}function te(l){const u=l.value.routeConfig;return u&&""===u.path&&void 0===u.redirectTo}function Pe(l){const u=[],a=new Set;for(const f of l){if(!te(f)){u.push(f);continue}const v=u.find(b=>f.value.routeConfig===b.value.routeConfig);void 0!==v?(v.children.push(...f.children),a.add(v)):u.push(f)}for(const f of a){const v=Pe(f.children);u.push(new En(f.value,v))}return u.filter(f=>!a.has(f))}function ht(l){let u=l;for(;u._sourceSegment;)u=u._sourceSegment;return u}function Dt(l){let u=l,a=u._segmentIndexShift??0;for(;u._sourceSegment;)u=u._sourceSegment,a+=u._segmentIndexShift??0;return a-1}function Vt(l){return l.data||{}}function Ct(l){return l.resolve||{}}function dr(l){return"string"==typeof l.title||null===l.title}function ro(l){return tt(u=>{const a=l(u);return a?(0,D.D)(a).pipe((0,Ce.U)(()=>u)):(0,z.of)(u)})}let _i=(()=>{class l{buildTitle(a){let f,v=a.root;for(;void 0!==v;)f=this.getResolvedTitleForRoute(v)??f,v=v.children.find(b=>b.outlet===Re);return f}getResolvedTitleForRoute(a){return a.data[fn]}}return l.\u0275fac=function(a){return new(a||l)},l.\u0275prov=d.Yz7({token:l,factory:function(){return(0,d.f3M)(wl)},providedIn:"root"}),l})(),wl=(()=>{class l extends _i{constructor(a){super(),this.title=a}updateTitle(a){const f=this.buildTitle(a);void 0!==f&&this.title.setTitle(f)}}return l.\u0275fac=function(a){return new(a||l)(d.LFG(_n.Dx))},l.\u0275prov=d.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();class wa{}class _r extends class bl{shouldDetach(u){return!1}store(u,a){}shouldAttach(u){return!1}retrieve(u){return null}shouldReuseRoute(u,a){return u.routeConfig===a.routeConfig}}{}const oo=new d.OlP("",{providedIn:"root",factory:()=>({})}),bi=new d.OlP("ROUTES");let Ko=(()=>{class l{constructor(a,f){this.injector=a,this.compiler=f,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,z.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const f=be(a.loadComponent()).pipe(Ut(b=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=b}),dn(()=>{this.componentLoaders.delete(a)})),v=new q(f,()=>new se.x).pipe(Z());return this.componentLoaders.set(a,v),v}loadChildren(a,f){if(this.childrenLoaders.get(f))return this.childrenLoaders.get(f);if(f._loadedRoutes)return(0,z.of)({routes:f._loadedRoutes,injector:f._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(f);const b=this.loadModuleFactoryOrRoutes(f.loadChildren).pipe((0,Ce.U)(N=>{this.onLoadEndListener&&this.onLoadEndListener(f);let W,he,Je=!1;Array.isArray(N)?he=N:(W=N.create(a).injector,he=k(W.get(bi,[],d.XFs.Self|d.XFs.Optional)));return{routes:he.map(wo),injector:W}}),dn(()=>{this.childrenLoaders.delete(f)})),P=new q(b,()=>new se.x).pipe(Z());return this.childrenLoaders.set(f,P),P}loadModuleFactoryOrRoutes(a){return be(a()).pipe((0,Ot.z)(f=>f instanceof d.YKP||Array.isArray(f)?(0,z.of)(f):(0,D.D)(this.compiler.compileModuleAsync(f))))}}return l.\u0275fac=function(a){return new(a||l)(d.LFG(d.zs3),d.LFG(d.Sil))},l.\u0275prov=d.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();class Qi{}class Il{shouldProcessUrl(u){return!0}extract(u){return u}merge(u,a){return u}}function _a(l){throw l}function ba(l,u,a){return u.parse("/")}const Ma={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Sl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Jo(){const l=(0,d.f3M)(vn),u=(0,d.f3M)(yr),a=(0,d.f3M)(ue.Ye),f=(0,d.f3M)(d.zs3),v=(0,d.f3M)(d.Sil),b=(0,d.f3M)(bi,{optional:!0})??[],P=(0,d.f3M)(oo,{optional:!0})??{},N=(0,d.f3M)(wl),W=(0,d.f3M)(_i,{optional:!0}),he=(0,d.f3M)(Qi,{optional:!0}),Je=(0,d.f3M)(wa,{optional:!0}),Ae=new ln(null,l,u,a,f,v,k(b));return he&&(Ae.urlHandlingStrategy=he),Je&&(Ae.routeReuseStrategy=Je),Ae.titleStrategy=W??N,function qi(l,u){l.errorHandler&&(u.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(u.malformedUriErrorHandler=l.malformedUriErrorHandler),l.onSameUrlNavigation&&(u.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.relativeLinkResolution&&(u.relativeLinkResolution=l.relativeLinkResolution),l.urlUpdateStrategy&&(u.urlUpdateStrategy=l.urlUpdateStrategy),l.canceledNavigationResolution&&(u.canceledNavigationResolution=l.canceledNavigationResolution)}(P,Ae),Ae}let ln=(()=>{class l{constructor(a,f,v,b,P,N,W){this.rootComponentType=a,this.urlSerializer=f,this.rootContexts=v,this.location=b,this.config=W,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new se.x,this.errorHandler=_a,this.malformedUriErrorHandler=ba,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,z.of)(void 0),this.urlHandlingStrategy=new Il,this.routeReuseStrategy=new _r,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=P.get(Ko),this.configLoader.onLoadEndListener=wt=>this.triggerEvent(new Ts(wt)),this.configLoader.onLoadStartListener=wt=>this.triggerEvent(new ji(wt)),this.ngModule=P.get(d.h0i),this.console=P.get(d.c2e);const Ae=P.get(d.R0b);this.isNgZoneEnabled=Ae instanceof d.R0b&&d.R0b.isInAngularZone(),this.resetConfig(W),this.currentUrlTree=function St(){return new Ve(new ze([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Lr(this.currentUrlTree,this.rootComponentType),this.transitions=new ne({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(a){const f=this.events;return a.pipe((0,yt.h)(v=>0!==v.id),(0,Ce.U)(v=>({...v,extractedUrl:this.urlHandlingStrategy.extract(v.rawUrl)})),tt(v=>{let b=!1,P=!1;return(0,z.of)(v).pipe(Ut(N=>{this.currentNavigation={id:N.id,initialUrl:N.rawUrl,extractedUrl:N.extractedUrl,trigger:N.source,extras:N.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),tt(N=>{const W=this.browserUrlTree.toString(),he=!this.navigated||N.extractedUrl.toString()!==W||W!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||he)&&this.urlHandlingStrategy.shouldProcessUrl(N.rawUrl))return Ls(N.source)&&(this.browserUrlTree=N.extractedUrl),(0,z.of)(N).pipe(tt(Ae=>{const wt=this.transitions.getValue();return f.next(new bn(Ae.id,this.serializeUrl(Ae.extractedUrl),Ae.source,Ae.restoredState)),wt!==this.transitions.getValue()?R.E:Promise.resolve(Ae)}),function wi(l,u,a,f){return tt(v=>function Ci(l,u,a,f,v){return new Ei(l,u,a,f,v).apply()}(l,u,a,v.extractedUrl,f).pipe((0,Ce.U)(b=>({...v,urlAfterRedirects:b}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Ut(Ae=>{this.currentNavigation={...this.currentNavigation,finalUrl:Ae.urlAfterRedirects},v.urlAfterRedirects=Ae.urlAfterRedirects}),function Jt(l,u,a,f,v,b){return(0,Ot.z)(P=>function m(l,u,a,f,v,b,P="emptyOnly",N="legacy"){return new M(l,u,a,f,v,P,N,b).recognize().pipe(tt(W=>null===W?function w(l){return new _e.y(u=>u.error(l))}(new h):(0,z.of)(W)))}(l,u,a,P.urlAfterRedirects,f.serialize(P.urlAfterRedirects),f,v,b).pipe((0,Ce.U)(N=>({...P,targetSnapshot:N}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),Ut(Ae=>{if(v.targetSnapshot=Ae.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Ae.extras.skipLocationChange){const Nn=this.urlHandlingStrategy.merge(Ae.urlAfterRedirects,Ae.rawUrl);this.setBrowserUrl(Nn,Ae)}this.browserUrlTree=Ae.urlAfterRedirects}const wt=new Cn(Ae.id,this.serializeUrl(Ae.extractedUrl),this.serializeUrl(Ae.urlAfterRedirects),Ae.targetSnapshot);f.next(wt)}));if(he&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:wt,extractedUrl:Nn,source:fr,restoredState:br,extras:Mr}=N,qo=new bn(wt,this.serializeUrl(Nn),fr,br);f.next(qo);const Ao=Lr(Nn,this.rootComponentType).snapshot;return v={...N,targetSnapshot:Ao,urlAfterRedirects:Nn,extras:{...Mr,skipLocationChange:!1,replaceUrl:!1}},(0,z.of)(v)}return this.rawUrlTree=N.rawUrl,N.resolve(null),R.E}),Ut(N=>{const W=new Lo(N.id,this.serializeUrl(N.extractedUrl),this.serializeUrl(N.urlAfterRedirects),N.targetSnapshot);this.triggerEvent(W)}),(0,Ce.U)(N=>v={...N,guards:$o(N.targetSnapshot,N.currentSnapshot,this.rootContexts)}),function tr(l,u){return(0,Ot.z)(a=>{const{targetSnapshot:f,currentSnapshot:v,guards:{canActivateChecks:b,canDeactivateChecks:P}}=a;return 0===P.length&&0===b.length?(0,z.of)({...a,guardsResult:!0}):function Er(l,u,a,f){return(0,D.D)(l).pipe((0,Ot.z)(v=>function hi(l,u,a,f,v){const b=u&&u.routeConfig?u.routeConfig.canDeactivate:null;if(!b||0===b.length)return(0,z.of)(!0);const P=b.map(N=>{const W=to(u)??v,he=ae(N,W);return be(function $n(l){return l&&g(l.canDeactivate)}(he)?he.canDeactivate(l,u,a,f):W.runInContext(()=>he(l,u,a,f))).pipe(Xt())});return(0,z.of)(P).pipe(ur())}(v.component,v.route,a,u,f)),Xt(v=>!0!==v,!0))}(P,f,v,l).pipe((0,Ot.z)(N=>N&&function S(l){return"boolean"==typeof l}(N)?function ma(l,u,a,f){return(0,D.D)(u).pipe((0,Mt.b)(v=>oe(function Yi(l,u){return null!==l&&u&&u(new oi(l)),(0,z.of)(!0)}(v.route.parent,f),function fi(l,u){return null!==l&&u&&u(new ii(l)),(0,z.of)(!0)}(v.route,f),function Zi(l,u,a){const f=u[u.length-1],b=u.slice(0,u.length-1).reverse().map(P=>function Go(l){const u=l.routeConfig?l.routeConfig.canActivateChild:null;return u&&0!==u.length?{node:l,guards:u}:null}(P)).filter(P=>null!==P).map(P=>je(()=>{const N=P.guards.map(W=>{const he=to(P.node)??a,Je=ae(W,he);return be(function Et(l){return l&&g(l.canActivateChild)}(Je)?Je.canActivateChild(f,l):he.runInContext(()=>Je(f,l))).pipe(Xt())});return(0,z.of)(N).pipe(ur())}));return(0,z.of)(b).pipe(ur())}(l,v.path,a),function ya(l,u,a){const f=u.routeConfig?u.routeConfig.canActivate:null;if(!f||0===f.length)return(0,z.of)(!0);const v=f.map(b=>je(()=>{const P=to(u)??a,N=ae(b,P);return be(function Se(l){return l&&g(l.canActivate)}(N)?N.canActivate(u,l):P.runInContext(()=>N(u,l))).pipe(Xt())}));return(0,z.of)(v).pipe(ur())}(l,v.route,a))),Xt(v=>!0!==v,!0))}(f,b,l,u):(0,z.of)(N)),(0,Ce.U)(N=>({...a,guardsResult:N})))})}(this.ngModule.injector,N=>this.triggerEvent(N)),Ut(N=>{if(v.guardsResult=N.guardsResult,ct(N.guardsResult))throw tn(0,N.guardsResult);const W=new ni(N.id,this.serializeUrl(N.extractedUrl),this.serializeUrl(N.urlAfterRedirects),N.targetSnapshot,!!N.guardsResult);this.triggerEvent(W)}),(0,yt.h)(N=>!!N.guardsResult||(this.restoreHistory(N),this.cancelNavigationTransition(N,"",3),!1)),ro(N=>{if(N.guards.canActivateChecks.length)return(0,z.of)(N).pipe(Ut(W=>{const he=new ri(W.id,this.serializeUrl(W.extractedUrl),this.serializeUrl(W.urlAfterRedirects),W.targetSnapshot);this.triggerEvent(he)}),tt(W=>{let he=!1;return(0,z.of)(W).pipe(function nr(l,u){return(0,Ot.z)(a=>{const{targetSnapshot:f,guards:{canActivateChecks:v}}=a;if(!v.length)return(0,z.of)(a);let b=0;return(0,D.D)(v).pipe((0,Mt.b)(P=>function Gn(l,u,a,f){const v=l.routeConfig,b=l._resolve;return void 0!==v?.title&&!dr(v)&&(b[fn]=v.title),function wr(l,u,a,f){const v=function In(l){return[...Object.keys(l),...Object.getOwnPropertySymbols(l)]}(l);if(0===v.length)return(0,z.of)({});const b={};return(0,D.D)(v).pipe((0,Ot.z)(P=>function Zo(l,u,a,f){const v=to(u)??f,b=ae(l,v);return be(b.resolve?b.resolve(u,a):v.runInContext(()=>b(u,a)))}(l[P],u,a,f).pipe(Xt(),Ut(N=>{b[P]=N}))),Zn(1),function Jn(l){return(0,Ce.U)(()=>l)}(b),Tt(P=>jt(P)?R.E:O(P)))}(b,l,u,f).pipe((0,Ce.U)(P=>(l._resolvedData=P,l.data=zi(l,a).resolve,v&&dr(v)&&(l.data[fn]=v.title),null)))}(P.route,f,l,u)),Ut(()=>b++),Zn(1),(0,Ot.z)(P=>b===v.length?(0,z.of)(a):R.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Ut({next:()=>he=!0,complete:()=>{he||(this.restoreHistory(W),this.cancelNavigationTransition(W,"",2))}}))}),Ut(W=>{const he=new go(W.id,this.serializeUrl(W.extractedUrl),this.serializeUrl(W.urlAfterRedirects),W.targetSnapshot);this.triggerEvent(he)}))}),ro(N=>{const W=he=>{const Je=[];he.routeConfig?.loadComponent&&!he.routeConfig._loadedComponent&&Je.push(this.configLoader.loadComponent(he.routeConfig).pipe(Ut(Ae=>{he.component=Ae}),(0,Ce.U)(()=>{})));for(const Ae of he.children)Je.push(...W(Ae));return Je};return nt(W(N.targetSnapshot.root)).pipe(bt(),(0,Rt.q)(1))}),ro(()=>this.afterPreactivation()),(0,Ce.U)(N=>{const W=function Ho(l,u,a){const f=Ur(l,u._root,a?a._root:void 0);return new vo(f,u)}(this.routeReuseStrategy,N.targetSnapshot,N.currentRouterState);return v={...N,targetRouterState:W}}),Ut(N=>{this.currentUrlTree=N.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(N.urlAfterRedirects,N.rawUrl),this.routerState=N.targetRouterState,"deferred"===this.urlUpdateStrategy&&(N.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,N),this.browserUrlTree=N.urlAfterRedirects)}),((l,u,a)=>(0,Ce.U)(f=>(new ci(u,f.targetRouterState,f.currentRouterState,a).activate(l),f)))(this.rootContexts,this.routeReuseStrategy,N=>this.triggerEvent(N)),Ut({next(){b=!0},complete(){b=!0}}),dn(()=>{b||P||this.cancelNavigationTransition(v,"",1),this.currentNavigation?.id===v.id&&(this.currentNavigation=null)}),Tt(N=>{if(P=!0,Xr(N)){sr(N)||(this.navigated=!0,this.restoreHistory(v,!0));const W=new er(v.id,this.serializeUrl(v.extractedUrl),N.message,N.cancellationCode);if(f.next(W),sr(N)){const he=this.urlHandlingStrategy.merge(N.url,this.rawUrlTree),Je={skipLocationChange:v.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ls(v.source)};this.scheduleNavigation(he,"imperative",null,Je,{resolve:v.resolve,reject:v.reject,promise:v.promise})}else v.resolve(!1)}else{this.restoreHistory(v,!0);const W=new Rr(v.id,this.serializeUrl(v.extractedUrl),N,v.targetSnapshot??void 0);f.next(W);try{v.resolve(this.errorHandler(N))}catch(he){v.reject(he)}}return R.E}))}))}resetRootComponentType(a){this.rootComponentType=a,this.routerState.root.component=this.rootComponentType}setTransition(a){this.transitions.next({...this.transitions.value,...a})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const f="popstate"===a.type?"popstate":"hashchange";"popstate"===f&&setTimeout(()=>{const v={replaceUrl:!0},b=a.state?.navigationId?a.state:null;if(b){const N={...b};delete N.navigationId,delete N.\u0275routerPageId,0!==Object.keys(N).length&&(v.state=N)}const P=this.parseUrl(a.url);this.scheduleNavigation(P,f,b,v)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(a){this.events.next(a)}resetConfig(a){this.config=a.map(wo),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(a,f={}){const{relativeTo:v,queryParams:b,fragment:P,queryParamsHandling:N,preserveFragment:W}=f,he=v||this.routerState.root,Je=W?this.currentUrlTree.fragment:P;let Ae=null;switch(N){case"merge":Ae={...this.currentUrlTree.queryParams,...b};break;case"preserve":Ae=this.currentUrlTree.queryParams;break;default:Ae=b||null}return null!==Ae&&(Ae=this.removeEmptyProps(Ae)),Xn(he,this.currentUrlTree,a,Ae,Je??null)}navigateByUrl(a,f={skipLocationChange:!1}){const v=ct(a)?a:this.parseUrl(a),b=this.urlHandlingStrategy.merge(v,this.rawUrlTree);return this.scheduleNavigation(b,"imperative",null,f)}navigate(a,f={skipLocationChange:!1}){return function Ia(l){for(let u=0;u{const b=a[v];return null!=b&&(f[v]=b),f},{})}processNavigations(){this.navigations.subscribe(a=>{this.navigated=!0,this.lastSuccessfulId=a.id,this.currentPageId=a.targetPageId,this.events.next(new Bt(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),a.resolve(!0)},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)})}scheduleNavigation(a,f,v,b,P){if(this.disposed)return Promise.resolve(!1);let N,W,he;P?(N=P.resolve,W=P.reject,he=P.promise):he=new Promise((wt,Nn)=>{N=wt,W=Nn});const Je=++this.navigationId;let Ae;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(v=this.location.getState()),Ae=v&&v.\u0275routerPageId?v.\u0275routerPageId:b.replaceUrl||b.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Ae=0,this.setTransition({id:Je,targetPageId:Ae,source:f,restoredState:v,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:a,extras:b,resolve:N,reject:W,promise:he,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),he.catch(wt=>Promise.reject(wt))}setBrowserUrl(a,f){const v=this.urlSerializer.serialize(a),b={...f.extras.state,...this.generateNgRouterState(f.id,f.targetPageId)};this.location.isCurrentPathEqualTo(v)||f.extras.replaceUrl?this.location.replaceState(v,"",b):this.location.go(v,"",b)}restoreHistory(a,f=!1){if("computed"===this.canceledNavigationResolution){const v=this.currentPageId-a.targetPageId;"popstate"!==a.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===v?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===v&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(v)}else"replace"===this.canceledNavigationResolution&&(f&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(a,f,v){const b=new er(a.id,this.serializeUrl(a.extractedUrl),f,v);this.triggerEvent(b),a.resolve(!1)}generateNgRouterState(a,f){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:f}:{navigationId:a}}}return l.\u0275fac=function(a){d.$Z()},l.\u0275prov=d.Yz7({token:l,factory:function(){return Jo()},providedIn:"root"}),l})();function Ls(l){return"imperative"!==l}let io=(()=>{class l{constructor(a,f,v,b,P){this.router=a,this.route=f,this.tabIndexAttribute=v,this.renderer=b,this.el=P,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new se.x,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(a){this._preserveFragment=(0,d.D6c)(a)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(a){this._skipLocationChange=(0,d.D6c)(a)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(a){this._replaceUrl=(0,d.D6c)(a)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(a){if(null!=this.tabIndexAttribute)return;const f=this.renderer,v=this.el.nativeElement;null!==a?f.setAttribute(v,"tabindex",a):f.removeAttribute(v,"tabindex")}ngOnChanges(a){this.onChanges.next(this)}set routerLink(a){null!=a?(this.commands=Array.isArray(a)?a:[a],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return l.\u0275fac=function(a){return new(a||l)(d.Y36(ln),d.Y36(Hn),d.$8M("tabindex"),d.Y36(d.Qsj),d.Y36(d.SBq))},l.\u0275dir=d.lG2({type:l,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(a,f){1&a&&d.NdJ("click",function(){return f.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[d.TTD]}),l})(),Xi=(()=>{class l{constructor(a,f,v){this.router=a,this.route=f,this.locationStrategy=v,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new se.x,this.subscription=a.events.subscribe(b=>{b instanceof Bt&&this.updateTargetUrlAndHref()})}set preserveFragment(a){this._preserveFragment=(0,d.D6c)(a)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(a){this._skipLocationChange=(0,d.D6c)(a)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(a){this._replaceUrl=(0,d.D6c)(a)}get replaceUrl(){return this._replaceUrl}set routerLink(a){this.commands=null!=a?Array.isArray(a)?a:[a]:null}ngOnChanges(a){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(a,f,v,b,P){return!!(0!==a||f||v||b||P||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return l.\u0275fac=function(a){return new(a||l)(d.Y36(ln),d.Y36(Hn),d.Y36(ue.S$))},l.\u0275dir=d.lG2({type:l,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(a,f){1&a&&d.NdJ("click",function(b){return f.onClick(b.button,b.ctrlKey,b.shiftKey,b.altKey,b.metaKey)}),2&a&&d.uIk("target",f.target)("href",f.href,d.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[d.TTD]}),l})(),ks=(()=>{class l{constructor(a,f,v,b,P,N){this.router=a,this.element=f,this.renderer=v,this.cdr=b,this.link=P,this.linkWithHref=N,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new d.vpe,this.routerEventsSubscription=a.events.subscribe(W=>{W instanceof Bt&&this.update()})}ngAfterContentInit(){(0,z.of)(this.links.changes,this.linksWithHrefs.changes,(0,z.of)(null)).pipe((0,ke.J)()).subscribe(a=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const a=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(f=>!!f).map(f=>f.onChanges);this.linkInputChangesSubscription=(0,D.D)(a).pipe((0,ke.J)()).subscribe(f=>{this.isActive!==this.isLinkActive(this.router)(f)&&this.update()})}set routerLinkActive(a){const f=Array.isArray(a)?a:a.split(" ");this.classes=f.filter(v=>!!v)}ngOnChanges(a){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const a=this.hasActiveLinks();this.isActive!==a&&(this.isActive=a,this.cdr.markForCheck(),this.classes.forEach(f=>{a?this.renderer.addClass(this.element.nativeElement,f):this.renderer.removeClass(this.element.nativeElement,f)}),a&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(a))})}isLinkActive(a){const f=function Vs(l){return!!l.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return v=>!!v.urlTree&&a.isActive(v.urlTree,f)}hasActiveLinks(){const a=this.isLinkActive(this.router);return this.link&&a(this.link)||this.linkWithHref&&a(this.linkWithHref)||this.links.some(a)||this.linksWithHrefs.some(a)}}return l.\u0275fac=function(a){return new(a||l)(d.Y36(ln),d.Y36(d.SBq),d.Y36(d.Qsj),d.Y36(d.sBO),d.Y36(io,8),d.Y36(Xi,8))},l.\u0275dir=d.lG2({type:l,selectors:[["","routerLinkActive",""]],contentQueries:function(a,f,v){if(1&a&&(d.Suo(v,io,5),d.Suo(v,Xi,5)),2&a){let b;d.iGM(b=d.CRH())&&(f.links=b),d.iGM(b=d.CRH())&&(f.linksWithHrefs=b)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[d.TTD]}),l})();class Sa{}let Qo=(()=>{class l{constructor(a,f,v,b,P){this.router=a,this.injector=v,this.preloadingStrategy=b,this.loader=P}setUpPreloading(){this.subscription=this.router.events.pipe((0,yt.h)(a=>a instanceof Bt),(0,Mt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,f){const v=[];for(const b of f){b.providers&&!b._injector&&(b._injector=(0,d.MMx)(b.providers,a,`Route: ${b.path}`));const P=b._injector??a,N=b._loadedInjector??P;b.loadChildren&&!b._loadedRoutes&&void 0===b.canLoad||b.loadComponent&&!b._loadedComponent?v.push(this.preloadConfig(P,b)):(b.children||b._loadedRoutes)&&v.push(this.processRoutes(N,b.children??b._loadedRoutes))}return(0,D.D)(v).pipe((0,ke.J)())}preloadConfig(a,f){return this.preloadingStrategy.preload(f,()=>{let v;v=f.loadChildren&&void 0===f.canLoad?this.loader.loadChildren(a,f):(0,z.of)(null);const b=v.pipe((0,Ot.z)(P=>null===P?(0,z.of)(void 0):(f._loadedRoutes=P.routes,f._loadedInjector=P.injector,this.processRoutes(P.injector??a,P.routes))));if(f.loadComponent&&!f._loadedComponent){const P=this.loader.loadComponent(f);return(0,D.D)([b,P]).pipe((0,ke.J)())}return b})}}return l.\u0275fac=function(a){return new(a||l)(d.LFG(ln),d.LFG(d.Sil),d.LFG(d.lqb),d.LFG(Sa),d.LFG(Ko))},l.\u0275prov=d.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();const so=new d.OlP("");let Io=(()=>{class l{constructor(a,f,v={}){this.router=a,this.viewportScroller=f,this.options=v,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},v.scrollPositionRestoration=v.scrollPositionRestoration||"disabled",v.anchorScrolling=v.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(a=>{a instanceof bn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Bt&&(this.lastId=a.id,this.scheduleScrollEvent(a,this.router.parseUrl(a.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(a=>{a instanceof ko&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,f){this.router.triggerEvent(new ko(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,f))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return l.\u0275fac=function(a){d.$Z()},l.\u0275prov=d.Yz7({token:l,factory:l.\u0275fac}),l})();function Si(l,u){return{\u0275kind:l,\u0275providers:u}}function Us(l){return[{provide:bi,multi:!0,useValue:l}]}function Tl(){const l=(0,d.f3M)(d.zs3);return u=>{const a=l.get(d.z2F);if(u!==a.components[0])return;const f=l.get(ln),v=l.get(xl);1===l.get(xa)&&f.initialNavigation(),l.get(Ol,null,d.XFs.Optional)?.setUpPreloading(),l.get(so,null,d.XFs.Optional)?.init(),f.resetRootComponentType(a.componentTypes[0]),v.closed||(v.next(),v.unsubscribe())}}const xl=new d.OlP("",{factory:()=>new se.x}),xa=new d.OlP("",{providedIn:"root",factory:()=>1});const Ol=new d.OlP("");function Ai(l){return Si(0,[{provide:Ol,useExisting:Qo},{provide:Sa,useExisting:l}])}const es=new d.OlP("ROUTER_FORROOT_GUARD"),Ti=[ue.Ye,{provide:vn,useClass:gr},{provide:ln,useFactory:Jo},yr,{provide:Hn,useFactory:function So(l){return l.routerState.root},deps:[ln]},Ko];function Qc(){return new d.PXZ("Router",ln)}let Pl=(()=>{class l{constructor(a){}static forRoot(a,f){return{ngModule:l,providers:[Ti,[],Us(a),{provide:es,useFactory:ts,deps:[[ln,new d.FiY,new d.tp0]]},{provide:oo,useValue:f||{}},f?.useHash?{provide:ue.S$,useClass:ue.Do}:{provide:ue.S$,useClass:ue.b0},{provide:so,useFactory:()=>{const l=(0,d.f3M)(ln),u=(0,d.f3M)(ue.EM),a=(0,d.f3M)(oo);return a.scrollOffset&&u.setOffset(a.scrollOffset),new Io(l,u,a)}},f?.preloadingStrategy?Ai(f.preloadingStrategy).\u0275providers:[],{provide:d.PXZ,multi:!0,useFactory:Qc},f?.initialNavigation?xi(f):[],[{provide:Hs,useFactory:Tl},{provide:d.tb,multi:!0,useExisting:Hs}]]}}static forChild(a){return{ngModule:l,providers:[Us(a)]}}}return l.\u0275fac=function(a){return new(a||l)(d.LFG(es,8))},l.\u0275mod=d.oAB({type:l}),l.\u0275inj=d.cJS({imports:[Ht]}),l})();function ts(l){return"guarded"}function xi(l){return["disabled"===l.initialNavigation?Si(3,[{provide:d.ip1,multi:!0,useFactory:()=>{const u=(0,d.f3M)(ln);return()=>{u.setUpLocationChangeListener()}}},{provide:xa,useValue:2}]).\u0275providers:[],"enabledBlocking"===l.initialNavigation?Si(2,[{provide:xa,useValue:0},{provide:d.ip1,multi:!0,deps:[d.zs3],useFactory:u=>{const a=u.get(ue.V_,Promise.resolve());let f=!1;return()=>a.then(()=>new Promise(b=>{const P=u.get(ln),N=u.get(xl);(function v(b){u.get(ln).events.pipe((0,yt.h)(N=>N instanceof Bt||N instanceof er||N instanceof Rr),(0,Ce.U)(N=>N instanceof Bt||N instanceof er&&(0===N.code||1===N.code)&&null),(0,yt.h)(N=>null!==N),(0,Rt.q)(1)).subscribe(()=>{b()})})(()=>{b(!0),f=!0}),P.afterPreactivation=()=>(b(!0),f||N.closed?(0,z.of)(void 0):N),P.initialNavigation()}))}}]).\u0275providers:[]]}const Hs=new d.OlP("")}},We=>{We(We.s=9752)}]);