(self.webpackChunkangular_website=self.webpackChunkangular_website||[]).push([[792],{4954:(Ve,ue,E)=>{"use strict";E.d(ue,{c:()=>I});var c=E(4205);class I{constructor(){this._onClose=new c.B,this.onClose=this._onClose.asObservable(),this._onDestroy=new c.B,this.onDestroy=this._onDestroy.asObservable()}close(j){this._onClose.next(j),setTimeout(()=>{this._onClose.complete()},1e3)}destroy(){this._onDestroy.next(null)}}},9761:(Ve,ue,E)=>{"use strict";E.d(ue,{o:()=>k});var c=E(316),I=E(2761);class ${constructor(){this.position="center"}}class j{constructor(Ae,ge){this._parentInjector=Ae,this._additionalTokens=ge}get(Ae,ge,Me){return this._additionalTokens.get(Ae)||this._parentInjector.get(Ae,ge)}}var K=E(4954),z=E(7172);let re=(()=>{class le{constructor(ge){this.viewContainerRef=ge}static{this.\u0275fac=function(Me){return new(Me||le)(I.rXU(I.c1b))}}static{this.\u0275dir=I.FsC({type:le,selectors:[["","appDialogContent",""]]})}}return le})();const Z=["mask"];function X(le,Ae){}const U=le=>({transform:le}),ee=le=>({value:"visible",params:le});function te(le,Ae){if(1&le){const ge=I.RV6();I.j41(0,"div",3),I.bIt("@animation.start",function(ve){I.eBV(ge);const Se=I.XpG();return I.Njj(Se.onAnimationStart(ve))})("@animation.done",function(ve){I.eBV(ge);const Se=I.XpG();return I.Njj(Se.onAnimationEnd(ve))}),I.DNE(1,X,0,0,"ng-template",4),I.k0s()}if(2&le){const ge=I.XpG();I.Aen("right"===ge.config.position||"left"===ge.config.position?"height:100%;":"max-width:90vw;max-height:90vh;"),I.Y8G("ngStyle",ge.config.style)("ngClass",ge.config.styleClass)("@animation",I.eq3(8,ee,I.eq3(6,U,"right"===ge.config.position?"translate(100%, 0)":"left"===ge.config.position?"translate(-100%, 0)":"scale(0.7)"))),I.BMQ("aria-modal",!0)}}const ce=(0,z.lY)([(0,z.iF)({transform:"{{transform}}",opacity:0}),(0,z.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,z.iF)({transform:"none",opacity:1}))]),W=(0,z.lY)([(0,z.i0)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,z.iF)({transform:"{{transform}}",opacity:0}))]);let x=(()=>{class le{get style(){return this._style}set style(ge){ge&&(this._style={...ge})}constructor(ge,Me,ve,Se,xe,et,We){this.document=ge,this.platformId=Me,this.cd=ve,this.renderer=Se,this.config=xe,this.dialogRef=et,this.zone=We,this.visible=!0,this._style={},this.transformOptions="scale(0.7)",this._prevOverflow=""}ngAfterViewInit(){this.loadChildComponent(this.childComponentType),this.cd.detectChanges()}loadChildComponent(ge){const Me=this.insertionPoint?.viewContainerRef;Me?.clear(),this.componentRef=Me?.createComponent(ge);const ve=this.config.data;ve&&Object.keys(ve).forEach(Se=>{this.componentRef?.setInput(Se,ve[Se])})}onAnimationStart(ge){switch(ge.toState){case"visible":this.container=ge.element,this.wrapper=this.container.parentElement||void 0,this.bindGlobalListeners(),this.enableModality(),this.focus();break;case"void":this.wrapper&&this.wrapper.classList.add("p-component-overlay-leave")}}onAnimationEnd(ge){"void"===ge.toState&&(this.onContainerDestroy(),this.dialogRef.destroy())}onContainerDestroy(){this.unbindGlobalListeners(),this.disableModality(),this.container=void 0}close(){this.visible=!1,this.cd.markForCheck()}hide(){this.dialogRef&&this.dialogRef.close()}enableModality(){this.config.closeOnMaskClick&&(this.maskClickListener=this.renderer.listen(this.wrapper,"click",ge=>{this.wrapper&&this.wrapper.isSameNode(ge.target)&&this.hide()})),this._prevOverflow=this.document.body.style.overflow,this.document.body.style.overflow="hidden"}disableModality(){this.wrapper&&(this.unbindMaskClickListener(),this.document.body.style.overflow=this._prevOverflow,this.cd.destroyed||this.cd.detectChanges())}focus(){const ge=this.container?.querySelector("[autofocus]");ge&&this.zone.runOutsideAngular(()=>{setTimeout(()=>ge.focus(),5)})}resetPosition(){this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin=""}bindGlobalListeners(){this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentEscapeListener()}bindDocumentEscapeListener(){this.config.closeOnEscape&&(this.documentEscapeListener=this.renderer.listen(this.maskViewChild?this.maskViewChild.nativeElement.ownerDocument:"document","keydown",Me=>{27==Me.which&&this.hide()}))}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=void 0)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=void 0)}ngOnDestroy(){this.onContainerDestroy(),this.componentRef&&this.componentRef.destroy()}static{this.\u0275fac=function(Me){return new(Me||le)(I.rXU(c.qQ),I.rXU(I.Agw),I.rXU(I.gRc),I.rXU(I.sFG),I.rXU($),I.rXU(K.c),I.rXU(I.SKi))}}static{this.\u0275cmp=I.VBU({type:le,selectors:[["app-dialog"]],viewQuery:function(Me,ve){if(1&Me&&(I.GBs(re,5),I.GBs(Z,5)),2&Me){let Se;I.mGM(Se=I.lsd())&&(ve.insertionPoint=Se.first),I.mGM(Se=I.lsd())&&(ve.maskViewChild=Se.first)}},decls:3,vars:5,consts:[[2,"position","fixed","inset","0","z-index","1000","display","flex","background-color","rgba(0,0,0,.4)",3,"ngStyle","ngClass"],["mask",""],["style","overflow:auto;","role","dialog",3,"style","ngStyle","ngClass",4,"ngIf"],["role","dialog",2,"overflow","auto",3,"ngStyle","ngClass"],["appDialogContent",""]],template:function(Me,ve){1&Me&&(I.j41(0,"div",0,1),I.DNE(2,te,2,10,"div",2),I.k0s()),2&Me&&(I.Aen("right"===ve.config.position?"justify-content:right;":"left"===ve.config.position?"justify-content:left;":"align-items:center;justify-content:center;"),I.Y8G("ngStyle",ve.config.maskStyle)("ngClass",ve.config.maskStyleClass),I.R7$(2),I.Y8G("ngIf",ve.visible))},dependencies:[c.YU,c.bT,c.B3,re],encapsulation:2,data:{animation:[(0,z.hZ)("animation",[(0,z.kY)("void => visible",[(0,z.sM)(ce)]),(0,z.kY)("visible => void",[(0,z.sM)(W)])])]},changeDetection:0})}}return le})(),k=(()=>{class le{constructor(ge,Me,ve){this.appRef=ge,this.injector=Me,this.document=ve,this.dialogComponentRefMap=new Map}open(ge,Me){const ve=this.appendDialogComponentToBody(Me||{}),Se=this.dialogComponentRefMap.get(ve);return Se&&(Se.instance.childComponentType=ge),{dialogRef:ve,componentRef:()=>Se?.instance.componentRef}}appendDialogComponentToBody(ge){const Me=new WeakMap;Me.set($,ge);const ve=new K.c;Me.set(K.c,ve);const Se=ve.onClose.subscribe(()=>{const we=this.dialogComponentRefMap.get(ve);we&&we.instance.close()}),xe=ve.onDestroy.subscribe(()=>{this.removeDialogComponentFromBody(ve),xe.unsubscribe(),Se.unsubscribe()}),et=(0,I.a0P)(x,{environmentInjector:this.appRef.injector,elementInjector:new j(this.injector,Me)});return this.appRef.attachView(et.hostView),this.document.body.appendChild(et.hostView.rootNodes[0]),this.dialogComponentRefMap.set(ve,et),ve}removeDialogComponentFromBody(ge){if(!ge||!this.dialogComponentRefMap.has(ge))return;const Me=this.dialogComponentRefMap.get(ge);Me&&(this.appRef.detachView(Me.hostView),Me.destroy()),this.dialogComponentRefMap.delete(ge)}static{this.\u0275fac=function(Me){return new(Me||le)(I.KVO(I.o8S),I.KVO(I.zZn),I.KVO(c.qQ))}}static{this.\u0275prov=I.jDH({token:le,factory:le.\u0275fac})}}return le})()},839:(Ve,ue,E)=>{"use strict";E.d(ue,{i:()=>$,s:()=>j});var c=E(2761),I=E(852);const $=[{language:"en",basket:"basket",address:"address",user:"user",profile:"profile",login:"login",search:"search","forgot-password":"forgot-password",favorites:"favorites","embed-dashboard":"embed-dashboard",orders:"orders",create:"create",logout:"logout"},{language:"da",basket:"kurv",address:"address",user:"bruger",profile:"profil",login:"login",search:"soeg","forgot-password":"glemt-kodeord",favorites:"favorites","embed-dashboard":"embed-dashboard",orders:"orders",create:"opret",logout:"log-ud"},{language:"se",basket:"krog",address:"address",user:"anvandare",profile:"profil",login:"login",search:"sok","forgot-password":"glomt-losenord",favorites:"favorites","embed-dashboard":"embed-dashboard",orders:"orders",create:"scapa",logout:"logga-ut"}];let j=(()=>{class K{constructor(){this.translateService=(0,c.WQX)(I.c$)}transform(re){const Z=this.translateService.currentLang,X=$.find(U=>U.language===Z);if(!X)throw`System-link-config for language: ${Z} not found`;return"home"===re?`/${Z}`:"basket"===re?`/${Z}/${X.basket}`:"user"===re?`/${Z}/${X.user}`:"user-address"===re?`/${Z}/${X.user}/${X.address}`:"user-login"===re?`/${Z}/${X.user}/${X.login}`:"user-create"===re?`/${Z}/${X.user}/${X.create}`:"user-favorites"===re?`/${Z}/${X.user}/${X.favorites}`:"user-profile"===re?`/${Z}/${X.user}/${X.profile}`:"user-orders"===re?`/${Z}/${X.user}/${X.orders}`:"user-forgot-password"===re?`/${Z}/${X.user}/${X["forgot-password"]}`:"user-logout"===re?`/${Z}/${X.user}/${X.logout}`:"search"===re?`/${Z}/${X.search}`:"basket-address"===re?`/${Z}/${X.basket}/${X.address}`:"embed-dashboard"===re?`/${Z}/${X.user}/${X["embed-dashboard"]}`:(console.warn(`System-link-config for language: ${Z} and key: ${re} not found`),`/${Z}/${re}`)}static{this.\u0275fac=function(Z){return new(Z||K)}}static{this.\u0275pipe=c.EJ8({name:"toSystemLink",type:K,pure:!0,standalone:!0})}}return K})()},4076:(Ve,ue,E)=>{"use strict";E.d(ue,{S:()=>te});var c=E(677),I=E(2761),$=E(852),j=E(5797),K=E(271),z=E(8764),re=E(9452),Z=E(2435),X=E(6647),U=E(5939),ee=E(7519);let te=(()=>{class ce{constructor(){this.http=(0,I.WQX)(c.Qq),this.translateService=(0,I.WQX)($.c$),this.webshopService=(0,I.WQX)(U.O),this.orderService=(0,I.WQX)(ee.B),this.loading$=new j.t(!1),this.basketLoaded$=new j.t(!1),this.basket$=new j.t(void 0)}addProductToBasket(x,k,le,Ae,ge=!1){return this.http.post(`@api/cms/ord/orderAddProduct/${x}`,{quantity:k,length:le||void 0,breadth:Ae||void 0,sample:ge}).pipe((0,K.T)(Me=>({id:`${Me.order_line_id}`,product:{title:Me.product?.title||`${Me.order_line_id}`}})),(0,z.M)(()=>{this.loadBasket().subscribe()}))}removeProductFromBasket(x){const k=this.basket$.getValue();if(k){const le=[...k.items],Ae=le.findIndex(ge=>ge.id===x);return Ae>-1&&(le.splice(Ae,1),this.basket$.next({...k,items:le})),this.http.delete(`@api/cms/ord/orderline/${x}`).pipe((0,z.M)(()=>{this.loadBasket().subscribe()}),(0,K.T)(()=>{}))}return(0,re.of)()}emptyBasketItems(){const x=this.basket$.getValue();return x?(this.basket$.next({...x,items:[]}),this.http.get("@api/cms/ord/basketEmpty").pipe((0,z.M)(()=>{this.loadBasket().subscribe()}),(0,K.T)(()=>{}))):(0,re.of)()}updateLine(x,k){return this.basket$.pipe((0,Z.$)(),(0,X.n)(le=>{if(!le)throw"Basket unavailable";return this.http.put(`@api/cms/ord/orderline/${x}`,{order_id:le.id,quantity:k})}),(0,z.M)(()=>{this.loadBasket().subscribe()}))}updateBasket(x){return this.http.post("@api/cms/ord/updateOrder",x).pipe((0,z.M)(()=>{this.loadBasket().subscribe()}))}updateBasketDeliveryAddress(x){return this.http.post("@api/cms/ord/upsertBasketDeliveryAddress",x).pipe((0,K.T)(k=>{}))}loadBasket(){this.loading$.next(!0);const x=this.basket$.getValue();return this.http.get("@api/cms/ord/basket").pipe((0,K.T)(k=>({id:`${k.order_id}`,totalProductGross:k.total_net_amount+k.total_discount_amount,totalProductNet:k.total_net_amount,totalDiscount:k.total_discount_amount,totalFreight:k.total_freight_amount,totalVATBasis:k.total_vat_basis,totalVAT:k.total_vat,totalTax:k.total_tax||0,totalPayableAmount:k.total_total_order,deliverAtWarehouse:!!k.properties?.deliverAtWarehouse,deliverAtMyCompanyAddress:!!k.properties?.deliverAtMyCompanyAddress,requestForOffer:!!k.properties?.offer,deliveryAddress:k.delivery_address_name||k.delivery_address_1||k.delivery_address_2||k.delivery_zipcode||k.delivery_city?{name:k.delivery_address_name,address1:k.delivery_address_1,address2:k.delivery_address_2,postalCode:k.delivery_zipcode,city:k.delivery_city}:void 0,billingAddress:k.billing_address_name||k.billing_address_1||k.billing_zipcode||k.billing_city?{name:k.billing_address_name,address1:k.billing_address_1,address2:k.billing_address_2,postalCode:k.billing_zipcode,city:k.billing_city}:void 0,additionalInformation:k.properties?.additionalInformation,items:x?.items||[]})),(0,z.M)(k=>{this.basket$.next(k)}),(0,X.n)(k=>this.orderService.getOrderLines(k.id).pipe((0,K.T)(le=>({...k,items:le})))),(0,z.M)(k=>{this.basket$.next(k)}),(0,z.M)(()=>{this.basketLoaded$.next(!0),this.loading$.next(!1)}))}loadBasketIfNotLoaded(){!this.loading$.getValue()&&!this.basketLoaded$.getValue()&&this.loadBasket().subscribe()}finalizeBasket(){return this.http.post("@api/cms/ord/completeOrder",{}).pipe((0,z.M)(()=>{this.loadBasket().subscribe()}))}static{this.\u0275fac=function(k){return new(k||ce)}}static{this.\u0275prov=I.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}}return ce})()},9505:(Ve,ue,E)=>{"use strict";E.d(ue,{k:()=>Z});var c=E(677),I=E(2761),$=E(271),j=E(6647),K=E(9452),z=E(8764);const re="favorite_list";let Z=(()=>{class X{constructor(){this.http=(0,I.WQX)(c.Qq),this.favListItems=(0,I.vPA)(void 0)}getFavListId(){return this.http.post("@api/cms/lst/listLists",{search:"",listtype:"favorite_list",pageno:1,limit:1}).pipe((0,$.T)(ee=>ee[0]?.list_id))}getFavListENUMId(){return this.http.post("@api/cms/lst/listListTypes",{search:"",type:"list or line"}).pipe((0,$.T)(ee=>{const te=ee.find(ce=>ce.listtype===re);if(!te)throw`Could not find the ENUM ID for list type: ${re}`;return te.id}))}createFavList(){return this.getFavListENUMId().pipe((0,j.n)(ee=>this.http.post("@api/cms/lst/upsertList/0",{description:"Favorite list",collection_id:ee}).pipe((0,$.T)(te=>te.list_id))))}getOrCreateFavListId(){return this.getFavListId().pipe((0,j.n)(ee=>ee?(0,K.of)(ee):this.createFavList()))}addProductToFavList(ee){return this.getOrCreateFavListId().pipe((0,j.n)(te=>this.http.post(`@api/cms/lst/addRowToList/${te}`,{productIds:[ee]})),(0,z.M)(te=>{this.favListItems.set([...this.favListItems()||[],{lineId:`${te[0].list_line_id}`,product:{id:`${te[0].product.id}`,seourl:te[0].product.seourl}}])}))}removeLineFromFavList(ee){return this.http.post("@api/cms/lst/removeListLine",{lineIds:[ee]}).pipe((0,z.M)(()=>{this.favListItems.set(this.favListItems()?.filter(te=>te.lineId!==ee))}))}getProductsFromFavList(){return this.getOrCreateFavListId().pipe((0,j.n)(ee=>this.http.post(`@api/cms/lst/getList/${ee}`,{}).pipe((0,$.T)(te=>(te.lines||[]).map(ce=>({lineId:`${ce.list_line_id}`,product:{id:`${ce.product.id}`,seourl:ce.product.seourl}}))))),(0,z.M)(ee=>{this.favListItems.set(ee)}))}static{this.\u0275fac=function(te){return new(te||X)}}static{this.\u0275prov=I.jDH({token:X,factory:X.\u0275fac,providedIn:"root"})}}return X})()},5939:(Ve,ue,E)=>{"use strict";E.d(ue,{O:()=>U});var c=E(677),I=E(2761),$=E(852),j=E(9452),K=E(1318),z=E(271),re=E(6647),Z=E(5312),X=E(4621);let U=(()=>{class ee{constructor(){this.http=(0,I.WQX)(c.Qq),this.translateService=(0,I.WQX)($.c$),this.contentCache={home:{type:"page",seourl:"home",content:{title:"Eriksen Randers A/S | F\xf8rende gulvgrossist med et stort & bredt sortiment",metaDescription:"Velkommen til Eriksen Randers A/S - din f\xf8rende gulvgrossist i Danmark! Udforsk vores udvalg af kvalitetsvare & find svar p\xe5 levering, afhentning & kundeinformation.",contentType:"stack",items:[{contentType:"carousel",theme:"banner",items:[{header:"Nyhed hos Eriksen Randers",description:"Vi forhandler nu Lino Click fliser.",backgroundImage:"/assets/images/cover-banner/Lino-Click.png",link:{label:"Se vores sortiment her",url:"/lico-lino-click"}},{header:"Nyhed hos Eriksen Randers",description:"Vi forhandler nu WOCA produkter.",backgroundImage:"/assets/images/cover-banner/Woca-products-v2.png",link:{label:"Se vores sortiment her",url:"/woca"}},{header:"Nyhed hos Eriksen Randers",description:"Nu kan du lease din n\xe6ste FG FLOORTEC maskine hos Eriksen Randers, ganske enkelt.",backgroundImage:"/assets/images/cover-banner/Leasing-fg.png",link:{label:"Se leasing her",url:"/leasing"}},{header:"Nyhed hos Eriksen Randers",description:"Nu kan du lease din n\xe6ste Wolf maskine hos Eriksen Randers, ganske enkelt.",backgroundImage:"/assets/images/cover-banner/Leasing-wolff.png",link:{label:"Se leasing her",url:"/leasing"}}]},{contentType:"carousel",theme:"logo-slider"},{contentType:"widget",data:{type:"popular-products",useMaxWidth:!0}},{contentType:"widget",data:{type:"login-banner"}},{contentType:"widget",data:{type:"popular-categories",useMaxWidth:!0}},{contentType:"old-price-sheet"},{contentType:"widget",data:{type:"faq",useMaxWidth:!0,category:"dfsd"}}]}},baeredygtighed:{type:"page",seourl:"home",content:{title:"B\xe6redygtighed",metaDescription:"B\xe6redygtighed",contentType:"stack",items:[{contentType:"banner2",header:"B\xe6redygtighed",description:"B\xe6redygtighed",backgroundImage:"/assets/images/single-banner.png"},{contentType:"markdown",useMaxWidth:!0,content:"## B\xe6redygtighed"},{contentType:"widget",data:{type:"login-banner"}}]}},"kunde-konto":{type:"page",seourl:"kunde-konto",content:{title:"Kunde konto - Erisken Randers | Eksklusive fordele & service",metaDescription:"Opret en kunde konto hos Eriksen Randers og oplev fordelene ved et t\xe6t samarbejde. F\xe5 adgang til eksklusive rabatter, personlig service, enkel online bestilling, og meget mere. Log ind eller anmod om en konto i dag.",contentType:"stack",items:[{contentType:"banner2",header:"Kunde konto",description:"En del af Eriksen",backgroundImage:"/assets/images/single-banner.png"},{contentType:"markdown",useMaxWidth:!0,content:"## Eriksen kunde konto - Et godt samarbejde!\nVelkommen til Eriksen Randers - hvor en kunde konto ikke blot er en konto, men n\xf8glen til et t\xe6t samarbejde. Din personlige kundekonto er mere end blot en m\xe5de at afgive ordrer; det er porten til en verden af eksklusive fordele og f\xf8rsteklasses service. Vi str\xe6ber efter at g\xf8re din oplevelse hos Eriksen unik og skr\xe6ddersyet til dine behov. Fra s\xe6rlige tilbud til personlige anbefalinger er din kundekonto gatewayen til det bedste, vi har at tilbyde. Oplev forskellen ved at v\xe6re en del af Eriksen-familien.\n\n## Fordele ved en Eriksen kunde konto\n\nMed din Eriksen Kunde konto bliver hver bestilling mere end bare en transaktion, det bliver starten p\xe5 et personligt samarbejde hvor du er i fokus. Gennem bl.a. online bestillig, adgang til tidligere k\xf8b, og en personlig salgskonsulent str\xe6ber vi efter at tilbyde mere end blot produkter, vi bestr\xe6ber os p\xe5 at udf\xf8re den bedste service og finde de vare der passer til din opgave.\n\n* Optjen eksklusive rabatter ved at handle regelm\xe6ssigt. Jo mere du k\xf8ber, desto bedre bliver din rabat.\n* Enkel online bestilling af dine ordrer, for en problemfri shoppingoplevelse.\n* Oversigt over dine tidligere ordrer, s\xe5 du nemt kan spore din k\xf8bshistorik.\n* Identifikation af din dedikerede salgskonsulent for en personlig og skr\xe6ddersyet service.\n* Eksklusiv adgang til s\xe6rlige tilbud og kampagner, der kun er tilg\xe6ngelige for vores kundekonto-medlemmer.\n* Praktisk mulighed for at gemme dine yndlingsprodukter til hurtig og nem adgang i fremtiden."},{contentType:"widget",data:{type:"login-banner"}}]}},"om-eriksen":{type:"page",seourl:"home",content:{title:"Om Eriksen",metaDescription:"Om Eriksen",contentType:"stack",items:[{contentType:"banner2",header:"Om Eriksen",description:"Vi lagerf\xf8re markedets mest efterspurgte linoleum-design fra Forbo og DLW, der er de f\xf8rende producenter af linoleum i verden.",backgroundImage:"/assets/images/single-banner.png"},{contentType:"markdown",useMaxWidth:!0,content:"## Om Eriksen"},{contentType:"widget",data:{type:"login-banner"}}]}},kontakt:{type:"page",seourl:"home",content:{title:"Kontakt Eriksen Randers | Adresse, \xc5bningstider & Ansatte",metaDescription:"Kontakt Eriksen Randers for sp\xf8rgsm\xe5l og support. Find vores adresse, \xe5bningstider, og m\xf8d vores team. Udfyld vores kontaktformular eller se medarbejdernes kontaktinformationer.",contentType:"stack",items:[{contentType:"banner2",header:"Kontakt os i dag",description:"Vi er altid klar til at hj\xe6lpe",backgroundImage:"/assets/images/image 277.png"},{contentType:"widget",data:{type:"contact-form"}}]}},kariere:{type:"page",seourl:"home",content:{title:"Karriere i Eriksen",contentType:"stack",items:[{contentType:"banner2",header:"Karriere i Eriksen",description:"Bliv en del af Eriksen familien",backgroundImage:"/assets/images/single-banner.png"},{contentType:"markdown",useMaxWidth:!0,content:"Velkommen til Eriksen Randers, hvor vi tror p\xe5 at skabe en arbejdsplads, der dyrker v\xe6kst, teamwork og passion for det, vi g\xf8r. Hos os er medarbejderne hj\xf8rnestenen i vores succes. Vi tilbyder et inspirerende arbejdsmilj\xf8 og et dedikeret team, der arbejder sammen mod f\xe6lles m\xe5l. Hos Eriksen Randers handler det ikke bare om job, det handler om at v\xe6re en del af en st\xe6rk og engageret virksomhedskultur."},{contentType:"duel-panel",direction:"left",header:"Ledige stillinger",paragraph:"Hos Eriksen vil du hurtigt opleve at, arbejdsgl\xe6de, viden, nysg\xe6righed og ansvarlighed er n\xf8gleord vi g\xe5r meget op i.\n\nSe vores ledige stillinger her, og hvis ikke der er din dr\xf8mme stilling, s\xe5 t\xf8v ikke med at sende os en uopfordret ans\xf8gning.",link:{url:"/",label:"S\xf8g ledige stillinger"},image:{link:"/assets/images/single-banner.png",alt:"Alt"}},{contentType:"duel-panel",direction:"right",header:"Ledige stillinger",paragraph:"Hos Eriksen vil du hurtigt opleve at, arbejdsgl\xe6de, viden, nysg\xe6righed og ansvarlighed er n\xf8gleord vi g\xe5r meget op i.\n\nSe vores ledige stillinger her, og hvis ikke der er din dr\xf8mme stilling, s\xe5 t\xf8v ikke med at sende os en uopfordret ans\xf8gning.",link:{url:"/",label:"S\xf8g ledige stillinger"},image:{link:"/assets/images/single-banner.png",alt:"Alt"}},{contentType:"duel-panel",direction:"left",header:"Ledige stillinger",paragraph:"Hos Eriksen vil du hurtigt opleve at, arbejdsgl\xe6de, viden, nysg\xe6righed og ansvarlighed er n\xf8gleord vi g\xe5r meget op i.\n\nSe vores ledige stillinger her, og hvis ikke der er din dr\xf8mme stilling, s\xe5 t\xf8v ikke med at sende os en uopfordret ans\xf8gning.",link:{url:"/",label:"S\xf8g ledige stillinger"},image:{link:"/assets/images/single-banner.png",alt:"Alt"}},{contentType:"duel-panel",direction:"right",header:"Ledige stillinger",paragraph:"Hos Eriksen vil du hurtigt opleve at, arbejdsgl\xe6de, viden, nysg\xe6righed og ansvarlighed er n\xf8gleord vi g\xe5r meget op i.\n\nSe vores ledige stillinger her, og hvis ikke der er din dr\xf8mme stilling, s\xe5 t\xf8v ikke med at sende os en uopfordret ans\xf8gning.",link:{url:"/",label:"S\xf8g ledige stillinger"},image:{link:"/assets/images/single-banner.png",alt:"Alt"}}]}},404:{type:"page",seourl:"home",content:{title:"Siden blev ikke fundet",contentType:"stack",items:[{contentType:"banner2",header:"Siden blev ikke fundet",description:"Vi kan ikke finde den side du leder efter.",backgroundImage:"/assets/images/single-banner.png"}]}}}}getContent(ce,W,x){return!x&&this.contentCache[ce]?(0,j.of)(this.contentCache[ce]):this.http.get(`@api/cms/prd/getContentBySeoUrl/${ce}`,{params:(new c.Nl).appendAll(W||{})}).pipe((0,K.W)(()=>(console.error(`Requested key resulted in error: ${ce}`),(0,j.of)(void 0))),(0,z.T)(k=>{if(k)return"object"!=typeof k||Object.keys(k).length?k:void 0;console.error(`Requested key not found: ${ce}`)}))}_getContentMetaByKey(ce){return(0,j.of)(void 0).pipe((0,re.n)(()=>this.contentCache[ce]?(0,j.of)(this.contentCache[ce]):this.http.get(`@api/cms/prd/getContentMetaBySeoUrl/${ce}`).pipe((0,K.W)(()=>(console.error(`Requested key resulted in error: ${ce}`),(0,j.of)(void 0))),(0,z.T)(W=>{if(W)return"object"!=typeof W||Object.keys(W).length?W:void 0;console.error(`Requested key not found: ${ce}`)}))))}getContentMetaByKey(ce){return this._getContentMetaByKey(ce).pipe((0,z.T)(W=>W?"catalog"===W.type?{type:W.type,seourl:W.seourl,title:W.content.title,metaTitle:W.content.metaTitle,metaDescription:W.content.metaDescription,assets:W.content.imageUrl?[{type:"image",alt:W.content.title,link:W.content.imageUrl}]:[]}:"product"===W.type?{type:W.type,seourl:W.seourl,title:W.content.title,metaTitle:W.content.metaTitle,metaDescription:W.content.metaDescription,assets:W.content.images.map(x=>({type:"image",alt:x.title,link:x.url}))}:"page"===W.type?"stack"!==W.content.contentType?void console.error(`Invalid page type ${W.content.contentType}`):{type:W.type,seourl:W.seourl,title:W.content.title,metaTitle:W.content.metaTitle,metaDescription:W.content.metaDescription,assets:[]}:void console.error("Unknown type"):W))}getFilterByKey(ce){return this.http.get(`@api/cms/prd/listProductCatalogFiltersBySeoUrl/${ce}`).pipe((0,z.T)(W=>[...W].sort((x,k)=>x.sequence-k.sequence).map(x=>({key:x.property,label:x.label,values:x.values.map(k=>({value:k.value,label:k.label,productsCount:k.number}))}))))}getContentByKey(ce,W){return this.getContent(ce,W,!!W).pipe((0,z.T)(x=>x?"catalog"===x.type?{type:x.type,id:"",title:x.content.title,description:x.content.description,description1:x.content.description1,description2:x.content.description2,seourl:x.seourl,url:(0,X.L)(x.seourl,this.translateService.currentLang,this.translateService.getLangs()),assets:x.content.imageUrl?[{type:"image",alt:x.content.title,link:x.content.imageUrl}]:[],hasFilter:!!x.content.filter,breadcrumbs:(x.content.breadcrumb||[]).map(k=>({title:k.title,url:(0,X.L)(k.seourl,this.translateService.currentLang,this.translateService.getLangs())})),items:x.content.items.map(k=>"productNumber"in k&&k.productNumber?{type:"product",id:`${k.product_id}`,title:k.label,subTitle:k.subLabel,description:k.description,seourl:k.seourl,url:(0,X.L)(k.seourl,this.translateService.currentLang,this.translateService.getLangs()),assets:k.imageUrl?[{type:"image",alt:k.label,link:k.imageUrl}]:[],minimumOrderQuantityText:k.minimumOrderQuantityText,productNumber:k.productNumber,inventoryStatus:k.inventory.inventoryStatus,price:k.customerPrice?.salesPrice||0,pricePerUnitOfMeasurement:k.customerPrice?.unitYourPrice||0,listPrice:k.customerPrice?.listPrice||0}:{type:"catalog",title:k.label,seourl:k.seourl,description:k.description,url:(0,X.L)(k.seourl,this.translateService.currentLang,this.translateService.getLangs()),assets:k.imageUrl?[{type:"image",alt:k.label,link:k.imageUrl}]:[]}),totalRecords:x.totalRowCount}:"product"===x.type?{type:x.type,breadcrumbs:x.content.breadcrumb?.map(k=>({title:k.title,url:(0,X.L)(k.seourl,this.translateService.currentLang,this.translateService.getLangs())}))||[],id:`${x.content.product_id}`,title:x.content.title,subTitle:x.content.subTitle,description:x.content.description,seourl:x.seourl,url:(0,X.L)(x.seourl,this.translateService.currentLang,this.translateService.getLangs()),productNumber:x.content.productnumber,minimumOrderQuantityText:x.content.minimumOrderQuantityText,price:x.content.customerPrice?.salesPrice,pricePerUnitOfMeasurement:x.content.customerPrice?.unitYourPrice,listPrice:x.content.customerPrice?.listPrice,lineTax:x.content.customerPrice?.lineTax,unitTax:x.content.customerPrice?.unitTax,standardCustomerPrice:x.content.customerPrice?.standardCustomerPrice,inventoryStatus:x.content.inventory.inventoryStatus,unitOfMeasurement:x.content.uom,productType:x.content.productType,width:x.content.width,weight:x.content.weight,orderUnitOfMeasurement:x.content.productOrderType,documents:(x.content.documents||[]).map(k=>({title:k.title,url:`${Z.c.apiDomain}${k.url}`})),quantityDiscountTable:x.content.quantityDiscountTable,properties:x.content.specifications&&x.content.specifications.length?x.content.specifications:x.content.properties,assets:[...x.content?.images?.filter(k=>"image"===k.type).map(k=>({link:k.url,type:"image",alt:k.title}))||[],...x.content.youtube_links?x.content.youtube_links.trim().split(",").map(k=>({type:"youtube",link:k.trim()})):[]],inventoryDeliveryText:x.content.inventory.inventoryDeliveryText,quantityCalculator:!!x.content.allowCalculate}:"page"===x.type?{type:x.type,sections:(x.content.items||[]).filter(k=>"banner"===k.contentType||"widget"===k.contentType||"carousel"===k.contentType||"markdown"===k.contentType||"banner2"===k.contentType||"duel-panel"===k.contentType||"old-price-sheet"===k.contentType).map(k=>"banner"===k.contentType?{type:k.contentType,data:{header:k.header,description:k.description,useMaxWidth:k.useMaxWidth,backgroundImage:k.backgroundImage,link:k.link?{label:k.link.label,url:(0,X.L)(k.link.url,this.translateService.currentLang,this.translateService.getLangs())}:k.link}}:"banner2"===k.contentType?{type:k.contentType,data:{header:k.header,description:k.description,useMaxWidth:k.useMaxWidth,backgroundImage:k.backgroundImage}}:"duel-panel"===k.contentType?{type:k.contentType,data:{header:k.header,paragraph:k.paragraph,useMaxWidth:k.useMaxWidth,link:k.link,image:k.image,direction:k.direction}}:"markdown"===k.contentType?{type:k.contentType,data:{content:k.content,useMaxWidth:k.useMaxWidth}}:"old-price-sheet"===k.contentType?{type:k.contentType,data:{useMaxWidth:k.useMaxWidth}}:"carousel"===k.contentType&&"banner"===k.theme?{type:k.contentType,data:{useMaxWidth:k.useMaxWidth,theme:k.theme,items:k.items.map(le=>({...le,link:le.link?{label:le.link.label,url:(0,X.L)(le.link.url,this.translateService.currentLang,this.translateService.getLangs())}:le.link}))}}:"carousel"===k.contentType&&"logo-slider"===k.theme?{type:k.contentType,data:{useMaxWidth:k.useMaxWidth,theme:k.theme}}:"carousel"===k.contentType&&"usecases"===k.theme?{type:k.contentType,data:{useMaxWidth:k.useMaxWidth,theme:k.theme,title:k.title,description:k.description,items:k.items.map(le=>({...le,link:le.link?(0,X.L)(le.link,this.translateService.currentLang,this.translateService.getLangs()):le.link}))}}:{type:k.contentType,data:{...k.data,useMaxWidth:k.data.useMaxWidth}})}:void console.error("Unknown type"):x))}getPageByKey(ce){return this.getContentByKey(ce).pipe((0,z.T)(W=>{if(W){if("page"===W.type)return W;console.error(`Requested page with key: ${ce} is not a page but was of type: ${W.type}`)}else console.error(`Requested page with key: ${ce} doesn't exists`)}))}getCatalogByKey(ce,W){return this.getContentByKey(ce,W).pipe((0,z.T)(x=>{if(x){if("catalog"===x.type)return x;console.error(`Requested catalog with key: ${ce} is not a catalog but was of type: ${x.type}`)}else console.error(`Requested catalog with key: ${ce} doesn't exists`)}))}getCatalogByKeyWithoutItems(ce){return this._getContentMetaByKey(ce).pipe((0,z.T)(W=>{if("catalog"===W?.type)return{seourl:W.seourl,url:(0,X.L)(W.seourl,this.translateService.currentLang,this.translateService.getLangs()),title:W.content.title,description:W.content.description,assets:W.content.imageUrl?[{type:"image",alt:W.content.title,link:W.content.imageUrl}]:[]};console.error("Unknown type")}))}getCatalogByKeyIncludingFilter(ce,W){return this.getCatalogByKey(ce,W).pipe((0,re.n)(x=>x?x.hasFilter?this.getFilterByKey(ce).pipe((0,z.T)(k=>({...x,filters:k}))):(0,j.of)({...x,filters:[]}):(0,j.of)(void 0)))}getProductByKey(ce){return this.getContentByKey(ce).pipe((0,z.T)(W=>{if(W){if("product"===W.type)return W;console.error(`Requested product with key: ${ce} is not a product but was of type: ${W.type}`)}else console.error(`Requested product with key: ${ce} doesn't exists`)}))}searchProductByText(ce,W=1,x=100){return this.http.post("@api/cms/prd/listProducts",{limit:x,pageno:W,search:ce}).pipe((0,z.T)(k=>({label:k.label,breadcrumbs:(k.breadcrumb||[]).map(le=>({title:le.title,url:(0,X.L)(le.seourl,this.translateService.currentLang,this.translateService.getLangs())})),items:k.items.map(le=>({id:`${le.product_id}`,seourl:le.seourl,title:le.label,subTitle:le.subLabel,description:le.description,url:(0,X.L)(le.seourl,this.translateService.currentLang,this.translateService.getLangs()),assets:le.imageUrl?[{type:"image",alt:le.label,link:le.imageUrl}]:[],inventoryStatus:le.inventory.inventoryStatus,minimumOrderQuantityText:le.minimumOrderQuantityText,pricePerUnitOfMeasurement:le.customerPrice?.unitYourPrice||0,productNumber:le.productNumber,price:le.customerPrice?.salesPrice||0,listPrice:le.customerPrice?.listPrice||0})),totalRecords:k.totalRowCount})))}getRelatedProducts(ce){return this.http.get(`@api/cms/prd/listRelatedProductsBySeoUrl/${ce}`).pipe((0,z.T)(W=>W.map(x=>({id:`${x.product_id}`,seourl:x.seourl,title:x.title,subTitle:x.subTitle,url:(0,X.L)(x.seourl,this.translateService.currentLang,this.translateService.getLangs()),assets:x.images?.map(k=>({type:"image",alt:k.title,link:k.url})),inventoryStatus:x.inventory?.inventoryStatus,minimumOrderQuantityText:x.minimumOrderQuantityText,productNumber:x.productnumber,price:x.customerPrice?.salesPrice,pricePerUnitOfMeasurement:x.customerPrice?.unitYourPrice||0,listPrice:x.customerPrice?.listPrice||0}))))}static{this.\u0275fac=function(W){return new(W||ee)}}static{this.\u0275prov=I.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}}return ee})()},4621:(Ve,ue,E)=>{"use strict";E.d(ue,{$:()=>ee,L:()=>Z});var c=E(5841),I=E(271),$=E(8700),j=E(2761),K=E(677),z=E(852);const Z=(te,ce,W)=>{if(!te)return`/${ce}`;if((0,c.xF)(te))return te;const x=te.startsWith("/")?te:`/${te}`;return((te,ce)=>!!new RegExp(`^/(${ce.join("|")})$`).test(te)||new RegExp(`^/(${ce.join("|")})/`).test(te))(x,W)?x:`/${ce}${x}`},X=te=>"link"===te.fcid?{label:te.title,url:te.url}:"item"===te.fcid&&"page"in te?{label:te.title||te.page.header,url:te.page.seourl}:"item"===te.fcid&&"product"in te?{label:te.title||te.product.header,url:te.product.seourl}:"item"===te.fcid&&"catalog"in te?{label:te.title||te.catalog.header,url:te.catalog.seourl}:void 0,U=(te,ce,W)=>te.map(x=>{if("folder"===x.fcid){const le=(()=>{if("folder"===x.fcid&&x.items&&x.items.length&&x.items[0].title?.trim().toLowerCase()===x.title?.trim().toLowerCase()){const ge=x.items?.[0];if(!ge)return;const Me=X(ge);if(Me)return[Me.url,"new_window"in ge?ge.new_window:void 0]}})();return{title:x.title,url:le?Z(le[0],ce,W):void 0,target:le?.[1]?"blank":void 0,items:U(le?[...x.items||[]].splice(1):x.items||[],ce,W)}}const k=X(x);return{title:k?.label||"",url:Z(k?.url||"",ce,W),target:x.new_window?"blank":void 0}});let ee=(()=>{class te{constructor(W,x){this.http=W,this.translate=x}getMenuResponseById(W){return this.http.get(`@api/cms/cms/listMenus/${W}`)}getMenuById(W){return this.getMenuResponseById(W).pipe((0,I.T)(x=>U(x[0].items||[],this.translate.currentLang,this.translate.getLangs())),(0,$.t)(1))}static{this.\u0275fac=function(x){return new(x||te)(j.KVO(K.Qq),j.KVO(z.c$))}}static{this.\u0275prov=j.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}}return te})()},7519:(Ve,ue,E)=>{"use strict";E.d(ue,{B:()=>X});var c=E(677),I=E(2761),$=E(852),j=E(271),K=E(5312),re=(E(4076),E(4621));const Z=U=>({finalId:U.order_id?`${U.order_id}`:U.orderNumber,id:`${U.order_id}`,status:U.order_status,orderNumber:U.orderNumber,statusDescription:U.order_status_description,orderDate:U.order_date,totalProductGross:U.total_net_amount+U.total_discount_amount,totalProductNet:U.total_net_amount,totalDiscount:U.total_discount_amount,totalFreight:U.total_freight_amount,totalVATBasis:U.total_vat_basis,totalVAT:U.total_vat,totalTax:U.total_tax,totalPayableAmount:U.total_total_order,deliverAtWarehouse:!!U.properties?.deliverAtWarehouse,deliverAtMyCompanyAddress:!!U.properties?.deliverAtMyCompanyAddress,requestForOffer:!!U.properties?.offer,deliveryAddress:U.delivery_address_name||U.delivery_address_1||U.delivery_zipcode||U.delivery_city?{name:U.delivery_address_name,address1:U.delivery_address_1,address2:U.delivery_address_2,postalCode:U.delivery_zipcode,city:U.delivery_city}:void 0,billingAddress:U.billing_address_name||U.billing_address_1||U.billing_zipcode||U.billing_city?{name:U.billing_address_name,address1:U.billing_address_1,address2:U.billing_address_2,postalCode:U.billing_zipcode,city:U.billing_city}:void 0,additionalInformation:U.properties?.additionalInformation,items:[],downloadPath:U.download_path&&`${K.c.apiDomain}${U.download_path}`,invoiceNumber:U.invoice_number,invoiceDate:U.invoice_date});let X=(()=>{class U{constructor(){this.http=(0,I.WQX)(c.Qq),this.translateService=(0,I.WQX)($.c$)}getMyOrders(){return this.http.get("@api/cms/ord/ordersByCustomer").pipe((0,j.T)(te=>te.reduce((ce,W)=>({statuss:[...ce.statuss,{label:W.description,value:W.status_code}],orders:[...ce.orders,...W.items||[]]}),{statuss:[],orders:[]})),(0,j.T)(te=>({...te,orders:te.orders.map(Z)})))}getOrderLines(te){return this.http.get(`@api/cms/ord/order/${te}/lines`).pipe((0,j.T)(ce=>ce.map(W=>({id:`${W.order_line_id}`,quantity:W.quantity,price:W.customerPrice.linePrice,unitYourPrice:W.customerPrice.unitYourPrice,unitNormalPrice:W.customerPrice.unitNormalPrice,unitQuantity:W.unitQuantity,product:{id:`${W.product.product_id}`,seourl:W.product.seourl,url:(0,re.L)(W.product.seourl,this.translateService.currentLang,this.translateService.getLangs()),unitOfMeasurement:W.product.uom,title:W.product.title,subTitle:W.product.subLabel,inventoryStatus:W.inventory.inventoryStatus,productNumber:W.product.productNumber,price:W.customerPrice.salesPrice,pricePerUnitOfMeasurement:W.customerPrice?.unitYourPrice,listPrice:W.customerPrice.listPrice,minimumOrderQuantityText:W.minimumOrderQuantityText,orderUnitOfMeasurement:W.product.productOrderType,lineTax:W.customerPrice.lineTax||0,assets:[{type:"image",link:W.product.image,alt:W.product.title}]}}))))}static{this.\u0275fac=function(ce){return new(ce||U)}}static{this.\u0275prov=I.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}}return U})()},4824:(Ve,ue,E)=>{"use strict";E.d(ue,{C:()=>U});var c=E(677),I=E(2761),$=E(7148),j=E(6244),K=E(5797),z=E(1318),re=E(9452),Z=E(271),X=E(5312);let U=(()=>{class ee extends j.C{constructor(ce){ce.events.subscribe(W=>{W instanceof $.wF&&this.activeUrl.set(W.urlAfterRedirects)}),super(),this.route=ce,this.currency$=new K.t("DKK"),this.locale$=new K.t("da"),this.siteName$=new K.t(""),this.activeUrl=(0,I.vPA)(this.route.url),this.http=(0,I.WQX)(c.Qq),this.settings=(0,I.vPA)(void 0)}getPageKeyFromPageId(ce){return this.http.get(`@api/cms/pag/getPage/${ce}`).pipe((0,z.W)(W=>(0,re.of)(void 0)),(0,Z.T)(W=>{if(W)return W.seourl}))}fetchSettings(){return(0,re.of)(void 0).pipe((0,Z.T)(()=>{const ce={default_language:"da",available_languages:["da","en"],landingPageKey:"home",notFoundPageKey:"404",secondary_navigation_id:X.c.primaryNavigationId,primary_navigation_id:X.c.primaryNavigationId,contactPhone:"+45 8642 8511",contactEmail:"ordre@eriksen-randers.dk"};return this.settings.set(ce),ce}))}static{this.\u0275fac=function(W){return new(W||ee)(I.KVO($.Ix))}}static{this.\u0275prov=I.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}}return ee})()},5553:(Ve,ue,E)=>{"use strict";E.d(ue,{k:()=>re});var c=E(2761);const K=(0,E(8155).zk)();let re=(()=>{class Z{constructor(U){this.platformId=U,this.injectingScript=!1,this.injectingIframe=!1,this.assistantStatus=(0,c.vPA)("hidden"),this.suggestions=(0,c.vPA)([]),this.script=(()=>{const ee=K.document.createElement("script");return ee.src=`https://test-assistant.sitemule.com/client.js?bust=${Date.now()}`,ee})(),this.firstEffectProcessed=!1,this.eff=(0,c.QZP)(()=>{const ee=this.assistantStatus();this.firstEffectProcessed?localStorage.setItem("sitemule-ai-assistant-status",JSON.stringify({value:ee,expireAt:Date.now()+864e5})):this.firstEffectProcessed=!0})}get injecting(){return this.injectingScript||this.injectingIframe}injectScript(){return new Promise(U=>{if(typeof SitemuleAIClient<"u")U();else{if(this.injectingScript)throw"Double injection";this.injectingScript=!0,this.script.onload=()=>{this.injectingScript=!1,U()},K.document.head.append(this.script)}})}injectIframe(U){return new Promise(ee=>{if(this.injectingIframe)throw"Double injection";if(this.ai)return void ee();this.injectingIframe=!0;const te=new SitemuleAIClient({organization:"eriksen",targetElement:U});te.onReady(()=>{this.injectingIframe=!1,this.ai=te,ee()})})}addListeners(){this.onMaximize(()=>{this.assistantStatus.set("expanded-large")}),this.onMinimize(()=>{this.assistantStatus.set("expanded-small")}),this.onClose(()=>{this.assistantStatus.set("icon")}),this.onNewConversation(()=>{setTimeout(()=>{("product"===this.page?.type||"catalog"===this.page?.type)&&this.getQuestions().then(U=>{this.addSuggestedMessages(U)})},2e3)}),this.ai?.onSuggestions(U=>{this.suggestions.set(U)})}init(U){return this.injectScript().then(()=>this.injectIframe(U)).then(()=>{this.addListeners()}).then(()=>{const ee=(()=>{const te=(Z=>{const X=localStorage.getItem("sitemule-ai-assistant-status");if(X){let U;try{U=JSON.parse(X)}catch{}if(U&&U.expireAt>Date.now())return U.value}return X})();return"icon"===te||"expanded-small"===te||"expanded-large"===te?te:"icon"})();"icon"!==ee?"expanded-small"!==ee?"expanded-large"!==ee||this.expandLarge():this.expandSmall():this.showIcon()})}_onReady(U,ee=1){if(ee>=500)throw"Sitemule AI took too long time to be ready";this.ai&&!this.injectingIframe?U():K.setTimeout(()=>{this._onReady(U,ee+1)},100)}onReady(){return new Promise(U=>{this._onReady(()=>{U()})})}isReady(){return!!this.ai}onMaximize(U){return this.ai?.onMaximize(U)}onMinimize(U){return this.ai?.onMinimize(U)}onClose(U){return this.ai?.onClose(U)}onNewConversation(U){return this.ai?.onNewConversation(U)}onMessageLinkClick(U){return this.ai?.onMessageLinkClick(U)}showChatView(){const U=this.assistantStatus();("hidden"===U||"icon"===U)&&this.expandSmall()}hide(){return new Promise(U=>{this.assistantStatus.set("hidden"),U()})}showIcon(){return new Promise(U=>{this.assistantStatus.set("icon"),U()})}expandSmall(){const U="icon"===this.assistantStatus();if(!this.ai)throw"AI Not ready";return this.ai.minimize().then(()=>{U&&this.focusInput()})}expandLarge(){if(!this.ai)throw"AI Not ready";return this.ai.maximize()}focusInput(){if(!this.ai)throw"AI Not ready";return this.ai.focusInput()}sendMessage(U){if(!this.ai)throw"AI Not ready";return this.ai.addMessage(U)}addSuggestedMessages(U){if(!this.ai)throw"AI Not ready";return this.ai.addSuggestedMessages(U)}getMessagesCount(){if(!this.ai)throw"AI Not ready";return this.ai.getMessagesCount()}startNewConversation(){if(!this.ai)throw"AI Not ready";return this.ai.startNewConversation()}askChatGPT(U){if(!this.ai)throw"AI Not ready";return this.ai.askChatGPT(U)}getQuestions(){return this.askChatGPT(`Analyser indholdet fra denne webside ${location.toString()}, og giv mig fire relevante sp\xf8rgsm\xe5l baseret p\xe5 brugerens behov og interesser i denne kategori. Jeg \xf8nsker kun at se de sp\xf8rgsm\xe5l, der genereres, og intet andet.`).then(U=>U.split("\n").filter(ee=>ee.match(/^\d/)).map(ee=>ee.replace(/^\d+\.?\s?/,"")))}destroy(){return this.ai?this.ai.destroy().then(()=>{this.ai=void 0,this.hide()}):Promise.resolve()}setPage(U){!this.injecting&&!this.ai||(this.page=U,this.onReady().then(()=>{this.addSuggestedMessages([]),("product"===U?.type||"catalog"===U?.type)&&this.getMessagesCount().then(ee=>{ee||this.getQuestions().then(te=>{this.addSuggestedMessages(te)})})}))}static{this.\u0275fac=function(ee){return new(ee||Z)(c.KVO(c.Agw))}}static{this.\u0275prov=c.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})()},9824:(Ve,ue,E)=>{"use strict";E.d(ue,{D:()=>x});var c=E(316),I=E(2761),$=E(9452),j=E(7919),K=E(6647),z=E(271),re=E(8764),Z=E(1318),X=E(5312),U=E(8155),ee=E(4076),te=E(9505),ce=E(677),W=E(6162);let x=(()=>{class k{constructor(Ae,ge,Me){if(this.http=Ae,this.toastService=ge,this.platformId=Me,this.basketService=(0,I.WQX)(ee.S),this.favoriteProductsService=(0,I.WQX)(te.k),this.loggedInUser=(0,I.vPA)(void 0),this.isLoggedIn=(0,I.EWP)(()=>!!this.loggedInUser()),(0,c.UE)(this.platformId)&&typeof BroadcastChannel<"u"){const ve=new BroadcastChannel("eriksen-randers");ve.onmessage=Se=>{const xe=this.isLoggedIn();"login_status_change"===Se.data.type&&Se.data.isLoggedIn!==xe&&(console.log("User logged-in status changed."),ve.close(),(0,U.zk)().location.reload())},(0,I.QZP)(()=>{const Se=this.isLoggedIn();ve.postMessage({type:"login_status_change",isLoggedIn:Se})})}}load(){return this.http.get("@api/cms/usr/getCurrentClient").pipe((0,K.n)(Ae=>{const ge=Ae||{loggedIn:!1};return ge.loggedIn?(this.basketService.loadBasketIfNotLoaded(),this.favoriteProductsService.getProductsFromFavList().pipe((0,z.T)(()=>ge))):(0,$.of)(ge)}),(0,re.M)(Ae=>{if(Ae.loggedIn){const ge=Ae.customer.addresses?.map(Me=>({isPrimary:Me.primary_address,type:"billing"===Me.type.trim().toLowerCase()?"billing":"delivery",name:Me.name,address1:Me.address_1,address2:Me.address_2,city:Me.city,postalCode:Me.zipcode}));this.loggedInUser.set({id:`${Ae.user_id}`,name:Ae.user.name,email:Ae.user.email,language:Ae.user.language,loginId:Ae.user.profile_id,clientType:Ae.clientType&&"salesrep"===Ae.clientType.toLowerCase()?"salesrep":void 0,company:{erp_id:Ae.customer.erp_id,name:Ae.customer.name,cvr:Ae.customer.cvr,primaryAddress:ge?.find(Me=>Me.isPrimary&&"billing"===Me.type),addresses:ge,defaultDeliveryAddress:Ae.defaultDeliveryAddress},salesPerson:Ae.salesPerson?{...Ae.salesPerson,image:Ae.salesPerson.image?`${X.c.apiDomain}/${Ae.salesPerson.image}`:""}:void 0,stats:{salesAmountPeriod:Ae.stats?.sales_amount_period||0,salesAmountYTDtd:Ae.stats?.sales_amount_ytd||0},roles:(Ae.roles||[]).map(Me=>{const ve=Me.role?.ROLTYP||"",Se=Me.role?.ROLDSC;return ve||console.error(`Received role without type ${JSON.stringify(Me)}`),{key:ve,label:Se||ve}}).filter(Me=>!!Me)})}else this.loggedInUser.set(void 0)}),(0,Z.W)(Ae=>(this.loggedInUser.set(void 0),(0,j.$)(()=>Ae))))}create(Ae){return this.http.post("@api/cms/cmn/notifications",{...Ae,mailType:"requestAccount"})}requestForgotPassword(Ae){return this.http.post("@api/cms/user/forgotPassword",{username:Ae})}resetPassword(Ae,ge,Me){return(0,$.of)(void 0)}login(Ae,ge){return this.http.post("@api/cms/user/login",{clientid:Ae,password:ge}).pipe((0,Z.W)(Me=>{switch(Me.status){case 403:case 404:return this.toastService.push({title:"Login failed",autoHide:!0,type:"warning"}),(0,j.$)(()=>Me);default:return this.toastService.push({title:Me.message,autoHide:!0,type:"warning"}),(0,j.$)(()=>Me)}}),(0,K.n)(Me=>Me.success?this.load():(0,$.of)({loggedIn:!1})))}logout(){return this.http.post("@api/cms/user/logoff",{}).pipe((0,re.M)(()=>{this.loggedInUser.set(void 0)}))}changePassword(Ae,ge){const Me=this.loggedInUser()?.id;return this.http.post(`@api/mnu/usr/changePassword/${Me}`,{oldPassword:Ae,newPassword:ge})}setNewPassword(Ae,ge){return this.http.post("@api/mnu/usr/setNewPassword/"+Ae,{newPassword:ge})}forgotPassword(Ae){return this.http.post("@api/cms/user/forgotPassword",{username:Ae})}doesEmailExist(Ae){return this.http.post("@api/mnu/usr/validateUser",{profile_id:Ae,name:"Your name"}).pipe((0,z.T)(ge=>!ge.success))}static{this.\u0275fac=function(ge){return new(ge||k)(I.KVO(ce.Qq),I.KVO(W.fw),I.KVO(I.Agw))}}static{this.\u0275prov=I.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},5312:(Ve,ue,E)=>{"use strict";E.d(ue,{c:()=>c});const c={apiDomain:"https://api.eriksen-randers.dk",popularCategoriesMenuId:"370",popularProductsCategoryKey:"populaere-produkter",primaryNavigationId:"199"}},4508:(Ve,ue,E)=>{"use strict";E.d(ue,{C:()=>$,S:()=>I});var c=E(2761);const I=new c.nKC("REQUEST"),$=new c.nKC("RESPONSE")},2384:(Ve,ue,E)=>{"use strict";var c=E(2761),I=E(436),j=(E(5684),E(316)),K=E(7148),z=E(6162),re=E(8155);function Z(g,o){if(1&g){const l=c.RV6();c.j41(0,"div",1),c.bIt("click",function(){const b=c.eBV(l).$implicit,B=c.XpG();return c.Njj(B.itemClick.emit(b))}),c.EFF(1),c.k0s()}if(2&g){const l=o.$implicit;c.R7$(1),c.SpI(" ",l," ")}}let X=(()=>{class g{constructor(){this._texts=(0,c.vPA)([]),this.itemClick=new c.bkB,this.index=(0,c.vPA)(0),this.animating=(0,c.vPA)(!0),this.renderedTexts=(0,c.EWP)(()=>{const l=this._texts();return[...l,...l]}),this.eff=(0,c.QZP)(()=>{const l=this._texts();this.timeout&&this.clearTimeout(),l.length>1&&this.initiateTimer()})}set texts(l){this._texts.set(l)}ngOnDestroy(){this.clearTimeout()}initiateTimer(){this.timeout=window.setTimeout(()=>{const l=this._texts(),_=this.index()+1;this.index.set(_),_===l.length&&setTimeout(()=>{this.animating.set(!1),this.index.set(0),setTimeout(()=>{this.animating.set(!0)},300)},300),this.initiateTimer()},5e3)}clearTimeout(){clearTimeout(this.timeout),this.timeout=void 0}onMouseOver(){this.clearTimeout()}onMouseOut(){this.initiateTimer()}static{this.\u0275fac=function(m){return new(m||g)}}static{this.\u0275cmp=c.VBU({type:g,selectors:[["app-vertical-text-slider"]],hostBindings:function(m,_){1&m&&c.bIt("mouseover",function(){return _.onMouseOver()})("mouseout",function(){return _.onMouseOut()})},inputs:{texts:"texts"},outputs:{itemClick:"itemClick"},standalone:!0,features:[c.aNF],decls:2,vars:8,consts:[["class","item",3,"click",4,"ngFor","ngForOf"],[1,"item",3,"click"]],template:function(m,_){1&m&&(c.j41(0,"div"),c.DNE(1,Z,2,1,"div",0),c.k0s()),2&m&&(c.tcI("--index: ",_.index(),";--length: ",_.renderedTexts().length,""),c.ZvI("outer ",_.animating()?"animating":"",""),c.R7$(1),c.Y8G("ngForOf",_.renderedTexts()))},dependencies:[j.MD,j.Sq],styles:["[_nghost-%COMP%]{overflow:hidden;height:var(--height);padding:0 15px}.outer[_ngcontent-%COMP%]{transform:translateY(calc(var(--height) * (var(--length) - var(--index) - 1) * -1))}.outer.animating[_ngcontent-%COMP%]{transition:transform .3s linear}.item[_ngcontent-%COMP%]{height:var(--height);display:flex;align-items:center;justify-content:left;cursor:pointer}@media (max-width: 767px){.item[_ngcontent-%COMP%]{font-size:14px}}"],changeDetection:0})}}return g})();var U=E(5553),ee=E(9824);function te(g,o){if(1&g){const l=c.RV6();c.j41(0,"app-vertical-text-slider",8),c.bIt("itemClick",function(_){c.eBV(l);const b=c.XpG(3);return c.Njj(b.addSuggestion(_))}),c.k0s()}if(2&g){const l=c.XpG();c.Y8G("texts",l)}}function ce(g,o){1&g&&c.DNE(0,te,1,1,"app-vertical-text-slider",7),2&g&&c.vxM(0,o.length?0:-1)}function W(g,o){if(1&g){const l=c.RV6();c.j41(0,"div",3),c.DNE(1,ce,1,1),c.j41(2,"button",4),c.bIt("click",function(){c.eBV(l);const _=c.XpG();return c.Njj(_.expandSmall())}),c.qSk(),c.j41(3,"svg",5),c.nrm(4,"path",6),c.k0s()()()}if(2&g){const l=c.XpG();let m;c.R7$(1),c.vxM(1,(m=l.suggestions())?1:-1,m)}}const x=(0,re.zk)();let Ae=(()=>{class g{constructor(){this.platformId=(0,c.WQX)(c.Agw),this.sitemuleAIService=(0,c.WQX)(U.k),this.userService=(0,c.WQX)(ee.D),this.router=(0,c.WQX)(K.Ix),this.el=(0,c.WQX)(c.aKT),this.isBrowser=(0,j.UE)(this.platformId),this.assistantStatus=this.sitemuleAIService.assistantStatus,this.suggestions=this.sitemuleAIService.suggestions,this.assistantIconExpanded=(0,c.vPA)(!0),this.width=(0,c.EWP)(()=>{const l=this.suggestions();return 8*Math.max(...l.map(m=>m.length))+"px"}),this.eff1=(0,c.QZP)(()=>{const l=this.assistantStatus();if(!this.isBrowser)return;const _=Array.from(x.document.body.classList).find(b=>b.startsWith("assistant-status-"));_&&x.document.body.classList.remove(_),x.document.body.classList.add(`assistant-status-${l}`),setTimeout(()=>{x.dispatchEvent(new Event("resize"))},250)}),this.eff2=(0,c.QZP)(()=>{const l=this.userService.loggedInUser();this.isBrowser&&this.sitemuleAIService.destroy().then(()=>{l&&l.roles.find(m=>"web-management"===m.key)&&this.sitemuleAIService.init(this.el.nativeElement.querySelector(".assistant")).then(()=>{this.sitemuleAIService.onMessageLinkClick(m=>{(g=>g.startsWith(`${location.protocol}//${location.host}`))(m)?this.router.navigateByUrl((g=>g.replace(`${location.protocol}//${location.host}`,""))(m)):x.open(m)})})})})}get getHostClass(){return`assistant-status-${this.assistantStatus()}`}expandSmall(){this.sitemuleAIService.expandSmall()}addSuggestion(l){this.sitemuleAIService.showChatView(),this.sitemuleAIService.sendMessage(l)}assistantMaskClick(){this.sitemuleAIService.showIcon()}static{this.\u0275fac=function(m){return new(m||g)}}static{this.\u0275cmp=c.VBU({type:g,selectors:[["app-root"]],hostVars:2,hostBindings:function(m,_){2&m&&c.HbH(_.getHostClass)},standalone:!0,features:[c.aNF],decls:5,vars:1,consts:[[1,"assistant-mask",3,"click"],[1,"assistant"],["class","assistant-icon"],[1,"assistant-icon"],[1,"icon",3,"click"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 -960 960 960","width","24px"],["d","M476-280q21 0 35.5-14.5T526-330q0-21-14.5-35.5T476-380q-21 0-35.5 14.5T426-330q0 21 14.5 35.5T476-280Zm-36-154h74q0-17 1.5-29t6.5-23q5-11 12.5-20.5T556-530q35-35 49.5-58.5T620-642q0-53-36-85.5T487-760q-55 0-93.5 27T340-658l66 26q7-27 28-43.5t49-16.5q27 0 45 14.5t18 38.5q0 17-11 36t-37 42q-17 14-27.5 27.5T453-505q-7 15-10 31.5t-3 39.5Zm40 394L360-160H200q-33 0-56.5-23.5T120-240v-560q0-33 23.5-56.5T200-880h560q33 0 56.5 23.5T840-800v560q0 33-23.5 56.5T760-160H600L480-40ZM200-240h192l88 88 88-88h192v-560H200v560Zm280-280Z"],[3,"texts"],[3,"texts","itemClick"]],template:function(m,_){1&m&&(c.nrm(0,"router-outlet"),c.j41(1,"div",0),c.bIt("click",function(){return _.assistantMaskClick()}),c.k0s(),c.nrm(2,"div",1)(3,"sm-toast"),c.DNE(4,W,5,1,"div",2)),2&m&&(c.R7$(4),c.vxM(4,"icon"===_.assistantStatus()?4:-1))},dependencies:[j.MD,K.n3,z.MB,z.d3,X],styles:["[_nghost-%COMP%]{margin-right:0;transition:margin-right linear .2s}[_nghost-%COMP%]   .assistant-icon[_ngcontent-%COMP%]{position:fixed;bottom:30px;right:0;display:flex;color:#fff;fill:#fff;background-color:#f94345;box-shadow:#0000004a 0 5px 11px;max-width:calc(100vw - 30px)}[_nghost-%COMP%]   .assistant-icon[_ngcontent-%COMP%]   app-vertical-text-slider[_ngcontent-%COMP%]{--height: 48px}[_nghost-%COMP%]   .assistant-icon[_ngcontent-%COMP%]   .suggestion[_ngcontent-%COMP%]{min-width:max-content;display:flex;align-items:center;gap:10px}[_nghost-%COMP%]   .assistant-icon[_ngcontent-%COMP%]   .suggestion[_ngcontent-%COMP%]:hover{color:#e1e1e1}[_nghost-%COMP%]   .assistant-icon[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{aspect-ratio:1;padding:0;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%]   .assistant-icon[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:48px;color:#fff;cursor:pointer;background-color:transparent;border:0}[_nghost-%COMP%]   .assistant[_ngcontent-%COMP%]{position:fixed;top:0;right:calc(30px - 100vw);bottom:0;width:calc(100vw - 30px);z-index:10001;transition:width linear .2s,right linear .2s}@media (min-width: 768px){[_nghost-%COMP%]   .assistant[_ngcontent-%COMP%]{width:400px;right:-400px}}@media (max-width: 767px){.assistant-status-expanded-large[_nghost-%COMP%]   .assistant-mask[_ngcontent-%COMP%], .assistant-status-expanded-small[_nghost-%COMP%]   .assistant-mask[_ngcontent-%COMP%]{position:fixed;inset:0;background-color:#0009;z-index:10001}}@media (min-width: 768px){.assistant-status-expanded-small[_nghost-%COMP%]{margin-right:400px;display:block}}.assistant-status-expanded-small[_nghost-%COMP%]   .assistant[_ngcontent-%COMP%]{width:calc(100vw - 30px);right:0}@media (min-width: 768px){.assistant-status-expanded-small[_nghost-%COMP%]   .assistant[_ngcontent-%COMP%]{width:400px}}@media (min-width: 768px){.assistant-status-expanded-large[_nghost-%COMP%]{margin-right:800px;display:block}}.assistant-status-expanded-large[_nghost-%COMP%]   .assistant[_ngcontent-%COMP%]{width:100vw;right:0}@media (min-width: 768px){.assistant-status-expanded-large[_nghost-%COMP%]   .assistant[_ngcontent-%COMP%]{width:800px}}"],changeDetection:0})}}return g})();var ge=E(677);const Me=void 0,Se=["da",[["a","p"],["AM","PM"],Me],[["AM","PM"],Me,Me],[["S","M","T","O","T","F","L"],["s\xf8n.","man.","tir.","ons.","tor.","fre.","l\xf8r."],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["S","M","T","O","T","F","L"],["s\xf8n","man","tir","ons","tor","fre","l\xf8r"],["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"],["s\xf8","ma","ti","on","to","fr","l\xf8"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]],Me,[["fKr","eKr"],["f.Kr.","e.Kr."],Me],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE 'den' d. MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",Me,"{1} 'kl'. {0}",Me],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"DKK","kr.","dansk krone",{AUD:["AU$","$"],BYN:[Me,"Br."],DKK:["kr."],ISK:[Me,"kr."],JPY:["JP\xa5","\xa5"],NOK:[Me,"kr."],PHP:[Me,"\u20b1"],RON:[Me,"L"],SEK:[Me,"kr."],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function ve(g){const o=g,l=Math.floor(Math.abs(g)),m=parseInt(g.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;return 1===o||0!==m&&(0===l||1===l)?1:5}];var xe=E(7172);function We(g){return new c.wOt(3e3,!1)}function ar(g){switch(g.length){case 0:return new xe.sf;case 1:return g[0];default:return new xe.ui(g)}}function Br(g,o,l=new Map,m=new Map){const _=[],b=[];let B=-1,Y=null;if(o.forEach(pe=>{const Ie=pe.get("offset"),nt=Ie==B,Ye=nt&&Y||new Map;pe.forEach((Ht,qe)=>{let at=qe,vt=Ht;if("offset"!==qe)switch(at=g.normalizePropertyName(at,_),vt){case xe.FX:vt=l.get(qe);break;case xe.kp:vt=m.get(qe);break;default:vt=g.normalizeStyleValue(qe,at,vt,_)}Ye.set(at,vt)}),nt||b.push(Ye),Y=Ye,B=Ie}),_.length)throw function hn(g){return new c.wOt(3502,!1)}();return b}function Yn(g,o,l,m){switch(o){case"start":g.onStart(()=>m(l&&hr(l,"start",g)));break;case"done":g.onDone(()=>m(l&&hr(l,"done",g)));break;case"destroy":g.onDestroy(()=>m(l&&hr(l,"destroy",g)))}}function hr(g,o,l){const b=yn(g.element,g.triggerName,g.fromState,g.toState,o||g.phaseName,l.totalTime??g.totalTime,!!l.disabled),B=g._data;return null!=B&&(b._data=B),b}function yn(g,o,l,m,_="",b=0,B){return{element:g,triggerName:o,fromState:l,toState:m,phaseName:_,totalTime:b,disabled:!!B}}function Ze(g,o,l){let m=g.get(o);return m||g.set(o,m=l),m}function Gt(g){const o=g.indexOf(":");return[g.substring(1,o),g.slice(o+1)]}const nn=typeof document>"u"?null:document.documentElement;function wt(g){const o=g.parentNode||g.host||null;return o===nn?null:o}let wn=null,Pr=!1;function jr(g,o){for(;o;){if(o===g)return!0;o=wt(o)}return!1}function ur(g,o,l){if(l)return Array.from(g.querySelectorAll(o));const m=g.querySelector(o);return m?[m]:[]}let qn=(()=>{class g{validateStyleProperty(l){return function lt(g){wn||(wn=function lr(){return typeof document<"u"?document.body:null}()||{},Pr=!!wn.style&&"WebkitAppearance"in wn.style);let o=!0;return wn.style&&!function Ei(g){return"ebkit"==g.substring(1,6)}(g)&&(o=g in wn.style,!o&&Pr&&(o="Webkit"+g.charAt(0).toUpperCase()+g.slice(1)in wn.style)),o}(l)}matchesElement(l,m){return!1}containsElement(l,m){return jr(l,m)}getParentElement(l){return wt(l)}query(l,m,_){return ur(l,m,_)}computeStyle(l,m,_){return _||""}animate(l,m,_,b,B,Y=[],pe){return new xe.sf(_,b)}static{this.\u0275fac=function(m){return new(m||g)}}static{this.\u0275prov=c.jDH({token:g,factory:g.\u0275fac})}}return g})(),Dn=(()=>{class g{static{this.NOOP=new qn}}return g})();class er{}const Pi=1e3,R="ng-enter",L="ng-leave",de="ng-trigger",Ge=".ng-trigger",ut="ng-animating",bt=".ng-animating";function Tt(g){if("number"==typeof g)return g;const o=g.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:Tn(parseFloat(o[1]),o[2])}function Tn(g,o){return"s"===o?g*Pi:g}function Vn(g,o,l){return g.hasOwnProperty("duration")?g:function rn(g,o,l){let _,b=0,B="";if("string"==typeof g){const Y=g.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Y)return o.push(We()),{duration:0,delay:0,easing:""};_=Tn(parseFloat(Y[1]),Y[2]);const pe=Y[3];null!=pe&&(b=Tn(parseFloat(pe),Y[4]));const Ie=Y[5];Ie&&(B=Ie)}else _=g;if(!l){let Y=!1,pe=o.length;_<0&&(o.push(function we(){return new c.wOt(3100,!1)}()),Y=!0),b<0&&(o.push(function fe(){return new c.wOt(3101,!1)}()),Y=!0),Y&&o.splice(pe,0,We())}return{duration:_,delay:b,easing:B}}(g,o,l)}function Yr(g,o={}){return Object.keys(g).forEach(l=>{o[l]=g[l]}),o}function Dr(g){const o=new Map;return Object.keys(g).forEach(l=>{o.set(l,g[l])}),o}function kn(g,o=new Map,l){if(l)for(let[m,_]of l)o.set(m,_);for(let[m,_]of g)o.set(m,_);return o}function Hn(g,o,l){o.forEach((m,_)=>{const b=Q(_);l&&!l.has(_)&&l.set(_,g.style[b]),g.style[b]=m})}function Zn(g,o){o.forEach((l,m)=>{const _=Q(m);g.style[_]=""})}function gr(g){return Array.isArray(g)?1==g.length?g[0]:(0,xe.K2)(g):g}const Di=new RegExp("{{\\s*(.+?)\\s*}}","g");function zi(g){let o=[];if("string"==typeof g){let l;for(;l=Di.exec(g);)o.push(l[1]);Di.lastIndex=0}return o}function Nr(g,o,l){const m=g.toString(),_=m.replace(Di,(b,B)=>{let Y=o[B];return null==Y&&(l.push(function ft(g){return new c.wOt(3003,!1)}()),Y=""),Y.toString()});return _==m?g:_}function ie(g){const o=[];let l=g.next();for(;!l.done;)o.push(l.value),l=g.next();return o}const F=/-+([a-z0-9])/g;function Q(g){return g.replace(F,(...o)=>o[1].toUpperCase())}function Oe(g,o,l){switch(o.type){case 7:return g.visitTrigger(o,l);case 0:return g.visitState(o,l);case 1:return g.visitTransition(o,l);case 2:return g.visitSequence(o,l);case 3:return g.visitGroup(o,l);case 4:return g.visitAnimate(o,l);case 5:return g.visitKeyframes(o,l);case 6:return g.visitStyle(o,l);case 8:return g.visitReference(o,l);case 9:return g.visitAnimateChild(o,l);case 10:return g.visitAnimateRef(o,l);case 11:return g.visitQuery(o,l);case 12:return g.visitStagger(o,l);default:throw function Nt(g){return new c.wOt(3004,!1)}()}}function ht(g,o){return window.getComputedStyle(g)[o]}const rt=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Qt extends er{normalizePropertyName(o,l){return Q(o)}normalizeStyleValue(o,l,m,_){let b="";const B=m.toString().trim();if(rt.has(l)&&0!==m&&"0"!==m)if("number"==typeof m)b="px";else{const Y=m.match(/^[+-]?[\d\.]+([a-z]*)$/);Y&&0==Y[1].length&&_.push(function gn(g,o){return new c.wOt(3005,!1)}())}return B+b}}const xt="*";function Sn(g,o){const l=[];return"string"==typeof g?g.split(/\s*,\s*/).forEach(m=>function At(g,o,l){if(":"==g[0]){const pe=function _n(g,o){switch(g){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,m)=>parseFloat(m)>parseFloat(l);case":decrement":return(l,m)=>parseFloat(m)<parseFloat(l);default:return o.push(function ot(g){return new c.wOt(3016,!1)}()),"* => *"}}(g,l);if("function"==typeof pe)return void o.push(pe);g=pe}const m=g.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==m||m.length<4)return l.push(function Lt(g){return new c.wOt(3015,!1)}()),o;const _=m[1],b=m[2],B=m[3];o.push(_r(_,B));"<"==b[0]&&!(_==xt&&B==xt)&&o.push(_r(B,_))}(m,l,o)):l.push(g),l}const tr=new Set(["true","1"]),Cn=new Set(["false","0"]);function _r(g,o){const l=tr.has(g)||Cn.has(g),m=tr.has(o)||Cn.has(o);return(_,b)=>{let B=g==xt||g==_,Y=o==xt||o==b;return!B&&l&&"boolean"==typeof _&&(B=_?tr.has(g):Cn.has(g)),!Y&&m&&"boolean"==typeof b&&(Y=b?tr.has(o):Cn.has(o)),B&&Y}}const A=new RegExp("s*:selfs*,?","g");function N(g,o,l,m){return new ae(g).build(o,l,m)}class ae{constructor(o){this._driver=o}build(o,l,m){const _=new St(l);return this._resetContextStyleTimingState(_),Oe(this,gr(o),_)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,l){let m=l.queryCount=0,_=l.depCount=0;const b=[],B=[];return"@"==o.name.charAt(0)&&l.errors.push(function On(){return new c.wOt(3006,!1)}()),o.definitions.forEach(Y=>{if(this._resetContextStyleTimingState(l),0==Y.type){const pe=Y,Ie=pe.name;Ie.toString().split(/\s*,\s*/).forEach(nt=>{pe.name=nt,b.push(this.visitState(pe,l))}),pe.name=Ie}else if(1==Y.type){const pe=this.visitTransition(Y,l);m+=pe.queryCount,_+=pe.depCount,B.push(pe)}else l.errors.push(function He(){return new c.wOt(3007,!1)}())}),{type:7,name:o.name,states:b,transitions:B,queryCount:m,depCount:_,options:null}}visitState(o,l){const m=this.visitStyle(o.styles,l),_=o.options&&o.options.params||null;if(m.containsDynamicStyles){const b=new Set,B=_||{};m.styles.forEach(Y=>{Y instanceof Map&&Y.forEach(pe=>{zi(pe).forEach(Ie=>{B.hasOwnProperty(Ie)||b.add(Ie)})})}),b.size&&(ie(b.values()),l.errors.push(function Ut(g,o){return new c.wOt(3008,!1)}()))}return{type:0,name:o.name,style:m,options:_?{params:_}:null}}visitTransition(o,l){l.queryCount=0,l.depCount=0;const m=Oe(this,gr(o.animation),l);return{type:1,matchers:Sn(o.expr,l.errors),animation:m,queryCount:l.queryCount,depCount:l.depCount,options:un(o.options)}}visitSequence(o,l){return{type:2,steps:o.steps.map(m=>Oe(this,m,l)),options:un(o.options)}}visitGroup(o,l){const m=l.currentTime;let _=0;const b=o.steps.map(B=>{l.currentTime=m;const Y=Oe(this,B,l);return _=Math.max(_,l.currentTime),Y});return l.currentTime=_,{type:3,steps:b,options:un(o.options)}}visitAnimate(o,l){const m=function Qn(g,o){if(g.hasOwnProperty("duration"))return g;if("number"==typeof g)return Cr(Vn(g,o).duration,0,"");const l=g;if(l.split(/\s+/).some(b=>"{"==b.charAt(0)&&"{"==b.charAt(1))){const b=Cr(0,0,"");return b.dynamic=!0,b.strValue=l,b}const _=Vn(l,o);return Cr(_.duration,_.delay,_.easing)}(o.timings,l.errors);l.currentAnimateTimings=m;let _,b=o.styles?o.styles:(0,xe.iF)({});if(5==b.type)_=this.visitKeyframes(b,l);else{let B=o.styles,Y=!1;if(!B){Y=!0;const Ie={};m.easing&&(Ie.easing=m.easing),B=(0,xe.iF)(Ie)}l.currentTime+=m.duration+m.delay;const pe=this.visitStyle(B,l);pe.isEmptyStep=Y,_=pe}return l.currentAnimateTimings=null,{type:4,timings:m,style:_,options:null}}visitStyle(o,l){const m=this._makeStyleAst(o,l);return this._validateStyleAst(m,l),m}_makeStyleAst(o,l){const m=[],_=Array.isArray(o.styles)?o.styles:[o.styles];for(let Y of _)"string"==typeof Y?Y===xe.kp?m.push(Y):l.errors.push(new c.wOt(3002,!1)):m.push(Dr(Y));let b=!1,B=null;return m.forEach(Y=>{if(Y instanceof Map&&(Y.has("easing")&&(B=Y.get("easing"),Y.delete("easing")),!b))for(let pe of Y.values())if(pe.toString().indexOf("{{")>=0){b=!0;break}}),{type:6,styles:m,easing:B,offset:o.offset,containsDynamicStyles:b,options:null}}_validateStyleAst(o,l){const m=l.currentAnimateTimings;let _=l.currentTime,b=l.currentTime;m&&b>0&&(b-=m.duration+m.delay),o.styles.forEach(B=>{"string"!=typeof B&&B.forEach((Y,pe)=>{const Ie=l.collectedStyles.get(l.currentQuerySelector),nt=Ie.get(pe);let Ye=!0;nt&&(b!=_&&b>=nt.startTime&&_<=nt.endTime&&(l.errors.push(function ne(g,o,l,m,_){return new c.wOt(3010,!1)}()),Ye=!1),b=nt.startTime),Ye&&Ie.set(pe,{startTime:b,endTime:_}),l.options&&function Zr(g,o,l){const m=o.params||{},_=zi(g);_.length&&_.forEach(b=>{m.hasOwnProperty(b)||l.push(function Le(g){return new c.wOt(3001,!1)}())})}(Y,l.options,l.errors)})})}visitKeyframes(o,l){const m={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function he(){return new c.wOt(3011,!1)}()),m;let b=0;const B=[];let Y=!1,pe=!1,Ie=0;const nt=o.steps.map(fr=>{const mr=this._makeStyleAst(fr,l);let Qr=null!=mr.offset?mr.offset:function Un(g){if("string"==typeof g)return null;let o=null;if(Array.isArray(g))g.forEach(l=>{if(l instanceof Map&&l.has("offset")){const m=l;o=parseFloat(m.get("offset")),m.delete("offset")}});else if(g instanceof Map&&g.has("offset")){const l=g;o=parseFloat(l.get("offset")),l.delete("offset")}return o}(mr.styles),Fn=0;return null!=Qr&&(b++,Fn=mr.offset=Qr),pe=pe||Fn<0||Fn>1,Y=Y||Fn<Ie,Ie=Fn,B.push(Fn),mr});pe&&l.errors.push(function Ee(){return new c.wOt(3012,!1)}()),Y&&l.errors.push(function Fe(){return new c.wOt(3200,!1)}());const Ye=o.steps.length;let Ht=0;b>0&&b<Ye?l.errors.push(function Be(){return new c.wOt(3202,!1)}()):0==b&&(Ht=1/(Ye-1));const qe=Ye-1,at=l.currentTime,vt=l.currentAnimateTimings,$n=vt.duration;return nt.forEach((fr,mr)=>{const Qr=Ht>0?mr==qe?1:Ht*mr:B[mr],Fn=Qr*$n;l.currentTime=at+vt.delay+Fn,vt.duration=Fn,this._validateStyleAst(fr,l),fr.offset=Qr,m.styles.push(fr)}),m}visitReference(o,l){return{type:8,animation:Oe(this,gr(o.animation),l),options:un(o.options)}}visitAnimateChild(o,l){return l.depCount++,{type:9,options:un(o.options)}}visitAnimateRef(o,l){return{type:10,animation:this.visitReference(o.animation,l),options:un(o.options)}}visitQuery(o,l){const m=l.currentQuerySelector,_=o.options||{};l.queryCount++,l.currentQuery=o;const[b,B]=function Ue(g){const o=!!g.split(/\s*,\s*/).find(l=>":self"==l);return o&&(g=g.replace(A,"")),g=g.replace(/@\*/g,Ge).replace(/@\w+/g,l=>Ge+"-"+l.slice(1)).replace(/:animating/g,bt),[g,o]}(o.selector);l.currentQuerySelector=m.length?m+" "+b:b,Ze(l.collectedStyles,l.currentQuerySelector,new Map);const Y=Oe(this,gr(o.animation),l);return l.currentQuery=null,l.currentQuerySelector=m,{type:11,selector:b,limit:_.limit||0,optional:!!_.optional,includeSelf:B,animation:Y,originalSelector:o.selector,options:un(o.options)}}visitStagger(o,l){l.currentQuery||l.errors.push(function st(){return new c.wOt(3013,!1)}());const m="full"===o.timings?{duration:0,delay:0,easing:"full"}:Vn(o.timings,l.errors,!0);return{type:12,animation:Oe(this,gr(o.animation),l),timings:m,options:null}}}class St{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function un(g){return g?(g=Yr(g)).params&&(g.params=function tt(g){return g?Yr(g):null}(g.params)):g={},g}function Cr(g,o,l){return{duration:g,delay:o,easing:l}}function xs(g,o,l,m,_,b,B=null,Y=!1){return{type:1,element:g,keyframes:o,preStyleProps:l,postStyleProps:m,duration:_,delay:b,totalTime:_+b,easing:B,subTimeline:Y}}class cs{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,l){let m=this._map.get(o);m||this._map.set(o,m=[]),m.push(...l)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Gi=new RegExp(":enter","g"),Fs=new RegExp(":leave","g");function li(g,o,l,m,_,b=new Map,B=new Map,Y,pe,Ie=[]){return(new qs).buildKeyframes(g,o,l,m,_,b,B,Y,pe,Ie)}class qs{buildKeyframes(o,l,m,_,b,B,Y,pe,Ie,nt=[]){Ie=Ie||new cs;const Ye=new Xi(o,l,Ie,_,b,nt,[]);Ye.options=pe;const Ht=pe.delay?Tt(pe.delay):0;Ye.currentTimeline.delayNextStep(Ht),Ye.currentTimeline.setStyles([B],null,Ye.errors,pe),Oe(this,m,Ye);const qe=Ye.timelines.filter(at=>at.containsAnimation());if(qe.length&&Y.size){let at;for(let vt=qe.length-1;vt>=0;vt--){const $n=qe[vt];if($n.element===l){at=$n;break}}at&&!at.allowOnlyTimelineStyles()&&at.setStyles([Y],null,Ye.errors,pe)}return qe.length?qe.map(at=>at.buildKeyframes()):[xs(l,[],[],[],0,Ht,"",!1)]}visitTrigger(o,l){}visitState(o,l){}visitTransition(o,l){}visitAnimateChild(o,l){const m=l.subInstructions.get(l.element);if(m){const _=l.createSubContext(o.options),b=l.currentTimeline.currentTime,B=this._visitSubInstructions(m,_,_.options);b!=B&&l.transformIntoNewTimeline(B)}l.previousNode=o}visitAnimateRef(o,l){const m=l.createSubContext(o.options);m.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],l,m),this.visitReference(o.animation,m),l.transformIntoNewTimeline(m.currentTimeline.currentTime),l.previousNode=o}_applyAnimationRefDelays(o,l,m){for(const _ of o){const b=_?.delay;if(b){const B="number"==typeof b?b:Tt(Nr(b,_?.params??{},l.errors));m.delayNextStep(B)}}}_visitSubInstructions(o,l,m){let b=l.currentTimeline.currentTime;const B=null!=m.duration?Tt(m.duration):null,Y=null!=m.delay?Tt(m.delay):null;return 0!==B&&o.forEach(pe=>{const Ie=l.appendInstructionToTimeline(pe,B,Y);b=Math.max(b,Ie.duration+Ie.delay)}),b}visitReference(o,l){l.updateOptions(o.options,!0),Oe(this,o.animation,l),l.previousNode=o}visitSequence(o,l){const m=l.subContextCount;let _=l;const b=o.options;if(b&&(b.params||b.delay)&&(_=l.createSubContext(b),_.transformIntoNewTimeline(),null!=b.delay)){6==_.previousNode.type&&(_.currentTimeline.snapshotCurrentStyles(),_.previousNode=Qi);const B=Tt(b.delay);_.delayNextStep(B)}o.steps.length&&(o.steps.forEach(B=>Oe(this,B,_)),_.currentTimeline.applyStylesToKeyframe(),_.subContextCount>m&&_.transformIntoNewTimeline()),l.previousNode=o}visitGroup(o,l){const m=[];let _=l.currentTimeline.currentTime;const b=o.options&&o.options.delay?Tt(o.options.delay):0;o.steps.forEach(B=>{const Y=l.createSubContext(o.options);b&&Y.delayNextStep(b),Oe(this,B,Y),_=Math.max(_,Y.currentTimeline.currentTime),m.push(Y.currentTimeline)}),m.forEach(B=>l.currentTimeline.mergeTimelineCollectedStyles(B)),l.transformIntoNewTimeline(_),l.previousNode=o}_visitTiming(o,l){if(o.dynamic){const m=o.strValue;return Vn(l.params?Nr(m,l.params,l.errors):m,l.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,l){const m=l.currentAnimateTimings=this._visitTiming(o.timings,l),_=l.currentTimeline;m.delay&&(l.incrementTime(m.delay),_.snapshotCurrentStyles());const b=o.style;5==b.type?this.visitKeyframes(b,l):(l.incrementTime(m.duration),this.visitStyle(b,l),_.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=o}visitStyle(o,l){const m=l.currentTimeline,_=l.currentAnimateTimings;!_&&m.hasCurrentStyleProperties()&&m.forwardFrame();const b=_&&_.easing||o.easing;o.isEmptyStep?m.applyEmptyStep(b):m.setStyles(o.styles,b,l.errors,l.options),l.previousNode=o}visitKeyframes(o,l){const m=l.currentAnimateTimings,_=l.currentTimeline.duration,b=m.duration,Y=l.createSubContext().currentTimeline;Y.easing=m.easing,o.styles.forEach(pe=>{Y.forwardTime((pe.offset||0)*b),Y.setStyles(pe.styles,pe.easing,l.errors,l.options),Y.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(Y),l.transformIntoNewTimeline(_+b),l.previousNode=o}visitQuery(o,l){const m=l.currentTimeline.currentTime,_=o.options||{},b=_.delay?Tt(_.delay):0;b&&(6===l.previousNode.type||0==m&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=Qi);let B=m;const Y=l.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!_.optional,l.errors);l.currentQueryTotal=Y.length;let pe=null;Y.forEach((Ie,nt)=>{l.currentQueryIndex=nt;const Ye=l.createSubContext(o.options,Ie);b&&Ye.delayNextStep(b),Ie===l.element&&(pe=Ye.currentTimeline),Oe(this,o.animation,Ye),Ye.currentTimeline.applyStylesToKeyframe(),B=Math.max(B,Ye.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(B),pe&&(l.currentTimeline.mergeTimelineCollectedStyles(pe),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=o}visitStagger(o,l){const m=l.parentContext,_=l.currentTimeline,b=o.timings,B=Math.abs(b.duration),Y=B*(l.currentQueryTotal-1);let pe=B*l.currentQueryIndex;switch(b.duration<0?"reverse":b.easing){case"reverse":pe=Y-pe;break;case"full":pe=m.currentStaggerTime}const nt=l.currentTimeline;pe&&nt.delayNextStep(pe);const Ye=nt.currentTime;Oe(this,o.animation,l),l.previousNode=o,m.currentStaggerTime=_.currentTime-Ye+(_.startTime-m.currentTimeline.startTime)}}const Qi={};class Xi{constructor(o,l,m,_,b,B,Y,pe){this._driver=o,this.element=l,this.subInstructions=m,this._enterClassName=_,this._leaveClassName=b,this.errors=B,this.timelines=Y,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Qi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=pe||new $r(this._driver,l,0),Y.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,l){if(!o)return;const m=o;let _=this.options;null!=m.duration&&(_.duration=Tt(m.duration)),null!=m.delay&&(_.delay=Tt(m.delay));const b=m.params;if(b){let B=_.params;B||(B=this.options.params={}),Object.keys(b).forEach(Y=>{(!l||!B.hasOwnProperty(Y))&&(B[Y]=Nr(b[Y],B,this.errors))})}}_copyOptions(){const o={};if(this.options){const l=this.options.params;if(l){const m=o.params={};Object.keys(l).forEach(_=>{m[_]=l[_]})}}return o}createSubContext(o=null,l,m){const _=l||this.element,b=new Xi(this._driver,_,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(_,m||0));return b.previousNode=this.previousNode,b.currentAnimateTimings=this.currentAnimateTimings,b.options=this._copyOptions(),b.updateOptions(o),b.currentQueryIndex=this.currentQueryIndex,b.currentQueryTotal=this.currentQueryTotal,b.parentContext=this,this.subContextCount++,b}transformIntoNewTimeline(o){return this.previousNode=Qi,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,l,m){const _={duration:l??o.duration,delay:this.currentTimeline.currentTime+(m??0)+o.delay,easing:""},b=new yo(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,_,o.stretchStartingKeyframe);return this.timelines.push(b),_}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,l,m,_,b,B){let Y=[];if(_&&Y.push(this.element),o.length>0){o=(o=o.replace(Gi,"."+this._enterClassName)).replace(Fs,"."+this._leaveClassName);let Ie=this._driver.query(this.element,o,1!=m);0!==m&&(Ie=m<0?Ie.slice(Ie.length+m,Ie.length):Ie.slice(0,m)),Y.push(...Ie)}return!b&&0==Y.length&&B.push(function Ct(g){return new c.wOt(3014,!1)}()),Y}}class $r{constructor(o,l,m,_){this._driver=o,this.element=l,this.startTime=m,this._elementTimelineStylesLookup=_,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+o),l&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,l){return this.applyStylesToKeyframe(),new $r(this._driver,o,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,l){this._localTimelineStyles.set(o,l),this._globalTimelineStyles.set(o,l),this._styleSummary.set(o,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[l,m]of this._globalTimelineStyles)this._backFill.set(l,m||xe.kp),this._currentKeyframe.set(l,xe.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,l,m,_){l&&this._previousKeyframe.set("easing",l);const b=_&&_.params||{},B=function fs(g,o){const l=new Map;let m;return g.forEach(_=>{if("*"===_){m=m||o.keys();for(let b of m)l.set(b,xe.kp)}else kn(_,l)}),l}(o,this._globalTimelineStyles);for(let[Y,pe]of B){const Ie=Nr(pe,b,m);this._pendingStyles.set(Y,Ie),this._localTimelineStyles.has(Y)||this._backFill.set(Y,this._globalTimelineStyles.get(Y)??xe.kp),this._updateStyle(Y,Ie)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,l)=>{this._currentKeyframe.set(l,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,o)}))}snapshotCurrentStyles(){for(let[o,l]of this._localTimelineStyles)this._pendingStyles.set(o,l),this._updateStyle(o,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let l in this._currentKeyframe)o.push(l);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((l,m)=>{const _=this._styleSummary.get(m);(!_||l.time>_.time)&&this._updateStyle(m,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,l=new Set,m=1===this._keyframes.size&&0===this.duration;let _=[];this._keyframes.forEach((Y,pe)=>{const Ie=kn(Y,new Map,this._backFill);Ie.forEach((nt,Ye)=>{nt===xe.FX?o.add(Ye):nt===xe.kp&&l.add(Ye)}),m||Ie.set("offset",pe/this.duration),_.push(Ie)});const b=o.size?ie(o.values()):[],B=l.size?ie(l.values()):[];if(m){const Y=_[0],pe=new Map(Y);Y.set("offset",0),pe.set("offset",1),_=[Y,pe]}return xs(this.element,_,b,B,this.duration,this.startTime,this.easing,!1)}}class yo extends $r{constructor(o,l,m,_,b,B,Y=!1){super(o,l,B.delay),this.keyframes=m,this.preStyleProps=_,this.postStyleProps=b,this._stretchStartingKeyframe=Y,this.timings={duration:B.duration,delay:B.delay,easing:B.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:l,duration:m,easing:_}=this.timings;if(this._stretchStartingKeyframe&&l){const b=[],B=m+l,Y=l/B,pe=kn(o[0]);pe.set("offset",0),b.push(pe);const Ie=kn(o[0]);Ie.set("offset",Vr(Y)),b.push(Ie);const nt=o.length-1;for(let Ye=1;Ye<=nt;Ye++){let Ht=kn(o[Ye]);const qe=Ht.get("offset");Ht.set("offset",Vr((l+qe*m)/B)),b.push(Ht)}m=B,l=0,_="",o=b}return xs(this.element,o,this.preStyleProps,this.postStyleProps,m,l,_,!0)}}function Vr(g,o=3){const l=Math.pow(10,o-1);return Math.round(g*l)/l}function Wn(g,o,l,m,_,b,B,Y,pe,Ie,nt,Ye,Ht){return{type:0,element:g,triggerName:o,isRemovalTransition:_,fromState:l,fromStyles:b,toState:m,toStyles:B,timelines:Y,queriedElements:pe,preStyleProps:Ie,postStyleProps:nt,totalTime:Ye,errors:Ht}}const hs={};class en{constructor(o,l,m){this._triggerName=o,this.ast=l,this._stateStyles=m}match(o,l,m,_){return function ps(g,o,l,m,_){return g.some(b=>b(o,l,m,_))}(this.ast.matchers,o,l,m,_)}buildStyles(o,l,m){let _=this._stateStyles.get("*");return void 0!==o&&(_=this._stateStyles.get(o?.toString())||_),_?_.buildStyles(l,m):new Map}build(o,l,m,_,b,B,Y,pe,Ie,nt){const Ye=[],Ht=this.ast.options&&this.ast.options.params||hs,at=this.buildStyles(m,Y&&Y.params||hs,Ye),vt=pe&&pe.params||hs,$n=this.buildStyles(_,vt,Ye),fr=new Set,mr=new Map,Qr=new Map,Fn="void"===_,Ro={params:gs(vt,Ht),delay:this.ast.options?.delay},pi=nt?[]:li(o,l,this.ast.animation,b,B,at,$n,Ro,Ie,Ye);let Lr=0;if(pi.forEach(Ii=>{Lr=Math.max(Ii.duration+Ii.delay,Lr)}),Ye.length)return Wn(l,this._triggerName,m,_,Fn,at,$n,[],[],mr,Qr,Lr,Ye);pi.forEach(Ii=>{const ji=Ii.element,Lu=Ze(mr,ji,new Set);Ii.preStyleProps.forEach(zs=>Lu.add(zs));const xo=Ze(Qr,ji,new Set);Ii.postStyleProps.forEach(zs=>xo.add(zs)),ji!==l&&fr.add(ji)});const os=ie(fr.values());return Wn(l,this._triggerName,m,_,Fn,at,$n,pi,os,mr,Qr,Lr)}}function gs(g,o){const l=Yr(o);for(const m in g)g.hasOwnProperty(m)&&null!=g[m]&&(l[m]=g[m]);return l}class ms{constructor(o,l,m){this.styles=o,this.defaultParams=l,this.normalizer=m}buildStyles(o,l){const m=new Map,_=Yr(this.defaultParams);return Object.keys(o).forEach(b=>{const B=o[b];null!==B&&(_[b]=B)}),this.styles.styles.forEach(b=>{"string"!=typeof b&&b.forEach((B,Y)=>{B&&(B=Nr(B,_,l));const pe=this.normalizer.normalizePropertyName(Y,l);B=this.normalizer.normalizeStyleValue(Y,pe,B,l),m.set(Y,B)})}),m}}class zo{constructor(o,l,m){this.name=o,this.ast=l,this._normalizer=m,this.transitionFactories=[],this.states=new Map,l.states.forEach(_=>{this.states.set(_.name,new ms(_.style,_.options&&_.options.params||{},m))}),ys(this.states,"true","1"),ys(this.states,"false","0"),l.transitions.forEach(_=>{this.transitionFactories.push(new en(o,_,this.states))}),this.fallbackTransition=function zr(g,o,l){return new en(g,{type:1,animation:{type:2,steps:[],options:null},matchers:[(B,Y)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,l,m,_){return this.transitionFactories.find(B=>B.match(o,l,m,_))||null}matchStyles(o,l,m){return this.fallbackTransition.buildStyles(o,l,m)}}function ys(g,o,l){g.has(o)?g.has(l)||g.set(l,g.get(o)):g.has(l)&&g.set(o,g.get(l))}const Ci=new cs;class ui{constructor(o,l,m){this.bodyNode=o,this._driver=l,this._normalizer=m,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,l){const m=[],b=N(this._driver,l,m,[]);if(m.length)throw function Pn(g){return new c.wOt(3503,!1)}();this._animations.set(o,b)}_buildPlayer(o,l,m){const _=o.element,b=Br(this._normalizer,o.keyframes,l,m);return this._driver.animate(_,b,o.duration,o.delay,o.easing,[],!0)}create(o,l,m={}){const _=[],b=this._animations.get(o);let B;const Y=new Map;if(b?(B=li(this._driver,l,b,R,L,new Map,new Map,m,Ci,_),B.forEach(nt=>{const Ye=Ze(Y,nt.element,new Map);nt.postStyleProps.forEach(Ht=>Ye.set(Ht,null))})):(_.push(function Kt(){return new c.wOt(3300,!1)}()),B=[]),_.length)throw function qt(g){return new c.wOt(3504,!1)}();Y.forEach((nt,Ye)=>{nt.forEach((Ht,qe)=>{nt.set(qe,this._driver.computeStyle(Ye,qe,xe.kp))})});const Ie=ar(B.map(nt=>{const Ye=Y.get(nt.element);return this._buildPlayer(nt,new Map,Ye)}));return this._playersById.set(o,Ie),Ie.onDestroy(()=>this.destroy(o)),this.players.push(Ie),Ie}destroy(o){const l=this._getPlayer(o);l.destroy(),this._playersById.delete(o);const m=this.players.indexOf(l);m>=0&&this.players.splice(m,1)}_getPlayer(o){const l=this._playersById.get(o);if(!l)throw function mn(g){return new c.wOt(3301,!1)}();return l}listen(o,l,m,_){const b=yn(l,"","","");return Yn(this._getPlayer(o),m,b,_),()=>{}}command(o,l,m,_){if("register"==m)return void this.register(o,_[0]);if("create"==m)return void this.create(o,l,_[0]||{});const b=this._getPlayer(o);switch(m){case"play":b.play();break;case"pause":b.pause();break;case"reset":b.reset();break;case"restart":b.restart();break;case"finish":b.finish();break;case"init":b.init();break;case"setPosition":b.setPosition(parseFloat(_[0]));break;case"destroy":this.destroy(o)}}}const Xt="ng-animate-queued",vs="ng-animate-disabled",no=[],vo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_a={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Hr="__ng_removed";class ro{get params(){return this.options.params}constructor(o,l=""){this.namespaceId=l;const m=o&&o.hasOwnProperty("value");if(this.value=function Ta(g){return g??null}(m?o.value:o),m){const b=Yr(o);delete b.value,this.options=b}else this.options={};this.options.params||(this.options.params={})}absorbOptions(o){const l=o.params;if(l){const m=this.options.params;Object.keys(l).forEach(_=>{null==m[_]&&(m[_]=l[_])})}}}const qr="void",xn=new ro(qr);class Ca{constructor(o,l,m){this.id=o,this.hostElement=l,this._engine=m,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,nr(l,this._hostClassName)}listen(o,l,m,_){if(!this._triggers.has(l))throw function sr(g,o){return new c.wOt(3302,!1)}();if(null==m||0==m.length)throw function ai(g){return new c.wOt(3303,!1)}();if(!function Ds(g){return"start"==g||"done"==g}(m))throw function Er(g,o){return new c.wOt(3400,!1)}();const b=Ze(this._elementListeners,o,[]),B={name:l,phase:m,callback:_};b.push(B);const Y=Ze(this._engine.statesByElement,o,new Map);return Y.has(l)||(nr(o,de),nr(o,de+"-"+l),Y.set(l,xn)),()=>{this._engine.afterFlush(()=>{const pe=b.indexOf(B);pe>=0&&b.splice(pe,1),this._triggers.has(l)||Y.delete(l)})}}register(o,l){return!this._triggers.has(o)&&(this._triggers.set(o,l),!0)}_getTrigger(o){const l=this._triggers.get(o);if(!l)throw function or(g){return new c.wOt(3401,!1)}();return l}trigger(o,l,m,_=!0){const b=this._getTrigger(l),B=new Eo(this.id,l,o);let Y=this._engine.statesByElement.get(o);Y||(nr(o,de),nr(o,de+"-"+l),this._engine.statesByElement.set(o,Y=new Map));let pe=Y.get(l);const Ie=new ro(m,this.id);if(!(m&&m.hasOwnProperty("value"))&&pe&&Ie.absorbOptions(pe.options),Y.set(l,Ie),pe||(pe=xn),Ie.value!==qr&&pe.value===Ie.value){if(!function _o(g,o){const l=Object.keys(g),m=Object.keys(o);if(l.length!=m.length)return!1;for(let _=0;_<l.length;_++){const b=l[_];if(!o.hasOwnProperty(b)||g[b]!==o[b])return!1}return!0}(pe.params,Ie.params)){const vt=[],$n=b.matchStyles(pe.value,pe.params,vt),fr=b.matchStyles(Ie.value,Ie.params,vt);vt.length?this._engine.reportError(vt):this._engine.afterFlush(()=>{Zn(o,$n),Hn(o,fr)})}return}const Ht=Ze(this._engine.playersByElement,o,[]);Ht.forEach(vt=>{vt.namespaceId==this.id&&vt.triggerName==l&&vt.queued&&vt.destroy()});let qe=b.matchTransition(pe.value,Ie.value,o,Ie.params),at=!1;if(!qe){if(!_)return;qe=b.fallbackTransition,at=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:l,transition:qe,fromState:pe,toState:Ie,player:B,isFallbackTransition:at}),at||(nr(o,Xt),B.onStart(()=>{qi(o,Xt)})),B.onDone(()=>{let vt=this.players.indexOf(B);vt>=0&&this.players.splice(vt,1);const $n=this._engine.playersByElement.get(o);if($n){let fr=$n.indexOf(B);fr>=0&&$n.splice(fr,1)}}),this.players.push(B),Ht.push(B),B}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(l=>l.delete(o)),this._elementListeners.forEach((l,m)=>{this._elementListeners.set(m,l.filter(_=>_.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const l=this._engine.playersByElement.get(o);l&&(l.forEach(m=>m.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,l){const m=this._engine.driver.query(o,Ge,!0);m.forEach(_=>{if(_[Hr])return;const b=this._engine.fetchNamespacesByElement(_);b.size?b.forEach(B=>B.triggerLeaveAnimation(_,l,!1,!0)):this.clearElementCache(_)}),this._engine.afterFlushAnimationsDone(()=>m.forEach(_=>this.clearElementCache(_)))}triggerLeaveAnimation(o,l,m,_){const b=this._engine.statesByElement.get(o),B=new Map;if(b){const Y=[];if(b.forEach((pe,Ie)=>{if(B.set(Ie,pe.value),this._triggers.has(Ie)){const nt=this.trigger(o,Ie,qr,_);nt&&Y.push(nt)}}),Y.length)return this._engine.markElementAsRemoved(this.id,o,!0,l,B),m&&ar(Y).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const l=this._elementListeners.get(o),m=this._engine.statesByElement.get(o);if(l&&m){const _=new Set;l.forEach(b=>{const B=b.name;if(_.has(B))return;_.add(B);const pe=this._triggers.get(B).fallbackTransition,Ie=m.get(B)||xn,nt=new ro(qr),Ye=new Eo(this.id,B,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:B,transition:pe,fromState:Ie,toState:nt,player:Ye,isFallbackTransition:!0})})}}removeNode(o,l){const m=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,l),this.triggerLeaveAnimation(o,l,!0))return;let _=!1;if(m.totalAnimations){const b=m.players.length?m.playersByQueriedElement.get(o):[];if(b&&b.length)_=!0;else{let B=o;for(;B=B.parentNode;)if(m.statesByElement.get(B)){_=!0;break}}}if(this.prepareLeaveAnimationListeners(o),_)m.markElementAsRemoved(this.id,o,!1,l);else{const b=o[Hr];(!b||b===vo)&&(m.afterFlush(()=>this.clearElementCache(o)),m.destroyInnerAnimations(o),m._onRemovalComplete(o,l))}}insertNode(o,l){nr(o,this._hostClassName)}drainQueuedTransitions(o){const l=[];return this._queue.forEach(m=>{const _=m.player;if(_.destroyed)return;const b=m.element,B=this._elementListeners.get(b);B&&B.forEach(Y=>{if(Y.name==m.triggerName){const pe=yn(b,m.triggerName,m.fromState.value,m.toState.value);pe._data=o,Yn(m.player,Y.phase,pe,Y.callback)}}),_.markedForDestroy?this._engine.afterFlush(()=>{_.destroy()}):l.push(m)}),this._queue=[],l.sort((m,_)=>{const b=m.transition.ast.depCount,B=_.transition.ast.depCount;return 0==b||0==B?b-B:this._engine.driver.containsElement(m.element,_.element)?1:-1})}destroy(o){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}}class Zi{_onRemovalComplete(o,l){this.onRemovalComplete(o,l)}constructor(o,l,m){this.bodyNode=o,this.driver=l,this._normalizer=m,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(_,b)=>{}}get queuedPlayers(){const o=[];return this._namespaceList.forEach(l=>{l.players.forEach(m=>{m.queued&&o.push(m)})}),o}createNamespace(o,l){const m=new Ca(o,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(m,l):(this.newHostElements.set(l,m),this.collectEnterElement(l)),this._namespaceLookup[o]=m}_balanceNamespaceList(o,l){const m=this._namespaceList,_=this.namespacesByHostElement;if(m.length-1>=0){let B=!1,Y=this.driver.getParentElement(l);for(;Y;){const pe=_.get(Y);if(pe){const Ie=m.indexOf(pe);m.splice(Ie+1,0,o),B=!0;break}Y=this.driver.getParentElement(Y)}B||m.unshift(o)}else m.push(o);return _.set(l,o),o}register(o,l){let m=this._namespaceLookup[o];return m||(m=this.createNamespace(o,l)),m}registerTrigger(o,l,m){let _=this._namespaceLookup[o];_&&_.register(l,m)&&this.totalAnimations++}destroy(o,l){o&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const m=this._fetchNamespace(o);this.namespacesByHostElement.delete(m.hostElement);const _=this._namespaceList.indexOf(m);_>=0&&this._namespaceList.splice(_,1),m.destroy(l),delete this._namespaceLookup[o]}))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const l=new Set,m=this.statesByElement.get(o);if(m)for(let _ of m.values())if(_.namespaceId){const b=this._fetchNamespace(_.namespaceId);b&&l.add(b)}return l}trigger(o,l,m,_){if(Es(l)){const b=this._fetchNamespace(o);if(b)return b.trigger(l,m,_),!0}return!1}insertNode(o,l,m,_){if(!Es(l))return;const b=l[Hr];if(b&&b.setForRemoval){b.setForRemoval=!1,b.setForMove=!0;const B=this.collectedLeaveElements.indexOf(l);B>=0&&this.collectedLeaveElements.splice(B,1)}if(o){const B=this._fetchNamespace(o);B&&B.insertNode(l,m)}_&&this.collectEnterElement(l)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,l){l?this.disabledNodes.has(o)||(this.disabledNodes.add(o),nr(o,vs)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),qi(o,vs))}removeNode(o,l,m){if(Es(l)){const _=o?this._fetchNamespace(o):null;_?_.removeNode(l,m):this.markElementAsRemoved(o,l,!1,m);const b=this.namespacesByHostElement.get(l);b&&b.id!==o&&b.removeNode(l,m)}else this._onRemovalComplete(l,m)}markElementAsRemoved(o,l,m,_,b){this.collectedLeaveElements.push(l),l[Hr]={namespaceId:o,setForRemoval:_,hasAnimation:m,removedBeforeQueried:!1,previousTriggersValues:b}}listen(o,l,m,_,b){return Es(l)?this._fetchNamespace(o).listen(l,m,_,b):()=>{}}_buildInstruction(o,l,m,_,b){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,m,_,o.fromState.options,o.toState.options,l,b)}destroyInnerAnimations(o){let l=this.driver.query(o,Ge,!0);l.forEach(m=>this.destroyActiveAnimationsForElement(m)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(o,bt,!0),l.forEach(m=>this.finishActiveQueriedAnimationOnElement(m)))}destroyActiveAnimationsForElement(o){const l=this.playersByElement.get(o);l&&l.forEach(m=>{m.queued?m.markedForDestroy=!0:m.destroy()})}finishActiveQueriedAnimationOnElement(o){const l=this.playersByQueriedElement.get(o);l&&l.forEach(m=>m.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return ar(this.players).onDone(()=>o());o()})}processLeaveNode(o){const l=o[Hr];if(l&&l.setForRemoval){if(o[Hr]=vo,l.namespaceId){this.destroyInnerAnimations(o);const m=this._fetchNamespace(l.namespaceId);m&&m.clearElementCache(o)}this._onRemovalComplete(o,l.setForRemoval)}o.classList?.contains(vs)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(o=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((m,_)=>this._balanceNamespaceList(m,_)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let m=0;m<this.collectedEnterElements.length;m++)nr(this.collectedEnterElements[m],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const m=[];try{l=this._flushAnimations(m,o)}finally{for(let _=0;_<m.length;_++)m[_]()}}else for(let m=0;m<this.collectedLeaveElements.length;m++)this.processLeaveNode(this.collectedLeaveElements[m]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(m=>m()),this._flushFns=[],this._whenQuietFns.length){const m=this._whenQuietFns;this._whenQuietFns=[],l.length?ar(l).onDone(()=>{m.forEach(_=>_())}):m.forEach(_=>_())}}reportError(o){throw function zn(g){return new c.wOt(3402,!1)}()}_flushAnimations(o,l){const m=new cs,_=[],b=new Map,B=[],Y=new Map,pe=new Map,Ie=new Map,nt=new Set;this.disabledNodes.forEach(dt=>{nt.add(dt);const gt=this.driver.query(dt,".ng-animate-queued",!0);for(let mt=0;mt<gt.length;mt++)nt.add(gt[mt])});const Ye=this.bodyNode,Ht=Array.from(this.statesByElement.keys()),qe=Ji(Ht,this.collectedEnterElements),at=new Map;let vt=0;qe.forEach((dt,gt)=>{const mt=R+vt++;at.set(gt,mt),dt.forEach(cn=>nr(cn,mt))});const $n=[],fr=new Set,mr=new Set;for(let dt=0;dt<this.collectedLeaveElements.length;dt++){const gt=this.collectedLeaveElements[dt],mt=gt[Hr];mt&&mt.setForRemoval&&($n.push(gt),fr.add(gt),mt.hasAnimation?this.driver.query(gt,".ng-star-inserted",!0).forEach(cn=>fr.add(cn)):mr.add(gt))}const Qr=new Map,Fn=Ji(Ht,Array.from(fr));Fn.forEach((dt,gt)=>{const mt=L+vt++;Qr.set(gt,mt),dt.forEach(cn=>nr(cn,mt))}),o.push(()=>{qe.forEach((dt,gt)=>{const mt=at.get(gt);dt.forEach(cn=>qi(cn,mt))}),Fn.forEach((dt,gt)=>{const mt=Qr.get(gt);dt.forEach(cn=>qi(cn,mt))}),$n.forEach(dt=>{this.processLeaveNode(dt)})});const Ro=[],pi=[];for(let dt=this._namespaceList.length-1;dt>=0;dt--)this._namespaceList[dt].drainQueuedTransitions(l).forEach(mt=>{const cn=mt.player,yr=mt.element;if(Ro.push(cn),this.collectedEnterElements.length){const Ir=yr[Hr];if(Ir&&Ir.setForMove){if(Ir.previousTriggersValues&&Ir.previousTriggersValues.has(mt.triggerName)){const ho=Ir.previousTriggersValues.get(mt.triggerName),mi=this.statesByElement.get(mt.element);if(mi&&mi.has(mt.triggerName)){const Lo=mi.get(mt.triggerName);Lo.value=ho,mi.set(mt.triggerName,Lo)}}return void cn.destroy()}}const $i=!Ye||!this.driver.containsElement(Ye,yr),Mr=Qr.get(yr),gi=at.get(yr),Wt=this._buildInstruction(mt,m,gi,Mr,$i);if(Wt.errors&&Wt.errors.length)return void pi.push(Wt);if($i)return cn.onStart(()=>Zn(yr,Wt.fromStyles)),cn.onDestroy(()=>Hn(yr,Wt.toStyles)),void _.push(cn);if(mt.isFallbackTransition)return cn.onStart(()=>Zn(yr,Wt.fromStyles)),cn.onDestroy(()=>Hn(yr,Wt.toStyles)),void _.push(cn);const Fu=[];Wt.timelines.forEach(Ir=>{Ir.stretchStartingKeyframe=!0,this.disabledNodes.has(Ir.element)||Fu.push(Ir)}),Wt.timelines=Fu,m.append(yr,Wt.timelines),B.push({instruction:Wt,player:cn,element:yr}),Wt.queriedElements.forEach(Ir=>Ze(Y,Ir,[]).push(cn)),Wt.preStyleProps.forEach((Ir,ho)=>{if(Ir.size){let mi=pe.get(ho);mi||pe.set(ho,mi=new Set),Ir.forEach((Lo,Gs)=>mi.add(Gs))}}),Wt.postStyleProps.forEach((Ir,ho)=>{let mi=Ie.get(ho);mi||Ie.set(ho,mi=new Set),Ir.forEach((Lo,Gs)=>mi.add(Gs))})});if(pi.length){const dt=[];pi.forEach(gt=>{dt.push(function zt(g,o){return new c.wOt(3505,!1)}())}),Ro.forEach(gt=>gt.destroy()),this.reportError(dt)}const Lr=new Map,os=new Map;B.forEach(dt=>{const gt=dt.element;m.has(gt)&&(os.set(gt,gt),this._beforeAnimationBuild(dt.player.namespaceId,dt.instruction,Lr))}),_.forEach(dt=>{const gt=dt.element;this._getPreviousPlayers(gt,!1,dt.namespaceId,dt.triggerName,null).forEach(cn=>{Ze(Lr,gt,[]).push(cn),cn.destroy()})});const Ii=$n.filter(dt=>io(dt,pe,Ie)),ji=new Map;Qo(ji,this.driver,mr,Ie,xe.kp).forEach(dt=>{io(dt,pe,Ie)&&Ii.push(dt)});const xo=new Map;qe.forEach((dt,gt)=>{Qo(xo,this.driver,new Set(dt),pe,xe.FX)}),Ii.forEach(dt=>{const gt=ji.get(dt),mt=xo.get(dt);ji.set(dt,new Map([...gt?.entries()??[],...mt?.entries()??[]]))});const zs=[],Rl=[],xl={};B.forEach(dt=>{const{element:gt,player:mt,instruction:cn}=dt;if(m.has(gt)){if(nt.has(gt))return mt.onDestroy(()=>Hn(gt,cn.toStyles)),mt.disabled=!0,mt.overrideTotalTime(cn.totalTime),void _.push(mt);let yr=xl;if(os.size>1){let Mr=gt;const gi=[];for(;Mr=Mr.parentNode;){const Wt=os.get(Mr);if(Wt){yr=Wt;break}gi.push(Mr)}gi.forEach(Wt=>os.set(Wt,yr))}const $i=this._buildAnimation(mt.namespaceId,cn,Lr,b,xo,ji);if(mt.setRealPlayer($i),yr===xl)zs.push(mt);else{const Mr=this.playersByElement.get(yr);Mr&&Mr.length&&(mt.parentPlayer=ar(Mr)),_.push(mt)}}else Zn(gt,cn.fromStyles),mt.onDestroy(()=>Hn(gt,cn.toStyles)),Rl.push(mt),nt.has(gt)&&_.push(mt)}),Rl.forEach(dt=>{const gt=b.get(dt.element);if(gt&&gt.length){const mt=ar(gt);dt.setRealPlayer(mt)}}),_.forEach(dt=>{dt.parentPlayer?dt.syncPlayerEvents(dt.parentPlayer):dt.destroy()});for(let dt=0;dt<$n.length;dt++){const gt=$n[dt],mt=gt[Hr];if(qi(gt,L),mt&&mt.hasAnimation)continue;let cn=[];if(Y.size){let $i=Y.get(gt);$i&&$i.length&&cn.push(...$i);let Mr=this.driver.query(gt,bt,!0);for(let gi=0;gi<Mr.length;gi++){let Wt=Y.get(Mr[gi]);Wt&&Wt.length&&cn.push(...Wt)}}const yr=cn.filter($i=>!$i.destroyed);yr.length?Xo(this,gt,yr):this.processLeaveNode(gt)}return $n.length=0,zs.forEach(dt=>{this.players.push(dt),dt.onDone(()=>{dt.destroy();const gt=this.players.indexOf(dt);this.players.splice(gt,1)}),dt.play()}),zs}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,l,m,_,b){let B=[];if(l){const Y=this.playersByQueriedElement.get(o);Y&&(B=Y)}else{const Y=this.playersByElement.get(o);if(Y){const pe=!b||b==qr;Y.forEach(Ie=>{Ie.queued||!pe&&Ie.triggerName!=_||B.push(Ie)})}}return(m||_)&&(B=B.filter(Y=>!(m&&m!=Y.namespaceId||_&&_!=Y.triggerName))),B}_beforeAnimationBuild(o,l,m){const b=l.element,B=l.isRemovalTransition?void 0:o,Y=l.isRemovalTransition?void 0:l.triggerName;for(const pe of l.timelines){const Ie=pe.element,nt=Ie!==b,Ye=Ze(m,Ie,[]);this._getPreviousPlayers(Ie,nt,B,Y,l.toState).forEach(qe=>{const at=qe.getRealPlayer();at.beforeDestroy&&at.beforeDestroy(),qe.destroy(),Ye.push(qe)})}Zn(b,l.fromStyles)}_buildAnimation(o,l,m,_,b,B){const Y=l.triggerName,pe=l.element,Ie=[],nt=new Set,Ye=new Set,Ht=l.timelines.map(at=>{const vt=at.element;nt.add(vt);const $n=vt[Hr];if($n&&$n.removedBeforeQueried)return new xe.sf(at.duration,at.delay);const fr=vt!==pe,mr=function es(g){const o=[];return ts(g,o),o}((m.get(vt)||no).map(Lr=>Lr.getRealPlayer())).filter(Lr=>!!Lr.element&&Lr.element===vt),Qr=b.get(vt),Fn=B.get(vt),Ro=Br(this._normalizer,at.keyframes,Qr,Fn),pi=this._buildPlayer(at,Ro,mr);if(at.subTimeline&&_&&Ye.add(vt),fr){const Lr=new Eo(o,Y,vt);Lr.setRealPlayer(pi),Ie.push(Lr)}return pi});Ie.forEach(at=>{Ze(this.playersByQueriedElement,at.element,[]).push(at),at.onDone(()=>function wa(g,o,l){let m=g.get(o);if(m){if(m.length){const _=m.indexOf(l);m.splice(_,1)}0==m.length&&g.delete(o)}return m}(this.playersByQueriedElement,at.element,at))}),nt.forEach(at=>nr(at,ut));const qe=ar(Ht);return qe.onDestroy(()=>{nt.forEach(at=>qi(at,ut)),Hn(pe,l.toStyles)}),Ye.forEach(at=>{Ze(_,at,[]).push(qe)}),qe}_buildPlayer(o,l,m){return l.length>0?this.driver.animate(o.element,l,o.duration,o.delay,o.easing,m):new xe.sf(o.duration,o.delay)}}class Eo{constructor(o,l,m){this.namespaceId=o,this.triggerName=l,this.element=m,this._player=new xe.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((l,m)=>{l.forEach(_=>Yn(o,m,void 0,_))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const l=this._player;l.triggerCallback&&o.onStart(()=>l.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,l){Ze(this._queuedCallbacks,o,[]).push(l)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const l=this._player;l.triggerCallback&&l.triggerCallback(o)}}function Es(g){return g&&1===g.nodeType}function Do(g,o){const l=g.style.display;return g.style.display=o??"none",l}function Qo(g,o,l,m,_){const b=[];l.forEach(pe=>b.push(Do(pe)));const B=[];m.forEach((pe,Ie)=>{const nt=new Map;pe.forEach(Ye=>{const Ht=o.computeStyle(Ie,Ye,_);nt.set(Ye,Ht),(!Ht||0==Ht.length)&&(Ie[Hr]=_a,B.push(Ie))}),g.set(Ie,nt)});let Y=0;return l.forEach(pe=>Do(pe,b[Y++])),B}function Ji(g,o){const l=new Map;if(g.forEach(Y=>l.set(Y,[])),0==o.length)return l;const _=new Set(o),b=new Map;function B(Y){if(!Y)return 1;let pe=b.get(Y);if(pe)return pe;const Ie=Y.parentNode;return pe=l.has(Ie)?Ie:_.has(Ie)?1:B(Ie),b.set(Y,pe),pe}return o.forEach(Y=>{const pe=B(Y);1!==pe&&l.get(pe).push(Y)}),l}function nr(g,o){g.classList?.add(o)}function qi(g,o){g.classList?.remove(o)}function Xo(g,o,l){ar(l).onDone(()=>g.processLeaveNode(o))}function ts(g,o){for(let l=0;l<g.length;l++){const m=g[l];m instanceof xe.ui?ts(m.players,o):o.push(m)}}function io(g,o,l){const m=l.get(g);if(!m)return!1;let _=o.get(g);return _?m.forEach(b=>_.add(b)):o.set(g,m),l.delete(g),!0}class Mt{constructor(o,l,m){this._driver=l,this._normalizer=m,this._triggerCache={},this.onRemovalComplete=(_,b)=>{},this._transitionEngine=new Zi(o.body,l,m),this._timelineEngine=new ui(o.body,l,m),this._transitionEngine.onRemovalComplete=(_,b)=>this.onRemovalComplete(_,b)}registerTrigger(o,l,m,_,b){const B=o+"-"+_;let Y=this._triggerCache[B];if(!Y){const pe=[],nt=N(this._driver,b,pe,[]);if(pe.length)throw function ln(g,o){return new c.wOt(3404,!1)}();Y=function Ko(g,o,l){return new zo(g,o,l)}(_,nt,this._normalizer),this._triggerCache[B]=Y}this._transitionEngine.registerTrigger(l,_,Y)}register(o,l){this._transitionEngine.register(o,l)}destroy(o,l){this._transitionEngine.destroy(o,l)}onInsert(o,l,m,_){this._transitionEngine.insertNode(o,l,m,_)}onRemove(o,l,m){this._transitionEngine.removeNode(o,l,m)}disableAnimations(o,l){this._transitionEngine.markElementAsDisabled(o,l)}process(o,l,m,_){if("@"==m.charAt(0)){const[b,B]=Gt(m);this._timelineEngine.command(b,l,B,_)}else this._transitionEngine.trigger(o,l,m,_)}listen(o,l,m,_,b){if("@"==m.charAt(0)){const[B,Y]=Gt(m);return this._timelineEngine.listen(B,l,Y,b)}return this._transitionEngine.listen(o,l,m,_,b)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(o){this._transitionEngine.afterFlushAnimationsDone(o)}}let cr=(()=>{class g{static{this.initialStylesByElement=new WeakMap}constructor(l,m,_){this._element=l,this._startStyles=m,this._endStyles=_,this._state=0;let b=g.initialStylesByElement.get(l);b||g.initialStylesByElement.set(l,b=new Map),this._initialStyles=b}start(){this._state<1&&(this._startStyles&&Hn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Hn(this._element,this._initialStyles),this._endStyles&&(Hn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(g.initialStylesByElement.delete(this._element),this._startStyles&&(Zn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zn(this._element,this._endStyles),this._endStyles=null),Hn(this._element,this._initialStyles),this._state=3)}}return g})();function tn(g){let o=null;return g.forEach((l,m)=>{(function wr(g){return"display"===g||"position"===g})(m)&&(o=o||new Map,o.set(m,l))}),o}class Co{constructor(o,l,m,_){this.element=o,this.keyframes=l,this.options=m,this._specialStyles=_,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=m.duration,this._delay=m.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map;const l=()=>this._onFinish();this.domPlayer.addEventListener("finish",l),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",l)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const l=[];return o.forEach(m=>{l.push(Object.fromEntries(m))}),l}_triggerWebAnimation(o,l,m){return o.animate(this._convertKeyframesToObject(l),m)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((m,_)=>{"offset"!==_&&o.set(_,this._finished?m:ht(this.element,_))}),this.currentSnapshot=o}triggerCallback(o){const l="start"===o?this._onStartFns:this._onDoneFns;l.forEach(m=>m()),l.length=0}}class so{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}matchesElement(o,l){return!1}containsElement(o,l){return jr(o,l)}getParentElement(o){return wt(o)}query(o,l,m){return ur(o,l,m)}computeStyle(o,l,m){return window.getComputedStyle(o)[l]}animate(o,l,m,_,b,B=[]){const pe={duration:m,delay:_,fill:0==_?"both":"forwards"};b&&(pe.easing=b);const Ie=new Map,nt=B.filter(qe=>qe instanceof Co);(function Ne(g,o){return 0===g||0===o})(m,_)&&nt.forEach(qe=>{qe.currentSnapshot.forEach((at,vt)=>Ie.set(vt,at))});let Ye=function Ki(g){return g.length?g[0]instanceof Map?g:g.map(o=>Dr(o)):[]}(l).map(qe=>kn(qe));Ye=function je(g,o,l){if(l.size&&o.length){let m=o[0],_=[];if(l.forEach((b,B)=>{m.has(B)||_.push(B),m.set(B,b)}),_.length)for(let b=1;b<o.length;b++){let B=o[b];_.forEach(Y=>B.set(Y,ht(g,Y)))}}return o}(o,Ye,Ie);const Ht=function Jn(g,o){let l=null,m=null;return Array.isArray(o)&&o.length?(l=tn(o[0]),o.length>1&&(m=tn(o[o.length-1]))):o instanceof Map&&(l=tn(o)),l||m?new cr(g,l,m):null}(o,Ye);return new Co(o,Ye,pe,Ht)}}const Ln="@.disabled";class Ke{constructor(o,l,m,_){this.namespaceId=o,this.delegate=l,this.engine=m,this._onDestroy=_,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(o){this.delegate.destroyNode?.(o)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(o,l){return this.delegate.createElement(o,l)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,l){this.delegate.appendChild(o,l),this.engine.onInsert(this.namespaceId,l,o,!1)}insertBefore(o,l,m,_=!0){this.delegate.insertBefore(o,l,m),this.engine.onInsert(this.namespaceId,l,o,_)}removeChild(o,l,m){this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(o,l){return this.delegate.selectRootElement(o,l)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,l,m,_){this.delegate.setAttribute(o,l,m,_)}removeAttribute(o,l,m){this.delegate.removeAttribute(o,l,m)}addClass(o,l){this.delegate.addClass(o,l)}removeClass(o,l){this.delegate.removeClass(o,l)}setStyle(o,l,m,_){this.delegate.setStyle(o,l,m,_)}removeStyle(o,l,m){this.delegate.removeStyle(o,l,m)}setProperty(o,l,m){"@"==l.charAt(0)&&l==Ln?this.disableAnimations(o,!!m):this.delegate.setProperty(o,l,m)}setValue(o,l){this.delegate.setValue(o,l)}listen(o,l,m){return this.delegate.listen(o,l,m)}disableAnimations(o,l){this.engine.disableAnimations(o,l)}}class pt extends Ke{constructor(o,l,m,_,b){super(l,m,_,b),this.factory=o,this.namespaceId=l}setProperty(o,l,m){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Ln?this.disableAnimations(o,m=void 0===m||!!m):this.engine.process(this.namespaceId,o,l.slice(1),m):this.delegate.setProperty(o,l,m)}listen(o,l,m){if("@"==l.charAt(0)){const _=function Mn(g){switch(g){case"body":return document.body;case"document":return document;case"window":return window;default:return g}}(o);let b=l.slice(1),B="";return"@"!=b.charAt(0)&&([b,B]=function ei(g){const o=g.indexOf(".");return[g.substring(0,o),g.slice(o+1)]}(b)),this.engine.listen(this.namespaceId,_,b,B,Y=>{this.factory.scheduleListenerCallback(Y._data||-1,m,Y)})}return this.delegate.listen(o,l,m)}}class rr{constructor(o,l,m){this.delegate=o,this.engine=l,this._zone=m,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,l.onRemovalComplete=(_,b)=>{const B=b?.parentNode(_);B&&b.removeChild(B,_)}}createRenderer(o,l){const _=this.delegate.createRenderer(o,l);if(!o||!l?.data?.animation){const Ie=this._rendererCache;let nt=Ie.get(_);return nt||(nt=new Ke("",_,this.engine,()=>Ie.delete(_)),Ie.set(_,nt)),nt}const b=l.id,B=l.id+"-"+this._currentId;this._currentId++,this.engine.register(B,o);const Y=Ie=>{Array.isArray(Ie)?Ie.forEach(Y):this.engine.registerTrigger(b,B,o,Ie.name,Ie)};return l.data.animation.forEach(Y),new pt(this,B,_,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(o,l,m){if(o>=0&&o<this._microtaskId)return void this._zone.run(()=>l(m));const _=this._animationCallbacksBuffer;0==_.length&&queueMicrotask(()=>{this._zone.run(()=>{_.forEach(b=>{const[B,Y]=b;B(Y)}),this._animationCallbacksBuffer=[]})}),_.push([l,m])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const Kn=[{provide:er,useFactory:function ns(){return new Qt}},{provide:Mt,useClass:(()=>{class g extends Mt{constructor(l,m,_,b){super(l,m,_)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(m){return new(m||g)(c.KVO(j.qQ),c.KVO(Dn),c.KVO(er),c.KVO(c.o8S))}}static{this.\u0275prov=c.jDH({token:g,factory:g.\u0275fac})}}return g})()},{provide:c._9s,useFactory:function on(g,o,l){return new rr(g,o,l)},deps:[I.B7,Mt,c.SKi]}],Ni=[{provide:Dn,useFactory:()=>new so},{provide:c.bc$,useValue:"BrowserAnimations"},...Kn];var Gr=E(852),Ri=E(6244);let ci=(()=>{class g{constructor(l){this.injector=l}intercept(l,m){const _=this.injector.get(Gr.c$);return m.handle(_&&_.currentLang?l.clone({headers:l.headers.set("Accept-Language",_.currentLang)}):l)}static{this.\u0275fac=function(m){return new(m||g)(c.KVO(c.zZn))}}static{this.\u0275prov=c.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();var wi=E(7919),ao=E(1318);const Ti=g=>g&&g.keys&&"function"==typeof g.keys&&g.keys().length?g.keys().reduce((o,l)=>({...o,[l]:g.get(l)}),{}):{};let lo=(()=>{class g{intercept(l,m){return m.handle(l).pipe((0,ao.W)(_=>(console.error(`\nError fetching.\n\nREQUEST\nURL: ${l.urlWithParams}\nMethod: ${l.method}\nHeaders: ${JSON.stringify(Ti(l.headers))}\nPayload: ${JSON.stringify(l.body)}\n\nRESPONSE\nStatus: ${_.status}\nStatus text: ${_.statusText}\nMessage: ${_.message}\nHeaders: ${JSON.stringify(Ti(_.headers))}\nPayload: ${JSON.stringify(_.error)}`),(0,wi.$)(()=>_))))}static{this.\u0275fac=function(m){return new(m||g)}}static{this.\u0275prov=c.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();var xi=E(9452),Et=E(819),rs=E(1687),Cs=E(1440),ri=E(3942),uo=E(7092);class ws extends uo.yU{constructor(o,l){super()}schedule(o,l=0){return this}}const In={setInterval(g,o,...l){const{delegate:m}=In;return m?.setInterval?m.setInterval(g,o,...l):setInterval(g,o,...l)},clearInterval(g){const{delegate:o}=In;return(o?.clearInterval||clearInterval)(g)},delegate:void 0};var Ts=E(967),ir=E(5152);class Li{constructor(o,l=Li.now){this.schedulerActionCtor=o,this.now=l}schedule(o,l=0,m){return new this.schedulerActionCtor(this,o).schedule(m,l)}}Li.now=ir.U.now;const ii=new class Ss extends Li{constructor(o,l=Li.now){super(o,l),this.actions=[],this._active=!1}flush(o){const{actions:l}=this;if(this._active)return void l.push(o);let m;this._active=!0;do{if(m=o.execute(o.state,o.delay))break}while(o=l.shift());if(this._active=!1,m){for(;o=l.shift();)o.unsubscribe();throw m}}}(class dr extends ws{constructor(o,l){super(o,l),this.scheduler=o,this.work=l,this.pending=!1}schedule(o,l=0){var m;if(this.closed)return this;this.state=o;const _=this.id,b=this.scheduler;return null!=_&&(this.id=this.recycleAsyncId(b,_,l)),this.pending=!0,this.delay=l,this.id=null!==(m=this.id)&&void 0!==m?m:this.requestAsyncId(b,this.id,l),this}requestAsyncId(o,l,m=0){return In.setInterval(o.flush.bind(o,this),m)}recycleAsyncId(o,l,m=0){if(null!=m&&this.delay===m&&!1===this.pending)return l;null!=l&&In.clearInterval(l)}execute(o,l){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const m=this._execute(o,l);if(m)return m;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(o,l){let _,m=!1;try{this.work(o)}catch(b){m=!0,_=b||new Error("Scheduled action threw falsy error")}if(m)return this.unsubscribe(),_}unsubscribe(){if(!this.closed){const{id:o,scheduler:l}=this,{actions:m}=l;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Ts.o)(m,this),null!=o&&(this.id=this.recycleAsyncId(l,o,null)),this.delay=null,super.unsubscribe()}}});var Fi=E(9397);var M=E(2645);let T=(()=>{class g{intercept(l,m){return m.handle(l).pipe(function D(g=1/0){let o;o=g&&"object"==typeof g?g:{count:g};const{count:l=1/0,delay:m,resetOnSuccess:_=!1}=o;return l<=0?Cs.D:(0,Et.N)((b,B)=>{let pe,Y=0;const Ie=()=>{let nt=!1;pe=b.subscribe((0,rs._)(B,Ye=>{_&&(Y=0),B.next(Ye)},void 0,Ye=>{if(Y++<l){const Ht=()=>{pe?(pe.unsubscribe(),pe=null,Ie()):nt=!0};if(null!=m){const qe="number"==typeof m?function p(g=0,o,l=ii){let m=-1;return null!=o&&((0,Fi.m)(o)?l=o:m=o),new ri.c(_=>{let b=function Sa(g){return g instanceof Date&&!isNaN(g)}(g)?+g-l.now():g;b<0&&(b=0);let B=0;return l.schedule(function(){_.closed||(_.next(B++),0<=m?this.schedule(void 0,m):_.complete())},b)})}(m):(0,M.Tg)(m(Ye,Y)),at=(0,rs._)(B,()=>{at.unsubscribe(),Ht()},()=>{B.complete()});qe.subscribe(at)}else Ht()}else B.error(Ye)})),nt&&(pe.unsubscribe(),pe=null,Ie())};Ie()})}({count:2,delay:_=>_.status?(0,wi.$)(()=>_):(console.log(`Retrying ${l.urlWithParams}`),(0,xi.of)(100))}))}static{this.\u0275fac=function(m){return new(m||g)}}static{this.\u0275prov=c.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();var H=E(6647),Ce=E(1873),Re=E(1136),it=E(5312),an=E(839);let Yt=(()=>{class g{static{this.\u0275fac=function(m){return new(m||g)}}static{this.\u0275cmp=c.VBU({type:g,selectors:[["ng-component"]],decls:0,vars:0,template:function(m,_){},encapsulation:2})}}return g})();const fn=[{path:"",canActivate:[(g,o)=>{const l=(0,c.WQX)(K.Ix),m=(0,c.WQX)(Gr.c$);return l.navigateByUrl(`/${m.defaultLang}${"/"===o.url?"":o.url}`,{replaceUrl:!0})}],component:Yt},{path:"setPassword",canActivate:[(g,o)=>{(0,re.zk)().location.replace(`${it.c.apiDomain}/${o.url}`)}],component:Yt},...an.i.map(({language:g,user:o,profile:l,favorites:m,orders:_,basket:b,address:B,login:Y,search:pe,create:Ie,logout:nt,"embed-dashboard":Ye,"forgot-password":Ht})=>({path:g,resolve:[()=>{const qe=(0,c.WQX)(Gr.c$);return(0,c.WQX)(Re.F).setPageLanguage(g),qe.use(g)}],children:[{path:"",loadComponent:()=>Promise.all([E.e(130),E.e(127),E.e(833),E.e(376),E.e(190),E.e(304)]).then(E.bind(E,1304)).then(qe=>qe.PageComponent)},{path:`${pe}`,loadComponent:()=>Promise.all([E.e(130),E.e(127),E.e(833),E.e(190),E.e(327)]).then(E.bind(E,7327)).then(qe=>qe.SearchComponent)},{path:`${o}/${nt}`,resolve:[()=>{const qe=(0,c.WQX)(ee.D),at=(0,c.WQX)(K.Ix);return qe.isLoggedIn()?qe.logout().pipe((0,H.n)(()=>at.navigateByUrl("/",{replaceUrl:!0}))):at.navigateByUrl("/",{replaceUrl:!0})}],component:Yt},{path:"",canActivate:[(qe,at)=>!(0,c.WQX)(ee.D).isLoggedIn()||(0,c.WQX)(K.Ix).navigateByUrl(`/${g}/${o}/${l}`,{replaceUrl:!0})],children:[{path:`${o}/${Y}`,loadComponent:()=>Promise.all([E.e(130),E.e(193)]).then(E.bind(E,7193)).then(qe=>qe.UserLoginComponent)},{path:`${o}/${Ie}`,loadComponent:()=>Promise.all([E.e(130),E.e(76),E.e(401)]).then(E.bind(E,7401)).then(qe=>qe.UserCreateComponent)},{path:`${o}/${Ht}`,loadComponent:()=>Promise.all([E.e(130),E.e(76),E.e(701)]).then(E.bind(E,3701)).then(qe=>qe.UserForgotPasswordComponent)}]},{path:"",canActivate:[(qe,at)=>!!(0,c.WQX)(ee.D).isLoggedIn()||(0,c.WQX)(K.Ix).navigateByUrl(`/${g}/${o}/${Y}?redirect=${encodeURIComponent(at.url)}`,{replaceUrl:!0})],children:[{path:b,loadComponent:()=>Promise.all([E.e(130),E.e(127),E.e(376),E.e(875)]).then(E.bind(E,3875)).then(qe=>qe.BasketComponent)},{path:`${b}/${B}`,loadComponent:()=>Promise.all([E.e(130),E.e(207)]).then(E.bind(E,9207)).then(qe=>qe.BasketAddressComponent)},{path:o,redirectTo:`${o}/${l}`,pathMatch:"full"},{path:`${o}/${l}`,loadComponent:()=>Promise.all([E.e(130),E.e(95),E.e(72)]).then(E.bind(E,72)).then(qe=>qe.UserProfileComponent)},{path:`${o}/${m}`,loadComponent:()=>Promise.all([E.e(130),E.e(95),E.e(127),E.e(833),E.e(601)]).then(E.bind(E,3601)).then(qe=>qe.UserFavListComponent)},{path:`${o}/${Ye}`,loadComponent:()=>Promise.all([E.e(130),E.e(95),E.e(756)]).then(E.bind(E,1756)).then(qe=>qe.EmbedDashboardComponent)},{path:`${o}/${_}`,loadComponent:()=>Promise.all([E.e(130),E.e(95),E.e(78)]).then(E.bind(E,78)).then(qe=>qe.UserOrdersComponent)}]},{path:":key",loadComponent:()=>Promise.all([E.e(130),E.e(127),E.e(833),E.e(376),E.e(190),E.e(304)]).then(E.bind(E,1304)).then(qe=>qe.PageComponent)}]})),{path:"**",loadComponent:()=>Promise.all([E.e(130),E.e(127),E.e(833),E.e(376),E.e(190),E.e(304)]).then(E.bind(E,1304)).then(g=>g.PageComponent),data:{404:!0}}];var $t=E(9761);let jn=(()=>{class g{static{this.\u0275fac=function(m){return new(m||g)}}static{this.\u0275mod=c.$C({type:g})}static{this.\u0275inj=c.G2t({providers:[$t.o],imports:[j.MD]})}}return g})();var Vt=E(241);function vn(){const g=Vt.OW,o=g.crypto||g.msCrypto;let l=()=>16*Math.random();try{if(o&&o.randomUUID)return o.randomUUID().replace(/-/g,"");o&&o.getRandomValues&&(l=()=>o.getRandomValues(new Uint8Array(1))[0])}catch{}return"10000000100040008000100000000000".replace(/[018]/g,m=>(m^(15&l())>>m/4).toString(16))}var So=E(1349);const Zo=["debug","info","warn","error","log","assert","trace"],js={};function Jo(g){if(!("console"in Vt.OW))return g();const o=Vt.OW.console,l={},m=Object.keys(js);m.forEach(_=>{const b=js[_];l[_]=o[_],o[_]=b});try{return g()}finally{m.forEach(_=>{o[_]=l[_]})}}const Io=function Ma(){let g=!1;const o={enable:()=>{g=!0},disable:()=>{g=!1},isEnabled:()=>g};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Zo.forEach(l=>{o[l]=(...m)=>{g&&Jo(()=>{Vt.OW.console[l](`Sentry Logger [${l}]:`,...m)})}}):Zo.forEach(l=>{o[l]=()=>{}}),o}(),Il="production",Rr=Object.prototype.toString;function Tr(g){return function xr(g,o){return Rr.call(g)===`[object ${o}]`}(g,"Object")}function Wr(g){return!(!g||!g.then||"function"!=typeof g.then)}var Ui,g;(g=Ui||(Ui={}))[g.PENDING=0]="PENDING",g[g.RESOLVED=1]="RESOLVED",g[g.REJECTED=2]="REJECTED";class si{constructor(o){si.prototype.__init.call(this),si.prototype.__init2.call(this),si.prototype.__init3.call(this),si.prototype.__init4.call(this),this._state=Ui.PENDING,this._handlers=[];try{o(this._resolve,this._reject)}catch(l){this._reject(l)}}then(o,l){return new si((m,_)=>{this._handlers.push([!1,b=>{if(o)try{m(o(b))}catch(B){_(B)}else m(b)},b=>{if(l)try{m(l(b))}catch(B){_(B)}else _(b)}]),this._executeHandlers()})}catch(o){return this.then(l=>l,o)}finally(o){return new si((l,m)=>{let _,b;return this.then(B=>{b=!1,_=B,o&&o()},B=>{b=!0,_=B,o&&o()}).then(()=>{b?m(_):l(_)})})}__init(){this._resolve=o=>{this._setResult(Ui.RESOLVED,o)}}__init2(){this._reject=o=>{this._setResult(Ui.REJECTED,o)}}__init3(){this._setResult=(o,l)=>{if(this._state===Ui.PENDING){if(Wr(l))return void l.then(this._resolve,this._reject);this._state=o,this._value=l,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Ui.PENDING)return;const o=this._handlers.slice();this._handlers=[],o.forEach(l=>{l[0]||(this._state===Ui.RESOLVED&&l[1](this._value),this._state===Ui.REJECTED&&l[2](this._value),l[0]=!0)})}}}function co(g,o,l,m=0){return new si((_,b)=>{const B=g[m];if(null===o||"function"!=typeof B)_(o);else{const Y=B({...o},l);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&B.id&&null===Y&&Io.log(`Event processor "${B.id}" dropped event`),Wr(Y)?Y.then(pe=>co(g,pe,l,m+1).then(_)).then(null,b):co(g,Y,l,m+1).then(_).then(null,b)}})}function Aa(g){return sa(g,new Map)}function sa(g,o){if(Tr(g)){const l=o.get(g);if(void 0!==l)return l;const m={};o.set(g,m);for(const _ of Object.keys(g))typeof g[_]<"u"&&(m[_]=sa(g[_],o));return m}if(Array.isArray(g)){const l=o.get(g);if(void 0!==l)return l;const m=[];return o.set(g,m),g.forEach(_=>{m.push(sa(_,o))}),m}return g}function Pe(g,o={}){if(o.user&&(!g.ipAddress&&o.user.ip_address&&(g.ipAddress=o.user.ip_address),!g.did&&!o.did&&(g.did=o.user.id||o.user.email||o.user.username)),g.timestamp=o.timestamp||(0,So.zf)(),o.abnormal_mechanism&&(g.abnormal_mechanism=o.abnormal_mechanism),o.ignoreDuration&&(g.ignoreDuration=o.ignoreDuration),o.sid&&(g.sid=32===o.sid.length?o.sid:vn()),void 0!==o.init&&(g.init=o.init),!g.did&&o.did&&(g.did=`${o.did}`),"number"==typeof o.started&&(g.started=o.started),g.ignoreDuration)g.duration=void 0;else if("number"==typeof o.duration)g.duration=o.duration;else{const l=g.timestamp-g.started;g.duration=l>=0?l:0}o.release&&(g.release=o.release),o.environment&&(g.environment=o.environment),!g.ipAddress&&o.ipAddress&&(g.ipAddress=o.ipAddress),!g.userAgent&&o.userAgent&&(g.userAgent=o.userAgent),"number"==typeof o.errors&&(g.errors=o.errors),o.status&&(g.status=o.status)}class Jt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=oa()}static clone(o){const l=new Jt;return o&&(l._breadcrumbs=[...o._breadcrumbs],l._tags={...o._tags},l._extra={...o._extra},l._contexts={...o._contexts},l._user=o._user,l._level=o._level,l._span=o._span,l._session=o._session,l._transactionName=o._transactionName,l._fingerprint=o._fingerprint,l._eventProcessors=[...o._eventProcessors],l._requestSession=o._requestSession,l._attachments=[...o._attachments],l._sdkProcessingMetadata={...o._sdkProcessingMetadata},l._propagationContext={...o._propagationContext}),l}addScopeListener(o){this._scopeListeners.push(o)}addEventProcessor(o){return this._eventProcessors.push(o),this}setUser(o){return this._user=o||{},this._session&&Pe(this._session,{user:o}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(o){return this._requestSession=o,this}setTags(o){return this._tags={...this._tags,...o},this._notifyScopeListeners(),this}setTag(o,l){return this._tags={...this._tags,[o]:l},this._notifyScopeListeners(),this}setExtras(o){return this._extra={...this._extra,...o},this._notifyScopeListeners(),this}setExtra(o,l){return this._extra={...this._extra,[o]:l},this._notifyScopeListeners(),this}setFingerprint(o){return this._fingerprint=o,this._notifyScopeListeners(),this}setLevel(o){return this._level=o,this._notifyScopeListeners(),this}setTransactionName(o){return this._transactionName=o,this._notifyScopeListeners(),this}setContext(o,l){return null===l?delete this._contexts[o]:this._contexts[o]=l,this._notifyScopeListeners(),this}setSpan(o){return this._span=o,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const o=this.getSpan();return o&&o.transaction}setSession(o){return o?this._session=o:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(o){if(!o)return this;if("function"==typeof o){const l=o(this);return l instanceof Jt?l:this}return o instanceof Jt?(this._tags={...this._tags,...o._tags},this._extra={...this._extra,...o._extra},this._contexts={...this._contexts,...o._contexts},o._user&&Object.keys(o._user).length&&(this._user=o._user),o._level&&(this._level=o._level),o._fingerprint&&(this._fingerprint=o._fingerprint),o._requestSession&&(this._requestSession=o._requestSession),o._propagationContext&&(this._propagationContext=o._propagationContext)):Tr(o)&&(this._tags={...this._tags,...o.tags},this._extra={...this._extra,...o.extra},this._contexts={...this._contexts,...o.contexts},o.user&&(this._user=o.user),o.level&&(this._level=o.level),o.fingerprint&&(this._fingerprint=o.fingerprint),o.requestSession&&(this._requestSession=o.requestSession),o.propagationContext&&(this._propagationContext=o.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=oa(),this}addBreadcrumb(o,l){const m="number"==typeof l?l:100;if(m<=0)return this;const _={timestamp:(0,So.lu)(),...o},b=this._breadcrumbs;return b.push(_),this._breadcrumbs=b.length>m?b.slice(-m):b,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(o){return this._attachments.push(o),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(o,l={},m){if(this._extra&&Object.keys(this._extra).length&&(o.extra={...this._extra,...o.extra}),this._tags&&Object.keys(this._tags).length&&(o.tags={...this._tags,...o.tags}),this._user&&Object.keys(this._user).length&&(o.user={...this._user,...o.user}),this._contexts&&Object.keys(this._contexts).length&&(o.contexts={...this._contexts,...o.contexts}),this._level&&(o.level=this._level),this._transactionName&&(o.transaction=this._transactionName),this._span){o.contexts={trace:this._span.getTraceContext(),...o.contexts};const B=this._span.transaction;if(B){o.sdkProcessingMetadata={dynamicSamplingContext:B.getDynamicSamplingContext(),...o.sdkProcessingMetadata};const Y=B.name;Y&&(o.tags={transaction:Y,...o.tags})}}this._applyFingerprint(o);const _=this._getBreadcrumbs(),b=[...o.breadcrumbs||[],..._];return o.breadcrumbs=b.length>0?b:void 0,o.sdkProcessingMetadata={...o.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},co([...m||[],...(0,Vt.BY)("globalEventProcessors",()=>[]),...this._eventProcessors],o,l)}setSDKProcessingMetadata(o){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...o},this}setPropagationContext(o){return this._propagationContext=o,this}getPropagationContext(){return this._propagationContext}_getBreadcrumbs(){return this._breadcrumbs}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(o=>{o(this)}),this._notifyingListeners=!1)}_applyFingerprint(o){o.fingerprint=o.fingerprint?function Ms(g){return Array.isArray(g)?g:[g]}(o.fingerprint):[],this._fingerprint&&(o.fingerprint=o.fingerprint.concat(this._fingerprint)),o.fingerprint&&!o.fingerprint.length&&delete o.fingerprint}}function oa(){return{traceId:vn(),spanId:vn().substring(16)}}const Hs=4,Bi=100;class Ao{constructor(o,l=new Jt,m=Hs){this._version=m,this._stack=[{scope:l}],o&&this.bindClient(o)}isOlderThan(o){return this._version<o}bindClient(o){this.getStackTop().client=o,o&&o.setupIntegrations&&o.setupIntegrations()}pushScope(){const o=Jt.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:o}),o}popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}withScope(o){const l=this.pushScope();try{o(l)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(o,l){const m=this._lastEventId=l&&l.event_id?l.event_id:vn(),_=new Error("Sentry syntheticException");return this._withClient((b,B)=>{b.captureException(o,{originalException:o,syntheticException:_,...l,event_id:m},B)}),m}captureMessage(o,l,m){const _=this._lastEventId=m&&m.event_id?m.event_id:vn(),b=new Error(o);return this._withClient((B,Y)=>{B.captureMessage(o,l,{originalException:o,syntheticException:b,...m,event_id:_},Y)}),_}captureEvent(o,l){const m=l&&l.event_id?l.event_id:vn();return o.type||(this._lastEventId=m),this._withClient((_,b)=>{_.captureEvent(o,{...l,event_id:m},b)}),m}lastEventId(){return this._lastEventId}addBreadcrumb(o,l){const{scope:m,client:_}=this.getStackTop();if(!_)return;const{beforeBreadcrumb:b=null,maxBreadcrumbs:B=Bi}=_.getOptions&&_.getOptions()||{};if(B<=0)return;const pe={timestamp:(0,So.lu)(),...o},Ie=b?Jo(()=>b(pe,l)):pe;null!==Ie&&(_.emit&&_.emit("beforeAddBreadcrumb",Ie,l),m.addBreadcrumb(Ie,B))}setUser(o){this.getScope().setUser(o)}setTags(o){this.getScope().setTags(o)}setExtras(o){this.getScope().setExtras(o)}setTag(o,l){this.getScope().setTag(o,l)}setExtra(o,l){this.getScope().setExtra(o,l)}setContext(o,l){this.getScope().setContext(o,l)}configureScope(o){const{scope:l,client:m}=this.getStackTop();m&&o(l)}run(o){const l=Ol(this);try{o(this)}finally{Ol(l)}}getIntegration(o){const l=this.getClient();if(!l)return null;try{return l.getIntegration(o)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Io.warn(`Cannot retrieve integration ${o.id} from the current Hub`),null}}startTransaction(o,l){const m=this._callExtensionMethod("startTransaction",o,l);if((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&!m){const _=this.getClient();console.warn(_?"Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n":"Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return m}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(o=!1){if(o)return this.endSession();this._sendSessionUpdate()}endSession(){const l=this.getStackTop().scope,m=l.getSession();m&&function Zt(g,o){let l={};o?l={status:o}:"ok"===g.status&&(l={status:"exited"}),Pe(g,l)}(m),this._sendSessionUpdate(),l.setSession()}startSession(o){const{scope:l,client:m}=this.getStackTop(),{release:_,environment:b=Il}=m&&m.getOptions()||{},{userAgent:B}=Vt.OW.navigator||{},Y=function Al(g){const o=(0,So.zf)(),l={sid:vn(),init:!0,timestamp:o,started:o,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function Oa(g){return Aa({sid:`${g.sid}`,init:g.init,started:new Date(1e3*g.started).toISOString(),timestamp:new Date(1e3*g.timestamp).toISOString(),status:g.status,errors:g.errors,did:"number"==typeof g.did||"string"==typeof g.did?`${g.did}`:void 0,duration:g.duration,abnormal_mechanism:g.abnormal_mechanism,attrs:{release:g.release,environment:g.environment,ip_address:g.ipAddress,user_agent:g.userAgent}})}(l)};return g&&Pe(l,g),l}({release:_,environment:b,user:l.getUser(),...B&&{userAgent:B},...o}),pe=l.getSession&&l.getSession();return pe&&"ok"===pe.status&&Pe(pe,{status:"exited"}),this.endSession(),l.setSession(Y),Y}shouldSendDefaultPii(){const o=this.getClient(),l=o&&o.getOptions();return!(!l||!l.sendDefaultPii)}_sendSessionUpdate(){const{scope:o,client:l}=this.getStackTop(),m=o.getSession();m&&l&&l.captureSession&&l.captureSession(m)}_withClient(o){const{scope:l,client:m}=this.getStackTop();m&&o(m,l)}_callExtensionMethod(o,...l){const _=As().__SENTRY__;if(_&&_.extensions&&"function"==typeof _.extensions[o])return _.extensions[o].apply(this,l);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Io.warn(`Extension method ${o} couldn't be found, doing nothing.`)}}function As(){return Vt.OW.__SENTRY__=Vt.OW.__SENTRY__||{extensions:{},hub:void 0},Vt.OW}function Ol(g){const o=As(),l=O(o);return V(o,g),l}function O(g){return(0,Vt.BY)("hub",()=>new Ao,g)}function V(g,o){return!!g&&((g.__SENTRY__=g.__SENTRY__||{}).hub=o,!0)}function _e(g,o){return function cd(){const g=As();if(g.__SENTRY__&&g.__SENTRY__.acs){const o=g.__SENTRY__.acs.getCurrentHub();if(o)return o}return function d(g=As()){return(!function w(g){return!!(g&&g.__SENTRY__&&g.__SENTRY__.hub)}(g)||O(g).isOlderThan(Hs))&&V(g,new Ao),O(g)}(g)}().captureException(g,{captureContext:o})}let pd=(()=>{class g{handleError(l){throw/Loading chunk \d+ failed/.test(l.message)&&(console.error("Chunk error. Reloading..."),location.reload()),l}static{this.\u0275fac=function(m){return new(m||g)}}static{this.\u0275prov=c.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),md=(()=>{class g extends pd{handleError(l){_e(l.originalError||l),super.handleError(l)}static{this.\u0275fac=(()=>{let l;return function(_){return(l||(l=c.xGo(g)))(_||g)}})()}static{this.\u0275prov=c.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();var Na=E(8722),Nu=E(8764),Ra=E(4508);let Ks=(()=>{class g{constructor(l){this.httpRequest=l}intercept(l,m){let _=l.url;_.startsWith("@api/")&&(_=_.replace("@api",it.c.apiDomain));const b=this.httpRequest?.headers.cookie;return b?m.handle(l.clone({url:_,withCredentials:!0,setHeaders:{Cookie:b}})):m.handle(l.clone({url:_,withCredentials:!0})).pipe((0,ao.W)(B=>(!(0,Na.Gq)("login-reload")&&(401===B.status||403===B.status)&&((0,Na.SO)("login-reload","true"),(0,re.zk)().location.reload()),(0,wi.$)(()=>B))),(0,Nu.M)(B=>{_.endsWith("/login")&&B.type===ge.hv.Response&&B.body.success&&(0,Na.Ai)("login-reload")}))}static{this.\u0275fac=function(m){return new(m||g)(c.KVO(Ra.S,8))}}static{this.\u0275prov=c.jDH({token:g,factory:g.\u0275fac})}}return g})();var yd=E(4621),aa=E(4824);const Nl={missingTranslationHandler:{provide:Gr.er,useClass:class La{handle(o){const l=o.key;return console.warn(`Translation not found for key: ${l}`),l}}},loader:{provide:Gr.Wr,useClass:class xa{constructor(o){this.http=o}getTranslation(o){return(0,xi.of)({Home:"Forside"})}},deps:[ge.Qq]}};(0,j.EO)(Se);const xu={providers:[(0,I.$x)((0,I.Ii)({includePostRequests:!0,filter:g=>!("get"===g.method.toLowerCase()&&g.url.includes("/cms/ord/")||"post"===g.method.toLowerCase()&&g.url.includes("/cms/prd/")||"get"===g.method.toLowerCase()&&g.url.includes("getCurrentClient"))})),(0,c.oKB)([I.Bb,Gr.h.forRoot(Nl),z.MB,jn,I.fM]),function wo(){return[...Ni]}(),(0,ge.$R)((0,ge.ZZ)(),(0,ge.Sx)()),{provide:c.hnV,useFactory:function Ru(g,o,l,m){return()=>g.fetchSettings().pipe((0,H.n)(_=>(o.addLangs(_.available_languages),o.setDefaultLang(_.default_language),(0,Ce.p)({translate:o.use(_.default_language),userData:l.load(),primaryMenu:m.getMenuById(_.primary_navigation_id)}))))},deps:[aa.C,Gr.c$,ee.D,yd.$],multi:!0},(0,K.lh)(fn,(0,K.oH)({scrollPositionRestoration:"top",anchorScrolling:"enabled"})),{provide:c.zcH,useClass:md},{provide:ge.a7,useClass:Ks,multi:!0},{provide:ge.a7,useClass:ci,multi:!0},{provide:ge.a7,useClass:T,multi:!0},{provide:ge.a7,useClass:lo,multi:!0},{provide:Ri.q,useClass:aa.C},j.oe,an.s]};(0,c.naY)(),(0,I.B8)(Ae,xu).catch(g=>console.error(g))},606:(Ve,ue,E)=>{"use strict";function $(){return!function c(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}()&&"[object process]"===Object.prototype.toString.call(typeof process<"u"?process:0)}function j(z,re){return z.require(re)}E.d(ue,{fj:()=>j,wD:()=>$}),Ve=E.hmd(Ve)},1349:(Ve,ue,E)=>{"use strict";E.d(ue,{lu:()=>X,zf:()=>U});var c=E(606),I=E(241);Ve=E.hmd(Ve);const $=(0,I.VZ)(),j={nowSeconds:()=>Date.now()/1e3},re=(0,c.wD)()?function z(){try{return(0,c.fj)(Ve,"perf_hooks").performance}catch{return}}():function K(){const{performance:x}=$;if(x&&x.now)return{now:()=>x.now(),timeOrigin:Date.now()-x.now()}}(),Z=void 0===re?j:{nowSeconds:()=>(re.timeOrigin+re.now())/1e3},X=j.nowSeconds.bind(j),U=Z.nowSeconds.bind(Z);let ce;(()=>{const{performance:x}=$;if(!x||!x.now)return void(ce="none");const k=36e5,le=x.now(),Ae=Date.now(),ge=x.timeOrigin?Math.abs(x.timeOrigin+le-Ae):k,Me=ge<k,ve=x.timing&&x.timing.navigationStart,xe="number"==typeof ve?Math.abs(ve+le-Ae):k;ce=Me||xe<k?ge<=xe?"timeOrigin":"navigationStart":"dateNow"})()},241:(Ve,ue,E)=>{"use strict";function c(K){return K&&K.Math==Math?K:void 0}E.d(ue,{BY:()=>j,OW:()=>I,VZ:()=>$});const I="object"==typeof globalThis&&c(globalThis)||"object"==typeof window&&c(window)||"object"==typeof self&&c(self)||"object"==typeof global&&c(global)||function(){return this}()||{};function $(){return I}function j(K,z,re){const Z=re||I,X=Z.__SENTRY__=Z.__SENTRY__||{};return X[K]||(X[K]=z())}},5684:(Ve,ue,E)=>{var c;!function(I,$,j,K){"use strict";var k,z=["","webkit","Moz","MS","ms","o"],re=$.createElement("div"),Z="function",X=Math.round,U=Math.abs,ee=Date.now;function te(A,N,q){return setTimeout(Me(A,q),N)}function ce(A,N,q){return!!Array.isArray(A)&&(W(A,q[N],q),!0)}function W(A,N,q){var ae;if(A)if(A.forEach)A.forEach(N,q);else if(A.length!==K)for(ae=0;ae<A.length;)N.call(q,A[ae],ae,A),ae++;else for(ae in A)A.hasOwnProperty(ae)&&N.call(q,A[ae],ae,A)}function x(A,N,q){var ae="DEPRECATED METHOD: "+N+"\n"+q+" AT \n";return function(){var Ue=new Error("get-stack-trace"),tt=Ue&&Ue.stack?Ue.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",St=I.console&&(I.console.warn||I.console.log);return St&&St.call(I.console,ae,tt),A.apply(this,arguments)}}k="function"!=typeof Object.assign?function(N){if(N===K||null===N)throw new TypeError("Cannot convert undefined or null to object");for(var q=Object(N),ae=1;ae<arguments.length;ae++){var Ue=arguments[ae];if(Ue!==K&&null!==Ue)for(var tt in Ue)Ue.hasOwnProperty(tt)&&(q[tt]=Ue[tt])}return q}:Object.assign;var le=x(function(N,q,ae){for(var Ue=Object.keys(q),tt=0;tt<Ue.length;)(!ae||ae&&N[Ue[tt]]===K)&&(N[Ue[tt]]=q[Ue[tt]]),tt++;return N},"extend","Use `assign`."),Ae=x(function(N,q){return le(N,q,!0)},"merge","Use `assign`.");function ge(A,N,q){var Ue,ae=N.prototype;(Ue=A.prototype=Object.create(ae)).constructor=A,Ue._super=ae,q&&k(Ue,q)}function Me(A,N){return function(){return A.apply(N,arguments)}}function ve(A,N){return typeof A==Z?A.apply(N&&N[0]||K,N):A}function Se(A,N){return A===K?N:A}function xe(A,N,q){W(fe(N),function(ae){A.addEventListener(ae,q,!1)})}function et(A,N,q){W(fe(N),function(ae){A.removeEventListener(ae,q,!1)})}function We(A,N){for(;A;){if(A==N)return!0;A=A.parentNode}return!1}function we(A,N){return A.indexOf(N)>-1}function fe(A){return A.trim().split(/\s+/g)}function Le(A,N,q){if(A.indexOf&&!q)return A.indexOf(N);for(var ae=0;ae<A.length;){if(q&&A[ae][q]==N||!q&&A[ae]===N)return ae;ae++}return-1}function ft(A){return Array.prototype.slice.call(A,0)}function Nt(A,N,q){for(var ae=[],Ue=[],tt=0;tt<A.length;){var St=N?A[tt][N]:A[tt];Le(Ue,St)<0&&ae.push(A[tt]),Ue[tt]=St,tt++}return q&&(ae=N?ae.sort(function(Qn,un){return Qn[N]>un[N]}):ae.sort()),ae}function gn(A,N){for(var q,ae,Ue=N[0].toUpperCase()+N.slice(1),tt=0;tt<z.length;){if((ae=(q=z[tt])?q+Ue:N)in A)return ae;tt++}return K}var On=1;function Ut(A){var N=A.ownerDocument||A;return N.defaultView||N.parentWindow||I}var G="ontouchstart"in I,ne=gn(I,"PointerEvent")!==K,he=G&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Ee="touch",Be="mouse",Ct=25,Lt=1,ze=4,It=8,ln=1,hn=2,Pn=4,Kt=8,qt=16,mn=hn|Pn,sr=Kt|qt,ai=mn|sr,Er=["x","y"],or=["clientX","clientY"];function zn(A,N){var q=this;this.manager=A,this.callback=N,this.element=A.element,this.target=A.options.inputTarget,this.domHandler=function(ae){ve(A.options.enable,[A])&&q.handler(ae)},this.init()}function zt(A,N,q){var ae=q.pointers.length,Ue=q.changedPointers.length,tt=N&Lt&&ae-Ue==0,St=N&(ze|It)&&ae-Ue==0;q.isFirst=!!tt,q.isFinal=!!St,tt&&(A.session={}),q.eventType=N,function Bt(A,N){var q=A.session,ae=N.pointers,Ue=ae.length;q.firstInput||(q.firstInput=Yn(N)),Ue>1&&!q.firstMultiple?q.firstMultiple=Yn(N):1===Ue&&(q.firstMultiple=!1);var tt=q.firstInput,St=q.firstMultiple,Un=St?St.center:tt.center,Qn=N.center=hr(ae);N.timeStamp=ee(),N.deltaTime=N.timeStamp-tt.timeStamp,N.angle=nn(Un,Qn),N.distance=Gt(Un,Qn),function ar(A,N){var q=N.center,ae=A.offsetDelta||{},Ue=A.prevDelta||{},tt=A.prevInput||{};(N.eventType===Lt||tt.eventType===ze)&&(Ue=A.prevDelta={x:tt.deltaX||0,y:tt.deltaY||0},ae=A.offsetDelta={x:q.x,y:q.y}),N.deltaX=Ue.x+(q.x-ae.x),N.deltaY=Ue.y+(q.y-ae.y)}(q,N),N.offsetDirection=Ze(N.deltaX,N.deltaY);var un=yn(N.deltaTime,N.deltaX,N.deltaY);N.overallVelocityX=un.x,N.overallVelocityY=un.y,N.overallVelocity=U(un.x)>U(un.y)?un.x:un.y,N.scale=St?function Ei(A,N){return Gt(N[0],N[1],or)/Gt(A[0],A[1],or)}(St.pointers,ae):1,N.rotation=St?function wt(A,N){return nn(N[1],N[0],or)+nn(A[1],A[0],or)}(St.pointers,ae):0,N.maxPointers=q.prevInput?N.pointers.length>q.prevInput.maxPointers?N.pointers.length:q.prevInput.maxPointers:N.pointers.length,function Br(A,N){var Ue,tt,St,Un,q=A.lastInterval||N,ae=N.timeStamp-q.timeStamp;if(N.eventType!=It&&(ae>Ct||q.velocity===K)){var Qn=N.deltaX-q.deltaX,un=N.deltaY-q.deltaY,Cr=yn(ae,Qn,un);tt=Cr.x,St=Cr.y,Ue=U(Cr.x)>U(Cr.y)?Cr.x:Cr.y,Un=Ze(Qn,un),A.lastInterval=N}else Ue=q.velocity,tt=q.velocityX,St=q.velocityY,Un=q.direction;N.velocity=Ue,N.velocityX=tt,N.velocityY=St,N.direction=Un}(q,N);var Cr=A.element;We(N.srcEvent.target,Cr)&&(Cr=N.srcEvent.target),N.target=Cr}(A,q),A.emit("hammer.input",q),A.recognize(q),A.session.prevInput=q}function Yn(A){for(var N=[],q=0;q<A.pointers.length;)N[q]={clientX:X(A.pointers[q].clientX),clientY:X(A.pointers[q].clientY)},q++;return{timeStamp:ee(),pointers:N,center:hr(N),deltaX:A.deltaX,deltaY:A.deltaY}}function hr(A){var N=A.length;if(1===N)return{x:X(A[0].clientX),y:X(A[0].clientY)};for(var q=0,ae=0,Ue=0;Ue<N;)q+=A[Ue].clientX,ae+=A[Ue].clientY,Ue++;return{x:X(q/N),y:X(ae/N)}}function yn(A,N,q){return{x:N/A||0,y:q/A||0}}function Ze(A,N){return A===N?ln:U(A)>=U(N)?A<0?hn:Pn:N<0?Kt:qt}function Gt(A,N,q){q||(q=Er);var ae=N[q[0]]-A[q[0]],Ue=N[q[1]]-A[q[1]];return Math.sqrt(ae*ae+Ue*Ue)}function nn(A,N,q){return q||(q=Er),180*Math.atan2(N[q[1]]-A[q[1]],N[q[0]]-A[q[0]])/Math.PI}zn.prototype={handler:function(){},init:function(){this.evEl&&xe(this.element,this.evEl,this.domHandler),this.evTarget&&xe(this.target,this.evTarget,this.domHandler),this.evWin&&xe(Ut(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&et(this.element,this.evEl,this.domHandler),this.evTarget&&et(this.target,this.evTarget,this.domHandler),this.evWin&&et(Ut(this.element),this.evWin,this.domHandler)}};var wn={mousedown:Lt,mousemove:2,mouseup:ze},Pr="mousedown",lt="mousemove mouseup";function pr(){this.evEl=Pr,this.evWin=lt,this.pressed=!1,zn.apply(this,arguments)}ge(pr,zn,{handler:function(N){var q=wn[N.type];q&Lt&&0===N.button&&(this.pressed=!0),2&q&&1!==N.which&&(q=ze),this.pressed&&(q&ze&&(this.pressed=!1),this.callback(this.manager,q,{pointers:[N],changedPointers:[N],pointerType:Be,srcEvent:N}))}});var lr={pointerdown:Lt,pointermove:2,pointerup:ze,pointercancel:It,pointerout:It},jr={2:Ee,3:"pen",4:Be,5:"kinect"},ur="pointerdown",Je="pointermove pointerup pointercancel";function qn(){this.evEl=ur,this.evWin=Je,zn.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}I.MSPointerEvent&&!I.PointerEvent&&(ur="MSPointerDown",Je="MSPointerMove MSPointerUp MSPointerCancel"),ge(qn,zn,{handler:function(N){var q=this.store,ae=!1,Ue=N.type.toLowerCase().replace("ms",""),tt=lr[Ue],St=jr[N.pointerType]||N.pointerType,Un=St==Ee,Qn=Le(q,N.pointerId,"pointerId");tt&Lt&&(0===N.button||Un)?Qn<0&&(q.push(N),Qn=q.length-1):tt&(ze|It)&&(ae=!0),!(Qn<0)&&(q[Qn]=N,this.callback(this.manager,tt,{pointers:q,changedPointers:[N],pointerType:St,srcEvent:N}),ae&&q.splice(Qn,1))}});var Dn={touchstart:Lt,touchmove:2,touchend:ze,touchcancel:It};function Pi(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,zn.apply(this,arguments)}function me(A,N){var q=ft(A.touches),ae=ft(A.changedTouches);return N&(ze|It)&&(q=Nt(q.concat(ae),"identifier",!0)),[q,ae]}ge(Pi,zn,{handler:function(N){var q=Dn[N.type];if(q===Lt&&(this.started=!0),this.started){var ae=me.call(this,N,q);q&(ze|It)&&ae[0].length-ae[1].length==0&&(this.started=!1),this.callback(this.manager,q,{pointers:ae[0],changedPointers:ae[1],pointerType:Ee,srcEvent:N})}}});var ye={touchstart:Lt,touchmove:2,touchend:ze,touchcancel:It},R="touchstart touchmove touchend touchcancel";function L(){this.evTarget=R,this.targetIds={},zn.apply(this,arguments)}function de(A,N){var q=ft(A.touches),ae=this.targetIds;if(N&(2|Lt)&&1===q.length)return ae[q[0].identifier]=!0,[q,q];var Ue,tt,St=ft(A.changedTouches),Un=[],Qn=this.target;if(tt=q.filter(function(un){return We(un.target,Qn)}),N===Lt)for(Ue=0;Ue<tt.length;)ae[tt[Ue].identifier]=!0,Ue++;for(Ue=0;Ue<St.length;)ae[St[Ue].identifier]&&Un.push(St[Ue]),N&(ze|It)&&delete ae[St[Ue].identifier],Ue++;return Un.length?[Nt(tt.concat(Un),"identifier",!0),Un]:void 0}ge(L,zn,{handler:function(N){var q=ye[N.type],ae=de.call(this,N,q);ae&&this.callback(this.manager,q,{pointers:ae[0],changedPointers:ae[1],pointerType:Ee,srcEvent:N})}});var Ge=2500;function bt(){zn.apply(this,arguments);var A=Me(this.handler,this);this.touch=new L(this.manager,A),this.mouse=new pr(this.manager,A),this.primaryTouch=null,this.lastTouches=[]}function Tt(A,N){A&Lt?(this.primaryTouch=N.changedPointers[0].identifier,Tn.call(this,N)):A&(ze|It)&&Tn.call(this,N)}function Tn(A){var N=A.changedPointers[0];if(N.identifier===this.primaryTouch){var q={x:N.clientX,y:N.clientY};this.lastTouches.push(q);var ae=this.lastTouches;setTimeout(function(){var tt=ae.indexOf(q);tt>-1&&ae.splice(tt,1)},Ge)}}function Vn(A){for(var N=A.srcEvent.clientX,q=A.srcEvent.clientY,ae=0;ae<this.lastTouches.length;ae++){var Ue=this.lastTouches[ae],tt=Math.abs(N-Ue.x),St=Math.abs(q-Ue.y);if(tt<=25&&St<=25)return!0}return!1}ge(bt,zn,{handler:function(N,q,ae){var tt=ae.pointerType==Be;if(!(tt&&ae.sourceCapabilities&&ae.sourceCapabilities.firesTouchEvents)){if(ae.pointerType==Ee)Tt.call(this,q,ae);else if(tt&&Vn.call(this,ae))return;this.callback(N,q,ae)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var rn=gn(re.style,"touchAction"),Yr=rn!==K,Dr="compute",Gn="manipulation",kn="none",Hn="pan-x",Zn="pan-y",gr=function zi(){if(!Yr)return!1;var A={},N=I.CSS&&I.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(q){A[q]=!N||I.CSS.supports("touch-action",q)}),A}();function Zr(A,N){this.manager=A,this.set(N)}Zr.prototype={set:function(A){A==Dr&&(A=this.compute()),Yr&&this.manager.element.style&&gr[A]&&(this.manager.element.style[rn]=A),this.actions=A.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var A=[];return W(this.manager.recognizers,function(N){ve(N.options.enable,[N])&&(A=A.concat(N.getTouchAction()))}),function Di(A){if(we(A,kn))return kn;var N=we(A,Hn),q=we(A,Zn);return N&&q?kn:N||q?N?Hn:Zn:we(A,Gn)?Gn:"auto"}(A.join(" "))},preventDefaults:function(A){var N=A.srcEvent,q=A.offsetDirection;if(!this.manager.session.prevented){var ae=this.actions,Ue=we(ae,kn)&&!gr[kn],tt=we(ae,Zn)&&!gr[Zn],St=we(ae,Hn)&&!gr[Hn];if(Ue&&1===A.pointers.length&&A.distance<2&&A.deltaTime<250)return;return St&&tt||!(Ue||tt&&q&mn||St&&q&sr)?void 0:this.preventSrc(N)}N.preventDefault()},preventSrc:function(A){this.manager.session.prevented=!0,A.preventDefault()}};var Nr=1;function Oe(A){this.options=k({},this.defaults,A||{}),this.id=function He(){return On++}(),this.manager=null,this.options.enable=Se(this.options.enable,!0),this.state=Nr,this.simultaneous={},this.requireFail=[]}function ht(A){return 16&A?"cancel":8&A?"end":4&A?"move":2&A?"start":""}function rt(A){return A==qt?"down":A==Kt?"up":A==hn?"left":A==Pn?"right":""}function Qt(A,N){var q=N.manager;return q?q.get(A):A}function Rt(){Oe.apply(this,arguments)}function jt(){Rt.apply(this,arguments),this.pX=null,this.pY=null}function pn(){Rt.apply(this,arguments)}function Rn(){Oe.apply(this,arguments),this._timer=null,this._input=null}function sn(){Rt.apply(this,arguments)}function Pt(){Rt.apply(this,arguments)}function xt(){Oe.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Sn(A,N){return(N=N||{}).recognizers=Se(N.recognizers,Sn.defaults.preset),new tr(A,N)}function tr(A,N){this.options=k({},Sn.defaults,N||{}),this.options.inputTarget=this.options.inputTarget||A,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=A,this.input=function Nn(A){return new(A.options.inputClass||(ne?qn:he?L:G?bt:pr))(A,zt)}(this),this.touchAction=new Zr(this,this.options.touchAction),Cn(this,!0),W(this.options.recognizers,function(q){var ae=this.add(new q[0](q[1]));q[2]&&ae.recognizeWith(q[2]),q[3]&&ae.requireFailure(q[3])},this)}function Cn(A,N){var ae,q=A.element;q.style&&(W(A.options.cssProps,function(Ue,tt){ae=gn(q.style,tt),N?(A.oldCssProps[ae]=q.style[ae],q.style[ae]=Ue):q.style[ae]=A.oldCssProps[ae]||""}),N||(A.oldCssProps={}))}Oe.prototype={defaults:{},set:function(A){return k(this.options,A),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(A){if(ce(A,"recognizeWith",this))return this;var N=this.simultaneous;return N[(A=Qt(A,this)).id]||(N[A.id]=A,A.recognizeWith(this)),this},dropRecognizeWith:function(A){return ce(A,"dropRecognizeWith",this)||(A=Qt(A,this),delete this.simultaneous[A.id]),this},requireFailure:function(A){if(ce(A,"requireFailure",this))return this;var N=this.requireFail;return-1===Le(N,A=Qt(A,this))&&(N.push(A),A.requireFailure(this)),this},dropRequireFailure:function(A){if(ce(A,"dropRequireFailure",this))return this;A=Qt(A,this);var N=Le(this.requireFail,A);return N>-1&&this.requireFail.splice(N,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(A){return!!this.simultaneous[A.id]},emit:function(A){var N=this,q=this.state;function ae(Ue){N.manager.emit(Ue,A)}q<8&&ae(N.options.event+ht(q)),ae(N.options.event),A.additionalEvent&&ae(A.additionalEvent),q>=8&&ae(N.options.event+ht(q))},tryEmit:function(A){if(this.canEmit())return this.emit(A);this.state=32},canEmit:function(){for(var A=0;A<this.requireFail.length;){if(!(this.requireFail[A].state&(32|Nr)))return!1;A++}return!0},recognize:function(A){var N=k({},A);if(!ve(this.options.enable,[this,N]))return this.reset(),void(this.state=32);56&this.state&&(this.state=Nr),this.state=this.process(N),30&this.state&&this.tryEmit(N)},process:function(A){},getTouchAction:function(){},reset:function(){}},ge(Rt,Oe,{defaults:{pointers:1},attrTest:function(A){var N=this.options.pointers;return 0===N||A.pointers.length===N},process:function(A){var N=this.state,q=A.eventType,ae=6&N,Ue=this.attrTest(A);return ae&&(q&It||!Ue)?16|N:ae||Ue?q&ze?8|N:2&N?4|N:2:32}}),ge(jt,Rt,{defaults:{event:"pan",threshold:10,pointers:1,direction:ai},getTouchAction:function(){var A=this.options.direction,N=[];return A&mn&&N.push(Zn),A&sr&&N.push(Hn),N},directionTest:function(A){var N=this.options,q=!0,ae=A.distance,Ue=A.direction,tt=A.deltaX,St=A.deltaY;return Ue&N.direction||(N.direction&mn?(Ue=0===tt?ln:tt<0?hn:Pn,q=tt!=this.pX,ae=Math.abs(A.deltaX)):(Ue=0===St?ln:St<0?Kt:qt,q=St!=this.pY,ae=Math.abs(A.deltaY))),A.direction=Ue,q&&ae>N.threshold&&Ue&N.direction},attrTest:function(A){return Rt.prototype.attrTest.call(this,A)&&(2&this.state||!(2&this.state)&&this.directionTest(A))},emit:function(A){this.pX=A.deltaX,this.pY=A.deltaY;var N=rt(A.direction);N&&(A.additionalEvent=this.options.event+N),this._super.emit.call(this,A)}}),ge(pn,Rt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[kn]},attrTest:function(A){return this._super.attrTest.call(this,A)&&(Math.abs(A.scale-1)>this.options.threshold||2&this.state)},emit:function(A){1!==A.scale&&(A.additionalEvent=this.options.event+(A.scale<1?"in":"out")),this._super.emit.call(this,A)}}),ge(Rn,Oe,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(A){var N=this.options,q=A.pointers.length===N.pointers,ae=A.distance<N.threshold,Ue=A.deltaTime>N.time;if(this._input=A,!ae||!q||A.eventType&(ze|It)&&!Ue)this.reset();else if(A.eventType&Lt)this.reset(),this._timer=te(function(){this.state=8,this.tryEmit()},N.time,this);else if(A.eventType&ze)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(A){8===this.state&&(A&&A.eventType&ze?this.manager.emit(this.options.event+"up",A):(this._input.timeStamp=ee(),this.manager.emit(this.options.event,this._input)))}}),ge(sn,Rt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[kn]},attrTest:function(A){return this._super.attrTest.call(this,A)&&(Math.abs(A.rotation)>this.options.threshold||2&this.state)}}),ge(Pt,Rt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:mn|sr,pointers:1},getTouchAction:function(){return jt.prototype.getTouchAction.call(this)},attrTest:function(A){var q,N=this.options.direction;return N&(mn|sr)?q=A.overallVelocity:N&mn?q=A.overallVelocityX:N&sr&&(q=A.overallVelocityY),this._super.attrTest.call(this,A)&&N&A.offsetDirection&&A.distance>this.options.threshold&&A.maxPointers==this.options.pointers&&U(q)>this.options.velocity&&A.eventType&ze},emit:function(A){var N=rt(A.offsetDirection);N&&this.manager.emit(this.options.event+N,A),this.manager.emit(this.options.event,A)}}),ge(xt,Oe,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Gn]},process:function(A){var N=this.options,q=A.pointers.length===N.pointers,ae=A.distance<N.threshold,Ue=A.deltaTime<N.time;if(this.reset(),A.eventType&Lt&&0===this.count)return this.failTimeout();if(ae&&Ue&&q){if(A.eventType!=ze)return this.failTimeout();var tt=!this.pTime||A.timeStamp-this.pTime<N.interval,St=!this.pCenter||Gt(this.pCenter,A.center)<N.posThreshold;if(this.pTime=A.timeStamp,this.pCenter=A.center,St&&tt?this.count+=1:this.count=1,this._input=A,0==this.count%N.taps)return this.hasRequireFailures()?(this._timer=te(function(){this.state=8,this.tryEmit()},N.interval,this),2):8}return 32},failTimeout:function(){return this._timer=te(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Sn.VERSION="2.0.7",Sn.defaults={domEvents:!1,touchAction:Dr,enable:!0,inputTarget:null,inputClass:null,preset:[[sn,{enable:!1}],[pn,{enable:!1},["rotate"]],[Pt,{direction:mn}],[jt,{direction:mn},["swipe"]],[xt],[xt,{event:"doubletap",taps:2},["tap"]],[Rn]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},tr.prototype={set:function(A){return k(this.options,A),A.touchAction&&this.touchAction.update(),A.inputTarget&&(this.input.destroy(),this.input.target=A.inputTarget,this.input.init()),this},stop:function(A){this.session.stopped=A?2:1},recognize:function(A){var N=this.session;if(!N.stopped){this.touchAction.preventDefaults(A);var q,ae=this.recognizers,Ue=N.curRecognizer;(!Ue||Ue&&8&Ue.state)&&(Ue=N.curRecognizer=null);for(var tt=0;tt<ae.length;)q=ae[tt],2===N.stopped||Ue&&q!=Ue&&!q.canRecognizeWith(Ue)?q.reset():q.recognize(A),!Ue&&14&q.state&&(Ue=N.curRecognizer=q),tt++}},get:function(A){if(A instanceof Oe)return A;for(var N=this.recognizers,q=0;q<N.length;q++)if(N[q].options.event==A)return N[q];return null},add:function(A){if(ce(A,"add",this))return this;var N=this.get(A.options.event);return N&&this.remove(N),this.recognizers.push(A),A.manager=this,this.touchAction.update(),A},remove:function(A){if(ce(A,"remove",this))return this;if(A=this.get(A)){var N=this.recognizers,q=Le(N,A);-1!==q&&(N.splice(q,1),this.touchAction.update())}return this},on:function(A,N){if(A!==K&&N!==K){var q=this.handlers;return W(fe(A),function(ae){q[ae]=q[ae]||[],q[ae].push(N)}),this}},off:function(A,N){if(A!==K){var q=this.handlers;return W(fe(A),function(ae){N?q[ae]&&q[ae].splice(Le(q[ae],N),1):delete q[ae]}),this}},emit:function(A,N){this.options.domEvents&&function _r(A,N){var q=$.createEvent("Event");q.initEvent(A,!0,!0),q.gesture=N,N.target.dispatchEvent(q)}(A,N);var q=this.handlers[A]&&this.handlers[A].slice();if(q&&q.length){N.type=A,N.preventDefault=function(){N.srcEvent.preventDefault()};for(var ae=0;ae<q.length;)q[ae](N),ae++}},destroy:function(){this.element&&Cn(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},k(Sn,{INPUT_START:Lt,INPUT_MOVE:2,INPUT_END:ze,INPUT_CANCEL:It,STATE_POSSIBLE:Nr,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:ln,DIRECTION_LEFT:hn,DIRECTION_RIGHT:Pn,DIRECTION_UP:Kt,DIRECTION_DOWN:qt,DIRECTION_HORIZONTAL:mn,DIRECTION_VERTICAL:sr,DIRECTION_ALL:ai,Manager:tr,Input:zn,TouchAction:Zr,TouchInput:L,MouseInput:pr,PointerEventInput:qn,TouchMouseInput:bt,SingleTouchInput:Pi,Recognizer:Oe,AttrRecognizer:Rt,Tap:xt,Pan:jt,Swipe:Pt,Pinch:pn,Rotate:sn,Press:Rn,on:xe,off:et,each:W,merge:Ae,extend:le,assign:k,inherit:ge,bindFn:Me,prefixed:gn}),(typeof I<"u"?I:typeof self<"u"?self:{}).Hammer=Sn,(c=function(){return Sn}.call(ue,E,ue,Ve))!==K&&(Ve.exports=c)}(window,document)},5797:(Ve,ue,E)=>{"use strict";E.d(ue,{t:()=>I});var c=E(4205);class I extends c.B{constructor(j){super(),this._value=j}get value(){return this.getValue()}_subscribe(j){const K=super._subscribe(j);return!K.closed&&j.next(this._value),K}getValue(){const{hasError:j,thrownError:K,_value:z}=this;if(j)throw K;return this._throwIfClosed(),z}next(j){super.next(this._value=j)}}},3942:(Ve,ue,E)=>{"use strict";E.d(ue,{c:()=>Z});var c=E(9931),I=E(7092),$=E(4127),j=E(5682),K=E(2213),z=E(1530),re=E(23);let Z=(()=>{class te{constructor(W){W&&(this._subscribe=W)}lift(W){const x=new te;return x.source=this,x.operator=W,x}subscribe(W,x,k){const le=function ee(te){return te&&te instanceof c.vU||function U(te){return te&&(0,z.T)(te.next)&&(0,z.T)(te.error)&&(0,z.T)(te.complete)}(te)&&(0,I.Uv)(te)}(W)?W:new c.Ms(W,x,k);return(0,re.Y)(()=>{const{operator:Ae,source:ge}=this;le.add(Ae?Ae.call(le,ge):ge?this._subscribe(le):this._trySubscribe(le))}),le}_trySubscribe(W){try{return this._subscribe(W)}catch(x){W.error(x)}}forEach(W,x){return new(x=X(x))((k,le)=>{const Ae=new c.Ms({next:ge=>{try{W(ge)}catch(Me){le(Me),Ae.unsubscribe()}},error:le,complete:k});this.subscribe(Ae)})}_subscribe(W){var x;return null===(x=this.source)||void 0===x?void 0:x.subscribe(W)}[$.s](){return this}pipe(...W){return(0,j.m)(W)(this)}toPromise(W){return new(W=X(W))((x,k)=>{let le;this.subscribe(Ae=>le=Ae,Ae=>k(Ae),()=>x(le))})}}return te.create=ce=>new te(ce),te})();function X(te){var ce;return null!==(ce=te??K.$.Promise)&&void 0!==ce?ce:Promise}},4205:(Ve,ue,E)=>{"use strict";E.d(ue,{B:()=>re});var c=E(3942),I=E(7092);const j=(0,E(3).L)(X=>function(){X(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=E(967),z=E(23);let re=(()=>{class X extends c.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ee){const te=new Z(this,this);return te.operator=ee,te}_throwIfClosed(){if(this.closed)throw new j}next(ee){(0,z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const te of this.currentObservers)te.next(ee)}})}error(ee){(0,z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ee;const{observers:te}=this;for(;te.length;)te.shift().error(ee)}})}complete(){(0,z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ee}=this;for(;ee.length;)ee.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ee;return(null===(ee=this.observers)||void 0===ee?void 0:ee.length)>0}_trySubscribe(ee){return this._throwIfClosed(),super._trySubscribe(ee)}_subscribe(ee){return this._throwIfClosed(),this._checkFinalizedStatuses(ee),this._innerSubscribe(ee)}_innerSubscribe(ee){const{hasError:te,isStopped:ce,observers:W}=this;return te||ce?I.Kn:(this.currentObservers=null,W.push(ee),new I.yU(()=>{this.currentObservers=null,(0,K.o)(W,ee)}))}_checkFinalizedStatuses(ee){const{hasError:te,thrownError:ce,isStopped:W}=this;te?ee.error(ce):W&&ee.complete()}asObservable(){const ee=new c.c;return ee.source=this,ee}}return X.create=(U,ee)=>new Z(U,ee),X})();class Z extends re{constructor(U,ee){super(),this.destination=U,this.source=ee}next(U){var ee,te;null===(te=null===(ee=this.destination)||void 0===ee?void 0:ee.next)||void 0===te||te.call(ee,U)}error(U){var ee,te;null===(te=null===(ee=this.destination)||void 0===ee?void 0:ee.error)||void 0===te||te.call(ee,U)}complete(){var U,ee;null===(ee=null===(U=this.destination)||void 0===U?void 0:U.complete)||void 0===ee||ee.call(U)}_subscribe(U){var ee,te;return null!==(te=null===(ee=this.source)||void 0===ee?void 0:ee.subscribe(U))&&void 0!==te?te:I.Kn}}},9931:(Ve,ue,E)=>{"use strict";E.d(ue,{Ms:()=>k,vU:()=>te});var c=E(1530),I=E(7092),$=E(2213),j=E(1411),K=E(4318);const z=X("C",void 0,void 0);function X(ve,Se,xe){return{kind:ve,value:Se,error:xe}}var U=E(9603),ee=E(23);class te extends I.yU{constructor(Se){super(),this.isStopped=!1,Se?(this.destination=Se,(0,I.Uv)(Se)&&Se.add(this)):this.destination=Me}static create(Se,xe,et){return new k(Se,xe,et)}next(Se){this.isStopped?ge(function Z(ve){return X("N",ve,void 0)}(Se),this):this._next(Se)}error(Se){this.isStopped?ge(function re(ve){return X("E",void 0,ve)}(Se),this):(this.isStopped=!0,this._error(Se))}complete(){this.isStopped?ge(z,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Se){this.destination.next(Se)}_error(Se){try{this.destination.error(Se)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ce=Function.prototype.bind;function W(ve,Se){return ce.call(ve,Se)}class x{constructor(Se){this.partialObserver=Se}next(Se){const{partialObserver:xe}=this;if(xe.next)try{xe.next(Se)}catch(et){le(et)}}error(Se){const{partialObserver:xe}=this;if(xe.error)try{xe.error(Se)}catch(et){le(et)}else le(Se)}complete(){const{partialObserver:Se}=this;if(Se.complete)try{Se.complete()}catch(xe){le(xe)}}}class k extends te{constructor(Se,xe,et){let We;if(super(),(0,c.T)(Se)||!Se)We={next:Se??void 0,error:xe??void 0,complete:et??void 0};else{let we;this&&$.$.useDeprecatedNextContext?(we=Object.create(Se),we.unsubscribe=()=>this.unsubscribe(),We={next:Se.next&&W(Se.next,we),error:Se.error&&W(Se.error,we),complete:Se.complete&&W(Se.complete,we)}):We=Se}this.destination=new x(We)}}function le(ve){$.$.useDeprecatedSynchronousErrorHandling?(0,ee.l)(ve):(0,j.m)(ve)}function ge(ve,Se){const{onStoppedNotification:xe}=$.$;xe&&U.f.setTimeout(()=>xe(ve,Se))}const Me={closed:!0,next:K.l,error:function Ae(ve){throw ve},complete:K.l}},7092:(Ve,ue,E)=>{"use strict";E.d(ue,{Kn:()=>z,yU:()=>K,Uv:()=>re});var c=E(1530);const $=(0,E(3).L)(X=>function(ee){X(this),this.message=ee?`${ee.length} errors occurred during unsubscription:\n${ee.map((te,ce)=>`${ce+1}) ${te.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=ee});var j=E(967);class K{constructor(U){this.initialTeardown=U,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let U;if(!this.closed){this.closed=!0;const{_parentage:ee}=this;if(ee)if(this._parentage=null,Array.isArray(ee))for(const W of ee)W.remove(this);else ee.remove(this);const{initialTeardown:te}=this;if((0,c.T)(te))try{te()}catch(W){U=W instanceof $?W.errors:[W]}const{_finalizers:ce}=this;if(ce){this._finalizers=null;for(const W of ce)try{Z(W)}catch(x){U=U??[],x instanceof $?U=[...U,...x.errors]:U.push(x)}}if(U)throw new $(U)}}add(U){var ee;if(U&&U!==this)if(this.closed)Z(U);else{if(U instanceof K){if(U.closed||U._hasParent(this))return;U._addParent(this)}(this._finalizers=null!==(ee=this._finalizers)&&void 0!==ee?ee:[]).push(U)}}_hasParent(U){const{_parentage:ee}=this;return ee===U||Array.isArray(ee)&&ee.includes(U)}_addParent(U){const{_parentage:ee}=this;this._parentage=Array.isArray(ee)?(ee.push(U),ee):ee?[ee,U]:U}_removeParent(U){const{_parentage:ee}=this;ee===U?this._parentage=null:Array.isArray(ee)&&(0,j.o)(ee,U)}remove(U){const{_finalizers:ee}=this;ee&&(0,j.o)(ee,U),U instanceof K&&U._removeParent(this)}}K.EMPTY=(()=>{const X=new K;return X.closed=!0,X})();const z=K.EMPTY;function re(X){return X instanceof K||X&&"closed"in X&&(0,c.T)(X.remove)&&(0,c.T)(X.add)&&(0,c.T)(X.unsubscribe)}function Z(X){(0,c.T)(X)?X():X.unsubscribe()}},2213:(Ve,ue,E)=>{"use strict";E.d(ue,{$:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9999:(Ve,ue,E)=>{"use strict";E.d(ue,{z:()=>U});var c=E(3942),I=E(7808),$=E(4600),j=E(1440),K=E(8067),z=E(4083),re=E(6813),Z=E(1687),X=E(310);function U(...ce){const W=(0,z.lI)(ce),x=(0,z.ms)(ce),{args:k,keys:le}=(0,I.D)(ce);if(0===k.length)return(0,$.H)([],W);const Ae=new c.c(function ee(ce,W,x=j.D){return k=>{te(W,()=>{const{length:le}=ce,Ae=new Array(le);let ge=le,Me=le;for(let ve=0;ve<le;ve++)te(W,()=>{const Se=(0,$.H)(ce[ve],W);let xe=!1;Se.subscribe((0,Z._)(k,et=>{Ae[ve]=et,xe||(xe=!0,Me--),Me||k.next(x(Ae.slice()))},()=>{--ge||k.complete()}))},k)},k)}}(k,W,le?ge=>(0,re.e)(le,ge):j.D));return x?Ae.pipe((0,K.I)(x)):Ae}function te(ce,W,x){ce?(0,X.N)(x,ce,W):W()}},3513:(Ve,ue,E)=>{"use strict";E.d(ue,{x:()=>K});var c=E(3222),$=E(4083),j=E(4600);function K(...z){return function I(){return(0,c.U)(1)}()((0,j.H)(z,(0,$.lI)(z)))}},137:(Ve,ue,E)=>{"use strict";E.d(ue,{v:()=>$});var c=E(3942),I=E(2645);function $(j){return new c.c(K=>{(0,I.Tg)(j()).subscribe(K)})}},9400:(Ve,ue,E)=>{"use strict";E.d(ue,{w:()=>I});const I=new(E(3942).c)(K=>K.complete())},1873:(Ve,ue,E)=>{"use strict";E.d(ue,{p:()=>Z});var c=E(3942),I=E(7808),$=E(2645),j=E(4083),K=E(1687),z=E(8067),re=E(6813);function Z(...X){const U=(0,j.ms)(X),{args:ee,keys:te}=(0,I.D)(X),ce=new c.c(W=>{const{length:x}=ee;if(!x)return void W.complete();const k=new Array(x);let le=x,Ae=x;for(let ge=0;ge<x;ge++){let Me=!1;(0,$.Tg)(ee[ge]).subscribe((0,K._)(W,ve=>{Me||(Me=!0,Ae--),k[ge]=ve},()=>le--,void 0,()=>{(!le||!Me)&&(Ae||W.next(te?(0,re.e)(te,k):k),W.complete())}))}});return U?ce.pipe((0,z.I)(U)):ce}},4600:(Ve,ue,E)=>{"use strict";E.d(ue,{H:()=>et});var c=E(2645),I=E(310),$=E(819),j=E(1687);function K(We,we=0){return(0,$.N)((fe,Le)=>{fe.subscribe((0,j._)(Le,ft=>(0,I.N)(Le,We,()=>Le.next(ft),we),()=>(0,I.N)(Le,We,()=>Le.complete(),we),ft=>(0,I.N)(Le,We,()=>Le.error(ft),we)))})}function z(We,we=0){return(0,$.N)((fe,Le)=>{Le.add(We.schedule(()=>fe.subscribe(Le),we))})}var X=E(3942),ee=E(2476),te=E(1530);function W(We,we){if(!We)throw new Error("Iterable cannot be null");return new X.c(fe=>{(0,I.N)(fe,we,()=>{const Le=We[Symbol.asyncIterator]();(0,I.N)(fe,we,()=>{Le.next().then(ft=>{ft.done?fe.complete():fe.next(ft.value)})},0,!0)})})}var x=E(1516),k=E(1117),le=E(8830),Ae=E(528),ge=E(4558),Me=E(1374),ve=E(3233);function et(We,we){return we?function xe(We,we){if(null!=We){if((0,x.l)(We))return function re(We,we){return(0,c.Tg)(We).pipe(z(we),K(we))}(We,we);if((0,le.X)(We))return function U(We,we){return new X.c(fe=>{let Le=0;return we.schedule(function(){Le===We.length?fe.complete():(fe.next(We[Le++]),fe.closed||this.schedule())})})}(We,we);if((0,k.y)(We))return function Z(We,we){return(0,c.Tg)(We).pipe(z(we),K(we))}(We,we);if((0,ge.T)(We))return W(We,we);if((0,Ae.x)(We))return function ce(We,we){return new X.c(fe=>{let Le;return(0,I.N)(fe,we,()=>{Le=We[ee.l](),(0,I.N)(fe,we,()=>{let ft,Nt;try{({value:ft,done:Nt}=Le.next())}catch(gn){return void fe.error(gn)}Nt?fe.complete():fe.next(ft)},0,!0)}),()=>(0,te.T)(Le?.return)&&Le.return()})}(We,we);if((0,ve.U)(We))return function Se(We,we){return W((0,ve.C)(We),we)}(We,we)}throw(0,Me.L)(We)}(We,we):(0,c.Tg)(We)}},2645:(Ve,ue,E)=>{"use strict";E.d(ue,{Tg:()=>ce});var c=E(4398),I=E(8830),$=E(1117),j=E(3942),K=E(1516),z=E(4558),re=E(1374),Z=E(528),X=E(3233),U=E(1530),ee=E(1411),te=E(4127);function ce(ve){if(ve instanceof j.c)return ve;if(null!=ve){if((0,K.l)(ve))return function W(ve){return new j.c(Se=>{const xe=ve[te.s]();if((0,U.T)(xe.subscribe))return xe.subscribe(Se);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ve);if((0,I.X)(ve))return function x(ve){return new j.c(Se=>{for(let xe=0;xe<ve.length&&!Se.closed;xe++)Se.next(ve[xe]);Se.complete()})}(ve);if((0,$.y)(ve))return function k(ve){return new j.c(Se=>{ve.then(xe=>{Se.closed||(Se.next(xe),Se.complete())},xe=>Se.error(xe)).then(null,ee.m)})}(ve);if((0,z.T)(ve))return Ae(ve);if((0,Z.x)(ve))return function le(ve){return new j.c(Se=>{for(const xe of ve)if(Se.next(xe),Se.closed)return;Se.complete()})}(ve);if((0,X.U)(ve))return function ge(ve){return Ae((0,X.C)(ve))}(ve)}throw(0,re.L)(ve)}function Ae(ve){return new j.c(Se=>{(function Me(ve,Se){var xe,et,We,we;return(0,c.sH)(this,void 0,void 0,function*(){try{for(xe=(0,c.xN)(ve);!(et=yield xe.next()).done;)if(Se.next(et.value),Se.closed)return}catch(fe){We={error:fe}}finally{try{et&&!et.done&&(we=xe.return)&&(yield we.call(xe))}finally{if(We)throw We.error}}Se.complete()})})(ve,Se).catch(xe=>Se.error(xe))})}},9452:(Ve,ue,E)=>{"use strict";E.d(ue,{of:()=>$});var c=E(4083),I=E(4600);function $(...j){const K=(0,c.lI)(j);return(0,I.H)(j,K)}},7919:(Ve,ue,E)=>{"use strict";E.d(ue,{$:()=>$});var c=E(3942),I=E(1530);function $(j,K){const z=(0,I.T)(j)?j:()=>j,re=Z=>Z.error(z());return new c.c(K?Z=>K.schedule(re,0,Z):re)}},1687:(Ve,ue,E)=>{"use strict";E.d(ue,{_:()=>I});var c=E(9931);function I(j,K,z,re,Z){return new $(j,K,z,re,Z)}class $ extends c.vU{constructor(K,z,re,Z,X,U){super(K),this.onFinalize=X,this.shouldUnsubscribe=U,this._next=z?function(ee){try{z(ee)}catch(te){K.error(te)}}:super._next,this._error=Z?function(ee){try{Z(ee)}catch(te){K.error(te)}finally{this.unsubscribe()}}:super._error,this._complete=re?function(){try{re()}catch(ee){K.error(ee)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var K;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:z}=this;super.unsubscribe(),!z&&(null===(K=this.onFinalize)||void 0===K||K.call(this))}}}},1318:(Ve,ue,E)=>{"use strict";E.d(ue,{W:()=>j});var c=E(2645),I=E(1687),$=E(819);function j(K){return(0,$.N)((z,re)=>{let U,Z=null,X=!1;Z=z.subscribe((0,I._)(re,void 0,void 0,ee=>{U=(0,c.Tg)(K(ee,j(K)(z))),Z?(Z.unsubscribe(),Z=null,U.subscribe(re)):X=!0})),X&&(Z.unsubscribe(),Z=null,U.subscribe(re))})}},1903:(Ve,ue,E)=>{"use strict";E.d(ue,{H:()=>$});var c=E(1365),I=E(1530);function $(j,K){return(0,I.T)(K)?(0,c.Z)(j,K,1):(0,c.Z)(j,1)}},778:(Ve,ue,E)=>{"use strict";E.d(ue,{U:()=>$});var c=E(819),I=E(1687);function $(j){return(0,c.N)((K,z)=>{let re=!1;K.subscribe((0,I._)(z,Z=>{re=!0,z.next(Z)},()=>{re||z.next(j),z.complete()}))})}},1567:(Ve,ue,E)=>{"use strict";E.d(ue,{p:()=>$});var c=E(819),I=E(1687);function $(j,K){return(0,c.N)((z,re)=>{let Z=0;z.subscribe((0,I._)(re,X=>j.call(K,X,Z++)&&re.next(X)))})}},9475:(Ve,ue,E)=>{"use strict";E.d(ue,{j:()=>I});var c=E(819);function I($){return(0,c.N)((j,K)=>{try{j.subscribe(K)}finally{K.add($)}})}},2435:(Ve,ue,E)=>{"use strict";E.d(ue,{$:()=>re});var c=E(3335),I=E(1567),$=E(4334),j=E(778),K=E(9365),z=E(1440);function re(Z,X){const U=arguments.length>=2;return ee=>ee.pipe(Z?(0,I.p)((te,ce)=>Z(te,ce,ee)):z.D,(0,$.s)(1),U?(0,j.U)(X):(0,K.v)(()=>new c.G))}},271:(Ve,ue,E)=>{"use strict";E.d(ue,{T:()=>$});var c=E(819),I=E(1687);function $(j,K){return(0,c.N)((z,re)=>{let Z=0;z.subscribe((0,I._)(re,X=>{re.next(j.call(K,X,Z++))}))})}},3222:(Ve,ue,E)=>{"use strict";E.d(ue,{U:()=>$});var c=E(1365),I=E(1440);function $(j=1/0){return(0,c.Z)(I.D,j)}},1365:(Ve,ue,E)=>{"use strict";E.d(ue,{Z:()=>Z});var c=E(271),I=E(2645),$=E(819),j=E(310),K=E(1687),re=E(1530);function Z(X,U,ee=1/0){return(0,re.T)(U)?Z((te,ce)=>(0,c.T)((W,x)=>U(te,W,ce,x))((0,I.Tg)(X(te,ce))),ee):("number"==typeof U&&(ee=U),(0,$.N)((te,ce)=>function z(X,U,ee,te,ce,W,x,k){const le=[];let Ae=0,ge=0,Me=!1;const ve=()=>{Me&&!le.length&&!Ae&&U.complete()},Se=et=>Ae<te?xe(et):le.push(et),xe=et=>{W&&U.next(et),Ae++;let We=!1;(0,I.Tg)(ee(et,ge++)).subscribe((0,K._)(U,we=>{ce?.(we),W?Se(we):U.next(we)},()=>{We=!0},void 0,()=>{if(We)try{for(Ae--;le.length&&Ae<te;){const we=le.shift();x?(0,j.N)(U,x,()=>xe(we)):xe(we)}ve()}catch(we){U.error(we)}}))};return X.subscribe((0,K._)(U,Se,()=>{Me=!0,ve()})),()=>{k?.()}}(te,ce,X,ee)))}},1870:(Ve,ue,E)=>{"use strict";E.d(ue,{u:()=>K});var c=E(2645),I=E(4205),$=E(9931),j=E(819);function K(re={}){const{connector:Z=(()=>new I.B),resetOnError:X=!0,resetOnComplete:U=!0,resetOnRefCountZero:ee=!0}=re;return te=>{let ce,W,x,k=0,le=!1,Ae=!1;const ge=()=>{W?.unsubscribe(),W=void 0},Me=()=>{ge(),ce=x=void 0,le=Ae=!1},ve=()=>{const Se=ce;Me(),Se?.unsubscribe()};return(0,j.N)((Se,xe)=>{k++,!Ae&&!le&&ge();const et=x=x??Z();xe.add(()=>{k--,0===k&&!Ae&&!le&&(W=z(ve,ee))}),et.subscribe(xe),!ce&&k>0&&(ce=new $.Ms({next:We=>et.next(We),error:We=>{Ae=!0,ge(),W=z(Me,X,We),et.error(We)},complete:()=>{le=!0,ge(),W=z(Me,U),et.complete()}}),(0,c.Tg)(Se).subscribe(ce))})(te)}}function z(re,Z,...X){if(!0===Z)return void re();if(!1===Z)return;const U=new $.Ms({next:()=>{U.unsubscribe(),re()}});return(0,c.Tg)(Z(...X)).subscribe(U)}},8700:(Ve,ue,E)=>{"use strict";E.d(ue,{t:()=>K});var c=E(4205),I=E(5152);class $ extends c.B{constructor(re=1/0,Z=1/0,X=I.U){super(),this._bufferSize=re,this._windowTime=Z,this._timestampProvider=X,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Z===1/0,this._bufferSize=Math.max(1,re),this._windowTime=Math.max(1,Z)}next(re){const{isStopped:Z,_buffer:X,_infiniteTimeWindow:U,_timestampProvider:ee,_windowTime:te}=this;Z||(X.push(re),!U&&X.push(ee.now()+te)),this._trimBuffer(),super.next(re)}_subscribe(re){this._throwIfClosed(),this._trimBuffer();const Z=this._innerSubscribe(re),{_infiniteTimeWindow:X,_buffer:U}=this,ee=U.slice();for(let te=0;te<ee.length&&!re.closed;te+=X?1:2)re.next(ee[te]);return this._checkFinalizedStatuses(re),Z}_trimBuffer(){const{_bufferSize:re,_timestampProvider:Z,_buffer:X,_infiniteTimeWindow:U}=this,ee=(U?1:2)*re;if(re<1/0&&ee<X.length&&X.splice(0,X.length-ee),!U){const te=Z.now();let ce=0;for(let W=1;W<X.length&&X[W]<=te;W+=2)ce=W;ce&&X.splice(0,ce+1)}}}var j=E(1870);function K(z,re,Z){let X,U=!1;return z&&"object"==typeof z?({bufferSize:X=1/0,windowTime:re=1/0,refCount:U=!1,scheduler:Z}=z):X=z??1/0,(0,j.u)({connector:()=>new $(X,re,Z),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:U})}},6647:(Ve,ue,E)=>{"use strict";E.d(ue,{n:()=>j});var c=E(2645),I=E(819),$=E(1687);function j(K,z){return(0,I.N)((re,Z)=>{let X=null,U=0,ee=!1;const te=()=>ee&&!X&&Z.complete();re.subscribe((0,$._)(Z,ce=>{X?.unsubscribe();let W=0;const x=U++;(0,c.Tg)(K(ce,x)).subscribe(X=(0,$._)(Z,k=>Z.next(z?z(ce,k,x,W++):k),()=>{X=null,te()}))},()=>{ee=!0,te()}))})}},4334:(Ve,ue,E)=>{"use strict";E.d(ue,{s:()=>j});var c=E(9400),I=E(819),$=E(1687);function j(K){return K<=0?()=>c.w:(0,I.N)((z,re)=>{let Z=0;z.subscribe((0,$._)(re,X=>{++Z<=K&&(re.next(X),K<=Z&&re.complete())}))})}},8764:(Ve,ue,E)=>{"use strict";E.d(ue,{M:()=>K});var c=E(1530),I=E(819),$=E(1687),j=E(1440);function K(z,re,Z){const X=(0,c.T)(z)||re||Z?{next:z,error:re,complete:Z}:z;return X?(0,I.N)((U,ee)=>{var te;null===(te=X.subscribe)||void 0===te||te.call(X);let ce=!0;U.subscribe((0,$._)(ee,W=>{var x;null===(x=X.next)||void 0===x||x.call(X,W),ee.next(W)},()=>{var W;ce=!1,null===(W=X.complete)||void 0===W||W.call(X),ee.complete()},W=>{var x;ce=!1,null===(x=X.error)||void 0===x||x.call(X,W),ee.error(W)},()=>{var W,x;ce&&(null===(W=X.unsubscribe)||void 0===W||W.call(X)),null===(x=X.finalize)||void 0===x||x.call(X)}))}):j.D}},9365:(Ve,ue,E)=>{"use strict";E.d(ue,{v:()=>j});var c=E(3335),I=E(819),$=E(1687);function j(z=K){return(0,I.N)((re,Z)=>{let X=!1;re.subscribe((0,$._)(Z,U=>{X=!0,Z.next(U)},()=>X?Z.complete():Z.error(z())))})}function K(){return new c.G}},5152:(Ve,ue,E)=>{"use strict";E.d(ue,{U:()=>c});const c={now:()=>(c.delegate||Date).now(),delegate:void 0}},9603:(Ve,ue,E)=>{"use strict";E.d(ue,{f:()=>c});const c={setTimeout(I,$,...j){const{delegate:K}=c;return K?.setTimeout?K.setTimeout(I,$,...j):setTimeout(I,$,...j)},clearTimeout(I){const{delegate:$}=c;return($?.clearTimeout||clearTimeout)(I)},delegate:void 0}},2476:(Ve,ue,E)=>{"use strict";E.d(ue,{l:()=>I});const I=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4127:(Ve,ue,E)=>{"use strict";E.d(ue,{s:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},3335:(Ve,ue,E)=>{"use strict";E.d(ue,{G:()=>I});const I=(0,E(3).L)($=>function(){$(this),this.name="EmptyError",this.message="no elements in sequence"})},4083:(Ve,ue,E)=>{"use strict";E.d(ue,{R0:()=>z,lI:()=>K,ms:()=>j});var c=E(1530),I=E(9397);function $(re){return re[re.length-1]}function j(re){return(0,c.T)($(re))?re.pop():void 0}function K(re){return(0,I.m)($(re))?re.pop():void 0}function z(re,Z){return"number"==typeof $(re)?re.pop():Z}},7808:(Ve,ue,E)=>{"use strict";E.d(ue,{D:()=>K});const{isArray:c}=Array,{getPrototypeOf:I,prototype:$,keys:j}=Object;function K(re){if(1===re.length){const Z=re[0];if(c(Z))return{args:Z,keys:null};if(function z(re){return re&&"object"==typeof re&&I(re)===$}(Z)){const X=j(Z);return{args:X.map(U=>Z[U]),keys:X}}}return{args:re,keys:null}}},967:(Ve,ue,E)=>{"use strict";function c(I,$){if(I){const j=I.indexOf($);0<=j&&I.splice(j,1)}}E.d(ue,{o:()=>c})},3:(Ve,ue,E)=>{"use strict";function c(I){const j=I(K=>{Error.call(K),K.stack=(new Error).stack});return j.prototype=Object.create(Error.prototype),j.prototype.constructor=j,j}E.d(ue,{L:()=>c})},6813:(Ve,ue,E)=>{"use strict";function c(I,$){return I.reduce((j,K,z)=>(j[K]=$[z],j),{})}E.d(ue,{e:()=>c})},23:(Ve,ue,E)=>{"use strict";E.d(ue,{Y:()=>$,l:()=>j});var c=E(2213);let I=null;function $(K){if(c.$.useDeprecatedSynchronousErrorHandling){const z=!I;if(z&&(I={errorThrown:!1,error:null}),K(),z){const{errorThrown:re,error:Z}=I;if(I=null,re)throw Z}}else K()}function j(K){c.$.useDeprecatedSynchronousErrorHandling&&I&&(I.errorThrown=!0,I.error=K)}},310:(Ve,ue,E)=>{"use strict";function c(I,$,j,K=0,z=!1){const re=$.schedule(function(){j(),z?I.add(this.schedule(null,K)):this.unsubscribe()},K);if(I.add(re),!z)return re}E.d(ue,{N:()=>c})},1440:(Ve,ue,E)=>{"use strict";function c(I){return I}E.d(ue,{D:()=>c})},8830:(Ve,ue,E)=>{"use strict";E.d(ue,{X:()=>c});const c=I=>I&&"number"==typeof I.length&&"function"!=typeof I},4558:(Ve,ue,E)=>{"use strict";E.d(ue,{T:()=>I});var c=E(1530);function I($){return Symbol.asyncIterator&&(0,c.T)($?.[Symbol.asyncIterator])}},1530:(Ve,ue,E)=>{"use strict";function c(I){return"function"==typeof I}E.d(ue,{T:()=>c})},1516:(Ve,ue,E)=>{"use strict";E.d(ue,{l:()=>$});var c=E(4127),I=E(1530);function $(j){return(0,I.T)(j[c.s])}},528:(Ve,ue,E)=>{"use strict";E.d(ue,{x:()=>$});var c=E(2476),I=E(1530);function $(j){return(0,I.T)(j?.[c.l])}},2551:(Ve,ue,E)=>{"use strict";E.d(ue,{A:()=>$});var c=E(3942),I=E(1530);function $(j){return!!j&&(j instanceof c.c||(0,I.T)(j.lift)&&(0,I.T)(j.subscribe))}},1117:(Ve,ue,E)=>{"use strict";E.d(ue,{y:()=>I});var c=E(1530);function I($){return(0,c.T)($?.then)}},3233:(Ve,ue,E)=>{"use strict";E.d(ue,{C:()=>$,U:()=>j});var c=E(4398),I=E(1530);function $(K){return(0,c.AQ)(this,arguments,function*(){const re=K.getReader();try{for(;;){const{value:Z,done:X}=yield(0,c.N3)(re.read());if(X)return yield(0,c.N3)(void 0);yield yield(0,c.N3)(Z)}}finally{re.releaseLock()}})}function j(K){return(0,I.T)(K?.getReader)}},9397:(Ve,ue,E)=>{"use strict";E.d(ue,{m:()=>I});var c=E(1530);function I($){return $&&(0,c.T)($.schedule)}},819:(Ve,ue,E)=>{"use strict";E.d(ue,{N:()=>$,S:()=>I});var c=E(1530);function I(j){return(0,c.T)(j?.lift)}function $(j){return K=>{if(I(K))return K.lift(function(z){try{return j(z,this)}catch(re){this.error(re)}});throw new TypeError("Unable to lift unknown Observable type")}}},8067:(Ve,ue,E)=>{"use strict";E.d(ue,{I:()=>j});var c=E(271);const{isArray:I}=Array;function j(K){return(0,c.T)(z=>function $(K,z){return I(z)?K(...z):K(z)}(K,z))}},4318:(Ve,ue,E)=>{"use strict";function c(){}E.d(ue,{l:()=>c})},5682:(Ve,ue,E)=>{"use strict";E.d(ue,{F:()=>I,m:()=>$});var c=E(1440);function I(...j){return $(j)}function $(j){return 0===j.length?c.D:1===j.length?j[0]:function(z){return j.reduce((re,Z)=>Z(re),z)}}},1411:(Ve,ue,E)=>{"use strict";E.d(ue,{m:()=>$});var c=E(2213),I=E(9603);function $(j){I.f.setTimeout(()=>{const{onUnhandledError:K}=c.$;if(!K)throw j;K(j)})}},1374:(Ve,ue,E)=>{"use strict";function c(I){return new TypeError(`You provided ${null!==I&&"object"==typeof I?"an invalid object":`'${I}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}E.d(ue,{L:()=>c})},7172:(Ve,ue,E)=>{"use strict";E.d(ue,{FX:()=>We,K2:()=>K,hZ:()=>I,i0:()=>$,iF:()=>z,kY:()=>X,kp:()=>c,lY:()=>U,sM:()=>te,sf:()=>xe,ui:()=>et,wk:()=>re});const c="*";function I(we,fe){return{type:7,name:we,definitions:fe,options:{}}}function $(we,fe=null){return{type:4,styles:fe,timings:we}}function K(we,fe=null){return{type:2,steps:we,options:fe}}function z(we){return{type:6,styles:we,offset:null}}function re(we,fe,Le){return{type:0,name:we,styles:fe,options:Le}}function X(we,fe,Le=null){return{type:1,expr:we,animation:fe,options:Le}}function U(we,fe=null){return{type:8,animation:we,options:fe}}function te(we,fe=null){return{type:10,animation:we,options:fe}}class xe{constructor(fe=0,Le=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=fe+Le}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(fe=>fe()),this._onDoneFns=[])}onStart(fe){this._originalOnStartFns.push(fe),this._onStartFns.push(fe)}onDone(fe){this._originalOnDoneFns.push(fe),this._onDoneFns.push(fe)}onDestroy(fe){this._onDestroyFns.push(fe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(fe=>fe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(fe=>fe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(fe){this._position=this.totalTime?fe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(fe){const Le="start"==fe?this._onStartFns:this._onDoneFns;Le.forEach(ft=>ft()),Le.length=0}}class et{constructor(fe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=fe;let Le=0,ft=0,Nt=0;const gn=this.players.length;0==gn?queueMicrotask(()=>this._onFinish()):this.players.forEach(On=>{On.onDone(()=>{++Le==gn&&this._onFinish()}),On.onDestroy(()=>{++ft==gn&&this._onDestroy()}),On.onStart(()=>{++Nt==gn&&this._onStart()})}),this.totalTime=this.players.reduce((On,He)=>Math.max(On,He.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(fe=>fe()),this._onDoneFns=[])}init(){this.players.forEach(fe=>fe.init())}onStart(fe){this._onStartFns.push(fe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(fe=>fe()),this._onStartFns=[])}onDone(fe){this._onDoneFns.push(fe)}onDestroy(fe){this._onDestroyFns.push(fe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(fe=>fe.play())}pause(){this.players.forEach(fe=>fe.pause())}restart(){this.players.forEach(fe=>fe.restart())}finish(){this._onFinish(),this.players.forEach(fe=>fe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(fe=>fe.destroy()),this._onDestroyFns.forEach(fe=>fe()),this._onDestroyFns=[])}reset(){this.players.forEach(fe=>fe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(fe){const Le=fe*this.totalTime;this.players.forEach(ft=>{const Nt=ft.totalTime?Math.min(1,Le/ft.totalTime):1;ft.setPosition(Nt)})}getPosition(){const fe=this.players.reduce((Le,ft)=>null===Le||ft.totalTime>Le.totalTime?ft:Le,null);return null!=fe?fe.getPosition():0}beforeDestroy(){this.players.forEach(fe=>{fe.beforeDestroy&&fe.beforeDestroy()})}triggerCallback(fe){const Le="start"==fe?this._onStartFns:this._onDoneFns;Le.forEach(ft=>ft()),Le.length=0}}const We="!"},316:(Ve,ue,E)=>{"use strict";E.d(ue,{AJ:()=>ps,B3:()=>_r,EO:()=>Nr,Jj:()=>St,MD:()=>Yi,N0:()=>Go,QT:()=>$,QX:()=>$r,Sm:()=>x,Sq:()=>ht,T3:()=>_i,UE:()=>zo,VF:()=>K,Vy:()=>zr,Xr:()=>Xt,YU:()=>Te,Yq:()=>ar,ZD:()=>j,_b:()=>ie,aZ:()=>le,bT:()=>Rt,fw:()=>k,hb:()=>ce,hj:()=>Z,oe:()=>Vr,pM:()=>ht,qQ:()=>z});var c=E(2761);let I=null;function $(){return I}function j(p){I||(I=p)}class K{}const z=new c.nKC("DocumentToken");let re=(()=>{class p{historyGo(D){throw new Error("Not implemented")}static{this.\u0275fac=function(T){return new(T||p)}}static{this.\u0275prov=c.jDH({token:p,factory:()=>(0,c.WQX)(X),providedIn:"platform"})}}return p})();const Z=new c.nKC("Location Initialized");let X=(()=>{class p extends re{constructor(){super(),this._doc=(0,c.WQX)(z),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $().getBaseHref(this._doc)}onPopState(D){const T=$().getGlobalEventTarget(this._doc,"window");return T.addEventListener("popstate",D,!1),()=>T.removeEventListener("popstate",D)}onHashChange(D){const T=$().getGlobalEventTarget(this._doc,"window");return T.addEventListener("hashchange",D,!1),()=>T.removeEventListener("hashchange",D)}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(D){this._location.pathname=D}pushState(D,T,H){this._history.pushState(D,T,H)}replaceState(D,T,H){this._history.replaceState(D,T,H)}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}static{this.\u0275fac=function(T){return new(T||p)}}static{this.\u0275prov=c.jDH({token:p,factory:()=>new p,providedIn:"platform"})}}return p})();function U(p,M){if(0==p.length)return M;if(0==M.length)return p;let D=0;return p.endsWith("/")&&D++,M.startsWith("/")&&D++,2==D?p+M.substring(1):1==D?p+M:p+"/"+M}function ee(p){const M=p.match(/#|\?|$/),D=M&&M.index||p.length;return p.slice(0,D-("/"===p[D-1]?1:0))+p.slice(D)}function te(p){return p&&"?"!==p[0]?"?"+p:p}let ce=(()=>{class p{historyGo(D){throw new Error("Not implemented")}static{this.\u0275fac=function(T){return new(T||p)}}static{this.\u0275prov=c.jDH({token:p,factory:()=>(0,c.WQX)(x),providedIn:"root"})}}return p})();const W=new c.nKC("appBaseHref");let x=(()=>{class p extends ce{constructor(D,T){super(),this._platformLocation=D,this._removeListenerFns=[],this._baseHref=T??this._platformLocation.getBaseHrefFromDOM()??(0,c.WQX)(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return U(this._baseHref,D)}path(D=!1){const T=this._platformLocation.pathname+te(this._platformLocation.search),H=this._platformLocation.hash;return H&&D?`${T}${H}`:T}pushState(D,T,H,Ce){const Re=this.prepareExternalUrl(H+te(Ce));this._platformLocation.pushState(D,T,Re)}replaceState(D,T,H,Ce){const Re=this.prepareExternalUrl(H+te(Ce));this._platformLocation.replaceState(D,T,Re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}static{this.\u0275fac=function(T){return new(T||p)(c.KVO(re),c.KVO(W,8))}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})(),k=(()=>{class p extends ce{constructor(D,T){super(),this._platformLocation=D,this._baseHref="",this._removeListenerFns=[],null!=T&&(this._baseHref=T)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}path(D=!1){let T=this._platformLocation.hash;return null==T&&(T="#"),T.length>0?T.substring(1):T}prepareExternalUrl(D){const T=U(this._baseHref,D);return T.length>0?"#"+T:T}pushState(D,T,H,Ce){let Re=this.prepareExternalUrl(H+te(Ce));0==Re.length&&(Re=this._platformLocation.pathname),this._platformLocation.pushState(D,T,Re)}replaceState(D,T,H,Ce){let Re=this.prepareExternalUrl(H+te(Ce));0==Re.length&&(Re=this._platformLocation.pathname),this._platformLocation.replaceState(D,T,Re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}static{this.\u0275fac=function(T){return new(T||p)(c.KVO(re),c.KVO(W,8))}}static{this.\u0275prov=c.jDH({token:p,factory:p.\u0275fac})}}return p})(),le=(()=>{class p{constructor(D){this._subject=new c.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=D;const T=this._locationStrategy.getBaseHref();this._basePath=function ve(p){if(new RegExp("^(https?:)?//").test(p)){const[,D]=p.split(/\/\/[^\/]+/);return D}return p}(ee(Me(T))),this._locationStrategy.onPopState(H=>{this._subject.emit({url:this.path(!0),pop:!0,state:H.state,type:H.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,T=""){return this.path()==this.normalize(D+te(T))}normalize(D){return p.stripTrailingSlash(function ge(p,M){if(!p||!M.startsWith(p))return M;const D=M.substring(p.length);return""===D||["/",";","?","#"].includes(D[0])?D:M}(this._basePath,Me(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,T="",H=null){this._locationStrategy.pushState(H,"",D,T),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+te(T)),H)}replaceState(D,T="",H=null){this._locationStrategy.replaceState(H,"",D,T),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+te(T)),H)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(T=>{this._notifyUrlChangeListeners(T.url,T.state)})),()=>{const T=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice(T,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",T){this._urlChangeListeners.forEach(H=>H(D,T))}subscribe(D,T,H){return this._subject.subscribe({next:D,error:T,complete:H})}static{this.normalizeQueryParams=te}static{this.joinWithSlash=U}static{this.stripTrailingSlash=ee}static{this.\u0275fac=function(T){return new(T||p)(c.KVO(ce))}}static{this.\u0275prov=c.jDH({token:p,factory:()=>function Ae(){return new le((0,c.KVO)(ce))}(),providedIn:"root"})}}return p})();function Me(p){return p.replace(/\/index.html$/,"")}const Se={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var xe=function(p){return p[p.Decimal=0]="Decimal",p[p.Percent=1]="Percent",p[p.Currency=2]="Currency",p[p.Scientific=3]="Scientific",p}(xe||{}),We=function(p){return p[p.Format=0]="Format",p[p.Standalone=1]="Standalone",p}(We||{}),we=function(p){return p[p.Narrow=0]="Narrow",p[p.Abbreviated=1]="Abbreviated",p[p.Wide=2]="Wide",p[p.Short=3]="Short",p}(we||{}),fe=function(p){return p[p.Short=0]="Short",p[p.Medium=1]="Medium",p[p.Long=2]="Long",p[p.Full=3]="Full",p}(fe||{}),Le=function(p){return p[p.Decimal=0]="Decimal",p[p.Group=1]="Group",p[p.List=2]="List",p[p.PercentSign=3]="PercentSign",p[p.PlusSign=4]="PlusSign",p[p.MinusSign=5]="MinusSign",p[p.Exponential=6]="Exponential",p[p.SuperscriptingExponent=7]="SuperscriptingExponent",p[p.PerMille=8]="PerMille",p[p.Infinity=9]="Infinity",p[p.NaN=10]="NaN",p[p.TimeSeparator=11]="TimeSeparator",p[p.CurrencyDecimal=12]="CurrencyDecimal",p[p.CurrencyGroup=13]="CurrencyGroup",p}(Le||{});function ne(p,M){return Kt((0,c.H5H)(p)[c.KH2.DateFormat],M)}function he(p,M){return Kt((0,c.H5H)(p)[c.KH2.TimeFormat],M)}function Ee(p,M){return Kt((0,c.H5H)(p)[c.KH2.DateTimeFormat],M)}function Fe(p,M){const D=(0,c.H5H)(p),T=D[c.KH2.NumberSymbols][M];if(typeof T>"u"){if(M===Le.CurrencyDecimal)return D[c.KH2.NumberSymbols][Le.Decimal];if(M===Le.CurrencyGroup)return D[c.KH2.NumberSymbols][Le.Group]}return T}function Be(p,M){return(0,c.H5H)(p)[c.KH2.NumberFormats][M]}function It(p){if(!p[c.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${p[c.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Kt(p,M){for(let D=M;D>-1;D--)if(typeof p[D]<"u")return p[D];throw new Error("Locale data API: locale data undefined")}function qt(p){const[M,D]=p.split(":");return{hours:+M,minutes:+D}}const Er=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,or={},zn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Nn=function(p){return p[p.Short=0]="Short",p[p.ShortGMT=1]="ShortGMT",p[p.Long=2]="Long",p[p.Extended=3]="Extended",p}(Nn||{}),zt=function(p){return p[p.FullYear=0]="FullYear",p[p.Month=1]="Month",p[p.Date=2]="Date",p[p.Hours=3]="Hours",p[p.Minutes=4]="Minutes",p[p.Seconds=5]="Seconds",p[p.FractionalSeconds=6]="FractionalSeconds",p[p.Day=7]="Day",p}(zt||{}),Bt=function(p){return p[p.DayPeriods=0]="DayPeriods",p[p.Days=1]="Days",p[p.Months=2]="Months",p[p.Eras=3]="Eras",p}(Bt||{});function ar(p,M,D,T){let H=function Pi(p){if(ye(p))return p;if("number"==typeof p&&!isNaN(p))return new Date(p);if("string"==typeof p){if(p=p.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(p)){const[H,Ce=1,Re=1]=p.split("-").map(it=>+it);return Br(H,Ce-1,Re)}const D=parseFloat(p);if(!isNaN(p-D))return new Date(D);let T;if(T=p.match(Er))return function me(p){const M=new Date(0);let D=0,T=0;const H=p[8]?M.setUTCFullYear:M.setFullYear,Ce=p[8]?M.setUTCHours:M.setHours;p[9]&&(D=Number(p[9]+p[10]),T=Number(p[9]+p[11])),H.call(M,Number(p[1]),Number(p[2])-1,Number(p[3]));const Re=Number(p[4]||0)-D,it=Number(p[5]||0)-T,an=Number(p[6]||0),Yt=Math.floor(1e3*parseFloat("0."+(p[7]||0)));return Ce.call(M,Re,it,an,Yt),M}(T)}const M=new Date(p);if(!ye(M))throw new Error(`Unable to convert "${p}" into a date`);return M}(p);M=Yn(D,M)||M;let it,Re=[];for(;M;){if(it=zn.exec(M),!it){Re.push(M);break}{Re=Re.concat(it.slice(1));const fn=Re.pop();if(!fn)break;M=fn}}let an=H.getTimezoneOffset();T&&(an=Dn(T,an),H=function Xr(p,M,D){const T=D?-1:1,H=p.getTimezoneOffset();return function er(p,M){return(p=new Date(p.getTime())).setMinutes(p.getMinutes()+M),p}(p,T*(Dn(M,H)-H))}(H,T,!0));let Yt="";return Re.forEach(fn=>{const $t=function qn(p){if(Je[p])return Je[p];let M;switch(p){case"G":case"GG":case"GGG":M=wt(Bt.Eras,we.Abbreviated);break;case"GGGG":M=wt(Bt.Eras,we.Wide);break;case"GGGGG":M=wt(Bt.Eras,we.Narrow);break;case"y":M=Gt(zt.FullYear,1,0,!1,!0);break;case"yy":M=Gt(zt.FullYear,2,0,!0,!0);break;case"yyy":M=Gt(zt.FullYear,3,0,!1,!0);break;case"yyyy":M=Gt(zt.FullYear,4,0,!1,!0);break;case"Y":M=ur(1);break;case"YY":M=ur(2,!0);break;case"YYY":M=ur(3);break;case"YYYY":M=ur(4);break;case"M":case"L":M=Gt(zt.Month,1,1);break;case"MM":case"LL":M=Gt(zt.Month,2,1);break;case"MMM":M=wt(Bt.Months,we.Abbreviated);break;case"MMMM":M=wt(Bt.Months,we.Wide);break;case"MMMMM":M=wt(Bt.Months,we.Narrow);break;case"LLL":M=wt(Bt.Months,we.Abbreviated,We.Standalone);break;case"LLLL":M=wt(Bt.Months,we.Wide,We.Standalone);break;case"LLLLL":M=wt(Bt.Months,we.Narrow,We.Standalone);break;case"w":M=jr(1);break;case"ww":M=jr(2);break;case"W":M=jr(1,!0);break;case"d":M=Gt(zt.Date,1);break;case"dd":M=Gt(zt.Date,2);break;case"c":case"cc":M=Gt(zt.Day,1);break;case"ccc":M=wt(Bt.Days,we.Abbreviated,We.Standalone);break;case"cccc":M=wt(Bt.Days,we.Wide,We.Standalone);break;case"ccccc":M=wt(Bt.Days,we.Narrow,We.Standalone);break;case"cccccc":M=wt(Bt.Days,we.Short,We.Standalone);break;case"E":case"EE":case"EEE":M=wt(Bt.Days,we.Abbreviated);break;case"EEEE":M=wt(Bt.Days,we.Wide);break;case"EEEEE":M=wt(Bt.Days,we.Narrow);break;case"EEEEEE":M=wt(Bt.Days,we.Short);break;case"a":case"aa":case"aaa":M=wt(Bt.DayPeriods,we.Abbreviated);break;case"aaaa":M=wt(Bt.DayPeriods,we.Wide);break;case"aaaaa":M=wt(Bt.DayPeriods,we.Narrow);break;case"b":case"bb":case"bbb":M=wt(Bt.DayPeriods,we.Abbreviated,We.Standalone,!0);break;case"bbbb":M=wt(Bt.DayPeriods,we.Wide,We.Standalone,!0);break;case"bbbbb":M=wt(Bt.DayPeriods,we.Narrow,We.Standalone,!0);break;case"B":case"BB":case"BBB":M=wt(Bt.DayPeriods,we.Abbreviated,We.Format,!0);break;case"BBBB":M=wt(Bt.DayPeriods,we.Wide,We.Format,!0);break;case"BBBBB":M=wt(Bt.DayPeriods,we.Narrow,We.Format,!0);break;case"h":M=Gt(zt.Hours,1,-12);break;case"hh":M=Gt(zt.Hours,2,-12);break;case"H":M=Gt(zt.Hours,1);break;case"HH":M=Gt(zt.Hours,2);break;case"m":M=Gt(zt.Minutes,1);break;case"mm":M=Gt(zt.Minutes,2);break;case"s":M=Gt(zt.Seconds,1);break;case"ss":M=Gt(zt.Seconds,2);break;case"S":M=Gt(zt.FractionalSeconds,1);break;case"SS":M=Gt(zt.FractionalSeconds,2);break;case"SSS":M=Gt(zt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":M=wn(Nn.Short);break;case"ZZZZZ":M=wn(Nn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":M=wn(Nn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":M=wn(Nn.Long);break;default:return null}return Je[p]=M,M}(fn);Yt+=$t?$t(H,D,an):"''"===fn?"'":fn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Yt}function Br(p,M,D){const T=new Date(0);return T.setFullYear(p,M,D),T.setHours(0,0,0),T}function Yn(p,M){const D=function Nt(p){return(0,c.H5H)(p)[c.KH2.LocaleId]}(p);if(or[D]=or[D]||{},or[D][M])return or[D][M];let T="";switch(M){case"shortDate":T=ne(p,fe.Short);break;case"mediumDate":T=ne(p,fe.Medium);break;case"longDate":T=ne(p,fe.Long);break;case"fullDate":T=ne(p,fe.Full);break;case"shortTime":T=he(p,fe.Short);break;case"mediumTime":T=he(p,fe.Medium);break;case"longTime":T=he(p,fe.Long);break;case"fullTime":T=he(p,fe.Full);break;case"short":const H=Yn(p,"shortTime"),Ce=Yn(p,"shortDate");T=hr(Ee(p,fe.Short),[H,Ce]);break;case"medium":const Re=Yn(p,"mediumTime"),it=Yn(p,"mediumDate");T=hr(Ee(p,fe.Medium),[Re,it]);break;case"long":const an=Yn(p,"longTime"),Yt=Yn(p,"longDate");T=hr(Ee(p,fe.Long),[an,Yt]);break;case"full":const fn=Yn(p,"fullTime"),$t=Yn(p,"fullDate");T=hr(Ee(p,fe.Full),[fn,$t])}return T&&(or[D][M]=T),T}function hr(p,M){return M&&(p=p.replace(/\{([^}]+)}/g,function(D,T){return null!=M&&T in M?M[T]:D})),p}function yn(p,M,D="-",T,H){let Ce="";(p<0||H&&p<=0)&&(H?p=1-p:(p=-p,Ce=D));let Re=String(p);for(;Re.length<M;)Re="0"+Re;return T&&(Re=Re.slice(Re.length-M)),Ce+Re}function Gt(p,M,D=0,T=!1,H=!1){return function(Ce,Re){let it=function nn(p,M){switch(p){case zt.FullYear:return M.getFullYear();case zt.Month:return M.getMonth();case zt.Date:return M.getDate();case zt.Hours:return M.getHours();case zt.Minutes:return M.getMinutes();case zt.Seconds:return M.getSeconds();case zt.FractionalSeconds:return M.getMilliseconds();case zt.Day:return M.getDay();default:throw new Error(`Unknown DateType value "${p}".`)}}(p,Ce);if((D>0||it>-D)&&(it+=D),p===zt.Hours)0===it&&-12===D&&(it=12);else if(p===zt.FractionalSeconds)return function Ze(p,M){return yn(p,3).substring(0,M)}(it,M);const an=Fe(Re,Le.MinusSign);return yn(it,M,an,T,H)}}function wt(p,M,D=We.Format,T=!1){return function(H,Ce){return function Ei(p,M,D,T,H,Ce){switch(D){case Bt.Months:return function He(p,M,D){const T=(0,c.H5H)(p),Ce=Kt([T[c.KH2.MonthsFormat],T[c.KH2.MonthsStandalone]],M);return Kt(Ce,D)}(M,H,T)[p.getMonth()];case Bt.Days:return function On(p,M,D){const T=(0,c.H5H)(p),Ce=Kt([T[c.KH2.DaysFormat],T[c.KH2.DaysStandalone]],M);return Kt(Ce,D)}(M,H,T)[p.getDay()];case Bt.DayPeriods:const Re=p.getHours(),it=p.getMinutes();if(Ce){const Yt=function ln(p){const M=(0,c.H5H)(p);return It(M),(M[c.KH2.ExtraData][2]||[]).map(T=>"string"==typeof T?qt(T):[qt(T[0]),qt(T[1])])}(M),fn=function hn(p,M,D){const T=(0,c.H5H)(p);It(T);const Ce=Kt([T[c.KH2.ExtraData][0],T[c.KH2.ExtraData][1]],M)||[];return Kt(Ce,D)||[]}(M,H,T),$t=Yt.findIndex(jn=>{if(Array.isArray(jn)){const[Vt,vn]=jn,Si=Re>=Vt.hours&&it>=Vt.minutes,di=Re<vn.hours||Re===vn.hours&&it<vn.minutes;if(Vt.hours<vn.hours){if(Si&&di)return!0}else if(Si||di)return!0}else if(jn.hours===Re&&jn.minutes===it)return!0;return!1});if(-1!==$t)return fn[$t]}return function gn(p,M,D){const T=(0,c.H5H)(p),Ce=Kt([T[c.KH2.DayPeriodsFormat],T[c.KH2.DayPeriodsStandalone]],M);return Kt(Ce,D)}(M,H,T)[Re<12?0:1];case Bt.Eras:return function Ut(p,M){return Kt((0,c.H5H)(p)[c.KH2.Eras],M)}(M,T)[p.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${D}`)}}(H,Ce,p,M,D,T)}}function wn(p){return function(M,D,T){const H=-1*T,Ce=Fe(D,Le.MinusSign),Re=H>0?Math.floor(H/60):Math.ceil(H/60);switch(p){case Nn.Short:return(H>=0?"+":"")+yn(Re,2,Ce)+yn(Math.abs(H%60),2,Ce);case Nn.ShortGMT:return"GMT"+(H>=0?"+":"")+yn(Re,1,Ce);case Nn.Long:return"GMT"+(H>=0?"+":"")+yn(Re,2,Ce)+":"+yn(Math.abs(H%60),2,Ce);case Nn.Extended:return 0===T?"Z":(H>=0?"+":"")+yn(Re,2,Ce)+":"+yn(Math.abs(H%60),2,Ce);default:throw new Error(`Unknown zone width "${p}"`)}}}const Pr=0,lt=4;function lr(p){return Br(p.getFullYear(),p.getMonth(),p.getDate()+(lt-p.getDay()))}function jr(p,M=!1){return function(D,T){let H;if(M){const Ce=new Date(D.getFullYear(),D.getMonth(),1).getDay()-1,Re=D.getDate();H=1+Math.floor((Re+Ce)/7)}else{const Ce=lr(D),Re=function pr(p){const M=Br(p,Pr,1).getDay();return Br(p,0,1+(M<=lt?lt:lt+7)-M)}(Ce.getFullYear()),it=Ce.getTime()-Re.getTime();H=1+Math.round(it/6048e5)}return yn(H,p,Fe(T,Le.MinusSign))}}function ur(p,M=!1){return function(D,T){return yn(lr(D).getFullYear(),p,Fe(T,Le.MinusSign),M)}}const Je={};function Dn(p,M){p=p.replace(/:/g,"");const D=Date.parse("Jan 01, 1970 00:00:00 "+p)/6e4;return isNaN(D)?M:D}function ye(p){return p instanceof Date&&!isNaN(p.valueOf())}const R=/^(\d+)?\.((\d+)(-(\d+))?)?$/,L=22,de=".",Ge="0",ut=";",bt=",",Tt="#";function rn(p,M,D,T,H,Ce,Re=!1){let it="",an=!1;if(isFinite(p)){let Yt=function Hn(p){let T,H,Ce,Re,it,M=Math.abs(p)+"",D=0;for((H=M.indexOf(de))>-1&&(M=M.replace(de,"")),(Ce=M.search(/e/i))>0?(H<0&&(H=Ce),H+=+M.slice(Ce+1),M=M.substring(0,Ce)):H<0&&(H=M.length),Ce=0;M.charAt(Ce)===Ge;Ce++);if(Ce===(it=M.length))T=[0],H=1;else{for(it--;M.charAt(it)===Ge;)it--;for(H-=Ce,T=[],Re=0;Ce<=it;Ce++,Re++)T[Re]=Number(M.charAt(Ce))}return H>L&&(T=T.splice(0,L-1),D=H-1,H=1),{digits:T,exponent:D,integerLen:H}}(p);Re&&(Yt=function kn(p){if(0===p.digits[0])return p;const M=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(0===M?p.digits.push(0,0):1===M&&p.digits.push(0),p.integerLen+=2),p}(Yt));let fn=M.minInt,$t=M.minFrac,jn=M.maxFrac;if(Ce){const Mi=Ce.match(R);if(null===Mi)throw new Error(`${Ce} is not a valid digit info`);const is=Mi[1],fi=Mi[3],Bs=Mi[5];null!=is&&(fn=gr(is)),null!=fi&&($t=gr(fi)),null!=Bs?jn=gr(Bs):null!=fi&&$t>jn&&(jn=$t)}!function Zn(p,M,D){if(M>D)throw new Error(`The minimum number of digits after fraction (${M}) is higher than the maximum (${D}).`);let T=p.digits,H=T.length-p.integerLen;const Ce=Math.min(Math.max(M,H),D);let Re=Ce+p.integerLen,it=T[Re];if(Re>0){T.splice(Math.max(p.integerLen,Re));for(let $t=Re;$t<T.length;$t++)T[$t]=0}else{H=Math.max(0,H),p.integerLen=1,T.length=Math.max(1,Re=Ce+1),T[0]=0;for(let $t=1;$t<Re;$t++)T[$t]=0}if(it>=5)if(Re-1<0){for(let $t=0;$t>Re;$t--)T.unshift(0),p.integerLen++;T.unshift(1),p.integerLen++}else T[Re-1]++;for(;H<Math.max(0,Ce);H++)T.push(0);let an=0!==Ce;const Yt=M+p.integerLen,fn=T.reduceRight(function($t,jn,Vt,vn){return vn[Vt]=(jn+=$t)<10?jn:jn-10,an&&(0===vn[Vt]&&Vt>=Yt?vn.pop():an=!1),jn>=10?1:0},0);fn&&(T.unshift(fn),p.integerLen++)}(Yt,$t,jn);let Vt=Yt.digits,vn=Yt.integerLen;const Si=Yt.exponent;let di=[];for(an=Vt.every(Mi=>!Mi);vn<fn;vn++)Vt.unshift(0);for(;vn<0;vn++)Vt.unshift(0);vn>0?di=Vt.splice(vn,Vt.length):(di=Vt,Vt=[0]);const ki=[];for(Vt.length>=M.lgSize&&ki.unshift(Vt.splice(-M.lgSize,Vt.length).join(""));Vt.length>M.gSize;)ki.unshift(Vt.splice(-M.gSize,Vt.length).join(""));Vt.length&&ki.unshift(Vt.join("")),it=ki.join(Fe(D,T)),di.length&&(it+=Fe(D,H)+di.join("")),Si&&(it+=Fe(D,Le.Exponential)+"+"+Si)}else it=Fe(D,Le.Infinity);return it=p<0&&!an?M.negPre+it+M.negSuf:M.posPre+it+M.posSuf,it}function Gn(p,M="-"){const D={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},T=p.split(ut),H=T[0],Ce=T[1],Re=-1!==H.indexOf(de)?H.split(de):[H.substring(0,H.lastIndexOf(Ge)+1),H.substring(H.lastIndexOf(Ge)+1)],it=Re[0],an=Re[1]||"";D.posPre=it.substring(0,it.indexOf(Tt));for(let fn=0;fn<an.length;fn++){const $t=an.charAt(fn);$t===Ge?D.minFrac=D.maxFrac=fn+1:$t===Tt?D.maxFrac=fn+1:D.posSuf+=$t}const Yt=it.split(bt);if(D.gSize=Yt[1]?Yt[1].length:0,D.lgSize=Yt[2]||Yt[1]?(Yt[2]||Yt[1]).length:0,Ce){const fn=H.length-D.posPre.length-D.posSuf.length,$t=Ce.indexOf(Tt);D.negPre=Ce.substring(0,$t).replace(/'/g,""),D.negSuf=Ce.slice($t+fn).replace(/'/g,"")}else D.negPre=M+D.posPre,D.negSuf=D.posSuf;return D}function gr(p){const M=parseInt(p);if(isNaN(M))throw new Error("Invalid integer literal when parsing "+p);return M}function Nr(p,M,D){return(0,c.XSP)(p,M,D)}function ie(p,M){M=encodeURIComponent(M);for(const D of p.split(";")){const T=D.indexOf("="),[H,Ce]=-1==T?[D,""]:[D.slice(0,T),D.slice(T+1)];if(H.trim()===M)return decodeURIComponent(Ce)}return null}const F=/\s+/,Q=[];let Te=(()=>{class p{constructor(D,T,H,Ce){this._iterableDiffers=D,this._keyValueDiffers=T,this._ngEl=H,this._renderer=Ce,this.initialClasses=Q,this.stateMap=new Map}set klass(D){this.initialClasses=null!=D?D.trim().split(F):Q}set ngClass(D){this.rawClass="string"==typeof D?D.trim().split(F):D}ngDoCheck(){for(const T of this.initialClasses)this._updateState(T,!0);const D=this.rawClass;if(Array.isArray(D)||D instanceof Set)for(const T of D)this._updateState(T,!0);else if(null!=D)for(const T of Object.keys(D))this._updateState(T,!!D[T]);this._applyStateDiff()}_updateState(D,T){const H=this.stateMap.get(D);void 0!==H?(H.enabled!==T&&(H.changed=!0,H.enabled=T),H.touched=!0):this.stateMap.set(D,{enabled:T,changed:!0,touched:!0})}_applyStateDiff(){for(const D of this.stateMap){const T=D[0],H=D[1];H.changed?(this._toggleClass(T,H.enabled),H.changed=!1):H.touched||(H.enabled&&this._toggleClass(T,!1),this.stateMap.delete(T)),H.touched=!1}}_toggleClass(D,T){(D=D.trim()).length>0&&D.split(F).forEach(H=>{T?this._renderer.addClass(this._ngEl.nativeElement,H):this._renderer.removeClass(this._ngEl.nativeElement,H)})}static{this.\u0275fac=function(T){return new(T||p)(c.rXU(c._q3),c.rXU(c.MKu),c.rXU(c.aKT),c.rXU(c.sFG))}}static{this.\u0275dir=c.FsC({type:p,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}}return p})();class Oe{constructor(M,D,T,H){this.$implicit=M,this.ngForOf=D,this.index=T,this.count=H}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ht=(()=>{class p{set ngForOf(D){this._ngForOf=D,this._ngForOfDirty=!0}set ngForTrackBy(D){this._trackByFn=D}get ngForTrackBy(){return this._trackByFn}constructor(D,T,H){this._viewContainer=D,this._template=T,this._differs=H,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(D){D&&(this._template=D)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const D=this._ngForOf;!this._differ&&D&&(this._differ=this._differs.find(D).create(this.ngForTrackBy))}if(this._differ){const D=this._differ.diff(this._ngForOf);D&&this._applyChanges(D)}}_applyChanges(D){const T=this._viewContainer;D.forEachOperation((H,Ce,Re)=>{if(null==H.previousIndex)T.createEmbeddedView(this._template,new Oe(H.item,this._ngForOf,-1,-1),null===Re?void 0:Re);else if(null==Re)T.remove(null===Ce?void 0:Ce);else if(null!==Ce){const it=T.get(Ce);T.move(it,Re),rt(it,H)}});for(let H=0,Ce=T.length;H<Ce;H++){const it=T.get(H).context;it.index=H,it.count=Ce,it.ngForOf=this._ngForOf}D.forEachIdentityChange(H=>{rt(T.get(H.currentIndex),H)})}static ngTemplateContextGuard(D,T){return!0}static{this.\u0275fac=function(T){return new(T||p)(c.rXU(c.c1b),c.rXU(c.C4Q),c.rXU(c._q3))}}static{this.\u0275dir=c.FsC({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return p})();function rt(p,M){p.context.$implicit=M.item}let Rt=(()=>{class p{constructor(D,T){this._viewContainer=D,this._context=new jt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=T}set ngIf(D){this._context.$implicit=this._context.ngIf=D,this._updateView()}set ngIfThen(D){pn("ngIfThen",D),this._thenTemplateRef=D,this._thenViewRef=null,this._updateView()}set ngIfElse(D){pn("ngIfElse",D),this._elseTemplateRef=D,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(D,T){return!0}static{this.\u0275fac=function(T){return new(T||p)(c.rXU(c.c1b),c.rXU(c.C4Q))}}static{this.\u0275dir=c.FsC({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return p})();class jt{constructor(){this.$implicit=null,this.ngIf=null}}function pn(p,M){if(M&&!M.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,c.Tbb)(M)}'.`)}let _r=(()=>{class p{constructor(D,T,H){this._ngEl=D,this._differs=T,this._renderer=H,this._ngStyle=null,this._differ=null}set ngStyle(D){this._ngStyle=D,!this._differ&&D&&(this._differ=this._differs.find(D).create())}ngDoCheck(){if(this._differ){const D=this._differ.diff(this._ngStyle);D&&this._applyChanges(D)}}_setStyle(D,T){const[H,Ce]=D.split("."),Re=-1===H.indexOf("-")?void 0:c.czy.DashCase;null!=T?this._renderer.setStyle(this._ngEl.nativeElement,H,Ce?`${T}${Ce}`:T,Re):this._renderer.removeStyle(this._ngEl.nativeElement,H,Re)}_applyChanges(D){D.forEachRemovedItem(T=>this._setStyle(T.key,null)),D.forEachAddedItem(T=>this._setStyle(T.key,T.currentValue)),D.forEachChangedItem(T=>this._setStyle(T.key,T.currentValue))}static{this.\u0275fac=function(T){return new(T||p)(c.rXU(c.aKT),c.rXU(c.MKu),c.rXU(c.sFG))}}static{this.\u0275dir=c.FsC({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return p})(),_i=(()=>{class p{constructor(D){this._viewContainerRef=D,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(D){if(this._shouldRecreateView(D)){const T=this._viewContainerRef;if(this._viewRef&&T.remove(T.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const H=this._createContextForwardProxy();this._viewRef=T.createEmbeddedView(this.ngTemplateOutlet,H,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(D){return!!D.ngTemplateOutlet||!!D.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(D,T,H)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,T,H),get:(D,T,H)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,T,H)}})}static{this.\u0275fac=function(T){return new(T||p)(c.rXU(c.c1b))}}static{this.\u0275dir=c.FsC({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.OA$]})}}return p})();function N(p,M){return new c.wOt(2100,!1)}class q{createSubscription(M,D){return(0,c.O8t)(()=>M.subscribe({next:D,error:T=>{throw T}}))}dispose(M){(0,c.O8t)(()=>M.unsubscribe())}}class ae{createSubscription(M,D){return M.then(D,T=>{throw T})}dispose(M){}}const Ue=new ae,tt=new q;let St=(()=>{class p{constructor(D){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=D}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(D){return this._obj?D!==this._obj?(this._dispose(),this.transform(D)):this._latestValue:(D&&this._subscribe(D),this._latestValue)}_subscribe(D){this._obj=D,this._strategy=this._selectStrategy(D),this._subscription=this._strategy.createSubscription(D,T=>this._updateLatestValue(D,T))}_selectStrategy(D){if((0,c.jNT)(D))return Ue;if((0,c.zjR)(D))return tt;throw N()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(D,T){D===this._obj&&(this._latestValue=T,this._ref.markForCheck())}static{this.\u0275fac=function(T){return new(T||p)(c.rXU(c.gRc,16))}}static{this.\u0275pipe=c.EJ8({name:"async",type:p,pure:!1,standalone:!0})}}return p})(),$r=(()=>{class p{constructor(D){this._locale=D}transform(D,T,H){if(!fs(D))return null;H=H||this._locale;try{return function Ki(p,M,D){return rn(p,Gn(Be(M,xe.Decimal),Fe(M,Le.MinusSign)),M,Le.Group,Le.Decimal,D)}(Wn(D),H,T)}catch(Ce){throw N()}}static{this.\u0275fac=function(T){return new(T||p)(c.rXU(c.xe9,16))}}static{this.\u0275pipe=c.EJ8({name:"number",type:p,pure:!0,standalone:!0})}}return p})(),Vr=(()=>{class p{constructor(D,T="USD"){this._locale=D,this._defaultCurrencyCode=T}transform(D,T=this._defaultCurrencyCode,H="symbol",Ce,Re){if(!fs(D))return null;Re=Re||this._locale,"boolean"==typeof H&&(H=H?"symbol":"code");let it=T||this._defaultCurrencyCode;"code"!==H&&(it="symbol"===H||"symbol-narrow"===H?function mn(p,M,D="en"){const T=function ot(p){return(0,c.H5H)(p)[c.KH2.Currencies]}(D)[p]||Se[p]||[],H=T[1];return"narrow"===M&&"string"==typeof H?H:T[0]||p}(it,"symbol"===H?"wide":"narrow",Re):H);try{return function Yr(p,M,D,T,H){const Re=Gn(Be(M,xe.Currency),Fe(M,Le.MinusSign));return Re.minFrac=function ai(p){let M;const D=Se[p];return D&&(M=D[2]),"number"==typeof M?M:2}(T),Re.maxFrac=Re.minFrac,rn(p,Re,M,Le.CurrencyGroup,Le.CurrencyDecimal,H).replace("\xa4",D).replace("\xa4","").trim()}(Wn(D),Re,it,T,Ce)}catch(an){throw N()}}static{this.\u0275fac=function(T){return new(T||p)(c.rXU(c.xe9,16),c.rXU(c.Ocv,16))}}static{this.\u0275pipe=c.EJ8({name:"currency",type:p,pure:!0,standalone:!0})}}return p})();function fs(p){return!(null==p||""===p||p!=p)}function Wn(p){if("string"==typeof p&&!isNaN(Number(p)-parseFloat(p)))return Number(p);if("number"!=typeof p)throw new Error(`${p} is not a number`);return p}let Yi=(()=>{class p{static{this.\u0275fac=function(T){return new(T||p)}}static{this.\u0275mod=c.$C({type:p})}static{this.\u0275inj=c.G2t({})}}return p})();const ps="browser",gs="server";function zo(p){return p===ps}function zr(p){return p===gs}let Xt=(()=>{class p{static{this.\u0275prov=(0,c.jDH)({token:p,providedIn:"root",factory:()=>new eo((0,c.KVO)(z),window)})}}return p})();class eo{constructor(M,D){this.document=M,this.window=D,this.offset=()=>[0,0]}setOffset(M){this.offset=Array.isArray(M)?()=>M:M}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(M){this.supportsScrolling()&&this.window.scrollTo(M[0],M[1])}scrollToAnchor(M){if(!this.supportsScrolling())return;const D=function vs(p,M){const D=p.getElementById(M)||p.getElementsByName(M)[0];if(D)return D;if("function"==typeof p.createTreeWalker&&p.body&&"function"==typeof p.body.attachShadow){const T=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let H=T.currentNode;for(;H;){const Ce=H.shadowRoot;if(Ce){const Re=Ce.getElementById(M)||Ce.querySelector(`[name="${M}"]`);if(Re)return Re}H=T.nextNode()}}return null}(this.document,M);D&&(this.scrollToElement(D),D.focus())}setHistoryScrollRestoration(M){this.supportsScrolling()&&(this.window.history.scrollRestoration=M)}scrollToElement(M){const D=M.getBoundingClientRect(),T=D.left+this.window.pageXOffset,H=D.top+this.window.pageYOffset,Ce=this.offset();this.window.scrollTo(T-Ce[0],H-Ce[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Go{}},677:(Ve,ue,E)=>{"use strict";function c(ie,F,Q,Te,Ne,je,Oe){try{var ht=ie[je](Oe),rt=ht.value}catch(Qt){return void Q(Qt)}ht.done?F(rt):Promise.resolve(rt).then(Te,Ne)}function I(ie){return function(){var F=this,Q=arguments;return new Promise(function(Te,Ne){var je=ie.apply(F,Q);function Oe(rt){c(je,Te,Ne,Oe,ht,"next",rt)}function ht(rt){c(je,Te,Ne,Oe,ht,"throw",rt)}Oe(void 0)})}}E.d(ue,{a7:()=>Pn,Qq:()=>Ee,q1:()=>Tt,hv:()=>He,Nl:()=>et,$R:()=>Xr,ZZ:()=>ut,Sx:()=>ye,$m:()=>zi});var $=E(2761),j=E(9452),K=E(3942),z=E(4600),re=E(1903),Z=E(1567),X=E(271),U=E(9475),ee=E(6647),te=E(8764),ce=E(316);class W{}class x{}class k{constructor(F){this.normalizedNames=new Map,this.lazyUpdate=null,F?"string"==typeof F?this.lazyInit=()=>{this.headers=new Map,F.split("\n").forEach(Q=>{const Te=Q.indexOf(":");if(Te>0){const Ne=Q.slice(0,Te),je=Ne.toLowerCase(),Oe=Q.slice(Te+1).trim();this.maybeSetNormalizedName(Ne,je),this.headers.has(je)?this.headers.get(je).push(Oe):this.headers.set(je,[Oe])}})}:typeof Headers<"u"&&F instanceof Headers?(this.headers=new Map,F.forEach((Q,Te)=>{this.setHeaderEntries(Te,Q)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(F).forEach(([Q,Te])=>{this.setHeaderEntries(Q,Te)})}:this.headers=new Map}has(F){return this.init(),this.headers.has(F.toLowerCase())}get(F){this.init();const Q=this.headers.get(F.toLowerCase());return Q&&Q.length>0?Q[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(F){return this.init(),this.headers.get(F.toLowerCase())||null}append(F,Q){return this.clone({name:F,value:Q,op:"a"})}set(F,Q){return this.clone({name:F,value:Q,op:"s"})}delete(F,Q){return this.clone({name:F,value:Q,op:"d"})}maybeSetNormalizedName(F,Q){this.normalizedNames.has(Q)||this.normalizedNames.set(Q,F)}init(){this.lazyInit&&(this.lazyInit instanceof k?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(F=>this.applyUpdate(F)),this.lazyUpdate=null))}copyFrom(F){F.init(),Array.from(F.headers.keys()).forEach(Q=>{this.headers.set(Q,F.headers.get(Q)),this.normalizedNames.set(Q,F.normalizedNames.get(Q))})}clone(F){const Q=new k;return Q.lazyInit=this.lazyInit&&this.lazyInit instanceof k?this.lazyInit:this,Q.lazyUpdate=(this.lazyUpdate||[]).concat([F]),Q}applyUpdate(F){const Q=F.name.toLowerCase();switch(F.op){case"a":case"s":let Te=F.value;if("string"==typeof Te&&(Te=[Te]),0===Te.length)return;this.maybeSetNormalizedName(F.name,Q);const Ne=("a"===F.op?this.headers.get(Q):void 0)||[];Ne.push(...Te),this.headers.set(Q,Ne);break;case"d":const je=F.value;if(je){let Oe=this.headers.get(Q);if(!Oe)return;Oe=Oe.filter(ht=>-1===je.indexOf(ht)),0===Oe.length?(this.headers.delete(Q),this.normalizedNames.delete(Q)):this.headers.set(Q,Oe)}else this.headers.delete(Q),this.normalizedNames.delete(Q)}}setHeaderEntries(F,Q){const Te=(Array.isArray(Q)?Q:[Q]).map(je=>je.toString()),Ne=F.toLowerCase();this.headers.set(Ne,Te),this.maybeSetNormalizedName(F,Ne)}forEach(F){this.init(),Array.from(this.normalizedNames.keys()).forEach(Q=>F(this.normalizedNames.get(Q),this.headers.get(Q)))}}class Ae{encodeKey(F){return Se(F)}encodeValue(F){return Se(F)}decodeKey(F){return decodeURIComponent(F)}decodeValue(F){return decodeURIComponent(F)}}const Me=/%(\d[a-f0-9])/gi,ve={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Se(ie){return encodeURIComponent(ie).replace(Me,(F,Q)=>ve[Q]??F)}function xe(ie){return`${ie}`}class et{constructor(F={}){if(this.updates=null,this.cloneFrom=null,this.encoder=F.encoder||new Ae,F.fromString){if(F.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ge(ie,F){const Q=new Map;return ie.length>0&&ie.replace(/^\?/,"").split("&").forEach(Ne=>{const je=Ne.indexOf("="),[Oe,ht]=-1==je?[F.decodeKey(Ne),""]:[F.decodeKey(Ne.slice(0,je)),F.decodeValue(Ne.slice(je+1))],rt=Q.get(Oe)||[];rt.push(ht),Q.set(Oe,rt)}),Q}(F.fromString,this.encoder)}else F.fromObject?(this.map=new Map,Object.keys(F.fromObject).forEach(Q=>{const Te=F.fromObject[Q],Ne=Array.isArray(Te)?Te.map(xe):[xe(Te)];this.map.set(Q,Ne)})):this.map=null}has(F){return this.init(),this.map.has(F)}get(F){this.init();const Q=this.map.get(F);return Q?Q[0]:null}getAll(F){return this.init(),this.map.get(F)||null}keys(){return this.init(),Array.from(this.map.keys())}append(F,Q){return this.clone({param:F,value:Q,op:"a"})}appendAll(F){const Q=[];return Object.keys(F).forEach(Te=>{const Ne=F[Te];Array.isArray(Ne)?Ne.forEach(je=>{Q.push({param:Te,value:je,op:"a"})}):Q.push({param:Te,value:Ne,op:"a"})}),this.clone(Q)}set(F,Q){return this.clone({param:F,value:Q,op:"s"})}delete(F,Q){return this.clone({param:F,value:Q,op:"d"})}toString(){return this.init(),this.keys().map(F=>{const Q=this.encoder.encodeKey(F);return this.map.get(F).map(Te=>Q+"="+this.encoder.encodeValue(Te)).join("&")}).filter(F=>""!==F).join("&")}clone(F){const Q=new et({encoder:this.encoder});return Q.cloneFrom=this.cloneFrom||this,Q.updates=(this.updates||[]).concat(F),Q}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(F=>this.map.set(F,this.cloneFrom.map.get(F))),this.updates.forEach(F=>{switch(F.op){case"a":case"s":const Q=("a"===F.op?this.map.get(F.param):void 0)||[];Q.push(xe(F.value)),this.map.set(F.param,Q);break;case"d":if(void 0===F.value){this.map.delete(F.param);break}{let Te=this.map.get(F.param)||[];const Ne=Te.indexOf(xe(F.value));-1!==Ne&&Te.splice(Ne,1),Te.length>0?this.map.set(F.param,Te):this.map.delete(F.param)}}}),this.cloneFrom=this.updates=null)}}class we{constructor(){this.map=new Map}set(F,Q){return this.map.set(F,Q),this}get(F){return this.map.has(F)||this.map.set(F,F.defaultValue()),this.map.get(F)}delete(F){return this.map.delete(F),this}has(F){return this.map.has(F)}keys(){return this.map.keys()}}function Le(ie){return typeof ArrayBuffer<"u"&&ie instanceof ArrayBuffer}function ft(ie){return typeof Blob<"u"&&ie instanceof Blob}function Nt(ie){return typeof FormData<"u"&&ie instanceof FormData}class On{constructor(F,Q,Te,Ne){let je;if(this.url=Q,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=F.toUpperCase(),function fe(ie){switch(ie){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ne?(this.body=void 0!==Te?Te:null,je=Ne):je=Te,je&&(this.reportProgress=!!je.reportProgress,this.withCredentials=!!je.withCredentials,je.responseType&&(this.responseType=je.responseType),je.headers&&(this.headers=je.headers),je.context&&(this.context=je.context),je.params&&(this.params=je.params),this.transferCache=je.transferCache),this.headers||(this.headers=new k),this.context||(this.context=new we),this.params){const Oe=this.params.toString();if(0===Oe.length)this.urlWithParams=Q;else{const ht=Q.indexOf("?");this.urlWithParams=Q+(-1===ht?"?":ht<Q.length-1?"&":"")+Oe}}else this.params=new et,this.urlWithParams=Q}serializeBody(){return null===this.body?null:Le(this.body)||ft(this.body)||Nt(this.body)||function gn(ie){return typeof URLSearchParams<"u"&&ie instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof et?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Nt(this.body)?null:ft(this.body)?this.body.type||null:Le(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof et?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(F={}){const Q=F.method||this.method,Te=F.url||this.url,Ne=F.responseType||this.responseType,je=void 0!==F.body?F.body:this.body,Oe=void 0!==F.withCredentials?F.withCredentials:this.withCredentials,ht=void 0!==F.reportProgress?F.reportProgress:this.reportProgress;let rt=F.headers||this.headers,Qt=F.params||this.params;const Rt=F.context??this.context;return void 0!==F.setHeaders&&(rt=Object.keys(F.setHeaders).reduce((jt,pn)=>jt.set(pn,F.setHeaders[pn]),rt)),F.setParams&&(Qt=Object.keys(F.setParams).reduce((jt,pn)=>jt.set(pn,F.setParams[pn]),Qt)),new On(Q,Te,je,{params:Qt,headers:rt,context:Rt,reportProgress:ht,responseType:Ne,withCredentials:Oe})}}var He=function(ie){return ie[ie.Sent=0]="Sent",ie[ie.UploadProgress=1]="UploadProgress",ie[ie.ResponseHeader=2]="ResponseHeader",ie[ie.DownloadProgress=3]="DownloadProgress",ie[ie.Response=4]="Response",ie[ie.User=5]="User",ie}(He||{});class Ut{constructor(F,Q=200,Te="OK"){this.headers=F.headers||new k,this.status=void 0!==F.status?F.status:Q,this.statusText=F.statusText||Te,this.url=F.url||null,this.ok=this.status>=200&&this.status<300}}class oe extends Ut{constructor(F={}){super(F),this.type=He.ResponseHeader}clone(F={}){return new oe({headers:F.headers||this.headers,status:void 0!==F.status?F.status:this.status,statusText:F.statusText||this.statusText,url:F.url||this.url||void 0})}}class G extends Ut{constructor(F={}){super(F),this.type=He.Response,this.body=void 0!==F.body?F.body:null}clone(F={}){return new G({body:void 0!==F.body?F.body:this.body,headers:F.headers||this.headers,status:void 0!==F.status?F.status:this.status,statusText:F.statusText||this.statusText,url:F.url||this.url||void 0})}}class ne extends Ut{constructor(F){super(F,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${F.url||"(unknown url)"}`:`Http failure response for ${F.url||"(unknown url)"}: ${F.status} ${F.statusText}`,this.error=F.error||null}}function he(ie,F){return{body:F,headers:ie.headers,context:ie.context,observe:ie.observe,params:ie.params,reportProgress:ie.reportProgress,responseType:ie.responseType,withCredentials:ie.withCredentials,transferCache:ie.transferCache}}let Ee=(()=>{class ie{constructor(Q){this.handler=Q}request(Q,Te,Ne={}){let je;if(Q instanceof On)je=Q;else{let rt,Qt;rt=Ne.headers instanceof k?Ne.headers:new k(Ne.headers),Ne.params&&(Qt=Ne.params instanceof et?Ne.params:new et({fromObject:Ne.params})),je=new On(Q,Te,void 0!==Ne.body?Ne.body:null,{headers:rt,context:Ne.context,params:Qt,reportProgress:Ne.reportProgress,responseType:Ne.responseType||"json",withCredentials:Ne.withCredentials,transferCache:Ne.transferCache})}const Oe=(0,j.of)(je).pipe((0,re.H)(rt=>this.handler.handle(rt)));if(Q instanceof On||"events"===Ne.observe)return Oe;const ht=Oe.pipe((0,Z.p)(rt=>rt instanceof G));switch(Ne.observe||"body"){case"body":switch(je.responseType){case"arraybuffer":return ht.pipe((0,X.T)(rt=>{if(null!==rt.body&&!(rt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return rt.body}));case"blob":return ht.pipe((0,X.T)(rt=>{if(null!==rt.body&&!(rt.body instanceof Blob))throw new Error("Response is not a Blob.");return rt.body}));case"text":return ht.pipe((0,X.T)(rt=>{if(null!==rt.body&&"string"!=typeof rt.body)throw new Error("Response is not a string.");return rt.body}));default:return ht.pipe((0,X.T)(rt=>rt.body))}case"response":return ht;default:throw new Error(`Unreachable: unhandled observe type ${Ne.observe}}`)}}delete(Q,Te={}){return this.request("DELETE",Q,Te)}get(Q,Te={}){return this.request("GET",Q,Te)}head(Q,Te={}){return this.request("HEAD",Q,Te)}jsonp(Q,Te){return this.request("JSONP",Q,{params:(new et).append(Te,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Q,Te={}){return this.request("OPTIONS",Q,Te)}patch(Q,Te,Ne={}){return this.request("PATCH",Q,he(Ne,Te))}post(Q,Te,Ne={}){return this.request("POST",Q,he(Ne,Te))}put(Q,Te,Ne={}){return this.request("PUT",Q,he(Ne,Te))}static{this.\u0275fac=function(Te){return new(Te||ie)($.KVO(W))}}static{this.\u0275prov=$.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();const Fe=/^\)\]\}',?\n/;function st(ie){if(ie.url)return ie.url;const F="X-Request-URL".toLocaleLowerCase();return ie.headers.get(F)}let Ct=(()=>{class ie{constructor(){this.fetchImpl=(0,$.WQX)(Lt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,$.WQX)($.SKi)}handle(Q){return new K.c(Te=>{const Ne=new AbortController;return this.doRequest(Q,Ne.signal,Te).then(ot,je=>Te.error(new ne({error:je}))),()=>Ne.abort()})}doRequest(Q,Te,Ne){var je=this;return I(function*(){const Oe=je.createRequestInit(Q);let ht;try{const sn=je.fetchImpl(Q.urlWithParams,{signal:Te,...Oe});(function ze(ie){ie.then(ot,ot)})(sn),Ne.next({type:He.Sent}),ht=yield sn}catch(sn){return void Ne.error(new ne({error:sn,status:sn.status??0,statusText:sn.statusText,url:Q.urlWithParams,headers:sn.headers}))}const rt=new k(ht.headers),Qt=ht.statusText,Rt=st(ht)??Q.urlWithParams;let jt=ht.status,pn=null;if(Q.reportProgress&&Ne.next(new oe({headers:rt,status:jt,statusText:Qt,url:Rt})),ht.body){const sn=ht.headers.get("content-length"),Pt=[],xt=ht.body.getReader();let At,_n,Sn=0;const tr=typeof Zone<"u"&&Zone.current;yield je.ngZone.runOutsideAngular(I(function*(){for(;;){const{done:_r,value:_i}=yield xt.read();if(_r)break;if(Pt.push(_i),Sn+=_i.length,Q.reportProgress){_n="text"===Q.responseType?(_n??"")+(At??=new TextDecoder).decode(_i,{stream:!0}):void 0;const A=()=>Ne.next({type:He.DownloadProgress,total:sn?+sn:void 0,loaded:Sn,partialText:_n});tr?tr.run(A):A()}}}));const Cn=je.concatChunks(Pt,Sn);try{const _r=ht.headers.get("Content-Type")??"";pn=je.parseBody(Q,Cn,_r)}catch(_r){return void Ne.error(new ne({error:_r,headers:new k(ht.headers),status:ht.status,statusText:ht.statusText,url:st(ht)??Q.urlWithParams}))}}0===jt&&(jt=pn?200:0),jt>=200&&jt<300?(Ne.next(new G({body:pn,headers:rt,status:jt,statusText:Qt,url:Rt})),Ne.complete()):Ne.error(new ne({error:pn,headers:rt,status:jt,statusText:Qt,url:Rt}))})()}parseBody(Q,Te,Ne){switch(Q.responseType){case"json":const je=(new TextDecoder).decode(Te).replace(Fe,"");return""===je?null:JSON.parse(je);case"text":return(new TextDecoder).decode(Te);case"blob":return new Blob([Te],{type:Ne});case"arraybuffer":return Te.buffer}}createRequestInit(Q){const Te={},Ne=Q.withCredentials?"include":void 0;if(Q.headers.forEach((je,Oe)=>Te[je]=Oe.join(",")),Te.Accept??="application/json, text/plain, */*",!Te["Content-Type"]){const je=Q.detectContentTypeHeader();null!==je&&(Te["Content-Type"]=je)}return{body:Q.serializeBody(),method:Q.method,headers:Te,credentials:Ne}}concatChunks(Q,Te){const Ne=new Uint8Array(Te);let je=0;for(const Oe of Q)Ne.set(Oe,je),je+=Oe.length;return Ne}static{this.\u0275fac=function(Te){return new(Te||ie)}}static{this.\u0275prov=$.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();class Lt{}function ot(){}function It(ie,F){return F(ie)}function ln(ie,F){return(Q,Te)=>F.intercept(Q,{handle:Ne=>ie(Ne,Te)})}const Pn=new $.nKC(""),Kt=new $.nKC(""),qt=new $.nKC(""),mn=new $.nKC("");function sr(){let ie=null;return(F,Q)=>{null===ie&&(ie=((0,$.WQX)(Pn,{optional:!0})??[]).reduceRight(ln,It));const Te=(0,$.WQX)($.$K3),Ne=Te.add();return ie(F,Q).pipe((0,U.j)(()=>Te.remove(Ne)))}}let or=(()=>{class ie extends W{constructor(Q,Te){super(),this.backend=Q,this.injector=Te,this.chain=null,this.pendingTasks=(0,$.WQX)($.$K3);const Ne=(0,$.WQX)(mn,{optional:!0});this.backend=Ne??Q}handle(Q){if(null===this.chain){const Ne=Array.from(new Set([...this.injector.get(Kt),...this.injector.get(qt,[])]));this.chain=Ne.reduceRight((je,Oe)=>function hn(ie,F,Q){return(Te,Ne)=>Q.runInContext(()=>F(Te,je=>ie(je,Ne)))}(je,Oe,this.injector),It)}const Te=this.pendingTasks.add();return this.chain(Q,Ne=>this.backend.handle(Ne)).pipe((0,U.j)(()=>this.pendingTasks.remove(Te)))}static{this.\u0275fac=function(Te){return new(Te||ie)($.KVO(x),$.KVO($.uvJ))}}static{this.\u0275prov=$.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();const nn=/^\)\]\}',?\n/;let Ei=(()=>{class ie{constructor(Q){this.xhrFactory=Q}handle(Q){if("JSONP"===Q.method)throw new $.wOt(-2800,!1);const Te=this.xhrFactory;return(Te.\u0275loadImpl?(0,z.H)(Te.\u0275loadImpl()):(0,j.of)(null)).pipe((0,ee.n)(()=>new K.c(je=>{const Oe=Te.build();if(Oe.open(Q.method,Q.urlWithParams),Q.withCredentials&&(Oe.withCredentials=!0),Q.headers.forEach((Pt,xt)=>Oe.setRequestHeader(Pt,xt.join(","))),Q.headers.has("Accept")||Oe.setRequestHeader("Accept","application/json, text/plain, */*"),!Q.headers.has("Content-Type")){const Pt=Q.detectContentTypeHeader();null!==Pt&&Oe.setRequestHeader("Content-Type",Pt)}if(Q.responseType){const Pt=Q.responseType.toLowerCase();Oe.responseType="json"!==Pt?Pt:"text"}const ht=Q.serializeBody();let rt=null;const Qt=()=>{if(null!==rt)return rt;const Pt=Oe.statusText||"OK",xt=new k(Oe.getAllResponseHeaders()),Sn=function wt(ie){return"responseURL"in ie&&ie.responseURL?ie.responseURL:/^X-Request-URL:/m.test(ie.getAllResponseHeaders())?ie.getResponseHeader("X-Request-URL"):null}(Oe)||Q.url;return rt=new oe({headers:xt,status:Oe.status,statusText:Pt,url:Sn}),rt},Rt=()=>{let{headers:Pt,status:xt,statusText:Sn,url:At}=Qt(),_n=null;204!==xt&&(_n=typeof Oe.response>"u"?Oe.responseText:Oe.response),0===xt&&(xt=_n?200:0);let tr=xt>=200&&xt<300;if("json"===Q.responseType&&"string"==typeof _n){const Cn=_n;_n=_n.replace(nn,"");try{_n=""!==_n?JSON.parse(_n):null}catch(_r){_n=Cn,tr&&(tr=!1,_n={error:_r,text:_n})}}tr?(je.next(new G({body:_n,headers:Pt,status:xt,statusText:Sn,url:At||void 0})),je.complete()):je.error(new ne({error:_n,headers:Pt,status:xt,statusText:Sn,url:At||void 0}))},jt=Pt=>{const{url:xt}=Qt(),Sn=new ne({error:Pt,status:Oe.status||0,statusText:Oe.statusText||"Unknown Error",url:xt||void 0});je.error(Sn)};let pn=!1;const Rn=Pt=>{pn||(je.next(Qt()),pn=!0);let xt={type:He.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),"text"===Q.responseType&&Oe.responseText&&(xt.partialText=Oe.responseText),je.next(xt)},sn=Pt=>{let xt={type:He.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(xt.total=Pt.total),je.next(xt)};return Oe.addEventListener("load",Rt),Oe.addEventListener("error",jt),Oe.addEventListener("timeout",jt),Oe.addEventListener("abort",jt),Q.reportProgress&&(Oe.addEventListener("progress",Rn),null!==ht&&Oe.upload&&Oe.upload.addEventListener("progress",sn)),Oe.send(ht),je.next({type:He.Sent}),()=>{Oe.removeEventListener("error",jt),Oe.removeEventListener("abort",jt),Oe.removeEventListener("load",Rt),Oe.removeEventListener("timeout",jt),Q.reportProgress&&(Oe.removeEventListener("progress",Rn),null!==ht&&Oe.upload&&Oe.upload.removeEventListener("progress",sn)),Oe.readyState!==Oe.DONE&&Oe.abort()}})))}static{this.\u0275fac=function(Te){return new(Te||ie)($.KVO(ce.N0))}}static{this.\u0275prov=$.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();const wn=new $.nKC("XSRF_ENABLED"),lt=new $.nKC("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),lr=new $.nKC("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class jr{}let ur=(()=>{class ie{constructor(Q,Te,Ne){this.doc=Q,this.platform=Te,this.cookieName=Ne,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Q=this.doc.cookie||"";return Q!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ce._b)(Q,this.cookieName),this.lastCookieString=Q),this.lastToken}static{this.\u0275fac=function(Te){return new(Te||ie)($.KVO(ce.qQ),$.KVO($.Agw),$.KVO(lt))}}static{this.\u0275prov=$.jDH({token:ie,factory:ie.\u0275fac})}}return ie})();function Je(ie,F){const Q=ie.url.toLowerCase();if(!(0,$.WQX)(wn)||"GET"===ie.method||"HEAD"===ie.method||Q.startsWith("http://")||Q.startsWith("https://"))return F(ie);const Te=(0,$.WQX)(jr).getToken(),Ne=(0,$.WQX)(lr);return null!=Te&&!ie.headers.has(Ne)&&(ie=ie.clone({headers:ie.headers.set(Ne,Te)})),F(ie)}var Dn=function(ie){return ie[ie.Interceptors=0]="Interceptors",ie[ie.LegacyInterceptors=1]="LegacyInterceptors",ie[ie.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ie[ie.NoXsrfProtection=3]="NoXsrfProtection",ie[ie.JsonpSupport=4]="JsonpSupport",ie[ie.RequestsMadeViaParent=5]="RequestsMadeViaParent",ie[ie.Fetch=6]="Fetch",ie}(Dn||{});function er(ie,F){return{\u0275kind:ie,\u0275providers:F}}function Xr(...ie){const F=[Ee,Ei,or,{provide:W,useExisting:or},{provide:x,useExisting:Ei},{provide:Kt,useValue:Je,multi:!0},{provide:wn,useValue:!0},{provide:jr,useClass:ur}];for(const Q of ie)F.push(...Q.\u0275providers);return(0,$.EmA)(F)}const me=new $.nKC("LEGACY_INTERCEPTOR_FN");function ye(){return er(Dn.LegacyInterceptors,[{provide:me,useFactory:sr},{provide:Kt,useExisting:me,multi:!0}])}function ut(){return er(Dn.Fetch,[Ct,{provide:x,useExisting:Ct},{provide:mn,useExisting:Ct}])}let Tt=(()=>{class ie{static{this.\u0275fac=function(Te){return new(Te||ie)}}static{this.\u0275mod=$.$C({type:ie})}static{this.\u0275inj=$.G2t({providers:[Xr(ye())]})}}return ie})();const Vn="b",rn="h",Yr="s",Dr="st",Ki="u",Gn="rt",kn=new $.nKC(""),Hn=["GET","HEAD"];function Zn(ie,F){const{isCacheActive:Q,...Te}=(0,$.WQX)(kn),{transferCache:Ne,method:je}=ie;if(!Q||"POST"===je&&!Te.includePostRequests&&!Ne||"POST"!==je&&!Hn.includes(je)||!1===Ne||!1===Te.filter?.(ie))return F(ie);const Oe=(0,$.WQX)($.pJN),ht=function Zr(ie){const{params:F,method:Q,responseType:Te,url:Ne}=ie,je=F.keys().sort().map(rt=>`${rt}=${F.getAll(rt)}`).join("&"),ht=function Di(ie){let F=0;for(const Q of ie)F=Math.imul(31,F)+Q.charCodeAt(0)|0;return F+=2147483648,F.toString()}(Q+"."+Te+"."+Ne+"?"+je);return(0,$.zw6)(ht)}(ie),rt=Oe.get(ht,null);let Qt=Te.includeHeaders;if("object"==typeof Ne&&Ne.includeHeaders&&(Qt=Ne.includeHeaders),rt){const{[Vn]:Rt,[Gn]:jt,[rn]:pn,[Yr]:Rn,[Dr]:sn,[Ki]:Pt}=rt;let xt=Rt;switch(jt){case"arraybuffer":xt=(new TextEncoder).encode(Rt).buffer;break;case"blob":xt=new Blob([Rt])}let Sn=new k(pn);return(0,j.of)(new G({body:xt,headers:Sn,status:Rn,statusText:sn,url:Pt}))}return F(ie).pipe((0,te.M)(Rt=>{Rt instanceof G&&Oe.set(ht,{[Vn]:Rt.body,[rn]:gr(Rt.headers,Qt),[Yr]:Rt.status,[Dr]:Rt.statusText,[Ki]:Rt.url||"",[Gn]:ie.responseType})}))}function gr(ie,F){if(!F)return{};const Q={};for(const Te of F){const Ne=ie.getAll(Te);null!==Ne&&(Q[Te]=Ne)}return Q}function zi(ie){return[{provide:kn,useFactory:()=>((0,$.ngT)("NgHttpTransferCache"),{isCacheActive:!0,...ie})},{provide:qt,useValue:Zn,multi:!0,deps:[$.pJN,kn]},{provide:$.iLQ,multi:!0,useFactory:()=>{const F=(0,$.WQX)($.o8S),Q=(0,$.WQX)(kn);return()=>{(0,$.zuW)(F).then(()=>{Q.isCacheActive=!1})}}}]}},2761:(Ve,ue,E)=>{"use strict";function c(e,t){return Object.is(e,t)}E.d(ue,{bc$:()=>A_,iLQ:()=>Wh,sZ2:()=>wp,hnV:()=>JE,Hbi:()=>Gb,o8S:()=>Sl,BIS:()=>O_,gRc:()=>am,Ql9:()=>ob,Ocv:()=>eb,Z63:()=>Ha,aKT:()=>Zl,uvJ:()=>Qs,zcH:()=>jo,bkB:()=>Ys,$GK:()=>At,nKC:()=>ae,zZn:()=>as,_q3:()=>yf,MKu:()=>vf,xe9:()=>Zc,Co$:()=>rE,Vns:()=>ya,SKi:()=>br,Xx1:()=>ju,Agw:()=>xd,PLl:()=>Tp,sFG:()=>r0,_9s:()=>Tg,czy:()=>qu,WPN:()=>da,kdw:()=>$u,C4Q:()=>Du,NYb:()=>Pb,giA:()=>lD,pJN:()=>Ql,RxE:()=>Sg,c1b:()=>Pc,gXe:()=>Ci,mal:()=>ym,L39:()=>gA,EWP:()=>l0,a0P:()=>yA,Ol2:()=>sE,w6W:()=>eI,QZP:()=>lm,Rfq:()=>Pr,oKB:()=>dp,WQX:()=>en,naY:()=>Hb,QuC:()=>tn,EmA:()=>Td,zw6:()=>VC,HJs:()=>vA,N4e:()=>E_,vPA:()=>u0,O8t:()=>d0,H3F:()=>qE,H8p:()=>Id,$K3:()=>tD,KH2:()=>_l,wOt:()=>Je,WHO:()=>oD,e01:()=>aD,lNU:()=>ur,h9k:()=>mg,$MX:()=>lc,ZF7:()=>Xa,Kcf:()=>wC,e5t:()=>IC,UyX:()=>SC,cWb:()=>TC,osQ:()=>MC,H5H:()=>hh,Zy3:()=>qn,mq5:()=>Gy,JZv:()=>A,TL3:()=>kb,LfX:()=>Rt,plB:()=>Fo,jNT:()=>mh,zjR:()=>Dv,ngT:()=>$o,XSP:()=>HS,TL$:()=>I_,Tbb:()=>nn,zUL:()=>Ei,rcV:()=>po,zuW:()=>DD,M8M:()=>hA,Vt3:()=>Lf,GFd:()=>Mm,OA$:()=>Mo,Jv_:()=>nE,aNF:()=>oE,R7$:()=>jg,BMQ:()=>Ff,HbH:()=>Hm,ZvI:()=>Ym,ZWY:()=>Zm,AVh:()=>Hf,vxM:()=>my,wni:()=>PE,VBU:()=>nr,FsC:()=>_o,jDH:()=>Oe,G2t:()=>rt,$C:()=>es,EJ8:()=>io,rXU:()=>qa,nrm:()=>dh,eu8:()=>fh,bVm:()=>jc,qex:()=>Bc,k0s:()=>Uc,j41:()=>kc,RV6:()=>Wy,xGo:()=>ku,KVO:()=>Wn,kS0:()=>Lo,QTQ:()=>Vg,bIt:()=>yh,lsd:()=>NE,qSk:()=>hd,XpG:()=>Sv,nI1:()=>wE,bMT:()=>TE,i5U:()=>SE,brH:()=>ME,SdG:()=>Iv,NAR:()=>Mv,Y8G:()=>jf,FS9:()=>vh,Mz_:()=>Kc,lJ4:()=>pE,eq3:()=>gE,l_i:()=>mE,ziG:()=>yE,mGM:()=>AE,sdS:()=>Fv,Dyx:()=>Ey,Z7z:()=>vy,Vm6:()=>yy,Njj:()=>Pa,EBC:()=>Mp,tSv:()=>Sp,eBV:()=>Oa,npT:()=>yg,f$h:()=>nf,B4B:()=>tf,n$t:()=>vg,Aen:()=>Ps,muq:()=>kv,tcI:()=>Uv,xc7:()=>Vf,jIU:()=>Eh,DNE:()=>hl,C5r:()=>FE,EFF:()=>Gv,JRh:()=>Dh,SpI:()=>zc,Lme:()=>_h,LHq:()=>Ch,GBs:()=>OE});let I=null,$=!1,j=1;const K=Symbol("SIGNAL");function z(e){const t=I;return I=e,t}const U={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ee(e){if($)throw new Error("");if(null===I)return;I.consumerOnSignalRead(e);const t=I.nextProducerIndex++;et(I),t<I.producerNode.length&&I.producerNode[t]!==e&&xe(I)&&Se(I.producerNode[t],I.producerIndexOfThis[t]),I.producerNode[t]!==e&&(I.producerNode[t]=e,I.producerIndexOfThis[t]=xe(I)?ve(e,I,t):0),I.producerLastReadVersion[t]=e.version}function ce(e){if((!xe(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==j)){if(!e.producerMustRecompute(e)&&!ge(e))return e.dirty=!1,void(e.lastCleanEpoch=j);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=j}}function W(e){if(void 0===e.liveConsumerNode)return;const t=$;$=!0;try{for(const n of e.liveConsumerNode)n.dirty||k(n)}finally{$=t}}function x(){return!1!==I?.consumerAllowSignalWrites}function k(e){e.dirty=!0,W(e),e.consumerMarkedDirty?.(e)}function le(e){return e&&(e.nextProducerIndex=0),z(e)}function Ae(e,t){if(z(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(xe(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Se(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ge(e){et(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(ce(n),r!==n.version))return!0}return!1}function Me(e){if(et(e),xe(e))for(let t=0;t<e.producerNode.length;t++)Se(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function ve(e,t,n){if(We(e),et(e),0===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=ve(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Se(e,t){if(We(e),et(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Se(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];et(i),i.producerIndexOfThis[r]=t}}function xe(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function et(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function We(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const fe=Symbol("UNSET"),Le=Symbol("COMPUTING"),ft=Symbol("ERRORED"),Nt={...U,value:fe,dirty:!0,error:null,equal:c,producerMustRecompute:e=>e.value===fe||e.value===Le,producerRecomputeValue(e){if(e.value===Le)throw new Error("Detected cycle in computations.");const t=e.value;e.value=Le;const n=le(e);let r;try{r=e.computation()}catch(i){r=ft,e.error=i}finally{Ae(e,n)}t!==fe&&t!==ft&&r!==ft&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let On=function gn(){throw new Error};function He(){On()}let oe=null;function Ee(e,t){x()||He();const n=e.value;Object.is(n,t)||e.equal(n,t)||(e.value=t,function Ct(e){e.version++,function te(){j++}(),W(e),oe?.()}(e))}const st={...U,equal:c,value:void 0};const ot=()=>{},ze={...U,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:ot};var ln=E(4205),hn=E(7092),Pn=E(3942),Kt=E(3222),qt=E(2645),mn=E(9400),sr=E(4083),ai=E(4600),or=E(5797),zn=E(9452),Nn=E(1870),zt=E(6647),Bt=E(1440),ar=E(819),Br=E(1687);function hr(e,t){return e===t}var yn=E(2435);function Ze(e){for(let t in e)if(e[t]===Ze)return t;throw Error("Could not find renamed property on target object.")}function Gt(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function nn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(nn).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 wt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function Ei(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const n=Math.round(t/2);return e.substring(0,n)+"..."+e.substring(e.length-n)}const wn=Ze({__forward_ref__:Ze});function Pr(e){return e.__forward_ref__=Pr,e.toString=function(){return nn(this())},e}function lt(e){return pr(e)?e():e}function pr(e){return"function"==typeof e&&e.hasOwnProperty(wn)&&e.__forward_ref__===Pr}function lr(e){return e&&!!e.\u0275providers}const ur="https://g.co/ng/security#xss";class Je extends Error{constructor(t,n){super(qn(t,n)),this.code=t}}function qn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const Dn=Ze({\u0275cmp:Ze}),er=Ze({\u0275dir:Ze}),Xr=Ze({\u0275pipe:Ze}),Pi=Ze({\u0275mod:Ze}),me=Ze({\u0275fac:Ze}),ye=Ze({__NG_ELEMENT_ID__:Ze}),R=Ze({__NG_ENV_ID__:Ze});function L(e){return"string"==typeof e?e:null==e?"":String(e)}function Vn(e,t){throw new Je(-201,!1)}function ie(e,t){null==e&&function F(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Oe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function rt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Qt(e){return jt(e,sn)||jt(e,xt)}function Rt(e){return null!==Qt(e)}function jt(e,t){return e.hasOwnProperty(t)?e[t]:null}function Rn(e){return e&&(e.hasOwnProperty(Pt)||e.hasOwnProperty(Sn))?e[Pt]:null}const sn=Ze({\u0275prov:Ze}),Pt=Ze({\u0275inj:Ze}),xt=Ze({ngInjectableDef:Ze}),Sn=Ze({ngInjectorDef:Ze});var At=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(At||{});let _n;function tr(){return _n}function Cn(e){const t=_n;return _n=e,t}function _r(e,t,n){const r=Qt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&At.Optional?null:void 0!==t?t:void Vn(nn(e))}const A=globalThis;class ae{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=Oe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Gi={},Ls="__NG_DI_FLAG__",Fs="ngTempTokenPath",qs=/\n/gm,Xi="__source";let $r;function Vr(e){const t=$r;return $r=e,t}function fs(e,t=At.Default){if(void 0===$r)throw new Je(-203,!1);return null===$r?_r(e,void 0,t):$r.get(e,t&At.Optional?null:void 0,t)}function Wn(e,t=At.Default){return(tr()||fs)(lt(e),t)}function en(e,t=At.Default){return Wn(e,Yi(t))}function Yi(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ps(e){const t=[];for(let n=0;n<e.length;n++){const r=lt(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Je(900,!1);let i,s=At.Default;for(let a=0;a<r.length;a++){const u=r[a],h=ms(u);"number"==typeof h?-1===h?i=u.token:s|=h:i=u}t.push(Wn(i,s))}else t.push(Wn(r))}return t}function gs(e,t){return e[Ls]=t,e.prototype[Ls]=t,e}function ms(e){return e[Ls]}function zr(e){return{toString:e}.toString()}var ys=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ys||{}),Ci=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ci||{});const ui={},Xt=[];function eo(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}function vs(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],a=n[r++],u=n[r++];e.setAttribute(t,a,u,s)}else{const s=i,a=n[++r];Go(s)?e.setProperty(t,s,a):e.setAttribute(t,s,a),r++}}return r}function Da(e){return 3===e||4===e||6===e}function Go(e){return 64===e.charCodeAt(0)}function to(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||no(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function no(e,t,n,r,i){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const u=e[s++];if("number"==typeof u){if(u===t){a=-1;break}if(u>t){a=s-1;break}}}for(;s<e.length;){const u=e[s];if("number"==typeof u)break;if(u===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}const vo="ng-template";function _a(e,t,n){let r=0,i=!0;for(;r<e.length;){let s=e[r++];if("string"==typeof s&&i){const a=e[r++];if(n&&"class"===s&&-1!==eo(a.toLowerCase(),t,0))return!0}else{if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}"number"==typeof s&&(i=!1)}}return!1}function Hr(e){return 4===e.type&&e.value!==vo}function ro(e,t,n){return t===(4!==e.type||n?e.value:vo)}function qr(e,t,n){let r=4;const i=e.attrs||[],s=function wa(e){for(let t=0;t<e.length;t++)if(Da(e[t]))return t;return e.length}(i);let a=!1;for(let u=0;u<t.length;u++){const h=t[u];if("number"!=typeof h){if(!a)if(4&r){if(r=2|1&r,""!==h&&!ro(e,h,n)||""===h&&1===t.length){if(xn(r))return!1;a=!0}}else{const C=8&r?h:t[++u];if(8&r&&null!==e.attrs){if(!_a(e.attrs,C,n)){if(xn(r))return!1;a=!0}continue}const P=Ca(8&r?"class":h,i,Hr(e),n);if(-1===P){if(xn(r))return!1;a=!0;continue}if(""!==C){let J;J=P>s?"":i[P+1].toLowerCase();const se=8&r?J:null;if(se&&-1!==eo(se,C,0)||2&r&&C!==J){if(xn(r))return!1;a=!0}}}}else{if(!a&&!xn(r)&&!xn(h))return!1;if(a&&xn(h))continue;a=!1,r=h|1&r}}return xn(r)||a}function xn(e){return!(1&e)}function Ca(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)s=!0;else{if(1===a||2===a){let u=t[++i];for(;"string"==typeof u;)u=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=s?1:2}return-1}return function Ta(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Zi(e,t,n=!1){for(let r=0;r<t.length;r++)if(qr(e,t[r],n))return!0;return!1}function Es(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Ds(e,t){return e?":not("+t.trim()+")":t}function Do(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const u=e[++n];i+="["+a+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!xn(a)&&(t+=Ds(s,i),i=""),r=a,s=s||!xn(r);n++}return""!==i&&(t+=Ds(s,i)),t}function nr(e){return zr(()=>{const t=Co(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ys.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ci.Emulated,styles:e.styles||Xt,_:null,schemas:e.schemas||null,tView:null,id:""};so(n);const r=e.dependencies;return n.directiveDefs=_s(r,!1),n.pipeDefs=_s(r,!0),n.id=function oo(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of n)t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function qi(e){return Mt(e)||Jn(e)}function Xo(e){return null!==e}function es(e){return zr(()=>({type:e.type,bootstrap:e.bootstrap||Xt,declarations:e.declarations||Xt,imports:e.imports||Xt,exports:e.exports||Xt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ts(e,t){if(null==e)return ui;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}function _o(e){return zr(()=>{const t=Co(e);return so(t),t})}function io(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 Mt(e){return e[Dn]||null}function Jn(e){return e[er]||null}function cr(e){return e[Xr]||null}function tn(e){const t=Mt(e)||Jn(e)||cr(e);return null!==t&&t.standalone}function wr(e,t){const n=e[Pi]||null;if(!n&&!0===t)throw new Error(`Type ${nn(e)} does not have '\u0275mod' property.`);return n}function Co(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||ui,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Xt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ts(e.inputs,t),outputs:ts(e.outputs),debugInfo:null}}function so(e){e.features?.forEach(t=>t(e))}function _s(e,t){if(!e)return null;const n=t?cr:qi;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Xo)}const Ln=0,Ke=1,pt=2,Mn=3,ei=4,rr=5,ti=6,ns=7,on=8,Kn=9,Ni=10,yt=11,ni=12,wo=13,Us=14,Bn=15,Gr=16,Ri=17,ci=18,wi=19,ao=20,Ti=21,lo=22,xi=23,Et=25,rs=1,Cs=6,ri=7,ws=9,In=10;var Ts=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(Ts||{});function dr(e){return Array.isArray(e)&&"object"==typeof e[rs]}function ir(e){return Array.isArray(e)&&!0===e[rs]}function Li(e){return!!(4&e.flags)}function Ss(e){return e.componentOffset>-1}function To(e){return!(1&~e.flags)}function ii(e){return!!e.template}function Fi(e){return!!(512&e[pt])}function Ms(e,t){return e.hasOwnProperty(me)?e[me]:null}class So{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Mo(){return Zo}function Zo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Jo),js}function js(){const e=Io(this),t=e?.current;if(t){const n=e.previous;if(n===ui)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Jo(e,t,n,r){const i=this.declaredInputs[n],s=Io(e)||function Il(e,t){return e[Ma]=t}(e,{previous:ui,current:null}),a=s.current||(s.current={}),u=s.previous,h=u[i];a[i]=new So(h&&h.currentValue,t,u===ui),e[r]=t}Mo.ngInherit=!0;const Ma="__ngSimpleChanges__";function Io(e){return e[Ma]||null}const xr=function(e,t,n){},bo="svg";function bn(e){for(;Array.isArray(e);)e=e[Ln];return e}function ea(e,t){return bn(t[e])}function Tr(e,t){return bn(t[e.index])}function $s(e,t){return e.data[t]}function Vs(e,t){return e[t]}function Wr(e,t){const n=t[e];return dr(n)?n:n[Ln]}function hi(e){return!(128&~e[pt])}function ss(e,t){return null==t?null:e[t]}function Ui(e){e[Ri]=0}function Iu(e){1024&e[pt]||(e[pt]|=1024,hi(e)&&Is(e))}function si(e){9216&e[pt]&&Is(e)}function Is(e){let t=e[Mn];for(;null!==t&&!(ir(t)&&t[pt]&Ts.HasChildViewsToRefresh||dr(t)&&8192&t[pt]);){if(ir(t))t[pt]|=Ts.HasChildViewsToRefresh;else if(t[pt]|=8192,!hi(t))break;t=t[Mn]}}function na(e,t){if(!(256&~e[pt]))throw new Je(911,!1);null===e[Ti]&&(e[Ti]=[]),e[Ti].push(t)}const _t={lFrame:dd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ia(){return _t.bindingsEnabled}function bs(){return null!==_t.skipHydrationRootTNode}function Pe(){return _t.lFrame.lView}function Zt(){return _t.lFrame.tView}function Oa(e){return _t.lFrame.contextLView=e,e[on]}function Pa(e){return _t.lFrame.contextLView=null,e}function Jt(){let e=oa();for(;null!==e&&64===e.type;)e=e.parent;return e}function oa(){return _t.lFrame.currentTNode}function Bi(e,t){const n=_t.lFrame;n.currentTNode=e,n.isParent=t}function Ao(){return _t.lFrame.isParent}function As(){_t.lFrame.isParent=!1}function y(){const e=_t.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function f(){return _t.lFrame.bindingIndex}function w(){return _t.lFrame.bindingIndex++}function O(e){const t=_t.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function De(e,t){const n=_t.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ot(t)}function Ot(e){_t.lFrame.currentDirectiveIndex=e}function Xn(){return _t.lFrame.currentQueryIndex}function Ws(e){_t.lFrame.currentQueryIndex=e}function Oo(e){const t=e[Ke];return 2===t.type?t.declTNode:1===t.type?e[rr]:null}function fo(e,t,n){if(n&At.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&At.Host||(i=Oo(s),null===i||(s=s[Us],10&i.type))););if(null===i)return!1;t=i,e=s}const r=_t.lFrame=Os();return r.currentTNode=t,r.lView=e,!0}function Po(e){const t=Os(),n=e[Ke];_t.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Os(){const e=_t.lFrame,t=null===e?null:e.child;return null===t?dd(e):t}function dd(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 fd(){const e=_t.lFrame;return _t.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Pl=fd;function Pu(){const e=fd();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 Sr(){return _t.lFrame.selectedIndex}function No(e){_t.lFrame.selectedIndex=e}function An(){const e=_t.lFrame;return $s(e.tView,e.selectedIndex)}function hd(){_t.lFrame.currentNamespace=bo}function Na(){return _t.lFrame.currentNamespace}let Nu=!0;function Ra(){return Nu}function Ks(e){Nu=e}function aa(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:u,ngAfterViewInit:h,ngAfterViewChecked:C,ngOnDestroy:S}=s;a&&(e.contentHooks??=[]).push(-n,a),u&&((e.contentHooks??=[]).push(n,u),(e.contentCheckHooks??=[]).push(n,u)),h&&(e.viewHooks??=[]).push(-n,h),C&&((e.viewHooks??=[]).push(n,C),(e.viewCheckHooks??=[]).push(n,C)),null!=S&&(e.destroyHooks??=[]).push(n,S)}}function xa(e,t,n){Ru(e,t,3,n)}function La(e,t,n,r){(3&e[pt])===n&&Ru(e,t,n,r)}function Nl(e,t){let n=e[pt];(3&n)===t&&(n&=16383,n+=1,e[pt]=n)}function Ru(e,t,n,r){const s=r??-1,a=t.length-1;let u=0;for(let h=void 0!==r?65535&e[Ri]:0;h<a;h++)if("number"==typeof t[h+1]){if(u=t[h],null!=r&&u>=r)break}else t[h]<0&&(e[Ri]+=65536),(u<s||-1==s)&&(g(e,n,t,h),e[Ri]=(4294901760&e[Ri])+h+2),h++}function xu(e,t){xr(4,e,t);const n=z(null);try{t.call(e)}finally{z(n),xr(5,e,t)}}function g(e,t,n,r){const i=n[r]<0,s=n[r+1],u=e[i?-n[r]:n[r]];i?e[pt]>>14<e[Ri]>>16&&(3&e[pt])===t&&(e[pt]+=16384,xu(u,s)):xu(u,s)}const o=-1;class l{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function nt(e){return e!==o}function Ye(e){return 32767&e}function qe(e,t){let n=function Ht(e){return e>>16}(e),r=t;for(;n>0;)r=r[Us],n--;return r}let at=!0;function vt(e){const t=at;return at=e,t}const fr=255,mr=5;let Qr=0;const Fn={};function pi(e,t){const n=os(e,t);if(-1!==n)return n;const r=t[Ke];r.firstCreatePass&&(e.injectorIndex=t.length,Lr(r.data,e),Lr(t,null),Lr(r.blueprint,null));const i=Ii(e,t),s=e.injectorIndex;if(nt(i)){const a=Ye(i),u=qe(i,t),h=u[Ke].data;for(let C=0;C<8;C++)t[s+C]=u[a+C]|h[a+C]}return t[s+8]=i,s}function Lr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function os(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ii(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=mi(i),null===r)return o;if(n++,i=i[Us],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return o}function ji(e,t,n){!function Ro(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ye)&&(r=n[ye]),null==r&&(r=n[ye]=Qr++);const i=r&fr;t.data[e+(i>>mr)]|=1<<i}(e,t,n)}function xo(e,t,n){if(n&At.Optional||void 0!==e)return e;Vn()}function zs(e,t,n,r){if(n&At.Optional&&void 0===r&&(r=null),!(n&(At.Self|At.Host))){const i=e[Kn],s=Cn(void 0);try{return i?i.get(t,r,n&At.Optional):_r(t,r,n&At.Optional)}finally{Cn(s)}}return xo(r,0,n)}function Rl(e,t,n,r=At.Default,i){if(null!==e){if(2048&t[pt]&&!(r&At.Self)){const a=function ho(e,t,n,r,i){let s=e,a=t;for(;null!==s&&null!==a&&2048&a[pt]&&!(512&a[pt]);){const u=xl(s,a,n,r|At.Self,Fn);if(u!==Fn)return u;let h=s.parent;if(!h){const C=a[ao];if(C){const S=C.get(n,Fn,r);if(S!==Fn)return S}h=mi(a),a=a[Us]}s=h}return i}(e,t,n,r,Fn);if(a!==Fn)return a}const s=xl(e,t,n,r,Fn);if(s!==Fn)return s}return zs(t,n,r,i)}function xl(e,t,n,r,i){const s=function cn(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ye)?e[ye]:void 0;return"number"==typeof t?t>=0?t&fr:Fu:t}(n);if("function"==typeof s){if(!fo(t,e,r))return r&At.Host?xo(i,0,r):zs(t,n,r,i);try{let a;if(a=s(r),null!=a||r&At.Optional)return a;Vn()}finally{Pl()}}else if("number"==typeof s){let a=null,u=os(e,t),h=o,C=r&At.Host?t[Bn][rr]:null;for((-1===u||r&At.SkipSelf)&&(h=-1===u?Ii(e,t):t[u+8],h!==o&&$i(r,!1)?(a=t[Ke],u=Ye(h),t=qe(h,t)):u=-1);-1!==u;){const S=t[Ke];if(yr(s,u,S.data)){const P=dt(u,t,n,a,r,C);if(P!==Fn)return P}h=t[u+8],h!==o&&$i(r,t[Ke].data[u+8]===C)&&yr(s,u,t)?(a=S,u=Ye(h),t=qe(h,t)):u=-1}}return i}function dt(e,t,n,r,i,s){const a=t[Ke],u=a.data[e+8],S=gt(u,a,n,null==r?Ss(u)&&at:r!=a&&!!(3&u.type),i&At.Host&&s===u);return null!==S?mt(t,a,S,u):Fn}function gt(e,t,n,r,i){const s=e.providerIndexes,a=t.data,u=1048575&s,h=e.directiveStart,S=s>>20,J=i?u+S:e.directiveEnd;for(let se=r?u:u+S;se<J;se++){const be=a[se];if(se<h&&n===be||se>=h&&be.type===n)return se}if(i){const se=a[h];if(se&&ii(se)&&se.type===n)return h}return null}function mt(e,t,n,r){let i=e[n];const s=t.data;if(function m(e){return e instanceof l}(i)){const a=i;a.resolving&&function bt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Je(-200,`Circular dependency in DI detected for ${e}${n}`)}(function de(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():L(e)}(s[n]));const u=vt(a.canSeeViewProviders);a.resolving=!0;const C=a.injectImpl?Cn(a.injectImpl):null;fo(e,r,At.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function yd(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=Zo(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==C&&Cn(C),vt(u),a.resolving=!1,Pl()}}return i}function yr(e,t,n){return!!(n[t+(e>>mr)]&1<<e)}function $i(e,t){return!(e&At.Self||e&At.Host&&t)}class Wt{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Rl(this._tNode,this._lView,t,Yi(r),n)}}function Fu(){return new Wt(Jt(),Pe())}function ku(e){return zr(()=>{const t=e.prototype.constructor,n=t[me]||Ir(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[me]||Ir(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Ir(e){return pr(e)?()=>{const t=Ir(lt(e));return t&&t()}:Ms(e)}function mi(e){const t=e[Ke],n=t.type;return 2===n?t.declTNode:1===n?e[rr]:null}function Lo(e){return function Lu(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 i=0;for(;i<r;){const s=n[i];if(Da(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(Jt(),e)}const Fa="__parameters__";function Ua(e,t,n){return zr(()=>{const r=function vd(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const a=new i(...s);return u.annotation=a,u;function u(h,C,S){const P=h.hasOwnProperty(Fa)?h[Fa]:Object.defineProperty(h,Fa,{value:[]})[Fa];for(;P.length<=S;)P.push(null);return(P[S]=P[S]||[]).push(a),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function ja(e,t){e.forEach(n=>Array.isArray(n)?ja(n,t):t(n))}function ip(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Uu(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Fl(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Vi(e,t,n){let r=$a(e,t);return r>=0?e[1|r]=n:(r=~r,function sp(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Dd(e,t){const n=$a(e,t);if(n>=0)return e[1|n]}function $a(e,t){return function op(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<<n];if(t===a)return s<<n;a>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const ju=gs(Ua("Optional"),8),$u=gs(Ua("SkipSelf"),4),Ha=new ae("ENVIRONMENT_INITIALIZER"),cp=new ae("INJECTOR",-1),wd=new ae("INJECTOR_DEF_TYPES");class Hu{get(t,n=Gi){if(n===Gi){const r=new Error(`NullInjectorError: No provider for ${nn(t)}!`);throw r.name="NullInjectorError",r}return n}}function Td(e){return{\u0275providers:e}}function dp(...e){return{\u0275providers:fp(0,e),\u0275fromNgModule:!0}}function fp(e,...t){const n=[],r=new Set;let i;const s=a=>{n.push(a)};return ja(t,a=>{const u=a;Wu(u,s,[],r)&&(i||=[],i.push(u))}),void 0!==i&&hp(i,s),n}function hp(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Sd(i,s=>{t(s,r)})}}function Wu(e,t,n,r){if(!(e=lt(e)))return!1;let i=null,s=Rn(e);const a=!s&&Mt(e);if(s||a){if(a&&!a.standalone)return!1;i=e}else{const h=e.ngModule;if(s=Rn(h),!s)return!1;i=h}const u=r.has(i);if(a){if(u)return!1;if(r.add(i),a.dependencies){const h="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const C of h)Wu(C,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!u){let C;r.add(i);try{ja(s.imports,S=>{Wu(S,t,n,r)&&(C||=[],C.push(S))})}finally{}void 0!==C&&hp(C,t)}if(!u){const C=Ms(i)||(()=>new i);t({provide:i,useFactory:C,deps:Xt},i),t({provide:wd,useValue:i,multi:!0},i),t({provide:Ha,useValue:()=>Wn(i),multi:!0},i)}const h=s.providers;if(null!=h&&!u){const C=e;Sd(h,S=>{t(S,C)})}}}return i!==e&&void 0!==e.providers}function Sd(e,t){for(let n of e)lr(n)&&(n=n.\u0275providers),Array.isArray(n)?Sd(n,t):t(n)}const d_=Ze({provide:String,useValue:Ze});function Md(e){return null!==e&&"object"==typeof e&&d_ in e}function la(e){return"function"==typeof e}const Id=new ae("Set Injector scope."),Ku={},h_={};let bd;function zu(){return void 0===bd&&(bd=new Hu),bd}class Qs{}class Wa extends Qs{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Od(t,a=>this.processProvider(a)),this.records.set(cp,Ka(void 0,this)),i.has("environment")&&this.records.set(Qs,Ka(void 0,this));const s=this.records.get(Id);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(wd,Xt,At.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Vr(this),r=Cn(void 0);try{return t()}finally{Vr(n),Cn(r)}}get(t,n=Gi,r=At.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(R))return t[R](this);r=Yi(r);const s=Vr(this),a=Cn(void 0);try{if(!(r&At.SkipSelf)){let h=this.records.get(t);if(void 0===h){const C=function v_(e){return"function"==typeof e||"object"==typeof e&&e instanceof ae}(t)&&Qt(t);h=C&&this.injectableDefInScope(C)?Ka(Ad(t),Ku):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&At.Self?zu():this.parent).get(t,n=r&At.Optional&&n===Gi?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[Fs]=u[Fs]||[]).unshift(nn(t)),s)throw u;return function Ko(e,t,n,r){const i=e[Fs];throw t[Xi]&&i.unshift(t[Xi]),e.message=function zo(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=nn(t);if(Array.isArray(t))i=t.map(nn).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let u=t[a];s.push(a+":"+("string"==typeof u?JSON.stringify(u):nn(u)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(qs,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Fs]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{Cn(a),Vr(s)}}resolveInjectorInitializers(){const t=Vr(this),n=Cn(void 0);try{const i=this.get(Ha,Xt,At.Self);for(const s of i)s()}finally{Vr(t),Cn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(nn(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Je(205,!1)}processProvider(t){let n=la(t=lt(t))?t:lt(t&&t.provide);const r=function g_(e){return Md(e)?Ka(void 0,e.useValue):Ka(mp(e),Ku)}(t);if(la(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=Ka(void 0,Ku,!0),i.factory=()=>ps(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ku&&(n.value=h_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function y_(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=lt(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ad(e){const t=Qt(e),n=null!==t?t.factory:Ms(e);if(null!==n)return n;if(e instanceof ae)throw new Je(204,!1);if(e instanceof Function)return function p_(e){const t=e.length;if(t>0)throw Fl(t,"?"),new Je(204,!1);const n=function pn(e){return e&&(e[sn]||e[xt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Je(204,!1)}function mp(e,t,n){let r;if(la(e)){const i=lt(e);return Ms(i)||Ad(i)}if(Md(e))r=()=>lt(e.useValue);else if(function gp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ps(e.deps||[]));else if(function pp(e){return!(!e||!e.useExisting)}(e))r=()=>Wn(lt(e.useExisting));else{const i=lt(e&&(e.useClass||e.provide));if(!function m_(e){return!!e.deps}(e))return Ms(i)||Ad(i);r=()=>new i(...ps(e.deps))}return r}function Ka(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Od(e,t){for(const n of e)Array.isArray(n)?Od(n,t):n&&lr(n)?Od(n.\u0275providers,t):t(n)}function E_(e,t){e instanceof Wa&&e.assertNotDestroyed();const r=Vr(e),i=Cn(void 0);try{return t()}finally{Vr(r),Cn(i)}}function Pd(e){if(!tr()&&!function yo(){return $r}())throw new Je(-203,!1)}function Dp(e,t=null,n=null,r){const i=_p(e,t,n,r);return i.resolveInjectorInitializers(),i}function _p(e,t=null,n=null,r,i=new Set){const s=[n||Xt,dp(e)];return r=r||("object"==typeof e?void 0:nn(e)),new Wa(s,t||zu(),r||null,i)}let Rd,as=(()=>{class e{static{this.THROW_IF_NOT_FOUND=Gi}static{this.NULL=new Hu}static create(n,r){if(Array.isArray(n))return Dp({name:""},r,n,"");{const i=n.name??"";return Dp({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=Oe({token:e,providedIn:"any",factory:()=>Wn(cp)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();function Fo(e){return!!wr(e)}function I_(e){Rd=e}function ko(){if(void 0!==Rd)return Rd;if(typeof document<"u")return document;throw new Je(210,!1)}const wp=new ae("AppId",{providedIn:"root",factory:()=>b_}),b_="ng",Tp=new ae("Platform Initializer"),xd=new ae("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),A_=new ae("AnimationModuleType"),O_=new ae("CSP nonce",{providedIn:"root",factory:()=>ko().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Sp(e){return e.ownerDocument.defaultView}function Mp(e){return e.ownerDocument}function Hi(e){return e instanceof Function?e():e}function Uo(e){return"browser"===(e??en(as)).get(xd)}const jl="ngSkipHydration",k_="ngskiphydration";function xp(e){const t=e.mergedAttrs;if(null===t)return!1;for(let n=0;n<t.length;n+=2){const r=t[n];if("number"==typeof r)return!1;if("string"==typeof r&&r.toLowerCase()===k_)return!0}return!1}function Lp(e){return e.hasAttribute(jl)}function Zu(e){return!(128&~e.flags)}var qu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(qu||{});const U_=/^>|^->|<!--|-->|--!>|<!-$/g,B_=/(<|>)/g,j_="\u200b$1\u200b";const Bd=new Map;let $_=0;const $d="__ngContext__";function oi(e,t){dr(t)?(e[$d]=t[wi],function H_(e){Bd.set(e[wi],e)}(t)):e[$d]=t}let Vd;function Hd(e,t){return Vd(e,t)}function Vl(e){const t=e[Mn];return ir(t)?t[Mn]:t}function Wp(e){return zp(e[ni])}function Kp(e){return zp(e[ei])}function zp(e){for(;null!==e&&!ir(e);)e=e[ei];return e}function Ga(e,t,n,r,i){if(null!=r){let s,a=!1;ir(r)?s=r:dr(r)&&(a=!0,r=r[Ln]);const u=bn(r);0===e&&null!==n?null==i?Yp(t,n,u):ua(t,n,u,i||null,!0):1===e&&null!==n?ua(t,n,u,i||null,!0):2===e?sc(t,u,a):3===e&&t.destroyNode(u),null!=s&&function dC(e,t,n,r,i){const s=n[ri];s!==bn(n)&&Ga(t,e,r,s,i);for(let u=In;u<n.length;u++){const h=n[u];Kl(h[Ke],h,e,t,r,s)}}(t,e,s,n,i)}}function ec(e,t){return e.createText(t)}function Wd(e,t){return e.createComment(function Fp(e){return e.replace(U_,t=>t.replace(B_,j_))}(t))}function tc(e,t,n){return e.createElement(t,n)}function Qp(e,t){const n=e[ws],r=n.indexOf(t);n.splice(r,1)}function Hl(e,t){if(e.length<=In)return;const n=In+t,r=e[n];if(r){const i=r[Gr];null!==i&&i!==e&&Qp(i,r),t>0&&(e[n-1][ei]=r[ei]);const s=Uu(e,In+t);!function eC(e,t){Kl(e,t,t[yt],2,null,null),t[Ln]=null,t[rr]=null}(r[Ke],r);const a=s[ci];null!==a&&a.detachView(s[Ke]),r[Mn]=null,r[ei]=null,r[pt]&=-129}return r}function nc(e,t){if(!(256&t[pt])){const n=t[yt];t[xi]&&Me(t[xi]),n.destroyNode&&Kl(e,t,n,3,null,null),function rC(e){let t=e[ni];if(!t)return Kd(e[Ke],e);for(;t;){let n=null;if(dr(t))n=t[ni];else{const r=t[In];r&&(n=r)}if(!n){for(;t&&!t[ei]&&t!==e;)dr(t)&&Kd(t[Ke],t),t=t[Mn];null===t&&(t=e),dr(t)&&Kd(t[Ke],t),n=t&&t[ei]}t=n}}(t)}}function Kd(e,t){if(!(256&t[pt])){t[pt]&=-129,t[pt]|=256,function aC(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof l)){const s=n[r+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const u=i[s[a]],h=s[a+1];xr(4,u,h);try{h.call(u)}finally{xr(5,u,h)}}else{xr(4,i,s);try{s.call(i)}finally{xr(5,i,s)}}}}}(e,t),function oC(e,t){const n=e.cleanup,r=t[ns];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[ns]=null);const i=t[Ti];if(null!==i){t[Ti]=null;for(let s=0;s<i.length;s++)(0,i[s])()}}(e,t),1===t[Ke].type&&t[yt].destroy();const n=t[Gr];if(null!==n&&ir(t[Mn])){n!==t[Mn]&&Qp(n,t);const r=t[ci];null!==r&&r.detachView(e)}!function W_(e){Bd.delete(e[wi])}(t)}}function zd(e,t,n){return function Xp(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[Ln];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===Ci.None||s===Ci.Emulated)return null}return Tr(r,n)}}(e,t.parent,n)}function ua(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Yp(e,t,n){e.appendChild(t,n)}function Zp(e,t,n,r,i){null!==r?ua(e,t,n,r,i):Yp(e,t,n)}function rc(e,t){return e.parentNode(t)}function Jp(e,t,n){return eg(e,t,n)}let Gd,oc,ac,eg=function qp(e,t,n){return 40&e.type?Tr(e,n):null};function ic(e,t,n,r){const i=zd(e,r,t),s=t[yt],u=Jp(r.parent||t[rr],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;h<n.length;h++)Zp(s,i,n[h],u,!1);else Zp(s,i,n,u,!1);void 0!==Gd&&Gd(s,r,t,n,i)}function Wl(e,t){if(null!==t){const n=t.type;if(3&n)return Tr(t,e);if(4&n)return Qd(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Wl(e,r);{const i=e[t.index];return ir(i)?Qd(-1,i):bn(i)}}if(32&n)return Hd(t,e)()||bn(e[t.index]);{const r=ng(e,t);return null!==r?Array.isArray(r)?r[0]:Wl(Vl(e[Bn]),r):Wl(e,t.next)}}return null}function ng(e,t){return null!==t?e[Bn][rr].projection[t.projection]:null}function Qd(e,t){const n=In+e+1;if(n<t.length){const r=t[n],i=r[Ke].firstChild;if(null!==i)return Wl(r,i)}return t[ri]}function sc(e,t,n){const r=rc(e,t);r&&function lC(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}function rg(e){e.textContent=""}function Xd(e,t,n,r,i,s,a){for(;null!=n;){const u=r[n.index],h=n.type;if(a&&0===t&&(u&&oi(bn(u),r),n.flags|=2),32&~n.flags)if(8&h)Xd(e,t,n.child,r,i,s,!1),Ga(t,e,i,u,s);else if(32&h){const C=Hd(n,r);let S;for(;S=C();)Ga(t,e,i,S,s);Ga(t,e,i,u,s)}else 16&h?ig(e,t,r,n,i,s):Ga(t,e,i,u,s);n=a?n.projectionNext:n.next}}function Kl(e,t,n,r,i,s){Xd(n,r,e.firstChild,t,i,s,!1)}function ig(e,t,n,r,i,s){const a=n[Bn],h=a[rr].projection[r.projection];if(Array.isArray(h))for(let C=0;C<h.length;C++)Ga(t,e,i,h[C],s);else{let C=h;const S=a[Mn];Zu(r)&&(C.flags|=128),Xd(e,t,C,S,i,s,!0)}}function sg(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function og(e,t,n){const{mergedAttrs:r,classes:i,styles:s}=n;null!==r&&vs(e,t,r),null!==i&&sg(e,t,i),null!==s&&function hC(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}function Qa(e){return function Yd(){if(void 0===oc&&(oc=null,A.trustedTypes))try{oc=A.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return oc}()?.createHTML(e)||e}function Zd(){if(void 0===ac&&(ac=null,A.trustedTypes))try{ac=A.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ac}function ag(e){return Zd()?.createHTML(e)||e}function ug(e){return Zd()?.createScriptURL(e)||e}class ca{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ur})`}}class yC extends ca{getTypeName(){return"HTML"}}class vC extends ca{getTypeName(){return"Style"}}class EC extends ca{getTypeName(){return"Script"}}class DC extends ca{getTypeName(){return"URL"}}class _C extends ca{getTypeName(){return"ResourceURL"}}function po(e){return e instanceof ca?e.changingThisBreaksApplicationSecurity:e}function Xa(e,t){const n=function CC(e){return e instanceof ca&&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 ${ur})`)}return n===t}function wC(e){return new yC(e)}function TC(e){return new vC(e)}function SC(e){return new EC(e)}function MC(e){return new DC(e)}function IC(e){return new _C(e)}class bC{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Qa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class AC{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Qa(t),n}}const PC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function lc(e){return(e=String(e)).match(PC)?e:"unsafe:"+e}function go(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function zl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const dg=go("area,br,col,hr,img,wbr"),fg=go("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hg=go("rp,rt"),Jd=zl(dg,zl(fg,go("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),zl(hg,go("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),zl(hg,fg)),qd=go("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pg=zl(qd,go("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),go("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),NC=go("script,style,template");class RC{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Jd.hasOwnProperty(n))return this.sanitizedSomething=!0,!NC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),a=s.name,u=a.toLowerCase();if(!pg.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let h=s.value;qd[u]&&(h=lc(h)),this.buf.push(" ",a,'="',gg(h),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Jd.hasOwnProperty(n)&&!dg.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(gg(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 xC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,LC=/([^\#-~ |!])/g;function gg(e){return e.replace(/&/g,"&amp;").replace(xC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(LC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let uc;function mg(e,t){let n=null;try{uc=uc||function cg(e){const t=new AC(e);return function OC(){try{return!!(new window.DOMParser).parseFromString(Qa(""),"text/html")}catch{return!1}}()?new bC(t):t}(e);let r=t?String(t):"";n=uc.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=uc.getInertBodyElement(r)}while(r!==s);return Qa((new RC).sanitizeChildren(ef(n)||n))}finally{if(n){const r=ef(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function ef(e){return"content"in e&&function FC(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var da=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(da||{});function yg(e){const t=Gl();return t?ag(t.sanitize(da.HTML,e)||""):Xa(e,"HTML")?ag(po(e)):mg(ko(),L(e))}function tf(e){const t=Gl();return t?t.sanitize(da.URL,e)||"":Xa(e,"URL")?po(e):lc(L(e))}function nf(e){const t=Gl();if(t)return ug(t.sanitize(da.RESOURCE_URL,e)||"");if(Xa(e,"ResourceURL"))return ug(po(e));throw new Je(904,!1)}function vg(e,t,n){return function $C(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?nf:tf}(t,n)(e)}function Gl(){const e=Pe();return e&&e[Ni].sanitizer}function VC(e){return e}function HC(){const e=new Ql;return"browser"===en(xd)&&(e.store=function WC(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}(ko(),en(wp))),e}let Ql=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static{this.\u0275prov=Oe({token:e,providedIn:"root",factory:HC})}get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const rf="h",sf="b";var Ya=function(e){return e.FirstChild="f",e.NextSibling="n",e}(Ya||{});const af="e",lf="t",Xl="c",cc="x",Za="r",uf="i",cf="n",dc="d",df="__nghData__",Yl="ngh",KC="nghm";let Eg=(e,t,n)=>null;function zC(e,t,n=!1){let r=e.getAttribute(Yl);if(null==r)return null;const[i,s]=r.split("|");if(r=n?s:i,!r)return null;const a=n?i:s?`|${s}`:"";let u={};if(""!==r){const C=t.get(Ql,null,{optional:!0});null!==C&&(u=C.get(df,[])[Number(r)])}const h={data:u,firstChild:e.firstChild??null};return n&&(h.firstChild=e,fc(h,0,e.nextSibling)),a?e.setAttribute(Yl,a):e.removeAttribute(Yl),h}function ff(e,t,n=!1){return Eg(e,t,n)}function Dg(e){let t=e._lView;return 2===t[Ke].type?null:(Fi(t)&&(t=t[Et]),t)}function fc(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function hf(e,t){return e.segmentHeads?.[t]??null}function _g(e,t){return e.data[Xl]?.[t]??null}function pf(e,t){const n=_g(e,t)??[];let r=0;for(let i of n)r+=i[Za]*(i[cc]??1);return r}function hc(e,t){if(typeof e.disconnectedNodes>"u"){const n=e.data[dc];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}class JC{}class Cg{}class e0{resolveComponentFactory(t){throw function qC(e){const t=Error(`No component factory found for ${nn(e)}.`);return t.ngComponent=e,t}(t)}}let pc=(()=>{class e{static{this.NULL=new e0}}return e})();function t0(){return Ja(Jt(),Pe())}function Ja(e,t){return new Zl(Tr(e,t))}let Zl=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=t0}}return e})();function n0(e){return e instanceof Zl?e.nativeElement:e}class Tg{}let r0=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function s0(){const e=Pe(),n=Wr(Jt().index,e);return(dr(n)?n:e)[yt]}()}}return e})(),o0=(()=>{class e{static{this.\u0275prov=Oe({token:e,providedIn:"root",factory:()=>null})}}return e})();class Sg{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const a0=new Sg("17.0.4"),gf={};function l0(e,t){const n=function we(e){const t=Object.create(Nt);t.computation=e;const n=()=>{if(ce(t),ee(t),t.value===ft)throw t.error;return t.value};return n[K]=t,n}(e);return t?.equal&&(n[K].equal=t.equal),n}function u0(e,t){const n=function G(e){const t=Object.create(st);t.value=e;const n=()=>(ee(t),t.value);return n[K]=t,n}(e),r=n[K];return t?.equal&&(r.equal=t.equal),n.set=i=>Ee(r,i),n.update=i=>function Fe(e,t){x()||He(),Ee(e,t(e.value))}(r,i),n.asReadonly=c0.bind(n),n}function c0(){const e=this[K];if(void 0===e.readonlyFn){const t=()=>this();t[K]=e,e.readonlyFn=t}return e.readonlyFn}function d0(e){const t=z(null);try{return e()}finally{z(t)}}function gc(e){return!!mf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function mf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Mg{constructor(){}supports(t){return gc(t)}create(t){return new g0(t)}}const p0=(e,t)=>t;class g0{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||p0}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex<bg(r,i,s)?n:r,u=bg(a,i,s),h=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{s||(s=[]);const C=u-i,S=h-i;if(C!=S){for(let J=0;J<C;J++){const se=J<s.length?s[J]:s[J]=0,be=se+J;S<=be&&be<C&&(s[J]=se+1)}s[a.previousIndex]=S-C}}u!==h&&t(a,u,h)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!gc(t))throw new Je(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let u=0;u<this.length;u++)s=t[u],a=this._trackByFn(u,s),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,s,a,u)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,u),r=!0),n=n._next}else i=0,function h0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,u=>{a=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,u,a,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,a,i),r=!0),n=n._next,i++}),this.length=i;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,i){let s;return null===t?s=this._itTail:(s=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,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new m0(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,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 i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ig),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 Ig),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 m0{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 y0{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 Ig{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new y0,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 bg(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Ag{constructor(){}supports(t){return t instanceof Map||mf(t)}create(){return new v0}}class v0{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||mf(t)))throw new Je(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),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 i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new E0(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 E0{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 Og(){return new yf([new Mg])}let yf=(()=>{class e{static{this.\u0275prov=Oe({token:e,providedIn:"root",factory:Og})}constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Og()),deps:[[e,new $u,new ju]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Je(901,!1)}}return e})();function Pg(){return new vf([new Ag])}let vf=(()=>{class e{static{this.\u0275prov=Oe({token:e,providedIn:"root",factory:Pg})}constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Pg()),deps:[[e,new $u,new ju]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Je(901,!1)}}return e})();function Jl(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];null!==s&&r.push(bn(s)),ir(s)&&Ng(s,r);const a=n.type;if(8&a)Jl(e,t,n.child,r);else if(32&a){const u=Hd(n,t);let h;for(;h=u();)r.push(h)}else if(16&a){const u=ng(t,n);if(Array.isArray(u))r.push(...u);else{const h=Vl(t[Bn]);Jl(h[Ke],h,u,r,!0)}}n=i?n.projectionNext:n.next}return r}function Ng(e,t){for(let n=In;n<e.length;n++){const r=e[n],i=r[Ke].firstChild;null!==i&&Jl(r[Ke],r,i,t)}e[ri]!==e[Ln]&&t.push(e[ri])}let Rg=[];const T0={...U,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Is(e.lView)},consumerOnSignalRead(){this.lView[xi]=this}};function Ef(e){return e.ngOriginalError}class jo{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&&Ef(t);for(;n&&Ef(n);)n=Ef(n);return n||null}}const mc=new ae(""),Fg=new ae("",{providedIn:"root",factory:()=>!1}),kt={};function jg(e){$g(Zt(),Pe(),Sr()+e,!1)}function $g(e,t,n,r){if(!r)if(3&~t[pt]){const s=e.preOrderHooks;null!==s&&La(t,s,0,n)}else{const s=e.preOrderCheckHooks;null!==s&&xa(t,s,n)}No(n)}function qa(e,t=At.Default){const n=Pe();return null===n?Wn(e,t):Rl(Jt(),n,lt(e),t)}function Vg(){throw new Error("invalid")}function yc(e,t,n,r,i,s,a,u,h,C,S){const P=t.blueprint.slice();return P[Ln]=i,P[pt]=140|r,(null!==C||e&&2048&e[pt])&&(P[pt]|=2048),Ui(P),P[Mn]=P[Us]=e,P[on]=n,P[Ni]=a||e&&e[Ni],P[yt]=u||e&&e[yt],P[Kn]=h||e&&e[Kn]||null,P[rr]=s,P[wi]=function V_(){return $_++}(),P[ti]=S,P[ao]=C,P[Bn]=2==t.type?e[Bn]:P,P}function el(e,t,n,r,i){let s=e.data[t];if(null===s)s=function Df(e,t,n,r,i){const s=oa(),a=Ao(),h=e.data[t]=function k0(e,t,n,r,i,s){let a=t?t.injectorIndex:-1,u=0;return bs()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=h),null!==s&&(a?null==s.child&&null!==h.parent&&(s.child=h):null===s.next&&(s.next=h,h.prev=s)),h}(e,t,n,r,i),function V(){return _t.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const a=function Hs(){const e=_t.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return Bi(s,!0),s}function ql(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Hg(e,t,n,r,i){const s=Sr(),a=2&r;try{No(-1),a&&t.length>Et&&$g(e,t,Et,!1),xr(a?2:0,i),n(r,i)}finally{No(s),xr(a?3:1,i)}}function _f(e,t,n){if(Li(t)){const r=z(null);try{const s=t.directiveEnd;for(let a=t.directiveStart;a<s;a++){const u=e.data[a];u.contentQueries&&u.contentQueries(1,n[a],a)}}finally{z(r)}}}function Cf(e,t,n){ia()&&(function W0(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;Ss(n)&&function Z0(e,t,n){const r=Tr(t,e),i=Wg(n);let a=16;n.signals?a=4096:n.onPush&&(a=64);const u=vc(e,yc(e,i,null,a,r,t,null,e[Ni].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=u}(t,n,e.data[i+n.componentOffset]),e.firstCreatePass||pi(n,t),oi(r,t);const a=n.initialInputs;for(let u=i;u<s;u++){const h=e.data[u],C=mt(t,e,u,n);oi(C,t),null!==a&&J0(0,u-i,C,h,0,a),ii(h)&&(Wr(n.index,t)[on]=mt(t,e,u,n))}}(e,t,n,Tr(n,t)),!(64&~n.flags)&&Xg(e,t,n))}function wf(e,t,n=Tr){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const a=r[s+1],u=-1===a?n(t,e):e[a];e[i++]=u}}}function Wg(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Tf(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Tf(e,t,n,r,i,s,a,u,h,C,S){const P=Et+r,J=P+i,se=function P0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:kt);return n}(P,J),be="function"==typeof C?C():C;return se[Ke]={type:e,blueprint:se,template:n,queries:null,viewQuery:u,declTNode:t,data:se.slice().fill(null,P),bindingStartIndex:P,expandoStartIndex:J,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:h,consts:be,incompleteFirstPass:!1,ssrId:S}}let Kg=e=>null;function x0(e){Lp(e)?rg(e):function XC(e){const t=ko(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(s){const a=function QC(e){return e.textContent?.replace(/\s/gm,"")}(s);return"ngetn"===a||"ngtns"===a?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let r;const i=[];for(;r=n.nextNode();)i.push(r);for(const s of i)"ngetn"===s.textContent?s.replaceWith(t.createTextNode("")):s.remove()}(e)}function zg(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const s=e[i];null===r?Gg(n,t,i,s):r.hasOwnProperty(i)&&Gg(n,t,r[i],s)}return n}function Gg(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Wi(e,t,n,r,i,s,a,u){const h=Tr(t,n);let S,C=t.inputs;!u&&null!=C&&(S=C[r])?(Af(e,n,S,r,i),Ss(t)&&function j0(e,t){const n=Wr(t,e);16&n[pt]||(n[pt]|=64)}(n,t.index)):3&t.type&&(r=function B0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,s.setProperty(h,r,i))}function Sf(e,t,n,r){if(ia()){const i=null===r?null:{"":-1},s=function z0(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s<n.length;s++){const a=n[s];if(Zi(t,a.selectors,!1))if(r||(r=[]),ii(a))if(null!==a.findHostDirectiveDefs){const u=[];i=i||new Map,a.findHostDirectiveDefs(a,u,i),r.unshift(...u,a),Mf(e,t,u.length)}else r.unshift(a),Mf(e,t,0);else i=i||new Map,a.findHostDirectiveDefs?.(a,r,i),r.push(a)}return null===r?null:[r,i]}(e,n);let a,u;null===s?a=u=null:[a,u]=s,null!==a&&Qg(e,t,n,a,i,u),i&&function G0(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new Je(-301,!1);r.push(t[i],s)}}}(n,r,i)}n.mergedAttrs=to(n.mergedAttrs,n.attrs)}function Qg(e,t,n,r,i,s){for(let C=0;C<r.length;C++)ji(pi(n,t),e,r[C].type);!function X0(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let C=0;C<r.length;C++){const S=r[C];S.providersResolver&&S.providersResolver(S)}let a=!1,u=!1,h=ql(e,t,r.length,null);for(let C=0;C<r.length;C++){const S=r[C];n.mergedAttrs=to(n.mergedAttrs,S.hostAttrs),Y0(e,n,t,h,S),Q0(h,S,i),null!==S.contentQueries&&(n.flags|=4),(null!==S.hostBindings||null!==S.hostAttrs||0!==S.hostVars)&&(n.flags|=64);const P=S.type.prototype;!a&&(P.ngOnChanges||P.ngOnInit||P.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),a=!0),!u&&(P.ngOnChanges||P.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),h++}!function U0(e,t,n){const i=t.directiveEnd,s=e.data,a=t.attrs,u=[];let h=null,C=null;for(let S=t.directiveStart;S<i;S++){const P=s[S],J=n?n.get(P):null,be=J?J.outputs:null;h=zg(P.inputs,S,h,J?J.inputs:null),C=zg(P.outputs,S,C,be);const $e=null===h||null===a||Hr(t)?null:q0(h,S,a);u.push($e)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=8),h.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=u,t.inputs=h,t.outputs=C}(e,n,s)}function Xg(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=function Qe(){return _t.lFrame.currentDirectiveIndex}();try{No(s);for(let u=r;u<i;u++){const h=e.data[u],C=t[u];Ot(u),(null!==h.hostBindings||0!==h.hostVars||null!==h.hostAttrs)&&K0(h,C)}}finally{No(-1),Ot(a)}}function K0(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mf(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Q0(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ii(t)&&(n[""]=e)}}function Y0(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=Ms(i.type)),a=new l(s,ii(i),qa);e.blueprint[r]=a,n[r]=a,function V0(e,t,n,r,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function H0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(n,r,s)}}(e,t,r,ql(e,n,i.hostVars,kt),i)}function Xs(e,t,n,r,i,s){const a=Tr(e,t);!function If(e,t,n,r,i,s,a){if(null==s)e.removeAttribute(t,i,n);else{const u=null==a?L(s):a(s,r||"",i);e.setAttribute(t,i,u,n)}}(t[yt],a,s,e.value,n,r,i)}function J0(e,t,n,r,i,s){const a=s[t];if(null!==a)for(let u=0;u<a.length;)Yg(r,n,a[u++],a[u++],a[u++])}function Yg(e,t,n,r,i){const s=z(null);try{const a=e.inputTransforms;null!==a&&a.hasOwnProperty(r)&&(i=a[r].call(t,i)),null!==e.setInput?e.setInput(t,i,n,r):t[r]=i}finally{z(s)}}function q0(e,t,n){let r=null,i=0;for(;i<n.length;){const s=n[i];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===r&&(r=[]);const a=e[s];for(let u=0;u<a.length;u+=2)if(a[u]===t){r.push(s,a[u+1],n[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function Zg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Jg(e,t){const n=e.contentQueries;if(null!==n){const r=z(null);try{for(let i=0;i<n.length;i+=2){const a=n[i+1];if(-1!==a){const u=e.data[a];Ws(n[i]),u.contentQueries(2,t[a],a)}}}finally{z(r)}}}function vc(e,t){return e[ni]?e[wo][ei]=t:e[ni]=t,e[wo]=t,t}function bf(e,t,n){Ws(0);const r=z(null);try{t(e,n)}finally{z(r)}}function qg(e){return e[ns]||(e[ns]=[])}function em(e){return e.cleanup||(e.cleanup=[])}function Ec(e,t){const n=e[Kn],r=n?n.get(jo,null):null;r&&r.handleError(t)}function Af(e,t,n,r,i){for(let s=0;s<n.length;){const a=n[s++],u=n[s++];Yg(e.data[a],t[a],r,u,i)}}function mo(e,t,n){const r=ea(t,e);!function Gp(e,t,n){e.setValue(t,n)}(e[yt],r,n)}function nm(e,t,n,r){const i=t[pt];if(!(256&~i))return;t[Ni].inlineEffectRunner?.flush(),Po(t);let a=null,u=null;(function nw(e){return 2!==e.type})(e)&&(u=function _0(e){return e[xi]??function C0(e){const t=Rg.pop()??Object.create(T0);return t.lView=e,t}(e)}(t),a=le(u));try{Ui(t),function v(e){return _t.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Hg(e,t,n,2,r);const h=!(3&~i);if(h){const P=e.preOrderCheckHooks;null!==P&&xa(t,P,null)}else{const P=e.preOrderHooks;null!==P&&La(t,P,0,null),Nl(t,0)}if(function rw(e){for(let t=Wp(e);null!==t;t=Kp(t)){if(!(t[pt]&Ts.HasTransplantedViews))continue;const n=t[ws];for(let r=0;r<n.length;r++){Iu(n[r])}}}(t),rm(t,0),null!==e.contentQueries&&Jg(e,t),h){const P=e.contentCheckHooks;null!==P&&xa(t,P)}else{const P=e.contentHooks;null!==P&&La(t,P,1),Nl(t,1)}!function O0(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)No(~i);else{const s=i,a=n[++r],u=n[++r];De(a,s),u(2,t[s])}}}finally{No(-1)}}(e,t);const C=e.components;null!==C&&om(t,C,0);const S=e.viewQuery;if(null!==S&&bf(2,S,r),h){const P=e.viewCheckHooks;null!==P&&xa(t,P)}else{const P=e.viewHooks;null!==P&&La(t,P,2),Nl(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[lo]){for(const P of t[lo])P();t[lo]=null}t[pt]&=-73}catch(h){throw Is(t),h}finally{null!==u&&(Ae(u,a),function w0(e){e.lView[xi]!==e&&(e.lView=null,Rg.push(e))}(u)),Pu()}}function rm(e,t){for(let n=Wp(e);null!==n;n=Kp(n)){n[pt]&=~Ts.HasChildViewsToRefresh;for(let r=In;r<n.length;r++)im(n[r],t)}}function iw(e,t,n){im(Wr(t,e),n)}function im(e,t){hi(e)&&sm(e,t)}function sm(e,t){const r=e[Ke],i=e[pt],s=e[xi];let a=!!(0===t&&16&i);if(a||=!!(64&i&&0===t),a||=!!(1024&i),a||=!(!s?.dirty||!ge(s)),s&&(s.dirty=!1),e[pt]&=-9217,a)nm(r,e,r.template,e[on]);else if(8192&i){rm(e,1);const u=r.components;null!==u&&om(e,u,1)}}function om(e,t,n){for(let r=0;r<t.length;r++)iw(e,t[r],n)}function eu(e){for(;e;){e[pt]|=64;const t=Vl(e);if(Fi(e)&&!t)return e;e=t}return null}class tu{get rootNodes(){const t=this._lView,n=t[Ke];return Jl(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[on]}set context(t){this._lView[on]=t}get destroyed(){return!(256&~this._lView[pt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Mn];if(ir(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Hl(t,r),Uu(n,r))}this._attachedToViewContainer=!1}nc(this._lView[Ke],this._lView)}onDestroy(t){na(this._lView,t)}markForCheck(){eu(this._cdRefInjectingView||this._lView)}detach(){this._lView[pt]&=-129}reattach(){si(this._lView),this._lView[pt]|=128}detectChanges(){!function Of(e,t=!0){const n=e[Ni],r=n.rendererFactory,i=n.afterRenderEventManager;r.begin?.(),i?.begin();try{const a=e[Ke];nm(a,e,a.template,e[on]),function tw(e){let t=0;for(;9216&e[pt]||e[xi]?.dirty;){if(100===t)throw new Je(103,!1);t++,sm(e,1)}}(e)}catch(a){throw t&&Ec(e,a),a}finally{r.end?.(),n.inlineEffectRunner?.flush(),i?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Je(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function nC(e,t){Kl(e,t,t[yt],2,null,null)}(this._lView[Ke],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Je(902,!1);this._appRef=t}}let am=(()=>{class e{static{this.__NG_ELEMENT_ID__=sw}}return e})();function sw(e){return function ow(e,t,n){if(Ss(e)&&!n){const r=Wr(e.index,t);return new tu(r,r)}return 47&e.type?new tu(t[Bn],t):null}(Jt(),Pe(),!(16&~e))}let Dc=(()=>{class e{static{this.__NG_ELEMENT_ID__=cw}static{this.__NG_ENV_ID__=n=>n}}return e})();class uw extends Dc{constructor(t){super(),this._lView=t}onDestroy(t){return na(this._lView,t),()=>function co(e,t){if(null===e[Ti])return;const n=e[Ti].indexOf(t);-1!==n&&e[Ti].splice(n,1)}(this._lView,t)}}function cw(){return new uw(Pe())}const dw=new ae("",{providedIn:"root",factory:()=>en(fw)});let fw=(()=>{class e{static{this.\u0275prov=Oe({token:e,providedIn:"root",factory:()=>new pw})}}return e})(),hw=(()=>{class e{constructor(){this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(n){const r=n.creationZone;this.queues.has(r)||this.queues.set(r,new Set);const i=this.queues.get(r);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,r]of this.queues)null===n?this.flushQueue(r):n.run(()=>this.flushQueue(r))}flushQueue(n){for(const r of n)n.delete(r),this.queuedEffectCount--,r.run()}static{this.\u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}}return e})();class pw{constructor(){this.hasQueuedFlush=!1,this.delegate=new hw,this.flushTask=()=>{this.delegate.flush(),this.hasQueuedFlush=!1}}scheduleEffect(t){this.delegate.scheduleEffect(t),this.hasQueuedFlush||(queueMicrotask(this.flushTask),this.hasQueuedFlush=!0)}}class gw{constructor(t,n,r,i,s,a){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.errorHandler=s,this.watcher=function Lt(e,t,n){const r=Object.create(ze);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=h=>{r.cleanupFn=h};return r.ref={notify:()=>k(r),run:()=>{if(null===r.fn)return;if(function Z(){return $}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!ge(r))return;r.hasRun=!0;const h=le(r);try{r.cleanupFn(),r.cleanupFn=ot,r.fn(i)}finally{Ae(r,h)}},cleanup:()=>r.cleanupFn(),destroy:()=>function a(h){(function s(h){return null===h.fn&&null===h.schedule})(h)||(Me(h),h.cleanupFn(),h.fn=null,h.schedule=null,h.cleanupFn=ot)}(r),[K]:r},r.ref}(u=>this.runEffect(u),()=>this.schedule(),a),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.errorHandler?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function lm(e,t){!t?.injector&&Pd();const n=t?.injector??en(as),r=n.get(jo,null,{optional:!0}),i=!0!==t?.manualCleanup?n.get(Dc):null,s=new gw(n.get(dw),e,typeof Zone>"u"?null:Zone.current,i,r,t?.allowSignalWrites??!1),a=n.get(am,null,{optional:!0});return a&&8&a._lView[pt]?(a._lView[lo]??=[]).push(s.watcher.notify):s.watcher.notify(),s}const um=new Set;function $o(e){um.has(e)||(um.add(e),performance?.mark?.("mark_use_counter",{detail:{feature:e}}))}function Pf(e){return t=>{setTimeout(e,void 0,t)}}const Ys=class mw extends ln.B{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),s=h.error?.bind(h),a=h.complete?.bind(h)}this.__isAsync&&(s=Pf(s),i&&(i=Pf(i)),a&&(a=Pf(a)));const u=super.subscribe({next:i,error:s,complete:a});return t instanceof hn.yU&&t.add(u),u}};function cm(...e){}class br{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ys(!1),this.onMicrotaskEmpty=new Ys(!1),this.onStable=new Ys(!1),this.onError=new Ys(!1),typeof Zone>"u")throw new Je(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function yw(){const e="function"==typeof A.requestAnimationFrame;let t=A[e?"requestAnimationFrame":"setTimeout"],n=A[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Dw(e){const t=()=>{!function Ew(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(A,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Rf(e),e.isCheckStableRunning=!0,Nf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Rf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,a,u)=>{if(function Cw(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(u))return n.invokeTask(i,s,a,u);try{return dm(e),n.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),fm(e)}},onInvoke:(n,r,i,s,a,u,h)=>{try{return dm(e),n.invoke(i,s,a,u,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),fm(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Rf(e),Nf(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!br.isInAngularZone())throw new Je(909,!1)}static assertNotInAngularZone(){if(br.isInAngularZone())throw new Je(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,t,vw,cm,cm);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const vw={};function Nf(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 Rf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function dm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fm(e){e._nesting--,Nf(e)}const hm=new ae("",{providedIn:"root",factory:pm});function pm(){const e=en(br);let t=!0;return function Er(...e){const t=(0,sr.lI)(e),n=(0,sr.R0)(e,1/0),r=e;return r.length?1===r.length?(0,qt.Tg)(r[0]):(0,Kt.U)(n)((0,ai.H)(r,t)):mn.w}(new Pn.c(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),new Pn.c(i=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{br.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const a=e.onUnstable.subscribe(()=>{br.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{s.unsubscribe(),a.unsubscribe()}}).pipe((0,Nn.u)()))}var fa=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(fa||{});const gm={destroy(){}};function ym(e,t){!t&&Pd();const n=t?.injector??en(as);if(!Uo(n))return gm;$o("NgAfterNextRender");const r=n.get(_c),i=r.handler??=new Em,s=t?.phase??fa.MixedReadWrite,a=()=>{i.unregister(h),u()},u=n.get(Dc).onDestroy(a),h=new vm(n,s,()=>{a(),e()});return i.register(h),{destroy:a}}class vm{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(br),this.errorHandler=t.get(jo,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class Em{constructor(){this.executingCallbacks=!1,this.buckets={[fa.EarlyRead]:new Set,[fa.Write]:new Set,[fa.MixedReadWrite]:new Set,[fa.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new Je(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let _c=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static{this.\u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}}return e})();function Tw(e,t){const n=Wr(t,e),r=n[Ke];!function Sw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[Ln];null!==i&&null===n[ti]&&(n[ti]=ff(i,n[Kn])),xf(r,n,n[on])}function xf(e,t,n){Po(t);try{const r=e.viewQuery;null!==r&&bf(1,r,n);const i=e.template;null!==i&&Hg(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Jg(e,t),e.staticViewQueries&&bf(2,e.viewQuery,n);const s=e.components;null!==s&&function Mw(e,t){for(let n=0;n<t.length;n++)Tw(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[pt]&=-5,Pu()}}function Cc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?s=u:1==s?i=wt(i,u):2==s&&(r=wt(r,u+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}class Dm extends pc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Mt(t);return new nu(n,this.ngModule)}}function _m(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class bw{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Yi(r);const i=this.injector.get(t,gf,r);return i!==gf||n===gf?i:this.parentInjector.get(t,n,r)}}class nu extends Cg{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=_m(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return _m(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Qo(e){return e.map(Do).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Qs?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new bw(t,s):t,u=a.get(Tg,null);if(null===u)throw new Je(407,!1);const S={rendererFactory:u,sanitizer:a.get(o0,null),inlineEffectRunner:null,afterRenderEventManager:a.get(_c,null)},P=u.createRenderer(null,this.componentDef),J=this.componentDef.selectors[0][0]||"div",se=r?function N0(e,t,n,r){const s=r.get(Fg,!1)||n===Ci.ShadowDom,a=e.selectRootElement(t,s);return function R0(e){Kg(e)}(a),a}(P,r,this.componentDef.encapsulation,a):tc(P,J,function Iw(e){const t=e.toLowerCase();return"svg"===t?bo:"math"===t?"math":null}(J)),Xe=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let ct=null;null!==se&&(ct=ff(se,a,!0));const ke=Tf(0,null,null,1,0,null,null,null,null,null,null),Dt=yc(null,ke,null,Xe,null,null,S,P,a,null,ct);let dn,En;Po(Dt);try{const Kr=this.componentDef;let Ea,tp=null;Kr.findHostDirectiveDefs?(Ea=[],tp=new Map,Kr.findHostDirectiveDefs(Kr,Ea,tp),Ea.push(Kr)):Ea=[Kr];const EA=function Ow(e,t){const n=e[Ke],r=Et;return e[r]=t,el(n,r,2,"#host",null)}(Dt,se),DA=function Pw(e,t,n,r,i,s,a){const u=i[Ke];!function Nw(e,t,n,r){for(const i of e)t.mergedAttrs=to(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Cc(t,t.mergedAttrs,!0),null!==n&&og(r,n,t))}(r,e,t,a);let h=null;null!==t&&(h=ff(t,i[Kn]));const C=s.rendererFactory.createRenderer(t,n);let S=16;n.signals?S=4096:n.onPush&&(S=64);const P=yc(i,Wg(n),null,S,i[e.index],e,s,C,null,null,h);return u.firstCreatePass&&Mf(u,e,r.length-1),vc(i,P),i[e.index]=P}(EA,se,Kr,Ea,Dt,S,P);En=$s(ke,Et),se&&function xw(e,t,n,r){if(r)vs(e,n,["ng-version",a0.full]);else{const{attrs:i,classes:s}=function Ji(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!xn(i))break;i=s}r++}return{attrs:t,classes:n}}(t.selectors[0]);i&&vs(e,n,i),s&&s.length>0&&sg(e,n,s.join(" "))}}(P,Kr,se,r),void 0!==n&&function Lw(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const s=n[i];r.push(null!=s?Array.from(s):null)}}(En,this.ngContentSelectors,n),dn=function Rw(e,t,n,r,i,s){const a=Jt(),u=i[Ke],h=Tr(a,i);Qg(u,i,a,n,null,r);for(let S=0;S<n.length;S++)oi(mt(i,u,a.directiveStart+S,a),i);Xg(u,i,a),h&&oi(h,i);const C=mt(i,u,a.directiveStart+a.componentOffset,a);if(e[on]=i[on]=C,null!==s)for(const S of s)S(C,t);return _f(u,a,e),C}(DA,Kr,Ea,tp,Dt,[Fw]),xf(ke,Dt,null)}finally{Pu()}return new Aw(this.componentType,dn,Ja(En,Dt),Dt,En)}}class Aw extends JC{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new tu(i,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;Af(s[Ke],s,i,t,n),this.previousInputValues.set(t,n),eu(Wr(this._tNode.index,s))}}get injector(){return new Wt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Fw(){const e=Jt();aa(Pe()[Ke],e)}function Lf(e){let t=function Cm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(ii(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Je(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const a=e;a.inputs=wc(e.inputs),a.inputTransforms=wc(e.inputTransforms),a.declaredInputs=wc(e.declaredInputs),a.outputs=wc(e.outputs);const u=i.hostBindings;u&&jw(e,u);const h=i.viewQuery,C=i.contentQueries;if(h&&Uw(e,h),C&&Bw(e,C),Gt(e.inputs,i.inputs),Gt(e.declaredInputs,i.declaredInputs),Gt(e.outputs,i.outputs),null!==i.inputTransforms&&(null===a.inputTransforms&&(a.inputTransforms={}),Gt(a.inputTransforms,i.inputTransforms)),ii(i)&&i.data.animation){const S=e.data;S.animation=(S.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let a=0;a<s.length;a++){const u=s[a];u&&u.ngInherit&&u(e),u===Lf&&(n=!1)}}t=Object.getPrototypeOf(t)}!function kw(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=to(i.hostAttrs,n=to(n,i.hostAttrs))}}(r)}function wc(e){return e===ui?{}:e===Xt?[]:e}function Uw(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Bw(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function jw(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Mm(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Zs(e,t,n){return e[t]=n}function Ar(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ha(e,t,n,r){const i=Ar(e,t,n);return Ar(e,t+1,r)||i}function Tc(e,t,n,r,i){const s=ha(e,t,n,r);return Ar(e,t+2,i)||s}function ls(e,t,n,r,i,s){const a=ha(e,t,n,r);return ha(e,t+2,i,s)||a}function Ff(e,t,n,r){const i=Pe();return Ar(i,w(),t)&&(Zt(),Xs(An(),i,e,t,n,r)),Ff}function nl(e,t,n,r){return Ar(e,w(),n)?t+L(n)+r:kt}function rl(e,t,n,r,i,s){const u=ha(e,f(),n,i);return O(2),u?t+L(n)+r+L(i)+s:kt}function Sc(e,t){return e<<17|t<<2}function Vo(e){return e>>17&32767}function kf(e){return 2|e}function pa(e){return(131068&e)>>2}function Uf(e,t){return-131069&e|t<<2}function Bf(e){return 1|e}function Fm(e,t,n,r,i){const s=e[n+1],a=null===t;let u=r?Vo(s):pa(s),h=!1;for(;0!==u&&(!1===h||a);){const S=e[u+1];Zw(e[u],t)&&(h=!0,e[u+1]=r?Bf(S):kf(S)),u=r?Vo(S):pa(S)}h&&(e[n+1]=r?kf(s):Bf(s))}function Zw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&$a(e,t)>=0}const kr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function km(e){return e.substring(kr.key,kr.keyEnd)}function Jw(e){return e.substring(kr.value,kr.valueEnd)}function Um(e,t){const n=kr.textEnd;return n===t?-1:(t=kr.keyEnd=function tT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,kr.key=t,n),cl(e,t,n))}function Bm(e,t){const n=kr.textEnd;let r=kr.key=cl(e,t,n);return n===r?-1:(r=kr.keyEnd=function nT(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=$m(e,r,n),r=kr.value=cl(e,r,n),r=kr.valueEnd=function rT(e,t,n){let r=-1,i=-1,s=-1,a=t,u=a;for(;a<n;){const h=e.charCodeAt(a++);if(59===h)return u;34===h||39===h?u=a=Vm(e,h,a,n):t===a-4&&85===s&&82===i&&76===r&&40===h?u=a=Vm(e,41,a,n):h>32&&(u=a),s=i,i=r,r=-33&h}return u}(e,r,n),$m(e,r,n))}function jm(e){kr.key=0,kr.keyEnd=0,kr.value=0,kr.valueEnd=0,kr.textEnd=e.length}function cl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function $m(e,t,n,r){return(t=cl(e,t,n))<n&&t++,t}function Vm(e,t,n,r){let i=-1,s=n;for(;s<r;){const a=e.charCodeAt(s++);if(a==t&&92!==i)return s;i=92==a&&92===i?0:a}throw new Error}function jf(e,t,n){const r=Pe();return Ar(r,w(),t)&&Wi(Zt(),An(),r,e,t,r[yt],n,!1),jf}function $f(e,t,n,r,i){const a=i?"class":"style";Af(e,n,t.inputs[a],a,r)}function Vf(e,t,n){return Ns(e,t,n,!1),Vf}function Hf(e,t){return Ns(e,t,null,!0),Hf}function Ps(e){Rs(zm,iT,e,!1)}function iT(e,t){for(let n=function eT(e){return jm(e),Bm(e,cl(e,0,kr.textEnd))}(t);n>=0;n=Bm(t,n))zm(e,km(t),Jw(t))}function Hm(e){Rs(cT,Js,e,!0)}function Js(e,t){for(let n=function qw(e){return jm(e),Um(e,cl(e,0,kr.textEnd))}(t);n>=0;n=Um(t,n))Vi(e,km(t),!0)}function Ns(e,t,n,r){const i=Pe(),s=Zt(),a=O(2);s.firstUpdatePass&&Km(s,e,a,r),t!==kt&&Ar(i,a,t)&&Gm(s,s.data[Sr()],i,i[yt],e,i[a+1]=function fT(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=nn(po(e)))),e}(t,n),r,a)}function Rs(e,t,n,r){const i=Zt(),s=O(2);i.firstUpdatePass&&Km(i,null,s,r);const a=Pe();if(n!==kt&&Ar(a,s,n)){const u=i.data[Sr()];if(Xm(u,r)&&!Wm(i,s)){let h=r?u.classesWithoutHost:u.stylesWithoutHost;null!==h&&(n=wt(h,n||"")),$f(i,u,a,n,r)}else!function dT(e,t,n,r,i,s,a,u){i===kt&&(i=Xt);let h=0,C=0,S=0<i.length?i[0]:null,P=0<s.length?s[0]:null;for(;null!==S||null!==P;){const J=h<i.length?i[h+1]:void 0,se=C<s.length?s[C+1]:void 0;let $e,be=null;S===P?(h+=2,C+=2,J!==se&&(be=P,$e=se)):null===P||null!==S&&S<P?(h+=2,be=S):(C+=2,be=P,$e=se),null!==be&&Gm(e,t,n,r,be,$e,a,u),S=h<i.length?i[h]:null,P=C<s.length?s[C]:null}}(i,u,a,a[yt],a[s+1],a[s+1]=function uT(e,t,n){if(null==n||""===n)return Xt;const r=[],i=po(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function Wm(e,t){return t>=e.expandoStartIndex}function Km(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Sr()],a=Wm(e,n);Xm(s,r)&&null===t&&!a&&(t=!1),t=function sT(e,t,n,r){const i=function Ft(e){const t=_t.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=iu(n=Wf(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=Wf(i,e,t,n,r),null===s){let h=function oT(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==pa(r))return e[Vo(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=Wf(null,e,t,h[1],r),h=iu(h,t.attrs,r),function aT(e,t,n,r){e[Vo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else s=function lT(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=iu(r,e[s].hostAttrs,n);return iu(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function Xw(e,t,n,r,i,s){let a=s?t.classBindings:t.styleBindings,u=Vo(a),h=pa(a);e[r]=n;let S,C=!1;if(Array.isArray(n)?(S=n[1],(null===S||$a(n,S)>0)&&(C=!0)):S=n,i)if(0!==h){const J=Vo(e[u+1]);e[r+1]=Sc(J,u),0!==J&&(e[J+1]=Uf(e[J+1],r)),e[u+1]=function Gw(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=Sc(u,0),0!==u&&(e[u+1]=Uf(e[u+1],r)),u=r;else e[r+1]=Sc(h,0),0===u?u=r:e[h+1]=Uf(e[h+1],r),h=r;C&&(e[r+1]=kf(e[r+1])),Fm(e,S,r,!0),Fm(e,S,r,!1),function Yw(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&$a(s,t)>=0&&(n[r+1]=Bf(n[r+1]))}(t,S,e,r,s),a=Sc(u,h),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}function Wf(e,t,n,r,i){let s=null;const a=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u<a&&(s=t[u],r=iu(r,s.hostAttrs,i),s!==e);)u++;return null!==e&&(n.directiveStylingLast=u),r}function iu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Vi(e,a,!!n||t[++s]))}return void 0===e?null:e}function zm(e,t,n){Vi(e,t,po(n))}function cT(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Vi(e,r,n)}function Gm(e,t,n,r,i,s,a,u){if(!(3&t.type))return;const h=e.data,C=h[u+1],S=function Qw(e){return!(1&~e)}(C)?Qm(h,t,n,i,pa(C),a):void 0;Mc(S)||(Mc(s)||function zw(e){return!(2&~e)}(C)&&(s=Qm(h,null,n,i,u,a)),function fC(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:qu.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=qu.Important),e.setStyle(n,r,i,s))}}(r,a,ea(Sr(),n),i,s))}function Qm(e,t,n,r,i,s){const a=null===t;let u;for(;i>0;){const h=e[i],C=Array.isArray(h),S=C?h[1]:h,P=null===S;let J=n[i+1];J===kt&&(J=P?Xt:void 0);let se=P?Dd(J,r):S===r?J:void 0;if(C&&!Mc(se)&&(se=Dd(h,r)),Mc(se)&&(u=se,a))return u;const be=e[i+1];i=a?Vo(be):pa(be)}if(null!==t){let h=s?t.residualClasses:t.residualStyles;null!=h&&(u=Dd(h,r))}return u}function Mc(e){return void 0!==e}function Xm(e,t){return!!(e.flags&(t?8:16))}function Ym(e,t,n){Rs(Vi,Js,nl(Pe(),e,t,n),!0)}function Zm(e,t,n,r,i,s,a){Rs(Vi,Js,function il(e,t,n,r,i,s,a,u){const C=Tc(e,f(),n,i,a);return O(3),C?t+L(n)+r+L(i)+s+L(a)+u:kt}(Pe(),e,t,n,r,i,s,a),!0)}function ey(e){const t=e[Cs]??[],r=e[Mn][yt];for(const i of t)AT(i,r);e[Cs]=Xt}function AT(e,t){let n=0,r=e.firstChild;if(r){const i=e.data[Za];for(;n<i;){const s=r.nextSibling;sc(t,r,!1),r=s,n++}}}function ty(e){ey(e);for(let t=In;t<e.length;t++)bc(e[t])}function bc(e){const t=e[Ke];for(let n=Et;n<t.bindingStartIndex;n++)ir(e[n])?ty(e[n]):dr(e[n])&&bc(e[n])}const PT=new RegExp(`^(\\d+)*(${sf}|${rf})*(.*)`);function Qf(e){return e.index-Et}function Ac(e,t,n,r){let i=null;const s=Qf(r),a=e.data[cf];if(a?.[s])i=function FT(e,t){const[n,...r]=function RT(e){const t=e.match(PT),[n,r,i,s]=t,a=r?parseInt(r,10):i,u=[];for(const[h,C,S]of s.matchAll(/(f|n)(\d*)/g)){const P=parseInt(S,10)||1;u.push(C,P)}return[a,...u]}(e);let i;return i=n===rf?t[Bn][Ln]:n===sf?function Ip(e){return e.ownerDocument.body}(t[Bn][Ln]):bn(t[Number(n)+Et]),function LT(e,t){let n=e;for(let r=0;r<t.length;r+=2){const i=t[r],s=t[r+1];for(let a=0;a<s;a++)switch(i){case Ya.FirstChild:n=n.firstChild;break;case Ya.NextSibling:n=n.nextSibling}}return n}(i,r)}(a[s],n);else if(t.firstChild===r)i=e.firstChild;else{const u=null===r.prev,h=r.prev??r.parent;if(function xT(e){return!e.prev&&8===e.parent?.type}(r))i=hf(e,Qf(r.parent));else{let C=Tr(h,n);if(u)i=C.firstChild;else{const S=Qf(h),P=hf(e,S);i=2===h.type&&P?Oc(pf(e,S)+1,P):C.nextSibling}}}return i}function Oc(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}let ry=(e,t)=>null;function jT(e,t){const n=e[Cs];return t&&null!==n&&0!==n.length?n[0].data[uf]===t?n.shift():(ey(e),null):null}function dl(e,t){return ry(e,t)}class VT{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),i=Math.max(t,n),s=this.detach(i);if(i-r>1){const a=this.detach(r);this.attach(r,s),this.attach(i,a)}else this.attach(r,s)}move(t,n){this.attach(n,this.detach(t))}}function Yf(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function Zf(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function iy(e,t,n,r,i){if(Zf(e,t,r,n(r,i)))e.updateValue(r,i);else{const s=e.create(r,i);e.attach(r,s)}}function sy(e,t,n,r){const i=new Set;for(let s=t;s<=n;s++)i.add(r(s,e.at(s)));return i}class oy{constructor(){this.map=new Map}has(t){const n=this.map.get(t);return void 0!==n&&n.length>0}delete(t){const n=this.map.get(t);return void 0!==n&&(n.shift(),!0)}get(t){const n=this.map.get(t);return void 0!==n&&n.length>0?n[0]:void 0}set(t,n){this.map.has(t)?this.map.get(t)?.push(n):this.map.set(t,[n])}forEach(t){for(const[n,r]of this.map)for(const i of r)t(i,n)}}function lu(e,t,n,r){const i=t.tView,u=yc(e,i,n,4096&e[pt]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);u[Gr]=e[t.index];const C=e[ci];return null!==C&&(u[ci]=C.createEmbeddedView(i)),xf(i,u,n),u}function ay(e,t){const n=In+t;if(n<e.length)return e[n]}function fl(e,t){return!t||Zu(e)}function uu(e,t,n,r=!0){const i=t[Ke];if(function iC(e,t,n,r){const i=In+r,s=n.length;r>0&&(n[i-1][ei]=t),r<s-In?(t[ei]=n[i],ip(n,In+r,t)):(n.push(t),t[ei]=null),t[Mn]=n;const a=t[Gr];null!==a&&n!==a&&function sC(e,t){const n=e[ws];t[Bn]!==t[Mn][Mn][Bn]&&(e[pt]|=Ts.HasTransplantedViews),null===n?e[ws]=[t]:n.push(t)}(a,t);const u=t[ci];null!==u&&u.insertView(e),si(t),t[pt]|=128}(i,t,e,n),r){const s=Qd(n,e),a=t[yt],u=rc(a,e[ri]);null!==u&&function tC(e,t,n,r,i,s){r[Ln]=i,r[rr]=t,Kl(e,r,n,1,i,s)}(i,e[rr],a,t,u,s)}}function Jf(e,t){const n=Hl(e,t);return void 0!==n&&nc(n[Ke],n),n}let Pc=(()=>{class e{static{this.__NG_ELEMENT_ID__=WT}}return e})();function WT(){return cy(Jt(),Pe())}const KT=Pc,ly=class extends KT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ja(this._hostTNode,this._hostLView)}get injector(){return new Wt(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ii(this._hostTNode,this._hostLView);if(nt(t)){const n=qe(t,this._hostLView),r=Ye(t);return new Wt(n[Ke].data[r+8],n)}return new Wt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=uy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-In}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const a=dl(this._lContainer,t.ssrId),u=t.createEmbeddedViewImpl(n||{},s,a);return this.insertImpl(u,i,fl(this._hostTNode,a)),u}createComponent(t,n,r,i,s){const a=t&&!function Ll(e){return"function"==typeof e}(t);let u;if(a)u=n;else{const be=n||{};u=be.index,r=be.injector,i=be.projectableNodes,s=be.environmentInjector||be.ngModuleRef}const h=a?t:new nu(Mt(t)),C=r||this.parentInjector;if(!s&&null==h.ngModule){const $e=(a?C:this.parentInjector).get(Qs,null);$e&&(s=$e)}const S=Mt(h.componentType??{}),P=dl(this._lContainer,S?.id??null),se=h.create(C,i,P?.firstChild??null,s);return this.insertImpl(se.hostView,u,fl(this._hostTNode,P)),se}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function ta(e){return ir(e[Mn])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const h=i[Mn],C=new ly(h,h[rr],h[Mn]);C.detach(C.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;return uu(a,i,s,r),t.attachToViewContainerRef(),ip(qf(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=uy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Hl(this._lContainer,n);r&&(Uu(qf(this._lContainer),n),nc(r[Ke],r))}detach(t){const n=this._adjustIndex(t,-1),r=Hl(this._lContainer,n);return r&&null!=Uu(qf(this._lContainer),n)?new tu(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function uy(e){return e[8]}function qf(e){return e[8]||(e[8]=[])}function cy(e,t){let n;const r=t[e.index];return ir(r)?n=r:(n=Zg(r,t,null,e),t[e.index]=n,vc(t,n)),dy(n,t,e,r),new ly(n,e,t)}let dy=hy,eh=(e,t,n)=>!1;function hy(e,t,n,r){if(e[ri])return;let i;i=8&n.type?bn(r):function zT(e,t){const n=e[yt],r=n.createComment(""),i=Tr(t,e);return ua(n,rc(n,i),r,function uC(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[ri]=i}function GT(e,t,n){if(e[ri]&&e[Cs])return!0;const r=n[ti],i=t.index-Et;if(!r||function Ju(e){if(Zu(e))return!0;let t=e.parent;for(;t;){if(Zu(e)||xp(t))return!0;t=t.parent}return!1}(t)||hc(r,i))return!1;const a=hf(r,i),u=r.data[Xl]?.[i],[h,C]=function BT(e,t){const n=[];for(const r of t)for(let i=0;i<(r[cc]??1);i++){const s={data:r,firstChild:null};r[Za]>0&&(s.firstChild=e,e=Oc(r[Za],e)),n.push(s)}return[e,n]}(a,u);return e[ri]=h,e[Cs]=C,!0}function QT(e,t,n,r){eh(e,n,t)||hy(e,t,n,r)}function hl(e,t,n,r,i,s,a,u){const h=Pe(),C=Zt(),S=e+Et,P=C.firstCreatePass?function YT(e,t,n,r,i,s,a,u,h){const C=t.consts,S=el(t,e,4,a||null,ss(C,u));Sf(t,n,S,ss(C,h)),aa(t,S);const P=S.tView=Tf(2,S,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,S),P.queries=t.queries.embeddedTView(S)),S}(S,C,h,t,n,r,i,s,a):C.data[S];Bi(P,!1);const J=py(C,h,P,e);Ra()&&ic(C,h,J,P),oi(J,h);const se=Zg(J,h,J,P);return h[S]=se,vc(h,se),function fy(e,t,n){return eh(e,t,n)}(se,P,h),To(P)&&Cf(C,h,P),null!=a&&wf(h,P,u),hl}let py=gy;function gy(e,t,n,r){return Ks(!0),t[yt].createComment("")}function ZT(e,t,n,r){const i=t[ti],s=!i||bs()||hc(i,r);if(Ks(s),s)return gy(0,t);const a=i.data[lf]?.[r]??null;null!==a&&null!==n.tView&&null===n.tView.ssrId&&(n.tView.ssrId=a);const u=Ac(i,e,t,n);return fc(i,r,u),Oc(pf(i,r),u)}function my(e,t,n){$o("NgControlFlow");const r=Pe(),i=w(),s=th(r,Et+e);if(Ar(r,i,t)){const u=z(null);try{if(Jf(s,0),-1!==t){const h=nh(r[Ke],Et+t),C=dl(s,h.tView.ssrId);uu(s,lu(r,h,n,{dehydratedView:C}),0,fl(h,C))}}finally{z(u)}}else{const u=ay(s,0);void 0!==u&&(u[on]=n)}}class qT{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-In}}function yy(e){return e}class tS{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function vy(e,t,n,r,i,s,a,u,h,C,S){$o("NgControlFlow");const P=void 0!==h,J=Pe(),se=u?a.bind(J[Bn][on]):a,be=new tS(P,se);J[Et+e]=be,hl(e+1,t,n,r,i,s),P&&hl(e+2,h,C,S)}class nS extends VT{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-In}at(t){return this.getLView(t)[on].$implicit}attach(t,n){const r=n[ti];this.needsIndexUpdate||=t!==this.length,uu(this.lContainer,n,t,fl(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function rS(e,t){return Hl(e,t)}(this.lContainer,t)}create(t,n){const r=dl(this.lContainer,this.templateTNode.tView.ssrId);return lu(this.hostLView,this.templateTNode,new qT(this.lContainer,n,t),{dehydratedView:r})}destroy(t){nc(t[Ke],t)}updateValue(t,n){this.getLView(t)[on].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[on].$index=t}getLView(t){return function iS(e,t){return ay(e,t)}(this.lContainer,t)}}function Ey(e){const t=z(null),n=Sr();try{const r=Pe(),i=r[Ke],s=r[n];if(void 0===s.liveCollection){const u=n+1,h=th(r,u),C=nh(i,u);s.liveCollection=new nS(h,r,C)}else s.liveCollection.reset();const a=s.liveCollection;if(function HT(e,t,n){let r,i,s=0,a=e.length-1;if(Array.isArray(t)){let u=t.length-1;for(;s<=a&&s<=u;){const h=e.at(s),C=t[s],S=Yf(s,h,s,C,n);if(0!==S){S<0&&e.updateValue(s,C),s++;continue}const P=e.at(a),J=t[u],se=Yf(a,P,u,J,n);if(0!==se){se<0&&e.updateValue(a,J),a--,u--;continue}const be=n(s,h),$e=n(a,P),Xe=n(s,C);if(Object.is(Xe,$e)){const ct=n(u,J);Object.is(ct,be)?(e.swap(s,a),e.updateValue(a,J),u--,a--):e.move(a,s),e.updateValue(s,C),s++}else if(r??=new oy,i??=sy(e,s,a,n),Zf(e,r,s,Xe))e.updateValue(s,C),s++,a++;else if(i.has(Xe))r.set(be,e.detach(s)),a--;else{const ct=e.create(s,t[s]);e.attach(s,ct),s++,a++}}for(;s<=u;)iy(e,r,n,s,t[s]),s++}else if(null!=t){const u=t[Symbol.iterator]();let h=u.next();for(;!h.done&&s<=a;){const C=e.at(s),S=h.value,P=Yf(s,C,s,S,n);if(0!==P)P<0&&e.updateValue(s,S),s++,h=u.next();else{r??=new oy,i??=sy(e,s,a,n);const J=n(s,S);if(Zf(e,r,s,J))e.updateValue(s,S),s++,a++,h=u.next();else if(i.has(J)){const se=n(s,C);r.set(se,e.detach(s)),a--}else e.attach(s,e.create(s,S)),s++,a++,h=u.next()}}for(;!h.done;)iy(e,r,n,e.length,h.value),h=u.next()}for(;s<=a;)e.destroy(e.detach(a--));r?.forEach(u=>{e.destroy(u)})}(a,e,s.trackByFn),a.updateIndexes(),s.hasEmptyBlock){const u=w(),h=0===a.length;if(Ar(r,u,h)){const C=n+2,S=th(r,C);if(h){const P=nh(i,C),J=dl(S,P.tView.ssrId);uu(S,lu(r,P,void 0,{dehydratedView:J}),0,fl(P,J))}else Jf(S,0)}}}finally{z(t)}}function th(e,t){return e[t]}function nh(e,t){return $s(e,t)}function kc(e,t,n,r){const i=Pe(),s=Zt(),a=Et+e,u=i[yt],h=s.firstCreatePass?function LS(e,t,n,r,i,s){const a=t.consts,h=el(t,e,2,r,ss(a,i));return Sf(t,n,h,ss(a,s)),null!==h.attrs&&Cc(h,h.attrs,!1),null!==h.mergedAttrs&&Cc(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(a,s,i,t,n,r):s.data[a],C=Vy(s,i,h,u,t,e);i[a]=C;const S=To(h);return Bi(h,!0),og(u,C,h),!!(32&~h.flags)&&Ra()&&ic(s,i,C,h),0===function ad(){return _t.lFrame.elementDepthCount}()&&oi(C,i),function ld(){_t.lFrame.elementDepthCount++}(),S&&(Cf(s,i,h),_f(s,h,i)),null!==r&&wf(i,h),kc}function Uc(){let e=Jt();Ao()?As():(e=e.parent,Bi(e,!1));const t=e;(function ud(e){return _t.skipHydrationRootTNode===e})(t)&&function Al(){_t.skipHydrationRootTNode=null}(),function Au(){_t.lFrame.elementDepthCount--}();const n=Zt();return n.firstCreatePass&&(aa(n,e),Li(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function B(e){return!!(8&e.flags)}(t)&&$f(n,t,Pe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Y(e){return!!(16&e.flags)}(t)&&$f(n,t,Pe(),t.stylesWithoutHost,!1),Uc}function dh(e,t,n,r){return kc(e,t,n,r),Uc(),dh}let Vy=(e,t,n,r,i,s)=>(Ks(!0),tc(r,i,Na()));function FS(e,t,n,r,i,s){const a=t[ti],u=!a||bs()||hc(a,s);if(Ks(u),u)return tc(r,i,Na());const h=Ac(a,e,t,n);return _g(a,s)&&fc(a,s,h.nextSibling),a&&(xp(n)||Lp(h))&&Ss(n)&&(function sa(e){_t.skipHydrationRootTNode=e}(n),rg(h)),h}function Bc(e,t,n){const r=Pe(),i=Zt(),s=e+Et,a=i.firstCreatePass?function US(e,t,n,r,i){const s=t.consts,a=ss(s,r),u=el(t,e,8,"ng-container",a);return null!==a&&Cc(u,a,!0),Sf(t,n,u,ss(s,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,r,t,n):i.data[s];Bi(a,!0);const u=Hy(i,r,a,e);return r[s]=u,Ra()&&ic(i,r,u,a),oi(u,r),To(a)&&(Cf(i,r,a),_f(i,a,r)),null!=n&&wf(r,a),Bc}function jc(){let e=Jt();const t=Zt();return Ao()?As():(e=e.parent,Bi(e,!1)),t.firstCreatePass&&(aa(t,e),Li(e)&&t.queries.elementEnd(e)),jc}function fh(e,t,n){return Bc(e,t,n),jc(),fh}let Hy=(e,t,n,r)=>(Ks(!0),Wd(t[yt],""));function BS(e,t,n,r){let i;const s=t[ti],a=!s||bs();if(Ks(a),a)return Wd(t[yt],"");const u=Ac(s,e,t,n),h=function ZC(e,t){const n=e.data;let r=n[af]?.[t]??null;return null===r&&n[Xl]?.[t]&&(r=pf(e,t)),r}(s,r);return fc(s,r,u),i=Oc(h,u),i}function Wy(){return Pe()}const ma=void 0;var VS=["en",[["a","p"],["AM","PM"],ma],[["AM","PM"],ma,ma],[["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"]],ma,[["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"]],ma,[["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}",ma,"{1} 'at' {0}",ma],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $S(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Dl={};function HS(e,t,n){"string"!=typeof t&&(n=t,t=e[_l.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Dl[t]=e,n&&(Dl[t][_l.ExtraData]=n)}function hh(e){const t=function WS(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Qy(t);if(n)return n;const r=t.split("-")[0];if(n=Qy(r),n)return n;if("en"===r)return VS;throw new Je(701,!1)}function Gy(e){return hh(e)[_l.PluralCase]}function Qy(e){return e in Dl||(Dl[e]=A.ng&&A.ng.common&&A.ng.common.locales&&A.ng.common.locales[e]),Dl[e]}var _l=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(_l||{});const Cl="en-US";let Xy=Cl;function mh(e){return!!e&&"function"==typeof e.then}function Dv(e){return!!e&&"function"==typeof e.subscribe}function yh(e,t,n,r){const i=Pe(),s=Zt(),a=Jt();return function Cv(e,t,n,r,i,s,a){const u=To(r),C=e.firstCreatePass&&em(e),S=t[on],P=qg(t);let J=!0;if(3&r.type||a){const $e=Tr(r,t),Xe=a?a($e):$e,ct=P.length,ke=a?dn=>a(bn(dn[r.index])):r.index;let Dt=null;if(!a&&u&&(Dt=function UM(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const a=i[s];if(a===n&&i[s+1]===r){const u=t[ns],h=i[s+2];return u.length>h?u[h]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==Dt)(Dt.__ngLastListenerFn__||Dt).__ngNextListenerFn__=s,Dt.__ngLastListenerFn__=s,J=!1;else{s=Tv(r,t,S,s,!1);const dn=n.listen(Xe,i,s);P.push(s,dn),C&&C.push(i,ke,ct,ct+1)}}else s=Tv(r,t,S,s,!1);const se=r.outputs;let be;if(J&&null!==se&&(be=se[i])){const $e=be.length;if($e)for(let Xe=0;Xe<$e;Xe+=2){const En=t[be[Xe]][be[Xe+1]].subscribe(s),Kr=P.length;P.push(s,En),C&&C.push(i,r.index,Kr,-(Kr+1))}}}(s,i,i[yt],a,e,t,r),yh}function wv(e,t,n,r){try{return xr(6,t,n),!1!==n(r)}catch(i){return Ec(e,i),!1}finally{xr(7,t,n)}}function Tv(e,t,n,r,i){return function s(a){if(a===Function)return r;eu(e.componentOffset>-1?Wr(e.index,t):t);let h=wv(t,n,r,a),C=s.__ngNextListenerFn__;for(;C;)h=wv(t,n,C,a)&&h,C=C.__ngNextListenerFn__;return i&&!1===h&&a.preventDefault(),h}}function Sv(e=1){return function np(e){return(_t.lFrame.contextLView=function ba(e,t){for(;e>0;)t=t[Us],e--;return t}(e,_t.lFrame.contextLView))[on]}(e)}function BM(e,t){let n=null;const r=function Eo(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?Zi(e,s,!0):Es(r,s))return i}else n=i}return n}function Mv(e){const t=Pe()[Bn][rr];if(!t.projection){const r=t.projection=Fl(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const a=e?BM(s,e):0;null!==a&&(i[a]?i[a].projectionNext=s:r[a]=s,i[a]=s),s=s.next}}}function Iv(e,t=0,n){const r=Pe(),i=Zt(),s=el(i,Et+e,16,null,n||null);null===s.projection&&(s.projection=t),As(),(!r[ti]||bs())&&32&~s.flags&&function cC(e,t,n){ig(t[yt],0,t,n,zd(e,n,t),Jp(n.parent||t[rr],n,t))}(i,r,s)}function vh(e,t,n){return Kc(e,"",t,"",n),vh}function Kc(e,t,n,r,i){const s=Pe(),a=nl(s,t,n,r);return a!==kt&&Wi(Zt(),An(),s,e,a,s[yt],i,!1),Kc}function Fv(e){return Vs(function Ol(){return _t.lFrame.contextLView}(),Et+e)}function kv(e,t,n){Ps(nl(Pe(),e,t,n))}function Uv(e,t,n,r,i){Ps(rl(Pe(),e,t,n,r,i))}function Eh(e,t,n,r,i){return Ns(e,nl(Pe(),t,n,r),i,!1),Eh}function Gv(e,t=""){const n=Pe(),r=Zt(),i=e+Et,s=r.firstCreatePass?el(r,i,1,t,null):r.data[i],a=Qv(r,n,s,t,e);n[i]=a,Ra()&&ic(r,n,a,s),Bi(s,!1)}let Qv=(e,t,n,r,i)=>(Ks(!0),ec(t[yt],r));function QM(e,t,n,r,i){const s=t[ti],a=!s||bs()||hc(s,i);return Ks(a),a?ec(t[yt],r):Ac(s,e,t,n)}function Dh(e){return zc("",e,""),Dh}function zc(e,t,n){const r=Pe(),i=nl(r,e,t,n);return i!==kt&&mo(r,Sr(),i),zc}function _h(e,t,n,r,i){const s=Pe(),a=rl(s,e,t,n,r,i);return a!==kt&&mo(s,Sr(),a),_h}function Ch(e,t,n,r,i,s,a,u,h){const C=Pe(),S=function sl(e,t,n,r,i,s,a,u,h,C){const P=ls(e,f(),n,i,a,h);return O(4),P?t+L(n)+r+L(i)+s+L(a)+u+L(h)+C:kt}(C,e,t,n,r,i,s,a,u,h);return S!==kt&&mo(C,Sr(),S),Ch}function wh(e,t,n,r,i){if(e=lt(e),Array.isArray(e))for(let s=0;s<e.length;s++)wh(e[s],t,n,r,i);else{const s=Zt(),a=Pe(),u=Jt();let h=la(e)?e:lt(e.provide);const C=mp(e),S=1048575&u.providerIndexes,P=u.directiveStart,J=u.providerIndexes>>20;if(la(e)||!e.multi){const se=new l(C,i,qa),be=Sh(h,t,i?S:S+J,P);-1===be?(ji(pi(u,a),s,h),Th(s,e,t.length),t.push(h),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(se),a.push(se)):(n[be]=se,a[be]=se)}else{const se=Sh(h,t,S+J,P),be=Sh(h,t,S,S+J),Xe=be>=0&&n[be];if(i&&!Xe||!i&&!(se>=0&&n[se])){ji(pi(u,a),s,h);const ct=function qM(e,t,n,r,i){const s=new l(e,n,qa);return s.multi=[],s.index=t,s.componentProviders=0,tE(s,i,r&&!n),s}(i?JM:ZM,n.length,i,r,C);!i&&Xe&&(n[be].providerFactory=ct),Th(s,e,t.length,0),t.push(h),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(ct),a.push(ct)}else Th(s,e,se>-1?se:be,tE(n[i?be:se],C,!i&&r));!i&&r&&Xe&&n[be].componentProviders++}}}function Th(e,t,n,r){const i=la(t),s=function f_(e){return!!e.useClass}(t);if(i||s){const h=(s?lt(t.useClass):t).prototype.ngOnDestroy;if(h){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const S=C.indexOf(n);-1===S?C.push(n,[r,h]):C[S+1].push(r,h)}else C.push(n,h)}}}function tE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Sh(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function ZM(e,t,n,r){return Mh(this.multi,[])}function JM(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,u=mt(n,n[Ke],this.providerFactory.index,r);s=u.slice(0,a),Mh(i,s);for(let h=a;h<u.length;h++)s.push(u[h])}else s=[],Mh(i,s);return s}function Mh(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function nE(e,t=[]){return n=>{n.providersResolver=(r,i)=>function YM(e,t,n){const r=Zt();if(r.firstCreatePass){const i=ii(e);wh(n,r.data,r.blueprint,i,!0),wh(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class ya{}class rE{}function eI(e,t){return new Ih(e,t??null,[])}class Ih extends ya{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Dm(this);const i=wr(t);this._bootstrapComponents=Hi(i.bootstrap),this._r3Injector=_p(t,n,[{provide:ya,useValue:this},{provide:pc,useValue:this.componentFactoryResolver},...r],nn(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 bh extends rE{constructor(t){super(),this.moduleType=t}create(t){return new Ih(this.moduleType,t,[])}}class iE extends ya{constructor(t){super(),this.componentFactoryResolver=new Dm(this),this.instance=null;const n=new Wa([...t.providers,{provide:ya,useValue:this},{provide:pc,useValue:this.componentFactoryResolver}],t.parent||zu(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function sE(e,t,n=null){return new iE({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let nI=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=fp(0,n.type),i=r.length>0?sE([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=Oe({token:e,providedIn:"environment",factory:()=>new e(Wn(Qs))})}}return e})();function oE(e){$o("NgStandalone"),e.getStandaloneInjector=t=>t.get(nI).getOrCreateStandaloneInjector(e)}function pE(e,t,n){const r=y()+e,i=Pe();return i[r]===kt?Zs(i,r,n?t.call(n):t()):function ru(e,t){return e[t]}(i,r)}function gE(e,t,n,r){return vE(Pe(),y(),e,t,n,r)}function mE(e,t,n,r,i){return EE(Pe(),y(),e,t,n,r,i)}function yE(e,t,n,r,i,s,a){return function _E(e,t,n,r,i,s,a,u,h){const C=t+n;return ls(e,C,i,s,a,u)?Zs(e,C+4,h?r.call(h,i,s,a,u):r(i,s,a,u)):vu(e,C+4)}(Pe(),y(),e,t,n,r,i,s,a)}function vu(e,t){const n=e[t];return n===kt?void 0:n}function vE(e,t,n,r,i,s){const a=t+n;return Ar(e,a,i)?Zs(e,a+1,s?r.call(s,i):r(i)):vu(e,a+1)}function EE(e,t,n,r,i,s,a){const u=t+n;return ha(e,u,i,s)?Zs(e,u+2,a?r.call(a,i,s):r(i,s)):vu(e,u+2)}function wE(e,t){const n=Zt();let r;const i=e+Et;n.firstCreatePass?(r=function EI(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[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=Ms(r.type)),u=Cn(qa);try{const h=vt(!1),C=s();return vt(h),function jM(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Pe(),i,C),C}finally{Cn(u)}}function TE(e,t,n){const r=e+Et,i=Pe(),s=Vs(i,r);return Eu(i,r)?vE(i,y(),t,s.transform,n,s):s.transform(n)}function SE(e,t,n,r){const i=e+Et,s=Pe(),a=Vs(s,i);return Eu(s,i)?EE(s,y(),t,a.transform,n,r,a):a.transform(n,r)}function ME(e,t,n,r,i){const s=e+Et,a=Pe(),u=Vs(a,s);return Eu(a,s)?function DE(e,t,n,r,i,s,a,u){const h=t+n;return Tc(e,h,i,s,a)?Zs(e,h+3,u?r.call(u,i,s,a):r(i,s,a)):vu(e,h+3)}(a,y(),t,u.transform,n,r,i,u):u.transform(n,r,i)}function Eu(e,t){return e[Ke].data[t].pure}function CI(){return this._results[Symbol.iterator]()}class Oh{get changes(){return this._changes||(this._changes=new Ys)}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=Oh.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=CI)}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){this.dirty=!1;const r=function bi(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function QD(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Du=(()=>{class e{static{this.__NG_ELEMENT_ID__=SI}}return e})();const wI=Du,TI=class extends wI{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=lu(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new tu(i)}};function SI(){return Xc(Jt(),Pe())}function Xc(e,t){return 4&e.type?new TI(t,e,Ja(e,t)):null}class Ph{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ph(this.queryList)}setDirty(){this.queryList.setDirty()}}class Nh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const a=n.getByIndex(s);i.push(this.queries[a.indexInDeclarationView].clone())}return new Nh(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==LE(t,n).matches&&this.queries[n].setDirty()}}class IE{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Rh{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Rh(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class xh{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new xh(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,MI(n,s)),this.matchTNodeWithReadOption(t,n,gt(n,t,s,!1,!1))}else r===Du?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,gt(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Zl||i===Pc||i===Du&&4&n.type)this.addMatch(n.index,-2);else{const s=gt(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function MI(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function bI(e,t,n,r){return-1===n?function II(e,t){return 11&e.type?Ja(e,t):4&e.type?Xc(e,t):null}(t,e):-2===n?function AI(e,t,n){return n===Zl?Ja(t,e):n===Du?Xc(t,e):n===Pc?cy(t,e):void 0}(e,t,r):mt(e,e[Ke],n,t)}function bE(e,t,n,r){const i=t[ci].queries[r];if(null===i.matches){const s=e.data,a=n.matches,u=[];for(let h=0;h<a.length;h+=2){const C=a[h];u.push(C<0?null:bI(t,s[C],a[h+1],n.metadata.read))}i.matches=u}return i.matches}function Lh(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const a=bE(e,t,i,n);for(let u=0;u<s.length;u+=2){const h=s[u];if(h>0)r.push(a[u/2]);else{const C=s[u+1],S=t[-h];for(let P=In;P<S.length;P++){const J=S[P];J[Gr]===J[Mn]&&Lh(J[Ke],J,C,r)}if(null!==S[ws]){const P=S[ws];for(let J=0;J<P.length;J++){const se=P[J];Lh(se[Ke],se,C,r)}}}}}return r}function AE(e){const t=Pe(),n=Zt(),r=Xn();Ws(r+1);const i=LE(n,r);if(e.dirty&&function bl(e){return!(4&~e[pt])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?Lh(n,t,r,[]):bE(n,t,i,r);e.reset(s,n0),e.notifyOnChanges()}return!0}return!1}function OE(e,t,n){const r=Zt();r.firstCreatePass&&(xE(r,new IE(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),RE(r,Pe(),t)}function PE(e,t,n,r){const i=Zt();if(i.firstCreatePass){const s=Jt();xE(i,new IE(t,n,r),s.index),function PI(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),!(2&~n)&&(i.staticContentQueries=!0)}RE(i,Pe(),n)}function NE(){return function OI(e,t){return e[ci].queries[t].queryList}(Pe(),Xn())}function RE(e,t,n){const r=new Oh(!(4&~n));(function F0(e,t,n,r){const i=qg(t);i.push(n),e.firstCreatePass&&em(e).push(r,i.length-1)})(e,t,r,r.destroy),null===t[ci]&&(t[ci]=new Nh),t[ci].queries.push(new Ph(r))}function xE(e,t,n){null===e.queries&&(e.queries=new Rh),e.queries.track(new xh(t,n))}function LE(e,t){return e.queries.getByIndex(t)}function FE(e,t){return Xc(e,t)}const JE=new ae("Application Initializer");let jh=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=en(JE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(mh(s))n.push(s);else if(Dv(s)){const a=new Promise((u,h)=>{s.subscribe({complete:u,error:h})});n.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),qE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const Zc=new ae("LocaleId",{providedIn:"root",factory:()=>en(Zc,At.Optional|At.SkipSelf)||function qI(){return typeof $localize<"u"&&$localize.locale||Cl}()}),eb=new ae("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let tD=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new or.t(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class sb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let ob=(()=>{class e{compileModuleSync(n){return new bh(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Hi(wr(n).declarations).reduce((a,u)=>{const h=Mt(u);return h&&a.push(new nu(h)),a},[]);return new sb(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const oD=new ae(""),aD=new ae("");let Vh,Pb=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Vh||(function Nb(e){Vh=e}(i),i.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:()=>{br.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{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,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!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,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static{this.\u0275fac=function(r){return new(r||e)(Wn(br),Wn(lD),Wn(aD))}}static{this.\u0275prov=Oe({token:e,factory:e.\u0275fac})}}return e})(),lD=(()=>{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 Vh?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),Wo=null;const Hh=new ae("PlatformDestroyListeners"),Wh=new ae("appBootstrapListener");function kb(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,i=function Fb(e=[]){if(Wo)return Wo;const t=function fD(e=[],t){return as.create({name:t,providers:[{provide:Id,useValue:"platform"},{provide:Hh,useValue:new Set([()=>Wo=null])},...e]})}(e);return Wo=t,function cD(){!function Ut(e){On=e}(()=>{throw new Je(600,!1)})}(),function dD(e){e.get(Tp,null)?.forEach(n=>n())}(t),t}(r),s=[Vb(),...n||[]],u=new iE({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,h=u.get(br);return h.run(()=>{u.resolveInjectorInitializers();const C=u.get(jo,null);let S;h.runOutsideAngular(()=>{S=h.onError.subscribe({next:se=>{C.handleError(se)}})});const P=()=>u.destroy(),J=i.get(Hh);return J.add(P),u.onDestroy(()=>{S.unsubscribe(),J.delete(P)}),function gD(e,t,n){try{const r=n();return mh(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(C,h,()=>{const se=u.get(jh);return se.runInitializers(),se.donePromise.then(()=>{!function Yy(e){ie(e,"Expected localeId to be defined"),"string"==typeof e&&(Xy=e.toLowerCase().replace(/_/g,"-"))}(u.get(Zc,Cl)||Cl);const $e=u.get(Sl);return void 0!==t&&$e.bootstrap(t),$e})})})}catch(t){return Promise.reject(t)}}let Sl=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=en(vD),this.zoneIsStable=en(hm),this.componentTypes=[],this.components=[],this.isStable=en(tD).hasPendingTasks.pipe((0,zt.n)(n=>n?(0,zn.of)(!1):this.zoneIsStable),function Yn(e,t=Bt.D){return e=e??hr,(0,ar.N)((n,r)=>{let i,s=!0;n.subscribe((0,Br._)(r,a=>{const u=t(a);(s||!e(i,u))&&(s=!1,i=u,r.next(a))}))})}(),(0,Nn.u)()),this._injector=en(Qs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Cg;if(!this._injector.get(jh).done)throw!i&&tn(n),new Je(405,!1);let a;a=i?n:this._injector.get(pc).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const u=function xb(e){return e.isBoundToModule}(a)?void 0:this._injector.get(ya),C=a.create(as.NULL,[],r||a.selector,u),S=C.location.nativeElement,P=C.injector.get(oD,null);return P?.registerApplication(S),C.onDestroy(()=>{this.detachView(C.hostView),qc(this.components,C),P?.unregisterApplication(S)}),this._loadComponent(C),C}tick(){if(this._runningTick)throw new Je(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;qc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Wh,[]);[...this._bootstrapListeners,...r].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>qc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Je(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function qc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const vD=new ae("",{providedIn:"root",factory:()=>en(jo).handleError.bind(void 0)});function jb(){const e=en(br),t=en(jo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let ed,$b=(()=>{class e{constructor(){this.zone=en(br),this.applicationRef=en(Sl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function ED(e){return[{provide:br,useFactory:e},{provide:Ha,multi:!0,useFactory:()=>{const t=en($b,{optional:!0});return()=>t.initialize()}},{provide:vD,useFactory:jb},{provide:hm,useFactory:pm}]}function Vb(e){return Td([[],ED(()=>new br(function pD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}function DD(e){ed??=new WeakMap;const t=ed.get(e);if(t)return t;const n=e.isStable.pipe((0,yn.$)(r=>r)).toPromise().then(()=>{});return ed.set(e,n),e.onDestroy(()=>ed?.delete(e)),n}function Hb(){return!1}let Gb=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(Wn(Sl))}}static{this.\u0275mod=es({type:e})}static{this.\u0275inj=rt({})}}return e})(),HD=!1;function hA(){return Td([{provide:mc,useFactory:()=>{let e=!0;return Uo()&&(e=!!en(Ql,{optional:!0})?.get(df,null)),e&&$o("NgHydration"),e}},{provide:Ha,useValue:()=>{Uo()&&en(mc)&&(function pA(){const e=ko();let t;for(const n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===KC){t=n;break}if(!t)throw new Je(-507,!1)}(),function dA(){HD||(HD=!0,function GC(){Eg=zC}(),function kS(){Vy=FS}(),function XM(){Qv=QM}(),function jS(){Hy=BS}(),function JT(){py=ZT}(),function XT(){dy=QT,eh=GT}(),function $T(){ry=jT}(),function L0(){Kg=x0}())}())},multi:!0},{provide:Fg,useFactory:()=>Uo()&&en(mc)},{provide:Wh,useFactory:()=>{if(Uo()&&en(mc)){const e=en(Sl);return en(as),()=>{(function fA(e,t){return DD(e)})(e).then(()=>{br.assertInAngularZone(),function OT(e){const t=e._views;for(const n of t){const r=Dg(n);null!==r&&null!==r[Ln]&&(dr(r)?bc(r):(bc(r[Ln]),ty(r)))}}(e)})}}return()=>{}},multi:!0}])}function gA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function yA(e,t){const n=Mt(e),r=t.elementInjector||zu();return new nu(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function vA(e){const t=Mt(e);if(!t)return null;const n=new nu(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},436:(Ve,ue,E)=>{"use strict";E.d(ue,{$x:()=>Dn,B7:()=>fe,B8:()=>Fe,Bb:()=>qt,Ii:()=>Je,W8:()=>sr,fM:()=>Pr,hE:()=>or,up:()=>lt});var c=E(2761),I=E(316),$=E(677);class j extends I.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class K extends j{static makeCurrent(){(0,I.ZD)(new K)}onAndCancel(ye,R,L){return ye.addEventListener(R,L),()=>{ye.removeEventListener(R,L)}}dispatchEvent(ye,R){ye.dispatchEvent(R)}remove(ye){ye.parentNode&&ye.parentNode.removeChild(ye)}createElement(ye,R){return(R=R||this.getDefaultDocument()).createElement(ye)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ye){return ye.nodeType===Node.ELEMENT_NODE}isShadowRoot(ye){return ye instanceof DocumentFragment}getGlobalEventTarget(ye,R){return"window"===R?window:"document"===R?ye:"body"===R?ye.body:null}getBaseHref(ye){const R=function re(){return z=z||document.querySelector("base"),z?z.getAttribute("href"):null}();return null==R?null:function X(me){Z=Z||document.createElement("a"),Z.setAttribute("href",me);const ye=Z.pathname;return"/"===ye.charAt(0)?ye:`/${ye}`}(R)}resetBaseElement(){z=null}getUserAgent(){return window.navigator.userAgent}getCookie(ye){return(0,I._b)(document.cookie,ye)}}let Z,z=null,ee=(()=>{class me{build(){return new XMLHttpRequest}static{this.\u0275fac=function(L){return new(L||me)}}static{this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac})}}return me})();const te=new c.nKC("EventManagerPlugins");let ce=(()=>{class me{constructor(R,L){this._zone=L,this._eventNameToPlugin=new Map,R.forEach(de=>{de.manager=this}),this._plugins=R.slice().reverse()}addEventListener(R,L,de){return this._findPluginFor(L).addEventListener(R,L,de)}getZone(){return this._zone}_findPluginFor(R){let L=this._eventNameToPlugin.get(R);if(L)return L;if(L=this._plugins.find(Ge=>Ge.supports(R)),!L)throw new c.wOt(5101,!1);return this._eventNameToPlugin.set(R,L),L}static{this.\u0275fac=function(L){return new(L||me)(c.KVO(te),c.KVO(c.SKi))}}static{this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac})}}return me})();class W{constructor(ye){this._doc=ye}}const x="ng-app-id";let k=(()=>{class me{constructor(R,L,de,Ge={}){this.doc=R,this.appId=L,this.nonce=de,this.platformId=Ge,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,I.Vy)(Ge),this.resetHostNodes()}addStyles(R){for(const L of R)1===this.changeUsageCount(L,1)&&this.onStyleAdded(L)}removeStyles(R){for(const L of R)this.changeUsageCount(L,-1)<=0&&this.onStyleRemoved(L)}ngOnDestroy(){const R=this.styleNodesInDOM;R&&(R.forEach(L=>L.remove()),R.clear());for(const L of this.getAllStyles())this.onStyleRemoved(L);this.resetHostNodes()}addHost(R){this.hostNodes.add(R);for(const L of this.getAllStyles())this.addStyleToHost(R,L)}removeHost(R){this.hostNodes.delete(R)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(R){for(const L of this.hostNodes)this.addStyleToHost(L,R)}onStyleRemoved(R){const L=this.styleRef;L.get(R)?.elements?.forEach(de=>de.remove()),L.delete(R)}collectServerRenderedStyles(){const R=this.doc.head?.querySelectorAll(`style[${x}="${this.appId}"]`);if(R?.length){const L=new Map;return R.forEach(de=>{null!=de.textContent&&L.set(de.textContent,de)}),L}return null}changeUsageCount(R,L){const de=this.styleRef;if(de.has(R)){const Ge=de.get(R);return Ge.usage+=L,Ge.usage}return de.set(R,{usage:L,elements:[]}),L}getStyleElement(R,L){const de=this.styleNodesInDOM,Ge=de?.get(L);if(Ge?.parentNode===R)return de.delete(L),Ge.removeAttribute(x),Ge;{const ut=this.doc.createElement("style");return this.nonce&&ut.setAttribute("nonce",this.nonce),ut.textContent=L,this.platformIsServer&&ut.setAttribute(x,this.appId),R.appendChild(ut),ut}}addStyleToHost(R,L){const de=this.getStyleElement(R,L),Ge=this.styleRef,ut=Ge.get(L)?.elements;ut?ut.push(de):Ge.set(L,{elements:[de],usage:1})}resetHostNodes(){const R=this.hostNodes;R.clear(),R.add(this.doc.head)}static{this.\u0275fac=function(L){return new(L||me)(c.KVO(I.qQ),c.KVO(c.sZ2),c.KVO(c.BIS,8),c.KVO(c.Agw))}}static{this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac})}}return me})();const le={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/"},Ae=/%COMP%/g,xe=new c.nKC("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function we(me,ye){return ye.map(R=>R.replace(Ae,me))}let fe=(()=>{class me{constructor(R,L,de,Ge,ut,bt,Tt,Tn=null){this.eventManager=R,this.sharedStylesHost=L,this.appId=de,this.removeStylesOnCompDestroy=Ge,this.doc=ut,this.platformId=bt,this.ngZone=Tt,this.nonce=Tn,this.rendererByCompId=new Map,this.platformIsServer=(0,I.Vy)(bt),this.defaultRenderer=new Le(R,ut,Tt,this.platformIsServer)}createRenderer(R,L){if(!R||!L)return this.defaultRenderer;this.platformIsServer&&L.encapsulation===c.gXe.ShadowDom&&(L={...L,encapsulation:c.gXe.Emulated});const de=this.getOrCreateRenderer(R,L);return de instanceof Ut?de.applyToHost(R):de instanceof He&&de.applyStyles(),de}getOrCreateRenderer(R,L){const de=this.rendererByCompId;let Ge=de.get(L.id);if(!Ge){const ut=this.doc,bt=this.ngZone,Tt=this.eventManager,Tn=this.sharedStylesHost,Vn=this.removeStylesOnCompDestroy,rn=this.platformIsServer;switch(L.encapsulation){case c.gXe.Emulated:Ge=new Ut(Tt,Tn,L,this.appId,Vn,ut,bt,rn);break;case c.gXe.ShadowDom:return new On(Tt,Tn,R,L,ut,bt,this.nonce,rn);default:Ge=new He(Tt,Tn,L,Vn,ut,bt,rn)}de.set(L.id,Ge)}return Ge}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(L){return new(L||me)(c.KVO(ce),c.KVO(k),c.KVO(c.sZ2),c.KVO(xe),c.KVO(I.qQ),c.KVO(c.Agw),c.KVO(c.SKi),c.KVO(c.BIS))}}static{this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac})}}return me})();class Le{constructor(ye,R,L,de){this.eventManager=ye,this.doc=R,this.ngZone=L,this.platformIsServer=de,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(ye,R){return R?this.doc.createElementNS(le[R]||R,ye):this.doc.createElement(ye)}createComment(ye){return this.doc.createComment(ye)}createText(ye){return this.doc.createTextNode(ye)}appendChild(ye,R){(gn(ye)?ye.content:ye).appendChild(R)}insertBefore(ye,R,L){ye&&(gn(ye)?ye.content:ye).insertBefore(R,L)}removeChild(ye,R){ye&&ye.removeChild(R)}selectRootElement(ye,R){let L="string"==typeof ye?this.doc.querySelector(ye):ye;if(!L)throw new c.wOt(-5104,!1);return R||(L.textContent=""),L}parentNode(ye){return ye.parentNode}nextSibling(ye){return ye.nextSibling}setAttribute(ye,R,L,de){if(de){R=de+":"+R;const Ge=le[de];Ge?ye.setAttributeNS(Ge,R,L):ye.setAttribute(R,L)}else ye.setAttribute(R,L)}removeAttribute(ye,R,L){if(L){const de=le[L];de?ye.removeAttributeNS(de,R):ye.removeAttribute(`${L}:${R}`)}else ye.removeAttribute(R)}addClass(ye,R){ye.classList.add(R)}removeClass(ye,R){ye.classList.remove(R)}setStyle(ye,R,L,de){de&(c.czy.DashCase|c.czy.Important)?ye.style.setProperty(R,L,de&c.czy.Important?"important":""):ye.style[R]=L}removeStyle(ye,R,L){L&c.czy.DashCase?ye.style.removeProperty(R):ye.style[R]=""}setProperty(ye,R,L){null!=ye&&(ye[R]=L)}setValue(ye,R){ye.nodeValue=R}listen(ye,R,L){if("string"==typeof ye&&!(ye=(0,I.QT)().getGlobalEventTarget(this.doc,ye)))throw new Error(`Unsupported event target ${ye} for event ${R}`);return this.eventManager.addEventListener(ye,R,this.decoratePreventDefault(L))}decoratePreventDefault(ye){return R=>{if("__ngUnwrap__"===R)return ye;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ye(R)):ye(R))&&R.preventDefault()}}}function gn(me){return"TEMPLATE"===me.tagName&&void 0!==me.content}class On extends Le{constructor(ye,R,L,de,Ge,ut,bt,Tt){super(ye,Ge,ut,Tt),this.sharedStylesHost=R,this.hostEl=L,this.shadowRoot=L.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Tn=we(de.id,de.styles);for(const Vn of Tn){const rn=document.createElement("style");bt&&rn.setAttribute("nonce",bt),rn.textContent=Vn,this.shadowRoot.appendChild(rn)}}nodeOrShadowRoot(ye){return ye===this.hostEl?this.shadowRoot:ye}appendChild(ye,R){return super.appendChild(this.nodeOrShadowRoot(ye),R)}insertBefore(ye,R,L){return super.insertBefore(this.nodeOrShadowRoot(ye),R,L)}removeChild(ye,R){return super.removeChild(this.nodeOrShadowRoot(ye),R)}parentNode(ye){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ye)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class He extends Le{constructor(ye,R,L,de,Ge,ut,bt,Tt){super(ye,Ge,ut,bt),this.sharedStylesHost=R,this.removeStylesOnCompDestroy=de,this.styles=Tt?we(Tt,L.styles):L.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ut extends He{constructor(ye,R,L,de,Ge,ut,bt,Tt){const Tn=de+"-"+L.id;super(ye,R,L,Ge,ut,bt,Tt,Tn),this.contentAttr=function et(me){return"_ngcontent-%COMP%".replace(Ae,me)}(Tn),this.hostAttr=function We(me){return"_nghost-%COMP%".replace(Ae,me)}(Tn)}applyToHost(ye){this.applyStyles(),this.setAttribute(ye,this.hostAttr,"")}createElement(ye,R){const L=super.createElement(ye,R);return super.setAttribute(L,this.contentAttr,""),L}}let oe=(()=>{class me extends W{constructor(R){super(R)}supports(R){return!0}addEventListener(R,L,de){return R.addEventListener(L,de,!1),()=>this.removeEventListener(R,L,de)}removeEventListener(R,L,de){return R.removeEventListener(L,de)}static{this.\u0275fac=function(L){return new(L||me)(c.KVO(I.qQ))}}static{this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac})}}return me})();const G=["alt","control","meta","shift"],ne={"\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"},he={alt:me=>me.altKey,control:me=>me.ctrlKey,meta:me=>me.metaKey,shift:me=>me.shiftKey};let Ee=(()=>{class me extends W{constructor(R){super(R)}supports(R){return null!=me.parseEventName(R)}addEventListener(R,L,de){const Ge=me.parseEventName(L),ut=me.eventCallback(Ge.fullKey,de,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,I.QT)().onAndCancel(R,Ge.domEventName,ut))}static parseEventName(R){const L=R.toLowerCase().split("."),de=L.shift();if(0===L.length||"keydown"!==de&&"keyup"!==de)return null;const Ge=me._normalizeKey(L.pop());let ut="",bt=L.indexOf("code");if(bt>-1&&(L.splice(bt,1),ut="code."),G.forEach(Tn=>{const Vn=L.indexOf(Tn);Vn>-1&&(L.splice(Vn,1),ut+=Tn+".")}),ut+=Ge,0!=L.length||0===Ge.length)return null;const Tt={};return Tt.domEventName=de,Tt.fullKey=ut,Tt}static matchEventFullKeyCode(R,L){let de=ne[R.key]||R.key,Ge="";return L.indexOf("code.")>-1&&(de=R.code,Ge="code."),!(null==de||!de)&&(de=de.toLowerCase()," "===de?de="space":"."===de&&(de="dot"),G.forEach(ut=>{ut!==de&&(0,he[ut])(R)&&(Ge+=ut+".")}),Ge+=de,Ge===L)}static eventCallback(R,L,de){return Ge=>{me.matchEventFullKeyCode(Ge,R)&&de.runGuarded(()=>L(Ge))}}static _normalizeKey(R){return"esc"===R?"escape":R}static{this.\u0275fac=function(L){return new(L||me)(c.KVO(I.qQ))}}static{this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac})}}return me})();function Fe(me,ye){return(0,c.TL3)({rootComponent:me,...st(ye)})}function st(me){return{appProviders:[...Kt,...me?.providers??[]],platformProviders:It}}const It=[{provide:c.Agw,useValue:I.AJ},{provide:c.PLl,useValue:function Lt(){K.makeCurrent()},multi:!0},{provide:I.qQ,useFactory:function ze(){return(0,c.TL$)(document),document},deps:[]}],hn=new c.nKC(""),Pn=[{provide:c.e01,useClass:class U{addToWindow(ye){c.JZv.getAngularTestability=(L,de=!0)=>{const Ge=ye.findTestabilityInTree(L,de);if(null==Ge)throw new c.wOt(5103,!1);return Ge},c.JZv.getAllAngularTestabilities=()=>ye.getAllTestabilities(),c.JZv.getAllAngularRootElements=()=>ye.getAllRootElements(),c.JZv.frameworkStabilizers||(c.JZv.frameworkStabilizers=[]),c.JZv.frameworkStabilizers.push(L=>{const de=c.JZv.getAllAngularTestabilities();let Ge=de.length,ut=!1;const bt=function(Tt){ut=ut||Tt,Ge--,0==Ge&&L(ut)};de.forEach(Tt=>{Tt.whenStable(bt)})})}findTestabilityInTree(ye,R,L){return null==R?null:ye.getTestability(R)??(L?(0,I.QT)().isShadowRoot(R)?this.findTestabilityInTree(ye,R.host,!0):this.findTestabilityInTree(ye,R.parentElement,!0):null)}},deps:[]},{provide:c.WHO,useClass:c.NYb,deps:[c.SKi,c.giA,c.e01]},{provide:c.NYb,useClass:c.NYb,deps:[c.SKi,c.giA,c.e01]}],Kt=[{provide:c.H8p,useValue:"root"},{provide:c.zcH,useFactory:function ot(){return new c.zcH},deps:[]},{provide:te,useClass:oe,multi:!0,deps:[I.qQ,c.SKi,c.Agw]},{provide:te,useClass:Ee,multi:!0,deps:[I.qQ]},fe,k,ce,{provide:c._9s,useExisting:fe},{provide:I.N0,useClass:ee,deps:[]},[]];let qt=(()=>{class me{constructor(R){}static withServerTransition(R){return{ngModule:me,providers:[{provide:c.sZ2,useValue:R.appId}]}}static{this.\u0275fac=function(L){return new(L||me)(c.KVO(hn,12))}}static{this.\u0275mod=c.$C({type:me})}static{this.\u0275inj=c.G2t({providers:[...Kt,...Pn],imports:[I.MD,c.Hbi]})}}return me})(),sr=(()=>{class me{constructor(R){this._doc=R,this._dom=(0,I.QT)()}addTag(R,L=!1){return R?this._getOrCreateElement(R,L):null}addTags(R,L=!1){return R?R.reduce((de,Ge)=>(Ge&&de.push(this._getOrCreateElement(Ge,L)),de),[]):[]}getTag(R){return R&&this._doc.querySelector(`meta[${R}]`)||null}getTags(R){if(!R)return[];const L=this._doc.querySelectorAll(`meta[${R}]`);return L?[].slice.call(L):[]}updateTag(R,L){if(!R)return null;L=L||this._parseSelector(R);const de=this.getTag(L);return de?this._setMetaElementAttributes(R,de):this._getOrCreateElement(R,!0)}removeTag(R){this.removeTagElement(this.getTag(R))}removeTagElement(R){R&&this._dom.remove(R)}_getOrCreateElement(R,L=!1){if(!L){const ut=this._parseSelector(R),bt=this.getTags(ut).filter(Tt=>this._containsAttributes(R,Tt))[0];if(void 0!==bt)return bt}const de=this._dom.createElement("meta");return this._setMetaElementAttributes(R,de),this._doc.getElementsByTagName("head")[0].appendChild(de),de}_setMetaElementAttributes(R,L){return Object.keys(R).forEach(de=>L.setAttribute(this._getMetaKeyMap(de),R[de])),L}_parseSelector(R){const L=R.name?"name":"property";return`${L}="${R[L]}"`}_containsAttributes(R,L){return Object.keys(R).every(de=>L.getAttribute(this._getMetaKeyMap(de))===R[de])}_getMetaKeyMap(R){return ai[R]||R}static{this.\u0275fac=function(L){return new(L||me)(c.KVO(I.qQ))}}static{this.\u0275prov=c.jDH({token:me,factory:function(L){let de=null;return de=L?new L:function mn(){return new sr((0,c.KVO)(I.qQ))}(),de},providedIn:"root"})}}return me})();const ai={httpEquiv:"http-equiv"};let or=(()=>{class me{constructor(R){this._doc=R}getTitle(){return this._doc.title}setTitle(R){this._doc.title=R||""}static{this.\u0275fac=function(L){return new(L||me)(c.KVO(I.qQ))}}static{this.\u0275prov=c.jDH({token:me,factory:function(L){let de=null;return de=L?new L:function Er(){return new or((0,c.KVO)(I.qQ))}(),de},providedIn:"root"})}}return me})();typeof window<"u"&&window;const Gt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},nn=new c.nKC("HammerGestureConfig"),wt=new c.nKC("HammerLoader");let Ei=(()=>{class me{constructor(){this.events=[],this.overrides={}}buildHammer(R){const L=new Hammer(R,this.options);L.get("pinch").set({enable:!0}),L.get("rotate").set({enable:!0});for(const de in this.overrides)L.get(de).set(this.overrides[de]);return L}static{this.\u0275fac=function(L){return new(L||me)}}static{this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac})}}return me})(),wn=(()=>{class me extends W{constructor(R,L,de,Ge){super(R),this._config=L,this.console=de,this.loader=Ge,this._loaderPromise=null}supports(R){return!(!Gt.hasOwnProperty(R.toLowerCase())&&!this.isCustomEvent(R)||!window.Hammer&&!this.loader)}addEventListener(R,L,de){const Ge=this.manager.getZone();if(L=L.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Ge.runOutsideAngular(()=>this.loader());let ut=!1,bt=()=>{ut=!0};return Ge.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?ut||(bt=this.addEventListener(R,L,de)):bt=()=>{}}).catch(()=>{bt=()=>{}})),()=>{bt()}}return Ge.runOutsideAngular(()=>{const ut=this._config.buildHammer(R),bt=function(Tt){Ge.runGuarded(function(){de(Tt)})};return ut.on(L,bt),()=>{ut.off(L,bt),"function"==typeof ut.destroy&&ut.destroy()}})}isCustomEvent(R){return this._config.events.indexOf(R)>-1}static{this.\u0275fac=function(L){return new(L||me)(c.KVO(I.qQ),c.KVO(nn),c.KVO(c.H3F),c.KVO(wt,8))}}static{this.\u0275prov=c.jDH({token:me,factory:me.\u0275fac})}}return me})(),Pr=(()=>{class me{static{this.\u0275fac=function(L){return new(L||me)}}static{this.\u0275mod=c.$C({type:me})}static{this.\u0275inj=c.G2t({providers:[{provide:te,useClass:wn,multi:!0,deps:[I.qQ,nn,c.H3F,[new c.Xx1,wt]]},{provide:nn,useClass:Ei,deps:[]}]})}}return me})(),lt=(()=>{class me{static{this.\u0275fac=function(L){return new(L||me)}}static{this.\u0275prov=c.jDH({token:me,factory:function(L){let de=null;return de=L?new(L||me):c.KVO(lr),de},providedIn:"root"})}}return me})(),lr=(()=>{class me extends lt{constructor(R){super(),this._doc=R}sanitize(R,L){if(null==L)return null;switch(R){case c.WPN.NONE:return L;case c.WPN.HTML:return(0,c.ZF7)(L,"HTML")?(0,c.rcV)(L):(0,c.h9k)(this._doc,String(L)).toString();case c.WPN.STYLE:return(0,c.ZF7)(L,"Style")?(0,c.rcV)(L):L;case c.WPN.SCRIPT:if((0,c.ZF7)(L,"Script"))return(0,c.rcV)(L);throw new c.wOt(5200,!1);case c.WPN.URL:return(0,c.ZF7)(L,"URL")?(0,c.rcV)(L):(0,c.$MX)(String(L));case c.WPN.RESOURCE_URL:if((0,c.ZF7)(L,"ResourceURL"))return(0,c.rcV)(L);throw new c.wOt(5201,!1);default:throw new c.wOt(5202,!1)}}bypassSecurityTrustHtml(R){return(0,c.Kcf)(R)}bypassSecurityTrustStyle(R){return(0,c.cWb)(R)}bypassSecurityTrustScript(R){return(0,c.UyX)(R)}bypassSecurityTrustUrl(R){return(0,c.osQ)(R)}bypassSecurityTrustResourceUrl(R){return(0,c.e5t)(R)}static{this.\u0275fac=function(L){return new(L||me)(c.KVO(I.qQ))}}static{this.\u0275prov=c.jDH({token:me,factory:function(L){let de=null;return de=L?new L:function pr(me){return new lr(me.get(I.qQ))}(c.KVO(c.zZn)),de},providedIn:"root"})}}return me})();function Je(me){return function jr(me,ye=[],R={}){return{\u0275kind:me,\u0275providers:ye}}(1,(0,$.$m)(me))}function Dn(...me){const ye=[],R=new Set,L=R.has(1);for(const{\u0275providers:de,\u0275kind:Ge}of me)R.add(Ge),de.length&&ye.push(de);return(0,c.EmA)([[],(0,c.M8M)(),R.has(0)||L?[]:(0,$.$m)({}),ye])}},7148:(Ve,ue,E)=>{"use strict";E.d(ue,{nX:()=>li,wF:()=>Rn,Ix:()=>Rr,Wk:()=>bo,wQ:()=>Ia,iI:()=>Ou,n3:()=>hs,lh:()=>Wr,oH:()=>Iu});var c=E(2761),I=E(2551),$=E(4600),j=E(9452),K=E(5797),z=E(9999),re=E(3335),Z=E(3513),X=E(137),U=E(5682),ee=E(7919),te=E(9400),ce=E(3942),W=E(7092),x=E(819),k=E(1687);function le(){return(0,x.N)((d,y)=>{let f=null;d._refCount++;const v=(0,k._)(y,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(f=null);const w=d._connection,O=f;f=null,w&&(!O||w===O)&&w.unsubscribe(),y.unsubscribe()});d.subscribe(v),v.closed||(f=d.connect())})}class Ae extends ce.c{constructor(y,f){super(),this.source=y,this.subjectFactory=f,this._subject=null,this._refCount=0,this._connection=null,(0,x.S)(y)&&(this.lift=y.lift)}_subscribe(y){return this.getSubject().subscribe(y)}getSubject(){const y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:y}=this;this._subject=this._connection=null,y?.unsubscribe()}connect(){let y=this._connection;if(!y){y=this._connection=new W.yU;const f=this.getSubject();y.add(this.source.subscribe((0,k._)(f,void 0,()=>{this._teardown(),f.complete()},v=>{this._teardown(),f.error(v)},()=>this._teardown()))),y.closed&&(this._connection=null,y=W.yU.EMPTY)}return y}refCount(){return le()(this)}}var ge=E(4205),Me=E(316),ve=E(271),Se=E(6647),xe=E(4334),et=E(4083),we=E(1567),fe=E(1365),Le=E(2435),ft=E(1903),Nt=E(8764),gn=E(1318);var Ut=E(778);function oe(d){return d<=0?()=>te.w:(0,x.N)((y,f)=>{let v=[];y.subscribe((0,k._)(f,w=>{v.push(w),d<v.length&&v.shift()},()=>{for(const w of v)f.next(w);f.complete()},void 0,()=>{v=null}))})}var G=E(9365),ne=E(1440),Fe=E(9475),Be=E(2645),st=E(4318),Lt=E(3222),ot=E(436);const ze="primary",It=Symbol("RouteTitle");class ln{constructor(y){this.params=y||{}}has(y){return Object.prototype.hasOwnProperty.call(this.params,y)}get(y){if(this.has(y)){const f=this.params[y];return Array.isArray(f)?f[0]:f}return null}getAll(y){if(this.has(y)){const f=this.params[y];return Array.isArray(f)?f:[f]}return[]}get keys(){return Object.keys(this.params)}}function hn(d){return new ln(d)}function Pn(d,y,f){const v=f.path.split("/");if(v.length>d.length||"full"===f.pathMatch&&(y.hasChildren()||v.length<d.length))return null;const w={};for(let O=0;O<v.length;O++){const V=v[O],_e=d[O];if(V.startsWith(":"))w[V.substring(1)]=_e;else if(V!==_e.path)return null}return{consumed:d.slice(0,v.length),posParams:w}}function qt(d,y){const f=d?mn(d):void 0,v=y?mn(y):void 0;if(!f||!v||f.length!=v.length)return!1;let w;for(let O=0;O<f.length;O++)if(w=f[O],!sr(d[w],y[w]))return!1;return!0}function mn(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}function sr(d,y){if(Array.isArray(d)&&Array.isArray(y)){if(d.length!==y.length)return!1;const f=[...d].sort(),v=[...y].sort();return f.every((w,O)=>v[O]===w)}return d===y}function ai(d){return d.length>0?d[d.length-1]:null}function Er(d){return(0,I.A)(d)?d:(0,c.jNT)(d)?(0,$.H)(Promise.resolve(d)):(0,j.of)(d)}const or={exact:function Bt(d,y,f){if(!wt(d.segments,y.segments)||!hr(d.segments,y.segments,f)||d.numberOfChildren!==y.numberOfChildren)return!1;for(const v in y.children)if(!d.children[v]||!Bt(d.children[v],y.children[v],f))return!1;return!0},subset:Br},zn={exact:function zt(d,y){return qt(d,y)},subset:function ar(d,y){return Object.keys(y).length<=Object.keys(d).length&&Object.keys(y).every(f=>sr(d[f],y[f]))},ignored:()=>!0};function Nn(d,y,f){return or[f.paths](d.root,y.root,f.matrixParams)&&zn[f.queryParams](d.queryParams,y.queryParams)&&!("exact"===f.fragment&&d.fragment!==y.fragment)}function Br(d,y,f){return Yn(d,y,y.segments,f)}function Yn(d,y,f,v){if(d.segments.length>f.length){const w=d.segments.slice(0,f.length);return!(!wt(w,f)||y.hasChildren()||!hr(w,f,v))}if(d.segments.length===f.length){if(!wt(d.segments,f)||!hr(d.segments,f,v))return!1;for(const w in y.children)if(!d.children[w]||!Br(d.children[w],y.children[w],v))return!1;return!0}{const w=f.slice(0,d.segments.length),O=f.slice(d.segments.length);return!!(wt(d.segments,w)&&hr(d.segments,w,v)&&d.children[ze])&&Yn(d.children[ze],y,O,v)}}function hr(d,y,f){return y.every((v,w)=>zn[f](d[w].parameters,v.parameters))}class yn{constructor(y=new Ze([],{}),f={},v=null){this.root=y,this.queryParams=f,this.fragment=v}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=hn(this.queryParams)),this._queryParamMap}toString(){return lt.serialize(this)}}class Ze{constructor(y,f){this.segments=y,this.children=f,this.parent=null,Object.values(f).forEach(v=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pr(this)}}class Gt{constructor(y,f){this.path=y,this.parameters=f}get parameterMap(){return this._parameterMap||(this._parameterMap=hn(this.parameters)),this._parameterMap}toString(){return Xr(this)}}function wt(d,y){return d.length===y.length&&d.every((f,v)=>f.path===y[v].path)}let wn=(()=>{class d{static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:()=>new Pr,providedIn:"root"})}}return d})();class Pr{parse(y){const f=new Tn(y);return new yn(f.parseRootSegment(),f.parseQueryParams(),f.parseFragment())}serialize(y){const f=`/${lr(y.root,!0)}`,v=function me(d){const y=Object.keys(d).map(f=>{const v=d[f];return Array.isArray(v)?v.map(w=>`${ur(f)}=${ur(w)}`).join("&"):`${ur(f)}=${ur(v)}`}).filter(f=>!!f);return y.length?`?${y.join("&")}`:""}(y.queryParams);return`${f}${v}${"string"==typeof y.fragment?`#${function Je(d){return encodeURI(d)}(y.fragment)}`:""}`}}const lt=new Pr;function pr(d){return d.segments.map(y=>Xr(y)).join("/")}function lr(d,y){if(!d.hasChildren())return pr(d);if(y){const f=d.children[ze]?lr(d.children[ze],!1):"",v=[];return Object.entries(d.children).forEach(([w,O])=>{w!==ze&&v.push(`${w}:${lr(O,!1)}`)}),v.length>0?`${f}(${v.join("//")})`:f}{const f=function Ei(d,y){let f=[];return Object.entries(d.children).forEach(([v,w])=>{v===ze&&(f=f.concat(y(w,v)))}),Object.entries(d.children).forEach(([v,w])=>{v!==ze&&(f=f.concat(y(w,v)))}),f}(d,(v,w)=>w===ze?[lr(d.children[ze],!1)]:[`${w}:${lr(v,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[ze]?`${pr(d)}/${f[0]}`:`${pr(d)}/(${f.join("//")})`}}function jr(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ur(d){return jr(d).replace(/%3B/gi,";")}function qn(d){return jr(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dn(d){return decodeURIComponent(d)}function er(d){return Dn(d.replace(/\+/g,"%20"))}function Xr(d){return`${qn(d.path)}${function Pi(d){return Object.keys(d).map(y=>`;${qn(y)}=${qn(d[y])}`).join("")}(d.parameters)}`}const ye=/^[^\/()?;#]+/;function R(d){const y=d.match(ye);return y?y[0]:""}const L=/^[^\/()?;=#]+/,Ge=/^[^=?&#]+/,bt=/^[^&#]+/;class Tn{constructor(y){this.url=y,this.remaining=y}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ze([],{}):new Ze([],this.parseChildren())}parseQueryParams(){const y={};if(this.consumeOptional("?"))do{this.parseQueryParam(y)}while(this.consumeOptional("&"));return y}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const y=[];for(this.peekStartsWith("(")||y.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),y.push(this.parseSegment());let f={};this.peekStartsWith("/(")&&(this.capture("/"),f=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(y.length>0||Object.keys(f).length>0)&&(v[ze]=new Ze(y,f)),v}parseSegment(){const y=R(this.remaining);if(""===y&&this.peekStartsWith(";"))throw new c.wOt(4009,!1);return this.capture(y),new Gt(Dn(y),this.parseMatrixParams())}parseMatrixParams(){const y={};for(;this.consumeOptional(";");)this.parseParam(y);return y}parseParam(y){const f=function de(d){const y=d.match(L);return y?y[0]:""}(this.remaining);if(!f)return;this.capture(f);let v="";if(this.consumeOptional("=")){const w=R(this.remaining);w&&(v=w,this.capture(v))}y[Dn(f)]=Dn(v)}parseQueryParam(y){const f=function ut(d){const y=d.match(Ge);return y?y[0]:""}(this.remaining);if(!f)return;this.capture(f);let v="";if(this.consumeOptional("=")){const V=function Tt(d){const y=d.match(bt);return y?y[0]:""}(this.remaining);V&&(v=V,this.capture(v))}const w=er(f),O=er(v);if(y.hasOwnProperty(w)){let V=y[w];Array.isArray(V)||(V=[V],y[w]=V),V.push(O)}else y[w]=O}parseParens(y){const f={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const v=R(this.remaining),w=this.remaining[v.length];if("/"!==w&&")"!==w&&";"!==w)throw new c.wOt(4010,!1);let O;v.indexOf(":")>-1?(O=v.slice(0,v.indexOf(":")),this.capture(O),this.capture(":")):y&&(O=ze);const V=this.parseChildren();f[O]=1===Object.keys(V).length?V[ze]:new Ze([],V),this.consumeOptional("//")}return f}peekStartsWith(y){return this.remaining.startsWith(y)}consumeOptional(y){return!!this.peekStartsWith(y)&&(this.remaining=this.remaining.substring(y.length),!0)}capture(y){if(!this.consumeOptional(y))throw new c.wOt(4011,!1)}}function Vn(d){return d.segments.length>0?new Ze([],{[ze]:d}):d}function rn(d){const y={};for(const v of Object.keys(d.children)){const O=rn(d.children[v]);if(v===ze&&0===O.segments.length&&O.hasChildren())for(const[V,_e]of Object.entries(O.children))y[V]=_e;else(O.segments.length>0||O.hasChildren())&&(y[v]=O)}return function Yr(d){if(1===d.numberOfChildren&&d.children[ze]){const y=d.children[ze];return new Ze(d.segments.concat(y.segments),y.children)}return d}(new Ze(d.segments,y))}function Dr(d){return d instanceof yn}function Gn(d){let y;const w=Vn(function f(O){const V={};for(const De of O.children){const Qe=f(De);V[De.outlet]=Qe}const _e=new Ze(O.url,V);return O===d&&(y=_e),_e}(d.root));return y??w}function kn(d,y,f,v){let w=d;for(;w.parent;)w=w.parent;if(0===y.length)return gr(w,w,w,f,v);const O=function zi(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new Di(!0,0,d);let y=0,f=!1;const v=d.reduce((w,O,V)=>{if("object"==typeof O&&null!=O){if(O.outlets){const _e={};return Object.entries(O.outlets).forEach(([De,Qe])=>{_e[De]="string"==typeof Qe?Qe.split("/"):Qe}),[...w,{outlets:_e}]}if(O.segmentPath)return[...w,O.segmentPath]}return"string"!=typeof O?[...w,O]:0===V?(O.split("/").forEach((_e,De)=>{0==De&&"."===_e||(0==De&&""===_e?f=!0:".."===_e?y++:""!=_e&&w.push(_e))}),w):[...w,O]},[]);return new Di(f,y,v)}(y);if(O.toRoot())return gr(w,w,new Ze([],{}),f,v);const V=function ie(d,y,f){if(d.isAbsolute)return new Nr(y,!0,0);if(!f)return new Nr(y,!1,NaN);if(null===f.parent)return new Nr(f,!0,0);const v=Hn(d.commands[0])?0:1;return function F(d,y,f){let v=d,w=y,O=f;for(;O>w;){if(O-=w,v=v.parent,!v)throw new c.wOt(4005,!1);w=v.segments.length}return new Nr(v,!1,w-O)}(f,f.segments.length-1+v,d.numberOfDoubleDots)}(O,w,d),_e=V.processChildren?Ne(V.segmentGroup,V.index,O.commands):Te(V.segmentGroup,V.index,O.commands);return gr(w,V.segmentGroup,_e,f,v)}function Hn(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function Zn(d){return"object"==typeof d&&null!=d&&d.outlets}function gr(d,y,f,v,w){let V,O={};v&&Object.entries(v).forEach(([De,Qe])=>{O[De]=Array.isArray(Qe)?Qe.map(Ot=>`${Ot}`):`${Qe}`}),V=d===y?f:Zr(d,y,f);const _e=Vn(rn(V));return new yn(_e,O,w)}function Zr(d,y,f){const v={};return Object.entries(d.children).forEach(([w,O])=>{v[w]=O===y?f:Zr(O,y,f)}),new Ze(d.segments,v)}class Di{constructor(y,f,v){if(this.isAbsolute=y,this.numberOfDoubleDots=f,this.commands=v,y&&v.length>0&&Hn(v[0]))throw new c.wOt(4003,!1);const w=v.find(Zn);if(w&&w!==ai(v))throw new c.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Nr{constructor(y,f,v){this.segmentGroup=y,this.processChildren=f,this.index=v}}function Te(d,y,f){if(d||(d=new Ze([],{})),0===d.segments.length&&d.hasChildren())return Ne(d,y,f);const v=function je(d,y,f){let v=0,w=y;const O={match:!1,pathIndex:0,commandIndex:0};for(;w<d.segments.length;){if(v>=f.length)return O;const V=d.segments[w],_e=f[v];if(Zn(_e))break;const De=`${_e}`,Qe=v<f.length-1?f[v+1]:null;if(w>0&&void 0===De)break;if(De&&Qe&&"object"==typeof Qe&&void 0===Qe.outlets){if(!Qt(De,Qe,V))return O;v+=2}else{if(!Qt(De,{},V))return O;v++}w++}return{match:!0,pathIndex:w,commandIndex:v}}(d,y,f),w=f.slice(v.commandIndex);if(v.match&&v.pathIndex<d.segments.length){const O=new Ze(d.segments.slice(0,v.pathIndex),{});return O.children[ze]=new Ze(d.segments.slice(v.pathIndex),d.children),Ne(O,0,w)}return v.match&&0===w.length?new Ze(d.segments,{}):v.match&&!d.hasChildren()?Oe(d,y,f):v.match?Ne(d,0,w):Oe(d,y,f)}function Ne(d,y,f){if(0===f.length)return new Ze(d.segments,{});{const v=function Q(d){return Zn(d[0])?d[0].outlets:{[ze]:d}}(f),w={};if(Object.keys(v).some(O=>O!==ze)&&d.children[ze]&&1===d.numberOfChildren&&0===d.children[ze].segments.length){const O=Ne(d.children[ze],y,f);return new Ze(d.segments,O.children)}return Object.entries(v).forEach(([O,V])=>{"string"==typeof V&&(V=[V]),null!==V&&(w[O]=Te(d.children[O],y,V))}),Object.entries(d.children).forEach(([O,V])=>{void 0===v[O]&&(w[O]=V)}),new Ze(d.segments,w)}}function Oe(d,y,f){const v=d.segments.slice(0,y);let w=0;for(;w<f.length;){const O=f[w];if(Zn(O)){const De=ht(O.outlets);return new Ze(v,De)}if(0===w&&Hn(f[0])){v.push(new Gt(d.segments[y].path,rt(f[0]))),w++;continue}const V=Zn(O)?O.outlets[ze]:`${O}`,_e=w<f.length-1?f[w+1]:null;V&&_e&&Hn(_e)?(v.push(new Gt(V,rt(_e))),w+=2):(v.push(new Gt(V,{})),w++)}return new Ze(v,{})}function ht(d){const y={};return Object.entries(d).forEach(([f,v])=>{"string"==typeof v&&(v=[v]),null!==v&&(y[f]=Oe(new Ze([],{}),0,v))}),y}function rt(d){const y={};return Object.entries(d).forEach(([f,v])=>y[f]=`${v}`),y}function Qt(d,y,f){return d==f.path&&qt(y,f.parameters)}const Rt="imperative";class jt{constructor(y,f){this.id=y,this.url=f}}class pn extends jt{constructor(y,f,v="imperative",w=null){super(y,f),this.type=0,this.navigationTrigger=v,this.restoredState=w}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Rn extends jt{constructor(y,f,v){super(y,f),this.urlAfterRedirects=v,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class sn extends jt{constructor(y,f,v,w){super(y,f),this.reason=v,this.code=w,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Pt extends jt{constructor(y,f,v,w){super(y,f),this.reason=v,this.code=w,this.type=16}}class xt extends jt{constructor(y,f,v,w){super(y,f),this.error=v,this.target=w,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Sn extends jt{constructor(y,f,v,w){super(y,f),this.urlAfterRedirects=v,this.state=w,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class At extends jt{constructor(y,f,v,w){super(y,f),this.urlAfterRedirects=v,this.state=w,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _n extends jt{constructor(y,f,v,w,O){super(y,f),this.urlAfterRedirects=v,this.state=w,this.shouldActivate=O,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class tr extends jt{constructor(y,f,v,w){super(y,f),this.urlAfterRedirects=v,this.state=w,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Cn extends jt{constructor(y,f,v,w){super(y,f),this.urlAfterRedirects=v,this.state=w,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _r{constructor(y){this.route=y,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class _i{constructor(y){this.route=y,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class A{constructor(y){this.snapshot=y,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class N{constructor(y){this.snapshot=y,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class q{constructor(y){this.snapshot=y,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(y){this.snapshot=y,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ue{constructor(y,f,v){this.routerEvent=y,this.position=f,this.anchor=v,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class tt{}class St{constructor(y){this.url=y}}class Qn{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new un,this.attachRef=null}}let un=(()=>{class d{constructor(){this.contexts=new Map}onChildOutletCreated(f,v){const w=this.getOrCreateContext(f);w.outlet=v,this.contexts.set(f,w)}onChildOutletDestroyed(f){const v=this.getContext(f);v&&(v.outlet=null,v.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let v=this.getContext(f);return v||(v=new Qn,this.contexts.set(f,v)),v}getContext(f){return this.contexts.get(f)||null}static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();class Cr{constructor(y){this._root=y}get root(){return this._root.value}parent(y){const f=this.pathFromRoot(y);return f.length>1?f[f.length-2]:null}children(y){const f=xs(y,this._root);return f?f.children.map(v=>v.value):[]}firstChild(y){const f=xs(y,this._root);return f&&f.children.length>0?f.children[0].value:null}siblings(y){const f=cs(y,this._root);return f.length<2?[]:f[f.length-2].children.map(w=>w.value).filter(w=>w!==y)}pathFromRoot(y){return cs(y,this._root).map(f=>f.value)}}function xs(d,y){if(d===y.value)return y;for(const f of y.children){const v=xs(d,f);if(v)return v}return null}function cs(d,y){if(d===y.value)return[y];for(const f of y.children){const v=cs(d,f);if(v.length)return v.unshift(y),v}return[]}class Jr{constructor(y,f){this.value=y,this.children=f}toString(){return`TreeNode(${this.value})`}}function ds(d){const y={};return d&&d.children.forEach(f=>y[f.value.outlet]=f),y}class Gi extends Cr{constructor(y,f){super(y),this.snapshot=f,$r(this,y)}toString(){return this.snapshot.toString()}}function Ls(d,y){const f=function Fs(d,y){const V=new Qi([],{},{},"",{},ze,y,null,{});return new Xi("",new Jr(V,[]))}(0,y),v=new K.t([new Gt("",{})]),w=new K.t({}),O=new K.t({}),V=new K.t({}),_e=new K.t(""),De=new li(v,w,V,_e,O,ze,y,f.root);return De.snapshot=f.root,new Gi(new Jr(De,[]),f)}class li{constructor(y,f,v,w,O,V,_e,De){this.urlSubject=y,this.paramsSubject=f,this.queryParamsSubject=v,this.fragmentSubject=w,this.dataSubject=O,this.outlet=V,this.component=_e,this._futureSnapshot=De,this.title=this.dataSubject?.pipe((0,ve.T)(Qe=>Qe[It]))??(0,j.of)(void 0),this.url=y,this.params=f,this.queryParams=v,this.fragment=w,this.data=O}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,ve.T)(y=>hn(y)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ve.T)(y=>hn(y)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function qs(d,y,f="emptyOnly"){let v;const{routeConfig:w}=d;return v=null===y||"always"!==f&&""!==w?.path&&(y.component||y.routeConfig?.loadComponent)?{params:d.params,data:d.data,resolve:{...d.data,...d._resolvedData??{}}}:{params:{...y.params,...d.params},data:{...y.data,...d.data},resolve:{...d.data,...y.data,...w?.data,...d._resolvedData}},w&&Wn(w)&&(v.resolve[It]=w.title),v}class Qi{get title(){return this.data?.[It]}constructor(y,f,v,w,O,V,_e,De,Qe){this.url=y,this.params=f,this.queryParams=v,this.fragment=w,this.data=O,this.outlet=V,this.component=_e,this.routeConfig=De,this._resolve=Qe}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=hn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=hn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(v=>v.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Xi extends Cr{constructor(y,f){super(f),this.url=y,$r(this,f)}toString(){return yo(this._root)}}function $r(d,y){y.value._routerState=d,y.children.forEach(f=>$r(d,f))}function yo(d){const y=d.children.length>0?` { ${d.children.map(yo).join(", ")} } `:"";return`${d.value}${y}`}function Vr(d){if(d.snapshot){const y=d.snapshot,f=d._futureSnapshot;d.snapshot=f,qt(y.queryParams,f.queryParams)||d.queryParamsSubject.next(f.queryParams),y.fragment!==f.fragment&&d.fragmentSubject.next(f.fragment),qt(y.params,f.params)||d.paramsSubject.next(f.params),function Kt(d,y){if(d.length!==y.length)return!1;for(let f=0;f<d.length;++f)if(!qt(d[f],y[f]))return!1;return!0}(y.url,f.url)||d.urlSubject.next(f.url),qt(y.data,f.data)||d.dataSubject.next(f.data)}else d.snapshot=d._futureSnapshot,d.dataSubject.next(d._futureSnapshot.data)}function fs(d,y){const f=qt(d.params,y.params)&&function nn(d,y){return wt(d,y)&&d.every((f,v)=>qt(f.parameters,y[v].parameters))}(d.url,y.url);return f&&!(!d.parent!=!y.parent)&&(!d.parent||fs(d.parent,y.parent))}function Wn(d){return"string"==typeof d.title||null===d.title}let hs=(()=>{class d{constructor(){this.activated=null,this._activatedRoute=null,this.name=ze,this.activateEvents=new c.bkB,this.deactivateEvents=new c.bkB,this.attachEvents=new c.bkB,this.detachEvents=new c.bkB,this.parentContexts=(0,c.WQX)(un),this.location=(0,c.WQX)(c.c1b),this.changeDetector=(0,c.WQX)(c.gRc),this.environmentInjector=(0,c.WQX)(c.uvJ),this.inputBinder=(0,c.WQX)(Yi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(f){if(f.name){const{firstChange:v,previousValue:w}=f.name;if(v)return;this.isTrackedInParentContexts(w)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(w)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(f){return this.parentContexts.getContext(f)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const f=this.parentContexts.getContext(this.name);f?.route&&(f.attachRef?this.attach(f.attachRef,f.route):this.activateWith(f.route,f.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new c.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new c.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new c.wOt(4012,!1);this.location.detach();const f=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(f.instance),f}attach(f,v){this.activated=f,this._activatedRoute=v,this.location.insert(f.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(f.instance)}deactivate(){if(this.activated){const f=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(f)}}activateWith(f,v){if(this.isActivated)throw new c.wOt(4013,!1);this._activatedRoute=f;const w=this.location,V=f.snapshot.component,_e=this.parentContexts.getOrCreateContext(this.name).children,De=new en(f,_e,w.injector);this.activated=w.createComponent(V,{index:w.length,injector:De,environmentInjector:v??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275dir=c.FsC({type:d,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[c.OA$]})}}return d})();class en{constructor(y,f,v){this.route=y,this.childContexts=f,this.parent=v}get(y,f){return y===li?this.route:y===un?this.childContexts:this.parent.get(y,f)}}const Yi=new c.nKC("");let ps=(()=>{class d{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(f){this.unsubscribeFromRouteData(f),this.subscribeToRouteData(f)}unsubscribeFromRouteData(f){this.outletDataSubscriptions.get(f)?.unsubscribe(),this.outletDataSubscriptions.delete(f)}subscribeToRouteData(f){const{activatedRoute:v}=f,w=(0,z.z)([v.queryParams,v.params,v.data]).pipe((0,Se.n)(([O,V,_e],De)=>(_e={...O,...V,..._e},0===De?(0,j.of)(_e):Promise.resolve(_e)))).subscribe(O=>{if(!f.isActivated||!f.activatedComponentRef||f.activatedRoute!==v||null===v.component)return void this.unsubscribeFromRouteData(f);const V=(0,c.HJs)(v.component);if(V)for(const{templateName:_e}of V.inputs)f.activatedComponentRef.setInput(_e,O[_e]);else this.unsubscribeFromRouteData(f)});this.outletDataSubscriptions.set(f,w)}static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac})}}return d})();function ms(d,y,f){if(f&&d.shouldReuseRoute(y.value,f.value.snapshot)){const v=f.value;v._futureSnapshot=y.value;const w=function Ko(d,y,f){return y.children.map(v=>{for(const w of f.children)if(d.shouldReuseRoute(v.value,w.value.snapshot))return ms(d,v,w);return ms(d,v)})}(d,y,f);return new Jr(v,w)}{if(d.shouldAttach(y.value)){const O=d.retrieve(y.value);if(null!==O){const V=O.route;return V.value._futureSnapshot=y.value,V.children=y.children.map(_e=>ms(d,_e)),V}}const v=function zo(d){return new li(new K.t(d.url),new K.t(d.params),new K.t(d.queryParams),new K.t(d.fragment),new K.t(d.data),d.outlet,d.component,d)}(y.value),w=y.children.map(O=>ms(d,O));return new Jr(v,w)}}const zr="ngNavigationCancelingError";function ys(d,y){const{redirectTo:f,navigationBehaviorOptions:v}=Dr(y)?{redirectTo:y,navigationBehaviorOptions:void 0}:y,w=Ci(!1,0,y);return w.url=f,w.navigationBehaviorOptions=v,w}function Ci(d,y,f){const v=new Error("NavigationCancelingError: "+(d||""));return v[zr]=!0,v.cancellationCode=y,f&&(v.url=f),v}function Xt(d){return d&&d[zr]}let eo=(()=>{class d{static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275cmp=c.VBU({type:d,selectors:[["ng-component"]],standalone:!0,features:[c.aNF],decls:1,vars:0,template:function(v,w){1&v&&c.nrm(0,"router-outlet")},dependencies:[hs],encapsulation:2})}}return d})();function qr(d){const y=d.children&&d.children.map(qr),f=y?{...d,children:y}:{...d};return!f.component&&!f.loadComponent&&(y||f.loadChildren)&&f.outlet&&f.outlet!==ze&&(f.component=eo),f}function xn(d){return d.outlet||ze}function Zi(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let y=d.parent;y;y=y.parent){const f=y.routeConfig;if(f?._loadedInjector)return f._loadedInjector;if(f?._injector)return f._injector}return null}class Ta{constructor(y,f,v,w,O){this.routeReuseStrategy=y,this.futureState=f,this.currState=v,this.forwardEvent=w,this.inputBindingEnabled=O}activate(y){const f=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(f,v,y),Vr(this.futureState.root),this.activateChildRoutes(f,v,y)}deactivateChildRoutes(y,f,v){const w=ds(f);y.children.forEach(O=>{const V=O.value.outlet;this.deactivateRoutes(O,w[V],v),delete w[V]}),Object.values(w).forEach(O=>{this.deactivateRouteAndItsChildren(O,v)})}deactivateRoutes(y,f,v){const w=y.value,O=f?f.value:null;if(w===O)if(w.component){const V=v.getContext(w.outlet);V&&this.deactivateChildRoutes(y,f,V.children)}else this.deactivateChildRoutes(y,f,v);else O&&this.deactivateRouteAndItsChildren(f,v)}deactivateRouteAndItsChildren(y,f){y.value.component&&this.routeReuseStrategy.shouldDetach(y.value.snapshot)?this.detachAndStoreRouteSubtree(y,f):this.deactivateRouteAndOutlet(y,f)}detachAndStoreRouteSubtree(y,f){const v=f.getContext(y.value.outlet),w=v&&y.value.component?v.children:f,O=ds(y);for(const V of Object.keys(O))this.deactivateRouteAndItsChildren(O[V],w);if(v&&v.outlet){const V=v.outlet.detach(),_e=v.children.onOutletDeactivated();this.routeReuseStrategy.store(y.value.snapshot,{componentRef:V,route:y,contexts:_e})}}deactivateRouteAndOutlet(y,f){const v=f.getContext(y.value.outlet),w=v&&y.value.component?v.children:f,O=ds(y);for(const V of Object.keys(O))this.deactivateRouteAndItsChildren(O[V],w);v&&(v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated()),v.attachRef=null,v.route=null)}activateChildRoutes(y,f,v){const w=ds(f);y.children.forEach(O=>{this.activateRoutes(O,w[O.value.outlet],v),this.forwardEvent(new ae(O.value.snapshot))}),y.children.length&&this.forwardEvent(new N(y.value.snapshot))}activateRoutes(y,f,v){const w=y.value,O=f?f.value:null;if(Vr(w),w===O)if(w.component){const V=v.getOrCreateContext(w.outlet);this.activateChildRoutes(y,f,V.children)}else this.activateChildRoutes(y,f,v);else if(w.component){const V=v.getOrCreateContext(w.outlet);if(this.routeReuseStrategy.shouldAttach(w.snapshot)){const _e=this.routeReuseStrategy.retrieve(w.snapshot);this.routeReuseStrategy.store(w.snapshot,null),V.children.onOutletReAttached(_e.contexts),V.attachRef=_e.componentRef,V.route=_e.route.value,V.outlet&&V.outlet.attach(_e.componentRef,_e.route.value),Vr(_e.route.value),this.activateChildRoutes(y,null,V.children)}else{const _e=Zi(w.snapshot);V.attachRef=null,V.route=w,V.injector=_e,V.outlet&&V.outlet.activateWith(w,V.injector),this.activateChildRoutes(y,null,V.children)}}else this.activateChildRoutes(y,null,v)}}class Es{constructor(y){this.path=y,this.route=this.path[this.path.length-1]}}class Ds{constructor(y,f){this.component=y,this.route=f}}function Do(d,y,f){const v=d._root;return nr(v,y?y._root:null,f,[v.value])}function Ji(d,y){const f=Symbol(),v=y.get(d,f);return v===f?"function"!=typeof d||(0,c.LfX)(d)?y.get(d):d:v}function nr(d,y,f,v,w={canDeactivateChecks:[],canActivateChecks:[]}){const O=ds(y);return d.children.forEach(V=>{(function qi(d,y,f,v,w={canDeactivateChecks:[],canActivateChecks:[]}){const O=d.value,V=y?y.value:null,_e=f?f.getContext(d.value.outlet):null;if(V&&O.routeConfig===V.routeConfig){const De=function Xo(d,y,f){if("function"==typeof f)return f(d,y);switch(f){case"pathParamsChange":return!wt(d.url,y.url);case"pathParamsOrQueryParamsChange":return!wt(d.url,y.url)||!qt(d.queryParams,y.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fs(d,y)||!qt(d.queryParams,y.queryParams);default:return!fs(d,y)}}(V,O,O.routeConfig.runGuardsAndResolvers);De?w.canActivateChecks.push(new Es(v)):(O.data=V.data,O._resolvedData=V._resolvedData),nr(d,y,O.component?_e?_e.children:null:f,v,w),De&&_e&&_e.outlet&&_e.outlet.isActivated&&w.canDeactivateChecks.push(new Ds(_e.outlet.component,V))}else V&&es(y,_e,w),w.canActivateChecks.push(new Es(v)),nr(d,null,O.component?_e?_e.children:null:f,v,w)})(V,O[V.value.outlet],f,v.concat([V.value]),w),delete O[V.value.outlet]}),Object.entries(O).forEach(([V,_e])=>es(_e,f.getContext(V),w)),w}function es(d,y,f){const v=ds(d),w=d.value;Object.entries(v).forEach(([O,V])=>{es(V,w.component?y?y.children.getContext(O):null:y,f)}),f.canDeactivateChecks.push(new Ds(w.component&&y&&y.outlet&&y.outlet.isActivated?y.outlet.component:null,w))}function ts(d){return"function"==typeof d}function so(d){return d instanceof re.G||"EmptyError"===d?.name}const _s=Symbol("INITIAL_VALUE");function ks(){return(0,Se.n)(d=>(0,z.z)(d.map(y=>y.pipe((0,xe.s)(1),function We(...d){const y=(0,et.lI)(d);return(0,x.N)((f,v)=>{(y?(0,Z.x)(d,f,y):(0,Z.x)(d,f)).subscribe(v)})}(_s)))).pipe((0,ve.T)(y=>{for(const f of y)if(!0!==f){if(f===_s)return _s;if(!1===f||f instanceof yn)return f}return!0}),(0,we.p)(y=>y!==_s),(0,xe.s)(1)))}function on(d){return(0,U.F)((0,Nt.M)(y=>{if(Dr(y))throw ys(0,y)}),(0,ve.T)(y=>!0===y))}class Ni{constructor(y){this.segmentGroup=y||null}}class yt extends Error{constructor(y){super(),this.urlTree=y}}function ni(d){return(0,ee.$)(new Ni(d))}class Gr{constructor(y,f){this.urlSerializer=y,this.urlTree=f}noMatchError(y){return new c.wOt(4002,!1)}lineralizeSegments(y,f){let v=[],w=f.root;for(;;){if(v=v.concat(w.segments),0===w.numberOfChildren)return(0,j.of)(v);if(w.numberOfChildren>1||!w.children[ze])return(0,ee.$)(new c.wOt(4e3,!1));w=w.children[ze]}}applyRedirectCommands(y,f,v){const w=this.applyRedirectCreateUrlTree(f,this.urlSerializer.parse(f),y,v);if(f.startsWith("/"))throw new yt(w);return w}applyRedirectCreateUrlTree(y,f,v,w){const O=this.createSegmentGroup(y,f.root,v,w);return new yn(O,this.createQueryParams(f.queryParams,this.urlTree.queryParams),f.fragment)}createQueryParams(y,f){const v={};return Object.entries(y).forEach(([w,O])=>{if("string"==typeof O&&O.startsWith(":")){const _e=O.substring(1);v[w]=f[_e]}else v[w]=O}),v}createSegmentGroup(y,f,v,w){const O=this.createSegments(y,f.segments,v,w);let V={};return Object.entries(f.children).forEach(([_e,De])=>{V[_e]=this.createSegmentGroup(y,De,v,w)}),new Ze(O,V)}createSegments(y,f,v,w){return f.map(O=>O.path.startsWith(":")?this.findPosParam(y,O,w):this.findOrReturn(O,v))}findPosParam(y,f,v){const w=v[f.path.substring(1)];if(!w)throw new c.wOt(4001,!1);return w}findOrReturn(y,f){let v=0;for(const w of f){if(w.path===y.path)return f.splice(v),w;v++}return y}}const Ri={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ci(d,y,f,v,w){const O=wi(d,y,f);return O.matched?(v=function vs(d,y){return d.providers&&!d._injector&&(d._injector=(0,c.Ol2)(d.providers,y,`Route: ${d.path}`)),d._injector??y}(y,v),function Kn(d,y,f,v){const w=y.canMatch;if(!w||0===w.length)return(0,j.of)(!0);const O=w.map(V=>{const _e=Ji(V,d);return Er(function tn(d){return d&&ts(d.canMatch)}(_e)?_e.canMatch(y,f):d.runInContext(()=>_e(y,f)))});return(0,j.of)(O).pipe(ks(),on())}(v,y,f).pipe((0,ve.T)(V=>!0===V?O:{...Ri}))):(0,j.of)(O)}function wi(d,y,f){if(""===y.path)return"full"===y.pathMatch&&(d.hasChildren()||f.length>0)?{...Ri}:{matched:!0,consumedSegments:[],remainingSegments:f,parameters:{},positionalParamSegments:{}};const w=(y.matcher||Pn)(f,d,y);if(!w)return{...Ri};const O={};Object.entries(w.posParams??{}).forEach(([_e,De])=>{O[_e]=De.path});const V=w.consumed.length>0?{...O,...w.consumed[w.consumed.length-1].parameters}:O;return{matched:!0,consumedSegments:w.consumed,remainingSegments:f.slice(w.consumed.length),parameters:V,positionalParamSegments:w.posParams??{}}}function ao(d,y,f,v){return f.length>0&&function xi(d,y,f){return f.some(v=>rs(d,y,v)&&xn(v)!==ze)}(d,f,v)?{segmentGroup:new Ze(y,lo(v,new Ze(f,d.children))),slicedSegments:[]}:0===f.length&&function Et(d,y,f){return f.some(v=>rs(d,y,v))}(d,f,v)?{segmentGroup:new Ze(d.segments,Ti(d,0,f,v,d.children)),slicedSegments:f}:{segmentGroup:new Ze(d.segments,d.children),slicedSegments:f}}function Ti(d,y,f,v,w){const O={};for(const V of v)if(rs(d,f,V)&&!w[xn(V)]){const _e=new Ze([],{});O[xn(V)]=_e}return{...w,...O}}function lo(d,y){const f={};f[ze]=y;for(const v of d)if(""===v.path&&xn(v)!==ze){const w=new Ze([],{});f[xn(v)]=w}return f}function rs(d,y,f){return(!(d.hasChildren()||y.length>0)||"full"!==f.pathMatch)&&""===f.path}class uo{}class Ts{constructor(y,f,v,w,O,V,_e){this.injector=y,this.configLoader=f,this.rootComponentType=v,this.config=w,this.urlTree=O,this.paramsInheritanceStrategy=V,this.urlSerializer=_e,this.applyRedirects=new Gr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(y){return new c.wOt(4002,!1)}recognize(){const y=ao(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(y).pipe((0,ve.T)(f=>{const v=new Qi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ze,this.rootComponentType,null,{}),w=new Jr(v,f),O=new Xi("",w),V=function Ki(d,y,f=null,v=null){return kn(Gn(d),y,f,v)}(v,[],this.urlTree.queryParams,this.urlTree.fragment);return V.queryParams=this.urlTree.queryParams,O.url=this.urlSerializer.serialize(V),this.inheritParamsAndData(O._root,null),{state:O,tree:V}}))}match(y){return this.processSegmentGroup(this.injector,this.config,y,ze).pipe((0,gn.W)(v=>{if(v instanceof yt)return this.urlTree=v.urlTree,this.match(v.urlTree.root);throw v instanceof Ni?this.noMatchError(v):v}))}inheritParamsAndData(y,f){const v=y.value,w=qs(v,f,this.paramsInheritanceStrategy);v.params=Object.freeze(w.params),v.data=Object.freeze(w.data),y.children.forEach(O=>this.inheritParamsAndData(O,v))}processSegmentGroup(y,f,v,w){return 0===v.segments.length&&v.hasChildren()?this.processChildren(y,f,v):this.processSegment(y,f,v,v.segments,w,!0).pipe((0,ve.T)(O=>O instanceof Jr?[O]:[]))}processChildren(y,f,v){const w=[];for(const O of Object.keys(v.children))"primary"===O?w.unshift(O):w.push(O);return(0,$.H)(w).pipe((0,ft.H)(O=>{const V=v.children[O],_e=function Ca(d,y){const f=d.filter(v=>xn(v)===y);return f.push(...d.filter(v=>xn(v)!==y)),f}(f,O);return this.processSegmentGroup(y,_e,V,O)}),function He(d,y){return(0,x.N)(function On(d,y,f,v,w){return(O,V)=>{let _e=f,De=y,Qe=0;O.subscribe((0,k._)(V,Ot=>{const Ft=Qe++;De=_e?d(De,Ot,Ft):(_e=!0,Ot),v&&V.next(De)},w&&(()=>{_e&&V.next(De),V.complete()})))}}(d,y,arguments.length>=2,!0))}((O,V)=>(O.push(...V),O)),(0,Ut.U)(null),function he(d,y){const f=arguments.length>=2;return v=>v.pipe(d?(0,we.p)((w,O)=>d(w,O,v)):ne.D,oe(1),f?(0,Ut.U)(y):(0,G.v)(()=>new re.G))}(),(0,fe.Z)(O=>{if(null===O)return ni(v);const V=Li(O);return function dr(d){d.sort((y,f)=>y.value.outlet===ze?-1:f.value.outlet===ze?1:y.value.outlet.localeCompare(f.value.outlet))}(V),(0,j.of)(V)}))}processSegment(y,f,v,w,O,V){return(0,$.H)(f).pipe((0,ft.H)(_e=>this.processSegmentAgainstRoute(_e._injector??y,f,_e,v,w,O,V).pipe((0,gn.W)(De=>{if(De instanceof Ni)return(0,j.of)(null);throw De}))),(0,Le.$)(_e=>!!_e),(0,gn.W)(_e=>{if(so(_e))return function ri(d,y,f){return 0===y.length&&!d.children[f]}(v,w,O)?(0,j.of)(new uo):ni(v);throw _e}))}processSegmentAgainstRoute(y,f,v,w,O,V,_e){return function Cs(d,y,f,v){return!!(xn(d)===v||v!==ze&&rs(y,f,d))&&("**"===d.path||wi(y,d,f).matched)}(v,w,O,V)?void 0===v.redirectTo?this.matchSegmentAgainstRoute(y,w,v,O,V):this.allowRedirects&&_e?this.expandSegmentAgainstRouteUsingRedirect(y,w,f,v,O,V):ni(w):ni(w)}expandSegmentAgainstRouteUsingRedirect(y,f,v,w,O,V){const{matched:_e,consumedSegments:De,positionalParamSegments:Qe,remainingSegments:Ot}="**"===w.path?Fi(O):wi(f,w,O);if(!_e)return ni(f);w.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ft=this.applyRedirects.applyRedirectCommands(De,w.redirectTo,Qe);return this.applyRedirects.lineralizeSegments(w,Ft).pipe((0,fe.Z)(Xn=>this.processSegment(y,v,f,Xn.concat(Ot),V,!1)))}matchSegmentAgainstRoute(y,f,v,w,O){let V;return"**"===v.path?(V=(0,j.of)(Fi(w)),f.children={}):V=ci(f,v,w,y),V.pipe((0,Se.n)(_e=>_e.matched?this.getChildConfig(y=v._injector??y,v,w).pipe((0,Se.n)(({routes:De})=>{const Qe=v._loadedInjector??y,{consumedSegments:Ot,remainingSegments:Ft,parameters:Xn}=_e,Ws=new Qi(Ot,Xn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function To(d){return d.data||{}}(v),xn(v),v.component??v._loadedComponent??null,v,function ii(d){return d.resolve||{}}(v)),{segmentGroup:Oo,slicedSegments:fo}=ao(f,Ot,Ft,De);if(0===fo.length&&Oo.hasChildren())return this.processChildren(Qe,De,Oo).pipe((0,ve.T)(Os=>null===Os?null:new Jr(Ws,Os)));if(0===De.length&&0===fo.length)return(0,j.of)(new Jr(Ws,[]));const Po=xn(v)===O;return this.processSegment(Qe,De,Oo,fo,Po?ze:O,!0).pipe((0,ve.T)(Os=>new Jr(Ws,Os instanceof Jr?[Os]:[])))})):ni(f)))}getChildConfig(y,f,v){return f.children?(0,j.of)({routes:f.children,injector:y}):f.loadChildren?void 0!==f._loadedRoutes?(0,j.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):function ns(d,y,f,v){const w=y.canLoad;if(void 0===w||0===w.length)return(0,j.of)(!0);const O=w.map(V=>{const _e=Ji(V,d);return Er(function io(d){return d&&ts(d.canLoad)}(_e)?_e.canLoad(y,f):d.runInContext(()=>_e(y,f)))});return(0,j.of)(O).pipe(ks(),on())}(y,f,v).pipe((0,fe.Z)(w=>w?this.configLoader.loadChildren(y,f).pipe((0,Nt.M)(O=>{f._loadedRoutes=O.routes,f._loadedInjector=O.injector})):function Bn(d){return(0,ee.$)(Ci(!1,3))}())):(0,j.of)({routes:[],injector:y})}}function ir(d){const y=d.value.routeConfig;return y&&""===y.path}function Li(d){const y=[],f=new Set;for(const v of d){if(!ir(v)){y.push(v);continue}const w=y.find(O=>v.value.routeConfig===O.value.routeConfig);void 0!==w?(w.children.push(...v.children),f.add(w)):y.push(v)}for(const v of f){const w=Li(v.children);y.push(new Jr(v.value,w))}return y.filter(v=>!f.has(v))}function Fi(d){return{matched:!0,parameters:d.length>0?ai(d).parameters:{},consumedSegments:d,remainingSegments:[],positionalParamSegments:{}}}function p(d,y){return(0,fe.Z)(f=>{const{targetSnapshot:v,guards:{canActivateChecks:w}}=f;if(!w.length)return(0,j.of)(f);const O=w.map(Qe=>Qe.route),V=new Set(O),_e=M(O[0].parent).slice(1);let De=0;return(0,$.H)(_e).pipe((0,ft.H)(Qe=>V.has(Qe)?function D(d,y,f,v){const w=d.routeConfig,O=d._resolve;return void 0!==w?.title&&!Wn(w)&&(O[It]=w.title),function T(d,y,f,v){const w=mn(d);if(0===w.length)return(0,j.of)({});const O={};return(0,$.H)(w).pipe((0,fe.Z)(V=>function H(d,y,f,v){const w=Zi(y)??v,O=Ji(d,w);return Er(O.resolve?O.resolve(y,f):w.runInContext(()=>O(y,f)))}(d[V],y,f,v).pipe((0,Le.$)(),(0,Nt.M)(_e=>{O[V]=_e}))),oe(1),function Ee(d){return(0,ve.T)(()=>d)}(O),(0,gn.W)(V=>so(V)?te.w:(0,ee.$)(V)))}(O,d,y,v).pipe((0,ve.T)(V=>(d._resolvedData=V,d.data=qs(d,d.parent,f).resolve,null)))}(Qe,v,d,y):(Qe.data=qs(Qe,Qe.parent,d).resolve,(0,j.of)(void 0))),(0,Nt.M)(()=>De++),oe(1),(0,fe.Z)(Qe=>De===_e.length?(0,j.of)(f):te.w))})}function M(d){const y=d.children.map(f=>M(f)).flat();return[d,...y]}function Ce(d){return(0,Se.n)(y=>{const f=d(y);return f?(0,$.H)(f).pipe((0,ve.T)(()=>y)):(0,j.of)(y)})}let Re=(()=>{class d{buildTitle(f){let v,w=f.root;for(;void 0!==w;)v=this.getResolvedTitleForRoute(w)??v,w=w.children.find(O=>O.outlet===ze);return v}getResolvedTitleForRoute(f){return f.data[It]}static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:()=>(0,c.WQX)(it),providedIn:"root"})}}return d})(),it=(()=>{class d extends Re{constructor(f){super(),this.title=f}updateTitle(f){const v=this.buildTitle(f);void 0!==v&&this.title.setTitle(v)}static{this.\u0275fac=function(v){return new(v||d)(c.KVO(ot.hE))}}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();const an=new c.nKC("",{providedIn:"root",factory:()=>({})}),Yt=new c.nKC("ROUTES");let fn=(()=>{class d{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,c.WQX)(c.Ql9)}loadComponent(f){if(this.componentLoaders.get(f))return this.componentLoaders.get(f);if(f._loadedComponent)return(0,j.of)(f._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(f);const v=Er(f.loadComponent()).pipe((0,ve.T)(Vt),(0,Nt.M)(O=>{this.onLoadEndListener&&this.onLoadEndListener(f),f._loadedComponent=O}),(0,Fe.j)(()=>{this.componentLoaders.delete(f)})),w=new Ae(v,()=>new ge.B).pipe(le());return this.componentLoaders.set(f,w),w}loadChildren(f,v){if(this.childrenLoaders.get(v))return this.childrenLoaders.get(v);if(v._loadedRoutes)return(0,j.of)({routes:v._loadedRoutes,injector:v._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(v);const O=function $t(d,y,f,v){return Er(d.loadChildren()).pipe((0,ve.T)(Vt),(0,fe.Z)(w=>w instanceof c.Co$||Array.isArray(w)?(0,j.of)(w):(0,$.H)(y.compileModuleAsync(w))),(0,ve.T)(w=>{v&&v(d);let O,V,_e=!1;return Array.isArray(w)?(V=w,!0):(O=w.create(f).injector,V=O.get(Yt,[],{optional:!0,self:!0}).flat()),{routes:V.map(qr),injector:O}}))}(v,this.compiler,f,this.onLoadEndListener).pipe((0,Fe.j)(()=>{this.childrenLoaders.delete(v)})),V=new Ae(O,()=>new ge.B).pipe(le());return this.childrenLoaders.set(v,V),V}static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();function Vt(d){return function jn(d){return d&&"object"==typeof d&&"default"in d}(d)?d.default:d}let vn=(()=>{class d{static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:()=>(0,c.WQX)(Si),providedIn:"root"})}}return d})(),Si=(()=>{class d{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,v){return f}static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();const di=new c.nKC(""),ki=new c.nKC("");function Mi(d,y,f){const v=d.get(ki),w=d.get(Me.qQ);return d.get(c.SKi).runOutsideAngular(()=>{if(!w.startViewTransition||v.skipNextTransition)return v.skipNextTransition=!1,Promise.resolve();let O;const V=new Promise(Qe=>{O=Qe}),_e=w.startViewTransition(()=>(O(),function is(d){return new Promise(y=>{(0,c.mal)(y,{injector:d})})}(d))),{onViewTransitionCreated:De}=v;return De&&(0,c.N4e)(d,()=>De({transition:_e,from:y,to:f})),V})}let fi=(()=>{class d{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ge.B,this.transitionAbortSubject=new ge.B,this.configLoader=(0,c.WQX)(fn),this.environmentInjector=(0,c.WQX)(c.uvJ),this.urlSerializer=(0,c.WQX)(wn),this.rootContexts=(0,c.WQX)(un),this.location=(0,c.WQX)(Me.aZ),this.inputBindingEnabled=null!==(0,c.WQX)(Yi,{optional:!0}),this.titleStrategy=(0,c.WQX)(Re),this.options=(0,c.WQX)(an,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,c.WQX)(vn),this.createViewTransition=(0,c.WQX)(di,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,j.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=w=>this.events.next(new _i(w)),this.configLoader.onLoadStartListener=w=>this.events.next(new _r(w))}complete(){this.transitions?.complete()}handleNavigationRequest(f){const v=++this.navigationId;this.transitions?.next({...this.transitions.value,...f,id:v})}setupNavigations(f,v,w){return this.transitions=new K.t({id:0,currentUrlTree:v,currentRawUrl:v,extractedUrl:this.urlHandlingStrategy.extract(v),urlAfterRedirects:this.urlHandlingStrategy.extract(v),rawUrl:v,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Rt,restoredState:null,currentSnapshot:w.snapshot,targetSnapshot:null,currentRouterState:w,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,we.p)(O=>0!==O.id),(0,ve.T)(O=>({...O,extractedUrl:this.urlHandlingStrategy.extract(O.rawUrl)})),(0,Se.n)(O=>{this.currentTransition=O;let V=!1,_e=!1;return(0,j.of)(O).pipe((0,Nt.M)(De=>{this.currentNavigation={id:De.id,initialUrl:De.rawUrl,extractedUrl:De.extractedUrl,trigger:De.source,extras:De.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Se.n)(De=>{const Qe=!f.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Qe&&"reload"!==(De.extras.onSameUrlNavigation??f.onSameUrlNavigation)){const Ft="";return this.events.next(new Pt(De.id,this.urlSerializer.serialize(De.rawUrl),Ft,0)),De.resolve(null),te.w}if(this.urlHandlingStrategy.shouldProcessUrl(De.rawUrl))return(0,j.of)(De).pipe((0,Se.n)(Ft=>{const Xn=this.transitions?.getValue();return this.events.next(new pn(Ft.id,this.urlSerializer.serialize(Ft.extractedUrl),Ft.source,Ft.restoredState)),Xn!==this.transitions?.getValue()?te.w:Promise.resolve(Ft)}),function Sa(d,y,f,v,w,O){return(0,fe.Z)(V=>function ws(d,y,f,v,w,O,V="emptyOnly"){return new Ts(d,y,f,v,w,V,O).recognize()}(d,y,f,v,V.extractedUrl,w,O).pipe((0,ve.T)(({state:_e,tree:De})=>({...V,targetSnapshot:_e,urlAfterRedirects:De}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,f.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Nt.M)(Ft=>{O.targetSnapshot=Ft.targetSnapshot,O.urlAfterRedirects=Ft.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ft.urlAfterRedirects};const Xn=new Sn(Ft.id,this.urlSerializer.serialize(Ft.extractedUrl),this.urlSerializer.serialize(Ft.urlAfterRedirects),Ft.targetSnapshot);this.events.next(Xn)}));if(Qe&&this.urlHandlingStrategy.shouldProcessUrl(De.currentRawUrl)){const{id:Ft,extractedUrl:Xn,source:Ws,restoredState:Oo,extras:fo}=De,Po=new pn(Ft,this.urlSerializer.serialize(Xn),Ws,Oo);this.events.next(Po);const Os=Ls(0,this.rootComponentType).snapshot;return this.currentTransition=O={...De,targetSnapshot:Os,urlAfterRedirects:Xn,extras:{...fo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Xn,(0,j.of)(O)}{const Ft="";return this.events.next(new Pt(De.id,this.urlSerializer.serialize(De.extractedUrl),Ft,1)),De.resolve(null),te.w}}),(0,Nt.M)(De=>{const Qe=new At(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot);this.events.next(Qe)}),(0,ve.T)(De=>(this.currentTransition=O={...De,guards:Do(De.targetSnapshot,De.currentSnapshot,this.rootContexts)},O)),function oo(d,y){return(0,fe.Z)(f=>{const{targetSnapshot:v,currentSnapshot:w,guards:{canActivateChecks:O,canDeactivateChecks:V}}=f;return 0===V.length&&0===O.length?(0,j.of)({...f,guardsResult:!0}):function Ln(d,y,f,v){return(0,$.H)(d).pipe((0,fe.Z)(w=>function ti(d,y,f,v,w){const O=y&&y.routeConfig?y.routeConfig.canDeactivate:null;if(!O||0===O.length)return(0,j.of)(!0);const V=O.map(_e=>{const De=Zi(y)??w,Qe=Ji(_e,De);return Er(function cr(d){return d&&ts(d.canDeactivate)}(Qe)?Qe.canDeactivate(d,y,f,v):De.runInContext(()=>Qe(d,y,f,v))).pipe((0,Le.$)())});return(0,j.of)(V).pipe(ks())}(w.component,w.route,f,y,v)),(0,Le.$)(w=>!0!==w,!0))}(V,v,w,d).pipe((0,fe.Z)(_e=>_e&&function _o(d){return"boolean"==typeof d}(_e)?function Ke(d,y,f,v){return(0,$.H)(y).pipe((0,ft.H)(w=>(0,Z.x)(function Mn(d,y){return null!==d&&y&&y(new A(d)),(0,j.of)(!0)}(w.route.parent,v),function pt(d,y){return null!==d&&y&&y(new q(d)),(0,j.of)(!0)}(w.route,v),function rr(d,y,f){const v=y[y.length-1],O=y.slice(0,y.length-1).reverse().map(V=>function Qo(d){const y=d.routeConfig?d.routeConfig.canActivateChild:null;return y&&0!==y.length?{node:d,guards:y}:null}(V)).filter(V=>null!==V).map(V=>(0,X.v)(()=>{const _e=V.guards.map(De=>{const Qe=Zi(V.node)??f,Ot=Ji(De,Qe);return Er(function Jn(d){return d&&ts(d.canActivateChild)}(Ot)?Ot.canActivateChild(v,d):Qe.runInContext(()=>Ot(v,d))).pipe((0,Le.$)())});return(0,j.of)(_e).pipe(ks())}));return(0,j.of)(O).pipe(ks())}(d,w.path,f),function ei(d,y,f){const v=y.routeConfig?y.routeConfig.canActivate:null;if(!v||0===v.length)return(0,j.of)(!0);const w=v.map(O=>(0,X.v)(()=>{const V=Zi(y)??f,_e=Ji(O,V);return Er(function Mt(d){return d&&ts(d.canActivate)}(_e)?_e.canActivate(y,d):V.runInContext(()=>_e(y,d))).pipe((0,Le.$)())}));return(0,j.of)(w).pipe(ks())}(d,w.route,f))),(0,Le.$)(w=>!0!==w,!0))}(v,O,d,y):(0,j.of)(_e)),(0,ve.T)(_e=>({...f,guardsResult:_e})))})}(this.environmentInjector,De=>this.events.next(De)),(0,Nt.M)(De=>{if(O.guardsResult=De.guardsResult,Dr(De.guardsResult))throw ys(0,De.guardsResult);const Qe=new _n(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot,!!De.guardsResult);this.events.next(Qe)}),(0,we.p)(De=>!!De.guardsResult||(this.cancelNavigationTransition(De,"",3),!1)),Ce(De=>{if(De.guards.canActivateChecks.length)return(0,j.of)(De).pipe((0,Nt.M)(Qe=>{const Ot=new tr(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),this.urlSerializer.serialize(Qe.urlAfterRedirects),Qe.targetSnapshot);this.events.next(Ot)}),(0,Se.n)(Qe=>{let Ot=!1;return(0,j.of)(Qe).pipe(p(this.paramsInheritanceStrategy,this.environmentInjector),(0,Nt.M)({next:()=>Ot=!0,complete:()=>{Ot||this.cancelNavigationTransition(Qe,"",2)}}))}),(0,Nt.M)(Qe=>{const Ot=new Cn(Qe.id,this.urlSerializer.serialize(Qe.extractedUrl),this.urlSerializer.serialize(Qe.urlAfterRedirects),Qe.targetSnapshot);this.events.next(Ot)}))}),Ce(De=>{const Qe=Ot=>{const Ft=[];Ot.routeConfig?.loadComponent&&!Ot.routeConfig._loadedComponent&&Ft.push(this.configLoader.loadComponent(Ot.routeConfig).pipe((0,Nt.M)(Xn=>{Ot.component=Xn}),(0,ve.T)(()=>{})));for(const Xn of Ot.children)Ft.push(...Qe(Xn));return Ft};return(0,z.z)(Qe(De.targetSnapshot.root)).pipe((0,Ut.U)(),(0,xe.s)(1))}),Ce(()=>this.afterPreactivation()),(0,Se.n)(()=>{const{currentSnapshot:De,targetSnapshot:Qe}=O,Ot=this.createViewTransition?.(this.environmentInjector,De.root,Qe.root);return Ot?(0,$.H)(Ot).pipe((0,ve.T)(()=>O)):(0,j.of)(O)}),(0,ve.T)(De=>{const Qe=function gs(d,y,f){const v=ms(d,y._root,f?f._root:void 0);return new Gi(v,y)}(f.routeReuseStrategy,De.targetSnapshot,De.currentRouterState);return this.currentTransition=O={...De,targetRouterState:Qe},this.currentNavigation.targetRouterState=Qe,O}),(0,Nt.M)(()=>{this.events.next(new tt)}),((d,y,f,v)=>(0,ve.T)(w=>(new Ta(y,w.targetRouterState,w.currentRouterState,f,v).activate(d),w)))(this.rootContexts,f.routeReuseStrategy,De=>this.events.next(De),this.inputBindingEnabled),(0,xe.s)(1),(0,Nt.M)({next:De=>{V=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Rn(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects))),this.titleStrategy?.updateTitle(De.targetRouterState.snapshot),De.resolve(!0)},complete:()=>{V=!0}}),function Ct(d){return(0,x.N)((y,f)=>{(0,Be.Tg)(d).subscribe((0,k._)(f,()=>f.complete(),st.l)),!f.closed&&y.subscribe(f)})}(this.transitionAbortSubject.pipe((0,Nt.M)(De=>{throw De}))),(0,Fe.j)(()=>{!V&&!_e&&this.cancelNavigationTransition(O,"",1),this.currentNavigation?.id===O.id&&(this.currentNavigation=null)}),(0,gn.W)(De=>{if(_e=!0,Xt(De))this.events.next(new sn(O.id,this.urlSerializer.serialize(O.extractedUrl),De.message,De.cancellationCode)),function ui(d){return Xt(d)&&Dr(d.url)}(De)?this.events.next(new St(De.url)):O.resolve(!1);else{this.events.next(new xt(O.id,this.urlSerializer.serialize(O.extractedUrl),De,O.targetSnapshot??void 0));try{O.resolve(f.errorHandler(De))}catch(Qe){O.reject(Qe)}}return te.w}))}))}cancelNavigationTransition(f,v,w){const O=new sn(f.id,this.urlSerializer.serialize(f.extractedUrl),v,w);this.events.next(O),f.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();function Bs(d){return d!==Rt}let Yo=(()=>{class d{static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:()=>(0,c.WQX)(So),providedIn:"root"})}}return d})();class Ms{shouldDetach(y){return!1}store(y,f){}shouldAttach(y){return!1}retrieve(y){return null}shouldReuseRoute(y,f){return y.routeConfig===f.routeConfig}}let So=(()=>{class d extends Ms{static{this.\u0275fac=(()=>{let f;return function(w){return(f||(f=c.xGo(d)))(w||d)}})()}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})(),Mo=(()=>{class d{static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:()=>(0,c.WQX)(Zo),providedIn:"root"})}}return d})(),Zo=(()=>{class d extends Mo{constructor(){super(...arguments),this.location=(0,c.WQX)(Me.aZ),this.urlSerializer=(0,c.WQX)(wn),this.options=(0,c.WQX)(an,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,c.WQX)(vn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new yn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ls(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(f){return this.location.subscribe(v=>{"popstate"===v.type&&f(v.url,v.state)})}handleRouterEvent(f,v){if(f instanceof pn)this.stateMemento=this.createStateMemento();else if(f instanceof Pt)this.rawUrlTree=v.initialUrl;else if(f instanceof Sn){if("eager"===this.urlUpdateStrategy&&!v.extras.skipLocationChange){const w=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl);this.setBrowserUrl(w,v)}}else f instanceof tt?(this.currentUrlTree=v.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(v.finalUrl,v.initialUrl),this.routerState=v.targetRouterState,"deferred"===this.urlUpdateStrategy&&(v.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,v))):f instanceof sn&&(3===f.code||2===f.code)?this.restoreHistory(v):f instanceof xt?this.restoreHistory(v,!0):f instanceof Rn&&(this.lastSuccessfulId=f.id,this.currentPageId=this.browserPageId)}setBrowserUrl(f,v){const w=this.urlSerializer.serialize(f);if(this.location.isCurrentPathEqualTo(w)||v.extras.replaceUrl){const V={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId)};this.location.replaceState(w,"",V)}else{const O={...v.extras.state,...this.generateNgRouterState(v.id,this.browserPageId+1)};this.location.go(w,"",O)}}restoreHistory(f,v=!1){if("computed"===this.canceledNavigationResolution){const O=this.currentPageId-this.browserPageId;0!==O?this.location.historyGo(O):this.currentUrlTree===f.finalUrl&&0===O&&(this.resetState(f),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(v&&this.resetState(f),this.resetUrlToCurrentUrlTree())}resetState(f){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,f.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(f,v){return"computed"===this.canceledNavigationResolution?{navigationId:f,\u0275routerPageId:v}:{navigationId:f}}static{this.\u0275fac=(()=>{let f;return function(w){return(f||(f=c.xGo(d)))(w||d)}})()}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();var js=function(d){return d[d.COMPLETE=0]="COMPLETE",d[d.FAILED=1]="FAILED",d[d.REDIRECTING=2]="REDIRECTING",d}(js||{});function Jo(d,y){d.events.pipe((0,we.p)(f=>f instanceof Rn||f instanceof sn||f instanceof xt||f instanceof Pt),(0,ve.T)(f=>f instanceof Rn||f instanceof Pt?js.COMPLETE:f instanceof sn&&(0===f.code||1===f.code)?js.REDIRECTING:js.FAILED),(0,we.p)(f=>f!==js.REDIRECTING),(0,xe.s)(1)).subscribe(()=>{y()})}function Ma(d){throw d}const Io={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Il={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Rr=(()=>{class d{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,c.WQX)(c.H3F),this.stateManager=(0,c.WQX)(Mo),this.options=(0,c.WQX)(an,{optional:!0})||{},this.pendingTasks=(0,c.WQX)(c.$K3),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,c.WQX)(fi),this.urlSerializer=(0,c.WQX)(wn),this.location=(0,c.WQX)(Me.aZ),this.urlHandlingStrategy=(0,c.WQX)(vn),this._events=new ge.B,this.errorHandler=this.options.errorHandler||Ma,this.navigated=!1,this.routeReuseStrategy=(0,c.WQX)(Yo),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,c.WQX)(Yt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,c.WQX)(Yi,{optional:!0}),this.eventsSubscription=new W.yU,this.isNgZoneEnabled=(0,c.WQX)(c.SKi)instanceof c.SKi&&c.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:f=>{this.console.warn(f)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const f=this.navigationTransitions.events.subscribe(v=>{try{const w=this.navigationTransitions.currentTransition,O=this.navigationTransitions.currentNavigation;if(null!==w&&null!==O)if(this.stateManager.handleRouterEvent(v,O),v instanceof sn&&0!==v.code&&1!==v.code)this.navigated=!0;else if(v instanceof Rn)this.navigated=!0;else if(v instanceof St){const V=this.urlHandlingStrategy.merge(v.url,w.currentRawUrl),_e={skipLocationChange:w.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Bs(w.source)};this.scheduleNavigation(V,Rt,null,_e,{resolve:w.resolve,reject:w.reject,promise:w.promise})}(function xr(d){return!(d instanceof tt||d instanceof St)})(v)&&this._events.next(v)}catch(w){this.navigationTransitions.transitionAbortSubject.next(w)}});this.eventsSubscription.add(f)}resetRootComponentType(f){this.routerState.root.component=f,this.navigationTransitions.rootComponentType=f}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Rt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((f,v)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(f,"popstate",v)},0)}))}navigateToSyncWithBrowser(f,v,w){const O={replaceUrl:!0},V=w?.navigationId?w:null;if(w){const De={...w};delete De.navigationId,delete De.\u0275routerPageId,0!==Object.keys(De).length&&(O.state=De)}const _e=this.parseUrl(f);this.scheduleNavigation(_e,v,V,O)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(f){this.config=f.map(qr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(f,v={}){const{relativeTo:w,queryParams:O,fragment:V,queryParamsHandling:_e,preserveFragment:De}=v,Qe=De?this.currentUrlTree.fragment:V;let Ft,Ot=null;switch(_e){case"merge":Ot={...this.currentUrlTree.queryParams,...O};break;case"preserve":Ot=this.currentUrlTree.queryParams;break;default:Ot=O||null}null!==Ot&&(Ot=this.removeEmptyProps(Ot));try{Ft=Gn(w?w.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof f[0]||!f[0].startsWith("/"))&&(f=[]),Ft=this.currentUrlTree.root}return kn(Ft,f,Ot,Qe??null)}navigateByUrl(f,v={skipLocationChange:!1}){const w=Dr(f)?f:this.parseUrl(f),O=this.urlHandlingStrategy.merge(w,this.rawUrlTree);return this.scheduleNavigation(O,Rt,null,v)}navigate(f,v={skipLocationChange:!1}){return function Su(d){for(let y=0;y<d.length;y++)if(null==d[y])throw new c.wOt(4008,!1)}(f),this.navigateByUrl(this.createUrlTree(f,v),v)}serializeUrl(f){return this.urlSerializer.serialize(f)}parseUrl(f){try{return this.urlSerializer.parse(f)}catch{return this.urlSerializer.parse("/")}}isActive(f,v){let w;if(w=!0===v?{...Io}:!1===v?{...Il}:v,Dr(f))return Nn(this.currentUrlTree,f,w);const O=this.parseUrl(f);return Nn(this.currentUrlTree,O,w)}removeEmptyProps(f){return Object.keys(f).reduce((v,w)=>{const O=f[w];return null!=O&&(v[w]=O),v},{})}scheduleNavigation(f,v,w,O,V){if(this.disposed)return Promise.resolve(!1);let _e,De,Qe;V?(_e=V.resolve,De=V.reject,Qe=V.promise):Qe=new Promise((Ft,Xn)=>{_e=Ft,De=Xn});const Ot=this.pendingTasks.add();return Jo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ot))}),this.navigationTransitions.handleNavigationRequest({source:v,restoredState:w,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:f,extras:O,resolve:_e,reject:De,promise:Qe,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Qe.catch(Ft=>Promise.reject(Ft))}static{this.\u0275fac=function(v){return new(v||d)}}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})(),bo=(()=>{class d{constructor(f,v,w,O,V,_e){this.router=f,this.route=v,this.tabIndexAttribute=w,this.renderer=O,this.el=V,this.locationStrategy=_e,this.href=null,this.commands=null,this.onChanges=new ge.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const De=V.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===De||"area"===De,this.isAnchorElement?this.subscription=f.events.subscribe(Qe=>{Qe instanceof Rn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(f){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",f)}ngOnChanges(f){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(f){null!=f?(this.commands=Array.isArray(f)?f:[f],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(f,v,w,O,V){return!!(null===this.urlTree||this.isAnchorElement&&(0!==f||v||w||O||V||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const f=null===this.href?null:(0,c.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",f)}applyAttributeValue(f,v){const w=this.renderer,O=this.el.nativeElement;null!==v?w.setAttribute(O,f,v):w.removeAttribute(O,f)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(v){return new(v||d)(c.rXU(Rr),c.rXU(li),c.kS0("tabindex"),c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(Me.hb))}}static{this.\u0275dir=c.FsC({type:d,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(v,w){1&v&&c.bIt("click",function(V){return w.onClick(V.button,V.ctrlKey,V.shiftKey,V.altKey,V.metaKey)}),2&v&&c.BMQ("target",w.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",c.L39],skipLocationChange:["skipLocationChange","skipLocationChange",c.L39],replaceUrl:["replaceUrl","replaceUrl",c.L39],routerLink:"routerLink"},standalone:!0,features:[c.GFd,c.OA$]})}}return d})(),Ia=(()=>{class d{get isActive(){return this._isActive}constructor(f,v,w,O,V){this.router=f,this.element=v,this.renderer=w,this.cdr=O,this.link=V,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new c.bkB,this.routerEventsSubscription=f.events.subscribe(_e=>{_e instanceof Rn&&this.update()})}ngAfterContentInit(){(0,j.of)(this.links.changes,(0,j.of)(null)).pipe((0,Lt.U)()).subscribe(f=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const f=[...this.links.toArray(),this.link].filter(v=>!!v).map(v=>v.onChanges);this.linkInputChangesSubscription=(0,$.H)(f).pipe((0,Lt.U)()).subscribe(v=>{this._isActive!==this.isLinkActive(this.router)(v)&&this.update()})}set routerLinkActive(f){const v=Array.isArray(f)?f:f.split(" ");this.classes=v.filter(w=>!!w)}ngOnChanges(f){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const f=this.hasActiveLinks();this._isActive!==f&&(this._isActive=f,this.cdr.markForCheck(),this.classes.forEach(v=>{f?this.renderer.addClass(this.element.nativeElement,v):this.renderer.removeClass(this.element.nativeElement,v)}),f&&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(f))})}isLinkActive(f){const v=function bn(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return w=>!!w.urlTree&&f.isActive(w.urlTree,v)}hasActiveLinks(){const f=this.isLinkActive(this.router);return this.link&&f(this.link)||this.links.some(f)}static{this.\u0275fac=function(v){return new(v||d)(c.rXU(Rr),c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(c.gRc),c.rXU(bo,8))}}static{this.\u0275dir=c.FsC({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(v,w,O){if(1&v&&c.wni(O,bo,5),2&v){let V;c.mGM(V=c.lsd())&&(w.links=V)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[c.OA$]})}}return d})();class qo{}let Mu=(()=>{class d{constructor(f,v,w,O,V){this.router=f,this.injector=w,this.preloadingStrategy=O,this.loader=V}setUpPreloading(){this.subscription=this.router.events.pipe((0,we.p)(f=>f instanceof Rn),(0,ft.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(f,v){const w=[];for(const O of v){O.providers&&!O._injector&&(O._injector=(0,c.Ol2)(O.providers,f,`Route: ${O.path}`));const V=O._injector??f,_e=O._loadedInjector??V;(O.loadChildren&&!O._loadedRoutes&&void 0===O.canLoad||O.loadComponent&&!O._loadedComponent)&&w.push(this.preloadConfig(V,O)),(O.children||O._loadedRoutes)&&w.push(this.processRoutes(_e,O.children??O._loadedRoutes))}return(0,$.H)(w).pipe((0,Lt.U)())}preloadConfig(f,v){return this.preloadingStrategy.preload(v,()=>{let w;w=v.loadChildren&&void 0===v.canLoad?this.loader.loadChildren(f,v):(0,j.of)(null);const O=w.pipe((0,fe.Z)(V=>null===V?(0,j.of)(void 0):(v._loadedRoutes=V.routes,v._loadedInjector=V.injector,this.processRoutes(V.injector??f,V.routes))));if(v.loadComponent&&!v._loadedComponent){const V=this.loader.loadComponent(v);return(0,$.H)([O,V]).pipe((0,Lt.U)())}return O})}static{this.\u0275fac=function(v){return new(v||d)(c.KVO(Rr),c.KVO(c.Ql9),c.KVO(c.uvJ),c.KVO(qo),c.KVO(fn))}}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})();const $s=new c.nKC("");let Vs=(()=>{class d{constructor(f,v,w,O,V={}){this.urlSerializer=f,this.transitions=v,this.viewportScroller=w,this.zone=O,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.transitions.events.subscribe(f=>{f instanceof pn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=f.navigationTrigger,this.restoredId=f.restoredState?f.restoredState.navigationId:0):f instanceof Rn?(this.lastId=f.id,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.urlAfterRedirects).fragment)):f instanceof Pt&&0===f.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(f,this.urlSerializer.parse(f.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(f=>{f instanceof Ue&&(f.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(f.position):f.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(f.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(f,v){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ue(f,"popstate"===this.lastSource?this.store[this.restoredId]:null,v))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(v){c.QTQ()}}static{this.\u0275prov=c.jDH({token:d,factory:d.\u0275fac})}}return d})();function Wr(d,...y){return(0,c.EmA)([{provide:Yt,multi:!0,useValue:d},[],{provide:li,useFactory:bl,deps:[Rr]},{provide:c.iLQ,multi:!0,useFactory:ba},y.map(f=>f.\u0275providers)])}function bl(d){return d.routerState.root}function hi(d,y){return{\u0275kind:d,\u0275providers:y}}function Iu(d={}){return hi(4,[{provide:$s,useFactory:()=>{const f=(0,c.WQX)(Me.Xr),v=(0,c.WQX)(c.SKi),w=(0,c.WQX)(fi),O=(0,c.WQX)(wn);return new Vs(O,w,f,v,d)}}])}function ba(){const d=(0,c.WQX)(c.zZn);return y=>{const f=d.get(c.o8S);if(y!==f.components[0])return;const v=d.get(Rr),w=d.get(si);1===d.get(Is)&&v.initialNavigation(),d.get(ra,null,c.$GK.Optional)?.setUpPreloading(),d.get($s,null,c.$GK.Optional)?.init(),v.resetRootComponentType(f.componentTypes[0]),w.closed||(w.next(),w.complete(),w.unsubscribe())}}const si=new c.nKC("",{factory:()=>new ge.B}),Is=new c.nKC("",{providedIn:"root",factory:()=>1}),ra=new c.nKC("");function bu(d){return hi(0,[{provide:ra,useExisting:Mu},{provide:qo,useExisting:d}])}function bs(d){return hi(9,[{provide:di,useValue:Mi},{provide:ki,useValue:{skipNextTransition:!!d?.skipInitialTransition,...d}}])}const Aa=new c.nKC("ROUTER_FORROOT_GUARD"),sa=[Me.aZ,{provide:wn,useClass:Pr},Rr,un,{provide:li,useFactory:bl,deps:[Rr]},fn,[]];let Ou=(()=>{class d{constructor(f){}static forRoot(f,v){return{ngModule:d,providers:[sa,[],{provide:Yt,multi:!0,useValue:f},{provide:Aa,useFactory:Oa,deps:[[Rr,new c.Xx1,new c.kdw]]},{provide:an,useValue:v||{}},v?.useHash?{provide:Me.hb,useClass:Me.fw}:{provide:Me.hb,useClass:Me.Sm},{provide:$s,useFactory:()=>{const d=(0,c.WQX)(Me.Xr),y=(0,c.WQX)(c.SKi),f=(0,c.WQX)(an),v=(0,c.WQX)(fi),w=(0,c.WQX)(wn);return f.scrollOffset&&d.setOffset(f.scrollOffset),new Vs(w,v,d,y,f)}},v?.preloadingStrategy?bu(v.preloadingStrategy).\u0275providers:[],v?.initialNavigation?Pa(v):[],v?.bindToComponentInputs?hi(8,[ps,{provide:Yi,useExisting:ps}]).\u0275providers:[],v?.enableViewTransitions?bs().\u0275providers:[],[{provide:Jt,useFactory:ba},{provide:c.iLQ,multi:!0,useExisting:Jt}]]}}static forChild(f){return{ngModule:d,providers:[{provide:Yt,multi:!0,useValue:f}]}}static{this.\u0275fac=function(v){return new(v||d)(c.KVO(Aa,8))}}static{this.\u0275mod=c.$C({type:d})}static{this.\u0275inj=c.G2t({})}}return d})();function Oa(d){return"guarded"}function Pa(d){return["disabled"===d.initialNavigation?hi(3,[{provide:c.hnV,multi:!0,useFactory:()=>{const y=(0,c.WQX)(Rr);return()=>{y.setUpLocationChangeListener()}}},{provide:Is,useValue:2}]).\u0275providers:[],"enabledBlocking"===d.initialNavigation?hi(2,[{provide:Is,useValue:0},{provide:c.hnV,multi:!0,deps:[c.zZn],useFactory:y=>{const f=y.get(Me.hj,Promise.resolve());return()=>f.then(()=>new Promise(v=>{const w=y.get(Rr),O=y.get(si);Jo(w,()=>{v(!0)}),y.get(fi).afterPreactivation=()=>(v(!0),O.closed?(0,j.of)(void 0):O),w.initialNavigation()}))}}]).\u0275providers:[]]}const Jt=new c.nKC("")},852:(Ve,ue,E)=>{"use strict";E.d(ue,{Wr:()=>te,c$:()=>ft,er:()=>W,h:()=>On});var c=E(2761),I=E(9452),$=E(2551),j=E(1873),K=E(3513),z=E(137),re=E(4334),Z=E(8700),X=E(271),U=E(1903),ee=E(6647);class te{}let ce=(()=>{class He extends te{getTranslation(oe){return(0,I.of)({})}static \u0275fac=(()=>{let oe;return function(ne){return(oe||(oe=c.xGo(He)))(ne||He)}})();static \u0275prov=c.jDH({token:He,factory:He.\u0275fac})}return He})();class W{}let x=(()=>{class He{handle(oe){return oe.key}static \u0275fac=function(G){return new(G||He)};static \u0275prov=c.jDH({token:He,factory:He.\u0275fac})}return He})();function le(He){return typeof He<"u"&&null!==He}function Ae(He){return He&&"object"==typeof He&&!Array.isArray(He)}function ge(He,Ut){let oe=Object.assign({},He);return Ae(He)&&Ae(Ut)&&Object.keys(Ut).forEach(G=>{Ae(Ut[G])?G in He?oe[G]=ge(He[G],Ut[G]):Object.assign(oe,{[G]:Ut[G]}):Object.assign(oe,{[G]:Ut[G]})}),oe}class Me{}let ve=(()=>{class He extends Me{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(oe,G){let ne;return ne="string"==typeof oe?this.interpolateString(oe,G):"function"==typeof oe?this.interpolateFunction(oe,G):oe,ne}getValue(oe,G){let ne="string"==typeof G?G.split("."):[G];G="";do{G+=ne.shift(),!le(oe)||!le(oe[G])||"object"!=typeof oe[G]&&ne.length?ne.length?G+=".":oe=void 0:(oe=oe[G],G="")}while(ne.length);return oe}interpolateFunction(oe,G){return oe(G)}interpolateString(oe,G){return G?oe.replace(this.templateMatcher,(ne,he)=>{let Ee=this.getValue(G,he);return le(Ee)?Ee:ne}):oe}static \u0275fac=(()=>{let oe;return function(ne){return(oe||(oe=c.xGo(He)))(ne||He)}})();static \u0275prov=c.jDH({token:He,factory:He.\u0275fac})}return He})();class Se{}let xe=(()=>{class He extends Se{compile(oe,G){return oe}compileTranslations(oe,G){return oe}static \u0275fac=(()=>{let oe;return function(ne){return(oe||(oe=c.xGo(He)))(ne||He)}})();static \u0275prov=c.jDH({token:He,factory:He.\u0275fac})}return He})();class et{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new c.bkB;onLangChange=new c.bkB;onDefaultLangChange=new c.bkB}const We=new c.nKC("USE_STORE"),we=new c.nKC("USE_DEFAULT_LANG"),fe=new c.nKC("DEFAULT_LANGUAGE"),Le=new c.nKC("USE_EXTEND");let ft=(()=>{class He{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new c.bkB;_onLangChange=new c.bkB;_onDefaultLangChange=new c.bkB;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(oe){this.isolate?this._defaultLang=oe:this.store.defaultLang=oe}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(oe){this.isolate?this._currentLang=oe:this.store.currentLang=oe}get langs(){return this.isolate?this._langs:this.store.langs}set langs(oe){this.isolate?this._langs=oe:this.store.langs=oe}get translations(){return this.isolate?this._translations:this.store.translations}set translations(oe){this.isolate?this._translations=oe:this.store.translations=oe}constructor(oe,G,ne,he,Ee,Fe=!0,Be=!1,st=!1,Ct){this.store=oe,this.currentLoader=G,this.compiler=ne,this.parser=he,this.missingTranslationHandler=Ee,this.useDefaultLang=Fe,this.isolate=Be,this.extend=st,Ct&&this.setDefaultLang(Ct)}setDefaultLang(oe){if(oe===this.defaultLang)return;let G=this.retrieveTranslations(oe);typeof G<"u"?(null==this.defaultLang&&(this.defaultLang=oe),G.pipe((0,re.s)(1)).subscribe(ne=>{this.changeDefaultLang(oe)})):this.changeDefaultLang(oe)}getDefaultLang(){return this.defaultLang}use(oe){if(oe===this.currentLang)return(0,I.of)(this.translations[oe]);let G=this.retrieveTranslations(oe);return typeof G<"u"?(this.currentLang||(this.currentLang=oe),G.pipe((0,re.s)(1)).subscribe(ne=>{this.changeLang(oe)}),G):(this.changeLang(oe),(0,I.of)(this.translations[oe]))}retrieveTranslations(oe){let G;return(typeof this.translations[oe]>"u"||this.extend)&&(this._translationRequests[oe]=this._translationRequests[oe]||this.getTranslation(oe),G=this._translationRequests[oe]),G}getTranslation(oe){this.pending=!0;const G=this.currentLoader.getTranslation(oe).pipe((0,Z.t)(1),(0,re.s)(1));return this.loadingTranslations=G.pipe((0,X.T)(ne=>this.compiler.compileTranslations(ne,oe)),(0,Z.t)(1),(0,re.s)(1)),this.loadingTranslations.subscribe({next:ne=>{this.translations[oe]=this.extend&&this.translations[oe]?{...ne,...this.translations[oe]}:ne,this.updateLangs(),this.pending=!1},error:ne=>{this.pending=!1}}),G}setTranslation(oe,G,ne=!1){G=this.compiler.compileTranslations(G,oe),this.translations[oe]=(ne||this.extend)&&this.translations[oe]?ge(this.translations[oe],G):G,this.updateLangs(),this.onTranslationChange.emit({lang:oe,translations:this.translations[oe]})}getLangs(){return this.langs}addLangs(oe){oe.forEach(G=>{-1===this.langs.indexOf(G)&&this.langs.push(G)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(oe,G,ne){let he;if(G instanceof Array){let Ee={},Fe=!1;for(let Be of G)Ee[Be]=this.getParsedResult(oe,Be,ne),(0,$.A)(Ee[Be])&&(Fe=!0);if(Fe){const Be=G.map(st=>(0,$.A)(Ee[st])?Ee[st]:(0,I.of)(Ee[st]));return(0,j.p)(Be).pipe((0,X.T)(st=>{let Ct={};return st.forEach((Lt,ot)=>{Ct[G[ot]]=Lt}),Ct}))}return Ee}if(oe&&(he=this.parser.interpolate(this.parser.getValue(oe,G),ne)),typeof he>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(he=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],G),ne)),typeof he>"u"){let Ee={key:G,translateService:this};typeof ne<"u"&&(Ee.interpolateParams=ne),he=this.missingTranslationHandler.handle(Ee)}return typeof he<"u"?he:G}get(oe,G){if(!le(oe)||!oe.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,U.H)(ne=>(ne=this.getParsedResult(ne,oe,G),(0,$.A)(ne)?ne:(0,I.of)(ne))));{let ne=this.getParsedResult(this.translations[this.currentLang],oe,G);return(0,$.A)(ne)?ne:(0,I.of)(ne)}}getStreamOnTranslationChange(oe,G){if(!le(oe)||!oe.length)throw new Error('Parameter "key" required');return(0,K.x)((0,z.v)(()=>this.get(oe,G)),this.onTranslationChange.pipe((0,ee.n)(ne=>{const he=this.getParsedResult(ne.translations,oe,G);return"function"==typeof he.subscribe?he:(0,I.of)(he)})))}stream(oe,G){if(!le(oe)||!oe.length)throw new Error('Parameter "key" required');return(0,K.x)((0,z.v)(()=>this.get(oe,G)),this.onLangChange.pipe((0,ee.n)(ne=>{const he=this.getParsedResult(ne.translations,oe,G);return(0,$.A)(he)?he:(0,I.of)(he)})))}instant(oe,G){if(!le(oe)||!oe.length)throw new Error('Parameter "key" required');let ne=this.getParsedResult(this.translations[this.currentLang],oe,G);if((0,$.A)(ne)){if(oe instanceof Array){let he={};return oe.forEach((Ee,Fe)=>{he[oe[Fe]]=oe[Fe]}),he}return oe}return ne}set(oe,G,ne=this.currentLang){this.translations[ne][oe]=this.compiler.compile(G,ne),this.updateLangs(),this.onTranslationChange.emit({lang:ne,translations:this.translations[ne]})}changeLang(oe){this.currentLang=oe,this.onLangChange.emit({lang:oe,translations:this.translations[oe]}),null==this.defaultLang&&this.changeDefaultLang(oe)}changeDefaultLang(oe){this.defaultLang=oe,this.onDefaultLangChange.emit({lang:oe,translations:this.translations[oe]})}reloadLang(oe){return this.resetLang(oe),this.getTranslation(oe)}resetLang(oe){this._translationRequests[oe]=void 0,this.translations[oe]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let oe=window.navigator.languages?window.navigator.languages[0]:null;return oe=oe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof oe>"u"?void 0:(-1!==oe.indexOf("-")&&(oe=oe.split("-")[0]),-1!==oe.indexOf("_")&&(oe=oe.split("_")[0]),oe)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let oe=window.navigator.languages?window.navigator.languages[0]:null;return oe=oe||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,oe}static \u0275fac=function(G){return new(G||He)(c.KVO(et),c.KVO(te),c.KVO(Se),c.KVO(Me),c.KVO(W),c.KVO(we),c.KVO(We),c.KVO(Le),c.KVO(fe))};static \u0275prov=c.jDH({token:He,factory:He.\u0275fac})}return He})(),On=(()=>{class He{static forRoot(oe={}){return{ngModule:He,providers:[oe.loader||{provide:te,useClass:ce},oe.compiler||{provide:Se,useClass:xe},oe.parser||{provide:Me,useClass:ve},oe.missingTranslationHandler||{provide:W,useClass:x},et,{provide:We,useValue:oe.isolate},{provide:we,useValue:oe.useDefaultLang},{provide:Le,useValue:oe.extend},{provide:fe,useValue:oe.defaultLanguage},ft]}}static forChild(oe={}){return{ngModule:He,providers:[oe.loader||{provide:te,useClass:ce},oe.compiler||{provide:Se,useClass:xe},oe.parser||{provide:Me,useClass:ve},oe.missingTranslationHandler||{provide:W,useClass:x},{provide:We,useValue:oe.isolate},{provide:we,useValue:oe.useDefaultLang},{provide:Le,useValue:oe.extend},{provide:fe,useValue:oe.defaultLanguage},ft]}}static \u0275fac=function(G){return new(G||He)};static \u0275mod=c.$C({type:He});static \u0275inj=c.G2t({})}return He})()},6244:(Ve,ue,E)=>{"use strict";E.d(ue,{C:()=>j,q:()=>$});var c=E(2761),I=E(5797);const $=new c.nKC("SITE SETTINGS SERVICE TOKEN");class j{constructor(){this.currency$=new I.t("DKK"),this.locale$=new I.t("en"),this.siteName$=new I.t("")}}},8722:(Ve,ue,E)=>{"use strict";E.d(ue,{Ai:()=>K,Gq:()=>j,SO:()=>$});const c={},I=(()=>{try{const z="__test__";return localStorage.setItem(z,z),localStorage.removeItem(z),!0}catch{console.error("window.localStorage unavailable.")}return!1})(),$=(z,re)=>{I?localStorage.setItem(z,re):c[z]=re},j=z=>I?localStorage.getItem(z):c[z],K=z=>{I?localStorage.removeItem(z):delete c[z]}},6162:(Ve,ue,E)=>{"use strict";E.d(ue,{MB:()=>W,d3:()=>ce,fw:()=>te});var c=E(7172),I=E(2761),$=E(271),j=E(5797),K=E(316);function z(x,k){if(1&x&&I.nrm(0,"div",5),2&x){const le=I.XpG().$implicit;I.jIU("animation-duration","",le.hideTimeout,"ms")}}function re(x,k){if(1&x){const le=I.RV6();I.j41(0,"div",6),I.EFF(1),I.qSk(),I.j41(2,"svg",7),I.bIt("click",function(){I.eBV(le);const ge=I.XpG().$implicit,Me=I.XpG(2);return I.Njj(Me.hide(ge.id))}),I.nrm(3,"path",8),I.k0s()()}if(2&x){const le=I.XpG().$implicit;I.R7$(1),I.SpI(" ",le.title," ")}}function Z(x,k){if(1&x&&I.nrm(0,"div",9),2&x){const le=I.XpG().$implicit;I.Y8G("innerHTML",le.message,I.npT)}}function X(x,k){if(1&x&&(I.j41(0,"div"),I.DNE(1,z,1,3,"div",2)(2,re,4,1,"div",3)(3,Z,1,1,"div",4),I.k0s()),2&x){const le=k.$implicit;I.ZvI("app-toast ",le.type,""),I.Y8G("@listAnimation",void 0),I.R7$(1),I.Y8G("ngIf",le.autoHide),I.R7$(1),I.Y8G("ngIf",le.title),I.R7$(1),I.Y8G("ngIf",le.message)}}function U(x,k){if(1&x&&(I.qex(0),I.DNE(1,X,4,7,"div",1),I.bVm()),2&x){const le=k.ngIf,Ae=I.XpG();I.R7$(1),I.Y8G("ngForOf",le)("ngForTrackBy",Ae.idCheck)}}const ee=(()=>{let x=1;return()=>""+x++})();let te=(()=>{class x{constructor(){this.toasts$=new j.t([])}_push(le){le.autoHide&&setTimeout(()=>{this.hide(le.id)},le.hideTimeout),this.toasts$.next([...this.toasts$.getValue(),le])}push(le){this._push({...le,id:ee(),type:le.type||"info",autoHide:!!le.autoHide,hideTimeout:2e4})}hide(le){const Ae=this.toasts$.getValue().filter(({id:ge})=>le!==ge);this.toasts$.next(Ae)}static{this.\u0275fac=function(Ae){return new(Ae||x)}}static{this.\u0275prov=I.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}}return x})(),ce=(()=>{class x{constructor(le){this.toastService=le,this.toasts$=this.toastService.toasts$.pipe((0,$.T)(Ae=>[...Ae].reverse()))}hide(le){this.toastService.hide(le)}idCheck(le,Ae){return Ae.id}static{this.\u0275fac=function(Ae){return new(Ae||x)(I.rXU(te))}}static{this.\u0275cmp=I.VBU({type:x,selectors:[["sm-toast"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"class",4,"ngFor","ngForOf","ngForTrackBy"],["class","slide",3,"animation-duration",4,"ngIf"],["class","title",4,"ngIf"],["class","message",3,"innerHTML",4,"ngIf"],[1,"slide"],[1,"title"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px",3,"click"],["d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"],[1,"message",3,"innerHTML"]],template:function(Ae,ge){1&Ae&&(I.DNE(0,U,2,2,"ng-container",0),I.nI1(1,"async")),2&Ae&&I.Y8G("ngIf",I.bMT(1,1,ge.toasts$))},dependencies:[K.Sq,K.bT,K.Jj],styles:["[_nghost-%COMP%]{position:fixed;bottom:40px;left:20px;right:20px;display:block;z-index:var(--layer-9)}@media (min-width: 500px){[_nghost-%COMP%]{width:400px;left:calc(50% - 200px)}}.app-toast[_ngcontent-%COMP%]{margin-block:20px;padding:15px 20px;overflow:hidden;border-radius:8px;box-shadow:0 2px 4px #2224261f,0 2px 10px #22242626;border:1px solid rgba(34,36,38,.12);position:relative;color:#fff}.app-toast[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fff}.app-toast.info[_ngcontent-%COMP%]{background-color:var(--secondary-tint-25)}@media (hover: hover){.app-toast.info[_ngcontent-%COMP%]{transition:background-color .1s linear}.app-toast.info[_ngcontent-%COMP%]:hover{background-color:var(--secondary-tint-15)}.app-toast.info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{transition:fill .1s linear}.app-toast.info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]:hover{fill:var(--secondary-tint-75)}}.app-toast.success[_ngcontent-%COMP%]{background-color:var(--primary-tint-25)}@media (hover: hover){.app-toast.success[_ngcontent-%COMP%]{transition:background-color .1s linear}.app-toast.success[_ngcontent-%COMP%]:hover{background-color:var(--primary-tint-15)}.app-toast.success[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{transition:fill .1s linear}.app-toast.success[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]:hover{fill:var(--primary-tint-75)}}.app-toast.warning[_ngcontent-%COMP%]{background-color:var(--warning-tint-25)}@media (hover: hover){.app-toast.warning[_ngcontent-%COMP%]{transition:background-color .1s linear}.app-toast.warning[_ngcontent-%COMP%]:hover{background-color:var(--warning-tint-15)}.app-toast.warning[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{transition:fill .1s linear}.app-toast.warning[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]:hover{fill:var(--warning-tint-75)}}.slide[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_toast-slide;height:4px;background-color:#fff3;position:absolute;left:0;right:0;top:0}.title[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;font-weight:var(--bold-font-weight)}.title[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{cursor:pointer}@keyframes _ngcontent-%COMP%_toast-slide{0%{transform:translate(-100%)}to{transform:translate(0)}}"],data:{animation:[(0,c.hZ)("listAnimation",[(0,c.kY)(":enter",[(0,c.iF)({opacity:0,transform:"translateX(32px)"}),(0,c.i0)(".2s",(0,c.iF)({opacity:1,transform:"translateX(0px)"}))]),(0,c.kY)(":leave",[(0,c.i0)(".2s",(0,c.iF)({opacity:0,transform:"translateX(32px)"}))])])]},changeDetection:0})}}return x})(),W=(()=>{class x{static{this.\u0275fac=function(Ae){return new(Ae||x)}}static{this.\u0275mod=I.$C({type:x})}static{this.\u0275inj=I.G2t({providers:[te],imports:[K.MD]})}}return x})()},5841:(Ve,ue,E)=>{"use strict";E.d(ue,{E3:()=>K,q4:()=>j,xF:()=>$});var c=E(2761),I=E(7148);const $=z=>z.startsWith&&(z.startsWith("https")||z.startsWith("http")||z.startsWith("tel:")||z.startsWith("mailto:"));let j=(()=>{class z{set smNavigate(Z){Z!==this._url&&(this._url=Z,this.url?this.renderer.setAttribute(this.el.nativeElement,"href",this.url):this.renderer.removeAttribute(this.el.nativeElement,"href"))}get url(){return this._url}set smNavigateTarget(Z){Z!==this._target&&(this._target="blank"===Z||"_blank"===Z?"_blank":"",this.target?this.renderer.setAttribute(this.el.nativeElement,"target",this.target):this.renderer.removeAttribute(this.el.nativeElement,"target"))}get target(){return this._target}constructor(Z,X,U){this.el=Z,this.renderer=X,this.router=U,this._url="",this._target=""}onClick(Z){this.url?$(this.url)||(Z.preventDefault(),"_blank"===this.target?window.open(this.url,"_blank"):this.router.navigateByUrl(this.url)):Z.preventDefault()}static{this.\u0275fac=function(X){return new(X||z)(c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(I.Ix))}}static{this.\u0275dir=c.FsC({type:z,selectors:[["","smNavigate",""]],hostBindings:function(X,U){1&X&&c.bIt("click",function(te){return U.onClick(te)})},inputs:{smNavigate:"smNavigate",smNavigateTarget:"smNavigateTarget"}})}}return z})(),K=(()=>{class z{static{this.\u0275fac=function(X){return new(X||z)}}static{this.\u0275mod=c.$C({type:z})}static{this.\u0275inj=c.G2t({})}}return z})()},1136:(Ve,ue,E)=>{"use strict";E.d(ue,{F:()=>K});var c=E(316),I=E(2761),$=E(6244),j=E(436);let K=(()=>{class z{constructor(Z,X,U,ee){this.title=Z,this.meta=X,this.siteSettingsService=U,this._document=ee}setPageTitle(Z){const X=(()=>{const U=this.siteSettingsService.siteName$.getValue();return Z?U?`${Z} - ${U}`:Z:U})();this.title.setTitle(X)}setPageMetaDescription(Z){Z?this.meta.updateTag({name:"description",content:Z}):this.meta.removeTag('name="description"')}setPageLanguage(Z){this._document&&(Z?this._document.documentElement.setAttribute("lang",Z):this._document.documentElement.removeAttribute("lang"))}setPageOGMeta(Z){this.setPageOGMetaType(Z.type),this.setPageOGMetaTitle(Z.title),this.setPageOGMetaDescription(Z.description),this.setPageOGMetaImage(Z.image)}setPageOGMetaType(Z){this._setPageOGMeta("type",Z)}setPageOGMetaTitle(Z){const X=(()=>{const U=this.siteSettingsService.siteName$.getValue();return Z?U?`${Z} - ${U}`:Z:U})();this._setPageOGMeta("title",X)}setPageOGMetaDescription(Z){this._setPageOGMeta("description",Z)}setPageOGMetaImage(Z){this._setPageOGMeta("image",Z)}_setPageOGMeta(Z,X){X?this.meta.updateTag({property:`og:${Z}`,content:X}):this.meta.removeTag(`property="og:${Z}"`)}static{this.\u0275fac=function(X){return new(X||z)(I.KVO(j.hE),I.KVO(j.W8),I.KVO($.q),I.KVO(c.qQ))}}static{this.\u0275prov=I.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}}return z})()},8155:(Ve,ue,E)=>{"use strict";function c(re){return null!==re&&"object"==typeof re&&"constructor"in re&&re.constructor===Object}function I(re={},Z={}){Object.keys(Z).forEach(X=>{typeof re[X]>"u"?re[X]=Z[X]:c(Z[X])&&c(re[X])&&Object.keys(Z[X]).length>0&&I(re[X],Z[X])})}E.d(ue,{zk:()=>z});const K={document:{body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}},navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:re=>typeof setTimeout>"u"?(re(),null):setTimeout(re,0),cancelAnimationFrame(re){typeof setTimeout>"u"||clearTimeout(re)}};function z(){const re=typeof window<"u"?window:{};return I(re,K),re}},4398:(Ve,ue,E)=>{"use strict";function te(G,ne,he,Ee){return new(he||(he=Promise))(function(Be,st){function Ct(ze){try{ot(Ee.next(ze))}catch(It){st(It)}}function Lt(ze){try{ot(Ee.throw(ze))}catch(It){st(It)}}function ot(ze){ze.done?Be(ze.value):function Fe(Be){return Be instanceof he?Be:new he(function(st){st(Be)})}(ze.value).then(Ct,Lt)}ot((Ee=Ee.apply(G,ne||[])).next())})}function ve(G){return this instanceof ve?(this.v=G,this):new ve(G)}function Se(G,ne,he){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Fe,Ee=he.apply(G,ne||[]),Be=[];return Fe={},st("next"),st("throw"),st("return"),Fe[Symbol.asyncIterator]=function(){return this},Fe;function st(ln){Ee[ln]&&(Fe[ln]=function(hn){return new Promise(function(Pn,Kt){Be.push([ln,hn,Pn,Kt])>1||Ct(ln,hn)})})}function Ct(ln,hn){try{!function Lt(ln){ln.value instanceof ve?Promise.resolve(ln.value.v).then(ot,ze):It(Be[0][2],ln)}(Ee[ln](hn))}catch(Pn){It(Be[0][3],Pn)}}function ot(ln){Ct("next",ln)}function ze(ln){Ct("throw",ln)}function It(ln,hn){ln(hn),Be.shift(),Be.length&&Ct(Be[0][0],Be[0][1])}}function et(G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var he,ne=G[Symbol.asyncIterator];return ne?ne.call(G):(G=function k(G){var ne="function"==typeof Symbol&&Symbol.iterator,he=ne&&G[ne],Ee=0;if(he)return he.call(G);if(G&&"number"==typeof G.length)return{next:function(){return G&&Ee>=G.length&&(G=void 0),{value:G&&G[Ee++],done:!G}}};throw new TypeError(ne?"Object is not iterable.":"Symbol.iterator is not defined.")}(G),he={},Ee("next"),Ee("throw"),Ee("return"),he[Symbol.asyncIterator]=function(){return this},he);function Ee(Be){he[Be]=G[Be]&&function(st){return new Promise(function(Ct,Lt){!function Fe(Be,st,Ct,Lt){Promise.resolve(Lt).then(function(ot){Be({value:ot,done:Ct})},st)}(Ct,Lt,(st=G[Be](st)).done,st.value)})}}}E.d(ue,{AQ:()=>Se,N3:()=>ve,sH:()=>te,xN:()=>et}),"function"==typeof SuppressedError&&SuppressedError}},Ve=>{Ve(Ve.s=2384)}]);
//# sourceMappingURL=main.955724e8d98c623c.js.map